/** * jQuery EasyUI 1.3.6 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ $.parser={auto:true,onComplete:function(_1){ },plugins:["draggable","droppable","resizable","pagination","tooltip","linkbutton","menu","menubutton","splitbutton","progressbar","tree","combobox","combotree","combogrid","numberbox","validatebox","searchbox","numberspinner","timespinner","calendar","datebox","datetimebox","slider","layout","panel","datagrid","propertygrid","treegrid","tabs","accordion","window","dialog"],parse:function(_2){ var aa=[]; for(var i=0;i<$.parser.plugins.length;i++){ var _3=$.parser.plugins[i]; var r=$(".easyui-"+_3,_2); if(r.length){ if(r[_3]){ r[_3](); }else{ aa.push({name:_3,jq:r}); } } } if(aa.length&&window.easyloader){ var _4=[]; for(var i=0;i").appendTo("body"); d.width(100); $._boxModel=parseInt(d.width())==100; d.remove(); if(!window.easyloader&&$.parser.auto){ $.parser.parse(); } }); $.fn._outerWidth=function(_c){ if(_c==undefined){ if(this[0]==window){ return this.width()||document.body.clientWidth; } return this.outerWidth()||0; } return this.each(function(){ if($._boxModel){ $(this).width(_c-($(this).outerWidth()-$(this).width())); }else{ $(this).width(_c); } }); }; $.fn._outerHeight=function(_d){ if(_d==undefined){ if(this[0]==window){ return this.height()||document.body.clientHeight; } return this.outerHeight()||0; } return this.each(function(){ if($._boxModel){ $(this).height(_d-($(this).outerHeight()-$(this).height())); }else{ $(this).height(_d); } }); }; $.fn._scrollLeft=function(_e){ if(_e==undefined){ return this.scrollLeft(); }else{ return this.each(function(){ $(this).scrollLeft(_e); }); } }; $.fn._propAttr=$.fn.prop||$.fn.attr; $.fn._fit=function(_f){ _f=_f==undefined?true:_f; var t=this[0]; var p=(t.tagName=="BODY"?t:this.parent()[0]); var _10=p.fcount||0; if(_f){ if(!t.fitted){ t.fitted=true; p.fcount=_10+1; $(p).addClass("panel-noscroll"); if(p.tagName=="BODY"){ $("html").addClass("panel-fit"); } } }else{ if(t.fitted){ t.fitted=false; p.fcount=_10-1; if(p.fcount==0){ $(p).removeClass("panel-noscroll"); if(p.tagName=="BODY"){ $("html").removeClass("panel-fit"); } } } } return {width:$(p).width(),height:$(p).height()}; }; })(jQuery); (function($){ var _11=null; var _12=null; var _13=false; function _14(e){ if(e.touches.length!=1){ return; } if(!_13){ _13=true; dblClickTimer=setTimeout(function(){ _13=false; },500); }else{ clearTimeout(dblClickTimer); _13=false; _15(e,"dblclick"); } _11=setTimeout(function(){ _15(e,"contextmenu",3); },1000); _15(e,"mousedown"); if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ e.preventDefault(); } }; function _16(e){ if(e.touches.length!=1){ return; } if(_11){ clearTimeout(_11); } _15(e,"mousemove"); if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ e.preventDefault(); } }; function _17(e){ if(_11){ clearTimeout(_11); } _15(e,"mouseup"); if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ e.preventDefault(); } }; function _15(e,_18,_19){ var _1a=new $.Event(_18); _1a.pageX=e.changedTouches[0].pageX; _1a.pageY=e.changedTouches[0].pageY; _1a.which=_19||1; $(e.target).trigger(_1a); }; if(document.addEventListener){ document.addEventListener("touchstart",_14,true); document.addEventListener("touchmove",_16,true); document.addEventListener("touchend",_17,true); } })(jQuery);