UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

6 lines (5 loc) 1.25 kB
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.33/esri/copyright.txt for details. */ import{_ as r}from"../../../../chunks/tslib.es6.js";import{property as o}from"../../../../core/accessorSupport/decorators/property.js";import"../../../../core/has.js";import"../../../../core/Logger.js";import"../../../../core/RandomLCG.js";import{enumeration as e}from"../../../../core/accessorSupport/decorators/enumeration.js";import{subclass as t}from"../../../../core/accessorSupport/decorators/subclass.js";import{SharedTemplateUnsupportedBuilderError as s}from"../../support/sharedTemplateErrors.js";import{TemplatePartBase as p}from"./TemplatePartBase.js";import{builderTypesKebabDict as i}from"./builders/builderUtils.js";let a=class extends p{constructor(r){super(r),this.builderConfig={},this.type="group"}assertIsSupportedPart(){const{builderType:r}=this;if(!i.apiValues.includes(r))throw new s(r)}};r([e(i,{ignoreUnknown:!1,name:"type"})],a.prototype,"builderType",void 0),r([o({json:{name:"options"}})],a.prototype,"builderConfig",void 0),r([o()],a.prototype,"type",void 0),a=r([t("esri.editing.sharedTemplates.templateDefinitions.parts.GroupTemplatePart")],a);const m=a;export{m as default};