diff --git a/bower.json b/bower.json index c18121673..b997c0f87 100644 --- a/bower.json +++ b/bower.json @@ -5,7 +5,7 @@ "dist/css/bootstrap-select.css", "dist/js/bootstrap-select.js" ], - "version": "1.6.5", + "version": "1.7.0", "homepage": "http://silviomoreto.github.io/bootstrap-select", "authors": [ "silviomoreto" diff --git a/composer.json b/composer.json index fc515d39e..2b3d984a6 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "replacement" ], "homepage": "http://silviomoreto.github.io/bootstrap-select", - "version": "1.6.5", + "version": "1.7.0", "authors": [ { "name": "Silvio Moreto", diff --git a/dist/css/bootstrap-select.css b/dist/css/bootstrap-select.css index 7d33c847f..e3a0579d9 100644 --- a/dist/css/bootstrap-select.css +++ b/dist/css/bootstrap-select.css @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/css/bootstrap-select.min.css b/dist/css/bootstrap-select.min.css index 0d119b411..2d3618d6b 100644 --- a/dist/css/bootstrap-select.min.css +++ b/dist/css/bootstrap-select.min.css @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/bootstrap-select.js b/dist/js/bootstrap-select.js index 5bd897794..d3247cfaf 100644 --- a/dist/js/bootstrap-select.js +++ b/dist/js/bootstrap-select.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) @@ -225,7 +225,7 @@ this.init(); }; - Selectpicker.VERSION = '1.6.5'; + Selectpicker.VERSION = '1.7.0'; // part of this is duplicated in i18n/defaults-en_US.js. Make sure to update both. Selectpicker.DEFAULTS = { diff --git a/dist/js/bootstrap-select.min.js b/dist/js/bootstrap-select.min.js index 2cab48901..b055de7fa 100644 --- a/dist/js/bootstrap-select.min.js +++ b/dist/js/bootstrap-select.min.js @@ -1,8 +1,8 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) */ -!function(a){"use strict";function b(b){var c=[{re:/[\xC0-\xC6]/g,ch:"A"},{re:/[\xE0-\xE6]/g,ch:"a"},{re:/[\xC8-\xCB]/g,ch:"E"},{re:/[\xE8-\xEB]/g,ch:"e"},{re:/[\xCC-\xCF]/g,ch:"I"},{re:/[\xEC-\xEF]/g,ch:"i"},{re:/[\xD2-\xD6]/g,ch:"O"},{re:/[\xF2-\xF6]/g,ch:"o"},{re:/[\xD9-\xDC]/g,ch:"U"},{re:/[\xF9-\xFC]/g,ch:"u"},{re:/[\xC7-\xE7]/g,ch:"c"},{re:/[\xD1]/g,ch:"N"},{re:/[\xF1]/g,ch:"n"}];return a.each(c,function(){b=b.replace(this.re,this.ch)}),b}function c(a){var b={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},c="(?:"+Object.keys(b).join("|")+")",d=new RegExp(c),e=new RegExp(c,"g"),f=null==a?"":""+a;return d.test(f)?f.replace(e,function(a){return b[a]}):f}function d(b,c){var d=arguments,f=b,g=c;[].shift.apply(d);var h,i=this.each(function(){var b=a(this);if(b.is("select")){var c=b.data("selectpicker"),i="object"==typeof f&&f;if(c){if(i)for(var j in i)i.hasOwnProperty(j)&&(c.options[j]=i[j])}else{var k=a.extend({},e.DEFAULTS,a.fn.selectpicker.defaults||{},b.data(),i);b.data("selectpicker",c=new e(this,k,g))}"string"==typeof f&&(h=c[f]instanceof Function?c[f].apply(c,d):c.options[f])}});return"undefined"!=typeof h?h:i}String.prototype.includes||!function(){var a={}.toString,b=function(){try{var a={},b=Object.defineProperty,c=b(a,a,a)&&b}catch(d){}return c}(),c="".indexOf,d=function(b){if(null==this)throw TypeError();var d=String(this);if(b&&"[object RegExp]"==a.call(b))throw TypeError();var e=d.length,f=String(b),g=f.length,h=arguments.length>1?arguments[1]:void 0,i=h?Number(h):0;i!=i&&(i=0);var j=Math.min(Math.max(i,0),e);return g+j>e?!1:-1!=c.call(d,f,i)};b?b(String.prototype,"includes",{value:d,configurable:!0,writable:!0}):String.prototype.includes=d}(),String.prototype.startsWith||!function(){var a=function(){try{var a={},b=Object.defineProperty,c=b(a,a,a)&&b}catch(d){}return c}(),b={}.toString,c=function(a){if(null==this)throw TypeError();var c=String(this);if(a&&"[object RegExp]"==b.call(a))throw TypeError();var d=c.length,e=String(a),f=e.length,g=arguments.length>1?arguments[1]:void 0,h=g?Number(g):0;h!=h&&(h=0);var i=Math.min(Math.max(h,0),d);if(f+i>d)return!1;for(var j=-1;++j'+this.options.header+"":"",g=this.options.liveSearch?'":"",h=this.multiple&&this.options.actionsBox?'
":"",i=this.multiple&&this.options.doneButton?'
":"",j='
";return a(j)},createView:function(){var a=this.createDropdown(),b=this.createLi();return a.find("ul").append(b),a},reloadLi:function(){this.destroyLi();var a=this.createLi();this.$menu.find("ul").append(a)},destroyLi:function(){this.$menu.find("li").remove()},createLi:function(){var d=this,e=[],f=0,g='',h=function(a,b,c,d){return""+a+""},i=function(a,e,f,g){return'"+a+''};return!this.options.title||this.multiple||this.$element.find(".bs-title-option").length||this.$element.prepend(g),this.$element.find("option").each(function(b){var c=a(this);if(!c.hasClass("bs-title-option")){var g=c.attr("class")||"",j=c.attr("style"),k=c.data("content")?c.data("content"):c.html(),l=c.data("tokens")?c.data("tokens"):null,m="undefined"!=typeof c.data("subtext")?''+c.data("subtext")+"":"",n="undefined"!=typeof c.data("icon")?' ':"",o=c.is(":disabled")||c.parent().is(":disabled");if(""!==n&&o&&(n=""+n+""),c.data("content")||(k=n+''+k+m+""),!d.options.hideDisabled||!o)if(c.parent().is("optgroup")&&c.data("divider")!==!0){if(0===c.index()){f+=1;var p=c.parent().attr("label"),q="undefined"!=typeof c.parent().data("subtext")?''+c.parent().data("subtext")+"":"",r=c.parent().data("icon")?' ':"";p=r+''+p+q+"",0!==b&&e.length>0&&e.push(h("",null,"divider",f+"div")),e.push(h(p,null,"dropdown-header",f))}e.push(h(i(k,"opt "+g,j,l),b,"",f))}else c.data("divider")===!0?e.push(h("",b,"divider")):c.data("hidden")===!0?e.push(h(i(k,g,j,l),b,"hidden is-hidden")):(c.prev().is("optgroup")&&e.push(h("",null,"divider",f+"div")),e.push(h(i(k,g,j,l),b)))}}),this.multiple||0!==this.$element.find("option:selected").length||this.options.title||this.$element.find("option").eq(0).prop("selected",!0).attr("selected","selected"),a(e.join(""))},findLis:function(){return null==this.$lis&&(this.$lis=this.$menu.find("li")),this.$lis},render:function(b){var c=this;b!==!1&&this.$element.find("option").each(function(b){c.setDisabled(b,a(this).is(":disabled")||a(this).parent().is(":disabled")),c.setSelected(b,a(this).is(":selected"))}),this.tabIndex();var d=this.options.hideDisabled?":enabled":"",e=this.$element.find("option:selected"+d).map(function(){var b,d=a(this),e=d.data("icon")&&c.options.showIcon?' ':"";return b=c.options.showSubtext&&d.data("subtext")&&!c.multiple?' '+d.data("subtext")+"":"","undefined"!=typeof d.attr("title")?d.attr("title"):d.data("content")&&c.options.showContent?d.data("content"):e+d.html()+b}).toArray(),f=this.multiple?e.join(this.options.multipleSeparator):e[0];if(this.multiple&&this.options.selectedTextFormat.indexOf("count")>-1){var g=this.options.selectedTextFormat.split(">");if(g.length>1&&e.length>g[1]||1==g.length&&e.length>=2){d=this.options.hideDisabled?", [disabled]":"";var h=this.$element.find("option").not('[data-divider="true"], [data-hidden="true"]'+d).length,i="function"==typeof this.options.countSelectedText?this.options.countSelectedText(e.length,h):this.options.countSelectedText;f=i.replace("{0}",e.length.toString()).replace("{1}",h.toString())}}void 0==this.options.title&&(this.options.title=this.$element.attr("title")),"static"==this.options.selectedTextFormat&&(f=this.options.title),f||(f="undefined"!=typeof this.options.title?this.options.title:this.options.noneSelectedText),this.$button.attr("title",a.trim(f.replace(/<[^>]*>?/g,""))),this.$button.children(".filter-option").html(f),this.$element.trigger("rendered.bs.select")},setStyle:function(a,b){this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|validate\[.*\]/gi,""));var c=a?a:this.options.style;"add"==b?this.$button.addClass(c):"remove"==b?this.$button.removeClass(c):(this.$button.removeClass(this.options.style),this.$button.addClass(c))},liHeight:function(){if(this.options.size!==!1){var a=this.$menu.parent().clone().children(".dropdown-toggle").prop("autofocus",!1).end().appendTo("body"),b=a.addClass("open").children(".dropdown-menu"),c=b.find("li").not(".divider, .dropdown-header").filter(":visible").children("a").outerHeight(),d=this.options.header?b.find(".popover-title").outerHeight():0,e=this.options.liveSearch?b.find(".bs-searchbox").outerHeight():0,f=this.options.actionsBox?b.find(".bs-actionsbox").outerHeight():0,g=this.multiple?b.find(".bs-donebutton").outerHeight():0;a.remove(),this.$newElement.data("liHeight",c).data("headerHeight",d).data("searchHeight",e).data("actionsHeight",f).data("doneButtonHeight",g)}},setSize:function(){this.findLis();var b,c,d,e=this,f=this.$menu,g=f.children(".inner"),h=this.$newElement.outerHeight(),i=this.$newElement.data("liHeight"),j=this.$newElement.data("headerHeight"),k=this.$newElement.data("searchHeight"),l=this.$newElement.data("actionsHeight"),m=this.$newElement.data("doneButtonHeight"),n=this.$lis.filter(".divider").outerHeight(!0),o=parseInt(f.css("padding-top"))+parseInt(f.css("padding-bottom"))+parseInt(f.css("border-top-width"))+parseInt(f.css("border-bottom-width")),p=this.options.hideDisabled?".disabled":"",q=a(window),r=o+parseInt(f.css("margin-top"))+parseInt(f.css("margin-bottom"))+2,s=function(){c=e.$newElement.offset().top-q.scrollTop(),d=q.height()-c-h};if(s(),this.options.header&&f.css("padding-top",0),"auto"==this.options.size){var t=function(){var a,h=e.$lis.not(".hidden");s(),b=d-r,e.options.dropupAuto&&e.$newElement.toggleClass("dropup",c>d&&b-r3?3*i+r-2:0,f.css({"max-height":b+"px",overflow:"hidden","min-height":a+j+k+l+m+"px"}),g.css({"max-height":b-j-k-l-m-o+"px","overflow-y":"auto","min-height":Math.max(a-o,0)+"px"})};t(),this.$searchbox.off("input.getSize propertychange.getSize").on("input.getSize propertychange.getSize",t),q.off("resize.getSize scroll.getSize").on("resize.getSize scroll.getSize",t)}else if(this.options.size&&"auto"!=this.options.size&&f.find("li").not(p).length>this.options.size){var u=this.$lis.not(".divider").not(p).children().slice(0,this.options.size).last().parent().index(),v=this.$lis.slice(0,u+1).filter(".divider").length;b=i*this.options.size+v*n+o,e.options.dropupAuto&&this.$newElement.toggleClass("dropup",c>d&&b-r",f=a(e),g=function(a){f.addClass(a.attr("class").replace(/form-control/gi,"")).toggleClass("dropup",a.hasClass("dropup")),b=a.offset(),c=a.hasClass("dropup")?0:a[0].offsetHeight,f.css({top:b.top+c,left:b.left,width:a[0].offsetWidth,position:"absolute"})};this.$newElement.on("click",function(){d.isDisabled()||(g(a(this)),f.appendTo(d.options.container),f.toggleClass("open",!a(this).hasClass("open")),f.append(d.$menu))}),a(window).on("resize scroll",function(){g(d.$newElement)}),a("html").on("click",function(b){a(b.target).closest(d.$newElement).length<1&&f.removeClass("open")})},setSelected:function(a,b){this.findLis(),this.$lis.filter('[data-original-index="'+a+'"]').toggleClass("selected",b)},setDisabled:function(a,b){this.findLis(),b?this.$lis.filter('[data-original-index="'+a+'"]').addClass("disabled").children("a").attr("href","#").attr("tabindex",-1):this.$lis.filter('[data-original-index="'+a+'"]').removeClass("disabled").children("a").removeAttr("href").attr("tabindex",0)},isDisabled:function(){return this.$element.is(":disabled")},checkDisabled:function(){var a=this;this.isDisabled()?this.$button.addClass("disabled").attr("tabindex",-1):(this.$button.hasClass("disabled")&&this.$button.removeClass("disabled"),-1!=this.$button.attr("tabindex")||this.$element.data("tabindex")||this.$button.removeAttr("tabindex")),this.$button.click(function(){return!a.isDisabled()})},tabIndex:function(){this.$element.is("[tabindex]")&&(this.$element.data("tabindex",this.$element.attr("tabindex")),this.$button.attr("tabindex",this.$element.data("tabindex")))},clickListener:function(){var b=this,c=a(document);this.$newElement.on("touchstart.dropdown",".dropdown-menu",function(a){a.stopPropagation()}),c.data("spaceSelect",!1),this.$button.on("keyup",function(a){/(32)/.test(a.keyCode.toString(10))&&c.data("spaceSelect")&&(a.preventDefault(),c.data("spaceSelect",!1))}),this.$newElement.on("click",function(){b.setSize(),b.options.liveSearch||b.multiple||setTimeout(function(){b.$menu.find(".selected a").focus()},10)}),this.$menu.on("click","li a",function(c){var d=a(this),e=d.parent().data("originalIndex"),f=b.$element.val(),g=b.$element.prop("selectedIndex");if(b.multiple&&c.stopPropagation(),c.preventDefault(),!b.isDisabled()&&!d.parent().hasClass("disabled")){var h=b.$element.find("option"),i=h.eq(e),j=i.prop("selected"),k=i.parent("optgroup"),l=b.options.maxOptions,m=k.data("maxOptions")||!1;if(b.multiple){if(i.prop("selected",!j),b.setSelected(e,!j),d.blur(),l!==!1||m!==!1){var n=l');q[2]&&(r=r.replace("{var}",q[2][l>1?0:1]),s=s.replace("{var}",q[2][m>1?0:1])),i.prop("selected",!1),b.$menu.append(t),l&&n&&(t.append(a("
"+r+"
")),b.$element.trigger("maxReached.bs.select")),m&&o&&(t.append(a("
"+s+"
")),b.$element.trigger("maxReachedGrp.bs.select")),setTimeout(function(){b.setSelected(e,!1)},10),t.delay(750).fadeOut(300,function(){a(this).remove()})}}}else h.prop("selected",!1),i.prop("selected",!0),b.$menu.find(".selected").removeClass("selected"),b.setSelected(e,!0);b.multiple?b.options.liveSearch&&b.$searchbox.focus():b.$button.focus(),(f!=b.$element.val()&&b.multiple||g!=b.$element.prop("selectedIndex")&&!b.multiple)&&(b.$element.change(),b.$element.trigger("changed.bs.select",[e,i.prop("selected"),j]))}}),this.$menu.on("click","li.disabled a, .popover-title, .popover-title :not(.close)",function(c){c.currentTarget==this&&(c.preventDefault(),c.stopPropagation(),b.options.liveSearch&&!a(c.target).hasClass("close")?b.$searchbox.focus():b.$button.focus())}),this.$menu.on("click","li.divider, li.dropdown-header",function(a){a.preventDefault(),a.stopPropagation(),b.options.liveSearch?b.$searchbox.focus():b.$button.focus()}),this.$menu.on("click",".popover-title .close",function(){b.$button.click()}),this.$searchbox.on("click",function(a){a.stopPropagation()}),this.$menu.on("click",".actions-btn",function(c){b.options.liveSearch?b.$searchbox.focus():b.$button.focus(),c.preventDefault(),c.stopPropagation(),a(this).hasClass("bs-select-all")?b.selectAll():b.deselectAll(),b.$element.change()}),this.$element.change(function(){b.render(!1)})},liveSearchListener:function(){var d=this,e=a('
  • ');this.$newElement.on("click.dropdown.data-api touchstart.dropdown.data-api",function(){d.$menu.find(".active").removeClass("active"),d.$searchbox.val()&&(d.$searchbox.val(""),d.$lis.not(".is-hidden").removeClass("hidden"),e.parent().length&&e.remove()),d.multiple||d.$menu.find(".selected").addClass("active"),setTimeout(function(){d.$searchbox.focus()},10)}),this.$searchbox.on("click.dropdown.data-api focus.dropdown.data-api touchend.dropdown.data-api",function(a){a.stopPropagation()}),this.$searchbox.on("input propertychange",function(){if(d.$searchbox.val()){var f=d.$lis.not(".is-hidden").removeClass("hidden").children("a");f=f.not(d.options.liveSearchNormalize?":a"+d._searchStyle()+"("+b(d.$searchbox.val())+")":":"+d._searchStyle()+"("+d.$searchbox.val()+")"),f.parent().addClass("hidden"),d.$lis.filter(".dropdown-header").each(function(){var b=a(this),c=b.data("optgroup");0===d.$lis.filter("[data-optgroup="+c+"]").not(b).not(".hidden").length&&(b.addClass("hidden"),d.$lis.filter("[data-optgroup="+c+"div]").addClass("hidden"))});var g=d.$lis.not(".hidden");g.each(function(b){var c=a(this);c.hasClass("divider")&&(c.index()===g.eq(0).index()||c.index()===g.last().index()||g.eq(b+1).hasClass("divider"))&&c.addClass("hidden")}),d.$lis.not(".hidden, .no-results").length?e.parent().length&&e.remove():(e.parent().length&&e.remove(),e.html(d.options.noneResultsText.replace("{0}",'"'+c(d.$searchbox.val())+'"')).show(),d.$menu.append(e))}else d.$lis.not(".is-hidden").removeClass("hidden"),e.parent().length&&e.remove();d.$lis.filter(".active").removeClass("active"),d.$lis.not(".hidden, .divider, .dropdown-header").eq(0).addClass("active").children("a").focus(),a(this).focus()})},_searchStyle:function(){var a="icontains";switch(this.options.liveSearchStyle){case"begins":case"startsWith":a="ibegins";break;case"contains":}return a},val:function(a){return"undefined"!=typeof a?(this.$element.val(a),this.render(),this.$element):this.$element.val()},selectAll:function(){this.findLis(),this.$element.find("option:enabled").not("[data-divider], [data-hidden]").prop("selected",!0),this.$lis.not(".divider, .dropdown-header, .disabled, .hidden").addClass("selected"),this.render(!1)},deselectAll:function(){this.findLis(),this.$element.find("option:enabled").not("[data-divider], [data-hidden]").prop("selected",!1),this.$lis.not(".divider, .dropdown-header, .disabled, .hidden").removeClass("selected"),this.render(!1)},keydown:function(c){var d,e,f,g,h,i,j,k,l,m=a(this),n=m.is("input")?m.parent().parent():m.parent(),o=n.data("this"),p=":not(.disabled, .hidden, .dropdown-header, .divider)",q={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",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"};if(o.options.liveSearch&&(n=m.parent().parent()),o.options.container&&(n=o.$menu),d=a("[role=menu] li a",n),l=o.$menu.parent().hasClass("open"),!l&&/([0-9]|[A-z])/.test(String.fromCharCode(c.keyCode))&&(o.options.container?o.$newElement.trigger("click"):(o.setSize(),o.$menu.parent().addClass("open"),l=!0),o.$searchbox.focus()),o.options.liveSearch&&(/(^9$|27)/.test(c.keyCode.toString(10))&&l&&0===o.$menu.find(".active").length&&(c.preventDefault(),o.$menu.parent().removeClass("open"),o.$button.focus()),d=a("[role=menu] li:not(.disabled, .hidden, .dropdown-header, .divider)",n),m.val()||/(38|40)/.test(c.keyCode.toString(10))||0===d.filter(".active").length&&(d=o.$newElement.find("li"),d=d.filter(o.options.liveSearchNormalize?":a"+o._searchStyle()+"("+b(q[c.keyCode])+")":":"+o._searchStyle()+"("+q[c.keyCode]+")"))),d.length){if(/(38|40)/.test(c.keyCode.toString(10)))e=d.index(d.filter(":focus")),g=d.parent(p).first().data("originalIndex"),h=d.parent(p).last().data("originalIndex"),f=d.eq(e).parent().nextAll(p).eq(0).data("originalIndex"),i=d.eq(e).parent().prevAll(p).eq(0).data("originalIndex"),j=d.eq(f).parent().prevAll(p).eq(0).data("originalIndex"),o.options.liveSearch&&(d.each(function(b){a(this).hasClass("disabled")||a(this).data("index",b)}),e=d.index(d.filter(".active")),g=d.first().data("index"),h=d.last().data("index"),f=d.eq(e).nextAll().eq(0).data("index"),i=d.eq(e).prevAll().eq(0).data("index"),j=d.eq(f).prevAll().eq(0).data("index")),k=m.data("prevIndex"),38==c.keyCode?(o.options.liveSearch&&(e-=1),e!=j&&e>i&&(e=i),g>e&&(e=g),e==k&&(e=h)):40==c.keyCode&&(o.options.liveSearch&&(e+=1),-1==e&&(e=0),e!=j&&f>e&&(e=f),e>h&&(e=h),e==k&&(e=g)),m.data("prevIndex",e),o.options.liveSearch?(c.preventDefault(),m.hasClass("dropdown-toggle")||(d.removeClass("active").eq(e).addClass("active").children("a").focus(),m.focus())):d.eq(e).focus();else if(!m.is("input")){var r,s,t=[];d.each(function(){a(this).parent().hasClass("disabled")||a.trim(a(this).text().toLowerCase()).substring(0,1)==q[c.keyCode]&&t.push(a(this).parent().index())}),r=a(document).data("keycount"),r++,a(document).data("keycount",r),s=a.trim(a(":focus").text().toLowerCase()).substring(0,1),s!=q[c.keyCode]?(r=1,a(document).data("keycount",r)):r>=t.length&&(a(document).data("keycount",0),r>t.length&&(r=1)),d.eq(t[r-1]).focus()}if((/(13|32)/.test(c.keyCode.toString(10))||/(^9$)/.test(c.keyCode.toString(10))&&o.options.selectOnTab)&&l){if(/(32)/.test(c.keyCode.toString(10))||c.preventDefault(),o.options.liveSearch)/(32)/.test(c.keyCode.toString(10))||(o.$menu.find(".active a").click(),m.focus());else{var u=a(":focus");u.click(),u.focus(),c.preventDefault(),a(document).data("spaceSelect",!0)}a(document).data("keycount",0)}(/(^9$|27)/.test(c.keyCode.toString(10))&&l&&(o.multiple||o.options.liveSearch)||/(27)/.test(c.keyCode.toString(10))&&!l)&&(o.$menu.parent().removeClass("open"),o.$button.focus())}},mobile:function(){this.$element.addClass("mobile-device").appendTo(this.$newElement),this.options.container&&this.$menu.hide()},refresh:function(){this.$lis=null,this.reloadLi(),this.render(),this.setWidth(),this.setStyle(),this.checkDisabled(),this.liHeight(),this.$element.trigger("refreshed.bs.select")},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()}};var f=a.fn.selectpicker;a.fn.selectpicker=d,a.fn.selectpicker.Constructor=e,a.fn.selectpicker.noConflict=function(){return a.fn.selectpicker=f,this},a(document).data("keycount",0).on("keydown",".bootstrap-select [data-toggle=dropdown], .bootstrap-select [role=menu], .bs-searchbox input",e.prototype.keydown).on("focusin.modal",".bootstrap-select [data-toggle=dropdown], .bootstrap-select [role=menu], .bs-searchbox input",function(a){a.stopPropagation()}),a(window).on("load.bs.select.data-api",function(){a(".selectpicker").each(function(){var b=a(this);d.call(b,b.data())})})}(jQuery); +!function(a){"use strict";function b(b){var c=[{re:/[\xC0-\xC6]/g,ch:"A"},{re:/[\xE0-\xE6]/g,ch:"a"},{re:/[\xC8-\xCB]/g,ch:"E"},{re:/[\xE8-\xEB]/g,ch:"e"},{re:/[\xCC-\xCF]/g,ch:"I"},{re:/[\xEC-\xEF]/g,ch:"i"},{re:/[\xD2-\xD6]/g,ch:"O"},{re:/[\xF2-\xF6]/g,ch:"o"},{re:/[\xD9-\xDC]/g,ch:"U"},{re:/[\xF9-\xFC]/g,ch:"u"},{re:/[\xC7-\xE7]/g,ch:"c"},{re:/[\xD1]/g,ch:"N"},{re:/[\xF1]/g,ch:"n"}];return a.each(c,function(){b=b.replace(this.re,this.ch)}),b}function c(a){var b={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},c="(?:"+Object.keys(b).join("|")+")",d=new RegExp(c),e=new RegExp(c,"g"),f=null==a?"":""+a;return d.test(f)?f.replace(e,function(a){return b[a]}):f}function d(b,c){var d=arguments,f=b,g=c;[].shift.apply(d);var h,i=this.each(function(){var b=a(this);if(b.is("select")){var c=b.data("selectpicker"),i="object"==typeof f&&f;if(c){if(i)for(var j in i)i.hasOwnProperty(j)&&(c.options[j]=i[j])}else{var k=a.extend({},e.DEFAULTS,a.fn.selectpicker.defaults||{},b.data(),i);b.data("selectpicker",c=new e(this,k,g))}"string"==typeof f&&(h=c[f]instanceof Function?c[f].apply(c,d):c.options[f])}});return"undefined"!=typeof h?h:i}String.prototype.includes||!function(){var a={}.toString,b=function(){try{var a={},b=Object.defineProperty,c=b(a,a,a)&&b}catch(d){}return c}(),c="".indexOf,d=function(b){if(null==this)throw TypeError();var d=String(this);if(b&&"[object RegExp]"==a.call(b))throw TypeError();var e=d.length,f=String(b),g=f.length,h=arguments.length>1?arguments[1]:void 0,i=h?Number(h):0;i!=i&&(i=0);var j=Math.min(Math.max(i,0),e);return g+j>e?!1:-1!=c.call(d,f,i)};b?b(String.prototype,"includes",{value:d,configurable:!0,writable:!0}):String.prototype.includes=d}(),String.prototype.startsWith||!function(){var a=function(){try{var a={},b=Object.defineProperty,c=b(a,a,a)&&b}catch(d){}return c}(),b={}.toString,c=function(a){if(null==this)throw TypeError();var c=String(this);if(a&&"[object RegExp]"==b.call(a))throw TypeError();var d=c.length,e=String(a),f=e.length,g=arguments.length>1?arguments[1]:void 0,h=g?Number(g):0;h!=h&&(h=0);var i=Math.min(Math.max(h,0),d);if(f+i>d)return!1;for(var j=-1;++j'+this.options.header+"":"",g=this.options.liveSearch?'":"",h=this.multiple&&this.options.actionsBox?'
    ":"",i=this.multiple&&this.options.doneButton?'
    ":"",j='
    ";return a(j)},createView:function(){var a=this.createDropdown(),b=this.createLi();return a.find("ul").append(b),a},reloadLi:function(){this.destroyLi();var a=this.createLi();this.$menu.find("ul").append(a)},destroyLi:function(){this.$menu.find("li").remove()},createLi:function(){var d=this,e=[],f=0,g='',h=function(a,b,c,d){return""+a+""},i=function(a,e,f,g){return'"+a+''};return!this.options.title||this.multiple||this.$element.find(".bs-title-option").length||this.$element.prepend(g),this.$element.find("option").each(function(b){var c=a(this);if(!c.hasClass("bs-title-option")){var g=c.attr("class")||"",j=c.attr("style"),k=c.data("content")?c.data("content"):c.html(),l=c.data("tokens")?c.data("tokens"):null,m="undefined"!=typeof c.data("subtext")?''+c.data("subtext")+"":"",n="undefined"!=typeof c.data("icon")?' ':"",o=c.is(":disabled")||c.parent().is(":disabled");if(""!==n&&o&&(n=""+n+""),c.data("content")||(k=n+''+k+m+""),!d.options.hideDisabled||!o)if(c.parent().is("optgroup")&&c.data("divider")!==!0){if(0===c.index()){f+=1;var p=c.parent().attr("label"),q="undefined"!=typeof c.parent().data("subtext")?''+c.parent().data("subtext")+"":"",r=c.parent().data("icon")?' ':"";p=r+''+p+q+"",0!==b&&e.length>0&&e.push(h("",null,"divider",f+"div")),e.push(h(p,null,"dropdown-header",f))}e.push(h(i(k,"opt "+g,j,l),b,"",f))}else c.data("divider")===!0?e.push(h("",b,"divider")):c.data("hidden")===!0?e.push(h(i(k,g,j,l),b,"hidden is-hidden")):(c.prev().is("optgroup")&&e.push(h("",null,"divider",f+"div")),e.push(h(i(k,g,j,l),b)))}}),this.multiple||0!==this.$element.find("option:selected").length||this.options.title||this.$element.find("option").eq(0).prop("selected",!0).attr("selected","selected"),a(e.join(""))},findLis:function(){return null==this.$lis&&(this.$lis=this.$menu.find("li")),this.$lis},render:function(b){var c=this;b!==!1&&this.$element.find("option").each(function(b){c.setDisabled(b,a(this).is(":disabled")||a(this).parent().is(":disabled")),c.setSelected(b,a(this).is(":selected"))}),this.tabIndex();var d=this.options.hideDisabled?":enabled":"",e=this.$element.find("option:selected"+d).map(function(){var b,d=a(this),e=d.data("icon")&&c.options.showIcon?' ':"";return b=c.options.showSubtext&&d.data("subtext")&&!c.multiple?' '+d.data("subtext")+"":"","undefined"!=typeof d.attr("title")?d.attr("title"):d.data("content")&&c.options.showContent?d.data("content"):e+d.html()+b}).toArray(),f=this.multiple?e.join(this.options.multipleSeparator):e[0];if(this.multiple&&this.options.selectedTextFormat.indexOf("count")>-1){var g=this.options.selectedTextFormat.split(">");if(g.length>1&&e.length>g[1]||1==g.length&&e.length>=2){d=this.options.hideDisabled?", [disabled]":"";var h=this.$element.find("option").not('[data-divider="true"], [data-hidden="true"]'+d).length,i="function"==typeof this.options.countSelectedText?this.options.countSelectedText(e.length,h):this.options.countSelectedText;f=i.replace("{0}",e.length.toString()).replace("{1}",h.toString())}}void 0==this.options.title&&(this.options.title=this.$element.attr("title")),"static"==this.options.selectedTextFormat&&(f=this.options.title),f||(f="undefined"!=typeof this.options.title?this.options.title:this.options.noneSelectedText),this.$button.attr("title",a.trim(f.replace(/<[^>]*>?/g,""))),this.$button.children(".filter-option").html(f),this.$element.trigger("rendered.bs.select")},setStyle:function(a,b){this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|validate\[.*\]/gi,""));var c=a?a:this.options.style;"add"==b?this.$button.addClass(c):"remove"==b?this.$button.removeClass(c):(this.$button.removeClass(this.options.style),this.$button.addClass(c))},liHeight:function(){if(this.options.size!==!1){var a=this.$menu.parent().clone().children(".dropdown-toggle").prop("autofocus",!1).end().appendTo("body"),b=a.addClass("open").children(".dropdown-menu"),c=b.find("li").not(".divider, .dropdown-header").filter(":visible").children("a").outerHeight(),d=this.options.header?b.find(".popover-title").outerHeight():0,e=this.options.liveSearch?b.find(".bs-searchbox").outerHeight():0,f=this.options.actionsBox?b.find(".bs-actionsbox").outerHeight():0,g=this.multiple?b.find(".bs-donebutton").outerHeight():0;a.remove(),this.$newElement.data("liHeight",c).data("headerHeight",d).data("searchHeight",e).data("actionsHeight",f).data("doneButtonHeight",g)}},setSize:function(){this.findLis();var b,c,d,e=this,f=this.$menu,g=f.children(".inner"),h=this.$newElement.outerHeight(),i=this.$newElement.data("liHeight"),j=this.$newElement.data("headerHeight"),k=this.$newElement.data("searchHeight"),l=this.$newElement.data("actionsHeight"),m=this.$newElement.data("doneButtonHeight"),n=this.$lis.filter(".divider").outerHeight(!0),o=parseInt(f.css("padding-top"))+parseInt(f.css("padding-bottom"))+parseInt(f.css("border-top-width"))+parseInt(f.css("border-bottom-width")),p=this.options.hideDisabled?".disabled":"",q=a(window),r=o+parseInt(f.css("margin-top"))+parseInt(f.css("margin-bottom"))+2,s=function(){c=e.$newElement.offset().top-q.scrollTop(),d=q.height()-c-h};if(s(),this.options.header&&f.css("padding-top",0),"auto"==this.options.size){var t=function(){var a,h=e.$lis.not(".hidden");s(),b=d-r,e.options.dropupAuto&&e.$newElement.toggleClass("dropup",c>d&&b-r3?3*i+r-2:0,f.css({"max-height":b+"px",overflow:"hidden","min-height":a+j+k+l+m+"px"}),g.css({"max-height":b-j-k-l-m-o+"px","overflow-y":"auto","min-height":Math.max(a-o,0)+"px"})};t(),this.$searchbox.off("input.getSize propertychange.getSize").on("input.getSize propertychange.getSize",t),q.off("resize.getSize scroll.getSize").on("resize.getSize scroll.getSize",t)}else if(this.options.size&&"auto"!=this.options.size&&f.find("li").not(p).length>this.options.size){var u=this.$lis.not(".divider").not(p).children().slice(0,this.options.size).last().parent().index(),v=this.$lis.slice(0,u+1).filter(".divider").length;b=i*this.options.size+v*n+o,e.options.dropupAuto&&this.$newElement.toggleClass("dropup",c>d&&b-r",f=a(e),g=function(a){f.addClass(a.attr("class").replace(/form-control/gi,"")).toggleClass("dropup",a.hasClass("dropup")),b=a.offset(),c=a.hasClass("dropup")?0:a[0].offsetHeight,f.css({top:b.top+c,left:b.left,width:a[0].offsetWidth,position:"absolute"})};this.$newElement.on("click",function(){d.isDisabled()||(g(a(this)),f.appendTo(d.options.container),f.toggleClass("open",!a(this).hasClass("open")),f.append(d.$menu))}),a(window).on("resize scroll",function(){g(d.$newElement)}),a("html").on("click",function(b){a(b.target).closest(d.$newElement).length<1&&f.removeClass("open")})},setSelected:function(a,b){this.findLis(),this.$lis.filter('[data-original-index="'+a+'"]').toggleClass("selected",b)},setDisabled:function(a,b){this.findLis(),b?this.$lis.filter('[data-original-index="'+a+'"]').addClass("disabled").children("a").attr("href","#").attr("tabindex",-1):this.$lis.filter('[data-original-index="'+a+'"]').removeClass("disabled").children("a").removeAttr("href").attr("tabindex",0)},isDisabled:function(){return this.$element.is(":disabled")},checkDisabled:function(){var a=this;this.isDisabled()?this.$button.addClass("disabled").attr("tabindex",-1):(this.$button.hasClass("disabled")&&this.$button.removeClass("disabled"),-1!=this.$button.attr("tabindex")||this.$element.data("tabindex")||this.$button.removeAttr("tabindex")),this.$button.click(function(){return!a.isDisabled()})},tabIndex:function(){this.$element.is("[tabindex]")&&(this.$element.data("tabindex",this.$element.attr("tabindex")),this.$button.attr("tabindex",this.$element.data("tabindex")))},clickListener:function(){var b=this,c=a(document);this.$newElement.on("touchstart.dropdown",".dropdown-menu",function(a){a.stopPropagation()}),c.data("spaceSelect",!1),this.$button.on("keyup",function(a){/(32)/.test(a.keyCode.toString(10))&&c.data("spaceSelect")&&(a.preventDefault(),c.data("spaceSelect",!1))}),this.$newElement.on("click",function(){b.setSize(),b.options.liveSearch||b.multiple||setTimeout(function(){b.$menu.find(".selected a").focus()},10)}),this.$menu.on("click","li a",function(c){var d=a(this),e=d.parent().data("originalIndex"),f=b.$element.val(),g=b.$element.prop("selectedIndex");if(b.multiple&&c.stopPropagation(),c.preventDefault(),!b.isDisabled()&&!d.parent().hasClass("disabled")){var h=b.$element.find("option"),i=h.eq(e),j=i.prop("selected"),k=i.parent("optgroup"),l=b.options.maxOptions,m=k.data("maxOptions")||!1;if(b.multiple){if(i.prop("selected",!j),b.setSelected(e,!j),d.blur(),l!==!1||m!==!1){var n=l');q[2]&&(r=r.replace("{var}",q[2][l>1?0:1]),s=s.replace("{var}",q[2][m>1?0:1])),i.prop("selected",!1),b.$menu.append(t),l&&n&&(t.append(a("
    "+r+"
    ")),b.$element.trigger("maxReached.bs.select")),m&&o&&(t.append(a("
    "+s+"
    ")),b.$element.trigger("maxReachedGrp.bs.select")),setTimeout(function(){b.setSelected(e,!1)},10),t.delay(750).fadeOut(300,function(){a(this).remove()})}}}else h.prop("selected",!1),i.prop("selected",!0),b.$menu.find(".selected").removeClass("selected"),b.setSelected(e,!0);b.multiple?b.options.liveSearch&&b.$searchbox.focus():b.$button.focus(),(f!=b.$element.val()&&b.multiple||g!=b.$element.prop("selectedIndex")&&!b.multiple)&&(b.$element.change(),b.$element.trigger("changed.bs.select",[e,i.prop("selected"),j]))}}),this.$menu.on("click","li.disabled a, .popover-title, .popover-title :not(.close)",function(c){c.currentTarget==this&&(c.preventDefault(),c.stopPropagation(),b.options.liveSearch&&!a(c.target).hasClass("close")?b.$searchbox.focus():b.$button.focus())}),this.$menu.on("click","li.divider, li.dropdown-header",function(a){a.preventDefault(),a.stopPropagation(),b.options.liveSearch?b.$searchbox.focus():b.$button.focus()}),this.$menu.on("click",".popover-title .close",function(){b.$button.click()}),this.$searchbox.on("click",function(a){a.stopPropagation()}),this.$menu.on("click",".actions-btn",function(c){b.options.liveSearch?b.$searchbox.focus():b.$button.focus(),c.preventDefault(),c.stopPropagation(),a(this).hasClass("bs-select-all")?b.selectAll():b.deselectAll(),b.$element.change()}),this.$element.change(function(){b.render(!1)})},liveSearchListener:function(){var d=this,e=a('
  • ');this.$newElement.on("click.dropdown.data-api touchstart.dropdown.data-api",function(){d.$menu.find(".active").removeClass("active"),d.$searchbox.val()&&(d.$searchbox.val(""),d.$lis.not(".is-hidden").removeClass("hidden"),e.parent().length&&e.remove()),d.multiple||d.$menu.find(".selected").addClass("active"),setTimeout(function(){d.$searchbox.focus()},10)}),this.$searchbox.on("click.dropdown.data-api focus.dropdown.data-api touchend.dropdown.data-api",function(a){a.stopPropagation()}),this.$searchbox.on("input propertychange",function(){if(d.$searchbox.val()){var f=d.$lis.not(".is-hidden").removeClass("hidden").children("a");f=f.not(d.options.liveSearchNormalize?":a"+d._searchStyle()+"("+b(d.$searchbox.val())+")":":"+d._searchStyle()+"("+d.$searchbox.val()+")"),f.parent().addClass("hidden"),d.$lis.filter(".dropdown-header").each(function(){var b=a(this),c=b.data("optgroup");0===d.$lis.filter("[data-optgroup="+c+"]").not(b).not(".hidden").length&&(b.addClass("hidden"),d.$lis.filter("[data-optgroup="+c+"div]").addClass("hidden"))});var g=d.$lis.not(".hidden");g.each(function(b){var c=a(this);c.hasClass("divider")&&(c.index()===g.eq(0).index()||c.index()===g.last().index()||g.eq(b+1).hasClass("divider"))&&c.addClass("hidden")}),d.$lis.not(".hidden, .no-results").length?e.parent().length&&e.remove():(e.parent().length&&e.remove(),e.html(d.options.noneResultsText.replace("{0}",'"'+c(d.$searchbox.val())+'"')).show(),d.$menu.append(e))}else d.$lis.not(".is-hidden").removeClass("hidden"),e.parent().length&&e.remove();d.$lis.filter(".active").removeClass("active"),d.$lis.not(".hidden, .divider, .dropdown-header").eq(0).addClass("active").children("a").focus(),a(this).focus()})},_searchStyle:function(){var a="icontains";switch(this.options.liveSearchStyle){case"begins":case"startsWith":a="ibegins";break;case"contains":}return a},val:function(a){return"undefined"!=typeof a?(this.$element.val(a),this.render(),this.$element):this.$element.val()},selectAll:function(){this.findLis(),this.$element.find("option:enabled").not("[data-divider], [data-hidden]").prop("selected",!0),this.$lis.not(".divider, .dropdown-header, .disabled, .hidden").addClass("selected"),this.render(!1)},deselectAll:function(){this.findLis(),this.$element.find("option:enabled").not("[data-divider], [data-hidden]").prop("selected",!1),this.$lis.not(".divider, .dropdown-header, .disabled, .hidden").removeClass("selected"),this.render(!1)},keydown:function(c){var d,e,f,g,h,i,j,k,l,m=a(this),n=m.is("input")?m.parent().parent():m.parent(),o=n.data("this"),p=":not(.disabled, .hidden, .dropdown-header, .divider)",q={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",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"};if(o.options.liveSearch&&(n=m.parent().parent()),o.options.container&&(n=o.$menu),d=a("[role=menu] li a",n),l=o.$menu.parent().hasClass("open"),!l&&/([0-9]|[A-z])/.test(String.fromCharCode(c.keyCode))&&(o.options.container?o.$newElement.trigger("click"):(o.setSize(),o.$menu.parent().addClass("open"),l=!0),o.$searchbox.focus()),o.options.liveSearch&&(/(^9$|27)/.test(c.keyCode.toString(10))&&l&&0===o.$menu.find(".active").length&&(c.preventDefault(),o.$menu.parent().removeClass("open"),o.$button.focus()),d=a("[role=menu] li:not(.disabled, .hidden, .dropdown-header, .divider)",n),m.val()||/(38|40)/.test(c.keyCode.toString(10))||0===d.filter(".active").length&&(d=o.$newElement.find("li"),d=d.filter(o.options.liveSearchNormalize?":a"+o._searchStyle()+"("+b(q[c.keyCode])+")":":"+o._searchStyle()+"("+q[c.keyCode]+")"))),d.length){if(/(38|40)/.test(c.keyCode.toString(10)))e=d.index(d.filter(":focus")),g=d.parent(p).first().data("originalIndex"),h=d.parent(p).last().data("originalIndex"),f=d.eq(e).parent().nextAll(p).eq(0).data("originalIndex"),i=d.eq(e).parent().prevAll(p).eq(0).data("originalIndex"),j=d.eq(f).parent().prevAll(p).eq(0).data("originalIndex"),o.options.liveSearch&&(d.each(function(b){a(this).hasClass("disabled")||a(this).data("index",b)}),e=d.index(d.filter(".active")),g=d.first().data("index"),h=d.last().data("index"),f=d.eq(e).nextAll().eq(0).data("index"),i=d.eq(e).prevAll().eq(0).data("index"),j=d.eq(f).prevAll().eq(0).data("index")),k=m.data("prevIndex"),38==c.keyCode?(o.options.liveSearch&&(e-=1),e!=j&&e>i&&(e=i),g>e&&(e=g),e==k&&(e=h)):40==c.keyCode&&(o.options.liveSearch&&(e+=1),-1==e&&(e=0),e!=j&&f>e&&(e=f),e>h&&(e=h),e==k&&(e=g)),m.data("prevIndex",e),o.options.liveSearch?(c.preventDefault(),m.hasClass("dropdown-toggle")||(d.removeClass("active").eq(e).addClass("active").children("a").focus(),m.focus())):d.eq(e).focus();else if(!m.is("input")){var r,s,t=[];d.each(function(){a(this).parent().hasClass("disabled")||a.trim(a(this).text().toLowerCase()).substring(0,1)==q[c.keyCode]&&t.push(a(this).parent().index())}),r=a(document).data("keycount"),r++,a(document).data("keycount",r),s=a.trim(a(":focus").text().toLowerCase()).substring(0,1),s!=q[c.keyCode]?(r=1,a(document).data("keycount",r)):r>=t.length&&(a(document).data("keycount",0),r>t.length&&(r=1)),d.eq(t[r-1]).focus()}if((/(13|32)/.test(c.keyCode.toString(10))||/(^9$)/.test(c.keyCode.toString(10))&&o.options.selectOnTab)&&l){if(/(32)/.test(c.keyCode.toString(10))||c.preventDefault(),o.options.liveSearch)/(32)/.test(c.keyCode.toString(10))||(o.$menu.find(".active a").click(),m.focus());else{var u=a(":focus");u.click(),u.focus(),c.preventDefault(),a(document).data("spaceSelect",!0)}a(document).data("keycount",0)}(/(^9$|27)/.test(c.keyCode.toString(10))&&l&&(o.multiple||o.options.liveSearch)||/(27)/.test(c.keyCode.toString(10))&&!l)&&(o.$menu.parent().removeClass("open"),o.$button.focus())}},mobile:function(){this.$element.addClass("mobile-device").appendTo(this.$newElement),this.options.container&&this.$menu.hide()},refresh:function(){this.$lis=null,this.reloadLi(),this.render(),this.setWidth(),this.setStyle(),this.checkDisabled(),this.liHeight(),this.$element.trigger("refreshed.bs.select")},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()}};var f=a.fn.selectpicker;a.fn.selectpicker=d,a.fn.selectpicker.Constructor=e,a.fn.selectpicker.noConflict=function(){return a.fn.selectpicker=f,this},a(document).data("keycount",0).on("keydown",".bootstrap-select [data-toggle=dropdown], .bootstrap-select [role=menu], .bs-searchbox input",e.prototype.keydown).on("focusin.modal",".bootstrap-select [data-toggle=dropdown], .bootstrap-select [role=menu], .bs-searchbox input",function(a){a.stopPropagation()}),a(window).on("load.bs.select.data-api",function(){a(".selectpicker").each(function(){var b=a(this);d.call(b,b.data())})})}(jQuery); //# sourceMappingURL=bootstrap-select.js.map \ No newline at end of file diff --git a/dist/js/i18n/defaults-bg_BG.js b/dist/js/i18n/defaults-bg_BG.js index f3ab92ea3..5bbdab132 100644 --- a/dist/js/i18n/defaults-bg_BG.js +++ b/dist/js/i18n/defaults-bg_BG.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-bg_BG.min.js b/dist/js/i18n/defaults-bg_BG.min.js index b5c298d85..fa00120a1 100644 --- a/dist/js/i18n/defaults-bg_BG.min.js +++ b/dist/js/i18n/defaults-bg_BG.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-cs_CZ.js b/dist/js/i18n/defaults-cs_CZ.js index ce2cced40..0f2aedeba 100644 --- a/dist/js/i18n/defaults-cs_CZ.js +++ b/dist/js/i18n/defaults-cs_CZ.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-cs_CZ.min.js b/dist/js/i18n/defaults-cs_CZ.min.js index fdfa1716a..12d27ba1e 100644 --- a/dist/js/i18n/defaults-cs_CZ.min.js +++ b/dist/js/i18n/defaults-cs_CZ.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-de_DE.js b/dist/js/i18n/defaults-de_DE.js index 31310bac6..e2ba6492b 100644 --- a/dist/js/i18n/defaults-de_DE.js +++ b/dist/js/i18n/defaults-de_DE.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-de_DE.min.js b/dist/js/i18n/defaults-de_DE.min.js index 98156930a..8c36a50a8 100644 --- a/dist/js/i18n/defaults-de_DE.min.js +++ b/dist/js/i18n/defaults-de_DE.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-en_US.js b/dist/js/i18n/defaults-en_US.js index b9f75624b..e40f53cbd 100644 --- a/dist/js/i18n/defaults-en_US.js +++ b/dist/js/i18n/defaults-en_US.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-en_US.min.js b/dist/js/i18n/defaults-en_US.min.js index d851115bb..bc5a13949 100644 --- a/dist/js/i18n/defaults-en_US.min.js +++ b/dist/js/i18n/defaults-en_US.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-es_CL.js b/dist/js/i18n/defaults-es_CL.js index 3ede54d4e..0e2d10f1e 100644 --- a/dist/js/i18n/defaults-es_CL.js +++ b/dist/js/i18n/defaults-es_CL.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-es_CL.min.js b/dist/js/i18n/defaults-es_CL.min.js index 3473283ac..493a860fb 100644 --- a/dist/js/i18n/defaults-es_CL.min.js +++ b/dist/js/i18n/defaults-es_CL.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-eu.js b/dist/js/i18n/defaults-eu.js index e49d61d4c..fe051ec01 100644 --- a/dist/js/i18n/defaults-eu.js +++ b/dist/js/i18n/defaults-eu.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-eu.min.js b/dist/js/i18n/defaults-eu.min.js index 5a91b9ee9..244349c75 100644 --- a/dist/js/i18n/defaults-eu.min.js +++ b/dist/js/i18n/defaults-eu.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-fa_IR.js b/dist/js/i18n/defaults-fa_IR.js index 4b5313b0a..1a111cccb 100644 --- a/dist/js/i18n/defaults-fa_IR.js +++ b/dist/js/i18n/defaults-fa_IR.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-fa_IR.min.js b/dist/js/i18n/defaults-fa_IR.min.js index 77e21792f..5a562cbd6 100644 --- a/dist/js/i18n/defaults-fa_IR.min.js +++ b/dist/js/i18n/defaults-fa_IR.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-fr_FR.js b/dist/js/i18n/defaults-fr_FR.js index 230946b7c..8abc36a5d 100644 --- a/dist/js/i18n/defaults-fr_FR.js +++ b/dist/js/i18n/defaults-fr_FR.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-fr_FR.min.js b/dist/js/i18n/defaults-fr_FR.min.js index 57301c1db..df919cca0 100644 --- a/dist/js/i18n/defaults-fr_FR.min.js +++ b/dist/js/i18n/defaults-fr_FR.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-hu_HU.js b/dist/js/i18n/defaults-hu_HU.js index db2bbe80f..362a899bc 100644 --- a/dist/js/i18n/defaults-hu_HU.js +++ b/dist/js/i18n/defaults-hu_HU.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-hu_HU.min.js b/dist/js/i18n/defaults-hu_HU.min.js index f7ae78891..16aaa3a5c 100644 --- a/dist/js/i18n/defaults-hu_HU.min.js +++ b/dist/js/i18n/defaults-hu_HU.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-it_IT.js b/dist/js/i18n/defaults-it_IT.js index e2e4e2636..e3bf59c83 100644 --- a/dist/js/i18n/defaults-it_IT.js +++ b/dist/js/i18n/defaults-it_IT.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-it_IT.min.js b/dist/js/i18n/defaults-it_IT.min.js index da1001624..ca0b96a12 100644 --- a/dist/js/i18n/defaults-it_IT.min.js +++ b/dist/js/i18n/defaults-it_IT.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-nl_NL.js b/dist/js/i18n/defaults-nl_NL.js index d9f17cf57..222bca7ff 100644 --- a/dist/js/i18n/defaults-nl_NL.js +++ b/dist/js/i18n/defaults-nl_NL.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-nl_NL.min.js b/dist/js/i18n/defaults-nl_NL.min.js index 4fea1b851..9c43a7d73 100644 --- a/dist/js/i18n/defaults-nl_NL.min.js +++ b/dist/js/i18n/defaults-nl_NL.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-pl_PL.js b/dist/js/i18n/defaults-pl_PL.js index bc4918abe..4329554f5 100644 --- a/dist/js/i18n/defaults-pl_PL.js +++ b/dist/js/i18n/defaults-pl_PL.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-pl_PL.min.js b/dist/js/i18n/defaults-pl_PL.min.js index fc132b305..4e3b9fda2 100644 --- a/dist/js/i18n/defaults-pl_PL.min.js +++ b/dist/js/i18n/defaults-pl_PL.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-pt_BR.js b/dist/js/i18n/defaults-pt_BR.js index e2562c613..c7eec2a55 100644 --- a/dist/js/i18n/defaults-pt_BR.js +++ b/dist/js/i18n/defaults-pt_BR.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-pt_BR.min.js b/dist/js/i18n/defaults-pt_BR.min.js index 79a1bf76b..3dd43668d 100644 --- a/dist/js/i18n/defaults-pt_BR.min.js +++ b/dist/js/i18n/defaults-pt_BR.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-pt_PT.js b/dist/js/i18n/defaults-pt_PT.js index bee3e502b..9114370c7 100644 --- a/dist/js/i18n/defaults-pt_PT.js +++ b/dist/js/i18n/defaults-pt_PT.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-pt_PT.min.js b/dist/js/i18n/defaults-pt_PT.min.js index 617cf23f3..1947c1540 100644 --- a/dist/js/i18n/defaults-pt_PT.min.js +++ b/dist/js/i18n/defaults-pt_PT.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-ro_RO.js b/dist/js/i18n/defaults-ro_RO.js index d2db3d225..71e83790c 100644 --- a/dist/js/i18n/defaults-ro_RO.js +++ b/dist/js/i18n/defaults-ro_RO.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-ro_RO.min.js b/dist/js/i18n/defaults-ro_RO.min.js index c39badc33..6a7df839d 100644 --- a/dist/js/i18n/defaults-ro_RO.min.js +++ b/dist/js/i18n/defaults-ro_RO.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-ru_RU.js b/dist/js/i18n/defaults-ru_RU.js index e12690a27..71836da5b 100644 --- a/dist/js/i18n/defaults-ru_RU.js +++ b/dist/js/i18n/defaults-ru_RU.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-ru_RU.min.js b/dist/js/i18n/defaults-ru_RU.min.js index 4bed2db77..2818ebaf7 100644 --- a/dist/js/i18n/defaults-ru_RU.min.js +++ b/dist/js/i18n/defaults-ru_RU.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-sl_SI.js b/dist/js/i18n/defaults-sl_SI.js index c16ef3441..d7afc4bc7 100644 --- a/dist/js/i18n/defaults-sl_SI.js +++ b/dist/js/i18n/defaults-sl_SI.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-sl_SI.min.js b/dist/js/i18n/defaults-sl_SI.min.js index cb46eb9ee..9ba478cdb 100644 --- a/dist/js/i18n/defaults-sl_SI.min.js +++ b/dist/js/i18n/defaults-sl_SI.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-sv_SE.js b/dist/js/i18n/defaults-sv_SE.js index 93bba3b48..b5f799ebf 100644 --- a/dist/js/i18n/defaults-sv_SE.js +++ b/dist/js/i18n/defaults-sv_SE.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-sv_SE.min.js b/dist/js/i18n/defaults-sv_SE.min.js index 2d7929268..263e5115c 100644 --- a/dist/js/i18n/defaults-sv_SE.min.js +++ b/dist/js/i18n/defaults-sv_SE.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-tr_TR.js b/dist/js/i18n/defaults-tr_TR.js index b0a5c5f61..996f06b98 100644 --- a/dist/js/i18n/defaults-tr_TR.js +++ b/dist/js/i18n/defaults-tr_TR.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-tr_TR.min.js b/dist/js/i18n/defaults-tr_TR.min.js index 9bee2c4ea..21ab83ec6 100644 --- a/dist/js/i18n/defaults-tr_TR.min.js +++ b/dist/js/i18n/defaults-tr_TR.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-ua_UA.js b/dist/js/i18n/defaults-ua_UA.js index d5a86a86c..044b7c763 100644 --- a/dist/js/i18n/defaults-ua_UA.js +++ b/dist/js/i18n/defaults-ua_UA.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-ua_UA.min.js b/dist/js/i18n/defaults-ua_UA.min.js index e6fb1fddb..97a02a715 100644 --- a/dist/js/i18n/defaults-ua_UA.min.js +++ b/dist/js/i18n/defaults-ua_UA.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-zh_CN.js b/dist/js/i18n/defaults-zh_CN.js index bb52fb594..127566d12 100644 --- a/dist/js/i18n/defaults-zh_CN.js +++ b/dist/js/i18n/defaults-zh_CN.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-zh_CN.min.js b/dist/js/i18n/defaults-zh_CN.min.js index 87ec37913..c565b842a 100644 --- a/dist/js/i18n/defaults-zh_CN.min.js +++ b/dist/js/i18n/defaults-zh_CN.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-zh_TW.js b/dist/js/i18n/defaults-zh_TW.js index 1cf23156e..3532ab10c 100644 --- a/dist/js/i18n/defaults-zh_TW.js +++ b/dist/js/i18n/defaults-zh_TW.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/dist/js/i18n/defaults-zh_TW.min.js b/dist/js/i18n/defaults-zh_TW.min.js index 19e072551..7b3716852 100644 --- a/dist/js/i18n/defaults-zh_TW.min.js +++ b/dist/js/i18n/defaults-zh_TW.min.js @@ -1,5 +1,5 @@ /*! - * Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select) + * Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js index 0238b6f6a..fd16025fb 100644 --- a/js/bootstrap-select.js +++ b/js/bootstrap-select.js @@ -219,7 +219,7 @@ this.init(); }; - Selectpicker.VERSION = '1.6.5'; + Selectpicker.VERSION = '1.7.0'; // part of this is duplicated in i18n/defaults-en_US.js. Make sure to update both. Selectpicker.DEFAULTS = { diff --git a/package.json b/package.json index db6b7ddf5..251e8c63f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "title": "bootstrap-select", "main": "dist/js/bootstrap-select.js", "description": "A custom