/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as e}from"tslib";import{clone as i}from"../../core/lang.js";import{property as t,subclass as s}from"../../core/accessorSupport/decorators.js";import o from"./Element.js";import r from"../../popup/support/RelatedRecordsInfoFieldOrder.js";var p;let l=p=class extends o{constructor(e){super(e),this.displayCount=null,this.displayType="list",this.editableExpression=null,this.orderByFields=null,this.relationshipId=null,this.type="relationship"}clone(){return new p({description:this.description,displayCount:this.displayCount,displayType:this.displayType,editableExpression:this.editableExpression,label:this.label,orderByFields:i(this.orderByFields),relationshipId:this.relationshipId,visibilityExpression:this.visibilityExpression})}};e([t({type:Number,json:{write:!0}})],l.prototype,"displayCount",void 0),e([t({type:["list"],json:{write:!0}})],l.prototype,"displayType",void 0),e([t({type:String,json:{write:!0}})],l.prototype,"editableExpression",void 0),e([t({type:[r],json:{write:!0}})],l.prototype,"orderByFields",void 0),e([t({type:Number,json:{write:!0}})],l.prototype,"relationshipId",void 0),e([t({type:["relationship"],json:{read:!1,write:!0}})],l.prototype,"type",void 0),l=p=e([s("esri.form.elements.RelationshipElement")],l);const n=l;export{n as default};
