@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 1.5 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
*/
import{_ as e}from"../chunks/tslib.es6.js";import t from"../core/JSONSupport.js";import{clone as r}from"../core/lang.js";import{property as o}from"../core/accessorSupport/decorators/property.js";import{cast as s}from"../core/accessorSupport/decorators/cast.js";import{reader as l}from"../core/accessorSupport/decorators/reader.js";import{subclass as p}from"../core/accessorSupport/decorators/subclass.js";import{writer as m}from"../core/accessorSupport/decorators/writer.js";import n from"./elements/AttributeTableGroupElement.js";import{ensureType as a,fromJSON as c,toJSON as i,buildTypeMaps as u}from"./support/tablesUtils.js";var d;const b=u(n);let j=d=class extends t{constructor(e){super(e),this.elements=null,this.orderByFields=null}castElements(e){return a(e,b)}readElements(e,t){return c(t.attributeTableElements,b)}writeElements(e,t){t.attributeTableElements=i(e,b)}clone(){return new d({elements:r(this.elements),orderByFields:this.orderByFields})}};e([o({json:{write:!0}})],j.prototype,"elements",void 0),e([s("elements")],j.prototype,"castElements",null),e([l("elements",["attributeTableElements"])],j.prototype,"readElements",null),e([m("elements")],j.prototype,"writeElements",null),e([o({type:[Object],json:{write:!0}})],j.prototype,"orderByFields",void 0),j=d=e([p("esri.tables.AttributeTableTemplate")],j);const f=j;export{f as default};