/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{__decorate as t}from"tslib";import{property as e,subclass as o}from"../../../core/accessorSupport/decorators.js";import{TemplateDefinitionBase as s}from"./TemplateDefinitionBase.js";import r from"./parts/PresetTemplateAssociationPart.js";import i from"./parts/PresetTemplatePart.js";import p from"../../../geometry/Point.js";import a from"../../../geometry/SpatialReference.js";let n=class extends s{constructor(t){super(t),this.type="preset",this.parts=[],this.associations=[],this.utilityNetwork=null,this.utilityNetworkAssociationsTable=null}get allParts(){return this.parts}};t([e({readOnly:!0})],n.prototype,"type",void 0),t([e()],n.prototype,"allParts",null),t([e({constructOnly:!0,type:p,json:{write:!0}})],n.prototype,"origin",void 0),t([e({constructOnly:!0,type:[i],json:{name:"features"}})],n.prototype,"parts",void 0),t([e({constructOnly:!0,type:[r],json:{name:"associations"}})],n.prototype,"associations",void 0),t([e({type:a})],n.prototype,"spatialReference",void 0),t([e()],n.prototype,"utilityNetwork",void 0),t([e()],n.prototype,"utilityNetworkAssociationsTable",void 0),n=t([o("esri.editing.sharedTemplates.templateDefinitions.PresetTemplateDefinition")],n);const l=n;export{l as default};
