@cognite/reveal-components 1.0.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.
- package/README.md +23 -0
- package/dist/_virtual/_rolldown_dynamic_import_helper.js +9 -0
- package/dist/assets/poi-markers/poi-default.js +4 -0
- package/dist/assets/poi-markers/poi-hover.js +4 -0
- package/dist/assets/poi-markers/poi-selected.js +4 -0
- package/dist/common/i18n/de/reveal-components.js +197 -0
- package/dist/common/i18n/en/reveal-components.js +197 -0
- package/dist/common/i18n/es/reveal-components.js +197 -0
- package/dist/common/i18n/fr/reveal-components.js +197 -0
- package/dist/common/i18n/it/reveal-components.js +197 -0
- package/dist/common/i18n/ja/reveal-components.js +197 -0
- package/dist/common/i18n/ko/reveal-components.js +197 -0
- package/dist/common/i18n/lv/reveal-components.js +197 -0
- package/dist/common/i18n/nb/reveal-components.js +197 -0
- package/dist/common/i18n/nl/reveal-components.js +197 -0
- package/dist/common/i18n/pt/reveal-components.js +197 -0
- package/dist/common/i18n/sv/reveal-components.js +197 -0
- package/dist/common/i18n/zh/reveal-components.js +197 -0
- package/dist/data-providers/Fdm3dDataProvider.d.ts +17 -0
- package/dist/data-providers/FdmSDK.d.ts +200 -0
- package/dist/data-providers/FdmSDK.js +167 -0
- package/dist/data-providers/cache/CacheProvider.d.ts +12 -0
- package/dist/data-providers/cache/CacheProvider.js +6 -0
- package/dist/data-providers/cache/Image360AnnotationCache.d.ts +14 -0
- package/dist/data-providers/cache/Image360AnnotationCache.js +69 -0
- package/dist/data-providers/cache/PointCloudAnnotationCache.d.ts +24 -0
- package/dist/data-providers/cache/PointCloudAnnotationCache.js +81 -0
- package/dist/data-providers/cache/RevisionFdmNodeCache.d.ts +28 -0
- package/dist/data-providers/cache/RevisionFdmNodeCache.js +151 -0
- package/dist/data-providers/cache/annotationModelUtils.d.ts +7 -0
- package/dist/data-providers/cache/annotationModelUtils.js +40 -0
- package/dist/data-providers/cache/cad/CadInstanceMappingsCache.d.ts +20 -0
- package/dist/data-providers/cache/cad/CadInstanceMappingsCacheImpl.d.ts +4 -0
- package/dist/data-providers/cache/cad/CadInstanceMappingsCacheImpl.js +80 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingCache.d.ts +22 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingCacheImpl.d.ts +3 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingCacheImpl.js +135 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerAssetIdCache.d.ts +8 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerAssetIdCache.js +16 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerModelCache.d.ts +18 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerModelCache.js +53 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerNodeIdCache.d.ts +8 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerNodeIdCache.js +16 -0
- package/dist/data-providers/cache/cad/ClassicCadNode3DPerNodeIdCache.d.ts +12 -0
- package/dist/data-providers/cache/cad/ClassicCadNode3DPerNodeIdCache.js +38 -0
- package/dist/data-providers/cache/cad/FdmCadNodeCache.d.ts +8 -0
- package/dist/data-providers/cache/cad/FdmCadNodeCacheImpl.d.ts +11 -0
- package/dist/data-providers/cache/cad/FdmCadNodeCacheImpl.js +218 -0
- package/dist/data-providers/cache/cad/assetMappingTypes.d.ts +42 -0
- package/dist/data-providers/cache/cad/assetMappingTypes.js +24 -0
- package/dist/data-providers/cache/cad/enrichCadNodeMappingsWithBoundingBoxes.d.ts +3 -0
- package/dist/data-providers/cache/cad/enrichCadNodeMappingsWithBoundingBoxes.js +30 -0
- package/dist/data-providers/cache/cad/fdmCadConnectionMappingUtils.d.ts +4 -0
- package/dist/data-providers/cache/cad/rawAssetMappingTypes.d.ts +25 -0
- package/dist/data-providers/cache/cad/rawAssetMappingTypes.js +27 -0
- package/dist/data-providers/cache/cad/types.d.ts +26 -0
- package/dist/data-providers/cache/idAndKeyTranslation.d.ts +13 -0
- package/dist/data-providers/cache/idAndKeyTranslation.js +40 -0
- package/dist/data-providers/cache/index.d.ts +5 -0
- package/dist/data-providers/cache/index.js +3 -0
- package/dist/data-providers/cache/requests.d.ts +8 -0
- package/dist/data-providers/cache/requests.js +40 -0
- package/dist/data-providers/cache/typeGuards.d.ts +3 -0
- package/dist/data-providers/cache/typeGuards.js +6 -0
- package/dist/data-providers/cache/types.d.ts +115 -0
- package/dist/data-providers/cache/utils.d.ts +20 -0
- package/dist/data-providers/cache/utils.js +48 -0
- package/dist/data-providers/core-dm-provider/CoreDm3dDataProvider.d.ts +33 -0
- package/dist/data-providers/core-dm-provider/CoreDm3dDataProvider.js +107 -0
- package/dist/data-providers/core-dm-provider/assetsInstanceFilterWithHasDataQuery.d.ts +2 -0
- package/dist/data-providers/core-dm-provider/cadAndPointCloudAndImage360VisualizableQuery.d.ts +50 -0
- package/dist/data-providers/core-dm-provider/cadAndPointCloudAndImage360VisualizableQuery.js +192 -0
- package/dist/data-providers/core-dm-provider/cadConnectionsQuery.d.ts +11 -0
- package/dist/data-providers/core-dm-provider/cadConnectionsQuery.js +61 -0
- package/dist/data-providers/core-dm-provider/cadModelsForInstanceQuery.d.ts +9 -0
- package/dist/data-providers/core-dm-provider/cadModelsForInstanceQuery.js +39 -0
- package/dist/data-providers/core-dm-provider/check3dConnectedEquipmentQuery.d.ts +45 -0
- package/dist/data-providers/core-dm-provider/check3dConnectedEquipmentQuery.js +140 -0
- package/dist/data-providers/core-dm-provider/cogniteCadNodeSourceWithProperties.d.ts +18 -0
- package/dist/data-providers/core-dm-provider/cogniteCadNodeSourceWithProperties.js +17 -0
- package/dist/data-providers/core-dm-provider/cogniteCadRevisionSourceWithProperties.d.ts +13 -0
- package/dist/data-providers/core-dm-provider/cogniteCadRevisionSourceWithProperties.js +14 -0
- package/dist/data-providers/core-dm-provider/cogniteDescribableSourceWithProperties.d.ts +7 -0
- package/dist/data-providers/core-dm-provider/cogniteDescribableSourceWithProperties.js +13 -0
- package/dist/data-providers/core-dm-provider/cogniteImage360SourceWithProperties.d.ts +32 -0
- package/dist/data-providers/core-dm-provider/cogniteImage360SourceWithProperties.js +8 -0
- package/dist/data-providers/core-dm-provider/cogniteVisualizable.d.ts +7 -0
- package/dist/data-providers/core-dm-provider/cogniteVisualizable.js +8 -0
- package/dist/data-providers/core-dm-provider/dataModels.d.ts +111 -0
- package/dist/data-providers/core-dm-provider/dataModels.js +65 -0
- package/dist/data-providers/core-dm-provider/filterNodesByMappedTo3d.d.ts +3 -0
- package/dist/data-providers/core-dm-provider/filterNodesByMappedTo3d.js +65 -0
- package/dist/data-providers/core-dm-provider/getCadConnectionsForInstances.d.ts +3 -0
- package/dist/data-providers/core-dm-provider/getCadConnectionsForInstances.js +86 -0
- package/dist/data-providers/core-dm-provider/getCadConnectionsForRevisions.d.ts +3 -0
- package/dist/data-providers/core-dm-provider/getCadConnectionsForRevisions.js +34 -0
- package/dist/data-providers/core-dm-provider/getCadModelsForInstance.d.ts +3 -0
- package/dist/data-providers/core-dm-provider/getCadModelsForInstance.js +21 -0
- package/dist/data-providers/core-dm-provider/getCdfIdFromExternalId.d.ts +3 -0
- package/dist/data-providers/core-dm-provider/getCdfIdFromExternalId.js +9 -0
- package/dist/data-providers/core-dm-provider/getDMSModels.d.ts +3 -0
- package/dist/data-providers/core-dm-provider/getDMSModels.js +32 -0
- package/dist/data-providers/core-dm-provider/getDMSRevision.d.ts +4 -0
- package/dist/data-providers/core-dm-provider/getDMSRevision.js +17 -0
- package/dist/data-providers/core-dm-provider/getDMSRevisions.d.ts +17 -0
- package/dist/data-providers/core-dm-provider/getDMSRevisions.js +49 -0
- package/dist/data-providers/core-dm-provider/getEdgeConnected3dInstances.d.ts +3 -0
- package/dist/data-providers/core-dm-provider/getEdgeConnected3dInstances.js +66 -0
- package/dist/data-providers/core-dm-provider/getFdmConnectionsForNodes.d.ts +5 -0
- package/dist/data-providers/core-dm-provider/getFdmConnectionsForNodes.js +101 -0
- package/dist/data-providers/core-dm-provider/listMappedFdmNodes.d.ts +18 -0
- package/dist/data-providers/core-dm-provider/listMappedFdmNodes.js +60 -0
- package/dist/data-providers/core-dm-provider/pointCloudModelsForInstanceQuery.d.ts +15 -0
- package/dist/data-providers/core-dm-provider/pointCloudModelsForInstanceQuery.js +41 -0
- package/dist/data-providers/core-dm-provider/revisionQuery.d.ts +7 -0
- package/dist/data-providers/core-dm-provider/revisionQuery.js +27 -0
- package/dist/data-providers/core-dm-provider/revisionsBatchQuery.d.ts +14 -0
- package/dist/data-providers/core-dm-provider/revisionsBatchQuery.js +29 -0
- package/dist/data-providers/core-dm-provider/utils/filters.d.ts +31 -0
- package/dist/data-providers/core-dm-provider/utils/filters.js +67 -0
- package/dist/data-providers/core-dm-provider/utils/queryTypeHelpers.d.ts +46 -0
- package/dist/data-providers/core-dm-provider/utils/transformViewItemToSource.d.ts +3 -0
- package/dist/data-providers/core-dm-provider/utils/transformViewItemToSource.js +11 -0
- package/dist/data-providers/index.d.ts +6 -0
- package/dist/data-providers/index.js +0 -0
- package/dist/data-providers/legacy-fdm-provider/LegacyFdm3dDataProvider.d.ts +24 -0
- package/dist/data-providers/legacy-fdm-provider/LegacyFdm3dDataProvider.js +58 -0
- package/dist/data-providers/legacy-fdm-provider/createMappedEquipmentQuery.d.ts +4 -0
- package/dist/data-providers/legacy-fdm-provider/createMappedEquipmentQuery.js +59 -0
- package/dist/data-providers/legacy-fdm-provider/dataModels.d.ts +19 -0
- package/dist/data-providers/legacy-fdm-provider/dataModels.js +24 -0
- package/dist/data-providers/legacy-fdm-provider/fdmEdgesToCadConnections.d.ts +5 -0
- package/dist/data-providers/legacy-fdm-provider/fdmEdgesToCadConnections.js +37 -0
- package/dist/data-providers/legacy-fdm-provider/filterNodesByMappedTo3d.d.ts +4 -0
- package/dist/data-providers/legacy-fdm-provider/filterNodesByMappedTo3d.js +85 -0
- package/dist/data-providers/legacy-fdm-provider/getCadConnectionsForRevision.d.ts +5 -0
- package/dist/data-providers/legacy-fdm-provider/getCadConnectionsForRevision.js +17 -0
- package/dist/data-providers/legacy-fdm-provider/getCadModelsForFdmInstance.d.ts +3 -0
- package/dist/data-providers/legacy-fdm-provider/getCadModelsForFdmInstance.js +50 -0
- package/dist/data-providers/legacy-fdm-provider/getDMSModels.d.ts +2 -0
- package/dist/data-providers/legacy-fdm-provider/getDMSModels.js +16 -0
- package/dist/data-providers/legacy-fdm-provider/getEdgeConnected3dInstances.d.ts +2 -0
- package/dist/data-providers/legacy-fdm-provider/getEdgeConnected3dInstances.js +66 -0
- package/dist/data-providers/legacy-fdm-provider/getFdmConnectionsForNodeIds.d.ts +4 -0
- package/dist/data-providers/legacy-fdm-provider/getFdmConnectionsForNodeIds.js +33 -0
- package/dist/data-providers/legacy-fdm-provider/listMappedFdmNodes.d.ts +4 -0
- package/dist/data-providers/legacy-fdm-provider/listMappedFdmNodes.js +27 -0
- package/dist/data-providers/network/bounds/getBoundsForInstance.d.ts +16 -0
- package/dist/data-providers/network/bounds/getBoundsForInstance.js +17 -0
- package/dist/data-providers/network/bounds/getCadInstanceBounds.d.ts +5 -0
- package/dist/data-providers/network/bounds/getCadInstanceBounds.js +20 -0
- package/dist/data-providers/network/bounds/getImage360InstanceBounds.d.ts +6 -0
- package/dist/data-providers/network/bounds/getImage360InstanceBounds.js +16 -0
- package/dist/data-providers/network/bounds/getPointCloudInstanceBounds.d.ts +4 -0
- package/dist/data-providers/network/bounds/getPointCloudInstanceBounds.js +16 -0
- package/dist/data-providers/network/cad/fetchAllAssetsForCadModels.d.ts +16 -0
- package/dist/data-providers/network/cad/fetchAllAssetsForCadModels.js +78 -0
- package/dist/data-providers/network/cad/fetchHybridAssetMappingsForModels.d.ts +17 -0
- package/dist/data-providers/network/cad/fetchHybridAssetMappingsForModels.js +44 -0
- package/dist/data-providers/network/cad/getAssetsFromAssetMappings.d.ts +8 -0
- package/dist/data-providers/network/cad/getAssetsFromAssetMappings.js +25 -0
- package/dist/data-providers/network/cad/searchClassicAssetsForCadModels.d.ts +11 -0
- package/dist/data-providers/network/cad/searchClassicAssetsForCadModels.js +132 -0
- package/dist/data-providers/network/cad/searchHybridDmAssetsForCadModels.d.ts +15 -0
- package/dist/data-providers/network/cad/searchHybridDmAssetsForCadModels.js +19 -0
- package/dist/data-providers/network/cad/searchHybridDmCadAssetMappingsWithFilters.d.ts +5 -0
- package/dist/data-providers/network/cad/searchHybridDmCadAssetMappingsWithFilters.js +15 -0
- package/dist/data-providers/network/cad/types.d.ts +27 -0
- package/dist/data-providers/network/common/buildClassicAssetFilter.d.ts +5 -0
- package/dist/data-providers/network/common/buildClassicAssetFilter.js +28 -0
- package/dist/data-providers/network/common/fetchClassicModelOption.d.ts +7 -0
- package/dist/data-providers/network/common/fetchClassicModelOption.js +19 -0
- package/dist/data-providers/network/common/filters.d.ts +17 -0
- package/dist/data-providers/network/common/filters.js +6 -0
- package/dist/data-providers/network/common/getAssetsForIds.d.ts +3 -0
- package/dist/data-providers/network/common/getAssetsForIds.js +39 -0
- package/dist/data-providers/network/common/getDMAssetsForAnnotationReference.d.ts +4 -0
- package/dist/data-providers/network/common/getDMAssetsForAnnotationReference.js +18 -0
- package/dist/data-providers/network/common/getDMModelName.d.ts +3 -0
- package/dist/data-providers/network/common/getDMModelName.js +52 -0
- package/dist/data-providers/network/common/getModelIdAndRevisionIdFromExternalId.d.ts +7 -0
- package/dist/data-providers/network/common/getModelIdAndRevisionIdFromExternalId.js +39 -0
- package/dist/data-providers/network/common/getResourceIdentifierFromResourceOptions.d.ts +11 -0
- package/dist/data-providers/network/common/getResourceIdentifierFromResourceOptions.js +38 -0
- package/dist/data-providers/network/common/getResourceIdentifierWithType.d.ts +9 -0
- package/dist/data-providers/network/common/getResourceIdentifierWithType.js +29 -0
- package/dist/data-providers/network/common/getTypedModels.d.ts +6 -0
- package/dist/data-providers/network/common/getTypedModels.js +37 -0
- package/dist/data-providers/network/common/modelIdentifierHelper.d.ts +5 -0
- package/dist/data-providers/network/common/modelIdentifierHelper.js +15 -0
- package/dist/data-providers/network/common/searchDmInstances.d.ts +13 -0
- package/dist/data-providers/network/common/searchDmInstances.js +13 -0
- package/dist/data-providers/network/getAssetMappedPointCloudAnnotations.d.ts +11 -0
- package/dist/data-providers/network/getAssetMappedPointCloudAnnotations.js +41 -0
- package/dist/data-providers/network/getClassicAssetMapped360Annotations.d.ts +8 -0
- package/dist/data-providers/network/getClassicAssetMapped360Annotations.js +75 -0
- package/dist/data-providers/network/image360/searchHybridDmImage360AssetMappingsWithFilters.d.ts +5 -0
- package/dist/data-providers/network/image360/searchHybridDmImage360AssetMappingsWithFilters.js +19 -0
- package/dist/data-providers/network/pointcloud/searchHybridDmPointCloudAssetMappingsWithFilters.d.ts +5 -0
- package/dist/data-providers/network/pointcloud/searchHybridDmPointCloudAssetMappingsWithFilters.js +18 -0
- package/dist/data-providers/network/pointcloud/searchHybridPointCloudDmAssetsForModels.d.ts +10 -0
- package/dist/data-providers/network/pointcloud/searchHybridPointCloudDmAssetsForModels.js +9 -0
- package/dist/data-providers/network/searchClassicAssetsForModels.d.ts +17 -0
- package/dist/data-providers/network/searchClassicAssetsForModels.js +20 -0
- package/dist/data-providers/network/searchClassicImage360Assets.d.ts +5 -0
- package/dist/data-providers/network/searchClassicImage360Assets.js +12 -0
- package/dist/data-providers/network/searchHybridDmAssetsForModels.d.ts +14 -0
- package/dist/data-providers/network/searchHybridDmAssetsForModels.js +21 -0
- package/dist/data-providers/network/types.d.ts +40 -0
- package/dist/data-providers/types/index.d.ts +5 -0
- package/dist/data-providers/types/index.js +4 -0
- package/dist/data-providers/types/resources.d.ts +107 -0
- package/dist/data-providers/types/styling.d.ts +18 -0
- package/dist/data-providers/types/typeAdapters.d.ts +47 -0
- package/dist/data-providers/types/typeAdapters.js +158 -0
- package/dist/data-providers/types/typeGuards.d.ts +23 -0
- package/dist/data-providers/types/typeGuards.js +4 -0
- package/dist/data-providers/types/utils.d.ts +13 -0
- package/dist/data-providers/types/utils.js +13 -0
- package/dist/data-providers/utils/cadConnectionMapping.d.ts +25 -0
- package/dist/data-providers/utils/cadConnectionMapping.js +31 -0
- package/dist/data-providers/utils/cadNodeConnectionFields.d.ts +28 -0
- package/dist/data-providers/utils/cadNodeConnectionFields.js +38 -0
- package/dist/data-providers/utils/getCogniteAssetDirectRelationProperties.d.ts +3 -0
- package/dist/data-providers/utils/getCogniteAssetDirectRelationProperties.js +26 -0
- package/dist/data-providers/utils/getDMSModelRevisionRefs.d.ts +4 -0
- package/dist/data-providers/utils/getDMSModelRevisionRefs.js +12 -0
- package/dist/data-providers/utils/getDirectRelationProperties.d.ts +2 -0
- package/dist/data-providers/utils/getDirectRelationProperties.js +13 -0
- package/dist/data-providers/utils/index.d.ts +1 -0
- package/dist/data-providers/utils/index.js +0 -0
- package/dist/data-providers/utils/mergeQueryResult.d.ts +1 -0
- package/dist/data-providers/utils/mergeQueryResult.js +8 -0
- package/dist/data-providers/utils/queryNodesAndEdges.d.ts +50 -0
- package/dist/data-providers/utils/queryNodesAndEdges.js +10 -0
- package/dist/data-providers/utils/typeUtils.d.ts +2 -0
- package/dist/domains/annotation360/DeleteSelectedImage360AnnotationCommand.d.ts +12 -0
- package/dist/domains/annotation360/DeleteSelectedImage360AnnotationCommand.js +30 -0
- package/dist/domains/annotation360/Image360AnnotationCreateTool.d.ts +23 -0
- package/dist/domains/annotation360/Image360AnnotationCreateTool.js +91 -0
- package/dist/domains/annotation360/Image360AnnotationCreator.d.ts +10 -0
- package/dist/domains/annotation360/Image360AnnotationCreator.js +21 -0
- package/dist/domains/annotation360/Image360AnnotationDomainObject.d.ts +28 -0
- package/dist/domains/annotation360/Image360AnnotationDomainObject.js +60 -0
- package/dist/domains/annotation360/Image360AnnotationFolder.d.ts +7 -0
- package/dist/domains/annotation360/Image360AnnotationFolder.js +13 -0
- package/dist/domains/annotation360/Image360AnnotationSelectTool.d.ts +17 -0
- package/dist/domains/annotation360/Image360AnnotationSelectTool.js +52 -0
- package/dist/domains/annotation360/createTriangleIndexesFromVectors.d.ts +2 -0
- package/dist/domains/annotation360/createTriangleIndexesFromVectors.js +90 -0
- package/dist/domains/annotation360/types.d.ts +13 -0
- package/dist/domains/annotations/AnnotationsDomainObject.d.ts +39 -0
- package/dist/domains/annotations/AnnotationsDomainObject.js +123 -0
- package/dist/domains/annotations/AnnotationsRenderStyle.d.ts +18 -0
- package/dist/domains/annotations/AnnotationsRenderStyle.js +30 -0
- package/dist/domains/annotations/AnnotationsView.d.ts +37 -0
- package/dist/domains/annotations/AnnotationsView.js +225 -0
- package/dist/domains/annotations/BoxGizmoDomainObject.d.ts +20 -0
- package/dist/domains/annotations/BoxGizmoDomainObject.js +62 -0
- package/dist/domains/annotations/CylinderGizmoDomainObject.d.ts +21 -0
- package/dist/domains/annotations/CylinderGizmoDomainObject.js +63 -0
- package/dist/domains/annotations/commands/AnnotationsAlignCommand.d.ts +14 -0
- package/dist/domains/annotations/commands/AnnotationsAlignCommand.js +44 -0
- package/dist/domains/annotations/commands/AnnotationsCreateMockCommand.d.ts +11 -0
- package/dist/domains/annotations/commands/AnnotationsCreateMockCommand.js +60 -0
- package/dist/domains/annotations/commands/AnnotationsCreateTool.d.ts +25 -0
- package/dist/domains/annotations/commands/AnnotationsCreateTool.js +141 -0
- package/dist/domains/annotations/commands/AnnotationsDeleteCommand.d.ts +11 -0
- package/dist/domains/annotations/commands/AnnotationsDeleteCommand.js +27 -0
- package/dist/domains/annotations/commands/AnnotationsSelectTool.d.ts +26 -0
- package/dist/domains/annotations/commands/AnnotationsSelectTool.js +94 -0
- package/dist/domains/annotations/commands/AnnotationsSetCreateTypeCommand.d.ts +16 -0
- package/dist/domains/annotations/commands/AnnotationsSetCreateTypeCommand.js +44 -0
- package/dist/domains/annotations/commands/AnnotationsShowCommand.d.ts +7 -0
- package/dist/domains/annotations/commands/AnnotationsShowCommand.js +13 -0
- package/dist/domains/annotations/commands/AnnotationsShowOnTopCommand.d.ts +7 -0
- package/dist/domains/annotations/commands/AnnotationsShowOnTopCommand.js +13 -0
- package/dist/domains/annotations/commands/isGizmo.d.ts +3 -0
- package/dist/domains/annotations/commands/isGizmo.js +12 -0
- package/dist/domains/annotations/helpers/Annotation.d.ts +47 -0
- package/dist/domains/annotations/helpers/Annotation.js +113 -0
- package/dist/domains/annotations/helpers/AnnotationChangedDescription.d.ts +6 -0
- package/dist/domains/annotations/helpers/AnnotationChangedDescription.js +10 -0
- package/dist/domains/annotations/helpers/AnnotationUtils.d.ts +8 -0
- package/dist/domains/annotations/helpers/AnnotationUtils.js +128 -0
- package/dist/domains/annotations/helpers/Status.d.ts +7 -0
- package/dist/domains/annotations/helpers/Status.js +11 -0
- package/dist/domains/annotations/helpers/WireframeUserData.d.ts +12 -0
- package/dist/domains/annotations/helpers/WireframeUserData.js +23 -0
- package/dist/domains/annotations/helpers/constants.d.ts +1 -0
- package/dist/domains/annotations/helpers/constants.js +4 -0
- package/dist/domains/annotations/helpers/createWireframeFromMultipleAnnotations.d.ts +14 -0
- package/dist/domains/annotations/helpers/createWireframeFromMultipleAnnotations.js +43 -0
- package/dist/domains/annotations/helpers/getClosestAnnotation.d.ts +13 -0
- package/dist/domains/annotations/helpers/getClosestAnnotation.js +36 -0
- package/dist/domains/annotations/helpers/getMatrixUtils.d.ts +6 -0
- package/dist/domains/annotations/helpers/getMatrixUtils.js +11 -0
- package/dist/domains/axis/AxisDomainObject.d.ts +11 -0
- package/dist/domains/axis/AxisDomainObject.js +22 -0
- package/dist/domains/axis/AxisRenderStyle.d.ts +23 -0
- package/dist/domains/axis/AxisRenderStyle.js +45 -0
- package/dist/domains/axis/AxisThreeView.d.ts +30 -0
- package/dist/domains/axis/AxisThreeView.js +256 -0
- package/dist/domains/axis/SetAxisVisibleCommand.d.ts +11 -0
- package/dist/domains/axis/SetAxisVisibleCommand.js +27 -0
- package/dist/domains/circleMarker/CircleMarkerDomainObject.d.ts +45 -0
- package/dist/domains/circleMarker/CircleMarkerDomainObject.js +60 -0
- package/dist/domains/circleMarker/CircleMarkerRenderStyle.d.ts +11 -0
- package/dist/domains/circleMarker/CircleMarkerRenderStyle.js +18 -0
- package/dist/domains/circleMarker/CircleMarkerView.d.ts +14 -0
- package/dist/domains/circleMarker/CircleMarkerView.js +45 -0
- package/dist/domains/clipping/ClipFolder.d.ts +7 -0
- package/dist/domains/clipping/ClipFolder.js +12 -0
- package/dist/domains/clipping/ClipTool.d.ts +17 -0
- package/dist/domains/clipping/ClipTool.js +47 -0
- package/dist/domains/clipping/CropBoxDomainObject.d.ts +23 -0
- package/dist/domains/clipping/CropBoxDomainObject.js +77 -0
- package/dist/domains/clipping/SliceDomainObject.d.ts +15 -0
- package/dist/domains/clipping/SliceDomainObject.js +45 -0
- package/dist/domains/clipping/commands/ApplyClipCommand.d.ts +13 -0
- package/dist/domains/clipping/commands/ApplyClipCommand.js +38 -0
- package/dist/domains/clipping/commands/FlipSliceCommand.d.ts +9 -0
- package/dist/domains/clipping/commands/FlipSliceCommand.js +17 -0
- package/dist/domains/clipping/commands/NextClippingCommand.d.ts +19 -0
- package/dist/domains/clipping/commands/NextClippingCommand.js +68 -0
- package/dist/domains/clipping/commands/SetClipTypeCommand.d.ts +19 -0
- package/dist/domains/clipping/commands/SetClipTypeCommand.js +63 -0
- package/dist/domains/clipping/commands/ShowAllClippingCommand.d.ts +12 -0
- package/dist/domains/clipping/commands/ShowAllClippingCommand.js +29 -0
- package/dist/domains/clipping/commands/ShowClippingOnTopCommand.d.ts +7 -0
- package/dist/domains/clipping/commands/ShowClippingOnTopCommand.js +14 -0
- package/dist/domains/clipping/commands/ToggleGlobalCropBoxCommand.d.ts +14 -0
- package/dist/domains/clipping/commands/ToggleGlobalCropBoxCommand.js +34 -0
- package/dist/domains/clipping/commands/setClippingPlanes.d.ts +2 -0
- package/dist/domains/clipping/commands/setClippingPlanes.js +13 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360Controller.d.ts +53 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360Controller.js +121 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360DomainObject.d.ts +17 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360DomainObject.js +31 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360Mesh.d.ts +19 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360Mesh.js +34 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360RenderStyle.d.ts +8 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360RenderStyle.js +15 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360View.d.ts +15 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360View.js +42 -0
- package/dist/domains/directionalMarker360/estimateNormalViaPCA.d.ts +13 -0
- package/dist/domains/directionalMarker360/estimateNormalViaPCA.js +53 -0
- package/dist/domains/example/ExampleDomainObject.d.ts +28 -0
- package/dist/domains/example/ExampleDomainObject.js +66 -0
- package/dist/domains/example/ExampleDragger.d.ts +13 -0
- package/dist/domains/example/ExampleDragger.js +25 -0
- package/dist/domains/example/ExampleRenderStyle.d.ts +7 -0
- package/dist/domains/example/ExampleRenderStyle.js +12 -0
- package/dist/domains/example/ExampleTool.d.ts +14 -0
- package/dist/domains/example/ExampleTool.js +72 -0
- package/dist/domains/example/ExampleView.d.ts +12 -0
- package/dist/domains/example/ExampleView.js +49 -0
- package/dist/domains/example/commands/DeleteAllExamplesCommand.d.ts +12 -0
- package/dist/domains/example/commands/DeleteAllExamplesCommand.js +30 -0
- package/dist/domains/example/commands/ResetAllExamplesCommand.d.ts +10 -0
- package/dist/domains/example/commands/ResetAllExamplesCommand.js +21 -0
- package/dist/domains/example/commands/ShowAllExamplesCommand.d.ts +7 -0
- package/dist/domains/example/commands/ShowAllExamplesCommand.js +13 -0
- package/dist/domains/example/commands/ShowExamplesOnTopCommand.d.ts +7 -0
- package/dist/domains/example/commands/ShowExamplesOnTopCommand.js +13 -0
- package/dist/domains/groundPlane/GroundPlaneDomainObject.d.ts +29 -0
- package/dist/domains/groundPlane/GroundPlaneDomainObject.js +44 -0
- package/dist/domains/groundPlane/GroundPlaneView.d.ts +6 -0
- package/dist/domains/groundPlane/GroundPlaneView.js +22 -0
- package/dist/domains/groundPlane/index.d.ts +2 -0
- package/dist/domains/index.d.ts +113 -0
- package/dist/domains/index.js +103 -0
- package/dist/domains/installThreeViews.d.ts +1 -0
- package/dist/domains/installThreeViews.js +40 -0
- package/dist/domains/installToolbars.d.ts +1 -0
- package/dist/domains/installToolbars.js +72 -0
- package/dist/domains/measurements/MeasureBoxDomainObject.d.ts +8 -0
- package/dist/domains/measurements/MeasureBoxDomainObject.js +17 -0
- package/dist/domains/measurements/MeasureCylinderDomainObject.d.ts +7 -0
- package/dist/domains/measurements/MeasureCylinderDomainObject.js +15 -0
- package/dist/domains/measurements/MeasureLineDomainObject.d.ts +7 -0
- package/dist/domains/measurements/MeasureLineDomainObject.js +14 -0
- package/dist/domains/measurements/MeasurementFolder.d.ts +7 -0
- package/dist/domains/measurements/MeasurementFolder.js +12 -0
- package/dist/domains/measurements/MeasurementTool.d.ts +23 -0
- package/dist/domains/measurements/MeasurementTool.js +105 -0
- package/dist/domains/measurements/commands/SetMeasurementTypeCommand.d.ts +18 -0
- package/dist/domains/measurements/commands/SetMeasurementTypeCommand.js +69 -0
- package/dist/domains/measurements/commands/ShowMeasurementsOnTopCommand.d.ts +9 -0
- package/dist/domains/measurements/commands/ShowMeasurementsOnTopCommand.js +19 -0
- package/dist/domains/measurements/diameter/getBestFitCylinderByIntersection.d.ts +18 -0
- package/dist/domains/measurements/diameter/getBestFitCylinderByIntersection.js +21 -0
- package/dist/domains/measurements/diameter/measureDiameterToolUtils.d.ts +4 -0
- package/dist/domains/measurements/diameter/measureDiameterToolUtils.js +26 -0
- package/dist/domains/measurements/point/MeasurePointCreator.d.ts +17 -0
- package/dist/domains/measurements/point/MeasurePointCreator.js +26 -0
- package/dist/domains/measurements/point/MeasurePointDomainObject.d.ts +19 -0
- package/dist/domains/measurements/point/MeasurePointDomainObject.js +72 -0
- package/dist/domains/measurements/updateFocusPointMarker.d.ts +2 -0
- package/dist/domains/measurements/updateFocusPointMarker.js +12 -0
- package/dist/domains/pointsOfInterest/DeletePointsOfInterestCommand.d.ts +11 -0
- package/dist/domains/pointsOfInterest/DeletePointsOfInterestCommand.js +25 -0
- package/dist/domains/pointsOfInterest/InitiatePointsOfInterestCommand.d.ts +13 -0
- package/dist/domains/pointsOfInterest/InitiatePointsOfInterestCommand.js +25 -0
- package/dist/domains/pointsOfInterest/PoiHoverScheduler.d.ts +17 -0
- package/dist/domains/pointsOfInterest/PoiHoverScheduler.js +65 -0
- package/dist/domains/pointsOfInterest/PointOfInterestTreeNode.d.ts +22 -0
- package/dist/domains/pointsOfInterest/PointOfInterestTreeNode.js +43 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestCache.d.ts +18 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestCache.js +35 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestCommand.d.ts +7 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestCommand.js +14 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestDomainObject.d.ts +72 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestDomainObject.js +223 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestProvider.d.ts +13 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestTool.d.ts +59 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestTool.js +148 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestView.d.ts +25 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestView.js +105 -0
- package/dist/domains/pointsOfInterest/SetPointsOfInterestVisibleCommand.d.ts +9 -0
- package/dist/domains/pointsOfInterest/SetPointsOfInterestVisibleCommand.js +24 -0
- package/dist/domains/pointsOfInterest/ads/PointsOfInterestAdsProvider.d.ts +23 -0
- package/dist/domains/pointsOfInterest/ads/PointsOfInterestAdsProvider.js +95 -0
- package/dist/domains/pointsOfInterest/ads/createUpsertRequestFromPois.d.ts +18 -0
- package/dist/domains/pointsOfInterest/ads/createUpsertRequestFromPois.js +31 -0
- package/dist/domains/pointsOfInterest/ads/createUserMap.d.ts +2 -0
- package/dist/domains/pointsOfInterest/ads/createUserMap.js +10 -0
- package/dist/domains/pointsOfInterest/ads/types.d.ts +54 -0
- package/dist/domains/pointsOfInterest/computeOverlayMatchingWorldDiameter.d.ts +18 -0
- package/dist/domains/pointsOfInterest/computeOverlayMatchingWorldDiameter.js +9 -0
- package/dist/domains/pointsOfInterest/getPoiIntersectionFromPixel.d.ts +8 -0
- package/dist/domains/pointsOfInterest/getPoiIntersectionFromPixel.js +12 -0
- package/dist/domains/pointsOfInterest/index.d.ts +3 -0
- package/dist/domains/pointsOfInterest/index.js +4 -0
- package/dist/domains/pointsOfInterest/models.d.ts +27 -0
- package/dist/domains/pointsOfInterest/poiMarkerTextures.d.ts +12 -0
- package/dist/domains/pointsOfInterest/poiMarkerTextures.js +25 -0
- package/dist/domains/pointsOfInterest/selectPoiFromPointer.d.ts +9 -0
- package/dist/domains/pointsOfInterest/selectPoiFromPointer.js +11 -0
- package/dist/domains/pointsOfInterest/types.d.ts +30 -0
- package/dist/domains/pointsOfInterest/types.js +39 -0
- package/dist/domains/primitives/box/BoxCreator.d.ts +24 -0
- package/dist/domains/primitives/box/BoxCreator.js +72 -0
- package/dist/domains/primitives/box/BoxDomainObject.d.ts +30 -0
- package/dist/domains/primitives/box/BoxDomainObject.js +114 -0
- package/dist/domains/primitives/box/BoxDragger.d.ts +33 -0
- package/dist/domains/primitives/box/BoxDragger.js +126 -0
- package/dist/domains/primitives/box/BoxView.d.ts +45 -0
- package/dist/domains/primitives/box/BoxView.js +307 -0
- package/dist/domains/primitives/common/BoxFace.d.ts +68 -0
- package/dist/domains/primitives/common/BoxFace.js +81 -0
- package/dist/domains/primitives/common/PrimitivePickInfo.d.ts +27 -0
- package/dist/domains/primitives/common/PrimitivePickInfo.js +12 -0
- package/dist/domains/primitives/common/PrimitiveRenderStyle.d.ts +12 -0
- package/dist/domains/primitives/common/PrimitiveRenderStyle.js +16 -0
- package/dist/domains/primitives/common/SolidDomainObject.d.ts +18 -0
- package/dist/domains/primitives/common/SolidDomainObject.js +39 -0
- package/dist/domains/primitives/common/SolidPrimitiveRenderStyle.d.ts +18 -0
- package/dist/domains/primitives/common/SolidPrimitiveRenderStyle.js +29 -0
- package/dist/domains/primitives/cylinder/CylinderCreator.d.ts +27 -0
- package/dist/domains/primitives/cylinder/CylinderCreator.js +79 -0
- package/dist/domains/primitives/cylinder/CylinderDomainObject.d.ts +26 -0
- package/dist/domains/primitives/cylinder/CylinderDomainObject.js +98 -0
- package/dist/domains/primitives/cylinder/CylinderDragger.d.ts +32 -0
- package/dist/domains/primitives/cylinder/CylinderDragger.js +112 -0
- package/dist/domains/primitives/cylinder/CylinderView.d.ts +30 -0
- package/dist/domains/primitives/cylinder/CylinderView.js +185 -0
- package/dist/domains/primitives/line/LineCreator.d.ts +20 -0
- package/dist/domains/primitives/line/LineCreator.js +53 -0
- package/dist/domains/primitives/line/LineDomainObject.d.ts +38 -0
- package/dist/domains/primitives/line/LineDomainObject.js +152 -0
- package/dist/domains/primitives/line/LineRenderStyle.d.ts +16 -0
- package/dist/domains/primitives/line/LineRenderStyle.js +23 -0
- package/dist/domains/primitives/line/LineView.d.ts +17 -0
- package/dist/domains/primitives/line/LineView.js +160 -0
- package/dist/domains/primitives/plane/PlaneCreator.d.ts +18 -0
- package/dist/domains/primitives/plane/PlaneCreator.js +61 -0
- package/dist/domains/primitives/plane/PlaneDomainObject.d.ts +37 -0
- package/dist/domains/primitives/plane/PlaneDomainObject.js +158 -0
- package/dist/domains/primitives/plane/PlaneDragger.d.ts +17 -0
- package/dist/domains/primitives/plane/PlaneDragger.js +35 -0
- package/dist/domains/primitives/plane/PlaneView.d.ts +22 -0
- package/dist/domains/primitives/plane/PlaneView.js +140 -0
- package/dist/domains/primitives/tools/PrimitiveEditTool.d.ts +29 -0
- package/dist/domains/primitives/tools/PrimitiveEditTool.js +173 -0
- package/dist/domains/reveal/Image360Collection/Image360CollectionDomainObject.d.ts +44 -0
- package/dist/domains/reveal/Image360Collection/Image360CollectionDomainObject.js +98 -0
- package/dist/domains/reveal/Image360Collection/Image360CollectionFolder.d.ts +6 -0
- package/dist/domains/reveal/Image360Collection/Image360CollectionFolder.js +12 -0
- package/dist/domains/reveal/Image360Collection/Image360CollectionThreeView.d.ts +12 -0
- package/dist/domains/reveal/Image360Collection/Image360CollectionThreeView.js +24 -0
- package/dist/domains/reveal/Image360Collection/commands/Image360ActionCommand.d.ts +14 -0
- package/dist/domains/reveal/Image360Collection/commands/Image360ActionCommand.js +45 -0
- package/dist/domains/reveal/Image360Collection/commands/Image360CollectionDividerCommand.d.ts +4 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsOccludedVisibleCommand.d.ts +11 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsOccludedVisibleCommand.js +25 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsOpacityCommand.d.ts +10 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsOpacityCommand.js +22 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsSectionCommand.d.ts +6 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsSectionCommand.js +13 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsVisibleCommand.d.ts +11 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsVisibleCommand.js +25 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360ImagesOpacityCommand.d.ts +10 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360ImagesOpacityCommand.js +22 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360ImagesSectionCommand.d.ts +6 -0
- package/dist/domains/reveal/Image360Collection/commands/Show360AnnotationsCommand.d.ts +13 -0
- package/dist/domains/reveal/Image360Collection/commands/Show360AnnotationsCommand.js +29 -0
- package/dist/domains/reveal/RevealDomainObject.d.ts +3 -0
- package/dist/domains/reveal/RevealDomainObject.js +5 -0
- package/dist/domains/reveal/RevealDomainObjectUtils.d.ts +31 -0
- package/dist/domains/reveal/RevealDomainObjectUtils.js +78 -0
- package/dist/domains/reveal/RevealSettingsController.d.ts +43 -0
- package/dist/domains/reveal/RevealSettingsController.js +170 -0
- package/dist/domains/reveal/RevealTypes.d.ts +4 -0
- package/dist/domains/reveal/cad/CadDomainObject.d.ts +39 -0
- package/dist/domains/reveal/cad/CadDomainObject.js +96 -0
- package/dist/domains/reveal/cad/CadDomainObjectUtils.d.ts +21 -0
- package/dist/domains/reveal/cad/CadDomainObjectUtils.js +39 -0
- package/dist/domains/reveal/cad/CadFolder.d.ts +6 -0
- package/dist/domains/reveal/cad/CadFolder.js +12 -0
- package/dist/domains/reveal/cad/CadThreeView.d.ts +12 -0
- package/dist/domains/reveal/cad/CadThreeView.js +25 -0
- package/dist/domains/reveal/cad/commands/CadDividerCommand.d.ts +4 -0
- package/dist/domains/reveal/cad/commands/SetGhostModeCommand.d.ts +10 -0
- package/dist/domains/reveal/cad/commands/SetGhostModeCommand.js +24 -0
- package/dist/domains/reveal/constants.d.ts +2 -0
- package/dist/domains/reveal/constants.js +14 -0
- package/dist/domains/reveal/getOrCreateFolder.d.ts +17 -0
- package/dist/domains/reveal/getOrCreateFolder.js +26 -0
- package/dist/domains/reveal/pointCloud/PointCloudDomainObject.d.ts +31 -0
- package/dist/domains/reveal/pointCloud/PointCloudDomainObject.js +57 -0
- package/dist/domains/reveal/pointCloud/PointCloudFolder.d.ts +6 -0
- package/dist/domains/reveal/pointCloud/PointCloudFolder.js +12 -0
- package/dist/domains/reveal/pointCloud/PointCloudThreeView.d.ts +11 -0
- package/dist/domains/reveal/pointCloud/PointCloudThreeView.js +25 -0
- package/dist/domains/reveal/pointCloud/commands/PointCloudFilterCommand.d.ts +31 -0
- package/dist/domains/reveal/pointCloud/commands/PointCloudFilterCommand.js +96 -0
- package/dist/domains/reveal/pointCloud/commands/SetPointColorTypeCommand.d.ts +10 -0
- package/dist/domains/reveal/pointCloud/commands/SetPointColorTypeCommand.js +54 -0
- package/dist/domains/reveal/pointCloud/commands/SetPointShapeCommand.d.ts +10 -0
- package/dist/domains/reveal/pointCloud/commands/SetPointShapeCommand.js +45 -0
- package/dist/domains/reveal/pointCloud/commands/SetPointSizeCommand.d.ts +15 -0
- package/dist/domains/reveal/pointCloud/commands/SetPointSizeCommand.js +58 -0
- package/dist/domains/reveal/pointCloud/isPointCloudIntersection.d.ts +2 -0
- package/dist/domains/reveal/pointCloud/isPointCloudIntersection.js +6 -0
- package/dist/domains/reveal/signal/getRevealDomainObjectsSignal.d.ts +4 -0
- package/dist/domains/reveal/signal/getRevealDomainObjectsSignal.js +22 -0
- package/dist/domains/reveal/utils/getViewer.d.ts +3 -0
- package/dist/domains/reveal/utils/getViewer.js +9 -0
- package/dist/domains/reveal/utils/isImage360AnnotationHit.d.ts +8 -0
- package/dist/domains/reveal/utils/isImage360AnnotationHit.js +6 -0
- package/dist/domains/reveal/utils/layersUrlStateParam.d.ts +19 -0
- package/dist/domains/reveal/utils/updateLayerState.d.ts +6 -0
- package/dist/domains/reveal/utils/updateLayerState.js +57 -0
- package/dist/domains/scene/SceneDomainObject.d.ts +41 -0
- package/dist/domains/scene/SceneDomainObject.js +56 -0
- package/dist/domains/scene/createResourceTransformation.d.ts +9 -0
- package/dist/domains/scene/createResourceTransformation.js +15 -0
- package/dist/domains/scene/fetchSceneConfig.d.ts +11 -0
- package/dist/domains/scene/fetchSceneConfig.js +64 -0
- package/dist/domains/scene/loadSceneGroundPlanes.d.ts +10 -0
- package/dist/domains/scene/loadSceneGroundPlanes.js +32 -0
- package/dist/domains/scene/loadSceneImage360Collections.d.ts +11 -0
- package/dist/domains/scene/loadSceneImage360Collections.js +27 -0
- package/dist/domains/scene/loadSceneModels.d.ts +15 -0
- package/dist/domains/scene/loadSceneModels.js +62 -0
- package/dist/domains/scene/loadScenePointsOfInterest.d.ts +9 -0
- package/dist/domains/scene/loadScenePointsOfInterest.js +18 -0
- package/dist/domains/scene/loadSceneSkybox.d.ts +9 -0
- package/dist/domains/scene/loadSceneSkybox.js +19 -0
- package/dist/domains/scene/loadTextureFromFileExternalId.d.ts +15 -0
- package/dist/domains/scene/loadTextureFromFileExternalId.js +10 -0
- package/dist/domains/scene/parseSceneResponse.d.ts +7 -0
- package/dist/domains/scene/parseSceneResponse.js +71 -0
- package/dist/domains/skybox/SkyboxDomainObject.d.ts +15 -0
- package/dist/domains/skybox/SkyboxDomainObject.js +29 -0
- package/dist/domains/skybox/SkyboxView.d.ts +8 -0
- package/dist/domains/skybox/SkyboxView.js +29 -0
- package/dist/domains/skybox/index.d.ts +2 -0
- package/dist/domains/skybox/index.js +3 -0
- package/dist/domains/temporary/TemporaryFolder.d.ts +9 -0
- package/dist/domains/temporary/TemporaryFolder.js +17 -0
- package/dist/domains/temporary/getOrCreateTemporaryFolder.d.ts +5 -0
- package/dist/domains/temporary/getOrCreateTemporaryFolder.js +16 -0
- package/dist/domains/terrain/SetTerrainVisibleCommand.d.ts +8 -0
- package/dist/domains/terrain/TerrainDomainObject.d.ts +16 -0
- package/dist/domains/terrain/TerrainDomainObject.js +36 -0
- package/dist/domains/terrain/TerrainRenderStyle.d.ts +18 -0
- package/dist/domains/terrain/TerrainRenderStyle.js +24 -0
- package/dist/domains/terrain/TerrainThreeView.d.ts +13 -0
- package/dist/domains/terrain/TerrainThreeView.js +85 -0
- package/dist/domains/terrain/geometry/ContouringService.d.ts +12 -0
- package/dist/domains/terrain/geometry/ContouringService.js +39 -0
- package/dist/domains/terrain/geometry/Grid2.d.ts +14 -0
- package/dist/domains/terrain/geometry/RegularGrid2.d.ts +36 -0
- package/dist/domains/terrain/geometry/RegularGrid2Buffers.d.ts +8 -0
- package/dist/domains/terrain/geometry/RegularGrid2Buffers.js +39 -0
- package/dist/domains/terrain/geometry/createFractalRegularGrid2.d.ts +4 -0
- package/dist/foundation/commands/BaseBannerCommand.d.ts +16 -0
- package/dist/foundation/commands/BaseBannerCommand.js +11 -0
- package/dist/foundation/commands/BaseCommand.d.ts +88 -0
- package/dist/foundation/commands/BaseCommand.js +112 -0
- package/dist/foundation/commands/BaseEditTool.d.ts +68 -0
- package/dist/foundation/commands/BaseEditTool.js +85 -0
- package/dist/foundation/commands/BaseFilterCommand.d.ts +43 -0
- package/dist/foundation/commands/BaseFilterCommand.js +60 -0
- package/dist/foundation/commands/BaseInputCommand.d.ts +14 -0
- package/dist/foundation/commands/BaseInputCommand.js +24 -0
- package/dist/foundation/commands/BaseOptionCommand.d.ts +22 -0
- package/dist/foundation/commands/BaseOptionCommand.js +37 -0
- package/dist/foundation/commands/BaseSettingsCommand.d.ts +10 -0
- package/dist/foundation/commands/BaseSettingsCommand.js +27 -0
- package/dist/foundation/commands/BaseSliderCommand.d.ts +13 -0
- package/dist/foundation/commands/BaseSliderCommand.js +16 -0
- package/dist/foundation/commands/BaseTool.d.ts +63 -0
- package/dist/foundation/commands/BaseTool.js +109 -0
- package/dist/foundation/commands/CustomBaseInputCommand.d.ts +30 -0
- package/dist/foundation/commands/CustomBaseInputCommand.js +41 -0
- package/dist/foundation/commands/DividerCommand.d.ts +7 -0
- package/dist/foundation/commands/DividerCommand.js +15 -0
- package/dist/foundation/commands/DomainObjectCommand.d.ts +7 -0
- package/dist/foundation/commands/DomainObjectCommand.js +13 -0
- package/dist/foundation/commands/FractionSliderCommand.d.ts +5 -0
- package/dist/foundation/commands/FractionSliderCommand.js +12 -0
- package/dist/foundation/commands/GeneralBannerCommand.d.ts +15 -0
- package/dist/foundation/commands/GeneralBannerCommand.js +29 -0
- package/dist/foundation/commands/GroupCommand.d.ts +30 -0
- package/dist/foundation/commands/GroupCommand.js +48 -0
- package/dist/foundation/commands/InstanceCommand.d.ts +9 -0
- package/dist/foundation/commands/InstanceCommand.js +18 -0
- package/dist/foundation/commands/RenderTargetCommand.d.ts +25 -0
- package/dist/foundation/commands/RenderTargetCommand.js +44 -0
- package/dist/foundation/commands/SectionCommand.d.ts +7 -0
- package/dist/foundation/commands/SectionCommand.js +15 -0
- package/dist/foundation/commands/ShowAllDomainObjectsCommand.d.ts +11 -0
- package/dist/foundation/commands/ShowAllDomainObjectsCommand.js +27 -0
- package/dist/foundation/commands/ShowDomainObjectsOnTopCommand.d.ts +9 -0
- package/dist/foundation/commands/ShowDomainObjectsOnTopCommand.js +31 -0
- package/dist/foundation/commands/factory/ToolbarFactory.d.ts +25 -0
- package/dist/foundation/commands/factory/ToolbarFactory.js +14 -0
- package/dist/foundation/concreteCommands/general/CopyToClipboardCommand.d.ts +17 -0
- package/dist/foundation/concreteCommands/general/CopyToClipboardCommand.js +31 -0
- package/dist/foundation/concreteCommands/general/DeleteDomainObjectCommand.d.ts +11 -0
- package/dist/foundation/concreteCommands/general/DeleteDomainObjectCommand.js +22 -0
- package/dist/foundation/concreteCommands/general/HelpCommand.d.ts +12 -0
- package/dist/foundation/concreteCommands/general/HelpCommand.js +23 -0
- package/dist/foundation/concreteCommands/general/SettingsCommand.d.ts +14 -0
- package/dist/foundation/concreteCommands/general/SettingsCommand.js +55 -0
- package/dist/foundation/concreteCommands/general/ShareCommand.d.ts +15 -0
- package/dist/foundation/concreteCommands/general/ShareCommand.js +27 -0
- package/dist/foundation/concreteCommands/general/ShowLayersCommand.d.ts +13 -0
- package/dist/foundation/concreteCommands/general/ShowLayersCommand.js +26 -0
- package/dist/foundation/concreteCommands/general/ShowTreeViewCommand.d.ts +13 -0
- package/dist/foundation/concreteCommands/general/ShowTreeViewCommand.js +26 -0
- package/dist/foundation/concreteCommands/general/UndoCommand.d.ts +12 -0
- package/dist/foundation/concreteCommands/general/UndoCommand.js +31 -0
- package/dist/foundation/concreteCommands/navigation/FitViewCommand.d.ts +8 -0
- package/dist/foundation/concreteCommands/navigation/FitViewCommand.js +15 -0
- package/dist/foundation/concreteCommands/navigation/KeyboardSpeedCommand.d.ts +9 -0
- package/dist/foundation/concreteCommands/navigation/KeyboardSpeedCommand.js +44 -0
- package/dist/foundation/concreteCommands/navigation/NavigationTool.d.ts +30 -0
- package/dist/foundation/concreteCommands/navigation/NavigationTool.js +100 -0
- package/dist/foundation/concreteCommands/navigation/SetFlexibleControlsTypeCommand.d.ts +19 -0
- package/dist/foundation/concreteCommands/navigation/SetFlexibleControlsTypeCommand.js +50 -0
- package/dist/foundation/concreteCommands/navigation/SetOrbitOrFirstPersonModeCommand.d.ts +9 -0
- package/dist/foundation/concreteCommands/navigation/SetOrbitOrFirstPersonModeCommand.js +20 -0
- package/dist/foundation/concreteCommands/quality/QualityWarningBannerCommand.d.ts +9 -0
- package/dist/foundation/concreteCommands/quality/QualityWarningBannerCommand.js +19 -0
- package/dist/foundation/concreteCommands/quality/SetQualityCommand.d.ts +15 -0
- package/dist/foundation/concreteCommands/quality/SetQualityCommand.js +59 -0
- package/dist/foundation/concreteCommands/quality/SetQualitySliderCommand.d.ts +12 -0
- package/dist/foundation/concreteCommands/quality/SetQualitySliderCommand.js +31 -0
- package/dist/foundation/concreteCommands/quality/fidelityLevels.d.ts +7 -0
- package/dist/foundation/concreteCommands/quality/fidelityLevels.js +89 -0
- package/dist/foundation/concreteCommands/units/CycleLengthUnitsCommand.d.ts +10 -0
- package/dist/foundation/concreteCommands/units/CycleLengthUnitsCommand.js +29 -0
- package/dist/foundation/concreteCommands/units/SetLengthUnitCommand.d.ts +8 -0
- package/dist/foundation/concreteCommands/units/SetLengthUnitCommand.js +36 -0
- package/dist/foundation/domainObjects/DomainObject.d.ts +212 -0
- package/dist/foundation/domainObjects/DomainObject.js +404 -0
- package/dist/foundation/domainObjects/FolderDomainObject.d.ts +11 -0
- package/dist/foundation/domainObjects/FolderDomainObject.js +25 -0
- package/dist/foundation/domainObjects/RootDomainObject.d.ts +28 -0
- package/dist/foundation/domainObjects/RootDomainObject.js +55 -0
- package/dist/foundation/domainObjects/VisualDomainObject.d.ts +41 -0
- package/dist/foundation/domainObjects/VisualDomainObject.js +46 -0
- package/dist/foundation/domainObjects/getRoot.d.ts +17 -0
- package/dist/foundation/domainObjects/getRoot.js +10 -0
- package/dist/foundation/domainObjectsHelpers/BaseCreator.d.ts +61 -0
- package/dist/foundation/domainObjectsHelpers/BaseCreator.js +57 -0
- package/dist/foundation/domainObjectsHelpers/BaseDragger.d.ts +47 -0
- package/dist/foundation/domainObjectsHelpers/BaseDragger.js +34 -0
- package/dist/foundation/domainObjectsHelpers/ChangedDescription.d.ts +6 -0
- package/dist/foundation/domainObjectsHelpers/ChangedDescription.js +14 -0
- package/dist/foundation/domainObjectsHelpers/Changes.d.ts +27 -0
- package/dist/foundation/domainObjectsHelpers/Changes.js +30 -0
- package/dist/foundation/domainObjectsHelpers/Class.d.ts +4 -0
- package/dist/foundation/domainObjectsHelpers/Class.js +6 -0
- package/dist/foundation/domainObjectsHelpers/ColorType.d.ts +8 -0
- package/dist/foundation/domainObjectsHelpers/ColorType.js +6 -0
- package/dist/foundation/domainObjectsHelpers/CommandChanges.d.ts +4 -0
- package/dist/foundation/domainObjectsHelpers/CommandChanges.js +7 -0
- package/dist/foundation/domainObjectsHelpers/DomainObjectChange.d.ts +28 -0
- package/dist/foundation/domainObjectsHelpers/DomainObjectChange.js +39 -0
- package/dist/foundation/domainObjectsHelpers/DomainObjectIntersection.d.ts +8 -0
- package/dist/foundation/domainObjectsHelpers/DomainObjectIntersection.js +9 -0
- package/dist/foundation/domainObjectsHelpers/FocusType.d.ts +9 -0
- package/dist/foundation/domainObjectsHelpers/FocusType.js +6 -0
- package/dist/foundation/domainObjectsHelpers/PanelInfo.d.ts +32 -0
- package/dist/foundation/domainObjectsHelpers/PanelInfo.js +40 -0
- package/dist/foundation/domainObjectsHelpers/PopupStyle.d.ts +30 -0
- package/dist/foundation/domainObjectsHelpers/PopupStyle.js +45 -0
- package/dist/foundation/domainObjectsHelpers/Quantity.d.ts +7 -0
- package/dist/foundation/domainObjectsHelpers/Quantity.js +6 -0
- package/dist/foundation/domainObjectsHelpers/Views.d.ts +31 -0
- package/dist/foundation/domainObjectsHelpers/Views.js +43 -0
- package/dist/foundation/domainObjectsHelpers/VisibleState.d.ts +7 -0
- package/dist/foundation/domainObjectsHelpers/VisibleState.js +6 -0
- package/dist/foundation/domainObjectsHelpers/getClosestDomainObjectIntersection.d.ts +9 -0
- package/dist/foundation/domainObjectsHelpers/getClosestDomainObjectIntersection.js +14 -0
- package/dist/foundation/reactUpdaters/DomainObjectPanelUpdater.d.ts +22 -0
- package/dist/foundation/reactUpdaters/DomainObjectPanelUpdater.js +30 -0
- package/dist/foundation/renderStyles/CommonRenderStyle.d.ts +4 -0
- package/dist/foundation/renderStyles/CommonRenderStyle.js +7 -0
- package/dist/foundation/renderStyles/RenderStyle.d.ts +3 -0
- package/dist/foundation/renderStyles/RenderStyle.js +4 -0
- package/dist/foundation/renderTarget/BaseRevealConfig.d.ts +14 -0
- package/dist/foundation/renderTarget/BaseRevealConfig.js +32 -0
- package/dist/foundation/renderTarget/CdfCaches.d.ts +35 -0
- package/dist/foundation/renderTarget/CdfCaches.js +52 -0
- package/dist/foundation/renderTarget/CommandsController.d.ts +71 -0
- package/dist/foundation/renderTarget/CommandsController.js +157 -0
- package/dist/foundation/renderTarget/DefaultRevealConfig.d.ts +3 -0
- package/dist/foundation/renderTarget/DefaultRevealConfig.js +5 -0
- package/dist/foundation/renderTarget/InstanceStylingController.d.ts +10 -0
- package/dist/foundation/renderTarget/InstanceStylingController.js +29 -0
- package/dist/foundation/renderTarget/RenderTarget.d.ts +30 -0
- package/dist/foundation/renderTarget/RevealRenderTarget.d.ts +109 -0
- package/dist/foundation/renderTarget/RevealRenderTarget.js +220 -0
- package/dist/foundation/renderTarget/UnitSystem.d.ts +27 -0
- package/dist/foundation/renderTarget/UnitSystem.js +86 -0
- package/dist/foundation/renderTarget/convertCoordinates.d.ts +4 -0
- package/dist/foundation/renderTarget/convertCoordinates.js +13 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-lazy-loader.d.ts +32 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-lazy-loader.js +117 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-node-update-styling.d.ts +6 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-node-update-styling.js +47 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node-view-adapter.d.ts +42 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node-view-adapter.js +83 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node.d.ts +42 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node.js +68 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-types.d.ts +10 -0
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/classic-instance-mappings-sdk.d.ts +12 -0
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/classic-instance-mappings-sdk.js +40 -0
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/i-nodes-and-instance-mappings-sdk.d.ts +19 -0
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/nodes-and-instance-mappings-sdk.d.ts +20 -0
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/nodes-and-instance-mappings-sdk.js +22 -0
- package/dist/foundation/treeNodes/index.d.ts +1 -0
- package/dist/foundation/treeNodes/index.js +0 -0
- package/dist/foundation/treeNodes/tree-node/tree-node-functions-on-key-down.d.ts +4 -0
- package/dist/foundation/treeNodes/tree-node/tree-node-functions-on-key-down.js +66 -0
- package/dist/foundation/treeNodes/tree-node/tree-node-functions.d.ts +17 -0
- package/dist/foundation/treeNodes/tree-node/tree-node-functions.js +44 -0
- package/dist/foundation/treeNodes/tree-node/tree-node.d.ts +94 -0
- package/dist/foundation/treeNodes/tree-node/tree-node.js +238 -0
- package/dist/foundation/treeNodes/tree-node-type/i-lazy-loader.d.ts +58 -0
- package/dist/foundation/treeNodes/tree-node-type/tree-node-actions.d.ts +14 -0
- package/dist/foundation/treeNodes/tree-node-type/tree-node-type.d.ts +41 -0
- package/dist/foundation/undo/DomainObjectTransaction.d.ts +13 -0
- package/dist/foundation/undo/DomainObjectTransaction.js +28 -0
- package/dist/foundation/undo/Transaction.d.ts +12 -0
- package/dist/foundation/undo/Transaction.js +21 -0
- package/dist/foundation/undo/UndoManager.d.ts +16 -0
- package/dist/foundation/undo/UndoManager.js +28 -0
- package/dist/foundation/utilities/colors/ColorInterpolation.d.ts +5 -0
- package/dist/foundation/utilities/colors/ColorInterpolation.js +6 -0
- package/dist/foundation/utilities/colors/ColorMap.d.ts +17 -0
- package/dist/foundation/utilities/colors/ColorMap.js +58 -0
- package/dist/foundation/utilities/colors/ColorMapItem.d.ts +9 -0
- package/dist/foundation/utilities/colors/ColorMapItem.js +19 -0
- package/dist/foundation/utilities/colors/ColorMapType.d.ts +10 -0
- package/dist/foundation/utilities/colors/ColorMapType.js +6 -0
- package/dist/foundation/utilities/colors/colorMaps.d.ts +4 -0
- package/dist/foundation/utilities/colors/colorMaps.js +38 -0
- package/dist/foundation/utilities/colors/colorToHex.d.ts +2 -0
- package/dist/foundation/utilities/colors/colorToHex.js +12 -0
- package/dist/foundation/utilities/colors/colorUtils.d.ts +13 -0
- package/dist/foundation/utilities/colors/colorUtils.js +33 -0
- package/dist/foundation/utilities/colors/create1DTexture.d.ts +5 -0
- package/dist/foundation/utilities/colors/create1DTexture.js +15 -0
- package/dist/foundation/utilities/colors/getNextColor.d.ts +4 -0
- package/dist/foundation/utilities/colors/getNextColor.js +26 -0
- package/dist/foundation/utilities/cylinderFit/LeastSquare.d.ts +24 -0
- package/dist/foundation/utilities/cylinderFit/LeastSquare.js +34 -0
- package/dist/foundation/utilities/cylinderFit/LeastSquareCylinderResult.d.ts +19 -0
- package/dist/foundation/utilities/cylinderFit/LeastSquareCylinderResult.js +37 -0
- package/dist/foundation/utilities/cylinderFit/bestFitCylinder.d.ts +17 -0
- package/dist/foundation/utilities/cylinderFit/bestFitCylinder.js +114 -0
- package/dist/foundation/utilities/cylinderFit/bestFitVerticalCylinder.d.ts +14 -0
- package/dist/foundation/utilities/cylinderFit/bestFitVerticalCylinder.js +23 -0
- package/dist/foundation/utilities/cylinderFit/getTransformedPoints.d.ts +14 -0
- package/dist/foundation/utilities/cylinderFit/getTransformedPoints.js +9 -0
- package/dist/foundation/utilities/extensions/arrayUtils.d.ts +80 -0
- package/dist/foundation/utilities/extensions/arrayUtils.js +28 -0
- package/dist/foundation/utilities/extensions/generatorUtils.d.ts +5 -0
- package/dist/foundation/utilities/extensions/generatorUtils.js +6 -0
- package/dist/foundation/utilities/extensions/isMacOs.d.ts +1 -0
- package/dist/foundation/utilities/extensions/isMacOs.js +6 -0
- package/dist/foundation/utilities/extensions/mathUtils.d.ts +26 -0
- package/dist/foundation/utilities/extensions/mathUtils.js +78 -0
- package/dist/foundation/utilities/extensions/rayUtils.d.ts +10 -0
- package/dist/foundation/utilities/extensions/rayUtils.js +9 -0
- package/dist/foundation/utilities/extensions/stringUtils.d.ts +20 -0
- package/dist/foundation/utilities/extensions/stringUtils.js +21 -0
- package/dist/foundation/utilities/extensions/vectorUtils.d.ts +96 -0
- package/dist/foundation/utilities/extensions/vectorUtils.js +48 -0
- package/dist/foundation/utilities/geometry/Index2.d.ts +13 -0
- package/dist/foundation/utilities/geometry/Index2.js +38 -0
- package/dist/foundation/utilities/geometry/Range1.d.ts +36 -0
- package/dist/foundation/utilities/geometry/Range1.js +116 -0
- package/dist/foundation/utilities/geometry/Range3.d.ts +45 -0
- package/dist/foundation/utilities/geometry/Range3.js +156 -0
- package/dist/foundation/utilities/geometry/Shape.d.ts +10 -0
- package/dist/foundation/utilities/geometry/TrianglesBuffers.d.ts +20 -0
- package/dist/foundation/utilities/geometry/TrianglesBuffers.js +57 -0
- package/dist/foundation/utilities/geometry/getBoundingBoxFromPlanes.d.ts +3 -0
- package/dist/foundation/utilities/geometry/getBoundingBoxFromPlanes.js +53 -0
- package/dist/foundation/utilities/geometry/getCorners.d.ts +2 -0
- package/dist/foundation/utilities/geometry/getCorners.js +7 -0
- package/dist/foundation/utilities/geometry/getResizeCursor.d.ts +12 -0
- package/dist/foundation/utilities/geometry/getResizeCursor.js +16 -0
- package/dist/foundation/utilities/geometry/isBoxVisibleByPlanes.d.ts +3 -0
- package/dist/foundation/utilities/geometry/isBoxVisibleByPlanes.js +12 -0
- package/dist/foundation/utilities/index.d.ts +1 -0
- package/dist/foundation/utilities/index.js +2 -0
- package/dist/foundation/utilities/misc/DeferredFunction.d.ts +13 -0
- package/dist/foundation/utilities/misc/DeferredFunction.js +21 -0
- package/dist/foundation/utilities/misc/Random.d.ts +39 -0
- package/dist/foundation/utilities/misc/defaultPolygonOffset.d.ts +7 -0
- package/dist/foundation/utilities/misc/defaultPolygonOffset.js +11 -0
- package/dist/foundation/utilities/misc/incrementSignal.d.ts +8 -0
- package/dist/foundation/utilities/misc/incrementSignal.js +6 -0
- package/dist/foundation/utilities/misc/sleep.d.ts +1 -0
- package/dist/foundation/utilities/misc/typeGuards.d.ts +5 -0
- package/dist/foundation/utilities/misc/typeGuards.js +6 -0
- package/dist/foundation/utilities/primitives/Box.d.ts +34 -0
- package/dist/foundation/utilities/primitives/Box.js +101 -0
- package/dist/foundation/utilities/primitives/BoxUtils.d.ts +12 -0
- package/dist/foundation/utilities/primitives/BoxUtils.js +72 -0
- package/dist/foundation/utilities/primitives/Cylinder.d.ts +39 -0
- package/dist/foundation/utilities/primitives/Cylinder.js +123 -0
- package/dist/foundation/utilities/primitives/CylinderUtils.d.ts +8 -0
- package/dist/foundation/utilities/primitives/CylinderUtils.js +34 -0
- package/dist/foundation/utilities/primitives/Primitive.d.ts +16 -0
- package/dist/foundation/utilities/primitives/Primitive.js +12 -0
- package/dist/foundation/utilities/primitives/PrimitiveType.d.ts +22 -0
- package/dist/foundation/utilities/primitives/PrimitiveType.js +14 -0
- package/dist/foundation/utilities/primitives/PrimitiveUtils.d.ts +8 -0
- package/dist/foundation/utilities/primitives/PrimitiveUtils.js +27 -0
- package/dist/foundation/utilities/primitives/Vector3ArrayUtils.d.ts +7 -0
- package/dist/foundation/utilities/primitives/Vector3ArrayUtils.js +31 -0
- package/dist/foundation/utilities/primitives/getIconByPrimitiveType.d.ts +3 -0
- package/dist/foundation/utilities/primitives/getIconByPrimitiveType.js +26 -0
- package/dist/foundation/utilities/quality/QualitySettings.d.ts +6 -0
- package/dist/foundation/utilities/sprites/createSprite.d.ts +26 -0
- package/dist/foundation/utilities/sprites/createSprite.js +32 -0
- package/dist/foundation/utilities/translation/TranslateInput.d.ts +14 -0
- package/dist/foundation/utilities/translation/TranslateInput.js +8 -0
- package/dist/foundation/utilities/translation/translateUtils.d.ts +4 -0
- package/dist/foundation/utilities/translation/translateUtils.js +52 -0
- package/dist/foundation/utilities/types.d.ts +16 -0
- package/dist/foundation/utilities/types.js +9 -0
- package/dist/foundation/views/BaseView.d.ts +59 -0
- package/dist/foundation/views/BaseView.js +29 -0
- package/dist/foundation/views/GroupThreeView.d.ts +66 -0
- package/dist/foundation/views/GroupThreeView.js +103 -0
- package/dist/foundation/views/ThreeView.d.ts +44 -0
- package/dist/foundation/views/ThreeView.js +47 -0
- package/dist/foundation/views/ThreeViewFactory.d.ts +34 -0
- package/dist/foundation/views/ThreeViewFactory.js +35 -0
- package/dist/ui/components/AxisGizmo.d.ts +9 -0
- package/dist/ui/components/AxisGizmo.js +16 -0
- package/dist/ui/components/CadModelContainer/CadModelContainer.context.d.ts +17 -0
- package/dist/ui/components/CadModelContainer/CadModelContainer.context.js +19 -0
- package/dist/ui/components/CadModelContainer/CadModelContainer.d.ts +13 -0
- package/dist/ui/components/CadModelContainer/CadModelContainer.js +58 -0
- package/dist/ui/components/CadModelContainer/index.d.ts +3 -0
- package/dist/ui/components/CadModelContainer/index.js +2 -0
- package/dist/ui/components/CadModelContainer/types.d.ts +6 -0
- package/dist/ui/components/CadModelContainer/useApplyCadModelStyling.d.ts +3 -0
- package/dist/ui/components/CadModelContainer/useApplyCadModelStyling.js +67 -0
- package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.context.d.ts +15 -0
- package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.context.js +17 -0
- package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.d.ts +13 -0
- package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.js +56 -0
- package/dist/ui/components/Image360CollectionContainer/constants.d.ts +2 -0
- package/dist/ui/components/Image360CollectionContainer/constants.js +4 -0
- package/dist/ui/components/Image360CollectionContainer/index.d.ts +1 -0
- package/dist/ui/components/Image360CollectionContainer/index.js +2 -0
- package/dist/ui/components/Image360CollectionContainer/useApply360AnnotationStyling.d.ts +12 -0
- package/dist/ui/components/Image360CollectionContainer/useApply360AnnotationStyling.js +39 -0
- package/dist/ui/components/Image360Details/Image360Details.context.d.ts +11 -0
- package/dist/ui/components/Image360Details/Image360Details.context.js +13 -0
- package/dist/ui/components/Image360Details/Image360Details.d.ts +7 -0
- package/dist/ui/components/Image360Details/Image360Details.js +45 -0
- package/dist/ui/components/Image360Details/useImage360Entity.context.d.ts +7 -0
- package/dist/ui/components/Image360Details/useImage360Entity.context.js +7 -0
- package/dist/ui/components/Image360Details/useImage360Entity.d.ts +2 -0
- package/dist/ui/components/Image360Details/useImage360Entity.js +22 -0
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.context.d.ts +11 -0
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.context.js +12 -0
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.d.ts +3 -0
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.js +36 -0
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.context.d.ts +8 -0
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.context.js +12 -0
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.d.ts +2 -0
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.js +42 -0
- package/dist/ui/components/Image360HistoricalDetails/Panel/Image360HistoricalPanel.d.ts +8 -0
- package/dist/ui/components/Image360HistoricalDetails/Panel/Image360HistoricalPanel.js +28 -0
- package/dist/ui/components/Image360HistoricalDetails/Toolbar/Image360HistoricalSummary.d.ts +18 -0
- package/dist/ui/components/Image360HistoricalDetails/Toolbar/Image360HistoricalSummary.js +63 -0
- package/dist/ui/components/Image360HistoricalDetails/types.d.ts +20 -0
- package/dist/ui/components/Image360HistoricalDetails/utils/Thumbnail.d.ts +6 -0
- package/dist/ui/components/Image360HistoricalDetails/utils/Thumbnail.js +16 -0
- package/dist/ui/components/Image360HistoricalDetails/utils/getStationIdentifier.d.ts +2 -0
- package/dist/ui/components/Image360HistoricalDetails/utils/getStationIdentifier.js +7 -0
- package/dist/ui/components/InstanceLabel/InstanceLabel.d.ts +8 -0
- package/dist/ui/components/InstanceLabel/InstanceLabel.js +37 -0
- package/dist/ui/components/InstanceLabel/index.d.ts +1 -0
- package/dist/ui/components/InstanceLabel/index.js +2 -0
- package/dist/ui/components/PointCloudContainer/PointCloudContainer.d.ts +13 -0
- package/dist/ui/components/PointCloudContainer/PointCloudContainer.js +53 -0
- package/dist/ui/components/PointCloudContainer/index.d.ts +1 -0
- package/dist/ui/components/PointCloudContainer/index.js +2 -0
- package/dist/ui/components/PointCloudContainer/typeGuards.d.ts +3 -0
- package/dist/ui/components/PointCloudContainer/typeGuards.js +9 -0
- package/dist/ui/components/PointCloudContainer/useApplyPointCloudStyling.d.ts +4 -0
- package/dist/ui/components/PointCloudContainer/useApplyPointCloudStyling.js +30 -0
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.context.d.ts +30 -0
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.context.js +34 -0
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.d.ts +20 -0
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.js +65 -0
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.viewmodel.d.ts +2 -0
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.viewmodel.js +8 -0
- package/dist/ui/components/Reveal3DResources/Reveal3DResourcesInfoContext.d.ts +22 -0
- package/dist/ui/components/Reveal3DResources/Reveal3DResourcesInfoContext.js +43 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCalculateCadStyling.d.ts +25 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCalculateCadStyling.js +144 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCalculateImage360Styling.d.ts +3 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCalculateImage360Styling.js +11 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.context.d.ts +7 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.context.js +6 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.d.ts +2 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.js +102 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCallCallbackOnFinishedLoading.d.ts +2 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCallCallbackOnFinishedLoading.js +11 -0
- package/dist/ui/components/Reveal3DResources/hooks/useRemoveNonReferencedModels.d.ts +3 -0
- package/dist/ui/components/Reveal3DResources/hooks/useRemoveNonReferencedModels.js +51 -0
- package/dist/ui/components/Reveal3DResources/hooks/useSetExpectedLoadCount.d.ts +2 -0
- package/dist/ui/components/Reveal3DResources/hooks/useSetExpectedLoadCount.js +11 -0
- package/dist/ui/components/Reveal3DResources/hooks/useTypedModels.d.ts +5 -0
- package/dist/ui/components/Reveal3DResources/hooks/useTypedModels.js +35 -0
- package/dist/ui/components/Reveal3DResources/instanceStyleTranslation.d.ts +4 -0
- package/dist/ui/components/Reveal3DResources/instanceStyleTranslation.js +15 -0
- package/dist/ui/components/RevealCanvas/ComponentFactoryContext.d.ts +9 -0
- package/dist/ui/components/RevealCanvas/ComponentFactoryContext.js +17 -0
- package/dist/ui/components/RevealCanvas/FdmDataProviderContext.d.ts +11 -0
- package/dist/ui/components/RevealCanvas/FdmDataProviderContext.js +5 -0
- package/dist/ui/components/RevealCanvas/FeatureDataLoadPerformanceMetricsContext.d.ts +3 -0
- package/dist/ui/components/RevealCanvas/FeatureDataLoadPerformanceMetricsContext.js +5 -0
- package/dist/ui/components/RevealCanvas/RevealCanvas.d.ts +4 -0
- package/dist/ui/components/RevealCanvas/RevealCanvas.js +22 -0
- package/dist/ui/components/RevealCanvas/SDKProvider.d.ts +11 -0
- package/dist/ui/components/RevealCanvas/SDKProvider.js +32 -0
- package/dist/ui/components/RevealCanvas/ViewerContext.d.ts +11 -0
- package/dist/ui/components/RevealCanvas/ViewerContext.js +28 -0
- package/dist/ui/components/RevealCanvas/hooks/useCameraStateControl.d.ts +3 -0
- package/dist/ui/components/RevealCanvas/hooks/useCameraStateControl.js +40 -0
- package/dist/ui/components/RevealCanvas/hooks/useDisableBodyTextSelectionOnViewerDragging.d.ts +1 -0
- package/dist/ui/components/RevealCanvas/hooks/useDisableBodyTextSelectionOnViewerDragging.js +14 -0
- package/dist/ui/components/RevealCanvas/index.d.ts +3 -0
- package/dist/ui/components/RevealCanvas/index.js +3 -0
- package/dist/ui/components/RevealContainer/RevealContainer.d.ts +3 -0
- package/dist/ui/components/RevealContainer/RevealContainer.js +13 -0
- package/dist/ui/components/RevealContext/RevealContext.context.d.ts +12 -0
- package/dist/ui/components/RevealContext/RevealContext.context.js +12 -0
- package/dist/ui/components/RevealContext/RevealContext.d.ts +22 -0
- package/dist/ui/components/RevealContext/RevealContext.js +74 -0
- package/dist/ui/components/RevealContext/index.d.ts +2 -0
- package/dist/ui/components/RevealContext/index.js +2 -0
- package/dist/ui/components/RevealKeepAlive/RevealKeepAlive.d.ts +4 -0
- package/dist/ui/components/RevealKeepAlive/RevealKeepAlive.js +19 -0
- package/dist/ui/components/RevealKeepAlive/RevealKeepAliveContext.d.ts +10 -0
- package/dist/ui/components/RevealKeepAlive/RevealKeepAliveContext.js +5 -0
- package/dist/ui/components/RevealToolbar/AssetContextualizedButton.d.ts +6 -0
- package/dist/ui/components/RevealToolbar/AssetContextualizedButton.js +38 -0
- package/dist/ui/components/RevealToolbar/FitModelsButton.d.ts +2 -0
- package/dist/ui/components/RevealToolbar/FitModelsButton.js +28 -0
- package/dist/ui/components/RevealToolbar/Help/Graphics/Keyboard.d.ts +5 -0
- package/dist/ui/components/RevealToolbar/Help/Graphics/Keyboard.js +211 -0
- package/dist/ui/components/RevealToolbar/Help/Graphics/Mouse.d.ts +2 -0
- package/dist/ui/components/RevealToolbar/Help/Graphics/Mouse.js +44 -0
- package/dist/ui/components/RevealToolbar/Help/Graphics/Touch.d.ts +4 -0
- package/dist/ui/components/RevealToolbar/Help/Graphics/Touch.js +109 -0
- package/dist/ui/components/RevealToolbar/Help/KeyboardNavigation.d.ts +5 -0
- package/dist/ui/components/RevealToolbar/Help/KeyboardNavigation.js +60 -0
- package/dist/ui/components/RevealToolbar/Help/MouseNavigation.d.ts +5 -0
- package/dist/ui/components/RevealToolbar/Help/MouseNavigation.js +34 -0
- package/dist/ui/components/RevealToolbar/Help/Section.d.ts +3 -0
- package/dist/ui/components/RevealToolbar/Help/Section.js +11 -0
- package/dist/ui/components/RevealToolbar/Help/TouchNavigation.d.ts +5 -0
- package/dist/ui/components/RevealToolbar/Help/TouchNavigation.js +21 -0
- package/dist/ui/components/RevealToolbar/Help/elements.d.ts +20 -0
- package/dist/ui/components/RevealToolbar/Help/elements.js +47 -0
- package/dist/ui/components/RevealToolbar/Help/types.d.ts +7 -0
- package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.context.d.ts +13 -0
- package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.context.js +14 -0
- package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.d.ts +13 -0
- package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.js +44 -0
- package/dist/ui/components/RevealToolbar/ResetCameraButton.d.ts +7 -0
- package/dist/ui/components/RevealToolbar/ResetCameraButton.js +40 -0
- package/dist/ui/components/RevealToolbar/RevealToolbar.d.ts +19 -0
- package/dist/ui/components/RevealToolbar/RevealToolbar.js +32 -0
- package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.context.d.ts +19 -0
- package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.context.js +21 -0
- package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.d.ts +9 -0
- package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.js +95 -0
- package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.context.d.ts +11 -0
- package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.context.js +12 -0
- package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.d.ts +2 -0
- package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.js +74 -0
- package/dist/ui/components/RevealToolbar/index.d.ts +1 -0
- package/dist/ui/components/RevealToolbar/index.js +2 -0
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsPanel.d.ts +7 -0
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsPanel.js +28 -0
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.context.d.ts +21 -0
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.context.js +22 -0
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.d.ts +9 -0
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.js +80 -0
- package/dist/ui/components/RuleBasedOutputs/components/OutputPanelItem.d.ts +8 -0
- package/dist/ui/components/RuleBasedOutputs/components/OutputPanelItem.js +14 -0
- package/dist/ui/components/RuleBasedOutputs/components/OutputPanelShowMore.d.ts +7 -0
- package/dist/ui/components/RuleBasedOutputs/components/OutputPanelShowMore.js +20 -0
- package/dist/ui/components/RuleBasedOutputs/components/RuleBasedSelectionItem.d.ts +12 -0
- package/dist/ui/components/RuleBasedOutputs/components/RuleBasedSelectionItem.js +26 -0
- package/dist/ui/components/RuleBasedOutputs/constants.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/constants.js +9 -0
- package/dist/ui/components/RuleBasedOutputs/core/analyzeAssetMappingsAgainstExpression.d.ts +12 -0
- package/dist/ui/components/RuleBasedOutputs/core/analyzeAssetMappingsAgainstExpression.js +38 -0
- package/dist/ui/components/RuleBasedOutputs/core/analyzeFdmMappingsAgainstExpression.d.ts +6 -0
- package/dist/ui/components/RuleBasedOutputs/core/analyzeFdmMappingsAgainstExpression.js +16 -0
- package/dist/ui/components/RuleBasedOutputs/core/applyAssetMappingsNodeStyles.d.ts +3 -0
- package/dist/ui/components/RuleBasedOutputs/core/applyAssetMappingsNodeStyles.js +30 -0
- package/dist/ui/components/RuleBasedOutputs/core/applyFdmMappingsNodeStyles.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/applyFdmMappingsNodeStyles.js +33 -0
- package/dist/ui/components/RuleBasedOutputs/core/checkBooleanExpressionStatement.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/checkBooleanExpressionStatement.js +18 -0
- package/dist/ui/components/RuleBasedOutputs/core/checkDatetimeExpressionStatement.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/checkDatetimeExpressionStatement.js +62 -0
- package/dist/ui/components/RuleBasedOutputs/core/checkNumericExpressionStatement.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/checkNumericExpressionStatement.js +53 -0
- package/dist/ui/components/RuleBasedOutputs/core/checkStringExpressionStatement.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/checkStringExpressionStatement.js +23 -0
- package/dist/ui/components/RuleBasedOutputs/core/convertExpressionStringMetadataKeyToLowerCase.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/convertExpressionStringMetadataKeyToLowerCase.js +6 -0
- package/dist/ui/components/RuleBasedOutputs/core/createRuleStyling.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/createRuleStyling.js +10 -0
- package/dist/ui/components/RuleBasedOutputs/core/forEachExpression.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/forEachExpression.js +22 -0
- package/dist/ui/components/RuleBasedOutputs/core/generateEmptyRuleForSelection.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/generateEmptyRuleForSelection.js +11 -0
- package/dist/ui/components/RuleBasedOutputs/core/generateRuleBasedOutputs.d.ts +12 -0
- package/dist/ui/components/RuleBasedOutputs/core/generateRuleBasedOutputs.js +30 -0
- package/dist/ui/components/RuleBasedOutputs/core/generateTimeseriesAndDatapointsFromTheAsset.d.ts +8 -0
- package/dist/ui/components/RuleBasedOutputs/core/generateTimeseriesAndDatapointsFromTheAsset.js +15 -0
- package/dist/ui/components/RuleBasedOutputs/core/generateUniqueRuleSetKey.d.ts +5 -0
- package/dist/ui/components/RuleBasedOutputs/core/generateUniqueRuleSetKey.js +18 -0
- package/dist/ui/components/RuleBasedOutputs/core/getExpressionTriggerTypes.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/getExpressionTriggerTypes.js +10 -0
- package/dist/ui/components/RuleBasedOutputs/core/getFdmPropertyTrigger.d.ts +3 -0
- package/dist/ui/components/RuleBasedOutputs/core/getFdmPropertyTrigger.js +6 -0
- package/dist/ui/components/RuleBasedOutputs/core/getRuleBasedById.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/getRuleBasedById.js +4 -0
- package/dist/ui/components/RuleBasedOutputs/core/getRuleOutputFromTypeSelected.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/getRuleOutputFromTypeSelected.js +12 -0
- package/dist/ui/components/RuleBasedOutputs/core/getRuleTriggerTypes.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/getRuleTriggerTypes.js +7 -0
- package/dist/ui/components/RuleBasedOutputs/core/getTimeseriesExternalIdFromNumericExpression.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/getTimeseriesExternalIdFromNumericExpression.js +8 -0
- package/dist/ui/components/RuleBasedOutputs/core/getTriggerNumericData.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/getTriggerNumericData.js +11 -0
- package/dist/ui/components/RuleBasedOutputs/core/getTriggerTimeseriesNumericData.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/getTriggerTimeseriesNumericData.js +8 -0
- package/dist/ui/components/RuleBasedOutputs/core/hasInitializationDependenciesChanged.d.ts +22 -0
- package/dist/ui/components/RuleBasedOutputs/core/hasInitializationDependenciesChanged.js +7 -0
- package/dist/ui/components/RuleBasedOutputs/core/isReadyToInitializeRules.d.ts +18 -0
- package/dist/ui/components/RuleBasedOutputs/core/isReadyToInitializeRules.js +7 -0
- package/dist/ui/components/RuleBasedOutputs/core/ruleBasedInitialization.d.ts +19 -0
- package/dist/ui/components/RuleBasedOutputs/core/ruleBasedInitialization.js +23 -0
- package/dist/ui/components/RuleBasedOutputs/core/traverseExpression.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/traverseExpression.js +36 -0
- package/dist/ui/components/RuleBasedOutputs/core/traverseExpressionToGetTimeseries.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/core/traverseExpressionToGetTimeseries.js +23 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/index.d.ts +5 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/index.js +6 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useConvertAssetMetadatasToLowerCase.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useConvertAssetMetadatasToLowerCase.js +7 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useCreateRuleInstance.d.ts +3 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useCreateRuleInstance.js +31 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useDeleteRuleInstance.d.ts +3 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useDeleteRuleInstance.js +15 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useEditRuleInstance.d.ts +3 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useEditRuleInstance.js +31 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useExtractTimeseriesIdsFromRuleSet.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useExtractTimeseriesIdsFromRuleSet.js +10 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useExtractUniqueClassicAssetIdsFromMapped.d.ts +3 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useExtractUniqueClassicAssetIdsFromMapped.js +11 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useFetchRuleInstances.d.ts +3 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useFetchRuleInstances.js +34 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.context.d.ts +9 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.context.js +10 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.d.ts +5 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.js +55 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useSearchRuleInstance.d.ts +2 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useSearchRuleInstance.js +25 -0
- package/dist/ui/components/RuleBasedOutputs/index.d.ts +4 -0
- package/dist/ui/components/RuleBasedOutputs/index.js +9 -0
- package/dist/ui/components/RuleBasedOutputs/typeGuards.d.ts +3 -0
- package/dist/ui/components/RuleBasedOutputs/typeGuards.js +4 -0
- package/dist/ui/components/RuleBasedOutputs/types.d.ts +280 -0
- package/dist/ui/components/SceneContainer/LoadedSceneContext.d.ts +11 -0
- package/dist/ui/components/SceneContainer/LoadedSceneContext.js +22 -0
- package/dist/ui/components/SceneContainer/SceneContainer.context.d.ts +9 -0
- package/dist/ui/components/SceneContainer/SceneContainer.context.js +10 -0
- package/dist/ui/components/SceneContainer/SceneContainer.d.ts +3 -0
- package/dist/ui/components/SceneContainer/SceneContainer.js +19 -0
- package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.context.d.ts +15 -0
- package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.context.js +16 -0
- package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.d.ts +2 -0
- package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.js +15 -0
- package/dist/ui/components/SceneContainer/SceneFdmTypes.d.ts +103 -0
- package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.context.d.ts +11 -0
- package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.context.js +11 -0
- package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.d.ts +5 -0
- package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.js +16 -0
- package/dist/ui/components/SceneContainer/index.d.ts +4 -0
- package/dist/ui/components/SceneContainer/index.js +3 -0
- package/dist/ui/components/SceneContainer/sceneTypes.d.ts +69 -0
- package/dist/ui/components/SceneContainer/types.d.ts +15 -0
- package/dist/ui/components/ViewerAnchor/ViewerAnchor.d.ts +12 -0
- package/dist/ui/components/ViewerAnchor/ViewerAnchor.js +60 -0
- package/dist/ui/components/Widget/RevealWidget.context.d.ts +15 -0
- package/dist/ui/components/Widget/RevealWidget.context.js +16 -0
- package/dist/ui/components/Widget/RevealWidget.d.ts +62 -0
- package/dist/ui/components/Widget/RevealWidget.js +31 -0
- package/dist/ui/components/Widget/RevealWidgetCameraController.d.ts +27 -0
- package/dist/ui/components/Widget/RevealWidgetCameraController.js +27 -0
- package/dist/ui/components/Widget/RevealWidgetController.d.ts +92 -0
- package/dist/ui/components/Widget/RevealWidgetController.js +110 -0
- package/dist/ui/components/Widget/index.d.ts +4 -0
- package/dist/ui/components/Widget/index.js +5 -0
- package/dist/ui/components/Widget/styling/applyCadDefaultStyling.d.ts +7 -0
- package/dist/ui/components/Widget/styling/applyCadDefaultStyling.js +24 -0
- package/dist/ui/components/Widget/styling/applyCadInstanceStyling.d.ts +10 -0
- package/dist/ui/components/Widget/styling/applyCadInstanceStyling.js +11 -0
- package/dist/ui/components/Widget/styling/applyImage360InstanceStyling.d.ts +3 -0
- package/dist/ui/components/Widget/styling/applyImage360InstanceStyling.js +17 -0
- package/dist/ui/components/Widget/styling/applyPointCloudDefaultStyling.d.ts +6 -0
- package/dist/ui/components/Widget/styling/applyPointCloudDefaultStyling.js +18 -0
- package/dist/ui/components/Widget/styling/applyPointCloudInstanceStyling.d.ts +3 -0
- package/dist/ui/components/Widget/styling/applyPointCloudInstanceStyling.js +27 -0
- package/dist/ui/components/Widget/styling/constants.d.ts +8 -0
- package/dist/ui/components/Widget/styling/constants.js +9 -0
- package/dist/ui/components/commandBased/Factories/ComponentFactory.d.ts +9 -0
- package/dist/ui/components/commandBased/Factories/ComponentFactory.js +20 -0
- package/dist/ui/components/commandBased/Factories/DefaultIcons.d.ts +3 -0
- package/dist/ui/components/commandBased/Factories/DefaultIcons.js +70 -0
- package/dist/ui/components/commandBased/Factories/IconFactory.d.ts +15 -0
- package/dist/ui/components/commandBased/Factories/IconFactory.js +17 -0
- package/dist/ui/components/commandBased/Factories/IconType.d.ts +2 -0
- package/dist/ui/components/commandBased/Factories/createComponentFactory.d.ts +2 -0
- package/dist/ui/components/commandBased/Factories/createComponentFactory.js +21 -0
- package/dist/ui/components/commandBased/RevealButtons.d.ts +53 -0
- package/dist/ui/components/commandBased/RevealButtons.js +85 -0
- package/dist/ui/components/commandBased/buttons/BannerComponent.d.ts +5 -0
- package/dist/ui/components/commandBased/buttons/BannerComponent.js +28 -0
- package/dist/ui/components/commandBased/buttons/CommandButton.d.ts +9 -0
- package/dist/ui/components/commandBased/buttons/CommandButton.js +33 -0
- package/dist/ui/components/commandBased/buttons/CommandButtonInner.d.ts +7 -0
- package/dist/ui/components/commandBased/buttons/CommandButtonInner.js +31 -0
- package/dist/ui/components/commandBased/buttons/CustomInputField.context.d.ts +17 -0
- package/dist/ui/components/commandBased/buttons/CustomInputField.context.js +14 -0
- package/dist/ui/components/commandBased/buttons/CustomInputField.d.ts +9 -0
- package/dist/ui/components/commandBased/buttons/CustomInputField.js +82 -0
- package/dist/ui/components/commandBased/buttons/DividerCreator.d.ts +5 -0
- package/dist/ui/components/commandBased/buttons/DividerCreator.js +18 -0
- package/dist/ui/components/commandBased/buttons/DropdownButton.d.ts +10 -0
- package/dist/ui/components/commandBased/buttons/DropdownButton.js +92 -0
- package/dist/ui/components/commandBased/buttons/FilterButton.d.ts +10 -0
- package/dist/ui/components/commandBased/buttons/FilterButton.js +120 -0
- package/dist/ui/components/commandBased/buttons/FilterItem.d.ts +5 -0
- package/dist/ui/components/commandBased/buttons/FilterItem.js +35 -0
- package/dist/ui/components/commandBased/buttons/HelpButton.d.ts +4 -0
- package/dist/ui/components/commandBased/buttons/HelpButton.js +55 -0
- package/dist/ui/components/commandBased/buttons/InputField.d.ts +8 -0
- package/dist/ui/components/commandBased/buttons/InputField.js +30 -0
- package/dist/ui/components/commandBased/buttons/PopupTriggerButton.d.ts +25 -0
- package/dist/ui/components/commandBased/buttons/PopupTriggerButton.js +21 -0
- package/dist/ui/components/commandBased/buttons/SegmentedButtons.d.ts +10 -0
- package/dist/ui/components/commandBased/buttons/SegmentedButtons.js +67 -0
- package/dist/ui/components/commandBased/buttons/SettingsButton.d.ts +9 -0
- package/dist/ui/components/commandBased/buttons/SettingsButton.js +191 -0
- package/dist/ui/components/commandBased/buttons/ShowTreeViewButton.d.ts +4 -0
- package/dist/ui/components/commandBased/buttons/ShowTreeViewButton.js +46 -0
- package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanel.d.ts +2 -0
- package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanel.js +74 -0
- package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanelInput.d.ts +9 -0
- package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanelInput.js +57 -0
- package/dist/ui/components/commandBased/hooks/useCommand.d.ts +2 -0
- package/dist/ui/components/commandBased/hooks/useCommand.js +9 -0
- package/dist/ui/components/commandBased/hooks/useCommandProperty.d.ts +3 -0
- package/dist/ui/components/commandBased/hooks/useCommandProperty.js +20 -0
- package/dist/ui/components/commandBased/hooks/useCommandProps.d.ts +20 -0
- package/dist/ui/components/commandBased/hooks/useCommandProps.js +35 -0
- package/dist/ui/components/commandBased/hooks/useOnUpdateDomainObject.d.ts +2 -0
- package/dist/ui/components/commandBased/hooks/useOnUpdateDomainObject.js +12 -0
- package/dist/ui/components/commandBased/hooks/useSyncLayersState.d.ts +3 -0
- package/dist/ui/components/commandBased/hooks/useSyncLayersState.js +34 -0
- package/dist/ui/components/commandBased/index.d.ts +11 -0
- package/dist/ui/components/commandBased/index.js +18 -0
- package/dist/ui/components/commandBased/main/AnchoredDialog.d.ts +2 -0
- package/dist/ui/components/commandBased/main/AnchoredDialog.js +30 -0
- package/dist/ui/components/commandBased/main/CommandButtons.d.ts +9 -0
- package/dist/ui/components/commandBased/main/CommandButtons.js +15 -0
- package/dist/ui/components/commandBased/main/Comment.d.ts +14 -0
- package/dist/ui/components/commandBased/main/Comment.js +29 -0
- package/dist/ui/components/commandBased/main/ToolUI.d.ts +2 -0
- package/dist/ui/components/commandBased/main/ToolUI.js +12 -0
- package/dist/ui/components/commandBased/main/Toolbar.d.ts +6 -0
- package/dist/ui/components/commandBased/main/Toolbar.js +55 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.context.d.ts +11 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.context.js +12 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.d.ts +19 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.js +131 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiHeader.d.ts +2 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiHeader.js +71 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.context.d.ts +13 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.context.js +14 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.d.ts +2 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.js +22 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoSection.d.ts +6 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoSection.js +199 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiList.d.ts +18 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiList.js +64 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiSharePanel.d.ts +2 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiSharePanel.js +60 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.context.d.ts +13 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.d.ts +2 -0
- package/dist/ui/components/commandBased/pointsOfInterest/avatarUtils.d.ts +5 -0
- package/dist/ui/components/commandBased/pointsOfInterest/avatarUtils.js +19 -0
- package/dist/ui/components/commandBased/pointsOfInterest/index.d.ts +8 -0
- package/dist/ui/components/commandBased/pointsOfInterest/index.js +9 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useCommentsForPoiQuery.d.ts +4 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useCommentsForPoiQuery.js +14 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useEditPoiInfoSection.d.ts +16 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useEditPoiInfoSection.js +42 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useFilterPointsOfInterest.d.ts +6 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useFilterPointsOfInterest.js +10 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.context.d.ts +11 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.context.js +14 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.d.ts +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.js +36 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePendingPoiInfoSection.d.ts +16 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePendingPoiInfoSection.js +45 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePoiCreateFlowState.d.ts +7 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePoiCreateFlowState.js +20 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePoiDomainObject.d.ts +2 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePoiDomainObject.js +15 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterest.d.ts +2 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterest.js +13 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterestTool.d.ts +3 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterestTool.js +16 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useSelectedPoi.d.ts +2 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useSelectedPoi.js +12 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useSyncSelectedPoi.d.ts +2 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useSyncSelectedPoi.js +29 -0
- package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeView.d.ts +18 -0
- package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeView.js +45 -0
- package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeViewCallbacks.d.ts +65 -0
- package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeViewCallbacks.js +44 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.d.ts +2 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.function.d.ts +9 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.function.js +21 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.js +19 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/get-children-as-array.d.ts +3 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/get-children-as-array.js +6 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-caret.d.ts +6 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-caret.js +37 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-checkbox.d.ts +8 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-checkbox.js +27 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu-item.d.ts +6 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu-item.js +60 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu.d.ts +7 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu.js +29 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-icon.d.ts +8 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-icon.js +12 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-info.d.ts +8 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-info.js +32 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-label.d.ts +7 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-label.js +33 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-load-more.d.ts +10 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-load-more.js +17 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-loading.d.ts +6 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-loading.js +17 -0
- package/dist/ui/components/commandBased/treeView/TreeView/constants.d.ts +9 -0
- package/dist/ui/components/commandBased/treeView/TreeView/constants.js +4 -0
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.context.d.ts +8 -0
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.context.js +6 -0
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.d.ts +5 -0
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.js +69 -0
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/createTreeNodeExtraComponent.d.ts +3 -0
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/createTreeNodeExtraComponent.js +10 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.context.d.ts +20 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.context.js +21 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.d.ts +17 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.js +93 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-props.d.ts +23 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-scrolling.d.ts +4 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-scrolling.js +21 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view.context.d.ts +11 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view.context.js +13 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view.d.ts +3 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view.js +54 -0
- package/dist/ui/components/commandBased/treeView/TreeView/types.d.ts +11 -0
- package/dist/ui/components/commandBased/utils/LabelWithShortcut.d.ts +9 -0
- package/dist/ui/components/commandBased/utils/LabelWithShortcut.js +22 -0
- package/dist/ui/components/commandBased/utils/constants.d.ts +3 -0
- package/dist/ui/components/commandBased/utils/types.d.ts +2 -0
- package/dist/ui/components/commandBased/utils/utilities.d.ts +7 -0
- package/dist/ui/components/commandBased/utils/utilities.js +15 -0
- package/dist/ui/components/constants.d.ts +1 -0
- package/dist/ui/components/i18n/I18n.d.ts +9 -0
- package/dist/ui/components/i18n/I18n.js +63 -0
- package/dist/ui/components/i18n/types.d.ts +11 -0
- package/dist/ui/components/i18n/utils.d.ts +1 -0
- package/dist/ui/components/i18n/utils.js +11 -0
- package/dist/ui/components/index.d.ts +18 -0
- package/dist/ui/components/index.js +55 -0
- package/dist/ui/higher-order-components/index.d.ts +1 -0
- package/dist/ui/higher-order-components/index.js +2 -0
- package/dist/ui/higher-order-components/withSuppressRevealEvents.d.ts +6 -0
- package/dist/ui/higher-order-components/withSuppressRevealEvents.js +38 -0
- package/dist/ui/hooks/cad/index.d.ts +7 -0
- package/dist/ui/hooks/cad/index.js +8 -0
- package/dist/ui/hooks/cad/modelWithAssetMappings.d.ts +6 -0
- package/dist/ui/hooks/cad/useAssetMappedNodesForRevisions.d.ts +4 -0
- package/dist/ui/hooks/cad/useAssetMappedNodesForRevisions.js +26 -0
- package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.context.d.ts +13 -0
- package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.context.js +14 -0
- package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.d.ts +4 -0
- package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.js +33 -0
- package/dist/ui/hooks/cad/useFdm3dNodeDataPromises.d.ts +4 -0
- package/dist/ui/hooks/cad/useFdm3dNodeDataPromises.js +29 -0
- package/dist/ui/hooks/cad/useFdmAssetMappings.d.ts +5 -0
- package/dist/ui/hooks/cad/useFdmAssetMappings.js +21 -0
- package/dist/ui/hooks/cad/useGenerateAssetMappingCachePerItemFromModelCache.d.ts +3 -0
- package/dist/ui/hooks/cad/useGenerateAssetMappingCachePerItemFromModelCache.js +18 -0
- package/dist/ui/hooks/cad/useGenerateNode3DCache.d.ts +3 -0
- package/dist/ui/hooks/cad/useGenerateNode3DCache.js +18 -0
- package/dist/ui/hooks/cad/useMappedEdgesForRevisions.d.ts +6 -0
- package/dist/ui/hooks/cad/useMappedEdgesForRevisions.js +19 -0
- package/dist/ui/hooks/index.d.ts +26 -0
- package/dist/ui/hooks/index.js +33 -0
- package/dist/ui/hooks/initializeGroundPlane.d.ts +20 -0
- package/dist/ui/hooks/initializeGroundPlane.js +10 -0
- package/dist/ui/hooks/network/fetchDmImage360Collections.d.ts +3 -0
- package/dist/ui/hooks/network/fetchDmImage360Collections.js +58 -0
- package/dist/ui/hooks/network/fetchLinkFromRelationshipsByTimeseries.d.ts +3 -0
- package/dist/ui/hooks/network/fetchLinkFromRelationshipsByTimeseries.js +20 -0
- package/dist/ui/hooks/network/filterRelationships.d.ts +2 -0
- package/dist/ui/hooks/network/filterRelationships.js +10 -0
- package/dist/ui/hooks/network/getAllFileInfos.d.ts +2 -0
- package/dist/ui/hooks/network/getAllFileInfos.js +12 -0
- package/dist/ui/hooks/network/getAssetsByIds.d.ts +2 -0
- package/dist/ui/hooks/network/getAssetsByIds.js +4 -0
- package/dist/ui/hooks/network/getAssetsList.d.ts +15 -0
- package/dist/ui/hooks/network/getAssetsList.js +16 -0
- package/dist/ui/hooks/network/getCadModelsForAsset.d.ts +3 -0
- package/dist/ui/hooks/network/getCadModelsForAsset.js +11 -0
- package/dist/ui/hooks/network/getCadModelsForHybridDmInstance.d.ts +4 -0
- package/dist/ui/hooks/network/getCadModelsForHybridDmInstance.js +19 -0
- package/dist/ui/hooks/network/getImage360CollectionsForAsset.d.ts +3 -0
- package/dist/ui/hooks/network/getImage360CollectionsForAsset.js +17 -0
- package/dist/ui/hooks/network/getImage360CollectionsForDmInstance.d.ts +3 -0
- package/dist/ui/hooks/network/getImage360CollectionsForDmInstance.js +59 -0
- package/dist/ui/hooks/network/getImage360CollectionsForHybridDmInstance.d.ts +4 -0
- package/dist/ui/hooks/network/getImage360CollectionsForHybridDmInstance.js +20 -0
- package/dist/ui/hooks/network/getImage360CollectionsFromFileRefs.d.ts +7 -0
- package/dist/ui/hooks/network/getImage360CollectionsFromFileRefs.js +21 -0
- package/dist/ui/hooks/network/getLinkedTimeseriesForAsset.d.ts +3 -0
- package/dist/ui/hooks/network/getLinkedTimeseriesForAsset.js +4 -0
- package/dist/ui/hooks/network/getModelType.d.ts +2 -0
- package/dist/ui/hooks/network/getModels.d.ts +3 -0
- package/dist/ui/hooks/network/getPointCloudModelsForAsset.d.ts +3 -0
- package/dist/ui/hooks/network/getPointCloudModelsForAsset.js +32 -0
- package/dist/ui/hooks/network/getPointCloudModelsForAssetInstance.d.ts +3 -0
- package/dist/ui/hooks/network/getPointCloudModelsForAssetInstance.js +20 -0
- package/dist/ui/hooks/network/getRelationships.d.ts +8 -0
- package/dist/ui/hooks/network/getRelationships.js +17 -0
- package/dist/ui/hooks/network/getResourceRelationship.d.ts +3 -0
- package/dist/ui/hooks/network/getResourceRelationship.js +8 -0
- package/dist/ui/hooks/network/getRevisionExternalIdAndSpace.d.ts +30 -0
- package/dist/ui/hooks/network/getRevisionExternalIdAndSpace.js +54 -0
- package/dist/ui/hooks/network/getRevisions.d.ts +2 -0
- package/dist/ui/hooks/network/getSourceRelationships.d.ts +8 -0
- package/dist/ui/hooks/network/getSourceRelationships.js +8 -0
- package/dist/ui/hooks/network/getTargetRelationships.d.ts +8 -0
- package/dist/ui/hooks/network/getTargetRelationships.js +8 -0
- package/dist/ui/hooks/network/getTimeseriesByIds.d.ts +2 -0
- package/dist/ui/hooks/network/getTimeseriesByIds.js +9 -0
- package/dist/ui/hooks/network/getTimeseriesLatestDatapoints.d.ts +2 -0
- package/dist/ui/hooks/network/getTimeseriesLatestDatapoints.js +10 -0
- package/dist/ui/hooks/network/types.d.ts +38 -0
- package/dist/ui/hooks/pointClouds/fetchAnnotationsForModel.d.ts +4 -0
- package/dist/ui/hooks/pointClouds/fetchAnnotationsForModel.js +12 -0
- package/dist/ui/hooks/pointClouds/getPointCloudInstanceFromIntersection.d.ts +8 -0
- package/dist/ui/hooks/pointClouds/getPointCloudInstanceFromIntersection.js +20 -0
- package/dist/ui/hooks/pointClouds/index.d.ts +2 -0
- package/dist/ui/hooks/pointClouds/index.js +3 -0
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.context.d.ts +11 -0
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.context.js +12 -0
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.d.ts +4 -0
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.js +42 -0
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.context.d.ts +9 -0
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.context.js +10 -0
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.d.ts +5 -0
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.js +20 -0
- package/dist/ui/hooks/scenes/allScenesQuery.d.ts +27 -0
- package/dist/ui/hooks/scenes/allScenesQuery.js +98 -0
- package/dist/ui/hooks/scenes/hasSceneDataModel.d.ts +3 -0
- package/dist/ui/hooks/scenes/hasSceneDataModel.js +45 -0
- package/dist/ui/hooks/scenes/sceneQuery.d.ts +17 -0
- package/dist/ui/hooks/scenes/sceneQuery.js +86 -0
- package/dist/ui/hooks/scenes/sceneResponseTypeGuards.d.ts +13 -0
- package/dist/ui/hooks/scenes/sceneResponseTypeGuards.js +90 -0
- package/dist/ui/hooks/scenes/types.d.ts +197 -0
- package/dist/ui/hooks/scenes/types.js +72 -0
- package/dist/ui/hooks/scenes/use3dScene.context.d.ts +13 -0
- package/dist/ui/hooks/scenes/use3dScene.context.js +12 -0
- package/dist/ui/hooks/scenes/use3dScene.d.ts +9 -0
- package/dist/ui/hooks/scenes/use3dScene.js +30 -0
- package/dist/ui/hooks/scenes/use3dScenes.context.d.ts +15 -0
- package/dist/ui/hooks/scenes/use3dScenes.context.js +17 -0
- package/dist/ui/hooks/scenes/use3dScenes.d.ts +5 -0
- package/dist/ui/hooks/scenes/use3dScenes.js +162 -0
- package/dist/ui/hooks/scenes/useSceneConfig.context.d.ts +7 -0
- package/dist/ui/hooks/scenes/useSceneConfig.context.js +6 -0
- package/dist/ui/hooks/scenes/useSceneConfig.d.ts +8 -0
- package/dist/ui/hooks/scenes/useSceneConfig.js +91 -0
- package/dist/ui/hooks/types.d.ts +61 -0
- package/dist/ui/hooks/use3dModels.d.ts +13 -0
- package/dist/ui/hooks/use3dModels.js +12 -0
- package/dist/ui/hooks/useActiveReveal3dResources.d.ts +14 -0
- package/dist/ui/hooks/useActiveReveal3dResources.js +44 -0
- package/dist/ui/hooks/useCameraNavigation.d.ts +23 -0
- package/dist/ui/hooks/useCameraNavigation.js +68 -0
- package/dist/ui/hooks/useClickedNode.context.d.ts +19 -0
- package/dist/ui/hooks/useClickedNode.context.js +22 -0
- package/dist/ui/hooks/useClickedNode.d.ts +8 -0
- package/dist/ui/hooks/useClickedNode.js +115 -0
- package/dist/ui/hooks/useCreateAssetMappingsMapPerModel.d.ts +4 -0
- package/dist/ui/hooks/useCreateAssetMappingsMapPerModel.js +14 -0
- package/dist/ui/hooks/useGhostMode.d.ts +1 -0
- package/dist/ui/hooks/useGhostMode.js +11 -0
- package/dist/ui/hooks/useGroundPlaneFromScene.context.d.ts +17 -0
- package/dist/ui/hooks/useGroundPlaneFromScene.context.js +23 -0
- package/dist/ui/hooks/useGroundPlaneFromScene.d.ts +1 -0
- package/dist/ui/hooks/useGroundPlaneFromScene.js +60 -0
- package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.context.d.ts +7 -0
- package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.context.js +6 -0
- package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.d.ts +7 -0
- package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.js +30 -0
- package/dist/ui/hooks/useImage360Collections.d.ts +8 -0
- package/dist/ui/hooks/useImage360Collections.js +11 -0
- package/dist/ui/hooks/useIsCoreDmOnly.d.ts +1 -0
- package/dist/ui/hooks/useIsCoreDmOnly.js +7 -0
- package/dist/ui/hooks/useIsDraggingOnViewer.d.ts +1 -0
- package/dist/ui/hooks/useIsDraggingOnViewer.js +19 -0
- package/dist/ui/hooks/useIsRevealInitialized.d.ts +1 -0
- package/dist/ui/hooks/useIsRevealInitialized.js +5 -0
- package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.context.d.ts +9 -0
- package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.context.js +10 -0
- package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.d.ts +3 -0
- package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.js +17 -0
- package/dist/ui/hooks/useReveal3dResourcesFromScene.d.ts +8 -0
- package/dist/ui/hooks/useReveal3dResourcesFromScene.js +24 -0
- package/dist/ui/hooks/useRevealDomainObjects.d.ts +8 -0
- package/dist/ui/hooks/useRevealDomainObjects.js +12 -0
- package/dist/ui/hooks/useSceneDefaultCamera.context.d.ts +11 -0
- package/dist/ui/hooks/useSceneDefaultCamera.context.js +12 -0
- package/dist/ui/hooks/useSceneDefaultCamera.d.ts +3 -0
- package/dist/ui/hooks/useSceneDefaultCamera.js +82 -0
- package/dist/ui/hooks/useSkyboxFromScene.context.d.ts +14 -0
- package/dist/ui/hooks/useSkyboxFromScene.context.js +18 -0
- package/dist/ui/hooks/useSkyboxFromScene.d.ts +1 -0
- package/dist/ui/hooks/useSkyboxFromScene.js +35 -0
- package/dist/ui/hooks/useVisibleRevealDomainObjects.d.ts +8 -0
- package/dist/ui/hooks/useVisibleRevealDomainObjects.js +17 -0
- package/dist/ui/query/FilterOnClassicAssetsInScene.context.d.ts +12 -0
- package/dist/ui/query/FilterOnClassicAssetsInScene.context.js +15 -0
- package/dist/ui/query/core-dm/pointCloudDMVolumesQuery.d.ts +32 -0
- package/dist/ui/query/core-dm/pointCloudDMVolumesQuery.js +68 -0
- package/dist/ui/query/core-dm/typeGuards.d.ts +2 -0
- package/dist/ui/query/core-dm/typeGuards.js +4 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.context.d.ts +13 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.context.js +14 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.d.ts +8 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.js +23 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.context.d.ts +9 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.context.js +10 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.d.ts +8 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.js +33 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumes.context.d.ts +10 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumes.context.js +11 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumes.d.ts +7 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumes.js +59 -0
- package/dist/ui/query/findScenesContainingResources.d.ts +9 -0
- package/dist/ui/query/findScenesContainingResources.js +54 -0
- package/dist/ui/query/index.d.ts +24 -0
- package/dist/ui/query/index.js +22 -0
- package/dist/ui/query/use3DModelName.d.ts +4 -0
- package/dist/ui/query/use3DModelName.js +26 -0
- package/dist/ui/query/use3dRelatedDirectConnections.d.ts +4 -0
- package/dist/ui/query/use3dRelatedDirectConnections.js +64 -0
- package/dist/ui/query/use3dRelatedEdgeConnections.d.ts +4 -0
- package/dist/ui/query/use3dRelatedEdgeConnections.js +36 -0
- package/dist/ui/query/useAll3dDirectConnectionsWithProperties.context.d.ts +7 -0
- package/dist/ui/query/useAll3dDirectConnectionsWithProperties.context.js +6 -0
- package/dist/ui/query/useAll3dDirectConnectionsWithProperties.d.ts +4 -0
- package/dist/ui/query/useAll3dDirectConnectionsWithProperties.js +65 -0
- package/dist/ui/query/useAssetsAndTimeseriesLinkageDataQuery.d.ts +9 -0
- package/dist/ui/query/useAssetsAndTimeseriesLinkageDataQuery.js +60 -0
- package/dist/ui/query/useAssetsAndTimeseriesLinkages.context.d.ts +11 -0
- package/dist/ui/query/useAssetsAndTimeseriesLinkages.context.js +12 -0
- package/dist/ui/query/useAssetsAndTimeseriesLinkages.d.ts +4 -0
- package/dist/ui/query/useAssetsAndTimeseriesLinkages.js +33 -0
- package/dist/ui/query/useAssetsByIdsQuery.d.ts +3 -0
- package/dist/ui/query/useAssetsByIdsQuery.js +15 -0
- package/dist/ui/query/useDmsInstanceByIdsQuery.d.ts +3 -0
- package/dist/ui/query/useDmsInstanceByIdsQuery.js +18 -0
- package/dist/ui/query/useFetchClassicAssetsByIds.d.ts +11 -0
- package/dist/ui/query/useFetchClassicAssetsByIds.js +36 -0
- package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.context.d.ts +9 -0
- package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.context.js +10 -0
- package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.d.ts +9 -0
- package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.js +31 -0
- package/dist/ui/query/useFilterOnClassicAssetsInScene.d.ts +3 -0
- package/dist/ui/query/useFilterOnClassicAssetsInScene.js +41 -0
- package/dist/ui/query/useHybridMappingsForAssetInstances.context.d.ts +9 -0
- package/dist/ui/query/useHybridMappingsForAssetInstances.context.js +10 -0
- package/dist/ui/query/useHybridMappingsForAssetInstances.d.ts +5 -0
- package/dist/ui/query/useHybridMappingsForAssetInstances.js +31 -0
- package/dist/ui/query/useInstancesByIdsQuery.context.d.ts +10 -0
- package/dist/ui/query/useInstancesByIdsQuery.context.js +10 -0
- package/dist/ui/query/useInstancesByIdsQuery.d.ts +9 -0
- package/dist/ui/query/useInstancesByIdsQuery.js +32 -0
- package/dist/ui/query/useModelsForInstanceQuery.context.d.ts +28 -0
- package/dist/ui/query/useModelsForInstanceQuery.context.js +29 -0
- package/dist/ui/query/useModelsForInstanceQuery.d.ts +9 -0
- package/dist/ui/query/useModelsForInstanceQuery.js +89 -0
- package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.context.d.ts +9 -0
- package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.context.js +10 -0
- package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.d.ts +6 -0
- package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.js +25 -0
- package/dist/ui/query/useSearchAssetsMapped360Annotations.d.ts +7 -0
- package/dist/ui/query/useSearchAssetsMapped360Annotations.js +41 -0
- package/dist/ui/query/useSearchAssetsMappedPointCloudAnnotations.d.ts +6 -0
- package/dist/ui/query/useSearchAssetsMappedPointCloudAnnotations.js +48 -0
- package/dist/ui/query/useSearchMappedEquipmentAssetMappings.context.d.ts +9 -0
- package/dist/ui/query/useSearchMappedEquipmentAssetMappings.context.js +10 -0
- package/dist/ui/query/useSearchMappedEquipmentAssetMappings.d.ts +21 -0
- package/dist/ui/query/useSearchMappedEquipmentAssetMappings.js +95 -0
- package/dist/ui/query/useSearchMappedEquipmentFDM.d.ts +12 -0
- package/dist/ui/query/useSearchMappedEquipmentFDM.js +42 -0
- package/dist/ui/query/useTimeseriesByIdsQuery.d.ts +3 -0
- package/dist/ui/query/useTimeseriesByIdsQuery.js +15 -0
- package/dist/ui/query/useTimeseriesLatestDatapointQuery.d.ts +2 -0
- package/dist/ui/query/useTimeseriesLatestDatapointQuery.js +15 -0
- package/dist/utilities/PickReturn.d.ts +1 -0
- package/dist/utilities/TextWithClickableLink.d.ts +4 -0
- package/dist/utilities/TextWithClickableLink.js +25 -0
- package/dist/utilities/assertNever.d.ts +1 -0
- package/dist/utilities/assertNever.js +6 -0
- package/dist/utilities/constants.d.ts +5 -0
- package/dist/utilities/constants.js +6 -0
- package/dist/utilities/convertAssetMetadataToLowerCase.d.ts +2 -0
- package/dist/utilities/convertAssetMetadataToLowerCase.js +9 -0
- package/dist/utilities/createSimpleHash.d.ts +1 -0
- package/dist/utilities/createSimpleHash.js +13 -0
- package/dist/utilities/cursoring/autoCursoringProvider.d.ts +16 -0
- package/dist/utilities/cursoring/autoCursoringProvider.js +20 -0
- package/dist/utilities/cursoring/dataAccumulator.d.ts +13 -0
- package/dist/utilities/cursoring/dataAccumulator.js +29 -0
- package/dist/utilities/cursoring/dataPaginator.d.ts +10 -0
- package/dist/utilities/cursoring/dataPaginator.js +23 -0
- package/dist/utilities/cursoring/index.d.ts +2 -0
- package/dist/utilities/date-time-utils/constants.d.ts +7 -0
- package/dist/utilities/date-time-utils/constants.js +54 -0
- package/dist/utilities/date-time-utils/format-date-time.d.ts +39 -0
- package/dist/utilities/date-time-utils/format-date-time.js +37 -0
- package/dist/utilities/date-time-utils/index.d.ts +3 -0
- package/dist/utilities/date-time-utils/index.js +3 -0
- package/dist/utilities/date-time-utils/types.d.ts +10 -0
- package/dist/utilities/dms-cursoring/cursoring-order.d.ts +18 -0
- package/dist/utilities/dms-cursoring/cursoring-order.js +19 -0
- package/dist/utilities/dms-cursoring/dms-query-paginator.d.ts +32 -0
- package/dist/utilities/dms-cursoring/dms-query-paginator.js +64 -0
- package/dist/utilities/dms-cursoring/dmsAccumulator.d.ts +8 -0
- package/dist/utilities/dms-cursoring/dmsAccumulator.js +17 -0
- package/dist/utilities/dms-cursoring/get-cursor-paths.d.ts +2 -0
- package/dist/utilities/dms-cursoring/get-cursor-paths.js +25 -0
- package/dist/utilities/dms-cursoring/next-dms-query-cursor.d.ts +13 -0
- package/dist/utilities/dms-cursoring/next-dms-query-cursor.js +50 -0
- package/dist/utilities/executeParallel.d.ts +1 -0
- package/dist/utilities/executeParallel.js +15 -0
- package/dist/utilities/externalIndex.d.ts +6 -0
- package/dist/utilities/externalIndex.js +18 -0
- package/dist/utilities/fdmViewsExist.d.ts +2 -0
- package/dist/utilities/fdmViewsExist.js +6 -0
- package/dist/utilities/getInstancesFromClick.d.ts +12 -0
- package/dist/utilities/getInstancesFromClick.js +43 -0
- package/dist/utilities/getModelKeys.d.ts +7 -0
- package/dist/utilities/getModelKeys.js +7 -0
- package/dist/utilities/getUnifiedThreeDUrlForResource.d.ts +16 -0
- package/dist/utilities/getUnifiedThreeDUrlForResource.js +26 -0
- package/dist/utilities/getUrlRegex.d.ts +1 -0
- package/dist/utilities/getUrlRegex.js +6 -0
- package/dist/utilities/getViewerResourceCount.d.ts +2 -0
- package/dist/utilities/getViewerResourceCount.js +6 -0
- package/dist/utilities/image360Annotations/equality.d.ts +4 -0
- package/dist/utilities/image360Annotations/equality.js +12 -0
- package/dist/utilities/image360Annotations/getImage360AnnotationAssetRef.d.ts +3 -0
- package/dist/utilities/image360Annotations/getImage360AnnotationAssetRef.js +15 -0
- package/dist/utilities/image360Annotations/getImage360AnnotationId.d.ts +2 -0
- package/dist/utilities/image360Annotations/getImage360AnnotationId.js +13 -0
- package/dist/utilities/image360Annotations/index.d.ts +5 -0
- package/dist/utilities/image360Annotations/index.js +5 -0
- package/dist/utilities/image360Annotations/typeGuards.d.ts +11 -0
- package/dist/utilities/image360Annotations/typeGuards.js +27 -0
- package/dist/utilities/image360Annotations/types.d.ts +4 -0
- package/dist/utilities/index.d.ts +4 -0
- package/dist/utilities/index.js +17 -0
- package/dist/utilities/instanceIds/equality.d.ts +8 -0
- package/dist/utilities/instanceIds/equality.js +19 -0
- package/dist/utilities/instanceIds/index.d.ts +4 -0
- package/dist/utilities/instanceIds/index.js +4 -0
- package/dist/utilities/instanceIds/toIdEither.d.ts +2 -0
- package/dist/utilities/instanceIds/toIdEither.js +6 -0
- package/dist/utilities/instanceIds/toKey.d.ts +5 -0
- package/dist/utilities/instanceIds/toKey.js +15 -0
- package/dist/utilities/instanceIds/typeGuards.d.ts +17 -0
- package/dist/utilities/instanceIds/typeGuards.js +24 -0
- package/dist/utilities/instanceIds/types.d.ts +9 -0
- package/dist/utilities/instances/AssetInstance.d.ts +4 -0
- package/dist/utilities/instances/index.d.ts +3 -0
- package/dist/utilities/instances/index.js +3 -0
- package/dist/utilities/instances/matchAssetWithQuery.d.ts +2 -0
- package/dist/utilities/instances/matchAssetWithQuery.js +14 -0
- package/dist/utilities/instances/toId.d.ts +3 -0
- package/dist/utilities/instances/toId.js +16 -0
- package/dist/utilities/instances/typeGuards.d.ts +6 -0
- package/dist/utilities/instances/typeGuards.js +12 -0
- package/dist/utilities/isDefined.d.ts +1 -0
- package/dist/utilities/isDefined.js +6 -0
- package/dist/utilities/isSameModel.d.ts +5 -0
- package/dist/utilities/isSameModel.js +20 -0
- package/dist/utilities/loadMetricsParameters.d.ts +7 -0
- package/dist/utilities/map/concatenateMapValues.d.ts +4 -0
- package/dist/utilities/map/concatenateMapValues.js +9 -0
- package/dist/utilities/map/mergeMapMapValues.d.ts +11 -0
- package/dist/utilities/map/mergeMapMapValues.js +18 -0
- package/dist/utilities/modelExists.d.ts +3 -0
- package/dist/utilities/modelExists.js +9 -0
- package/dist/utilities/modelIds/index.d.ts +2 -0
- package/dist/utilities/modelIds/index.js +2 -0
- package/dist/utilities/modelIds/typeGuards.d.ts +7 -0
- package/dist/utilities/modelIds/typeGuards.js +21 -0
- package/dist/utilities/modelIds/types.d.ts +139 -0
- package/dist/utilities/navigation/enterNearby360Image.d.ts +5 -0
- package/dist/utilities/navigation/enterNearby360Image.js +12 -0
- package/dist/utilities/navigation/index.d.ts +1 -0
- package/dist/utilities/navigation/index.js +2 -0
- package/dist/utilities/queryKeys.d.ts +33 -0
- package/dist/utilities/queryKeys.js +108 -0
- package/dist/utilities/removeEmptyProperties.d.ts +2 -0
- package/dist/utilities/removeEmptyProperties.js +12 -0
- package/dist/utilities/resourceSettings.d.ts +14 -0
- package/dist/utilities/resourceSettings.js +57 -0
- package/dist/utilities/restrictToDmsId.d.ts +2 -0
- package/dist/utilities/restrictToDmsId.js +9 -0
- package/dist/utilities/restrictToViewReference.d.ts +3 -0
- package/dist/utilities/restrictToViewReference.js +11 -0
- package/dist/utilities/signal/DisposableSignal.d.ts +5 -0
- package/dist/utilities/signal/useDisposableSignal.d.ts +2 -0
- package/dist/utilities/signal/useDisposableSignal.js +10 -0
- package/dist/utilities/styling/index.d.ts +1 -0
- package/dist/utilities/styling/index.js +0 -0
- package/dist/utilities/styling/stylingGroups.d.ts +20 -0
- package/dist/utilities/styling/stylingGroups.js +9 -0
- package/dist/utilities/tryGetModelIdFromExternalId.d.ts +2 -0
- package/dist/utilities/tryGetModelIdFromExternalId.js +14 -0
- package/package.json +117 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { VIEWER_TO_CDF_TRANSFORMATION as e } from "../../../foundation/renderTarget/convertCoordinates.js";
|
|
2
|
+
import { UseSceneConfigContext as t } from "./useSceneConfig.context.js";
|
|
3
|
+
import { useContext as n, useMemo as r } from "react";
|
|
4
|
+
import { Euler as i, MathUtils as a, Matrix4 as o, Quaternion as s, Vector3 as c } from "three";
|
|
5
|
+
//#region libs/shared/reveal-components/src/ui/hooks/scenes/useSceneConfig.ts
|
|
6
|
+
var l = (e, i) => {
|
|
7
|
+
let { use3dScene: a } = n(t), o = a(e, i);
|
|
8
|
+
return {
|
|
9
|
+
data: r(() => o.data === void 0 ? void 0 : u(o.data), [o.data]),
|
|
10
|
+
isFetched: o.isFetched,
|
|
11
|
+
error: o.error,
|
|
12
|
+
isError: o.isError
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
function u(e) {
|
|
16
|
+
return {
|
|
17
|
+
sceneConfiguration: {
|
|
18
|
+
name: e.name,
|
|
19
|
+
cameraTranslationX: e.cameraTranslationX,
|
|
20
|
+
cameraTranslationY: e.cameraTranslationY,
|
|
21
|
+
cameraTranslationZ: e.cameraTranslationZ,
|
|
22
|
+
cameraEulerRotationX: e.cameraEulerRotationX,
|
|
23
|
+
cameraEulerRotationY: e.cameraEulerRotationY,
|
|
24
|
+
cameraEulerRotationZ: e.cameraEulerRotationZ,
|
|
25
|
+
cameraTargetX: e.cameraTargetX,
|
|
26
|
+
cameraTargetY: e.cameraTargetY,
|
|
27
|
+
cameraTargetZ: e.cameraTargetZ,
|
|
28
|
+
updatedAt: e.updatedAt,
|
|
29
|
+
qualitySettings: e.qualitySettings
|
|
30
|
+
},
|
|
31
|
+
skybox: e.skybox,
|
|
32
|
+
groundPlanes: e.groundPlanes,
|
|
33
|
+
sceneModels: e.modelOptions.map(d),
|
|
34
|
+
image360Collections: e.image360CollectionOptions.map(f)
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function d(e) {
|
|
38
|
+
let t = p(e.transform);
|
|
39
|
+
return e.sourceType === "classic" ? {
|
|
40
|
+
...t,
|
|
41
|
+
modelIdentifier: {
|
|
42
|
+
modelId: e.modelId,
|
|
43
|
+
revisionId: e.revisionId
|
|
44
|
+
},
|
|
45
|
+
defaultVisible: e.defaultVisible
|
|
46
|
+
} : {
|
|
47
|
+
...t,
|
|
48
|
+
modelIdentifier: {
|
|
49
|
+
revisionExternalId: e.externalId,
|
|
50
|
+
revisionSpace: e.space
|
|
51
|
+
},
|
|
52
|
+
defaultVisible: e.defaultVisible
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function f(e) {
|
|
56
|
+
return {
|
|
57
|
+
...p(e.transform),
|
|
58
|
+
image360CollectionExternalId: e.externalId,
|
|
59
|
+
image360CollectionSpace: e.space,
|
|
60
|
+
defaultVisible: e.defaultVisible
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function p(t) {
|
|
64
|
+
if (t === void 0) return {
|
|
65
|
+
translationX: 0,
|
|
66
|
+
translationY: 0,
|
|
67
|
+
translationZ: 0,
|
|
68
|
+
eulerRotationX: 0,
|
|
69
|
+
eulerRotationY: 0,
|
|
70
|
+
eulerRotationZ: 0,
|
|
71
|
+
scaleX: 1,
|
|
72
|
+
scaleY: 1,
|
|
73
|
+
scaleZ: 1
|
|
74
|
+
};
|
|
75
|
+
let n = new o().copy(t).premultiply(e), r = new c(), l = new s(), u = new c();
|
|
76
|
+
n.decompose(r, l, u);
|
|
77
|
+
let d = new i().setFromQuaternion(l, "XYZ");
|
|
78
|
+
return {
|
|
79
|
+
translationX: r.x,
|
|
80
|
+
translationY: r.y,
|
|
81
|
+
translationZ: r.z,
|
|
82
|
+
eulerRotationX: a.radToDeg(d.x),
|
|
83
|
+
eulerRotationY: a.radToDeg(d.y),
|
|
84
|
+
eulerRotationZ: a.radToDeg(d.z),
|
|
85
|
+
scaleX: u.x,
|
|
86
|
+
scaleY: u.y,
|
|
87
|
+
scaleZ: u.z
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
//#endregion
|
|
91
|
+
export { l as useSceneConfig };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { MOUSE, Vector2 } from 'three';
|
|
2
|
+
import { AnyIntersection, DataSourceType, Image360AnnotationIntersection } from '@cognite/reveal';
|
|
3
|
+
import { Asset, CogniteInternalId } from '@cognite/sdk';
|
|
4
|
+
import { HybridImage360AnnotationMappedData } from '../../data-providers/cache/cad/types';
|
|
5
|
+
import { AssetProperties } from '../../data-providers/core-dm-provider/utils/filters';
|
|
6
|
+
import { Source, DmsUniqueIdentifier, FdmNode } from '../../data-providers/FdmSDK';
|
|
7
|
+
import { SlimCadNode } from '../../data-providers/utils/cadNodeConnectionFields';
|
|
8
|
+
import { PointCloudDMVolumeMappingWithViews } from '../query/core-dm/usePointCloudDMVolumeMappingForIntersection';
|
|
9
|
+
export type ClassicPointCloudAnnotationMappedAssetData = {
|
|
10
|
+
annotationId: number;
|
|
11
|
+
asset: Asset;
|
|
12
|
+
};
|
|
13
|
+
export type DmPointCloudAnnotationMappedAssetData = {
|
|
14
|
+
annotationId: number;
|
|
15
|
+
asset: FdmNode<AssetProperties>;
|
|
16
|
+
views?: Source[];
|
|
17
|
+
};
|
|
18
|
+
export type PointCloudAnnotationMappedAssetData = ClassicPointCloudAnnotationMappedAssetData | DmPointCloudAnnotationMappedAssetData;
|
|
19
|
+
export type Image360AnnotationMappedAssetData = HybridImage360AnnotationMappedData | DmImage360AnnotationMappedData;
|
|
20
|
+
export type DmImage360AnnotationMappedData = {
|
|
21
|
+
asset: FdmNode<AssetProperties>;
|
|
22
|
+
annotationIds: DmsUniqueIdentifier[];
|
|
23
|
+
};
|
|
24
|
+
export type AssetMappingDataResult = {
|
|
25
|
+
cadNode: SlimCadNode;
|
|
26
|
+
assetIds: CogniteInternalId[];
|
|
27
|
+
};
|
|
28
|
+
export type FdmNodeDataResult = {
|
|
29
|
+
fdmNodes: DmsUniqueIdentifier[];
|
|
30
|
+
cadNode: SlimCadNode;
|
|
31
|
+
/**
|
|
32
|
+
* A value of `undefined` means it's not yet finished evaluating.
|
|
33
|
+
* A value of `null` means there was no result
|
|
34
|
+
*/
|
|
35
|
+
views?: Source[][] | null;
|
|
36
|
+
};
|
|
37
|
+
export type ClickedNodeData = {
|
|
38
|
+
mouseButton?: MOUSE;
|
|
39
|
+
position?: Vector2;
|
|
40
|
+
/**
|
|
41
|
+
* A value of `undefined` means it's not yet finished evaluating.
|
|
42
|
+
* A value of `null` means there was no result
|
|
43
|
+
*/
|
|
44
|
+
fdmResult?: FdmNodeDataResult | null;
|
|
45
|
+
/**
|
|
46
|
+
* A value of `undefined` means it's not yet finished evaluating.
|
|
47
|
+
* A value of `null` means there was no result
|
|
48
|
+
*/
|
|
49
|
+
assetMappingResult?: AssetMappingDataResult | null;
|
|
50
|
+
/**
|
|
51
|
+
* A value of `undefined` means it's not yet finished evaluating.
|
|
52
|
+
* A value of `null` means there was no result
|
|
53
|
+
*/
|
|
54
|
+
pointCloudAnnotationMappingResult?: PointCloudAnnotationMappedAssetData[] | null;
|
|
55
|
+
/**
|
|
56
|
+
* A value of `undefined` means it's not yet finished evaluating.
|
|
57
|
+
* A value of `null` means there was no result
|
|
58
|
+
*/
|
|
59
|
+
pointCloudFdmVolumeMappingResult?: PointCloudDMVolumeMappingWithViews[] | null;
|
|
60
|
+
intersection: AnyIntersection | Image360AnnotationIntersection<DataSourceType>;
|
|
61
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Context } from 'react';
|
|
2
|
+
import { CogniteModel, DataSourceType } from '@cognite/reveal';
|
|
3
|
+
import { useRevealDomainObjects } from './useRevealDomainObjects';
|
|
4
|
+
export type Use3dModelsDependencies = {
|
|
5
|
+
useRevealDomainObjects: typeof useRevealDomainObjects;
|
|
6
|
+
};
|
|
7
|
+
export declare const defaultUse3dModelsDependencies: Use3dModelsDependencies;
|
|
8
|
+
export declare const Use3dModelsContext: Context<Use3dModelsDependencies>;
|
|
9
|
+
/**
|
|
10
|
+
* Returns DomainObjects corresponding to the CogniteModel model types in
|
|
11
|
+
* Reveal; i.e. CAD and Point clouds only
|
|
12
|
+
*/
|
|
13
|
+
export declare const use3dModels: () => Array<CogniteModel<DataSourceType>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PointCloudDomainObject as e } from "../../domains/reveal/pointCloud/PointCloudDomainObject.js";
|
|
2
|
+
import { isDefined as t } from "../../utilities/isDefined.js";
|
|
3
|
+
import { CadDomainObject as n } from "../../domains/reveal/cad/CadDomainObject.js";
|
|
4
|
+
import { useRevealDomainObjects as r } from "./useRevealDomainObjects.js";
|
|
5
|
+
import { createContext as i, useContext as a, useMemo as o } from "react";
|
|
6
|
+
//#region libs/shared/reveal-components/src/ui/hooks/use3dModels.ts
|
|
7
|
+
var s = { useRevealDomainObjects: r }, c = i(s), l = () => {
|
|
8
|
+
let { useRevealDomainObjects: r } = a(c), i = r();
|
|
9
|
+
return o(() => i.filter((t) => t instanceof e || t instanceof n).map((e) => e.model).filter(t), [i]);
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { c as Use3dModelsContext, s as defaultUse3dModelsDependencies, l as use3dModels };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Context } from 'react';
|
|
2
|
+
import { AddModelOptions, DataSourceType, Image360Collection } from '@cognite/reveal';
|
|
3
|
+
import { useFdmSdk } from '../components/RevealCanvas/SDKProvider';
|
|
4
|
+
import { useVisibleRevealDomainObjects } from './useVisibleRevealDomainObjects';
|
|
5
|
+
export type UseActiveReveal3dResourcesDependencies = {
|
|
6
|
+
useVisibleRevealDomainObjects: typeof useVisibleRevealDomainObjects;
|
|
7
|
+
useFdmSdk: typeof useFdmSdk;
|
|
8
|
+
};
|
|
9
|
+
export declare const defaultUseActiveReveal3dResourcesDependencies: UseActiveReveal3dResourcesDependencies;
|
|
10
|
+
export declare const UseActiveReveal3dResourcesContext: Context<UseActiveReveal3dResourcesDependencies>;
|
|
11
|
+
export declare const useActiveReveal3dResources: () => {
|
|
12
|
+
models: AddModelOptions[];
|
|
13
|
+
image360Collections: Array<Image360Collection<DataSourceType>>;
|
|
14
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Image360CollectionDomainObject as e } from "../../domains/reveal/Image360Collection/Image360CollectionDomainObject.js";
|
|
2
|
+
import { PointCloudDomainObject as t } from "../../domains/reveal/pointCloud/PointCloudDomainObject.js";
|
|
3
|
+
import { isDefined as n } from "../../utilities/isDefined.js";
|
|
4
|
+
import { EMPTY_ARRAY as r } from "../../utilities/constants.js";
|
|
5
|
+
import { CadDomainObject as i } from "../../domains/reveal/cad/CadDomainObject.js";
|
|
6
|
+
import { getModelIdAndRevisionIdFromExternalId as a } from "../../data-providers/network/common/getModelIdAndRevisionIdFromExternalId.js";
|
|
7
|
+
import { useFdmSdk as o } from "../components/RevealCanvas/SDKProvider.js";
|
|
8
|
+
import { useVisibleRevealDomainObjects as s } from "./useVisibleRevealDomainObjects.js";
|
|
9
|
+
import { createContext as c, useContext as l, useMemo as u } from "react";
|
|
10
|
+
import { useQuery as d } from "@tanstack/react-query";
|
|
11
|
+
import { CognitePointCloudModel as f, isDMPointCloudModel as p } from "@cognite/reveal";
|
|
12
|
+
//#region libs/shared/reveal-components/src/ui/hooks/useActiveReveal3dResources.ts
|
|
13
|
+
var m = {
|
|
14
|
+
useVisibleRevealDomainObjects: s,
|
|
15
|
+
useFdmSdk: o
|
|
16
|
+
}, h = c(m), g = () => {
|
|
17
|
+
let { useVisibleRevealDomainObjects: o, useFdmSdk: s } = l(h), c = o(), f = s(), m = u(() => c.filter((e) => e instanceof t || e instanceof i).map((e) => e.model).filter(n), [c]), g = u(() => c.filter((t) => t instanceof e).map((e) => e.model).filter(n), [c]), v = d({
|
|
18
|
+
queryKey: ["visible-3d-models", m.map(_).sort()],
|
|
19
|
+
queryFn: async () => {
|
|
20
|
+
let e = m.map(async (e) => {
|
|
21
|
+
if (e.type === "pointcloud" && p(e)) {
|
|
22
|
+
let t = e;
|
|
23
|
+
return await a(t.modelIdentifier.revisionExternalId, t.modelIdentifier.revisionSpace, f);
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
modelId: e.modelId,
|
|
27
|
+
revisionId: e.revisionId
|
|
28
|
+
};
|
|
29
|
+
});
|
|
30
|
+
return (await Promise.allSettled(e)).filter((e) => e.status === "fulfilled").map((e) => e.value);
|
|
31
|
+
},
|
|
32
|
+
enabled: m.length > 0,
|
|
33
|
+
staleTime: Infinity
|
|
34
|
+
});
|
|
35
|
+
return u(() => ({
|
|
36
|
+
models: v.data ?? r,
|
|
37
|
+
image360Collections: g
|
|
38
|
+
}), [v.data, g]);
|
|
39
|
+
};
|
|
40
|
+
function _(e) {
|
|
41
|
+
return e instanceof f && p(e) ? `${e.modelIdentifier.revisionExternalId}/${e.modelIdentifier.revisionSpace}` : `${e.modelId}/${e.revisionId}`;
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { h as UseActiveReveal3dResourcesContext, m as defaultUseActiveReveal3dResourcesDependencies, g as useActiveReveal3dResources };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Context } from 'react';
|
|
2
|
+
import { CameraState } from '@cognite/reveal';
|
|
3
|
+
import { useFdmCadNodeCache } from '../../data-providers/cache/CacheProvider';
|
|
4
|
+
import { useReveal } from '../components/RevealCanvas/ViewerContext';
|
|
5
|
+
export type CameraNavigationActions = {
|
|
6
|
+
fitCameraToVisualSceneBoundingBox: (duration?: number) => void;
|
|
7
|
+
fitCameraToAllModels: (duration?: number) => void;
|
|
8
|
+
fitCameraToModelNode: (revisionId: number, nodeId: number) => Promise<void>;
|
|
9
|
+
fitCameraToModelNodes: (revisionId: number, nodeids: number[]) => Promise<void>;
|
|
10
|
+
fitCameraToInstance: (externalId: string, space: string) => Promise<void>;
|
|
11
|
+
fitCameraToInstances: (instances: Array<{
|
|
12
|
+
externalId: string;
|
|
13
|
+
space: string;
|
|
14
|
+
}>) => Promise<void>;
|
|
15
|
+
fitCameraToState: (cameraState: CameraState) => void;
|
|
16
|
+
};
|
|
17
|
+
export type UseCameraNavigationDependencies = {
|
|
18
|
+
useReveal: typeof useReveal;
|
|
19
|
+
useFdmCadNodeCache: typeof useFdmCadNodeCache;
|
|
20
|
+
};
|
|
21
|
+
export declare const defaultUseCameraNavigationDependencies: UseCameraNavigationDependencies;
|
|
22
|
+
export declare const UseCameraNavigationContext: Context<UseCameraNavigationDependencies>;
|
|
23
|
+
export declare const useCameraNavigation: () => CameraNavigationActions;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { useReveal as e } from "../components/RevealCanvas/ViewerContext.js";
|
|
2
|
+
import { useFdmCadNodeCache as t } from "../../data-providers/cache/CacheProvider.js";
|
|
3
|
+
import { createContext as n, useCallback as r, useContext as i, useMemo as a } from "react";
|
|
4
|
+
import { Box3 as o } from "three";
|
|
5
|
+
import { CogniteCadModel as s } from "@cognite/reveal";
|
|
6
|
+
//#region libs/shared/reveal-components/src/ui/hooks/useCameraNavigation.tsx
|
|
7
|
+
var c = {
|
|
8
|
+
useReveal: e,
|
|
9
|
+
useFdmCadNodeCache: t
|
|
10
|
+
}, l = n(c), u = () => {
|
|
11
|
+
let { useFdmCadNodeCache: e, useReveal: t } = i(l), n = e(), c = t(), u = r((e) => {
|
|
12
|
+
c.fitCameraToVisualSceneBoundingBox(e);
|
|
13
|
+
}, [c]), d = r((e) => {
|
|
14
|
+
let t = c.models;
|
|
15
|
+
t.length !== 0 && c.fitCameraToModels(t, e, !0);
|
|
16
|
+
}, [c]), f = r(async (e, t) => {
|
|
17
|
+
let n = c.models.find((t) => t.revisionId === e);
|
|
18
|
+
if (n === void 0) {
|
|
19
|
+
await Promise.reject(/* @__PURE__ */ Error(`Could not find model with revision ${e}`));
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
if (!(n instanceof s)) return;
|
|
23
|
+
let r = (await n.getBoundingBoxesByNodeIds(t)).reduce((e, t) => e.union(t), new o());
|
|
24
|
+
c.cameraManager.fitCameraToBoundingBox(r);
|
|
25
|
+
}, [c]), p = r(async (e, t) => {
|
|
26
|
+
await f(e, [t]);
|
|
27
|
+
}, [f]), m = r(async (e) => {
|
|
28
|
+
let t = c.models.map((e) => ({
|
|
29
|
+
modelId: e.modelId,
|
|
30
|
+
revisionId: e.revisionId
|
|
31
|
+
})), r = (await n?.getMappingsForFdmInstances(e, t))?.find((e) => e.mappings.size > 0), i = [...r?.mappings.values() ?? []].flat().map((e) => e.id);
|
|
32
|
+
if (r === void 0 || i.length === 0) {
|
|
33
|
+
await Promise.reject(/* @__PURE__ */ Error("Could not find a model connected to the instances"));
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
await f(r.revisionId, i);
|
|
37
|
+
}, [
|
|
38
|
+
c,
|
|
39
|
+
n,
|
|
40
|
+
f
|
|
41
|
+
]), h = r(async (e, t) => {
|
|
42
|
+
await m([{
|
|
43
|
+
externalId: e,
|
|
44
|
+
space: t
|
|
45
|
+
}]);
|
|
46
|
+
}, [m]), g = r((e) => {
|
|
47
|
+
c.cameraManager.setCameraState(e);
|
|
48
|
+
}, [c]);
|
|
49
|
+
return a(() => ({
|
|
50
|
+
fitCameraToVisualSceneBoundingBox: u,
|
|
51
|
+
fitCameraToAllModels: d,
|
|
52
|
+
fitCameraToInstance: h,
|
|
53
|
+
fitCameraToInstances: m,
|
|
54
|
+
fitCameraToModelNode: p,
|
|
55
|
+
fitCameraToModelNodes: f,
|
|
56
|
+
fitCameraToState: g
|
|
57
|
+
}), [
|
|
58
|
+
u,
|
|
59
|
+
d,
|
|
60
|
+
h,
|
|
61
|
+
m,
|
|
62
|
+
p,
|
|
63
|
+
f,
|
|
64
|
+
g
|
|
65
|
+
]);
|
|
66
|
+
};
|
|
67
|
+
//#endregion
|
|
68
|
+
export { l as UseCameraNavigationContext, c as defaultUseCameraNavigationDependencies, u as useCameraNavigation };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Context } from 'react';
|
|
2
|
+
import { getPoiIntersectionFromPixel } from '../../domains/pointsOfInterest/getPoiIntersectionFromPixel';
|
|
3
|
+
import { isActiveEditTool } from '../../foundation/commands/BaseEditTool';
|
|
4
|
+
import { useRenderTarget, useReveal } from '../components/RevealCanvas/ViewerContext';
|
|
5
|
+
import { usePointCloudDMVolumeMappingForIntersection } from '../query/core-dm/usePointCloudDMVolumeMappingForIntersection';
|
|
6
|
+
import { useFdm3dNodeDataPromises, useAssetMappingForTreeIndex } from './cad';
|
|
7
|
+
import { usePointCloudAnnotationMappingForIntersection } from './pointClouds/usePointCloudAnnotationMappingForIntersection';
|
|
8
|
+
export type UseClickedNodeDataDependencies = {
|
|
9
|
+
useFdm3dNodeDataPromises: typeof useFdm3dNodeDataPromises;
|
|
10
|
+
useAssetMappingForTreeIndex: typeof useAssetMappingForTreeIndex;
|
|
11
|
+
usePointCloudAnnotationMappingForIntersection: typeof usePointCloudAnnotationMappingForIntersection;
|
|
12
|
+
usePointCloudDMVolumeMappingForIntersection: typeof usePointCloudDMVolumeMappingForIntersection;
|
|
13
|
+
useRenderTarget: typeof useRenderTarget;
|
|
14
|
+
useReveal: typeof useReveal;
|
|
15
|
+
isActiveEditTool: typeof isActiveEditTool;
|
|
16
|
+
getPoiIntersectionFromPixel: typeof getPoiIntersectionFromPixel;
|
|
17
|
+
};
|
|
18
|
+
export declare const defaultUseClickedNodeDataDependencies: UseClickedNodeDataDependencies;
|
|
19
|
+
export declare const UseClickedNodeDataContext: Context<UseClickedNodeDataDependencies>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { useRenderTarget as e, useReveal as t } from "../components/RevealCanvas/ViewerContext.js";
|
|
2
|
+
import { isActiveEditTool as n } from "../../foundation/commands/BaseEditTool.js";
|
|
3
|
+
import { getPoiIntersectionFromPixel as r } from "../../domains/pointsOfInterest/getPoiIntersectionFromPixel.js";
|
|
4
|
+
import { usePointCloudDMVolumeMappingForIntersection as i } from "../query/core-dm/usePointCloudDMVolumeMappingForIntersection.js";
|
|
5
|
+
import { useAssetMappingForTreeIndex as a } from "./cad/useAssetMappingForTreeIndex.js";
|
|
6
|
+
import { useFdm3dNodeDataPromises as o } from "./cad/useFdm3dNodeDataPromises.js";
|
|
7
|
+
import "./cad/index.js";
|
|
8
|
+
import { usePointCloudAnnotationMappingForIntersection as s } from "./pointClouds/usePointCloudAnnotationMappingForIntersection.js";
|
|
9
|
+
import { createContext as c } from "react";
|
|
10
|
+
//#region libs/shared/reveal-components/src/ui/hooks/useClickedNode.context.ts
|
|
11
|
+
var l = {
|
|
12
|
+
useFdm3dNodeDataPromises: o,
|
|
13
|
+
useAssetMappingForTreeIndex: a,
|
|
14
|
+
usePointCloudAnnotationMappingForIntersection: s,
|
|
15
|
+
usePointCloudDMVolumeMappingForIntersection: i,
|
|
16
|
+
useRenderTarget: e,
|
|
17
|
+
useReveal: t,
|
|
18
|
+
isActiveEditTool: n,
|
|
19
|
+
getPoiIntersectionFromPixel: r
|
|
20
|
+
}, u = c(l);
|
|
21
|
+
//#endregion
|
|
22
|
+
export { u as UseClickedNodeDataContext, l as defaultUseClickedNodeDataDependencies };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Vector3 } from 'three';
|
|
2
|
+
import { ClickedNodeData } from './types';
|
|
3
|
+
export declare const useClickedNodeData: (options?: {
|
|
4
|
+
leftClick?: boolean;
|
|
5
|
+
rightClick?: boolean;
|
|
6
|
+
disableOnEditTool?: boolean;
|
|
7
|
+
}) => ClickedNodeData | undefined;
|
|
8
|
+
export declare function getClickedNodeDataIntersectionPosition(clickedNodeData: ClickedNodeData): Vector3 | undefined;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { isClassicCadAssetMapping as e, isDmCadAssetMapping as t } from "../../data-providers/cache/cad/assetMappingTypes.js";
|
|
2
|
+
import { UseClickedNodeDataContext as n } from "./useClickedNode.context.js";
|
|
3
|
+
import { useContext as r, useEffect as i, useMemo as a, useState as o } from "react";
|
|
4
|
+
import { MOUSE as s, Vector2 as c } from "three";
|
|
5
|
+
//#region libs/shared/reveal-components/src/ui/hooks/useClickedNode.tsx
|
|
6
|
+
var l = (e) => {
|
|
7
|
+
let { useFdm3dNodeDataPromises: t, useAssetMappingForTreeIndex: a, usePointCloudAnnotationMappingForIntersection: l, usePointCloudDMVolumeMappingForIntersection: d, useRenderTarget: f, useReveal: p, isActiveEditTool: m, getPoiIntersectionFromPixel: h } = r(n), g = e?.leftClick ?? !0, _ = e?.rightClick ?? !1, v = e?.disableOnEditTool ?? !0, y = p(), b = f(), [x, S] = o(void 0), [C, w] = o(void 0), [T, E] = o(void 0), [D, O] = o(void 0);
|
|
8
|
+
i(() => {
|
|
9
|
+
let e = (e) => {
|
|
10
|
+
(async () => {
|
|
11
|
+
let t = g && e.button === s.LEFT, n = _ && e.button === s.RIGHT;
|
|
12
|
+
if (!(t || n) || v && m(b.commandsController)) {
|
|
13
|
+
E(void 0), O(void 0);
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
let r = new c(e.offsetX, e.offsetY);
|
|
17
|
+
E(r), O(e.button);
|
|
18
|
+
let i = h(b, b.root, r);
|
|
19
|
+
if (i !== void 0) {
|
|
20
|
+
S(i), w(void 0);
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
let a = await y.getAnyIntersectionFromPixel(r), o = await y.get360AnnotationIntersectionFromPixel(e.offsetX, e.offsetY);
|
|
24
|
+
S(a === void 0 ? void 0 : a), w(o === null ? void 0 : o);
|
|
25
|
+
})();
|
|
26
|
+
};
|
|
27
|
+
return y.on("click", e), () => {
|
|
28
|
+
y.off("click", e);
|
|
29
|
+
};
|
|
30
|
+
}, [
|
|
31
|
+
y,
|
|
32
|
+
b,
|
|
33
|
+
h
|
|
34
|
+
]);
|
|
35
|
+
let { data: k } = t(x), { data: A } = a(x);
|
|
36
|
+
return u(D, T, k, A, l(x), d(x), C ?? x);
|
|
37
|
+
}, u = (e, t, n, r, i, o, s) => {
|
|
38
|
+
let c = d(n);
|
|
39
|
+
return a(() => {
|
|
40
|
+
if (s !== void 0) return {
|
|
41
|
+
mouseButton: e,
|
|
42
|
+
position: t,
|
|
43
|
+
fdmResult: f(r, c),
|
|
44
|
+
assetMappingResult: p(r),
|
|
45
|
+
pointCloudAnnotationMappingResult: l(i),
|
|
46
|
+
pointCloudFdmVolumeMappingResult: l(o),
|
|
47
|
+
intersection: s
|
|
48
|
+
};
|
|
49
|
+
}, [
|
|
50
|
+
s,
|
|
51
|
+
r,
|
|
52
|
+
c,
|
|
53
|
+
i,
|
|
54
|
+
o,
|
|
55
|
+
e,
|
|
56
|
+
t
|
|
57
|
+
]);
|
|
58
|
+
function l(e) {
|
|
59
|
+
return e.isFetching ? void 0 : e.data === void 0 || e.data.length === 0 ? null : e.data;
|
|
60
|
+
}
|
|
61
|
+
}, d = (e) => {
|
|
62
|
+
let [t, n] = o();
|
|
63
|
+
return i(() => {
|
|
64
|
+
if (e === void 0) {
|
|
65
|
+
n(void 0);
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
t(e);
|
|
69
|
+
async function t(e) {
|
|
70
|
+
let t = await e.cadAndFdmNodesPromise;
|
|
71
|
+
if (t === void 0 || t.fdmIds.length === 0) {
|
|
72
|
+
n(null);
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
n({
|
|
76
|
+
fdmNodes: t.fdmIds,
|
|
77
|
+
cadNode: t.cadNode,
|
|
78
|
+
views: void 0
|
|
79
|
+
});
|
|
80
|
+
let r = await e.viewsPromise;
|
|
81
|
+
if (r === void 0 || r.length === 0) {
|
|
82
|
+
n({
|
|
83
|
+
fdmNodes: t.fdmIds,
|
|
84
|
+
cadNode: t.cadNode,
|
|
85
|
+
views: null
|
|
86
|
+
});
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
n({
|
|
90
|
+
fdmNodes: t.fdmIds,
|
|
91
|
+
cadNode: t.cadNode,
|
|
92
|
+
views: r
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
}, [e]), t;
|
|
96
|
+
};
|
|
97
|
+
function f(e, n) {
|
|
98
|
+
if (e !== void 0 && e.node !== void 0 && e.mappings.some(t)) {
|
|
99
|
+
let n = e.mappings.filter(t).map((e) => e.instanceId);
|
|
100
|
+
return {
|
|
101
|
+
cadNode: e.node,
|
|
102
|
+
fdmNodes: n
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
if (n != null) return n;
|
|
106
|
+
if (n !== void 0 && e !== void 0) return null;
|
|
107
|
+
}
|
|
108
|
+
function p(t) {
|
|
109
|
+
if (t !== void 0) return t.node === void 0 ? null : {
|
|
110
|
+
cadNode: t.node,
|
|
111
|
+
assetIds: t.mappings.filter(e).map((e) => e.assetId)
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
//#endregion
|
|
115
|
+
export { l as useClickedNodeData };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CogniteCadModel, CogniteModel, DataSourceType } from '@cognite/reveal';
|
|
2
|
+
import { HybridCadAssetMapping } from '../../data-providers/cache/cad/assetMappingTypes';
|
|
3
|
+
import { ModelWithAssetMappings } from './cad/modelWithAssetMappings';
|
|
4
|
+
export declare const useCreateAssetMappingsMapPerModel: (models: Array<CogniteModel<DataSourceType>>, assetMappings: ModelWithAssetMappings[] | undefined) => Map<CogniteCadModel, HybridCadAssetMapping[] | undefined>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { isDefined as e } from "../../utilities/isDefined.js";
|
|
2
|
+
import { useMemo as t } from "react";
|
|
3
|
+
import { CogniteCadModel as n } from "@cognite/reveal";
|
|
4
|
+
//#region libs/shared/reveal-components/src/ui/hooks/useCreateAssetMappingsMapPerModel.tsx
|
|
5
|
+
var r = (r, i) => t(() => {
|
|
6
|
+
let t = /* @__PURE__ */ new Map();
|
|
7
|
+
return r.forEach((r) => {
|
|
8
|
+
if (!(r instanceof n)) return;
|
|
9
|
+
let a = i?.filter((e) => e.model.modelId === r.modelId).map((e) => e.assetMappings).flat().filter(e) ?? [];
|
|
10
|
+
t.set(r, a);
|
|
11
|
+
}), t;
|
|
12
|
+
}, [i, r]);
|
|
13
|
+
//#endregion
|
|
14
|
+
export { r as useCreateAssetMappingsMapPerModel };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useGhostMode: () => boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useRenderTarget as e } from "../components/RevealCanvas/ViewerContext.js";
|
|
2
|
+
import "../components/RevealCanvas/index.js";
|
|
3
|
+
import { useNullableCommandProperty as t } from "../components/commandBased/hooks/useCommandProperty.js";
|
|
4
|
+
import { SetGhostModeCommand as n } from "../../domains/reveal/cad/commands/SetGhostModeCommand.js";
|
|
5
|
+
//#region libs/shared/reveal-components/src/ui/hooks/useGhostMode.tsx
|
|
6
|
+
var r = () => {
|
|
7
|
+
let r = e().commandsController.getCommandByTypeRecursive(n);
|
|
8
|
+
return t(r, () => r?.isChecked) ?? !1;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { r as useGhostMode };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Context } from 'react';
|
|
2
|
+
import { Texture } from 'three';
|
|
3
|
+
import { useSDK } from '../components/RevealCanvas/SDKProvider';
|
|
4
|
+
import { useRenderTarget } from '../components/RevealCanvas/ViewerContext';
|
|
5
|
+
import { initializeGroundPlane, GroundPlaneData } from './initializeGroundPlane';
|
|
6
|
+
import { useSceneConfig } from './scenes/useSceneConfig';
|
|
7
|
+
export type GroundPlaneFromSceneDependencies = {
|
|
8
|
+
useSceneConfig: typeof useSceneConfig;
|
|
9
|
+
useSDK: typeof useSDK;
|
|
10
|
+
useRenderTarget: typeof useRenderTarget;
|
|
11
|
+
loadTexture: (url: string) => Promise<Texture>;
|
|
12
|
+
initializeGroundPlane: typeof initializeGroundPlane;
|
|
13
|
+
logError: (message: string) => void;
|
|
14
|
+
};
|
|
15
|
+
export declare const defaultGroundPlaneFromSceneDependencies: GroundPlaneFromSceneDependencies;
|
|
16
|
+
export declare const GroundPlaneFromSceneContext: Context<GroundPlaneFromSceneDependencies>;
|
|
17
|
+
export type { GroundPlaneData };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useRenderTarget as e } from "../components/RevealCanvas/ViewerContext.js";
|
|
2
|
+
import { initializeGroundPlane as t } from "./initializeGroundPlane.js";
|
|
3
|
+
import { useSDK as n } from "../components/RevealCanvas/SDKProvider.js";
|
|
4
|
+
import { useSceneConfig as r } from "./scenes/useSceneConfig.js";
|
|
5
|
+
import { createContext as i } from "react";
|
|
6
|
+
import { TextureLoader as a } from "three";
|
|
7
|
+
//#region libs/shared/reveal-components/src/ui/hooks/useGroundPlaneFromScene.context.ts
|
|
8
|
+
async function o(e) {
|
|
9
|
+
return new a().loadAsync(e);
|
|
10
|
+
}
|
|
11
|
+
function s(e) {
|
|
12
|
+
console.error(e);
|
|
13
|
+
}
|
|
14
|
+
var c = {
|
|
15
|
+
useSceneConfig: r,
|
|
16
|
+
useSDK: n,
|
|
17
|
+
useRenderTarget: e,
|
|
18
|
+
loadTexture: o,
|
|
19
|
+
initializeGroundPlane: t,
|
|
20
|
+
logError: s
|
|
21
|
+
}, l = i(c);
|
|
22
|
+
//#endregion
|
|
23
|
+
export { l as GroundPlaneFromSceneContext, c as defaultGroundPlaneFromSceneDependencies };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useGroundPlaneFromScene(sceneExternalId: string, sceneSpaceId: string): void;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { GroundPlaneFromSceneContext as e } from "./useGroundPlaneFromScene.context.js";
|
|
2
|
+
import { useContext as t, useEffect as n } from "react";
|
|
3
|
+
import { useQuery as r } from "@tanstack/react-query";
|
|
4
|
+
import { Vector2 as i, Vector3 as a } from "three";
|
|
5
|
+
//#region libs/shared/reveal-components/src/ui/hooks/useGroundPlaneFromScene.tsx
|
|
6
|
+
function o(o, c) {
|
|
7
|
+
let { useSceneConfig: l, useSDK: u, useRenderTarget: d, loadTexture: f, initializeGroundPlane: p, logError: m } = t(e), h = l(o, c), g = d(), _ = u(), { data: v } = r({
|
|
8
|
+
queryKey: [
|
|
9
|
+
"reveal",
|
|
10
|
+
"react-components",
|
|
11
|
+
"groundplaneUrls",
|
|
12
|
+
h.data ?? "noSceneData"
|
|
13
|
+
],
|
|
14
|
+
queryFn: async () => {
|
|
15
|
+
if (h.data?.groundPlanes === void 0 || h.data.groundPlanes.length === 0) return [];
|
|
16
|
+
let e = await _.files.getDownloadUrls(h.data.groundPlanes.map((e) => ({ externalId: e.file })));
|
|
17
|
+
return await Promise.all(e.map(async (e) => {
|
|
18
|
+
try {
|
|
19
|
+
return await f(e.downloadUrl);
|
|
20
|
+
} catch {
|
|
21
|
+
m("Failed to load groundplane texture");
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
}));
|
|
25
|
+
},
|
|
26
|
+
staleTime: Infinity
|
|
27
|
+
});
|
|
28
|
+
n(() => {
|
|
29
|
+
let e = [];
|
|
30
|
+
if (h.data === void 0 || v === void 0 || v.length === 0) return () => {
|
|
31
|
+
for (let t of e) t();
|
|
32
|
+
};
|
|
33
|
+
let t = s(h.data.sceneConfiguration.updatedAt);
|
|
34
|
+
return h.data.groundPlanes.forEach((n, r) => {
|
|
35
|
+
let o = v[r];
|
|
36
|
+
if (o === void 0) return;
|
|
37
|
+
let s = {
|
|
38
|
+
texture: o,
|
|
39
|
+
wrapping: n.wrapping,
|
|
40
|
+
repeatUV: new i(n.repeatU, n.repeatV),
|
|
41
|
+
scaleXY: new i(n.scaleX, t ? n.scaleZ : n.scaleY),
|
|
42
|
+
translation: new a(n.translationX, n.translationY, n.translationZ),
|
|
43
|
+
rotation: new a(n.eulerRotationX, n.eulerRotationY, n.eulerRotationZ)
|
|
44
|
+
}, [, c] = p(s, g);
|
|
45
|
+
e.push(c);
|
|
46
|
+
}), () => {
|
|
47
|
+
for (let t of e) t();
|
|
48
|
+
};
|
|
49
|
+
}, [
|
|
50
|
+
v,
|
|
51
|
+
h.data,
|
|
52
|
+
g,
|
|
53
|
+
p
|
|
54
|
+
]);
|
|
55
|
+
}
|
|
56
|
+
function s(e) {
|
|
57
|
+
return e !== void 0 && new Date(e) > /* @__PURE__ */ new Date("2024-08-01T10:44:00.000Z");
|
|
58
|
+
}
|
|
59
|
+
//#endregion
|
|
60
|
+
export { o as useGroundPlaneFromScene };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Context } from 'react';
|
|
2
|
+
import { useImage360AnnotationCache } from '../../data-providers/cache/CacheProvider';
|
|
3
|
+
export type Image360AnnotationMappingsDependencies = {
|
|
4
|
+
useImage360AnnotationCache: typeof useImage360AnnotationCache;
|
|
5
|
+
};
|
|
6
|
+
export declare const defaultImage360AnnotationMappingsDependencies: Image360AnnotationMappingsDependencies;
|
|
7
|
+
export declare const Image360AnnotationMappingsContext: Context<Image360AnnotationMappingsDependencies>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { useImage360AnnotationCache as e } from "../../data-providers/cache/CacheProvider.js";
|
|
2
|
+
import { createContext as t } from "react";
|
|
3
|
+
//#region libs/shared/reveal-components/src/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.context.ts
|
|
4
|
+
var n = { useImage360AnnotationCache: e }, r = t(n);
|
|
5
|
+
//#endregion
|
|
6
|
+
export { r as Image360AnnotationMappingsContext, n as defaultImage360AnnotationMappingsDependencies };
|