/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as e}from"tslib";import t from"../../../core/Accessor.js";import{property as r,subclass as o}from"../../../core/accessorSupport/decorators.js";import{getIconForLayer as i}from"../iconUtils.js";let l=class extends t{constructor(e){super(e),this.layer=null,this.viewModel=null}get iconName(){return i(this.layer)}get key(){return this.layer.id}get layerView(){return this.viewModel.layerViewMap.get(this.layer.id)}get title(){return this.layer.title}get view(){return this.viewModel.view}};e([r()],l.prototype,"iconName",null),e([r()],l.prototype,"key",null),e([r()],l.prototype,"layer",void 0),e([r()],l.prototype,"layerView",null),e([r()],l.prototype,"title",null),e([r()],l.prototype,"view",null),e([r()],l.prototype,"viewModel",void 0),l=e([o("esri.widgets.support.SelectionList.ItemBase")],l);const s=l;export{s as default};
