@arcgis/core 5.0.0-next.58 → 5.0.0-next.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Graphic.d.ts +2 -2
- package/Viewpoint.d.ts +1 -1
- package/applications/Urban/meshUtils.d.ts +2 -2
- package/arcade.d.ts +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/0bd73a66baea2f52e8a6.js +1 -0
- package/assets/esri/core/workers/chunks/262c5794650853457acc.js +1 -0
- package/assets/esri/core/workers/chunks/55a9ea536c64976c3409.js +1 -0
- package/assets/esri/core/workers/chunks/{5f9e64f00329cb646f0c.js → 741d170187e58e81584d.js} +1 -1
- package/assets/esri/layers/raster/formats/lerc-wasm.wasm +0 -0
- package/assets/esri/themes/base/widgets/_Attribution.scss +2 -2
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
- package/chunks/lerc-wasm.js +1 -1
- package/config.js +1 -1
- package/geometry/Extent.d.ts +1 -1
- package/geometry/Mesh.d.ts +2 -2
- package/geometry/SpatialReference.js +1 -1
- package/geometry/geometryEngine.d.ts +3 -3
- package/geometry/{geometryEngineInterfaces.d.ts → geometryEngineTypes.d.ts} +1 -1
- package/geometry/operators/affineTransformOperator.d.ts +3 -3
- package/geometry/operators/alphaShapeOperator.d.ts +1 -1
- package/geometry/operators/areaOperator.d.ts +1 -1
- package/geometry/operators/boundaryOperator.d.ts +3 -3
- package/geometry/operators/bufferOperator.d.ts +1 -1
- package/geometry/operators/centroidOperator.d.ts +1 -1
- package/geometry/operators/clipOperator.d.ts +3 -3
- package/geometry/operators/containsOperator.d.ts +1 -1
- package/geometry/operators/convexHullOperator.d.ts +3 -3
- package/geometry/operators/crossesOperator.d.ts +1 -1
- package/geometry/operators/cutOperator.d.ts +2 -2
- package/geometry/operators/densifyOperator.d.ts +3 -3
- package/geometry/operators/differenceOperator.d.ts +3 -3
- package/geometry/operators/disjointOperator.d.ts +1 -1
- package/geometry/operators/distanceOperator.d.ts +1 -1
- package/geometry/operators/equalsOperator.d.ts +1 -1
- package/geometry/operators/generalizeOperator.d.ts +3 -3
- package/geometry/operators/geodesicBufferOperator.d.ts +1 -2
- package/geometry/operators/geodesicProximityOperator.d.ts +2 -5
- package/geometry/operators/geodeticAreaOperator.d.ts +1 -2
- package/geometry/operators/geodeticDensifyOperator.d.ts +3 -4
- package/geometry/operators/geodeticDistanceOperator.d.ts +1 -2
- package/geometry/operators/geodeticLengthOperator.d.ts +1 -2
- package/geometry/operators/geodeticUtilsOperator.d.ts +1 -1
- package/geometry/operators/graphicBufferOperator.d.ts +1 -1
- package/geometry/operators/integrateOperator.d.ts +2 -2
- package/geometry/operators/intersectionOperator.d.ts +3 -3
- package/geometry/operators/intersectsOperator.d.ts +1 -1
- package/geometry/operators/isNearOperator.d.ts +1 -1
- package/geometry/operators/labelPointOperator.d.ts +1 -1
- package/geometry/operators/lengthOperator.d.ts +1 -1
- package/geometry/operators/linesToPolygonsOperator.d.ts +1 -1
- package/geometry/operators/locateBetweenOperator.d.ts +2 -2
- package/geometry/operators/minimumBoundingCircleOperator.d.ts +1 -1
- package/geometry/operators/multiPartToSinglePartOperator.d.ts +2 -2
- package/geometry/operators/offsetOperator.d.ts +3 -3
- package/geometry/operators/overlapsOperator.d.ts +1 -1
- package/geometry/operators/projectOperator.d.ts +4 -6
- package/geometry/operators/proximityOperator.d.ts +2 -2
- package/geometry/operators/relateOperator.d.ts +1 -1
- package/geometry/operators/shapePreservingProjectOperator.d.ts +3 -3
- package/geometry/operators/simplifyOGCOperator.d.ts +3 -3
- package/geometry/operators/simplifyOperator.d.ts +3 -3
- package/geometry/operators/symmetricDifferenceOperator.d.ts +3 -3
- package/geometry/operators/touchesOperator.d.ts +1 -1
- package/geometry/operators/{support/proximityResult.d.ts → types.d.ts} +18 -3
- package/geometry/operators/unionOperator.d.ts +3 -3
- package/geometry/operators/withinOperator.d.ts +1 -1
- package/geometry/support/geodesicUtils.d.ts +15 -2
- package/geometry/support/jsonUtils.d.ts +1 -1
- package/geometry/support/meshUtils/types.d.ts +34 -0
- package/geometry/support/meshUtils.d.ts +4 -7
- package/geometry/support/webMercatorUtils.d.ts +1 -1
- package/geometry/types.d.ts +23 -1
- package/geometry.d.ts +1 -1
- package/interfaces.d.ts +69 -72
- package/kernel.js +1 -1
- package/layers/CSVLayer.d.ts +0 -2
- package/layers/CatalogLayer.d.ts +1 -1
- package/layers/FeatureLayer.d.ts +1 -1
- package/layers/GeoJSONLayer.d.ts +1 -1
- package/layers/OGCFeatureLayer.d.ts +1 -1
- package/layers/OrientedImageryLayer.d.ts +1 -3
- package/layers/ParquetLayer.d.ts +1 -1
- package/layers/WFSLayer.d.ts +1 -1
- package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +2 -2
- package/layers/mixins/APIKeyMixin.d.ts +2 -2
- package/layers/mixins/ArcGISImageService.d.ts +4 -3
- package/layers/mixins/BlendLayer.d.ts +16 -15
- package/layers/mixins/DisplayFilteredLayer.d.ts +6 -3
- package/layers/mixins/FeatureEffectLayer.d.ts +23 -21
- package/layers/mixins/FeatureLayerBase.d.ts +23 -20
- package/layers/mixins/ImageryTileMixin.d.ts +5 -5
- package/layers/mixins/PortalLayer.d.ts +7 -7
- package/layers/mixins/RasterPresetRendererMixin.d.ts +6 -3
- package/layers/mixins/SceneService.d.ts +2 -2
- package/layers/mixins/TemporalLayer.d.ts +8 -7
- package/layers/mixins/TemporalSceneLayer.d.ts +2 -2
- package/layers/mixins/TrackableLayer.d.ts +4 -4
- package/layers/ogc/wfsUtils.d.ts +1 -1
- package/layers/raster/formats/Lerc.js +1 -1
- package/layers/raster/functions/creators/createSurfaceFunctions.d.ts +2 -2
- package/layers/support/DisplayFilterInfo.d.ts +7 -7
- package/layers/support/FeatureReductionCluster.d.ts +5 -5
- package/layers/support/FieldsIndex.d.ts +1 -2
- package/layers/support/RasterBandInfo.d.ts +1 -1
- package/layers/support/RasterInfo.d.ts +2 -2
- package/layers/support/RasterSensorInfo.d.ts +1 -1
- package/layers/support/Sublayer.d.ts +3 -3
- package/layers/support/SubtypeSublayer.d.ts +1 -1
- package/layers/support/TrackInfo.d.ts +2 -2
- package/layers/support/arcgisLayerUrl.js +1 -1
- package/layers/support/fieldUtils.d.ts +0 -1
- package/layers/support/source/QueryTableDataSource.d.ts +2 -2
- package/layers/support/types.d.ts +2 -2
- package/layers/types.d.ts +1 -1
- package/package.json +1 -1
- package/popup/FieldInfo.d.ts +8 -8
- package/popup/content/AttachmentsContent.d.ts +2 -2
- package/popup/content/CustomContent.d.ts +1 -1
- package/portal/interfaces.d.ts +2 -2
- package/portal/support/resourceUtils.d.ts +6 -7
- package/rest/featureService/types.d.ts +1 -1
- package/rest/geometryService.d.ts +2 -2
- package/rest/imageService.d.ts +1 -1
- package/rest/knowledgeGraph/GraphAnyValue.d.ts +1 -1
- package/rest/query/support/AttachmentInfo.d.ts +1 -1
- package/rest/query.d.ts +1 -1
- package/rest/support/BufferParameters.d.ts +1 -1
- package/rest/support/DataLayer.d.ts +1 -1
- package/rest/support/DensifyParameters.d.ts +1 -1
- package/rest/support/DistanceParameters.d.ts +1 -1
- package/rest/support/FeatureSet.d.ts +2 -2
- package/rest/support/FindImagesParameters.d.ts +1 -1
- package/rest/support/GeneralizeParameters.d.ts +1 -1
- package/rest/support/IdentifyParameters.d.ts +1 -1
- package/rest/support/ImageGPSInfoParameters.d.ts +1 -1
- package/rest/support/ImageMeasureResultAreaValue.d.ts +1 -1
- package/rest/support/ImageToMapMultirayParameters.d.ts +1 -1
- package/rest/support/OffsetParameters.d.ts +1 -1
- package/rest/support/ProjectParameters.d.ts +1 -1
- package/rest/support/Query.d.ts +1 -1
- package/rest/support/QueryMixin.d.ts +1 -1
- package/rest/support/RelationParameters.d.ts +1 -1
- package/rest/support/RelationshipQuery.d.ts +1 -1
- package/rest/support/TopFeaturesQuery.d.ts +1 -1
- package/smartMapping/labels/bins.d.ts +3 -6
- package/smartMapping/labels/clusters.d.ts +2 -2
- package/smartMapping/popup/clusters.d.ts +4 -4
- package/smartMapping/popup/templates.d.ts +4 -4
- package/smartMapping/renderers/color.d.ts +6 -6
- package/smartMapping/renderers/size.d.ts +6 -6
- package/smartMapping/statistics/support/ageUtils.d.ts +5 -5
- package/smartMapping/statistics/types.d.ts +5 -5
- package/smartMapping/types.d.ts +9 -1
- package/support/revision.js +1 -1
- package/unionTypes.d.ts +1 -1
- package/views/2d/MapViewConstraints.d.ts +5 -4
- package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
- package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
- package/views/BreakpointsOwner.d.ts +1 -1
- package/views/LinkChartView.d.ts +1 -2
- package/views/MapView.d.ts +1 -2
- package/views/SceneView.d.ts +1 -2
- package/views/View.d.ts +1 -1
- package/views/Viewport2DMixin.d.ts +1 -1
- package/views/draw/MultipointDrawAction.d.ts +1 -1
- package/views/draw/MultipointDrawAction.js +1 -1
- package/views/draw/PointDrawAction.d.ts +1 -1
- package/views/draw/PointDrawAction.js +1 -1
- package/views/draw/PolygonDrawAction.d.ts +1 -1
- package/views/draw/PolygonDrawAction.js +1 -1
- package/views/draw/PolylineDrawAction.d.ts +1 -1
- package/views/draw/PolylineDrawAction.js +1 -1
- package/views/draw/SegmentDrawAction.d.ts +1 -1
- package/views/draw/SegmentDrawAction.js +1 -1
- package/views/input/{IViewEvents.js → mouseButtons.js} +1 -1
- package/views/input/types.d.ts +602 -1
- package/views/layers/BuildingSceneLayerView.d.ts +1 -1
- package/views/layers/FeatureLayerViewMixin.d.ts +1 -1
- package/views/layers/ImageryLayerViewMixin.d.ts +1 -1
- package/views/layers/MediaLayerViewMixin.d.ts +1 -1
- package/views/layers/PointCloudLayerView.d.ts +1 -1
- package/views/layers/SceneLayerView.d.ts +2 -2
- package/views/types.d.ts +148 -2
- package/webdoc/geotriggersInfo/FeatureFilter.d.ts +1 -1
- package/webscene/support/FeatureReferenceObjectId.d.ts +1 -1
- package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +1 -2
- package/widgets/BasemapLayerList.d.ts +3 -4
- package/widgets/CatalogLayerList/CatalogLayerListViewModel.d.ts +1 -1
- package/widgets/CatalogLayerList.d.ts +2 -4
- package/widgets/Directions/DirectionsViewModel.d.ts +1 -1
- package/widgets/Editor/types.d.ts +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +2 -2
- package/widgets/FeatureTable/VisibleElements.d.ts +30 -9
- package/widgets/FeatureTable/support/AttachmentsViewOptions.d.ts +1 -1
- package/widgets/FeatureTable/support/interfaces.d.ts +2 -2
- package/widgets/FeatureTable.d.ts +4 -4
- package/widgets/LayerList/LayerListViewModel.d.ts +9 -10
- package/widgets/LayerList/ListItem.d.ts +9 -11
- package/widgets/LayerList/ListItemPanel.d.ts +1 -1
- package/widgets/LayerList.d.ts +7 -4
- package/widgets/Legend/LegendViewModel.d.ts +5 -5
- package/widgets/Legend/support/ActiveLayerInfo.d.ts +5 -5
- package/widgets/Legend.d.ts +4 -4
- package/widgets/Popup/types.d.ts +3 -3
- package/widgets/Popup.d.ts +3 -3
- package/widgets/TableList/TableListViewModel.d.ts +2 -4
- package/widgets/TableList.d.ts +1 -1
- package/widgets/UtilityNetworkTrace/types.d.ts +1 -1
- package/assets/esri/core/workers/chunks/052ded41dc06c93ec0a7.js +0 -1
- package/assets/esri/core/workers/chunks/a1f264abbd6354c333bf.js +0 -1
- package/assets/esri/core/workers/chunks/ed38c1043e6a83f49f93.js +0 -1
- package/geometry/geodesicUtils.d.ts +0 -19
- package/geometry/operators/support/geodeticCurveType.d.ts +0 -2
- package/geometry/operators/support/projectionTransformation.d.ts +0 -16
- package/geometry/support/MeshVertexSpace.d.ts +0 -4
- package/geometry/support/meshUtils/elevation.d.ts +0 -16
- package/geometry/support/meshUtils/elevationSampler.d.ts +0 -9
- package/geometry/support/meshUtils/georeference.d.ts +0 -10
- package/geometry/support/typeUtils.d.ts +0 -16
- package/smartMapping/popup/support/utils.d.ts +0 -13
- package/smartMapping/support/binningUtils.d.ts +0 -11
- package/smartMapping/support/clusterUtils.d.ts +0 -11
- package/smartMapping/support/utils.d.ts +0 -4
- package/views/2d/constraints/GeometryConstraint.d.ts +0 -4
- package/views/HitTestItem3D.d.ts +0 -20
- package/views/HitTestOptions.d.ts +0 -25
- package/views/IBreakpointsOwner.d.ts +0 -55
- package/views/IObjectId.d.ts +0 -2
- package/views/ISceneView.d.ts +0 -5
- package/views/IView.d.ts +0 -43
- package/views/input/IViewEvents.d.ts +0 -602
- /package/views/draw/input/{CursorUpdateEvents.d.ts → CursorUpdateEvent.d.ts} +0 -0
- /package/views/draw/input/{CursorUpdateEvents.js → CursorUpdateEvent.js} +0 -0
- /package/views/layers/{HighlightableLayerView.d.ts → types.d.ts} +0 -0
package/layers/ogc/wfsUtils.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import type Extent from "../../geometry/Extent.js";
|
|
|
8
8
|
import type SpatialReference from "../../geometry/SpatialReference.js";
|
|
9
9
|
import type Field from "../support/Field.js";
|
|
10
10
|
import type { AbortOptions } from "../../core/promiseUtils.js";
|
|
11
|
-
import type { FeatureGeometryType } from "../../geometry/
|
|
11
|
+
import type { FeatureGeometryType } from "../../geometry/types.js";
|
|
12
12
|
import type { CustomParameters } from "../mixins/CustomParametersMixin.js";
|
|
13
13
|
|
|
14
14
|
export interface GetCapabilitiesOptions extends AbortOptions {
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{getAssetUrl as e}from"../../../assets.js";const t=[{pixelType:"S8",size:1,ctor:Int8Array,range:[-128,127]},{pixelType:"U8",size:1,ctor:Uint8Array,range:[0,255]},{pixelType:"S16",size:2,ctor:Int16Array,range:[-32768,32767]},{pixelType:"U16",size:2,ctor:Uint16Array,range:[0,65536]},{pixelType:"S32",size:4,ctor:Int32Array,range:[-2147483648,2147483647]},{pixelType:"U32",size:4,ctor:Uint32Array,range:[0,4294967296]},{pixelType:"F32",size:4,ctor:Float32Array,range:[-34027999387901484e22,34027999387901484e22]},{pixelType:"F64",size:8,ctor:Float64Array,range:[-17976931348623157e292,17976931348623157e292]}];let n=null;function r(){return n||(n=import("../../../chunks/lerc-wasm.js").then(
|
|
5
|
+
import{getAssetUrl as e}from"../../../assets.js";const t=[{pixelType:"S8",size:1,ctor:Int8Array,range:[-128,127]},{pixelType:"U8",size:1,ctor:Uint8Array,range:[0,255]},{pixelType:"S16",size:2,ctor:Int16Array,range:[-32768,32767]},{pixelType:"U16",size:2,ctor:Uint16Array,range:[0,65536]},{pixelType:"S32",size:4,ctor:Int32Array,range:[-2147483648,2147483647]},{pixelType:"U32",size:4,ctor:Uint32Array,range:[0,4294967296]},{pixelType:"F32",size:4,ctor:Float32Array,range:[-34027999387901484e22,34027999387901484e22]},{pixelType:"F64",size:8,ctor:Float64Array,range:[-17976931348623157e292,17976931348623157e292]}];let n=null;function r(){return n||(n=import("../../../chunks/lerc-wasm.js").then(({default:t})=>t({locateFile:t=>e(`esri/layers/raster/formats/${t}`)})).then(e=>{l(e)}),n)}const a={getBlobInfo:null,decode:null};function o(e){return 16+(e>>3<<3)}function s(e,t,n){n.set(e.slice(t,t+n.length))}function l(e){const{_malloc:n,_free:r,memory:l,_lerc_getBlobInfo:i,_lerc_getDataRanges:u,_lerc_decode_4D:c}=e;let f;const y=e=>{const t=e.map(e=>o(e)),r=t.reduce((e,t)=>e+t),a=n(r);f=new Uint8Array(l.buffer);let s=t[0];t[0]=a;for(let n=1;n<t.length;n++){const e=t[n];t[n]=t[n-1]+s,s=e}return t};a.getBlobInfo=e=>{const t=12,n=3,a=new Uint8Array(4*t),o=new Uint8Array(8*n),[c,h,p]=y([e.length,a.length,o.length]);f.set(e,c),f.set(a,h),f.set(o,p);let g=i(c,e.length,h,p,t,n);if(g)throw r(c),new Error(`lerc-getBlobInfo: error code is ${g}`);f=new Uint8Array(l.buffer),s(f,h,a),s(f,p,o);const d=new Uint32Array(a.buffer),w=new Float64Array(o.buffer),[b,A,,m,U,x,C,V,T,D,z]=d,I={version:b,depthCount:D,width:m,height:U,validPixelCount:C,bandCount:x,blobSize:V,maskCount:T,dataType:A,minValue:w[0],maxValue:w[1],maxZerror:w[2],statistics:[],bandCountWithNoData:z};if(z&&D>1)return r(c),I;if(1===D&&1===x)return r(c),I.statistics.push({minValue:w[0],maxValue:w[1]}),I;const F=D*x*8,_=new Uint8Array(F),k=new Uint8Array(F);let B=c,S=0,$=0,v=!1;if(f.byteLength<c+2*F?(r(c),v=!0,[B,S,$]=y([e.length,F,F]),f.set(e,B)):[S,$]=y([F,F]),f.set(_,S),f.set(k,$),g=u(B,e.length,D,x,S,$),g)throw r(B),v||r(S),new Error(`lerc-getDataRanges: error code is ${g}`);f=new Uint8Array(l.buffer),s(f,S,_),s(f,$,k);const E=new Float64Array(_.buffer),M=new Float64Array(k.buffer),O=I.statistics;for(let r=0;r<x;r++)if(D>1){const e=E.slice(r*D,(r+1)*D),t=M.slice(r*D,(r+1)*D),n=Math.min.apply(null,e),a=Math.max.apply(null,t);O.push({minValue:n,maxValue:a,depthStats:{minValues:e,maxValues:t}})}else O.push({minValue:E[r],maxValue:M[r]});return r(B),v||r(S),I},a.decode=(e,n)=>{const{maskCount:a,depthCount:o,bandCount:i,width:u,height:h,dataType:p,bandCountWithNoData:g}=n,d=t[p],w=u*h,b=new Uint8Array(w*i),A=w*o*i*d.size,m=new Uint8Array(A),U=new Uint8Array(i),x=new Uint8Array(8*i),[C,V,T,D,z]=y([e.length,b.length,m.length,U.length,x.length]);f.set(e,C),f.set(b,V),f.set(m,T),f.set(U,D),f.set(x,z);const I=c(C,e.length,a,V,o,u,h,i,p,T,D,z);if(I)throw r(C),new Error(`lerc-decode: error code is ${I}`);f=new Uint8Array(l.buffer),s(f,T,m),s(f,V,b);let F=null;if(g){s(f,D,U),s(f,z,x),F=[];const e=new Float64Array(x.buffer);for(let t=0;t<U.length;t++)F.push(U[t]?e[t]:null)}return r(C),{data:m,maskData:b,noDataValues:F}}}function i(e,t,n,r,a){if(n<2)return e;const o=new r(t*n);for(let s=0,l=0;s<t;s++)for(let r=0,a=s;r<n;r++,a+=t)o[a]=e[l++];return o}function u(e,n={}){const r=n.inputOffset??0,o=e instanceof Uint8Array?e.subarray(r):new Uint8Array(e,r),s=a.getBlobInfo(o),{data:l,maskData:u,noDataValues:c}=a.decode(o,s),{width:f,height:y,bandCount:h,depthCount:p,dataType:g,maskCount:d,statistics:w}=s,b=t[g],A=new b.ctor(l.buffer),m=[],U=[],x=f*y,C=x*p;for(let t=0;t<h;t++){const e=A.subarray(t*C,(t+1)*C);if(n.returnInterleaved)m.push(e);else{const t=i(e,x,p,b.ctor);m.push(t)}U.push(u.subarray(t*C,(t+1)*C))}const V=0===d?null:1===d?U[0]:new Uint8Array(x);if(d>1){V.set(U[0]);for(let e=1;e<U.length;e++){const t=U[e];for(let e=0;e<x;e++)V[e]=V[e]&t[e]}}const{noDataValue:T}=n,D=null!=T&&b.range[0]<=T&&b.range[1]>=T;if(d>0&&D)for(let t=0;t<h;t++){const e=m[t],n=U[t]||V;for(let t=0;t<x;t++)0===n[t]&&(e[t]=T)}const z=d===h&&h>1?U:null,{pixelType:I}=b;return{width:f,height:y,bandCount:h,pixelType:I,depthCount:p,statistics:w,pixels:m,mask:V,bandMasks:z,noDataValues:c}}function c(e,t={}){const n=e instanceof Uint8Array?e.subarray(t.inputOffset??0):new Uint8Array(e,t.inputOffset??0);return a.getBlobInfo(n)}export{u as decode,c as getBlobInfo,r as load,t as pixelTypeInfoMap};
|
|
@@ -6,13 +6,13 @@ import type { RasterColorRampName } from "../../../../renderers/support/colorRam
|
|
|
6
6
|
export interface SlopeParameters extends BaseRasterFunctionParameters {
|
|
7
7
|
/**
|
|
8
8
|
* Pixel size factor accounts for changes in scale as the viewer zooms in and out on the map display. It controls the rate at which the zFactor changes.
|
|
9
|
-
* This parameter is only valid when the
|
|
9
|
+
* This parameter is only valid when the `slopeType` is `adjusted`.
|
|
10
10
|
*/
|
|
11
11
|
pixelSizePower?: number;
|
|
12
12
|
/**
|
|
13
13
|
* Pixel Size Power accounts for the altitude changes (or scale) as the viewer zooms in and out on the map display. It is the exponent applied to the pixel
|
|
14
14
|
* size term in the equation that controls the rate at which the zFactor changes to avoid significant loss of relief.
|
|
15
|
-
* This parameter is only valid when the
|
|
15
|
+
* This parameter is only valid when the `slopeType` is `adjusted`.
|
|
16
16
|
*/
|
|
17
17
|
pixelSizeZFactor?: number;
|
|
18
18
|
/** Remove edge effect when true */
|
|
@@ -25,10 +25,10 @@ export interface DisplayFilterInfoProperties extends JSONSupportMixinProperties,
|
|
|
25
25
|
*
|
|
26
26
|
* > [!WARNING]
|
|
27
27
|
* >
|
|
28
|
-
* > To optimize memory usage for rendering, display filters may be appended to the
|
|
28
|
+
* > To optimize memory usage for rendering, display filters may be appended to the layer's [definitionExpression](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression) when querying the service.
|
|
29
29
|
* > As a result, the filtered features may not be available on the client for executing layer view [queries](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#queryFeatures).
|
|
30
|
-
* > To determine if all features are available in the view, check the layer view's [
|
|
31
|
-
* > property when layer view's [
|
|
30
|
+
* > To determine if all features are available in the view, check the layer view's [hasAllFeaturesInView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#hasAllFeaturesInView)
|
|
31
|
+
* > property when layer view's [dataUpdating](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#dataUpdating) is `false`. If `false`, the layer view does not have all features in the view
|
|
32
32
|
* > and you should query the layer instead.
|
|
33
33
|
*
|
|
34
34
|
* @since 4.32
|
|
@@ -50,14 +50,14 @@ export default class DisplayFilterInfo extends DisplayFilterInfoSuperclass {
|
|
|
50
50
|
* * **Scale-dependent filter:** Each display filter on a layer is associated with a visible scale range. The active display filter is determined by the current scale of the view.
|
|
51
51
|
* This approach is useful for layers with dense features at small scales where rendering can become difficult to interpret or slow.
|
|
52
52
|
* When setting scale ranges, note that scale boundaries are treated as follows:
|
|
53
|
-
* * The [
|
|
54
|
-
* The [
|
|
53
|
+
* * The [minScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-DisplayFilter.html#minScale) is inclusive, meaning the filter is applied at this scale and all larger scales (i.e., when zoomed in).
|
|
54
|
+
* The [maxScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-DisplayFilter.html#maxScale) is exclusive, meaning the filter is applied up to (but not including) this scale.
|
|
55
55
|
* * Scale range filters can overlap or have gaps:
|
|
56
56
|
* * If filters overlap, the first filter in the [filters](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-DisplayFilterInfo.html#filters) is applied.
|
|
57
57
|
* * If there are scale gaps between filters, no filter is applied.
|
|
58
58
|
*
|
|
59
|
-
* * **Manual filter:** Each display filter is defined by a [
|
|
60
|
-
* at a time, and it must be manually selected by setting the [activeFilterId](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-DisplayFilterInfo.html#activeFilterId) property to the [
|
|
59
|
+
* * **Manual filter:** Each display filter is defined by a [where](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-DisplayFilter.html#where) clause and does not rely on scale. Only one filter can be active
|
|
60
|
+
* at a time, and it must be manually selected by setting the [activeFilterId](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-DisplayFilterInfo.html#activeFilterId) property to the [id](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-DisplayFilter.html#id) property of the filter.
|
|
61
61
|
* This filter mode is useful for making visual comparisons between different subsets of data.
|
|
62
62
|
*
|
|
63
63
|
* @default "manual"
|
|
@@ -532,7 +532,7 @@ export interface FeatureReductionClusterProperties extends JSONSupportMixinPrope
|
|
|
532
532
|
* > cluster renderer, if you want individual features to be smaller than the smallest clusters (two
|
|
533
533
|
* > features), then you need to adjust the size of the symbols in the `layer.renderer` to sizes smaller
|
|
534
534
|
* > than the [clusterMinSize](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html#clusterMinSize).
|
|
535
|
-
* > - The
|
|
535
|
+
* > - The [clusterMaxSize](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html#clusterMaxSize) and [clusterRadius](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html#clusterRadius) complement each other. If you adjust one, you should adjust the other (a larger
|
|
536
536
|
* > `maxClusterSize` should have a larger `clusterRadius`).
|
|
537
537
|
* > - Turn off [label deconfliction](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#deconflictionStrategy) when labeling clusters with a count in the center of the cluster.
|
|
538
538
|
* > If label placement is outside the cluster, keep label deconfliction enabled.
|
|
@@ -562,7 +562,7 @@ export interface FeatureReductionClusterProperties extends JSONSupportMixinPrope
|
|
|
562
562
|
*
|
|
563
563
|
* ### Visual Variables
|
|
564
564
|
*
|
|
565
|
-
* When any numeric field is used by the renderer with one or more
|
|
565
|
+
* When any numeric field is used by the renderer with one or more [visual variables](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-VisualVariable.html),
|
|
566
566
|
* the average value of that field will be used in the cluster symbology and made available to the developer in the [popupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html#popupTemplate).
|
|
567
567
|
*
|
|
568
568
|
* In the example below, the layer representing weather stations is rendered with three visual variables: color, size, and rotation. When clustering is enabled, the average of each field
|
|
@@ -577,8 +577,8 @@ export interface FeatureReductionClusterProperties extends JSONSupportMixinPrope
|
|
|
577
577
|
*
|
|
578
578
|
* When a clustered layer contains a [UniqueValueRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-UniqueValueRenderer.html) or a
|
|
579
579
|
* [ClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html), the clustered graphics are rendered with the
|
|
580
|
-
* symbol of the most common, or predominant, value of the [
|
|
581
|
-
* (or [
|
|
580
|
+
* symbol of the most common, or predominant, value of the [uniqueValueInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-UniqueValueRenderer.html#uniqueValueInfos)
|
|
581
|
+
* (or [classBreakInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html#classBreakInfos)) of the features
|
|
582
582
|
* represented by the cluster.
|
|
583
583
|
*
|
|
584
584
|
* Display all points | Display clustered features
|
|
@@ -602,7 +602,7 @@ export interface FeatureReductionClusterProperties extends JSONSupportMixinPrope
|
|
|
602
602
|
* > - Not supported in all other layer types, including [MapImageLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html).
|
|
603
603
|
* > - Not supported for any layer with a [HeatmapRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-HeatmapRenderer.html) or a
|
|
604
604
|
* > [UniqueValueRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-UniqueValueRenderer.html) defined with multiple fields
|
|
605
|
-
* > (i.e. [
|
|
605
|
+
* > (i.e. [field2](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-UniqueValueRenderer.html#field2), [field3](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-UniqueValueRenderer.html#field3)).
|
|
606
606
|
* > - Layer views with an applied [FeatureEffect](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureEffect.html) cannot be clustered.
|
|
607
607
|
*
|
|
608
608
|
* @since 4.14
|
|
@@ -8,8 +8,7 @@ import type Field from "./Field.js";
|
|
|
8
8
|
*
|
|
9
9
|
* @since 4.12
|
|
10
10
|
*/
|
|
11
|
-
export default class FieldsIndex<T extends Field = Field> {
|
|
12
|
-
constructor(fields?: T[] | null | undefined);
|
|
11
|
+
export default abstract class FieldsIndex<T extends Field = Field> {
|
|
13
12
|
/**
|
|
14
13
|
* An array of date fields or field json objects.
|
|
15
14
|
*
|
|
@@ -5,7 +5,7 @@ export interface RasterBandInfoProperties extends JSONSupportMixinProperties, Pa
|
|
|
5
5
|
/**
|
|
6
6
|
* `RasterBandInfo` class provides additional information for each raster band in an image service
|
|
7
7
|
* referenced by [ImageryLayer#serviceRasterInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html#serviceRasterInfo) or
|
|
8
|
-
*
|
|
8
|
+
* [ImageryTileLayer.serviceRasterInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html#serviceRasterInfo). A band is represented by a single matrix of
|
|
9
9
|
* pixel values, and a raster with multiple bands contains multiple spatially coincident matrices of
|
|
10
10
|
* pixel values representing the same spatial area. Image services can include information such as the
|
|
11
11
|
* band name, band index value, wavelength range, the radiance gain, radiance bias, and solar irradiance. All other raster
|
|
@@ -65,8 +65,8 @@ export default abstract class RasterInfo extends JSONSupport {
|
|
|
65
65
|
* Value | Description |
|
|
66
66
|
* ----- | ----------- |
|
|
67
67
|
* generic | Uses the application defaults for resampling and stretching.
|
|
68
|
-
* elevation | Applies bilinear resampling and a
|
|
69
|
-
* thematic | Applies nearest neighbor resampling and a
|
|
68
|
+
* elevation | Applies bilinear resampling and a [Min-Max stretch](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-RasterStretchRenderer.html#stretchType).
|
|
69
|
+
* thematic | Applies nearest neighbor resampling and a [Standard Deviation stretch](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-RasterStretchRenderer.html#stretchType).
|
|
70
70
|
* processed | No stretch is applied.
|
|
71
71
|
* scientific | Uses the blue to red color ramp to display the data.
|
|
72
72
|
* vector-uv | Uses the U (magnitude component) and V(direction component) components in the vector field renderer.
|
|
@@ -8,7 +8,7 @@ export interface RasterSensorInfoProperties extends JSONSupportMixinProperties,
|
|
|
8
8
|
/**
|
|
9
9
|
* The `RasterSensorInfo` class provides additional information on the raster sensor associated with an image service
|
|
10
10
|
* referenced by [ImageryLayer#serviceRasterInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html#serviceRasterInfo) or
|
|
11
|
-
*
|
|
11
|
+
* [ImageryTileLayer#serviceRasterInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html#serviceRasterInfo).
|
|
12
12
|
* This information includes sensor name, product name, imagery acquisition date, cloud coverage,
|
|
13
13
|
* sun and sensor elevation and azimuth angle.
|
|
14
14
|
*
|
|
@@ -31,7 +31,7 @@ import type { AttachmentQueryProperties } from "../../rest/support/AttachmentQue
|
|
|
31
31
|
import type { QueryProperties } from "../../rest/support/Query.js";
|
|
32
32
|
import type { RelationshipQueryProperties } from "../../rest/support/RelationshipQuery.js";
|
|
33
33
|
import type { CreatePopupTemplateOptions } from "../../support/popupUtils.js";
|
|
34
|
-
import type { ObjectId } from "../../views/
|
|
34
|
+
import type { ObjectId } from "../../views/types.js";
|
|
35
35
|
import type { AttributeTableTemplateProperties } from "../../tables/AttributeTableTemplate.js";
|
|
36
36
|
import type { LayerFloorInfoProperties } from "./LayerFloorInfo.js";
|
|
37
37
|
import type { LabelClassProperties } from "./LabelClass.js";
|
|
@@ -444,7 +444,7 @@ export default class Sublayer extends SublayerSuperclass {
|
|
|
444
444
|
*/
|
|
445
445
|
get fields(): Field[];
|
|
446
446
|
/**
|
|
447
|
-
* A convenient property that can be used to make case-insensitive lookups for a
|
|
447
|
+
* A convenient property that can be used to make case-insensitive lookups for a [fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#fields) by name.
|
|
448
448
|
* It can also provide a list of the [date fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FieldsIndex.html#dateFields)
|
|
449
449
|
* in a Sublayer. This property is only available after the Sublayer has been [loaded](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#loadStatus).
|
|
450
450
|
*
|
|
@@ -482,7 +482,7 @@ export default class Sublayer extends SublayerSuperclass {
|
|
|
482
482
|
/**
|
|
483
483
|
* The sublayer's layer ID. When a [source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#source) is not defined on the
|
|
484
484
|
* layer, this value represents the id of the sublayer defined by the map service.
|
|
485
|
-
* If creating a [DataLayerSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-source-DataLayerSource.html) or a
|
|
485
|
+
* If creating a [DataLayerSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-source-DataLayerSource.html) or a [MapLayerSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-source-MapLayerSource.html)
|
|
486
486
|
* and adding it to the [source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#source) property of the sublayer, the value of this
|
|
487
487
|
* property can be anything set by the developer.
|
|
488
488
|
*
|
|
@@ -515,7 +515,7 @@ export default class SubtypeSublayer extends SubtypeSublayerSuperclass {
|
|
|
515
515
|
* created from the [SubtypeGroupLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SubtypeGroupLayer.html).
|
|
516
516
|
*/
|
|
517
517
|
accessor subtypeCode: number;
|
|
518
|
-
/** The name of the field which holds the id of the
|
|
518
|
+
/** The name of the field which holds the id of the [subtypes](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SubtypeGroupLayer.html#subtypes). */
|
|
519
519
|
get subtypeField(): string;
|
|
520
520
|
/**
|
|
521
521
|
* An array of feature templates defined in the feature layer.
|
|
@@ -13,7 +13,7 @@ export interface TrackInfoProperties extends JSONSupportMixinProperties, Clonabl
|
|
|
13
13
|
/**
|
|
14
14
|
* An array of aggregate fields that summarize [layer.fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fields)
|
|
15
15
|
* in all observations of the track. Only visible observations are included in the aggregated data.
|
|
16
|
-
* Observations filtered out because of
|
|
16
|
+
* Observations filtered out because of [maxDisplayObservationsPerTrack](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TrackInfo.html#maxDisplayObservationsPerTrack) or [maxDisplayDuration](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TrackInfo.html#maxDisplayDuration)
|
|
17
17
|
* are excluded from any aggregate field calculations.
|
|
18
18
|
*
|
|
19
19
|
* These fields may only be used by the [popupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TrackInfo.html#popupTemplate), and by the
|
|
@@ -159,7 +159,7 @@ export default class TrackInfo extends TrackInfoSuperclass {
|
|
|
159
159
|
/**
|
|
160
160
|
* An array of aggregate fields that summarize [layer.fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fields)
|
|
161
161
|
* in all observations of the track. Only visible observations are included in the aggregated data.
|
|
162
|
-
* Observations filtered out because of
|
|
162
|
+
* Observations filtered out because of [maxDisplayObservationsPerTrack](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TrackInfo.html#maxDisplayObservationsPerTrack) or [maxDisplayDuration](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TrackInfo.html#maxDisplayDuration)
|
|
163
163
|
* are excluded from any aggregate field calculations.
|
|
164
164
|
*
|
|
165
165
|
* These fields may only be used by the [popupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TrackInfo.html#popupTemplate), and by the
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{urlToObject as e,getOrigin as r,join as
|
|
5
|
+
import{urlToObject as e,getOrigin as r,join as s,removeQueryParameters as t,removeTrailingSlash as l,Url as n,makeAbsolute as i}from"../../core/urlUtils.js";import{w as u}from"../../chunks/persistableUrlUtils.js";const o={mapserver:"MapServer",imageserver:"ImageServer",featureserver:"FeatureServer",knowledgegraphserver:"KnowledgeGraphServer",sceneserver:"SceneServer",streamserver:"StreamServer",vectortileserver:"VectorTileServer","3dtilesserver":"3DTilesServer",videoserver:"VideoServer"},a=Object.values(o),c=new RegExp(`^(?<path>(?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(?<serviceTitle>.+?)\\/(?<serverType>${a.join("|")})(?:\\/exts\\/(?<soeTitle>.+?)\\/(?<soeServerType>${a.join("|")}))?)(?:\\/(?:layers))?(?:\\/(?<sublayer>\\d+))?`,"i"),v=new RegExp(`^(?<path>(?:https?:)?\\/\\/\\S+?\\/(?<serviceTitle>[^/\\n]+)\\/(?<serverType>${a.join("|")}))(?:\\/(?:layers))?(?:\\/(?<sublayer>\\d+))?`,"i"),p=/(.*?)\/(?:layers\/)?(\d+)\/?$/i;function d(e){return c.test(e)}function f(r){if(null==r)return null;const s=e(r),t=s?.path.match(c)||s?.path.match(v);if(!t)return null;const{path:l,serviceTitle:n,serverType:i,soeTitle:u,soeServerType:a,sublayer:p}=t.groups??{},d=u||n,f=d.indexOf("/");return{title:m(-1!==f?d.slice(f+1):d),serverType:o[(a||i).toLowerCase()],sublayer:null!=p&&""!==p?parseInt(p,10):null,url:{path:l}}}function h(r){const s=e(r).path.match(p);return s?{serviceUrl:s[1],sublayerId:Number(s[2])}:null}function m(e){return(e=e.replaceAll(/\s*[/_]+\s*/g," "))[0].toUpperCase()+e.slice(1)}function y(e,r){const s=[];if(e){const r=f(e);null!=r&&r.title&&s.push(r.title)}if(r){const e=m(r);s.push(e)}if(2===s.length){if(s[0].toLowerCase().includes(s[1].toLowerCase()))return s[0];if(s[1].toLowerCase().includes(s[0].toLowerCase()))return s[1]}return s.join(" - ")}const w=["services","features","tiles","elevation3d","basemaps3d"];function g(e){let s=r(e,!0);return!!s&&(s=s.toLowerCase(),!!s.endsWith(".arcgis.com")&&(!!w.some(e=>s.startsWith(e))||/^[a-z\d-]+\.svcs[a-z\d-]*\./.test(s)))}function S(e,r){return e?l(t(e,r)):e}function T(r){let{url:s}=r;if(!s)return{url:s};s=t(s,r.logger);const n=e(s),i=f(n.path);let u;if(null!=i)null!=i.sublayer&&null==r.layer.layerId&&(u=i.sublayer),s=i.url.path;else if(r.nonStandardUrlAllowed){const e=h(n.path);null!=e&&(s=e.serviceUrl,u=e.sublayerId)}return{url:l(s),layerId:u}}function b(e,r,t,l,n){u(r,l,"url",n),l.url&&null!=e.layerId&&(l.url=s(l.url,t,e.layerId.toString()))}function C(e){if(!e)return!1;const r=e.toLowerCase(),s=r.includes("/services/"),t=r.includes("/mapserver/wmsserver"),l=r.includes("/imageserver/wmsserver"),n=r.includes("/wmsserver");return s&&(t||l||n)}function I(e){if(!e)return!1;const r=new n(i(e)),s=r.authority?.toLowerCase();return"server.arcgisonline.com"===s||"services.arcgisonline.com"===s}export{m as cleanTitle,d as isArcGISUrl,g as isHostedAgolService,I as isServerOrServicesAGOLUrl,C as isWmsServer,f as parse,h as parseNonStandardSublayerUrl,S as sanitizeUrl,T as sanitizeUrlWithLayerId,a as serverTypes,y as titleFromUrlAndName,b as writeUrlWithLayerId};
|
|
@@ -57,7 +57,6 @@ export function getFeatureEditFields(layer: FeatureLayer | SubtypeGroupLayer): s
|
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* Returns an array of geometry field names for a given layer.
|
|
60
|
-
* It includes the fields from the {@link layers/FeatureLayer#geometryProperties}.
|
|
61
60
|
*
|
|
62
61
|
* @param layer - The layer to extract geometry fields from.
|
|
63
62
|
* @returns An array of geometry field names.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type SpatialReference from "../../../geometry/SpatialReference.js";
|
|
2
2
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../../core/JSONSupport.js";
|
|
3
|
-
import type { FeatureGeometryType } from "../../../geometry/
|
|
3
|
+
import type { FeatureGeometryType } from "../../../geometry/types.js";
|
|
4
4
|
import type { SpatialReferenceProperties } from "../../../geometry/SpatialReference.js";
|
|
5
5
|
|
|
6
6
|
export interface QueryTableDataSourceProperties extends JSONSupportMixinProperties, Partial<Pick<QueryTableDataSource, "geometryType" | "oidFields" | "query" | "workspaceId">> {
|
|
@@ -48,7 +48,7 @@ export abstract class QueryTableDataSource extends JSONSupport {
|
|
|
48
48
|
/**
|
|
49
49
|
* The field name(s) containing the unique IDs for each
|
|
50
50
|
* record in the table. This can be a comma separated list if the query table is used
|
|
51
|
-
* in a
|
|
51
|
+
* in a [JoinTableDataSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-source-DataLayerSource.html#JoinTableDataSource).
|
|
52
52
|
*/
|
|
53
53
|
accessor oidFields: string;
|
|
54
54
|
/** The SQL query used to filter records. */
|
|
@@ -214,13 +214,13 @@ export interface SublayerCapabilitiesData {
|
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
export interface SublayerCapabilitiesOperations {
|
|
217
|
-
/** Indicates if features in the layer can be
|
|
217
|
+
/** Indicates if features in the layer can be [queried](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#queryFeatures). */
|
|
218
218
|
supportsQuery: boolean;
|
|
219
219
|
/**
|
|
220
220
|
* Indicates if the layer supports
|
|
221
221
|
* [REST API queryAttachments](https://developers.arcgis.com/rest/services-reference/query-attachments-feature-service-layer-.htm)
|
|
222
222
|
* operation.
|
|
223
|
-
* If `false`,
|
|
223
|
+
* If `false`, [queryAttachments() method](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#queryAttachments) can only return attachments for one feature at a time.
|
|
224
224
|
* If `true`, `queryAttachments()` can return attachments for array of [AttachmentQuery#objectIds](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttachmentQuery.html#objectIds).
|
|
225
225
|
*/
|
|
226
226
|
supportsQueryAttachments: boolean;
|
package/layers/types.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import type RouteInfo from "../rest/support/RouteInfo.js";
|
|
|
9
9
|
import type Stop from "../rest/support/Stop.js";
|
|
10
10
|
import type TimeExtent from "../time/TimeExtent.js";
|
|
11
11
|
import type { AbortOptions } from "../core/promiseUtils.js";
|
|
12
|
-
import type { CurveType } from "../geometry/
|
|
12
|
+
import type { CurveType } from "../geometry/types.js";
|
|
13
13
|
import type { RasterInterpolation } from "./support/RasterTypes.js";
|
|
14
14
|
|
|
15
15
|
/**
|
package/package.json
CHANGED
package/popup/FieldInfo.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import type { FieldInfoFormatProperties } from "./support/FieldInfoFormat.js";
|
|
|
9
9
|
export interface FieldInfoProperties extends JSONSupportMixinProperties, ClonableMixinProperties, Partial<Pick<FieldInfo, "fieldName" | "isEditable" | "label" | "statisticType" | "stringFieldOption" | "tooltip" | "visible">> {
|
|
10
10
|
/**
|
|
11
11
|
* Provides formatting options for numerical or date fields, using the same format types as the [layer level field formatting](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fieldConfigurations).
|
|
12
|
-
* Setting this property automatically updates the [format](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#format) property. This property takes precedence over the [format](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#format) property when both are set and working with supported layer types. `FieldInfo.fieldFormat` should be used in the context of [fields content](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-FieldsContent.html) used within [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html), rather than directly on the [PopupTemplate
|
|
12
|
+
* Setting this property automatically updates the [format](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#format) property. This property takes precedence over the [format](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#format) property when both are set and working with supported layer types. `FieldInfo.fieldFormat` should be used in the context of [fields content](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-FieldsContent.html) used within [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html), rather than directly on the [PopupTemplate.fieldInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#fieldInfos) property.
|
|
13
13
|
*
|
|
14
14
|
* > [!WARNING]
|
|
15
15
|
* >
|
|
@@ -17,8 +17,8 @@ export interface FieldInfoProperties extends JSONSupportMixinProperties, Clonabl
|
|
|
17
17
|
* > - This property is only supported for [FeatureLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html) that reference services (not supported for feature collections)
|
|
18
18
|
* > and when set on a [FieldsContent](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-FieldsContent.html) element within a [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
|
|
19
19
|
* > - Use the [format](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#format) property instead if formatting:
|
|
20
|
-
* > -
|
|
21
|
-
* > - [PopupTemplate
|
|
20
|
+
* > - [Layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html) other than [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html) or feature collections.
|
|
21
|
+
* > - [PopupTemplate.fieldInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#fieldInfos) for layer types that don't support [layer level field formatting](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fieldConfigurations).
|
|
22
22
|
* > - FieldInfo that contains [field names](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#fieldName) referencing related fields or Arcade expressions.
|
|
23
23
|
* > - FieldInfos participating in [clustering](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html#popupTemplate) or [binning](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html#popupTemplate) popup templates.
|
|
24
24
|
*
|
|
@@ -35,7 +35,7 @@ export interface FieldInfoProperties extends JSONSupportMixinProperties, Clonabl
|
|
|
35
35
|
* >
|
|
36
36
|
* > **Notes:**
|
|
37
37
|
* > - Use this property to format date and numerical fields in the following scenarios:
|
|
38
|
-
* > - Format fields in
|
|
38
|
+
* > - Format fields in [Layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html) other than [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html) or feature collections.
|
|
39
39
|
* > - Format fields in [PopupTemplate#fieldInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#fieldInfos) for layer types that don't support [layer level field formatting](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fieldConfigurations).
|
|
40
40
|
* > - Format fields that contain [field names](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#fieldName) referencing related fields or Arcade expressions.
|
|
41
41
|
* > - Format fields in [clustering](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html#popupTemplate) or [binning](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html#popupTemplate) popup templates.
|
|
@@ -180,7 +180,7 @@ export default class FieldInfo extends FieldInfoSuperclass {
|
|
|
180
180
|
constructor(properties?: FieldInfoProperties);
|
|
181
181
|
/**
|
|
182
182
|
* Provides formatting options for numerical or date fields, using the same format types as the [layer level field formatting](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fieldConfigurations).
|
|
183
|
-
* Setting this property automatically updates the [format](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#format) property. This property takes precedence over the [format](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#format) property when both are set and working with supported layer types. `FieldInfo.fieldFormat` should be used in the context of [fields content](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-FieldsContent.html) used within [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html), rather than directly on the [PopupTemplate
|
|
183
|
+
* Setting this property automatically updates the [format](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#format) property. This property takes precedence over the [format](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#format) property when both are set and working with supported layer types. `FieldInfo.fieldFormat` should be used in the context of [fields content](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-FieldsContent.html) used within [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html), rather than directly on the [PopupTemplate.fieldInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#fieldInfos) property.
|
|
184
184
|
*
|
|
185
185
|
* > [!WARNING]
|
|
186
186
|
* >
|
|
@@ -188,8 +188,8 @@ export default class FieldInfo extends FieldInfoSuperclass {
|
|
|
188
188
|
* > - This property is only supported for [FeatureLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html) that reference services (not supported for feature collections)
|
|
189
189
|
* > and when set on a [FieldsContent](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-FieldsContent.html) element within a [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
|
|
190
190
|
* > - Use the [format](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#format) property instead if formatting:
|
|
191
|
-
* > -
|
|
192
|
-
* > - [PopupTemplate
|
|
191
|
+
* > - [Layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html) other than [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html) or feature collections.
|
|
192
|
+
* > - [PopupTemplate.fieldInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#fieldInfos) for layer types that don't support [layer level field formatting](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fieldConfigurations).
|
|
193
193
|
* > - FieldInfo that contains [field names](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#fieldName) referencing related fields or Arcade expressions.
|
|
194
194
|
* > - FieldInfos participating in [clustering](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html#popupTemplate) or [binning](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html#popupTemplate) popup templates.
|
|
195
195
|
*
|
|
@@ -217,7 +217,7 @@ export default class FieldInfo extends FieldInfoSuperclass {
|
|
|
217
217
|
* >
|
|
218
218
|
* > **Notes:**
|
|
219
219
|
* > - Use this property to format date and numerical fields in the following scenarios:
|
|
220
|
-
* > - Format fields in
|
|
220
|
+
* > - Format fields in [Layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html) other than [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html) or feature collections.
|
|
221
221
|
* > - Format fields in [PopupTemplate#fieldInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#fieldInfos) for layer types that don't support [layer level field formatting](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fieldConfigurations).
|
|
222
222
|
* > - Format fields that contain [field names](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#fieldName) referencing related fields or Arcade expressions.
|
|
223
223
|
* > - Format fields in [clustering](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html#popupTemplate) or [binning](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html#popupTemplate) popup templates.
|
|
@@ -58,8 +58,8 @@ export default class AttachmentsContent extends AttachmentsContentSuperclass {
|
|
|
58
58
|
* Matching is case-sensitive and requires exact keyword matches; partial matches are not supported.
|
|
59
59
|
*
|
|
60
60
|
* @since 4.34
|
|
61
|
-
* @see [AttachmentInfo
|
|
62
|
-
* @see
|
|
61
|
+
* @see [AttachmentInfo.keywords](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query-support-AttachmentInfo.html#keywords)
|
|
62
|
+
* @see [AttachmentQuery.keywords](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttachmentQuery.html#keywords)
|
|
63
63
|
* @see [Query Attachments REST API operation](https://developers.arcgis.com/rest/services-reference/enterprise/query-attachments-feature-service-layer/)
|
|
64
64
|
*/
|
|
65
65
|
accessor attachmentKeywords: string[] | null | undefined;
|
|
@@ -93,7 +93,7 @@ export default class CustomContent extends BaseContent {
|
|
|
93
93
|
* An array of field names used in the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
|
|
94
94
|
* Use this property to indicate what fields are required
|
|
95
95
|
* to fully render the template's custom content. This is important if setting
|
|
96
|
-
*
|
|
96
|
+
* [content](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#content) via a function since any fields needed for successful
|
|
97
97
|
* rendering should be specified here.
|
|
98
98
|
*
|
|
99
99
|
* To fetch the values from all fields, use `["*"]`.
|
package/portal/interfaces.d.ts
CHANGED
|
@@ -130,9 +130,9 @@ export interface Members {
|
|
|
130
130
|
|
|
131
131
|
export interface FetchBasemapsOptions extends AbortOptions {
|
|
132
132
|
/**
|
|
133
|
-
* When `true` the basemaps based on
|
|
133
|
+
* When `true` the basemaps based on [Portal#basemapGalleryGroupQuery3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html#basemapGalleryGroupQuery3D) are also fetched,
|
|
134
134
|
* if no `basemapGalleryGroupQuery` is passed as an argument. When `true` and a custom `basemapGalleryGroupQuery` is passed, also 3D basemaps from the custom group are fetched.
|
|
135
|
-
* When not specified, it will default to
|
|
135
|
+
* When not specified, it will default to [Portal#use3dBasemaps](https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html#use3dBasemaps).
|
|
136
136
|
*/
|
|
137
137
|
include3d?: boolean;
|
|
138
138
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { IPortalItemResourceWithPath } from "../interfaces.js";
|
|
2
2
|
|
|
3
|
-
/** Parameters used when fetching portal item resources using [PortalItem
|
|
3
|
+
/** Parameters used when fetching portal item resources using [PortalItem.fetchResources()](https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalItem.html#fetchResources). */
|
|
4
4
|
export interface FetchResourcesParams {
|
|
5
5
|
/**
|
|
6
|
-
* The maximum number of results to be included in the
|
|
7
|
-
*
|
|
8
|
-
* `100`. The {@link portal/PortalItem#start} property combined with the `num` property can be used to paginate the search results.
|
|
6
|
+
* The maximum number of results to be included in the [FetchResourcesResult.resources](#FetchResourcesResult) set response. The maximum value allowed is
|
|
7
|
+
* `100`. The `start` property combined with the `num` property can be used to paginate the search results.
|
|
9
8
|
*
|
|
10
9
|
* @default 10
|
|
11
10
|
*/
|
|
@@ -28,14 +27,14 @@ export interface FetchResourcesParams {
|
|
|
28
27
|
sortOrder?: "asc" | "desc";
|
|
29
28
|
/**
|
|
30
29
|
* The index of the first entry in the result set response. The index is 1-based. The
|
|
31
|
-
*
|
|
30
|
+
* `start`property, along with the `num` property can be used to paginate the search results.
|
|
32
31
|
*
|
|
33
32
|
* @default 1
|
|
34
33
|
*/
|
|
35
34
|
start?: number;
|
|
36
35
|
}
|
|
37
36
|
|
|
38
|
-
/** Object returned when [PortalItem
|
|
37
|
+
/** Object returned when [PortalItem.fetchResources()](https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalItem.html#fetchResources) promise resolves. */
|
|
39
38
|
export interface FetchResourcesResult {
|
|
40
39
|
/** The next entry index if the current result set doesn't contain all results. */
|
|
41
40
|
nextStart: number;
|
|
@@ -45,7 +44,7 @@ export interface FetchResourcesResult {
|
|
|
45
44
|
total: number;
|
|
46
45
|
}
|
|
47
46
|
|
|
48
|
-
/** A resource reference returned in the result of [PortalItem
|
|
47
|
+
/** A resource reference returned in the result of [PortalItem.fetchResources()](https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalItem.html#fetchResources). */
|
|
49
48
|
export interface FetchResource {
|
|
50
49
|
/** When the resource was created. */
|
|
51
50
|
created: Date;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type FeatureLayer from "../../layers/FeatureLayer.js";
|
|
2
2
|
import type SubtypeGroupLayer from "../../layers/SubtypeGroupLayer.js";
|
|
3
3
|
import type FeatureService from "./FeatureService.js";
|
|
4
|
-
import type { CurveType } from "../../geometry/
|
|
4
|
+
import type { CurveType } from "../../geometry/types.js";
|
|
5
5
|
import type { FeatureLayerCapabilities } from "../../layers/types.js";
|
|
6
6
|
import type { EditedFeatures, Edits, FeatureEditResult } from "../../layers/graphics/editingSupport.js";
|
|
7
7
|
import type { AssociationJsonType } from "../../networks/support/typeUtils.js";
|
|
@@ -25,7 +25,7 @@ import type OffsetParameters from "./support/OffsetParameters.js";
|
|
|
25
25
|
import type ProjectParameters from "./support/ProjectParameters.js";
|
|
26
26
|
import type RelationParameters from "./support/RelationParameters.js";
|
|
27
27
|
import type TrimExtendParameters from "./support/TrimExtendParameters.js";
|
|
28
|
-
import type {
|
|
28
|
+
import type { GeometryWithoutMeshUnion, GeometryUnion } from "../geometry/types.js";
|
|
29
29
|
import type { RequestOptions } from "../request/types.js";
|
|
30
30
|
import type { CutResult } from "./geometryService/cut.js";
|
|
31
31
|
import type { GeomServiceFromGeoCoordinateStringParameters } from "./geometryService/fromGeoCoordinateString.js";
|
|
@@ -212,7 +212,7 @@ export function densify(url: string, parameters: DensifyParameters, requestOptio
|
|
|
212
212
|
* @returns When resolved, returns an array of [geometries](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html) defining the difference of the input features.
|
|
213
213
|
* @see [differenceOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-differenceOperator.html)
|
|
214
214
|
*/
|
|
215
|
-
export function difference(url: string, geometries:
|
|
215
|
+
export function difference(url: string, geometries: GeometryWithoutMeshUnion[], geometry: GeometryWithoutMeshUnion, requestOptions?: RequestOptions): Promise<GeometryWithoutMeshUnion[]>;
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
218
|
* Measures the planar or geodesic distance between geometries.
|
package/rest/imageService.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ import type MapToImageParameters from "./support/MapToImageParameters.js";
|
|
|
39
39
|
import type MeasureAreaFromImageResult from "./support/MeasureAreaFromImageResult.js";
|
|
40
40
|
import type MeasureFromImageParameters from "./support/MeasureFromImageParameters.js";
|
|
41
41
|
import type MeasureLengthFromImageResult from "./support/MeasureLengthFromImageResult.js";
|
|
42
|
-
import type { GeometryUnion } from "../geometry/
|
|
42
|
+
import type { GeometryUnion } from "../geometry/types.js";
|
|
43
43
|
import type { RasterBandStatistics, RasterHistogram } from "../layers/support/types.js";
|
|
44
44
|
import type { RequestOptions } from "../request/types.js";
|
|
45
45
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type GraphObject from "./GraphObject.js";
|
|
2
2
|
import type Path from "./Path.js";
|
|
3
|
-
import type { GeometryUnion } from "../../geometry/
|
|
3
|
+
import type { GeometryUnion } from "../../geometry/types.js";
|
|
4
4
|
|
|
5
5
|
export type GraphAnyValue = Path | GraphObject | GeometryUnion | Date | string | number | GraphAnyValue[] | null | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../../core/JSONSupport.js";
|
|
2
2
|
import type { ExifInfo } from "../../../layers/support/exifUtils.js";
|
|
3
|
-
import type { ObjectId } from "../../../views/
|
|
3
|
+
import type { ObjectId } from "../../../views/types.js";
|
|
4
4
|
|
|
5
5
|
export interface AttachmentInfoProperties extends JSONSupportMixinProperties, Partial<Pick<AttachmentInfo, "contentType" | "exifInfo" | "globalId" | "id" | "keywords" | "name" | "parentGlobalId" | "parentObjectId" | "size" | "url">> {}
|
|
6
6
|
|
package/rest/query.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ import type TopFeaturesQuery from "./support/TopFeaturesQuery.js";
|
|
|
42
42
|
import type { RequestOptions } from "../request/types.js";
|
|
43
43
|
import type { LayerMetadata } from "./types.js";
|
|
44
44
|
import type { QueryProperties } from "./support/Query.js";
|
|
45
|
-
import type { ObjectId } from "../views/
|
|
45
|
+
import type { ObjectId } from "../views/types.js";
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* Query information about attachments associated with features from a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type SpatialReference from "../../geometry/SpatialReference.js";
|
|
2
2
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
3
|
-
import type { GeometryUnion } from "../../geometry/
|
|
3
|
+
import type { GeometryUnion } from "../../geometry/types.js";
|
|
4
4
|
import type { GeometryOperationLengthUnit } from "./interfaces.js";
|
|
5
5
|
import type { SpatialReferenceProperties } from "../../geometry/SpatialReference.js";
|
|
6
6
|
import type { MeshProperties } from "../../geometry/Mesh.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ClonableMixin, ClonableMixinProperties } from "../../core/Clonable.js";
|
|
2
2
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
3
|
-
import type { GeometryUnion } from "../../geometry/
|
|
3
|
+
import type { GeometryUnion } from "../../geometry/types.js";
|
|
4
4
|
import type { GeometryType, SpatialRelationship } from "./interfaces.js";
|
|
5
5
|
import type { MeshProperties } from "../../geometry/Mesh.js";
|
|
6
6
|
import type { PolylineProperties } from "../../geometry/Polyline.js";
|