/*
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{JSONMap as r}from"../../core/jsonMap.js";import{JSONSupport as s}from"../../core/JSONSupport.js";import{property as o,subclass as t}from"../../core/accessorSupport/decorators.js";var i;const n=new r({asc:"ascending",desc:"descending"});let p=class extends s{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};e([o({type:String,json:{write:!0}})],p.prototype,"field",void 0),e([o({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],p.prototype,"valueExpression",void 0),e([o({type:n.apiValues,json:{type:n.jsonValues,read:n.read,write:n.write}})],p.prototype,"order",void 0),p=i=e([t("esri.layers.support.OrderByInfo")],p);export{p as default};
