diff --git a/dist/select.css b/dist/select.css index 81c6d7c37..78b628d27 100644 --- a/dist/select.css +++ b/dist/select.css @@ -1,7 +1,7 @@ /*! * ui-select * http://github.com/angular-ui/ui-select - * Version: 0.19.8 - 2017-12-20T18:40:38.492Z + * Version: 0.19.8 - 2020-01-17T13:11:27.917Z * License: MIT */ diff --git a/dist/select.js b/dist/select.js index d76e3071d..79c91470f 100644 --- a/dist/select.js +++ b/dist/select.js @@ -1,7 +1,7 @@ /*! * ui-select * http://github.com/angular-ui/ui-select - * Version: 0.19.8 - 2017-12-20T18:40:38.364Z + * Version: 0.19.8 - 2020-01-17T13:11:27.848Z * License: MIT */ @@ -141,7 +141,8 @@ var uis = angular.module('ui.select', []) appendDropdownToBody: false, spinnerEnabled: false, spinnerClass: 'glyphicon glyphicon-refresh ui-select-spin', - backspaceReset: true + backspaceReset: true, + trim: true }) // See Rename minErr and make it accessible from outside https://github.com/angular/angular.js/issues/6913 @@ -929,10 +930,14 @@ uis.controller('uiSelectCtrl', // and remove tagging token if it's the last character in string var chunks = search.split(ctrl.taggingTokenEscape + token); chunks.push(chunks.pop().replace(tokenRegex, '')); - search = chunks.join(token).trim(); + search = chunks.join(token); } else { // remove tagging token if it's the last character - search = search.replace(tokenRegex, '').trim(); + search = search.replace(tokenRegex, ''); + } + + if ( !!$scope.$select.trim ) { + search = search.trim(); } return search; } @@ -1314,6 +1319,10 @@ uis.directive('uiSelect', $select.appendDropdownToBody = appendDropdownToBody !== undefined ? appendDropdownToBody : uiSelectConfig.appendDropdownToBody; }); + scope.$watch(function () { return scope.$eval(attrs.trim); }, function(newVal) { + $select.trim = newVal !== undefined ? newVal : uiSelectConfig.trim; + }); + //Automatically gets focus when loaded if (angular.isDefined(attrs.autofocus)){ $timeout(function(){ @@ -2744,17 +2753,17 @@ angular.module("ui.select").run(["$templateCache", function($templateCache) {$te $templateCache.put("bootstrap/match-multiple.tpl.html"," × "); $templateCache.put("bootstrap/match.tpl.html","
{{$select.placeholder}}
"); $templateCache.put("bootstrap/no-choice.tpl.html",""); -$templateCache.put("bootstrap/select-multiple.tpl.html","
"); -$templateCache.put("bootstrap/select.tpl.html","
"); -$templateCache.put("selectize/choices.tpl.html","
"); -$templateCache.put("selectize/match-multiple.tpl.html","
×
"); -$templateCache.put("selectize/match.tpl.html","
{{$select.placeholder}}
"); -$templateCache.put("selectize/no-choice.tpl.html","
"); -$templateCache.put("selectize/select-multiple.tpl.html","
"); -$templateCache.put("selectize/select.tpl.html","
"); +$templateCache.put("bootstrap/select-multiple.tpl.html","
"); +$templateCache.put("bootstrap/select.tpl.html","
"); $templateCache.put("select2/choices.tpl.html",""); $templateCache.put("select2/match-multiple.tpl.html","
  • "); $templateCache.put("select2/match.tpl.html","{{$select.placeholder}} "); $templateCache.put("select2/no-choice.tpl.html","
    "); -$templateCache.put("select2/select-multiple.tpl.html","
    "); -$templateCache.put("select2/select.tpl.html","
    ");}]); \ No newline at end of file +$templateCache.put("select2/select-multiple.tpl.html","
    "); +$templateCache.put("select2/select.tpl.html","
    "); +$templateCache.put("selectize/choices.tpl.html","
    "); +$templateCache.put("selectize/match-multiple.tpl.html","
    ×
    "); +$templateCache.put("selectize/match.tpl.html","
    {{$select.placeholder}}
    "); +$templateCache.put("selectize/no-choice.tpl.html","
    "); +$templateCache.put("selectize/select-multiple.tpl.html","
    "); +$templateCache.put("selectize/select.tpl.html","
    ");}]); \ No newline at end of file diff --git a/dist/select.min.css b/dist/select.min.css index be5603535..d7da69985 100644 --- a/dist/select.min.css +++ b/dist/select.min.css @@ -1,7 +1,7 @@ /*! * ui-select * http://github.com/angular-ui/ui-select - * Version: 0.19.8 - 2017-12-20T18:40:38.492Z + * Version: 0.19.8 - 2020-01-17T13:11:27.917Z * License: MIT */.ui-select-highlight{font-weight:700}.ui-select-offscreen{clip:rect(0 0 0 0)!important;width:1px!important;height:1px!important;border:0!important;margin:0!important;padding:0!important;overflow:hidden!important;position:absolute!important;outline:0!important;left:0!important;top:0!important}.selectize-control.single>.selectize-input>input,.selectize-control>.selectize-dropdown{width:100%}.ui-select-choices-row:hover{background-color:#f5f5f5}.ui-select-choices-row:focus{outline:inherit}.ng-dirty.ng-invalid>a.select2-choice{border-color:#D44950}.select2-result-single{padding-left:0}.select-locked>.ui-select-match-close,.select2-locked>.select2-search-choice-close{display:none}body>.select2-container.open{z-index:9999}.ui-select-container.select2.direction-up .ui-select-match,.ui-select-container[theme=select2].direction-up .ui-select-match{border-radius:0 0 4px 4px}.ui-select-container.select2.direction-up .ui-select-dropdown,.ui-select-container[theme=select2].direction-up .ui-select-dropdown{border-radius:4px 4px 0 0;border-top-width:1px;border-top-style:solid;box-shadow:0 -4px 8px rgba(0,0,0,.25);margin-top:-4px}.ui-select-container.select2.direction-up .ui-select-dropdown .select2-search,.ui-select-container[theme=select2].direction-up .ui-select-dropdown .select2-search{margin-top:4px}.ui-select-container.select2.direction-up.select2-dropdown-open .ui-select-match,.ui-select-container[theme=select2].direction-up.select2-dropdown-open .ui-select-match{border-bottom-color:#5897fb}.ui-select-container[theme=select2] .ui-select-dropdown .ui-select-search-hidden,.ui-select-container[theme=select2] .ui-select-dropdown .ui-select-search-hidden input{opacity:0;height:0;min-height:0;padding:0;margin:0;border:0}.selectize-input.selectize-focus{border-color:#007FBB!important}.selectize-control.multi>.selectize-input>input{margin:0!important}.ng-dirty.ng-invalid>div.selectize-input{border-color:#D44950}.ui-select-container[theme=selectize].direction-up .ui-select-dropdown{box-shadow:0 -4px 8px rgba(0,0,0,.25);margin-top:-2px}.ui-select-container[theme=selectize] input.ui-select-search-hidden{opacity:0;height:0;min-height:0;padding:0;margin:0;border:0;width:0}.btn-default-focus{color:#333;background-color:#EBEBEB;border-color:#ADADAD;text-decoration:none;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.ui-select-bootstrap .ui-select-toggle{position:relative}.ui-select-bootstrap .ui-select-toggle>.caret{position:absolute;height:10px;top:50%;right:10px;margin-top:-2px}.input-group>.ui-select-bootstrap.dropdown{position:static}.input-group>.ui-select-bootstrap>input.ui-select-search.form-control{border-radius:4px 0 0 4px}.input-group>.ui-select-bootstrap>input.ui-select-search.form-control.direction-up{border-radius:4px 0 0 4px!important}.ui-select-bootstrap .ui-select-search-hidden{opacity:0;height:0;min-height:0;padding:0;margin:0;border:0}.ui-select-bootstrap>.ui-select-match>.btn{text-align:left!important}.ui-select-bootstrap>.ui-select-match>.caret{position:absolute;top:45%;right:15px}.ui-select-container>.ui-select-choices-bootstrap,.ui-select-container>.ui-select-no-choice-bootstrap{width:100%;height:auto;max-height:200px;overflow-x:hidden;margin-top:-1px}body>.ui-select-bootstrap.open{z-index:1000}.ui-select-multiple.ui-select-bootstrap{height:auto;padding:3px 3px 0}.ui-select-multiple.ui-select-bootstrap input.ui-select-search{background-color:transparent!important;border:none;outline:0;height:1.666666em;margin-bottom:3px}.ui-select-multiple.ui-select-bootstrap .ui-select-match .close{font-size:1.6em;line-height:.75}.ui-select-multiple.ui-select-bootstrap .ui-select-match-item{outline:0;margin:0 3px 3px 0}.ui-select-multiple .ui-select-match-item{position:relative}.ui-select-multiple .ui-select-match-item.dropping .ui-select-match-close{pointer-events:none}.ui-select-multiple:hover .ui-select-match-item.dropping-before:before{content:"";position:absolute;top:0;right:100%;height:100%;margin-right:2px;border-left:1px solid #428bca}.ui-select-multiple:hover .ui-select-match-item.dropping-after:after{content:"";position:absolute;top:0;left:100%;height:100%;margin-left:2px;border-right:1px solid #428bca}.ui-select-container>.ui-select-choices-bootstrap .ui-select-choices-row>span{cursor:pointer;display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.ui-select-container>.ui-select-choices-bootstrap .ui-select-choices-row>span:focus,.ui-select-container>.ui-select-choices-bootstrap .ui-select-choices-row>span:hover{text-decoration:none;color:#262626;background-color:#f5f5f5}.ui-select-container>.ui-select-choices-bootstrap .ui-select-choices-row.active>span{color:#fff;text-decoration:none;outline:0;background-color:#428bca}.ui-select-container>.ui-select-choices-bootstrap .ui-select-choices-row.active.disabled>span,.ui-select-container>.ui-select-choices-bootstrap .ui-select-choices-row.disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.ui-select-match.ng-hide-add,.ui-select-search.ng-hide-add{display:none!important}.ui-select-bootstrap.ng-dirty.ng-invalid>button.btn.ui-select-match{border-color:#D44950}.ui-select-container[theme=bootstrap].direction-up .ui-select-dropdown{box-shadow:0 -4px 8px rgba(0,0,0,.25)}.ui-select-bootstrap .ui-select-match-text{width:100%;padding-right:1em}.ui-select-bootstrap .ui-select-match-text span{display:inline-block;width:100%;overflow:hidden}.ui-select-bootstrap .ui-select-toggle>a.btn{position:absolute;height:10px;right:10px;margin-top:-2px}.ui-select-refreshing.glyphicon{position:absolute;right:0;padding:8px 27px}@-webkit-keyframes ui-select-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes ui-select-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.ui-select-spin{-webkit-animation:ui-select-spin 2s infinite linear;animation:ui-select-spin 2s infinite linear}.ui-select-refreshing.ng-animate{-webkit-animation:none 0s} /*# sourceMappingURL=select.min.css.map */ diff --git a/dist/select.min.js b/dist/select.min.js index 20608798b..5121d7934 100644 --- a/dist/select.min.js +++ b/dist/select.min.js @@ -1,9 +1,9 @@ /*! * ui-select * http://github.com/angular-ui/ui-select - * Version: 0.19.8 - 2017-12-20T18:40:38.364Z + * Version: 0.19.8 - 2020-01-17T13:11:27.848Z * License: MIT */ -!function(){"use strict";function e(e){return angular.isUndefined(e)||null===e}function t(e){if(e&&document.body!==e)return e.scrollHeight>e.clientHeight?e:t(e.parentNode)}var i={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,COMMAND:91,A:65,X:88,MAP:{91:"COMMAND",8:"BACKSPACE",9:"TAB",13:"ENTER",16:"SHIFT",17:"CTRL",18:"ALT",19:"PAUSEBREAK",20:"CAPSLOCK",27:"ESC",32:"SPACE",33:"PAGE_UP",34:"PAGE_DOWN",35:"END",36:"HOME",37:"LEFT",38:"UP",39:"RIGHT",40:"DOWN",43:"+",44:"PRINTSCREEN",45:"INSERT",46:"DELETE",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NUMLOCK",145:"SCROLLLOCK",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},isControl:function(e){var t=e.which;switch(t){case i.COMMAND:case i.SHIFT:case i.CTRL:case i.ALT:return!0}return!!(e.metaKey||e.ctrlKey||e.altKey)},isMetaAndKey:function(e,t){return e.metaKey&&e.which===t},isFunctionKey:function(e){return e=e.which?e.which:e,e>=112&&e<=123},isVerticalMovement:function(e){return~[i.UP,i.DOWN].indexOf(e)},isHorizontalMovement:function(e){return~[i.LEFT,i.RIGHT,i.BACKSPACE,i.DELETE].indexOf(e)},toSeparator:function(e){var t={ENTER:"\n",TAB:"\t",SPACE:" "}[e];return t?t:i[e]?void 0:e}};void 0===angular.element.prototype.querySelectorAll&&(angular.element.prototype.querySelectorAll=function(e){return angular.element(this[0].querySelectorAll(e))}),void 0===angular.element.prototype.closest&&(angular.element.prototype.closest=function(e){for(var t=this[0],i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;t;){if(i.bind(t)(e))return t;t=t.parentElement}return!1});var n=0,c=angular.module("ui.select",[]).constant("uiSelectConfig",{theme:"bootstrap",searchEnabled:!0,sortable:!1,placeholder:"",refreshDelay:1e3,closeOnSelect:!0,skipFocusser:!1,dropdownPosition:"auto",removeSelected:!0,resetSearchInput:!0,generateId:function(){return n++},appendToBody:!1,appendDropdownToBody:!1,spinnerEnabled:!1,spinnerClass:"glyphicon glyphicon-refresh ui-select-spin",backspaceReset:!0}).service("uiSelectMinErr",function(){var e=angular.$$minErr("ui.select");return function(){var t=e.apply(this,arguments),i=t.message.replace(new RegExp("\nhttp://errors.angularjs.org/.*"),"");return new Error(i)}}).directive("uisTranscludeAppend",function(){return{link:function(e,t,i,n,c){c(e,function(e){t.append(e)})}}}).filter("highlight",function(){function e(e){return(""+e).replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}return function(t,i){return i&&t?(""+t).replace(new RegExp(e(i),"gi"),'$&'):t}}).factory("uisOffset",["$document","$window",function(e,t){return function(i){var n=i[0].getBoundingClientRect();return{width:n.width||i.prop("offsetWidth"),height:n.height||i.prop("offsetHeight"),top:n.top+(t.pageYOffset||e[0].documentElement.scrollTop),left:n.left+(t.pageXOffset||e[0].documentElement.scrollLeft)}}}]);c.directive("uiSelectChoices",["uiSelectConfig","uisRepeatParser","uiSelectMinErr","$compile","$window",function(e,t,i,n,c){return{restrict:"EA",require:"^uiSelect",replace:!0,transclude:!0,templateUrl:function(t){t.addClass("ui-select-choices");var i=t.parent().attr("theme")||e.theme;return i+"/choices.tpl.html"},compile:function(n,s){if(!s.repeat)throw i("repeat","Expected 'repeat' expression.");var l=s.groupBy,a=s.groupFilter;if(l){var o=n.querySelectorAll(".ui-select-choices-group");if(1!==o.length)throw i("rows","Expected 1 .ui-select-choices-group but got '{0}'.",o.length);o.attr("ng-repeat",t.getGroupNgRepeatExpression())}var r=t.parse(s.repeat),u=n.querySelectorAll(".ui-select-choices-row");if(1!==u.length)throw i("rows","Expected 1 .ui-select-choices-row but got '{0}'.",u.length);u.attr("ng-repeat",r.repeatExpression(l)).attr("ng-if","$select.open");var d=n.querySelectorAll(".ui-select-choices-row-inner");if(1!==d.length)throw i("rows","Expected 1 .ui-select-choices-row-inner but got '{0}'.",d.length);d.attr("uis-transclude-append","");var p=c.document.addEventListener?u:d;return p.attr("ng-click","$select.select("+r.itemName+",$select.skipFocusser,$event)"),function(t,i,c,s){s.parseRepeatAttr(c.repeat,l,a),s.disableChoiceExpression=c.uiDisableChoice,s.onHighlightCallback=c.onHighlight,s.minimumInputLength=parseInt(c.minimumInputLength)||0,s.dropdownPosition=c.position?c.position.toLowerCase():e.dropdownPosition,s.uiSelectChoices=i,t.$watch("$select.search",function(e){e&&!s.open&&s.multiple&&s.activate(!1,!0),s.activeIndex=s.tagging.isActivated?-1:0,!c.minimumInputLength||s.search.length>=c.minimumInputLength?s.refresh(c.refresh):s.items=[]}),c.$observe("refreshDelay",function(){var i=t.$eval(c.refreshDelay);s.refreshDelay=void 0!==i?i:e.refreshDelay}),t.$watch("$select.open",function(e){e?(n.attr("role","listbox"),s.refresh(c.refresh)):i.removeAttr("role")})}}}}]),c.controller("uiSelectCtrl",["$scope","$element","$timeout","$filter","$$uisDebounce","uisRepeatParser","uiSelectMinErr","uiSelectConfig","$parse","$injector","$window",function(t,n,c,s,l,a,o,r,u,d,p){function h(e,t,i){if(e.findIndex)return e.findIndex(t,i);for(var n,c=Object(e),s=c.length>>>0,l=0;l-1&&A.splice(i,1)}function m(e){return A.indexOf(e)>-1}function $(e){function t(e,t){var i=n.indexOf(e);t&&i===-1&&n.push(e),!t&&i>-1&&n.splice(i,1)}function i(e){return n.indexOf(e)>-1}if(e){var n=[];E.isLocked=function(e,n){var c=!1,s=E.selected[n];return s&&(e?(c=!!e.$eval(E.lockChoiceExpression),t(s,c)):c=i(s)),c}}}function b(e,t){var n=!0;switch(e){case i.DOWN:if(!E.open&&E.multiple)E.activate(!1,!0);else if(E.activeIndexs)for(var l=--E.activeIndex;m(E.items[l])&&l>s;)E.activeIndex=--l;break;case i.TAB:E.multiple&&!E.open||(E.select(E.items[E.activeIndex],!0),t.preventDefault(),t.stopPropagation());break;case i.ENTER:E.open&&(E.tagging.isActivated||E.activeIndex>=0)?E.select(E.items[E.activeIndex],E.skipFocusser):E.activate(!1,!0);break;case i.ESC:E.close();break;default:n=!1}return n}function y(e,t){if(t.length>1)return e;var i=new RegExp(t+"$");if(E.taggingTokenEscape){var n=e.split(E.taggingTokenEscape+t);n.push(n.pop().replace(i,"")),e=n.join(t).trim()}else e=e.replace(i,"").trim();return e}function w(e){if(E.taggingTokens.isActivated)for(var t=0;tc?e[0].scrollTop+=n-c:n=E.items.length?0:E.activeIndex,E.activeIndex===-1&&E.taggingLabel!==!1&&(E.activeIndex=0);var s=n.querySelectorAll(".ui-select-choices-content"),l=n.querySelectorAll(".ui-select-search");if(E.$animate&&E.$animate.on&&E.$animate.enabled(s[0])){var a=function(t,i){"start"===i&&0===E.items.length?(E.$animate.off("removeClass",l[0],a),c(function(){E.focusSearchInput(e)})):"close"===i&&(E.$animate.off("enter",s[0],a),c(function(){E.focusSearchInput(e)}))};E.items.length>0?E.$animate.on("enter",s[0],a):E.$animate.on("removeClass",l[0],a)}else c(function(){E.focusSearchInput(e),!E.tagging.isActivated&&E.items.length>1&&x()})}},E.focusSearchInput=function(e){E.search=e||E.search,E.searchInput[0].focus()},E.findGroupByName=function(e){return E.groups&&E.groups.filter(function(t){return t.name===e})[0]},E.parseRepeatAttr=function(e,i,n){function c(e){var c=t.$eval(i);if(E.groups=[],angular.forEach(e,function(e){var t=angular.isFunction(c)?c(e):e[c],i=E.findGroupByName(t);i?i.items.push(e):E.groups.push({name:t,items:[e]})}),n){var s=t.$eval(n);angular.isFunction(s)?E.groups=s(E.groups):angular.isArray(s)&&(E.groups=f(E.groups,s))}E.items=[],E.groups.forEach(function(e){E.items=E.items.concat(e.items)})}function s(e){E.items=e||[]}E.setItemsFn=i?c:s,E.parserResult=a.parse(e),E.isGrouped=!!i,E.itemProperty=E.parserResult.itemName;var l=E.parserResult.source,r=function(){var e=l(t);t.$uisSource=Object.keys(e).map(function(t){var i={};return i[E.parserResult.keyName]=t,i.value=e[t],i})};E.parserResult.keyName&&(r(),E.parserResult.source=u("$uisSource"+E.parserResult.filters),t.$watch(l,function(e,t){e!==t&&r()},!0)),E.refreshItems=function(e){e=e||E.parserResult.source(t);var i=E.selected;if(E.isEmpty()||angular.isArray(i)&&!i.length||!E.multiple||!E.removeSelected)E.setItemsFn(e);else if(void 0!==e&&null!==e){var n=e.filter(function(e){return angular.isArray(i)?i.every(function(t){return!angular.equals(e,t)}):!angular.equals(e,i)});E.setItemsFn(n)}"auto"!==E.dropdownPosition&&"up"!==E.dropdownPosition||t.calculateDropdownPos(),t.$broadcast("uis:refresh")},t.$watchCollection(E.parserResult.source,function(e){if(void 0===e||null===e)E.items=[];else{if(!angular.isArray(e))throw o("items","Expected an array but got '{0}'.",e);E.refreshItems(e),angular.isDefined(E.ngModel.$modelValue)&&(E.ngModel.$modelValue=null)}})};var S;E.refresh=function(e){void 0!==e&&(S&&c.cancel(S),S=c(function(){if(t.$select.search.length>=t.$select.minimumInputLength){var i=t.$eval(e);i&&angular.isFunction(i.then)&&!E.refreshing&&(E.refreshing=!0,i["finally"](function(){E.refreshing=!1}))}},E.refreshDelay))},E.isActive=function(e){if(!E.open)return!1;var t=E.items.indexOf(e[E.itemProperty]),i=t==E.activeIndex;return(!E.items[t]||!E.items[t].divider)&&(!(!i||t<0)&&(i&&!angular.isUndefined(E.onHighlightCallback)&&e.$eval(E.onHighlightCallback),i))};var I=function(e){return E.selected&&angular.isArray(E.selected)&&E.selected.filter(function(t){return angular.equals(t,e)}).length>0},A=[];E.isDisabled=function(e){if(E.open){var t=e[E.itemProperty],i=E.items.indexOf(t),n=!1;if(i>=0&&(angular.isDefined(E.disableChoiceExpression)||E.multiple)){if(t.isTag)return!1;E.multiple&&(n=I(t)),!n&&angular.isDefined(E.disableChoiceExpression)&&(n=!!e.$eval(E.disableChoiceExpression)),v(t,n)}return n}},E.select=function(i,n,c){if(e(i)||!m(i)){if(!E.items&&!E.search&&!E.tagging.isActivated)return;if(!i||!m(i)){if(E.clickTriggeredSelect=!1,c&&("click"===c.type||"touchend"===c.type)&&i&&(E.clickTriggeredSelect=!0),E.tagging.isActivated&&E.clickTriggeredSelect===!1){if(E.taggingLabel===!1)if(E.activeIndex<0){if(void 0===i&&(i=w(E.search),E.tagging.fct&&(i=E.tagging.fct(i))),!i)return}else i=E.items[E.activeIndex];else if(0===E.activeIndex){if(void 0===i)return;if(void 0!==E.tagging.fct&&"string"==typeof i){if(i=E.tagging.fct(i),!i)return}else"string"==typeof i&&(i=i.replace(E.taggingLabel,"").trim())}if(I(i))return void E.close(n)}g(),t.$broadcast("uis:select",i),E.closeOnSelect&&E.close(n),n||E.setFocus()}}},E.close=function(e,i){E.open&&(E.ngModel&&E.ngModel.$setTouched&&E.ngModel.$setTouched(),E.open=!1,E.tagOnBlur&&!i||g(),t.$broadcast("uis:close",e))},E.setFocus=function(){E.focus||E.focusInput[0].focus()},E.clear=function(e){E.select(null),e.stopPropagation(),c(function(){E.focusser[0].focus()},0,!1)},E.toggle=function(e){E.open?(E.close(),e.preventDefault(),e.stopPropagation()):E.activate()},E.isLocked=function(){return!1},t.$watch(function(){return angular.isDefined(E.lockChoiceExpression)&&""!==E.lockChoiceExpression},$);var k=null,T=!1;E.sizeSearchInput=function(){var e=E.searchInput[0],i=E.searchInput.parent().parent()[0],n=50,s=function(){return i.clientWidth*!!e.offsetParent},l=function(t){if(0===t)return!1;var i=t-e.offsetLeft-10;return i0||E.tagging.isActivated)&&(b(n,e)||E.searchEnabled||(e.preventDefault(),e.stopPropagation()),E.taggingTokens.isActivated)){for(var s=0;s0&&!E.search.endsWith(E.taggingTokenEscape)&&(t=!0);t&&c(function(){E.searchInput.triggerHandler("tagged");var t=y(E.search,i.MAP[e.keyCode]);E.tagging.fct&&(t=E.tagging.fct(t)),t&&E.select(t,!0)})}}),i.isVerticalMovement(n)&&E.items.length>0&&x(),n!==i.ENTER&&n!==i.ESC||(e.preventDefault(),e.stopPropagation())}),E.searchInput.on("paste",function(e){var n;if(n=window.clipboardData&&window.clipboardData.getData?window.clipboardData.getData("Text"):(e.originalEvent||e).clipboardData.getData("text/plain"),n=E.search+n,n&&n.length>0)if(E.paste){var c=E.paste(n);c&&c.length&&t.$broadcast("uis:select-multiple",c),E.search=C,e.preventDefault(),e.stopPropagation()}else if(E.taggingTokens.isActivated){for(var s=[],l=0;l-1){s=n.split(a);break}}0===s.length&&(s=[n]);var o=E.search;angular.forEach(s,function(e){var t=E.tagging.fct?E.tagging.fct(e):e;t&&E.select(t,!0)}),E.search=o||C,e.preventDefault(),e.stopPropagation()}}),E.searchInput.on("blur",function(e){if(E.tagging.isActivated&&E.tagOnBlur&&E.search){var t=e.relatedTarget||e.explicitOriginalTarget||document.activeElement;if(E.uiSelectChoices[0].contains(t))return;c(function(){E.searchInput.triggerHandler("tagged");var e=w(E.search);E.tagging.fct&&(e=E.tagging.fct(e)),e&&E.select(e,!0)})}}),E.searchInput.on("tagged",function(){c(function(){g()})});var M=l(function(){E.sizeSearchInput()},50);angular.element(p).bind("resize",M),t.$on("$destroy",function(){E.searchInput.off("keyup keydown tagged blur paste"),angular.element(p).off("resize",M)}),t.$watch("$select.activeIndex",function(e){e&&n.find("input").attr("aria-activedescendant","ui-select-choices-row-"+E.generatedId+"-"+e)}),t.$watch("$select.open",function(e){e||n.find("input").removeAttr("aria-activedescendant")})}]),c.directive("uiSelect",["$document","uiSelectConfig","uiSelectMinErr","uisOffset","$compile","$parse","$timeout",function(e,i,n,c,s,l,a){return{restrict:"EA",templateUrl:function(e,t){var n=t.theme||i.theme;return n+(angular.isDefined(t.multiple)?"/select-multiple.tpl.html":"/select.tpl.html")},replace:!0,transclude:!0,require:["uiSelect","^ngModel"],scope:!0,controller:"uiSelectCtrl",controllerAs:"$select",compile:function(s,o){var r=/{(.*)}\s*{(.*)}/.exec(o.ngClass);if(r){var u="{"+r[1]+", "+r[2]+"}";o.ngClass=u,s.attr("ng-class",u)}return angular.isDefined(o.multiple)?s.append("").removeAttr("multiple"):s.append(""),o.inputId&&(s.querySelectorAll("input.ui-select-search")[0].id=o.inputId),function(s,o,r,u,d){function p(e){if($.open){var t=!1;if(t=window.jQuery?window.jQuery.contains(o[0],e.target):o[0].contains(e.target),!t&&!$.clickTriggeredSelect){var i;if($.skipFocusser)i=!0;else{var n=["input","button","textarea","select"],c=angular.element(e.target).controller("uiSelect");i=c&&c!==$,i||(i=~n.indexOf(e.target.tagName.toLowerCase()))}$.close(i),s.$digest()}$.clickTriggeredSelect=!1}}function h(){var t=c(o);w=angular.element('
    '),w[0].style.width=t.width+"px",w[0].style.height=t.height+"px",o.after(w),x=o[0].style.width,e.find("body").append(o),o[0].style.position="absolute",o[0].style.left=t.left+"px",o[0].style.top=t.top+"px",o[0].style.width=t.width+"px"}function g(){null!==w&&(w.replaceWith(o),w=null,o[0].style.position="",o[0].style.left="",o[0].style.top="",o[0].style.width=x,$.setFocus())}function f(){$.appendDropdownToBody&&($.open?v():m())}function v(){if($.appendDropdownToBody&&(M=angular.element(o).querySelectorAll(".ui-select-dropdown"),M.length)){R=M.parent(),D=angular.element("
    "),D.addClass("ui-select-dropdown-container ui-select-container"),D.append(M),e.find("body").append(D);var t=c(R);M.css("position","absolute"),M.css("left",t.left+"px"),M.css("top",t.top+t.height+"px"),M.css("width",t.width+"px"),M.css("display","block"),$.uiSelectChoices=angular.element(M[0])}}function m(){$.appendDropdownToBody&&M&&M.length&&R&&D&&(R.append(M),M.css("position",""),M.css("left",""),M.css("top",""),M.css("width",""),M.css("display",""),$.uiSelectChoices=angular.element(M[0]),D.remove(),D=null)}var $=u[0],b=u[1];$.generatedId=i.generateId(),$.baseTitle=r.title||"Select box",$.focusserTitle=$.baseTitle+" focus",$.focusserId="focusser-"+$.generatedId,$.closeOnSelect=function(){return angular.isDefined(r.closeOnSelect)?l(r.closeOnSelect)():i.closeOnSelect}(),s.$watch("skipFocusser",function(){var e=s.$eval(r.skipFocusser);$.skipFocusser=void 0!==e?e:i.skipFocusser}),$.onSelectCallback=l(r.onSelect),$.onRemoveCallback=l(r.onRemove),$.ngModel=b,$.choiceGrouped=function(e){return $.isGrouped&&e&&e.name},r.tabindex&&r.$observe("tabindex",function(e){$.focusInput.attr("tabindex",e),o.removeAttr("tabindex")}),s.$watch(function(){return s.$eval(r.searchEnabled)},function(e){$.searchEnabled=void 0!==e?e:i.searchEnabled}),s.$watch("sortable",function(){var e=s.$eval(r.sortable);$.sortable=void 0!==e?e:i.sortable}),r.$observe("backspaceReset",function(){var e=s.$eval(r.backspaceReset);$.backspaceReset=void 0===e||e}),r.$observe("limit",function(){$.limit=angular.isDefined(r.limit)?parseInt(r.limit,10):void 0}),s.$watch("removeSelected",function(){var e=s.$eval(r.removeSelected);$.removeSelected=void 0!==e?e:i.removeSelected}),r.$observe("disabled",function(){$.disabled=void 0!==r.disabled&&r.disabled}),r.$observe("resetSearchInput",function(){var e=s.$eval(r.resetSearchInput);$.resetSearchInput=void 0===e||e}),r.$observe("paste",function(){$.paste=s.$eval(r.paste)}),r.$observe("copying",function(){$.copying=s.$eval(r.copying)}),r.$observe("tagging",function(){if(void 0!==r.tagging){var e=s.$eval(r.tagging);$.tagging={isActivated:!0,fct:e!==!0?e:void 0}}else $.tagging={isActivated:!1,fct:void 0}}),r.$observe("taggingLabel",function(){void 0!==r.tagging&&("false"===r.taggingLabel?$.taggingLabel=!1:$.taggingLabel=void 0!==r.taggingLabel?r.taggingLabel:"(new)")}),r.$observe("taggingTokens",function(){if(void 0!==r.tagging){var e=void 0!==r.taggingTokens?r.taggingTokens.split("|"):[",","ENTER"];$.taggingTokens={isActivated:!0,tokens:e}}}),r.$observe("taggingTokenEscape",function(){void 0!==r.tagging&&($.taggingTokenEscape=r.taggingTokenEscape)}),r.$observe("tagOnBlur",function(){$.tagOnBlur=s.$eval(r.tagOnBlur)===!0}),r.$observe("spinnerEnabled",function(){var e=s.$eval(r.spinnerEnabled);$.spinnerEnabled=void 0!==e?e:i.spinnerEnabled}),r.$observe("spinnerClass",function(){var e=r.spinnerClass;$.spinnerClass=void 0!==e?r.spinnerClass:i.spinnerClass}),r.$observe("appendDropdownToBody",function(){var e=s.$eval(r.appendDropdownToBody);$.appendDropdownToBody=void 0!==e?e:i.appendDropdownToBody}),angular.isDefined(r.autofocus)&&a(function(){$.setFocus()}),angular.isDefined(r.focusOn)&&s.$on(r.focusOn,function(){a(function(){$.setFocus()})}),e.on("click",p),s.$on("$destroy",function(){e.off("click",p)}),d(s,function(e){var t=angular.element("
    ").append(e),i=t.querySelectorAll(".ui-select-match");if(i.removeAttr("ui-select-match"),i.removeAttr("data-ui-select-match"),1!==i.length)throw n("transcluded","Expected 1 .ui-select-match but got '{0}'.",i.length);o.querySelectorAll(".ui-select-match").replaceWith(i);var c=t.querySelectorAll(".ui-select-choices");if(c.removeAttr("ui-select-choices"),c.removeAttr("data-ui-select-choices"),1!==c.length)throw n("transcluded","Expected 1 .ui-select-choices but got '{0}'.",c.length);o.querySelectorAll(".ui-select-choices").replaceWith(c);var s=t.querySelectorAll(".ui-select-no-choice");s.removeAttr("ui-select-no-choice"),s.removeAttr("data-ui-select-no-choice"),1==s.length&&o.querySelectorAll(".ui-select-no-choice").replaceWith(s)});var y=s.$eval(r.appendToBody);(void 0!==y?y:i.appendToBody)&&(s.$watch("$select.open",function(e){e?h():g()}),s.$on("$destroy",function(){g()}));var w=null,x="",E=null,C="direction-up";s.$watch("$select.open",function(){"auto"!==$.dropdownPosition&&"up"!==$.dropdownPosition||s.calculateDropdownPos()});var S=function(e,t){e=e||c(o),t=t||c(E);var i=t.height*-1;$.appendDropdownToBody&&(i=e.top-t.height),E[0].style.position="absolute",E[0].style.top=i+"px",o.addClass(C)},I=function(e,t){o.removeClass(C),e=e||c(o),t=t||c(E),$.appendDropdownToBody||(E[0].style.position="",E[0].style.top="")},A=function(){a(function(){if("up"===$.dropdownPosition)S();else{o.removeClass(C);var t=c(o),i=c(E),n=e[0].documentElement.scrollTop||e[0].body.scrollTop;t.top+t.height+i.height>n+e[0].documentElement.clientHeight?S(t,i):I(t,i)}E[0].style.opacity=1})},k=!1;s.calculateDropdownPos=function(){if($.open){if(E=angular.element(o).querySelectorAll(".ui-select-dropdown"),$.appendDropdownToBody&&0===E.length&&(E=M),0===E.length)return;if(""!==$.search||k||(E[0].style.opacity=0,k=!0),!c(E).height&&$.$animate&&$.$animate.on&&$.$animate.enabled(E)){var e=!0;$.$animate.on("enter",E,function(t,i){"close"===i&&e&&(A(),e=!1)})}else A()}else{if(null===E||0===E.length)return;E[0].style.opacity=0,E[0].style.position="",E[0].style.top="",o.removeClass(C)}},s.$watch("$select.open",function(){f()}),s.$on("$destroy",function(){$.appendDropdownToBody&&m()});var T=angular.element(t(o[0]));T&&T.on("scroll",function(){$.appendDropdownToBody&&$.open&&a(function(){$.close($.skipFocusser)})});var M=null,D=null,R=null;$.rePositionOnlyDropdown=function(){m(),f()}}}}}]),c.directive("uiSelectMatch",["uiSelectConfig",function(e){function t(e,t){return e[0].hasAttribute(t)?e.attr(t):e[0].hasAttribute("data-"+t)?e.attr("data-"+t):e[0].hasAttribute("x-"+t)?e.attr("x-"+t):void 0}return{restrict:"EA",require:"^uiSelect",replace:!0,transclude:!0,templateUrl:function(i){i.addClass("ui-select-match");var n=i.parent(),c=t(n,"theme")||e.theme,s=angular.isDefined(t(n,"multiple"));return c+(s?"/match-multiple.tpl.html":"/match.tpl.html")},link:function(t,i,n,c){function s(e){c.allowClear=!!angular.isDefined(e)&&(""===e||"true"===e.toLowerCase())}c.lockChoiceExpression=n.uiLockChoice,n.$observe("placeholder",function(t){c.placeholder=void 0!==t?t:e.placeholder}),n.$observe("allowClear",s),s(n.allowClear),c.multiple&&c.sizeSearchInput()}}}]),c.directive("uiSelectMultiple",["uiSelectMinErr","$timeout",function(t,n){return{restrict:"EA",require:["^uiSelect","^ngModel"],controller:["$scope","$timeout",function(e,t){var i,n=this,c=e.$select;angular.isUndefined(c.selected)&&(c.selected=[]),e.$evalAsync(function(){i=e.ngModel}),n.activeMatchIndex=-1,n.allChoicesActive=!1,n.updateModel=function(){i.$setViewValue(Date.now()),n.refreshComponent()},n.refreshComponent=function(){c.refreshItems&&c.refreshItems(),c.sizeSearchInput&&c.sizeSearchInput(),c.closeOnSelect||c.rePositionOnlyDropdown()},n.removeChoice=function(i){if(c.isLocked(null,i))return!1;var s=c.selected[i],l={};return l[c.parserResult.itemName]=s,c.selected.splice(i,1),n.activeMatchIndex=-1,c.sizeSearchInput(),t(function(){c.onRemoveCallback(e,{$item:s,$model:c.parserResult.modelMapper(e,l)})}),n.updateModel(),!0},n.removeAllChoices=function(){return c.selected=[],n.activeMatchIndex=-1,n.allChoicesActive=!1,c.sizeSearchInput(),n.updateModel(),!0},n.isActiveChoice=function(e){return n.allChoicesActive||n.activeMatchIndex===e},n.getPlaceholder=function(){if(!c.selected||!c.selected.length)return c.placeholder}}],controllerAs:"$selectMultiple",link:function(c,s,l,a){function o(e,t){var n=e.which;c.$apply(function(){var c=!1,s=i.isHorizontalMovement(n)||i.isMetaAndKey(e,i.A)||i.isMetaAndKey(e,i.X);s?c=u(e):t||(v.allChoicesActive=!1),c&&n!=i.TAB&&(e.preventDefault(),e.stopPropagation())})}function r(e){return angular.isNumber(e.selectionStart)?e.selectionEnd>e.selectionStart?e.selectionEnd:e.selectionStart:e.value.length}function u(e){function t(){return v.allChoicesActive?(v.removeAllChoices(),!1):!!~v.activeMatchIndex&&(v.removeChoice(v.activeMatchIndex),o)}function n(){switch(h){case i.LEFT:return v.allChoicesActive=!1,~v.activeMatchIndex?d:a;case i.RIGHT:return v.allChoicesActive=!1,~v.activeMatchIndex&&o!==a?u:(g.activate(),!1);case i.BACKSPACE:return v.allChoicesActive?(v.removeAllChoices(),!1):~v.activeMatchIndex?v.removeChoice(o)?d:o:a;case i.DELETE:return t();case i.X:if(e.metaKey)return t();break;case i.A:if(e.metaKey)return v.allChoicesActive=!0,!1}}var c=r(g.searchInput[0]),s=g.selected.length,l=0,a=s-1,o=v.activeMatchIndex,u=v.activeMatchIndex+1,d=v.activeMatchIndex-1,p=o,h=e.which;if(c>0||g.search.length&&h==i.RIGHT)return!1;g.close(null,!0),p=n(),g.selected.length&&p!==!1?v.activeMatchIndex=Math.min(a,Math.max(l,p)):v.activeMatchIndex=-1;var f=v.allChoicesActive||v.activeMatchIndex!==-1;if(g.copying&&f){if(g.copyInput[0].focus(),v.allChoicesActive&&g.selected){var m=g.copying(g.selected);g.copyInput.val(m)[0].select()}else if(v.activeMatchIndex>=0){var $=g.selected[v.activeMatchIndex];if($){var b=g.copying([$]);g.copyInput.val(b)[0].select()}}}else g.copying&&!f&&g.setFocus();return!0}function d(e){if(void 0===e||void 0===g.search)return!1;var t=e.filter(function(e){return void 0!==g.search.toUpperCase()&&void 0!==e&&e.toUpperCase()===g.search.toUpperCase()}).length>0;return t}function p(e,t){var i=-1;if(angular.isArray(e))for(var n=angular.copy(e),c=0;c=0;n--)t={},t[g.parserResult.itemName]=g.selected[n],e=g.parserResult.modelMapper(c,t),i.unshift(e);return i}),f.$formatters.unshift(function(e){var t,i=g.parserResult&&g.parserResult.source(c,{$select:{search:""}}),n={};if(!i)return e;var s=[],l=function(e,i){if(e&&e.length){for(var l=e.length-1;l>=0;l--){if(n[g.parserResult.itemName]=e[l],t=g.parserResult.modelMapper(c,n),g.parserResult.trackByExp){var a=/(\w*)\./.exec(g.parserResult.trackByExp),o=/\.([^\s]+)/.exec(g.parserResult.trackByExp);if(a&&a.length>0&&a[1]==g.parserResult.itemName&&o&&o.length>0&&t[o[1]]==i[o[1]])return s.unshift(e[l]),!0}if(angular.equals(t,i))return s.unshift(e[l]),!0}return!1}};if(!e)return s;for(var a=e.length-1;a>=0;a--)l(g.selected,e[a])||l(i,e[a])||s.unshift(e[a]);return s}),c.$watchCollection(function(){return f.$modelValue},function(e,t){t!=e&&(angular.isDefined(f.$modelValue)&&(f.$modelValue=null),v.refreshComponent())}),f.$render=function(){if(!angular.isArray(f.$viewValue)){if(!e(f.$viewValue))throw t("multiarr","Expected model value to be array but got '{0}'",f.$viewValue);f.$viewValue=[]}g.selected=f.$viewValue,v.refreshComponent(),c.$evalAsync()},c.$on("uis:select",function(e,t){if(!(g.selected.length>=g.limit)){g.selected.push(t);var i={};i[g.parserResult.itemName]=t,n(function(){g.onSelectCallback(c,{$item:t,$model:g.parserResult.modelMapper(c,i)})}),v.updateModel()}}),c.$on("uis:select-multiple",function(e,t){g.selected.length>=g.limit||(g.selected=g.selected.concat(t),v.updateModel())}),c.$on("uis:activate",function(){v.allChoicesActive=!1,v.activeMatchIndex=-1}),c.$watch("$select.disabled",function(e,t){t&&!e&&g.sizeSearchInput()}),g.searchInput.on("keydown",function(e){o(e,!1)}),g.copyInput.on("keydown",function(e){o(e,!0)}),g.searchInput.on("keyup",function(e){if(i.isVerticalMovement(e.which)||c.$evalAsync(function(){g.activeIndex=g.taggingLabel===!1?-1:0}),g.tagging.isActivated&&g.search.length>0){if(e.which===i.TAB||i.isControl(e)||i.isFunctionKey(e)||e.which===i.ESC||i.isVerticalMovement(e.which))return;if(g.activeIndex=g.taggingLabel===!1?-1:0,g.taggingLabel===!1)return;var t,n,s,l,a=angular.copy(g.items),o=angular.copy(g.items),r=!1,u=-1;if(void 0!==g.tagging.fct){if(s=g.$filter("filter")(a,{isTag:!0}),s.length>0&&(l=s[0]),a.length>0&&l&&(r=!0,a=a.slice(1,a.length),o=o.slice(1,o.length)),t=g.tagging.fct(g.search),o.some(function(e){return angular.equals(e,t)})||g.selected.some(function(e){return angular.equals(e,t)}))return void c.$evalAsync(function(){g.activeIndex=0,g.items=a});t&&(t.isTag=!0)}else{if(s=g.$filter("filter")(a,function(e){return e.match(g.taggingLabel)}),s.length>0&&(l=s[0]),n=a[0],void 0!==n&&a.length>0&&l&&(r=!0,a=a.slice(1,a.length),o=o.slice(1,o.length)),t=g.search+" "+g.taggingLabel,p(g.selected,g.search)>-1)return;if(d(o.concat(g.selected)))return void(r&&(a=o,c.$evalAsync(function(){g.activeIndex=0,g.items=a})));if(d(o))return void(r&&(g.items=o.slice(1,o.length)))}r&&(u=p(g.selected,t)),u>-1?a=a.slice(u+1,a.length-1):(a=[],t&&a.push(t),a=a.concat(o)),c.$evalAsync(function(){if(g.activeIndex=0,g.items=a,g.isGrouped){var e=t?a.slice(1):a;g.setItemsFn(e),t&&(g.items.unshift(t),g.groups.unshift({name:"",items:[t],tagging:!0}))}})}}),g.searchInput.on("blur",function(e){h(g.copyInput)}),g.copyInput.on("blur",function(e){h(g.searchInput)})}}}]),c.directive("uiSelectNoChoice",["uiSelectConfig",function(e){return{restrict:"EA",require:"^uiSelect",replace:!0,transclude:!0,templateUrl:function(t){t.addClass("ui-select-no-choice");var i=t.parent().attr("theme")||e.theme;return i+"/no-choice.tpl.html"}}}]),c.directive("uiSelectSingle",["$timeout","$compile",function(t,n){return{restrict:"EA",require:["^uiSelect","^ngModel"],link:function(c,s,l,a){ -var o=a[0],r=a[1];r.$parsers.unshift(function(t){if(e(t))return t;var i,n={};return n[o.parserResult.itemName]=t,i=o.parserResult.modelMapper(c,n)}),r.$formatters.unshift(function(t){if(e(t))return t;var i,n=o.parserResult&&o.parserResult.source(c,{$select:{search:""}}),s={};if(n){var l=function(e){return s[o.parserResult.itemName]=e,i=o.parserResult.modelMapper(c,s),i===t};if(o.selected&&l(o.selected))return o.selected;for(var a=n.length-1;a>=0;a--)if(l(n[a]))return n[a]}return t}),c.$watch("$select.selected",function(e){r.$viewValue!==e&&r.$setViewValue(e)}),r.$render=function(){o.selected=r.$viewValue},c.$on("uis:select",function(i,n){o.selected=n;var s={};s[o.parserResult.itemName]=n,t(function(){o.onSelectCallback(c,{$item:n,$model:e(n)?n:o.parserResult.modelMapper(c,s)})})}),c.$on("uis:close",function(e,i){t(function(){o.focusser.prop("disabled",!1),i||o.focusser[0].focus()},0,!1)}),c.$on("uis:activate",function(){u.prop("disabled",!0)});var u=angular.element("");n(u)(c),o.focusser=u,o.focusInput=u,s.parent().append(u),u.bind("focus",function(){c.$evalAsync(function(){o.focus=!0})}),u.bind("blur",function(){c.$evalAsync(function(){o.focus=!1})}),u.bind("keydown",function(e){return e.which===i.BACKSPACE&&o.backspaceReset!==!1?(e.preventDefault(),e.stopPropagation(),o.select(void 0),void c.$apply()):void(e.which===i.TAB||i.isControl(e)||i.isFunctionKey(e)||e.which===i.ESC||(e.which!=i.DOWN&&e.which!=i.UP&&e.which!=i.ENTER&&e.which!=i.SPACE||(e.preventDefault(),e.stopPropagation(),o.activate()),c.$digest()))}),u.bind("keyup input",function(e){e.which===i.TAB||i.isControl(e)||i.isFunctionKey(e)||e.which===i.ESC||e.which==i.ENTER||e.which===i.BACKSPACE||(o.activate(u.val()),u.val(""),c.$digest())})}}}]),c.directive("uiSelectSort",["$timeout","uiSelectConfig","uiSelectMinErr",function(e,t,i){return{require:["^^uiSelect","^ngModel"],link:function(t,n,c,s){if(null===t[c.uiSelectSort])throw i("sort","Expected a list to sort");var l=s[0],a=s[1],o=angular.extend({axis:"horizontal"},t.$eval(c.uiSelectSortOptions)),r=o.axis,u="dragging",d="dropping",p="dropping-before",h="dropping-after";t.$watch(function(){return l.sortable},function(e){e?n.attr("draggable",!0):n.removeAttr("draggable")}),n.on("dragstart",function(e){n.addClass(u),(e.dataTransfer||e.originalEvent.dataTransfer).setData("text",t.$index.toString())}),n.on("dragend",function(){v(u)});var g,f=function(e,t){this.splice(t,0,this.splice(e,1)[0])},v=function(e){angular.forEach(l.$element.querySelectorAll("."+e),function(t){angular.element(t).removeClass(e)})},m=function(e){e.preventDefault();var t="vertical"===r?e.offsetY||e.layerY||(e.originalEvent?e.originalEvent.offsetY:0):e.offsetX||e.layerX||(e.originalEvent?e.originalEvent.offsetX:0);t
  • '),e.put("bootstrap/match-multiple.tpl.html",' × '),e.put("bootstrap/match.tpl.html",'
    {{$select.placeholder}}
    '),e.put("bootstrap/no-choice.tpl.html",''),e.put("bootstrap/select-multiple.tpl.html",''),e.put("bootstrap/select.tpl.html",''),e.put("selectize/choices.tpl.html",'
    '),e.put("selectize/match-multiple.tpl.html",'
    ×
    '),e.put("selectize/match.tpl.html",'
    {{$select.placeholder}}
    '),e.put("selectize/no-choice.tpl.html",'
    '),e.put("selectize/select-multiple.tpl.html",'
    '),e.put("selectize/select.tpl.html",'
    '),e.put("select2/choices.tpl.html",'
    '),e.put("select2/match-multiple.tpl.html",'
  • '),e.put("select2/match.tpl.html",'{{$select.placeholder}} '),e.put("select2/no-choice.tpl.html",''),e.put("select2/select-multiple.tpl.html",'
    '),e.put("select2/select.tpl.html",'
    ')}]); +!function(){"use strict";function e(e){return angular.isUndefined(e)||null===e}function t(e){if(e&&document.body!==e)return e.scrollHeight>e.clientHeight?e:t(e.parentNode)}var i={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,COMMAND:91,A:65,X:88,MAP:{91:"COMMAND",8:"BACKSPACE",9:"TAB",13:"ENTER",16:"SHIFT",17:"CTRL",18:"ALT",19:"PAUSEBREAK",20:"CAPSLOCK",27:"ESC",32:"SPACE",33:"PAGE_UP",34:"PAGE_DOWN",35:"END",36:"HOME",37:"LEFT",38:"UP",39:"RIGHT",40:"DOWN",43:"+",44:"PRINTSCREEN",45:"INSERT",46:"DELETE",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NUMLOCK",145:"SCROLLLOCK",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},isControl:function(e){var t=e.which;switch(t){case i.COMMAND:case i.SHIFT:case i.CTRL:case i.ALT:return!0}return!!(e.metaKey||e.ctrlKey||e.altKey)},isMetaAndKey:function(e,t){return e.metaKey&&e.which===t},isFunctionKey:function(e){return e=e.which?e.which:e,e>=112&&e<=123},isVerticalMovement:function(e){return~[i.UP,i.DOWN].indexOf(e)},isHorizontalMovement:function(e){return~[i.LEFT,i.RIGHT,i.BACKSPACE,i.DELETE].indexOf(e)},toSeparator:function(e){var t={ENTER:"\n",TAB:"\t",SPACE:" "}[e];return t?t:i[e]?void 0:e}};void 0===angular.element.prototype.querySelectorAll&&(angular.element.prototype.querySelectorAll=function(e){return angular.element(this[0].querySelectorAll(e))}),void 0===angular.element.prototype.closest&&(angular.element.prototype.closest=function(e){for(var t=this[0],i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;t;){if(i.bind(t)(e))return t;t=t.parentElement}return!1});var n=0,c=angular.module("ui.select",[]).constant("uiSelectConfig",{theme:"bootstrap",searchEnabled:!0,sortable:!1,placeholder:"",refreshDelay:1e3,closeOnSelect:!0,skipFocusser:!1,dropdownPosition:"auto",removeSelected:!0,resetSearchInput:!0,generateId:function(){return n++},appendToBody:!1,appendDropdownToBody:!1,spinnerEnabled:!1,spinnerClass:"glyphicon glyphicon-refresh ui-select-spin",backspaceReset:!0,trim:!0}).service("uiSelectMinErr",function(){var e=angular.$$minErr("ui.select");return function(){var t=e.apply(this,arguments),i=t.message.replace(new RegExp("\nhttp://errors.angularjs.org/.*"),"");return new Error(i)}}).directive("uisTranscludeAppend",function(){return{link:function(e,t,i,n,c){c(e,function(e){t.append(e)})}}}).filter("highlight",function(){function e(e){return(""+e).replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}return function(t,i){return i&&t?(""+t).replace(new RegExp(e(i),"gi"),'$&'):t}}).factory("uisOffset",["$document","$window",function(e,t){return function(i){var n=i[0].getBoundingClientRect();return{width:n.width||i.prop("offsetWidth"),height:n.height||i.prop("offsetHeight"),top:n.top+(t.pageYOffset||e[0].documentElement.scrollTop),left:n.left+(t.pageXOffset||e[0].documentElement.scrollLeft)}}}]);c.directive("uiSelectChoices",["uiSelectConfig","uisRepeatParser","uiSelectMinErr","$compile","$window",function(e,t,i,n,c){return{restrict:"EA",require:"^uiSelect",replace:!0,transclude:!0,templateUrl:function(t){t.addClass("ui-select-choices");var i=t.parent().attr("theme")||e.theme;return i+"/choices.tpl.html"},compile:function(n,s){if(!s.repeat)throw i("repeat","Expected 'repeat' expression.");var l=s.groupBy,a=s.groupFilter;if(l){var r=n.querySelectorAll(".ui-select-choices-group");if(1!==r.length)throw i("rows","Expected 1 .ui-select-choices-group but got '{0}'.",r.length);r.attr("ng-repeat",t.getGroupNgRepeatExpression())}var o=t.parse(s.repeat),u=n.querySelectorAll(".ui-select-choices-row");if(1!==u.length)throw i("rows","Expected 1 .ui-select-choices-row but got '{0}'.",u.length);u.attr("ng-repeat",o.repeatExpression(l)).attr("ng-if","$select.open");var d=n.querySelectorAll(".ui-select-choices-row-inner");if(1!==d.length)throw i("rows","Expected 1 .ui-select-choices-row-inner but got '{0}'.",d.length);d.attr("uis-transclude-append","");var p=c.document.addEventListener?u:d;return p.attr("ng-click","$select.select("+o.itemName+",$select.skipFocusser,$event)"),function(t,i,c,s){s.parseRepeatAttr(c.repeat,l,a),s.disableChoiceExpression=c.uiDisableChoice,s.onHighlightCallback=c.onHighlight,s.minimumInputLength=parseInt(c.minimumInputLength)||0,s.dropdownPosition=c.position?c.position.toLowerCase():e.dropdownPosition,s.uiSelectChoices=i,t.$watch("$select.search",function(e){e&&!s.open&&s.multiple&&s.activate(!1,!0),s.activeIndex=s.tagging.isActivated?-1:0,!c.minimumInputLength||s.search.length>=c.minimumInputLength?s.refresh(c.refresh):s.items=[]}),c.$observe("refreshDelay",function(){var i=t.$eval(c.refreshDelay);s.refreshDelay=void 0!==i?i:e.refreshDelay}),t.$watch("$select.open",function(e){e?(n.attr("role","listbox"),s.refresh(c.refresh)):i.removeAttr("role")})}}}}]),c.controller("uiSelectCtrl",["$scope","$element","$timeout","$filter","$$uisDebounce","uisRepeatParser","uiSelectMinErr","uiSelectConfig","$parse","$injector","$window",function(t,n,c,s,l,a,r,o,u,d,p){function h(e,t,i){if(e.findIndex)return e.findIndex(t,i);for(var n,c=Object(e),s=c.length>>>0,l=0;l-1&&A.splice(i,1)}function m(e){return A.indexOf(e)>-1}function $(e){function t(e,t){var i=n.indexOf(e);t&&i===-1&&n.push(e),!t&&i>-1&&n.splice(i,1)}function i(e){return n.indexOf(e)>-1}if(e){var n=[];E.isLocked=function(e,n){var c=!1,s=E.selected[n];return s&&(e?(c=!!e.$eval(E.lockChoiceExpression),t(s,c)):c=i(s)),c}}}function b(e,t){var n=!0;switch(e){case i.DOWN:if(!E.open&&E.multiple)E.activate(!1,!0);else if(E.activeIndexs)for(var l=--E.activeIndex;m(E.items[l])&&l>s;)E.activeIndex=--l;break;case i.TAB:E.multiple&&!E.open||(E.select(E.items[E.activeIndex],!0),t.preventDefault(),t.stopPropagation());break;case i.ENTER:E.open&&(E.tagging.isActivated||E.activeIndex>=0)?E.select(E.items[E.activeIndex],E.skipFocusser):E.activate(!1,!0);break;case i.ESC:E.close();break;default:n=!1}return n}function y(e,i){if(i.length>1)return e;var n=new RegExp(i+"$");if(E.taggingTokenEscape){var c=e.split(E.taggingTokenEscape+i);c.push(c.pop().replace(n,"")),e=c.join(i)}else e=e.replace(n,"");return t.$select.trim&&(e=e.trim()),e}function w(e){if(E.taggingTokens.isActivated)for(var t=0;tc?e[0].scrollTop+=n-c:n=E.items.length?0:E.activeIndex,E.activeIndex===-1&&E.taggingLabel!==!1&&(E.activeIndex=0);var s=n.querySelectorAll(".ui-select-choices-content"),l=n.querySelectorAll(".ui-select-search");if(E.$animate&&E.$animate.on&&E.$animate.enabled(s[0])){var a=function(t,i){"start"===i&&0===E.items.length?(E.$animate.off("removeClass",l[0],a),c(function(){E.focusSearchInput(e)})):"close"===i&&(E.$animate.off("enter",s[0],a),c(function(){E.focusSearchInput(e)}))};E.items.length>0?E.$animate.on("enter",s[0],a):E.$animate.on("removeClass",l[0],a)}else c(function(){E.focusSearchInput(e),!E.tagging.isActivated&&E.items.length>1&&x()})}},E.focusSearchInput=function(e){E.search=e||E.search,E.searchInput[0].focus()},E.findGroupByName=function(e){return E.groups&&E.groups.filter(function(t){return t.name===e})[0]},E.parseRepeatAttr=function(e,i,n){function c(e){var c=t.$eval(i);if(E.groups=[],angular.forEach(e,function(e){var t=angular.isFunction(c)?c(e):e[c],i=E.findGroupByName(t);i?i.items.push(e):E.groups.push({name:t,items:[e]})}),n){var s=t.$eval(n);angular.isFunction(s)?E.groups=s(E.groups):angular.isArray(s)&&(E.groups=f(E.groups,s))}E.items=[],E.groups.forEach(function(e){E.items=E.items.concat(e.items)})}function s(e){E.items=e||[]}E.setItemsFn=i?c:s,E.parserResult=a.parse(e),E.isGrouped=!!i,E.itemProperty=E.parserResult.itemName;var l=E.parserResult.source,o=function(){var e=l(t);t.$uisSource=Object.keys(e).map(function(t){var i={};return i[E.parserResult.keyName]=t,i.value=e[t],i})};E.parserResult.keyName&&(o(),E.parserResult.source=u("$uisSource"+E.parserResult.filters),t.$watch(l,function(e,t){e!==t&&o()},!0)),E.refreshItems=function(e){e=e||E.parserResult.source(t);var i=E.selected;if(E.isEmpty()||angular.isArray(i)&&!i.length||!E.multiple||!E.removeSelected)E.setItemsFn(e);else if(void 0!==e&&null!==e){var n=e.filter(function(e){return angular.isArray(i)?i.every(function(t){return!angular.equals(e,t)}):!angular.equals(e,i)});E.setItemsFn(n)}"auto"!==E.dropdownPosition&&"up"!==E.dropdownPosition||t.calculateDropdownPos(),t.$broadcast("uis:refresh")},t.$watchCollection(E.parserResult.source,function(e){if(void 0===e||null===e)E.items=[];else{if(!angular.isArray(e))throw r("items","Expected an array but got '{0}'.",e);E.refreshItems(e),angular.isDefined(E.ngModel.$modelValue)&&(E.ngModel.$modelValue=null)}})};var S;E.refresh=function(e){void 0!==e&&(S&&c.cancel(S),S=c(function(){if(t.$select.search.length>=t.$select.minimumInputLength){var i=t.$eval(e);i&&angular.isFunction(i.then)&&!E.refreshing&&(E.refreshing=!0,i["finally"](function(){E.refreshing=!1}))}},E.refreshDelay))},E.isActive=function(e){if(!E.open)return!1;var t=E.items.indexOf(e[E.itemProperty]),i=t==E.activeIndex;return(!E.items[t]||!E.items[t].divider)&&(!(!i||t<0)&&(i&&!angular.isUndefined(E.onHighlightCallback)&&e.$eval(E.onHighlightCallback),i))};var I=function(e){return E.selected&&angular.isArray(E.selected)&&E.selected.filter(function(t){return angular.equals(t,e)}).length>0},A=[];E.isDisabled=function(e){if(E.open){var t=e[E.itemProperty],i=E.items.indexOf(t),n=!1;if(i>=0&&(angular.isDefined(E.disableChoiceExpression)||E.multiple)){if(t.isTag)return!1;E.multiple&&(n=I(t)),!n&&angular.isDefined(E.disableChoiceExpression)&&(n=!!e.$eval(E.disableChoiceExpression)),v(t,n)}return n}},E.select=function(i,n,c){if(e(i)||!m(i)){if(!E.items&&!E.search&&!E.tagging.isActivated)return;if(!i||!m(i)){if(E.clickTriggeredSelect=!1,c&&("click"===c.type||"touchend"===c.type)&&i&&(E.clickTriggeredSelect=!0),E.tagging.isActivated&&E.clickTriggeredSelect===!1){if(E.taggingLabel===!1)if(E.activeIndex<0){if(void 0===i&&(i=w(E.search),E.tagging.fct&&(i=E.tagging.fct(i))),!i)return}else i=E.items[E.activeIndex];else if(0===E.activeIndex){if(void 0===i)return;if(void 0!==E.tagging.fct&&"string"==typeof i){if(i=E.tagging.fct(i),!i)return}else"string"==typeof i&&(i=i.replace(E.taggingLabel,"").trim())}if(I(i))return void E.close(n)}g(),t.$broadcast("uis:select",i),E.closeOnSelect&&E.close(n),n||E.setFocus()}}},E.close=function(e,i){E.open&&(E.ngModel&&E.ngModel.$setTouched&&E.ngModel.$setTouched(),E.open=!1,E.tagOnBlur&&!i||g(),t.$broadcast("uis:close",e))},E.setFocus=function(){E.focus||E.focusInput[0].focus()},E.clear=function(e){E.select(null),e.stopPropagation(),c(function(){E.focusser[0].focus()},0,!1)},E.toggle=function(e){E.open?(E.close(),e.preventDefault(),e.stopPropagation()):E.activate()},E.isLocked=function(){return!1},t.$watch(function(){return angular.isDefined(E.lockChoiceExpression)&&""!==E.lockChoiceExpression},$);var k=null,T=!1;E.sizeSearchInput=function(){var e=E.searchInput[0],i=E.searchInput.parent().parent()[0],n=50,s=function(){return i.clientWidth*!!e.offsetParent},l=function(t){if(0===t)return!1;var i=t-e.offsetLeft-10;return i0||E.tagging.isActivated)&&(b(n,e)||E.searchEnabled||(e.preventDefault(),e.stopPropagation()),E.taggingTokens.isActivated)){for(var s=0;s0&&!E.search.endsWith(E.taggingTokenEscape)&&(t=!0);t&&c(function(){E.searchInput.triggerHandler("tagged");var t=y(E.search,i.MAP[e.keyCode]);E.tagging.fct&&(t=E.tagging.fct(t)),t&&E.select(t,!0)})}}),i.isVerticalMovement(n)&&E.items.length>0&&x(),n!==i.ENTER&&n!==i.ESC||(e.preventDefault(),e.stopPropagation())}),E.searchInput.on("paste",function(e){var n;if(n=window.clipboardData&&window.clipboardData.getData?window.clipboardData.getData("Text"):(e.originalEvent||e).clipboardData.getData("text/plain"),n=E.search+n,n&&n.length>0)if(E.paste){var c=E.paste(n);c&&c.length&&t.$broadcast("uis:select-multiple",c),E.search=C,e.preventDefault(),e.stopPropagation()}else if(E.taggingTokens.isActivated){for(var s=[],l=0;l-1){s=n.split(a);break}}0===s.length&&(s=[n]);var r=E.search;angular.forEach(s,function(e){var t=E.tagging.fct?E.tagging.fct(e):e;t&&E.select(t,!0)}),E.search=r||C,e.preventDefault(),e.stopPropagation()}}),E.searchInput.on("blur",function(e){if(E.tagging.isActivated&&E.tagOnBlur&&E.search){var t=e.relatedTarget||e.explicitOriginalTarget||document.activeElement;if(E.uiSelectChoices[0].contains(t))return;c(function(){E.searchInput.triggerHandler("tagged");var e=w(E.search);E.tagging.fct&&(e=E.tagging.fct(e)),e&&E.select(e,!0)})}}),E.searchInput.on("tagged",function(){c(function(){g()})});var M=l(function(){E.sizeSearchInput()},50);angular.element(p).bind("resize",M),t.$on("$destroy",function(){E.searchInput.off("keyup keydown tagged blur paste"),angular.element(p).off("resize",M)}),t.$watch("$select.activeIndex",function(e){e&&n.find("input").attr("aria-activedescendant","ui-select-choices-row-"+E.generatedId+"-"+e)}),t.$watch("$select.open",function(e){e||n.find("input").removeAttr("aria-activedescendant")})}]),c.directive("uiSelect",["$document","uiSelectConfig","uiSelectMinErr","uisOffset","$compile","$parse","$timeout",function(e,i,n,c,s,l,a){return{restrict:"EA",templateUrl:function(e,t){var n=t.theme||i.theme;return n+(angular.isDefined(t.multiple)?"/select-multiple.tpl.html":"/select.tpl.html")},replace:!0,transclude:!0,require:["uiSelect","^ngModel"],scope:!0,controller:"uiSelectCtrl",controllerAs:"$select",compile:function(s,r){var o=/{(.*)}\s*{(.*)}/.exec(r.ngClass);if(o){var u="{"+o[1]+", "+o[2]+"}";r.ngClass=u,s.attr("ng-class",u)}return angular.isDefined(r.multiple)?s.append("").removeAttr("multiple"):s.append(""),r.inputId&&(s.querySelectorAll("input.ui-select-search")[0].id=r.inputId),function(s,r,o,u,d){function p(e){if($.open){var t=!1;if(t=window.jQuery?window.jQuery.contains(r[0],e.target):r[0].contains(e.target),!t&&!$.clickTriggeredSelect){var i;if($.skipFocusser)i=!0;else{var n=["input","button","textarea","select"],c=angular.element(e.target).controller("uiSelect");i=c&&c!==$,i||(i=~n.indexOf(e.target.tagName.toLowerCase()))}$.close(i),s.$digest()}$.clickTriggeredSelect=!1}}function h(){var t=c(r);w=angular.element('
    '),w[0].style.width=t.width+"px",w[0].style.height=t.height+"px",r.after(w),x=r[0].style.width,e.find("body").append(r),r[0].style.position="absolute",r[0].style.left=t.left+"px",r[0].style.top=t.top+"px",r[0].style.width=t.width+"px"}function g(){null!==w&&(w.replaceWith(r),w=null,r[0].style.position="",r[0].style.left="",r[0].style.top="",r[0].style.width=x,$.setFocus())}function f(){$.appendDropdownToBody&&($.open?v():m())}function v(){if($.appendDropdownToBody&&(M=angular.element(r).querySelectorAll(".ui-select-dropdown"),M.length)){R=M.parent(),D=angular.element("
    "),D.addClass("ui-select-dropdown-container ui-select-container"),D.append(M),e.find("body").append(D);var t=c(R);M.css("position","absolute"),M.css("left",t.left+"px"),M.css("top",t.top+t.height+"px"),M.css("width",t.width+"px"),M.css("display","block"),$.uiSelectChoices=angular.element(M[0])}}function m(){$.appendDropdownToBody&&M&&M.length&&R&&D&&(R.append(M),M.css("position",""),M.css("left",""),M.css("top",""),M.css("width",""),M.css("display",""),$.uiSelectChoices=angular.element(M[0]),D.remove(),D=null)}var $=u[0],b=u[1];$.generatedId=i.generateId(),$.baseTitle=o.title||"Select box",$.focusserTitle=$.baseTitle+" focus",$.focusserId="focusser-"+$.generatedId,$.closeOnSelect=function(){return angular.isDefined(o.closeOnSelect)?l(o.closeOnSelect)():i.closeOnSelect}(),s.$watch("skipFocusser",function(){var e=s.$eval(o.skipFocusser);$.skipFocusser=void 0!==e?e:i.skipFocusser}),$.onSelectCallback=l(o.onSelect),$.onRemoveCallback=l(o.onRemove),$.ngModel=b,$.choiceGrouped=function(e){return $.isGrouped&&e&&e.name},o.tabindex&&o.$observe("tabindex",function(e){$.focusInput.attr("tabindex",e),r.removeAttr("tabindex")}),s.$watch(function(){return s.$eval(o.searchEnabled)},function(e){$.searchEnabled=void 0!==e?e:i.searchEnabled}),s.$watch("sortable",function(){var e=s.$eval(o.sortable);$.sortable=void 0!==e?e:i.sortable}),o.$observe("backspaceReset",function(){var e=s.$eval(o.backspaceReset);$.backspaceReset=void 0===e||e}),o.$observe("limit",function(){$.limit=angular.isDefined(o.limit)?parseInt(o.limit,10):void 0}),s.$watch("removeSelected",function(){var e=s.$eval(o.removeSelected);$.removeSelected=void 0!==e?e:i.removeSelected}),o.$observe("disabled",function(){$.disabled=void 0!==o.disabled&&o.disabled}),o.$observe("resetSearchInput",function(){var e=s.$eval(o.resetSearchInput);$.resetSearchInput=void 0===e||e}),o.$observe("paste",function(){$.paste=s.$eval(o.paste)}),o.$observe("copying",function(){$.copying=s.$eval(o.copying)}),o.$observe("tagging",function(){if(void 0!==o.tagging){var e=s.$eval(o.tagging);$.tagging={isActivated:!0,fct:e!==!0?e:void 0}}else $.tagging={isActivated:!1,fct:void 0}}),o.$observe("taggingLabel",function(){void 0!==o.tagging&&("false"===o.taggingLabel?$.taggingLabel=!1:$.taggingLabel=void 0!==o.taggingLabel?o.taggingLabel:"(new)")}),o.$observe("taggingTokens",function(){if(void 0!==o.tagging){var e=void 0!==o.taggingTokens?o.taggingTokens.split("|"):[",","ENTER"];$.taggingTokens={isActivated:!0,tokens:e}}}),o.$observe("taggingTokenEscape",function(){void 0!==o.tagging&&($.taggingTokenEscape=o.taggingTokenEscape)}),o.$observe("tagOnBlur",function(){$.tagOnBlur=s.$eval(o.tagOnBlur)===!0}),o.$observe("spinnerEnabled",function(){var e=s.$eval(o.spinnerEnabled);$.spinnerEnabled=void 0!==e?e:i.spinnerEnabled}),o.$observe("spinnerClass",function(){var e=o.spinnerClass;$.spinnerClass=void 0!==e?o.spinnerClass:i.spinnerClass}),o.$observe("appendDropdownToBody",function(){var e=s.$eval(o.appendDropdownToBody);$.appendDropdownToBody=void 0!==e?e:i.appendDropdownToBody}),s.$watch(function(){return s.$eval(o.trim)},function(e){$.trim=void 0!==e?e:i.trim}),angular.isDefined(o.autofocus)&&a(function(){$.setFocus()}),angular.isDefined(o.focusOn)&&s.$on(o.focusOn,function(){a(function(){$.setFocus()})}),e.on("click",p),s.$on("$destroy",function(){e.off("click",p)}),d(s,function(e){var t=angular.element("
    ").append(e),i=t.querySelectorAll(".ui-select-match");if(i.removeAttr("ui-select-match"),i.removeAttr("data-ui-select-match"),1!==i.length)throw n("transcluded","Expected 1 .ui-select-match but got '{0}'.",i.length);r.querySelectorAll(".ui-select-match").replaceWith(i);var c=t.querySelectorAll(".ui-select-choices");if(c.removeAttr("ui-select-choices"),c.removeAttr("data-ui-select-choices"),1!==c.length)throw n("transcluded","Expected 1 .ui-select-choices but got '{0}'.",c.length);r.querySelectorAll(".ui-select-choices").replaceWith(c);var s=t.querySelectorAll(".ui-select-no-choice");s.removeAttr("ui-select-no-choice"),s.removeAttr("data-ui-select-no-choice"),1==s.length&&r.querySelectorAll(".ui-select-no-choice").replaceWith(s)});var y=s.$eval(o.appendToBody);(void 0!==y?y:i.appendToBody)&&(s.$watch("$select.open",function(e){e?h():g()}),s.$on("$destroy",function(){g()}));var w=null,x="",E=null,C="direction-up";s.$watch("$select.open",function(){"auto"!==$.dropdownPosition&&"up"!==$.dropdownPosition||s.calculateDropdownPos()});var S=function(e,t){e=e||c(r),t=t||c(E);var i=t.height*-1;$.appendDropdownToBody&&(i=e.top-t.height),E[0].style.position="absolute",E[0].style.top=i+"px",r.addClass(C)},I=function(e,t){r.removeClass(C),e=e||c(r),t=t||c(E),$.appendDropdownToBody||(E[0].style.position="",E[0].style.top="")},A=function(){a(function(){if("up"===$.dropdownPosition)S();else{r.removeClass(C);var t=c(r),i=c(E),n=e[0].documentElement.scrollTop||e[0].body.scrollTop;t.top+t.height+i.height>n+e[0].documentElement.clientHeight?S(t,i):I(t,i)}E[0].style.opacity=1})},k=!1;s.calculateDropdownPos=function(){if($.open){if(E=angular.element(r).querySelectorAll(".ui-select-dropdown"),$.appendDropdownToBody&&0===E.length&&(E=M),0===E.length)return;if(""!==$.search||k||(E[0].style.opacity=0,k=!0),!c(E).height&&$.$animate&&$.$animate.on&&$.$animate.enabled(E)){var e=!0;$.$animate.on("enter",E,function(t,i){"close"===i&&e&&(A(),e=!1)})}else A()}else{if(null===E||0===E.length)return;E[0].style.opacity=0,E[0].style.position="",E[0].style.top="",r.removeClass(C)}},s.$watch("$select.open",function(){f()}),s.$on("$destroy",function(){$.appendDropdownToBody&&m()});var T=angular.element(t(r[0]));T&&T.on("scroll",function(){$.appendDropdownToBody&&$.open&&a(function(){$.close($.skipFocusser)})});var M=null,D=null,R=null;$.rePositionOnlyDropdown=function(){m(),f()}}}}}]),c.directive("uiSelectMatch",["uiSelectConfig",function(e){function t(e,t){return e[0].hasAttribute(t)?e.attr(t):e[0].hasAttribute("data-"+t)?e.attr("data-"+t):e[0].hasAttribute("x-"+t)?e.attr("x-"+t):void 0}return{restrict:"EA",require:"^uiSelect",replace:!0,transclude:!0,templateUrl:function(i){i.addClass("ui-select-match");var n=i.parent(),c=t(n,"theme")||e.theme,s=angular.isDefined(t(n,"multiple"));return c+(s?"/match-multiple.tpl.html":"/match.tpl.html")},link:function(t,i,n,c){function s(e){c.allowClear=!!angular.isDefined(e)&&(""===e||"true"===e.toLowerCase())}c.lockChoiceExpression=n.uiLockChoice,n.$observe("placeholder",function(t){c.placeholder=void 0!==t?t:e.placeholder}),n.$observe("allowClear",s),s(n.allowClear),c.multiple&&c.sizeSearchInput()}}}]),c.directive("uiSelectMultiple",["uiSelectMinErr","$timeout",function(t,n){return{restrict:"EA",require:["^uiSelect","^ngModel"],controller:["$scope","$timeout",function(e,t){var i,n=this,c=e.$select;angular.isUndefined(c.selected)&&(c.selected=[]),e.$evalAsync(function(){i=e.ngModel}),n.activeMatchIndex=-1,n.allChoicesActive=!1,n.updateModel=function(){i.$setViewValue(Date.now()),n.refreshComponent()},n.refreshComponent=function(){c.refreshItems&&c.refreshItems(),c.sizeSearchInput&&c.sizeSearchInput(),c.closeOnSelect||c.rePositionOnlyDropdown()},n.removeChoice=function(i){if(c.isLocked(null,i))return!1;var s=c.selected[i],l={};return l[c.parserResult.itemName]=s,c.selected.splice(i,1),n.activeMatchIndex=-1,c.sizeSearchInput(),t(function(){c.onRemoveCallback(e,{$item:s,$model:c.parserResult.modelMapper(e,l)})}),n.updateModel(),!0},n.removeAllChoices=function(){return c.selected=[],n.activeMatchIndex=-1,n.allChoicesActive=!1,c.sizeSearchInput(),n.updateModel(),!0},n.isActiveChoice=function(e){return n.allChoicesActive||n.activeMatchIndex===e},n.getPlaceholder=function(){if(!c.selected||!c.selected.length)return c.placeholder}}],controllerAs:"$selectMultiple",link:function(c,s,l,a){function r(e,t){var n=e.which;c.$apply(function(){var c=!1,s=i.isHorizontalMovement(n)||i.isMetaAndKey(e,i.A)||i.isMetaAndKey(e,i.X);s?c=u(e):t||(v.allChoicesActive=!1),c&&n!=i.TAB&&(e.preventDefault(),e.stopPropagation())})}function o(e){return angular.isNumber(e.selectionStart)?e.selectionEnd>e.selectionStart?e.selectionEnd:e.selectionStart:e.value.length}function u(e){function t(){return v.allChoicesActive?(v.removeAllChoices(),!1):!!~v.activeMatchIndex&&(v.removeChoice(v.activeMatchIndex),r)}function n(){switch(h){case i.LEFT:return v.allChoicesActive=!1,~v.activeMatchIndex?d:a;case i.RIGHT:return v.allChoicesActive=!1,~v.activeMatchIndex&&r!==a?u:(g.activate(),!1);case i.BACKSPACE:return v.allChoicesActive?(v.removeAllChoices(),!1):~v.activeMatchIndex?v.removeChoice(r)?d:r:a;case i.DELETE:return t();case i.X:if(e.metaKey)return t();break;case i.A:if(e.metaKey)return v.allChoicesActive=!0,!1}}var c=o(g.searchInput[0]),s=g.selected.length,l=0,a=s-1,r=v.activeMatchIndex,u=v.activeMatchIndex+1,d=v.activeMatchIndex-1,p=r,h=e.which;if(c>0||g.search.length&&h==i.RIGHT)return!1;g.close(null,!0),p=n(),g.selected.length&&p!==!1?v.activeMatchIndex=Math.min(a,Math.max(l,p)):v.activeMatchIndex=-1;var f=v.allChoicesActive||v.activeMatchIndex!==-1;if(g.copying&&f){if(g.copyInput[0].focus(),v.allChoicesActive&&g.selected){var m=g.copying(g.selected);g.copyInput.val(m)[0].select()}else if(v.activeMatchIndex>=0){var $=g.selected[v.activeMatchIndex];if($){var b=g.copying([$]);g.copyInput.val(b)[0].select()}}}else g.copying&&!f&&g.setFocus();return!0}function d(e){if(void 0===e||void 0===g.search)return!1;var t=e.filter(function(e){return void 0!==g.search.toUpperCase()&&void 0!==e&&e.toUpperCase()===g.search.toUpperCase()}).length>0;return t}function p(e,t){var i=-1;if(angular.isArray(e))for(var n=angular.copy(e),c=0;c=0;n--)t={},t[g.parserResult.itemName]=g.selected[n],e=g.parserResult.modelMapper(c,t),i.unshift(e);return i}),f.$formatters.unshift(function(e){var t,i=g.parserResult&&g.parserResult.source(c,{$select:{search:""}}),n={};if(!i)return e;var s=[],l=function(e,i){if(e&&e.length){for(var l=e.length-1;l>=0;l--){if(n[g.parserResult.itemName]=e[l],t=g.parserResult.modelMapper(c,n),g.parserResult.trackByExp){var a=/(\w*)\./.exec(g.parserResult.trackByExp),r=/\.([^\s]+)/.exec(g.parserResult.trackByExp);if(a&&a.length>0&&a[1]==g.parserResult.itemName&&r&&r.length>0&&t[r[1]]==i[r[1]])return s.unshift(e[l]),!0}if(angular.equals(t,i))return s.unshift(e[l]),!0}return!1}};if(!e)return s;for(var a=e.length-1;a>=0;a--)l(g.selected,e[a])||l(i,e[a])||s.unshift(e[a]);return s}),c.$watchCollection(function(){return f.$modelValue},function(e,t){t!=e&&(angular.isDefined(f.$modelValue)&&(f.$modelValue=null),v.refreshComponent())}),f.$render=function(){if(!angular.isArray(f.$viewValue)){if(!e(f.$viewValue))throw t("multiarr","Expected model value to be array but got '{0}'",f.$viewValue);f.$viewValue=[]}g.selected=f.$viewValue,v.refreshComponent(),c.$evalAsync()},c.$on("uis:select",function(e,t){if(!(g.selected.length>=g.limit)){g.selected.push(t);var i={};i[g.parserResult.itemName]=t,n(function(){g.onSelectCallback(c,{$item:t,$model:g.parserResult.modelMapper(c,i)})}),v.updateModel()}}),c.$on("uis:select-multiple",function(e,t){g.selected.length>=g.limit||(g.selected=g.selected.concat(t),v.updateModel())}),c.$on("uis:activate",function(){v.allChoicesActive=!1,v.activeMatchIndex=-1}),c.$watch("$select.disabled",function(e,t){t&&!e&&g.sizeSearchInput()}),g.searchInput.on("keydown",function(e){r(e,!1)}),g.copyInput.on("keydown",function(e){r(e,!0)}),g.searchInput.on("keyup",function(e){if(i.isVerticalMovement(e.which)||c.$evalAsync(function(){g.activeIndex=g.taggingLabel===!1?-1:0}),g.tagging.isActivated&&g.search.length>0){if(e.which===i.TAB||i.isControl(e)||i.isFunctionKey(e)||e.which===i.ESC||i.isVerticalMovement(e.which))return;if(g.activeIndex=g.taggingLabel===!1?-1:0,g.taggingLabel===!1)return;var t,n,s,l,a=angular.copy(g.items),r=angular.copy(g.items),o=!1,u=-1;if(void 0!==g.tagging.fct){if(s=g.$filter("filter")(a,{isTag:!0}),s.length>0&&(l=s[0]),a.length>0&&l&&(o=!0,a=a.slice(1,a.length),r=r.slice(1,r.length)),t=g.tagging.fct(g.search),r.some(function(e){return angular.equals(e,t)})||g.selected.some(function(e){return angular.equals(e,t)}))return void c.$evalAsync(function(){g.activeIndex=0,g.items=a});t&&(t.isTag=!0)}else{if(s=g.$filter("filter")(a,function(e){return e.match(g.taggingLabel)}),s.length>0&&(l=s[0]),n=a[0],void 0!==n&&a.length>0&&l&&(o=!0,a=a.slice(1,a.length),r=r.slice(1,r.length)),t=g.search+" "+g.taggingLabel,p(g.selected,g.search)>-1)return;if(d(r.concat(g.selected)))return void(o&&(a=r,c.$evalAsync(function(){g.activeIndex=0,g.items=a})));if(d(r))return void(o&&(g.items=r.slice(1,r.length)))}o&&(u=p(g.selected,t)),u>-1?a=a.slice(u+1,a.length-1):(a=[],t&&a.push(t),a=a.concat(r)),c.$evalAsync(function(){if(g.activeIndex=0,g.items=a,g.isGrouped){var e=t?a.slice(1):a;g.setItemsFn(e),t&&(g.items.unshift(t),g.groups.unshift({name:"",items:[t],tagging:!0}))}})}}),g.searchInput.on("blur",function(e){h(g.copyInput)}),g.copyInput.on("blur",function(e){h(g.searchInput)})}}}]),c.directive("uiSelectNoChoice",["uiSelectConfig",function(e){return{restrict:"EA",require:"^uiSelect",replace:!0,transclude:!0,templateUrl:function(t){t.addClass("ui-select-no-choice");var i=t.parent().attr("theme")||e.theme;return i+"/no-choice.tpl.html"}}}]),c.directive("uiSelectSingle",["$timeout","$compile",function(t,n){ +return{restrict:"EA",require:["^uiSelect","^ngModel"],link:function(c,s,l,a){var r=a[0],o=a[1];o.$parsers.unshift(function(t){if(e(t))return t;var i,n={};return n[r.parserResult.itemName]=t,i=r.parserResult.modelMapper(c,n)}),o.$formatters.unshift(function(t){if(e(t))return t;var i,n=r.parserResult&&r.parserResult.source(c,{$select:{search:""}}),s={};if(n){var l=function(e){return s[r.parserResult.itemName]=e,i=r.parserResult.modelMapper(c,s),i===t};if(r.selected&&l(r.selected))return r.selected;for(var a=n.length-1;a>=0;a--)if(l(n[a]))return n[a]}return t}),c.$watch("$select.selected",function(e){o.$viewValue!==e&&o.$setViewValue(e)}),o.$render=function(){r.selected=o.$viewValue},c.$on("uis:select",function(i,n){r.selected=n;var s={};s[r.parserResult.itemName]=n,t(function(){r.onSelectCallback(c,{$item:n,$model:e(n)?n:r.parserResult.modelMapper(c,s)})})}),c.$on("uis:close",function(e,i){t(function(){r.focusser.prop("disabled",!1),i||r.focusser[0].focus()},0,!1)}),c.$on("uis:activate",function(){u.prop("disabled",!0)});var u=angular.element("");n(u)(c),r.focusser=u,r.focusInput=u,s.parent().append(u),u.bind("focus",function(){c.$evalAsync(function(){r.focus=!0})}),u.bind("blur",function(){c.$evalAsync(function(){r.focus=!1})}),u.bind("keydown",function(e){return e.which===i.BACKSPACE&&r.backspaceReset!==!1?(e.preventDefault(),e.stopPropagation(),r.select(void 0),void c.$apply()):void(e.which===i.TAB||i.isControl(e)||i.isFunctionKey(e)||e.which===i.ESC||(e.which!=i.DOWN&&e.which!=i.UP&&e.which!=i.ENTER&&e.which!=i.SPACE||(e.preventDefault(),e.stopPropagation(),r.activate()),c.$digest()))}),u.bind("keyup input",function(e){e.which===i.TAB||i.isControl(e)||i.isFunctionKey(e)||e.which===i.ESC||e.which==i.ENTER||e.which===i.BACKSPACE||(r.activate(u.val()),u.val(""),c.$digest())})}}}]),c.directive("uiSelectSort",["$timeout","uiSelectConfig","uiSelectMinErr",function(e,t,i){return{require:["^^uiSelect","^ngModel"],link:function(t,n,c,s){if(null===t[c.uiSelectSort])throw i("sort","Expected a list to sort");var l=s[0],a=s[1],r=angular.extend({axis:"horizontal"},t.$eval(c.uiSelectSortOptions)),o=r.axis,u="dragging",d="dropping",p="dropping-before",h="dropping-after";t.$watch(function(){return l.sortable},function(e){e?n.attr("draggable",!0):n.removeAttr("draggable")}),n.on("dragstart",function(e){n.addClass(u),(e.dataTransfer||e.originalEvent.dataTransfer).setData("text",t.$index.toString())}),n.on("dragend",function(){v(u)});var g,f=function(e,t){this.splice(t,0,this.splice(e,1)[0])},v=function(e){angular.forEach(l.$element.querySelectorAll("."+e),function(t){angular.element(t).removeClass(e)})},m=function(e){e.preventDefault();var t="vertical"===o?e.offsetY||e.layerY||(e.originalEvent?e.originalEvent.offsetY:0):e.offsetX||e.layerX||(e.originalEvent?e.originalEvent.offsetX:0);t
  • '),e.put("bootstrap/match-multiple.tpl.html",' × '),e.put("bootstrap/match.tpl.html",'
    {{$select.placeholder}}
    '),e.put("bootstrap/no-choice.tpl.html",''),e.put("bootstrap/select-multiple.tpl.html",''),e.put("bootstrap/select.tpl.html",''),e.put("select2/choices.tpl.html",'
    '),e.put("select2/match-multiple.tpl.html",'
  • '),e.put("select2/match.tpl.html",'{{$select.placeholder}} '),e.put("select2/no-choice.tpl.html",''),e.put("select2/select-multiple.tpl.html",'
    '),e.put("select2/select.tpl.html",'
    '),e.put("selectize/choices.tpl.html",'
    '),e.put("selectize/match-multiple.tpl.html",'
    ×
    '),e.put("selectize/match.tpl.html",'
    {{$select.placeholder}}
    '),e.put("selectize/no-choice.tpl.html",'
    '),e.put("selectize/select-multiple.tpl.html",'
    '),e.put("selectize/select.tpl.html",'
    ')}]); //# sourceMappingURL=select.min.js.map diff --git a/dist/select.min.js.map b/dist/select.min.js.map index 3a8bc417e..efb6950c8 100644 --- a/dist/select.min.js.map +++ b/dist/select.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["select.js","select_without_templates.js","templates.js"],"names":["isNil","value","angular","isUndefined","getScrollParent","node","document","body","scrollHeight","clientHeight","parentNode","KEY","TAB","ENTER","ESC","SPACE","LEFT","UP","RIGHT","DOWN","SHIFT","CTRL","ALT","PAGE_UP","PAGE_DOWN","HOME","END","BACKSPACE","DELETE","COMMAND","A","X","MAP","91","8","9","13","16","17","18","19","20","27","32","33","34","35","36","37","38","39","40","43","44","45","46","48","49","50","51","52","53","54","55","56","57","59","61","65","66","67","68","69","70","71","72","73","74","75","76","77","78","79","80","81","82","83","84","85","86","87","88","89","90","96","97","98","99","100","101","102","103","104","105","106","107","109","110","111","112","113","114","115","116","117","118","119","120","121","122","123","144","145","186","187","188","189","190","191","192","219","220","221","222","isControl","e","k","which","metaKey","ctrlKey","altKey","isMetaAndKey","key","isFunctionKey","isVerticalMovement","indexOf","isHorizontalMovement","toSeparator","sep","undefined","element","prototype","querySelectorAll","selector","this","closest","elem","matchesSelector","matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","bind","parentElement","latestId","uis","module","constant","theme","searchEnabled","sortable","placeholder","refreshDelay","closeOnSelect","skipFocusser","dropdownPosition","removeSelected","resetSearchInput","generateId","appendToBody","appendDropdownToBody","spinnerEnabled","spinnerClass","backspaceReset","service","minErr","$$minErr","error","apply","arguments","message","replace","RegExp","Error","directive","link","scope","attrs","ctrl","transclude","clone","append","filter","escapeRegexp","queryToEscape","matchItem","query","factory","$document","$window","boundingClientRect","getBoundingClientRect","width","prop","height","top","pageYOffset","documentElement","scrollTop","left","pageXOffset","scrollLeft","uiSelectConfig","RepeatParser","uiSelectMinErr","$compile","restrict","require","templateUrl","tElement","addClass","parent","attr","compile","tAttrs","repeat","groupByExp","groupBy","groupFilterExp","groupFilter","groups","length","getGroupNgRepeatExpression","parserResult","parse","choices","repeatExpression","rowsInner","clickTarget","addEventListener","itemName","$select","parseRepeatAttr","disableChoiceExpression","uiDisableChoice","onHighlightCallback","onHighlight","minimumInputLength","parseInt","position","toLowerCase","uiSelectChoices","$watch","newValue","open","multiple","activate","activeIndex","tagging","isActivated","search","refresh","items","$observe","$eval","removeAttr","controller","$scope","$element","$timeout","$filter","$$uisDebounce","$parse","$injector","_findIndex","collection","predicate","thisArg","findIndex","list","Object","i","call","_resetSearchInput","EMPTY_SEARCH","selected","item","equals","_groupsFilter","groupNames","j","result","name","push","_updateItemDisabled","isDisabled","disabledItemIndex","disabledItems","splice","_isItemDisabled","_initaliseLockedChoices","doInitalise","_updateItemLocked","isLocked","lockedItemIndex","lockedItems","_isItemlocked","itemScope","itemIndex","lockChoiceExpression","_handleDropDownSelection","processed","idx","minActiveIndex","idxmin","select","preventDefault","stopPropagation","close","_replaceTaggingTokens","token","tokenRegex","taggingTokenEscape","chunks","split","pop","join","trim","_replaceAllTaggingTokens","taggingTokens","tokens","_ensureHighlightVisible","container","highlighted","posY","offsetTop","offsetHeight","isGrouped","paste","refreshing","tagOnBlur","focus","disabled","focusser","fct","copying","clickTriggeredSelect","$animate","get","err","searchInput","isEmpty","initSearchValue","avoidReset","$broadcast","taggingLabel","on","enabled","animateHandler","phase","off","focusSearchInput","findGroupByName","group","repeatAttr","updateGroups","groupFn","forEach","groupName","isFunction","groupFilterFn","isArray","concat","setPlainItems","setItemsFn","itemProperty","originalSource","source","createArrayFromObject","origSrc","$uisSource","keys","map","v","keyName","filters","newVal","oldVal","refreshItems","data","selectedItems","filteredItems","every","selectedItem","calculateDropdownPos","$watchCollection","isDefined","ngModel","$modelValue","_refreshDelayPromise","refreshAttr","cancel","refreshPromise","then","isActive","divider","_isItemSelected","selection","isTag","$event","type","setFocus","forceClearSearchInput","$setTouched","focusInput","clear","toggle","sizeWatch","updaterScheduled","sizeSearchInput","input","minInputWidth","calculateContainerWidth","clientWidth","offsetParent","updateIfVisible","containerWidth","inputWidth","offsetLeft","css","$$postDigest","noop","$apply","tagged","keyCode","endsWith","triggerHandler","newItem","window","clipboardData","getData","originalEvent","pastedItems","separator","oldsearch","relatedTarget","explicitOriginalTarget","activeElement","contains","onResize","$on","find","generatedId","uisOffset","controllerAs","match","exec","ngClass","combined","inputId","id","ctrls","transcludeFn","onDocumentClick","jQuery","target","focusableControls","targetController","tagName","$digest","positionDropdown","offset","style","after","originalWidth","resetDropdown","replaceWith","positionOnlyDropdown","appendOnlyDropdown","resetOnlyDropdown","appendedDropdown","dropdownWrapper","remove","baseTitle","title","focusserTitle","focusserId","onSelectCallback","onSelect","onRemoveCallback","onRemove","choiceGrouped","tabindex","limit","taggingEval","autofocus","focusOn","transcluded","transcludedMatch","transcludedChoices","transcludedNoChoice","isOpen","dropdown","directionUpClassName","setDropdownPosUp","offsetDropdown","setDropdownPosDown","removeClass","calculateDropdownPosAfterAnimation","opacity","opened","needsCalculated","scrollParent","rePositionOnlyDropdown","getAttribute","attribute","hasAttribute","multi","setAllowClear","allow","allowClear","uiLockChoice","$evalAsync","activeMatchIndex","allChoicesActive","updateModel","$setViewValue","Date","now","refreshComponent","removeChoice","index","removedChoice","locals","$item","$model","modelMapper","removeAllChoices","isActiveChoice","getPlaceholder","_processKeydown","isCopyInput","isMatchSelectionKey","_handleMatchSelection","$selectMultiple","_getCaretPosition","el","isNumber","selectionStart","selectionEnd","deleteActiveMatch","curr","getNewActiveMatchIndex","prev","last","next","caretPosition","first","newIndex","Math","min","max","tokensAreSelected","copyInput","string","val","activeToken","singleString","_findCaseInsensitiveDupe","arr","hasDupe","origItem","toUpperCase","_findApproxDupe","haystack","needle","dupeIndex","tempArr","copy","mockObj","isObject","_resetActiveMatch","otherInput","$isEmpty","$parsers","unshift","resultMultiple","$formatters","inputValue","checkFnMultiple","p","trackByExp","propsItemNameMatches","oldValue","$render","$viewValue","event","tagItems","tagItem","stashArr","hasTag","slice","some","itemsWithoutTag","checkFnSingle","d","uiSelectSort","$ngModel","options","extend","axis","uiSelectSortOptions","draggingClassName","droppingClassName","droppingBeforeClassName","droppingAfterClassName","dataTransfer","setData","$index","toString","dropTimeout","move","from","to","className","dragOverHandler","offsetY","layerY","offsetX","layerX","dropHandler","droppedItemIndex","_dropHandler","theList","itemToMove","hasClass","$emit","array","callback","debounceTime","timeoutPromise","self","args","Array","onOpenCloseCallback","uisOpenClose","previousState","expression","filterMatch","grouped","run","$templateCache","put"],"mappings":";;;;;;CAQC,WACD,YCoDA,SAAAA,GAAAC,GACA,MAAAC,SAAAC,YAAAF,IAAA,OAAAA,EAGA,QAAAG,GAAAC,GACA,GAAAA,GAAAC,SAAAC,OAAAF,EAIA,MAAAA,GAAAG,aAAAH,EAAAI,aACAJ,EAEAD,EAAAC,EAAAK,YAzEA,GAAAC,IACAC,IAAA,EACAC,MAAA,GACAC,IAAA,GACAC,MAAA,GACAC,KAAA,GACAC,GAAA,GACAC,MAAA,GACAC,KAAA,GACAC,MAAA,GACAC,KAAA,GACAC,IAAA,GACAC,QAAA,GACAC,UAAA,GACAC,KAAA,GACAC,IAAA,GACAC,UAAA,EACAC,OAAA,GACAC,QAAA,GACAC,EAAA,GACAC,EAAA,GAEAC,KAAAC,GAAA,UAAAC,EAAA,YAAAC,EAAA,MAAAC,GAAA,QAAAC,GAAA,QAAAC,GAAA,OAAAC,GAAA,MAAAC,GAAA,aAAAC,GAAA,WAAAC,GAAA,MAAAC,GAAA,QAAAC,GAAA,UAAAC,GAAA,YAAAC,GAAA,MAAAC,GAAA,OAAAC,GAAA,OAAAC,GAAA,KAAAC,GAAA,QAAAC,GAAA,OAAAC,GAAA,IAAAC,GAAA,cAAAC,GAAA,SAAAC,GAAA,SAAAC,GAAA,IAAAC,GAAA,IAAAC,GAAA,IAAAC,GAAA,IAAAC,GAAA,IAAAC,GAAA,IAAAC,GAAA,IAAAC,GAAA,IAAAC,GAAA,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AA,wzBACAD,EAAAC,IAAA,2BAAA,i0BACAD,EAAAC,IAAA,kCAAA,8fACAD,EAAAC,IAAA,yBAAA,6hBACAD,EAAAC,IAAA,6BAAA,2KACAD,EAAAC,IAAA,mCAAA,wsCACAD,EAAAC,IAAA,0BAAA","file":"select.min.js","sourcesContent":["/*!\n * ui-select\n * http://github.com/angular-ui/ui-select\n * Version: 0.19.8 - 2017-12-20T18:40:38.364Z\n * License: MIT\n */\n\n\n(function () { \n\"use strict\";\nvar KEY = {\n TAB: 9,\n ENTER: 13,\n ESC: 27,\n SPACE: 32,\n LEFT: 37,\n UP: 38,\n RIGHT: 39,\n DOWN: 40,\n SHIFT: 16,\n CTRL: 17,\n ALT: 18,\n PAGE_UP: 33,\n PAGE_DOWN: 34,\n HOME: 36,\n END: 35,\n BACKSPACE: 8,\n DELETE: 46,\n COMMAND: 91,\n A: 65,\n X: 88,\n\n MAP: { 91 : \"COMMAND\", 8 : \"BACKSPACE\" , 9 : \"TAB\" , 13 : \"ENTER\" , 16 : \"SHIFT\" , 17 : \"CTRL\" , 18 : \"ALT\" , 19 : \"PAUSEBREAK\" , 20 : \"CAPSLOCK\" , 27 : \"ESC\" , 32 : \"SPACE\" , 33 : \"PAGE_UP\", 34 : \"PAGE_DOWN\" , 35 : \"END\" , 36 : \"HOME\" , 37 : \"LEFT\" , 38 : \"UP\" , 39 : \"RIGHT\" , 40 : \"DOWN\" , 43 : \"+\" , 44 : \"PRINTSCREEN\" , 45 : \"INSERT\" , 46 : \"DELETE\", 48 : \"0\" , 49 : \"1\" , 50 : \"2\" , 51 : \"3\" , 52 : \"4\" , 53 : \"5\" , 54 : \"6\" , 55 : \"7\" , 56 : \"8\" , 57 : \"9\" , 59 : \";\", 61 : \"=\" , 65 : \"A\" , 66 : \"B\" , 67 : \"C\" , 68 : \"D\" , 69 : \"E\" , 70 : \"F\" , 71 : \"G\" , 72 : \"H\" , 73 : \"I\" , 74 : \"J\" , 75 : \"K\" , 76 : \"L\", 77 : \"M\" , 78 : \"N\" , 79 : \"O\" , 80 : \"P\" , 81 : \"Q\" , 82 : \"R\" , 83 : \"S\" , 84 : \"T\" , 85 : \"U\" , 86 : \"V\" , 87 : \"W\" , 88 : \"X\" , 89 : \"Y\" , 90 : \"Z\", 96 : \"0\" , 97 : \"1\" , 98 : \"2\" , 99 : \"3\" , 100 : \"4\" , 101 : \"5\" , 102 : \"6\" , 103 : \"7\" , 104 : \"8\" , 105 : \"9\", 106 : \"*\" , 107 : \"+\" , 109 : \"-\" , 110 : \".\" , 111 : \"/\", 112 : \"F1\" , 113 : \"F2\" , 114 : \"F3\" , 115 : \"F4\" , 116 : \"F5\" , 117 : \"F6\" , 118 : \"F7\" , 119 : \"F8\" , 120 : \"F9\" , 121 : \"F10\" , 122 : \"F11\" , 123 : \"F12\", 144 : \"NUMLOCK\" , 145 : \"SCROLLLOCK\" , 186 : \";\" , 187 : \"=\" , 188 : \",\" , 189 : \"-\" , 190 : \".\" , 191 : \"/\" , 192 : \"`\" , 219 : \"[\" , 220 : \"\\\\\" , 221 : \"]\" , 222 : \"'\"\n },\n\n isControl: function (e) {\n var k = e.which;\n switch (k) {\n case KEY.COMMAND:\n case KEY.SHIFT:\n case KEY.CTRL:\n case KEY.ALT:\n return true;\n }\n\n if (e.metaKey || e.ctrlKey || e.altKey) return true;\n\n return false;\n },\n isMetaAndKey: function (e, key) {\n return e.metaKey && e.which === key;\n },\n isFunctionKey: function (k) {\n k = k.which ? k.which : k;\n return k >= 112 && k <= 123;\n },\n isVerticalMovement: function (k){\n return ~[KEY.UP, KEY.DOWN].indexOf(k);\n },\n isHorizontalMovement: function (k){\n return ~[KEY.LEFT,KEY.RIGHT,KEY.BACKSPACE,KEY.DELETE].indexOf(k);\n },\n toSeparator: function (k) {\n var sep = {ENTER:\"\\n\",TAB:\"\\t\",SPACE:\" \"}[k];\n if (sep) return sep;\n // return undefined for special keys other than enter, tab or space.\n // no way to use them to cut strings.\n return KEY[k] ? undefined : k;\n }\n };\n\nfunction isNil(value) {\n return angular.isUndefined(value) || value === null;\n}\n\nfunction getScrollParent(node) {\n if (!node || document.body === node) {\n return undefined;\n }\n\n if (node.scrollHeight > node.clientHeight) {\n return node;\n } else {\n return getScrollParent(node.parentNode);\n }\n}\n\n/**\n * Add querySelectorAll() to jqLite.\n *\n * jqLite find() is limited to lookups by tag name.\n * TODO This will change with future versions of AngularJS, to be removed when this happens\n *\n * See jqLite.find - why not use querySelectorAll? https://github.com/angular/angular.js/issues/3586\n * See feat(jqLite): use querySelectorAll instead of getElementsByTagName in jqLite.find https://github.com/angular/angular.js/pull/3598\n */\nif (angular.element.prototype.querySelectorAll === undefined) {\n angular.element.prototype.querySelectorAll = function(selector) {\n return angular.element(this[0].querySelectorAll(selector));\n };\n}\n\n/**\n * Add closest() to jqLite.\n */\nif (angular.element.prototype.closest === undefined) {\n angular.element.prototype.closest = function( selector) {\n var elem = this[0];\n var matchesSelector = elem.matches || elem.webkitMatchesSelector || elem.mozMatchesSelector || elem.msMatchesSelector;\n\n while (elem) {\n if (matchesSelector.bind(elem)(selector)) {\n return elem;\n } else {\n elem = elem.parentElement;\n }\n }\n return false;\n };\n}\n\nvar latestId = 0;\n\nvar uis = angular.module('ui.select', [])\n\n.constant('uiSelectConfig', {\n theme: 'bootstrap',\n searchEnabled: true,\n sortable: false,\n placeholder: '', // Empty by default, like HTML tag \");\n $compile(focusser)(scope);\n $select.focusser = focusser;\n\n //Input that will handle focus\n $select.focusInput = focusser;\n\n element.parent().append(focusser);\n focusser.bind(\"focus\", function(){\n scope.$evalAsync(function(){\n $select.focus = true;\n });\n });\n focusser.bind(\"blur\", function(){\n scope.$evalAsync(function(){\n $select.focus = false;\n });\n });\n focusser.bind(\"keydown\", function(e){\n\n if (e.which === KEY.BACKSPACE && $select.backspaceReset !== false) {\n e.preventDefault();\n e.stopPropagation();\n $select.select(undefined);\n scope.$apply();\n return;\n }\n\n if (e.which === KEY.TAB || KEY.isControl(e) || KEY.isFunctionKey(e) || e.which === KEY.ESC) {\n return;\n }\n\n if (e.which == KEY.DOWN || e.which == KEY.UP || e.which == KEY.ENTER || e.which == KEY.SPACE){\n e.preventDefault();\n e.stopPropagation();\n $select.activate();\n }\n\n scope.$digest();\n });\n\n focusser.bind(\"keyup input\", function(e){\n\n if (e.which === KEY.TAB || KEY.isControl(e) || KEY.isFunctionKey(e) || e.which === KEY.ESC || e.which == KEY.ENTER || e.which === KEY.BACKSPACE) {\n return;\n }\n\n $select.activate(focusser.val()); //User pressed some regular key, so we pass it to the search input\n focusser.val('');\n scope.$digest();\n\n });\n\n\n }\n };\n}]);\n\n// Make multiple matches sortable\nuis.directive('uiSelectSort', ['$timeout', 'uiSelectConfig', 'uiSelectMinErr', function($timeout, uiSelectConfig, uiSelectMinErr) {\n return {\n require: ['^^uiSelect', '^ngModel'],\n link: function(scope, element, attrs, ctrls) {\n if (scope[attrs.uiSelectSort] === null) {\n throw uiSelectMinErr('sort', 'Expected a list to sort');\n }\n\n var $select = ctrls[0];\n var $ngModel = ctrls[1];\n\n var options = angular.extend({\n axis: 'horizontal'\n },\n scope.$eval(attrs.uiSelectSortOptions));\n\n var axis = options.axis;\n var draggingClassName = 'dragging';\n var droppingClassName = 'dropping';\n var droppingBeforeClassName = 'dropping-before';\n var droppingAfterClassName = 'dropping-after';\n\n scope.$watch(function(){\n return $select.sortable;\n }, function(newValue){\n if (newValue) {\n element.attr('draggable', true);\n } else {\n element.removeAttr('draggable');\n }\n });\n\n element.on('dragstart', function(event) {\n element.addClass(draggingClassName);\n\n (event.dataTransfer || event.originalEvent.dataTransfer).setData('text', scope.$index.toString());\n });\n\n element.on('dragend', function() {\n removeClass(draggingClassName);\n });\n\n var move = function(from, to) {\n /*jshint validthis: true */\n this.splice(to, 0, this.splice(from, 1)[0]);\n };\n\n var removeClass = function(className) {\n angular.forEach($select.$element.querySelectorAll('.' + className), function(el){\n angular.element(el).removeClass(className);\n });\n };\n\n var dragOverHandler = function(event) {\n event.preventDefault();\n\n var offset = axis === 'vertical' ? event.offsetY || event.layerY || (event.originalEvent ? event.originalEvent.offsetY : 0) : event.offsetX || event.layerX || (event.originalEvent ? event.originalEvent.offsetX : 0);\n\n if (offset < (this[axis === 'vertical' ? 'offsetHeight' : 'offsetWidth'] / 2)) {\n removeClass(droppingAfterClassName);\n element.addClass(droppingBeforeClassName);\n\n } else {\n removeClass(droppingBeforeClassName);\n element.addClass(droppingAfterClassName);\n }\n };\n\n var dropTimeout;\n\n var dropHandler = function(event) {\n event.preventDefault();\n\n var droppedItemIndex = parseInt((event.dataTransfer || event.originalEvent.dataTransfer).getData('text'), 10);\n\n // prevent event firing multiple times in firefox\n $timeout.cancel(dropTimeout);\n dropTimeout = $timeout(function() {\n _dropHandler(droppedItemIndex);\n }, 20);\n };\n\n var _dropHandler = function(droppedItemIndex) {\n var theList = scope.$eval(attrs.uiSelectSort);\n var itemToMove = theList[droppedItemIndex];\n var newIndex = null;\n\n if (element.hasClass(droppingBeforeClassName)) {\n if (droppedItemIndex < scope.$index) {\n newIndex = scope.$index - 1;\n } else {\n newIndex = scope.$index;\n }\n } else {\n if (droppedItemIndex < scope.$index) {\n newIndex = scope.$index;\n } else {\n newIndex = scope.$index + 1;\n }\n }\n\n move.apply(theList, [droppedItemIndex, newIndex]);\n\n $ngModel.$setViewValue(Date.now());\n\n scope.$apply(function() {\n scope.$emit('uiSelectSort:change', {\n array: theList,\n item: itemToMove,\n from: droppedItemIndex,\n to: newIndex\n });\n });\n\n removeClass(droppingClassName);\n removeClass(droppingBeforeClassName);\n removeClass(droppingAfterClassName);\n\n element.off('drop', dropHandler);\n };\n\n element.on('dragenter', function() {\n if (element.hasClass(draggingClassName)) {\n return;\n }\n\n element.addClass(droppingClassName);\n\n element.on('dragover', dragOverHandler);\n element.on('drop', dropHandler);\n });\n\n element.on('dragleave', function(event) {\n if (event.target != element) {\n return;\n }\n\n removeClass(droppingClassName);\n removeClass(droppingBeforeClassName);\n removeClass(droppingAfterClassName);\n\n element.off('dragover', dragOverHandler);\n element.off('drop', dropHandler);\n });\n }\n };\n}]);\n\n/**\n * Debounces functions\n *\n * Taken from UI Bootstrap $$debounce source code\n * See https://github.com/angular-ui/bootstrap/blob/master/src/debounce/debounce.js\n *\n */\nuis.factory('$$uisDebounce', ['$timeout', function($timeout) {\n return function(callback, debounceTime) {\n var timeoutPromise;\n\n return function() {\n var self = this;\n var args = Array.prototype.slice.call(arguments);\n if (timeoutPromise) {\n $timeout.cancel(timeoutPromise);\n }\n\n timeoutPromise = $timeout(function() {\n callback.apply(self, args);\n }, debounceTime);\n };\n };\n}]);\n\nuis.directive('uisOpenClose', ['$parse', '$timeout', function ($parse, $timeout) {\n return {\n restrict: 'A',\n require: 'uiSelect',\n link: function (scope, element, attrs, $select) {\n $select.onOpenCloseCallback = $parse(attrs.uisOpenClose);\n\n scope.$watch('$select.open', function (isOpen, previousState) {\n if (isOpen !== previousState) {\n $timeout(function () {\n $select.onOpenCloseCallback(scope, {\n isOpen: isOpen\n });\n });\n }\n });\n }\n };\n}]);\n\n/**\n * Parses \"repeat\" attribute.\n *\n * Taken from AngularJS ngRepeat source code\n * See https://github.com/angular/angular.js/blob/v1.2.15/src/ng/directive/ngRepeat.js#L211\n *\n * Original discussion about parsing \"repeat\" attribute instead of fully relying on ng-repeat:\n * https://github.com/angular-ui/ui-select/commit/5dd63ad#commitcomment-5504697\n */\n\nuis.service('uisRepeatParser', ['uiSelectMinErr','$parse', function(uiSelectMinErr, $parse) {\n var self = this;\n\n /**\n * Example:\n * expression = \"address in addresses | filter: {street: $select.search} track by $index\"\n * itemName = \"address\",\n * source = \"addresses | filter: {street: $select.search}\",\n * trackByExp = \"$index\",\n */\n self.parse = function(expression) {\n\n\n var match;\n //var isObjectCollection = /\\(\\s*([\\$\\w][\\$\\w]*)\\s*,\\s*([\\$\\w][\\$\\w]*)\\s*\\)/.test(expression);\n // If an array is used as collection\n\n // if (isObjectCollection){\n // 000000000000000000000000000000111111111000000000000000222222222222220033333333333333333333330000444444444444444444000000000000000055555555555000000000000000000000066666666600000000\n match = expression.match(/^\\s*(?:([\\s\\S]+?)\\s+as\\s+)?(?:([\\$\\w][\\$\\w]*)|(?:\\(\\s*([\\$\\w][\\$\\w]*)\\s*,\\s*([\\$\\w][\\$\\w]*)\\s*\\)))\\s+in\\s+(\\s*[\\s\\S]+?)?(?:\\s+track\\s+by\\s+([\\s\\S]+?))?\\s*$/);\n\n // 1 Alias\n // 2 Item\n // 3 Key on (key,value)\n // 4 Value on (key,value)\n // 5 Source expression (including filters)\n // 6 Track by\n\n if (!match) {\n throw uiSelectMinErr('iexp', \"Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.\",\n expression);\n }\n \n var source = match[5], \n filters = '';\n\n // When using (key,value) ui-select requires filters to be extracted, since the object\n // is converted to an array for $select.items \n // (in which case the filters need to be reapplied)\n if (match[3]) {\n // Remove any enclosing parenthesis\n source = match[5].replace(/(^\\()|(\\)$)/g, '');\n // match all after | but not after ||\n var filterMatch = match[5].match(/^\\s*(?:[\\s\\S]+?)(?:[^\\|]|\\|\\|)+([\\s\\S]*)\\s*$/);\n if(filterMatch && filterMatch[1].trim()) {\n filters = filterMatch[1];\n source = source.replace(filters, '');\n } \n }\n\n return {\n itemName: match[4] || match[2], // (lhs) Left-hand side,\n keyName: match[3], //for (key, value) syntax\n source: $parse(source),\n filters: filters,\n trackByExp: match[6],\n modelMapper: $parse(match[1] || match[4] || match[2]),\n repeatExpression: function (grouped) {\n var expression = this.itemName + ' in ' + (grouped ? '$group.items' : '$select.items');\n if (this.trackByExp) {\n expression += ' track by ' + this.trackByExp;\n }\n return expression;\n } \n };\n\n };\n\n self.getGroupNgRepeatExpression = function() {\n return '$group in $select.groups track by $group.name';\n };\n\n}]);\n\n}());\nangular.module(\"ui.select\").run([\"$templateCache\", function($templateCache) {$templateCache.put(\"bootstrap/choices.tpl.html\",\"
      0\\\">
    • 0\\\">
    \");\n$templateCache.put(\"bootstrap/match-multiple.tpl.html\",\" × \");\n$templateCache.put(\"bootstrap/match.tpl.html\",\"
    {{$select.placeholder}}
    \");\n$templateCache.put(\"bootstrap/no-choice.tpl.html\",\"
    \");\n$templateCache.put(\"bootstrap/select-multiple.tpl.html\",\"
    \");\n$templateCache.put(\"bootstrap/select.tpl.html\",\"
    \");\n$templateCache.put(\"selectize/choices.tpl.html\",\"
    \");\n$templateCache.put(\"selectize/match-multiple.tpl.html\",\"
    ×
    \");\n$templateCache.put(\"selectize/match.tpl.html\",\"
    {{$select.placeholder}}
    \");\n$templateCache.put(\"selectize/no-choice.tpl.html\",\"
    \");\n$templateCache.put(\"selectize/select-multiple.tpl.html\",\"
    \");\n$templateCache.put(\"selectize/select.tpl.html\",\"
    \");\n$templateCache.put(\"select2/choices.tpl.html\",\"
    \");\n$templateCache.put(\"select2/match-multiple.tpl.html\",\"
  • \");\n$templateCache.put(\"select2/match.tpl.html\",\"{{$select.placeholder}} \");\n$templateCache.put(\"select2/no-choice.tpl.html\",\"
    \");\n$templateCache.put(\"select2/select-multiple.tpl.html\",\"
    \");\n$templateCache.put(\"select2/select.tpl.html\",\"
    \");}]);",null,null]} \ No newline at end of file +{"version":3,"sources":["select.js","select_without_templates.js","templates.js"],"names":["isNil","value","angular","isUndefined","getScrollParent","node","document","body","scrollHeight","clientHeight","parentNode","KEY","TAB","ENTER","ESC","SPACE","LEFT","UP","RIGHT","DOWN","SHIFT","CTRL","ALT","PAGE_UP","PAGE_DOWN","HOME","END","BACKSPACE","DELETE","COMMAND","A","X","MAP","91","8","9","13","16","17","18","19","20","27","32","33","34","35","36","37","38","39","40","43","44","45","46","48","49","50","51","52","53","54","55","56","57","59","61","65","66","67","68","69","70","71","72","73","74","75","76","77","78","79","80","81","82","83","84","85","86","87","88","89","90","96","97","98","99","100","101","102","103","104","105","106","107","109","110","111","112","113","114","115","116","117","118","119","120","121","122","123","144","145","186","187","188","189","190","191","192","219","220","221","222","isControl","e","k","which","metaKey","ctrlKey","altKey","isMetaAndKey","key","isFunctionKey","isVerticalMovement","indexOf","isHorizontalMovement","toSeparator","sep","undefined","element","prototype","querySelectorAll","selector","this","closest","elem","matchesSelector","matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","bind","parentElement","latestId","uis","module","constant","theme","searchEnabled","sortable","placeholder","refreshDelay","closeOnSelect","skipFocusser","dropdownPosition","removeSelected","resetSearchInput","generateId","appendToBody","appendDropdownToBody","spinnerEnabled","spinnerClass","backspaceReset","trim","service","minErr","$$minErr","error","apply","arguments","message","replace","RegExp","Error","directive","link","scope","attrs","ctrl","transclude","clone","append","filter","escapeRegexp","queryToEscape","matchItem","query","factory","$document","$window","boundingClientRect","getBoundingClientRect","width","prop","height","top","pageYOffset","documentElement","scrollTop","left","pageXOffset","scrollLeft","uiSelectConfig","RepeatParser","uiSelectMinErr","$compile","restrict","require","templateUrl","tElement","addClass","parent","attr","compile","tAttrs","repeat","groupByExp","groupBy","groupFilterExp","groupFilter","groups","length","getGroupNgRepeatExpression","parserResult","parse","choices","repeatExpression","rowsInner","clickTarget","addEventListener","itemName","$select","parseRepeatAttr","disableChoiceExpression","uiDisableChoice","onHighlightCallback","onHighlight","minimumInputLength","parseInt","position","toLowerCase","uiSelectChoices","$watch","newValue","open","multiple","activate","activeIndex","tagging","isActivated","search","refresh","items","$observe","$eval","removeAttr","controller","$scope","$element","$timeout","$filter","$$uisDebounce","$parse","$injector","_findIndex","collection","predicate","thisArg","findIndex","list","Object","i","call","_resetSearchInput","EMPTY_SEARCH","selected","item","equals","_groupsFilter","groupNames","j","result","name","push","_updateItemDisabled","isDisabled","disabledItemIndex","disabledItems","splice","_isItemDisabled","_initaliseLockedChoices","doInitalise","_updateItemLocked","isLocked","lockedItemIndex","lockedItems","_isItemlocked","itemScope","itemIndex","lockChoiceExpression","_handleDropDownSelection","processed","idx","minActiveIndex","idxmin","select","preventDefault","stopPropagation","close","_replaceTaggingTokens","token","tokenRegex","taggingTokenEscape","chunks","split","pop","join","_replaceAllTaggingTokens","taggingTokens","tokens","_ensureHighlightVisible","container","highlighted","posY","offsetTop","offsetHeight","isGrouped","paste","refreshing","tagOnBlur","focus","disabled","focusser","fct","copying","clickTriggeredSelect","$animate","get","err","searchInput","isEmpty","initSearchValue","avoidReset","$broadcast","taggingLabel","on","enabled","animateHandler","phase","off","focusSearchInput","findGroupByName","group","repeatAttr","updateGroups","groupFn","forEach","groupName","isFunction","groupFilterFn","isArray","concat","setPlainItems","setItemsFn","itemProperty","originalSource","source","createArrayFromObject","origSrc","$uisSource","keys","map","v","keyName","filters","newVal","oldVal","refreshItems","data","selectedItems","filteredItems","every","selectedItem","calculateDropdownPos","$watchCollection","isDefined","ngModel","$modelValue","_refreshDelayPromise","refreshAttr","cancel","refreshPromise","then","isActive","divider","_isItemSelected","selection","isTag","$event","type","setFocus","forceClearSearchInput","$setTouched","focusInput","clear","toggle","sizeWatch","updaterScheduled","sizeSearchInput","input","minInputWidth","calculateContainerWidth","clientWidth","offsetParent","updateIfVisible","containerWidth","inputWidth","offsetLeft","css","$$postDigest","noop","$apply","tagged","keyCode","endsWith","triggerHandler","newItem","window","clipboardData","getData","originalEvent","pastedItems","separator","oldsearch","relatedTarget","explicitOriginalTarget","activeElement","contains","onResize","$on","find","generatedId","uisOffset","controllerAs","match","exec","ngClass","combined","inputId","id","ctrls","transcludeFn","onDocumentClick","jQuery","target","focusableControls","targetController","tagName","$digest","positionDropdown","offset","style","after","originalWidth","resetDropdown","replaceWith","positionOnlyDropdown","appendOnlyDropdown","resetOnlyDropdown","appendedDropdown","dropdownWrapper","remove","baseTitle","title","focusserTitle","focusserId","onSelectCallback","onSelect","onRemoveCallback","onRemove","choiceGrouped","tabindex","limit","taggingEval","autofocus","focusOn","transcluded","transcludedMatch","transcludedChoices","transcludedNoChoice","isOpen","dropdown","directionUpClassName","setDropdownPosUp","offsetDropdown","setDropdownPosDown","removeClass","calculateDropdownPosAfterAnimation","opacity","opened","needsCalculated","scrollParent","rePositionOnlyDropdown","getAttribute","attribute","hasAttribute","multi","setAllowClear","allow","allowClear","uiLockChoice","$evalAsync","activeMatchIndex","allChoicesActive","updateModel","$setViewValue","Date","now","refreshComponent","removeChoice","index","removedChoice","locals","$item","$model","modelMapper","removeAllChoices","isActiveChoice","getPlaceholder","_processKeydown","isCopyInput","isMatchSelectionKey","_handleMatchSelection","$selectMultiple","_getCaretPosition","el","isNumber","selectionStart","selectionEnd","deleteActiveMatch","curr","getNewActiveMatchIndex","prev","last","next","caretPosition","first","newIndex","Math","min","max","tokensAreSelected","copyInput","string","val","activeToken","singleString","_findCaseInsensitiveDupe","arr","hasDupe","origItem","toUpperCase","_findApproxDupe","haystack","needle","dupeIndex","tempArr","copy","mockObj","isObject","_resetActiveMatch","otherInput","$isEmpty","$parsers","unshift","resultMultiple","$formatters","inputValue","checkFnMultiple","p","trackByExp","propsItemNameMatches","oldValue","$render","$viewValue","event","tagItems","tagItem","stashArr","hasTag","slice","some","itemsWithoutTag","checkFnSingle","d","uiSelectSort","$ngModel","options","extend","axis","uiSelectSortOptions","draggingClassName","droppingClassName","droppingBeforeClassName","droppingAfterClassName","dataTransfer","setData","$index","toString","dropTimeout","move","from","to","className","dragOverHandler","offsetY","layerY","offsetX","layerX","dropHandler","droppedItemIndex","_dropHandler","theList","itemToMove","hasClass","$emit","array","callback","debounceTime","timeoutPromise","self","args","Array","onOpenCloseCallback","uisOpenClose","previousState","expression","filterMatch","grouped","run","$templateCache","put"],"mappings":";;;;;;CAQC,WACD,YCoDA,SAAAA,GAAAC,GACA,MAAAC,SAAAC,YAAAF,IAAA,OAAAA,EAGA,QAAAG,GAAAC,GACA,GAAAA,GAAAC,SAAAC,OAAAF,EAIA,MAAAA,GAAAG,aAAAH,EAAAI,aACAJ,EAEAD,EAAAC,EAAAK,YAzEA,GAAAC,IACAC,IAAA,EACAC,MAAA,GACAC,IAAA,GACAC,MAAA,GACAC,KAAA,GACAC,GAAA,GACAC,MAAA,GACAC,KAAA,GACAC,MAAA,GACAC,KAAA,GACAC,IAAA,GACAC,QAAA,GACAC,UAAA,GACAC,KAAA,GACAC,I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AAxG,EAAAwG,GACAQ,QAAAA,EACA8M,WAAAxI,EAAA,GACAiF,YAAAvQ,EAAAsL,EAAA,IAAAA,EAAA,IAAAA,EAAA,IACA1N,iBAAA,SAAA4Z,GACA,GAAAF,GAAAvf,KAAAiG,SAAA,QAAAwZ,EAAA,eAAA,gBAIA,OAHAzf,MAAA+b,aACAwD,GAAA,aAAAvf,KAAA+b,YAEAwD,KAMAN,EAAAxZ,2BAAA,WACA,MAAA,uDDgBAjP,QAAQoK,OAAO,aAAa8e,KAAK,iBAAkB,SAASC,GE/rF5DA,EAAAC,IAAA,6BAAA,gtBACAD,EAAAC,IAAA,oCAAA,koBACAD,EAAAC,IAAA,2BAAA,2/BACAD,EAAAC,IAAA,+BAAA,sKACAD,EAAAC,IAAA,qCAAA,wxBACAD,EAAAC,IAAA,4BAAA,wuBACAD,EAAAC,IAAA,2BAAA,i0BACAD,EAAAC,IAAA,kCAAA,8fACAD,EAAAC,IAAA,yBAAA,6hBACAD,EAAAC,IAAA,6BAAA,2KACAD,EAAAC,IAAA,mCAAA,quCACAD,EAAAC,IAAA,0BAAA,+jCACAD,EAAAC,IAAA,6BAAA,0nBACAD,EAAAC,IAAA,oCAAA,ijBACAD,EAAAC,IAAA,2BAAA,8UACAD,EAAAC,IAAA,+BAAA,kNACAD,EAAAC,IAAA,qCAAA,g6BACAD,EAAAC,IAAA,4BAAA","file":"select.min.js","sourcesContent":["/*!\n * ui-select\n * http://github.com/angular-ui/ui-select\n * Version: 0.19.8 - 2020-01-17T13:11:27.848Z\n * License: MIT\n */\n\n\n(function () { \n\"use strict\";\nvar KEY = {\n TAB: 9,\n ENTER: 13,\n ESC: 27,\n SPACE: 32,\n LEFT: 37,\n UP: 38,\n RIGHT: 39,\n DOWN: 40,\n SHIFT: 16,\n CTRL: 17,\n ALT: 18,\n PAGE_UP: 33,\n PAGE_DOWN: 34,\n HOME: 36,\n END: 35,\n BACKSPACE: 8,\n DELETE: 46,\n COMMAND: 91,\n A: 65,\n X: 88,\n\n MAP: { 91 : \"COMMAND\", 8 : \"BACKSPACE\" , 9 : \"TAB\" , 13 : \"ENTER\" , 16 : \"SHIFT\" , 17 : \"CTRL\" , 18 : \"ALT\" , 19 : \"PAUSEBREAK\" , 20 : \"CAPSLOCK\" , 27 : \"ESC\" , 32 : \"SPACE\" , 33 : \"PAGE_UP\", 34 : \"PAGE_DOWN\" , 35 : \"END\" , 36 : \"HOME\" , 37 : \"LEFT\" , 38 : \"UP\" , 39 : \"RIGHT\" , 40 : \"DOWN\" , 43 : \"+\" , 44 : \"PRINTSCREEN\" , 45 : \"INSERT\" , 46 : \"DELETE\", 48 : \"0\" , 49 : \"1\" , 50 : \"2\" , 51 : \"3\" , 52 : \"4\" , 53 : \"5\" , 54 : \"6\" , 55 : \"7\" , 56 : \"8\" , 57 : \"9\" , 59 : \";\", 61 : \"=\" , 65 : \"A\" , 66 : \"B\" , 67 : \"C\" , 68 : \"D\" , 69 : \"E\" , 70 : \"F\" , 71 : \"G\" , 72 : \"H\" , 73 : \"I\" , 74 : \"J\" , 75 : \"K\" , 76 : \"L\", 77 : \"M\" , 78 : \"N\" , 79 : \"O\" , 80 : \"P\" , 81 : \"Q\" , 82 : \"R\" , 83 : \"S\" , 84 : \"T\" , 85 : \"U\" , 86 : \"V\" , 87 : \"W\" , 88 : \"X\" , 89 : \"Y\" , 90 : \"Z\", 96 : \"0\" , 97 : \"1\" , 98 : \"2\" , 99 : \"3\" , 100 : \"4\" , 101 : \"5\" , 102 : \"6\" , 103 : \"7\" , 104 : \"8\" , 105 : \"9\", 106 : \"*\" , 107 : \"+\" , 109 : \"-\" , 110 : \".\" , 111 : \"/\", 112 : \"F1\" , 113 : \"F2\" , 114 : \"F3\" , 115 : \"F4\" , 116 : \"F5\" , 117 : \"F6\" , 118 : \"F7\" , 119 : \"F8\" , 120 : \"F9\" , 121 : \"F10\" , 122 : \"F11\" , 123 : \"F12\", 144 : \"NUMLOCK\" , 145 : \"SCROLLLOCK\" , 186 : \";\" , 187 : \"=\" , 188 : \",\" , 189 : \"-\" , 190 : \".\" , 191 : \"/\" , 192 : \"`\" , 219 : \"[\" , 220 : \"\\\\\" , 221 : \"]\" , 222 : \"'\"\n },\n\n isControl: function (e) {\n var k = e.which;\n switch (k) {\n case KEY.COMMAND:\n case KEY.SHIFT:\n case KEY.CTRL:\n case KEY.ALT:\n return true;\n }\n\n if (e.metaKey || e.ctrlKey || e.altKey) return true;\n\n return false;\n },\n isMetaAndKey: function (e, key) {\n return e.metaKey && e.which === key;\n },\n isFunctionKey: function (k) {\n k = k.which ? k.which : k;\n return k >= 112 && k <= 123;\n },\n isVerticalMovement: function (k){\n return ~[KEY.UP, KEY.DOWN].indexOf(k);\n },\n isHorizontalMovement: function (k){\n return ~[KEY.LEFT,KEY.RIGHT,KEY.BACKSPACE,KEY.DELETE].indexOf(k);\n },\n toSeparator: function (k) {\n var sep = {ENTER:\"\\n\",TAB:\"\\t\",SPACE:\" \"}[k];\n if (sep) return sep;\n // return undefined for special keys other than enter, tab or space.\n // no way to use them to cut strings.\n return KEY[k] ? undefined : k;\n }\n };\n\nfunction isNil(value) {\n return angular.isUndefined(value) || value === null;\n}\n\nfunction getScrollParent(node) {\n if (!node || document.body === node) {\n return undefined;\n }\n\n if (node.scrollHeight > node.clientHeight) {\n return node;\n } else {\n return getScrollParent(node.parentNode);\n }\n}\n\n/**\n * Add querySelectorAll() to jqLite.\n *\n * jqLite find() is limited to lookups by tag name.\n * TODO This will change with future versions of AngularJS, to be removed when this happens\n *\n * See jqLite.find - why not use querySelectorAll? https://github.com/angular/angular.js/issues/3586\n * See feat(jqLite): use querySelectorAll instead of getElementsByTagName in jqLite.find https://github.com/angular/angular.js/pull/3598\n */\nif (angular.element.prototype.querySelectorAll === undefined) {\n angular.element.prototype.querySelectorAll = function(selector) {\n return angular.element(this[0].querySelectorAll(selector));\n };\n}\n\n/**\n * Add closest() to jqLite.\n */\nif (angular.element.prototype.closest === undefined) {\n angular.element.prototype.closest = function( selector) {\n var elem = this[0];\n var matchesSelector = elem.matches || elem.webkitMatchesSelector || elem.mozMatchesSelector || elem.msMatchesSelector;\n\n while (elem) {\n if (matchesSelector.bind(elem)(selector)) {\n return elem;\n } else {\n elem = elem.parentElement;\n }\n }\n return false;\n };\n}\n\nvar latestId = 0;\n\nvar uis = angular.module('ui.select', [])\n\n.constant('uiSelectConfig', {\n theme: 'bootstrap',\n searchEnabled: true,\n sortable: false,\n placeholder: '', // Empty by default, like HTML tag \");\n $compile(focusser)(scope);\n $select.focusser = focusser;\n\n //Input that will handle focus\n $select.focusInput = focusser;\n\n element.parent().append(focusser);\n focusser.bind(\"focus\", function(){\n scope.$evalAsync(function(){\n $select.focus = true;\n });\n });\n focusser.bind(\"blur\", function(){\n scope.$evalAsync(function(){\n $select.focus = false;\n });\n });\n focusser.bind(\"keydown\", function(e){\n\n if (e.which === KEY.BACKSPACE && $select.backspaceReset !== false) {\n e.preventDefault();\n e.stopPropagation();\n $select.select(undefined);\n scope.$apply();\n return;\n }\n\n if (e.which === KEY.TAB || KEY.isControl(e) || KEY.isFunctionKey(e) || e.which === KEY.ESC) {\n return;\n }\n\n if (e.which == KEY.DOWN || e.which == KEY.UP || e.which == KEY.ENTER || e.which == KEY.SPACE){\n e.preventDefault();\n e.stopPropagation();\n $select.activate();\n }\n\n scope.$digest();\n });\n\n focusser.bind(\"keyup input\", function(e){\n\n if (e.which === KEY.TAB || KEY.isControl(e) || KEY.isFunctionKey(e) || e.which === KEY.ESC || e.which == KEY.ENTER || e.which === KEY.BACKSPACE) {\n return;\n }\n\n $select.activate(focusser.val()); //User pressed some regular key, so we pass it to the search input\n focusser.val('');\n scope.$digest();\n\n });\n\n\n }\n };\n}]);\n\n// Make multiple matches sortable\nuis.directive('uiSelectSort', ['$timeout', 'uiSelectConfig', 'uiSelectMinErr', function($timeout, uiSelectConfig, uiSelectMinErr) {\n return {\n require: ['^^uiSelect', '^ngModel'],\n link: function(scope, element, attrs, ctrls) {\n if (scope[attrs.uiSelectSort] === null) {\n throw uiSelectMinErr('sort', 'Expected a list to sort');\n }\n\n var $select = ctrls[0];\n var $ngModel = ctrls[1];\n\n var options = angular.extend({\n axis: 'horizontal'\n },\n scope.$eval(attrs.uiSelectSortOptions));\n\n var axis = options.axis;\n var draggingClassName = 'dragging';\n var droppingClassName = 'dropping';\n var droppingBeforeClassName = 'dropping-before';\n var droppingAfterClassName = 'dropping-after';\n\n scope.$watch(function(){\n return $select.sortable;\n }, function(newValue){\n if (newValue) {\n element.attr('draggable', true);\n } else {\n element.removeAttr('draggable');\n }\n });\n\n element.on('dragstart', function(event) {\n element.addClass(draggingClassName);\n\n (event.dataTransfer || event.originalEvent.dataTransfer).setData('text', scope.$index.toString());\n });\n\n element.on('dragend', function() {\n removeClass(draggingClassName);\n });\n\n var move = function(from, to) {\n /*jshint validthis: true */\n this.splice(to, 0, this.splice(from, 1)[0]);\n };\n\n var removeClass = function(className) {\n angular.forEach($select.$element.querySelectorAll('.' + className), function(el){\n angular.element(el).removeClass(className);\n });\n };\n\n var dragOverHandler = function(event) {\n event.preventDefault();\n\n var offset = axis === 'vertical' ? event.offsetY || event.layerY || (event.originalEvent ? event.originalEvent.offsetY : 0) : event.offsetX || event.layerX || (event.originalEvent ? event.originalEvent.offsetX : 0);\n\n if (offset < (this[axis === 'vertical' ? 'offsetHeight' : 'offsetWidth'] / 2)) {\n removeClass(droppingAfterClassName);\n element.addClass(droppingBeforeClassName);\n\n } else {\n removeClass(droppingBeforeClassName);\n element.addClass(droppingAfterClassName);\n }\n };\n\n var dropTimeout;\n\n var dropHandler = function(event) {\n event.preventDefault();\n\n var droppedItemIndex = parseInt((event.dataTransfer || event.originalEvent.dataTransfer).getData('text'), 10);\n\n // prevent event firing multiple times in firefox\n $timeout.cancel(dropTimeout);\n dropTimeout = $timeout(function() {\n _dropHandler(droppedItemIndex);\n }, 20);\n };\n\n var _dropHandler = function(droppedItemIndex) {\n var theList = scope.$eval(attrs.uiSelectSort);\n var itemToMove = theList[droppedItemIndex];\n var newIndex = null;\n\n if (element.hasClass(droppingBeforeClassName)) {\n if (droppedItemIndex < scope.$index) {\n newIndex = scope.$index - 1;\n } else {\n newIndex = scope.$index;\n }\n } else {\n if (droppedItemIndex < scope.$index) {\n newIndex = scope.$index;\n } else {\n newIndex = scope.$index + 1;\n }\n }\n\n move.apply(theList, [droppedItemIndex, newIndex]);\n\n $ngModel.$setViewValue(Date.now());\n\n scope.$apply(function() {\n scope.$emit('uiSelectSort:change', {\n array: theList,\n item: itemToMove,\n from: droppedItemIndex,\n to: newIndex\n });\n });\n\n removeClass(droppingClassName);\n removeClass(droppingBeforeClassName);\n removeClass(droppingAfterClassName);\n\n element.off('drop', dropHandler);\n };\n\n element.on('dragenter', function() {\n if (element.hasClass(draggingClassName)) {\n return;\n }\n\n element.addClass(droppingClassName);\n\n element.on('dragover', dragOverHandler);\n element.on('drop', dropHandler);\n });\n\n element.on('dragleave', function(event) {\n if (event.target != element) {\n return;\n }\n\n removeClass(droppingClassName);\n removeClass(droppingBeforeClassName);\n removeClass(droppingAfterClassName);\n\n element.off('dragover', dragOverHandler);\n element.off('drop', dropHandler);\n });\n }\n };\n}]);\n\n/**\n * Debounces functions\n *\n * Taken from UI Bootstrap $$debounce source code\n * See https://github.com/angular-ui/bootstrap/blob/master/src/debounce/debounce.js\n *\n */\nuis.factory('$$uisDebounce', ['$timeout', function($timeout) {\n return function(callback, debounceTime) {\n var timeoutPromise;\n\n return function() {\n var self = this;\n var args = Array.prototype.slice.call(arguments);\n if (timeoutPromise) {\n $timeout.cancel(timeoutPromise);\n }\n\n timeoutPromise = $timeout(function() {\n callback.apply(self, args);\n }, debounceTime);\n };\n };\n}]);\n\nuis.directive('uisOpenClose', ['$parse', '$timeout', function ($parse, $timeout) {\n return {\n restrict: 'A',\n require: 'uiSelect',\n link: function (scope, element, attrs, $select) {\n $select.onOpenCloseCallback = $parse(attrs.uisOpenClose);\n\n scope.$watch('$select.open', function (isOpen, previousState) {\n if (isOpen !== previousState) {\n $timeout(function () {\n $select.onOpenCloseCallback(scope, {\n isOpen: isOpen\n });\n });\n }\n });\n }\n };\n}]);\n\n/**\n * Parses \"repeat\" attribute.\n *\n * Taken from AngularJS ngRepeat source code\n * See https://github.com/angular/angular.js/blob/v1.2.15/src/ng/directive/ngRepeat.js#L211\n *\n * Original discussion about parsing \"repeat\" attribute instead of fully relying on ng-repeat:\n * https://github.com/angular-ui/ui-select/commit/5dd63ad#commitcomment-5504697\n */\n\nuis.service('uisRepeatParser', ['uiSelectMinErr','$parse', function(uiSelectMinErr, $parse) {\n var self = this;\n\n /**\n * Example:\n * expression = \"address in addresses | filter: {street: $select.search} track by $index\"\n * itemName = \"address\",\n * source = \"addresses | filter: {street: $select.search}\",\n * trackByExp = \"$index\",\n */\n self.parse = function(expression) {\n\n\n var match;\n //var isObjectCollection = /\\(\\s*([\\$\\w][\\$\\w]*)\\s*,\\s*([\\$\\w][\\$\\w]*)\\s*\\)/.test(expression);\n // If an array is used as collection\n\n // if (isObjectCollection){\n // 000000000000000000000000000000111111111000000000000000222222222222220033333333333333333333330000444444444444444444000000000000000055555555555000000000000000000000066666666600000000\n match = expression.match(/^\\s*(?:([\\s\\S]+?)\\s+as\\s+)?(?:([\\$\\w][\\$\\w]*)|(?:\\(\\s*([\\$\\w][\\$\\w]*)\\s*,\\s*([\\$\\w][\\$\\w]*)\\s*\\)))\\s+in\\s+(\\s*[\\s\\S]+?)?(?:\\s+track\\s+by\\s+([\\s\\S]+?))?\\s*$/);\n\n // 1 Alias\n // 2 Item\n // 3 Key on (key,value)\n // 4 Value on (key,value)\n // 5 Source expression (including filters)\n // 6 Track by\n\n if (!match) {\n throw uiSelectMinErr('iexp', \"Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.\",\n expression);\n }\n \n var source = match[5], \n filters = '';\n\n // When using (key,value) ui-select requires filters to be extracted, since the object\n // is converted to an array for $select.items \n // (in which case the filters need to be reapplied)\n if (match[3]) {\n // Remove any enclosing parenthesis\n source = match[5].replace(/(^\\()|(\\)$)/g, '');\n // match all after | but not after ||\n var filterMatch = match[5].match(/^\\s*(?:[\\s\\S]+?)(?:[^\\|]|\\|\\|)+([\\s\\S]*)\\s*$/);\n if(filterMatch && filterMatch[1].trim()) {\n filters = filterMatch[1];\n source = source.replace(filters, '');\n } \n }\n\n return {\n itemName: match[4] || match[2], // (lhs) Left-hand side,\n keyName: match[3], //for (key, value) syntax\n source: $parse(source),\n filters: filters,\n trackByExp: match[6],\n modelMapper: $parse(match[1] || match[4] || match[2]),\n repeatExpression: function (grouped) {\n var expression = this.itemName + ' in ' + (grouped ? '$group.items' : '$select.items');\n if (this.trackByExp) {\n expression += ' track by ' + this.trackByExp;\n }\n return expression;\n } \n };\n\n };\n\n self.getGroupNgRepeatExpression = function() {\n return '$group in $select.groups track by $group.name';\n };\n\n}]);\n\n}());\nangular.module(\"ui.select\").run([\"$templateCache\", function($templateCache) {$templateCache.put(\"bootstrap/choices.tpl.html\",\"
      0\\\">
    • 0\\\">
    \");\n$templateCache.put(\"bootstrap/match-multiple.tpl.html\",\" × \");\n$templateCache.put(\"bootstrap/match.tpl.html\",\"
    {{$select.placeholder}}
    \");\n$templateCache.put(\"bootstrap/no-choice.tpl.html\",\"
    \");\n$templateCache.put(\"bootstrap/select-multiple.tpl.html\",\"
    \");\n$templateCache.put(\"bootstrap/select.tpl.html\",\"
    \");\n$templateCache.put(\"select2/choices.tpl.html\",\"
    \");\n$templateCache.put(\"select2/match-multiple.tpl.html\",\"
  • \");\n$templateCache.put(\"select2/match.tpl.html\",\"{{$select.placeholder}} \");\n$templateCache.put(\"select2/no-choice.tpl.html\",\"
    \");\n$templateCache.put(\"select2/select-multiple.tpl.html\",\"
    \");\n$templateCache.put(\"select2/select.tpl.html\",\"
    \");\n$templateCache.put(\"selectize/choices.tpl.html\",\"
    \");\n$templateCache.put(\"selectize/match-multiple.tpl.html\",\"
    ×
    \");\n$templateCache.put(\"selectize/match.tpl.html\",\"
    {{$select.placeholder}}
    \");\n$templateCache.put(\"selectize/no-choice.tpl.html\",\"
    \");\n$templateCache.put(\"selectize/select-multiple.tpl.html\",\"
    \");\n$templateCache.put(\"selectize/select.tpl.html\",\"
    \");}]);",null,null]} \ No newline at end of file diff --git a/src/bootstrap/select-multiple.tpl.html b/src/bootstrap/select-multiple.tpl.html index 2722015a9..8716fc274 100644 --- a/src/bootstrap/select-multiple.tpl.html +++ b/src/bootstrap/select-multiple.tpl.html @@ -15,6 +15,7 @@ aria-expanded="{{$select.open}}" aria-label="{{$select.baseTitle}}" ng-class="{'spinner': $select.refreshing}" + ng-trim="{{ $select.trim }}" ondrop="return false;"> + ng-show="$select.open" + ng-trim="{{ $select.trim }}">
    diff --git a/src/common.js b/src/common.js index ce3613d3b..8cbe60372 100644 --- a/src/common.js +++ b/src/common.js @@ -131,7 +131,8 @@ var uis = angular.module('ui.select', []) appendDropdownToBody: false, spinnerEnabled: false, spinnerClass: 'glyphicon glyphicon-refresh ui-select-spin', - backspaceReset: true + backspaceReset: true, + trim: true }) // See Rename minErr and make it accessible from outside https://github.com/angular/angular.js/issues/6913 diff --git a/src/select2/select-multiple.tpl.html b/src/select2/select-multiple.tpl.html index a2611c8d9..2a0c0bf88 100644 --- a/src/select2/select-multiple.tpl.html +++ b/src/select2/select-multiple.tpl.html @@ -21,6 +21,7 @@ ng-hide="$select.disabled" ng-model="$select.search" ng-click="$select.activate()" + ng-trim="{{ $select.trim }}" style="width: 34px;" ondrop="return false;">
    - \ No newline at end of file + diff --git a/src/selectize/select.tpl.html b/src/selectize/select.tpl.html index 14dbeaa46..c5c844774 100644 --- a/src/selectize/select.tpl.html +++ b/src/selectize/select.tpl.html @@ -11,6 +11,7 @@ ng-model="$select.search" ng-hide="!$select.isEmpty() && !$select.open" ng-disabled="$select.disabled" + ng-trim="{{ $select.trim }}" aria-label="{{ $select.baseTitle }}">
    diff --git a/src/uiSelectController.js b/src/uiSelectController.js index be844aef3..ed8b9ccf0 100644 --- a/src/uiSelectController.js +++ b/src/uiSelectController.js @@ -633,10 +633,14 @@ uis.controller('uiSelectCtrl', // and remove tagging token if it's the last character in string var chunks = search.split(ctrl.taggingTokenEscape + token); chunks.push(chunks.pop().replace(tokenRegex, '')); - search = chunks.join(token).trim(); + search = chunks.join(token); } else { // remove tagging token if it's the last character - search = search.replace(tokenRegex, '').trim(); + search = search.replace(tokenRegex, ''); + } + + if ( !!$scope.$select.trim ) { + search = search.trim(); } return search; } diff --git a/src/uiSelectDirective.js b/src/uiSelectDirective.js index 99db6f5c8..7f15ff00f 100644 --- a/src/uiSelectDirective.js +++ b/src/uiSelectDirective.js @@ -181,6 +181,10 @@ uis.directive('uiSelect', $select.appendDropdownToBody = appendDropdownToBody !== undefined ? appendDropdownToBody : uiSelectConfig.appendDropdownToBody; }); + scope.$watch(function () { return scope.$eval(attrs.trim); }, function(newVal) { + $select.trim = newVal !== undefined ? newVal : uiSelectConfig.trim; + }); + //Automatically gets focus when loaded if (angular.isDefined(attrs.autofocus)){ $timeout(function(){ diff --git a/test/select.spec.js b/test/select.spec.js index ec8d6d4cb..67abf6d8d 100644 --- a/test/select.spec.js +++ b/test/select.spec.js @@ -181,6 +181,7 @@ describe('ui-select tests', function () { if (attrs.backspaceReset !== undefined) { attrsHtml += ' backspace-reset="' + attrs.backspaceReset + '"'; } if (attrs.uiDisableChoice !== undefined) { choicesAttrsHtml += ' ui-disable-choice="' + attrs.uiDisableChoice + '"'; } if (attrs.removeSelected !== undefined) { attrsHtml += ' remove-selected="' + attrs.removeSelected + '"'; } + if (attrs.trim !== undefined) { attrsHtml += ' trim="' + attrs.trim + '"'; } } return compileTemplate( @@ -1139,7 +1140,7 @@ describe('ui-select tests', function () { var el = createUiSelect(); expect(el.find('.ui-select-choices-group .ui-select-choices-group-label').map(function () { return this.textContent; - }).toArray()).toEqual(["Foo", "Baz", "bar"]); + }).toArray()).toEqual(["Foo", "bar", "Baz"]); }); }); @@ -3680,6 +3681,54 @@ describe('ui-select tests', function () { }); }); + describe('Test trim', function () { + it('should have a default value of true', function () { + var control = createUiSelect(); + expect(control.scope().$select.trim).toEqual(true); + }); + + it('should have set a value of false', function () { + var control = createUiSelect({ trim: false }); + expect(control.scope().$select.trim).toEqual(false); + }); + + ['selectize', 'bootstrap', 'select2'].forEach(function (theme) { + describe(theme + ' theme', function () { + it('should define ng-trim to true when undefined', function () { + var el = createUiSelect({ theme}); + expect($(el).find('.ui-select-search').attr('ng-trim')).toEqual('true'); + }); + + it('should define ng-trim when true', function () { + var el = createUiSelect({ theme, trim: true }); + expect($(el).find('.ui-select-search').attr('ng-trim')).toEqual('true'); + }); + + it('should define ng-trim when false', function () { + var el = createUiSelect({ theme, trim: false }); + expect($(el).find('.ui-select-search').attr('ng-trim')).toEqual('false'); + }); + + describe('multiple', function () { + it('should define ng-trim to true when undefined', function () { + var el = createUiSelect({ multiple: 'multiple', theme }); + expect($(el).find('.ui-select-search').attr('ng-trim')).toEqual('true'); + }); + + it('should define ng-trim when true', function () { + var el = createUiSelect({ multiple: 'multiple', theme, trim: true }); + expect($(el).find('.ui-select-search').attr('ng-trim')).toEqual('true'); + }); + + it('should define ng-trim when false', function () { + var el = createUiSelect({ multiple: 'multiple', theme, trim: false }); + expect($(el).find('.ui-select-search').attr('ng-trim')).toEqual('false'); + }); + }); + }); + }); + }); + describe('With refresh on active', function () { it('should refresh when is activated', function () { scope.fetchFromServer = function () { };