@cognite/reveal 4.19.1 → 4.20.0

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.
Files changed (74) hide show
  1. package/dist/api-entry-points/core.d.ts +4 -4
  2. package/dist/index.js +209 -169
  3. package/dist/index.js.map +1 -1
  4. package/dist/packages/360-images/index.d.ts +2 -0
  5. package/dist/packages/360-images/src/Image360Action.d.ts +25 -0
  6. package/dist/packages/360-images/src/Image360Facade.d.ts +10 -9
  7. package/dist/packages/360-images/src/Image360History.d.ts +15 -0
  8. package/dist/packages/360-images/src/annotation/Image360Annotation.d.ts +3 -3
  9. package/dist/packages/360-images/src/annotation/ImageAnnotationObject.d.ts +3 -3
  10. package/dist/packages/360-images/src/cache/Image360LoadingCache.d.ts +9 -8
  11. package/dist/packages/360-images/src/collection/DefaultImage360Collection.d.ts +6 -6
  12. package/dist/packages/360-images/src/collection/Image360Collection.d.ts +7 -7
  13. package/dist/packages/360-images/src/collection/Image360CollectionFactory.d.ts +4 -3
  14. package/dist/packages/360-images/src/entity/Image360.d.ts +4 -3
  15. package/dist/packages/360-images/src/entity/Image360Entity.d.ts +8 -8
  16. package/dist/packages/360-images/src/entity/Image360Revision.d.ts +3 -2
  17. package/dist/packages/360-images/src/entity/Image360RevisionEntity.d.ts +4 -4
  18. package/dist/packages/360-images/src/entity/Image360VisualizationBox.d.ts +2 -2
  19. package/dist/packages/api/src/api-helpers/Image360ApiHelper.d.ts +16 -12
  20. package/dist/packages/api/src/public/RevealManager.d.ts +4 -3
  21. package/dist/packages/api/src/public/migration/Cognite3DViewer.d.ts +33 -19
  22. package/dist/packages/api/src/public/migration/types.d.ts +14 -9
  23. package/dist/packages/api/src/public/types.d.ts +5 -4
  24. package/dist/packages/api/src/storage/RevealManagerHelper.d.ts +5 -4
  25. package/dist/packages/api/src/utilities/ViewStateHelper.d.ts +3 -2
  26. package/dist/packages/api/src/utilities/utils.d.ts +11 -0
  27. package/dist/packages/data-providers/index.d.ts +8 -2
  28. package/dist/packages/data-providers/src/DataSourceType.d.ts +127 -0
  29. package/dist/packages/data-providers/src/ModelIdentifier.d.ts +2 -0
  30. package/dist/packages/data-providers/src/PointCloudStylableObjectProvider.d.ts +3 -3
  31. package/dist/packages/data-providers/src/model-identifiers/DMModelIdentifier.d.ts +12 -0
  32. package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/CdfPointCloudStylableObjectProvider.d.ts +3 -3
  33. package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/DummyPointCloudStylableObjectProvider.d.ts +3 -3
  34. package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/cdfAnnotationsToObjects.d.ts +2 -1
  35. package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/CdfPointCloudDMStylableObjectProvider.d.ts +12 -0
  36. package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/DummyPointCloudDMStylableObjectProvider.d.ts +9 -0
  37. package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/getDMPointCloudObjects.d.ts +4 -0
  38. package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/getDMPointCloudVolumeCollectionQuery.d.ts +81 -0
  39. package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/types.d.ts +32 -0
  40. package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/pointcloud-volume-data-providers/utils.d.ts +6 -0
  41. package/dist/packages/data-providers/src/pointcloud-stylable-object-providers/types.d.ts +25 -22
  42. package/dist/packages/data-providers/src/requests/fetchDMModelIdFromRevisionId.d.ts +8 -0
  43. package/dist/packages/data-providers/src/utilities/constants.d.ts +29 -0
  44. package/dist/packages/data-providers/src/utilities/internalAddModelOptions.d.ts +23 -0
  45. package/dist/packages/data-providers/src/utilities/utils.d.ts +32 -0
  46. package/dist/packages/pointcloud-styling/index.d.ts +4 -2
  47. package/dist/packages/pointcloud-styling/src/AnnotationIdPointCloudObjectCollection.d.ts +3 -3
  48. package/dist/packages/pointcloud-styling/src/PointCloudDMVolumeCollection.d.ts +19 -0
  49. package/dist/packages/pointcloud-styling/src/PointCloudObjectCollection.d.ts +15 -3
  50. package/dist/packages/pointcloud-styling/src/StyledPointCloudVolumeCollection.d.ts +41 -0
  51. package/dist/packages/pointcloud-styling/src/utils.d.ts +7 -0
  52. package/dist/packages/pointclouds/index.d.ts +1 -0
  53. package/dist/packages/pointclouds/src/CognitePointCloudModel.d.ts +33 -9
  54. package/dist/packages/pointclouds/src/PointCloudFactory.d.ts +5 -3
  55. package/dist/packages/pointclouds/src/PointCloudIntersection.d.ts +12 -2
  56. package/dist/packages/pointclouds/src/PointCloudLoadingStateHandler.d.ts +2 -1
  57. package/dist/packages/pointclouds/src/PointCloudManager.d.ts +3 -3
  58. package/dist/packages/pointclouds/src/PointCloudNode.d.ts +8 -7
  59. package/dist/packages/pointclouds/src/PointCloudPickingHandler.d.ts +3 -32
  60. package/dist/packages/pointclouds/src/createPointCloudManager.d.ts +2 -2
  61. package/dist/packages/pointclouds/src/potree-three-loader/Potree.d.ts +2 -2
  62. package/dist/packages/pointclouds/src/potree-three-loader/loading/EptLoader.d.ts +2 -2
  63. package/dist/packages/pointclouds/src/potree-three-loader/types/IPotree.d.ts +2 -2
  64. package/dist/packages/pointclouds/src/potree-three-loader/utils/createObjectIdMaps.d.ts +2 -2
  65. package/dist/packages/pointclouds/src/typeGuards.d.ts +17 -0
  66. package/dist/packages/pointclouds/src/types.d.ts +29 -0
  67. package/dist/packages/rendering/src/pointcloud-rendering/PointCloudObjectAppearanceTexture.d.ts +4 -3
  68. package/dist/packages/rendering/src/pointcloud-rendering/PointCloudObjectIdMaps.d.ts +3 -2
  69. package/dist/packages/tools/src/AxisGizmo/AxisGizmoTool.d.ts +2 -1
  70. package/dist/packages/tools/src/DebugCameraTool.d.ts +2 -1
  71. package/dist/packages/tools/src/HtmlOverlay/HtmlOverlayTool.d.ts +2 -1
  72. package/dist/packages/tools/src/Measurement/MeasurementTool.d.ts +2 -1
  73. package/package.json +3 -2
  74. package/dist/packages/pointcloud-styling/src/StyledPointCloudObjectCollection.d.ts +0 -13
