polardbxengine/storage/ndb/mcc/frontend/dojo/dojox/calendar/Calendar.js

18 lines
2.3 KiB
JavaScript

//>>built
require({cache:{"url:dojox/calendar/templates/Calendar.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</div>\n\t</div>\n\t<div data-dojo-attach-point=\"viewContainer\" class=\"viewContainer\"></div>\n</div>\n"}});
define("dojox/calendar/Calendar",["dojo/_base/declare","dojo/_base/lang","./CalendarBase","./ColumnView","./ColumnViewSecondarySheet","./VerticalRenderer","./MatrixView","./HorizontalRenderer","./LabelRenderer","./ExpandRenderer","./Keyboard","./Mouse","dojo/text!./templates/Calendar.html","dijit/form/Button","dijit/Toolbar","dijit/ToolbarSeparator"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d){
return _1("dojox.calendar.Calendar",_3,{templateString:_d,_createDefaultViews:function(){
var _e=_1([_5,_b,_c]);
var _f=_1([_4,_b,_c])(_2.mixin({secondarySheetClass:_e,verticalRenderer:_6,horizontalRenderer:_8,expandRenderer:_a},this.columnViewProps));
var _10=_1([_7,_b,_c])(_2.mixin({horizontalRenderer:_8,labelRenderer:_9,expandRenderer:_a},this.matrixViewProps));
this.columnView=_f;
this.matrixView=_10;
var _11=[_f,_10];
this.installDefaultViewsActions(_11);
return _11;
},installDefaultViewsActions:function(_12){
this.matrixView.on("rowHeaderClick",_2.hitch(this,this.matrixViewRowHeaderClick));
this.columnView.on("columnHeaderClick",_2.hitch(this,this.columnViewColumnHeaderClick));
}});
});