/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as t}from"tslib";import e from"../../../core/Accessor.js";import r from"../../../core/Logger.js";import{property as o,subclass as s}from"../../../core/accessorSupport/decorators.js";let n=class extends e{constructor(t){super(t),this.input=null}get feature(){const{input:t}=this,{features:e}=t;if(1===e.length)return e.at(0);r.getLogger(t).warn("Invalid number of features")}get layer(){const{input:t}=this,{layers:e}=t;if(1===e.length)return e.at(0);r.getLogger(t).warn("Invalid number of layers")}};t([o()],n.prototype,"input",void 0),t([o()],n.prototype,"feature",null),t([o()],n.prototype,"layer",null),n=t([s("esri.widgets.BatchAttributeForm.inputs.SingleFeatureInputAdapter")],n);const u=n;export{u as default};