@@ -9,9 +9,9 @@ export { CAMERA_MANAGER_EVENT_TYPE_LIST, CameraControlsOptions, DebouncedCameraS
9
9
  export { AreaCollection, ClusteredAreaCollection, NodeAppearance, SerializableNodeAppearance, NodeOutlineColor, DefaultNodeAppearance, NodeCollection, CdfNodeCollectionBase, CombineNodeCollectionBase, TreeIndexNodeCollection, NodeIdNodeCollection, IntersectionNodeCollection, UnionNodeCollection, SerializedNodeCollection, PropertyFilterNodeCollection, PropertyFilterNodeCollectionOptions, SinglePropertyFilterNodeCollection, AssetNodeCollection, InvertedNodeCollection, registerNodeCollectionType, NodeCollectionSerializationContext, CdfModelNodeCollectionDataProvider } from '../packages/cad-styling';
10
10
  export { SupportedModelTypes } from '../packages/model-base';
11
11
  export { IndexSet, NumericRange, BeforeSceneRenderedDelegate, SceneRenderedDelegate, PointerEventDelegate, PointerEventData, DisposedDelegate, ICustomObject, CustomObject, CustomObjectIntersection, CustomObjectIntersectInput, PointerEventsTarget, PointerEvents, Vector3Pool, getWheelEventDelta, getNormalizedPixelCoordinatesBySize, getNormalizedPixelCoordinates, CDF_TO_VIEWER_TRANSFORMATION } from '../packages/utilities';
12
- export { PointCloudObjectMetadata, ImageAssetLinkAnnotationInfo, Image360DataModelIdentifier } from '../packages/data-providers';
12
+ export { PointCloudObjectMetadata, ImageAssetLinkAnnotationInfo, Image360DataModelIdentifier, DMInstanceRef, DataSourceType, ClassicDataSourceType, DMDataSourceType, ClassicModelIdentifierType, DMModelIdentifierType, isDMPointCloudVolume, isClassicPointCloudVolume, CommonModelOptions } from '../packages/data-providers';
13
13
  export { CogniteCadModel, BoundingBoxClipper, GeometryFilter, WellKnownUnit } from '../packages/cad-model';
14
- export { CognitePointCloudModel } from '../packages/pointclouds';
15
- export { CompletePointCloudAppearance, PointCloudAppearance, PointCloudObjectCollection, AnnotationIdPointCloudObjectCollection, DefaultPointCloudAppearance, StyledPointCloudObjectCollection } from '../packages/pointcloud-styling';
16
- export { AssetAnnotationImage360Info, Image360, Image360Revision, Image360Visualization, Image360Collection, Image360EnteredDelegate, Image360ExitedDelegate, Image360IconStyle, Image360AnnotationIntersection, Image360AnnotationAppearance, Image360Annotation, Image360AnnotationAssetFilter, Image360AnnotationAssetQueryResult, Image360AnnotationFilterOptions } from '../packages/360-images';
14
+ export { CognitePointCloudModel, isDMPointCloudModel, isClassicPointCloudModel } from '../packages/pointclouds';
15
+ export { CompletePointCloudAppearance, PointCloudAppearance, PointCloudObjectCollection, PointCloudAnnotationVolumeCollection, AnnotationIdPointCloudObjectCollection, PointCloudDMVolumeCollection, DefaultPointCloudAppearance, StyledPointCloudObjectCollection, StyledPointCloudVolumeCollection } from '../packages/pointcloud-styling';
16
+ export { AssetAnnotationImage360Info, Image360, Image360Revision, Image360Visualization, Image360Collection, Image360EnteredDelegate, Image360ExitedDelegate, Image360IconStyle, Image360AnnotationIntersection, Image360AnnotationAppearance, Image360Annotation, Image360AnnotationAssetFilter, Image360AnnotationAssetQueryResult, Image360AnnotationFilterOptions, Image360Action } from '../packages/360-images';
17
17
  export { OverlayCollection, Overlay3DCollection, Overlay3DCollectionOptions, OverlayInfo, Overlay3D, DefaultOverlay3DContentType } from '../packages/3d-overlays';