@cognite/reveal-components 1.0.2 → 1.48552.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 +6 -4
- package/dist/assets/poi-markers/poi-create-cursor.svg +4 -0
- package/dist/assets/poi-markers/poi-default.svg +3 -0
- package/dist/assets/poi-markers/poi-hover.svg +3 -0
- package/dist/assets/poi-markers/poi-selected.svg +4 -0
- package/dist/common/i18n/de/reveal-components.json +194 -0
- package/dist/common/i18n/en/reveal-components.json +199 -0
- package/dist/common/i18n/es/reveal-components.json +194 -0
- package/dist/common/i18n/fr/reveal-components.json +194 -0
- package/dist/common/i18n/it/reveal-components.json +194 -0
- package/dist/common/i18n/ja/reveal-components.json +194 -0
- package/dist/common/i18n/ko/reveal-components.json +194 -0
- package/dist/common/i18n/lv/reveal-components.json +194 -0
- package/dist/common/i18n/nb/reveal-components.json +194 -0
- package/dist/common/i18n/nl/reveal-components.json +194 -0
- package/dist/common/i18n/pt/reveal-components.json +194 -0
- package/dist/common/i18n/sv/reveal-components.json +194 -0
- package/dist/common/i18n/zh/reveal-components.json +194 -0
- package/dist/data-providers/Fdm3dDataProvider.d.ts +15 -15
- package/dist/data-providers/Fdm3dDataProvider.js +3 -0
- package/dist/data-providers/Fdm3dDataProvider.js.map +1 -0
- package/dist/data-providers/FdmSDK.d.ts +177 -177
- package/dist/data-providers/FdmSDK.js +296 -177
- package/dist/data-providers/FdmSDK.js.map +1 -0
- package/dist/data-providers/assets/createClassicAssetsCache.d.ts +16 -7
- package/dist/data-providers/assets/createClassicAssetsCache.js +98 -17
- package/dist/data-providers/assets/createClassicAssetsCache.js.map +1 -0
- package/dist/data-providers/assets/createDmsDescribableNodesCache.d.ts +19 -18
- package/dist/data-providers/assets/createDmsDescribableNodesCache.js +24 -18
- package/dist/data-providers/assets/createDmsDescribableNodesCache.js.map +1 -0
- package/dist/data-providers/cache/CacheProvider.d.ts +6 -6
- package/dist/data-providers/cache/CacheProvider.js +25 -6
- package/dist/data-providers/cache/CacheProvider.js.map +1 -0
- package/dist/data-providers/cache/ModelRevisionDmCache.d.ts +17 -0
- package/dist/data-providers/cache/ModelRevisionDmCache.js +21 -0
- package/dist/data-providers/cache/ModelRevisionDmCache.js.map +1 -0
- package/dist/data-providers/cache/annotationModelUtils.d.ts +5 -5
- package/dist/data-providers/cache/annotationModelUtils.js +65 -38
- package/dist/data-providers/cache/annotationModelUtils.js.map +1 -0
- package/dist/data-providers/cache/cad/CadInstanceMappingsCache.d.ts +14 -14
- package/dist/data-providers/cache/cad/CadInstanceMappingsCache.js +3 -0
- package/dist/data-providers/cache/cad/CadInstanceMappingsCache.js.map +1 -0
- package/dist/data-providers/cache/cad/CadInstanceMappingsCacheImpl.d.ts +3 -3
- package/dist/data-providers/cache/cad/CadInstanceMappingsCacheImpl.js +128 -79
- package/dist/data-providers/cache/cad/CadInstanceMappingsCacheImpl.js.map +1 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingCache.d.ts +16 -16
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingCache.js +3 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingCache.js.map +1 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingCacheImpl.d.ts +2 -2
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingCacheImpl.js +246 -133
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingCacheImpl.js.map +1 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerAssetIdCache.d.ts +6 -6
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerAssetIdCache.js +25 -16
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerAssetIdCache.js.map +1 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerModelCache.d.ts +16 -16
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerModelCache.js +75 -53
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerModelCache.js.map +1 -0
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerNodeIdCache.d.ts +6 -6
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerNodeIdCache.js +25 -16
- package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerNodeIdCache.js.map +1 -0
- package/dist/data-providers/cache/cad/ClassicCadNode3DPerNodeIdCache.d.ts +10 -10
- package/dist/data-providers/cache/cad/ClassicCadNode3DPerNodeIdCache.js +46 -38
- package/dist/data-providers/cache/cad/ClassicCadNode3DPerNodeIdCache.js.map +1 -0
- package/dist/data-providers/cache/cad/FdmCadNodeCache.d.ts +8 -8
- package/dist/data-providers/cache/cad/FdmCadNodeCache.js +3 -0
- package/dist/data-providers/cache/cad/FdmCadNodeCache.js.map +1 -0
- package/dist/data-providers/cache/cad/FdmCadNodeCacheImpl.d.ts +12 -12
- package/dist/data-providers/cache/cad/FdmCadNodeCacheImpl.js +376 -211
- package/dist/data-providers/cache/cad/FdmCadNodeCacheImpl.js.map +1 -0
- package/dist/data-providers/cache/cad/RevisionFdmNodeCache.d.ts +29 -0
- package/dist/data-providers/cache/cad/RevisionFdmNodeCache.js +244 -0
- package/dist/data-providers/cache/cad/RevisionFdmNodeCache.js.map +1 -0
- package/dist/data-providers/cache/cad/assetMappingTypes.d.ts +19 -19
- package/dist/data-providers/cache/cad/assetMappingTypes.js +32 -18
- package/dist/data-providers/cache/cad/assetMappingTypes.js.map +1 -0
- package/dist/data-providers/cache/cad/enrichCadNodeMappingsWithBoundingBoxes.d.ts +2 -2
- package/dist/data-providers/cache/cad/enrichCadNodeMappingsWithBoundingBoxes.js +49 -26
- package/dist/data-providers/cache/cad/enrichCadNodeMappingsWithBoundingBoxes.js.map +1 -0
- package/dist/data-providers/cache/cad/fdmCadConnectionMappingUtils.d.ts +2 -2
- package/dist/data-providers/cache/cad/fdmCadConnectionMappingUtils.js +58 -0
- package/dist/data-providers/cache/cad/fdmCadConnectionMappingUtils.js.map +1 -0
- package/dist/data-providers/cache/cad/rawAssetMappingTypes.d.ts +13 -13
- package/dist/data-providers/cache/cad/rawAssetMappingTypes.js +33 -23
- package/dist/data-providers/cache/cad/rawAssetMappingTypes.js.map +1 -0
- package/dist/data-providers/cache/{requests.d.ts → cad/requests.d.ts} +3 -3
- package/dist/data-providers/cache/cad/requests.js +71 -0
- package/dist/data-providers/cache/cad/requests.js.map +1 -0
- package/dist/data-providers/cache/cad/types.d.ts +17 -17
- package/dist/data-providers/cache/cad/types.js +3 -0
- package/dist/data-providers/cache/cad/types.js.map +1 -0
- package/dist/data-providers/cache/idAndKeyTranslation.d.ts +3 -3
- package/dist/data-providers/cache/idAndKeyTranslation.js +53 -40
- package/dist/data-providers/cache/idAndKeyTranslation.js.map +1 -0
- package/dist/data-providers/cache/image360/Image360AnnotationCache.d.ts +19 -0
- package/dist/data-providers/cache/image360/Image360AnnotationCache.js +206 -0
- package/dist/data-providers/cache/image360/Image360AnnotationCache.js.map +1 -0
- package/dist/data-providers/cache/index.d.ts +5 -5
- package/dist/data-providers/cache/index.js +4 -3
- package/dist/data-providers/cache/index.js.map +1 -0
- package/dist/data-providers/cache/pointcloud/PointCloudAnnotationCache.d.ts +24 -0
- package/dist/data-providers/cache/pointcloud/PointCloudAnnotationCache.js +137 -0
- package/dist/data-providers/cache/pointcloud/PointCloudAnnotationCache.js.map +1 -0
- package/dist/data-providers/cache/pointcloud/PointCloudDmMappingCache.d.ts +11 -0
- package/dist/data-providers/cache/pointcloud/PointCloudDmMappingCache.js +24 -0
- package/dist/data-providers/cache/pointcloud/PointCloudDmMappingCache.js.map +1 -0
- package/dist/data-providers/cache/{typeGuards.d.ts → pointcloud/typeGuards.d.ts} +2 -2
- package/dist/data-providers/cache/pointcloud/typeGuards.js +5 -0
- package/dist/data-providers/cache/pointcloud/typeGuards.js.map +1 -0
- package/dist/data-providers/cache/types.d.ts +48 -72
- package/dist/data-providers/cache/types.js +3 -0
- package/dist/data-providers/cache/types.js.map +1 -0
- package/dist/data-providers/cache/utils.d.ts +14 -14
- package/dist/data-providers/cache/utils.js +88 -48
- package/dist/data-providers/cache/utils.js.map +1 -0
- package/dist/data-providers/core-dm-provider/CoreDm3dDataProvider.d.ts +29 -29
- package/dist/data-providers/core-dm-provider/CoreDm3dDataProvider.js +143 -106
- package/dist/data-providers/core-dm-provider/CoreDm3dDataProvider.js.map +1 -0
- package/dist/data-providers/core-dm-provider/assetsInstanceFilterWithHasDataQuery.d.ts +1 -1
- package/dist/data-providers/core-dm-provider/assetsInstanceFilterWithHasDataQuery.js +45 -0
- package/dist/data-providers/core-dm-provider/assetsInstanceFilterWithHasDataQuery.js.map +1 -0
- package/dist/data-providers/core-dm-provider/cadAndPointCloudAndImage360VisualizableQuery.d.ts +32 -34
- package/dist/data-providers/core-dm-provider/cadAndPointCloudAndImage360VisualizableQuery.js +254 -185
- package/dist/data-providers/core-dm-provider/cadAndPointCloudAndImage360VisualizableQuery.js.map +1 -0
- package/dist/data-providers/core-dm-provider/cadConnectionsQuery.d.ts +8 -8
- package/dist/data-providers/core-dm-provider/cadConnectionsQuery.js +81 -60
- package/dist/data-providers/core-dm-provider/cadConnectionsQuery.js.map +1 -0
- package/dist/data-providers/core-dm-provider/cadModelsForInstanceQuery.d.ts +6 -6
- package/dist/data-providers/core-dm-provider/cadModelsForInstanceQuery.js +65 -38
- package/dist/data-providers/core-dm-provider/cadModelsForInstanceQuery.js.map +1 -0
- package/dist/data-providers/core-dm-provider/check3dConnectedEquipmentQuery.d.ts +37 -41
- package/dist/data-providers/core-dm-provider/check3dConnectedEquipmentQuery.js +189 -134
- package/dist/data-providers/core-dm-provider/check3dConnectedEquipmentQuery.js.map +1 -0
- package/dist/data-providers/core-dm-provider/cogniteCadNodeSourceWithProperties.d.ts +5 -18
- package/dist/data-providers/core-dm-provider/cogniteCadNodeSourceWithProperties.js +18 -17
- package/dist/data-providers/core-dm-provider/cogniteCadNodeSourceWithProperties.js.map +1 -0
- package/dist/data-providers/core-dm-provider/cogniteCadRevisionSourceWithProperties.d.ts +5 -13
- package/dist/data-providers/core-dm-provider/cogniteCadRevisionSourceWithProperties.js +15 -14
- package/dist/data-providers/core-dm-provider/cogniteCadRevisionSourceWithProperties.js.map +1 -0
- package/dist/data-providers/core-dm-provider/cogniteDescribableSourceWithProperties.d.ts +5 -7
- package/dist/data-providers/core-dm-provider/cogniteDescribableSourceWithProperties.js +14 -13
- package/dist/data-providers/core-dm-provider/cogniteDescribableSourceWithProperties.js.map +1 -0
- package/dist/data-providers/core-dm-provider/cogniteImage360SourceWithProperties.d.ts +9 -32
- package/dist/data-providers/core-dm-provider/cogniteImage360SourceWithProperties.js +36 -8
- package/dist/data-providers/core-dm-provider/cogniteImage360SourceWithProperties.js.map +1 -0
- package/dist/data-providers/core-dm-provider/cogniteVisualizable.d.ts +5 -7
- package/dist/data-providers/core-dm-provider/cogniteVisualizable.js +11 -8
- package/dist/data-providers/core-dm-provider/cogniteVisualizable.js.map +1 -0
- package/dist/data-providers/core-dm-provider/dataModels.d.ts +91 -91
- package/dist/data-providers/core-dm-provider/dataModels.js +107 -65
- package/dist/data-providers/core-dm-provider/dataModels.js.map +1 -0
- package/dist/data-providers/core-dm-provider/filterNodesByMappedTo3d.d.ts +2 -2
- package/dist/data-providers/core-dm-provider/filterNodesByMappedTo3d.js +121 -62
- package/dist/data-providers/core-dm-provider/filterNodesByMappedTo3d.js.map +1 -0
- package/dist/data-providers/core-dm-provider/getCadConnectionsForInstances.d.ts +2 -2
- package/dist/data-providers/core-dm-provider/getCadConnectionsForInstances.js +122 -83
- package/dist/data-providers/core-dm-provider/getCadConnectionsForInstances.js.map +1 -0
- package/dist/data-providers/core-dm-provider/getCadConnectionsForRevisions.d.ts +2 -2
- package/dist/data-providers/core-dm-provider/getCadConnectionsForRevisions.js +51 -32
- package/dist/data-providers/core-dm-provider/getCadConnectionsForRevisions.js.map +1 -0
- package/dist/data-providers/core-dm-provider/getCadModelsForInstance.d.ts +2 -2
- package/dist/data-providers/core-dm-provider/getCadModelsForInstance.js +24 -20
- package/dist/data-providers/core-dm-provider/getCadModelsForInstance.js.map +1 -0
- package/dist/data-providers/core-dm-provider/getCdfIdFromExternalId.d.ts +3 -1
- package/dist/data-providers/core-dm-provider/getCdfIdFromExternalId.js +14 -7
- package/dist/data-providers/core-dm-provider/getCdfIdFromExternalId.js.map +1 -0
- package/dist/data-providers/core-dm-provider/getDMSModels.d.ts +4 -3
- package/dist/data-providers/core-dm-provider/getDMSModels.js +68 -31
- package/dist/data-providers/core-dm-provider/getDMSModels.js.map +1 -0
- package/dist/data-providers/core-dm-provider/getDMSRevision.d.ts +3 -3
- package/dist/data-providers/core-dm-provider/getDMSRevision.js +20 -16
- package/dist/data-providers/core-dm-provider/getDMSRevision.js.map +1 -0
- package/dist/data-providers/core-dm-provider/getDMSRevisions.d.ts +11 -11
- package/dist/data-providers/core-dm-provider/getDMSRevisions.js +66 -44
- package/dist/data-providers/core-dm-provider/getDMSRevisions.js.map +1 -0
- package/dist/data-providers/core-dm-provider/getEdgeConnected3dInstances.d.ts +2 -2
- package/dist/data-providers/core-dm-provider/getEdgeConnected3dInstances.js +94 -64
- package/dist/data-providers/core-dm-provider/getEdgeConnected3dInstances.js.map +1 -0
- package/dist/data-providers/core-dm-provider/getFdmConnectionsForNodes.d.ts +3 -3
- package/dist/data-providers/core-dm-provider/getFdmConnectionsForNodes.js +153 -99
- package/dist/data-providers/core-dm-provider/getFdmConnectionsForNodes.js.map +1 -0
- package/dist/data-providers/core-dm-provider/getPointCloudVolumesAndAssetsForModel.d.ts +11 -0
- package/dist/data-providers/core-dm-provider/getPointCloudVolumesAndAssetsForModel.js +79 -0
- package/dist/data-providers/core-dm-provider/getPointCloudVolumesAndAssetsForModel.js.map +1 -0
- package/dist/data-providers/core-dm-provider/listMappedFdmNodes.d.ts +7 -7
- package/dist/data-providers/core-dm-provider/listMappedFdmNodes.js +123 -53
- package/dist/data-providers/core-dm-provider/listMappedFdmNodes.js.map +1 -0
- package/dist/data-providers/core-dm-provider/pointCloudDMVolumesQuery.d.ts +22 -0
- package/dist/data-providers/core-dm-provider/pointCloudDMVolumesQuery.js +85 -0
- package/dist/data-providers/core-dm-provider/pointCloudDMVolumesQuery.js.map +1 -0
- package/dist/data-providers/core-dm-provider/pointCloudModelsForInstanceQuery.d.ts +9 -11
- package/dist/data-providers/core-dm-provider/pointCloudModelsForInstanceQuery.js +71 -40
- package/dist/data-providers/core-dm-provider/pointCloudModelsForInstanceQuery.js.map +1 -0
- package/dist/data-providers/core-dm-provider/revisionQuery.d.ts +4 -4
- package/dist/data-providers/core-dm-provider/revisionQuery.js +46 -26
- package/dist/data-providers/core-dm-provider/revisionQuery.js.map +1 -0
- package/dist/data-providers/core-dm-provider/revisionsBatchQuery.d.ts +7 -9
- package/dist/data-providers/core-dm-provider/revisionsBatchQuery.js +54 -28
- package/dist/data-providers/core-dm-provider/revisionsBatchQuery.js.map +1 -0
- package/dist/data-providers/core-dm-provider/utils/filters.d.ts +12 -12
- package/dist/data-providers/core-dm-provider/utils/filters.js +142 -65
- package/dist/data-providers/core-dm-provider/utils/filters.js.map +1 -0
- package/dist/data-providers/core-dm-provider/utils/queryTypeHelpers.d.ts +41 -40
- package/dist/data-providers/core-dm-provider/utils/queryTypeHelpers.js +22 -0
- package/dist/data-providers/core-dm-provider/utils/queryTypeHelpers.js.map +1 -0
- package/dist/data-providers/core-dm-provider/utils/transformViewItemToSource.d.ts +2 -2
- package/dist/data-providers/core-dm-provider/utils/transformViewItemToSource.js +9 -10
- package/dist/data-providers/core-dm-provider/utils/transformViewItemToSource.js.map +1 -0
- package/dist/data-providers/dm/types.d.ts +57 -0
- package/dist/data-providers/dm/types.js +7 -0
- package/dist/data-providers/dm/types.js.map +1 -0
- package/dist/data-providers/dm/utils.d.ts +2 -0
- package/dist/data-providers/dm/utils.js +5 -0
- package/dist/data-providers/dm/utils.js.map +1 -0
- package/dist/data-providers/index.d.ts +8 -7
- package/dist/data-providers/index.js +4 -2
- package/dist/data-providers/index.js.map +1 -0
- package/dist/data-providers/legacy-fdm-provider/LegacyFdm3dDataProvider.d.ts +22 -22
- package/dist/data-providers/legacy-fdm-provider/LegacyFdm3dDataProvider.js +74 -58
- package/dist/data-providers/legacy-fdm-provider/LegacyFdm3dDataProvider.js.map +1 -0
- package/dist/data-providers/legacy-fdm-provider/createMappedEquipmentQuery.d.ts +3 -3
- package/dist/data-providers/legacy-fdm-provider/createMappedEquipmentQuery.js +73 -57
- package/dist/data-providers/legacy-fdm-provider/createMappedEquipmentQuery.js.map +1 -0
- package/dist/data-providers/legacy-fdm-provider/dataModels.d.ts +14 -11
- package/dist/data-providers/legacy-fdm-provider/dataModels.js +29 -23
- package/dist/data-providers/legacy-fdm-provider/dataModels.js.map +1 -0
- package/dist/data-providers/legacy-fdm-provider/fdmEdgesToCadConnections.d.ts +4 -4
- package/dist/data-providers/legacy-fdm-provider/fdmEdgesToCadConnections.js +48 -34
- package/dist/data-providers/legacy-fdm-provider/fdmEdgesToCadConnections.js.map +1 -0
- package/dist/data-providers/legacy-fdm-provider/filterNodesByMappedTo3d.d.ts +3 -3
- package/dist/data-providers/legacy-fdm-provider/filterNodesByMappedTo3d.js +136 -79
- package/dist/data-providers/legacy-fdm-provider/filterNodesByMappedTo3d.js.map +1 -0
- package/dist/data-providers/legacy-fdm-provider/getCadConnectionsForRevision.d.ts +4 -4
- package/dist/data-providers/legacy-fdm-provider/getCadConnectionsForRevision.js +20 -16
- package/dist/data-providers/legacy-fdm-provider/getCadConnectionsForRevision.js.map +1 -0
- package/dist/data-providers/legacy-fdm-provider/getCadModelsForFdmInstance.d.ts +2 -2
- package/dist/data-providers/legacy-fdm-provider/getCadModelsForFdmInstance.js +92 -48
- package/dist/data-providers/legacy-fdm-provider/getCadModelsForFdmInstance.js.map +1 -0
- package/dist/data-providers/legacy-fdm-provider/getDMSModels.d.ts +1 -1
- package/dist/data-providers/legacy-fdm-provider/getDMSModels.js +21 -15
- package/dist/data-providers/legacy-fdm-provider/getDMSModels.js.map +1 -0
- package/dist/data-providers/legacy-fdm-provider/getEdgeConnected3dInstances.d.ts +1 -1
- package/dist/data-providers/legacy-fdm-provider/getEdgeConnected3dInstances.js +95 -64
- package/dist/data-providers/legacy-fdm-provider/getEdgeConnected3dInstances.js.map +1 -0
- package/dist/data-providers/legacy-fdm-provider/getFdmConnectionsForNodeIds.d.ts +3 -3
- package/dist/data-providers/legacy-fdm-provider/getFdmConnectionsForNodeIds.js +44 -32
- package/dist/data-providers/legacy-fdm-provider/getFdmConnectionsForNodeIds.js.map +1 -0
- package/dist/data-providers/legacy-fdm-provider/listMappedFdmNodes.d.ts +2 -2
- package/dist/data-providers/legacy-fdm-provider/listMappedFdmNodes.js +30 -24
- package/dist/data-providers/legacy-fdm-provider/listMappedFdmNodes.js.map +1 -0
- package/dist/data-providers/network/assets/constants.d.ts +2 -0
- package/dist/data-providers/network/assets/constants.js +8 -0
- package/dist/data-providers/network/assets/constants.js.map +1 -0
- package/dist/data-providers/network/assets/searchDmAssets.d.ts +16 -0
- package/dist/data-providers/network/assets/searchDmAssets.js +77 -0
- package/dist/data-providers/network/assets/searchDmAssets.js.map +1 -0
- package/dist/data-providers/network/assets/toSearchableResources.d.ts +13 -0
- package/dist/data-providers/network/assets/toSearchableResources.js +70 -0
- package/dist/data-providers/network/assets/toSearchableResources.js.map +1 -0
- package/dist/data-providers/network/assets/types.d.ts +27 -0
- package/dist/data-providers/network/assets/types.js +3 -0
- package/dist/data-providers/network/assets/types.js.map +1 -0
- package/dist/data-providers/network/bounds/getBoundsForInstance.d.ts +10 -10
- package/dist/data-providers/network/bounds/getBoundsForInstance.js +21 -16
- package/dist/data-providers/network/bounds/getBoundsForInstance.js.map +1 -0
- package/dist/data-providers/network/bounds/getCadInstanceBounds.d.ts +4 -4
- package/dist/data-providers/network/bounds/getCadInstanceBounds.js +25 -17
- package/dist/data-providers/network/bounds/getCadInstanceBounds.js.map +1 -0
- package/dist/data-providers/network/bounds/getImage360InstanceBounds.d.ts +5 -5
- package/dist/data-providers/network/bounds/getImage360InstanceBounds.js +17 -15
- package/dist/data-providers/network/bounds/getImage360InstanceBounds.js.map +1 -0
- package/dist/data-providers/network/bounds/getPointCloudInstanceBounds.d.ts +3 -3
- package/dist/data-providers/network/bounds/getPointCloudInstanceBounds.js +23 -15
- package/dist/data-providers/network/bounds/getPointCloudInstanceBounds.js.map +1 -0
- package/dist/data-providers/network/cad/fetchAllAssetsForCadModels.d.ts +13 -14
- package/dist/data-providers/network/cad/fetchAllAssetsForCadModels.js +106 -73
- package/dist/data-providers/network/cad/fetchAllAssetsForCadModels.js.map +1 -0
- package/dist/data-providers/network/cad/fetchHybridAssetMappingsForModels.d.ts +14 -13
- package/dist/data-providers/network/cad/fetchHybridAssetMappingsForModels.js +44 -41
- package/dist/data-providers/network/cad/fetchHybridAssetMappingsForModels.js.map +1 -0
- package/dist/data-providers/network/cad/getAssetsFromAssetMappings.d.ts +6 -6
- package/dist/data-providers/network/cad/getAssetsFromAssetMappings.js +31 -24
- package/dist/data-providers/network/cad/getAssetsFromAssetMappings.js.map +1 -0
- package/dist/data-providers/network/cad/searchClassicAssetsForCadModels.d.ts +9 -7
- package/dist/data-providers/network/cad/searchClassicAssetsForCadModels.js +229 -122
- package/dist/data-providers/network/cad/searchClassicAssetsForCadModels.js.map +1 -0
- package/dist/data-providers/network/cad/searchHybridDmAssetsForCadModels.d.ts +10 -10
- package/dist/data-providers/network/cad/searchHybridDmAssetsForCadModels.js +26 -17
- package/dist/data-providers/network/cad/searchHybridDmAssetsForCadModels.js.map +1 -0
- package/dist/data-providers/network/cad/searchHybridDmCadAssetMappingsWithFilters.d.ts +4 -4
- package/dist/data-providers/network/cad/searchHybridDmCadAssetMappingsWithFilters.js +23 -14
- package/dist/data-providers/network/cad/searchHybridDmCadAssetMappingsWithFilters.js.map +1 -0
- package/dist/data-providers/network/cad/types.d.ts +16 -16
- package/dist/data-providers/network/cad/types.js +3 -0
- package/dist/data-providers/network/cad/types.js.map +1 -0
- package/dist/data-providers/network/common/buildClassicAssetFilter.d.ts +2 -2
- package/dist/data-providers/network/common/buildClassicAssetFilter.js +77 -24
- package/dist/data-providers/network/common/buildClassicAssetFilter.js.map +1 -0
- package/dist/data-providers/network/common/fetchClassicModelOption.d.ts +5 -5
- package/dist/data-providers/network/common/fetchClassicModelOption.js +20 -18
- package/dist/data-providers/network/common/fetchClassicModelOption.js.map +1 -0
- package/dist/data-providers/network/common/filters.d.ts +43 -6
- package/dist/data-providers/network/common/filters.js +25 -5
- package/dist/data-providers/network/common/filters.js.map +1 -0
- package/dist/data-providers/network/common/getAssetsForIds.d.ts +2 -2
- package/dist/data-providers/network/common/getAssetsForIds.js +53 -35
- package/dist/data-providers/network/common/getAssetsForIds.js.map +1 -0
- package/dist/data-providers/network/common/getDMAssetsForAnnotationReference.d.ts +3 -3
- package/dist/data-providers/network/common/getDMAssetsForAnnotationReference.js +22 -17
- package/dist/data-providers/network/common/getDMAssetsForAnnotationReference.js.map +1 -0
- package/dist/data-providers/network/common/getDMModelName.d.ts +2 -2
- package/dist/data-providers/network/common/getDMModelName.js +69 -51
- package/dist/data-providers/network/common/getDMModelName.js.map +1 -0
- package/dist/data-providers/network/common/getModelIdAndRevisionIdFromExternalId.d.ts +4 -4
- package/dist/data-providers/network/common/getModelIdAndRevisionIdFromExternalId.js +61 -35
- package/dist/data-providers/network/common/getModelIdAndRevisionIdFromExternalId.js.map +1 -0
- package/dist/data-providers/network/common/getResourceIdentifierFromResourceOptions.d.ts +7 -7
- package/dist/data-providers/network/common/getResourceIdentifierFromResourceOptions.js +60 -36
- package/dist/data-providers/network/common/getResourceIdentifierFromResourceOptions.js.map +1 -0
- package/dist/data-providers/network/common/getResourceIdentifierWithType.d.ts +6 -6
- package/dist/data-providers/network/common/getResourceIdentifierWithType.js +31 -28
- package/dist/data-providers/network/common/getResourceIdentifierWithType.js.map +1 -0
- package/dist/data-providers/network/common/getTypedModels.d.ts +4 -4
- package/dist/data-providers/network/common/getTypedModels.js +53 -36
- package/dist/data-providers/network/common/getTypedModels.js.map +1 -0
- package/dist/data-providers/network/common/modelIdentifierHelper.d.ts +2 -2
- package/dist/data-providers/network/common/modelIdentifierHelper.js +54 -13
- package/dist/data-providers/network/common/modelIdentifierHelper.js.map +1 -0
- package/dist/data-providers/network/common/searchDmInstances.d.ts +9 -9
- package/dist/data-providers/network/common/searchDmInstances.js +20 -12
- package/dist/data-providers/network/common/searchDmInstances.js.map +1 -0
- package/dist/data-providers/network/getCdmModelsForInstance.d.ts +16 -0
- package/dist/data-providers/network/getCdmModelsForInstance.js +28 -0
- package/dist/data-providers/network/getCdmModelsForInstance.js.map +1 -0
- package/dist/data-providers/network/image360/getClassicAssetMapped360Annotations.d.ts +13 -0
- package/dist/data-providers/network/image360/getClassicAssetMapped360Annotations.js +61 -0
- package/dist/data-providers/network/image360/getClassicAssetMapped360Annotations.js.map +1 -0
- package/dist/data-providers/network/image360/searchClassicImage360Assets.d.ts +9 -0
- package/dist/data-providers/network/image360/searchClassicImage360Assets.js +25 -0
- package/dist/data-providers/network/image360/searchClassicImage360Assets.js.map +1 -0
- package/dist/data-providers/network/image360/searchHybridDmImage360AssetMappingsWithFilters.d.ts +3 -3
- package/dist/data-providers/network/image360/searchHybridDmImage360AssetMappingsWithFilters.js +26 -18
- package/dist/data-providers/network/image360/searchHybridDmImage360AssetMappingsWithFilters.js.map +1 -0
- package/dist/data-providers/network/location/getScenesForLocation.d.ts +23 -0
- package/dist/data-providers/network/location/getScenesForLocation.js +68 -0
- package/dist/data-providers/network/location/getScenesForLocation.js.map +1 -0
- package/dist/data-providers/network/pointcloud/getAssetMappedPointCloudAnnotations.d.ts +14 -0
- package/dist/data-providers/network/pointcloud/getAssetMappedPointCloudAnnotations.js +58 -0
- package/dist/data-providers/network/pointcloud/getAssetMappedPointCloudAnnotations.js.map +1 -0
- package/dist/data-providers/network/pointcloud/searchHybridDmPointCloudAssetMappingsWithFilters.d.ts +4 -4
- package/dist/data-providers/network/pointcloud/searchHybridDmPointCloudAssetMappingsWithFilters.js +26 -17
- package/dist/data-providers/network/pointcloud/searchHybridDmPointCloudAssetMappingsWithFilters.js.map +1 -0
- package/dist/data-providers/network/pointcloud/searchHybridPointCloudDmAssetsForModels.d.ts +6 -6
- package/dist/data-providers/network/pointcloud/searchHybridPointCloudDmAssetsForModels.js +10 -8
- package/dist/data-providers/network/pointcloud/searchHybridPointCloudDmAssetsForModels.js.map +1 -0
- package/dist/data-providers/network/search/searchClassicAssetsForModels.d.ts +36 -0
- package/dist/data-providers/network/search/searchClassicAssetsForModels.js +91 -0
- package/dist/data-providers/network/search/searchClassicAssetsForModels.js.map +1 -0
- package/dist/data-providers/network/search/searchHybridDmAssetsForModels.d.ts +14 -0
- package/dist/data-providers/network/search/searchHybridDmAssetsForModels.js +38 -0
- package/dist/data-providers/network/search/searchHybridDmAssetsForModels.js.map +1 -0
- package/dist/data-providers/network/search/searchQueryCursor.d.ts +8 -0
- package/dist/data-providers/network/search/searchQueryCursor.js +16 -0
- package/dist/data-providers/network/search/searchQueryCursor.js.map +1 -0
- package/dist/data-providers/network/types.d.ts +21 -19
- package/dist/data-providers/network/types.js +3 -0
- package/dist/data-providers/network/types.js.map +1 -0
- package/dist/data-providers/pointclouds/typeGuards.d.ts +4 -0
- package/dist/data-providers/pointclouds/typeGuards.js +10 -0
- package/dist/data-providers/pointclouds/typeGuards.js.map +1 -0
- package/dist/data-providers/pointclouds/types.d.ts +21 -0
- package/dist/data-providers/pointclouds/types.js +3 -0
- package/dist/data-providers/pointclouds/types.js.map +1 -0
- package/dist/data-providers/types/index.d.ts +5 -5
- package/dist/data-providers/types/index.js +5 -4
- package/dist/data-providers/types/index.js.map +1 -0
- package/dist/data-providers/types/resources.d.ts +56 -56
- package/dist/data-providers/types/resources.js +3 -0
- package/dist/data-providers/types/resources.js.map +1 -0
- package/dist/data-providers/types/styling.d.ts +9 -9
- package/dist/data-providers/types/styling.js +3 -0
- package/dist/data-providers/types/styling.js.map +1 -0
- package/dist/data-providers/types/typeAdapters.d.ts +25 -25
- package/dist/data-providers/types/typeAdapters.js +218 -149
- package/dist/data-providers/types/typeAdapters.js.map +1 -0
- package/dist/data-providers/types/typeGuards.d.ts +13 -13
- package/dist/data-providers/types/typeGuards.js +20 -4
- package/dist/data-providers/types/typeGuards.js.map +1 -0
- package/dist/data-providers/types/utils.d.ts +7 -7
- package/dist/data-providers/types/utils.js +51 -10
- package/dist/data-providers/types/utils.js.map +1 -0
- package/dist/data-providers/utils/cadConnectionMapping.d.ts +16 -16
- package/dist/data-providers/utils/cadConnectionMapping.js +43 -28
- package/dist/data-providers/utils/cadConnectionMapping.js.map +1 -0
- package/dist/data-providers/utils/cadNodeConnectionFields.d.ts +17 -17
- package/dist/data-providers/utils/cadNodeConnectionFields.js +61 -38
- package/dist/data-providers/utils/cadNodeConnectionFields.js.map +1 -0
- package/dist/data-providers/utils/getCogniteAssetDirectRelationProperties.d.ts +2 -2
- package/dist/data-providers/utils/getCogniteAssetDirectRelationProperties.js +42 -23
- package/dist/data-providers/utils/getCogniteAssetDirectRelationProperties.js.map +1 -0
- package/dist/data-providers/utils/getDMSModelRevisionRefs.d.ts +10 -3
- package/dist/data-providers/utils/getDMSModelRevisionRefs.js +17 -10
- package/dist/data-providers/utils/getDMSModelRevisionRefs.js.map +1 -0
- package/dist/data-providers/utils/getDirectRelationProperties.d.ts +1 -1
- package/dist/data-providers/utils/getDirectRelationProperties.js +15 -12
- package/dist/data-providers/utils/getDirectRelationProperties.js.map +1 -0
- package/dist/data-providers/utils/index.d.ts +1 -1
- package/dist/data-providers/utils/index.js +3 -0
- package/dist/data-providers/utils/index.js.map +1 -0
- package/dist/data-providers/utils/mergeQueryResult.js +10 -7
- package/dist/data-providers/utils/mergeQueryResult.js.map +1 -0
- package/dist/data-providers/utils/queryNodesAndEdges.d.ts +47 -42
- package/dist/data-providers/utils/queryNodesAndEdges.js +13 -9
- package/dist/data-providers/utils/queryNodesAndEdges.js.map +1 -0
- package/dist/data-providers/utils/typeUtils.js +3 -0
- package/dist/data-providers/utils/typeUtils.js.map +1 -0
- package/dist/domains/annotation360/DeleteSelectedImage360AnnotationCommand.d.ts +10 -10
- package/dist/domains/annotation360/DeleteSelectedImage360AnnotationCommand.js +34 -30
- package/dist/domains/annotation360/DeleteSelectedImage360AnnotationCommand.js.map +1 -0
- package/dist/domains/annotation360/Image360AnnotationCreateTool.d.ts +21 -21
- package/dist/domains/annotation360/Image360AnnotationCreateTool.js +138 -91
- package/dist/domains/annotation360/Image360AnnotationCreateTool.js.map +1 -0
- package/dist/domains/annotation360/Image360AnnotationCreator.d.ts +8 -8
- package/dist/domains/annotation360/Image360AnnotationCreator.js +26 -21
- package/dist/domains/annotation360/Image360AnnotationCreator.js.map +1 -0
- package/dist/domains/annotation360/Image360AnnotationDomainObject.d.ts +33 -26
- package/dist/domains/annotation360/Image360AnnotationDomainObject.js +129 -60
- package/dist/domains/annotation360/Image360AnnotationDomainObject.js.map +1 -0
- package/dist/domains/annotation360/Image360AnnotationFolder.d.ts +5 -5
- package/dist/domains/annotation360/Image360AnnotationFolder.js +15 -13
- package/dist/domains/annotation360/Image360AnnotationFolder.js.map +1 -0
- package/dist/domains/annotation360/Image360AnnotationSelectTool.d.ts +15 -15
- package/dist/domains/annotation360/Image360AnnotationSelectTool.js +77 -52
- package/dist/domains/annotation360/Image360AnnotationSelectTool.js.map +1 -0
- package/dist/domains/annotation360/createTriangleIndexesFromVectors.d.ts +1 -1
- package/dist/domains/annotation360/createTriangleIndexesFromVectors.js +142 -83
- package/dist/domains/annotation360/createTriangleIndexesFromVectors.js.map +1 -0
- package/dist/domains/annotation360/image360SceneCollectionTransform.d.ts +11 -11
- package/dist/domains/annotation360/image360SceneCollectionTransform.js +63 -33
- package/dist/domains/annotation360/image360SceneCollectionTransform.js.map +1 -0
- package/dist/domains/annotation360/types.d.ts +5 -5
- package/dist/domains/annotation360/types.js +8 -0
- package/dist/domains/annotation360/types.js.map +1 -0
- package/dist/domains/annotations/AnnotationsDomainObject.d.ts +35 -35
- package/dist/domains/annotations/AnnotationsDomainObject.js +257 -122
- package/dist/domains/annotations/AnnotationsDomainObject.js.map +1 -0
- package/dist/domains/annotations/AnnotationsRenderStyle.d.ts +16 -16
- package/dist/domains/annotations/AnnotationsRenderStyle.js +41 -30
- package/dist/domains/annotations/AnnotationsRenderStyle.js.map +1 -0
- package/dist/domains/annotations/AnnotationsView.d.ts +35 -35
- package/dist/domains/annotations/AnnotationsView.js +430 -220
- package/dist/domains/annotations/AnnotationsView.js.map +1 -0
- package/dist/domains/annotations/BoxGizmoDomainObject.d.ts +18 -18
- package/dist/domains/annotations/BoxGizmoDomainObject.js +100 -62
- package/dist/domains/annotations/BoxGizmoDomainObject.js.map +1 -0
- package/dist/domains/annotations/CylinderGizmoDomainObject.d.ts +19 -19
- package/dist/domains/annotations/CylinderGizmoDomainObject.js +101 -63
- package/dist/domains/annotations/CylinderGizmoDomainObject.js.map +1 -0
- package/dist/domains/annotations/commands/AnnotationsAlignCommand.d.ts +12 -12
- package/dist/domains/annotations/commands/AnnotationsAlignCommand.js +73 -44
- package/dist/domains/annotations/commands/AnnotationsAlignCommand.js.map +1 -0
- package/dist/domains/annotations/commands/AnnotationsCreateMockCommand.d.ts +9 -9
- package/dist/domains/annotations/commands/AnnotationsCreateMockCommand.js +164 -56
- package/dist/domains/annotations/commands/AnnotationsCreateMockCommand.js.map +1 -0
- package/dist/domains/annotations/commands/AnnotationsCreateTool.d.ts +23 -23
- package/dist/domains/annotations/commands/AnnotationsCreateTool.js +232 -141
- package/dist/domains/annotations/commands/AnnotationsCreateTool.js.map +1 -0
- package/dist/domains/annotations/commands/AnnotationsDeleteCommand.d.ts +9 -9
- package/dist/domains/annotations/commands/AnnotationsDeleteCommand.js +37 -27
- package/dist/domains/annotations/commands/AnnotationsDeleteCommand.js.map +1 -0
- package/dist/domains/annotations/commands/AnnotationsSelectTool.d.ts +24 -24
- package/dist/domains/annotations/commands/AnnotationsSelectTool.js +192 -92
- package/dist/domains/annotations/commands/AnnotationsSelectTool.js.map +1 -0
- package/dist/domains/annotations/commands/AnnotationsSetCreateTypeCommand.d.ts +14 -14
- package/dist/domains/annotations/commands/AnnotationsSetCreateTypeCommand.js +80 -43
- package/dist/domains/annotations/commands/AnnotationsSetCreateTypeCommand.js.map +1 -0
- package/dist/domains/annotations/commands/AnnotationsShowCommand.d.ts +5 -5
- package/dist/domains/annotations/commands/AnnotationsShowCommand.js +17 -13
- package/dist/domains/annotations/commands/AnnotationsShowCommand.js.map +1 -0
- package/dist/domains/annotations/commands/AnnotationsShowOnTopCommand.d.ts +5 -5
- package/dist/domains/annotations/commands/AnnotationsShowOnTopCommand.js +17 -13
- package/dist/domains/annotations/commands/AnnotationsShowOnTopCommand.js.map +1 -0
- package/dist/domains/annotations/commands/isGizmo.d.ts +1 -1
- package/dist/domains/annotations/commands/isGizmo.js +9 -10
- package/dist/domains/annotations/commands/isGizmo.js.map +1 -0
- package/dist/domains/annotations/helpers/Annotation.d.ts +41 -42
- package/dist/domains/annotations/helpers/Annotation.js +211 -112
- package/dist/domains/annotations/helpers/Annotation.js.map +1 -0
- package/dist/domains/annotations/helpers/AnnotationChangedDescription.d.ts +4 -4
- package/dist/domains/annotations/helpers/AnnotationChangedDescription.js +9 -10
- package/dist/domains/annotations/helpers/AnnotationChangedDescription.js.map +1 -0
- package/dist/domains/annotations/helpers/AnnotationUtils.d.ts +6 -6
- package/dist/domains/annotations/helpers/AnnotationUtils.js +192 -120
- package/dist/domains/annotations/helpers/AnnotationUtils.js.map +1 -0
- package/dist/domains/annotations/helpers/Status.d.ts +4 -4
- package/dist/domains/annotations/helpers/Status.js +14 -10
- package/dist/domains/annotations/helpers/Status.js.map +1 -0
- package/dist/domains/annotations/helpers/WireframeUserData.d.ts +10 -10
- package/dist/domains/annotations/helpers/WireframeUserData.js +21 -23
- package/dist/domains/annotations/helpers/WireframeUserData.js.map +1 -0
- package/dist/domains/annotations/helpers/constants.d.ts +1 -1
- package/dist/domains/annotations/helpers/constants.js +3 -4
- package/dist/domains/annotations/helpers/constants.js.map +1 -0
- package/dist/domains/annotations/helpers/createWireframeFromMultipleAnnotations.d.ts +12 -12
- package/dist/domains/annotations/helpers/createWireframeFromMultipleAnnotations.js +79 -39
- package/dist/domains/annotations/helpers/createWireframeFromMultipleAnnotations.js.map +1 -0
- package/dist/domains/annotations/helpers/getClosestAnnotation.d.ts +10 -10
- package/dist/domains/annotations/helpers/getClosestAnnotation.js +48 -35
- package/dist/domains/annotations/helpers/getClosestAnnotation.js.map +1 -0
- package/dist/domains/annotations/helpers/getMatrixUtils.d.ts +4 -4
- package/dist/domains/annotations/helpers/getMatrixUtils.js +11 -9
- package/dist/domains/annotations/helpers/getMatrixUtils.js.map +1 -0
- package/dist/domains/axis/AxisDomainObject.d.ts +9 -9
- package/dist/domains/axis/AxisDomainObject.js +26 -22
- package/dist/domains/axis/AxisDomainObject.js.map +1 -0
- package/dist/domains/axis/AxisRenderStyle.d.ts +21 -21
- package/dist/domains/axis/AxisRenderStyle.js +62 -45
- package/dist/domains/axis/AxisRenderStyle.js.map +1 -0
- package/dist/domains/axis/AxisThreeView.d.ts +28 -28
- package/dist/domains/axis/AxisThreeView.js +494 -248
- package/dist/domains/axis/AxisThreeView.js.map +1 -0
- package/dist/domains/axis/SetAxisVisibleCommand.d.ts +9 -9
- package/dist/domains/axis/SetAxisVisibleCommand.js +41 -27
- package/dist/domains/axis/SetAxisVisibleCommand.js.map +1 -0
- package/dist/domains/circleMarker/CircleMarkerDomainObject.d.ts +36 -36
- package/dist/domains/circleMarker/CircleMarkerDomainObject.js +124 -55
- package/dist/domains/circleMarker/CircleMarkerDomainObject.js.map +1 -0
- package/dist/domains/circleMarker/CircleMarkerRenderStyle.d.ts +9 -9
- package/dist/domains/circleMarker/CircleMarkerRenderStyle.js +14 -18
- package/dist/domains/circleMarker/CircleMarkerRenderStyle.js.map +1 -0
- package/dist/domains/circleMarker/CircleMarkerView.d.ts +12 -12
- package/dist/domains/circleMarker/CircleMarkerView.js +93 -44
- package/dist/domains/circleMarker/CircleMarkerView.js.map +1 -0
- package/dist/domains/clipping/ClipFolder.d.ts +5 -5
- package/dist/domains/clipping/ClipFolder.js +13 -12
- package/dist/domains/clipping/ClipFolder.js.map +1 -0
- package/dist/domains/clipping/ClipTool.d.ts +15 -15
- package/dist/domains/clipping/ClipTool.js +68 -47
- package/dist/domains/clipping/ClipTool.js.map +1 -0
- package/dist/domains/clipping/CropBoxDomainObject.d.ts +21 -21
- package/dist/domains/clipping/CropBoxDomainObject.js +124 -77
- package/dist/domains/clipping/CropBoxDomainObject.js.map +1 -0
- package/dist/domains/clipping/SliceDomainObject.d.ts +13 -13
- package/dist/domains/clipping/SliceDomainObject.js +85 -45
- package/dist/domains/clipping/SliceDomainObject.js.map +1 -0
- package/dist/domains/clipping/commands/ApplyClipCommand.d.ts +11 -11
- package/dist/domains/clipping/commands/ApplyClipCommand.js +59 -38
- package/dist/domains/clipping/commands/ApplyClipCommand.js.map +1 -0
- package/dist/domains/clipping/commands/FlipSliceCommand.d.ts +7 -7
- package/dist/domains/clipping/commands/FlipSliceCommand.js +27 -17
- package/dist/domains/clipping/commands/FlipSliceCommand.js.map +1 -0
- package/dist/domains/clipping/commands/NextClippingCommand.d.ts +17 -17
- package/dist/domains/clipping/commands/NextClippingCommand.js +150 -68
- package/dist/domains/clipping/commands/NextClippingCommand.js.map +1 -0
- package/dist/domains/clipping/commands/SetClipTypeCommand.d.ts +16 -16
- package/dist/domains/clipping/commands/SetClipTypeCommand.js +120 -62
- package/dist/domains/clipping/commands/SetClipTypeCommand.js.map +1 -0
- package/dist/domains/clipping/commands/ShowAllClippingCommand.d.ts +10 -10
- package/dist/domains/clipping/commands/ShowAllClippingCommand.js +48 -29
- package/dist/domains/clipping/commands/ShowAllClippingCommand.js.map +1 -0
- package/dist/domains/clipping/commands/ShowClippingOnTopCommand.d.ts +5 -5
- package/dist/domains/clipping/commands/ShowClippingOnTopCommand.js +18 -14
- package/dist/domains/clipping/commands/ShowClippingOnTopCommand.js.map +1 -0
- package/dist/domains/clipping/commands/ToggleGlobalCropBoxCommand.d.ts +12 -12
- package/dist/domains/clipping/commands/ToggleGlobalCropBoxCommand.js +44 -34
- package/dist/domains/clipping/commands/ToggleGlobalCropBoxCommand.js.map +1 -0
- package/dist/domains/clipping/commands/setClippingPlanes.d.ts +1 -1
- package/dist/domains/clipping/commands/setClippingPlanes.js +15 -12
- package/dist/domains/clipping/commands/setClippingPlanes.js.map +1 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360Controller.d.ts +50 -50
- package/dist/domains/directionalMarker360/DirectionalMarker360Controller.js +205 -120
- package/dist/domains/directionalMarker360/DirectionalMarker360Controller.js.map +1 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360DomainObject.d.ts +13 -13
- package/dist/domains/directionalMarker360/DirectionalMarker360DomainObject.js +37 -29
- package/dist/domains/directionalMarker360/DirectionalMarker360DomainObject.js.map +1 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360Mesh.d.ts +13 -13
- package/dist/domains/directionalMarker360/DirectionalMarker360Mesh.js +55 -32
- package/dist/domains/directionalMarker360/DirectionalMarker360Mesh.js.map +1 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360RenderStyle.d.ts +6 -6
- package/dist/domains/directionalMarker360/DirectionalMarker360RenderStyle.js +13 -15
- package/dist/domains/directionalMarker360/DirectionalMarker360RenderStyle.js.map +1 -0
- package/dist/domains/directionalMarker360/DirectionalMarker360View.d.ts +13 -13
- package/dist/domains/directionalMarker360/DirectionalMarker360View.js +76 -41
- package/dist/domains/directionalMarker360/DirectionalMarker360View.js.map +1 -0
- package/dist/domains/directionalMarker360/estimateNormalViaPCA.d.ts +11 -11
- package/dist/domains/directionalMarker360/estimateNormalViaPCA.js +110 -52
- package/dist/domains/directionalMarker360/estimateNormalViaPCA.js.map +1 -0
- package/dist/domains/example/ExampleDomainObject.d.ts +26 -26
- package/dist/domains/example/ExampleDomainObject.js +94 -66
- package/dist/domains/example/ExampleDomainObject.js.map +1 -0
- package/dist/domains/example/ExampleDragger.d.ts +11 -11
- package/dist/domains/example/ExampleDragger.js +44 -25
- package/dist/domains/example/ExampleDragger.js.map +1 -0
- package/dist/domains/example/ExampleRenderStyle.d.ts +5 -5
- package/dist/domains/example/ExampleRenderStyle.js +18 -12
- package/dist/domains/example/ExampleRenderStyle.js.map +1 -0
- package/dist/domains/example/ExampleTool.d.ts +12 -12
- package/dist/domains/example/ExampleTool.js +111 -72
- package/dist/domains/example/ExampleTool.js.map +1 -0
- package/dist/domains/example/ExampleView.d.ts +10 -10
- package/dist/domains/example/ExampleView.js +82 -49
- package/dist/domains/example/ExampleView.js.map +1 -0
- package/dist/domains/example/commands/DeleteAllExamplesCommand.d.ts +10 -10
- package/dist/domains/example/commands/DeleteAllExamplesCommand.js +37 -30
- package/dist/domains/example/commands/DeleteAllExamplesCommand.js.map +1 -0
- package/dist/domains/example/commands/ResetAllExamplesCommand.d.ts +8 -8
- package/dist/domains/example/commands/ResetAllExamplesCommand.js +29 -21
- package/dist/domains/example/commands/ResetAllExamplesCommand.js.map +1 -0
- package/dist/domains/example/commands/ShowAllExamplesCommand.d.ts +5 -5
- package/dist/domains/example/commands/ShowAllExamplesCommand.js +17 -13
- package/dist/domains/example/commands/ShowAllExamplesCommand.js.map +1 -0
- package/dist/domains/example/commands/ShowExamplesOnTopCommand.d.ts +5 -5
- package/dist/domains/example/commands/ShowExamplesOnTopCommand.js +17 -13
- package/dist/domains/example/commands/ShowExamplesOnTopCommand.js.map +1 -0
- package/dist/domains/groundPlane/GroundPlaneDomainObject.d.ts +27 -26
- package/dist/domains/groundPlane/GroundPlaneDomainObject.js +65 -43
- package/dist/domains/groundPlane/GroundPlaneDomainObject.js.map +1 -0
- package/dist/domains/groundPlane/GroundPlaneView.d.ts +4 -4
- package/dist/domains/groundPlane/GroundPlaneView.js +39 -22
- package/dist/domains/groundPlane/GroundPlaneView.js.map +1 -0
- package/dist/domains/groundPlane/index.d.ts +2 -2
- package/dist/domains/groundPlane/index.js +4 -0
- package/dist/domains/groundPlane/index.js.map +1 -0
- package/dist/domains/index.d.ts +118 -115
- package/dist/domains/index.js +121 -105
- package/dist/domains/index.js.map +1 -0
- package/dist/domains/installThreeViews.js +51 -39
- package/dist/domains/installThreeViews.js.map +1 -0
- package/dist/domains/installToolbars.js +75 -71
- package/dist/domains/installToolbars.js.map +1 -0
- package/dist/domains/measurements/MeasureBoxDomainObject.d.ts +6 -6
- package/dist/domains/measurements/MeasureBoxDomainObject.js +24 -17
- package/dist/domains/measurements/MeasureBoxDomainObject.js.map +1 -0
- package/dist/domains/measurements/MeasureCylinderDomainObject.d.ts +5 -5
- package/dist/domains/measurements/MeasureCylinderDomainObject.js +22 -15
- package/dist/domains/measurements/MeasureCylinderDomainObject.js.map +1 -0
- package/dist/domains/measurements/MeasureLineDomainObject.d.ts +5 -5
- package/dist/domains/measurements/MeasureLineDomainObject.js +21 -14
- package/dist/domains/measurements/MeasureLineDomainObject.js.map +1 -0
- package/dist/domains/measurements/MeasurementFolder.d.ts +5 -5
- package/dist/domains/measurements/MeasurementFolder.js +13 -12
- package/dist/domains/measurements/MeasurementFolder.js.map +1 -0
- package/dist/domains/measurements/MeasurementTool.d.ts +21 -21
- package/dist/domains/measurements/MeasurementTool.js +157 -105
- package/dist/domains/measurements/MeasurementTool.js.map +1 -0
- package/dist/domains/measurements/commands/SetMeasurementTypeCommand.d.ts +15 -15
- package/dist/domains/measurements/commands/SetMeasurementTypeCommand.js +129 -68
- package/dist/domains/measurements/commands/SetMeasurementTypeCommand.js.map +1 -0
- package/dist/domains/measurements/commands/ShowMeasurementsOnTopCommand.d.ts +7 -7
- package/dist/domains/measurements/commands/ShowMeasurementsOnTopCommand.js +23 -19
- package/dist/domains/measurements/commands/ShowMeasurementsOnTopCommand.js.map +1 -0
- package/dist/domains/measurements/diameter/getBestFitCylinderByIntersection.d.ts +16 -16
- package/dist/domains/measurements/diameter/getBestFitCylinderByIntersection.js +53 -20
- package/dist/domains/measurements/diameter/getBestFitCylinderByIntersection.js.map +1 -0
- package/dist/domains/measurements/diameter/measureDiameterToolUtils.d.ts +2 -2
- package/dist/domains/measurements/diameter/measureDiameterToolUtils.js +46 -24
- package/dist/domains/measurements/diameter/measureDiameterToolUtils.js.map +1 -0
- package/dist/domains/measurements/point/MeasurePointCreator.d.ts +14 -14
- package/dist/domains/measurements/point/MeasurePointCreator.js +44 -26
- package/dist/domains/measurements/point/MeasurePointCreator.js.map +1 -0
- package/dist/domains/measurements/point/MeasurePointDomainObject.d.ts +17 -17
- package/dist/domains/measurements/point/MeasurePointDomainObject.js +111 -71
- package/dist/domains/measurements/point/MeasurePointDomainObject.js.map +1 -0
- package/dist/domains/measurements/updateFocusPointMarker.d.ts +1 -1
- package/dist/domains/measurements/updateFocusPointMarker.js +18 -11
- package/dist/domains/measurements/updateFocusPointMarker.js.map +1 -0
- package/dist/domains/pointsOfInterest/DeletePointsOfInterestCommand.d.ts +9 -9
- package/dist/domains/pointsOfInterest/DeletePointsOfInterestCommand.js +34 -25
- package/dist/domains/pointsOfInterest/DeletePointsOfInterestCommand.js.map +1 -0
- package/dist/domains/pointsOfInterest/InitiatePointsOfInterestCommand.d.ts +11 -11
- package/dist/domains/pointsOfInterest/InitiatePointsOfInterestCommand.js +31 -25
- package/dist/domains/pointsOfInterest/InitiatePointsOfInterestCommand.js.map +1 -0
- package/dist/domains/pointsOfInterest/PoiHoverScheduler.d.ts +15 -15
- package/dist/domains/pointsOfInterest/PoiHoverScheduler.js +80 -65
- package/dist/domains/pointsOfInterest/PoiHoverScheduler.js.map +1 -0
- package/dist/domains/pointsOfInterest/PointOfInterestTreeNode.d.ts +20 -20
- package/dist/domains/pointsOfInterest/PointOfInterestTreeNode.js +42 -43
- package/dist/domains/pointsOfInterest/PointOfInterestTreeNode.js.map +1 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestCache.d.ts +15 -15
- package/dist/domains/pointsOfInterest/PointsOfInterestCache.js +57 -34
- package/dist/domains/pointsOfInterest/PointsOfInterestCache.js.map +1 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestCommand.d.ts +5 -5
- package/dist/domains/pointsOfInterest/PointsOfInterestCommand.js +13 -14
- package/dist/domains/pointsOfInterest/PointsOfInterestCommand.js.map +1 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestDomainObject.d.ts +70 -70
- package/dist/domains/pointsOfInterest/PointsOfInterestDomainObject.js +363 -223
- package/dist/domains/pointsOfInterest/PointsOfInterestDomainObject.js.map +1 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestProvider.d.ts +11 -11
- package/dist/domains/pointsOfInterest/PointsOfInterestProvider.js +3 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestProvider.js.map +1 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestTool.d.ts +59 -59
- package/dist/domains/pointsOfInterest/PointsOfInterestTool.js +246 -166
- package/dist/domains/pointsOfInterest/PointsOfInterestTool.js.map +1 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestView.d.ts +23 -23
- package/dist/domains/pointsOfInterest/PointsOfInterestView.js +216 -104
- package/dist/domains/pointsOfInterest/PointsOfInterestView.js.map +1 -0
- package/dist/domains/pointsOfInterest/SetPointsOfInterestVisibleCommand.d.ts +7 -7
- package/dist/domains/pointsOfInterest/SetPointsOfInterestVisibleCommand.js +26 -24
- package/dist/domains/pointsOfInterest/SetPointsOfInterestVisibleCommand.js.map +1 -0
- package/dist/domains/pointsOfInterest/ads/PointsOfInterestAdsProvider.d.ts +20 -20
- package/dist/domains/pointsOfInterest/ads/PointsOfInterestAdsProvider.js +141 -91
- package/dist/domains/pointsOfInterest/ads/PointsOfInterestAdsProvider.js.map +1 -0
- package/dist/domains/pointsOfInterest/ads/createUpsertRequestFromPois.d.ts +12 -12
- package/dist/domains/pointsOfInterest/ads/createUpsertRequestFromPois.js +34 -29
- package/dist/domains/pointsOfInterest/ads/createUpsertRequestFromPois.js.map +1 -0
- package/dist/domains/pointsOfInterest/ads/createUserMap.d.ts +1 -1
- package/dist/domains/pointsOfInterest/ads/createUserMap.js +17 -9
- package/dist/domains/pointsOfInterest/ads/createUserMap.js.map +1 -0
- package/dist/domains/pointsOfInterest/ads/types.d.ts +37 -37
- package/dist/domains/pointsOfInterest/ads/types.js +7 -0
- package/dist/domains/pointsOfInterest/ads/types.js.map +1 -0
- package/dist/domains/pointsOfInterest/computeOverlayMatchingWorldDiameter.d.ts +9 -9
- package/dist/domains/pointsOfInterest/computeOverlayMatchingWorldDiameter.js +29 -8
- package/dist/domains/pointsOfInterest/computeOverlayMatchingWorldDiameter.js.map +1 -0
- package/dist/domains/pointsOfInterest/getPoiIntersectionFromPixel.d.ts +6 -6
- package/dist/domains/pointsOfInterest/getPoiIntersectionFromPixel.js +19 -11
- package/dist/domains/pointsOfInterest/getPoiIntersectionFromPixel.js.map +1 -0
- package/dist/domains/pointsOfInterest/index.d.ts +3 -3
- package/dist/domains/pointsOfInterest/index.js +5 -4
- package/dist/domains/pointsOfInterest/index.js.map +1 -0
- package/dist/domains/pointsOfInterest/models.d.ts +20 -20
- package/dist/domains/pointsOfInterest/models.js +3 -0
- package/dist/domains/pointsOfInterest/models.js.map +1 -0
- package/dist/domains/pointsOfInterest/poiMarkerTextures.d.ts +5 -5
- package/dist/domains/pointsOfInterest/poiMarkerTextures.js +28 -22
- package/dist/domains/pointsOfInterest/poiMarkerTextures.js.map +1 -0
- package/dist/domains/pointsOfInterest/selectPoiFromPointer.d.ts +7 -7
- package/dist/domains/pointsOfInterest/selectPoiFromPointer.js +19 -10
- package/dist/domains/pointsOfInterest/selectPoiFromPointer.js.map +1 -0
- package/dist/domains/pointsOfInterest/types.d.ts +18 -18
- package/dist/domains/pointsOfInterest/types.js +37 -34
- package/dist/domains/pointsOfInterest/types.js.map +1 -0
- package/dist/domains/primitives/box/BoxCreator.d.ts +21 -21
- package/dist/domains/primitives/box/BoxCreator.js +141 -72
- package/dist/domains/primitives/box/BoxCreator.js.map +1 -0
- package/dist/domains/primitives/box/BoxDomainObject.d.ts +28 -28
- package/dist/domains/primitives/box/BoxDomainObject.js +219 -112
- package/dist/domains/primitives/box/BoxDomainObject.js.map +1 -0
- package/dist/domains/primitives/box/BoxDragger.d.ts +30 -30
- package/dist/domains/primitives/box/BoxDragger.js +244 -125
- package/dist/domains/primitives/box/BoxDragger.js.map +1 -0
- package/dist/domains/primitives/box/BoxView.d.ts +37 -37
- package/dist/domains/primitives/box/BoxView.js +573 -296
- package/dist/domains/primitives/box/BoxView.js.map +1 -0
- package/dist/domains/primitives/common/BoxFace.d.ts +65 -65
- package/dist/domains/primitives/common/BoxFace.js +181 -80
- package/dist/domains/primitives/common/BoxFace.js.map +1 -0
- package/dist/domains/primitives/common/PrimitivePickInfo.d.ts +24 -24
- package/dist/domains/primitives/common/PrimitivePickInfo.js +17 -12
- package/dist/domains/primitives/common/PrimitivePickInfo.js.map +1 -0
- package/dist/domains/primitives/common/PrimitiveRenderStyle.d.ts +10 -10
- package/dist/domains/primitives/common/PrimitiveRenderStyle.js +17 -16
- package/dist/domains/primitives/common/PrimitiveRenderStyle.js.map +1 -0
- package/dist/domains/primitives/common/SolidDomainObject.d.ts +16 -16
- package/dist/domains/primitives/common/SolidDomainObject.js +63 -39
- package/dist/domains/primitives/common/SolidDomainObject.js.map +1 -0
- package/dist/domains/primitives/common/SolidPrimitiveRenderStyle.d.ts +16 -16
- package/dist/domains/primitives/common/SolidPrimitiveRenderStyle.js +36 -29
- package/dist/domains/primitives/common/SolidPrimitiveRenderStyle.js.map +1 -0
- package/dist/domains/primitives/cylinder/CylinderCreator.d.ts +24 -24
- package/dist/domains/primitives/cylinder/CylinderCreator.js +157 -78
- package/dist/domains/primitives/cylinder/CylinderCreator.js.map +1 -0
- package/dist/domains/primitives/cylinder/CylinderDomainObject.d.ts +24 -24
- package/dist/domains/primitives/cylinder/CylinderDomainObject.js +190 -95
- package/dist/domains/primitives/cylinder/CylinderDomainObject.js.map +1 -0
- package/dist/domains/primitives/cylinder/CylinderDragger.d.ts +29 -29
- package/dist/domains/primitives/cylinder/CylinderDragger.js +213 -111
- package/dist/domains/primitives/cylinder/CylinderDragger.js.map +1 -0
- package/dist/domains/primitives/cylinder/CylinderView.d.ts +28 -28
- package/dist/domains/primitives/cylinder/CylinderView.js +382 -182
- package/dist/domains/primitives/cylinder/CylinderView.js.map +1 -0
- package/dist/domains/primitives/line/LineCreator.d.ts +17 -17
- package/dist/domains/primitives/line/LineCreator.js +105 -53
- package/dist/domains/primitives/line/LineCreator.js.map +1 -0
- package/dist/domains/primitives/line/LineDomainObject.d.ts +36 -36
- package/dist/domains/primitives/line/LineDomainObject.js +234 -151
- package/dist/domains/primitives/line/LineDomainObject.js.map +1 -0
- package/dist/domains/primitives/line/LineRenderStyle.d.ts +14 -14
- package/dist/domains/primitives/line/LineRenderStyle.js +28 -23
- package/dist/domains/primitives/line/LineRenderStyle.js.map +1 -0
- package/dist/domains/primitives/line/LineView.d.ts +15 -15
- package/dist/domains/primitives/line/LineView.js +289 -155
- package/dist/domains/primitives/line/LineView.js.map +1 -0
- package/dist/domains/primitives/plane/PlaneCreator.d.ts +15 -15
- package/dist/domains/primitives/plane/PlaneCreator.js +96 -61
- package/dist/domains/primitives/plane/PlaneCreator.js.map +1 -0
- package/dist/domains/primitives/plane/PlaneDomainObject.d.ts +35 -35
- package/dist/domains/primitives/plane/PlaneDomainObject.js +260 -157
- package/dist/domains/primitives/plane/PlaneDomainObject.js.map +1 -0
- package/dist/domains/primitives/plane/PlaneDragger.d.ts +14 -14
- package/dist/domains/primitives/plane/PlaneDragger.js +58 -35
- package/dist/domains/primitives/plane/PlaneDragger.js.map +1 -0
- package/dist/domains/primitives/plane/PlaneView.d.ts +20 -20
- package/dist/domains/primitives/plane/PlaneView.js +272 -138
- package/dist/domains/primitives/plane/PlaneView.js.map +1 -0
- package/dist/domains/primitives/tools/PrimitiveEditTool.d.ts +27 -27
- package/dist/domains/primitives/tools/PrimitiveEditTool.js +296 -173
- package/dist/domains/primitives/tools/PrimitiveEditTool.js.map +1 -0
- package/dist/domains/reveal/Image360Collection/Image360CollectionDomainObject.d.ts +37 -37
- package/dist/domains/reveal/Image360Collection/Image360CollectionDomainObject.js +153 -97
- package/dist/domains/reveal/Image360Collection/Image360CollectionDomainObject.js.map +1 -0
- package/dist/domains/reveal/Image360Collection/Image360CollectionFolder.d.ts +4 -4
- package/dist/domains/reveal/Image360Collection/Image360CollectionFolder.js +14 -12
- package/dist/domains/reveal/Image360Collection/Image360CollectionFolder.js.map +1 -0
- package/dist/domains/reveal/Image360Collection/Image360CollectionThreeView.d.ts +10 -10
- package/dist/domains/reveal/Image360Collection/Image360CollectionThreeView.js +39 -24
- package/dist/domains/reveal/Image360Collection/Image360CollectionThreeView.js.map +1 -0
- package/dist/domains/reveal/Image360Collection/commands/Image360ActionCommand.d.ts +12 -12
- package/dist/domains/reveal/Image360Collection/commands/Image360ActionCommand.js +68 -45
- package/dist/domains/reveal/Image360Collection/commands/Image360ActionCommand.js.map +1 -0
- package/dist/domains/reveal/Image360Collection/commands/Image360CollectionDividerCommand.d.ts +2 -2
- package/dist/domains/reveal/Image360Collection/commands/Image360CollectionDividerCommand.js +9 -0
- package/dist/domains/reveal/Image360Collection/commands/Image360CollectionDividerCommand.js.map +1 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsOccludedVisibleCommand.d.ts +9 -9
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsOccludedVisibleCommand.js +31 -25
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsOccludedVisibleCommand.js.map +1 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsOpacityCommand.d.ts +8 -8
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsOpacityCommand.js +27 -22
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsOpacityCommand.js.map +1 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsSectionCommand.d.ts +4 -4
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsSectionCommand.js +14 -13
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsSectionCommand.js.map +1 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsVisibleCommand.d.ts +9 -9
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsVisibleCommand.js +31 -25
- package/dist/domains/reveal/Image360Collection/commands/Set360IconsVisibleCommand.js.map +1 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360ImagesOpacityCommand.d.ts +8 -8
- package/dist/domains/reveal/Image360Collection/commands/Set360ImagesOpacityCommand.js +27 -22
- package/dist/domains/reveal/Image360Collection/commands/Set360ImagesOpacityCommand.js.map +1 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360ImagesSectionCommand.d.ts +4 -4
- package/dist/domains/reveal/Image360Collection/commands/Set360ImagesSectionCommand.js +14 -0
- package/dist/domains/reveal/Image360Collection/commands/Set360ImagesSectionCommand.js.map +1 -0
- package/dist/domains/reveal/Image360Collection/commands/Show360AnnotationsCommand.d.ts +11 -11
- package/dist/domains/reveal/Image360Collection/commands/Show360AnnotationsCommand.js +39 -29
- package/dist/domains/reveal/Image360Collection/commands/Show360AnnotationsCommand.js.map +1 -0
- package/dist/domains/reveal/RevealDomainObject.d.ts +2 -3
- package/dist/domains/reveal/RevealDomainObject.js +5 -5
- package/dist/domains/reveal/RevealDomainObject.js.map +1 -0
- package/dist/domains/reveal/RevealDomainObjectUtils.d.ts +31 -30
- package/dist/domains/reveal/RevealDomainObjectUtils.js +127 -78
- package/dist/domains/reveal/RevealDomainObjectUtils.js.map +1 -0
- package/dist/domains/reveal/RevealSettingsController.d.ts +41 -41
- package/dist/domains/reveal/RevealSettingsController.js +211 -165
- package/dist/domains/reveal/RevealSettingsController.js.map +1 -0
- package/dist/domains/reveal/RevealTypes.d.ts +1 -1
- package/dist/domains/reveal/RevealTypes.js +3 -0
- package/dist/domains/reveal/RevealTypes.js.map +1 -0
- package/dist/domains/reveal/cad/CadDomainObject.d.ts +50 -50
- package/dist/domains/reveal/cad/CadDomainObject.js +176 -112
- package/dist/domains/reveal/cad/CadDomainObject.js.map +1 -0
- package/dist/domains/reveal/cad/CadDomainObjectUtils.d.ts +17 -16
- package/dist/domains/reveal/cad/CadDomainObjectUtils.js +46 -38
- package/dist/domains/reveal/cad/CadDomainObjectUtils.js.map +1 -0
- package/dist/domains/reveal/cad/CadFolder.d.ts +4 -4
- package/dist/domains/reveal/cad/CadFolder.js +14 -12
- package/dist/domains/reveal/cad/CadFolder.js.map +1 -0
- package/dist/domains/reveal/cad/CadThreeView.d.ts +10 -10
- package/dist/domains/reveal/cad/CadThreeView.js +39 -25
- package/dist/domains/reveal/cad/CadThreeView.js.map +1 -0
- package/dist/domains/reveal/cad/commands/CadDividerCommand.d.ts +2 -2
- package/dist/domains/reveal/cad/commands/CadDividerCommand.js +9 -0
- package/dist/domains/reveal/cad/commands/CadDividerCommand.js.map +1 -0
- package/dist/domains/reveal/cad/commands/SetGhostModeCommand.d.ts +8 -8
- package/dist/domains/reveal/cad/commands/SetGhostModeCommand.js +29 -24
- package/dist/domains/reveal/cad/commands/SetGhostModeCommand.js.map +1 -0
- package/dist/domains/reveal/constants.d.ts +1 -1
- package/dist/domains/reveal/constants.js +14 -13
- package/dist/domains/reveal/constants.js.map +1 -0
- package/dist/domains/reveal/getOrCreateFolder.d.ts +15 -15
- package/dist/domains/reveal/getOrCreateFolder.js +48 -24
- package/dist/domains/reveal/getOrCreateFolder.js.map +1 -0
- package/dist/domains/reveal/pointCloud/PointCloudDomainObject.d.ts +27 -27
- package/dist/domains/reveal/pointCloud/PointCloudDomainObject.js +83 -57
- package/dist/domains/reveal/pointCloud/PointCloudDomainObject.js.map +1 -0
- package/dist/domains/reveal/pointCloud/PointCloudFolder.d.ts +4 -4
- package/dist/domains/reveal/pointCloud/PointCloudFolder.js +14 -12
- package/dist/domains/reveal/pointCloud/PointCloudFolder.js.map +1 -0
- package/dist/domains/reveal/pointCloud/PointCloudThreeView.d.ts +9 -9
- package/dist/domains/reveal/pointCloud/PointCloudThreeView.js +39 -25
- package/dist/domains/reveal/pointCloud/PointCloudThreeView.js.map +1 -0
- package/dist/domains/reveal/pointCloud/commands/PointCloudFilterCommand.d.ts +25 -25
- package/dist/domains/reveal/pointCloud/commands/PointCloudFilterCommand.js +178 -92
- package/dist/domains/reveal/pointCloud/commands/PointCloudFilterCommand.js.map +1 -0
- package/dist/domains/reveal/pointCloud/commands/SetPointColorTypeCommand.d.ts +8 -8
- package/dist/domains/reveal/pointCloud/commands/SetPointColorTypeCommand.js +93 -52
- package/dist/domains/reveal/pointCloud/commands/SetPointColorTypeCommand.js.map +1 -0
- package/dist/domains/reveal/pointCloud/commands/SetPointShapeCommand.d.ts +8 -8
- package/dist/domains/reveal/pointCloud/commands/SetPointShapeCommand.js +68 -44
- package/dist/domains/reveal/pointCloud/commands/SetPointShapeCommand.js.map +1 -0
- package/dist/domains/reveal/pointCloud/commands/SetPointSizeCommand.d.ts +12 -12
- package/dist/domains/reveal/pointCloud/commands/SetPointSizeCommand.js +77 -57
- package/dist/domains/reveal/pointCloud/commands/SetPointSizeCommand.js.map +1 -0
- package/dist/domains/reveal/pointCloud/isPointCloudIntersection.d.ts +1 -1
- package/dist/domains/reveal/pointCloud/isPointCloudIntersection.js +5 -5
- package/dist/domains/reveal/pointCloud/isPointCloudIntersection.js.map +1 -0
- package/dist/domains/reveal/signal/getRevealDomainObjectsSignal.d.ts +3 -3
- package/dist/domains/reveal/signal/getRevealDomainObjectsSignal.js +29 -20
- package/dist/domains/reveal/signal/getRevealDomainObjectsSignal.js.map +1 -0
- package/dist/domains/reveal/utils/getViewer.d.ts +2 -2
- package/dist/domains/reveal/utils/getViewer.js +10 -8
- package/dist/domains/reveal/utils/getViewer.js.map +1 -0
- package/dist/domains/reveal/utils/isImage360AnnotationHit.d.ts +6 -6
- package/dist/domains/reveal/utils/isImage360AnnotationHit.js +9 -5
- package/dist/domains/reveal/utils/isImage360AnnotationHit.js.map +1 -0
- package/dist/domains/reveal/utils/layersUrlStateParam.d.ts +11 -11
- package/dist/domains/reveal/utils/layersUrlStateParam.js +3 -0
- package/dist/domains/reveal/utils/layersUrlStateParam.js.map +1 -0
- package/dist/domains/reveal/utils/updateLayerState.d.ts +2 -2
- package/dist/domains/reveal/utils/updateLayerState.js +80 -55
- package/dist/domains/reveal/utils/updateLayerState.js.map +1 -0
- package/dist/domains/scene/SceneDomainObject.d.ts +36 -36
- package/dist/domains/scene/SceneDomainObject.js +82 -55
- package/dist/domains/scene/SceneDomainObject.js.map +1 -0
- package/dist/domains/scene/createResourceTransformation.d.ts +7 -7
- package/dist/domains/scene/createResourceTransformation.js +24 -14
- package/dist/domains/scene/createResourceTransformation.js.map +1 -0
- package/dist/domains/scene/fetchSceneConfig.d.ts +9 -9
- package/dist/domains/scene/fetchSceneConfig.js +76 -61
- package/dist/domains/scene/fetchSceneConfig.js.map +1 -0
- package/dist/domains/scene/loadSceneGroundPlanes.d.ts +7 -7
- package/dist/domains/scene/loadSceneGroundPlanes.js +39 -29
- package/dist/domains/scene/loadSceneGroundPlanes.js.map +1 -0
- package/dist/domains/scene/loadSceneImage360Collections.d.ts +7 -7
- package/dist/domains/scene/loadSceneImage360Collections.js +30 -25
- package/dist/domains/scene/loadSceneImage360Collections.js.map +1 -0
- package/dist/domains/scene/loadSceneModels.d.ts +11 -11
- package/dist/domains/scene/loadSceneModels.js +79 -59
- package/dist/domains/scene/loadSceneModels.js.map +1 -0
- package/dist/domains/scene/loadScenePointsOfInterest.d.ts +5 -5
- package/dist/domains/scene/loadScenePointsOfInterest.js +19 -16
- package/dist/domains/scene/loadScenePointsOfInterest.js.map +1 -0
- package/dist/domains/scene/loadSceneSkybox.d.ts +5 -5
- package/dist/domains/scene/loadSceneSkybox.js +17 -17
- package/dist/domains/scene/loadSceneSkybox.js.map +1 -0
- package/dist/domains/scene/loadTextureFromFileExternalId.d.ts +11 -11
- package/dist/domains/scene/loadTextureFromFileExternalId.js +24 -9
- package/dist/domains/scene/loadTextureFromFileExternalId.js.map +1 -0
- package/dist/domains/scene/parseSceneResponse.d.ts +3 -3
- package/dist/domains/scene/parseSceneResponse.js +82 -64
- package/dist/domains/scene/parseSceneResponse.js.map +1 -0
- package/dist/domains/skybox/SkyboxDomainObject.d.ts +13 -13
- package/dist/domains/skybox/SkyboxDomainObject.js +38 -29
- package/dist/domains/skybox/SkyboxDomainObject.js.map +1 -0
- package/dist/domains/skybox/SkyboxView.d.ts +6 -6
- package/dist/domains/skybox/SkyboxView.js +70 -29
- package/dist/domains/skybox/SkyboxView.js.map +1 -0
- package/dist/domains/skybox/index.d.ts +2 -2
- package/dist/domains/skybox/index.js +4 -3
- package/dist/domains/skybox/index.js.map +1 -0
- package/dist/domains/temporary/TemporaryFolder.d.ts +7 -7
- package/dist/domains/temporary/TemporaryFolder.js +23 -17
- package/dist/domains/temporary/TemporaryFolder.js.map +1 -0
- package/dist/domains/temporary/getOrCreateTemporaryFolder.d.ts +3 -3
- package/dist/domains/temporary/getOrCreateTemporaryFolder.js +22 -14
- package/dist/domains/temporary/getOrCreateTemporaryFolder.js.map +1 -0
- package/dist/domains/terrain/SetTerrainVisibleCommand.d.ts +6 -6
- package/dist/domains/terrain/SetTerrainVisibleCommand.js +36 -0
- package/dist/domains/terrain/SetTerrainVisibleCommand.js.map +1 -0
- package/dist/domains/terrain/TerrainDomainObject.d.ts +14 -14
- package/dist/domains/terrain/TerrainDomainObject.js +69 -36
- package/dist/domains/terrain/TerrainDomainObject.js.map +1 -0
- package/dist/domains/terrain/TerrainRenderStyle.d.ts +16 -16
- package/dist/domains/terrain/TerrainRenderStyle.js +20 -24
- package/dist/domains/terrain/TerrainRenderStyle.js.map +1 -0
- package/dist/domains/terrain/TerrainThreeView.d.ts +11 -11
- package/dist/domains/terrain/TerrainThreeView.js +185 -81
- package/dist/domains/terrain/TerrainThreeView.js.map +1 -0
- package/dist/domains/terrain/geometry/ContouringService.d.ts +10 -10
- package/dist/domains/terrain/geometry/ContouringService.js +109 -39
- package/dist/domains/terrain/geometry/ContouringService.js.map +1 -0
- package/dist/domains/terrain/geometry/Grid2.d.ts +12 -12
- package/dist/domains/terrain/geometry/Grid2.js +40 -0
- package/dist/domains/terrain/geometry/Grid2.js.map +1 -0
- package/dist/domains/terrain/geometry/RegularGrid2.d.ts +34 -34
- package/dist/domains/terrain/geometry/RegularGrid2.js +302 -0
- package/dist/domains/terrain/geometry/RegularGrid2.js.map +1 -0
- package/dist/domains/terrain/geometry/RegularGrid2Buffers.d.ts +6 -6
- package/dist/domains/terrain/geometry/RegularGrid2Buffers.js +99 -39
- package/dist/domains/terrain/geometry/RegularGrid2Buffers.js.map +1 -0
- package/dist/domains/terrain/geometry/createFractalRegularGrid2.d.ts +3 -3
- package/dist/domains/terrain/geometry/createFractalRegularGrid2.js +70 -0
- package/dist/domains/terrain/geometry/createFractalRegularGrid2.js.map +1 -0
- package/dist/foundation/commands/BaseBannerCommand.d.ts +11 -11
- package/dist/foundation/commands/BaseBannerCommand.js +18 -11
- package/dist/foundation/commands/BaseBannerCommand.js.map +1 -0
- package/dist/foundation/commands/BaseCommand.d.ts +83 -83
- package/dist/foundation/commands/BaseCommand.js +198 -112
- package/dist/foundation/commands/BaseCommand.js.map +1 -0
- package/dist/foundation/commands/BaseEditTool.d.ts +64 -64
- package/dist/foundation/commands/BaseEditTool.js +188 -84
- package/dist/foundation/commands/BaseEditTool.js.map +1 -0
- package/dist/foundation/commands/BaseFilterCommand.d.ts +39 -39
- package/dist/foundation/commands/BaseFilterCommand.js +143 -60
- package/dist/foundation/commands/BaseFilterCommand.js.map +1 -0
- package/dist/foundation/commands/BaseInputCommand.d.ts +12 -12
- package/dist/foundation/commands/BaseInputCommand.js +27 -24
- package/dist/foundation/commands/BaseInputCommand.js.map +1 -0
- package/dist/foundation/commands/BaseOptionCommand.d.ts +17 -17
- package/dist/foundation/commands/BaseOptionCommand.js +67 -37
- package/dist/foundation/commands/BaseOptionCommand.js.map +1 -0
- package/dist/foundation/commands/BaseSettingsCommand.d.ts +8 -8
- package/dist/foundation/commands/BaseSettingsCommand.js +40 -27
- package/dist/foundation/commands/BaseSettingsCommand.js.map +1 -0
- package/dist/foundation/commands/BaseSliderCommand.d.ts +11 -11
- package/dist/foundation/commands/BaseSliderCommand.js +23 -16
- package/dist/foundation/commands/BaseSliderCommand.js.map +1 -0
- package/dist/foundation/commands/BaseTool.d.ts +55 -55
- package/dist/foundation/commands/BaseTool.js +172 -109
- package/dist/foundation/commands/BaseTool.js.map +1 -0
- package/dist/foundation/commands/CustomBaseInputCommand.d.ts +24 -24
- package/dist/foundation/commands/CustomBaseInputCommand.js +48 -40
- package/dist/foundation/commands/CustomBaseInputCommand.js.map +1 -0
- package/dist/foundation/commands/DividerCommand.d.ts +5 -5
- package/dist/foundation/commands/DividerCommand.js +14 -15
- package/dist/foundation/commands/DividerCommand.js.map +1 -0
- package/dist/foundation/commands/DomainObjectCommand.d.ts +5 -5
- package/dist/foundation/commands/DomainObjectCommand.js +18 -13
- package/dist/foundation/commands/DomainObjectCommand.js.map +1 -0
- package/dist/foundation/commands/FractionSliderCommand.d.ts +3 -3
- package/dist/foundation/commands/FractionSliderCommand.js +20 -12
- package/dist/foundation/commands/FractionSliderCommand.js.map +1 -0
- package/dist/foundation/commands/GeneralBannerCommand.d.ts +11 -11
- package/dist/foundation/commands/GeneralBannerCommand.js +41 -29
- package/dist/foundation/commands/GeneralBannerCommand.js.map +1 -0
- package/dist/foundation/commands/GroupCommand.d.ts +25 -25
- package/dist/foundation/commands/GroupCommand.js +67 -48
- package/dist/foundation/commands/GroupCommand.js.map +1 -0
- package/dist/foundation/commands/InstanceCommand.d.ts +7 -7
- package/dist/foundation/commands/InstanceCommand.js +27 -18
- package/dist/foundation/commands/InstanceCommand.js.map +1 -0
- package/dist/foundation/commands/RenderTargetCommand.d.ts +22 -22
- package/dist/foundation/commands/RenderTargetCommand.js +84 -44
- package/dist/foundation/commands/RenderTargetCommand.js.map +1 -0
- package/dist/foundation/commands/SectionCommand.d.ts +5 -5
- package/dist/foundation/commands/SectionCommand.js +14 -15
- package/dist/foundation/commands/SectionCommand.js.map +1 -0
- package/dist/foundation/commands/ShowAllDomainObjectsCommand.d.ts +9 -9
- package/dist/foundation/commands/ShowAllDomainObjectsCommand.js +40 -27
- package/dist/foundation/commands/ShowAllDomainObjectsCommand.js.map +1 -0
- package/dist/foundation/commands/ShowDomainObjectsOnTopCommand.d.ts +7 -7
- package/dist/foundation/commands/ShowDomainObjectsOnTopCommand.js +46 -31
- package/dist/foundation/commands/ShowDomainObjectsOnTopCommand.js.map +1 -0
- package/dist/foundation/commands/factory/ToolbarFactory.d.ts +18 -18
- package/dist/foundation/commands/factory/ToolbarFactory.js +29 -11
- package/dist/foundation/commands/factory/ToolbarFactory.js.map +1 -0
- package/dist/foundation/concreteCommands/general/CopyToClipboardCommand.d.ts +13 -13
- package/dist/foundation/concreteCommands/general/CopyToClipboardCommand.js +44 -31
- package/dist/foundation/concreteCommands/general/CopyToClipboardCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/general/DeleteDomainObjectCommand.d.ts +9 -9
- package/dist/foundation/concreteCommands/general/DeleteDomainObjectCommand.js +24 -22
- package/dist/foundation/concreteCommands/general/DeleteDomainObjectCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/general/HelpCommand.d.ts +10 -10
- package/dist/foundation/concreteCommands/general/HelpCommand.js +30 -23
- package/dist/foundation/concreteCommands/general/HelpCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/general/SettingsCommand.d.ts +12 -12
- package/dist/foundation/concreteCommands/general/SettingsCommand.js +104 -55
- package/dist/foundation/concreteCommands/general/SettingsCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/general/ShareCommand.d.ts +11 -11
- package/dist/foundation/concreteCommands/general/ShareCommand.js +33 -27
- package/dist/foundation/concreteCommands/general/ShareCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/general/ShowLayersCommand.d.ts +11 -11
- package/dist/foundation/concreteCommands/general/ShowLayersCommand.js +33 -26
- package/dist/foundation/concreteCommands/general/ShowLayersCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/general/ShowTreeViewCommand.d.ts +11 -11
- package/dist/foundation/concreteCommands/general/ShowTreeViewCommand.js +33 -26
- package/dist/foundation/concreteCommands/general/ShowTreeViewCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/general/UndoCommand.d.ts +10 -10
- package/dist/foundation/concreteCommands/general/UndoCommand.js +45 -31
- package/dist/foundation/concreteCommands/general/UndoCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/navigation/FitViewCommand.d.ts +6 -6
- package/dist/foundation/concreteCommands/navigation/FitViewCommand.js +17 -15
- package/dist/foundation/concreteCommands/navigation/FitViewCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/navigation/KeyboardSpeedCommand.d.ts +7 -7
- package/dist/foundation/concreteCommands/navigation/KeyboardSpeedCommand.js +62 -43
- package/dist/foundation/concreteCommands/navigation/KeyboardSpeedCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/navigation/NavigationTool.d.ts +27 -27
- package/dist/foundation/concreteCommands/navigation/NavigationTool.js +134 -100
- package/dist/foundation/concreteCommands/navigation/NavigationTool.js.map +1 -0
- package/dist/foundation/concreteCommands/navigation/SetFlexibleControlsTypeCommand.d.ts +17 -17
- package/dist/foundation/concreteCommands/navigation/SetFlexibleControlsTypeCommand.js +85 -50
- package/dist/foundation/concreteCommands/navigation/SetFlexibleControlsTypeCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/navigation/SetOrbitOrFirstPersonModeCommand.d.ts +7 -7
- package/dist/foundation/concreteCommands/navigation/SetOrbitOrFirstPersonModeCommand.js +30 -20
- package/dist/foundation/concreteCommands/navigation/SetOrbitOrFirstPersonModeCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/quality/QualityWarningBannerCommand.d.ts +7 -7
- package/dist/foundation/concreteCommands/quality/QualityWarningBannerCommand.js +26 -19
- package/dist/foundation/concreteCommands/quality/QualityWarningBannerCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/quality/SetQualityCommand.d.ts +13 -13
- package/dist/foundation/concreteCommands/quality/SetQualityCommand.js +81 -58
- package/dist/foundation/concreteCommands/quality/SetQualityCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/quality/SetQualitySliderCommand.d.ts +10 -10
- package/dist/foundation/concreteCommands/quality/SetQualitySliderCommand.js +44 -30
- package/dist/foundation/concreteCommands/quality/SetQualitySliderCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/quality/fidelityLevels.d.ts +1 -1
- package/dist/foundation/concreteCommands/quality/fidelityLevels.js +109 -84
- package/dist/foundation/concreteCommands/quality/fidelityLevels.js.map +1 -0
- package/dist/foundation/concreteCommands/units/CycleLengthUnitsCommand.d.ts +8 -8
- package/dist/foundation/concreteCommands/units/CycleLengthUnitsCommand.js +34 -29
- package/dist/foundation/concreteCommands/units/CycleLengthUnitsCommand.js.map +1 -0
- package/dist/foundation/concreteCommands/units/SetLengthUnitCommand.d.ts +6 -6
- package/dist/foundation/concreteCommands/units/SetLengthUnitCommand.js +49 -35
- package/dist/foundation/concreteCommands/units/SetLengthUnitCommand.js.map +1 -0
- package/dist/foundation/domainObjects/DomainObject.d.ts +209 -209
- package/dist/foundation/domainObjects/DomainObject.js +860 -404
- package/dist/foundation/domainObjects/DomainObject.js.map +1 -0
- package/dist/foundation/domainObjects/FolderDomainObject.d.ts +9 -9
- package/dist/foundation/domainObjects/FolderDomainObject.js +33 -25
- package/dist/foundation/domainObjects/FolderDomainObject.js.map +1 -0
- package/dist/foundation/domainObjects/RootDomainObject.d.ts +26 -26
- package/dist/foundation/domainObjects/RootDomainObject.js +83 -55
- package/dist/foundation/domainObjects/RootDomainObject.js.map +1 -0
- package/dist/foundation/domainObjects/VisualDomainObject.d.ts +36 -36
- package/dist/foundation/domainObjects/VisualDomainObject.js +131 -46
- package/dist/foundation/domainObjects/VisualDomainObject.js.map +1 -0
- package/dist/foundation/domainObjects/getRoot.d.ts +13 -13
- package/dist/foundation/domainObjects/getRoot.js +21 -8
- package/dist/foundation/domainObjects/getRoot.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/BaseCreator.d.ts +58 -58
- package/dist/foundation/domainObjectsHelpers/BaseCreator.js +104 -57
- package/dist/foundation/domainObjectsHelpers/BaseCreator.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/BaseDragger.d.ts +44 -44
- package/dist/foundation/domainObjectsHelpers/BaseDragger.js +69 -34
- package/dist/foundation/domainObjectsHelpers/BaseDragger.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/ChangedDescription.d.ts +4 -4
- package/dist/foundation/domainObjectsHelpers/ChangedDescription.js +15 -14
- package/dist/foundation/domainObjectsHelpers/ChangedDescription.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/Changes.d.ts +25 -25
- package/dist/foundation/domainObjectsHelpers/Changes.js +84 -30
- package/dist/foundation/domainObjectsHelpers/Changes.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/Class.d.ts +1 -1
- package/dist/foundation/domainObjectsHelpers/Class.js +4 -5
- package/dist/foundation/domainObjectsHelpers/Class.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/ColorType.d.ts +6 -6
- package/dist/foundation/domainObjectsHelpers/ColorType.js +10 -5
- package/dist/foundation/domainObjectsHelpers/ColorType.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/CommandChanges.d.ts +2 -2
- package/dist/foundation/domainObjectsHelpers/CommandChanges.js +10 -7
- package/dist/foundation/domainObjectsHelpers/CommandChanges.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/DomainObjectChange.d.ts +26 -26
- package/dist/foundation/domainObjectsHelpers/DomainObjectChange.js +98 -39
- package/dist/foundation/domainObjectsHelpers/DomainObjectChange.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/DomainObjectIntersection.d.ts +4 -4
- package/dist/foundation/domainObjectsHelpers/DomainObjectIntersection.js +10 -7
- package/dist/foundation/domainObjectsHelpers/DomainObjectIntersection.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/FocusType.d.ts +7 -7
- package/dist/foundation/domainObjectsHelpers/FocusType.js +11 -5
- package/dist/foundation/domainObjectsHelpers/FocusType.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/PanelInfo.d.ts +21 -21
- package/dist/foundation/domainObjectsHelpers/PanelInfo.js +51 -40
- package/dist/foundation/domainObjectsHelpers/PanelInfo.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/PopupStyle.d.ts +25 -25
- package/dist/foundation/domainObjectsHelpers/PopupStyle.js +56 -45
- package/dist/foundation/domainObjectsHelpers/PopupStyle.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/Quantity.d.ts +5 -5
- package/dist/foundation/domainObjectsHelpers/Quantity.js +9 -5
- package/dist/foundation/domainObjectsHelpers/Quantity.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/Views.d.ts +26 -26
- package/dist/foundation/domainObjectsHelpers/Views.js +69 -43
- package/dist/foundation/domainObjectsHelpers/Views.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/VisibleState.d.ts +5 -5
- package/dist/foundation/domainObjectsHelpers/VisibleState.js +9 -5
- package/dist/foundation/domainObjectsHelpers/VisibleState.js.map +1 -0
- package/dist/foundation/domainObjectsHelpers/getClosestDomainObjectIntersection.d.ts +7 -7
- package/dist/foundation/domainObjectsHelpers/getClosestDomainObjectIntersection.js +31 -13
- package/dist/foundation/domainObjectsHelpers/getClosestDomainObjectIntersection.js.map +1 -0
- package/dist/foundation/reactUpdaters/DomainObjectPanelUpdater.d.ts +19 -19
- package/dist/foundation/reactUpdaters/DomainObjectPanelUpdater.js +62 -30
- package/dist/foundation/reactUpdaters/DomainObjectPanelUpdater.js.map +1 -0
- package/dist/foundation/renderStyles/CommonRenderStyle.d.ts +2 -2
- package/dist/foundation/renderStyles/CommonRenderStyle.js +11 -7
- package/dist/foundation/renderStyles/CommonRenderStyle.js.map +1 -0
- package/dist/foundation/renderStyles/RenderStyle.d.ts +1 -1
- package/dist/foundation/renderStyles/RenderStyle.js +4 -4
- package/dist/foundation/renderStyles/RenderStyle.js.map +1 -0
- package/dist/foundation/renderTarget/BaseRevealConfig.d.ts +12 -12
- package/dist/foundation/renderTarget/BaseRevealConfig.js +36 -32
- package/dist/foundation/renderTarget/BaseRevealConfig.js.map +1 -0
- package/dist/foundation/renderTarget/CdfCaches.d.ts +45 -39
- package/dist/foundation/renderTarget/CdfCaches.js +81 -62
- package/dist/foundation/renderTarget/CdfCaches.js.map +1 -0
- package/dist/foundation/renderTarget/CommandsController.d.ts +67 -67
- package/dist/foundation/renderTarget/CommandsController.js +279 -157
- package/dist/foundation/renderTarget/CommandsController.js.map +1 -0
- package/dist/foundation/renderTarget/DefaultRevealConfig.d.ts +2 -3
- package/dist/foundation/renderTarget/DefaultRevealConfig.js +5 -5
- package/dist/foundation/renderTarget/DefaultRevealConfig.js.map +1 -0
- package/dist/foundation/renderTarget/InstanceStylingController.d.ts +8 -8
- package/dist/foundation/renderTarget/InstanceStylingController.js +32 -29
- package/dist/foundation/renderTarget/InstanceStylingController.js.map +1 -0
- package/dist/foundation/renderTarget/RenderTarget.d.ts +27 -27
- package/dist/foundation/renderTarget/RenderTarget.js +9 -0
- package/dist/foundation/renderTarget/RenderTarget.js.map +1 -0
- package/dist/foundation/renderTarget/RevealRenderTarget.d.ts +105 -105
- package/dist/foundation/renderTarget/RevealRenderTarget.js +334 -220
- package/dist/foundation/renderTarget/RevealRenderTarget.js.map +1 -0
- package/dist/foundation/renderTarget/UnitSystem.d.ts +21 -21
- package/dist/foundation/renderTarget/UnitSystem.js +139 -85
- package/dist/foundation/renderTarget/UnitSystem.js.map +1 -0
- package/dist/foundation/renderTarget/convertCoordinates.d.ts +1 -1
- package/dist/foundation/renderTarget/convertCoordinates.js +12 -11
- package/dist/foundation/renderTarget/convertCoordinates.js.map +1 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-lazy-loader.d.ts +30 -30
- package/dist/foundation/treeNodes/cad-tree-node/cad-lazy-loader.js +224 -127
- package/dist/foundation/treeNodes/cad-tree-node/cad-lazy-loader.js.map +1 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-node-update-styling.d.ts +2 -2
- package/dist/foundation/treeNodes/cad-tree-node/cad-node-update-styling.js +82 -43
- package/dist/foundation/treeNodes/cad-tree-node/cad-node-update-styling.js.map +1 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node-view-adapter.d.ts +39 -39
- package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node-view-adapter.js +89 -83
- package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node-view-adapter.js.map +1 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node.d.ts +40 -40
- package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node.js +130 -71
- package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node.js.map +1 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-types.d.ts +6 -6
- package/dist/foundation/treeNodes/cad-tree-node/cad-types.js +3 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-types.js.map +1 -0
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/classic-instance-mappings-sdk.d.ts +10 -10
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/classic-instance-mappings-sdk.js +61 -37
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/classic-instance-mappings-sdk.js.map +1 -0
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/core-dm-instance-mappings-sdk.d.ts +11 -11
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/core-dm-instance-mappings-sdk.js +26 -23
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/core-dm-instance-mappings-sdk.js.map +1 -0
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/i-nodes-and-instance-mappings-sdk.d.ts +14 -14
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/i-nodes-and-instance-mappings-sdk.js +3 -0
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/i-nodes-and-instance-mappings-sdk.js.map +1 -0
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/nodes-and-instance-mappings-sdk.d.ts +18 -18
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/nodes-and-instance-mappings-sdk.js +20 -22
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/nodes-and-instance-mappings-sdk.js.map +1 -0
- package/dist/foundation/treeNodes/index.d.ts +1 -1
- package/dist/foundation/treeNodes/index.js +3 -0
- package/dist/foundation/treeNodes/index.js.map +1 -0
- package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-annotations-lazy-loader.d.ts +8 -0
- package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-annotations-lazy-loader.js +67 -0
- package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-annotations-lazy-loader.js.map +1 -0
- package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-mapping-tree-node.d.ts +10 -0
- package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-mapping-tree-node.js +40 -0
- package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-mapping-tree-node.js.map +1 -0
- package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-tree-node.d.ts +2 -0
- package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-tree-node.js +5 -0
- package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-tree-node.js.map +1 -0
- package/dist/foundation/treeNodes/tree-node/tree-node-functions-on-key-down.d.ts +2 -2
- package/dist/foundation/treeNodes/tree-node/tree-node-functions-on-key-down.js +125 -58
- package/dist/foundation/treeNodes/tree-node/tree-node-functions-on-key-down.js.map +1 -0
- package/dist/foundation/treeNodes/tree-node/tree-node-functions.d.ts +13 -13
- package/dist/foundation/treeNodes/tree-node/tree-node-functions.js +111 -40
- package/dist/foundation/treeNodes/tree-node/tree-node-functions.js.map +1 -0
- package/dist/foundation/treeNodes/tree-node/tree-node.d.ts +91 -91
- package/dist/foundation/treeNodes/tree-node/tree-node.js +427 -238
- package/dist/foundation/treeNodes/tree-node/tree-node.js.map +1 -0
- package/dist/foundation/treeNodes/tree-node-type/i-lazy-loader.d.ts +55 -55
- package/dist/foundation/treeNodes/tree-node-type/i-lazy-loader.js +5 -0
- package/dist/foundation/treeNodes/tree-node-type/i-lazy-loader.js.map +1 -0
- package/dist/foundation/treeNodes/tree-node-type/tree-node-actions.d.ts +9 -9
- package/dist/foundation/treeNodes/tree-node-type/tree-node-actions.js +3 -0
- package/dist/foundation/treeNodes/tree-node-type/tree-node-actions.js.map +1 -0
- package/dist/foundation/treeNodes/tree-node-type/tree-node-type.d.ts +39 -39
- package/dist/foundation/treeNodes/tree-node-type/tree-node-type.js +3 -0
- package/dist/foundation/treeNodes/tree-node-type/tree-node-type.js.map +1 -0
- package/dist/foundation/undo/DomainObjectTransaction.d.ts +10 -10
- package/dist/foundation/undo/DomainObjectTransaction.js +52 -28
- package/dist/foundation/undo/DomainObjectTransaction.js.map +1 -0
- package/dist/foundation/undo/Transaction.d.ts +10 -10
- package/dist/foundation/undo/Transaction.js +33 -21
- package/dist/foundation/undo/Transaction.js.map +1 -0
- package/dist/foundation/undo/UndoManager.d.ts +14 -14
- package/dist/foundation/undo/UndoManager.js +56 -28
- package/dist/foundation/undo/UndoManager.js.map +1 -0
- package/dist/foundation/utilities/colors/ColorInterpolation.d.ts +3 -3
- package/dist/foundation/utilities/colors/ColorInterpolation.js +7 -5
- package/dist/foundation/utilities/colors/ColorInterpolation.js.map +1 -0
- package/dist/foundation/utilities/colors/ColorMap.d.ts +13 -13
- package/dist/foundation/utilities/colors/ColorMap.js +111 -56
- package/dist/foundation/utilities/colors/ColorMap.js.map +1 -0
- package/dist/foundation/utilities/colors/ColorMapItem.d.ts +7 -7
- package/dist/foundation/utilities/colors/ColorMapItem.js +26 -19
- package/dist/foundation/utilities/colors/ColorMapItem.js.map +1 -0
- package/dist/foundation/utilities/colors/ColorMapType.d.ts +8 -8
- package/dist/foundation/utilities/colors/ColorMapType.js +12 -5
- package/dist/foundation/utilities/colors/ColorMapType.js.map +1 -0
- package/dist/foundation/utilities/colors/colorMaps.d.ts +2 -2
- package/dist/foundation/utilities/colors/colorMaps.js +98 -38
- package/dist/foundation/utilities/colors/colorMaps.js.map +1 -0
- package/dist/foundation/utilities/colors/colorToHex.d.ts +1 -1
- package/dist/foundation/utilities/colors/colorToHex.js +16 -10
- package/dist/foundation/utilities/colors/colorToHex.js.map +1 -0
- package/dist/foundation/utilities/colors/colorUtils.d.ts +1 -1
- package/dist/foundation/utilities/colors/colorUtils.js +69 -33
- package/dist/foundation/utilities/colors/colorUtils.js.map +1 -0
- package/dist/foundation/utilities/colors/create1DTexture.d.ts +3 -3
- package/dist/foundation/utilities/colors/create1DTexture.js +15 -12
- package/dist/foundation/utilities/colors/create1DTexture.js.map +1 -0
- package/dist/foundation/utilities/colors/getNextColor.d.ts +1 -1
- package/dist/foundation/utilities/colors/getNextColor.js +40 -22
- package/dist/foundation/utilities/colors/getNextColor.js.map +1 -0
- package/dist/foundation/utilities/cylinderFit/LeastSquare.d.ts +22 -22
- package/dist/foundation/utilities/cylinderFit/LeastSquare.js +67 -33
- package/dist/foundation/utilities/cylinderFit/LeastSquare.js.map +1 -0
- package/dist/foundation/utilities/cylinderFit/LeastSquareCylinderResult.d.ts +15 -15
- package/dist/foundation/utilities/cylinderFit/LeastSquareCylinderResult.js +44 -36
- package/dist/foundation/utilities/cylinderFit/LeastSquareCylinderResult.js.map +1 -0
- package/dist/foundation/utilities/cylinderFit/bestFitCylinder.d.ts +13 -13
- package/dist/foundation/utilities/cylinderFit/bestFitCylinder.js +280 -106
- package/dist/foundation/utilities/cylinderFit/bestFitCylinder.js.map +1 -0
- package/dist/foundation/utilities/cylinderFit/bestFitVerticalCylinder.d.ts +12 -12
- package/dist/foundation/utilities/cylinderFit/bestFitVerticalCylinder.js +40 -22
- package/dist/foundation/utilities/cylinderFit/bestFitVerticalCylinder.js.map +1 -0
- package/dist/foundation/utilities/cylinderFit/getTransformedPoints.d.ts +12 -12
- package/dist/foundation/utilities/cylinderFit/getTransformedPoints.js +24 -8
- package/dist/foundation/utilities/cylinderFit/getTransformedPoints.js.map +1 -0
- package/dist/foundation/utilities/extensions/arrayUtils.d.ts +58 -58
- package/dist/foundation/utilities/extensions/arrayUtils.js +119 -21
- package/dist/foundation/utilities/extensions/arrayUtils.js.map +1 -0
- package/dist/foundation/utilities/extensions/generatorUtils.d.ts +4 -1
- package/dist/foundation/utilities/extensions/generatorUtils.js +32 -5
- package/dist/foundation/utilities/extensions/generatorUtils.js.map +1 -0
- package/dist/foundation/utilities/extensions/isMacOs.js +4 -5
- package/dist/foundation/utilities/extensions/isMacOs.js.map +1 -0
- package/dist/foundation/utilities/extensions/mathUtils.d.ts +6 -6
- package/dist/foundation/utilities/extensions/mathUtils.js +162 -78
- package/dist/foundation/utilities/extensions/mathUtils.js.map +1 -0
- package/dist/foundation/utilities/extensions/rayUtils.d.ts +8 -8
- package/dist/foundation/utilities/extensions/rayUtils.js +20 -8
- package/dist/foundation/utilities/extensions/rayUtils.js.map +1 -0
- package/dist/foundation/utilities/extensions/stringUtils.d.ts +15 -15
- package/dist/foundation/utilities/extensions/stringUtils.js +54 -18
- package/dist/foundation/utilities/extensions/stringUtils.js.map +1 -0
- package/dist/foundation/utilities/extensions/vectorUtils.d.ts +74 -74
- package/dist/foundation/utilities/extensions/vectorUtils.js +138 -48
- package/dist/foundation/utilities/extensions/vectorUtils.js.map +1 -0
- package/dist/foundation/utilities/geometry/Index2.d.ts +11 -11
- package/dist/foundation/utilities/geometry/Index2.js +57 -38
- package/dist/foundation/utilities/geometry/Index2.js.map +1 -0
- package/dist/foundation/utilities/geometry/Range1.d.ts +34 -34
- package/dist/foundation/utilities/geometry/Range1.js +235 -116
- package/dist/foundation/utilities/geometry/Range1.js.map +1 -0
- package/dist/foundation/utilities/geometry/Range3.d.ts +42 -43
- package/dist/foundation/utilities/geometry/Range3.js +266 -155
- package/dist/foundation/utilities/geometry/Range3.js.map +1 -0
- package/dist/foundation/utilities/geometry/Shape.d.ts +8 -8
- package/dist/foundation/utilities/geometry/Shape.js +24 -0
- package/dist/foundation/utilities/geometry/Shape.js.map +1 -0
- package/dist/foundation/utilities/geometry/TrianglesBuffers.d.ts +18 -18
- package/dist/foundation/utilities/geometry/TrianglesBuffers.js +102 -57
- package/dist/foundation/utilities/geometry/TrianglesBuffers.js.map +1 -0
- package/dist/foundation/utilities/geometry/getBoundingBoxFromPlanes.d.ts +2 -2
- package/dist/foundation/utilities/geometry/getBoundingBoxFromPlanes.js +88 -52
- package/dist/foundation/utilities/geometry/getBoundingBoxFromPlanes.js.map +1 -0
- package/dist/foundation/utilities/geometry/getCorners.d.ts +1 -1
- package/dist/foundation/utilities/geometry/getCorners.js +23 -6
- package/dist/foundation/utilities/geometry/getCorners.js.map +1 -0
- package/dist/foundation/utilities/geometry/getResizeCursor.d.ts +10 -10
- package/dist/foundation/utilities/geometry/getResizeCursor.js +29 -15
- package/dist/foundation/utilities/geometry/getResizeCursor.js.map +1 -0
- package/dist/foundation/utilities/geometry/isBoxVisibleByPlanes.d.ts +1 -1
- package/dist/foundation/utilities/geometry/isBoxVisibleByPlanes.js +27 -11
- package/dist/foundation/utilities/geometry/isBoxVisibleByPlanes.js.map +1 -0
- package/dist/foundation/utilities/index.d.ts +1 -1
- package/dist/foundation/utilities/index.js +3 -2
- package/dist/foundation/utilities/index.js.map +1 -0
- package/dist/foundation/utilities/misc/DeferredFunction.d.ts +11 -11
- package/dist/foundation/utilities/misc/DeferredFunction.js +31 -21
- package/dist/foundation/utilities/misc/DeferredFunction.js.map +1 -0
- package/dist/foundation/utilities/misc/Random.d.ts +36 -36
- package/dist/foundation/utilities/misc/Random.js +87 -0
- package/dist/foundation/utilities/misc/Random.js.map +1 -0
- package/dist/foundation/utilities/misc/defaultPolygonOffset.d.ts +4 -4
- package/dist/foundation/utilities/misc/defaultPolygonOffset.js +12 -9
- package/dist/foundation/utilities/misc/defaultPolygonOffset.js.map +1 -0
- package/dist/foundation/utilities/misc/incrementSignal.d.ts +6 -6
- package/dist/foundation/utilities/misc/incrementSignal.js +9 -5
- package/dist/foundation/utilities/misc/incrementSignal.js.map +1 -0
- package/dist/foundation/utilities/misc/sleep.js +5 -0
- package/dist/foundation/utilities/misc/sleep.js.map +1 -0
- package/dist/foundation/utilities/misc/typeGuards.d.ts +3 -3
- package/dist/foundation/utilities/misc/typeGuards.js +6 -5
- package/dist/foundation/utilities/misc/typeGuards.js.map +1 -0
- package/dist/foundation/utilities/primitives/Box.d.ts +32 -32
- package/dist/foundation/utilities/primitives/Box.js +149 -101
- package/dist/foundation/utilities/primitives/Box.js.map +1 -0
- package/dist/foundation/utilities/primitives/BoxUtils.d.ts +9 -9
- package/dist/foundation/utilities/primitives/BoxUtils.js +86 -71
- package/dist/foundation/utilities/primitives/BoxUtils.js.map +1 -0
- package/dist/foundation/utilities/primitives/Cylinder.d.ts +37 -37
- package/dist/foundation/utilities/primitives/Cylinder.js +223 -123
- package/dist/foundation/utilities/primitives/Cylinder.js.map +1 -0
- package/dist/foundation/utilities/primitives/CylinderUtils.d.ts +6 -6
- package/dist/foundation/utilities/primitives/CylinderUtils.js +58 -34
- package/dist/foundation/utilities/primitives/CylinderUtils.js.map +1 -0
- package/dist/foundation/utilities/primitives/Primitive.d.ts +14 -14
- package/dist/foundation/utilities/primitives/Primitive.js +20 -12
- package/dist/foundation/utilities/primitives/Primitive.js.map +1 -0
- package/dist/foundation/utilities/primitives/PrimitiveType.d.ts +17 -17
- package/dist/foundation/utilities/primitives/PrimitiveType.js +34 -12
- package/dist/foundation/utilities/primitives/PrimitiveType.js.map +1 -0
- package/dist/foundation/utilities/primitives/PrimitiveUtils.d.ts +6 -6
- package/dist/foundation/utilities/primitives/PrimitiveUtils.js +29 -27
- package/dist/foundation/utilities/primitives/PrimitiveUtils.js.map +1 -0
- package/dist/foundation/utilities/primitives/Vector3ArrayUtils.d.ts +5 -5
- package/dist/foundation/utilities/primitives/Vector3ArrayUtils.js +51 -31
- package/dist/foundation/utilities/primitives/Vector3ArrayUtils.js.map +1 -0
- package/dist/foundation/utilities/primitives/getIconByPrimitiveType.d.ts +2 -2
- package/dist/foundation/utilities/primitives/getIconByPrimitiveType.js +42 -25
- package/dist/foundation/utilities/primitives/getIconByPrimitiveType.js.map +1 -0
- package/dist/foundation/utilities/quality/QualitySettings.d.ts +4 -4
- package/dist/foundation/utilities/quality/QualitySettings.js +3 -0
- package/dist/foundation/utilities/quality/QualitySettings.js.map +1 -0
- package/dist/foundation/utilities/sprites/createSprite.d.ts +20 -20
- package/dist/foundation/utilities/sprites/createSprite.js +144 -32
- package/dist/foundation/utilities/sprites/createSprite.js.map +1 -0
- package/dist/foundation/utilities/translation/TranslateInput.d.ts +3 -3
- package/dist/foundation/utilities/translation/TranslateInput.js +18 -7
- package/dist/foundation/utilities/translation/TranslateInput.js.map +1 -0
- package/dist/foundation/utilities/translation/translateUtils.d.ts +1 -1
- package/dist/foundation/utilities/translation/translateUtils.js +45 -46
- package/dist/foundation/utilities/translation/translateUtils.js.map +1 -0
- package/dist/foundation/utilities/types.d.ts +7 -7
- package/dist/foundation/utilities/types.js +9 -7
- package/dist/foundation/utilities/types.js.map +1 -0
- package/dist/foundation/views/BaseView.d.ts +56 -56
- package/dist/foundation/views/BaseView.js +80 -29
- package/dist/foundation/views/BaseView.js.map +1 -0
- package/dist/foundation/views/GroupThreeView.d.ts +63 -63
- package/dist/foundation/views/GroupThreeView.js +214 -102
- package/dist/foundation/views/GroupThreeView.js.map +1 -0
- package/dist/foundation/views/ThreeView.d.ts +41 -41
- package/dist/foundation/views/ThreeView.js +87 -47
- package/dist/foundation/views/ThreeView.js.map +1 -0
- package/dist/foundation/views/ThreeViewFactory.d.ts +23 -23
- package/dist/foundation/views/ThreeViewFactory.js +58 -30
- package/dist/foundation/views/ThreeViewFactory.js.map +1 -0
- package/dist/index.css +2 -0
- package/dist/ui/components/AxisGizmo.d.ts +6 -6
- package/dist/ui/components/AxisGizmo.js +22 -15
- package/dist/ui/components/AxisGizmo.js.map +1 -0
- package/dist/ui/components/CadModelContainer/CadModelContainer.context.d.ts +13 -13
- package/dist/ui/components/CadModelContainer/CadModelContainer.context.js +18 -19
- package/dist/ui/components/CadModelContainer/CadModelContainer.context.js.map +1 -0
- package/dist/ui/components/CadModelContainer/CadModelContainer.d.ts +11 -11
- package/dist/ui/components/CadModelContainer/CadModelContainer.js +105 -56
- package/dist/ui/components/CadModelContainer/CadModelContainer.js.map +1 -0
- package/dist/ui/components/CadModelContainer/index.d.ts +3 -3
- package/dist/ui/components/CadModelContainer/index.js +3 -2
- package/dist/ui/components/CadModelContainer/index.js.map +1 -0
- package/dist/ui/components/CadModelContainer/types.d.ts +4 -4
- package/dist/ui/components/CadModelContainer/types.js +3 -0
- package/dist/ui/components/CadModelContainer/types.js.map +1 -0
- package/dist/ui/components/CadModelContainer/useApplyCadModelStyling.d.ts +2 -2
- package/dist/ui/components/CadModelContainer/useApplyCadModelStyling.js +99 -62
- package/dist/ui/components/CadModelContainer/useApplyCadModelStyling.js.map +1 -0
- package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.context.d.ts +11 -11
- package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.context.js +16 -17
- package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.context.js.map +1 -0
- package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.d.ts +10 -10
- package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.js +96 -52
- package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.js.map +1 -0
- package/dist/ui/components/Image360CollectionContainer/constants.js +4 -4
- package/dist/ui/components/Image360CollectionContainer/constants.js.map +1 -0
- package/dist/ui/components/Image360CollectionContainer/index.d.ts +1 -1
- package/dist/ui/components/Image360CollectionContainer/index.js +3 -2
- package/dist/ui/components/Image360CollectionContainer/index.js.map +1 -0
- package/dist/ui/components/Image360CollectionContainer/useApply360AnnotationStyling.d.ts +7 -7
- package/dist/ui/components/Image360CollectionContainer/useApply360AnnotationStyling.js +76 -37
- package/dist/ui/components/Image360CollectionContainer/useApply360AnnotationStyling.js.map +1 -0
- package/dist/ui/components/Image360Details/Image360Details.context.d.ts +7 -7
- package/dist/ui/components/Image360Details/Image360Details.context.js +12 -13
- package/dist/ui/components/Image360Details/Image360Details.context.js.map +1 -0
- package/dist/ui/components/Image360Details/Image360Details.d.ts +4 -4
- package/dist/ui/components/Image360Details/Image360Details.js +62 -44
- package/dist/ui/components/Image360Details/Image360Details.js.map +1 -0
- package/dist/ui/components/Image360Details/useImage360Entity.context.d.ts +3 -3
- package/dist/ui/components/Image360Details/useImage360Entity.context.js +8 -7
- package/dist/ui/components/Image360Details/useImage360Entity.context.js.map +1 -0
- package/dist/ui/components/Image360Details/useImage360Entity.d.ts +1 -1
- package/dist/ui/components/Image360Details/useImage360Entity.js +31 -21
- package/dist/ui/components/Image360Details/useImage360Entity.js.map +1 -0
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.context.d.ts +7 -7
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.context.js +12 -12
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.context.js.map +1 -0
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.d.ts +3 -3
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.js +40 -35
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.js.map +1 -0
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.context.d.ts +4 -4
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.context.js +11 -12
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.context.js.map +1 -0
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.d.ts +2 -2
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.js +70 -41
- package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.js.map +1 -0
- package/dist/ui/components/Image360HistoricalDetails/Panel/Image360HistoricalPanel.d.ts +6 -6
- package/dist/ui/components/Image360HistoricalDetails/Panel/Image360HistoricalPanel.js +48 -27
- package/dist/ui/components/Image360HistoricalDetails/Panel/Image360HistoricalPanel.js.map +1 -0
- package/dist/ui/components/Image360HistoricalDetails/Toolbar/Image360HistoricalSummary.d.ts +13 -13
- package/dist/ui/components/Image360HistoricalDetails/Toolbar/Image360HistoricalSummary.js +81 -62
- package/dist/ui/components/Image360HistoricalDetails/Toolbar/Image360HistoricalSummary.js.map +1 -0
- package/dist/ui/components/Image360HistoricalDetails/types.d.ts +16 -16
- package/dist/ui/components/Image360HistoricalDetails/types.js +3 -0
- package/dist/ui/components/Image360HistoricalDetails/types.js.map +1 -0
- package/dist/ui/components/Image360HistoricalDetails/utils/Thumbnail.d.ts +5 -5
- package/dist/ui/components/Image360HistoricalDetails/utils/Thumbnail.js +27 -15
- package/dist/ui/components/Image360HistoricalDetails/utils/Thumbnail.js.map +1 -0
- package/dist/ui/components/Image360HistoricalDetails/utils/getStationIdentifier.d.ts +1 -1
- package/dist/ui/components/Image360HistoricalDetails/utils/getStationIdentifier.js +9 -6
- package/dist/ui/components/Image360HistoricalDetails/utils/getStationIdentifier.js.map +1 -0
- package/dist/ui/components/InstanceLabel/InstanceLabel.d.ts +5 -5
- package/dist/ui/components/InstanceLabel/InstanceLabel.js +45 -24
- package/dist/ui/components/InstanceLabel/InstanceLabel.js.map +1 -0
- package/dist/ui/components/InstanceLabel/index.d.ts +1 -1
- package/dist/ui/components/InstanceLabel/index.js +3 -2
- package/dist/ui/components/InstanceLabel/index.js.map +1 -0
- package/dist/ui/components/PointCloudContainer/PointCloudContainer.d.ts +11 -11
- package/dist/ui/components/PointCloudContainer/PointCloudContainer.js +100 -51
- package/dist/ui/components/PointCloudContainer/PointCloudContainer.js.map +1 -0
- package/dist/ui/components/PointCloudContainer/index.d.ts +1 -1
- package/dist/ui/components/PointCloudContainer/index.js +3 -2
- package/dist/ui/components/PointCloudContainer/index.js.map +1 -0
- package/dist/ui/components/PointCloudContainer/typeGuards.d.ts +1 -1
- package/dist/ui/components/PointCloudContainer/typeGuards.js +6 -7
- package/dist/ui/components/PointCloudContainer/typeGuards.js.map +1 -0
- package/dist/ui/components/PointCloudContainer/useApplyPointCloudStyling.d.ts +3 -3
- package/dist/ui/components/PointCloudContainer/useApplyPointCloudStyling.js +48 -27
- package/dist/ui/components/PointCloudContainer/useApplyPointCloudStyling.js.map +1 -0
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.context.d.ts +26 -26
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.context.js +33 -34
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.context.js.map +1 -0
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.d.ts +17 -17
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.js +111 -64
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.js.map +1 -0
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.viewmodel.d.ts +1 -1
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.viewmodel.js +6 -7
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.viewmodel.js.map +1 -0
- package/dist/ui/components/Reveal3DResources/Reveal3DResourcesInfoContext.d.ts +11 -11
- package/dist/ui/components/Reveal3DResources/Reveal3DResourcesInfoContext.js +70 -43
- package/dist/ui/components/Reveal3DResources/Reveal3DResourcesInfoContext.js.map +1 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCalculateCadStyling.d.ts +12 -12
- package/dist/ui/components/Reveal3DResources/hooks/useCalculateCadStyling.js +207 -134
- package/dist/ui/components/Reveal3DResources/hooks/useCalculateCadStyling.js.map +1 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCalculateImage360Styling.d.ts +2 -2
- package/dist/ui/components/Reveal3DResources/hooks/useCalculateImage360Styling.js +18 -11
- package/dist/ui/components/Reveal3DResources/hooks/useCalculateImage360Styling.js.map +1 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.context.d.ts +3 -3
- package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.context.js +8 -6
- package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.context.js.map +1 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.d.ts +1 -1
- package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.js +145 -92
- package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.js.map +1 -0
- package/dist/ui/components/Reveal3DResources/hooks/useCallCallbackOnFinishedLoading.d.ts +1 -1
- package/dist/ui/components/Reveal3DResources/hooks/useCallCallbackOnFinishedLoading.js +16 -10
- package/dist/ui/components/Reveal3DResources/hooks/useCallCallbackOnFinishedLoading.js.map +1 -0
- package/dist/ui/components/Reveal3DResources/hooks/useRemoveNonReferencedModels.d.ts +2 -2
- package/dist/ui/components/Reveal3DResources/hooks/useRemoveNonReferencedModels.js +74 -48
- package/dist/ui/components/Reveal3DResources/hooks/useRemoveNonReferencedModels.js.map +1 -0
- package/dist/ui/components/Reveal3DResources/hooks/useSetExpectedLoadCount.d.ts +1 -1
- package/dist/ui/components/Reveal3DResources/hooks/useSetExpectedLoadCount.js +13 -10
- package/dist/ui/components/Reveal3DResources/hooks/useSetExpectedLoadCount.js.map +1 -0
- package/dist/ui/components/Reveal3DResources/hooks/useTypedModels.d.ts +4 -4
- package/dist/ui/components/Reveal3DResources/hooks/useTypedModels.js +40 -33
- package/dist/ui/components/Reveal3DResources/hooks/useTypedModels.js.map +1 -0
- package/dist/ui/components/Reveal3DResources/instanceStyleTranslation.d.ts +3 -3
- package/dist/ui/components/Reveal3DResources/instanceStyleTranslation.js +12 -14
- package/dist/ui/components/Reveal3DResources/instanceStyleTranslation.js.map +1 -0
- package/dist/ui/components/RevealCanvas/ComponentFactoryContext.d.ts +4 -4
- package/dist/ui/components/RevealCanvas/ComponentFactoryContext.js +21 -16
- package/dist/ui/components/RevealCanvas/ComponentFactoryContext.js.map +1 -0
- package/dist/ui/components/RevealCanvas/FdmDataProviderContext.d.ts +7 -7
- package/dist/ui/components/RevealCanvas/FdmDataProviderContext.js +4 -5
- package/dist/ui/components/RevealCanvas/FdmDataProviderContext.js.map +1 -0
- package/dist/ui/components/RevealCanvas/FeatureDataLoadPerformanceMetricsContext.d.ts +2 -2
- package/dist/ui/components/RevealCanvas/FeatureDataLoadPerformanceMetricsContext.js +4 -5
- package/dist/ui/components/RevealCanvas/FeatureDataLoadPerformanceMetricsContext.js.map +1 -0
- package/dist/ui/components/RevealCanvas/RevealCanvas.d.ts +3 -3
- package/dist/ui/components/RevealCanvas/RevealCanvas.js +27 -21
- package/dist/ui/components/RevealCanvas/RevealCanvas.js.map +1 -0
- package/dist/ui/components/RevealCanvas/SDKProvider.d.ts +6 -6
- package/dist/ui/components/RevealCanvas/SDKProvider.js +43 -30
- package/dist/ui/components/RevealCanvas/SDKProvider.js.map +1 -0
- package/dist/ui/components/RevealCanvas/UsageMetricsTrackerContext.d.ts +2 -2
- package/dist/ui/components/RevealCanvas/UsageMetricsTrackerContext.js +5 -6
- package/dist/ui/components/RevealCanvas/UsageMetricsTrackerContext.js.map +1 -0
- package/dist/ui/components/RevealCanvas/ViewerContext.d.ts +7 -7
- package/dist/ui/components/RevealCanvas/ViewerContext.js +66 -25
- package/dist/ui/components/RevealCanvas/ViewerContext.js.map +1 -0
- package/dist/ui/components/RevealCanvas/hooks/useCameraStateControl.d.ts +2 -2
- package/dist/ui/components/RevealCanvas/hooks/useCameraStateControl.js +61 -38
- package/dist/ui/components/RevealCanvas/hooks/useCameraStateControl.js.map +1 -0
- package/dist/ui/components/RevealCanvas/hooks/useDisableBodyTextSelectionOnViewerDragging.js +17 -13
- package/dist/ui/components/RevealCanvas/hooks/useDisableBodyTextSelectionOnViewerDragging.js.map +1 -0
- package/dist/ui/components/RevealCanvas/index.d.ts +3 -3
- package/dist/ui/components/RevealCanvas/index.js +4 -3
- package/dist/ui/components/RevealCanvas/index.js.map +1 -0
- package/dist/ui/components/RevealContainer/RevealContainer.d.ts +2 -2
- package/dist/ui/components/RevealContainer/RevealContainer.js +12 -12
- package/dist/ui/components/RevealContainer/RevealContainer.js.map +1 -0
- package/dist/ui/components/RevealContext/RevealContext.context.d.ts +8 -8
- package/dist/ui/components/RevealContext/RevealContext.context.js +12 -12
- package/dist/ui/components/RevealContext/RevealContext.context.js.map +1 -0
- package/dist/ui/components/RevealContext/RevealContext.d.ts +19 -19
- package/dist/ui/components/RevealContext/RevealContext.js +118 -73
- package/dist/ui/components/RevealContext/RevealContext.js.map +1 -0
- package/dist/ui/components/RevealContext/index.d.ts +2 -2
- package/dist/ui/components/RevealContext/index.js +3 -2
- package/dist/ui/components/RevealContext/index.js.map +1 -0
- package/dist/ui/components/RevealKeepAlive/RevealKeepAlive.d.ts +3 -3
- package/dist/ui/components/RevealKeepAlive/RevealKeepAlive.js +23 -18
- package/dist/ui/components/RevealKeepAlive/RevealKeepAlive.js.map +1 -0
- package/dist/ui/components/RevealKeepAlive/RevealKeepAliveContext.d.ts +6 -6
- package/dist/ui/components/RevealKeepAlive/RevealKeepAliveContext.js +7 -5
- package/dist/ui/components/RevealKeepAlive/RevealKeepAliveContext.js.map +1 -0
- package/dist/ui/components/RevealToolbar/AssetContextualizedButton.d.ts +3 -3
- package/dist/ui/components/RevealToolbar/AssetContextualizedButton.js +63 -37
- package/dist/ui/components/RevealToolbar/AssetContextualizedButton.js.map +1 -0
- package/dist/ui/components/RevealToolbar/FitModelsButton.d.ts +1 -1
- package/dist/ui/components/RevealToolbar/FitModelsButton.js +38 -27
- package/dist/ui/components/RevealToolbar/FitModelsButton.js.map +1 -0
- package/dist/ui/components/RevealToolbar/Help/Graphics/Keyboard.d.ts +3 -3
- package/dist/ui/components/RevealToolbar/Help/Graphics/Keyboard.js +250 -210
- package/dist/ui/components/RevealToolbar/Help/Graphics/Keyboard.js.map +1 -0
- package/dist/ui/components/RevealToolbar/Help/Graphics/Mouse.d.ts +1 -1
- package/dist/ui/components/RevealToolbar/Help/Graphics/Mouse.js +43 -44
- package/dist/ui/components/RevealToolbar/Help/Graphics/Mouse.js.map +1 -0
- package/dist/ui/components/RevealToolbar/Help/Graphics/Touch.d.ts +1 -1
- package/dist/ui/components/RevealToolbar/Help/Graphics/Touch.js +113 -109
- package/dist/ui/components/RevealToolbar/Help/Graphics/Touch.js.map +1 -0
- package/dist/ui/components/RevealToolbar/Help/KeyboardNavigation.d.ts +3 -3
- package/dist/ui/components/RevealToolbar/Help/KeyboardNavigation.js +114 -59
- package/dist/ui/components/RevealToolbar/Help/KeyboardNavigation.js.map +1 -0
- package/dist/ui/components/RevealToolbar/Help/MouseNavigation.d.ts +3 -3
- package/dist/ui/components/RevealToolbar/Help/MouseNavigation.js +71 -33
- package/dist/ui/components/RevealToolbar/Help/MouseNavigation.js.map +1 -0
- package/dist/ui/components/RevealToolbar/Help/Section.d.ts +3 -3
- package/dist/ui/components/RevealToolbar/Help/Section.js +20 -11
- package/dist/ui/components/RevealToolbar/Help/Section.js.map +1 -0
- package/dist/ui/components/RevealToolbar/Help/TouchNavigation.d.ts +3 -3
- package/dist/ui/components/RevealToolbar/Help/TouchNavigation.js +54 -20
- package/dist/ui/components/RevealToolbar/Help/TouchNavigation.js.map +1 -0
- package/dist/ui/components/RevealToolbar/Help/elements.d.ts +12 -12
- package/dist/ui/components/RevealToolbar/Help/elements.js +58 -47
- package/dist/ui/components/RevealToolbar/Help/elements.js.map +1 -0
- package/dist/ui/components/RevealToolbar/Help/types.d.ts +5 -5
- package/dist/ui/components/RevealToolbar/Help/types.js +3 -0
- package/dist/ui/components/RevealToolbar/Help/types.js.map +1 -0
- package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.context.d.ts +9 -9
- package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.context.js +14 -14
- package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.context.js.map +1 -0
- package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.d.ts +9 -9
- package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.js +67 -43
- package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.js.map +1 -0
- package/dist/ui/components/RevealToolbar/ResetCameraButton.d.ts +4 -4
- package/dist/ui/components/RevealToolbar/ResetCameraButton.js +55 -39
- package/dist/ui/components/RevealToolbar/ResetCameraButton.js.map +1 -0
- package/dist/ui/components/RevealToolbar/RevealToolbar.d.ts +14 -14
- package/dist/ui/components/RevealToolbar/RevealToolbar.js +46 -32
- package/dist/ui/components/RevealToolbar/RevealToolbar.js.map +1 -0
- package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.context.d.ts +15 -15
- package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.context.js +20 -21
- package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.context.js.map +1 -0
- package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.d.ts +6 -6
- package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.js +153 -94
- package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.js.map +1 -0
- package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.context.d.ts +7 -7
- package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.context.js +12 -12
- package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.context.js.map +1 -0
- package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.d.ts +1 -1
- package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.js +112 -73
- package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.js.map +1 -0
- package/dist/ui/components/RevealToolbar/index.d.ts +1 -1
- package/dist/ui/components/RevealToolbar/index.js +3 -2
- package/dist/ui/components/RevealToolbar/index.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsPanel.d.ts +4 -4
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsPanel.js +38 -27
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsPanel.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.context.d.ts +17 -17
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.context.js +18 -22
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.context.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.d.ts +6 -6
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.js +132 -79
- package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/components/OutputPanelItem.d.ts +5 -5
- package/dist/ui/components/RuleBasedOutputs/components/OutputPanelItem.js +20 -14
- package/dist/ui/components/RuleBasedOutputs/components/OutputPanelItem.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/components/OutputPanelShowMore.d.ts +4 -4
- package/dist/ui/components/RuleBasedOutputs/components/OutputPanelShowMore.js +31 -19
- package/dist/ui/components/RuleBasedOutputs/components/OutputPanelShowMore.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/components/RuleBasedSelectionItem.d.ts +9 -9
- package/dist/ui/components/RuleBasedOutputs/components/RuleBasedSelectionItem.js +34 -26
- package/dist/ui/components/RuleBasedOutputs/components/RuleBasedSelectionItem.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/constants.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/constants.js +7 -8
- package/dist/ui/components/RuleBasedOutputs/constants.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/analyzeAssetMappingsAgainstExpression.d.ts +11 -11
- package/dist/ui/components/RuleBasedOutputs/core/analyzeAssetMappingsAgainstExpression.js +41 -37
- package/dist/ui/components/RuleBasedOutputs/core/analyzeAssetMappingsAgainstExpression.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/analyzeFdmMappingsAgainstExpression.d.ts +5 -5
- package/dist/ui/components/RuleBasedOutputs/core/analyzeFdmMappingsAgainstExpression.js +23 -15
- package/dist/ui/components/RuleBasedOutputs/core/analyzeFdmMappingsAgainstExpression.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/applyAssetMappingsNodeStyles.d.ts +2 -2
- package/dist/ui/components/RuleBasedOutputs/core/applyAssetMappingsNodeStyles.js +34 -29
- package/dist/ui/components/RuleBasedOutputs/core/applyAssetMappingsNodeStyles.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/applyFdmMappingsNodeStyles.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/applyFdmMappingsNodeStyles.js +38 -32
- package/dist/ui/components/RuleBasedOutputs/core/applyFdmMappingsNodeStyles.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/checkBooleanExpressionStatement.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/checkBooleanExpressionStatement.js +27 -17
- package/dist/ui/components/RuleBasedOutputs/core/checkBooleanExpressionStatement.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/checkDatetimeExpressionStatement.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/checkDatetimeExpressionStatement.js +77 -61
- package/dist/ui/components/RuleBasedOutputs/core/checkDatetimeExpressionStatement.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/checkNumericExpressionStatement.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/checkNumericExpressionStatement.js +73 -52
- package/dist/ui/components/RuleBasedOutputs/core/checkNumericExpressionStatement.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/checkStringExpressionStatement.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/checkStringExpressionStatement.js +46 -22
- package/dist/ui/components/RuleBasedOutputs/core/checkStringExpressionStatement.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/convertExpressionStringMetadataKeyToLowerCase.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/convertExpressionStringMetadataKeyToLowerCase.js +5 -5
- package/dist/ui/components/RuleBasedOutputs/core/convertExpressionStringMetadataKeyToLowerCase.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/createRuleStyling.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/createRuleStyling.js +8 -9
- package/dist/ui/components/RuleBasedOutputs/core/createRuleStyling.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/forEachExpression.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/forEachExpression.js +27 -21
- package/dist/ui/components/RuleBasedOutputs/core/forEachExpression.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/generateEmptyRuleForSelection.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/generateEmptyRuleForSelection.js +15 -11
- package/dist/ui/components/RuleBasedOutputs/core/generateEmptyRuleForSelection.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/generateRuleBasedOutputs.d.ts +11 -11
- package/dist/ui/components/RuleBasedOutputs/core/generateRuleBasedOutputs.js +38 -29
- package/dist/ui/components/RuleBasedOutputs/core/generateRuleBasedOutputs.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/generateTimeseriesAndDatapointsFromTheAsset.d.ts +7 -7
- package/dist/ui/components/RuleBasedOutputs/core/generateTimeseriesAndDatapointsFromTheAsset.js +17 -14
- package/dist/ui/components/RuleBasedOutputs/core/generateTimeseriesAndDatapointsFromTheAsset.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/generateUniqueRuleSetKey.d.ts +4 -4
- package/dist/ui/components/RuleBasedOutputs/core/generateUniqueRuleSetKey.js +23 -17
- package/dist/ui/components/RuleBasedOutputs/core/generateUniqueRuleSetKey.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/getExpressionTriggerTypes.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/getExpressionTriggerTypes.js +15 -9
- package/dist/ui/components/RuleBasedOutputs/core/getExpressionTriggerTypes.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/getFdmPropertyTrigger.d.ts +2 -2
- package/dist/ui/components/RuleBasedOutputs/core/getFdmPropertyTrigger.js +8 -5
- package/dist/ui/components/RuleBasedOutputs/core/getFdmPropertyTrigger.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/getRuleBasedById.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/getRuleBasedById.js +5 -4
- package/dist/ui/components/RuleBasedOutputs/core/getRuleBasedById.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/getRuleOutputFromTypeSelected.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/getRuleOutputFromTypeSelected.js +12 -11
- package/dist/ui/components/RuleBasedOutputs/core/getRuleOutputFromTypeSelected.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/getRuleTriggerTypes.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/getRuleTriggerTypes.js +6 -6
- package/dist/ui/components/RuleBasedOutputs/core/getRuleTriggerTypes.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/getTimeseriesExternalIdFromNumericExpression.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/getTimeseriesExternalIdFromNumericExpression.js +10 -7
- package/dist/ui/components/RuleBasedOutputs/core/getTimeseriesExternalIdFromNumericExpression.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/getTriggerNumericData.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/getTriggerNumericData.js +12 -10
- package/dist/ui/components/RuleBasedOutputs/core/getTriggerNumericData.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/getTriggerTimeseriesNumericData.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/getTriggerTimeseriesNumericData.js +9 -7
- package/dist/ui/components/RuleBasedOutputs/core/getTriggerTimeseriesNumericData.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/hasInitializationDependenciesChanged.d.ts +19 -19
- package/dist/ui/components/RuleBasedOutputs/core/hasInitializationDependenciesChanged.js +26 -6
- package/dist/ui/components/RuleBasedOutputs/core/hasInitializationDependenciesChanged.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/isReadyToInitializeRules.d.ts +15 -15
- package/dist/ui/components/RuleBasedOutputs/core/isReadyToInitializeRules.js +9 -6
- package/dist/ui/components/RuleBasedOutputs/core/isReadyToInitializeRules.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/ruleBasedInitialization.d.ts +18 -17
- package/dist/ui/components/RuleBasedOutputs/core/ruleBasedInitialization.js +34 -22
- package/dist/ui/components/RuleBasedOutputs/core/ruleBasedInitialization.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/traverseExpression.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/traverseExpression.js +55 -35
- package/dist/ui/components/RuleBasedOutputs/core/traverseExpression.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/core/traverseExpressionToGetTimeseries.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/core/traverseExpressionToGetTimeseries.js +31 -22
- package/dist/ui/components/RuleBasedOutputs/core/traverseExpressionToGetTimeseries.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/index.d.ts +5 -5
- package/dist/ui/components/RuleBasedOutputs/hooks/index.js +7 -6
- package/dist/ui/components/RuleBasedOutputs/hooks/index.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useConvertAssetMetadatasToLowerCase.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/hooks/useConvertAssetMetadatasToLowerCase.js +14 -7
- package/dist/ui/components/RuleBasedOutputs/hooks/useConvertAssetMetadatasToLowerCase.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useCreateRuleInstance.d.ts +3 -3
- package/dist/ui/components/RuleBasedOutputs/hooks/useCreateRuleInstance.js +49 -30
- package/dist/ui/components/RuleBasedOutputs/hooks/useCreateRuleInstance.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useDeleteRuleInstance.d.ts +3 -3
- package/dist/ui/components/RuleBasedOutputs/hooks/useDeleteRuleInstance.js +27 -14
- package/dist/ui/components/RuleBasedOutputs/hooks/useDeleteRuleInstance.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useEditRuleInstance.d.ts +3 -3
- package/dist/ui/components/RuleBasedOutputs/hooks/useEditRuleInstance.js +49 -30
- package/dist/ui/components/RuleBasedOutputs/hooks/useEditRuleInstance.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useExtractTimeseriesIdsFromRuleSet.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/hooks/useExtractTimeseriesIdsFromRuleSet.js +13 -10
- package/dist/ui/components/RuleBasedOutputs/hooks/useExtractTimeseriesIdsFromRuleSet.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useExtractUniqueClassicAssetIdsFromMapped.d.ts +2 -2
- package/dist/ui/components/RuleBasedOutputs/hooks/useExtractUniqueClassicAssetIdsFromMapped.js +20 -11
- package/dist/ui/components/RuleBasedOutputs/hooks/useExtractUniqueClassicAssetIdsFromMapped.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useFetchRuleInstances.d.ts +2 -2
- package/dist/ui/components/RuleBasedOutputs/hooks/useFetchRuleInstances.js +45 -33
- package/dist/ui/components/RuleBasedOutputs/hooks/useFetchRuleInstances.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.context.d.ts +5 -5
- package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.context.js +12 -9
- package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.context.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.d.ts +4 -4
- package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.js +67 -52
- package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/hooks/useSearchRuleInstance.d.ts +2 -1
- package/dist/ui/components/RuleBasedOutputs/hooks/useSearchRuleInstance.js +37 -24
- package/dist/ui/components/RuleBasedOutputs/hooks/useSearchRuleInstance.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/index.d.ts +4 -4
- package/dist/ui/components/RuleBasedOutputs/index.js +5 -9
- package/dist/ui/components/RuleBasedOutputs/index.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/typeGuards.d.ts +1 -1
- package/dist/ui/components/RuleBasedOutputs/typeGuards.js +8 -4
- package/dist/ui/components/RuleBasedOutputs/typeGuards.js.map +1 -0
- package/dist/ui/components/RuleBasedOutputs/types.d.ts +156 -190
- package/dist/ui/components/RuleBasedOutputs/types.js +3 -0
- package/dist/ui/components/RuleBasedOutputs/types.js.map +1 -0
- package/dist/ui/components/SceneContainer/LoadedSceneContext.d.ts +5 -5
- package/dist/ui/components/SceneContainer/LoadedSceneContext.js +37 -21
- package/dist/ui/components/SceneContainer/LoadedSceneContext.js.map +1 -0
- package/dist/ui/components/SceneContainer/SceneContainer.context.d.ts +5 -5
- package/dist/ui/components/SceneContainer/SceneContainer.context.js +10 -10
- package/dist/ui/components/SceneContainer/SceneContainer.context.js.map +1 -0
- package/dist/ui/components/SceneContainer/SceneContainer.d.ts +2 -2
- package/dist/ui/components/SceneContainer/SceneContainer.js +26 -18
- package/dist/ui/components/SceneContainer/SceneContainer.js.map +1 -0
- package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.context.d.ts +11 -11
- package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.context.js +16 -16
- package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.context.js.map +1 -0
- package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.d.ts +2 -2
- package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.js +19 -14
- package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.js.map +1 -0
- package/dist/ui/components/SceneContainer/SceneFdmTypes.d.ts +73 -73
- package/dist/ui/components/SceneContainer/SceneFdmTypes.js +3 -0
- package/dist/ui/components/SceneContainer/SceneFdmTypes.js.map +1 -0
- package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.context.d.ts +7 -7
- package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.context.js +10 -11
- package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.context.js.map +1 -0
- package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.d.ts +1 -1
- package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.js +31 -15
- package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.js.map +1 -0
- package/dist/ui/components/SceneContainer/index.d.ts +4 -4
- package/dist/ui/components/SceneContainer/index.js +4 -3
- package/dist/ui/components/SceneContainer/index.js.map +1 -0
- package/dist/ui/components/SceneContainer/sceneTypes.d.ts +48 -48
- package/dist/ui/components/SceneContainer/sceneTypes.js +3 -0
- package/dist/ui/components/SceneContainer/sceneTypes.js.map +1 -0
- package/dist/ui/components/SceneContainer/types.d.ts +9 -9
- package/dist/ui/components/SceneContainer/types.js +3 -0
- package/dist/ui/components/SceneContainer/types.js.map +1 -0
- package/dist/ui/components/ViewerAnchor/ViewerAnchor.d.ts +9 -9
- package/dist/ui/components/ViewerAnchor/ViewerAnchor.js +92 -55
- package/dist/ui/components/ViewerAnchor/ViewerAnchor.js.map +1 -0
- package/dist/ui/components/Widget/RevealWidget.context.d.ts +10 -10
- package/dist/ui/components/Widget/RevealWidget.context.js +13 -16
- package/dist/ui/components/Widget/RevealWidget.context.js.map +1 -0
- package/dist/ui/components/Widget/RevealWidget.d.ts +66 -66
- package/dist/ui/components/Widget/RevealWidget.js +100 -44
- package/dist/ui/components/Widget/RevealWidget.js.map +1 -0
- package/dist/ui/components/Widget/RevealWidgetCameraController.d.ts +26 -26
- package/dist/ui/components/Widget/RevealWidgetCameraController.js +41 -29
- package/dist/ui/components/Widget/RevealWidgetCameraController.js.map +1 -0
- package/dist/ui/components/Widget/RevealWidgetController.d.ts +147 -88
- package/dist/ui/components/Widget/RevealWidgetController.js +231 -116
- package/dist/ui/components/Widget/RevealWidgetController.js.map +1 -0
- package/dist/ui/components/Widget/assets/RevealWidgetAssets.d.ts +25 -0
- package/dist/ui/components/Widget/assets/RevealWidgetAssets.js +33 -0
- package/dist/ui/components/Widget/assets/RevealWidgetAssets.js.map +1 -0
- package/dist/ui/components/Widget/htmlOverlays/RevealWidgetHtmlOverlays.d.ts +72 -0
- package/dist/ui/components/Widget/htmlOverlays/RevealWidgetHtmlOverlays.js +146 -0
- package/dist/ui/components/Widget/htmlOverlays/RevealWidgetHtmlOverlays.js.map +1 -0
- package/dist/ui/components/Widget/htmlOverlays/index.d.ts +2 -0
- package/dist/ui/components/Widget/htmlOverlays/index.js +3 -0
- package/dist/ui/components/Widget/htmlOverlays/index.js.map +1 -0
- package/dist/ui/components/Widget/htmlOverlays/types.d.ts +19 -0
- package/dist/ui/components/Widget/htmlOverlays/types.js +8 -0
- package/dist/ui/components/Widget/htmlOverlays/types.js.map +1 -0
- package/dist/ui/components/Widget/index.d.ts +7 -4
- package/dist/ui/components/Widget/index.js +8 -5
- package/dist/ui/components/Widget/index.js.map +1 -0
- package/dist/ui/components/Widget/styling/applyCadDefaultStyling.d.ts +6 -6
- package/dist/ui/components/Widget/styling/applyCadDefaultStyling.js +34 -23
- package/dist/ui/components/Widget/styling/applyCadDefaultStyling.js.map +1 -0
- package/dist/ui/components/Widget/styling/applyCadInstanceStyling.d.ts +6 -6
- package/dist/ui/components/Widget/styling/applyCadInstanceStyling.js +16 -10
- package/dist/ui/components/Widget/styling/applyCadInstanceStyling.js.map +1 -0
- package/dist/ui/components/Widget/styling/applyImage360InstanceStyling.d.ts +2 -2
- package/dist/ui/components/Widget/styling/applyImage360InstanceStyling.js +21 -16
- package/dist/ui/components/Widget/styling/applyImage360InstanceStyling.js.map +1 -0
- package/dist/ui/components/Widget/styling/applyPointCloudDefaultStyling.d.ts +5 -5
- package/dist/ui/components/Widget/styling/applyPointCloudDefaultStyling.js +26 -17
- package/dist/ui/components/Widget/styling/applyPointCloudDefaultStyling.js.map +1 -0
- package/dist/ui/components/Widget/styling/applyPointCloudInstanceStyling.d.ts +2 -2
- package/dist/ui/components/Widget/styling/applyPointCloudInstanceStyling.js +43 -26
- package/dist/ui/components/Widget/styling/applyPointCloudInstanceStyling.js.map +1 -0
- package/dist/ui/components/Widget/styling/constants.d.ts +5 -5
- package/dist/ui/components/Widget/styling/constants.js +15 -9
- package/dist/ui/components/Widget/styling/constants.js.map +1 -0
- package/dist/ui/components/Widget/useRevealWidgetMetricsTracking.d.ts +12 -16
- package/dist/ui/components/Widget/useRevealWidgetMetricsTracking.js +49 -31
- package/dist/ui/components/Widget/useRevealWidgetMetricsTracking.js.map +1 -0
- package/dist/ui/components/commandBased/Factories/ComponentFactory.d.ts +6 -6
- package/dist/ui/components/commandBased/Factories/ComponentFactory.js +26 -20
- package/dist/ui/components/commandBased/Factories/ComponentFactory.js.map +1 -0
- package/dist/ui/components/commandBased/Factories/DefaultIcons.d.ts +2 -2
- package/dist/ui/components/commandBased/Factories/DefaultIcons.js +260 -69
- package/dist/ui/components/commandBased/Factories/DefaultIcons.js.map +1 -0
- package/dist/ui/components/commandBased/Factories/IconFactory.d.ts +9 -9
- package/dist/ui/components/commandBased/Factories/IconFactory.js +26 -17
- package/dist/ui/components/commandBased/Factories/IconFactory.js.map +1 -0
- package/dist/ui/components/commandBased/Factories/IconType.d.ts +1 -1
- package/dist/ui/components/commandBased/Factories/IconType.js +3 -0
- package/dist/ui/components/commandBased/Factories/IconType.js.map +1 -0
- package/dist/ui/components/commandBased/Factories/createComponentFactory.d.ts +1 -1
- package/dist/ui/components/commandBased/Factories/createComponentFactory.js +28 -19
- package/dist/ui/components/commandBased/Factories/createComponentFactory.js.map +1 -0
- package/dist/ui/components/commandBased/RevealButtons.d.ts +44 -44
- package/dist/ui/components/commandBased/RevealButtons.js +150 -85
- package/dist/ui/components/commandBased/RevealButtons.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/BannerComponent.d.ts +4 -4
- package/dist/ui/components/commandBased/buttons/BannerComponent.js +37 -26
- package/dist/ui/components/commandBased/buttons/BannerComponent.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/CommandButton.d.ts +7 -7
- package/dist/ui/components/commandBased/buttons/CommandButton.js +42 -31
- package/dist/ui/components/commandBased/buttons/CommandButton.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/CommandButtonInner.d.ts +5 -5
- package/dist/ui/components/commandBased/buttons/CommandButtonInner.js +37 -30
- package/dist/ui/components/commandBased/buttons/CommandButtonInner.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/CustomInputField.context.d.ts +9 -9
- package/dist/ui/components/commandBased/buttons/CustomInputField.context.js +14 -14
- package/dist/ui/components/commandBased/buttons/CustomInputField.context.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/CustomInputField.d.ts +7 -7
- package/dist/ui/components/commandBased/buttons/CustomInputField.js +141 -80
- package/dist/ui/components/commandBased/buttons/CustomInputField.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/DividerCreator.d.ts +3 -3
- package/dist/ui/components/commandBased/buttons/DividerCreator.js +20 -16
- package/dist/ui/components/commandBased/buttons/DividerCreator.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/DropdownButton.d.ts +9 -9
- package/dist/ui/components/commandBased/buttons/DropdownButton.js +160 -108
- package/dist/ui/components/commandBased/buttons/DropdownButton.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/FilterButton.d.ts +8 -8
- package/dist/ui/components/commandBased/buttons/FilterButton.js +164 -118
- package/dist/ui/components/commandBased/buttons/FilterButton.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/FilterItem.d.ts +4 -4
- package/dist/ui/components/commandBased/buttons/FilterItem.js +37 -34
- package/dist/ui/components/commandBased/buttons/FilterItem.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/HelpButton.d.ts +3 -3
- package/dist/ui/components/commandBased/buttons/HelpButton.js +74 -53
- package/dist/ui/components/commandBased/buttons/HelpButton.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/InputField.d.ts +6 -6
- package/dist/ui/components/commandBased/buttons/InputField.js +42 -28
- package/dist/ui/components/commandBased/buttons/InputField.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/PopupTriggerButton.d.ts +18 -18
- package/dist/ui/components/commandBased/buttons/PopupTriggerButton.js +39 -20
- package/dist/ui/components/commandBased/buttons/PopupTriggerButton.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/SegmentedButtons.d.ts +8 -8
- package/dist/ui/components/commandBased/buttons/SegmentedButtons.js +90 -64
- package/dist/ui/components/commandBased/buttons/SegmentedButtons.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/SettingsButton.d.ts +7 -7
- package/dist/ui/components/commandBased/buttons/SettingsButton.js +305 -179
- package/dist/ui/components/commandBased/buttons/SettingsButton.js.map +1 -0
- package/dist/ui/components/commandBased/buttons/ShowTreeViewButton.d.ts +3 -3
- package/dist/ui/components/commandBased/buttons/ShowTreeViewButton.js +65 -44
- package/dist/ui/components/commandBased/buttons/ShowTreeViewButton.js.map +1 -0
- package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanel.d.ts +1 -1
- package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanel.js +109 -72
- package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanel.js.map +1 -0
- package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanelInput.d.ts +6 -6
- package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanelInput.js +62 -56
- package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanelInput.js.map +1 -0
- package/dist/ui/components/commandBased/hooks/useCommand.d.ts +1 -1
- package/dist/ui/components/commandBased/hooks/useCommand.js +10 -8
- package/dist/ui/components/commandBased/hooks/useCommand.js.map +1 -0
- package/dist/ui/components/commandBased/hooks/useCommandProperty.d.ts +1 -1
- package/dist/ui/components/commandBased/hooks/useCommandProperty.js +39 -18
- package/dist/ui/components/commandBased/hooks/useCommandProperty.js.map +1 -0
- package/dist/ui/components/commandBased/hooks/useCommandProps.d.ts +9 -9
- package/dist/ui/components/commandBased/hooks/useCommandProps.js +26 -27
- package/dist/ui/components/commandBased/hooks/useCommandProps.js.map +1 -0
- package/dist/ui/components/commandBased/hooks/useOnUpdateDomainObject.d.ts +1 -1
- package/dist/ui/components/commandBased/hooks/useOnUpdateDomainObject.js +20 -11
- package/dist/ui/components/commandBased/hooks/useOnUpdateDomainObject.js.map +1 -0
- package/dist/ui/components/commandBased/hooks/useSyncLayersState.d.ts +2 -2
- package/dist/ui/components/commandBased/hooks/useSyncLayersState.js +55 -33
- package/dist/ui/components/commandBased/hooks/useSyncLayersState.js.map +1 -0
- package/dist/ui/components/commandBased/index.d.ts +11 -11
- package/dist/ui/components/commandBased/index.js +11 -18
- package/dist/ui/components/commandBased/index.js.map +1 -0
- package/dist/ui/components/commandBased/main/AnchoredDialog.d.ts +1 -1
- package/dist/ui/components/commandBased/main/AnchoredDialog.js +40 -29
- package/dist/ui/components/commandBased/main/AnchoredDialog.js.map +1 -0
- package/dist/ui/components/commandBased/main/CommandButtons.d.ts +7 -7
- package/dist/ui/components/commandBased/main/CommandButtons.js +20 -13
- package/dist/ui/components/commandBased/main/CommandButtons.js.map +1 -0
- package/dist/ui/components/commandBased/main/Comment.d.ts +12 -12
- package/dist/ui/components/commandBased/main/Comment.js +37 -29
- package/dist/ui/components/commandBased/main/Comment.js.map +1 -0
- package/dist/ui/components/commandBased/main/ToolUI.d.ts +1 -1
- package/dist/ui/components/commandBased/main/ToolUI.js +15 -12
- package/dist/ui/components/commandBased/main/ToolUI.js.map +1 -0
- package/dist/ui/components/commandBased/main/Toolbar.d.ts +2 -2
- package/dist/ui/components/commandBased/main/Toolbar.js +108 -53
- package/dist/ui/components/commandBased/main/Toolbar.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.context.d.ts +7 -7
- package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.context.js +12 -12
- package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.context.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.d.ts +14 -14
- package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.js +210 -130
- package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiHeader.d.ts +1 -1
- package/dist/ui/components/commandBased/pointsOfInterest/PoiHeader.js +130 -70
- package/dist/ui/components/commandBased/pointsOfInterest/PoiHeader.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.context.d.ts +9 -9
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.context.js +14 -14
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.context.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.d.ts +1 -1
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.js +31 -21
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoSection.d.ts +4 -4
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoSection.js +302 -197
- package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoSection.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiList.d.ts +13 -13
- package/dist/ui/components/commandBased/pointsOfInterest/PoiList.js +99 -63
- package/dist/ui/components/commandBased/pointsOfInterest/PoiList.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PoiSharePanel.d.ts +1 -1
- package/dist/ui/components/commandBased/pointsOfInterest/PoiSharePanel.js +106 -59
- package/dist/ui/components/commandBased/pointsOfInterest/PoiSharePanel.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.context.d.ts +9 -9
- package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.context.js +14 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.context.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.d.ts +2 -2
- package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.js +29 -0
- package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/avatarUtils.js +17 -16
- package/dist/ui/components/commandBased/pointsOfInterest/avatarUtils.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/index.d.ts +8 -8
- package/dist/ui/components/commandBased/pointsOfInterest/index.js +10 -9
- package/dist/ui/components/commandBased/pointsOfInterest/index.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useCommentsForPoiQuery.d.ts +3 -3
- package/dist/ui/components/commandBased/pointsOfInterest/useCommentsForPoiQuery.js +19 -13
- package/dist/ui/components/commandBased/pointsOfInterest/useCommentsForPoiQuery.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useEditPoiInfoSection.d.ts +12 -12
- package/dist/ui/components/commandBased/pointsOfInterest/useEditPoiInfoSection.js +69 -41
- package/dist/ui/components/commandBased/pointsOfInterest/useEditPoiInfoSection.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useFilterPointsOfInterest.d.ts +4 -4
- package/dist/ui/components/commandBased/pointsOfInterest/useFilterPointsOfInterest.js +19 -9
- package/dist/ui/components/commandBased/pointsOfInterest/useFilterPointsOfInterest.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.context.d.ts +7 -7
- package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.context.js +12 -14
- package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.context.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.js +50 -35
- package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePendingPoiInfoSection.d.ts +12 -12
- package/dist/ui/components/commandBased/pointsOfInterest/usePendingPoiInfoSection.js +70 -44
- package/dist/ui/components/commandBased/pointsOfInterest/usePendingPoiInfoSection.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePoiCreateFlowState.d.ts +4 -4
- package/dist/ui/components/commandBased/pointsOfInterest/usePoiCreateFlowState.js +23 -19
- package/dist/ui/components/commandBased/pointsOfInterest/usePoiCreateFlowState.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePoiDomainObject.d.ts +1 -1
- package/dist/ui/components/commandBased/pointsOfInterest/usePoiDomainObject.js +16 -14
- package/dist/ui/components/commandBased/pointsOfInterest/usePoiDomainObject.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterest.d.ts +1 -1
- package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterest.js +15 -12
- package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterest.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterestTool.d.ts +1 -1
- package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterestTool.js +15 -14
- package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterestTool.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useSelectedPoi.d.ts +1 -1
- package/dist/ui/components/commandBased/pointsOfInterest/useSelectedPoi.js +12 -11
- package/dist/ui/components/commandBased/pointsOfInterest/useSelectedPoi.js.map +1 -0
- package/dist/ui/components/commandBased/pointsOfInterest/useSyncSelectedPoi.d.ts +1 -1
- package/dist/ui/components/commandBased/pointsOfInterest/useSyncSelectedPoi.js +38 -28
- package/dist/ui/components/commandBased/pointsOfInterest/useSyncSelectedPoi.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeView.d.ts +11 -11
- package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeView.js +67 -44
- package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeView.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeViewCallbacks.d.ts +52 -52
- package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeViewCallbacks.js +147 -39
- package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeViewCallbacks.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.context.d.ts +10 -10
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.context.js +8 -6
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.context.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.d.ts +11 -11
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.function.d.ts +1 -1
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.function.js +10 -11
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.function.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.js +154 -104
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.d.ts +1 -1
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.function.d.ts +13 -12
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.function.js +45 -24
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.function.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.js +45 -32
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/get-children-as-array.d.ts +2 -2
- package/dist/ui/components/commandBased/treeView/TreeView/components/get-children-as-array.js +10 -5
- package/dist/ui/components/commandBased/treeView/TreeView/components/get-children-as-array.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-caret.d.ts +3 -3
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-caret.js +40 -35
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-caret.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-checkbox.d.ts +6 -6
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-checkbox.js +29 -26
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-checkbox.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu-item.d.ts +5 -5
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu-item.js +74 -59
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu-item.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu.d.ts +5 -5
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu.js +39 -28
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-icon.d.ts +6 -6
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-icon.js +12 -11
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-icon.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-info.d.ts +6 -6
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-info.js +40 -31
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-info.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-label.d.ts +5 -5
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-label.js +57 -32
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-label.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-load-more.d.ts +8 -8
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-load-more.js +24 -17
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-load-more.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-loading.d.ts +4 -4
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-loading.js +28 -16
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-loading.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/constants.js +11 -4
- package/dist/ui/components/commandBased/treeView/TreeView/constants.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.context.d.ts +4 -4
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.context.js +8 -6
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.context.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.d.ts +4 -4
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.js +109 -68
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/createTreeNodeExtraComponent.d.ts +2 -2
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/createTreeNodeExtraComponent.js +12 -9
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/createTreeNodeExtraComponent.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.context.d.ts +15 -15
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.context.js +35 -21
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.context.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.d.ts +10 -10
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.js +119 -94
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-props.d.ts +21 -21
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-props.js +7 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-props.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-scrolling.d.ts +2 -2
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-scrolling.js +34 -19
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-scrolling.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view.context.d.ts +6 -6
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view.context.js +19 -13
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view.context.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view.d.ts +2 -2
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view.js +78 -55
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view.js.map +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/types.d.ts +6 -6
- package/dist/ui/components/commandBased/treeView/TreeView/types.js +3 -0
- package/dist/ui/components/commandBased/treeView/TreeView/types.js.map +1 -0
- package/dist/ui/components/commandBased/utils/LabelWithShortcut.d.ts +5 -5
- package/dist/ui/components/commandBased/utils/LabelWithShortcut.js +26 -21
- package/dist/ui/components/commandBased/utils/LabelWithShortcut.js.map +1 -0
- package/dist/ui/components/commandBased/utils/constants.js +5 -0
- package/dist/ui/components/commandBased/utils/constants.js.map +1 -0
- package/dist/ui/components/commandBased/utils/types.d.ts +2 -2
- package/dist/ui/components/commandBased/utils/types.js +3 -0
- package/dist/ui/components/commandBased/utils/types.js.map +1 -0
- package/dist/ui/components/commandBased/utils/utilities.d.ts +4 -4
- package/dist/ui/components/commandBased/utils/utilities.js +36 -15
- package/dist/ui/components/commandBased/utils/utilities.js.map +1 -0
- package/dist/ui/components/constants.js +3 -0
- package/dist/ui/components/constants.js.map +1 -0
- package/dist/ui/components/i18n/I18n.d.ts +7 -7
- package/dist/ui/components/i18n/I18n.js +95 -62
- package/dist/ui/components/i18n/I18n.js.map +1 -0
- package/dist/ui/components/i18n/types.d.ts +7 -7
- package/dist/ui/components/i18n/types.js +3 -0
- package/dist/ui/components/i18n/types.js.map +1 -0
- package/dist/ui/components/i18n/utils.js +11 -10
- package/dist/ui/components/i18n/utils.js.map +1 -0
- package/dist/ui/components/index.d.ts +18 -18
- package/dist/ui/components/index.js +20 -55
- package/dist/ui/components/index.js.map +1 -0
- package/dist/ui/higher-order-components/index.d.ts +1 -1
- package/dist/ui/higher-order-components/index.js +3 -2
- package/dist/ui/higher-order-components/index.js.map +1 -0
- package/dist/ui/higher-order-components/withSuppressRevealEvents.d.ts +4 -4
- package/dist/ui/higher-order-components/withSuppressRevealEvents.js +53 -36
- package/dist/ui/higher-order-components/withSuppressRevealEvents.js.map +1 -0
- package/dist/ui/hooks/cad/index.d.ts +7 -7
- package/dist/ui/hooks/cad/index.js +9 -8
- package/dist/ui/hooks/cad/index.js.map +1 -0
- package/dist/ui/hooks/cad/modelWithAssetMappings.d.ts +4 -4
- package/dist/ui/hooks/cad/modelWithAssetMappings.js +3 -0
- package/dist/ui/hooks/cad/modelWithAssetMappings.js.map +1 -0
- package/dist/ui/hooks/cad/useAssetMappedNodesForRevisions.d.ts +3 -3
- package/dist/ui/hooks/cad/useAssetMappedNodesForRevisions.js +25 -25
- package/dist/ui/hooks/cad/useAssetMappedNodesForRevisions.js.map +1 -0
- package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.context.d.ts +9 -9
- package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.context.js +14 -14
- package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.context.js.map +1 -0
- package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.d.ts +3 -3
- package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.js +42 -32
- package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.js.map +1 -0
- package/dist/ui/hooks/cad/useFdm3dNodeDataPromises.d.ts +3 -3
- package/dist/ui/hooks/cad/useFdm3dNodeDataPromises.js +34 -28
- package/dist/ui/hooks/cad/useFdm3dNodeDataPromises.js.map +1 -0
- package/dist/ui/hooks/cad/useFdmAssetMappings.d.ts +4 -4
- package/dist/ui/hooks/cad/useFdmAssetMappings.js +27 -20
- package/dist/ui/hooks/cad/useFdmAssetMappings.js.map +1 -0
- package/dist/ui/hooks/cad/useGenerateAssetMappingCachePerItemFromModelCache.d.ts +2 -2
- package/dist/ui/hooks/cad/useGenerateAssetMappingCachePerItemFromModelCache.js +18 -17
- package/dist/ui/hooks/cad/useGenerateAssetMappingCachePerItemFromModelCache.js.map +1 -0
- package/dist/ui/hooks/cad/useGenerateNode3DCache.d.ts +2 -2
- package/dist/ui/hooks/cad/useGenerateNode3DCache.js +18 -17
- package/dist/ui/hooks/cad/useGenerateNode3DCache.js.map +1 -0
- package/dist/ui/hooks/cad/useMappedEdgesForRevisions.d.ts +4 -4
- package/dist/ui/hooks/cad/useMappedEdgesForRevisions.js +22 -18
- package/dist/ui/hooks/cad/useMappedEdgesForRevisions.js.map +1 -0
- package/dist/ui/hooks/index.d.ts +26 -26
- package/dist/ui/hooks/index.js +25 -33
- package/dist/ui/hooks/index.js.map +1 -0
- package/dist/ui/hooks/initializeGroundPlane.d.ts +13 -16
- package/dist/ui/hooks/initializeGroundPlane.js +21 -9
- package/dist/ui/hooks/initializeGroundPlane.js.map +1 -0
- package/dist/ui/hooks/network/fetchDmImage360Collections.d.ts +2 -2
- package/dist/ui/hooks/network/fetchDmImage360Collections.js +76 -56
- package/dist/ui/hooks/network/fetchDmImage360Collections.js.map +1 -0
- package/dist/ui/hooks/network/fetchLinkFromRelationshipsByTimeseries.d.ts +2 -2
- package/dist/ui/hooks/network/fetchLinkFromRelationshipsByTimeseries.js +35 -19
- package/dist/ui/hooks/network/fetchLinkFromRelationshipsByTimeseries.js.map +1 -0
- package/dist/ui/hooks/network/filterRelationships.d.ts +1 -1
- package/dist/ui/hooks/network/filterRelationships.js +17 -9
- package/dist/ui/hooks/network/filterRelationships.js.map +1 -0
- package/dist/ui/hooks/network/getAllFileInfos.d.ts +1 -1
- package/dist/ui/hooks/network/getAllFileInfos.js +13 -11
- package/dist/ui/hooks/network/getAllFileInfos.js.map +1 -0
- package/dist/ui/hooks/network/getAssetsList.d.ts +12 -12
- package/dist/ui/hooks/network/getAssetsList.js +32 -16
- package/dist/ui/hooks/network/getAssetsList.js.map +1 -0
- package/dist/ui/hooks/network/getCadModelsForAsset.d.ts +3 -3
- package/dist/ui/hooks/network/getCadModelsForAsset.js +14 -10
- package/dist/ui/hooks/network/getCadModelsForAsset.js.map +1 -0
- package/dist/ui/hooks/network/getCadModelsForHybridDmInstance.d.ts +3 -3
- package/dist/ui/hooks/network/getCadModelsForHybridDmInstance.js +23 -18
- package/dist/ui/hooks/network/getCadModelsForHybridDmInstance.js.map +1 -0
- package/dist/ui/hooks/network/getImage360CollectionsForAsset.d.ts +3 -3
- package/dist/ui/hooks/network/getImage360CollectionsForAsset.js +19 -16
- package/dist/ui/hooks/network/getImage360CollectionsForAsset.js.map +1 -0
- package/dist/ui/hooks/network/getImage360CollectionsForDmInstance.d.ts +2 -2
- package/dist/ui/hooks/network/getImage360CollectionsForDmInstance.js +81 -57
- package/dist/ui/hooks/network/getImage360CollectionsForDmInstance.js.map +1 -0
- package/dist/ui/hooks/network/getImage360CollectionsForHybridDmInstance.d.ts +3 -3
- package/dist/ui/hooks/network/getImage360CollectionsForHybridDmInstance.js +21 -19
- package/dist/ui/hooks/network/getImage360CollectionsForHybridDmInstance.js.map +1 -0
- package/dist/ui/hooks/network/getImage360CollectionsFromFileRefs.d.ts +5 -5
- package/dist/ui/hooks/network/getImage360CollectionsFromFileRefs.js +33 -20
- package/dist/ui/hooks/network/getImage360CollectionsFromFileRefs.js.map +1 -0
- package/dist/ui/hooks/network/getLinkedTimeseriesForAsset.d.ts +2 -2
- package/dist/ui/hooks/network/getLinkedTimeseriesForAsset.js +12 -4
- package/dist/ui/hooks/network/getLinkedTimeseriesForAsset.js.map +1 -0
- package/dist/ui/hooks/network/getModelType.d.ts +2 -2
- package/dist/ui/hooks/network/getModelType.js +11 -0
- package/dist/ui/hooks/network/getModelType.js.map +1 -0
- package/dist/ui/hooks/network/getModels.d.ts +2 -2
- package/dist/ui/hooks/network/getModels.js +30 -0
- package/dist/ui/hooks/network/getModels.js.map +1 -0
- package/dist/ui/hooks/network/getPointCloudModelsForAsset.d.ts +3 -3
- package/dist/ui/hooks/network/getPointCloudModelsForAsset.js +59 -30
- package/dist/ui/hooks/network/getPointCloudModelsForAsset.js.map +1 -0
- package/dist/ui/hooks/network/getPointCloudModelsForAssetInstance.d.ts +2 -2
- package/dist/ui/hooks/network/getPointCloudModelsForAssetInstance.js +23 -19
- package/dist/ui/hooks/network/getPointCloudModelsForAssetInstance.js.map +1 -0
- package/dist/ui/hooks/network/getRelationships.d.ts +5 -5
- package/dist/ui/hooks/network/getRelationships.js +22 -16
- package/dist/ui/hooks/network/getRelationships.js.map +1 -0
- package/dist/ui/hooks/network/getResourceRelationship.d.ts +2 -2
- package/dist/ui/hooks/network/getResourceRelationship.js +12 -8
- package/dist/ui/hooks/network/getResourceRelationship.js.map +1 -0
- package/dist/ui/hooks/network/getRevisionExternalIdAndSpace.d.ts +21 -21
- package/dist/ui/hooks/network/getRevisionExternalIdAndSpace.js +77 -46
- package/dist/ui/hooks/network/getRevisionExternalIdAndSpace.js.map +1 -0
- package/dist/ui/hooks/network/getRevisions.d.ts +1 -1
- package/dist/ui/hooks/network/getRevisions.js +8 -0
- package/dist/ui/hooks/network/getRevisions.js.map +1 -0
- package/dist/ui/hooks/network/getSourceRelationships.d.ts +5 -5
- package/dist/ui/hooks/network/getSourceRelationships.js +10 -8
- package/dist/ui/hooks/network/getSourceRelationships.js.map +1 -0
- package/dist/ui/hooks/network/getTargetRelationships.d.ts +5 -5
- package/dist/ui/hooks/network/getTargetRelationships.js +10 -8
- package/dist/ui/hooks/network/getTargetRelationships.js.map +1 -0
- package/dist/ui/hooks/network/getTimeseriesByIds.d.ts +1 -1
- package/dist/ui/hooks/network/getTimeseriesByIds.js +11 -8
- package/dist/ui/hooks/network/getTimeseriesByIds.js.map +1 -0
- package/dist/ui/hooks/network/getTimeseriesLatestDatapoints.d.ts +1 -1
- package/dist/ui/hooks/network/getTimeseriesLatestDatapoints.js +10 -9
- package/dist/ui/hooks/network/getTimeseriesLatestDatapoints.js.map +1 -0
- package/dist/ui/hooks/network/types.d.ts +28 -28
- package/dist/ui/hooks/network/types.js +3 -0
- package/dist/ui/hooks/network/types.js.map +1 -0
- package/dist/ui/hooks/pointClouds/fetchAnnotationsForModel.d.ts +3 -3
- package/dist/ui/hooks/pointClouds/fetchAnnotationsForModel.js +23 -11
- package/dist/ui/hooks/pointClouds/fetchAnnotationsForModel.js.map +1 -0
- package/dist/ui/hooks/pointClouds/getPointCloudInstanceFromIntersection.d.ts +4 -4
- package/dist/ui/hooks/pointClouds/getPointCloudInstanceFromIntersection.js +22 -17
- package/dist/ui/hooks/pointClouds/getPointCloudInstanceFromIntersection.js.map +1 -0
- package/dist/ui/hooks/pointClouds/index.d.ts +2 -2
- package/dist/ui/hooks/pointClouds/index.js +4 -3
- package/dist/ui/hooks/pointClouds/index.js.map +1 -0
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.context.d.ts +7 -7
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.context.js +12 -12
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.context.js.map +1 -0
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.d.ts +3 -3
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.js +75 -39
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.js.map +1 -0
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.context.d.ts +5 -5
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.context.js +10 -10
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.context.js.map +1 -0
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.d.ts +4 -4
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.js +27 -19
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.js.map +1 -0
- package/dist/ui/hooks/scenes/allScenesQuery.d.ts +18 -18
- package/dist/ui/hooks/scenes/allScenesQuery.js +145 -97
- package/dist/ui/hooks/scenes/allScenesQuery.js.map +1 -0
- package/dist/ui/hooks/scenes/hasSceneDataModel.d.ts +1 -1
- package/dist/ui/hooks/scenes/hasSceneDataModel.js +44 -43
- package/dist/ui/hooks/scenes/hasSceneDataModel.js.map +1 -0
- package/dist/ui/hooks/scenes/sceneQuery.d.ts +14 -14
- package/dist/ui/hooks/scenes/sceneQuery.js +134 -85
- package/dist/ui/hooks/scenes/sceneQuery.js.map +1 -0
- package/dist/ui/hooks/scenes/sceneResponseTypeGuards.d.ts +8 -8
- package/dist/ui/hooks/scenes/sceneResponseTypeGuards.js +216 -77
- package/dist/ui/hooks/scenes/sceneResponseTypeGuards.js.map +1 -0
- package/dist/ui/hooks/scenes/types.d.ts +142 -161
- package/dist/ui/hooks/scenes/types.js +102 -72
- package/dist/ui/hooks/scenes/types.js.map +1 -0
- package/dist/ui/hooks/scenes/use3dScene.context.d.ts +9 -9
- package/dist/ui/hooks/scenes/use3dScene.context.js +16 -12
- package/dist/ui/hooks/scenes/use3dScene.context.js.map +1 -0
- package/dist/ui/hooks/scenes/use3dScene.d.ts +5 -5
- package/dist/ui/hooks/scenes/use3dScene.js +45 -27
- package/dist/ui/hooks/scenes/use3dScene.js.map +1 -0
- package/dist/ui/hooks/scenes/use3dScenes.context.d.ts +11 -11
- package/dist/ui/hooks/scenes/use3dScenes.context.js +17 -17
- package/dist/ui/hooks/scenes/use3dScenes.context.js.map +1 -0
- package/dist/ui/hooks/scenes/use3dScenes.d.ts +3 -3
- package/dist/ui/hooks/scenes/use3dScenes.js +225 -154
- package/dist/ui/hooks/scenes/use3dScenes.js.map +1 -0
- package/dist/ui/hooks/scenes/useSceneConfig.context.d.ts +3 -3
- package/dist/ui/hooks/scenes/useSceneConfig.context.js +8 -6
- package/dist/ui/hooks/scenes/useSceneConfig.context.js.map +1 -0
- package/dist/ui/hooks/scenes/useSceneConfig.d.ts +5 -5
- package/dist/ui/hooks/scenes/useSceneConfig.js +98 -86
- package/dist/ui/hooks/scenes/useSceneConfig.js.map +1 -0
- package/dist/ui/hooks/types.d.ts +47 -47
- package/dist/ui/hooks/types.js +3 -0
- package/dist/ui/hooks/types.js.map +1 -0
- package/dist/ui/hooks/use3dModels.d.ts +7 -7
- package/dist/ui/hooks/use3dModels.js +20 -11
- package/dist/ui/hooks/use3dModels.js.map +1 -0
- package/dist/ui/hooks/useActiveReveal3dResources.d.ts +8 -8
- package/dist/ui/hooks/useActiveReveal3dResources.js +67 -42
- package/dist/ui/hooks/useActiveReveal3dResources.js.map +1 -0
- package/dist/ui/hooks/useCameraNavigation.d.ts +16 -16
- package/dist/ui/hooks/useCameraNavigation.js +103 -67
- package/dist/ui/hooks/useCameraNavigation.js.map +1 -0
- package/dist/ui/hooks/useClickedNode.context.d.ts +15 -15
- package/dist/ui/hooks/useClickedNode.context.js +20 -22
- package/dist/ui/hooks/useClickedNode.context.js.map +1 -0
- package/dist/ui/hooks/useClickedNode.d.ts +5 -5
- package/dist/ui/hooks/useClickedNode.js +171 -112
- package/dist/ui/hooks/useClickedNode.js.map +1 -0
- package/dist/ui/hooks/useCreateAssetMappingsMapPerModel.d.ts +3 -3
- package/dist/ui/hooks/useCreateAssetMappingsMapPerModel.js +21 -14
- package/dist/ui/hooks/useCreateAssetMappingsMapPerModel.js.map +1 -0
- package/dist/ui/hooks/useGhostMode.js +10 -10
- package/dist/ui/hooks/useGhostMode.js.map +1 -0
- package/dist/ui/hooks/useGroundPlaneFromScene.context.d.ts +12 -12
- package/dist/ui/hooks/useGroundPlaneFromScene.context.js +21 -21
- package/dist/ui/hooks/useGroundPlaneFromScene.context.js.map +1 -0
- package/dist/ui/hooks/useGroundPlaneFromScene.js +82 -58
- package/dist/ui/hooks/useGroundPlaneFromScene.js.map +1 -0
- package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.context.d.ts +3 -3
- package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.context.js +8 -6
- package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.context.js.map +1 -0
- package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.d.ts +4 -4
- package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.js +44 -29
- package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.js.map +1 -0
- package/dist/ui/hooks/useImage360Collections.d.ts +4 -4
- package/dist/ui/hooks/useImage360Collections.js +15 -10
- package/dist/ui/hooks/useImage360Collections.js.map +1 -0
- package/dist/ui/hooks/useIsCoreDmOnly.js +6 -6
- package/dist/ui/hooks/useIsCoreDmOnly.js.map +1 -0
- package/dist/ui/hooks/useIsDraggingOnViewer.js +30 -18
- package/dist/ui/hooks/useIsDraggingOnViewer.js.map +1 -0
- package/dist/ui/hooks/useIsRevealInitialized.js +7 -5
- package/dist/ui/hooks/useIsRevealInitialized.js.map +1 -0
- package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.context.d.ts +5 -5
- package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.context.js +10 -10
- package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.context.js.map +1 -0
- package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.d.ts +2 -2
- package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.js +32 -16
- package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.js.map +1 -0
- package/dist/ui/hooks/useReveal3dResourcesFromScene.d.ts +5 -5
- package/dist/ui/hooks/useReveal3dResourcesFromScene.js +32 -23
- package/dist/ui/hooks/useReveal3dResourcesFromScene.js.map +1 -0
- package/dist/ui/hooks/useRevealDomainObjects.d.ts +4 -4
- package/dist/ui/hooks/useRevealDomainObjects.js +16 -11
- package/dist/ui/hooks/useRevealDomainObjects.js.map +1 -0
- package/dist/ui/hooks/useSceneDefaultCamera.context.d.ts +7 -7
- package/dist/ui/hooks/useSceneDefaultCamera.context.js +12 -12
- package/dist/ui/hooks/useSceneDefaultCamera.context.js.map +1 -0
- package/dist/ui/hooks/useSceneDefaultCamera.d.ts +1 -1
- package/dist/ui/hooks/useSceneDefaultCamera.js +133 -79
- package/dist/ui/hooks/useSceneDefaultCamera.js.map +1 -0
- package/dist/ui/hooks/useSkyboxFromScene.context.d.ts +10 -10
- package/dist/ui/hooks/useSkyboxFromScene.context.js +17 -17
- package/dist/ui/hooks/useSkyboxFromScene.context.js.map +1 -0
- package/dist/ui/hooks/useSkyboxFromScene.js +53 -34
- package/dist/ui/hooks/useSkyboxFromScene.js.map +1 -0
- package/dist/ui/hooks/useVisibleRevealDomainObjects.d.ts +4 -4
- package/dist/ui/hooks/useVisibleRevealDomainObjects.js +23 -16
- package/dist/ui/hooks/useVisibleRevealDomainObjects.js.map +1 -0
- package/dist/ui/query/FilterOnClassicAssetsInScene.context.d.ts +9 -9
- package/dist/ui/query/FilterOnClassicAssetsInScene.context.js +12 -14
- package/dist/ui/query/FilterOnClassicAssetsInScene.context.js.map +1 -0
- package/dist/ui/query/core-dm/typeGuards.d.ts +1 -1
- package/dist/ui/query/core-dm/typeGuards.js +5 -4
- package/dist/ui/query/core-dm/typeGuards.js.map +1 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.context.d.ts +9 -9
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.context.js +14 -14
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.context.js.map +1 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.d.ts +5 -5
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.js +35 -22
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.js.map +1 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.context.d.ts +5 -5
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.context.js +10 -10
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.context.js.map +1 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.d.ts +5 -5
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.js +51 -32
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.js.map +1 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumes.context.d.ts +4 -6
- package/dist/ui/query/core-dm/usePointCloudDMVolumes.context.js +8 -11
- package/dist/ui/query/core-dm/usePointCloudDMVolumes.context.js.map +1 -0
- package/dist/ui/query/core-dm/usePointCloudDMVolumes.d.ts +4 -7
- package/dist/ui/query/core-dm/usePointCloudDMVolumes.js +55 -58
- package/dist/ui/query/core-dm/usePointCloudDMVolumes.js.map +1 -0
- package/dist/ui/query/findScenesContainingResources.d.ts +7 -7
- package/dist/ui/query/findScenesContainingResources.js +86 -48
- package/dist/ui/query/findScenesContainingResources.js.map +1 -0
- package/dist/ui/query/index.d.ts +26 -25
- package/dist/ui/query/index.js +24 -23
- package/dist/ui/query/index.js.map +1 -0
- package/dist/ui/query/use3DModelName.d.ts +2 -2
- package/dist/ui/query/use3DModelName.js +49 -25
- package/dist/ui/query/use3DModelName.js.map +1 -0
- package/dist/ui/query/use3dRelatedDirectConnections.d.ts +3 -3
- package/dist/ui/query/use3dRelatedDirectConnections.js +95 -61
- package/dist/ui/query/use3dRelatedDirectConnections.js.map +1 -0
- package/dist/ui/query/use3dRelatedEdgeConnections.d.ts +3 -3
- package/dist/ui/query/use3dRelatedEdgeConnections.js +41 -35
- package/dist/ui/query/use3dRelatedEdgeConnections.js.map +1 -0
- package/dist/ui/query/useAll3dDirectConnectionsWithProperties.context.d.ts +3 -3
- package/dist/ui/query/useAll3dDirectConnectionsWithProperties.context.js +8 -6
- package/dist/ui/query/useAll3dDirectConnectionsWithProperties.context.js.map +1 -0
- package/dist/ui/query/useAll3dDirectConnectionsWithProperties.d.ts +3 -3
- package/dist/ui/query/useAll3dDirectConnectionsWithProperties.js +129 -64
- package/dist/ui/query/useAll3dDirectConnectionsWithProperties.js.map +1 -0
- package/dist/ui/query/useAssetsAndTimeseriesLinkageDataQuery.d.ts +6 -6
- package/dist/ui/query/useAssetsAndTimeseriesLinkageDataQuery.js +119 -58
- package/dist/ui/query/useAssetsAndTimeseriesLinkageDataQuery.js.map +1 -0
- package/dist/ui/query/useAssetsAndTimeseriesLinkages.context.d.ts +8 -8
- package/dist/ui/query/useAssetsAndTimeseriesLinkages.context.js +12 -12
- package/dist/ui/query/useAssetsAndTimeseriesLinkages.context.js.map +1 -0
- package/dist/ui/query/useAssetsAndTimeseriesLinkages.d.ts +3 -3
- package/dist/ui/query/useAssetsAndTimeseriesLinkages.js +71 -32
- package/dist/ui/query/useAssetsAndTimeseriesLinkages.js.map +1 -0
- package/dist/ui/query/useAssetsByIdsQuery.d.ts +2 -2
- package/dist/ui/query/useAssetsByIdsQuery.js +12 -13
- package/dist/ui/query/useAssetsByIdsQuery.js.map +1 -0
- package/dist/ui/query/useCadNode3DInfo.d.ts +5 -5
- package/dist/ui/query/useCadNode3DInfo.js +29 -22
- package/dist/ui/query/useCadNode3DInfo.js.map +1 -0
- package/dist/ui/query/useFetchClassicAssetsByIds.d.ts +6 -6
- package/dist/ui/query/useFetchClassicAssetsByIds.js +50 -34
- package/dist/ui/query/useFetchClassicAssetsByIds.js.map +1 -0
- package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.context.d.ts +5 -5
- package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.context.js +10 -10
- package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.context.js.map +1 -0
- package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.d.ts +8 -8
- package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.js +40 -30
- package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.js.map +1 -0
- package/dist/ui/query/useFilterOnClassicAssetsInScene.d.ts +1 -1
- package/dist/ui/query/useFilterOnClassicAssetsInScene.js +63 -40
- package/dist/ui/query/useFilterOnClassicAssetsInScene.js.map +1 -0
- package/dist/ui/query/useHybridMappingsForAssetInstances.context.d.ts +5 -5
- package/dist/ui/query/useHybridMappingsForAssetInstances.context.js +12 -9
- package/dist/ui/query/useHybridMappingsForAssetInstances.context.js.map +1 -0
- package/dist/ui/query/useHybridMappingsForAssetInstances.d.ts +4 -4
- package/dist/ui/query/useHybridMappingsForAssetInstances.js +39 -30
- package/dist/ui/query/useHybridMappingsForAssetInstances.js.map +1 -0
- package/dist/ui/query/useInstanceNames.d.ts +6 -6
- package/dist/ui/query/useInstanceNames.js +30 -16
- package/dist/ui/query/useInstanceNames.js.map +1 -0
- package/dist/ui/query/useInstancesByIdsQuery.context.d.ts +4 -4
- package/dist/ui/query/useInstancesByIdsQuery.context.js +8 -6
- package/dist/ui/query/useInstancesByIdsQuery.context.js.map +1 -0
- package/dist/ui/query/useInstancesByIdsQuery.d.ts +8 -8
- package/dist/ui/query/useInstancesByIdsQuery.js +33 -22
- package/dist/ui/query/useInstancesByIdsQuery.js.map +1 -0
- package/dist/ui/query/useModelsForInstanceQuery.context.d.ts +24 -24
- package/dist/ui/query/useModelsForInstanceQuery.context.js +29 -29
- package/dist/ui/query/useModelsForInstanceQuery.context.js.map +1 -0
- package/dist/ui/query/useModelsForInstanceQuery.d.ts +6 -6
- package/dist/ui/query/useModelsForInstanceQuery.js +122 -84
- package/dist/ui/query/useModelsForInstanceQuery.js.map +1 -0
- package/dist/ui/query/useNamedDmInstancesByIds.d.ts +7 -7
- package/dist/ui/query/useNamedDmInstancesByIds.js +21 -0
- package/dist/ui/query/useNamedDmInstancesByIds.js.map +1 -0
- package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.context.d.ts +5 -5
- package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.context.js +12 -9
- package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.context.js.map +1 -0
- package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.d.ts +3 -3
- package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.js +40 -24
- package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.js.map +1 -0
- package/dist/ui/query/useSearchAssetsMapped360Annotations.d.ts +7 -7
- package/dist/ui/query/useSearchAssetsMapped360Annotations.js +50 -40
- package/dist/ui/query/useSearchAssetsMapped360Annotations.js.map +1 -0
- package/dist/ui/query/useSearchAssetsMappedPointCloudAnnotations.d.ts +4 -4
- package/dist/ui/query/useSearchAssetsMappedPointCloudAnnotations.js +57 -47
- package/dist/ui/query/useSearchAssetsMappedPointCloudAnnotations.js.map +1 -0
- package/dist/ui/query/useSearchMappedEquipmentAssetMappings.context.d.ts +5 -5
- package/dist/ui/query/useSearchMappedEquipmentAssetMappings.context.js +10 -10
- package/dist/ui/query/useSearchMappedEquipmentAssetMappings.context.js.map +1 -0
- package/dist/ui/query/useSearchMappedEquipmentAssetMappings.d.ts +19 -13
- package/dist/ui/query/useSearchMappedEquipmentAssetMappings.js +127 -93
- package/dist/ui/query/useSearchMappedEquipmentAssetMappings.js.map +1 -0
- package/dist/ui/query/useSearchMappedEquipmentFDM.d.ts +7 -7
- package/dist/ui/query/useSearchMappedEquipmentFDM.js +50 -39
- package/dist/ui/query/useSearchMappedEquipmentFDM.js.map +1 -0
- package/dist/ui/query/useTimeseriesByIdsQuery.d.ts +2 -2
- package/dist/ui/query/useTimeseriesByIdsQuery.js +13 -14
- package/dist/ui/query/useTimeseriesByIdsQuery.js.map +1 -0
- package/dist/ui/query/useTimeseriesLatestDatapointQuery.d.ts +1 -1
- package/dist/ui/query/useTimeseriesLatestDatapointQuery.js +22 -14
- package/dist/ui/query/useTimeseriesLatestDatapointQuery.js.map +1 -0
- package/dist/utilities/PickReturn.d.ts +4 -1
- package/dist/utilities/PickReturn.js +3 -0
- package/dist/utilities/PickReturn.js.map +1 -0
- package/dist/utilities/TextWithClickableLink.d.ts +3 -3
- package/dist/utilities/TextWithClickableLink.js +35 -24
- package/dist/utilities/TextWithClickableLink.js.map +1 -0
- package/dist/utilities/assertNever.js +4 -5
- package/dist/utilities/assertNever.js.map +1 -0
- package/dist/utilities/cache/ReadonlyEntityCache.d.ts +21 -3
- package/dist/utilities/cache/ReadonlyEntityCache.js +36 -25
- package/dist/utilities/cache/ReadonlyEntityCache.js.map +1 -0
- package/dist/utilities/constants.d.ts +1 -1
- package/dist/utilities/constants.js +8 -6
- package/dist/utilities/constants.js.map +1 -0
- package/dist/utilities/convertAssetMetadataToLowerCase.d.ts +1 -1
- package/dist/utilities/convertAssetMetadataToLowerCase.js +10 -8
- package/dist/utilities/convertAssetMetadataToLowerCase.js.map +1 -0
- package/dist/utilities/createMixpanelUsageMetricsTracker.d.ts +12 -12
- package/dist/utilities/createMixpanelUsageMetricsTracker.js +39 -22
- package/dist/utilities/createMixpanelUsageMetricsTracker.js.map +1 -0
- package/dist/utilities/createSimpleHash.js +17 -11
- package/dist/utilities/createSimpleHash.js.map +1 -0
- package/dist/utilities/cursoring/autoCursoringProvider.d.ts +19 -13
- package/dist/utilities/cursoring/autoCursoringProvider.js +25 -20
- package/dist/utilities/cursoring/autoCursoringProvider.js.map +1 -0
- package/dist/utilities/cursoring/dataAccumulator.d.ts +15 -12
- package/dist/utilities/cursoring/dataAccumulator.js +42 -29
- package/dist/utilities/cursoring/dataAccumulator.js.map +1 -0
- package/dist/utilities/cursoring/dataPaginator.d.ts +6 -6
- package/dist/utilities/cursoring/dataPaginator.js +32 -23
- package/dist/utilities/cursoring/dataPaginator.js.map +1 -0
- package/dist/utilities/cursoring/index.d.ts +2 -2
- package/dist/utilities/cursoring/index.js +4 -0
- package/dist/utilities/cursoring/index.js.map +1 -0
- package/dist/utilities/date-time-utils/constants.d.ts +1 -1
- package/dist/utilities/date-time-utils/constants.js +59 -54
- package/dist/utilities/date-time-utils/constants.js.map +1 -0
- package/dist/utilities/date-time-utils/format-date-time.d.ts +42 -30
- package/dist/utilities/date-time-utils/format-date-time.js +90 -24
- package/dist/utilities/date-time-utils/format-date-time.js.map +1 -0
- package/dist/utilities/date-time-utils/index.d.ts +3 -3
- package/dist/utilities/date-time-utils/index.js +4 -3
- package/dist/utilities/date-time-utils/index.js.map +1 -0
- package/dist/utilities/date-time-utils/types.d.ts +6 -6
- package/dist/utilities/date-time-utils/types.js +3 -0
- package/dist/utilities/date-time-utils/types.js.map +1 -0
- package/dist/utilities/dms-cursoring/cursoring-order.d.ts +8 -8
- package/dist/utilities/dms-cursoring/cursoring-order.js +20 -15
- package/dist/utilities/dms-cursoring/cursoring-order.js.map +1 -0
- package/dist/utilities/dms-cursoring/dms-query-paginator.d.ts +34 -28
- package/dist/utilities/dms-cursoring/dms-query-paginator.js +100 -63
- package/dist/utilities/dms-cursoring/dms-query-paginator.js.map +1 -0
- package/dist/utilities/dms-cursoring/dmsAccumulator.d.ts +10 -7
- package/dist/utilities/dms-cursoring/dmsAccumulator.js +26 -14
- package/dist/utilities/dms-cursoring/dmsAccumulator.js.map +1 -0
- package/dist/utilities/dms-cursoring/get-cursor-paths.d.ts +1 -1
- package/dist/utilities/dms-cursoring/get-cursor-paths.js +33 -22
- package/dist/utilities/dms-cursoring/get-cursor-paths.js.map +1 -0
- package/dist/utilities/dms-cursoring/next-dms-query-cursor.d.ts +10 -10
- package/dist/utilities/dms-cursoring/next-dms-query-cursor.js +96 -45
- package/dist/utilities/dms-cursoring/next-dms-query-cursor.js.map +1 -0
- package/dist/utilities/executeParallel.d.ts +1 -1
- package/dist/utilities/executeParallel.js +20 -14
- package/dist/utilities/executeParallel.js.map +1 -0
- package/dist/utilities/externalIndex.d.ts +8 -8
- package/dist/utilities/externalIndex.js +10 -20
- package/dist/utilities/externalIndex.js.map +1 -0
- package/dist/utilities/fdmViewsExist.d.ts +1 -1
- package/dist/utilities/fdmViewsExist.js +8 -5
- package/dist/utilities/fdmViewsExist.js.map +1 -0
- package/dist/utilities/getInstancesFromClick.d.ts +6 -6
- package/dist/utilities/getInstancesFromClick.js +79 -36
- package/dist/utilities/getInstancesFromClick.js.map +1 -0
- package/dist/utilities/getModelKeys.d.ts +3 -3
- package/dist/utilities/getModelKeys.js +21 -7
- package/dist/utilities/getModelKeys.js.map +1 -0
- package/dist/utilities/getUnifiedThreeDUrlForResource.d.ts +12 -12
- package/dist/utilities/getUnifiedThreeDUrlForResource.js +36 -25
- package/dist/utilities/getUnifiedThreeDUrlForResource.js.map +1 -0
- package/dist/utilities/getUrlRegex.js +5 -5
- package/dist/utilities/getUrlRegex.js.map +1 -0
- package/dist/utilities/getViewerResourceCount.d.ts +1 -1
- package/dist/utilities/getViewerResourceCount.js +4 -5
- package/dist/utilities/getViewerResourceCount.js.map +1 -0
- package/dist/utilities/image360Annotations/equality.d.ts +2 -2
- package/dist/utilities/image360Annotations/equality.js +8 -10
- package/dist/utilities/image360Annotations/equality.js.map +1 -0
- package/dist/utilities/image360Annotations/getImage360AnnotationAssetRef.d.ts +2 -2
- package/dist/utilities/image360Annotations/getImage360AnnotationAssetRef.js +19 -14
- package/dist/utilities/image360Annotations/getImage360AnnotationAssetRef.js.map +1 -0
- package/dist/utilities/image360Annotations/getImage360AnnotationId.d.ts +1 -1
- package/dist/utilities/image360Annotations/getImage360AnnotationId.js +14 -12
- package/dist/utilities/image360Annotations/getImage360AnnotationId.js.map +1 -0
- package/dist/utilities/image360Annotations/index.d.ts +5 -5
- package/dist/utilities/image360Annotations/index.js +6 -5
- package/dist/utilities/image360Annotations/index.js.map +1 -0
- package/dist/utilities/image360Annotations/typeGuards.d.ts +4 -4
- package/dist/utilities/image360Annotations/typeGuards.js +19 -20
- package/dist/utilities/image360Annotations/typeGuards.js.map +1 -0
- package/dist/utilities/image360Annotations/types.d.ts +3 -3
- package/dist/utilities/image360Annotations/types.js +3 -0
- package/dist/utilities/image360Annotations/types.js.map +1 -0
- package/dist/utilities/index.d.ts +5 -5
- package/dist/utilities/index.js +6 -20
- package/dist/utilities/index.js.map +1 -0
- package/dist/utilities/instanceIds/equality.d.ts +3 -3
- package/dist/utilities/instanceIds/equality.js +13 -14
- package/dist/utilities/instanceIds/equality.js.map +1 -0
- package/dist/utilities/instanceIds/index.d.ts +4 -4
- package/dist/utilities/instanceIds/index.js +5 -4
- package/dist/utilities/instanceIds/index.js.map +1 -0
- package/dist/utilities/instanceIds/toIdEither.d.ts +1 -1
- package/dist/utilities/instanceIds/toIdEither.js +11 -5
- package/dist/utilities/instanceIds/toIdEither.js.map +1 -0
- package/dist/utilities/instanceIds/toKey.d.ts +2 -2
- package/dist/utilities/instanceIds/toKey.js +22 -13
- package/dist/utilities/instanceIds/toKey.js.map +1 -0
- package/dist/utilities/instanceIds/typeGuards.d.ts +7 -7
- package/dist/utilities/instanceIds/typeGuards.js +19 -17
- package/dist/utilities/instanceIds/typeGuards.js.map +1 -0
- package/dist/utilities/instanceIds/types.d.ts +4 -4
- package/dist/utilities/instanceIds/types.js +3 -0
- package/dist/utilities/instanceIds/types.js.map +1 -0
- package/dist/utilities/instances/AssetInstance.d.ts +3 -3
- package/dist/utilities/instances/AssetInstance.js +3 -0
- package/dist/utilities/instances/AssetInstance.js.map +1 -0
- package/dist/utilities/instances/index.d.ts +3 -3
- package/dist/utilities/instances/index.js +4 -3
- package/dist/utilities/instances/index.js.map +1 -0
- package/dist/utilities/instances/matchAssetWithQuery.d.ts +1 -1
- package/dist/utilities/instances/matchAssetWithQuery.js +13 -13
- package/dist/utilities/instances/matchAssetWithQuery.js.map +1 -0
- package/dist/utilities/instances/toId.d.ts +2 -2
- package/dist/utilities/instances/toId.js +17 -15
- package/dist/utilities/instances/toId.js.map +1 -0
- package/dist/utilities/instances/typeGuards.d.ts +4 -4
- package/dist/utilities/instances/typeGuards.js +8 -10
- package/dist/utilities/instances/typeGuards.js.map +1 -0
- package/dist/utilities/isDefined.js +4 -5
- package/dist/utilities/isDefined.js.map +1 -0
- package/dist/utilities/isSameModel.d.ts +2 -2
- package/dist/utilities/isSameModel.js +60 -16
- package/dist/utilities/isSameModel.js.map +1 -0
- package/dist/utilities/loadMetricsParameters.d.ts +3 -3
- package/dist/utilities/loadMetricsParameters.js +3 -0
- package/dist/utilities/loadMetricsParameters.js.map +1 -0
- package/dist/utilities/map/concatenateMapValues.d.ts +6 -3
- package/dist/utilities/map/concatenateMapValues.js +16 -8
- package/dist/utilities/map/concatenateMapValues.js.map +1 -0
- package/dist/utilities/map/mergeMapMapValues.d.ts +16 -9
- package/dist/utilities/map/mergeMapMapValues.js +39 -15
- package/dist/utilities/map/mergeMapMapValues.js.map +1 -0
- package/dist/utilities/modelExists.d.ts +1 -1
- package/dist/utilities/modelExists.js +6 -7
- package/dist/utilities/modelExists.js.map +1 -0
- package/dist/utilities/modelIds/index.d.ts +2 -2
- package/dist/utilities/modelIds/index.js +5 -2
- package/dist/utilities/modelIds/index.js.map +1 -0
- package/dist/utilities/modelIds/typeGuards.d.ts +2 -2
- package/dist/utilities/modelIds/typeGuards.js +16 -16
- package/dist/utilities/modelIds/typeGuards.js.map +1 -0
- package/dist/utilities/modelIds/types.d.ts +89 -88
- package/dist/utilities/modelIds/types.js +3 -0
- package/dist/utilities/modelIds/types.js.map +1 -0
- package/dist/utilities/navigation/enterNearby360Image.d.ts +3 -3
- package/dist/utilities/navigation/enterNearby360Image.js +18 -11
- package/dist/utilities/navigation/enterNearby360Image.js.map +1 -0
- package/dist/utilities/navigation/index.d.ts +1 -1
- package/dist/utilities/navigation/index.js +3 -2
- package/dist/utilities/navigation/index.js.map +1 -0
- package/dist/utilities/queryKeys.d.ts +32 -33
- package/dist/utilities/queryKeys.js +174 -115
- package/dist/utilities/queryKeys.js.map +1 -0
- package/dist/utilities/removeEmptyProperties.d.ts +1 -1
- package/dist/utilities/removeEmptyProperties.js +13 -11
- package/dist/utilities/removeEmptyProperties.js.map +1 -0
- package/dist/utilities/resourceSettings.d.ts +5 -5
- package/dist/utilities/resourceSettings.js +88 -51
- package/dist/utilities/resourceSettings.js.map +1 -0
- package/dist/utilities/restrictToDmsId.d.ts +1 -1
- package/dist/utilities/restrictToDmsId.js +7 -8
- package/dist/utilities/restrictToDmsId.js.map +1 -0
- package/dist/utilities/restrictToViewReference.d.ts +2 -2
- package/dist/utilities/restrictToViewReference.js +9 -10
- package/dist/utilities/restrictToViewReference.js.map +1 -0
- package/dist/utilities/signal/DisposableSignal.d.ts +3 -3
- package/dist/utilities/signal/DisposableSignal.js +3 -0
- package/dist/utilities/signal/DisposableSignal.js.map +1 -0
- package/dist/utilities/signal/useCombinedUpdateSignal.d.ts +7 -7
- package/dist/utilities/signal/useCombinedUpdateSignal.js +24 -13
- package/dist/utilities/signal/useCombinedUpdateSignal.js.map +1 -0
- package/dist/utilities/signal/useDisposableSignal.d.ts +1 -1
- package/dist/utilities/signal/useDisposableSignal.js +14 -9
- package/dist/utilities/signal/useDisposableSignal.js.map +1 -0
- package/dist/utilities/signal/useMemoWithUpdateSignal.d.ts +2 -2
- package/dist/utilities/signal/useMemoWithUpdateSignal.js +12 -12
- package/dist/utilities/signal/useMemoWithUpdateSignal.js.map +1 -0
- package/dist/utilities/styling/index.d.ts +1 -1
- package/dist/utilities/styling/index.js +3 -0
- package/dist/utilities/styling/index.js.map +1 -0
- package/dist/utilities/styling/stylingGroups.d.ts +9 -9
- package/dist/utilities/styling/stylingGroups.js +6 -7
- package/dist/utilities/styling/stylingGroups.js.map +1 -0
- package/dist/utilities/tryGetModelIdFromExternalId.js +19 -12
- package/dist/utilities/tryGetModelIdFromExternalId.js.map +1 -0
- package/dist/utilities/usageMetricsTracker.d.ts +1 -1
- package/dist/utilities/usageMetricsTracker.js +5 -4
- package/dist/utilities/usageMetricsTracker.js.map +1 -0
- package/package.json +27 -13
- package/dist/_virtual/_rolldown_dynamic_import_helper.js +0 -9
- package/dist/assets/poi-markers/poi-create-cursor.js +0 -4
- package/dist/assets/poi-markers/poi-default.js +0 -4
- package/dist/assets/poi-markers/poi-hover.js +0 -4
- package/dist/assets/poi-markers/poi-selected.js +0 -4
- package/dist/common/i18n/de/reveal-components.js +0 -197
- package/dist/common/i18n/en/reveal-components.js +0 -202
- package/dist/common/i18n/es/reveal-components.js +0 -197
- package/dist/common/i18n/fr/reveal-components.js +0 -197
- package/dist/common/i18n/it/reveal-components.js +0 -197
- package/dist/common/i18n/ja/reveal-components.js +0 -197
- package/dist/common/i18n/ko/reveal-components.js +0 -197
- package/dist/common/i18n/lv/reveal-components.js +0 -197
- package/dist/common/i18n/nb/reveal-components.js +0 -197
- package/dist/common/i18n/nl/reveal-components.js +0 -197
- package/dist/common/i18n/pt/reveal-components.js +0 -197
- package/dist/common/i18n/sv/reveal-components.js +0 -197
- package/dist/common/i18n/zh/reveal-components.js +0 -197
- package/dist/data-providers/cache/Image360AnnotationCache.d.ts +0 -14
- package/dist/data-providers/cache/Image360AnnotationCache.js +0 -69
- package/dist/data-providers/cache/PointCloudAnnotationCache.d.ts +0 -24
- package/dist/data-providers/cache/PointCloudAnnotationCache.js +0 -81
- package/dist/data-providers/cache/RevisionFdmNodeCache.d.ts +0 -29
- package/dist/data-providers/cache/RevisionFdmNodeCache.js +0 -177
- package/dist/data-providers/cache/requests.js +0 -40
- package/dist/data-providers/cache/typeGuards.js +0 -6
- package/dist/data-providers/network/getAssetMappedPointCloudAnnotations.d.ts +0 -11
- package/dist/data-providers/network/getAssetMappedPointCloudAnnotations.js +0 -41
- package/dist/data-providers/network/getClassicAssetMapped360Annotations.d.ts +0 -8
- package/dist/data-providers/network/getClassicAssetMapped360Annotations.js +0 -75
- package/dist/data-providers/network/searchClassicAssetsForModels.d.ts +0 -17
- package/dist/data-providers/network/searchClassicAssetsForModels.js +0 -20
- package/dist/data-providers/network/searchClassicImage360Assets.d.ts +0 -5
- package/dist/data-providers/network/searchClassicImage360Assets.js +0 -12
- package/dist/data-providers/network/searchHybridDmAssetsForModels.d.ts +0 -14
- package/dist/data-providers/network/searchHybridDmAssetsForModels.js +0 -21
- package/dist/ui/query/core-dm/pointCloudDMVolumesQuery.d.ts +0 -32
- package/dist/ui/query/core-dm/pointCloudDMVolumesQuery.js +0 -68
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/ui/query/useInstanceNames.ts"],"sourcesContent":["import type { Context } from 'react';\nimport { createContext, useContext } from 'react';\n\nimport type { PickDeep } from 'type-fest';\n\nimport type { UseDerivedPromiseResult } from '@cognite/underscore/react';\nimport { useDerivedPromise } from '@cognite/underscore/react';\n\nimport type { CdfCaches } from '../../foundation/renderTarget/CdfCaches';\nimport type { InstanceReferenceKey, InstanceReference } from '../../utilities';\nimport {\n createInstanceReferenceKey,\n isDmsInstance,\n isIdEither,\n} from '../../utilities';\nimport { useCdfCaches } from '../components/RevealCanvas/ViewerContext';\n\nexport type UseInstanceNamesDependencies = {\n useCdfCaches: () => PickDeep<\n CdfCaches,\n 'classicAssetsCache.getEntities' | 'dmsDescribableCache.getEntities'\n >;\n};\n\nexport const defaultUseInstanceNamesDependencies: UseInstanceNamesDependencies =\n {\n useCdfCaches,\n };\n\nexport const UseInstanceNamesContext: Context<UseInstanceNamesDependencies> =\n createContext(defaultUseInstanceNamesDependencies);\n\nexport function useInstanceNames(\n ids: InstanceReference[]\n): UseDerivedPromiseResult<Map<InstanceReferenceKey, string>> {\n const { useCdfCaches } = useContext(UseInstanceNamesContext);\n\n const cdfCaches = useCdfCaches();\n\n return useDerivedPromise(async () => {\n const map = new Map<InstanceReferenceKey, string>();\n\n const classicIds = ids.filter(isIdEither);\n const dmsIds = ids.filter(isDmsInstance);\n\n const classicAssetsPromise =\n cdfCaches.classicAssetsCache.getEntities(classicIds);\n\n const dmsNodesPromise = cdfCaches.dmsDescribableCache.getEntities(dmsIds);\n\n const classicAssetsMap = await classicAssetsPromise;\n const dmsNodesMap = await dmsNodesPromise;\n\n classicAssetsMap\n .values()\n .forEach((asset) =>\n map.set(createInstanceReferenceKey({ id: asset.id }), asset.name)\n );\n\n dmsNodesMap\n .entries()\n .forEach(([key, node]) =>\n map.set(\n key,\n node.properties.cdf_cdm?.['CogniteDescribable/v1']?.name ??\n node.externalId\n )\n );\n\n return map;\n }, [cdfCaches, ids]);\n}\n"],"names":["createContext","useContext","useDerivedPromise","createInstanceReferenceKey","isDmsInstance","isIdEither","useCdfCaches","defaultUseInstanceNamesDependencies","UseInstanceNamesContext","useInstanceNames","ids","cdfCaches","map","Map","classicIds","filter","dmsIds","classicAssetsPromise","classicAssetsCache","getEntities","dmsNodesPromise","dmsDescribableCache","classicAssetsMap","dmsNodesMap","values","forEach","asset","set","id","name","entries","key","node","properties","cdf_cdm","externalId"],"mappings":"AACA,SAASA,aAAa,EAAEC,UAAU,QAAQ,QAAQ;AAKlD,SAASC,iBAAiB,QAAQ,4BAA4B;AAI9D,SACEC,0BAA0B,EAC1BC,aAAa,EACbC,UAAU,QACL,2BAAkB;AACzB,SAASC,YAAY,QAAQ,8CAA2C;AASxE,OAAO,MAAMC,sCACX;IACED;AACF,EAAE;AAEJ,OAAO,MAAME,0BACXR,cAAcO,qCAAqC;AAErD,OAAO,SAASE,iBACdC,GAAwB;IAExB,MAAM,EAAEJ,YAAY,EAAE,GAAGL,WAAWO;IAEpC,MAAMG,YAAYL;IAElB,OAAOJ,kBAAkB;QACvB,MAAMU,MAAM,IAAIC;QAEhB,MAAMC,aAAaJ,IAAIK,MAAM,CAACV;QAC9B,MAAMW,SAASN,IAAIK,MAAM,CAACX;QAE1B,MAAMa,uBACJN,UAAUO,kBAAkB,CAACC,WAAW,CAACL;QAE3C,MAAMM,kBAAkBT,UAAUU,mBAAmB,CAACF,WAAW,CAACH;QAElE,MAAMM,mBAAmB,MAAML;QAC/B,MAAMM,cAAc,MAAMH;QAE1BE,iBACGE,MAAM,GACNC,OAAO,CAAC,CAACC,QACRd,IAAIe,GAAG,CAACxB,2BAA2B;gBAAEyB,IAAIF,MAAME,EAAE;YAAC,IAAIF,MAAMG,IAAI;QAGpEN,YACGO,OAAO,GACPL,OAAO,CAAC,CAAC,CAACM,KAAKC,KAAK,GACnBpB,IAAIe,GAAG,CACLI,KACAC,KAAKC,UAAU,CAACC,OAAO,EAAE,CAAC,wBAAwB,EAAEL,QAClDG,KAAKG,UAAU;QAIvB,OAAOvB;IACT,GAAG;QAACD;QAAWD;KAAI;AACrB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Context } from
|
|
2
|
-
import { PickDeep } from
|
|
3
|
-
import { CdfCaches } from
|
|
1
|
+
import type { Context } from "react";
|
|
2
|
+
import type { PickDeep } from "type-fest";
|
|
3
|
+
import type { CdfCaches } from "../../foundation/renderTarget/CdfCaches";
|
|
4
4
|
export type UseInstancesByIdsQueryDependencies = {
|
|
5
|
-
|
|
5
|
+
useCdfCaches: () => PickDeep<CdfCaches, "classicAssetsCache.getEntities" | "dmsDescribableCache.getEntities">;
|
|
6
6
|
};
|
|
7
7
|
export declare const defaultUseInstancesByIdsQueryDependencies: UseInstancesByIdsQueryDependencies;
|
|
8
8
|
export declare const UseInstancesByIdsQueryContext: Context<UseInstancesByIdsQueryDependencies>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
1
|
+
import { createContext } from "react";
|
|
2
|
+
import { useCdfCaches } from "../components/RevealCanvas/ViewerContext.js";
|
|
3
|
+
export const defaultUseInstancesByIdsQueryDependencies = {
|
|
4
|
+
useCdfCaches
|
|
5
|
+
};
|
|
6
|
+
export const UseInstancesByIdsQueryContext = createContext(defaultUseInstancesByIdsQueryDependencies);
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=useInstancesByIdsQuery.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/ui/query/useInstancesByIdsQuery.context.ts"],"sourcesContent":["import type { Context } from 'react';\nimport { createContext } from 'react';\n\nimport type { PickDeep } from 'type-fest';\n\nimport type { CdfCaches } from '../../foundation/renderTarget/CdfCaches';\nimport { useCdfCaches } from '../components/RevealCanvas/ViewerContext';\n\nexport type UseInstancesByIdsQueryDependencies = {\n useCdfCaches: () => PickDeep<\n CdfCaches,\n 'classicAssetsCache.getEntities' | 'dmsDescribableCache.getEntities'\n >;\n};\n\nexport const defaultUseInstancesByIdsQueryDependencies: UseInstancesByIdsQueryDependencies =\n {\n useCdfCaches,\n };\n\nexport const UseInstancesByIdsQueryContext: Context<UseInstancesByIdsQueryDependencies> =\n createContext<UseInstancesByIdsQueryDependencies>(\n defaultUseInstancesByIdsQueryDependencies\n );\n"],"names":["createContext","useCdfCaches","defaultUseInstancesByIdsQueryDependencies","UseInstancesByIdsQueryContext"],"mappings":"AACA,SAASA,aAAa,QAAQ,QAAQ;AAKtC,SAASC,YAAY,QAAQ,8CAA2C;AASxE,OAAO,MAAMC,4CACX;IACED;AACF,EAAE;AAEJ,OAAO,MAAME,gCACXH,cACEE,2CACA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Asset } from
|
|
2
|
-
import { DmsDescribableNode } from
|
|
3
|
-
import { InstanceReference, InstanceReferenceKey } from
|
|
1
|
+
import type { Asset } from "@cognite/sdk";
|
|
2
|
+
import type { DmsDescribableNode } from "../../data-providers/assets/createDmsDescribableNodesCache";
|
|
3
|
+
import type { InstanceReference, InstanceReferenceKey } from "../../utilities";
|
|
4
4
|
export type UseInstancesByIdsQueryResult<T> = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
data: T | undefined;
|
|
6
|
+
error: Error | undefined;
|
|
7
|
+
isLoading: boolean;
|
|
8
8
|
};
|
|
9
9
|
export declare function useInstancesByIdsQuery(instances: InstanceReference[]): UseInstancesByIdsQueryResult<Map<InstanceReferenceKey, {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
name: string;
|
|
11
|
+
asset: Asset | DmsDescribableNode;
|
|
12
12
|
}>>;
|
|
@@ -1,23 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "../../utilities/index.js";
|
|
4
|
-
import { isDefined
|
|
5
|
-
import { UseInstancesByIdsQueryContext
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { useContext } from "react";
|
|
2
|
+
import { useDerivedPromise } from "@cognite/underscore/react";
|
|
3
|
+
import { createInstanceReferenceKey, isDmsInstance, isIdEither } from "../../utilities/index.js";
|
|
4
|
+
import { isDefined } from "../../utilities/isDefined.js";
|
|
5
|
+
import { UseInstancesByIdsQueryContext } from "./useInstancesByIdsQuery.context.js";
|
|
6
|
+
export function useInstancesByIdsQuery(instances) {
|
|
7
|
+
const { useCdfCaches } = useContext(UseInstancesByIdsQueryContext);
|
|
8
|
+
const cdfCaches = useCdfCaches();
|
|
9
|
+
return useDerivedPromise(async ()=>{
|
|
10
|
+
const assetIds = instances.filter(isIdEither);
|
|
11
|
+
const dmsIds = instances.filter(isDmsInstance);
|
|
12
|
+
const assetsPromise = cdfCaches.classicAssetsCache.getEntities(assetIds);
|
|
13
|
+
const dmsInstancesPromise = cdfCaches.dmsDescribableCache.getEntities(dmsIds);
|
|
14
|
+
const allInstances = [
|
|
15
|
+
...(await assetsPromise).values().filter(isDefined).map((asset)=>({
|
|
16
|
+
name: asset.name,
|
|
17
|
+
asset
|
|
18
|
+
})),
|
|
19
|
+
...(await dmsInstancesPromise).values().map((instance)=>({
|
|
20
|
+
name: instance.properties?.cdf_cdm?.['CogniteDescribable/v1']?.name ?? instance.externalId,
|
|
21
|
+
asset: instance
|
|
22
|
+
}))
|
|
23
|
+
];
|
|
24
|
+
return new Map(allInstances.map((instance)=>[
|
|
25
|
+
createInstanceReferenceKey(instance.asset),
|
|
26
|
+
instance
|
|
27
|
+
]));
|
|
28
|
+
}, [
|
|
29
|
+
instances,
|
|
30
|
+
cdfCaches
|
|
31
|
+
]);
|
|
21
32
|
}
|
|
22
|
-
|
|
23
|
-
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=useInstancesByIdsQuery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/ui/query/useInstancesByIdsQuery.ts"],"sourcesContent":["import { useContext } from 'react';\n\nimport type { Asset } from '@cognite/sdk';\nimport { useDerivedPromise } from '@cognite/underscore/react';\n\nimport type { DmsDescribableNode } from '../../data-providers/assets/createDmsDescribableNodesCache';\nimport type { InstanceReference, InstanceReferenceKey } from '../../utilities';\nimport {\n createInstanceReferenceKey,\n isDmsInstance,\n isIdEither,\n} from '../../utilities';\nimport { isDefined } from '../../utilities/isDefined';\n\nimport { UseInstancesByIdsQueryContext } from './useInstancesByIdsQuery.context';\n\nexport type UseInstancesByIdsQueryResult<T> = {\n data: T | undefined;\n error: Error | undefined;\n isLoading: boolean;\n};\n\nexport function useInstancesByIdsQuery(\n instances: InstanceReference[]\n): UseInstancesByIdsQueryResult<\n Map<InstanceReferenceKey, { name: string; asset: Asset | DmsDescribableNode }>\n> {\n const { useCdfCaches } = useContext(UseInstancesByIdsQueryContext);\n\n const cdfCaches = useCdfCaches();\n\n return useDerivedPromise(async () => {\n const assetIds = instances.filter(isIdEither);\n const dmsIds = instances.filter(isDmsInstance);\n\n const assetsPromise = cdfCaches.classicAssetsCache.getEntities(assetIds);\n const dmsInstancesPromise =\n cdfCaches.dmsDescribableCache.getEntities(dmsIds);\n\n const allInstances = [\n ...(await assetsPromise)\n .values()\n .filter(isDefined)\n .map((asset) => ({ name: asset.name, asset })),\n ...(await dmsInstancesPromise).values().map((instance) => ({\n name:\n (\n instance.properties?.cdf_cdm as\n Record<string, { name?: string }> | undefined\n )?.['CogniteDescribable/v1']?.name ?? instance.externalId,\n asset: instance,\n })),\n ];\n\n return new Map(\n allInstances.map((instance) => [\n createInstanceReferenceKey(instance.asset),\n instance,\n ])\n );\n }, [instances, cdfCaches]);\n}\n"],"names":["useContext","useDerivedPromise","createInstanceReferenceKey","isDmsInstance","isIdEither","isDefined","UseInstancesByIdsQueryContext","useInstancesByIdsQuery","instances","useCdfCaches","cdfCaches","assetIds","filter","dmsIds","assetsPromise","classicAssetsCache","getEntities","dmsInstancesPromise","dmsDescribableCache","allInstances","values","map","asset","name","instance","properties","cdf_cdm","externalId","Map"],"mappings":"AAAA,SAASA,UAAU,QAAQ,QAAQ;AAGnC,SAASC,iBAAiB,QAAQ,4BAA4B;AAI9D,SACEC,0BAA0B,EAC1BC,aAAa,EACbC,UAAU,QACL,2BAAkB;AACzB,SAASC,SAAS,QAAQ,+BAA4B;AAEtD,SAASC,6BAA6B,QAAQ,sCAAmC;AAQjF,OAAO,SAASC,uBACdC,SAA8B;IAI9B,MAAM,EAAEC,YAAY,EAAE,GAAGT,WAAWM;IAEpC,MAAMI,YAAYD;IAElB,OAAOR,kBAAkB;QACvB,MAAMU,WAAWH,UAAUI,MAAM,CAACR;QAClC,MAAMS,SAASL,UAAUI,MAAM,CAACT;QAEhC,MAAMW,gBAAgBJ,UAAUK,kBAAkB,CAACC,WAAW,CAACL;QAC/D,MAAMM,sBACJP,UAAUQ,mBAAmB,CAACF,WAAW,CAACH;QAE5C,MAAMM,eAAe;eAChB,AAAC,CAAA,MAAML,aAAY,EACnBM,MAAM,GACNR,MAAM,CAACP,WACPgB,GAAG,CAAC,CAACC,QAAW,CAAA;oBAAEC,MAAMD,MAAMC,IAAI;oBAAED;gBAAM,CAAA;eAC1C,AAAC,CAAA,MAAML,mBAAkB,EAAGG,MAAM,GAAGC,GAAG,CAAC,CAACG,WAAc,CAAA;oBACzDD,MACE,AACEC,SAASC,UAAU,EAAEC,SAEpB,CAAC,wBAAwB,EAAEH,QAAQC,SAASG,UAAU;oBAC3DL,OAAOE;gBACT,CAAA;SACD;QAED,OAAO,IAAII,IACTT,aAAaE,GAAG,CAAC,CAACG,WAAa;gBAC7BtB,2BAA2BsB,SAASF,KAAK;gBACzCE;aACD;IAEL,GAAG;QAAChB;QAAWE;KAAU;AAC3B"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { Context } from
|
|
2
|
-
import { useFdm3dDataProvider } from
|
|
3
|
-
import { useFdmSdk, useSDK } from
|
|
4
|
-
import { getCadModelsForAsset } from
|
|
5
|
-
import { getCadModelsForHybridDmInstance } from
|
|
6
|
-
import { getImage360CollectionsForAsset } from
|
|
7
|
-
import { getImage360CollectionsForDmInstance } from
|
|
8
|
-
import { getImage360CollectionsForHybridDmInstance } from
|
|
9
|
-
import { getPointCloudModelsForAsset } from
|
|
10
|
-
import { getPointCloudModelsForAssetInstance } from
|
|
11
|
-
import { ScenesMap, Use3dScenesResult } from
|
|
12
|
-
import { useIsCoreDmOnly } from
|
|
1
|
+
import type { Context } from "react";
|
|
2
|
+
import { useFdm3dDataProvider } from "../../data-providers/cache/CacheProvider";
|
|
3
|
+
import { useFdmSdk, useSDK } from "../components/RevealCanvas/SDKProvider";
|
|
4
|
+
import { getCadModelsForAsset } from "../hooks/network/getCadModelsForAsset";
|
|
5
|
+
import { getCadModelsForHybridDmInstance } from "../hooks/network/getCadModelsForHybridDmInstance";
|
|
6
|
+
import { getImage360CollectionsForAsset } from "../hooks/network/getImage360CollectionsForAsset";
|
|
7
|
+
import { getImage360CollectionsForDmInstance } from "../hooks/network/getImage360CollectionsForDmInstance";
|
|
8
|
+
import { getImage360CollectionsForHybridDmInstance } from "../hooks/network/getImage360CollectionsForHybridDmInstance";
|
|
9
|
+
import { getPointCloudModelsForAsset } from "../hooks/network/getPointCloudModelsForAsset";
|
|
10
|
+
import { getPointCloudModelsForAssetInstance } from "../hooks/network/getPointCloudModelsForAssetInstance";
|
|
11
|
+
import { type ScenesMap, type Use3dScenesResult } from "../hooks/scenes/types";
|
|
12
|
+
import { useIsCoreDmOnly } from "../hooks/useIsCoreDmOnly";
|
|
13
13
|
export type ModelsForInstanceQueryDependencies = {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
useSDK: typeof useSDK;
|
|
15
|
+
useFdmSdk: typeof useFdmSdk;
|
|
16
|
+
useFdm3dDataProvider: typeof useFdm3dDataProvider;
|
|
17
|
+
useIsCoreDmOnly: typeof useIsCoreDmOnly;
|
|
18
|
+
use3dScenes: () => Use3dScenesResult<ScenesMap>;
|
|
19
|
+
getPointCloudModelsForAssetInstance: typeof getPointCloudModelsForAssetInstance;
|
|
20
|
+
getCadModelsForHybridDmInstance: typeof getCadModelsForHybridDmInstance;
|
|
21
|
+
getCadModelsForAsset: typeof getCadModelsForAsset;
|
|
22
|
+
getPointCloudModelsForAsset: typeof getPointCloudModelsForAsset;
|
|
23
|
+
getImage360CollectionsForAsset: typeof getImage360CollectionsForAsset;
|
|
24
|
+
getImage360CollectionsForDmInstance: typeof getImage360CollectionsForDmInstance;
|
|
25
|
+
getImage360CollectionsForHybridDmInstance: typeof getImage360CollectionsForHybridDmInstance;
|
|
26
26
|
};
|
|
27
27
|
export declare const defaultModelsForInstanceQueryDependencies: ModelsForInstanceQueryDependencies;
|
|
28
28
|
export declare const UseModelsForInstanceQueryContext: Context<ModelsForInstanceQueryDependencies>;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useFdm3dDataProvider
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
import { createContext } from "react";
|
|
2
|
+
import { useFdm3dDataProvider } from "../../data-providers/cache/CacheProvider.js";
|
|
3
|
+
import { useFdmSdk, useSDK } from "../components/RevealCanvas/SDKProvider.js";
|
|
4
|
+
import { getCadModelsForAsset } from "../hooks/network/getCadModelsForAsset.js";
|
|
5
|
+
import { getCadModelsForHybridDmInstance } from "../hooks/network/getCadModelsForHybridDmInstance.js";
|
|
6
|
+
import { getImage360CollectionsForAsset } from "../hooks/network/getImage360CollectionsForAsset.js";
|
|
7
|
+
import { getImage360CollectionsForDmInstance } from "../hooks/network/getImage360CollectionsForDmInstance.js";
|
|
8
|
+
import { getImage360CollectionsForHybridDmInstance } from "../hooks/network/getImage360CollectionsForHybridDmInstance.js";
|
|
9
|
+
import { getPointCloudModelsForAsset } from "../hooks/network/getPointCloudModelsForAsset.js";
|
|
10
|
+
import { getPointCloudModelsForAssetInstance } from "../hooks/network/getPointCloudModelsForAssetInstance.js";
|
|
11
|
+
import { use3dScenes } from "../hooks/scenes/use3dScenes.js";
|
|
12
|
+
import { useIsCoreDmOnly } from "../hooks/useIsCoreDmOnly.js";
|
|
13
|
+
export const defaultModelsForInstanceQueryDependencies = {
|
|
14
|
+
useFdmSdk,
|
|
15
|
+
useSDK,
|
|
16
|
+
useFdm3dDataProvider,
|
|
17
|
+
useIsCoreDmOnly,
|
|
18
|
+
use3dScenes: ()=>use3dScenes(),
|
|
19
|
+
getPointCloudModelsForAssetInstance,
|
|
20
|
+
getCadModelsForHybridDmInstance,
|
|
21
|
+
getCadModelsForAsset,
|
|
22
|
+
getPointCloudModelsForAsset,
|
|
23
|
+
getImage360CollectionsForAsset,
|
|
24
|
+
getImage360CollectionsForDmInstance,
|
|
25
|
+
getImage360CollectionsForHybridDmInstance
|
|
26
|
+
};
|
|
27
|
+
export const UseModelsForInstanceQueryContext = createContext(defaultModelsForInstanceQueryDependencies);
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=useModelsForInstanceQuery.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/ui/query/useModelsForInstanceQuery.context.ts"],"sourcesContent":["import type { Context } from 'react';\nimport { createContext } from 'react';\n\nimport { useFdm3dDataProvider } from '../../data-providers/cache/CacheProvider';\nimport { useFdmSdk, useSDK } from '../components/RevealCanvas/SDKProvider';\nimport { getCadModelsForAsset } from '../hooks/network/getCadModelsForAsset';\nimport { getCadModelsForHybridDmInstance } from '../hooks/network/getCadModelsForHybridDmInstance';\nimport { getImage360CollectionsForAsset } from '../hooks/network/getImage360CollectionsForAsset';\nimport { getImage360CollectionsForDmInstance } from '../hooks/network/getImage360CollectionsForDmInstance';\nimport { getImage360CollectionsForHybridDmInstance } from '../hooks/network/getImage360CollectionsForHybridDmInstance';\nimport { getPointCloudModelsForAsset } from '../hooks/network/getPointCloudModelsForAsset';\nimport { getPointCloudModelsForAssetInstance } from '../hooks/network/getPointCloudModelsForAssetInstance';\nimport { type ScenesMap, type Use3dScenesResult } from '../hooks/scenes/types';\nimport { use3dScenes } from '../hooks/scenes/use3dScenes';\nimport { useIsCoreDmOnly } from '../hooks/useIsCoreDmOnly';\n\nexport type ModelsForInstanceQueryDependencies = {\n useSDK: typeof useSDK;\n useFdmSdk: typeof useFdmSdk;\n useFdm3dDataProvider: typeof useFdm3dDataProvider;\n useIsCoreDmOnly: typeof useIsCoreDmOnly;\n use3dScenes: () => Use3dScenesResult<ScenesMap>;\n getPointCloudModelsForAssetInstance: typeof getPointCloudModelsForAssetInstance;\n getCadModelsForHybridDmInstance: typeof getCadModelsForHybridDmInstance;\n getCadModelsForAsset: typeof getCadModelsForAsset;\n getPointCloudModelsForAsset: typeof getPointCloudModelsForAsset;\n getImage360CollectionsForAsset: typeof getImage360CollectionsForAsset;\n getImage360CollectionsForDmInstance: typeof getImage360CollectionsForDmInstance;\n getImage360CollectionsForHybridDmInstance: typeof getImage360CollectionsForHybridDmInstance;\n};\n\nexport const defaultModelsForInstanceQueryDependencies: ModelsForInstanceQueryDependencies =\n {\n useFdmSdk,\n useSDK,\n useFdm3dDataProvider,\n useIsCoreDmOnly,\n use3dScenes: () => use3dScenes(),\n getPointCloudModelsForAssetInstance,\n getCadModelsForHybridDmInstance,\n getCadModelsForAsset,\n getPointCloudModelsForAsset,\n getImage360CollectionsForAsset,\n getImage360CollectionsForDmInstance,\n getImage360CollectionsForHybridDmInstance,\n };\n\nexport const UseModelsForInstanceQueryContext: Context<ModelsForInstanceQueryDependencies> =\n createContext<ModelsForInstanceQueryDependencies>(\n defaultModelsForInstanceQueryDependencies\n );\n"],"names":["createContext","useFdm3dDataProvider","useFdmSdk","useSDK","getCadModelsForAsset","getCadModelsForHybridDmInstance","getImage360CollectionsForAsset","getImage360CollectionsForDmInstance","getImage360CollectionsForHybridDmInstance","getPointCloudModelsForAsset","getPointCloudModelsForAssetInstance","use3dScenes","useIsCoreDmOnly","defaultModelsForInstanceQueryDependencies","UseModelsForInstanceQueryContext"],"mappings":"AACA,SAASA,aAAa,QAAQ,QAAQ;AAEtC,SAASC,oBAAoB,QAAQ,8CAA2C;AAChF,SAASC,SAAS,EAAEC,MAAM,QAAQ,4CAAyC;AAC3E,SAASC,oBAAoB,QAAQ,2CAAwC;AAC7E,SAASC,+BAA+B,QAAQ,sDAAmD;AACnG,SAASC,8BAA8B,QAAQ,qDAAkD;AACjG,SAASC,mCAAmC,QAAQ,0DAAuD;AAC3G,SAASC,yCAAyC,QAAQ,gEAA6D;AACvH,SAASC,2BAA2B,QAAQ,kDAA+C;AAC3F,SAASC,mCAAmC,QAAQ,0DAAuD;AAE3G,SAASC,WAAW,QAAQ,iCAA8B;AAC1D,SAASC,eAAe,QAAQ,8BAA2B;AAiB3D,OAAO,MAAMC,4CACX;IACEX;IACAC;IACAF;IACAW;IACAD,aAAa,IAAMA;IACnBD;IACAL;IACAD;IACAK;IACAH;IACAC;IACAC;AACF,EAAE;AAEJ,OAAO,MAAMM,mCACXd,cACEa,2CACA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AllResourceIdentifier } from
|
|
2
|
-
import { InstanceReference } from
|
|
1
|
+
import type { AllResourceIdentifier } from "../../data-providers/types/resources";
|
|
2
|
+
import { type InstanceReference } from "../../utilities/instanceIds";
|
|
3
3
|
export type ModelsForInstanceQueryResult = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
data: AllResourceIdentifier[] | null | undefined;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
isFetching: boolean;
|
|
7
|
+
error: Error | null;
|
|
8
8
|
};
|
|
9
9
|
export declare function useModelsForInstanceQuery(instance: InstanceReference | undefined): ModelsForInstanceQueryResult;
|
|
@@ -1,89 +1,127 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
1
|
+
import { useContext, useMemo } from "react";
|
|
2
|
+
import { useQuery } from "@tanstack/react-query";
|
|
3
|
+
import { uniqBy } from "lodash-es";
|
|
4
|
+
import { getResourceKeyFromIdentifier } from "../../data-providers/types/utils.js";
|
|
5
|
+
import { isDmsInstance, isInternalId } from "../../utilities/instanceIds/index.js";
|
|
6
|
+
import { queryKeys } from "../../utilities/queryKeys.js";
|
|
7
|
+
import { findScenesContainingResources } from "./findScenesContainingResources.js";
|
|
8
|
+
import { UseModelsForInstanceQueryContext } from "./useModelsForInstanceQuery.context.js";
|
|
9
|
+
export function useModelsForInstanceQuery(instance) {
|
|
10
|
+
const { useSDK, useFdmSdk, useFdm3dDataProvider, useIsCoreDmOnly, use3dScenes, getPointCloudModelsForAssetInstance, getCadModelsForHybridDmInstance, getCadModelsForAsset, getPointCloudModelsForAsset, getImage360CollectionsForAsset, getImage360CollectionsForDmInstance, getImage360CollectionsForHybridDmInstance } = useContext(UseModelsForInstanceQueryContext);
|
|
11
|
+
const cogniteClient = useSDK();
|
|
12
|
+
const fdm3dDataProvider = useFdm3dDataProvider();
|
|
13
|
+
const fdmSdk = useFdmSdk();
|
|
14
|
+
const isCoreDm = useIsCoreDmOnly();
|
|
15
|
+
// Get all scenes (cached query)
|
|
16
|
+
const scenesQuery = use3dScenes();
|
|
17
|
+
const modelsQuery = useQuery({
|
|
18
|
+
queryKey: queryKeys.modelsForAssetPerInstanceReference(instance),
|
|
19
|
+
queryFn: async ()=>{
|
|
20
|
+
if (instance === undefined) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
if (isInternalId(instance)) {
|
|
24
|
+
return await getModelsForAssetInstance(instance, cogniteClient, getCadModelsForAsset, getPointCloudModelsForAsset, getImage360CollectionsForAsset);
|
|
25
|
+
}
|
|
26
|
+
if (isDmsInstance(instance)) {
|
|
27
|
+
if (!isCoreDm) {
|
|
28
|
+
return await getClassicModelsForDmInstance(instance, cogniteClient, getCadModelsForHybridDmInstance, getPointCloudModelsForAsset, getImage360CollectionsForHybridDmInstance);
|
|
29
|
+
}
|
|
30
|
+
if (fdm3dDataProvider === undefined) {
|
|
31
|
+
return [];
|
|
32
|
+
}
|
|
33
|
+
return await getModelsForDmsInstance(instance, fdmSdk, fdm3dDataProvider, getPointCloudModelsForAssetInstance, getImage360CollectionsForDmInstance);
|
|
34
|
+
}
|
|
35
|
+
throw Error(`Can not fetch models for instance: ${JSON.stringify(instance)}. InternalId or DMS ID required`);
|
|
36
|
+
},
|
|
37
|
+
enabled: instance !== undefined,
|
|
38
|
+
staleTime: Infinity
|
|
39
|
+
});
|
|
40
|
+
const combinedData = useMemo(()=>{
|
|
41
|
+
if (modelsQuery.isLoading || scenesQuery.isLoading) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (modelsQuery.data === null || modelsQuery.data === undefined || scenesQuery.data === undefined) {
|
|
45
|
+
return modelsQuery.data ?? undefined;
|
|
46
|
+
}
|
|
47
|
+
return [
|
|
48
|
+
...modelsQuery.data,
|
|
49
|
+
...getScenesForModels(modelsQuery.data, scenesQuery.data)
|
|
50
|
+
];
|
|
51
|
+
}, [
|
|
52
|
+
modelsQuery.data,
|
|
53
|
+
modelsQuery.isLoading,
|
|
54
|
+
scenesQuery.data,
|
|
55
|
+
scenesQuery.isLoading
|
|
56
|
+
]);
|
|
57
|
+
return useMemo(()=>({
|
|
58
|
+
data: combinedData,
|
|
59
|
+
isLoading: modelsQuery.isLoading || scenesQuery.isLoading,
|
|
60
|
+
isFetching: modelsQuery.isFetching || scenesQuery.isFetching,
|
|
61
|
+
error: modelsQuery.error ?? scenesQuery.error ?? null
|
|
62
|
+
}), [
|
|
63
|
+
combinedData,
|
|
64
|
+
modelsQuery.isLoading,
|
|
65
|
+
modelsQuery.isFetching,
|
|
66
|
+
modelsQuery.error,
|
|
67
|
+
scenesQuery.isLoading,
|
|
68
|
+
scenesQuery.isFetching,
|
|
69
|
+
scenesQuery.error
|
|
70
|
+
]);
|
|
44
71
|
}
|
|
45
|
-
async function
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
72
|
+
async function getClassicModelsForDmInstance(instance, sdk, getCadModelsForHybridDmInstance, getPointCloudModelsForAsset, getImage360CollectionsForHybridDmInstance) {
|
|
73
|
+
const allResults = await Promise.all([
|
|
74
|
+
getCadModelsForHybridDmInstance(instance, sdk),
|
|
75
|
+
getPointCloudModelsForAsset({
|
|
76
|
+
assetId: instance,
|
|
77
|
+
sdk
|
|
78
|
+
}),
|
|
79
|
+
getImage360CollectionsForHybridDmInstance(instance, sdk)
|
|
80
|
+
]);
|
|
81
|
+
return allResults.flat();
|
|
54
82
|
}
|
|
55
|
-
async function
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
83
|
+
async function getModelsForAssetInstance(instance, sdk, getCadModelsForAsset, getPointCloudModelsForAsset, getImage360CollectionsForAsset) {
|
|
84
|
+
const cadModelsPromise = getCadModelsForAsset({
|
|
85
|
+
assetId: instance.id,
|
|
86
|
+
sdk
|
|
87
|
+
});
|
|
88
|
+
const pointCloudModelsPromise = getPointCloudModelsForAsset({
|
|
89
|
+
assetId: instance.id,
|
|
90
|
+
sdk
|
|
91
|
+
});
|
|
92
|
+
const image360CollectionsPromise = getImage360CollectionsForAsset({
|
|
93
|
+
assetId: instance.id,
|
|
94
|
+
sdk
|
|
95
|
+
});
|
|
96
|
+
const results = (await Promise.all([
|
|
97
|
+
cadModelsPromise,
|
|
98
|
+
pointCloudModelsPromise,
|
|
99
|
+
image360CollectionsPromise
|
|
100
|
+
])).flat();
|
|
101
|
+
return uniqBy(results, getResourceKeyFromIdentifier);
|
|
71
102
|
}
|
|
72
|
-
async function
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
103
|
+
async function getModelsForDmsInstance(instance, fdmSdk, fdm3dDataProvider, getPointCloudModelsForAssetInstance, getImage360CollectionsForDmInstance) {
|
|
104
|
+
const cadModelsPromise = fdm3dDataProvider.getCadModelsForInstance(instance);
|
|
105
|
+
const pointCloudModelsPromise = getPointCloudModelsForAssetInstance(instance, fdmSdk);
|
|
106
|
+
const image360ModelsPromise = getImage360CollectionsForDmInstance(instance, fdmSdk);
|
|
107
|
+
const results = (await Promise.all([
|
|
108
|
+
cadModelsPromise,
|
|
109
|
+
pointCloudModelsPromise,
|
|
110
|
+
image360ModelsPromise
|
|
111
|
+
])).flat();
|
|
112
|
+
return uniqBy(results, getResourceKeyFromIdentifier);
|
|
79
113
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
114
|
+
/**
|
|
115
|
+
* Combines models with scenes that contain those models.
|
|
116
|
+
* Finds scenes containing any of the input models and returns both.
|
|
117
|
+
*/ function getScenesForModels(models, scenesMap) {
|
|
118
|
+
const matchingScenes = findScenesContainingResources(models, scenesMap);
|
|
119
|
+
return matchingScenes.map(({ externalId, space })=>({
|
|
120
|
+
type: 'scene',
|
|
121
|
+
sourceType: 'cdm',
|
|
122
|
+
externalId,
|
|
123
|
+
space
|
|
124
|
+
}));
|
|
87
125
|
}
|
|
88
|
-
|
|
89
|
-
|
|
126
|
+
|
|
127
|
+
//# sourceMappingURL=useModelsForInstanceQuery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/ui/query/useModelsForInstanceQuery.ts"],"sourcesContent":["import { useContext, useMemo } from 'react';\n\nimport { useQuery } from '@tanstack/react-query';\nimport { uniqBy } from 'lodash-es';\n\nimport { type InternalId, type CogniteClient } from '@cognite/sdk';\n\nimport { type Fdm3dDataProvider } from '../../data-providers/Fdm3dDataProvider';\nimport {\n type FdmSDK,\n type DmsUniqueIdentifier,\n} from '../../data-providers/FdmSDK';\nimport type {\n CadResourceIdentifier,\n PointCloudResourceIdentifier,\n Image360ResourceIdentifier,\n ThreeDResourceIdentifier,\n} from '../../data-providers/types';\nimport type { AllResourceIdentifier } from '../../data-providers/types/resources';\nimport { getResourceKeyFromIdentifier } from '../../data-providers/types/utils';\nimport {\n type InstanceReference,\n isDmsInstance,\n isInternalId,\n} from '../../utilities/instanceIds';\nimport { queryKeys } from '../../utilities/queryKeys';\nimport {\n type ModelsForInstanceIdParams,\n type ModelsForClassicAssetParams,\n} from '../hooks/network/types';\nimport { type ScenesMap } from '../hooks/scenes/types';\n\nimport { findScenesContainingResources } from './findScenesContainingResources';\nimport { UseModelsForInstanceQueryContext } from './useModelsForInstanceQuery.context';\n\nexport type ModelsForInstanceQueryResult = {\n data: AllResourceIdentifier[] | null | undefined;\n isLoading: boolean;\n isFetching: boolean;\n error: Error | null;\n};\n\nexport function useModelsForInstanceQuery(\n instance: InstanceReference | undefined\n): ModelsForInstanceQueryResult {\n const {\n useSDK,\n useFdmSdk,\n useFdm3dDataProvider,\n useIsCoreDmOnly,\n use3dScenes,\n getPointCloudModelsForAssetInstance,\n getCadModelsForHybridDmInstance,\n getCadModelsForAsset,\n getPointCloudModelsForAsset,\n getImage360CollectionsForAsset,\n getImage360CollectionsForDmInstance,\n getImage360CollectionsForHybridDmInstance,\n } = useContext(UseModelsForInstanceQueryContext);\n\n const cogniteClient = useSDK();\n const fdm3dDataProvider = useFdm3dDataProvider();\n const fdmSdk = useFdmSdk();\n const isCoreDm = useIsCoreDmOnly();\n\n // Get all scenes (cached query)\n const scenesQuery = use3dScenes();\n\n const modelsQuery = useQuery({\n queryKey: queryKeys.modelsForAssetPerInstanceReference(instance),\n queryFn: async () => {\n if (instance === undefined) {\n return null;\n }\n\n if (isInternalId(instance)) {\n return await getModelsForAssetInstance(\n instance,\n cogniteClient,\n getCadModelsForAsset,\n getPointCloudModelsForAsset,\n getImage360CollectionsForAsset\n );\n }\n\n if (isDmsInstance(instance)) {\n if (!isCoreDm) {\n return await getClassicModelsForDmInstance(\n instance,\n cogniteClient,\n getCadModelsForHybridDmInstance,\n getPointCloudModelsForAsset,\n getImage360CollectionsForHybridDmInstance\n );\n }\n if (fdm3dDataProvider === undefined) {\n return [];\n }\n return await getModelsForDmsInstance(\n instance,\n fdmSdk,\n fdm3dDataProvider,\n getPointCloudModelsForAssetInstance,\n getImage360CollectionsForDmInstance\n );\n }\n\n throw Error(\n `Can not fetch models for instance: ${JSON.stringify(instance)}. InternalId or DMS ID required`\n );\n },\n enabled: instance !== undefined,\n staleTime: Infinity,\n });\n\n const combinedData = useMemo(() => {\n if (modelsQuery.isLoading || scenesQuery.isLoading) {\n return undefined;\n }\n if (\n modelsQuery.data === null ||\n modelsQuery.data === undefined ||\n scenesQuery.data === undefined\n ) {\n return modelsQuery.data ?? undefined;\n }\n return [\n ...modelsQuery.data,\n ...getScenesForModels(modelsQuery.data, scenesQuery.data),\n ];\n }, [\n modelsQuery.data,\n modelsQuery.isLoading,\n scenesQuery.data,\n scenesQuery.isLoading,\n ]);\n\n return useMemo(\n (): ModelsForInstanceQueryResult => ({\n data: combinedData,\n isLoading: modelsQuery.isLoading || scenesQuery.isLoading,\n isFetching: modelsQuery.isFetching || scenesQuery.isFetching,\n error: (modelsQuery.error ?? scenesQuery.error ?? null) as Error | null,\n }),\n [\n combinedData,\n modelsQuery.isLoading,\n modelsQuery.isFetching,\n modelsQuery.error,\n scenesQuery.isLoading,\n scenesQuery.isFetching,\n scenesQuery.error,\n ]\n );\n}\n\nasync function getClassicModelsForDmInstance(\n instance: DmsUniqueIdentifier,\n sdk: CogniteClient,\n getCadModelsForHybridDmInstance: (\n instance: DmsUniqueIdentifier,\n sdk: CogniteClient\n ) => Promise<CadResourceIdentifier[]>,\n getPointCloudModelsForAsset: ({\n assetId,\n sdk,\n }: ModelsForInstanceIdParams) => Promise<PointCloudResourceIdentifier[]>,\n getImage360CollectionsForHybridDmInstance: (\n instance: DmsUniqueIdentifier,\n sdk: CogniteClient\n ) => Promise<Image360ResourceIdentifier[]>\n): Promise<ThreeDResourceIdentifier[]> {\n const allResults = await Promise.all([\n getCadModelsForHybridDmInstance(instance, sdk),\n getPointCloudModelsForAsset({ assetId: instance, sdk }),\n getImage360CollectionsForHybridDmInstance(instance, sdk),\n ]);\n return allResults.flat();\n}\n\nasync function getModelsForAssetInstance(\n instance: InternalId,\n sdk: CogniteClient,\n getCadModelsForAsset: ({\n assetId,\n sdk,\n }: ModelsForClassicAssetParams) => Promise<ThreeDResourceIdentifier[]>,\n getPointCloudModelsForAsset: ({\n assetId,\n sdk,\n }: ModelsForInstanceIdParams) => Promise<ThreeDResourceIdentifier[]>,\n getImage360CollectionsForAsset: ({\n assetId,\n sdk,\n }: ModelsForClassicAssetParams) => Promise<ThreeDResourceIdentifier[]>\n): Promise<ThreeDResourceIdentifier[]> {\n const cadModelsPromise = getCadModelsForAsset({ assetId: instance.id, sdk });\n const pointCloudModelsPromise = getPointCloudModelsForAsset({\n assetId: instance.id,\n sdk,\n });\n const image360CollectionsPromise = getImage360CollectionsForAsset({\n assetId: instance.id,\n sdk,\n });\n\n const results = (\n await Promise.all([\n cadModelsPromise,\n pointCloudModelsPromise,\n image360CollectionsPromise,\n ])\n ).flat();\n\n return uniqBy(results, getResourceKeyFromIdentifier);\n}\n\nasync function getModelsForDmsInstance(\n instance: DmsUniqueIdentifier,\n fdmSdk: FdmSDK,\n fdm3dDataProvider: Fdm3dDataProvider,\n getPointCloudModelsForAssetInstance: (\n instance: DmsUniqueIdentifier,\n sdk: FdmSDK\n ) => Promise<ThreeDResourceIdentifier[]>,\n getImage360CollectionsForDmInstance: (\n instance: DmsUniqueIdentifier,\n sdk: FdmSDK\n ) => Promise<ThreeDResourceIdentifier[]>\n): Promise<ThreeDResourceIdentifier[]> {\n const cadModelsPromise = fdm3dDataProvider.getCadModelsForInstance(instance);\n const pointCloudModelsPromise = getPointCloudModelsForAssetInstance(\n instance,\n fdmSdk\n );\n\n const image360ModelsPromise = getImage360CollectionsForDmInstance(\n instance,\n fdmSdk\n );\n\n const results = (\n await Promise.all([\n cadModelsPromise,\n pointCloudModelsPromise,\n image360ModelsPromise,\n ])\n ).flat();\n\n return uniqBy(results, getResourceKeyFromIdentifier);\n}\n\n/**\n * Combines models with scenes that contain those models.\n * Finds scenes containing any of the input models and returns both.\n */\nfunction getScenesForModels(\n models: ThreeDResourceIdentifier[],\n scenesMap: ScenesMap\n): AllResourceIdentifier[] {\n const matchingScenes = findScenesContainingResources(models, scenesMap);\n\n return matchingScenes.map(({ externalId, space }) => ({\n type: 'scene',\n sourceType: 'cdm',\n externalId,\n space,\n }));\n}\n"],"names":["useContext","useMemo","useQuery","uniqBy","getResourceKeyFromIdentifier","isDmsInstance","isInternalId","queryKeys","findScenesContainingResources","UseModelsForInstanceQueryContext","useModelsForInstanceQuery","instance","useSDK","useFdmSdk","useFdm3dDataProvider","useIsCoreDmOnly","use3dScenes","getPointCloudModelsForAssetInstance","getCadModelsForHybridDmInstance","getCadModelsForAsset","getPointCloudModelsForAsset","getImage360CollectionsForAsset","getImage360CollectionsForDmInstance","getImage360CollectionsForHybridDmInstance","cogniteClient","fdm3dDataProvider","fdmSdk","isCoreDm","scenesQuery","modelsQuery","queryKey","modelsForAssetPerInstanceReference","queryFn","undefined","getModelsForAssetInstance","getClassicModelsForDmInstance","getModelsForDmsInstance","Error","JSON","stringify","enabled","staleTime","Infinity","combinedData","isLoading","data","getScenesForModels","isFetching","error","sdk","allResults","Promise","all","assetId","flat","cadModelsPromise","id","pointCloudModelsPromise","image360CollectionsPromise","results","getCadModelsForInstance","image360ModelsPromise","models","scenesMap","matchingScenes","map","externalId","space","type","sourceType"],"mappings":"AAAA,SAASA,UAAU,EAAEC,OAAO,QAAQ,QAAQ;AAE5C,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,MAAM,QAAQ,YAAY;AAgBnC,SAASC,4BAA4B,QAAQ,sCAAmC;AAChF,SAEEC,aAAa,EACbC,YAAY,QACP,uCAA8B;AACrC,SAASC,SAAS,QAAQ,+BAA4B;AAOtD,SAASC,6BAA6B,QAAQ,qCAAkC;AAChF,SAASC,gCAAgC,QAAQ,yCAAsC;AASvF,OAAO,SAASC,0BACdC,QAAuC;IAEvC,MAAM,EACJC,MAAM,EACNC,SAAS,EACTC,oBAAoB,EACpBC,eAAe,EACfC,WAAW,EACXC,mCAAmC,EACnCC,+BAA+B,EAC/BC,oBAAoB,EACpBC,2BAA2B,EAC3BC,8BAA8B,EAC9BC,mCAAmC,EACnCC,yCAAyC,EAC1C,GAAGvB,WAAWS;IAEf,MAAMe,gBAAgBZ;IACtB,MAAMa,oBAAoBX;IAC1B,MAAMY,SAASb;IACf,MAAMc,WAAWZ;IAEjB,gCAAgC;IAChC,MAAMa,cAAcZ;IAEpB,MAAMa,cAAc3B,SAAS;QAC3B4B,UAAUvB,UAAUwB,kCAAkC,CAACpB;QACvDqB,SAAS;YACP,IAAIrB,aAAasB,WAAW;gBAC1B,OAAO;YACT;YAEA,IAAI3B,aAAaK,WAAW;gBAC1B,OAAO,MAAMuB,0BACXvB,UACAa,eACAL,sBACAC,6BACAC;YAEJ;YAEA,IAAIhB,cAAcM,WAAW;gBAC3B,IAAI,CAACgB,UAAU;oBACb,OAAO,MAAMQ,8BACXxB,UACAa,eACAN,iCACAE,6BACAG;gBAEJ;gBACA,IAAIE,sBAAsBQ,WAAW;oBACnC,OAAO,EAAE;gBACX;gBACA,OAAO,MAAMG,wBACXzB,UACAe,QACAD,mBACAR,qCACAK;YAEJ;YAEA,MAAMe,MACJ,CAAC,mCAAmC,EAAEC,KAAKC,SAAS,CAAC5B,UAAU,+BAA+B,CAAC;QAEnG;QACA6B,SAAS7B,aAAasB;QACtBQ,WAAWC;IACb;IAEA,MAAMC,eAAe1C,QAAQ;QAC3B,IAAI4B,YAAYe,SAAS,IAAIhB,YAAYgB,SAAS,EAAE;YAClD,OAAOX;QACT;QACA,IACEJ,YAAYgB,IAAI,KAAK,QACrBhB,YAAYgB,IAAI,KAAKZ,aACrBL,YAAYiB,IAAI,KAAKZ,WACrB;YACA,OAAOJ,YAAYgB,IAAI,IAAIZ;QAC7B;QACA,OAAO;eACFJ,YAAYgB,IAAI;eAChBC,mBAAmBjB,YAAYgB,IAAI,EAAEjB,YAAYiB,IAAI;SACzD;IACH,GAAG;QACDhB,YAAYgB,IAAI;QAChBhB,YAAYe,SAAS;QACrBhB,YAAYiB,IAAI;QAChBjB,YAAYgB,SAAS;KACtB;IAED,OAAO3C,QACL,IAAqC,CAAA;YACnC4C,MAAMF;YACNC,WAAWf,YAAYe,SAAS,IAAIhB,YAAYgB,SAAS;YACzDG,YAAYlB,YAAYkB,UAAU,IAAInB,YAAYmB,UAAU;YAC5DC,OAAQnB,YAAYmB,KAAK,IAAIpB,YAAYoB,KAAK,IAAI;QACpD,CAAA,GACA;QACEL;QACAd,YAAYe,SAAS;QACrBf,YAAYkB,UAAU;QACtBlB,YAAYmB,KAAK;QACjBpB,YAAYgB,SAAS;QACrBhB,YAAYmB,UAAU;QACtBnB,YAAYoB,KAAK;KAClB;AAEL;AAEA,eAAeb,8BACbxB,QAA6B,EAC7BsC,GAAkB,EAClB/B,+BAGqC,EACrCE,2BAGwE,EACxEG,yCAG0C;IAE1C,MAAM2B,aAAa,MAAMC,QAAQC,GAAG,CAAC;QACnClC,gCAAgCP,UAAUsC;QAC1C7B,4BAA4B;YAAEiC,SAAS1C;YAAUsC;QAAI;QACrD1B,0CAA0CZ,UAAUsC;KACrD;IACD,OAAOC,WAAWI,IAAI;AACxB;AAEA,eAAepB,0BACbvB,QAAoB,EACpBsC,GAAkB,EAClB9B,oBAGsE,EACtEC,2BAGoE,EACpEC,8BAGsE;IAEtE,MAAMkC,mBAAmBpC,qBAAqB;QAAEkC,SAAS1C,SAAS6C,EAAE;QAAEP;IAAI;IAC1E,MAAMQ,0BAA0BrC,4BAA4B;QAC1DiC,SAAS1C,SAAS6C,EAAE;QACpBP;IACF;IACA,MAAMS,6BAA6BrC,+BAA+B;QAChEgC,SAAS1C,SAAS6C,EAAE;QACpBP;IACF;IAEA,MAAMU,UAAU,AACd,CAAA,MAAMR,QAAQC,GAAG,CAAC;QAChBG;QACAE;QACAC;KACD,CAAA,EACDJ,IAAI;IAEN,OAAOnD,OAAOwD,SAASvD;AACzB;AAEA,eAAegC,wBACbzB,QAA6B,EAC7Be,MAAc,EACdD,iBAAoC,EACpCR,mCAGwC,EACxCK,mCAGwC;IAExC,MAAMiC,mBAAmB9B,kBAAkBmC,uBAAuB,CAACjD;IACnE,MAAM8C,0BAA0BxC,oCAC9BN,UACAe;IAGF,MAAMmC,wBAAwBvC,oCAC5BX,UACAe;IAGF,MAAMiC,UAAU,AACd,CAAA,MAAMR,QAAQC,GAAG,CAAC;QAChBG;QACAE;QACAI;KACD,CAAA,EACDP,IAAI;IAEN,OAAOnD,OAAOwD,SAASvD;AACzB;AAEA;;;CAGC,GACD,SAAS0C,mBACPgB,MAAkC,EAClCC,SAAoB;IAEpB,MAAMC,iBAAiBxD,8BAA8BsD,QAAQC;IAE7D,OAAOC,eAAeC,GAAG,CAAC,CAAC,EAAEC,UAAU,EAAEC,KAAK,EAAE,GAAM,CAAA;YACpDC,MAAM;YACNC,YAAY;YACZH;YACAC;QACF,CAAA;AACF"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Context } from
|
|
2
|
-
import { UseQueryResult } from
|
|
3
|
-
import { PickDeep } from
|
|
4
|
-
import { DmsDescribableNode } from
|
|
5
|
-
import { DmsUniqueIdentifier } from
|
|
6
|
-
import { CdfCaches } from
|
|
1
|
+
import type { Context } from "react";
|
|
2
|
+
import { type UseQueryResult } from "@tanstack/react-query";
|
|
3
|
+
import type { PickDeep } from "type-fest";
|
|
4
|
+
import type { DmsDescribableNode } from "../../data-providers/assets/createDmsDescribableNodesCache";
|
|
5
|
+
import { type DmsUniqueIdentifier } from "../../data-providers/FdmSDK";
|
|
6
|
+
import type { CdfCaches } from "../../foundation/renderTarget/CdfCaches";
|
|
7
7
|
export type UseNamedDmInstancesByIdsDependencies = {
|
|
8
|
-
|
|
8
|
+
useCdfCaches: () => PickDeep<CdfCaches, "dmsDescribableCache.getEntities">;
|
|
9
9
|
};
|
|
10
10
|
export declare const defaultUseNamedDmInstancesByIdsDependencies: UseNamedDmInstancesByIdsDependencies;
|
|
11
11
|
export declare const UseNamedDmInstancesByIdsContext: Context<UseNamedDmInstancesByIdsDependencies>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createContext, useContext } from "react";
|
|
2
|
+
import { useQuery } from "@tanstack/react-query";
|
|
3
|
+
import { queryKeys } from "../../utilities/queryKeys.js";
|
|
4
|
+
import { useCdfCaches } from "../components/RevealCanvas/ViewerContext.js";
|
|
5
|
+
export const defaultUseNamedDmInstancesByIdsDependencies = {
|
|
6
|
+
useCdfCaches
|
|
7
|
+
};
|
|
8
|
+
export const UseNamedDmInstancesByIdsContext = createContext(defaultUseNamedDmInstancesByIdsDependencies);
|
|
9
|
+
export const useNamedDmInstancesByIds = (ids)=>{
|
|
10
|
+
const { useCdfCaches } = useContext(UseNamedDmInstancesByIdsContext);
|
|
11
|
+
const cdfCaches = useCdfCaches();
|
|
12
|
+
return useQuery({
|
|
13
|
+
queryKey: queryKeys.dmNodesById(ids),
|
|
14
|
+
queryFn: async ()=>{
|
|
15
|
+
return await cdfCaches.dmsDescribableCache.getEntities(ids);
|
|
16
|
+
},
|
|
17
|
+
enabled: ids.length > 0
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=useNamedDmInstancesByIds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/ui/query/useNamedDmInstancesByIds.ts"],"sourcesContent":["import type { Context } from 'react';\nimport { createContext, useContext } from 'react';\n\nimport { useQuery, type UseQueryResult } from '@tanstack/react-query';\nimport type { PickDeep } from 'type-fest';\n\nimport type { DmsDescribableNode } from '../../data-providers/assets/createDmsDescribableNodesCache';\nimport { type DmsUniqueIdentifier } from '../../data-providers/FdmSDK';\nimport type { CdfCaches } from '../../foundation/renderTarget/CdfCaches';\nimport { queryKeys } from '../../utilities/queryKeys';\nimport { useCdfCaches } from '../components/RevealCanvas/ViewerContext';\n\nexport type UseNamedDmInstancesByIdsDependencies = {\n useCdfCaches: () => PickDeep<CdfCaches, 'dmsDescribableCache.getEntities'>;\n};\n\nexport const defaultUseNamedDmInstancesByIdsDependencies: UseNamedDmInstancesByIdsDependencies =\n {\n useCdfCaches,\n };\n\nexport const UseNamedDmInstancesByIdsContext: Context<UseNamedDmInstancesByIdsDependencies> =\n createContext(defaultUseNamedDmInstancesByIdsDependencies);\n\nexport const useNamedDmInstancesByIds = (\n ids: DmsUniqueIdentifier[]\n): Pick<\n UseQueryResult<Array<DmsDescribableNode | undefined>>,\n 'data' | 'isLoading' | 'isError' | 'isFetching'\n> => {\n const { useCdfCaches } = useContext(UseNamedDmInstancesByIdsContext);\n const cdfCaches = useCdfCaches();\n return useQuery({\n queryKey: queryKeys.dmNodesById(ids),\n queryFn: async () => {\n return await cdfCaches.dmsDescribableCache.getEntities(ids);\n },\n enabled: ids.length > 0,\n });\n};\n"],"names":["createContext","useContext","useQuery","queryKeys","useCdfCaches","defaultUseNamedDmInstancesByIdsDependencies","UseNamedDmInstancesByIdsContext","useNamedDmInstancesByIds","ids","cdfCaches","queryKey","dmNodesById","queryFn","dmsDescribableCache","getEntities","enabled","length"],"mappings":"AACA,SAASA,aAAa,EAAEC,UAAU,QAAQ,QAAQ;AAElD,SAASC,QAAQ,QAA6B,wBAAwB;AAMtE,SAASC,SAAS,QAAQ,+BAA4B;AACtD,SAASC,YAAY,QAAQ,8CAA2C;AAMxE,OAAO,MAAMC,8CACX;IACED;AACF,EAAE;AAEJ,OAAO,MAAME,kCACXN,cAAcK,6CAA6C;AAE7D,OAAO,MAAME,2BAA2B,CACtCC;IAKA,MAAM,EAAEJ,YAAY,EAAE,GAAGH,WAAWK;IACpC,MAAMG,YAAYL;IAClB,OAAOF,SAAS;QACdQ,UAAUP,UAAUQ,WAAW,CAACH;QAChCI,SAAS;YACP,OAAO,MAAMH,UAAUI,mBAAmB,CAACC,WAAW,CAACN;QACzD;QACAO,SAASP,IAAIQ,MAAM,GAAG;IACxB;AACF,EAAE"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Context } from
|
|
2
|
-
import { useFdmSdk } from
|
|
3
|
-
import { use3dModels } from
|
|
1
|
+
import type { Context } from "react";
|
|
2
|
+
import { useFdmSdk } from "../components/RevealCanvas/SDKProvider";
|
|
3
|
+
import { use3dModels } from "../hooks/use3dModels";
|
|
4
4
|
export type UsePointCloudModelRevisionIdsFromRevealDependencies = {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
use3dModels: typeof use3dModels;
|
|
6
|
+
useFdmSdk: typeof useFdmSdk;
|
|
7
7
|
};
|
|
8
8
|
export declare const defaultUsePointCloudModelRevisionIdsFromRevealDependencies: UsePointCloudModelRevisionIdsFromRevealDependencies;
|
|
9
9
|
export declare const UsePointCloudModelRevisionIdsFromRevealContext: Context<UsePointCloudModelRevisionIdsFromRevealDependencies>;
|