UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

6 lines (5 loc) 1 kB
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.33/esri/copyright.txt for details. */ import{_ as o}from"../chunks/tslib.es6.js";import r from"../core/Clonable.js";import e from"../core/Collection.js";import s from"../core/JSONSupport.js";import{property as t}from"../core/accessorSupport/decorators/property.js";import"../core/has.js";import"../core/Logger.js";import"../core/RandomLCG.js";import{subclass as p}from"../core/accessorSupport/decorators/subclass.js";import i from"./FocusArea.js";let c=class extends(s.JSONSupportMixin(r)){constructor(o){super(o),this.areas=new e,this.style="bright"}};o([t({type:e.ofType(i),nonNullable:!0,json:{write:!0,origins:{"web-scene":{write:{isRequired:!0}}}},clonable:o=>new e(o.items.map((o=>o.clone())))})],c.prototype,"areas",void 0),o([t({type:["bright","dark"],nonNullable:!0,json:{write:!0}})],c.prototype,"style",void 0),c=o([p("esri.effects.FocusAreas")],c);const a=c;export{a as default};