VoxelUniqueValue.js 1.1 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 o}from"../../chunks/tslib.es6.js";import e from"../../Color.js";import{ClonableMixin as r}from"../../core/Clonable.js";import{JSONSupport as t}from"../../core/JSONSupport.js";import{property as s}from"../../core/accessorSupport/decorators/property.js";import"../../core/arrayUtils.js";import{Integer as p}from"../../core/accessorSupport/ensureType.js";import{subclass as i}from"../../core/accessorSupport/decorators/subclass.js";let l=class extends(r(t)){constructor(){super(...arguments),this.color=e.fromArray([0,0,0,0]),this.value=0,this.enabled=!0,this.label=""}};o([s({type:e,json:{type:[p],write:{enabled:!0,isRequired:!0}}})],l.prototype,"color",void 0),o([s({type:p,json:{write:{enabled:!0,isRequired:!0}}})],l.prototype,"value",void 0),o([s({type:Boolean,json:{default:!0,write:!0}})],l.prototype,"enabled",void 0),o([s({type:String,json:{write:!0}})],l.prototype,"label",void 0),l=o([i("esri.layers.voxel.VoxelUniqueValue")],l);const a=l;export{a as default};