@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,121 @@
|
|
|
1
|
+
import { Changes as e } from "../../foundation/domainObjectsHelpers/Changes.js";
|
|
2
|
+
import { getDirectionalMarker as t, getOrCreateDirectionalMarker as n } from "./DirectionalMarker360DomainObject.js";
|
|
3
|
+
import { getQualityForFidelityLevel as r } from "../../foundation/concreteCommands/quality/fidelityLevels.js";
|
|
4
|
+
import { isPointCloudIntersection as i } from "../reveal/pointCloud/isPointCloudIntersection.js";
|
|
5
|
+
import { estimateNormalViaPCA as a } from "./estimateNormalViaPCA.js";
|
|
6
|
+
import { Box3 as o, Vector3 as s } from "three";
|
|
7
|
+
import { CognitePointCloudModel as c } from "@cognite/reveal";
|
|
8
|
+
//#region libs/shared/reveal-components/src/domains/directionalMarker360/DirectionalMarker360Controller.ts
|
|
9
|
+
var l = 1e-6, u = .1, d = r(1), f = r(3).resolutionOptions, p = new s(), m = class {
|
|
10
|
+
_getViewer;
|
|
11
|
+
_getCamera;
|
|
12
|
+
_getRoot;
|
|
13
|
+
_lastIntersectionPoint;
|
|
14
|
+
_smoothedPickPoint;
|
|
15
|
+
_lastNormalComputePoint;
|
|
16
|
+
_cachedNormal;
|
|
17
|
+
_savedQuality;
|
|
18
|
+
_markerUpdateInProgress = !1;
|
|
19
|
+
_pendingMarkerEvent;
|
|
20
|
+
_hoverDebounceTimer;
|
|
21
|
+
constructor(e, t, n) {
|
|
22
|
+
this._getViewer = e, this._getCamera = t, this._getRoot = n;
|
|
23
|
+
}
|
|
24
|
+
onHover(e) {
|
|
25
|
+
clearTimeout(this._hoverDebounceTimer), this._hoverDebounceTimer = setTimeout(() => {
|
|
26
|
+
this.update(e);
|
|
27
|
+
}, 1);
|
|
28
|
+
}
|
|
29
|
+
reset() {
|
|
30
|
+
this._lastIntersectionPoint = void 0, this._smoothedPickPoint = void 0, this._lastNormalComputePoint = void 0, this._cachedNormal = void 0, clearTimeout(this._hoverDebounceTimer), this._restoreQuality();
|
|
31
|
+
let e = t(this._getRoot());
|
|
32
|
+
e !== void 0 && (e.isActive = !1, e.setVisible(!1));
|
|
33
|
+
}
|
|
34
|
+
activate() {
|
|
35
|
+
this._lastIntersectionPoint = void 0, this._lastNormalComputePoint = void 0, this._cachedNormal = void 0, this._applyPickQuality();
|
|
36
|
+
let e = n(this._getRoot());
|
|
37
|
+
e.isActive = !1, e.setVisible(!0);
|
|
38
|
+
}
|
|
39
|
+
hasPointCloudModel() {
|
|
40
|
+
return this._getViewer().models.some((e) => e instanceof c);
|
|
41
|
+
}
|
|
42
|
+
_applyPickQuality() {
|
|
43
|
+
if (this._savedQuality !== void 0) return;
|
|
44
|
+
let e = this._getViewer(), t = e.getResolutionOptions();
|
|
45
|
+
this._savedQuality = {
|
|
46
|
+
cadBudget: e.cadBudget,
|
|
47
|
+
pointCloudBudget: e.pointCloudBudget,
|
|
48
|
+
resolutionOptions: t
|
|
49
|
+
}, e.cadBudget = d.cadBudget, e.pointCloudBudget = d.pointCloudBudget;
|
|
50
|
+
let n = (t.maxRenderResolution ?? Infinity) > (f.maxRenderResolution ?? Infinity) ? f : t;
|
|
51
|
+
e.setResolutionOptions(n);
|
|
52
|
+
}
|
|
53
|
+
_restoreQuality() {
|
|
54
|
+
if (this._savedQuality === void 0) return;
|
|
55
|
+
let e = this._getViewer();
|
|
56
|
+
e.cadBudget = this._savedQuality.cadBudget, e.pointCloudBudget = this._savedQuality.pointCloudBudget, e.setResolutionOptions(this._savedQuality.resolutionOptions), this._savedQuality = void 0;
|
|
57
|
+
}
|
|
58
|
+
async update(e) {
|
|
59
|
+
if (this._pendingMarkerEvent = e, !this._markerUpdateInProgress) {
|
|
60
|
+
this._markerUpdateInProgress = !0;
|
|
61
|
+
try {
|
|
62
|
+
for (; this._pendingMarkerEvent !== void 0;) {
|
|
63
|
+
let e = this._pendingMarkerEvent;
|
|
64
|
+
this._pendingMarkerEvent = void 0, await this._doUpdate(e);
|
|
65
|
+
}
|
|
66
|
+
} finally {
|
|
67
|
+
this._markerUpdateInProgress = !1;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
async _doUpdate(t) {
|
|
72
|
+
let r = this._getViewer(), a = r.getPixelCoordinatesFromEvent(t);
|
|
73
|
+
if (r.getActive360ImageInfo() === void 0) {
|
|
74
|
+
this._hideMarker();
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
let o = await r.getAnyIntersectionFromPixel(a);
|
|
78
|
+
if (!i(o)) {
|
|
79
|
+
this._hideMarker();
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
let s = this._smooth(o.point), c = n(this._getRoot());
|
|
83
|
+
c.isActive = !0, c.radius = .2;
|
|
84
|
+
let l = this._computeNormal(o.model, o.point);
|
|
85
|
+
if (l === void 0) {
|
|
86
|
+
this._hideMarker();
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
let u = this._getCamera().position;
|
|
90
|
+
h(l, s, u), c.normal.copy(l), c.position.copy(s).addScaledVector(c.normal, .02), this._updateForwardHint(c, s, u), this._lastIntersectionPoint = s.clone(), c.notify(e.geometry), c.setVisible(!0);
|
|
91
|
+
}
|
|
92
|
+
_hideMarker() {
|
|
93
|
+
this._smoothedPickPoint = void 0;
|
|
94
|
+
let n = t(this._getRoot());
|
|
95
|
+
n !== void 0 && (n.isActive = !1, n.notify(e.geometry));
|
|
96
|
+
}
|
|
97
|
+
_smooth(e) {
|
|
98
|
+
if (this._smoothedPickPoint === void 0) this._smoothedPickPoint = e.clone();
|
|
99
|
+
else {
|
|
100
|
+
let t = this._smoothedPickPoint.distanceTo(e) > .5 ? 1 : .3;
|
|
101
|
+
this._smoothedPickPoint.lerp(e, t);
|
|
102
|
+
}
|
|
103
|
+
return this._smoothedPickPoint;
|
|
104
|
+
}
|
|
105
|
+
_updateForwardHint(e, t, n) {
|
|
106
|
+
this._lastIntersectionPoint === void 0 ? e.forwardHint.subVectors(t, n).normalize() : (p.subVectors(t, this._lastIntersectionPoint), p.lengthSq() > l && e.forwardHint.copy(p).normalize());
|
|
107
|
+
}
|
|
108
|
+
_computeNormal(e, t) {
|
|
109
|
+
if (this._lastNormalComputePoint !== void 0 && this._cachedNormal !== void 0 && this._lastNormalComputePoint.distanceTo(t) < u) return this._cachedNormal.clone();
|
|
110
|
+
let n = e.getModelTransformation(), r = n.clone().invert(), i = t.clone().applyMatrix4(r), c = .1, l = new o(new s(i.x - c, i.y - c, i.z - c), new s(i.x + c, i.y + c, i.z + c)), d = e.getPointsByBoundingBox(l);
|
|
111
|
+
if (d.length < 6) return;
|
|
112
|
+
for (let e of d) e.applyMatrix4(n);
|
|
113
|
+
let f = a(d);
|
|
114
|
+
return f !== void 0 && (this._lastNormalComputePoint = t.clone(), this._cachedNormal = f.clone()), f;
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
function h(e, t, n) {
|
|
118
|
+
e.dot(n.clone().sub(t)) < 0 && e.negate(), Math.abs(e.y) > .8 ? e.set(0, Math.sign(e.y), 0) : (e.y = 0, e.normalize());
|
|
119
|
+
}
|
|
120
|
+
//#endregion
|
|
121
|
+
export { m as DirectionalMarker360Controller };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Vector3 } from 'three';
|
|
2
|
+
import { DomainObject } from '../../foundation/domainObjects/DomainObject';
|
|
3
|
+
import { VisualDomainObject } from '../../foundation/domainObjects/VisualDomainObject';
|
|
4
|
+
import { RenderStyle } from '../../foundation/renderStyles/RenderStyle';
|
|
5
|
+
import { TranslationInput } from '../../foundation/utilities/translation/TranslateInput';
|
|
6
|
+
export declare class DirectionalMarker360DomainObject extends VisualDomainObject {
|
|
7
|
+
readonly position: Vector3;
|
|
8
|
+
readonly normal: Vector3;
|
|
9
|
+
readonly forwardHint: Vector3;
|
|
10
|
+
radius: number;
|
|
11
|
+
get typeName(): TranslationInput;
|
|
12
|
+
get isVisibleInTree(): boolean;
|
|
13
|
+
get hasIndexOnLabel(): boolean;
|
|
14
|
+
createRenderStyle(): RenderStyle | undefined;
|
|
15
|
+
}
|
|
16
|
+
export declare function getDirectionalMarker(root: DomainObject): DirectionalMarker360DomainObject | undefined;
|
|
17
|
+
export declare function getOrCreateDirectionalMarker(root: DomainObject): DirectionalMarker360DomainObject;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { VisualDomainObject as e } from "../../foundation/domainObjects/VisualDomainObject.js";
|
|
2
|
+
import { DirectionalMarker360RenderStyle as t } from "./DirectionalMarker360RenderStyle.js";
|
|
3
|
+
import { Vector3 as n } from "three";
|
|
4
|
+
//#region libs/shared/reveal-components/src/domains/directionalMarker360/DirectionalMarker360DomainObject.ts
|
|
5
|
+
var r = .3, i = class extends e {
|
|
6
|
+
position = new n();
|
|
7
|
+
normal = new n(0, 1, 0);
|
|
8
|
+
forwardHint = new n(0, 0, 1);
|
|
9
|
+
radius = r;
|
|
10
|
+
get typeName() {
|
|
11
|
+
return { untranslated: "Directional marker" };
|
|
12
|
+
}
|
|
13
|
+
get isVisibleInTree() {
|
|
14
|
+
return !1;
|
|
15
|
+
}
|
|
16
|
+
get hasIndexOnLabel() {
|
|
17
|
+
return !1;
|
|
18
|
+
}
|
|
19
|
+
createRenderStyle() {
|
|
20
|
+
return new t();
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
function a(e) {
|
|
24
|
+
for (let t of e.getDescendantsByType(i)) return t;
|
|
25
|
+
}
|
|
26
|
+
function o(e) {
|
|
27
|
+
let t = a(e);
|
|
28
|
+
return t === void 0 && (t = new i(), e.addChild(t)), t;
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
export { i as DirectionalMarker360DomainObject, a as getDirectionalMarker, o as getOrCreateDirectionalMarker };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Group } from 'three';
|
|
2
|
+
/**
|
|
3
|
+
* Narrow interface covering only the CanvasRenderingContext2D methods used for
|
|
4
|
+
* drawing the marker rings. Keeping it narrow lets tests inject a typed fake
|
|
5
|
+
* without having to implement the full Web API surface.
|
|
6
|
+
*/
|
|
7
|
+
export interface CanvasDrawingContext {
|
|
8
|
+
lineWidth: number;
|
|
9
|
+
strokeStyle: string | CanvasGradient | CanvasPattern;
|
|
10
|
+
shadowColor: string;
|
|
11
|
+
beginPath(): void;
|
|
12
|
+
arc(x: number, y: number, radius: number, startAngle: number, endAngle: number): void;
|
|
13
|
+
stroke(): void;
|
|
14
|
+
}
|
|
15
|
+
export interface DirectionalMarker360Mesh {
|
|
16
|
+
group: Group;
|
|
17
|
+
setOpacity(opacity: number): void;
|
|
18
|
+
}
|
|
19
|
+
export declare function createDirectionalMarker360Mesh(radius: number, drawingContext?: CanvasDrawingContext | null): DirectionalMarker360Mesh;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { CanvasTexture as e, CircleGeometry as t, DoubleSide as n, Group as r, Mesh as i, MeshBasicMaterial as a } from "three";
|
|
2
|
+
//#region libs/shared/reveal-components/src/domains/directionalMarker360/DirectionalMarker360Mesh.ts
|
|
3
|
+
var o = 256, s = 32, c = 100, l = "rgba(255, 255, 255, 0.6)";
|
|
4
|
+
function u(e, o = null) {
|
|
5
|
+
let l = d(o), u = new t(e, s), f = new a({
|
|
6
|
+
map: l,
|
|
7
|
+
transparent: !0,
|
|
8
|
+
side: n,
|
|
9
|
+
depthTest: !1,
|
|
10
|
+
depthWrite: !1,
|
|
11
|
+
opacity: 0
|
|
12
|
+
}), p = new i(u, f);
|
|
13
|
+
p.renderOrder = c;
|
|
14
|
+
let m = new r();
|
|
15
|
+
return m.add(p), m.visible = !1, {
|
|
16
|
+
group: m,
|
|
17
|
+
setOpacity(e) {
|
|
18
|
+
f.opacity = e, m.visible = e > 0;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function d(t) {
|
|
23
|
+
let n = document.createElement("canvas");
|
|
24
|
+
n.width = o, n.height = o;
|
|
25
|
+
let r = t ?? n.getContext("2d");
|
|
26
|
+
if (r === null) console.warn("DirectionalMarker360Mesh: failed to get 2D canvas context — marker texture will be blank");
|
|
27
|
+
else {
|
|
28
|
+
let e = o / 2;
|
|
29
|
+
r.beginPath(), r.lineWidth = o / 8, r.strokeStyle = l, r.shadowColor = "red", r.arc(e, e, e - r.lineWidth, 0, 2 * Math.PI), r.stroke(), r.shadowColor = "transparent", r.beginPath(), r.lineWidth = o / 16, r.strokeStyle = l, r.arc(e, e, e - r.lineWidth / 2 - 2, 0, 2 * Math.PI), r.stroke();
|
|
30
|
+
}
|
|
31
|
+
return new e(n);
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
export { u as createDirectionalMarker360Mesh };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CommonRenderStyle } from '../../foundation/renderStyles/CommonRenderStyle';
|
|
2
|
+
import { RenderStyle } from '../../foundation/renderStyles/RenderStyle';
|
|
3
|
+
export declare class DirectionalMarker360RenderStyle extends CommonRenderStyle {
|
|
4
|
+
discOpacity: number;
|
|
5
|
+
chevronOpacity: number;
|
|
6
|
+
constructor();
|
|
7
|
+
clone(): RenderStyle;
|
|
8
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CommonRenderStyle as e } from "../../foundation/renderStyles/CommonRenderStyle.js";
|
|
2
|
+
import { cloneDeep as t } from "lodash-es";
|
|
3
|
+
//#region libs/shared/reveal-components/src/domains/directionalMarker360/DirectionalMarker360RenderStyle.ts
|
|
4
|
+
var n = class extends e {
|
|
5
|
+
discOpacity = .6;
|
|
6
|
+
chevronOpacity = .5;
|
|
7
|
+
constructor() {
|
|
8
|
+
super(), this.depthTest = !1;
|
|
9
|
+
}
|
|
10
|
+
clone() {
|
|
11
|
+
return t(this);
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { n as DirectionalMarker360RenderStyle };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CustomObjectIntersectInput, CustomObjectIntersection } from '@cognite/reveal';
|
|
2
|
+
import { DomainObjectChange } from '../../foundation/domainObjectsHelpers/DomainObjectChange';
|
|
3
|
+
import { GroupThreeView } from '../../foundation/views/GroupThreeView';
|
|
4
|
+
import { DirectionalMarker360DomainObject } from './DirectionalMarker360DomainObject';
|
|
5
|
+
import { DirectionalMarker360RenderStyle } from './DirectionalMarker360RenderStyle';
|
|
6
|
+
export declare class DirectionalMarker360View extends GroupThreeView<DirectionalMarker360DomainObject> {
|
|
7
|
+
private _marker;
|
|
8
|
+
update(change: DomainObjectChange): void;
|
|
9
|
+
protected get style(): DirectionalMarker360RenderStyle;
|
|
10
|
+
get useDepthTest(): boolean;
|
|
11
|
+
protected addChildren(): void;
|
|
12
|
+
clearMemory(): void;
|
|
13
|
+
intersectIfCloser(_intersectInput: CustomObjectIntersectInput, _closestDistance: number | undefined): undefined | CustomObjectIntersection;
|
|
14
|
+
private updateGeometry;
|
|
15
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Changes as e } from "../../foundation/domainObjectsHelpers/Changes.js";
|
|
2
|
+
import { GroupThreeView as t } from "../../foundation/views/GroupThreeView.js";
|
|
3
|
+
import { createDirectionalMarker360Mesh as n } from "./DirectionalMarker360Mesh.js";
|
|
4
|
+
import { Matrix4 as r, Vector3 as i } from "three";
|
|
5
|
+
//#region libs/shared/reveal-components/src/domains/directionalMarker360/DirectionalMarker360View.ts
|
|
6
|
+
var a = new i(), o = new i(), s = new i(), c = new r(), l = class extends t {
|
|
7
|
+
_marker;
|
|
8
|
+
update(t) {
|
|
9
|
+
t.isChanged(e.geometry) && (this.updateGeometry(), this.invalidateBoundingBox(), this.invalidateRenderTarget()), t.isChanged(e.renderStyle, e.color) && (this.clearMemory(), this.invalidateRenderTarget());
|
|
10
|
+
}
|
|
11
|
+
get style() {
|
|
12
|
+
return super.style;
|
|
13
|
+
}
|
|
14
|
+
get useDepthTest() {
|
|
15
|
+
return this.style.depthTest;
|
|
16
|
+
}
|
|
17
|
+
addChildren() {
|
|
18
|
+
let e = n(1);
|
|
19
|
+
this._marker = e, this.addChild(e.group), this.updateGeometry();
|
|
20
|
+
}
|
|
21
|
+
clearMemory() {
|
|
22
|
+
this._marker = void 0, super.clearMemory();
|
|
23
|
+
}
|
|
24
|
+
intersectIfCloser(e, t) {}
|
|
25
|
+
updateGeometry() {
|
|
26
|
+
let e = this._marker;
|
|
27
|
+
if (e === void 0) return;
|
|
28
|
+
let { domainObject: t } = this;
|
|
29
|
+
if (!t.isActive) {
|
|
30
|
+
e.setOpacity(0);
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
e.setOpacity(1);
|
|
34
|
+
let { group: n } = e, r = t.radius * 2;
|
|
35
|
+
n.position.copy(t.position), n.scale.set(r, r, r), u(n, t.normal, t.forwardHint), this._group.updateMatrixWorld(!0);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
function u(e, t, n) {
|
|
39
|
+
a.copy(t), o.copy(n), o.addScaledVector(a, -o.dot(a)), o.lengthSq() < 1e-8 && o.set(0, 1, 0).addScaledVector(a, -a.y), o.normalize(), s.crossVectors(o, a).normalize(), e.quaternion.setFromRotationMatrix(c.makeBasis(s, o, a));
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
export { l as DirectionalMarker360View };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Vector3 } from 'three';
|
|
2
|
+
/**
|
|
3
|
+
* Estimates a surface normal from a neighbourhood of 3D points using PCA.
|
|
4
|
+
* The normal is the eigenvector corresponding to the smallest eigenvalue of
|
|
5
|
+
* the covariance matrix (minimum-variance direction = surface normal).
|
|
6
|
+
*
|
|
7
|
+
* Uses Jacobi iteration for eigendecomposition — suitable for the fixed 3×3
|
|
8
|
+
* symmetric case and fast enough to run per-frame in a GPU-pick callback.
|
|
9
|
+
*
|
|
10
|
+
* @param points - At least 3 points sampled from the surface neighbourhood.
|
|
11
|
+
* @returns Normalised surface normal, or `undefined` if fewer than 3 points.
|
|
12
|
+
*/
|
|
13
|
+
export declare function estimateNormalViaPCA(points: Vector3[]): Vector3 | undefined;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Vector3 as e } from "three";
|
|
2
|
+
//#region libs/shared/reveal-components/src/domains/directionalMarker360/estimateNormalViaPCA.ts
|
|
3
|
+
function t(t) {
|
|
4
|
+
let n = t.length;
|
|
5
|
+
if (n < 3) return;
|
|
6
|
+
let r = 0, i = 0, a = 0;
|
|
7
|
+
for (let e = 0; e < n; e++) r += t[e].x, i += t[e].y, a += t[e].z;
|
|
8
|
+
r /= n, i /= n, a /= n;
|
|
9
|
+
let o = 0, s = 0, c = 0, l = 0, u = 0, d = 0;
|
|
10
|
+
for (let e = 0; e < n; e++) {
|
|
11
|
+
let n = t[e].x - r, f = t[e].y - i, p = t[e].z - a;
|
|
12
|
+
o += n * n, s += n * f, c += n * p, l += f * f, u += f * p, d += p * p;
|
|
13
|
+
}
|
|
14
|
+
let f = [
|
|
15
|
+
o,
|
|
16
|
+
s,
|
|
17
|
+
c,
|
|
18
|
+
s,
|
|
19
|
+
l,
|
|
20
|
+
u,
|
|
21
|
+
c,
|
|
22
|
+
u,
|
|
23
|
+
d
|
|
24
|
+
], p = [
|
|
25
|
+
1,
|
|
26
|
+
0,
|
|
27
|
+
0,
|
|
28
|
+
0,
|
|
29
|
+
1,
|
|
30
|
+
0,
|
|
31
|
+
0,
|
|
32
|
+
0,
|
|
33
|
+
1
|
|
34
|
+
];
|
|
35
|
+
for (let e = 0; e < 15; e++) {
|
|
36
|
+
let e = 0, t = 1, n = Math.abs(f[1]);
|
|
37
|
+
if (Math.abs(f[2]) > n && (n = Math.abs(f[2]), e = 0, t = 2), Math.abs(f[5]) > n && (n = Math.abs(f[5]), e = 1, t = 2), n < 1e-10) break;
|
|
38
|
+
let r = f[e * 3 + t], i = f[e * 3 + e], a = f[t * 3 + t], o = (a - i) / (2 * r), s = (o >= 0 ? 1 : -1) / (Math.abs(o) + Math.sqrt(1 + o * o)), c = 1 / Math.sqrt(1 + s * s), l = s * c, u = l / (1 + c);
|
|
39
|
+
f[e * 3 + e] = i - s * r, f[t * 3 + t] = a + s * r, f[e * 3 + t] = f[t * 3 + e] = 0;
|
|
40
|
+
for (let n = 0; n < 3; n++) {
|
|
41
|
+
if (n !== e && n !== t) {
|
|
42
|
+
let r = f[n * 3 + e], i = f[n * 3 + t];
|
|
43
|
+
f[n * 3 + e] = f[e * 3 + n] = r - l * (i + r * u), f[n * 3 + t] = f[t * 3 + n] = i + l * (r - i * u);
|
|
44
|
+
}
|
|
45
|
+
let r = p[n * 3 + e], i = p[n * 3 + t];
|
|
46
|
+
p[n * 3 + e] = r - l * (i + r * u), p[n * 3 + t] = i + l * (r - i * u);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
let m = 0;
|
|
50
|
+
return f[4] < f[0] && (m = 1), f[8] < f[m * 4] && (m = 2), new e(p[0 + m], p[3 + m], p[6 + m]).normalize();
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
export { t as estimateNormalViaPCA };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Vector3 } from 'three';
|
|
2
|
+
import { DomainObject } from '../../foundation/domainObjects/DomainObject';
|
|
3
|
+
import { CreateDraggerProps, VisualDomainObject } from '../../foundation/domainObjects/VisualDomainObject';
|
|
4
|
+
import { BaseDragger } from '../../foundation/domainObjectsHelpers/BaseDragger';
|
|
5
|
+
import { PanelInfo } from '../../foundation/domainObjectsHelpers/PanelInfo';
|
|
6
|
+
import { PopupStyle } from '../../foundation/domainObjectsHelpers/PopupStyle';
|
|
7
|
+
import { RenderStyle } from '../../foundation/renderStyles/RenderStyle';
|
|
8
|
+
import { RevealRenderTarget } from '../../foundation/renderTarget/RevealRenderTarget';
|
|
9
|
+
import { Transaction } from '../../foundation/undo/Transaction';
|
|
10
|
+
import { TranslationInput } from '../../foundation/utilities/translation/TranslateInput';
|
|
11
|
+
import { IconName } from '../../foundation/utilities/types';
|
|
12
|
+
import { ExampleRenderStyle } from './ExampleRenderStyle';
|
|
13
|
+
export declare class ExampleDomainObject extends VisualDomainObject {
|
|
14
|
+
readonly center: Vector3;
|
|
15
|
+
get renderStyle(): ExampleRenderStyle;
|
|
16
|
+
get icon(): IconName;
|
|
17
|
+
get typeName(): TranslationInput;
|
|
18
|
+
get canBeRemoved(): boolean;
|
|
19
|
+
createRenderStyle(): RenderStyle | undefined;
|
|
20
|
+
createDragger(props: CreateDraggerProps): BaseDragger | undefined;
|
|
21
|
+
get hasPanelInfo(): boolean;
|
|
22
|
+
getPanelInfo(): PanelInfo | undefined;
|
|
23
|
+
getPanelInfoStyle(): PopupStyle;
|
|
24
|
+
createTransaction(changed: symbol): Transaction;
|
|
25
|
+
clone(what?: symbol): DomainObject;
|
|
26
|
+
copyFrom(domainObject: ExampleDomainObject, what?: symbol): void;
|
|
27
|
+
getEditToolCursor(_renderTarget: RevealRenderTarget, _point?: Vector3): string | undefined;
|
|
28
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Changes as e } from "../../foundation/domainObjectsHelpers/Changes.js";
|
|
2
|
+
import { Quantity as t } from "../../foundation/domainObjectsHelpers/Quantity.js";
|
|
3
|
+
import { PopupStyle as n } from "../../foundation/domainObjectsHelpers/PopupStyle.js";
|
|
4
|
+
import { VisualDomainObject as r } from "../../foundation/domainObjects/VisualDomainObject.js";
|
|
5
|
+
import { DomainObjectTransaction as i } from "../../foundation/undo/DomainObjectTransaction.js";
|
|
6
|
+
import { PanelInfo as a } from "../../foundation/domainObjectsHelpers/PanelInfo.js";
|
|
7
|
+
import { ExampleDragger as o } from "./ExampleDragger.js";
|
|
8
|
+
import { ExampleRenderStyle as s } from "./ExampleRenderStyle.js";
|
|
9
|
+
import { Vector3 as c } from "three";
|
|
10
|
+
//#region libs/shared/reveal-components/src/domains/example/ExampleDomainObject.ts
|
|
11
|
+
var l = class l extends r {
|
|
12
|
+
center = new c();
|
|
13
|
+
get renderStyle() {
|
|
14
|
+
return super.getRenderStyle();
|
|
15
|
+
}
|
|
16
|
+
get icon() {
|
|
17
|
+
return "Circle";
|
|
18
|
+
}
|
|
19
|
+
get typeName() {
|
|
20
|
+
return { untranslated: "Example" };
|
|
21
|
+
}
|
|
22
|
+
get canBeRemoved() {
|
|
23
|
+
return !0;
|
|
24
|
+
}
|
|
25
|
+
createRenderStyle() {
|
|
26
|
+
return new s();
|
|
27
|
+
}
|
|
28
|
+
createDragger(e) {
|
|
29
|
+
return new o(e, this);
|
|
30
|
+
}
|
|
31
|
+
get hasPanelInfo() {
|
|
32
|
+
return !0;
|
|
33
|
+
}
|
|
34
|
+
getPanelInfo() {
|
|
35
|
+
let e = new a();
|
|
36
|
+
return n({ key: "X_COORDINATE" }, this.center.x, t.Length), n({ key: "Y_COORDINATE" }, this.center.y, t.Length), n({ key: "Z_COORDINATE" }, this.center.z, t.Length), e;
|
|
37
|
+
function n(t, n, r) {
|
|
38
|
+
e.add({
|
|
39
|
+
translationInput: t,
|
|
40
|
+
value: n,
|
|
41
|
+
quantity: r
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
getPanelInfoStyle() {
|
|
46
|
+
return new n({
|
|
47
|
+
bottom: 50,
|
|
48
|
+
left: 0
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
createTransaction(e) {
|
|
52
|
+
return new i(this, e);
|
|
53
|
+
}
|
|
54
|
+
clone(e) {
|
|
55
|
+
let t = new l();
|
|
56
|
+
return t.copyFrom(this, e), t;
|
|
57
|
+
}
|
|
58
|
+
copyFrom(t, n) {
|
|
59
|
+
super.copyFrom(t, n), (n === void 0 || n === e.geometry) && this.center.copy(t.center);
|
|
60
|
+
}
|
|
61
|
+
getEditToolCursor(e, t) {
|
|
62
|
+
return "move";
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
//#endregion
|
|
66
|
+
export { l as ExampleDomainObject };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Ray } from 'three';
|
|
2
|
+
import { VisualDomainObject, CreateDraggerProps } from '../../foundation/domainObjects/VisualDomainObject';
|
|
3
|
+
import { BaseDragger } from '../../foundation/domainObjectsHelpers/BaseDragger';
|
|
4
|
+
import { ExampleDomainObject } from './ExampleDomainObject';
|
|
5
|
+
export declare class ExampleDragger extends BaseDragger {
|
|
6
|
+
private readonly _domainObject;
|
|
7
|
+
private readonly _center;
|
|
8
|
+
private readonly _plane;
|
|
9
|
+
private readonly _offset;
|
|
10
|
+
constructor(props: CreateDraggerProps, domainObject: ExampleDomainObject);
|
|
11
|
+
get domainObject(): VisualDomainObject;
|
|
12
|
+
onPointerDrag(_event: PointerEvent, ray: Ray): boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Changes as e } from "../../foundation/domainObjectsHelpers/Changes.js";
|
|
2
|
+
import { BaseDragger as t } from "../../foundation/domainObjectsHelpers/BaseDragger.js";
|
|
3
|
+
import { Plane as n, Vector3 as r } from "three";
|
|
4
|
+
//#region libs/shared/reveal-components/src/domains/example/ExampleDragger.ts
|
|
5
|
+
var i = class extends t {
|
|
6
|
+
_domainObject;
|
|
7
|
+
_center;
|
|
8
|
+
_plane;
|
|
9
|
+
_offset;
|
|
10
|
+
constructor(e, t) {
|
|
11
|
+
super(e, t), this._domainObject = t, this._center = this._domainObject.center.clone(), this._plane = new n().setFromNormalAndCoplanarPoint(this.ray.direction, this._center);
|
|
12
|
+
let i = this.ray.intersectPlane(this._plane, new r());
|
|
13
|
+
if (i === null) throw Error("Failed to intersect plane");
|
|
14
|
+
this._offset = i.sub(this._center);
|
|
15
|
+
}
|
|
16
|
+
get domainObject() {
|
|
17
|
+
return this._domainObject;
|
|
18
|
+
}
|
|
19
|
+
onPointerDrag(t, n) {
|
|
20
|
+
let i = n.intersectPlane(this._plane, new r());
|
|
21
|
+
return i === null || (i.sub(this._offset), i.distanceTo(this._center) < 1e-6) ? !1 : (this.transaction === void 0 && (this.transaction = this._domainObject.createTransaction(e.geometry)), this._domainObject.center.copy(i), this.domainObject.notify(e.dragging), !0);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
export { i as ExampleDragger };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CommonRenderStyle } from '../../foundation/renderStyles/CommonRenderStyle';
|
|
2
|
+
import { RenderStyle } from '../../foundation/renderStyles/RenderStyle';
|
|
3
|
+
export declare class ExampleRenderStyle extends CommonRenderStyle {
|
|
4
|
+
radius: number;
|
|
5
|
+
opacity: number;
|
|
6
|
+
clone(): RenderStyle;
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonRenderStyle as e } from "../../foundation/renderStyles/CommonRenderStyle.js";
|
|
2
|
+
import { cloneDeep as t } from "lodash-es";
|
|
3
|
+
//#region libs/shared/reveal-components/src/domains/example/ExampleRenderStyle.ts
|
|
4
|
+
var n = class extends e {
|
|
5
|
+
radius = 1;
|
|
6
|
+
opacity = .75;
|
|
7
|
+
clone() {
|
|
8
|
+
return t(this);
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { n as ExampleRenderStyle };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseEditTool } from '../../foundation/commands/BaseEditTool';
|
|
2
|
+
import { VisualDomainObject } from '../../foundation/domainObjects/VisualDomainObject';
|
|
3
|
+
import { TranslationInput } from '../../foundation/utilities/translation/TranslateInput';
|
|
4
|
+
import { IconName } from '../../foundation/utilities/types';
|
|
5
|
+
export declare class ExampleTool extends BaseEditTool {
|
|
6
|
+
get icon(): IconName;
|
|
7
|
+
get tooltip(): TranslationInput;
|
|
8
|
+
get isEnabled(): boolean;
|
|
9
|
+
onDeleteKey(): void;
|
|
10
|
+
onWheel(event: WheelEvent, delta: number): Promise<void>;
|
|
11
|
+
onHoverByDebounce(event: PointerEvent): Promise<void>;
|
|
12
|
+
onClick(event: PointerEvent): Promise<void>;
|
|
13
|
+
protected canBeSelected(domainObject: VisualDomainObject): boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Changes as e } from "../../foundation/domainObjectsHelpers/Changes.js";
|
|
2
|
+
import { DomainObjectChange as t } from "../../foundation/domainObjectsHelpers/DomainObjectChange.js";
|
|
3
|
+
import { convertFromViewerCoordinates as n } from "../../foundation/renderTarget/convertCoordinates.js";
|
|
4
|
+
import { ExampleDomainObject as r } from "./ExampleDomainObject.js";
|
|
5
|
+
import { isImage360ClusterIntersection as i } from "../../foundation/utilities/misc/typeGuards.js";
|
|
6
|
+
import { BaseEditTool as a } from "../../foundation/commands/BaseEditTool.js";
|
|
7
|
+
import { clamp as o } from "lodash-es";
|
|
8
|
+
//#region libs/shared/reveal-components/src/domains/example/ExampleTool.ts
|
|
9
|
+
var s = .1, c = class extends a {
|
|
10
|
+
get icon() {
|
|
11
|
+
return "Circle";
|
|
12
|
+
}
|
|
13
|
+
get tooltip() {
|
|
14
|
+
return { untranslated: "Create or edit a single point" };
|
|
15
|
+
}
|
|
16
|
+
get isEnabled() {
|
|
17
|
+
return !this.renderTarget.isInside360Image;
|
|
18
|
+
}
|
|
19
|
+
onDeleteKey() {
|
|
20
|
+
let t = this.getSelected();
|
|
21
|
+
t instanceof r && (this.addTransaction(t.createTransaction(e.deleted)), t.remove());
|
|
22
|
+
}
|
|
23
|
+
async onWheel(n, r) {
|
|
24
|
+
let i = await this.getIntersection(n), a = this.getIntersectedSelectableDomainObject(i);
|
|
25
|
+
if (a === void 0 || !a.isSelected) {
|
|
26
|
+
await super.onWheel(n, r);
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
if (n.shiftKey) {
|
|
30
|
+
this.addTransaction(a.createTransaction(e.color));
|
|
31
|
+
let t = {
|
|
32
|
+
h: 0,
|
|
33
|
+
s: 0,
|
|
34
|
+
l: 0
|
|
35
|
+
};
|
|
36
|
+
t = a.color.getHSL(t), t.h = (t.h + Math.sign(r) * .02) % 1, a.color.setHSL(t.h, t.s, t.l), a.notify(e.color);
|
|
37
|
+
} else if (n.ctrlKey || n.metaKey) {
|
|
38
|
+
this.addTransaction(a.createTransaction(e.renderStyle));
|
|
39
|
+
let n = a.renderStyle.opacity + Math.sign(r) * .05;
|
|
40
|
+
a.renderStyle.opacity = o(n, .2, 1), a.notify(new t(e.renderStyle, "opacity"));
|
|
41
|
+
} else {
|
|
42
|
+
this.addTransaction(a.createTransaction(e.renderStyle));
|
|
43
|
+
let n = 1 - Math.sign(r) * s;
|
|
44
|
+
a.renderStyle.radius *= n, a.notify(new t(e.renderStyle, "radius"));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
async onHoverByDebounce(e) {
|
|
48
|
+
let t = await this.getIntersection(e), n = this.getIntersectedSelectableDomainObject(t);
|
|
49
|
+
n === void 0 ? t === void 0 ? this.renderTarget.setNavigateCursor() : this.renderTarget.setCrosshairCursor() : this.renderTarget.cursor = n.getEditToolCursor(this.renderTarget);
|
|
50
|
+
}
|
|
51
|
+
async onClick(t) {
|
|
52
|
+
let a = await this.getIntersection(t);
|
|
53
|
+
if (a === void 0 || i(a)) {
|
|
54
|
+
await super.onClick(t);
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
{
|
|
58
|
+
let e = this.getIntersectedSelectableDomainObject(a);
|
|
59
|
+
if (e !== void 0) {
|
|
60
|
+
this.deselectAll(e), e.setSelected(!0);
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
let o = n(a.point), s = new r();
|
|
65
|
+
s.center.copy(o), this.deselectAll(), this.root.addChild(s), s.setVisible(!0, this.renderTarget), s.setSelected(!0), this.addTransaction(s.createTransaction(e.added)), this.renderTarget.cursor = s.getEditToolCursor(this.renderTarget);
|
|
66
|
+
}
|
|
67
|
+
canBeSelected(e) {
|
|
68
|
+
return e instanceof r;
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
//#endregion
|
|
72
|
+
export { c as ExampleTool };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CustomObjectIntersectInput, CustomObjectIntersection } from '@cognite/reveal';
|
|
2
|
+
import { DomainObjectChange } from '../../foundation/domainObjectsHelpers/DomainObjectChange';
|
|
3
|
+
import { GroupThreeView } from '../../foundation/views/GroupThreeView';
|
|
4
|
+
import { ExampleDomainObject } from './ExampleDomainObject';
|
|
5
|
+
import { ExampleRenderStyle } from './ExampleRenderStyle';
|
|
6
|
+
export declare class ExampleView extends GroupThreeView<ExampleDomainObject> {
|
|
7
|
+
protected get style(): ExampleRenderStyle;
|
|
8
|
+
update(change: DomainObjectChange): void;
|
|
9
|
+
get useDepthTest(): boolean;
|
|
10
|
+
protected addChildren(): void;
|
|
11
|
+
intersectIfCloser(intersectInput: CustomObjectIntersectInput, closestDistance: number | undefined): undefined | CustomObjectIntersection;
|
|
12
|
+
}
|