UNPKG

@arcgis/map-components

Version:
4 lines 2.28 kB
/*! 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 e from"./YUGSC7L3.js";import c from"./MX24TT2G.js";import b from"./2WKS6ZFG.js";import{e as d}from"./4TYQGSWG.js";import"./JDUE7Q24.js";import"./DXCYBWXJ.js";import{B as s,E as a,P as n,U as o,j as i}from"./HX57SHRL.js";export default $arcgis.t(([r,,,h])=>{var c=i`@layer{arcgis-feature{display:block}}`,p=h(r),e=class extends n{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.defaultPopupTemplateEnabled=this.widget.defaultPopupTemplateEnabled,this.graphic=this.widget.graphic,this.headingLevel=this.widget.headingLevel,this.hideContentAttachments=this.widget.visibleElements.content.attachments,this.hideContentExpression=this.widget.visibleElements.content.expression,this.hideContentFields=this.widget.visibleElements.content.fields,this.hideContentMedia=this.widget.visibleElements.content.media,this.hideContentText=this.widget.visibleElements.content.text,this.hideLastEditInfo=this.widget.visibleElements.lastEditedInfo,this.hideLastEditedInfo=this.widget.visibleElements.lastEditedInfo,this.hideTitle=this.widget.visibleElements.title,this.icon=this.widget.icon,this.label=this.widget.label,this.location=this.viewModel.location,this.map=this.widget.map,this.position="bottom-left",this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=d()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,defaultPopupTemplateEnabled:5,graphic:0,headingLevel:9,hideContentAttachments:5,hideContentExpression:5,hideContentFields:5,hideContentMedia:5,hideContentText:5,hideLastEditInfo:5,hideLastEditedInfo:5,hideTitle:5,icon:1,label:1,location:0,map:0,position:1,referenceElement:1,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=c}async destroy(){await this.manager.destroy()}async nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,l){this.widget?.setActiveMedia(t,l)}};o("arcgis-feature",e);return e},"widgets/Feature",b,c,e)