@arcgis/core 5.0.0-next.53 → 5.0.0-next.55
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/Basemap.d.ts +1 -1
- package/Color.js +1 -1
- package/Ground.d.ts +4 -6
- package/Ground.js +1 -1
- package/PopupTemplate.d.ts +2 -2
- package/WebLinkChart.d.ts +1 -1
- package/WebScene.js +1 -1
- package/applications/Components/QuantityFormatter.d.ts +7 -7
- package/applications/Components/analysisUtils.d.ts +28 -53
- package/applications/Components/baUtils.d.ts +8 -0
- package/applications/Components/drawUtils.d.ts +8 -1
- package/applications/Components/featureUtils.d.ts +1 -1
- package/applications/Components/imageryUtils.d.ts +2 -2
- package/applications/Components/layerOriginUtils.d.ts +3 -3
- package/applications/Components/reactiveUtils.d.ts +24 -5
- package/applications/Excalibur/videoViewUtils.d.ts +2 -2
- package/applications/ExperienceBuilder/sketchUtils.d.ts +6 -6
- package/applications/KnowledgeStudio/generalSdkInternalAccess.d.ts +7 -13
- package/applications/KnowledgeStudio/generalSharedKgUtils.d.ts +7 -7
- package/applications/KnowledgeStudio/reshape.d.ts +6 -15
- package/applications/MapViewer/mediaUtils.d.ts +4 -4
- package/applications/MapViewer/templateUtils.d.ts +3 -3
- package/applications/PortalApp/layerUtils.d.ts +10 -0
- package/applications/PortalApp/layerUtils.js +5 -0
- package/applications/SceneViewer/sceneViewerUtils.d.ts +1 -2
- package/arcade/featureSetUtils.js +1 -1
- package/arcade/featureset/support/shared.js +1 -1
- package/arcade.d.ts +33 -17
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{5aa354854219361f722b.js → 0099f4729c94c779ba35.js} +1 -1
- package/assets/esri/core/workers/chunks/00e407d262c49890afa8.js +1 -0
- package/assets/esri/core/workers/chunks/{15a0750c10b510564a42.js → 01d38a9ca9e88c38aab9.js} +1 -1
- package/assets/esri/core/workers/chunks/087cf25ca211836a084a.js +1 -0
- package/assets/esri/core/workers/chunks/{a3f23f08337e101e4e64.js → 097001462d93b78b64f4.js} +1 -1
- package/assets/esri/core/workers/chunks/0a39c6dc57bd60d5587e.js +1 -0
- package/assets/esri/core/workers/chunks/0d1e8d5d9abee38e275e.js +316 -0
- package/assets/esri/core/workers/chunks/{cef873da468668eb95cb.js → 14765f98b8ea447498a1.js} +6 -7
- package/assets/esri/core/workers/chunks/{da922e861d5845ae0979.js → 1ab98591d2f2bc604505.js} +1 -1
- package/assets/esri/core/workers/chunks/1b2e17c04c34cfa671a1.js +1 -0
- package/assets/esri/core/workers/chunks/211837df0edada4414c5.js +1 -0
- package/assets/esri/core/workers/chunks/22b07c54a5fcc27771b0.js +1 -0
- package/assets/esri/core/workers/chunks/{cd8fec3500e6503ae020.js → 23a9dd9454d5249bbd59.js} +1 -1
- package/assets/esri/core/workers/chunks/311c4914a4f69f3c1525.js +1 -0
- package/assets/esri/core/workers/chunks/{108675a17e432a02cf66.js → 35cbc61a006351620ead.js} +1 -1
- package/assets/esri/core/workers/chunks/{1bf4b5e5402790ccb450.js → 369f37060608342a4262.js} +1 -1
- package/assets/esri/core/workers/chunks/3b5e71b156244789f624.js +1 -0
- package/assets/esri/core/workers/chunks/3f0959b1abafe516146e.js +1 -0
- package/assets/esri/core/workers/chunks/{308fb48d080e01499a26.js → 436f206898306df019ac.js} +1 -1
- package/assets/esri/core/workers/chunks/{553ca1e55e9f1359839c.js → 44c228388a95fa958827.js} +1 -1
- package/assets/esri/core/workers/chunks/454c15367cccbf63af7a.js +1 -0
- package/assets/esri/core/workers/chunks/{11ab10668632648b2ba7.js → 492d575894c7905bb70c.js} +1 -1
- package/assets/esri/core/workers/chunks/{f3d8d5fe15501220792d.js → 495b11fdecc3ba90d454.js} +1 -1
- package/assets/esri/core/workers/chunks/4f33a2ecb154a2c2449c.js +1 -0
- package/assets/esri/core/workers/chunks/{b1d3d2c93c189e215f67.js → 5047acfd66539eefe353.js} +1 -1
- package/assets/esri/core/workers/chunks/{cddce67919e13e2f365e.js → 51fd6662245b920af652.js} +1 -1
- package/assets/esri/core/workers/chunks/52726458f590e726d52c.js +1 -0
- package/assets/esri/core/workers/chunks/5873c7b65d0fb04998fb.js +1 -0
- package/assets/esri/core/workers/chunks/{d677b378449257103ec4.js → 58cf5b9a6aa685fc3367.js} +1 -1
- package/assets/esri/core/workers/chunks/{395a0773ccafd1f24c4d.js → 5d31fbabaa875f8627c0.js} +1 -1
- package/assets/esri/core/workers/chunks/67a45faa80316f43c51b.js +1 -0
- package/assets/esri/core/workers/chunks/6d09965ab2bff9da88b6.js +1 -0
- package/assets/esri/core/workers/chunks/{521aac8a665e98e4ca78.js → 700122f775b98a7ed353.js} +1 -1
- package/assets/esri/core/workers/chunks/{a92c1171314a68504c1b.js → 7353d78feba7e6302b6e.js} +1 -1
- package/assets/esri/core/workers/chunks/{13ce8e8d45779b11ee12.js → 7f4fa2f2e85863d3cfb9.js} +1 -1
- package/assets/esri/core/workers/chunks/{a4f89568205d78d91cfe.js → 80c36f1786ae0be00962.js} +1 -1
- package/assets/esri/core/workers/chunks/{549f4ab9e285deaf04fb.js → 81d89107ff82604a3ea0.js} +1 -1
- package/assets/esri/core/workers/chunks/8208c073e606973ea1ad.js +1 -0
- package/assets/esri/core/workers/chunks/{62ed6b45482e39d67785.js → 893a5ab0c2df9262efd8.js} +1 -1
- package/assets/esri/core/workers/chunks/{1f0c7ab33e466a37c7f9.js → 8c1f1eb36198ce40ef13.js} +1 -1
- package/assets/esri/core/workers/chunks/92928c56b312e1514600.js +1 -0
- package/assets/esri/core/workers/chunks/94929cf2b9fc66a93882.js +1 -0
- package/assets/esri/core/workers/chunks/94f02082a006003ef5a9.js +1 -0
- package/assets/esri/core/workers/chunks/951e3c911a3486b1e609.js +1 -0
- package/assets/esri/core/workers/chunks/{54666586754949bfa584.js → 983356eb4fd0a0dcf3fd.js} +1 -1
- package/assets/esri/core/workers/chunks/a16e75ff5cd9b22be197.js +1 -0
- package/assets/esri/core/workers/chunks/{36d9208895abd1ba4ff1.js → a623676c74745e040a2a.js} +1 -1
- package/assets/esri/core/workers/chunks/{1065fd655bb7cee243fd.js → a624dd283d264dce35a8.js} +1 -1
- package/assets/esri/core/workers/chunks/{2dfaead2ec6434513d45.js → a6742abe3ebe371e85f1.js} +1 -1
- package/assets/esri/core/workers/chunks/acc7ff44bfcb5c195114.js +1 -0
- package/assets/esri/core/workers/chunks/ad92427bf597a6e0a299.js +1 -0
- package/assets/esri/core/workers/chunks/{640085b5ade5c7f16228.js → b285de471ca90f38ec25.js} +1 -1
- package/assets/esri/core/workers/chunks/b8f83a272fc41765031d.js +1 -0
- package/assets/esri/core/workers/chunks/{19270a2de33f2662005b.js → b93f2bd6429879f92143.js} +1 -1
- package/assets/esri/core/workers/chunks/be6cc8a1485961f22372.js +1 -0
- package/assets/esri/core/workers/chunks/{bf5a120bc0c4851dbb69.js → bef2a70d382515b3c84e.js} +1 -1
- package/assets/esri/core/workers/chunks/{e2973e5626e5039209f9.js → c448540065690cac0744.js} +1 -1
- package/assets/esri/core/workers/chunks/{95057105f1b3bf805140.js → cd2ea924cb91cdb6dde9.js} +1 -1
- package/assets/esri/core/workers/chunks/d199deff988eaefe18b4.js +1 -0
- package/assets/esri/core/workers/chunks/{2ef4c0092c59a98a5532.js → d54988c21ea5667d00b7.js} +1 -1
- package/assets/esri/core/workers/chunks/d94a2ad5a91de7086fbe.js +1 -0
- package/assets/esri/core/workers/chunks/d9736c783513e9c9b22f.js +1 -0
- package/assets/esri/core/workers/chunks/{23396a6318edf9264c1f.js → dcf6f7001f470f76bd3e.js} +1 -1
- package/assets/esri/core/workers/chunks/dd99b77a7c0a052507bb.js +33 -0
- package/assets/esri/core/workers/chunks/{cd39a53ef74f47604977.js → e03c706e327f4989280a.js} +1 -1
- package/assets/esri/core/workers/chunks/e47535f795b15608a6cb.js +1 -0
- package/assets/esri/core/workers/chunks/e572ffc1d000e4e6325f.js +1 -0
- package/assets/esri/core/workers/chunks/ed38c1043e6a83f49f93.js +1 -0
- package/assets/esri/core/workers/chunks/f44f358db5c56d5bbc0c.js +1 -0
- package/assets/esri/core/workers/chunks/fa95c9248fbfab338f2e.js +1 -0
- package/chunks/ChapmanAtmosphere.glsl.js +12 -9
- package/chunks/ComponentShader.glsl.js +29 -29
- package/chunks/GlowComposition.glsl.js +1 -1
- package/chunks/Haze.glsl.js +15 -21
- package/chunks/RasterColorizer.glsl.js +10 -10
- package/chunks/Viewshed.glsl.js +1 -1
- package/config.d.ts +1 -1
- package/config.js +1 -1
- package/core/Collection.d.ts +1 -1
- package/core/Error.d.ts +1 -1
- package/core/Evented.d.ts +1 -1
- package/core/accessorSupport/decorators.d.ts +1 -1
- package/core/colorUtils.js +1 -1
- package/editing/sharedTemplates/SharedTemplate.d.ts +1 -1
- package/editing/sharedTemplates/SharedTemplateMetadata.d.ts +1 -1
- package/geometry/Mesh.d.ts +1 -2
- package/geometry/coordinateFormatter.d.ts +1 -1
- package/geometry/projection/projectPointToVector.js +1 -1
- package/geometry/projectionUtils.js +1 -1
- package/geometry/support/MeshMaterial.d.ts +1 -1
- package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
- package/geometry/support/MeshTexture.d.ts +1 -1
- package/geometry/support/meshUtils/{interfaces.d.ts → types.d.ts} +10 -1
- package/geometry/support/meshUtils.d.ts +1 -1
- package/geometry/support/normalizeUtils.d.ts +1 -1
- package/geometry/support/typeUtils.d.ts +3 -1
- package/geometry/support/typeUtils.js +1 -1
- package/{views/3d/glTF/internal/resourceUtils.d.ts → geometry/types.d.ts} +5 -1
- package/interfaces.d.ts +779 -812
- package/intl/date.d.ts +1 -1
- package/kernel.js +1 -1
- package/layers/CSVLayer.d.ts +3 -3
- package/layers/CatalogLayer.d.ts +1 -1
- package/layers/FeatureLayer.d.ts +7 -4
- package/layers/GaussianSplatLayer.d.ts +22 -0
- package/layers/GeoJSONLayer.d.ts +3 -3
- package/layers/ImageryTileLayer.d.ts +9 -9
- package/layers/MapImageLayer.d.ts +2 -2
- package/layers/OrientedImageryLayer.d.ts +2 -2
- package/layers/ParquetLayer.d.ts +1 -1
- package/layers/RouteLayer.d.ts +3 -3
- package/layers/SceneLayer.d.ts +3 -3
- package/layers/SubtypeGroupLayer.d.ts +1 -1
- package/layers/VectorTileLayer.d.ts +3 -3
- package/layers/VideoLayer.d.ts +2 -2
- package/layers/WCSLayer.d.ts +1 -1
- package/layers/WFSLayer.d.ts +3 -3
- package/layers/catalog/CatalogFootprintLayer.d.ts +3 -3
- package/layers/graphics/sources/OGCFeatureSource.js +1 -1
- package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
- package/layers/graphics/sources/support/clientSideDefaults.js +1 -1
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +2 -2
- package/layers/knowledgeGraph/layerUtils.js +1 -1
- package/layers/mixins/ArcGISImageService.d.ts +7 -7
- package/layers/mixins/BlendLayer.d.ts +2 -2
- package/layers/mixins/EditBusLayer.d.ts +6 -0
- package/layers/mixins/FeatureLayerBase.d.ts +2 -2
- package/layers/mixins/ImageryTileMixin.d.ts +4 -4
- package/layers/mixins/properties/ILayerWithGetFeatureTitle.d.ts +1 -1
- package/layers/ogc/wcsUtils.d.ts +1 -1
- package/layers/orientedImagery/transformations/imageToWorld.d.ts +2 -2
- package/layers/orientedImagery/transformations/{interfaces.d.ts → types.d.ts} +1 -1
- package/layers/orientedImagery/transformations/worldToImage.d.ts +2 -2
- package/layers/raster/datasets/wcsCapabilitiesParser.d.ts +1 -1
- package/layers/raster/datasets/wcsCoverageParser.d.ts +1 -1
- package/layers/raster/functions/creators/createAppearenceFunctions.d.ts +2 -2
- package/layers/raster/functions/creators/createBandIndexFunctions.d.ts +1 -1
- package/layers/raster/functions/creators/createChangeFunctions.d.ts +1 -1
- package/layers/raster/functions/creators/createConversionFunctions.d.ts +1 -1
- package/layers/raster/functions/creators/createDataManagementFunctions.d.ts +2 -2
- package/layers/raster/functions/creators/createLocalFunctions.d.ts +1 -1
- package/layers/raster/functions/creators/createMultiRasterAnalysisFunctions.d.ts +1 -1
- package/layers/raster/functions/creators/createStatisticsFunctions.d.ts +1 -1
- package/layers/raster/functions/creators/createSurfaceFunctions.d.ts +1 -1
- package/layers/support/ControlPoint.d.ts +3 -3
- package/layers/support/ControlPointsGeoreference.d.ts +6 -6
- package/layers/support/EditingCapabilities.d.ts +2 -2
- package/layers/support/FeatureEffect.d.ts +3 -3
- package/layers/support/LabelClass.d.ts +1 -1
- package/layers/support/RasterInfo.d.ts +1 -1
- package/layers/support/SpriteSource.d.ts +1 -1
- package/layers/support/StreamConnection.d.ts +1 -1
- package/layers/support/Sublayer.d.ts +1 -1
- package/layers/support/SubtypeSublayer.d.ts +15 -2
- package/layers/support/TimeInfo.d.ts +1 -1
- package/layers/support/capabilities.js +1 -1
- package/layers/support/layerUtils.js +1 -1
- package/layers/support/rasterFunctionUtils.d.ts +1 -1
- package/layers/support/serviceCapabilitiesUtils.js +1 -1
- package/layers/support/{interfaces.d.ts → types.d.ts} +6 -6
- package/layers/{interfaces.d.ts → types.d.ts} +18 -1
- package/linkChart/ChronologicalLayoutSettings.d.ts +1 -1
- package/linkChart/OrganicLayoutSettings.d.ts +1 -1
- package/networks/Network.d.ts +4 -4
- package/networks/UtilityNetwork.d.ts +8 -8
- package/networks/support/TopologyValidationJobInfo.d.ts +1 -1
- package/networks/support/TraceJobInfo.d.ts +1 -1
- package/package.json +1 -1
- package/popup/content/CustomContent.d.ts +1 -1
- package/portal/PortalItem.d.ts +1 -1
- package/portal/PortalItemResource.d.ts +1 -1
- package/portal/PortalUser.d.ts +2 -2
- package/renderers/FlowRenderer.d.ts +1 -1
- package/renderers/RasterStretchRenderer.d.ts +2 -2
- package/renderers/Renderer.d.ts +1 -1
- package/renderers/VectorFieldRenderer.d.ts +1 -1
- package/renderers/mixins/VisualVariablesMixin.d.ts +3 -3
- package/renderers/support/AuthoringInfo.d.ts +1 -1
- package/renderers/support/rasterRendererHelper.d.ts +1 -1
- package/renderers/support/renderingInfoUtils.js +1 -1
- package/renderers/{interfaces.d.ts → types.d.ts} +3 -1
- package/renderers/visualVariables/SizeVariable.d.ts +1 -1
- package/renderers/visualVariables/VisualVariable.d.ts +1 -1
- package/request/{interfaces.d.ts → types.d.ts} +10 -10
- package/request.d.ts +4 -4
- package/rest/closestFacility.d.ts +1 -1
- package/rest/featureService/FeatureService.d.ts +1 -1
- package/rest/featureService/FeatureService.js +1 -1
- package/rest/featureService/{interfaces.d.ts → types.d.ts} +16 -3
- package/rest/featureService/utils.d.ts +1 -1
- package/rest/find.d.ts +1 -1
- package/rest/geometryService.d.ts +1 -1
- package/rest/geoprocessor.d.ts +1 -1
- package/rest/identify.d.ts +1 -1
- package/rest/imageService.d.ts +5 -5
- package/rest/knowledgeGraphService.d.ts +19 -19
- package/rest/lastMileDelivery.d.ts +1 -1
- package/rest/locator.d.ts +1 -1
- package/rest/networkService.d.ts +1 -1
- package/rest/networks/queryAssociations.d.ts +1 -1
- package/rest/networks/synthesizeAssociationGeometries.d.ts +1 -1
- package/rest/networks/trace.d.ts +1 -1
- package/rest/places.d.ts +1 -1
- package/rest/print.d.ts +2 -2
- package/rest/query.d.ts +2 -2
- package/rest/route.d.ts +1 -1
- package/rest/serviceArea.d.ts +1 -1
- package/rest/support/AddressToLocationsParameters.d.ts +1 -1
- package/rest/support/AddressesToLocationsParameters.d.ts +1 -1
- package/rest/support/AttributeBinsQuery.d.ts +3 -3
- package/rest/support/JobInfo.d.ts +2 -2
- package/rest/support/LastMileDeliveryParameters.d.ts +1 -1
- package/rest/support/LocationToAddressParameters.d.ts +1 -1
- package/rest/support/ParameterValue.d.ts +1 -1
- package/rest/support/ProjectParameters.d.ts +1 -1
- package/rest/symbolService.d.ts +3 -3
- package/smartMapping/heuristics/binLevel.d.ts +1 -1
- package/smartMapping/heuristics/scaleRange.d.ts +1 -1
- package/smartMapping/heuristics/sizeRange.d.ts +1 -1
- package/smartMapping/heuristics/{interfaces.d.ts → types.d.ts} +1 -1
- package/smartMapping/labels/clusters.d.ts +1 -1
- package/smartMapping/popup/clusters.d.ts +1 -1
- package/smartMapping/popup/templates.d.ts +1 -1
- package/smartMapping/raster/renderers/classBreaks.d.ts +2 -2
- package/smartMapping/raster/renderers/colormap.d.ts +1 -1
- package/smartMapping/raster/renderers/flow.d.ts +4 -4
- package/smartMapping/raster/renderers/rgb.d.ts +2 -2
- package/smartMapping/raster/renderers/shadedRelief.d.ts +1 -1
- package/smartMapping/raster/renderers/stretch.d.ts +2 -2
- package/smartMapping/raster/renderers/{interfaces.d.ts → types.d.ts} +1 -1
- package/smartMapping/raster/renderers/uniqueValue.d.ts +1 -1
- package/smartMapping/raster/renderers/vectorField.d.ts +1 -1
- package/smartMapping/raster/support/utils.d.ts +1 -1
- package/smartMapping/renderers/color.d.ts +4 -4
- package/smartMapping/renderers/dotDensity.d.ts +3 -3
- package/smartMapping/renderers/heatmap.d.ts +3 -3
- package/smartMapping/renderers/location.d.ts +2 -2
- package/smartMapping/renderers/opacity.d.ts +3 -3
- package/smartMapping/renderers/pieChart.d.ts +3 -3
- package/smartMapping/renderers/predominance.d.ts +2 -2
- package/smartMapping/renderers/relationship.d.ts +4 -4
- package/smartMapping/renderers/size.d.ts +4 -4
- package/smartMapping/renderers/support/rendererUtils.d.ts +1 -1
- package/smartMapping/renderers/type.d.ts +3 -3
- package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
- package/smartMapping/statistics/classBreaks.d.ts +2 -2
- package/smartMapping/statistics/heatmapStatistics.d.ts +2 -2
- package/smartMapping/statistics/histogram.d.ts +1 -2
- package/smartMapping/statistics/predominantCategories.d.ts +2 -2
- package/smartMapping/statistics/summaryStatistics.d.ts +2 -2
- package/smartMapping/statistics/summaryStatisticsForAge.d.ts +1 -1
- package/smartMapping/statistics/support/ageUtils.d.ts +1 -1
- package/smartMapping/statistics/types.d.ts +571 -0
- package/smartMapping/statistics/uniqueValues.d.ts +2 -2
- package/smartMapping/symbology/color.d.ts +1 -1
- package/smartMapping/symbology/dotDensity.d.ts +1 -1
- package/smartMapping/symbology/flow.d.ts +1 -1
- package/smartMapping/symbology/heatmap.d.ts +1 -1
- package/smartMapping/symbology/location.d.ts +1 -1
- package/smartMapping/symbology/pieChart.d.ts +1 -1
- package/smartMapping/symbology/predominance.d.ts +1 -1
- package/smartMapping/symbology/relationship.d.ts +1 -1
- package/smartMapping/symbology/size.d.ts +1 -1
- package/smartMapping/symbology/support/colorRamps.d.ts +1 -1
- package/smartMapping/symbology/type.d.ts +1 -1
- package/smartMapping/types.d.ts +18 -0
- package/support/groundUtils.js +1 -1
- package/support/revision.js +1 -1
- package/support/tests/setupServiceMocksMesh.js +1 -1
- package/support/timeUtils.d.ts +1 -1
- package/symbols/LineStyleMarker3D.d.ts +1 -1
- package/symbols/LineSymbol3DLayer.d.ts +1 -1
- package/symbols/LineSymbolMarker.d.ts +1 -1
- package/symbols/PathSymbol3DLayer.d.ts +1 -1
- package/symbols/SimpleLineSymbol.d.ts +1 -1
- package/symbols/patterns/LineStylePattern3D.d.ts +1 -1
- package/symbols/patterns/StylePattern3D.d.ts +1 -1
- package/symbols/support/ElevationInfo.d.ts +1 -1
- package/symbols/support/Symbol3DOutline.d.ts +1 -1
- package/symbols/support/symbolUtils.d.ts +2 -2
- package/time/TimeExtent.d.ts +1 -1
- package/unionTypes.d.ts +3 -3
- package/versionManagement/VersionManagementService.d.ts +1 -1
- package/versionManagement/VersionManager.d.ts +3 -3
- package/versionManagement/VersioningState.d.ts +1 -1
- package/versionManagement/utils.d.ts +1 -1
- package/versionManagement/versionAdapters/utils.d.ts +7 -7
- package/views/2d/analysis/ElevationProfile/ElevationProfileLineVisualization2D.js +1 -1
- package/views/2d/analysis/ElevationProfile/ElevationProfileVisualization2D.js +1 -1
- package/views/2d/analysis/ElevationProfileAnalysisView2D.d.ts +1 -2
- package/views/2d/engine/vectorTiles/style/StyleProperty.js +1 -1
- package/views/2d/layers/BaseLayerView2D.d.ts +2 -2
- package/views/2d/layers/BaseLayerViewGL2D.d.ts +9 -9
- package/views/2d/layers/ImageryLayerView2D.js +1 -1
- package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
- package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
- package/views/2d/layers/types.d.ts +6 -0
- package/views/2d/{layers/support/interfaces.d.ts → types.d.ts} +71 -2
- package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementVisualization.js +1 -1
- package/views/3d/analysis/Dimension/DimensionVisualization.js +1 -1
- package/views/3d/analysis/Dimension/LengthDimensionSubTool.js +1 -1
- package/views/3d/analysis/Dimension/lengthDimensionManipulatorUtils.js +1 -1
- package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementVisualization.js +1 -1
- package/views/3d/analysis/ElevationProfile/ElevationProfileLineVisualization3D.js +1 -1
- package/views/3d/analysis/ElevationProfile/ElevationProfileVisualization3D.js +1 -1
- package/views/3d/analysis/ElevationProfileAnalysisView3D.d.ts +1 -2
- package/views/3d/analysis/LineOfSight/LineOfSightManipulators.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightVisualization.js +1 -1
- package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +2 -2
- package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
- package/views/3d/analysis/Slice/ResizeManipulator.js +1 -1
- package/views/3d/analysis/Slice/RotateManipulator.js +1 -1
- package/views/3d/analysis/Slice/ShiftManipulator.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedArrowManipulator.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedConfiguration.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedFieldOfViewManipulation.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubVisualization.js +1 -1
- package/views/3d/analysis/Viewshed/viewshedToolManipulatorUtils.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
- package/views/3d/environment/ChapmanApproximation.glsl.js +9 -10
- package/views/3d/environment/ChapmanAtmosphere.glsl.js +1 -1
- package/views/3d/environment/ChapmanAtmosphere.js +1 -1
- package/views/3d/environment/ChapmanAtmosphereTechnique.js +1 -1
- package/views/3d/environment/ChapmanRaymarching.glsl.js +7 -9
- package/views/3d/environment/CloudsParameters.js +1 -1
- package/views/3d/environment/EnvironmentManager.js +1 -1
- package/views/3d/environment/PrecipitationTechnique.js +1 -1
- package/views/3d/environment/SceneViewEnvironment.d.ts +1 -1
- package/views/3d/environment/SimpleAtmosphereTechnique.js +1 -1
- package/views/3d/environment/types.d.ts +13 -0
- package/views/3d/interactive/SnappingVisualizer3D.js +1 -1
- package/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +1 -1
- package/views/3d/interactive/editingTools/manipulations/MoveXYAxisManipulation.js +1 -1
- package/views/3d/interactive/editingTools/manipulations/MoveXYDiscManipulation.js +1 -1
- package/views/3d/interactive/editingTools/manipulations/MoveZManipulation.js +1 -1
- package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
- package/views/3d/interactive/editingTools/settings.js +1 -1
- package/views/3d/interactive/measurementTools/areaMeasurement3D/AreaMeasurement3DView.js +1 -1
- package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DView.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/ImageryLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/SceneLayerWorker.js +1 -1
- package/views/3d/layers/{I3SMeshWorkerHandle.js → SceneLayerWorkerHandle.js} +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/pipeline/symbolization/IconSymbolLayerRenderer.js +1 -1
- package/views/3d/layers/i3s/I3SClientMaterialUtil.js +1 -1
- package/views/3d/layers/support/edgeUtils.js +1 -1
- package/views/3d/support/flow/geometryUtils.js +1 -1
- package/views/3d/support/viewpointUtils.js +1 -1
- package/views/3d/terrain/BlendLayersTechnique.js +1 -1
- package/views/3d/terrain/RasterColorizerTechnique.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- package/views/3d/webgl/ManagedFBO.d.ts +4 -5
- package/views/3d/webgl/RenderNode.d.ts +1 -1
- package/views/3d/{webgl-engine/lighting/SceneLighting.d.ts → webgl/types.d.ts} +4 -6
- package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
- package/views/3d/webgl-engine/collections/Component/SourceGeometry.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js +1 -2
- package/views/3d/webgl-engine/core/shaderLibrary/raster/RasterColorizer.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/VisualVariables.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +18 -27
- package/views/3d/webgl-engine/core/shaderModules/Float4sPassUniform.js +1 -1
- package/views/3d/webgl-engine/core/shaderModules/FloatsPassUniform.js +1 -1
- package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
- package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaOutlineItem.js +1 -1
- package/views/3d/webgl-engine/effects/haze/Haze.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
- package/views/3d/webgl-engine/effects/haze/HazeTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/HighlightApplyTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/HighlightBlurTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/HighlightToSingleTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
- package/views/3d/webgl-engine/effects/laserlines/LaserlinePathData.js +1 -1
- package/views/3d/webgl-engine/effects/laserlines/LaserlinePathTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/stars/StarsTechnique.js +1 -1
- package/views/3d/webgl-engine/lib/CutFillColor.js +1 -1
- package/views/3d/webgl-engine/lib/DefaultVertexBufferLayouts.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/TextRenderParameters.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechnique.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/bufferLayouts.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultLayouts.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
- package/views/3d/webgl-engine/materials/WaterTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/CheckerBoardTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ColorMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/CutFillMaskTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/CutFillTargetDepthTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/HeatmapDensityTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/LineMarkerTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/MeasurementArrowTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/NativeLineTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/PatternTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/PointRendererTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/SlicePlaneMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js +5 -5
- package/views/3d/webgl-engine/shaders/TerrainTechnique.js +1 -1
- package/views/LinkChartView.d.ts +5 -5
- package/views/Magnifier.d.ts +1 -1
- package/views/MapView.d.ts +11 -12
- package/views/PopupView.d.ts +1 -1
- package/views/SceneView.d.ts +19 -23
- package/views/VideoView.d.ts +1 -2
- package/views/View.d.ts +2 -3
- package/views/View2D.d.ts +8 -9
- package/views/analysis/ElevationProfile/ElevationProfileHoveredPointVisualization.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileResult.d.ts +1 -1
- package/views/analysis/ElevationProfile/types.d.ts +68 -0
- package/views/analysis/types.d.ts +2 -2
- package/views/draw/Draw.d.ts +1 -1
- package/views/draw/DrawAction.d.ts +1 -1
- package/views/draw/DrawOperation.js +1 -1
- package/views/draw/PolygonDrawAction.d.ts +1 -1
- package/views/draw/PolygonDrawAction.js +1 -1
- package/views/draw/PolylineDrawAction.d.ts +1 -1
- package/views/draw/PolylineDrawAction.js +1 -1
- package/views/draw/support/GraphicMover.js +1 -1
- package/views/draw/{interfaces.d.ts → types.d.ts} +3 -1
- package/views/input/IViewEvents.d.ts +1 -1
- package/views/interactive/Tooltip.d.ts +1 -1
- package/views/interactive/sketch/SketchValueOptions.d.ts +1 -1
- package/views/interactive/sketch/Units.d.ts +5 -1
- package/views/interactive/tooltip/types.d.ts +4 -0
- package/views/layers/BuildingComponentSublayerView.d.ts +1 -1
- package/views/layers/BuildingSceneLayerView.d.ts +1 -1
- package/views/layers/ImageryLayerViewMixin.d.ts +3 -4
- package/views/layers/PointCloudLayerView.d.ts +1 -1
- package/views/layers/support/highlightUtils.js +1 -1
- package/views/navigation/NavigationActionMap.d.ts +1 -1
- package/views/support/colorUtils.d.ts +1 -1
- package/views/{interfaces.d.ts → types.d.ts} +160 -6
- package/views/ui/DefaultUI.d.ts +1 -1
- package/views/ui/UI.d.ts +1 -1
- package/views/ui/{interfaces.d.ts → types.d.ts} +12 -1
- package/webdoc/widgets/FloorFilter.d.ts +2 -2
- package/webdoc/widgets/TimeSlider.d.ts +5 -5
- package/webmap/InitialViewProperties.d.ts +2 -2
- package/webscene/Environment.d.ts +5 -5
- package/webscene/InitialViewProperties.d.ts +0 -1
- package/webscene/Slide.d.ts +36 -4
- package/webscene/Slide.js +1 -1
- package/webscene/support/FeatureReference.d.ts +1 -1
- package/webscene/support/SlidePopupInfo.d.ts +2 -2
- package/webscene/types.d.ts +5 -1
- package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.d.ts +1 -1
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +7 -1
- package/widgets/AreaMeasurement3D.d.ts +1 -0
- package/widgets/Attachments/AttachmentsViewModel.d.ts +1 -1
- package/widgets/Attachments.d.ts +1 -1
- package/widgets/Attribution/AttributionViewModel.d.ts +2 -2
- package/widgets/BasemapGallery/support/LocalBasemapsSource.d.ts +1 -1
- package/widgets/BasemapGallery/support/PortalBasemapsSource.d.ts +1 -1
- package/widgets/BasemapGallery.d.ts +1 -1
- package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +3 -3
- package/widgets/BasemapLayerList.d.ts +2 -2
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +4 -4
- package/widgets/BatchAttributeForm/inputs/BatchFormInputs.d.ts +1 -1
- package/widgets/BatchAttributeForm/inputs/EditableInput.d.ts +1 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +1 -1
- package/widgets/BatchAttributeForm/inputs/GroupInput.d.ts +1 -1
- package/widgets/BatchAttributeForm/inputs/InputBase.d.ts +1 -1
- package/widgets/BatchAttributeForm/inputs/SingleFeatureInput.d.ts +1 -1
- package/widgets/BatchAttributeForm.d.ts +2 -2
- package/widgets/Bookmarks/BookmarksViewModel.d.ts +5 -5
- package/widgets/Bookmarks/{interfaces.d.ts → types.d.ts} +1 -1
- package/widgets/Bookmarks.d.ts +6 -7
- package/widgets/BuildingExplorer/BuildingExplorerViewModel.d.ts +1 -0
- package/widgets/BuildingExplorer/BuildingLevel.d.ts +1 -0
- package/widgets/BuildingExplorer/BuildingNumericFilterViewModel.d.ts +1 -0
- package/widgets/BuildingExplorer/BuildingPhase.d.ts +1 -0
- package/widgets/BuildingExplorer.d.ts +4 -1
- package/widgets/CatalogLayerList/CatalogLayerListViewModel.d.ts +3 -3
- package/widgets/CatalogLayerList.d.ts +2 -2
- package/widgets/Compass/CompassViewModel.d.ts +1 -1
- package/widgets/Compass.d.ts +1 -1
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +4 -4
- package/widgets/CoordinateConversion/support/Conversion.d.ts +1 -1
- package/widgets/CoordinateConversion/support/Format.d.ts +2 -2
- package/widgets/CoordinateConversion.d.ts +2 -3
- package/widgets/Daylight/DaylightViewModel.d.ts +3 -1
- package/widgets/Daylight/VisibleElements.d.ts +3 -0
- package/widgets/Daylight/types.d.ts +6 -0
- package/widgets/Daylight.d.ts +5 -3
- package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +7 -1
- package/widgets/DirectLineMeasurement3D.d.ts +1 -0
- package/widgets/DirectionalPad/DirectionalPadViewModel.d.ts +1 -2
- package/widgets/DirectionalPad/{utils.d.ts → types.d.ts} +3 -1
- package/widgets/Directions/DirectionsViewModel.d.ts +3 -3
- package/widgets/Directions.d.ts +4 -5
- package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.d.ts +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
- package/widgets/Editor/CreateFeaturesWorkflowData.d.ts +2 -2
- package/widgets/Editor/EditorViewModel.d.ts +5 -6
- package/widgets/Editor/MergeFeaturesWorkflow.d.ts +1 -1
- package/widgets/Editor/SplitFeatureWorkflow.d.ts +1 -2
- package/widgets/Editor/SplitFeatureWorkflowData.d.ts +2 -2
- package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
- package/widgets/Editor/UpdateFeaturesWorkflow.d.ts +1 -1
- package/widgets/Editor/UpdateFeaturesWorkflowData.d.ts +1 -1
- package/widgets/Editor/UpdateWorkflow.d.ts +1 -1
- package/widgets/Editor/Workflow.d.ts +1 -1
- package/widgets/Editor/support/EditorEditingCapabilities.d.ts +9 -9
- package/widgets/Editor/support/EditorItem.d.ts +4 -4
- package/widgets/Editor/support/SketchController.js +1 -1
- package/widgets/Editor/{interfaces.d.ts → types.d.ts} +9 -2
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/Editor.d.ts +10 -11
- package/widgets/ElevationProfile/ElevationProfileLine.d.ts +2 -1
- package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -0
- package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -0
- package/widgets/ElevationProfile/ElevationProfileLineQuery.d.ts +2 -1
- package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +2 -0
- package/widgets/ElevationProfile/ElevationProfileViewModel.d.ts +3 -5
- package/widgets/ElevationProfile/ElevationProfileVisibleElements.d.ts +3 -0
- package/widgets/ElevationProfile/support/ProfileLines3D.js +1 -1
- package/widgets/ElevationProfile/types.d.ts +149 -0
- package/widgets/ElevationProfile.d.ts +6 -5
- package/widgets/Expand/ExpandViewModel.d.ts +1 -1
- package/widgets/Expand.d.ts +2 -2
- package/widgets/Feature/FeatureViewModel.d.ts +5 -5
- package/widgets/Feature/{interfaces.d.ts → types.d.ts} +5 -1
- package/widgets/Feature.d.ts +3 -3
- package/widgets/FeatureForm/EditableInput.d.ts +1 -1
- package/widgets/FeatureForm/FeatureFormViewModel.d.ts +3 -3
- package/widgets/FeatureForm/FieldInput.d.ts +1 -1
- package/widgets/FeatureForm/GroupInput.d.ts +1 -1
- package/widgets/FeatureForm.d.ts +3 -3
- package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +3 -4
- package/widgets/FeatureTable/Grid/Column.d.ts +2 -3
- package/widgets/FeatureTable/Grid/{support/interfaces.d.ts → types.d.ts} +57 -0
- package/widgets/FeatureTable/RelationshipColumn.d.ts +1 -1
- package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +2 -3
- package/widgets/FeatureTable/support/interfaces.d.ts +2 -3
- package/widgets/FeatureTable.d.ts +3 -4
- package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +4 -4
- package/widgets/FeatureTemplates/TemplateItem.d.ts +1 -1
- package/widgets/FeatureTemplates/{interfaces.d.ts → types.d.ts} +1 -1
- package/widgets/FeatureTemplates.d.ts +4 -4
- package/widgets/Features/FeaturesViewModel.d.ts +12 -12
- package/widgets/Features.d.ts +11 -12
- package/widgets/FloorFilter.d.ts +1 -1
- package/widgets/Histogram/HistogramViewModel.d.ts +3 -3
- package/widgets/Histogram.d.ts +3 -3
- package/widgets/HistogramRangeSlider/HistogramRangeSliderViewModel.d.ts +3 -3
- package/widgets/HistogramRangeSlider.d.ts +11 -11
- package/widgets/Home.d.ts +1 -1
- package/widgets/LayerList/LayerListViewModel.d.ts +1 -1
- package/widgets/LayerList/ListItem.d.ts +1 -1
- package/widgets/LayerList/ListItemPanel.d.ts +1 -1
- package/widgets/LayerList/{interfaces.d.ts → types.d.ts} +2 -2
- package/widgets/LayerList.d.ts +2 -2
- package/widgets/Legend/LegendViewModel.d.ts +1 -1
- package/widgets/Legend/support/ActiveLayerInfo.d.ts +1 -1
- package/widgets/Legend.d.ts +2 -2
- package/widgets/LineOfSight/LineOfSightTarget.d.ts +1 -0
- package/widgets/LineOfSight/LineOfSightViewModel.d.ts +1 -0
- package/widgets/LineOfSight.d.ts +1 -0
- package/widgets/Locate/LocateViewModel.d.ts +1 -1
- package/widgets/Locate.d.ts +2 -2
- package/widgets/Measurement/MeasurementViewModel.d.ts +2 -2
- package/widgets/Measurement.d.ts +1 -1
- package/widgets/Popup/{interfaces.d.ts → types.d.ts} +2 -0
- package/widgets/Popup.d.ts +8 -9
- package/widgets/Print/CustomTemplate.d.ts +1 -1
- package/widgets/Print/PrintViewModel.d.ts +2 -2
- package/widgets/Print.d.ts +2 -2
- package/widgets/ScaleRangeSlider.d.ts +2 -2
- package/widgets/Search/LocatorSearchSource.d.ts +2 -2
- package/widgets/Search/SearchSource.d.ts +3 -3
- package/widgets/Search/types.d.ts +64 -0
- package/widgets/Search.d.ts +2 -2
- package/widgets/ShadowCast/DurationOptions.d.ts +1 -1
- package/widgets/ShadowCast/ShadowCastViewModel.d.ts +2 -2
- package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
- package/widgets/ShadowCast/{ShadowVisualizationType.d.ts → types.d.ts} +4 -1
- package/widgets/ShadowCast.d.ts +1 -1
- package/widgets/Sketch/SketchViewModel.d.ts +5 -5
- package/widgets/Sketch/{support/interfaces.d.ts → types.d.ts} +17 -17
- package/widgets/Sketch.d.ts +1 -1
- package/widgets/Slice/SliceViewModel.d.ts +1 -0
- package/widgets/Slice.d.ts +2 -1
- package/widgets/Slider/SliderViewModel.d.ts +3 -3
- package/widgets/Slider/{interfaces.d.ts → types.d.ts} +2 -2
- package/widgets/Slider.d.ts +4 -4
- package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
- package/widgets/Swipe.d.ts +1 -1
- package/widgets/TableList/ListItem.d.ts +1 -1
- package/widgets/TableList/TableListViewModel.d.ts +2 -2
- package/widgets/TableList.d.ts +2 -2
- package/widgets/TimeSlider/TimeSliderViewModel.d.ts +5 -5
- package/widgets/TimeSlider.d.ts +14 -15
- package/widgets/TimeZoneLabel.d.ts +1 -2
- package/widgets/Track/TrackViewModel.d.ts +1 -1
- package/widgets/Track.d.ts +1 -1
- package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.d.ts +3 -3
- package/widgets/UtilityNetworkTrace/{support/ResultAreaHandler.d.ts → types.d.ts} +2 -2
- package/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js +1 -1
- package/widgets/ValuePicker/ValuePickerSlider.d.ts +1 -1
- package/widgets/ValuePicker.d.ts +2 -2
- package/widgets/VersionManagement/VersionManagementViewModel.d.ts +3 -3
- package/widgets/Weather/VisibleElements.d.ts +3 -0
- package/widgets/Weather/WeatherViewModel.d.ts +4 -3
- package/widgets/Weather/types.d.ts +9 -0
- package/widgets/Weather.d.ts +2 -1
- package/widgets/Widget.d.ts +2 -1
- package/widgets/smartMapping/BinaryColorSizeSlider.d.ts +0 -3
- package/widgets/smartMapping/ClassedColorSlider/ClassedColorSliderViewModel.d.ts +1 -3
- package/widgets/smartMapping/ClassedColorSlider.d.ts +2 -2
- package/widgets/smartMapping/ClassedSizeSlider/ClassedSizeSliderViewModel.d.ts +1 -2
- package/widgets/smartMapping/ClassedSizeSlider.d.ts +2 -2
- package/widgets/smartMapping/ColorSizeSlider/ColorSizeSliderViewModel.d.ts +5 -5
- package/widgets/smartMapping/ColorSizeSlider.d.ts +3 -2
- package/widgets/smartMapping/ColorSlider/ColorSliderViewModel.d.ts +1 -1
- package/widgets/smartMapping/ColorSlider.d.ts +1 -1
- package/widgets/smartMapping/HeatmapSlider/HeatmapSliderViewModel.d.ts +2 -4
- package/widgets/smartMapping/HeatmapSlider.d.ts +2 -4
- package/widgets/smartMapping/OpacitySlider/OpacitySliderViewModel.d.ts +1 -1
- package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
- package/widgets/smartMapping/SizeSlider.d.ts +2 -2
- package/widgets/smartMapping/SmartMappingPrimaryHandleSliderViewModel.d.ts +2 -2
- package/widgets/smartMapping/SmartMappingSliderBase.d.ts +11 -14
- package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +5 -6
- package/widgets/smartMapping/{support/interfaces.d.ts → types.d.ts} +52 -5
- package/widgets/support/GeolocationPositioning.d.ts +1 -1
- package/widgets/support/GoTo.d.ts +1 -1
- package/widgets/support/GridControls/GridControlsViewModel.d.ts +1 -1
- package/widgets/support/forms/types.d.ts +4 -0
- package/widgets/support/{goToUtils.d.ts → types.d.ts} +9 -2
- package/widgets/{interfaces.d.ts → types.d.ts} +71 -15
- package/arcade/featureset/support/shared.d.ts +0 -16
- package/assets/esri/core/workers/chunks/0359ac6d938e0df936d0.js +0 -1
- package/assets/esri/core/workers/chunks/1db058f91a8e17b24db6.js +0 -1
- package/assets/esri/core/workers/chunks/1e286fb7bb833f00dd88.js +0 -1
- package/assets/esri/core/workers/chunks/262232437d37a7460b11.js +0 -1
- package/assets/esri/core/workers/chunks/2d6fa00273a73d44297d.js +0 -1
- package/assets/esri/core/workers/chunks/2fae37f34b28a46841e3.js +0 -1
- package/assets/esri/core/workers/chunks/3b1471f908fdecec2815.js +0 -1
- package/assets/esri/core/workers/chunks/48b3906ac3ec57253d90.js +0 -1
- package/assets/esri/core/workers/chunks/49b581782f63abb6dd9f.js +0 -1
- package/assets/esri/core/workers/chunks/4abe2c56aecc9e9b8e86.js +0 -1
- package/assets/esri/core/workers/chunks/51b78eca012eac92dd07.js +0 -1
- package/assets/esri/core/workers/chunks/5ce524e0060053f35592.js +0 -316
- package/assets/esri/core/workers/chunks/5d244fcf5c075afccdc6.js +0 -1
- package/assets/esri/core/workers/chunks/6b8c15f3970289e73a47.js +0 -1
- package/assets/esri/core/workers/chunks/6cfcfebe9a4c491e453a.js +0 -1
- package/assets/esri/core/workers/chunks/710b29729f252f11115d.js +0 -1
- package/assets/esri/core/workers/chunks/72a520802b8accfd4512.js +0 -1
- package/assets/esri/core/workers/chunks/73892ac79b24b05e6863.js +0 -33
- package/assets/esri/core/workers/chunks/75d8244b725a2aee2003.js +0 -1
- package/assets/esri/core/workers/chunks/93b139be6488a1b4ba19.js +0 -1
- package/assets/esri/core/workers/chunks/a5e7c9517939f762c518.js +0 -1
- package/assets/esri/core/workers/chunks/a63ff3e9a9f3853d12f3.js +0 -1
- package/assets/esri/core/workers/chunks/a81a7cba815adb575c36.js +0 -1
- package/assets/esri/core/workers/chunks/a8fd635d1165db8616ab.js +0 -1
- package/assets/esri/core/workers/chunks/b638ce18b93d3cfb9967.js +0 -1
- package/assets/esri/core/workers/chunks/ba7e97b1e324118b8156.js +0 -1
- package/assets/esri/core/workers/chunks/c0d6336c10b4081c4e32.js +0 -1
- package/assets/esri/core/workers/chunks/cc4ae105e727d9211d82.js +0 -1
- package/assets/esri/core/workers/chunks/d7a62504e00989202c45.js +0 -1
- package/assets/esri/core/workers/chunks/e25be3b6b67ce6b03011.js +0 -1
- package/assets/esri/core/workers/chunks/e5ac9b048b16fef9840c.js +0 -1
- package/assets/esri/core/workers/chunks/ec7e6427d99cf3148a61.js +0 -1
- package/assets/esri/core/workers/chunks/efa95c50d1ed8e74219f.js +0 -1
- package/assets/esri/core/workers/chunks/f379fd459a103f42d447.js +0 -1
- package/assets/esri/core/workers/chunks/ffcdc7ae03b0570e0db8.js +0 -1
- package/geometry/interfaces.d.ts +0 -2
- package/geometry/support/interfaces.d.ts +0 -3
- package/geometry/support/meshUtils/exporters/gltf/interfaces.d.ts +0 -11
- package/renderers/support/interfaces.d.ts +0 -2
- package/smartMapping/statistics/interfaces.d.ts +0 -571
- package/smartMapping/support/adapters/interfaces.d.ts +0 -18
- package/views/2d/ViewStateManager.d.ts +0 -2
- package/views/2d/interfaces.d.ts +0 -67
- package/views/2d/layers/support/clusterUtils.d.ts +0 -6
- package/views/3d/environment/lightingUtils.d.ts +0 -4
- package/views/3d/environment/weather.d.ts +0 -9
- package/views/3d/interactive/visualElements/DrapedVisualElementResources.d.ts +0 -2
- package/views/3d/support/QualityProfile.d.ts +0 -2
- package/views/SceneViewHitTestResult.d.ts +0 -64
- package/views/ViewingMode.d.ts +0 -2
- package/views/analysis/ElevationProfile/ElevationProfileHoveredPointsVisualization.js +0 -5
- package/views/analysis/ElevationProfile/interfaces.d.ts +0 -73
- package/views/draw/DrawingMode.d.ts +0 -2
- package/views/draw/support/drawUtils.d.ts +0 -7
- package/views/interactive/sketch/interfaces.d.ts +0 -2
- package/views/interactive/tooltip/interfaces.d.ts +0 -2
- package/views/support/interfaces.d.ts +0 -87
- package/views/ui/Padding.d.ts +0 -11
- package/views/viewType.d.ts +0 -2
- package/views/webgl/enums.d.ts +0 -38
- package/webscene/support/featureReferenceUtils.d.ts +0 -4
- package/widgets/Daylight/support/daylightUtils.d.ts +0 -4
- package/widgets/DirectionalPad/constants.d.ts +0 -2
- package/widgets/Editor/support/splitFeatureUtils.d.ts +0 -7
- package/widgets/ElevationProfile/ElevationProfileInteraction.d.ts +0 -13
- package/widgets/ElevationProfile/elevationProfileLineTypes.d.ts +0 -6
- package/widgets/ElevationProfile/interfaces.d.ts +0 -103
- package/widgets/ElevationProfile/support/constants.d.ts +0 -14
- package/widgets/Feature/support/arcadeFeatureUtils.d.ts +0 -4
- package/widgets/FeatureTable/Grid/interfaces.d.ts +0 -57
- package/widgets/Popup/actions.d.ts +0 -4
- package/widgets/Search/support/interfaces.d.ts +0 -67
- package/widgets/ShadowCast/DurationMode.d.ts +0 -3
- package/widgets/Weather/enums.d.ts +0 -9
- package/widgets/smartMapping/ClassedColorSlider/interfaces.d.ts +0 -19
- package/widgets/smartMapping/ClassedSizeSlider/interfaces.d.ts +0 -18
- package/widgets/smartMapping/interfaces.d.ts +0 -13
- package/widgets/support/Heading.d.ts +0 -7
- package/widgets/support/forms/formUtils.d.ts +0 -2
- package/widgets/support/forms/interfaces.d.ts +0 -2
- package/widgets/support/interfaces.d.ts +0 -56
- /package/analysis/{interfaces.d.ts → types.d.ts} +0 -0
- /package/core/accessorSupport/{interfaces.d.ts → types.d.ts} +0 -0
- /package/core/{interfaces.d.ts → types.d.ts} +0 -0
- /package/editing/sharedTemplates/{interfaces.d.ts → types.d.ts} +0 -0
- /package/editing/{interfaces.d.ts → types.d.ts} +0 -0
- /package/layers/effects/{interfaces.d.ts → types.d.ts} +0 -0
- /package/layers/orientedImagery/{interfaces.d.ts → types.d.ts} +0 -0
- /package/layers/raster/datasets/{interfaces.d.ts → types.d.ts} +0 -0
- /package/layers/raster/functions/{interfaces.d.ts → types.d.ts} +0 -0
- /package/linkChart/{interfaces.d.ts → types.d.ts} +0 -0
- /package/popup/{interfaces.d.ts → types.d.ts} +0 -0
- /package/rest/lastMileDelivery/{interfaces.d.ts → types.d.ts} +0 -0
- /package/rest/{interfaces.d.ts → types.d.ts} +0 -0
- /package/smartMapping/popup/{interfaces.d.ts → types.d.ts} +0 -0
- /package/smartMapping/raster/support/adapters/{interfaces.d.ts → types.d.ts} +0 -0
- /package/smartMapping/symbology/{interfaces.d.ts → types.d.ts} +0 -0
- /package/statistics/{interfaces.d.ts → types.d.ts} +0 -0
- /package/symbols/support/{interfaces.d.ts → types.d.ts} +0 -0
- /package/symbols/{interfaces.d.ts → types.d.ts} +0 -0
- /package/time/{interfaces.d.ts → types.d.ts} +0 -0
- /package/versionManagement/versionAdapters/{interfaces.d.ts → types.d.ts} +0 -0
- /package/views/2d/analysis/{interfaces.d.ts → types.d.ts} +0 -0
- /package/views/3d/analysis/{interfaces.d.ts → types.d.ts} +0 -0
- /package/views/3d/{interfaces.d.ts → types.d.ts} +0 -0
- /package/views/animation/{easing.d.ts → types.d.ts} +0 -0
- /package/views/draw/{DrawingMode.js → drawingModes.js} +0 -0
- /package/views/input/{interfaces.d.ts → types.d.ts} +0 -0
- /package/views/navigation/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/Attachments/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/BasemapGallery/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/BasemapLayerList/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/BatchAttributeForm/inputs/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/BatchAttributeForm/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/CatalogLayerList/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/FeatureForm/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/Histogram/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/HistogramRangeSlider/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/Measurement/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/OrientedImageryViewer/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/Print/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/ScaleRangeSlider/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/Swipe/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/TableList/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/TimeSlider/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/Track/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/ValuePicker/{interfaces.d.ts → types.d.ts} +0 -0
- /package/widgets/support/GridControls/{interfaces.d.ts → types.d.ts} +0 -0
|
@@ -6,15 +6,22 @@ import type Point from "../geometry/Point.js";
|
|
|
6
6
|
import type Layer from "../layers/Layer.js";
|
|
7
7
|
import type MediaLayer from "../layers/MediaLayer.js";
|
|
8
8
|
import type RouteLayer from "../layers/RouteLayer.js";
|
|
9
|
-
import type {
|
|
9
|
+
import type { ReadonlyArrayOrCollection } from "../core/Collection.js";
|
|
10
10
|
import type { AbortOptions } from "../core/promiseUtils.js";
|
|
11
|
+
import type { ScreenPoint } from "../core/types.js";
|
|
11
12
|
import type { GeometryUnion } from "../geometry/support/typeUtils.js";
|
|
12
13
|
import type { MediaElement } from "../layers/support/media.js";
|
|
13
14
|
import type { NetworkFeature } from "../rest/support/interfaces.js";
|
|
14
|
-
import type { EasingName } from "./animation/
|
|
15
|
+
import type { EasingName } from "./animation/types.js";
|
|
15
16
|
|
|
16
17
|
export type HighlightTarget = Graphic | Graphic[] | Collection<Graphic>;
|
|
17
18
|
|
|
19
|
+
export interface SingleBandPixelHighlightTarget {}
|
|
20
|
+
|
|
21
|
+
export interface XYBandPixelHighlightTarget {}
|
|
22
|
+
|
|
23
|
+
export type PixelHighlightTarget = SingleBandPixelHighlightTarget | XYBandPixelHighlightTarget;
|
|
24
|
+
|
|
18
25
|
export type TargetBase = number[] | GeometryUnion | GeometryUnion[] | Graphic | Graphic[] | Viewpoint;
|
|
19
26
|
|
|
20
27
|
export type Target2D = TargetBase;
|
|
@@ -190,14 +197,14 @@ export interface FetchPopupFeaturesResult {
|
|
|
190
197
|
}
|
|
191
198
|
|
|
192
199
|
/**
|
|
193
|
-
* Object specification for the result returned in [ViewHitTestResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-
|
|
200
|
+
* Object specification for the result returned in [ViewHitTestResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-types.html#ViewHitTestResult) of the [MapView#hitTest()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#hitTest) method.
|
|
194
201
|
*
|
|
195
202
|
* @since 4.24
|
|
196
203
|
*/
|
|
197
204
|
export type ViewHit = GraphicHit | MediaHit | RouteHit;
|
|
198
205
|
|
|
199
206
|
/**
|
|
200
|
-
* Object specification for the graphic hit result returned in [ViewHitTestResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-
|
|
207
|
+
* Object specification for the graphic hit result returned in [ViewHitTestResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-types.html#ViewHitTestResult) of the [MapView#hitTest()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#hitTest) method.
|
|
201
208
|
* See the table below for the specification of each property in this object.
|
|
202
209
|
*
|
|
203
210
|
* @since 4.24
|
|
@@ -221,7 +228,7 @@ export interface GraphicHit {
|
|
|
221
228
|
}
|
|
222
229
|
|
|
223
230
|
/**
|
|
224
|
-
* Object specification for the media hit results returned from [MediaLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MediaLayer.html) in [ViewHitTestResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-
|
|
231
|
+
* Object specification for the media hit results returned from [MediaLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MediaLayer.html) in [ViewHitTestResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-types.html#ViewHitTestResult) of the [MapView#hitTest()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#hitTest) method.
|
|
225
232
|
* See the table below for the specification of each property in this object.
|
|
226
233
|
*
|
|
227
234
|
* @since 4.24
|
|
@@ -242,7 +249,7 @@ export interface MediaHit {
|
|
|
242
249
|
}
|
|
243
250
|
|
|
244
251
|
/**
|
|
245
|
-
* Object specification for the route hit results returned from [RouteLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-RouteLayer.html) in [ViewHitTestResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-
|
|
252
|
+
* Object specification for the route hit results returned from [RouteLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-RouteLayer.html) in [ViewHitTestResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-types.html#ViewHitTestResult) of the [MapView#hitTest()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#hitTest) method.
|
|
246
253
|
* See the table below for the specification of each property in this object.
|
|
247
254
|
*
|
|
248
255
|
* @since 4.24
|
|
@@ -271,4 +278,151 @@ export interface ViewHitTestResult {
|
|
|
271
278
|
results: ViewHit[];
|
|
272
279
|
/** The screen coordinates (or native mouse event) of the click on the view. */
|
|
273
280
|
screenPoint: ScreenPoint;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Object returned when [MapView#takeScreenshot()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#takeScreenshot) or [SceneView#takeScreenshot()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#takeScreenshot) promise resolves:
|
|
285
|
+
*
|
|
286
|
+
* @since 4.9
|
|
287
|
+
*/
|
|
288
|
+
export interface Screenshot {
|
|
289
|
+
/** The raw RGBA image data. */
|
|
290
|
+
data: ImageData;
|
|
291
|
+
/** A data url representing the screenshot. */
|
|
292
|
+
dataUrl: string;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export interface EncodingSettings {
|
|
296
|
+
/**
|
|
297
|
+
* The format of the encoded image data. Defaults to png.
|
|
298
|
+
*
|
|
299
|
+
* @default png
|
|
300
|
+
*/
|
|
301
|
+
format: "png" | "jpeg" | "jpg";
|
|
302
|
+
/**
|
|
303
|
+
* The quality (between 0 and 100) of the jpg encoded image data. Defaults to 90.
|
|
304
|
+
*
|
|
305
|
+
* @default 98
|
|
306
|
+
*/
|
|
307
|
+
quality: number;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export interface SettingsCommon extends EncodingSettings {
|
|
311
|
+
/**
|
|
312
|
+
* Indicates whether to ignore the background
|
|
313
|
+
* color set in the [initial view properties](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#initialViewProperties) of the web map.
|
|
314
|
+
*
|
|
315
|
+
* @default false
|
|
316
|
+
*/
|
|
317
|
+
ignoreBackground?: boolean;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export interface Rect {
|
|
321
|
+
/** The height of the area. */
|
|
322
|
+
height: number;
|
|
323
|
+
/** The width of the area. */
|
|
324
|
+
width: number;
|
|
325
|
+
/** The x coordinate of the area. */
|
|
326
|
+
x: number;
|
|
327
|
+
/** The y coordinate of the area. */
|
|
328
|
+
y: number;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Param settings used to capture screenshots
|
|
333
|
+
* area refer to the upper left corner of the readback area, where width and height designate the size of the area for reading
|
|
334
|
+
* Width and height indicate the target image's width and height
|
|
335
|
+
* Format indicate the output image format (PNG or JPEG) which quality indicate the compression level (and hence the quality of the resulting image)
|
|
336
|
+
*/
|
|
337
|
+
export interface UserSettings extends SettingsCommon {
|
|
338
|
+
/**
|
|
339
|
+
* Specifies whether to take a screenshot of a specific
|
|
340
|
+
* area of the view. The area coordinates are relative to the origin of the padded view (see
|
|
341
|
+
* [MapView#padding](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#padding)/[SceneView#padding](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#padding)) and will be clipped to the
|
|
342
|
+
* view size. Defaults to the whole view (padding excluded).
|
|
343
|
+
*/
|
|
344
|
+
area: Rect;
|
|
345
|
+
/**
|
|
346
|
+
* The height of the screenshot (defaults to the area height). The
|
|
347
|
+
* width will be derived automatically if left unspecified, according to the aspect ratio of the
|
|
348
|
+
* screenshot area.
|
|
349
|
+
*/
|
|
350
|
+
height: number;
|
|
351
|
+
/**
|
|
352
|
+
* Indicates whether view padding should be ignored.
|
|
353
|
+
* Set this property to `true` to allow padded areas to be included in the screenshot.
|
|
354
|
+
*
|
|
355
|
+
* @default false
|
|
356
|
+
*/
|
|
357
|
+
ignorePadding: boolean;
|
|
358
|
+
/** An optional list of layers to be included in the screenshot. */
|
|
359
|
+
layers?: ReadonlyArrayOrCollection<Layer>;
|
|
360
|
+
/**
|
|
361
|
+
* The width of the screenshot (defaults to the area width). The
|
|
362
|
+
* height will be derived automatically if left unspecified, according to the aspect ratio of the
|
|
363
|
+
* of the screenshot area.
|
|
364
|
+
*/
|
|
365
|
+
width: number;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export type HitExtension<T> = T
|
|
369
|
+
& {
|
|
370
|
+
/** The distance from the camera position to the point geometry hit on this graphic. In global scenes the distance will be in meters while in local scenes the distance will be in the unit of the spatial reference of the view. */
|
|
371
|
+
distance: number;
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Object specification for the result returned in {@link views/SceneViewHitTestResult!SceneViewHitTestResult} of the [SceneView#hitTest()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest) method.
|
|
376
|
+
*
|
|
377
|
+
* @since 4.24
|
|
378
|
+
*/
|
|
379
|
+
export type SceneViewHit = SceneViewGraphicHit | SceneViewMediaHit | SceneViewRouteHit;
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Object specification for the graphic hit result returned in {@link views/SceneViewHitTestResult!SceneViewHitTestResult} of the [SceneView#hitTest()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest) method.
|
|
383
|
+
* See the table below for the specification of each property in this object.
|
|
384
|
+
*
|
|
385
|
+
* @since 4.24
|
|
386
|
+
*/
|
|
387
|
+
export type SceneViewGraphicHit = HitExtension<GraphicHit>;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Object specification for the media hit results returned from [MediaLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MediaLayer.html) in {@link views/SceneViewHitTestResult!SceneViewHitTestResult} of the [SceneView#hitTest()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest) method.
|
|
391
|
+
* See the table below for the specification of each property in this object.
|
|
392
|
+
*
|
|
393
|
+
* @since 4.24
|
|
394
|
+
*/
|
|
395
|
+
export type SceneViewMediaHit = HitExtension<MediaHit>;
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Object specification for the route hit results returned from [RouteLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-RouteLayer.html) in {@link views/SceneViewHitTestResult!SceneViewHitTestResult} of the [SceneView#hitTest()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest) method.
|
|
399
|
+
* See the table below for the specification of each property in this object.
|
|
400
|
+
*
|
|
401
|
+
* @since 4.24
|
|
402
|
+
*/
|
|
403
|
+
export type SceneViewRouteHit = HitExtension<RouteHit>;
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* Object specification for the result of the [SceneView#hitTest()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest) method.
|
|
407
|
+
*
|
|
408
|
+
* @since 4.24
|
|
409
|
+
*/
|
|
410
|
+
export interface SceneViewHitTestResult extends ViewHitTestResult {
|
|
411
|
+
/** Ground intersection result. The ground hit result will always be returned, even if the ground was excluded from the [SceneView#hitTest()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest). */
|
|
412
|
+
ground: SceneViewHitTestResultGround;
|
|
413
|
+
/**
|
|
414
|
+
* An array of result objects returned from the [SceneView#hitTest()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest)
|
|
415
|
+
* when the location of the input screen coordinates intersect features in the view.
|
|
416
|
+
*/
|
|
417
|
+
results: SceneViewHit[];
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export interface SceneViewHitTestResultGround {
|
|
421
|
+
/** The distance from camera position to the ground hit. The distance will be `0` if the ground was not hit at all. In global scenes the distance will be in meters while in local scenes the distance will be in the unit of the spatial reference of the view. */
|
|
422
|
+
distance: number;
|
|
423
|
+
/**
|
|
424
|
+
* The point at which the ground was hit while performing the
|
|
425
|
+
* hitTest. This may be `null` when the ground was not hit at all (for example by clicking on the sky).
|
|
426
|
+
*/
|
|
427
|
+
mapPoint: Point;
|
|
274
428
|
}
|
package/views/ui/DefaultUI.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type UI from "./UI.js";
|
|
2
|
-
import type { ComponentName } from "./
|
|
2
|
+
import type { ComponentName } from "./types.js";
|
|
3
3
|
import type { UIProperties } from "./UI.js";
|
|
4
4
|
|
|
5
5
|
export interface DefaultUIProperties extends UIProperties, Partial<Pick<DefaultUI, "components">> {}
|
package/views/ui/UI.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type MapView from "../MapView.js";
|
|
|
2
2
|
import type SceneView from "../SceneView.js";
|
|
3
3
|
import type Widget from "../../widgets/Widget.js";
|
|
4
4
|
import type { EventedAccessor, EventedMixinProperties } from "../../core/Evented.js";
|
|
5
|
-
import type { Options, ComponentCompatible, MoveOptions, UIPosition } from "./
|
|
5
|
+
import type { Options, ComponentCompatible, MoveOptions, UIPosition } from "./types.js";
|
|
6
6
|
|
|
7
7
|
export interface UIProperties extends EventedMixinProperties, Partial<Pick<UI, "container" | "view">> {
|
|
8
8
|
/**
|
|
@@ -47,4 +47,15 @@ export type ComponentCompatible = Widget | HTMLElement | string;
|
|
|
47
47
|
/** The UI position of an element in the view. */
|
|
48
48
|
export type UIPosition = UICornerPosition | "manual";
|
|
49
49
|
|
|
50
|
-
export type UICornerPosition = "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-leading" | "top-trailing" | "bottom-leading" | "bottom-trailing";
|
|
50
|
+
export type UICornerPosition = "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-leading" | "top-trailing" | "bottom-leading" | "bottom-trailing";
|
|
51
|
+
|
|
52
|
+
export interface Padding {
|
|
53
|
+
/** The bottom padding (in pixels). */
|
|
54
|
+
bottom: number;
|
|
55
|
+
/** The left padding (in pixels). */
|
|
56
|
+
left: number;
|
|
57
|
+
/** The right padding (in pixels). */
|
|
58
|
+
right: number;
|
|
59
|
+
/** The top padding (in pixels). */
|
|
60
|
+
top: number;
|
|
61
|
+
}
|
|
@@ -12,10 +12,10 @@ export default abstract class FloorFilter extends JSONSupport {
|
|
|
12
12
|
accessor enabled: boolean;
|
|
13
13
|
/** Contains the facility ID for the initially selected [FloorFilter#facility](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FloorFilter.html#facility) in the floor filter. */
|
|
14
14
|
accessor facility: string | null | undefined;
|
|
15
|
-
/** Contains the level ID for the initially selected
|
|
15
|
+
/** Contains the level ID for the initially selected [floor](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FloorFilter.html#level), which is used when filtering layers by their configured floor-aware properties. */
|
|
16
16
|
accessor level: string | null | undefined;
|
|
17
17
|
/**
|
|
18
|
-
* Indicates whether the levels list is showing the long names from
|
|
18
|
+
* Indicates whether the levels list is showing the long names from [FloorFilter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FloorFilter.html).
|
|
19
19
|
*
|
|
20
20
|
* @default false
|
|
21
21
|
*/
|
|
@@ -9,9 +9,9 @@ export interface TimeSliderProperties extends JSONSupportMixinProperties, Partia
|
|
|
9
9
|
currentTimeExtent?: TimeExtentProperties | null;
|
|
10
10
|
/** The temporal extent for the entire slider. See the [TimeSlider#fullTimeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#fullTimeExtent) property of the time slider widget for more information. */
|
|
11
11
|
fullTimeExtent?: TimeExtentProperties | null;
|
|
12
|
-
/** Defines regularly spaced stops on the time slider from a [TimeInterval](https://developers.arcgis.com/javascript/latest/api-reference/esri-time-TimeInterval.html) object. See the time slider widget's [TimeSlider#stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#stops) and [StopsByInterval](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider-
|
|
12
|
+
/** Defines regularly spaced stops on the time slider from a [TimeInterval](https://developers.arcgis.com/javascript/latest/api-reference/esri-time-TimeInterval.html) object. See the time slider widget's [TimeSlider#stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#stops) and [StopsByInterval](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider-types.html#StopsByInterval) properties. */
|
|
13
13
|
stopInterval?: TimeIntervalProperties | null;
|
|
14
|
-
/** An array of dates for the time slider widget. Can be used to create irregularly spaced stops. See the time slider widget's [TimeSlider#stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#stops) and [StopsByDates](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider-
|
|
14
|
+
/** An array of dates for the time slider widget. Can be used to create irregularly spaced stops. See the time slider widget's [TimeSlider#stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#stops) and [StopsByDates](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider-types.html#StopsByDates) properties. */
|
|
15
15
|
stops?: (Date | number | string)[] | null;
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -39,16 +39,16 @@ export default class TimeSlider extends JSONSupport {
|
|
|
39
39
|
* @default false
|
|
40
40
|
*/
|
|
41
41
|
accessor loop: boolean;
|
|
42
|
-
/** The number of stops. It divides the time slider's [TimeSlider#fullTimeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#fullTimeExtent) into equal parts. See the time slider widget's [TimeSlider#stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#stops) and [StopsByCount](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider-
|
|
42
|
+
/** The number of stops. It divides the time slider's [TimeSlider#fullTimeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#fullTimeExtent) into equal parts. See the time slider widget's [TimeSlider#stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#stops) and [StopsByCount](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider-types.html#StopsByCount) properties. */
|
|
43
43
|
accessor numStops: number | null | undefined;
|
|
44
44
|
/** The thumb count. See the time slider widget's [TimeSlider#mode](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#mode) and [TimeSlider#timeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#timeExtent) properties. This value defaults to 1. */
|
|
45
45
|
accessor numThumbs: ThumbCountType;
|
|
46
46
|
/** The time rate in milliseconds between animation steps. See the time slider widget's [TimeSlider#playRate](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#playRate) property. This value defaults to 1000. */
|
|
47
47
|
accessor stopDelay: number;
|
|
48
|
-
/** Defines regularly spaced stops on the time slider from a [TimeInterval](https://developers.arcgis.com/javascript/latest/api-reference/esri-time-TimeInterval.html) object. See the time slider widget's [TimeSlider#stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#stops) and [StopsByInterval](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider-
|
|
48
|
+
/** Defines regularly spaced stops on the time slider from a [TimeInterval](https://developers.arcgis.com/javascript/latest/api-reference/esri-time-TimeInterval.html) object. See the time slider widget's [TimeSlider#stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#stops) and [StopsByInterval](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider-types.html#StopsByInterval) properties. */
|
|
49
49
|
get stopInterval(): TimeInterval | null | undefined;
|
|
50
50
|
set stopInterval(value: TimeIntervalProperties | null | undefined);
|
|
51
|
-
/** An array of dates for the time slider widget. Can be used to create irregularly spaced stops. See the time slider widget's [TimeSlider#stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#stops) and [StopsByDates](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider-
|
|
51
|
+
/** An array of dates for the time slider widget. Can be used to create irregularly spaced stops. See the time slider widget's [TimeSlider#stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#stops) and [StopsByDates](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider-types.html#StopsByDates) properties. */
|
|
52
52
|
get stops(): Date[] | null | undefined;
|
|
53
53
|
set stops(value: (Date | number | string)[] | null | undefined);
|
|
54
54
|
}
|
|
@@ -4,7 +4,7 @@ import type SpatialReference from "../geometry/SpatialReference.js";
|
|
|
4
4
|
import type TimeExtent from "../time/TimeExtent.js";
|
|
5
5
|
import type ColorBackground from "./background/ColorBackground.js";
|
|
6
6
|
import type { ClonableMixin, ClonableMixinProperties } from "../core/Clonable.js";
|
|
7
|
-
import type { TimeZone } from "../time/
|
|
7
|
+
import type { TimeZone } from "../time/types.js";
|
|
8
8
|
import type { ColorBackgroundProperties } from "./background/ColorBackground.js";
|
|
9
9
|
import type { SpatialReferenceProperties } from "../geometry/SpatialReference.js";
|
|
10
10
|
import type { TimeExtentProperties } from "../time/TimeExtent.js";
|
|
@@ -57,7 +57,7 @@ export default class InitialViewProperties extends InitialViewPropertiesSupercla
|
|
|
57
57
|
get timeExtent(): TimeExtent | null | undefined;
|
|
58
58
|
set timeExtent(value: TimeExtentProperties | null | undefined);
|
|
59
59
|
/**
|
|
60
|
-
* The initial
|
|
60
|
+
* The initial [time zone](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#timeZone) of the [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html).
|
|
61
61
|
*
|
|
62
62
|
* **Possible Values**
|
|
63
63
|
*
|
|
@@ -2,7 +2,7 @@ import type SunLighting from "./SunLighting.js";
|
|
|
2
2
|
import type VirtualLighting from "./VirtualLighting.js";
|
|
3
3
|
import type Background from "./background/Background.js";
|
|
4
4
|
import type { JSONSupport, JSONSupportMixinProperties } from "../core/JSONSupport.js";
|
|
5
|
-
import type {
|
|
5
|
+
import type { WeatherUnion } from "../views/3d/environment/types.js";
|
|
6
6
|
import type { VirtualLightingProperties } from "./VirtualLighting.js";
|
|
7
7
|
import type { SunLightingProperties } from "./SunLighting.js";
|
|
8
8
|
import type { BackgroundProperties } from "./background/Background.js";
|
|
@@ -27,7 +27,7 @@ export interface EnvironmentProperties extends JSONSupportMixinProperties, Parti
|
|
|
27
27
|
lighting?: (SunLightingProperties & { type?: "sun" }) | (VirtualLightingProperties & { type: "virtual" });
|
|
28
28
|
/**
|
|
29
29
|
* Indicates the type of weather visualization in the scene.
|
|
30
|
-
* This setting does not have any effect in
|
|
30
|
+
* This setting does not have any effect in [local scenes](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#viewingMode).
|
|
31
31
|
*
|
|
32
32
|
* Known Value | Example
|
|
33
33
|
* ------------|---------
|
|
@@ -45,7 +45,7 @@ export interface EnvironmentProperties extends JSONSupportMixinProperties, Parti
|
|
|
45
45
|
/**
|
|
46
46
|
* Represents settings that affect the environment in
|
|
47
47
|
* which the [WebScene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html) is displayed (such as lighting). It is part of the
|
|
48
|
-
*
|
|
48
|
+
* [initial state](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html#initialViewProperties) of the WebScene
|
|
49
49
|
* as well as [Presentation#slides](https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-Presentation.html#slides) in the presentation.
|
|
50
50
|
*
|
|
51
51
|
* @since 4.0
|
|
@@ -82,7 +82,7 @@ export default class Environment extends JSONSupport {
|
|
|
82
82
|
accessor starsEnabled: boolean;
|
|
83
83
|
/**
|
|
84
84
|
* Indicates the type of weather visualization in the scene.
|
|
85
|
-
* This setting does not have any effect in
|
|
85
|
+
* This setting does not have any effect in [local scenes](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#viewingMode).
|
|
86
86
|
*
|
|
87
87
|
* Known Value | Example
|
|
88
88
|
* ------------|---------
|
|
@@ -94,7 +94,7 @@ export default class Environment extends JSONSupport {
|
|
|
94
94
|
*
|
|
95
95
|
* @default SunnyWeather
|
|
96
96
|
*/
|
|
97
|
-
get weather():
|
|
97
|
+
get weather(): WeatherUnion;
|
|
98
98
|
set weather(value: ((SunnyWeatherProperties & { type: "sunny" }) | (CloudyWeatherProperties & { type: "cloudy" }) | (RainyWeatherProperties & { type: "rainy" }) | (SnowyWeatherProperties & { type: "snowy" }) | (FoggyWeatherProperties & { type: "foggy" })));
|
|
99
99
|
/**
|
|
100
100
|
* Creates a deep clone of this object.
|
|
@@ -81,7 +81,6 @@ export default class InitialViewProperties extends InitialViewPropertiesSupercla
|
|
|
81
81
|
* the view's camera below the surface of a basemap in local scenes.
|
|
82
82
|
*
|
|
83
83
|
* @default "global"
|
|
84
|
-
* @see {@link webscene/InitialViewProperties#clippingArea}
|
|
85
84
|
* @see [Sample - Create a local scene](https://developers.arcgis.com/javascript/latest/sample-code/scene-local/)
|
|
86
85
|
*/
|
|
87
86
|
accessor viewingMode: "local" | "global";
|
package/webscene/Slide.d.ts
CHANGED
|
@@ -9,9 +9,9 @@ import type SlideGround from "./support/SlideGround.js";
|
|
|
9
9
|
import type Title from "./support/Title.js";
|
|
10
10
|
import type { BasemapProperties } from "../Basemap.js";
|
|
11
11
|
import type { ClonableMixin, ClonableMixinProperties } from "../core/Clonable.js";
|
|
12
|
+
import type { EventedMixin, EventedMixinProperties } from "../core/Evented.js";
|
|
12
13
|
import type { JSONSupport, JSONSupportMixinProperties } from "../core/JSONSupport.js";
|
|
13
|
-
import type { GoToOptions3D } from "../views/
|
|
14
|
-
import type { UserSettings as ScreenshotUserSettings } from "../views/support/interfaces.js";
|
|
14
|
+
import type { GoToOptions3D, UserSettings as ScreenshotUserSettings } from "../views/types.js";
|
|
15
15
|
import type { SlideThumbnail, SlideThumbnailProperties } from "../webdoc/support/SlideThumbnail.js";
|
|
16
16
|
import type { DescriptionProperties } from "./support/Description.js";
|
|
17
17
|
import type { SlideEnvironment, SlideEnvironmentProperties } from "./support/SlideEnvironment.js";
|
|
@@ -23,7 +23,7 @@ import type { ReadonlyArrayOrCollection } from "../core/Collection.js";
|
|
|
23
23
|
import type { TimeExtentProperties } from "../time/TimeExtent.js";
|
|
24
24
|
import type { SlideElementsProperties } from "./support/SlideElements.js";
|
|
25
25
|
|
|
26
|
-
export interface SlideProperties extends JSONSupportMixinProperties, ClonableMixinProperties, Partial<Pick<Slide, "hidden" | "id" | "layout">> {
|
|
26
|
+
export interface SlideProperties extends JSONSupportMixinProperties, EventedMixinProperties, ClonableMixinProperties, Partial<Pick<Slide, "hidden" | "id" | "layout">> {
|
|
27
27
|
/**
|
|
28
28
|
* The basemap of the scene. Only the [base](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#baseLayers)
|
|
29
29
|
* and [reference](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#referenceLayers) layers of the basemap
|
|
@@ -100,6 +100,32 @@ export interface SlideProperties extends JSONSupportMixinProperties, ClonableMix
|
|
|
100
100
|
|
|
101
101
|
export type SlideLayout = "caption" | "cover" | "none";
|
|
102
102
|
|
|
103
|
+
export interface SlideEvents {
|
|
104
|
+
/**
|
|
105
|
+
* Emitted just after applying the slide was interrupted. In this case the
|
|
106
|
+
* {@link webscene/Slide#apply-side-complete} event is not emitted.
|
|
107
|
+
*
|
|
108
|
+
* @see [applyTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-Slide.html#applyTo)
|
|
109
|
+
* @since 5.0
|
|
110
|
+
*/
|
|
111
|
+
"apply-slide-cancel": void;
|
|
112
|
+
/**
|
|
113
|
+
* Emitted just after applying the slide has successfully completed. If applying the slide is interrupted then the
|
|
114
|
+
* {@link webscene/Slide#apply-side-cancel} event is emitted instead.
|
|
115
|
+
*
|
|
116
|
+
* @see [applyTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-Slide.html#applyTo)
|
|
117
|
+
* @since 5.0
|
|
118
|
+
*/
|
|
119
|
+
"apply-slide-complete": void;
|
|
120
|
+
/**
|
|
121
|
+
* Emitted just before starting to apply the slide to the view.
|
|
122
|
+
*
|
|
123
|
+
* @see [applyTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-Slide.html#applyTo)
|
|
124
|
+
* @since 5.0
|
|
125
|
+
*/
|
|
126
|
+
"apply-slide-start": void;
|
|
127
|
+
}
|
|
128
|
+
|
|
103
129
|
/**
|
|
104
130
|
* A slide stores a snapshot of several pre-set properties of the
|
|
105
131
|
* [WebScene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html) and [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html), such as
|
|
@@ -136,6 +162,12 @@ export type SlideLayout = "caption" | "cover" | "none";
|
|
|
136
162
|
* });
|
|
137
163
|
*/
|
|
138
164
|
export default class Slide extends SlideSuperclass {
|
|
165
|
+
/**
|
|
166
|
+
* @deprecated
|
|
167
|
+
* Do not directly reference this property.
|
|
168
|
+
* Use EventNames and EventTypes helpers from \@arcgis/core/Evented
|
|
169
|
+
*/
|
|
170
|
+
"@eventTypes": SlideEvents;
|
|
139
171
|
/**
|
|
140
172
|
* Creates a slide from a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html), which may be added to the
|
|
141
173
|
* [Presentation#slides](https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-Presentation.html#slides) in the WebScene's
|
|
@@ -335,7 +367,7 @@ export default class Slide extends SlideSuperclass {
|
|
|
335
367
|
*/
|
|
336
368
|
updateFrom(view: SceneView, options?: SlideUpdateFromOptions): Promise<Slide>;
|
|
337
369
|
}
|
|
338
|
-
declare const SlideSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
370
|
+
declare const SlideSuperclass: typeof JSONSupport & typeof EventedMixin & typeof ClonableMixin
|
|
339
371
|
|
|
340
372
|
export interface SlideUpdateFromOptions {
|
|
341
373
|
/** Screenshot options to use. See properties below for object specifications. */
|
package/webscene/Slide.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as e}from"tslib";import t from"../Basemap.js";import i from"../Viewpoint.js";import{result as n}from"../core/asyncUtils.js";import{ClonableMixin as r}from"../core/Clonable.js";import s from"../core/Collection.js";import{referenceSetter as o}from"../core/collectionUtils.js";import{JSONSupport as a}from"../core/JSONSupport.js";import l from"../core/Logger.js";import{moduloPositive as p}from"../core/mathUtils.js";import{destroyMaybe as m,removeMaybe as h}from"../core/maybe.js";import{onAbortOrThrow as c,createAbortError as u,isAbortError as d}from"../core/promiseUtils.js";import{whenOnce as y,when as g}from"../core/reactiveUtils.js";import{Milliseconds as b,Seconds as v}from"../core/time.js";import{property as w,cast as f,subclass as T}from"../core/accessorSupport/decorators.js";import{ensureType as _}from"../core/accessorSupport/ensureType.js";import{s as L}from"../chunks/vec32.js";import{create as j}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import C from"../layers/Layer.js";import{basemapEnsureType as E,clonePreservingTiledLayers as S}from"../support/basemapEnsureType.js";import{TaskPriority as A}from"../views/support/Scheduler.js";import{SlideThumbnail as k}from"../webdoc/support/SlideThumbnail.js";import{timeExtent as V}from"../webdoc/support/timeProperties.js";import U from"./SunLighting.js";import F from"./VirtualLighting.js";import x from"./support/Description.js";import I from"./support/SlideElements.js";import{SlideEnvironment as R}from"./support/SlideEnvironment.js";import D from"./support/SlideGround.js";import{SlideVisibleLayer as O}from"./support/SlideVisibleLayer.js";import P from"./support/Title.js";let q=0;const M=s.ofType(O),N=["caption","cover","none"];let B=class extends(r(a)){constructor(e){super(e),this.id=Date.now().toString(16)+"-slide-"+q++,this.hidden=!1,this.viewpoint=null,this.ground=null,this.layout="caption",this.enabledFocusAreas=null,this.environment=new R,this.timeExtent=null,this.elements=new I,this.title=new P,this.description=new x,this.thumbnail=new k,this.visibleLayers=new M}destroy(){this.visibleLayers.removeAll(),this.enabledFocusAreas=null,this.basemap=null,this.thumbnail=m(this.thumbnail),this.description=null,this.title=null,this.thumbnail=null,this.elements.destroy()}get title(){return this._get("title")}set title(e){e="string"==typeof e?new P({text:e}):_(P,e),this._set("title",e)}get description(){return this._get("description")}set description(e){e="string"==typeof e?new x({text:e}):_(x,e),this._set("description",e)}get thumbnail(){return this._get("thumbnail")}set thumbnail(e){e="string"==typeof e?new k({url:e}):_(k,e),this._set("thumbnail",e)}get basemap(){return this._get("basemap")}set basemap(e){this._set("basemap",E(e))}set visibleLayers(e){this._set("visibleLayers",o(e,this._get("visibleLayers"),M))}castVisibleLayers(e){return e&&"function"==typeof e.map?e.map(e=>{if("string"==typeof e)return{id:e};if(e instanceof C){const t=H(e);return{id:e.id,sublayerIds:t}}return e.id?{id:e.id,sublayerIds:"sublayerIds"in e?e.sublayerIds:void 0}:(l.getLogger(this).warn('Invalid visible layer, expected { id }, Layer or "id"'),e)}):null}async _updateVisibleLayers(e){const t=[];await Promise.allSettled(this._getLayers(e.map).map(i=>e.whenLayerView(i).then(e=>{if(e.visible){const n=H(i);t.push(new O({id:e.layer.id,sublayerIds:n}))}})).toArray()),this.visibleLayers.removeAll(),this.visibleLayers.addMany(t)}async updateFrom(e,t){const i={format:"png",quality:80,width:120,height:75,disableDecorations:!0,...t?.screenshot};await e.when(),this.viewpoint=e.viewpoint.clone(),this.environment.lighting="virtual"===e.environment.lighting.type?F.prototype.clone.apply(e.environment.lighting):U.prototype.clone.apply(e.environment.lighting),this.environment.weather=e.environment.weather.clone(),this.enabledFocusAreas=new s(e.focusAreasView?.enabledAreas.map(({id:e})=>e)??[]),this.basemap=e.map.basemap?.clone()||null,this.ground=e.map.ground?D.fromGround(e.map.ground):null,this.timeExtent=e.timeExtent?.clone()??null,this.elements.analyses.updateFrom(e),await this._updateVisibleLayers(e);const n=await e.takeScreenshot(i);return this.thumbnail=new k({url:n.dataUrl}),this}async applyTo(e,t){null!=this._applyToController&&this._applyToController.abort();let i=new AbortController;this._applyToController=i;const r=c(t,()=>i?.abort()),s=()=>{this._applyToController===i&&(this._applyToController=null),i=null,r?.remove()};try{await y(()=>e.ready,i.signal)}catch(h){throw s(),h}if(i.signal.aborted)throw s(),u();const o=e.resourceController.scheduler.registerTask(A.SLIDE);let a=!1;const l={animate:!0,...t,signal:this._applyToController.signal},p=async()=>{await Promise.all([o.schedule(async()=>a=await this._setViewpointOfInterest(e,l)),o.schedule(()=>this._applyBasemap(e,l),l.signal),o.schedule(()=>this._loadLayersWithSublayerVisibility(e))]),await Promise.all([o.schedule(()=>this._applyLayerVisibility(e),l.signal),o.schedule(()=>this._applyFocusAreaEnabled(e.map?.focusAreas.areas)),o.schedule(()=>this._applyGround(e),l.signal),o.schedule(()=>this.elements.analyses.applyTo(e),l.signal),o.schedule(()=>this._applyViewpoint(e,l),l.signal),o.schedule(()=>e.timeExtent=this.timeExtent?.clone()??null,l.signal),o.schedule(()=>e.environment.weather=this.environment.weather.clone())])},m=await n(e.addUpdatingPromise(p()));if(a&&(e.contentCamera=null),o.remove(),s(),!1===m.ok)throw m.error;return this}async _applyBasemap(e,t){if(this.basemap){try{await this.basemap.load(t)}catch(i){if(d(i))throw i}e.map.basemap=S(this.basemap,e.map.basemap)}}_applyGround(e){this.ground&&(e.map.ground=this.ground.cloneAndApplyTo(e.map.ground))}_applyFocusAreaEnabled(e){if(e&&this.enabledFocusAreas)for(const t of e)t.enabled=this.enabledFocusAreas.includes(t.id)}_getLayers(e){const t=new s;return this._collectLayers(e,t),this._collectLayers(e.ground,t),t}_collectLayers(e,t){e.layers.forEach(e=>{e.persistenceEnabled&&(t.add(e),"layers"in e&&this._collectLayers(e,t))})}async _loadLayersWithSublayerVisibility(e){this.visibleLayers&&await Promise.allSettled(this._getLayers(e.map).items.map(e=>{const t=this.visibleLayers.find(t=>t.id===e.id)?.sublayerIds;return t?e.load():null}))}_applyLayerVisibility(e){if(!this.visibleLayers)return;this._getLayers(e.map).forEach(e=>{const t=this.visibleLayers.find(t=>t.id===e.id);e.visible=null!=t;const i=t?.sublayerIds,n=W(e);i&&n&&n.forEach(e=>e.visible=i.includes(e.id))})}async _setViewpointOfInterest(e,t){if(e.state.fixedContentCamera||!this.viewpoint||t?.ignoreViewpoint||!t?.useDestinationCamera)return!1;const{toCameraAsync:i}=await import("../views/3d/support/viewpointUtils.js"),n=await i(e,this.viewpoint);return e.contentCamera=n,null!=n}async _applyViewpoint(e,t){if(this._applyCachedCameraTrackingEnabled(e),this.viewpoint&&!t.ignoreViewpoint){const i=this.environment.lighting;if(t.animate&&"sun"===i.type&&i.date)return this._animateToLighting(e,t);t.animate&&(e.environment.applyLighting(i.clone()),await e.goTo(this.viewpoint,t)),e.viewpoint=this.viewpoint}e.environment.applyLighting(this.environment.lighting.clone())}async _animateToLighting(e,t){let i=null;"virtual"!==e.environment.lighting.type&&"virtual"!==this.environment.lighting.type&&("global"===e.viewingMode&&(i=this._animateLightingWithCamera(e,e.environment.lighting,this.environment.lighting)),e.environment.cachedCameraTrackingEnabled=e.environment.lighting.cameraTrackingEnabled,e.environment.lighting.cameraTrackingEnabled=!1),e.environment.lighting.directShadowsEnabled=this.environment.lighting.directShadowsEnabled,"virtual"===this.environment.lighting.type||"virtual"===e.environment.lighting.type?(e.environment.applyLighting(this.environment.lighting.clone()),"virtual"!==e.environment.lighting.type&&(e.environment.cachedCameraTrackingEnabled=e.environment.lighting.cameraTrackingEnabled,e.environment.lighting.cameraTrackingEnabled=!1)):null!=this.environment.lighting.displayUTCOffset&&(e.environment.lighting.displayUTCOffset=this.environment.lighting.displayUTCOffset);return e.goTo(this.viewpoint,t).then(()=>{this._applyCachedCameraTrackingEnabled(e),e.environment.applyLighting(this.environment.lighting.clone())}).catch(t=>{throw null==e.animation&&this._applyCachedCameraTrackingEnabled(e),t}).finally(()=>{h(i)})}_applyCachedCameraTrackingEnabled(e){null!=e.environment.cachedCameraTrackingEnabled&&(e.environment.lighting.cameraTrackingEnabled=e.environment.cachedCameraTrackingEnabled,e.environment.cachedCameraTrackingEnabled=null)}_getTime(e){return[b(e.getTime()),v(3600*e.getUTCHours()+60*e.getUTCMinutes()+e.getUTCSeconds())]}_setTime(e,t,i){return e.setTime(t),e.setUTCHours(i/3600),e.setUTCMinutes(i%3600/60),e.setUTCSeconds(i%3600%60),e}_animateLightingWithCamera(e,t,i){const n=new Date(t.date.toString()),[r,s]=this._getTime(n),[o,a]=this._getTime(i.date),l=K(s,a),p=e.renderCoordsHelper,m=j();p.toRenderCoords(e.camera.position,m);const h=j(),c=j();null!=this.viewpoint.camera&&p.toRenderCoords(this.viewpoint.camera.position,h);const u=new Date;return g(()=>e.camera,e=>{p.toRenderCoords(e.position,c);const i=L(m,c),n=L(h,c);let a=0;i+n!==0&&(a=i/(i+n));const d=r+(o-r)*a,y=Q(s,v(l*a));t.date=this._setTime(u,d,y)})}write(e,t){const i=super.write(e,t);return i?.elements&&0===Object.keys(i.elements).length&&delete i.elements,i}static createFrom(e,t){return(new this).updateFrom(e,t)}};e([w({type:String,json:{write:{isRequired:!0}}})],B.prototype,"id",void 0),e([w({type:P,useTypeForAutocast:!1,json:{default:()=>new P({text:""}),write:{isRequired:!0}}})],B.prototype,"title",null),e([w({type:x,useTypeForAutocast:!1,json:{write:{overridePolicy:e=>({enabled:!(!e||!e.text)})}}})],B.prototype,"description",null),e([w({type:Boolean,nonNullable:!0,json:{write:!0,default:!1}})],B.prototype,"hidden",void 0),e([w({type:k,useTypeForAutocast:!1,json:{default:()=>new k({url:""}),write:{isRequired:!0}}})],B.prototype,"thumbnail",null),e([w({type:i,nonNullable:!0,json:{write:{isRequired:!0}}})],B.prototype,"viewpoint",void 0),e([w({type:t,useTypeForAutocast:!1,json:{read:{source:"baseMap"},write:{target:"baseMap"}}})],B.prototype,"basemap",null),e([w({type:D,json:{write:!0}})],B.prototype,"ground",void 0),e([w({type:N,json:{write:!0,default:"caption"},nonNullable:!0})],B.prototype,"layout",void 0),e([w({type:M,json:{write:{isRequired:!0}}})],B.prototype,"visibleLayers",null),e([f("visibleLayers")],B.prototype,"castVisibleLayers",null),e([w({type:s.ofType(String),json:{write:!0},clonable:e=>e?new s(e.items):null})],B.prototype,"enabledFocusAreas",void 0),e([w({type:R,json:{write:!0}})],B.prototype,"environment",void 0),e([w(V)],B.prototype,"timeExtent",void 0),e([w({type:I,nonNullable:!0,json:{write:!0}})],B.prototype,"elements",void 0),B=e([T("esri.webscene.Slide")],B);const G=B;function W(e){if("building-scene"===e.type||"map-image"===e.type)return e.allSublayers.toArray()}function H(e){const t=W(e);if(t)return t.filter(e=>e.visible).map(e=>e.id)}const J=v(86400),z=v(43200);function K(e,t){let i=t-e;return i>z&&(i-=J),i<-z&&(i+=J),v(i)}function Q(e,t){return v(p(e+t,J))}export{G as default};
|
|
5
|
+
import{__decorate as e}from"tslib";import t from"../Basemap.js";import i from"../Viewpoint.js";import{result as n}from"../core/asyncUtils.js";import{ClonableMixin as r}from"../core/Clonable.js";import s from"../core/Collection.js";import{referenceSetter as o}from"../core/collectionUtils.js";import{EventedMixin as a}from"../core/Evented.js";import{JSONSupport as l}from"../core/JSONSupport.js";import p from"../core/Logger.js";import{moduloPositive as m}from"../core/mathUtils.js";import{destroyMaybe as h,removeMaybe as c}from"../core/maybe.js";import{onAbortOrThrow as d,createAbortError as u,isAbortError as y}from"../core/promiseUtils.js";import{whenOnce as g,when as b}from"../core/reactiveUtils.js";import{Milliseconds as v,Seconds as w}from"../core/time.js";import{property as f,cast as T,subclass as _}from"../core/accessorSupport/decorators.js";import{ensureType as j}from"../core/accessorSupport/ensureType.js";import{s as L}from"../chunks/vec32.js";import{create as C}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import E from"../layers/Layer.js";import{basemapEnsureType as S,clonePreservingTiledLayers as A}from"../support/basemapEnsureType.js";import{TaskPriority as k}from"../views/support/Scheduler.js";import{SlideThumbnail as V}from"../webdoc/support/SlideThumbnail.js";import{timeExtent as U}from"../webdoc/support/timeProperties.js";import F from"./SunLighting.js";import x from"./VirtualLighting.js";import I from"./support/Description.js";import R from"./support/SlideElements.js";import{SlideEnvironment as D}from"./support/SlideEnvironment.js";import O from"./support/SlideGround.js";import{SlideVisibleLayer as P}from"./support/SlideVisibleLayer.js";import q from"./support/Title.js";let M=0;const N=s.ofType(P),B=["caption","cover","none"];let G=class extends(r(a(l))){constructor(e){super(e),this.id=Date.now().toString(16)+"-slide-"+M++,this.hidden=!1,this.viewpoint=null,this.ground=null,this.layout="caption",this.enabledFocusAreas=null,this.environment=new D,this.timeExtent=null,this.elements=new R,this.title=new q,this.description=new I,this.thumbnail=new V,this.visibleLayers=new N}destroy(){this.visibleLayers.removeAll(),this.enabledFocusAreas=null,this.basemap=null,this.thumbnail=h(this.thumbnail),this.description=null,this.title=null,this.thumbnail=null,this.elements.destroy()}get title(){return this._get("title")}set title(e){e="string"==typeof e?new q({text:e}):j(q,e),this._set("title",e)}get description(){return this._get("description")}set description(e){e="string"==typeof e?new I({text:e}):j(I,e),this._set("description",e)}get thumbnail(){return this._get("thumbnail")}set thumbnail(e){e="string"==typeof e?new V({url:e}):j(V,e),this._set("thumbnail",e)}get basemap(){return this._get("basemap")}set basemap(e){this._set("basemap",S(e))}set visibleLayers(e){this._set("visibleLayers",o(e,this._get("visibleLayers"),N))}castVisibleLayers(e){return e&&"function"==typeof e.map?e.map(e=>{if("string"==typeof e)return{id:e};if(e instanceof E){const t=J(e);return{id:e.id,sublayerIds:t}}return e.id?{id:e.id,sublayerIds:"sublayerIds"in e?e.sublayerIds:void 0}:(p.getLogger(this).warn('Invalid visible layer, expected { id }, Layer or "id"'),e)}):null}async _updateVisibleLayers(e){const t=[];await Promise.allSettled(this._getLayers(e.map).map(i=>e.whenLayerView(i).then(e=>{if(e.visible){const n=J(i);t.push(new P({id:e.layer.id,sublayerIds:n}))}})).toArray()),this.visibleLayers.removeAll(),this.visibleLayers.addMany(t)}async updateFrom(e,t){const i={format:"png",quality:80,width:120,height:75,disableDecorations:!0,...t?.screenshot};await e.when(),this.viewpoint=e.viewpoint.clone(),this.environment.lighting="virtual"===e.environment.lighting.type?x.prototype.clone.apply(e.environment.lighting):F.prototype.clone.apply(e.environment.lighting),this.environment.weather=e.environment.weather.clone(),this.enabledFocusAreas=new s(e.focusAreasView?.enabledAreas.map(({id:e})=>e)??[]),this.basemap=e.map.basemap?.clone()||null,this.ground=e.map.ground?O.fromGround(e.map.ground):null,this.timeExtent=e.timeExtent?.clone()??null,this.elements.analyses.updateFrom(e),await this._updateVisibleLayers(e);const n=await e.takeScreenshot(i);return this.thumbnail=new V({url:n.dataUrl}),this}async applyTo(e,t){this.emit("apply-slide-start"),null!=this._applyToController&&this._applyToController.abort();let i=new AbortController;this._applyToController=i;const r=d(t,()=>i?.abort()),s=()=>{this._applyToController===i&&(this._applyToController=null),i=null,r?.remove()};try{await g(()=>e.ready,i.signal)}catch(h){throw s(),h}if(i.signal.aborted)throw s(),this.emit("apply-slide-cancel"),u();const o=e.resourceController.scheduler.registerTask(k.SLIDE);let a=!1;const l={animate:!0,...t,signal:this._applyToController.signal},p=async()=>{await Promise.all([o.schedule(async()=>a=await this._setViewpointOfInterest(e,l)),o.schedule(()=>this._applyBasemap(e,l),l.signal),o.schedule(()=>this._loadLayersWithSublayerVisibility(e))]),await Promise.all([o.schedule(()=>this._applyLayerVisibility(e),l.signal),o.schedule(()=>this._applyFocusAreaEnabled(e.map?.focusAreas.areas)),o.schedule(()=>this._applyGround(e),l.signal),o.schedule(()=>this.elements.analyses.applyTo(e),l.signal),o.schedule(()=>this._applyViewpoint(e,l),l.signal),o.schedule(()=>e.timeExtent=this.timeExtent?.clone()??null,l.signal),o.schedule(()=>e.environment.weather=this.environment.weather.clone())])},m=await n(e.addUpdatingPromise(p()));if(a&&(e.contentCamera=null),o.remove(),s(),!1===m.ok)throw this.emit("apply-slide-cancel"),m.error;return this.emit("apply-slide-complete"),this}async _applyBasemap(e,t){if(this.basemap){try{await this.basemap.load(t)}catch(i){if(y(i))throw i}e.map.basemap=A(this.basemap,e.map.basemap)}}_applyGround(e){this.ground&&(e.map.ground=this.ground.cloneAndApplyTo(e.map.ground))}_applyFocusAreaEnabled(e){if(e&&this.enabledFocusAreas)for(const t of e)t.enabled=this.enabledFocusAreas.includes(t.id)}_getLayers(e){const t=new s;return this._collectLayers(e,t),this._collectLayers(e.ground,t),t}_collectLayers(e,t){e.layers.forEach(e=>{e.persistenceEnabled&&(t.add(e),"layers"in e&&this._collectLayers(e,t))})}async _loadLayersWithSublayerVisibility(e){this.visibleLayers&&await Promise.allSettled(this._getLayers(e.map).items.map(e=>{const t=this.visibleLayers.find(t=>t.id===e.id)?.sublayerIds;return t?e.load():null}))}_applyLayerVisibility(e){if(!this.visibleLayers)return;this._getLayers(e.map).forEach(e=>{const t=this.visibleLayers.find(t=>t.id===e.id);e.visible=null!=t;const i=t?.sublayerIds,n=H(e);i&&n&&n.forEach(e=>e.visible=i.includes(e.id))})}async _setViewpointOfInterest(e,t){if(e.state.fixedContentCamera||!this.viewpoint||t?.ignoreViewpoint||!t?.useDestinationCamera)return!1;const{toCameraAsync:i}=await import("../views/3d/support/viewpointUtils.js"),n=await i(e,this.viewpoint);return e.contentCamera=n,null!=n}async _applyViewpoint(e,t){if(this._applyCachedCameraTrackingEnabled(e),this.viewpoint&&!t.ignoreViewpoint){const i=this.environment.lighting;if(t.animate&&"sun"===i.type&&i.date)return this._animateToLighting(e,t);t.animate&&(e.environment.applyLighting(i.clone()),await e.goTo(this.viewpoint,t)),e.viewpoint=this.viewpoint}e.environment.applyLighting(this.environment.lighting.clone())}async _animateToLighting(e,t){let i=null;"virtual"!==e.environment.lighting.type&&"virtual"!==this.environment.lighting.type&&("global"===e.viewingMode&&(i=this._animateLightingWithCamera(e,e.environment.lighting,this.environment.lighting)),e.environment.cachedCameraTrackingEnabled=e.environment.lighting.cameraTrackingEnabled,e.environment.lighting.cameraTrackingEnabled=!1),e.environment.lighting.directShadowsEnabled=this.environment.lighting.directShadowsEnabled,"virtual"===this.environment.lighting.type||"virtual"===e.environment.lighting.type?(e.environment.applyLighting(this.environment.lighting.clone()),"virtual"!==e.environment.lighting.type&&(e.environment.cachedCameraTrackingEnabled=e.environment.lighting.cameraTrackingEnabled,e.environment.lighting.cameraTrackingEnabled=!1)):null!=this.environment.lighting.displayUTCOffset&&(e.environment.lighting.displayUTCOffset=this.environment.lighting.displayUTCOffset);return e.goTo(this.viewpoint,t).then(()=>{this._applyCachedCameraTrackingEnabled(e),e.environment.applyLighting(this.environment.lighting.clone())}).catch(t=>{throw null==e.animation&&this._applyCachedCameraTrackingEnabled(e),t}).finally(()=>{c(i)})}_applyCachedCameraTrackingEnabled(e){null!=e.environment.cachedCameraTrackingEnabled&&(e.environment.lighting.cameraTrackingEnabled=e.environment.cachedCameraTrackingEnabled,e.environment.cachedCameraTrackingEnabled=null)}_getTime(e){return[v(e.getTime()),w(3600*e.getUTCHours()+60*e.getUTCMinutes()+e.getUTCSeconds())]}_setTime(e,t,i){return e.setTime(t),e.setUTCHours(i/3600),e.setUTCMinutes(i%3600/60),e.setUTCSeconds(i%3600%60),e}_animateLightingWithCamera(e,t,i){const n=new Date(t.date.toString()),[r,s]=this._getTime(n),[o,a]=this._getTime(i.date),l=Q(s,a),p=e.renderCoordsHelper,m=C();p.toRenderCoords(e.camera.position,m);const h=C(),c=C();null!=this.viewpoint.camera&&p.toRenderCoords(this.viewpoint.camera.position,h);const d=new Date;return b(()=>e.camera,e=>{p.toRenderCoords(e.position,c);const i=L(m,c),n=L(h,c);let a=0;i+n!==0&&(a=i/(i+n));const u=r+(o-r)*a,y=X(s,w(l*a));t.date=this._setTime(d,u,y)})}write(e,t){const i=super.write(e,t);return i?.elements&&0===Object.keys(i.elements).length&&delete i.elements,i}static createFrom(e,t){return(new this).updateFrom(e,t)}};e([f({type:String,json:{write:{isRequired:!0}}})],G.prototype,"id",void 0),e([f({type:q,useTypeForAutocast:!1,json:{default:()=>new q({text:""}),write:{isRequired:!0}}})],G.prototype,"title",null),e([f({type:I,useTypeForAutocast:!1,json:{write:{overridePolicy:e=>({enabled:!(!e||!e.text)})}}})],G.prototype,"description",null),e([f({type:Boolean,nonNullable:!0,json:{write:!0,default:!1}})],G.prototype,"hidden",void 0),e([f({type:V,useTypeForAutocast:!1,json:{default:()=>new V({url:""}),write:{isRequired:!0}}})],G.prototype,"thumbnail",null),e([f({type:i,nonNullable:!0,json:{write:{isRequired:!0}}})],G.prototype,"viewpoint",void 0),e([f({type:t,useTypeForAutocast:!1,json:{read:{source:"baseMap"},write:{target:"baseMap"}}})],G.prototype,"basemap",null),e([f({type:O,json:{write:!0}})],G.prototype,"ground",void 0),e([f({type:B,json:{write:!0,default:"caption"},nonNullable:!0})],G.prototype,"layout",void 0),e([f({type:N,json:{write:{isRequired:!0}}})],G.prototype,"visibleLayers",null),e([T("visibleLayers")],G.prototype,"castVisibleLayers",null),e([f({type:s.ofType(String),json:{write:!0},clonable:e=>e?new s(e.items):null})],G.prototype,"enabledFocusAreas",void 0),e([f({type:D,json:{write:!0}})],G.prototype,"environment",void 0),e([f(U)],G.prototype,"timeExtent",void 0),e([f({type:R,nonNullable:!0,json:{write:!0}})],G.prototype,"elements",void 0),G=e([_("esri.webscene.Slide")],G);const W=G;function H(e){if("building-scene"===e.type||"map-image"===e.type)return e.allSublayers.toArray()}function J(e){const t=H(e);if(t)return t.filter(e=>e.visible).map(e=>e.id)}const z=w(86400),K=w(43200);function Q(e,t){let i=t-e;return i>K&&(i-=z),i<-K&&(i+=z),w(i)}function X(e,t){return w(m(e+t,z))}export{W as default};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type LayerReference from "./LayerReference.js";
|
|
2
2
|
import type { ClonableMixin, ClonableMixinProperties } from "../../core/Clonable.js";
|
|
3
3
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
4
|
-
import type { FeatureReferenceIdUnion } from "
|
|
4
|
+
import type { FeatureReferenceIdUnion } from "../types.js";
|
|
5
5
|
import type { LayerReferenceProperties } from "./LayerReference.js";
|
|
6
6
|
import type { FeatureReferenceGlobalIdProperties } from "./FeatureReferenceGlobalId.js";
|
|
7
7
|
import type { FeatureReferenceObjectIdProperties } from "./FeatureReferenceObjectId.js";
|
|
@@ -9,7 +9,7 @@ import type { PointProperties } from "../../geometry/Point.js";
|
|
|
9
9
|
|
|
10
10
|
export interface SlidePopupInfoProperties extends JSONSupportMixinProperties, ClonableMixinProperties, Partial<Pick<SlidePopupInfo, "selectedFeatureIndex">> {
|
|
11
11
|
/**
|
|
12
|
-
* A collection of
|
|
12
|
+
* A collection of [FeatureReference](https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-support-FeatureReference.html)
|
|
13
13
|
* which are identifying features which will be displayed in the popup component.
|
|
14
14
|
*
|
|
15
15
|
* @see [FeatureReference](https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-support-FeatureReference.html)
|
|
@@ -31,7 +31,7 @@ export interface SlidePopupInfoProperties extends JSONSupportMixinProperties, Cl
|
|
|
31
31
|
export default class SlidePopupInfo extends SlidePopupInfoSuperclass {
|
|
32
32
|
constructor(properties?: SlidePopupInfoProperties);
|
|
33
33
|
/**
|
|
34
|
-
* A collection of
|
|
34
|
+
* A collection of [FeatureReference](https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-support-FeatureReference.html)
|
|
35
35
|
* which are identifying features which will be displayed in the popup component.
|
|
36
36
|
*
|
|
37
37
|
* @see [FeatureReference](https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-support-FeatureReference.html)
|
package/webscene/types.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type SliceAnalysis from "../analysis/SliceAnalysis.js";
|
|
2
|
+
import type FeatureReferenceGlobalId from "./support/FeatureReferenceGlobalId.js";
|
|
3
|
+
import type FeatureReferenceObjectId from "./support/FeatureReferenceObjectId.js";
|
|
2
4
|
|
|
3
5
|
/**
|
|
4
6
|
* Options for updating a web scene from a view.
|
|
@@ -74,4 +76,6 @@ export interface WebSceneThumbnailSize {
|
|
|
74
76
|
width: number;
|
|
75
77
|
}
|
|
76
78
|
|
|
77
|
-
export type WebSceneSliceAnalysis = SliceAnalysis;
|
|
79
|
+
export type WebSceneSliceAnalysis = SliceAnalysis;
|
|
80
|
+
|
|
81
|
+
export type FeatureReferenceIdUnion = FeatureReferenceObjectId | FeatureReferenceGlobalId;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type MapView from "../../views/MapView.js";
|
|
2
2
|
import type SnappingOptions from "../../views/interactive/snapping/SnappingOptions.js";
|
|
3
3
|
import type { SystemOrAreaUnit } from "../../core/units.js";
|
|
4
|
-
import type { AreaMeasurement, AreaMeasurementLabel, MeasurementState } from "../
|
|
4
|
+
import type { AreaMeasurement, AreaMeasurementLabel, MeasurementState } from "../types.js";
|
|
5
5
|
import type { InteractiveToolViewModel } from "../support/InteractiveToolViewModel.js";
|
|
6
6
|
import type { SnappingOptionsProperties } from "../../views/interactive/snapping/SnappingOptions.js";
|
|
7
7
|
|
|
@@ -5,6 +5,7 @@ import type { MeasurementMode } from "../../views/analysis/types.js";
|
|
|
5
5
|
import type { AnalysisViewModel } from "../support/AnalysisViewModel.js";
|
|
6
6
|
import type { AreaMeasurementAnalysisProperties } from "../../analysis/AreaMeasurementAnalysis.js";
|
|
7
7
|
|
|
8
|
+
/** @deprecated since 4.33. Use the [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-AreaMeasurementAnalysis.html) or [Area Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-3d/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
8
9
|
export interface AreaMeasurement3DViewModelProperties extends Partial<Pick<AreaMeasurement3DViewModel, "view">> {
|
|
9
10
|
/**
|
|
10
11
|
* The area measurement analysis object being created or modified by the view model.
|
|
@@ -151,7 +152,11 @@ export default class AreaMeasurement3DViewModel extends AnalysisViewModel<SceneV
|
|
|
151
152
|
start(): Promise<void>;
|
|
152
153
|
}
|
|
153
154
|
|
|
154
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* Measurement value.
|
|
157
|
+
*
|
|
158
|
+
* @deprecated since 4.33. Use the [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-AreaMeasurementAnalysis.html) or [Area Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-3d/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
159
|
+
*/
|
|
155
160
|
export interface MeasurementValue {
|
|
156
161
|
/**
|
|
157
162
|
* State of the measurement value controlling how the value is displayed in the widget.
|
|
@@ -167,6 +172,7 @@ export interface MeasurementValue {
|
|
|
167
172
|
readonly text: string | null;
|
|
168
173
|
}
|
|
169
174
|
|
|
175
|
+
/** @deprecated since 4.33. Use the [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-AreaMeasurementAnalysis.html) or [Area Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-3d/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
170
176
|
export interface Measurement {
|
|
171
177
|
/** Area of the polygon. */
|
|
172
178
|
readonly area: MeasurementValue;
|
|
@@ -8,6 +8,7 @@ import type { WidgetProperties } from "./Widget.js";
|
|
|
8
8
|
import type { AreaMeasurementAnalysisProperties } from "../analysis/AreaMeasurementAnalysis.js";
|
|
9
9
|
import type { AreaMeasurement3DViewModelProperties } from "./AreaMeasurement3D/AreaMeasurement3DViewModel.js";
|
|
10
10
|
|
|
11
|
+
/** @deprecated since 4.33. Use the [Area Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-3d/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
11
12
|
export interface AreaMeasurement3DProperties extends WidgetProperties, Partial<Pick<AreaMeasurement3D, "unit" | "unitOptions" | "view">> {
|
|
12
13
|
/**
|
|
13
14
|
* The area measurement analysis object being created or modified by the widget. This property is an
|
|
@@ -3,7 +3,7 @@ import type Accessor from "../../core/Accessor.js";
|
|
|
3
3
|
import type Collection from "../../core/Collection.js";
|
|
4
4
|
import type AttachmentsOrderByInfo from "../../popup/support/AttachmentsOrderByInfo.js";
|
|
5
5
|
import type AttachmentInfo from "../../rest/query/support/AttachmentInfo.js";
|
|
6
|
-
import type { AttachmentsCapabilities } from "./
|
|
6
|
+
import type { AttachmentsCapabilities } from "./types.js";
|
|
7
7
|
import type { GraphicProperties } from "../../Graphic.js";
|
|
8
8
|
import type { AttachmentsOrderByInfoProperties } from "../../popup/support/AttachmentsOrderByInfo.js";
|
|
9
9
|
|