//>>built
define("dojox/mobile/_StoreListMixin","dojo/_base/array dojo/_base/declare ./_StoreMixin ./ListItem dojo/has dojo/has!dojo-bidi?dojox/mobile/bidi/_StoreListMixin".split(" "),function(e,g,c,h,f,k){c=g(f("dojo-bidi")?"dojox.mobile._NonBidiStoreListMixin":"dojox.mobile._StoreListMixin",c,{append:!1,itemMap:null,itemRenderer:h,buildRendering:function(){this.inherited(arguments);if(this.store){var a=this.store;this.store=null;this.setStore(a,this.query,this.queryOptions)}},createListItem:function(a){return new this.itemRenderer(this._createItemProperties(a))},
_createItemProperties:function(a){var b={};a.label||(b.label=a[this.labelProperty]);f("dojo-bidi")&&"undefined"==typeof b.dir&&(b.dir=this.isLeftToRight()?"ltr":"rtl");for(var d in a)b[this.itemMap&&this.itemMap[d]||d]=a[d];return b},_setDirAttr:function(a){return a},generateList:function(a){this.append||e.forEach(this.getChildren(),function(b){b.destroyRecursive()});e.forEach(a,function(b,d){this.addChild(this.createListItem(b));b[this.childrenProperty]&&e.forEach(b[this.childrenProperty],function(l,
m){this.addChild(this.createListItem(l))},this)},this)},onComplete:function(a){this.generateList(a)},onError:function(){},onAdd:function(a,b){this.addChild(this.createListItem(a),b)},onUpdate:function(a,b){this.getChildren()[b].set(this._createItemProperties(a))},onDelete:function(a,b){this.getChildren()[b].destroyRecursive()}});return f("dojo-bidi")?g("dojox.mobile._StoreListMixin",[c,k]):c});