PointCloudUniqueValueRenderer.js 1.6 KB

12345
  1. /*
  2. All material copyright ESRI, All Rights Reserved, unless otherwise specified.
  3. See https://js.arcgis.com/4.25/esri/copyright.txt for details.
  4. */
  5. import{_ as e}from"../chunks/tslib.es6.js";import{clone as o}from"../core/lang.js";import{property as r}from"../core/accessorSupport/decorators/property.js";import"../core/accessorSupport/ensureType.js";import{enumeration as t}from"../core/accessorSupport/decorators/enumeration.js";import{subclass as s}from"../core/accessorSupport/decorators/subclass.js";import i from"./PointCloudRenderer.js";import{LegendOptions as n}from"./support/LegendOptions.js";import p from"./support/pointCloud/ColorUniqueValueInfo.js";var l;let u=l=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 l({...this.cloneProperties(),field:o(this.field),fieldTransformType:o(this.fieldTransformType),colorUniqueValueInfos:o(this.colorUniqueValueInfos),legendOptions:o(this.legendOptions)})}};e([t({pointCloudUniqueValueRenderer:"point-cloud-unique-value"})],u.prototype,"type",void 0),e([r({json:{write:!0},type:String})],u.prototype,"field",void 0),e([r({type:i.fieldTransformTypeKebabDict.apiValues,json:{type:i.fieldTransformTypeKebabDict.jsonValues,read:i.fieldTransformTypeKebabDict.read,write:i.fieldTransformTypeKebabDict.write}})],u.prototype,"fieldTransformType",void 0),e([r({type:[p],json:{write:!0}})],u.prototype,"colorUniqueValueInfos",void 0),e([r({type:n,json:{write:!0}})],u.prototype,"legendOptions",void 0),u=l=e([s("esri.renderers.PointCloudUniqueValueRenderer")],u);const a=u;export{a as default};