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