UNPKG

@arcgis/core

Version:

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

3 lines (2 loc) 884 B
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */ import{__decorate as e}from"tslib";import{ClonableMixin as t}from"../../core/Clonable.js";import{property as r,subclass as o}from"../../core/accessorSupport/decorators.js";import i from"./AttributeTableElement.js";let l=class extends(t(i)){constructor(e){super(e),this.description=null,this.fieldName=null,this.label=null,this.type="field"}clone(){return super.clone()}};e([r({type:String,json:{read:!1,write:!1}})],l.prototype,"description",void 0),e([r({type:String,json:{write:{enabled:!0,isRequired:!0}}})],l.prototype,"fieldName",void 0),e([r({type:String,json:{read:!1,write:!1}})],l.prototype,"label",void 0),e([r({type:["field"],readOnly:!0,json:{read:!1,write:{enabled:!0,isRequired:!0}}})],l.prototype,"type",void 0),l=e([o("esri.tables.elements.AttributeTableFieldElement")],l);const s=l;export{s as default};