//>>built
require({cache:{"url:demos/calendar/CalendarMonthColumn.html":"<div>\n\t<div data-dojo-attach-point=\"buttonContainer\" class=\"buttonContainer\">\n\t\t<div data-dojo-attach-point=\"toolbar\" data-dojo-type=\"dijit.Toolbar\" >\n\t\t\t<button data-dojo-attach-point=\"previousButton\" data-dojo-type=\"dijit.form.Button\" >◄</button>\n\t\t\t<button data-dojo-attach-point=\"nextButton\" data-dojo-type=\"dijit.form.Button\" >►</button>\n\t\t\t<span data-dojo-type=\"dijit.ToolbarSeparator\"></span>\n\t\t\t<button data-dojo-attach-point=\"todayButton\" data-dojo-type=\"dijit.form.Button\" />Today</button>\n\t\t\t<span data-dojo-type=\"dijit.ToolbarSeparator\"></span>\n\t\t\t<button data-dojo-attach-point=\"dayButton\" data-dojo-type=\"dijit.form.Button\" >Day</button>\n\t\t\t<button data-dojo-attach-point=\"fourDaysButton\" data-dojo-type=\"dijit.form.Button\" >4 Days</button>\n\t\t\t<button data-dojo-attach-point=\"weekButton\" data-dojo-type=\"dijit.form.Button\" >Week</button>\t\t\t\n\t\t\t<button data-dojo-attach-point=\"monthButton\" data-dojo-type=\"dijit.form.Button\" >Month</button>\n\t\t\t<button data-dojo-attach-point=\"sixMonthButton\" data-dojo-type=\"dijit.form.Button\" >6 Months</button>\n\t\t</div>\n\t</div>\n\t<div data-dojo-attach-point=\"viewContainer\" class=\"viewContainer\"></div>\n</div>\n"}});define("demos/calendar/ExtendedCalendar",["dojo/_base/declare","dojo/_base/lang","dojo/on","dojox/calendar/Calendar","dojox/calendar/MonthColumnView","dojox/calendar/VerticalRenderer","dojox/calendar/Mouse","dojox/calendar/Keyboard","dojo/text!./CalendarMonthColumn.html"],function(_1,_2,on,_3,_4,_5,_6,_7,_8){return _1("demo.ExtendedCalendar",_3,{templateString:_8,verticalRenderer:_5,_createDefaultViews:function(){this.inherited(arguments);this.monthColumnView=_1([_4,_7,_6])({verticalRenderer:_5});this.monthColumnView.on("columnHeaderClick",_2.hitch(this,function(e){this.set("dateInterval","month");this.set("dateIntervalSteps",1);this.set("date",e.date);}));return [this.columnView,this.matrixView,this.monthColumnView];},_computeCurrentView:function(_9,_a,_b){if(_b>62){return this.monthColumnView;}else{return this.inherited(arguments);}},_configureView:function(_c,_d,_e,_f){if(_c.viewKind=="monthColumns"){var m=_e[0].getMonth();var d=this.newDate(_e[0]);d.setMonth(m<6?0:6);_c.set("startDate",d);_c.set("columnCount",6);}else{this.inherited(arguments);}},configureButtons:function(){this.inherited(arguments);if(this.sixMonthButton){this.own(on(this.sixMonthButton,"click",_2.hitch(this,function(){this.set("dateIntervalSteps",6);this.set("dateInterval","month");})));}},matrixViewRowHeaderClick:function(e){this.set("dateInterval","week");this.set("dateIntervalSteps",1);this.set("date",e.date);}});});