define(["ember"],function(a){return a.Component.extend({classNameBindings:["styleClasses"],multiple:!1,"selected-idx":0,items:void 0,selected:void 0,initItems:function(){return this.set("items",a.ArrayProxy.create({content:[]}))}.on("init"),addItem:function(a){return this.get("items").addObject(a)},removeItem:function(a){return this.get("items").removeObject(a)},select:function(a){a&&(this.set("selected",a),this.set("selected-idx",a.get("index")))}})});