diff -r 033898178630 -r 37f1a08315f3 www/jqwidgets/jqxcombobox.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www/jqwidgets/jqxcombobox.js Sun Aug 05 11:32:13 2018 +0200 @@ -0,0 +1,9 @@ +/* +jQWidgets v6.0.5 (2018-July) +Copyright (c) 2011-2018 jQWidgets. +License: https://jqwidgets.com/license/ +*/ +/* eslint-disable */ + +(function(a){a.jqx.jqxWidget("jqxComboBox","",{});a.extend(a.jqx._jqxComboBox.prototype,{defineInstance:function(){var b={disabled:false,width:200,height:25,items:new Array(),selectedIndex:-1,selectedItems:new Array(),_selectedItems:new Array(),source:null,autoItemsHeight:false,scrollBarSize:a.jqx.utilities.scrollBarSize,arrowSize:17,enableHover:true,enableSelection:true,visualItems:new Array(),groups:new Array(),equalItemsWidth:true,itemHeight:-1,visibleItems:new Array(),hint:true,emptyGroupText:"Group",emptyString:"",ready:null,openDelay:250,closeDelay:300,animationType:"default",dropDownWidth:"auto",dropDownHeight:"200px",autoDropDownHeight:false,enableBrowserBoundsDetection:false,dropDownHorizontalAlignment:"left",dropDownVerticalAlignment:"bottom",dropDownContainer:"default",searchMode:"startswithignorecase",autoComplete:false,remoteAutoComplete:false,remoteAutoCompleteDelay:500,selectionMode:"default",minLength:2,displayMember:"",valueMember:"",groupMember:"",searchMember:"",keyboardSelection:true,renderer:null,autoOpen:false,template:"",checkboxes:false,promptText:"",placeHolder:"",rtl:false,listBox:null,validateSelection:null,showCloseButtons:true,renderSelectedItem:null,search:null,popupZIndex:2000,searchString:null,multiSelect:false,showArrow:true,_disabledItems:new Array(),touchMode:"auto",autoBind:true,aria:{"aria-disabled":{name:"disabled",type:"boolean"}},events:["open","close","select","unselect","change","checkChange","bindingComplete","itemAdd","itemRemove","itemUpdate"]};if(this===a.jqx._jqxComboBox.prototype){return b}a.extend(true,this,b);return b},createInstance:function(b){var c=this;this.host.attr("role","combobox");a.jqx.aria(this,"aria-autocomplete","both");if(a.jqx._jqxListBox==null||a.jqx._jqxListBox==undefined){throw new Error("jqxComboBox: Missing reference to jqxlistbox.js.")}a.jqx.aria(this);if(this.promptText!=""){this.placeHolder=this.promptText}this.render()},render:function(){var i=this;var b=i.element.nodeName.toLowerCase();if(b=="select"||b=="ul"||b=="ol"){i.field=i.element;if(i.field.className){i._className=i.field.className}var h={title:i.field.title};if(i.field.id.length){h.id=i.field.id.replace(/[^\w]/g,"_")+"_jqxComboBox"}else{h.id=a.jqx.utilities.createId()+"_jqxComboBox"}var d=a("
",h);if(!i.width){i.width=a(i.field).width()}if(!i.height){i.height=a(i.field).outerHeight()}i.element.style.cssText=i.field.style.cssText;a(i.field).hide().after(d);var t=i.host.data();i.host=d;i.host.data(t);i.element=d[0];i.element.id=i.field.id;i.field.id=h.id;if(i._className){i.host.addClass(i._className);a(i.field).removeClass(i._className)}if(i.field.tabIndex){var c=i.field.tabIndex;i.field.tabIndex=-1;i.element.tabIndex=c}if(i.field.innerHTML!=""){var k=a.jqx.parseSourceTag(i.field);i.source=k.items;if(i.selectedIndex==-1){i.selectedIndex=k.index}}}else{if(i.host.find("li").length>0||i.host.find("option").length>0){var k=a.jqx.parseSourceTag(i.element);i.source=k.items}}i.removeHandlers();i.isanimating=false;i.id=a.jqx.utilities.createId();i.element.innerHTML="";var m=a("