@arcgis/map-components
Version:
ArcGIS Map Components
4 lines • 1.67 kB
JavaScript
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
v4.33.13 */
import d from"./YUGSC7L3.js";import c from"./MX24TT2G.js";import b from"./2WKS6ZFG.js";import{e as o}from"./4TYQGSWG.js";import"./JDUE7Q24.js";import"./DXCYBWXJ.js";import{B as t,E as s,P as a,U as r,j as i}from"./HX57SHRL.js";export default $arcgis.t(([h,,,n])=>{var d=i`{arcgis-legend{display:block}}`,l=n(h),e=class extends a{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.activeLayerInfos=this.widget.activeLayerInfos,this.autoDestroyDisabled=!1,this.basemapLegendVisible=this.widget.basemapLegendVisible,this.headingLevel=this.widget.headingLevel,this.hideLayersNotInCurrentView=this.widget.hideLayersNotInCurrentView,this.icon=this.widget.icon,this.label=this.widget.label,this.layerInfos=this.widget.layerInfos,this.legendStyle=this.widget.style,this.position="bottom-left",this.respectLayerDefinitionExpression=this.widget.respectLayerDefinitionExpression,this.respectLayerVisibilityDisabled=this.widget.respectLayerVisibility,this.state=this.viewModel.state,this.arcgisPropertyChange=o()("state"),this.arcgisReady=t()}static{this.properties={activeLayerInfos:0,autoDestroyDisabled:5,basemapLegendVisible:5,headingLevel:9,hideLayersNotInCurrentView:5,icon:1,label:1,layerInfos:0,legendStyle:1,position:1,referenceElement:1,respectLayerDefinitionExpression:5,respectLayerVisibilityDisabled:5,state:3}}static{this.shadowRootOptions=s}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-legend",e);return e},"widgets/Legend",b,c,d)