/*
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{JSONSupport as i}from"../../core/JSONSupport.js";import{clone as r}from"../../core/lang.js";import{property as o,subclass as t}from"../../core/accessorSupport/decorators.js";import{types as s}from"../../core/accessorSupport/ensureType.js";var a;let n=a=class extends i{constructor(e){super(e),this.variableName=null,this.dimensionName=null,this.values=[],this.isSlice=!1}clone(){return new a({variableName:this.variableName,dimensionName:this.dimensionName,values:r(this.values),isSlice:this.isSlice})}};e([o({type:String,json:{write:!0}})],n.prototype,"variableName",void 0),e([o({type:String,json:{write:!0}})],n.prototype,"dimensionName",void 0),e([o({type:s.array(s.oneOf([s.native(Number),s.array(s.native(Number))])),json:{write:!0}})],n.prototype,"values",void 0),e([o({type:Boolean,json:{write:!0}})],n.prototype,"isSlice",void 0),n=a=e([t("esri.layers.support.DimensionalDefinition")],n);export{n as default};
