bootstrap-select-wrapper-rails 1.5.7 → 1.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bootstrap/select/wrapper/rails.rb +12 -12
  3. data/lib/bootstrap/select/wrapper/rails/version.rb +9 -9
  4. data/vendor/README.md +61 -61
  5. data/vendor/assets/javascripts/bootstrap-select.js +1215 -972
  6. data/vendor/assets/javascripts/bootstrap-select.min.js +8 -8
  7. data/vendor/assets/javascripts/i18n/defaults-cs_CZ.js +15 -0
  8. data/vendor/assets/javascripts/i18n/defaults-cs_CZ.min.js +7 -0
  9. data/vendor/assets/javascripts/i18n/defaults-de_DE.js +15 -0
  10. data/vendor/assets/javascripts/i18n/defaults-de_DE.min.js +7 -0
  11. data/vendor/assets/javascripts/i18n/defaults-en_US.js +26 -0
  12. data/vendor/assets/javascripts/i18n/defaults-en_US.min.js +7 -0
  13. data/vendor/assets/javascripts/i18n/defaults-es_CL.js +15 -0
  14. data/vendor/assets/javascripts/i18n/defaults-es_CL.min.js +7 -0
  15. data/vendor/assets/javascripts/i18n/defaults-eu.js +15 -0
  16. data/vendor/assets/javascripts/i18n/defaults-eu.min.js +7 -0
  17. data/vendor/assets/javascripts/i18n/defaults-fr_FR.js +24 -0
  18. data/vendor/assets/javascripts/i18n/defaults-fr_FR.min.js +7 -0
  19. data/vendor/assets/javascripts/i18n/defaults-it_IT.js +15 -0
  20. data/vendor/assets/javascripts/i18n/defaults-it_IT.min.js +7 -0
  21. data/vendor/assets/javascripts/i18n/defaults-nl_NL.js +15 -0
  22. data/vendor/assets/javascripts/i18n/defaults-nl_NL.min.js +7 -0
  23. data/vendor/assets/javascripts/i18n/defaults-pl_PL.js +17 -0
  24. data/vendor/assets/javascripts/i18n/defaults-pl_PL.min.js +7 -0
  25. data/vendor/assets/javascripts/i18n/defaults-pt_BR.js +15 -0
  26. data/vendor/assets/javascripts/i18n/defaults-pt_BR.min.js +7 -0
  27. data/vendor/assets/javascripts/i18n/defaults-ro_RO.js +15 -0
  28. data/vendor/assets/javascripts/i18n/defaults-ro_RO.min.js +7 -0
  29. data/vendor/assets/javascripts/i18n/defaults-ru_RU.js +15 -0
  30. data/vendor/assets/javascripts/i18n/defaults-ru_RU.min.js +7 -0
  31. data/vendor/assets/javascripts/i18n/defaults-ua_UA.js +15 -0
  32. data/vendor/assets/javascripts/i18n/defaults-ua_UA.min.js +7 -0
  33. data/vendor/assets/javascripts/i18n/defaults-zh_CN.js +15 -0
  34. data/vendor/assets/javascripts/i18n/defaults-zh_CN.min.js +7 -0
  35. data/vendor/assets/javascripts/i18n/defaults-zh_TW.js +17 -0
  36. data/vendor/assets/javascripts/i18n/defaults-zh_TW.min.js +7 -0
  37. data/vendor/assets/stylesheets/bootstrap-select.css +260 -309
  38. data/vendor/assets/stylesheets/bootstrap-select.min.css +6 -7
  39. metadata +33 -3
