@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,45 @@
|
|
|
1
|
+
import { useTranslation as e } from "../../i18n/I18n.js";
|
|
2
|
+
import { usePoiDomainObject as t } from "./usePoiDomainObject.js";
|
|
3
|
+
import { usePoiToolIsSaving as n, usePointsOfInterestTool as r } from "./usePointsOfInterestTool.js";
|
|
4
|
+
import { useState as i } from "react";
|
|
5
|
+
import { signal as a } from "@cognite/signal-utils";
|
|
6
|
+
import { useSignalValue as o } from "@cognite/signal-utils/react";
|
|
7
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/pointsOfInterest/usePendingPoiInfoSection.ts
|
|
8
|
+
var s = a(void 0);
|
|
9
|
+
function c(a) {
|
|
10
|
+
let { t: c } = e(), l = t(), u = r(), d = n(), [f, p] = i(a.properties.name), [m, h] = i(a.properties.description ?? ""), g = o(u?.pendingAssociatedInstance ?? s), [_, v] = i();
|
|
11
|
+
return {
|
|
12
|
+
name: f,
|
|
13
|
+
setName: p,
|
|
14
|
+
description: m,
|
|
15
|
+
setDescription: h,
|
|
16
|
+
instanceRef: g,
|
|
17
|
+
isSubmitting: d,
|
|
18
|
+
errorMessage: _,
|
|
19
|
+
canSubmit: f.trim() !== "" && !d,
|
|
20
|
+
handleSave: () => {
|
|
21
|
+
if (l === void 0 || f.trim() === "" || u?.isSaving()) return;
|
|
22
|
+
let e = l;
|
|
23
|
+
u?.setIsSaving(!0), v(void 0), (async () => {
|
|
24
|
+
try {
|
|
25
|
+
a.properties.name = f.trim(), a.properties.description = m.trim();
|
|
26
|
+
let t = (await e.save()).find((e) => e.id === a.id);
|
|
27
|
+
if (t === void 0) {
|
|
28
|
+
v(c({ key: "POINT_OF_INTEREST_CREATE_FAILED" }));
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
u?.notifyPointOfInterestCreated(t), e.setSelectedPointOfInterest(void 0);
|
|
32
|
+
} catch (e) {
|
|
33
|
+
console.error(e), v(c({ key: "POINT_OF_INTEREST_CREATE_FAILED" }));
|
|
34
|
+
} finally {
|
|
35
|
+
u?.setIsSaving(!1);
|
|
36
|
+
}
|
|
37
|
+
})();
|
|
38
|
+
},
|
|
39
|
+
handleCancel: () => {
|
|
40
|
+
u?.cancelPendingPointOfInterest();
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
export { c as usePendingPoiInfoSection };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PointOfInterest } from '../../../../domains/pointsOfInterest/types';
|
|
2
|
+
export type PoiCreateFlowState = {
|
|
3
|
+
isEditingPendingPoi: boolean;
|
|
4
|
+
lastCreatedPoi: PointOfInterest<unknown> | undefined;
|
|
5
|
+
clearLastCreatedPoi: () => void;
|
|
6
|
+
};
|
|
7
|
+
export declare function usePoiCreateFlowState(): PoiCreateFlowState;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PointsOfInterestStatus as e } from "../../../../domains/pointsOfInterest/types.js";
|
|
2
|
+
import { useSelectedPoi as t } from "./useSelectedPoi.js";
|
|
3
|
+
import { usePointsOfInterestTool as n } from "./usePointsOfInterestTool.js";
|
|
4
|
+
import { useCallback as r } from "react";
|
|
5
|
+
import { signal as i } from "@cognite/signal-utils";
|
|
6
|
+
import { useSignalValue as a } from "@cognite/signal-utils/react";
|
|
7
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/pointsOfInterest/usePoiCreateFlowState.ts
|
|
8
|
+
var o = i(void 0);
|
|
9
|
+
function s() {
|
|
10
|
+
let i = n(), s = t(), c = a(i?.lastCreatedPointOfInterest ?? o), l = r(() => {
|
|
11
|
+
i?.clearLastCreatedPointOfInterest();
|
|
12
|
+
}, [i]);
|
|
13
|
+
return {
|
|
14
|
+
isEditingPendingPoi: s?.status === e.PendingCreation,
|
|
15
|
+
lastCreatedPoi: c,
|
|
16
|
+
clearLastCreatedPoi: l
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { s as usePoiCreateFlowState };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useRenderTarget as e } from "../../RevealCanvas/ViewerContext.js";
|
|
2
|
+
import "../../RevealCanvas/index.js";
|
|
3
|
+
import { PointsOfInterestDomainObject as t } from "../../../../domains/pointsOfInterest/PointsOfInterestDomainObject.js";
|
|
4
|
+
import "../../../../domains/index.js";
|
|
5
|
+
import { useOnUpdateDomainObject as n } from "../hooks/useOnUpdateDomainObject.js";
|
|
6
|
+
import { useState as r } from "react";
|
|
7
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/pointsOfInterest/usePoiDomainObject.ts
|
|
8
|
+
function i() {
|
|
9
|
+
let i = e(), [a, o] = r(void 0);
|
|
10
|
+
return n(i.root, () => {
|
|
11
|
+
a === void 0 && o(i.root.getDescendantByType(t));
|
|
12
|
+
}), a;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { i as usePoiDomainObject };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EMPTY_ARRAY as e } from "../../../../utilities/constants.js";
|
|
2
|
+
import { useOnUpdateDomainObject as t } from "../hooks/useOnUpdateDomainObject.js";
|
|
3
|
+
import { usePoiDomainObject as n } from "./usePoiDomainObject.js";
|
|
4
|
+
import { useState as r } from "react";
|
|
5
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/pointsOfInterest/usePointsOfInterest.ts
|
|
6
|
+
var i = () => {
|
|
7
|
+
let i = n(), [a, o] = r([]);
|
|
8
|
+
return t(i, () => {
|
|
9
|
+
o([...i?.pointsOfInterest ?? e]);
|
|
10
|
+
}), a;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { i as usePointsOfInterest };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useRenderTarget as e } from "../../RevealCanvas/ViewerContext.js";
|
|
2
|
+
import "../../RevealCanvas/index.js";
|
|
3
|
+
import { PointsOfInterestTool as t } from "../../../../domains/pointsOfInterest/PointsOfInterestTool.js";
|
|
4
|
+
import { signal as n } from "@cognite/signal-utils";
|
|
5
|
+
import { useSignalValue as r } from "@cognite/signal-utils/react";
|
|
6
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/pointsOfInterest/usePointsOfInterestTool.ts
|
|
7
|
+
var i = n(!1);
|
|
8
|
+
function a() {
|
|
9
|
+
return e().commandsController.getToolByType(t);
|
|
10
|
+
}
|
|
11
|
+
function o() {
|
|
12
|
+
let e = a();
|
|
13
|
+
return r(e?.isSaving ?? i);
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { o as usePoiToolIsSaving, a as usePointsOfInterestTool };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { useOnUpdateDomainObject as e } from "../hooks/useOnUpdateDomainObject.js";
|
|
2
|
+
import { usePoiDomainObject as t } from "./usePoiDomainObject.js";
|
|
3
|
+
import { useState as n } from "react";
|
|
4
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/pointsOfInterest/useSelectedPoi.ts
|
|
5
|
+
function r() {
|
|
6
|
+
let r = t(), [i, a] = n(r?.selectedPointsOfInterest);
|
|
7
|
+
return e(r, () => {
|
|
8
|
+
a(r?.selectedPointsOfInterest);
|
|
9
|
+
}), i;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { r as useSelectedPoi };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { useRenderTarget as e } from "../../RevealCanvas/ViewerContext.js";
|
|
2
|
+
import "../../RevealCanvas/index.js";
|
|
3
|
+
import { PointsOfInterestStatus as t } from "../../../../domains/pointsOfInterest/types.js";
|
|
4
|
+
import { useOnUpdateDomainObject as n } from "../hooks/useOnUpdateDomainObject.js";
|
|
5
|
+
import { usePoiDomainObject as r } from "./usePoiDomainObject.js";
|
|
6
|
+
import { useEffect as i, useRef as a } from "react";
|
|
7
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/pointsOfInterest/useSyncSelectedPoi.ts
|
|
8
|
+
var o = (o, s) => {
|
|
9
|
+
let c = e(), l = r(), u = a(void 0);
|
|
10
|
+
n(l, () => {
|
|
11
|
+
let e = l?.selectedPointsOfInterest;
|
|
12
|
+
if (u.current !== e && l !== void 0) {
|
|
13
|
+
if (u.current = e, e?.status === t.PendingCreation) {
|
|
14
|
+
s(void 0);
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
s(e);
|
|
18
|
+
}
|
|
19
|
+
}), i(() => {
|
|
20
|
+
let e = l?.selectedPointsOfInterest;
|
|
21
|
+
(o !== void 0 || e?.status !== t.PendingCreation && e?.status !== t.PendingEditing) && (l?.setSelectedPointOfInterest(o), o !== void 0 && l?.ensureVisible(c));
|
|
22
|
+
}, [
|
|
23
|
+
o,
|
|
24
|
+
l,
|
|
25
|
+
c
|
|
26
|
+
]);
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { o as useSyncSelectedPoi };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Context, ReactElement } from 'react';
|
|
2
|
+
import { CadDomainObject } from '../../../../../domains/reveal/cad/CadDomainObject';
|
|
3
|
+
import { CadTreeNode } from '../../../../../foundation/treeNodes/cad-tree-node/cad-tree-node';
|
|
4
|
+
import { ILazyLoader } from '../../../../../foundation/treeNodes/tree-node-type/i-lazy-loader';
|
|
5
|
+
import { TreeView } from '../TreeView/tree-view';
|
|
6
|
+
export type CadTreeViewProps = {
|
|
7
|
+
showRoot?: boolean;
|
|
8
|
+
maxLabelLength?: number;
|
|
9
|
+
loader: ILazyLoader;
|
|
10
|
+
domainObject: CadDomainObject;
|
|
11
|
+
onClickInfo?: (node: CadTreeNode) => void;
|
|
12
|
+
};
|
|
13
|
+
export type CadTreeViewDependencies = {
|
|
14
|
+
TreeView: typeof TreeView;
|
|
15
|
+
};
|
|
16
|
+
export declare const defaultCadTreeViewDependencies: CadTreeViewDependencies;
|
|
17
|
+
export declare const CadTreeViewContext: Context<CadTreeViewDependencies>;
|
|
18
|
+
export declare const CadTreeView: (props: CadTreeViewProps) => ReactElement;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { useRenderTarget as e } from "../../../RevealCanvas/ViewerContext.js";
|
|
2
|
+
import "../../../RevealCanvas/index.js";
|
|
3
|
+
import { IconFactory as t } from "../../Factories/IconFactory.js";
|
|
4
|
+
import { CadTreeNode as n } from "../../../../../foundation/treeNodes/cad-tree-node/cad-tree-node.js";
|
|
5
|
+
import { TreeView as r } from "../TreeView/tree-view.js";
|
|
6
|
+
import { onKeyDownFunc as i, onSelectNodeFunc as a, onToggleNodeFunc as o, updateTreeByClickInViewer as s } from "./CadTreeViewCallbacks.js";
|
|
7
|
+
import { createContext as c, useCallback as l, useContext as u, useEffect as d, useRef as f } from "react";
|
|
8
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
9
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/treeView/CadTreeView/CadTreeView.tsx
|
|
10
|
+
var m = { TreeView: r }, h = c(m), g = (r) => {
|
|
11
|
+
let { TreeView: c } = u(h), m = e(), g = f(void 0), _ = f(null), { loader: v, domainObject: y } = r, { commandsController: b } = m;
|
|
12
|
+
d(() => {
|
|
13
|
+
let e = async (e, t, n) => {
|
|
14
|
+
await s(e, t, n, y, v, g, _);
|
|
15
|
+
};
|
|
16
|
+
return b.addEventListener(e), () => {
|
|
17
|
+
b.removeEventListener(e);
|
|
18
|
+
};
|
|
19
|
+
}, [
|
|
20
|
+
v,
|
|
21
|
+
y,
|
|
22
|
+
b
|
|
23
|
+
]);
|
|
24
|
+
let x = l((e, t) => i(e, t, y, g, _), [y]), S = l((e, t, n) => {
|
|
25
|
+
a(e, t, n, y, g);
|
|
26
|
+
}, [y]), C = l((e) => {
|
|
27
|
+
o(e, y);
|
|
28
|
+
}, [y]), w = l((e) => {
|
|
29
|
+
r.onClickInfo !== void 0 && e instanceof n && r.onClickInfo(e);
|
|
30
|
+
}, [r]);
|
|
31
|
+
return /* @__PURE__ */ p(c, {
|
|
32
|
+
ref: _,
|
|
33
|
+
onSelectNode: S,
|
|
34
|
+
onToggleNode: C,
|
|
35
|
+
onKeyDown: x,
|
|
36
|
+
onClickInfo: w,
|
|
37
|
+
getIconFromIconName: t.getIcon,
|
|
38
|
+
loader: v,
|
|
39
|
+
maxLabelLength: r.maxLabelLength,
|
|
40
|
+
hasCheckboxes: !0,
|
|
41
|
+
showRoot: r.showRoot
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
//#endregion
|
|
45
|
+
export { g as CadTreeView, h as CadTreeViewContext, m as defaultCadTreeViewDependencies };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { CadDomainObject } from '../../../../../domains/reveal/cad/CadDomainObject';
|
|
2
|
+
import { BaseTool } from '../../../../../foundation/commands/BaseTool';
|
|
3
|
+
import { EventType } from '../../../../../foundation/renderTarget/CommandsController';
|
|
4
|
+
import { TreeNode } from '../../../../../foundation/treeNodes/tree-node/tree-node';
|
|
5
|
+
import { ILazyLoader } from '../../../../../foundation/treeNodes/tree-node-type/i-lazy-loader';
|
|
6
|
+
import { TreeNodeType } from '../../../../../foundation/treeNodes/tree-node-type/tree-node-type';
|
|
7
|
+
/**
|
|
8
|
+
* Handles node selection in a CAD tree view with support for shift and control key modifiers.
|
|
9
|
+
*
|
|
10
|
+
* @param node - The CAD tree node being selected
|
|
11
|
+
* @param isShift - Whether the shift key is pressed during selection (for range selection)
|
|
12
|
+
* @param isControl - Whether the control key is pressed during selection (for multi-selection)
|
|
13
|
+
* @param domainObject - The CAD domain object containing the tree structure
|
|
14
|
+
* @param lastSelectedNode - Mutable reference to track the last selected node for range selection
|
|
15
|
+
* @returns `true` if the selection state changed and nodes were updated, `false` otherwise
|
|
16
|
+
*/
|
|
17
|
+
export declare function onSelectNodeFunc(node: TreeNodeType, isShift: boolean, isControl: boolean, domainObject: CadDomainObject, lastSelectedNode: {
|
|
18
|
+
current: TreeNode | undefined;
|
|
19
|
+
}): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Toggles the visibility state of a CAD tree node and updates the hidden nodes in the domain object.
|
|
22
|
+
*
|
|
23
|
+
* @param node - The CAD tree node to toggle.
|
|
24
|
+
* @param domainObject - The CAD domain object containing the node hierarchy.
|
|
25
|
+
* @returns `true` if the node was successfully toggled and hidden nodes were updated, `false` otherwise.
|
|
26
|
+
*/
|
|
27
|
+
export declare function onToggleNodeFunc(node: TreeNodeType, domainObject: CadDomainObject): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Handles keyboard interactions for the CAD tree view component.
|
|
30
|
+
*
|
|
31
|
+
* This function processes keyboard events on tree nodes, updates node visibility or selection state
|
|
32
|
+
* based on the key pressed, and ensures the affected node is scrolled into view.
|
|
33
|
+
*
|
|
34
|
+
* @param root - The root tree node of the CAD tree structure
|
|
35
|
+
* @param event - The keyboard event triggered by user interaction
|
|
36
|
+
* @param domainObject - The CAD domain object managing the tree state
|
|
37
|
+
* @param lastSelectedNode - A mutable reference to the most recently selected tree node
|
|
38
|
+
* @param treeViewRef - A mutable reference to the tree view's DOM container element
|
|
39
|
+
* @returns `true` if the keyboard event was successfully processed, `false` if the root is not a CadTreeNode or if the base onKeyDown handler failed
|
|
40
|
+
*/
|
|
41
|
+
export declare function onKeyDownFunc(root: TreeNodeType, event: KeyboardEvent, domainObject: CadDomainObject, lastSelectedNode: {
|
|
42
|
+
current: TreeNode | undefined;
|
|
43
|
+
}, treeViewRef: {
|
|
44
|
+
current: HTMLDivElement | null;
|
|
45
|
+
}): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Updates the tree view based on a click event in the 3D viewer.
|
|
48
|
+
* This function handles click interactions in the viewer by finding the corresponding CAD node,
|
|
49
|
+
* selecting it in the tree view, and scrolling to make it visible.
|
|
50
|
+
*
|
|
51
|
+
* @param eventType - The type of event
|
|
52
|
+
* @param event - The pointer event containing interaction details
|
|
53
|
+
* @param tool - The active tool being used (must be a NavigationTool)
|
|
54
|
+
* @param domainObject - The CAD domain object containing the model data
|
|
55
|
+
* @param loader - Lazy loader for loading CAD data on demand
|
|
56
|
+
* @param treeViewRef - React ref to the tree view DOM element for scrolling
|
|
57
|
+
* @param lastSelectedNode - React ref to track the most recently selected tree node
|
|
58
|
+
*
|
|
59
|
+
* @returns A promise that resolves to `true` if the tree was successfully updated, `false` otherwise
|
|
60
|
+
*/
|
|
61
|
+
export declare function updateTreeByClickInViewer(eventType: EventType, event: PointerEvent | KeyboardEvent, tool: BaseTool, domainObject: CadDomainObject, loader: ILazyLoader, lastSelectedNode: {
|
|
62
|
+
current: TreeNode | undefined;
|
|
63
|
+
}, treeViewRef: {
|
|
64
|
+
current: HTMLDivElement | null;
|
|
65
|
+
}): Promise<boolean>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { NavigationTool as e } from "../../../../../foundation/concreteCommands/navigation/NavigationTool.js";
|
|
2
|
+
import { clearSelection as t, onSelectNode as n, onToggleNode as r } from "../../../../../foundation/treeNodes/tree-node/tree-node-functions.js";
|
|
3
|
+
import { CadTreeNode as i } from "../../../../../foundation/treeNodes/cad-tree-node/cad-tree-node.js";
|
|
4
|
+
import { updateHiddenNodes as a, updateSelectedNodes as o } from "../../../../../foundation/treeNodes/cad-tree-node/cad-node-update-styling.js";
|
|
5
|
+
import { onKeyDown as s } from "../../../../../foundation/treeNodes/tree-node/tree-node-functions-on-key-down.js";
|
|
6
|
+
import { scrollToNode as c } from "../TreeView/tree-view-scrolling.js";
|
|
7
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/treeView/CadTreeView/CadTreeViewCallbacks.ts
|
|
8
|
+
function l(e, t, r, a, s) {
|
|
9
|
+
if (!(e instanceof i)) return !1;
|
|
10
|
+
let c = n(e, t, r, s.current);
|
|
11
|
+
return t || (s.current = e), c ? (o(a, e.getRoot()), !0) : !1;
|
|
12
|
+
}
|
|
13
|
+
function u(e, t) {
|
|
14
|
+
return !(e instanceof i) || !r(e) ? !1 : (a(t, e.getRoot()), !0);
|
|
15
|
+
}
|
|
16
|
+
function d(e, t, n, r, l) {
|
|
17
|
+
return !(e instanceof i) || !s(e, t, r) ? !1 : (t.key === "Enter" || t.key === " " ? a(n, e) : o(n, e), c(l.current ?? void 0, r.current), !0);
|
|
18
|
+
}
|
|
19
|
+
async function f(r, a, s, l, u, d, f) {
|
|
20
|
+
if (Object.getPrototypeOf(s) !== e.prototype) return !1;
|
|
21
|
+
if (a instanceof KeyboardEvent) return r === "keyDown" && a.key === "Escape" && h(u);
|
|
22
|
+
if (r !== "click") return !1;
|
|
23
|
+
let m = await p(a, s, u, l);
|
|
24
|
+
if (m === void 0) return h(u);
|
|
25
|
+
if (!n(m, !1, !1)) return !1;
|
|
26
|
+
return o(l, m.getRoot()), c(f.current ?? void 0, m), d.current = m, !0;
|
|
27
|
+
function h(e) {
|
|
28
|
+
let n = e.root;
|
|
29
|
+
return !(n instanceof i) || !t(n) ? !1 : (o(l, n), !0);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
async function p(e, t, n, r) {
|
|
33
|
+
if (n.forceNodeInTree === void 0) return;
|
|
34
|
+
let a = await t.getIntersection(e);
|
|
35
|
+
if (a === void 0 || a.type !== "cad") return;
|
|
36
|
+
let o = a.model;
|
|
37
|
+
if (r.model !== o) return;
|
|
38
|
+
let s;
|
|
39
|
+
s = o.revisionId < 0 && o.modelId < 0 ? a.treeIndex : await o.mapTreeIndexToNodeId(a.treeIndex);
|
|
40
|
+
let c = await n.forceNodeInTree(s);
|
|
41
|
+
if (c !== void 0 && c instanceof i) return c;
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { d as onKeyDownFunc, l as onSelectNodeFunc, u as onToggleNodeFunc, f as updateTreeByClickInViewer };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseCommand } from '../../../../../domains';
|
|
2
|
+
import { TreeNodeType } from '../../../../../foundation/treeNodes/tree-node-type/tree-node-type';
|
|
3
|
+
/**
|
|
4
|
+
* Handles the selection of a domain object node.
|
|
5
|
+
* @param node - The tree node to be selected or deselected.
|
|
6
|
+
*/
|
|
7
|
+
export declare function onSelectDomainObject(node: TreeNodeType): void;
|
|
8
|
+
export declare function onToggleDomainObject(node: TreeNodeType): void;
|
|
9
|
+
export declare function getContextMenu(node: TreeNodeType): BaseCommand[] | undefined;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DomainObject as e } from "../../../../../foundation/domainObjects/DomainObject.js";
|
|
2
|
+
import "../../../../../domains/index.js";
|
|
3
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.function.tsx
|
|
4
|
+
function t(t) {
|
|
5
|
+
if (t.onSelect !== void 0) {
|
|
6
|
+
t.onSelect();
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
if (!(t instanceof e)) return;
|
|
10
|
+
let n = t.root;
|
|
11
|
+
for (let e of n.getThisAndDescendants()) e !== t && e.setSelected(!1);
|
|
12
|
+
t.setSelected(!t.isSelected);
|
|
13
|
+
}
|
|
14
|
+
function n(e) {
|
|
15
|
+
e.toggleVisible?.();
|
|
16
|
+
}
|
|
17
|
+
function r(t) {
|
|
18
|
+
if (t instanceof e) return t.getContextMenu();
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { r as getContextMenu, t as onSelectDomainObject, n as onToggleDomainObject };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { useRenderTarget as e } from "../../../RevealCanvas/ViewerContext.js";
|
|
2
|
+
import { IconFactory as t } from "../../Factories/IconFactory.js";
|
|
3
|
+
import { TreeView as n } from "../TreeView/tree-view.js";
|
|
4
|
+
import { getContextMenu as r, onSelectDomainObject as i, onToggleDomainObject as a } from "./DomainObjectTreeView.function.js";
|
|
5
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
6
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.tsx
|
|
7
|
+
var s = 20, c = () => {
|
|
8
|
+
let c = e();
|
|
9
|
+
return /* @__PURE__ */ o(n, {
|
|
10
|
+
maxLabelLength: s,
|
|
11
|
+
root: c.root,
|
|
12
|
+
onSelectNode: i,
|
|
13
|
+
onToggleNode: a,
|
|
14
|
+
getContextMenu: r,
|
|
15
|
+
getIconFromIconName: t.getIcon
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { c as DomainObjectTreeView };
|
package/dist/ui/components/commandBased/treeView/TreeView/components/get-children-as-array.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ILazyLoader } from '../../../../../../foundation/treeNodes/tree-node-type/i-lazy-loader';
|
|
2
|
+
import { TreeNodeType } from '../../../../../../foundation/treeNodes/tree-node-type/tree-node-type';
|
|
3
|
+
export declare function getChildrenAsArray(node: TreeNodeType, loader?: ILazyLoader, shouldUseExpanded?: boolean): TreeNodeType[] | undefined;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/treeView/TreeView/components/get-children-as-array.ts
|
|
2
|
+
function e(e, t, n = !0) {
|
|
3
|
+
if (!(n && !e.isExpanded) && e.getChildren(t).next().value !== void 0) return Array.from(e.getChildren(t));
|
|
4
|
+
}
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as getChildrenAsArray };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { TreeNodeType } from '../../../../../../foundation/treeNodes/tree-node-type/tree-node-type';
|
|
3
|
+
export type TreeViewCaretProps = {
|
|
4
|
+
node: TreeNodeType;
|
|
5
|
+
};
|
|
6
|
+
export declare const TreeViewCaret: ({ node }: TreeViewCaretProps) => ReactElement;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { CARET_COLOR as e, HOVER_CARET_COLOR as t } from "../constants.js";
|
|
2
|
+
import { useState as n } from "react";
|
|
3
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
4
|
+
import { IconCaretDown as i, IconCaretRight as a } from "@tabler/icons-react";
|
|
5
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/treeView/TreeView/components/tree-view-caret.tsx
|
|
6
|
+
var o = ({ node: e }) => {
|
|
7
|
+
let [t, o] = n(!1), c = s(t), l = "16px", u = {
|
|
8
|
+
color: c,
|
|
9
|
+
marginTop: "0px",
|
|
10
|
+
width: l,
|
|
11
|
+
height: l
|
|
12
|
+
};
|
|
13
|
+
if (e.isParent) {
|
|
14
|
+
let t = e.isExpanded ? i : a;
|
|
15
|
+
return /* @__PURE__ */ r(t, {
|
|
16
|
+
onClick: () => {
|
|
17
|
+
e.isExpanded = !e.isExpanded;
|
|
18
|
+
},
|
|
19
|
+
onMouseEnter: () => {
|
|
20
|
+
o(!0);
|
|
21
|
+
},
|
|
22
|
+
onMouseLeave: () => {
|
|
23
|
+
o(!1);
|
|
24
|
+
},
|
|
25
|
+
style: u
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
return /* @__PURE__ */ r("div", {
|
|
29
|
+
style: u,
|
|
30
|
+
className: "tree-view-caret"
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
function s(n) {
|
|
34
|
+
return n ? t : e;
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
export { o as TreeViewCaret };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { TreeNodeAction } from '../../../../../../foundation/treeNodes/tree-node-type/tree-node-actions';
|
|
3
|
+
import { TreeNodeType } from '../../../../../../foundation/treeNodes/tree-node-type/tree-node-type';
|
|
4
|
+
export type TreeViewCheckboxProps = {
|
|
5
|
+
node: TreeNodeType;
|
|
6
|
+
onToggleNode?: TreeNodeAction;
|
|
7
|
+
};
|
|
8
|
+
export declare const TreeViewCheckbox: ({ node, onToggleNode, }: TreeViewCheckboxProps) => ReactElement;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CheckboxState as e } from "../../../../../../foundation/utilities/types.js";
|
|
2
|
+
import { Fragment as t, jsx as n } from "react/jsx-runtime";
|
|
3
|
+
import { CheckboxItemControl as r } from "@cognite/aura/components/checkbox";
|
|
4
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/treeView/TreeView/components/tree-view-checkbox.tsx
|
|
5
|
+
var i = ({ node: i, onToggleNode: a }) => {
|
|
6
|
+
if (i.checkboxState === void 0) return /* @__PURE__ */ n(t, {});
|
|
7
|
+
if (i.checkboxState === e.Some) return /* @__PURE__ */ n(r, {
|
|
8
|
+
indeterminate: !0,
|
|
9
|
+
checked: !0,
|
|
10
|
+
disabled: i.isCheckboxEnabled !== !0,
|
|
11
|
+
"aria-disabled": i.isCheckboxEnabled !== !0,
|
|
12
|
+
onCheckedChange: () => {
|
|
13
|
+
a !== void 0 && a(i);
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
let o = i.checkboxState === e.All;
|
|
17
|
+
return /* @__PURE__ */ n(r, {
|
|
18
|
+
checked: o,
|
|
19
|
+
disabled: i.isCheckboxEnabled !== !0,
|
|
20
|
+
"aria-disabled": i.isCheckboxEnabled !== !0,
|
|
21
|
+
onCheckedChange: () => {
|
|
22
|
+
a !== void 0 && a(i);
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { i as TreeViewCheckbox };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { BaseCommand } from '../../../../../../foundation/commands/BaseCommand';
|
|
3
|
+
export declare const TreeViewContextMenuItem: ({ command, onClose, }: {
|
|
4
|
+
command: BaseCommand;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
}) => ReactElement | null;
|
package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu-item.js
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { useCommandProps as e } from "../../../hooks/useCommandProps.js";
|
|
2
|
+
import { IconComponent as t } from "../../../Factories/IconFactory.js";
|
|
3
|
+
import { mapButtonType as n } from "../../../utils/utilities.js";
|
|
4
|
+
import { useCallback as r } from "react";
|
|
5
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
+
import { IconCheck as o } from "@tabler/icons-react";
|
|
7
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu-item.tsx
|
|
8
|
+
var s = ({ command: s, onClose: c }) => {
|
|
9
|
+
let { isVisible: l, isEnabled: u, icon: d } = e(s), f = r(() => {
|
|
10
|
+
s.isEnabled && (s.invoke(), c());
|
|
11
|
+
}, [s, c]);
|
|
12
|
+
if (!l) return null;
|
|
13
|
+
let p = s.getShortCutKeys(), m = "flex items-center gap-2 w-full px-3 py-1.5 text-sm text-left hover:bg-accent-background disabled:opacity-50 disabled:cursor-not-allowed";
|
|
14
|
+
if (s.isToggle) return /* @__PURE__ */ a("button", {
|
|
15
|
+
type: "button",
|
|
16
|
+
role: "menuitemcheckbox",
|
|
17
|
+
"aria-checked": s.isChecked === !0,
|
|
18
|
+
disabled: !u,
|
|
19
|
+
className: m,
|
|
20
|
+
onClick: f,
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ i("span", {
|
|
23
|
+
className: "size-4 flex items-center justify-center",
|
|
24
|
+
children: s.isChecked === !0 && /* @__PURE__ */ i(o, { className: "size-3" })
|
|
25
|
+
}),
|
|
26
|
+
/* @__PURE__ */ i("span", {
|
|
27
|
+
className: "flex-1",
|
|
28
|
+
children: s.label
|
|
29
|
+
}),
|
|
30
|
+
p !== void 0 && p.length > 0 && /* @__PURE__ */ i("span", {
|
|
31
|
+
className: "ml-auto text-xs text-foreground/50",
|
|
32
|
+
children: p.join("+")
|
|
33
|
+
})
|
|
34
|
+
]
|
|
35
|
+
});
|
|
36
|
+
let h = n(s.buttonType) === "destructive";
|
|
37
|
+
return /* @__PURE__ */ a("button", {
|
|
38
|
+
type: "button",
|
|
39
|
+
role: "menuitem",
|
|
40
|
+
disabled: !u,
|
|
41
|
+
className: `${m}${h ? " text-destructive-foreground" : " text-foreground"}`,
|
|
42
|
+
onClick: f,
|
|
43
|
+
children: [
|
|
44
|
+
d !== void 0 && /* @__PURE__ */ i("span", {
|
|
45
|
+
className: "size-4 flex items-center justify-center",
|
|
46
|
+
children: /* @__PURE__ */ i(t, { iconName: d })
|
|
47
|
+
}),
|
|
48
|
+
/* @__PURE__ */ i("span", {
|
|
49
|
+
className: "flex-1",
|
|
50
|
+
children: s.label
|
|
51
|
+
}),
|
|
52
|
+
p !== void 0 && p.length > 0 && /* @__PURE__ */ i("span", {
|
|
53
|
+
className: "ml-auto text-xs text-foreground/50",
|
|
54
|
+
children: p.join("+")
|
|
55
|
+
})
|
|
56
|
+
]
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
//#endregion
|
|
60
|
+
export { s as TreeViewContextMenuItem };
|
package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { ContextMenuState } from '../types';
|
|
3
|
+
export type TreeViewContextMenuProps = {
|
|
4
|
+
state: ContextMenuState | undefined;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const TreeViewContextMenu: ({ state, onClose, }: TreeViewContextMenuProps) => ReactElement | null;
|
package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { TreeViewContextMenuItem as e } from "./tree-view-context-menu-item.js";
|
|
2
|
+
import { useEffect as t } from "react";
|
|
3
|
+
import { createPortal as n } from "react-dom";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
//#region libs/shared/reveal-components/src/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu.tsx
|
|
6
|
+
var i = ({ state: i, onClose: a }) => {
|
|
7
|
+
if (t(() => (document.addEventListener("click", a), document.addEventListener("contextmenu", a), document.addEventListener("scroll", a, !0), () => {
|
|
8
|
+
document.removeEventListener("click", a), document.removeEventListener("contextmenu", a), document.removeEventListener("scroll", a, !0);
|
|
9
|
+
}), [a]), i === void 0 || i.commands.length === 0) return null;
|
|
10
|
+
let o = /* @__PURE__ */ r("div", {
|
|
11
|
+
role: "menu",
|
|
12
|
+
"aria-orientation": "vertical",
|
|
13
|
+
className: "rounded-lg border border-border bg-background shadow-md py-1 min-w-[200px] fixed z-[10000]",
|
|
14
|
+
style: {
|
|
15
|
+
top: i.position.y,
|
|
16
|
+
left: i.position.x
|
|
17
|
+
},
|
|
18
|
+
onClick: (e) => {
|
|
19
|
+
e.stopPropagation();
|
|
20
|
+
},
|
|
21
|
+
children: i.commands.map((t) => /* @__PURE__ */ r(e, {
|
|
22
|
+
command: t,
|
|
23
|
+
onClose: a
|
|
24
|
+
}, t.uniqueId))
|
|
25
|
+
});
|
|
26
|
+
return n(o, document.body);
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { i as TreeViewContextMenu };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { TreeNodeType } from '../../../../../../foundation/treeNodes/tree-node-type/tree-node-type';
|
|
3
|
+
import { GetIconFromIconNameFn } from '../tree-view-props';
|
|
4
|
+
export type TreeViewIconProps = {
|
|
5
|
+
node: TreeNodeType;
|
|
6
|
+
getIconFromIconName: GetIconFromIconNameFn;
|
|
7
|
+
};
|
|
8
|
+
export declare const TreeViewIcon: ({ node, getIconFromIconName, }: TreeViewIconProps) => ReactElement;
|