/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as e}from"tslib";import{JSONSupport as s}from"../../../core/JSONSupport.js";import{toPt as t}from"../../../core/screenUtils.js";import{property as r,subclass as i}from"../../../core/accessorSupport/decorators.js";var o;let l=o=class extends s{constructor(e){super(e),this.label=null,this.value=null,this.useMinValue=null,this.useMaxValue=null}get size(){return this._get("size")}set size(e){this._set("size",e)}clone(){return new o({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:t,json:{write:{isRequired:!0}}})],l.prototype,"size",null),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=o=e([i("esri.renderers.visualVariables.support.SizeStop")],l);export{l as default};