@@ -1,8 +1,8 @@
1
- /*!
2
- * bootstrap-select v1.5.4
3
- * http://silviomoreto.github.io/bootstrap-select/
4
- *
5
- * Copyright 2013 bootstrap-select
6
- * Licensed under the MIT license
7
- */
8
- ;!function(b){b.expr[":"].icontains=function(e,c,d){return b(e).text().toUpperCase().indexOf(d[3].toUpperCase())>=0};var a=function(d,c,f){if(f){f.stopPropagation();f.preventDefault()}this.$element=b(d);this.$newElement=null;this.$button=null;this.$menu=null;this.$lis=null;this.options=b.extend({},b.fn.selectpicker.defaults,this.$element.data(),typeof c=="object"&&c);if(this.options.title===null){this.options.title=this.$element.attr("title")}this.val=a.prototype.val;this.render=a.prototype.render;this.refresh=a.prototype.refresh;this.setStyle=a.prototype.setStyle;this.selectAll=a.prototype.selectAll;this.deselectAll=a.prototype.deselectAll;this.init()};a.prototype={constructor:a,init:function(){var c=this,d=this.$element.attr("id");this.$element.hide();this.multiple=this.$element.prop("multiple");this.autofocus=this.$element.prop("autofocus");this.$newElement=this.createView();this.$element.after(this.$newElement);this.$menu=this.$newElement.find("> .dropdown-menu");this.$button=this.$newElement.find("> button");this.$searchbox=this.$newElement.find("input");if(d!==undefined){this.$button.attr("data-id",d);b('label[for="'+d+'"]').click(function(f){f.preventDefault();c.$button.focus()})}this.checkDisabled();this.clickListener();if(this.options.liveSearch){this.liveSearchListener()}this.render();this.liHeight();this.setStyle();this.setWidth();if(this.options.container){this.selectPosition()}this.$menu.data("this",this);this.$newElement.data("this",this)},createDropdown:function(){var c=this.multiple?" show-tick":"";var d=this.$element.parent().hasClass("input-group")?" input-group-btn":"";var i=this.autofocus?" autofocus":"";var h=this.options.header?'<div class="popover-title"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>":"";var g=this.options.liveSearch?'<div class="bootstrap-select-searchbox"><input type="text" class="input-block-level form-control" /></div>':"";var f=this.options.actionsBox?'<div class="bs-actionsbox"><div class="btn-group btn-block"><button class="actions-btn bs-select-all btn btn-sm btn-default">Select All</button><button class="actions-btn bs-deselect-all btn btn-sm btn-default">Deselect All</button></div></div>':"";var e='<div class="btn-group bootstrap-select'+c+d+'"><button type="button" class="btn dropdown-toggle selectpicker" data-toggle="dropdown"'+i+'><span class="filter-option pull-left"></span>&nbsp;<span class="caret"></span></button><div class="dropdown-menu open">'+h+g+f+'<ul class="dropdown-menu inner selectpicker" role="menu"></ul></div></div>';return b(e)},createView:function(){var c=this.createDropdown();var d=this.createLi();c.find("ul").append(d);return c},reloadLi:function(){this.destroyLi();var c=this.createLi();this.$menu.find("ul").append(c)},destroyLi:function(){this.$menu.find("li").remove()},createLi:function(){var d=this,e=[],c="";this.$element.find("option").each(function(){var i=b(this);var g=i.attr("class")||"";var h=i.attr("style")||"";var m=i.data("content")?i.data("content"):i.html();var k=i.data("subtext")!==undefined?'<small class="muted text-muted">'+i.data("subtext")+"</small>":"";var j=i.data("icon")!==undefined?'<i class="'+d.options.iconBase+" "+i.data("icon")+'"></i> ':"";if(j!==""&&(i.is(":disabled")||i.parent().is(":disabled"))){j="<span>"+j+"</span>"}if(!i.data("content")){m=j+'<span class="text">'+m+k+"</span>"}if(d.options.hideDisabled&&(i.is(":disabled")||i.parent().is(":disabled"))){e.push('<a style="min-height: 0; padding: 0"></a>')}else{if(i.parent().is("optgroup")&&i.data("divider")!==true){if(i.index()===0){var l=i.parent().attr("label");var n=i.parent().data("subtext")!==undefined?'<small class="muted text-muted">'+i.parent().data("subtext")+"</small>":"";var f=i.parent().data("icon")?'<i class="'+i.parent().data("icon")+'"></i> ':"";l=f+'<span class="text">'+l+n+"</span>";if(i[0].index!==0){e.push('<div class="div-contain"><div class="divider"></div></div><dt>'+l+"</dt>"+d.createA(m,"opt "+g,h))}else{e.push("<dt>"+l+"</dt>"+d.createA(m,"opt "+g,h))}}else{e.push(d.createA(m,"opt "+g,h))}}else{if(i.data("divider")===true){e.push('<div class="div-contain"><div class="divider"></div></div>')}else{if(b(this).data("hidden")===true){e.push("<a></a>")}else{e.push(d.createA(m,g,h))}}}}});b.each(e,function(g,h){var f=h==="<a></a>"?'class="hide is-hidden"':"";c+='<li rel="'+g+'"'+f+">"+h+"</li>"});if(!this.multiple&&this.$element.find("option:selected").length===0&&!this.options.title){this.$element.find("option").eq(0).prop("selected",true).attr("selected","selected")}return b(c)},createA:function(e,c,d){return'<a tabindex="0" class="'+c+'" style="'+d+'">'+e+'<i class="'+this.options.iconBase+" "+this.options.tickIcon+' icon-ok check-mark"></i></a>'},render:function(e){var d=this;if(e!==false){this.$element.find("option").each(function(i){d.setDisabled(i,b(this).is(":disabled")||b(this).parent().is(":disabled"));d.setSelected(i,b(this).is(":selected"))})}this.tabIndex();var h=this.$element.find("option:selected").map(function(){var k=b(this);var j=k.data("icon")&&d.options.showIcon?'<i class="'+d.options.iconBase+" "+k.data("icon")+'"></i> ':"";var i;if(d.options.showSubtext&&k.attr("data-subtext")&&!d.multiple){i=' <small class="muted text-muted">'+k.data("subtext")+"</small>"}else{i=""}if(k.data("content")&&d.options.showContent){return k.data("content")}else{if(k.attr("title")!==undefined){return k.attr("title")}else{return j+k.html()+i}}}).toArray();var g=!this.multiple?h[0]:h.join(this.options.multipleSeparator);if(this.multiple&&this.options.selectedTextFormat.indexOf("count")>-1){var c=this.options.selectedTextFormat.split(">");var f=this.options.hideDisabled?":not([disabled])":"";if((c.length>1&&h.length>c[1])||(c.length==1&&h.length>=2)){g=this.options.countSelectedText.replace("{0}",h.length).replace("{1}",this.$element.find('option:not([data-divider="true"]):not([data-hidden="true"])'+f).length)}}this.options.title=this.$element.attr("title");if(!g){g=this.options.title!==undefined?this.options.title:this.options.noneSelectedText}this.$button.attr("title",b.trim(g));this.$newElement.find(".filter-option").html(g)},setStyle:function(e,d){if(this.$element.attr("class")){this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device/gi,""))}var c=e?e:this.options.style;if(d=="add"){this.$button.addClass(c)}else{if(d=="remove"){this.$button.removeClass(c)}else{this.$button.removeClass(this.options.style);this.$button.addClass(c)}}},liHeight:function(){if(this.options.size===false){return}var f=this.$menu.parent().clone().find("> .dropdown-toggle").prop("autofocus",false).end().appendTo("body"),g=f.addClass("open").find("> .dropdown-menu"),e=g.find("li > a").outerHeight(),d=this.options.header?g.find(".popover-title").outerHeight():0,h=this.options.liveSearch?g.find(".bootstrap-select-searchbox").outerHeight():0,c=this.options.actionsBox?g.find(".bs-actionsbox").outerHeight():0;f.remove();this.$newElement.data("liHeight",e).data("headerHeight",d).data("searchHeight",h).data("actionsHeight",c)},setSize:function(){var i=this,d=this.$menu,j=d.find(".inner"),u=this.$newElement.outerHeight(),f=this.$newElement.data("liHeight"),s=this.$newElement.data("headerHeight"),m=this.$newElement.data("searchHeight"),h=this.$newElement.data("actionsHeight"),l=d.find("li .divider").outerHeight(true),r=parseInt(d.css("padding-top"))+parseInt(d.css("padding-bottom"))+parseInt(d.css("border-top-width"))+parseInt(d.css("border-bottom-width")),p=this.options.hideDisabled?":not(.disabled)":"",o=b(window),g=r+parseInt(d.css("margin-top"))+parseInt(d.css("margin-bottom"))+2,q,v,t,k=function(){v=i.$newElement.offset().top-o.scrollTop();t=o.height()-v-u};k();if(this.options.header){d.css("padding-top",0)}if(this.options.size=="auto"){var e=function(){var x,w=i.$lis.not(".hide");k();q=t-g;if(i.options.dropupAuto){i.$newElement.toggleClass("dropup",(v>t)&&((q-g)<d.height()))}if(i.$newElement.hasClass("dropup")){q=v-g}if((w.length+w.find("dt").length)>3){x=f*3+g-2}else{x=0}d.css({"max-height":q+"px",overflow:"hidden","min-height":x+s+m+h+"px"});j.css({"max-height":q-s-m-h-r+"px","overflow-y":"auto","min-height":Math.max(x-r,0)+"px"})};e();this.$searchbox.off("input.getSize propertychange.getSize").on("input.getSize propertychange.getSize",e);b(window).off("resize.getSize").on("resize.getSize",e);b(window).off("scroll.getSize").on("scroll.getSize",e)}else{if(this.options.size&&this.options.size!="auto"&&d.find("li"+p).length>this.options.size){var n=d.find("li"+p+" > *").filter(":not(.div-contain)").slice(0,this.options.size).last().parent().index();var c=d.find("li").slice(0,n+1).find(".div-contain").length;q=f*this.options.size+c*l+r;if(i.options.dropupAuto){this.$newElement.toggleClass("dropup",(v>t)&&(q<d.height()))}d.css({"max-height":q+s+m+h+"px",overflow:"hidden"});j.css({"max-height":q-r+"px","overflow-y":"auto"})}}},setWidth:function(){if(this.options.width=="auto"){this.$menu.css("min-width","0");var e=this.$newElement.clone().appendTo("body");var c=e.find("> .dropdown-menu").css("width");var d=e.css("width","auto").find("> button").css("width");e.remove();this.$newElement.css("width",Math.max(parseInt(c),parseInt(d))+"px")}else{if(this.options.width=="fit"){this.$menu.css("min-width","");this.$newElement.css("width","").addClass("fit-width")}else{if(this.options.width){this.$menu.css("min-width","");this.$newElement.css("width",this.options.width)}else{this.$menu.css("min-width","");this.$newElement.css("width","")}}}if(this.$newElement.hasClass("fit-width")&&this.options.width!=="fit"){this.$newElement.removeClass("fit-width")}},selectPosition:function(){var e=this,d="<div />",f=b(d),h,g,c=function(i){f.addClass(i.attr("class").replace(/form-control/gi,"")).toggleClass("dropup",i.hasClass("dropup"));h=i.offset();g=i.hasClass("dropup")?0:i[0].offsetHeight;f.css({top:h.top+g,left:h.left,width:i[0].offsetWidth,position:"absolute"})};this.$newElement.on("click",function(){if(e.isDisabled()){return}c(b(this));f.appendTo(e.options.container);f.toggleClass("open",!b(this).hasClass("open"));f.append(e.$menu)});b(window).resize(function(){c(e.$newElement)});b(window).on("scroll",function(){c(e.$newElement)});b("html").on("click",function(i){if(b(i.target).closest(e.$newElement).length<1){f.removeClass("open")}})},mobile:function(){this.$element.addClass("mobile-device").appendTo(this.$newElement);if(this.options.container){this.$menu.hide()}},refresh:function(){this.$lis=null;this.reloadLi();this.render();this.setWidth();this.setStyle();this.checkDisabled();this.liHeight()},update:function(){this.reloadLi();this.setWidth();this.setStyle();this.checkDisabled();this.liHeight()},setSelected:function(c,d){if(this.$lis==null){this.$lis=this.$menu.find("li")}b(this.$lis[c]).toggleClass("selected",d)},setDisabled:function(c,d){if(this.$lis==null){this.$lis=this.$menu.find("li")}if(d){b(this.$lis[c]).addClass("disabled").find("a").attr("href","#").attr("tabindex",-1)}else{b(this.$lis[c]).removeClass("disabled").find("a").removeAttr("href").attr("tabindex",0)}},isDisabled:function(){return this.$element.is(":disabled")},checkDisabled:function(){var c=this;if(this.isDisabled()){this.$button.addClass("disabled").attr("tabindex",-1)}else{if(this.$button.hasClass("disabled")){this.$button.removeClass("disabled")}if(this.$button.attr("tabindex")==-1){if(!this.$element.data("tabindex")){this.$button.removeAttr("tabindex")}}}this.$button.click(function(){return !c.isDisabled()})},tabIndex:function(){if(this.$element.is("[tabindex]")){this.$element.data("tabindex",this.$element.attr("tabindex"));this.$button.attr("tabindex",this.$element.data("tabindex"))}},clickListener:function(){var c=this;b("body").on("touchstart.dropdown",".dropdown-menu",function(d){d.stopPropagation()});this.$newElement.on("click",function(){c.setSize();if(!c.options.liveSearch&&!c.multiple){setTimeout(function(){c.$menu.find(".selected a").focus()},10)}});this.$menu.on("click","li a",function(n){var t=b(this).parent().index(),m=c.$element.val(),i=c.$element.prop("selectedIndex");if(c.multiple){n.stopPropagation()}n.preventDefault();if(!c.isDisabled()&&!b(this).parent().hasClass("disabled")){var l=c.$element.find("option"),d=l.eq(t),f=d.prop("selected"),r=d.parent("optgroup"),p=c.options.maxOptions,h=r.data("maxOptions")||false;if(!c.multiple){l.prop("selected",false);d.prop("selected",true);c.$menu.find(".selected").removeClass("selected");c.setSelected(t,true)}else{d.prop("selected",!f);c.setSelected(t,!f);if((p!==false)||(h!==false)){var o=p<l.filter(":selected").length,j=h<r.find("option:selected").length,s=c.options.maxOptionsText,g=s[0].replace("{n}",p),q=s[1].replace("{n}",h),k=b('<div class="notify"></div>');if((p&&o)||(h&&j)){if(s[2]){g=g.replace("{var}",s[2][p>1?0:1]);q=q.replace("{var}",s[2][h>1?0:1])}d.prop("selected",false);c.$menu.append(k);if(p&&o){k.append(b("<div>"+g+"</div>"));c.$element.trigger("maxReached.bs.select")}if(h&&j){k.append(b("<div>"+q+"</div>"));c.$element.trigger("maxReachedGrp.bs.select")}setTimeout(function(){c.setSelected(t,false)},10);k.delay(750).fadeOut(300,function(){b(this).remove()})}}}if(!c.multiple){c.$button.focus()}else{if(c.options.liveSearch){c.$searchbox.focus()}}if((m!=c.$element.val()&&c.multiple)||(i!=c.$element.prop("selectedIndex")&&!c.multiple)){c.$element.change()}}});this.$menu.on("click","li.disabled a, li dt, li .div-contain, .popover-title, .popover-title :not(.close)",function(d){if(d.target==this){d.preventDefault();d.stopPropagation();if(!c.options.liveSearch){c.$button.focus()}else{c.$searchbox.focus()}}});this.$menu.on("click",".popover-title .close",function(){c.$button.focus()});this.$searchbox.on("click",function(d){d.stopPropagation()});this.$menu.on("click",".actions-btn",function(d){if(c.options.liveSearch){c.$searchbox.focus()}else{c.$button.focus()}d.preventDefault();d.stopPropagation();if(b(this).is(".bs-select-all")){c.selectAll()}else{c.deselectAll()}c.$element.change()});this.$element.change(function(){c.render(false)})},liveSearchListener:function(){var d=this,c=b('<li class="no-results"></li>');this.$newElement.on("click.dropdown.data-api",function(){d.$menu.find(".active").removeClass("active");if(!!d.$searchbox.val()){d.$searchbox.val("");d.$lis.not(".is-hidden").removeClass("hide");if(!!c.parent().length){c.remove()}}if(!d.multiple){d.$menu.find(".selected").addClass("active")}setTimeout(function(){d.$searchbox.focus()},10)});this.$searchbox.on("input propertychange",function(){if(d.$searchbox.val()){d.$lis.not(".is-hidden").removeClass("hide").find("a").not(":icontains("+d.$searchbox.val()+")").parent().addClass("hide");if(!d.$menu.find("li").filter(":visible:not(.no-results)").length){if(!!c.parent().length){c.remove()}c.html(d.options.noneResultsText+' "'+d.$searchbox.val()+'"').show();d.$menu.find("li").last().after(c)}else{if(!!c.parent().length){c.remove()}}}else{d.$lis.not(".is-hidden").removeClass("hide");if(!!c.parent().length){c.remove()}}d.$menu.find("li.active").removeClass("active");d.$menu.find("li").filter(":visible:not(.divider)").eq(0).addClass("active").find("a").focus();b(this).focus()});this.$menu.on("mouseenter","a",function(f){d.$menu.find(".active").removeClass("active");b(f.currentTarget).parent().not(".disabled").addClass("active")});this.$menu.on("mouseleave","a",function(){d.$menu.find(".active").removeClass("active")})},val:function(c){if(c!==undefined){this.$element.val(c);this.$element.change();return this.$element}else{return this.$element.val()}},selectAll:function(){if(this.$lis==null){this.$lis=this.$menu.find("li")}this.$element.find("option:enabled").prop("selected",true);b(this.$lis).filter(":not(.disabled)").addClass("selected");this.render(false)},deselectAll:function(){if(this.$lis==null){this.$lis=this.$menu.find("li")}this.$element.find("option:enabled").prop("selected",false);b(this.$lis).filter(":not(.disabled)").removeClass("selected");this.render(false)},keydown:function(p){var q,o,i,n,k,j,r,f,h,m,d,s,g={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"};q=b(this);i=q.parent();if(q.is("input")){i=q.parent().parent()}m=i.data("this");if(m.options.liveSearch){i=q.parent().parent()}if(m.options.container){i=m.$menu}o=b("[role=menu] li:not(.divider) a",i);s=m.$menu.parent().hasClass("open");if(!s&&/([0-9]|[A-z])/.test(String.fromCharCode(p.keyCode))){if(!m.options.container){m.setSize();m.$menu.parent().addClass("open");s=m.$menu.parent().hasClass("open")}else{m.$newElement.trigger("click")}m.$searchbox.focus()}if(m.options.liveSearch){if(/(^9$|27)/.test(p.keyCode)&&s&&m.$menu.find(".active").length===0){p.preventDefault();m.$menu.parent().removeClass("open");m.$button.focus()}o=b("[role=menu] li:not(.divider):visible",i);if(!q.val()&&!/(38|40)/.test(p.keyCode)){if(o.filter(".active").length===0){o=m.$newElement.find("li").filter(":icontains("+g[p.keyCode]+")")}}}if(!o.length){return}if(/(38|40)/.test(p.keyCode)){n=o.index(o.filter(":focus"));j=o.parent(":not(.disabled):visible").first().index();r=o.parent(":not(.disabled):visible").last().index();k=o.eq(n).parent().nextAll(":not(.disabled):visible").eq(0).index();f=o.eq(n).parent().prevAll(":not(.disabled):visible").eq(0).index();h=o.eq(k).parent().prevAll(":not(.disabled):visible").eq(0).index();if(m.options.liveSearch){o.each(function(e){if(b(this).is(":not(.disabled)")){b(this).data("index",e)}});n=o.index(o.filter(".active"));j=o.filter(":not(.disabled):visible").first().data("index");r=o.filter(":not(.disabled):visible").last().data("index");k=o.eq(n).nextAll(":not(.disabled):visible").eq(0).data("index");f=o.eq(n).prevAll(":not(.disabled):visible").eq(0).data("index");h=o.eq(k).prevAll(":not(.disabled):visible").eq(0).data("index")}d=q.data("prevIndex");if(p.keyCode==38){if(m.options.liveSearch){n-=1}if(n!=h&&n>f){n=f}if(n<j){n=j}if(n==d){n=r}}if(p.keyCode==40){if(m.options.liveSearch){n+=1}if(n==-1){n=0}if(n!=h&&n<k){n=k}if(n>r){n=r}if(n==d){n=j}}q.data("prevIndex",n);if(!m.options.liveSearch){o.eq(n).focus()}else{p.preventDefault();if(!q.is(".dropdown-toggle")){o.removeClass("active");o.eq(n).addClass("active").find("a").focus();q.focus()}}}else{if(!q.is("input")){var c=[],l,t;o.each(function(){if(b(this).parent().is(":not(.disabled)")){if(b.trim(b(this).text().toLowerCase()).substring(0,1)==g[p.keyCode]){c.push(b(this).parent().index())}}});l=b(document).data("keycount");l++;b(document).data("keycount",l);t=b.trim(b(":focus").text().toLowerCase()).substring(0,1);if(t!=g[p.keyCode]){l=1;b(document).data("keycount",l)}else{if(l>=c.length){b(document).data("keycount",0);if(l>c.length){l=1}}}o.eq(c[l-1]).focus()}}if(/(13|32|^9$)/.test(p.keyCode)&&s){if(!/(32)/.test(p.keyCode)){p.preventDefault()}if(!m.options.liveSearch){b(":focus").click()}else{if(!/(32)/.test(p.keyCode)){m.$menu.find(".active a").click();q.focus()}}b(document).data("keycount",0)}if((/(^9$|27)/.test(p.keyCode)&&s&&(m.multiple||m.options.liveSearch))||(/(27)/.test(p.keyCode)&&!s)){m.$menu.parent().removeClass("open");m.$button.focus()}},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},destroy:function(){this.$newElement.remove();this.$element.remove()}};b.fn.selectpicker=function(e,f){var c=arguments;var g;var d=this.each(function(){if(b(this).is("select")){var m=b(this),l=m.data("selectpicker"),h=typeof e=="object"&&e;if(!l){m.data("selectpicker",(l=new a(this,h,f)))}else{if(h){for(var j in h){l.options[j]=h[j]}}}if(typeof e=="string"){var k=e;if(l[k] instanceof Function){[].shift.apply(c);g=l[k].apply(l,c)}else{g=l.options[k]}}}});if(g!==undefined){return g}else{return d}};b.fn.selectpicker.defaults={style:"btn-default",size:"auto",title:null,selectedTextFormat:"values",noneSelectedText:"Nothing selected",noneResultsText:"No results match",countSelectedText:"{0} of {1} selected",maxOptionsText:["Limit reached ({n} {var} max)","Group limit reached ({n} {var} max)",["items","item"]],width:false,container:false,hideDisabled:false,showSubtext:false,showIcon:true,showContent:true,dropupAuto:true,header:false,liveSearch:false,actionsBox:false,multipleSeparator:", ",iconBase:"glyphicon",tickIcon:"glyphicon-ok",maxOptions:false};b(document).data("keycount",0).on("keydown",".bootstrap-select [data-toggle=dropdown], .bootstrap-select [role=menu], .bootstrap-select-searchbox input",a.prototype.keydown).on("focusin.modal",".bootstrap-select [data-toggle=dropdown], .bootstrap-select [role=menu], .bootstrap-select-searchbox input",function(c){c.stopPropagation()})}(window.jQuery);
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){"use strict";function b(a,b){return a.toUpperCase().indexOf(b.toUpperCase())>-1}function c(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 d(a){var b={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},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 e(b,c){var d=arguments,e=b,b=d[0],c=d[1];[].shift.apply(d),"undefined"==typeof b&&(b=e);var g,h=this.each(function(){var e=a(this);if(e.is("select")){var h=e.data("selectpicker"),i="object"==typeof b&&b;if(h){if(i)for(var j in i)i.hasOwnProperty(j)&&(h.options[j]=i[j])}else{var k=a.extend({},f.DEFAULTS,a.fn.selectpicker.defaults||{},e.data(),i);e.data("selectpicker",h=new f(this,k,c))}"string"==typeof b&&(g=h[b]instanceof Function?h[b].apply(h,d):h.options[b])}});return"undefined"!=typeof g?g:h}a.expr[":"].icontains=function(c,d,e){return b(a(c).text(),e[3])},a.expr[":"].aicontains=function(c,d,e){return b(a(c).data("normalizedText")||a(c).text(),e[3])};var f=function(b,c,d){d&&(d.stopPropagation(),d.preventDefault()),this.$element=a(b),this.$newElement=null,this.$button=null,this.$menu=null,this.$lis=null,this.options=c,null===this.options.title&&(this.options.title=this.$element.attr("title")),this.val=f.prototype.val,this.render=f.prototype.render,this.refresh=f.prototype.refresh,this.setStyle=f.prototype.setStyle,this.selectAll=f.prototype.selectAll,this.deselectAll=f.prototype.deselectAll,this.destroy=f.prototype.remove,this.remove=f.prototype.remove,this.show=f.prototype.show,this.hide=f.prototype.hide,this.init()};f.VERSION="1.6.3",f.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results match",countSelectedText:function(a){return 1==a?"{0} item selected":"{0} items selected"},maxOptionsText:function(a,b){var c=[];return c[0]=1==a?"Limit reached ({n} item max)":"Limit reached ({n} items max)",c[1]=1==b?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)",c},selectAllText:"Select All",deselectAllText:"Deselect All",multipleSeparator:", ",style:"btn-default",size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,actionsBox:!1,iconBase:"glyphicon",tickIcon:"glyphicon-ok",maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,searchAccentInsensitive:!1},f.prototype={constructor:f,init:function(){var b=this,c=this.$element.attr("id");this.$element.hide(),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$newElement=this.createView(),this.$element.after(this.$newElement),this.$menu=this.$newElement.find("> .dropdown-menu"),this.$button=this.$newElement.find("> button"),this.$searchbox=this.$newElement.find("input"),this.options.dropdownAlignRight&&this.$menu.addClass("dropdown-menu-right"),"undefined"!=typeof c&&(this.$button.attr("data-id",c),a('label[for="'+c+'"]').click(function(a){a.preventDefault(),b.$button.focus()})),this.checkDisabled(),this.clickListener(),this.options.liveSearch&&this.liveSearchListener(),this.render(),this.liHeight(),this.setStyle(),this.setWidth(),this.options.container&&this.selectPosition(),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile()},createDropdown:function(){var b=this.multiple?" show-tick":"",c=this.$element.parent().hasClass("input-group")?" input-group-btn":"",d=this.autofocus?" autofocus":"",e=this.$element.parents().hasClass("form-group-lg")?" btn-lg":this.$element.parents().hasClass("form-group-sm")?" btn-sm":"",f=this.options.header?'<div class="popover-title"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>":"",g=this.options.liveSearch?'<div class="bs-searchbox"><input type="text" class="input-block-level form-control" autocomplete="off" /></div>':"",h=this.options.actionsBox?'<div class="bs-actionsbox"><div class="btn-group btn-block"><button class="actions-btn bs-select-all btn btn-sm btn-default">'+this.options.selectAllText+'</button><button class="actions-btn bs-deselect-all btn btn-sm btn-default">'+this.options.deselectAllText+"</button></div></div>":"",i='<div class="btn-group bootstrap-select'+b+c+'"><button type="button" class="btn dropdown-toggle selectpicker'+e+'" data-toggle="dropdown"'+d+'><span class="filter-option pull-left"></span>&nbsp;<span class="caret"></span></button><div class="dropdown-menu open">'+f+g+h+'<ul class="dropdown-menu inner selectpicker" role="menu"></ul></div></div>';return a(i)},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 b=this,e=[],f=0,g=function(a,b,c){return"<li"+("undefined"!=typeof c?' class="'+c+'"':"")+("undefined"!=typeof b|null===b?' data-original-index="'+b+'"':"")+">"+a+"</li>"},h=function(a,e,f,g){var h=c(d(a));return'<a tabindex="0"'+("undefined"!=typeof e?' class="'+e+'"':"")+("undefined"!=typeof f?' style="'+f+'"':"")+("undefined"!=typeof g?'data-optgroup="'+g+'"':"")+' data-normalized-text="'+h+'">'+a+'<span class="'+b.options.iconBase+" "+b.options.tickIcon+' check-mark"></span></a>'};return this.$element.find("option").each(function(){var c=a(this),d=c.attr("class")||"",i=c.attr("style"),j=c.data("content")?c.data("content"):c.html(),k="undefined"!=typeof c.data("subtext")?'<small class="muted text-muted">'+c.data("subtext")+"</small>":"",l="undefined"!=typeof c.data("icon")?'<span class="'+b.options.iconBase+" "+c.data("icon")+'"></span> ':"",m=c.is(":disabled")||c.parent().is(":disabled"),n=c[0].index;if(""!==l&&m&&(l="<span>"+l+"</span>"),c.data("content")||(j=l+'<span class="text">'+j+k+"</span>"),!b.options.hideDisabled||!m)if(c.parent().is("optgroup")&&c.data("divider")!==!0){if(0===c.index()){f+=1;var o=c.parent().attr("label"),p="undefined"!=typeof c.parent().data("subtext")?'<small class="muted text-muted">'+c.parent().data("subtext")+"</small>":"",q=c.parent().data("icon")?'<span class="'+b.options.iconBase+" "+c.parent().data("icon")+'"></span> ':"";o=q+'<span class="text">'+o+p+"</span>",0!==n&&e.length>0&&e.push(g("",null,"divider")),e.push(g(o,null,"dropdown-header"))}e.push(g(h(j,"opt "+d,i,f),n))}else e.push(c.data("divider")===!0?g("",n,"divider"):c.data("hidden")===!0?g(h(j,d,i),n,"hide is-hidden"):g(h(j,d,i),n))}),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 e=this.options.hideDisabled?":not([disabled])":"",f=this.$element.find("option:selected"+e).map(function(){var b,d=a(this),e=d.data("icon")&&c.options.showIcon?'<i class="'+c.options.iconBase+" "+d.data("icon")+'"></i> ':"";return b=c.options.showSubtext&&d.attr("data-subtext")&&!c.multiple?' <small class="muted text-muted">'+d.data("subtext")+"</small>":"",d.data("content")&&c.options.showContent?d.data("content"):"undefined"!=typeof d.attr("title")?d.attr("title"):e+d.html()+b}).toArray(),g=this.multiple?f.join(this.options.multipleSeparator):f[0];if(this.multiple&&this.options.selectedTextFormat.indexOf("count")>-1){var h=this.options.selectedTextFormat.split(">");if(h.length>1&&f.length>h[1]||1==h.length&&f.length>=2){e=this.options.hideDisabled?", [disabled]":"";var i=this.$element.find("option").not('[data-divider="true"], [data-hidden="true"]'+e).length,j="function"==typeof this.options.countSelectedText?this.options.countSelectedText(f.length,i):this.options.countSelectedText;g=j.replace("{0}",f.length.toString()).replace("{1}",i.toString())}}this.options.title=this.$element.attr("title"),"static"==this.options.selectedTextFormat&&(g=this.options.title),g||(g="undefined"!=typeof this.options.title?this.options.title:this.options.noneSelectedText),this.$button.attr("title",d(g)),this.$newElement.find(".filter-option").html(g)},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().find("> .dropdown-toggle").prop("autofocus",!1).end().appendTo("body"),b=a.addClass("open").find("> .dropdown-menu"),c=b.find("li").not(".divider").not(".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;a.remove(),this.$newElement.data("liHeight",c).data("headerHeight",d).data("searchHeight",e).data("actionsHeight",f)}},setSize:function(){this.findLis();var b,c,d,e=this,f=this.$menu,g=f.find(".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.$lis.filter(".divider").outerHeight(!0),n=parseInt(f.css("padding-top"))+parseInt(f.css("padding-bottom"))+parseInt(f.css("border-top-width"))+parseInt(f.css("border-bottom-width")),o=this.options.hideDisabled?", .disabled":"",p=a(window),q=n+parseInt(f.css("margin-top"))+parseInt(f.css("margin-bottom"))+2,r=function(){c=e.$newElement.offset().top-p.scrollTop(),d=p.height()-c-h};if(r(),this.options.header&&f.css("padding-top",0),"auto"==this.options.size){var s=function(){var a,h=e.$lis.not(".hide");r(),b=d-q,e.options.dropupAuto&&e.$newElement.toggleClass("dropup",c>d&&b-q<f.height()),e.$newElement.hasClass("dropup")&&(b=c-q),a=h.length+h.filter(".dropdown-header").length>3?3*i+q-2:0,f.css({"max-height":b+"px",overflow:"hidden","min-height":a+j+k+l+"px"}),g.css({"max-height":b-j-k-l-n+"px","overflow-y":"auto","min-height":Math.max(a-n,0)+"px"})};s(),this.$searchbox.off("input.getSize propertychange.getSize").on("input.getSize propertychange.getSize",s),a(window).off("resize.getSize").on("resize.getSize",s),a(window).off("scroll.getSize").on("scroll.getSize",s)}else if(this.options.size&&"auto"!=this.options.size&&f.find("li"+o).length>this.options.size){var t=this.$lis.not(".divider"+o).find(" > *").slice(0,this.options.size).last().parent().index(),u=this.$lis.slice(0,t+1).filter(".divider").length;b=i*this.options.size+u*m+n,e.options.dropupAuto&&this.$newElement.toggleClass("dropup",c>d&&b<f.height()),f.css({"max-height":b+j+k+l+"px",overflow:"hidden"}),g.css({"max-height":b-n+"px","overflow-y":"auto"})}},setWidth:function(){if("auto"==this.options.width){this.$menu.css("min-width","0");var a=this.$newElement.clone().appendTo("body"),b=a.find("> .dropdown-menu").css("width"),c=a.css("width","auto").find("> button").css("width");a.remove(),this.$newElement.css("width",Math.max(parseInt(b),parseInt(c))+"px")}else"fit"==this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width",""));this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement.removeClass("fit-width")},selectPosition:function(){var b,c,d=this,e="<div />",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).resize(function(){g(d.$newElement)}),a(window).on("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").find("a").attr("href","#").attr("tabindex",-1):this.$lis.filter('[data-original-index="'+a+'"]').removeClass("disabled").find("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;this.$newElement.on("touchstart.dropdown",".dropdown-menu",function(a){a.stopPropagation()}),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<h.filter(":selected").length,o=m<k.find("option:selected").length;if(l&&n||m&&o)if(l&&1==l)h.prop("selected",!1),i.prop("selected",!0),b.$menu.find(".selected").removeClass("selected"),b.setSelected(e,!0);else if(m&&1==m){k.find("option:selected").prop("selected",!1),i.prop("selected",!0);var p=d.data("optgroup");b.$menu.find(".selected").has('a[data-optgroup="'+p+'"]').removeClass("selected"),b.setSelected(e,!0)}else{var q="function"==typeof b.options.maxOptionsText?b.options.maxOptionsText(l,m):b.options.maxOptionsText,r=q[0].replace("{n}",l),s=q[1].replace("{n}",m),t=a('<div class="notify"></div>');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("<div>"+r+"</div>")),b.$element.trigger("maxReached.bs.select")),m&&o&&(t.append(a("<div>"+s+"</div>")),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()}}),this.$menu.on("click","li.disabled a, .popover-title, .popover-title :not(.close)",function(a){a.target==this&&(a.preventDefault(),a.stopPropagation(),b.options.liveSearch?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.focus()}),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).is(".bs-select-all")?b.selectAll():b.deselectAll(),b.$element.change()}),this.$element.change(function(){b.render(!1)})},liveSearchListener:function(){var b=this,e=a('<li class="no-results"></li>');this.$newElement.on("click.dropdown.data-api touchstart.dropdown.data-api",function(){b.$menu.find(".active").removeClass("active"),b.$searchbox.val()&&(b.$searchbox.val(""),b.$lis.not(".is-hidden").removeClass("hide"),e.parent().length&&e.remove()),b.multiple||b.$menu.find(".selected").addClass("active"),setTimeout(function(){b.$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(){b.$searchbox.val()?(b.options.searchAccentInsensitive?b.$lis.not(".is-hidden").removeClass("hide").find("a").not(":aicontains("+c(b.$searchbox.val())+")").parent().addClass("hide"):b.$lis.not(".is-hidden").removeClass("hide").find("a").not(":icontains("+b.$searchbox.val()+")").parent().addClass("hide"),b.$menu.find("li").filter(":visible:not(.no-results)").length?e.parent().length&&e.remove():(e.parent().length&&e.remove(),e.html(b.options.noneResultsText+' "'+d(b.$searchbox.val())+'"').show(),b.$menu.find("li").last().after(e))):(b.$lis.not(".is-hidden").removeClass("hide"),e.parent().length&&e.remove()),b.$menu.find("li.active").removeClass("active"),b.$menu.find("li").filter(":visible:not(.divider)").eq(0).addClass("active").find("a").focus(),a(this).focus()})},val:function(a){return"undefined"!=typeof a?(this.$element.val(a),this.render(),this.$element):this.$element.val()},selectAll:function(){this.findLis(),this.$lis.not(".divider").not(".disabled").not(".selected").filter(":visible").find("a").click()},deselectAll:function(){this.findLis(),this.$lis.not(".divider").not(".disabled").filter(".selected").filter(":visible").find("a").click()},keydown:function(b){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={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(b.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(b.keyCode.toString(10))&&l&&0===o.$menu.find(".active").length&&(b.preventDefault(),o.$menu.parent().removeClass("open"),o.$button.focus()),d=a("[role=menu] li:not(.divider):not(.dropdown-header):visible",n),m.val()||/(38|40)/.test(b.keyCode.toString(10))||0===d.filter(".active").length&&(d=o.$newElement.find("li").filter(o.options.searchAccentInsensitive?":aicontains("+c(p[b.keyCode])+")":":icontains("+p[b.keyCode]+")"))),d.length){if(/(38|40)/.test(b.keyCode.toString(10)))e=d.index(d.filter(":focus")),g=d.parent(":not(.disabled):visible").first().index(),h=d.parent(":not(.disabled):visible").last().index(),f=d.eq(e).parent().nextAll(":not(.disabled):visible").eq(0).index(),i=d.eq(e).parent().prevAll(":not(.disabled):visible").eq(0).index(),j=d.eq(f).parent().prevAll(":not(.disabled):visible").eq(0).index(),o.options.liveSearch&&(d.each(function(b){a(this).is(":not(.disabled)")&&a(this).data("index",b)}),e=d.index(d.filter(".active")),g=d.filter(":not(.disabled):visible").first().data("index"),h=d.filter(":not(.disabled):visible").last().data("index"),f=d.eq(e).nextAll(":not(.disabled):visible").eq(0).data("index"),i=d.eq(e).prevAll(":not(.disabled):visible").eq(0).data("index"),j=d.eq(f).prevAll(":not(.disabled):visible").eq(0).data("index")),k=m.data("prevIndex"),38==b.keyCode&&(o.options.liveSearch&&(e-=1),e!=j&&e>i&&(e=i),g>e&&(e=g),e==k&&(e=h)),40==b.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?(b.preventDefault(),m.is(".dropdown-toggle")||(d.removeClass("active"),d.eq(e).addClass("active").find("a").focus(),m.focus())):d.eq(e).focus();else if(!m.is("input")){var q,r,s=[];d.each(function(){a(this).parent().is(":not(.disabled)")&&a.trim(a(this).text().toLowerCase()).substring(0,1)==p[b.keyCode]&&s.push(a(this).parent().index())}),q=a(document).data("keycount"),q++,a(document).data("keycount",q),r=a.trim(a(":focus").text().toLowerCase()).substring(0,1),r!=p[b.keyCode]?(q=1,a(document).data("keycount",q)):q>=s.length&&(a(document).data("keycount",0),q>s.length&&(q=1)),d.eq(s[q-1]).focus()}(/(13|32)/.test(b.keyCode.toString(10))||/(^9$)/.test(b.keyCode.toString(10))&&o.options.selectOnTab)&&l&&(/(32)/.test(b.keyCode.toString(10))||b.preventDefault(),o.options.liveSearch?/(32)/.test(b.keyCode.toString(10))||(o.$menu.find(".active a").click(),m.focus()):a(":focus").click(),a(document).data("keycount",0)),(/(^9$|27)/.test(b.keyCode.toString(10))&&l&&(o.multiple||o.options.liveSearch)||/(27)/.test(b.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()},update:function(){this.reloadLi(),this.setWidth(),this.setStyle(),this.checkDisabled(),this.liHeight()},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()}};var g=a.fn.selectpicker;a.fn.selectpicker=e,a.fn.selectpicker.Constructor=f,a.fn.selectpicker.noConflict=function(){return a.fn.selectpicker=g,this},a(document).data("keycount",0).on("keydown",".bootstrap-select [data-toggle=dropdown], .bootstrap-select [role=menu], .bs-searchbox input",f.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);e.call(b,b.data())})})}(jQuery);
8
+ //# sourceMappingURL=bootstrap-select.js.map
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: 'Nic není vybráno',
10
+ noneResultsText: 'Žádné výsledky',
11
+ countSelectedText: 'Označeno {0} z {1}',
12
+ maxOptionsText: ['Limit překročen ({n} {var} max)', 'Limit skupiny překročen ({n} {var} max)', ['položek', 'položka']],
13
+ multipleSeparator: ', '
14
+ };
15
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"Nic není vybráno",noneResultsText:"Žádné výsledky",countSelectedText:"Označeno {0} z {1}",maxOptionsText:["Limit překročen ({n} {var} max)","Limit skupiny překročen ({n} {var} max)",["položek","položka"]],multipleSeparator:", "}}(jQuery);
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: 'Bitte wählen...',
10
+ noneResultsText: 'Keine Ergebnisse für',
11
+ countSelectedText: '{0} von {1} ausgewählt',
12
+ maxOptionsText: ['Limit erreicht ({n} {var} max.)', 'Gruppen-Limit erreicht ({n} {var} max.)', ['Eintrag', 'Einträge']],
13
+ multipleSeparator: ', '
14
+ };
15
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"Bitte wählen...",noneResultsText:"Keine Ergebnisse für",countSelectedText:"{0} von {1} ausgewählt",maxOptionsText:["Limit erreicht ({n} {var} max.)","Gruppen-Limit erreicht ({n} {var} max.)",["Eintrag","Einträge"]],multipleSeparator:", "}}(jQuery);
@@ -0,0 +1,26 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: 'Nothing selected',
10
+ noneResultsText: 'No results match',
11
+ countSelectedText: function (numSelected, numTotal) {
12
+ return (numSelected == 1) ? "{0} item selected" : "{0} items selected";
13
+ },
14
+ maxOptionsText: function (numAll, numGroup) {
15
+ var arr = [];
16
+
17
+ arr[0] = (numAll == 1) ? 'Limit reached ({n} item max)' : 'Limit reached ({n} items max)';
18
+ arr[1] = (numGroup == 1) ? 'Group limit reached ({n} item max)' : 'Group limit reached ({n} items max)';
19
+
20
+ return arr;
21
+ },
22
+ selectAllText: 'Select All',
23
+ deselectAllText: 'Deselect All',
24
+ multipleSeparator: ', '
25
+ };
26
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"Nothing selected",noneResultsText:"No results match",countSelectedText:function(a){return 1==a?"{0} item selected":"{0} items selected"},maxOptionsText:function(a,b){var c=[];return c[0]=1==a?"Limit reached ({n} item max)":"Limit reached ({n} items max)",c[1]=1==b?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)",c},selectAllText:"Select All",deselectAllText:"Deselect All",multipleSeparator:", "}}(jQuery);
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: 'No hay selección',
10
+ noneResultsText: 'No hay resultados',
11
+ countSelectedText: 'Seleccionados {0} de {1}',
12
+ maxOptionsText: ['Límite alcanzado ({n} {var} max)', 'Límite del grupo alcanzado({n} {var} max)', ['elementos', 'element']],
13
+ multipleSeparator: ', '
14
+ };
15
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"No hay selección",noneResultsText:"No hay resultados",countSelectedText:"Seleccionados {0} de {1}",maxOptionsText:["Límite alcanzado ({n} {var} max)","Límite del grupo alcanzado({n} {var} max)",["elementos","element"]],multipleSeparator:", "}}(jQuery);
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: 'Hautapenik ez',
10
+ noneResultsText: 'Emaitzarik ez',
11
+ countSelectedText: '{1}(e)tik {0} hautatuta',
12
+ maxOptionsText: ['Mugara iritsita ({n} {var} gehienez)', 'Taldearen mugara iritsita ({n} {var} gehienez)', ['elementu', 'elementu']],
13
+ multipleSeparator: ', '
14
+ };
15
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"Hautapenik ez",noneResultsText:"Emaitzarik ez",countSelectedText:"{1}(e)tik {0} hautatuta",maxOptionsText:["Mugara iritsita ({n} {var} gehienez)","Taldearen mugara iritsita ({n} {var} gehienez)",["elementu","elementu"]],multipleSeparator:", "}}(jQuery);
@@ -0,0 +1,24 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: 'Aucune s&eacute;lection',
10
+ noneResultsText: 'Aucun r&eacute;sultat',
11
+ countSelectedText: function (numSelected, numTotal) {
12
+ return (numSelected > 1) ? "{0} &eacute;l&eacute;ments s&eacute;lection&eacute;s" : "{0} &eacute;l&eacute;ment s&eacute;lection&eacute;";
13
+ },
14
+ maxOptionsText: function (numAll, numGroup) {
15
+ var arr = [];
16
+
17
+ arr[0] = (numAll > 1) ? 'Limite atteinte ({n} &eacute;l&eacute;ments max)' : 'Limite atteinte ({n} &eacute;l&eacute;ment max)';
18
+ arr[1] = (numGroup > 1) ? 'Limite du groupe atteinte ({n} &eacute;l&eacute;ments max)' : 'Limite du groupe atteinte ({n} &eacute;l&eacute;ment max)';
19
+
20
+ return arr;
21
+ },
22
+ multipleSeparator: ', '
23
+ };
24
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"Aucune s&eacute;lection",noneResultsText:"Aucun r&eacute;sultat",countSelectedText:function(a){return a>1?"{0} &eacute;l&eacute;ments s&eacute;lection&eacute;s":"{0} &eacute;l&eacute;ment s&eacute;lection&eacute;"},maxOptionsText:function(a,b){var c=[];return c[0]=a>1?"Limite atteinte ({n} &eacute;l&eacute;ments max)":"Limite atteinte ({n} &eacute;l&eacute;ment max)",c[1]=b>1?"Limite du groupe atteinte ({n} &eacute;l&eacute;ments max)":"Limite du groupe atteinte ({n} &eacute;l&eacute;ment max)",c},multipleSeparator:", "}}(jQuery);
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: 'Nessuna selezione',
10
+ noneResultsText: 'Nessun risultato',
11
+ countSelectedText: 'Selezionati {0} di {1}',
12
+ maxOptionsText: ['Limite raggiunto ({n} {var} max)', 'Limite del gruppo raggiunto ({n} {var} max)', ['elementi', 'elemento']],
13
+ multipleSeparator: ', '
14
+ };
15
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"Nessuna selezione",noneResultsText:"Nessun risultato",countSelectedText:"Selezionati {0} di {1}",maxOptionsText:["Limite raggiunto ({n} {var} max)","Limite del gruppo raggiunto ({n} {var} max)",["elementi","elemento"]],multipleSeparator:", "}}(jQuery);
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: 'Niets geselecteerd',
10
+ noneResultsText: 'Geen resultaten gevonden voor',
11
+ countSelectedText: '{0} van {1} geselecteerd',
12
+ maxOptionsText: ['Limiet bereikt ({n} {var} max)', 'Groep limiet bereikt ({n} {var} max)', ['items', 'item']],
13
+ multipleSeparator: ', '
14
+ };
15
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"Niets geselecteerd",noneResultsText:"Geen resultaten gevonden voor",countSelectedText:"{0} van {1} geselecteerd",maxOptionsText:["Limiet bereikt ({n} {var} max)","Groep limiet bereikt ({n} {var} max)",["items","item"]],multipleSeparator:", "}}(jQuery);
@@ -0,0 +1,17 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: 'Nic nie zaznaczono',
10
+ noneResultsText: 'Brak wyników wyszukiwania',
11
+ countSelectedText: 'Zaznaczono {0} z {1}',
12
+ maxOptionsText: ['Osiągnięto limit ({n} {var} max)', 'Limit grupy osiągnięty ({n} {var} max)', ['elementy', 'element']],
13
+ selectAll: 'Zaznacz wszystkie',
14
+ deselectAll: 'Odznacz wszystkie',
15
+ multipleSeparator: ', '
16
+ };
17
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"Nic nie zaznaczono",noneResultsText:"Brak wyników wyszukiwania",countSelectedText:"Zaznaczono {0} z {1}",maxOptionsText:["Osiągnięto limit ({n} {var} max)","Limit grupy osiągnięty ({n} {var} max)",["elementy","element"]],selectAll:"Zaznacz wszystkie",deselectAll:"Odznacz wszystkie",multipleSeparator:", "}}(jQuery);
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: 'Nada selecionado',
10
+ noneResultsText: 'Nada encontrado contendo',
11
+ countSelectedText: 'Selecionado {0} de {1}',
12
+ maxOptionsText: ['Limite excedido (máx. {n} {var})', 'Limite do grupo excedido (máx. {n} {var})', ['itens', 'item']],
13
+ multipleSeparator: ', '
14
+ };
15
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"Nada selecionado",noneResultsText:"Nada encontrado contendo",countSelectedText:"Selecionado {0} de {1}",maxOptionsText:["Limite excedido (máx. {n} {var})","Limite do grupo excedido (máx. {n} {var})",["itens","item"]],multipleSeparator:", "}}(jQuery);
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: 'Nu a fost selectat nimic',
10
+ noneResultsText: 'Nu exista niciun rezultat',
11
+ countSelectedText: '{0} din {1} selectat(e)',
12
+ maxOptionsText: ['Limita a fost atinsa ({n} {var} max)', 'Limita de grup a fost atinsa ({n} {var} max)', ['iteme', 'item']],
13
+ multipleSeparator: ', '
14
+ };
15
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"Nu a fost selectat nimic",noneResultsText:"Nu exista niciun rezultat",countSelectedText:"{0} din {1} selectat(e)",maxOptionsText:["Limita a fost atinsa ({n} {var} max)","Limita de grup a fost atinsa ({n} {var} max)",["iteme","item"]],multipleSeparator:", "}}(jQuery);
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: 'Ничего не выбрано',
10
+ noneResultsText: 'Совпадений не найдено',
11
+ countSelectedText: 'Выбрано {0} из {1}',
12
+ maxOptionsText: ['Достигнут предел ({n} {var} максимум)', 'Достигнут предел в группе ({n} {var} максимум)', ['items', 'item']],
13
+ multipleSeparator: ', '
14
+ };
15
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"Ничего не выбрано",noneResultsText:"Совпадений не найдено",countSelectedText:"Выбрано {0} из {1}",maxOptionsText:["Достигнут предел ({n} {var} максимум)","Достигнут предел в группе ({n} {var} максимум)",["items","item"]],multipleSeparator:", "}}(jQuery);
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: 'Нічого не вибрано',
10
+ noneResultsText: 'Збігів не знайдено',
11
+ countSelectedText: 'Вибрано {0} із {1}',
12
+ maxOptionsText: ['Досягнута межа ({n} {var} максимум)', 'Досягнута межа в групі ({n} {var} максимум)', ['items', 'item']],
13
+ multipleSeparator: ', '
14
+ };
15
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"Нічого не вибрано",noneResultsText:"Збігів не знайдено",countSelectedText:"Вибрано {0} із {1}",maxOptionsText:["Досягнута межа ({n} {var} максимум)","Досягнута межа в групі ({n} {var} максимум)",["items","item"]],multipleSeparator:", "}}(jQuery);
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: '没有选中任何项',
10
+ noneResultsText: '没有找到匹配项',
11
+ countSelectedText: '选中{1}中的{0}项',
12
+ maxOptionsText: ['超出限制 (最多选择{n}项)', '组选择超出限制(最多选择{n}组)'],
13
+ multipleSeparator: ', '
14
+ };
15
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"没有选中任何项",noneResultsText:"没有找到匹配项",countSelectedText:"选中{1}中的{0}项",maxOptionsText:["超出限制 (最多选择{n}项)","组选择超出限制(最多选择{n}组)"],multipleSeparator:", "}}(jQuery);
@@ -0,0 +1,17 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ (function ($) {
8
+ $.fn.selectpicker.defaults = {
9
+ noneSelectedText: '沒有選取任何項目',
10
+ noneResultsText: '沒有找到符合的結果',
11
+ countSelectedText: '已經選取{0}個項目',
12
+ maxOptionsText: ['超過限制 (最多選擇{n}項)', '超過限制(最多選擇{n}組)'],
13
+ selectAllText: '選取全部',
14
+ deselectAllText: '全部取消',
15
+ multipleSeparator: ', '
16
+ };
17
+ }(jQuery));
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+ !function(a){a.fn.selectpicker.defaults={noneSelectedText:"沒有選取任何項目",noneResultsText:"沒有找到符合的結果",countSelectedText:"已經選取{0}個項目",maxOptionsText:["超過限制 (最多選擇{n}項)","超過限制(最多選擇{n}組)"],selectAllText:"選取全部",deselectAllText:"全部取消",multipleSeparator:", "}}(jQuery);
@@ -1,309 +1,260 @@
1
- /*!
2
- * bootstrap-select v1.5.4
3
- * http://silviomoreto.github.io/bootstrap-select/
4
- *
5
- * Copyright 2013 bootstrap-select
6
- * Licensed under the MIT license
7
- */
8
-
9
- .bootstrap-select.btn-group:not(.input-group-btn),
10
- .bootstrap-select.btn-group[class*="span"] {
11
- float: none;
12
- display: inline-block;
13
- margin-bottom: 10px;
14
- margin-left: 0;
15
- }
16
- .form-search .bootstrap-select.btn-group,
17
- .form-inline .bootstrap-select.btn-group,
18
- .form-horizontal .bootstrap-select.btn-group {
19
- margin-bottom: 0;
20
- }
21
-
22
- .bootstrap-select.form-control {
23
- margin-bottom: 0;
24
- padding: 0;
25
- border: none;
26
- }
27
-
28
- .bootstrap-select.btn-group.pull-right,
29
- .bootstrap-select.btn-group[class*="span"].pull-right,
30
- .row-fluid .bootstrap-select.btn-group[class*="span"].pull-right {
31
- float: right;
32
- }
33
-
34
- .input-append .bootstrap-select.btn-group {
35
- margin-left: -1px;
36
- }
37
-
38
- .input-prepend .bootstrap-select.btn-group {
39
- margin-right: -1px;
40
- }
41
-
42
- .bootstrap-select:not([class*="span"]):not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
43
- width: 220px;
44
- }
45
-
46
- .bootstrap-select {
47
- /*width: 220px\9; IE8 and below*/
48
- width: 220px\0; /*IE9 and below*/
49
- }
50
-
51
- .bootstrap-select.form-control:not([class*="span"]) {
52
- width: 100%;
53
- }
54
-
55
- .bootstrap-select > .btn {
56
- width: 100%;
57
- padding-right: 25px;
58
- }
59
-
60
- .error .bootstrap-select .btn {
61
- border: 1px solid #b94a48;
62
- }
63
-
64
- .bootstrap-select.show-menu-arrow.open > .btn {
65
- z-index: 2051;
66
- }
67
-
68
- .bootstrap-select .btn:focus {
69
- outline: thin dotted #333333 !important;
70
- outline: 5px auto -webkit-focus-ring-color !important;
71
- outline-offset: -2px;
72
- }
73
-
74
- .bootstrap-select.btn-group .btn .filter-option {
75
- display: inline-block;
76
- overflow: hidden;
77
- width: 100%;
78
- float: left;
79
- text-align: left;
80
- }
81
-
82
- .bootstrap-select.btn-group .btn .caret {
83
- position: absolute;
84
- top: 50%;
85
- right: 12px;
86
- margin-top: -2px;
87
- vertical-align: middle;
88
- }
89
-
90
- .bootstrap-select.btn-group > .disabled,
91
- .bootstrap-select.btn-group .dropdown-menu li.disabled > a {
92
- cursor: not-allowed;
93
- }
94
-
95
- .bootstrap-select.btn-group > .disabled:focus {
96
- outline: none !important;
97
- }
98
-
99
- .bootstrap-select.btn-group[class*="span"] .btn {
100
- width: 100%;
101
- }
102
-
103
- .bootstrap-select.btn-group .dropdown-menu {
104
- min-width: 100%;
105
- z-index: 2000;
106
- -webkit-box-sizing: border-box;
107
- -moz-box-sizing: border-box;
108
- box-sizing: border-box;
109
- }
110
-
111
- .bootstrap-select.btn-group .dropdown-menu.inner {
112
- position: static;
113
- border: 0;
114
- padding: 0;
115
- margin: 0;
116
- -webkit-border-radius: 0;
117
- -moz-border-radius: 0;
118
- border-radius: 0;
119
- -webkit-box-shadow: none;
120
- -moz-box-shadow: none;
121
- box-shadow: none;
122
- }
123
-
124
- .bootstrap-select.btn-group .dropdown-menu dt {
125
- display: block;
126
- padding: 3px 20px;
127
- cursor: default;
128
- }
129
-
130
- .bootstrap-select.btn-group .div-contain {
131
- overflow: hidden;
132
- }
133
-
134
- .bootstrap-select.btn-group .dropdown-menu li {
135
- position: relative;
136
- }
137
-
138
- .bootstrap-select.btn-group .dropdown-menu li > a.opt {
139
- position: relative;
140
- padding-left: 35px;
141
- }
142
-
143
- .bootstrap-select.btn-group .dropdown-menu li > a {
144
- cursor: pointer;
145
- }
146
-
147
- .bootstrap-select.btn-group .dropdown-menu li > dt small {
148
- font-weight: normal;
149
- }
150
-
151
- .bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a i.check-mark {
152
- position: absolute;
153
- display: inline-block;
154
- right: 15px;
155
- margin-top: 2.5px;
156
- }
157
-
158
- .bootstrap-select.btn-group .dropdown-menu li a i.check-mark {
159
- display: none;
160
- }
161
-
162
- .bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text {
163
- margin-right: 34px;
164
- }
165
-
166
- .bootstrap-select.btn-group .dropdown-menu li small {
167
- padding-left: 0.5em;
168
- }
169
-
170
- .bootstrap-select.btn-group .dropdown-menu li:not(.disabled) > a:hover small,
171
- .bootstrap-select.btn-group .dropdown-menu li:not(.disabled) > a:focus small,
172
- .bootstrap-select.btn-group .dropdown-menu li.active:not(.disabled) > a small {
173
- color: #64b1d8;
174
- color: rgba(255,255,255,0.4);
175
- }
176
-
177
- .bootstrap-select.btn-group .dropdown-menu li > dt small {
178
- font-weight: normal;
179
- }
180
-
181
- .bootstrap-select.show-menu-arrow .dropdown-toggle:before {
182
- content: '';
183
- display: inline-block;
184
- border-left: 7px solid transparent;
185
- border-right: 7px solid transparent;
186
- border-bottom: 7px solid #CCC;
187
- border-bottom-color: rgba(0, 0, 0, 0.2);
188
- position: absolute;
189
- bottom: -4px;
190
- left: 9px;
191
- display: none;
192
- }
193
-
194
- .bootstrap-select.show-menu-arrow .dropdown-toggle:after {
195
- content: '';
196
- display: inline-block;
197
- border-left: 6px solid transparent;
198
- border-right: 6px solid transparent;
199
- border-bottom: 6px solid white;
200
- position: absolute;
201
- bottom: -4px;
202
- left: 10px;
203
- display: none;
204
- }
205
-
206
- .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before {
207
- bottom: auto;
208
- top: -3px;
209
- border-top: 7px solid #ccc;
210
- border-bottom: 0;
211
- border-top-color: rgba(0, 0, 0, 0.2);
212
- }
213
-
214
- .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after {
215
- bottom: auto;
216
- top: -3px;
217
- border-top: 6px solid #ffffff;
218
- border-bottom: 0;
219
- }
220
-
221
- .bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:before {
222
- right: 12px;
223
- left: auto;
224
- }
225
- .bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:after {
226
- right: 13px;
227
- left: auto;
228
- }
229
-
230
- .bootstrap-select.show-menu-arrow.open > .dropdown-toggle:before,
231
- .bootstrap-select.show-menu-arrow.open > .dropdown-toggle:after {
232
- display: block;
233
- }
234
-
235
- .bootstrap-select.btn-group .no-results {
236
- padding: 3px;
237
- background: #f5f5f5;
238
- margin: 0 5px;
239
- }
240
-
241
- .bootstrap-select.btn-group .dropdown-menu .notify {
242
- position: absolute;
243
- bottom: 5px;
244
- width: 96%;
245
- margin: 0 2%;
246
- min-height: 26px;
247
- padding: 3px 5px;
248
- background: #f5f5f5;
249
- border: 1px solid #e3e3e3;
250
- box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
251
- pointer-events: none;
252
- opacity: 0.9;
253
- -webkit-box-sizing: border-box;
254
- -moz-box-sizing: border-box;
255
- box-sizing: border-box;
256
- }
257
-
258
- .mobile-device {
259
- position: absolute;
260
- top: 0;
261
- left: 0;
262
- display: block !important;
263
- width: 100%;
264
- height: 100% !important;
265
- opacity: 0;
266
- }
267
-
268
- .bootstrap-select.fit-width {
269
- width: auto !important;
270
- }
271
-
272
- .bootstrap-select.btn-group.fit-width .btn .filter-option {
273
- position: static;
274
- }
275
-
276
- .bootstrap-select.btn-group.fit-width .btn .caret {
277
- position: static;
278
- top: auto;
279
- margin-top: -1px;
280
- }
281
-
282
- .control-group.error .bootstrap-select .dropdown-toggle{
283
- border-color: #b94a48;
284
- }
285
-
286
- .bootstrap-select-searchbox,
287
- .bootstrap-select .bs-actionsbox {
288
- padding: 4px 8px;
289
- }
290
-
291
- .bootstrap-select .bs-actionsbox {
292
- float: left;
293
- width: 100%;
294
- -webkit-box-sizing: border-box;
295
- -moz-box-sizing: border-box;
296
- box-sizing: border-box;
297
- }
298
-
299
- .bootstrap-select-searchbox + .bs-actionsbox {
300
- padding: 0 8px 4px;
301
- }
302
-
303
- .bootstrap-select-searchbox input {
304
- margin-bottom: 0;
305
- }
306
-
307
- .bootstrap-select .bs-actionsbox .btn-group button {
308
- width: 50%;
309
- }
1
+ /*!
2
+ * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
+ *
4
+ * Copyright 2013-2014 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+
8
+ .bootstrap-select {
9
+ /*width: 220px\9; IE8 and below*/
10
+ width: 220px \0;
11
+ /*IE9 and below*/
12
+ }
13
+ .bootstrap-select > .btn {
14
+ width: 100%;
15
+ padding-right: 25px;
16
+ }
17
+ .error .bootstrap-select .btn {
18
+ border: 1px solid #b94a48;
19
+ }
20
+ .control-group.error .bootstrap-select .dropdown-toggle {
21
+ border-color: #b94a48;
22
+ }
23
+ .bootstrap-select.fit-width {
24
+ width: auto !important;
25
+ }
26
+ .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
27
+ width: 220px;
28
+ }
29
+ .bootstrap-select .btn:focus {
30
+ outline: thin dotted #333333 !important;
31
+ outline: 5px auto -webkit-focus-ring-color !important;
32
+ outline-offset: -2px;
33
+ }
34
+ .bootstrap-select.form-control {
35
+ margin-bottom: 0;
36
+ padding: 0;
37
+ border: none;
38
+ }
39
+ .bootstrap-select.form-control:not([class*="col-"]) {
40
+ width: 100%;
41
+ }
42
+ .bootstrap-select.btn-group:not(.input-group-btn),
43
+ .bootstrap-select.btn-group[class*="col-"] {
44
+ float: none;
45
+ display: inline-block;
46
+ margin-left: 0;
47
+ }
48
+ .bootstrap-select.btn-group.dropdown-menu-right,
49
+ .bootstrap-select.btn-group[class*="col-"].dropdown-menu-right,
50
+ .row-fluid .bootstrap-select.btn-group[class*="col-"].dropdown-menu-right {
51
+ float: right;
52
+ }
53
+ .form-search .bootstrap-select.btn-group,
54
+ .form-inline .bootstrap-select.btn-group,
55
+ .form-horizontal .bootstrap-select.btn-group,
56
+ .form-group .bootstrap-select.btn-group {
57
+ margin-bottom: 0;
58
+ }
59
+ .form-group-lg .bootstrap-select.btn-group.form-control,
60
+ .form-group-sm .bootstrap-select.btn-group.form-control {
61
+ padding: 0;
62
+ }
63
+ .form-inline .bootstrap-select.btn-group .form-control {
64
+ width: 100%;
65
+ }
66
+ .input-append .bootstrap-select.btn-group {
67
+ margin-left: -1px;
68
+ }
69
+ .input-prepend .bootstrap-select.btn-group {
70
+ margin-right: -1px;
71
+ }
72
+ .bootstrap-select.btn-group > .disabled {
73
+ cursor: not-allowed;
74
+ }
75
+ .bootstrap-select.btn-group > .disabled:focus {
76
+ outline: none !important;
77
+ }
78
+ .bootstrap-select.btn-group .btn .filter-option {
79
+ display: inline-block;
80
+ overflow: hidden;
81
+ width: 100%;
82
+ text-align: left;
83
+ }
84
+ .bootstrap-select.btn-group .btn .caret {
85
+ position: absolute;
86
+ top: 50%;
87
+ right: 12px;
88
+ margin-top: -2px;
89
+ vertical-align: middle;
90
+ }
91
+ .bootstrap-select.btn-group[class*="col-"] .btn {
92
+ width: 100%;
93
+ }
94
+ .bootstrap-select.btn-group .dropdown-menu {
95
+ min-width: 100%;
96
+ z-index: 1035;
97
+ -webkit-box-sizing: border-box;
98
+ -moz-box-sizing: border-box;
99
+ box-sizing: border-box;
100
+ }
101
+ .bootstrap-select.btn-group .dropdown-menu.inner {
102
+ position: static;
103
+ border: 0;
104
+ padding: 0;
105
+ margin: 0;
106
+ border-radius: 0;
107
+ -webkit-box-shadow: none;
108
+ box-shadow: none;
109
+ }
110
+ .bootstrap-select.btn-group .dropdown-menu li {
111
+ position: relative;
112
+ }
113
+ .bootstrap-select.btn-group .dropdown-menu li:not(.disabled) a:hover small,
114
+ .bootstrap-select.btn-group .dropdown-menu li:not(.disabled) a:focus small,
115
+ .bootstrap-select.btn-group .dropdown-menu li.active:not(.disabled) a small {
116
+ color: #64b1d8;
117
+ color: rgba(100, 177, 216, 0.4);
118
+ }
119
+ .bootstrap-select.btn-group .dropdown-menu li.disabled a {
120
+ cursor: not-allowed;
121
+ }
122
+ .bootstrap-select.btn-group .dropdown-menu li a {
123
+ cursor: pointer;
124
+ }
125
+ .bootstrap-select.btn-group .dropdown-menu li a.opt {
126
+ position: relative;
127
+ padding-left: 2.25em;
128
+ }
129
+ .bootstrap-select.btn-group .dropdown-menu li a span.check-mark {
130
+ display: none;
131
+ }
132
+ .bootstrap-select.btn-group .dropdown-menu li a span.text {
133
+ display: inline-block;
134
+ }
135
+ .bootstrap-select.btn-group .dropdown-menu li small {
136
+ padding-left: 0.5em;
137
+ }
138
+ .bootstrap-select.btn-group .dropdown-menu .notify {
139
+ position: absolute;
140
+ bottom: 5px;
141
+ width: 96%;
142
+ margin: 0 2%;
143
+ min-height: 26px;
144
+ padding: 3px 5px;
145
+ background: #f5f5f5;
146
+ border: 1px solid #e3e3e3;
147
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
148
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
149
+ pointer-events: none;
150
+ opacity: 0.9;
151
+ -webkit-box-sizing: border-box;
152
+ -moz-box-sizing: border-box;
153
+ box-sizing: border-box;
154
+ }
155
+ .bootstrap-select.btn-group .no-results {
156
+ padding: 3px;
157
+ background: #f5f5f5;
158
+ margin: 0 5px;
159
+ }
160
+ .bootstrap-select.btn-group.fit-width .btn .filter-option {
161
+ position: static;
162
+ }
163
+ .bootstrap-select.btn-group.fit-width .btn .caret {
164
+ position: static;
165
+ top: auto;
166
+ margin-top: -1px;
167
+ }
168
+ .bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark {
169
+ position: absolute;
170
+ display: inline-block;
171
+ right: 15px;
172
+ margin-top: 5px;
173
+ }
174
+ .bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text {
175
+ margin-right: 34px;
176
+ }
177
+ .bootstrap-select.show-menu-arrow.open > .btn {
178
+ z-index: 1035 + 1;
179
+ }
180
+ .bootstrap-select.show-menu-arrow .dropdown-toggle:before {
181
+ content: '';
182
+ border-left: 7px solid transparent;
183
+ border-right: 7px solid transparent;
184
+ border-bottom-width: 7px;
185
+ border-bottom-style: solid;
186
+ border-bottom-color: #cccccc;
187
+ border-bottom-color: rgba(204, 204, 204, 0.2);
188
+ position: absolute;
189
+ bottom: -4px;
190
+ left: 9px;
191
+ display: none;
192
+ }
193
+ .bootstrap-select.show-menu-arrow .dropdown-toggle:after {
194
+ content: '';
195
+ border-left: 6px solid transparent;
196
+ border-right: 6px solid transparent;
197
+ border-bottom: 6px solid white;
198
+ position: absolute;
199
+ bottom: -4px;
200
+ left: 10px;
201
+ display: none;
202
+ }
203
+ .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before {
204
+ bottom: auto;
205
+ top: -3px;
206
+ border-bottom: 0;
207
+ border-top-width: 7px;
208
+ border-top-style: solid;
209
+ border-top-color: #cccccc;
210
+ border-top-color: rgba(204, 204, 204, 0.2);
211
+ }
212
+ .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after {
213
+ bottom: auto;
214
+ top: -3px;
215
+ border-top: 6px solid white;
216
+ border-bottom: 0;
217
+ }
218
+ .bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:before {
219
+ right: 12px;
220
+ left: auto;
221
+ }
222
+ .bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:after {
223
+ right: 13px;
224
+ left: auto;
225
+ }
226
+ .bootstrap-select.show-menu-arrow.open > .dropdown-toggle:before,
227
+ .bootstrap-select.show-menu-arrow.open > .dropdown-toggle:after {
228
+ display: block;
229
+ }
230
+ .bs-searchbox,
231
+ .bs-actionsbox {
232
+ padding: 4px 8px;
233
+ }
234
+ .bs-actionsbox {
235
+ float: left;
236
+ width: 100%;
237
+ -webkit-box-sizing: border-box;
238
+ -moz-box-sizing: border-box;
239
+ box-sizing: border-box;
240
+ }
241
+ .bs-actionsbox .btn-group button {
242
+ width: 50%;
243
+ }
244
+ .bs-searchbox + .bs-actionsbox {
245
+ padding: 0 8px 4px;
246
+ }
247
+ .bs-searchbox input.form-control {
248
+ margin-bottom: 0;
249
+ width: 100%;
250
+ }
251
+ .mobile-device {
252
+ position: absolute;
253
+ top: 0;
254
+ left: 0;
255
+ display: block !important;
256
+ width: 100%;
257
+ height: 100% !important;
258
+ opacity: 0;
259
+ }
260
+ /*# sourceMappingURL=bootstrap-select.css.map */