@arcgis/core 5.0.0-next.55 → 5.0.0-next.56
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/Color.d.ts +12 -4
- package/Ground.js +1 -1
- package/applications/Components/SelectionOperation.d.ts +5 -0
- package/applications/Components/SketchTooltipControls.d.ts +5 -0
- package/applications/Components/actionUtils.d.ts +5 -0
- package/applications/Components/analysisUtils.d.ts +5 -0
- package/applications/Components/arcadeEditorUtils.d.ts +5 -0
- package/applications/Components/arcadeFeatureUtils.d.ts +5 -0
- package/applications/Components/basemapUtils.d.ts +5 -0
- package/applications/Components/drawUtils.d.ts +5 -0
- package/applications/Components/featureUtils.d.ts +5 -0
- package/applications/Components/fontUtils.d.ts +5 -0
- package/applications/Components/formatUtils.d.ts +5 -0
- package/applications/Components/getDefaultUnits.d.ts +5 -0
- package/applications/Components/gfxUtils.d.ts +5 -0
- package/applications/Components/imageryUtils.d.ts +5 -0
- package/applications/Components/layerOriginUtils.d.ts +5 -0
- package/applications/Components/layersEffectsJsonUtils.d.ts +5 -0
- package/applications/Components/previewSymbol2D.d.ts +5 -0
- package/applications/Components/reactiveUtils.d.ts +6 -0
- package/applications/Components/sanitizerUtils.d.ts +5 -0
- package/applications/Components/stringUtils.d.ts +6 -2
- package/applications/Components/styleUtils.d.ts +5 -0
- package/applications/Components/svgUtils.d.ts +5 -0
- package/applications/Components/testUtils.d.ts +5 -0
- package/applications/Components/viewUtils.d.ts +5 -0
- package/applications/Components/webStyleSymbolUtils.d.ts +5 -0
- package/applications/Excalibur/videoViewUtils.d.ts +5 -0
- package/applications/ExperienceBuilder/sketchUtils.d.ts +5 -0
- package/applications/KnowledgeStudio/generalSdkInternalAccess.d.ts +10 -0
- package/applications/KnowledgeStudio/generalSharedKgUtils.d.ts +10 -0
- package/applications/KnowledgeStudio/layerInternalAccessUtils.d.ts +11 -1
- package/applications/KnowledgeStudio/reshape.d.ts +5 -0
- package/applications/KnowledgeStudio/resourceSerializationUtils.d.ts +5 -0
- package/applications/MapViewer/layerUtils.d.ts +5 -0
- package/applications/MapViewer/mediaUtils.d.ts +5 -0
- package/applications/MapViewer/templateUtils.d.ts +5 -0
- package/applications/PortalApp/layerUtils.d.ts +5 -0
- package/applications/SceneViewer/colorUtils.d.ts +5 -0
- package/applications/SceneViewer/devEnvironmentUtils.d.ts +5 -0
- package/applications/SceneViewer/layerUtils.d.ts +5 -0
- package/applications/SceneViewer/sceneViewerUtils.d.ts +5 -0
- package/applications/SceneViewer/symbolUtils.d.ts +5 -0
- package/applications/Urban/meshUtils.d.ts +5 -0
- package/applications/WebEditor/sketchUtils.d.ts +5 -0
- package/arcade.d.ts +22 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/5340887a4a48bde3407a.js +1 -0
- package/assets/esri/core/workers/chunks/82ced9254b27707522ef.js +1 -0
- package/assets/esri/core/workers/chunks/8628bf45a33af786cd49.js +1 -0
- package/assets/esri/core/workers/chunks/{d63cf90d1356d1f10138.js → 8f4c480c418eba299c2b.js} +1 -1
- package/assets/esri/core/workers/chunks/{fa92a7c11befbad8739f.js → b4f944ef6c174b20b619.js} +1 -1
- package/assets/esri/core/workers/chunks/c531c0e3d420a1be0ad2.js +316 -0
- package/assets/esri/core/workers/chunks/{14765f98b8ea447498a1.js → da2c41ac0f82f32013c1.js} +4 -4
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/chunks/ChapmanAtmosphere.glsl.js +5 -7
- package/chunks/HUDMaterial.glsl.js +1 -1
- package/chunks/LineCallout.glsl.js +2 -2
- package/chunks/Precipitation.glsl.js +1 -1
- package/chunks/Terrain.glsl.js +1 -1
- package/chunks/lyr3DMain.js +1 -1
- package/chunks/vec32.js +1 -1
- package/config.d.ts +19 -1
- package/config.js +1 -1
- package/core/Error.d.ts +3 -4
- package/core/Error.js +1 -1
- package/core/Warning.js +1 -1
- package/core/accessorSupport/decorators.d.ts +11 -0
- package/core/accessorSupport/types.d.ts +2 -0
- package/core/has.js +1 -1
- package/core/lang.d.ts +6 -0
- package/core/libs/gl-matrix-2/math/vec3.js +1 -1
- package/core/libs/gl-matrix-2/vec3.js +1 -1
- package/core/promiseUtils.d.ts +5 -0
- package/core/quantity.d.ts +5 -0
- package/core/reactiveUtils.d.ts +142 -0
- package/core/scheduling.d.ts +26 -5
- package/core/scheduling.js +1 -1
- package/core/sql/WhereClause.d.ts +2 -13
- package/core/sql/{WhereGrammar.d.ts → types.d.ts} +22 -1
- package/core/sql.d.ts +8 -0
- package/core/string.js +1 -1
- package/core/types.d.ts +30 -1
- package/core/units.d.ts +8 -0
- package/core/urlUtils.d.ts +7 -0
- package/core/workers/loaderConfig.js +1 -1
- package/core/workers/workerFactory.js +1 -1
- package/core/workers.d.ts +26 -0
- package/form/elements/inputs.d.ts +55 -0
- package/form/elements.d.ts +43 -0
- package/geometry/coordinateFormatter.d.ts +33 -0
- package/geometry/geometryEngine.d.ts +16 -0
- package/geometry/operators/affineTransformOperator.d.ts +5 -0
- package/geometry/operators/alphaShapeOperator.d.ts +9 -0
- package/geometry/operators/areaOperator.d.ts +7 -0
- package/geometry/operators/autoCompleteOperator.d.ts +5 -0
- package/geometry/operators/boundaryOperator.d.ts +5 -0
- package/geometry/operators/bufferOperator.d.ts +11 -0
- package/geometry/operators/centroidOperator.d.ts +14 -0
- package/geometry/operators/clipOperator.d.ts +7 -0
- package/geometry/operators/containsOperator.d.ts +9 -0
- package/geometry/operators/convexHullOperator.d.ts +9 -0
- package/geometry/operators/crossesOperator.d.ts +7 -0
- package/geometry/operators/cutOperator.d.ts +18 -0
- package/geometry/operators/densifyOperator.d.ts +21 -0
- package/geometry/operators/differenceOperator.d.ts +7 -0
- package/geometry/operators/disjointOperator.d.ts +8 -0
- package/geometry/operators/distanceOperator.d.ts +8 -0
- package/geometry/operators/equalsOperator.d.ts +5 -0
- package/geometry/operators/extendOperator.d.ts +8 -0
- package/geometry/operators/generalizeOperator.d.ts +7 -0
- package/geometry/operators/geodesicBufferOperator.d.ts +13 -0
- package/geometry/operators/geodesicProximityOperator.d.ts +13 -0
- package/geometry/operators/geodeticAreaOperator.d.ts +11 -0
- package/geometry/operators/geodeticDensifyOperator.d.ts +12 -0
- package/geometry/operators/geodeticDistanceOperator.d.ts +14 -0
- package/geometry/operators/geodeticLengthOperator.d.ts +11 -0
- package/geometry/operators/geodeticUtilsOperator.d.ts +11 -0
- package/geometry/operators/graphicBufferOperator.d.ts +7 -0
- package/geometry/operators/integrateOperator.d.ts +9 -0
- package/geometry/operators/intersectionOperator.d.ts +7 -0
- package/geometry/operators/intersectsOperator.d.ts +9 -0
- package/geometry/operators/isNearOperator.d.ts +7 -0
- package/geometry/operators/labelPointOperator.d.ts +14 -0
- package/geometry/operators/lengthOperator.d.ts +7 -0
- package/geometry/operators/linesToPolygonsOperator.d.ts +5 -0
- package/geometry/operators/locateBetweenOperator.d.ts +10 -0
- package/geometry/operators/minimumBoundingCircleOperator.d.ts +13 -0
- package/geometry/operators/multiPartToSinglePartOperator.d.ts +7 -0
- package/geometry/operators/offsetOperator.d.ts +44 -0
- package/geometry/operators/overlapsOperator.d.ts +7 -0
- package/geometry/operators/polygonOverlayOperator.d.ts +6 -0
- package/geometry/operators/polygonSlicerOperator.d.ts +5 -0
- package/geometry/operators/projectOperator.d.ts +41 -0
- package/geometry/operators/proximityOperator.d.ts +8 -0
- package/geometry/operators/relateOperator.d.ts +7 -0
- package/geometry/operators/reshapeOperator.d.ts +5 -0
- package/geometry/operators/shapePreservingProjectOperator.d.ts +27 -0
- package/geometry/operators/simplifyOGCOperator.d.ts +8 -0
- package/geometry/operators/simplifyOperator.d.ts +9 -0
- package/geometry/operators/support/geographicTransformationUtils.d.ts +11 -0
- package/geometry/operators/symmetricDifferenceOperator.d.ts +12 -0
- package/geometry/operators/touchesOperator.d.ts +7 -0
- package/geometry/operators/unionOperator.d.ts +7 -0
- package/geometry/operators/withinOperator.d.ts +9 -0
- package/geometry/support/geodesicUtils.d.ts +8 -0
- package/geometry/support/jsonUtils.d.ts +7 -0
- package/geometry/support/meshUtils.d.ts +5 -0
- package/geometry/support/normalizeUtils.d.ts +7 -0
- package/geometry/support/webMercatorUtils.d.ts +12 -0
- package/geometry.d.ts +38 -0
- package/interfaces.d.ts +31 -32
- package/intl.d.ts +111 -0
- package/kernel.d.ts +5 -0
- package/kernel.js +1 -1
- package/layers/BaseDynamicLayer.d.ts +1 -1
- package/layers/CSVLayer.d.ts +2 -2
- package/layers/CatalogLayer.d.ts +2 -2
- package/layers/FeatureLayer.d.ts +2 -1
- package/layers/GeoJSONLayer.d.ts +2 -1
- package/layers/ILyr3DWasmPerSceneView.js +1 -1
- package/layers/Layer.d.ts +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/OGCFeatureLayer.d.ts +1 -1
- package/layers/ParquetLayer.d.ts +1 -1
- package/layers/RouteLayer.js +1 -1
- package/layers/SceneLayer.d.ts +2 -1
- package/layers/StreamLayer.d.ts +6 -5
- package/layers/SubtypeGroupLayer.d.ts +3 -4
- package/layers/VectorTileLayer.d.ts +1 -1
- package/layers/WFSLayer.d.ts +2 -1
- package/layers/WMSLayer.d.ts +2 -2
- package/layers/catalog/catalogUtils.d.ts +6 -0
- package/layers/ogc/wcsUtils.d.ts +6 -0
- package/layers/ogc/wfsUtils.d.ts +6 -0
- package/layers/orientedImagery/transformations/imageToWorld.d.ts +10 -0
- package/layers/orientedImagery/transformations/rectifyMapPoint.js +1 -1
- package/layers/orientedImagery/transformations/worldToImage.d.ts +10 -0
- package/layers/orientedImagery/types.d.ts +1 -1
- package/layers/support/arcadeUtils.d.ts +5 -0
- package/layers/support/csvUtils.d.ts +6 -0
- package/layers/support/fieldUtils.d.ts +9 -0
- package/layers/support/parquetUtils.d.ts +6 -0
- package/layers/support/rasterFunctionConstants.d.ts +9 -0
- package/layers/support/rasterFunctionUtils.d.ts +7 -0
- package/package.json +1 -1
- package/pointCloudRenderers.d.ts +44 -0
- package/popup/content.d.ts +48 -0
- package/rasterRenderers.d.ts +46 -0
- package/renderers/support/AuthoringInfo.d.ts +1 -1
- package/renderers/support/jsonUtils.d.ts +7 -0
- package/renderers/support/utils.d.ts +5 -0
- package/renderers/visualVariables/SizeVariable.d.ts +0 -3
- package/renderers/visualVariables/VisualVariable.d.ts +1 -1
- package/renderers/visualVariables/support/VisualVariableLegendOptions.d.ts +1 -1
- package/renderers.d.ts +46 -0
- package/request.d.ts +17 -0
- package/rest/closestFacility.d.ts +21 -0
- package/rest/featureService/utils.d.ts +5 -0
- package/rest/find.d.ts +21 -0
- package/rest/geometryService.d.ts +14 -0
- package/rest/geoprocessor.d.ts +16 -0
- package/rest/identify.d.ts +19 -0
- package/rest/imageService.d.ts +10 -0
- package/rest/knowledgeGraphService.d.ts +39 -0
- package/rest/lastMileDelivery.d.ts +12 -0
- package/rest/locator.d.ts +24 -0
- package/rest/networkService.d.ts +5 -0
- package/rest/networks/queryAssociations.d.ts +7 -0
- package/rest/networks/support/NetworkElement.d.ts +1 -1
- package/rest/networks/synthesizeAssociationGeometries.d.ts +7 -0
- package/rest/networks/trace.d.ts +6 -0
- package/rest/places.d.ts +34 -0
- package/rest/print.d.ts +74 -0
- package/rest/query.d.ts +33 -0
- package/rest/route.d.ts +18 -0
- package/rest/serviceArea.d.ts +18 -0
- package/rest/support/AreasAndLengthsParameters.d.ts +2 -2
- package/rest/support/AttachmentQuery.d.ts +0 -1
- package/rest/support/AttributeBinsQuery.d.ts +3 -3
- package/rest/support/AutoIntervalBinParameters.d.ts +4 -4
- package/rest/support/DateBinParameters.d.ts +2 -2
- package/rest/support/DateBinTimeInterval.d.ts +1 -1
- package/rest/support/DensifyParameters.d.ts +1 -1
- package/rest/support/DirectionsFeature.d.ts +1 -1
- package/rest/support/GPMessage.d.ts +1 -1
- package/rest/support/LastMileDeliveryParameters.d.ts +1 -1
- package/rest/support/QuantizationParameters.d.ts +3 -3
- package/rest/support/Query.d.ts +0 -1
- package/rest/support/QueryMixin.d.ts +1 -1
- package/rest/support/RelationshipQuery.d.ts +0 -1
- package/rest/support/interfaces.d.ts +1 -2
- package/rest/symbolService.d.ts +9 -0
- package/smartMapping/heuristics/binLevel.d.ts +12 -0
- package/smartMapping/heuristics/scaleRange.d.ts +15 -0
- package/smartMapping/heuristics/sizeRange.d.ts +12 -0
- package/smartMapping/labels/bins.d.ts +13 -0
- package/smartMapping/labels/clusters.d.ts +16 -0
- package/smartMapping/popup/clusters.d.ts +21 -0
- package/smartMapping/popup/templates.d.ts +18 -0
- package/smartMapping/raster/renderers/classBreaks.d.ts +7 -0
- package/smartMapping/raster/renderers/colormap.d.ts +7 -0
- package/smartMapping/raster/renderers/flow.d.ts +19 -0
- package/smartMapping/raster/renderers/rgb.d.ts +7 -0
- package/smartMapping/raster/renderers/shadedRelief.d.ts +7 -0
- package/smartMapping/raster/renderers/stretch.d.ts +7 -0
- package/smartMapping/raster/renderers/uniqueValue.d.ts +7 -0
- package/smartMapping/raster/renderers/vectorField.d.ts +20 -0
- package/smartMapping/raster/support/colorRamps.d.ts +7 -0
- package/smartMapping/raster/support/utils.d.ts +5 -0
- package/smartMapping/renderers/color.d.ts +17 -0
- package/smartMapping/renderers/dotDensity.d.ts +21 -0
- package/smartMapping/renderers/heatmap.d.ts +17 -0
- package/smartMapping/renderers/location.d.ts +10 -0
- package/smartMapping/renderers/opacity.d.ts +19 -0
- package/smartMapping/renderers/pieChart.d.ts +19 -0
- package/smartMapping/renderers/predominance.d.ts +27 -0
- package/smartMapping/renderers/relationship.d.ts +48 -0
- package/smartMapping/renderers/size.d.ts +18 -0
- package/smartMapping/renderers/support/rendererUtils.d.ts +8 -0
- package/smartMapping/renderers/support/spikeUtils.d.ts +6 -0
- package/smartMapping/renderers/type.d.ts +18 -0
- package/smartMapping/renderers/univariateColorSize.d.ts +29 -0
- package/smartMapping/statistics/classBreaks.d.ts +14 -0
- package/smartMapping/statistics/heatmapStatistics.d.ts +15 -0
- package/smartMapping/statistics/histogram.d.ts +17 -0
- package/smartMapping/statistics/predominantCategories.d.ts +6 -0
- package/smartMapping/statistics/summaryStatistics.d.ts +15 -0
- package/smartMapping/statistics/summaryStatisticsForAge.d.ts +8 -1
- package/smartMapping/statistics/support/ageUtils.d.ts +8 -0
- package/smartMapping/statistics/support/predominanceUtils.d.ts +8 -1
- package/smartMapping/statistics/types.d.ts +6 -1
- package/smartMapping/statistics/uniqueValues.d.ts +13 -0
- package/smartMapping/symbology/color.d.ts +8 -0
- package/smartMapping/symbology/dotDensity.d.ts +7 -0
- package/smartMapping/symbology/flow.d.ts +8 -0
- package/smartMapping/symbology/heatmap.d.ts +8 -0
- package/smartMapping/symbology/location.d.ts +8 -0
- package/smartMapping/symbology/pieChart.d.ts +7 -0
- package/smartMapping/symbology/predominance.d.ts +7 -0
- package/smartMapping/symbology/relationship.d.ts +7 -0
- package/smartMapping/symbology/size.d.ts +7 -0
- package/smartMapping/symbology/support/colorRamps.d.ts +7 -0
- package/smartMapping/symbology/type.d.ts +8 -0
- package/support/popupUtils.d.ts +5 -0
- package/support/revision.js +1 -1
- package/support/timeUtils.d.ts +9 -0
- package/symbols/CIMSymbol.d.ts +1 -1
- package/symbols/ExtrudeSymbol3DLayer.d.ts +2 -2
- package/symbols/FillSymbol3DLayer.d.ts +1 -1
- package/symbols/LineSymbol3DLayer.d.ts +2 -2
- package/symbols/ObjectSymbol3DLayer.d.ts +2 -2
- package/symbols/PathSymbol3DLayer.d.ts +2 -2
- package/symbols/TextSymbol.d.ts +2 -2
- package/symbols/support/Symbol3DFillMaterial.d.ts +1 -1
- package/symbols/support/Symbol3DFillMaterial.js +1 -1
- package/symbols/support/Symbol3DHalo.d.ts +8 -4
- package/symbols/support/Symbol3DHalo.js +1 -1
- package/symbols/support/cimConversionUtils.d.ts +9 -0
- package/symbols/support/cimSymbolUtils.d.ts +10 -0
- package/symbols/support/jsonUtils.d.ts +7 -0
- package/symbols/support/symbolUtils.d.ts +5 -0
- package/symbols.d.ts +59 -0
- package/tables/elements.d.ts +41 -0
- package/time/TimeExtent.d.ts +1 -1
- package/time/TimeInterval.d.ts +1 -1
- package/unionTypes.d.ts +5 -0
- package/versionManagement/utils.d.ts +5 -0
- package/versionManagement/versionAdapters/utils.d.ts +5 -0
- package/views/2d/MapViewConstraints.d.ts +18 -10
- package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/RouteLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/support/RouteLayerInteraction.js +1 -1
- package/views/2d/layers/support/RouteLayerWaypointVisualization.js +5 -0
- package/views/3d/analysis/DirectLineMeasurement/types.d.ts +5 -0
- package/views/3d/analysis/LineOfSight/types.d.ts +5 -0
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementError.d.ts +1 -1
- package/views/3d/analysis/VolumeMeasurement/types.d.ts +5 -0
- package/views/3d/environment/ChapmanRaymarching.glsl.js +2 -1
- package/views/3d/interactive/visualElements/PointVisualElement.js +1 -1
- package/views/3d/layers/graphics/Deconflictor.js +1 -1
- package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/GraphicsDeconflictor.js +1 -1
- package/views/3d/layers/graphics/GraphicsProcessor.js +1 -1
- package/views/3d/layers/graphics/pipeline/symbolization/IconSymbolLayerRenderer.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/support/pointsOfInterest/StableSurfaceCenter.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js +2 -2
- package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
- package/views/3d/webgl-engine/shaders/HUDMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/LineCalloutTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +8 -8
- package/views/3d/webgl.d.ts +6 -0
- package/views/BreakpointsOwner.d.ts +16 -16
- package/views/IBreakpointsOwner.d.ts +15 -15
- package/views/MapView.d.ts +1 -1
- package/views/PopupView.d.ts +2 -2
- package/views/SelectionManager.d.ts +1 -0
- package/views/SelectionManager.js +1 -1
- package/views/VideoView.js +1 -1
- package/views/View.d.ts +6 -8
- package/views/analysis/AreaMeasurement/types.d.ts +6 -0
- package/views/analysis/DistanceMeasurement/types.d.ts +5 -0
- package/views/analysis/ElevationProfile/ElevationProfileError.d.ts +4 -4
- package/views/analysis/ElevationProfile/types.d.ts +6 -0
- package/views/analysis/types.d.ts +5 -0
- package/views/interactive/editGeometry/support/editPlaneUtils.js +1 -1
- package/views/interactive/snapping/GridSnappingEngine.js +1 -1
- package/views/layers/BuildingSceneLayerView.d.ts +1 -1
- package/views/layers/LayerView.d.ts +1 -1
- package/views/support/colorUtils.d.ts +5 -0
- package/views/support/selectionUtils.js +1 -1
- package/webscene/types.d.ts +5 -0
- package/widgets/FeatureForm/FeatureFormViewModel.d.ts +2 -2
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/Features/FeaturesViewModel.d.ts +1 -1
- package/widgets/Home/HomeViewModel.d.ts +1 -1
- package/widgets/Locate/LocateViewModel.d.ts +2 -2
- package/widgets/Search/types.d.ts +5 -0
- package/widgets/TimeSlider/TimeSliderViewModel.d.ts +1 -1
- package/widgets/UtilityNetworkValidateTopology.js +1 -1
- package/widgets/smartMapping/support/utils.d.ts +6 -0
- package/widgets/support/SelectionList/FeatureItem.js +1 -1
- package/widgets/support/SelectionList/LayerItem.js +1 -1
- package/widgets/support/SelectionList/SelectionListViewModel.js +1 -1
- package/widgets/support/SelectionList.js +1 -1
- package/widgets/support/Selector2D/selectorUtils.js +1 -1
- package/widgets/support/symbolPreviewUtils.js +1 -1
- package/widgets/support/widget.d.ts +11 -0
- package/assets/esri/core/workers/chunks/0d1e8d5d9abee38e275e.js +0 -316
- package/assets/esri/core/workers/chunks/73c3ee2697265b0f7208.js +0 -1
- package/assets/esri/core/workers/chunks/cd2ea924cb91cdb6dde9.js +0 -1
- package/assets/esri/core/workers/chunks/d57577c02fb2932e8305.js +0 -1
- package/colorUtils.d.ts +0 -13
- package/core/Logger.d.ts +0 -29
- package/core/Message.d.ts +0 -2
- package/core/Message.js +0 -5
- package/core/accessorSupport/PropertyOrigin.d.ts +0 -2
- package/core/sql/sql92grammar.d.ts +0 -12
- package/core/string.d.ts +0 -3
- package/core/time.d.ts +0 -2
- package/core/timeUtils.d.ts +0 -2
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Find the closest vertices of the 2D geometry.
|
|
3
|
+
*
|
|
4
|
+
* 
|
|
5
|
+
*
|
|
6
|
+
* @since 4.31
|
|
7
|
+
* @see 
|
|
8
|
+
*/
|
|
1
9
|
import type Point from "../Point.js";
|
|
2
10
|
import type { LengthUnit } from "../../core/units.js";
|
|
3
11
|
import type { ProximityResult } from "./support/proximityResult.js";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Performs a relational operation between two 2D geometries using the DE-9IM matrix encoded as a string. The DE-9IM matrix is a 3x3 matrix that describes the topological relationship between two geometries.
|
|
3
|
+
*
|
|
4
|
+
* See, http://en.wikipedia.org/wiki/DE-9IM.
|
|
5
|
+
*
|
|
6
|
+
* @since 4.31
|
|
7
|
+
*/
|
|
1
8
|
import type { GeometryUnion } from "../support/typeUtils.js";
|
|
2
9
|
|
|
3
10
|
/**
|
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Transforms 2D geometry segment end points and interior points, thus preserving the geographic location of the segment interior and more accurately maintaining its original shape.
|
|
3
|
+
* A maximum offset deviation parameter controls how much the result of the projection is allowed to deviate from the true preserved shape.
|
|
4
|
+
*
|
|
5
|
+
* Projecting your data between coordinate systems sometimes requires transforming
|
|
6
|
+
* between geographic coordinate systems. Geographic transformations are used
|
|
7
|
+
* to transform coordinates between spatial references that have different geographic
|
|
8
|
+
* coordinate systems, and thus different datums.
|
|
9
|
+
* Using the most suitable transformation ensures the best possible accuracy when
|
|
10
|
+
* converting geometries from one spatial reference to another.
|
|
11
|
+
*
|
|
12
|
+
* The `geographicTransformationUtils` module provides the [getTransformation()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-support-geographicTransformationUtils.html#getTransformation) and
|
|
13
|
+
* [getTransformations()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-support-geographicTransformationUtils.html#getTransformations) methods which return the default geographic transformation
|
|
14
|
+
* for the given projection or a list of suitable geographic transformations.
|
|
15
|
+
*
|
|
16
|
+
* > [!WARNING]
|
|
17
|
+
* >
|
|
18
|
+
* > **Notes**
|
|
19
|
+
* > Verify that `isLoaded()` returns `true` before using this module.
|
|
20
|
+
* > Use `load()` to load this module's dependencies.
|
|
21
|
+
*
|
|
22
|
+
* @since 4.32
|
|
23
|
+
* @see [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html)
|
|
24
|
+
* @see [Spatial References](https://developers.arcgis.com/documentation/spatial-references/)
|
|
25
|
+
* @see [Coordinate systems, map projections, and transformations](https://pro.arcgis.com/en/pro-app/latest/help/mapping/properties/coordinate-systems-and-projections.htm)
|
|
26
|
+
* @see [Geographic datum transformations](https://pro.arcgis.com/en/pro-app/latest/help/mapping/properties/geographic-coordinate-system-transformation.htm)
|
|
27
|
+
*/
|
|
1
28
|
import type Extent from "../Extent.js";
|
|
2
29
|
import type SpatialReference from "../SpatialReference.js";
|
|
3
30
|
import type GeographicTransformation from "./support/GeographicTransformation.js";
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Simplifies geometries to enforce topological correctness according to the [OGC Simple Feature Access specification 1.2.1](https://www.ogc.org/standards/sfa/).
|
|
3
|
+
* This operator uses stricter rules than [simplifyOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-simplifyOperator.html).
|
|
4
|
+
*
|
|
5
|
+
* 
|
|
6
|
+
*
|
|
7
|
+
* @since 4.33
|
|
8
|
+
*/
|
|
1
9
|
import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
|
|
2
10
|
|
|
3
11
|
/**
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Applies Esri (non-OGC) simplification to 2D geometries by removing unnecessary vertices while preserving the geometry shape.
|
|
3
|
+
* This makes them topologically legal with respect to their geometry type.
|
|
4
|
+
* This operator is less strict than [simplifyOGCOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-simplifyOGCOperator.html).
|
|
5
|
+
*
|
|
6
|
+
* 
|
|
7
|
+
*
|
|
8
|
+
* @since 4.31
|
|
9
|
+
*/
|
|
1
10
|
import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
|
|
2
11
|
|
|
3
12
|
/**
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A set of utilities for working with geographic transformations.
|
|
3
|
+
*
|
|
4
|
+
* > [!WARNING]
|
|
5
|
+
* >
|
|
6
|
+
* > **Notes**
|
|
7
|
+
* > Verify that `isLoaded()` returns `true` before using this module.
|
|
8
|
+
* > Use `load()` to load this module's dependencies.
|
|
9
|
+
*
|
|
10
|
+
* @since 4.32
|
|
11
|
+
*/
|
|
1
12
|
import type Extent from "../../Extent.js";
|
|
2
13
|
import type SpatialReference from "../../SpatialReference.js";
|
|
3
14
|
import type GeographicTransformation from "./GeographicTransformation.js";
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the symmetric difference between 2D geometries, also known as exclusive OR, or XOR.
|
|
3
|
+
* The symmetric difference is the union of the geometries minus the intersection.
|
|
4
|
+
*
|
|
5
|
+
* This operation can be performed only on geometries that have same dimension (e.g. points with points, lines with lines, polygons with polygons or envelopes, etc).
|
|
6
|
+
* Otherwise, the output will be the input geometry of the higher topological dimension.
|
|
7
|
+
*
|
|
8
|
+
* 
|
|
9
|
+
*
|
|
10
|
+
* @since 4.31
|
|
11
|
+
* @see [Wikipedia - Symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)
|
|
12
|
+
*/
|
|
1
13
|
import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
|
|
2
14
|
|
|
3
15
|
/**
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Perform a relational operation to determine if one 2D geometry touches another 2D geometry.
|
|
3
|
+
*
|
|
4
|
+
* 
|
|
5
|
+
*
|
|
6
|
+
* @since 4.31
|
|
7
|
+
*/
|
|
1
8
|
import type { GeometryUnion } from "../support/typeUtils.js";
|
|
2
9
|
|
|
3
10
|
/**
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Perform a topological union (dissolve) operation on 2D geometries.
|
|
3
|
+
*
|
|
4
|
+
* 
|
|
5
|
+
*
|
|
6
|
+
* @since 4.31
|
|
7
|
+
*/
|
|
1
8
|
import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
|
|
2
9
|
|
|
3
10
|
/**
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Perform a relational operation to determine if one 2D geometry is within another 2D geometry. Geometry A is within geometry B, when A is the intersection of A and B.
|
|
3
|
+
*
|
|
4
|
+
* Geometry A can be non-simple geometry.
|
|
5
|
+
*
|
|
6
|
+
* 
|
|
7
|
+
*
|
|
8
|
+
* @since 4.31
|
|
9
|
+
*/
|
|
1
10
|
import type { GeometryUnion } from "../support/typeUtils.js";
|
|
2
11
|
|
|
3
12
|
/**
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This class performs geodetic computations for Earth and 70+ non-Earth spheroids. Methods include
|
|
3
|
+
* geodesic length, area, point-distance and point-to-point computations.
|
|
4
|
+
*
|
|
5
|
+
* @deprecated since version 4.33. Use [geometry operators](https://developers.arcgis.com/javascript/latest/spatial-analysis/intro-geometry-operators/) instead.
|
|
6
|
+
* @since 4.12
|
|
7
|
+
* @see [Geometry](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html)
|
|
8
|
+
*/
|
|
1
9
|
import type Point from "../Point.js";
|
|
2
10
|
import type Polygon from "../Polygon.js";
|
|
3
11
|
import type Polyline from "../Polyline.js";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provides utility methods for working with ArcGIS JSON geometry objects.
|
|
3
|
+
*
|
|
4
|
+
* @since 4.0
|
|
5
|
+
* @see [Geometry](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html)
|
|
6
|
+
* @see [Using fromJSON() to create a class instance](https://developers.arcgis.com/javascript/latest/using-fromjson)
|
|
7
|
+
*/
|
|
1
8
|
import type { GeometryUnion } from "./typeUtils.js";
|
|
2
9
|
import type { GeometryType } from "../../portal/jsonTypes.js";
|
|
3
10
|
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Various utilities and convenience functions for working with [Mesh](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Mesh.html) objects.
|
|
3
|
+
*
|
|
4
|
+
* @since 4.7
|
|
5
|
+
*/
|
|
1
6
|
import type Ground from "../../Ground.js";
|
|
2
7
|
import type Extent from "../Extent.js";
|
|
3
8
|
import type Mesh from "../Mesh.js";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provides a utility method that normalizes geometries that intersect the central
|
|
3
|
+
* meridian or fall outside the world extent so they stay within the coordinate system
|
|
4
|
+
* of the view. Support is limited to geometries in Web Mercator and WGS-84 spatial references.
|
|
5
|
+
*
|
|
6
|
+
* @since 4.3
|
|
7
|
+
*/
|
|
1
8
|
import type Extent from "../Extent.js";
|
|
2
9
|
import type Mesh from "../Mesh.js";
|
|
3
10
|
import type Multipoint from "../Multipoint.js";
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts Web Mercator coordinates to geographic coordinates and vice versa.
|
|
3
|
+
*
|
|
4
|
+
* > [!WARNING]
|
|
5
|
+
* >
|
|
6
|
+
* > **Known Limitation**
|
|
7
|
+
* >
|
|
8
|
+
* > Geometry type [Mesh](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Mesh.html) is not supported.
|
|
9
|
+
*
|
|
10
|
+
* @since 4.0
|
|
11
|
+
* @see [Sample - CoordinateConversion widget - Custom Formats](https://developers.arcgis.com/javascript/latest/sample-code/widgets-coordinateconversion-custom/)
|
|
12
|
+
*/
|
|
1
13
|
import type SpatialReference from "../SpatialReference.js";
|
|
2
14
|
import type { GeometryUnion } from "./typeUtils.js";
|
|
3
15
|
|
package/geometry.d.ts
CHANGED
|
@@ -1,3 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A convenience module for importing [Geometry](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html) classes when developing with
|
|
3
|
+
* [TypeScript](https://developers.arcgis.com/javascript/latest/get-started/#typescript).
|
|
4
|
+
* For example, rather than importing geometries one at a time like this:
|
|
5
|
+
*
|
|
6
|
+
* ```js
|
|
7
|
+
* import Point from "@arcgis/core/geometry/Point.js";
|
|
8
|
+
* import Polygon from "@arcgis/core/geometry/Polygon.js";
|
|
9
|
+
* import Polyline from "@arcgis/core/geometry/Polyline.js";
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* You can use this module to import them on a single line:
|
|
13
|
+
*
|
|
14
|
+
* ```js
|
|
15
|
+
* import { Point, Polygon, Polyline } from "@arcgis/core/geometry.js";
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* This module also allows you to implement [type guards](https://basarat.gitbook.io/typescript/type-system/typeguard)
|
|
19
|
+
* on geometries, making your code smarter.
|
|
20
|
+
*
|
|
21
|
+
* ```js
|
|
22
|
+
* import { GeometryUnion } from "@arcgis/core/unionTypes.js";
|
|
23
|
+
*
|
|
24
|
+
* function logGeometry(geometry: Geometry): void {
|
|
25
|
+
* if (geometry.type === "point") {
|
|
26
|
+
* // new at 4.6, the compiler knows the geometry is a Point instance
|
|
27
|
+
* console.log("point coords: ", geometry.x, geometry.y, geometry.z);
|
|
28
|
+
* }
|
|
29
|
+
* else {
|
|
30
|
+
* // the compiler knows the geometry must be a `Extent | Polygon | Multipoint | Polyline`
|
|
31
|
+
* console.log("The value is a geometry, but isn't a point.")
|
|
32
|
+
* }
|
|
33
|
+
* }
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @deprecated since version 4.32. Use [unionTypes](https://developers.arcgis.com/javascript/latest/api-reference/esri-unionTypes.html) to import union types, or individual modules to import classes.
|
|
37
|
+
* @since 4.6
|
|
38
|
+
*/
|
|
1
39
|
import type ExtentClass from "./geometry/Extent.js";
|
|
2
40
|
import type MultipointClass from "./geometry/Multipoint.js";
|
|
3
41
|
import type PointClass from "./geometry/Point.js";
|
package/interfaces.d.ts
CHANGED
|
@@ -1243,8 +1243,6 @@ declare namespace __esri {
|
|
|
1243
1243
|
export type Loadable = import("./core/Loadable.js").Loadable;
|
|
1244
1244
|
export const Loadable: typeof import("./core/Loadable.js").Loadable;
|
|
1245
1245
|
|
|
1246
|
-
export type LogInterceptor = import("./core/Logger").LogInterceptor;
|
|
1247
|
-
|
|
1248
1246
|
export type corePromise = import("./core/Promise.js").EsriPromise;
|
|
1249
1247
|
export const corePromise: typeof import("./core/Promise.js").EsriPromise;
|
|
1250
1248
|
|
|
@@ -1430,8 +1428,7 @@ declare namespace __esri {
|
|
|
1430
1428
|
|
|
1431
1429
|
export type PhaseCallback = import("./core/scheduling").PhaseCallback;
|
|
1432
1430
|
|
|
1433
|
-
export type FrameTaskHandle = import("./core/scheduling
|
|
1434
|
-
export const FrameTaskHandle: typeof import("./core/scheduling.js").FrameTaskHandle;
|
|
1431
|
+
export type FrameTaskHandle = import("./core/scheduling").FrameTaskHandle;
|
|
1435
1432
|
|
|
1436
1433
|
interface scheduling {
|
|
1437
1434
|
schedule: typeof import("./core/scheduling.js").schedule;
|
|
@@ -1459,6 +1456,8 @@ declare namespace __esri {
|
|
|
1459
1456
|
export type MapViewScreenPoint = import("./core/types").ScreenPoint;
|
|
1460
1457
|
export type SceneViewScreenPoint = import("./core/types").ScreenPoint;
|
|
1461
1458
|
|
|
1459
|
+
export type LogInterceptor = import("./core/types").LogInterceptor;
|
|
1460
|
+
|
|
1462
1461
|
export type LengthUnit = import("./core/units").LengthUnit;
|
|
1463
1462
|
|
|
1464
1463
|
export type AreaUnit = import("./core/units").AreaUnit;
|
|
@@ -1541,62 +1540,62 @@ declare namespace __esri {
|
|
|
1541
1540
|
|
|
1542
1541
|
export type decoratorsPropertyMetadata<T extends Base = any, Base = T> = import("./core/accessorSupport/types").InputPropertyMetadata<T, Base>;
|
|
1543
1542
|
|
|
1544
|
-
export type SQLSyntaxError = import("./core/sql/WhereClause").SQLSyntaxError;
|
|
1545
|
-
|
|
1546
1543
|
export type WhereClause = import("./core/sql/WhereClause.js").default;
|
|
1547
1544
|
export const WhereClause: typeof import("./core/sql/WhereClause.js").default;
|
|
1548
1545
|
|
|
1549
|
-
export type
|
|
1546
|
+
export type SQLSourcePosition = import("./core/sql/types").SourcePosition;
|
|
1547
|
+
|
|
1548
|
+
export type SQLSourceLocation = import("./core/sql/types").SQLSourceLocation;
|
|
1550
1549
|
|
|
1551
|
-
export type
|
|
1550
|
+
export type SQLSyntaxError = import("./core/sql/types").SQLSyntaxError;
|
|
1552
1551
|
|
|
1553
|
-
export type
|
|
1552
|
+
export type SQLNode = import("./core/sql/types").SQLNode;
|
|
1554
1553
|
|
|
1555
|
-
export type
|
|
1554
|
+
export type SimpleCaseNode = import("./core/sql/types").SimpleCaseNode;
|
|
1556
1555
|
|
|
1557
|
-
export type
|
|
1556
|
+
export type SearchedCaseNode = import("./core/sql/types").SearchedCaseNode;
|
|
1558
1557
|
|
|
1559
|
-
export type
|
|
1558
|
+
export type WhenNode = import("./core/sql/types").WhenNode;
|
|
1560
1559
|
|
|
1561
|
-
export type
|
|
1560
|
+
export type ParamNode = import("./core/sql/types").ParamNode;
|
|
1562
1561
|
|
|
1563
|
-
export type
|
|
1562
|
+
export type ListNode = import("./core/sql/types").ListNode;
|
|
1564
1563
|
|
|
1565
|
-
export type
|
|
1564
|
+
export type UnaryNode = import("./core/sql/types").UnaryNode;
|
|
1566
1565
|
|
|
1567
|
-
export type
|
|
1566
|
+
export type BinaryNode = import("./core/sql/types").BinaryNode;
|
|
1568
1567
|
|
|
1569
|
-
export type
|
|
1568
|
+
export type NullNode = import("./core/sql/types").NullNode;
|
|
1570
1569
|
|
|
1571
|
-
export type
|
|
1570
|
+
export type BoolNode = import("./core/sql/types").BoolNode;
|
|
1572
1571
|
|
|
1573
|
-
export type
|
|
1572
|
+
export type StringNode = import("./core/sql/types").StringNode;
|
|
1574
1573
|
|
|
1575
|
-
export type
|
|
1574
|
+
export type NumberNode = import("./core/sql/types").NumberNode;
|
|
1576
1575
|
|
|
1577
|
-
export type
|
|
1576
|
+
export type DateNode = import("./core/sql/types").DateNode;
|
|
1578
1577
|
|
|
1579
|
-
export type
|
|
1578
|
+
export type TimeNode = import("./core/sql/types").TimeNode;
|
|
1580
1579
|
|
|
1581
|
-
export type
|
|
1580
|
+
export type TimeStampNode = import("./core/sql/types").TimeStampNode;
|
|
1582
1581
|
|
|
1583
|
-
export type
|
|
1582
|
+
export type ColumnNode = import("./core/sql/types").ColumnNode;
|
|
1584
1583
|
|
|
1585
|
-
export type
|
|
1584
|
+
export type CurrentTimeNode = import("./core/sql/types").CurrentTimeNode;
|
|
1586
1585
|
|
|
1587
|
-
export type
|
|
1586
|
+
export type CurrentUserNode = import("./core/sql/types").CurrentUserNode;
|
|
1588
1587
|
|
|
1589
|
-
export type
|
|
1588
|
+
export type IntervalNode = import("./core/sql/types").IntervalNode;
|
|
1590
1589
|
|
|
1591
|
-
export type
|
|
1590
|
+
export type IntervalQualifierNode = import("./core/sql/types").IntervalQualifierNode;
|
|
1592
1591
|
|
|
1593
|
-
export type
|
|
1592
|
+
export type IntervalPeriodNode = import("./core/sql/types").IntervalPeriodNode;
|
|
1594
1593
|
|
|
1595
|
-
export type
|
|
1594
|
+
export type FunctionNode = import("./core/sql/types").FunctionNode;
|
|
1596
1595
|
|
|
1597
|
-
export type
|
|
1596
|
+
export type DataTypeNode = import("./core/sql/types").DataTypeNode;
|
|
1598
1597
|
|
|
1599
|
-
export type
|
|
1598
|
+
export type DataTypeNodeValue = import("./core/sql/types").DataTypeNodeValue;
|
|
1600
1599
|
|
|
1601
1600
|
export type ConnectionInvokeOptions = import("./core/workers/Connection").InvokeOptions;
|
|
1602
1601
|
|
package/intl.d.ts
CHANGED
|
@@ -1,3 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * {@link intl#overview}
|
|
3
|
+
* * {@link intl#locale Setting the locale}
|
|
4
|
+
* * {@link intl#number Number formatting}
|
|
5
|
+
* * {@link intl#datetime Date and time formatting}
|
|
6
|
+
* * {@link intl#tips Tips and tricks}
|
|
7
|
+
*
|
|
8
|
+
* <span id="overview"></span>
|
|
9
|
+
* ## Overview
|
|
10
|
+
*
|
|
11
|
+
* This module provides the ability to set the app locale along with date and number formatting methods and supporting utilities.
|
|
12
|
+
*
|
|
13
|
+
* The formatting functions [formatDate()](https://developers.arcgis.com/javascript/latest/api-reference/esri-intl.html#formatDate), [formatNumber()](https://developers.arcgis.com/javascript/latest/api-reference/esri-intl.html#formatNumber), and [substitute()](https://developers.arcgis.com/javascript/latest/api-reference/esri-intl.html#substitute)
|
|
14
|
+
* rely on the Internationalization APIs available in all web browsers to enable locale-sensitive date, time, and number formatting.
|
|
15
|
+
*
|
|
16
|
+
* <span id="locale"></span>
|
|
17
|
+
* ## Setting the locale
|
|
18
|
+
*
|
|
19
|
+
* The SDK will automatically use locale defined via [`lang` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) on the root `html` element, or the locale of the browser.
|
|
20
|
+
* To override this behavior, you can set the locale used by the SDK with the [setLocale()](https://developers.arcgis.com/javascript/latest/api-reference/esri-intl.html#setLocale) method.
|
|
21
|
+
* This locale will determine:
|
|
22
|
+
* 1. the number and date formatting used throughout the API,
|
|
23
|
+
* 2. the translation of widgets, and
|
|
24
|
+
* 3. the place label language of basemaps (if using the [basemap styles service](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-BasemapStyle.html)).
|
|
25
|
+
*
|
|
26
|
+
* See the [localization](https://developers.arcgis.com/javascript/latest/localization/) guide page for more information.
|
|
27
|
+
*
|
|
28
|
+
* <span id="number"></span>
|
|
29
|
+
* ## Number formatting
|
|
30
|
+
*
|
|
31
|
+
* You can format numbers with [formatNumber()](https://developers.arcgis.com/javascript/latest/api-reference/esri-intl.html#formatNumber) in three different styles: `decimal`, `percent`, or `currency`.
|
|
32
|
+
*
|
|
33
|
+
* ```js
|
|
34
|
+
* const decimalFormatted = intl.formatNumber(12.5, {
|
|
35
|
+
* style: "decimal"
|
|
36
|
+
* });
|
|
37
|
+
*
|
|
38
|
+
* const percentFormatted = intl.formatNumber(12.5, {
|
|
39
|
+
* style: "percent"
|
|
40
|
+
* });
|
|
41
|
+
*
|
|
42
|
+
* const currencyFormatted = intl.formatNumber(12.5, {
|
|
43
|
+
* style: "currency",
|
|
44
|
+
* currency: "EUR",
|
|
45
|
+
* currencyDisplay: "symbol"
|
|
46
|
+
* });
|
|
47
|
+
*
|
|
48
|
+
* console.log(decimalFormatted); // In French locale: 12,5
|
|
49
|
+
* console.log(percentFormatted); // In French locale: 1 250 %
|
|
50
|
+
* console.log(currencyFormatted); // In French locale: 12,50 €
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* By default, numbers are formatted using the appropriate set of `options` for a specified style. It is also
|
|
54
|
+
* possible to control whether to use a grouping separator with a number of integer, fractional, or significant digits.
|
|
55
|
+
*
|
|
56
|
+
* <span id="datetime"></span>
|
|
57
|
+
* ## Date and time formatting
|
|
58
|
+
*
|
|
59
|
+
* You can format dates with [formatDate()](https://developers.arcgis.com/javascript/latest/api-reference/esri-intl.html#formatDate). Each date-time component of the formatted date
|
|
60
|
+
* can be controlled: `weekday`, `era`, `year`, `month`, `day`, `hour`, `minute`, `second`, and `timeZoneName`.
|
|
61
|
+
* The locale and region are taken into account to determine the most appropriate order of each component,
|
|
62
|
+
* or whether to use 24-hour or 12-hour time formats. For example, formatting a date in `en-US` and in `en-GB` gives
|
|
63
|
+
* different results.
|
|
64
|
+
*
|
|
65
|
+
* ```js
|
|
66
|
+
* const now = Date.now();
|
|
67
|
+
*
|
|
68
|
+
* const dateTimeFormatOptions = {
|
|
69
|
+
* weekday: "long",
|
|
70
|
+
* day: "2-digit",
|
|
71
|
+
* month: "long",
|
|
72
|
+
* year: "numeric",
|
|
73
|
+
* hour: "numeric",
|
|
74
|
+
* minute: "numeric"
|
|
75
|
+
* };
|
|
76
|
+
*
|
|
77
|
+
* const formatted = intl.formatDate(now, dateTimeFormatOptions);
|
|
78
|
+
*
|
|
79
|
+
* console.log(formatted);
|
|
80
|
+
* // In English en-US: Monday, June 24, 2019, 2:28 PM
|
|
81
|
+
* // In English en-GB: Monday, 24 June 2019, 14:28
|
|
82
|
+
* // In French fr-FR: lundi 24 juin 2019 à 14:28
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* <span id="tips"></span>
|
|
86
|
+
* ## Tips and tricks
|
|
87
|
+
*
|
|
88
|
+
* The [formatDate()](https://developers.arcgis.com/javascript/latest/api-reference/esri-intl.html#formatDate), [formatNumber()](https://developers.arcgis.com/javascript/latest/api-reference/esri-intl.html#formatNumber), and [substitute()](https://developers.arcgis.com/javascript/latest/api-reference/esri-intl.html#substitute) functions are light wrappers
|
|
89
|
+
* around the Intl APIs that cache the created [Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
|
|
90
|
+
* and [Intl.NumberFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat) formatter objects for a set of `options`.
|
|
91
|
+
* Consider reusing the same `options` objects to avoid having to recreate these objects.
|
|
92
|
+
*
|
|
93
|
+
* ```js
|
|
94
|
+
* const currencyFormatter = {
|
|
95
|
+
* style: "currency",
|
|
96
|
+
* currency: "EUR",
|
|
97
|
+
* currencyDisplay: "symbol"
|
|
98
|
+
* };
|
|
99
|
+
*
|
|
100
|
+
* function formatCurrency(amount) {
|
|
101
|
+
* return formatNumber(amount, currencyFormatter);
|
|
102
|
+
* }
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* @since 4.12
|
|
106
|
+
* @see [Intl on MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl)
|
|
107
|
+
* @see [Intl.DateTimeFormat on MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
|
|
108
|
+
* @see [Intl.NumberFormat on MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat)
|
|
109
|
+
* @see [FieldInfoFormat](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-support-FieldInfoFormat.html)
|
|
110
|
+
* @see [Sample - Load portal items via drag and drop](https://developers.arcgis.com/javascript/latest/sample-code/portalitem-dragndrop/)
|
|
111
|
+
*/
|
|
1
112
|
import type DateTimeFieldFormat from "./layers/support/DateTimeFieldFormat.js";
|
|
2
113
|
import type NumberFieldFormat from "./layers/support/NumberFieldFormat.js";
|
|
3
114
|
import type { ResourceHandle } from "./core/Handles.js";
|
package/kernel.d.ts
CHANGED
package/kernel.js
CHANGED
|
@@ -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 has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="5.0";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="5.0.0-next.
|
|
5
|
+
import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="5.0";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="5.0.0-next.56",has("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),has("host-webworker");export{t as addTokenParameter,r as fullVersion,s as id,i as setId,e as version};
|
|
@@ -26,7 +26,7 @@ export interface BaseDynamicLayerProperties extends LayerProperties, Refreshable
|
|
|
26
26
|
*
|
|
27
27
|
* ### Request images as they are defined
|
|
28
28
|
*
|
|
29
|
-
* To request images as they are predefined from a data source, overwrite the
|
|
29
|
+
* To request images as they are predefined from a data source, overwrite the [getImageUrl()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BaseDynamicLayer.html#getImageUrl)
|
|
30
30
|
* method so it returns the URL for the requested tile for a given level, row and column.
|
|
31
31
|
*
|
|
32
32
|
* ```js
|
package/layers/CSVLayer.d.ts
CHANGED
|
@@ -369,7 +369,7 @@ export interface CSVLayerProperties extends FeatureLayerProperties, Partial<Pick
|
|
|
369
369
|
* >
|
|
370
370
|
* > Screen size perspective is currently not optimized for situations where the camera is very near the ground, or for scenes
|
|
371
371
|
* > with visual elements located far from the ground surface. In these cases it may be better to turn off screen size perspective.
|
|
372
|
-
* > As screen size perspective changes the size based on distance to the camera, it should be set to false when using
|
|
372
|
+
* > As screen size perspective changes the size based on distance to the camera, it should be set to false when using [size visual variables](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html).
|
|
373
373
|
*
|
|
374
374
|
* @default true
|
|
375
375
|
* @since 4.4
|
|
@@ -1072,7 +1072,7 @@ export default class CSVLayer extends __FeatureLayerSansType {
|
|
|
1072
1072
|
* >
|
|
1073
1073
|
* > Screen size perspective is currently not optimized for situations where the camera is very near the ground, or for scenes
|
|
1074
1074
|
* > with visual elements located far from the ground surface. In these cases it may be better to turn off screen size perspective.
|
|
1075
|
-
* > As screen size perspective changes the size based on distance to the camera, it should be set to false when using
|
|
1075
|
+
* > As screen size perspective changes the size based on distance to the camera, it should be set to false when using [size visual variables](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html).
|
|
1076
1076
|
*
|
|
1077
1077
|
* @default true
|
|
1078
1078
|
* @since 4.4
|
package/layers/CatalogLayer.d.ts
CHANGED
|
@@ -348,8 +348,8 @@ export default class CatalogLayer extends CatalogLayerSuperclass {
|
|
|
348
348
|
get minScaleField(): "cd_minscale";
|
|
349
349
|
/**
|
|
350
350
|
* An array of field names from the service to include with each feature. To fetch the values from all fields in the layer, use `["*"]`.
|
|
351
|
-
* Fields specified in `outFields` will be requested alongside with required fields for
|
|
352
|
-
*
|
|
351
|
+
* Fields specified in `outFields` will be requested alongside with required fields for [rendering](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-catalog-CatalogFootprintLayer.html#renderer),
|
|
352
|
+
* [labeling](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-catalog-CatalogFootprintLayer.html#labelingInfo) and setting the [elevation info](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-catalog-CatalogFootprintLayer.html#elevationInfo) for the layer.
|
|
353
353
|
*
|
|
354
354
|
* @see [fieldUtils](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-fieldUtils.html)
|
|
355
355
|
* @example
|
package/layers/FeatureLayer.d.ts
CHANGED
|
@@ -1224,7 +1224,8 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
|
1224
1224
|
* >
|
|
1225
1225
|
* > Screen size perspective is currently not optimized for situations where the camera is very near the ground, or for scenes
|
|
1226
1226
|
* > with visual elements located far from the ground surface. In these cases it may be better to turn off screen size perspective.
|
|
1227
|
-
* > As screen size perspective changes the size based on distance to the camera, it should be set to false when using
|
|
1227
|
+
* > As screen size perspective changes the size based on distance to the camera, it should be set to false when using
|
|
1228
|
+
* > [size visual variables](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html).
|
|
1228
1229
|
*
|
|
1229
1230
|
* @default true
|
|
1230
1231
|
* @since 4.4
|
package/layers/GeoJSONLayer.d.ts
CHANGED
|
@@ -1129,7 +1129,8 @@ export default class GeoJSONLayer extends GeoJSONLayerSuperclass {
|
|
|
1129
1129
|
* >
|
|
1130
1130
|
* > Screen size perspective is currently not optimized for situations where the camera is very near the ground, or for scenes
|
|
1131
1131
|
* > with visual elements located far from the ground surface. In these cases it may be better to turn off screen size perspective.
|
|
1132
|
-
* > As screen size perspective changes the size based on distance to the camera, it should be set to false when using
|
|
1132
|
+
* > As screen size perspective changes the size based on distance to the camera, it should be set to false when using
|
|
1133
|
+
* > [size visual variables](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html).
|
|
1133
1134
|
*
|
|
1134
1135
|
* @default true
|
|
1135
1136
|
*/
|
|
@@ -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
|
-
const o=-1,t=-2;export{o as invalidLayerView,t as wasmFailedToInit};
|
|
5
|
+
const o=-1,t=-2,c=-1,e=-2;export{e as elevQueriesFull,c as elevQueriesGenericFail,o as invalidLayerView,t as wasmFailedToInit};
|
package/layers/Layer.d.ts
CHANGED
|
@@ -430,7 +430,7 @@ export default abstract class Layer extends LayerSuperclass {
|
|
|
430
430
|
*/
|
|
431
431
|
createLayerView<T extends LayerView = LayerView>(view: View<T>, options?: AbortOptions): Promise<T>;
|
|
432
432
|
/**
|
|
433
|
-
* Destroys the layer and any associated resources (including its
|
|
433
|
+
* Destroys the layer and any associated resources (including its portalItem, if it is a property on the layer).
|
|
434
434
|
* The layer can no longer be used once it has been destroyed.
|
|
435
435
|
*
|
|
436
436
|
* The destroyed layer will be removed from its parent object like [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html), [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html), [WebScene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html),
|