UNPKG

@arcgis/core

Version:

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

6 lines (5 loc) 1.29 kB
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.32/esri/copyright.txt for details. */ import{_ as e}from"../../../chunks/tslib.es6.js";import s from"../../../core/JSONSupport.js";import{toPt as o}from"../../../core/screenUtils.js";import{property as r}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/has.js";import"../../../core/Logger.js";import"../../../core/RandomLCG.js";import{subclass as t}from"../../../core/accessorSupport/decorators/subclass.js";var i;let l=i=class extends s{constructor(e){super(e),this.label=null,this.size=null,this.value=null,this.useMinValue=null,this.useMaxValue=null}clone(){return new i({label:this.label,size:this.size,value:this.value,useMaxValue:this.useMaxValue,useMinValue:this.useMinValue})}};e([r({type:String,json:{write:!0}})],l.prototype,"label",void 0),e([r({type:Number,cast:o,json:{write:{isRequired:!0}}})],l.prototype,"size",void 0),e([r({type:Number,json:{write:{isRequired:!0}}})],l.prototype,"value",void 0),e([r({type:Boolean,json:{write:!1}})],l.prototype,"useMinValue",void 0),e([r({type:Boolean,json:{write:!1}})],l.prototype,"useMaxValue",void 0),l=i=e([t("esri.renderers.visualVariables.support.SizeStop")],l);const u=l;export{u as default};