UNPKG

@arcgis/core

Version:

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

6 lines (5 loc) 2.35 kB
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.32/esri/copyright.txt for details. */ import s from"../../geometry/SpatialReference.js";class t{constructor(){this.version="",this.queryResult=new e}}class e{constructor(){this.featureResult=new i}}class i{constructor(){this.objectIdFieldName="",this.uniqueIdField=new r,this.globalIdFieldName="",this.geohashFieldName="",this.geometryProperties=new a,this.geometryType=null,this.spatialReference=new s,this.exceededTransferLimit=!1,this.hasZ=!1,this.hasM=!1,this.transform=new h,this.fields=[],this.fieldNameToAttributeIndexMap={},this.values=[],this.features=[],this.geometryFields=[]}}class r{constructor(){this.name="",this.isSystemMaintained=!1}}class a{constructor(){this.shapeAreaFieldName="",this.shapeLengthFieldName="",this.units=""}}class h{constructor(){this.quantizeOriginPosition="upperLeft",this.scale=new n,this.translate=new o}}class n{constructor(){this.xScale=0,this.yScale=0,this.mScale=0,this.zScale=0}}class o{constructor(){this.xTranslate=0,this.yTranslate=0,this.mTranslate=0,this.zTranslate=0}}class c{constructor(){this.name="",this.fieldType="esriFieldTypeString",this.alias="",this.sqlType="sqlTypeVarchar",this.domain="",this.defaultValue=""}}class l{constructor(){this.attributes=[],this.compressedGeometry=new E,this.centroid=new E,this.aggregateGeometries=[]}}class E{constructor(){this.geometryType=null,this.lengths=[],this.coords=[]}}class u extends c{constructor(){super(...arguments),this.geometryType="esriGeometryPoint"}}var T;!function(s){s.ELEMENTUID="ELEMENTUID",s.TYPENAME="TYPENAME"}(T||(T={}));const m=[T.ELEMENTUID,T.TYPENAME];var d,N;!function(s){s[s.ELEMENTUID=0]="ELEMENTUID",s[s.TYPENAME=1]="TYPENAME"}(d||(d={})),function(s){s[s.ELEMENTUID=0]="ELEMENTUID",s[s.TYPENAME=1]="TYPENAME",s[s.FROMUID=2]="FROMUID",s[s.TOUID=3]="TOUID"}(N||(N={}));export{E as CompressedGeometry,l as Feature,i as FeatureResult,c as Field,u as GeometryField,a as GeometryProperties,t as ProtoFeatureCollection,T as ProtoInboundFeatureCollectionAttributionNames,m as ProtoInboundFeatureCollectionRequiredAttributes,d as ProtoOutboundEntityFeatureCollectionAttributionIndexes,N as ProtoOutboundRelationshipFeatureCollectionAttributionIndexes,e as QueryResult,n as Scale,h as Transform,o as Translate,r as UniqueIdField};