@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,13 @@
|
|
|
1
|
+
import { CDF_TO_VIEWER_TRANSFORMATION as e } from "@cognite/reveal";
|
|
2
|
+
//#region libs/shared/reveal-components/src/foundation/renderTarget/convertCoordinates.ts
|
|
3
|
+
var t = e.clone().invert();
|
|
4
|
+
function n(e) {
|
|
5
|
+
let n = e.clone();
|
|
6
|
+
return n.applyMatrix4(t), n;
|
|
7
|
+
}
|
|
8
|
+
function r(t) {
|
|
9
|
+
let n = t.clone();
|
|
10
|
+
return n.applyMatrix4(e), n;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { t as VIEWER_TO_CDF_TRANSFORMATION, n as convertFromViewerCoordinates, r as convertToViewerCoordinates };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CadDomainObject } from '../../../domains/reveal/cad/CadDomainObject';
|
|
2
|
+
import { ILazyLoader } from '../tree-node-type/i-lazy-loader';
|
|
3
|
+
import { TreeNodeType } from '../tree-node-type/tree-node-type';
|
|
4
|
+
import { CadTreeNode } from './cad-tree-node';
|
|
5
|
+
import { RevisionId } from './cad-types';
|
|
6
|
+
import { INodesAndInstanceMappingsSdk } from './nodes-and-instance-mappings-sdk/i-nodes-and-instance-mappings-sdk';
|
|
7
|
+
export type CadLazyLoaderOptions = {
|
|
8
|
+
showInstanceMappings?: boolean;
|
|
9
|
+
listNodesLimit?: number;
|
|
10
|
+
domainObject?: CadDomainObject;
|
|
11
|
+
};
|
|
12
|
+
export declare class CadLazyLoader implements ILazyLoader {
|
|
13
|
+
private readonly _sdk;
|
|
14
|
+
private readonly _revisionId;
|
|
15
|
+
private _root;
|
|
16
|
+
private readonly _listNodesLimit;
|
|
17
|
+
private _showInstanceMappings;
|
|
18
|
+
private readonly _domainObject;
|
|
19
|
+
get root(): CadTreeNode | undefined;
|
|
20
|
+
constructor(sdk: INodesAndInstanceMappingsSdk, revisionId: RevisionId, { showInstanceMappings, listNodesLimit, domainObject, }?: CadLazyLoaderOptions);
|
|
21
|
+
get revisionId(): RevisionId;
|
|
22
|
+
onNodeLoaded(child: TreeNodeType, parent?: TreeNodeType): void;
|
|
23
|
+
loadInitialRoot(): Promise<TreeNodeType>;
|
|
24
|
+
loadChildren(parent: TreeNodeType): Promise<CadTreeNode[] | undefined>;
|
|
25
|
+
loadSiblings(sibling: TreeNodeType): Promise<TreeNodeType[] | undefined>;
|
|
26
|
+
forceNodeInTree(nodeId: number): Promise<CadTreeNode | undefined>;
|
|
27
|
+
private createCadTreeNode;
|
|
28
|
+
private deleteInstanceMapping;
|
|
29
|
+
private getNodeIdToInstanceMappingMap;
|
|
30
|
+
private list3DNodeAncestors;
|
|
31
|
+
private insertAncestors;
|
|
32
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { CheckboxState as e } from "../../utilities/types.js";
|
|
2
|
+
import { concatenateMapValues as t } from "../../../utilities/map/concatenateMapValues.js";
|
|
3
|
+
import { onSelectNode as n, onToggleNode as r } from "../tree-node/tree-node-functions.js";
|
|
4
|
+
import { CadTreeNode as i } from "./cad-tree-node.js";
|
|
5
|
+
import { updateHiddenNodes as a, updateSelectedNodes as o } from "./cad-node-update-styling.js";
|
|
6
|
+
//#region libs/shared/reveal-components/src/foundation/treeNodes/cad-tree-node/cad-lazy-loader.ts
|
|
7
|
+
var s = class {
|
|
8
|
+
_sdk;
|
|
9
|
+
_revisionId;
|
|
10
|
+
_root;
|
|
11
|
+
_listNodesLimit;
|
|
12
|
+
_showInstanceMappings;
|
|
13
|
+
_domainObject;
|
|
14
|
+
get root() {
|
|
15
|
+
return this._root;
|
|
16
|
+
}
|
|
17
|
+
constructor(e, t, { showInstanceMappings: n = !1, listNodesLimit: r = 100, domainObject: i } = {}) {
|
|
18
|
+
this._sdk = e, this._revisionId = t, this._listNodesLimit = r, this._showInstanceMappings = n, this._domainObject = i;
|
|
19
|
+
}
|
|
20
|
+
get revisionId() {
|
|
21
|
+
return this._revisionId;
|
|
22
|
+
}
|
|
23
|
+
onNodeLoaded(t, n) {
|
|
24
|
+
t.checkboxState = n === void 0 ? e.All : n.checkboxState;
|
|
25
|
+
}
|
|
26
|
+
async loadInitialRoot() {
|
|
27
|
+
if (this._root !== void 0) return this._root;
|
|
28
|
+
let e = (await this._sdk.list3DNodes(this._revisionId.modelId, this._revisionId.revisionId, {
|
|
29
|
+
depth: 0,
|
|
30
|
+
limit: 1
|
|
31
|
+
})).items[0], t = await this.getNodeIdToInstanceMappingMap([e]), n = this.createCadTreeNode(e, t);
|
|
32
|
+
if (this.onNodeLoaded(n), n.isExpanded = !0, n.needLoadChildren && n.isParent && (await n.loadChildren(this), n.childCount === 1)) for (let e of n.getChildren()) e.isExpanded = !0;
|
|
33
|
+
return this._root = n, this._root;
|
|
34
|
+
}
|
|
35
|
+
async loadChildren(e) {
|
|
36
|
+
if (!(e instanceof i)) throw Error("Parent node should be a CadTreeNode");
|
|
37
|
+
let t = await this._sdk.list3DNodes(this._revisionId.modelId, this._revisionId.revisionId, {
|
|
38
|
+
depth: 1,
|
|
39
|
+
limit: this._listNodesLimit,
|
|
40
|
+
nodeId: e.nodeId
|
|
41
|
+
});
|
|
42
|
+
t.items = t.items.filter((t) => t.id !== e.nodeId);
|
|
43
|
+
let n = await this.getNodeIdToInstanceMappingMap(t.items), r = t.items.map((e) => this.createCadTreeNode(e, n));
|
|
44
|
+
if (t.nextCursor !== void 0) {
|
|
45
|
+
let e = r[r.length - 1];
|
|
46
|
+
e.loadSiblingCursor = t.nextCursor;
|
|
47
|
+
}
|
|
48
|
+
return r;
|
|
49
|
+
}
|
|
50
|
+
async loadSiblings(e) {
|
|
51
|
+
if (!(e instanceof i)) throw Error("Sibling node should be a CadTreeNode");
|
|
52
|
+
let t = e.parent;
|
|
53
|
+
if (!(t instanceof i)) throw Error("Parent of sibling node should be a CadTreeNode");
|
|
54
|
+
let n = await this._sdk.list3DNodes(this._revisionId.modelId, this._revisionId.revisionId, {
|
|
55
|
+
depth: 1,
|
|
56
|
+
limit: this._listNodesLimit,
|
|
57
|
+
nodeId: t.nodeId,
|
|
58
|
+
cursor: e.loadSiblingCursor
|
|
59
|
+
}), r = await this.getNodeIdToInstanceMappingMap(n.items);
|
|
60
|
+
n.items = n.items.filter((e) => e.id !== t.nodeId);
|
|
61
|
+
let a = n.items.map((e) => this.createCadTreeNode(e, r));
|
|
62
|
+
if (n.nextCursor !== void 0) {
|
|
63
|
+
let e = a[a.length - 1];
|
|
64
|
+
e.loadSiblingCursor = n.nextCursor;
|
|
65
|
+
}
|
|
66
|
+
return a;
|
|
67
|
+
}
|
|
68
|
+
async forceNodeInTree(e) {
|
|
69
|
+
let t = this._root;
|
|
70
|
+
if (t === void 0) return;
|
|
71
|
+
let n = t.getThisOrDescendantByNodeId(e);
|
|
72
|
+
return n === void 0 ? await this.list3DNodeAncestors(e).then(async (e) => {
|
|
73
|
+
if (t === void 0) return;
|
|
74
|
+
let n = await this.getNodeIdToInstanceMappingMap(e), r = this.insertAncestors(t, e, n);
|
|
75
|
+
if (r !== void 0) return r.expandAllAncestors(), r;
|
|
76
|
+
}) : (n.expandAllAncestors(), n);
|
|
77
|
+
}
|
|
78
|
+
createCadTreeNode(e, t) {
|
|
79
|
+
let s = new i(e, { instanceMappingOptions: this._showInstanceMappings ? {
|
|
80
|
+
instanceMappings: t?.get(e.id) ?? [],
|
|
81
|
+
deleteInstanceMapping: (e) => this.deleteInstanceMapping(e)
|
|
82
|
+
} : void 0 }), c = this._domainObject;
|
|
83
|
+
return c !== void 0 && (s.onSelect = () => {
|
|
84
|
+
n(s, !1, !1) && o(c, s.getRoot());
|
|
85
|
+
}, s.toggleVisible = () => {
|
|
86
|
+
r(s) && a(c, s.getRoot());
|
|
87
|
+
}), s;
|
|
88
|
+
}
|
|
89
|
+
deleteInstanceMapping(e) {
|
|
90
|
+
return this._sdk.deleteInstanceMapping(this._revisionId.modelId, this._revisionId.revisionId, e);
|
|
91
|
+
}
|
|
92
|
+
async getNodeIdToInstanceMappingMap(e) {
|
|
93
|
+
if (this._showInstanceMappings === !1) return;
|
|
94
|
+
let n = await this._sdk.filterInstanceMappings(this._revisionId.modelId, this._revisionId.revisionId, e);
|
|
95
|
+
return t(n.items.map((e) => [e.node.nodeId, e]));
|
|
96
|
+
}
|
|
97
|
+
async list3DNodeAncestors(e) {
|
|
98
|
+
return (await this._sdk.list3DNodeAncestors(this._revisionId.modelId, this._revisionId.revisionId, e)).items;
|
|
99
|
+
}
|
|
100
|
+
insertAncestors(e, t, n) {
|
|
101
|
+
if (t.length === 0) return;
|
|
102
|
+
if (t[0].id !== e.nodeId) throw Error("The root node is not the same as the current node");
|
|
103
|
+
let r = e;
|
|
104
|
+
for (let e = 1; e < t.length; e++) {
|
|
105
|
+
let i = t[e], a = r.getChildByNodeId(i.id);
|
|
106
|
+
if (a !== void 0) {
|
|
107
|
+
r = a;
|
|
108
|
+
continue;
|
|
109
|
+
}
|
|
110
|
+
let o = this.createCadTreeNode(i, n), s = r.getLastChild();
|
|
111
|
+
s?.needLoadSiblings && (o.loadSiblingCursor = s.loadSiblingCursor, s.loadSiblingCursor = void 0), r.addChild(o), r.needLoadChildren && (r.needLoadChildren = !1, r.needLoadSiblings = !0), o.needLoadSiblings = !0, this.onNodeLoaded?.(o, r), r = o;
|
|
112
|
+
}
|
|
113
|
+
return r;
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
//#endregion
|
|
117
|
+
export { s as CadLazyLoader };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CadDomainObject } from '../../../domains/reveal/cad/CadDomainObject';
|
|
2
|
+
import { CadTreeNode } from './cad-tree-node';
|
|
3
|
+
export declare const HIDDEN_NODES: symbol;
|
|
4
|
+
export declare const SELECTED_NODES: symbol;
|
|
5
|
+
export declare function updateHiddenNodes(domainObject: CadDomainObject, root: CadTreeNode): void;
|
|
6
|
+
export declare function updateSelectedNodes(domainObject: CadDomainObject, root: CadTreeNode): void;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { CheckboxState as e } from "../../utilities/types.js";
|
|
2
|
+
import { CadTreeNode as t } from "./cad-tree-node.js";
|
|
3
|
+
import { DefaultNodeAppearance as n, IndexSet as r, NumericRange as i, TreeIndexNodeCollection as a } from "@cognite/reveal";
|
|
4
|
+
//#region libs/shared/reveal-components/src/foundation/treeNodes/cad-tree-node/cad-node-update-styling.ts
|
|
5
|
+
var o = Symbol("hiddenNodes"), s = Symbol("selectedNodes");
|
|
6
|
+
function c(e, t) {
|
|
7
|
+
let s = new r(), c = !1;
|
|
8
|
+
for (let e of u(t)) c = !0, s.addRange(new i(e.treeIndex, e.subtreeSize));
|
|
9
|
+
let l = e.getStyledNodeCollections(o);
|
|
10
|
+
if (l !== void 0 && l.length > 0) {
|
|
11
|
+
d(l[0].collection, s, c);
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
if (!c) return;
|
|
15
|
+
let f = new a(s);
|
|
16
|
+
e.addStyledNodeCollections(o, [{
|
|
17
|
+
collection: f,
|
|
18
|
+
appearance: n.Hidden
|
|
19
|
+
}]);
|
|
20
|
+
}
|
|
21
|
+
function l(e, o) {
|
|
22
|
+
let c = new r(), l = !1;
|
|
23
|
+
for (let e of o.getThisAndDescendantsByType(t)) e.isSelected && (l = !0, c.addRange(new i(e.treeIndex, e.subtreeSize)));
|
|
24
|
+
let u = e.getStyledNodeCollections(s);
|
|
25
|
+
if (u !== void 0 && u.length > 0) {
|
|
26
|
+
d(u[0].collection, c, l);
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
if (!l) return;
|
|
30
|
+
let f = e.getDefaultStyling().renderGhosted === !0, p = new a(c), m = f ? { renderGhosted: !1 } : n.Highlighted;
|
|
31
|
+
e.addStyledNodeCollections(s, [{
|
|
32
|
+
collection: p,
|
|
33
|
+
appearance: m
|
|
34
|
+
}]);
|
|
35
|
+
}
|
|
36
|
+
function* u(n) {
|
|
37
|
+
if (n.checkboxState === e.None) {
|
|
38
|
+
yield n;
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
if (n.checkboxState !== e.All) for (let e of n.getChildrenByType(t)) yield* u(e);
|
|
42
|
+
}
|
|
43
|
+
function d(e, t, n) {
|
|
44
|
+
e instanceof a && (n ? e.updateSet(t) : e.clear());
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
export { o as HIDDEN_NODES, s as SELECTED_NODES, c as updateHiddenNodes, l as updateSelectedNodes };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Signal } from '@cognite/signal-utils';
|
|
2
|
+
import { IconColor, IconName, CheckboxState } from '../../utilities/types';
|
|
3
|
+
import { TreeNodeType } from '../tree-node-type/tree-node-type';
|
|
4
|
+
import { CadLazyLoader } from './cad-lazy-loader';
|
|
5
|
+
import { CadTreeNode } from './cad-tree-node';
|
|
6
|
+
import { RevisionId } from './cad-types';
|
|
7
|
+
/**
|
|
8
|
+
* This adapter carries its own `CadLazyLoader` reference instead of
|
|
9
|
+
* relying on that ambient argument, so expanding a node several levels deep
|
|
10
|
+
* still triggers lazy loading correctly.
|
|
11
|
+
*/
|
|
12
|
+
export declare class CadTreeNodeViewAdapter implements TreeNodeType {
|
|
13
|
+
private readonly _node;
|
|
14
|
+
private readonly _loader;
|
|
15
|
+
constructor(node: CadTreeNode, loader: CadLazyLoader);
|
|
16
|
+
/** The wrapped CAD node, e.g. for reading `nodeId` when showing node info. */
|
|
17
|
+
get node(): CadTreeNode;
|
|
18
|
+
/** The model/revision this node's CAD model belongs to. */
|
|
19
|
+
get revisionId(): RevisionId;
|
|
20
|
+
get updateSignal(): Signal<number>;
|
|
21
|
+
get id(): TreeNodeType['id'];
|
|
22
|
+
get label(): string;
|
|
23
|
+
get isSelected(): boolean;
|
|
24
|
+
set isSelected(value: boolean);
|
|
25
|
+
get isExpanded(): boolean;
|
|
26
|
+
set isExpanded(value: boolean);
|
|
27
|
+
get isParent(): boolean;
|
|
28
|
+
get hasBoldLabel(): boolean | undefined;
|
|
29
|
+
get hasInfoIcon(): boolean | undefined;
|
|
30
|
+
get icon(): IconName;
|
|
31
|
+
get iconColor(): IconColor;
|
|
32
|
+
get isCheckboxEnabled(): boolean | undefined;
|
|
33
|
+
get checkboxState(): CheckboxState | undefined;
|
|
34
|
+
set checkboxState(value: CheckboxState | undefined);
|
|
35
|
+
get tooltip(): string | undefined;
|
|
36
|
+
get isLoadingChildren(): boolean | undefined;
|
|
37
|
+
get isLoadingSiblings(): boolean | undefined;
|
|
38
|
+
get needLoadSiblings(): boolean | undefined;
|
|
39
|
+
get onSelect(): (() => void) | undefined;
|
|
40
|
+
get toggleVisible(): (() => void) | undefined;
|
|
41
|
+
getChildren(): Generator<TreeNodeType>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { CadTreeNode as e } from "./cad-tree-node.js";
|
|
2
|
+
//#region libs/shared/reveal-components/src/foundation/treeNodes/cad-tree-node/cad-tree-node-view-adapter.ts
|
|
3
|
+
var t = class t {
|
|
4
|
+
_node;
|
|
5
|
+
_loader;
|
|
6
|
+
constructor(e, t) {
|
|
7
|
+
this._node = e, this._loader = t;
|
|
8
|
+
}
|
|
9
|
+
get node() {
|
|
10
|
+
return this._node;
|
|
11
|
+
}
|
|
12
|
+
get revisionId() {
|
|
13
|
+
return this._loader.revisionId;
|
|
14
|
+
}
|
|
15
|
+
get updateSignal() {
|
|
16
|
+
return this._node.updateSignal;
|
|
17
|
+
}
|
|
18
|
+
get id() {
|
|
19
|
+
return this._node.id;
|
|
20
|
+
}
|
|
21
|
+
get label() {
|
|
22
|
+
return this._node.label;
|
|
23
|
+
}
|
|
24
|
+
get isSelected() {
|
|
25
|
+
return this._node.isSelected;
|
|
26
|
+
}
|
|
27
|
+
set isSelected(e) {
|
|
28
|
+
this._node.isSelected = e;
|
|
29
|
+
}
|
|
30
|
+
get isExpanded() {
|
|
31
|
+
return this._node.isExpanded;
|
|
32
|
+
}
|
|
33
|
+
set isExpanded(e) {
|
|
34
|
+
this._node.isExpanded = e;
|
|
35
|
+
}
|
|
36
|
+
get isParent() {
|
|
37
|
+
return this._node.isParent;
|
|
38
|
+
}
|
|
39
|
+
get hasBoldLabel() {
|
|
40
|
+
return this._node.hasBoldLabel;
|
|
41
|
+
}
|
|
42
|
+
get hasInfoIcon() {
|
|
43
|
+
return this._node.hasInfoIcon;
|
|
44
|
+
}
|
|
45
|
+
get icon() {
|
|
46
|
+
return this._node.icon;
|
|
47
|
+
}
|
|
48
|
+
get iconColor() {
|
|
49
|
+
return this._node.iconColor;
|
|
50
|
+
}
|
|
51
|
+
get isCheckboxEnabled() {
|
|
52
|
+
return this._node.isCheckboxEnabled;
|
|
53
|
+
}
|
|
54
|
+
get checkboxState() {
|
|
55
|
+
return this._node.checkboxState;
|
|
56
|
+
}
|
|
57
|
+
set checkboxState(e) {
|
|
58
|
+
this._node.checkboxState = e;
|
|
59
|
+
}
|
|
60
|
+
get tooltip() {
|
|
61
|
+
return this._node.tooltip;
|
|
62
|
+
}
|
|
63
|
+
get isLoadingChildren() {
|
|
64
|
+
return this._node.isLoadingChildren;
|
|
65
|
+
}
|
|
66
|
+
get isLoadingSiblings() {
|
|
67
|
+
return this._node.isLoadingSiblings;
|
|
68
|
+
}
|
|
69
|
+
get needLoadSiblings() {
|
|
70
|
+
return this._node.needLoadSiblings;
|
|
71
|
+
}
|
|
72
|
+
get onSelect() {
|
|
73
|
+
return this._node.onSelect;
|
|
74
|
+
}
|
|
75
|
+
get toggleVisible() {
|
|
76
|
+
return this._node.toggleVisible;
|
|
77
|
+
}
|
|
78
|
+
*getChildren() {
|
|
79
|
+
for (let n of this._node.getChildren(this._loader)) n instanceof e && (yield new t(n, this._loader));
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
//#endregion
|
|
83
|
+
export { t as CadTreeNodeViewAdapter };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { CadNodeMapping } from '../../../data-providers';
|
|
2
|
+
import { UniqueId } from '../../utilities/types';
|
|
3
|
+
import { TreeNode } from '../tree-node/tree-node';
|
|
4
|
+
import { SubsetOfNode3D } from './cad-types';
|
|
5
|
+
export type DeleteInstanceMappingDelegate = (instanceMapping: CadNodeMapping) => Promise<void>;
|
|
6
|
+
export declare class CadTreeNode extends TreeNode {
|
|
7
|
+
private readonly _nodeId;
|
|
8
|
+
private readonly _treeIndex;
|
|
9
|
+
private readonly _subtreeSize;
|
|
10
|
+
private _instanceMappings;
|
|
11
|
+
private readonly _deleteInstanceMappingCallback;
|
|
12
|
+
private _loadSiblingCursor?;
|
|
13
|
+
onSelect?: () => void;
|
|
14
|
+
toggleVisible?: () => void;
|
|
15
|
+
constructor(node: SubsetOfNode3D, options?: {
|
|
16
|
+
instanceMappingOptions?: {
|
|
17
|
+
instanceMappings: CadNodeMapping[];
|
|
18
|
+
deleteInstanceMapping: DeleteInstanceMappingDelegate;
|
|
19
|
+
};
|
|
20
|
+
});
|
|
21
|
+
get id(): UniqueId;
|
|
22
|
+
get nodeId(): number;
|
|
23
|
+
get treeIndex(): number;
|
|
24
|
+
get subtreeSize(): number;
|
|
25
|
+
get loadSiblingCursor(): string | undefined;
|
|
26
|
+
set loadSiblingCursor(value: string | undefined);
|
|
27
|
+
areEqual(child: TreeNode): boolean;
|
|
28
|
+
getChildByNodeId(nodeId: number): CadTreeNode | undefined;
|
|
29
|
+
getThisOrDescendantByNodeId(nodeId: number): CadTreeNode | undefined;
|
|
30
|
+
getThisOrDescendantByTreeIndex(treeIndex: number): CadTreeNode | undefined;
|
|
31
|
+
getThisOrDescendantsByTreeIndices(treeIndices: number[]): Generator<CadTreeNode>;
|
|
32
|
+
getRoot(): CadTreeNode;
|
|
33
|
+
getInstanceMappings(): readonly Readonly<CadNodeMapping>[];
|
|
34
|
+
addInstanceMapping(assetMapping: CadNodeMapping): void;
|
|
35
|
+
deleteInstanceMapping(instanceMapping: CadNodeMapping): Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* This function ensure same conversion of treeIndex to UniqueId
|
|
38
|
+
* @param treeIndex - The tree index to convert to string
|
|
39
|
+
* @returns The tree index as a UniqueId
|
|
40
|
+
*/
|
|
41
|
+
static treeIndexToString(treeIndex: number): UniqueId;
|
|
42
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { createInstanceKey as e } from "../../../data-providers/cache/idAndKeyTranslation.js";
|
|
2
|
+
import { TreeNode as t } from "../tree-node/tree-node.js";
|
|
3
|
+
//#region libs/shared/reveal-components/src/foundation/treeNodes/cad-tree-node/cad-tree-node.ts
|
|
4
|
+
var n = class n extends t {
|
|
5
|
+
_nodeId;
|
|
6
|
+
_treeIndex;
|
|
7
|
+
_subtreeSize;
|
|
8
|
+
_instanceMappings;
|
|
9
|
+
_deleteInstanceMappingCallback;
|
|
10
|
+
_loadSiblingCursor;
|
|
11
|
+
onSelect;
|
|
12
|
+
toggleVisible;
|
|
13
|
+
constructor(e, t) {
|
|
14
|
+
super(), this._nodeId = e.id, this._treeIndex = e.treeIndex, this._subtreeSize = e.subtreeSize, this._instanceMappings = t?.instanceMappingOptions?.instanceMappings, this.label = e.name === "" ? e.id.toString() : e.name, this.needLoadChildren = e.subtreeSize > 1, this.hasInfoIcon = !0, this._deleteInstanceMappingCallback = t?.instanceMappingOptions?.deleteInstanceMapping;
|
|
15
|
+
}
|
|
16
|
+
get id() {
|
|
17
|
+
return n.treeIndexToString(this.treeIndex);
|
|
18
|
+
}
|
|
19
|
+
get nodeId() {
|
|
20
|
+
return this._nodeId;
|
|
21
|
+
}
|
|
22
|
+
get treeIndex() {
|
|
23
|
+
return this._treeIndex;
|
|
24
|
+
}
|
|
25
|
+
get subtreeSize() {
|
|
26
|
+
return this._subtreeSize;
|
|
27
|
+
}
|
|
28
|
+
get loadSiblingCursor() {
|
|
29
|
+
return this._loadSiblingCursor;
|
|
30
|
+
}
|
|
31
|
+
set loadSiblingCursor(e) {
|
|
32
|
+
this._loadSiblingCursor = e, this.needLoadSiblings = e !== void 0;
|
|
33
|
+
}
|
|
34
|
+
areEqual(e) {
|
|
35
|
+
return e instanceof n && e.nodeId === this.nodeId && e.treeIndex === this.treeIndex;
|
|
36
|
+
}
|
|
37
|
+
getChildByNodeId(e) {
|
|
38
|
+
for (let t of this.getChildrenByType(n)) if (t.nodeId === e) return t;
|
|
39
|
+
}
|
|
40
|
+
getThisOrDescendantByNodeId(e) {
|
|
41
|
+
for (let t of this.getThisAndDescendantsByType(n)) if (t.nodeId === e) return t;
|
|
42
|
+
}
|
|
43
|
+
getThisOrDescendantByTreeIndex(e) {
|
|
44
|
+
for (let t of this.getThisAndDescendantsByType(n)) if (t.treeIndex === e) return t;
|
|
45
|
+
}
|
|
46
|
+
*getThisOrDescendantsByTreeIndices(e) {
|
|
47
|
+
for (let t of this.getThisAndDescendantsByType(n)) e.indexOf(t.treeIndex) >= 0 && (yield t);
|
|
48
|
+
}
|
|
49
|
+
getRoot() {
|
|
50
|
+
return this.parent !== void 0 && this.parent instanceof n ? this.parent.getRoot() : this;
|
|
51
|
+
}
|
|
52
|
+
getInstanceMappings() {
|
|
53
|
+
return [...this._instanceMappings ?? []];
|
|
54
|
+
}
|
|
55
|
+
addInstanceMapping(e) {
|
|
56
|
+
this._instanceMappings = [...this._instanceMappings ?? [], e], this.update();
|
|
57
|
+
}
|
|
58
|
+
async deleteInstanceMapping(t) {
|
|
59
|
+
if (this._instanceMappings === void 0) return;
|
|
60
|
+
let n = e(t.instance), r = this._instanceMappings.find((r) => n === e(r.instance) && r.node.nodeId === t.node.nodeId);
|
|
61
|
+
r !== void 0 && (this._instanceMappings = this._instanceMappings.filter((e) => e !== r), await this._deleteInstanceMappingCallback?.(t), this.update());
|
|
62
|
+
}
|
|
63
|
+
static treeIndexToString(e) {
|
|
64
|
+
return e.toString();
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
//#endregion
|
|
68
|
+
export { n as CadTreeNode };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CogniteClient } from '@cognite/sdk';
|
|
2
|
+
import { CadNodeMapping } from '../../../../data-providers';
|
|
3
|
+
import { SubsetOfNode3D } from '../cad-types';
|
|
4
|
+
import { IInstanceMappingsSdk } from './i-nodes-and-instance-mappings-sdk';
|
|
5
|
+
export declare class ClassicInstanceMappingsSdk implements IInstanceMappingsSdk {
|
|
6
|
+
private _sdk;
|
|
7
|
+
constructor(_sdk: CogniteClient);
|
|
8
|
+
filterInstanceMappings(modelId: number, revisionId: number, nodes: SubsetOfNode3D[]): Promise<{
|
|
9
|
+
items: CadNodeMapping[];
|
|
10
|
+
}>;
|
|
11
|
+
deleteInstanceMapping(modelId: number, revisionId: number, instanceMapping: CadNodeMapping): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { isClassicInstanceId as e } from "../../../../utilities/instanceIds/typeGuards.js";
|
|
2
|
+
import { isDefined as t } from "../../../../utilities/isDefined.js";
|
|
3
|
+
import "../../../../utilities/index.js";
|
|
4
|
+
//#region libs/shared/reveal-components/src/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/classic-instance-mappings-sdk.ts
|
|
5
|
+
var n = class {
|
|
6
|
+
_sdk;
|
|
7
|
+
constructor(e) {
|
|
8
|
+
this._sdk = e;
|
|
9
|
+
}
|
|
10
|
+
async filterInstanceMappings(e, n, r) {
|
|
11
|
+
if (r.length === 0) return { items: [] };
|
|
12
|
+
let i = r.map((e) => e.id), a = this._sdk.assetMappings3D.filter(e, n, { filter: { nodeIds: i } }), o = {
|
|
13
|
+
getDmsInstances: !0,
|
|
14
|
+
filter: { nodeIds: i }
|
|
15
|
+
}, s = this._sdk.assetMappings3D.filter(e, n, o);
|
|
16
|
+
return { items: [...(await a).items, ...(await s).items].map((e) => {
|
|
17
|
+
if (e.treeIndex !== void 0 && e.subtreeSize !== void 0) return {
|
|
18
|
+
node: {
|
|
19
|
+
nodeId: e.nodeId,
|
|
20
|
+
treeIndex: e.treeIndex,
|
|
21
|
+
subtreeSize: e.subtreeSize
|
|
22
|
+
},
|
|
23
|
+
instance: e.assetInstanceId ?? e.assetId,
|
|
24
|
+
sourceType: "assetMapping"
|
|
25
|
+
};
|
|
26
|
+
}).filter(t) };
|
|
27
|
+
}
|
|
28
|
+
async deleteInstanceMapping(t, n, r) {
|
|
29
|
+
let i = e(r.instance) ? { assetId: r.instance } : {
|
|
30
|
+
assetId: 0,
|
|
31
|
+
assetInstanceId: r.instance
|
|
32
|
+
};
|
|
33
|
+
await this._sdk.assetMappings3D.delete(t, n, [{
|
|
34
|
+
nodeId: r.node.nodeId,
|
|
35
|
+
...i
|
|
36
|
+
}]);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
//#endregion
|
|
40
|
+
export { n as ClassicInstanceMappingsSdk };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { List3DNodesQuery, Node3D } from '@cognite/sdk';
|
|
2
|
+
import { CadNodeMapping } from '../../../../data-providers';
|
|
3
|
+
import { SubsetOfNode3D } from '../cad-types';
|
|
4
|
+
export type INodesSdk = {
|
|
5
|
+
list3DNodes: (modelId: number, revisionId: number, query: List3DNodesQuery) => Promise<{
|
|
6
|
+
items: Node3D[];
|
|
7
|
+
nextCursor?: string;
|
|
8
|
+
}>;
|
|
9
|
+
list3DNodeAncestors: (modelId: number, revisionId: number, nodeId: number) => Promise<{
|
|
10
|
+
items: Node3D[];
|
|
11
|
+
}>;
|
|
12
|
+
};
|
|
13
|
+
export type IInstanceMappingsSdk = {
|
|
14
|
+
filterInstanceMappings: (modelId: number, revisionId: number, nodes: SubsetOfNode3D[]) => Promise<{
|
|
15
|
+
items: CadNodeMapping[];
|
|
16
|
+
}>;
|
|
17
|
+
deleteInstanceMapping: (modelId: number, revisionId: number, instanceMapping: CadNodeMapping) => Promise<void>;
|
|
18
|
+
};
|
|
19
|
+
export type INodesAndInstanceMappingsSdk = INodesSdk & IInstanceMappingsSdk;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CogniteClient, List3DNodesQuery, Node3D } from '@cognite/sdk';
|
|
2
|
+
import { CadNodeMapping } from '../../../../data-providers';
|
|
3
|
+
import { SubsetOfNode3D } from '../cad-types';
|
|
4
|
+
import { IInstanceMappingsSdk, INodesAndInstanceMappingsSdk } from './i-nodes-and-instance-mappings-sdk';
|
|
5
|
+
export declare class NodesAndInstanceMappingsSdk implements INodesAndInstanceMappingsSdk {
|
|
6
|
+
private readonly _sdk;
|
|
7
|
+
private readonly _instanceMappingsSdk;
|
|
8
|
+
constructor(sdk: CogniteClient, instanceMappingsSdk: IInstanceMappingsSdk);
|
|
9
|
+
list3DNodes(modelId: number, revisionId: number, query: List3DNodesQuery): Promise<{
|
|
10
|
+
items: Node3D[];
|
|
11
|
+
nextCursor?: string;
|
|
12
|
+
}>;
|
|
13
|
+
list3DNodeAncestors(modelId: number, revisionId: number, nodeId: number): Promise<{
|
|
14
|
+
items: Node3D[];
|
|
15
|
+
}>;
|
|
16
|
+
filterInstanceMappings(modelId: number, revisionId: number, nodes: SubsetOfNode3D[]): Promise<{
|
|
17
|
+
items: CadNodeMapping[];
|
|
18
|
+
}>;
|
|
19
|
+
deleteInstanceMapping(modelId: number, revisionId: number, mapping: CadNodeMapping): Promise<void>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region libs/shared/reveal-components/src/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/nodes-and-instance-mappings-sdk.ts
|
|
2
|
+
var e = class {
|
|
3
|
+
_sdk;
|
|
4
|
+
_instanceMappingsSdk;
|
|
5
|
+
constructor(e, t) {
|
|
6
|
+
this._sdk = e, this._instanceMappingsSdk = t;
|
|
7
|
+
}
|
|
8
|
+
async list3DNodes(e, t, n) {
|
|
9
|
+
return await this._sdk.revisions3D.list3DNodes(e, t, n);
|
|
10
|
+
}
|
|
11
|
+
async list3DNodeAncestors(e, t, n) {
|
|
12
|
+
return await this._sdk.revisions3D.list3DNodeAncestors(e, t, n);
|
|
13
|
+
}
|
|
14
|
+
async filterInstanceMappings(e, t, n) {
|
|
15
|
+
return this._instanceMappingsSdk.filterInstanceMappings(e, t, n);
|
|
16
|
+
}
|
|
17
|
+
async deleteInstanceMapping(e, t, n) {
|
|
18
|
+
return this._instanceMappingsSdk.deleteInstanceMapping(e, t, n);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { e as NodesAndInstanceMappingsSdk };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { TreeNodeType } from './tree-node-type/tree-node-type';
|
|
File without changes
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { TreeNode as e } from "./tree-node.js";
|
|
2
|
+
import { clearSelection as t, onToggleNode as n } from "./tree-node-functions.js";
|
|
3
|
+
import { findIndex as r, findLastIndex as i } from "lodash-es";
|
|
4
|
+
//#region libs/shared/reveal-components/src/foundation/treeNodes/tree-node/tree-node-functions-on-key-down.ts
|
|
5
|
+
function a(e, n, r) {
|
|
6
|
+
if (n.key === "ArrowRight" || n.key === "ArrowLeft") return c(e, n.key === "ArrowRight"), !1;
|
|
7
|
+
if (n.key === "Escape") return t(e);
|
|
8
|
+
if (n.key === "Enter" || n.key === " ") return l(e);
|
|
9
|
+
if (n.key === "ArrowUp" || n.key === "ArrowDown") {
|
|
10
|
+
let t = n.key === "ArrowUp" ? -1 : 1, i = n.shiftKey;
|
|
11
|
+
return o(e, r, i, t);
|
|
12
|
+
}
|
|
13
|
+
return !1;
|
|
14
|
+
}
|
|
15
|
+
function o(e, t, n, r) {
|
|
16
|
+
let i = Array.from(e.getExpandedThisAndDescendants()), a = t.current, o = a === void 0 ? -1 : i.indexOf(a), c = a !== void 0 && a.isSelected && o >= 0;
|
|
17
|
+
if (c && n) {
|
|
18
|
+
let { minIndex: e, maxIndex: t } = s(i, o);
|
|
19
|
+
if (r < 0) {
|
|
20
|
+
if (t > o) return i[t].setSelected(!1);
|
|
21
|
+
if (e <= o) return e--, e < 0 ? !1 : i[e].setSelected();
|
|
22
|
+
} else if (e < o) return i[e].setSelected(!1);
|
|
23
|
+
else if (t >= o) return t++, t >= i.length ? !1 : i[t].setSelected();
|
|
24
|
+
}
|
|
25
|
+
c || (o = r < 0 ? u(i) : d(i), a = o >= 0 ? i[o] : void 0);
|
|
26
|
+
let l = !1;
|
|
27
|
+
if (a) {
|
|
28
|
+
let e = o + r;
|
|
29
|
+
if (e < 0 || e >= i.length) return !1;
|
|
30
|
+
let a = i[e];
|
|
31
|
+
!n && f(i, a) && (l = !0), a.setSelected() && (n || (t.current = a), l = !0);
|
|
32
|
+
}
|
|
33
|
+
return l;
|
|
34
|
+
}
|
|
35
|
+
function s(e, t) {
|
|
36
|
+
if (t < 0) throw Error("selectedIndex must be non-negative");
|
|
37
|
+
let n = t;
|
|
38
|
+
for (let r = t - 1; r >= 0 && e[r].isSelected; r--) n = r;
|
|
39
|
+
let r = t;
|
|
40
|
+
for (let n = t + 1; n < e.length && e[n].isSelected; n++) r = n;
|
|
41
|
+
return {
|
|
42
|
+
minIndex: n,
|
|
43
|
+
maxIndex: r
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function c(e, t) {
|
|
47
|
+
for (let n of e.getExpandedThisAndDescendants()) n.isSelected && (n.isExpanded = t);
|
|
48
|
+
}
|
|
49
|
+
function l(t) {
|
|
50
|
+
let r = !1;
|
|
51
|
+
for (let i of t.getThisAndDescendantsByType(e)) i.isSelected && n(i) && (r = !0);
|
|
52
|
+
return r;
|
|
53
|
+
}
|
|
54
|
+
function u(e) {
|
|
55
|
+
return r(e, (e) => e.isSelected);
|
|
56
|
+
}
|
|
57
|
+
function d(e) {
|
|
58
|
+
return i(e, (e) => e.isSelected);
|
|
59
|
+
}
|
|
60
|
+
function f(e, t) {
|
|
61
|
+
let n = !1;
|
|
62
|
+
for (let r of e) r !== t && r.setSelected(!1) && (n = !0);
|
|
63
|
+
return n;
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
export { a as onKeyDown };
|