@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 1.17 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
*/
import{_ as t}from"../../../chunks/tslib.es6.js";import{property as e}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/has.js";import"../../../core/Logger.js";import"../../../core/RandomLCG.js";import{subclass as r}from"../../../core/accessorSupport/decorators/subclass.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})],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};