UNPKG

@arcgis/core

Version:

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

6 lines (5 loc) 1.64 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 e from"../../../core/Accessor.js";import{property as l}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/has.js";import"../../../core/Logger.js";import"../../../core/RandomLCG.js";import{subclass as t}from"../../../core/accessorSupport/decorators/subclass.js";import r from"../GridControls/VisibleElements.js";let s=class extends e{constructor(o){super(o),this.enabledToggle=!0,this.featureEnabledToggle=!0,this.gridEnabledToggle=!0,this.header=!1,this.layerList=!0,this.gridControls=!0,this.gridControlsElements=new r({gridSnapEnabledToggle:!1,gridEnabledToggle:!1}),this.layerListToggleLayersButton=!0,this.selfEnabledToggle=!0}};o([l({type:Boolean,nonNullable:!0})],s.prototype,"enabledToggle",void 0),o([l({type:Boolean,nonNullable:!0})],s.prototype,"featureEnabledToggle",void 0),o([l({type:Boolean,nonNullable:!0})],s.prototype,"gridEnabledToggle",void 0),o([l({type:Boolean,nonNullable:!0})],s.prototype,"header",void 0),o([l({type:Boolean,nonNullable:!0})],s.prototype,"layerList",void 0),o([l({type:Boolean,nonNullable:!0})],s.prototype,"gridControls",void 0),o([l({type:r,nonNullable:!0})],s.prototype,"gridControlsElements",void 0),o([l({type:Boolean,nonNullable:!0})],s.prototype,"layerListToggleLayersButton",void 0),o([l({type:Boolean,nonNullable:!0})],s.prototype,"selfEnabledToggle",void 0),s=o([t("esri.widgets.support.SnappingControls.VisibleElements")],s);const n=s;export{n as default};