@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,167 @@
|
|
|
1
|
+
import { mergeQueryResults as e } from "./utils/mergeQueryResult.js";
|
|
2
|
+
import { queryNodesAndEdges as t } from "./utils/queryNodesAndEdges.js";
|
|
3
|
+
//#region libs/shared/reveal-components/src/data-providers/FdmSDK.ts
|
|
4
|
+
var n = class {
|
|
5
|
+
_sdk;
|
|
6
|
+
_featureDataLoadPerformanceMetrics;
|
|
7
|
+
_byIdsEndpoint;
|
|
8
|
+
_listEndpoint;
|
|
9
|
+
_inspectEndpoint;
|
|
10
|
+
_searchEndpoint;
|
|
11
|
+
_listViewsEndpoint;
|
|
12
|
+
_viewsByIdEndpoint;
|
|
13
|
+
_listDataModelsEndpoint;
|
|
14
|
+
_createUpdateInstancesEndpoint;
|
|
15
|
+
_deleteInstancesEndpoint;
|
|
16
|
+
constructor(e, t) {
|
|
17
|
+
let n = e.getBaseUrl(), r = e.project, i = `${n}/api/v1/projects/${r}/models/instances`, a = `${n}/api/v1/projects/${r}/models/views`;
|
|
18
|
+
this._listEndpoint = `${i}/list`, this._byIdsEndpoint = `${i}/byids`, this._inspectEndpoint = `${i}/inspect`, this._searchEndpoint = `${i}/search`, this._listDataModelsEndpoint = `${n}/api/v1/projects/${r}/models/datamodels`, this._viewsByIdEndpoint = `${a}/byids`, this._listViewsEndpoint = a, this._createUpdateInstancesEndpoint = i, this._deleteInstancesEndpoint = `${i}/delete`, this._sdk = e, this._featureDataLoadPerformanceMetrics = t?.featureDataLoadPerformanceMetrics;
|
|
19
|
+
}
|
|
20
|
+
async listViews(e, t = !0) {
|
|
21
|
+
let n = await this._sdk.get(this._listViewsEndpoint, { params: {
|
|
22
|
+
includeInheritedProperties: t,
|
|
23
|
+
space: e
|
|
24
|
+
} });
|
|
25
|
+
if (n.status === 200) return { views: n.data.items };
|
|
26
|
+
throw Error(`Failed to list views. Status: ${n.status}`);
|
|
27
|
+
}
|
|
28
|
+
async searchInstances(e, t, n) {
|
|
29
|
+
let i = a(n.filter), o = {
|
|
30
|
+
view: e,
|
|
31
|
+
query: n.query ?? "",
|
|
32
|
+
instanceType: t,
|
|
33
|
+
...n.filter === void 0 ? {} : { filter: i },
|
|
34
|
+
...n.operator === void 0 ? {} : { operator: n.operator },
|
|
35
|
+
limit: n.limit ?? 1e3
|
|
36
|
+
}, s = await this._sdk.post(this._searchEndpoint, { data: o });
|
|
37
|
+
if (s.status === 200) return r(e, s.data.items), { instances: s.data.items };
|
|
38
|
+
throw Error(`Failed to search for instances. Status: ${s.status}`);
|
|
39
|
+
}
|
|
40
|
+
async filterInstances(e, t, n, i) {
|
|
41
|
+
let a = {
|
|
42
|
+
filter: e,
|
|
43
|
+
instanceType: t
|
|
44
|
+
};
|
|
45
|
+
n !== null && (a.sources = [{ source: n }]), i !== void 0 && (a.cursor = i);
|
|
46
|
+
let o = await this._sdk.post(this._listEndpoint, { data: a });
|
|
47
|
+
if (o.status !== 200) throw Error(`Failed to fetch instances. Status: ${o.status}`);
|
|
48
|
+
let s = o.data.items;
|
|
49
|
+
return r(n, s), {
|
|
50
|
+
instances: o.data.items,
|
|
51
|
+
nextCursor: o.data.nextCursor
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
async filterAllInstances(e, t, n) {
|
|
55
|
+
e = a(e);
|
|
56
|
+
let r = await this.filterInstances(e, t, n);
|
|
57
|
+
for (; r.nextCursor !== void 0;) {
|
|
58
|
+
let i = await this.filterInstances(e, t, n, r.nextCursor);
|
|
59
|
+
r = {
|
|
60
|
+
instances: [...r.instances, ...i.instances],
|
|
61
|
+
nextCursor: i.nextCursor
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
return { instances: r.instances };
|
|
65
|
+
}
|
|
66
|
+
async getByExternalIds(e, t) {
|
|
67
|
+
if (e.length === 0) return { items: [] };
|
|
68
|
+
let n = {
|
|
69
|
+
items: e,
|
|
70
|
+
includeTyping: !0
|
|
71
|
+
};
|
|
72
|
+
t !== void 0 && (n.sources = t.map((e) => ({ source: e })));
|
|
73
|
+
let r = await this._sdk.post(this._byIdsEndpoint, { data: n });
|
|
74
|
+
if (r.status === 200) return r.data;
|
|
75
|
+
throw Error(`Failed to fetch instances. Status: ${r.status}`);
|
|
76
|
+
}
|
|
77
|
+
async createInstance(e) {
|
|
78
|
+
let t = {
|
|
79
|
+
items: e,
|
|
80
|
+
autoCreateStartNodes: !1,
|
|
81
|
+
autoCreateEndNodes: !1,
|
|
82
|
+
skipOnVersionConflict: !1,
|
|
83
|
+
replace: !1
|
|
84
|
+
}, n = await this._sdk.post(this._createUpdateInstancesEndpoint, { data: t });
|
|
85
|
+
if (n.status === 200) return n.data;
|
|
86
|
+
throw Error(`Failed to create instances. Status: ${n.status}`);
|
|
87
|
+
}
|
|
88
|
+
async editInstance(e) {
|
|
89
|
+
let t = {
|
|
90
|
+
items: e,
|
|
91
|
+
autoCreateStartNodes: !1,
|
|
92
|
+
autoCreateEndNodes: !1,
|
|
93
|
+
skipOnVersionConflict: !1,
|
|
94
|
+
replace: !1
|
|
95
|
+
}, n = await this._sdk.post(this._createUpdateInstancesEndpoint, { data: t });
|
|
96
|
+
if (n.status === 200) return n.data;
|
|
97
|
+
throw Error(`Failed to edit instances. Status: ${n.status}`);
|
|
98
|
+
}
|
|
99
|
+
async deleteInstances(e) {
|
|
100
|
+
if (e.length === 0) return { items: [] };
|
|
101
|
+
let t = { items: e }, n = await this._sdk.post(this._deleteInstancesEndpoint, { data: t });
|
|
102
|
+
if (n.status === 200) return n.data;
|
|
103
|
+
throw Error(`Failed to delete instances. Status: ${n.status}`);
|
|
104
|
+
}
|
|
105
|
+
async inspectInstances(e) {
|
|
106
|
+
let t = await this._sdk.post(this._inspectEndpoint, { data: e });
|
|
107
|
+
if (t.status === 200) return t.data;
|
|
108
|
+
throw Error("Failed to fetch instances");
|
|
109
|
+
}
|
|
110
|
+
async getViewsByIds(e) {
|
|
111
|
+
let t = await this._sdk.post(this._viewsByIdEndpoint, { data: { items: e.map((e) => ({
|
|
112
|
+
externalId: e.externalId,
|
|
113
|
+
space: e.space,
|
|
114
|
+
version: e.version
|
|
115
|
+
})) } });
|
|
116
|
+
if (t.status === 200) return t.data;
|
|
117
|
+
throw Error(`Failed to fetch instances. Status: ${t.status}`);
|
|
118
|
+
}
|
|
119
|
+
async queryAllNodesAndEdges(n, r) {
|
|
120
|
+
let i = await t(n, this._sdk), a = i.items;
|
|
121
|
+
for (; i.nextCursor !== void 0 && Object.keys(i.nextCursor).length !== 0;) {
|
|
122
|
+
let o = i.nextCursor === void 0 ? [] : Object.keys(i.nextCursor), s = {}, c = i.nextCursor;
|
|
123
|
+
o.forEach((e) => {
|
|
124
|
+
r !== void 0 && r.includes(e) && i.nextCursor?.[e] !== void 0 && (s = {
|
|
125
|
+
...s,
|
|
126
|
+
[e]: i.nextCursor?.[e]
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
let l = Object.keys(s).length === 0 ? c : s, u = {
|
|
130
|
+
...n,
|
|
131
|
+
cursors: l
|
|
132
|
+
};
|
|
133
|
+
i = await t(u, this._sdk), a = e(a, i.items);
|
|
134
|
+
}
|
|
135
|
+
return { items: a };
|
|
136
|
+
}
|
|
137
|
+
async queryNodesAndEdges(e, n) {
|
|
138
|
+
return await t(e, this._sdk, i(this._featureDataLoadPerformanceMetrics, n?.metricsFeatureName));
|
|
139
|
+
}
|
|
140
|
+
async listDataModels() {
|
|
141
|
+
let e = await this._sdk.get(this._listDataModelsEndpoint, { params: {
|
|
142
|
+
limit: 1e3,
|
|
143
|
+
includeGlobal: !0
|
|
144
|
+
} });
|
|
145
|
+
if (e.status === 200) return e.data;
|
|
146
|
+
throw Error(`Failed to fetch data models. Status: ${e.status}`);
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
function r(e, t) {
|
|
150
|
+
if (e === void 0) return;
|
|
151
|
+
let n = `${e.externalId}/${e.version}`;
|
|
152
|
+
t.forEach((t) => {
|
|
153
|
+
let r = t.properties?.[e.space]?.[n];
|
|
154
|
+
r !== void 0 && Object.entries(r).reduce((e, [t, n]) => (e[t] = n, e), t.properties);
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
function i(e, t) {
|
|
158
|
+
if (e !== void 0 && t !== void 0) return { metrics: {
|
|
159
|
+
tracker: e,
|
|
160
|
+
featureName: t
|
|
161
|
+
} };
|
|
162
|
+
}
|
|
163
|
+
function a(e) {
|
|
164
|
+
return e !== void 0 && Object.keys(e).length === 0 ? void 0 : e;
|
|
165
|
+
}
|
|
166
|
+
//#endregion
|
|
167
|
+
export { n as FdmSDK, a as makeSureNonEmptyFilterForRequest };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Fdm3dDataProvider } from '../Fdm3dDataProvider';
|
|
2
|
+
import { CadInstanceMappingsCache } from './cad/CadInstanceMappingsCache';
|
|
3
|
+
import { ClassicCadAssetMappingCache } from './cad/ClassicCadAssetMappingCache';
|
|
4
|
+
import { FdmCadNodeCache } from './cad/FdmCadNodeCache';
|
|
5
|
+
import { Image360AnnotationCache } from './Image360AnnotationCache';
|
|
6
|
+
import { PointCloudAnnotationCache } from './PointCloudAnnotationCache';
|
|
7
|
+
export declare const useCadMappingsCache: () => CadInstanceMappingsCache;
|
|
8
|
+
export declare const useFdmCadNodeCache: () => FdmCadNodeCache | undefined;
|
|
9
|
+
export declare const useClassicCadAssetMappingCache: () => ClassicCadAssetMappingCache;
|
|
10
|
+
export declare const usePointCloudAnnotationCache: () => PointCloudAnnotationCache;
|
|
11
|
+
export declare const useImage360AnnotationCache: () => Image360AnnotationCache;
|
|
12
|
+
export declare const useFdm3dDataProvider: () => Fdm3dDataProvider | undefined;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { useRenderTarget as e } from "../../ui/components/RevealCanvas/ViewerContext.js";
|
|
2
|
+
import "../../ui/components/RevealCanvas/index.js";
|
|
3
|
+
//#region libs/shared/reveal-components/src/data-providers/cache/CacheProvider.ts
|
|
4
|
+
var t = () => e().cdfCaches, n = () => t().cadMappingsCache, r = () => t().fdmCadNodeCache, i = () => t().classicCadAssetMappingCache, a = () => t().pointCloudAnnotationCache, o = () => t().image360Cache, s = () => t().fdm3dDataProvider;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { n as useCadMappingsCache, i as useClassicCadAssetMappingCache, s as useFdm3dDataProvider, r as useFdmCadNodeCache, o as useImage360AnnotationCache, a as usePointCloudAnnotationCache };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DataSourceType, Cognite3DViewer } from '@cognite/reveal';
|
|
2
|
+
import { CogniteClient } from '@cognite/sdk';
|
|
3
|
+
import { InstanceReference } from '../../utilities/instanceIds';
|
|
4
|
+
import { Image360AnnotationAssetInfo } from './types';
|
|
5
|
+
export declare class Image360AnnotationCache {
|
|
6
|
+
private readonly _sdk;
|
|
7
|
+
private readonly _viewer;
|
|
8
|
+
private readonly _annotationToAssetMappingsWithAssetInstance;
|
|
9
|
+
constructor(sdk: CogniteClient, viewer: Cognite3DViewer<DataSourceType> | undefined);
|
|
10
|
+
clearCache(): void;
|
|
11
|
+
getReveal360AnnotationsForAssets(image360CollectionKeys: string[], assetInstances: InstanceReference[]): Promise<Image360AnnotationAssetInfo[]>;
|
|
12
|
+
private getReveal360AnnotationInfoForAssets;
|
|
13
|
+
private getAssetWithAnnotationsMapped;
|
|
14
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { isDmsInstance as e, isExternalId as t, isInternalId as n } from "../../utilities/instanceIds/typeGuards.js";
|
|
2
|
+
import { createInstanceReferenceKey as r } from "../../utilities/instanceIds/toKey.js";
|
|
3
|
+
import "../../utilities/instanceIds/index.js";
|
|
4
|
+
import { getImage360AnnotationAssetRef as i } from "../../utilities/image360Annotations/getImage360AnnotationAssetRef.js";
|
|
5
|
+
import "../../utilities/image360Annotations/index.js";
|
|
6
|
+
import { isDefined as a } from "../../utilities/isDefined.js";
|
|
7
|
+
import { getAssetIdKeyForImage360Annotation as o } from "./utils.js";
|
|
8
|
+
import { fetchAssetsForAssetReferences as s } from "./annotationModelUtils.js";
|
|
9
|
+
import { chunk as c, uniqBy as l } from "lodash-es";
|
|
10
|
+
//#region libs/shared/reveal-components/src/data-providers/cache/Image360AnnotationCache.ts
|
|
11
|
+
var u = 20, d = class {
|
|
12
|
+
_sdk;
|
|
13
|
+
_viewer;
|
|
14
|
+
_annotationToAssetMappingsWithAssetInstance = /* @__PURE__ */ new Map();
|
|
15
|
+
constructor(e, t) {
|
|
16
|
+
this._sdk = e, this._viewer = t;
|
|
17
|
+
}
|
|
18
|
+
clearCache() {
|
|
19
|
+
this._annotationToAssetMappingsWithAssetInstance.clear();
|
|
20
|
+
}
|
|
21
|
+
async getReveal360AnnotationsForAssets(e, t) {
|
|
22
|
+
if (this._viewer === void 0 || e.length === 0 || t.length === 0) return [];
|
|
23
|
+
let n = this._viewer.get360ImageCollections().filter((t) => e.includes(t.id)), i = t.map((e) => String(r(e))).sort().join().concat(n.map((e) => e.id).join()), a = this._annotationToAssetMappingsWithAssetInstance.get(i);
|
|
24
|
+
if (a !== void 0) return a;
|
|
25
|
+
let o = this.getReveal360AnnotationInfoForAssets(t, n);
|
|
26
|
+
return this._annotationToAssetMappingsWithAssetInstance.set(i, o), o;
|
|
27
|
+
}
|
|
28
|
+
async getReveal360AnnotationInfoForAssets(e, t) {
|
|
29
|
+
let n = c(e, u), a = c(t, 5), o = [];
|
|
30
|
+
for (let e of n) for (let t of a) {
|
|
31
|
+
let n = await Promise.all(e.map(async (e) => (await Promise.all(t.map(async (t) => {
|
|
32
|
+
let n = f(e);
|
|
33
|
+
return n === void 0 ? [] : await t.findImageAnnotations({ assetRef: n });
|
|
34
|
+
}))).flat()));
|
|
35
|
+
o.push(...n.flat());
|
|
36
|
+
}
|
|
37
|
+
let d = o.reduce((e, t) => {
|
|
38
|
+
let n = i(t.annotation.annotation);
|
|
39
|
+
return n !== void 0 && e.push(n), e;
|
|
40
|
+
}, []), p = l(d, r), m = await s(p, this._sdk), h = new Map(m.map((e) => [r(e), e]));
|
|
41
|
+
return this.getAssetWithAnnotationsMapped(o, h);
|
|
42
|
+
}
|
|
43
|
+
getAssetWithAnnotationsMapped(e, t) {
|
|
44
|
+
return e.filter((e) => {
|
|
45
|
+
let n = o(e.annotation.annotation);
|
|
46
|
+
return n !== void 0 && t.has(n);
|
|
47
|
+
}).map((e) => p(e, t)).filter(a);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
function f(r) {
|
|
51
|
+
if (n(r)) return { id: r.id };
|
|
52
|
+
if (e(r)) return {
|
|
53
|
+
externalId: r.externalId,
|
|
54
|
+
space: r.space
|
|
55
|
+
};
|
|
56
|
+
if (t(r)) return { externalId: r.externalId };
|
|
57
|
+
}
|
|
58
|
+
function p(e, t) {
|
|
59
|
+
let n = o(e.annotation.annotation);
|
|
60
|
+
if (n === void 0) return;
|
|
61
|
+
let r = t.get(n);
|
|
62
|
+
if (r !== void 0) return {
|
|
63
|
+
asset: r,
|
|
64
|
+
assetAnnotationImage360Info: e,
|
|
65
|
+
position: e.annotation.getCenter().applyMatrix4(e.image.transform)
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
//#endregion
|
|
69
|
+
export { d as Image360AnnotationCache };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CogniteClient } from '@cognite/sdk';
|
|
2
|
+
import { InstanceReference, InstanceReferenceKey } from '../../utilities/instanceIds';
|
|
3
|
+
import { AssetInstance } from '../../utilities/instances';
|
|
4
|
+
import { fetchPointCloudAnnotationAssets } from './annotationModelUtils';
|
|
5
|
+
import { ModelId, RevisionId, PointCloudAnnotationModel, AnnotationId } from './types';
|
|
6
|
+
type PointCloudAnnotationCacheDependencies = {
|
|
7
|
+
fetchAnnotationAssets: typeof fetchPointCloudAnnotationAssets;
|
|
8
|
+
};
|
|
9
|
+
export declare class PointCloudAnnotationCache {
|
|
10
|
+
private readonly _sdk;
|
|
11
|
+
private readonly _modelToAnnotationAssetMappings;
|
|
12
|
+
private readonly _modelToAnnotationMappings;
|
|
13
|
+
private readonly _assetKeyToAnnotationIdsCache;
|
|
14
|
+
private readonly fetchAnnotationAssets;
|
|
15
|
+
constructor(sdk: CogniteClient, dependencies?: PointCloudAnnotationCacheDependencies);
|
|
16
|
+
private getPointCloudAnnotationAssetsForModel;
|
|
17
|
+
private fetchAndCacheAssetMappingsForModel;
|
|
18
|
+
private fetchAnnotationForModel;
|
|
19
|
+
private getOrBuildAssetKeyToAnnotationIdsCache;
|
|
20
|
+
getPointCloudAnnotationsForModel(modelId: ModelId, revisionId: RevisionId): Promise<PointCloudAnnotationModel[]>;
|
|
21
|
+
matchPointCloudAnnotationsForModel(modelId: ModelId, revisionId: RevisionId, assetId: InstanceReference): Promise<Map<AnnotationId, AssetInstance[]> | undefined>;
|
|
22
|
+
getPointCloudAnnotationsForInstanceIds(modelId: ModelId, revisionId: RevisionId, instanceIds: InstanceReference[]): Promise<Map<InstanceReferenceKey, AnnotationId[]>>;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { isSameAssetReference as e } from "../../utilities/instanceIds/equality.js";
|
|
2
|
+
import { createModelRevisionKey as t } from "./idAndKeyTranslation.js";
|
|
3
|
+
import { createInstanceReferenceKey as n } from "../../utilities/instanceIds/toKey.js";
|
|
4
|
+
import "../../utilities/instanceIds/index.js";
|
|
5
|
+
import { getInstanceReferencesFromPointCloudAnnotation as r } from "./utils.js";
|
|
6
|
+
import { fetchPointCloudAnnotationAssets as i } from "./annotationModelUtils.js";
|
|
7
|
+
import { isClassicAsset as a } from "../../utilities/instances/typeGuards.js";
|
|
8
|
+
import "../../utilities/instances/index.js";
|
|
9
|
+
import { assert as o } from "@cognite/underscore";
|
|
10
|
+
//#region libs/shared/reveal-components/src/data-providers/cache/PointCloudAnnotationCache.ts
|
|
11
|
+
var s = class {
|
|
12
|
+
_sdk;
|
|
13
|
+
_modelToAnnotationAssetMappings = /* @__PURE__ */ new Map();
|
|
14
|
+
_modelToAnnotationMappings = /* @__PURE__ */ new Map();
|
|
15
|
+
_assetKeyToAnnotationIdsCache = /* @__PURE__ */ new Map();
|
|
16
|
+
fetchAnnotationAssets;
|
|
17
|
+
constructor(e, t) {
|
|
18
|
+
this._sdk = e;
|
|
19
|
+
let { fetchAnnotationAssets: n } = t ?? { fetchAnnotationAssets: i };
|
|
20
|
+
this.fetchAnnotationAssets = n;
|
|
21
|
+
}
|
|
22
|
+
async getPointCloudAnnotationAssetsForModel(e, n) {
|
|
23
|
+
let r = t(e, n), i = this._modelToAnnotationAssetMappings.get(r);
|
|
24
|
+
if (i !== void 0) return await i;
|
|
25
|
+
let a = this.fetchAndCacheAssetMappingsForModel(e);
|
|
26
|
+
return this._modelToAnnotationAssetMappings.set(r, a), await a;
|
|
27
|
+
}
|
|
28
|
+
async fetchAndCacheAssetMappingsForModel(e) {
|
|
29
|
+
let t = await this.fetchAnnotationForModel(e);
|
|
30
|
+
return await this.fetchAnnotationAssets(t, this._sdk);
|
|
31
|
+
}
|
|
32
|
+
async fetchAnnotationForModel(e) {
|
|
33
|
+
let t = {
|
|
34
|
+
annotatedResourceIds: [{ id: e }],
|
|
35
|
+
annotatedResourceType: "threedmodel",
|
|
36
|
+
annotationType: "pointcloud.BoundingVolume"
|
|
37
|
+
}, n = await this._sdk.annotations.list({
|
|
38
|
+
filter: t,
|
|
39
|
+
limit: 1e3
|
|
40
|
+
}).autoPagingToArray({ limit: Infinity });
|
|
41
|
+
return o(n.every((e) => e.annotationType === "pointcloud.BoundingVolume")), n.filter((e) => r(e).length !== 0);
|
|
42
|
+
}
|
|
43
|
+
async getOrBuildAssetKeyToAnnotationIdsCache(e, n) {
|
|
44
|
+
let r = t(e, n), i = this._assetKeyToAnnotationIdsCache.get(r);
|
|
45
|
+
if (i !== void 0) return i;
|
|
46
|
+
let a = c(await this.getPointCloudAnnotationAssetsForModel(e, n));
|
|
47
|
+
return this._assetKeyToAnnotationIdsCache.set(r, a), a;
|
|
48
|
+
}
|
|
49
|
+
async getPointCloudAnnotationsForModel(e, n) {
|
|
50
|
+
let r = t(e, n), i = this._modelToAnnotationMappings.get(r);
|
|
51
|
+
if (i !== void 0) return i;
|
|
52
|
+
let a = await this.fetchAnnotationForModel(e);
|
|
53
|
+
return this._modelToAnnotationMappings.set(r, a), a;
|
|
54
|
+
}
|
|
55
|
+
async matchPointCloudAnnotationsForModel(t, n, r) {
|
|
56
|
+
let i = await this.getPointCloudAnnotationAssetsForModel(t, n), a = Array.from(i.entries()).filter(([, t]) => t.some((t) => e(t, r)));
|
|
57
|
+
return a.length > 0 ? new Map(a) : void 0;
|
|
58
|
+
}
|
|
59
|
+
async getPointCloudAnnotationsForInstanceIds(e, t, r) {
|
|
60
|
+
let i = await this.getOrBuildAssetKeyToAnnotationIdsCache(e, t), a = /* @__PURE__ */ new Map();
|
|
61
|
+
for (let e of r) {
|
|
62
|
+
let t = n(e), r = i.get(t);
|
|
63
|
+
r !== void 0 && a.set(t, Array.from(r));
|
|
64
|
+
}
|
|
65
|
+
return a;
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
function c(e) {
|
|
69
|
+
let t = /* @__PURE__ */ new Map();
|
|
70
|
+
for (let [r, i] of e.entries()) for (let e of i) {
|
|
71
|
+
let i = [];
|
|
72
|
+
a(e) ? (i.push(n({ id: e.id })), e.externalId !== void 0 && i.push(n({ externalId: e.externalId }))) : i.push(n(e));
|
|
73
|
+
for (let e of i) {
|
|
74
|
+
let n = t.get(e);
|
|
75
|
+
n === void 0 && (n = /* @__PURE__ */ new Set(), t.set(e, n)), n.add(r);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return t;
|
|
79
|
+
}
|
|
80
|
+
//#endregion
|
|
81
|
+
export { s as PointCloudAnnotationCache };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CogniteClient } from '@cognite/sdk';
|
|
2
|
+
import { Fdm3dDataProvider } from '../Fdm3dDataProvider';
|
|
3
|
+
import { FdmSDK } from '../FdmSDK';
|
|
4
|
+
import { TreeIndex, FdmConnectionWithNode, FdmNodeDataPromises } from './types';
|
|
5
|
+
export declare class RevisionFdmNodeCache {
|
|
6
|
+
private readonly _cogniteClient;
|
|
7
|
+
private readonly _fdmClient;
|
|
8
|
+
private readonly _fdm3dDataProvider;
|
|
9
|
+
private readonly _modelId;
|
|
10
|
+
private readonly _revisionId;
|
|
11
|
+
private readonly _treeIndexToFdmConnections;
|
|
12
|
+
private readonly _modelInstances;
|
|
13
|
+
constructor(cogniteClient: CogniteClient, fdmClient: FdmSDK, fdmDataProvider: Fdm3dDataProvider, modelId: number, revisionId: number);
|
|
14
|
+
getClosestParentFdmData(searchTreeIndex: number): FdmNodeDataPromises;
|
|
15
|
+
private assertOrFetchViewsForNodeData;
|
|
16
|
+
private findAndCacheNodeDataFromAncestors;
|
|
17
|
+
private getViewsPromiseFromDataPromises;
|
|
18
|
+
private getCadAndConnectionsPromiseForAncestorData;
|
|
19
|
+
private setCacheDataForTreeIndices;
|
|
20
|
+
private getAndCacheViewsPromiseForNodeData;
|
|
21
|
+
private getClosestParentMapping;
|
|
22
|
+
private combineConnectionsWithTreeIndex;
|
|
23
|
+
private getMappingConnectionsForAncestors;
|
|
24
|
+
fetchViewsForAllConnections(): Promise<void>;
|
|
25
|
+
insertTreeIndexMappings(treeIndex: TreeIndex, connection: FdmConnectionWithNode): void;
|
|
26
|
+
getAllConnections(): FdmConnectionWithNode[];
|
|
27
|
+
}
|
|
28
|
+
export declare function checkDefinedViews(connections?: FdmConnectionWithNode[]): connections is Array<Required<FdmConnectionWithNode>>;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { fetchAncestorNodesForTreeIndex as e, inspectNodes as t } from "./requests.js";
|
|
2
|
+
import { max as n } from "lodash-es";
|
|
3
|
+
import { assert as r } from "@cognite/underscore";
|
|
4
|
+
//#region libs/shared/reveal-components/src/data-providers/cache/RevisionFdmNodeCache.ts
|
|
5
|
+
var i = {
|
|
6
|
+
connections: [],
|
|
7
|
+
ancestorsWithSameMapping: [],
|
|
8
|
+
firstMappedAncestorTreeIndex: -1
|
|
9
|
+
}, a = class {
|
|
10
|
+
_cogniteClient;
|
|
11
|
+
_fdmClient;
|
|
12
|
+
_fdm3dDataProvider;
|
|
13
|
+
_modelId;
|
|
14
|
+
_revisionId;
|
|
15
|
+
_treeIndexToFdmConnections = /* @__PURE__ */ new Map();
|
|
16
|
+
_modelInstances;
|
|
17
|
+
constructor(e, t, n, r, i) {
|
|
18
|
+
this._cogniteClient = e, this._fdmClient = t, this._fdm3dDataProvider = n, this._modelId = r, this._revisionId = i, this._modelInstances = n.getDMSModels(this._modelId).catch(() => void 0);
|
|
19
|
+
}
|
|
20
|
+
getClosestParentFdmData(e) {
|
|
21
|
+
let t = this._treeIndexToFdmConnections.get(e);
|
|
22
|
+
return t === void 0 ? this.findAndCacheNodeDataFromAncestors(e) : t.length === 0 ? {
|
|
23
|
+
cadAndFdmNodesPromise: Promise.resolve(void 0),
|
|
24
|
+
viewsPromise: Promise.resolve(void 0)
|
|
25
|
+
} : {
|
|
26
|
+
cadAndFdmNodesPromise: Promise.resolve({
|
|
27
|
+
cadNode: t[0].cadNode,
|
|
28
|
+
fdmIds: t.map((e) => e.connection.instance)
|
|
29
|
+
}),
|
|
30
|
+
viewsPromise: this.assertOrFetchViewsForNodeData(e, t)
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
async assertOrFetchViewsForNodeData(e, t) {
|
|
34
|
+
if (c(t)) return t.map((e) => e.views);
|
|
35
|
+
let n = t[0].cadNode, r = {
|
|
36
|
+
cadNode: n,
|
|
37
|
+
connections: t.map((e) => e.connection)
|
|
38
|
+
};
|
|
39
|
+
return await this.getAndCacheViewsPromiseForNodeData(r, [n.treeIndex, e]);
|
|
40
|
+
}
|
|
41
|
+
findAndCacheNodeDataFromAncestors(e) {
|
|
42
|
+
let t = this.getClosestParentMapping(e), n = this.getCadAndConnectionsPromiseForAncestorData(t);
|
|
43
|
+
return {
|
|
44
|
+
cadAndFdmNodesPromise: n.then((e) => e === void 0 ? void 0 : {
|
|
45
|
+
cadNode: e.cadNode,
|
|
46
|
+
fdmIds: e.connections.map((e) => e.instance)
|
|
47
|
+
}),
|
|
48
|
+
viewsPromise: this.getViewsPromiseFromDataPromises(n, t)
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
async getViewsPromiseFromDataPromises(e, t) {
|
|
52
|
+
let n = await e, { ancestorsWithSameMapping: r } = await t, i = r.map((e) => e.treeIndex), a = i.filter((e) => this._treeIndexToFdmConnections.has(e)).sort((e, t) => t - e), o = a.length === 0 ? void 0 : this._treeIndexToFdmConnections.get(a[0]);
|
|
53
|
+
return c(o) ? (this.setCacheDataForTreeIndices(i, o), o.map((e) => e.views)) : await this.getAndCacheViewsPromiseForNodeData(n, i);
|
|
54
|
+
}
|
|
55
|
+
async getCadAndConnectionsPromiseForAncestorData(e) {
|
|
56
|
+
let { connections: t, ancestorsWithSameMapping: n, firstMappedAncestorTreeIndex: i } = await e;
|
|
57
|
+
if (t.length === 0) {
|
|
58
|
+
this.setCacheDataForTreeIndices(n.map((e) => e.treeIndex), []);
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
let a = n.find((e) => e.treeIndex === i);
|
|
62
|
+
return r(a !== void 0), {
|
|
63
|
+
cadNode: a,
|
|
64
|
+
connections: t
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
setCacheDataForTreeIndices(e, t) {
|
|
68
|
+
e.forEach((e) => {
|
|
69
|
+
this._treeIndexToFdmConnections.set(e, t);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
async getAndCacheViewsPromiseForNodeData(e, n) {
|
|
73
|
+
if (e === void 0) {
|
|
74
|
+
this.setCacheDataForTreeIndices(n, []);
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
let r = (await t(this._fdmClient, e.connections.map((e) => e.instance))).items.map((e) => e.inspectionResults.involvedViews), i = e.connections.map((t, n) => ({
|
|
78
|
+
connection: t,
|
|
79
|
+
cadNode: e.cadNode,
|
|
80
|
+
view: r[n]
|
|
81
|
+
}));
|
|
82
|
+
return this.setCacheDataForTreeIndices(n, i), r;
|
|
83
|
+
}
|
|
84
|
+
async getClosestParentMapping(t) {
|
|
85
|
+
let n = await e(this._modelId, this._revisionId, t, this._cogniteClient), r = await this.getMappingConnectionsForAncestors(n);
|
|
86
|
+
if (r.length === 0) return i;
|
|
87
|
+
let a = this.combineConnectionsWithTreeIndex(r, n), c = o(a);
|
|
88
|
+
return c === void 0 ? i : s(c, a, n);
|
|
89
|
+
}
|
|
90
|
+
combineConnectionsWithTreeIndex(e, t) {
|
|
91
|
+
return e.reduce((e, n) => {
|
|
92
|
+
let r = t.find((e) => e.treeIndex === n.treeIndex);
|
|
93
|
+
return r !== void 0 && e.push({
|
|
94
|
+
connection: n,
|
|
95
|
+
treeIndex: r.treeIndex
|
|
96
|
+
}), e;
|
|
97
|
+
}, []);
|
|
98
|
+
}
|
|
99
|
+
async getMappingConnectionsForAncestors(e) {
|
|
100
|
+
let t = e.filter((e) => this._treeIndexToFdmConnections.has(e.treeIndex)).sort((e, t) => t.treeIndex - e.treeIndex)[0];
|
|
101
|
+
if (t !== void 0) {
|
|
102
|
+
let e = this._treeIndexToFdmConnections.get(t.treeIndex);
|
|
103
|
+
return r(e !== void 0), e.map((e) => e.connection);
|
|
104
|
+
}
|
|
105
|
+
let n = await this._modelInstances;
|
|
106
|
+
return n === void 0 || n.length === 0 ? [] : await this._fdm3dDataProvider.getFdmConnectionsForNodes(n, this._revisionId, e);
|
|
107
|
+
}
|
|
108
|
+
async fetchViewsForAllConnections() {
|
|
109
|
+
let e = this.getAllConnections().filter((e) => e.views === void 0 || e.views.length === 0);
|
|
110
|
+
if (e.length === 0) return;
|
|
111
|
+
let n = await t(this._fdmClient, e.map((e) => e.connection.instance));
|
|
112
|
+
e.forEach((e, t) => {
|
|
113
|
+
let r = {
|
|
114
|
+
...e,
|
|
115
|
+
views: [n.items[t].inspectionResults.involvedViews[0]]
|
|
116
|
+
};
|
|
117
|
+
this.insertTreeIndexMappings(r.cadNode.treeIndex, r);
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
insertTreeIndexMappings(e, t) {
|
|
121
|
+
let n = this._treeIndexToFdmConnections.get(e);
|
|
122
|
+
if (n === void 0) this._treeIndexToFdmConnections.set(e, [t]);
|
|
123
|
+
else {
|
|
124
|
+
let e = n?.find((e) => e.cadNode.id === t.cadNode.id);
|
|
125
|
+
if (e !== void 0) {
|
|
126
|
+
e.views = t.views;
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
n.push(t);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
getAllConnections() {
|
|
133
|
+
return [...this._treeIndexToFdmConnections.values()].flat();
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
function o(e) {
|
|
137
|
+
return n(e.map((e) => e.treeIndex));
|
|
138
|
+
}
|
|
139
|
+
function s(e, t, n) {
|
|
140
|
+
let r = t.filter((t) => t.treeIndex === e), i = n.filter((t) => t.treeIndex >= e);
|
|
141
|
+
return {
|
|
142
|
+
connections: r.map((e) => e.connection),
|
|
143
|
+
ancestorsWithSameMapping: i,
|
|
144
|
+
firstMappedAncestorTreeIndex: e
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
function c(e) {
|
|
148
|
+
return e !== void 0 && e?.every((e) => e.views !== void 0 && e.views.length > 0);
|
|
149
|
+
}
|
|
150
|
+
//#endregion
|
|
151
|
+
export { a as RevisionFdmNodeCache, c as checkDefinedViews };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CogniteClient, Asset, IdEither } from '@cognite/sdk';
|
|
2
|
+
import { InstanceReference } from '../../utilities/instanceIds';
|
|
3
|
+
import { AssetInstance } from '../../utilities/instances';
|
|
4
|
+
import { AnnotationId, PointCloudAnnotationModel } from './types';
|
|
5
|
+
export declare function fetchPointCloudAnnotationAssets(annotations: PointCloudAnnotationModel[], sdk: CogniteClient): Promise<Map<AnnotationId, AssetInstance[]>>;
|
|
6
|
+
export declare function fetchAssetsForAssetReferences(assetIds: InstanceReference[], sdk: CogniteClient): Promise<AssetInstance[]>;
|
|
7
|
+
export declare function fetchAssetsForAssetIds(assetIds: IdEither[], sdk: CogniteClient): Promise<Asset[]>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { isDmsInstance as e, isIdEither as t } from "../../utilities/instanceIds/typeGuards.js";
|
|
2
|
+
import { isSameIdEither as n } from "../../utilities/instanceIds/equality.js";
|
|
3
|
+
import { createInstanceReferenceKey as r } from "../../utilities/instanceIds/toKey.js";
|
|
4
|
+
import "../../utilities/instanceIds/index.js";
|
|
5
|
+
import { FdmSDK as i } from "../FdmSDK.js";
|
|
6
|
+
import { isDefined as a } from "../../utilities/isDefined.js";
|
|
7
|
+
import { concatenateMapValues as o } from "../../utilities/map/concatenateMapValues.js";
|
|
8
|
+
import { COGNITE_ASSET_SOURCE as s, COGNITE_ASSET_VIEW_VERSION_KEY as c, CORE_DM_SPACE as l } from "../core-dm-provider/dataModels.js";
|
|
9
|
+
import { getInstanceReferencesFromPointCloudAnnotation as u } from "./utils.js";
|
|
10
|
+
import { chunk as d, uniqBy as f, uniqWith as p } from "lodash-es";
|
|
11
|
+
//#region libs/shared/reveal-components/src/data-providers/cache/annotationModelUtils.ts
|
|
12
|
+
async function m(e, t) {
|
|
13
|
+
let n = e.flatMap((e) => u(e).map((t) => ({
|
|
14
|
+
annotationId: e.id,
|
|
15
|
+
assetId: t
|
|
16
|
+
}))).filter(a), i = await h(f(n.map((e) => e.assetId), r), t), s = new Map(i.map((e) => [r(e), e]));
|
|
17
|
+
return o(n.map((e) => {
|
|
18
|
+
let t = r(e.assetId), n = s.get(t);
|
|
19
|
+
if (n !== void 0) return [e.annotationId, n];
|
|
20
|
+
}).filter(a));
|
|
21
|
+
}
|
|
22
|
+
async function h(n, r) {
|
|
23
|
+
let i = n.filter(t), a = n.filter(e);
|
|
24
|
+
return [].concat(await _(i, r), await g(a, r));
|
|
25
|
+
}
|
|
26
|
+
async function g(e, t) {
|
|
27
|
+
return e.length === 0 ? [] : (await new i(t).getByExternalIds(e.map((e) => ({
|
|
28
|
+
...e,
|
|
29
|
+
instanceType: "node"
|
|
30
|
+
})), [s])).items.map((e) => ({
|
|
31
|
+
...e,
|
|
32
|
+
properties: e.properties[l][c]
|
|
33
|
+
}));
|
|
34
|
+
}
|
|
35
|
+
async function _(e, t) {
|
|
36
|
+
let r = p(e, n);
|
|
37
|
+
return (await Promise.all(d(r, 1e3).map(async (e) => await t.assets.retrieve(e, { ignoreUnknownIds: !0 })))).flat();
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { _ as fetchAssetsForAssetIds, h as fetchAssetsForAssetReferences, m as fetchPointCloudAnnotationAssets };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { InstanceId, InstanceKey } from '../../../utilities/instanceIds';
|
|
2
|
+
import { DmsUniqueIdentifier } from '../../FdmSDK';
|
|
3
|
+
import { SlimCadNodeWithBounds } from '../../utils/cadNodeConnectionFields';
|
|
4
|
+
import { ModelRevisionKey, ModelRevisionId, CadNodeIdData } from '../types';
|
|
5
|
+
export type CadModelMappingsWithNodes = Map<ModelRevisionKey, Map<InstanceKey, SlimCadNodeWithBounds[]>>;
|
|
6
|
+
export type CadModelMappings = Map<ModelRevisionKey, Map<InstanceKey, CadNodeIdData[]>>;
|
|
7
|
+
export type CadNodeMapping = {
|
|
8
|
+
sourceType: 'cdm';
|
|
9
|
+
node: CadNodeIdData;
|
|
10
|
+
instance: DmsUniqueIdentifier;
|
|
11
|
+
} | {
|
|
12
|
+
sourceType: 'assetMapping';
|
|
13
|
+
node: CadNodeIdData;
|
|
14
|
+
instance: InstanceId;
|
|
15
|
+
};
|
|
16
|
+
export type CadInstanceMappingsCache = {
|
|
17
|
+
getMappingsForModelsAndInstances: (instances: InstanceId[], models: ModelRevisionId[], signal?: AbortSignal) => Promise<CadModelMappingsWithNodes>;
|
|
18
|
+
getAllModelMappings: (models: ModelRevisionId[], signal?: AbortSignal) => Promise<CadModelMappings>;
|
|
19
|
+
getAllModelMappingsWithViews: (models: ModelRevisionId[], signal?: AbortSignal) => Promise<CadModelMappings>;
|
|
20
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CadInstanceMappingsCache } from './CadInstanceMappingsCache';
|
|
2
|
+
import { ClassicCadAssetMappingCache } from './ClassicCadAssetMappingCache';
|
|
3
|
+
import { FdmCadNodeCache } from './FdmCadNodeCache';
|
|
4
|
+
export declare function createCadInstanceMappingsCache(classicCache: ClassicCadAssetMappingCache | undefined, dmCache: FdmCadNodeCache | undefined): CadInstanceMappingsCache;
|