diff -r 4ce46ff3e37d -r dbaed96a4a0c www-thermferm/jqwidgets/jqxangular.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-thermferm/jqwidgets/jqxangular.js Sat Nov 29 21:03:31 2014 +0100 @@ -0,0 +1,7 @@ +/* +jQWidgets v3.6.0 (2014-Nov-25) +Copyright (c) 2011-2014 jQWidgets. +License: http://jqwidgets.com/license/ +*/ + +if(!jqxBaseFramework){var jqxBaseFramework=window.minQuery||window.jQuery}(function(h,q,i){if(!q){return}h.jqx=h.jqx||{};h.jqx.AMD=false;var b=q.module("jqwidgets",[]);var u=q.module("jqwidgets-amd",[],function(){h.jqx.AMD=true});var f=null;var C=null;var v=null;var z=null;var s=null;var c=new Array();var D=new Array();var p=new Array();var r=new Array();var g=new Array();var d=new Array();var e={};var x=false;var l=function(){var E=document.getElementsByTagName("script");var G,F,H;for(G=0;F=E[G];G++){H=F.src;if(H.indexOf("jqxcore.js")>=0){var I=H.substring(0,H.indexOf("jqxcore.js"));break}}return I}();function y(I,J,E,G,F){if(G&&F){switch(I){case"jqxGrid":case"jqxDataTable":case"jqxTreeGrid":if(E.columns){var L=G.columns||G;var H=F.columns||F;if(L.length!=H.length){return false}var K={};h.each(L,function(M,O){var N=this;for(var P in this){if(N[P]!=H[M][P]){var Q=N.datafield||N.dataField;if(!K[Q]){K[Q]={}}K[Q][P]=N[P]}}});if(!h.isEmptyObject(K)){h.each(K,function(N,P){for(var O in P){var M=h(J).jqxProxy("getcolumnproperty",N,O);if(M!==P[O]){h(J).jqxProxy("setcolumnproperty",N,O,P[O])}}});return true}}break}}return false}function a(O,H,N,G,L,K){var E=function(R){if(K==="jqxTree"||K==="jqxMenu"){return R}if(typeof R=="object"){if(R._bindingUpdate!=null){return R}}var Q={};if(h.isArray(R)||(R instanceof Object&&!R.url&&!(R.localdata||R.localData))){Q.localData=R;Q.type="array"}else{if(R.url){Q=R}else{if(R.localdata||R.localData){Q=R}}}var S=new h.jqx.dataAdapter(Q);return S};if(N.jqxSource!=i){O.$watchCollection(N.jqxSource,function(S,R){if(S!=R){var Q=E(S);h(H).jqxProxy({source:Q})}})}else{var I=null;var M=f(N.jqxSettings)(O);var J=H.controller();for(var F in J){if(J[F]==M.source){I=F;break}}if(!I){for(var F in O){if(O[F]==M.source){I=F;break}}}if(I){var P="";for(var F in O){if(O[F]==J){P=F;break}}if(P!=""){I=P+"."+I}L.$watchCollection(I,function(S,R){if(S!=R){var Q=E(S);h(H).jqxProxy({source:Q})}})}O.$watchCollection(N.jqxSettings+".source",function(S,R){if(S!=R){var Q=E(S);h(H).jqxProxy({source:Q})}});O.$watchCollection(N.jqxSettings,function(S,R){if(S.source!=R.source){if(S.source&&R.source&&h.isArray(S.source)&&h.isArray(R.source)){if(A(S.source)==A(R.source)){return}}var Q=E(S.source);h(H).jqxProxy({source:Q})}})}return E(G)}function A(E){if(E==null){return""}var F="";h.each(E,function(H){var J=this;if(H>0){F+=", "}F+="[";var G=0;if(h.type(J)=="object"){for(var I in J){if(G>0){F+=", "}F+="{"+I+":"+J[I]+"}";G++}}else{if(G>0){F+=", "}F+="{"+H+":"+J+"}";G++}F+="]"});return F}function k(I,G,F,E,H,J){h.extend(h.jqx["_"+E+""].prototype,{definedInstance:function(){if(this.element!==G[0]){return true}var K=this;h.each(J,function(N,O){K.addHandler(h(G),N,function(P){I.$parent?h.proxy(O,H)(P):O(P);if(I.$root.$$phase!="$apply"&&I.$root.$$phase!="$digest"){I.$apply()}})});var L=F.$attr;h.each(F,function(Q,R){if(Q.indexOf("jqxOn")>=0){var N=L[Q].substring(7);var P=h.camelCase(N);var O=R;K.addHandler(h(G),P,function(T){T.data=F.data||F.jqxData;if(O.indexOf("(")>=0){var S=O.indexOf("(");var U=f(O.substring(0,S))(I);if(U){U(T)}else{I.$emit(P,T)}}else{I.$emit(O,T)}if(I.$root.$$phase!="$apply"&&I.$root.$$phase!="$digest"){I.$apply()}})}});if(F.jqxInstance){var M=f(F.jqxInstance).assign;if(M){M(I,K)}if(I.$root.$$phase!="$apply"&&I.$root.$$phase!="$digest"){I.$apply()}}}})}function j(J,H,F,E,I,K){if(F.jqxSettings){var G=f(F.jqxSettings)(J);if(!G.apply){G.apply=G[E]=function(){var L=arguments;var M=new Array();if(L.length==0){return true}h.each(D[I.$id+E],function(N,O){var P=this;M.push({widgetName:E,element:P,result:h.jqx.jqxWidgetProxy(E,P,L)})});if(M.length==1){return M[0].result}return M};G.refresh=function(P,O){var M={};var L=h(H)[E]("getInstance");h.each(G,function(Q,S){if(Q==="created"||Q=="data"||Q=="refresh"||Q==E||Q=="apply"){return true}var R=L.events||L._events;if((R&&R.indexOf(Q)>=0)||Q.match(/(mousedown|click|mouseenter|mouseleave|mouseup|keydown|keyup|focus|blur|keypress)/g)){return true}if(P!=i&&P.indexOf(Q)===-1){return true}M[Q]=S});if(M!=={}){if(O){h.each(M,function(Q,R){G[Q]=L[Q]});if(J.$root.$$phase!="$apply"&&J.$root.$$phase!="$digest"){J.$apply()}}else{h.each(D[I.$id+E],function(Q,R){h(this).jqxProxy(M)});if(F.jqxWatchSettings!=i){if(I){var N=f(F.jqxSettings)(I);h.each(N,function(Q,U){if(Q.match(/(source|created|data|apply|refresh)/g)){return true}var S=L.events||L._events;if((S&&S.indexOf(Q)>=0)||Q.match(/(mousedown|click|mouseenter|mouseleave|mouseup|keydown|keyup|focus|blur|keypress)/g)){return true}if(Q===E){return true}if(!p[F.jqxSettings+"."+Q]){var T=Q;var R=I.$watch(F.jqxSettings+"."+Q,function(X,W){if(X!=W){var V={};V[T]=X;h.each(D[I.$id+E],function(Z,aa){var Y=y(E,h(this),V,X,W);if(!Y){h(this).jqxProxy(V)}})}},true);p[F.jqxSettings+"."+Q]=R}})}}}}if(e[E]){M={};h.each(e[E],function(){if(P!=i&&P.indexOf(h.camelCase(this.value.substring(4)))===-1){return true}M[h.camelCase(this.value.substring(4))]=J.$eval(this.label);if(O){var Q=h.parse(this.label)(J).assign;if(Q){Q(J,L[h.camelCase(this.value.substring(4))])}}});if(!O){h.each(D[I.$id+E],function(Q,R){h(this).jqxProxy(M)})}else{if(J.$root.$$phase!="$apply"&&J.$root.$$phase!="$digest"){J.$apply()}}}};D[I.$id+E]=new Array();D[I.$id+E].push(K)}else{if(!D[I.$id+E]){D[I.$id+E]=new Array()}D[I.$id+E].push(K)}}}function m(M,I,L,F,J,H){var K=/(jqxGrid|jqxTree|jqxMenu|jqxDataTable|jqxTreeGrid|jqxListBox|jqxTreeMap|jqxComboBox|jqxDropDownList|jqxChart)/ig;if(H&&H.source===i&&L.jqxSource===i&&F.match(K)){if(F.match(/(jqxTree|jqxMenu)/ig)){if(I[0].innerHTML.toLowerCase().indexOf("ul")===-1){H.source=[]}}else{H.source=[]}}if(H.source!==i){H.source=a(M,I,L,H.source,J,F)}else{if(L.jqxSource!==i){var E=q.extend({},M.$eval(L.jqxSource));var G=L.jqxSource&&L.jqxSource.dataBind?true:false;if(G){H.source=a(M,I,L,L.jqxSource,J,F)}else{H.source=a(M,I,L,E,J,F)}}}M.$watch(L.ngDisabled,function(P,O){if(P!=i){if(P!=O||h(I).jqxProxy("disabled")!==P){var N={};N.disabled=P;h(I).jqxProxy(N)}}})}function n(O,I,N,E,M){var G=q.extend({},O.$eval(N.jqxSettings));m(O,I,N,E,M,G);var K={};var J={};if(e[E]){h.each(e[E],function(){var S=this.label;var T=this.value;var R=h.camelCase(T.substring("4"));if(typeof N[S]!=="undefined"){var U=O.$eval(N[S]);if(R=="instance"){return true}if(h.type(U)==="array"&&E!=="source"){U=U.slice(0)}else{if(h.type(U)==="object"&&E!=="source"){U=h.extend({},U)}}K[R]=U;var Q=function(Z,X){if(Z!=X){var Y=h.camelCase(T.substring("4"));if(Y=="watch"){if(N.jqxWatch.indexOf(",")>=0||N.jqxWatch.indexOf("[")>=0){var ab=N.jqxWatch;ab=ab.replace("[","");ab=ab.replace("]","");ab=ab.trim();ab=ab.split(",");h.each(ab,function(ae,ag){var ah=this.split(".");for(var af=0;af=0)||O.match(/(mousedown|click|mouseenter|mouseleave|mouseup|keydown|keyup|focus|blur|keypress)/g)){return true}if(O===E){return true}if(H.hasOwnProperty(O)){var R=O;var P=J.$watch(L.jqxSettings+"."+O,function(W,V){if(W!=V){var T={};T[R]=W;var U=y(E,h(G),T,W,V);if(!U){h(G).jqxProxy(T)}}},true);p[L.jqxSettings+"."+O]=P}})}}M.$watch(L.jqxSettings,function(S,R){var P={};var O=false;if(S!=R){h.each(S,function(U,X){if(U==="source"){if(R.source!=null){return true}else{var T=a(M,G,L,X,J);P[U]=T}}if(U==="created"){return true}if(U==="data"){M.$apply();return true}var V=N.events||N._events;if((V&&V.indexOf(U)>=0)||U.match(/(mousedown|click|mouseenter|mouseleave|mouseup|keydown|keyup|focus|blur|keypress)/g)){return true}var W=function(Z){if(L.jqxWatchSettings!=i){if(J){if(!p[L.jqxSettings+"."+Z]){var Z=U;var Y=J.$watch(L.jqxSettings+"."+Z,function(ad,ac){if(ad!=ac){var aa={};aa[Z]=ad;var ab=y(E,h(G),aa,ad,ac);if(!ab){h(G).jqxProxy(aa)}}},true);p[L.jqxSettings+"."+Z]=Y}}}};if(!(X instanceof Object)&&(R==null||X!==R[U])){P[U]=X;W(U);O=true}else{if(U!==E&&U!=="apply"&&U!=="created"&&(X instanceof Object)&&(R==null||(A(X)!==A(R[U]))||(A(X)==""&&A(R[U])==""))){P[U]=X;W(U);O=true}}});if(P!=={}&&O){var Q=y(E,h(G),P,S,R);if(!Q){h(G).jqxProxy(P)}}}})}}function w(H){var L=H[0].nodeName.toLowerCase();var M=h(H).parent();var F=h(H).html();var J='
'+F+"
";if(L.indexOf("jqx")>=0){var G=H[0].attributes;var K=H;if(L.indexOf("input")>=0){if(L.indexOf("date")>=0||L.indexOf("number")>=0){h(H).replaceWith('
')}else{if(L.indexOf("password")>=0){h(H).replaceWith('')}else{h(H).replaceWith('')}}}else{if(L.indexOf("jqx-button")>=0&&L.indexOf("jqx-button-group")==-1){h(H).replaceWith('")}else{if(L.indexOf("jqx-toggle-button")>=0){h(H).replaceWith('")}else{if(L.indexOf("jqx-link-button")>=0){if(h(H).find("a").length>0){var I=h(H).find("a");I.attr("id","jqx-ngwidget");h(H).replaceWith(I)}else{h(H).replaceWith(''+F+"")}}else{if(L.indexOf("jqx-data-table")>=0){if(h(H).find("tr").length>0){h(H).replaceWith('
'+F+"
")}else{h(H).replaceWith('
')}}else{if(L.indexOf("jqx-list-box")>=0||L.indexOf("jqx-drop-down-list")>=0||L.indexOf("jqx-combo-box")>=0){if(h(H).find("option").length>0){h(H).replaceWith('")}else{if(h(H).find("li").length>0){h(H).replaceWith('")}else{h(H).replaceWith('
')}}}else{if(L.indexOf("jqx-list-menu")>=0){h(H).replaceWith('")}else{if(L.indexOf("jqx-tooltip")>=0){var E=h(H).children();E.detach();h(E).insertAfter(h(H));h.each(G,function(){if(h(E)[0]){h(E)[0].setAttribute(this.name,this.value)}});h(H).remove()}else{h(H).replaceWith(J)}}}}}}}}K=M.find("#jqx-ngwidget").removeAttr("id");h.each(G,function(){if(h(K)[0]){h(K)[0].setAttribute(this.name,this.value)}})}}function t(G,H){function F(L){H.filesCount=0;var I=L.length;if(L.scripts){var K=L.scripts.length;for(var N in L.deps){K++;var M=L.deps[N];K+=M.length}I=K}var J=function(S,P){var R=0;var O=0;var Q=function(){var Y=S[R];var T=h('script[src*="'+Y+'"]').length;if(T===0){var V=document.getElementsByTagName("head")[0];var U=document.createElement("script");U.type="text/javascript";var X=function(){H.filesCount++;O++;g[Y]=false;if(r[Y]!=i){h.each(r[Y],function(){this.documentReady=true;if(this.scriptsLoaded){this.scriptsLoaded()}})}r[Y]=true;if(H.filesCount==I){H.documentReady=true;if(H.scriptsLoaded){H.scriptsLoaded()}return}if(O===S.length&&P){P()}};if(U.addEventListener){U.addEventListener("load",X,false)}else{if(window.attachEvent){U.attachEvent("onreadystatechange",function(){if(U.readyState=="complete"||U.readyState=="loaded"){X()}})}}g[Y]=true;var W=l;if(Y=="globalize.js"){W=l+"globalization/"}U.src=W+Y;V.appendChild(U);R++;if(R=0){if(!e[E]){e[E]=new Array()}e[E].push({label:R,value:O.$attr[R]})}});H=this.scope},controller:["$scope","$attrs","$element","$transclude",function(R,O,Q,P){}],compile:function(P,O,Q){return{pre:function(V,T,R,U,S){},post:function(V,T,R,U,S){G(V,T,R,U,S)}}},link:G}}])}o("jqxBulletChart");o("jqxButtonGroup");o("jqxButton");o("jqxRepeatButton");o("jqxToggleButton");o("jqxLinkButton");o("jqxCalendar");o("jqxChart");o("jqxCheckBox");o("jqxColorPicker");o("jqxComboBox");o("jqxDataTable");o("jqxDateTimeInput");o("jqxDocking");o("jqxDockPanel");o("jqxDragDrop");o("jqxDraw");o("jqxDropDownButton");o("jqxDropDownList");o("jqxEditor");o("jqxExpander");o("jqxFormattedInput");o("jqxGauge");o("jqxGrid");o("jqxInput");o("jqxListBox");o("jqxListMenu");o("jqxMaskedInput");o("jqxMenu");o("jqxNavigationBar");o("jqxNavBar");o("jqxNotification");o("jqxNumberInput");o("jqxPanel");o("jqxPasswordInput");o("jqxProgressBar");o("jqxRadioButton");o("jqxRangeSelector");o("jqxRating");o("jqxRibbon");o("jqxScrollBar");o("jqxScrollView");o("jqxSlider");o("jqxSplitter");o("jqxSwitchButton");o("jqxTabs");o("jqxTooltip");o("jqxTouch");o("jqxTree");o("jqxTreeGrid");o("jqxTreeMap");o("jqxValidator");o("jqxWindow")})(jqxBaseFramework,window.angular); \ No newline at end of file