/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
v4.33.16 */
import d from"./WE3NNZIE.js";import c from"./6CVZUPDX.js";import b from"./LPU7W35B.js";import{e as h}from"./UN4H7E6L.js";import"./AMHKFE57.js";import"./PMTZ5QWJ.js";import{B as s,E as a,P as r,U as o,j as i}from"./MWSR363G.js";export default $arcgis.t(([g,,{a:t},m])=>{var l=i`@layer{arcgis-feature-form{display:block}}`,n=m(g),e=class extends r{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.position="bottom-left",this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=h()("state"),this.arcgisReady=s(),this.arcgisSubmit=t(()=>this.widget,"submit"),this.arcgisValueChange=t(()=>this.widget,"value-change")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,groupDisplay:1,headingLevel:9,icon:1,label:1,layer:0,position:1,referenceElement:1,state:3,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=l}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){this.widget?.submit()}};o("arcgis-feature-form",e);return e},"widgets/FeatureForm",b,c,d)