@arcgis/core 5.0.0-next.66 → 5.0.0-next.68
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/Ground.d.ts +4 -4
- package/Map.d.ts +1 -1
- package/WebDocument2D.d.ts +2 -3
- package/WebScene.d.ts +2 -3
- package/analysis/ElevationProfile/ElevationProfileLineViewOptions.d.ts +9 -6
- package/analysis/ElevationProfile/ElevationProfileLineViewOptions.js +1 -1
- package/applications/Components/QuantityFormatter.d.ts +14 -1
- package/applications/Components/SelectionOperation.d.ts +45 -9
- package/applications/Components/SketchTooltipControls.d.ts +31 -6
- package/applications/Components/actionUtils.d.ts +1 -0
- package/applications/Components/analysisUtils.d.ts +98 -26
- package/applications/Components/arcadeEditorUtils.d.ts +3 -0
- package/applications/Components/arcadeFeatureUtils.d.ts +34 -6
- package/applications/Components/baUtils.d.ts +8 -8
- package/applications/Components/basemapUtils.d.ts +2 -0
- package/applications/Components/drawUtils.d.ts +6 -1
- package/applications/Components/featureUtils.d.ts +9 -0
- package/applications/Components/fontUtils.d.ts +2 -0
- package/applications/Components/formatUtils.d.ts +2 -0
- package/applications/Components/getDefaultUnits.d.ts +2 -0
- package/applications/Components/imageryUtils.d.ts +135 -27
- package/applications/Components/layerOriginUtils.d.ts +5 -0
- package/applications/Components/layersEffectsJsonUtils.d.ts +2 -0
- package/applications/Components/previewSymbol2D.d.ts +2 -0
- package/applications/Components/reactiveUtils.d.ts +13 -9
- package/applications/Components/sanitizerUtils.d.ts +2 -0
- package/applications/Components/stringUtils.d.ts +5 -0
- package/applications/Components/styleUtils.d.ts +2 -0
- package/applications/Components/svgUtils.d.ts +4 -0
- package/applications/Components/testUtils.d.ts +3 -0
- package/applications/Components/viewUtils.d.ts +2 -0
- package/applications/Components/webStyleSymbolUtils.d.ts +2 -0
- package/applications/Excalibur/videoViewUtils.d.ts +19 -3
- package/applications/ExperienceBuilder/sketchUtils.d.ts +10 -1
- package/applications/KnowledgeStudio/dataModelVisualization.d.ts +2 -0
- package/applications/KnowledgeStudio/generalSdkInternalAccess.d.ts +33 -4
- package/applications/KnowledgeStudio/generalSharedKgUtils.d.ts +73 -10
- package/applications/KnowledgeStudio/layerInternalAccessUtils.d.ts +12 -1
- package/applications/KnowledgeStudio/reshape.d.ts +144 -28
- package/applications/KnowledgeStudio/resourceSerializationUtils.d.ts +17 -3
- package/applications/MapViewer/layerUtils.d.ts +2 -0
- package/applications/MapViewer/mediaUtils.d.ts +42 -8
- package/applications/MapViewer/templateUtils.d.ts +78 -16
- package/applications/PortalApp/layerUtils.d.ts +2 -0
- package/applications/SceneViewer/colorUtils.d.ts +2 -0
- package/applications/SceneViewer/devEnvironmentUtils.d.ts +3 -0
- package/applications/SceneViewer/layerUtils.d.ts +5 -3
- package/applications/SceneViewer/sceneViewerUtils.d.ts +52 -5
- package/applications/SceneViewer/symbolUtils.d.ts +2 -0
- package/applications/Urban/LineImagePattern3D.d.ts +8 -2
- package/applications/Urban/imagePatternUtils.d.ts +10 -2
- package/applications/Urban/meshUtils.d.ts +2 -0
- package/applications/WebEditor/sketchUtils.d.ts +24 -4
- package/arcade/arcadeAsyncRuntime.js +1 -1
- package/arcade/arcadeCompiler.js +1 -1
- package/arcade/arcadeRuntime.js +1 -1
- package/arcade/batchExec.js +1 -1
- package/arcade/compilerUtils.js +1 -1
- package/arcade/featureset/actions/SpatialFilter.js +1 -1
- package/arcade/geometry/unitConversion.js +1 -1
- package/arcade/treeAnalysis.js +1 -1
- package/arcade.js +1 -1
- package/assets/components/assets/icon/fileEsl16.json +1 -0
- package/assets/components/assets/icon/fileEsl24.json +1 -0
- package/assets/components/assets/icon/fileEsl32.json +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{251eb6e00f99a816d55c.js → 0326314947734b8e640a.js} +1 -1
- package/assets/esri/core/workers/chunks/04176244b0a3539c9681.js +1 -0
- package/assets/esri/core/workers/chunks/04958494022f82dca473.js +1 -0
- package/assets/esri/core/workers/chunks/0b7bbdc0d71ee6721751.js +2 -0
- package/assets/esri/core/workers/chunks/{5909a0e763fddc3542e7.js.LICENSE.txt → 0b7bbdc0d71ee6721751.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/0f8149fdcf0adeca268e.js +1 -0
- package/assets/esri/core/workers/chunks/{aa7a1705266eec353cb6.js → 0fc22ad791d3ec0a9c5e.js} +1 -1
- package/assets/esri/core/workers/chunks/10e474d664b20adcd917.js +1 -0
- package/assets/esri/core/workers/chunks/12f9a55253084a910b2e.js +1 -0
- package/assets/esri/core/workers/chunks/14dedd80fb797303f91f.js +1 -0
- package/assets/esri/core/workers/chunks/1a6d2f525dd30d08cf9b.js +1 -0
- package/assets/esri/core/workers/chunks/{81d89107ff82604a3ea0.js → 1b445981fbc8373f4dd8.js} +1 -1
- package/assets/esri/core/workers/chunks/{6ba3c2b9f699d94d62b8.js → 1ec1a1997b5577619040.js} +1 -1
- package/assets/esri/core/workers/chunks/204d738c8b651314ae64.js +1 -0
- package/assets/esri/core/workers/chunks/2085084324cd5a81783f.js +1 -0
- package/assets/esri/core/workers/chunks/{e95821a199e10b389e29.js → 25f3ee666f545a7a7993.js} +2 -2
- package/assets/esri/core/workers/chunks/{e95821a199e10b389e29.js.LICENSE.txt → 25f3ee666f545a7a7993.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/2c2c0f66cffc521df736.js +1 -0
- package/assets/esri/core/workers/chunks/2dd347aa2a061d536e69.js +1 -0
- package/assets/esri/core/workers/chunks/2dfa7abf2d39fa5a3874.js +1 -0
- package/assets/esri/core/workers/chunks/322085d63719da6e443c.js +1 -0
- package/assets/esri/core/workers/chunks/{76086517591d0eb35156.js → 34a2e0462eb05986cdd1.js} +1 -1
- package/assets/esri/core/workers/chunks/{a6dcd13c792b6538ac50.js → 35593a9790818b689455.js} +1 -1
- package/assets/esri/core/workers/chunks/36ecf951c0c7dad84b69.js +1 -0
- package/assets/esri/core/workers/chunks/37002a46f03a9fc5f644.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/3a04153ca9d8e4f01185.js +1 -0
- package/assets/esri/core/workers/chunks/{4e9a8fce55cad841c731.js → 3b25f5d9c8f78bb6e011.js} +1 -1
- package/assets/esri/core/workers/chunks/3e7ea06b342e33bc48a5.js +1 -0
- package/assets/esri/core/workers/chunks/3ed317900f0edf635508.js +1 -0
- package/assets/esri/core/workers/chunks/401ce5cb98fa14c1a725.js +1 -0
- package/assets/esri/core/workers/chunks/4319b89cfa02894a8cae.js +1 -0
- package/assets/esri/core/workers/chunks/43e2c1d72cd9c8beed2f.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/45a9cd722e98dd1548ae.js +1 -0
- package/assets/esri/core/workers/chunks/4a060147d25929680ec8.js +1 -0
- package/assets/esri/core/workers/chunks/4bcd74951477e8977ba1.js +1 -0
- package/assets/esri/core/workers/chunks/4d0eaeb4cd6cd55e25fd.js +1 -0
- package/assets/esri/core/workers/chunks/{687d2b761dc5b5cf0c31.js → 4d4d71d24c1a9cb342b8.js} +1 -1
- package/assets/esri/core/workers/chunks/4fa230dc6e5e87b0dec1.js +1 -0
- package/assets/esri/core/workers/chunks/50f03813fba4b752ca9f.js +1 -0
- package/assets/esri/core/workers/chunks/{abc236e99b52be1c83b9.js → 52a14266fe239b95c5ce.js} +1 -1
- package/assets/esri/core/workers/chunks/53b5c77832df7df4d4e3.js +1 -0
- package/assets/esri/core/workers/chunks/{34178ace79e8dea3567d.js → 562cddaf63985e53ee6e.js} +1 -1
- package/assets/esri/core/workers/chunks/59a45533e96cedf1c480.js +1 -0
- package/assets/esri/core/workers/chunks/{c2aeecd27e004c6cd7e1.js → 5b9f2aa3ba1bf12c3240.js} +2 -2
- package/assets/esri/core/workers/chunks/{c2aeecd27e004c6cd7e1.js.LICENSE.txt → 5b9f2aa3ba1bf12c3240.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{6599cc702a46f81a5634.js → 5dd5be91038df8902dc4.js} +1 -1
- package/assets/esri/core/workers/chunks/{49a1b7f700b8a42de817.js → 60c7f896f2246a8aa6d7.js} +19 -19
- package/assets/esri/core/workers/chunks/60f363ee2add089e8f0b.js +1 -0
- package/assets/esri/core/workers/chunks/61801bb8c7be8fe77086.js +1 -0
- package/assets/esri/core/workers/chunks/679cd6424e0e2d7f372b.js +1 -0
- package/assets/esri/core/workers/chunks/68074a484d7f9bc713c0.js +1 -0
- package/assets/esri/core/workers/chunks/6acfa51b81e6f4255118.js +1 -0
- package/assets/esri/core/workers/chunks/{3fe7be535affae31de7e.js → 6b85a8776ec2beff63cb.js} +1 -1
- package/assets/esri/core/workers/chunks/6be530ab81291745485b.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/6df484faf54e90a6cc77.js +1 -0
- package/assets/esri/core/workers/chunks/6ea6ad894ac634aa4391.js +1 -0
- package/assets/esri/core/workers/chunks/6f8098f9fe233833245a.js +1 -0
- package/assets/esri/core/workers/chunks/73c416ae0ec5a1815591.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/75fd2ef1236a9364ca7f.js +1 -0
- package/assets/esri/core/workers/chunks/{23b623637126f8411a30.js → 7aec07f2482934259d12.js} +1 -1
- package/assets/esri/core/workers/chunks/7be9bbae23895d1cfa92.js +1 -0
- package/assets/esri/core/workers/chunks/{741d170187e58e81584d.js → 7d744554d14057d9b2b1.js} +1 -1
- package/assets/esri/core/workers/chunks/7ea48661f1087d06aa41.js +1 -0
- package/assets/esri/core/workers/chunks/{47e5149765beee46f208.js → 7ee68f67f9cc48a328f0.js} +1 -1
- package/assets/esri/core/workers/chunks/866477acdf03b8a40bc9.js +1 -0
- package/assets/esri/core/workers/chunks/8e83c133b201b9b61e70.js +1 -0
- package/assets/esri/core/workers/chunks/9086a4933d3d3d9ffa72.js +1 -0
- package/assets/esri/core/workers/chunks/94174d40de39dbe7d0bf.js +1 -0
- package/assets/esri/core/workers/chunks/98f4b44eca91c42ca08e.js +1 -0
- package/assets/esri/core/workers/chunks/9ccabf8142fb5de4d3e2.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/{dd99b77a7c0a052507bb.js → 9d88b4ba8e511da64583.js} +3 -3
- package/assets/esri/core/workers/chunks/a808be466812db51813d.js +1 -0
- package/assets/esri/core/workers/chunks/{6b4a24248182245167ca.js → a931515a2569713e743b.js} +1 -1
- package/assets/esri/core/workers/chunks/a95e28ade258b144cbb5.js +1 -0
- package/assets/esri/core/workers/chunks/adc68e2c6d2698a52bfe.js +1 -0
- package/assets/esri/core/workers/chunks/aeb524eded012217a865.js +1 -0
- package/assets/esri/core/workers/chunks/b2a1e5e9182b643909eb.js +316 -0
- package/assets/esri/core/workers/chunks/{ac6f002cfad42e60de8f.js → b48033645091c91e0d88.js} +1 -1
- package/assets/esri/core/workers/chunks/b8988771bfa4e785ebd6.js +1 -0
- package/assets/esri/core/workers/chunks/bb4574a87ca21e719f0d.js +1 -0
- package/assets/esri/core/workers/chunks/{07639f406b71bb49ffd6.js → bdbb5b33f0f49661bf6d.js} +1 -1
- package/assets/esri/core/workers/chunks/c042269586921e337be9.js +1 -0
- package/assets/esri/core/workers/chunks/c623918e289a09905cd1.js +1 -0
- package/assets/esri/core/workers/chunks/c7391b0b5a9c916a53f7.js +1 -0
- package/assets/esri/core/workers/chunks/{ac83c2999a3d2ffb4356.js → c7838ac0db8570a2d2c1.js} +1 -1
- package/assets/esri/core/workers/chunks/c91ef3814e7f024043cf.js +1 -0
- package/assets/esri/core/workers/chunks/{43d28c6509c21b8917a8.js → ca7523c14d81c470e92e.js} +1 -1
- package/assets/esri/core/workers/chunks/cd2708fb7636b3ace229.js +1 -0
- package/assets/esri/core/workers/chunks/{310f3268582e61cd86da.js → d21480925a8bc9c7de96.js} +1 -1
- package/assets/esri/core/workers/chunks/d445e9399fe4ca3d2a50.js +1 -0
- package/assets/esri/core/workers/chunks/d7683a95775c9f401a7e.js +1 -0
- package/assets/esri/core/workers/chunks/{9d6945cda99d14af83ac.js → d7d9656b990ce8be2152.js} +1 -1
- package/assets/esri/core/workers/chunks/d9ca754f51b9812bb179.js +1 -0
- package/assets/esri/core/workers/chunks/d9ef0b3341e2744d8f2f.js +1 -0
- package/assets/esri/core/workers/chunks/df4a0af329ce94a47a7b.js +1 -0
- package/assets/esri/core/workers/chunks/e10d6e511921394474ca.js +1 -0
- package/assets/esri/core/workers/chunks/e4b6aa8f67c2bd285020.js +1 -0
- package/assets/esri/core/workers/chunks/e5aac523c37d906eece6.js +1 -0
- package/assets/esri/core/workers/chunks/e6ca02f98f855024f74b.js +1 -0
- package/assets/esri/core/workers/chunks/{892157696e8f9e38c472.js → e6e837e43b9348050832.js} +1 -1
- package/assets/esri/core/workers/chunks/{d3325ed8d224e2350db7.js → e8a3ad00936f2ccaf362.js} +1 -1
- package/assets/esri/core/workers/chunks/{f351007cdcd0938d3b6c.js → eeb24a4ab4993f1f4e8e.js} +1 -1
- package/assets/esri/core/workers/chunks/ef7063ee790d2d64d4b2.js +1 -0
- package/assets/esri/core/workers/chunks/{b65fcfde62d49de1fa54.js → ef977be20a647aeded0a.js} +1 -1
- package/assets/esri/core/workers/chunks/efb631371b6bb3f043bb.js +1 -0
- package/assets/esri/core/workers/chunks/{0f5693541111fcae0c2f.js → f0914715e90e43466f8c.js} +1 -1
- package/assets/esri/core/workers/chunks/f25bebd2b6eb0d0f6626.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/f95e488d2b86e320624f.js +1 -0
- package/assets/esri/core/workers/chunks/{bfc063d4431bfa162160.js → fd09f38fb4d99bf34988.js} +1 -1
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/assets/esri/libs/text/pkg/bundle_bg.wasm +0 -0
- package/chunks/boundedPlane.js +1 -1
- package/chunks/bundle2.js +5 -0
- package/config.js +1 -1
- package/copyright.txt +70 -1
- package/core/BidiText.js +1 -1
- package/core/accessorSupport/ensureType.js +1 -1
- package/core/compilerUtils.js +1 -1
- package/core/typedArrayUtil.js +1 -1
- package/core/units.js +1 -1
- package/core/workers/loaderConfig.js +1 -1
- package/editing/sharedTemplates/SharedTemplate.js +1 -1
- package/geometry/support/FloatArray.js +1 -1
- package/geometry/support/Indices.js +1 -1
- package/geometry/support/MeshTexture.js +1 -1
- package/geometry/support/aaBoundingRect.js +1 -1
- package/geometry/support/boundedPlane.js +1 -1
- package/geometry/support/heightModelInfoUtils.js +1 -1
- package/geometry/support/meshUtils/External.js +1 -1
- package/geometry/support/meshUtils/exporters/gltf/imageutils.js +1 -1
- package/geometry/support/meshUtils/loadExternal.js +1 -1
- package/geometry/support/rotate.js +1 -1
- package/interfaces.d.ts +23 -24
- package/kernel.js +1 -1
- package/layers/BingMapsLayer.d.ts +2 -3
- package/layers/BuildingSceneLayer.d.ts +3 -5
- package/layers/CatalogLayer.d.ts +2 -4
- package/layers/DimensionLayer.d.ts +2 -3
- package/layers/ElevationLayer.d.ts +2 -4
- package/layers/FeatureLayer.d.ts +2 -4
- package/layers/GaussianSplatLayer.d.ts +1 -3
- package/layers/GeoJSONLayer.d.ts +2 -3
- package/layers/GeoRSSLayer.d.ts +2 -3
- package/layers/GroupLayer.d.ts +2 -3
- package/layers/ImageryLayer.d.ts +2 -5
- package/layers/ImageryTileLayer.d.ts +3 -7
- package/layers/IntegratedMesh3DTilesLayer.d.ts +2 -4
- package/layers/IntegratedMeshLayer.d.ts +2 -4
- package/layers/KMLLayer.d.ts +2 -3
- package/layers/KnowledgeGraphLayer.d.ts +2 -4
- package/layers/LineOfSightLayer.d.ts +2 -3
- package/layers/LinkChartLayer.d.ts +2 -3
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/MapImageLayer.d.ts +2 -4
- package/layers/MapNotesLayer.d.ts +2 -3
- package/layers/MediaLayer.d.ts +3 -4
- package/layers/OGCFeatureLayer.d.ts +2 -3
- package/layers/ParquetLayer.d.ts +2 -3
- package/layers/PointCloudLayer.d.ts +2 -4
- package/layers/RouteLayer.d.ts +2 -3
- package/layers/SceneLayer.d.ts +2 -4
- package/layers/StreamLayer.d.ts +2 -4
- package/layers/SubtypeGroupLayer.d.ts +2 -4
- package/layers/TileLayer.d.ts +2 -4
- package/layers/UnknownLayer.d.ts +2 -3
- package/layers/UnsupportedLayer.d.ts +2 -3
- package/layers/VectorTileLayer.d.ts +2 -4
- package/layers/VideoLayer.d.ts +8 -9
- package/layers/ViewshedLayer.d.ts +2 -3
- package/layers/VoxelLayer.d.ts +2 -4
- package/layers/WCSLayer.d.ts +2 -4
- package/layers/WFSLayer.d.ts +2 -3
- package/layers/WMSLayer.d.ts +5 -6
- package/layers/WMTSLayer.d.ts +4 -5
- package/layers/WebTileLayer.d.ts +2 -3
- package/layers/buildingSublayers/BuildingGroupSublayer.d.ts +1 -1
- package/layers/buildingSublayers/BuildingSublayer.d.ts +3 -3
- package/layers/buildingSublayers/BuildingSublayer.js +1 -1
- package/layers/catalog/CatalogDynamicGroupLayer.d.ts +2 -3
- package/layers/catalog/CatalogFootprintLayer.d.ts +2 -3
- package/layers/graphics/controllers/FeatureTileController3D.js +1 -1
- package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/graphics/dehydratedFeatureComparison.js +1 -1
- package/layers/graphics/dehydratedFeatures.js +1 -1
- package/layers/graphics/hydratedFeatures.js +1 -1
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +4 -6
- package/layers/{support/media.d.ts → media/types.d.ts} +9 -9
- package/layers/mixins/ArcGISImageService.d.ts +1 -1
- package/layers/mixins/ImageryTileMixin.d.ts +1 -1
- package/layers/orientedImagery/transformations/rectifyMapPoint.js +1 -1
- package/layers/raster/datasets/wcsCoverageParser.d.ts +1 -1
- package/layers/raster/functions/changeDetectionUtils.js +1 -1
- package/layers/raster/functions/creators/createLocalFunctions.d.ts +1 -1
- package/layers/raster/functions/customBandIndexUtils.js +1 -1
- package/layers/raster/functions/focalStatUtils.js +1 -1
- package/layers/raster/functions/pixelTransformUtils.js +1 -1
- package/layers/raster/functions/types.d.ts +1 -1
- package/layers/{support/RasterTypes.d.ts → raster/types.d.ts} +2 -2
- package/layers/save/featureLayerUtils.js +1 -1
- package/layers/support/ElevationQuery.d.ts +2 -2
- package/layers/support/ElevationSampler.js +1 -1
- package/layers/support/FeatureType.d.ts +2 -2
- package/layers/support/Field.d.ts +2 -3
- package/layers/support/FieldConfiguration.d.ts +1 -1
- package/layers/support/ImageElement.d.ts +3 -3
- package/layers/support/LocalMediaElementSource.d.ts +1 -1
- package/layers/support/MediaElementBase.d.ts +4 -7
- package/layers/support/PixelBlock.d.ts +1 -1
- package/layers/support/RasterFunction.d.ts +1 -1
- package/layers/support/RasterInfo.d.ts +1 -1
- package/layers/support/Sublayer.d.ts +2 -3
- package/layers/support/Subtype.d.ts +2 -2
- package/layers/support/SubtypeSublayer.d.ts +2 -3
- package/layers/support/SubtypeSublayer.js +1 -1
- package/layers/support/VideoElement.d.ts +2 -2
- package/layers/support/WMSSublayer.d.ts +6 -6
- package/layers/support/WMSSublayer.js +1 -1
- package/layers/support/domains.js +1 -1
- package/layers/support/rasterFunctionUtils.d.ts +1 -1
- package/layers/support/tiles3DUtils.js +1 -1
- package/layers/support/types.d.ts +33 -1
- package/layers/types.d.ts +17 -2
- package/layers/wmts/types.d.ts +2 -0
- package/libs/text/loadTextModule.js +5 -0
- package/linkChart/LinkChartProperties.d.ts +4 -6
- package/linkChart/LinkChartProperties.js +1 -1
- package/networks/Network.d.ts +2 -4
- package/networks/support/NamedTraceConfiguration.d.ts +3 -3
- package/networks/support/NamedTraceConfiguration.js +1 -1
- package/networks/support/TopologyValidationJobInfo.js +1 -1
- package/networks/support/TraceJobInfo.js +1 -1
- package/package.json +3 -3
- package/popup/FieldInfo.d.ts +1 -1
- package/renderers/support/RasterSymbolizer.js +1 -1
- package/renderers/support/rendererConversion.js +1 -1
- package/renderers/visualVariables/support/visualVariableUtils.js +1 -1
- package/request/process.js +1 -1
- package/rest/geometryService/types.d.ts +59 -0
- package/rest/geometryService.d.ts +3 -5
- package/rest/query/operations/pbfDehydratedFeatureSet.js +1 -1
- package/rest/query/operations/query.js +1 -1
- package/rest/query/support/AttachmentInfo.d.ts +2 -2
- package/rest/support/AlgorithmicColorRamp.d.ts +2 -2
- package/rest/support/BinParametersBase.d.ts +2 -2
- package/rest/support/BinParametersBase.js +1 -1
- package/rest/support/DateBinTimeInterval.d.ts +1 -1
- package/rest/support/GeneralizeParameters.d.ts +1 -1
- package/rest/support/ImageSampleParameters.d.ts +1 -1
- package/rest/support/JobInfo.js +1 -1
- package/rest/support/PrintTemplate.d.ts +4 -6
- package/rest/support/ServiceAreaParameters.js +1 -1
- package/rest/support/types.d.ts +17 -1
- package/smartMapping/heuristics/sizeRange.js +1 -1
- package/smartMapping/renderers/support/utils.js +1 -1
- package/smartMapping/statistics/support/statsWorker.js +1 -1
- package/smartMapping/statistics/support/utils.js +1 -1
- package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
- package/smartMapping/support/adapters/InMemoryLayerAdapter.js +1 -1
- package/smartMapping/support/adapters/support/histogramUtils.js +1 -1
- package/smartMapping/support/adapters/support/utils.js +1 -1
- package/smartMapping/support/utils.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/WebStyleSymbol.d.ts +0 -24
- package/symbols/WebStyleSymbol.js +1 -1
- package/symbols/support/ElevationInfo.d.ts +2 -2
- package/symbols/support/IconSymbol3DLayerResource.d.ts +1 -1
- package/symbols/support/defaults.js +1 -1
- package/symbols/support/defaults3D.js +1 -1
- package/symbols/support/previewSymbol3D.js +1 -1
- package/symbols/support/symbolLayerUtils3D.js +1 -1
- package/symbols/support/symbolUtils.js +1 -1
- package/symbols/support/utils.js +1 -1
- package/views/2d/analysis/ElevationProfile/ElevationProfileLineVisualization2D.js +1 -1
- package/views/2d/analysis/ElevationProfileAnalysisView2D.d.ts +16 -11
- package/views/2d/analysis/ElevationProfileAnalysisView2D.js +1 -1
- package/views/2d/engine/imagery/RasterVFDisplayObject.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTile.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
- package/views/2d/engine/webgl/GlyphSDFCreator.js +5 -0
- package/views/2d/engine/webgl/GlyphSource.js +1 -1
- package/views/2d/engine/webgl/TextureManager.js +1 -1
- package/views/2d/engine/webgl/TextureUploadManager.js +1 -1
- package/views/2d/engine/webgl/definitions.js +1 -1
- package/views/2d/engine/webgl/mesh/templates/shapingUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/constants.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
- package/views/2d/input/handlers/DoubleTapDragZoom.js +1 -1
- package/views/2d/input/handlers/KeyZoom.js +1 -1
- package/views/2d/layers/BaseLayerView2D.d.ts +3 -6
- package/views/2d/layers/BaseLayerViewGL2D.d.ts +3 -6
- package/views/2d/layers/FeatureLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/features/sources/strategies/support/queryAdapters.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReaderPBF.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/utils.js +1 -1
- package/views/3d/analysis/Dimension/lengthDimensionConstraintUtils.js +1 -1
- package/views/3d/analysis/ElevationProfile/ElevationProfileLineVisualization3D.js +1 -1
- package/views/3d/analysis/ElevationProfileAnalysisView3D.d.ts +16 -11
- package/views/3d/analysis/ElevationProfileAnalysisView3D.js +1 -1
- package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementTool.js +1 -1
- package/views/3d/analysis/VolumeMeasurementAnalysisView3D.js +1 -1
- package/views/3d/camera/constraintUtils/tilt.js +1 -1
- package/views/3d/environment/CloudsParameters.js +1 -1
- package/views/3d/environment/CloudsRenderer.js +1 -1
- package/views/3d/environment/SceneViewEnvironment.js +1 -1
- package/views/3d/glTF/internal/Resource.js +1 -1
- package/views/3d/glTF/internal/fillDefaults.js +1 -1
- package/views/3d/interactive/Manipulator3D.js +1 -1
- package/views/3d/interactive/SnappingVisualizer3D.js +1 -1
- package/views/3d/interactive/editingTools/isSupportedObjectUtils.js +1 -1
- package/views/3d/interactive/editingTools/move/isSupportedObject.js +1 -1
- package/views/3d/interactive/editingTools/transform/isSupportedGraphic.js +1 -1
- package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/PointCloudLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DFeatureProcessor.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/LabelInfo.js +1 -1
- package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
- package/views/3d/layers/graphics/lineUtils.js +1 -1
- package/views/3d/layers/graphics/pipeline/rendering/FeaturePipelineRenderManager.js +1 -1
- package/views/3d/layers/graphics/pipeline/symbolization/primitiveObjectUtils.js +1 -1
- package/views/3d/layers/graphics/primitiveObjectSymbolUtils.js +1 -1
- package/views/3d/layers/i3s/BuildingFilterUtil.js +1 -1
- package/views/3d/layers/i3s/I3SIntersectionHandler.js +1 -1
- package/views/3d/layers/i3s/I3SNode.js +1 -1
- package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
- package/views/3d/layers/i3s/PointCloudWorkerUtil.js +1 -1
- package/views/3d/layers/i3s/SphereCone.js +5 -0
- package/views/3d/layers/support/FastSymbolUpdates.js +1 -1
- package/views/3d/layers/support/edgeUtils.js +1 -1
- package/views/3d/layers/support/featureReference.js +1 -1
- package/views/3d/layers/support/featureTileQuery3D.js +1 -1
- package/views/3d/layers/support/patternUtils.js +1 -1
- package/views/3d/state/controllers/GamepadKeyboardController.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/support/FrustumExtentIntersection.js +1 -1
- package/views/3d/support/buffer/glUtil.js +1 -1
- package/views/3d/support/engineContent/sdfPrimitives.js +1 -1
- package/views/3d/support/viewpointUtils.js +1 -1
- package/views/3d/terrain/isTerrainSurfaceLayer.js +1 -1
- package/views/3d/webgl/RenderNode.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
- package/views/3d/webgl-engine/collections/Component/IntersectionGeometry.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentData.glsl.js +8 -8
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/NormalAttribute.glsl.js +4 -4
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexNormal.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeFragmentNormals.glsl.js +6 -6
- package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/Normals.glsl.js +5 -5
- package/views/3d/webgl-engine/core/shaderLibrary/terrain/TileBackground.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/util/BlendModes.glsl.js +1 -1
- package/views/3d/webgl-engine/lib/ManagedTexture.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeProcessingWorker.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeWorkerHandle.js +1 -1
- package/views/3d/webgl-engine/materials/lineStippleUtils.js +1 -1
- package/views/3d/webgl-engine/shaders/CompositingTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/sources/edgeRenderer/LineAmplitude.glsl.js +4 -4
- package/views/3d/webgl-engine/shaders/sources/edgeRenderer/LineOffset.glsl.js +8 -8
- package/views/VideoView.d.ts +2 -3
- package/views/VideoView.js +1 -1
- package/views/View2D.d.ts +2 -3
- package/views/analysis/ElevationProfile/ElevationProfileController.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileIndicatorPointVisualization.js +5 -0
- package/views/analysis/ElevationProfile/ElevationProfileLineComputation.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileResult.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileTool.js +1 -1
- package/views/analysis/ElevationProfile/constants.js +1 -1
- package/views/draw/Draw.js +1 -1
- package/views/input/ViewEvents.js +1 -1
- package/views/interactive/editGeometry/EditGeometry.js +1 -1
- package/views/interactive/snapping/featureSources/snappingCandidateElevationAlignment.js +1 -1
- package/views/interactive/snapping/featureSources/snappingCandidateElevationFilter.js +1 -1
- package/views/interactive/snapping/featureSources/symbologySnappingCandidates.js +1 -1
- package/views/layers/MediaLayerViewMixin.d.ts +1 -1
- package/views/support/PromiseQueue.js +1 -1
- package/views/support/screenUtils.js +1 -1
- package/views/support/screenshotUtils.js +1 -1
- package/views/types.d.ts +1 -1
- package/views/webgl/FramebufferObject.js +1 -1
- package/views/webgl/Uniform.js +1 -1
- package/views/webgl/Util.js +1 -1
- package/webdoc/applicationProperties/SearchLayerField.d.ts +1 -1
- package/webdoc/applicationProperties/SearchTableField.d.ts +1 -1
- package/webscene/Slide.d.ts +2 -2
- package/webscene/spec-certification/api.js +1 -1
- package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +1 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Editor/components/PendingFeatureList.js +1 -1
- package/widgets/Editor/components/workflowAdapters/pendingFeatureList/{CreateFeaturesWorkflowPendingFeatureListAdapter.ts.js → CreateFeaturesWorkflowPendingFeatureListAdapter.js} +1 -1
- package/widgets/Editor/types.d.ts +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/Feature.d.ts +3 -5
- package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
- package/widgets/FeatureForm/FieldInput.d.ts +2 -2
- package/widgets/FeatureForm/featureFormUtils.js +1 -1
- package/widgets/FeatureForm.js +1 -1
- package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +1 -1
- package/widgets/FeatureTemplates/TemplateItem.d.ts +1 -1
- package/widgets/FeatureTemplates/types.d.ts +1 -1
- package/widgets/Features.d.ts +3 -5
- package/widgets/Print/CustomTemplate.d.ts +3 -4
- package/widgets/Print/TemplateOptions.d.ts +3 -4
- package/widgets/Print/types.d.ts +3 -4
- package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
- package/widgets/Sketch/support/OperationHandle.js +1 -1
- package/widgets/TimeSlider.js +1 -1
- package/widgets/VideoPlayer/VideoPlayerViewModel.d.ts +1 -1
- package/widgets/support/SelectionList/GroupLayerItem.js +1 -1
- package/widgets/support/dateUtils.js +1 -1
- package/assets/esri/core/workers/chunks/0099f4729c94c779ba35.js +0 -1
- package/assets/esri/core/workers/chunks/058fb2cd6387acfd458c.js +0 -1
- package/assets/esri/core/workers/chunks/0ae018098906d6a88904.js +0 -1
- package/assets/esri/core/workers/chunks/0dc3a04ce717b7ddd957.js +0 -1
- package/assets/esri/core/workers/chunks/0e5cd0cf6ab7cb37d723.js +0 -1
- package/assets/esri/core/workers/chunks/0ee407b8db5c07a00d82.js +0 -1
- package/assets/esri/core/workers/chunks/10373885604655f673df.js +0 -1
- package/assets/esri/core/workers/chunks/13d61d34e55c80e4ecdf.js +0 -1
- package/assets/esri/core/workers/chunks/17dea03fc4eb414f0022.js +0 -1
- package/assets/esri/core/workers/chunks/1967239713b58dccfd81.js +0 -1
- package/assets/esri/core/workers/chunks/1ab98591d2f2bc604505.js +0 -1
- package/assets/esri/core/workers/chunks/1b838638e66e82d76cf3.js +0 -1
- package/assets/esri/core/workers/chunks/1c350a2c4014146dbcd9.js +0 -1
- package/assets/esri/core/workers/chunks/2266a8f2c2ec37c19bb4.js +0 -1
- package/assets/esri/core/workers/chunks/226acd251ad7d7ee3b57.js +0 -1
- package/assets/esri/core/workers/chunks/22b07c54a5fcc27771b0.js +0 -1
- package/assets/esri/core/workers/chunks/22ca80f491e070b2a5e7.js +0 -1
- package/assets/esri/core/workers/chunks/22dd5cecc7e2d4d0baf8.js +0 -316
- package/assets/esri/core/workers/chunks/2402d305a77fef4694a0.js +0 -1
- package/assets/esri/core/workers/chunks/27f096c434f049b8df01.js +0 -1
- package/assets/esri/core/workers/chunks/2a6231db5ee6cbfd59a5.js +0 -1
- package/assets/esri/core/workers/chunks/3371935a4fd6346d3a17.js +0 -1
- package/assets/esri/core/workers/chunks/3c4f8597f602779174f1.js +0 -1
- package/assets/esri/core/workers/chunks/3da53c017f9c5d2d778a.js +0 -1
- package/assets/esri/core/workers/chunks/45b898367b6224dda46f.js +0 -1
- package/assets/esri/core/workers/chunks/4785cd108e2dec6e1697.js +0 -1
- package/assets/esri/core/workers/chunks/4d6d962d25aa836f53ee.js +0 -1
- package/assets/esri/core/workers/chunks/4f33a2ecb154a2c2449c.js +0 -1
- package/assets/esri/core/workers/chunks/52726458f590e726d52c.js +0 -1
- package/assets/esri/core/workers/chunks/536c492fdda30f2f1288.js +0 -1
- package/assets/esri/core/workers/chunks/5909a0e763fddc3542e7.js +0 -2
- package/assets/esri/core/workers/chunks/5cee6c3ff23fb93f857a.js +0 -1
- package/assets/esri/core/workers/chunks/600e2e6b51e2fb9c598c.js +0 -1
- package/assets/esri/core/workers/chunks/6035daa65fc3ebf86515.js +0 -1
- package/assets/esri/core/workers/chunks/63b8cd7d5cafbaeed894.js +0 -1
- package/assets/esri/core/workers/chunks/6cb44cd319cb6c2539c8.js +0 -1
- package/assets/esri/core/workers/chunks/7033fa18b7dd7bd3e49c.js +0 -1
- package/assets/esri/core/workers/chunks/7306b5b66e738a281d83.js +0 -1
- package/assets/esri/core/workers/chunks/7694abe44d55dae8872d.js +0 -1
- package/assets/esri/core/workers/chunks/7f4fa2f2e85863d3cfb9.js +0 -1
- package/assets/esri/core/workers/chunks/8f4c480c418eba299c2b.js +0 -1
- package/assets/esri/core/workers/chunks/964de713042f52d71e42.js +0 -1
- package/assets/esri/core/workers/chunks/a3836f6a93924ee4816e.js +0 -1
- package/assets/esri/core/workers/chunks/ab520fd1ae917daf07d8.js +0 -1
- package/assets/esri/core/workers/chunks/acc7ff44bfcb5c195114.js +0 -1
- package/assets/esri/core/workers/chunks/ad92427bf597a6e0a299.js +0 -1
- package/assets/esri/core/workers/chunks/b25a131c04092c3ab75d.js +0 -1
- package/assets/esri/core/workers/chunks/b285de471ca90f38ec25.js +0 -1
- package/assets/esri/core/workers/chunks/b8f83a272fc41765031d.js +0 -1
- package/assets/esri/core/workers/chunks/b9909264cfea68d5f2a1.js +0 -1
- package/assets/esri/core/workers/chunks/bb08359610a41e304b55.js +0 -1
- package/assets/esri/core/workers/chunks/bcf612eabe7577540953.js +0 -1
- package/assets/esri/core/workers/chunks/bfbbcaa1fb04f17fc869.js +0 -1
- package/assets/esri/core/workers/chunks/c02b09f16241db233103.js +0 -1
- package/assets/esri/core/workers/chunks/c3007b916ba933137709.js +0 -1
- package/assets/esri/core/workers/chunks/cc5c1887e6d7079e5fe3.js +0 -1
- package/assets/esri/core/workers/chunks/ce8f075c814a8378c00c.js +0 -1
- package/assets/esri/core/workers/chunks/cfe1506a443fc84a0b91.js +0 -1
- package/assets/esri/core/workers/chunks/d30cfc5fa302cc08d862.js +0 -1
- package/assets/esri/core/workers/chunks/d723619579cc8f5ef2cd.js +0 -1
- package/assets/esri/core/workers/chunks/da99fd0d3106dd357743.js +0 -1
- package/assets/esri/core/workers/chunks/de71db3b0fb947b13c97.js +0 -1
- package/assets/esri/core/workers/chunks/dfbbead4c24d13682891.js +0 -1
- package/assets/esri/core/workers/chunks/e69255e38ff200dda14b.js +0 -1
- package/assets/esri/core/workers/chunks/e705d041f6c1632bfbcc.js +0 -1
- package/assets/esri/core/workers/chunks/e85da52d9cc7d9396872.js +0 -1
- package/assets/esri/core/workers/chunks/ee186ddbb1eb5144a790.js +0 -1
- package/assets/esri/core/workers/chunks/f9370830051865a3435b.js +0 -1
- package/core/MultiOriginJSONSupport.d.ts +0 -13
- package/core/NumericIdentifiable.d.ts +0 -6
- package/core/ReadOnlyMultiOriginJSONSupport.d.ts +0 -6
- package/core/WriteableMultiOriginJSONMixin.d.ts +0 -6
- package/layers/knowledgeGraph/KnowledgeGraphSublayerBase.d.ts +0 -6
- package/layers/mixins/ArcGISService.d.ts +0 -6
- package/layers/mixins/RasterJobHandlerMixin.d.ts +0 -6
- package/layers/support/RasterFunctionProperties.d.ts +0 -2
- package/layers/support/domains.d.ts +0 -5
- package/layers/support/editableLayers.d.ts +0 -11
- package/layers/support/exifUtils.d.ts +0 -21
- package/layers/support/fieldFormatUtils.d.ts +0 -4
- package/layers/support/fieldType.d.ts +0 -2
- package/layers/support/layerUtils.d.ts +0 -4
- package/layers/support/wmtsUtils.d.ts +0 -2
- package/layers/video/videoUtils.d.ts +0 -5
- package/rest/geometryService/cut.d.ts +0 -7
- package/rest/geometryService/fromGeoCoordinateString.d.ts +0 -28
- package/rest/geometryService/toGeoCoordinateString.d.ts +0 -25
- package/rest/operations/generalize.d.ts +0 -3
- package/rest/support/DateBinUtils.d.ts +0 -2
- package/rest/support/colorRamps.d.ts +0 -6
- package/rest/support/fileFormat.d.ts +0 -4
- package/rest/support/layoutTemplate.d.ts +0 -2
- package/rest/support/reportTemplate.d.ts +0 -2
- package/views/2d/layers/LayerView2D.d.ts +0 -6
- package/views/Viewport2DBaseMixin.d.ts +0 -6
- package/views/analysis/ElevationProfile/ElevationProfileHoveredPointVisualization.js +0 -5
- package/views/layers/RefreshableLayerView.d.ts +0 -6
- package/widgets/Feature/support/FeatureContentMixin.d.ts +0 -6
- /package/layers/video/{IVideoController.d.ts → types.d.ts} +0 -0
- /package/layers/{support/wmsUtils.d.ts → wms/types.d.ts} +0 -0
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { Loadable, LoadableMixinProperties } from "../../core/Loadable.js";
|
|
2
|
-
import type {
|
|
3
|
-
import type { NumericIdentifiableMixin, NumericIdentifiableMixinProperties } from "../../core/NumericIdentifiable.js";
|
|
4
|
-
import type { Georeference } from "./media.js";
|
|
2
|
+
import type { Georeference } from "../media/types.js";
|
|
5
3
|
import type { ControlPointsGeoreferenceProperties } from "./ControlPointsGeoreference.js";
|
|
6
4
|
import type { ExtentAndRotationGeoreferenceProperties } from "./ExtentAndRotationGeoreference.js";
|
|
7
5
|
import type { CornersGeoreferenceProperties } from "./CornersGeoreference.js";
|
|
8
6
|
|
|
9
|
-
export interface MediaElementBaseProperties extends LoadableMixinProperties,
|
|
7
|
+
export interface MediaElementBaseProperties extends LoadableMixinProperties, Partial<Pick<MediaElementBase, "opacity">> {
|
|
10
8
|
/**
|
|
11
9
|
* The geographic location of the image or video element to be placed on the map. The location can be set by either specifying
|
|
12
10
|
* extent and rotation of the element, the corner points of the bounding box, or by defining control points.
|
|
@@ -92,7 +90,7 @@ export interface MediaElementBaseProperties extends LoadableMixinProperties, Mul
|
|
|
92
90
|
*
|
|
93
91
|
* @since 4.24
|
|
94
92
|
*/
|
|
95
|
-
export default abstract class MediaElementBase extends
|
|
93
|
+
export default abstract class MediaElementBase extends Loadable {
|
|
96
94
|
/**
|
|
97
95
|
* The geographic location of the image or video element to be placed on the map. The location can be set by either specifying
|
|
98
96
|
* extent and rotation of the element, the corner points of the bounding box, or by defining control points.
|
|
@@ -178,5 +176,4 @@ export default abstract class MediaElementBase extends MediaElementBaseSuperclas
|
|
|
178
176
|
* @default 1
|
|
179
177
|
*/
|
|
180
178
|
accessor opacity: number;
|
|
181
|
-
}
|
|
182
|
-
declare const MediaElementBaseSuperclass: typeof Loadable & typeof MultiOriginJSONMixin & typeof NumericIdentifiableMixin
|
|
179
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type SimpleBandStatistics from "./SimpleBandStatistics.js";
|
|
2
2
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
3
|
-
import type { RasterNumArray, RasterPixelType } from "
|
|
3
|
+
import type { RasterNumArray, RasterPixelType } from "../raster/types.js";
|
|
4
4
|
|
|
5
5
|
export interface PixelBlockProperties extends JSONSupportMixinProperties, Partial<Pick<PixelBlock, "bandMasks" | "height" | "mask" | "maskIsAlpha" | "pixels" | "pixelType" | "statistics" | "validPixelCount" | "width">> {}
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
2
|
-
import type { RasterPixelType } from "
|
|
2
|
+
import type { RasterPixelType } from "../raster/types.js";
|
|
3
3
|
|
|
4
4
|
export interface RasterFunctionProperties extends JSONSupportMixinProperties, Partial<Pick<RasterFunction, "functionArguments" | "functionName" | "outputPixelType" | "rasterFunctionDefinition" | "variableName">> {}
|
|
5
5
|
|
|
@@ -4,7 +4,7 @@ import type RasterBandInfo from "./RasterBandInfo.js";
|
|
|
4
4
|
import type RasterSensorInfo from "./RasterSensorInfo.js";
|
|
5
5
|
import type FeatureSet from "../../rest/support/FeatureSet.js";
|
|
6
6
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
7
|
-
import type { RasterDataType, RasterPixelType } from "
|
|
7
|
+
import type { RasterDataType, RasterPixelType } from "../raster/types.js";
|
|
8
8
|
import type { RasterBandStatistics, RasterHistogram, RasterMultidimensionalInfo } from "./types.js";
|
|
9
9
|
import type { ExtentProperties } from "../../geometry/Extent.js";
|
|
10
10
|
import type { SpatialReferenceProperties } from "../../geometry/SpatialReference.js";
|
|
@@ -21,7 +21,6 @@ import type AttributeTableTemplate from "../../tables/AttributeTableTemplate.js"
|
|
|
21
21
|
import type { ReadonlyArrayOrCollection } from "../../core/Collection.js";
|
|
22
22
|
import type { IdentifiableMixin, IdentifiableMixinProperties } from "../../core/Identifiable.js";
|
|
23
23
|
import type { Loadable, LoadableMixinProperties } from "../../core/Loadable.js";
|
|
24
|
-
import type { MultiOriginJSONMixin, MultiOriginJSONMixinProperties } from "../../core/MultiOriginJSONSupport.js";
|
|
25
24
|
import type { AbortOptions } from "../../core/promiseUtils.js";
|
|
26
25
|
import type { FieldDomainOptions } from "../mixins/properties/ILayerWithGetField.js";
|
|
27
26
|
import type { SublayerCapabilities } from "./types.js";
|
|
@@ -47,7 +46,7 @@ import type { SimpleRendererProperties } from "../../renderers/SimpleRenderer.js
|
|
|
47
46
|
import type { MapLayerSourceProperties } from "./source/MapLayerSource.js";
|
|
48
47
|
import type { DataLayerSourceProperties } from "./source/DataLayerSource.js";
|
|
49
48
|
|
|
50
|
-
export interface SublayerProperties extends LoadableMixinProperties, IdentifiableMixinProperties,
|
|
49
|
+
export interface SublayerProperties extends LoadableMixinProperties, IdentifiableMixinProperties, Partial<Pick<Sublayer, "definitionExpression" | "id" | "labelsVisible" | "layer" | "legendEnabled" | "listMode" | "maxScale" | "minScale" | "opacity" | "parent" | "popupEnabled" | "sourceJSON" | "title" | "url" | "visible">> {
|
|
51
50
|
/**
|
|
52
51
|
* This property is used to configure the associated layer's [FeatureTable](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html). It is meant to configure how the columns display within the table in regard to visibility, column order, and sorting.
|
|
53
52
|
*
|
|
@@ -1120,4 +1119,4 @@ export default class Sublayer extends SublayerSuperclass {
|
|
|
1120
1119
|
*/
|
|
1121
1120
|
reload(options?: AbortOptions | null | undefined): Promise<void>;
|
|
1122
1121
|
}
|
|
1123
|
-
declare const SublayerSuperclass: typeof Loadable & typeof IdentifiableMixin
|
|
1122
|
+
declare const SublayerSuperclass: typeof Loadable & typeof IdentifiableMixin
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ClonableMixin, ClonableMixinProperties } from "../../core/Clonable.js";
|
|
2
2
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { DomainUnion } from "./types.js";
|
|
4
4
|
|
|
5
5
|
export interface SubtypeProperties extends JSONSupportMixinProperties, ClonableMixinProperties, Partial<Pick<Subtype, "code" | "defaultValues" | "domains" | "name">> {}
|
|
6
6
|
|
|
7
|
-
export type Domains = Record<string,
|
|
7
|
+
export type Domains = Record<string, DomainUnion> | null;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Subtypes categorize a subset of features in a layer that share the same attributes.
|
|
@@ -20,7 +20,6 @@ import type AttributeTableTemplate from "../../tables/AttributeTableTemplate.js"
|
|
|
20
20
|
import type { ClonableMixin, ClonableMixinProperties } from "../../core/Clonable.js";
|
|
21
21
|
import type { IdentifiableMixin, IdentifiableMixinProperties } from "../../core/Identifiable.js";
|
|
22
22
|
import type { Loadable, LoadableMixinProperties } from "../../core/Loadable.js";
|
|
23
|
-
import type { MultiOriginJSONMixin, MultiOriginJSONMixinProperties } from "../../core/MultiOriginJSONSupport.js";
|
|
24
23
|
import type { FeatureLayerCapabilities } from "../types.js";
|
|
25
24
|
import type { EditOptions, Edits, EditsResult, FeatureEditResult } from "../graphics/editingSupport.js";
|
|
26
25
|
import type { FeatureTitleOptions } from "../mixins/properties/ILayerWithGetFeatureTitle.js";
|
|
@@ -38,7 +37,7 @@ import type { ClassBreaksRendererProperties } from "../../renderers/ClassBreaksR
|
|
|
38
37
|
import type { SimpleRendererProperties } from "../../renderers/SimpleRenderer.js";
|
|
39
38
|
import type { FeatureTemplateProperties } from "./FeatureTemplate.js";
|
|
40
39
|
|
|
41
|
-
export interface SubtypeSublayerProperties extends LoadableMixinProperties, IdentifiableMixinProperties, ClonableMixinProperties,
|
|
40
|
+
export interface SubtypeSublayerProperties extends LoadableMixinProperties, IdentifiableMixinProperties, ClonableMixinProperties, Partial<Pick<SubtypeSublayer, "editingEnabled" | "id" | "labelsVisible" | "legendEnabled" | "listMode" | "maxScale" | "minScale" | "opacity" | "parent" | "popupEnabled" | "subtypeCode" | "title" | "visible">> {
|
|
42
41
|
/**
|
|
43
42
|
* This property is used to configure the associated layer's [FeatureTable](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html). It is meant to configure how the columns display within the table in regard to visibility, column order, and sorting.
|
|
44
43
|
*
|
|
@@ -946,4 +945,4 @@ export default class SubtypeSublayer extends SubtypeSublayerSuperclass {
|
|
|
946
945
|
*/
|
|
947
946
|
updateAttachment(feature: Graphic, attachmentId: number, attachment: HTMLFormElement | FormData): Promise<FeatureEditResult>;
|
|
948
947
|
}
|
|
949
|
-
declare const SubtypeSublayerSuperclass: typeof Loadable & typeof IdentifiableMixin & typeof ClonableMixin
|
|
948
|
+
declare const SubtypeSublayerSuperclass: typeof Loadable & typeof IdentifiableMixin & typeof ClonableMixin
|
|
@@ -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 e}from"tslib";import t from"../../PopupTemplate.js";import{ClonableMixin as r}from"../../core/Clonable.js";import"../../core/has.js";import i from"../../core/Error.js";import{IdentifiableMixin as o}from"../../core/Identifiable.js";import{clone as n}from"../../core/lang.js";import{Loadable as l}from"../../core/Loadable.js";import s from"../../core/Logger.js";import{destroyMaybe as a}from"../../core/maybe.js";import{MultiOriginJSONMixin as p}from"../../core/MultiOriginJSONSupport.js";import{setDeepValue as d}from"../../core/object.js";import{sqlAnd as u}from"../../core/sql.js";import{property as y,subclass as c}from"../../core/accessorSupport/decorators.js";import{excludeTables as m}from"../../core/accessorSupport/layerContainerType.js";import f from"../../form/FormTemplate.js";import h from"../../geometry/SpatialReference.js";import b from"../../graphic/SubtypeGroupGraphicOrigin.js";import{labelsVisible as g,legendEnabled as j,minScale as v,maxScale as w,popupEnabled as F}from"./commonProperties.js";import{createQuery as T,computeDomainFromSubtypes as I}from"./featureLayerUtils.js";import O from"./FeatureTemplate.js";import{defineFieldProperties as S}from"./fieldProperties.js";import{fixRendererFields as C}from"./fieldUtils.js";import E from"./LabelClass.js";import{reader as q}from"./labelingInfo.js";import{rendererReader as A,supportedRendererTypes as x}from"./subtypeGroupLayerUtils.js";import R from"./TitleCreator.js";import P from"../../renderers/SimpleRenderer.js";import L from"../../rest/support/AttachmentQuery.js";import G from"../../rest/support/Query.js";import{createPopupTemplate as _}from"../../support/popupUtils.js";import{defaultPolygonSymbol2D as D,defaultPolylineSymbol2D as N,defaultPointSymbol2D as $}from"../../symbols/support/defaults.js";import U from"../../tables/AttributeTableTemplate.js";import{writer as V}from"../../core/accessorSupport/decorators/writer.js";import{reader as M}from"../../core/accessorSupport/decorators/reader.js";const Q=S();let k=0;function B(e,t){let r=e.json.write;return"object"!=typeof r&&(r=e.json.write={}),r.ignoreOrigin=!0,t?.spatialOnly&&(r.layerContainerTypes=m),e}function H(e){const t={write:{ignoreOrigin:!0}};return e?.name&&(t.name=e.name),"object"==typeof t.write&&(e?.spatialOnly&&(t.write.layerContainerTypes=m),e?.target&&(t.write.target=e.target)),t}function J(e){return new P({symbol:W(e)})}function W(e){switch(e){case"point":case"multipoint":return $.clone();case"polyline":return N.clone();case"polygon":case"multipatch":return D.clone();default:return null}}function z(e,t){return!!t&&("unique-value"===e?.type&&null!=e.field&&e.field.toLowerCase()===t.toLowerCase()&&!e.field2&&!e.field3&&!e.valueExpression)}function K(e,t){return null==e?null:t.subtypes?.find(t=>t.code===e)}function X(e,t){let r=null;switch(t.geometryType){case"esriGeometryPoint":case"esriGeometryMultipoint":r="point";break;case"esriGeometryPolyline":r="line";break;case"esriGeometryPolygon":case"esriGeometryMultiPatch":r="polygon";break;default:t.type,r=null}const i={},o=K(e,t);if(null!=o){const{defaultValues:e}=o;for(const t in e)i[t]=e[t]}return i[t.subtypeField]=e,new O({name:"New Feature",drawingTool:r,prototype:{attributes:i}})}let Y=class extends(p(r(o(l)))){constructor(e){super(e),this.attributeTableTemplate=null,this.charts=null,this.editingEnabled=!0,this.fieldOverrides=null,this.fieldsIndex=null,this.formTemplate=null,this.graphicOrigin=new b(this),this.id=`${Date.now().toString(16)}-subtype-sublayer-${k++}`,this.type="subtype-sublayer",this.labelsVisible=!0,this.labelingInfo=null,this.layerType="ArcGISFeatureLayer",this.legendEnabled=!0,this.listMode="show",this.minScale=0,this.maxScale=0,this.opacity=1,this.parent=null,this.popupEnabled=!0,this.popupTemplate=null,this.subtypeCode=null,this.templates=null,this.title=null,this.visible=!0}load(e){return C(this.renderer,this.fieldsIndex),Promise.resolve(this)}get _titleCreator(){const e=this._get("_titleCreator");return a(e),new R({fieldsIndex:this.fieldsIndex,objectIdField:this.objectIdField,displayField:this.parent?.displayField??"",fields:this.fields,effectivePopupTemplate:this.popupTemplate??this.defaultPopupTemplate})}get capabilities(){return this.parent?.capabilities}get effectiveCapabilities(){return this.parent?.effectiveCapabilities}get effectiveEditingEnabled(){const{parent:e}=this;return e?e.effectiveEditingEnabled&&this.editingEnabled:this.editingEnabled}get elevationInfo(){return this.parent?.elevationInfo}get featureTitleFields(){return[...this._titleCreator.requiredFields]}writeFieldOverrides(e,t,r){const{fields:i,parent:o}=this;let l;if(i){l=[];let e=0;i.forEach(({name:t,alias:r,editable:i,visible:n})=>{if(!n)return;const s=o?.fields?.find(e=>e.name===t);if(!s)return;const a={name:t};let p=!1;r!==s.alias&&(a.alias=r,p=!0),i!==s.editable&&(a.editable=i,p=!0),l.push(a),p&&e++}),0===e&&l.length===i.length&&(l=null)}else l=n(e);l?.length&&d(r,l,t)}get fields(){const{parent:e,fieldOverrides:t,subtypeCode:r}=this,i=e?.fields;if(!e||!i?.length)return null;const{subtypes:o,subtypeField:n}=e,l=o?.find(e=>e.code===r),s=l?.defaultValues,a=l?.domains,p=[];for(const d of i){const e=d.clone(),{name:i}=e,o=t?.find(e=>e.name===i);if(e.visible=!t?.length||!!o,o){const{alias:t,editable:r}=o;t&&(e.alias=t),!1===r&&(e.editable=!1)}const l=s?.[i]??null;e.defaultValue=i===n?r:l;const u=a?.[i]??null;e.domain=i===n?null:u?"inherited"===u.type?e.domain:u.clone():null,p.push(e)}return p}get floorInfo(){return this.parent?.floorInfo}get isTable(){return!!this.parent?.isTable}get geometryType(){return this.parent?.geometryType}get globalIdField(){return this.parent?this.parent.globalIdField:(s.getLogger(this).error(te("globalIdField")),null)}get effectiveScaleRange(){const{minScale:e,maxScale:t}=this;return{minScale:e,maxScale:t}}get objectIdField(){return this.parent||s.getLogger(this).error(te("objectIdField")),this.parent?.objectIdField}get defaultPopupTemplate(){return this.createPopupTemplate()}get relationships(){return this.parent?.relationships}set renderer(e){C(e,this.fieldsIndex),this._override("renderer",e)}get renderer(){if(this._isOverridden("renderer"))return this._get("renderer");const{parent:e}=this;return e&&!e.isTable&&"mesh"!==e.geometryType?J(e.geometryType):null}readRendererFromService(e,t,r){if("Table"===t.type)return null;const i=t.drawingInfo?.renderer,o=A(i,t,r);let n;const{subtypeCode:l}=this;if(null!=l&&z(o,t.subtypeField)){const e=o.uniqueValueInfos?.find(({value:e})=>(e="number"==typeof e?String(e):e)===String(l));e&&(n=new P({symbol:e.symbol}))}else"simple"!==o?.type||o.visualVariables?.length||(n=o);return n}readRenderer(e,t,r){const i=t?.layerDefinition?.drawingInfo?.renderer;if(i)return A(i,t,r)||void 0}get spatialReference(){return this.parent?.spatialReference??h.WGS84}get subtypeField(){return this.parent?.subtypeField}readTemplatesFromService(e,t){return[X(this.subtypeCode,t)]}readTitleFromService(e,t){const r=K(this.subtypeCode,t);return null!=r?r.name:null}get url(){return this.parent?.url}get userHasUpdateItemPrivileges(){return!!this.parent?.userHasUpdateItemPrivileges}async addAttachment(e,t){const{parent:r}=this;if(!r)throw te("addAttachment");if(e.getAttribute(r.subtypeField)!==this.subtypeCode)throw new i("subtype-sublayer:addAttachment","The feature provided does not belong to this SubtypeSublayer");return r.addAttachment(e,t)}async updateAttachment(e,t,r){const{parent:o}=this;if(!o)throw te("updateAttachment");if(e.getAttribute(o.subtypeField)!==this.subtypeCode)throw new i("subtype-sublayer:updateAttachment","The feature provided does not belong to this SubtypeSublayer");return o.updateAttachment(e,t,r)}async deleteAttachments(e,t){const{parent:r}=this;if(!r)throw te("deleteAttachments");if(e.getAttribute(r.subtypeField)!==this.subtypeCode)throw new i("subtype-sublayer:deleteAttachments","The feature provided does not belong to this SubtypeSublayer");return r.deleteAttachments(e,t)}async applyEdits(e,t){if(!this.parent)throw te("applyEdits");return this.parent.applyEdits(e,t)}createPopupTemplate(e){let t=this;const{parent:r,fields:i,title:o}=this;if(r){const{displayField:e,editFieldsInfo:n,objectIdField:l}=r;t={displayField:e,editFieldsInfo:n,fields:i,objectIdField:l,title:o}}return _(t,e)}createQuery(){if(!this.parent)throw te("createQuery");const e=T(this.parent),t=`${this.parent.subtypeField}=${this.subtypeCode}`;return e.where=u(t,this.parent.definitionExpression),e}getFeatureTitle(e,t){return this._titleCreator.getTitle(this,e,t)}getFeatureTitles(e,t){return this._titleCreator.getTitles(this,e,t)}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){if(!t?.excludeImpliedDomains&&this.parent){const t=I(this.parent,e);if(t)return t}return this._getLayerDomain(e)}async queryAttachments(e,t){const r=await this.load();if(!r.parent)throw te("queryAttachments");const i=e instanceof L?e.clone():new L(e);return i.where=ee(i.where,r.parent.subtypeField,r.subtypeCode),r.parent.queryAttachments(i,t)}async queryFeatureCount(e,t){const r=await this.load();if(!r.parent)throw te("queryFeatureCount");return r.parent.queryFeatureCount(Z(r.parent,r,e),t)}async queryFeatures(e,t){const r=await this.load();if(!r.parent)throw te("queryFeatures");return r.parent.queryFeatures(Z(r.parent,r,e),t)}async queryObjectIds(e,t){const r=await this.load();if(!r.parent)throw te("queryObjectIds");return r.parent.queryObjectIds(Z(r.parent,r,e),t)}async queryRelatedFeatures(e,t){const r=await this.load();if(!r.parent)throw te("queryRelatedFeatures");return r.parent.queryRelatedFeatures(e,t)}async queryRelatedFeaturesCount(e,t){const r=await this.load();if(!r.parent)throw te("queryRelatedFeaturesCount");return r.parent.queryRelatedFeaturesCount(e,t)}_getLayerDomain(e){const t=this.fieldsIndex.get(e);return t?t.domain:null}};e([y({clonable:!1,readOnly:!0})],Y.prototype,"_titleCreator",null),e([y({type:U,json:H({name:"attributeTableInfo"})})],Y.prototype,"attributeTableTemplate",void 0),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"capabilities",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"effectiveCapabilities",null),e([y({json:H()})],Y.prototype,"charts",void 0),e([y({type:Boolean,nonNullable:!0,json:H({name:"enableEditing"})})],Y.prototype,"editingEnabled",void 0),e([y({type:Boolean,readOnly:!0})],Y.prototype,"effectiveEditingEnabled",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"elevationInfo",null),e([y({clonable:!1,readOnly:!0})],Y.prototype,"featureTitleFields",null),e([y({json:{name:"layerDefinition.fieldOverrides",origins:{service:{read:!1}},write:{ignoreOrigin:!0,allowNull:!0}}})],Y.prototype,"fieldOverrides",void 0),e([V("fieldOverrides")],Y.prototype,"writeFieldOverrides",null),e([y({...Q.fields,readOnly:!0,json:{read:!1}})],Y.prototype,"fields",null),e([y(Q.fieldsIndex)],Y.prototype,"fieldsIndex",void 0),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"floorInfo",null),e([y({type:f,json:H({name:"formInfo"})})],Y.prototype,"formTemplate",void 0),e([y({readOnly:!0,clonable:!1})],Y.prototype,"graphicOrigin",void 0),e([y({type:String,clonable:!1,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0}}})],Y.prototype,"id",void 0),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"isTable",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"geometryType",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"globalIdField",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"type",void 0),e([y(B(n(g)))],Y.prototype,"labelsVisible",void 0),e([y({type:[E],json:{name:"layerDefinition.drawingInfo.labelingInfo",origins:{service:{read:!1}},read:{reader:q},write:{ignoreOrigin:!0,layerContainerTypes:m}}})],Y.prototype,"labelingInfo",void 0),e([y({type:["ArcGISFeatureLayer"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,layerContainerTypes:m}}})],Y.prototype,"layerType",void 0),e([y(B(n(j)))],Y.prototype,"legendEnabled",void 0),e([y({type:["show","hide"]})],Y.prototype,"listMode",void 0),e([y((()=>{const e=n(v);return e.json.origins.service.read=!1,B(e,{spatialOnly:!0})})())],Y.prototype,"minScale",void 0),e([y((()=>{const e=n(w);return e.json.origins.service.read=!1,B(e,{spatialOnly:!0})})())],Y.prototype,"maxScale",void 0),e([y({readOnly:!0})],Y.prototype,"effectiveScaleRange",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"objectIdField",null),e([y({type:Number,range:{min:0,max:1},nonNullable:!0,json:H({spatialOnly:!0})})],Y.prototype,"opacity",void 0),e([y({clonable:!1})],Y.prototype,"parent",void 0),e([y(B(n(F)))],Y.prototype,"popupEnabled",void 0),e([y({type:t,json:H({name:"popupInfo"})})],Y.prototype,"popupTemplate",void 0),e([y({readOnly:!0})],Y.prototype,"defaultPopupTemplate",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"relationships",null),e([y({types:x,json:H({target:"layerDefinition.drawingInfo.renderer",spatialOnly:!0})})],Y.prototype,"renderer",null),e([M("service","renderer",["drawingInfo.renderer","subtypeField","type"])],Y.prototype,"readRendererFromService",null),e([M("renderer",["layerDefinition.drawingInfo.renderer"])],Y.prototype,"readRenderer",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"spatialReference",null),e([y({type:Number,json:{origins:{service:{read:!1}},write:{ignoreOrigin:!0}}})],Y.prototype,"subtypeCode",void 0),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"subtypeField",null),e([y({type:[O],json:H({name:"layerDefinition.templates"})})],Y.prototype,"templates",void 0),e([M("service","templates",["geometryType","subtypeField","subtypes","type"])],Y.prototype,"readTemplatesFromService",null),e([y({type:String,json:H()})],Y.prototype,"title",void 0),e([M("service","title",["subtypes"])],Y.prototype,"readTitleFromService",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"url",null),e([y({readOnly:!0})],Y.prototype,"userHasUpdateItemPrivileges",null),e([y({type:Boolean,nonNullable:!0,json:H({name:"visibility",spatialOnly:!0})})],Y.prototype,"visible",void 0),Y=e([c("esri.layers.support.SubtypeSublayer")],Y);const Z=(e,t,r)=>{if(!r)return t.createQuery();const i=G.from(r);return i.where=ee(i.where,e.subtypeField,t.subtypeCode),i},ee=(e,t,r)=>{const i=new RegExp(`${t}\\s*=\\s*\\d+`),o=`${t}=${r}`,n=e??"";return i.test(n)?n.replace(i,o):u(o,n)},te=e=>new i("subtype-sublayer:parent-missing",`This sublayer must have a parent SubtypeGroupLayer in order to use ${e}`);export{Y as default};
|
|
5
|
+
import{__decorate as e}from"tslib";import t from"../../PopupTemplate.js";import{ClonableMixin as r}from"../../core/Clonable.js";import i from"../../core/Error.js";import{IdentifiableMixin as n}from"../../core/Identifiable.js";import{clone as o}from"../../core/lang.js";import{Loadable as l}from"../../core/Loadable.js";import s from"../../core/Logger.js";import{destroyMaybe as a}from"../../core/maybe.js";import{MultiOriginJSONMixin as p}from"../../core/MultiOriginJSONSupport.js";import{setDeepValue as d}from"../../core/object.js";import{sqlAnd as u}from"../../core/sql.js";import{property as y,subclass as c}from"../../core/accessorSupport/decorators.js";import{excludeTables as m}from"../../core/accessorSupport/layerContainerType.js";import f from"../../form/FormTemplate.js";import h from"../../geometry/SpatialReference.js";import b from"../../graphic/SubtypeGroupGraphicOrigin.js";import{labelsVisible as g,legendEnabled as j,minScale as v,maxScale as w,popupEnabled as F}from"./commonProperties.js";import{createQuery as T,computeDomainFromSubtypes as I}from"./featureLayerUtils.js";import O from"./FeatureTemplate.js";import{defineFieldProperties as S}from"./fieldProperties.js";import{fixRendererFields as C}from"./fieldUtils.js";import E from"./LabelClass.js";import{reader as q}from"./labelingInfo.js";import{rendererReader as A,supportedRendererTypes as x}from"./subtypeGroupLayerUtils.js";import R from"./TitleCreator.js";import P from"../../renderers/SimpleRenderer.js";import L from"../../rest/support/AttachmentQuery.js";import G from"../../rest/support/Query.js";import{createPopupTemplate as _}from"../../support/popupUtils.js";import{defaultPolygonSymbol2D as D,defaultPolylineSymbol2D as N,defaultPointSymbol2D as $}from"../../symbols/support/defaults.js";import U from"../../tables/AttributeTableTemplate.js";import{writer as V}from"../../core/accessorSupport/decorators/writer.js";import{reader as M}from"../../core/accessorSupport/decorators/reader.js";const Q=S();let k=0;function B(e,t){let r=e.json.write;return"object"!=typeof r&&(r=e.json.write={}),r.ignoreOrigin=!0,t?.spatialOnly&&(r.layerContainerTypes=m),e}function H(e){const t={write:{ignoreOrigin:!0}};return e?.name&&(t.name=e.name),"object"==typeof t.write&&(e?.spatialOnly&&(t.write.layerContainerTypes=m),e?.target&&(t.write.target=e.target)),t}function J(e){return new P({symbol:W(e)})}function W(e){switch(e){case"point":case"multipoint":return $.clone();case"polyline":return N.clone();case"polygon":case"multipatch":return D.clone();default:return null}}function z(e,t){return!!t&&("unique-value"===e?.type&&null!=e.field&&e.field.toLowerCase()===t.toLowerCase()&&!e.field2&&!e.field3&&!e.valueExpression)}function K(e,t){return null==e?null:t.subtypes?.find(t=>t.code===e)}function X(e,t){let r=null;switch(t.geometryType){case"esriGeometryPoint":case"esriGeometryMultipoint":r="point";break;case"esriGeometryPolyline":r="line";break;case"esriGeometryPolygon":case"esriGeometryMultiPatch":r="polygon";break;default:t.type,r=null}const i={},n=K(e,t);if(null!=n){const{defaultValues:e}=n;for(const t in e)i[t]=e[t]}return i[t.subtypeField]=e,new O({name:"New Feature",drawingTool:r,prototype:{attributes:i}})}let Y=class extends(p(r(n(l)))){constructor(e){super(e),this.attributeTableTemplate=null,this.charts=null,this.editingEnabled=!0,this.fieldOverrides=null,this.fieldsIndex=null,this.formTemplate=null,this.graphicOrigin=new b(this),this.id=`${Date.now().toString(16)}-subtype-sublayer-${k++}`,this.type="subtype-sublayer",this.labelsVisible=!0,this.labelingInfo=null,this.layerType="ArcGISFeatureLayer",this.legendEnabled=!0,this.listMode="show",this.minScale=0,this.maxScale=0,this.opacity=1,this.parent=null,this.popupEnabled=!0,this.popupTemplate=null,this.subtypeCode=null,this.templates=null,this.title=null,this.visible=!0}load(e){return C(this.renderer,this.fieldsIndex),Promise.resolve(this)}get _titleCreator(){const e=this._get("_titleCreator");return a(e),new R({fieldsIndex:this.fieldsIndex,objectIdField:this.objectIdField,displayField:this.parent?.displayField??"",fields:this.fields,effectivePopupTemplate:this.popupTemplate??this.defaultPopupTemplate})}get capabilities(){return this.parent?.capabilities}get effectiveCapabilities(){return this.parent?.effectiveCapabilities}get effectiveEditingEnabled(){const{parent:e}=this;return e?e.effectiveEditingEnabled&&this.editingEnabled:this.editingEnabled}get elevationInfo(){return this.parent?.elevationInfo}get featureTitleFields(){return[...this._titleCreator.requiredFields]}writeFieldOverrides(e,t,r){const{fields:i,parent:n}=this;let l;if(i){l=[];let e=0;i.forEach(({name:t,alias:r,editable:i,visible:o})=>{if(!o)return;const s=n?.fields?.find(e=>e.name===t);if(!s)return;const a={name:t};let p=!1;r!==s.alias&&(a.alias=r,p=!0),i!==s.editable&&(a.editable=i,p=!0),l.push(a),p&&e++}),0===e&&l.length===i.length&&(l=null)}else l=o(e);l?.length&&d(r,l,t)}get fields(){const{parent:e,fieldOverrides:t,subtypeCode:r}=this,i=e?.fields;if(!e||!i?.length)return null;const{subtypes:n,subtypeField:o}=e,l=n?.find(e=>e.code===r),s=l?.defaultValues,a=l?.domains,p=[];for(const d of i){const e=d.clone(),{name:i}=e,n=t?.find(e=>e.name===i);if(e.visible=!t?.length||!!n,n){const{alias:t,editable:r}=n;t&&(e.alias=t),!1===r&&(e.editable=!1)}const l=s?.[i]??null;e.defaultValue=i===o?r:l;const u=a?.[i]??null;e.domain=i===o?null:u?"inherited"===u.type?e.domain:u.clone():null,p.push(e)}return p}get floorInfo(){return this.parent?.floorInfo}get isTable(){return!!this.parent?.isTable}get geometryType(){return this.parent?.geometryType}get globalIdField(){return this.parent?this.parent.globalIdField:(s.getLogger(this).error(te("globalIdField")),null)}get effectiveScaleRange(){const{minScale:e,maxScale:t}=this;return{minScale:e,maxScale:t}}get objectIdField(){return this.parent||s.getLogger(this).error(te("objectIdField")),this.parent?.objectIdField}get defaultPopupTemplate(){return this.createPopupTemplate()}get relationships(){return this.parent?.relationships}set renderer(e){C(e,this.fieldsIndex),this._override("renderer",e)}get renderer(){if(this._isOverridden("renderer"))return this._get("renderer");const{parent:e}=this;return e&&!e.isTable&&"mesh"!==e.geometryType?J(e.geometryType):null}readRendererFromService(e,t,r){if("Table"===t.type)return null;const i=t.drawingInfo?.renderer,n=A(i,t,r);let o;const{subtypeCode:l}=this;if(null!=l&&z(n,t.subtypeField)){const e=n.uniqueValueInfos?.find(({value:e})=>(e="number"==typeof e?String(e):e)===String(l));e&&(o=new P({symbol:e.symbol}))}else"simple"!==n?.type||n.visualVariables?.length||(o=n);return o}readRenderer(e,t,r){const i=t?.layerDefinition?.drawingInfo?.renderer;if(i)return A(i,t,r)||void 0}get spatialReference(){return this.parent?.spatialReference??h.WGS84}get subtypeField(){return this.parent?.subtypeField}readTemplatesFromService(e,t){return[X(this.subtypeCode,t)]}readTitleFromService(e,t){const r=K(this.subtypeCode,t);return null!=r?r.name:null}get url(){return this.parent?.url}get userHasUpdateItemPrivileges(){return!!this.parent?.userHasUpdateItemPrivileges}async addAttachment(e,t){const{parent:r}=this;if(!r)throw te("addAttachment");if(e.getAttribute(r.subtypeField)!==this.subtypeCode)throw new i("subtype-sublayer:addAttachment","The feature provided does not belong to this SubtypeSublayer");return r.addAttachment(e,t)}async updateAttachment(e,t,r){const{parent:n}=this;if(!n)throw te("updateAttachment");if(e.getAttribute(n.subtypeField)!==this.subtypeCode)throw new i("subtype-sublayer:updateAttachment","The feature provided does not belong to this SubtypeSublayer");return n.updateAttachment(e,t,r)}async deleteAttachments(e,t){const{parent:r}=this;if(!r)throw te("deleteAttachments");if(e.getAttribute(r.subtypeField)!==this.subtypeCode)throw new i("subtype-sublayer:deleteAttachments","The feature provided does not belong to this SubtypeSublayer");return r.deleteAttachments(e,t)}async applyEdits(e,t){if(!this.parent)throw te("applyEdits");return this.parent.applyEdits(e,t)}createPopupTemplate(e){let t=this;const{parent:r,fields:i,title:n}=this;if(r){const{displayField:e,editFieldsInfo:o,objectIdField:l}=r;t={displayField:e,editFieldsInfo:o,fields:i,objectIdField:l,title:n}}return _(t,e)}createQuery(){if(!this.parent)throw te("createQuery");const e=T(this.parent),t=`${this.parent.subtypeField}=${this.subtypeCode}`;return e.where=u(t,this.parent.definitionExpression),e}getFeatureTitle(e,t){return this._titleCreator.getTitle(this,e,t)}getFeatureTitles(e,t){return this._titleCreator.getTitles(this,e,t)}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){if(!t?.excludeImpliedDomains&&this.parent){const t=I(this.parent,e);if(t)return t}return this._getLayerDomain(e)}async queryAttachments(e,t){const r=await this.load();if(!r.parent)throw te("queryAttachments");const i=e instanceof L?e.clone():new L(e);return i.where=ee(i.where,r.parent.subtypeField,r.subtypeCode),r.parent.queryAttachments(i,t)}async queryFeatureCount(e,t){const r=await this.load();if(!r.parent)throw te("queryFeatureCount");return r.parent.queryFeatureCount(Z(r.parent,r,e),t)}async queryFeatures(e,t){const r=await this.load();if(!r.parent)throw te("queryFeatures");return r.parent.queryFeatures(Z(r.parent,r,e),t)}async queryObjectIds(e,t){const r=await this.load();if(!r.parent)throw te("queryObjectIds");return r.parent.queryObjectIds(Z(r.parent,r,e),t)}async queryRelatedFeatures(e,t){const r=await this.load();if(!r.parent)throw te("queryRelatedFeatures");return r.parent.queryRelatedFeatures(e,t)}async queryRelatedFeaturesCount(e,t){const r=await this.load();if(!r.parent)throw te("queryRelatedFeaturesCount");return r.parent.queryRelatedFeaturesCount(e,t)}_getLayerDomain(e){const t=this.fieldsIndex.get(e);return t?t.domain:null}};e([y({clonable:!1,readOnly:!0})],Y.prototype,"_titleCreator",null),e([y({type:U,json:H({name:"attributeTableInfo"})})],Y.prototype,"attributeTableTemplate",void 0),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"capabilities",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"effectiveCapabilities",null),e([y({json:H()})],Y.prototype,"charts",void 0),e([y({type:Boolean,nonNullable:!0,json:H({name:"enableEditing"})})],Y.prototype,"editingEnabled",void 0),e([y({type:Boolean,readOnly:!0})],Y.prototype,"effectiveEditingEnabled",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"elevationInfo",null),e([y({clonable:!1,readOnly:!0})],Y.prototype,"featureTitleFields",null),e([y({json:{name:"layerDefinition.fieldOverrides",origins:{service:{read:!1}},write:{ignoreOrigin:!0,allowNull:!0}}})],Y.prototype,"fieldOverrides",void 0),e([V("fieldOverrides")],Y.prototype,"writeFieldOverrides",null),e([y({...Q.fields,readOnly:!0,json:{read:!1}})],Y.prototype,"fields",null),e([y(Q.fieldsIndex)],Y.prototype,"fieldsIndex",void 0),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"floorInfo",null),e([y({type:f,json:H({name:"formInfo"})})],Y.prototype,"formTemplate",void 0),e([y({readOnly:!0,clonable:!1})],Y.prototype,"graphicOrigin",void 0),e([y({type:String,clonable:!1,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0}}})],Y.prototype,"id",void 0),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"isTable",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"geometryType",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"globalIdField",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"type",void 0),e([y(B(o(g)))],Y.prototype,"labelsVisible",void 0),e([y({type:[E],json:{name:"layerDefinition.drawingInfo.labelingInfo",origins:{service:{read:!1}},read:{reader:q},write:{ignoreOrigin:!0,layerContainerTypes:m}}})],Y.prototype,"labelingInfo",void 0),e([y({type:["ArcGISFeatureLayer"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,layerContainerTypes:m}}})],Y.prototype,"layerType",void 0),e([y(B(o(j)))],Y.prototype,"legendEnabled",void 0),e([y({type:["show","hide"]})],Y.prototype,"listMode",void 0),e([y((()=>{const e=o(v);return e.json.origins.service.read=!1,B(e,{spatialOnly:!0})})())],Y.prototype,"minScale",void 0),e([y((()=>{const e=o(w);return e.json.origins.service.read=!1,B(e,{spatialOnly:!0})})())],Y.prototype,"maxScale",void 0),e([y({readOnly:!0})],Y.prototype,"effectiveScaleRange",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"objectIdField",null),e([y({type:Number,range:{min:0,max:1},nonNullable:!0,json:H({spatialOnly:!0})})],Y.prototype,"opacity",void 0),e([y({clonable:!1})],Y.prototype,"parent",void 0),e([y(B(o(F)))],Y.prototype,"popupEnabled",void 0),e([y({type:t,json:H({name:"popupInfo"})})],Y.prototype,"popupTemplate",void 0),e([y({readOnly:!0})],Y.prototype,"defaultPopupTemplate",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"relationships",null),e([y({types:x,json:H({target:"layerDefinition.drawingInfo.renderer",spatialOnly:!0})})],Y.prototype,"renderer",null),e([M("service","renderer",["drawingInfo.renderer","subtypeField","type"])],Y.prototype,"readRendererFromService",null),e([M("renderer",["layerDefinition.drawingInfo.renderer"])],Y.prototype,"readRenderer",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"spatialReference",null),e([y({type:Number,json:{origins:{service:{read:!1}},write:{ignoreOrigin:!0}}})],Y.prototype,"subtypeCode",void 0),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"subtypeField",null),e([y({type:[O],json:H({name:"layerDefinition.templates"})})],Y.prototype,"templates",void 0),e([M("service","templates",["geometryType","subtypeField","subtypes","type"])],Y.prototype,"readTemplatesFromService",null),e([y({type:String,json:H()})],Y.prototype,"title",void 0),e([M("service","title",["subtypes"])],Y.prototype,"readTitleFromService",null),e([y({readOnly:!0,json:{read:!1}})],Y.prototype,"url",null),e([y({readOnly:!0})],Y.prototype,"userHasUpdateItemPrivileges",null),e([y({type:Boolean,nonNullable:!0,json:H({name:"visibility",spatialOnly:!0})})],Y.prototype,"visible",void 0),Y=e([c("esri.layers.support.SubtypeSublayer")],Y);const Z=(e,t,r)=>{if(!r)return t.createQuery();const i=G.from(r);return i.where=ee(i.where,e.subtypeField,t.subtypeCode),i},ee=(e,t,r)=>{const i=new RegExp(`${t}\\s*=\\s*\\d+`),n=`${t}=${r}`,o=e??"";return i.test(o)?o.replace(i,n):u(n,o)},te=e=>new i("subtype-sublayer:parent-missing",`This sublayer must have a parent SubtypeGroupLayer in order to use ${e}`);export{Y as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type MediaElementBase from "./MediaElementBase.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { VideoSource } from "../media/types.js";
|
|
3
3
|
import type { MediaElementBaseProperties } from "./MediaElementBase.js";
|
|
4
4
|
|
|
5
5
|
export interface VideoElementProperties extends MediaElementBaseProperties, Partial<Pick<VideoElement, "video">> {}
|
|
@@ -70,5 +70,5 @@ export default class VideoElement extends MediaElementBase {
|
|
|
70
70
|
* copyright: "NASA's Goddard Space Flight Center"
|
|
71
71
|
* });
|
|
72
72
|
*/
|
|
73
|
-
accessor video:
|
|
73
|
+
accessor video: VideoSource;
|
|
74
74
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import type Accessor from "../../core/Accessor.js";
|
|
1
2
|
import type Collection from "../../core/Collection.js";
|
|
2
3
|
import type Extent from "../../geometry/Extent.js";
|
|
3
4
|
import type WMSLayer from "../WMSLayer.js";
|
|
4
5
|
import type { ReadonlyArrayOrCollection } from "../../core/Collection.js";
|
|
5
6
|
import type { IdentifiableMixin, IdentifiableMixinProperties } from "../../core/Identifiable.js";
|
|
6
|
-
import type {
|
|
7
|
-
import type { WMSDimension } from "./wmsUtils.js";
|
|
7
|
+
import type { WMSDimension } from "../wms/types.js";
|
|
8
8
|
import type { ExtentProperties } from "../../geometry/Extent.js";
|
|
9
9
|
|
|
10
|
-
export interface WMSSublayerProperties extends
|
|
10
|
+
export interface WMSSublayerProperties extends IdentifiableMixinProperties, Partial<Pick<WMSSublayer, "description" | "id" | "layer" | "legendEnabled" | "legendUrl" | "maxScale" | "minScale" | "name" | "parent" | "popupEnabled" | "queryable" | "spatialReferences" | "title" | "visible">> {
|
|
11
11
|
/** The full extent of the layer. */
|
|
12
12
|
fullExtent?: ExtentProperties;
|
|
13
13
|
/** A collection of [WMSSublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-WMSSublayer.html)s. */
|
|
@@ -28,7 +28,7 @@ export default class WMSSublayer extends WMSSublayerSuperclass {
|
|
|
28
28
|
accessor description: string;
|
|
29
29
|
/**
|
|
30
30
|
* An array of time, elevation and other dimensions for the sublayer.
|
|
31
|
-
* Information from a
|
|
31
|
+
* Information from a {@link layers/support/wmsUtils!TimeDimension} can be used to update [View#timeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#timeExtent),
|
|
32
32
|
* [WMSLayer#timeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html#timeExtent), or to configure a [TimeSlider](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html) widget.
|
|
33
33
|
*
|
|
34
34
|
* A [WMSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html) or WMSSublayer can only have one time dimension. The following example shows how to find the
|
|
@@ -45,7 +45,7 @@ export default class WMSSublayer extends WMSSublayerSuperclass {
|
|
|
45
45
|
* ```
|
|
46
46
|
*
|
|
47
47
|
* Data can exist at specific times or time ranges. We can access this information from the `extent` property of the
|
|
48
|
-
*
|
|
48
|
+
* {@link layers/support/wmsUtils!TimeDimension} as either an array of discrete dates or {@link layers/support/wmsUtils!DimensionInterval}s.
|
|
49
49
|
* For example, continuing from the previous example, a [TimeSlider](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html) is configured using the extent from a TimeDimension.
|
|
50
50
|
*
|
|
51
51
|
* ```js
|
|
@@ -159,4 +159,4 @@ export default class WMSSublayer extends WMSSublayerSuperclass {
|
|
|
159
159
|
*/
|
|
160
160
|
clone(): WMSSublayer;
|
|
161
161
|
}
|
|
162
|
-
declare const WMSSublayerSuperclass: typeof
|
|
162
|
+
declare const WMSSublayerSuperclass: typeof Accessor & typeof IdentifiableMixin
|
|
@@ -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 e}from"tslib";import t from"../../core/Collection.js";import{IdentifiableMixin as
|
|
5
|
+
import{__decorate as e}from"tslib";import t from"../../core/Accessor.js";import r from"../../core/Collection.js";import{IdentifiableMixin as s}from"../../core/Identifiable.js";import{MultiOriginJSONMixin as i}from"../../core/MultiOriginJSONSupport.js";import{on as l,watch as o,sync as n}from"../../core/reactiveUtils.js";import{property as a,cast as p,subclass as y}from"../../core/accessorSupport/decorators.js";import{ensureType as d}from"../../core/accessorSupport/ensureType.js";import u from"../../geometry/Extent.js";import{reader as h}from"../../core/accessorSupport/decorators/reader.js";var c;let m=0,f=c=class extends(s(i(t))){constructor(e){super(e),this.description=null,this.dimensions=null,this.fullExtent=null,this.fullExtents=null,this.legendUrl=null,this.legendEnabled=!0,this.layer=null,this.maxScale=0,this.minScale=0,this.name=null,this.parent=null,this.popupEnabled=!1,this.queryable=!1,this.spatialReferences=null,this.title=null,this.addHandles([l(()=>this.sublayers,"after-add",({item:e})=>{e.parent=this,e.layer=this.layer},n),l(()=>this.sublayers,"after-remove",({item:e})=>{e.layer=e.parent=null},n),o(()=>this.sublayers,(e,t)=>{if(t)for(const r of t)r.layer=r.parent=null;if(e)for(const r of e)r.parent=this,r.layer=this.layer},n),o(()=>this.layer,e=>{if(this.sublayers)for(const t of this.sublayers)t.layer=e},n)])}get id(){const e=this._get("id");return e??m++}set id(e){this._set("id",e)}readLegendUrl(e,t){return t.legendUrl??t.legendURL??null}get effectiveScaleRange(){const{minScale:e,maxScale:t}=this;return{minScale:e,maxScale:t}}get sublayers(){return this._get("sublayers")}set sublayers(e){this._set("sublayers",e)}castSublayers(e){return d(r.ofType(c),e)}set visible(e){this._setAndNotifyLayer("visible",e)}clone(){const e=new c;return this.hasOwnProperty("description")&&(e.description=this.description),this.hasOwnProperty("fullExtent")&&(e.fullExtent=this.fullExtent.clone()),this.hasOwnProperty("fullExtents")&&(e.fullExtents=this.fullExtents?.map(e=>e.clone())??null),this.hasOwnProperty("legendUrl")&&(e.legendUrl=this.legendUrl),this.hasOwnProperty("legendEnabled")&&(e.legendEnabled=this.legendEnabled),this.hasOwnProperty("layer")&&(e.layer=this.layer),this.hasOwnProperty("name")&&(e.name=this.name),this.hasOwnProperty("parent")&&(e.parent=this.parent),this.hasOwnProperty("queryable")&&(e.queryable=this.queryable),this.hasOwnProperty("sublayers")&&(e.sublayers=this.sublayers?.map(e=>e.clone())),this.hasOwnProperty("spatialReferences")&&(e.spatialReferences=this.spatialReferences?.map(e=>e)),this.hasOwnProperty("visible")&&(e.visible=this.visible),this.hasOwnProperty("title")&&(e.title=this.title),e}_setAndNotifyLayer(e,t){const r=this.layer;this._get(e)!==t&&(this._set(e,t),r&&r.emit("wms-sublayer-update",{propertyName:e,id:this.id}))}};e([a()],f.prototype,"description",void 0),e([a({readOnly:!0})],f.prototype,"dimensions",void 0),e([a({type:u,json:{name:"extent"}})],f.prototype,"fullExtent",void 0),e([a()],f.prototype,"fullExtents",void 0),e([a({type:Number,json:{write:{enabled:!1,overridePolicy:()=>({ignoreOrigin:!0,enabled:!0})}}})],f.prototype,"id",null),e([a({type:String,json:{name:"legendUrl",write:{ignoreOrigin:!0}}})],f.prototype,"legendUrl",void 0),e([h("legendUrl",["legendUrl","legendURL"])],f.prototype,"readLegendUrl",null),e([a({type:Boolean,json:{name:"showLegend",origins:{"web-map":{read:!1,write:!1},"web-scene":{read:!1,write:!1}}}})],f.prototype,"legendEnabled",void 0),e([a()],f.prototype,"layer",void 0),e([a()],f.prototype,"maxScale",void 0),e([a()],f.prototype,"minScale",void 0),e([a({readOnly:!0})],f.prototype,"effectiveScaleRange",null),e([a({type:String,json:{write:{ignoreOrigin:!0}}})],f.prototype,"name",void 0),e([a()],f.prototype,"parent",void 0),e([a({type:Boolean,json:{read:{source:"showPopup"},write:{ignoreOrigin:!0,target:"showPopup"}}})],f.prototype,"popupEnabled",void 0),e([a({type:Boolean,json:{write:{ignoreOrigin:!0}}})],f.prototype,"queryable",void 0),e([a()],f.prototype,"sublayers",null),e([p("sublayers")],f.prototype,"castSublayers",null),e([a({type:[Number],json:{read:{source:"spatialReferences"}}})],f.prototype,"spatialReferences",void 0),e([a({type:String,json:{write:{ignoreOrigin:!0}}})],f.prototype,"title",void 0),e([a({type:Boolean,value:!0,json:{read:{source:"defaultVisibility"}}})],f.prototype,"visible",null),f=c=e([y("esri.layers.support.WMSSublayer")],f);export{f as default};
|
|
@@ -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
|
|
5
|
+
import e from"./CodedValueDomain.js";import r from"./Domain.js";import o from"./InheritedDomain.js";import n from"./RangeDomain.js";const t={key:"type",base:r,typeMap:{range:n,"coded-value":e,inherited:o}};function i(r){if(!r?.type)return null;switch(r.type){case"range":return n.fromJSON(r);case"codedValue":return e.fromJSON(r);case"inherited":return o.fromJSON(r)}return null}export{i as fromJSON,t as types};
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* @since 4.28
|
|
7
7
|
*/
|
|
8
8
|
import type RasterFunction from "./RasterFunction.js";
|
|
9
|
+
import type { RasterPixelType } from "../raster/types.js";
|
|
9
10
|
import type { Base2RasterFunctionParameters, BaseNRasterFunctionParameters, BaseRasterFunctionParameters, RasterArgument } from "../raster/functions/types.js";
|
|
10
11
|
import type { BaseStretchParameters, ContrastBrightnessParameters, ConvolutionFunctionCustomParameters, ConvolutionFunctionParameters, MinMaxStretchParameters, PercentClipStretchParameters, StddevStretchParameters } from "../raster/functions/creators/createAppearenceFunctions.js";
|
|
11
12
|
import type { BAIBandArguments, CIgBandArguments, CIreBandArguments, ClayMineralsBandArguments, CustomBandParameters, EVIBandArguments, FerrousMineralsBandArguments, GDNVIBandArguments, GEMIBandArguments, IronOxideBandArguments, LandsatBandArguments, MNDWIBandArguments, MSAVIBandArguments, MTVI2BandArguments, NBRBandArguments, NDBIBandArguments, NDMIBandArguments, NDSIBandArguments, NDVIBandArguments, NDVIreBandArguments, NDWIBandArguments, PVIBandArguments, RTVICoreBandArguments, SAVIBandArguments, SRBandArguments, SRreBandArguments, SultanArguments, TSAVIBandArguments, VARIBandArguments, WNDWIBandArguments } from "../raster/functions/creators/createBandIndexFunctions.js";
|
|
@@ -16,7 +17,6 @@ import type { SetNullParameters, ConditionalParameters, CalculatorParameters, St
|
|
|
16
17
|
import type { WeightedOverlayParameters, WeightedSumParameters } from "../raster/functions/creators/createMultiRasterAnalysisFunctions.js";
|
|
17
18
|
import type { ArgStatisticsDurationParameters, ArgStatisticsParameters, StatisticsParameters } from "../raster/functions/creators/createStatisticsFunctions.js";
|
|
18
19
|
import type { SlopeParameters, HillshadeParameters, ShadedReliefWithColormapParameters, ShadedReliefWithColorRampNameParameters, ShadedReliefWithColorRampParameters, CurvatureParameters } from "../raster/functions/creators/createSurfaceFunctions.js";
|
|
19
|
-
import type { RasterPixelType } from "./RasterTypes.js";
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Creates a Contrast And Brightness function that enhances the appearance of raster data by modifying the brightness and contrast within the image.
|
|
@@ -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{rad2deg as e}from"../../core/mathUtils.js";import{e as t,i as r,p as n,d as
|
|
5
|
+
import{rad2deg as e}from"../../core/mathUtils.js";import{e as t,i as r,p as n,d as i,x as o,w as s,a as m}from"../../chunks/vec32.js";import{fromValues as a,create as h}from"../../core/libs/gl-matrix-2/factories/vec3f64.js";import{WGS84ECEFSpatialReferenceLike as l}from"../../geometry/ellipsoidUtils.js";import c from"../../geometry/Extent.js";import f from"../../geometry/HeightModelInfo.js";import u from"../../geometry/SpatialReference.js";import{projectBuffer as x}from"../../geometry/projection/projectBuffer.js";function g(e,t){if(!Array.isArray(e)||e.length<t)return!1;for(const r of e)if("number"!=typeof r)return!1;return!0}const d=7645211,p={xmin:-180,ymin:-90,zmin:-450,xmax:180,ymax:90,zmax:8850},S=new Map([[5773,new f({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"EGM96_Geoid"})],[3855,new f({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"EGM2008_Geoid"})],[115700,new f({heightModel:"ellipsoidal",heightUnit:"meters",vertCRS:"WGS_1984"})],[115701,new f({heightModel:"ellipsoidal",heightUnit:"meters",vertCRS:"ETRS_1989"})],[6360,new f({heightModel:"gravity-related-height",heightUnit:"us-feet",vertCRS:"NAVD88_height_(ftUS)"})],[7837,new f({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"DHHN2016_(height)"})]]);function R(e){let t=null;return e?(S.forEach((r,n)=>{t||r.vertCRS!==e.vertCRS||r.heightUnit!==e.heightUnit||(t=n)}),t):t}function _(e){if(!e)return null;const t=e.vcsWkid||e.latestVcsWkid;return t?S.get(t):null}function E(e){return!(!(e.extensions?.ESRI_crs?.wkid||e.extensions?.ESRI_crs?.latestWkid||e.extensions?.ESRI_crs?.wkt)||!e.root?.extensions?.ESRI_crs?.boundingVolume?.box&&!e.root?.extensions?.ESRI_crs?.boundingVolume?.sphere)}function b(f,S=!1){let R=new u({wkid:4326,vcsWkid:115700}),_=f.root?.boundingVolume,E=!1,b=f?.root?.transform;if(S&&(f.extensions?.ESRI_crs?.wkid||f.extensions?.ESRI_crs?.latestWkid||f.extensions?.ESRI_crs?.wkt)&&(f.root?.extensions?.ESRI_crs?.boundingVolume?.box||f.root?.extensions?.ESRI_crs?.boundingVolume?.sphere))R=new u(f.extensions?.ESRI_crs),_=f.root?.extensions?.ESRI_crs?.boundingVolume,b=f.root?.transform,E=!0;else if(!_)return new c(-180,-90,180,90,R);if(_.box){const e=_?.box;if(e[3]>d&&e[7]>d&&e[11]>d)return new c({...p,spatialReference:R})}const w=h();if(!E&&_.region&&g(_.region,6)){const t=_.region,r=e(t[0]),n=e(t[1]),i=t[4],o=e(t[2]),s=e(t[3]),m=t[5];return new c({xmin:r,ymin:n,zmin:i,xmax:o,ymax:s,zmax:m,spatialReference:R})}if(_.sphere&&g(_.sphere,4)){const e=_.sphere,m=a(e[0],e[1],e[2]),f=e[3]/Math.sqrt(3),d=h();t(d,m,a(f,f,f));const p=h();if(r(p,m,a(f,f,f)),b&&g(b,16)){const e=b;n(w,d,e),i(d,w),n(w,p,e),i(p,w)}E||(x(d,l,0,d,u.WGS84,0),x(p,l,0,p,u.WGS84,0));const S=h(),y=h();return o(S,d,p),s(y,d,p),new c({xmin:S[0],ymin:S[1],zmin:S[2],xmax:y[0],ymax:y[1],zmax:y[2],spatialReference:R})}if(_.box&&g(_.box,12)){const e=_.box,t=a(e[0],e[1],e[2]),i=a(e[3],e[4],e[5]),f=a(e[6],e[7],e[8]),d=a(e[9],e[10],e[11]),p=[];for(let r=0;r<8;++r)p.push(h());if(r(p[0],t,i),r(p[0],p[0],f),r(p[0],p[0],d),m(p[1],t,i),r(p[1],p[1],f),r(p[1],p[1],d),r(p[2],t,i),m(p[2],p[2],f),r(p[2],p[2],d),m(p[3],t,i),m(p[3],p[3],f),r(p[3],p[3],d),r(p[4],t,i),r(p[4],p[4],f),m(p[4],p[4],d),m(p[5],t,i),r(p[5],p[5],f),m(p[5],p[5],d),r(p[6],t,i),m(p[6],p[6],f),m(p[6],p[6],d),m(p[7],t,i),m(p[7],p[7],f),m(p[7],p[7],d),b&&g(b,16)){const e=b;for(let t=0;t<8;++t)n(p[t],p[t],e)}const S=a(-Number.MAX_VALUE,-Number.MAX_VALUE,-Number.MAX_VALUE),w=a(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE);for(let r=0;r<8;++r)E||x(p[r],l,0,p[r],u.WGS84,0),o(w,w,p[r]),s(S,S,p[r]);return new c({xmin:w[0],ymin:w[1],zmin:w[2],xmax:S[0],ymax:S[1],zmax:S[2],spatialReference:R})}return new c(-180,-90,180,90,R)}export{_ as getHeightModelInfoFromVCS,R as getVCSFromHeightModelInfo,E as hasEsriCrs,b as initFullExtent,g as verifyArray};
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import type Extent from "../../geometry/Extent.js";
|
|
2
2
|
import type Point from "../../geometry/Point.js";
|
|
3
|
+
import type CodedValueDomain from "./CodedValueDomain.js";
|
|
4
|
+
import type DateTimeFieldFormat from "./DateTimeFieldFormat.js";
|
|
3
5
|
import type DimensionalDefinition from "./DimensionalDefinition.js";
|
|
6
|
+
import type InheritedDomain from "./InheritedDomain.js";
|
|
7
|
+
import type NumberFieldFormat from "./NumberFieldFormat.js";
|
|
4
8
|
import type PixelBlock from "./PixelBlock.js";
|
|
9
|
+
import type RangeDomain from "./RangeDomain.js";
|
|
5
10
|
import type { QueryRelatedCapabilities } from "../types.js";
|
|
6
11
|
|
|
12
|
+
export type FieldType = "small-integer" | "integer" | "single" | "double" | "long" | "string" | "date" | "oid" | "geometry" | "blob" | "raster" | "guid" | "global-id" | "xml" | "big-integer" | "date-only" | "time-only" | "timestamp-offset";
|
|
13
|
+
|
|
14
|
+
export type FieldFormatUnion = DateTimeFieldFormat | NumberFieldFormat;
|
|
15
|
+
|
|
16
|
+
export type DomainUnion = RangeDomain | CodedValueDomain | InheritedDomain;
|
|
17
|
+
|
|
7
18
|
export type PlacementType = "above-center" | "above-left" | "above-right" | "center-center" | "center-left" | "center-right" | "below-center" | "below-left" | "below-right" | "always-horizontal" | "above-along" | "below-along" | "center-along";
|
|
8
19
|
|
|
9
20
|
export type UnsupportedPlacementType = "above-after" | "above-before" | "above-start" | "above-end" | "below-after" | "below-before" | "below-start" | "below-end" | "center-after" | "center-before" | "center-start" | "center-end" | "always-horizontal";
|
|
@@ -408,4 +419,25 @@ export interface UpdateAttachmentCapabilities extends AttachmentCapabilities {}
|
|
|
408
419
|
* Specific permissions for relationship operations. It takes into account the [Editor's layerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#LayerInfo) settings.
|
|
409
420
|
* If enabled, indicates that the layer contains at least one relationship, in addition to having child [Workflow](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-Workflow.html) permissions.
|
|
410
421
|
*/
|
|
411
|
-
export interface RelationshipCapabilities extends BaseCapabilities {}
|
|
422
|
+
export interface RelationshipCapabilities extends BaseCapabilities {}
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* An array of [Exchangeable image file format](https://en.wikipedia.org/wiki/Exif) information
|
|
426
|
+
* for the attachment. You must set the attachment query's [AttachmentQuery#returnMetadata](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttachmentQuery.html#returnMetadata) to `true` to get the `exif`
|
|
427
|
+
* info associated with the attachment.
|
|
428
|
+
*/
|
|
429
|
+
export interface ExifInfo {
|
|
430
|
+
/** The file name. */
|
|
431
|
+
name: string;
|
|
432
|
+
/** Array of tag objects containing the following properties: */
|
|
433
|
+
tags?: ExifTag[];
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export interface ExifTag {
|
|
437
|
+
/** The tag description. */
|
|
438
|
+
description: string;
|
|
439
|
+
/** The tag name. */
|
|
440
|
+
name: string;
|
|
441
|
+
/** The value of the tag. */
|
|
442
|
+
value: any;
|
|
443
|
+
}
|
package/layers/types.d.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import type Collection from "../core/Collection.js";
|
|
2
|
+
import type BaseElevationLayer from "./BaseElevationLayer.js";
|
|
3
|
+
import type ElevationLayer from "./ElevationLayer.js";
|
|
4
|
+
import type FeatureLayer from "./FeatureLayer.js";
|
|
5
|
+
import type GeoJSONLayer from "./GeoJSONLayer.js";
|
|
6
|
+
import type OrientedImageryLayer from "./OrientedImageryLayer.js";
|
|
7
|
+
import type SceneLayer from "./SceneLayer.js";
|
|
8
|
+
import type SubtypeGroupLayer from "./SubtypeGroupLayer.js";
|
|
9
|
+
import type KnowledgeGraphSublayer from "./knowledgeGraph/KnowledgeGraphSublayer.js";
|
|
2
10
|
import type DimensionalDefinition from "./support/DimensionalDefinition.js";
|
|
11
|
+
import type SubtypeSublayer from "./support/SubtypeSublayer.js";
|
|
3
12
|
import type DirectionLine from "../rest/support/DirectionLine.js";
|
|
4
13
|
import type DirectionPoint from "../rest/support/DirectionPoint.js";
|
|
5
14
|
import type PointBarrier from "../rest/support/PointBarrier.js";
|
|
@@ -10,12 +19,16 @@ import type Stop from "../rest/support/Stop.js";
|
|
|
10
19
|
import type TimeExtent from "../time/TimeExtent.js";
|
|
11
20
|
import type { AbortOptions } from "../core/promiseUtils.js";
|
|
12
21
|
import type { CurveType } from "../geometry/types.js";
|
|
13
|
-
import type { RasterInterpolation } from "./
|
|
22
|
+
import type { RasterInterpolation } from "./raster/types.js";
|
|
14
23
|
|
|
15
24
|
export type LayerType = "base-dynamic" | "base-elevation" | "base-tile" | "bing-maps" | "building-scene" | "catalog" | "catalog-footprint" | "catalog-dynamic-group" | "csv" | "dimension" | "elevation" | "feature" | "geo-rss" | "geojson" | "parquet" | "gaussian-splat" | "graphics" | "group" | "imagery" | "imagery-tile" | "integrated-mesh" | "integrated-mesh-3dtiles" | "kml" | "knowledge-graph" | "knowledge-graph-sublayer" | "line-of-sight" | "link-chart" | "map-image" | "map-notes" | "media" | "video" | "ogc-feature" | "open-street-map" | "oriented-imagery" | "point-cloud" | "route" | "scene" | "stream" | "subtype-group" | "tile" | "unknown" | "unsupported" | "vector-tile" | "viewshed" | "voxel" | "wcs" | "web-tile" | "wfs" | "wms" | "wmts";
|
|
16
25
|
|
|
17
26
|
export type LayerListMode = "show" | "hide" | "hide-children";
|
|
18
27
|
|
|
28
|
+
export type EditableLayerUnion = FeatureLayer | GeoJSONLayer | OrientedImageryLayer | SceneLayer | SubtypeGroupLayer | KnowledgeGraphSublayer;
|
|
29
|
+
|
|
30
|
+
export type LayerWithFeatureTemplatesUnion = Exclude<EditableLayerUnion, SubtypeGroupLayer> | SubtypeSublayer | KnowledgeGraphSublayer;
|
|
31
|
+
|
|
19
32
|
/**
|
|
20
33
|
* Specifies information about editing.
|
|
21
34
|
*
|
|
@@ -490,4 +503,6 @@ export interface RouteLayerSolveResult {
|
|
|
490
503
|
stops: Collection<Stop>;
|
|
491
504
|
}
|
|
492
505
|
|
|
493
|
-
export type BlendMode = "average" | "color-burn" | "color-dodge" | "color" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "invert" | "lighten" | "lighter" | "luminosity" | "minus" | "multiply" | "normal" | "overlay" | "plus" | "reflect" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "vivid-light" | "xor";
|
|
506
|
+
export type BlendMode = "average" | "color-burn" | "color-dodge" | "color" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "invert" | "lighten" | "lighter" | "luminosity" | "minus" | "multiply" | "normal" | "overlay" | "plus" | "reflect" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "vivid-light" | "xor";
|
|
507
|
+
|
|
508
|
+
export type GroundElevationLayerUnion = ElevationLayer | BaseElevationLayer;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*
|
|
2
|
+
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
+
*/
|
|
5
|
+
import{getAssetUrl as t}from"../../assets.js";let n=null;async function s(){return n||(n=e()),n}async function e(){const n=await import("../../chunks/bundle2.js");return await n.default({module_or_path:t("esri/libs/text/pkg/bundle_bg.wasm")}),n}export{s as loadTextModule};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type LayoutSettings from "./LayoutSettings.js";
|
|
2
2
|
import type NonspatialDataDisplay from "./NonspatialDataDisplay.js";
|
|
3
|
-
import type {
|
|
4
|
-
import type { MultiOriginJSONSupport, MultiOriginJSONMixinProperties } from "../core/MultiOriginJSONSupport.js";
|
|
3
|
+
import type { Clonable, ClonableMixinProperties } from "../core/Clonable.js";
|
|
5
4
|
import type { LayoutType as LayoutTypeJSON } from "../portal/jsonTypes.js";
|
|
6
5
|
|
|
7
|
-
export interface LinkChartPropertiesProperties extends
|
|
6
|
+
export interface LinkChartPropertiesProperties extends ClonableMixinProperties {}
|
|
8
7
|
|
|
9
8
|
/**
|
|
10
9
|
* Properties that contain source information, layout configurations and other settings for a Link chart.
|
|
@@ -12,7 +11,7 @@ export interface LinkChartPropertiesProperties extends MultiOriginJSONMixinPrope
|
|
|
12
11
|
* @since 4.31
|
|
13
12
|
* @see [Web Map Specification | Link chart Properties](https://developers.arcgis.com/web-map-specification/objects/linkChartProperties/)
|
|
14
13
|
*/
|
|
15
|
-
export default class LinkChartProperties extends
|
|
14
|
+
export default class LinkChartProperties extends Clonable {
|
|
16
15
|
constructor(properties?: LinkChartPropertiesProperties);
|
|
17
16
|
/** Additional settings for chronological and organic link chart layouts. */
|
|
18
17
|
get layoutSettings(): LayoutSettings | null | undefined;
|
|
@@ -69,5 +68,4 @@ export default class LinkChartProperties extends LinkChartPropertiesSuperclass {
|
|
|
69
68
|
get nonspatialDataDisplay(): NonspatialDataDisplay | null | undefined;
|
|
70
69
|
/** Url pointing to a resource containing featureSet as PBF reference containing a serialized representation of the internal entity table. */
|
|
71
70
|
get relationshipsUrl(): string | null | undefined;
|
|
72
|
-
}
|
|
73
|
-
declare const LinkChartPropertiesSuperclass: typeof MultiOriginJSONSupport & typeof ClonableMixin
|
|
71
|
+
}
|
|
@@ -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 t}from"tslib";import{serializeInclusionDefinitionToEntitiesPbf as e,serializeInclusionDefinitionToRelationshipsPbf as r}from"../applications/KnowledgeStudio/resourceSerializationUtils.js";import{
|
|
5
|
+
import{__decorate as t}from"tslib";import{serializeInclusionDefinitionToEntitiesPbf as e,serializeInclusionDefinitionToRelationshipsPbf as r}from"../applications/KnowledgeStudio/resourceSerializationUtils.js";import{Clonable as i}from"../core/Clonable.js";import{MultiOriginJSONMixin as o}from"../core/MultiOriginJSONSupport.js";import{join as s}from"../core/urlUtils.js";import{generateUUID as n}from"../core/uuid.js";import{property as l,subclass as a}from"../core/accessorSupport/decorators.js";import{nameToId as p}from"../core/accessorSupport/PropertyOrigin.js";import{getRelationshipEndNodeMap as u}from"../layers/knowledgeGraph/supportUtils.js";import{layoutTypes as c}from"./enums.js";import d from"./LayoutSettings.js";import m from"./NonspatialDataDisplay.js";import{f as h,t as y}from"../chunks/persistableUrlUtils.js";import{reader as g}from"../core/accessorSupport/decorators/reader.js";import{writer as U}from"../core/accessorSupport/decorators/writer.js";let f=class extends(o(i)){constructor(t){super(t),this.aggregatedEntitiesUrl=null,this.aggregatedRelationshipsUrl=null,this.autoCollapseRelationships=!0,this.centralityIsUpToDate=!0,this.entitiesUrl=null,this.layoutSettings=null,this.layoutType="organic-standard",this.nonspatialDataDisplay=null,this.relationshipsUrl=null}readEntitiesUrl(t,e,r){return h(t,r)}writeEntitiesUrl(t,e,r,i){const o=i?.portalItem,s=i?.resources,n=p(i?.origin),l=i?.webmap?.activeLinkChartLayer;o&&s&&null!=n&&l&&l.membershipModified?this._saveUrlAsNewResource(e,r,s,o,l):t&&(e[r]=y(t,i))}readRelationshipsUrl(t,e,r){return h(t,r)}writeRelationshipsUrl(t,e,r,i){const o=i?.portalItem,s=i?.resources,n=p(i?.origin),l=i?.webmap?.activeLinkChartLayer;o&&s&&null!=n&&l&&l.membershipModified?this._saveUrlAsNewResource(e,r,s,o,l):t&&(e[r]=y(t,i))}_saveUrlAsNewResource(t,e,r,i,o){t[e]="<pending>";const s=(o.knowledgeGraph.dataModel.relationshipTypes??[]).map(t=>t.name).reduce((t,e)=>{if(!e)return t;const{members:r}=o.dataManager.inclusionModeDefinition.namedTypeDefinitions.get(e)||{members:void 0};if(!r)return t;for(const[i]of r)t.push({id:i,typeName:e});return t},[]);r.pendingOperations.push(new Promise(n=>{u(s,o.knowledgeGraph).then(s=>{v(o.dataManager.inclusionModeDefinition,e,o.knowledgeGraph,s).then(o=>{const s=j(i,"entitiesUrl"===e?"entitiesUrl":"relationshipsUrl");t[e]=s.itemRelativeUrl,r.toAdd.push({resource:s,content:{type:"blob",blob:o},compress:!1,finish:t=>{"entitiesUrl"===e?this.entitiesUrl=t.url:this.relationshipsUrl=t.url}}),n()})})}))}};t([l({type:String,json:{write:!0}})],f.prototype,"aggregatedEntitiesUrl",void 0),t([l({type:String,json:{write:!0}})],f.prototype,"aggregatedRelationshipsUrl",void 0),t([l({type:Boolean,json:{write:!0}})],f.prototype,"autoCollapseRelationships",void 0),t([l({type:Boolean,json:{write:!0}})],f.prototype,"centralityIsUpToDate",void 0),t([l({type:String,json:{write:{ignoreOrigin:!0,writerEnsuresNonNull:!0}}})],f.prototype,"entitiesUrl",void 0),t([g("entitiesUrl")],f.prototype,"readEntitiesUrl",null),t([U("entitiesUrl")],f.prototype,"writeEntitiesUrl",null),t([l({type:d,json:{write:!0}})],f.prototype,"layoutSettings",void 0),t([l({type:c,json:{write:!0}})],f.prototype,"layoutType",void 0),t([l({type:m,json:{write:!0}})],f.prototype,"nonspatialDataDisplay",void 0),t([l({type:String,json:{write:{ignoreOrigin:!0,writerEnsuresNonNull:!0}}})],f.prototype,"relationshipsUrl",void 0),t([g("relationshipsUrl")],f.prototype,"readRelationshipsUrl",null),t([U("relationshipsUrl")],f.prototype,"writeRelationshipsUrl",null),f=t([a("esri.linkChart.LinkChartProperties")],f);const w=f;function j(t,e){const r=`${e}-${n()}.dat`,i=s("linkChart",r);return t.resourceFromPath(i)}async function v(t,i,o,s){let n;return n="entitiesUrl"===i?await e(t,o,s):await r(t,o,s),new Blob([n],{type:"application/x-protobuf"})}export{w as default};
|
package/networks/Network.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import type PortalItem from "../portal/PortalItem.js";
|
|
|
8
8
|
import type NetworkElement from "../rest/networks/support/NetworkElement.js";
|
|
9
9
|
import type ValidateNetworkTopologyResult from "../rest/networks/support/ValidateNetworkTopologyResult.js";
|
|
10
10
|
import type { Loadable, LoadableMixinProperties } from "../core/Loadable.js";
|
|
11
|
-
import type { MultiOriginJSONMixin, MultiOriginJSONMixinProperties } from "../core/MultiOriginJSONSupport.js";
|
|
12
11
|
import type { UrlObject } from "../core/urlUtils.js";
|
|
13
12
|
import type { NetworkDataElementJSON } from "./support/jsonTypes.js";
|
|
14
13
|
import type { LayerInfo } from "./support/utils.js";
|
|
@@ -18,7 +17,7 @@ import type { ValidateNetworkTopologyParametersProperties } from "../rest/networ
|
|
|
18
17
|
import type { ExtentProperties } from "../geometry/Extent.js";
|
|
19
18
|
import type { SpatialReferenceProperties } from "../geometry/SpatialReference.js";
|
|
20
19
|
|
|
21
|
-
export interface NetworkProperties extends LoadableMixinProperties,
|
|
20
|
+
export interface NetworkProperties extends LoadableMixinProperties, Partial<Pick<Network, "dataElement" | "gdbVersion" | "id" | "layerUrl" | "sourceJSON" | "title">> {
|
|
22
21
|
/** The full extent of the network, defined from the service territory used to create the network. */
|
|
23
22
|
fullExtent?: ExtentProperties | null;
|
|
24
23
|
/**
|
|
@@ -55,7 +54,7 @@ export type ValidateTopologyProps = Pick<ValidateNetworkTopologyParametersProper
|
|
|
55
54
|
* @since 4.20
|
|
56
55
|
* @see [UtilityNetwork](https://developers.arcgis.com/javascript/latest/api-reference/esri-networks-UtilityNetwork.html)
|
|
57
56
|
*/
|
|
58
|
-
export default abstract class Network extends
|
|
57
|
+
export default abstract class Network extends Loadable {
|
|
59
58
|
/**
|
|
60
59
|
* Creates a new network instance from an
|
|
61
60
|
* ArcGIS Online or ArcGIS Enterprise
|
|
@@ -284,7 +283,6 @@ export default abstract class Network extends NetworkSuperclass {
|
|
|
284
283
|
*/
|
|
285
284
|
validateTopology(props: ValidateTopologyProps, options?: RequestOptions | null | undefined): Promise<ValidateNetworkTopologyResult>;
|
|
286
285
|
}
|
|
287
|
-
declare const NetworkSuperclass: typeof Loadable & typeof MultiOriginJSONMixin
|
|
288
286
|
|
|
289
287
|
export interface NetworkFromPortalItemParams {
|
|
290
288
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import type Accessor from "../../core/Accessor.js";
|
|
1
2
|
import type TraceConfiguration from "./TraceConfiguration.js";
|
|
2
|
-
import type { MultiOriginJSONSupport, MultiOriginJSONMixinProperties } from "../../core/MultiOriginJSONSupport.js";
|
|
3
3
|
import type { ResultType } from "./jsonTypes.js";
|
|
4
4
|
import type { TraceType } from "./typeUtils.js";
|
|
5
5
|
import type { TraceConfigurationProperties } from "./TraceConfiguration.js";
|
|
6
6
|
|
|
7
|
-
export interface NamedTraceConfigurationProperties extends
|
|
7
|
+
export interface NamedTraceConfigurationProperties extends Partial<Pick<NamedTraceConfiguration, "creator" | "description" | "globalId" | "minStartingPoints" | "resultTypes" | "tags" | "title" | "traceType">> {
|
|
8
8
|
/**
|
|
9
9
|
* The date/time when the trace configuration has been added to the utility network.
|
|
10
10
|
* Trace configurations can be added using the [Add Trace configuration](https://pro.arcgis.com/en/pro-app/latest/tool-reference/utility-networks/add-trace-configuration.htm) gp tool or the [REST end point](https://developers.arcgis.com/rest/services-reference/enterprise/create-traceconfiguration-utility-network-server-.htm) gp tool
|
|
@@ -26,7 +26,7 @@ export interface NamedTraceConfigurationProperties extends MultiOriginJSONMixinP
|
|
|
26
26
|
* @see [UtilityNetwork](https://developers.arcgis.com/javascript/latest/api-reference/esri-networks-UtilityNetwork.html)
|
|
27
27
|
* @see [TraceConfiguration](https://developers.arcgis.com/javascript/latest/api-reference/esri-networks-support-TraceConfiguration.html)
|
|
28
28
|
*/
|
|
29
|
-
export default class NamedTraceConfiguration extends
|
|
29
|
+
export default class NamedTraceConfiguration extends Accessor {
|
|
30
30
|
constructor(properties?: NamedTraceConfigurationProperties);
|
|
31
31
|
/**
|
|
32
32
|
* The date/time when the trace configuration has been added to the utility network.
|
|
@@ -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{
|
|
5
|
+
import{__decorate as r}from"tslib";import e from"../../core/Accessor.js";import{MultiOriginJSONMixin as t}from"../../core/MultiOriginJSONSupport.js";import{property as i,subclass as o}from"../../core/accessorSupport/decorators.js";import s from"./TraceConfiguration.js";import{traceTypeKebabDict as a}from"./typeUtils.js";import n from"./UNTraceConfiguration.js";import{reader as p}from"../../core/accessorSupport/decorators/reader.js";let d=class extends(t(e)){constructor(r){super(r),this.globalId=null,this.title=null,this.traceConfiguration=null,this.creationDate=null,this.creator=null,this.description=null,this.minStartingPoints=null,this.resultTypes=[],this.tags=[],this.traceType=null}readTraceConfiguration(r,e){return void 0!==r.tierName?n.fromJSON(r):s.fromJSON(r)}};r([i({type:String,nonNullable:!0,json:{origins:{"web-map":{read:{source:"id"},write:{target:"id",isRequired:!0}},service:{read:{source:"globalId"},write:{target:"globalId",isRequired:!0}}},read:!1}})],d.prototype,"globalId",void 0),r([i({type:String,nonNullable:!0,json:{origins:{"web-map":{read:{source:"title"},write:{target:"title",isRequired:!0}},service:{read:{source:"name"},write:{target:"name",isRequired:!0}}},read:!1}})],d.prototype,"title",void 0),r([i({type:s,json:{origins:{service:{read:!0,write:!0}},read:!1}})],d.prototype,"traceConfiguration",void 0),r([p("service","traceConfiguration")],d.prototype,"readTraceConfiguration",null),r([i({type:Date,json:{origins:{service:{read:!0,write:!0}},read:!1}})],d.prototype,"creationDate",void 0),r([i({type:String,json:{origins:{service:{read:!0,write:!0}},read:!1}})],d.prototype,"creator",void 0),r([i({type:String,json:{origins:{service:{read:!0,write:!0}},read:!1}})],d.prototype,"description",void 0),r([i({type:["none","one","many"],json:{origins:{service:{read:{source:"minNumStartingPoints"},write:{target:"minNumStartingPoints"}}},read:!1}})],d.prototype,"minStartingPoints",void 0),r([i({json:{origins:{service:{read:!0,write:!0}},read:!1}})],d.prototype,"resultTypes",void 0),r([i({type:[String],json:{origins:{service:{read:!0,write:!0}},read:!1}})],d.prototype,"tags",void 0),r([i({type:a.apiValues,json:{type:a.jsonValues,origins:{service:{read:a.read,write:a.write}},read:!1}})],d.prototype,"traceType",void 0),d=r([o("esri.networks.support.NamedTraceConfiguration")],d);const c=d;export{c as default};
|