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