/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["../../chunks/_rollupPluginBabelHelpers","../../chunks/tslib.es6","../../core/accessorSupport/decorators/property","../../core/arrayUtils","../../core/has","../../core/accessorSupport/ensureType","../../core/accessorSupport/decorators/subclass","./Element","./inputs/AttachmentInput"],(function(t,e,r,o,i,n,s,p,a){"use strict";var c;let l=c=function(e){function r(t){var r;return(r=e.call(this,t)||this).attachmentKeyword=null,r.editable=!0,r.input=null,r.type="attachment",r}return t._inheritsLoose(r,e),r.prototype.clone=function(){return new c({attachmentKeyword:this.attachmentKeyword,description:this.description,editable:this.editable,input:this.input,label:this.label,visibilityExpression:this.visibilityExpression})},r}(p);e.__decorate([r.property({type:String,json:{write:!0}})],l.prototype,"attachmentKeyword",void 0),e.__decorate([r.property({type:Boolean,json:{write:!0}})],l.prototype,"editable",void 0),e.__decorate([r.property({type:a,json:{read:{source:"inputType"},write:{target:"inputType"}}})],l.prototype,"input",void 0),e.__decorate([r.property({type:["attachment"],json:{read:!1,write:!0}})],l.prototype,"type",void 0),l=c=e.__decorate([s.subclass("esri.form.elements.AttachmentElement")],l);return l}));
