/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{a as h}from"./3Q3RKOCB.js";import{a as l}from"./TAJZ7T7T.js";import f from"./L2Y5F2ON.js";import d from"./XGFQI67H.js";import c from"./L4T73YYG.js";import{g as a}from"./2GLF4DQN.js";import"./5AI6MQMZ.js";import b from"./KTDXN3YM.js";import"./ZNBKMZP7.js";import{O as i,U as s,x as e}from"./IWZQMWZ5.js";import"./ALDX5YZO.js";export default $arcgis.t(([g,,,{a:r},o])=>{var c=o(g),t=class extends i{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.arcgisClose=l(this),this.view=this.widget.view,this.autoDestroyDisabled=!1,this.catalogOptions=this.widget.catalogOptions,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideCatalogLayerList=this.widget.visibleElements.catalogLayerList,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.knowledgeGraphOptions=this.widget.knowledgeGraphOptions,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.openedLayers=this.widget.openedLayers,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=a()("state"),this.arcgisReady=e(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={view:0,autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:32,operationalItems:32,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:32,tableList:32,visibilityAppearance:1}}static{this.styles=h}get catalogLayerList(){return this.widget.catalogLayerList}get operationalItems(){return this.widget.operationalItems}get tableList(){return this.widget.tableList}async destroy(){await this.manager.destroy()}async triggerAction(d,n){this.widget?.triggerAction(d,n)}};s("arcgis-layer-list",t);return t},"widgets/LayerList",b,c,d,f)