UNPKG

@doegis/core

Version:

DOE GIS API

3 lines (1 loc) 1.3 kB
import{_ as s}from"../../chunks/tslib.es6.js";import{JSONSupport as e}from"../../core/JSONSupport.js";import{property as r}from"../../core/accessorSupport/decorators/property.js";import"../../core/accessorSupport/ensureType.js";import"../../core/arrayUtils.js";import{subclass as o}from"../../core/accessorSupport/decorators/subclass.js";import{rendererSymbolProperty as t}from"./commonProperties.js";var i;let l=i=class extends e{constructor(s){super(s),this.description=null,this.label=null,this.minValue=null,this.maxValue=0,this.symbol=null}clone(){return new i({description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,symbol:this.symbol?this.symbol.clone():null})}getMeshHash(){const s=JSON.stringify(this.symbol);return`${this.minValue}.${this.maxValue}.${s}`}};s([r({type:String,json:{write:!0}})],l.prototype,"description",void 0),s([r({type:String,json:{write:!0}})],l.prototype,"label",void 0),s([r({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue"}}})],l.prototype,"minValue",void 0),s([r({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue"}}})],l.prototype,"maxValue",void 0),s([r(t)],l.prototype,"symbol",void 0),l=i=s([o("esri.renderers.support.ClassBreakInfo")],l);const a=l;export{a as default};