//>>built
define("dojox/calendar/StoreMixin","dojo/_base/declare dojo/_base/array dojo/_base/html dojo/_base/lang dojo/dom-class dojo/Stateful dojo/when".split(" "),function(d,g,h,e,k,f,l){return d("dojox.calendar.StoreMixin",f,{store:null,query:{},queryOptions:null,startTimeAttr:"startTime",endTimeAttr:"endTime",summaryAttr:"summary",allDayAttr:"allDay",subColumnAttr:"calendar",cssClassFunc:null,decodeDate:null,encodeDate:null,displayedItemsInvalidated:!1,itemToRenderItem:function(a,b){return this.owner?this.owner.itemToRenderItem(a,
b):{id:b.getIdentity(a),summary:a[this.summaryAttr],startTime:this.decodeDate&&this.decodeDate(a[this.startTimeAttr])||this.newDate(a[this.startTimeAttr],this.dateClassObj),endTime:this.decodeDate&&this.decodeDate(a[this.endTimeAttr])||this.newDate(a[this.endTimeAttr],this.dateClassObj),allDay:null!=a[this.allDayAttr]?a[this.allDayAttr]:!1,subColumn:a[this.subColumnAttr],cssClass:this.cssClassFunc?this.cssClassFunc(a):null}},renderItemToItem:function(a,b){if(this.owner)return this.owner.renderItemToItem(a,
b);var c={};c[b.idProperty]=a.id;c[this.summaryAttr]=a.summary;c[this.startTimeAttr]=this.encodeDate&&this.encodeDate(a.startTime)||a.startTime;c[this.endTimeAttr]=this.encodeDate&&this.encodeDate(a.endTime)||a.endTime;a.subColumn&&(c[this.subColumnAttr]=a.subColumn);return"unstored"===this.getItemStoreState(a)?c:e.mixin(a._item,c)},_computeVisibleItems:function(a){if(this.owner)return this.owner._computeVisibleItems(a);a.items=this.storeManager._computeVisibleItems(a)},_initItems:function(a){this.set("items",
a);return a},_refreshItemsRendering:function(a){},_setStoreAttr:function(a){this.store=a;return this.storeManager.set("store",a)},_getItemStoreStateObj:function(a){return this.storeManager._getItemStoreStateObj(a)},getItemStoreState:function(a){return this.storeManager.getItemStoreState(a)},_cleanItemStoreState:function(a){this.storeManager._cleanItemStoreState(a)},_setItemStoreState:function(a,b){this.storeManager._setItemStoreState(a,b)}})});