UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

3 lines (2 loc) 895 B
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */ import{__decorate as r}from"tslib";import{ClonableMixin as e}from"../../core/Clonable.js";import{strict as o}from"../../core/jsonMap.js";import{JSONSupport as s}from"../../core/JSONSupport.js";import{property as t,subclass as p}from"../../core/accessorSupport/decorators.js";import{ensureClass as n}from"../../core/accessorSupport/ensureType.js";import{enumeration as c}from"../../core/accessorSupport/decorators/enumeration.js";var i;const a=o()({ascendingValues:"ascending-values",descendingValues:"descending-values"});let d=i=class extends(e(s)){static from(r){return n(i,r)}constructor(r){super(r),this.title=null,this.order=null}};r([t({type:String,json:{write:!0}})],d.prototype,"title",void 0),r([c(a)],d.prototype,"order",void 0),d=i=r([p("esri.renderers.support.RendererLegendOptions")],d);const u=d;export{u as default};