/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as o}from"tslib";import{clone as e}from"../core/lang.js";import{property as r,subclass as s}from"../core/accessorSupport/decorators.js";import t from"./PointCloudRenderer.js";import i from"./support/RendererLegendOptions.js";import p from"./support/pointCloud/ColorClassBreakInfo.js";import{fieldTransformTypeKebabDict as l}from"./support/pointCloud/fieldsMap.js";import{enumeration as n}from"../core/accessorSupport/decorators/enumeration.js";var d;let a=d=class extends t{constructor(o){super(o),this.type="point-cloud-class-breaks",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.colorClassBreakInfos=null}clone(){return new d({...this.cloneProperties(),field:this.field,fieldTransformType:this.fieldTransformType,colorClassBreakInfos:e(this.colorClassBreakInfos),legendOptions:e(this.legendOptions)})}};o([n({pointCloudClassBreaksRenderer:"point-cloud-class-breaks"})],a.prototype,"type",void 0),o([r({json:{write:{isRequired:!0}},type:String})],a.prototype,"field",void 0),o([r({type:i,json:{write:!0}})],a.prototype,"legendOptions",void 0),o([r({type:l.apiValues,json:{type:l.jsonValues,read:l.read,write:l.write}})],a.prototype,"fieldTransformType",void 0),o([r({type:[p],json:{write:{isRequired:!0}}})],a.prototype,"colorClassBreakInfos",void 0),a=d=o([s("esri.renderers.PointCloudClassBreaksRenderer")],a);export{a as default};
