/*! All material copyright GeoScene, All Rights Reserved, unless otherwise specified.
See https://js.geoscene.cn/4.33/geoscene/copyright.txt for details.
v4.33.18 */
import d from"./OSA3KXKL.js";import c from"./Y4DAIYBP.js";import b from"./DTE4O2DP.js";import{e as h}from"./LYMDZ73M.js";import"./MG6XDMQJ.js";import"./HITJFSBP.js";import{B as s,E as a,P as r,U as o,j as i}from"./3VKC6PRK.js";export default $geoscene.t(([g,,{a:t},m])=>{var l=i`@layer{geoscene-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.geoscenePropertyChange=h()("state"),this.geosceneReady=s(),this.geosceneSubmit=t(()=>this.widget,"submit"),this.geosceneValueChange=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("geoscene-feature-form",e);return e},"widgets/FeatureForm",b,c,d)