/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as t}from"tslib";import{property as e,subclass as s}from"../../../core/accessorSupport/decorators.js";import o from"./InputBase.js";let r=class extends o{constructor(){super(...arguments),this.editType="NA"}get editable(){return this._evaluatedEditableExpression??!0}get _evaluatedEditableExpression(){let t=!0,e=!0;for(const s of this.features){if(null==this.template.getExpressionExecutorsForLayer(s.layer)?.editableExpression){t=t&&!0;continue}e=!1;const o=this._lookupEvaluatedExpression(s,"editable");"success"===o?.status?t=t&&!0===o.result:t=!1}return e?null:t}};t([e()],r.prototype,"editable",null),t([e()],r.prototype,"editType",void 0),t([e()],r.prototype,"_evaluatedEditableExpression",null),r=t([s("esri.widgets.BatchAttributeForm.inputs.EditableInput")],r);const i=r;export{i as default};
