=0){N++;L--;Q=Math.floor(J/N)*-1;T=Math.ceil(M/L);}if(L>0){J=T*N*-1;}else{J=M-(E*I);}}else{E=Math.max(T,Q);E=this._getNiceNumber(E);M=E*L;J=E*N*-1;}}}else{if(P){J=M-(E*I);}else{if(K){M=J+(E*I);}else{J=this._roundDownToNearest(J,E);M=this._roundUpToNearest(M,E);}}}}else{if(K){if(O){M=0;}else{M=J+(E*I);}}else{if(!P){if(O||M===0||M+E>0){M=0;E=this._getMinimumUnit(M,J,I);}else{M=this._roundUpToNearest(M,E);}J=M-(E*I);}else{J=M-(E*I);}}}}}else{if(F=="auto"){if(S&&G){if((O||J<(M-J)/I)&&!K){J=0;}E=(M-J)/I;if(H){E=Math.ceil(E);}M=J+(E*I);}else{if(G&&!S){if(O){L=Math.round(I/((-1*J)/M+1));L=Math.max(Math.min(L,I-1),1);N=I-L;if(H){T=Math.ceil(M/L);Q=Math.floor(J/N)*-1;}else{T=M/L;Q=J/N*-1;}E=Math.max(T,Q);M=E*L;J=E*N*-1;}else{E=(M-J)/I;if(H){E=Math.ceil(E);}J=this._roundDownToNearest(J,E);M=this._roundUpToNearest(M,E);}}else{E=(M-J)/I;if(H){E=Math.ceil(E);}if(O||M===0||M+E>0){M=0;E=(M-J)/I;if(H){Math.ceil(E);}}else{M=this._roundUpToNearest(M,E);}J=M-(E*I);}}}else{if(!isNaN(F)&&isFinite(F)){E=F;V=E*I;U=(M-J)>V;R=this._roundDownToNearest(J,E);D=this._roundUpToNearest(M,E);if(P){J=M-V;}else{if(K){M=J+V;}else{if(S&&G){if(O||R<=0){J=0;}else{J=R;}M=J+V;}else{if(G&&!S){J=R;M=J+V;}else{if(O||D>=0){M=0;}else{M=D;}J=M-V;}}}}}}}}this._dataMaximum=M;this._dataMinimum=J;},getLabelByIndex:function(H,E){var G=this.get("minimum"),D=this.get("maximum"),J=(D-G)/(E-1),F,I=this.get("roundingMethod");E-=1;if(H===0){F=G;}else{if(H===E){F=D;}else{F=(H*J);if(I=="niceNumber"){F=this._roundToNearest(F,J);}F+=G;}}return parseFloat(F);},_roundToNearest:function(F,E){E=E||1;if(E===0){return F;}var D=Math.round(this._roundToPrecision(F/E,10))*E;return this._roundToPrecision(D,10);},_roundUpToNearest:function(E,D){D=D||1;if(D===0){return E;}return Math.ceil(this._roundToPrecision(E/D,10))*D;},_roundDownToNearest:function(E,D){D=D||1;if(D===0){return E;}return Math.floor(this._roundToPrecision(E/D,10))*D;},_roundToPrecision:function(F,D){D=D||0;var E=Math.pow(10,D);return Math.round(E*F)/E;},_hasDataOverflow:function(){var F,E,D;if(this.get("setMin")||this.get("setMax")){return true;}F=this.get("roundingMethod");E=this._actualMinimum;D=this._actualMaximum;if(q.isNumber(F)&&((q.isNumber(D)&&D>this._dataMaximum)||(q.isNumber(E)&&E=0){J+=G;}else{D+=G;}}}if(J>0){K=Math.max(K,J);}else{K=Math.max(K,D);}if(D<0){E=Math.min(E,D);}else{E=Math.min(E,J);}}this._actualMaximum=K;this._actualMinimum=E;if(N){K=this._setMaximum;}if(I){E=this._setMinimum;}this._roundMinAndMax(E,K,I,N);}});b.StackedAxis=e;function d(D){d.superclass.constructor.apply(this,arguments);}d.NAME="timeAxis";d.ATTRS={setMax:{readOnly:true,getter:function(){var D=this._getNumber(this._setMaximum);return(q.isNumber(D));}},setMin:{readOnly:true,getter:function(){var D=this._getNumber(this._setMinimum);return(q.isNumber(D));}},maximum:{getter:function(){var D=this._getNumber(this._setMaximum);if(!q.isNumber(D)){D=this._getNumber(this.get("dataMaximum"));}return parseFloat(D);},setter:function(D){this._setMaximum=this._getNumber(D);return D;}},minimum:{getter:function(){var D=this._getNumber(this._setMinimum);if(!q.isNumber(D)){D=this._getNumber(this.get("dataMinimum"));}return parseFloat(D);},setter:function(D){this._setMinimum=this._getNumber(D);return D;}},labelFunction:{value:function(E,D){E=b.DataType.Date.parse(E);if(D){return b.DataType.Date.format(E,{format:D});}return E;}},labelFormat:{value:"%b %d, %y"}};b.extend(d,b.AxisType,{formatLabel:function(E,D){E=b.DataType.Date.parse(E);if(D){return b.DataType.Date.format(E,{format:D});}return E;},GUID:"yuitimeaxis",_dataType:"time",getLabelByIndex:function(I,F){var H=this.get("minimum"),E=this.get("maximum"),D=this.get("position"),J,G;F-=1;J=((E-H)/F)*I;if(D=="bottom"||D=="top"){G=H+J;}else{G=E-J;}return G;},_getKeyArray:function(G,H){var I,E=[],F=0,J,D=H.length;for(;F F){R.lineTo(M+Math.cos(G)*F,L+Math.sin(G)*F);}else{if(Q>0){R.lineTo(M+Math.cos(G)*Q,L+Math.sin(G)*Q);}}R.moveTo(D,P);},_getLineDefaults:function(){return{alpha:1,weight:6,lineType:"solid",dashLength:10,gapSpace:10,connectDiscontinuousPoints:true,discontinuousType:"solid",discontinuousDashLength:10,discontinuousGapSpace:10};}};b.augment(h,b.Attribute);b.Lines=h;function y(D){var E={area:{getter:function(){return this._defaults||this._getAreaDefaults();},setter:function(G){var F=this._defaults||this._getAreaDefaults();this._defaults=b.merge(F,G);}}};this.addAttrs(E,D);this.get("styles");}y.prototype={_getPath:function(){var D=this._path;if(!D){D=this.get("graph").get("graphic").addShape({type:"path"});this._path=D;}return D;},_toggleVisible:function(D){if(this._path){this._path.set("visible",D);}},drawFill:function(L,H){if(L.length<1){return;}var K=L.length,E=L[0],D=H[0],J=E,I=D,P,N,G=1,M=this.get("styles").area,O=this._getPath(),F=M.color||this._getDefaultColor(this.get("graphOrder"),"slice");O.clear();O.set("fill",{color:F,opacity:M.alpha});O.set("stroke",{weight:0});O.moveTo(E,D);for(;G 0){E=G[T-1].get("xcoords").concat().reverse();Q=G[T-1].get("ycoords").concat().reverse();M=this.getCurveControlPoints(E,Q);U=0;V=M.length;R.lineTo(E[0],Q[0]);for(;U 0){J=F[H-1].get("xcoords").concat();G=F[H-1].get("ycoords").concat();M=M.concat(J.concat().reverse());I=I.concat(G.concat().reverse());M.push(M[0]);I.push(I[0]);}else{if(L==="vertical"){M.push(this._leftOrigin);M.push(this._leftOrigin);I.push(I[I.length-1]);I.push(D);}else{M.push(M[M.length-1]);M.push(E);I.push(this._bottomOrigin);I.push(this._bottomOrigin);}}return[M,I];},_getAreaDefaults:function(){return{};}};b.augment(y,b.Attribute);b.Fills=y;function x(D){var E={markers:{getter:function(){return this._markers; -}}};this.addAttrs(E,D);}x.prototype={_plotDefaults:null,drawPlots:function(){if(!this.get("xcoords")||this.get("xcoords").length<1){return;}var N=q.isNumber,U=b.clone(this.get("styles").marker),M=U.width,T=U.height,O=this.get("xcoords"),V=this.get("ycoords"),R=0,S=O.length,P=V[0],G,J,Q=M/2,F=T/2,K,H,E=null,I=null,L=this.get("graphOrder"),D=this.get("groupMarkers");if(D){K=[];H=[];for(;R 0){while(!E){if(this._markerCache.length<1){E=this._createMarker(H,D,G);break;}E=this._markerCache.shift();}E.set(H);}else{E=this._createMarker(H,D,G);}this._markers.push(E);return E;},_createMarker:function(H,D,G){var I=this.get("graphic"),F,E=b.clone(H);I.set("autoDraw",false);E.type=E.shape;F=I.addShape(E);F.addClass(n);return F;},_createMarkerCache:function(){if(this._groupMarker){this._groupMarker.destroy();this._groupMarker=null;}if(this._markers&&this._markers.length>0){this._markerCache=this._markers.concat();}else{this._markerCache=[];}this._markers=[];},_createGroupMarker:function(H){var E,I=this.get("markers"),G=H.border,J,D,F;if(I&&I.length>0){while(I.length>0){E=I.shift();E.destroy();}this.set("markers",[]);}G.opacity=G.alpha;D={id:this.get("chart").get("id")+"_"+H.graphOrder,stroke:G,fill:H.fill,dimensions:H.dimensions,xvalues:H.xvalues,yvalues:H.yvalues};D.fill.opacity=H.fill.alpha;F=this._getGroupShape(H.shape);if(F){D.type=F;}if(H.hasOwnProperty("radius")&&!isNaN(H.radius)){D.dimensions.radius=H.radius;}if(this._groupMarker){this._groupMarker.destroy();}J=this.get("graphic");J.set("autoDraw",true);this._groupMarker=J.addShape(D);},_toggleVisible:function(H){var E,G=this.get("markers"),F=0,D;if(G){D=G.length;for(;F0){D=this._markerCache.shift();if(D){D.destroy();}}},updateMarkerState:function(J,H){if(this._markers&&this._markers[H]){var L,I,M=b.clone(this.get("styles").marker),D=this._getState(J),K=this.get("xcoords"),G=this.get("ycoords"),F=this._markers[H],E=D=="off"||!M[D]?M:M[D];E.fill.color=this._getItemColor(E.fill.color,H);E.border.color=this._getItemColor(E.border.color,H);E.stroke=E.border;F.set(E);L=E.width;I=E.height;F.set("x",(K[H]-L/2));F.set("y",(G[H]-I/2));F.set("visible",this.get("visible"));}},_getItemColor:function(E,D){if(q.isArray(E)){return E[D%E.length];}return E;},_setStyles:function(D){D=this._parseMarkerStyles(D);return b.Renderer.prototype._setStyles.apply(this,[D]);},_parseMarkerStyles:function(E){if(E.marker){var D=this._getPlotDefaults();E.marker=this._mergeStyles(E.marker,D);if(E.marker.over){E.marker.over=this._mergeStyles(E.marker.over,E.marker);}if(E.marker.down){E.marker.down=this._mergeStyles(E.marker.down,E.marker);}}return E;},_getState:function(D){var E;switch(D){case"mouseout":E="off";break;case"mouseover":E="over";break;case"mouseup":E="over";break;case"mousedown":E="down";break;}return E;},_stateSyles:null};b.augment(x,b.Attribute);b.Plots=x;function B(){}B.prototype={drawSeries:function(){if(this.get("xcoords").length<1){return;}var af=b.clone(this.get("styles").marker),V,R,N=this.get("xcoords"),O=this.get("ycoords"),ag=0,K=N.length,G=O[0],am=this.get("type"),aa=this.get("graph"),Y=aa.seriesTypes[am],E=Y.length,ad=0,ai=0,ab=0,ac,T,U=this.get("order"),ak=this.get("graphOrder"),F,al,P,Q,W,ah=null,D=null,X=[],H=[],L,M,S,aj,Z={width:[],height:[]},J=[],I=[],ae=this.get("groupMarkers");if(q.isArray(af.fill.color)){ah=af.fill.color.concat();}if(q.isArray(af.border.color)){D=af.border.color.concat();}if(this.get("direction")=="vertical"){P="height";Q="width";}else{P="width";Q="height";}V=af[P];R=af[Q];this._createMarkerCache();for(;ag ag){ab=ad;}}ai=K*ad;this._maxSize=aa.get(P);if(ai>this._maxSize){ac=aa.get(P)/ai;ad*=ac;ab*=ac;V*=ac;V=Math.max(V,1);this._maxSize=V;}ab-=ad/2;for(ag=0;ag 0){G=W.top;F=W.left;if(ae){Z[P][ag]=V;Z[Q][ag]=W.calculatedSize;J.push(F);I.push(G);}else{af[P]=V;af[Q]=W.calculatedSize;af.x=F;af.y=G;if(ah){af.fill.color=ah[ag%ah.length];}if(D){af.border.color=D[ag%D.length];}al=this.getMarker(af,ak,ag);}}else{if(!ae){this._markers.push(null);}}}this.set("xMarkerPlane",X);this.set("yMarkerPlane",H);if(ae){this._createGroupMarker({fill:af.fill,border:af.border,dimensions:Z,xvalues:J,yvalues:I,shape:af.shape});}else{this._clearMarkerCache();}},_defaultFillColors:["#66007f","#a86f41","#295454","#996ab2","#e8cdb7","#90bdbd","#000000","#c3b8ca","#968373","#678585"],_getPlotDefaults:function(){var D={fill:{type:"solid",alpha:1,colors:null,alphas:null,ratios:null},border:{weight:0,alpha:1},width:12,height:12,shape:"rect",padding:{top:0,left:0,right:0,bottom:0}}; -D.fill.color=this._getDefaultColor(this.get("graphOrder"),"fill");D.border.color=this._getDefaultColor(this.get("graphOrder"),"border");return D;}};b.Histogram=B;b.CartesianSeries=b.Base.create("cartesianSeries",b.Base,[b.Renderer],{_xDisplayName:null,_yDisplayName:null,_leftOrigin:null,_bottomOrigin:null,render:function(){this._setCanvas();this.addListeners();this.set("rendered",true);this.validate();},addListeners:function(){var E=this.get("xAxis"),D=this.get("yAxis");if(E){E.after("dataReady",b.bind(this._xDataChangeHandler,this));E.after("dataUpdate",b.bind(this._xDataChangeHandler,this));}if(D){D.after("dataReady",b.bind(this._yDataChangeHandler,this));D.after("dataUpdate",b.bind(this._yDataChangeHandler,this));}this.after("xAxisChange",this._xAxisChangeHandler);this.after("yAxisChange",this._yAxisChangeHandler);this.after("stylesChange",function(G){var F=this._updateAxisData();if(F){this.draw();}});this.after("widthChange",function(G){var F=this._updateAxisData();if(F){this.draw();}});this.after("heightChange",function(G){var F=this._updateAxisData();if(F){this.draw();}});this.after("visibleChange",this._handleVisibleChange);},_xAxisChangeHandler:function(E){var D=this.get("xAxis");D.after("dataReady",b.bind(this._xDataChangeHandler,this));D.after("dataUpdate",b.bind(this._xDataChangeHandler,this));},_yAxisChangeHandler:function(E){var D=this.get("yAxis");D.after("dataReady",b.bind(this._yDataChangeHandler,this));D.after("dataUpdate",b.bind(this._yDataChangeHandler,this));},GUID:"yuicartesianseries",_xDataChangeHandler:function(D){var E=this._updateAxisData();if(E){this.draw();}},_yDataChangeHandler:function(D){var E=this._updateAxisData();if(E){this.draw();}},_updateAxisData:function(){var H=this.get("xAxis"),E=this.get("yAxis"),F=this.get("xKey"),D=this.get("yKey"),G,I;if(!H||!E||!F||!D){return false;}I=H.getDataByKey(F);G=E.getDataByKey(D);if(!I||!G){return false;}this.set("xData",I.concat());this.set("yData",G.concat());return true;},validate:function(){if((this.get("xData")&&this.get("yData"))||this._updateAxisData()){this.draw();}else{this.fire("drawingComplete");}},_setCanvas:function(){var D=this.get("graph"),E=D.get("graphic");this.set("graphic",E);},setAreaData:function(){var U=q.isNumber,ai,ag,H=this.get("graph"),Q=H.get("width"),ab=H.get("height"),O=this.get("xAxis"),E=this.get("yAxis"),J=this.get("xData").concat(),ae=this.get("yData").concat(),Y,ac,al=O.getEdgeOffset(J.length,Q),N=E.getEdgeOffset(ae.length,ab),V=this.get("styles").padding,X=V.left,af=V.top,L=Q-(X+V.right+al),aa=ab-(af+V.bottom+N),T=[],ak=[],aj=O.get("maximum"),ad=O.get("minimum"),G=E.get("maximum"),D=E.get("minimum"),K=L/(aj-ad),R=aa/(G-D),M,ah=this.get("direction"),Z=0,P=[],W=[],I=this.get("xMarkerPlaneOffset"),F=this.get("yMarkerPlaneOffset"),S=this.get("graphic");S.set("width",Q);S.set("height",ab);M=J.length;al*=0.5;N*=0.5;if(ah==="vertical"){ae=ae.reverse();}this._leftOrigin=Math.round(((0-ad)*K)+X+al);this._bottomOrigin=Math.round((aa+af+N));for(;Z 0&&E>0)&&((this.get("xData")&&this.get("yData"))||this._updateAxisData())){if(this._drawing){this._callLater=true;return;}this._drawing=true;this._callLater=false;this.setAreaData();if(this.get("xcoords")&&this.get("ycoords")){this.drawSeries();}this._drawing=false;if(this._callLater){this.draw();}else{this._toggleVisible(this.get("visible"));this.fire("drawingComplete");}}}},_defaultPlaneOffset:4,_getDefaultStyles:function(){return{padding:{top:0,left:0,right:0,bottom:0}};},_defaultLineColors:["#426ab3","#d09b2c","#000000","#b82837","#b384b5","#ff7200","#779de3","#cbc8ba","#7ed7a6","#007a6c"],_defaultFillColors:["#6084d0","#eeb647","#6c6b5f","#d6484f","#ce9ed1","#ff9f3b","#93b7ff","#e0ddd0","#94ecba","#309687"],_defaultBorderColors:["#205096","#b38206","#000000","#94001e","#9d6fa0","#e55b00","#5e85c9","#adab9e","#6ac291","#006457"],_defaultSliceColors:["#66007f","#a86f41","#295454","#996ab2","#e8cdb7","#90bdbd","#000000","#c3b8ca","#968373","#678585"],_getDefaultColor:function(G,H){var E={line:this._defaultLineColors,fill:this._defaultFillColors,border:this._defaultBorderColors,slice:this._defaultSliceColors},F=E[H],D=F.length;G=G||0;if(G>=D){G=G%D;}H=H||"fill";return E[H][G];},_handleVisibleChange:function(D){this._toggleVisible(this.get("visible"));},getTotalValues:function(){var D=this.get("valueAxis").getTotalByKey(this.get("valueKey"));return D;},destructor:function(){if(this._path){this._path.destroy();}if(this._lineGraphic){this._lineGraphic.destroy();this._lineGraphic=null;}if(this.get("graphic")){this.get("graphic").destroy();}}},{ATTRS:{xDisplayName:{getter:function(){return this._xDisplayName||this.get("xKey");},setter:function(D){this._xDisplayName=D.toString();return D;}},yDisplayName:{getter:function(){return this._yDisplayName||this.get("yKey");},setter:function(D){this._yDisplayName=D.toString();return D;}},categoryDisplayName:{readOnly:true,getter:function(){return this.get("direction")=="vertical"?this.get("yDisplayName"):this.get("xDisplayName");}},valueDisplayName:{readOnly:true,getter:function(){return this.get("direction")=="vertical"?this.get("xDisplayName"):this.get("yDisplayName");}},type:{value:"cartesian"},order:{},graphOrder:{},xcoords:{},ycoords:{},chart:{readOnly:true,getter:function(){return this.get("graph").get("chart");}},graph:{},xAxis:{},yAxis:{},xKey:{setter:function(D){return D.toString();}},yKey:{setter:function(D){return D.toString();}},xData:{},yData:{},rendered:{value:false},width:{readOnly:true,getter:function(){this.get("graph").get("width"); -}},height:{readOnly:true,getter:function(){this.get("graph").get("height");}},visible:{value:true},xMarkerPlane:{},yMarkerPlane:{},xMarkerPlaneOffset:{getter:function(){var D=this.get("styles").marker;if(D&&D.width&&isFinite(D.width)){return D.width*0.5;}return this._defaultPlaneOffset;}},yMarkerPlaneOffset:{getter:function(){var D=this.get("styles").marker;if(D&&D.height&&isFinite(D.height)){return D.height*0.5;}return this._defaultPlaneOffset;}},direction:{value:"horizontal"},groupMarkers:{getter:function(){if(this._groupMarkers===undefined){return this.get("graph").get("groupMarkers");}else{return this._groupMarkers;}},setter:function(D){this._groupMarkers=D;return D;}}}});b.MarkerSeries=b.Base.create("markerSeries",b.CartesianSeries,[b.Plots],{drawSeries:function(){this.drawPlots();},_setStyles:function(D){if(!D.marker){D={marker:D};}D=this._parseMarkerStyles(D);return b.MarkerSeries.superclass._mergeStyles.apply(this,[D,this._getDefaultStyles()]);},_getDefaultStyles:function(){var D=this._mergeStyles({marker:this._getPlotDefaults()},b.MarkerSeries.superclass._getDefaultStyles());return D;}},{ATTRS:{type:{value:"marker"}}});b.LineSeries=b.Base.create("lineSeries",b.CartesianSeries,[b.Lines],{drawSeries:function(){this.drawLines();},_setStyles:function(D){if(!D.line){D={line:D};}return b.LineSeries.superclass._setStyles.apply(this,[D]);},_getDefaultStyles:function(){var D=this._mergeStyles({line:this._getLineDefaults()},b.LineSeries.superclass._getDefaultStyles());return D;}},{ATTRS:{type:{value:"line"}}});b.SplineSeries=b.Base.create("splineSeries",b.LineSeries,[b.CurveUtil,b.Lines],{drawSeries:function(){this.drawSpline();}},{ATTRS:{type:{value:"spline"}}});b.AreaSplineSeries=b.Base.create("areaSplineSeries",b.CartesianSeries,[b.Fills,b.CurveUtil],{drawSeries:function(){this.drawAreaSpline();}},{ATTRS:{type:{value:"areaSpline"}}});b.StackedSplineSeries=b.Base.create("stackedSplineSeries",b.SplineSeries,[b.StackingUtil],{setAreaData:function(){b.StackedSplineSeries.superclass.setAreaData.apply(this);this._stackCoordinates.apply(this);}},{ATTRS:{type:{value:"stackedSpline"}}});b.StackedMarkerSeries=b.Base.create("stackedMarkerSeries",b.MarkerSeries,[b.StackingUtil],{setAreaData:function(){b.StackedMarkerSeries.superclass.setAreaData.apply(this);this._stackCoordinates.apply(this);}},{ATTRS:{type:{value:"stackedMarker"}}});b.ColumnSeries=b.Base.create("columnSeries",b.MarkerSeries,[b.Histogram],{_getMarkerDimensions:function(E,D,G,H){var F={left:E+H};if(this._bottomOrigin>=D){F.top=D;F.calculatedSize=this._bottomOrigin-F.top;}else{F.top=this._bottomOrigin;F.calculatedSize=D-this._bottomOrigin;}return F;},updateMarkerState:function(F,R){if(this._markers&&this._markers[R]){var L=b.clone(this.get("styles").marker),V,G=this._getState(F),N=this.get("xcoords"),W=this.get("ycoords"),I=this._markers[R],T,D=this.get("graph"),E,J=D.seriesTypes[this.get("type")],S=J.length,M=0,H=0,P,O=0,K=[],Q=this.get("order"),U;V=G=="off"||!L[G]?b.clone(L):b.clone(L[G]);V.fill.color=this._getItemColor(V.fill.color,R);V.border.color=this._getItemColor(V.border.color,R);U=this._getMarkerDimensions(N[R],W[R],L.width,H);V.height=U.calculatedSize;V.width=Math.min(this._maxSize,V.width);I.set(V);for(;O O){H=M;}H-=M/2;}for(O=0;O=this._leftOrigin){F.left=this._leftOrigin;F.calculatedSize=E-F.left;}else{F.left=E;F.calculatedSize=this._leftOrigin-E;}return F;},updateMarkerState:function(F,R){if(this._markers&&this._markers[R]){var K=b.clone(this.get("styles").marker),V,G=this._getState(F),M=this.get("xcoords"),W=this.get("ycoords"),I=this._markers[R],T,D=this.get("graph"),J=D.seriesTypes[this.get("type")],S=J.length,E,L=0,H=0,O,N=0,Q=[],P=this.get("order"),U;V=G=="off"||!K[G]?K:K[G];V.fill.color=this._getItemColor(V.fill.color,R);V.border.color=this._getItemColor(V.border.color,R);U=this._getMarkerDimensions(M[R],W[R],K.height,H);V.width=U.calculatedSize;V.height=Math.min(this._maxSize,V.height);I.set(V);for(;NN){H=L;}H-=L/2;}for(N=0;Nthis.get("width")){P=this.width/H;U*=P;U=Math.max(U,1);}if(!F){M=R[Z-1];S=M.get("negativeBaseValues");Y=M.get("positiveBaseValues");if(!S||!Y){F=true;Y=[];S=[];}}else{S=[];Y=[];}this.set("negativeBaseValues",S);this.set("positiveBaseValues",Y);for(aa=0;aathis._bottomOrigin){Y[aa]=this._bottomOrigin;S[aa]=X;X-=ac;}else{Y[aa]=X;S[aa]=X;}}}else{if(X>this._bottomOrigin){X+=(S[aa]-this._bottomOrigin);ac=X-S[aa];S[aa]=X;X-=ac;}else{if(X<=this._bottomOrigin){X=Y[aa]-(this._bottomOrigin-X);ac=Y[aa]-X;Y[aa]=X;}}}if(!isNaN(ac)&&ac>0){J-=U/2;if(D){L.width[aa]=U;L.height[aa]=ac;N.push(J);K.push(X);}else{ad.width=U;ad.height=ac;ad.x=J;ad.y=X;if(E){ad.fill.color=E[aa%E.length];}if(O){ad.border.color=O[aa%O.length];}Q=this.getMarker(ad,T,aa);}}else{if(!D){this._markers.push(null);}}}if(D){this._createGroupMarker({fill:ad.fill,border:ad.border,dimensions:L,xvalues:N,yvalues:K,shape:ad.shape});}else{this._clearMarkerCache();}},updateMarkerState:function(K,I){if(this._markers&&this._markers[I]){var M,F,D=this._getState(K),L=this.get("xcoords"),J=this._markers[I],H=0,E,G;M=this.get("styles").marker;H=M.width*0.5;F=D=="off"||!M[D]?b.clone(M):b.clone(M[D]);F.height=J.get("height");F.x=(L[I]-H);F.y=J.get("y");F.id=J.get("id");E=F.fill.color;G=F.border.color;if(q.isArray(E)){F.fill.color=E[I%E.length];}else{F.fill.color=this._getItemColor(F.fill.color,I);}if(q.isArray(G)){F.border.color=G[I%G.length];}else{F.border.color=this._getItemColor(F.border.color,I);}J.set(F);}},_getPlotDefaults:function(){var D={fill:{type:"solid",alpha:1,colors:null,alphas:null,ratios:null},border:{weight:0,alpha:1},width:24,height:24,shape:"rect",padding:{top:0,left:0,right:0,bottom:0}};D.fill.color=this._getDefaultColor(this.get("graphOrder"),"fill");D.border.color=this._getDefaultColor(this.get("graphOrder"),"border");return D;}},{ATTRS:{type:{value:"stackedColumn"},negativeBaseValues:{value:null},positiveBaseValues:{value:null}}});b.StackedBarSeries=b.Base.create("stackedBarSeries",b.BarSeries,[b.StackingUtil],{drawSeries:function(){if(this.get("xcoords").length<1){return;}var U=q.isNumber,ac=b.clone(this.get("styles").marker),T=ac.width,ab=ac.height,V=this.get("xcoords"),ae=this.get("ycoords"),Z=0,aa=V.length,W=ae[0],H=this.get("type"),G=this.get("graph"),Q=G.seriesTypes[H],O,Y=this.get("order"),S=this.get("graphOrder"),I,P,L,R,X,E,N,F=Y===0,ad=aa*ab,K={width:[],height:[]},M=[],J=[],D=this.get("groupMarkers");if(q.isArray(ac.fill.color)){E=ac.fill.color.concat();}if(q.isArray(ac.border.color)){N=ac.border.color.concat();}this._createMarkerCache();if(ad>this.get("height")){O=this.height/ad;ab*=O;ab=Math.max(ab,1);}if(!F){L=Q[Y-1];R=L.get("negativeBaseValues");X=L.get("positiveBaseValues");if(!R||!X){F=true;X=[];R=[];}}else{R=[];X=[];}this.set("negativeBaseValues",R);this.set("positiveBaseValues",X);for(Z=0;Z this._leftOrigin){X[Z]=I;R[Z]=this._leftOrigin;I-=T;}else{if(I =this._leftOrigin){I+=(X[Z]-this._leftOrigin);T=I-X[Z];X[Z]=I;I-=T;}}}if(!isNaN(T)&&T>0){W-=ab/2;if(D){K.width[Z]=T;K.height[Z]=ab;M.push(I);J.push(W);}else{ac.width=T;ac.height=ab;ac.x=I;ac.y=W;if(E){ac.fill.color=E[Z%E.length];}if(N){ac.border.color=N[Z%N.length];}P=this.getMarker(ac,S,Z);}}else{if(!D){this._markers.push(null);}}}if(D){this._createGroupMarker({fill:ac.fill,border:ac.border,dimensions:K,xvalues:M,yvalues:J,shape:ac.shape});}else{this._clearMarkerCache();}},updateMarkerState:function(L,I){if(this._markers[I]){var D=this._getState(L),H=this.get("ycoords"),J=this._markers[I],M=this.get("styles").marker,K=M.height,F=D=="off"||!M[D]?b.clone(M):b.clone(M[D]),E,G;F.y=(H[I]-K/2);F.x=J.get("x");F.width=J.get("width");F.id=J.get("id");E=F.fill.color;G=F.border.color;if(q.isArray(E)){F.fill.color=E[I%E.length];}else{F.fill.color=this._getItemColor(F.fill.color,I);}if(q.isArray(G)){F.border.color=G[I%G.length];}else{F.border.color=this._getItemColor(F.border.color,I);}J.set(F);}},_getPlotDefaults:function(){var D={fill:{type:"solid",alpha:1,colors:null,alphas:null,ratios:null},border:{weight:0,alpha:1},width:24,height:24,shape:"rect",padding:{top:0,left:0,right:0,bottom:0}};D.fill.color=this._getDefaultColor(this.get("graphOrder"),"fill");D.border.color=this._getDefaultColor(this.get("graphOrder"),"border");return D;}},{ATTRS:{type:{value:"stackedBar"},direction:{value:"vertical"},negativeBaseValues:{value:null},positiveBaseValues:{value:null}}});b.PieSeries=b.Base.create("pieSeries",b.MarkerSeries,[],{_map:null,_image:null,_setMap:function(){var F="pieHotSpotMapi_"+Math.round(100000*Math.random()),D=this.get("graph").get("contentBox"),E;if(this._image){D.removeChild(this._image);while(this._areaNodes&&this._areaNodes.length>0){E=this._areaNodes.shift();this._map.removeChild(E);}D.removeChild(this._map);}this._image=g.createElement("img");this._image.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABJJREFUeNpiZGBgSGPAAgACDAAIkABoFyloZQAAAABJRU5ErkJggg==";D.appendChild(this._image);this._image.setAttribute("usemap","#"+F);this._image.style.zIndex=3;this._image.style.opacity=0;this._image.setAttribute("alt","imagemap");this._map=g.createElement("map");this._map.style.zIndex=5;D.appendChild(this._map);this._map.setAttribute("name",F);this._map.setAttribute("id",F);this._areaNodes=[];},_categoryDisplayName:null,_valueDisplayName:null,addListeners:function(){var D=this.get("categoryAxis"),E=this.get("valueAxis");if(D){D.after("dataReady",b.bind(this._categoryDataChangeHandler,this));D.after("dataUpdate",b.bind(this._categoryDataChangeHandler,this));}if(E){E.after("dataReady",b.bind(this._valueDataChangeHandler,this));E.after("dataUpdate",b.bind(this._valueDataChangeHandler,this));}this.after("categoryAxisChange",this.categoryAxisChangeHandler);this.after("valueAxisChange",this.valueAxisChangeHandler);this.after("stylesChange",this._updateHandler);},validate:function(){this.draw();this._renderered=true;},_categoryAxisChangeHandler:function(D){var E=this.get("categoryAxis");E.after("dataReady",b.bind(this._categoryDataChangeHandler,this));E.after("dataUpdate",b.bind(this._categoryDataChangeHandler,this));},_valueAxisChangeHandler:function(D){var E=this.get("valueAxis");E.after("dataReady",b.bind(this._valueDataChangeHandler,this));E.after("dataUpdate",b.bind(this._valueDataChangeHandler,this));},GUID:"pieseries",_categoryDataChangeHandler:function(D){if(this._rendered&&this.get("categoryKey")&&this.get("valueKey")){this.draw();}},_valueDataChangeHandler:function(D){if(this._rendered&&this.get("categoryKey")&&this.get("valueKey")){this.draw();}},draw:function(){var F=this.get("graph"),D=F.get("width"),E=F.get("height");if(isFinite(D)&&isFinite(E)&&D>0&&E>0){this._rendered=true;if(this._drawing){this._callLater=true;return;}this._drawing=true;this._callLater=false;this.drawSeries();this._drawing=false;if(this._callLater){this.draw();}else{this.fire("drawingComplete");}}},drawPlots:function(){var F=this.get("valueAxis").getDataByKey(this.get("valueKey")).concat(),G=this.get("categoryAxis").getDataByKey(this.get("categoryKey")).concat(),J=0,ai=F.length,R=this.get("styles").marker,D=R.fill.colors,aj=R.fill.alphas||["1"],N=R.border.colors,H=[R.border.weight],I=[R.border.alpha],ak=H.concat(),T=N.concat(),V=I.concat(),af,ah,W=R.padding,E=this.get("graph"),P=Math.min(E.get("width"),E.get("height")),U=P-(W.left+W.right),ae=P-(W.top+W.bottom),ac=-90,O=U/2,X=ae/2,K=Math.min(O,X),ad=0,aa,ag=0,Z,ab,L,S,M,Q=this.get("graphOrder"),Y=b.Graphic.NAME=="canvasGraphic";for(;ad =D){G=G%D;}H=H||"fill";return E[H][G];}},{ATTRS:{type:{value:"pie"},order:{},graph:{},categoryAxis:{value:null,validator:function(D){return D!==this.get("categoryAxis");}},valueAxis:{value:null,validator:function(D){return D!==this.get("valueAxis");}},categoryKey:{value:null,validator:function(D){return D!==this.get("categoryKey");}},valueKey:{value:null,validator:function(D){return D!==this.get("valueKey");}},categoryDisplayName:{setter:function(D){this._categoryDisplayName=D;return D;},getter:function(){return this._categoryDisplayName||this.get("categoryKey");}},valueDisplayName:{setter:function(D){this._valueDisplayName=D;return D;},getter:function(){return this._valueDisplayName||this.get("valueKey");}},slices:null}});b.Gridlines=b.Base.create("gridlines",b.Base,[b.Renderer],{_path:null,remove:function(){var D=this._path;if(D){D.destroy();}},draw:function(){if(this.get("axis")&&this.get("graph")){this._drawGridlines();}},_drawGridlines:function(){var R,D=this.get("axis"),L=D.get("position"),O,I=0,F,M=this.get("direction"),P=this.get("graph"),N=P.get("width"),K=P.get("height"),Q=this.get("styles").line,H=Q.color,J=Q.weight,G=Q.alpha,E=M=="vertical"?this._verticalLine:this._horizontalLine;if(isFinite(N)&&isFinite(K)&&N>0&&K>0){if(L!="none"&&D&&D.get("tickPoints")){O=D.get("tickPoints");F=O.length;}else{O=[];F=D.get("styles").majorUnit.count;for(;I F){E=D[F];}return E;},getSeriesByKey:function(F){var E=this._seriesDictionary,D;if(E&&E.hasOwnProperty(F)){D=E[F];}return D;},addDispatcher:function(D){if(!this._dispatchers){this._dispatchers=[];}this._dispatchers.push(D);},_seriesCollection:null,_seriesDictionary:null,_parseSeriesCollection:function(H){if(!H){return;}var E=H.length,G=0,F,D;if(!this.get("seriesCollection")){this._seriesCollection=[];}if(!this._seriesDictionary){this._seriesDictionary={};}if(!this.seriesTypes){this.seriesTypes=[];}for(;G -1){this._dispatchers.splice(D,1);}if(this._dispatchers.length<1){G=this.get("graphic");if(!G.get("autoDraw")){G._redraw();}this.fire("chartRendered");}},_getDefaultStyles:function(){var D={background:{shape:"rect",fill:{color:"#faf9f2"},border:{color:"#dad8c9",weight:1}}};return D;},destructor:function(){if(this._graphic){this._graphic.destroy();}if(this._background){this._background.get("graphic").destroy();}if(this._gridlines){this._gridlines.get("graphic").destroy();}}},{ATTRS:{x:{setter:function(D){this.get("boundingBox").setStyle("left",D+"px");return D;}},y:{setter:function(D){this.get("boundingBox").setStyle("top",D+"px");return D;}},chart:{},seriesCollection:{getter:function(){return this._seriesCollection;},setter:function(D){this._parseSeriesCollection(D);return this._seriesCollection;}},showBackground:{value:true},seriesDictionary:{readOnly:true,getter:function(){return this._seriesDictionary;}},horizontalGridlines:{value:null,setter:function(E){var D=this.get("horizontalGridlines");if(D&&D instanceof b.Gridlines){D.remove();}if(E instanceof b.Gridlines){D=E;E.set("graph",this);return E;}else{if(E&&E.axis){D=new b.Gridlines({direction:"horizontal",axis:E.axis,graph:this,styles:E.styles});return D;}}}},verticalGridlines:{value:null,setter:function(E){var D=this.get("verticalGridlines");if(D&&D instanceof b.Gridlines){D.remove();}if(E instanceof b.Gridlines){D=E;E.set("graph",this);return E;}else{if(E&&E.axis){D=new b.Gridlines({direction:"vertical",axis:E.axis,graph:this,styles:E.styles});return D;}}}},background:{getter:function(){if(!this._background){this._backgroundGraphic=new b.Graphic({render:this.get("contentBox")});this._backgroundGraphic.get("node").style.zIndex=0;this._background=this._backgroundGraphic.addShape({type:"rect"});}return this._background;}},gridlines:{readOnly:true,getter:function(){if(!this._gridlines){this._gridlinesGraphic=new b.Graphic({render:this.get("contentBox")});this._gridlinesGraphic.get("node").style.zIndex=1;this._gridlines=this._gridlinesGraphic.addShape({type:"path"});}return this._gridlines;}},graphic:{readOnly:true,getter:function(){if(!this._graphic){this._graphic=new b.Graphic({render:this.get("contentBox")});this._graphic.get("node").style.zIndex=2;this._graphic.set("autoDraw",false);}return this._graphic;}},groupMarkers:{value:false}}});function o(){}o.ATTRS={ariaLabel:{value:"Chart Application",setter:function(E){var D=this.get("contentBox");if(D){D.setAttribute("aria-label",E);}return E;}},ariaDescription:{value:"Use the up and down keys to navigate between series. Use the left and right keys to navigate through items in a series.",setter:function(D){if(this._description){this._description.setContent("");this._description.appendChild(g.createTextNode(D));}return D;}},tooltip:{valueFn:"_getTooltip",setter:function(D){return this._updateTooltip(D);}},categoryKey:{value:"category"},categoryType:{value:"category"},interactionType:{value:"marker"},dataProvider:{setter:function(D){return this._setDataValues(D);}},seriesKeys:{},axesCollection:{},graph:{valueFn:"_getGraph"},groupMarkers:{value:false,setter:function(D){if(this.get("graph")){this.get("graph").set("groupMarkers",D);}return D;}}};o.prototype={_itemRendered:function(D){this._itemRenderQueue=this._itemRenderQueue.splice(1+b.Array.indexOf(this._itemRenderQueue,D.currentTarget),1);if(this._itemRenderQueue.length<1){this._redraw();}},_getGraph:function(){var D=new b.Graph({chart:this,groupMarkers:this.get("groupMarkers")});D.after("chartRendered",b.bind(function(E){this.fire("chartRendered");},this));return D;},getSeries:function(F){var D=null,E=this.get("graph");if(E){if(q.isNumber(F)){D=E.getSeriesByIndex(F);}else{D=E.getSeriesByKey(F);}}return D;},getAxisByKey:function(F){var D,E=this.get("axes");if(E&&E.hasOwnProperty(F)){D=E[F];}return D;},getCategoryAxis:function(){var E,D=this.get("categoryKey"),F=this.get("axes");if(F.hasOwnProperty(D)){E=F[D]; -}return E;},_direction:"horizontal",_dataProvider:null,_setDataValues:function(I){if(q.isArray(I[0])){var H,K=[],F=I[0],G=0,E=F.length,J,D=I.length;for(;G "),F=b.UA.ie,D=(F&&F<8)?"rect(1px 1px 1px 1px)":"rect(1px, 1px, 1px, 1px)";E.setStyle("position","absolute");E.setStyle("height","1px");E.setStyle("width","1px");E.setStyle("overflow","hidden");E.setStyle("clip",D);return E;},syncUI:function(){this._redraw();},bindUI:function(){this.after("tooltipChange",b.bind(this._tooltipChangeHandler,this));this.after("widthChange",this._sizeChanged);this.after("heightChange",this._sizeChanged);var K=this.get("tooltip"),E="mouseout",L="mouseover",F=this.get("contentBox"),D=this.get("interactionType"),I=0,J,H="."+n,G=((v&&("ontouchstart" in v))&&!(b.UA.chrome&&b.UA.chrome<6));b.on("keydown",b.bind(function(O){var N=O.keyCode,M=parseFloat(N),P;if(M>36&&M<41){O.halt();P=this._getAriaMessage(M);this._liveRegion.setContent("");this._liveRegion.appendChild(g.createTextNode(P));}},this),this.get("contentBox"));if(D=="marker"){E=K.hideEvent;L=K.showEvent;if(G){b.delegate("touchend",b.bind(this._markerEventDispatcher,this),F,H);b.on("touchend",b.bind(function(M){M.halt(true);if(this._activeMarker){this._activeMarker=null;this.hideTooltip(M);}},this));}else{b.delegate("mouseenter",b.bind(this._markerEventDispatcher,this),F,H);b.delegate("mousedown",b.bind(this._markerEventDispatcher,this),F,H);b.delegate("mouseup",b.bind(this._markerEventDispatcher,this),F,H);b.delegate("mouseleave",b.bind(this._markerEventDispatcher,this),F,H);b.delegate("click",b.bind(this._markerEventDispatcher,this),F,H);b.delegate("mousemove",b.bind(this._positionTooltip,this),F,H);}}else{if(D=="planar"){if(G){this._overlay.on("touchend",b.bind(this._planarEventDispatcher,this));}else{this._overlay.on("mousemove",b.bind(this._planarEventDispatcher,this));this.on("mouseout",this.hideTooltip);}}}if(K){this.on("markerEvent:touchend",b.bind(function(N){var M=N.series.get("markers")[N.index];if(this._activeMarker&&M===this._activeMarker){this._activeMarker=null;this.hideTooltip(N);}else{this._activeMarker=M;K.markerEventHandler.apply(this,[N]);}},this));if(E&&L&&E==L){this.on(D+"Event:"+E,this.toggleTooltip);}else{if(L){this.on(D+"Event:"+L,K[D+"EventHandler"]);}if(E){if(q.isArray(E)){J=E.length;for(;I =I[X].start){M=X;break;}}Y=E.length;for(X=0;X -1){P.updateMarkerState("mouseout",J);}if(W&&W[M]>-1){if(ad&&!isNaN(M)&&M>-1){P.updateMarkerState("mouseover",M);}ab=this.getSeriesItems(P,M);H.push(ab.category);R.push(ab.value);S.push(P);}}this._selectedIndex=M;if(M>-1){this.fire("planarEvent:mouseover",{categoryItem:H,valueItem:R,x:O,y:N,pageX:F,pageY:D,items:S,index:M,originEvent:Z});}else{this.fire("planarEvent:mouseout");}}},_type:"combo",_itemRenderQueue:null,_addToAxesRenderQueue:function(D){if(!this._itemRenderQueue){this._itemRenderQueue=[];}if(b.Array.indexOf(this._itemRenderQueue,D)<0){this._itemRenderQueue.push(D);}},_addToAxesCollection:function(D,F){var E=this.get(D+"AxesCollection");if(!E){E=[];this.set(D+"AxesCollection",E);}E.push(F);},_getDefaultSeriesCollection:function(){return this._parseSeriesCollection();},_parseSeriesCollection:function(W){var M=this.get("direction"),D=W||[],T,Q,O=[],J,I=this.get("seriesKeys").concat(),S,H,P,G=this.get("type"),U,L,V,E,F=this.get("categoryKey"),R=this.get("showMarkers"),N=this.get("showAreaFill"),K=this.get("showLines");if(M=="vertical"){T="yAxis";L="yKey";Q="xAxis";V="xKey";}else{T="xAxis";L="xKey";Q="yAxis";V="yKey";}P=D.length;for(S=0;S -1){I.splice(H,1);}O.push(U);}}if(I.length>0){O=O.concat(I);}P=O.length;for(S=0;S
0){F.set("overlapGraph",false);}M[J]=F;}}}return M;},_addAxes:function(){var I=this.get("axes"),E,G,J,D=this.get("width"),F=this.get("height"),H=b.Node.one(this._parentNode);if(!this._axesCollection){this._axesCollection=[];}for(E in I){if(I.hasOwnProperty(E)){G=I[E];if(G instanceof b.Axis){if(!D){this.set("width",H.get("offsetWidth"));D=this.get("width");}if(!F){this.set("height",H.get("offsetHeight"));F=this.get("height");}this._addToAxesRenderQueue(G);J=G.get("position");if(!this.get(J+"AxesCollection")){this.set(J+"AxesCollection",[G]);}else{this.get(J+"AxesCollection").push(G);}this._axesCollection.push(G);if(G.get("keys").hasOwnProperty(this.get("categoryKey"))){this.set("categoryAxis",G);}G.render(this.get("contentBox"));}}}},_addSeries:function(){var D=this.get("graph"),E=this.get("seriesCollection");D.render(this.get("contentBox"));},_addGridlines:function(){var N=this.get("graph"),E=this.get("horizontalGridlines"),F=this.get("verticalGridlines"),M=this.get("direction"),O=this.get("leftAxesCollection"),I=this.get("rightAxesCollection"),K=this.get("bottomAxesCollection"),G=this.get("topAxesCollection"),H,D=this.get("categoryAxis"),L,J;if(this._axesCollection){H=this._axesCollection.concat();H.splice(b.Array.indexOf(H,D),1);}if(E){if(O&&O[0]){L=O[0];}else{if(I&&I[0]){L=I[0];}else{L=M=="horizontal"?D:H[0];}}if(!this._getBaseAttribute(E,"axis")&&L){this._setBaseAttribute(E,"axis",L);}if(this._getBaseAttribute(E,"axis")){N.set("horizontalGridlines",E);}}if(F){if(K&&K[0]){J=K[0];}else{if(G&&G[0]){J=G[0];}else{J=M=="vertical"?D:H[0];}}if(!this._getBaseAttribute(F,"axis")&&J){this._setBaseAttribute(F,"axis",J);}if(this._getBaseAttribute(F,"axis")){N.set("verticalGridlines",F);}}},_getAllKeys:function(I){var F=0,D=I.length,H,E,G={};for(;F
0){N=P[0];this.set("categoryKey",N);}G[W]=E;}else{if(W==F){G[W]=E;}else{G[W]=E;if(W!=D&&P&&q.isArray(P)){K=P.length;for(M=0;M -1){H.splice(Q,1);}U=R.length;for(W=0;W-1){H.splice(Q,1);}}if(!G.hasOwnProperty(F)){G[F]={};}if(!(this._getBaseAttribute(G[F],"keys"))){this._setBaseAttribute(G[F],"keys",[N]);}if(!(this._getBaseAttribute(G[F],"position"))){this._setBaseAttribute(G[F],"position",I);}if(!(this._getBaseAttribute(G[F],"type"))){this._setBaseAttribute(G[F],"type",this.get("categoryType"));}if(!G.hasOwnProperty(D)&&H&&H.length>0){G[D]={keys:H};J.push(G[D]);}if(R.length>0){if(H.length>0){H=R.concat(H);}else{H=R;}}if(G.hasOwnProperty(D)){if(!(this._getBaseAttribute(G[D],"position"))){this._setBaseAttribute(G[D],"position",this._getDefaultAxisPosition(G[D],J,L));}if(!(this._getBaseAttribute(G[D],"type"))){this._setBaseAttribute(G[D],"type",Y);}if(!(this._getBaseAttribute(G[D],"keys"))){this._setBaseAttribute(G[D],"keys",H);}}this.set("seriesKeys",H);return G;},_getDefaultAxisPosition:function(G,E,D){var H=this.get("direction"),F=b.Array.indexOf(E,G); -if(E[F-1]&&E[F-1].position){if(H=="horizontal"){if(E[F-1].position=="left"){D="right";}else{if(E[F-1].position=="right"){D="left";}}}else{if(E[F-1].position=="bottom"){D="top";}else{D="bottom";}}}return D;},getSeriesItems:function(I,H){var J=I.get("xAxis"),F=I.get("yAxis"),G=I.get("xKey"),E=I.get("yKey"),K,D;if(this.get("direction")=="vertical"){K={axis:F,key:E,value:F.getKeyValueAt(E,H)};D={axis:J,key:G,value:J.getKeyValueAt(G,H)};}else{D={axis:F,key:E,value:F.getKeyValueAt(E,H)};K={axis:J,key:G,value:J.getKeyValueAt(G,H)};}K.displayName=I.get("categoryDisplayName");D.displayName=I.get("valueDisplayName");K.value=K.axis.getKeyValueAt(K.key,H);D.value=D.axis.getKeyValueAt(D.key,H);return{category:K,value:D};},_sizeChanged:function(G){if(this._axesCollection){var F=this._axesCollection,E=0,D=F.length;for(;E -1;--Z){ag.unshift(Y);Y+=D[Z].get("width");}}if(O){F=[];W=O.length;Z=0;for(Z=W-1;Z>-1;--Z){I+=O[Z].get("width");F.unshift(Q-I);}}if(P){T=[];W=P.length;for(Z=W-1;Z>-1;--Z){T.unshift(ae);ae+=P[Z].get("height");}}if(ad){K=[];W=ad.length;for(Z=W-1;Z>-1;--Z){E+=ad[Z].get("height");K.unshift(aa-E);}}M=Q-(Y+I);N=aa-(E+ae);af.left=Y;af.top=ae;af.bottom=aa-E;af.right=Q-I;if(!U){L=this._getTopOverflow(D,O);R=this._getBottomOverflow(D,O);X=this._getLeftOverflow(ad,P);V=this._getRightOverflow(ad,P);S=L-ae;if(S>0){af.top=L;if(T){Z=0;W=T.length;for(;Z 0){af.bottom=aa-R;if(K){Z=0;W=K.length;for(;Z 0){af.left=X;if(ag){Z=0;W=ag.length;for(;Z 0){af.right=Q-V;if(F){Z=0;W=F.length;for(;Z 1){if(N===38){I=I<1?K-1:I-1;}else{if(N===40){I=I>=K-1?0:I+1;}}this._itemIndex=-1;}else{I=0;}this._seriesIndex=I;J=this.getSeries(parseInt(I,10));G=J.get("valueDisplayName")+" series.";}else{if(I>-1){G="";J=this.getSeries(parseInt(I,10));}else{I=0;this._seriesIndex=I;J=this.getSeries(parseInt(I,10));G=J.get("valueDisplayName")+" series.";}E=J._dataLength?J._dataLength:0;if(N===37){D=D>0?D-1:E-1;}else{if(N===39){D=D>=E-1?0:D+1; -}}this._itemIndex=D;M=this.getSeriesItems(J,D);F=M.category;L=M.value;if(F&&L&&F.value&&L.value){G+=F.displayName+": "+F.axis.formatLabel.apply(this,[F.value,F.axis.get("labelFormat")])+", ";G+=L.displayName+": "+L.axis.formatLabel.apply(this,[L.value,L.axis.get("labelFormat")])+", ";}else{G+="No data available.";}G+=(D+1)+" of "+E+". ";}return G;}},{ATTRS:{allowContentOverflow:{value:false},axesStyles:{getter:function(){var F=this.get("axes"),D,E=this._axesStyles;if(F){for(D in F){if(F.hasOwnProperty(D)&&F[D] instanceof b.Axis){if(!E){E={};}E[D]=F[D].get("styles");}}}return E;},setter:function(F){var E=this.get("axes"),D;for(D in F){if(F.hasOwnProperty(D)&&E.hasOwnProperty(D)){this._setBaseAttribute(E[D],"styles",F[D]);}}}},seriesStyles:{getter:function(){var E=this._seriesStyles,F=this.get("graph"),G,D;if(F){G=F.get("seriesDictionary");if(G){E={};for(D in G){if(G.hasOwnProperty(D)){E[D]=G[D].get("styles");}}}}return E;},setter:function(G){var E,D,F;if(q.isArray(G)){F=this.get("seriesCollection");E=0;D=G.length;for(;E 0){this.set("seriesKeys",E);}}return{values:{keys:E,type:D},category:{keys:[H],type:this.get("categoryType")}};},getSeriesItems:function(F,E){var G={axis:F.get("categoryAxis"),key:F.get("categoryKey"),displayName:F.get("categoryDisplayName")},D={axis:F.get("valueAxis"),key:F.get("valueKey"),displayName:F.get("valueDisplayName")}; -G.value=G.axis.getKeyValueAt(G.key,E);D.value=D.axis.getKeyValueAt(D.key,E);return{category:G,value:D};},_sizeChanged:function(D){this._redraw();},_redraw:function(){var F=this.get("graph"),D=this.get("width"),E=this.get("height"),G;if(F){G=Math.min(D,E);F.set("width",G);F.set("height",G);}},_tooltipLabelFunction:function(K,D,G,F,E){var J=g.createElement("div"),H=F.getTotalValues(),I=Math.round((D.value/H)*10000)/100;J.appendChild(g.createTextNode(K.displayName+": "+K.axis.get("labelFunction").apply(this,[K.value,K.axis.get("labelFormat")])));J.appendChild(g.createElement("br"));J.appendChild(g.createTextNode(D.displayName+": "+D.axis.get("labelFunction").apply(this,[D.value,D.axis.get("labelFormat")])));J.appendChild(g.createElement("br"));J.appendChild(g.createTextNode(I+"%"));return J;},_getAriaMessage:function(P){var F="",E,M,J,L,I=0,D=this._itemIndex,G=this.get("seriesCollection"),K,N,O,H;J=this.getSeries(parseInt(I,10));H=J.get("markers");K=H&&H.length?H.length:0;if(P===37){D=D>0?D-1:K-1;}else{if(P===39){D=D>=K-1?0:D+1;}}this._itemIndex=D;M=this.getSeriesItems(J,D);E=M.category;L=M.value;N=J.getTotalValues();O=Math.round((L.value/N)*10000)/100;if(E&&L){F+=E.displayName+": "+E.axis.formatLabel.apply(this,[E.value,E.axis.get("labelFormat")])+", ";F+=L.displayName+": "+L.axis.formatLabel.apply(this,[L.value,L.axis.get("labelFormat")])+", ";F+="Percent of total "+L.displayName+": "+O+"%,";}else{F+="No data available,";}F+=(D+1)+" of "+K+". ";return F;}},{ATTRS:{ariaDescription:{value:"Use the left and right keys to navigate through items.",setter:function(D){if(this._description){this._description.setContent("");this._description.appendChild(g.createTextNode(D));}return D;}},axes:{getter:function(){return this._axes;},setter:function(D){this._parseAxes(D);}},seriesCollection:{getter:function(){return this._getSeriesCollection();},setter:function(D){return this._setSeriesCollection(D);}},type:{value:"pie"}}});},"3.5.0",{requires:["dom","datatype-number","datatype-date","event-custom","event-mouseenter","event-touch","widget","widget-position","widget-stack","graphics"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/datatable-sort/datatable-sort-min.js b/lib/yui/3.5.0/build/datatable-sort/datatable-sort-min.js deleted file mode 100644 index 5918a769549..00000000000 --- a/lib/yui/3.5.0/build/datatable-sort/datatable-sort-min.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -YUI 3.5.0 (build 5089) -Copyright 2012 Yahoo! Inc. All rights reserved. -Licensed under the BSD License. -http://yuilibrary.com/license/ -*/ -YUI.add("datatable-sort",function(b){var h=b.Lang,e=h.isBoolean,c=h.isString,g=h.isArray,j=h.isObject,f=b.Array,a=h.sub,i={asc:1,desc:-1,"1":1,"-1":-1};function d(){}d.ATTRS={sortable:{value:"auto",validator:"_validateSortable"},sortBy:{validator:"_validateSortBy",getter:"_getSortBy"},strings:{}};b.mix(d.prototype,{sort:function(k,l){return this.fire("sort",b.merge((l||{}),{sortBy:k||this.get("sortBy")}));},SORTABLE_HEADER_TEMPLATE:' ',toggleSort:function(l,r){var q=this._sortBy,s=[],n,p,m,k,o;for(n=0,p=q.length;n=0;--n){if(s[m][k]){s[m][k]*=-1;break;}}}}else{for(n=0,p=s.length;n
q)?n:((l
=k){o.push(m._id);}}else{o[0][p]=-(m.sortDir|0)||1;}this.fire("sort",{originEvent:n,sortBy:o});}},_parseSortable:function(){var o=this.get("sortable"),n=[],m,k,l;if(g(o)){for(m=0,k=o.length;m=0;--m){if(!n[m].sortable){n.splice(m,1);}}}}}this._sortable=n;},_renderSortable:function(){this._uiSetSortable();this._bindSortUI();},_setSortBy:function(){var n=this._displayColumns,s=this.get("sortBy")||[],p=" "+this.getClassName("sorted"),o,q,k,l,r,m;this._sortBy=[];for(o=0,q=n.length;o =f){this._purge(this._purgeNodes);}},_getEnv:function(){var g=d.config.doc,f=d.UA;return(this._env={async:g&&g.createElement("script").async===true,cssFail:f.gecko>=9||f.webkit>=535.24,cssLoad:((!f.gecko&&!f.webkit)||f.gecko>=9||f.webkit>=535.24)&&!(f.chrome&&f.chrome<=18),preservesScriptOrder:!!(f.gecko||f.opera)});},_getTransaction:function(l,h){var m=[],j,f,k,g;if(!c.isArray(l)){l=[l];}h=d.merge(this.options,h);h.attributes=d.merge(this.options.attributes,h.attributes);for(j=0,f=l.length;j-1){h.splice(g,1);}}}}};e.script=e.js;e.Transaction=a=function(h,g){var f=this;f.id=a._lastId+=1;f.data=g.data;f.errors=[];f.nodes=[];f.options=g;f.requests=h;f._callbacks=[];f._queue=[];f._waiting=0;f.tId=f.id;f.win=g.win||d.config.win;};a._lastId=0;a.prototype={_state:"new",abort:function(f){this._pending=null;this._pendingCSS=null;this._pollTimer=clearTimeout(this._pollTimer);this._queue=[];this._waiting=0;this.errors.push({error:f||"Aborted"});this._finish();},execute:function(n){var h=this,m=h.requests,l=h._state,j,g,f,k;if(l==="done"){n&&n(h.errors.length?h.errors:null,h);return;}else{n&&h._callbacks.push(n);if(l==="executing"){return;}}h._state="executing";h._queue=f=[];if(h.options.timeout){h._timeout=setTimeout(function(){h.abort("Timeout");},h.options.timeout);}for(j=0,g=m.length;j =0){if(k[g].href===p){r.splice(h,1);h-=1;q._progress(null,o);break;}}}else{try{f=!!o.node.sheet.cssRules;r.splice(h,1);h-=1;q._progress(null,o);}catch(m){}}}if(r.length){q._pollTimer=setTimeout(function(){q._poll.call(q);},q.options.pollInterval);}},_progress:function(h,g){var f=this.options;if(h){g.error=h;this.errors.push({error:h,request:g});}g.node._yuiget_finished=g.finished=true;if(f.onProgress){f.onProgress.call(f.context||this,this._getEventData(g));}if(g.autopurge){e._autoPurge(this.options.purgethreshold);e._purgeNodes.push(g.node);}if(this._pending===g){this._pending=null;}this._waiting-=1;this._next();}};},"3.5.0",{requires:["yui-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/graphics-svg/graphics-svg-min.js b/lib/yui/3.5.0/build/graphics-svg/graphics-svg-min.js deleted file mode 100644 index ad7e7208b77..00000000000 --- a/lib/yui/3.5.0/build/graphics-svg/graphics-svg-min.js +++ /dev/null @@ -1,10 +0,0 @@ -/* -YUI 3.5.0 (build 5089) -Copyright 2012 Yahoo! Inc. All rights reserved. -Licensed under the BSD License. -http://yuilibrary.com/license/ -*/ -YUI.add("graphics-svg",function(b){var i="svgShape",c=b.Lang,g=b.AttributeLite,d,l,f,h,k,e,j,m=b.config.doc;function a(){}a.prototype={_type:"path",curveTo:function(s,q,z,w,v,u){var o,t,r,n,p,A;if(this._pathType!=="C"){this._pathType="C";t=["C"];this._pathArray.push(t);}else{t=this._pathArray[Math.max(0,this._pathArray.length-1)];if(!t){t=[];this._pathArray.push(t);}}o=this._pathArray.length-1;this._pathArray[o]=this._pathArray[o].concat([Math.round(s),Math.round(q),Math.round(z),Math.round(w),v,u]);r=Math.max(v,Math.max(s,z));p=Math.max(u,Math.max(q,w));n=Math.min(v,Math.min(s,z));A=Math.min(u,Math.min(q,w));this._trackSize(r,p);this._trackSize(n,A);},quadraticCurveTo:function(s,r,v,u){var o,t,q,n,p,w;if(this._pathType!=="Q"){this._pathType="Q";t=["Q"];this._pathArray.push(t);}else{t=this._pathArray[Math.max(0,this._pathArray.length-1)];if(!t){t=[];this._pathArray.push(t);}}o=this._pathArray.length-1;this._pathArray[o]=this._pathArray[o].concat([Math.round(s),Math.round(r),Math.round(v),Math.round(u)]);q=Math.max(v,s);p=Math.max(u,r);n=Math.min(v,s);w=Math.min(u,r);this._trackSize(q,p);this._trackSize(n,w);},drawRect:function(n,q,o,p){this.moveTo(n,q);this.lineTo(n+o,q);this.lineTo(n+o,q+p);this.lineTo(n,q+p);this.lineTo(n,q);},drawRoundRect:function(n,s,o,q,p,r){this.moveTo(n,s+r);this.lineTo(n,s+q-r);this.quadraticCurveTo(n,s+q,n+p,s+q);this.lineTo(n+o-p,s+q);this.quadraticCurveTo(n+o,s+q,n+o,s+q-r);this.lineTo(n+o,s+r);this.quadraticCurveTo(n+o,s,n+o-p,s);this.lineTo(n+p,s);this.quadraticCurveTo(n,s,n,s+r);},drawCircle:function(o,q,n){var p=n*2;this._drawingComplete=false;this._trackSize(o,q);this._trackSize(o+p,q+p);this._pathArray=this._pathArray||[];this._pathArray.push(["M",o+n,q]);this._pathArray.push(["A",n,n,0,1,0,o+n,q+p]);this._pathArray.push(["A",n,n,0,1,0,o+n,q]);return this;},drawEllipse:function(p,s,q,r){var o=q*0.5,n=r*0.5;this._drawingComplete=false;this._trackSize(p,s);this._trackSize(p+q,s+r);this._pathArray=this._pathArray||[];this._pathArray.push(["M",p+o,s]);this._pathArray.push(["A",o,n,0,1,0,p+o,s+r]);this._pathArray.push(["A",o,n,0,1,0,p+o,s]);return this;},drawDiamond:function(o,s,r,n){var q=r*0.5,p=n*0.5;this.moveTo(o+q,s);this.lineTo(o+r,s+p);this.lineTo(o+q,s+n);this.lineTo(o,s+p);this.lineTo(o+q,s);return this;},drawWedge:function(A,v,F,u,q,r){var E,D,t,J,s,B,z,I,H,p,o,G=0,w=q*2,n,C;r=r||q;if(this._pathType!="M"){this._pathType="M";n=["M"];this._pathArray.push(n);}else{n=this._getCurrentArray();}C=this._pathArray.length-1;this._pathArray[C].push(A);this._pathArray[C].push(A);if(Math.abs(u)>360){u=360;}E=Math.ceil(Math.abs(u)/45);D=u/E;t=-(D/180)*Math.PI;J=(F/180)*Math.PI;if(E>0){B=A+Math.cos(F/180*Math.PI)*q;z=v+Math.sin(F/180*Math.PI)*r;this._pathType="L";C++;this._pathArray[C]=["L"];this._pathArray[C].push(Math.round(B));this._pathArray[C].push(Math.round(z));C++;this._pathType="Q";this._pathArray[C]=["Q"];for(;G 0){s=o.shift();v=s.length;n=s[0];if(n==="A"){y+=n+s[1]+","+s[2];}else{if(n!="z"){y+=" "+n+(s[1]-q);}else{y+=" z ";}}switch(n){case"L":case"M":case"Q":for(t=2;t this._right){this._right=n;}if(n this._bottom){this._bottom=o;}this._width=this._right-this._left;this._height=this._bottom-this._top;}};b.SVGDrawing=a;l=function(n){this._transforms=[];this.matrix=new b.Matrix();this._normalizedMatrix=new b.Matrix();l.superclass.constructor.apply(this,arguments);};l.NAME="svgShape";b.extend(l,b.GraphicBase,b.mix({init:function(){this.initializer.apply(this,arguments);},initializer:function(n){var o=this,p=n.graphic;o.createNode();if(p){o._setGraphic(p);}o._updateHandler();},_setGraphic:function(n){var o;if(n instanceof b.SVGGraphic){this._graphic=n;}else{n=b.one(n);o=new b.SVGGraphic({render:n});o._appendShape(this);this._graphic=o;}},addClass:function(n){var o=this.node;o.className.baseVal=c.trim([o.className.baseVal,n].join(" "));},removeClass:function(n){var o=this.node,p=o.className.baseVal;p=p.replace(new RegExp(n+" "),n).replace(new RegExp(n),"");o.className.baseVal=p;},getXY:function(){var q=this._graphic,o=q.getXY(),n=this.get("x"),p=this.get("y"); -return[o[0]+n,o[1]+p];},setXY:function(o){var p=this._graphic,n=p.getXY();this.set("x",o[0]-n[0]);this.set("y",o[1]-n[1]);},contains:function(n){return n===b.one(this.node);},compareTo:function(n){var o=this.node;return o===n;},test:function(n){return b.Selector.test(this.node,n);},_getDefaultFill:function(){return{type:"solid",opacity:1,cx:0.5,cy:0.5,fx:0.5,fy:0.5,r:0.5};},_getDefaultStroke:function(){return{weight:1,dashstyle:"none",color:"#000",opacity:1};},createNode:function(){var n=m.createElementNS("http://www.w3.org/2000/svg","svg:"+this._type),p=this.get("id"),o=this.get("pointerEvents");this.node=n;this.addClass("yui3-"+i+" yui3-"+this.name);if(p){n.setAttribute("id",p);}if(o){n.setAttribute("pointer-events",o);}if(!this.get("visible")){b.one(n).setStyle("visibility","hidden");}},on:function(o,n){if(b.Node.DOM_EVENTS[o]){return b.one("#"+this.get("id")).on(o,n);}return b.on.apply(this,arguments);},_strokeChangeHandler:function(s){var q=this.node,r=this.get("stroke"),p,n,t,o;if(r&&r.weight&&r.weight>0){o=r.linejoin||"round";p=parseFloat(r.opacity);n=r.dashstyle||"none";t=c.isArray(n)?n.toString():n;r.color=r.color||"#000000";r.weight=r.weight||1;r.opacity=c.isNumber(p)?p:1;r.linecap=r.linecap||"butt";q.setAttribute("stroke-dasharray",t);q.setAttribute("stroke",r.color);q.setAttribute("stroke-linecap",r.linecap);q.setAttribute("stroke-width",r.weight);q.setAttribute("stroke-opacity",r.opacity);if(o=="round"||o=="bevel"){q.setAttribute("stroke-linejoin",o);}else{o=parseInt(o,10);if(c.isNumber(o)){q.setAttribute("stroke-miterlimit",Math.max(o,1));q.setAttribute("stroke-linejoin","miter");}}}else{q.setAttribute("stroke","none");}},_fillChangeHandler:function(r){var p=this.node,q=this.get("fill"),n,o;if(q){o=q.type;if(o=="linear"||o=="radial"){this._setGradientFill(q);p.setAttribute("fill","url(#grad"+this.get("id")+")");}else{if(!q.color){p.setAttribute("fill","none");}else{n=parseFloat(q.opacity);n=c.isNumber(n)?n:1;p.setAttribute("fill",q.color);p.setAttribute("fill-opacity",n);}}}else{p.setAttribute("fill","none");}},_setGradientFill:function(N){var z,v,L,H,p,E=c.isNumber,D=this._graphic,x=N.type,K=D.getGradientNode("grad"+this.get("id"),x),A=N.stops,B=this.get("width"),R=this.get("height"),J=N.rotation,y=Math.PI/180,G=parseFloat(parseFloat(Math.tan(J*y)).toFixed(8)),O,Q,C,I,S="0%",P="100%",t="0%",o="0%",s=N.cx,n=N.cy,u=N.fx,q=N.fy,F=N.r,M=[];if(x=="linear"){s=B/2;n=R/2;if(Math.abs(G)*B/2>=R/2){if(J<180){t=0;o=R;}else{t=R;o=0;}S=s-((n-t)/G);P=s-((n-o)/G);}else{if(J>90&&J<270){S=B;P=0;}else{S=0;P=B;}t=((G*(s-S))-n)*-1;o=((G*(s-P))-n)*-1;}K.setAttribute("spreadMethod","pad");K.setAttribute("width",B);K.setAttribute("height",R);K.setAttribute("x1",Math.round(100*S/B)+"%");K.setAttribute("y1",Math.round(100*t/R)+"%");K.setAttribute("x2",Math.round(100*P/B)+"%");K.setAttribute("y2",Math.round(100*o/R)+"%");}else{K.setAttribute("cx",(s*100)+"%");K.setAttribute("cy",(n*100)+"%");K.setAttribute("fx",(u*100)+"%");K.setAttribute("fy",(q*100)+"%");K.setAttribute("r",(F*100)+"%");}Q=A.length;C=0;for(O=0;O 0){H=this._stops.shift();p=false;}else{H=D._createGraphicNode("stop");p=true;}I=A[O];v=I.opacity;L=I.color;z=I.offset||O/(Q-1);z=Math.round(z*100)+"%";v=E(v)?v:1;v=Math.max(0,Math.min(1,v));C=(O+1)/Q;H.setAttribute("offset",z);H.setAttribute("stop-color",L);H.setAttribute("stop-opacity",v);if(p){K.appendChild(H);}M.push(H);}while(this._stops&&this._stops.length>0){K.removeChild(this._stops.shift());}this._stops=M;},_stops:null,set:function(){var n=this;g.prototype.set.apply(n,arguments);if(n.initialized){n._updateHandler();}},translate:function(n,o){this._addTransform("translate",arguments);},translateX:function(n){this._addTransform("translateX",arguments);},translateY:function(n){this._addTransform("translateY",arguments);},skew:function(n,o){this._addTransform("skew",arguments);},skewX:function(n){this._addTransform("skewX",arguments);},skewY:function(n){this._addTransform("skewY",arguments);},rotate:function(n){this._addTransform("rotate",arguments);},scale:function(n,o){this._addTransform("scale",arguments);},_addTransform:function(o,n){n=b.Array(n);this._transform=c.trim(this._transform+" "+o+"("+n.join(", ")+")");n.unshift(o);this._transforms.push(n);if(this.initialized){this._updateTransform();}},_updateTransform:function(){var v=this._type=="path",p=this.node,B,o,r,A,w,t,q,z=this.matrix,n=this._normalizedMatrix,s=0,u=this._transforms.length;if(v||(this._transforms&&this._transforms.length>0)){A=this.get("x");w=this.get("y");r=this.get("transformOrigin");t=A+(r[0]*this.get("width"));q=w+(r[1]*this.get("height"));if(v){if(!(this instanceof b.SVGPath)){t=this._left+(r[0]*this.get("width"));q=this._top+(r[1]*this.get("height"));}n.init({dx:A+this._left,dy:w+this._top});}n.translate(t,q);for(;sp.right?o.right:p.right;o.bottom=o.bottom>p.bottom?o.bottom:p.bottom;o.width=o.right-o.left;o.height=o.bottom-o.top;this._contentBounds=o;}if(this.get("autoDraw")){this._redraw();}},_getUpdatedContentBounds:function(){var r,p,o,n=this._shapes,q={left:0,top:0,right:0,bottom:0};for(p in n){if(n.hasOwnProperty(p)){o=n[p];r=o.getBounds();q.left=Math.min(q.left,r.left);q.top=Math.min(q.top,r.top);q.right=Math.max(q.right,r.right);q.bottom=Math.max(q.bottom,r.bottom);}}q.width=q.right-q.left;q.height=q.bottom-q.top;this._contentBounds=q;return q;},_createGraphics:function(){var n=this._createGraphicNode("svg"),o=this.get("pointerEvents");n.style.position="absolute";n.style.top="0px";n.style.left="0px";n.style.overflow="auto";n.setAttribute("overflow","auto");n.setAttribute("pointer-events",o);return n;},_createGraphicNode:function(p,n){var q=m.createElementNS("http://www.w3.org/2000/svg","svg:"+p),o=n||"none";if(p!=="defs"&&p!=="stop"&&p!=="linearGradient"&&p!="radialGradient"){q.setAttribute("pointer-events",o);}return q;},getGradientNode:function(p,q){var n=this._gradients,r,o=q+"Gradient";if(n.hasOwnProperty(p)&&n[p].tagName.indexOf(q)>-1){r=this._gradients[p];}else{r=this._createGraphicNode(o);if(!this._defs){this._defs=this._createGraphicNode("defs");this._contentNode.appendChild(this._defs);}this._defs.appendChild(r);p=p||"gradient"+Math.round(100000*Math.random());r.setAttribute("id",p);if(n.hasOwnProperty(p)){this._defs.removeChild(n[p]);}n[p]=r;}return r;}});b.SVGGraphic=d;},"3.5.0",{skinnable:false,requires:["graphics"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/matrix/matrix-min.js b/lib/yui/3.5.0/build/matrix/matrix-min.js deleted file mode 100644 index aea75890ff0..00000000000 --- a/lib/yui/3.5.0/build/matrix/matrix-min.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -YUI 3.5.0 (build 5089) -Copyright 2012 Yahoo! Inc. All rights reserved. -Licensed under the BSD License. -http://yuilibrary.com/license/ -*/ -YUI.add("matrix",function(c){var a={_rounder:100000,_round:function(d){d=Math.round(d*a._rounder)/a._rounder;return d;},rad2deg:function(d){var e=d*(180/Math.PI);return e;},deg2rad:function(e){var d=e*(Math.PI/180);return d;},angle2rad:function(d){if(typeof d==="string"&&d.indexOf("rad")>-1){d=parseFloat(d);}else{d=a.deg2rad(parseFloat(d));}return d;},convertTransformToArray:function(d){var e=[[d.a,d.c,d.dx],[d.b,d.d,d.dy],[0,0,1]];return e;},getDeterminant:function(f){var e=0,d=f.length,g=0,h;if(d==2){return f[0][0]*f[1][1]-f[0][1]*f[1][0];}for(;g-1){d=parseFloat(d);}else{d=this.deg2rad(parseFloat(d));}return d;},rotate:function(h,e,j){var g=[],d=this.angle2rad(h),f=this._round(Math.sin(d)),i=this._round(Math.cos(d));this.multiply(i,f,0-f,i,0,0);return this;},translate:function(d,e){d=parseFloat(d)||0;e=parseFloat(e)||0;this.multiply(1,0,0,1,d,e);return this;},identity:function(){var d=this._config,e=this._defaults,f;for(f in d){if(f in e){this[f]=e[f];}}return this;},getMatrixArray:function(){var d=this,e=[[d.a,d.c,d.dx],[d.b,d.d,d.dy],[0,0,1]];return e;},getContentRect:function(q,p,l,k){var i=!isNaN(l)?l:0,o=!isNaN(k)?k:0,z=i+q,j=o+p,s=this,C=s.a,B=s.b,A=s.c,w=s.d,n=s.dx,m=s.dy,v=(C*i+A*o+n),h=(B*i+w*o+m),u=(C*z+A*o+n),g=(B*z+w*o+m),t=(C*i+A*j+n),f=(B*i+w*j+m),r=(C*z+A*j+n),e=(B*z+w*j+m);return{left:Math.min(t,Math.min(v,Math.min(u,r))),right:Math.max(t,Math.max(v,Math.max(u,r))),top:Math.min(g,Math.min(e,Math.min(f,h))),bottom:Math.max(g,Math.max(e,Math.max(f,h)))};},getDeterminant:function(){return c.MatrixUtil.getDeterminant(this.getMatrixArray());},inverse:function(){return c.MatrixUtil.inverse(this.getMatrixArray());},transpose:function(){return c.MatrixUtil.transpose(this.getMatrixArray());},decompose:function(){return c.MatrixUtil.decompose(this.getMatrixArray()); -}};c.Matrix=b;},"3.5.0",{requires:["yui-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/pjax-base/pjax-base-min.js b/lib/yui/3.5.0/build/pjax-base/pjax-base-min.js deleted file mode 100644 index 1ae47251781..00000000000 --- a/lib/yui/3.5.0/build/pjax-base/pjax-base-min.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -YUI 3.5.0 (build 5089) -Copyright 2012 Yahoo! Inc. All rights reserved. -Licensed under the BSD License. -http://yuilibrary.com/license/ -*/ -YUI.add("pjax-base",function(f){var d=f.config.win,b=f.Lang,e=f.ClassNameManager.getClassName("pjax"),a="navigate";function c(){}c.prototype={_regexURL:/^((?:[^\/#?:]+:\/\/|\/\/)[^\/]*)?([^?#]*)(\?[^#]*)?(#.*)?$/,initializer:function(){this.publish(a,{defaultFn:this._defNavigateFn});if(this.get("html5")){this._pjaxBindUI();}},destructor:function(){this._pjaxEvents&&this._pjaxEvents.detach();},navigate:function(h,g){h=this._resolveURL(h);if(this._navigate(h,g)){return true;}if(!this._hasSameOrigin(h)){f.error("Security error: The new URL must be of the same origin as the current URL.");}return false;},_getRoot:function(){var h="/",i=f.getLocation().pathname,g;if(i.charAt(i.length-1)===h){return i;}g=i.split(h);g.pop();return g.join(h)+h;},_navigate:function(i,h){if(!this.hasRoute(i)){return false;}h||(h={});h.url=i;var k=this._getURL(),j,g;g=i.replace(/(#.*)$/,function(l,n,m){j=n;return l.substring(m);});if(j&&g===k.replace(/#.*$/,"")){if(!this.get("navigateOnHash")){return false;}h.hash=j;}b.isValue(h.replace)||(h.replace=i===k);if(this.get("html5")||h.force){this.fire(a,h);}else{if(h.replace){d&&d.location.replace(i);}else{d&&(d.location=i);}}return true;},_normalizePath:function(p){var m="..",g="/",h,l,o,j,k,n;if(!p||p===g){return g;}j=p.split(g);n=[];for(h=0,l=j.length;h -1;});},removeRoot:function(j){var i=this.get("root");j=j.replace(this._regexUrlOrigin,"");if(i&&j.indexOf(i)===0){j=j.substring(i.length);}return j.charAt(0)==="/"?j:"/"+j;},replace:function(i){return this._queue(i,true);},route:function(j,k){var i=[];this._routes.push({callback:k,keys:i,path:j,regex:this._getRegex(j,i)});return this;},save:function(i){return this._queue(i);},upgrade:function(){if(!this._html5){return false;}var i=c.getHash();if(i&&i.charAt(0)==="/"){this.once(d,function(){this.replace(i);});return true;}return false;},_decode:function(i){return decodeURIComponent(i.replace(/\+/g," "));},_dequeue:function(){var i=this,j;if(!YUI.Env.windowLoaded){h.once("load",function(){i._dequeue();});return this;}j=e.shift();return j?j():this;},_dispatch:function(n,k,o){var j=this,i=j.match(n),m,l;j._dispatching=j._dispatched=true;if(!i||!i.length){j._dispatching=false;return j;}m=j._getRequest(n,k,o);l=j._getResponse(m);m.next=function(q){var s,r,p;if(q){h.error(q);}else{if((p=i.shift())){r=p.regex.exec(n);s=typeof p.callback==="string"?j[p.callback]:p.callback;if(r.length===p.keys.length+1){m.params=f.hash(p.keys,r.slice(1));}else{m.params=r.concat();}s.call(j,m,l,m.next);}}};m.next();j._dispatching=false;return j._dequeue();},_getHashPath:function(){return c.getHash().replace(this._regexUrlQuery,"");},_getOrigin:function(){var i=h.getLocation();return i.origin||(i.protocol+"//"+i.host);},_getPath:function(){var i=(!this._html5&&this._getHashPath())||h.getLocation().pathname;return this.removeRoot(i);},_getQuery:function(){var i=h.getLocation(),k,j;if(this._html5){return i.search.substring(1);}k=c.getHash();j=k.match(this._regexUrlQuery);return k&&j?j[1]:i.search.substring(1);},_getRegex:function(j,i){if(j instanceof RegExp){return j;}if(j==="*"){return(/.*/);}j=j.replace(this._regexPathParam,function(l,k,m){if(!m){return k==="*"?".*":l;}i.push(m);return k==="*"?"(.*?)":"([^/]*)";});return new RegExp("^"+j+"$");},_getRequest:function(j,i,k){return{path:j,query:this._parseQuery(this._getQuery()),url:i,src:k};},_getResponse:function(j){var i=function(){return j.next.apply(this,arguments);};i.req=j;return i;},_getRoutes:function(){return this._routes.concat();},_getURL:function(){return h.getLocation().toString();},_hasSameOrigin:function(j){var i=((j&&j.match(this._regexUrlOrigin))||[])[0];if(i&&i.indexOf("//")===0){i=h.getLocation().protocol+i;}return !i||i===this._getOrigin();},_joinURL:function(j){var i=this.get("root");j=this.removeRoot(j);if(j.charAt(0)==="/"){j=j.substring(1);}return i&&i.charAt(i.length-1)==="/"?i+j:i+"/"+j;},_parseQuery:b&&b.parse?b.parse:function(m){var n=this._decode,p=m.split("&"),l=0,k=p.length,j={},o;for(;l =3)});h.Controller=h.Router;},"3.5.0",{optional:["querystring-parse"],requires:["array-extras","base-build","history"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/scrollview-base/scrollview-base-min.js b/lib/yui/3.5.0/build/scrollview-base/scrollview-base-min.js deleted file mode 100644 index 134957080cc..00000000000 --- a/lib/yui/3.5.0/build/scrollview-base/scrollview-base-min.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -YUI 3.5.0 (build 5089) -Copyright 2012 Yahoo! Inc. All rights reserved. -Licensed under the BSD License. -http://yuilibrary.com/license/ -*/ -YUI.add("scrollview-base",function(d){var i=d.ClassNameManager.getClassName,x="scrollview",w={vertical:i(x,"vert"),horizontal:i(x,"horiz")},B="scrollEnd",l="flick",b=l,c="drag",a=true,k="ui",o="left",r="top",h="px",p="scrollY",q="scrollX",f="bounce",t="disabled",v="x",u="y",y="boundingBox",n="contentBox",A="",s="0s",j=d.UA.ie,e=d.Transition,g=e.useNative,m=function(E,D,C){return Math.min(Math.max(E,D),C);};function z(){z.superclass.constructor.apply(this,arguments);}d.ScrollView=d.extend(z,d.Widget,{initializer:function(){var C=this;C._cb=C.get(n);C._bb=C.get(y);},_uiSizeCB:function(){},_onTransEnd:function(C){this.fire(B);},bindUI:function(){var C=this;C._bindDrag(C.get(c));C._bindFlick(C.get(b));C._bindAttrs();if(j){C._fixIESelect(C._bb,C._cb);}},_bindAttrs:function(){var C=this,E=C._afterScrollChange,D=C._afterDimChange;this.after({"disabledChange":C._afterDisabledChange,"flickChange":C._afterFlickChange,"dragChange":C._afterDragChange,"scrollYChange":E,"scrollXChange":E,"heightChange":D,"widthChange":D});if(!j){this.after("renderedChange",function(F){});}},_bindDrag:function(C){var D=this._bb;if(C){D.on("drag|gesturemovestart",d.bind(this._onGestureMoveStart,this));}else{D.detach("drag|*");}},_bindFlick:function(D){var C=this._cb;if(D){C.on("flick|flick",d.bind(this._flick,this),D);}else{C.detach("flick|*");}},_bindMousewheel:function(D){var C=this._cb;if(this._scrollsVertical){if(D){C.on("mousewheel",d.bind(this._mousewheel,this),D);}else{C.detach("mousewheel|*");}}},syncUI:function(){this._cDisabled=this.get(t);this._uiDimensionsChange();this._bindMousewheel(a);this.scrollTo(this.get(q),this.get(p));},scrollTo:function(M,L,G,J){if(J===undefined){if(L this._maxScrollY){L=this._maxScrollY;}}}if(!this._cDisabled){var F=this._cb,H=(M!==null),E=(L!==null),D=(H)?M*-1:0,C=(E)?L*-1:0,I,K=z._TRANSITION,N=this._transEndCB;G=G||0;J=J||z.EASING;if(H){this.set(q,M,{src:k});}if(E){this.set(p,L,{src:k});}if(g){F.setStyle(K.DURATION,s).setStyle(K.PROPERTY,A);}if(G!==0){I={easing:J,duration:G/1000};if(g){I.transform=this._transform(D,C);}else{if(H){I.left=D+h;}if(E){I.top=C+h;}}if(!N){N=this._transEndCB=d.bind(this._onTransEnd,this);}F.transition(I,N);}else{if(g){F.setStyle("transform",this._transform(D,C));}else{if(H){F.setStyle(o,D+h);}if(E){F.setStyle(r,C+h);}}}}},_transform:function(C,D){return(this._forceHWTransforms)?"translate("+C+"px,"+D+"px) translateZ(0px)":"translate("+C+"px,"+D+"px)";},_moveTo:function(D,C,E){if(g){D.setStyle("transform",this._transform(C,E));}else{D.setStyle(o,C+h);D.setStyle(r,E+h);}},_forceHWTransforms:d.UA.webkit?true:false,_prevent:{start:false,move:true,end:false},_onGestureMoveStart:function(D){var C=this,E=C._bb;if(!C._cDisabled){if(C._prevent.start){D.preventDefault();}C._killTimer();C._hm=E.on("drag|gesturemove",d.bind(C._onGestureMove,C));C._hme=E.on("drag|gesturemoveend",d.bind(C._onGestureMoveEnd,C));C._startY=D.clientY+C.get(p);C._startX=D.clientX+C.get(q);C._startClientY=C._endClientY=D.clientY;C._startClientX=C._endClientX=D.clientX;C._isDragging=false;C._flicking=false;C._snapToEdge=false;}},_onGestureMove:function(D){var C=this;if(C._prevent.move){D.preventDefault();}C._isDragging=true;C._endClientY=D.clientY;C._endClientX=D.clientX;if(C._scrollsVertical){C.set(p,-(D.clientY-C._startY));}if(C._scrollsHorizontal){C.set(q,-(D.clientX-C._startX));}},_onGestureMoveEnd:function(K){if(this._prevent.end){K.preventDefault();}var R=this,G=R._minScrollY,C=R._maxScrollY,H=R._minScrollX,E=R._maxScrollX,J=R._scrollsVertical,S=R._scrollsHorizontal,F=J?R._startClientY:R._startClientX,P=J?R._endClientY:R._endClientX,D=F-P,I=Math.abs(D),M=R._bb,Q,O,N,L;R._hm.detach();R._hme.detach();R._scrolledHalfway=R._snapToEdge=R._isDragging=false;R.lastScrolledAmt=D;if((S&&I>M.get("offsetWidth")/2)||(J&&I>M.get("offsetHeight")/2)){R._scrolledHalfway=true;R._scrolledForward=D>0;}if(J){L=R.get(p);O=m(L,G,C);}if(S){N=R.get(q);Q=m(N,H,E);}if(Q!==N||O!==L){this._snapToEdge=true;if(J){R.set(p,O);}if(S){R.set(q,Q);}}if(R._snapToEdge){return;}R.fire(B,{onGestureMoveEnd:true});return;},_afterScrollChange:function(D){var C=D.duration,F=D.easing,E=D.newVal;if(D.src!==k){if(D.attrName==q){this._uiScrollTo(E,null,C,F);}else{this._uiScrollTo(null,E,C,F);}}},_afterFlickChange:function(C){this._bindFlick(C.newVal);},_afterDisabledChange:function(C){this._cDisabled=C.newVal;},_afterDragChange:function(C){this._bindDrag(C.newVal);},_uiScrollTo:function(C,F,D,E){D=D||this._snapToEdge?400:0;E=E||this._snapToEdge?z.SNAP_EASING:null;this.scrollTo(C,F,D,E);},_afterDimChange:function(){this._uiDimensionsChange();},_getScrollDims:function(){var H,I=this.get(q),G=this.get(p),C=this.get(n),F=this.get(y),E,D=z._TRANSITION;if(g){C.setStyle(D.DURATION,s);C.setStyle(D.PROPERTY,A);}E=this._forceHWTransforms;this._forceHWTransforms=false;this._moveTo(C,0,0);H=[F.get("offsetWidth"),F.get("offsetHeight"),F.get("scrollWidth"),F.get("scrollHeight")];this._moveTo(C,-1*I,-1*G);this._forceHWTransforms=E;return H;},_uiDimensionsChange:function(){var D=this,I=D._bb,H=z.CLASS_NAMES,J=this._getScrollDims(),G=J[0],C=J[1],E=J[2],F=J[3];if(C&&F>C){D._scrollsVertical=true;D._maxScrollY=F-C;D._minScrollY=0;D._scrollHeight=F;D._height=C;I.addClass(H.vertical);}else{D._scrollsVertical=false;delete D._maxScrollY;delete D._minScrollY;delete D._scrollHeight;delete D._height;I.removeClass(H.vertical);}if(G&&E>G){D._scrollsHorizontal=true;D._maxScrollX=E-G;D._minScrollX=0;D._scrollWidth=E;D._width=G;I.addClass(H.horizontal);}else{D._scrollsHorizontal=false;delete D._maxScrollX;delete D._minScrollX;delete D._scrollWidth;delete D._width;I.removeClass(H.horizontal);}},_flick:function(E){var D=E.flick,C=this;if(!C._cDisabled){C._currentVelocity=D.velocity;C._flicking=true;C._cDecel=C.get("deceleration");C._cBounce=C.get("bounce");C._pastYEdge=false;C._pastXEdge=false;C._flickFrame();C.fire(l);}},_mousewheel:function(F){var E=this.get("scrollY"),C=this._cb,D=10,G=E-(F.wheelDelta*D);this.scrollTo(0,G); -if(this.scrollbars){this.scrollbars._update();this.scrollbars.flash();}F.preventDefault();},_flickFrame:function(){var L=this,O,D,G,C,E,H,M=L._scrollsVertical,J=L._scrollsHorizontal,I=L._cDecel,N=L._cBounce,K=L._currentVelocity,F=z.FRAME_STEP;if(M){D=L._maxScrollY;G=L._minScrollY;O=L.get(p)-(K*F);}if(J){E=L._maxScrollX;H=L._minScrollX;C=L.get(q)-(K*F);}K=L._currentVelocity=(K*I);if(Math.abs(K).toFixed(4)<=0.015){L._flicking=false;L._killTimer(!(L._pastYEdge||L._pastXEdge));if(M){if(O D){L._snapToEdge=true;L.set(p,D);}}}if(J){if(C E){L._snapToEdge=true;L.set(q,E);}}}return;}if(M){if(O D){L._pastYEdge=true;L._currentVelocity*=N;}L.set(p,O);}if(J){if(C E){L._pastXEdge=true;L._currentVelocity*=N;}L.set(q,C);}if(!L._flickTimer){L._flickTimer=d.later(F,L,"_flickFrame",null,true);}},_killTimer:function(D){var C=this;if(C._flickTimer){C._flickTimer.cancel();C._flickTimer=null;}if(D){C.fire(B);}},_setScroll:function(I,H){if(this._cDisabled){I=d.Attribute.INVALID_VALUE;}else{var E=this._cachedBounce||this.get(f),D=z.BOUNCE_RANGE,G=(H==v)?this._maxScrollX:this._maxScrollY,F=E?-D:0,C=E?G+D:G;if(!E||!this._isDragging){if(I C){I=C;}}}}return I;},_setScrollX:function(C){return this._setScroll(C,v);},_setScrollY:function(C){return this._setScroll(C,u);}},{NAME:"scrollview",ATTRS:{scrollY:{value:0,setter:"_setScrollY"},scrollX:{value:0,setter:"_setScrollX"},deceleration:{value:0.93},bounce:{value:0.1},flick:{value:{minDistance:10,minVelocity:0.3}},drag:{value:true}},CLASS_NAMES:w,UI_SRC:k,BOUNCE_RANGE:150,FRAME_STEP:30,EASING:"cubic-bezier(0, 0.1, 0, 1.0)",SNAP_EASING:"ease-out",_TRANSITION:{DURATION:e._VENDOR_PREFIX+"TransitionDuration",PROPERTY:e._VENDOR_PREFIX+"TransitionProperty"}});},"3.5.0",{requires:["widget","event-gestures","event-mousewheel","transition"],skinnable:true}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/test/test-min.js b/lib/yui/3.5.0/build/test/test-min.js deleted file mode 100644 index 7ba96edf434..00000000000 --- a/lib/yui/3.5.0/build/test/test-min.js +++ /dev/null @@ -1,12 +0,0 @@ -/* -YUI 3.5.0 (build 5089) -Copyright 2012 Yahoo! Inc. All rights reserved. -Licensed under the BSD License. -http://yuilibrary.com/license/ -*/ -YUI.add("test",function(e){var d={version:"3.5.0"};e.namespace("Test");d.Object=e.Object;d.Array=e.Array;d.Util={mix:e.mix,JSON:e.JSON};d.EventTarget=function(){this._handlers={};};d.EventTarget.prototype={constructor:d.EventTarget,attach:function(f,g){if(typeof this._handlers[f]=="undefined"){this._handlers[f]=[];}this._handlers[f].push(g);},subscribe:function(f,g){this.attach.apply(this,arguments);},fire:function(j){if(typeof j=="string"){j={type:j};}if(!j.target){j.target=this;}if(!j.type){throw new Error("Event object missing 'type' property.");}if(this._handlers[j.type] instanceof Array){var g=this._handlers[j.type];for(var h=0,f=g.length;h "'&]/g,function(h){switch(h){case"<":return"<";case">":return">";case'"':return""";case"'":return"'";case"&":return"&";}});}return{JSON:function(g){return d.Util.JSON.stringify(g);},XML:function(h){function g(j){var i="<"+j.type+' name="'+f(j.name)+'"';if(typeof(j.duration)=="number"){i+=' duration="'+j.duration+'"';}if(j.type=="test"){i+=' result="'+j.result+'" message="'+f(j.message)+'">';}else{i+=' passed="'+j.passed+'" failed="'+j.failed+'" ignored="'+j.ignored+'" total="'+j.total+'">';for(var k in j){if(j.hasOwnProperty(k)){if(j[k]&&typeof j[k]=="object"&&!(j[k] instanceof Array)){i+=g(j[k]);}}}}i+=""+j.type+">";return i;}return''+g(h);},JUnitXML:function(g){function h(j){var i="";switch(j.type){case"test":if(j.result!="ignore"){i=' ';if(j.result=="fail"){i+=' ";}break;case"testcase":i='";}i+=" ';for(var k in j){if(j.hasOwnProperty(k)){if(j[k]&&typeof j[k]=="object"&&!(j[k] instanceof Array)){i+=h(j[k]);}}}i+=" ";break;case"testsuite":for(var k in j){if(j.hasOwnProperty(k)){if(j[k]&&typeof j[k]=="object"&&!(j[k] instanceof Array)){i+=h(j[k]);}}}break;case"report":i="";for(var k in j){if(j.hasOwnProperty(k)){if(j[k]&&typeof j[k]=="object"&&!(j[k] instanceof Array)){i+=h(j[k]);}}}i+=" ";}return i;}return''+h(g);},TAP:function(h){var i=1;function g(j){var k="";switch(j.type){case"test":if(j.result!="ignore"){k="ok "+(i++)+" - "+j.name;if(j.result=="fail"){k="not "+k+" - "+j.message;}k+="\n";}else{k="#Ignored test "+j.name+"\n";}break;case"testcase":k="#Begin testcase "+j.name+"("+j.failed+" failed of "+j.total+")\n";for(var l in j){if(j.hasOwnProperty(l)){if(j[l]&&typeof j[l]=="object"&&!(j[l] instanceof Array)){k+=g(j[l]);}}}k+="#End testcase "+j.name+"\n";break;case"testsuite":k="#Begin testsuite "+j.name+"("+j.failed+" failed of "+j.total+")\n";for(var l in j){if(j.hasOwnProperty(l)){if(j[l]&&typeof j[l]=="object"&&!(j[l] instanceof Array)){k+=g(j[l]);}}}k+="#End testsuite "+j.name+"\n";break;case"report":for(var l in j){if(j.hasOwnProperty(l)){if(j[l]&&typeof j[l]=="object"&&!(j[l] instanceof Array)){k+=g(j[l]);}}}}return k;}return"1.."+h.total+"\n"+g(h);}};}();d.Reporter=function(f,g){this.url=f;this.format=g||d.TestFormat.XML;this._fields=new Object();this._form=null;this._iframe=null;};d.Reporter.prototype={constructor:d.Reporter,addField:function(f,g){this._fields[f]=g;},clearFields:function(){this._fields=new Object();},destroy:function(){if(this._form){this._form.parentNode.removeChild(this._form);this._form=null;}if(this._iframe){this._iframe.parentNode.removeChild(this._iframe);this._iframe=null;}this._fields=null;},report:function(h){if(!this._form){this._form=document.createElement("form");this._form.method="post";this._form.style.visibility="hidden";this._form.style.position="absolute";this._form.style.top=0;document.body.appendChild(this._form);try{this._iframe=document.createElement('');}catch(g){this._iframe=document.createElement("iframe");this._iframe.name="yuiTestTarget";}this._iframe.src="javascript:false";this._iframe.style.visibility="hidden";this._iframe.style.position="absolute";this._iframe.style.top=0;document.body.appendChild(this._iframe);this._form.target="yuiTestTarget";}this._form.action=this.url;while(this._form.hasChildNodes()){this._form.removeChild(this._form.lastChild);}this._fields.results=this.format(h);this._fields.useragent=navigator.userAgent;this._fields.timestamp=(new Date()).toLocaleString();for(var j in this._fields){var i=this._fields[j]; -if(this._fields.hasOwnProperty(j)&&(typeof i!="function")){var f=document.createElement("input");f.type="hidden";f.name=j;f.value=i;this._form.appendChild(f);}}delete this._fields.results;delete this._fields.useragent;delete this._fields.timestamp;if(arguments[1]!==false){this._form.submit();}}};d.TestRunner=function(){function h(k,m){if(!m.length){return true;}else{if(k){for(var l=0,j=k.length;l-1){return true;}}}return false;}}function g(i){this.testObject=i;this.firstChild=null;this.lastChild=null;this.parent=null;this.next=null;this.results=new d.Results();if(i instanceof d.TestSuite){this.results.type="testsuite";this.results.name=i.name;}else{if(i instanceof d.TestCase){this.results.type="testcase";this.results.name=i.name;}}}g.prototype={appendChild:function(i){var j=new g(i);if(this.firstChild===null){this.firstChild=this.lastChild=j;}else{this.lastChild.next=j;this.lastChild=j;}j.parent=this;return j;}};function f(){d.EventTarget.call(this);this.masterSuite=new d.TestSuite("yuitests"+(new Date()).getTime());this._cur=null;this._root=null;this._log=true;this._waiting=false;this._running=false;this._lastResults=null;this._context=null;this._groups="";}f.prototype=d.Util.mix(new d.EventTarget(),{_ignoreEmpty:false,constructor:d.TestRunner,TEST_CASE_BEGIN_EVENT:"testcasebegin",TEST_CASE_COMPLETE_EVENT:"testcasecomplete",TEST_SUITE_BEGIN_EVENT:"testsuitebegin",TEST_SUITE_COMPLETE_EVENT:"testsuitecomplete",TEST_PASS_EVENT:"pass",TEST_FAIL_EVENT:"fail",ERROR_EVENT:"error",TEST_IGNORE_EVENT:"ignore",COMPLETE_EVENT:"complete",BEGIN_EVENT:"begin",_addTestCaseToTestTree:function(j,k){var l=j.appendChild(k),m,i;for(m in k){if((m.indexOf("test")===0||m.indexOf(" ")>-1)&&typeof k[m]=="function"){l.appendChild(m);}}},_addTestSuiteToTestTree:function(j,m){var l=j.appendChild(m);for(var k=0;k -1){d.Assert.fail(d.Assert._formatMessage(f,"Value found in array ["+g+"]."));}},doesNotContainItems:function(h,j,g){d.Assert._increment();for(var f=0;f -1){d.Assert.fail(d.Assert._formatMessage(g,"Value found in array ["+j+"]."));}}},doesNotContainMatch:function(h,g,f){d.Assert._increment();if(typeof h!="function"){throw new TypeError("ArrayAssert.doesNotContainMatch(): First argument must be a function.");}if(this._some(g,h)){d.Assert.fail(d.Assert._formatMessage(f,"Value found in array ["+g+"]."));}},indexOf:function(k,j,f,h){d.Assert._increment();for(var g=0;g 0){d.Assert.fail(d.Assert._formatMessage(f,"Array should be empty."));}},isNotEmpty:function(g,f){d.Assert._increment();if(g.length===0){d.Assert.fail(d.Assert._formatMessage(f,"Array should not be empty."));}},itemsAreSame:function(h,j,g){d.Assert._increment();if(h.length!=j.length){d.Assert.fail(d.Assert._formatMessage(g,"Array should have a length of "+h.length+" but has a length of "+j.length));}for(var f=0;f =0;g--){if(j[g]===k){if(f!=g){d.Assert.fail(d.Assert._formatMessage(h,"Value exists at index "+g+" but should be at index "+f+".")); -}return;}}d.Assert.fail(d.Assert._formatMessage(h,"Value doesn't exist in array."));}};d.Assert={_asserts:0,_formatMessage:function(g,f){if(typeof g=="string"&&g.length>0){return g.replace("{message}",f);}else{return f;}},_getCount:function(){return this._asserts;},_increment:function(){this._asserts++;},_reset:function(){this._asserts=0;},fail:function(f){throw new d.AssertionError(d.Assert._formatMessage(f,"Test force-failed."));},pass:function(f){d.Assert._increment();},areEqual:function(g,h,f){d.Assert._increment();if(g!=h){throw new d.ComparisonFailure(d.Assert._formatMessage(f,"Values should be equal."),g,h);}},areNotEqual:function(f,h,g){d.Assert._increment();if(f==h){throw new d.UnexpectedValue(d.Assert._formatMessage(g,"Values should not be equal."),f);}},areNotSame:function(f,h,g){d.Assert._increment();if(f===h){throw new d.UnexpectedValue(d.Assert._formatMessage(g,"Values should not be the same."),f);}},areSame:function(g,h,f){d.Assert._increment();if(g!==h){throw new d.ComparisonFailure(d.Assert._formatMessage(f,"Values should be the same."),g,h);}},isFalse:function(g,f){d.Assert._increment();if(false!==g){throw new d.ComparisonFailure(d.Assert._formatMessage(f,"Value should be false."),false,g);}},isTrue:function(g,f){d.Assert._increment();if(true!==g){throw new d.ComparisonFailure(d.Assert._formatMessage(f,"Value should be true."),true,g);}},isNaN:function(g,f){d.Assert._increment();if(!isNaN(g)){throw new d.ComparisonFailure(d.Assert._formatMessage(f,"Value should be NaN."),NaN,g);}},isNotNaN:function(g,f){d.Assert._increment();if(isNaN(g)){throw new d.UnexpectedValue(d.Assert._formatMessage(f,"Values should not be NaN."),NaN);}},isNotNull:function(g,f){d.Assert._increment();if(g===null){throw new d.UnexpectedValue(d.Assert._formatMessage(f,"Values should not be null."),null);}},isNotUndefined:function(g,f){d.Assert._increment();if(typeof g=="undefined"){throw new d.UnexpectedValue(d.Assert._formatMessage(f,"Value should not be undefined."),undefined);}},isNull:function(g,f){d.Assert._increment();if(g!==null){throw new d.ComparisonFailure(d.Assert._formatMessage(f,"Value should be null."),null,g);}},isUndefined:function(g,f){d.Assert._increment();if(typeof g!="undefined"){throw new d.ComparisonFailure(d.Assert._formatMessage(f,"Value should be undefined."),undefined,g);}},isArray:function(h,g){d.Assert._increment();var f=false;if(Array.isArray){f=!Array.isArray(h);}else{f=Object.prototype.toString.call(h)!="[object Array]";}if(f){throw new d.UnexpectedValue(d.Assert._formatMessage(g,"Value should be an array."),h);}},isBoolean:function(g,f){d.Assert._increment();if(typeof g!="boolean"){throw new d.UnexpectedValue(d.Assert._formatMessage(f,"Value should be a Boolean."),g);}},isFunction:function(g,f){d.Assert._increment();if(!(g instanceof Function)){throw new d.UnexpectedValue(d.Assert._formatMessage(f,"Value should be a function."),g);}},isInstanceOf:function(g,h,f){d.Assert._increment();if(!(h instanceof g)){throw new d.ComparisonFailure(d.Assert._formatMessage(f,"Value isn't an instance of expected type."),g,h);}},isNumber:function(g,f){d.Assert._increment();if(typeof g!="number"){throw new d.UnexpectedValue(d.Assert._formatMessage(f,"Value should be a number."),g);}},isObject:function(g,f){d.Assert._increment();if(!g||(typeof g!="object"&&typeof g!="function")){throw new d.UnexpectedValue(d.Assert._formatMessage(f,"Value should be an object."),g);}},isString:function(g,f){d.Assert._increment();if(typeof g!="string"){throw new d.UnexpectedValue(d.Assert._formatMessage(f,"Value should be a string."),g);}},isTypeOf:function(f,h,g){d.Assert._increment();if(typeof h!=f){throw new d.ComparisonFailure(d.Assert._formatMessage(g,"Value should be of type "+f+"."),f,typeof h);}},throwsError:function(i,j,h){d.Assert._increment();var f=false;try{j();}catch(g){if(typeof i=="string"){if(g.message!=i){f=true;}}else{if(typeof i=="function"){if(!(g instanceof i)){f=true;}}else{if(typeof i=="object"&&i!==null){if(!(g instanceof i.constructor)||g.message!=i.message){f=true;}}else{f=true;}}}if(f){throw new d.UnexpectedError(g);}else{return;}}throw new d.AssertionError(d.Assert._formatMessage(h,"Error should have been thrown."));}};d.AssertionError=function(f){this.message=f;this.name="Assert Error";};d.AssertionError.prototype={constructor:d.AssertionError,getMessage:function(){return this.message;},toString:function(){return this.name+": "+this.getMessage();}};d.ComparisonFailure=function(g,f,h){d.AssertionError.call(this,g);this.expected=f;this.actual=h;this.name="ComparisonFailure";};d.ComparisonFailure.prototype=new d.AssertionError;d.ComparisonFailure.prototype.constructor=d.ComparisonFailure;d.ComparisonFailure.prototype.getMessage=function(){return this.message+"\nExpected: "+this.expected+" ("+(typeof this.expected)+")"+"\nActual: "+this.actual+" ("+(typeof this.actual)+")";};d.CoverageFormat={JSON:function(f){return d.Util.JSON.stringify(f);},XdebugJSON:function(g){var f={};for(var h in g){if(g.hasOwnProperty(h)){f[h]=g[h].lines;}}return d.Util.JSON.stringify(g);}};d.DateAssert={datesAreEqual:function(g,i,f){d.Assert._increment();if(g instanceof Date&&i instanceof Date){var h="";if(g.getFullYear()!=i.getFullYear()){h="Years should be equal.";}if(g.getMonth()!=i.getMonth()){h="Months should be equal.";}if(g.getDate()!=i.getDate()){h="Days of month should be equal.";}if(h.length){throw new d.ComparisonFailure(d.Assert._formatMessage(f,h),g,i);}}else{throw new TypeError("YUITest.DateAssert.datesAreEqual(): Expected and actual values must be Date objects.");}},timesAreEqual:function(g,i,f){d.Assert._increment();if(g instanceof Date&&i instanceof Date){var h="";if(g.getHours()!=i.getHours()){h="Hours should be equal.";}if(g.getMinutes()!=i.getMinutes()){h="Minutes should be equal.";}if(g.getSeconds()!=i.getSeconds()){h="Seconds should be equal.";}if(h.length){throw new d.ComparisonFailure(d.Assert._formatMessage(f,h),g,i);}}else{throw new TypeError("YUITest.DateAssert.timesAreEqual(): Expected and actual values must be Date objects."); -}}};d.Mock=function(j){j=j||{};var g,h;try{function k(){}k.prototype=j;g=new k();}catch(i){g={};}for(h in j){if(j.hasOwnProperty(h)){if(typeof j[h]=="function"){g[h]=function(f){return function(){d.Assert.fail("Method "+f+"() was called but was not expected to be.");};}(h);}}}return g;};d.Mock.expect=function(l,g){if(!l.__expectations){l.__expectations={};}if(g.method){var f=g.method,m=g.args||[],o=g.returns,k=(typeof g.callCount=="number")?g.callCount:1,n=g.error,h=g.run||function(){},j;l.__expectations[f]=g;g.callCount=k;g.actualCallCount=0;for(j=0;j 0){l[f]=function(){try{g.actualCallCount++;d.Assert.areEqual(m.length,arguments.length,"Method "+f+"() passed incorrect number of arguments.");for(var r=0,p=m.length;r -1){e.Test.Runner.subscribe(a,c);}}e.Test.Runner.once=e.Test.Runner.subscribe;e.Test.Runner.disableLogging=function(){e.Test.Runner._log=false;};e.Test.Runner.enableLogging=function(){e.Test.Runner._log=true;};e.Test.Runner._ignoreEmpty=true;e.Test.Runner._log=true;e.Test.Runner.on=e.Test.Runner.attach;if(e.config.win){e.config.win.YUITest=d;}},"3.5.0",{requires:["event-simulate","event-custom","substitute","json-stringify"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/widget-buttons/widget-buttons-min.js b/lib/yui/3.5.0/build/widget-buttons/widget-buttons-min.js deleted file mode 100644 index edef75dcaa9..00000000000 --- a/lib/yui/3.5.0/build/widget-buttons/widget-buttons-min.js +++ /dev/null @@ -1,8 +0,0 @@ -/* -YUI 3.5.0 (build 5089) -Copyright 2012 Yahoo! Inc. All rights reserved. -Licensed under the BSD License. -http://yuilibrary.com/license/ -*/ -YUI.add("widget-buttons",function(c){var i=c.Array,k=c.Lang,f=c.Object,a=c.Plugin.Button,j=c.Widget,m=c.WidgetStdMod,d=c.ClassNameManager.getClassName,e=k.isArray,l=k.isNumber,b=k.isString,h=k.isValue;function g(){if(!this._stdModNode){c.error("WidgetStdMod must be added to a Widget before WidgetButtons.");}this._buttonsHandles={};}g.ATTRS={buttons:{getter:"_getButtons",setter:"_setButtons",value:{}},defaultButton:{readOnly:true,value:null}};g.CLASS_NAMES={button:d("button"),buttons:j.getClassName("buttons"),primary:d("button","primary")};g.HTML_PARSER={buttons:function(n){return this._parseButtons(n);}};g.NON_BUTTON_NODE_CFG=["action","classNames","context","events","isDefault","section"];g.prototype={BUTTONS:{},BUTTONS_TEMPLATE:"",DEFAULT_BUTTONS_SECTION:m.FOOTER,initializer:function(){this._mapButtons(this.get("buttons"));this._updateDefaultButton();this.after("buttonsChange",c.bind("_afterButtonsChange",this));c.after(this._bindUIButtons,this,"bindUI");c.after(this._syncUIButtons,this,"syncUI");},destructor:function(){f.each(this._buttonsHandles,function(n){n.detach();});delete this._buttonsHandles;delete this._buttonsMap;delete this._defaultButton;},addButton:function(o,r,n){var q=this.get("buttons"),p;if(!c.instanceOf(o,c.Node)){o=this._mergeButtonConfig(o);r||(r=o.section);}r||(r=this.DEFAULT_BUTTONS_SECTION);p=q[r]||(q[r]=[]);l(n)||(n=p.length);p.splice(n,0,o);this.set("buttons",q,{button:o,section:r,index:n,src:"add"});return this;},getButton:function(n,q){if(!h(n)){return;}var p=this._buttonsMap,o;q||(q=this.DEFAULT_BUTTONS_SECTION);if(l(n)){o=this.get("buttons");return o[q]&&o[q][n];}return arguments.length>1?p[q+":"+n]:p[n];},removeButton:function(o,q){if(!h(o)){return this;}var p=this.get("buttons"),n;if(l(o)){q||(q=this.DEFAULT_BUTTONS_SECTION);n=o;o=p[q][n];}else{if(b(o)){o=this.getButton.apply(this,arguments);}f.some(p,function(r,s){n=i.indexOf(r,o);if(n>-1){q=s;return true;}});}if(o&&n>-1){p[q].splice(n,1);this.set("buttons",p,{button:o,section:q,index:n,src:"remove"});}return this;},_bindUIButtons:function(){var n=c.bind("_afterContentChangeButtons",this);this.after({defaultButtonChange:c.bind("_afterDefaultButtonChange",this),visibleChange:c.bind("_afterVisibleChangeButtons",this),headerContentChange:n,bodyContentChange:n,footerContentChange:n});},_createButton:function(s){var p,o,v,r,u,q,n,t;if(c.instanceOf(s,c.Node)){return s.plug(a);}p=c.merge({context:this,events:"click",label:s.value},s);o=c.merge(p);v=g.NON_BUTTON_NODE_CFG;for(r=0,u=v.length;r-1){r.splice(q,1);if(q!==t){y.insertBefore(u,t+1);w=true;}}else{y.appendChild(u);w=true;}}r.each(function(z){this._uiRemoveButton(z,x,{preserveContent:true});w=true;},this);if(s===0){y.remove();this._updateContentButtons(x);return;}if(w){this.setStdModContent(x,y,"after");}},this);},_uiSetDefaultButton:function(p,o){var n=g.CLASS_NAMES.primary;p&&p.addClass(n);o&&o.removeClass(n); -},_uiSetVisibleButtons:function(o){if(!o){return;}var n=this.get("defaultButton");if(n){n.focus();}},_unMapButton:function(p,r){var q=this._buttonsMap,o=this._getButtonName(p),n;if(o){if(q[o]===p){delete q[o];}n=r+":"+o;if(q[n]===p){delete q[n];}}if(this._defaultButton===p){this._defaultButton=null;}},_updateDefaultButton:function(){var n=this._defaultButton;if(this.get("defaultButton")!==n){this._set("defaultButton",n);}},_updateContentButtons:function(o){var n=this.getStdModNode(o).get("childNodes");this.set(o+"Content",n.isEmpty()?null:n,{src:"buttons"});},_afterButtonsChange:function(r){var p=r.newVal,q=r.section,n=r.index,s=r.src,o;if(s==="add"){o=p[q][n];this._mapButton(o,q);this._updateDefaultButton();this._uiInsertButton(o,q,n);return;}if(s==="remove"){o=r.button;this._unMapButton(o,q);this._updateDefaultButton();this._uiRemoveButton(o,q);return;}this._mapButtons(p);this._updateDefaultButton();this._uiSetButtons(p);},_afterContentChangeButtons:function(o){var p=o.src,q=o.stdModPosition,n=!q||q===m.REPLACE;if(n&&p!=="buttons"&&p!==j.UI_SRC){this._uiSetButtons(this.get("buttons"));}},_afterDefaultButtonChange:function(n){this._uiSetDefaultButton(n.newVal,n.prevVal);},_afterVisibleChangeButtons:function(n){this._uiSetVisibleButtons(n.newVal);}};c.WidgetButtons=g;},"3.5.0",{requires:["button-plugin","cssbutton","widget-stdmod"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/widget-modality/widget-modality-min.js b/lib/yui/3.5.0/build/widget-modality/widget-modality-min.js deleted file mode 100644 index a0007e49c2f..00000000000 --- a/lib/yui/3.5.0/build/widget-modality/widget-modality-min.js +++ /dev/null @@ -1,9 +0,0 @@ -/* -YUI 3.5.0 (build 5089) -Copyright 2012 Yahoo! Inc. All rights reserved. -Licensed under the BSD License. -http://yuilibrary.com/license/ -*/ -YUI.add("widget-modality",function(c){var p="widget",q="renderUI",f="bindUI",k="syncUI",u="boundingBox",m="contentBox",r="visible",e="zIndex",l="Change",i=c.Lang.isBoolean,s=c.ClassNameManager.getClassName,j="maskShow",a="maskHide",t="clickoutside",n="focusoutside",d=(function(){ -/*! IS_POSITION_FIXED_SUPPORTED - Juriy Zaytsev (kangax) - http://yura.thinkweb2.com/cft/ */ -var y=c.config.doc,w=null,x,v;if(y.createElement){x=y.createElement("div");if(x&&x.style){x.style.position="fixed";x.style.top="10px";v=y.body;if(v&&v.appendChild&&v.removeChild){v.appendChild(x);w=(x.offsetTop===10);v.removeChild(x);}}}return w;}());function o(v){}var h="modal",b="mask",g={modal:s(p,h),mask:s(p,b)};o.ATTRS={maskNode:{getter:"_getMaskNode",readOnly:true},modal:{value:false,validator:i},focusOn:{valueFn:function(){return[{eventName:t},{eventName:n}];},validator:c.Lang.isArray}};o.CLASSES=g;o._GET_MASK=function(){var v=c.one(".yui3-widget-mask")||null,w=c.one("window");if(v){return v;}else{v=c.Node.create("");v.addClass(g.mask);if(d){v.setStyles({position:"fixed",width:"100%",height:"100%",top:"0",left:"0",display:"block"});}else{v.setStyles({position:"absolute",width:w.get("winWidth")+"px",height:w.get("winHeight")+"px",top:"0",left:"0",display:"block"});}return v;}};o.STACK=[];o.prototype={initializer:function(){c.after(this._renderUIModal,this,q);c.after(this._syncUIModal,this,k);c.after(this._bindUIModal,this,f);},destructor:function(){this._uiSetHostVisibleModal(false);},_uiHandlesModal:null,_renderUIModal:function(){var v=this.get(u);this._repositionMask(this);v.addClass(g.modal);},_bindUIModal:function(){this.after(r+l,this._afterHostVisibleChangeModal);this.after(e+l,this._afterHostZIndexChangeModal);this.after("focusOnChange",this._afterFocusOnChange);if(!d||c.UA.ios<5||c.UA.android<3){c.one("win").on("scroll",this._resyncMask,this);}},_syncUIModal:function(){this._uiSetHostVisibleModal(this.get(r));this._uiSetHostZIndexModal(this.get(e));},_focus:function(w){var x=this.get(u),v=x.get("tabIndex");x.set("tabIndex",v>=0?v:0);this.focus();},_blur:function(){this.blur();},_getMaskNode:function(){return o._GET_MASK();},_uiSetHostVisibleModal:function(A){var v=o.STACK,y=this.get("maskNode"),z=this.get("modal"),x,w;if(A){c.Array.each(v,function(B){B._detachUIHandlesModal();B._blur();});v.unshift(this);this._repositionMask(this);this._uiSetHostZIndexModal(this.get(e));if(z){y.show();c.later(1,this,"_attachUIHandlesModal");this._focus();}}else{w=c.Array.indexOf(v,this);if(w>=0){v.splice(w,1);}this._detachUIHandlesModal();this._blur();if(v.length){x=v[0];this._repositionMask(x);x._uiSetHostZIndexModal(x.get(e));if(x.get("modal")){c.later(1,x,"_attachUIHandlesModal");x._focus();}}else{if(y.getStyle("display")==="block"){y.hide();}}}},_uiSetHostZIndexModal:function(v){if(this.get("modal")){this.get("maskNode").setStyle(e,v||0);}},_attachUIHandlesModal:function(){if(this._uiHandlesModal||o.STACK[0]!==this){return;}var C=this.get(u),z=this.get("maskNode"),B=this.get("focusOn"),w=c.bind(this._focus,this),x=[],y,v,A;for(y=0,v=B.length;y
1)?true:false;return v;},_repositionMask:function(v){var y=this.get("modal"),x=v.get("modal"),z=this.get("maskNode"),A,w;if(y&&!x){z.remove();this.fire(a);}else{if((!y&&x)||(y&&x)){z.remove();this.fire(a);A=v.get(u);w=A.get("parentNode")||c.one("body");w.insert(z,w.get("firstChild"));this.fire(j);}}},_resyncMask:function(A){var B=A.currentTarget,v=B.get("docScrollX"),C=B.get("docScrollY"),y=B.get("innerWidth")||B.get("winWidth"),z=B.get("innerHeight")||B.get("winHeight"),x=this.get("maskNode");x.setStyles({"top":C+"px","left":v+"px","width":y+"px","height":z+"px"});},_afterFocusOnChange:function(v){this._detachUIHandlesModal();if(this.get(r)){this._attachUIHandlesModal();}}};c.WidgetModality=o;},"3.5.0",{requires:["base-build","event-outside","widget"],skinnable:true}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/widget-skin/assets/widget-base-core.css b/lib/yui/3.5.0/build/widget-skin/assets/widget-base-core.css deleted file mode 100644 index 5ad0f0847a3..00000000000 --- a/lib/yui/3.5.0/build/widget-skin/assets/widget-base-core.css +++ /dev/null @@ -1,26 +0,0 @@ -/* -YUI 3.5.0 (build 5089) -Copyright 2012 Yahoo! Inc. All rights reserved. -Licensed under the BSD License. -http://yuilibrary.com/license/ -*/ -.yui3-widget-hidden { - display:none; -} - -.yui3-widget-content { - overflow:hidden; -} - -.yui3-widget-content-expanded { - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - -ms-box-sizing: border-box; - box-sizing:border-box; - height:100%; -} - -/* Only used for IE6, to go from a bigger size to a smaller size when using cb.sizeTo(bb) */ -.yui3-widget-tmp-forcesize { - overflow:hidden !important; -} \ No newline at end of file diff --git a/lib/yui/3.5.0/build/widget-uievents/assets/widget-base-core.css b/lib/yui/3.5.0/build/widget-uievents/assets/widget-base-core.css deleted file mode 100644 index 5ad0f0847a3..00000000000 --- a/lib/yui/3.5.0/build/widget-uievents/assets/widget-base-core.css +++ /dev/null @@ -1,26 +0,0 @@ -/* -YUI 3.5.0 (build 5089) -Copyright 2012 Yahoo! Inc. All rights reserved. -Licensed under the BSD License. -http://yuilibrary.com/license/ -*/ -.yui3-widget-hidden { - display:none; -} - -.yui3-widget-content { - overflow:hidden; -} - -.yui3-widget-content-expanded { - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - -ms-box-sizing: border-box; - box-sizing:border-box; - height:100%; -} - -/* Only used for IE6, to go from a bigger size to a smaller size when using cb.sizeTo(bb) */ -.yui3-widget-tmp-forcesize { - overflow:hidden !important; -} \ No newline at end of file diff --git a/lib/yui/3.5.0/build/align-plugin/align-plugin-debug.js b/lib/yui/3.5.1/build/align-plugin/align-plugin-debug.js similarity index 98% rename from lib/yui/3.5.0/build/align-plugin/align-plugin-debug.js rename to lib/yui/3.5.1/build/align-plugin/align-plugin-debug.js index 5ead74a5710..08c4178f79e 100644 --- a/lib/yui/3.5.0/build/align-plugin/align-plugin-debug.js +++ b/lib/yui/3.5.1/build/align-plugin/align-plugin-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -196,4 +196,4 @@ YUI.add('align-plugin', function(Y) { -}, '3.5.0' ,{requires:['node-pluginhost', 'node-screen']}); +}, '3.5.1' ,{requires:['node-pluginhost', 'node-screen']}); diff --git a/lib/yui/3.5.0/build/align-plugin/align-plugin-min.js b/lib/yui/3.5.1/build/align-plugin/align-plugin-min.js similarity index 94% rename from lib/yui/3.5.0/build/align-plugin/align-plugin-min.js rename to lib/yui/3.5.1/build/align-plugin/align-plugin-min.js index 10c170b8df3..c280a6d5d79 100644 --- a/lib/yui/3.5.0/build/align-plugin/align-plugin-min.js +++ b/lib/yui/3.5.1/build/align-plugin/align-plugin-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("align-plugin",function(c){var e="offsetWidth",d="offsetHeight",b=b;function a(f){if(f.host){this._host=f.host;}}a.prototype={to:function(j,t,l,o){this._syncArgs=c.Array(arguments);if(j.top===b){j=c.one(j).get("region");}if(j){var s=[j.left,j.top],q=[j.width,j.height],n=a.points,f=this._host,h=null,r=f.getAttrs([d,e]),k=[0-r[e],0-r[d]],p=t?n[t.charAt(0)]:h,m=(t&&t!=="cc")?n[t.charAt(1)]:h,i=l?n[l.charAt(0)]:h,g=(l&&l!=="cc")?n[l.charAt(1)]:h;if(p){s=p(s,q,t);}if(m){s=m(s,q,t);}if(i){s=i(s,k,l);}if(g){s=g(s,k,l);}if(s&&f){f.setXY(s);}this._resize(o);}return this;},sync:function(){this.to.apply(this,this._syncArgs);return this;},_resize:function(g){var f=this._handle;if(g&&!f){this._handle=c.on("resize",this._onresize,window,this);}else{if(!g&&f){f.detach();}}},_onresize:function(){var f=this;setTimeout(function(){f.sync();});},center:function(g,f){this.to(g,"cc","cc",f);return this;},destroy:function(){var f=this._handle;if(f){f.detach();}}};a.points={"t":function(f,g){return f;},"r":function(f,g){return[f[0]+g[0],f[1]];},"b":function(f,g){return[f[0],f[1]+g[1]];},"l":function(f,g){return f;},"c":function(i,k,f){var h=(f[0]==="t"||f[0]==="b")?0:1,g,j;if(f==="cc"){g=[i[0]+k[0]/2,i[1]+k[1]/2];}else{j=i[h]+k[h]/2;g=(h)?[i[0],j]:[j,i[1]];}return g;}};a.NAME="Align";a.NS="align";a.prototype.constructor=a;c.namespace("Plugin");c.Plugin.Align=a;},"3.5.0",{requires:["node-pluginhost","node-screen"]}); \ No newline at end of file +YUI.add("align-plugin",function(c){var e="offsetWidth",d="offsetHeight",b=b;function a(f){if(f.host){this._host=f.host;}}a.prototype={to:function(j,t,l,o){this._syncArgs=c.Array(arguments);if(j.top===b){j=c.one(j).get("region");}if(j){var s=[j.left,j.top],q=[j.width,j.height],n=a.points,f=this._host,h=null,r=f.getAttrs([d,e]),k=[0-r[e],0-r[d]],p=t?n[t.charAt(0)]:h,m=(t&&t!=="cc")?n[t.charAt(1)]:h,i=l?n[l.charAt(0)]:h,g=(l&&l!=="cc")?n[l.charAt(1)]:h;if(p){s=p(s,q,t);}if(m){s=m(s,q,t);}if(i){s=i(s,k,l);}if(g){s=g(s,k,l);}if(s&&f){f.setXY(s);}this._resize(o);}return this;},sync:function(){this.to.apply(this,this._syncArgs);return this;},_resize:function(g){var f=this._handle;if(g&&!f){this._handle=c.on("resize",this._onresize,window,this);}else{if(!g&&f){f.detach();}}},_onresize:function(){var f=this;setTimeout(function(){f.sync();});},center:function(g,f){this.to(g,"cc","cc",f);return this;},destroy:function(){var f=this._handle;if(f){f.detach();}}};a.points={"t":function(f,g){return f;},"r":function(f,g){return[f[0]+g[0],f[1]];},"b":function(f,g){return[f[0],f[1]+g[1]];},"l":function(f,g){return f;},"c":function(i,k,f){var h=(f[0]==="t"||f[0]==="b")?0:1,g,j;if(f==="cc"){g=[i[0]+k[0]/2,i[1]+k[1]/2];}else{j=i[h]+k[h]/2;g=(h)?[i[0],j]:[j,i[1]];}return g;}};a.NAME="Align";a.NS="align";a.prototype.constructor=a;c.namespace("Plugin");c.Plugin.Align=a;},"3.5.1",{requires:["node-pluginhost","node-screen"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/align-plugin/align-plugin.js b/lib/yui/3.5.1/build/align-plugin/align-plugin.js similarity index 98% rename from lib/yui/3.5.0/build/align-plugin/align-plugin.js rename to lib/yui/3.5.1/build/align-plugin/align-plugin.js index 5ead74a5710..08c4178f79e 100644 --- a/lib/yui/3.5.0/build/align-plugin/align-plugin.js +++ b/lib/yui/3.5.1/build/align-plugin/align-plugin.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -196,4 +196,4 @@ YUI.add('align-plugin', function(Y) { -}, '3.5.0' ,{requires:['node-pluginhost', 'node-screen']}); +}, '3.5.1' ,{requires:['node-pluginhost', 'node-screen']}); diff --git a/lib/yui/3.5.0/build/anim-base/anim-base-debug.js b/lib/yui/3.5.1/build/anim-base/anim-base-debug.js similarity index 99% rename from lib/yui/3.5.0/build/anim-base/anim-base-debug.js rename to lib/yui/3.5.1/build/anim-base/anim-base-debug.js index 691307221f6..1c26f3afab1 100644 --- a/lib/yui/3.5.0/build/anim-base/anim-base-debug.js +++ b/lib/yui/3.5.1/build/anim-base/anim-base-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -679,4 +679,4 @@ YUI.add('anim-base', function(Y) { Y.extend(Y.Anim, Y.Base, proto); -}, '3.5.0' ,{requires:['base-base', 'node-style']}); +}, '3.5.1' ,{requires:['base-base', 'node-style']}); diff --git a/lib/yui/3.5.0/build/anim-base/anim-base-min.js b/lib/yui/3.5.1/build/anim-base/anim-base-min.js similarity index 98% rename from lib/yui/3.5.0/build/anim-base/anim-base-min.js rename to lib/yui/3.5.1/build/anim-base/anim-base-min.js index a178f1983f8..9bb404b930e 100644 --- a/lib/yui/3.5.0/build/anim-base/anim-base-min.js +++ b/lib/yui/3.5.1/build/anim-base/anim-base-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("anim-base",function(b){var c="running",n="startTime",l="elapsedTime",j="start",i="tween",m="end",d="node",k="paused",o="reverse",h="iterationCount",a=Number;var f={},e;b.Anim=function(){b.Anim.superclass.constructor.apply(this,arguments);b.Anim._instances[b.stamp(this)]=this;};b.Anim.NAME="anim";b.Anim._instances={};b.Anim.RE_DEFAULT_UNIT=/^width|height|top|right|bottom|left|margin.*|padding.*|border.*$/i;b.Anim.DEFAULT_UNIT="px";b.Anim.DEFAULT_EASING=function(q,p,s,r){return s*q/r+p;};b.Anim._intervalTime=20;b.Anim.behaviors={left:{get:function(q,p){return q._getOffset(p);}}};b.Anim.behaviors.top=b.Anim.behaviors.left;b.Anim.DEFAULT_SETTER=function(t,u,w,x,z,s,v,y){var q=t._node,r=q._node,p=v(z,a(w),a(x)-a(w),s);if(r&&(r.style||r.attributes)){if(u in r.style||u in b.DOM.CUSTOM_STYLES){y=y||"";q.setStyle(u,p+y);}else{if(r.attributes[u]){q.setAttribute(u,p);}}}else{if(q.set){q.set(u,p);}}};b.Anim.DEFAULT_GETTER=function(s,p){var r=s._node,q=r._node,t="";if(q&&(q.style||q.attributes)){if(p in q.style||p in b.DOM.CUSTOM_STYLES){t=r.getComputedStyle(p);}else{if(q.attributes[p]){t=r.getAttribute(p);}}}else{if(r.get){t=r.get(p);}}return t;};b.Anim.ATTRS={node:{setter:function(p){if(p){if(typeof p=="string"||p.nodeType){p=b.one(p);}}this._node=p;if(!p){}return p;}},duration:{value:1},easing:{value:b.Anim.DEFAULT_EASING,setter:function(p){if(typeof p==="string"&&b.Easing){return b.Easing[p];}}},from:{},to:{},startTime:{value:0,readOnly:true},elapsedTime:{value:0,readOnly:true},running:{getter:function(){return !!f[b.stamp(this)];},value:false,readOnly:true},iterations:{value:1},iterationCount:{value:0,readOnly:true},direction:{value:"normal"},paused:{readOnly:true,value:false},reverse:{value:false}};b.Anim.run=function(){var q=b.Anim._instances;for(var p in q){if(q[p].run){q[p].run();}}};b.Anim.pause=function(){for(var p in f){if(f[p].pause){f[p].pause();}}b.Anim._stopTimer();};b.Anim.stop=function(){for(var p in f){if(f[p].stop){f[p].stop();}}b.Anim._stopTimer();};b.Anim._startTimer=function(){if(!e){e=setInterval(b.Anim._runFrame,b.Anim._intervalTime);}};b.Anim._stopTimer=function(){clearInterval(e);e=0;};b.Anim._runFrame=function(){var p=true;for(var q in f){if(f[q]._runFrame){p=false;f[q]._runFrame();}}if(p){b.Anim._stopTimer();}};b.Anim.RE_UNITS=/^(-?\d*\.?\d*){1}(em|ex|px|in|cm|mm|pt|pc|%)*$/;var g={run:function(){if(this.get(k)){this._resume();}else{if(!this.get(c)){this._start();}}return this;},pause:function(){if(this.get(c)){this._pause();}return this;},stop:function(p){if(this.get(c)||this.get(k)){this._end(p);}return this;},_added:false,_start:function(){this._set(n,new Date()-this.get(l));this._actualFrames=0;if(!this.get(k)){this._initAnimAttr();}f[b.stamp(this)]=this;b.Anim._startTimer();this.fire(j);},_pause:function(){this._set(n,null);this._set(k,true);delete f[b.stamp(this)];this.fire("pause");},_resume:function(){this._set(k,false);f[b.stamp(this)]=this;this._set(n,new Date()-this.get(l));b.Anim._startTimer();this.fire("resume");},_end:function(p){var q=this.get("duration")*1000;if(p){this._runAttrs(q,q,this.get(o));}this._set(n,null);this._set(l,0);this._set(k,false);delete f[b.stamp(this)];this.fire(m,{elapsed:this.get(l)});},_runFrame:function(){var u=this._runtimeAttr.duration,r=new Date()-this.get(n),q=this.get(o),p=(r>=u),s,v;this._runAttrs(r,u,q);this._actualFrames+=1;this._set(l,r);this.fire(i);if(p){this._lastFrame();}},_runAttrs:function(A,z,w){var x=this._runtimeAttr,r=b.Anim.behaviors,y=x.easing,p=z,u=false,q,s,v;if(A>=z){u=true;}if(w){A=z-A;p=0;}for(v in x){if(x[v].to){q=x[v];s=(v in r&&"set" in r[v])?r[v].set:b.Anim.DEFAULT_SETTER;if(!u){s(this,v,q.from,q.to,A,z,y,q.unit);}else{s(this,v,q.from,q.to,p,z,y,q.unit);}}}},_lastFrame:function(){var p=this.get("iterations"),q=this.get(h);q+=1;if(p==="infinite"||q =u),s,v;this._runAttrs(r,u,q);this._actualFrames+=1;this._set(l,r);this.fire(i);if(p){this._lastFrame();}},_runAttrs:function(A,z,w){var x=this._runtimeAttr,r=b.Anim.behaviors,y=x.easing,p=z,u=false,q,s,v;if(A>=z){u=true;}if(w){A=z-A;p=0;}for(v in x){if(x[v].to){q=x[v];s=(v in r&&"set" in r[v])?r[v].set:b.Anim.DEFAULT_SETTER;if(!u){s(this,v,q.from,q.to,A,z,y,q.unit);}else{s(this,v,q.from,q.to,p,z,y,q.unit);}}}},_lastFrame:function(){var p=this.get("iterations"),q=this.get(h);q+=1;if(p==="infinite"||q
transform attribute of
Graphic+ *Shapeinstances. + * @module anim + * @submodule anim-shape-transform + */ var NUM = Number, TO, TOSTRING; @@ -78,10 +84,7 @@ YUI.add('anim-shape-transform', function(Y) { } else if(Y.MatrixUtil.compareTransformSequence(toArray, fromArray)) { - //toAttr.transform = toArray; - //anim.set("to", toAttr); TO = toArray; - //toAttr.transform = toArray; from = fromArray; } else @@ -106,4 +109,4 @@ YUI.add('anim-shape-transform', function(Y) { -}, '3.5.0' ,{requires:['anim-base','matrix']}); +}, '3.5.1' ,{requires:['anim-base','matrix']}); diff --git a/lib/yui/3.5.0/build/anim-shape-transform/anim-shape-transform-min.js b/lib/yui/3.5.1/build/anim-shape-transform/anim-shape-transform-min.js similarity index 92% rename from lib/yui/3.5.0/build/anim-shape-transform/anim-shape-transform-min.js rename to lib/yui/3.5.1/build/anim-shape-transform/anim-shape-transform-min.js index 0340d0f71e8..db851b01ac3 100644 --- a/lib/yui/3.5.0/build/anim-shape-transform/anim-shape-transform-min.js +++ b/lib/yui/3.5.1/build/anim-shape-transform/anim-shape-transform-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("anim-shape-transform",function(d){var b=Number,a,c;d.Anim.behaviors.transform={set:function(k,q,t,u,v,h,s){var g=k._node,f="",r,n,w,e,m=0,l,p,o;u=a;o=a.length;for(;mtransform attribute of Graphic+ *Shapeinstances. + * @module anim + * @submodule anim-shape-transform + */ var NUM = Number, TO, TOSTRING; @@ -78,10 +84,7 @@ YUI.add('anim-shape-transform', function(Y) { } else if(Y.MatrixUtil.compareTransformSequence(toArray, fromArray)) { - //toAttr.transform = toArray; - //anim.set("to", toAttr); TO = toArray; - //toAttr.transform = toArray; from = fromArray; } else @@ -106,4 +109,4 @@ YUI.add('anim-shape-transform', function(Y) { -}, '3.5.0' ,{requires:['anim-base','matrix']}); +}, '3.5.1' ,{requires:['anim-base','matrix']}); diff --git a/lib/yui/3.5.0/build/anim-xy/anim-xy-debug.js b/lib/yui/3.5.1/build/anim-xy/anim-xy-debug.js similarity index 89% rename from lib/yui/3.5.0/build/anim-xy/anim-xy-debug.js rename to lib/yui/3.5.1/build/anim-xy/anim-xy-debug.js index 6d5e485b479..7be91e5192c 100644 --- a/lib/yui/3.5.0/build/anim-xy/anim-xy-debug.js +++ b/lib/yui/3.5.1/build/anim-xy/anim-xy-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -29,4 +29,4 @@ Y.Anim.behaviors.xy = { -}, '3.5.0' ,{requires:['anim-base', 'node-screen']}); +}, '3.5.1' ,{requires:['anim-base', 'node-screen']}); diff --git a/lib/yui/3.5.0/build/anim-xy/anim-xy-min.js b/lib/yui/3.5.1/build/anim-xy/anim-xy-min.js similarity index 78% rename from lib/yui/3.5.0/build/anim-xy/anim-xy-min.js rename to lib/yui/3.5.1/build/anim-xy/anim-xy-min.js index b9f63d730e1..05720f6c06d 100644 --- a/lib/yui/3.5.0/build/anim-xy/anim-xy-min.js +++ b/lib/yui/3.5.1/build/anim-xy/anim-xy-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("anim-xy",function(b){var a=Number;b.Anim.behaviors.xy={set:function(f,d,i,h,c,g,e){f._node.setXY([e(c,a(i[0]),a(h[0])-a(i[0]),g),e(c,a(i[1]),a(h[1])-a(i[1]),g)]);},get:function(c){return c._node.getXY();}};},"3.5.0",{requires:["anim-base","node-screen"]}); \ No newline at end of file +YUI.add("anim-xy",function(b){var a=Number;b.Anim.behaviors.xy={set:function(f,d,i,h,c,g,e){f._node.setXY([e(c,a(i[0]),a(h[0])-a(i[0]),g),e(c,a(i[1]),a(h[1])-a(i[1]),g)]);},get:function(c){return c._node.getXY();}};},"3.5.1",{requires:["anim-base","node-screen"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/anim-xy/anim-xy.js b/lib/yui/3.5.1/build/anim-xy/anim-xy.js similarity index 89% rename from lib/yui/3.5.0/build/anim-xy/anim-xy.js rename to lib/yui/3.5.1/build/anim-xy/anim-xy.js index 6d5e485b479..7be91e5192c 100644 --- a/lib/yui/3.5.0/build/anim-xy/anim-xy.js +++ b/lib/yui/3.5.1/build/anim-xy/anim-xy.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -29,4 +29,4 @@ Y.Anim.behaviors.xy = { -}, '3.5.0' ,{requires:['anim-base', 'node-screen']}); +}, '3.5.1' ,{requires:['anim-base', 'node-screen']}); diff --git a/lib/yui/3.5.0/build/app-base/app-base-debug.js b/lib/yui/3.5.1/build/app-base/app-base-debug.js similarity index 90% rename from lib/yui/3.5.0/build/app-base/app-base-debug.js rename to lib/yui/3.5.1/build/app-base/app-base-debug.js index 65f07ae023d..155de9f865f 100644 --- a/lib/yui/3.5.0/build/app-base/app-base-debug.js +++ b/lib/yui/3.5.1/build/app-base/app-base-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -25,6 +25,9 @@ Provides a top-level application component which manages navigation and views. // TODO: Better handling of lifecycle for registered views: // +// * [!] Just redo basically everything with view management so there are no +// pre-`activeViewChange` side effects and handle the rest of these things: +// // * Seems like any view created via `createView` should listen for the view's // `destroy` event and use that to remove it from the `_viewsInfoMap`. I // should look at what ModelList does for Models as a reference. @@ -34,6 +37,9 @@ Provides a top-level application component which manages navigation and views. // above? We could do `app.getView('foo').destroy()` and it would be removed // from the `_viewsInfoMap` as well. // +// * Should we wait to call a view's `render()` method inside of the +// `_attachView()` method? +// // * Should named views support a collection of instances instead of just one? // @@ -309,6 +315,10 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { Sets which view is active/visible for the application. This will set the app's `activeView` attribute to the specified `view`. + The `view` will be "attached" to this app, meaning it will be both rendered + into this app's `viewContainer` node and all of its events will bubble to + the app. The previous `activeView` will be "detached" from this app. + When a string-name is provided for a view which has been registered on this app's `views` object, the referenced metadata will be used and the `activeView` will be set to either a preserved view instance, or a new @@ -322,15 +332,17 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { @example var app = new Y.App({ views: { - users: { + usersView: { // Imagine that `Y.UsersView` has been defined. type: Y.UsersView } - } + }, + + users: new Y.ModelList() }); app.route('/users/', function () { - this.showView('users'); + this.showView('usersView', {users: this.get('users')}); }); app.render(); @@ -338,26 +350,44 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { @method showView @param {String|View} view The name of a view defined in the `views` object, - or a view instance. + or a view instance which should become this app's `activeView`. @param {Object} [config] Optional configuration to use when creating a new - view instance. + view instance. This config object can also be used to update an existing + or preserved view's attributes when `options.update` is `true`. @param {Object} [options] Optional object containing any of the following properties: @param {Function} [options.callback] Optional callback function to call after new `activeView` is ready to use, the function will be passed: @param {View} options.callback.view A reference to the new `activeView`. - @param {Boolean} [options.prepend] Whether the new view should be + @param {Boolean} [options.prepend=false] Whether the `view` should be prepended instead of appended to the `viewContainer`. + @param {Boolean} [options.render] Whether the `view` should be rendered. + **Note:** If no value is specified, a view instance will only be + rendered if it's newly created by this method. + @param {Boolean} [options.update=false] Whether an existing view should + have its attributes updated by passing the `config` object to its + `setAttrs()` method. **Note:** This option does not have an effect if + the `view` instance is created as a result of calling this method. @param {Function} [callback] Optional callback Function to call after the new `activeView` is ready to use. **Note:** this will override - `options.callback`. The function will be passed the following: + `options.callback` and it can be specified as either the third or fourth + argument. The function will be passed the following: @param {View} callback.view A reference to the new `activeView`. @chainable @since 3.5.0 **/ showView: function (view, config, options, callback) { - var viewInfo; + var viewInfo, created; + + options || (options = {}); + + // Support the callback function being either the third or fourth arg. + if (callback) { + options.callback = callback; + } else if (Lang.isFunction(options)) { + options = {callback: options}; + } if (Lang.isString(view)) { viewInfo = this.getViewInfo(view); @@ -368,32 +398,38 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { // `preserve` when detaching? if (viewInfo && viewInfo.preserve && viewInfo.instance) { view = viewInfo.instance; + // Make sure there's a mapping back to the view metadata. this._viewInfoMap[Y.stamp(view, true)] = viewInfo; } else { - view = this.createView(view, config); - view.render(); + // TODO: Add the app as a bubble target during construction, but + // make sure to check that it isn't already in `bubbleTargets`! + // This will allow the app to be notified for about _all_ of the + // view's events. **Note:** This should _only_ happen if the + // view is created _after_ `activeViewChange`. + + view = this.createView(view, config); + created = true; } } - // TODO: Add `options.update` to update to view with the `config`, if - // needed. This could also call `setAttrs()` when the specified `view` - // already a View instance. Is this be too much overloading of the API? - - // TODO: Add `options.render` to provide a way to control whether a view - // is rendered or not; by default, `render()` will only be called if - // this method created the View. - - options || (options = {}); - - if (callback) { - options.callback = callback; - } else if (Lang.isFunction(options)) { - options = {callback: options}; + // Update the specified or preserved `view` when signaled to do so. + // There's no need to updated a view if it was _just_ created. + if (options.update && !created) { + view.setAttrs(config); } - // TODO: Should the `callback` _always_ be called, even when the - // `activeView` does not change? + // TODO: Hold off on rendering the view until after it has been + // "attached", and move the call to render into `_attachView()`. + + // When a value is specified for `options.render`, prefer it because it + // represents the developer's intent. When no value is specified, the + // `view` will only be rendered if it was just created. + if ('render' in options) { + options.render && view.render(); + } else if (created) { + view.render(); + } return this._set('activeView', view, {options: options}); }, @@ -407,8 +443,8 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { @method _attachView @param {View} view View to attach. - @param {Boolean} prepend Whether the view should be prepended instead of - appended to the `viewContainer`. + @param {Boolean} prepend=false Whether the view should be prepended instead + of appended to the `viewContainer`. @protected @since 3.5.0 **/ @@ -426,6 +462,9 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { // TODO: Attach events here for persevered Views? // See related TODO in `_detachView`. + // TODO: Actually render the view here so that it gets "attached" before + // it gets rendered? + // Insert view into the DOM. viewContainer[prepend ? 'prepend' : 'append'](view.get('container')); }, @@ -652,7 +691,7 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { // Force navigation to be enhanced and handled by the app when // `serverRouting` is falsy because the server might not be able to // properly handle the request. - Lang.isValue(options.force) || (options.force = true); + 'force' in options || (options.force = true); } return PjaxBase.prototype._navigate.call(this, url, options); @@ -731,8 +770,15 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { after new `activeView` is ready to use, the function will be passed: @param {View} options.callback.view A reference to the new `activeView`. - @param {Boolean} [options.prepend] Whether the new view should be + @param {Boolean} [options.prepend=false] Whether the `view` should be prepended instead of appended to the `viewContainer`. + @param {Boolean} [options.render] Whether the `view` should be rendered. + **Note:** If no value is specified, a view instance will only be + rendered if it's newly created by this method. + @param {Boolean} [options.update=false] Whether an existing view should + have its attributes updated by passing the `config` object to its + `setAttrs()` method. **Note:** This option does not have an effect if + the `view` instance is created as a result of calling this method. @protected @since 3.5.0 **/ @@ -827,7 +873,7 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { @type View @default null @readOnly - @see AppBase.showView() + @see App.Base.showView() @since 3.5.0 **/ activeView: { @@ -1093,4 +1139,4 @@ instance will be **auto-mixed** on to the `Y.App` class. Consider this example: Y.App = Y.mix(Y.Base.create('app', Y.App.Base, []), Y.App, true); -}, '3.5.0' ,{requires:['classnamemanager', 'pjax-base', 'router', 'view']}); +}, '3.5.1' ,{requires:['classnamemanager', 'pjax-base', 'router', 'view']}); diff --git a/lib/yui/3.5.1/build/app-base/app-base-min.js b/lib/yui/3.5.1/build/app-base/app-base-min.js new file mode 100644 index 00000000000..82ffd8c1693 --- /dev/null +++ b/lib/yui/3.5.1/build/app-base/app-base-min.js @@ -0,0 +1,7 @@ +/* +YUI 3.5.1 (build 22) +Copyright 2012 Yahoo! Inc. All rights reserved. +Licensed under the BSD License. +http://yuilibrary.com/license/ +*/ +YUI.add("app-base",function(c){var g=c.Lang,i=c.Object,a=c.PjaxBase,d=c.Router,b=c.View,e=c.ClassNameManager.getClassName,h=c.config.win,f;f=c.Base.create("app",c.Base,[b,d,a],{views:{},initializer:function(k){k||(k={});var j={};function l(m,n){j[n]=c.merge(j[n],m);}i.each(this.views,l);i.each(k.views,l);this.views=j;this._viewInfoMap={};this.after("activeViewChange",c.bind("_afterActiveViewChange",this));if(!this.get("serverRouting")){this._pjaxBindUI();}},createView:function(m,l){var k=this.getViewInfo(m),n=(k&&k.type)||b,o,j;o=g.isString(n)?i.getValue(c,n.split(".")):n;j=new o(l);this._viewInfoMap[c.stamp(j,true)]=k;return j;},getViewInfo:function(j){if(g.isString(j)){return this.views[j];}return j&&this._viewInfoMap[c.stamp(j,true)];},render:function(){var k=this.get("container"),j=this.get("viewContainer"),l=this.get("activeView"),n=l&&l.get("container"),m=k.compareTo(j);k.addClass(f.CSS_CLASS);j.addClass(f.VIEWS_CSS_CLASS);if(l&&!j.contains(n)){j.appendChild(n);}if(!k.contains(j)&&!m){k.appendChild(j);}return this;},showView:function(j,m,l,o){var k,n;l||(l={});if(o){l.callback=o;}else{if(g.isFunction(l)){l={callback:l};}}if(g.isString(j)){k=this.getViewInfo(j);if(k&&k.preserve&&k.instance){j=k.instance;this._viewInfoMap[c.stamp(j,true)]=k;}else{j=this.createView(j,m);n=true;}}if(l.update&&!n){j.setAttrs(m);}if("render" in l){l.render&&j.render();}else{if(n){j.render();}}return this._set("activeView",j,{options:l});},_attachView:function(k,l){if(!k){return;}var m=this.getViewInfo(k),j=this.get("viewContainer");k.addTarget(this);m&&(m.instance=k);j[l?"prepend":"append"](k.get("container"));},_destroyContainer:function(){var k=this.get("container"),j=this.get("viewContainer"),l=k.compareTo(j);if(c.one("body").compareTo(k)){this.detachEvents();k&&k.removeClass(f.CSS_CLASS);if(l){k&&k.removeClass(f.VIEWS_CSS_CLASS);}else{j&&j.remove(true);}return;}j&&j.remove(true);!l&&k&&k.remove(true);},_detachView:function(j){if(!j){return;}var k=this.getViewInfo(j)||{};if(k.preserve){j.remove();}else{j.destroy({remove:true});delete this._viewInfoMap[c.stamp(j,true)];if(j===k.instance){delete k.instance;}}j.removeTarget(this);},_getViewContainer:function(j){if(!j&&!this._viewContainer){j=this._viewContainer=this.create();this._set("viewContainer",j);}return j;},_getURL:function(){var j=c.getLocation().toString();return this._html5?j:this._upgradeURL(j);},_initHtml5:function(){if(this.get("serverRouting")===false){return false;}else{return d.html5;}},_isChildView:function(j,m){var l=this.getViewInfo(j),k=this.getViewInfo(m);if(l&&k){return this.getViewInfo(l.parent)===k;}return false;},_isParentView:function(j,m){var k=this.getViewInfo(j),l=this.getViewInfo(m);if(k&&l){return this.getViewInfo(l.parent)===k;}return false;},_navigate:function(k,j){k=this._upgradeURL(k);j||(j={});if(!this.get("serverRouting")){"force" in j||(j.force=true);}return a.prototype._navigate.call(this,k,j);},_save:function(j,k){if(this.get("serverRouting")&&!this.get("html5")){if(!this._hasSameOrigin(j)){c.error("Security error: The new URL must be of the same origin as the current URL.");return this;}j=this._joinURL(j||"");if(k){h&&h.location.replace(j);}else{h&&(h.location=j);}return this;}return d.prototype._save.apply(this,arguments);},_uiSetActiveView:function(p,n,m){m||(m={});var o=m.callback,j=this._isChildView(p,n),l=!j&&this._isParentView(p,n),k=!!m.prepend||l;if(p===n){return o&&o.call(this,p);}this._attachView(p,k);this._detachView(n);o&&o.call(this,p);},_upgradeURL:function(k){if(!this._hasSameOrigin(k)){return k;}var l=(k.match(/#(.*)$/)||[])[1]||"",j=c.HistoryHash.hashPrefix;if(j&&l.indexOf(j)===0){l=l.replace(j,"");}if(l&&l.charAt(0)==="/"){k=this._resolveURL(this._joinURL(l));}return k;},_afterActiveViewChange:function(j){this._uiSetActiveView(j.newVal,j.prevVal,j.options);}},{ATTRS:{activeView:{value:null,readOnly:true},container:{valueFn:function(){return c.one("body");}},html5:{valueFn:"_initHtml5"},linkSelector:{value:"a"},serverRouting:{value:undefined,writeOnce:"initOnly"},viewContainer:{getter:"_getViewContainer",setter:c.one,writeOnce:true}},CSS_CLASS:e("app"),VIEWS_CSS_CLASS:e("app","views"),_NON_ATTRS_CFG:["views"]});c.namespace("App").Base=f;c.App=c.mix(c.Base.create("app",c.App.Base,[]),c.App,true);},"3.5.1",{requires:["classnamemanager","pjax-base","router","view"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/app-base/app-base.js b/lib/yui/3.5.1/build/app-base/app-base.js similarity index 90% rename from lib/yui/3.5.0/build/app-base/app-base.js rename to lib/yui/3.5.1/build/app-base/app-base.js index 65f07ae023d..155de9f865f 100644 --- a/lib/yui/3.5.0/build/app-base/app-base.js +++ b/lib/yui/3.5.1/build/app-base/app-base.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -25,6 +25,9 @@ Provides a top-level application component which manages navigation and views. // TODO: Better handling of lifecycle for registered views: // +// * [!] Just redo basically everything with view management so there are no +// pre-`activeViewChange` side effects and handle the rest of these things: +// // * Seems like any view created via `createView` should listen for the view's // `destroy` event and use that to remove it from the `_viewsInfoMap`. I // should look at what ModelList does for Models as a reference. @@ -34,6 +37,9 @@ Provides a top-level application component which manages navigation and views. // above? We could do `app.getView('foo').destroy()` and it would be removed // from the `_viewsInfoMap` as well. // +// * Should we wait to call a view's `render()` method inside of the +// `_attachView()` method? +// // * Should named views support a collection of instances instead of just one? // @@ -309,6 +315,10 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { Sets which view is active/visible for the application. This will set the app's `activeView` attribute to the specified `view`. + The `view` will be "attached" to this app, meaning it will be both rendered + into this app's `viewContainer` node and all of its events will bubble to + the app. The previous `activeView` will be "detached" from this app. + When a string-name is provided for a view which has been registered on this app's `views` object, the referenced metadata will be used and the `activeView` will be set to either a preserved view instance, or a new @@ -322,15 +332,17 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { @example var app = new Y.App({ views: { - users: { + usersView: { // Imagine that `Y.UsersView` has been defined. type: Y.UsersView } - } + }, + + users: new Y.ModelList() }); app.route('/users/', function () { - this.showView('users'); + this.showView('usersView', {users: this.get('users')}); }); app.render(); @@ -338,26 +350,44 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { @method showView @param {String|View} view The name of a view defined in the `views` object, - or a view instance. + or a view instance which should become this app's `activeView`. @param {Object} [config] Optional configuration to use when creating a new - view instance. + view instance. This config object can also be used to update an existing + or preserved view's attributes when `options.update` is `true`. @param {Object} [options] Optional object containing any of the following properties: @param {Function} [options.callback] Optional callback function to call after new `activeView` is ready to use, the function will be passed: @param {View} options.callback.view A reference to the new `activeView`. - @param {Boolean} [options.prepend] Whether the new view should be + @param {Boolean} [options.prepend=false] Whether the `view` should be prepended instead of appended to the `viewContainer`. + @param {Boolean} [options.render] Whether the `view` should be rendered. + **Note:** If no value is specified, a view instance will only be + rendered if it's newly created by this method. + @param {Boolean} [options.update=false] Whether an existing view should + have its attributes updated by passing the `config` object to its + `setAttrs()` method. **Note:** This option does not have an effect if + the `view` instance is created as a result of calling this method. @param {Function} [callback] Optional callback Function to call after the new `activeView` is ready to use. **Note:** this will override - `options.callback`. The function will be passed the following: + `options.callback` and it can be specified as either the third or fourth + argument. The function will be passed the following: @param {View} callback.view A reference to the new `activeView`. @chainable @since 3.5.0 **/ showView: function (view, config, options, callback) { - var viewInfo; + var viewInfo, created; + + options || (options = {}); + + // Support the callback function being either the third or fourth arg. + if (callback) { + options.callback = callback; + } else if (Lang.isFunction(options)) { + options = {callback: options}; + } if (Lang.isString(view)) { viewInfo = this.getViewInfo(view); @@ -368,32 +398,38 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { // `preserve` when detaching? if (viewInfo && viewInfo.preserve && viewInfo.instance) { view = viewInfo.instance; + // Make sure there's a mapping back to the view metadata. this._viewInfoMap[Y.stamp(view, true)] = viewInfo; } else { - view = this.createView(view, config); - view.render(); + // TODO: Add the app as a bubble target during construction, but + // make sure to check that it isn't already in `bubbleTargets`! + // This will allow the app to be notified for about _all_ of the + // view's events. **Note:** This should _only_ happen if the + // view is created _after_ `activeViewChange`. + + view = this.createView(view, config); + created = true; } } - // TODO: Add `options.update` to update to view with the `config`, if - // needed. This could also call `setAttrs()` when the specified `view` - // already a View instance. Is this be too much overloading of the API? - - // TODO: Add `options.render` to provide a way to control whether a view - // is rendered or not; by default, `render()` will only be called if - // this method created the View. - - options || (options = {}); - - if (callback) { - options.callback = callback; - } else if (Lang.isFunction(options)) { - options = {callback: options}; + // Update the specified or preserved `view` when signaled to do so. + // There's no need to updated a view if it was _just_ created. + if (options.update && !created) { + view.setAttrs(config); } - // TODO: Should the `callback` _always_ be called, even when the - // `activeView` does not change? + // TODO: Hold off on rendering the view until after it has been + // "attached", and move the call to render into `_attachView()`. + + // When a value is specified for `options.render`, prefer it because it + // represents the developer's intent. When no value is specified, the + // `view` will only be rendered if it was just created. + if ('render' in options) { + options.render && view.render(); + } else if (created) { + view.render(); + } return this._set('activeView', view, {options: options}); }, @@ -407,8 +443,8 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { @method _attachView @param {View} view View to attach. - @param {Boolean} prepend Whether the view should be prepended instead of - appended to the `viewContainer`. + @param {Boolean} prepend=false Whether the view should be prepended instead + of appended to the `viewContainer`. @protected @since 3.5.0 **/ @@ -426,6 +462,9 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { // TODO: Attach events here for persevered Views? // See related TODO in `_detachView`. + // TODO: Actually render the view here so that it gets "attached" before + // it gets rendered? + // Insert view into the DOM. viewContainer[prepend ? 'prepend' : 'append'](view.get('container')); }, @@ -652,7 +691,7 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { // Force navigation to be enhanced and handled by the app when // `serverRouting` is falsy because the server might not be able to // properly handle the request. - Lang.isValue(options.force) || (options.force = true); + 'force' in options || (options.force = true); } return PjaxBase.prototype._navigate.call(this, url, options); @@ -731,8 +770,15 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { after new `activeView` is ready to use, the function will be passed: @param {View} options.callback.view A reference to the new `activeView`. - @param {Boolean} [options.prepend] Whether the new view should be + @param {Boolean} [options.prepend=false] Whether the `view` should be prepended instead of appended to the `viewContainer`. + @param {Boolean} [options.render] Whether the `view` should be rendered. + **Note:** If no value is specified, a view instance will only be + rendered if it's newly created by this method. + @param {Boolean} [options.update=false] Whether an existing view should + have its attributes updated by passing the `config` object to its + `setAttrs()` method. **Note:** This option does not have an effect if + the `view` instance is created as a result of calling this method. @protected @since 3.5.0 **/ @@ -827,7 +873,7 @@ App = Y.Base.create('app', Y.Base, [View, Router, PjaxBase], { @type View @default null @readOnly - @see AppBase.showView() + @see App.Base.showView() @since 3.5.0 **/ activeView: { @@ -1093,4 +1139,4 @@ instance will be **auto-mixed** on to the `Y.App` class. Consider this example: Y.App = Y.mix(Y.Base.create('app', Y.App.Base, []), Y.App, true); -}, '3.5.0' ,{requires:['classnamemanager', 'pjax-base', 'router', 'view']}); +}, '3.5.1' ,{requires:['classnamemanager', 'pjax-base', 'router', 'view']}); diff --git a/lib/yui/3.5.0/build/app-transitions-css/app-transitions-css-min.css b/lib/yui/3.5.1/build/app-transitions-css/app-transitions-css-min.css similarity index 95% rename from lib/yui/3.5.0/build/app-transitions-css/app-transitions-css-min.css rename to lib/yui/3.5.1/build/app-transitions-css/app-transitions-css-min.css index d6b06d65203..efdbd2f4be1 100644 --- a/lib/yui/3.5.0/build/app-transitions-css/app-transitions-css-min.css +++ b/lib/yui/3.5.1/build/app-transitions-css/app-transitions-css-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/app-transitions-css/app-transitions-css.css b/lib/yui/3.5.1/build/app-transitions-css/app-transitions-css.css similarity index 96% rename from lib/yui/3.5.0/build/app-transitions-css/app-transitions-css.css rename to lib/yui/3.5.1/build/app-transitions-css/app-transitions-css.css index e959d49d2e7..e080c65bc43 100644 --- a/lib/yui/3.5.0/build/app-transitions-css/app-transitions-css.css +++ b/lib/yui/3.5.1/build/app-transitions-css/app-transitions-css.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/app-transitions-native/app-transitions-native-debug.js b/lib/yui/3.5.1/build/app-transitions-native/app-transitions-native-debug.js similarity index 93% rename from lib/yui/3.5.0/build/app-transitions-native/app-transitions-native-debug.js rename to lib/yui/3.5.1/build/app-transitions-native/app-transitions-native-debug.js index 6eb544884ad..7ee82c60b40 100644 --- a/lib/yui/3.5.0/build/app-transitions-native/app-transitions-native-debug.js +++ b/lib/yui/3.5.1/build/app-transitions-native/app-transitions-native-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -179,11 +179,18 @@ AppTransitionsNative.prototype = { after new `activeView` is ready to use, the function will be passed: @param {View} options.callback.view A reference to the new `activeView`. - @param {Boolean} [options.prepend] Whether the new view should be + @param {Boolean} [options.prepend=false] Whether the `view` should be prepended instead of appended to the `viewContainer`. + @param {Boolean} [options.render] Whether the `view` should be rendered. + **Note:** If no value is specified, a view instance will only be + rendered if it's newly created by this method. @param {Boolean|String} [options.transition] Optional transition override. A transition can be specified which will override the default, or `false` for no transition. + @param {Boolean} [options.update=false] Whether an existing view should + have its attributes updated by passing the `config` object to its + `setAttrs()` method. **Note:** This option does not have an effect if + the `view` instance is created as a result of calling this method. @protected @since 3.5.0 **/ @@ -348,4 +355,4 @@ Y.App.TransitionsNative = AppTransitionsNative; Y.Base.mix(Y.App, [AppTransitionsNative]); -}, '3.5.0' ,{requires:['app-transitions', 'app-transitions-css', 'parallel', 'transition']}); +}, '3.5.1' ,{requires:['app-transitions', 'app-transitions-css', 'parallel', 'transition']}); diff --git a/lib/yui/3.5.0/build/app-transitions-native/app-transitions-native-min.js b/lib/yui/3.5.1/build/app-transitions-native/app-transitions-native-min.js similarity index 96% rename from lib/yui/3.5.0/build/app-transitions-native/app-transitions-native-min.js rename to lib/yui/3.5.1/build/app-transitions-native/app-transitions-native-min.js index 02ce06723ff..e36154fc893 100644 --- a/lib/yui/3.5.0/build/app-transitions-native/app-transitions-native-min.js +++ b/lib/yui/3.5.1/build/app-transitions-native/app-transitions-native-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("app-transitions-native",function(c){var a=c.App.Transitions;function b(){}b.prototype={initializer:function(){this._transitioning=false;this._viewTransitionQueue=[];c.Do.before(this._queueActiveView,this,"_uiSetActiveView");},_dequeueActiveView:function(){var d=this._viewTransitionQueue,f=d.shift(),e;if(f){if(d.length){e=c.merge(f[2],{transition:false});f.splice(2,1,e);}this._uiTransitionActiveView.apply(this,f);}},_getFx:function(h,d,g){var e=a.FX,f=this.get("transitions");if(g===false||!f){return null;}if(g){return e[g];}if(this._isChildView(h,d)){return e[f.toChild];}if(this._isParentView(h,d)){return e[f.toParent];}return e[f.navigate];},_queueActiveView:function(){var d=c.Array(arguments,0,true);this._viewTransitionQueue.push(d);if(!this._transitioning){this._dequeueActiveView();}return new c.Do.Prevent();},_uiTransitionActiveView:function(i,l,p){p||(p={});var n=p.callback,d,m,e,j,o,h,g,k;if(i===l){n&&n.call(this,i);this._transitioning=false;return this._dequeueActiveView();}h=this._getFx(i,l,p.transition);e=this._isChildView(i,l);j=!e&&this._isParentView(i,l);o=!!p.prepend||j;if(!h){this._attachView(i,o);this._detachView(l);n&&n.call(this,i);this._transitioning=false;return this._dequeueActiveView();}this._transitioning=true;d=this.get("container");m=a.CLASS_NAMES.transitioning;d.addClass(m);this._attachView(i,o);function f(){this._detachView(l);d.removeClass(m);n&&n.call(this,i);this._transitioning=false;return this._dequeueActiveView();}k=new c.Parallel({context:this});g={crossView:!!l&&!!i,prepended:o};if(i&&h.viewIn){i.get("container").transition(h.viewIn,g,k.add());}if(l&&h.viewOut){l.get("container").transition(h.viewOut,g,k.add());}k.done(f);}};c.mix(c.Transition.fx,{"app:fadeIn":{opacity:1,duration:0.3,on:{start:function(f){var e={opacity:0},d=f.config;if(d.crossView&&!d.prepended){e.transform="translateX(-100%)";}this.setStyles(e);},end:function(){this.setStyle("transform","translateX(0)");}}},"app:fadeOut":{opacity:0,duration:0.3,on:{start:function(f){var e={opacity:1},d=f.config;if(d.crossView&&d.prepended){e.transform="translateX(-100%)";}this.setStyles(e);},end:function(){this.setStyle("transform","translateX(0)");}}},"app:slideLeft":{duration:0.3,transform:"translateX(-100%)",on:{start:function(){this.setStyles({opacity:1,transform:"translateX(0%)"});},end:function(){this.setStyle("transform","translateX(0)");}}},"app:slideRight":{duration:0.3,transform:"translateX(0)",on:{start:function(){this.setStyles({opacity:1,transform:"translateX(-100%)"});},end:function(){this.setStyle("transform","translateX(0)");}}}});c.App.TransitionsNative=b;c.Base.mix(c.App,[b]);},"3.5.0",{requires:["app-transitions","app-transitions-css","parallel","transition"]}); \ No newline at end of file +YUI.add("app-transitions-native",function(c){var a=c.App.Transitions;function b(){}b.prototype={initializer:function(){this._transitioning=false;this._viewTransitionQueue=[];c.Do.before(this._queueActiveView,this,"_uiSetActiveView");},_dequeueActiveView:function(){var d=this._viewTransitionQueue,f=d.shift(),e;if(f){if(d.length){e=c.merge(f[2],{transition:false});f.splice(2,1,e);}this._uiTransitionActiveView.apply(this,f);}},_getFx:function(h,d,g){var e=a.FX,f=this.get("transitions");if(g===false||!f){return null;}if(g){return e[g];}if(this._isChildView(h,d)){return e[f.toChild];}if(this._isParentView(h,d)){return e[f.toParent];}return e[f.navigate];},_queueActiveView:function(){var d=c.Array(arguments,0,true);this._viewTransitionQueue.push(d);if(!this._transitioning){this._dequeueActiveView();}return new c.Do.Prevent();},_uiTransitionActiveView:function(i,l,p){p||(p={});var n=p.callback,d,m,e,j,o,h,g,k;if(i===l){n&&n.call(this,i);this._transitioning=false;return this._dequeueActiveView();}h=this._getFx(i,l,p.transition);e=this._isChildView(i,l);j=!e&&this._isParentView(i,l);o=!!p.prepend||j;if(!h){this._attachView(i,o);this._detachView(l);n&&n.call(this,i);this._transitioning=false;return this._dequeueActiveView();}this._transitioning=true;d=this.get("container");m=a.CLASS_NAMES.transitioning;d.addClass(m);this._attachView(i,o);function f(){this._detachView(l);d.removeClass(m);n&&n.call(this,i);this._transitioning=false;return this._dequeueActiveView();}k=new c.Parallel({context:this});g={crossView:!!l&&!!i,prepended:o};if(i&&h.viewIn){i.get("container").transition(h.viewIn,g,k.add());}if(l&&h.viewOut){l.get("container").transition(h.viewOut,g,k.add());}k.done(f);}};c.mix(c.Transition.fx,{"app:fadeIn":{opacity:1,duration:0.3,on:{start:function(f){var e={opacity:0},d=f.config;if(d.crossView&&!d.prepended){e.transform="translateX(-100%)";}this.setStyles(e);},end:function(){this.setStyle("transform","translateX(0)");}}},"app:fadeOut":{opacity:0,duration:0.3,on:{start:function(f){var e={opacity:1},d=f.config;if(d.crossView&&d.prepended){e.transform="translateX(-100%)";}this.setStyles(e);},end:function(){this.setStyle("transform","translateX(0)");}}},"app:slideLeft":{duration:0.3,transform:"translateX(-100%)",on:{start:function(){this.setStyles({opacity:1,transform:"translateX(0%)"});},end:function(){this.setStyle("transform","translateX(0)");}}},"app:slideRight":{duration:0.3,transform:"translateX(0)",on:{start:function(){this.setStyles({opacity:1,transform:"translateX(-100%)"});},end:function(){this.setStyle("transform","translateX(0)");}}}});c.App.TransitionsNative=b;c.Base.mix(c.App,[b]);},"3.5.1",{requires:["app-transitions","app-transitions-css","parallel","transition"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/app-transitions-native/app-transitions-native.js b/lib/yui/3.5.1/build/app-transitions-native/app-transitions-native.js similarity index 93% rename from lib/yui/3.5.0/build/app-transitions-native/app-transitions-native.js rename to lib/yui/3.5.1/build/app-transitions-native/app-transitions-native.js index 6eb544884ad..7ee82c60b40 100644 --- a/lib/yui/3.5.0/build/app-transitions-native/app-transitions-native.js +++ b/lib/yui/3.5.1/build/app-transitions-native/app-transitions-native.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -179,11 +179,18 @@ AppTransitionsNative.prototype = { after new `activeView` is ready to use, the function will be passed: @param {View} options.callback.view A reference to the new `activeView`. - @param {Boolean} [options.prepend] Whether the new view should be + @param {Boolean} [options.prepend=false] Whether the `view` should be prepended instead of appended to the `viewContainer`. + @param {Boolean} [options.render] Whether the `view` should be rendered. + **Note:** If no value is specified, a view instance will only be + rendered if it's newly created by this method. @param {Boolean|String} [options.transition] Optional transition override. A transition can be specified which will override the default, or `false` for no transition. + @param {Boolean} [options.update=false] Whether an existing view should + have its attributes updated by passing the `config` object to its + `setAttrs()` method. **Note:** This option does not have an effect if + the `view` instance is created as a result of calling this method. @protected @since 3.5.0 **/ @@ -348,4 +355,4 @@ Y.App.TransitionsNative = AppTransitionsNative; Y.Base.mix(Y.App, [AppTransitionsNative]); -}, '3.5.0' ,{requires:['app-transitions', 'app-transitions-css', 'parallel', 'transition']}); +}, '3.5.1' ,{requires:['app-transitions', 'app-transitions-css', 'parallel', 'transition']}); diff --git a/lib/yui/3.5.0/build/app-transitions/app-transitions-debug.js b/lib/yui/3.5.1/build/app-transitions/app-transitions-debug.js similarity index 83% rename from lib/yui/3.5.0/build/app-transitions/app-transitions-debug.js rename to lib/yui/3.5.1/build/app-transitions/app-transitions-debug.js index f6f7249da3d..501bfa77915 100644 --- a/lib/yui/3.5.0/build/app-transitions/app-transitions-debug.js +++ b/lib/yui/3.5.1/build/app-transitions/app-transitions-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -154,6 +154,10 @@ AppTransitions.prototype = { Sets which view is active/visible for the application. This will set the app's `activeView` attribute to the specified `view`. + The `view` will be "attached" to this app, meaning it will be both rendered + into this app's `viewContainer` node and all of its events will bubble to + the app. The previous `activeView` will be "detached" from this app. + When a string-name is provided for a view which has been registered on this app's `views` object, the referenced metadata will be used and the `activeView` will be set to either a preserved view instance, or a new @@ -166,18 +170,19 @@ AppTransitions.prototype = { @example var app = new Y.App({ - transitions: true, - views: { - users: { + usersView: { // Imagine that `Y.UsersView` has been defined. type: Y.UsersView } - } + }, + + transitions: true, + users : new Y.ModelList() }); app.route('/users/', function () { - this.showView('users'); + this.showView('usersView', {users: this.get('users')}); }); app.render(); @@ -186,26 +191,35 @@ AppTransitions.prototype = { @method showView @param {String|View} view The name of a view defined in the `views` object, - or a view instance. + or a view instance which should become this app's `activeView`. @param {Object} [config] Optional configuration to use when creating a new - view instance. + view instance. This config object can also be used to update an existing + or preserved view's attributes when `options.update` is `true`. @param {Object} [options] Optional object containing any of the following properties: @param {Function} [options.callback] Optional callback function to call after new `activeView` is ready to use, the function will be passed: @param {View} options.callback.view A reference to the new `activeView`. - @param {Boolean} [options.prepend] Whether the new view should be + @param {Boolean} [options.prepend=false] Whether the `view` should be prepended instead of appended to the `viewContainer`. + @param {Boolean} [options.render] Whether the `view` should be rendered. + **Note:** If no value is specified, a view instance will only be + rendered if it's newly created by this method. @param {Boolean|String} [options.transition] Optional transition override. A transition can be specified which will override the default, or `false` for no transition. + @param {Boolean} [options.update=false] Whether an existing view should + have its attributes updated by passing the `config` object to its + `setAttrs()` method. **Note:** This option does not have an effect if + the `view` instance is created as a result of calling this method. @param {Function} [callback] Optional callback Function to call after the new `activeView` is ready to use. **Note:** this will override - `options.callback`. The function will be passed the following: + `options.callback` and it can be specified as either the third or fourth + argument. The function will be passed the following: @param {View} callback.view A reference to the new `activeView`. @chainable - @see App.Base.showView() + @since 3.5.0 **/ // Does not override `showView()` but does use `options.transitions`. @@ -221,6 +235,7 @@ AppTransitions.prototype = { @param {Boolean|Object} transitions The new `transitions` attribute value. @return {Mixed} The processed value which represents the new state. @protected + @see App.Base.showView() @since 3.5.0 **/ _setTransitions: function (transitions) { @@ -239,4 +254,4 @@ Y.App.Transitions = AppTransitions; Y.Base.mix(Y.App, [AppTransitions]); -}, '3.5.0' ,{requires:['app-base']}); +}, '3.5.1' ,{requires:['app-base']}); diff --git a/lib/yui/3.5.0/build/app-transitions/app-transitions-min.js b/lib/yui/3.5.1/build/app-transitions/app-transitions-min.js similarity index 89% rename from lib/yui/3.5.0/build/app-transitions/app-transitions-min.js rename to lib/yui/3.5.1/build/app-transitions/app-transitions-min.js index b37a5f03593..6160fa8b6af 100644 --- a/lib/yui/3.5.0/build/app-transitions/app-transitions-min.js +++ b/lib/yui/3.5.1/build/app-transitions/app-transitions-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("app-transitions",function(b){function a(){}a.ATTRS={transitions:{setter:"_setTransitions",value:false}};a.CLASS_NAMES={transitioning:b.ClassNameManager.getClassName("app","transitioning")};a.FX={fade:{viewIn:"app:fadeIn",viewOut:"app:fadeOut"},slideLeft:{viewIn:"app:slideLeft",viewOut:"app:slideLeft"},slideRight:{viewIn:"app:slideRight",viewOut:"app:slideRight"}};a.prototype={transitions:{navigate:"fade",toChild:"slideLeft",toParent:"slideRight"},_setTransitions:function(d){var c=this.transitions;if(d&&d===true){return b.merge(c);}return d;}};b.App.Transitions=a;b.Base.mix(b.App,[a]);},"3.5.0",{requires:["app-base"]}); \ No newline at end of file +YUI.add("app-transitions",function(b){function a(){}a.ATTRS={transitions:{setter:"_setTransitions",value:false}};a.CLASS_NAMES={transitioning:b.ClassNameManager.getClassName("app","transitioning")};a.FX={fade:{viewIn:"app:fadeIn",viewOut:"app:fadeOut"},slideLeft:{viewIn:"app:slideLeft",viewOut:"app:slideLeft"},slideRight:{viewIn:"app:slideRight",viewOut:"app:slideRight"}};a.prototype={transitions:{navigate:"fade",toChild:"slideLeft",toParent:"slideRight"},_setTransitions:function(d){var c=this.transitions;if(d&&d===true){return b.merge(c);}return d;}};b.App.Transitions=a;b.Base.mix(b.App,[a]);},"3.5.1",{requires:["app-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/app-transitions/app-transitions.js b/lib/yui/3.5.1/build/app-transitions/app-transitions.js similarity index 83% rename from lib/yui/3.5.0/build/app-transitions/app-transitions.js rename to lib/yui/3.5.1/build/app-transitions/app-transitions.js index f6f7249da3d..501bfa77915 100644 --- a/lib/yui/3.5.0/build/app-transitions/app-transitions.js +++ b/lib/yui/3.5.1/build/app-transitions/app-transitions.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -154,6 +154,10 @@ AppTransitions.prototype = { Sets which view is active/visible for the application. This will set the app's `activeView` attribute to the specified `view`. + The `view` will be "attached" to this app, meaning it will be both rendered + into this app's `viewContainer` node and all of its events will bubble to + the app. The previous `activeView` will be "detached" from this app. + When a string-name is provided for a view which has been registered on this app's `views` object, the referenced metadata will be used and the `activeView` will be set to either a preserved view instance, or a new @@ -166,18 +170,19 @@ AppTransitions.prototype = { @example var app = new Y.App({ - transitions: true, - views: { - users: { + usersView: { // Imagine that `Y.UsersView` has been defined. type: Y.UsersView } - } + }, + + transitions: true, + users : new Y.ModelList() }); app.route('/users/', function () { - this.showView('users'); + this.showView('usersView', {users: this.get('users')}); }); app.render(); @@ -186,26 +191,35 @@ AppTransitions.prototype = { @method showView @param {String|View} view The name of a view defined in the `views` object, - or a view instance. + or a view instance which should become this app's `activeView`. @param {Object} [config] Optional configuration to use when creating a new - view instance. + view instance. This config object can also be used to update an existing + or preserved view's attributes when `options.update` is `true`. @param {Object} [options] Optional object containing any of the following properties: @param {Function} [options.callback] Optional callback function to call after new `activeView` is ready to use, the function will be passed: @param {View} options.callback.view A reference to the new `activeView`. - @param {Boolean} [options.prepend] Whether the new view should be + @param {Boolean} [options.prepend=false] Whether the `view` should be prepended instead of appended to the `viewContainer`. + @param {Boolean} [options.render] Whether the `view` should be rendered. + **Note:** If no value is specified, a view instance will only be + rendered if it's newly created by this method. @param {Boolean|String} [options.transition] Optional transition override. A transition can be specified which will override the default, or `false` for no transition. + @param {Boolean} [options.update=false] Whether an existing view should + have its attributes updated by passing the `config` object to its + `setAttrs()` method. **Note:** This option does not have an effect if + the `view` instance is created as a result of calling this method. @param {Function} [callback] Optional callback Function to call after the new `activeView` is ready to use. **Note:** this will override - `options.callback`. The function will be passed the following: + `options.callback` and it can be specified as either the third or fourth + argument. The function will be passed the following: @param {View} callback.view A reference to the new `activeView`. @chainable - @see App.Base.showView() + @since 3.5.0 **/ // Does not override `showView()` but does use `options.transitions`. @@ -221,6 +235,7 @@ AppTransitions.prototype = { @param {Boolean|Object} transitions The new `transitions` attribute value. @return {Mixed} The processed value which represents the new state. @protected + @see App.Base.showView() @since 3.5.0 **/ _setTransitions: function (transitions) { @@ -239,4 +254,4 @@ Y.App.Transitions = AppTransitions; Y.Base.mix(Y.App, [AppTransitions]); -}, '3.5.0' ,{requires:['app-base']}); +}, '3.5.1' ,{requires:['app-base']}); diff --git a/lib/yui/3.5.0/build/array-extras/array-extras-debug.js b/lib/yui/3.5.1/build/array-extras/array-extras-debug.js similarity index 99% rename from lib/yui/3.5.0/build/array-extras/array-extras-debug.js rename to lib/yui/3.5.1/build/array-extras/array-extras-debug.js index 8a632e5a7b1..c334cb23a16 100644 --- a/lib/yui/3.5.0/build/array-extras/array-extras-debug.js +++ b/lib/yui/3.5.1/build/array-extras/array-extras-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -364,4 +364,4 @@ A.zip = function(a, a2) { }; -}, '3.5.0' ,{requires:['yui-base']}); +}, '3.5.1' ,{requires:['yui-base']}); diff --git a/lib/yui/3.5.0/build/array-extras/array-extras-min.js b/lib/yui/3.5.1/build/array-extras/array-extras-min.js similarity index 96% rename from lib/yui/3.5.0/build/array-extras/array-extras-min.js rename to lib/yui/3.5.1/build/array-extras/array-extras-min.js index 20bf712c7d0..e576532ee7f 100644 --- a/lib/yui/3.5.0/build/array-extras/array-extras-min.js +++ b/lib/yui/3.5.1/build/array-extras/array-extras-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("array-extras",function(d){var b=d.Array,a=d.Lang,c=Array.prototype;b.lastIndexOf=a._isNative(c.lastIndexOf)?function(e,g,f){return f||f===0?e.lastIndexOf(g,f):e.lastIndexOf(g);}:function(f,j,h){var e=f.length,g=e-1;if(h||h===0){g=Math.min(h<0?e+h:h,e);}if(g>-1&&e>0){for(;g>-1;--g){if(g in f&&f[g]===j){return g;}}}return -1;};b.unique=function(f,l){var k=0,e=f.length,h=[],m,g;for(;k-1;--g){if(m===h[g]){break;}}if(g===-1){h.push(m);}}if(l){if(a.isNumber(h[0])){h.sort(b.numericSort);}else{h.sort();}}return h;};b.filter=a._isNative(c.filter)?function(e,g,h){return e.filter(g,h);}:function(g,l,m){var j=0,e=g.length,h=[],k;for(;j -1&&e>0){for(;g>-1;--g){if(g in f&&f[g]===j){return g;}}}return -1;};b.unique=function(f,l){var k=0,e=f.length,h=[],m,g;for(;k -1;--g){if(m===h[g]){break;}}if(g===-1){h.push(m);}}if(l){if(a.isNumber(h[0])){h.sort(b.numericSort);}else{h.sort();}}return h;};b.filter=a._isNative(c.filter)?function(e,g,h){return e.filter(g,h);}:function(g,l,m){var j=0,e=g.length,h=[],k;for(;j =0;--c){if(b.call(this,e,this.item(c))){this._items.splice(c,1);if(!d){break;}}}return this;},itemsAreEqual:function(d,c){return d===c;}});},"3.5.0",{requires:["arraylist"]}); \ No newline at end of file +YUI.add("arraylist-add",function(a){a.mix(a.ArrayList.prototype,{add:function(d,c){var b=this._items;if(a.Lang.isNumber(c)){b.splice(c,0,d);}else{b.push(d);}return this;},remove:function(e,d,b){b=b||this.itemsAreEqual;for(var c=this._items.length-1;c>=0;--c){if(b.call(this,e,this.item(c))){this._items.splice(c,1);if(!d){break;}}}return this;},itemsAreEqual:function(d,c){return d===c;}});},"3.5.1",{requires:["arraylist"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/arraylist-add/arraylist-add.js b/lib/yui/3.5.1/build/arraylist-add/arraylist-add.js similarity index 97% rename from lib/yui/3.5.0/build/arraylist-add/arraylist-add.js rename to lib/yui/3.5.1/build/arraylist-add/arraylist-add.js index ca73d145da4..45b2ee63f8e 100644 --- a/lib/yui/3.5.0/build/arraylist-add/arraylist-add.js +++ b/lib/yui/3.5.1/build/arraylist-add/arraylist-add.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -90,4 +90,4 @@ Y.mix(Y.ArrayList.prototype, { }); -}, '3.5.0' ,{requires:['arraylist']}); +}, '3.5.1' ,{requires:['arraylist']}); diff --git a/lib/yui/3.5.0/build/arraylist-filter/arraylist-filter-debug.js b/lib/yui/3.5.1/build/arraylist-filter/arraylist-filter-debug.js similarity index 95% rename from lib/yui/3.5.0/build/arraylist-filter/arraylist-filter-debug.js rename to lib/yui/3.5.1/build/arraylist-filter/arraylist-filter-debug.js index 97edf9885c2..9d54efb87a6 100644 --- a/lib/yui/3.5.0/build/arraylist-filter/arraylist-filter-debug.js +++ b/lib/yui/3.5.1/build/arraylist-filter/arraylist-filter-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -48,4 +48,4 @@ Y.mix(Y.ArrayList.prototype, { }); -}, '3.5.0' ,{requires:['arraylist']}); +}, '3.5.1' ,{requires:['arraylist']}); diff --git a/lib/yui/3.5.0/build/arraylist-filter/arraylist-filter-min.js b/lib/yui/3.5.1/build/arraylist-filter/arraylist-filter-min.js similarity index 79% rename from lib/yui/3.5.0/build/arraylist-filter/arraylist-filter-min.js rename to lib/yui/3.5.1/build/arraylist-filter/arraylist-filter-min.js index 289b84b0059..58ee852a706 100644 --- a/lib/yui/3.5.0/build/arraylist-filter/arraylist-filter-min.js +++ b/lib/yui/3.5.1/build/arraylist-filter/arraylist-filter-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("arraylist-filter",function(a){a.mix(a.ArrayList.prototype,{filter:function(c){var b=[];a.Array.each(this._items,function(e,d){e=this.item(d);if(c(e)){b.push(e);}},this);return new this.constructor(b);}});},"3.5.0",{requires:["arraylist"]}); \ No newline at end of file +YUI.add("arraylist-filter",function(a){a.mix(a.ArrayList.prototype,{filter:function(c){var b=[];a.Array.each(this._items,function(e,d){e=this.item(d);if(c(e)){b.push(e);}},this);return new this.constructor(b);}});},"3.5.1",{requires:["arraylist"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/arraylist-filter/arraylist-filter.js b/lib/yui/3.5.1/build/arraylist-filter/arraylist-filter.js similarity index 95% rename from lib/yui/3.5.0/build/arraylist-filter/arraylist-filter.js rename to lib/yui/3.5.1/build/arraylist-filter/arraylist-filter.js index 97edf9885c2..9d54efb87a6 100644 --- a/lib/yui/3.5.0/build/arraylist-filter/arraylist-filter.js +++ b/lib/yui/3.5.1/build/arraylist-filter/arraylist-filter.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -48,4 +48,4 @@ Y.mix(Y.ArrayList.prototype, { }); -}, '3.5.0' ,{requires:['arraylist']}); +}, '3.5.1' ,{requires:['arraylist']}); diff --git a/lib/yui/3.5.0/build/arraylist/arraylist-debug.js b/lib/yui/3.5.1/build/arraylist/arraylist-debug.js similarity index 99% rename from lib/yui/3.5.0/build/arraylist/arraylist-debug.js rename to lib/yui/3.5.1/build/arraylist/arraylist-debug.js index c8248a164cc..e80c8a29b38 100644 --- a/lib/yui/3.5.0/build/arraylist/arraylist-debug.js +++ b/lib/yui/3.5.1/build/arraylist/arraylist-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -217,4 +217,4 @@ Y.mix( ArrayList, { Y.ArrayList = ArrayList; -}, '3.5.0' ,{requires:['yui-base']}); +}, '3.5.1' ,{requires:['yui-base']}); diff --git a/lib/yui/3.5.0/build/arraylist/arraylist-min.js b/lib/yui/3.5.1/build/arraylist/arraylist-min.js similarity index 94% rename from lib/yui/3.5.0/build/arraylist/arraylist-min.js rename to lib/yui/3.5.1/build/arraylist/arraylist-min.js index e903a29a8d1..8cbfdab69ab 100644 --- a/lib/yui/3.5.0/build/arraylist/arraylist-min.js +++ b/lib/yui/3.5.1/build/arraylist/arraylist-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("arraylist",function(e){var d=e.Array,c=d.each,a;function b(f){if(f!==undefined){this._items=e.Lang.isArray(f)?f:d(f);}else{this._items=this._items||[];}}a={item:function(f){return this._items[f];},each:function(g,f){c(this._items,function(j,h){j=this.item(h);g.call(f||j,j,h,this);},this);return this;},some:function(g,f){return d.some(this._items,function(j,h){j=this.item(h);return g.call(f||j,j,h,this);},this);},indexOf:function(f){return d.indexOf(this._items,f);},size:function(){return this._items.length;},isEmpty:function(){return !this.size();},toJSON:function(){return this._items;}};a._item=a.item;e.mix(b.prototype,a);e.mix(b,{addMethod:function(f,g){g=d(g);c(g,function(h){f[h]=function(){var j=d(arguments,0,true),i=[];c(this._items,function(m,l){m=this._item(l);var k=m[h].apply(m,j);if(k!==undefined&&k!==m){i[l]=k;}},this);return i.length?i:this;};});}});e.ArrayList=b;},"3.5.0",{requires:["yui-base"]}); \ No newline at end of file +YUI.add("arraylist",function(e){var d=e.Array,c=d.each,a;function b(f){if(f!==undefined){this._items=e.Lang.isArray(f)?f:d(f);}else{this._items=this._items||[];}}a={item:function(f){return this._items[f];},each:function(g,f){c(this._items,function(j,h){j=this.item(h);g.call(f||j,j,h,this);},this);return this;},some:function(g,f){return d.some(this._items,function(j,h){j=this.item(h);return g.call(f||j,j,h,this);},this);},indexOf:function(f){return d.indexOf(this._items,f);},size:function(){return this._items.length;},isEmpty:function(){return !this.size();},toJSON:function(){return this._items;}};a._item=a.item;e.mix(b.prototype,a);e.mix(b,{addMethod:function(f,g){g=d(g);c(g,function(h){f[h]=function(){var j=d(arguments,0,true),i=[];c(this._items,function(m,l){m=this._item(l);var k=m[h].apply(m,j);if(k!==undefined&&k!==m){i[l]=k;}},this);return i.length?i:this;};});}});e.ArrayList=b;},"3.5.1",{requires:["yui-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/arraylist/arraylist.js b/lib/yui/3.5.1/build/arraylist/arraylist.js similarity index 99% rename from lib/yui/3.5.0/build/arraylist/arraylist.js rename to lib/yui/3.5.1/build/arraylist/arraylist.js index c8248a164cc..e80c8a29b38 100644 --- a/lib/yui/3.5.0/build/arraylist/arraylist.js +++ b/lib/yui/3.5.1/build/arraylist/arraylist.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -217,4 +217,4 @@ Y.mix( ArrayList, { Y.ArrayList = ArrayList; -}, '3.5.0' ,{requires:['yui-base']}); +}, '3.5.1' ,{requires:['yui-base']}); diff --git a/lib/yui/3.5.0/build/arraysort/arraysort-debug.js b/lib/yui/3.5.1/build/arraysort/arraysort-debug.js similarity index 95% rename from lib/yui/3.5.0/build/arraysort/arraysort-debug.js rename to lib/yui/3.5.1/build/arraysort/arraysort-debug.js index 2d5e5baf662..74f9c94f433 100644 --- a/lib/yui/3.5.0/build/arraysort/arraysort-debug.js +++ b/lib/yui/3.5.1/build/arraysort/arraysort-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -68,4 +68,4 @@ Y.ArraySort = { }; -}, '3.5.0' ,{requires:['yui-base']}); +}, '3.5.1' ,{requires:['yui-base']}); diff --git a/lib/yui/3.5.0/build/arraysort/arraysort-min.js b/lib/yui/3.5.1/build/arraysort/arraysort-min.js similarity index 81% rename from lib/yui/3.5.0/build/arraysort/arraysort-min.js rename to lib/yui/3.5.1/build/arraysort/arraysort-min.js index d70b0c629c7..973a94ec5db 100644 --- a/lib/yui/3.5.0/build/arraysort/arraysort-min.js +++ b/lib/yui/3.5.1/build/arraysort/arraysort-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("arraysort",function(c){var b=c.Lang,a=b.isValue,d=b.isString;c.ArraySort={compare:function(f,e,g){if(!a(f)){if(!a(e)){return 0;}else{return 1;}}else{if(!a(e)){return -1;}}if(d(f)){f=f.toLowerCase();}if(d(e)){e=e.toLowerCase();}if(f e){return(g)?-1:1;}else{return 0;}}}};},"3.5.0",{requires:["yui-base"]}); \ No newline at end of file +YUI.add("arraysort",function(c){var b=c.Lang,a=b.isValue,d=b.isString;c.ArraySort={compare:function(f,e,g){if(!a(f)){if(!a(e)){return 0;}else{return 1;}}else{if(!a(e)){return -1;}}if(d(f)){f=f.toLowerCase();}if(d(e)){e=e.toLowerCase();}if(f e){return(g)?-1:1;}else{return 0;}}}};},"3.5.1",{requires:["yui-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/arraysort/arraysort.js b/lib/yui/3.5.1/build/arraysort/arraysort.js similarity index 95% rename from lib/yui/3.5.0/build/arraysort/arraysort.js rename to lib/yui/3.5.1/build/arraysort/arraysort.js index 2d5e5baf662..74f9c94f433 100644 --- a/lib/yui/3.5.0/build/arraysort/arraysort.js +++ b/lib/yui/3.5.1/build/arraysort/arraysort.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -68,4 +68,4 @@ Y.ArraySort = { }; -}, '3.5.0' ,{requires:['yui-base']}); +}, '3.5.1' ,{requires:['yui-base']}); diff --git a/lib/yui/3.5.0/build/assets/skins/sam/arrows.png b/lib/yui/3.5.1/build/assets/skins/sam/arrows.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/arrows.png rename to lib/yui/3.5.1/build/assets/skins/sam/arrows.png diff --git a/lib/yui/3.5.0/build/assets/skins/sam/autocomplete-list.css b/lib/yui/3.5.1/build/assets/skins/sam/autocomplete-list.css similarity index 97% rename from lib/yui/3.5.0/build/assets/skins/sam/autocomplete-list.css rename to lib/yui/3.5.1/build/assets/skins/sam/autocomplete-list.css index 63d2245c766..0efff02e532 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/autocomplete-list.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/autocomplete-list.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/bg.png b/lib/yui/3.5.1/build/assets/skins/sam/bg.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/bg.png rename to lib/yui/3.5.1/build/assets/skins/sam/bg.png diff --git a/lib/yui/3.5.0/build/calendar-base/assets/skins/sam/calendar-base.css b/lib/yui/3.5.1/build/assets/skins/sam/calendar-base.css similarity index 98% rename from lib/yui/3.5.0/build/calendar-base/assets/skins/sam/calendar-base.css rename to lib/yui/3.5.1/build/assets/skins/sam/calendar-base.css index 1fc92bce77f..9132295761b 100644 --- a/lib/yui/3.5.0/build/calendar-base/assets/skins/sam/calendar-base.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/calendar-base.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar/assets/skins/sam/calendar.css b/lib/yui/3.5.1/build/assets/skins/sam/calendar.css similarity index 96% rename from lib/yui/3.5.0/build/calendar/assets/skins/sam/calendar.css rename to lib/yui/3.5.1/build/assets/skins/sam/calendar.css index 31e1077b4cc..154e87e0dc7 100644 --- a/lib/yui/3.5.0/build/calendar/assets/skins/sam/calendar.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/calendar.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/calendarnavigator.css b/lib/yui/3.5.1/build/assets/skins/sam/calendarnavigator.css similarity index 99% rename from lib/yui/3.5.0/build/assets/skins/sam/calendarnavigator.css rename to lib/yui/3.5.1/build/assets/skins/sam/calendarnavigator.css index a82951897d3..444295962df 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/calendarnavigator.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/calendarnavigator.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/console-filters.css b/lib/yui/3.5.1/build/assets/skins/sam/console-filters.css similarity index 97% rename from lib/yui/3.5.0/build/assets/skins/sam/console-filters.css rename to lib/yui/3.5.1/build/assets/skins/sam/console-filters.css index f2ca207bb90..afa2599410b 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/console-filters.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/console-filters.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/console/assets/skins/sam/console.css b/lib/yui/3.5.1/build/assets/skins/sam/console.css similarity index 99% rename from lib/yui/3.5.0/build/console/assets/skins/sam/console.css rename to lib/yui/3.5.1/build/assets/skins/sam/console.css index 2278a5feb09..fe3db79a451 100644 --- a/lib/yui/3.5.0/build/console/assets/skins/sam/console.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/console.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/datatable-base-deprecated.css b/lib/yui/3.5.1/build/assets/skins/sam/datatable-base-deprecated.css similarity index 99% rename from lib/yui/3.5.0/build/assets/skins/sam/datatable-base-deprecated.css rename to lib/yui/3.5.1/build/assets/skins/sam/datatable-base-deprecated.css index 7c3643c4f36..50a78e91981 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/datatable-base-deprecated.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/datatable-base-deprecated.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/datatable-base.css b/lib/yui/3.5.1/build/assets/skins/sam/datatable-base.css similarity index 98% rename from lib/yui/3.5.0/build/assets/skins/sam/datatable-base.css rename to lib/yui/3.5.1/build/assets/skins/sam/datatable-base.css index 4f7638279a4..baefd0ede5a 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/datatable-base.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/datatable-base.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/datatable-message.css b/lib/yui/3.5.1/build/assets/skins/sam/datatable-message.css similarity index 94% rename from lib/yui/3.5.0/build/assets/skins/sam/datatable-message.css rename to lib/yui/3.5.1/build/assets/skins/sam/datatable-message.css index 792fb411dbf..7185a97a7e0 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/datatable-message.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/datatable-message.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/datatable-scroll.css b/lib/yui/3.5.1/build/assets/skins/sam/datatable-scroll.css similarity index 98% rename from lib/yui/3.5.0/build/assets/skins/sam/datatable-scroll.css rename to lib/yui/3.5.1/build/assets/skins/sam/datatable-scroll.css index e8ec93d3023..09e9f603536 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/datatable-scroll.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/datatable-scroll.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/datatable-sort.css b/lib/yui/3.5.1/build/assets/skins/sam/datatable-sort.css similarity index 98% rename from lib/yui/3.5.0/build/assets/skins/sam/datatable-sort.css rename to lib/yui/3.5.1/build/assets/skins/sam/datatable-sort.css index 5dc19636920..742830957b7 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/datatable-sort.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/datatable-sort.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/dial.css b/lib/yui/3.5.1/build/assets/skins/sam/dial.css similarity index 99% rename from lib/yui/3.5.0/build/assets/skins/sam/dial.css rename to lib/yui/3.5.1/build/assets/skins/sam/dial.css index e1f1349610b..555ebe92a3a 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/dial.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/dial.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/horizontal-menu-submenu-indicator.png b/lib/yui/3.5.1/build/assets/skins/sam/horizontal-menu-submenu-indicator.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/horizontal-menu-submenu-indicator.png rename to lib/yui/3.5.1/build/assets/skins/sam/horizontal-menu-submenu-indicator.png diff --git a/lib/yui/3.5.0/build/assets/skins/sam/horizontal-menu-submenu-toggle.png b/lib/yui/3.5.1/build/assets/skins/sam/horizontal-menu-submenu-toggle.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/horizontal-menu-submenu-toggle.png rename to lib/yui/3.5.1/build/assets/skins/sam/horizontal-menu-submenu-toggle.png diff --git a/lib/yui/3.5.0/build/node-flick/assets/skins/sam/node-flick.css b/lib/yui/3.5.1/build/assets/skins/sam/node-flick.css similarity index 91% rename from lib/yui/3.5.0/build/node-flick/assets/skins/sam/node-flick.css rename to lib/yui/3.5.1/build/assets/skins/sam/node-flick.css index 179c92cb09f..eef44e8f848 100644 --- a/lib/yui/3.5.0/build/node-flick/assets/skins/sam/node-flick.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/node-flick.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/node-menunav.css b/lib/yui/3.5.1/build/assets/skins/sam/node-menunav.css similarity index 99% rename from lib/yui/3.5.0/build/assets/skins/sam/node-menunav.css rename to lib/yui/3.5.1/build/assets/skins/sam/node-menunav.css index b56f418e9dc..f07ce654b6a 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/node-menunav.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/node-menunav.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/overlay/assets/skins/sam/overlay.css b/lib/yui/3.5.1/build/assets/skins/sam/overlay.css similarity index 93% rename from lib/yui/3.5.0/build/overlay/assets/skins/sam/overlay.css rename to lib/yui/3.5.1/build/assets/skins/sam/overlay.css index 14edf580b96..c126405c3fd 100644 --- a/lib/yui/3.5.0/build/overlay/assets/skins/sam/overlay.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/overlay.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/panel.css b/lib/yui/3.5.1/build/assets/skins/sam/panel.css similarity index 98% rename from lib/yui/3.5.0/build/assets/skins/sam/panel.css rename to lib/yui/3.5.1/build/assets/skins/sam/panel.css index 07c04be7c01..134c57aebf0 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/panel.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/panel.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/rail-x-lines.png b/lib/yui/3.5.1/build/assets/skins/sam/rail-x-lines.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/rail-x-lines.png rename to lib/yui/3.5.1/build/assets/skins/sam/rail-x-lines.png diff --git a/lib/yui/3.5.0/build/assets/skins/sam/rail-x.png b/lib/yui/3.5.1/build/assets/skins/sam/rail-x.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/rail-x.png rename to lib/yui/3.5.1/build/assets/skins/sam/rail-x.png diff --git a/lib/yui/3.5.0/build/assets/skins/sam/rail-y-lines.png b/lib/yui/3.5.1/build/assets/skins/sam/rail-y-lines.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/rail-y-lines.png rename to lib/yui/3.5.1/build/assets/skins/sam/rail-y-lines.png diff --git a/lib/yui/3.5.0/build/assets/skins/sam/rail-y.png b/lib/yui/3.5.1/build/assets/skins/sam/rail-y.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/rail-y.png rename to lib/yui/3.5.1/build/assets/skins/sam/rail-y.png diff --git a/lib/yui/3.5.0/build/assets/skins/sam/resize-base.css b/lib/yui/3.5.1/build/assets/skins/sam/resize-base.css similarity index 98% rename from lib/yui/3.5.0/build/assets/skins/sam/resize-base.css rename to lib/yui/3.5.1/build/assets/skins/sam/resize-base.css index b553f7552e5..38dac837f7d 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/resize-base.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/resize-base.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/scrollview-base/assets/skins/sam/scrollview-base.css b/lib/yui/3.5.1/build/assets/skins/sam/scrollview-base.css similarity index 94% rename from lib/yui/3.5.0/build/scrollview-base/assets/skins/sam/scrollview-base.css rename to lib/yui/3.5.1/build/assets/skins/sam/scrollview-base.css index 173086d9d10..9b5028e6fc1 100644 --- a/lib/yui/3.5.0/build/scrollview-base/assets/skins/sam/scrollview-base.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/scrollview-base.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/scrollview-list/assets/skins/sam/scrollview-list.css b/lib/yui/3.5.1/build/assets/skins/sam/scrollview-list.css similarity index 97% rename from lib/yui/3.5.0/build/scrollview-list/assets/skins/sam/scrollview-list.css rename to lib/yui/3.5.1/build/assets/skins/sam/scrollview-list.css index 9ea88b0d883..440e7cd9991 100644 --- a/lib/yui/3.5.0/build/scrollview-list/assets/skins/sam/scrollview-list.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/scrollview-list.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/scrollview-scrollbars.css b/lib/yui/3.5.1/build/assets/skins/sam/scrollview-scrollbars.css similarity index 99% rename from lib/yui/3.5.0/build/assets/skins/sam/scrollview-scrollbars.css rename to lib/yui/3.5.1/build/assets/skins/sam/scrollview-scrollbars.css index 00c00f2c25f..7a92317f842 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/scrollview-scrollbars.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/scrollview-scrollbars.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/skin.css b/lib/yui/3.5.1/build/assets/skins/sam/skin.css similarity index 99% rename from lib/yui/3.5.0/build/assets/skins/sam/skin.css rename to lib/yui/3.5.1/build/assets/skins/sam/skin.css index 43a62543f5e..3d35495ebee 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/skin.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/slider-base.css b/lib/yui/3.5.1/build/assets/skins/sam/slider-base.css similarity index 98% rename from lib/yui/3.5.0/build/assets/skins/sam/slider-base.css rename to lib/yui/3.5.1/build/assets/skins/sam/slider-base.css index 086e97b5de9..95448f7650b 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/slider-base.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/slider-base.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/sort-arrow-sprite-ie.png b/lib/yui/3.5.1/build/assets/skins/sam/sort-arrow-sprite-ie.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/sort-arrow-sprite-ie.png rename to lib/yui/3.5.1/build/assets/skins/sam/sort-arrow-sprite-ie.png diff --git a/lib/yui/3.5.0/build/assets/skins/sam/sort-arrow-sprite.png b/lib/yui/3.5.1/build/assets/skins/sam/sort-arrow-sprite.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/sort-arrow-sprite.png rename to lib/yui/3.5.1/build/assets/skins/sam/sort-arrow-sprite.png diff --git a/lib/yui/3.5.0/build/assets/skins/sam/sprite.png b/lib/yui/3.5.1/build/assets/skins/sam/sprite.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/sprite.png rename to lib/yui/3.5.1/build/assets/skins/sam/sprite.png diff --git a/lib/yui/3.5.0/build/assets/skins/sam/sprite_icons.gif b/lib/yui/3.5.1/build/assets/skins/sam/sprite_icons.gif similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/sprite_icons.gif rename to lib/yui/3.5.1/build/assets/skins/sam/sprite_icons.gif diff --git a/lib/yui/3.5.0/build/assets/skins/sam/sprite_icons.png b/lib/yui/3.5.1/build/assets/skins/sam/sprite_icons.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/sprite_icons.png rename to lib/yui/3.5.1/build/assets/skins/sam/sprite_icons.png diff --git a/lib/yui/3.5.0/build/assets/skins/sam/tabview.css b/lib/yui/3.5.1/build/assets/skins/sam/tabview.css similarity index 98% rename from lib/yui/3.5.0/build/assets/skins/sam/tabview.css rename to lib/yui/3.5.1/build/assets/skins/sam/tabview.css index 94a397db75b..a1bd1cc21a4 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/tabview.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/tabview.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/test-console.css b/lib/yui/3.5.1/build/assets/skins/sam/test-console.css similarity index 98% rename from lib/yui/3.5.0/build/assets/skins/sam/test-console.css rename to lib/yui/3.5.1/build/assets/skins/sam/test-console.css index 4be8af9171e..7c58550bff3 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/test-console.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/test-console.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/test/assets/skins/sam/test.css b/lib/yui/3.5.1/build/assets/skins/sam/test.css similarity index 94% rename from lib/yui/3.5.0/build/test/assets/skins/sam/test.css rename to lib/yui/3.5.1/build/assets/skins/sam/test.css index 793c9762cf0..61e3107c6d8 100644 --- a/lib/yui/3.5.0/build/test/assets/skins/sam/test.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/test.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/thumb-x.png b/lib/yui/3.5.1/build/assets/skins/sam/thumb-x.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/thumb-x.png rename to lib/yui/3.5.1/build/assets/skins/sam/thumb-x.png diff --git a/lib/yui/3.5.0/build/assets/skins/sam/thumb-y.png b/lib/yui/3.5.1/build/assets/skins/sam/thumb-y.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/thumb-y.png rename to lib/yui/3.5.1/build/assets/skins/sam/thumb-y.png diff --git a/lib/yui/3.5.0/build/assets/skins/sam/vertical-menu-submenu-indicator.png b/lib/yui/3.5.1/build/assets/skins/sam/vertical-menu-submenu-indicator.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/vertical-menu-submenu-indicator.png rename to lib/yui/3.5.1/build/assets/skins/sam/vertical-menu-submenu-indicator.png diff --git a/lib/yui/3.5.0/build/assets/skins/sam/warn_error.png b/lib/yui/3.5.1/build/assets/skins/sam/warn_error.png similarity index 100% rename from lib/yui/3.5.0/build/assets/skins/sam/warn_error.png rename to lib/yui/3.5.1/build/assets/skins/sam/warn_error.png diff --git a/lib/yui/3.5.0/build/assets/skins/sam/widget-base.css b/lib/yui/3.5.1/build/assets/skins/sam/widget-base.css similarity index 95% rename from lib/yui/3.5.0/build/assets/skins/sam/widget-base.css rename to lib/yui/3.5.1/build/assets/skins/sam/widget-base.css index 65c90a92a04..d5ea704cf7c 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/widget-base.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/widget-base.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/widget-buttons.css b/lib/yui/3.5.1/build/assets/skins/sam/widget-buttons.css similarity index 96% rename from lib/yui/3.5.0/build/assets/skins/sam/widget-buttons.css rename to lib/yui/3.5.1/build/assets/skins/sam/widget-buttons.css index 3060442af41..61129859d0f 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/widget-buttons.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/widget-buttons.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/widget-modality.css b/lib/yui/3.5.1/build/assets/skins/sam/widget-modality.css similarity index 92% rename from lib/yui/3.5.0/build/assets/skins/sam/widget-modality.css rename to lib/yui/3.5.1/build/assets/skins/sam/widget-modality.css index ff0b0788e35..caf2b7d5e52 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/widget-modality.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/widget-modality.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/widget-stack/assets/skins/sam/widget-stack.css b/lib/yui/3.5.1/build/assets/skins/sam/widget-stack.css similarity index 93% rename from lib/yui/3.5.0/build/widget-stack/assets/skins/sam/widget-stack.css rename to lib/yui/3.5.1/build/assets/skins/sam/widget-stack.css index 971aaaf3668..b8994e46dfe 100644 --- a/lib/yui/3.5.0/build/widget-stack/assets/skins/sam/widget-stack.css +++ b/lib/yui/3.5.1/build/assets/skins/sam/widget-stack.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/async-queue/async-queue-debug.js b/lib/yui/3.5.1/build/async-queue/async-queue-debug.js similarity index 99% rename from lib/yui/3.5.0/build/async-queue/async-queue-debug.js rename to lib/yui/3.5.1/build/async-queue/async-queue-debug.js index 4ff96be2ed1..94be4086f93 100644 --- a/lib/yui/3.5.0/build/async-queue/async-queue-debug.js +++ b/lib/yui/3.5.1/build/async-queue/async-queue-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -525,4 +525,4 @@ Y.extend(Queue, Y.EventTarget, { -}, '3.5.0' ,{requires:['event-custom']}); +}, '3.5.1' ,{requires:['event-custom']}); diff --git a/lib/yui/3.5.0/build/async-queue/async-queue-min.js b/lib/yui/3.5.1/build/async-queue/async-queue-min.js similarity index 97% rename from lib/yui/3.5.0/build/async-queue/async-queue-min.js rename to lib/yui/3.5.1/build/async-queue/async-queue-min.js index 7c88f791f8d..c99352860d6 100644 --- a/lib/yui/3.5.0/build/async-queue/async-queue-min.js +++ b/lib/yui/3.5.1/build/async-queue/async-queue-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("async-queue",function(g){g.AsyncQueue=function(){this._init();this.add.apply(this,arguments);};var e=g.AsyncQueue,c="execute",b="shift",d="promote",h="remove",a=g.Lang.isObject,f=g.Lang.isFunction;e.defaults=g.mix({autoContinue:true,iterations:1,timeout:10,until:function(){this.iterations|=0;return this.iterations<=0;}},g.config.queueDefaults||{});g.extend(e,g.EventTarget,{_running:false,_init:function(){g.EventTarget.call(this,{prefix:"queue",emitFacade:true});this._q=[];this.defaults={};this._initEvents();},_initEvents:function(){this.publish({"execute":{defaultFn:this._defExecFn,emitFacade:true},"shift":{defaultFn:this._defShiftFn,emitFacade:true},"add":{defaultFn:this._defAddFn,emitFacade:true},"promote":{defaultFn:this._defPromoteFn,emitFacade:true},"remove":{defaultFn:this._defRemoveFn,emitFacade:true}});},next:function(){var i;while(this._q.length){i=this._q[0]=this._prepare(this._q[0]);if(i&&i.until()){this.fire(b,{callback:i});i=null;}else{break;}}return i||null;},_defShiftFn:function(i){if(this.indexOf(i.callback)===0){this._q.shift();}},_prepare:function(k){if(f(k)&&k._prepared){return k;}var i=g.merge(e.defaults,{context:this,args:[],_prepared:true},this.defaults,(f(k)?{fn:k}:k)),j=g.bind(function(){if(!j._running){j.iterations--;}if(f(j.fn)){j.fn.apply(j.context||g,g.Array(j.args));}},this);return g.mix(j,i);},run:function(){var j,i=true;for(j=this.next();i&&j&&!this.isRunning();j=this.next()){i=(j.timeout<0)?this._execute(j):this._schedule(j);}if(!j){this.fire("complete");}return this;},_execute:function(j){this._running=j._running=true;j.iterations--;this.fire(c,{callback:j});var i=this._running&&j.autoContinue;this._running=j._running=false;return i;},_schedule:function(i){this._running=g.later(i.timeout,this,function(){if(this._execute(i)){this.run();}});return false;},isRunning:function(){return !!this._running;},_defExecFn:function(i){i.callback();},add:function(){this.fire("add",{callbacks:g.Array(arguments,0,true)});return this;},_defAddFn:function(j){var k=this._q,i=[];g.Array.each(j.callbacks,function(l){if(a(l)){k.push(l);i.push(l);}});j.added=i;},pause:function(){if(a(this._running)){this._running.cancel();}this._running=false;return this;},stop:function(){this._q=[];return this.pause();},indexOf:function(m){var k=0,j=this._q.length,l;for(;k -1)?this._q[j]:null;},promote:function(k){var j={callback:k},i;if(this.isRunning()){i=this.after(b,function(){this.fire(d,j);i.detach();},this);}else{this.fire(d,j);}return this;},_defPromoteFn:function(l){var j=this.indexOf(l.callback),k=(j>-1)?this._q.splice(j,1)[0]:null;l.promoted=k;if(k){this._q.unshift(k);}},remove:function(k){var j={callback:k},i;if(this.isRunning()){i=this.after(b,function(){this.fire(h,j);i.detach();},this);}else{this.fire(h,j);}return this;},_defRemoveFn:function(k){var j=this.indexOf(k.callback);k.removed=(j>-1)?this._q.splice(j,1)[0]:null;},size:function(){if(!this.isRunning()){this.next();}return this._q.length;}});},"3.5.0",{requires:["event-custom"]}); \ No newline at end of file +YUI.add("async-queue",function(g){g.AsyncQueue=function(){this._init();this.add.apply(this,arguments);};var e=g.AsyncQueue,c="execute",b="shift",d="promote",h="remove",a=g.Lang.isObject,f=g.Lang.isFunction;e.defaults=g.mix({autoContinue:true,iterations:1,timeout:10,until:function(){this.iterations|=0;return this.iterations<=0;}},g.config.queueDefaults||{});g.extend(e,g.EventTarget,{_running:false,_init:function(){g.EventTarget.call(this,{prefix:"queue",emitFacade:true});this._q=[];this.defaults={};this._initEvents();},_initEvents:function(){this.publish({"execute":{defaultFn:this._defExecFn,emitFacade:true},"shift":{defaultFn:this._defShiftFn,emitFacade:true},"add":{defaultFn:this._defAddFn,emitFacade:true},"promote":{defaultFn:this._defPromoteFn,emitFacade:true},"remove":{defaultFn:this._defRemoveFn,emitFacade:true}});},next:function(){var i;while(this._q.length){i=this._q[0]=this._prepare(this._q[0]);if(i&&i.until()){this.fire(b,{callback:i});i=null;}else{break;}}return i||null;},_defShiftFn:function(i){if(this.indexOf(i.callback)===0){this._q.shift();}},_prepare:function(k){if(f(k)&&k._prepared){return k;}var i=g.merge(e.defaults,{context:this,args:[],_prepared:true},this.defaults,(f(k)?{fn:k}:k)),j=g.bind(function(){if(!j._running){j.iterations--;}if(f(j.fn)){j.fn.apply(j.context||g,g.Array(j.args));}},this);return g.mix(j,i);},run:function(){var j,i=true;for(j=this.next();i&&j&&!this.isRunning();j=this.next()){i=(j.timeout<0)?this._execute(j):this._schedule(j);}if(!j){this.fire("complete");}return this;},_execute:function(j){this._running=j._running=true;j.iterations--;this.fire(c,{callback:j});var i=this._running&&j.autoContinue;this._running=j._running=false;return i;},_schedule:function(i){this._running=g.later(i.timeout,this,function(){if(this._execute(i)){this.run();}});return false;},isRunning:function(){return !!this._running;},_defExecFn:function(i){i.callback();},add:function(){this.fire("add",{callbacks:g.Array(arguments,0,true)});return this;},_defAddFn:function(j){var k=this._q,i=[];g.Array.each(j.callbacks,function(l){if(a(l)){k.push(l);i.push(l);}});j.added=i;},pause:function(){if(a(this._running)){this._running.cancel();}this._running=false;return this;},stop:function(){this._q=[];return this.pause();},indexOf:function(m){var k=0,j=this._q.length,l;for(;k -1)?this._q[j]:null;},promote:function(k){var j={callback:k},i;if(this.isRunning()){i=this.after(b,function(){this.fire(d,j);i.detach();},this);}else{this.fire(d,j);}return this;},_defPromoteFn:function(l){var j=this.indexOf(l.callback),k=(j>-1)?this._q.splice(j,1)[0]:null;l.promoted=k;if(k){this._q.unshift(k);}},remove:function(k){var j={callback:k},i;if(this.isRunning()){i=this.after(b,function(){this.fire(h,j);i.detach();},this);}else{this.fire(h,j);}return this;},_defRemoveFn:function(k){var j=this.indexOf(k.callback);k.removed=(j>-1)?this._q.splice(j,1)[0]:null;},size:function(){if(!this.isRunning()){this.next();}return this._q.length;}});},"3.5.1",{requires:["event-custom"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/async-queue/async-queue.js b/lib/yui/3.5.1/build/async-queue/async-queue.js similarity index 99% rename from lib/yui/3.5.0/build/async-queue/async-queue.js rename to lib/yui/3.5.1/build/async-queue/async-queue.js index 4ff96be2ed1..94be4086f93 100644 --- a/lib/yui/3.5.0/build/async-queue/async-queue.js +++ b/lib/yui/3.5.1/build/async-queue/async-queue.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -525,4 +525,4 @@ Y.extend(Queue, Y.EventTarget, { -}, '3.5.0' ,{requires:['event-custom']}); +}, '3.5.1' ,{requires:['event-custom']}); diff --git a/lib/yui/3.5.0/build/attribute-base/attribute-base-debug.js b/lib/yui/3.5.1/build/attribute-base/attribute-base-debug.js similarity index 98% rename from lib/yui/3.5.0/build/attribute-base/attribute-base-debug.js rename to lib/yui/3.5.1/build/attribute-base/attribute-base-debug.js index 64a0a2909d7..50758659b83 100644 --- a/lib/yui/3.5.0/build/attribute-base/attribute-base-debug.js +++ b/lib/yui/3.5.1/build/attribute-base/attribute-base-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -108,4 +108,4 @@ YUI.add('attribute-base', function(Y) { Y.Attribute = Attribute; -}, '3.5.0' ,{requires:['attribute-core', 'attribute-events', 'attribute-extras']}); +}, '3.5.1' ,{requires:['attribute-core', 'attribute-events', 'attribute-extras']}); diff --git a/lib/yui/3.5.0/build/attribute-base/attribute-base-min.js b/lib/yui/3.5.1/build/attribute-base/attribute-base-min.js similarity index 87% rename from lib/yui/3.5.0/build/attribute-base/attribute-base-min.js rename to lib/yui/3.5.1/build/attribute-base/attribute-base-min.js index 2616760473a..54fcd2744cb 100644 --- a/lib/yui/3.5.0/build/attribute-base/attribute-base-min.js +++ b/lib/yui/3.5.1/build/attribute-base/attribute-base-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("attribute-base",function(b){var a=function(){this._ATTR_E_FACADE=null;this._yuievt=null;b.AttributeCore.apply(this,arguments);b.AttributeEvents.apply(this,arguments);b.AttributeExtras.apply(this,arguments);};b.mix(a,b.AttributeCore,false,null,1);b.mix(a,b.AttributeExtras,false,null,1);b.mix(a,b.AttributeEvents,true,null,1);a.INVALID_VALUE=b.AttributeCore.INVALID_VALUE;a._ATTR_CFG=b.AttributeCore._ATTR_CFG.concat(b.AttributeEvents._ATTR_CFG);b.Attribute=a;},"3.5.0",{requires:["attribute-core","attribute-events","attribute-extras"]}); \ No newline at end of file +YUI.add("attribute-base",function(b){var a=function(){this._ATTR_E_FACADE=null;this._yuievt=null;b.AttributeCore.apply(this,arguments);b.AttributeEvents.apply(this,arguments);b.AttributeExtras.apply(this,arguments);};b.mix(a,b.AttributeCore,false,null,1);b.mix(a,b.AttributeExtras,false,null,1);b.mix(a,b.AttributeEvents,true,null,1);a.INVALID_VALUE=b.AttributeCore.INVALID_VALUE;a._ATTR_CFG=b.AttributeCore._ATTR_CFG.concat(b.AttributeEvents._ATTR_CFG);b.Attribute=a;},"3.5.1",{requires:["attribute-core","attribute-events","attribute-extras"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/attribute-base/attribute-base.js b/lib/yui/3.5.1/build/attribute-base/attribute-base.js similarity index 98% rename from lib/yui/3.5.0/build/attribute-base/attribute-base.js rename to lib/yui/3.5.1/build/attribute-base/attribute-base.js index 64a0a2909d7..50758659b83 100644 --- a/lib/yui/3.5.0/build/attribute-base/attribute-base.js +++ b/lib/yui/3.5.1/build/attribute-base/attribute-base.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -108,4 +108,4 @@ YUI.add('attribute-base', function(Y) { Y.Attribute = Attribute; -}, '3.5.0' ,{requires:['attribute-core', 'attribute-events', 'attribute-extras']}); +}, '3.5.1' ,{requires:['attribute-core', 'attribute-events', 'attribute-extras']}); diff --git a/lib/yui/3.5.0/build/attribute-complex/attribute-complex-debug.js b/lib/yui/3.5.1/build/attribute-complex/attribute-complex-debug.js similarity index 98% rename from lib/yui/3.5.0/build/attribute-complex/attribute-complex-debug.js rename to lib/yui/3.5.1/build/attribute-complex/attribute-complex-debug.js index b8052733dcf..6ea92043bef 100644 --- a/lib/yui/3.5.0/build/attribute-complex/attribute-complex-debug.js +++ b/lib/yui/3.5.1/build/attribute-complex/attribute-complex-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -129,4 +129,4 @@ YUI.add('attribute-complex', function(Y) { Y.AttributeComplex = Y.Attribute.Complex; -}, '3.5.0' ,{requires:['attribute-base']}); +}, '3.5.1' ,{requires:['attribute-base']}); diff --git a/lib/yui/3.5.0/build/attribute-complex/attribute-complex-min.js b/lib/yui/3.5.1/build/attribute-complex/attribute-complex-min.js similarity index 91% rename from lib/yui/3.5.0/build/attribute-complex/attribute-complex-min.js rename to lib/yui/3.5.1/build/attribute-complex/attribute-complex-min.js index 2732a7a5765..c1486fd1c6b 100644 --- a/lib/yui/3.5.0/build/attribute-complex/attribute-complex-min.js +++ b/lib/yui/3.5.1/build/attribute-complex/attribute-complex-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("attribute-complex",function(b){var a=b.Object,c=".";b.Attribute.Complex=function(){};b.Attribute.Complex.prototype={_normAttrVals:function(g){var i={},h={},j,d,f,e;if(g){for(e in g){if(g.hasOwnProperty(e)){if(e.indexOf(c)!==-1){j=e.split(c);d=j.shift();f=h[d]=h[d]||[];f[f.length]={path:j,value:g[e]};}else{i[e]=g[e];}}}return{simple:i,complex:h};}else{return null;}},_getAttrInitVal:function(m,j,p){var e=j.value,o=j.valueFn,d,f,h,g,q,n,k;if(o){if(!o.call){o=this[o];}if(o){e=o.call(this,m);}}if(!j.readOnly&&p){d=p.simple;if(d&&d.hasOwnProperty(m)){e=d[m];}f=p.complex;if(f&&f.hasOwnProperty(m)){k=f[m];for(h=0,g=k.length;h 0&&H.length>M){H.length=M;}if(O){B=O.call(this,A,H.concat());if(!B){return;}for(K=0,L=B.length;K '+'"+'1){C[y-1]=z;z=C.join(A+" ");}z=z+A+" ";}this.set(k,z);},_afterSourceTypeChange:function(y){if(this._rawSource){this.set("source",this._rawSource);}},_afterValueChange:function(F){var B=F.newVal,z=this,E=F.src===v.UI_SRC,A,C,y,D;if(!E){z._inputNode.set(k,B);}y=z.get("minQueryLength");D=z._parseValue(B)||"";if(y>=0&&D.length>=y){if(E){A=z.get("queryDelay");C=function(){z.fire(t,{inputValue:B,query:D,src:F.src});};if(A){clearTimeout(z._delay);z._delay=setTimeout(C,A);}else{C();}}else{z._set(w,D);}}else{clearTimeout(z._delay);z.fire(a,{prevVal:F.prevVal?z._parseValue(F.prevVal):null,src:F.src});}},_onInputBlur:function(B){var C=this.get(e),y,z,A;if(C&&!this.get("allowTrailingDelimiter")){C=j.trimRight(C);A=z=this._inputNode.get(k);if(C){while((z=j.trimRight(z))&&(y=z.length-C.length)&&z.lastIndexOf(C)===y){z=z.substring(0,y);}}else{z=j.trimRight(z);}if(z!==A){this.set(k,z);}}},_onInputValueChange:function(z){var y=z.newVal;if(y!==this.get(k)){this.set(k,y,{src:v.UI_SRC});}},_onResponse:function(y,z){if(y===(this.get(w)||"")){this._parseResponse(y||"",z.response,z.data);}},_defClearFn:function(){this._set(w,null);this._set(m,[]);},_defQueryFn:function(y){this.sendRequest(y.query);},_defResultsFn:function(y){this._set(m,y[m]);}};v.ATTRS={allowBrowserAutocomplete:{value:false},allowTrailingDelimiter:{value:false},enableCache:{lazyAdd:false,setter:"_setEnableCache",value:true},inputNode:{setter:f.one,writeOnce:"initOnly"},maxResults:{value:0},minQueryLength:{value:1},query:{readOnly:true,value:null},queryDelay:{value:100},queryDelimiter:{value:null},requestTemplate:{setter:"_setRequestTemplate",value:null},resultFilters:{setter:"_setResultFilters",value:[]},resultFormatter:{validator:o,value:null},resultHighlighter:{setter:"_setResultHighlighter",value:null},resultListLocator:{setter:"_setLocator",value:null},results:{readOnly:true,value:[]},resultTextLocator:{setter:"_setLocator",value:null},source:{setter:"_setSource",value:null},sourceType:{value:null},tokenInput:{readOnly:true},value:{value:""}}; -v._buildCfg={aggregates:["SOURCE_TYPES"],statics:["UI_SRC"]};v.SOURCE_TYPES={array:"_createArraySource","function":"_createFunctionSource",object:"_createObjectSource"};v.UI_SRC=(f.Widget&&f.Widget.UI_SRC)||"ui";f.AutoCompleteBase=v;},"3.5.0",{requires:["array-extras","base-build","escape","event-valuechange","node-base"],optional:["autocomplete-sources"]}); \ No newline at end of file +v._buildCfg={aggregates:["SOURCE_TYPES"],statics:["UI_SRC"]};v.SOURCE_TYPES={array:"_createArraySource","function":"_createFunctionSource",object:"_createObjectSource"};v.UI_SRC=(f.Widget&&f.Widget.UI_SRC)||"ui";f.AutoCompleteBase=v;},"3.5.1",{optional:["autocomplete-sources"],requires:["array-extras","base-build","escape","event-valuechange","node-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/autocomplete-base/autocomplete-base.js b/lib/yui/3.5.1/build/autocomplete-base/autocomplete-base.js similarity index 99% rename from lib/yui/3.5.0/build/autocomplete-base/autocomplete-base.js rename to lib/yui/3.5.1/build/autocomplete-base/autocomplete-base.js index c5a0372d45b..68fc66963d4 100644 --- a/lib/yui/3.5.0/build/autocomplete-base/autocomplete-base.js +++ b/lib/yui/3.5.1/build/autocomplete-base/autocomplete-base.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -1541,4 +1541,4 @@ AutoCompleteBase.UI_SRC = (Y.Widget && Y.Widget.UI_SRC) || 'ui'; Y.AutoCompleteBase = AutoCompleteBase; -}, '3.5.0' ,{requires:['array-extras', 'base-build', 'escape', 'event-valuechange', 'node-base'], optional:['autocomplete-sources']}); +}, '3.5.1' ,{optional:['autocomplete-sources'], requires:['array-extras', 'base-build', 'escape', 'event-valuechange', 'node-base']}); diff --git a/lib/yui/3.5.0/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-debug.js b/lib/yui/3.5.1/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-debug.js similarity index 97% rename from lib/yui/3.5.0/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-debug.js rename to lib/yui/3.5.1/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-debug.js index 84d211d6645..b44814cb93b 100644 --- a/lib/yui/3.5.0/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-debug.js +++ b/lib/yui/3.5.1/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -139,4 +139,4 @@ Y.mix(Y.namespace('AutoCompleteFilters'), { }); -}, '3.5.0' ,{requires:['array-extras', 'text-accentfold', 'text-wordbreak']}); +}, '3.5.1' ,{requires:['array-extras', 'text-accentfold', 'text-wordbreak']}); diff --git a/lib/yui/3.5.0/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-min.js b/lib/yui/3.5.1/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-min.js similarity index 92% rename from lib/yui/3.5.0/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-min.js rename to lib/yui/3.5.1/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-min.js index 44454997232..cbd27658ae1 100644 --- a/lib/yui/3.5.0/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-min.js +++ b/lib/yui/3.5.1/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("autocomplete-filters-accentfold",function(d){var c=d.Text.AccentFold,a=d.Text.WordBreak,b=d.Array,e=d.Object;d.mix(d.namespace("AutoCompleteFilters"),{charMatchFold:function(h,g){if(!h){return g;}var f=b.unique(c.fold(h).split(""));return b.filter(g,function(i){var j=c.fold(i.text);return b.every(f,function(k){return j.indexOf(k)!==-1;});});},phraseMatchFold:function(g,f){if(!g){return f;}g=c.fold(g);return b.filter(f,function(h){return c.fold(h.text).indexOf(g)!==-1;});},startsWithFold:function(g,f){if(!g){return f;}g=c.fold(g);return b.filter(f,function(h){return c.fold(h.text).indexOf(g)===0;});},subWordMatchFold:function(h,f){if(!h){return f;}var g=a.getUniqueWords(c.fold(h));return b.filter(f,function(i){var j=c.fold(i.text);return b.every(g,function(k){return j.indexOf(k)!==-1;});});},wordMatchFold:function(h,f){if(!h){return f;}var g=a.getUniqueWords(c.fold(h));return b.filter(f,function(i){var j=b.hash(a.getUniqueWords(c.fold(i.text)));return b.every(g,function(k){return e.owns(j,k);});});}});},"3.5.0",{requires:["array-extras","text-accentfold","text-wordbreak"]}); \ No newline at end of file +YUI.add("autocomplete-filters-accentfold",function(d){var c=d.Text.AccentFold,a=d.Text.WordBreak,b=d.Array,e=d.Object;d.mix(d.namespace("AutoCompleteFilters"),{charMatchFold:function(h,g){if(!h){return g;}var f=b.unique(c.fold(h).split(""));return b.filter(g,function(i){var j=c.fold(i.text);return b.every(f,function(k){return j.indexOf(k)!==-1;});});},phraseMatchFold:function(g,f){if(!g){return f;}g=c.fold(g);return b.filter(f,function(h){return c.fold(h.text).indexOf(g)!==-1;});},startsWithFold:function(g,f){if(!g){return f;}g=c.fold(g);return b.filter(f,function(h){return c.fold(h.text).indexOf(g)===0;});},subWordMatchFold:function(h,f){if(!h){return f;}var g=a.getUniqueWords(c.fold(h));return b.filter(f,function(i){var j=c.fold(i.text);return b.every(g,function(k){return j.indexOf(k)!==-1;});});},wordMatchFold:function(h,f){if(!h){return f;}var g=a.getUniqueWords(c.fold(h));return b.filter(f,function(i){var j=b.hash(a.getUniqueWords(c.fold(i.text)));return b.every(g,function(k){return e.owns(j,k);});});}});},"3.5.1",{requires:["array-extras","text-accentfold","text-wordbreak"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold.js b/lib/yui/3.5.1/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold.js similarity index 97% rename from lib/yui/3.5.0/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold.js rename to lib/yui/3.5.1/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold.js index 84d211d6645..b44814cb93b 100644 --- a/lib/yui/3.5.0/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold.js +++ b/lib/yui/3.5.1/build/autocomplete-filters-accentfold/autocomplete-filters-accentfold.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -139,4 +139,4 @@ Y.mix(Y.namespace('AutoCompleteFilters'), { }); -}, '3.5.0' ,{requires:['array-extras', 'text-accentfold', 'text-wordbreak']}); +}, '3.5.1' ,{requires:['array-extras', 'text-accentfold', 'text-wordbreak']}); diff --git a/lib/yui/3.5.0/build/autocomplete-filters/autocomplete-filters-debug.js b/lib/yui/3.5.1/build/autocomplete-filters/autocomplete-filters-debug.js similarity index 98% rename from lib/yui/3.5.0/build/autocomplete-filters/autocomplete-filters-debug.js rename to lib/yui/3.5.1/build/autocomplete-filters/autocomplete-filters-debug.js index 97fbb8f33ec..90380a6e05c 100644 --- a/lib/yui/3.5.0/build/autocomplete-filters/autocomplete-filters-debug.js +++ b/lib/yui/3.5.1/build/autocomplete-filters/autocomplete-filters-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -242,4 +242,4 @@ Filters = Y.mix(Y.namespace('AutoCompleteFilters'), { }); -}, '3.5.0' ,{requires:['array-extras', 'text-wordbreak']}); +}, '3.5.1' ,{requires:['array-extras', 'text-wordbreak']}); diff --git a/lib/yui/3.5.0/build/autocomplete-filters/autocomplete-filters-min.js b/lib/yui/3.5.1/build/autocomplete-filters/autocomplete-filters-min.js similarity index 95% rename from lib/yui/3.5.0/build/autocomplete-filters/autocomplete-filters-min.js rename to lib/yui/3.5.1/build/autocomplete-filters/autocomplete-filters-min.js index fbe606e13cf..2fe33fff792 100644 --- a/lib/yui/3.5.0/build/autocomplete-filters/autocomplete-filters-min.js +++ b/lib/yui/3.5.1/build/autocomplete-filters/autocomplete-filters-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("autocomplete-filters",function(d){var c=d.Array,e=d.Object,a=d.Text.WordBreak,b=d.mix(d.namespace("AutoCompleteFilters"),{charMatch:function(i,h,f){if(!i){return h;}var g=c.unique((f?i:i.toLowerCase()).split(""));return c.filter(h,function(j){j=j.text;if(!f){j=j.toLowerCase();}return c.every(g,function(k){return j.indexOf(k)!==-1;});});},charMatchCase:function(g,f){return b.charMatch(g,f,true);},phraseMatch:function(h,g,f){if(!h){return g;}if(!f){h=h.toLowerCase();}return c.filter(g,function(i){return(f?i.text:i.text.toLowerCase()).indexOf(h)!==-1;});},phraseMatchCase:function(g,f){return b.phraseMatch(g,f,true);},startsWith:function(h,g,f){if(!h){return g;}if(!f){h=h.toLowerCase();}return c.filter(g,function(i){return(f?i.text:i.text.toLowerCase()).indexOf(h)===0;});},startsWithCase:function(g,f){return b.startsWith(g,f,true);},subWordMatch:function(i,g,f){if(!i){return g;}var h=a.getUniqueWords(i,{ignoreCase:!f});return c.filter(g,function(j){var k=f?j.text:j.text.toLowerCase();return c.every(h,function(l){return k.indexOf(l)!==-1;});});},subWordMatchCase:function(g,f){return b.subWordMatch(g,f,true);},wordMatch:function(j,h,f){if(!j){return h;}var g={ignoreCase:!f},i=a.getUniqueWords(j,g);return c.filter(h,function(k){var l=c.hash(a.getUniqueWords(k.text,g));return c.every(i,function(m){return e.owns(l,m);});});},wordMatchCase:function(g,f){return b.wordMatch(g,f,true);}});},"3.5.0",{requires:["array-extras","text-wordbreak"]}); \ No newline at end of file +YUI.add("autocomplete-filters",function(d){var c=d.Array,e=d.Object,a=d.Text.WordBreak,b=d.mix(d.namespace("AutoCompleteFilters"),{charMatch:function(i,h,f){if(!i){return h;}var g=c.unique((f?i:i.toLowerCase()).split(""));return c.filter(h,function(j){j=j.text;if(!f){j=j.toLowerCase();}return c.every(g,function(k){return j.indexOf(k)!==-1;});});},charMatchCase:function(g,f){return b.charMatch(g,f,true);},phraseMatch:function(h,g,f){if(!h){return g;}if(!f){h=h.toLowerCase();}return c.filter(g,function(i){return(f?i.text:i.text.toLowerCase()).indexOf(h)!==-1;});},phraseMatchCase:function(g,f){return b.phraseMatch(g,f,true);},startsWith:function(h,g,f){if(!h){return g;}if(!f){h=h.toLowerCase();}return c.filter(g,function(i){return(f?i.text:i.text.toLowerCase()).indexOf(h)===0;});},startsWithCase:function(g,f){return b.startsWith(g,f,true);},subWordMatch:function(i,g,f){if(!i){return g;}var h=a.getUniqueWords(i,{ignoreCase:!f});return c.filter(g,function(j){var k=f?j.text:j.text.toLowerCase();return c.every(h,function(l){return k.indexOf(l)!==-1;});});},subWordMatchCase:function(g,f){return b.subWordMatch(g,f,true);},wordMatch:function(j,h,f){if(!j){return h;}var g={ignoreCase:!f},i=a.getUniqueWords(j,g);return c.filter(h,function(k){var l=c.hash(a.getUniqueWords(k.text,g));return c.every(i,function(m){return e.owns(l,m);});});},wordMatchCase:function(g,f){return b.wordMatch(g,f,true);}});},"3.5.1",{requires:["array-extras","text-wordbreak"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/autocomplete-filters/autocomplete-filters.js b/lib/yui/3.5.1/build/autocomplete-filters/autocomplete-filters.js similarity index 98% rename from lib/yui/3.5.0/build/autocomplete-filters/autocomplete-filters.js rename to lib/yui/3.5.1/build/autocomplete-filters/autocomplete-filters.js index 97fbb8f33ec..90380a6e05c 100644 --- a/lib/yui/3.5.0/build/autocomplete-filters/autocomplete-filters.js +++ b/lib/yui/3.5.1/build/autocomplete-filters/autocomplete-filters.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -242,4 +242,4 @@ Filters = Y.mix(Y.namespace('AutoCompleteFilters'), { }); -}, '3.5.0' ,{requires:['array-extras', 'text-wordbreak']}); +}, '3.5.1' ,{requires:['array-extras', 'text-wordbreak']}); diff --git a/lib/yui/3.5.0/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-debug.js b/lib/yui/3.5.1/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-debug.js similarity index 97% rename from lib/yui/3.5.0/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-debug.js rename to lib/yui/3.5.1/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-debug.js index 6cf951763d2..383e3d2ee1e 100644 --- a/lib/yui/3.5.0/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-debug.js +++ b/lib/yui/3.5.1/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -110,4 +110,4 @@ Y.mix(Y.namespace('AutoCompleteHighlighters'), { }); -}, '3.5.0' ,{requires:['array-extras', 'highlight-accentfold']}); +}, '3.5.1' ,{requires:['array-extras', 'highlight-accentfold']}); diff --git a/lib/yui/3.5.0/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-min.js b/lib/yui/3.5.1/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-min.js similarity index 90% rename from lib/yui/3.5.0/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-min.js rename to lib/yui/3.5.1/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-min.js index 697ba334a87..2e3b59cfe20 100644 --- a/lib/yui/3.5.0/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-min.js +++ b/lib/yui/3.5.1/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("autocomplete-highlighters-accentfold",function(c){var a=c.Highlight,b=c.Array;c.mix(c.namespace("AutoCompleteHighlighters"),{charMatchFold:function(f,e){var d=b.unique(f.split(""));return b.map(e,function(g){return a.allFold(g.text,d);});},phraseMatchFold:function(e,d){return b.map(d,function(f){return a.allFold(f.text,[e]);});},startsWithFold:function(e,d){return b.map(d,function(f){return a.allFold(f.text,[e],{startsWith:true});});},subWordMatchFold:function(f,d){var e=c.Text.WordBreak.getUniqueWords(f);return b.map(d,function(g){return a.allFold(g.text,e);});},wordMatchFold:function(e,d){return b.map(d,function(f){return a.wordsFold(f.text,e);});}});},"3.5.0",{requires:["array-extras","highlight-accentfold"]}); \ No newline at end of file +YUI.add("autocomplete-highlighters-accentfold",function(c){var a=c.Highlight,b=c.Array;c.mix(c.namespace("AutoCompleteHighlighters"),{charMatchFold:function(f,e){var d=b.unique(f.split(""));return b.map(e,function(g){return a.allFold(g.text,d);});},phraseMatchFold:function(e,d){return b.map(d,function(f){return a.allFold(f.text,[e]);});},startsWithFold:function(e,d){return b.map(d,function(f){return a.allFold(f.text,[e],{startsWith:true});});},subWordMatchFold:function(f,d){var e=c.Text.WordBreak.getUniqueWords(f);return b.map(d,function(g){return a.allFold(g.text,e);});},wordMatchFold:function(e,d){return b.map(d,function(f){return a.wordsFold(f.text,e);});}});},"3.5.1",{requires:["array-extras","highlight-accentfold"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold.js b/lib/yui/3.5.1/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold.js similarity index 97% rename from lib/yui/3.5.0/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold.js rename to lib/yui/3.5.1/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold.js index 6cf951763d2..383e3d2ee1e 100644 --- a/lib/yui/3.5.0/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold.js +++ b/lib/yui/3.5.1/build/autocomplete-highlighters-accentfold/autocomplete-highlighters-accentfold.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -110,4 +110,4 @@ Y.mix(Y.namespace('AutoCompleteHighlighters'), { }); -}, '3.5.0' ,{requires:['array-extras', 'highlight-accentfold']}); +}, '3.5.1' ,{requires:['array-extras', 'highlight-accentfold']}); diff --git a/lib/yui/3.5.0/build/autocomplete-highlighters/autocomplete-highlighters-debug.js b/lib/yui/3.5.1/build/autocomplete-highlighters/autocomplete-highlighters-debug.js similarity index 98% rename from lib/yui/3.5.0/build/autocomplete-highlighters/autocomplete-highlighters-debug.js rename to lib/yui/3.5.1/build/autocomplete-highlighters/autocomplete-highlighters-debug.js index 8367d36f638..92ed43abb85 100644 --- a/lib/yui/3.5.0/build/autocomplete-highlighters/autocomplete-highlighters-debug.js +++ b/lib/yui/3.5.1/build/autocomplete-highlighters/autocomplete-highlighters-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -202,4 +202,4 @@ Highlighters = Y.mix(Y.namespace('AutoCompleteHighlighters'), { }); -}, '3.5.0' ,{requires:['array-extras', 'highlight-base']}); +}, '3.5.1' ,{requires:['array-extras', 'highlight-base']}); diff --git a/lib/yui/3.5.0/build/autocomplete-highlighters/autocomplete-highlighters-min.js b/lib/yui/3.5.1/build/autocomplete-highlighters/autocomplete-highlighters-min.js similarity index 93% rename from lib/yui/3.5.0/build/autocomplete-highlighters/autocomplete-highlighters-min.js rename to lib/yui/3.5.1/build/autocomplete-highlighters/autocomplete-highlighters-min.js index d8d43eb4afa..c95b41ef733 100644 --- a/lib/yui/3.5.0/build/autocomplete-highlighters/autocomplete-highlighters-min.js +++ b/lib/yui/3.5.1/build/autocomplete-highlighters/autocomplete-highlighters-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("autocomplete-highlighters",function(d){var c=d.Array,a=d.Highlight,b=d.mix(d.namespace("AutoCompleteHighlighters"),{charMatch:function(h,g,e){var f=c.unique((e?h:h.toLowerCase()).split(""));return c.map(g,function(i){return a.all(i.text,f,{caseSensitive:e});});},charMatchCase:function(f,e){return b.charMatch(f,e,true);},phraseMatch:function(g,f,e){return c.map(f,function(h){return a.all(h.text,[g],{caseSensitive:e});});},phraseMatchCase:function(f,e){return b.phraseMatch(f,e,true);},startsWith:function(g,f,e){return c.map(f,function(h){return a.all(h.text,[g],{caseSensitive:e,startsWith:true});});},startsWithCase:function(f,e){return b.startsWith(f,e,true);},subWordMatch:function(h,f,e){var g=d.Text.WordBreak.getUniqueWords(h,{ignoreCase:!e});return c.map(f,function(i){return a.all(i.text,g,{caseSensitive:e});});},subWordMatchCase:function(f,e){return b.subWordMatch(f,e,true);},wordMatch:function(g,f,e){return c.map(f,function(h){return a.words(h.text,g,{caseSensitive:e});});},wordMatchCase:function(f,e){return b.wordMatch(f,e,true);}});},"3.5.0",{requires:["array-extras","highlight-base"]}); \ No newline at end of file +YUI.add("autocomplete-highlighters",function(d){var c=d.Array,a=d.Highlight,b=d.mix(d.namespace("AutoCompleteHighlighters"),{charMatch:function(h,g,e){var f=c.unique((e?h:h.toLowerCase()).split(""));return c.map(g,function(i){return a.all(i.text,f,{caseSensitive:e});});},charMatchCase:function(f,e){return b.charMatch(f,e,true);},phraseMatch:function(g,f,e){return c.map(f,function(h){return a.all(h.text,[g],{caseSensitive:e});});},phraseMatchCase:function(f,e){return b.phraseMatch(f,e,true);},startsWith:function(g,f,e){return c.map(f,function(h){return a.all(h.text,[g],{caseSensitive:e,startsWith:true});});},startsWithCase:function(f,e){return b.startsWith(f,e,true);},subWordMatch:function(h,f,e){var g=d.Text.WordBreak.getUniqueWords(h,{ignoreCase:!e});return c.map(f,function(i){return a.all(i.text,g,{caseSensitive:e});});},subWordMatchCase:function(f,e){return b.subWordMatch(f,e,true);},wordMatch:function(g,f,e){return c.map(f,function(h){return a.words(h.text,g,{caseSensitive:e});});},wordMatchCase:function(f,e){return b.wordMatch(f,e,true);}});},"3.5.1",{requires:["array-extras","highlight-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/autocomplete-highlighters/autocomplete-highlighters.js b/lib/yui/3.5.1/build/autocomplete-highlighters/autocomplete-highlighters.js similarity index 98% rename from lib/yui/3.5.0/build/autocomplete-highlighters/autocomplete-highlighters.js rename to lib/yui/3.5.1/build/autocomplete-highlighters/autocomplete-highlighters.js index 8367d36f638..92ed43abb85 100644 --- a/lib/yui/3.5.0/build/autocomplete-highlighters/autocomplete-highlighters.js +++ b/lib/yui/3.5.1/build/autocomplete-highlighters/autocomplete-highlighters.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -202,4 +202,4 @@ Highlighters = Y.mix(Y.namespace('AutoCompleteHighlighters'), { }); -}, '3.5.0' ,{requires:['array-extras', 'highlight-base']}); +}, '3.5.1' ,{requires:['array-extras', 'highlight-base']}); diff --git a/lib/yui/3.5.0/build/autocomplete-list-keys/autocomplete-list-keys-debug.js b/lib/yui/3.5.1/build/autocomplete-list-keys/autocomplete-list-keys-debug.js similarity index 98% rename from lib/yui/3.5.0/build/autocomplete-list-keys/autocomplete-list-keys-debug.js rename to lib/yui/3.5.1/build/autocomplete-list-keys/autocomplete-list-keys-debug.js index 335232827cb..354d381becf 100644 --- a/lib/yui/3.5.0/build/autocomplete-list-keys/autocomplete-list-keys-debug.js +++ b/lib/yui/3.5.1/build/autocomplete-list-keys/autocomplete-list-keys-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -189,4 +189,4 @@ ListKeys.prototype = { Y.Base.mix(Y.AutoCompleteList, [ListKeys]); -}, '3.5.0' ,{requires:['autocomplete-list', 'base-build']}); +}, '3.5.1' ,{requires:['autocomplete-list', 'base-build']}); diff --git a/lib/yui/3.5.0/build/autocomplete-list-keys/autocomplete-list-keys-min.js b/lib/yui/3.5.1/build/autocomplete-list-keys/autocomplete-list-keys-min.js similarity index 93% rename from lib/yui/3.5.0/build/autocomplete-list-keys/autocomplete-list-keys-min.js rename to lib/yui/3.5.1/build/autocomplete-list-keys/autocomplete-list-keys-min.js index 43f777911bb..2e67a455e88 100644 --- a/lib/yui/3.5.0/build/autocomplete-list-keys/autocomplete-list-keys-min.js +++ b/lib/yui/3.5.1/build/autocomplete-list-keys/autocomplete-list-keys-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("autocomplete-list-keys",function(g){var c=40,a=13,d=27,f=9,b=38;function e(){g.before(this._bindKeys,this,"bindUI");this._initKeys();}e.prototype={_initKeys:function(){var h={},i={};h[c]=this._keyDown;i[a]=this._keyEnter;i[d]=this._keyEsc;i[f]=this._keyTab;i[b]=this._keyUp;this._keys=h;this._keysVisible=i;},destructor:function(){this._unbindKeys();},_bindKeys:function(){this._keyEvents=this._inputNode.on("keydown",this._onInputKey,this);},_unbindKeys:function(){this._keyEvents&&this._keyEvents.detach();this._keyEvents=null;},_keyDown:function(){if(this.get("visible")){this._activateNextItem();}else{this.show();}},_keyEnter:function(i){var h=this.get("activeItem");if(h){this.selectItem(h,i);}else{return false;}},_keyEsc:function(){this.hide();},_keyTab:function(i){var h;if(this.get("tabSelect")){h=this.get("activeItem");if(h){this.selectItem(h,i);return true;}}return false;},_keyUp:function(){this._activatePrevItem();},_onInputKey:function(j){var h,i=j.keyCode;this._lastInputKey=i;if(this.get("results").length){h=this._keys[i];if(!h&&this.get("visible")){h=this._keysVisible[i];}if(h){if(h.call(this,j)!==false){j.preventDefault();}}}}};g.Base.mix(g.AutoCompleteList,[e]);},"3.5.0",{requires:["autocomplete-list","base-build"]}); \ No newline at end of file +YUI.add("autocomplete-list-keys",function(g){var c=40,a=13,d=27,f=9,b=38;function e(){g.before(this._bindKeys,this,"bindUI");this._initKeys();}e.prototype={_initKeys:function(){var h={},i={};h[c]=this._keyDown;i[a]=this._keyEnter;i[d]=this._keyEsc;i[f]=this._keyTab;i[b]=this._keyUp;this._keys=h;this._keysVisible=i;},destructor:function(){this._unbindKeys();},_bindKeys:function(){this._keyEvents=this._inputNode.on("keydown",this._onInputKey,this);},_unbindKeys:function(){this._keyEvents&&this._keyEvents.detach();this._keyEvents=null;},_keyDown:function(){if(this.get("visible")){this._activateNextItem();}else{this.show();}},_keyEnter:function(i){var h=this.get("activeItem");if(h){this.selectItem(h,i);}else{return false;}},_keyEsc:function(){this.hide();},_keyTab:function(i){var h;if(this.get("tabSelect")){h=this.get("activeItem");if(h){this.selectItem(h,i);return true;}}return false;},_keyUp:function(){this._activatePrevItem();},_onInputKey:function(j){var h,i=j.keyCode;this._lastInputKey=i;if(this.get("results").length){h=this._keys[i];if(!h&&this.get("visible")){h=this._keysVisible[i];}if(h){if(h.call(this,j)!==false){j.preventDefault();}}}}};g.Base.mix(g.AutoCompleteList,[e]);},"3.5.1",{requires:["autocomplete-list","base-build"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/autocomplete-list-keys/autocomplete-list-keys.js b/lib/yui/3.5.1/build/autocomplete-list-keys/autocomplete-list-keys.js similarity index 98% rename from lib/yui/3.5.0/build/autocomplete-list-keys/autocomplete-list-keys.js rename to lib/yui/3.5.1/build/autocomplete-list-keys/autocomplete-list-keys.js index 335232827cb..354d381becf 100644 --- a/lib/yui/3.5.0/build/autocomplete-list-keys/autocomplete-list-keys.js +++ b/lib/yui/3.5.1/build/autocomplete-list-keys/autocomplete-list-keys.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -189,4 +189,4 @@ ListKeys.prototype = { Y.Base.mix(Y.AutoCompleteList, [ListKeys]); -}, '3.5.0' ,{requires:['autocomplete-list', 'base-build']}); +}, '3.5.1' ,{requires:['autocomplete-list', 'base-build']}); diff --git a/lib/yui/3.5.0/build/autocomplete-list/assets/autocomplete-list-core.css b/lib/yui/3.5.1/build/autocomplete-list/assets/autocomplete-list-core.css similarity index 96% rename from lib/yui/3.5.0/build/autocomplete-list/assets/autocomplete-list-core.css rename to lib/yui/3.5.1/build/autocomplete-list/assets/autocomplete-list-core.css index bd9594b27c7..fec60c4cda4 100644 --- a/lib/yui/3.5.0/build/autocomplete-list/assets/autocomplete-list-core.css +++ b/lib/yui/3.5.1/build/autocomplete-list/assets/autocomplete-list-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/autocomplete-list/assets/skins/night/autocomplete-list-skin.css b/lib/yui/3.5.1/build/autocomplete-list/assets/skins/night/autocomplete-list-skin.css similarity index 98% rename from lib/yui/3.5.0/build/autocomplete-list/assets/skins/night/autocomplete-list-skin.css rename to lib/yui/3.5.1/build/autocomplete-list/assets/skins/night/autocomplete-list-skin.css index 7fd611fb3c6..93c93c13fd7 100644 --- a/lib/yui/3.5.0/build/autocomplete-list/assets/skins/night/autocomplete-list-skin.css +++ b/lib/yui/3.5.1/build/autocomplete-list/assets/skins/night/autocomplete-list-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/autocomplete-list/assets/skins/night/autocomplete-list.css b/lib/yui/3.5.1/build/autocomplete-list/assets/skins/night/autocomplete-list.css similarity index 98% rename from lib/yui/3.5.0/build/autocomplete-list/assets/skins/night/autocomplete-list.css rename to lib/yui/3.5.1/build/autocomplete-list/assets/skins/night/autocomplete-list.css index aee30885fc5..2b1c715f6e6 100644 --- a/lib/yui/3.5.0/build/autocomplete-list/assets/skins/night/autocomplete-list.css +++ b/lib/yui/3.5.1/build/autocomplete-list/assets/skins/night/autocomplete-list.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/autocomplete-list/assets/skins/sam/autocomplete-list-skin.css b/lib/yui/3.5.1/build/autocomplete-list/assets/skins/sam/autocomplete-list-skin.css similarity index 95% rename from lib/yui/3.5.0/build/autocomplete-list/assets/skins/sam/autocomplete-list-skin.css rename to lib/yui/3.5.1/build/autocomplete-list/assets/skins/sam/autocomplete-list-skin.css index 73783f7dc8f..0f57372bf16 100644 --- a/lib/yui/3.5.0/build/autocomplete-list/assets/skins/sam/autocomplete-list-skin.css +++ b/lib/yui/3.5.1/build/autocomplete-list/assets/skins/sam/autocomplete-list-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/autocomplete-list/assets/skins/sam/autocomplete-list.css b/lib/yui/3.5.1/build/autocomplete-list/assets/skins/sam/autocomplete-list.css similarity index 97% rename from lib/yui/3.5.0/build/autocomplete-list/assets/skins/sam/autocomplete-list.css rename to lib/yui/3.5.1/build/autocomplete-list/assets/skins/sam/autocomplete-list.css index 63d2245c766..0efff02e532 100644 --- a/lib/yui/3.5.0/build/autocomplete-list/assets/skins/sam/autocomplete-list.css +++ b/lib/yui/3.5.1/build/autocomplete-list/assets/skins/sam/autocomplete-list.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/autocomplete-list/autocomplete-list-debug.js b/lib/yui/3.5.1/build/autocomplete-list/autocomplete-list-debug.js similarity index 98% rename from lib/yui/3.5.0/build/autocomplete-list/autocomplete-list-debug.js rename to lib/yui/3.5.1/build/autocomplete-list/autocomplete-list-debug.js index fe97fe6edbe..668af94b593 100644 --- a/lib/yui/3.5.0/build/autocomplete-list/autocomplete-list-debug.js +++ b/lib/yui/3.5.1/build/autocomplete-list/autocomplete-list-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -300,7 +300,7 @@ List = Y.Base.create('autocompleteList', Y.Widget, [ **/ _ariaSay: function (stringId, subs) { var message = this.get('strings.' + stringId); - this._ariaNode.setContent(subs ? Lang.sub(message, subs) : message); + this._ariaNode.set('text', subs ? Lang.sub(message, subs) : message); }, /** @@ -890,4 +890,4 @@ for API docs. Y.AutoComplete = List; -}, '3.5.0' ,{lang:['en'], skinnable:true, after:['autocomplete-sources'], requires:['autocomplete-base', 'event-resize', 'node-screen', 'selector-css3', 'shim-plugin', 'widget', 'widget-position', 'widget-position-align']}); +}, '3.5.1' ,{requires:['autocomplete-base', 'event-resize', 'node-screen', 'selector-css3', 'shim-plugin', 'widget', 'widget-position', 'widget-position-align'], skinnable:true, after:['autocomplete-sources'], lang:['en']}); diff --git a/lib/yui/3.5.0/build/autocomplete-list/autocomplete-list-min.js b/lib/yui/3.5.1/build/autocomplete-list/autocomplete-list-min.js similarity index 95% rename from lib/yui/3.5.0/build/autocomplete-list/autocomplete-list-min.js rename to lib/yui/3.5.1/build/autocomplete-list/autocomplete-list-min.js index 35c7117e249..e6d3060bd0b 100644 --- a/lib/yui/3.5.0/build/autocomplete-list/autocomplete-list-min.js +++ b/lib/yui/3.5.1/build/autocomplete-list/autocomplete-list-min.js @@ -1,8 +1,8 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("autocomplete-list",function(b){var i=b.Lang,v=b.Node,l=b.Array,h=b.UA.ie&&b.UA.ie<7,p=9,s="_CLASS_ITEM",t="_CLASS_ITEM_ACTIVE",d="_CLASS_ITEM_HOVER",u="_SELECTOR_ITEM",f="activeItem",k="alwaysShowList",o="circular",r="hoveredItem",m="id",e="item",c="list",w="result",j="results",q="visible",g="width",n="select",a=b.Base.create("autocompleteList",b.Widget,[b.AutoCompleteBase,b.WidgetPosition,b.WidgetPositionAlign],{ARIA_TEMPLATE:"",ITEM_TEMPLATE:"",LIST_TEMPLATE:" ",UI_EVENTS:(function(){var x=b.merge(b.Node.DOM_EVENTS);delete x.valuechange;delete x.valueChange;return x;}()),initializer:function(){var x=this.get("inputNode");if(!x){b.error("No inputNode specified.");return;}this._inputNode=x;this._listEvents=[];this.DEF_PARENT_NODE=x.get("parentNode");this[s]=this.getClassName(e);this[t]=this.getClassName(e,"active");this[d]=this.getClassName(e,"hover");this[u]="."+this[s];this.publish(n,{defaultFn:this._defSelectFn});},destructor:function(){while(this._listEvents.length){this._listEvents.pop().detach();}if(this._ariaNode){this._ariaNode.remove().destroy(true);}},bindUI:function(){this._bindInput();this._bindList();},renderUI:function(){var C=this._createAriaNode(),z=this.get("boundingBox"),y=this.get("contentBox"),B=this._inputNode,A=this._createListNode(),x=B.get("parentNode");B.addClass(this.getClassName("input")).setAttrs({"aria-autocomplete":c,"aria-expanded":false,"aria-owns":A.get("id")});x.append(C);if(h){z.plug(b.Plugin.Shim);}z.setStyle("position","absolute");this._ariaNode=C;this._boundingBox=z;this._contentBox=y;this._listNode=A;this._parentNode=x;},syncUI:function(){this._syncResults();this._syncVisibility();},hide:function(){return this.get(k)?this:this.set(q,false);},selectItem:function(y,x){if(y){if(!y.hasClass(this[s])){return this;}}else{y=this.get(f);if(!y){return this;}}this.fire(n,{itemNode:y,originEvent:x||null,result:y.getData(w)});return this;},_activateNextItem:function(){var y=this.get(f),x;if(y){x=y.next(this[u])||(this.get(o)?null:y);}else{x=this._getFirstItemNode();}this.set(f,x);return this;},_activatePrevItem:function(){var y=this.get(f),x=y?y.previous(this[u]):this.get(o)&&this._getLastItemNode();this.set(f,x||null);return this;},_add:function(x){var y=[];l.each(i.isArray(x)?x:[x],function(z){y.push(this._createItemNode(z).setData(w,z));},this);y=b.all(y);this._listNode.append(y.toFrag());return y;},_ariaSay:function(z,x){var y=this.get("strings."+z);this._ariaNode.setContent(x?i.sub(y,x):y);},_bindInput:function(){var A=this._inputNode,y,z,x;if(this.get("align")===null){x=this.get("tokenInput");y=(x&&x.get("boundingBox"))||A;this.set("align",{node:y,points:["tl","bl"]});if(!this.get(g)&&(z=y.get("offsetWidth"))){this.set(g,z);}}this._listEvents.concat([A.after("blur",this._afterListInputBlur,this),A.after("focus",this._afterListInputFocus,this)]);},_bindList:function(){this._listEvents.concat([b.one("doc").after("click",this._afterDocClick,this),b.one("win").after("windowresize",this._syncPosition,this),this.after({mouseover:this._afterMouseOver,mouseout:this._afterMouseOut,activeItemChange:this._afterActiveItemChange,alwaysShowListChange:this._afterAlwaysShowListChange,hoveredItemChange:this._afterHoveredItemChange,resultsChange:this._afterResultsChange,visibleChange:this._afterVisibleChange}),this._listNode.delegate("click",this._onItemClick,this[u],this)]);},_clear:function(){this.set(f,null);this._set(r,null);this._listNode.get("children").remove(true);},_createAriaNode:function(){var x=v.create(this.ARIA_TEMPLATE);return x.addClass(this.getClassName("aria")).setAttrs({"aria-live":"polite",role:"status"});},_createItemNode:function(x){var y=v.create(this.ITEM_TEMPLATE);return y.addClass(this[s]).setAttrs({id:b.stamp(y),role:"option"}).setAttribute("data-text",x.text).append(x.display);},_createListNode:function(){var x=this.get("listNode")||v.create(this.LIST_TEMPLATE);x.addClass(this.getClassName(c)).setAttrs({id:b.stamp(x),role:"listbox"});this._set("listNode",x);this.get("contentBox").append(x);return x;},_getFirstItemNode:function(){return this._listNode.one(this[u]);},_getLastItemNode:function(){return this._listNode.one(this[u]+":last-child");},_syncPosition:function(){this._syncUIPosAlign();this._syncShim();},_syncResults:function(x){if(!x){x=this.get(j);}this._clear();if(x.length){this._add(x);this._ariaSay("items_available");}this._syncPosition();if(this.get("activateFirstItem")&&!this.get(f)){this.set(f,this._getFirstItemNode());}},_syncShim:h?function(){this._boundingBox.shim.sync();}:function(){},_syncVisibility:function(x){if(this.get(k)){x=true;this.set(q,x);}if(typeof x==="undefined"){x=this.get(q);}this._inputNode.set("aria-expanded",x);this._boundingBox.set("aria-hidden",!x);if(x){this._syncPosition();}else{this.set(f,null);this._set(r,null);this._boundingBox.get("offsetWidth");}if(b.UA.ie===7){b.one("body").addClass("yui3-ie7-sucks").removeClass("yui3-ie7-sucks");}},_afterActiveItemChange:function(A){var z=this._inputNode,x=A.newVal,B=A.prevVal,y;if(B&&B._node){B.removeClass(this[t]);}if(x){x.addClass(this[t]);z.set("aria-activedescendant",x.get(m));}else{z.removeAttribute("aria-activedescendant");}if(this.get("scrollIntoView")){y=x||z;if(!y.inRegion(b.DOM.viewportRegion(),true)||!y.inRegion(this._contentBox,true)){y.scrollIntoView();}}},_afterAlwaysShowListChange:function(x){this.set(q,x.newVal||this.get(j).length>0);},_afterDocClick:function(z){var x=this._boundingBox,y=z.target;if(y!==this._inputNode&&y!==x&&!x.one(y.get("id"))){this.hide();}},_afterHoveredItemChange:function(y){var x=y.newVal,z=y.prevVal;if(z){z.removeClass(this[d]);}if(x){x.addClass(this[d]);}},_afterListInputBlur:function(){this._listInputFocused=false;if(this.get(q)&&!this._mouseOverList&&(this._lastInputKey!==p||!this.get("tabSelect")||!this.get(f))){this.hide();}},_afterListInputFocus:function(){this._listInputFocused=true;},_afterMouseOver:function(x){var y=x.domEvent.target.ancestor(this[u],true);this._mouseOverList=true;if(y){this._set(r,y); -}},_afterMouseOut:function(){this._mouseOverList=false;this._set(r,null);},_afterResultsChange:function(x){this._syncResults(x.newVal);if(!this.get(k)){this.set(q,!!x.newVal.length);}},_afterVisibleChange:function(x){this._syncVisibility(!!x.newVal);},_onItemClick:function(x){var y=x.currentTarget;this.set(f,y);this.selectItem(y,x);},_defSelectFn:function(x){var y=x.result.text;this._inputNode.focus();this._updateValue(y);this._ariaSay("item_selected",{item:y});this.hide();}},{ATTRS:{activateFirstItem:{value:false},activeItem:{setter:b.one,value:null},alwaysShowList:{value:false},circular:{value:true},hoveredItem:{readOnly:true,value:null},listNode:{writeOnce:"initOnly",value:null},scrollIntoView:{value:false},strings:{valueFn:function(){return b.Intl.get("autocomplete-list");}},tabSelect:{value:true},visible:{value:false}},CSS_PREFIX:b.ClassNameManager.getClassName("aclist")});b.AutoCompleteList=a;b.AutoComplete=a;},"3.5.0",{lang:["en"],skinnable:true,after:["autocomplete-sources"],requires:["autocomplete-base","event-resize","node-screen","selector-css3","shim-plugin","widget","widget-position","widget-position-align"]}); \ No newline at end of file +YUI.add("autocomplete-list",function(b){var i=b.Lang,v=b.Node,l=b.Array,h=b.UA.ie&&b.UA.ie<7,p=9,s="_CLASS_ITEM",t="_CLASS_ITEM_ACTIVE",d="_CLASS_ITEM_HOVER",u="_SELECTOR_ITEM",f="activeItem",k="alwaysShowList",o="circular",r="hoveredItem",m="id",e="item",c="list",w="result",j="results",q="visible",g="width",n="select",a=b.Base.create("autocompleteList",b.Widget,[b.AutoCompleteBase,b.WidgetPosition,b.WidgetPositionAlign],{ARIA_TEMPLATE:"",ITEM_TEMPLATE:"",LIST_TEMPLATE:"
",UI_EVENTS:(function(){var x=b.merge(b.Node.DOM_EVENTS);delete x.valuechange;delete x.valueChange;return x;}()),initializer:function(){var x=this.get("inputNode");if(!x){b.error("No inputNode specified.");return;}this._inputNode=x;this._listEvents=[];this.DEF_PARENT_NODE=x.get("parentNode");this[s]=this.getClassName(e);this[t]=this.getClassName(e,"active");this[d]=this.getClassName(e,"hover");this[u]="."+this[s];this.publish(n,{defaultFn:this._defSelectFn});},destructor:function(){while(this._listEvents.length){this._listEvents.pop().detach();}if(this._ariaNode){this._ariaNode.remove().destroy(true);}},bindUI:function(){this._bindInput();this._bindList();},renderUI:function(){var C=this._createAriaNode(),z=this.get("boundingBox"),y=this.get("contentBox"),B=this._inputNode,A=this._createListNode(),x=B.get("parentNode");B.addClass(this.getClassName("input")).setAttrs({"aria-autocomplete":c,"aria-expanded":false,"aria-owns":A.get("id")});x.append(C);if(h){z.plug(b.Plugin.Shim);}z.setStyle("position","absolute");this._ariaNode=C;this._boundingBox=z;this._contentBox=y;this._listNode=A;this._parentNode=x;},syncUI:function(){this._syncResults();this._syncVisibility();},hide:function(){return this.get(k)?this:this.set(q,false);},selectItem:function(y,x){if(y){if(!y.hasClass(this[s])){return this;}}else{y=this.get(f);if(!y){return this;}}this.fire(n,{itemNode:y,originEvent:x||null,result:y.getData(w)});return this;},_activateNextItem:function(){var y=this.get(f),x;if(y){x=y.next(this[u])||(this.get(o)?null:y);}else{x=this._getFirstItemNode();}this.set(f,x);return this;},_activatePrevItem:function(){var y=this.get(f),x=y?y.previous(this[u]):this.get(o)&&this._getLastItemNode();this.set(f,x||null);return this;},_add:function(x){var y=[];l.each(i.isArray(x)?x:[x],function(z){y.push(this._createItemNode(z).setData(w,z));},this);y=b.all(y);this._listNode.append(y.toFrag());return y;},_ariaSay:function(z,x){var y=this.get("strings."+z);this._ariaNode.set("text",x?i.sub(y,x):y);},_bindInput:function(){var A=this._inputNode,y,z,x;if(this.get("align")===null){x=this.get("tokenInput");y=(x&&x.get("boundingBox"))||A;this.set("align",{node:y,points:["tl","bl"]});if(!this.get(g)&&(z=y.get("offsetWidth"))){this.set(g,z);}}this._listEvents.concat([A.after("blur",this._afterListInputBlur,this),A.after("focus",this._afterListInputFocus,this)]);},_bindList:function(){this._listEvents.concat([b.one("doc").after("click",this._afterDocClick,this),b.one("win").after("windowresize",this._syncPosition,this),this.after({mouseover:this._afterMouseOver,mouseout:this._afterMouseOut,activeItemChange:this._afterActiveItemChange,alwaysShowListChange:this._afterAlwaysShowListChange,hoveredItemChange:this._afterHoveredItemChange,resultsChange:this._afterResultsChange,visibleChange:this._afterVisibleChange}),this._listNode.delegate("click",this._onItemClick,this[u],this)]);},_clear:function(){this.set(f,null);this._set(r,null);this._listNode.get("children").remove(true);},_createAriaNode:function(){var x=v.create(this.ARIA_TEMPLATE);return x.addClass(this.getClassName("aria")).setAttrs({"aria-live":"polite",role:"status"});},_createItemNode:function(x){var y=v.create(this.ITEM_TEMPLATE);return y.addClass(this[s]).setAttrs({id:b.stamp(y),role:"option"}).setAttribute("data-text",x.text).append(x.display);},_createListNode:function(){var x=this.get("listNode")||v.create(this.LIST_TEMPLATE);x.addClass(this.getClassName(c)).setAttrs({id:b.stamp(x),role:"listbox"});this._set("listNode",x);this.get("contentBox").append(x);return x;},_getFirstItemNode:function(){return this._listNode.one(this[u]);},_getLastItemNode:function(){return this._listNode.one(this[u]+":last-child");},_syncPosition:function(){this._syncUIPosAlign();this._syncShim();},_syncResults:function(x){if(!x){x=this.get(j);}this._clear();if(x.length){this._add(x);this._ariaSay("items_available");}this._syncPosition();if(this.get("activateFirstItem")&&!this.get(f)){this.set(f,this._getFirstItemNode());}},_syncShim:h?function(){this._boundingBox.shim.sync();}:function(){},_syncVisibility:function(x){if(this.get(k)){x=true;this.set(q,x);}if(typeof x==="undefined"){x=this.get(q);}this._inputNode.set("aria-expanded",x);this._boundingBox.set("aria-hidden",!x);if(x){this._syncPosition();}else{this.set(f,null);this._set(r,null);this._boundingBox.get("offsetWidth");}if(b.UA.ie===7){b.one("body").addClass("yui3-ie7-sucks").removeClass("yui3-ie7-sucks");}},_afterActiveItemChange:function(A){var z=this._inputNode,x=A.newVal,B=A.prevVal,y;if(B&&B._node){B.removeClass(this[t]);}if(x){x.addClass(this[t]);z.set("aria-activedescendant",x.get(m));}else{z.removeAttribute("aria-activedescendant");}if(this.get("scrollIntoView")){y=x||z;if(!y.inRegion(b.DOM.viewportRegion(),true)||!y.inRegion(this._contentBox,true)){y.scrollIntoView();}}},_afterAlwaysShowListChange:function(x){this.set(q,x.newVal||this.get(j).length>0);},_afterDocClick:function(z){var x=this._boundingBox,y=z.target;if(y!==this._inputNode&&y!==x&&!x.one(y.get("id"))){this.hide();}},_afterHoveredItemChange:function(y){var x=y.newVal,z=y.prevVal;if(z){z.removeClass(this[d]);}if(x){x.addClass(this[d]);}},_afterListInputBlur:function(){this._listInputFocused=false;if(this.get(q)&&!this._mouseOverList&&(this._lastInputKey!==p||!this.get("tabSelect")||!this.get(f))){this.hide();}},_afterListInputFocus:function(){this._listInputFocused=true;},_afterMouseOver:function(x){var y=x.domEvent.target.ancestor(this[u],true);this._mouseOverList=true;if(y){this._set(r,y); +}},_afterMouseOut:function(){this._mouseOverList=false;this._set(r,null);},_afterResultsChange:function(x){this._syncResults(x.newVal);if(!this.get(k)){this.set(q,!!x.newVal.length);}},_afterVisibleChange:function(x){this._syncVisibility(!!x.newVal);},_onItemClick:function(x){var y=x.currentTarget;this.set(f,y);this.selectItem(y,x);},_defSelectFn:function(x){var y=x.result.text;this._inputNode.focus();this._updateValue(y);this._ariaSay("item_selected",{item:y});this.hide();}},{ATTRS:{activateFirstItem:{value:false},activeItem:{setter:b.one,value:null},alwaysShowList:{value:false},circular:{value:true},hoveredItem:{readOnly:true,value:null},listNode:{writeOnce:"initOnly",value:null},scrollIntoView:{value:false},strings:{valueFn:function(){return b.Intl.get("autocomplete-list");}},tabSelect:{value:true},visible:{value:false}},CSS_PREFIX:b.ClassNameManager.getClassName("aclist")});b.AutoCompleteList=a;b.AutoComplete=a;},"3.5.1",{requires:["autocomplete-base","event-resize","node-screen","selector-css3","shim-plugin","widget","widget-position","widget-position-align"],skinnable:true,after:["autocomplete-sources"],lang:["en"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/autocomplete-list/autocomplete-list.js b/lib/yui/3.5.1/build/autocomplete-list/autocomplete-list.js similarity index 98% rename from lib/yui/3.5.0/build/autocomplete-list/autocomplete-list.js rename to lib/yui/3.5.1/build/autocomplete-list/autocomplete-list.js index fe97fe6edbe..668af94b593 100644 --- a/lib/yui/3.5.0/build/autocomplete-list/autocomplete-list.js +++ b/lib/yui/3.5.1/build/autocomplete-list/autocomplete-list.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -300,7 +300,7 @@ List = Y.Base.create('autocompleteList', Y.Widget, [ **/ _ariaSay: function (stringId, subs) { var message = this.get('strings.' + stringId); - this._ariaNode.setContent(subs ? Lang.sub(message, subs) : message); + this._ariaNode.set('text', subs ? Lang.sub(message, subs) : message); }, /** @@ -890,4 +890,4 @@ for API docs. Y.AutoComplete = List; -}, '3.5.0' ,{lang:['en'], skinnable:true, after:['autocomplete-sources'], requires:['autocomplete-base', 'event-resize', 'node-screen', 'selector-css3', 'shim-plugin', 'widget', 'widget-position', 'widget-position-align']}); +}, '3.5.1' ,{requires:['autocomplete-base', 'event-resize', 'node-screen', 'selector-css3', 'shim-plugin', 'widget', 'widget-position', 'widget-position-align'], skinnable:true, after:['autocomplete-sources'], lang:['en']}); diff --git a/lib/yui/3.5.0/build/autocomplete-list/lang/autocomplete-list.js b/lib/yui/3.5.1/build/autocomplete-list/lang/autocomplete-list.js similarity index 84% rename from lib/yui/3.5.0/build/autocomplete-list/lang/autocomplete-list.js rename to lib/yui/3.5.1/build/autocomplete-list/lang/autocomplete-list.js index 5b038c73e57..73442faa476 100644 --- a/lib/yui/3.5.0/build/autocomplete-list/lang/autocomplete-list.js +++ b/lib/yui/3.5.1/build/autocomplete-list/lang/autocomplete-list.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/autocomplete-list",function(a){a.Intl.add("autocomplete-list","",{item_selected:"{item} selected.",items_available:"Suggestions are available. Use the up and down arrow keys to select suggestions."});},"3.5.0"); \ No newline at end of file +YUI.add("lang/autocomplete-list",function(a){a.Intl.add("autocomplete-list","",{item_selected:"{item} selected.",items_available:"Suggestions are available. Use the up and down arrow keys to select suggestions."});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/autocomplete-list/lang/autocomplete-list_en.js b/lib/yui/3.5.1/build/autocomplete-list/lang/autocomplete-list_en.js similarity index 88% rename from lib/yui/3.5.0/build/autocomplete-list/lang/autocomplete-list_en.js rename to lib/yui/3.5.1/build/autocomplete-list/lang/autocomplete-list_en.js index bc0f24e5dfe..317e43661eb 100644 --- a/lib/yui/3.5.0/build/autocomplete-list/lang/autocomplete-list_en.js +++ b/lib/yui/3.5.1/build/autocomplete-list/lang/autocomplete-list_en.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/autocomplete-list_en",function(a){a.Intl.add("autocomplete-list","en",{item_selected:"{item} selected.",items_available:"Suggestions are available. Use up and down arrows to select."});},"3.5.0"); \ No newline at end of file +YUI.add("lang/autocomplete-list_en",function(a){a.Intl.add("autocomplete-list","en",{item_selected:"{item} selected.",items_available:"Suggestions are available. Use up and down arrows to select."});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/autocomplete-plugin/autocomplete-plugin-debug.js b/lib/yui/3.5.1/build/autocomplete-plugin/autocomplete-plugin-debug.js similarity index 92% rename from lib/yui/3.5.0/build/autocomplete-plugin/autocomplete-plugin-debug.js rename to lib/yui/3.5.1/build/autocomplete-plugin/autocomplete-plugin-debug.js index cd641ae1421..84a61c8baad 100644 --- a/lib/yui/3.5.0/build/autocomplete-plugin/autocomplete-plugin-debug.js +++ b/lib/yui/3.5.1/build/autocomplete-plugin/autocomplete-plugin-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -51,4 +51,4 @@ Plugin.AutoComplete = ACListPlugin; Plugin.AutoCompleteList = ACListPlugin; -}, '3.5.0' ,{requires:['autocomplete-list', 'node-pluginhost']}); +}, '3.5.1' ,{requires:['autocomplete-list', 'node-pluginhost']}); diff --git a/lib/yui/3.5.0/build/autocomplete-plugin/autocomplete-plugin-min.js b/lib/yui/3.5.1/build/autocomplete-plugin/autocomplete-plugin-min.js similarity index 84% rename from lib/yui/3.5.0/build/autocomplete-plugin/autocomplete-plugin-min.js rename to lib/yui/3.5.1/build/autocomplete-plugin/autocomplete-plugin-min.js index 572aa492ba0..305603d69d1 100644 --- a/lib/yui/3.5.0/build/autocomplete-plugin/autocomplete-plugin-min.js +++ b/lib/yui/3.5.1/build/autocomplete-plugin/autocomplete-plugin-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("autocomplete-plugin",function(b){var a=b.Plugin;function c(d){d.inputNode=d.host;if(!d.render&&d.render!==false){d.render=true;}c.superclass.constructor.apply(this,arguments);}b.extend(c,b.AutoCompleteList,{},{NAME:"autocompleteListPlugin",NS:"ac",CSS_PREFIX:b.ClassNameManager.getClassName("aclist")});a.AutoComplete=c;a.AutoCompleteList=c;},"3.5.0",{requires:["autocomplete-list","node-pluginhost"]}); \ No newline at end of file +YUI.add("autocomplete-plugin",function(b){var a=b.Plugin;function c(d){d.inputNode=d.host;if(!d.render&&d.render!==false){d.render=true;}c.superclass.constructor.apply(this,arguments);}b.extend(c,b.AutoCompleteList,{},{NAME:"autocompleteListPlugin",NS:"ac",CSS_PREFIX:b.ClassNameManager.getClassName("aclist")});a.AutoComplete=c;a.AutoCompleteList=c;},"3.5.1",{requires:["autocomplete-list","node-pluginhost"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/autocomplete-plugin/autocomplete-plugin.js b/lib/yui/3.5.1/build/autocomplete-plugin/autocomplete-plugin.js similarity index 92% rename from lib/yui/3.5.0/build/autocomplete-plugin/autocomplete-plugin.js rename to lib/yui/3.5.1/build/autocomplete-plugin/autocomplete-plugin.js index cd641ae1421..84a61c8baad 100644 --- a/lib/yui/3.5.0/build/autocomplete-plugin/autocomplete-plugin.js +++ b/lib/yui/3.5.1/build/autocomplete-plugin/autocomplete-plugin.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -51,4 +51,4 @@ Plugin.AutoComplete = ACListPlugin; Plugin.AutoCompleteList = ACListPlugin; -}, '3.5.0' ,{requires:['autocomplete-list', 'node-pluginhost']}); +}, '3.5.1' ,{requires:['autocomplete-list', 'node-pluginhost']}); diff --git a/lib/yui/3.5.0/build/autocomplete-sources/autocomplete-sources-debug.js b/lib/yui/3.5.1/build/autocomplete-sources/autocomplete-sources-debug.js similarity index 99% rename from lib/yui/3.5.0/build/autocomplete-sources/autocomplete-sources-debug.js rename to lib/yui/3.5.1/build/autocomplete-sources/autocomplete-sources-debug.js index 5b99cbf3295..5c8422d0f33 100644 --- a/lib/yui/3.5.0/build/autocomplete-sources/autocomplete-sources-debug.js +++ b/lib/yui/3.5.1/build/autocomplete-sources/autocomplete-sources-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -479,4 +479,4 @@ Y.mix(ACBase.SOURCE_TYPES, { }, true); -}, '3.5.0' ,{requires:['autocomplete-base'], optional:['io-base', 'json-parse', 'jsonp', 'yql']}); +}, '3.5.1' ,{optional:['io-base', 'json-parse', 'jsonp', 'yql'], requires:['autocomplete-base']}); diff --git a/lib/yui/3.5.0/build/autocomplete-sources/autocomplete-sources-min.js b/lib/yui/3.5.1/build/autocomplete-sources/autocomplete-sources-min.js similarity index 95% rename from lib/yui/3.5.0/build/autocomplete-sources/autocomplete-sources-min.js rename to lib/yui/3.5.1/build/autocomplete-sources/autocomplete-sources-min.js index 7881ada43e0..96dcc7d9113 100644 --- a/lib/yui/3.5.0/build/autocomplete-sources/autocomplete-sources-min.js +++ b/lib/yui/3.5.1/build/autocomplete-sources/autocomplete-sources-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("autocomplete-sources",function(g){var a=g.AutoCompleteBase,f=g.Lang,b="_sourceSuccess",d="maxResults",e="requestTemplate",c="resultListLocator";g.mix(a.prototype,{_YQL_SOURCE_REGEX:/^(?:select|set|use)\s+/i,_beforeCreateObjectSource:function(h){if(h instanceof g.Node&&h.get("nodeName").toLowerCase()==="select"){return this._createSelectSource(h);}if(g.JSONPRequest&&h instanceof g.JSONPRequest){return this._createJSONPSource(h);}return this._createObjectSource(h);},_createIOSource:function(l){var j={type:"io"},k=this,n,i,m;function h(o){var q=o.request,p=o.query;if(k._cache&&q in k._cache){k[b](k._cache[q],o);return;}if(n&&n.isInProgress()){n.abort();}n=g.io(k._getXHRUrl(l,o),{on:{success:function(u,r){var t;try{t=g.JSON.parse(r.responseText);}catch(s){g.error("JSON parse error",s);}if(t){k._cache&&(k._cache[q]=t);k[b](t,o);}}}});}j.sendRequest=function(o){i=o;if(m){return;}m=true;g.use("io-base","json-parse",function(){j.sendRequest=h;h(i);});};return j;},_createJSONPSource:function(l){var j={type:"jsonp"},k=this,i,m;function h(n){var p=n.request,o=n.query;if(k._cache&&p in k._cache){k[b](k._cache[p],n);return;}l._config.on.success=function(q){k._cache&&(k._cache[p]=q);k[b](q,n);};l.send(o);}j.sendRequest=function(n){i=n;if(m){return;}m=true;g.use("jsonp",function(){if(!(l instanceof g.JSONPRequest)){l=new g.JSONPRequest(l,{format:g.bind(k._jsonpFormatter,k)});}j.sendRequest=h;h(i);});};return j;},_createSelectSource:function(i){var h=this;return{type:"select",sendRequest:function(k){var j=[];i.get("options").each(function(l){j.push({html:l.get("innerHTML"),index:l.get("index"),node:l,selected:l.get("selected"),text:l.get("text"),value:l.get("value")});});h[b](j,k);}};},_createStringSource:function(h){if(this._YQL_SOURCE_REGEX.test(h)){return this._createYQLSource(h);}else{if(h.indexOf("{callback}")!==-1){return this._createJSONPSource(h);}else{return this._createIOSource(h);}}},_createYQLSource:function(l){var k=this,m={type:"yql"},i,n,j;if(!k.get(c)){k.set(c,k._defaultYQLLocator);}function h(s){var t=s.query,q=k.get("yqlEnv"),o=k.get(d),u,r,p;p=f.sub(l,{maxResults:o>0?o:1000,request:s.request,query:t});if(k._cache&&p in k._cache){k[b](k._cache[p],s);return;}u=function(v){k._cache&&(k._cache[p]=v);k[b](v,s);};r={proto:k.get("yqlProtocol")};if(j){j._callback=u;j._opts=r;j._params.q=p;if(q){j._params.env=q;}}else{j=new g.YQLRequest(p,{on:{success:u},allowCache:false},q?{env:q}:null,r);}j.send();}m.sendRequest=function(o){i=o;if(!n){n=true;g.use("yql",function(){m.sendRequest=h;h(i);});}};return m;},_defaultYQLLocator:function(i){var j=i&&i.query&&i.query.results,h;if(j&&f.isObject(j)){h=g.Object.values(j)||[];j=h.length===1?h[0]:h;if(!f.isArray(j)){j=[j];}}else{j=[];}return j;},_getXHRUrl:function(i,j){var h=this.get(d);if(j.query!==j.request){i+=j.request;}return f.sub(i,{maxResults:h>0?h:1000,query:encodeURIComponent(j.query)});},_jsonpFormatter:function(i,j,k){var h=this.get(d),l=this.get(e);if(l){i+=l(k);}return f.sub(i,{callback:j,maxResults:h>0?h:1000,query:encodeURIComponent(k)});}});g.mix(a.ATTRS,{yqlEnv:{value:null},yqlProtocol:{value:"http"}});g.mix(a.SOURCE_TYPES,{io:"_createIOSource",jsonp:"_createJSONPSource",object:"_beforeCreateObjectSource",select:"_createSelectSource",string:"_createStringSource",yql:"_createYQLSource"},true);},"3.5.0",{requires:["autocomplete-base"],optional:["io-base","json-parse","jsonp","yql"]}); \ No newline at end of file +YUI.add("autocomplete-sources",function(g){var a=g.AutoCompleteBase,f=g.Lang,b="_sourceSuccess",d="maxResults",e="requestTemplate",c="resultListLocator";g.mix(a.prototype,{_YQL_SOURCE_REGEX:/^(?:select|set|use)\s+/i,_beforeCreateObjectSource:function(h){if(h instanceof g.Node&&h.get("nodeName").toLowerCase()==="select"){return this._createSelectSource(h);}if(g.JSONPRequest&&h instanceof g.JSONPRequest){return this._createJSONPSource(h);}return this._createObjectSource(h);},_createIOSource:function(l){var j={type:"io"},k=this,n,i,m;function h(o){var q=o.request,p=o.query;if(k._cache&&q in k._cache){k[b](k._cache[q],o);return;}if(n&&n.isInProgress()){n.abort();}n=g.io(k._getXHRUrl(l,o),{on:{success:function(u,r){var t;try{t=g.JSON.parse(r.responseText);}catch(s){g.error("JSON parse error",s);}if(t){k._cache&&(k._cache[q]=t);k[b](t,o);}}}});}j.sendRequest=function(o){i=o;if(m){return;}m=true;g.use("io-base","json-parse",function(){j.sendRequest=h;h(i);});};return j;},_createJSONPSource:function(l){var j={type:"jsonp"},k=this,i,m;function h(n){var p=n.request,o=n.query;if(k._cache&&p in k._cache){k[b](k._cache[p],n);return;}l._config.on.success=function(q){k._cache&&(k._cache[p]=q);k[b](q,n);};l.send(o);}j.sendRequest=function(n){i=n;if(m){return;}m=true;g.use("jsonp",function(){if(!(l instanceof g.JSONPRequest)){l=new g.JSONPRequest(l,{format:g.bind(k._jsonpFormatter,k)});}j.sendRequest=h;h(i);});};return j;},_createSelectSource:function(i){var h=this;return{type:"select",sendRequest:function(k){var j=[];i.get("options").each(function(l){j.push({html:l.get("innerHTML"),index:l.get("index"),node:l,selected:l.get("selected"),text:l.get("text"),value:l.get("value")});});h[b](j,k);}};},_createStringSource:function(h){if(this._YQL_SOURCE_REGEX.test(h)){return this._createYQLSource(h);}else{if(h.indexOf("{callback}")!==-1){return this._createJSONPSource(h);}else{return this._createIOSource(h);}}},_createYQLSource:function(l){var k=this,m={type:"yql"},i,n,j;if(!k.get(c)){k.set(c,k._defaultYQLLocator);}function h(s){var t=s.query,q=k.get("yqlEnv"),o=k.get(d),u,r,p;p=f.sub(l,{maxResults:o>0?o:1000,request:s.request,query:t});if(k._cache&&p in k._cache){k[b](k._cache[p],s);return;}u=function(v){k._cache&&(k._cache[p]=v);k[b](v,s);};r={proto:k.get("yqlProtocol")};if(j){j._callback=u;j._opts=r;j._params.q=p;if(q){j._params.env=q;}}else{j=new g.YQLRequest(p,{on:{success:u},allowCache:false},q?{env:q}:null,r);}j.send();}m.sendRequest=function(o){i=o;if(!n){n=true;g.use("yql",function(){m.sendRequest=h;h(i);});}};return m;},_defaultYQLLocator:function(i){var j=i&&i.query&&i.query.results,h;if(j&&f.isObject(j)){h=g.Object.values(j)||[];j=h.length===1?h[0]:h;if(!f.isArray(j)){j=[j];}}else{j=[];}return j;},_getXHRUrl:function(i,j){var h=this.get(d);if(j.query!==j.request){i+=j.request;}return f.sub(i,{maxResults:h>0?h:1000,query:encodeURIComponent(j.query)});},_jsonpFormatter:function(i,j,k){var h=this.get(d),l=this.get(e);if(l){i+=l(k);}return f.sub(i,{callback:j,maxResults:h>0?h:1000,query:encodeURIComponent(k)});}});g.mix(a.ATTRS,{yqlEnv:{value:null},yqlProtocol:{value:"http"}});g.mix(a.SOURCE_TYPES,{io:"_createIOSource",jsonp:"_createJSONPSource",object:"_beforeCreateObjectSource",select:"_createSelectSource",string:"_createStringSource",yql:"_createYQLSource"},true);},"3.5.1",{optional:["io-base","json-parse","jsonp","yql"],requires:["autocomplete-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/autocomplete-sources/autocomplete-sources.js b/lib/yui/3.5.1/build/autocomplete-sources/autocomplete-sources.js similarity index 99% rename from lib/yui/3.5.0/build/autocomplete-sources/autocomplete-sources.js rename to lib/yui/3.5.1/build/autocomplete-sources/autocomplete-sources.js index 5b99cbf3295..5c8422d0f33 100644 --- a/lib/yui/3.5.0/build/autocomplete-sources/autocomplete-sources.js +++ b/lib/yui/3.5.1/build/autocomplete-sources/autocomplete-sources.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -479,4 +479,4 @@ Y.mix(ACBase.SOURCE_TYPES, { }, true); -}, '3.5.0' ,{requires:['autocomplete-base'], optional:['io-base', 'json-parse', 'jsonp', 'yql']}); +}, '3.5.1' ,{optional:['io-base', 'json-parse', 'jsonp', 'yql'], requires:['autocomplete-base']}); diff --git a/lib/yui/3.5.0/build/base-base/base-base-debug.js b/lib/yui/3.5.1/build/base-base/base-base-debug.js similarity index 99% rename from lib/yui/3.5.0/build/base-base/base-base-debug.js rename to lib/yui/3.5.1/build/base-base/base-base-debug.js index b3ee86d9153..f7cb680f5bf 100644 --- a/lib/yui/3.5.0/build/base-base/base-base-debug.js +++ b/lib/yui/3.5.1/build/base-base/base-base-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -351,4 +351,4 @@ YUI.add('base-base', function(Y) { Y.Base = Base; -}, '3.5.0' ,{requires:['base-core', 'attribute-base']}); +}, '3.5.1' ,{requires:['base-core', 'attribute-base']}); diff --git a/lib/yui/3.5.0/build/base-base/base-base-min.js b/lib/yui/3.5.1/build/base-base/base-base-min.js similarity index 94% rename from lib/yui/3.5.0/build/base-base/base-base-min.js rename to lib/yui/3.5.1/build/base-base/base-base-min.js index 2328289a578..1dd0b5e9190 100644 --- a/lib/yui/3.5.0/build/base-base/base-base-min.js +++ b/lib/yui/3.5.1/build/base-base/base-base-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("base-base",function(b){var g=b.Lang,e="destroy",i="init",h="bubbleTargets",c="_bubbleTargets",j=b.BaseCore,f=b.AttributeCore,a=b.Attribute;function d(){j.apply(this,arguments);}d._ATTR_CFG=a._ATTR_CFG.concat("cloneDefaultValue");d._ATTR_CFG_HASH=b.Array.hash(d._ATTR_CFG);d._NON_ATTRS_CFG=j._NON_ATTRS_CFG.concat(["on","after","bubbleTargets"]);d.NAME="base";d.ATTRS=f.prototype._protectAttrs(j.ATTRS);d.prototype={_initBase:function(k){this._eventPrefix=this.constructor.EVENT_PREFIX||this.constructor.NAME;b.BaseCore.prototype._initBase.call(this,k);},_initAttribute:function(k){a.call(this);this._yuievt.config.prefix=this._eventPrefix;},_attrCfgHash:function(){return d._ATTR_CFG_HASH;},init:function(k){this.publish(i,{queuable:false,fireOnce:true,defaultTargetOnly:true,defaultFn:this._defInitFn});this._preInitEventCfg(k);this.fire(i,{cfg:k});return this;},_preInitEventCfg:function(m){if(m){if(m.on){this.on(m.on);}if(m.after){this.after(m.after);}}var n,k,p,o=(m&&h in m);if(o||c in this){p=o?(m&&m.bubbleTargets):this._bubbleTargets;if(g.isArray(p)){for(n=0,k=p.length;n
=0;--p){w=v[p];for(r in w){if(w.hasOwnProperty(r)){q=f({},w[r],t);o=q.value;u=q.cloneDefaultValue;if(o){if((u===undefined&&(b===o.constructor||i.isArray(o)))||u===j||u===true){q.value=a.clone(o);}else{if(u===m){q.value=a.merge(o);}}}x=null;if(r.indexOf(h)!==-1){x=r.split(h);r=x.shift();}if(x&&s[r]&&s[r].value){e.setValue(s[r].value,x,o);}else{if(!x){if(!s[r]){s[r]=q;}else{f(s[r],q,t);}}}}}}}return s;},_initHierarchy:function(u){var q=this._lazyAddAttrs,v,x,z,s,p,y,t,r=this._getClasses(),o=this._getAttrCfgs(),w=r.length-1;for(z=w;z>=0;z--){v=r[z];x=v.prototype;t=v._yuibuild&&v._yuibuild.exts;if(t){for(s=0,p=t.length;s =0;--p){w=v[p];for(r in w){if(w.hasOwnProperty(r)){q=f({},w[r],t);o=q.value;u=q.cloneDefaultValue;if(o){if((u===undefined&&(b===o.constructor||i.isArray(o)))||u===j||u===true){q.value=a.clone(o);}else{if(u===m){q.value=a.merge(o);}}}x=null;if(r.indexOf(h)!==-1){x=r.split(h);r=x.shift();}if(x&&s[r]&&s[r].value){e.setValue(s[r].value,x,o);}else{if(!x){if(!s[r]){s[r]=q;}else{f(s[r],q,t);}}}}}}}return s;},_initHierarchy:function(u){var q=this._lazyAddAttrs,v,x,z,s,p,y,t,r=this._getClasses(),o=this._getAttrCfgs(),w=r.length-1;for(z=w;z>=0;z--){v=r[z];x=v.prototype;t=v._yuibuild&&v._yuibuild.exts;if(t){for(s=0,p=t.length;s
",constructor:a,enable:function(){this.set("disabled",false);},disable:function(){this.set("disabled",true);},_initAttributes:function(g){g.label=g.label||g.host.getContent();f.AttributeCore.call(this,a.ATTRS,g);},_initNode:function(g){if(g.srcNode){this._host=f.one(g.srcNode);}else{this._host=f.Node.create(this.TEMPLATE);}},_uiSetLabel:function(i){var h=this._host,g=(h.get("tagName").toLowerCase()==="input")?"value":"text";h.set(g,i);return i;},_uiSetDisabled:function(h){var g=this.getNode();g.getDOMNode().disabled=h;g.toggleClass(a.CLASS_NAMES.DISABLED,h);return h;},_uiGetLabel:function(){var h=this._host,g=(h.get("tagName").toLowerCase()==="input")?"value":"text",i;i=h.get(g);return i;},getNode:function(){return this._host;},initializer:function(g){this._initNode(g);this._initAttributes(g);this.renderUI(g);},renderUI:function(g){var h=this._host;h.addClass(a.CLASS_NAMES.BUTTON);h.set("role","button");}};a.ATTRS={label:{setter:"_uiSetLabel",getter:"_uiGetLabel",lazyAdd:false},disabled:{value:false,setter:"_uiSetDisabled",lazyAdd:false}};a.NAME="button";a.CLASS_NAMES={BUTTON:d(),DISABLED:d("disabled")};f.mix(a.prototype,f.AttributeCore.prototype);f.ButtonBase=a;function b(g){if(!this._initNode){return b.factory(g);}b.superclass.constructor.apply(this,arguments);}f.extend(b,f.ButtonBase,{_afterNodeGet:function(h){var g=this.constructor.ATTRS,i=g[h]&&g[h].getter&&this[g[h].getter];if(i){return new f.Do.AlterReturn("get "+h,i.call(this));}},_afterNodeSet:function(h,j){var g=this.constructor.ATTRS,i=g[h]&&g[h].setter&&this[g[h].setter];if(i){i.call(this,j);}},_initNode:function(g){var h=g.host;this._host=h;f.Do.after(this._afterNodeGet,h,"get",this);f.Do.after(this._afterNodeSet,h,"set",this);},destroy:function(){}},{ATTRS:f.merge(f.ButtonBase.ATTRS),NAME:"buttonPlugin",NS:"button"});b.factory=function(h,g){if(h&&!g){if(!(h.nodeType||h.getDOMNode||typeof h=="string")){g=h;h=g.srcNode;}}h=h||g&&g.srcNode||f.DOM.create(f.Plugin.Button.prototype.TEMPLATE);return f.one(h).plug(f.Plugin.Button,g);};f.Plugin.Button=b;function c(g){c.superclass.constructor.apply(this,arguments);}f.extend(c,f.Widget,{initializer:function(g){this._host=this.get("boundingBox");},BOUNDING_TEMPLATE:f.ButtonBase.prototype.TEMPLATE,CONTENT_TEMPLATE:null,bindUI:function(){var g=this;this.after("labelChange",this._afterLabelChange);this.after("disabledChange",this._afterDisabledChange);this.after("selectedChange",this._afterSelectedChange);},_uiSetSelected:function(g){this.get("contentBox").toggleClass("yui3-button-selected",g).set("aria-pressed",g);},_afterLabelChange:function(g){this._uiSetLabel(g.newVal);},_afterDisabledChange:function(g){this._uiSetDisabled(g.newVal);},_afterSelectedChange:function(g){this._uiSetSelected(g.newVal);},syncUI:function(){this._uiSetLabel(this.get("label"));this._uiSetDisabled(this.get("disabled"));this._uiSetSelected(this.get("selected"));},},{NAME:"button",});c.ATTRS={label:{value:f.ButtonBase.ATTRS.label.value},disabled:{value:false},selected:{value:false}};c.HTML_PARSER={label:function(g){this._host=g;return this._uiGetLabel();},disabled:function(g){return g.getDOMNode().disabled;},selected:function(g){return g.hasClass("yui3-button-selected");}};f.mix(c.prototype,f.ButtonBase.prototype);f.Button=c;function e(g){c.superclass.constructor.apply(this,arguments);}f.extend(e,f.Button,{trigger:"click",select:function(){this.set("selected",true);},unselect:function(){this.set("selected",false);},toggle:function(){var g=this;g.set("selected",!g.get("selected"));},bindUI:function(){var g=this;e.superclass.bindUI.call(g);g.get("contentBox").set("role","toggle");g.get("contentBox").on(g.trigger,g.toggle,g);}},{NAME:"toggleButton"});f.ToggleButton=e;},"3.5.0",{requires:["widget","classnamemanager","node"]}); \ No newline at end of file +YUI.add("button-base",function(f){function d(g){if(g){return f.ClassNameManager.getClassName(a.NAME,g);}else{return f.ClassNameManager.getClassName(a.NAME);}}function a(g){this.initializer(g);}a.prototype={TEMPLATE:"",constructor:a,enable:function(){this.set("disabled",false);},disable:function(){this.set("disabled",true);},_initAttributes:function(g){g.label=g.label||g.host.getContent();f.AttributeCore.call(this,a.ATTRS,g);},_initNode:function(g){if(g.srcNode){this._host=f.one(g.srcNode);}else{this._host=f.Node.create(this.TEMPLATE);}},_uiSetLabel:function(i){var h=this._host,g=(h.get("tagName").toLowerCase()==="input")?"value":"text";h.set(g,i);return i;},_uiSetDisabled:function(h){var g=this.getNode();g.getDOMNode().disabled=h;g.toggleClass(a.CLASS_NAMES.DISABLED,h);return h;},_uiGetLabel:function(){var h=this._host,g=(h.get("tagName").toLowerCase()==="input")?"value":"text",i;i=h.get(g);return i;},getNode:function(){return this._host;},initializer:function(g){this._initNode(g);this._initAttributes(g);this.renderUI(g);},renderUI:function(g){var h=this._host;h.addClass(a.CLASS_NAMES.BUTTON);h.set("role","button");}};a.ATTRS={label:{setter:"_uiSetLabel",getter:"_uiGetLabel",lazyAdd:false},disabled:{value:false,setter:"_uiSetDisabled",lazyAdd:false}};a.NAME="button";a.CLASS_NAMES={BUTTON:d(),DISABLED:d("disabled")};f.mix(a.prototype,f.AttributeCore.prototype);f.ButtonBase=a;function b(g){if(!this._initNode){return b.factory(g);}b.superclass.constructor.apply(this,arguments);}f.extend(b,f.ButtonBase,{_afterNodeGet:function(h){var g=this.constructor.ATTRS,i=g[h]&&g[h].getter&&this[g[h].getter];if(i){return new f.Do.AlterReturn("get "+h,i.call(this));}},_afterNodeSet:function(h,j){var g=this.constructor.ATTRS,i=g[h]&&g[h].setter&&this[g[h].setter];if(i){i.call(this,j);}},_initNode:function(g){var h=g.host;this._host=h;f.Do.after(this._afterNodeGet,h,"get",this);f.Do.after(this._afterNodeSet,h,"set",this);},destroy:function(){}},{ATTRS:f.merge(f.ButtonBase.ATTRS),NAME:"buttonPlugin",NS:"button"});b.factory=function(h,g){if(h&&!g){if(!(h.nodeType||h.getDOMNode||typeof h=="string")){g=h;h=g.srcNode;}}h=h||g&&g.srcNode||f.DOM.create(f.Plugin.Button.prototype.TEMPLATE);return f.one(h).plug(f.Plugin.Button,g);};f.Plugin.Button=b;function c(g){c.superclass.constructor.apply(this,arguments);}f.extend(c,f.Widget,{initializer:function(g){this._host=this.get("boundingBox");},BOUNDING_TEMPLATE:f.ButtonBase.prototype.TEMPLATE,CONTENT_TEMPLATE:null,bindUI:function(){var g=this;this.after("labelChange",this._afterLabelChange);this.after("disabledChange",this._afterDisabledChange);this.after("selectedChange",this._afterSelectedChange);},_uiSetSelected:function(g){this.get("contentBox").toggleClass("yui3-button-selected",g).set("aria-pressed",g);},_afterLabelChange:function(g){this._uiSetLabel(g.newVal);},_afterDisabledChange:function(g){this._uiSetDisabled(g.newVal);},_afterSelectedChange:function(g){this._uiSetSelected(g.newVal);},syncUI:function(){this._uiSetLabel(this.get("label"));this._uiSetDisabled(this.get("disabled"));this._uiSetSelected(this.get("selected"));},},{NAME:"button",});c.ATTRS={label:{value:f.ButtonBase.ATTRS.label.value},disabled:{value:false},selected:{value:false}};c.HTML_PARSER={label:function(g){this._host=g;return this._uiGetLabel();},disabled:function(g){return g.getDOMNode().disabled;},selected:function(g){return g.hasClass("yui3-button-selected");}};f.mix(c.prototype,f.ButtonBase.prototype);f.Button=c;function e(g){c.superclass.constructor.apply(this,arguments);}f.extend(e,f.Button,{trigger:"click",select:function(){this.set("selected",true);},unselect:function(){this.set("selected",false);},toggle:function(){var g=this;g.set("selected",!g.get("selected"));},bindUI:function(){var g=this;e.superclass.bindUI.call(g);g.get("contentBox").set("role","toggle");g.get("contentBox").on(g.trigger,g.toggle,g);}},{NAME:"toggleButton"});f.ToggleButton=e;},"3.5.1",{requires:["widget","classnamemanager","node"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/button-base/button-base.js b/lib/yui/3.5.1/build/button-base/button-base.js similarity index 98% rename from lib/yui/3.5.0/build/button-base/button-base.js rename to lib/yui/3.5.1/build/button-base/button-base.js index c4c7b51f73e..09997da2d88 100644 --- a/lib/yui/3.5.0/build/button-base/button-base.js +++ b/lib/yui/3.5.1/build/button-base/button-base.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -341,4 +341,4 @@ Y.extend(ToggleButton, Y.Button, { Y.ToggleButton = ToggleButton; -}, '3.5.0' ,{requires:['widget', 'classnamemanager', 'node']}); +}, '3.5.1' ,{requires:['widget', 'classnamemanager', 'node']}); diff --git a/lib/yui/3.5.0/build/button-core/button-core-debug.js b/lib/yui/3.5.1/build/button-core/button-core-debug.js similarity index 98% rename from lib/yui/3.5.0/build/button-core/button-core-debug.js rename to lib/yui/3.5.1/build/button-core/button-core-debug.js index a6f15f2126d..c4c10a0a86d 100644 --- a/lib/yui/3.5.0/build/button-core/button-core-debug.js +++ b/lib/yui/3.5.1/build/button-core/button-core-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -250,4 +250,4 @@ Y.mix(Button.prototype, Y.AttributeCore.prototype); Y.ButtonCore = Button; -}, '3.5.0' ,{requires:['attribute-core', 'classnamemanager', 'node-base']}); +}, '3.5.1' ,{requires:['attribute-core', 'classnamemanager', 'node-base']}); diff --git a/lib/yui/3.5.0/build/button-core/button-core-min.js b/lib/yui/3.5.1/build/button-core/button-core-min.js similarity index 95% rename from lib/yui/3.5.0/build/button-core/button-core-min.js rename to lib/yui/3.5.1/build/button-core/button-core-min.js index 0f7478b2787..24c153c1e5c 100644 --- a/lib/yui/3.5.0/build/button-core/button-core-min.js +++ b/lib/yui/3.5.1/build/button-core/button-core-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("button-core",function(c){var b=c.ClassNameManager.getClassName;function a(d){this.initializer(d);}a.prototype={TEMPLATE:"",constructor:a,initializer:function(d){this._initNode(d);this._initAttributes(d);this._renderUI(d);},_initNode:function(d){if(d.host){this._host=c.one(d.host);}else{this._host=c.Node.create(this.TEMPLATE);}},_initAttributes:function(d){var f=this._host,e=f.one("."+a.CLASS_NAMES.LABEL)||f;d.label=d.label||this._getLabel(e);c.AttributeCore.call(this,a.ATTRS,d);},_renderUI:function(d){var f=this.getNode(),e=f.get("tagName").toLowerCase();f.addClass(a.CLASS_NAMES.BUTTON);if(e!=="button"&&e!=="input"){f.set("role","button");}},enable:function(){this.set("disabled",false);},disable:function(){this.set("disabled",true);},getNode:function(){return this._host;},_getLabel:function(){var f=this.getNode(),e=f.get("tagName").toLowerCase(),d;if(e==="input"){d=f.get("value");}else{d=(f.one("."+a.CLASS_NAMES.LABEL)||f).get("text");}return d;},_uiSetLabel:function(d){var f=this.getNode(),e=f.get("tagName").toLowerCase();if(e==="input"){f.set("value",d);}else{(f.one("."+a.CLASS_NAMES.LABEL)||f).set("text",d);}return d;},_uiSetDisabled:function(e){var d=this.getNode();d.getDOMNode().disabled=e;d.toggleClass(a.CLASS_NAMES.DISABLED,e);return e;}};a.ATTRS={label:{setter:"_uiSetLabel",getter:"_getLabel",lazyAdd:false},disabled:{value:false,setter:"_uiSetDisabled",lazyAdd:false}};a.NAME="button";a.CLASS_NAMES={BUTTON:b("button"),DISABLED:b("button","disabled"),SELECTED:b("button","selected"),LABEL:b("button","label")};a.ARIA_STATES={PRESSED:"aria-pressed",CHECKED:"aria-checked"};a.ARIA_ROLES={BUTTON:"button",CHECKBOX:"checkbox",TOGGLE:"toggle"};c.mix(a.prototype,c.AttributeCore.prototype);c.ButtonCore=a;},"3.5.0",{requires:["attribute-core","classnamemanager","node-base"]}); \ No newline at end of file +YUI.add("button-core",function(c){var b=c.ClassNameManager.getClassName;function a(d){this.initializer(d);}a.prototype={TEMPLATE:"",constructor:a,initializer:function(d){this._initNode(d);this._initAttributes(d);this._renderUI(d);},_initNode:function(d){if(d.host){this._host=c.one(d.host);}else{this._host=c.Node.create(this.TEMPLATE);}},_initAttributes:function(d){var f=this._host,e=f.one("."+a.CLASS_NAMES.LABEL)||f;d.label=d.label||this._getLabel(e);c.AttributeCore.call(this,a.ATTRS,d);},_renderUI:function(d){var f=this.getNode(),e=f.get("tagName").toLowerCase();f.addClass(a.CLASS_NAMES.BUTTON);if(e!=="button"&&e!=="input"){f.set("role","button");}},enable:function(){this.set("disabled",false);},disable:function(){this.set("disabled",true);},getNode:function(){return this._host;},_getLabel:function(){var f=this.getNode(),e=f.get("tagName").toLowerCase(),d;if(e==="input"){d=f.get("value");}else{d=(f.one("."+a.CLASS_NAMES.LABEL)||f).get("text");}return d;},_uiSetLabel:function(d){var f=this.getNode(),e=f.get("tagName").toLowerCase();if(e==="input"){f.set("value",d);}else{(f.one("."+a.CLASS_NAMES.LABEL)||f).set("text",d);}return d;},_uiSetDisabled:function(e){var d=this.getNode();d.getDOMNode().disabled=e;d.toggleClass(a.CLASS_NAMES.DISABLED,e);return e;}};a.ATTRS={label:{setter:"_uiSetLabel",getter:"_getLabel",lazyAdd:false},disabled:{value:false,setter:"_uiSetDisabled",lazyAdd:false}};a.NAME="button";a.CLASS_NAMES={BUTTON:b("button"),DISABLED:b("button","disabled"),SELECTED:b("button","selected"),LABEL:b("button","label")};a.ARIA_STATES={PRESSED:"aria-pressed",CHECKED:"aria-checked"};a.ARIA_ROLES={BUTTON:"button",CHECKBOX:"checkbox",TOGGLE:"toggle"};c.mix(a.prototype,c.AttributeCore.prototype);c.ButtonCore=a;},"3.5.1",{requires:["attribute-core","classnamemanager","node-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/button-core/button-core.js b/lib/yui/3.5.1/build/button-core/button-core.js similarity index 98% rename from lib/yui/3.5.0/build/button-core/button-core.js rename to lib/yui/3.5.1/build/button-core/button-core.js index a6f15f2126d..c4c10a0a86d 100644 --- a/lib/yui/3.5.0/build/button-core/button-core.js +++ b/lib/yui/3.5.1/build/button-core/button-core.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -250,4 +250,4 @@ Y.mix(Button.prototype, Y.AttributeCore.prototype); Y.ButtonCore = Button; -}, '3.5.0' ,{requires:['attribute-core', 'classnamemanager', 'node-base']}); +}, '3.5.1' ,{requires:['attribute-core', 'classnamemanager', 'node-base']}); diff --git a/lib/yui/3.5.0/build/button-group/assets/icon-sprite-dark-and-light-24.png b/lib/yui/3.5.1/build/button-group/assets/icon-sprite-dark-and-light-24.png similarity index 100% rename from lib/yui/3.5.0/build/button-group/assets/icon-sprite-dark-and-light-24.png rename to lib/yui/3.5.1/build/button-group/assets/icon-sprite-dark-and-light-24.png diff --git a/lib/yui/3.5.0/build/button-group/button-group-debug.js b/lib/yui/3.5.1/build/button-group/button-group-debug.js similarity index 98% rename from lib/yui/3.5.0/build/button-group/button-group-debug.js rename to lib/yui/3.5.1/build/button-group/button-group-debug.js index 2fe90d717a4..c3187297f94 100644 --- a/lib/yui/3.5.0/build/button-group/button-group-debug.js +++ b/lib/yui/3.5.1/build/button-group/button-group-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -179,4 +179,4 @@ Y.ButtonGroup = Y.extend(ButtonGroup, Y.Widget, { }); -}, '3.5.0' ,{requires:['button-plugin', 'cssbutton', 'widget']}); +}, '3.5.1' ,{requires:['button-plugin', 'cssbutton', 'widget']}); diff --git a/lib/yui/3.5.0/build/button-group/button-group-min.js b/lib/yui/3.5.1/build/button-group/button-group-min.js similarity index 93% rename from lib/yui/3.5.0/build/button-group/button-group-min.js rename to lib/yui/3.5.1/build/button-group/button-group-min.js index a2f8bf43b41..90ec7fa9ff0 100644 --- a/lib/yui/3.5.0/build/button-group/button-group-min.js +++ b/lib/yui/3.5.1/build/button-group/button-group-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("button-group",function(f){var a="contentBox",e="button, input[type=button], input[type=reset], input[type=submit]",c="click",d=f.ButtonCore.CLASS_NAMES;function b(){b.superclass.constructor.apply(this,arguments);}f.ButtonGroup=f.extend(b,f.Widget,{renderUI:function(){this.getButtons().plug(f.Plugin.Button);},bindUI:function(){var h=this,g=h.get(a);g.delegate(c,h._handleClick,e,h);},getButtons:function(){var g=this.get(a);return g.all(e);},getSelectedButtons:function(){var j=this,h=[],i=j.getButtons(),g=b.CLASS_NAMES.SELECTED;i.each(function(k){if(k.hasClass(g)){h.push(k);}});return h;},getSelectedValues:function(){var k=this,j,g=[],i=k.getSelectedButtons(),h=b.CLASS_NAMES.SELECTED;f.Array.each(i,function(l){if(l.hasClass(h)){j=l.getContent();g.push(j);}});return g;},_handleClick:function(m){var k,h=m.target,l=this,j=l.get("type"),i=b.CLASS_NAMES.SELECTED,g=h.hasClass(i);if(j==="checkbox"){h.toggleClass(i,!g);l.fire("selectionChange",{originEvent:m});}else{if(j==="radio"){if(!g){k=l.getButtons();k.removeClass(i);h.addClass(i);l.fire("selectionChange",{originEvent:m});}}}}},{NAME:"buttongroup",ATTRS:{type:{writeOnce:"initOnly",value:"radio"}},CLASS_NAMES:d});},"3.5.0",{requires:["button-plugin","cssbutton","widget"]}); \ No newline at end of file +YUI.add("button-group",function(f){var a="contentBox",e="button, input[type=button], input[type=reset], input[type=submit]",c="click",d=f.ButtonCore.CLASS_NAMES;function b(){b.superclass.constructor.apply(this,arguments);}f.ButtonGroup=f.extend(b,f.Widget,{renderUI:function(){this.getButtons().plug(f.Plugin.Button);},bindUI:function(){var h=this,g=h.get(a);g.delegate(c,h._handleClick,e,h);},getButtons:function(){var g=this.get(a);return g.all(e);},getSelectedButtons:function(){var j=this,h=[],i=j.getButtons(),g=b.CLASS_NAMES.SELECTED;i.each(function(k){if(k.hasClass(g)){h.push(k);}});return h;},getSelectedValues:function(){var k=this,j,g=[],i=k.getSelectedButtons(),h=b.CLASS_NAMES.SELECTED;f.Array.each(i,function(l){if(l.hasClass(h)){j=l.getContent();g.push(j);}});return g;},_handleClick:function(m){var k,h=m.target,l=this,j=l.get("type"),i=b.CLASS_NAMES.SELECTED,g=h.hasClass(i);if(j==="checkbox"){h.toggleClass(i,!g);l.fire("selectionChange",{originEvent:m});}else{if(j==="radio"){if(!g){k=l.getButtons();k.removeClass(i);h.addClass(i);l.fire("selectionChange",{originEvent:m});}}}}},{NAME:"buttongroup",ATTRS:{type:{writeOnce:"initOnly",value:"radio"}},CLASS_NAMES:d});},"3.5.1",{requires:["button-plugin","cssbutton","widget"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/button-group/button-group.js b/lib/yui/3.5.1/build/button-group/button-group.js similarity index 98% rename from lib/yui/3.5.0/build/button-group/button-group.js rename to lib/yui/3.5.1/build/button-group/button-group.js index 2fe90d717a4..c3187297f94 100644 --- a/lib/yui/3.5.0/build/button-group/button-group.js +++ b/lib/yui/3.5.1/build/button-group/button-group.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -179,4 +179,4 @@ Y.ButtonGroup = Y.extend(ButtonGroup, Y.Widget, { }); -}, '3.5.0' ,{requires:['button-plugin', 'cssbutton', 'widget']}); +}, '3.5.1' ,{requires:['button-plugin', 'cssbutton', 'widget']}); diff --git a/lib/yui/3.5.0/build/button-plugin/button-plugin-debug.js b/lib/yui/3.5.1/build/button-plugin/button-plugin-debug.js similarity index 97% rename from lib/yui/3.5.0/build/button-plugin/button-plugin-debug.js rename to lib/yui/3.5.1/build/button-plugin/button-plugin-debug.js index 7fb71cffca8..0225e9b3519 100644 --- a/lib/yui/3.5.0/build/button-plugin/button-plugin-debug.js +++ b/lib/yui/3.5.1/build/button-plugin/button-plugin-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -135,4 +135,4 @@ ButtonPlugin.createNode = function(node, config) { Y.namespace('Plugin').Button = ButtonPlugin; -}, '3.5.0' ,{requires:['button-core', 'cssbutton', 'node-pluginhost']}); +}, '3.5.1' ,{requires:['button-core', 'cssbutton', 'node-pluginhost']}); diff --git a/lib/yui/3.5.0/build/button-plugin/button-plugin-min.js b/lib/yui/3.5.1/build/button-plugin/button-plugin-min.js similarity index 92% rename from lib/yui/3.5.0/build/button-plugin/button-plugin-min.js rename to lib/yui/3.5.1/build/button-plugin/button-plugin-min.js index 7d96d9fe87e..f4dd5658a02 100644 --- a/lib/yui/3.5.0/build/button-plugin/button-plugin-min.js +++ b/lib/yui/3.5.1/build/button-plugin/button-plugin-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("button-plugin",function(b){function a(c){a.superclass.constructor.apply(this,arguments);}b.extend(a,b.ButtonCore,{_afterNodeGet:function(d){var c=this.constructor.ATTRS,e=c[d]&&c[d].getter&&this[c[d].getter];if(e){return new b.Do.AlterReturn("get "+d,e.call(this));}},_afterNodeSet:function(d,f){var c=this.constructor.ATTRS,e=c[d]&&c[d].setter&&this[c[d].setter];if(e){e.call(this,f);}},_initNode:function(c){var d=c.host;this._host=d;b.Do.after(this._afterNodeGet,d,"get",this);b.Do.after(this._afterNodeSet,d,"set",this);},destroy:function(){}},{ATTRS:b.merge(b.ButtonCore.ATTRS),NAME:"buttonPlugin",NS:"button"});a.createNode=function(e,c){var d;if(e&&!c){if(!(e.nodeType||e.getDOMNode||typeof e=="string")){c=e;e=c.srcNode;}}c=c||{};d=c.template||b.Plugin.Button.prototype.TEMPLATE;e=e||c.srcNode||b.DOM.create(d);return b.one(e).plug(b.Plugin.Button,c);};b.namespace("Plugin").Button=a;},"3.5.0",{requires:["button-core","cssbutton","node-pluginhost"]}); \ No newline at end of file +YUI.add("button-plugin",function(b){function a(c){a.superclass.constructor.apply(this,arguments);}b.extend(a,b.ButtonCore,{_afterNodeGet:function(d){var c=this.constructor.ATTRS,e=c[d]&&c[d].getter&&this[c[d].getter];if(e){return new b.Do.AlterReturn("get "+d,e.call(this));}},_afterNodeSet:function(d,f){var c=this.constructor.ATTRS,e=c[d]&&c[d].setter&&this[c[d].setter];if(e){e.call(this,f);}},_initNode:function(c){var d=c.host;this._host=d;b.Do.after(this._afterNodeGet,d,"get",this);b.Do.after(this._afterNodeSet,d,"set",this);},destroy:function(){}},{ATTRS:b.merge(b.ButtonCore.ATTRS),NAME:"buttonPlugin",NS:"button"});a.createNode=function(e,c){var d;if(e&&!c){if(!(e.nodeType||e.getDOMNode||typeof e=="string")){c=e;e=c.srcNode;}}c=c||{};d=c.template||b.Plugin.Button.prototype.TEMPLATE;e=e||c.srcNode||b.DOM.create(d);return b.one(e).plug(b.Plugin.Button,c);};b.namespace("Plugin").Button=a;},"3.5.1",{requires:["button-core","cssbutton","node-pluginhost"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/button-plugin/button-plugin.js b/lib/yui/3.5.1/build/button-plugin/button-plugin.js similarity index 97% rename from lib/yui/3.5.0/build/button-plugin/button-plugin.js rename to lib/yui/3.5.1/build/button-plugin/button-plugin.js index 7fb71cffca8..0225e9b3519 100644 --- a/lib/yui/3.5.0/build/button-plugin/button-plugin.js +++ b/lib/yui/3.5.1/build/button-plugin/button-plugin.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -135,4 +135,4 @@ ButtonPlugin.createNode = function(node, config) { Y.namespace('Plugin').Button = ButtonPlugin; -}, '3.5.0' ,{requires:['button-core', 'cssbutton', 'node-pluginhost']}); +}, '3.5.1' ,{requires:['button-core', 'cssbutton', 'node-pluginhost']}); diff --git a/lib/yui/3.5.0/build/button/button-debug.js b/lib/yui/3.5.1/build/button/button-debug.js similarity index 98% rename from lib/yui/3.5.0/build/button/button-debug.js rename to lib/yui/3.5.1/build/button/button-debug.js index d8a39148a51..8e80217a31f 100644 --- a/lib/yui/3.5.0/build/button/button-debug.js +++ b/lib/yui/3.5.1/build/button/button-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -322,4 +322,4 @@ Y.Button = Button; Y.ToggleButton = ToggleButton; -}, '3.5.0' ,{requires:['button-core', 'cssbutton', 'widget']}); +}, '3.5.1' ,{requires:['button-core', 'cssbutton', 'widget']}); diff --git a/lib/yui/3.5.0/build/button/button-min.js b/lib/yui/3.5.1/build/button/button-min.js similarity index 96% rename from lib/yui/3.5.0/build/button/button-min.js rename to lib/yui/3.5.1/build/button/button-min.js index f690fa6b618..7daa348a323 100644 --- a/lib/yui/3.5.0/build/button/button-min.js +++ b/lib/yui/3.5.1/build/button/button-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("button",function(e){var c=e.ButtonCore.CLASS_NAMES,b=e.ButtonCore.ARIA_STATES,f=e.ButtonCore.ARIA_ROLES;function a(g){a.superclass.constructor.apply(this,arguments);}e.extend(a,e.Widget,{BOUNDING_TEMPLATE:e.ButtonCore.prototype.TEMPLATE,CONTENT_TEMPLATE:null,initializer:function(g){this._host=this.get("boundingBox");},bindUI:function(){var g=this;g.after("labelChange",g._afterLabelChange);g.after("disabledChange",g._afterDisabledChange);},syncUI:function(){var g=this;g._uiSetLabel(g.get("label"));g._uiSetDisabled(g.get("disabled"));},_afterLabelChange:function(g){this._uiSetLabel(g.newVal);},_afterDisabledChange:function(g){this._uiSetDisabled(g.newVal);}},{NAME:"button",ATTRS:{label:{value:e.ButtonCore.ATTRS.label.value},disabled:{value:false}},HTML_PARSER:{label:function(g){this._host=g;return this._getLabel();},disabled:function(g){return g.getDOMNode().disabled;}},CLASS_NAMES:c});e.mix(a.prototype,e.ButtonCore.prototype);function d(g){a.superclass.constructor.apply(this,arguments);}e.extend(d,a,{trigger:"click",selectedAttrName:"",initializer:function(g){var i=this,j=i.get("type"),k=(j==="checkbox"?"checked":"pressed"),h=g[k]||false;i.addAttr(k,{value:h});i.selectedAttrName=k;},destructor:function(){delete this.selectedAttrName;},bindUI:function(){var h=this,g=h.get("contentBox");d.superclass.bindUI.call(h);g.on(h.trigger,h.toggle,h);h.after(h.selectedAttrName+"Change",h._afterSelectedChange);},syncUI:function(){var h=this,g=h.get("contentBox"),j=h.get("type"),i=d.ARIA_ROLES,l=(j==="checkbox"?i.CHECKBOX:i.TOGGLE),k=h.selectedAttrName;d.superclass.syncUI.call(h);g.set("role",l);h._uiSetSelected(h.get(k));},_afterSelectedChange:function(g){this._uiSetSelected(g.newVal);},_uiSetSelected:function(l){var i=this,g=i.get("contentBox"),h=d.ARIA_STATES,j=i.get("type"),k=(j==="checkbox"?h.CHECKED:h.PRESSED);g.toggleClass(a.CLASS_NAMES.SELECTED,l);g.set(k,l);},toggle:function(){var g=this;g._set(g.selectedAttrName,!g.get(g.selectedAttrName));}},{NAME:"toggleButton",ATTRS:{type:{value:"toggle",writeOnce:"initOnly"}},HTML_PARSER:{checked:function(g){return g.hasClass(c.SELECTED);},pressed:function(g){return g.hasClass(c.SELECTED);}},ARIA_STATES:b,ARIA_ROLES:f,CLASS_NAMES:c});e.Button=a;e.ToggleButton=d;},"3.5.0",{requires:["button-core","cssbutton","widget"]}); \ No newline at end of file +YUI.add("button",function(e){var c=e.ButtonCore.CLASS_NAMES,b=e.ButtonCore.ARIA_STATES,f=e.ButtonCore.ARIA_ROLES;function a(g){a.superclass.constructor.apply(this,arguments);}e.extend(a,e.Widget,{BOUNDING_TEMPLATE:e.ButtonCore.prototype.TEMPLATE,CONTENT_TEMPLATE:null,initializer:function(g){this._host=this.get("boundingBox");},bindUI:function(){var g=this;g.after("labelChange",g._afterLabelChange);g.after("disabledChange",g._afterDisabledChange);},syncUI:function(){var g=this;g._uiSetLabel(g.get("label"));g._uiSetDisabled(g.get("disabled"));},_afterLabelChange:function(g){this._uiSetLabel(g.newVal);},_afterDisabledChange:function(g){this._uiSetDisabled(g.newVal);}},{NAME:"button",ATTRS:{label:{value:e.ButtonCore.ATTRS.label.value},disabled:{value:false}},HTML_PARSER:{label:function(g){this._host=g;return this._getLabel();},disabled:function(g){return g.getDOMNode().disabled;}},CLASS_NAMES:c});e.mix(a.prototype,e.ButtonCore.prototype);function d(g){a.superclass.constructor.apply(this,arguments);}e.extend(d,a,{trigger:"click",selectedAttrName:"",initializer:function(g){var i=this,j=i.get("type"),k=(j==="checkbox"?"checked":"pressed"),h=g[k]||false;i.addAttr(k,{value:h});i.selectedAttrName=k;},destructor:function(){delete this.selectedAttrName;},bindUI:function(){var h=this,g=h.get("contentBox");d.superclass.bindUI.call(h);g.on(h.trigger,h.toggle,h);h.after(h.selectedAttrName+"Change",h._afterSelectedChange);},syncUI:function(){var h=this,g=h.get("contentBox"),j=h.get("type"),i=d.ARIA_ROLES,l=(j==="checkbox"?i.CHECKBOX:i.TOGGLE),k=h.selectedAttrName;d.superclass.syncUI.call(h);g.set("role",l);h._uiSetSelected(h.get(k));},_afterSelectedChange:function(g){this._uiSetSelected(g.newVal);},_uiSetSelected:function(l){var i=this,g=i.get("contentBox"),h=d.ARIA_STATES,j=i.get("type"),k=(j==="checkbox"?h.CHECKED:h.PRESSED);g.toggleClass(a.CLASS_NAMES.SELECTED,l);g.set(k,l);},toggle:function(){var g=this;g._set(g.selectedAttrName,!g.get(g.selectedAttrName));}},{NAME:"toggleButton",ATTRS:{type:{value:"toggle",writeOnce:"initOnly"}},HTML_PARSER:{checked:function(g){return g.hasClass(c.SELECTED);},pressed:function(g){return g.hasClass(c.SELECTED);}},ARIA_STATES:b,ARIA_ROLES:f,CLASS_NAMES:c});e.Button=a;e.ToggleButton=d;},"3.5.1",{requires:["button-core","cssbutton","widget"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/button/button.js b/lib/yui/3.5.1/build/button/button.js similarity index 98% rename from lib/yui/3.5.0/build/button/button.js rename to lib/yui/3.5.1/build/button/button.js index d8a39148a51..8e80217a31f 100644 --- a/lib/yui/3.5.0/build/button/button.js +++ b/lib/yui/3.5.1/build/button/button.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -322,4 +322,4 @@ Y.Button = Button; Y.ToggleButton = ToggleButton; -}, '3.5.0' ,{requires:['button-core', 'cssbutton', 'widget']}); +}, '3.5.1' ,{requires:['button-core', 'cssbutton', 'widget']}); diff --git a/lib/yui/3.5.0/build/cache-base/cache-base-debug.js b/lib/yui/3.5.1/build/cache-base/cache-base-debug.js similarity index 99% rename from lib/yui/3.5.0/build/cache-base/cache-base-debug.js rename to lib/yui/3.5.1/build/cache-base/cache-base-debug.js index e1a75e40ef5..a87ee6e0d7b 100644 --- a/lib/yui/3.5.0/build/cache-base/cache-base-debug.js +++ b/lib/yui/3.5.1/build/cache-base/cache-base-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -445,4 +445,4 @@ Y.extend(Cache, Y.Base, { Y.Cache = Cache; -}, '3.5.0' ,{requires:['base']}); +}, '3.5.1' ,{requires:['base']}); diff --git a/lib/yui/3.5.0/build/cache-base/cache-base-min.js b/lib/yui/3.5.1/build/cache-base/cache-base-min.js similarity index 97% rename from lib/yui/3.5.0/build/cache-base/cache-base-min.js rename to lib/yui/3.5.1/build/cache-base/cache-base-min.js index 3d180e436ca..569f66cfcaf 100644 --- a/lib/yui/3.5.0/build/cache-base/cache-base-min.js +++ b/lib/yui/3.5.1/build/cache-base/cache-base-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("cache-base",function(d){var a=d.Lang,b=d.Lang.isDate,c=function(){c.superclass.constructor.apply(this,arguments);};d.mix(c,{NAME:"cache",ATTRS:{max:{value:0,setter:"_setMax"},size:{readOnly:true,getter:"_getSize"},uniqueKeys:{value:false},expires:{value:0,validator:function(e){return d.Lang.isDate(e)||(d.Lang.isNumber(e)&&e>=0);}},entries:{readOnly:true,getter:"_getEntries"}}});d.extend(c,d.Base,{_entries:null,initializer:function(e){this.publish("add",{defaultFn:this._defAddFn});this.publish("flush",{defaultFn:this._defFlushFn});this._entries=[];},destructor:function(){this._entries=[];},_setMax:function(f){var e=this._entries;if(f>0){if(e){while(e.length>f){e.shift();}}}else{f=0;this._entries=[];}return f;},_getSize:function(){return this._entries.length;},_getEntries:function(){return this._entries;},_defAddFn:function(i){var g=this._entries,h=i.entry,f=this.get("max"),j;if(this.get("uniqueKeys")){j=this._position(i.entry.request);if(a.isValue(j)){g.splice(j,1);}}while(f&&g.length>=f){g.shift();}g[g.length]=h;},_defFlushFn:function(h){var f=this._entries,g=h.details[0],i;if(g&&a.isValue(g.request)){i=this._position(g.request);if(a.isValue(i)){f.splice(i,1);}}else{this._entries=[];}},_isMatch:function(f,e){if(!e.expires||new Date()0){for(;f>=0;f--){if(this._isMatch(h,e[f])){return f;}}}return null;},add:function(g,f){var e=this.get("expires");if(this.get("initialized")&&((this.get("max")===null)||this.get("max")>0)&&(a.isValue(g)||a.isNull(g)||a.isUndefined(g))){this.fire("add",{entry:{request:g,response:f,cached:new Date(),expires:b(e)?e:(e?new Date(new Date().getTime()+this.get("expires")):null)}});}else{}},flush:function(e){this.fire("flush",{request:(a.isValue(e)?e:null)});},retrieve:function(h){var e=this._entries,g=e.length,f=null,i;if((g>0)&&((this.get("max")===null)||(this.get("max")>0))){this.fire("request",{request:h});i=this._position(h);if(a.isValue(i)){f=e[i];this.fire("retrieve",{entry:f});if(i =0);}},entries:{readOnly:true,getter:"_getEntries"}}});d.extend(c,d.Base,{_entries:null,initializer:function(e){this.publish("add",{defaultFn:this._defAddFn});this.publish("flush",{defaultFn:this._defFlushFn});this._entries=[];},destructor:function(){this._entries=[];},_setMax:function(f){var e=this._entries;if(f>0){if(e){while(e.length>f){e.shift();}}}else{f=0;this._entries=[];}return f;},_getSize:function(){return this._entries.length;},_getEntries:function(){return this._entries;},_defAddFn:function(i){var g=this._entries,h=i.entry,f=this.get("max"),j;if(this.get("uniqueKeys")){j=this._position(i.entry.request);if(a.isValue(j)){g.splice(j,1);}}while(f&&g.length>=f){g.shift();}g[g.length]=h;},_defFlushFn:function(h){var f=this._entries,g=h.details[0],i;if(g&&a.isValue(g.request)){i=this._position(g.request);if(a.isValue(i)){f.splice(i,1);}}else{this._entries=[];}},_isMatch:function(f,e){if(!e.expires||new Date() 0){for(;f>=0;f--){if(this._isMatch(h,e[f])){return f;}}}return null;},add:function(g,f){var e=this.get("expires");if(this.get("initialized")&&((this.get("max")===null)||this.get("max")>0)&&(a.isValue(g)||a.isNull(g)||a.isUndefined(g))){this.fire("add",{entry:{request:g,response:f,cached:new Date(),expires:b(e)?e:(e?new Date(new Date().getTime()+this.get("expires")):null)}});}else{}},flush:function(e){this.fire("flush",{request:(a.isValue(e)?e:null)});},retrieve:function(h){var e=this._entries,g=e.length,f=null,i;if((g>0)&&((this.get("max")===null)||(this.get("max")>0))){this.fire("request",{request:h});i=this._position(h);if(a.isValue(i)){f=e[i];this.fire("retrieve",{entry:f});if(i -1;--g){h=a.key(g);if(h.indexOf(this.get("sandbox"))===0){a.removeItem(h);}}},retrieve:function(j){this.fire("request",{request:j});var i,g,h;try{h=this.get("sandbox")+c.stringify({"request":j});try{i=c.parse(a.getItem(h));}catch(l){}}catch(k){}if(i){i.cached=new Date(i.cached);g=i.expires;g=!g?null:new Date(g);i.expires=g;if(this._isMatch(j,i)){this.fire("retrieve",{entry:i});return i;}}return null;}}:{_setMax:function(e){return null;}});f.CacheOffline=d;},"3.5.0",{requires:["cache-base","json"]}); \ No newline at end of file +YUI.add("cache-offline",function(f){function d(){d.superclass.constructor.apply(this,arguments);}var a=null,c=f.JSON;try{a=f.config.win.localStorage;}catch(b){}f.mix(d,{NAME:"cacheOffline",ATTRS:{sandbox:{value:"default",writeOnce:"initOnly"},expires:{value:86400000},max:{value:null,readOnly:true},uniqueKeys:{value:true,readOnly:true,setter:function(){return true;}}},flushAll:function(){var e=a,g;if(e){if(e.clear){e.clear();}else{for(g in e){if(e.hasOwnProperty(g)){e.removeItem(g);delete e[g];}}}}else{}}});f.extend(d,f.Cache,a?{_setMax:function(e){return null;},_getSize:function(){var h=0,g=0,e=a.length;for(;g -1;--g){h=a.key(g);if(h.indexOf(this.get("sandbox"))===0){a.removeItem(h);}}},retrieve:function(j){this.fire("request",{request:j});var i,g,h;try{h=this.get("sandbox")+c.stringify({"request":j});try{i=c.parse(a.getItem(h));}catch(l){}}catch(k){}if(i){i.cached=new Date(i.cached);g=i.expires;g=!g?null:new Date(g);i.expires=g;if(this._isMatch(j,i)){this.fire("retrieve",{entry:i});return i;}}return null;}}:{_setMax:function(e){return null;}});f.CacheOffline=d;},"3.5.1",{requires:["cache-base","json"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/cache-offline/cache-offline.js b/lib/yui/3.5.1/build/cache-offline/cache-offline.js similarity index 99% rename from lib/yui/3.5.0/build/cache-offline/cache-offline.js rename to lib/yui/3.5.1/build/cache-offline/cache-offline.js index da4e41e0e18..038373faf40 100644 --- a/lib/yui/3.5.0/build/cache-offline/cache-offline.js +++ b/lib/yui/3.5.1/build/cache-offline/cache-offline.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -336,4 +336,4 @@ Y.extend(CacheOffline, Y.Cache, localStorage ? { Y.CacheOffline = CacheOffline; -}, '3.5.0' ,{requires:['cache-base', 'json']}); +}, '3.5.1' ,{requires:['cache-base', 'json']}); diff --git a/lib/yui/3.5.0/build/cache-plugin/cache-plugin-debug.js b/lib/yui/3.5.1/build/cache-plugin/cache-plugin-debug.js similarity index 94% rename from lib/yui/3.5.0/build/cache-plugin/cache-plugin-debug.js rename to lib/yui/3.5.1/build/cache-plugin/cache-plugin-debug.js index 4ede19206c6..b690fc9bb8c 100644 --- a/lib/yui/3.5.0/build/cache-plugin/cache-plugin-debug.js +++ b/lib/yui/3.5.1/build/cache-plugin/cache-plugin-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -56,4 +56,4 @@ Y.mix(CachePlugin, { Y.namespace("Plugin").Cache = CachePlugin; -}, '3.5.0' ,{requires:['plugin','cache-base']}); +}, '3.5.1' ,{requires:['plugin','cache-base']}); diff --git a/lib/yui/3.5.0/build/cache-plugin/cache-plugin-min.js b/lib/yui/3.5.1/build/cache-plugin/cache-plugin-min.js similarity index 79% rename from lib/yui/3.5.0/build/cache-plugin/cache-plugin-min.js rename to lib/yui/3.5.1/build/cache-plugin/cache-plugin-min.js index c6e0b1599f7..344036adf00 100644 --- a/lib/yui/3.5.0/build/cache-plugin/cache-plugin-min.js +++ b/lib/yui/3.5.1/build/cache-plugin/cache-plugin-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("cache-plugin",function(b){function a(e){var d=e&&e.cache?e.cache:b.Cache,f=b.Base.create("dataSourceCache",d,[b.Plugin.Base]),c=new f(e);f.NS="tmpClass";return c;}b.mix(a,{NS:"cache",NAME:"cachePlugin"});b.namespace("Plugin").Cache=a;},"3.5.0",{requires:["plugin","cache-base"]}); \ No newline at end of file +YUI.add("cache-plugin",function(b){function a(e){var d=e&&e.cache?e.cache:b.Cache,f=b.Base.create("dataSourceCache",d,[b.Plugin.Base]),c=new f(e);f.NS="tmpClass";return c;}b.mix(a,{NS:"cache",NAME:"cachePlugin"});b.namespace("Plugin").Cache=a;},"3.5.1",{requires:["plugin","cache-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/cache-plugin/cache-plugin.js b/lib/yui/3.5.1/build/cache-plugin/cache-plugin.js similarity index 94% rename from lib/yui/3.5.0/build/cache-plugin/cache-plugin.js rename to lib/yui/3.5.1/build/cache-plugin/cache-plugin.js index 4ede19206c6..b690fc9bb8c 100644 --- a/lib/yui/3.5.0/build/cache-plugin/cache-plugin.js +++ b/lib/yui/3.5.1/build/cache-plugin/cache-plugin.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -56,4 +56,4 @@ Y.mix(CachePlugin, { Y.namespace("Plugin").Cache = CachePlugin; -}, '3.5.0' ,{requires:['plugin','cache-base']}); +}, '3.5.1' ,{requires:['plugin','cache-base']}); diff --git a/lib/yui/3.5.0/build/calendar-base/assets/calendar-base-core.css b/lib/yui/3.5.1/build/calendar-base/assets/calendar-base-core.css similarity index 93% rename from lib/yui/3.5.0/build/calendar-base/assets/calendar-base-core.css rename to lib/yui/3.5.1/build/calendar-base/assets/calendar-base-core.css index 738ae35aee8..e410b3cd4b1 100644 --- a/lib/yui/3.5.0/build/calendar-base/assets/calendar-base-core.css +++ b/lib/yui/3.5.1/build/calendar-base/assets/calendar-base-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar-base/assets/calendar-core.css b/lib/yui/3.5.1/build/calendar-base/assets/calendar-core.css similarity index 96% rename from lib/yui/3.5.0/build/calendar-base/assets/calendar-core.css rename to lib/yui/3.5.1/build/calendar-base/assets/calendar-core.css index 82040af7ffc..d13f75d9716 100644 --- a/lib/yui/3.5.0/build/calendar-base/assets/calendar-core.css +++ b/lib/yui/3.5.1/build/calendar-base/assets/calendar-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar-base/assets/calendarnavigator-core.css b/lib/yui/3.5.1/build/calendar-base/assets/calendarnavigator-core.css similarity index 93% rename from lib/yui/3.5.0/build/calendar-base/assets/calendarnavigator-core.css rename to lib/yui/3.5.1/build/calendar-base/assets/calendarnavigator-core.css index cf065d11f83..6db6e61183f 100644 --- a/lib/yui/3.5.0/build/calendar-base/assets/calendarnavigator-core.css +++ b/lib/yui/3.5.1/build/calendar-base/assets/calendarnavigator-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/night/calendar-base-skin.css b/lib/yui/3.5.1/build/calendar-base/assets/skins/night/calendar-base-skin.css similarity index 99% rename from lib/yui/3.5.0/build/calendarnavigator/assets/skins/night/calendar-base-skin.css rename to lib/yui/3.5.1/build/calendar-base/assets/skins/night/calendar-base-skin.css index 0776969796c..39ae107a425 100644 --- a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/night/calendar-base-skin.css +++ b/lib/yui/3.5.1/build/calendar-base/assets/skins/night/calendar-base-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar-base/assets/skins/night/calendar-base.css b/lib/yui/3.5.1/build/calendar-base/assets/skins/night/calendar-base.css similarity index 98% rename from lib/yui/3.5.0/build/calendar-base/assets/skins/night/calendar-base.css rename to lib/yui/3.5.1/build/calendar-base/assets/skins/night/calendar-base.css index 4fbf4aaf476..63c7e51f2b3 100644 --- a/lib/yui/3.5.0/build/calendar-base/assets/skins/night/calendar-base.css +++ b/lib/yui/3.5.1/build/calendar-base/assets/skins/night/calendar-base.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/night/calendar-skin.css b/lib/yui/3.5.1/build/calendar-base/assets/skins/night/calendar-skin.css similarity index 93% rename from lib/yui/3.5.0/build/calendarnavigator/assets/skins/night/calendar-skin.css rename to lib/yui/3.5.1/build/calendar-base/assets/skins/night/calendar-skin.css index b6c3f5cacc5..897d2368224 100644 --- a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/night/calendar-skin.css +++ b/lib/yui/3.5.1/build/calendar-base/assets/skins/night/calendar-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/night/calendarnavigator-skin.css b/lib/yui/3.5.1/build/calendar-base/assets/skins/night/calendarnavigator-skin.css similarity index 99% rename from lib/yui/3.5.0/build/calendarnavigator/assets/skins/night/calendarnavigator-skin.css rename to lib/yui/3.5.1/build/calendar-base/assets/skins/night/calendarnavigator-skin.css index 43e42a302b3..484dbc6b431 100644 --- a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/night/calendarnavigator-skin.css +++ b/lib/yui/3.5.1/build/calendar-base/assets/skins/night/calendarnavigator-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/sam/calendar-base-skin.css b/lib/yui/3.5.1/build/calendar-base/assets/skins/sam/calendar-base-skin.css similarity index 99% rename from lib/yui/3.5.0/build/calendarnavigator/assets/skins/sam/calendar-base-skin.css rename to lib/yui/3.5.1/build/calendar-base/assets/skins/sam/calendar-base-skin.css index 99c4193bc90..28ae39ef5c7 100644 --- a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/sam/calendar-base-skin.css +++ b/lib/yui/3.5.1/build/calendar-base/assets/skins/sam/calendar-base-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/calendar-base.css b/lib/yui/3.5.1/build/calendar-base/assets/skins/sam/calendar-base.css similarity index 98% rename from lib/yui/3.5.0/build/assets/skins/sam/calendar-base.css rename to lib/yui/3.5.1/build/calendar-base/assets/skins/sam/calendar-base.css index 1fc92bce77f..9132295761b 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/calendar-base.css +++ b/lib/yui/3.5.1/build/calendar-base/assets/skins/sam/calendar-base.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/sam/calendar-skin.css b/lib/yui/3.5.1/build/calendar-base/assets/skins/sam/calendar-skin.css similarity index 93% rename from lib/yui/3.5.0/build/calendarnavigator/assets/skins/sam/calendar-skin.css rename to lib/yui/3.5.1/build/calendar-base/assets/skins/sam/calendar-skin.css index 08584b38745..7dbe7c4d683 100644 --- a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/sam/calendar-skin.css +++ b/lib/yui/3.5.1/build/calendar-base/assets/skins/sam/calendar-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar-base/assets/skins/sam/calendarnavigator-skin.css b/lib/yui/3.5.1/build/calendar-base/assets/skins/sam/calendarnavigator-skin.css similarity index 99% rename from lib/yui/3.5.0/build/calendar-base/assets/skins/sam/calendarnavigator-skin.css rename to lib/yui/3.5.1/build/calendar-base/assets/skins/sam/calendarnavigator-skin.css index dfdd681a009..afe5eafed22 100644 --- a/lib/yui/3.5.0/build/calendar-base/assets/skins/sam/calendarnavigator-skin.css +++ b/lib/yui/3.5.1/build/calendar-base/assets/skins/sam/calendarnavigator-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar-base/calendar-base-debug.js b/lib/yui/3.5.1/build/calendar-base/calendar-base-debug.js similarity index 99% rename from lib/yui/3.5.0/build/calendar-base/calendar-base-debug.js rename to lib/yui/3.5.1/build/calendar-base/calendar-base-debug.js index 330a868c3fb..ec3a0afa3ec 100644 --- a/lib/yui/3.5.0/build/calendar-base/calendar-base-debug.js +++ b/lib/yui/3.5.1/build/calendar-base/calendar-base-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -1699,4 +1699,4 @@ Y.CalendarBase = Y.extend( CalendarBase, Y.Widget, { }); -}, '3.5.0' ,{requires:['widget', 'substitute', 'datatype-date', 'datatype-date-math', 'cssgrids'], lang:['de', 'en', 'fr', 'ja', 'nb-NO', 'pt-BR', 'ru', 'zh-HANT-TW']}); +}, '3.5.1' ,{requires:['widget', 'substitute', 'datatype-date', 'datatype-date-math', 'cssgrids'], lang:['de', 'en', 'fr', 'ja', 'nb-NO', 'pt-BR', 'ru', 'zh-HANT-TW']}); diff --git a/lib/yui/3.5.0/build/calendar-base/calendar-base-min.js b/lib/yui/3.5.1/build/calendar-base/calendar-base-min.js similarity index 99% rename from lib/yui/3.5.0/build/calendar-base/calendar-base-min.js rename to lib/yui/3.5.1/build/calendar-base/calendar-base-min.js index 35e0896c272..8324b6c56ce 100644 --- a/lib/yui/3.5.0/build/calendar-base/calendar-base-min.js +++ b/lib/yui/3.5.1/build/calendar-base/calendar-base-min.js @@ -1,9 +1,9 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("calendar-base",function(c){var E=c.ClassNameManager.getClassName,r="calendar",k=E(r,"grid"),d=E(r,"left-grid"),y=E(r,"right-grid"),A=E(r,"body"),q=E(r,"header"),n=E(r,"header-label"),s=E(r,"weekdayrow"),C=E(r,"weekday"),w=E(r,"column-hidden"),e=E(r,"day-selected"),h=E(r,"selection-disabled"),l=E(r,"row"),D=E(r,"day"),b=E(r,"prevmonth-day"),t=E(r,"nextmonth-day"),z=E(r,"anchor"),H=E(r,"pane"),g=E(r,"status"),j=c.Lang,u=c.Node,m=u.create,v=c.substitute,f=c.each,G=c.Array.hasValue,x=c.Array.indexOf,F=c.Object.hasKey,a=c.Object.setValue,i=c.Object.owns,p=c.Object.isEmpty,o=c.DataType.Date;function B(I){B.superclass.constructor.apply(this,arguments);}c.CalendarBase=c.extend(B,c.Widget,{_paneProperties:{},_paneNumber:1,_calendarId:null,_selectedDates:{},_rules:{},_filterFunction:null,_storedDateCells:{},initializer:function(){this._paneProperties={};this._calendarId=c.guid("calendar");this._selectedDates={};this._rules={};this._storedDateCells={};},renderUI:function(){var I=this.get("contentBox");I.appendChild(this._initCalendarHTML(this.get("date")));if(this.get("showPrevMonth")){this._afterShowPrevMonthChange();}if(this.get("showNextMonth")){this._afterShowNextMonthChange();}this._renderCustomRules();this._renderSelectedDates();this.get("boundingBox").setAttribute("aria-labelledby",this._calendarId+"_header");},bindUI:function(){this.after("dateChange",this._afterDateChange);this.after("showPrevMonthChange",this._afterShowPrevMonthChange);this.after("showNextMonthChange",this._afterShowNextMonthChange);this.after("headerRendererChange",this._afterHeaderRendererChange);this.after("customRendererChange",this._afterCustomRendererChange);this.after("enabledDatesRuleChange",this._afterCustomRendererChange);this.after("disabledDatesRuleChange",this._afterCustomRendererChange);this.after("focusedChange",this._afterFocusedChange);this._bindCalendarEvents();},syncUI:function(){if(this.get("showPrevMonth")){this._afterShowPrevMonthChange();}if(this.get("showNextMonth")){this._afterShowNextMonthChange();}},_getSelectedDatesList:function(){var I=[];f(this._selectedDates,function(J){f(J,function(K){f(K,function(L){I.push(L);},this);},this);},this);return I;},_getSelectedDatesInMonth:function(J){var I=J.getFullYear(),K=J.getMonth();if(F(this._selectedDates,I)&&F(this._selectedDates[I],K)){return c.Object.values(this._selectedDates[I][K]);}else{return[];}},_renderSelectedDate:function(I){if(this._isDateVisible(I)){this._dateToNode(I).addClass(e).setAttribute("aria-selected",true);}},_renderUnselectedDate:function(I){if(this._isDateVisible(I)){this._dateToNode(I).removeClass(e).setAttribute("aria-selected",false);}},_isDateVisible:function(I){var J=this.get("date"),K=o.addMonths(J,this._paneNumber-1),L=this._normalizeDate(I).getTime();if(J.getTime()<=L&&L<=K){return true;}else{return false;}},_isNumInList:function(J,M){if(M=="all"){return true;}else{var L=M.split(","),K=L.length;while(K--){var I=L[K].split("-");if(I.length==2&&J>=parseInt(I[0],10)&&J<=parseInt(I[1],10)){return true;}else{if(I.length==1&&(parseInt(L[K],10)==J)){return true;}}}return false;}},_getRulesForDate:function(S){var O=S.getFullYear(),M=S.getMonth(),K=S.getDate(),N=S.getDay(),R=this._rules,P=[],L,J,I,Q;for(L in R){if(this._isNumInList(O,L)){if(j.isString(R[L])){P.push(R[L]);}else{for(J in R[L]){if(this._isNumInList(M,J)){if(j.isString(R[L][J])){P.push(R[L][J]);}else{for(I in R[L][J]){if(this._isNumInList(K,I)){if(j.isString(R[L][J][I])){P.push(R[L][J][I]);}else{for(Q in R[L][J][I]){if(this._isNumInList(N,Q)){if(j.isString(R[L][J][I][Q])){P.push(R[L][J][I][Q]);}}}}}}}}}}}}return P;},_matchesRule:function(I,J){return(x(this._getRulesForDate(I),J)>=0);},_canBeSelected:function(K){var I=this.get("enabledDatesRule"),J=this.get("disabledDatesRule");if(I){return this._matchesRule(K,I);}else{if(J){return !this._matchesRule(K,J);}else{return true;}}},selectDates:function(I){if(o.isValidDate(I)){this._addDateToSelection(I);}else{if(j.isArray(I)){this._addDatesToSelection(I);}}},deselectDates:function(I){if(!I){this._clearSelection();}else{if(o.isValidDate(I)){this._removeDateFromSelection(I);}else{if(j.isArray(I)){this._removeDatesFromSelection(I);}}}},_addDateToSelection:function(L,J){if(this._canBeSelected(L)){var K=L.getFullYear(),M=L.getMonth(),I=L.getDate();if(F(this._selectedDates,K)){if(F(this._selectedDates[K],M)){this._selectedDates[K][M][I]=L;}else{this._selectedDates[K][M]={};this._selectedDates[K][M][I]=L;}}else{this._selectedDates[K]={};this._selectedDates[K][M]={};this._selectedDates[K][M][I]=L;}this._selectedDates=a(this._selectedDates,[K,M,I],L);this._renderSelectedDate(L);if(!J){this._fireSelectionChange();}}},_addDatesToSelection:function(I){f(I,this._addDateToSelection,this);this._fireSelectionChange();},_addDateRangeToSelection:function(I,N){var J=(N.getTimezoneOffset()-I.getTimezoneOffset())*60000,L=I.getTime(),K=N.getTime();if(L>K){var P=L;L=K;K=P+J;}else{K=K-J;}for(var M=L;M<=K;M+=86400000){var O=new Date(M);O.setHours(12);this._addDateToSelection(O,M);}this._fireSelectionChange();},_removeDateFromSelection:function(L,J){var K=L.getFullYear(),M=L.getMonth(),I=L.getDate();if(F(this._selectedDates,K)&&F(this._selectedDates[K],M)&&F(this._selectedDates[K][M],I)){delete this._selectedDates[K][M][I];this._renderUnselectedDate(L);if(!J){this._fireSelectionChange();}}},_removeDatesFromSelection:function(I){f(I,this._removeDateDromSelection);this._fireSelectionChange();},_removeDateRangeFromSelection:function(I,M){var K=I.getTime(),J=M.getTime();for(var L=K;L<=J;L+=86400000){this._removeDateFromSelection(new Date(L),L);}this._fireSelectionChange();},_clearSelection:function(I){this._selectedDates={};this.get("contentBox").all("."+e).removeClass(e).setAttribute("aria-selected",false);if(!I){this._fireSelectionChange();}},_fireSelectionChange:function(){this.fire("selectionChange",{newSelection:this._getSelectedDatesList()});},_restoreModifiedCells:function(){var I=this.get("contentBox"),J;for(J in this._storedDateCells){I.one("#"+J).replace(this._storedDateCells[J]); delete this._storedDateCells[J];}},_renderCustomRules:function(){this.get("contentBox").all("."+D+",."+t).removeClass(h).setAttribute("aria-disabled",false);if(!p(this._rules)){var L=this.get("enabledDatesRule"),K=this.get("disabledDatesRule");for(var J=0;J 0){var O=this._dateToNode(N);if((L&&x(P,L)<0)||(!L&&K&&x(P,K)>=0)){O.addClass(h).setAttribute("aria-disabled",true);}if(j.isFunction(this._filterFunction)){this._storedDateCells[O.get("id")]=O.cloneNode(true);this._filterFunction(N,O,P);}}else{if(L){var O=this._dateToNode(N);O.addClass(h).setAttribute("aria-disabled",true);}}},this);}}},_renderSelectedDates:function(){this.get("contentBox").all("."+e).removeClass(e).setAttribute("aria-selected",false);for(var J=0;J =6){K=12;}else{K=5;}break;case (1):K=6;break;case (2):if(N>0){K=7;}else{K=0;}break;case (3):if(N>1){K=8;}else{K=1;}break;case (4):if(N>2){K=9;}else{K=2;}break;case (5):if(N>3){K=10;}else{K=3;}break;case (6):if(N>4){K=11;}else{K=4;}break;}return(this.get("contentBox").one("#"+this._calendarId+"_pane_"+M+"_"+K+"_"+I));},_nodeToDate:function(O){var J=O.get("id").split("_").reverse(),L=parseInt(J[2],10),I=parseInt(J[0],10);var N=o.addMonths(this.get("date"),L),K=N.getFullYear(),M=N.getMonth();return new Date(K,M,I,12,0,0,0);},_bindCalendarEvents:function(){},_normalizeDate:function(I){if(I){return new Date(I.getFullYear(),I.getMonth(),1,12,0,0,0);}else{return null;}},_getCutoffColumn:function(J,K){var L=this._normalizeDate(J).getDay()-K;var I=6-(L+7)%7;return I;},_turnPrevMonthOn:function(M){var L=M.get("id"),J=this._paneProperties[L].paneDate,K=o.daysInMonth(o.addMonths(J,-1));if(!this._paneProperties[L].hasOwnProperty("daysInPrevMonth")){this._paneProperties[L].daysInPrevMonth=0;}if(K!=this._paneProperties[L].daysInPrevMonth){this._paneProperties[L].daysInPrevMonth=K;for(var I=5;I>=0;I--){M.one("#"+L+"_"+I+"_"+(I-5)).set("text",K--);}}},_turnPrevMonthOff:function(K){var J=K.get("id");this._paneProperties[J].daysInPrevMonth=0;for(var I=5;I>=0;I--){K.one("#"+J+"_"+I+"_"+(I-5)).setContent(" ");}},_cleanUpNextMonthCells:function(J){var I=J.get("id");J.one("#"+I+"_6_29").removeClass(t);J.one("#"+I+"_7_30").removeClass(t);J.one("#"+I+"_8_31").removeClass(t);J.one("#"+I+"_0_30").removeClass(t);J.one("#"+I+"_1_31").removeClass(t);},_turnNextMonthOn:function(O){var J=1,N=O.get("id"),K=this._paneProperties[N].daysInMonth,M=this._paneProperties[N].cutoffCol;for(var I=K-22;I J){W=t;}}if(Z<1||Z>J){Z=" ";}var Q=(M>=Y&&M<(Y+7))?"":w;U[P]+=v(B.CALDAY_TEMPLATE,{day_content:Z,calendar_col_class:"calendar_col"+M,calendar_col_visibility_class:Q,calendar_day_class:W,calendar_day_id:T});}}R["body_template"]="";f(U,function(aa){R["body_template"]+=v(B.CALDAY_ROW_TEMPLATE,{calday_row:aa});});R["calendar_pane_id"]=V;R["calendar_pane_tabindex"]=this.get("tabIndex");R["pane_arialabel"]=o.format(O,{format:"%B %Y"});var S=v(v(B.CALENDAR_GRID_TEMPLATE,R),B.CALENDAR_STRINGS);this._paneProperties[V]={cutoffCol:Y,daysInMonth:J,paneDate:O};return S;},_rerenderCalendarPane:function(P,K){var I=this.get("strings.first_weekday")||0,O=this._getCutoffColumn(P,I),J=o.daysInMonth(P),M=K.get("id"); -K.setStyle("visibility","hidden");K.setAttribute("aria-label",o.format(P,{format:"%B %Y"}));for(var L=0;L<=12;L++){var N=K.all("."+"calendar_col"+L);N.removeClass(w);if(L =(O+7)){N.addClass(w);}else{switch(L){case 0:var Q=K.one("#"+M+"_0_30");if(J>=30){Q.set("text","30");Q.removeClass(t).addClass(D);}else{Q.setContent(" ");Q.addClass(t).addClass(D);}break;case 1:var Q=K.one("#"+M+"_1_31");if(J>=31){Q.set("text","31");Q.removeClass(t).addClass(D);}else{Q.setContent(" ");Q.removeClass(D).addClass(t);}break;case 6:var Q=K.one("#"+M+"_6_29");if(J>=29){Q.set("text","29");Q.removeClass(t).addClass(D);}else{Q.setContent(" ");Q.removeClass(D).addClass(t);}break;case 7:var Q=K.one("#"+M+"_7_30");if(J>=30){Q.set("text","30");Q.removeClass(t).addClass(D);}else{Q.setContent(" ");Q.removeClass(D).addClass(t);}break;case 8:var Q=K.one("#"+M+"_8_31");if(J>=31){Q.set("text","31");Q.removeClass(t).addClass(D);}else{Q.setContent(" ");Q.removeClass(D).addClass(t);}break;}}}this._paneProperties[M].cutoffCol=O;this._paneProperties[M].daysInMonth=J;this._paneProperties[M].paneDate=P;K.setStyle("visibility","visible");},_updateCalendarHeader:function(K){var J="",I=this.get("headerRenderer");if(c.Lang.isString(I)){J=o.format(K,{format:I});}else{if(I instanceof Function){J=I.call(this,K);}}return J;},_initCalendarHeader:function(I){return v(v(B.HEADER_TEMPLATE,{calheader:this._updateCalendarHeader(I),calendar_id:this._calendarId}),B.CALENDAR_STRINGS);},_initCalendarHTML:function(L){var K={},I=0;K["header_template"]=this._initCalendarHeader(L);K["calendar_id"]=this._calendarId;K["body_template"]=v(v(B.CONTENT_TEMPLATE,K),B.CALENDAR_STRINGS);function M(){var N=this._initCalendarPane(o.addMonths(L,I),K["calendar_id"]+"_pane_"+I);I++;return N;}var J=K["body_template"].replace(/\{calendar_grid_template\}/g,c.bind(M,this));this._paneNumber=I;return J;}},{CALENDAR_STRINGS:{calendar_grid_class:k,calendar_body_class:A,calendar_hd_class:q,calendar_hd_label_class:n,calendar_weekdayrow_class:s,calendar_weekday_class:C,calendar_row_class:l,calendar_day_class:D,calendar_dayanchor_class:z,calendar_pane_class:H,calendar_right_grid_class:y,calendar_left_grid_class:d,calendar_status_class:g},CONTENT_TEMPLATE:' '+"{header_template}"+'",ONE_PANE_TEMPLATE:''+"{calendar_grid_template}"+""+"'+"{header_template}"+'",TWO_PANE_TEMPLATE:''+"{calendar_grid_template}"+""+"'+"{header_template}"+'",THREE_PANE_TEMPLATE:''+'"+''+"{calendar_grid_template}"+""+"'+'"+"'+"{calendar_grid_template}"+""+"'+"{header_template}"+'",CALENDAR_GRID_TEMPLATE:''+'"+''+"{calendar_grid_template}"+""+"'+"{calendar_grid_template}"+""+''+'"+"'+"{calendar_grid_template}"+""+"'+""+"{weekday_row_template}"+""+""+"{body_template}"+""+"
",HEADER_TEMPLATE:''+'",WEEKDAY_ROW_TEMPLATE:''+"{calheader}"+""+"'+"{weekday_row}"+" ",CALDAY_ROW_TEMPLATE:''+"{calday_row}"+" ",WEEKDAY_TEMPLATE:'{weekdayname} ',CALDAY_TEMPLATE:''+"{day_content}"+" ",NAME:"calendarBase",ATTRS:{tabIndex:{value:1},date:{value:new Date(),setter:function(J){var I=this._normalizeDate(J);if(o.areEqual(I,this.get("date"))){return this.get("date");}else{return I;}}},showPrevMonth:{value:false},showNextMonth:{value:false},strings:{valueFn:function(){return c.Intl.get("calendar-base");}},headerRenderer:{value:"%B %Y"},enabledDatesRule:{value:null},disabledDatesRule:{value:null},selectedDates:{readOnly:true,getter:function(I){return(this._getSelectedDatesList());}},customRenderer:{value:{},setter:function(I){this._rules=I.rules;this._filterFunction=I.filterFunction;}}}});},"3.5.0",{requires:["widget","substitute","datatype-date","datatype-date-math","cssgrids"],lang:["de","en","fr","ja","nb-NO","pt-BR","ru","zh-HANT-TW"]}); \ No newline at end of file +K.setStyle("visibility","hidden");K.setAttribute("aria-label",o.format(P,{format:"%B %Y"}));for(var L=0;L<=12;L++){var N=K.all("."+"calendar_col"+L);N.removeClass(w);if(L=(O+7)){N.addClass(w);}else{switch(L){case 0:var Q=K.one("#"+M+"_0_30");if(J>=30){Q.set("text","30");Q.removeClass(t).addClass(D);}else{Q.setContent(" ");Q.addClass(t).addClass(D);}break;case 1:var Q=K.one("#"+M+"_1_31");if(J>=31){Q.set("text","31");Q.removeClass(t).addClass(D);}else{Q.setContent(" ");Q.removeClass(D).addClass(t);}break;case 6:var Q=K.one("#"+M+"_6_29");if(J>=29){Q.set("text","29");Q.removeClass(t).addClass(D);}else{Q.setContent(" ");Q.removeClass(D).addClass(t);}break;case 7:var Q=K.one("#"+M+"_7_30");if(J>=30){Q.set("text","30");Q.removeClass(t).addClass(D);}else{Q.setContent(" ");Q.removeClass(D).addClass(t);}break;case 8:var Q=K.one("#"+M+"_8_31");if(J>=31){Q.set("text","31");Q.removeClass(t).addClass(D);}else{Q.setContent(" ");Q.removeClass(D).addClass(t);}break;}}}this._paneProperties[M].cutoffCol=O;this._paneProperties[M].daysInMonth=J;this._paneProperties[M].paneDate=P;K.setStyle("visibility","visible");},_updateCalendarHeader:function(K){var J="",I=this.get("headerRenderer");if(c.Lang.isString(I)){J=o.format(K,{format:I});}else{if(I instanceof Function){J=I.call(this,K);}}return J;},_initCalendarHeader:function(I){return v(v(B.HEADER_TEMPLATE,{calheader:this._updateCalendarHeader(I),calendar_id:this._calendarId}),B.CALENDAR_STRINGS);},_initCalendarHTML:function(L){var K={},I=0;K["header_template"]=this._initCalendarHeader(L);K["calendar_id"]=this._calendarId;K["body_template"]=v(v(B.CONTENT_TEMPLATE,K),B.CALENDAR_STRINGS);function M(){var N=this._initCalendarPane(o.addMonths(L,I),K["calendar_id"]+"_pane_"+I);I++;return N;}var J=K["body_template"].replace(/\{calendar_grid_template\}/g,c.bind(M,this));this._paneNumber=I;return J;}},{CALENDAR_STRINGS:{calendar_grid_class:k,calendar_body_class:A,calendar_hd_class:q,calendar_hd_label_class:n,calendar_weekdayrow_class:s,calendar_weekday_class:C,calendar_row_class:l,calendar_day_class:D,calendar_dayanchor_class:z,calendar_pane_class:H,calendar_right_grid_class:y,calendar_left_grid_class:d,calendar_status_class:g},CONTENT_TEMPLATE:' '+"{header_template}"+'",ONE_PANE_TEMPLATE:''+"{calendar_grid_template}"+""+"'+"{header_template}"+'",TWO_PANE_TEMPLATE:''+"{calendar_grid_template}"+""+"'+"{header_template}"+'",THREE_PANE_TEMPLATE:''+'"+''+"{calendar_grid_template}"+""+"'+'"+"'+"{calendar_grid_template}"+""+"'+"{header_template}"+'",CALENDAR_GRID_TEMPLATE:''+'"+''+"{calendar_grid_template}"+""+"'+"{calendar_grid_template}"+""+''+'"+"'+"{calendar_grid_template}"+""+"'+""+"{weekday_row_template}"+""+""+"{body_template}"+""+"
",HEADER_TEMPLATE:''+'",WEEKDAY_ROW_TEMPLATE:''+"{calheader}"+""+"'+"{weekday_row}"+" ",CALDAY_ROW_TEMPLATE:''+"{calday_row}"+" ",WEEKDAY_TEMPLATE:'{weekdayname} ',CALDAY_TEMPLATE:''+"{day_content}"+" ",NAME:"calendarBase",ATTRS:{tabIndex:{value:1},date:{value:new Date(),setter:function(J){var I=this._normalizeDate(J);if(o.areEqual(I,this.get("date"))){return this.get("date");}else{return I;}}},showPrevMonth:{value:false},showNextMonth:{value:false},strings:{valueFn:function(){return c.Intl.get("calendar-base");}},headerRenderer:{value:"%B %Y"},enabledDatesRule:{value:null},disabledDatesRule:{value:null},selectedDates:{readOnly:true,getter:function(I){return(this._getSelectedDatesList());}},customRenderer:{value:{},setter:function(I){this._rules=I.rules;this._filterFunction=I.filterFunction;}}}});},"3.5.1",{requires:["widget","substitute","datatype-date","datatype-date-math","cssgrids"],lang:["de","en","fr","ja","nb-NO","pt-BR","ru","zh-HANT-TW"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar-base/calendar-base.js b/lib/yui/3.5.1/build/calendar-base/calendar-base.js similarity index 99% rename from lib/yui/3.5.0/build/calendar-base/calendar-base.js rename to lib/yui/3.5.1/build/calendar-base/calendar-base.js index 330a868c3fb..ec3a0afa3ec 100644 --- a/lib/yui/3.5.0/build/calendar-base/calendar-base.js +++ b/lib/yui/3.5.1/build/calendar-base/calendar-base.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -1699,4 +1699,4 @@ Y.CalendarBase = Y.extend( CalendarBase, Y.Widget, { }); -}, '3.5.0' ,{requires:['widget', 'substitute', 'datatype-date', 'datatype-date-math', 'cssgrids'], lang:['de', 'en', 'fr', 'ja', 'nb-NO', 'pt-BR', 'ru', 'zh-HANT-TW']}); +}, '3.5.1' ,{requires:['widget', 'substitute', 'datatype-date', 'datatype-date-math', 'cssgrids'], lang:['de', 'en', 'fr', 'ja', 'nb-NO', 'pt-BR', 'ru', 'zh-HANT-TW']}); diff --git a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base.js b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base.js similarity index 82% rename from lib/yui/3.5.0/build/calendar-base/lang/calendar-base.js rename to lib/yui/3.5.1/build/calendar-base/lang/calendar-base.js index 87000602c56..8ccbafa914c 100644 --- a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base.js +++ b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar-base",function(a){a.Intl.add("calendar-base","",{weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short_weekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],very_short_weekdays:["Su","Mo","Tu","We","Th","Fr","Sa"],first_weekday:0,weekends:[0,6]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar-base",function(a){a.Intl.add("calendar-base","",{weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short_weekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],very_short_weekdays:["Su","Mo","Tu","We","Th","Fr","Sa"],first_weekday:0,weekends:[0,6]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_de.js b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_de.js similarity index 92% rename from lib/yui/3.5.0/build/calendar-base/lang/calendar-base_de.js rename to lib/yui/3.5.1/build/calendar-base/lang/calendar-base_de.js index a555fc9e394..e4f1df16f21 100644 --- a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_de.js +++ b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_de.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar-base_de",function(a){a.Intl.add("calendar-base","de",{weekdays:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],very_short_weekdays:["So","Mo","Di","Mi","Do","Fr","Sa"],first_weekday:1,weekends:[0,6]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar-base_de",function(a){a.Intl.add("calendar-base","de",{weekdays:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],very_short_weekdays:["So","Mo","Di","Mi","Do","Fr","Sa"],first_weekday:1,weekends:[0,6]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_en.js b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_en.js similarity index 81% rename from lib/yui/3.5.0/build/calendar-base/lang/calendar-base_en.js rename to lib/yui/3.5.1/build/calendar-base/lang/calendar-base_en.js index 4b1e4f1d296..89dba8517be 100644 --- a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_en.js +++ b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_en.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar-base_en",function(a){a.Intl.add("calendar-base","en",{weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short_weekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],very_short_weekdays:["Su","Mo","Tu","We","Th","Fr","Sa"],first_weekday:0,weekends:[0,6]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar-base_en",function(a){a.Intl.add("calendar-base","en",{weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short_weekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],very_short_weekdays:["Su","Mo","Tu","We","Th","Fr","Sa"],first_weekday:0,weekends:[0,6]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_fr.js b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_fr.js similarity index 82% rename from lib/yui/3.5.0/build/calendar-base/lang/calendar-base_fr.js rename to lib/yui/3.5.1/build/calendar-base/lang/calendar-base_fr.js index 4309713ca9f..b12e11fd64e 100644 --- a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_fr.js +++ b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_fr.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar-base_fr",function(a){a.Intl.add("calendar-base","fr",{weekdays:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],short_weekdays:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],very_short_weekdays:["Di","Lu","Ma","Me","Je","Ve","Sa"],first_weekday:1,weekends:[0,6]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar-base_fr",function(a){a.Intl.add("calendar-base","fr",{weekdays:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],short_weekdays:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],very_short_weekdays:["Di","Lu","Ma","Me","Je","Ve","Sa"],first_weekday:1,weekends:[0,6]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_ja.js b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_ja.js similarity index 90% rename from lib/yui/3.5.0/build/calendar-base/lang/calendar-base_ja.js rename to lib/yui/3.5.1/build/calendar-base/lang/calendar-base_ja.js index 0fc36f8f2a6..2c8b14d2e32 100644 --- a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_ja.js +++ b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_ja.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar-base_ja",function(a){a.Intl.add("calendar-base","ja",{weekdays:["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5"],short_weekdays:["\u65E5\u66DC","\u6708\u66DC","\u706B\u66DC","\u6C34\u66DC","\u6728\u66DC","\u91D1\u66DC","\u571F\u66DC"],very_short_weekdays:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],first_weekday:0,weekends:[0,6]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar-base_ja",function(a){a.Intl.add("calendar-base","ja",{weekdays:["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5"],short_weekdays:["\u65E5\u66DC","\u6708\u66DC","\u706B\u66DC","\u6C34\u66DC","\u6728\u66DC","\u91D1\u66DC","\u571F\u66DC"],very_short_weekdays:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],first_weekday:0,weekends:[0,6]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_nb-NO.js b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_nb-NO.js similarity index 92% rename from lib/yui/3.5.0/build/calendar-base/lang/calendar-base_nb-NO.js rename to lib/yui/3.5.1/build/calendar-base/lang/calendar-base_nb-NO.js index c9194b99ac8..a8b44eed4ca 100644 --- a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_nb-NO.js +++ b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_nb-NO.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar-base_nb-NO",function(a){a.Intl.add("calendar-base","nb-NO",{weekdays:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],very_short_weekdays:["Sø","Ma","Ti","On","To","Fr","Lø"],first_weekday:1,weekends:[0,6]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar-base_nb-NO",function(a){a.Intl.add("calendar-base","nb-NO",{weekdays:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],very_short_weekdays:["Sø","Ma","Ti","On","To","Fr","Lø"],first_weekday:1,weekends:[0,6]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_pt-BR.js b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_pt-BR.js similarity index 92% rename from lib/yui/3.5.0/build/calendar-base/lang/calendar-base_pt-BR.js rename to lib/yui/3.5.1/build/calendar-base/lang/calendar-base_pt-BR.js index 141ccde1d97..6553488dfda 100644 --- a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_pt-BR.js +++ b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_pt-BR.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar-base_pt-BR",function(a){a.Intl.add("calendar-base","pt-BR",{weekdays:["Domingo","Segunda","Ter\u00E7a","Quarta","Quinta","Sexta","S\u00E1bado"],short_weekdays:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],very_short_weekdays:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],first_weekday:0,weekends:[0,6]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar-base_pt-BR",function(a){a.Intl.add("calendar-base","pt-BR",{weekdays:["Domingo","Segunda","Ter\u00E7a","Quarta","Quinta","Sexta","S\u00E1bado"],short_weekdays:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],very_short_weekdays:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],first_weekday:0,weekends:[0,6]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_ru.js b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_ru.js similarity index 92% rename from lib/yui/3.5.0/build/calendar-base/lang/calendar-base_ru.js rename to lib/yui/3.5.1/build/calendar-base/lang/calendar-base_ru.js index b04aefd5bef..d8518c8c730 100644 --- a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_ru.js +++ b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_ru.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar-base_ru",function(a){a.Intl.add("calendar-base","ru",{weekdays:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],very_short_weekdays:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],first_weekday:1,weekends:[0,6]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar-base_ru",function(a){a.Intl.add("calendar-base","ru",{weekdays:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],very_short_weekdays:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],first_weekday:1,weekends:[0,6]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_zh-HANT-TW.js b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_zh-HANT-TW.js similarity index 88% rename from lib/yui/3.5.0/build/calendar-base/lang/calendar-base_zh-HANT-TW.js rename to lib/yui/3.5.1/build/calendar-base/lang/calendar-base_zh-HANT-TW.js index d8078cced64..fa782e34510 100644 --- a/lib/yui/3.5.0/build/calendar-base/lang/calendar-base_zh-HANT-TW.js +++ b/lib/yui/3.5.1/build/calendar-base/lang/calendar-base_zh-HANT-TW.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar-base_zh-HANT-TW",function(a){a.Intl.add("calendar-base","zh-HANT-TW",{weekdays:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],short_weekdays:["\u9031\u65E5","\u9031\u4e00","\u9031\u4e8c","\u9031\u4e09","\u9031\u56db","\u9031\u4e94","\u9031\u516d"],very_short_weekdays:["\u65E5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],first_weekday:0,weekends:[0,6]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar-base_zh-HANT-TW",function(a){a.Intl.add("calendar-base","zh-HANT-TW",{weekdays:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],short_weekdays:["\u9031\u65E5","\u9031\u4e00","\u9031\u4e8c","\u9031\u4e09","\u9031\u56db","\u9031\u4e94","\u9031\u516d"],very_short_weekdays:["\u65E5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],first_weekday:0,weekends:[0,6]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendarnavigator/assets/calendar-base-core.css b/lib/yui/3.5.1/build/calendar/assets/calendar-base-core.css similarity index 93% rename from lib/yui/3.5.0/build/calendarnavigator/assets/calendar-base-core.css rename to lib/yui/3.5.1/build/calendar/assets/calendar-base-core.css index 738ae35aee8..e410b3cd4b1 100644 --- a/lib/yui/3.5.0/build/calendarnavigator/assets/calendar-base-core.css +++ b/lib/yui/3.5.1/build/calendar/assets/calendar-base-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar/assets/calendar-core.css b/lib/yui/3.5.1/build/calendar/assets/calendar-core.css similarity index 96% rename from lib/yui/3.5.0/build/calendar/assets/calendar-core.css rename to lib/yui/3.5.1/build/calendar/assets/calendar-core.css index 82040af7ffc..d13f75d9716 100644 --- a/lib/yui/3.5.0/build/calendar/assets/calendar-core.css +++ b/lib/yui/3.5.1/build/calendar/assets/calendar-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendarnavigator/assets/calendarnavigator-core.css b/lib/yui/3.5.1/build/calendar/assets/calendarnavigator-core.css similarity index 93% rename from lib/yui/3.5.0/build/calendarnavigator/assets/calendarnavigator-core.css rename to lib/yui/3.5.1/build/calendar/assets/calendarnavigator-core.css index cf065d11f83..6db6e61183f 100644 --- a/lib/yui/3.5.0/build/calendarnavigator/assets/calendarnavigator-core.css +++ b/lib/yui/3.5.1/build/calendar/assets/calendarnavigator-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar-base/assets/skins/night/calendar-base-skin.css b/lib/yui/3.5.1/build/calendar/assets/skins/night/calendar-base-skin.css similarity index 99% rename from lib/yui/3.5.0/build/calendar-base/assets/skins/night/calendar-base-skin.css rename to lib/yui/3.5.1/build/calendar/assets/skins/night/calendar-base-skin.css index 0776969796c..39ae107a425 100644 --- a/lib/yui/3.5.0/build/calendar-base/assets/skins/night/calendar-base-skin.css +++ b/lib/yui/3.5.1/build/calendar/assets/skins/night/calendar-base-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar/assets/skins/night/calendar-skin.css b/lib/yui/3.5.1/build/calendar/assets/skins/night/calendar-skin.css similarity index 93% rename from lib/yui/3.5.0/build/calendar/assets/skins/night/calendar-skin.css rename to lib/yui/3.5.1/build/calendar/assets/skins/night/calendar-skin.css index b6c3f5cacc5..897d2368224 100644 --- a/lib/yui/3.5.0/build/calendar/assets/skins/night/calendar-skin.css +++ b/lib/yui/3.5.1/build/calendar/assets/skins/night/calendar-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar/assets/skins/night/calendar.css b/lib/yui/3.5.1/build/calendar/assets/skins/night/calendar.css similarity index 96% rename from lib/yui/3.5.0/build/calendar/assets/skins/night/calendar.css rename to lib/yui/3.5.1/build/calendar/assets/skins/night/calendar.css index dc0694b5529..15e229978cd 100644 --- a/lib/yui/3.5.0/build/calendar/assets/skins/night/calendar.css +++ b/lib/yui/3.5.1/build/calendar/assets/skins/night/calendar.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar/assets/skins/night/calendarnavigator-skin.css b/lib/yui/3.5.1/build/calendar/assets/skins/night/calendarnavigator-skin.css similarity index 99% rename from lib/yui/3.5.0/build/calendar/assets/skins/night/calendarnavigator-skin.css rename to lib/yui/3.5.1/build/calendar/assets/skins/night/calendarnavigator-skin.css index 43e42a302b3..484dbc6b431 100644 --- a/lib/yui/3.5.0/build/calendar/assets/skins/night/calendarnavigator-skin.css +++ b/lib/yui/3.5.1/build/calendar/assets/skins/night/calendarnavigator-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar/assets/skins/sam/calendar-base-skin.css b/lib/yui/3.5.1/build/calendar/assets/skins/sam/calendar-base-skin.css similarity index 99% rename from lib/yui/3.5.0/build/calendar/assets/skins/sam/calendar-base-skin.css rename to lib/yui/3.5.1/build/calendar/assets/skins/sam/calendar-base-skin.css index 99c4193bc90..28ae39ef5c7 100644 --- a/lib/yui/3.5.0/build/calendar/assets/skins/sam/calendar-base-skin.css +++ b/lib/yui/3.5.1/build/calendar/assets/skins/sam/calendar-base-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar/assets/skins/sam/calendar-skin.css b/lib/yui/3.5.1/build/calendar/assets/skins/sam/calendar-skin.css similarity index 93% rename from lib/yui/3.5.0/build/calendar/assets/skins/sam/calendar-skin.css rename to lib/yui/3.5.1/build/calendar/assets/skins/sam/calendar-skin.css index 08584b38745..7dbe7c4d683 100644 --- a/lib/yui/3.5.0/build/calendar/assets/skins/sam/calendar-skin.css +++ b/lib/yui/3.5.1/build/calendar/assets/skins/sam/calendar-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/calendar.css b/lib/yui/3.5.1/build/calendar/assets/skins/sam/calendar.css similarity index 96% rename from lib/yui/3.5.0/build/assets/skins/sam/calendar.css rename to lib/yui/3.5.1/build/calendar/assets/skins/sam/calendar.css index 31e1077b4cc..154e87e0dc7 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/calendar.css +++ b/lib/yui/3.5.1/build/calendar/assets/skins/sam/calendar.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/sam/calendarnavigator-skin.css b/lib/yui/3.5.1/build/calendar/assets/skins/sam/calendarnavigator-skin.css similarity index 99% rename from lib/yui/3.5.0/build/calendarnavigator/assets/skins/sam/calendarnavigator-skin.css rename to lib/yui/3.5.1/build/calendar/assets/skins/sam/calendarnavigator-skin.css index dfdd681a009..afe5eafed22 100644 --- a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/sam/calendarnavigator-skin.css +++ b/lib/yui/3.5.1/build/calendar/assets/skins/sam/calendarnavigator-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar/calendar-base-debug.js b/lib/yui/3.5.1/build/calendar/calendar-base-debug.js similarity index 98% rename from lib/yui/3.5.0/build/calendar/calendar-base-debug.js rename to lib/yui/3.5.1/build/calendar/calendar-base-debug.js index 7fabecd2e19..5de098dd9fa 100644 --- a/lib/yui/3.5.0/build/calendar/calendar-base-debug.js +++ b/lib/yui/3.5.1/build/calendar/calendar-base-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -180,4 +180,4 @@ Y.CalendarBase = Y.extend( CalendarBase, Y.Widget, { }); -}, '3.5.0' ,{requires:['widget', 'datatype-date']}); +}, '3.5.1' ,{requires:['widget', 'datatype-date']}); diff --git a/lib/yui/3.5.0/build/calendar/calendar-base-min.js b/lib/yui/3.5.1/build/calendar/calendar-base-min.js similarity index 96% rename from lib/yui/3.5.0/build/calendar/calendar-base-min.js rename to lib/yui/3.5.1/build/calendar/calendar-base-min.js index c6a99d1fb96..5ad8b7e2a8a 100644 --- a/lib/yui/3.5.0/build/calendar/calendar-base-min.js +++ b/lib/yui/3.5.1/build/calendar/calendar-base-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("calendar-base",function(b){var c=b.ClassNameManager.getClassName,n="calendar",d=c(n,"grid"),l=c(n,"body"),h=c(n,"header"),i=c(n,"header-wrap"),o=c(n,"weekdayrow"),q=c(n,"weekday"),e=c(n,"row"),a=c(n,"day"),p=c(n,"anchor"),k=b.Lang,f=b.Node.create,g=b.substitute,m=b.each;function j(){j.superclass.constructor.apply(this,arguments);}b.CalendarBase=b.extend(j,b.Widget,{initializer:function(){},renderUI:function(){var r=this.get("contentBox");r.appendChild(this._initCalendarHTML(new Date("5/21/1947")));},bindUI:function(){},_getCutoffColumn:function(r){var s=new Date(r.getFullYear(),r.getMonth(),1);return(1-s.getDay());},_initCalendarHTML:function(s){var r=s||new Date(),y=this._getCutoffColumn(r),C={calheader:(r.getMonth()+1)+"/"+r.getFullYear()},z="",B={wday1:"Su",wday2:"Mo",wday3:"Tu",wday4:"We",wday5:"Th",wday6:"Fr",wday7:"Sa"};var w={};w["header_template"]=g(j.HEADER_TEMPLATE,C);w["weekday_row"]="";m(B,function(D){w["weekday_row"]+=g(j.WEEKDAY_TEMPLATE,{weekdayname:D});});w["wdayrow_template"]=g(j.WEEKDAY_ROW_TEMPLATE,w);var x=[];for(var u=0;u<=5;u++){var A="";for(var t=-5;t<=7;t++){A+=g(j.CALDAY_TEMPLATE,{day_content:""+(t+7*u),day_display_status:(t>=y&&t<=(y+6))?"":'style="display:none;"'});}x.push(g(j.CALDAY_ROW_TEMPLATE,{calday_row:A}));}w["body_template"]=x.join("\n");var v=g(g(j.CONTENT_TEMPLATE,w),j.CALENDAR_CLASSES);return v;}},{CALENDAR_CLASSES:{calendar_grid_class:d,calendar_body_class:l,calendar_hd_class:h,calendar_hd_wrapper_class:i,calendar_weekdayrow_class:o,calendar_weekday_class:q,calendar_row_class:e,calendar_day_class:a,calendar_dayanchor_class:p},CONTENT_TEMPLATE:''+""+"{header_template}"+"{wdayrow_template}"+""+''+"{body_template}"+""+"
",HEADER_TEMPLATE:""+' ",WEEKDAY_ROW_TEMPLATE:''+' "+"'+"{calheader}"+""+"'+"{weekday_row}"+" ",CALDAY_ROW_TEMPLATE:''+"{calday_row}"+" ",WEEKDAY_TEMPLATE:'{weekdayname} ',CALDAY_TEMPLATE:''+''+"{day_content}"+""+" ",NAME:"calendarBase",ATTRS:{}});},"3.5.0",{requires:["widget","datatype-date"]}); \ No newline at end of file +YUI.add("calendar-base",function(b){var c=b.ClassNameManager.getClassName,n="calendar",d=c(n,"grid"),l=c(n,"body"),h=c(n,"header"),i=c(n,"header-wrap"),o=c(n,"weekdayrow"),q=c(n,"weekday"),e=c(n,"row"),a=c(n,"day"),p=c(n,"anchor"),k=b.Lang,f=b.Node.create,g=b.substitute,m=b.each;function j(){j.superclass.constructor.apply(this,arguments);}b.CalendarBase=b.extend(j,b.Widget,{initializer:function(){},renderUI:function(){var r=this.get("contentBox");r.appendChild(this._initCalendarHTML(new Date("5/21/1947")));},bindUI:function(){},_getCutoffColumn:function(r){var s=new Date(r.getFullYear(),r.getMonth(),1);return(1-s.getDay());},_initCalendarHTML:function(s){var r=s||new Date(),y=this._getCutoffColumn(r),C={calheader:(r.getMonth()+1)+"/"+r.getFullYear()},z="",B={wday1:"Su",wday2:"Mo",wday3:"Tu",wday4:"We",wday5:"Th",wday6:"Fr",wday7:"Sa"};var w={};w["header_template"]=g(j.HEADER_TEMPLATE,C);w["weekday_row"]="";m(B,function(D){w["weekday_row"]+=g(j.WEEKDAY_TEMPLATE,{weekdayname:D});});w["wdayrow_template"]=g(j.WEEKDAY_ROW_TEMPLATE,w);var x=[];for(var u=0;u<=5;u++){var A="";for(var t=-5;t<=7;t++){A+=g(j.CALDAY_TEMPLATE,{day_content:""+(t+7*u),day_display_status:(t>=y&&t<=(y+6))?"":'style="display:none;"'});}x.push(g(j.CALDAY_ROW_TEMPLATE,{calday_row:A}));}w["body_template"]=x.join("\n");var v=g(g(j.CONTENT_TEMPLATE,w),j.CALENDAR_CLASSES);return v;}},{CALENDAR_CLASSES:{calendar_grid_class:d,calendar_body_class:l,calendar_hd_class:h,calendar_hd_wrapper_class:i,calendar_weekdayrow_class:o,calendar_weekday_class:q,calendar_row_class:e,calendar_day_class:a,calendar_dayanchor_class:p},CONTENT_TEMPLATE:''+""+"{header_template}"+"{wdayrow_template}"+""+''+"{body_template}"+""+"
",HEADER_TEMPLATE:""+' ",WEEKDAY_ROW_TEMPLATE:''+' "+"'+"{calheader}"+""+"'+"{weekday_row}"+" ",CALDAY_ROW_TEMPLATE:''+"{calday_row}"+" ",WEEKDAY_TEMPLATE:'{weekdayname} ',CALDAY_TEMPLATE:''+''+"{day_content}"+""+" ",NAME:"calendarBase",ATTRS:{}});},"3.5.1",{requires:["widget","datatype-date"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar/calendar-base.js b/lib/yui/3.5.1/build/calendar/calendar-base.js similarity index 98% rename from lib/yui/3.5.0/build/calendar/calendar-base.js rename to lib/yui/3.5.1/build/calendar/calendar-base.js index 19f687ba3c9..e6f258b9321 100644 --- a/lib/yui/3.5.0/build/calendar/calendar-base.js +++ b/lib/yui/3.5.1/build/calendar/calendar-base.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -179,4 +179,4 @@ Y.CalendarBase = Y.extend( CalendarBase, Y.Widget, { }); -}, '3.5.0' ,{requires:['widget', 'datatype-date']}); +}, '3.5.1' ,{requires:['widget', 'datatype-date']}); diff --git a/lib/yui/3.5.0/build/calendar/calendar-debug.js b/lib/yui/3.5.1/build/calendar/calendar-debug.js similarity index 99% rename from lib/yui/3.5.0/build/calendar/calendar-debug.js rename to lib/yui/3.5.1/build/calendar/calendar-debug.js index 7f20994120a..c645ebbcc7f 100644 --- a/lib/yui/3.5.0/build/calendar/calendar-debug.js +++ b/lib/yui/3.5.1/build/calendar/calendar-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -541,4 +541,4 @@ Y.Calendar = Y.extend(Calendar, Y.CalendarBase, { }); -}, '3.5.0' ,{requires:['calendar-base', 'calendarnavigator'], lang:['de', 'en', 'fr', 'ja', 'nb-NO', 'pt-BR', 'ru', 'zh-HANT-TW']}); +}, '3.5.1' ,{requires:['calendar-base', 'calendarnavigator'], lang:['de', 'en', 'fr', 'ja', 'nb-NO', 'pt-BR', 'ru', 'zh-HANT-TW']}); diff --git a/lib/yui/3.5.0/build/calendar/calendar-min.js b/lib/yui/3.5.1/build/calendar/calendar-min.js similarity index 98% rename from lib/yui/3.5.0/build/calendar/calendar-min.js rename to lib/yui/3.5.1/build/calendar/calendar-min.js index 050ab6a59e1..1645ff54996 100644 --- a/lib/yui/3.5.0/build/calendar/calendar-min.js +++ b/lib/yui/3.5.1/build/calendar/calendar-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("calendar",function(c){var s=c.ClassNameManager.getClassName,n="calendar",e=40,p=38,t=37,i=39,f=13,g=32,m=s(n,"header"),d=s(n,"day-selected"),b=s(n,"day-highlighted"),r=s(n,"day"),a=s(n,"prevmonth-day"),o=s(n,"nextmonth-day"),j=s(n,"grid"),k=c.DataType.Date,q=c.delegate,u=s(n,"pane"),h=c.UA.os;function l(v){l.superclass.constructor.apply(this,arguments);}c.Calendar=c.extend(l,c.CalendarBase,{_keyEvents:[],_highlightedDateNode:null,_lastSelectedDate:null,initializer:function(){this.plug(c.Plugin.CalendarNavigator);this._keyEvents=[];this._highlightedDateNode=null;this._lastSelectedDate=null;},syncUI:function(){},_bindCalendarEvents:function(){var v=this.get("contentBox"),w=v.one("."+u);w.on("selectstart",function(x){x.preventDefault();});w.delegate("click",this._clickCalendar,"."+r,this);w.delegate("keydown",this._keydownCalendar,"."+j,this);w.delegate("focus",this._focusCalendarGrid,"."+j,this);w.delegate("focus",this._focusCalendarCell,"."+r,this);w.delegate("blur",this._blurCalendarGrid,"."+j+",."+r,this);},_highlightDateNode:function(w){this._unhighlightCurrentDateNode();var v=this._dateToNode(w);v.focus();v.addClass(b);},_unhighlightCurrentDateNode:function(){var v=this.get("contentBox").all("."+b);if(v){v.removeClass(b);}},_getGridNumber:function(w){var v=w.get("id").split("_").reverse();return parseInt(v[0],10);},_blurCalendarGrid:function(v){this._unhighlightCurrentDateNode();},_focusCalendarCell:function(v){this._highlightedDateNode=v.target;v.stopPropagation();},_focusCalendarGrid:function(v){this._unhighlightCurrentDateNode();this._highlightedDateNode=null;},_keydownCalendar:function(D){var x=this._getGridNumber(D.target),z=!this._highlightedDateNode?null:this._nodeToDate(this._highlightedDateNode),F=D.keyCode,w=0,y="";switch(F){case e:w=7;y="s";break;case p:w=-7;y="n";break;case t:w=-1;y="w";break;case i:w=1;y="e";break;case g:case f:D.preventDefault();if(this._highlightedDateNode){var C=this.get("selectionMode");if(C==="single"&&!this._highlightedDateNode.hasClass(d)){this._clearSelection(true);this._addDateToSelection(z);}else{if(C==="multiple"||C==="multiple-sticky"){if(this._highlightedDateNode.hasClass(d)){this._removeDateFromSelection(z);}else{this._addDateToSelection(z);}}}}break;}if(F==e||F==p||F==t||F==i){if(!z){z=k.addMonths(this.get("date"),x);w=0;}D.preventDefault();var E=k.addDays(z,w),v=this.get("date"),B=k.addMonths(this.get("date"),this._paneNumber-1),A=new Date(B);B.setDate(k.daysInMonth(B));if(k.isInRange(E,v,B)){this._highlightDateNode(E);}else{if(k.isGreater(v,E)){if(!k.isGreaterOrEqual(this.get("minimumDate"),v)){this.set("date",k.addMonths(v,-1));this._highlightDateNode(E);}}else{if(k.isGreater(E,B)){if(!k.isGreaterOrEqual(A,this.get("maximumDate"))){this.set("date",k.addMonths(v,1));this._highlightDateNode(E);}}}}}},_clickCalendar:function(y){var z=y.target,w=z.hasClass(r)&&!z.hasClass(a)&&!z.hasClass(o),v=z.hasClass(d);switch(this.get("selectionMode")){case ("single"):if(w){if(!v){this._clearSelection(true);this._addDateToSelection(this._nodeToDate(z));}}break;case ("multiple-sticky"):if(w){if(v){this._removeDateFromSelection(this._nodeToDate(z));}else{this._addDateToSelection(this._nodeToDate(z));}}break;case ("multiple"):if(!y.metaKey&&!y.ctrlKey&&!y.shiftKey){this._clearSelection(true);this._lastSelectedDate=this._nodeToDate(z);this._addDateToSelection(this._lastSelectedDate);}else{if(((h=="macintosh"&&y.metaKey)||(h!="macintosh"&&y.ctrlKey))&&!y.shiftKey){if(v){this._removeDateFromSelection(this._nodeToDate(z));this._lastSelectedDate=null;}else{this._lastSelectedDate=this._nodeToDate(z);this._addDateToSelection(this._lastSelectedDate);}}else{if(((h=="macintosh"&&y.metaKey)||(h!="macintosh"&&y.ctrlKey))&&y.shiftKey){if(this._lastSelectedDate){var x=this._nodeToDate(z);this._addDateRangeToSelection(x,this._lastSelectedDate);this._lastSelectedDate=x;}else{this._lastSelectedDate=this._nodeToDate(z);this._addDateToSelection(this._lastSelectedDate);}}else{if(y.shiftKey){if(this._lastSelectedDate){var x=this._nodeToDate(z);this._clearSelection(true);this._addDateRangeToSelection(x,this._lastSelectedDate);this._lastSelectedDate=x;}else{this._clearSelection(true);this._lastSelectedDate=this._nodeToDate(z);this._addDateToSelection(this._lastSelectedDate);}}}}}break;}if(w){this.fire("dateClick",{cell:z,date:this._nodeToDate(z)});}else{if(z.hasClass(a)){this.fire("prevMonthClick");}else{if(z.hasClass(o)){this.fire("nextMonthClick");}}}},subtractMonth:function(v){this.set("date",k.addMonths(this.get("date"),-1));v.halt();},subtractYear:function(v){this.set("date",k.addYears(this.get("date"),-1));v.halt();},addMonth:function(v){this.set("date",k.addMonths(this.get("date"),1));v.halt();},addYear:function(v){this.set("date",k.addYears(this.get("date"),1));v.halt();}},{NAME:"calendar",ATTRS:{selectionMode:{value:"single"},date:{value:new Date(),lazyAdd:false,setter:function(A){var w=this._normalizeDate(A),x=k.addMonths(w,this._paneNumber-1);var y=this.get("minimumDate");var z=this.get("maximumDate");if((!y||k.isGreaterOrEqual(w,y))&&(!z||k.isGreaterOrEqual(z,x))){return w;}else{if(y&&k.isGreater(y,w)){return y;}else{if(z&&k.isGreater(x,z)){var v=k.addMonths(z,-1*(this._paneNumber-1));return v;}}}}},minimumDate:{value:null,setter:function(x){if(x){var w=this.get("date"),v=this._normalizeDate(x);if(w&&!k.isGreaterOrEqual(w,v)){this.set("date",v);}return v;}else{return this._normalizeDate(x);}}},maximumDate:{value:null,setter:function(x){if(x){var v=this.get("date"),w=this._normalizeDate(x);if(v&&!k.isGreaterOrEqual(x,k.addMonths(v,this._paneNumber-1))){this.set("date",k.addMonths(w,-1*(this._paneNumber-1)));}return w;}else{return x;}}}}});},"3.5.0",{requires:["calendar-base","calendarnavigator"],lang:["de","en","fr","ja","nb-NO","pt-BR","ru","zh-HANT-TW"]}); \ No newline at end of file +YUI.add("calendar",function(c){var s=c.ClassNameManager.getClassName,n="calendar",e=40,p=38,t=37,i=39,f=13,g=32,m=s(n,"header"),d=s(n,"day-selected"),b=s(n,"day-highlighted"),r=s(n,"day"),a=s(n,"prevmonth-day"),o=s(n,"nextmonth-day"),j=s(n,"grid"),k=c.DataType.Date,q=c.delegate,u=s(n,"pane"),h=c.UA.os;function l(v){l.superclass.constructor.apply(this,arguments);}c.Calendar=c.extend(l,c.CalendarBase,{_keyEvents:[],_highlightedDateNode:null,_lastSelectedDate:null,initializer:function(){this.plug(c.Plugin.CalendarNavigator);this._keyEvents=[];this._highlightedDateNode=null;this._lastSelectedDate=null;},syncUI:function(){},_bindCalendarEvents:function(){var v=this.get("contentBox"),w=v.one("."+u);w.on("selectstart",function(x){x.preventDefault();});w.delegate("click",this._clickCalendar,"."+r,this);w.delegate("keydown",this._keydownCalendar,"."+j,this);w.delegate("focus",this._focusCalendarGrid,"."+j,this);w.delegate("focus",this._focusCalendarCell,"."+r,this);w.delegate("blur",this._blurCalendarGrid,"."+j+",."+r,this);},_highlightDateNode:function(w){this._unhighlightCurrentDateNode();var v=this._dateToNode(w);v.focus();v.addClass(b);},_unhighlightCurrentDateNode:function(){var v=this.get("contentBox").all("."+b);if(v){v.removeClass(b);}},_getGridNumber:function(w){var v=w.get("id").split("_").reverse();return parseInt(v[0],10);},_blurCalendarGrid:function(v){this._unhighlightCurrentDateNode();},_focusCalendarCell:function(v){this._highlightedDateNode=v.target;v.stopPropagation();},_focusCalendarGrid:function(v){this._unhighlightCurrentDateNode();this._highlightedDateNode=null;},_keydownCalendar:function(D){var x=this._getGridNumber(D.target),z=!this._highlightedDateNode?null:this._nodeToDate(this._highlightedDateNode),F=D.keyCode,w=0,y="";switch(F){case e:w=7;y="s";break;case p:w=-7;y="n";break;case t:w=-1;y="w";break;case i:w=1;y="e";break;case g:case f:D.preventDefault();if(this._highlightedDateNode){var C=this.get("selectionMode");if(C==="single"&&!this._highlightedDateNode.hasClass(d)){this._clearSelection(true);this._addDateToSelection(z);}else{if(C==="multiple"||C==="multiple-sticky"){if(this._highlightedDateNode.hasClass(d)){this._removeDateFromSelection(z);}else{this._addDateToSelection(z);}}}}break;}if(F==e||F==p||F==t||F==i){if(!z){z=k.addMonths(this.get("date"),x);w=0;}D.preventDefault();var E=k.addDays(z,w),v=this.get("date"),B=k.addMonths(this.get("date"),this._paneNumber-1),A=new Date(B);B.setDate(k.daysInMonth(B));if(k.isInRange(E,v,B)){this._highlightDateNode(E);}else{if(k.isGreater(v,E)){if(!k.isGreaterOrEqual(this.get("minimumDate"),v)){this.set("date",k.addMonths(v,-1));this._highlightDateNode(E);}}else{if(k.isGreater(E,B)){if(!k.isGreaterOrEqual(A,this.get("maximumDate"))){this.set("date",k.addMonths(v,1));this._highlightDateNode(E);}}}}}},_clickCalendar:function(y){var z=y.target,w=z.hasClass(r)&&!z.hasClass(a)&&!z.hasClass(o),v=z.hasClass(d);switch(this.get("selectionMode")){case ("single"):if(w){if(!v){this._clearSelection(true);this._addDateToSelection(this._nodeToDate(z));}}break;case ("multiple-sticky"):if(w){if(v){this._removeDateFromSelection(this._nodeToDate(z));}else{this._addDateToSelection(this._nodeToDate(z));}}break;case ("multiple"):if(!y.metaKey&&!y.ctrlKey&&!y.shiftKey){this._clearSelection(true);this._lastSelectedDate=this._nodeToDate(z);this._addDateToSelection(this._lastSelectedDate);}else{if(((h=="macintosh"&&y.metaKey)||(h!="macintosh"&&y.ctrlKey))&&!y.shiftKey){if(v){this._removeDateFromSelection(this._nodeToDate(z));this._lastSelectedDate=null;}else{this._lastSelectedDate=this._nodeToDate(z);this._addDateToSelection(this._lastSelectedDate);}}else{if(((h=="macintosh"&&y.metaKey)||(h!="macintosh"&&y.ctrlKey))&&y.shiftKey){if(this._lastSelectedDate){var x=this._nodeToDate(z);this._addDateRangeToSelection(x,this._lastSelectedDate);this._lastSelectedDate=x;}else{this._lastSelectedDate=this._nodeToDate(z);this._addDateToSelection(this._lastSelectedDate);}}else{if(y.shiftKey){if(this._lastSelectedDate){var x=this._nodeToDate(z);this._clearSelection(true);this._addDateRangeToSelection(x,this._lastSelectedDate);this._lastSelectedDate=x;}else{this._clearSelection(true);this._lastSelectedDate=this._nodeToDate(z);this._addDateToSelection(this._lastSelectedDate);}}}}}break;}if(w){this.fire("dateClick",{cell:z,date:this._nodeToDate(z)});}else{if(z.hasClass(a)){this.fire("prevMonthClick");}else{if(z.hasClass(o)){this.fire("nextMonthClick");}}}},subtractMonth:function(v){this.set("date",k.addMonths(this.get("date"),-1));v.halt();},subtractYear:function(v){this.set("date",k.addYears(this.get("date"),-1));v.halt();},addMonth:function(v){this.set("date",k.addMonths(this.get("date"),1));v.halt();},addYear:function(v){this.set("date",k.addYears(this.get("date"),1));v.halt();}},{NAME:"calendar",ATTRS:{selectionMode:{value:"single"},date:{value:new Date(),lazyAdd:false,setter:function(A){var w=this._normalizeDate(A),x=k.addMonths(w,this._paneNumber-1);var y=this.get("minimumDate");var z=this.get("maximumDate");if((!y||k.isGreaterOrEqual(w,y))&&(!z||k.isGreaterOrEqual(z,x))){return w;}else{if(y&&k.isGreater(y,w)){return y;}else{if(z&&k.isGreater(x,z)){var v=k.addMonths(z,-1*(this._paneNumber-1));return v;}}}}},minimumDate:{value:null,setter:function(x){if(x){var w=this.get("date"),v=this._normalizeDate(x);if(w&&!k.isGreaterOrEqual(w,v)){this.set("date",v);}return v;}else{return this._normalizeDate(x);}}},maximumDate:{value:null,setter:function(x){if(x){var v=this.get("date"),w=this._normalizeDate(x);if(v&&!k.isGreaterOrEqual(x,k.addMonths(v,this._paneNumber-1))){this.set("date",k.addMonths(w,-1*(this._paneNumber-1)));}return w;}else{return x;}}}}});},"3.5.1",{requires:["calendar-base","calendarnavigator"],lang:["de","en","fr","ja","nb-NO","pt-BR","ru","zh-HANT-TW"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar/calendar.js b/lib/yui/3.5.1/build/calendar/calendar.js similarity index 99% rename from lib/yui/3.5.0/build/calendar/calendar.js rename to lib/yui/3.5.1/build/calendar/calendar.js index 7f20994120a..c645ebbcc7f 100644 --- a/lib/yui/3.5.0/build/calendar/calendar.js +++ b/lib/yui/3.5.1/build/calendar/calendar.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -541,4 +541,4 @@ Y.Calendar = Y.extend(Calendar, Y.CalendarBase, { }); -}, '3.5.0' ,{requires:['calendar-base', 'calendarnavigator'], lang:['de', 'en', 'fr', 'ja', 'nb-NO', 'pt-BR', 'ru', 'zh-HANT-TW']}); +}, '3.5.1' ,{requires:['calendar-base', 'calendarnavigator'], lang:['de', 'en', 'fr', 'ja', 'nb-NO', 'pt-BR', 'ru', 'zh-HANT-TW']}); diff --git a/lib/yui/3.5.0/build/calendar/lang/calendar.js b/lib/yui/3.5.1/build/calendar/lang/calendar.js similarity index 90% rename from lib/yui/3.5.0/build/calendar/lang/calendar.js rename to lib/yui/3.5.1/build/calendar/lang/calendar.js index 819a1c3974a..690de12b404 100644 --- a/lib/yui/3.5.0/build/calendar/lang/calendar.js +++ b/lib/yui/3.5.1/build/calendar/lang/calendar.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar",function(a){a.Intl.add("calendar","",{weekdays:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],short_weekdays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],very_short_weekdays:["Mo","Tu","We","Th","Fr","Sa","Su"]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar",function(a){a.Intl.add("calendar","",{weekdays:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],short_weekdays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],very_short_weekdays:["Mo","Tu","We","Th","Fr","Sa","Su"]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar/lang/calendar_de.js b/lib/yui/3.5.1/build/calendar/lang/calendar_de.js similarity index 78% rename from lib/yui/3.5.0/build/calendar/lang/calendar_de.js rename to lib/yui/3.5.1/build/calendar/lang/calendar_de.js index 4fb8a573dc8..c68ece0be38 100644 --- a/lib/yui/3.5.0/build/calendar/lang/calendar_de.js +++ b/lib/yui/3.5.1/build/calendar/lang/calendar_de.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar_de",function(a){a.Intl.add("calendar","de",{weekdays:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],very_short_weekdays:["So","Mo","Di","Mi","Do","Fr","Sa"],first_weekday:1,weekends:[0,6]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar_de",function(a){a.Intl.add("calendar","de",{weekdays:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],very_short_weekdays:["So","Mo","Di","Mi","Do","Fr","Sa"],first_weekday:1,weekends:[0,6]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar/lang/calendar_en.js b/lib/yui/3.5.1/build/calendar/lang/calendar_en.js similarity index 89% rename from lib/yui/3.5.0/build/calendar/lang/calendar_en.js rename to lib/yui/3.5.1/build/calendar/lang/calendar_en.js index 1b38d3f77c7..c9a3f3b8a46 100644 --- a/lib/yui/3.5.0/build/calendar/lang/calendar_en.js +++ b/lib/yui/3.5.1/build/calendar/lang/calendar_en.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar_en",function(a){a.Intl.add("calendar","en",{weekdays:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],short_weekdays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],very_short_weekdays:["Mo","Tu","We","Th","Fr","Sa","Su"]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar_en",function(a){a.Intl.add("calendar","en",{weekdays:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],short_weekdays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],very_short_weekdays:["Mo","Tu","We","Th","Fr","Sa","Su"]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar/lang/calendar_fr.js b/lib/yui/3.5.1/build/calendar/lang/calendar_fr.js similarity index 84% rename from lib/yui/3.5.0/build/calendar/lang/calendar_fr.js rename to lib/yui/3.5.1/build/calendar/lang/calendar_fr.js index b73a433d314..580396e6d8e 100644 --- a/lib/yui/3.5.0/build/calendar/lang/calendar_fr.js +++ b/lib/yui/3.5.1/build/calendar/lang/calendar_fr.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar_fr",function(a){a.Intl.add("calendar","fr",{weekdays:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],short_weekdays:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],very_short_weekdays:["Di","Lu","Ma","Me","Je","Ve","Sa"],first_weekday:1,weekends:[0,6]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar_fr",function(a){a.Intl.add("calendar","fr",{weekdays:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],short_weekdays:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],very_short_weekdays:["Di","Lu","Ma","Me","Je","Ve","Sa"],first_weekday:1,weekends:[0,6]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar/lang/calendar_ja.js b/lib/yui/3.5.1/build/calendar/lang/calendar_ja.js similarity index 85% rename from lib/yui/3.5.0/build/calendar/lang/calendar_ja.js rename to lib/yui/3.5.1/build/calendar/lang/calendar_ja.js index 911dc0af01e..86f0c3152d6 100644 --- a/lib/yui/3.5.0/build/calendar/lang/calendar_ja.js +++ b/lib/yui/3.5.1/build/calendar/lang/calendar_ja.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar_ja",function(a){a.Intl.add("calendar","ja",{weekdays:["\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5","\u65E5\u66DC\u65E5"],short_weekdays:["\u6708\u66DC","\u706B\u66DC","\u6C34\u66DC","\u6728\u66DC","\u91D1\u66DC","\u571F\u66DC","\u65E5\u66DC"],very_short_weekdays:["\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F","\u65E5"]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar_ja",function(a){a.Intl.add("calendar","ja",{weekdays:["\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5","\u65E5\u66DC\u65E5"],short_weekdays:["\u6708\u66DC","\u706B\u66DC","\u6C34\u66DC","\u6728\u66DC","\u91D1\u66DC","\u571F\u66DC","\u65E5\u66DC"],very_short_weekdays:["\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F","\u65E5"]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar/lang/calendar_nb-NO.js b/lib/yui/3.5.1/build/calendar/lang/calendar_nb-NO.js similarity index 78% rename from lib/yui/3.5.0/build/calendar/lang/calendar_nb-NO.js rename to lib/yui/3.5.1/build/calendar/lang/calendar_nb-NO.js index a90606d8291..f7dca60a8cc 100644 --- a/lib/yui/3.5.0/build/calendar/lang/calendar_nb-NO.js +++ b/lib/yui/3.5.1/build/calendar/lang/calendar_nb-NO.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar_nb-NO",function(a){a.Intl.add("calendar","nb-NO",{weekdays:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],very_short_weekdays:["Sø","Ma","Ti","On","To","Fr","Lø"],first_weekday:1,weekends:[0,6]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar_nb-NO",function(a){a.Intl.add("calendar","nb-NO",{weekdays:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],very_short_weekdays:["Sø","Ma","Ti","On","To","Fr","Lø"],first_weekday:1,weekends:[0,6]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar/lang/calendar_pt-BR.js b/lib/yui/3.5.1/build/calendar/lang/calendar_pt-BR.js similarity index 86% rename from lib/yui/3.5.0/build/calendar/lang/calendar_pt-BR.js rename to lib/yui/3.5.1/build/calendar/lang/calendar_pt-BR.js index e372ec9a07a..93a72f05fa3 100644 --- a/lib/yui/3.5.0/build/calendar/lang/calendar_pt-BR.js +++ b/lib/yui/3.5.1/build/calendar/lang/calendar_pt-BR.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar_pt-BR",function(a){a.Intl.add("calendar","pt-BR",{weekdays:["Domingo","Segunda","Ter\u00E7a","Quarta","Quinta","Sexta","S\u00E1bado"],short_weekdays:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],very_short_weekdays:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar_pt-BR",function(a){a.Intl.add("calendar","pt-BR",{weekdays:["Domingo","Segunda","Ter\u00E7a","Quarta","Quinta","Sexta","S\u00E1bado"],short_weekdays:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],very_short_weekdays:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar/lang/calendar_ru.js b/lib/yui/3.5.1/build/calendar/lang/calendar_ru.js similarity index 94% rename from lib/yui/3.5.0/build/calendar/lang/calendar_ru.js rename to lib/yui/3.5.1/build/calendar/lang/calendar_ru.js index e5da1a4a510..c0d98d492a9 100644 --- a/lib/yui/3.5.0/build/calendar/lang/calendar_ru.js +++ b/lib/yui/3.5.1/build/calendar/lang/calendar_ru.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar_ru",function(a){a.Intl.add("calendar","ru",{weekdays:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],very_short_weekdays:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],first_weekday:1,weekends:[0,6]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar_ru",function(a){a.Intl.add("calendar","ru",{weekdays:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],very_short_weekdays:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],first_weekday:1,weekends:[0,6]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar/lang/calendar_zh-HANT-TW.js b/lib/yui/3.5.1/build/calendar/lang/calendar_zh-HANT-TW.js similarity index 89% rename from lib/yui/3.5.0/build/calendar/lang/calendar_zh-HANT-TW.js rename to lib/yui/3.5.1/build/calendar/lang/calendar_zh-HANT-TW.js index 381f94168e4..ac8047b225d 100644 --- a/lib/yui/3.5.0/build/calendar/lang/calendar_zh-HANT-TW.js +++ b/lib/yui/3.5.1/build/calendar/lang/calendar_zh-HANT-TW.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/calendar_zh-HANT-TW",function(a){a.Intl.add("calendar","zh-HANT-TW",{weekdays:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],short_weekdays:["\u9031\u65E5","\u9031\u4e00","\u9031\u4e8c","\u9031\u4e09","\u9031\u56db","\u9031\u4e94","\u9031\u516d"],very_short_weekdays:["\u65E5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],first_weekday:0,weekends:[0,6]});},"3.5.0"); \ No newline at end of file +YUI.add("lang/calendar_zh-HANT-TW",function(a){a.Intl.add("calendar","zh-HANT-TW",{weekdays:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],short_weekdays:["\u9031\u65E5","\u9031\u4e00","\u9031\u4e8c","\u9031\u4e09","\u9031\u56db","\u9031\u4e94","\u9031\u516d"],very_short_weekdays:["\u65E5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],first_weekday:0,weekends:[0,6]});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendar/assets/calendar-base-core.css b/lib/yui/3.5.1/build/calendarnavigator/assets/calendar-base-core.css similarity index 93% rename from lib/yui/3.5.0/build/calendar/assets/calendar-base-core.css rename to lib/yui/3.5.1/build/calendarnavigator/assets/calendar-base-core.css index 738ae35aee8..e410b3cd4b1 100644 --- a/lib/yui/3.5.0/build/calendar/assets/calendar-base-core.css +++ b/lib/yui/3.5.1/build/calendarnavigator/assets/calendar-base-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendarnavigator/assets/calendar-core.css b/lib/yui/3.5.1/build/calendarnavigator/assets/calendar-core.css similarity index 96% rename from lib/yui/3.5.0/build/calendarnavigator/assets/calendar-core.css rename to lib/yui/3.5.1/build/calendarnavigator/assets/calendar-core.css index 82040af7ffc..d13f75d9716 100644 --- a/lib/yui/3.5.0/build/calendarnavigator/assets/calendar-core.css +++ b/lib/yui/3.5.1/build/calendarnavigator/assets/calendar-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar/assets/calendarnavigator-core.css b/lib/yui/3.5.1/build/calendarnavigator/assets/calendarnavigator-core.css similarity index 93% rename from lib/yui/3.5.0/build/calendar/assets/calendarnavigator-core.css rename to lib/yui/3.5.1/build/calendarnavigator/assets/calendarnavigator-core.css index cf065d11f83..6db6e61183f 100644 --- a/lib/yui/3.5.0/build/calendar/assets/calendarnavigator-core.css +++ b/lib/yui/3.5.1/build/calendarnavigator/assets/calendarnavigator-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar/assets/skins/night/calendar-base-skin.css b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/night/calendar-base-skin.css similarity index 99% rename from lib/yui/3.5.0/build/calendar/assets/skins/night/calendar-base-skin.css rename to lib/yui/3.5.1/build/calendarnavigator/assets/skins/night/calendar-base-skin.css index 0776969796c..39ae107a425 100644 --- a/lib/yui/3.5.0/build/calendar/assets/skins/night/calendar-base-skin.css +++ b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/night/calendar-base-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar-base/assets/skins/night/calendar-skin.css b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/night/calendar-skin.css similarity index 93% rename from lib/yui/3.5.0/build/calendar-base/assets/skins/night/calendar-skin.css rename to lib/yui/3.5.1/build/calendarnavigator/assets/skins/night/calendar-skin.css index b6c3f5cacc5..897d2368224 100644 --- a/lib/yui/3.5.0/build/calendar-base/assets/skins/night/calendar-skin.css +++ b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/night/calendar-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar-base/assets/skins/night/calendarnavigator-skin.css b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/night/calendarnavigator-skin.css similarity index 99% rename from lib/yui/3.5.0/build/calendar-base/assets/skins/night/calendarnavigator-skin.css rename to lib/yui/3.5.1/build/calendarnavigator/assets/skins/night/calendarnavigator-skin.css index 43e42a302b3..484dbc6b431 100644 --- a/lib/yui/3.5.0/build/calendar-base/assets/skins/night/calendarnavigator-skin.css +++ b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/night/calendarnavigator-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/night/calendarnavigator.css b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/night/calendarnavigator.css similarity index 99% rename from lib/yui/3.5.0/build/calendarnavigator/assets/skins/night/calendarnavigator.css rename to lib/yui/3.5.1/build/calendarnavigator/assets/skins/night/calendarnavigator.css index 7fdd8d81d0a..c4507074d78 100644 --- a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/night/calendarnavigator.css +++ b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/night/calendarnavigator.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar-base/assets/skins/sam/calendar-base-skin.css b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/sam/calendar-base-skin.css similarity index 99% rename from lib/yui/3.5.0/build/calendar-base/assets/skins/sam/calendar-base-skin.css rename to lib/yui/3.5.1/build/calendarnavigator/assets/skins/sam/calendar-base-skin.css index 99c4193bc90..28ae39ef5c7 100644 --- a/lib/yui/3.5.0/build/calendar-base/assets/skins/sam/calendar-base-skin.css +++ b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/sam/calendar-base-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar-base/assets/skins/sam/calendar-skin.css b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/sam/calendar-skin.css similarity index 93% rename from lib/yui/3.5.0/build/calendar-base/assets/skins/sam/calendar-skin.css rename to lib/yui/3.5.1/build/calendarnavigator/assets/skins/sam/calendar-skin.css index 08584b38745..7dbe7c4d683 100644 --- a/lib/yui/3.5.0/build/calendar-base/assets/skins/sam/calendar-skin.css +++ b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/sam/calendar-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendar/assets/skins/sam/calendarnavigator-skin.css b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/sam/calendarnavigator-skin.css similarity index 99% rename from lib/yui/3.5.0/build/calendar/assets/skins/sam/calendarnavigator-skin.css rename to lib/yui/3.5.1/build/calendarnavigator/assets/skins/sam/calendarnavigator-skin.css index dfdd681a009..afe5eafed22 100644 --- a/lib/yui/3.5.0/build/calendar/assets/skins/sam/calendarnavigator-skin.css +++ b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/sam/calendarnavigator-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/sam/calendarnavigator.css b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/sam/calendarnavigator.css similarity index 99% rename from lib/yui/3.5.0/build/calendarnavigator/assets/skins/sam/calendarnavigator.css rename to lib/yui/3.5.1/build/calendarnavigator/assets/skins/sam/calendarnavigator.css index a82951897d3..444295962df 100644 --- a/lib/yui/3.5.0/build/calendarnavigator/assets/skins/sam/calendarnavigator.css +++ b/lib/yui/3.5.1/build/calendarnavigator/assets/skins/sam/calendarnavigator.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/calendarnavigator/calendarnavigator-debug.js b/lib/yui/3.5.1/build/calendarnavigator/calendarnavigator-debug.js similarity index 99% rename from lib/yui/3.5.0/build/calendarnavigator/calendarnavigator-debug.js rename to lib/yui/3.5.1/build/calendarnavigator/calendarnavigator-debug.js index fe3997ccbed..3c0e6fa5735 100644 --- a/lib/yui/3.5.0/build/calendarnavigator/calendarnavigator-debug.js +++ b/lib/yui/3.5.1/build/calendarnavigator/calendarnavigator-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -281,4 +281,4 @@ Y.extend(CalendarNavigator, Y.Plugin.Base, { Y.namespace("Plugin").CalendarNavigator = CalendarNavigator; -}, '3.5.0' ,{requires:['plugin', 'classnamemanager', 'datatype-date', 'node', 'substitute']}); +}, '3.5.1' ,{requires:['plugin', 'classnamemanager', 'datatype-date', 'node', 'substitute']}); diff --git a/lib/yui/3.5.0/build/calendarnavigator/calendarnavigator-min.js b/lib/yui/3.5.1/build/calendarnavigator/calendarnavigator-min.js similarity index 97% rename from lib/yui/3.5.0/build/calendarnavigator/calendarnavigator-min.js rename to lib/yui/3.5.1/build/calendarnavigator/calendarnavigator-min.js index b5145772791..e904344387c 100644 --- a/lib/yui/3.5.0/build/calendarnavigator/calendarnavigator-min.js +++ b/lib/yui/3.5.1/build/calendarnavigator/calendarnavigator-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("calendarnavigator",function(a){var n="contentBox",p="host",l="rendered",b=a.ClassNameManager.getClassName,i=a.substitute,c=a.Node,h=c.create,o="calendar",f="calendarnav",j=b(o,"header"),d=b(f,"prevmonth"),e=b(f,"nextmonth"),g=b(f,"month-disabled"),m=a.DataType.Date;function k(q){k.superclass.constructor.apply(this,arguments);}k.NS="navigator";k.NAME="pluginCalendarNavigator";k.ATTRS={shiftByMonths:{value:1}};k.CALENDARNAV_STRINGS={prev_month_class:d,next_month_class:e};k.PREV_MONTH_CONTROL_TEMPLATE=''+"<"+"";k.NEXT_MONTH_CONTROL_TEMPLATE=''+">"+"";a.extend(k,a.Plugin.Base,{_eventAttachments:{},_controls:{},initializer:function(q){this._controls={};this._eventAttachments={};this.afterHostMethod("renderUI",this._initNavigationControls);},destructor:function(){},_subtractMonths:function(s){if((s.type==="click")||(s.type==="keydown"&&(s.keyCode==13||s.keyCode==32))){var r=this.get(p);var q=r.get("date");r.set("date",m.addMonths(q,-1*this.get("shiftByMonths")));s.preventDefault();}},_addMonths:function(s){if((s.type==="click")||(s.type==="keydown"&&(s.keyCode==13||s.keyCode==32))){var r=this.get(p);var q=r.get("date");r.set("date",m.addMonths(q,this.get("shiftByMonths")));s.preventDefault();}},_updateControlState:function(){var q=this.get(p);if(m.areEqual(q.get("minimumDate"),q.get("date"))){if(this._eventAttachments.prevMonth){this._eventAttachments.prevMonth.detach();this._eventAttachments.prevMonth=false;}if(!this._controls.prevMonth.hasClass(g)){this._controls.prevMonth.addClass(g).setAttribute("aria-disabled","true");}}else{if(!this._eventAttachments.prevMonth){this._eventAttachments.prevMonth=this._controls.prevMonth.on(["click","keydown"],this._subtractMonths,this);}if(this._controls.prevMonth.hasClass(g)){this._controls.prevMonth.removeClass(g).setAttribute("aria-disabled","false");}}if(m.areEqual(q.get("maximumDate"),m.addMonths(q.get("date"),q._paneNumber-1))){if(this._eventAttachments.nextMonth){this._eventAttachments.nextMonth.detach();this._eventAttachments.nextMonth=false;}if(!this._controls.nextMonth.hasClass(g)){this._controls.nextMonth.addClass(g).setAttribute("aria-disabled","true");}}else{if(!this._eventAttachments.nextMonth){this._eventAttachments.nextMonth=this._controls.nextMonth.on(["click","keydown"],this._addMonths,this);}if(this._controls.nextMonth.hasClass(g)){this._controls.nextMonth.removeClass(g).setAttribute("aria-disabled","false");}}},_renderPrevControls:function(){var q=h(i(k.PREV_MONTH_CONTROL_TEMPLATE,k.CALENDARNAV_STRINGS));q.on("selectstart",function(r){r.preventDefault();});return q;},_renderNextControls:function(){var q=h(i(k.NEXT_MONTH_CONTROL_TEMPLATE,k.CALENDARNAV_STRINGS));q.on("selectstart",function(r){r.preventDefault();});return q;},_initNavigationControls:function(){var q=this.get(p);k.CALENDARNAV_STRINGS["control_tabindex"]=q.get("tabIndex");k.CALENDARNAV_STRINGS["prev_month_arialabel"]="Go to previous month";k.CALENDARNAV_STRINGS["next_month_arialabel"]="Go to next month";var r=q.get(n).one("."+j);this._controls.prevMonth=this._renderPrevControls();this._controls.nextMonth=this._renderNextControls();this._updateControlState();q.after("dateChange",this._updateControlState,this);r.prepend(this._controls.prevMonth);r.append(this._controls.nextMonth);}});a.namespace("Plugin").CalendarNavigator=k;},"3.5.0",{requires:["plugin","classnamemanager","datatype-date","node","substitute"]}); \ No newline at end of file +YUI.add("calendarnavigator",function(a){var n="contentBox",p="host",l="rendered",b=a.ClassNameManager.getClassName,i=a.substitute,c=a.Node,h=c.create,o="calendar",f="calendarnav",j=b(o,"header"),d=b(f,"prevmonth"),e=b(f,"nextmonth"),g=b(f,"month-disabled"),m=a.DataType.Date;function k(q){k.superclass.constructor.apply(this,arguments);}k.NS="navigator";k.NAME="pluginCalendarNavigator";k.ATTRS={shiftByMonths:{value:1}};k.CALENDARNAV_STRINGS={prev_month_class:d,next_month_class:e};k.PREV_MONTH_CONTROL_TEMPLATE=''+"<"+"";k.NEXT_MONTH_CONTROL_TEMPLATE=''+">"+"";a.extend(k,a.Plugin.Base,{_eventAttachments:{},_controls:{},initializer:function(q){this._controls={};this._eventAttachments={};this.afterHostMethod("renderUI",this._initNavigationControls);},destructor:function(){},_subtractMonths:function(s){if((s.type==="click")||(s.type==="keydown"&&(s.keyCode==13||s.keyCode==32))){var r=this.get(p);var q=r.get("date");r.set("date",m.addMonths(q,-1*this.get("shiftByMonths")));s.preventDefault();}},_addMonths:function(s){if((s.type==="click")||(s.type==="keydown"&&(s.keyCode==13||s.keyCode==32))){var r=this.get(p);var q=r.get("date");r.set("date",m.addMonths(q,this.get("shiftByMonths")));s.preventDefault();}},_updateControlState:function(){var q=this.get(p);if(m.areEqual(q.get("minimumDate"),q.get("date"))){if(this._eventAttachments.prevMonth){this._eventAttachments.prevMonth.detach();this._eventAttachments.prevMonth=false;}if(!this._controls.prevMonth.hasClass(g)){this._controls.prevMonth.addClass(g).setAttribute("aria-disabled","true");}}else{if(!this._eventAttachments.prevMonth){this._eventAttachments.prevMonth=this._controls.prevMonth.on(["click","keydown"],this._subtractMonths,this);}if(this._controls.prevMonth.hasClass(g)){this._controls.prevMonth.removeClass(g).setAttribute("aria-disabled","false");}}if(m.areEqual(q.get("maximumDate"),m.addMonths(q.get("date"),q._paneNumber-1))){if(this._eventAttachments.nextMonth){this._eventAttachments.nextMonth.detach();this._eventAttachments.nextMonth=false;}if(!this._controls.nextMonth.hasClass(g)){this._controls.nextMonth.addClass(g).setAttribute("aria-disabled","true");}}else{if(!this._eventAttachments.nextMonth){this._eventAttachments.nextMonth=this._controls.nextMonth.on(["click","keydown"],this._addMonths,this);}if(this._controls.nextMonth.hasClass(g)){this._controls.nextMonth.removeClass(g).setAttribute("aria-disabled","false");}}},_renderPrevControls:function(){var q=h(i(k.PREV_MONTH_CONTROL_TEMPLATE,k.CALENDARNAV_STRINGS));q.on("selectstart",function(r){r.preventDefault();});return q;},_renderNextControls:function(){var q=h(i(k.NEXT_MONTH_CONTROL_TEMPLATE,k.CALENDARNAV_STRINGS));q.on("selectstart",function(r){r.preventDefault();});return q;},_initNavigationControls:function(){var q=this.get(p);k.CALENDARNAV_STRINGS["control_tabindex"]=q.get("tabIndex");k.CALENDARNAV_STRINGS["prev_month_arialabel"]="Go to previous month";k.CALENDARNAV_STRINGS["next_month_arialabel"]="Go to next month";var r=q.get(n).one("."+j);this._controls.prevMonth=this._renderPrevControls();this._controls.nextMonth=this._renderNextControls();this._updateControlState();q.after("dateChange",this._updateControlState,this);r.prepend(this._controls.prevMonth);r.append(this._controls.nextMonth);}});a.namespace("Plugin").CalendarNavigator=k;},"3.5.1",{requires:["plugin","classnamemanager","datatype-date","node","substitute"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/calendarnavigator/calendarnavigator.js b/lib/yui/3.5.1/build/calendarnavigator/calendarnavigator.js similarity index 99% rename from lib/yui/3.5.0/build/calendarnavigator/calendarnavigator.js rename to lib/yui/3.5.1/build/calendarnavigator/calendarnavigator.js index fe3997ccbed..3c0e6fa5735 100644 --- a/lib/yui/3.5.0/build/calendarnavigator/calendarnavigator.js +++ b/lib/yui/3.5.1/build/calendarnavigator/calendarnavigator.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -281,4 +281,4 @@ Y.extend(CalendarNavigator, Y.Plugin.Base, { Y.namespace("Plugin").CalendarNavigator = CalendarNavigator; -}, '3.5.0' ,{requires:['plugin', 'classnamemanager', 'datatype-date', 'node', 'substitute']}); +}, '3.5.1' ,{requires:['plugin', 'classnamemanager', 'datatype-date', 'node', 'substitute']}); diff --git a/lib/yui/3.5.0/build/charts-base/charts-base-debug.js b/lib/yui/3.5.1/build/charts-base/charts-base-debug.js similarity index 99% rename from lib/yui/3.5.0/build/charts-base/charts-base-debug.js rename to lib/yui/3.5.1/build/charts-base/charts-base-debug.js index 180991288a3..76301197ed9 100644 --- a/lib/yui/3.5.0/build/charts-base/charts-base-debug.js +++ b/lib/yui/3.5.1/build/charts-base/charts-base-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -4526,12 +4526,13 @@ Y.extend(NumericAxis, Y.AxisType, { max = 0; roundingUnit = this._getMinimumUnit(max, min, units); + min = max - (roundingUnit * units); } else { + min = this._roundDownToNearest(min, roundingUnit); max = this._roundUpToNearest(max, roundingUnit); } - min = max - (roundingUnit * units); } else { @@ -4603,12 +4604,13 @@ Y.extend(NumericAxis, Y.AxisType, { Math.ceil(roundingUnit); } + min = max - (roundingUnit * units); } else { + min = this._roundDownToNearest(min, roundingUnit); max = this._roundUpToNearest(max, roundingUnit); } - min = max - (roundingUnit * units); } } @@ -4642,7 +4644,7 @@ Y.extend(NumericAxis, Y.AxisType, else if(maxGreaterThanZero && !minGreaterThanZero) { min = minRound; - max = min + minimumRange; + max = maxRound; } else { @@ -12720,7 +12722,7 @@ ChartBase.prototype = { if(categoryAxis) { categoryValue = categoryAxis.get("labelFunction").apply(this, [categoryAxis.getKeyValueAt(this.get("categoryKey"), index), categoryAxis.get("labelFormat")]); - if(Y_Lang.isString(categoryValue)) + if(!Y_Lang.isObject(categoryValue)) { categoryValue = DOCUMENT.createTextNode(categoryValue); } @@ -12738,7 +12740,7 @@ ChartBase.prototype = { msg.appendChild(DOCUMENT.createElement("br")); msg.appendChild(DOCUMENT.createTextNode(valueItem.displayName)); msg.appendChild(DOCUMENT.createTextNode(": ")); - if(Y_Lang.isString(seriesValue)) + if(!Y_Lang.isObject(seriesValue)) { seriesValue = DOCUMENT.createTextNode(seriesValue); } @@ -12779,7 +12781,7 @@ ChartBase.prototype = { seriesValue = valueItem.axis.get("labelFunction").apply(this, [valueItem.value, valueItem.axis.get("labelFormat")]); msg.appendChild(DOCUMENT.createTextNode(categoryItem.displayName)); msg.appendChild(DOCUMENT.createTextNode(": ")); - if(Y_Lang.isString(categoryValue)) + if(!Y_Lang.isObject(categoryValue)) { categoryValue = DOCUMENT.createTextNode(categoryValue); } @@ -12787,7 +12789,7 @@ ChartBase.prototype = { msg.appendChild(DOCUMENT.createElement("br")); msg.appendChild(DOCUMENT.createTextNode(valueItem.displayName)); msg.appendChild(DOCUMENT.createTextNode(": ")); - if(Y_Lang.isString(seriesValue)) + if(!Y_Lang.isObject(seriesValue)) { seriesValue = DOCUMENT.createTextNode(seriesValue); } @@ -15446,4 +15448,4 @@ Y.PieChart = Y.Base.create("pieChart", Y.Widget, [Y.ChartBase], { }); -}, '3.5.0' ,{requires:['dom', 'datatype-number', 'datatype-date', 'event-custom', 'event-mouseenter', 'event-touch', 'widget', 'widget-position', 'widget-stack', 'graphics']}); +}, '3.5.1' ,{requires:['dom', 'datatype-number', 'datatype-date', 'event-custom', 'event-mouseenter', 'event-touch', 'widget', 'widget-position', 'widget-stack', 'graphics']}); diff --git a/lib/yui/3.5.1/build/charts-base/charts-base-min.js b/lib/yui/3.5.1/build/charts-base/charts-base-min.js new file mode 100644 index 00000000000..b9e9dfa062a --- /dev/null +++ b/lib/yui/3.5.1/build/charts-base/charts-base-min.js @@ -0,0 +1,27 @@ +/* +YUI 3.5.1 (build 22) +Copyright 2012 Yahoo! Inc. All rights reserved. +Licensed under the BSD License. +http://yuilibrary.com/license/ +*/ +YUI.add("charts-base",function(b){var A=b.config,v=A.win,g=A.doc,q=b.Lang,m=q.isString,k,p,u,a,c=b.ClassNameManager.getClassName,n=c("seriesmarker"),r,C,w,z,t;r=function(D){r.superclass.constructor.apply(this,arguments);};r.NAME="shapeGroup";b.extend(r,b.Path,{_draw:function(){var K=this.get("xvalues"),H=this.get("yvalues"),O,N,E,G,V=0,W,S=[],I=this.get("dimensions"),T=I.width,P=I.height,F=I.radius,J=I.yRadius,Q=this.get("id"),D=this.node.className,U=q.isArray(T),R=q.isArray(P),L=q.isArray(F),M=q.isArray(J);if(K&&H&&K.length>0){this.clear();W=K.length;for(;V0){J-=G/2*E/90;}else{if(E<0){D-=K;J-=G/2*H/90;}else{D-=K*0.5;}}J+=F;J+=O;L.labelWidth=K;L.labelHeight=G;L.x=D;L.y=J;Q._rotate(N,L);},_setRotationCoords:function(H){var E=H.rot,F=H.absRot,D=H.labelWidth,J=H.labelHeight,I,G;if(E>0){I=0;G=J/2*E/90;}else{if(E<0){I=D;G=J/2*F/90;}else{I=D*0.5;G=0;}}H.x-=I;H.y-=G;},_getTransformOrigin:function(D){var E;if(D>0){E=[0,0.5];}else{if(D<0){E=[1,0.5];}else{E=[0,0];}}return E;},offsetNodeForTick:function(D){var E=this;E.get("contentBox").setStyle("top",0-E.get("topTickOffset"));},setCalculatedSize:function(){var H=this,G=H.get("styles"),E=G.label,F=H._totalTitleSize,D=Math.round(H.get("bottomTickOffset")+H._maxLabelSize+E.margin.top+F);if(H._explicitHeight){D=H._explicitHeight;}H.set("calculatedHeight",D);}};b.BottomAxisLayout=u;a=function(){};a.prototype={_getDefaultMargins:function(){return{top:0,left:0,right:0,bottom:4};},setTickOffsets:function(){var F=this,H=F.get("styles").majorTicks,E=H.length,D=E*0.5,G=H.display;F.set("leftTickOffset",0);F.set("rightTickOffset",0); +switch(G){case"inside":F.set("bottomTickOffset",E);F.set("topTickOffset",0);break;case"outside":F.set("bottomTickOffset",0);F.set("topTickOffset",E);break;case"cross":F.set("topTickOffset",D);F.set("bottomTickOffset",D);break;default:F.set("topTickOffset",0);F.set("bottomTickOffset",0);break;}},getLineStart:function(){var F=this,D=F.get("styles"),I=D.padding,J=D.majorTicks,E=J.length,H=J.display,G={x:0,y:I.top};if(H==="outside"){G.y+=E;}else{if(H==="cross"){G.y+=E/2;}}return G;},drawTick:function(K,L,G){var J=this,D=J.get("styles"),I=D.padding,H=G.length,E={x:L.x,y:I.top},F={x:L.x,y:H+I.top};J.drawLine(K,E,F);},getLabelPoint:function(D){return{x:D.x,y:D.y-this.get("topTickOffset")};},updateMaxLabelSize:function(H,F){var L=this,I=this._labelRotationProps,D=I.rot,G=I.absRot,K=I.sinRadians,E=I.cosRadians,J;if(D===0){J=F;}else{if(G===90){J=H;}else{J=(K*H)+(E*F);}}L._maxLabelSize=Math.max(L._maxLabelSize,J);},getExplicitlySized:function(G){if(this._explicitHeight){var F=this,E=F._explicitHeight,D=F._totalTitleSize,I=F.get("topTickOffset"),H=G.label.margin.right;F._maxLabelSize=E-(I+H+D);return true;}return false;},positionTitle:function(L){var M=this,D=M._titleBounds,E=M.get("styles").title.margin,I=M._titleRotationProps,H=L.offsetWidth,F=L.offsetHeight,G=D.bottom-D.top,K=(M.get("width")*0.5)-(H*0.5),J=G/2-F/2;I.labelWidth=H;I.labelHeight=F;if(E&&E.top){J+=E.top;}I.x=K;I.y=J;I.transformOrigin=[0.5,0.5];M._rotate(L,I);},positionLabel:function(N,Q,O,I){var P=this,K=this._totalTitleSize,D=P._maxLabelSize,F=Q.x,J=Q.y+K+D,M=this._labelRotationProps,E=M.rot,H=M.absRot,L=this._labelWidths[I],G=this._labelHeights[I];if(E===0){F-=L*0.5;J-=G;}else{if(E===90){F-=L;J-=(G*0.5);}else{if(E===-90){J-=(G*0.5);}else{if(E>0){F-=L;J-=G-(G*E/180);}else{J-=G-(G*H/180);}}}}M.x=Math.round(F);M.y=Math.round(J);M.labelWidth=L;M.labelHeight=G;this._rotate(N,M);},_setRotationCoords:function(H){var E=H.rot,F=H.absRot,D=H.labelWidth,J=H.labelHeight,I,G;if(E===0){I=D*0.5;G=J;}else{if(E===90){I=D;G=(J*0.5);}else{if(E===-90){G=(J*0.5);}else{if(E>0){I=D;G=J-(J*E/180);}else{G=J-(J*F/180);}}}}H.x-=I;H.y-=G;},_getTransformOrigin:function(D){var E;if(D===0){E=[0,0];}else{if(D===90){E=[1,0.5];}else{if(D===-90){E=[0,0.5];}else{if(D>0){E=[1,0.5];}else{E=[0,0.5];}}}}return E;},offsetNodeForTick:function(D){},setCalculatedSize:function(){var H=this,K=H.get("graphic"),G=H.get("styles"),F=G.label.margin,J=F.bottom+H._maxLabelSize,E=H._totalTitleSize,I=this.get("topTickOffset"),D=Math.round(I+J+E);if(this._explicitHeight){D=this._explicitWidth;}H.set("calculatedHeight",D);K.set("y",D-I);}};b.TopAxisLayout=a;b.Axis=b.Base.create("axis",b.Widget,[b.Renderer],{_calculatedWidth:0,_calculatedHeight:0,_dataChangeHandler:function(D){if(this.get("rendered")){this._drawAxis();}},_positionChangeHandler:function(D){this._updateGraphic(D.newVal);this._updateHandler();},_updateGraphic:function(D){var E=this.get("graphic");if(D=="none"){if(E){E.destroy();}}else{if(!E){this._setCanvas();}}},_updateHandler:function(D){if(this.get("rendered")){this._drawAxis();}},renderUI:function(){this._updateGraphic(this.get("position"));},syncUI:function(){var H=this._layout,G,F,D,I,E;if(H){G=H._getDefaultMargins();F=this.get("styles");D=F.label.margin;I=F.title.margin;for(E in G){if(G.hasOwnProperty(E)){D[E]=D[E]===undefined?G[E]:D[E];I[E]=I[E]===undefined?G[E]:I[E];}}}this._drawAxis();},_setCanvas:function(){var D=this.get("contentBox"),I=this.get("boundingBox"),H=this.get("position"),F=this._parentNode,E=this.get("width"),G=this.get("height");I.setStyle("position","absolute");I.setStyle("zIndex",2);E=E?E+"px":F.getStyle("width");G=G?G+"px":F.getStyle("height");if(H==="top"||H==="bottom"){D.setStyle("width",E);}else{D.setStyle("height",G);}D.setStyle("position","relative");D.setStyle("left","0px");D.setStyle("top","0px");this.set("graphic",new b.Graphic());this.get("graphic").render(D);},_getDefaultStyles:function(){var D={majorTicks:{display:"inside",length:4,color:"#dad8c9",weight:1,alpha:1},minorTicks:{display:"none",length:2,color:"#dad8c9",weight:1},line:{weight:1,color:"#dad8c9",alpha:1},majorUnit:{determinant:"count",count:11,distance:75},top:"0px",left:"0px",width:"100px",height:"100px",label:{color:"#808080",alpha:1,fontSize:"85%",rotation:0,margin:{top:undefined,right:undefined,bottom:undefined,left:undefined}},title:{color:"#808080",alpha:1,fontSize:"85%",rotation:undefined,margin:{top:undefined,right:undefined,bottom:undefined,left:undefined}},hideOverlappingLabelTicks:false};return b.merge(b.Renderer.prototype._getDefaultStyles(),D);},_handleSizeChange:function(G){var F=G.attrName,I=this.get("position"),E=I=="left"||I=="right",D=this.get("contentBox"),H=I=="bottom"||I=="top";D.setStyle("width",this.get("width"));D.setStyle("height",this.get("height"));if((H&&F=="width")||(E&&F=="height")){this._drawAxis();}},_layoutClasses:{top:a,bottom:u,left:k,right:p},drawLine:function(F,E,D){F.moveTo(E.x,E.y);F.lineTo(D.x,D.y);},_getTextRotationProps:function(H){if(H.rotation===undefined){switch(this.get("position")){case"left":H.rotation=-90;break;case"right":H.rotation=90;break;default:H.rotation=0;break;}}var E=Math.min(90,Math.max(-90,H.rotation)),G=Math.abs(E),F=Math.PI/180,I=parseFloat(parseFloat(Math.sin(G*F)).toFixed(8)),D=parseFloat(parseFloat(Math.cos(G*F)).toFixed(8));return{rot:E,absRot:G,radCon:F,sinRadians:I,cosRadians:D,textAlpha:H.alpha};},_drawAxis:function(){if(this._drawing){this._callLater=true;return;}this._drawing=true;this._callLater=false;if(this._layout){var L=this.get("styles"),N=L.line,J=L.label,Z=L.majorTicks,D=Z.display!="none",M,G=L.majorUnit,W,U,V=0,X=this._layout,T,aa,P,K,Y,E,I=this.get("labelFunction"),F=this.get("labelFunctionScope"),H=this.get("labelFormat"),O=this.get("graphic"),Q=this.get("path"),R,S;this._labelWidths=[];this._labelHeights=[];O.set("autoDraw",false);Q.clear();Q.set("stroke",{weight:N.weight,color:N.color,opacity:N.alpha});this._labelRotationProps=this._getTextRotationProps(J);this._labelRotationProps.transformOrigin=X._getTransformOrigin(this._labelRotationProps.rot); +X.setTickOffsets.apply(this);T=this.getLength();P=X.getLineStart.apply(this);W=this.getTotalMajorUnits(G);U=this.getMajorUnitDistance(W,T,G);this.set("edgeOffset",this.getEdgeOffset(W,T)*0.5);if(W<1){this._clearLabelCache();}else{M=this.getFirstPoint(P);this.drawLine(Q,P,this.getLineEnd(M));if(D){R=this.get("tickPath");R.clear();R.set("stroke",{weight:Z.weight,color:Z.color,opacity:Z.alpha});X.drawTick.apply(this,[R,M,Z]);}this._createLabelCache();this._tickPoints=[];this._maxLabelSize=0;this._totalTitleSize=0;this._titleSize=0;this._setTitle();S=X.getExplicitlySized.apply(this,[L]);for(;V 0){D=H.shift();}else{D=g.createElement("span");D.className=b.Lang.trim([D.className,"axisLabel"].join(" "));this.get("contentBox").append(D);}if(!g.createElementNS){if(D.style.filter){D.style.filter=null;}}D.style.display="block";D.style.whiteSpace="nowrap";D.style.position="absolute";for(E in G){if(G.hasOwnProperty(E)&&!F.hasOwnProperty(E)){D.style[E]=G[E];}}return D;},_createLabelCache:function(){if(this._labels){while(this._labels.length>0){this._labelCache.push(this._labels.shift());}}else{this._clearLabelCache();}this._labels=[];},_clearLabelCache:function(){if(this._labelCache){var D=this._labelCache.length,F=0,E;for(;F -1&&!isNaN(M)){F="progid:DXImageTransform.Microsoft.Alpha(Opacity="+Math.round(M*100)+")";}if(D!==0){K.rotate(D);H=K.getContentRect(G.labelWidth,G.labelHeight);K.init();K.translate(H.left,H.top);K.translate(L,I);this._simulateRotateWithTransformOrigin(K,D,E,G.labelWidth,G.labelHeight);if(F){F+=" ";}else{F="";}F+=K.toFilterText();J.style.left=K.dx+"px";J.style.top=K.dy+"px";}else{J.style.left=L+"px";J.style.top=I+"px";}if(F){J.style.filter=F;}}},_simulateRotateWithTransformOrigin:function(F,E,G,D,H){var J=G[0]*D,I=G[1]*H;J=!isNaN(J)?J:0;I=!isNaN(I)?I:0;F.translate(J,I);F.rotate(E);F.translate(-J,-I);},getMaxLabelBounds:function(){return this._getLabelBounds(this.getMaximumValue()); +},getMinLabelBounds:function(){return this._getLabelBounds(this.getMinimumValue());},_getLabelBounds:function(I){var H=this._layout,G=this.get("styles").label,D=new b.Matrix(),E,F=this._getTextRotationProps(G);F.transformOrigin=H._getTransformOrigin(F.rot);E=this.getLabel({x:0,y:0},G);this.get("appendLabelFunction")(E,this.get("labelFunction").apply(this,[I,this.get("labelFormat")]));F.labelWidth=E.offsetWidth;F.labelHeight=E.offsetHeight;this._removeChildren(E);b.Event.purgeElement(E,true);E.parentNode.removeChild(E);F.x=0;F.y=0;H._setRotationCoords(F);D.translate(F.x,F.y);this._simulateRotateWithTransformOrigin(D,F.rot,F.transformOrigin,F.labelWidth,F.labelHeight);return D.getContentRect(F.labelWidth,F.labelHeight);},_removeChildren:function(D){if(D.hasChildNodes()){var E;while(D.firstChild){E=D.firstChild;this._removeChildren(E);D.removeChild(E);}}},destructor:function(){var E=this.get("contentBox").getDOMNode(),H=this.get("labels"),G=this.get("graphic"),F,D=H?H.length:0;if(D>0){while(H.length>0){F=H.shift();this._removeChildren(F);E.removeChild(F);F=null;}}if(G){G.destroy();}},_maxLabelSize:0,_setText:function(D,E){D.innerHTML="";if(q.isNumber(E)){E=E+"";}else{if(!E){E="";}}if(m(E)){E=g.createTextNode(E);}D.appendChild(E);}},{ATTRS:{width:{lazyAdd:false,getter:function(){if(this._explicitWidth){return this._explicitWidth;}return this._calculatedWidth;},setter:function(D){this._explicitWidth=D;return D;}},height:{lazyAdd:false,getter:function(){if(this._explicitHeight){return this._explicitHeight;}return this._calculatedHeight;},setter:function(D){this._explicitHeight=D;return D;}},calculatedWidth:{getter:function(){return this._calculatedWidth;},setter:function(D){this._calculatedWidth=D;return D;}},calculatedHeight:{getter:function(){return this._calculatedHeight;},setter:function(D){this._calculatedHeight=D;return D;}},edgeOffset:{value:0},graphic:{},path:{readOnly:true,getter:function(){if(!this._path){var D=this.get("graphic");if(D){this._path=D.addShape({type:"path"});}}return this._path;}},tickPath:{readOnly:true,getter:function(){if(!this._tickPath){var D=this.get("graphic");if(D){this._tickPath=D.addShape({type:"path"});}}return this._tickPath;}},node:{},position:{setter:function(E){var D=this._layoutClasses[E];if(E&&E!="none"){this._layout=new D();}return E;}},topTickOffset:{value:0},bottomTickOffset:{value:0},leftTickOffset:{value:0},rightTickOffset:{value:0},labels:{readOnly:true,getter:function(){return this._labels;}},tickPoints:{readOnly:true,getter:function(){if(this.get("position")=="none"){return this.get("styles").majorUnit.count;}return this._tickPoints;}},overlapGraph:{value:true,validator:function(D){return q.isBoolean(D);}},labelFunctionScope:{},maxLabelSize:{getter:function(){return this._maxLabelSize;},setter:function(D){this._maxLabelSize=D;return D;}},title:{value:null},labelFunction:{value:function(E,D){return E;}},appendLabelFunction:{getter:function(){return this._setText;}},appendTitleFunction:{getter:function(){return this._setText;}}}});b.AxisType=b.Base.create("baseAxis",b.Axis,[],{initializer:function(){this.after("dataReady",b.bind(this._dataChangeHandler,this));this.after("dataUpdate",b.bind(this._dataChangeHandler,this));this.after("minimumChange",b.bind(this._keyChangeHandler,this));this.after("maximumChange",b.bind(this._keyChangeHandler,this));this.after("keysChange",this._keyChangeHandler);this.after("dataProviderChange",this._dataProviderChangeHandler);this.after("alwaysShowZeroChange",this._keyChangeHandler);this.after("roundingMethodChange",this._keyChangeHandler);},bindUI:function(){this.after("stylesChange",this._updateHandler);this.after("overlapGraphChange",this._updateHandler);this.after("positionChange",this._positionChangeHandler);this.after("widthChange",this._handleSizeChange);this.after("heightChange",this._handleSizeChange);this.after("calculatedWidthChange",this._handleSizeChange);this.after("calculatedHeightChange",this._handleSizeChange);},_dataProviderChangeHandler:function(G){var D=this.get("keyCollection").concat(),F=this.get("keys"),E;if(F){for(E in F){if(F.hasOwnProperty(E)){delete F[E];}}}if(D&&D.length){this.set("keys",D);}},GUID:"yuibaseaxis",_type:null,_setMaximum:null,_dataMaximum:null,_setMinimum:null,_data:null,_updateTotalDataFlag:true,_dataReady:false,addKey:function(D){this.set("keys",D);},_getKeyArray:function(G,H){var F=0,I,E=[],D=H.length;for(;F 0){D=I.length;E=H=I[0];if(D>1){for(G=1;G =H){E=Math.floor((G/2-H)/(Math.pow(10,D-1)/2));H=G/2-E*Math.pow(10,D-1)/2;}else{H=G;}if(!isNaN(H)){return H;}return F;},_updateMinAndMax:function(){var E=this.get("data"),J,D,H,G,F=0,K,L=this.get("setMax"),I=this.get("setMin");if(!L||!I){if(E&&E.length&&E.length>0){H=E.length;for(;F =0,G=M>0,U,D,R,L,N,T,Q,I=this.getTotalMajorUnits()-1,O=this.get("alwaysShowZero"),F=this.get("roundingMethod"),H=(M-J)/I>=1;if(F){if(F=="niceNumber"){E=this._getMinimumUnit(M,J,I);if(S&&G){if((O||J =0){N--;L++;T=Math.ceil(M/L);Q=Math.floor(J/N)*-1;}if(N>0){M=Q*L;}else{M=J+(E*I);}}else{if(P){while(T =0){N++;L--;Q=Math.floor(J/N)*-1;T=Math.ceil(M/L);}if(L>0){J=T*N*-1;}else{J=M-(E*I);}}else{E=Math.max(T,Q);E=this._getNiceNumber(E);M=E*L;J=E*N*-1;}}}else{if(P){J=M-(E*I);}else{if(K){M=J+(E*I);}else{J=this._roundDownToNearest(J,E);M=this._roundUpToNearest(M,E);}}}}else{if(K){if(O){M=0;}else{M=J+(E*I);}}else{if(!P){if(O||M===0||M+E>0){M=0;E=this._getMinimumUnit(M,J,I);J=M-(E*I);}else{J=this._roundDownToNearest(J,E);M=this._roundUpToNearest(M,E);}}else{J=M-(E*I);}}}}}else{if(F=="auto"){if(S&&G){if((O||J<(M-J)/I)&&!K){J=0;}E=(M-J)/I;if(H){E=Math.ceil(E);}M=J+(E*I);}else{if(G&&!S){if(O){L=Math.round(I/((-1*J)/M+1));L=Math.max(Math.min(L,I-1),1);N=I-L;if(H){T=Math.ceil(M/L);Q=Math.floor(J/N)*-1;}else{T=M/L;Q=J/N*-1;}E=Math.max(T,Q);M=E*L;J=E*N*-1;}else{E=(M-J)/I;if(H){E=Math.ceil(E);}J=this._roundDownToNearest(J,E);M=this._roundUpToNearest(M,E);}}else{E=(M-J)/I;if(H){E=Math.ceil(E);}if(O||M===0||M+E>0){M=0;E=(M-J)/I;if(H){Math.ceil(E);}J=M-(E*I);}else{J=this._roundDownToNearest(J,E);M=this._roundUpToNearest(M,E);}}}}else{if(!isNaN(F)&&isFinite(F)){E=F;V=E*I;U=(M-J)>V;R=this._roundDownToNearest(J,E);D=this._roundUpToNearest(M,E);if(P){J=M-V;}else{if(K){M=J+V;}else{if(S&&G){if(O||R<=0){J=0;}else{J=R;}M=J+V;}else{if(G&&!S){J=R;M=D;}else{if(O||D>=0){M=0;}else{M=D;}J=M-V;}}}}}}}}this._dataMaximum=M;this._dataMinimum=J;},getLabelByIndex:function(H,E){var G=this.get("minimum"),D=this.get("maximum"),J=(D-G)/(E-1),F,I=this.get("roundingMethod");E-=1;if(H===0){F=G;}else{if(H===E){F=D;}else{F=(H*J);if(I=="niceNumber"){F=this._roundToNearest(F,J);}F+=G;}}return parseFloat(F);},_roundToNearest:function(F,E){E=E||1;if(E===0){return F;}var D=Math.round(this._roundToPrecision(F/E,10))*E;return this._roundToPrecision(D,10);},_roundUpToNearest:function(E,D){D=D||1;if(D===0){return E;}return Math.ceil(this._roundToPrecision(E/D,10))*D;},_roundDownToNearest:function(E,D){D=D||1;if(D===0){return E;}return Math.floor(this._roundToPrecision(E/D,10))*D;},_roundToPrecision:function(F,D){D=D||0;var E=Math.pow(10,D);return Math.round(E*F)/E;},_hasDataOverflow:function(){var F,E,D;if(this.get("setMin")||this.get("setMax")){return true;}F=this.get("roundingMethod"); +E=this._actualMinimum;D=this._actualMaximum;if(q.isNumber(F)&&((q.isNumber(D)&&D>this._dataMaximum)||(q.isNumber(E)&&E=0){J+=G;}else{D+=G;}}}if(J>0){K=Math.max(K,J);}else{K=Math.max(K,D);}if(D<0){E=Math.min(E,D);}else{E=Math.min(E,J);}}this._actualMaximum=K;this._actualMinimum=E;if(N){K=this._setMaximum;}if(I){E=this._setMinimum;}this._roundMinAndMax(E,K,I,N);}});b.StackedAxis=e;function d(D){d.superclass.constructor.apply(this,arguments);}d.NAME="timeAxis";d.ATTRS={setMax:{readOnly:true,getter:function(){var D=this._getNumber(this._setMaximum);return(q.isNumber(D));}},setMin:{readOnly:true,getter:function(){var D=this._getNumber(this._setMinimum);return(q.isNumber(D));}},maximum:{getter:function(){var D=this._getNumber(this._setMaximum);if(!q.isNumber(D)){D=this._getNumber(this.get("dataMaximum"));}return parseFloat(D);},setter:function(D){this._setMaximum=this._getNumber(D);return D;}},minimum:{getter:function(){var D=this._getNumber(this._setMinimum);if(!q.isNumber(D)){D=this._getNumber(this.get("dataMinimum"));}return parseFloat(D);},setter:function(D){this._setMinimum=this._getNumber(D);return D;}},labelFunction:{value:function(E,D){E=b.DataType.Date.parse(E);if(D){return b.DataType.Date.format(E,{format:D});}return E;}},labelFormat:{value:"%b %d, %y"}};b.extend(d,b.AxisType,{formatLabel:function(E,D){E=b.DataType.Date.parse(E);if(D){return b.DataType.Date.format(E,{format:D});}return E;},GUID:"yuitimeaxis",_dataType:"time",getLabelByIndex:function(I,F){var H=this.get("minimum"),E=this.get("maximum"),D=this.get("position"),J,G;F-=1;J=((E-H)/F)*I;if(D=="bottom"||D=="top"){G=H+J;}else{G=E-J;}return G;},_getKeyArray:function(G,H){var I,E=[],F=0,J,D=H.length;for(;F F){R.lineTo(M+Math.cos(G)*F,L+Math.sin(G)*F);}else{if(Q>0){R.lineTo(M+Math.cos(G)*Q,L+Math.sin(G)*Q);}}R.moveTo(D,P);},_getLineDefaults:function(){return{alpha:1,weight:6,lineType:"solid",dashLength:10,gapSpace:10,connectDiscontinuousPoints:true,discontinuousType:"solid",discontinuousDashLength:10,discontinuousGapSpace:10};}};b.augment(h,b.Attribute);b.Lines=h;function y(D){var E={area:{getter:function(){return this._defaults||this._getAreaDefaults();},setter:function(G){var F=this._defaults||this._getAreaDefaults();this._defaults=b.merge(F,G);}}};this.addAttrs(E,D);this.get("styles");}y.prototype={_getPath:function(){var D=this._path;if(!D){D=this.get("graph").get("graphic").addShape({type:"path"});this._path=D;}return D;},_toggleVisible:function(D){if(this._path){this._path.set("visible",D);}},drawFill:function(L,H){if(L.length<1){return;}var K=L.length,E=L[0],D=H[0],J=E,I=D,P,N,G=1,M=this.get("styles").area,O=this._getPath(),F=M.color||this._getDefaultColor(this.get("graphOrder"),"slice");O.clear();O.set("fill",{color:F,opacity:M.alpha});O.set("stroke",{weight:0});O.moveTo(E,D);for(;G 0){E=G[T-1].get("xcoords").concat().reverse();Q=G[T-1].get("ycoords").concat().reverse();M=this.getCurveControlPoints(E,Q);U=0;V=M.length;R.lineTo(E[0],Q[0]);for(;U 0){J=F[H-1].get("xcoords").concat();G=F[H-1].get("ycoords").concat();M=M.concat(J.concat().reverse());I=I.concat(G.concat().reverse());M.push(M[0]);I.push(I[0]);}else{if(L==="vertical"){M.push(this._leftOrigin);M.push(this._leftOrigin);I.push(I[I.length-1]);I.push(D);}else{M.push(M[M.length-1]);M.push(E);I.push(this._bottomOrigin);I.push(this._bottomOrigin);}}return[M,I]; +},_getAreaDefaults:function(){return{};}};b.augment(y,b.Attribute);b.Fills=y;function x(D){var E={markers:{getter:function(){return this._markers;}}};this.addAttrs(E,D);}x.prototype={_plotDefaults:null,drawPlots:function(){if(!this.get("xcoords")||this.get("xcoords").length<1){return;}var N=q.isNumber,U=b.clone(this.get("styles").marker),M=U.width,T=U.height,O=this.get("xcoords"),V=this.get("ycoords"),R=0,S=O.length,P=V[0],G,J,Q=M/2,F=T/2,K,H,E=null,I=null,L=this.get("graphOrder"),D=this.get("groupMarkers");if(D){K=[];H=[];for(;R 0){while(!E){if(this._markerCache.length<1){E=this._createMarker(H,D,G);break;}E=this._markerCache.shift();}E.set(H);}else{E=this._createMarker(H,D,G);}this._markers.push(E);return E;},_createMarker:function(H,D,G){var I=this.get("graphic"),F,E=b.clone(H);I.set("autoDraw",false);E.type=E.shape;F=I.addShape(E);F.addClass(n);return F;},_createMarkerCache:function(){if(this._groupMarker){this._groupMarker.destroy();this._groupMarker=null;}if(this._markers&&this._markers.length>0){this._markerCache=this._markers.concat();}else{this._markerCache=[];}this._markers=[];},_createGroupMarker:function(H){var E,I=this.get("markers"),G=H.border,J,D,F;if(I&&I.length>0){while(I.length>0){E=I.shift();E.destroy();}this.set("markers",[]);}G.opacity=G.alpha;D={id:this.get("chart").get("id")+"_"+H.graphOrder,stroke:G,fill:H.fill,dimensions:H.dimensions,xvalues:H.xvalues,yvalues:H.yvalues};D.fill.opacity=H.fill.alpha;F=this._getGroupShape(H.shape);if(F){D.type=F;}if(H.hasOwnProperty("radius")&&!isNaN(H.radius)){D.dimensions.radius=H.radius;}if(this._groupMarker){this._groupMarker.destroy();}J=this.get("graphic");J.set("autoDraw",true);this._groupMarker=J.addShape(D);},_toggleVisible:function(H){var E,G=this.get("markers"),F=0,D;if(G){D=G.length;for(;F0){D=this._markerCache.shift();if(D){D.destroy();}}},updateMarkerState:function(J,H){if(this._markers&&this._markers[H]){var L,I,M=b.clone(this.get("styles").marker),D=this._getState(J),K=this.get("xcoords"),G=this.get("ycoords"),F=this._markers[H],E=D=="off"||!M[D]?M:M[D];E.fill.color=this._getItemColor(E.fill.color,H);E.border.color=this._getItemColor(E.border.color,H);E.stroke=E.border;F.set(E);L=E.width;I=E.height;F.set("x",(K[H]-L/2));F.set("y",(G[H]-I/2));F.set("visible",this.get("visible"));}},_getItemColor:function(E,D){if(q.isArray(E)){return E[D%E.length];}return E;},_setStyles:function(D){D=this._parseMarkerStyles(D);return b.Renderer.prototype._setStyles.apply(this,[D]);},_parseMarkerStyles:function(E){if(E.marker){var D=this._getPlotDefaults();E.marker=this._mergeStyles(E.marker,D);if(E.marker.over){E.marker.over=this._mergeStyles(E.marker.over,E.marker);}if(E.marker.down){E.marker.down=this._mergeStyles(E.marker.down,E.marker);}}return E;},_getState:function(D){var E;switch(D){case"mouseout":E="off";break;case"mouseover":E="over";break;case"mouseup":E="over";break;case"mousedown":E="down";break;}return E;},_stateSyles:null};b.augment(x,b.Attribute);b.Plots=x;function B(){}B.prototype={drawSeries:function(){if(this.get("xcoords").length<1){return;}var af=b.clone(this.get("styles").marker),V,R,N=this.get("xcoords"),O=this.get("ycoords"),ag=0,K=N.length,G=O[0],am=this.get("type"),aa=this.get("graph"),Y=aa.seriesTypes[am],E=Y.length,ad=0,ai=0,ab=0,ac,T,U=this.get("order"),ak=this.get("graphOrder"),F,al,P,Q,W,ah=null,D=null,X=[],H=[],L,M,S,aj,Z={width:[],height:[]},J=[],I=[],ae=this.get("groupMarkers");if(q.isArray(af.fill.color)){ah=af.fill.color.concat();}if(q.isArray(af.border.color)){D=af.border.color.concat();}if(this.get("direction")=="vertical"){P="height";Q="width";}else{P="width";Q="height";}V=af[P];R=af[Q];this._createMarkerCache();for(;ag ag){ab=ad;}}ai=K*ad;this._maxSize=aa.get(P);if(ai>this._maxSize){ac=aa.get(P)/ai;ad*=ac;ab*=ac;V*=ac;V=Math.max(V,1);this._maxSize=V;}ab-=ad/2;for(ag=0;ag 0){G=W.top;F=W.left;if(ae){Z[P][ag]=V;Z[Q][ag]=W.calculatedSize;J.push(F);I.push(G);}else{af[P]=V;af[Q]=W.calculatedSize;af.x=F;af.y=G;if(ah){af.fill.color=ah[ag%ah.length];}if(D){af.border.color=D[ag%D.length];}al=this.getMarker(af,ak,ag);}}else{if(!ae){this._markers.push(null);}}}this.set("xMarkerPlane",X);this.set("yMarkerPlane",H);if(ae){this._createGroupMarker({fill:af.fill,border:af.border,dimensions:Z,xvalues:J,yvalues:I,shape:af.shape});}else{this._clearMarkerCache(); +}},_defaultFillColors:["#66007f","#a86f41","#295454","#996ab2","#e8cdb7","#90bdbd","#000000","#c3b8ca","#968373","#678585"],_getPlotDefaults:function(){var D={fill:{type:"solid",alpha:1,colors:null,alphas:null,ratios:null},border:{weight:0,alpha:1},width:12,height:12,shape:"rect",padding:{top:0,left:0,right:0,bottom:0}};D.fill.color=this._getDefaultColor(this.get("graphOrder"),"fill");D.border.color=this._getDefaultColor(this.get("graphOrder"),"border");return D;}};b.Histogram=B;b.CartesianSeries=b.Base.create("cartesianSeries",b.Base,[b.Renderer],{_xDisplayName:null,_yDisplayName:null,_leftOrigin:null,_bottomOrigin:null,render:function(){this._setCanvas();this.addListeners();this.set("rendered",true);this.validate();},addListeners:function(){var E=this.get("xAxis"),D=this.get("yAxis");if(E){E.after("dataReady",b.bind(this._xDataChangeHandler,this));E.after("dataUpdate",b.bind(this._xDataChangeHandler,this));}if(D){D.after("dataReady",b.bind(this._yDataChangeHandler,this));D.after("dataUpdate",b.bind(this._yDataChangeHandler,this));}this.after("xAxisChange",this._xAxisChangeHandler);this.after("yAxisChange",this._yAxisChangeHandler);this.after("stylesChange",function(G){var F=this._updateAxisData();if(F){this.draw();}});this.after("widthChange",function(G){var F=this._updateAxisData();if(F){this.draw();}});this.after("heightChange",function(G){var F=this._updateAxisData();if(F){this.draw();}});this.after("visibleChange",this._handleVisibleChange);},_xAxisChangeHandler:function(E){var D=this.get("xAxis");D.after("dataReady",b.bind(this._xDataChangeHandler,this));D.after("dataUpdate",b.bind(this._xDataChangeHandler,this));},_yAxisChangeHandler:function(E){var D=this.get("yAxis");D.after("dataReady",b.bind(this._yDataChangeHandler,this));D.after("dataUpdate",b.bind(this._yDataChangeHandler,this));},GUID:"yuicartesianseries",_xDataChangeHandler:function(D){var E=this._updateAxisData();if(E){this.draw();}},_yDataChangeHandler:function(D){var E=this._updateAxisData();if(E){this.draw();}},_updateAxisData:function(){var H=this.get("xAxis"),E=this.get("yAxis"),F=this.get("xKey"),D=this.get("yKey"),G,I;if(!H||!E||!F||!D){return false;}I=H.getDataByKey(F);G=E.getDataByKey(D);if(!I||!G){return false;}this.set("xData",I.concat());this.set("yData",G.concat());return true;},validate:function(){if((this.get("xData")&&this.get("yData"))||this._updateAxisData()){this.draw();}else{this.fire("drawingComplete");}},_setCanvas:function(){var D=this.get("graph"),E=D.get("graphic");this.set("graphic",E);},setAreaData:function(){var U=q.isNumber,ai,ag,H=this.get("graph"),Q=H.get("width"),ab=H.get("height"),O=this.get("xAxis"),E=this.get("yAxis"),J=this.get("xData").concat(),ae=this.get("yData").concat(),Y,ac,al=O.getEdgeOffset(J.length,Q),N=E.getEdgeOffset(ae.length,ab),V=this.get("styles").padding,X=V.left,af=V.top,L=Q-(X+V.right+al),aa=ab-(af+V.bottom+N),T=[],ak=[],aj=O.get("maximum"),ad=O.get("minimum"),G=E.get("maximum"),D=E.get("minimum"),K=L/(aj-ad),R=aa/(G-D),M,ah=this.get("direction"),Z=0,P=[],W=[],I=this.get("xMarkerPlaneOffset"),F=this.get("yMarkerPlaneOffset"),S=this.get("graphic");S.set("width",Q);S.set("height",ab);M=J.length;al*=0.5;N*=0.5;if(ah==="vertical"){ae=ae.reverse();}this._leftOrigin=Math.round(((0-ad)*K)+X+al);this._bottomOrigin=Math.round((aa+af+N));for(;Z 0&&E>0)&&((this.get("xData")&&this.get("yData"))||this._updateAxisData())){if(this._drawing){this._callLater=true;return;}this._drawing=true;this._callLater=false;this.setAreaData();if(this.get("xcoords")&&this.get("ycoords")){this.drawSeries();}this._drawing=false;if(this._callLater){this.draw();}else{this._toggleVisible(this.get("visible"));this.fire("drawingComplete");}}}},_defaultPlaneOffset:4,_getDefaultStyles:function(){return{padding:{top:0,left:0,right:0,bottom:0}};},_defaultLineColors:["#426ab3","#d09b2c","#000000","#b82837","#b384b5","#ff7200","#779de3","#cbc8ba","#7ed7a6","#007a6c"],_defaultFillColors:["#6084d0","#eeb647","#6c6b5f","#d6484f","#ce9ed1","#ff9f3b","#93b7ff","#e0ddd0","#94ecba","#309687"],_defaultBorderColors:["#205096","#b38206","#000000","#94001e","#9d6fa0","#e55b00","#5e85c9","#adab9e","#6ac291","#006457"],_defaultSliceColors:["#66007f","#a86f41","#295454","#996ab2","#e8cdb7","#90bdbd","#000000","#c3b8ca","#968373","#678585"],_getDefaultColor:function(G,H){var E={line:this._defaultLineColors,fill:this._defaultFillColors,border:this._defaultBorderColors,slice:this._defaultSliceColors},F=E[H],D=F.length;G=G||0;if(G>=D){G=G%D;}H=H||"fill";return E[H][G];},_handleVisibleChange:function(D){this._toggleVisible(this.get("visible"));},getTotalValues:function(){var D=this.get("valueAxis").getTotalByKey(this.get("valueKey"));return D;},destructor:function(){if(this._path){this._path.destroy();}if(this._lineGraphic){this._lineGraphic.destroy();this._lineGraphic=null;}if(this.get("graphic")){this.get("graphic").destroy();}}},{ATTRS:{xDisplayName:{getter:function(){return this._xDisplayName||this.get("xKey");},setter:function(D){this._xDisplayName=D.toString();return D;}},yDisplayName:{getter:function(){return this._yDisplayName||this.get("yKey");},setter:function(D){this._yDisplayName=D.toString();return D;}},categoryDisplayName:{readOnly:true,getter:function(){return this.get("direction")=="vertical"?this.get("yDisplayName"):this.get("xDisplayName");}},valueDisplayName:{readOnly:true,getter:function(){return this.get("direction")=="vertical"?this.get("xDisplayName"):this.get("yDisplayName");}},type:{value:"cartesian"},order:{},graphOrder:{},xcoords:{},ycoords:{},chart:{readOnly:true,getter:function(){return this.get("graph").get("chart"); +}},graph:{},xAxis:{},yAxis:{},xKey:{setter:function(D){return D.toString();}},yKey:{setter:function(D){return D.toString();}},xData:{},yData:{},rendered:{value:false},width:{readOnly:true,getter:function(){this.get("graph").get("width");}},height:{readOnly:true,getter:function(){this.get("graph").get("height");}},visible:{value:true},xMarkerPlane:{},yMarkerPlane:{},xMarkerPlaneOffset:{getter:function(){var D=this.get("styles").marker;if(D&&D.width&&isFinite(D.width)){return D.width*0.5;}return this._defaultPlaneOffset;}},yMarkerPlaneOffset:{getter:function(){var D=this.get("styles").marker;if(D&&D.height&&isFinite(D.height)){return D.height*0.5;}return this._defaultPlaneOffset;}},direction:{value:"horizontal"},groupMarkers:{getter:function(){if(this._groupMarkers===undefined){return this.get("graph").get("groupMarkers");}else{return this._groupMarkers;}},setter:function(D){this._groupMarkers=D;return D;}}}});b.MarkerSeries=b.Base.create("markerSeries",b.CartesianSeries,[b.Plots],{drawSeries:function(){this.drawPlots();},_setStyles:function(D){if(!D.marker){D={marker:D};}D=this._parseMarkerStyles(D);return b.MarkerSeries.superclass._mergeStyles.apply(this,[D,this._getDefaultStyles()]);},_getDefaultStyles:function(){var D=this._mergeStyles({marker:this._getPlotDefaults()},b.MarkerSeries.superclass._getDefaultStyles());return D;}},{ATTRS:{type:{value:"marker"}}});b.LineSeries=b.Base.create("lineSeries",b.CartesianSeries,[b.Lines],{drawSeries:function(){this.drawLines();},_setStyles:function(D){if(!D.line){D={line:D};}return b.LineSeries.superclass._setStyles.apply(this,[D]);},_getDefaultStyles:function(){var D=this._mergeStyles({line:this._getLineDefaults()},b.LineSeries.superclass._getDefaultStyles());return D;}},{ATTRS:{type:{value:"line"}}});b.SplineSeries=b.Base.create("splineSeries",b.LineSeries,[b.CurveUtil,b.Lines],{drawSeries:function(){this.drawSpline();}},{ATTRS:{type:{value:"spline"}}});b.AreaSplineSeries=b.Base.create("areaSplineSeries",b.CartesianSeries,[b.Fills,b.CurveUtil],{drawSeries:function(){this.drawAreaSpline();}},{ATTRS:{type:{value:"areaSpline"}}});b.StackedSplineSeries=b.Base.create("stackedSplineSeries",b.SplineSeries,[b.StackingUtil],{setAreaData:function(){b.StackedSplineSeries.superclass.setAreaData.apply(this);this._stackCoordinates.apply(this);}},{ATTRS:{type:{value:"stackedSpline"}}});b.StackedMarkerSeries=b.Base.create("stackedMarkerSeries",b.MarkerSeries,[b.StackingUtil],{setAreaData:function(){b.StackedMarkerSeries.superclass.setAreaData.apply(this);this._stackCoordinates.apply(this);}},{ATTRS:{type:{value:"stackedMarker"}}});b.ColumnSeries=b.Base.create("columnSeries",b.MarkerSeries,[b.Histogram],{_getMarkerDimensions:function(E,D,G,H){var F={left:E+H};if(this._bottomOrigin>=D){F.top=D;F.calculatedSize=this._bottomOrigin-F.top;}else{F.top=this._bottomOrigin;F.calculatedSize=D-this._bottomOrigin;}return F;},updateMarkerState:function(F,R){if(this._markers&&this._markers[R]){var L=b.clone(this.get("styles").marker),V,G=this._getState(F),N=this.get("xcoords"),W=this.get("ycoords"),I=this._markers[R],T,D=this.get("graph"),E,J=D.seriesTypes[this.get("type")],S=J.length,M=0,H=0,P,O=0,K=[],Q=this.get("order"),U;V=G=="off"||!L[G]?b.clone(L):b.clone(L[G]);V.fill.color=this._getItemColor(V.fill.color,R);V.border.color=this._getItemColor(V.border.color,R);U=this._getMarkerDimensions(N[R],W[R],L.width,H);V.height=U.calculatedSize;V.width=Math.min(this._maxSize,V.width);I.set(V);for(;O O){H=M;}H-=M/2;}for(O=0;O=this._leftOrigin){F.left=this._leftOrigin;F.calculatedSize=E-F.left;}else{F.left=E;F.calculatedSize=this._leftOrigin-E;}return F;},updateMarkerState:function(F,R){if(this._markers&&this._markers[R]){var K=b.clone(this.get("styles").marker),V,G=this._getState(F),M=this.get("xcoords"),W=this.get("ycoords"),I=this._markers[R],T,D=this.get("graph"),J=D.seriesTypes[this.get("type")],S=J.length,E,L=0,H=0,O,N=0,Q=[],P=this.get("order"),U;V=G=="off"||!K[G]?K:K[G];V.fill.color=this._getItemColor(V.fill.color,R);V.border.color=this._getItemColor(V.border.color,R);U=this._getMarkerDimensions(M[R],W[R],K.height,H);V.width=U.calculatedSize;V.height=Math.min(this._maxSize,V.height);I.set(V);for(;NN){H=L;}H-=L/2;}for(N=0;Nthis.get("width")){P=this.width/H;U*=P;U=Math.max(U,1);}if(!F){M=R[Z-1];S=M.get("negativeBaseValues");Y=M.get("positiveBaseValues");if(!S||!Y){F=true;Y=[];S=[];}}else{S=[];Y=[];}this.set("negativeBaseValues",S);this.set("positiveBaseValues",Y);for(aa=0;aathis._bottomOrigin){Y[aa]=this._bottomOrigin;S[aa]=X;X-=ac;}else{Y[aa]=X;S[aa]=X;}}}else{if(X>this._bottomOrigin){X+=(S[aa]-this._bottomOrigin);ac=X-S[aa];S[aa]=X;X-=ac;}else{if(X<=this._bottomOrigin){X=Y[aa]-(this._bottomOrigin-X);ac=Y[aa]-X;Y[aa]=X;}}}if(!isNaN(ac)&&ac>0){J-=U/2;if(D){L.width[aa]=U;L.height[aa]=ac;N.push(J);K.push(X);}else{ad.width=U;ad.height=ac;ad.x=J;ad.y=X;if(E){ad.fill.color=E[aa%E.length];}if(O){ad.border.color=O[aa%O.length];}Q=this.getMarker(ad,T,aa);}}else{if(!D){this._markers.push(null);}}}if(D){this._createGroupMarker({fill:ad.fill,border:ad.border,dimensions:L,xvalues:N,yvalues:K,shape:ad.shape});}else{this._clearMarkerCache();}},updateMarkerState:function(K,I){if(this._markers&&this._markers[I]){var M,F,D=this._getState(K),L=this.get("xcoords"),J=this._markers[I],H=0,E,G;M=this.get("styles").marker;H=M.width*0.5;F=D=="off"||!M[D]?b.clone(M):b.clone(M[D]);F.height=J.get("height");F.x=(L[I]-H);F.y=J.get("y");F.id=J.get("id");E=F.fill.color;G=F.border.color;if(q.isArray(E)){F.fill.color=E[I%E.length];}else{F.fill.color=this._getItemColor(F.fill.color,I);}if(q.isArray(G)){F.border.color=G[I%G.length];}else{F.border.color=this._getItemColor(F.border.color,I);}J.set(F);}},_getPlotDefaults:function(){var D={fill:{type:"solid",alpha:1,colors:null,alphas:null,ratios:null},border:{weight:0,alpha:1},width:24,height:24,shape:"rect",padding:{top:0,left:0,right:0,bottom:0}};D.fill.color=this._getDefaultColor(this.get("graphOrder"),"fill");D.border.color=this._getDefaultColor(this.get("graphOrder"),"border");return D;}},{ATTRS:{type:{value:"stackedColumn"},negativeBaseValues:{value:null},positiveBaseValues:{value:null}}});b.StackedBarSeries=b.Base.create("stackedBarSeries",b.BarSeries,[b.StackingUtil],{drawSeries:function(){if(this.get("xcoords").length<1){return;}var U=q.isNumber,ac=b.clone(this.get("styles").marker),T=ac.width,ab=ac.height,V=this.get("xcoords"),ae=this.get("ycoords"),Z=0,aa=V.length,W=ae[0],H=this.get("type"),G=this.get("graph"),Q=G.seriesTypes[H],O,Y=this.get("order"),S=this.get("graphOrder"),I,P,L,R,X,E,N,F=Y===0,ad=aa*ab,K={width:[],height:[]},M=[],J=[],D=this.get("groupMarkers");if(q.isArray(ac.fill.color)){E=ac.fill.color.concat();}if(q.isArray(ac.border.color)){N=ac.border.color.concat();}this._createMarkerCache();if(ad>this.get("height")){O=this.height/ad;ab*=O;ab=Math.max(ab,1);}if(!F){L=Q[Y-1];R=L.get("negativeBaseValues");X=L.get("positiveBaseValues");if(!R||!X){F=true;X=[];R=[];}}else{R=[];X=[];}this.set("negativeBaseValues",R); +this.set("positiveBaseValues",X);for(Z=0;Z this._leftOrigin){X[Z]=I;R[Z]=this._leftOrigin;I-=T;}else{if(I =this._leftOrigin){I+=(X[Z]-this._leftOrigin);T=I-X[Z];X[Z]=I;I-=T;}}}if(!isNaN(T)&&T>0){W-=ab/2;if(D){K.width[Z]=T;K.height[Z]=ab;M.push(I);J.push(W);}else{ac.width=T;ac.height=ab;ac.x=I;ac.y=W;if(E){ac.fill.color=E[Z%E.length];}if(N){ac.border.color=N[Z%N.length];}P=this.getMarker(ac,S,Z);}}else{if(!D){this._markers.push(null);}}}if(D){this._createGroupMarker({fill:ac.fill,border:ac.border,dimensions:K,xvalues:M,yvalues:J,shape:ac.shape});}else{this._clearMarkerCache();}},updateMarkerState:function(L,I){if(this._markers[I]){var D=this._getState(L),H=this.get("ycoords"),J=this._markers[I],M=this.get("styles").marker,K=M.height,F=D=="off"||!M[D]?b.clone(M):b.clone(M[D]),E,G;F.y=(H[I]-K/2);F.x=J.get("x");F.width=J.get("width");F.id=J.get("id");E=F.fill.color;G=F.border.color;if(q.isArray(E)){F.fill.color=E[I%E.length];}else{F.fill.color=this._getItemColor(F.fill.color,I);}if(q.isArray(G)){F.border.color=G[I%G.length];}else{F.border.color=this._getItemColor(F.border.color,I);}J.set(F);}},_getPlotDefaults:function(){var D={fill:{type:"solid",alpha:1,colors:null,alphas:null,ratios:null},border:{weight:0,alpha:1},width:24,height:24,shape:"rect",padding:{top:0,left:0,right:0,bottom:0}};D.fill.color=this._getDefaultColor(this.get("graphOrder"),"fill");D.border.color=this._getDefaultColor(this.get("graphOrder"),"border");return D;}},{ATTRS:{type:{value:"stackedBar"},direction:{value:"vertical"},negativeBaseValues:{value:null},positiveBaseValues:{value:null}}});b.PieSeries=b.Base.create("pieSeries",b.MarkerSeries,[],{_map:null,_image:null,_setMap:function(){var F="pieHotSpotMapi_"+Math.round(100000*Math.random()),D=this.get("graph").get("contentBox"),E;if(this._image){D.removeChild(this._image);while(this._areaNodes&&this._areaNodes.length>0){E=this._areaNodes.shift();this._map.removeChild(E);}D.removeChild(this._map);}this._image=g.createElement("img");this._image.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABJJREFUeNpiZGBgSGPAAgACDAAIkABoFyloZQAAAABJRU5ErkJggg==";D.appendChild(this._image);this._image.setAttribute("usemap","#"+F);this._image.style.zIndex=3;this._image.style.opacity=0;this._image.setAttribute("alt","imagemap");this._map=g.createElement("map");this._map.style.zIndex=5;D.appendChild(this._map);this._map.setAttribute("name",F);this._map.setAttribute("id",F);this._areaNodes=[];},_categoryDisplayName:null,_valueDisplayName:null,addListeners:function(){var D=this.get("categoryAxis"),E=this.get("valueAxis");if(D){D.after("dataReady",b.bind(this._categoryDataChangeHandler,this));D.after("dataUpdate",b.bind(this._categoryDataChangeHandler,this));}if(E){E.after("dataReady",b.bind(this._valueDataChangeHandler,this));E.after("dataUpdate",b.bind(this._valueDataChangeHandler,this));}this.after("categoryAxisChange",this.categoryAxisChangeHandler);this.after("valueAxisChange",this.valueAxisChangeHandler);this.after("stylesChange",this._updateHandler);},validate:function(){this.draw();this._renderered=true;},_categoryAxisChangeHandler:function(D){var E=this.get("categoryAxis");E.after("dataReady",b.bind(this._categoryDataChangeHandler,this));E.after("dataUpdate",b.bind(this._categoryDataChangeHandler,this));},_valueAxisChangeHandler:function(D){var E=this.get("valueAxis");E.after("dataReady",b.bind(this._valueDataChangeHandler,this));E.after("dataUpdate",b.bind(this._valueDataChangeHandler,this));},GUID:"pieseries",_categoryDataChangeHandler:function(D){if(this._rendered&&this.get("categoryKey")&&this.get("valueKey")){this.draw();}},_valueDataChangeHandler:function(D){if(this._rendered&&this.get("categoryKey")&&this.get("valueKey")){this.draw();}},draw:function(){var F=this.get("graph"),D=F.get("width"),E=F.get("height");if(isFinite(D)&&isFinite(E)&&D>0&&E>0){this._rendered=true;if(this._drawing){this._callLater=true;return;}this._drawing=true;this._callLater=false;this.drawSeries();this._drawing=false;if(this._callLater){this.draw();}else{this.fire("drawingComplete");}}},drawPlots:function(){var F=this.get("valueAxis").getDataByKey(this.get("valueKey")).concat(),G=this.get("categoryAxis").getDataByKey(this.get("categoryKey")).concat(),J=0,ai=F.length,R=this.get("styles").marker,D=R.fill.colors,aj=R.fill.alphas||["1"],N=R.border.colors,H=[R.border.weight],I=[R.border.alpha],ak=H.concat(),T=N.concat(),V=I.concat(),af,ah,W=R.padding,E=this.get("graph"),P=Math.min(E.get("width"),E.get("height")),U=P-(W.left+W.right),ae=P-(W.top+W.bottom),ac=-90,O=U/2,X=ae/2,K=Math.min(O,X),ad=0,aa,ag=0,Z,ab,L,S,M,Q=this.get("graphOrder"),Y=b.Graphic.NAME=="canvasGraphic";for(;ad =D){G=G%D;}H=H||"fill";return E[H][G];}},{ATTRS:{type:{value:"pie"},order:{},graph:{},categoryAxis:{value:null,validator:function(D){return D!==this.get("categoryAxis");}},valueAxis:{value:null,validator:function(D){return D!==this.get("valueAxis");}},categoryKey:{value:null,validator:function(D){return D!==this.get("categoryKey");}},valueKey:{value:null,validator:function(D){return D!==this.get("valueKey");}},categoryDisplayName:{setter:function(D){this._categoryDisplayName=D;return D;},getter:function(){return this._categoryDisplayName||this.get("categoryKey");}},valueDisplayName:{setter:function(D){this._valueDisplayName=D;return D;},getter:function(){return this._valueDisplayName||this.get("valueKey");}},slices:null}});b.Gridlines=b.Base.create("gridlines",b.Base,[b.Renderer],{_path:null,remove:function(){var D=this._path;if(D){D.destroy();}},draw:function(){if(this.get("axis")&&this.get("graph")){this._drawGridlines();}},_drawGridlines:function(){var R,D=this.get("axis"),L=D.get("position"),O,I=0,F,M=this.get("direction"),P=this.get("graph"),N=P.get("width"),K=P.get("height"),Q=this.get("styles").line,H=Q.color,J=Q.weight,G=Q.alpha,E=M=="vertical"?this._verticalLine:this._horizontalLine;if(isFinite(N)&&isFinite(K)&&N>0&&K>0){if(L!="none"&&D&&D.get("tickPoints")){O=D.get("tickPoints");F=O.length;}else{O=[];F=D.get("styles").majorUnit.count;for(;I F){E=D[F];}return E;},getSeriesByKey:function(F){var E=this._seriesDictionary,D;if(E&&E.hasOwnProperty(F)){D=E[F];}return D;},addDispatcher:function(D){if(!this._dispatchers){this._dispatchers=[];}this._dispatchers.push(D);},_seriesCollection:null,_seriesDictionary:null,_parseSeriesCollection:function(H){if(!H){return;}var E=H.length,G=0,F,D;if(!this.get("seriesCollection")){this._seriesCollection=[];}if(!this._seriesDictionary){this._seriesDictionary={};}if(!this.seriesTypes){this.seriesTypes=[];}for(;G -1){this._dispatchers.splice(D,1);}if(this._dispatchers.length<1){G=this.get("graphic");if(!G.get("autoDraw")){G._redraw();}this.fire("chartRendered");}},_getDefaultStyles:function(){var D={background:{shape:"rect",fill:{color:"#faf9f2"},border:{color:"#dad8c9",weight:1}}};return D;},destructor:function(){if(this._graphic){this._graphic.destroy();}if(this._background){this._background.get("graphic").destroy();}if(this._gridlines){this._gridlines.get("graphic").destroy();}}},{ATTRS:{x:{setter:function(D){this.get("boundingBox").setStyle("left",D+"px");return D;}},y:{setter:function(D){this.get("boundingBox").setStyle("top",D+"px");return D;}},chart:{},seriesCollection:{getter:function(){return this._seriesCollection;},setter:function(D){this._parseSeriesCollection(D);return this._seriesCollection;}},showBackground:{value:true},seriesDictionary:{readOnly:true,getter:function(){return this._seriesDictionary;}},horizontalGridlines:{value:null,setter:function(E){var D=this.get("horizontalGridlines");if(D&&D instanceof b.Gridlines){D.remove();}if(E instanceof b.Gridlines){D=E;E.set("graph",this);return E;}else{if(E&&E.axis){D=new b.Gridlines({direction:"horizontal",axis:E.axis,graph:this,styles:E.styles});return D;}}}},verticalGridlines:{value:null,setter:function(E){var D=this.get("verticalGridlines");if(D&&D instanceof b.Gridlines){D.remove();}if(E instanceof b.Gridlines){D=E;E.set("graph",this);return E;}else{if(E&&E.axis){D=new b.Gridlines({direction:"vertical",axis:E.axis,graph:this,styles:E.styles});return D;}}}},background:{getter:function(){if(!this._background){this._backgroundGraphic=new b.Graphic({render:this.get("contentBox")});this._backgroundGraphic.get("node").style.zIndex=0;this._background=this._backgroundGraphic.addShape({type:"rect"});}return this._background;}},gridlines:{readOnly:true,getter:function(){if(!this._gridlines){this._gridlinesGraphic=new b.Graphic({render:this.get("contentBox")});this._gridlinesGraphic.get("node").style.zIndex=1;this._gridlines=this._gridlinesGraphic.addShape({type:"path"});}return this._gridlines;}},graphic:{readOnly:true,getter:function(){if(!this._graphic){this._graphic=new b.Graphic({render:this.get("contentBox")});this._graphic.get("node").style.zIndex=2;this._graphic.set("autoDraw",false);}return this._graphic;}},groupMarkers:{value:false}}});function o(){}o.ATTRS={ariaLabel:{value:"Chart Application",setter:function(E){var D=this.get("contentBox");if(D){D.setAttribute("aria-label",E);}return E;}},ariaDescription:{value:"Use the up and down keys to navigate between series. Use the left and right keys to navigate through items in a series.",setter:function(D){if(this._description){this._description.setContent("");this._description.appendChild(g.createTextNode(D));}return D;}},tooltip:{valueFn:"_getTooltip",setter:function(D){return this._updateTooltip(D);}},categoryKey:{value:"category"},categoryType:{value:"category"},interactionType:{value:"marker"},dataProvider:{setter:function(D){return this._setDataValues(D);}},seriesKeys:{},axesCollection:{},graph:{valueFn:"_getGraph"},groupMarkers:{value:false,setter:function(D){if(this.get("graph")){this.get("graph").set("groupMarkers",D);}return D;}}};o.prototype={_itemRendered:function(D){this._itemRenderQueue=this._itemRenderQueue.splice(1+b.Array.indexOf(this._itemRenderQueue,D.currentTarget),1);if(this._itemRenderQueue.length<1){this._redraw();}},_getGraph:function(){var D=new b.Graph({chart:this,groupMarkers:this.get("groupMarkers")});D.after("chartRendered",b.bind(function(E){this.fire("chartRendered");},this));return D;},getSeries:function(F){var D=null,E=this.get("graph");if(E){if(q.isNumber(F)){D=E.getSeriesByIndex(F);}else{D=E.getSeriesByKey(F);}}return D;},getAxisByKey:function(F){var D,E=this.get("axes"); +if(E&&E.hasOwnProperty(F)){D=E[F];}return D;},getCategoryAxis:function(){var E,D=this.get("categoryKey"),F=this.get("axes");if(F.hasOwnProperty(D)){E=F[D];}return E;},_direction:"horizontal",_dataProvider:null,_setDataValues:function(I){if(q.isArray(I[0])){var H,K=[],F=I[0],G=0,E=F.length,J,D=I.length;for(;G "),F=b.UA.ie,D=(F&&F<8)?"rect(1px 1px 1px 1px)":"rect(1px, 1px, 1px, 1px)";E.setStyle("position","absolute");E.setStyle("height","1px");E.setStyle("width","1px");E.setStyle("overflow","hidden");E.setStyle("clip",D);return E;},syncUI:function(){this._redraw();},bindUI:function(){this.after("tooltipChange",b.bind(this._tooltipChangeHandler,this));this.after("widthChange",this._sizeChanged);this.after("heightChange",this._sizeChanged);var K=this.get("tooltip"),E="mouseout",L="mouseover",F=this.get("contentBox"),D=this.get("interactionType"),I=0,J,H="."+n,G=((v&&("ontouchstart" in v))&&!(b.UA.chrome&&b.UA.chrome<6));b.on("keydown",b.bind(function(O){var N=O.keyCode,M=parseFloat(N),P;if(M>36&&M<41){O.halt();P=this._getAriaMessage(M);this._liveRegion.setContent("");this._liveRegion.appendChild(g.createTextNode(P));}},this),this.get("contentBox"));if(D=="marker"){E=K.hideEvent;L=K.showEvent;if(G){b.delegate("touchend",b.bind(this._markerEventDispatcher,this),F,H);b.on("touchend",b.bind(function(M){M.halt(true);if(this._activeMarker){this._activeMarker=null;this.hideTooltip(M);}},this));}else{b.delegate("mouseenter",b.bind(this._markerEventDispatcher,this),F,H);b.delegate("mousedown",b.bind(this._markerEventDispatcher,this),F,H);b.delegate("mouseup",b.bind(this._markerEventDispatcher,this),F,H);b.delegate("mouseleave",b.bind(this._markerEventDispatcher,this),F,H);b.delegate("click",b.bind(this._markerEventDispatcher,this),F,H);b.delegate("mousemove",b.bind(this._positionTooltip,this),F,H);}}else{if(D=="planar"){if(G){this._overlay.on("touchend",b.bind(this._planarEventDispatcher,this));}else{this._overlay.on("mousemove",b.bind(this._planarEventDispatcher,this));this.on("mouseout",this.hideTooltip);}}}if(K){this.on("markerEvent:touchend",b.bind(function(N){var M=N.series.get("markers")[N.index];if(this._activeMarker&&M===this._activeMarker){this._activeMarker=null;this.hideTooltip(N);}else{this._activeMarker=M;K.markerEventHandler.apply(this,[N]);}},this));if(E&&L&&E==L){this.on(D+"Event:"+E,this.toggleTooltip);}else{if(L){this.on(D+"Event:"+L,K[D+"EventHandler"]);}if(E){if(q.isArray(E)){J=E.length;for(;I =I[X].start){M=X;break;}}Y=E.length;for(X=0;X -1){P.updateMarkerState("mouseout",J);}if(W&&W[M]>-1){if(ad&&!isNaN(M)&&M>-1){P.updateMarkerState("mouseover",M);}ab=this.getSeriesItems(P,M);H.push(ab.category);R.push(ab.value);S.push(P);}}this._selectedIndex=M;if(M>-1){this.fire("planarEvent:mouseover",{categoryItem:H,valueItem:R,x:O,y:N,pageX:F,pageY:D,items:S,index:M,originEvent:Z});}else{this.fire("planarEvent:mouseout");}}},_type:"combo",_itemRenderQueue:null,_addToAxesRenderQueue:function(D){if(!this._itemRenderQueue){this._itemRenderQueue=[];}if(b.Array.indexOf(this._itemRenderQueue,D)<0){this._itemRenderQueue.push(D);}},_addToAxesCollection:function(D,F){var E=this.get(D+"AxesCollection");if(!E){E=[];this.set(D+"AxesCollection",E);}E.push(F);},_getDefaultSeriesCollection:function(){return this._parseSeriesCollection();},_parseSeriesCollection:function(W){var M=this.get("direction"),D=W||[],T,Q,O=[],J,I=this.get("seriesKeys").concat(),S,H,P,G=this.get("type"),U,L,V,E,F=this.get("categoryKey"),R=this.get("showMarkers"),N=this.get("showAreaFill"),K=this.get("showLines");if(M=="vertical"){T="yAxis";L="yKey";Q="xAxis";V="xKey";}else{T="xAxis";L="xKey";Q="yAxis";V="yKey";}P=D.length;for(S=0;S -1){I.splice(H,1);}O.push(U);}}if(I.length>0){O=O.concat(I);}P=O.length;for(S=0;S
0){F.set("overlapGraph",false);}M[J]=F;}}}return M;},_addAxes:function(){var I=this.get("axes"),E,G,J,D=this.get("width"),F=this.get("height"),H=b.Node.one(this._parentNode);if(!this._axesCollection){this._axesCollection=[];}for(E in I){if(I.hasOwnProperty(E)){G=I[E];if(G instanceof b.Axis){if(!D){this.set("width",H.get("offsetWidth"));D=this.get("width");}if(!F){this.set("height",H.get("offsetHeight"));F=this.get("height");}this._addToAxesRenderQueue(G);J=G.get("position");if(!this.get(J+"AxesCollection")){this.set(J+"AxesCollection",[G]);}else{this.get(J+"AxesCollection").push(G);}this._axesCollection.push(G);if(G.get("keys").hasOwnProperty(this.get("categoryKey"))){this.set("categoryAxis",G);}G.render(this.get("contentBox"));}}}},_addSeries:function(){var D=this.get("graph"),E=this.get("seriesCollection");D.render(this.get("contentBox"));},_addGridlines:function(){var N=this.get("graph"),E=this.get("horizontalGridlines"),F=this.get("verticalGridlines"),M=this.get("direction"),O=this.get("leftAxesCollection"),I=this.get("rightAxesCollection"),K=this.get("bottomAxesCollection"),G=this.get("topAxesCollection"),H,D=this.get("categoryAxis"),L,J;if(this._axesCollection){H=this._axesCollection.concat();H.splice(b.Array.indexOf(H,D),1);}if(E){if(O&&O[0]){L=O[0];}else{if(I&&I[0]){L=I[0];}else{L=M=="horizontal"?D:H[0];}}if(!this._getBaseAttribute(E,"axis")&&L){this._setBaseAttribute(E,"axis",L);}if(this._getBaseAttribute(E,"axis")){N.set("horizontalGridlines",E);}}if(F){if(K&&K[0]){J=K[0];}else{if(G&&G[0]){J=G[0];}else{J=M=="vertical"?D:H[0];}}if(!this._getBaseAttribute(F,"axis")&&J){this._setBaseAttribute(F,"axis",J);}if(this._getBaseAttribute(F,"axis")){N.set("verticalGridlines",F);}}},_getAllKeys:function(I){var F=0,D=I.length,H,E,G={};for(;F
0){N=P[0];this.set("categoryKey",N);}G[W]=E;}else{if(W==F){G[W]=E;}else{G[W]=E;if(W!=D&&P&&q.isArray(P)){K=P.length;for(M=0;M -1){H.splice(Q,1);}U=R.length;for(W=0;W-1){H.splice(Q,1);}}if(!G.hasOwnProperty(F)){G[F]={};}if(!(this._getBaseAttribute(G[F],"keys"))){this._setBaseAttribute(G[F],"keys",[N]);}if(!(this._getBaseAttribute(G[F],"position"))){this._setBaseAttribute(G[F],"position",I);}if(!(this._getBaseAttribute(G[F],"type"))){this._setBaseAttribute(G[F],"type",this.get("categoryType"));}if(!G.hasOwnProperty(D)&&H&&H.length>0){G[D]={keys:H};J.push(G[D]);}if(R.length>0){if(H.length>0){H=R.concat(H);}else{H=R;}}if(G.hasOwnProperty(D)){if(!(this._getBaseAttribute(G[D],"position"))){this._setBaseAttribute(G[D],"position",this._getDefaultAxisPosition(G[D],J,L));}if(!(this._getBaseAttribute(G[D],"type"))){this._setBaseAttribute(G[D],"type",Y);}if(!(this._getBaseAttribute(G[D],"keys"))){this._setBaseAttribute(G[D],"keys",H); +}}this.set("seriesKeys",H);return G;},_getDefaultAxisPosition:function(G,E,D){var H=this.get("direction"),F=b.Array.indexOf(E,G);if(E[F-1]&&E[F-1].position){if(H=="horizontal"){if(E[F-1].position=="left"){D="right";}else{if(E[F-1].position=="right"){D="left";}}}else{if(E[F-1].position=="bottom"){D="top";}else{D="bottom";}}}return D;},getSeriesItems:function(I,H){var J=I.get("xAxis"),F=I.get("yAxis"),G=I.get("xKey"),E=I.get("yKey"),K,D;if(this.get("direction")=="vertical"){K={axis:F,key:E,value:F.getKeyValueAt(E,H)};D={axis:J,key:G,value:J.getKeyValueAt(G,H)};}else{D={axis:F,key:E,value:F.getKeyValueAt(E,H)};K={axis:J,key:G,value:J.getKeyValueAt(G,H)};}K.displayName=I.get("categoryDisplayName");D.displayName=I.get("valueDisplayName");K.value=K.axis.getKeyValueAt(K.key,H);D.value=D.axis.getKeyValueAt(D.key,H);return{category:K,value:D};},_sizeChanged:function(G){if(this._axesCollection){var F=this._axesCollection,E=0,D=F.length;for(;E -1;--Z){ag.unshift(Y);Y+=D[Z].get("width");}}if(O){F=[];W=O.length;Z=0;for(Z=W-1;Z>-1;--Z){I+=O[Z].get("width");F.unshift(Q-I);}}if(P){T=[];W=P.length;for(Z=W-1;Z>-1;--Z){T.unshift(ae);ae+=P[Z].get("height");}}if(ad){K=[];W=ad.length;for(Z=W-1;Z>-1;--Z){E+=ad[Z].get("height");K.unshift(aa-E);}}M=Q-(Y+I);N=aa-(E+ae);af.left=Y;af.top=ae;af.bottom=aa-E;af.right=Q-I;if(!U){L=this._getTopOverflow(D,O);R=this._getBottomOverflow(D,O);X=this._getLeftOverflow(ad,P);V=this._getRightOverflow(ad,P);S=L-ae;if(S>0){af.top=L;if(T){Z=0;W=T.length;for(;Z 0){af.bottom=aa-R;if(K){Z=0;W=K.length;for(;Z 0){af.left=X;if(ag){Z=0;W=ag.length;for(;Z 0){af.right=Q-V;if(F){Z=0;W=F.length;for(;Z 1){if(N===38){I=I<1?K-1:I-1;}else{if(N===40){I=I>=K-1?0:I+1;}}this._itemIndex=-1;}else{I=0;}this._seriesIndex=I;J=this.getSeries(parseInt(I,10));G=J.get("valueDisplayName")+" series.";}else{if(I>-1){G="";J=this.getSeries(parseInt(I,10));}else{I=0;this._seriesIndex=I;J=this.getSeries(parseInt(I,10)); +G=J.get("valueDisplayName")+" series.";}E=J._dataLength?J._dataLength:0;if(N===37){D=D>0?D-1:E-1;}else{if(N===39){D=D>=E-1?0:D+1;}}this._itemIndex=D;M=this.getSeriesItems(J,D);F=M.category;L=M.value;if(F&&L&&F.value&&L.value){G+=F.displayName+": "+F.axis.formatLabel.apply(this,[F.value,F.axis.get("labelFormat")])+", ";G+=L.displayName+": "+L.axis.formatLabel.apply(this,[L.value,L.axis.get("labelFormat")])+", ";}else{G+="No data available.";}G+=(D+1)+" of "+E+". ";}return G;}},{ATTRS:{allowContentOverflow:{value:false},axesStyles:{getter:function(){var F=this.get("axes"),D,E=this._axesStyles;if(F){for(D in F){if(F.hasOwnProperty(D)&&F[D] instanceof b.Axis){if(!E){E={};}E[D]=F[D].get("styles");}}}return E;},setter:function(F){var E=this.get("axes"),D;for(D in F){if(F.hasOwnProperty(D)&&E.hasOwnProperty(D)){this._setBaseAttribute(E[D],"styles",F[D]);}}}},seriesStyles:{getter:function(){var E=this._seriesStyles,F=this.get("graph"),G,D;if(F){G=F.get("seriesDictionary");if(G){E={};for(D in G){if(G.hasOwnProperty(D)){E[D]=G[D].get("styles");}}}}return E;},setter:function(G){var E,D,F;if(q.isArray(G)){F=this.get("seriesCollection");E=0;D=G.length;for(;E 0){this.set("seriesKeys",E);}}return{values:{keys:E,type:D},category:{keys:[H],type:this.get("categoryType")}};},getSeriesItems:function(F,E){var G={axis:F.get("categoryAxis"),key:F.get("categoryKey"),displayName:F.get("categoryDisplayName")},D={axis:F.get("valueAxis"),key:F.get("valueKey"),displayName:F.get("valueDisplayName")}; +G.value=G.axis.getKeyValueAt(G.key,E);D.value=D.axis.getKeyValueAt(D.key,E);return{category:G,value:D};},_sizeChanged:function(D){this._redraw();},_redraw:function(){var F=this.get("graph"),D=this.get("width"),E=this.get("height"),G;if(F){G=Math.min(D,E);F.set("width",G);F.set("height",G);}},_tooltipLabelFunction:function(K,D,G,F,E){var J=g.createElement("div"),H=F.getTotalValues(),I=Math.round((D.value/H)*10000)/100;J.appendChild(g.createTextNode(K.displayName+": "+K.axis.get("labelFunction").apply(this,[K.value,K.axis.get("labelFormat")])));J.appendChild(g.createElement("br"));J.appendChild(g.createTextNode(D.displayName+": "+D.axis.get("labelFunction").apply(this,[D.value,D.axis.get("labelFormat")])));J.appendChild(g.createElement("br"));J.appendChild(g.createTextNode(I+"%"));return J;},_getAriaMessage:function(P){var F="",E,M,J,L,I=0,D=this._itemIndex,G=this.get("seriesCollection"),K,N,O,H;J=this.getSeries(parseInt(I,10));H=J.get("markers");K=H&&H.length?H.length:0;if(P===37){D=D>0?D-1:K-1;}else{if(P===39){D=D>=K-1?0:D+1;}}this._itemIndex=D;M=this.getSeriesItems(J,D);E=M.category;L=M.value;N=J.getTotalValues();O=Math.round((L.value/N)*10000)/100;if(E&&L){F+=E.displayName+": "+E.axis.formatLabel.apply(this,[E.value,E.axis.get("labelFormat")])+", ";F+=L.displayName+": "+L.axis.formatLabel.apply(this,[L.value,L.axis.get("labelFormat")])+", ";F+="Percent of total "+L.displayName+": "+O+"%,";}else{F+="No data available,";}F+=(D+1)+" of "+K+". ";return F;}},{ATTRS:{ariaDescription:{value:"Use the left and right keys to navigate through items.",setter:function(D){if(this._description){this._description.setContent("");this._description.appendChild(g.createTextNode(D));}return D;}},axes:{getter:function(){return this._axes;},setter:function(D){this._parseAxes(D);}},seriesCollection:{getter:function(){return this._getSeriesCollection();},setter:function(D){return this._setSeriesCollection(D);}},type:{value:"pie"}}});},"3.5.1",{requires:["dom","datatype-number","datatype-date","event-custom","event-mouseenter","event-touch","widget","widget-position","widget-stack","graphics"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/charts-base/charts-base.js b/lib/yui/3.5.1/build/charts-base/charts-base.js similarity index 99% rename from lib/yui/3.5.0/build/charts-base/charts-base.js rename to lib/yui/3.5.1/build/charts-base/charts-base.js index 180991288a3..76301197ed9 100644 --- a/lib/yui/3.5.0/build/charts-base/charts-base.js +++ b/lib/yui/3.5.1/build/charts-base/charts-base.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -4526,12 +4526,13 @@ Y.extend(NumericAxis, Y.AxisType, { max = 0; roundingUnit = this._getMinimumUnit(max, min, units); + min = max - (roundingUnit * units); } else { + min = this._roundDownToNearest(min, roundingUnit); max = this._roundUpToNearest(max, roundingUnit); } - min = max - (roundingUnit * units); } else { @@ -4603,12 +4604,13 @@ Y.extend(NumericAxis, Y.AxisType, { Math.ceil(roundingUnit); } + min = max - (roundingUnit * units); } else { + min = this._roundDownToNearest(min, roundingUnit); max = this._roundUpToNearest(max, roundingUnit); } - min = max - (roundingUnit * units); } } @@ -4642,7 +4644,7 @@ Y.extend(NumericAxis, Y.AxisType, else if(maxGreaterThanZero && !minGreaterThanZero) { min = minRound; - max = min + minimumRange; + max = maxRound; } else { @@ -12720,7 +12722,7 @@ ChartBase.prototype = { if(categoryAxis) { categoryValue = categoryAxis.get("labelFunction").apply(this, [categoryAxis.getKeyValueAt(this.get("categoryKey"), index), categoryAxis.get("labelFormat")]); - if(Y_Lang.isString(categoryValue)) + if(!Y_Lang.isObject(categoryValue)) { categoryValue = DOCUMENT.createTextNode(categoryValue); } @@ -12738,7 +12740,7 @@ ChartBase.prototype = { msg.appendChild(DOCUMENT.createElement("br")); msg.appendChild(DOCUMENT.createTextNode(valueItem.displayName)); msg.appendChild(DOCUMENT.createTextNode(": ")); - if(Y_Lang.isString(seriesValue)) + if(!Y_Lang.isObject(seriesValue)) { seriesValue = DOCUMENT.createTextNode(seriesValue); } @@ -12779,7 +12781,7 @@ ChartBase.prototype = { seriesValue = valueItem.axis.get("labelFunction").apply(this, [valueItem.value, valueItem.axis.get("labelFormat")]); msg.appendChild(DOCUMENT.createTextNode(categoryItem.displayName)); msg.appendChild(DOCUMENT.createTextNode(": ")); - if(Y_Lang.isString(categoryValue)) + if(!Y_Lang.isObject(categoryValue)) { categoryValue = DOCUMENT.createTextNode(categoryValue); } @@ -12787,7 +12789,7 @@ ChartBase.prototype = { msg.appendChild(DOCUMENT.createElement("br")); msg.appendChild(DOCUMENT.createTextNode(valueItem.displayName)); msg.appendChild(DOCUMENT.createTextNode(": ")); - if(Y_Lang.isString(seriesValue)) + if(!Y_Lang.isObject(seriesValue)) { seriesValue = DOCUMENT.createTextNode(seriesValue); } @@ -15446,4 +15448,4 @@ Y.PieChart = Y.Base.create("pieChart", Y.Widget, [Y.ChartBase], { }); -}, '3.5.0' ,{requires:['dom', 'datatype-number', 'datatype-date', 'event-custom', 'event-mouseenter', 'event-touch', 'widget', 'widget-position', 'widget-stack', 'graphics']}); +}, '3.5.1' ,{requires:['dom', 'datatype-number', 'datatype-date', 'event-custom', 'event-mouseenter', 'event-touch', 'widget', 'widget-position', 'widget-stack', 'graphics']}); diff --git a/lib/yui/3.5.0/build/charts-legend/charts-legend-debug.js b/lib/yui/3.5.1/build/charts-legend/charts-legend-debug.js similarity index 99% rename from lib/yui/3.5.0/build/charts-legend/charts-legend-debug.js rename to lib/yui/3.5.1/build/charts-legend/charts-legend-debug.js index 2aba2a16dab..68e04d020e0 100644 --- a/lib/yui/3.5.0/build/charts-legend/charts-legend-debug.js +++ b/lib/yui/3.5.1/build/charts-legend/charts-legend-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -1665,4 +1665,4 @@ function Chart(cfg) Y.Chart = Chart; -}, '3.5.0' ,{requires:['charts-base']}); +}, '3.5.1' ,{requires:['charts-base']}); diff --git a/lib/yui/3.5.0/build/charts-legend/charts-legend-min.js b/lib/yui/3.5.1/build/charts-legend/charts-legend-min.js similarity index 99% rename from lib/yui/3.5.0/build/charts-legend/charts-legend-min.js rename to lib/yui/3.5.1/build/charts-legend/charts-legend-min.js index 78e61d373bd..29085131b9a 100644 --- a/lib/yui/3.5.0/build/charts-legend/charts-legend-min.js +++ b/lib/yui/3.5.1/build/charts-legend/charts-legend-min.js @@ -1,9 +1,9 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("charts-legend",function(a){var c=a.config.doc,p="top",h="right",f="bottom",j="left",s="external",u="horizontal",q="vertical",b="width",n="height",m="position",i="x",g="y",e="px",l={setter:function(w){var v=this.get("legend");if(v){v.destroy(true);}if(w instanceof a.ChartLegend){v=w;v.set("chart",this);}else{w.chart=this;if(!w.hasOwnProperty("render")){w.render=this.get("contentBox");w.includeInChartLayout=true;}v=new a.ChartLegend(w);}return v;}},t={_positionLegendItems:function(K,T,N,w,X,H,E,A,Q,G){var R=0,L=0,V,O,y,P,S,M=this.get("width"),F,D,z,C,J,v=H.top-A,U=M-(H.left+H.right),x,I,W,B;t._setRowArrays(K,U,E);F=t.rowArray;C=t.totalWidthArray;D=F.length;for(;L -1;--U){ab.unshift(T);T+=v[U].get("width");}}if(J){y=[];R=J.length;U=0;for(U=R-1;U>-1;--U){C+=J[U].get("width");y.unshift(L-C);}}if(K){O=[];R=K.length;for(U=R-1;U>-1;--U){O.unshift(Z);Z+=K[U].get("height");}}if(Y){F=[];R=Y.length;for(U=R-1;U>-1;--U){x+=Y[U].get("height");F.unshift(V-x);}}H=L-(T+C);I=V-(x+Z);aa.left=T;aa.top=Z;aa.bottom=V-x;aa.right=L-C;if(!P){G=this._getTopOverflow(v,J);M=this._getBottomOverflow(v,J);S=this._getLeftOverflow(Y,K);Q=this._getRightOverflow(Y,K);N=G-Z;if(N>0){aa.top=G;if(O){U=0;R=O.length;for(;U 0){aa.bottom=V-M;if(F){U=0;R=F.length;for(;U 0){aa.left=S;if(ab){U=0;R=ab.length;for(;U 0){aa.right=L-Q;if(y){U=0;R=y.length;for(;U 0&&x>0){this._drawLegend();}},_updateHandler:function(v){if(this.get("rendered")){this._drawLegend();}},_positionChangeHandler:function(x){var w=this.get("chart"),v=this._parentNode;if(v&&((w&&this.get("includeInChartLayout")))){this.fire("legendRendered");}else{if(this.get("rendered")){this._drawLegend();}}},_handleSizeChange:function(x){var w=x.attrName,z=this.get(m),v=z==j||z==h,y=z==f||z==p;if((y&&w==b)||(v&&w==n)){this._drawLegend();}},_drawLegend:function(){if(this._drawing){this._callLater=true;return;}this._drawing=true;this._callLater=false;if(this.get("includeInChartLayout")){this.get("chart")._itemRenderQueue.unshift(this);}var ad=this.get("chart"),V=this.get("contentBox"),W=ad.get("seriesCollection"),A,S=this.get("styles"),Z=S.padding,L=S.item,X,z=L.hSpacing,B=L.vSpacing,F=S.hAlign,O=S.vAlign,ae=S.marker,H=L.label,T,U=this._layout[this.get("direction")],aa,I,N,J,D,R,G,E,ab,w,v,K=[],Q=ae.width,x=ae.height,C=0-z,P=0-B,M=0,Y=0,y,ac;if(ae&&ae.shape){J=ae.shape;}this._destroyLegendItems();if(ad instanceof a.PieChart){A=W[0];T=A.get("categoryAxis").getDataByKey(A.get("categoryKey"));X=A.get("styles").marker;ab=X.fill.colors;w=X.border.colors;v=X.border.weight;aa=0;I=T.length;J=J||a.Circle;N=a.Lang.isArray(J);for(;aa0){v=this._items.shift();v.shape.get("graphic").destroy();v.node.empty();v.node.remove(true);v=null;}}this._items=[];},_layout:{vertical:o,horizontal:t},destructor:function(){var v=this.get("graphic");this._destroyLegendItems();if(v){v.destroy();}}},{ATTRS:{includeInChartLayout:{value:false},chart:{setter:function(v){this.after("legendRendered",a.bind(v._itemRendered,v)); -return v;}},direction:{value:"vertical"},position:{lazyAdd:false,value:"right",setter:function(v){if(v==p||v==f){this.set("direction",u);}else{if(v==j||v==h){this.set("direction",q);}}return v;}},width:{getter:function(){var w=this.get("chart"),v=this._parentNode;if(v){if((w&&this.get("includeInChartLayout"))||this._width){if(!this._width){this._width=0;}return this._width;}else{return v.get("offsetWidth");}}return"";},setter:function(v){this._width=v;return v;}},height:{valueFn:"_heightGetter",getter:function(){var w=this.get("chart"),v=this._parentNode;if(v){if((w&&this.get("includeInChartLayout"))||this._height){if(!this._height){this._height=0;}return this._height;}else{return v.get("offsetHeight");}}return"";},setter:function(v){this._height=v;return v;}},x:{lazyAdd:false,value:0,setter:function(w){var v=this.get("boundingBox");if(v){v.setStyle(j,w+e);}return w;}},y:{lazyAdd:false,value:0,setter:function(w){var v=this.get("boundingBox");if(v){v.setStyle(p,w+e);}return w;}},background:{}}});function r(v){if(v.type!="pie"){return new a.CartesianChart(v);}else{return new a.PieChart(v);}}a.Chart=r;},"3.5.0",{requires:["charts-base"]}); \ No newline at end of file +return v;}},direction:{value:"vertical"},position:{lazyAdd:false,value:"right",setter:function(v){if(v==p||v==f){this.set("direction",u);}else{if(v==j||v==h){this.set("direction",q);}}return v;}},width:{getter:function(){var w=this.get("chart"),v=this._parentNode;if(v){if((w&&this.get("includeInChartLayout"))||this._width){if(!this._width){this._width=0;}return this._width;}else{return v.get("offsetWidth");}}return"";},setter:function(v){this._width=v;return v;}},height:{valueFn:"_heightGetter",getter:function(){var w=this.get("chart"),v=this._parentNode;if(v){if((w&&this.get("includeInChartLayout"))||this._height){if(!this._height){this._height=0;}return this._height;}else{return v.get("offsetHeight");}}return"";},setter:function(v){this._height=v;return v;}},x:{lazyAdd:false,value:0,setter:function(w){var v=this.get("boundingBox");if(v){v.setStyle(j,w+e);}return w;}},y:{lazyAdd:false,value:0,setter:function(w){var v=this.get("boundingBox");if(v){v.setStyle(p,w+e);}return w;}},background:{}}});function r(v){if(v.type!="pie"){return new a.CartesianChart(v);}else{return new a.PieChart(v);}}a.Chart=r;},"3.5.1",{requires:["charts-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/charts-legend/charts-legend.js b/lib/yui/3.5.1/build/charts-legend/charts-legend.js similarity index 99% rename from lib/yui/3.5.0/build/charts-legend/charts-legend.js rename to lib/yui/3.5.1/build/charts-legend/charts-legend.js index 2aba2a16dab..68e04d020e0 100644 --- a/lib/yui/3.5.0/build/charts-legend/charts-legend.js +++ b/lib/yui/3.5.1/build/charts-legend/charts-legend.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -1665,4 +1665,4 @@ function Chart(cfg) Y.Chart = Chart; -}, '3.5.0' ,{requires:['charts-base']}); +}, '3.5.1' ,{requires:['charts-base']}); diff --git a/lib/yui/3.5.0/build/charts/charts-debug.js b/lib/yui/3.5.1/build/charts/charts-debug.js similarity index 87% rename from lib/yui/3.5.0/build/charts/charts-debug.js rename to lib/yui/3.5.1/build/charts/charts-debug.js index e533211c445..83ecc90de7f 100644 --- a/lib/yui/3.5.0/build/charts/charts-debug.js +++ b/lib/yui/3.5.1/build/charts/charts-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -27,4 +27,4 @@ function Chart(cfg) Y.Chart = Chart; -}, '3.5.0' ,{requires:['charts-base']}); +}, '3.5.1' ,{requires:['charts-base']}); diff --git a/lib/yui/3.5.0/build/charts/charts-min.js b/lib/yui/3.5.1/build/charts/charts-min.js similarity index 78% rename from lib/yui/3.5.0/build/charts/charts-min.js rename to lib/yui/3.5.1/build/charts/charts-min.js index c054e4814d2..8e72ca2edc5 100644 --- a/lib/yui/3.5.0/build/charts/charts-min.js +++ b/lib/yui/3.5.1/build/charts/charts-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("charts",function(b){function a(c){if(c.type!="pie"){return new b.CartesianChart(c);}else{return new b.PieChart(c);}}b.Chart=a;},"3.5.0",{requires:["charts-base"]}); \ No newline at end of file +YUI.add("charts",function(b){function a(c){if(c.type!="pie"){return new b.CartesianChart(c);}else{return new b.PieChart(c);}}b.Chart=a;},"3.5.1",{requires:["charts-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/charts/charts.js b/lib/yui/3.5.1/build/charts/charts.js similarity index 87% rename from lib/yui/3.5.0/build/charts/charts.js rename to lib/yui/3.5.1/build/charts/charts.js index e533211c445..83ecc90de7f 100644 --- a/lib/yui/3.5.0/build/charts/charts.js +++ b/lib/yui/3.5.1/build/charts/charts.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -27,4 +27,4 @@ function Chart(cfg) Y.Chart = Chart; -}, '3.5.0' ,{requires:['charts-base']}); +}, '3.5.1' ,{requires:['charts-base']}); diff --git a/lib/yui/3.5.0/build/classnamemanager/classnamemanager-debug.js b/lib/yui/3.5.1/build/classnamemanager/classnamemanager-debug.js similarity index 97% rename from lib/yui/3.5.0/build/classnamemanager/classnamemanager-debug.js rename to lib/yui/3.5.1/build/classnamemanager/classnamemanager-debug.js index 1bbf8e3e7e8..f0c4cebbe31 100644 --- a/lib/yui/3.5.0/build/classnamemanager/classnamemanager-debug.js +++ b/lib/yui/3.5.1/build/classnamemanager/classnamemanager-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -87,4 +87,4 @@ Y.ClassNameManager = function () { }(); -}, '3.5.0' ,{requires:['yui-base']}); +}, '3.5.1' ,{requires:['yui-base']}); diff --git a/lib/yui/3.5.0/build/classnamemanager/classnamemanager-min.js b/lib/yui/3.5.1/build/classnamemanager/classnamemanager-min.js similarity index 88% rename from lib/yui/3.5.0/build/classnamemanager/classnamemanager-min.js rename to lib/yui/3.5.1/build/classnamemanager/classnamemanager-min.js index 588804013fa..f9078578a8f 100644 --- a/lib/yui/3.5.0/build/classnamemanager/classnamemanager-min.js +++ b/lib/yui/3.5.1/build/classnamemanager/classnamemanager-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("classnamemanager",function(c){var b="classNamePrefix",d="classNameDelimiter",a=c.config;a[b]=a[b]||"yui3";a[d]=a[d]||"-";c.ClassNameManager=function(){var e=a[b],f=a[d];return{getClassName:c.cached(function(){var g=c.Array(arguments);if(g[g.length-1]!==true){g.unshift(e);}else{g.pop();}return g.join(f);})};}();},"3.5.0",{requires:["yui-base"]}); \ No newline at end of file +YUI.add("classnamemanager",function(c){var b="classNamePrefix",d="classNameDelimiter",a=c.config;a[b]=a[b]||"yui3";a[d]=a[d]||"-";c.ClassNameManager=function(){var e=a[b],f=a[d];return{getClassName:c.cached(function(){var g=c.Array(arguments);if(g[g.length-1]!==true){g.unshift(e);}else{g.pop();}return g.join(f);})};}();},"3.5.1",{requires:["yui-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/classnamemanager/classnamemanager.js b/lib/yui/3.5.1/build/classnamemanager/classnamemanager.js similarity index 97% rename from lib/yui/3.5.0/build/classnamemanager/classnamemanager.js rename to lib/yui/3.5.1/build/classnamemanager/classnamemanager.js index 1bbf8e3e7e8..f0c4cebbe31 100644 --- a/lib/yui/3.5.0/build/classnamemanager/classnamemanager.js +++ b/lib/yui/3.5.1/build/classnamemanager/classnamemanager.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -87,4 +87,4 @@ Y.ClassNameManager = function () { }(); -}, '3.5.0' ,{requires:['yui-base']}); +}, '3.5.1' ,{requires:['yui-base']}); diff --git a/lib/yui/3.5.0/build/slider-base/assets/slider-base-core.css b/lib/yui/3.5.1/build/clickable-rail/assets/slider-base-core.css similarity index 96% rename from lib/yui/3.5.0/build/slider-base/assets/slider-base-core.css rename to lib/yui/3.5.1/build/clickable-rail/assets/slider-base-core.css index c4725aabdcc..9dd54163709 100644 --- a/lib/yui/3.5.0/build/slider-base/assets/slider-base-core.css +++ b/lib/yui/3.5.1/build/clickable-rail/assets/slider-base-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/clickable-rail/assets/slider-core.css b/lib/yui/3.5.1/build/clickable-rail/assets/slider-core.css similarity index 96% rename from lib/yui/3.5.0/build/clickable-rail/assets/slider-core.css rename to lib/yui/3.5.1/build/clickable-rail/assets/slider-core.css index c4725aabdcc..9dd54163709 100644 --- a/lib/yui/3.5.0/build/clickable-rail/assets/slider-core.css +++ b/lib/yui/3.5.1/build/clickable-rail/assets/slider-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/clickable-rail/assets/thumb-x-oblong-dark.png b/lib/yui/3.5.1/build/clickable-rail/assets/thumb-x-oblong-dark.png similarity index 100% rename from lib/yui/3.5.0/build/clickable-rail/assets/thumb-x-oblong-dark.png rename to lib/yui/3.5.1/build/clickable-rail/assets/thumb-x-oblong-dark.png diff --git a/lib/yui/3.5.0/build/clickable-rail/assets/thumb-x-oblong.png b/lib/yui/3.5.1/build/clickable-rail/assets/thumb-x-oblong.png similarity index 100% rename from lib/yui/3.5.0/build/clickable-rail/assets/thumb-x-oblong.png rename to lib/yui/3.5.1/build/clickable-rail/assets/thumb-x-oblong.png diff --git a/lib/yui/3.5.0/build/clickable-rail/assets/thumb-x-oblong2-dark.png b/lib/yui/3.5.1/build/clickable-rail/assets/thumb-x-oblong2-dark.png similarity index 100% rename from lib/yui/3.5.0/build/clickable-rail/assets/thumb-x-oblong2-dark.png rename to lib/yui/3.5.1/build/clickable-rail/assets/thumb-x-oblong2-dark.png diff --git a/lib/yui/3.5.0/build/clickable-rail/assets/thumb-x-oblong2.png b/lib/yui/3.5.1/build/clickable-rail/assets/thumb-x-oblong2.png similarity index 100% rename from lib/yui/3.5.0/build/clickable-rail/assets/thumb-x-oblong2.png rename to lib/yui/3.5.1/build/clickable-rail/assets/thumb-x-oblong2.png diff --git a/lib/yui/3.5.0/build/clickable-rail/assets/thumb-y-oblong-dark.png b/lib/yui/3.5.1/build/clickable-rail/assets/thumb-y-oblong-dark.png similarity index 100% rename from lib/yui/3.5.0/build/clickable-rail/assets/thumb-y-oblong-dark.png rename to lib/yui/3.5.1/build/clickable-rail/assets/thumb-y-oblong-dark.png diff --git a/lib/yui/3.5.0/build/clickable-rail/assets/thumb-y-oblong.png b/lib/yui/3.5.1/build/clickable-rail/assets/thumb-y-oblong.png similarity index 100% rename from lib/yui/3.5.0/build/clickable-rail/assets/thumb-y-oblong.png rename to lib/yui/3.5.1/build/clickable-rail/assets/thumb-y-oblong.png diff --git a/lib/yui/3.5.0/build/clickable-rail/assets/thumb-y-oblong2-dark.png b/lib/yui/3.5.1/build/clickable-rail/assets/thumb-y-oblong2-dark.png similarity index 100% rename from lib/yui/3.5.0/build/clickable-rail/assets/thumb-y-oblong2-dark.png rename to lib/yui/3.5.1/build/clickable-rail/assets/thumb-y-oblong2-dark.png diff --git a/lib/yui/3.5.0/build/clickable-rail/assets/thumb-y-oblong2.png b/lib/yui/3.5.1/build/clickable-rail/assets/thumb-y-oblong2.png similarity index 100% rename from lib/yui/3.5.0/build/clickable-rail/assets/thumb-y-oblong2.png rename to lib/yui/3.5.1/build/clickable-rail/assets/thumb-y-oblong2.png diff --git a/lib/yui/3.5.0/build/clickable-rail/clickable-rail-debug.js b/lib/yui/3.5.1/build/clickable-rail/clickable-rail-debug.js similarity index 99% rename from lib/yui/3.5.0/build/clickable-rail/clickable-rail-debug.js rename to lib/yui/3.5.1/build/clickable-rail/clickable-rail-debug.js index 9f5d552f7a3..748ae610080 100644 --- a/lib/yui/3.5.0/build/clickable-rail/clickable-rail-debug.js +++ b/lib/yui/3.5.1/build/clickable-rail/clickable-rail-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -216,4 +216,4 @@ Y.ClickableRail = Y.mix(ClickableRail, { -}, '3.5.0' ,{requires:['slider-base']}); +}, '3.5.1' ,{requires:['slider-base']}); diff --git a/lib/yui/3.5.0/build/clickable-rail/clickable-rail-min.js b/lib/yui/3.5.1/build/clickable-rail/clickable-rail-min.js similarity index 94% rename from lib/yui/3.5.0/build/clickable-rail/clickable-rail-min.js rename to lib/yui/3.5.1/build/clickable-rail/clickable-rail-min.js index cf62b0608bb..cf800717e23 100644 --- a/lib/yui/3.5.0/build/clickable-rail/clickable-rail-min.js +++ b/lib/yui/3.5.1/build/clickable-rail/clickable-rail-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("clickable-rail",function(b){function a(){this._initClickableRail();}b.ClickableRail=b.mix(a,{prototype:{_initClickableRail:function(){this._evtGuid=this._evtGuid||(b.guid()+"|");this.publish("railMouseDown",{defaultFn:this._defRailMouseDownFn});this.after("render",this._bindClickableRail);this.on("destroy",this._unbindClickableRail);},_bindClickableRail:function(){this._dd.addHandle(this.rail);this.rail.on(this._evtGuid+b.DD.Drag.START_EVENT,b.bind(this._onRailMouseDown,this));},_unbindClickableRail:function(){if(this.get("rendered")){var c=this.get("contentBox"),d=c.one("."+this.getClassName("rail"));d.detach(this.evtGuid+"*");}},_onRailMouseDown:function(c){if(this.get("clickableRail")&&!this.get("disabled")){this.fire("railMouseDown",{ev:c});this.thumb.focus();}},_defRailMouseDownFn:function(k){k=k.ev;var c=this._resolveThumb(k),g=this._key.xyIndex,h=parseFloat(this.get("length"),10),f,d,j;if(c){f=c.get("dragNode");d=parseFloat(f.getStyle(this._key.dim),10);j=this._getThumbDestination(k,f);j=j[g]-this.rail.getXY()[g];j=Math.min(Math.max(j,0),(h-d));this._uiMoveThumb(j,{source:"rail"});k.target=this.thumb.one("img")||this.thumb;c._handleMouseDownEvent(k);}},_resolveThumb:function(c){return this._dd;},_getThumbDestination:function(g,f){var d=f.get("offsetWidth"),c=f.get("offsetHeight");return[(g.pageX-Math.round((d/2))),(g.pageY-Math.round((c/2)))];}},ATTRS:{clickableRail:{value:true,validator:b.Lang.isBoolean}}},true);},"3.5.0",{requires:["slider-base"]}); \ No newline at end of file +YUI.add("clickable-rail",function(b){function a(){this._initClickableRail();}b.ClickableRail=b.mix(a,{prototype:{_initClickableRail:function(){this._evtGuid=this._evtGuid||(b.guid()+"|");this.publish("railMouseDown",{defaultFn:this._defRailMouseDownFn});this.after("render",this._bindClickableRail);this.on("destroy",this._unbindClickableRail);},_bindClickableRail:function(){this._dd.addHandle(this.rail);this.rail.on(this._evtGuid+b.DD.Drag.START_EVENT,b.bind(this._onRailMouseDown,this));},_unbindClickableRail:function(){if(this.get("rendered")){var c=this.get("contentBox"),d=c.one("."+this.getClassName("rail"));d.detach(this.evtGuid+"*");}},_onRailMouseDown:function(c){if(this.get("clickableRail")&&!this.get("disabled")){this.fire("railMouseDown",{ev:c});this.thumb.focus();}},_defRailMouseDownFn:function(k){k=k.ev;var c=this._resolveThumb(k),g=this._key.xyIndex,h=parseFloat(this.get("length"),10),f,d,j;if(c){f=c.get("dragNode");d=parseFloat(f.getStyle(this._key.dim),10);j=this._getThumbDestination(k,f);j=j[g]-this.rail.getXY()[g];j=Math.min(Math.max(j,0),(h-d));this._uiMoveThumb(j,{source:"rail"});k.target=this.thumb.one("img")||this.thumb;c._handleMouseDownEvent(k);}},_resolveThumb:function(c){return this._dd;},_getThumbDestination:function(g,f){var d=f.get("offsetWidth"),c=f.get("offsetHeight");return[(g.pageX-Math.round((d/2))),(g.pageY-Math.round((c/2)))];}},ATTRS:{clickableRail:{value:true,validator:b.Lang.isBoolean}}},true);},"3.5.1",{requires:["slider-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/clickable-rail/clickable-rail.js b/lib/yui/3.5.1/build/clickable-rail/clickable-rail.js similarity index 99% rename from lib/yui/3.5.0/build/clickable-rail/clickable-rail.js rename to lib/yui/3.5.1/build/clickable-rail/clickable-rail.js index 9f5d552f7a3..748ae610080 100644 --- a/lib/yui/3.5.0/build/clickable-rail/clickable-rail.js +++ b/lib/yui/3.5.1/build/clickable-rail/clickable-rail.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -216,4 +216,4 @@ Y.ClickableRail = Y.mix(ClickableRail, { -}, '3.5.0' ,{requires:['slider-base']}); +}, '3.5.1' ,{requires:['slider-base']}); diff --git a/lib/yui/3.5.0/build/console-filters/assets/console-filters-core.css b/lib/yui/3.5.1/build/console-filters/assets/console-filters-core.css similarity index 83% rename from lib/yui/3.5.0/build/console-filters/assets/console-filters-core.css rename to lib/yui/3.5.1/build/console-filters/assets/console-filters-core.css index 7cef9228d45..34c9dbfc3a0 100644 --- a/lib/yui/3.5.0/build/console-filters/assets/console-filters-core.css +++ b/lib/yui/3.5.1/build/console-filters/assets/console-filters-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/console/assets/skins/sam/console-filters-skin.css b/lib/yui/3.5.1/build/console-filters/assets/skins/sam/console-filters-skin.css similarity index 97% rename from lib/yui/3.5.0/build/console/assets/skins/sam/console-filters-skin.css rename to lib/yui/3.5.1/build/console-filters/assets/skins/sam/console-filters-skin.css index 9dff85b3558..0a48fe132f8 100644 --- a/lib/yui/3.5.0/build/console/assets/skins/sam/console-filters-skin.css +++ b/lib/yui/3.5.1/build/console-filters/assets/skins/sam/console-filters-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/console-filters/assets/skins/sam/console-filters.css b/lib/yui/3.5.1/build/console-filters/assets/skins/sam/console-filters.css similarity index 97% rename from lib/yui/3.5.0/build/console-filters/assets/skins/sam/console-filters.css rename to lib/yui/3.5.1/build/console-filters/assets/skins/sam/console-filters.css index f2ca207bb90..afa2599410b 100644 --- a/lib/yui/3.5.0/build/console-filters/assets/skins/sam/console-filters.css +++ b/lib/yui/3.5.1/build/console-filters/assets/skins/sam/console-filters.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/console-filters/console-filters-debug.js b/lib/yui/3.5.1/build/console-filters/console-filters-debug.js similarity index 99% rename from lib/yui/3.5.0/build/console-filters/console-filters-debug.js rename to lib/yui/3.5.1/build/console-filters/console-filters-debug.js index eca89f871c3..b1a25fa79d8 100644 --- a/lib/yui/3.5.0/build/console-filters/console-filters-debug.js +++ b/lib/yui/3.5.1/build/console-filters/console-filters-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -726,4 +726,4 @@ Y.namespace('Plugin').ConsoleFilters = Y.extend(ConsoleFilters, Y.Plugin.Base, }); -}, '3.5.0' ,{requires:['console','plugin']}); +}, '3.5.1' ,{requires:['console','plugin']}); diff --git a/lib/yui/3.5.0/build/console-filters/console-filters-min.js b/lib/yui/3.5.1/build/console-filters/console-filters-min.js similarity index 98% rename from lib/yui/3.5.0/build/console-filters/console-filters-min.js rename to lib/yui/3.5.1/build/console-filters/console-filters-min.js index c3f68f56963..d58553062cc 100644 --- a/lib/yui/3.5.0/build/console-filters/console-filters-min.js +++ b/lib/yui/3.5.1/build/console-filters/console-filters-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("console-filters",function(c){var p=c.ClassNameManager.getClassName,g="console",b="filters",k="filter",f="category",d="source",e="category.",l="source.",o="host",q="checked",n="defaultVisibility",m=".",s="",r=m+c.Console.CHROME_CLASSES.console_bd_class,h=m+c.Console.CHROME_CLASSES.console_ft_class,a="input[type=checkbox].",i=c.Lang.isString;function j(){j.superclass.constructor.apply(this,arguments);}c.namespace("Plugin").ConsoleFilters=c.extend(j,c.Plugin.Base,{_entries:null,_cacheLimit:Number.POSITIVE_INFINITY,_categories:null,_sources:null,initializer:function(){this._entries=[];this.get(o).on("entry",this._onEntry,this);this.doAfter("renderUI",this.renderUI);this.doAfter("syncUI",this.syncUI);this.doAfter("bindUI",this.bindUI);this.doAfter("clearConsole",this._afterClearConsole);if(this.get(o).get("rendered")){this.renderUI();this.syncUI();this.bindUI();}this.after("cacheLimitChange",this._afterCacheLimitChange);},destructor:function(){this._entries=[];if(this._categories){this._categories.remove();}if(this._sources){this._sources.remove();}},renderUI:function(){var u=this.get(o).get("contentBox").one(h),t;if(u){t=c.substitute(j.CATEGORIES_TEMPLATE,j.CHROME_CLASSES);this._categories=u.appendChild(c.Node.create(t));t=c.substitute(j.SOURCES_TEMPLATE,j.CHROME_CLASSES);this._sources=u.appendChild(c.Node.create(t));}},bindUI:function(){this._categories.on("click",c.bind(this._onCategoryCheckboxClick,this));this._sources.on("click",c.bind(this._onSourceCheckboxClick,this));this.after("categoryChange",this._afterCategoryChange);this.after("sourceChange",this._afterSourceChange);},syncUI:function(){c.each(this.get(f),function(u,t){this._uiSetCheckbox(f,t,u);},this);c.each(this.get(d),function(u,t){this._uiSetCheckbox(d,t,u);},this);this.refreshConsole();},_onEntry:function(w){this._entries.push(w.message);var t=e+w.message.category,y=l+w.message.source,u=this.get(t),z=this.get(y),v=this._entries.length-this._cacheLimit,x;if(v>0){this._entries.splice(0,v);}if(u===undefined){x=this.get(n);this.set(t,x);u=x;}if(z===undefined){x=this.get(n);this.set(y,x);z=x;}if(!u||!z){w.preventDefault();}},_afterClearConsole:function(){this._entries=[];},_afterCategoryChange:function(v){var t=v.subAttrName.replace(/category\./,s),u=v.prevVal,w=v.newVal;if(!t||u[t]!==undefined){this.refreshConsole();this._filterBuffer();}if(t&&!v.fromUI){this._uiSetCheckbox(f,t,w[t]);}},_afterSourceChange:function(u){var w=u.subAttrName.replace(/source\./,s),t=u.prevVal,v=u.newVal;if(!w||t[w]!==undefined){this.refreshConsole();this._filterBuffer();}if(w&&!u.fromUI){this._uiSetCheckbox(d,w,v[w]);}},_filterBuffer:function(){var u=this.get(f),w=this.get(d),t=this.get(o).buffer,x=null,v;for(v=t.length-1;v>=0;--v){if(!u[t[v].category]||!w[t[v].source]){x=x||v;}else{if(x){t.splice(v,(x-v));x=null;}}}if(x){t.splice(0,x+1);}},_afterCacheLimitChange:function(t){if(isFinite(t.newVal)){var u=this._entries.length-t.newVal;if(u>0){this._entries.splice(0,u);}}},refreshConsole:function(){var x=this._entries,B=this.get(o),y=B.get("contentBox").one(r),u=B.get("consoleLimit"),A=this.get(f),t=this.get(d),v=[],w,z;if(y){B._cancelPrintLoop();for(w=x.length-1;w>=0&&u>=0;--w){z=x[w];if(A[z.category]&&t[z.source]){v.unshift(z);--u;}}y.setContent(s);B.buffer=v;B.printBuffer();}},_uiSetCheckbox:function(u,x,w){if(u&&x){var t=u===f?this._categories:this._sources,z=a+p(g,k,x),y=t.one(z),v;if(!y){v=this.get(o);this._createCheckbox(t,x);y=t.one(z);v._uiSetHeight(v.get("height"));}y.set(q,w);}},_onCategoryCheckboxClick:function(w){var v=w.target,u;if(v.hasClass(j.CHROME_CLASSES.filter)){u=v.get("value");if(u&&u in this.get(f)){this.set(e+u,v.get(q),{fromUI:true});}}},_onSourceCheckboxClick:function(v){var u=v.target,w;if(u.hasClass(j.CHROME_CLASSES.filter)){w=u.get("value");if(w&&w in this.get(d)){this.set(l+w,u.get(q),{fromUI:true});}}},hideCategory:function(u,t){if(i(t)){c.Array.each(arguments,this.hideCategory,this);}else{this.set(e+u,false);}},showCategory:function(u,t){if(i(t)){c.Array.each(arguments,this.showCategory,this);}else{this.set(e+u,true);}},hideSource:function(u,t){if(i(t)){c.Array.each(arguments,this.hideSource,this);}else{this.set(l+u,false);}},showSource:function(u,t){if(i(t)){c.Array.each(arguments,this.showSource,this);}else{this.set(l+u,true);}},_createCheckbox:function(t,u){var w=c.merge(j.CHROME_CLASSES,{filter_name:u,filter_class:p(g,k,u)}),v=c.Node.create(c.substitute(j.FILTER_TEMPLATE,w));t.appendChild(v);},_validateCategory:function(t,u){return c.Lang.isObject(u,true)&&t.split(/\./).length<3;},_validateSource:function(u,t){return c.Lang.isObject(t,true)&&u.split(/\./).length<3;},_setCacheLimit:function(t){if(c.Lang.isNumber(t)){this._cacheLimit=t;return t;}else{return c.Attribute.INVALID_VALUE;}}},{NAME:"consoleFilters",NS:k,CATEGORIES_TEMPLATE:'',SOURCES_TEMPLATE:'',FILTER_TEMPLATE:' ",CHROME_CLASSES:{categories:p(g,b,"categories"),sources:p(g,b,"sources"),category:p(g,k,f),source:p(g,k,d),filter:p(g,k),filter_label:p(g,k,"label")},ATTRS:{defaultVisibility:{value:true,validator:c.Lang.isBoolean},category:{value:{},validator:function(u,t){return this._validateCategory(t,u);}},source:{value:{},validator:function(u,t){return this._validateSource(t,u);}},cacheLimit:{value:Number.POSITIVE_INFINITY,setter:function(t){return this._setCacheLimit(t);}}}});},"3.5.0",{requires:["console","plugin"]}); \ No newline at end of file +YUI.add("console-filters",function(c){var p=c.ClassNameManager.getClassName,g="console",b="filters",k="filter",f="category",d="source",e="category.",l="source.",o="host",q="checked",n="defaultVisibility",m=".",s="",r=m+c.Console.CHROME_CLASSES.console_bd_class,h=m+c.Console.CHROME_CLASSES.console_ft_class,a="input[type=checkbox].",i=c.Lang.isString;function j(){j.superclass.constructor.apply(this,arguments);}c.namespace("Plugin").ConsoleFilters=c.extend(j,c.Plugin.Base,{_entries:null,_cacheLimit:Number.POSITIVE_INFINITY,_categories:null,_sources:null,initializer:function(){this._entries=[];this.get(o).on("entry",this._onEntry,this);this.doAfter("renderUI",this.renderUI);this.doAfter("syncUI",this.syncUI);this.doAfter("bindUI",this.bindUI);this.doAfter("clearConsole",this._afterClearConsole);if(this.get(o).get("rendered")){this.renderUI();this.syncUI();this.bindUI();}this.after("cacheLimitChange",this._afterCacheLimitChange);},destructor:function(){this._entries=[];if(this._categories){this._categories.remove();}if(this._sources){this._sources.remove();}},renderUI:function(){var u=this.get(o).get("contentBox").one(h),t;if(u){t=c.substitute(j.CATEGORIES_TEMPLATE,j.CHROME_CLASSES);this._categories=u.appendChild(c.Node.create(t));t=c.substitute(j.SOURCES_TEMPLATE,j.CHROME_CLASSES);this._sources=u.appendChild(c.Node.create(t));}},bindUI:function(){this._categories.on("click",c.bind(this._onCategoryCheckboxClick,this));this._sources.on("click",c.bind(this._onSourceCheckboxClick,this));this.after("categoryChange",this._afterCategoryChange);this.after("sourceChange",this._afterSourceChange);},syncUI:function(){c.each(this.get(f),function(u,t){this._uiSetCheckbox(f,t,u);},this);c.each(this.get(d),function(u,t){this._uiSetCheckbox(d,t,u);},this);this.refreshConsole();},_onEntry:function(w){this._entries.push(w.message);var t=e+w.message.category,y=l+w.message.source,u=this.get(t),z=this.get(y),v=this._entries.length-this._cacheLimit,x;if(v>0){this._entries.splice(0,v);}if(u===undefined){x=this.get(n);this.set(t,x);u=x;}if(z===undefined){x=this.get(n);this.set(y,x);z=x;}if(!u||!z){w.preventDefault();}},_afterClearConsole:function(){this._entries=[];},_afterCategoryChange:function(v){var t=v.subAttrName.replace(/category\./,s),u=v.prevVal,w=v.newVal;if(!t||u[t]!==undefined){this.refreshConsole();this._filterBuffer();}if(t&&!v.fromUI){this._uiSetCheckbox(f,t,w[t]);}},_afterSourceChange:function(u){var w=u.subAttrName.replace(/source\./,s),t=u.prevVal,v=u.newVal;if(!w||t[w]!==undefined){this.refreshConsole();this._filterBuffer();}if(w&&!u.fromUI){this._uiSetCheckbox(d,w,v[w]);}},_filterBuffer:function(){var u=this.get(f),w=this.get(d),t=this.get(o).buffer,x=null,v;for(v=t.length-1;v>=0;--v){if(!u[t[v].category]||!w[t[v].source]){x=x||v;}else{if(x){t.splice(v,(x-v));x=null;}}}if(x){t.splice(0,x+1);}},_afterCacheLimitChange:function(t){if(isFinite(t.newVal)){var u=this._entries.length-t.newVal;if(u>0){this._entries.splice(0,u);}}},refreshConsole:function(){var x=this._entries,B=this.get(o),y=B.get("contentBox").one(r),u=B.get("consoleLimit"),A=this.get(f),t=this.get(d),v=[],w,z;if(y){B._cancelPrintLoop();for(w=x.length-1;w>=0&&u>=0;--w){z=x[w];if(A[z.category]&&t[z.source]){v.unshift(z);--u;}}y.setContent(s);B.buffer=v;B.printBuffer();}},_uiSetCheckbox:function(u,x,w){if(u&&x){var t=u===f?this._categories:this._sources,z=a+p(g,k,x),y=t.one(z),v;if(!y){v=this.get(o);this._createCheckbox(t,x);y=t.one(z);v._uiSetHeight(v.get("height"));}y.set(q,w);}},_onCategoryCheckboxClick:function(w){var v=w.target,u;if(v.hasClass(j.CHROME_CLASSES.filter)){u=v.get("value");if(u&&u in this.get(f)){this.set(e+u,v.get(q),{fromUI:true});}}},_onSourceCheckboxClick:function(v){var u=v.target,w;if(u.hasClass(j.CHROME_CLASSES.filter)){w=u.get("value");if(w&&w in this.get(d)){this.set(l+w,u.get(q),{fromUI:true});}}},hideCategory:function(u,t){if(i(t)){c.Array.each(arguments,this.hideCategory,this);}else{this.set(e+u,false);}},showCategory:function(u,t){if(i(t)){c.Array.each(arguments,this.showCategory,this);}else{this.set(e+u,true);}},hideSource:function(u,t){if(i(t)){c.Array.each(arguments,this.hideSource,this);}else{this.set(l+u,false);}},showSource:function(u,t){if(i(t)){c.Array.each(arguments,this.showSource,this);}else{this.set(l+u,true);}},_createCheckbox:function(t,u){var w=c.merge(j.CHROME_CLASSES,{filter_name:u,filter_class:p(g,k,u)}),v=c.Node.create(c.substitute(j.FILTER_TEMPLATE,w));t.appendChild(v);},_validateCategory:function(t,u){return c.Lang.isObject(u,true)&&t.split(/\./).length<3;},_validateSource:function(u,t){return c.Lang.isObject(t,true)&&u.split(/\./).length<3;},_setCacheLimit:function(t){if(c.Lang.isNumber(t)){this._cacheLimit=t;return t;}else{return c.Attribute.INVALID_VALUE;}}},{NAME:"consoleFilters",NS:k,CATEGORIES_TEMPLATE:'',SOURCES_TEMPLATE:'',FILTER_TEMPLATE:' ",CHROME_CLASSES:{categories:p(g,b,"categories"),sources:p(g,b,"sources"),category:p(g,k,f),source:p(g,k,d),filter:p(g,k),filter_label:p(g,k,"label")},ATTRS:{defaultVisibility:{value:true,validator:c.Lang.isBoolean},category:{value:{},validator:function(u,t){return this._validateCategory(t,u);}},source:{value:{},validator:function(u,t){return this._validateSource(t,u);}},cacheLimit:{value:Number.POSITIVE_INFINITY,setter:function(t){return this._setCacheLimit(t);}}}});},"3.5.1",{requires:["console","plugin"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/console-filters/console-filters.js b/lib/yui/3.5.1/build/console-filters/console-filters.js similarity index 99% rename from lib/yui/3.5.0/build/console-filters/console-filters.js rename to lib/yui/3.5.1/build/console-filters/console-filters.js index eca89f871c3..b1a25fa79d8 100644 --- a/lib/yui/3.5.0/build/console-filters/console-filters.js +++ b/lib/yui/3.5.1/build/console-filters/console-filters.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -726,4 +726,4 @@ Y.namespace('Plugin').ConsoleFilters = Y.extend(ConsoleFilters, Y.Plugin.Base, }); -}, '3.5.0' ,{requires:['console','plugin']}); +}, '3.5.1' ,{requires:['console','plugin']}); diff --git a/lib/yui/3.5.0/build/console/assets/console-core.css b/lib/yui/3.5.1/build/console/assets/console-core.css similarity index 83% rename from lib/yui/3.5.0/build/console/assets/console-core.css rename to lib/yui/3.5.1/build/console/assets/console-core.css index 7cef9228d45..34c9dbfc3a0 100644 --- a/lib/yui/3.5.0/build/console/assets/console-core.css +++ b/lib/yui/3.5.1/build/console/assets/console-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/console/assets/console-filters-core.css b/lib/yui/3.5.1/build/console/assets/console-filters-core.css similarity index 83% rename from lib/yui/3.5.0/build/console/assets/console-filters-core.css rename to lib/yui/3.5.1/build/console/assets/console-filters-core.css index 7cef9228d45..34c9dbfc3a0 100644 --- a/lib/yui/3.5.0/build/console/assets/console-filters-core.css +++ b/lib/yui/3.5.1/build/console/assets/console-filters-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/console/assets/skins/sam/bg.png b/lib/yui/3.5.1/build/console/assets/skins/sam/bg.png similarity index 100% rename from lib/yui/3.5.0/build/console/assets/skins/sam/bg.png rename to lib/yui/3.5.1/build/console/assets/skins/sam/bg.png diff --git a/lib/yui/3.5.0/build/console-filters/assets/skins/sam/console-filters-skin.css b/lib/yui/3.5.1/build/console/assets/skins/sam/console-filters-skin.css similarity index 97% rename from lib/yui/3.5.0/build/console-filters/assets/skins/sam/console-filters-skin.css rename to lib/yui/3.5.1/build/console/assets/skins/sam/console-filters-skin.css index 9dff85b3558..0a48fe132f8 100644 --- a/lib/yui/3.5.0/build/console-filters/assets/skins/sam/console-filters-skin.css +++ b/lib/yui/3.5.1/build/console/assets/skins/sam/console-filters-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/console/assets/skins/sam/console-filters.css b/lib/yui/3.5.1/build/console/assets/skins/sam/console-filters.css similarity index 97% rename from lib/yui/3.5.0/build/console/assets/skins/sam/console-filters.css rename to lib/yui/3.5.1/build/console/assets/skins/sam/console-filters.css index 1a830a05883..cdf3ce05118 100644 --- a/lib/yui/3.5.0/build/console/assets/skins/sam/console-filters.css +++ b/lib/yui/3.5.1/build/console/assets/skins/sam/console-filters.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/console/assets/skins/sam/console-skin.css b/lib/yui/3.5.1/build/console/assets/skins/sam/console-skin.css similarity index 99% rename from lib/yui/3.5.0/build/console/assets/skins/sam/console-skin.css rename to lib/yui/3.5.1/build/console/assets/skins/sam/console-skin.css index a2fd8dbdd14..9072a04e436 100644 --- a/lib/yui/3.5.0/build/console/assets/skins/sam/console-skin.css +++ b/lib/yui/3.5.1/build/console/assets/skins/sam/console-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/assets/skins/sam/console.css b/lib/yui/3.5.1/build/console/assets/skins/sam/console.css similarity index 99% rename from lib/yui/3.5.0/build/assets/skins/sam/console.css rename to lib/yui/3.5.1/build/console/assets/skins/sam/console.css index 2278a5feb09..fe3db79a451 100644 --- a/lib/yui/3.5.0/build/assets/skins/sam/console.css +++ b/lib/yui/3.5.1/build/console/assets/skins/sam/console.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/console/assets/skins/sam/warn_error.png b/lib/yui/3.5.1/build/console/assets/skins/sam/warn_error.png similarity index 100% rename from lib/yui/3.5.0/build/console/assets/skins/sam/warn_error.png rename to lib/yui/3.5.1/build/console/assets/skins/sam/warn_error.png diff --git a/lib/yui/3.5.0/build/console/assets/warn_error.png b/lib/yui/3.5.1/build/console/assets/warn_error.png similarity index 100% rename from lib/yui/3.5.0/build/console/assets/warn_error.png rename to lib/yui/3.5.1/build/console/assets/warn_error.png diff --git a/lib/yui/3.5.0/build/console/console-debug.js b/lib/yui/3.5.1/build/console/console-debug.js similarity index 99% rename from lib/yui/3.5.0/build/console/console-debug.js rename to lib/yui/3.5.1/build/console/console-debug.js index aaea2035441..e282bac5557 100644 --- a/lib/yui/3.5.0/build/console/console-debug.js +++ b/lib/yui/3.5.1/build/console/console-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -1520,4 +1520,4 @@ Y.Console = Y.extend(Console, Y.Widget, }); -}, '3.5.0' ,{lang:['en', 'es', 'ja'], requires:['substitute','widget','yui-log']}); +}, '3.5.1' ,{lang:['en', 'es', 'ja'], requires:['substitute','widget','yui-log']}); diff --git a/lib/yui/3.5.0/build/console/console-min.js b/lib/yui/3.5.1/build/console/console-min.js similarity index 99% rename from lib/yui/3.5.0/build/console/console-min.js rename to lib/yui/3.5.1/build/console/console-min.js index 23322a551c3..913d4d0f4ff 100644 --- a/lib/yui/3.5.0/build/console/console-min.js +++ b/lib/yui/3.5.1/build/console/console-min.js @@ -1,8 +1,8 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("console",function(d){var g=d.ClassNameManager.getClassName,b="checked",R="clear",Q="click",s="collapsed",ad="console",B="contentBox",F="disabled",N="entry",J="error",H="height",o="info",l="lastTime",f="pause",D="paused",W="reset",U="startTime",O="title",G="warn",x=".",w=g(ad,"button"),z=g(ad,"checkbox"),ac=g(ad,R),V=g(ad,"collapse"),r=g(ad,s),e=g(ad,"controls"),C=g(ad,"hd"),A=g(ad,"bd"),c=g(ad,"ft"),I=g(ad,O),X=g(ad,N),S=g(ad,N,"cat"),y=g(ad,N,"content"),t=g(ad,N,"meta"),E=g(ad,N,"src"),a=g(ad,N,"time"),p=g(ad,f),v=g(ad,f,"label"),M=/^(\S+)\s/,Z=/&(?!#?[a-z0-9]+;)/g,T=/>/g,j=/ {message}'+"",i=d.Lang,k=d.Node.create,ab=i.isNumber,m=i.isString,P=d.merge,aa=d.substitute;function u(){u.superclass.constructor.apply(this,arguments);}d.Console=d.extend(u,d.Widget,{_evtCat:null,_head:null,_body:null,_foot:null,_printLoop:null,buffer:null,log:function(){d.log.apply(d,arguments);return this;},clearConsole:function(){this._body.empty();this._cancelPrintLoop();this.buffer=[];return this;},reset:function(){this.fire(W);return this;},collapse:function(){this.set(s,true);return this;},expand:function(){this.set(s,false);return this;},printBuffer:function(Y){var aj=this.buffer,ae=d.config.debug,L=[],ag=this.get("consoleLimit"),ai=this.get("newestOnTop"),af=ai?this._body.get("firstChild"):null,ah;if(aj.length>ag){aj.splice(0,aj.length-ag);}Y=Math.min(aj.length,(Y||aj.length));d.config.debug=false;if(!this.get(D)&&this.get("rendered")){for(ah=0;ah0){if(this.get("newestOnTop")){ag=ae;Y=L.size();}else{ag=0;}this._body.setStyle("display","none");for(;ag '+' {str_title}
'+'"+"",BODY_TEMPLATE:'',FOOTER_TEMPLATE:''+'",ENTRY_TEMPLATE:n,ATTRS:{logEvent:{value:"yui:log",writeOnce:true,validator:m},logSource:{value:d,writeOnce:true,validator:function(L){return this._validateLogSource(L);}},strings:{valueFn:function(){return d.Intl.get("console");}},paused:{value:false,validator:i.isBoolean},defaultCategory:{value:o,validator:m},defaultSource:{value:"global",validator:m},entryTemplate:{value:n,validator:m},logLevel:{value:d.config.logLevel||o,setter:function(L){return this._setLogLevel(L);}},printTimeout:{value:100,validator:ab},printLimit:{value:50,validator:ab},consoleLimit:{value:300,validator:ab},newestOnTop:{value:true},scrollIntoView:{value:true},startTime:{value:new Date()},lastTime:{value:new Date(),readOnly:true},collapsed:{value:false},height:{value:"300px"},width:{value:"300px"},useBrowserConsole:{lazyAdd:false,value:false,getter:function(){return this._getUseBrowserConsole();},setter:function(L){return this._setUseBrowserConsole(L);}},style:{value:"separate",writeOnce:true,validator:function(L){return this._validateStyle(L);}}}});},"3.5.0",{lang:["en","es","ja"],requires:["substitute","widget","yui-log"]}); \ No newline at end of file +},_onClearClick:function(L){this.clearConsole();},_onCollapseClick:function(L){this.set(s,!this.get(s));},_validateLogSource:function(L){return L&&d.Lang.isFunction(L.on);},_setLogLevel:function(L){if(m(L)){L=L.toLowerCase();}return(L===G||L===J)?L:o;},_getUseBrowserConsole:function(){var L=this.get("logSource");return L instanceof YUI?L.config.useBrowserConsole:null;},_setUseBrowserConsole:function(L){var Y=this.get("logSource");if(Y instanceof YUI){L=!!L;Y.config.useBrowserConsole=L;return L;}else{return d.Attribute.INVALID_VALUE;}},_uiSetHeight:function(L){u.superclass._uiSetHeight.apply(this,arguments);if(this._head&&this._foot){var Y=this.get("boundingBox").get("offsetHeight")-this._head.get("offsetHeight")-this._foot.get("offsetHeight");this._body.setStyle(H,Y+"px");}},_uiSizeCB:function(){},_afterStringsChange:function(ae){var ag=ae.subAttrName?ae.subAttrName.split(x)[1]:null,L=this.get(B),Y=ae.prevVal,af=ae.newVal;if((!ag||ag===O)&&Y.title!==af.title){L.all(x+I).setContent(af.title);}if((!ag||ag===f)&&Y.pause!==af.pause){L.all(x+v).setContent(af.pause);}if((!ag||ag===R)&&Y.clear!==af.clear){L.all(x+ac).set("value",af.clear);}},_afterPausedChange:function(Y){var L=Y.newVal;if(Y.src!==d.Widget.SRC_UI){this._uiUpdatePaused(L);}if(!L){this._schedulePrint();}else{if(this._printLoop){this._cancelPrintLoop();}}},_uiUpdatePaused:function(L){var Y=this._foot.all("input[type=checkbox]."+p);if(Y){Y.set(b,L);}},_afterConsoleLimitChange:function(){this._trimOldEntries();},_afterCollapsedChange:function(L){this._uiUpdateCollapsed(L.newVal);},_uiUpdateCollapsed:function(L){var af=this.get("boundingBox"),Y=af.all("button."+V),ag=L?"addClass":"removeClass",ae=this.get("strings."+(L?"expand":"collapse"));af[ag](r);if(Y){Y.setContent(ae);}this._uiSetHeight(L?this._head.get("offsetHeight"):this.get(H));},_afterVisibleChange:function(L){u.superclass._afterVisibleChange.apply(this,arguments);this._uiUpdateFromHideShow(L.newVal);},_uiUpdateFromHideShow:function(L){if(L){this._uiSetHeight(this.get(H));}},_onLogEvent:function(Y){if(!this.get(F)&&this._isInLogLevel(Y)){var L=d.config.debug;d.config.debug=false;this.fire(N,{message:this._normalizeMessage(Y)});d.config.debug=L;}},_defResetFn:function(){this.clearConsole();this.set(U,new Date());this.set(F,false);this.set(D,false);},_defEntryFn:function(L){if(L.message){this.buffer.push(L.message);this._schedulePrint();}}},{NAME:ad,LOG_LEVEL_INFO:o,LOG_LEVEL_WARN:G,LOG_LEVEL_ERROR:J,ENTRY_CLASSES:{entry_class:X,entry_meta_class:t,entry_cat_class:S,entry_src_class:E,entry_time_class:a,entry_content_class:y},CHROME_CLASSES:{console_hd_class:C,console_bd_class:A,console_ft_class:c,console_controls_class:e,console_checkbox_class:z,console_pause_class:p,console_pause_label_class:v,console_button_class:w,console_clear_class:ac,console_collapse_class:V,console_title_class:I},HEADER_TEMPLATE:''+'"+'"+""+"'+'",BODY_TEMPLATE:'',FOOTER_TEMPLATE:'{str_title}
'+'"+"'+'",ENTRY_TEMPLATE:n,ATTRS:{logEvent:{value:"yui:log",writeOnce:true,validator:m},logSource:{value:d,writeOnce:true,validator:function(L){return this._validateLogSource(L);}},strings:{valueFn:function(){return d.Intl.get("console");}},paused:{value:false,validator:i.isBoolean},defaultCategory:{value:o,validator:m},defaultSource:{value:"global",validator:m},entryTemplate:{value:n,validator:m},logLevel:{value:d.config.logLevel||o,setter:function(L){return this._setLogLevel(L);}},printTimeout:{value:100,validator:ab},printLimit:{value:50,validator:ab},consoleLimit:{value:300,validator:ab},newestOnTop:{value:true},scrollIntoView:{value:true},startTime:{value:new Date()},lastTime:{value:new Date(),readOnly:true},collapsed:{value:false},height:{value:"300px"},width:{value:"300px"},useBrowserConsole:{lazyAdd:false,value:false,getter:function(){return this._getUseBrowserConsole();},setter:function(L){return this._setUseBrowserConsole(L);}},style:{value:"separate",writeOnce:true,validator:function(L){return this._validateStyle(L);}}}});},"3.5.1",{lang:["en","es","ja"],requires:["substitute","widget","yui-log"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/console/console.js b/lib/yui/3.5.1/build/console/console.js similarity index 99% rename from lib/yui/3.5.0/build/console/console.js rename to lib/yui/3.5.1/build/console/console.js index aaea2035441..e282bac5557 100644 --- a/lib/yui/3.5.0/build/console/console.js +++ b/lib/yui/3.5.1/build/console/console.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -1520,4 +1520,4 @@ Y.Console = Y.extend(Console, Y.Widget, }); -}, '3.5.0' ,{lang:['en', 'es', 'ja'], requires:['substitute','widget','yui-log']}); +}, '3.5.1' ,{lang:['en', 'es', 'ja'], requires:['substitute','widget','yui-log']}); diff --git a/lib/yui/3.5.0/build/console/lang/console.js b/lib/yui/3.5.1/build/console/lang/console.js similarity index 82% rename from lib/yui/3.5.0/build/console/lang/console.js rename to lib/yui/3.5.1/build/console/lang/console.js index 589c09de9b7..343f6999b05 100644 --- a/lib/yui/3.5.0/build/console/lang/console.js +++ b/lib/yui/3.5.1/build/console/lang/console.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/console",function(a){a.Intl.add("console","",{title:"Log Console",pause:"Pause",clear:"Clear",collapse:"Collapse",expand:"Expand"});},"3.5.0"); \ No newline at end of file +YUI.add("lang/console",function(a){a.Intl.add("console","",{title:"Log Console",pause:"Pause",clear:"Clear",collapse:"Collapse",expand:"Expand"});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/console/lang/console_en.js b/lib/yui/3.5.1/build/console/lang/console_en.js similarity index 81% rename from lib/yui/3.5.0/build/console/lang/console_en.js rename to lib/yui/3.5.1/build/console/lang/console_en.js index ee5f155f7cb..9d254024155 100644 --- a/lib/yui/3.5.0/build/console/lang/console_en.js +++ b/lib/yui/3.5.1/build/console/lang/console_en.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/console_en",function(a){a.Intl.add("console","en",{title:"Log Console",pause:"Pause",clear:"Clear",collapse:"Collapse",expand:"Expand"});},"3.5.0"); \ No newline at end of file +YUI.add("lang/console_en",function(a){a.Intl.add("console","en",{title:"Log Console",pause:"Pause",clear:"Clear",collapse:"Collapse",expand:"Expand"});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/console/lang/console_es.js b/lib/yui/3.5.1/build/console/lang/console_es.js similarity index 77% rename from lib/yui/3.5.0/build/console/lang/console_es.js rename to lib/yui/3.5.1/build/console/lang/console_es.js index b1ce4d12367..c4f15f619f1 100644 --- a/lib/yui/3.5.0/build/console/lang/console_es.js +++ b/lib/yui/3.5.1/build/console/lang/console_es.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/console_es",function(a){a.Intl.add("console","es",{title:"Consola de informacion",pause:"Pausa",clear:"Borrar",collapse:"Colapsar",expand:"Expandir"});},"3.5.0"); \ No newline at end of file +YUI.add("lang/console_es",function(a){a.Intl.add("console","es",{title:"Consola de informacion",pause:"Pausa",clear:"Borrar",collapse:"Colapsar",expand:"Expandir"});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/console/lang/console_ja.js b/lib/yui/3.5.1/build/console/lang/console_ja.js similarity index 81% rename from lib/yui/3.5.0/build/console/lang/console_ja.js rename to lib/yui/3.5.1/build/console/lang/console_ja.js index 9bb6e65a004..a80f3c3afa3 100644 --- a/lib/yui/3.5.0/build/console/lang/console_ja.js +++ b/lib/yui/3.5.1/build/console/lang/console_ja.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("lang/console_ja",function(a){a.Intl.add("console","ja",{title:"\u30ED\u30B0\u30B3\u30F3\u30BD\u30FC\u30EB",pause:"\u4E00\u6642\u505C\u6B62",clear:"\u30AF\u30EA\u30A2",collapse:"\u9589\u3058\u308B",expand:"\u958B\u304F"});},"3.5.0"); \ No newline at end of file +YUI.add("lang/console_ja",function(a){a.Intl.add("console","ja",{title:"\u30ED\u30B0\u30B3\u30F3\u30BD\u30FC\u30EB",pause:"\u4E00\u6642\u505C\u6B62",clear:"\u30AF\u30EA\u30A2",collapse:"\u9589\u3058\u308B",expand:"\u958B\u304F"});},"3.5.1"); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/cookie/cookie-debug.js b/lib/yui/3.5.1/build/cookie/cookie-debug.js similarity index 99% rename from lib/yui/3.5.0/build/cookie/cookie-debug.js rename to lib/yui/3.5.1/build/cookie/cookie-debug.js index ccc634ac276..50e973d9004 100644 --- a/lib/yui/3.5.0/build/cookie/cookie-debug.js +++ b/lib/yui/3.5.1/build/cookie/cookie-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -502,4 +502,4 @@ YUI.add('cookie', function(Y) { }; -}, '3.5.0' ,{requires:['yui-base']}); +}, '3.5.1' ,{requires:['yui-base']}); diff --git a/lib/yui/3.5.0/build/cookie/cookie-min.js b/lib/yui/3.5.1/build/cookie/cookie-min.js similarity index 97% rename from lib/yui/3.5.0/build/cookie/cookie-min.js rename to lib/yui/3.5.1/build/cookie/cookie-min.js index 1e60dd18723..d986852a124 100644 --- a/lib/yui/3.5.0/build/cookie/cookie-min.js +++ b/lib/yui/3.5.1/build/cookie/cookie-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("cookie",function(c){var k=c.Lang,i=c.Object,g=null,d=k.isString,n=k.isObject,f=k.isUndefined,e=k.isFunction,h=encodeURIComponent,b=decodeURIComponent,m=c.config.doc;function j(o){throw new TypeError(o);}function l(o){if(!d(o)||o===""){j("Cookie name must be a non-empty string.");}}function a(o){if(!d(o)||o===""){j("Subcookie name must be a non-empty string.");}}c.Cookie={_createCookieString:function(q,t,r,p){p=p||{};var v=h(q)+"="+(r?h(t):t),o=p.expires,u=p.path,s=p.domain;if(n(p)){if(o instanceof Date){v+="; expires="+o.toUTCString();}if(d(u)&&u!==""){v+="; path="+u;}if(d(s)&&s!==""){v+="; domain="+s;}if(p.secure===true){v+="; secure";}}return v;},_createCookieHashString:function(o){if(!n(o)){j("Cookie._createCookieHashString(): Argument must be an object.");}var p=[];i.each(o,function(r,q){if(!e(r)&&!f(r)){p.push(h(q)+"="+h(String(r)));}});return p.join("&");},_parseCookieHash:function(s){var r=s.split("&"),t=g,q={};if(s.length){for(var p=0,o=r.length;p'+'"+'"+""+"0){var o=(y===false?function(z){return z;}:b),u=w.split(/;\s/g),v=g,p=g,r=g;for(var q=0,s=u.length;q 0){var o=(y===false?function(z){return z;}:b),u=w.split(/;\s/g),v=g,p=g,r=g;for(var q=0,s=u.length;q'+d+"");}}return c;}});},"3.5.0",{skinnable:false,requires:["editor-base"]}); \ No newline at end of file +YUI.add("createlink-base",function(b){var a={};a.STRINGS={PROMPT:"Please enter the URL for the link to point to:",DEFAULT:"http://"};b.namespace("Plugin");b.Plugin.CreateLinkBase=a;b.mix(b.Plugin.ExecCommand.COMMANDS,{createlink:function(i){var h=this.get("host").getInstance(),e,c,g,f,d=prompt(a.STRINGS.PROMPT,a.STRINGS.DEFAULT);if(d){f=h.config.doc.createElement("div");d=d.replace(/"/g,"").replace(/'/g,"");d=h.config.doc.createTextNode(d);f.appendChild(d);d=f.innerHTML;this.get("host")._execCommand(i,d);g=new h.EditorSelection();e=g.getSelected();if(!g.isCollapsed&&e.size()){c=e.item(0).one("a");if(c){e.item(0).replace(c);}if(b.UA.gecko){if(c.get("parentNode").test("span")){if(c.get("parentNode").one("br.yui-cursor")){c.get("parentNode").insert(c,"before");}}}}else{this.get("host").execCommand("inserthtml",''+d+"");}}return c;}});},"3.5.1",{skinnable:false,requires:["editor-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/createlink-base/createlink-base.js b/lib/yui/3.5.1/build/createlink-base/createlink-base.js similarity index 97% rename from lib/yui/3.5.0/build/createlink-base/createlink-base.js rename to lib/yui/3.5.1/build/createlink-base/createlink-base.js index ad36e202d5b..a8b3acf34d9 100644 --- a/lib/yui/3.5.0/build/createlink-base/createlink-base.js +++ b/lib/yui/3.5.1/build/createlink-base/createlink-base.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -87,4 +87,4 @@ YUI.add('createlink-base', function(Y) { -}, '3.5.0' ,{skinnable:false, requires:['editor-base']}); +}, '3.5.1' ,{skinnable:false, requires:['editor-base']}); diff --git a/lib/yui/3.5.0/build/cssbase-context/base-context-min.css b/lib/yui/3.5.1/build/cssbase-context/base-context-min.css similarity index 98% rename from lib/yui/3.5.0/build/cssbase-context/base-context-min.css rename to lib/yui/3.5.1/build/cssbase-context/base-context-min.css index 3bdc1354a2d..e2070ca26a8 100644 --- a/lib/yui/3.5.0/build/cssbase-context/base-context-min.css +++ b/lib/yui/3.5.1/build/cssbase-context/base-context-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssbase-context/base-context.css b/lib/yui/3.5.1/build/cssbase-context/base-context.css similarity index 99% rename from lib/yui/3.5.0/build/cssbase-context/base-context.css rename to lib/yui/3.5.1/build/cssbase-context/base-context.css index facdbc102e0..6cf1b1f6074 100644 --- a/lib/yui/3.5.0/build/cssbase-context/base-context.css +++ b/lib/yui/3.5.1/build/cssbase-context/base-context.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssbase-context/cssbase-context-min.css b/lib/yui/3.5.1/build/cssbase-context/cssbase-context-min.css similarity index 98% rename from lib/yui/3.5.0/build/cssbase-context/cssbase-context-min.css rename to lib/yui/3.5.1/build/cssbase-context/cssbase-context-min.css index 3bdc1354a2d..e2070ca26a8 100644 --- a/lib/yui/3.5.0/build/cssbase-context/cssbase-context-min.css +++ b/lib/yui/3.5.1/build/cssbase-context/cssbase-context-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssbase-context/cssbase-context.css b/lib/yui/3.5.1/build/cssbase-context/cssbase-context.css similarity index 99% rename from lib/yui/3.5.0/build/cssbase-context/cssbase-context.css rename to lib/yui/3.5.1/build/cssbase-context/cssbase-context.css index facdbc102e0..6cf1b1f6074 100644 --- a/lib/yui/3.5.0/build/cssbase-context/cssbase-context.css +++ b/lib/yui/3.5.1/build/cssbase-context/cssbase-context.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssbase/base-min.css b/lib/yui/3.5.1/build/cssbase/base-min.css similarity index 96% rename from lib/yui/3.5.0/build/cssbase/base-min.css rename to lib/yui/3.5.1/build/cssbase/base-min.css index 54e4f88aad0..21e5d66c110 100644 --- a/lib/yui/3.5.0/build/cssbase/base-min.css +++ b/lib/yui/3.5.1/build/cssbase/base-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssbase/base.css b/lib/yui/3.5.1/build/cssbase/base.css similarity index 98% rename from lib/yui/3.5.0/build/cssbase/base.css rename to lib/yui/3.5.1/build/cssbase/base.css index a20a2e87355..f3a60fd0b74 100644 --- a/lib/yui/3.5.0/build/cssbase/base.css +++ b/lib/yui/3.5.1/build/cssbase/base.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssbase/cssbase-min.css b/lib/yui/3.5.1/build/cssbase/cssbase-min.css similarity index 96% rename from lib/yui/3.5.0/build/cssbase/cssbase-min.css rename to lib/yui/3.5.1/build/cssbase/cssbase-min.css index 54e4f88aad0..21e5d66c110 100644 --- a/lib/yui/3.5.0/build/cssbase/cssbase-min.css +++ b/lib/yui/3.5.1/build/cssbase/cssbase-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssbase/cssbase.css b/lib/yui/3.5.1/build/cssbase/cssbase.css similarity index 98% rename from lib/yui/3.5.0/build/cssbase/cssbase.css rename to lib/yui/3.5.1/build/cssbase/cssbase.css index a20a2e87355..f3a60fd0b74 100644 --- a/lib/yui/3.5.0/build/cssbase/cssbase.css +++ b/lib/yui/3.5.1/build/cssbase/cssbase.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssbutton/cssbutton-min.css b/lib/yui/3.5.1/build/cssbutton/cssbutton-min.css similarity index 99% rename from lib/yui/3.5.0/build/cssbutton/cssbutton-min.css rename to lib/yui/3.5.1/build/cssbutton/cssbutton-min.css index 53b71754a40..16b9f323a57 100644 --- a/lib/yui/3.5.0/build/cssbutton/cssbutton-min.css +++ b/lib/yui/3.5.1/build/cssbutton/cssbutton-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssbutton/cssbutton.css b/lib/yui/3.5.1/build/cssbutton/cssbutton.css similarity index 99% rename from lib/yui/3.5.0/build/cssbutton/cssbutton.css rename to lib/yui/3.5.1/build/cssbutton/cssbutton.css index 52e3921efc5..8a92e2dff5a 100644 --- a/lib/yui/3.5.0/build/cssbutton/cssbutton.css +++ b/lib/yui/3.5.1/build/cssbutton/cssbutton.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssfonts-context/cssfonts-context-min.css b/lib/yui/3.5.1/build/cssfonts-context/cssfonts-context-min.css similarity index 96% rename from lib/yui/3.5.0/build/cssfonts-context/cssfonts-context-min.css rename to lib/yui/3.5.1/build/cssfonts-context/cssfonts-context-min.css index 13a4ab28829..79eca8a2b89 100644 --- a/lib/yui/3.5.0/build/cssfonts-context/cssfonts-context-min.css +++ b/lib/yui/3.5.1/build/cssfonts-context/cssfonts-context-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssfonts-context/cssfonts-context.css b/lib/yui/3.5.1/build/cssfonts-context/cssfonts-context.css similarity index 97% rename from lib/yui/3.5.0/build/cssfonts-context/cssfonts-context.css rename to lib/yui/3.5.1/build/cssfonts-context/cssfonts-context.css index f4f51cb9e10..c862f85d985 100644 --- a/lib/yui/3.5.0/build/cssfonts-context/cssfonts-context.css +++ b/lib/yui/3.5.1/build/cssfonts-context/cssfonts-context.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssfonts-context/fonts-context-min.css b/lib/yui/3.5.1/build/cssfonts-context/fonts-context-min.css similarity index 96% rename from lib/yui/3.5.0/build/cssfonts-context/fonts-context-min.css rename to lib/yui/3.5.1/build/cssfonts-context/fonts-context-min.css index 13a4ab28829..79eca8a2b89 100644 --- a/lib/yui/3.5.0/build/cssfonts-context/fonts-context-min.css +++ b/lib/yui/3.5.1/build/cssfonts-context/fonts-context-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssfonts-context/fonts-context.css b/lib/yui/3.5.1/build/cssfonts-context/fonts-context.css similarity index 97% rename from lib/yui/3.5.0/build/cssfonts-context/fonts-context.css rename to lib/yui/3.5.1/build/cssfonts-context/fonts-context.css index f4f51cb9e10..c862f85d985 100644 --- a/lib/yui/3.5.0/build/cssfonts-context/fonts-context.css +++ b/lib/yui/3.5.1/build/cssfonts-context/fonts-context.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssfonts/cssfonts-min.css b/lib/yui/3.5.1/build/cssfonts/cssfonts-min.css similarity index 94% rename from lib/yui/3.5.0/build/cssfonts/cssfonts-min.css rename to lib/yui/3.5.1/build/cssfonts/cssfonts-min.css index bf40fd48499..c2248350b79 100644 --- a/lib/yui/3.5.0/build/cssfonts/cssfonts-min.css +++ b/lib/yui/3.5.1/build/cssfonts/cssfonts-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssfonts/cssfonts.css b/lib/yui/3.5.1/build/cssfonts/cssfonts.css similarity index 97% rename from lib/yui/3.5.0/build/cssfonts/cssfonts.css rename to lib/yui/3.5.1/build/cssfonts/cssfonts.css index 0f936203633..13caf22e381 100644 --- a/lib/yui/3.5.0/build/cssfonts/cssfonts.css +++ b/lib/yui/3.5.1/build/cssfonts/cssfonts.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssfonts/fonts-min.css b/lib/yui/3.5.1/build/cssfonts/fonts-min.css similarity index 94% rename from lib/yui/3.5.0/build/cssfonts/fonts-min.css rename to lib/yui/3.5.1/build/cssfonts/fonts-min.css index bf40fd48499..c2248350b79 100644 --- a/lib/yui/3.5.0/build/cssfonts/fonts-min.css +++ b/lib/yui/3.5.1/build/cssfonts/fonts-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssfonts/fonts.css b/lib/yui/3.5.1/build/cssfonts/fonts.css similarity index 97% rename from lib/yui/3.5.0/build/cssfonts/fonts.css rename to lib/yui/3.5.1/build/cssfonts/fonts.css index 0f936203633..13caf22e381 100644 --- a/lib/yui/3.5.0/build/cssfonts/fonts.css +++ b/lib/yui/3.5.1/build/cssfonts/fonts.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssgrids-base/cssgrids-base-min.css b/lib/yui/3.5.1/build/cssgrids-base/cssgrids-base-min.css similarity index 93% rename from lib/yui/3.5.0/build/cssgrids-base/cssgrids-base-min.css rename to lib/yui/3.5.1/build/cssgrids-base/cssgrids-base-min.css index 7b101237e83..e0106372613 100644 --- a/lib/yui/3.5.0/build/cssgrids-base/cssgrids-base-min.css +++ b/lib/yui/3.5.1/build/cssgrids-base/cssgrids-base-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssgrids-base/cssgrids-base.css b/lib/yui/3.5.1/build/cssgrids-base/cssgrids-base.css similarity index 96% rename from lib/yui/3.5.0/build/cssgrids-base/cssgrids-base.css rename to lib/yui/3.5.1/build/cssgrids-base/cssgrids-base.css index a3ed6592b64..364cb8d1784 100644 --- a/lib/yui/3.5.0/build/cssgrids-base/cssgrids-base.css +++ b/lib/yui/3.5.1/build/cssgrids-base/cssgrids-base.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssgrids-context-deprecated/grids-context-min.css b/lib/yui/3.5.1/build/cssgrids-context-deprecated/grids-context-min.css similarity index 99% rename from lib/yui/3.5.0/build/cssgrids-context-deprecated/grids-context-min.css rename to lib/yui/3.5.1/build/cssgrids-context-deprecated/grids-context-min.css index 7ee810e2824..6be82cbda4c 100644 --- a/lib/yui/3.5.0/build/cssgrids-context-deprecated/grids-context-min.css +++ b/lib/yui/3.5.1/build/cssgrids-context-deprecated/grids-context-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssgrids-context-deprecated/grids-context.css b/lib/yui/3.5.1/build/cssgrids-context-deprecated/grids-context.css similarity index 99% rename from lib/yui/3.5.0/build/cssgrids-context-deprecated/grids-context.css rename to lib/yui/3.5.1/build/cssgrids-context-deprecated/grids-context.css index 12acc5a0c96..75b415d09ec 100644 --- a/lib/yui/3.5.0/build/cssgrids-context-deprecated/grids-context.css +++ b/lib/yui/3.5.1/build/cssgrids-context-deprecated/grids-context.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssgrids-units/cssgrids-units-min.css b/lib/yui/3.5.1/build/cssgrids-units/cssgrids-units-min.css similarity index 98% rename from lib/yui/3.5.0/build/cssgrids-units/cssgrids-units-min.css rename to lib/yui/3.5.1/build/cssgrids-units/cssgrids-units-min.css index 3a660de21d9..ad7f5b06818 100644 --- a/lib/yui/3.5.0/build/cssgrids-units/cssgrids-units-min.css +++ b/lib/yui/3.5.1/build/cssgrids-units/cssgrids-units-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssgrids-units/cssgrids-units.css b/lib/yui/3.5.1/build/cssgrids-units/cssgrids-units.css similarity index 98% rename from lib/yui/3.5.0/build/cssgrids-units/cssgrids-units.css rename to lib/yui/3.5.1/build/cssgrids-units/cssgrids-units.css index 0f348884fc5..9b24f105d57 100644 --- a/lib/yui/3.5.0/build/cssgrids-units/cssgrids-units.css +++ b/lib/yui/3.5.1/build/cssgrids-units/cssgrids-units.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssgrids/cssgrids-min.css b/lib/yui/3.5.1/build/cssgrids/cssgrids-min.css similarity index 98% rename from lib/yui/3.5.0/build/cssgrids/cssgrids-min.css rename to lib/yui/3.5.1/build/cssgrids/cssgrids-min.css index 199428f2207..fa6d57de712 100644 --- a/lib/yui/3.5.0/build/cssgrids/cssgrids-min.css +++ b/lib/yui/3.5.1/build/cssgrids/cssgrids-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssgrids/cssgrids.css b/lib/yui/3.5.1/build/cssgrids/cssgrids.css similarity index 98% rename from lib/yui/3.5.0/build/cssgrids/cssgrids.css rename to lib/yui/3.5.1/build/cssgrids/cssgrids.css index 444e542930e..25763ba6e85 100644 --- a/lib/yui/3.5.0/build/cssgrids/cssgrids.css +++ b/lib/yui/3.5.1/build/cssgrids/cssgrids.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssgrids/grids-min.css b/lib/yui/3.5.1/build/cssgrids/grids-min.css similarity index 98% rename from lib/yui/3.5.0/build/cssgrids/grids-min.css rename to lib/yui/3.5.1/build/cssgrids/grids-min.css index 199428f2207..fa6d57de712 100644 --- a/lib/yui/3.5.0/build/cssgrids/grids-min.css +++ b/lib/yui/3.5.1/build/cssgrids/grids-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssgrids/grids.css b/lib/yui/3.5.1/build/cssgrids/grids.css similarity index 98% rename from lib/yui/3.5.0/build/cssgrids/grids.css rename to lib/yui/3.5.1/build/cssgrids/grids.css index 444e542930e..25763ba6e85 100644 --- a/lib/yui/3.5.0/build/cssgrids/grids.css +++ b/lib/yui/3.5.1/build/cssgrids/grids.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssreset-context/cssreset-context-min.css b/lib/yui/3.5.1/build/cssreset-context/cssreset-context-min.css similarity index 98% rename from lib/yui/3.5.0/build/cssreset-context/cssreset-context-min.css rename to lib/yui/3.5.1/build/cssreset-context/cssreset-context-min.css index 7518d9fca41..b7fa34bbcb0 100644 --- a/lib/yui/3.5.0/build/cssreset-context/cssreset-context-min.css +++ b/lib/yui/3.5.1/build/cssreset-context/cssreset-context-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssreset-context/cssreset-context.css b/lib/yui/3.5.1/build/cssreset-context/cssreset-context.css similarity index 99% rename from lib/yui/3.5.0/build/cssreset-context/cssreset-context.css rename to lib/yui/3.5.1/build/cssreset-context/cssreset-context.css index e2c02cf50e4..60ca48ae622 100644 --- a/lib/yui/3.5.0/build/cssreset-context/cssreset-context.css +++ b/lib/yui/3.5.1/build/cssreset-context/cssreset-context.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssreset-context/reset-context-min.css b/lib/yui/3.5.1/build/cssreset-context/reset-context-min.css similarity index 98% rename from lib/yui/3.5.0/build/cssreset-context/reset-context-min.css rename to lib/yui/3.5.1/build/cssreset-context/reset-context-min.css index 7518d9fca41..b7fa34bbcb0 100644 --- a/lib/yui/3.5.0/build/cssreset-context/reset-context-min.css +++ b/lib/yui/3.5.1/build/cssreset-context/reset-context-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssreset-context/reset-context.css b/lib/yui/3.5.1/build/cssreset-context/reset-context.css similarity index 99% rename from lib/yui/3.5.0/build/cssreset-context/reset-context.css rename to lib/yui/3.5.1/build/cssreset-context/reset-context.css index e2c02cf50e4..60ca48ae622 100644 --- a/lib/yui/3.5.0/build/cssreset-context/reset-context.css +++ b/lib/yui/3.5.1/build/cssreset-context/reset-context.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssreset/cssreset-min.css b/lib/yui/3.5.1/build/cssreset/cssreset-min.css similarity index 97% rename from lib/yui/3.5.0/build/cssreset/cssreset-min.css rename to lib/yui/3.5.1/build/cssreset/cssreset-min.css index 5f2923ea8a9..54c7805bab7 100644 --- a/lib/yui/3.5.0/build/cssreset/cssreset-min.css +++ b/lib/yui/3.5.1/build/cssreset/cssreset-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssreset/cssreset.css b/lib/yui/3.5.1/build/cssreset/cssreset.css similarity index 98% rename from lib/yui/3.5.0/build/cssreset/cssreset.css rename to lib/yui/3.5.1/build/cssreset/cssreset.css index caa767ae5cb..4583cce30d7 100644 --- a/lib/yui/3.5.0/build/cssreset/cssreset.css +++ b/lib/yui/3.5.1/build/cssreset/cssreset.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssreset/reset-min.css b/lib/yui/3.5.1/build/cssreset/reset-min.css similarity index 97% rename from lib/yui/3.5.0/build/cssreset/reset-min.css rename to lib/yui/3.5.1/build/cssreset/reset-min.css index 5f2923ea8a9..54c7805bab7 100644 --- a/lib/yui/3.5.0/build/cssreset/reset-min.css +++ b/lib/yui/3.5.1/build/cssreset/reset-min.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/cssreset/reset.css b/lib/yui/3.5.1/build/cssreset/reset.css similarity index 98% rename from lib/yui/3.5.0/build/cssreset/reset.css rename to lib/yui/3.5.1/build/cssreset/reset.css index caa767ae5cb..4583cce30d7 100644 --- a/lib/yui/3.5.0/build/cssreset/reset.css +++ b/lib/yui/3.5.1/build/cssreset/reset.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/dataschema-array/dataschema-array-debug.js b/lib/yui/3.5.1/build/dataschema-array/dataschema-array-debug.js similarity index 99% rename from lib/yui/3.5.0/build/dataschema-array/dataschema-array-debug.js rename to lib/yui/3.5.1/build/dataschema-array/dataschema-array-debug.js index 19ad5a5ba8b..7a466f44c1d 100644 --- a/lib/yui/3.5.0/build/dataschema-array/dataschema-array-debug.js +++ b/lib/yui/3.5.1/build/dataschema-array/dataschema-array-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -192,4 +192,4 @@ var LANG = Y.Lang, Y.DataSchema.Array = Y.mix(SchemaArray, Y.DataSchema.Base); -}, '3.5.0' ,{requires:['dataschema-base']}); +}, '3.5.1' ,{requires:['dataschema-base']}); diff --git a/lib/yui/3.5.0/build/dataschema-array/dataschema-array-min.js b/lib/yui/3.5.1/build/dataschema-array/dataschema-array-min.js similarity index 90% rename from lib/yui/3.5.0/build/dataschema-array/dataschema-array-min.js rename to lib/yui/3.5.1/build/dataschema-array/dataschema-array-min.js index 484344f26a4..e543b4b4287 100644 --- a/lib/yui/3.5.0/build/dataschema-array/dataschema-array-min.js +++ b/lib/yui/3.5.1/build/dataschema-array/dataschema-array-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("dataschema-array",function(c){var a=c.Lang,b={apply:function(f,g){var d=g,e={results:[],meta:{}};if(a.isArray(d)){if(f&&a.isArray(f.resultFields)){e=b._parseResults.call(this,f.resultFields,d,e);}else{e.results=d;}}else{e.error=new Error("Array schema parse failure");}return e;},_parseResults:function(h,m,d){var g=[],q,p,k,l,o,n,f,e;for(f=m.length-1;f>-1;f--){q={};p=m[f];k=(a.isObject(p)&&!a.isFunction(p))?2:(a.isArray(p))?1:(a.isString(p))?0:-1;if(k>0){for(e=h.length-1;e>-1;e--){l=h[e];o=(!a.isUndefined(l.key))?l.key:l;n=(!a.isUndefined(p[o]))?p[o]:p[e];q[o]=c.DataSchema.Base.parse.call(this,n,l);}}else{if(k===0){q=p;}else{q=null;}}g[f]=q;}d.results=g;return d;}};c.DataSchema.Array=c.mix(b,c.DataSchema.Base);},"3.5.0",{requires:["dataschema-base"]}); \ No newline at end of file +YUI.add("dataschema-array",function(c){var a=c.Lang,b={apply:function(f,g){var d=g,e={results:[],meta:{}};if(a.isArray(d)){if(f&&a.isArray(f.resultFields)){e=b._parseResults.call(this,f.resultFields,d,e);}else{e.results=d;}}else{e.error=new Error("Array schema parse failure");}return e;},_parseResults:function(h,m,d){var g=[],q,p,k,l,o,n,f,e;for(f=m.length-1;f>-1;f--){q={};p=m[f];k=(a.isObject(p)&&!a.isFunction(p))?2:(a.isArray(p))?1:(a.isString(p))?0:-1;if(k>0){for(e=h.length-1;e>-1;e--){l=h[e];o=(!a.isUndefined(l.key))?l.key:l;n=(!a.isUndefined(p[o]))?p[o]:p[e];q[o]=c.DataSchema.Base.parse.call(this,n,l);}}else{if(k===0){q=p;}else{q=null;}}g[f]=q;}d.results=g;return d;}};c.DataSchema.Array=c.mix(b,c.DataSchema.Base);},"3.5.1",{requires:["dataschema-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/dataschema-array/dataschema-array.js b/lib/yui/3.5.1/build/dataschema-array/dataschema-array.js similarity index 98% rename from lib/yui/3.5.0/build/dataschema-array/dataschema-array.js rename to lib/yui/3.5.1/build/dataschema-array/dataschema-array.js index 0551d77c977..0be408a651a 100644 --- a/lib/yui/3.5.0/build/dataschema-array/dataschema-array.js +++ b/lib/yui/3.5.1/build/dataschema-array/dataschema-array.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -189,4 +189,4 @@ var LANG = Y.Lang, Y.DataSchema.Array = Y.mix(SchemaArray, Y.DataSchema.Base); -}, '3.5.0' ,{requires:['dataschema-base']}); +}, '3.5.1' ,{requires:['dataschema-base']}); diff --git a/lib/yui/3.5.0/build/dataschema-base/dataschema-base-debug.js b/lib/yui/3.5.1/build/dataschema-base/dataschema-base-debug.js similarity index 96% rename from lib/yui/3.5.0/build/dataschema-base/dataschema-base-debug.js rename to lib/yui/3.5.1/build/dataschema-base/dataschema-base-debug.js index 1bd7c89106a..fe19a5454d6 100644 --- a/lib/yui/3.5.0/build/dataschema-base/dataschema-base-debug.js +++ b/lib/yui/3.5.1/build/dataschema-base/dataschema-base-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -70,4 +70,4 @@ Y.namespace("DataSchema").Base = SchemaBase; Y.namespace("Parsers"); -}, '3.5.0' ,{requires:['base']}); +}, '3.5.1' ,{requires:['base']}); diff --git a/lib/yui/3.5.0/build/dataschema-base/dataschema-base-min.js b/lib/yui/3.5.1/build/dataschema-base/dataschema-base-min.js similarity index 82% rename from lib/yui/3.5.0/build/dataschema-base/dataschema-base-min.js rename to lib/yui/3.5.1/build/dataschema-base/dataschema-base-min.js index 6d80463a5c7..b29fd981536 100644 --- a/lib/yui/3.5.0/build/dataschema-base/dataschema-base-min.js +++ b/lib/yui/3.5.1/build/dataschema-base/dataschema-base-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("dataschema-base",function(b){var a=b.Lang,c={apply:function(d,e){return e;},parse:function(d,e){if(e.parser){var f=(a.isFunction(e.parser))?e.parser:b.Parsers[e.parser+""];if(f){d=f.call(this,d);}else{}}return d;}};b.namespace("DataSchema").Base=c;b.namespace("Parsers");},"3.5.0",{requires:["base"]}); \ No newline at end of file +YUI.add("dataschema-base",function(b){var a=b.Lang,c={apply:function(d,e){return e;},parse:function(d,e){if(e.parser){var f=(a.isFunction(e.parser))?e.parser:b.Parsers[e.parser+""];if(f){d=f.call(this,d);}else{}}return d;}};b.namespace("DataSchema").Base=c;b.namespace("Parsers");},"3.5.1",{requires:["base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/dataschema-base/dataschema-base.js b/lib/yui/3.5.1/build/dataschema-base/dataschema-base.js similarity index 96% rename from lib/yui/3.5.0/build/dataschema-base/dataschema-base.js rename to lib/yui/3.5.1/build/dataschema-base/dataschema-base.js index e3e4656b310..d9b75a7bc8e 100644 --- a/lib/yui/3.5.0/build/dataschema-base/dataschema-base.js +++ b/lib/yui/3.5.1/build/dataschema-base/dataschema-base.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -69,4 +69,4 @@ Y.namespace("DataSchema").Base = SchemaBase; Y.namespace("Parsers"); -}, '3.5.0' ,{requires:['base']}); +}, '3.5.1' ,{requires:['base']}); diff --git a/lib/yui/3.5.0/build/dataschema-json/dataschema-json-debug.js b/lib/yui/3.5.1/build/dataschema-json/dataschema-json-debug.js similarity index 99% rename from lib/yui/3.5.0/build/dataschema-json/dataschema-json-debug.js rename to lib/yui/3.5.1/build/dataschema-json/dataschema-json-debug.js index 806ad4ceea8..dfc6006d953 100644 --- a/lib/yui/3.5.0/build/dataschema-json/dataschema-json-debug.js +++ b/lib/yui/3.5.1/build/dataschema-json/dataschema-json-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -446,4 +446,4 @@ SchemaJSON = { Y.DataSchema.JSON = Y.mix(SchemaJSON, Base); -}, '3.5.0' ,{requires:['dataschema-base','json']}); +}, '3.5.1' ,{requires:['dataschema-base','json']}); diff --git a/lib/yui/3.5.0/build/dataschema-json/dataschema-json-min.js b/lib/yui/3.5.1/build/dataschema-json/dataschema-json-min.js similarity index 96% rename from lib/yui/3.5.0/build/dataschema-json/dataschema-json-min.js rename to lib/yui/3.5.1/build/dataschema-json/dataschema-json-min.js index b5ff30086ab..ecaac9f3a7c 100644 --- a/lib/yui/3.5.0/build/dataschema-json/dataschema-json-min.js +++ b/lib/yui/3.5.1/build/dataschema-json/dataschema-json-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("dataschema-json",function(g){var c=g.Lang,f=c.isFunction,a=c.isObject,b=c.isArray,e=g.DataSchema.Base,d;d={getPath:function(h){var l=null,k=[],j=0;if(h){h=h.replace(/\[\s*(['"])(.*?)\1\s*\]/g,function(m,i,n){k[j]=n;return".@"+(j++);}).replace(/\[(\d+)\]/g,function(m,i){k[j]=parseInt(i,10)|0;return".@"+(j++);}).replace(/^\./,"");l=h.split(".");for(j=l.length-1;j>=0;--j){if(l[j].charAt(0)==="@"){l[j]=k[parseInt(l[j].substr(1),10)];}}}return l;},getLocationValue:function(l,k){var j=0,h=l.length;for(;j=0;--w){k={};q=p[w];if(q){for(v=y.length-1;v>=0;--v){r=y[v];A=d.getLocationValue(r.path,q);if(A===undefined){A=d.getLocationValue([r.locator],q);if(A!==undefined){t.push({key:r.key,path:r.locator});y.splice(w,1);continue;}}k[r.key]=e.parse.call(this,(d.getLocationValue(r.path,q)),r);}for(v=t.length-1;v>=0;--v){r=t[v];k[r.key]=e.parse.call(this,((q[r.path]===undefined)?q[v]:q[r.path]),r);}for(v=o.length-1;v>=0;--v){z=o[v].key;k[z]=o[v].parser.call(this,k[z]);if(k[z]===undefined){k[z]=null;}}u[w]=k;}}n.results=u;return n;},_parseMeta:function(k,h,j){if(a(k)){var i,l;for(i in k){if(k.hasOwnProperty(i)){l=d.getPath(k[i]);if(l&&h){j.meta[i]=d.getLocationValue(l,h);}}}}else{j.error=new Error("JSON meta data retrieval failure");}return j;}};g.DataSchema.JSON=g.mix(d,e);},"3.5.0",{requires:["dataschema-base","json"]}); \ No newline at end of file +YUI.add("dataschema-json",function(g){var c=g.Lang,f=c.isFunction,a=c.isObject,b=c.isArray,e=g.DataSchema.Base,d;d={getPath:function(h){var l=null,k=[],j=0;if(h){h=h.replace(/\[\s*(['"])(.*?)\1\s*\]/g,function(m,i,n){k[j]=n;return".@"+(j++);}).replace(/\[(\d+)\]/g,function(m,i){k[j]=parseInt(i,10)|0;return".@"+(j++);}).replace(/^\./,"");l=h.split(".");for(j=l.length-1;j>=0;--j){if(l[j].charAt(0)==="@"){l[j]=k[parseInt(l[j].substr(1),10)];}}}return l;},getLocationValue:function(l,k){var j=0,h=l.length;for(;j =0;--w){k={};q=p[w];if(q){for(v=y.length-1;v>=0;--v){r=y[v];A=d.getLocationValue(r.path,q);if(A===undefined){A=d.getLocationValue([r.locator],q);if(A!==undefined){t.push({key:r.key,path:r.locator});y.splice(w,1);continue;}}k[r.key]=e.parse.call(this,(d.getLocationValue(r.path,q)),r);}for(v=t.length-1;v>=0;--v){r=t[v];k[r.key]=e.parse.call(this,((q[r.path]===undefined)?q[v]:q[r.path]),r);}for(v=o.length-1;v>=0;--v){z=o[v].key;k[z]=o[v].parser.call(this,k[z]);if(k[z]===undefined){k[z]=null;}}u[w]=k;}}n.results=u;return n;},_parseMeta:function(k,h,j){if(a(k)){var i,l;for(i in k){if(k.hasOwnProperty(i)){l=d.getPath(k[i]);if(l&&h){j.meta[i]=d.getLocationValue(l,h);}}}}else{j.error=new Error("JSON meta data retrieval failure");}return j;}};g.DataSchema.JSON=g.mix(d,e);},"3.5.1",{requires:["dataschema-base","json"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/dataschema-json/dataschema-json.js b/lib/yui/3.5.1/build/dataschema-json/dataschema-json.js similarity index 99% rename from lib/yui/3.5.0/build/dataschema-json/dataschema-json.js rename to lib/yui/3.5.1/build/dataschema-json/dataschema-json.js index 136cd0cb983..09fe66e02d4 100644 --- a/lib/yui/3.5.0/build/dataschema-json/dataschema-json.js +++ b/lib/yui/3.5.1/build/dataschema-json/dataschema-json.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -442,4 +442,4 @@ SchemaJSON = { Y.DataSchema.JSON = Y.mix(SchemaJSON, Base); -}, '3.5.0' ,{requires:['dataschema-base','json']}); +}, '3.5.1' ,{requires:['dataschema-base','json']}); diff --git a/lib/yui/3.5.0/build/dataschema-text/dataschema-text-debug.js b/lib/yui/3.5.1/build/dataschema-text/dataschema-text-debug.js similarity index 99% rename from lib/yui/3.5.0/build/dataschema-text/dataschema-text-debug.js rename to lib/yui/3.5.1/build/dataschema-text/dataschema-text-debug.js index 12a07e8fe20..647e1888738 100644 --- a/lib/yui/3.5.0/build/dataschema-text/dataschema-text-debug.js +++ b/lib/yui/3.5.1/build/dataschema-text/dataschema-text-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -186,4 +186,4 @@ var Lang = Y.Lang, Y.DataSchema.Text = Y.mix(SchemaText, Y.DataSchema.Base); -}, '3.5.0' ,{requires:['dataschema-base']}); +}, '3.5.1' ,{requires:['dataschema-base']}); diff --git a/lib/yui/3.5.0/build/dataschema-text/dataschema-text-min.js b/lib/yui/3.5.1/build/dataschema-text/dataschema-text-min.js similarity index 92% rename from lib/yui/3.5.0/build/dataschema-text/dataschema-text-min.js rename to lib/yui/3.5.1/build/dataschema-text/dataschema-text-min.js index 73e0bac8fa9..0871964531c 100644 --- a/lib/yui/3.5.0/build/dataschema-text/dataschema-text-min.js +++ b/lib/yui/3.5.1/build/dataschema-text/dataschema-text-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("dataschema-text",function(e){var c=e.Lang,a=c.isString,d=c.isUndefined,b={apply:function(h,i){var f=i,g={results:[],meta:{}};if(a(i)&&h&&a(h.resultDelimiter)){g=b._parseResults.call(this,h,f,g);}else{g.error=new Error("Text schema parse failure");}return g;},_parseResults:function(g,q,h){var o=g.resultDelimiter,n=a(g.fieldDelimiter)&&g.fieldDelimiter,p=g.resultFields||[],m=[],f=e.DataSchema.Base.parse,r,u,x,w,s,v,t,l,k;if(q.slice(-o.length)===o){q=q.slice(0,-o.length);}r=q.split(g.resultDelimiter);if(n){for(l=r.length-1;l>=0;--l){x={};w=r[l];u=w.split(g.fieldDelimiter);for(k=p.length-1;k>=0;--k){s=p[k];v=(!d(s.key))?s.key:s;t=(!d(u[v]))?u[v]:u[k];x[v]=f.call(this,t,s);}m[l]=x;}}else{m=r;}h.results=m;return h;}};e.DataSchema.Text=e.mix(b,e.DataSchema.Base);},"3.5.0",{requires:["dataschema-base"]}); \ No newline at end of file +YUI.add("dataschema-text",function(e){var c=e.Lang,a=c.isString,d=c.isUndefined,b={apply:function(h,i){var f=i,g={results:[],meta:{}};if(a(i)&&h&&a(h.resultDelimiter)){g=b._parseResults.call(this,h,f,g);}else{g.error=new Error("Text schema parse failure");}return g;},_parseResults:function(g,q,h){var o=g.resultDelimiter,n=a(g.fieldDelimiter)&&g.fieldDelimiter,p=g.resultFields||[],m=[],f=e.DataSchema.Base.parse,r,u,x,w,s,v,t,l,k;if(q.slice(-o.length)===o){q=q.slice(0,-o.length);}r=q.split(g.resultDelimiter);if(n){for(l=r.length-1;l>=0;--l){x={};w=r[l];u=w.split(g.fieldDelimiter);for(k=p.length-1;k>=0;--k){s=p[k];v=(!d(s.key))?s.key:s;t=(!d(u[v]))?u[v]:u[k];x[v]=f.call(this,t,s);}m[l]=x;}}else{m=r;}h.results=m;return h;}};e.DataSchema.Text=e.mix(b,e.DataSchema.Base);},"3.5.1",{requires:["dataschema-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/dataschema-text/dataschema-text.js b/lib/yui/3.5.1/build/dataschema-text/dataschema-text.js similarity index 99% rename from lib/yui/3.5.0/build/dataschema-text/dataschema-text.js rename to lib/yui/3.5.1/build/dataschema-text/dataschema-text.js index 2ea04db5c6d..b7125abb95d 100644 --- a/lib/yui/3.5.0/build/dataschema-text/dataschema-text.js +++ b/lib/yui/3.5.1/build/dataschema-text/dataschema-text.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -185,4 +185,4 @@ var Lang = Y.Lang, Y.DataSchema.Text = Y.mix(SchemaText, Y.DataSchema.Base); -}, '3.5.0' ,{requires:['dataschema-base']}); +}, '3.5.1' ,{requires:['dataschema-base']}); diff --git a/lib/yui/3.5.0/build/dataschema-xml/dataschema-xml-debug.js b/lib/yui/3.5.1/build/dataschema-xml/dataschema-xml-debug.js similarity index 99% rename from lib/yui/3.5.0/build/dataschema-xml/dataschema-xml-debug.js rename to lib/yui/3.5.1/build/dataschema-xml/dataschema-xml-debug.js index 396fadc766d..3454e779bb8 100644 --- a/lib/yui/3.5.0/build/dataschema-xml/dataschema-xml-debug.js +++ b/lib/yui/3.5.1/build/dataschema-xml/dataschema-xml-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -384,4 +384,4 @@ SchemaXML = { Y.DataSchema.XML = Y.mix(SchemaXML, Y.DataSchema.Base); -}, '3.5.0' ,{requires:['dataschema-base']}); +}, '3.5.1' ,{requires:['dataschema-base']}); diff --git a/lib/yui/3.5.0/build/dataschema-xml/dataschema-xml-min.js b/lib/yui/3.5.1/build/dataschema-xml/dataschema-xml-min.js similarity index 97% rename from lib/yui/3.5.0/build/dataschema-xml/dataschema-xml-min.js rename to lib/yui/3.5.1/build/dataschema-xml/dataschema-xml-min.js index 2f93a5d8e97..e8d4bd152f7 100644 --- a/lib/yui/3.5.0/build/dataschema-xml/dataschema-xml-min.js +++ b/lib/yui/3.5.1/build/dataschema-xml/dataschema-xml-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("dataschema-xml",function(d){var b=d.Lang,c={1:true,9:true,11:true},a;a={apply:function(g,h){var e=h,f={results:[],meta:{}};if(e&&c[e.nodeType]&&g){f=a._parseResults(g,e,f);f=a._parseMeta(g.metaFields,e,f);}else{f.error=new Error("XML schema parse failure");}return f;},_getLocationValue:function(m,j){var h=m.locator||m.key||m,g=j.ownerDocument||j,f,i,k=null;try{f=a._getXPathResult(h,j,g);while((i=f.iterateNext())){k=i.textContent||i.value||i.text||i.innerHTML||null;}return d.DataSchema.Base.parse.call(this,k,m);}catch(l){}return null;},_getXPathResult:function(n,g,t){if(!b.isUndefined(t.evaluate)){return t.evaluate(n,g,t.createNSResolver(g.ownerDocument?g.ownerDocument.documentElement:g.documentElement),0,null);}else{var q=[],s=n.split(/\b\/\b/),k=0,j=s.length,p,f,h,r;try{t.setProperty("SelectionLanguage","XPath");q=g.selectNodes(n);}catch(o){for(;k -1)&&(p.indexOf("]")>-1)){f=p.slice(p.indexOf("[")+1,p.indexOf("]"));f--;g=g.children[f];r=true;}else{if(p.indexOf("@")>-1){f=p.substr(p.indexOf("@"));g=f?g.getAttribute(f.replace("@","")):g;}else{if(-1 =this.values.length){return undefined;}var e=this.values[this.index];this.index+=1;return e;},values:q};}},_parseField:function(i,e,h){var g=i.key||i,f;if(i.schema){f={results:[],meta:{}};f=a._parseResults(i.schema,h,f);e[g]=f.results;}else{e[g]=a._getLocationValue(i,h);}},_parseMeta:function(i,h,g){if(b.isObject(i)){var f,e=h.ownerDocument||h;for(f in i){if(i.hasOwnProperty(f)){g.meta[f]=a._getLocationValue(i[f],e);}}}return g;},_parseResult:function(f,h){var e={},g;for(g=f.length-1;0<=g;g--){a._parseField(f[g],e,h);}return e;},_parseResults:function(h,e,j){if(h.resultListLocator&&b.isArray(h.resultFields)){var n=e.ownerDocument||e,m=h.resultFields,l=[],f,g,k=0;if(h.resultListLocator.match(/^[:\-\w]+$/)){g=e.getElementsByTagName(h.resultListLocator);for(k=g.length-1;k>=0;--k){l[k]=a._parseResult(m,g[k]);}}else{g=a._getXPathResult(h.resultListLocator,e,n);while((f=g.iterateNext())){l[k]=a._parseResult(m,f);k+=1;}}if(l.length){j.results=l;}else{j.error=new Error("XML schema result nodes retrieval failure");}}return j;}};d.DataSchema.XML=d.mix(a,d.DataSchema.Base);},"3.5.0",{requires:["dataschema-base"]}); \ No newline at end of file +YUI.add("dataschema-xml",function(d){var b=d.Lang,c={1:true,9:true,11:true},a;a={apply:function(g,h){var e=h,f={results:[],meta:{}};if(e&&c[e.nodeType]&&g){f=a._parseResults(g,e,f);f=a._parseMeta(g.metaFields,e,f);}else{f.error=new Error("XML schema parse failure");}return f;},_getLocationValue:function(m,j){var h=m.locator||m.key||m,g=j.ownerDocument||j,f,i,k=null;try{f=a._getXPathResult(h,j,g);while((i=f.iterateNext())){k=i.textContent||i.value||i.text||i.innerHTML||null;}return d.DataSchema.Base.parse.call(this,k,m);}catch(l){}return null;},_getXPathResult:function(n,g,t){if(!b.isUndefined(t.evaluate)){return t.evaluate(n,g,t.createNSResolver(g.ownerDocument?g.ownerDocument.documentElement:g.documentElement),0,null);}else{var q=[],s=n.split(/\b\/\b/),k=0,j=s.length,p,f,h,r;try{t.setProperty("SelectionLanguage","XPath");q=g.selectNodes(n);}catch(o){for(;k -1)&&(p.indexOf("]")>-1)){f=p.slice(p.indexOf("[")+1,p.indexOf("]"));f--;g=g.children[f];r=true;}else{if(p.indexOf("@")>-1){f=p.substr(p.indexOf("@"));g=f?g.getAttribute(f.replace("@","")):g;}else{if(-1 =this.values.length){return undefined;}var e=this.values[this.index];this.index+=1;return e;},values:q};}},_parseField:function(i,e,h){var g=i.key||i,f;if(i.schema){f={results:[],meta:{}};f=a._parseResults(i.schema,h,f);e[g]=f.results;}else{e[g]=a._getLocationValue(i,h);}},_parseMeta:function(i,h,g){if(b.isObject(i)){var f,e=h.ownerDocument||h;for(f in i){if(i.hasOwnProperty(f)){g.meta[f]=a._getLocationValue(i[f],e);}}}return g;},_parseResult:function(f,h){var e={},g;for(g=f.length-1;0<=g;g--){a._parseField(f[g],e,h);}return e;},_parseResults:function(h,e,j){if(h.resultListLocator&&b.isArray(h.resultFields)){var n=e.ownerDocument||e,m=h.resultFields,l=[],f,g,k=0;if(h.resultListLocator.match(/^[:\-\w]+$/)){g=e.getElementsByTagName(h.resultListLocator);for(k=g.length-1;k>=0;--k){l[k]=a._parseResult(m,g[k]);}}else{g=a._getXPathResult(h.resultListLocator,e,n);while((f=g.iterateNext())){l[k]=a._parseResult(m,f);k+=1;}}if(l.length){j.results=l;}else{j.error=new Error("XML schema result nodes retrieval failure");}}return j;}};d.DataSchema.XML=d.mix(a,d.DataSchema.Base);},"3.5.1",{requires:["dataschema-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/dataschema-xml/dataschema-xml.js b/lib/yui/3.5.1/build/dataschema-xml/dataschema-xml.js similarity index 99% rename from lib/yui/3.5.0/build/dataschema-xml/dataschema-xml.js rename to lib/yui/3.5.1/build/dataschema-xml/dataschema-xml.js index 386c67d9f24..78bf5726efd 100644 --- a/lib/yui/3.5.0/build/dataschema-xml/dataschema-xml.js +++ b/lib/yui/3.5.1/build/dataschema-xml/dataschema-xml.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -382,4 +382,4 @@ SchemaXML = { Y.DataSchema.XML = Y.mix(SchemaXML, Y.DataSchema.Base); -}, '3.5.0' ,{requires:['dataschema-base']}); +}, '3.5.1' ,{requires:['dataschema-base']}); diff --git a/lib/yui/3.5.0/build/datasource-arrayschema/datasource-arrayschema-debug.js b/lib/yui/3.5.1/build/datasource-arrayschema/datasource-arrayschema-debug.js similarity index 97% rename from lib/yui/3.5.0/build/datasource-arrayschema/datasource-arrayschema-debug.js rename to lib/yui/3.5.1/build/datasource-arrayschema/datasource-arrayschema-debug.js index fcf92a5cc1a..193b158de7e 100644 --- a/lib/yui/3.5.0/build/datasource-arrayschema/datasource-arrayschema-debug.js +++ b/lib/yui/3.5.1/build/datasource-arrayschema/datasource-arrayschema-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -109,4 +109,4 @@ Y.extend(DataSourceArraySchema, Y.Plugin.Base, { Y.namespace('Plugin').DataSourceArraySchema = DataSourceArraySchema; -}, '3.5.0' ,{requires:['datasource-local', 'plugin', 'dataschema-array']}); +}, '3.5.1' ,{requires:['datasource-local', 'plugin', 'dataschema-array']}); diff --git a/lib/yui/3.5.0/build/datasource-arrayschema/datasource-arrayschema-min.js b/lib/yui/3.5.1/build/datasource-arrayschema/datasource-arrayschema-min.js similarity index 90% rename from lib/yui/3.5.0/build/datasource-arrayschema/datasource-arrayschema-min.js rename to lib/yui/3.5.1/build/datasource-arrayschema/datasource-arrayschema-min.js index d97340be51b..d6a4320b1c7 100644 --- a/lib/yui/3.5.0/build/datasource-arrayschema/datasource-arrayschema-min.js +++ b/lib/yui/3.5.1/build/datasource-arrayschema/datasource-arrayschema-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("datasource-arrayschema",function(b){var a=function(){a.superclass.constructor.apply(this,arguments);};b.mix(a,{NS:"schema",NAME:"dataSourceArraySchema",ATTRS:{schema:{}}});b.extend(a,b.Plugin.Base,{initializer:function(c){this.doBefore("_defDataFn",this._beforeDefDataFn);},_beforeDefDataFn:function(g){var d=(b.DataSource.IO&&(this.get("host") instanceof b.DataSource.IO)&&b.Lang.isString(g.data.responseText))?g.data.responseText:g.data,c=b.DataSchema.Array.apply.call(this,this.get("schema"),d),f=g.details[0];if(!c){c={meta:{},results:d};}f.response=c;this.get("host").fire("response",f);return new b.Do.Halt("DataSourceArraySchema plugin halted _defDataFn");}});b.namespace("Plugin").DataSourceArraySchema=a;},"3.5.0",{requires:["datasource-local","plugin","dataschema-array"]}); \ No newline at end of file +YUI.add("datasource-arrayschema",function(b){var a=function(){a.superclass.constructor.apply(this,arguments);};b.mix(a,{NS:"schema",NAME:"dataSourceArraySchema",ATTRS:{schema:{}}});b.extend(a,b.Plugin.Base,{initializer:function(c){this.doBefore("_defDataFn",this._beforeDefDataFn);},_beforeDefDataFn:function(g){var d=(b.DataSource.IO&&(this.get("host") instanceof b.DataSource.IO)&&b.Lang.isString(g.data.responseText))?g.data.responseText:g.data,c=b.DataSchema.Array.apply.call(this,this.get("schema"),d),f=g.details[0];if(!c){c={meta:{},results:d};}f.response=c;this.get("host").fire("response",f);return new b.Do.Halt("DataSourceArraySchema plugin halted _defDataFn");}});b.namespace("Plugin").DataSourceArraySchema=a;},"3.5.1",{requires:["datasource-local","plugin","dataschema-array"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/datasource-arrayschema/datasource-arrayschema.js b/lib/yui/3.5.1/build/datasource-arrayschema/datasource-arrayschema.js similarity index 97% rename from lib/yui/3.5.0/build/datasource-arrayschema/datasource-arrayschema.js rename to lib/yui/3.5.1/build/datasource-arrayschema/datasource-arrayschema.js index fcf92a5cc1a..193b158de7e 100644 --- a/lib/yui/3.5.0/build/datasource-arrayschema/datasource-arrayschema.js +++ b/lib/yui/3.5.1/build/datasource-arrayschema/datasource-arrayschema.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -109,4 +109,4 @@ Y.extend(DataSourceArraySchema, Y.Plugin.Base, { Y.namespace('Plugin').DataSourceArraySchema = DataSourceArraySchema; -}, '3.5.0' ,{requires:['datasource-local', 'plugin', 'dataschema-array']}); +}, '3.5.1' ,{requires:['datasource-local', 'plugin', 'dataschema-array']}); diff --git a/lib/yui/3.5.0/build/datasource-cache/datasource-cache-debug.js b/lib/yui/3.5.1/build/datasource-cache/datasource-cache-debug.js similarity index 98% rename from lib/yui/3.5.0/build/datasource-cache/datasource-cache-debug.js rename to lib/yui/3.5.1/build/datasource-cache/datasource-cache-debug.js index 1159f349171..e3c85be5cce 100644 --- a/lib/yui/3.5.0/build/datasource-cache/datasource-cache-debug.js +++ b/lib/yui/3.5.1/build/datasource-cache/datasource-cache-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -169,4 +169,4 @@ Y.mix(DataSourceCache, { Y.namespace("Plugin").DataSourceCache = DataSourceCache; -}, '3.5.0' ,{requires:['datasource-local', 'cache-base', 'plugin']}); +}, '3.5.1' ,{requires:['datasource-local', 'cache-base', 'plugin']}); diff --git a/lib/yui/3.5.0/build/datasource-cache/datasource-cache-min.js b/lib/yui/3.5.1/build/datasource-cache/datasource-cache-min.js similarity index 92% rename from lib/yui/3.5.0/build/datasource-cache/datasource-cache-min.js rename to lib/yui/3.5.1/build/datasource-cache/datasource-cache-min.js index 970e2249795..6cc5e3bd2e0 100644 --- a/lib/yui/3.5.0/build/datasource-cache/datasource-cache-min.js +++ b/lib/yui/3.5.1/build/datasource-cache/datasource-cache-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("datasource-cache",function(c){var b=function(){};c.mix(b,{NS:"cache",NAME:"dataSourceCacheExtension"});b.prototype={initializer:function(d){this.doBefore("_defRequestFn",this._beforeDefRequestFn);this.doBefore("_defResponseFn",this._beforeDefResponseFn);},_beforeDefRequestFn:function(g){var d=(this.retrieve(g.request))||null,f=g.details[0];if(d&&d.response){f.cached=d.cached;f.response=d.response;f.data=d.data;this.get("host").fire("response",f);return new c.Do.Halt("DataSourceCache extension halted _defRequestFn");}},_beforeDefResponseFn:function(d){if(d.response&&!d.cached){this.add(d.request,d.response);}}};c.namespace("Plugin").DataSourceCacheExtension=b;function a(f){var e=f&&f.cache?f.cache:c.Cache,g=c.Base.create("dataSourceCache",e,[c.Plugin.Base,c.Plugin.DataSourceCacheExtension]),d=new g(f);g.NS="tmpClass";return d;}c.mix(a,{NS:"cache",NAME:"dataSourceCache"});c.namespace("Plugin").DataSourceCache=a;},"3.5.0",{requires:["datasource-local","cache-base","plugin"]}); \ No newline at end of file +YUI.add("datasource-cache",function(c){var b=function(){};c.mix(b,{NS:"cache",NAME:"dataSourceCacheExtension"});b.prototype={initializer:function(d){this.doBefore("_defRequestFn",this._beforeDefRequestFn);this.doBefore("_defResponseFn",this._beforeDefResponseFn);},_beforeDefRequestFn:function(g){var d=(this.retrieve(g.request))||null,f=g.details[0];if(d&&d.response){f.cached=d.cached;f.response=d.response;f.data=d.data;this.get("host").fire("response",f);return new c.Do.Halt("DataSourceCache extension halted _defRequestFn");}},_beforeDefResponseFn:function(d){if(d.response&&!d.cached){this.add(d.request,d.response);}}};c.namespace("Plugin").DataSourceCacheExtension=b;function a(f){var e=f&&f.cache?f.cache:c.Cache,g=c.Base.create("dataSourceCache",e,[c.Plugin.Base,c.Plugin.DataSourceCacheExtension]),d=new g(f);g.NS="tmpClass";return d;}c.mix(a,{NS:"cache",NAME:"dataSourceCache"});c.namespace("Plugin").DataSourceCache=a;},"3.5.1",{requires:["datasource-local","cache-base","plugin"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/datasource-cache/datasource-cache.js b/lib/yui/3.5.1/build/datasource-cache/datasource-cache.js similarity index 98% rename from lib/yui/3.5.0/build/datasource-cache/datasource-cache.js rename to lib/yui/3.5.1/build/datasource-cache/datasource-cache.js index 1159f349171..e3c85be5cce 100644 --- a/lib/yui/3.5.0/build/datasource-cache/datasource-cache.js +++ b/lib/yui/3.5.1/build/datasource-cache/datasource-cache.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -169,4 +169,4 @@ Y.mix(DataSourceCache, { Y.namespace("Plugin").DataSourceCache = DataSourceCache; -}, '3.5.0' ,{requires:['datasource-local', 'cache-base', 'plugin']}); +}, '3.5.1' ,{requires:['datasource-local', 'cache-base', 'plugin']}); diff --git a/lib/yui/3.5.0/build/datasource-function/datasource-function-debug.js b/lib/yui/3.5.1/build/datasource-function/datasource-function-debug.js similarity index 97% rename from lib/yui/3.5.0/build/datasource-function/datasource-function-debug.js rename to lib/yui/3.5.1/build/datasource-function/datasource-function-debug.js index 02d364ca7fa..3f38a01879a 100644 --- a/lib/yui/3.5.0/build/datasource-function/datasource-function-debug.js +++ b/lib/yui/3.5.1/build/datasource-function/datasource-function-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -108,4 +108,4 @@ Y.extend(DSFn, Y.DataSource.Local, { Y.DataSource.Function = DSFn; -}, '3.5.0' ,{requires:['datasource-local']}); +}, '3.5.1' ,{requires:['datasource-local']}); diff --git a/lib/yui/3.5.0/build/datasource-function/datasource-function-min.js b/lib/yui/3.5.1/build/datasource-function/datasource-function-min.js similarity index 87% rename from lib/yui/3.5.0/build/datasource-function/datasource-function-min.js rename to lib/yui/3.5.1/build/datasource-function/datasource-function-min.js index 02254ea50e2..db9291ea1ec 100644 --- a/lib/yui/3.5.0/build/datasource-function/datasource-function-min.js +++ b/lib/yui/3.5.1/build/datasource-function/datasource-function-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("datasource-function",function(b){var a=b.Lang,c=function(){c.superclass.constructor.apply(this,arguments);};b.mix(c,{NAME:"dataSourceFunction",ATTRS:{source:{validator:a.isFunction}}});b.extend(c,b.DataSource.Local,{_defRequestFn:function(h){var f=this.get("source"),g=h.details[0];if(f){try{g.data=f(h.request,this,h);}catch(d){g.error=d;}}else{g.error=new Error("Function data failure");}this.fire("data",g);return h.tId;}});b.DataSource.Function=c;},"3.5.0",{requires:["datasource-local"]}); \ No newline at end of file +YUI.add("datasource-function",function(b){var a=b.Lang,c=function(){c.superclass.constructor.apply(this,arguments);};b.mix(c,{NAME:"dataSourceFunction",ATTRS:{source:{validator:a.isFunction}}});b.extend(c,b.DataSource.Local,{_defRequestFn:function(h){var f=this.get("source"),g=h.details[0];if(f){try{g.data=f(h.request,this,h);}catch(d){g.error=d;}}else{g.error=new Error("Function data failure");}this.fire("data",g);return h.tId;}});b.DataSource.Function=c;},"3.5.1",{requires:["datasource-local"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/datasource-function/datasource-function.js b/lib/yui/3.5.1/build/datasource-function/datasource-function.js similarity index 97% rename from lib/yui/3.5.0/build/datasource-function/datasource-function.js rename to lib/yui/3.5.1/build/datasource-function/datasource-function.js index 3ee38da02f0..1ea4655e977 100644 --- a/lib/yui/3.5.0/build/datasource-function/datasource-function.js +++ b/lib/yui/3.5.1/build/datasource-function/datasource-function.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -106,4 +106,4 @@ Y.extend(DSFn, Y.DataSource.Local, { Y.DataSource.Function = DSFn; -}, '3.5.0' ,{requires:['datasource-local']}); +}, '3.5.1' ,{requires:['datasource-local']}); diff --git a/lib/yui/3.5.0/build/datasource-get/datasource-get-debug.js b/lib/yui/3.5.1/build/datasource-get/datasource-get-debug.js similarity index 98% rename from lib/yui/3.5.0/build/datasource-get/datasource-get-debug.js rename to lib/yui/3.5.1/build/datasource-get/datasource-get-debug.js index 5f8f52b9a08..ed6752cd294 100644 --- a/lib/yui/3.5.0/build/datasource-get/datasource-get-debug.js +++ b/lib/yui/3.5.1/build/datasource-get/datasource-get-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -216,4 +216,4 @@ Y.DataSource.Get = Y.extend(DSGet, Y.DataSource.Local, { YUI.namespace("Env.DataSource.callbacks"); -}, '3.5.0' ,{requires:['datasource-local', 'get']}); +}, '3.5.1' ,{requires:['datasource-local', 'get']}); diff --git a/lib/yui/3.5.0/build/datasource-get/datasource-get-min.js b/lib/yui/3.5.1/build/datasource-get/datasource-get-min.js similarity index 95% rename from lib/yui/3.5.0/build/datasource-get/datasource-get-min.js rename to lib/yui/3.5.1/build/datasource-get/datasource-get-min.js index 26a8370b804..6b05435cb27 100644 --- a/lib/yui/3.5.0/build/datasource-get/datasource-get-min.js +++ b/lib/yui/3.5.1/build/datasource-get/datasource-get-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("datasource-get",function(b){var a=function(){a.superclass.constructor.apply(this,arguments);};b.DataSource.Get=b.extend(a,b.DataSource.Local,{_defRequestFn:function(j){var h=this.get("source"),f=this.get("get"),d=b.guid().replace(/\-/g,"_"),g=this.get("generateRequestCallback"),i=j.details[0],c=this;this._last=d;YUI.Env.DataSource.callbacks[d]=function(e){delete YUI.Env.DataSource.callbacks[d];delete b.DataSource.Local.transactions[j.tId];var k=c.get("asyncMode")!=="ignoreStaleResponses"||c._last===d;if(k){i.data=e;c.fire("data",i);}else{}};h+=j.request+g.call(this,d);b.DataSource.Local.transactions[j.tId]=f.script(h,{autopurge:true,onFailure:function(e){delete YUI.Env.DataSource.callbacks[d];delete b.DataSource.Local.transactions[j.tId];i.error=new Error(e.msg||"Script node data failure");c.fire("data",i);},onTimeout:function(e){delete YUI.Env.DataSource.callbacks[d];delete b.DataSource.Local.transactions[j.tId];i.error=new Error(e.msg||"Script node data timeout");c.fire("data",i);}});return j.tId;},_generateRequest:function(c){return"&"+this.get("scriptCallbackParam")+"=YUI.Env.DataSource.callbacks."+c;}},{NAME:"dataSourceGet",ATTRS:{get:{value:b.Get,cloneDefaultValue:false},asyncMode:{value:"allowAll"},scriptCallbackParam:{value:"callback"},generateRequestCallback:{value:function(){return this._generateRequest.apply(this,arguments);}}}});YUI.namespace("Env.DataSource.callbacks");},"3.5.0",{requires:["datasource-local","get"]}); \ No newline at end of file +YUI.add("datasource-get",function(b){var a=function(){a.superclass.constructor.apply(this,arguments);};b.DataSource.Get=b.extend(a,b.DataSource.Local,{_defRequestFn:function(j){var h=this.get("source"),f=this.get("get"),d=b.guid().replace(/\-/g,"_"),g=this.get("generateRequestCallback"),i=j.details[0],c=this;this._last=d;YUI.Env.DataSource.callbacks[d]=function(e){delete YUI.Env.DataSource.callbacks[d];delete b.DataSource.Local.transactions[j.tId];var k=c.get("asyncMode")!=="ignoreStaleResponses"||c._last===d;if(k){i.data=e;c.fire("data",i);}else{}};h+=j.request+g.call(this,d);b.DataSource.Local.transactions[j.tId]=f.script(h,{autopurge:true,onFailure:function(e){delete YUI.Env.DataSource.callbacks[d];delete b.DataSource.Local.transactions[j.tId];i.error=new Error(e.msg||"Script node data failure");c.fire("data",i);},onTimeout:function(e){delete YUI.Env.DataSource.callbacks[d];delete b.DataSource.Local.transactions[j.tId];i.error=new Error(e.msg||"Script node data timeout");c.fire("data",i);}});return j.tId;},_generateRequest:function(c){return"&"+this.get("scriptCallbackParam")+"=YUI.Env.DataSource.callbacks."+c;}},{NAME:"dataSourceGet",ATTRS:{get:{value:b.Get,cloneDefaultValue:false},asyncMode:{value:"allowAll"},scriptCallbackParam:{value:"callback"},generateRequestCallback:{value:function(){return this._generateRequest.apply(this,arguments);}}}});YUI.namespace("Env.DataSource.callbacks");},"3.5.1",{requires:["datasource-local","get"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/datasource-get/datasource-get.js b/lib/yui/3.5.1/build/datasource-get/datasource-get.js similarity index 98% rename from lib/yui/3.5.0/build/datasource-get/datasource-get.js rename to lib/yui/3.5.1/build/datasource-get/datasource-get.js index 720336b79da..dd234d68297 100644 --- a/lib/yui/3.5.0/build/datasource-get/datasource-get.js +++ b/lib/yui/3.5.1/build/datasource-get/datasource-get.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -212,4 +212,4 @@ Y.DataSource.Get = Y.extend(DSGet, Y.DataSource.Local, { YUI.namespace("Env.DataSource.callbacks"); -}, '3.5.0' ,{requires:['datasource-local', 'get']}); +}, '3.5.1' ,{requires:['datasource-local', 'get']}); diff --git a/lib/yui/3.5.0/build/datasource-io/datasource-io-debug.js b/lib/yui/3.5.1/build/datasource-io/datasource-io-debug.js similarity index 98% rename from lib/yui/3.5.0/build/datasource-io/datasource-io-debug.js rename to lib/yui/3.5.1/build/datasource-io/datasource-io-debug.js index 48f3b2b7bd1..63b5aa31ff5 100644 --- a/lib/yui/3.5.0/build/datasource-io/datasource-io-debug.js +++ b/lib/yui/3.5.1/build/datasource-io/datasource-io-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -207,4 +207,4 @@ Y.extend(DSIO, Y.DataSource.Local, { Y.DataSource.IO = DSIO; -}, '3.5.0' ,{requires:['datasource-local', 'io-base']}); +}, '3.5.1' ,{requires:['datasource-local', 'io-base']}); diff --git a/lib/yui/3.5.0/build/datasource-io/datasource-io-min.js b/lib/yui/3.5.1/build/datasource-io/datasource-io-min.js similarity index 94% rename from lib/yui/3.5.0/build/datasource-io/datasource-io-min.js rename to lib/yui/3.5.1/build/datasource-io/datasource-io-min.js index a996d73026a..dabff405f35 100644 --- a/lib/yui/3.5.0/build/datasource-io/datasource-io-min.js +++ b/lib/yui/3.5.1/build/datasource-io/datasource-io-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("datasource-io",function(b){var a=function(){a.superclass.constructor.apply(this,arguments);};b.mix(a,{NAME:"dataSourceIO",ATTRS:{io:{value:b.io,cloneDefaultValue:false},ioConfig:{value:null}}});b.extend(a,b.DataSource.Local,{initializer:function(c){this._queue={interval:null,conn:null,requests:[]};},successHandler:function(h,c,g){var d=this.get("ioConfig"),f=g.details[0];delete b.DataSource.Local.transactions[g.tId];f.data=c;this.fire("data",f);if(d&&d.on&&d.on.success){d.on.success.apply(d.context||b,arguments);}},failureHandler:function(h,c,g){var d=this.get("ioConfig"),f=g.details[0];delete b.DataSource.Local.transactions[g.tId];f.error=new Error("IO data failure");f.data=c;this.fire("data",f);if(d&&d.on&&d.on.failure){d.on.failure.apply(d.context||b,arguments);}},_queue:null,_defRequestFn:function(h){var g=this.get("source"),i=this.get("io"),d=this.get("ioConfig"),f=h.request,c=b.merge(d,h.cfg,{on:b.merge(d,{success:this.successHandler,failure:this.failureHandler}),context:this,"arguments":h});if(b.Lang.isString(f)){if(c.method&&(c.method.toUpperCase()==="POST")){c.data=c.data?c.data+f:f;}else{g+=f;}}b.DataSource.Local.transactions[h.tId]=i(g,c);return h.tId;}});b.DataSource.IO=a;},"3.5.0",{requires:["datasource-local","io-base"]}); \ No newline at end of file +YUI.add("datasource-io",function(b){var a=function(){a.superclass.constructor.apply(this,arguments);};b.mix(a,{NAME:"dataSourceIO",ATTRS:{io:{value:b.io,cloneDefaultValue:false},ioConfig:{value:null}}});b.extend(a,b.DataSource.Local,{initializer:function(c){this._queue={interval:null,conn:null,requests:[]};},successHandler:function(h,c,g){var d=this.get("ioConfig"),f=g.details[0];delete b.DataSource.Local.transactions[g.tId];f.data=c;this.fire("data",f);if(d&&d.on&&d.on.success){d.on.success.apply(d.context||b,arguments);}},failureHandler:function(h,c,g){var d=this.get("ioConfig"),f=g.details[0];delete b.DataSource.Local.transactions[g.tId];f.error=new Error("IO data failure");f.data=c;this.fire("data",f);if(d&&d.on&&d.on.failure){d.on.failure.apply(d.context||b,arguments);}},_queue:null,_defRequestFn:function(h){var g=this.get("source"),i=this.get("io"),d=this.get("ioConfig"),f=h.request,c=b.merge(d,h.cfg,{on:b.merge(d,{success:this.successHandler,failure:this.failureHandler}),context:this,"arguments":h});if(b.Lang.isString(f)){if(c.method&&(c.method.toUpperCase()==="POST")){c.data=c.data?c.data+f:f;}else{g+=f;}}b.DataSource.Local.transactions[h.tId]=i(g,c);return h.tId;}});b.DataSource.IO=a;},"3.5.1",{requires:["datasource-local","io-base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/datasource-io/datasource-io.js b/lib/yui/3.5.1/build/datasource-io/datasource-io.js similarity index 98% rename from lib/yui/3.5.0/build/datasource-io/datasource-io.js rename to lib/yui/3.5.1/build/datasource-io/datasource-io.js index b04df8bb902..0464626cd0c 100644 --- a/lib/yui/3.5.0/build/datasource-io/datasource-io.js +++ b/lib/yui/3.5.1/build/datasource-io/datasource-io.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -204,4 +204,4 @@ Y.extend(DSIO, Y.DataSource.Local, { Y.DataSource.IO = DSIO; -}, '3.5.0' ,{requires:['datasource-local', 'io-base']}); +}, '3.5.1' ,{requires:['datasource-local', 'io-base']}); diff --git a/lib/yui/3.5.0/build/datasource-jsonschema/datasource-jsonschema-debug.js b/lib/yui/3.5.1/build/datasource-jsonschema/datasource-jsonschema-debug.js similarity index 96% rename from lib/yui/3.5.0/build/datasource-jsonschema/datasource-jsonschema-debug.js rename to lib/yui/3.5.1/build/datasource-jsonschema/datasource-jsonschema-debug.js index ac218f0fea9..692bc25080f 100644 --- a/lib/yui/3.5.0/build/datasource-jsonschema/datasource-jsonschema-debug.js +++ b/lib/yui/3.5.1/build/datasource-jsonschema/datasource-jsonschema-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -106,4 +106,4 @@ Y.extend(DataSourceJSONSchema, Y.Plugin.Base, { Y.namespace('Plugin').DataSourceJSONSchema = DataSourceJSONSchema; -}, '3.5.0' ,{requires:['datasource-local', 'plugin', 'dataschema-json']}); +}, '3.5.1' ,{requires:['datasource-local', 'plugin', 'dataschema-json']}); diff --git a/lib/yui/3.5.0/build/datasource-jsonschema/datasource-jsonschema-min.js b/lib/yui/3.5.1/build/datasource-jsonschema/datasource-jsonschema-min.js similarity index 89% rename from lib/yui/3.5.0/build/datasource-jsonschema/datasource-jsonschema-min.js rename to lib/yui/3.5.1/build/datasource-jsonschema/datasource-jsonschema-min.js index ff6d59c3df8..a3752d9a159 100644 --- a/lib/yui/3.5.0/build/datasource-jsonschema/datasource-jsonschema-min.js +++ b/lib/yui/3.5.1/build/datasource-jsonschema/datasource-jsonschema-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("datasource-jsonschema",function(b){var a=function(){a.superclass.constructor.apply(this,arguments);};b.mix(a,{NS:"schema",NAME:"dataSourceJSONSchema",ATTRS:{schema:{}}});b.extend(a,b.Plugin.Base,{initializer:function(c){this.doBefore("_defDataFn",this._beforeDefDataFn);},_beforeDefDataFn:function(g){var d=g.data&&(g.data.responseText||g.data),c=this.get("schema"),f=g.details[0];f.response=b.DataSchema.JSON.apply.call(this,c,d)||{meta:{},results:d};this.get("host").fire("response",f);return new b.Do.Halt("DataSourceJSONSchema plugin halted _defDataFn");}});b.namespace("Plugin").DataSourceJSONSchema=a;},"3.5.0",{requires:["datasource-local","plugin","dataschema-json"]}); \ No newline at end of file +YUI.add("datasource-jsonschema",function(b){var a=function(){a.superclass.constructor.apply(this,arguments);};b.mix(a,{NS:"schema",NAME:"dataSourceJSONSchema",ATTRS:{schema:{}}});b.extend(a,b.Plugin.Base,{initializer:function(c){this.doBefore("_defDataFn",this._beforeDefDataFn);},_beforeDefDataFn:function(g){var d=g.data&&(g.data.responseText||g.data),c=this.get("schema"),f=g.details[0];f.response=b.DataSchema.JSON.apply.call(this,c,d)||{meta:{},results:d};this.get("host").fire("response",f);return new b.Do.Halt("DataSourceJSONSchema plugin halted _defDataFn");}});b.namespace("Plugin").DataSourceJSONSchema=a;},"3.5.1",{requires:["datasource-local","plugin","dataschema-json"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/datasource-jsonschema/datasource-jsonschema.js b/lib/yui/3.5.1/build/datasource-jsonschema/datasource-jsonschema.js similarity index 96% rename from lib/yui/3.5.0/build/datasource-jsonschema/datasource-jsonschema.js rename to lib/yui/3.5.1/build/datasource-jsonschema/datasource-jsonschema.js index ac218f0fea9..692bc25080f 100644 --- a/lib/yui/3.5.0/build/datasource-jsonschema/datasource-jsonschema.js +++ b/lib/yui/3.5.1/build/datasource-jsonschema/datasource-jsonschema.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -106,4 +106,4 @@ Y.extend(DataSourceJSONSchema, Y.Plugin.Base, { Y.namespace('Plugin').DataSourceJSONSchema = DataSourceJSONSchema; -}, '3.5.0' ,{requires:['datasource-local', 'plugin', 'dataschema-json']}); +}, '3.5.1' ,{requires:['datasource-local', 'plugin', 'dataschema-json']}); diff --git a/lib/yui/3.5.0/build/datasource-local/datasource-local-debug.js b/lib/yui/3.5.1/build/datasource-local/datasource-local-debug.js similarity index 99% rename from lib/yui/3.5.0/build/datasource-local/datasource-local-debug.js rename to lib/yui/3.5.1/build/datasource-local/datasource-local-debug.js index a2f44694dfd..635b1f78bd1 100644 --- a/lib/yui/3.5.0/build/datasource-local/datasource-local-debug.js +++ b/lib/yui/3.5.1/build/datasource-local/datasource-local-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -405,4 +405,4 @@ Y.extend(DSLocal, Y.Base, { Y.namespace("DataSource").Local = DSLocal; -}, '3.5.0' ,{requires:['base']}); +}, '3.5.1' ,{requires:['base']}); diff --git a/lib/yui/3.5.0/build/datasource-local/datasource-local-min.js b/lib/yui/3.5.1/build/datasource-local/datasource-local-min.js similarity index 93% rename from lib/yui/3.5.0/build/datasource-local/datasource-local-min.js rename to lib/yui/3.5.1/build/datasource-local/datasource-local-min.js index c6f566b6962..9d2b3466f91 100644 --- a/lib/yui/3.5.0/build/datasource-local/datasource-local-min.js +++ b/lib/yui/3.5.1/build/datasource-local/datasource-local-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("datasource-local",function(c){var b=c.Lang,a=function(){a.superclass.constructor.apply(this,arguments);};c.mix(a,{NAME:"dataSourceLocal",ATTRS:{source:{value:null}},_tId:0,transactions:{},issueCallback:function(h,d){var f=h.on||h.callback,i=f&&f.success,g=h.details[0];g.error=(h.error||h.response.error);if(g.error){d.fire("error",g);i=f&&f.failure;}if(i){i(g);}}});c.extend(a,c.Base,{initializer:function(d){this._initEvents();},_initEvents:function(){this.publish("request",{defaultFn:c.bind("_defRequestFn",this),queuable:true});this.publish("data",{defaultFn:c.bind("_defDataFn",this),queuable:true});this.publish("response",{defaultFn:c.bind("_defResponseFn",this),queuable:true});},_defRequestFn:function(g){var d=this.get("source"),f=g.details[0];if(b.isUndefined(d)){f.error=new Error("Local source undefined");}f.data=d;this.fire("data",f);},_defDataFn:function(i){var f=i.data,h=i.meta,d={results:(b.isArray(f))?f:[f],meta:(h)?h:{}},g=i.details[0];g.response=d;this.fire("response",g);},_defResponseFn:function(d){a.issueCallback(d,this);},sendRequest:function(e){var f=a._tId++,d;e=e||{};d=e.on||e.callback;this.fire("request",{tId:f,request:e.request,on:d,callback:d,cfg:e.cfg||{}});return f;}});c.namespace("DataSource").Local=a;},"3.5.0",{requires:["base"]}); \ No newline at end of file +YUI.add("datasource-local",function(c){var b=c.Lang,a=function(){a.superclass.constructor.apply(this,arguments);};c.mix(a,{NAME:"dataSourceLocal",ATTRS:{source:{value:null}},_tId:0,transactions:{},issueCallback:function(h,d){var f=h.on||h.callback,i=f&&f.success,g=h.details[0];g.error=(h.error||h.response.error);if(g.error){d.fire("error",g);i=f&&f.failure;}if(i){i(g);}}});c.extend(a,c.Base,{initializer:function(d){this._initEvents();},_initEvents:function(){this.publish("request",{defaultFn:c.bind("_defRequestFn",this),queuable:true});this.publish("data",{defaultFn:c.bind("_defDataFn",this),queuable:true});this.publish("response",{defaultFn:c.bind("_defResponseFn",this),queuable:true});},_defRequestFn:function(g){var d=this.get("source"),f=g.details[0];if(b.isUndefined(d)){f.error=new Error("Local source undefined");}f.data=d;this.fire("data",f);},_defDataFn:function(i){var f=i.data,h=i.meta,d={results:(b.isArray(f))?f:[f],meta:(h)?h:{}},g=i.details[0];g.response=d;this.fire("response",g);},_defResponseFn:function(d){a.issueCallback(d,this);},sendRequest:function(e){var f=a._tId++,d;e=e||{};d=e.on||e.callback;this.fire("request",{tId:f,request:e.request,on:d,callback:d,cfg:e.cfg||{}});return f;}});c.namespace("DataSource").Local=a;},"3.5.1",{requires:["base"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/datasource-local/datasource-local.js b/lib/yui/3.5.1/build/datasource-local/datasource-local.js similarity index 99% rename from lib/yui/3.5.0/build/datasource-local/datasource-local.js rename to lib/yui/3.5.1/build/datasource-local/datasource-local.js index 41cbb8b6966..14659eb6c8d 100644 --- a/lib/yui/3.5.0/build/datasource-local/datasource-local.js +++ b/lib/yui/3.5.1/build/datasource-local/datasource-local.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -401,4 +401,4 @@ Y.extend(DSLocal, Y.Base, { Y.namespace("DataSource").Local = DSLocal; -}, '3.5.0' ,{requires:['base']}); +}, '3.5.1' ,{requires:['base']}); diff --git a/lib/yui/3.5.0/build/datasource-polling/datasource-polling-debug.js b/lib/yui/3.5.1/build/datasource-polling/datasource-polling-debug.js similarity index 97% rename from lib/yui/3.5.0/build/datasource-polling/datasource-polling-debug.js rename to lib/yui/3.5.1/build/datasource-polling/datasource-polling-debug.js index b6018294c65..841c563a4f7 100644 --- a/lib/yui/3.5.0/build/datasource-polling/datasource-polling-debug.js +++ b/lib/yui/3.5.1/build/datasource-polling/datasource-polling-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -96,4 +96,4 @@ Pollable.prototype = { Y.augment(Y.DataSource.Local, Pollable); -}, '3.5.0' ,{requires:['datasource-local']}); +}, '3.5.1' ,{requires:['datasource-local']}); diff --git a/lib/yui/3.5.0/build/datasource-polling/datasource-polling-min.js b/lib/yui/3.5.1/build/datasource-polling/datasource-polling-min.js similarity index 86% rename from lib/yui/3.5.0/build/datasource-polling/datasource-polling-min.js rename to lib/yui/3.5.1/build/datasource-polling/datasource-polling-min.js index 8daaf6d81b1..f67ce2c6f36 100644 --- a/lib/yui/3.5.0/build/datasource-polling/datasource-polling-min.js +++ b/lib/yui/3.5.1/build/datasource-polling/datasource-polling-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("datasource-polling",function(b){function a(){this._intervals={};}a.prototype={_intervals:null,setInterval:function(e,d){var c=b.later(e,this,this.sendRequest,[d],true);this._intervals[c.id]=c;b.later(0,this,this.sendRequest,[d]);return c.id;},clearInterval:function(d,c){d=c||d;if(this._intervals[d]){this._intervals[d].cancel();delete this._intervals[d];}},clearAllIntervals:function(){b.each(this._intervals,this.clearInterval,this);}};b.augment(b.DataSource.Local,a);},"3.5.0",{requires:["datasource-local"]}); \ No newline at end of file +YUI.add("datasource-polling",function(b){function a(){this._intervals={};}a.prototype={_intervals:null,setInterval:function(e,d){var c=b.later(e,this,this.sendRequest,[d],true);this._intervals[c.id]=c;b.later(0,this,this.sendRequest,[d]);return c.id;},clearInterval:function(d,c){d=c||d;if(this._intervals[d]){this._intervals[d].cancel();delete this._intervals[d];}},clearAllIntervals:function(){b.each(this._intervals,this.clearInterval,this);}};b.augment(b.DataSource.Local,a);},"3.5.1",{requires:["datasource-local"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/datasource-polling/datasource-polling.js b/lib/yui/3.5.1/build/datasource-polling/datasource-polling.js similarity index 97% rename from lib/yui/3.5.0/build/datasource-polling/datasource-polling.js rename to lib/yui/3.5.1/build/datasource-polling/datasource-polling.js index b6018294c65..841c563a4f7 100644 --- a/lib/yui/3.5.0/build/datasource-polling/datasource-polling.js +++ b/lib/yui/3.5.1/build/datasource-polling/datasource-polling.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -96,4 +96,4 @@ Pollable.prototype = { Y.augment(Y.DataSource.Local, Pollable); -}, '3.5.0' ,{requires:['datasource-local']}); +}, '3.5.1' ,{requires:['datasource-local']}); diff --git a/lib/yui/3.5.0/build/datasource-textschema/datasource-textschema-debug.js b/lib/yui/3.5.1/build/datasource-textschema/datasource-textschema-debug.js similarity index 96% rename from lib/yui/3.5.0/build/datasource-textschema/datasource-textschema-debug.js rename to lib/yui/3.5.1/build/datasource-textschema/datasource-textschema-debug.js index e38a0a697e7..d2e16754aaf 100644 --- a/lib/yui/3.5.0/build/datasource-textschema/datasource-textschema-debug.js +++ b/lib/yui/3.5.1/build/datasource-textschema/datasource-textschema-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -105,4 +105,4 @@ Y.extend(DataSourceTextSchema, Y.Plugin.Base, { Y.namespace('Plugin').DataSourceTextSchema = DataSourceTextSchema; -}, '3.5.0' ,{requires:['datasource-local', 'plugin', 'dataschema-text']}); +}, '3.5.1' ,{requires:['datasource-local', 'plugin', 'dataschema-text']}); diff --git a/lib/yui/3.5.0/build/datasource-textschema/datasource-textschema-min.js b/lib/yui/3.5.1/build/datasource-textschema/datasource-textschema-min.js similarity index 89% rename from lib/yui/3.5.0/build/datasource-textschema/datasource-textschema-min.js rename to lib/yui/3.5.1/build/datasource-textschema/datasource-textschema-min.js index 4c18994fcf8..18ef2b38e19 100644 --- a/lib/yui/3.5.0/build/datasource-textschema/datasource-textschema-min.js +++ b/lib/yui/3.5.1/build/datasource-textschema/datasource-textschema-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("datasource-textschema",function(b){var a=function(){a.superclass.constructor.apply(this,arguments);};b.mix(a,{NS:"schema",NAME:"dataSourceTextSchema",ATTRS:{schema:{}}});b.extend(a,b.Plugin.Base,{initializer:function(c){this.doBefore("_defDataFn",this._beforeDefDataFn);},_beforeDefDataFn:function(g){var c=this.get("schema"),f=g.details[0],d=g.data.responseText||g.data;f.response=b.DataSchema.Text.apply.call(this,c,d)||{meta:{},results:d};this.get("host").fire("response",f);return new b.Do.Halt("DataSourceTextSchema plugin halted _defDataFn");}});b.namespace("Plugin").DataSourceTextSchema=a;},"3.5.0",{requires:["datasource-local","plugin","dataschema-text"]}); \ No newline at end of file +YUI.add("datasource-textschema",function(b){var a=function(){a.superclass.constructor.apply(this,arguments);};b.mix(a,{NS:"schema",NAME:"dataSourceTextSchema",ATTRS:{schema:{}}});b.extend(a,b.Plugin.Base,{initializer:function(c){this.doBefore("_defDataFn",this._beforeDefDataFn);},_beforeDefDataFn:function(g){var c=this.get("schema"),f=g.details[0],d=g.data.responseText||g.data;f.response=b.DataSchema.Text.apply.call(this,c,d)||{meta:{},results:d};this.get("host").fire("response",f);return new b.Do.Halt("DataSourceTextSchema plugin halted _defDataFn");}});b.namespace("Plugin").DataSourceTextSchema=a;},"3.5.1",{requires:["datasource-local","plugin","dataschema-text"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/datasource-textschema/datasource-textschema.js b/lib/yui/3.5.1/build/datasource-textschema/datasource-textschema.js similarity index 96% rename from lib/yui/3.5.0/build/datasource-textschema/datasource-textschema.js rename to lib/yui/3.5.1/build/datasource-textschema/datasource-textschema.js index e38a0a697e7..d2e16754aaf 100644 --- a/lib/yui/3.5.0/build/datasource-textschema/datasource-textschema.js +++ b/lib/yui/3.5.1/build/datasource-textschema/datasource-textschema.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -105,4 +105,4 @@ Y.extend(DataSourceTextSchema, Y.Plugin.Base, { Y.namespace('Plugin').DataSourceTextSchema = DataSourceTextSchema; -}, '3.5.0' ,{requires:['datasource-local', 'plugin', 'dataschema-text']}); +}, '3.5.1' ,{requires:['datasource-local', 'plugin', 'dataschema-text']}); diff --git a/lib/yui/3.5.0/build/datasource-xmlschema/datasource-xmlschema-debug.js b/lib/yui/3.5.1/build/datasource-xmlschema/datasource-xmlschema-debug.js similarity index 96% rename from lib/yui/3.5.0/build/datasource-xmlschema/datasource-xmlschema-debug.js rename to lib/yui/3.5.1/build/datasource-xmlschema/datasource-xmlschema-debug.js index 3f9b1ef2edd..af895639ad2 100644 --- a/lib/yui/3.5.0/build/datasource-xmlschema/datasource-xmlschema-debug.js +++ b/lib/yui/3.5.1/build/datasource-xmlschema/datasource-xmlschema-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -105,4 +105,4 @@ Y.extend(DataSourceXMLSchema, Y.Plugin.Base, { Y.namespace('Plugin').DataSourceXMLSchema = DataSourceXMLSchema; -}, '3.5.0' ,{requires:['datasource-local', 'plugin', 'dataschema-xml']}); +}, '3.5.1' ,{requires:['datasource-local', 'plugin', 'dataschema-xml']}); diff --git a/lib/yui/3.5.0/build/datasource-xmlschema/datasource-xmlschema-min.js b/lib/yui/3.5.1/build/datasource-xmlschema/datasource-xmlschema-min.js similarity index 89% rename from lib/yui/3.5.0/build/datasource-xmlschema/datasource-xmlschema-min.js rename to lib/yui/3.5.1/build/datasource-xmlschema/datasource-xmlschema-min.js index faaf91ab24e..f5eb46dd1d4 100644 --- a/lib/yui/3.5.0/build/datasource-xmlschema/datasource-xmlschema-min.js +++ b/lib/yui/3.5.1/build/datasource-xmlschema/datasource-xmlschema-min.js @@ -1,7 +1,7 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ -YUI.add("datasource-xmlschema",function(b){var a=function(){a.superclass.constructor.apply(this,arguments);};b.mix(a,{NS:"schema",NAME:"dataSourceXMLSchema",ATTRS:{schema:{}}});b.extend(a,b.Plugin.Base,{initializer:function(c){this.doBefore("_defDataFn",this._beforeDefDataFn);},_beforeDefDataFn:function(g){var c=this.get("schema"),f=g.details[0],d=g.data.responseXML||g.data;f.response=b.DataSchema.XML.apply.call(this,c,d)||{meta:{},results:d};this.get("host").fire("response",f);return new b.Do.Halt("DataSourceXMLSchema plugin halted _defDataFn");}});b.namespace("Plugin").DataSourceXMLSchema=a;},"3.5.0",{requires:["datasource-local","plugin","dataschema-xml"]}); \ No newline at end of file +YUI.add("datasource-xmlschema",function(b){var a=function(){a.superclass.constructor.apply(this,arguments);};b.mix(a,{NS:"schema",NAME:"dataSourceXMLSchema",ATTRS:{schema:{}}});b.extend(a,b.Plugin.Base,{initializer:function(c){this.doBefore("_defDataFn",this._beforeDefDataFn);},_beforeDefDataFn:function(g){var c=this.get("schema"),f=g.details[0],d=g.data.responseXML||g.data;f.response=b.DataSchema.XML.apply.call(this,c,d)||{meta:{},results:d};this.get("host").fire("response",f);return new b.Do.Halt("DataSourceXMLSchema plugin halted _defDataFn");}});b.namespace("Plugin").DataSourceXMLSchema=a;},"3.5.1",{requires:["datasource-local","plugin","dataschema-xml"]}); \ No newline at end of file diff --git a/lib/yui/3.5.0/build/datasource-xmlschema/datasource-xmlschema.js b/lib/yui/3.5.1/build/datasource-xmlschema/datasource-xmlschema.js similarity index 96% rename from lib/yui/3.5.0/build/datasource-xmlschema/datasource-xmlschema.js rename to lib/yui/3.5.1/build/datasource-xmlschema/datasource-xmlschema.js index 3f9b1ef2edd..af895639ad2 100644 --- a/lib/yui/3.5.0/build/datasource-xmlschema/datasource-xmlschema.js +++ b/lib/yui/3.5.1/build/datasource-xmlschema/datasource-xmlschema.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -105,4 +105,4 @@ Y.extend(DataSourceXMLSchema, Y.Plugin.Base, { Y.namespace('Plugin').DataSourceXMLSchema = DataSourceXMLSchema; -}, '3.5.0' ,{requires:['datasource-local', 'plugin', 'dataschema-xml']}); +}, '3.5.1' ,{requires:['datasource-local', 'plugin', 'dataschema-xml']}); diff --git a/lib/yui/3.5.0/build/datatable-base-deprecated/assets/datatable-base-deprecated-core.css b/lib/yui/3.5.1/build/datatable-base-deprecated/assets/datatable-base-deprecated-core.css similarity index 98% rename from lib/yui/3.5.0/build/datatable-base-deprecated/assets/datatable-base-deprecated-core.css rename to lib/yui/3.5.1/build/datatable-base-deprecated/assets/datatable-base-deprecated-core.css index d4cf6509b36..6079813c336 100644 --- a/lib/yui/3.5.0/build/datatable-base-deprecated/assets/datatable-base-deprecated-core.css +++ b/lib/yui/3.5.1/build/datatable-base-deprecated/assets/datatable-base-deprecated-core.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/datatable-base-deprecated/assets/skins/night/datatable-base-deprecated-skin.css b/lib/yui/3.5.1/build/datatable-base-deprecated/assets/skins/night/datatable-base-deprecated-skin.css similarity index 99% rename from lib/yui/3.5.0/build/datatable-base-deprecated/assets/skins/night/datatable-base-deprecated-skin.css rename to lib/yui/3.5.1/build/datatable-base-deprecated/assets/skins/night/datatable-base-deprecated-skin.css index 69da4a908c5..34b0fb6f932 100644 --- a/lib/yui/3.5.0/build/datatable-base-deprecated/assets/skins/night/datatable-base-deprecated-skin.css +++ b/lib/yui/3.5.1/build/datatable-base-deprecated/assets/skins/night/datatable-base-deprecated-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/datatable-base-deprecated/assets/skins/night/datatable-base-deprecated.css b/lib/yui/3.5.1/build/datatable-base-deprecated/assets/skins/night/datatable-base-deprecated.css similarity index 99% rename from lib/yui/3.5.0/build/datatable-base-deprecated/assets/skins/night/datatable-base-deprecated.css rename to lib/yui/3.5.1/build/datatable-base-deprecated/assets/skins/night/datatable-base-deprecated.css index 5e081c69537..bca853ae3be 100644 --- a/lib/yui/3.5.0/build/datatable-base-deprecated/assets/skins/night/datatable-base-deprecated.css +++ b/lib/yui/3.5.1/build/datatable-base-deprecated/assets/skins/night/datatable-base-deprecated.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/datatable-base-deprecated/assets/skins/sam/datatable-base-deprecated-skin.css b/lib/yui/3.5.1/build/datatable-base-deprecated/assets/skins/sam/datatable-base-deprecated-skin.css similarity index 99% rename from lib/yui/3.5.0/build/datatable-base-deprecated/assets/skins/sam/datatable-base-deprecated-skin.css rename to lib/yui/3.5.1/build/datatable-base-deprecated/assets/skins/sam/datatable-base-deprecated-skin.css index 166b52ccf57..c5999124371 100644 --- a/lib/yui/3.5.0/build/datatable-base-deprecated/assets/skins/sam/datatable-base-deprecated-skin.css +++ b/lib/yui/3.5.1/build/datatable-base-deprecated/assets/skins/sam/datatable-base-deprecated-skin.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/datatable-base-deprecated/assets/skins/sam/datatable-base-deprecated.css b/lib/yui/3.5.1/build/datatable-base-deprecated/assets/skins/sam/datatable-base-deprecated.css similarity index 99% rename from lib/yui/3.5.0/build/datatable-base-deprecated/assets/skins/sam/datatable-base-deprecated.css rename to lib/yui/3.5.1/build/datatable-base-deprecated/assets/skins/sam/datatable-base-deprecated.css index 3c9f17526b0..ef8d13ac710 100644 --- a/lib/yui/3.5.0/build/datatable-base-deprecated/assets/skins/sam/datatable-base-deprecated.css +++ b/lib/yui/3.5.1/build/datatable-base-deprecated/assets/skins/sam/datatable-base-deprecated.css @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ diff --git a/lib/yui/3.5.0/build/datatable-base-deprecated/datatable-base-deprecated-debug.js b/lib/yui/3.5.1/build/datatable-base-deprecated/datatable-base-deprecated-debug.js similarity index 99% rename from lib/yui/3.5.0/build/datatable-base-deprecated/datatable-base-deprecated-debug.js rename to lib/yui/3.5.1/build/datatable-base-deprecated/datatable-base-deprecated-debug.js index 2edcc2eec12..148913ed4ba 100644 --- a/lib/yui/3.5.0/build/datatable-base-deprecated/datatable-base-deprecated-debug.js +++ b/lib/yui/3.5.1/build/datatable-base-deprecated/datatable-base-deprecated-debug.js @@ -1,5 +1,5 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ @@ -1706,4 +1706,4 @@ Y.extend(DTBase, Y.Widget, { Y.namespace("DataTable").Base = DTBase; -}, '3.5.0' ,{requires:['recordset-base','widget','substitute','event-mouseenter']}); +}, '3.5.1' ,{requires:['recordset-base','widget','substitute','event-mouseenter']}); diff --git a/lib/yui/3.5.0/build/datatable-base-deprecated/datatable-base-deprecated-min.js b/lib/yui/3.5.1/build/datatable-base-deprecated/datatable-base-deprecated-min.js similarity index 99% rename from lib/yui/3.5.0/build/datatable-base-deprecated/datatable-base-deprecated-min.js rename to lib/yui/3.5.1/build/datatable-base-deprecated/datatable-base-deprecated-min.js index 3755bb1c877..9461a09dae3 100644 --- a/lib/yui/3.5.0/build/datatable-base-deprecated/datatable-base-deprecated-min.js +++ b/lib/yui/3.5.1/build/datatable-base-deprecated/datatable-base-deprecated-min.js @@ -1,8 +1,8 @@ /* -YUI 3.5.0 (build 5089) +YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("datatable-base-deprecated",function(c){var w=c.Lang,g=w.isValue,F=c.Lang.sub,d=c.Node,t=d.create,p=c.ClassNameManager.getClassName,q="datatable",r="column",H="focus",K="keydown",h="mouseenter",o="mouseleave",k="mouseup",z="mousedown",C="click",v="dblclick",e=p(q,"columns"),B=p(q,"data"),b=p(q,"msg"),l=p(q,"liner"),E=p(q,"first"),i=p(q,"last"),u=p(q,"even"),A=p(q,"odd"),D=" ",x="
",I='',f='',J=' ',G=' {value}',a=' ',j="{value}",n='';function m(L){m.superclass.constructor.apply(this,arguments);}c.mix(m,{NAME:"column",ATTRS:{id:{valueFn:"_defaultId",readOnly:true},key:{valueFn:"_defaultKey"},field:{valueFn:"_defaultField"},label:{valueFn:"_defaultLabel"},children:{value:null},abbr:{value:""},classnames:{readOnly:true,getter:"_getClassnames"},formatter:{},emptyCellValue:{value:"",validator:c.Lang.isString},sortable:{value:false},editor:{},width:{},resizeable:{},minimized:{},minWidth:{},maxAutoWidth:{}}});c.extend(m,c.Widget,{_defaultId:function(){return c.guid();},_defaultKey:function(){return c.guid();},_defaultField:function(){return this.get("key");},_defaultLabel:function(){return this.get("key");},_afterAbbrChange:function(L){this._uiSetAbbr(L.newVal);},keyIndex:null,headers:null,colSpan:1,rowSpan:1,parent:null,thNode:null,initializer:function(L){},destructor:function(){},_getClassnames:function(){return c.ClassNameManager.getClassName(r,this.get("key").replace(/[^\w\-]/g,""));},syncUI:function(){this._uiSetAbbr(this.get("abbr"));},_uiSetAbbr:function(L){this.thNode.set("abbr",L);}});c.Column=m;function y(L){y.superclass.constructor.apply(this,arguments);}c.mix(y,{NAME:"columnset",ATTRS:{definitions:{setter:"_setDefinitions"}}});c.extend(y,c.Base,{_setDefinitions:function(L){return c.clone(L);},tree:null,idHash:null,keyHash:null,keys:null,initializer:function(){var L=[],Q={},R={},P=[],O=this.get("definitions"),M=this;function N(Z,Y,X){var U=0,T=Y.length,W,V,S;Z++;if(!L[Z]){L[Z]=[];}for(;U {value}O){O=W;}}}}}for(M=0;M "];for(;M ");this._colgroupNode=N.insertBefore(t(O.join("")),N.get("firstChild"));return this._colgroupNode;},_addTheadNode:function(L){if(L){this._theadNode=L.insertBefore(t(I),this._colgroupNode.next());return this._theadNode;}},_addTbodyNode:function(L){this._tbodyNode=L.appendChild(t(f)); -return this._tbodyNode;},_addMessageNode:function(L){this._msgNode=L.insertBefore(t(n),this._tbodyNode);return this._msgNode;},_addCaptionNode:function(L){this._captionNode=c.Node.create(" ");},bindUI:function(){this.after({columnsetChange:this._afterColumnsetChange,summaryChange:this._afterSummaryChange,captionChange:this._afterCaptionChange,recordsetChange:this._afterRecordsChange,"recordset:tableChange":this._afterRecordsChange});},delegate:function(L){if(L==="dblclick"){this.get("boundingBox").delegate.apply(this.get("boundingBox"),arguments);}else{this.get("contentBox").delegate.apply(this.get("contentBox"),arguments);}},syncUI:function(){this._uiSetColumnset(this.get("columnset"));this._uiSetRecordset(this.get("recordset"));this._uiSetSummary(this.get("summary"));this._uiSetCaption(this.get("caption"));},_uiSetSummary:function(L){L=g(L)?L:"";this._tableNode.set("summary",L);},_uiSetCaption:function(N){var L=this._captionNode,M=L.inDoc(),O=N?(!M&&"prepend"):(M&&"removeChild");L.setContent(N||"");if(O){this._tableNode[O](L);}},_uiSetColumnset:function(P){var M=P.tree,R=this._theadNode,N=0,L=M.length,O=R.get("parentNode"),Q=R.next();R.remove();R.get("children").remove(true);for(;N =0;--Q){M=N[Q];L.columns[Q]={column:M,fields:M.get("field"),classnames:M.get("classnames"),emptyCellValue:M.get("emptyCellValue")};V=M.get("formatter");if(w.isFunction(V)){V=c.bind(this._functionFormatter,this,V);}else{if(!w.isString(V)){V=R;}V=c.bind(this._templateFormatter,this,V);}L.columns[Q].formatter=V;}for(Q=0,S=O.size();Q ");},bindUI:function(){this.after({columnsetChange:this._afterColumnsetChange,summaryChange:this._afterSummaryChange,captionChange:this._afterCaptionChange,recordsetChange:this._afterRecordsChange,"recordset:tableChange":this._afterRecordsChange});},delegate:function(L){if(L==="dblclick"){this.get("boundingBox").delegate.apply(this.get("boundingBox"),arguments);}else{this.get("contentBox").delegate.apply(this.get("contentBox"),arguments);}},syncUI:function(){this._uiSetColumnset(this.get("columnset"));this._uiSetRecordset(this.get("recordset"));this._uiSetSummary(this.get("summary"));this._uiSetCaption(this.get("caption"));},_uiSetSummary:function(L){L=g(L)?L:"";this._tableNode.set("summary",L);},_uiSetCaption:function(N){var L=this._captionNode,M=L.inDoc(),O=N?(!M&&"prepend"):(M&&"removeChild");L.setContent(N||"");if(O){this._tableNode[O](L);}},_uiSetColumnset:function(P){var M=P.tree,R=this._theadNode,N=0,L=M.length,O=R.get("parentNode"),Q=R.next();R.remove();R.get("children").remove(true);for(;N=0;--Q){M=N[Q];L.columns[Q]={column:M,fields:M.get("field"),classnames:M.get("classnames"),emptyCellValue:M.get("emptyCellValue")};V=M.get("formatter");if(w.isFunction(V)){V=c.bind(this._functionFormatter,this,V);}else{if(!w.isString(V)){V=R;}V=c.bind(this._templateFormatter,this,V);}L.columns[Q].formatter=V;}for(Q=0,S=O.size();Q {content}',ROW_TEMPLATE:'{content} ',getCell:function(o,n){var q=this.get("container"),s,m,p,r;if(o&&q){if(g(o)){s=q.get("children").item(o[0]);m=s&&s.get("children").item(o[1]);}else{if(a.instanceOf(o,a.Node)){m=o.ancestor("."+this.getClassName("cell"),true);}}if(m&&n){r=q.get("firstChild.rowIndex");if(b(n)){switch(n){case"above":n=[-1,0];break;case"below":n=[1,0];break;case"next":n=[0,1];break;case"previous":n=[0,-1];break;}}if(g(n)){p=m.get("parentNode.rowIndex")+n[0]-r;s=q.get("children").item(p);p=m.get("cellIndex")+n[1];m=s&&s.get("children").item(p);}}}return m||null;},getClassName:function(){var m=d(arguments);m.unshift(this._cssPrefix);m.push(true);return e.apply(c,m);},getRecord:function(n){var p=this.get("modelList"),o=this.get("container"),q=null,m;if(o){if(b(n)){n=o.one("#"+n);}if(a.instanceOf(n,a.Node)){q=n.ancestor(function(r){return r.get("parentNode").compareTo(o);},true);m=q&&p.getByClientId(q.getData("yui3-record"));}}return m||null;},getRow:function(n){var m=this.get("container")||null;if(n){n=this._idMap[n.get?n.get("clientId"):n]||n;}return m&&a.one(l(n)?m.get("children").item(n):"#"+n);},render:function(){var m=this.get("container"),o=this.get("modelList"),n=this.columns;this._createRowTemplate(n);if(m&&o){m.setContent(this._createDataHTML(n));this._applyNodeFormatters(m,n);}this.bindUI();return this;},_afterColumnsChange:function(m){this.columns=this._parseColumns(m.newVal);this.render();},_afterDataChange:function(m){this.render();},_afterModelListChange:function(o){var m=o.prevVal,n=o.newVal;if(m&&m.removeTarget){m.removeTarget(this);}if(n&&n.addTarget(this)){n.addTarget(this);}this._idMap={};},_applyNodeFormatters:function(s,n){var m=this.source,q=this.get("modelList"),p=[],o="."+this.getClassName("liner"),u,r,t;for(r=0,t=n.length;r1?'headers="'+o._headers.join(" ")+'"':"";m={content:"{"+q+"}",headers:n,className:this.getClassName("col",q)+" "+(o.className||"")+" "+this.getClassName("cell")+" {"+q+"-className}"};if(o.nodeFormatter){m.content="";}s+=k(o.cellTemplate||v,m);}this._rowTemplate=k(this.ROW_TEMPLATE,{content:s});},destructor:function(){this.set("modelList",null);(new a.EventHandle(i.values(this._eventHandles))).detach();},_getRowId:function(m){return this._idMap[m]||(this._idMap[m]=a.guid());},initializer:function(m){var o=m.cssPrefix||(m.source||{}).cssPrefix,n=this.get("modelList");this.source=m.source;this.columns=this._parseColumns(m.columns);this._eventHandles={};this._idMap={};if(o){this._cssPrefix=o;}this.CLASS_ODD=this.getClassName("odd");this.CLASS_EVEN=this.getClassName("even");this.after("modelListChange",h("_afterModelListChange",this));if(n&&n.addTarget){n.addTarget(this);}},_parseColumns:function(q,p){var n,o,m;p||(p=[]);if(g(q)&&q.length){for(o=0,m=q.length;o {content}',ROW_TEMPLATE:' {content} ',getCell:function(o,n){var q=this.get("container"),s,m,p,r;if(o&&q){if(g(o)){s=q.get("children").item(o[0]);m=s&&s.get("children").item(o[1]);}else{if(a.instanceOf(o,a.Node)){m=o.ancestor("."+this.getClassName("cell"),true);}}if(m&&n){r=q.get("firstChild.rowIndex");if(b(n)){switch(n){case"above":n=[-1,0];break;case"below":n=[1,0];break;case"next":n=[0,1];break;case"previous":n=[0,-1];break;}}if(g(n)){p=m.get("parentNode.rowIndex")+n[0]-r;s=q.get("children").item(p);p=m.get("cellIndex")+n[1];m=s&&s.get("children").item(p);}}}return m||null;},getClassName:function(){var m=d(arguments);m.unshift(this._cssPrefix);m.push(true);return e.apply(c,m);},getRecord:function(n){var p=this.get("modelList"),o=this.get("container"),q=null,m;if(o){if(b(n)){n=o.one("#"+n);}if(a.instanceOf(n,a.Node)){q=n.ancestor(function(r){return r.get("parentNode").compareTo(o);},true);m=q&&p.getByClientId(q.getData("yui3-record"));}}return m||null;},getRow:function(n){var m=this.get("container")||null;if(n){n=this._idMap[n.get?n.get("clientId"):n]||n;}return m&&a.one(l(n)?m.get("children").item(n):"#"+n);},render:function(){var m=this.get("container"),o=this.get("modelList"),n=this.columns;this._createRowTemplate(n);if(m&&o){m.setContent(this._createDataHTML(n));this._applyNodeFormatters(m,n);}this.bindUI();return this;},_afterColumnsChange:function(m){this.columns=this._parseColumns(m.newVal);this.render();},_afterDataChange:function(m){this.render();},_afterModelListChange:function(o){var m=o.prevVal,n=o.newVal;if(m&&m.removeTarget){m.removeTarget(this);}if(n&&n.addTarget(this)){n.addTarget(this);}this._idMap={};},_applyNodeFormatters:function(s,n){var m=this.source,q=this.get("modelList"),p=[],o="."+this.getClassName("liner"),u,r,t;for(r=0,t=n.length;r1?'headers="'+o._headers.join(" ")+'"':"";m={content:"{"+q+"}",headers:n,className:this.getClassName("col",q)+" "+(o.className||"")+" "+this.getClassName("cell")+" {"+q+"-className}"};if(o.nodeFormatter){m.content="";}s+=k(o.cellTemplate||v,m);}this._rowTemplate=k(this.ROW_TEMPLATE,{content:s});},destructor:function(){this.set("modelList",null);(new a.EventHandle(i.values(this._eventHandles))).detach();},_getRowId:function(m){return this._idMap[m]||(this._idMap[m]=a.guid());},initializer:function(m){var o=m.cssPrefix||(m.source||{}).cssPrefix,n=this.get("modelList");this.source=m.source;this.columns=this._parseColumns(m.columns);this._eventHandles={};this._idMap={};if(o){this._cssPrefix=o;}this.CLASS_ODD=this.getClassName("odd");this.CLASS_EVEN=this.getClassName("even");this.after("modelListChange",h("_afterModelListChange",this));if(n&&n.addTarget){n.addTarget(this);}},_parseColumns:function(q,p){var n,o,m;p||(p=[]);if(g(q)&&q.length){for(o=0,m=q.length;o