/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as e}from"tslib";import{ClonableMixin as r}from"../../core/Clonable.js";import{JSONSupport as o}from"../../core/JSONSupport.js";import{property as t,subclass as i}from"../../core/accessorSupport/decorators.js";import{Integer as s}from"../../core/accessorSupport/ensureType.js";import{websceneRasterRendererTypes as p,rasterRendererTypes as n}from"./rasterTypeUtils.js";import{enumeration as a}from"../../core/accessorSupport/decorators/enumeration.js";let d=class extends(r(o)){constructor(e){super(e),this.name=void 0,this.method="none",this.value=void 0,this.bandIds=void 0,this.renderer=void 0}};e([t({type:String,json:{write:{isRequired:!0}}})],d.prototype,"name",void 0),e([t({type:["raster-function-template","variable","none"],json:{write:{isRequired:!0}}}),a({rasterFunctionTemplate:"raster-function-template",variable:"variable",none:"none"})],d.prototype,"method",void 0),e([t({type:String,json:{write:{isRequired:!0}}})],d.prototype,"value",void 0),e([t({type:[s],json:{write:{isRequired:!0}}})],d.prototype,"bandIds",void 0),e([t({types:n,json:{write:!0,origins:{"web-scene":{types:p,write:{overridePolicy:e=>({enabled:e&&"vector-field"!==e.type})}}}}})],d.prototype,"renderer",void 0),d=e([i("esri.renderers.support.RasterPresetRenderer")],d);export{d as default};
