/*
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/lang","../../core/accessorSupport/decorators/property","../../core/accessorSupport/ensureType","../../core/accessorSupport/decorators/subclass","./Element","../../popup/support/RelatedRecordsInfoFieldOrder"],(function(e,t,r,o,i,p,s,l){"use strict";var n;let d=n=function(t){function o(e){var r;return(r=t.call(this,e)||this).displayCount=null,r.displayType="list",r.editable=!0,r.orderByFields=null,r.relationshipId=null,r.type="relationship",r}return e._inheritsLoose(o,t),o.prototype.clone=function(){return new n({description:this.description,displayCount:this.displayCount,displayType:this.displayType,editable:this.editable,label:this.label,orderByFields:r.clone(this.orderByFields),relationshipId:this.relationshipId,visibilityExpression:this.visibilityExpression})},o}(s);t.__decorate([o.property({type:Number,json:{write:!0}})],d.prototype,"displayCount",void 0),t.__decorate([o.property({type:["list"],json:{write:!0}})],d.prototype,"displayType",void 0),t.__decorate([o.property({type:Boolean,json:{write:!0}})],d.prototype,"editable",void 0),t.__decorate([o.property({type:[l],json:{write:!0}})],d.prototype,"orderByFields",void 0),t.__decorate([o.property({type:Number,json:{write:!0}})],d.prototype,"relationshipId",void 0),t.__decorate([o.property({type:["relationship"],json:{read:!1,write:!0}})],d.prototype,"type",void 0),d=n=t.__decorate([p.subclass("esri.form.elements.RelationshipElement")],d);return d}));
