/*
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 o}from"tslib";import{property as t,subclass as r}from"../../../core/accessorSupport/decorators.js";import s from"./Column.js";let e=class extends s{constructor(o){super(o),this.columns=null,this.sortable=!1}initialize(){this._set("fieldName",`group:${this.label}`)}destroy(){this.columns?.forEach(o=>!o.destroyed&&o.destroy())}};o([t()],e.prototype,"columns",void 0),o([t({readOnly:!0})],e.prototype,"sortable",void 0),e=o([r("esri.widgets.FeatureTable.Grid.GroupColumn")],e);const i=e;export{i as default};
