@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/domains/primitives/box/BoxView.ts"],"sourcesContent":["import {\n Mesh,\n MeshPhongMaterial,\n type Object3D,\n DoubleSide,\n LineSegments,\n LineBasicMaterial,\n Vector3,\n type Matrix4,\n RingGeometry,\n Color,\n type Sprite,\n type Camera,\n CircleGeometry,\n type Material,\n FrontSide,\n type PerspectiveCamera,\n Vector2,\n} from 'three';\nimport { LineMaterial } from 'three/examples/jsm/lines/LineMaterial.js';\nimport { Wireframe } from 'three/examples/jsm/lines/Wireframe.js';\n\nimport {\n CDF_TO_VIEWER_TRANSFORMATION,\n type CustomObjectIntersectInput,\n type CustomObjectIntersection,\n Vector3Pool,\n} from '@cognite/reveal';\n\nimport { type DomainObject } from '../../../foundation/domainObjects/DomainObject';\nimport { Changes } from '../../../foundation/domainObjectsHelpers/Changes';\nimport { type DomainObjectChange } from '../../../foundation/domainObjectsHelpers/DomainObjectChange';\nimport { type DomainObjectIntersection } from '../../../foundation/domainObjectsHelpers/DomainObjectIntersection';\nimport { FocusType } from '../../../foundation/domainObjectsHelpers/FocusType';\nimport { Quantity } from '../../../foundation/domainObjectsHelpers/Quantity';\nimport { convertFromViewerCoordinates } from '../../../foundation/renderTarget/convertCoordinates';\nimport { clear } from '../../../foundation/utilities/extensions/arrayUtils';\nimport { Range1 } from '../../../foundation/utilities/geometry/Range1';\nimport { updatePolygonOffset } from '../../../foundation/utilities/misc/defaultPolygonOffset';\nimport { Box } from '../../../foundation/utilities/primitives/Box';\nimport { BoxUtils } from '../../../foundation/utilities/primitives/BoxUtils';\nimport { PrimitiveType } from '../../../foundation/utilities/primitives/PrimitiveType';\nimport { createSpriteWithText } from '../../../foundation/utilities/sprites/createSprite';\nimport { GroupThreeView } from '../../../foundation/views/GroupThreeView';\nimport { BoxFace } from '../common/BoxFace';\nimport { PrimitivePickInfo } from '../common/PrimitivePickInfo';\nimport { type PrimitiveRenderStyle } from '../common/PrimitiveRenderStyle';\nimport { type SolidPrimitiveRenderStyle } from '../common/SolidPrimitiveRenderStyle';\n\nimport { type BoxDomainObject } from './BoxDomainObject';\n\nconst RELATIVE_ROTATION_RADIUS = new Range1(0.6, 0.75);\nconst RELATIVE_CORNER_DISTANCE = 0.2;\nconst RELATIVE_RESIZE_RADIUS_FOR_POINT = 0.5;\nconst RELATIVE_RESIZE_RADIUS_BOX = 0.15;\n\nconst ARROW_AND_RING_COLOR = new Color(1, 1, 1);\nconst TOP_FACE = new BoxFace(2);\nconst CIRCULAR_SEGMENTS = 32;\nconst RENDER_ORDER = 100;\n\nexport class BoxView extends GroupThreeView<BoxDomainObject> {\n // ==================================================\n // INSTANCE FIELDS\n // ==================================================\n\n private readonly _sprites: Array<Sprite | undefined> = [];\n private readonly _visibleFaces: boolean[] = new Array(6); // Just for avoiding allocation\n\n // ==================================================\n // INSTANCE PROPERTIES\n // ==================================================\n\n protected override get style(): SolidPrimitiveRenderStyle {\n return super.style as SolidPrimitiveRenderStyle;\n }\n\n // ==================================================\n // OVERRIDES of BaseView\n // ==================================================\n\n public override update(change: DomainObjectChange): void {\n super.update(change);\n if (\n change.isChanged(\n Changes.selected,\n Changes.focus,\n Changes.renderStyle,\n Changes.color,\n Changes.unit\n )\n ) {\n this.removeChildren();\n this.invalidateBoundingBox();\n this.invalidateRenderTarget();\n }\n }\n\n // ==================================================\n // OVERRIDES of ThreeView\n // ==================================================\n\n public override beforeRender(camera: PerspectiveCamera): void {\n super.beforeRender(camera);\n if (this.isEmpty) {\n return;\n }\n this.updateLabels(camera);\n }\n\n // ==================================================\n // OVERRIDES of GroupThreeView\n // ==================================================\n\n // TODO(BND3D-6342): Need to rename useDepthTest to hasDepthTest in Reveal\n // eslint-disable-next-line @eslint-react/hooks-extra/no-unnecessary-use-prefix -- this in an implementation detail of an interface in Reveal, it requires an update to Reveal first\n public override get useDepthTest(): boolean {\n const { domainObject } = this;\n if (\n domainObject.focusType === FocusType.Pending ||\n domainObject.isSelected\n ) {\n return false;\n }\n return this.style.depthTest;\n }\n\n protected override addChildren(): void {\n const { domainObject, style } = this;\n const matrix = this.getMatrix();\n\n const { focusType } = domainObject;\n if (style.showSolid) {\n this.addChild(this.createSolid(matrix));\n }\n if (style.showLines) {\n if (style.getLineWidth(domainObject.isSelected) === 1) {\n this.addChild(this.createLines(matrix));\n } else {\n this.addChild(this.createWireframe(matrix));\n }\n }\n if (showMarkers(focusType)) {\n const rotationMatrix = this.getRotationMatrix();\n this.addRotationRing(matrix, rotationMatrix);\n this.addEdgeCircles(matrix, rotationMatrix);\n }\n if (style.showLabel) {\n this.addLabels(matrix);\n } else if (focusType === FocusType.Rotation) {\n const face = domainObject.focusFace;\n if (face !== undefined) {\n const spriteHeight = this.getTextHeight(this.style.relativeTextSize);\n this.addChild(this.createRotationLabel(matrix, spriteHeight, face));\n }\n }\n }\n\n public override intersectIfCloser(\n intersectInput: CustomObjectIntersectInput,\n closestDistance: number | undefined\n ): undefined | CustomObjectIntersection {\n const { domainObject } = this;\n if (domainObject.focusType === FocusType.Pending) {\n return undefined; // Should never be picked\n }\n const matrix = this.getMatrix();\n const orientedBox = BoxUtils.createOrientedBox(matrix);\n\n const ray = intersectInput.raycaster.ray;\n const point = orientedBox.intersectRay(ray, newVector3());\n if (point === null) {\n return undefined;\n }\n const distanceToCamera = point.distanceTo(ray.origin);\n if (closestDistance !== undefined && closestDistance < distanceToCamera) {\n return undefined;\n }\n if (\n domainObject.hasClippingInIntersection &&\n !intersectInput.isVisible(point)\n ) {\n return undefined;\n }\n const positionAtFace = newVector3(point).applyMatrix4(matrix.invert());\n const boxFace = new BoxFace().fromPositionAtFace(positionAtFace);\n if (!this.isFaceVisible(boxFace)) {\n return undefined;\n }\n const cornerSign = new Vector3();\n const cdfPosition = convertFromViewerCoordinates(point);\n const focusType = this.getPickedFocusType(cdfPosition, boxFace, cornerSign);\n const customObjectIntersection: DomainObjectIntersection = {\n type: 'customObject',\n point,\n distanceToCamera,\n userData: new PrimitivePickInfo(boxFace, focusType, cornerSign),\n customObject: this,\n domainObject,\n };\n if (this.shouldPickBoundingBox) {\n customObjectIntersection.boundingBox = this.boundingBox;\n }\n return customObjectIntersection;\n }\n\n // ==================================================\n // INSTANCE METHODS: Getters\n // ==================================================\n\n private getTextHeight(relativeTextSize: number): number {\n return relativeTextSize * this.domainObject.box.diagonal;\n }\n\n private getFaceRadius(face: BoxFace): number {\n const { size } = this.domainObject.box;\n const size1 = size.getComponent(face.tangentIndex1);\n const size2 = size.getComponent(face.tangentIndex2);\n return (size1 + size2) / 4;\n }\n\n private getMatrix(): Matrix4 {\n const { domainObject } = this;\n const matrix = domainObject.box.getMatrix();\n matrix.premultiply(CDF_TO_VIEWER_TRANSFORMATION);\n return matrix;\n }\n\n private getRotationMatrix(): Matrix4 {\n const { domainObject } = this;\n const matrix = domainObject.box.getRotationMatrix();\n matrix.premultiply(CDF_TO_VIEWER_TRANSFORMATION);\n return matrix;\n }\n\n // ==================================================\n // INSTANCE METHODS: Create Object3D's\n // ==================================================\n\n private createSolid(matrix: Matrix4): Object3D | undefined {\n const { domainObject, style } = this;\n const material = new MeshPhongMaterial();\n updateSolidMaterial(material, domainObject, style);\n const geometry = BoxUtils.createUnitGeometry();\n const mesh = new Mesh(geometry, material);\n mesh.renderOrder = RENDER_ORDER;\n mesh.applyMatrix4(matrix);\n return mesh;\n }\n\n private createLines(matrix: Matrix4): Object3D | undefined {\n const { domainObject, style } = this;\n const material = new LineBasicMaterial();\n updateLineSegmentsMaterial(\n material,\n domainObject,\n style,\n this.useDepthTest\n );\n const geometry = BoxUtils.createLineSegmentsBufferGeometry();\n const result = new LineSegments(geometry, material);\n result.renderOrder = RENDER_ORDER;\n result.applyMatrix4(matrix);\n return result;\n }\n\n private createWireframe(matrix: Matrix4): Object3D | undefined {\n const { domainObject, style } = this;\n const material = new LineMaterial();\n updateWireframeMaterial(material, domainObject, style, this.useDepthTest);\n const geometry = BoxUtils.createLineSegmentsGeometry();\n const result = new Wireframe(geometry, material);\n result.renderOrder = RENDER_ORDER;\n result.applyMatrix4(matrix);\n return result;\n }\n\n private createRotationLabel(\n matrix: Matrix4,\n spriteHeight: number,\n face: BoxFace\n ): Sprite | undefined {\n if (!this.isFaceVisible(face)) {\n return undefined;\n }\n const { domainObject } = this;\n if (!domainObject.canRotateComponent(face.index)) {\n return undefined;\n }\n const degrees = domainObject.box.getRotationInDegrees(face.index);\n if (degrees === 0) {\n return undefined; // Not show when about 0\n }\n const text = this.getUnitSystem().toStringWithUnit(degrees, Quantity.Angle);\n const sprite = createSprite(text, this.style, spriteHeight);\n const faceCenter = face.getCenter(newVector3());\n faceCenter.applyMatrix4(matrix);\n adjustLabel(faceCenter, domainObject, spriteHeight);\n sprite.position.copy(faceCenter);\n return sprite;\n }\n\n private createPendingLabel(\n matrix: Matrix4,\n spriteHeight: number,\n face: BoxFace\n ): Sprite | undefined {\n if (!this.isFaceVisible(face)) {\n return undefined;\n }\n const sprite = createSprite('Pending', this.style, spriteHeight);\n const faceCenter = face.getCenter(newVector3());\n faceCenter.applyMatrix4(matrix);\n adjustLabel(faceCenter, this.domainObject, spriteHeight);\n sprite.position.copy(faceCenter);\n return sprite;\n }\n\n private createRotationRing(\n matrix: Matrix4,\n rotationMatrix: Matrix4,\n material: Material,\n face: BoxFace\n ): Mesh | undefined {\n const radius = this.getFaceRadius(face);\n\n const outerRadius = RELATIVE_ROTATION_RADIUS.max * radius;\n const innerRadius = RELATIVE_ROTATION_RADIUS.min * radius;\n const geometry = new RingGeometry(\n innerRadius,\n outerRadius,\n CIRCULAR_SEGMENTS\n );\n\n const result = new Mesh(geometry, material);\n result.renderOrder = RENDER_ORDER;\n\n const center = face.getCenter(newVector3());\n center.applyMatrix4(matrix);\n result.position.copy(center);\n\n rotateEdgeCircle(result, face, rotationMatrix);\n return result;\n }\n\n private createEdgeCircle(\n matrix: Matrix4,\n rotationMatrix: Matrix4,\n material: Material,\n face: BoxFace\n ): Mesh | undefined {\n const { domainObject } = this;\n const adjacentSize1 = domainObject.box.size.getComponent(\n face.tangentIndex1\n );\n if (!Box.isValidSize(adjacentSize1)) {\n return undefined;\n }\n const adjacentSize2 = domainObject.box.size.getComponent(\n face.tangentIndex2\n );\n if (!Box.isValidSize(adjacentSize2)) {\n return undefined;\n }\n const radius =\n getRelativeResizeRadius(domainObject) * this.getFaceRadius(face);\n const geometry = new CircleGeometry(radius, CIRCULAR_SEGMENTS);\n material.transparent = true;\n material.depthWrite = false;\n const result = new Mesh(geometry, material);\n result.renderOrder = RENDER_ORDER;\n\n const center = face.getCenter(newVector3());\n center.applyMatrix4(matrix);\n result.position.copy(center);\n\n rotateEdgeCircle(result, face, rotationMatrix);\n return result;\n }\n\n // ==================================================\n // INSTANCE METHODS: Add Object3D's\n // ==================================================\n\n private addLabels(matrix: Matrix4): void {\n const { domainObject, style } = this;\n const spriteHeight = this.getTextHeight(style.relativeTextSize);\n clear(this._sprites);\n\n const unitSystem = this.getUnitSystem();\n for (let index = 0; index < 3; index++) {\n const size = domainObject.box.size.getComponent(index);\n if (!Box.isValidSize(size)) {\n this._sprites.push(undefined);\n continue;\n }\n const text = unitSystem.toStringWithUnit(size, Quantity.Length);\n const sprite = createSprite(text, style, spriteHeight);\n this._sprites.push(sprite);\n this.addChild(sprite);\n }\n const { focusType } = domainObject;\n if (focusType === FocusType.Pending && domainObject.box.hasArea) {\n this.addChild(this.createPendingLabel(matrix, spriteHeight, TOP_FACE));\n } else if (showRotationLabel(focusType)) {\n this.addChild(this.createRotationLabel(matrix, spriteHeight, TOP_FACE));\n }\n }\n\n private updateLabels(camera: Camera): void {\n const { domainObject, style } = this;\n const matrix = this.getMatrix();\n\n const rotationMatrix = this.getRotationMatrix();\n const centerOfBox = newVector3(domainObject.box.center);\n centerOfBox.applyMatrix4(CDF_TO_VIEWER_TRANSFORMATION);\n const cameraPosition = camera.getWorldPosition(newVector3());\n const cameraDirection = centerOfBox.sub(cameraPosition).normalize();\n\n // Calculate which face of the box are visible\n const boxFace = new BoxFace(); // Due to reuse in both loops\n const visibleFaces = this._visibleFaces;\n for (const face of BoxFace.getAllFaces(boxFace)) {\n const normal = boxFace.getNormal(newVector3());\n normal.applyMatrix4(rotationMatrix);\n visibleFaces[face.face] = normal.dot(cameraDirection) < 0;\n }\n const spriteHeight = this.getTextHeight(style.relativeTextSize);\n\n // If the 2 adjacent faces are visible, show the sprite along the edge\n for (let index = 0; index < this._sprites.length; index++) {\n const sprite = this._sprites[index];\n if (sprite === undefined) {\n continue;\n }\n sprite.visible = false;\n for (let i = 0; i < 2; i++) {\n const face1 = (index + (i === 0 ? 1 : 4)) % 6;\n if (!visibleFaces[face1]) {\n continue;\n }\n boxFace.face = face1;\n const showFace1 = this.isFaceVisible(boxFace);\n const faceCenter1 = boxFace.getCenter(newVector3());\n for (let j = 0; j < 2; j++) {\n const face2 = (index + (j === 0 ? 2 : 5)) % 6;\n if (!visibleFaces[face2]) {\n continue;\n }\n boxFace.face = face2;\n if (!showFace1 && !this.isFaceVisible(boxFace)) {\n continue;\n }\n const faceCenter2 = boxFace.getCenter(newVector3());\n const edgeCenter = faceCenter2.add(faceCenter1);\n edgeCenter.applyMatrix4(matrix);\n\n adjustLabel(edgeCenter, domainObject, spriteHeight);\n\n // Move the sprite slightly away from the box to avoid z-fighting\n edgeCenter.addScaledVector(cameraDirection, -spriteHeight / 2);\n sprite.position.copy(edgeCenter);\n sprite.visible = true;\n break;\n }\n if (sprite.visible) {\n break;\n }\n }\n }\n }\n\n private addEdgeCircles(matrix: Matrix4, rotationMatrix: Matrix4): void {\n const { domainObject } = this;\n let selectedFace = domainObject.focusFace;\n if (this.domainObject.focusType !== FocusType.Face) {\n selectedFace = undefined;\n }\n const material = new MeshPhongMaterial();\n updateMarkerMaterial(material, false, this.useDepthTest);\n for (const face of BoxFace.getAllFaces()) {\n if (!this.isFaceVisible(face)) {\n continue;\n }\n if (selectedFace !== undefined && selectedFace.equals(face)) {\n continue;\n }\n this.addChild(\n this.createEdgeCircle(matrix, rotationMatrix, material, face)\n );\n }\n if (selectedFace !== undefined && this.isFaceVisible(selectedFace)) {\n const material = new MeshPhongMaterial();\n updateMarkerMaterial(material, true, this.useDepthTest);\n this.addChild(\n this.createEdgeCircle(matrix, rotationMatrix, material, selectedFace)\n );\n }\n }\n\n private addRotationRing(matrix: Matrix4, rotationMatrix: Matrix4): void {\n const { domainObject } = this;\n let selectedFace = domainObject.focusFace;\n if (this.domainObject.focusType !== FocusType.Rotation) {\n selectedFace = undefined;\n } else if (\n selectedFace !== undefined &&\n !domainObject.canRotateComponent(selectedFace.index)\n ) {\n selectedFace = undefined;\n }\n for (const face of BoxFace.getAllFaces()) {\n if (!this.isFaceVisible(face)) {\n continue;\n }\n if (!domainObject.canRotateComponent(face.index)) {\n continue;\n }\n if (selectedFace !== undefined && selectedFace.equals(face)) {\n continue;\n }\n const material = new MeshPhongMaterial();\n updateMarkerMaterial(material, false, this.useDepthTest);\n material.clippingPlanes = BoxFace.createClippingPlanes(\n matrix,\n face.index\n );\n this.addChild(\n this.createRotationRing(matrix, rotationMatrix, material, face)\n );\n }\n if (selectedFace !== undefined && this.isFaceVisible(selectedFace)) {\n const material = new MeshPhongMaterial();\n updateMarkerMaterial(material, true, this.useDepthTest);\n material.clippingPlanes = BoxFace.createClippingPlanes(\n matrix,\n selectedFace.index\n );\n this.addChild(\n this.createRotationRing(matrix, rotationMatrix, material, selectedFace)\n );\n }\n }\n\n // ==================================================\n // INSTANCE METHODS: For picking\n // ==================================================\n\n private getPickedFocusType(\n realPosition: Vector3,\n face: BoxFace,\n outputCornerSign: Vector3\n ): FocusType {\n const { domainObject } = this;\n const scale = newVector3().setScalar(this.getFaceRadius(face));\n const scaledMatrix = domainObject.box.getScaledMatrix(scale);\n scaledMatrix.invert();\n const scaledPositionAtFace =\n newVector3(realPosition).applyMatrix4(scaledMatrix);\n const planePoint = face.getPlanePoint(scaledPositionAtFace);\n const relativeDistance = planePoint.length();\n\n if (relativeDistance < getRelativeResizeRadius(domainObject)) {\n return FocusType.Face;\n }\n if (domainObject.canMoveCorners()) {\n outputCornerSign.copy(this.getCornerSign(realPosition, face));\n const corner = this.getCorner(outputCornerSign, face);\n if (\n realPosition.distanceTo(corner) <\n RELATIVE_CORNER_DISTANCE * this.getFaceRadius(face)\n ) {\n return FocusType.Corner;\n }\n }\n if (domainObject.canRotateComponent(face.index)) {\n if (RELATIVE_ROTATION_RADIUS.isInside(relativeDistance)) {\n return FocusType.Rotation;\n }\n }\n return FocusType.Body;\n }\n\n private getCornerSign(realPosition: Vector3, face: BoxFace): Vector3 {\n const { domainObject } = this;\n const scale = newVector3().setScalar(this.getFaceRadius(face));\n const scaledMatrix = domainObject.box.getScaledMatrix(scale);\n scaledMatrix.invert();\n const scaledPositionAtFace = realPosition\n .clone()\n .applyMatrix4(scaledMatrix);\n scaledPositionAtFace.setComponent(face.index, 0);\n scaledPositionAtFace.setComponent(\n face.tangentIndex1,\n Math.sign(scaledPositionAtFace.getComponent(face.tangentIndex1))\n );\n scaledPositionAtFace.setComponent(\n face.tangentIndex2,\n Math.sign(scaledPositionAtFace.getComponent(face.tangentIndex2))\n );\n return scaledPositionAtFace;\n }\n\n private getCorner(cornerSign: Vector3, face: BoxFace): Vector3 {\n const { domainObject } = this;\n const center = face.getCenter(new Vector3()); // In range (-0.5, 0.5)\n const corner = center.addScaledVector(cornerSign, 0.5);\n const matrix = domainObject.box.getMatrix();\n corner.applyMatrix4(matrix);\n return corner;\n }\n\n private isFaceVisible(face: BoxFace): boolean {\n const { domainObject } = this;\n switch (domainObject.primitiveType) {\n case PrimitiveType.VerticalArea:\n return face.index === 1; // Y Face visible\n\n case PrimitiveType.HorizontalArea:\n return face.index === 2; // Z face visible\n }\n return true;\n }\n}\n\n// ==================================================\n// PRIVATE FUNCTIONS: Update materials\n// ==================================================\n\nfunction showRotationLabel(focusType: FocusType): boolean {\n switch (focusType) {\n case FocusType.Face:\n case FocusType.Body:\n case FocusType.Pending:\n return false;\n default:\n return true;\n }\n}\n\nfunction showMarkers(focusType: FocusType): boolean {\n switch (focusType) {\n case FocusType.Pending:\n case FocusType.None:\n return false;\n default:\n return true;\n }\n}\n\n// ==================================================\n// PRIVATE FUNCTIONS: Update materials\n// ==================================================\n\nexport function updateSolidMaterial(\n material: MeshPhongMaterial,\n domainObject: DomainObject,\n style: SolidPrimitiveRenderStyle\n): void {\n updatePolygonOffset(material);\n const color = domainObject.getColorByColorType(style.colorType);\n material.color = color;\n material.opacity = style.getSolidOpacity(domainObject.isSelected);\n material.transparent = true;\n material.shininess = 100;\n material.emissive = color;\n material.emissiveIntensity = 0.2;\n material.side = DoubleSide;\n material.flatShading = true;\n material.depthWrite = false;\n material.depthTest = style.depthTest;\n}\n\nexport function updateLineSegmentsMaterial(\n material: LineBasicMaterial,\n domainObject: DomainObject,\n style: SolidPrimitiveRenderStyle,\n depthTest: boolean\n): void {\n const color = domainObject.getColorByColorType(style.colorType);\n material.color = color;\n material.transparent = true;\n material.depthWrite = false;\n material.depthTest = depthTest;\n}\n\nexport function updateWireframeMaterial(\n material: LineMaterial,\n domainObject: DomainObject,\n style: SolidPrimitiveRenderStyle,\n depthTest: boolean\n): void {\n const color = domainObject.getColorByColorType(style.colorType);\n material.color = color;\n material.transparent = true;\n material.depthWrite = false;\n material.depthTest = depthTest;\n material.linewidth = style.getLineWidth(domainObject.isSelected);\n material.resolution = new Vector2(1000, 1000);\n material.worldUnits = false;\n}\n\nexport function updateMarkerMaterial(\n material: MeshPhongMaterial,\n hasFocus: boolean,\n depthTest: boolean\n): void {\n updatePolygonOffset(material);\n material.color = ARROW_AND_RING_COLOR;\n material.transparent = true;\n material.emissive = ARROW_AND_RING_COLOR;\n material.emissiveIntensity = hasFocus ? 0.9 : 0.2;\n material.side = FrontSide;\n material.flatShading = true;\n material.depthWrite = false;\n material.depthTest = depthTest;\n}\n\n// ==================================================\n// PRIVATE FUNCTIONS: Create object3D's\n// ==================================================\n\nfunction adjustLabel(\n point: Vector3,\n domainObject: BoxDomainObject,\n spriteHeight: number\n): void {\n if (domainObject.primitiveType !== PrimitiveType.VerticalArea) {\n point.y += (1.1 * spriteHeight) / 2;\n }\n}\n\n// ==================================================\n// PRIVATE FUNCTIONS: Misc\n// ==================================================\n\nexport function rotateEdgeCircle(\n mesh: Mesh,\n face: BoxFace,\n rotationMatrix: Matrix4\n): void {\n // Must be rotated correctly because of sideness\n mesh.rotation.setFromRotationMatrix(rotationMatrix);\n\n switch (face.face) {\n case 0:\n mesh.rotateY(Math.PI / 2);\n break;\n case 3:\n mesh.rotateY(-Math.PI / 2);\n break;\n case 2:\n mesh.rotateY(0);\n break;\n case 5:\n mesh.rotateY(Math.PI);\n break;\n case 1:\n mesh.rotateX(-Math.PI / 2);\n break;\n case 4:\n mesh.rotateX(Math.PI / 2);\n break;\n }\n}\n\nexport function createSprite(\n text: string,\n style: PrimitiveRenderStyle,\n height: number\n): Sprite {\n const result = createSpriteWithText(\n text,\n height,\n style.labelColor,\n style.labelBgColor\n );\n result.material.transparent = true;\n result.material.opacity = style.labelOpacity;\n result.material.depthTest = style.depthTest;\n result.renderOrder = RENDER_ORDER;\n return result;\n}\n\n// ==================================================\n// PRIVATE FUNCTIONS: Vector pool\n// ==================================================\n\nconst VECTOR_POOL = new Vector3Pool();\nfunction newVector3(copyFrom?: Vector3): Vector3 {\n return VECTOR_POOL.getNext(copyFrom);\n}\n\nfunction getRelativeResizeRadius(domainObject: BoxDomainObject): number {\n if (domainObject.primitiveType === PrimitiveType.Point) {\n return RELATIVE_RESIZE_RADIUS_FOR_POINT;\n }\n return RELATIVE_RESIZE_RADIUS_BOX;\n}\n"],"names":["Mesh","MeshPhongMaterial","DoubleSide","LineSegments","LineBasicMaterial","Vector3","RingGeometry","Color","CircleGeometry","FrontSide","Vector2","LineMaterial","Wireframe","CDF_TO_VIEWER_TRANSFORMATION","Vector3Pool","Changes","FocusType","Quantity","convertFromViewerCoordinates","clear","Range1","updatePolygonOffset","Box","BoxUtils","PrimitiveType","createSpriteWithText","GroupThreeView","BoxFace","PrimitivePickInfo","RELATIVE_ROTATION_RADIUS","RELATIVE_CORNER_DISTANCE","RELATIVE_RESIZE_RADIUS_FOR_POINT","RELATIVE_RESIZE_RADIUS_BOX","ARROW_AND_RING_COLOR","TOP_FACE","CIRCULAR_SEGMENTS","RENDER_ORDER","BoxView","style","update","change","isChanged","selected","focus","renderStyle","color","unit","removeChildren","invalidateBoundingBox","invalidateRenderTarget","beforeRender","camera","isEmpty","updateLabels","useDepthTest","domainObject","focusType","Pending","isSelected","depthTest","addChildren","matrix","getMatrix","showSolid","addChild","createSolid","showLines","getLineWidth","createLines","createWireframe","showMarkers","rotationMatrix","getRotationMatrix","addRotationRing","addEdgeCircles","showLabel","addLabels","Rotation","face","focusFace","undefined","spriteHeight","getTextHeight","relativeTextSize","createRotationLabel","intersectIfCloser","intersectInput","closestDistance","orientedBox","createOrientedBox","ray","raycaster","point","intersectRay","newVector3","distanceToCamera","distanceTo","origin","hasClippingInIntersection","isVisible","positionAtFace","applyMatrix4","invert","boxFace","fromPositionAtFace","isFaceVisible","cornerSign","cdfPosition","getPickedFocusType","customObjectIntersection","type","userData","customObject","shouldPickBoundingBox","boundingBox","box","diagonal","getFaceRadius","size","size1","getComponent","tangentIndex1","size2","tangentIndex2","premultiply","material","updateSolidMaterial","geometry","createUnitGeometry","mesh","renderOrder","updateLineSegmentsMaterial","createLineSegmentsBufferGeometry","result","updateWireframeMaterial","createLineSegmentsGeometry","canRotateComponent","index","degrees","getRotationInDegrees","text","getUnitSystem","toStringWithUnit","Angle","sprite","createSprite","faceCenter","getCenter","adjustLabel","position","copy","createPendingLabel","createRotationRing","radius","outerRadius","max","innerRadius","min","center","rotateEdgeCircle","createEdgeCircle","adjacentSize1","isValidSize","adjacentSize2","getRelativeResizeRadius","transparent","depthWrite","_sprites","unitSystem","push","Length","hasArea","showRotationLabel","centerOfBox","cameraPosition","getWorldPosition","cameraDirection","sub","normalize","visibleFaces","_visibleFaces","getAllFaces","normal","getNormal","dot","length","visible","i","face1","showFace1","faceCenter1","j","face2","faceCenter2","edgeCenter","add","addScaledVector","selectedFace","Face","updateMarkerMaterial","equals","clippingPlanes","createClippingPlanes","realPosition","outputCornerSign","scale","setScalar","scaledMatrix","getScaledMatrix","scaledPositionAtFace","planePoint","getPlanePoint","relativeDistance","canMoveCorners","getCornerSign","corner","getCorner","Corner","isInside","Body","clone","setComponent","Math","sign","primitiveType","VerticalArea","HorizontalArea","Array","None","getColorByColorType","colorType","opacity","getSolidOpacity","shininess","emissive","emissiveIntensity","side","flatShading","linewidth","resolution","worldUnits","hasFocus","y","rotation","setFromRotationMatrix","rotateY","PI","rotateX","height","labelColor","labelBgColor","labelOpacity","VECTOR_POOL","copyFrom","getNext","Point"],"mappings":"AAAA,SACEA,IAAI,EACJC,iBAAiB,EAEjBC,UAAU,EACVC,YAAY,EACZC,iBAAiB,EACjBC,OAA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,QAAQ,CAAClE,SAAS,GAAGrB,MAAMqB,SAAS;IAC3C0E,OAAOH,WAAW,GAAG9F;IACrB,OAAOiG;AACT;AAEA,qDAAqD;AACrD,iCAAiC;AACjC,qDAAqD;AAErD,MAAMuH,cAAc,IAAI9O;AACxB,SAASgF,WAAW+J,QAAkB;IACpC,OAAOD,YAAYE,OAAO,CAACD;AAC7B;AAEA,SAASzF,wBAAwB7G,YAA6B;IAC5D,IAAIA,aAAayK,aAAa,KAAKxM,cAAcuO,KAAK,EAAE;QACtD,OAAOhO;IACT;IACA,OAAOC;AACT"}
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import { Matrix4, Plane, Vector2, Vector3 } from
|
|
1
|
+
import { type Matrix4, Plane, Vector2, Vector3 } from "three";
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
* Represents a face of a box.
|
|
4
|
+
* Face is 0-5, where 0-2 are positive faces and 3-5 are negative faces as this:
|
|
5
|
+
* Face 0, and 3 is towards X-axis
|
|
6
|
+
* Face 1, and 4 is towards Y-axis
|
|
7
|
+
* Face 2, and 5 is towards Z-axis
|
|
8
|
+
*/
|
|
9
9
|
export declare class BoxFace {
|
|
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
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
10
|
+
private _face;
|
|
11
|
+
constructor(face?: number);
|
|
12
|
+
get face(): number;
|
|
13
|
+
set face(value: number);
|
|
14
|
+
/**
|
|
15
|
+
* Gets the axis index corresponding to this face.
|
|
16
|
+
* @returns The axis index (0 for X, 1 for Y, 2 for Z).
|
|
17
|
+
*/
|
|
18
|
+
get index(): number;
|
|
19
|
+
/**
|
|
20
|
+
* Gets the tangent index 1 corresponding to this face.
|
|
21
|
+
* @returns The axis index (0 for X, 1 for Y, 2 for Z).
|
|
22
|
+
*/
|
|
23
|
+
get tangentIndex1(): number;
|
|
24
|
+
/**
|
|
25
|
+
* Gets the tangent index 2 corresponding to this face.
|
|
26
|
+
* @returns The axis index (0 for X, 1 for Y, 2 for Z).
|
|
27
|
+
*/
|
|
28
|
+
get tangentIndex2(): number;
|
|
29
|
+
/**
|
|
30
|
+
* Gets the sign of the face.
|
|
31
|
+
* Returns `1` if the face index is less than 3, otherwise returns `-1`.
|
|
32
|
+
* This can be used to determine the orientation of the box face.
|
|
33
|
+
*/
|
|
34
|
+
get sign(): number;
|
|
35
|
+
copy(other: BoxFace): this;
|
|
36
|
+
equals(other: BoxFace): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Determines the box face corresponding to the given position vector relative to the box center.
|
|
39
|
+
* The face is selected based on the axis with the largest absolute value in the position vector.
|
|
40
|
+
*
|
|
41
|
+
* - If the x component is largest, sets the face to 0 (positive x) or 3 (negative x).
|
|
42
|
+
* - If the y component is largest, sets the face to 1 (positive y) or 4 (negative y).
|
|
43
|
+
* - If the z component is largest, sets the face to 2 (positive z) or 5 (negative z).
|
|
44
|
+
*
|
|
45
|
+
* @param positionAtFace - The position vector relative to the box center.
|
|
46
|
+
* @returns The current instance with the updated face.
|
|
47
|
+
*/
|
|
48
|
+
fromPositionAtFace(positionAtFace: Vector3): this;
|
|
49
|
+
/**
|
|
50
|
+
* Projects a 3D point onto the 2D plane corresponding to the current box face.
|
|
51
|
+
*
|
|
52
|
+
* The mapping of the 3D coordinates to 2D depends on the value of `this.face`:
|
|
53
|
+
* - For faces 1 and 4, returns (x, z).
|
|
54
|
+
* - For faces 2 and 5, returns (x, y).
|
|
55
|
+
* - For all other faces, returns (y, z).
|
|
56
|
+
*
|
|
57
|
+
* @param positionAtFace - The 3D position to project onto the face's plane.
|
|
58
|
+
* @returns A `Vector2` representing the projected 2D coordinates on the face's plane.
|
|
59
|
+
*/
|
|
60
|
+
getPlanePoint(positionAtFace: Vector3): Vector2;
|
|
61
|
+
getNormal(target?: Vector3): Vector3;
|
|
62
|
+
getTangent1(target?: Vector3): Vector3;
|
|
63
|
+
getTangent2(target?: Vector3): Vector3;
|
|
64
|
+
getCenter(target?: Vector3): Vector3;
|
|
65
|
+
static getAllFaces(target?: BoxFace): Generator<BoxFace>;
|
|
66
|
+
static createClippingPlanes(matrix: Matrix4, exceptIndex?: number): Plane[];
|
|
67
|
+
static equals(face: BoxFace | undefined, other: BoxFace | undefined): boolean;
|
|
68
68
|
}
|
|
@@ -1,81 +1,182 @@
|
|
|
1
|
-
import { Plane
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
1
|
+
import { Plane, Vector2, Vector3 } from "three";
|
|
2
|
+
/**
|
|
3
|
+
* Represents a face of a box.
|
|
4
|
+
* Face is 0-5, where 0-2 are positive faces and 3-5 are negative faces as this:
|
|
5
|
+
* Face 0, and 3 is towards X-axis
|
|
6
|
+
* Face 1, and 4 is towards Y-axis
|
|
7
|
+
* Face 2, and 5 is towards Z-axis
|
|
8
|
+
*/ export class BoxFace {
|
|
9
|
+
// ==================================================
|
|
10
|
+
// CONSTRUCTOR
|
|
11
|
+
// ==================================================
|
|
12
|
+
constructor(face = 0){
|
|
13
|
+
this._face = 0;
|
|
14
|
+
if (!isValidFace(face)) {
|
|
15
|
+
throw new Error('Invalid face in constructor ' + face);
|
|
16
|
+
}
|
|
17
|
+
this._face = face;
|
|
18
|
+
}
|
|
19
|
+
// ==================================================
|
|
20
|
+
// INSTANCE PROPERTIES
|
|
21
|
+
// ==================================================
|
|
22
|
+
get face() {
|
|
23
|
+
return this._face;
|
|
24
|
+
}
|
|
25
|
+
set face(value) {
|
|
26
|
+
if (!isValidFace(value)) {
|
|
27
|
+
throw new Error('Invalid face in setter' + value);
|
|
28
|
+
}
|
|
29
|
+
this._face = value;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Gets the axis index corresponding to this face.
|
|
33
|
+
* @returns The axis index (0 for X, 1 for Y, 2 for Z).
|
|
34
|
+
*/ get index() {
|
|
35
|
+
return this._face % 3;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Gets the tangent index 1 corresponding to this face.
|
|
39
|
+
* @returns The axis index (0 for X, 1 for Y, 2 for Z).
|
|
40
|
+
*/ get tangentIndex1() {
|
|
41
|
+
return (this.index + 1) % 3;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Gets the tangent index 2 corresponding to this face.
|
|
45
|
+
* @returns The axis index (0 for X, 1 for Y, 2 for Z).
|
|
46
|
+
*/ get tangentIndex2() {
|
|
47
|
+
return (this.index + 2) % 3;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Gets the sign of the face.
|
|
51
|
+
* Returns `1` if the face index is less than 3, otherwise returns `-1`.
|
|
52
|
+
* This can be used to determine the orientation of the box face.
|
|
53
|
+
*/ get sign() {
|
|
54
|
+
return this._face < 3 ? 1 : -1;
|
|
55
|
+
}
|
|
56
|
+
// ==================================================
|
|
57
|
+
// INSTANCE METHODS
|
|
58
|
+
// ==================================================
|
|
59
|
+
copy(other) {
|
|
60
|
+
this._face = other._face;
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
equals(other) {
|
|
64
|
+
return this.face === other.face;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Determines the box face corresponding to the given position vector relative to the box center.
|
|
68
|
+
* The face is selected based on the axis with the largest absolute value in the position vector.
|
|
69
|
+
*
|
|
70
|
+
* - If the x component is largest, sets the face to 0 (positive x) or 3 (negative x).
|
|
71
|
+
* - If the y component is largest, sets the face to 1 (positive y) or 4 (negative y).
|
|
72
|
+
* - If the z component is largest, sets the face to 2 (positive z) or 5 (negative z).
|
|
73
|
+
*
|
|
74
|
+
* @param positionAtFace - The position vector relative to the box center.
|
|
75
|
+
* @returns The current instance with the updated face.
|
|
76
|
+
*/ fromPositionAtFace(positionAtFace) {
|
|
77
|
+
const x = Math.abs(positionAtFace.x);
|
|
78
|
+
const y = Math.abs(positionAtFace.y);
|
|
79
|
+
const z = Math.abs(positionAtFace.z);
|
|
80
|
+
if (x >= y && x >= z) {
|
|
81
|
+
this._face = positionAtFace.x > 0 ? 0 : 3;
|
|
82
|
+
} else if (y >= x && y >= z) {
|
|
83
|
+
this._face = positionAtFace.y > 0 ? 1 : 4;
|
|
84
|
+
} else {
|
|
85
|
+
this._face = positionAtFace.z > 0 ? 2 : 5;
|
|
86
|
+
}
|
|
87
|
+
return this;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Projects a 3D point onto the 2D plane corresponding to the current box face.
|
|
91
|
+
*
|
|
92
|
+
* The mapping of the 3D coordinates to 2D depends on the value of `this.face`:
|
|
93
|
+
* - For faces 1 and 4, returns (x, z).
|
|
94
|
+
* - For faces 2 and 5, returns (x, y).
|
|
95
|
+
* - For all other faces, returns (y, z).
|
|
96
|
+
*
|
|
97
|
+
* @param positionAtFace - The 3D position to project onto the face's plane.
|
|
98
|
+
* @returns A `Vector2` representing the projected 2D coordinates on the face's plane.
|
|
99
|
+
*/ getPlanePoint(positionAtFace) {
|
|
100
|
+
switch(this.face){
|
|
101
|
+
case 1:
|
|
102
|
+
case 4:
|
|
103
|
+
return new Vector2(positionAtFace.x, positionAtFace.z);
|
|
104
|
+
case 2:
|
|
105
|
+
case 5:
|
|
106
|
+
return new Vector2(positionAtFace.x, positionAtFace.y);
|
|
107
|
+
default:
|
|
108
|
+
return new Vector2(positionAtFace.y, positionAtFace.z);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
getNormal(target) {
|
|
112
|
+
if (target === undefined) {
|
|
113
|
+
target = new Vector3();
|
|
114
|
+
}
|
|
115
|
+
target.setScalar(0);
|
|
116
|
+
return target.setComponent(this.index, this.sign);
|
|
117
|
+
}
|
|
118
|
+
getTangent1(target) {
|
|
119
|
+
if (target === undefined) {
|
|
120
|
+
target = new Vector3();
|
|
121
|
+
}
|
|
122
|
+
target.setScalar(0);
|
|
123
|
+
return target.setComponent(this.tangentIndex1, 1);
|
|
124
|
+
}
|
|
125
|
+
getTangent2(target) {
|
|
126
|
+
if (target === undefined) {
|
|
127
|
+
target = new Vector3();
|
|
128
|
+
}
|
|
129
|
+
target.setScalar(0);
|
|
130
|
+
return target.setComponent(this.tangentIndex2, 1);
|
|
131
|
+
}
|
|
132
|
+
getCenter(target) {
|
|
133
|
+
// Assume the box is centered at (0,0,0) and has size 1 in all directions
|
|
134
|
+
if (target === undefined) {
|
|
135
|
+
target = new Vector3();
|
|
136
|
+
}
|
|
137
|
+
target.setScalar(0);
|
|
138
|
+
return target.setComponent(this.index, this.sign * 0.5);
|
|
139
|
+
}
|
|
140
|
+
// ==================================================
|
|
141
|
+
// STATIC METHODS
|
|
142
|
+
// ==================================================
|
|
143
|
+
static *getAllFaces(target) {
|
|
144
|
+
if (target === undefined) {
|
|
145
|
+
target = new BoxFace();
|
|
146
|
+
}
|
|
147
|
+
for(let face = 0; face < 6; face++){
|
|
148
|
+
target.face = face;
|
|
149
|
+
yield target;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
static createClippingPlanes(matrix, exceptIndex) {
|
|
153
|
+
const planes = [];
|
|
154
|
+
const center = new Vector3();
|
|
155
|
+
const normal = new Vector3();
|
|
156
|
+
for (const boxFace of BoxFace.getAllFaces()){
|
|
157
|
+
if (exceptIndex !== undefined && boxFace.index === exceptIndex) {
|
|
158
|
+
continue;
|
|
159
|
+
}
|
|
160
|
+
boxFace.getCenter(center);
|
|
161
|
+
boxFace.getNormal(normal).negate();
|
|
162
|
+
const plane = new Plane().setFromNormalAndCoplanarPoint(normal, center);
|
|
163
|
+
plane.applyMatrix4(matrix);
|
|
164
|
+
planes.push(plane);
|
|
165
|
+
}
|
|
166
|
+
return planes;
|
|
167
|
+
}
|
|
168
|
+
static equals(face, other) {
|
|
169
|
+
if (face === undefined) {
|
|
170
|
+
return other === undefined;
|
|
171
|
+
}
|
|
172
|
+
if (other === undefined) {
|
|
173
|
+
return false;
|
|
174
|
+
}
|
|
175
|
+
return face.equals(other);
|
|
176
|
+
}
|
|
79
177
|
}
|
|
80
|
-
|
|
81
|
-
|
|
178
|
+
function isValidFace(value) {
|
|
179
|
+
return value >= 0 && value <= 5;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
//# sourceMappingURL=BoxFace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/domains/primitives/common/BoxFace.ts"],"sourcesContent":["import { type Matrix4, Plane, Vector2, Vector3 } from 'three';\n\n/**\n * Represents a face of a box.\n * Face is 0-5, where 0-2 are positive faces and 3-5 are negative faces as this:\n * Face 0, and 3 is towards X-axis\n * Face 1, and 4 is towards Y-axis\n * Face 2, and 5 is towards Z-axis\n */\nexport class BoxFace {\n private _face = 0;\n\n // ==================================================\n // CONSTRUCTOR\n // ==================================================\n\n public constructor(face: number = 0) {\n if (!isValidFace(face)) {\n throw new Error('Invalid face in constructor ' + face);\n }\n this._face = face;\n }\n\n // ==================================================\n // INSTANCE PROPERTIES\n // ==================================================\n\n public get face(): number {\n return this._face;\n }\n\n public set face(value: number) {\n if (!isValidFace(value)) {\n throw new Error('Invalid face in setter' + value);\n }\n this._face = value;\n }\n\n /**\n * Gets the axis index corresponding to this face.\n * @returns The axis index (0 for X, 1 for Y, 2 for Z).\n */\n public get index(): number {\n return this._face % 3;\n }\n\n /**\n * Gets the tangent index 1 corresponding to this face.\n * @returns The axis index (0 for X, 1 for Y, 2 for Z).\n */\n public get tangentIndex1(): number {\n return (this.index + 1) % 3;\n }\n\n /**\n * Gets the tangent index 2 corresponding to this face.\n * @returns The axis index (0 for X, 1 for Y, 2 for Z).\n */\n public get tangentIndex2(): number {\n return (this.index + 2) % 3;\n }\n\n /**\n * Gets the sign of the face.\n * Returns `1` if the face index is less than 3, otherwise returns `-1`.\n * This can be used to determine the orientation of the box face.\n */\n public get sign(): number {\n return this._face < 3 ? 1 : -1;\n }\n\n // ==================================================\n // INSTANCE METHODS\n // ==================================================\n\n public copy(other: BoxFace): this {\n this._face = other._face;\n return this;\n }\n\n public equals(other: BoxFace): boolean {\n return this.face === other.face;\n }\n\n /**\n * Determines the box face corresponding to the given position vector relative to the box center.\n * The face is selected based on the axis with the largest absolute value in the position vector.\n *\n * - If the x component is largest, sets the face to 0 (positive x) or 3 (negative x).\n * - If the y component is largest, sets the face to 1 (positive y) or 4 (negative y).\n * - If the z component is largest, sets the face to 2 (positive z) or 5 (negative z).\n *\n * @param positionAtFace - The position vector relative to the box center.\n * @returns The current instance with the updated face.\n */\n public fromPositionAtFace(positionAtFace: Vector3): this {\n const x = Math.abs(positionAtFace.x);\n const y = Math.abs(positionAtFace.y);\n const z = Math.abs(positionAtFace.z);\n\n if (x >= y && x >= z) {\n this._face = positionAtFace.x > 0 ? 0 : 3;\n } else if (y >= x && y >= z) {\n this._face = positionAtFace.y > 0 ? 1 : 4;\n } else {\n this._face = positionAtFace.z > 0 ? 2 : 5;\n }\n return this;\n }\n\n /**\n * Projects a 3D point onto the 2D plane corresponding to the current box face.\n *\n * The mapping of the 3D coordinates to 2D depends on the value of `this.face`:\n * - For faces 1 and 4, returns (x, z).\n * - For faces 2 and 5, returns (x, y).\n * - For all other faces, returns (y, z).\n *\n * @param positionAtFace - The 3D position to project onto the face's plane.\n * @returns A `Vector2` representing the projected 2D coordinates on the face's plane.\n */\n public getPlanePoint(positionAtFace: Vector3): Vector2 {\n switch (this.face) {\n case 1:\n case 4:\n return new Vector2(positionAtFace.x, positionAtFace.z);\n case 2:\n case 5:\n return new Vector2(positionAtFace.x, positionAtFace.y);\n default:\n return new Vector2(positionAtFace.y, positionAtFace.z);\n }\n }\n\n public getNormal(target?: Vector3): Vector3 {\n if (target === undefined) {\n target = new Vector3();\n }\n target.setScalar(0);\n return target.setComponent(this.index, this.sign);\n }\n\n public getTangent1(target?: Vector3): Vector3 {\n if (target === undefined) {\n target = new Vector3();\n }\n target.setScalar(0);\n return target.setComponent(this.tangentIndex1, 1);\n }\n\n public getTangent2(target?: Vector3): Vector3 {\n if (target === undefined) {\n target = new Vector3();\n }\n target.setScalar(0);\n return target.setComponent(this.tangentIndex2, 1);\n }\n\n public getCenter(target?: Vector3): Vector3 {\n // Assume the box is centered at (0,0,0) and has size 1 in all directions\n if (target === undefined) {\n target = new Vector3();\n }\n target.setScalar(0);\n return target.setComponent(this.index, this.sign * 0.5);\n }\n\n // ==================================================\n // STATIC METHODS\n // ==================================================\n\n public static *getAllFaces(target?: BoxFace): Generator<BoxFace> {\n if (target === undefined) {\n target = new BoxFace();\n }\n for (let face = 0; face < 6; face++) {\n target.face = face;\n yield target;\n }\n }\n\n public static createClippingPlanes(\n matrix: Matrix4,\n exceptIndex?: number\n ): Plane[] {\n const planes: Plane[] = [];\n\n const center = new Vector3();\n const normal = new Vector3();\n for (const boxFace of BoxFace.getAllFaces()) {\n if (exceptIndex !== undefined && boxFace.index === exceptIndex) {\n continue;\n }\n boxFace.getCenter(center);\n boxFace.getNormal(normal).negate();\n const plane = new Plane().setFromNormalAndCoplanarPoint(normal, center);\n plane.applyMatrix4(matrix);\n planes.push(plane);\n }\n return planes;\n }\n\n public static equals(\n face: BoxFace | undefined,\n other: BoxFace | undefined\n ): boolean {\n if (face === undefined) {\n return other === undefined;\n }\n if (other === undefined) {\n return false;\n }\n return face.equals(other);\n }\n}\n\nfunction isValidFace(value: number): boolean {\n return value >= 0 && value <= 5;\n}\n"],"names":["Plane","Vector2","Vector3","BoxFace","face","_face","isValidFace","Error","value","index","tangentIndex1","tangentIndex2","sign","copy","other","equals","fromPositionAtFace","positionAtFace","x","Math","abs","y","z","getPlanePoint","getNormal","target","undefined","setScalar","setComponent","getTangent1","getTangent2","getCenter","getAllFaces","createClippingPlanes","matrix","exceptIndex","planes","center","normal","boxFace","negate","plane","setFromNormalAndCoplanarPoint","applyMatrix4","push"],"mappings":"AAAA,SAAuBA,KAAK,EAAEC,OAAO,EAAEC,OAAO,QAAQ,QAAQ;AAE9D;;;;;;CAMC,GACD,OAAO,MAAMC;IAGX,qDAAqD;IACrD,cAAc;IACd,qDAAqD;IAErD,YAAmBC,OAAe,CAAC,CAAE;aAN7BC,QAAQ;QAOd,IAAI,CAACC,YAAYF,OAAO;YACtB,MAAM,IAAIG,MAAM,iCAAiCH;QACnD;QACA,IAAI,CAACC,KAAK,GAAGD;IACf;IAEA,qDAAqD;IACrD,sBAAsB;IACtB,qDAAqD;IAErD,IAAWA,OAAe;QACxB,OAAO,IAAI,CAACC,KAAK;IACnB;IAEA,IAAWD,KAAKI,KAAa,EAAE;QAC7B,IAAI,CAACF,YAAYE,QAAQ;YACvB,MAAM,IAAID,MAAM,2BAA2BC;QAC7C;QACA,IAAI,CAACH,KAAK,GAAGG;IACf;IAEA;;;GAGC,GACD,IAAWC,QAAgB;QACzB,OAAO,IAAI,CAACJ,KAAK,GAAG;IACtB;IAEA;;;GAGC,GACD,IAAWK,gBAAwB;QACjC,OAAO,AAAC,CAAA,IAAI,CAACD,KAAK,GAAG,CAAA,IAAK;IAC5B;IAEA;;;GAGC,GACD,IAAWE,gBAAwB;QACjC,OAAO,AAAC,CAAA,IAAI,CAACF,KAAK,GAAG,CAAA,IAAK;IAC5B;IAEA;;;;GAIC,GACD,IAAWG,OAAe;QACxB,OAAO,IAAI,CAACP,KAAK,GAAG,IAAI,IAAI,CAAC;IAC/B;IAEA,qDAAqD;IACrD,mBAAmB;IACnB,qDAAqD;IAE9CQ,KAAKC,KAAc,EAAQ;QAChC,IAAI,CAACT,KAAK,GAAGS,MAAMT,KAAK;QACxB,OAAO,IAAI;IACb;IAEOU,OAAOD,KAAc,EAAW;QACrC,OAAO,IAAI,CAACV,IAAI,K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AAW;YACvB,OAAO;QACT;QACA,OAAOtB,KAAKW,MAAM,CAACD;IACrB;AACF;AAEA,SAASR,YAAYE,KAAa;IAChC,OAAOA,SAAS,KAAKA,SAAS;AAChC"}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { Vector3 } from
|
|
2
|
-
import { FocusType } from
|
|
3
|
-
import { BoxFace } from
|
|
1
|
+
import { Vector3 } from "three";
|
|
2
|
+
import { type FocusType } from "../../../foundation/domainObjectsHelpers/FocusType";
|
|
3
|
+
import { type BoxFace } from "./BoxFace";
|
|
4
4
|
/**
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
* Represents information about a picked box.
|
|
6
|
+
*/
|
|
7
7
|
export declare class PrimitivePickInfo {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
8
|
+
/**
|
|
9
|
+
* The face of the primitive that was picked.
|
|
10
|
+
*/
|
|
11
|
+
readonly face: BoxFace;
|
|
12
|
+
/**
|
|
13
|
+
* The type of focus on the picked box.
|
|
14
|
+
*/
|
|
15
|
+
readonly focusType: FocusType;
|
|
16
|
+
/**
|
|
17
|
+
* Indicates the corner of the face.
|
|
18
|
+
*/
|
|
19
|
+
readonly cornerSign: Vector3;
|
|
20
|
+
/**
|
|
21
|
+
* Creates a new instance of PrimitivePickInfo.
|
|
22
|
+
* @param face The face of the box that was picked.
|
|
23
|
+
* @param focusType The type of focus on the picked box.
|
|
24
|
+
* @param cornerSign Indicates the corner of the face.
|
|
25
|
+
*/
|
|
26
|
+
constructor(face: BoxFace, focusType: FocusType, cornerSign?: Vector3);
|
|
27
27
|
}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import { Vector3
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { Vector3 } from "three";
|
|
2
|
+
/**
|
|
3
|
+
* Represents information about a picked box.
|
|
4
|
+
*/ export class PrimitivePickInfo {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new instance of PrimitivePickInfo.
|
|
7
|
+
* @param face The face of the box that was picked.
|
|
8
|
+
* @param focusType The type of focus on the picked box.
|
|
9
|
+
* @param cornerSign Indicates the corner of the face.
|
|
10
|
+
*/ constructor(face, focusType, cornerSign){
|
|
11
|
+
this.face = face;
|
|
12
|
+
this.focusType = focusType;
|
|
13
|
+
this.cornerSign = cornerSign ?? new Vector3();
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=PrimitivePickInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/domains/primitives/common/PrimitivePickInfo.ts"],"sourcesContent":["import { Vector3 } from 'three';\n\nimport { type FocusType } from '../../../foundation/domainObjectsHelpers/FocusType';\n\nimport { type BoxFace } from './BoxFace';\n\n/**\n * Represents information about a picked box.\n */\nexport class PrimitivePickInfo {\n /**\n * The face of the primitive that was picked.\n */\n public readonly face: BoxFace;\n\n /**\n * The type of focus on the picked box.\n */\n public readonly focusType: FocusType;\n\n /**\n * Indicates the corner of the face.\n */\n public readonly cornerSign: Vector3;\n\n /**\n * Creates a new instance of PrimitivePickInfo.\n * @param face The face of the box that was picked.\n * @param focusType The type of focus on the picked box.\n * @param cornerSign Indicates the corner of the face.\n */\n public constructor(\n face: BoxFace,\n focusType: FocusType,\n cornerSign?: Vector3\n ) {\n this.face = face;\n this.focusType = focusType;\n this.cornerSign = cornerSign ?? new Vector3();\n }\n}\n"],"names":["Vector3","PrimitivePickInfo","face","focusType","cornerSign"],"mappings":"AAAA,SAASA,OAAO,QAAQ,QAAQ;AAMhC;;CAEC,GACD,OAAO,MAAMC;IAgBX;;;;;GAKC,GACD,YACEC,IAAa,EACbC,SAAoB,EACpBC,UAAoB,CACpB;QACA,IAAI,CAACF,IAAI,GAAGA;QACZ,IAAI,CAACC,SAAS,GAAGA;QACjB,IAAI,CAACC,UAAU,GAAGA,cAAc,IAAIJ;IACtC;AACF"}
|