diff -r 4ce46ff3e37d -r dbaed96a4a0c www-thermferm/jqwidgets/jqxdata.export.js --- a/www-thermferm/jqwidgets/jqxdata.export.js Sat Nov 29 16:07:34 2014 +0100 +++ b/www-thermferm/jqwidgets/jqxdata.export.js Sat Nov 29 21:03:31 2014 +0100 @@ -1,7 +1,7 @@ /* -jQWidgets v3.4.0 (2014-June-23) +jQWidgets v3.6.0 (2014-Nov-25) Copyright (c) 2011-2014 jQWidgets. License: http://jqwidgets.com/license/ */ -(function(b){var a=(function(){var c={},u,q,j,l,g,h,o,p;function d(B,A,x,z,y,v,w){this.hierarchy=y;this.exportFormat=v;this.filename=w;B.beginFile(w);n(B);k(B);B.endFile(w);return B.getFile()}function n(z){var x=true;b.each(q,function(){if(this.hidden){x=false;return false}});z.beginHeader(x);var w=0;for(var v in q){var y=m(v,q[v]);z.appendHeaderCell(q[v],v,y,x,w);w++}z.endHeader(x)}function k(x){x.beginBody();if(this.hierarchy){var w=function(z){for(var y=0;yz.level&&x.index-10){return v[0].style}return null}function t(){if(!g){g=new Array();b.each(j,function(v,w){g[g.length]={name:v,style:w}})}return g}function s(A,z){var B=q[z];if(B){if(B.customCellStyles){var x=B.customCellStyles[A];if(x){return j[x]}}if(B.cellStyle){if(B.cellAltStyle){var w=A%2;if(w==0){return j[B.cellStyle]}return j[B.cellAltStyle]}return j[B.cellStyle]}else{var v=t();if(v.length>0){var w=A%(v.length-1);var y=v[w+1].style;return y}}}return null}function r(y,w,x){var v=document.createElement("input");v.name=w;v.value=y;v.type="hidden";x.appendChild(v);return v}function f(x,v,w){var y=document.createElement("textarea");y.name=v;y.value=x;w.appendChild(y);return y}function i(w,z,y,v,A){var x=document.createElement("form");r(w,"filename",x);r(z,"format",x);f(y,"content",x);if(v==undefined||v==""){if(window&&window.location.toString().indexOf("jqwidgets.com")>=0){v="http://jqwidgets.com/export_server/save-file.php"}else{v="http://jquerygrid.net/export_server/save-file.php"}}x.action=v;x.method="post";if(A){x.acceptCharset=A}document.body.appendChild(x);return x}l=function(A,y,x,w,z,v){if(!(this instanceof a)){return new a(A,y,x,z,v)}u=A;q=y;j=x;this.exportTo=function(F,D,B,C){F=F.toString().toLowerCase();var E=c[F];if(typeof E==="undefined"){throw"You can't export to "+F+" format."}return d(E,u,q,j,D,B,C)};this.exportToFile=function(G,C,B,H,D){var F=this.exportTo(G,D,G,C),E=i(C,G,F,B,H);E.submit();document.body.removeChild(E)};this.exportToLocalFile=function(F,C,D,B){var E=this.exportTo(F,D,B);document.location.href="data:application/octet-stream;filename="+C+","+encodeURIComponent(E)}};l.extend=function(v,w){if(w instanceof b.jqx.dataAdapter.DataExportModuleBase){c[v]=w}else{throw"The module "+v+" is not instance of DataExportModuleBase."}};return l}());b.jqx.dataAdapter.ArrayExporter=a})(jQuery);(function(b){var a=function(){this.formatData=function(f,e,c,h){if(e==="date"){var d="";if(typeof f==="string"){d=b.jqx.dataFormat.tryparsedate(f);f=d}if(f===""||f===null){return""}d=b.jqx.dataFormat.formatdate(f,c,h);if(d.toString()=="NaN"||d==null){return""}f=d}else{if(e==="number"||e==="float"||e==="int"||e=="integer"){if(f===""||f===null){return""}if(!isNaN(new Number(f))){var g=b.jqx.dataFormat.formatnumber(f,c,h);if(g.toString()=="NaN"){return""}else{f=g}}}else{f=f}}if(f===null){return""}return f};this.getFormat=function(f){var c=f?f.formatString:"";var e=f?f.localization:"";var d="string";d=f?f.type:"string";if(d=="number"||d=="float"){if(!c){c="f2"}}if(d=="int"||d=="integer"){if(!c){c="n0"}}if(d=="date"){if(!c){c="d"}}return{type:d,formatString:c,localization:e}};this.beginFile=function(){throw"Not implemented!"};this.beginHeader=function(){throw"Not implemented!"};this.appendHeaderCell=function(){throw"Not implemented!"};this.endHeader=function(){throw"Not implemented!"};this.beginBody=function(){throw"Not implemented!"};this.beginRow=function(){throw"Not implemented!"};this.beginRows=function(){throw"Not implemented!"};this.endRows=function(){throw"Not implemented!"};this.appendBodyCell=function(){throw"Not implemented!"};this.endRow=function(){throw"Not implemented!"};this.endBody=function(){throw"Not implemented!"};this.endFile=function(){throw"Not implemented!"};this.getFile=function(){throw"Not implemented!"}};b.jqx.dataAdapter.DataExportModuleBase=a})(jQuery);(function(d){var c=function(j){var e,h,g;var l=0;var i=this;this.beginFile=function(){e=""};this.beginHeader=function(){};this.appendHeaderCell=function(q,r,p,m,n){if(p){if(p.level!=undefined){if(n0)||(l==0&&g)){e+="\n"}l++};this.appendBodyCell=function(q,m,p,r,n){if(p){if(p.maxLevel!=undefined){if(n===p.maxLevel){k(q,m);for(var o=0;o'}else{g='\n\t\n\t\t\n\t\t\n\t\n\t\n\t\t'}};this.beginHeader=function(){if(i){g+="\n\t"}else{g+="\n\t\t\t"}};this.appendHeaderCell=function(m,n,l,k){h=k;if(!k){return}if(i){g+='\n\t\t\t\t"}else{if(l.disabled){return}if(l.merge){if(m.width){g+="\n\t\t\t\t"}else{g+="\n\t\t\t\t"}}else{if(m.width){g+='\n\t\t\t\t"}else{g+='\n\t\t\t\t"}}}};this.endHeader=function(){if(i){g+="\n\t"}else{g+="\n\t\t\t"}};this.beginBody=function(){if(i){g+="\n\t"}else{g+="\n\t\t\t"}j=0};this.beginRow=function(){if(i){g+="\n\t"}else{g+="\n\t\t\t\t"}j++};this.appendBodyCell=function(l,n,k){var m=this.getFormat(n);if(l===""){l=" "}if(i){if(j==1&&!h){g+='\n\t\t\t\t\t"}else{g+='\n\t\t\t\t\t"}}else{if(k.merge){if(j==1&&!h){g+="\n\t\t\t\t\t"}else{g+="\n\t\t\t\t\t"}}else{if(j==1&&!h){g+='\n\t\t\t\t\t"}else{g+='\n\t\t\t\t\t"}}}};this.endRow=function(){if(i){g+="\n\t"}else{g+="\n\t\t\t\t"}};this.endBody=function(){if(i){g+="\n\t"}else{g+="\n\t\t\t"}};this.endFile=function(k){if(i||k==undefined){g+="\n
'+m.text+"'+m.text+"'+m.text+"'+m.text+"'+m.text+"
'+this.formatData(l,m.type,m.formatString,m.localization)+"'+this.formatData(l,m.type,m.formatString,m.localization)+"'+this.formatData(l,m.type,m.formatString,m.localization)+"'+this.formatData(l,m.type,m.formatString,m.localization)+"'+this.formatData(l,m.type,m.formatString,m.localization)+"'+this.formatData(l,m.type,m.formatString,m.localization)+"
"}else{g+="\n\t\t\n\t\n\n"}};this.getFile=function(){return g};function f(m){var k="";for(var l in m){if(m.hasOwnProperty(l)){if(i&&l=="font-size"){m[l]="100%"}k+=l+":"+m[l]+";"}}return k}};a.prototype=new d.jqx.dataAdapter.DataExportModuleBase();var e=function(){};e.prototype=new a();var c=function(){};c.prototype=new a();var b=new c();b.setPDF();d.jqx.dataAdapter.ArrayExporter.extend("html",new e());d.jqx.dataAdapter.ArrayExporter.extend("pdf",b)})(jQuery);(function(b){var a=function(){var h,l,d,i,c,j,m={style:"",stylesMap:{font:{color:"Color","font-family":"FontName","font-style":"Italic","font-weight":"Bold"},interior:{"background-color":"Color",background:"Color"},alignment:{left:"Left",center:"Center",right:"Right"}},startStyle:function(p){this.style+='\n\t\t"},toString:function(){var p=this.style;this.style="";return p}};this.beginFile=function(){c={};j=0;h='\n\t \n\t \n\t \n\t12.00 \n\t \n\t \n\t8130 \n\t15135 \n\t120 \n\t45 \n\tFalse \n\tFalse \n\t \n\t'};this.beginHeader=function(){l='\n\t\n\t\t';d=[];i=[]};this.appendHeaderCell=function(r,s,q){var p=r.width!=undefined?r.width:r.text.length*10;l+='\n\t\t\t';d.push(r);i.push(q)};this.endHeader=function(p){if(p){this.beginRow();for(var q=0;q";return}l+="\n\t\t\t"};this.beginRows=function(p){l+="\n\t\t\t\t"};this.appendBodyCell=function(r,p,q,s){g.call(this,r,p,q,s)};this.endRow=function(q){if(q!=undefined){l+="\n\t\t\t";for(var p=0;p";return}l+="\n\t\t\t"};this.endRows=function(q){if(q!=undefined){l+="\n\t\t\t";for(var p=0;p";return}};this.endBody=function(){l+="\n\t\t
"};this.endFile=function(){l+="\n\t
\n
";h+="\n\t"};this.getFile=function(){return h+l};function g(s,v,r,u){var q="String";var t=this.getFormat(v);if(s!=null&&s.toString().substring(0,2)=="AG"){s=s.toString().substring(2);q="String"}else{if(t.type=="date"){s=this.formatData(s,t.type,t.formatString,t.localization);if(s===null||s===""){s="";q="String"}}if(t.type=="string"){if(s===null||s===undefined){s=""}else{if(s.toString().indexOf("&")>=0){s=s.toString().replace(/&/g,"&")}if(s.toString().indexOf(">")>=0){s=s.toString().replace(/>/g,">")}if(s.toString().indexOf("<")>=0){s=s.toString().replace(/=0){s=s.toString().replace(/"/g,""")}if(s.toString().indexOf("'")>=0){s=s.toString().replace(/'/g,"'")}}}if(r.dataType=="number"||r.dataType=="float"||r.dataType=="int"||r.dataType=="integer"){q="Number";s=parseFloat(s);if(s===null||isNaN(s)||s===""){s="";q="String"}if(s&&q!="String"&&s!=""){if(v&&v.formatString&&v.formatString.indexOf("p")>=0){s=s/100}}r.currencysymbol=v.localization.currencysymbol}}var p=f(r);if(r.merge){l+='\n\t\t\t\t'+s+""}else{l+='\n\t\t\t\t'+s+""}}function n(){j+=1;return"xls-style-"+j}function k(q){for(var p in c){if(o(q,c[p])&&o(c[p],q)){return p}}return undefined}function o(t,q){var s=true;for(var r in t){if(t[r]!==q[r]){s=false}}return s}function e(q,p){m.startStyle(q);m.buildAlignment(p);m.buildBorder(p);m.buildFont(p);m.buildInterior(p);m.buildFormat(p);m.closeStyle();h+=m.toString()}function f(p){if(!p){return""}var q=k(p);if(typeof q==="undefined"){q=n();c[q]=p;e(q,p)}return q}};a.prototype=new b.jqx.dataAdapter.DataExportModuleBase();b.jqx.dataAdapter.ArrayExporter.extend("xls",new a())})(jQuery);(function(b){var a=function(){var e,c,d;this.beginFile=function(){e='';e+="\n"};this.beginHeader=function(){c=[]};this.appendHeaderCell=function(f,g){c.push(g)};this.endHeader=function(){};this.beginBody=function(g,f){};this.beginRow=function(g){if(g!=undefined){if(this.hierarchy){e+="\n\t";for(var f=0;f";d=0;return}}e+="\n\t";d=0};this.beginRows=function(g){if(g!=undefined){e+="\n\t\t";for(var f=0;f";d=0;return}e+="\n\t\t"};this.appendBodyCell=function(j,n,g,m,h,l){var k=this.getFormat(n);j=this.formatData(j,k.type,k.formatString,k.localization);if(k.type=="string"){if(j.toString().indexOf("&")>=0){j=j.toString().replace(/&/g,"&")}if(j.toString().indexOf(">")>=0){j=j.toString().replace(/>/g,">")}if(j.toString().indexOf("<")>=0){j=j.toString().replace(/=0){j=j.toString().replace(/"/g,""")}if(j.toString().indexOf("'")>=0){j=j.toString().replace(/'/g,"'")}}if(m.level!=undefined){if(this.hierarchy){e+="\n\t\t";for(var f=0;f"+j+""}else{e+="<"+l+">"+j+""}}else{if(l!=undefined){e+="\n\t\t<"+l+">"+j+""}else{e+="\n\t\t<"+c[d]+">"+j+""}}}else{e+="\n\t\t<"+c[d]+">"+j+""}d++};this.endRow=function(g){if(g!=undefined){if(this.hierarchy){e+="\n\t";for(var f=0;f";d=0;return}}e+="\n\t";d=0};this.endRows=function(g){if(g!=undefined){e+="\n\t\t";for(var f=0;f";d=0;return}e+="\n\t\t"};this.endBody=function(){};this.endFile=function(){e+="\n
"};this.getFile=function(){return e}};a.prototype=new b.jqx.dataAdapter.DataExportModuleBase();b.jqx.dataAdapter.ArrayExporter.extend("xml",new a())})(jQuery);(function(d){var j=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,l={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function a(n){return'"'+n.replace(j,function(o){var p=l[o];return typeof p==="string"?p:"\\u"+("0000"+o.charCodeAt(0).toString(16)).slice(-4)})+'"'}function b(o){return o<10?"0"+o:o}function e(o){var n;if(isFinite(o.valueOf())){n=o.getUTCFullYear()+"-"+b(o.getUTCMonth()+1)+"-"+b(o.getUTCDate())+"T"+b(o.getUTCHours())+":"+b(o.getUTCMinutes())+":"+b(o.getUTCSeconds())+'Z"'}else{n="null"}return n}function g(q){var n=q.length,o=[],p;for(p=0;pz.level&&x.index-10){return v[0].style}return null}function t(){if(!g){g=new Array();b.each(j,function(v,w){g[g.length]={name:v,style:w}})}return g}function s(A,z){var B=q[z];if(B){if(B.customCellStyles){var x=B.customCellStyles[A];if(x){return j[x]}}if(B.cellStyle){if(B.cellAltStyle){var w=A%2;if(w==0){return j[B.cellStyle]}return j[B.cellAltStyle]}return j[B.cellStyle]}else{var v=t();if(v.length>0){var w=A%(v.length-1);var y=v[w+1].style;return y}}}return null}function r(y,w,x){var v=document.createElement("input");v.name=w;v.value=y;v.type="hidden";x.appendChild(v);return v}function f(x,v,w){var y=document.createElement("textarea");y.name=v;y.value=x;w.appendChild(y);return y}function i(w,z,y,v,A){var x=document.createElement("form");r(w,"filename",x);r(z,"format",x);f(y,"content",x);if(v==undefined||v==""){if(window&&window.location.toString().indexOf("jqwidgets.com")>=0){v="http://jqwidgets.com/export_server/save-file.php"}else{v="http://jquerygrid.net/export_server/save-file.php"}}x.action=v;x.method="post";if(A){x.acceptCharset=A}document.body.appendChild(x);return x}l=function(A,y,x,w,z,v){if(!(this instanceof a)){return new a(A,y,x,z,v)}u=A;q=y;j=x;this.exportTo=function(F,D,B,C){F=F.toString().toLowerCase();var E=c[F];if(typeof E==="undefined"){throw"You can't export to "+F+" format."}return d(E,u,q,j,D,B,C)};this.exportToFile=function(G,C,B,H,D){var F=this.exportTo(G,D,G,C),E=i(C,G,F,B,H);E.submit();document.body.removeChild(E)};this.exportToLocalFile=function(F,C,D,B){var E=this.exportTo(F,D,B);document.location.href="data:application/octet-stream;filename="+C+","+encodeURIComponent(E)}};l.extend=function(v,w){if(w instanceof b.jqx.dataAdapter.DataExportModuleBase){c[v]=w}else{throw"The module "+v+" is not instance of DataExportModuleBase."}};return l}());b.jqx.dataAdapter.ArrayExporter=a})(jqxBaseFramework);(function(b){var a=function(){this.formatData=function(f,e,c,h){if(e==="date"){var d="";if(typeof f==="string"){d=b.jqx.dataFormat.tryparsedate(f);f=d}if(f===""||f===null){return""}d=b.jqx.dataFormat.formatdate(f,c,h);if(d.toString()=="NaN"||d==null){return""}f=d}else{if(e==="number"||e==="float"||e==="int"||e=="integer"){if(f===""||f===null){return""}if(!isNaN(new Number(f))){var g=b.jqx.dataFormat.formatnumber(f,c,h);if(g.toString()=="NaN"){return""}else{f=g}}}else{f=f}}if(f===null){return""}return f};this.getFormat=function(f){var c=f?f.formatString:"";var e=f?f.localization:"";var d="string";d=f?f.type:"string";if(d=="number"||d=="float"){if(!c){c="f2"}}if(d=="int"||d=="integer"){if(!c){c="n0"}}if(d=="date"){if(!c){c="d"}}return{type:d,formatString:c,localization:e}};this.beginFile=function(){throw"Not implemented!"};this.beginHeader=function(){throw"Not implemented!"};this.appendHeaderCell=function(){throw"Not implemented!"};this.endHeader=function(){throw"Not implemented!"};this.beginBody=function(){throw"Not implemented!"};this.beginRow=function(){throw"Not implemented!"};this.beginRows=function(){throw"Not implemented!"};this.endRows=function(){throw"Not implemented!"};this.appendBodyCell=function(){throw"Not implemented!"};this.endRow=function(){throw"Not implemented!"};this.endBody=function(){throw"Not implemented!"};this.endFile=function(){throw"Not implemented!"};this.getFile=function(){throw"Not implemented!"}};b.jqx.dataAdapter.DataExportModuleBase=a})(jqxBaseFramework);(function(d){var c=function(j){var e,h,g;var l=0;var i=this;this.beginFile=function(){e=""};this.beginHeader=function(){};this.appendHeaderCell=function(q,r,p,m,n){if(p){if(p.level!=undefined){if(n0)||(l==0&&g)){e+="\n"}l++};this.appendBodyCell=function(q,m,p,r,n){if(p){if(p.maxLevel!=undefined){if(n===p.maxLevel){k(q,m);for(var o=0;o'}else{g='\n\t\n\t\t\n\t\t\n\t\n\t\n\t\t'}};this.beginHeader=function(){if(i){g+="\n\t"}else{g+="\n\t\t\t"}};this.appendHeaderCell=function(m,n,l,k){h=k;if(!k){return}if(i){g+='\n\t\t\t\t"}else{if(l.disabled){return}if(l.merge){if(m.width){g+="\n\t\t\t\t"}else{g+="\n\t\t\t\t"}}else{if(m.width){g+='\n\t\t\t\t"}else{g+='\n\t\t\t\t"}}}};this.endHeader=function(){if(i){g+="\n\t"}else{g+="\n\t\t\t"}};this.beginBody=function(){if(i){g+="\n\t"}else{g+="\n\t\t\t"}j=0};this.beginRow=function(){if(i){g+="\n\t"}else{g+="\n\t\t\t\t"}j++};this.appendBodyCell=function(l,n,k){var m=this.getFormat(n);if(l===""){l=" "}if(i){if(j==1&&!h){g+='\n\t\t\t\t\t"}else{g+='\n\t\t\t\t\t"}}else{if(k.merge){if(j==1&&!h){g+="\n\t\t\t\t\t"}else{g+="\n\t\t\t\t\t"}}else{if(j==1&&!h){g+='\n\t\t\t\t\t"}else{g+='\n\t\t\t\t\t"}}}};this.endRow=function(){if(i){g+="\n\t"}else{g+="\n\t\t\t\t"}};this.endBody=function(){if(i){g+="\n\t"}else{g+="\n\t\t\t"}};this.endFile=function(k){if(i||k==undefined){g+="\n
'+m.text+"'+m.text+"'+m.text+"'+m.text+"'+m.text+"
'+this.formatData(l,m.type,m.formatString,m.localization)+"'+this.formatData(l,m.type,m.formatString,m.localization)+"'+this.formatData(l,m.type,m.formatString,m.localization)+"'+this.formatData(l,m.type,m.formatString,m.localization)+"'+this.formatData(l,m.type,m.formatString,m.localization)+"'+this.formatData(l,m.type,m.formatString,m.localization)+"
"}else{g+="\n\t\t\n\t\n\n"}};this.getFile=function(){return g};function f(m){var k="";for(var l in m){if(m.hasOwnProperty(l)){if(i&&l=="font-size"){m[l]="100%"}k+=l+":"+m[l]+";"}}return k}};a.prototype=new d.jqx.dataAdapter.DataExportModuleBase();var e=function(){};e.prototype=new a();var c=function(){};c.prototype=new a();var b=new c();b.setPDF();d.jqx.dataAdapter.ArrayExporter.extend("html",new e());d.jqx.dataAdapter.ArrayExporter.extend("pdf",b)})(jqxBaseFramework);(function(b){var a=function(){var h,l,d,i,c,j,m={style:"",stylesMap:{font:{color:"Color","font-family":"FontName","font-style":"Italic","font-weight":"Bold"},interior:{"background-color":"Color",background:"Color"},alignment:{left:"Left",center:"Center",right:"Right"}},startStyle:function(p){this.style+='\n\t\t"},toString:function(){var p=this.style;this.style="";return p}};this.beginFile=function(){c={};j=0;h='\n\t \n\t \n\t \n\t12.00 \n\t \n\t \n\t8130 \n\t15135 \n\t120 \n\t45 \n\tFalse \n\tFalse \n\t \n\t'};this.beginHeader=function(){l='\n\t\n\t\t';d=[];i=[]};this.appendHeaderCell=function(r,s,q){var p=r.width!=undefined?r.width:r.text.length*10;l+='\n\t\t\t';d.push(r);i.push(q)};this.endHeader=function(p){if(p){this.beginRow();for(var q=0;q";return}l+="\n\t\t\t"};this.beginRows=function(p){l+="\n\t\t\t\t"};this.appendBodyCell=function(r,p,q,s){g.call(this,r,p,q,s)};this.endRow=function(q){if(q!=undefined){l+="\n\t\t\t";for(var p=0;p";return}l+="\n\t\t\t"};this.endRows=function(q){if(q!=undefined){l+="\n\t\t\t";for(var p=0;p";return}};this.endBody=function(){l+="\n\t\t
"};this.endFile=function(){l+="\n\t
\n
";h+="\n\t"};this.getFile=function(){return h+l};function g(s,v,r,u){var q="String";var t=this.getFormat(v);if(s!=null&&s.toString().substring(0,3)=="_AG"){s=s.toString().substring(2);q="String"}else{if(t.type=="date"){s=this.formatData(s,t.type,t.formatString,t.localization);if(s===null||s===""){s="";q="String"}}if(t.type=="string"){if(s===null||s===undefined){s=""}else{if(s.toString().indexOf("&")>=0){s=s.toString().replace(/&/g,"&")}if(s.toString().indexOf(">")>=0){s=s.toString().replace(/>/g,">")}if(s.toString().indexOf("<")>=0){s=s.toString().replace(/=0){s=s.toString().replace(/"/g,""")}if(s.toString().indexOf("'")>=0){s=s.toString().replace(/'/g,"'")}}}if(r.dataType=="number"||r.dataType=="float"||r.dataType=="int"||r.dataType=="integer"){q="Number";s=parseFloat(s);if(s===null||isNaN(s)||s===""){s="";q="String"}if(s&&q!="String"&&s!=""){if(v&&v.formatString&&v.formatString.indexOf("p")>=0){s=s/100}}r.currencysymbol=v.localization.currencysymbol}}var p=f(r);if(r.merge){l+='\n\t\t\t\t'+s+""}else{l+='\n\t\t\t\t'+s+""}}function n(){j+=1;return"xls-style-"+j}function k(q){for(var p in c){if(o(q,c[p])&&o(c[p],q)){return p}}return undefined}function o(t,q){var s=true;for(var r in t){if(t[r]!==q[r]){s=false}}return s}function e(q,p){m.startStyle(q);m.buildAlignment(p);m.buildBorder(p);m.buildFont(p);m.buildInterior(p);m.buildFormat(p);m.closeStyle();h+=m.toString()}function f(p){if(!p){return""}var q=k(p);if(typeof q==="undefined"){q=n();c[q]=p;e(q,p)}return q}};a.prototype=new b.jqx.dataAdapter.DataExportModuleBase();b.jqx.dataAdapter.ArrayExporter.extend("xls",new a())})(jqxBaseFramework);(function(b){var a=function(){var e,c,d;this.beginFile=function(){e='';e+="\n"};this.beginHeader=function(){c=[]};this.appendHeaderCell=function(f,g){c.push(g)};this.endHeader=function(){};this.beginBody=function(g,f){};this.beginRow=function(g){if(g!=undefined){if(this.hierarchy){e+="\n\t";for(var f=0;f";d=0;return}}e+="\n\t";d=0};this.beginRows=function(g){if(g!=undefined){e+="\n\t\t";for(var f=0;f";d=0;return}e+="\n\t\t"};this.appendBodyCell=function(j,n,g,m,h,l){var k=this.getFormat(n);j=this.formatData(j,k.type,k.formatString,k.localization);if(k.type=="string"){if(j.toString().indexOf("&")>=0){j=j.toString().replace(/&/g,"&")}if(j.toString().indexOf(">")>=0){j=j.toString().replace(/>/g,">")}if(j.toString().indexOf("<")>=0){j=j.toString().replace(/=0){j=j.toString().replace(/"/g,""")}if(j.toString().indexOf("'")>=0){j=j.toString().replace(/'/g,"'")}}if(m.level!=undefined){if(this.hierarchy){e+="\n\t\t";for(var f=0;f"+j+""}else{e+="<"+l+">"+j+""}}else{if(l!=undefined){e+="\n\t\t<"+l+">"+j+""}else{e+="\n\t\t<"+c[d]+">"+j+""}}}else{e+="\n\t\t<"+c[d]+">"+j+""}d++};this.endRow=function(g){if(g!=undefined){if(this.hierarchy){e+="\n\t";for(var f=0;f";d=0;return}}e+="\n\t";d=0};this.endRows=function(g){if(g!=undefined){e+="\n\t\t";for(var f=0;f";d=0;return}e+="\n\t\t"};this.endBody=function(){};this.endFile=function(){e+="\n
"};this.getFile=function(){return e}};a.prototype=new b.jqx.dataAdapter.DataExportModuleBase();b.jqx.dataAdapter.ArrayExporter.extend("xml",new a())})(jqxBaseFramework);(function(d){var j=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,l={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function a(n){return'"'+n.replace(j,function(o){var p=l[o];return typeof p==="string"?p:"\\u"+("0000"+o.charCodeAt(0).toString(16)).slice(-4)})+'"'}function b(o){return o<10?"0"+o:o}function e(o){var n;if(isFinite(o.valueOf())){n=o.getUTCFullYear()+"-"+b(o.getUTCMonth()+1)+"-"+b(o.getUTCDate())+"T"+b(o.getUTCHours())+":"+b(o.getUTCMinutes())+":"+b(o.getUTCSeconds())+'Z"'}else{n="null"}return n}function g(q){var n=q.length,o=[],p;for(p=0;p