@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
3 lines (2 loc) • 1.28 kB
JavaScript
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */
import{__decorate as o}from"tslib";import e from"../../Color.js";import t from"../../core/Accessor.js";import{deprecateUnnecessaryViewModel as r}from"../../core/deprecate.js";import s from"../../core/Logger.js";import{convertTime as i}from"../../core/timeUtils.js";import{property as p,subclass as n}from"../../core/accessorSupport/decorators.js";import a from"./DiscreteOptions.js";let c=class extends t{constructor(o){super(o),this.color=new e([255,0,0,.7]),this.value=i(4,"hours","milliseconds"),this.minValue=0,this.maxValue=i(8,"hours","milliseconds"),this.contextEnabled=!1,this.contextOptions=new a,o?.suppressDeprecationWarning||r(s.getLogger(this),"Shadow Cast","arcgis-shadow-cast",{version:"5.0"})}normalizeCtorArgs(o){const{suppressDeprecationWarning:e,...t}=o??{};return t}};o([p({type:e,nonNullable:!0})],c.prototype,"color",void 0),o([p({type:Number})],c.prototype,"value",void 0),o([p({type:Number})],c.prototype,"minValue",void 0),o([p({type:Number})],c.prototype,"maxValue",void 0),o([p({type:Boolean})],c.prototype,"contextEnabled",void 0),o([p({type:a,nonNullable:!0})],c.prototype,"contextOptions",void 0),c=o([n("esri.widgets.ShadowCast.ThresholdOptions")],c);const l=c;export{l as default};