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