//>>built
require({cache:{"url:dojox/calendar/templates/HorizontalRenderer.html":"
\n\t
\n\t
◄
\t\n\t
\t\t\n\t\t\n\t\t\n\t\t\n\t
\n\t
►
\n\t
\n\t
\n\t
\t\n
\n"}});
define("dojox/calendar/HorizontalRenderer",["dojo/_base/declare","dojo/dom-style","dijit/_WidgetBase","dijit/_TemplatedMixin","dojox/calendar/_RendererMixin","dojo/text!./templates/HorizontalRenderer.html"],function(_1,_2,_3,_4,_5,_6){
return _1("dojox.calendar.HorizontalRenderer",[_3,_4,_5],{templateString:_6,_orientation:"horizontal",visibilityLimits:{resizeStartHandle:50,resizeEndHandle:-1,summaryLabel:15,startTimeLabel:32,endTimeLabel:30},_displayValueMap:{"beforeIcon":"inline","afterIcon":"inline"},_displayValue:"inline",arrowPadding:12,_isElementVisible:function(_7,_8,_9,_a){
var d;
var _b=this.isLeftToRight();
if(_7=="startTimeLabel"){
if(this.labelContainer&&(_b&&_9||!_b&&_8)){
_2.set(this.labelContainer,"marginRight",this.arrowPadding+"px");
}else{
_2.set(this.labelContainer,"marginRight",0);
}
if(this.labelContainer&&(!_b&&_9||_b&&_8)){
_2.set(this.labelContainer,"marginLeft",this.arrowPadding+"px");
}else{
_2.set(this.labelContainer,"marginLeft",0);
}
}
switch(_7){
case "startTimeLabel":
d=this.item.startTime;
if(this.item.allDay||this.owner.isStartOfDay(d)){
return false;
}
break;
case "endTimeLabel":
d=this.item.endTime;
if(this.item.allDay||this.owner.isStartOfDay(d)){
return false;
}
break;
}
return this.inherited(arguments);
},getDisplayValue:function(_c){
var _d=this._displayValueMap[_c];
if(_d){
return _d;
}
return this._displayValue;
},postCreate:function(){
this.inherited(arguments);
this._applyAttributes();
}});
});