@arcgis/core 5.0.0-next.59 → 5.0.0-next.60
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/analysis/Analysis.d.ts +2 -3
- package/analysis/ElevationProfile/ElevationProfileLine.d.ts +1 -1
- package/analysis/ElevationProfile/ElevationProfileLineQuery.d.ts +1 -3
- package/analysis/ElevationProfile/{elevationProfileLineTypes.d.ts → types.d.ts} +2 -2
- package/analysis/ElevationProfileAnalysis.d.ts +1 -1
- package/analysis/LengthDimension.d.ts +1 -1
- package/analysis/LineOfSightAnalysisObserver.d.ts +1 -1
- package/analysis/LineOfSightAnalysisTarget.d.ts +1 -1
- package/analysis/Slice/SliceAnalysisExcludedLayer.js +5 -0
- package/analysis/Slice/types.d.ts +4 -0
- package/analysis/SliceAnalysis.d.ts +1 -4
- package/analysis/SliceAnalysis.js +1 -1
- package/analysis/Viewshed.d.ts +1 -1
- package/analysis/VolumeMeasurementAnalysis.d.ts +1 -1
- package/analysis/VolumeMeasurementAnalysis.js +1 -1
- package/analysis/types.d.ts +22 -1
- package/applications/KnowledgeStudio/generalSdkInternalAccess.d.ts +6 -0
- package/applications/KnowledgeStudio/generalSharedKgUtils.d.ts +4 -1
- package/applications/KnowledgeStudio/layerInternalAccessUtils.d.ts +11 -1
- package/applications/KnowledgeStudio/layerInternalAccessUtils.js +1 -1
- package/arcade/functions/featuresetbase.js +1 -1
- package/arcade.d.ts +27 -4
- package/arcade.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/02cd179176fee25d09a8.js +1 -0
- package/assets/esri/core/workers/chunks/0367a8580fede8f804f9.js +1 -0
- package/assets/esri/core/workers/chunks/0483a2cfdb8c7158e73a.js +1 -0
- package/assets/esri/core/workers/chunks/{73f9cbf0f919b6adc2d5.js → 05ab54b81c366e98138f.js} +1 -1
- package/assets/esri/core/workers/chunks/108a4ab28b6586e281d9.js +1 -0
- package/assets/esri/core/workers/chunks/14f4f5b7549cea7b5a6a.js +1 -0
- package/assets/esri/core/workers/chunks/1b475593c80d7bccdda5.js +1 -0
- package/assets/esri/core/workers/chunks/{de05c59da6d67716795d.js → 1c350a2c4014146dbcd9.js} +1 -1
- package/assets/esri/core/workers/chunks/{b2425f6af7df6902dfc4.js → 1e8ceed33a3657ac02b3.js} +1 -1
- package/assets/esri/core/workers/chunks/{2d61b6efa17e8c5832da.js → 21ebd234cf32ae52b3ea.js} +1 -1
- package/assets/esri/core/workers/chunks/27ec8688f72130239b98.js +1 -0
- package/assets/esri/core/workers/chunks/{087cf25ca211836a084a.js → 2a6231db5ee6cbfd59a5.js} +1 -1
- package/assets/esri/core/workers/chunks/2d8dca9a4a58469ddd05.js +1 -0
- package/assets/esri/core/workers/chunks/2e6bd743b88e83d43137.js +1 -0
- package/assets/esri/core/workers/chunks/2f6fa33692478e99d24b.js +1 -0
- package/assets/esri/core/workers/chunks/31eda00e6842005d0ec8.js +1 -0
- package/assets/esri/core/workers/chunks/{ce90e8489143228262e7.js → 33a13e80badd20ed8de2.js} +1 -1
- package/assets/esri/core/workers/chunks/{01d38a9ca9e88c38aab9.js → 34178ace79e8dea3567d.js} +1 -1
- package/assets/esri/core/workers/chunks/37a3e91791a18ed8b8da.js +1 -0
- package/assets/esri/core/workers/chunks/{47338472f5a8e004a671.js → 37e46461da3000949a26.js} +1 -1
- package/assets/esri/core/workers/chunks/{c531c0e3d420a1be0ad2.js → 3d1a5a3467f3a6585b3e.js} +1 -1
- package/assets/esri/core/workers/chunks/{be6a05d5375e80968877.js → 47e5149765beee46f208.js} +1 -1
- package/assets/esri/core/workers/chunks/{44fb1184eeed0636704a.js → 4b088260252787734c00.js} +1 -1
- package/assets/esri/core/workers/chunks/4cbe78d6a5ff617e15d6.js +1 -0
- package/assets/esri/core/workers/chunks/509065a27bd07bd32475.js +1 -0
- package/assets/esri/core/workers/chunks/{c09cba77ee60a3d765e2.js → 522a6787d9e0f520ac79.js} +1 -1
- package/assets/esri/core/workers/chunks/5686220aed9a74dbd2b1.js +1 -0
- package/assets/esri/core/workers/chunks/584c4602d97a008afb83.js +1 -0
- package/assets/esri/core/workers/chunks/{60954ab810dbbf36e5e1.js → 5a66b7f1f4da75da8e7f.js} +1 -1
- package/assets/esri/core/workers/chunks/{10094eb2b94e98dd4a8a.js → 5dc2f2e28c30386efadf.js} +1 -1
- package/assets/esri/core/workers/chunks/668a868fe2dcb6384ac9.js +1 -0
- package/assets/esri/core/workers/chunks/68cb43f2fa8cc826e99b.js +1 -0
- package/assets/esri/core/workers/chunks/68ee11589de0da7fed08.js +1 -0
- package/assets/esri/core/workers/chunks/{d42273394f575e71dd55.js → 73bee5659414b3687cfc.js} +1 -1
- package/assets/esri/core/workers/chunks/{090dad5579f0148d6486.js → 76dbaef0d0794913f36f.js} +1 -1
- package/assets/esri/core/workers/chunks/{09bd9bd37a339802907a.js → 7bf30c254228f9b7f224.js} +1 -1
- package/assets/esri/core/workers/chunks/7c5218eae13d3bd30598.js +1 -0
- package/assets/esri/core/workers/chunks/7fc09382f934e9223a9b.js +1 -0
- package/assets/esri/core/workers/chunks/{472d290f8eb1c1a85724.js → 8195310b4c53db902fc1.js} +1 -1
- package/assets/esri/core/workers/chunks/831b8282380844a7c4d5.js +1 -0
- package/assets/esri/core/workers/chunks/83c5dea24e36ac2e3497.js +1 -0
- package/assets/esri/core/workers/chunks/{49df576f0215618aa651.js → 84440efe2cc337dab81f.js} +1 -1
- package/assets/esri/core/workers/chunks/852007720e3bc29532db.js +1 -0
- package/assets/esri/core/workers/chunks/87c6470ee295d736b06d.js +1 -0
- package/assets/esri/core/workers/chunks/89853fccdf2bfcc290c0.js +1 -0
- package/assets/esri/core/workers/chunks/{1e152a34e368bd810a0f.js → 8d58e59ea13ecafdd45c.js} +1 -1
- package/assets/esri/core/workers/chunks/{a2442549c5daf3653eb4.js → 8d6641d0f7c93f83c414.js} +1 -1
- package/assets/esri/core/workers/chunks/8db723b8468e408dda46.js +1 -0
- package/assets/esri/core/workers/chunks/92a4f56232f81ca457fa.js +1 -0
- package/assets/esri/core/workers/chunks/{8a132d91077ecf849248.js → 92ef6071ea87b7f940e2.js} +1 -1
- package/assets/esri/core/workers/chunks/{bb4aefaf9b0327dda738.js → 942c80c425b1f13cced5.js} +1 -1
- package/assets/esri/core/workers/chunks/980313a6c35e79812d17.js +1 -0
- package/assets/esri/core/workers/chunks/{e6bab7b739bfbb39f6cd.js → 988f5e003377d734d282.js} +1 -1
- package/assets/esri/core/workers/chunks/{7364fb5e99933533890d.js → 9ba8a2e1c0fb4e1efc7c.js} +1 -1
- package/assets/esri/core/workers/chunks/9c157c0eeadb824ad01e.js +1 -0
- package/assets/esri/core/workers/chunks/a39ac9127a215d14d412.js +1 -0
- package/assets/esri/core/workers/chunks/{63cf702cde83692126be.js → a6f29d1a6356e2de5a79.js} +1 -1
- package/assets/esri/core/workers/chunks/a94dd0f5839b6e2bb2d2.js +1 -0
- package/assets/esri/core/workers/chunks/ab0275669e28e7a34c38.js +1 -0
- package/assets/esri/core/workers/chunks/abc8015e13b1395b8d64.js +1 -0
- package/assets/esri/core/workers/chunks/abcee7cfd53cfe1d91e9.js +1 -0
- package/assets/esri/core/workers/chunks/acdbe0299024d58e1421.js +1 -0
- package/assets/esri/core/workers/chunks/{63c91421a71ae3b3599e.js → adff1791ae44631ad34a.js} +1 -1
- package/assets/esri/core/workers/chunks/{0eb6b9c638a5fcfe9bab.js → b4a59dd11d75df7bd510.js} +1 -1
- package/assets/esri/core/workers/chunks/{224f01b11fdba9250b1e.js → b64cfd86d9204be743c6.js} +1 -1
- package/assets/esri/core/workers/chunks/b7f2fb6684cf684b0bce.js +1 -0
- package/assets/esri/core/workers/chunks/b9f0d313f59fc7c43560.js +1 -0
- package/assets/esri/core/workers/chunks/bb5373ff7cdad7270095.js +1 -0
- package/assets/esri/core/workers/chunks/bb92a9daa0c5b019561f.js +1 -0
- package/assets/esri/core/workers/chunks/bbe2eaef7edfa33b6eea.js +1 -0
- package/assets/esri/core/workers/chunks/bddaa83fcb9fdb1e1856.js +1 -0
- package/assets/esri/core/workers/chunks/bfdf646d4c8f175a4236.js +1 -0
- package/assets/esri/core/workers/chunks/{0000781c850b1b4828b3.js → bfe052b386ec4874f350.js} +1 -1
- package/assets/esri/core/workers/chunks/{aa297e0931213341f51b.js → c3272b09bff886b08ce1.js} +1 -1
- package/assets/esri/core/workers/chunks/c38a07e936226b361b63.js +1 -0
- package/assets/esri/core/workers/chunks/{0d9904ba62558686c289.js → c743e561e7d73a100576.js} +1 -1
- package/assets/esri/core/workers/chunks/{b907d16e82ac908bb896.js → c96083838f919a8f64cd.js} +1 -1
- package/assets/esri/core/workers/chunks/{be80ed6e2955eabe912f.js → ca761dc5f45cafef313e.js} +1 -1
- package/assets/esri/core/workers/chunks/{8a6e50d95539b46f629c.js → cad1d7e5ce89f51b3ac9.js} +1 -1
- package/assets/esri/core/workers/chunks/{dbe55d4731227d6e9571.js → ccc743e41854eb225c23.js} +1 -1
- package/assets/esri/core/workers/chunks/cf3a9ead26629f3508b3.js +1 -0
- package/assets/esri/core/workers/chunks/{3a612f873e29348370b2.js → d129a5a34e9ad09bd39e.js} +1 -1
- package/assets/esri/core/workers/chunks/{461093ce28ceadd7853d.js → d14e75b160aa432233c6.js} +1 -1
- package/assets/esri/core/workers/chunks/{e668ddc7332e5e560e78.js → d2abfcb0c8bf894c7f72.js} +1 -1
- package/assets/esri/core/workers/chunks/d749aa62ad694147aebe.js +1 -0
- package/assets/esri/core/workers/chunks/{f142c5cbdd16f1768275.js → d77f56576a49a998164a.js} +1 -1
- package/assets/esri/core/workers/chunks/{044a0ccd89741c1ae770.js → d79d29b52a65fb6bf94d.js} +1 -1
- package/assets/esri/core/workers/chunks/da7685ec2b6eaf00fd2d.js +1 -0
- package/assets/esri/core/workers/chunks/dae09fb8da0faa6dede4.js +1 -0
- package/assets/esri/core/workers/chunks/e16e88de4e93b0f48b2c.js +1 -0
- package/assets/esri/core/workers/chunks/e8bf362b2631f977b1cb.js +1 -0
- package/assets/esri/core/workers/chunks/ec5f83aa752c39a96609.js +1 -0
- package/assets/esri/core/workers/chunks/ed7e353e290b3a272457.js +1 -0
- package/assets/esri/core/workers/chunks/ef9a23d41acb5ad36426.js +1 -0
- package/assets/esri/core/workers/chunks/{33154a245eeca4ba38c6.js → f3437ae6bba846b524d3.js} +1 -1
- package/assets/esri/core/workers/chunks/{cfd2839e218610a222e5.js → f54ec21fa67db6fef5a6.js} +1 -1
- package/assets/esri/core/workers/chunks/{58242447b72cc60a5040.js → f91e63d7842c427c7f72.js} +1 -1
- package/assets/esri/core/workers/chunks/{914746077017fa50933f.js → fa0bbf0d7eadb924c473.js} +1 -1
- package/assets/esri/core/workers/chunks/fbd577f56529063ce491.js +1 -0
- package/assets/esri/core/workers/chunks/fe33b11ec3f58a0f541a.js +1 -0
- package/assets/esri/core/workers/chunks/fe5d2735f057c7789f4b.js +1 -0
- package/assets/esri/core/workers/chunks/ff7df6fb78fa2c0e9247.js +1 -0
- package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
- package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology.json +1 -1
- package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_en.json +1 -1
- package/chunks/bundle.js +1 -1
- package/config.js +1 -1
- package/core/memoryEstimations.js +1 -1
- package/core/promiseUtils.d.ts +1 -1
- package/core/units.d.ts +2 -0
- package/geometry/FlatGeometry.js +1 -1
- package/geometry/operators/support/jsonConverter.js +1 -1
- package/interfaces.d.ts +29 -31
- package/kernel.js +1 -1
- package/layers/FeatureLayer.d.ts +3 -3
- package/layers/GeoJSONLayer.d.ts +1 -1
- package/layers/ImageryTileLayer.d.ts +1 -1
- package/layers/OGCFeatureLayer.d.ts +1 -1
- package/layers/ParquetLayer.d.ts +1 -1
- package/layers/ParquetLayer.js +1 -1
- package/layers/SceneLayer.d.ts +1 -1
- package/layers/StreamLayer.d.ts +8 -7
- package/layers/VoxelWasmPerSceneView.js +1 -1
- package/layers/WCSLayer.d.ts +1 -1
- package/layers/WFSLayer.d.ts +1 -1
- package/layers/buildingSublayers/BuildingComponentSublayer.d.ts +1 -1
- package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
- package/layers/graphics/FlatFeature.js +5 -0
- package/layers/graphics/FlatFeatureSet.js +5 -0
- package/layers/graphics/data/FlatFeatureStore.js +5 -0
- package/layers/graphics/data/QueryEngine.js +1 -1
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/graphics/data/flatFeatureQueryEngineAdapter.js +5 -0
- package/layers/graphics/data/optimizedFeatureQueryEngineAdapter.js +1 -1
- package/layers/graphics/featureConversionUtils.js +1 -1
- package/layers/graphics/sources/OGCFeatureSource.js +1 -1
- package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +1 -1
- package/layers/mixins/ArcGISImageService.d.ts +1 -1
- package/layers/mixins/ImageryTileMixin.d.ts +1 -1
- package/layers/ogc/ogcFeatureUtils.d.ts +57 -0
- package/layers/ogc/ogcFeatureUtils.js +1 -1
- package/layers/ogc/types.d.ts +73 -0
- package/layers/raster/functions/creators/createDataManagementFunctions.d.ts +1 -1
- package/layers/raster/functions/creators/createSurfaceFunctions.d.ts +1 -1
- package/layers/support/FeatureReductionBinning.d.ts +1 -1
- package/layers/support/FeatureReductionCluster.d.ts +1 -1
- package/layers/support/StreamConnection.d.ts +37 -4
- package/layers/support/Sublayer.d.ts +1 -1
- package/layers/support/TrackPartInfo.d.ts +1 -1
- package/layers/support/fieldUtils.d.ts +1 -1
- package/layers/support/parquetUtils.js +1 -1
- package/libs/parquet/parquet.js +1 -1
- package/package.json +1 -1
- package/pointCloudRenderers.d.ts +1 -1
- package/portal/jsonTypes.d.ts +6 -0
- package/renderers/DictionaryRenderer.d.ts +2 -5
- package/renderers/PointCloudClassBreaksRenderer.d.ts +2 -1
- package/renderers/PointCloudRenderer.d.ts +3 -6
- package/renderers/PointCloudStretchRenderer.d.ts +2 -1
- package/renderers/PointCloudUniqueValueRenderer.d.ts +2 -1
- package/renderers/RasterShadedReliefRenderer.d.ts +2 -3
- package/renderers/RasterStretchRenderer.d.ts +1 -1
- package/renderers/Renderer.d.ts +2 -2
- package/renderers/VectorFieldRenderer.d.ts +4 -3
- package/renderers/support/AuthoringInfo.d.ts +2 -25
- package/renderers/support/AuthoringInfoVisualVariable.d.ts +2 -17
- package/renderers/support/RasterPresetRenderer.d.ts +1 -1
- package/renderers/support/RendererLegendOptions.d.ts +1 -4
- package/renderers/support/jsonUtils.d.ts +1 -1
- package/renderers/support/pointCloud/types.d.ts +10 -0
- package/renderers/support/raster/types.d.ts +54 -0
- package/renderers/support/types.d.ts +44 -0
- package/renderers/support/utils.d.ts +1 -1
- package/renderers/types.d.ts +16 -6
- package/renderers.d.ts +1 -1
- package/rest/knowledgeGraph/GraphObject.d.ts +1 -1
- package/rest/knowledgeGraph/GraphObject.js +1 -1
- package/smartMapping/labels/bins.d.ts +1 -1
- package/smartMapping/popup/clusters.d.ts +1 -1
- package/smartMapping/popup/templates.d.ts +1 -1
- package/smartMapping/raster/renderers/classBreaks.d.ts +1 -1
- package/smartMapping/raster/renderers/rgb.d.ts +1 -1
- package/smartMapping/raster/renderers/stretch.d.ts +1 -1
- package/smartMapping/raster/support/utils.d.ts +1 -1
- package/smartMapping/renderers/color.d.ts +1 -2
- package/smartMapping/renderers/pieChart.d.ts +1 -1
- package/smartMapping/renderers/predominance.d.ts +1 -1
- package/smartMapping/renderers/size.d.ts +1 -2
- package/smartMapping/renderers/support/rendererUtils.d.ts +1 -1
- package/smartMapping/renderers/univariateColorSize.d.ts +1 -1
- package/support/revision.js +1 -1
- package/unionTypes.d.ts +23 -7
- package/views/2d/engine/Stage.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/engine/webgl/Painter.js +1 -1
- package/views/2d/engine/webgl/TileContainer.js +1 -1
- package/views/2d/engine/webgl/WGLContainer.js +1 -1
- package/views/2d/engine/webgl/mesh/templates/templateUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/Technique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BloomShader.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/FeatureLayerView2D.js +1 -1
- package/views/2d/layers/features/FeaturePipelineWorkerProxy.d.ts +2 -2
- package/views/2d/layers/features/FeatureStoreQueryAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/ParquetLayerAdapter.js +1 -1
- package/views/2d/layers/features/sources/FeatureSourceQueryInfo.js +1 -1
- package/views/2d/layers/features/sources/strategies/ParquetSnapshotLoadStrategy.js +1 -1
- package/views/2d/layers/features/sources/strategies/ParquetTileLoadStrategy.js +1 -1
- package/views/2d/layers/features/sources/strategies/chunks/ASourceChunk.js +1 -1
- package/views/2d/layers/features/sources/strategies/chunks/FeatureSnapshotSourceChunk.js +1 -1
- package/views/2d/layers/features/sources/strategies/chunks/ParquetSourceChunk.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReaderParquet.js +1 -1
- package/views/2d/layers/features/support/Tile.js +1 -1
- package/views/2d/layers/graphics/AGraphicContainer.js +1 -1
- package/views/2d/layers/graphics/GraphicContainer.js +1 -1
- package/views/2d/layers/support/DebouncedFeatureOverride.js +1 -1
- package/views/2d/layers/support/DebugOverlay.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementResult.d.ts +1 -1
- package/views/3d/environment/ChapmanAtmosphere.js +1 -1
- package/views/3d/environment/Fog.js +1 -1
- package/views/3d/layers/PointCloudLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DFeatureStore.js +1 -1
- package/views/3d/layers/graphics/pipeline/featureSet/TiledFeatureStore.js +1 -1
- package/views/3d/layers/i3s/I3SQueryFeatureAdapter.js +1 -1
- package/views/3d/state/ViewStateManager.js +1 -1
- package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
- package/views/3d/webgl-engine/lib/RenderFeature.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
- package/views/BreakpointsOwner.d.ts +26 -21
- package/views/DOMContainer.d.ts +2 -1
- package/views/MapView.d.ts +3 -3
- package/views/SceneView.d.ts +3 -3
- package/views/View.d.ts +2 -2
- package/views/View2D.js +1 -1
- package/views/Viewport2DMixin.d.ts +3 -2
- package/views/analysis/ElevationProfile/ElevationProfileResult.d.ts +1 -1
- package/views/interactive/snapping/LineSnapper.js +1 -1
- package/views/interactive/snapping/ParallelLineSnapper.js +1 -1
- package/views/interactive/snapping/RightAngleSnapper.js +1 -1
- package/views/interactive/snapping/RightAngleTriangleSnapper.js +1 -1
- package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceSnappingSourceWorker.js +1 -1
- package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTileStore.js +1 -1
- package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js +1 -1
- package/views/layers/BuildingSceneLayerView.d.ts +1 -1
- package/widgets/Feature/support/arcadeFeatureUtils.js +1 -1
- package/widgets/FeatureForm/FeatureFormViewModel.d.ts +2 -2
- 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/Slice/SliceViewModel.d.ts +2 -1
- package/widgets/TimeSlider/TimeSliderViewModel.d.ts +1 -1
- package/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js +1 -1
- package/widgets/types.d.ts +1 -1
- package/analysis/FeatureReference.d.ts +0 -19
- package/analysis/VolumeMeasurement/volumeMeasurementUtils.js +0 -5
- package/analysis/support/SliceAnalysisExcludedLayer.js +0 -5
- package/assets/esri/core/workers/chunks/00f044370bf3bb6b24d7.js +0 -1
- package/assets/esri/core/workers/chunks/0136cd1a5da204b6daeb.js +0 -1
- package/assets/esri/core/workers/chunks/097001462d93b78b64f4.js +0 -1
- package/assets/esri/core/workers/chunks/0fcb40204db8ee5571c3.js +0 -1
- package/assets/esri/core/workers/chunks/13167bdd486b41163147.js +0 -1
- package/assets/esri/core/workers/chunks/1363345f31f4f5051132.js +0 -1
- package/assets/esri/core/workers/chunks/13be94357dcf5afc4fcb.js +0 -1
- package/assets/esri/core/workers/chunks/1693f19f1c37e0a2087e.js +0 -1
- package/assets/esri/core/workers/chunks/18c4cd160a4052b05831.js +0 -1
- package/assets/esri/core/workers/chunks/18ce7b1559a45d017c45.js +0 -1
- package/assets/esri/core/workers/chunks/1dc3ab52fcde7bff0f23.js +0 -1
- package/assets/esri/core/workers/chunks/27794d48c04a5875fd22.js +0 -1
- package/assets/esri/core/workers/chunks/2a66841243975cac3e3c.js +0 -1
- package/assets/esri/core/workers/chunks/2c12848e4934e9bb2bd0.js +0 -1
- package/assets/esri/core/workers/chunks/311c4914a4f69f3c1525.js +0 -1
- package/assets/esri/core/workers/chunks/35cbc61a006351620ead.js +0 -1
- package/assets/esri/core/workers/chunks/36a04be40369111a633d.js +0 -1
- package/assets/esri/core/workers/chunks/3b5e71b156244789f624.js +0 -1
- package/assets/esri/core/workers/chunks/3dd0db77a05263000bd8.js +0 -1
- package/assets/esri/core/workers/chunks/5047acfd66539eefe353.js +0 -1
- package/assets/esri/core/workers/chunks/51fd6662245b920af652.js +0 -1
- package/assets/esri/core/workers/chunks/58419d362f24b35003c1.js +0 -1
- package/assets/esri/core/workers/chunks/58cf5b9a6aa685fc3367.js +0 -1
- package/assets/esri/core/workers/chunks/5ffeb8fb58d59bad68c3.js +0 -1
- package/assets/esri/core/workers/chunks/6d09965ab2bff9da88b6.js +0 -1
- package/assets/esri/core/workers/chunks/700122f775b98a7ed353.js +0 -1
- package/assets/esri/core/workers/chunks/7353d78feba7e6302b6e.js +0 -1
- package/assets/esri/core/workers/chunks/7737e69da604d2521da8.js +0 -1
- package/assets/esri/core/workers/chunks/7ba31425caa404f86424.js +0 -1
- package/assets/esri/core/workers/chunks/7cd0ab01933bfb2c6e43.js +0 -1
- package/assets/esri/core/workers/chunks/80c36f1786ae0be00962.js +0 -1
- package/assets/esri/core/workers/chunks/81c2cc77c275a5b555c0.js +0 -1
- package/assets/esri/core/workers/chunks/8892bf3d2367e35de001.js +0 -1
- package/assets/esri/core/workers/chunks/8d941204425571b656ec.js +0 -1
- package/assets/esri/core/workers/chunks/973bf2ed34d57f299472.js +0 -1
- package/assets/esri/core/workers/chunks/9b6e2099aabf67b9f9f2.js +0 -1
- package/assets/esri/core/workers/chunks/a6b1e3ec30f6d641aea9.js +0 -1
- package/assets/esri/core/workers/chunks/a8f7e44657083f6aa3fd.js +0 -1
- package/assets/esri/core/workers/chunks/b648a1e641cf5c772d67.js +0 -1
- package/assets/esri/core/workers/chunks/b91c13f44f4d1bac5799.js +0 -1
- package/assets/esri/core/workers/chunks/be6cc8a1485961f22372.js +0 -1
- package/assets/esri/core/workers/chunks/c91201b37d1cb3875fb4.js +0 -1
- package/assets/esri/core/workers/chunks/d22e0d733bfe821c0510.js +0 -1
- package/assets/esri/core/workers/chunks/d54988c21ea5667d00b7.js +0 -1
- package/assets/esri/core/workers/chunks/d62193323c67b379dee3.js +0 -1
- package/assets/esri/core/workers/chunks/d65ca3b8fccae8c3c3fa.js +0 -1
- package/assets/esri/core/workers/chunks/d8dc130ea559be1f68c6.js +0 -1
- package/assets/esri/core/workers/chunks/dcf6f7001f470f76bd3e.js +0 -1
- package/assets/esri/core/workers/chunks/e00d56ae5e68267fe269.js +0 -1
- package/assets/esri/core/workers/chunks/e2c7c269be93c552dc5b.js +0 -1
- package/assets/esri/core/workers/chunks/e4d593ddcbcf06010ab0.js +0 -1
- package/assets/esri/core/workers/chunks/f286f13686f003c5eec5.js +0 -1
- package/assets/esri/core/workers/chunks/fb6670a929b7333f1764.js +0 -1
- package/assets/esri/core/workers/chunks/fbdf553253cf8f22c022.js +0 -1
- package/assets/esri/core/workers/chunks/fc10c738bae304721ab2.js +0 -1
- package/assets/esri/core/workers/chunks/ff79c2cb28db7e0a1fc4.js +0 -1
- package/assets/esri/core/workers/chunks/ffdf1cbc1e54414d0f96.js +0 -1
- package/renderers/support/colorRampUtils.d.ts +0 -4
- package/renderers/support/pointCloudTypeUtils.d.ts +0 -6
- package/renderers/support/rasterRendererHelper.d.ts +0 -37
- package/renderers/support/rasterTypeUtils.d.ts +0 -9
- package/renderers/support/typeUtils.d.ts +0 -11
- /package/analysis/{dimensionUtils.d.ts → Dimension/types.d.ts} +0 -0
- /package/analysis/VolumeMeasurement/{volumeMeasurementUtils.d.ts → types.d.ts} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type ColorRamp from "../rest/support/ColorRamp.js";
|
|
2
2
|
import type { JSONSupport, JSONSupportMixinProperties } from "../core/JSONSupport.js";
|
|
3
|
+
import type { HillshadeType } from "./support/raster/types.js";
|
|
3
4
|
import type { ColorRampProperties } from "../rest/support/ColorRamp.js";
|
|
4
5
|
|
|
5
6
|
export interface RasterShadedReliefRendererProperties extends JSONSupportMixinProperties, Partial<Pick<RasterShadedReliefRenderer, "altitude" | "azimuth" | "hillshadeType" | "pixelSizeFactor" | "pixelSizePower" | "scalingType" | "zFactor">> {
|
|
@@ -106,6 +107,4 @@ export default class RasterShadedReliefRenderer extends JSONSupport {
|
|
|
106
107
|
* let renderer = view.map.layers.at(0).renderer.clone();
|
|
107
108
|
*/
|
|
108
109
|
clone(): RasterShadedReliefRenderer;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export type HillshadeType = "traditional" | "multi-directional";
|
|
110
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type ColorRamp from "../rest/support/ColorRamp.js";
|
|
2
2
|
import type { JSONSupport, JSONSupportMixinProperties } from "../core/JSONSupport.js";
|
|
3
3
|
import type { RasterBandStatistics } from "../layers/support/types.js";
|
|
4
|
-
import type { RasterStretchType } from "./types.js";
|
|
4
|
+
import type { RasterStretchType } from "./support/raster/types.js";
|
|
5
5
|
import type { ColorRampProperties } from "../rest/support/ColorRamp.js";
|
|
6
6
|
|
|
7
7
|
export interface RasterStretchRendererProperties extends JSONSupportMixinProperties, Partial<Pick<RasterStretchRenderer, "computeGamma" | "customStatistics" | "dynamicRangeAdjustment" | "gamma" | "maxPercent" | "minPercent" | "numberOfStandardDeviations" | "outputMax" | "outputMin" | "sigmoidStrengthLevel" | "stretchType" | "useGamma">> {
|
package/renderers/Renderer.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type AuthoringInfo from "./support/AuthoringInfo.js";
|
|
2
2
|
import type { JSONSupport, JSONSupportMixinProperties } from "../core/JSONSupport.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { RendererType } from "./types.js";
|
|
4
4
|
import type { AuthoringInfoProperties } from "./support/AuthoringInfo.js";
|
|
5
5
|
|
|
6
6
|
export interface RendererProperties extends JSONSupportMixinProperties {
|
|
@@ -118,5 +118,5 @@ export default abstract class Renderer extends JSONSupport {
|
|
|
118
118
|
get authoringInfo(): AuthoringInfo | null | undefined;
|
|
119
119
|
set authoringInfo(value: AuthoringInfoProperties | null | undefined);
|
|
120
120
|
/** The renderer type. */
|
|
121
|
-
get type():
|
|
121
|
+
get type(): RendererType;
|
|
122
122
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { JSONSupport, JSONSupportMixinProperties } from "../core/JSONSupport.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { SpeedUnit } from "../core/units.js";
|
|
3
|
+
import type { VectorFieldStyles, VisualVariable } from "./types.js";
|
|
3
4
|
import type { VisualVariablesMixin, VisualVariablesMixinProperties } from "./mixins/VisualVariablesMixin.js";
|
|
4
5
|
import type { ColorVariableProperties } from "./visualVariables/ColorVariable.js";
|
|
5
6
|
import type { OpacityVariableProperties } from "./visualVariables/OpacityVariable.js";
|
|
@@ -112,9 +113,9 @@ export default class VectorFieldRenderer extends VectorFieldRendererSuperclass {
|
|
|
112
113
|
*/
|
|
113
114
|
accessor flowRepresentation: "flow-from" | "flow-to";
|
|
114
115
|
/** Magnitude input unit. */
|
|
115
|
-
accessor inputUnit:
|
|
116
|
+
accessor inputUnit: SpeedUnit;
|
|
116
117
|
/** Magnitude output unit */
|
|
117
|
-
accessor outputUnit:
|
|
118
|
+
accessor outputUnit: SpeedUnit;
|
|
118
119
|
/**
|
|
119
120
|
* Predefined symbol styles used to represent the vector flow.
|
|
120
121
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type AuthoringInfoVisualVariable from "./AuthoringInfoVisualVariable.js";
|
|
2
2
|
import type ColorRamp from "../../rest/support/ColorRamp.js";
|
|
3
3
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
4
|
-
import type { LengthUnit } from "../../core/units.js";
|
|
5
4
|
import type { RelationshipNumClasses } from "../types.js";
|
|
6
5
|
import type { AuthoringInfoFieldInfo, AuthoringInfoFieldInfoProperties } from "./AuthoringInfoFieldInfo.js";
|
|
6
|
+
import type { AuthoringInfoTypes, AuthoringInfoLengthUnits, UnivariateTheme, FlowTheme, UnivariateSymbolStyle, AuthoringInfoClassificationMethods, RelationshipFocus, AuthoringInfoStatistics, StandardDeviationInterval } from "./types.js";
|
|
7
7
|
import type { ColorRampProperties } from "../../rest/support/ColorRamp.js";
|
|
8
8
|
import type { AuthoringInfoVisualVariableProperties } from "./AuthoringInfoVisualVariable.js";
|
|
9
9
|
|
|
@@ -170,27 +170,4 @@ export default class AuthoringInfo extends JSONSupport {
|
|
|
170
170
|
* let authInfo = layer.renderer.authoringInfo.clone();
|
|
171
171
|
*/
|
|
172
172
|
clone(): AuthoringInfo;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export interface AuthoringInfoStatistics {
|
|
176
|
-
/** The maximum data value of the attribute represented by the renderer. Legends displaying `above-and-below` themed data will not display values greater than this number. */
|
|
177
|
-
max: number;
|
|
178
|
-
/** The minimum data value of the attribute represented by the renderer. Legends displaying `above-and-below` themed data will not display values smaller than this number. */
|
|
179
|
-
min: number;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export type AuthoringInfoTypes = "relationship" | "classed-size" | "classed-color" | "class-breaks-size" | "class-breaks-color" | "dot-density" | "predominance" | "univariate-color-size" | "flow";
|
|
183
|
-
|
|
184
|
-
export type AuthoringInfoClassificationMethods = "equal-interval" | "defined-interval" | "manual" | "natural-breaks" | "quantile" | "standard-deviation";
|
|
185
|
-
|
|
186
|
-
export type AuthoringInfoLengthUnits = Exclude<LengthUnit, "us-feet">;
|
|
187
|
-
|
|
188
|
-
export type StandardDeviationInterval = 1 | 0.5 | 0.33 | 0.25;
|
|
189
|
-
|
|
190
|
-
export type RelationshipFocus = "HH" | "LL" | "HL" | "LH";
|
|
191
|
-
|
|
192
|
-
export type UnivariateTheme = "high-to-low" | "above-and-below" | "above" | "below";
|
|
193
|
-
|
|
194
|
-
export type FlowTheme = "flow-line" | "wave-front";
|
|
195
|
-
|
|
196
|
-
export type UnivariateSymbolStyle = "caret" | "circle-caret" | "arrow" | "circle-arrow" | "plus-minus" | "circle-plus-minus" | "square" | "circle" | "triangle" | "happy-sad" | "thumb" | "custom";
|
|
173
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type SizeStop from "../visualVariables/support/SizeStop.js";
|
|
2
2
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
3
|
+
import type { AuthoringInfoVisualVariableThemes, AuthoringInfoVisualVariableUnits, ReferenceSizeSymbolStyle, SpikeSymbolStyle, AuthoringInfoVisualVariableStyles, AuthoringInfoVisualVariableTypes } from "./types.js";
|
|
3
4
|
import type { SizeStopProperties } from "../visualVariables/support/SizeStop.js";
|
|
4
5
|
|
|
5
6
|
export interface AuthoringInfoVisualVariableProperties extends JSONSupportMixinProperties, Partial<Pick<AuthoringInfoVisualVariable, "endTime" | "field" | "maxSliderValue" | "minSliderValue" | "normalizationField" | "referenceSizeScale" | "referenceSizeSymbolStyle" | "spikeSymbolStyle" | "startTime" | "style" | "theme" | "type" | "units">> {
|
|
@@ -132,20 +133,4 @@ export default class AuthoringInfoVisualVariable extends JSONSupport {
|
|
|
132
133
|
* }).clone();
|
|
133
134
|
*/
|
|
134
135
|
clone(): AuthoringInfoVisualVariable;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export type AuthoringInfoVisualVariableTypes = "size" | "color" | "opacity";
|
|
138
|
-
|
|
139
|
-
export type AuthoringInfoVisualVariableStyles = "percent" | "ratio" | "percent-of-total";
|
|
140
|
-
|
|
141
|
-
export type AuthoringInfoColorVariableThemes = "high-to-low" | "above-and-below" | "centered-on" | "extremes" | "above" | "below";
|
|
142
|
-
|
|
143
|
-
export type AuthoringInfoSizeVariableThemes = "high-to-low" | "above-and-below" | "above" | "below" | "reference-size" | "spike";
|
|
144
|
-
|
|
145
|
-
export type AuthoringInfoVisualVariableThemes = AuthoringInfoColorVariableThemes | AuthoringInfoSizeVariableThemes;
|
|
146
|
-
|
|
147
|
-
export type AuthoringInfoVisualVariableUnits = "seconds" | "minutes" | "hours" | "days" | "months" | "years";
|
|
148
|
-
|
|
149
|
-
export type ReferenceSizeSymbolStyle = "circle" | "diamond" | "hexagon-flat" | "hexagon-pointy" | "square";
|
|
150
|
-
|
|
151
|
-
export type SpikeSymbolStyle = "triangle-closed-outline" | "triangle-gradient-fill-closed" | "triangle-gradient-fill-closed-outline" | "triangle-gradient-fill-open" | "triangle-gradient-fill-open-outline" | "triangle-open-outline" | "triangle-solid-fill-closed" | "triangle-solid-fill-closed-outline" | "triangle-solid-fill-open" | "triangle-solid-fill-open-outline";
|
|
136
|
+
}
|
|
@@ -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 { RasterRendererUnion } from "./
|
|
3
|
+
import type { RasterRendererUnion } from "./raster/types.js";
|
|
4
4
|
import type { VectorFieldRendererProperties } from "../VectorFieldRenderer.js";
|
|
5
5
|
import type { UniqueValueRendererProperties } from "../UniqueValueRenderer.js";
|
|
6
6
|
import type { RasterStretchRendererProperties } from "../RasterStretchRenderer.js";
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import type { ClonableMixin, ClonableMixinProperties } from "../../core/Clonable.js";
|
|
2
2
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
3
|
+
import type { RendererLegendOptionsOrder } from "./types.js";
|
|
3
4
|
|
|
4
5
|
export interface RendererLegendOptionsProperties extends JSONSupportMixinProperties, ClonableMixinProperties, Partial<Pick<RendererLegendOptions, "order" | "title">> {}
|
|
5
6
|
|
|
6
|
-
export type RendererLegendOptionsOrder = "ascending-values" | "descending-values";
|
|
7
|
-
|
|
8
|
-
export type RendererLegendTitleOption = Pick<RendererLegendOptionsProperties, "title">;
|
|
9
|
-
|
|
10
7
|
export default abstract class RendererLegendOptions extends RendererLegendOptionsSuperclass {
|
|
11
8
|
/** _Since 4.34_ Indicates the order in which the legend values are displayed. */
|
|
12
9
|
order?: RendererLegendOptionsOrder | null;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @see [Renderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-Renderer.html)
|
|
6
6
|
* @see [Using fromJSON() to create a class instance](https://developers.arcgis.com/javascript/latest/using-fromjson)
|
|
7
7
|
*/
|
|
8
|
-
import type { RendererUnion } from "
|
|
8
|
+
import type { RendererUnion } from "../types.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Creates a new instance of an appropriate [Renderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-Renderer.html) class and initializes it with values from a JSON object
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type PointCloudClassBreaksRenderer from "../../PointCloudClassBreaksRenderer.js";
|
|
2
|
+
import type PointCloudRGBRenderer from "../../PointCloudRGBRenderer.js";
|
|
3
|
+
import type PointCloudStretchRenderer from "../../PointCloudStretchRenderer.js";
|
|
4
|
+
import type PointCloudUniqueValueRenderer from "../../PointCloudUniqueValueRenderer.js";
|
|
5
|
+
|
|
6
|
+
export type PointCloudRendererUnion = PointCloudClassBreaksRenderer | PointCloudRGBRenderer | PointCloudStretchRenderer | PointCloudUniqueValueRenderer;
|
|
7
|
+
|
|
8
|
+
export type PointCloudRendererType = PointCloudRendererUnion["type"];
|
|
9
|
+
|
|
10
|
+
export type FieldTransformType = "none" | "low-four-bit" | "high-four-bit" | "absolute-value" | "modulo-ten";
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type ClassBreaksRenderer from "../../ClassBreaksRenderer.js";
|
|
2
|
+
import type FlowRenderer from "../../FlowRenderer.js";
|
|
3
|
+
import type RasterColormapRenderer from "../../RasterColormapRenderer.js";
|
|
4
|
+
import type RasterShadedReliefRenderer from "../../RasterShadedReliefRenderer.js";
|
|
5
|
+
import type RasterStretchRenderer from "../../RasterStretchRenderer.js";
|
|
6
|
+
import type UniqueValueRenderer from "../../UniqueValueRenderer.js";
|
|
7
|
+
import type VectorFieldRenderer from "../../VectorFieldRenderer.js";
|
|
8
|
+
import type AlgorithmicColorRamp from "../../../rest/support/AlgorithmicColorRamp.js";
|
|
9
|
+
import type MultipartColorRamp from "../../../rest/support/MultipartColorRamp.js";
|
|
10
|
+
import type { ClassificationMethod } from "../../types.js";
|
|
11
|
+
|
|
12
|
+
export type HillshadeType = "traditional" | "multi-directional";
|
|
13
|
+
|
|
14
|
+
export type RasterStretchType = "none" | "standard-deviation" | "histogram-equalization" | "min-max" | "percent-clip" | "sigmoid";
|
|
15
|
+
|
|
16
|
+
export type RasterColormapName = "random" | "ndvi" | "ndvi2" | "ndvi3" | "elevation" | "gray" | "hillshade";
|
|
17
|
+
|
|
18
|
+
export type RasterColorRampName = "aspect" | "black-to-white" | "blue-bright" | "blue-light-to-dark" | "blue-green-bright" | "blue-green-light-to-dark" | "brown-light-to-dark" | "brown-to-blue-green-diverging-right" | "brown-to-blue-green-diverging-dark" | "coefficient-bias" | "cold-to-hot-diverging" | "condition-number" | "cyan-to-purple" | "cyan-light-to-blue-dark" | "distance" | "elevation1" | "elevation2" | "errors" | "gray-light-to-dark" | "green-bright" | "green-light-to-dark" | "green-to-blue" | "orange-bright" | "orange-light-to-dark" | "partial-spectrum" | "partial-spectrum-1-diverging" | "partial-spectrum-2-diverging" | "pink-to-yellow-green-diverging-bright" | "pink-to-yellow-green-diverging-dark" | "precipitation" | "prediction" | "purple-bright" | "purple-to-green-diverging-bright" | "purple-to-green-diverging-dark" | "purple-blue-bright" | "purple-blue-light-to-dark" | "purple-red-bright" | "purple-red-light-to-dark" | "red-bright" | "red-light-to-dark" | "red-to-blue-diverging-bright" | "red-to-blue-diverging-dark" | "red-to-green" | "red-to-green-diverging-bright" | "red-to-green-diverging-dark" | "slope" | "spectrum-full-bright" | "spectrum-full-dark" | "spectrum-full-light" | "surface" | "temperature" | "white-to-black" | "yellow-to-dark-red" | "yellow-to-green-to-dark-blue" | "yellow-to-red" | "yellow-green-bright" | "yellow-green-light-to-dark";
|
|
19
|
+
|
|
20
|
+
export interface ClassBreaksParameters {
|
|
21
|
+
/**
|
|
22
|
+
* The classification method used for generating breaks.
|
|
23
|
+
*
|
|
24
|
+
* @default natural-breaks
|
|
25
|
+
*/
|
|
26
|
+
classificationMethod?: ClassificationMethod;
|
|
27
|
+
/** The color ramp to apply to the renderer. */
|
|
28
|
+
colorRamp?: AlgorithmicColorRamp | MultipartColorRamp;
|
|
29
|
+
/**
|
|
30
|
+
* The colors to apply to each class break. This must be a
|
|
31
|
+
* two-dimensional array where each item of the first dimension is an array of 3-4 numbers representing
|
|
32
|
+
* the RGB or RGBA values of each class break. This overrides `colorRamp`.
|
|
33
|
+
*/
|
|
34
|
+
colors?: number[][];
|
|
35
|
+
/**
|
|
36
|
+
* Only applicable when `classificationMethod` is `defined-interval`. Specifies the interval of each break.
|
|
37
|
+
* Note this may cause the last break to extend beyond the actual data max.
|
|
38
|
+
*/
|
|
39
|
+
definedInterval?: number;
|
|
40
|
+
/**
|
|
41
|
+
* The field whose data will be used in the classification.
|
|
42
|
+
*
|
|
43
|
+
* @default value
|
|
44
|
+
*/
|
|
45
|
+
field?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The number of class breaks to generate for the classification. This is ignored if a `standard-deviation` classification method is specified.
|
|
48
|
+
*
|
|
49
|
+
* @default 5
|
|
50
|
+
*/
|
|
51
|
+
numClasses?: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export type RasterRendererUnion = ClassBreaksRenderer | FlowRenderer | RasterColormapRenderer | RasterShadedReliefRenderer | RasterStretchRenderer | UniqueValueRenderer | VectorFieldRenderer;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { LengthUnit } from "../../core/units.js";
|
|
2
|
+
|
|
3
|
+
export interface AuthoringInfoStatistics {
|
|
4
|
+
/** The maximum data value of the attribute represented by the renderer. Legends displaying `above-and-below` themed data will not display values greater than this number. */
|
|
5
|
+
max: number;
|
|
6
|
+
/** The minimum data value of the attribute represented by the renderer. Legends displaying `above-and-below` themed data will not display values smaller than this number. */
|
|
7
|
+
min: number;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export type AuthoringInfoTypes = "relationship" | "classed-size" | "classed-color" | "class-breaks-size" | "class-breaks-color" | "dot-density" | "predominance" | "univariate-color-size" | "flow";
|
|
11
|
+
|
|
12
|
+
export type AuthoringInfoClassificationMethods = "equal-interval" | "defined-interval" | "manual" | "natural-breaks" | "quantile" | "standard-deviation";
|
|
13
|
+
|
|
14
|
+
export type AuthoringInfoLengthUnits = Exclude<LengthUnit, "us-feet">;
|
|
15
|
+
|
|
16
|
+
export type StandardDeviationInterval = 1 | 0.5 | 0.33 | 0.25;
|
|
17
|
+
|
|
18
|
+
export type RelationshipFocus = "HH" | "LL" | "HL" | "LH";
|
|
19
|
+
|
|
20
|
+
export type UnivariateTheme = "high-to-low" | "above-and-below" | "above" | "below";
|
|
21
|
+
|
|
22
|
+
export type FlowTheme = "flow-line" | "wave-front";
|
|
23
|
+
|
|
24
|
+
export type UnivariateSymbolStyle = "caret" | "circle-caret" | "arrow" | "circle-arrow" | "plus-minus" | "circle-plus-minus" | "square" | "circle" | "triangle" | "happy-sad" | "thumb" | "custom";
|
|
25
|
+
|
|
26
|
+
export type AuthoringInfoVisualVariableTypes = "size" | "color" | "opacity";
|
|
27
|
+
|
|
28
|
+
export type AuthoringInfoVisualVariableStyles = "percent" | "ratio" | "percent-of-total";
|
|
29
|
+
|
|
30
|
+
export type AuthoringInfoColorVariableThemes = "high-to-low" | "above-and-below" | "centered-on" | "extremes" | "above" | "below";
|
|
31
|
+
|
|
32
|
+
export type AuthoringInfoSizeVariableThemes = "high-to-low" | "above-and-below" | "above" | "below" | "reference-size" | "spike";
|
|
33
|
+
|
|
34
|
+
export type AuthoringInfoVisualVariableThemes = AuthoringInfoColorVariableThemes | AuthoringInfoSizeVariableThemes;
|
|
35
|
+
|
|
36
|
+
export type AuthoringInfoVisualVariableUnits = "seconds" | "minutes" | "hours" | "days" | "months" | "years";
|
|
37
|
+
|
|
38
|
+
export type ReferenceSizeSymbolStyle = "circle" | "diamond" | "hexagon-flat" | "hexagon-pointy" | "square";
|
|
39
|
+
|
|
40
|
+
export type SpikeSymbolStyle = "triangle-closed-outline" | "triangle-gradient-fill-closed" | "triangle-gradient-fill-closed-outline" | "triangle-gradient-fill-open" | "triangle-gradient-fill-open-outline" | "triangle-open-outline" | "triangle-solid-fill-closed" | "triangle-solid-fill-closed-outline" | "triangle-solid-fill-open" | "triangle-solid-fill-open-outline";
|
|
41
|
+
|
|
42
|
+
export type RendererLegendOptionsOrder = "ascending-values" | "descending-values";
|
|
43
|
+
|
|
44
|
+
export interface RendererLegendTitleOption {}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @since 4.28
|
|
5
5
|
*/
|
|
6
6
|
import type Color from "../../Color.js";
|
|
7
|
-
import type { RendererUnion } from "
|
|
7
|
+
import type { RendererUnion } from "../types.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Resolves with a [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) of fields matched to the color that the field is represented by in the renderer.
|
package/renderers/types.d.ts
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import type SpatialReference from "../geometry/SpatialReference.js";
|
|
2
|
+
import type ClassBreaksRenderer from "./ClassBreaksRenderer.js";
|
|
3
|
+
import type DictionaryRenderer from "./DictionaryRenderer.js";
|
|
4
|
+
import type DotDensityRenderer from "./DotDensityRenderer.js";
|
|
5
|
+
import type HeatmapRenderer from "./HeatmapRenderer.js";
|
|
6
|
+
import type PieChartRenderer from "./PieChartRenderer.js";
|
|
7
|
+
import type SimpleRenderer from "./SimpleRenderer.js";
|
|
8
|
+
import type UniqueValueRenderer from "./UniqueValueRenderer.js";
|
|
2
9
|
import type ColorVariable from "./visualVariables/ColorVariable.js";
|
|
3
10
|
import type OpacityVariable from "./visualVariables/OpacityVariable.js";
|
|
4
11
|
import type RotationVariable from "./visualVariables/RotationVariable.js";
|
|
5
12
|
import type SizeVariable from "./visualVariables/SizeVariable.js";
|
|
6
13
|
import type { AbortOptions } from "../core/promiseUtils.js";
|
|
7
|
-
import type { RendererUnion } from "./support/typeUtils.js";
|
|
8
14
|
import type { WebStyleAcceptedFormat } from "../symbols/support/webStyleAcceptedFormats.js";
|
|
9
15
|
|
|
10
|
-
export type
|
|
11
|
-
|
|
12
|
-
export type RendererTypes = "simple" | "class-breaks" | "unique-value" | "heatmap" | "dot-density" | "dictionary" | "pie-chart";
|
|
16
|
+
export type RendererType = RendererUnion["type"];
|
|
13
17
|
|
|
14
18
|
export type NormalizationType = "field" | "log" | "percent-of-total" | "natural-log" | "square-root";
|
|
15
19
|
|
|
@@ -75,6 +79,12 @@ export interface GetDisplaySymbolOptions extends GetVisualVariableValuesOptions
|
|
|
75
79
|
|
|
76
80
|
export type VectorFieldStyles = "beaufort-ft" | "beaufort-km" | "beaufort-kn" | "beaufort-m" | "beaufort-mi" | "classified-arrow" | "ocean-current-kn" | "ocean-current-m" | "simple-scalar" | "single-arrow" | "wind-barb";
|
|
77
81
|
|
|
78
|
-
export type
|
|
82
|
+
export type RelationshipNumClasses = 2 | 3 | 4;
|
|
83
|
+
|
|
84
|
+
export type DictionaryUserConfig = Object;
|
|
85
|
+
|
|
86
|
+
export type DictionaryFieldMap = Record<string, string>;
|
|
87
|
+
|
|
88
|
+
export type RendererWithVisualVariablesUnion = SimpleRenderer | ClassBreaksRenderer | UniqueValueRenderer | DotDensityRenderer | DictionaryRenderer | PieChartRenderer;
|
|
79
89
|
|
|
80
|
-
export type
|
|
90
|
+
export type RendererUnion = RendererWithVisualVariablesUnion | HeatmapRenderer;
|
package/renderers.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ import type HeatmapRendererClass from "./renderers/HeatmapRenderer.js";
|
|
|
51
51
|
import type PieChartRendererClass from "./renderers/PieChartRenderer.js";
|
|
52
52
|
import type SimpleRendererClass from "./renderers/SimpleRenderer.js";
|
|
53
53
|
import type UniqueValueRendererClass from "./renderers/UniqueValueRenderer.js";
|
|
54
|
-
import type { RendererUnion, RendererWithVisualVariablesUnion } from "./renderers/
|
|
54
|
+
import type { RendererUnion, RendererWithVisualVariablesUnion } from "./renderers/types.js";
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
* DictionaryRenderer.
|
|
@@ -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{__decorate as r}from"tslib";import{JSONSupport as o}from"../../core/JSONSupport.js";import{property as e,subclass as t}from"../../core/accessorSupport/decorators.js";let s=class extends o{constructor(r){super(r),this.properties=
|
|
5
|
+
import{__decorate as r}from"tslib";import{JSONSupport as o}from"../../core/JSONSupport.js";import{property as e,subclass as t}from"../../core/accessorSupport/decorators.js";let s=class extends o{constructor(r){super(r),this.properties={}}};r([e({json:{write:!0}})],s.prototype,"properties",void 0),s=r([t("esri.rest.knowledgeGraph.GraphObject")],s);export{s as default};
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* @see [FeatureReductionBinning#labelingInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html#labelingInfo)
|
|
13
13
|
*/
|
|
14
14
|
import type LabelClass from "../../layers/support/LabelClass.js";
|
|
15
|
-
import type { RendererUnion } from "../../renderers/
|
|
15
|
+
import type { RendererUnion } from "../../renderers/types.js";
|
|
16
16
|
import type { BinningSupportedLayer } from "../types.js";
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
import type SubtypeGroupLayer from "../../layers/SubtypeGroupLayer.js";
|
|
23
23
|
import type SubtypeSublayer from "../../layers/support/SubtypeSublayer.js";
|
|
24
|
-
import type { RendererWithVisualVariablesUnion } from "../../renderers/
|
|
24
|
+
import type { RendererWithVisualVariablesUnion } from "../../renderers/types.js";
|
|
25
25
|
import type { PopupSupportedLayer } from "../types.js";
|
|
26
26
|
import type { Templates } from "./types.js";
|
|
27
27
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* @see [Sample - Generate a predominance visualization](https://developers.arcgis.com/javascript/latest/sample-code/visualization-sm-predominance/)
|
|
17
17
|
* @see [Sample - Generate a dot density visualization](https://developers.arcgis.com/javascript/latest/sample-code/visualization-sm-dotdensity/)
|
|
18
18
|
*/
|
|
19
|
-
import type { RendererUnion } from "../../renderers/
|
|
19
|
+
import type { RendererUnion } from "../../renderers/types.js";
|
|
20
20
|
import type { PopupSupportedLayer } from "../types.js";
|
|
21
21
|
import type { Templates } from "./types.js";
|
|
22
22
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @since 4.20
|
|
7
7
|
*/
|
|
8
8
|
import type ClassBreaksRenderer from "../../../renderers/ClassBreaksRenderer.js";
|
|
9
|
-
import type { ClassBreaksParameters } from "../../../renderers/support/
|
|
9
|
+
import type { ClassBreaksParameters } from "../../../renderers/support/raster/types.js";
|
|
10
10
|
import type { RasterRendererParameters } from "./types.js";
|
|
11
11
|
import type { ClassBreaksResult } from "../../statistics/types.js";
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @since 4.20
|
|
7
7
|
*/
|
|
8
8
|
import type RasterStretchRenderer from "../../../renderers/RasterStretchRenderer.js";
|
|
9
|
-
import type { RasterStretchType } from "../../../renderers/types.js";
|
|
9
|
+
import type { RasterStretchType } from "../../../renderers/support/raster/types.js";
|
|
10
10
|
import type { RasterRendererParameters } from "./types.js";
|
|
11
11
|
|
|
12
12
|
export interface RasterRGBRendererParameters extends RasterRendererParameters {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import type RasterStretchRenderer from "../../../renderers/RasterStretchRenderer.js";
|
|
9
9
|
import type AlgorithmicColorRamp from "../../../rest/support/AlgorithmicColorRamp.js";
|
|
10
10
|
import type MultipartColorRamp from "../../../rest/support/MultipartColorRamp.js";
|
|
11
|
-
import type { RasterStretchType } from "../../../renderers/types.js";
|
|
11
|
+
import type { RasterStretchType } from "../../../renderers/support/raster/types.js";
|
|
12
12
|
import type { RasterRendererParameters } from "./types.js";
|
|
13
13
|
|
|
14
14
|
export interface RasterStretchColorrampRendererParameters extends RasterRendererParameters {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @since 4.20
|
|
5
5
|
*/
|
|
6
|
-
import type { RasterRendererUnion } from "../../../renderers/support/
|
|
6
|
+
import type { RasterRendererUnion } from "../../../renderers/support/raster/types.js";
|
|
7
7
|
import type { RasterRendererParameters } from "../renderers/types.js";
|
|
8
8
|
|
|
9
9
|
/** Supported renderer types for imagery layers. */
|
|
@@ -26,8 +26,7 @@ import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
|
|
|
26
26
|
import type { AbortOptions } from "../../core/promiseUtils.js";
|
|
27
27
|
import type { DateProperties } from "../../intl/date.js";
|
|
28
28
|
import type { ClassificationMethod, NormalizationType, VisualVariableLegendOptions as IVisualVariableLegendOptions } from "../../renderers/types.js";
|
|
29
|
-
import type { StandardDeviationInterval } from "../../renderers/support/
|
|
30
|
-
import type { RendererLegendTitleOption } from "../../renderers/support/RendererLegendOptions.js";
|
|
29
|
+
import type { StandardDeviationInterval, RendererLegendTitleOption } from "../../renderers/support/types.js";
|
|
31
30
|
import type { SupportedLayer, SmartMappingTimeUnit } from "../types.js";
|
|
32
31
|
import type { ClassBreaksResult, SummaryStatisticsResult } from "../statistics/types.js";
|
|
33
32
|
import type { BasemapTheme, ColorScheme } from "../symbology/types.js";
|
|
@@ -34,7 +34,7 @@ import type PieChartRenderer from "../../renderers/PieChartRenderer.js";
|
|
|
34
34
|
import type * as sizeCreator from "./size.js";
|
|
35
35
|
import type MapView from "../../views/MapView.js";
|
|
36
36
|
import type { AbortOptions } from "../../core/promiseUtils.js";
|
|
37
|
-
import type { RendererLegendTitleOption } from "../../renderers/support/
|
|
37
|
+
import type { RendererLegendTitleOption } from "../../renderers/support/types.js";
|
|
38
38
|
import type { SupportedLayer } from "../types.js";
|
|
39
39
|
import type { Attribute, UniqueValuesResult } from "../statistics/types.js";
|
|
40
40
|
import type { PieChartScheme, BasemapTheme } from "../symbology/types.js";
|
|
@@ -32,7 +32,7 @@ import type * as sizeCreator from "./size.js";
|
|
|
32
32
|
import type * as typeCreator from "./type.js";
|
|
33
33
|
import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
|
|
34
34
|
import type { AbortOptions } from "../../core/promiseUtils.js";
|
|
35
|
-
import type { RendererLegendTitleOption } from "../../renderers/support/
|
|
35
|
+
import type { RendererLegendTitleOption } from "../../renderers/support/types.js";
|
|
36
36
|
import type { SupportedLayer } from "../types.js";
|
|
37
37
|
import type { UniqueValueInfo } from "./type.js";
|
|
38
38
|
import type { PredominanceScheme, BasemapTheme } from "../symbology/types.js";
|
|
@@ -26,8 +26,7 @@ import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
|
|
|
26
26
|
import type { AbortOptions } from "../../core/promiseUtils.js";
|
|
27
27
|
import type { DateProperties } from "../../intl/date.js";
|
|
28
28
|
import type { ClassificationMethod, NormalizationType, VisualVariableLegendOptions } from "../../renderers/types.js";
|
|
29
|
-
import type { StandardDeviationInterval } from "../../renderers/support/
|
|
30
|
-
import type { RendererLegendTitleOption } from "../../renderers/support/RendererLegendOptions.js";
|
|
29
|
+
import type { StandardDeviationInterval, RendererLegendTitleOption } from "../../renderers/support/types.js";
|
|
31
30
|
import type { SupportedLayer, SmartMappingTimeUnit } from "../types.js";
|
|
32
31
|
import type { SpikeSymbolStyle } from "./support/spikeUtils.js";
|
|
33
32
|
import type { ClassBreaksResult, SummaryStatisticsResult } from "../statistics/types.js";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import type FeatureFilter from "../../../layers/support/FeatureFilter.js";
|
|
10
10
|
import type { MapViewOrSceneView } from "../../../views/MapViewOrSceneView.js";
|
|
11
11
|
import type { AbortOptions } from "../../../core/promiseUtils.js";
|
|
12
|
-
import type { RendererUnion } from "../../../renderers/
|
|
12
|
+
import type { RendererUnion } from "../../../renderers/types.js";
|
|
13
13
|
import type { SupportedLayer } from "../../types.js";
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -35,7 +35,7 @@ import type SizeVariable from "../../renderers/visualVariables/SizeVariable.js";
|
|
|
35
35
|
import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
|
|
36
36
|
import type { AbortOptions } from "../../core/promiseUtils.js";
|
|
37
37
|
import type { VisualVariableLegendOptions } from "../../renderers/types.js";
|
|
38
|
-
import type { UnivariateSymbolStyle, UnivariateTheme } from "../../renderers/support/
|
|
38
|
+
import type { UnivariateSymbolStyle, UnivariateTheme } from "../../renderers/support/types.js";
|
|
39
39
|
import type { SupportedLayer } from "../types.js";
|
|
40
40
|
import type { SummaryStatisticsResult } from "../statistics/types.js";
|
|
41
41
|
import type { BasemapTheme, ColorScheme, SizeScheme } from "../symbology/types.js";
|
package/support/revision.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
|
-
const e="
|
|
5
|
+
const e="20251211",d="04eeb2732e879144e06282900dba2276f2ddd56c";export{e as buildDate,d as commitHash};
|
package/unionTypes.d.ts
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { AnalysisUnion as AnalysisUnionAlias } from "./analysis/types.js";
|
|
7
7
|
import type { GeometryUnion as GeometryUnionAlias } from "./geometry/types.js";
|
|
8
|
-
import type {
|
|
9
|
-
import type {
|
|
10
|
-
import type {
|
|
8
|
+
import type { RendererUnion as RendererUnionAlias, RendererWithVisualVariablesUnion as RendererWithVisualVariablesUnionAlias } from "./renderers/types.js";
|
|
9
|
+
import type { PointCloudRendererUnion as PointCloudRendererUnionAlias } from "./renderers/support/pointCloud/types.js";
|
|
10
|
+
import type { RasterRendererUnion as RasterRendererUnionAlias } from "./renderers/support/raster/types.js";
|
|
11
11
|
import type { SymbolUnion as SymbolUnionAlias, FillSymbol as FillSymbol2DUnionAlias, MarkerSymbol as MarkerSymbol2DUnionAlias, Symbol3DLayerUnion as Symbol3DLayerUnionAlias, Symbol3DUnion as Symbol3DUnionAlias, Symbol2D3DUnion as Symbol2D3DUnionAlias, Symbol2DUnion as Symbol2DUnionAlias } from "./symbols/support/typeUtils.js";
|
|
12
12
|
import type { AnalysisView2DUnion as AnalysisView2DUnionAlias } from "./views/2d/analysis/types.js";
|
|
13
13
|
import type { AnalysisView3DUnion as AnalysisView3DUnionAlias } from "./views/3d/analysis/types.js";
|
|
@@ -28,13 +28,25 @@ export type AnalysisView2DUnion = AnalysisView2DUnionAlias;
|
|
|
28
28
|
/** Union of all possible analysis types that can be added to a [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html). */
|
|
29
29
|
export type AnalysisUnion = AnalysisUnionAlias;
|
|
30
30
|
|
|
31
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Union of renderers.
|
|
33
|
+
*
|
|
34
|
+
* @deprecated since 5.0. Use [RendererUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-types.html#RendererUnion) instead.
|
|
35
|
+
*/
|
|
32
36
|
export type RendererUnion = RendererUnionAlias;
|
|
33
37
|
|
|
34
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* Union of raster renderers.
|
|
40
|
+
*
|
|
41
|
+
* @deprecated since 5.0. Use [RasterRendererUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-support-raster-types.html#RasterRendererUnion) instead.
|
|
42
|
+
*/
|
|
35
43
|
export type RasterRendererUnion = RasterRendererUnionAlias;
|
|
36
44
|
|
|
37
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Union of point cloud renderers.
|
|
47
|
+
*
|
|
48
|
+
* @deprecated since 5.0. Use [PointCloudRendererUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-support-pointCloud-types.html#PointCloudRendererUnion) instead.
|
|
49
|
+
*/
|
|
38
50
|
export type PointCloudRendererUnion = PointCloudRendererUnionAlias;
|
|
39
51
|
|
|
40
52
|
/** Union of 2D fill symbols. */
|
|
@@ -52,7 +64,11 @@ export type Symbol3DUnion = Symbol3DUnionAlias;
|
|
|
52
64
|
/** Union of 2D and 3D symbols. */
|
|
53
65
|
export type Symbol2D3DUnion = Symbol2D3DUnionAlias;
|
|
54
66
|
|
|
55
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* Union of renderers with visual variables.
|
|
69
|
+
*
|
|
70
|
+
* @deprecated since 5.0. Use [RendererWithVisualVariablesUnion](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-types.html#RendererWithVisualVariablesUnion) instead.
|
|
71
|
+
*/
|
|
56
72
|
export type RendererWithVisualVariablesUnion = RendererWithVisualVariablesUnionAlias;
|
|
57
73
|
|
|
58
74
|
/** Union of 2D symbols. */
|
package/views/2d/engine/Stage.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 e from"../../../core/Error.js";import has from"../../../core/has.js";import{removeMaybe as t}from"../../../core/maybe.js";import{addFrameTask as r}from"../../../core/scheduling.js";import{signal as s}from"../../../core/signal.js";import{create as i}from"../../../core/libs/gl-matrix-2/factories/mat3f32.js";import{CIMAnalyzer as n}from"../../../symbols/cim/cimAnalyzer.js";import{Container as a}from"./Container.js";import{MAX_TILE_RESHUFFLES_PER_FRAME as o}from"./webgl/definitions.js";import h from"./webgl/Painter.js";import{ArrayBufferPool as d}from"./webgl/PooledUint32Array.js";import{Profiler as l}from"./webgl/Profiler.js";import{TileReshuffleManager as m}from"./webgl/TileReshuffleManager.js";import{startup as u,shutdown as c}from"./webgl/shaderGraph/techniques/TechniqueRegistry.js";import{MeshWriterRegistry as p}from"./webgl/shaderGraph/techniques/mesh/MeshWriterRegistry.js";import{Timeline as g}from"../support/Timeline.js";import{SizedPixelFormat as f,SizedDepthStencilFormat as _,PixelType as b}from"../../webgl/enums.js";import{FramebufferObject as w}from"../../webgl/FramebufferObject.js";import{RenderbufferDescriptor as R}from"../../webgl/RenderbufferDescriptor.js";import{RenderingContext as y}from"../../webgl/RenderingContext.js";import{RenderingContextOptions as x}from"../../webgl/RenderingContextOptions.js";import{TextureDescriptor as C}from"../../webgl/TextureDescriptor.js";const P=2e3;class j extends a{constructor(t,i,a){super(),this.meshWriterRegistry=new p,this._trash=new Set,this._renderRemainingTime=0,this._lastFrameRenderTime=0,this._renderRequested=s(!1),this.stage=this,this._stationary=!0,this._animationsEnabled=!0,this._reshuffleManager=new m,this._managedCanvas=a,this.context=new y(this._managedCanvas.gl,i.contextOptions??new x),this.painter=new h(this.context,this),this._cimAnalyzer=new n(this.painter.textureManager.resourceManager),has("esri-2d-profiler")&&null!=t&&(this._debugOutput=document.createElement("div"),this._debugOutput.setAttribute("style","margin: 24px 64px; position: absolute; color: red;"),t.appendChild(this._debugOutput));const o=()=>this.highlightGradient;this._renderParameters={drawPhase:0,state:this.state,pixelRatio:window.devicePixelRatio,stationary:!1,globalOpacity:1,blendMode:null,deltaTime:-1,time:0,inFadeTransition:!1,effects:null,context:this.context,painter:this.painter,timeline:i.timeline||new g,renderingOptions:i.renderingOptions,requestRender:()=>this.requestRender(),allowDelayedRender:!1,requireFBO:!1,profiler:new l(this.context,this._debugOutput),dataUploadCounter:0,get highlightGradient(){return o()},reshuffleManager:this._reshuffleManager,backgroundColor:i.backgroundColor,animationsEnabled:!0};let c=e=>this.renderFrame(e);null!=i.renderFrame&&(c=i.renderFrame),this._taskHandle=r({render:e=>c(e)}),this._taskHandle.pause(),this._lostWebGLContextHandle=this._managedCanvas.events.on("webgl-context-lost",t=>this.emit("webgl-error",{error:new e("webgl-context-lost",t.statusMessage)})),this._bufferPool=new d,u()}destroy(){super.destroy(),c(this.context),this.removeAllChildren(),this._emptyTrash(),this._taskHandle=t(this._taskHandle),this._lostWebGLContextHandle=t(this._lostWebGLContextHandle),this._managedCanvas.destroy(),this._debugOutput?.parentNode?.removeChild(this._debugOutput),this._bufferPool.destroy(),this.painter.dispose(),this.context.dispose(),this._managedCanvas=null}get textureManager(){return this.painter.textureManager}get profiler(){return this._renderParameters.profiler}get backgroundColor(){return this._renderParameters.backgroundColor}set backgroundColor(e){this._renderParameters.backgroundColor=e,this.requestRender()}get canvas(){return this._managedCanvas.canvas}get bufferPool(){return this._bufferPool}get cimAnalyzer(){return this._cimAnalyzer}get renderingOptions(){return this._renderingOptions}set renderingOptions(e){this._renderingOptions=e,this.requestRender()}get renderRequested(){return this._renderRequested.value}get state(){return this._state}set state(e){this._state=e,this.requestRender()}get stationary(){return this._stationary}set stationary(e){this._stationary!==e&&(this._stationary=e,this.requestRender())}get animationsEnabled(){return this._animationsEnabled}set animationsEnabled(e){this._animationsEnabled!==e&&(this._animationsEnabled=e,this._animationsEnabled&&this.requestRender())}trashDisplayObject(e){this._trash.add(e),this.requestRender()}untrashDisplayObject(e){return this._trash.delete(e)}requestRender(){this._renderRemainingTime=P,this.renderRequested||(this._renderRequested.value=!0,this._taskHandle.resume())}renderFrame(e){const t=this._lastFrameRenderTime?e.time-this._lastFrameRenderTime:0;this._renderRemainingTime-=t,this._renderRemainingTime<=0&&this._taskHandle.pause(),this._lastFrameRenderTime=e.time,this._renderRequested.value=!1,this._renderParameters.state=this._state,this._renderParameters.stationary=this.stationary,this._renderParameters.pixelRatio=window.devicePixelRatio,this._renderParameters.globalOpacity=1,this._renderParameters.time=e.time,this._renderParameters.deltaTime=e.deltaTime,this._renderParameters.effects=null,this._renderParameters.animationsEnabled=this._animationsEnabled,this.processRender(this._renderParameters),this._emptyTrash()}_createTransforms(){return{displayViewScreenMat3:i()}}renderChildren(e){this._reshuffleManager.reshuffle(o),this._managedCanvas.render(e,()=>this._renderChildren(this.children,e))}_renderChildren(e,t){for(const s of e)s.beforeRender(t);const r=this.context;this.painter.textureUploadManager.upload(),r.resetInfo(),t.profiler.recordStart("drawLayers"),t.dataUploadCounter=0,this.painter.beforeRenderPhases(t,t.backgroundColor,this.state.padding),t.drawPhase=1;for(const s of e)s.processRender(t);if(this.children.some(e=>e.hasHighlight)){t.drawPhase=16;for(const r of e)r.processRender(t)}if(this.children.some(e=>e.hasLabels)){t.drawPhase=2;for(const r of e)r.processRender(t)}if(has("esri-tiles-debug")){t.drawPhase=64;for(const r of e)r.processRender(t)}this.painter.afterRenderPhases(t),t.profiler.recordEnd("drawLayers"),r.logInfo();for(const s of e)s.afterRender(t)}doRender(e){const t=this.context,{state:r,pixelRatio:s}=e;this._managedCanvas.resize(e),t.setViewport(0,0,s*r.size[0],s*r.size[1]),t.setDepthWriteEnabled(!0),t.setStencilWriteMask(255),this.renderChildren(e)}async takeScreenshot(e,t,r,s){const i=Math.round(this.state.size[0]*e.resolutionScale),n=Math.round(this.state.size[1]*e.resolutionScale),a=e.resolutionScale,o=this.context,h=this._state.clone();if(null!=s){const e=h.viewpoint;h.viewpoint.rotation=s,h.viewpoint=e}const d={...this._renderParameters,drawPhase:null,globalOpacity:1,stationary:!0,state:h,pixelRatio:a,time:performance.now(),deltaTime:0,blendMode:null,effects:null,inFadeTransition:!1,backgroundColor:r},l=new C(i,n);l.wrapMode=33071,l.internalFormat=f.RGBA8,l.isImmutable=!0;const m=new w(o,l,new R(_.DEPTH24_STENCIL8,i,n)),u=o.getBoundFramebufferObject(),c=o.getViewport();o.bindFramebuffer(m),o.setViewport(0,0,i,n),this._renderChildren(t??this.children,d);const p=this._readbackScreenshot(m,{...e.cropArea,y:n-(e.cropArea.y+e.cropArea.height)});o.bindFramebuffer(u),o.setViewport(c.x,c.y,c.width,c.height),this.requestRender();const g=await p;let b;return 1===e.outputScale?b=g:(b=new ImageData(Math.round(g.width*e.outputScale),Math.round(g.height*e.outputScale)),(await import("../../support/screenshotUtils.js")).resampleHermite(g,b,!0)),m.dispose(),b}async _readbackScreenshot(e,t){const r=(await import("../../support/screenshotUtils.js")).createEmptyImageData(t.width,t.height,document.createElement("canvas"));return await e.readPixelsAsync(t.x,t.y,t.width,t.height,6408,b.UNSIGNED_BYTE,new Uint8Array(r.data.buffer)),r}_emptyTrash(){for(;this._trash.size>0;){const e=Array.from(this._trash);this._trash.clear();for(const t of e)t.processDetach()}}}export{j as Stage,P as extraRenderTime};
|
|
5
|
+
import e from"../../../core/Error.js";import has from"../../../core/has.js";import{removeMaybe as t}from"../../../core/maybe.js";import{addFrameTask as r}from"../../../core/scheduling.js";import{signal as s}from"../../../core/signal.js";import{create as i}from"../../../core/libs/gl-matrix-2/factories/mat3f32.js";import{CIMAnalyzer as n}from"../../../symbols/cim/cimAnalyzer.js";import{Container as a}from"./Container.js";import{MAX_TILE_RESHUFFLES_PER_FRAME as o}from"./webgl/definitions.js";import h from"./webgl/Painter.js";import{ArrayBufferPool as d}from"./webgl/PooledUint32Array.js";import{Profiler as l}from"./webgl/Profiler.js";import{TileReshuffleManager as m}from"./webgl/TileReshuffleManager.js";import{startup as u,shutdown as c}from"./webgl/shaderGraph/techniques/TechniqueRegistry.js";import{MeshWriterRegistry as p}from"./webgl/shaderGraph/techniques/mesh/MeshWriterRegistry.js";import{Timeline as g}from"../support/Timeline.js";import{SizedPixelFormat as f,SizedDepthStencilFormat as _,PixelType as b}from"../../webgl/enums.js";import{FramebufferObject as w}from"../../webgl/FramebufferObject.js";import{RenderbufferDescriptor as R}from"../../webgl/RenderbufferDescriptor.js";import{RenderingContext as y}from"../../webgl/RenderingContext.js";import{RenderingContextOptions as x}from"../../webgl/RenderingContextOptions.js";import{TextureDescriptor as C}from"../../webgl/TextureDescriptor.js";const P=2e3;class j extends a{constructor(t,i,a){super(),this.meshWriterRegistry=new p,this._trash=new Set,this._renderRemainingTime=0,this._lastFrameRenderTime=0,this._renderRequested=s(!1),this.stage=this,this._stationary=!0,this._animationsEnabled=!0,this._reshuffleManager=new m,this._managedCanvas=a,this.context=new y(this._managedCanvas.gl,i.contextOptions??new x),this.painter=new h(this.context,this),this._cimAnalyzer=new n(this.painter.textureManager.resourceManager),has("esri-2d-profiler")&&null!=t&&(this._debugOutput=document.createElement("div"),this._debugOutput.setAttribute("style","margin: 24px 64px; position: absolute; color: red;"),t.appendChild(this._debugOutput));const o=()=>this.highlightGradient;this._renderParameters={drawPhase:0,state:this.state,pixelRatio:window.devicePixelRatio,stationary:!1,globalOpacity:1,blendMode:null,deltaTime:-1,time:0,inFadeTransition:!1,effects:null,context:this.context,painter:this.painter,timeline:i.timeline||new g,renderingOptions:i.renderingOptions,requestRender:()=>this.requestRender(),allowDelayedRender:!1,requireFBO:!1,profiler:new l(this.context,this._debugOutput),dataUploadCounter:0,get highlightGradient(){return o()},reshuffleManager:this._reshuffleManager,backgroundColor:i.backgroundColor,animationsEnabled:!0};let c=e=>this.renderFrame(e);null!=i.renderFrame&&(c=i.renderFrame),this._taskHandle=r({render:e=>c(e)}),this._taskHandle.pause(),this._lostWebGLContextHandle=this._managedCanvas.events.on("webgl-context-lost",t=>this.emit("webgl-error",{error:new e("webgl-context-lost",t.statusMessage)})),this._bufferPool=new d,u()}destroy(){super.destroy(),c(this.context),this.removeAllChildren(),this._emptyTrash(),this._taskHandle=t(this._taskHandle),this._lostWebGLContextHandle=t(this._lostWebGLContextHandle),this._managedCanvas.destroy(),this._debugOutput?.parentNode?.removeChild(this._debugOutput),this._bufferPool.destroy(),this.painter.dispose(),this.context.dispose(),this._managedCanvas=null}get textureManager(){return this.painter.textureManager}get profiler(){return this._renderParameters.profiler}get backgroundColor(){return this._renderParameters.backgroundColor}set backgroundColor(e){this._renderParameters.backgroundColor=e,this.requestRender()}get canvas(){return this._managedCanvas.canvas}get bufferPool(){return this._bufferPool}get cimAnalyzer(){return this._cimAnalyzer}get renderingOptions(){return this._renderingOptions}set renderingOptions(e){this._renderingOptions=e,this.requestRender()}get renderRequested(){return this._renderRequested.value}get state(){return this._state}set state(e){this._state=e,this.requestRender()}get stationary(){return this._stationary}set stationary(e){this._stationary!==e&&(this._stationary=e,this.requestRender())}get animationsEnabled(){return this._animationsEnabled}set animationsEnabled(e){this._animationsEnabled!==e&&(this._animationsEnabled=e,this._animationsEnabled&&this.requestRender())}trashDisplayObject(e){this._trash.add(e),this.requestRender()}untrashDisplayObject(e){return this._trash.delete(e)}requestRender(){this._renderRemainingTime=P,this.renderRequested||(this._renderRequested.value=!0,this._taskHandle.resume())}renderFrame(e){const t=this._lastFrameRenderTime?e.time-this._lastFrameRenderTime:0;this._renderRemainingTime-=t,this._renderRemainingTime<=0&&this._taskHandle.pause(),this._lastFrameRenderTime=e.time,this._renderRequested.value=!1,this._renderParameters.state=this._state,this._renderParameters.stationary=this.stationary,this._renderParameters.pixelRatio=window.devicePixelRatio,this._renderParameters.globalOpacity=1,this._renderParameters.time=e.time,this._renderParameters.deltaTime=e.deltaTime,this._renderParameters.effects=null,this._renderParameters.animationsEnabled=this._animationsEnabled,this.processRender(this._renderParameters),this._emptyTrash()}_createTransforms(){return{displayViewScreenMat3:i()}}renderChildren(e){this._reshuffleManager.reshuffle(o),this._managedCanvas.render(e,()=>this._renderChildren(this.children,e))}_renderChildren(e,t){for(const s of e)s.beforeRender(t);const r=this.context;this.painter.textureUploadManager.upload(),r.resetInfo(),t.profiler.recordStart("drawLayers"),t.dataUploadCounter=0,this.painter.beforeRenderPhases(t,t.backgroundColor,this.state.padding),t.drawPhase=1;for(const s of e)s.processRender(t);if(this.children.some(e=>e.hasHighlight)){t.drawPhase=16;for(const r of e)r.processRender(t)}if(this.children.some(e=>e.hasLabels)){t.drawPhase=2;for(const r of e)r.processRender(t)}if(has("esri-tiles-debug")){t.drawPhase=64;for(const r of e)r.processRender(t)}t.drawPhase=128;for(const s of e)s.processRender(t);this.painter.afterRenderPhases(t),t.profiler.recordEnd("drawLayers"),r.logInfo();for(const s of e)s.afterRender(t)}doRender(e){const t=this.context,{state:r,pixelRatio:s}=e;this._managedCanvas.resize(e),t.setViewport(0,0,s*r.size[0],s*r.size[1]),t.setDepthWriteEnabled(!0),t.setStencilWriteMask(255),this.renderChildren(e)}async takeScreenshot(e,t,r,s){const i=Math.round(this.state.size[0]*e.resolutionScale),n=Math.round(this.state.size[1]*e.resolutionScale),a=e.resolutionScale,o=this.context,h=this._state.clone();if(null!=s){const e=h.viewpoint;h.viewpoint.rotation=s,h.viewpoint=e}const d={...this._renderParameters,drawPhase:null,globalOpacity:1,stationary:!0,state:h,pixelRatio:a,time:performance.now(),deltaTime:0,blendMode:null,effects:null,inFadeTransition:!1,backgroundColor:r},l=new C(i,n);l.wrapMode=33071,l.internalFormat=f.RGBA8,l.isImmutable=!0;const m=new w(o,l,new R(_.DEPTH24_STENCIL8,i,n)),u=o.getBoundFramebufferObject(),c=o.getViewport();o.bindFramebuffer(m),o.setViewport(0,0,i,n),this._renderChildren(t??this.children,d);const p=this._readbackScreenshot(m,{...e.cropArea,y:n-(e.cropArea.y+e.cropArea.height)});o.bindFramebuffer(u),o.setViewport(c.x,c.y,c.width,c.height),this.requestRender();const g=await p;let b;return 1===e.outputScale?b=g:(b=new ImageData(Math.round(g.width*e.outputScale),Math.round(g.height*e.outputScale)),(await import("../../support/screenshotUtils.js")).resampleHermite(g,b,!0)),m.dispose(),b}async _readbackScreenshot(e,t){const r=(await import("../../support/screenshotUtils.js")).createEmptyImageData(t.width,t.height,document.createElement("canvas"));return await e.readPixelsAsync(t.x,t.y,t.width,t.height,6408,b.UNSIGNED_BYTE,new Uint8Array(r.data.buffer)),r}_emptyTrash(){for(;this._trash.size>0;){const e=Array.from(this._trash);this._trash.clear();for(const t of e)t.processDetach()}}}export{j as Stage,P as extraRenderTime};
|