/*
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 t}from"tslib";import{JSONSupport as i}from"../../core/JSONSupport.js";import{clone as s}from"../../core/lang.js";import{property as e,subclass as o}from"../../core/accessorSupport/decorators.js";import r from"./ExpressionInfo.js";var n;let p=class extends i{static{n=this}constructor(t){super(t),this.isAutoGenerated=!1,this.name=null,this.alias=null,this.onStatisticField=null,this.onStatisticExpression=null,this.statisticType=null}clone(){return new n({name:this.name,alias:this.alias,isAutoGenerated:this.isAutoGenerated,onStatisticExpression:s(this.onStatisticExpression),onStatisticField:this.onStatisticField,statisticType:this.statisticType})}};t([e({type:Boolean,json:{write:!0}})],p.prototype,"isAutoGenerated",void 0),t([e({type:String,json:{write:!0}})],p.prototype,"name",void 0),t([e({type:String,json:{write:!0}})],p.prototype,"alias",void 0),t([e({type:String,json:{write:!0}})],p.prototype,"onStatisticField",void 0),t([e({type:r,json:{write:!0}})],p.prototype,"onStatisticExpression",void 0),t([e({type:String,json:{write:!0}})],p.prototype,"statisticType",void 0),p=n=t([o("esri.layers.support.AggregateField")],p);export{p as default};
