@arcgis/core 5.0.0-next.66 → 5.0.0-next.67
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/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/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/04958494022f82dca473.js +1 -0
- package/assets/esri/core/workers/chunks/{22dd5cecc7e2d4d0baf8.js → 055fdc5134d54174444d.js} +2 -2
- package/assets/esri/core/workers/chunks/0629087bd5bb8048493e.js +1 -0
- package/assets/esri/core/workers/chunks/{ee186ddbb1eb5144a790.js → 08359ae020238a565955.js} +1 -1
- 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/0cd3acfbf9ee991bdab4.js +1 -0
- 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/119822a646834c1cebc0.js +1 -0
- package/assets/esri/core/workers/chunks/1a6d2f525dd30d08cf9b.js +1 -0
- package/assets/esri/core/workers/chunks/204d738c8b651314ae64.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/36ecf951c0c7dad84b69.js +1 -0
- package/assets/esri/core/workers/chunks/37002a46f03a9fc5f644.js.LICENSE.txt +1 -1
- 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/4773a358832f87963766.js +1 -0
- package/assets/esri/core/workers/chunks/492515860198f38dd698.js +1 -0
- package/assets/esri/core/workers/chunks/4f6f181ee83b4d484518.js +1 -0
- 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/679cd6424e0e2d7f372b.js +1 -0
- package/assets/esri/core/workers/chunks/6be530ab81291745485b.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/73c416ae0ec5a1815591.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/{23b623637126f8411a30.js → 7aec07f2482934259d12.js} +1 -1
- package/assets/esri/core/workers/chunks/7bed14d9bcd7fc5e2eec.js +1 -0
- package/assets/esri/core/workers/chunks/{741d170187e58e81584d.js → 7d744554d14057d9b2b1.js} +1 -1
- package/assets/esri/core/workers/chunks/{e85da52d9cc7d9396872.js → 942fad4ec96295672ce8.js} +1 -1
- package/assets/esri/core/workers/chunks/9ccabf8142fb5de4d3e2.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/aeb524eded012217a865.js +1 -0
- package/assets/esri/core/workers/chunks/{ac6f002cfad42e60de8f.js → b48033645091c91e0d88.js} +1 -1
- package/assets/esri/core/workers/chunks/b7960ab9a9da7f88184c.js +1 -0
- package/assets/esri/core/workers/chunks/b8988771bfa4e785ebd6.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/{310f3268582e61cd86da.js → d21480925a8bc9c7de96.js} +1 -1
- package/assets/esri/core/workers/chunks/d75adfd4acb3c92accc9.js +1 -0
- 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/e4ba850e8344ac2c5fc0.js +1 -0
- package/assets/esri/core/workers/chunks/e5aac523c37d906eece6.js +1 -0
- package/assets/esri/core/workers/chunks/{f351007cdcd0938d3b6c.js → eeb24a4ab4993f1f4e8e.js} +1 -1
- package/assets/esri/core/workers/chunks/f25bebd2b6eb0d0f6626.js.LICENSE.txt +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/bundle2.js +5 -0
- package/config.js +1 -1
- package/copyright.txt +70 -1
- package/core/BidiText.js +1 -1
- package/geometry/support/FloatArray.js +1 -1
- package/geometry/support/Indices.js +1 -1
- package/interfaces.d.ts +24 -24
- package/kernel.js +1 -1
- package/layers/BingMapsLayer.d.ts +2 -3
- package/layers/BuildingSceneLayer.d.ts +2 -4
- 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/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/data/QueryEngineResult.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/raster/datasets/wcsCoverageParser.d.ts +1 -1
- package/layers/raster/functions/creators/createLocalFunctions.d.ts +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/support/ElevationQuery.d.ts +2 -2
- 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/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/package.json +2 -2
- package/popup/FieldInfo.d.ts +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/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/PrintTemplate.d.ts +4 -6
- package/rest/support/types.d.ts +17 -1
- package/smartMapping/support/adapters/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/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/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/engine/webgl/shaders/sources/shaderRepository.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/features/sources/strategies/support/queryAdapters.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReaderPBF.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
- package/views/3d/analysis/VolumeMeasurementAnalysisView3D.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/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/ComponentMaterial.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/VideoView.d.ts +2 -3
- package/views/View2D.d.ts +2 -3
- package/views/layers/MediaLayerViewMixin.d.ts +1 -1
- package/views/types.d.ts +1 -1
- package/webdoc/applicationProperties/SearchLayerField.d.ts +1 -1
- package/webdoc/applicationProperties/SearchTableField.d.ts +1 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +1 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.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/Feature.d.ts +3 -5
- package/widgets/FeatureForm/FieldInput.d.ts +2 -2
- 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/VideoPlayer/VideoPlayerViewModel.d.ts +1 -1
- package/assets/esri/core/workers/chunks/0099f4729c94c779ba35.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/2a6231db5ee6cbfd59a5.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/5909a0e763fddc3542e7.js +0 -2
- package/assets/esri/core/workers/chunks/5cee6c3ff23fb93f857a.js +0 -1
- package/assets/esri/core/workers/chunks/6035daa65fc3ebf86515.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/964de713042f52d71e42.js +0 -1
- package/assets/esri/core/workers/chunks/ad92427bf597a6e0a299.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/bcf612eabe7577540953.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/d723619579cc8f5ef2cd.js +0 -1
- package/assets/esri/core/workers/chunks/e69255e38ff200dda14b.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/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,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A utility method for getting a Reshape instance with support for connected reshaping.
|
|
3
3
|
*
|
|
4
|
+
* @experimental
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
7
|
import type Graphic from "../../Graphic.js";
|
|
@@ -16,17 +17,40 @@ import type MapView from "../../views/MapView.js";
|
|
|
16
17
|
import type LinkChartView from "../../views/LinkChartView.js";
|
|
17
18
|
import type { ResourceHandle } from "../../core/Handles.js";
|
|
18
19
|
|
|
19
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* @experimental
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
20
24
|
export interface ReshapeInterface {
|
|
21
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* An array of `ConnectedReshapeProviderFactory` objects that provide connected reshape functionality for the reshape operation.
|
|
27
|
+
*
|
|
28
|
+
* @experimental
|
|
29
|
+
*/
|
|
22
30
|
connectedReshapeProviders?: ConnectedReshapeProviderFactory[] | null;
|
|
23
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Destroys the reshape instance.
|
|
33
|
+
*
|
|
34
|
+
* @experimental
|
|
35
|
+
*/
|
|
24
36
|
destroy: () => void;
|
|
25
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* The graphic being reshaped.
|
|
39
|
+
*
|
|
40
|
+
* @experimental
|
|
41
|
+
*/
|
|
26
42
|
graphic: Graphic;
|
|
27
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* A GraphicsLayer to be used for temporary graphics during the reshape operation.
|
|
45
|
+
*
|
|
46
|
+
* @experimental
|
|
47
|
+
*/
|
|
28
48
|
layer: GraphicsLayer;
|
|
29
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* The MapView in which the reshape operation is taking place.
|
|
51
|
+
*
|
|
52
|
+
* @experimental
|
|
53
|
+
*/
|
|
30
54
|
view: MapView;
|
|
31
55
|
}
|
|
32
56
|
|
|
@@ -34,11 +58,15 @@ export interface ReshapeInterface {
|
|
|
34
58
|
* Returns a reshape operation.
|
|
35
59
|
*
|
|
36
60
|
* @param properties - The constructor properties.
|
|
61
|
+
* @experimental
|
|
37
62
|
* @internal
|
|
38
63
|
*/
|
|
39
64
|
export function getReshape(properties: ConstructProperties): Promise<ReshapeInterface>;
|
|
40
65
|
|
|
41
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* @experimental
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
42
70
|
export type ConstructProperties = Pick<ReshapeInterface, "connectedReshapeProviders" | "graphic" | "layer" | "view">;
|
|
43
71
|
|
|
44
72
|
/**
|
|
@@ -48,15 +76,21 @@ export type ConstructProperties = Pick<ReshapeInterface, "connectedReshapeProvid
|
|
|
48
76
|
* @param targetEntityType - The type of the entity to be moved.
|
|
49
77
|
* @param targetView - The LinkChartView in which the node movement reshape operation will take place.
|
|
50
78
|
* @param options - Optional parameters.
|
|
79
|
+
* @experimental
|
|
51
80
|
* @internal
|
|
52
81
|
*/
|
|
53
82
|
export function studioStartNodeMovement(targetEntityId: string, targetEntityType: string, targetView: LinkChartView, options?: {
|
|
54
83
|
useSnappingGrid?: boolean;
|
|
55
84
|
}): Promise<StudioNodeMovementReturnType>;
|
|
56
85
|
|
|
57
|
-
/**
|
|
86
|
+
/**
|
|
87
|
+
* @experimental
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
58
90
|
export interface StudioNodeMovementReturnType {
|
|
91
|
+
/** @experimental */
|
|
59
92
|
cancelNodeMovement: () => void;
|
|
93
|
+
/** @experimental */
|
|
60
94
|
commitNodeMovement: () => Promise<Point>;
|
|
61
95
|
}
|
|
62
96
|
|
|
@@ -65,62 +99,119 @@ export interface StudioNodeMovementReturnType {
|
|
|
65
99
|
*
|
|
66
100
|
* @param targetView - The LinkChartView in which the node movement reshape operation is taking place.
|
|
67
101
|
* @param movementStopCallback - The callback function to be called when the node movement stops.
|
|
102
|
+
* @experimental
|
|
68
103
|
* @internal
|
|
69
104
|
*/
|
|
70
105
|
export function onNodeMovementStop(targetView: LinkChartView, movementStopCallback: MovementStopCallback): ResourceHandle;
|
|
71
106
|
|
|
72
107
|
/**
|
|
73
108
|
* @param event - The event object containing information about the node movement.
|
|
109
|
+
* @experimental
|
|
74
110
|
* @internal
|
|
75
111
|
*/
|
|
76
112
|
export type MovementStopCallback = (event: MovementStopCallbackEvent) => void;
|
|
77
113
|
|
|
78
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* @experimental
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
79
118
|
export interface MovementStopCallbackEvent {
|
|
80
|
-
/**
|
|
119
|
+
/**
|
|
120
|
+
* The change in the x-coordinate of the node's position.
|
|
121
|
+
*
|
|
122
|
+
* @experimental
|
|
123
|
+
*/
|
|
81
124
|
dx: number;
|
|
82
|
-
/**
|
|
125
|
+
/**
|
|
126
|
+
* The change in the y-coordinate of the node's position.
|
|
127
|
+
*
|
|
128
|
+
* @experimental
|
|
129
|
+
*/
|
|
83
130
|
dy: number;
|
|
84
|
-
/**
|
|
131
|
+
/**
|
|
132
|
+
* The graphic representing the node being moved.
|
|
133
|
+
*
|
|
134
|
+
* @experimental
|
|
135
|
+
*/
|
|
85
136
|
mover: Graphic;
|
|
86
137
|
}
|
|
87
138
|
|
|
88
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* @experimental
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
89
143
|
export type ConnectedReshapeSupportedLayer = GeoJSONLayer | FeatureLayer | OrientedImageryLayer | SceneLayer | SubtypeSublayer | GraphicsLayer | KnowledgeGraphSublayer;
|
|
90
144
|
|
|
91
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* @experimental
|
|
147
|
+
* @internal
|
|
148
|
+
*/
|
|
92
149
|
export interface ReshapeFeature {
|
|
93
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* The graphic being reshaped.
|
|
152
|
+
*
|
|
153
|
+
* @experimental
|
|
154
|
+
*/
|
|
94
155
|
graphic: Graphic;
|
|
95
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* The layer to which the graphic belongs.
|
|
158
|
+
*
|
|
159
|
+
* @experimental
|
|
160
|
+
*/
|
|
96
161
|
layer: ConnectedReshapeSupportedLayer;
|
|
97
162
|
}
|
|
98
163
|
|
|
99
164
|
/**
|
|
100
165
|
* Represents a feature that has been modified by a ConnectedReshapeProvider due to being connected (or otherwise spatially related to) the feature(s) or vertex(es) being reshaped.
|
|
101
166
|
*
|
|
167
|
+
* @experimental
|
|
102
168
|
* @internal
|
|
103
169
|
*/
|
|
104
170
|
export interface ModifiedFeature {
|
|
105
|
-
/**
|
|
171
|
+
/**
|
|
172
|
+
* The current version of the feature, with a geometry that reflects whatever translation/transformation has been made as a result of the reshape operation
|
|
173
|
+
*
|
|
174
|
+
* @experimental
|
|
175
|
+
*/
|
|
106
176
|
graphic: Graphic;
|
|
107
|
-
/**
|
|
177
|
+
/**
|
|
178
|
+
* The layer to which the feature belongs
|
|
179
|
+
*
|
|
180
|
+
* @experimental
|
|
181
|
+
*/
|
|
108
182
|
layer: ConnectedReshapeSupportedLayer;
|
|
109
|
-
/**
|
|
183
|
+
/**
|
|
184
|
+
* The original version of the feature, before the start of the reshape operation
|
|
185
|
+
*
|
|
186
|
+
* @experimental
|
|
187
|
+
*/
|
|
110
188
|
originalGraphic: Graphic;
|
|
111
|
-
/**
|
|
189
|
+
/**
|
|
190
|
+
* Some unique identifier of the feature. E.g., the feature's object ID.
|
|
191
|
+
*
|
|
192
|
+
* @experimental
|
|
193
|
+
*/
|
|
112
194
|
uniqueId: string | number;
|
|
113
195
|
}
|
|
114
196
|
|
|
115
197
|
/**
|
|
116
198
|
* An object that provides "connected reshaping" functionality for a feature or vertex being reshaped. This object is given information about each incremental position change throughout the reshape operation. The object is responsible for identifying and loading features that are connected to the primary feature, and providing, for each incremental change, the current positions of those connected features.
|
|
117
199
|
*
|
|
200
|
+
* @experimental
|
|
118
201
|
* @internal
|
|
119
202
|
*/
|
|
120
203
|
export interface ConnectedReshapeProvider {
|
|
121
|
-
/**
|
|
204
|
+
/**
|
|
205
|
+
* Called each time the position of the given feature or vertex changes during the reshape operation. This function should return an array of [ModifiedFeature](https://developers.arcgis.com/javascript/latest/api-reference/esri-applications-KnowledgeStudio-reshape.html#ModifiedFeature) objects representing the current positions of the connected features given the change so far to the position of the feature or vertex being reshaped. Parameters represent the incremental change in position of the feature (or vertex) since the last time `translate` was called. Values are in the units of the spatial reference.
|
|
206
|
+
*
|
|
207
|
+
* @experimental
|
|
208
|
+
*/
|
|
122
209
|
translate: TranslateMethod;
|
|
123
|
-
/**
|
|
210
|
+
/**
|
|
211
|
+
* Not used at this time. Hard-code this to `false` for now.
|
|
212
|
+
*
|
|
213
|
+
* @experimental
|
|
214
|
+
*/
|
|
124
215
|
updating: boolean;
|
|
125
216
|
}
|
|
126
217
|
|
|
@@ -131,29 +222,53 @@ export interface ConnectedReshapeProvider {
|
|
|
131
222
|
* @param deltaY - The change in the y-coordinate of the feature or vertex being reshaped, in the units of the spatial reference.
|
|
132
223
|
* @param deltaZ - The change in the z-coordinate of the feature or vertex being reshaped, in the units of the spatial reference. This may be `nil` if the feature does not have a z-coordinate.
|
|
133
224
|
* @returns An array of modified features representing the current positions of the connected features given the change so far to the position of the feature or vertex being reshaped.
|
|
225
|
+
* @experimental
|
|
134
226
|
* @internal
|
|
135
227
|
*/
|
|
136
228
|
export type TranslateMethod = (deltaX: number, deltaY: number, deltaZ: number | null | undefined) => ModifiedFeature[];
|
|
137
229
|
|
|
138
|
-
/**
|
|
230
|
+
/**
|
|
231
|
+
* @experimental
|
|
232
|
+
* @internal
|
|
233
|
+
*/
|
|
139
234
|
export interface VertexInfo {
|
|
140
|
-
/**
|
|
235
|
+
/**
|
|
236
|
+
* The index of the ring or path in the feature's geometry that contains the vertex.
|
|
237
|
+
*
|
|
238
|
+
* @experimental
|
|
239
|
+
*/
|
|
141
240
|
pathIndex: number;
|
|
142
|
-
/**
|
|
241
|
+
/**
|
|
242
|
+
* The index of the vertex in the ring or path.
|
|
243
|
+
*
|
|
244
|
+
* @experimental
|
|
245
|
+
*/
|
|
143
246
|
vertexIndex: number;
|
|
144
247
|
}
|
|
145
248
|
|
|
146
|
-
/**
|
|
249
|
+
/**
|
|
250
|
+
* @experimental
|
|
251
|
+
* @internal
|
|
252
|
+
*/
|
|
147
253
|
export interface ConnectedReshapeProviderFactory {
|
|
148
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* Called at the start a reshape operation involving one or more whole features. Should return a `ConnectedReshapeProvider` that will provide information about features connected to this feature(s) during the reshape operation.
|
|
256
|
+
*
|
|
257
|
+
* @experimental
|
|
258
|
+
*/
|
|
149
259
|
getFeatureReshapeProvider: GetFeatureReshapeProvider;
|
|
150
|
-
/**
|
|
260
|
+
/**
|
|
261
|
+
* Called at the start of a reshape operation involving one or more vertices of a feature. Should return a `ConnectedReshapeProvider` that will provide information about features connected to this vertex(es) during the reshape operation.
|
|
262
|
+
*
|
|
263
|
+
* @experimental
|
|
264
|
+
*/
|
|
151
265
|
getVertexReshapeProvider: GetVertexReshapeProvider;
|
|
152
266
|
}
|
|
153
267
|
|
|
154
268
|
/**
|
|
155
269
|
* @param features - The features being reshaped.
|
|
156
270
|
* @returns The connected reshape provider for the features.
|
|
271
|
+
* @experimental
|
|
157
272
|
* @internal
|
|
158
273
|
*/
|
|
159
274
|
export type GetFeatureReshapeProvider = (features: ReshapeFeature[]) => ConnectedReshapeProvider | null | undefined;
|
|
@@ -162,6 +277,7 @@ export type GetFeatureReshapeProvider = (features: ReshapeFeature[]) => Connecte
|
|
|
162
277
|
* @param feature - The feature being reshaped.
|
|
163
278
|
* @param vertices - The vertices of the feature being reshaped.
|
|
164
279
|
* @returns The connected reshape provider for the feature.
|
|
280
|
+
* @experimental
|
|
165
281
|
* @internal
|
|
166
282
|
*/
|
|
167
283
|
export type GetVertexReshapeProvider = (feature: ReshapeFeature, vertices: VertexInfo[]) => ConnectedReshapeProvider | null | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @
|
|
2
|
+
* @experimental
|
|
3
3
|
* @since 4.32
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -7,15 +7,21 @@ import type KnowledgeGraph from "../../rest/knowledgeGraph/KnowledgeGraph.js";
|
|
|
7
7
|
import type { AbortOptions } from "../../core/promiseUtils.js";
|
|
8
8
|
import type { InclusionListDefinition } from "../../layers/knowledgeGraph/KnowledgeGraphLayerDataManager.js";
|
|
9
9
|
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* @experimental
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
11
14
|
export interface SerializedResourceURLs {
|
|
15
|
+
/** @experimental */
|
|
12
16
|
entitiesUrl?: string | null;
|
|
17
|
+
/** @experimental */
|
|
13
18
|
relationshipsUrl?: string | null;
|
|
14
19
|
}
|
|
15
20
|
|
|
16
21
|
/**
|
|
17
22
|
* @param serializedResourceURLs
|
|
18
23
|
* @param options
|
|
24
|
+
* @experimental
|
|
19
25
|
* @internal
|
|
20
26
|
*/
|
|
21
27
|
export function fetchAndConvertSerializedLinkChart(serializedResourceURLs: SerializedResourceURLs, options?: AbortOptions): Promise<InclusionListDefinition>;
|
|
@@ -24,13 +30,19 @@ export function fetchAndConvertSerializedLinkChart(serializedResourceURLs: Seria
|
|
|
24
30
|
* @param idCollectionsUrl
|
|
25
31
|
* @param generateAllSublayers
|
|
26
32
|
* @param options
|
|
33
|
+
* @experimental
|
|
27
34
|
* @internal
|
|
28
35
|
*/
|
|
29
36
|
export function fetchAndConvertSerializedKnowledgeIdMap(idCollectionsUrl: string, generateAllSublayers?: boolean, options?: AbortOptions): Promise<InclusionListDefinition>;
|
|
30
37
|
|
|
31
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* @experimental
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
32
42
|
export interface SerializedFeatureCollections {
|
|
43
|
+
/** @experimental */
|
|
33
44
|
entitiesFC: Uint8Array<ArrayBuffer>;
|
|
45
|
+
/** @experimental */
|
|
34
46
|
relationshipsFC: Uint8Array<ArrayBuffer>;
|
|
35
47
|
}
|
|
36
48
|
|
|
@@ -38,6 +50,7 @@ export interface SerializedFeatureCollections {
|
|
|
38
50
|
* @param inclusionDefinition
|
|
39
51
|
* @param kg
|
|
40
52
|
* @param endpointMap
|
|
53
|
+
* @experimental
|
|
41
54
|
* @internal
|
|
42
55
|
*/
|
|
43
56
|
export function serializeInclusionDefinitionToAllPbf(inclusionDefinition: InclusionListDefinition, kg: KnowledgeGraph, endpointMap: Map<string, [
|
|
@@ -47,6 +60,7 @@ export function serializeInclusionDefinitionToAllPbf(inclusionDefinition: Inclus
|
|
|
47
60
|
|
|
48
61
|
/**
|
|
49
62
|
* @param inclusionDefinition
|
|
63
|
+
* @experimental
|
|
50
64
|
* @internal
|
|
51
65
|
*/
|
|
52
66
|
export function serializeInclusionDefinitionToIdCollectionsMapPbf(inclusionDefinition: InclusionListDefinition): Promise<Uint8Array<ArrayBuffer>>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* General layer utilities for the map viewer application.
|
|
3
3
|
*
|
|
4
|
+
* @experimental
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
7
|
import type Layer from "../../layers/Layer.js";
|
|
@@ -11,6 +12,7 @@ import type { FeatureLayerBase } from "../../layers/mixins/FeatureLayerBase.js";
|
|
|
11
12
|
* advertised in its metadata via `preferredHost` property.
|
|
12
13
|
*
|
|
13
14
|
* @param layer - The layer to check.
|
|
15
|
+
* @experimental
|
|
14
16
|
* @internal
|
|
15
17
|
*/
|
|
16
18
|
export function isUrlHostModified(layer: Layer & Partial<FeatureLayerBase>): boolean;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Media layer utilities for the map viewer application.
|
|
3
3
|
*
|
|
4
|
+
* @experimental
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
7
|
import type Extent from "../../geometry/Extent.js";
|
|
7
8
|
import type ControlPointsGeoreference from "../../layers/support/ControlPointsGeoreference.js";
|
|
8
9
|
import type MapView from "../../views/MapView.js";
|
|
9
|
-
import type { MediaElement } from "../../layers/
|
|
10
|
+
import type { MediaElement } from "../../layers/media/types.js";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* Creates a georeference for a media element and a view extent.
|
|
@@ -14,6 +15,7 @@ import type { MediaElement } from "../../layers/support/media.js";
|
|
|
14
15
|
* @param mediaElement - The media element to create the georeference for.
|
|
15
16
|
* @param extent - The view extent in which fits the georeference.
|
|
16
17
|
* @returns The georeference fitting in the view extent.
|
|
18
|
+
* @experimental
|
|
17
19
|
* @internal
|
|
18
20
|
*/
|
|
19
21
|
export function createDefaultControlPointsGeoreference(mediaElement: MediaElement, extent: Extent): Promise<ControlPointsGeoreference>;
|
|
@@ -24,6 +26,7 @@ export function createDefaultControlPointsGeoreference(mediaElement: MediaElemen
|
|
|
24
26
|
*
|
|
25
27
|
* @param mediaElement - The media element to create the georeference for.
|
|
26
28
|
* @returns A georeference with map points in pixels.
|
|
29
|
+
* @experimental
|
|
27
30
|
* @internal
|
|
28
31
|
*/
|
|
29
32
|
export function createLocalModeControlPointsGeoreference(mediaElement: MediaElement): ControlPointsGeoreference | null | undefined;
|
|
@@ -33,6 +36,7 @@ export function createLocalModeControlPointsGeoreference(mediaElement: MediaElem
|
|
|
33
36
|
*
|
|
34
37
|
* @param properties - Properties
|
|
35
38
|
* @returns A MediaTransformToolsWrapper instance or nil.
|
|
39
|
+
* @experimental
|
|
36
40
|
* @internal
|
|
37
41
|
*/
|
|
38
42
|
export function createMediaTransformToolsWrapper(properties: MediaTransformToolsWrapperProperties): any | null | undefined;
|
|
@@ -40,29 +44,59 @@ export function createMediaTransformToolsWrapper(properties: MediaTransformTools
|
|
|
40
44
|
/**
|
|
41
45
|
* MediaTransformToolsWrapperConstructProperties
|
|
42
46
|
*
|
|
47
|
+
* @experimental
|
|
43
48
|
* @internal
|
|
44
49
|
*/
|
|
45
50
|
export interface MediaTransformToolsWrapperProperties {
|
|
46
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* The advanced mode view and media element
|
|
53
|
+
*
|
|
54
|
+
* @experimental
|
|
55
|
+
*/
|
|
47
56
|
advancedMode: AdvancedMediaTransformToolsWrapperProperties;
|
|
48
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* The ImageElement or VideoElement
|
|
59
|
+
*
|
|
60
|
+
* @experimental
|
|
61
|
+
*/
|
|
49
62
|
mediaElement: MediaElement;
|
|
50
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* Whether or not to preserve the aspect ration
|
|
65
|
+
*
|
|
66
|
+
* @experimental
|
|
67
|
+
*/
|
|
51
68
|
preserveAspectRatio?: boolean | null;
|
|
52
|
-
/**
|
|
69
|
+
/**
|
|
70
|
+
* Should snapping be enabled for rotation?
|
|
71
|
+
*
|
|
72
|
+
* @experimental
|
|
73
|
+
*/
|
|
53
74
|
snapRotation?: boolean | null;
|
|
54
|
-
/**
|
|
75
|
+
/**
|
|
76
|
+
* The MapView instance
|
|
77
|
+
*
|
|
78
|
+
* @experimental
|
|
79
|
+
*/
|
|
55
80
|
view: MapView;
|
|
56
81
|
}
|
|
57
82
|
|
|
58
83
|
/**
|
|
59
84
|
* AdvancedMediaTransformToolsWrapperConstructProperties
|
|
60
85
|
*
|
|
86
|
+
* @experimental
|
|
61
87
|
* @internal
|
|
62
88
|
*/
|
|
63
89
|
export interface AdvancedMediaTransformToolsWrapperProperties {
|
|
64
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* The advanced mode ImageElement or VideoElement
|
|
92
|
+
*
|
|
93
|
+
* @experimental
|
|
94
|
+
*/
|
|
65
95
|
mediaElement: MediaElement;
|
|
66
|
-
/**
|
|
96
|
+
/**
|
|
97
|
+
* The advanced mode MapView instance
|
|
98
|
+
*
|
|
99
|
+
* @experimental
|
|
100
|
+
*/
|
|
67
101
|
view: MapView;
|
|
68
102
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Table template utilities for the map viewer application.
|
|
3
3
|
*
|
|
4
|
+
* @experimental
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
7
|
import type CSVLayer from "../../layers/CSVLayer.js";
|
|
@@ -14,7 +15,7 @@ import type KnowledgeGraphSublayer from "../../layers/knowledgeGraph/KnowledgeGr
|
|
|
14
15
|
import type AttributeTableTemplate from "../../tables/AttributeTableTemplate.js";
|
|
15
16
|
import type TableTemplate from "../../widgets/FeatureTable/support/TableTemplate.js";
|
|
16
17
|
import type FeatureTable from "../../widgets/FeatureTable.js";
|
|
17
|
-
import type {
|
|
18
|
+
import type { FieldType } from "../../layers/support/types.js";
|
|
18
19
|
import type { FeatureTableSupportedLayer } from "../../widgets/FeatureTable/support/types.js";
|
|
19
20
|
|
|
20
21
|
/**
|
|
@@ -25,6 +26,7 @@ import type { FeatureTableSupportedLayer } from "../../widgets/FeatureTable/supp
|
|
|
25
26
|
* @param template - Template to update with the provided table.
|
|
26
27
|
* @param includeHiddenColumns - Indicates hidden columns should be included in orderByFields (defaults to true).
|
|
27
28
|
* @returns The updated template.
|
|
29
|
+
* @experimental
|
|
28
30
|
* @internal
|
|
29
31
|
*/
|
|
30
32
|
export function syncAttributeTableTemplate(table: FeatureTable, template: AttributeTableTemplate, includeHiddenColumns?: boolean): AttributeTableTemplate;
|
|
@@ -37,19 +39,39 @@ export function syncAttributeTableTemplate(table: FeatureTable, template: Attrib
|
|
|
37
39
|
*
|
|
38
40
|
* @param options - Method parameters.
|
|
39
41
|
* @returns Newly generated AttributeTableTemplate.
|
|
42
|
+
* @experimental
|
|
40
43
|
* @internal
|
|
41
44
|
*/
|
|
42
45
|
export function createDefaultAttributeTableTemplateFromLayer(options: CreateDefaultAttributeTableTemplateFromLayerOptions): Promise<AttributeTableTemplate>;
|
|
43
46
|
|
|
44
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* @experimental
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
45
51
|
export interface CreateDefaultAttributeTableTemplateFromLayerOptions {
|
|
46
|
-
/**
|
|
52
|
+
/**
|
|
53
|
+
* Indicates 'attachment' columns should be excluded.
|
|
54
|
+
*
|
|
55
|
+
* @experimental
|
|
56
|
+
*/
|
|
47
57
|
excludeAttachments?: boolean;
|
|
48
|
-
/**
|
|
58
|
+
/**
|
|
59
|
+
* Indicates field types that should be excluded. Defaults to: ["geometry", "blob", "raster", "guid", "xml"].
|
|
60
|
+
*
|
|
61
|
+
* @experimental
|
|
62
|
+
*/
|
|
49
63
|
excludedFieldTypesOverride?: FieldType[];
|
|
50
|
-
/**
|
|
64
|
+
/**
|
|
65
|
+
* Indicates 'relationship' columns should be excluded.
|
|
66
|
+
*
|
|
67
|
+
* @experimental
|
|
68
|
+
*/
|
|
51
69
|
excludeRelationships?: boolean;
|
|
52
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* Layer from which to generate a default template.
|
|
72
|
+
*
|
|
73
|
+
* @experimental
|
|
74
|
+
*/
|
|
53
75
|
layer: CatalogFootprintLayer | CSVLayer | FeatureLayer | GeoJSONLayer | ImageryLayer | KnowledgeGraphSublayer | SceneLayer | WFSLayer;
|
|
54
76
|
}
|
|
55
77
|
|
|
@@ -61,19 +83,39 @@ export interface CreateDefaultAttributeTableTemplateFromLayerOptions {
|
|
|
61
83
|
*
|
|
62
84
|
* @param options - Method parameters.
|
|
63
85
|
* @returns Newly generated TableTemplate.
|
|
86
|
+
* @experimental
|
|
64
87
|
* @internal
|
|
65
88
|
*/
|
|
66
89
|
export function createDefaultTableTemplateFromLayer(options: CreateDefaultTableTemplateFromLayerOptions): Promise<TableTemplate>;
|
|
67
90
|
|
|
68
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* @experimental
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
69
95
|
export interface CreateDefaultTableTemplateFromLayerOptions {
|
|
70
|
-
/**
|
|
96
|
+
/**
|
|
97
|
+
* Indicates 'attachment' columns should be excluded.
|
|
98
|
+
*
|
|
99
|
+
* @experimental
|
|
100
|
+
*/
|
|
71
101
|
excludeAttachments?: boolean;
|
|
72
|
-
/**
|
|
102
|
+
/**
|
|
103
|
+
* Indicates field types that should be excluded. Defaults to: ["geometry", "blob", "raster", "guid", "xml"].
|
|
104
|
+
*
|
|
105
|
+
* @experimental
|
|
106
|
+
*/
|
|
73
107
|
excludedFieldTypesOverride?: FieldType[];
|
|
74
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Indicates 'relationship' columns should be excluded.
|
|
110
|
+
*
|
|
111
|
+
* @experimental
|
|
112
|
+
*/
|
|
75
113
|
excludeRelationships?: boolean;
|
|
76
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* Layer from which to generate a default template.
|
|
116
|
+
*
|
|
117
|
+
* @experimental
|
|
118
|
+
*/
|
|
77
119
|
layer: FeatureTableSupportedLayer;
|
|
78
120
|
}
|
|
79
121
|
|
|
@@ -86,18 +128,38 @@ export interface CreateDefaultTableTemplateFromLayerOptions {
|
|
|
86
128
|
*
|
|
87
129
|
* @param parameters - Method parameters.
|
|
88
130
|
* @returns Newly generated TableTemplate.
|
|
131
|
+
* @experimental
|
|
89
132
|
* @internal
|
|
90
133
|
*/
|
|
91
134
|
export function createTableTemplateFromAttributeTableTemplate(parameters: CreateTableTemplateFromAttributeTableTemplateParameters): Promise<TableTemplate>;
|
|
92
135
|
|
|
93
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* @experimental
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
94
140
|
export interface CreateTableTemplateFromAttributeTableTemplateParameters {
|
|
95
|
-
/**
|
|
141
|
+
/**
|
|
142
|
+
* Indicates field types that should be excluded. Defaults to: ["geometry", "blob", "raster", "guid", "xml"].
|
|
143
|
+
*
|
|
144
|
+
* @experimental
|
|
145
|
+
*/
|
|
96
146
|
excludedFieldTypesOverride?: FieldType[];
|
|
97
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* Indicates columns should be generated for fields without associated elements.
|
|
149
|
+
*
|
|
150
|
+
* @experimental
|
|
151
|
+
*/
|
|
98
152
|
includeHiddenFields?: boolean;
|
|
99
|
-
/**
|
|
153
|
+
/**
|
|
154
|
+
* Layer from which to generate a default template.
|
|
155
|
+
*
|
|
156
|
+
* @experimental
|
|
157
|
+
*/
|
|
100
158
|
layer: FeatureTableSupportedLayer;
|
|
101
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* Instance of an AttributeTableTemplate used to configure a new TableTemplate.
|
|
161
|
+
*
|
|
162
|
+
* @experimental
|
|
163
|
+
*/
|
|
102
164
|
template: AttributeTableTemplate;
|
|
103
165
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* General layer utilities for the portal application.
|
|
3
3
|
*
|
|
4
|
+
* @experimental
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
7
|
import type FeatureLayer from "../../layers/FeatureLayer.js";
|
|
@@ -10,6 +11,7 @@ import type FeatureLayer from "../../layers/FeatureLayer.js";
|
|
|
10
11
|
*
|
|
11
12
|
* @param layer - The layer to check.
|
|
12
13
|
* @returns `true` if the layer supports field configuration, `false` otherwise.
|
|
14
|
+
* @experimental
|
|
13
15
|
* @internal
|
|
14
16
|
*/
|
|
15
17
|
export function supportsFieldConfiguration(layer: unknown): layer is FeatureLayer;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Color utilities for the Scene Viewer application.
|
|
3
3
|
*
|
|
4
|
+
* @experimental
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
7
|
import type Color from "../../Color.js";
|
|
@@ -11,6 +12,7 @@ import type Color from "../../Color.js";
|
|
|
11
12
|
*
|
|
12
13
|
* @param color - Color
|
|
13
14
|
* @returns `true` if color is bright
|
|
15
|
+
* @experimental
|
|
14
16
|
* @internal
|
|
15
17
|
*/
|
|
16
18
|
export function isBright(color: Color): boolean;
|