/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as t}from"tslib";import{ClonableMixin as o}from"../../core/Clonable.js";import{JSONMap as e}from"../../core/jsonMap.js";import{JSONSupport as i}from"../../core/JSONSupport.js";import{property as r,subclass as s}from"../../core/accessorSupport/decorators.js";import p from"./StatisticDefinition.js";import{enumeration as a}from"../../core/accessorSupport/decorators/enumeration.js";const d=new e({asc:"ascending",desc:"descending"});let m=class extends(o(i)){constructor(t){super(t),this.fieldName=void 0,this.fieldOrder=void 0,this.outStatistic=void 0,this.type="pivot"}};t([r({type:String,json:{name:"pivotParameters.pivotFieldName",write:!0}})],m.prototype,"fieldName",void 0),t([a(d,{name:"pivotParameters.pivotFieldOrder"})],m.prototype,"fieldOrder",void 0),t([r({type:p,json:{name:"pivotParameters.outStatistic",write:!0}})],m.prototype,"outStatistic",void 0),t([a({Pivot:"pivot"},{name:"pivotType",readOnly:!0})],m.prototype,"type",void 0),m=t([s("esri.rest.support.PivotDefinition")],m);const n=m;export{n as default};
