@cognite/reveal-components 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1712) hide show
  1. package/README.md +23 -0
  2. package/dist/_virtual/_rolldown_dynamic_import_helper.js +9 -0
  3. package/dist/assets/poi-markers/poi-default.js +4 -0
  4. package/dist/assets/poi-markers/poi-hover.js +4 -0
  5. package/dist/assets/poi-markers/poi-selected.js +4 -0
  6. package/dist/common/i18n/de/reveal-components.js +197 -0
  7. package/dist/common/i18n/en/reveal-components.js +197 -0
  8. package/dist/common/i18n/es/reveal-components.js +197 -0
  9. package/dist/common/i18n/fr/reveal-components.js +197 -0
  10. package/dist/common/i18n/it/reveal-components.js +197 -0
  11. package/dist/common/i18n/ja/reveal-components.js +197 -0
  12. package/dist/common/i18n/ko/reveal-components.js +197 -0
  13. package/dist/common/i18n/lv/reveal-components.js +197 -0
  14. package/dist/common/i18n/nb/reveal-components.js +197 -0
  15. package/dist/common/i18n/nl/reveal-components.js +197 -0
  16. package/dist/common/i18n/pt/reveal-components.js +197 -0
  17. package/dist/common/i18n/sv/reveal-components.js +197 -0
  18. package/dist/common/i18n/zh/reveal-components.js +197 -0
  19. package/dist/data-providers/Fdm3dDataProvider.d.ts +17 -0
  20. package/dist/data-providers/FdmSDK.d.ts +200 -0
  21. package/dist/data-providers/FdmSDK.js +167 -0
  22. package/dist/data-providers/cache/CacheProvider.d.ts +12 -0
  23. package/dist/data-providers/cache/CacheProvider.js +6 -0
  24. package/dist/data-providers/cache/Image360AnnotationCache.d.ts +14 -0
  25. package/dist/data-providers/cache/Image360AnnotationCache.js +69 -0
  26. package/dist/data-providers/cache/PointCloudAnnotationCache.d.ts +24 -0
  27. package/dist/data-providers/cache/PointCloudAnnotationCache.js +81 -0
  28. package/dist/data-providers/cache/RevisionFdmNodeCache.d.ts +28 -0
  29. package/dist/data-providers/cache/RevisionFdmNodeCache.js +151 -0
  30. package/dist/data-providers/cache/annotationModelUtils.d.ts +7 -0
  31. package/dist/data-providers/cache/annotationModelUtils.js +40 -0
  32. package/dist/data-providers/cache/cad/CadInstanceMappingsCache.d.ts +20 -0
  33. package/dist/data-providers/cache/cad/CadInstanceMappingsCacheImpl.d.ts +4 -0
  34. package/dist/data-providers/cache/cad/CadInstanceMappingsCacheImpl.js +80 -0
  35. package/dist/data-providers/cache/cad/ClassicCadAssetMappingCache.d.ts +22 -0
  36. package/dist/data-providers/cache/cad/ClassicCadAssetMappingCacheImpl.d.ts +3 -0
  37. package/dist/data-providers/cache/cad/ClassicCadAssetMappingCacheImpl.js +135 -0
  38. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerAssetIdCache.d.ts +8 -0
  39. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerAssetIdCache.js +16 -0
  40. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerModelCache.d.ts +18 -0
  41. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerModelCache.js +53 -0
  42. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerNodeIdCache.d.ts +8 -0
  43. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerNodeIdCache.js +16 -0
  44. package/dist/data-providers/cache/cad/ClassicCadNode3DPerNodeIdCache.d.ts +12 -0
  45. package/dist/data-providers/cache/cad/ClassicCadNode3DPerNodeIdCache.js +38 -0
  46. package/dist/data-providers/cache/cad/FdmCadNodeCache.d.ts +8 -0
  47. package/dist/data-providers/cache/cad/FdmCadNodeCacheImpl.d.ts +11 -0
  48. package/dist/data-providers/cache/cad/FdmCadNodeCacheImpl.js +218 -0
  49. package/dist/data-providers/cache/cad/assetMappingTypes.d.ts +42 -0
  50. package/dist/data-providers/cache/cad/assetMappingTypes.js +24 -0
  51. package/dist/data-providers/cache/cad/enrichCadNodeMappingsWithBoundingBoxes.d.ts +3 -0
  52. package/dist/data-providers/cache/cad/enrichCadNodeMappingsWithBoundingBoxes.js +30 -0
  53. package/dist/data-providers/cache/cad/fdmCadConnectionMappingUtils.d.ts +4 -0
  54. package/dist/data-providers/cache/cad/rawAssetMappingTypes.d.ts +25 -0
  55. package/dist/data-providers/cache/cad/rawAssetMappingTypes.js +27 -0
  56. package/dist/data-providers/cache/cad/types.d.ts +26 -0
  57. package/dist/data-providers/cache/idAndKeyTranslation.d.ts +13 -0
  58. package/dist/data-providers/cache/idAndKeyTranslation.js +40 -0
  59. package/dist/data-providers/cache/index.d.ts +5 -0
  60. package/dist/data-providers/cache/index.js +3 -0
  61. package/dist/data-providers/cache/requests.d.ts +8 -0
  62. package/dist/data-providers/cache/requests.js +40 -0
  63. package/dist/data-providers/cache/typeGuards.d.ts +3 -0
  64. package/dist/data-providers/cache/typeGuards.js +6 -0
  65. package/dist/data-providers/cache/types.d.ts +115 -0
  66. package/dist/data-providers/cache/utils.d.ts +20 -0
  67. package/dist/data-providers/cache/utils.js +48 -0
  68. package/dist/data-providers/core-dm-provider/CoreDm3dDataProvider.d.ts +33 -0
  69. package/dist/data-providers/core-dm-provider/CoreDm3dDataProvider.js +107 -0
  70. package/dist/data-providers/core-dm-provider/assetsInstanceFilterWithHasDataQuery.d.ts +2 -0
  71. package/dist/data-providers/core-dm-provider/cadAndPointCloudAndImage360VisualizableQuery.d.ts +50 -0
  72. package/dist/data-providers/core-dm-provider/cadAndPointCloudAndImage360VisualizableQuery.js +192 -0
  73. package/dist/data-providers/core-dm-provider/cadConnectionsQuery.d.ts +11 -0
  74. package/dist/data-providers/core-dm-provider/cadConnectionsQuery.js +61 -0
  75. package/dist/data-providers/core-dm-provider/cadModelsForInstanceQuery.d.ts +9 -0
  76. package/dist/data-providers/core-dm-provider/cadModelsForInstanceQuery.js +39 -0
  77. package/dist/data-providers/core-dm-provider/check3dConnectedEquipmentQuery.d.ts +45 -0
  78. package/dist/data-providers/core-dm-provider/check3dConnectedEquipmentQuery.js +140 -0
  79. package/dist/data-providers/core-dm-provider/cogniteCadNodeSourceWithProperties.d.ts +18 -0
  80. package/dist/data-providers/core-dm-provider/cogniteCadNodeSourceWithProperties.js +17 -0
  81. package/dist/data-providers/core-dm-provider/cogniteCadRevisionSourceWithProperties.d.ts +13 -0
  82. package/dist/data-providers/core-dm-provider/cogniteCadRevisionSourceWithProperties.js +14 -0
  83. package/dist/data-providers/core-dm-provider/cogniteDescribableSourceWithProperties.d.ts +7 -0
  84. package/dist/data-providers/core-dm-provider/cogniteDescribableSourceWithProperties.js +13 -0
  85. package/dist/data-providers/core-dm-provider/cogniteImage360SourceWithProperties.d.ts +32 -0
  86. package/dist/data-providers/core-dm-provider/cogniteImage360SourceWithProperties.js +8 -0
  87. package/dist/data-providers/core-dm-provider/cogniteVisualizable.d.ts +7 -0
  88. package/dist/data-providers/core-dm-provider/cogniteVisualizable.js +8 -0
  89. package/dist/data-providers/core-dm-provider/dataModels.d.ts +111 -0
  90. package/dist/data-providers/core-dm-provider/dataModels.js +65 -0
  91. package/dist/data-providers/core-dm-provider/filterNodesByMappedTo3d.d.ts +3 -0
  92. package/dist/data-providers/core-dm-provider/filterNodesByMappedTo3d.js +65 -0
  93. package/dist/data-providers/core-dm-provider/getCadConnectionsForInstances.d.ts +3 -0
  94. package/dist/data-providers/core-dm-provider/getCadConnectionsForInstances.js +86 -0
  95. package/dist/data-providers/core-dm-provider/getCadConnectionsForRevisions.d.ts +3 -0
  96. package/dist/data-providers/core-dm-provider/getCadConnectionsForRevisions.js +34 -0
  97. package/dist/data-providers/core-dm-provider/getCadModelsForInstance.d.ts +3 -0
  98. package/dist/data-providers/core-dm-provider/getCadModelsForInstance.js +21 -0
  99. package/dist/data-providers/core-dm-provider/getCdfIdFromExternalId.d.ts +3 -0
  100. package/dist/data-providers/core-dm-provider/getCdfIdFromExternalId.js +9 -0
  101. package/dist/data-providers/core-dm-provider/getDMSModels.d.ts +3 -0
  102. package/dist/data-providers/core-dm-provider/getDMSModels.js +32 -0
  103. package/dist/data-providers/core-dm-provider/getDMSRevision.d.ts +4 -0
  104. package/dist/data-providers/core-dm-provider/getDMSRevision.js +17 -0
  105. package/dist/data-providers/core-dm-provider/getDMSRevisions.d.ts +17 -0
  106. package/dist/data-providers/core-dm-provider/getDMSRevisions.js +49 -0
  107. package/dist/data-providers/core-dm-provider/getEdgeConnected3dInstances.d.ts +3 -0
  108. package/dist/data-providers/core-dm-provider/getEdgeConnected3dInstances.js +66 -0
  109. package/dist/data-providers/core-dm-provider/getFdmConnectionsForNodes.d.ts +5 -0
  110. package/dist/data-providers/core-dm-provider/getFdmConnectionsForNodes.js +101 -0
  111. package/dist/data-providers/core-dm-provider/listMappedFdmNodes.d.ts +18 -0
  112. package/dist/data-providers/core-dm-provider/listMappedFdmNodes.js +60 -0
  113. package/dist/data-providers/core-dm-provider/pointCloudModelsForInstanceQuery.d.ts +15 -0
  114. package/dist/data-providers/core-dm-provider/pointCloudModelsForInstanceQuery.js +41 -0
  115. package/dist/data-providers/core-dm-provider/revisionQuery.d.ts +7 -0
  116. package/dist/data-providers/core-dm-provider/revisionQuery.js +27 -0
  117. package/dist/data-providers/core-dm-provider/revisionsBatchQuery.d.ts +14 -0
  118. package/dist/data-providers/core-dm-provider/revisionsBatchQuery.js +29 -0
  119. package/dist/data-providers/core-dm-provider/utils/filters.d.ts +31 -0
  120. package/dist/data-providers/core-dm-provider/utils/filters.js +67 -0
  121. package/dist/data-providers/core-dm-provider/utils/queryTypeHelpers.d.ts +46 -0
  122. package/dist/data-providers/core-dm-provider/utils/transformViewItemToSource.d.ts +3 -0
  123. package/dist/data-providers/core-dm-provider/utils/transformViewItemToSource.js +11 -0
  124. package/dist/data-providers/index.d.ts +6 -0
  125. package/dist/data-providers/index.js +0 -0
  126. package/dist/data-providers/legacy-fdm-provider/LegacyFdm3dDataProvider.d.ts +24 -0
  127. package/dist/data-providers/legacy-fdm-provider/LegacyFdm3dDataProvider.js +58 -0
  128. package/dist/data-providers/legacy-fdm-provider/createMappedEquipmentQuery.d.ts +4 -0
  129. package/dist/data-providers/legacy-fdm-provider/createMappedEquipmentQuery.js +59 -0
  130. package/dist/data-providers/legacy-fdm-provider/dataModels.d.ts +19 -0
  131. package/dist/data-providers/legacy-fdm-provider/dataModels.js +24 -0
  132. package/dist/data-providers/legacy-fdm-provider/fdmEdgesToCadConnections.d.ts +5 -0
  133. package/dist/data-providers/legacy-fdm-provider/fdmEdgesToCadConnections.js +37 -0
  134. package/dist/data-providers/legacy-fdm-provider/filterNodesByMappedTo3d.d.ts +4 -0
  135. package/dist/data-providers/legacy-fdm-provider/filterNodesByMappedTo3d.js +85 -0
  136. package/dist/data-providers/legacy-fdm-provider/getCadConnectionsForRevision.d.ts +5 -0
  137. package/dist/data-providers/legacy-fdm-provider/getCadConnectionsForRevision.js +17 -0
  138. package/dist/data-providers/legacy-fdm-provider/getCadModelsForFdmInstance.d.ts +3 -0
  139. package/dist/data-providers/legacy-fdm-provider/getCadModelsForFdmInstance.js +50 -0
  140. package/dist/data-providers/legacy-fdm-provider/getDMSModels.d.ts +2 -0
  141. package/dist/data-providers/legacy-fdm-provider/getDMSModels.js +16 -0
  142. package/dist/data-providers/legacy-fdm-provider/getEdgeConnected3dInstances.d.ts +2 -0
  143. package/dist/data-providers/legacy-fdm-provider/getEdgeConnected3dInstances.js +66 -0
  144. package/dist/data-providers/legacy-fdm-provider/getFdmConnectionsForNodeIds.d.ts +4 -0
  145. package/dist/data-providers/legacy-fdm-provider/getFdmConnectionsForNodeIds.js +33 -0
  146. package/dist/data-providers/legacy-fdm-provider/listMappedFdmNodes.d.ts +4 -0
  147. package/dist/data-providers/legacy-fdm-provider/listMappedFdmNodes.js +27 -0
  148. package/dist/data-providers/network/bounds/getBoundsForInstance.d.ts +16 -0
  149. package/dist/data-providers/network/bounds/getBoundsForInstance.js +17 -0
  150. package/dist/data-providers/network/bounds/getCadInstanceBounds.d.ts +5 -0
  151. package/dist/data-providers/network/bounds/getCadInstanceBounds.js +20 -0
  152. package/dist/data-providers/network/bounds/getImage360InstanceBounds.d.ts +6 -0
  153. package/dist/data-providers/network/bounds/getImage360InstanceBounds.js +16 -0
  154. package/dist/data-providers/network/bounds/getPointCloudInstanceBounds.d.ts +4 -0
  155. package/dist/data-providers/network/bounds/getPointCloudInstanceBounds.js +16 -0
  156. package/dist/data-providers/network/cad/fetchAllAssetsForCadModels.d.ts +16 -0
  157. package/dist/data-providers/network/cad/fetchAllAssetsForCadModels.js +78 -0
  158. package/dist/data-providers/network/cad/fetchHybridAssetMappingsForModels.d.ts +17 -0
  159. package/dist/data-providers/network/cad/fetchHybridAssetMappingsForModels.js +44 -0
  160. package/dist/data-providers/network/cad/getAssetsFromAssetMappings.d.ts +8 -0
  161. package/dist/data-providers/network/cad/getAssetsFromAssetMappings.js +25 -0
  162. package/dist/data-providers/network/cad/searchClassicAssetsForCadModels.d.ts +11 -0
  163. package/dist/data-providers/network/cad/searchClassicAssetsForCadModels.js +132 -0
  164. package/dist/data-providers/network/cad/searchHybridDmAssetsForCadModels.d.ts +15 -0
  165. package/dist/data-providers/network/cad/searchHybridDmAssetsForCadModels.js +19 -0
  166. package/dist/data-providers/network/cad/searchHybridDmCadAssetMappingsWithFilters.d.ts +5 -0
  167. package/dist/data-providers/network/cad/searchHybridDmCadAssetMappingsWithFilters.js +15 -0
  168. package/dist/data-providers/network/cad/types.d.ts +27 -0
  169. package/dist/data-providers/network/common/buildClassicAssetFilter.d.ts +5 -0
  170. package/dist/data-providers/network/common/buildClassicAssetFilter.js +28 -0
  171. package/dist/data-providers/network/common/fetchClassicModelOption.d.ts +7 -0
  172. package/dist/data-providers/network/common/fetchClassicModelOption.js +19 -0
  173. package/dist/data-providers/network/common/filters.d.ts +17 -0
  174. package/dist/data-providers/network/common/filters.js +6 -0
  175. package/dist/data-providers/network/common/getAssetsForIds.d.ts +3 -0
  176. package/dist/data-providers/network/common/getAssetsForIds.js +39 -0
  177. package/dist/data-providers/network/common/getDMAssetsForAnnotationReference.d.ts +4 -0
  178. package/dist/data-providers/network/common/getDMAssetsForAnnotationReference.js +18 -0
  179. package/dist/data-providers/network/common/getDMModelName.d.ts +3 -0
  180. package/dist/data-providers/network/common/getDMModelName.js +52 -0
  181. package/dist/data-providers/network/common/getModelIdAndRevisionIdFromExternalId.d.ts +7 -0
  182. package/dist/data-providers/network/common/getModelIdAndRevisionIdFromExternalId.js +39 -0
  183. package/dist/data-providers/network/common/getResourceIdentifierFromResourceOptions.d.ts +11 -0
  184. package/dist/data-providers/network/common/getResourceIdentifierFromResourceOptions.js +38 -0
  185. package/dist/data-providers/network/common/getResourceIdentifierWithType.d.ts +9 -0
  186. package/dist/data-providers/network/common/getResourceIdentifierWithType.js +29 -0
  187. package/dist/data-providers/network/common/getTypedModels.d.ts +6 -0
  188. package/dist/data-providers/network/common/getTypedModels.js +37 -0
  189. package/dist/data-providers/network/common/modelIdentifierHelper.d.ts +5 -0
  190. package/dist/data-providers/network/common/modelIdentifierHelper.js +15 -0
  191. package/dist/data-providers/network/common/searchDmInstances.d.ts +13 -0
  192. package/dist/data-providers/network/common/searchDmInstances.js +13 -0
  193. package/dist/data-providers/network/getAssetMappedPointCloudAnnotations.d.ts +11 -0
  194. package/dist/data-providers/network/getAssetMappedPointCloudAnnotations.js +41 -0
  195. package/dist/data-providers/network/getClassicAssetMapped360Annotations.d.ts +8 -0
  196. package/dist/data-providers/network/getClassicAssetMapped360Annotations.js +75 -0
  197. package/dist/data-providers/network/image360/searchHybridDmImage360AssetMappingsWithFilters.d.ts +5 -0
  198. package/dist/data-providers/network/image360/searchHybridDmImage360AssetMappingsWithFilters.js +19 -0
  199. package/dist/data-providers/network/pointcloud/searchHybridDmPointCloudAssetMappingsWithFilters.d.ts +5 -0
  200. package/dist/data-providers/network/pointcloud/searchHybridDmPointCloudAssetMappingsWithFilters.js +18 -0
  201. package/dist/data-providers/network/pointcloud/searchHybridPointCloudDmAssetsForModels.d.ts +10 -0
  202. package/dist/data-providers/network/pointcloud/searchHybridPointCloudDmAssetsForModels.js +9 -0
  203. package/dist/data-providers/network/searchClassicAssetsForModels.d.ts +17 -0
  204. package/dist/data-providers/network/searchClassicAssetsForModels.js +20 -0
  205. package/dist/data-providers/network/searchClassicImage360Assets.d.ts +5 -0
  206. package/dist/data-providers/network/searchClassicImage360Assets.js +12 -0
  207. package/dist/data-providers/network/searchHybridDmAssetsForModels.d.ts +14 -0
  208. package/dist/data-providers/network/searchHybridDmAssetsForModels.js +21 -0
  209. package/dist/data-providers/network/types.d.ts +40 -0
  210. package/dist/data-providers/types/index.d.ts +5 -0
  211. package/dist/data-providers/types/index.js +4 -0
  212. package/dist/data-providers/types/resources.d.ts +107 -0
  213. package/dist/data-providers/types/styling.d.ts +18 -0
  214. package/dist/data-providers/types/typeAdapters.d.ts +47 -0
  215. package/dist/data-providers/types/typeAdapters.js +158 -0
  216. package/dist/data-providers/types/typeGuards.d.ts +23 -0
  217. package/dist/data-providers/types/typeGuards.js +4 -0
  218. package/dist/data-providers/types/utils.d.ts +13 -0
  219. package/dist/data-providers/types/utils.js +13 -0
  220. package/dist/data-providers/utils/cadConnectionMapping.d.ts +25 -0
  221. package/dist/data-providers/utils/cadConnectionMapping.js +31 -0
  222. package/dist/data-providers/utils/cadNodeConnectionFields.d.ts +28 -0
  223. package/dist/data-providers/utils/cadNodeConnectionFields.js +38 -0
  224. package/dist/data-providers/utils/getCogniteAssetDirectRelationProperties.d.ts +3 -0
  225. package/dist/data-providers/utils/getCogniteAssetDirectRelationProperties.js +26 -0
  226. package/dist/data-providers/utils/getDMSModelRevisionRefs.d.ts +4 -0
  227. package/dist/data-providers/utils/getDMSModelRevisionRefs.js +12 -0
  228. package/dist/data-providers/utils/getDirectRelationProperties.d.ts +2 -0
  229. package/dist/data-providers/utils/getDirectRelationProperties.js +13 -0
  230. package/dist/data-providers/utils/index.d.ts +1 -0
  231. package/dist/data-providers/utils/index.js +0 -0
  232. package/dist/data-providers/utils/mergeQueryResult.d.ts +1 -0
  233. package/dist/data-providers/utils/mergeQueryResult.js +8 -0
  234. package/dist/data-providers/utils/queryNodesAndEdges.d.ts +50 -0
  235. package/dist/data-providers/utils/queryNodesAndEdges.js +10 -0
  236. package/dist/data-providers/utils/typeUtils.d.ts +2 -0
  237. package/dist/domains/annotation360/DeleteSelectedImage360AnnotationCommand.d.ts +12 -0
  238. package/dist/domains/annotation360/DeleteSelectedImage360AnnotationCommand.js +30 -0
  239. package/dist/domains/annotation360/Image360AnnotationCreateTool.d.ts +23 -0
  240. package/dist/domains/annotation360/Image360AnnotationCreateTool.js +91 -0
  241. package/dist/domains/annotation360/Image360AnnotationCreator.d.ts +10 -0
  242. package/dist/domains/annotation360/Image360AnnotationCreator.js +21 -0
  243. package/dist/domains/annotation360/Image360AnnotationDomainObject.d.ts +28 -0
  244. package/dist/domains/annotation360/Image360AnnotationDomainObject.js +60 -0
  245. package/dist/domains/annotation360/Image360AnnotationFolder.d.ts +7 -0
  246. package/dist/domains/annotation360/Image360AnnotationFolder.js +13 -0
  247. package/dist/domains/annotation360/Image360AnnotationSelectTool.d.ts +17 -0
  248. package/dist/domains/annotation360/Image360AnnotationSelectTool.js +52 -0
  249. package/dist/domains/annotation360/createTriangleIndexesFromVectors.d.ts +2 -0
  250. package/dist/domains/annotation360/createTriangleIndexesFromVectors.js +90 -0
  251. package/dist/domains/annotation360/types.d.ts +13 -0
  252. package/dist/domains/annotations/AnnotationsDomainObject.d.ts +39 -0
  253. package/dist/domains/annotations/AnnotationsDomainObject.js +123 -0
  254. package/dist/domains/annotations/AnnotationsRenderStyle.d.ts +18 -0
  255. package/dist/domains/annotations/AnnotationsRenderStyle.js +30 -0
  256. package/dist/domains/annotations/AnnotationsView.d.ts +37 -0
  257. package/dist/domains/annotations/AnnotationsView.js +225 -0
  258. package/dist/domains/annotations/BoxGizmoDomainObject.d.ts +20 -0
  259. package/dist/domains/annotations/BoxGizmoDomainObject.js +62 -0
  260. package/dist/domains/annotations/CylinderGizmoDomainObject.d.ts +21 -0
  261. package/dist/domains/annotations/CylinderGizmoDomainObject.js +63 -0
  262. package/dist/domains/annotations/commands/AnnotationsAlignCommand.d.ts +14 -0
  263. package/dist/domains/annotations/commands/AnnotationsAlignCommand.js +44 -0
  264. package/dist/domains/annotations/commands/AnnotationsCreateMockCommand.d.ts +11 -0
  265. package/dist/domains/annotations/commands/AnnotationsCreateMockCommand.js +60 -0
  266. package/dist/domains/annotations/commands/AnnotationsCreateTool.d.ts +25 -0
  267. package/dist/domains/annotations/commands/AnnotationsCreateTool.js +141 -0
  268. package/dist/domains/annotations/commands/AnnotationsDeleteCommand.d.ts +11 -0
  269. package/dist/domains/annotations/commands/AnnotationsDeleteCommand.js +27 -0
  270. package/dist/domains/annotations/commands/AnnotationsSelectTool.d.ts +26 -0
  271. package/dist/domains/annotations/commands/AnnotationsSelectTool.js +94 -0
  272. package/dist/domains/annotations/commands/AnnotationsSetCreateTypeCommand.d.ts +16 -0
  273. package/dist/domains/annotations/commands/AnnotationsSetCreateTypeCommand.js +44 -0
  274. package/dist/domains/annotations/commands/AnnotationsShowCommand.d.ts +7 -0
  275. package/dist/domains/annotations/commands/AnnotationsShowCommand.js +13 -0
  276. package/dist/domains/annotations/commands/AnnotationsShowOnTopCommand.d.ts +7 -0
  277. package/dist/domains/annotations/commands/AnnotationsShowOnTopCommand.js +13 -0
  278. package/dist/domains/annotations/commands/isGizmo.d.ts +3 -0
  279. package/dist/domains/annotations/commands/isGizmo.js +12 -0
  280. package/dist/domains/annotations/helpers/Annotation.d.ts +47 -0
  281. package/dist/domains/annotations/helpers/Annotation.js +113 -0
  282. package/dist/domains/annotations/helpers/AnnotationChangedDescription.d.ts +6 -0
  283. package/dist/domains/annotations/helpers/AnnotationChangedDescription.js +10 -0
  284. package/dist/domains/annotations/helpers/AnnotationUtils.d.ts +8 -0
  285. package/dist/domains/annotations/helpers/AnnotationUtils.js +128 -0
  286. package/dist/domains/annotations/helpers/Status.d.ts +7 -0
  287. package/dist/domains/annotations/helpers/Status.js +11 -0
  288. package/dist/domains/annotations/helpers/WireframeUserData.d.ts +12 -0
  289. package/dist/domains/annotations/helpers/WireframeUserData.js +23 -0
  290. package/dist/domains/annotations/helpers/constants.d.ts +1 -0
  291. package/dist/domains/annotations/helpers/constants.js +4 -0
  292. package/dist/domains/annotations/helpers/createWireframeFromMultipleAnnotations.d.ts +14 -0
  293. package/dist/domains/annotations/helpers/createWireframeFromMultipleAnnotations.js +43 -0
  294. package/dist/domains/annotations/helpers/getClosestAnnotation.d.ts +13 -0
  295. package/dist/domains/annotations/helpers/getClosestAnnotation.js +36 -0
  296. package/dist/domains/annotations/helpers/getMatrixUtils.d.ts +6 -0
  297. package/dist/domains/annotations/helpers/getMatrixUtils.js +11 -0
  298. package/dist/domains/axis/AxisDomainObject.d.ts +11 -0
  299. package/dist/domains/axis/AxisDomainObject.js +22 -0
  300. package/dist/domains/axis/AxisRenderStyle.d.ts +23 -0
  301. package/dist/domains/axis/AxisRenderStyle.js +45 -0
  302. package/dist/domains/axis/AxisThreeView.d.ts +30 -0
  303. package/dist/domains/axis/AxisThreeView.js +256 -0
  304. package/dist/domains/axis/SetAxisVisibleCommand.d.ts +11 -0
  305. package/dist/domains/axis/SetAxisVisibleCommand.js +27 -0
  306. package/dist/domains/circleMarker/CircleMarkerDomainObject.d.ts +45 -0
  307. package/dist/domains/circleMarker/CircleMarkerDomainObject.js +60 -0
  308. package/dist/domains/circleMarker/CircleMarkerRenderStyle.d.ts +11 -0
  309. package/dist/domains/circleMarker/CircleMarkerRenderStyle.js +18 -0
  310. package/dist/domains/circleMarker/CircleMarkerView.d.ts +14 -0
  311. package/dist/domains/circleMarker/CircleMarkerView.js +45 -0
  312. package/dist/domains/clipping/ClipFolder.d.ts +7 -0
  313. package/dist/domains/clipping/ClipFolder.js +12 -0
  314. package/dist/domains/clipping/ClipTool.d.ts +17 -0
  315. package/dist/domains/clipping/ClipTool.js +47 -0
  316. package/dist/domains/clipping/CropBoxDomainObject.d.ts +23 -0
  317. package/dist/domains/clipping/CropBoxDomainObject.js +77 -0
  318. package/dist/domains/clipping/SliceDomainObject.d.ts +15 -0
  319. package/dist/domains/clipping/SliceDomainObject.js +45 -0
  320. package/dist/domains/clipping/commands/ApplyClipCommand.d.ts +13 -0
  321. package/dist/domains/clipping/commands/ApplyClipCommand.js +38 -0
  322. package/dist/domains/clipping/commands/FlipSliceCommand.d.ts +9 -0
  323. package/dist/domains/clipping/commands/FlipSliceCommand.js +17 -0
  324. package/dist/domains/clipping/commands/NextClippingCommand.d.ts +19 -0
  325. package/dist/domains/clipping/commands/NextClippingCommand.js +68 -0
  326. package/dist/domains/clipping/commands/SetClipTypeCommand.d.ts +19 -0
  327. package/dist/domains/clipping/commands/SetClipTypeCommand.js +63 -0
  328. package/dist/domains/clipping/commands/ShowAllClippingCommand.d.ts +12 -0
  329. package/dist/domains/clipping/commands/ShowAllClippingCommand.js +29 -0
  330. package/dist/domains/clipping/commands/ShowClippingOnTopCommand.d.ts +7 -0
  331. package/dist/domains/clipping/commands/ShowClippingOnTopCommand.js +14 -0
  332. package/dist/domains/clipping/commands/ToggleGlobalCropBoxCommand.d.ts +14 -0
  333. package/dist/domains/clipping/commands/ToggleGlobalCropBoxCommand.js +34 -0
  334. package/dist/domains/clipping/commands/setClippingPlanes.d.ts +2 -0
  335. package/dist/domains/clipping/commands/setClippingPlanes.js +13 -0
  336. package/dist/domains/directionalMarker360/DirectionalMarker360Controller.d.ts +53 -0
  337. package/dist/domains/directionalMarker360/DirectionalMarker360Controller.js +121 -0
  338. package/dist/domains/directionalMarker360/DirectionalMarker360DomainObject.d.ts +17 -0
  339. package/dist/domains/directionalMarker360/DirectionalMarker360DomainObject.js +31 -0
  340. package/dist/domains/directionalMarker360/DirectionalMarker360Mesh.d.ts +19 -0
  341. package/dist/domains/directionalMarker360/DirectionalMarker360Mesh.js +34 -0
  342. package/dist/domains/directionalMarker360/DirectionalMarker360RenderStyle.d.ts +8 -0
  343. package/dist/domains/directionalMarker360/DirectionalMarker360RenderStyle.js +15 -0
  344. package/dist/domains/directionalMarker360/DirectionalMarker360View.d.ts +15 -0
  345. package/dist/domains/directionalMarker360/DirectionalMarker360View.js +42 -0
  346. package/dist/domains/directionalMarker360/estimateNormalViaPCA.d.ts +13 -0
  347. package/dist/domains/directionalMarker360/estimateNormalViaPCA.js +53 -0
  348. package/dist/domains/example/ExampleDomainObject.d.ts +28 -0
  349. package/dist/domains/example/ExampleDomainObject.js +66 -0
  350. package/dist/domains/example/ExampleDragger.d.ts +13 -0
  351. package/dist/domains/example/ExampleDragger.js +25 -0
  352. package/dist/domains/example/ExampleRenderStyle.d.ts +7 -0
  353. package/dist/domains/example/ExampleRenderStyle.js +12 -0
  354. package/dist/domains/example/ExampleTool.d.ts +14 -0
  355. package/dist/domains/example/ExampleTool.js +72 -0
  356. package/dist/domains/example/ExampleView.d.ts +12 -0
  357. package/dist/domains/example/ExampleView.js +49 -0
  358. package/dist/domains/example/commands/DeleteAllExamplesCommand.d.ts +12 -0
  359. package/dist/domains/example/commands/DeleteAllExamplesCommand.js +30 -0
  360. package/dist/domains/example/commands/ResetAllExamplesCommand.d.ts +10 -0
  361. package/dist/domains/example/commands/ResetAllExamplesCommand.js +21 -0
  362. package/dist/domains/example/commands/ShowAllExamplesCommand.d.ts +7 -0
  363. package/dist/domains/example/commands/ShowAllExamplesCommand.js +13 -0
  364. package/dist/domains/example/commands/ShowExamplesOnTopCommand.d.ts +7 -0
  365. package/dist/domains/example/commands/ShowExamplesOnTopCommand.js +13 -0
  366. package/dist/domains/groundPlane/GroundPlaneDomainObject.d.ts +29 -0
  367. package/dist/domains/groundPlane/GroundPlaneDomainObject.js +44 -0
  368. package/dist/domains/groundPlane/GroundPlaneView.d.ts +6 -0
  369. package/dist/domains/groundPlane/GroundPlaneView.js +22 -0
  370. package/dist/domains/groundPlane/index.d.ts +2 -0
  371. package/dist/domains/index.d.ts +113 -0
  372. package/dist/domains/index.js +103 -0
  373. package/dist/domains/installThreeViews.d.ts +1 -0
  374. package/dist/domains/installThreeViews.js +40 -0
  375. package/dist/domains/installToolbars.d.ts +1 -0
  376. package/dist/domains/installToolbars.js +72 -0
  377. package/dist/domains/measurements/MeasureBoxDomainObject.d.ts +8 -0
  378. package/dist/domains/measurements/MeasureBoxDomainObject.js +17 -0
  379. package/dist/domains/measurements/MeasureCylinderDomainObject.d.ts +7 -0
  380. package/dist/domains/measurements/MeasureCylinderDomainObject.js +15 -0
  381. package/dist/domains/measurements/MeasureLineDomainObject.d.ts +7 -0
  382. package/dist/domains/measurements/MeasureLineDomainObject.js +14 -0
  383. package/dist/domains/measurements/MeasurementFolder.d.ts +7 -0
  384. package/dist/domains/measurements/MeasurementFolder.js +12 -0
  385. package/dist/domains/measurements/MeasurementTool.d.ts +23 -0
  386. package/dist/domains/measurements/MeasurementTool.js +105 -0
  387. package/dist/domains/measurements/commands/SetMeasurementTypeCommand.d.ts +18 -0
  388. package/dist/domains/measurements/commands/SetMeasurementTypeCommand.js +69 -0
  389. package/dist/domains/measurements/commands/ShowMeasurementsOnTopCommand.d.ts +9 -0
  390. package/dist/domains/measurements/commands/ShowMeasurementsOnTopCommand.js +19 -0
  391. package/dist/domains/measurements/diameter/getBestFitCylinderByIntersection.d.ts +18 -0
  392. package/dist/domains/measurements/diameter/getBestFitCylinderByIntersection.js +21 -0
  393. package/dist/domains/measurements/diameter/measureDiameterToolUtils.d.ts +4 -0
  394. package/dist/domains/measurements/diameter/measureDiameterToolUtils.js +26 -0
  395. package/dist/domains/measurements/point/MeasurePointCreator.d.ts +17 -0
  396. package/dist/domains/measurements/point/MeasurePointCreator.js +26 -0
  397. package/dist/domains/measurements/point/MeasurePointDomainObject.d.ts +19 -0
  398. package/dist/domains/measurements/point/MeasurePointDomainObject.js +72 -0
  399. package/dist/domains/measurements/updateFocusPointMarker.d.ts +2 -0
  400. package/dist/domains/measurements/updateFocusPointMarker.js +12 -0
  401. package/dist/domains/pointsOfInterest/DeletePointsOfInterestCommand.d.ts +11 -0
  402. package/dist/domains/pointsOfInterest/DeletePointsOfInterestCommand.js +25 -0
  403. package/dist/domains/pointsOfInterest/InitiatePointsOfInterestCommand.d.ts +13 -0
  404. package/dist/domains/pointsOfInterest/InitiatePointsOfInterestCommand.js +25 -0
  405. package/dist/domains/pointsOfInterest/PoiHoverScheduler.d.ts +17 -0
  406. package/dist/domains/pointsOfInterest/PoiHoverScheduler.js +65 -0
  407. package/dist/domains/pointsOfInterest/PointOfInterestTreeNode.d.ts +22 -0
  408. package/dist/domains/pointsOfInterest/PointOfInterestTreeNode.js +43 -0
  409. package/dist/domains/pointsOfInterest/PointsOfInterestCache.d.ts +18 -0
  410. package/dist/domains/pointsOfInterest/PointsOfInterestCache.js +35 -0
  411. package/dist/domains/pointsOfInterest/PointsOfInterestCommand.d.ts +7 -0
  412. package/dist/domains/pointsOfInterest/PointsOfInterestCommand.js +14 -0
  413. package/dist/domains/pointsOfInterest/PointsOfInterestDomainObject.d.ts +72 -0
  414. package/dist/domains/pointsOfInterest/PointsOfInterestDomainObject.js +223 -0
  415. package/dist/domains/pointsOfInterest/PointsOfInterestProvider.d.ts +13 -0
  416. package/dist/domains/pointsOfInterest/PointsOfInterestTool.d.ts +59 -0
  417. package/dist/domains/pointsOfInterest/PointsOfInterestTool.js +148 -0
  418. package/dist/domains/pointsOfInterest/PointsOfInterestView.d.ts +25 -0
  419. package/dist/domains/pointsOfInterest/PointsOfInterestView.js +105 -0
  420. package/dist/domains/pointsOfInterest/SetPointsOfInterestVisibleCommand.d.ts +9 -0
  421. package/dist/domains/pointsOfInterest/SetPointsOfInterestVisibleCommand.js +24 -0
  422. package/dist/domains/pointsOfInterest/ads/PointsOfInterestAdsProvider.d.ts +23 -0
  423. package/dist/domains/pointsOfInterest/ads/PointsOfInterestAdsProvider.js +95 -0
  424. package/dist/domains/pointsOfInterest/ads/createUpsertRequestFromPois.d.ts +18 -0
  425. package/dist/domains/pointsOfInterest/ads/createUpsertRequestFromPois.js +31 -0
  426. package/dist/domains/pointsOfInterest/ads/createUserMap.d.ts +2 -0
  427. package/dist/domains/pointsOfInterest/ads/createUserMap.js +10 -0
  428. package/dist/domains/pointsOfInterest/ads/types.d.ts +54 -0
  429. package/dist/domains/pointsOfInterest/computeOverlayMatchingWorldDiameter.d.ts +18 -0
  430. package/dist/domains/pointsOfInterest/computeOverlayMatchingWorldDiameter.js +9 -0
  431. package/dist/domains/pointsOfInterest/getPoiIntersectionFromPixel.d.ts +8 -0
  432. package/dist/domains/pointsOfInterest/getPoiIntersectionFromPixel.js +12 -0
  433. package/dist/domains/pointsOfInterest/index.d.ts +3 -0
  434. package/dist/domains/pointsOfInterest/index.js +4 -0
  435. package/dist/domains/pointsOfInterest/models.d.ts +27 -0
  436. package/dist/domains/pointsOfInterest/poiMarkerTextures.d.ts +12 -0
  437. package/dist/domains/pointsOfInterest/poiMarkerTextures.js +25 -0
  438. package/dist/domains/pointsOfInterest/selectPoiFromPointer.d.ts +9 -0
  439. package/dist/domains/pointsOfInterest/selectPoiFromPointer.js +11 -0
  440. package/dist/domains/pointsOfInterest/types.d.ts +30 -0
  441. package/dist/domains/pointsOfInterest/types.js +39 -0
  442. package/dist/domains/primitives/box/BoxCreator.d.ts +24 -0
  443. package/dist/domains/primitives/box/BoxCreator.js +72 -0
  444. package/dist/domains/primitives/box/BoxDomainObject.d.ts +30 -0
  445. package/dist/domains/primitives/box/BoxDomainObject.js +114 -0
  446. package/dist/domains/primitives/box/BoxDragger.d.ts +33 -0
  447. package/dist/domains/primitives/box/BoxDragger.js +126 -0
  448. package/dist/domains/primitives/box/BoxView.d.ts +45 -0
  449. package/dist/domains/primitives/box/BoxView.js +307 -0
  450. package/dist/domains/primitives/common/BoxFace.d.ts +68 -0
  451. package/dist/domains/primitives/common/BoxFace.js +81 -0
  452. package/dist/domains/primitives/common/PrimitivePickInfo.d.ts +27 -0
  453. package/dist/domains/primitives/common/PrimitivePickInfo.js +12 -0
  454. package/dist/domains/primitives/common/PrimitiveRenderStyle.d.ts +12 -0
  455. package/dist/domains/primitives/common/PrimitiveRenderStyle.js +16 -0
  456. package/dist/domains/primitives/common/SolidDomainObject.d.ts +18 -0
  457. package/dist/domains/primitives/common/SolidDomainObject.js +39 -0
  458. package/dist/domains/primitives/common/SolidPrimitiveRenderStyle.d.ts +18 -0
  459. package/dist/domains/primitives/common/SolidPrimitiveRenderStyle.js +29 -0
  460. package/dist/domains/primitives/cylinder/CylinderCreator.d.ts +27 -0
  461. package/dist/domains/primitives/cylinder/CylinderCreator.js +79 -0
  462. package/dist/domains/primitives/cylinder/CylinderDomainObject.d.ts +26 -0
  463. package/dist/domains/primitives/cylinder/CylinderDomainObject.js +98 -0
  464. package/dist/domains/primitives/cylinder/CylinderDragger.d.ts +32 -0
  465. package/dist/domains/primitives/cylinder/CylinderDragger.js +112 -0
  466. package/dist/domains/primitives/cylinder/CylinderView.d.ts +30 -0
  467. package/dist/domains/primitives/cylinder/CylinderView.js +185 -0
  468. package/dist/domains/primitives/line/LineCreator.d.ts +20 -0
  469. package/dist/domains/primitives/line/LineCreator.js +53 -0
  470. package/dist/domains/primitives/line/LineDomainObject.d.ts +38 -0
  471. package/dist/domains/primitives/line/LineDomainObject.js +152 -0
  472. package/dist/domains/primitives/line/LineRenderStyle.d.ts +16 -0
  473. package/dist/domains/primitives/line/LineRenderStyle.js +23 -0
  474. package/dist/domains/primitives/line/LineView.d.ts +17 -0
  475. package/dist/domains/primitives/line/LineView.js +160 -0
  476. package/dist/domains/primitives/plane/PlaneCreator.d.ts +18 -0
  477. package/dist/domains/primitives/plane/PlaneCreator.js +61 -0
  478. package/dist/domains/primitives/plane/PlaneDomainObject.d.ts +37 -0
  479. package/dist/domains/primitives/plane/PlaneDomainObject.js +158 -0
  480. package/dist/domains/primitives/plane/PlaneDragger.d.ts +17 -0
  481. package/dist/domains/primitives/plane/PlaneDragger.js +35 -0
  482. package/dist/domains/primitives/plane/PlaneView.d.ts +22 -0
  483. package/dist/domains/primitives/plane/PlaneView.js +140 -0
  484. package/dist/domains/primitives/tools/PrimitiveEditTool.d.ts +29 -0
  485. package/dist/domains/primitives/tools/PrimitiveEditTool.js +173 -0
  486. package/dist/domains/reveal/Image360Collection/Image360CollectionDomainObject.d.ts +44 -0
  487. package/dist/domains/reveal/Image360Collection/Image360CollectionDomainObject.js +98 -0
  488. package/dist/domains/reveal/Image360Collection/Image360CollectionFolder.d.ts +6 -0
  489. package/dist/domains/reveal/Image360Collection/Image360CollectionFolder.js +12 -0
  490. package/dist/domains/reveal/Image360Collection/Image360CollectionThreeView.d.ts +12 -0
  491. package/dist/domains/reveal/Image360Collection/Image360CollectionThreeView.js +24 -0
  492. package/dist/domains/reveal/Image360Collection/commands/Image360ActionCommand.d.ts +14 -0
  493. package/dist/domains/reveal/Image360Collection/commands/Image360ActionCommand.js +45 -0
  494. package/dist/domains/reveal/Image360Collection/commands/Image360CollectionDividerCommand.d.ts +4 -0
  495. package/dist/domains/reveal/Image360Collection/commands/Set360IconsOccludedVisibleCommand.d.ts +11 -0
  496. package/dist/domains/reveal/Image360Collection/commands/Set360IconsOccludedVisibleCommand.js +25 -0
  497. package/dist/domains/reveal/Image360Collection/commands/Set360IconsOpacityCommand.d.ts +10 -0
  498. package/dist/domains/reveal/Image360Collection/commands/Set360IconsOpacityCommand.js +22 -0
  499. package/dist/domains/reveal/Image360Collection/commands/Set360IconsSectionCommand.d.ts +6 -0
  500. package/dist/domains/reveal/Image360Collection/commands/Set360IconsSectionCommand.js +13 -0
  501. package/dist/domains/reveal/Image360Collection/commands/Set360IconsVisibleCommand.d.ts +11 -0
  502. package/dist/domains/reveal/Image360Collection/commands/Set360IconsVisibleCommand.js +25 -0
  503. package/dist/domains/reveal/Image360Collection/commands/Set360ImagesOpacityCommand.d.ts +10 -0
  504. package/dist/domains/reveal/Image360Collection/commands/Set360ImagesOpacityCommand.js +22 -0
  505. package/dist/domains/reveal/Image360Collection/commands/Set360ImagesSectionCommand.d.ts +6 -0
  506. package/dist/domains/reveal/Image360Collection/commands/Show360AnnotationsCommand.d.ts +13 -0
  507. package/dist/domains/reveal/Image360Collection/commands/Show360AnnotationsCommand.js +29 -0
  508. package/dist/domains/reveal/RevealDomainObject.d.ts +3 -0
  509. package/dist/domains/reveal/RevealDomainObject.js +5 -0
  510. package/dist/domains/reveal/RevealDomainObjectUtils.d.ts +31 -0
  511. package/dist/domains/reveal/RevealDomainObjectUtils.js +78 -0
  512. package/dist/domains/reveal/RevealSettingsController.d.ts +43 -0
  513. package/dist/domains/reveal/RevealSettingsController.js +170 -0
  514. package/dist/domains/reveal/RevealTypes.d.ts +4 -0
  515. package/dist/domains/reveal/cad/CadDomainObject.d.ts +39 -0
  516. package/dist/domains/reveal/cad/CadDomainObject.js +96 -0
  517. package/dist/domains/reveal/cad/CadDomainObjectUtils.d.ts +21 -0
  518. package/dist/domains/reveal/cad/CadDomainObjectUtils.js +39 -0
  519. package/dist/domains/reveal/cad/CadFolder.d.ts +6 -0
  520. package/dist/domains/reveal/cad/CadFolder.js +12 -0
  521. package/dist/domains/reveal/cad/CadThreeView.d.ts +12 -0
  522. package/dist/domains/reveal/cad/CadThreeView.js +25 -0
  523. package/dist/domains/reveal/cad/commands/CadDividerCommand.d.ts +4 -0
  524. package/dist/domains/reveal/cad/commands/SetGhostModeCommand.d.ts +10 -0
  525. package/dist/domains/reveal/cad/commands/SetGhostModeCommand.js +24 -0
  526. package/dist/domains/reveal/constants.d.ts +2 -0
  527. package/dist/domains/reveal/constants.js +14 -0
  528. package/dist/domains/reveal/getOrCreateFolder.d.ts +17 -0
  529. package/dist/domains/reveal/getOrCreateFolder.js +26 -0
  530. package/dist/domains/reveal/pointCloud/PointCloudDomainObject.d.ts +31 -0
  531. package/dist/domains/reveal/pointCloud/PointCloudDomainObject.js +57 -0
  532. package/dist/domains/reveal/pointCloud/PointCloudFolder.d.ts +6 -0
  533. package/dist/domains/reveal/pointCloud/PointCloudFolder.js +12 -0
  534. package/dist/domains/reveal/pointCloud/PointCloudThreeView.d.ts +11 -0
  535. package/dist/domains/reveal/pointCloud/PointCloudThreeView.js +25 -0
  536. package/dist/domains/reveal/pointCloud/commands/PointCloudFilterCommand.d.ts +31 -0
  537. package/dist/domains/reveal/pointCloud/commands/PointCloudFilterCommand.js +96 -0
  538. package/dist/domains/reveal/pointCloud/commands/SetPointColorTypeCommand.d.ts +10 -0
  539. package/dist/domains/reveal/pointCloud/commands/SetPointColorTypeCommand.js +54 -0
  540. package/dist/domains/reveal/pointCloud/commands/SetPointShapeCommand.d.ts +10 -0
  541. package/dist/domains/reveal/pointCloud/commands/SetPointShapeCommand.js +45 -0
  542. package/dist/domains/reveal/pointCloud/commands/SetPointSizeCommand.d.ts +15 -0
  543. package/dist/domains/reveal/pointCloud/commands/SetPointSizeCommand.js +58 -0
  544. package/dist/domains/reveal/pointCloud/isPointCloudIntersection.d.ts +2 -0
  545. package/dist/domains/reveal/pointCloud/isPointCloudIntersection.js +6 -0
  546. package/dist/domains/reveal/signal/getRevealDomainObjectsSignal.d.ts +4 -0
  547. package/dist/domains/reveal/signal/getRevealDomainObjectsSignal.js +22 -0
  548. package/dist/domains/reveal/utils/getViewer.d.ts +3 -0
  549. package/dist/domains/reveal/utils/getViewer.js +9 -0
  550. package/dist/domains/reveal/utils/isImage360AnnotationHit.d.ts +8 -0
  551. package/dist/domains/reveal/utils/isImage360AnnotationHit.js +6 -0
  552. package/dist/domains/reveal/utils/layersUrlStateParam.d.ts +19 -0
  553. package/dist/domains/reveal/utils/updateLayerState.d.ts +6 -0
  554. package/dist/domains/reveal/utils/updateLayerState.js +57 -0
  555. package/dist/domains/scene/SceneDomainObject.d.ts +41 -0
  556. package/dist/domains/scene/SceneDomainObject.js +56 -0
  557. package/dist/domains/scene/createResourceTransformation.d.ts +9 -0
  558. package/dist/domains/scene/createResourceTransformation.js +15 -0
  559. package/dist/domains/scene/fetchSceneConfig.d.ts +11 -0
  560. package/dist/domains/scene/fetchSceneConfig.js +64 -0
  561. package/dist/domains/scene/loadSceneGroundPlanes.d.ts +10 -0
  562. package/dist/domains/scene/loadSceneGroundPlanes.js +32 -0
  563. package/dist/domains/scene/loadSceneImage360Collections.d.ts +11 -0
  564. package/dist/domains/scene/loadSceneImage360Collections.js +27 -0
  565. package/dist/domains/scene/loadSceneModels.d.ts +15 -0
  566. package/dist/domains/scene/loadSceneModels.js +62 -0
  567. package/dist/domains/scene/loadScenePointsOfInterest.d.ts +9 -0
  568. package/dist/domains/scene/loadScenePointsOfInterest.js +18 -0
  569. package/dist/domains/scene/loadSceneSkybox.d.ts +9 -0
  570. package/dist/domains/scene/loadSceneSkybox.js +19 -0
  571. package/dist/domains/scene/loadTextureFromFileExternalId.d.ts +15 -0
  572. package/dist/domains/scene/loadTextureFromFileExternalId.js +10 -0
  573. package/dist/domains/scene/parseSceneResponse.d.ts +7 -0
  574. package/dist/domains/scene/parseSceneResponse.js +71 -0
  575. package/dist/domains/skybox/SkyboxDomainObject.d.ts +15 -0
  576. package/dist/domains/skybox/SkyboxDomainObject.js +29 -0
  577. package/dist/domains/skybox/SkyboxView.d.ts +8 -0
  578. package/dist/domains/skybox/SkyboxView.js +29 -0
  579. package/dist/domains/skybox/index.d.ts +2 -0
  580. package/dist/domains/skybox/index.js +3 -0
  581. package/dist/domains/temporary/TemporaryFolder.d.ts +9 -0
  582. package/dist/domains/temporary/TemporaryFolder.js +17 -0
  583. package/dist/domains/temporary/getOrCreateTemporaryFolder.d.ts +5 -0
  584. package/dist/domains/temporary/getOrCreateTemporaryFolder.js +16 -0
  585. package/dist/domains/terrain/SetTerrainVisibleCommand.d.ts +8 -0
  586. package/dist/domains/terrain/TerrainDomainObject.d.ts +16 -0
  587. package/dist/domains/terrain/TerrainDomainObject.js +36 -0
  588. package/dist/domains/terrain/TerrainRenderStyle.d.ts +18 -0
  589. package/dist/domains/terrain/TerrainRenderStyle.js +24 -0
  590. package/dist/domains/terrain/TerrainThreeView.d.ts +13 -0
  591. package/dist/domains/terrain/TerrainThreeView.js +85 -0
  592. package/dist/domains/terrain/geometry/ContouringService.d.ts +12 -0
  593. package/dist/domains/terrain/geometry/ContouringService.js +39 -0
  594. package/dist/domains/terrain/geometry/Grid2.d.ts +14 -0
  595. package/dist/domains/terrain/geometry/RegularGrid2.d.ts +36 -0
  596. package/dist/domains/terrain/geometry/RegularGrid2Buffers.d.ts +8 -0
  597. package/dist/domains/terrain/geometry/RegularGrid2Buffers.js +39 -0
  598. package/dist/domains/terrain/geometry/createFractalRegularGrid2.d.ts +4 -0
  599. package/dist/foundation/commands/BaseBannerCommand.d.ts +16 -0
  600. package/dist/foundation/commands/BaseBannerCommand.js +11 -0
  601. package/dist/foundation/commands/BaseCommand.d.ts +88 -0
  602. package/dist/foundation/commands/BaseCommand.js +112 -0
  603. package/dist/foundation/commands/BaseEditTool.d.ts +68 -0
  604. package/dist/foundation/commands/BaseEditTool.js +85 -0
  605. package/dist/foundation/commands/BaseFilterCommand.d.ts +43 -0
  606. package/dist/foundation/commands/BaseFilterCommand.js +60 -0
  607. package/dist/foundation/commands/BaseInputCommand.d.ts +14 -0
  608. package/dist/foundation/commands/BaseInputCommand.js +24 -0
  609. package/dist/foundation/commands/BaseOptionCommand.d.ts +22 -0
  610. package/dist/foundation/commands/BaseOptionCommand.js +37 -0
  611. package/dist/foundation/commands/BaseSettingsCommand.d.ts +10 -0
  612. package/dist/foundation/commands/BaseSettingsCommand.js +27 -0
  613. package/dist/foundation/commands/BaseSliderCommand.d.ts +13 -0
  614. package/dist/foundation/commands/BaseSliderCommand.js +16 -0
  615. package/dist/foundation/commands/BaseTool.d.ts +63 -0
  616. package/dist/foundation/commands/BaseTool.js +109 -0
  617. package/dist/foundation/commands/CustomBaseInputCommand.d.ts +30 -0
  618. package/dist/foundation/commands/CustomBaseInputCommand.js +41 -0
  619. package/dist/foundation/commands/DividerCommand.d.ts +7 -0
  620. package/dist/foundation/commands/DividerCommand.js +15 -0
  621. package/dist/foundation/commands/DomainObjectCommand.d.ts +7 -0
  622. package/dist/foundation/commands/DomainObjectCommand.js +13 -0
  623. package/dist/foundation/commands/FractionSliderCommand.d.ts +5 -0
  624. package/dist/foundation/commands/FractionSliderCommand.js +12 -0
  625. package/dist/foundation/commands/GeneralBannerCommand.d.ts +15 -0
  626. package/dist/foundation/commands/GeneralBannerCommand.js +29 -0
  627. package/dist/foundation/commands/GroupCommand.d.ts +30 -0
  628. package/dist/foundation/commands/GroupCommand.js +48 -0
  629. package/dist/foundation/commands/InstanceCommand.d.ts +9 -0
  630. package/dist/foundation/commands/InstanceCommand.js +18 -0
  631. package/dist/foundation/commands/RenderTargetCommand.d.ts +25 -0
  632. package/dist/foundation/commands/RenderTargetCommand.js +44 -0
  633. package/dist/foundation/commands/SectionCommand.d.ts +7 -0
  634. package/dist/foundation/commands/SectionCommand.js +15 -0
  635. package/dist/foundation/commands/ShowAllDomainObjectsCommand.d.ts +11 -0
  636. package/dist/foundation/commands/ShowAllDomainObjectsCommand.js +27 -0
  637. package/dist/foundation/commands/ShowDomainObjectsOnTopCommand.d.ts +9 -0
  638. package/dist/foundation/commands/ShowDomainObjectsOnTopCommand.js +31 -0
  639. package/dist/foundation/commands/factory/ToolbarFactory.d.ts +25 -0
  640. package/dist/foundation/commands/factory/ToolbarFactory.js +14 -0
  641. package/dist/foundation/concreteCommands/general/CopyToClipboardCommand.d.ts +17 -0
  642. package/dist/foundation/concreteCommands/general/CopyToClipboardCommand.js +31 -0
  643. package/dist/foundation/concreteCommands/general/DeleteDomainObjectCommand.d.ts +11 -0
  644. package/dist/foundation/concreteCommands/general/DeleteDomainObjectCommand.js +22 -0
  645. package/dist/foundation/concreteCommands/general/HelpCommand.d.ts +12 -0
  646. package/dist/foundation/concreteCommands/general/HelpCommand.js +23 -0
  647. package/dist/foundation/concreteCommands/general/SettingsCommand.d.ts +14 -0
  648. package/dist/foundation/concreteCommands/general/SettingsCommand.js +55 -0
  649. package/dist/foundation/concreteCommands/general/ShareCommand.d.ts +15 -0
  650. package/dist/foundation/concreteCommands/general/ShareCommand.js +27 -0
  651. package/dist/foundation/concreteCommands/general/ShowLayersCommand.d.ts +13 -0
  652. package/dist/foundation/concreteCommands/general/ShowLayersCommand.js +26 -0
  653. package/dist/foundation/concreteCommands/general/ShowTreeViewCommand.d.ts +13 -0
  654. package/dist/foundation/concreteCommands/general/ShowTreeViewCommand.js +26 -0
  655. package/dist/foundation/concreteCommands/general/UndoCommand.d.ts +12 -0
  656. package/dist/foundation/concreteCommands/general/UndoCommand.js +31 -0
  657. package/dist/foundation/concreteCommands/navigation/FitViewCommand.d.ts +8 -0
  658. package/dist/foundation/concreteCommands/navigation/FitViewCommand.js +15 -0
  659. package/dist/foundation/concreteCommands/navigation/KeyboardSpeedCommand.d.ts +9 -0
  660. package/dist/foundation/concreteCommands/navigation/KeyboardSpeedCommand.js +44 -0
  661. package/dist/foundation/concreteCommands/navigation/NavigationTool.d.ts +30 -0
  662. package/dist/foundation/concreteCommands/navigation/NavigationTool.js +100 -0
  663. package/dist/foundation/concreteCommands/navigation/SetFlexibleControlsTypeCommand.d.ts +19 -0
  664. package/dist/foundation/concreteCommands/navigation/SetFlexibleControlsTypeCommand.js +50 -0
  665. package/dist/foundation/concreteCommands/navigation/SetOrbitOrFirstPersonModeCommand.d.ts +9 -0
  666. package/dist/foundation/concreteCommands/navigation/SetOrbitOrFirstPersonModeCommand.js +20 -0
  667. package/dist/foundation/concreteCommands/quality/QualityWarningBannerCommand.d.ts +9 -0
  668. package/dist/foundation/concreteCommands/quality/QualityWarningBannerCommand.js +19 -0
  669. package/dist/foundation/concreteCommands/quality/SetQualityCommand.d.ts +15 -0
  670. package/dist/foundation/concreteCommands/quality/SetQualityCommand.js +59 -0
  671. package/dist/foundation/concreteCommands/quality/SetQualitySliderCommand.d.ts +12 -0
  672. package/dist/foundation/concreteCommands/quality/SetQualitySliderCommand.js +31 -0
  673. package/dist/foundation/concreteCommands/quality/fidelityLevels.d.ts +7 -0
  674. package/dist/foundation/concreteCommands/quality/fidelityLevels.js +89 -0
  675. package/dist/foundation/concreteCommands/units/CycleLengthUnitsCommand.d.ts +10 -0
  676. package/dist/foundation/concreteCommands/units/CycleLengthUnitsCommand.js +29 -0
  677. package/dist/foundation/concreteCommands/units/SetLengthUnitCommand.d.ts +8 -0
  678. package/dist/foundation/concreteCommands/units/SetLengthUnitCommand.js +36 -0
  679. package/dist/foundation/domainObjects/DomainObject.d.ts +212 -0
  680. package/dist/foundation/domainObjects/DomainObject.js +404 -0
  681. package/dist/foundation/domainObjects/FolderDomainObject.d.ts +11 -0
  682. package/dist/foundation/domainObjects/FolderDomainObject.js +25 -0
  683. package/dist/foundation/domainObjects/RootDomainObject.d.ts +28 -0
  684. package/dist/foundation/domainObjects/RootDomainObject.js +55 -0
  685. package/dist/foundation/domainObjects/VisualDomainObject.d.ts +41 -0
  686. package/dist/foundation/domainObjects/VisualDomainObject.js +46 -0
  687. package/dist/foundation/domainObjects/getRoot.d.ts +17 -0
  688. package/dist/foundation/domainObjects/getRoot.js +10 -0
  689. package/dist/foundation/domainObjectsHelpers/BaseCreator.d.ts +61 -0
  690. package/dist/foundation/domainObjectsHelpers/BaseCreator.js +57 -0
  691. package/dist/foundation/domainObjectsHelpers/BaseDragger.d.ts +47 -0
  692. package/dist/foundation/domainObjectsHelpers/BaseDragger.js +34 -0
  693. package/dist/foundation/domainObjectsHelpers/ChangedDescription.d.ts +6 -0
  694. package/dist/foundation/domainObjectsHelpers/ChangedDescription.js +14 -0
  695. package/dist/foundation/domainObjectsHelpers/Changes.d.ts +27 -0
  696. package/dist/foundation/domainObjectsHelpers/Changes.js +30 -0
  697. package/dist/foundation/domainObjectsHelpers/Class.d.ts +4 -0
  698. package/dist/foundation/domainObjectsHelpers/Class.js +6 -0
  699. package/dist/foundation/domainObjectsHelpers/ColorType.d.ts +8 -0
  700. package/dist/foundation/domainObjectsHelpers/ColorType.js +6 -0
  701. package/dist/foundation/domainObjectsHelpers/CommandChanges.d.ts +4 -0
  702. package/dist/foundation/domainObjectsHelpers/CommandChanges.js +7 -0
  703. package/dist/foundation/domainObjectsHelpers/DomainObjectChange.d.ts +28 -0
  704. package/dist/foundation/domainObjectsHelpers/DomainObjectChange.js +39 -0
  705. package/dist/foundation/domainObjectsHelpers/DomainObjectIntersection.d.ts +8 -0
  706. package/dist/foundation/domainObjectsHelpers/DomainObjectIntersection.js +9 -0
  707. package/dist/foundation/domainObjectsHelpers/FocusType.d.ts +9 -0
  708. package/dist/foundation/domainObjectsHelpers/FocusType.js +6 -0
  709. package/dist/foundation/domainObjectsHelpers/PanelInfo.d.ts +32 -0
  710. package/dist/foundation/domainObjectsHelpers/PanelInfo.js +40 -0
  711. package/dist/foundation/domainObjectsHelpers/PopupStyle.d.ts +30 -0
  712. package/dist/foundation/domainObjectsHelpers/PopupStyle.js +45 -0
  713. package/dist/foundation/domainObjectsHelpers/Quantity.d.ts +7 -0
  714. package/dist/foundation/domainObjectsHelpers/Quantity.js +6 -0
  715. package/dist/foundation/domainObjectsHelpers/Views.d.ts +31 -0
  716. package/dist/foundation/domainObjectsHelpers/Views.js +43 -0
  717. package/dist/foundation/domainObjectsHelpers/VisibleState.d.ts +7 -0
  718. package/dist/foundation/domainObjectsHelpers/VisibleState.js +6 -0
  719. package/dist/foundation/domainObjectsHelpers/getClosestDomainObjectIntersection.d.ts +9 -0
  720. package/dist/foundation/domainObjectsHelpers/getClosestDomainObjectIntersection.js +14 -0
  721. package/dist/foundation/reactUpdaters/DomainObjectPanelUpdater.d.ts +22 -0
  722. package/dist/foundation/reactUpdaters/DomainObjectPanelUpdater.js +30 -0
  723. package/dist/foundation/renderStyles/CommonRenderStyle.d.ts +4 -0
  724. package/dist/foundation/renderStyles/CommonRenderStyle.js +7 -0
  725. package/dist/foundation/renderStyles/RenderStyle.d.ts +3 -0
  726. package/dist/foundation/renderStyles/RenderStyle.js +4 -0
  727. package/dist/foundation/renderTarget/BaseRevealConfig.d.ts +14 -0
  728. package/dist/foundation/renderTarget/BaseRevealConfig.js +32 -0
  729. package/dist/foundation/renderTarget/CdfCaches.d.ts +35 -0
  730. package/dist/foundation/renderTarget/CdfCaches.js +52 -0
  731. package/dist/foundation/renderTarget/CommandsController.d.ts +71 -0
  732. package/dist/foundation/renderTarget/CommandsController.js +157 -0
  733. package/dist/foundation/renderTarget/DefaultRevealConfig.d.ts +3 -0
  734. package/dist/foundation/renderTarget/DefaultRevealConfig.js +5 -0
  735. package/dist/foundation/renderTarget/InstanceStylingController.d.ts +10 -0
  736. package/dist/foundation/renderTarget/InstanceStylingController.js +29 -0
  737. package/dist/foundation/renderTarget/RenderTarget.d.ts +30 -0
  738. package/dist/foundation/renderTarget/RevealRenderTarget.d.ts +109 -0
  739. package/dist/foundation/renderTarget/RevealRenderTarget.js +220 -0
  740. package/dist/foundation/renderTarget/UnitSystem.d.ts +27 -0
  741. package/dist/foundation/renderTarget/UnitSystem.js +86 -0
  742. package/dist/foundation/renderTarget/convertCoordinates.d.ts +4 -0
  743. package/dist/foundation/renderTarget/convertCoordinates.js +13 -0
  744. package/dist/foundation/treeNodes/cad-tree-node/cad-lazy-loader.d.ts +32 -0
  745. package/dist/foundation/treeNodes/cad-tree-node/cad-lazy-loader.js +117 -0
  746. package/dist/foundation/treeNodes/cad-tree-node/cad-node-update-styling.d.ts +6 -0
  747. package/dist/foundation/treeNodes/cad-tree-node/cad-node-update-styling.js +47 -0
  748. package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node-view-adapter.d.ts +42 -0
  749. package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node-view-adapter.js +83 -0
  750. package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node.d.ts +42 -0
  751. package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node.js +68 -0
  752. package/dist/foundation/treeNodes/cad-tree-node/cad-types.d.ts +10 -0
  753. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/classic-instance-mappings-sdk.d.ts +12 -0
  754. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/classic-instance-mappings-sdk.js +40 -0
  755. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/i-nodes-and-instance-mappings-sdk.d.ts +19 -0
  756. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/nodes-and-instance-mappings-sdk.d.ts +20 -0
  757. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/nodes-and-instance-mappings-sdk.js +22 -0
  758. package/dist/foundation/treeNodes/index.d.ts +1 -0
  759. package/dist/foundation/treeNodes/index.js +0 -0
  760. package/dist/foundation/treeNodes/tree-node/tree-node-functions-on-key-down.d.ts +4 -0
  761. package/dist/foundation/treeNodes/tree-node/tree-node-functions-on-key-down.js +66 -0
  762. package/dist/foundation/treeNodes/tree-node/tree-node-functions.d.ts +17 -0
  763. package/dist/foundation/treeNodes/tree-node/tree-node-functions.js +44 -0
  764. package/dist/foundation/treeNodes/tree-node/tree-node.d.ts +94 -0
  765. package/dist/foundation/treeNodes/tree-node/tree-node.js +238 -0
  766. package/dist/foundation/treeNodes/tree-node-type/i-lazy-loader.d.ts +58 -0
  767. package/dist/foundation/treeNodes/tree-node-type/tree-node-actions.d.ts +14 -0
  768. package/dist/foundation/treeNodes/tree-node-type/tree-node-type.d.ts +41 -0
  769. package/dist/foundation/undo/DomainObjectTransaction.d.ts +13 -0
  770. package/dist/foundation/undo/DomainObjectTransaction.js +28 -0
  771. package/dist/foundation/undo/Transaction.d.ts +12 -0
  772. package/dist/foundation/undo/Transaction.js +21 -0
  773. package/dist/foundation/undo/UndoManager.d.ts +16 -0
  774. package/dist/foundation/undo/UndoManager.js +28 -0
  775. package/dist/foundation/utilities/colors/ColorInterpolation.d.ts +5 -0
  776. package/dist/foundation/utilities/colors/ColorInterpolation.js +6 -0
  777. package/dist/foundation/utilities/colors/ColorMap.d.ts +17 -0
  778. package/dist/foundation/utilities/colors/ColorMap.js +58 -0
  779. package/dist/foundation/utilities/colors/ColorMapItem.d.ts +9 -0
  780. package/dist/foundation/utilities/colors/ColorMapItem.js +19 -0
  781. package/dist/foundation/utilities/colors/ColorMapType.d.ts +10 -0
  782. package/dist/foundation/utilities/colors/ColorMapType.js +6 -0
  783. package/dist/foundation/utilities/colors/colorMaps.d.ts +4 -0
  784. package/dist/foundation/utilities/colors/colorMaps.js +38 -0
  785. package/dist/foundation/utilities/colors/colorToHex.d.ts +2 -0
  786. package/dist/foundation/utilities/colors/colorToHex.js +12 -0
  787. package/dist/foundation/utilities/colors/colorUtils.d.ts +13 -0
  788. package/dist/foundation/utilities/colors/colorUtils.js +33 -0
  789. package/dist/foundation/utilities/colors/create1DTexture.d.ts +5 -0
  790. package/dist/foundation/utilities/colors/create1DTexture.js +15 -0
  791. package/dist/foundation/utilities/colors/getNextColor.d.ts +4 -0
  792. package/dist/foundation/utilities/colors/getNextColor.js +26 -0
  793. package/dist/foundation/utilities/cylinderFit/LeastSquare.d.ts +24 -0
  794. package/dist/foundation/utilities/cylinderFit/LeastSquare.js +34 -0
  795. package/dist/foundation/utilities/cylinderFit/LeastSquareCylinderResult.d.ts +19 -0
  796. package/dist/foundation/utilities/cylinderFit/LeastSquareCylinderResult.js +37 -0
  797. package/dist/foundation/utilities/cylinderFit/bestFitCylinder.d.ts +17 -0
  798. package/dist/foundation/utilities/cylinderFit/bestFitCylinder.js +114 -0
  799. package/dist/foundation/utilities/cylinderFit/bestFitVerticalCylinder.d.ts +14 -0
  800. package/dist/foundation/utilities/cylinderFit/bestFitVerticalCylinder.js +23 -0
  801. package/dist/foundation/utilities/cylinderFit/getTransformedPoints.d.ts +14 -0
  802. package/dist/foundation/utilities/cylinderFit/getTransformedPoints.js +9 -0
  803. package/dist/foundation/utilities/extensions/arrayUtils.d.ts +80 -0
  804. package/dist/foundation/utilities/extensions/arrayUtils.js +28 -0
  805. package/dist/foundation/utilities/extensions/generatorUtils.d.ts +5 -0
  806. package/dist/foundation/utilities/extensions/generatorUtils.js +6 -0
  807. package/dist/foundation/utilities/extensions/isMacOs.d.ts +1 -0
  808. package/dist/foundation/utilities/extensions/isMacOs.js +6 -0
  809. package/dist/foundation/utilities/extensions/mathUtils.d.ts +26 -0
  810. package/dist/foundation/utilities/extensions/mathUtils.js +78 -0
  811. package/dist/foundation/utilities/extensions/rayUtils.d.ts +10 -0
  812. package/dist/foundation/utilities/extensions/rayUtils.js +9 -0
  813. package/dist/foundation/utilities/extensions/stringUtils.d.ts +20 -0
  814. package/dist/foundation/utilities/extensions/stringUtils.js +21 -0
  815. package/dist/foundation/utilities/extensions/vectorUtils.d.ts +96 -0
  816. package/dist/foundation/utilities/extensions/vectorUtils.js +48 -0
  817. package/dist/foundation/utilities/geometry/Index2.d.ts +13 -0
  818. package/dist/foundation/utilities/geometry/Index2.js +38 -0
  819. package/dist/foundation/utilities/geometry/Range1.d.ts +36 -0
  820. package/dist/foundation/utilities/geometry/Range1.js +116 -0
  821. package/dist/foundation/utilities/geometry/Range3.d.ts +45 -0
  822. package/dist/foundation/utilities/geometry/Range3.js +156 -0
  823. package/dist/foundation/utilities/geometry/Shape.d.ts +10 -0
  824. package/dist/foundation/utilities/geometry/TrianglesBuffers.d.ts +20 -0
  825. package/dist/foundation/utilities/geometry/TrianglesBuffers.js +57 -0
  826. package/dist/foundation/utilities/geometry/getBoundingBoxFromPlanes.d.ts +3 -0
  827. package/dist/foundation/utilities/geometry/getBoundingBoxFromPlanes.js +53 -0
  828. package/dist/foundation/utilities/geometry/getCorners.d.ts +2 -0
  829. package/dist/foundation/utilities/geometry/getCorners.js +7 -0
  830. package/dist/foundation/utilities/geometry/getResizeCursor.d.ts +12 -0
  831. package/dist/foundation/utilities/geometry/getResizeCursor.js +16 -0
  832. package/dist/foundation/utilities/geometry/isBoxVisibleByPlanes.d.ts +3 -0
  833. package/dist/foundation/utilities/geometry/isBoxVisibleByPlanes.js +12 -0
  834. package/dist/foundation/utilities/index.d.ts +1 -0
  835. package/dist/foundation/utilities/index.js +2 -0
  836. package/dist/foundation/utilities/misc/DeferredFunction.d.ts +13 -0
  837. package/dist/foundation/utilities/misc/DeferredFunction.js +21 -0
  838. package/dist/foundation/utilities/misc/Random.d.ts +39 -0
  839. package/dist/foundation/utilities/misc/defaultPolygonOffset.d.ts +7 -0
  840. package/dist/foundation/utilities/misc/defaultPolygonOffset.js +11 -0
  841. package/dist/foundation/utilities/misc/incrementSignal.d.ts +8 -0
  842. package/dist/foundation/utilities/misc/incrementSignal.js +6 -0
  843. package/dist/foundation/utilities/misc/sleep.d.ts +1 -0
  844. package/dist/foundation/utilities/misc/typeGuards.d.ts +5 -0
  845. package/dist/foundation/utilities/misc/typeGuards.js +6 -0
  846. package/dist/foundation/utilities/primitives/Box.d.ts +34 -0
  847. package/dist/foundation/utilities/primitives/Box.js +101 -0
  848. package/dist/foundation/utilities/primitives/BoxUtils.d.ts +12 -0
  849. package/dist/foundation/utilities/primitives/BoxUtils.js +72 -0
  850. package/dist/foundation/utilities/primitives/Cylinder.d.ts +39 -0
  851. package/dist/foundation/utilities/primitives/Cylinder.js +123 -0
  852. package/dist/foundation/utilities/primitives/CylinderUtils.d.ts +8 -0
  853. package/dist/foundation/utilities/primitives/CylinderUtils.js +34 -0
  854. package/dist/foundation/utilities/primitives/Primitive.d.ts +16 -0
  855. package/dist/foundation/utilities/primitives/Primitive.js +12 -0
  856. package/dist/foundation/utilities/primitives/PrimitiveType.d.ts +22 -0
  857. package/dist/foundation/utilities/primitives/PrimitiveType.js +14 -0
  858. package/dist/foundation/utilities/primitives/PrimitiveUtils.d.ts +8 -0
  859. package/dist/foundation/utilities/primitives/PrimitiveUtils.js +27 -0
  860. package/dist/foundation/utilities/primitives/Vector3ArrayUtils.d.ts +7 -0
  861. package/dist/foundation/utilities/primitives/Vector3ArrayUtils.js +31 -0
  862. package/dist/foundation/utilities/primitives/getIconByPrimitiveType.d.ts +3 -0
  863. package/dist/foundation/utilities/primitives/getIconByPrimitiveType.js +26 -0
  864. package/dist/foundation/utilities/quality/QualitySettings.d.ts +6 -0
  865. package/dist/foundation/utilities/sprites/createSprite.d.ts +26 -0
  866. package/dist/foundation/utilities/sprites/createSprite.js +32 -0
  867. package/dist/foundation/utilities/translation/TranslateInput.d.ts +14 -0
  868. package/dist/foundation/utilities/translation/TranslateInput.js +8 -0
  869. package/dist/foundation/utilities/translation/translateUtils.d.ts +4 -0
  870. package/dist/foundation/utilities/translation/translateUtils.js +52 -0
  871. package/dist/foundation/utilities/types.d.ts +16 -0
  872. package/dist/foundation/utilities/types.js +9 -0
  873. package/dist/foundation/views/BaseView.d.ts +59 -0
  874. package/dist/foundation/views/BaseView.js +29 -0
  875. package/dist/foundation/views/GroupThreeView.d.ts +66 -0
  876. package/dist/foundation/views/GroupThreeView.js +103 -0
  877. package/dist/foundation/views/ThreeView.d.ts +44 -0
  878. package/dist/foundation/views/ThreeView.js +47 -0
  879. package/dist/foundation/views/ThreeViewFactory.d.ts +34 -0
  880. package/dist/foundation/views/ThreeViewFactory.js +35 -0
  881. package/dist/ui/components/AxisGizmo.d.ts +9 -0
  882. package/dist/ui/components/AxisGizmo.js +16 -0
  883. package/dist/ui/components/CadModelContainer/CadModelContainer.context.d.ts +17 -0
  884. package/dist/ui/components/CadModelContainer/CadModelContainer.context.js +19 -0
  885. package/dist/ui/components/CadModelContainer/CadModelContainer.d.ts +13 -0
  886. package/dist/ui/components/CadModelContainer/CadModelContainer.js +58 -0
  887. package/dist/ui/components/CadModelContainer/index.d.ts +3 -0
  888. package/dist/ui/components/CadModelContainer/index.js +2 -0
  889. package/dist/ui/components/CadModelContainer/types.d.ts +6 -0
  890. package/dist/ui/components/CadModelContainer/useApplyCadModelStyling.d.ts +3 -0
  891. package/dist/ui/components/CadModelContainer/useApplyCadModelStyling.js +67 -0
  892. package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.context.d.ts +15 -0
  893. package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.context.js +17 -0
  894. package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.d.ts +13 -0
  895. package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.js +56 -0
  896. package/dist/ui/components/Image360CollectionContainer/constants.d.ts +2 -0
  897. package/dist/ui/components/Image360CollectionContainer/constants.js +4 -0
  898. package/dist/ui/components/Image360CollectionContainer/index.d.ts +1 -0
  899. package/dist/ui/components/Image360CollectionContainer/index.js +2 -0
  900. package/dist/ui/components/Image360CollectionContainer/useApply360AnnotationStyling.d.ts +12 -0
  901. package/dist/ui/components/Image360CollectionContainer/useApply360AnnotationStyling.js +39 -0
  902. package/dist/ui/components/Image360Details/Image360Details.context.d.ts +11 -0
  903. package/dist/ui/components/Image360Details/Image360Details.context.js +13 -0
  904. package/dist/ui/components/Image360Details/Image360Details.d.ts +7 -0
  905. package/dist/ui/components/Image360Details/Image360Details.js +45 -0
  906. package/dist/ui/components/Image360Details/useImage360Entity.context.d.ts +7 -0
  907. package/dist/ui/components/Image360Details/useImage360Entity.context.js +7 -0
  908. package/dist/ui/components/Image360Details/useImage360Entity.d.ts +2 -0
  909. package/dist/ui/components/Image360Details/useImage360Entity.js +22 -0
  910. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.context.d.ts +11 -0
  911. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.context.js +12 -0
  912. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.d.ts +3 -0
  913. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.js +36 -0
  914. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.context.d.ts +8 -0
  915. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.context.js +12 -0
  916. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.d.ts +2 -0
  917. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.js +42 -0
  918. package/dist/ui/components/Image360HistoricalDetails/Panel/Image360HistoricalPanel.d.ts +8 -0
  919. package/dist/ui/components/Image360HistoricalDetails/Panel/Image360HistoricalPanel.js +28 -0
  920. package/dist/ui/components/Image360HistoricalDetails/Toolbar/Image360HistoricalSummary.d.ts +18 -0
  921. package/dist/ui/components/Image360HistoricalDetails/Toolbar/Image360HistoricalSummary.js +63 -0
  922. package/dist/ui/components/Image360HistoricalDetails/types.d.ts +20 -0
  923. package/dist/ui/components/Image360HistoricalDetails/utils/Thumbnail.d.ts +6 -0
  924. package/dist/ui/components/Image360HistoricalDetails/utils/Thumbnail.js +16 -0
  925. package/dist/ui/components/Image360HistoricalDetails/utils/getStationIdentifier.d.ts +2 -0
  926. package/dist/ui/components/Image360HistoricalDetails/utils/getStationIdentifier.js +7 -0
  927. package/dist/ui/components/InstanceLabel/InstanceLabel.d.ts +8 -0
  928. package/dist/ui/components/InstanceLabel/InstanceLabel.js +37 -0
  929. package/dist/ui/components/InstanceLabel/index.d.ts +1 -0
  930. package/dist/ui/components/InstanceLabel/index.js +2 -0
  931. package/dist/ui/components/PointCloudContainer/PointCloudContainer.d.ts +13 -0
  932. package/dist/ui/components/PointCloudContainer/PointCloudContainer.js +53 -0
  933. package/dist/ui/components/PointCloudContainer/index.d.ts +1 -0
  934. package/dist/ui/components/PointCloudContainer/index.js +2 -0
  935. package/dist/ui/components/PointCloudContainer/typeGuards.d.ts +3 -0
  936. package/dist/ui/components/PointCloudContainer/typeGuards.js +9 -0
  937. package/dist/ui/components/PointCloudContainer/useApplyPointCloudStyling.d.ts +4 -0
  938. package/dist/ui/components/PointCloudContainer/useApplyPointCloudStyling.js +30 -0
  939. package/dist/ui/components/Reveal3DResources/Reveal3DResources.context.d.ts +30 -0
  940. package/dist/ui/components/Reveal3DResources/Reveal3DResources.context.js +34 -0
  941. package/dist/ui/components/Reveal3DResources/Reveal3DResources.d.ts +20 -0
  942. package/dist/ui/components/Reveal3DResources/Reveal3DResources.js +65 -0
  943. package/dist/ui/components/Reveal3DResources/Reveal3DResources.viewmodel.d.ts +2 -0
  944. package/dist/ui/components/Reveal3DResources/Reveal3DResources.viewmodel.js +8 -0
  945. package/dist/ui/components/Reveal3DResources/Reveal3DResourcesInfoContext.d.ts +22 -0
  946. package/dist/ui/components/Reveal3DResources/Reveal3DResourcesInfoContext.js +43 -0
  947. package/dist/ui/components/Reveal3DResources/hooks/useCalculateCadStyling.d.ts +25 -0
  948. package/dist/ui/components/Reveal3DResources/hooks/useCalculateCadStyling.js +144 -0
  949. package/dist/ui/components/Reveal3DResources/hooks/useCalculateImage360Styling.d.ts +3 -0
  950. package/dist/ui/components/Reveal3DResources/hooks/useCalculateImage360Styling.js +11 -0
  951. package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.context.d.ts +7 -0
  952. package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.context.js +6 -0
  953. package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.d.ts +2 -0
  954. package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.js +102 -0
  955. package/dist/ui/components/Reveal3DResources/hooks/useCallCallbackOnFinishedLoading.d.ts +2 -0
  956. package/dist/ui/components/Reveal3DResources/hooks/useCallCallbackOnFinishedLoading.js +11 -0
  957. package/dist/ui/components/Reveal3DResources/hooks/useRemoveNonReferencedModels.d.ts +3 -0
  958. package/dist/ui/components/Reveal3DResources/hooks/useRemoveNonReferencedModels.js +51 -0
  959. package/dist/ui/components/Reveal3DResources/hooks/useSetExpectedLoadCount.d.ts +2 -0
  960. package/dist/ui/components/Reveal3DResources/hooks/useSetExpectedLoadCount.js +11 -0
  961. package/dist/ui/components/Reveal3DResources/hooks/useTypedModels.d.ts +5 -0
  962. package/dist/ui/components/Reveal3DResources/hooks/useTypedModels.js +35 -0
  963. package/dist/ui/components/Reveal3DResources/instanceStyleTranslation.d.ts +4 -0
  964. package/dist/ui/components/Reveal3DResources/instanceStyleTranslation.js +15 -0
  965. package/dist/ui/components/RevealCanvas/ComponentFactoryContext.d.ts +9 -0
  966. package/dist/ui/components/RevealCanvas/ComponentFactoryContext.js +17 -0
  967. package/dist/ui/components/RevealCanvas/FdmDataProviderContext.d.ts +11 -0
  968. package/dist/ui/components/RevealCanvas/FdmDataProviderContext.js +5 -0
  969. package/dist/ui/components/RevealCanvas/FeatureDataLoadPerformanceMetricsContext.d.ts +3 -0
  970. package/dist/ui/components/RevealCanvas/FeatureDataLoadPerformanceMetricsContext.js +5 -0
  971. package/dist/ui/components/RevealCanvas/RevealCanvas.d.ts +4 -0
  972. package/dist/ui/components/RevealCanvas/RevealCanvas.js +22 -0
  973. package/dist/ui/components/RevealCanvas/SDKProvider.d.ts +11 -0
  974. package/dist/ui/components/RevealCanvas/SDKProvider.js +32 -0
  975. package/dist/ui/components/RevealCanvas/ViewerContext.d.ts +11 -0
  976. package/dist/ui/components/RevealCanvas/ViewerContext.js +28 -0
  977. package/dist/ui/components/RevealCanvas/hooks/useCameraStateControl.d.ts +3 -0
  978. package/dist/ui/components/RevealCanvas/hooks/useCameraStateControl.js +40 -0
  979. package/dist/ui/components/RevealCanvas/hooks/useDisableBodyTextSelectionOnViewerDragging.d.ts +1 -0
  980. package/dist/ui/components/RevealCanvas/hooks/useDisableBodyTextSelectionOnViewerDragging.js +14 -0
  981. package/dist/ui/components/RevealCanvas/index.d.ts +3 -0
  982. package/dist/ui/components/RevealCanvas/index.js +3 -0
  983. package/dist/ui/components/RevealContainer/RevealContainer.d.ts +3 -0
  984. package/dist/ui/components/RevealContainer/RevealContainer.js +13 -0
  985. package/dist/ui/components/RevealContext/RevealContext.context.d.ts +12 -0
  986. package/dist/ui/components/RevealContext/RevealContext.context.js +12 -0
  987. package/dist/ui/components/RevealContext/RevealContext.d.ts +22 -0
  988. package/dist/ui/components/RevealContext/RevealContext.js +74 -0
  989. package/dist/ui/components/RevealContext/index.d.ts +2 -0
  990. package/dist/ui/components/RevealContext/index.js +2 -0
  991. package/dist/ui/components/RevealKeepAlive/RevealKeepAlive.d.ts +4 -0
  992. package/dist/ui/components/RevealKeepAlive/RevealKeepAlive.js +19 -0
  993. package/dist/ui/components/RevealKeepAlive/RevealKeepAliveContext.d.ts +10 -0
  994. package/dist/ui/components/RevealKeepAlive/RevealKeepAliveContext.js +5 -0
  995. package/dist/ui/components/RevealToolbar/AssetContextualizedButton.d.ts +6 -0
  996. package/dist/ui/components/RevealToolbar/AssetContextualizedButton.js +38 -0
  997. package/dist/ui/components/RevealToolbar/FitModelsButton.d.ts +2 -0
  998. package/dist/ui/components/RevealToolbar/FitModelsButton.js +28 -0
  999. package/dist/ui/components/RevealToolbar/Help/Graphics/Keyboard.d.ts +5 -0
  1000. package/dist/ui/components/RevealToolbar/Help/Graphics/Keyboard.js +211 -0
  1001. package/dist/ui/components/RevealToolbar/Help/Graphics/Mouse.d.ts +2 -0
  1002. package/dist/ui/components/RevealToolbar/Help/Graphics/Mouse.js +44 -0
  1003. package/dist/ui/components/RevealToolbar/Help/Graphics/Touch.d.ts +4 -0
  1004. package/dist/ui/components/RevealToolbar/Help/Graphics/Touch.js +109 -0
  1005. package/dist/ui/components/RevealToolbar/Help/KeyboardNavigation.d.ts +5 -0
  1006. package/dist/ui/components/RevealToolbar/Help/KeyboardNavigation.js +60 -0
  1007. package/dist/ui/components/RevealToolbar/Help/MouseNavigation.d.ts +5 -0
  1008. package/dist/ui/components/RevealToolbar/Help/MouseNavigation.js +34 -0
  1009. package/dist/ui/components/RevealToolbar/Help/Section.d.ts +3 -0
  1010. package/dist/ui/components/RevealToolbar/Help/Section.js +11 -0
  1011. package/dist/ui/components/RevealToolbar/Help/TouchNavigation.d.ts +5 -0
  1012. package/dist/ui/components/RevealToolbar/Help/TouchNavigation.js +21 -0
  1013. package/dist/ui/components/RevealToolbar/Help/elements.d.ts +20 -0
  1014. package/dist/ui/components/RevealToolbar/Help/elements.js +47 -0
  1015. package/dist/ui/components/RevealToolbar/Help/types.d.ts +7 -0
  1016. package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.context.d.ts +13 -0
  1017. package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.context.js +14 -0
  1018. package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.d.ts +13 -0
  1019. package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.js +44 -0
  1020. package/dist/ui/components/RevealToolbar/ResetCameraButton.d.ts +7 -0
  1021. package/dist/ui/components/RevealToolbar/ResetCameraButton.js +40 -0
  1022. package/dist/ui/components/RevealToolbar/RevealToolbar.d.ts +19 -0
  1023. package/dist/ui/components/RevealToolbar/RevealToolbar.js +32 -0
  1024. package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.context.d.ts +19 -0
  1025. package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.context.js +21 -0
  1026. package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.d.ts +9 -0
  1027. package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.js +95 -0
  1028. package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.context.d.ts +11 -0
  1029. package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.context.js +12 -0
  1030. package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.d.ts +2 -0
  1031. package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.js +74 -0
  1032. package/dist/ui/components/RevealToolbar/index.d.ts +1 -0
  1033. package/dist/ui/components/RevealToolbar/index.js +2 -0
  1034. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsPanel.d.ts +7 -0
  1035. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsPanel.js +28 -0
  1036. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.context.d.ts +21 -0
  1037. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.context.js +22 -0
  1038. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.d.ts +9 -0
  1039. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.js +80 -0
  1040. package/dist/ui/components/RuleBasedOutputs/components/OutputPanelItem.d.ts +8 -0
  1041. package/dist/ui/components/RuleBasedOutputs/components/OutputPanelItem.js +14 -0
  1042. package/dist/ui/components/RuleBasedOutputs/components/OutputPanelShowMore.d.ts +7 -0
  1043. package/dist/ui/components/RuleBasedOutputs/components/OutputPanelShowMore.js +20 -0
  1044. package/dist/ui/components/RuleBasedOutputs/components/RuleBasedSelectionItem.d.ts +12 -0
  1045. package/dist/ui/components/RuleBasedOutputs/components/RuleBasedSelectionItem.js +26 -0
  1046. package/dist/ui/components/RuleBasedOutputs/constants.d.ts +2 -0
  1047. package/dist/ui/components/RuleBasedOutputs/constants.js +9 -0
  1048. package/dist/ui/components/RuleBasedOutputs/core/analyzeAssetMappingsAgainstExpression.d.ts +12 -0
  1049. package/dist/ui/components/RuleBasedOutputs/core/analyzeAssetMappingsAgainstExpression.js +38 -0
  1050. package/dist/ui/components/RuleBasedOutputs/core/analyzeFdmMappingsAgainstExpression.d.ts +6 -0
  1051. package/dist/ui/components/RuleBasedOutputs/core/analyzeFdmMappingsAgainstExpression.js +16 -0
  1052. package/dist/ui/components/RuleBasedOutputs/core/applyAssetMappingsNodeStyles.d.ts +3 -0
  1053. package/dist/ui/components/RuleBasedOutputs/core/applyAssetMappingsNodeStyles.js +30 -0
  1054. package/dist/ui/components/RuleBasedOutputs/core/applyFdmMappingsNodeStyles.d.ts +2 -0
  1055. package/dist/ui/components/RuleBasedOutputs/core/applyFdmMappingsNodeStyles.js +33 -0
  1056. package/dist/ui/components/RuleBasedOutputs/core/checkBooleanExpressionStatement.d.ts +2 -0
  1057. package/dist/ui/components/RuleBasedOutputs/core/checkBooleanExpressionStatement.js +18 -0
  1058. package/dist/ui/components/RuleBasedOutputs/core/checkDatetimeExpressionStatement.d.ts +2 -0
  1059. package/dist/ui/components/RuleBasedOutputs/core/checkDatetimeExpressionStatement.js +62 -0
  1060. package/dist/ui/components/RuleBasedOutputs/core/checkNumericExpressionStatement.d.ts +2 -0
  1061. package/dist/ui/components/RuleBasedOutputs/core/checkNumericExpressionStatement.js +53 -0
  1062. package/dist/ui/components/RuleBasedOutputs/core/checkStringExpressionStatement.d.ts +2 -0
  1063. package/dist/ui/components/RuleBasedOutputs/core/checkStringExpressionStatement.js +23 -0
  1064. package/dist/ui/components/RuleBasedOutputs/core/convertExpressionStringMetadataKeyToLowerCase.d.ts +2 -0
  1065. package/dist/ui/components/RuleBasedOutputs/core/convertExpressionStringMetadataKeyToLowerCase.js +6 -0
  1066. package/dist/ui/components/RuleBasedOutputs/core/createRuleStyling.d.ts +2 -0
  1067. package/dist/ui/components/RuleBasedOutputs/core/createRuleStyling.js +10 -0
  1068. package/dist/ui/components/RuleBasedOutputs/core/forEachExpression.d.ts +2 -0
  1069. package/dist/ui/components/RuleBasedOutputs/core/forEachExpression.js +22 -0
  1070. package/dist/ui/components/RuleBasedOutputs/core/generateEmptyRuleForSelection.d.ts +2 -0
  1071. package/dist/ui/components/RuleBasedOutputs/core/generateEmptyRuleForSelection.js +11 -0
  1072. package/dist/ui/components/RuleBasedOutputs/core/generateRuleBasedOutputs.d.ts +12 -0
  1073. package/dist/ui/components/RuleBasedOutputs/core/generateRuleBasedOutputs.js +30 -0
  1074. package/dist/ui/components/RuleBasedOutputs/core/generateTimeseriesAndDatapointsFromTheAsset.d.ts +8 -0
  1075. package/dist/ui/components/RuleBasedOutputs/core/generateTimeseriesAndDatapointsFromTheAsset.js +15 -0
  1076. package/dist/ui/components/RuleBasedOutputs/core/generateUniqueRuleSetKey.d.ts +5 -0
  1077. package/dist/ui/components/RuleBasedOutputs/core/generateUniqueRuleSetKey.js +18 -0
  1078. package/dist/ui/components/RuleBasedOutputs/core/getExpressionTriggerTypes.d.ts +2 -0
  1079. package/dist/ui/components/RuleBasedOutputs/core/getExpressionTriggerTypes.js +10 -0
  1080. package/dist/ui/components/RuleBasedOutputs/core/getFdmPropertyTrigger.d.ts +3 -0
  1081. package/dist/ui/components/RuleBasedOutputs/core/getFdmPropertyTrigger.js +6 -0
  1082. package/dist/ui/components/RuleBasedOutputs/core/getRuleBasedById.d.ts +2 -0
  1083. package/dist/ui/components/RuleBasedOutputs/core/getRuleBasedById.js +4 -0
  1084. package/dist/ui/components/RuleBasedOutputs/core/getRuleOutputFromTypeSelected.d.ts +2 -0
  1085. package/dist/ui/components/RuleBasedOutputs/core/getRuleOutputFromTypeSelected.js +12 -0
  1086. package/dist/ui/components/RuleBasedOutputs/core/getRuleTriggerTypes.d.ts +2 -0
  1087. package/dist/ui/components/RuleBasedOutputs/core/getRuleTriggerTypes.js +7 -0
  1088. package/dist/ui/components/RuleBasedOutputs/core/getTimeseriesExternalIdFromNumericExpression.d.ts +2 -0
  1089. package/dist/ui/components/RuleBasedOutputs/core/getTimeseriesExternalIdFromNumericExpression.js +8 -0
  1090. package/dist/ui/components/RuleBasedOutputs/core/getTriggerNumericData.d.ts +2 -0
  1091. package/dist/ui/components/RuleBasedOutputs/core/getTriggerNumericData.js +11 -0
  1092. package/dist/ui/components/RuleBasedOutputs/core/getTriggerTimeseriesNumericData.d.ts +2 -0
  1093. package/dist/ui/components/RuleBasedOutputs/core/getTriggerTimeseriesNumericData.js +8 -0
  1094. package/dist/ui/components/RuleBasedOutputs/core/hasInitializationDependenciesChanged.d.ts +22 -0
  1095. package/dist/ui/components/RuleBasedOutputs/core/hasInitializationDependenciesChanged.js +7 -0
  1096. package/dist/ui/components/RuleBasedOutputs/core/isReadyToInitializeRules.d.ts +18 -0
  1097. package/dist/ui/components/RuleBasedOutputs/core/isReadyToInitializeRules.js +7 -0
  1098. package/dist/ui/components/RuleBasedOutputs/core/ruleBasedInitialization.d.ts +19 -0
  1099. package/dist/ui/components/RuleBasedOutputs/core/ruleBasedInitialization.js +23 -0
  1100. package/dist/ui/components/RuleBasedOutputs/core/traverseExpression.d.ts +2 -0
  1101. package/dist/ui/components/RuleBasedOutputs/core/traverseExpression.js +36 -0
  1102. package/dist/ui/components/RuleBasedOutputs/core/traverseExpressionToGetTimeseries.d.ts +2 -0
  1103. package/dist/ui/components/RuleBasedOutputs/core/traverseExpressionToGetTimeseries.js +23 -0
  1104. package/dist/ui/components/RuleBasedOutputs/hooks/index.d.ts +5 -0
  1105. package/dist/ui/components/RuleBasedOutputs/hooks/index.js +6 -0
  1106. package/dist/ui/components/RuleBasedOutputs/hooks/useConvertAssetMetadatasToLowerCase.d.ts +2 -0
  1107. package/dist/ui/components/RuleBasedOutputs/hooks/useConvertAssetMetadatasToLowerCase.js +7 -0
  1108. package/dist/ui/components/RuleBasedOutputs/hooks/useCreateRuleInstance.d.ts +3 -0
  1109. package/dist/ui/components/RuleBasedOutputs/hooks/useCreateRuleInstance.js +31 -0
  1110. package/dist/ui/components/RuleBasedOutputs/hooks/useDeleteRuleInstance.d.ts +3 -0
  1111. package/dist/ui/components/RuleBasedOutputs/hooks/useDeleteRuleInstance.js +15 -0
  1112. package/dist/ui/components/RuleBasedOutputs/hooks/useEditRuleInstance.d.ts +3 -0
  1113. package/dist/ui/components/RuleBasedOutputs/hooks/useEditRuleInstance.js +31 -0
  1114. package/dist/ui/components/RuleBasedOutputs/hooks/useExtractTimeseriesIdsFromRuleSet.d.ts +2 -0
  1115. package/dist/ui/components/RuleBasedOutputs/hooks/useExtractTimeseriesIdsFromRuleSet.js +10 -0
  1116. package/dist/ui/components/RuleBasedOutputs/hooks/useExtractUniqueClassicAssetIdsFromMapped.d.ts +3 -0
  1117. package/dist/ui/components/RuleBasedOutputs/hooks/useExtractUniqueClassicAssetIdsFromMapped.js +11 -0
  1118. package/dist/ui/components/RuleBasedOutputs/hooks/useFetchRuleInstances.d.ts +3 -0
  1119. package/dist/ui/components/RuleBasedOutputs/hooks/useFetchRuleInstances.js +34 -0
  1120. package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.context.d.ts +9 -0
  1121. package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.context.js +10 -0
  1122. package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.d.ts +5 -0
  1123. package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.js +55 -0
  1124. package/dist/ui/components/RuleBasedOutputs/hooks/useSearchRuleInstance.d.ts +2 -0
  1125. package/dist/ui/components/RuleBasedOutputs/hooks/useSearchRuleInstance.js +25 -0
  1126. package/dist/ui/components/RuleBasedOutputs/index.d.ts +4 -0
  1127. package/dist/ui/components/RuleBasedOutputs/index.js +9 -0
  1128. package/dist/ui/components/RuleBasedOutputs/typeGuards.d.ts +3 -0
  1129. package/dist/ui/components/RuleBasedOutputs/typeGuards.js +4 -0
  1130. package/dist/ui/components/RuleBasedOutputs/types.d.ts +280 -0
  1131. package/dist/ui/components/SceneContainer/LoadedSceneContext.d.ts +11 -0
  1132. package/dist/ui/components/SceneContainer/LoadedSceneContext.js +22 -0
  1133. package/dist/ui/components/SceneContainer/SceneContainer.context.d.ts +9 -0
  1134. package/dist/ui/components/SceneContainer/SceneContainer.context.js +10 -0
  1135. package/dist/ui/components/SceneContainer/SceneContainer.d.ts +3 -0
  1136. package/dist/ui/components/SceneContainer/SceneContainer.js +19 -0
  1137. package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.context.d.ts +15 -0
  1138. package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.context.js +16 -0
  1139. package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.d.ts +2 -0
  1140. package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.js +15 -0
  1141. package/dist/ui/components/SceneContainer/SceneFdmTypes.d.ts +103 -0
  1142. package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.context.d.ts +11 -0
  1143. package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.context.js +11 -0
  1144. package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.d.ts +5 -0
  1145. package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.js +16 -0
  1146. package/dist/ui/components/SceneContainer/index.d.ts +4 -0
  1147. package/dist/ui/components/SceneContainer/index.js +3 -0
  1148. package/dist/ui/components/SceneContainer/sceneTypes.d.ts +69 -0
  1149. package/dist/ui/components/SceneContainer/types.d.ts +15 -0
  1150. package/dist/ui/components/ViewerAnchor/ViewerAnchor.d.ts +12 -0
  1151. package/dist/ui/components/ViewerAnchor/ViewerAnchor.js +60 -0
  1152. package/dist/ui/components/Widget/RevealWidget.context.d.ts +15 -0
  1153. package/dist/ui/components/Widget/RevealWidget.context.js +16 -0
  1154. package/dist/ui/components/Widget/RevealWidget.d.ts +62 -0
  1155. package/dist/ui/components/Widget/RevealWidget.js +31 -0
  1156. package/dist/ui/components/Widget/RevealWidgetCameraController.d.ts +27 -0
  1157. package/dist/ui/components/Widget/RevealWidgetCameraController.js +27 -0
  1158. package/dist/ui/components/Widget/RevealWidgetController.d.ts +92 -0
  1159. package/dist/ui/components/Widget/RevealWidgetController.js +110 -0
  1160. package/dist/ui/components/Widget/index.d.ts +4 -0
  1161. package/dist/ui/components/Widget/index.js +5 -0
  1162. package/dist/ui/components/Widget/styling/applyCadDefaultStyling.d.ts +7 -0
  1163. package/dist/ui/components/Widget/styling/applyCadDefaultStyling.js +24 -0
  1164. package/dist/ui/components/Widget/styling/applyCadInstanceStyling.d.ts +10 -0
  1165. package/dist/ui/components/Widget/styling/applyCadInstanceStyling.js +11 -0
  1166. package/dist/ui/components/Widget/styling/applyImage360InstanceStyling.d.ts +3 -0
  1167. package/dist/ui/components/Widget/styling/applyImage360InstanceStyling.js +17 -0
  1168. package/dist/ui/components/Widget/styling/applyPointCloudDefaultStyling.d.ts +6 -0
  1169. package/dist/ui/components/Widget/styling/applyPointCloudDefaultStyling.js +18 -0
  1170. package/dist/ui/components/Widget/styling/applyPointCloudInstanceStyling.d.ts +3 -0
  1171. package/dist/ui/components/Widget/styling/applyPointCloudInstanceStyling.js +27 -0
  1172. package/dist/ui/components/Widget/styling/constants.d.ts +8 -0
  1173. package/dist/ui/components/Widget/styling/constants.js +9 -0
  1174. package/dist/ui/components/commandBased/Factories/ComponentFactory.d.ts +9 -0
  1175. package/dist/ui/components/commandBased/Factories/ComponentFactory.js +20 -0
  1176. package/dist/ui/components/commandBased/Factories/DefaultIcons.d.ts +3 -0
  1177. package/dist/ui/components/commandBased/Factories/DefaultIcons.js +70 -0
  1178. package/dist/ui/components/commandBased/Factories/IconFactory.d.ts +15 -0
  1179. package/dist/ui/components/commandBased/Factories/IconFactory.js +17 -0
  1180. package/dist/ui/components/commandBased/Factories/IconType.d.ts +2 -0
  1181. package/dist/ui/components/commandBased/Factories/createComponentFactory.d.ts +2 -0
  1182. package/dist/ui/components/commandBased/Factories/createComponentFactory.js +21 -0
  1183. package/dist/ui/components/commandBased/RevealButtons.d.ts +53 -0
  1184. package/dist/ui/components/commandBased/RevealButtons.js +85 -0
  1185. package/dist/ui/components/commandBased/buttons/BannerComponent.d.ts +5 -0
  1186. package/dist/ui/components/commandBased/buttons/BannerComponent.js +28 -0
  1187. package/dist/ui/components/commandBased/buttons/CommandButton.d.ts +9 -0
  1188. package/dist/ui/components/commandBased/buttons/CommandButton.js +33 -0
  1189. package/dist/ui/components/commandBased/buttons/CommandButtonInner.d.ts +7 -0
  1190. package/dist/ui/components/commandBased/buttons/CommandButtonInner.js +31 -0
  1191. package/dist/ui/components/commandBased/buttons/CustomInputField.context.d.ts +17 -0
  1192. package/dist/ui/components/commandBased/buttons/CustomInputField.context.js +14 -0
  1193. package/dist/ui/components/commandBased/buttons/CustomInputField.d.ts +9 -0
  1194. package/dist/ui/components/commandBased/buttons/CustomInputField.js +82 -0
  1195. package/dist/ui/components/commandBased/buttons/DividerCreator.d.ts +5 -0
  1196. package/dist/ui/components/commandBased/buttons/DividerCreator.js +18 -0
  1197. package/dist/ui/components/commandBased/buttons/DropdownButton.d.ts +10 -0
  1198. package/dist/ui/components/commandBased/buttons/DropdownButton.js +92 -0
  1199. package/dist/ui/components/commandBased/buttons/FilterButton.d.ts +10 -0
  1200. package/dist/ui/components/commandBased/buttons/FilterButton.js +120 -0
  1201. package/dist/ui/components/commandBased/buttons/FilterItem.d.ts +5 -0
  1202. package/dist/ui/components/commandBased/buttons/FilterItem.js +35 -0
  1203. package/dist/ui/components/commandBased/buttons/HelpButton.d.ts +4 -0
  1204. package/dist/ui/components/commandBased/buttons/HelpButton.js +55 -0
  1205. package/dist/ui/components/commandBased/buttons/InputField.d.ts +8 -0
  1206. package/dist/ui/components/commandBased/buttons/InputField.js +30 -0
  1207. package/dist/ui/components/commandBased/buttons/PopupTriggerButton.d.ts +25 -0
  1208. package/dist/ui/components/commandBased/buttons/PopupTriggerButton.js +21 -0
  1209. package/dist/ui/components/commandBased/buttons/SegmentedButtons.d.ts +10 -0
  1210. package/dist/ui/components/commandBased/buttons/SegmentedButtons.js +67 -0
  1211. package/dist/ui/components/commandBased/buttons/SettingsButton.d.ts +9 -0
  1212. package/dist/ui/components/commandBased/buttons/SettingsButton.js +191 -0
  1213. package/dist/ui/components/commandBased/buttons/ShowTreeViewButton.d.ts +4 -0
  1214. package/dist/ui/components/commandBased/buttons/ShowTreeViewButton.js +46 -0
  1215. package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanel.d.ts +2 -0
  1216. package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanel.js +74 -0
  1217. package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanelInput.d.ts +9 -0
  1218. package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanelInput.js +57 -0
  1219. package/dist/ui/components/commandBased/hooks/useCommand.d.ts +2 -0
  1220. package/dist/ui/components/commandBased/hooks/useCommand.js +9 -0
  1221. package/dist/ui/components/commandBased/hooks/useCommandProperty.d.ts +3 -0
  1222. package/dist/ui/components/commandBased/hooks/useCommandProperty.js +20 -0
  1223. package/dist/ui/components/commandBased/hooks/useCommandProps.d.ts +20 -0
  1224. package/dist/ui/components/commandBased/hooks/useCommandProps.js +35 -0
  1225. package/dist/ui/components/commandBased/hooks/useOnUpdateDomainObject.d.ts +2 -0
  1226. package/dist/ui/components/commandBased/hooks/useOnUpdateDomainObject.js +12 -0
  1227. package/dist/ui/components/commandBased/hooks/useSyncLayersState.d.ts +3 -0
  1228. package/dist/ui/components/commandBased/hooks/useSyncLayersState.js +34 -0
  1229. package/dist/ui/components/commandBased/index.d.ts +11 -0
  1230. package/dist/ui/components/commandBased/index.js +18 -0
  1231. package/dist/ui/components/commandBased/main/AnchoredDialog.d.ts +2 -0
  1232. package/dist/ui/components/commandBased/main/AnchoredDialog.js +30 -0
  1233. package/dist/ui/components/commandBased/main/CommandButtons.d.ts +9 -0
  1234. package/dist/ui/components/commandBased/main/CommandButtons.js +15 -0
  1235. package/dist/ui/components/commandBased/main/Comment.d.ts +14 -0
  1236. package/dist/ui/components/commandBased/main/Comment.js +29 -0
  1237. package/dist/ui/components/commandBased/main/ToolUI.d.ts +2 -0
  1238. package/dist/ui/components/commandBased/main/ToolUI.js +12 -0
  1239. package/dist/ui/components/commandBased/main/Toolbar.d.ts +6 -0
  1240. package/dist/ui/components/commandBased/main/Toolbar.js +55 -0
  1241. package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.context.d.ts +11 -0
  1242. package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.context.js +12 -0
  1243. package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.d.ts +19 -0
  1244. package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.js +131 -0
  1245. package/dist/ui/components/commandBased/pointsOfInterest/PoiHeader.d.ts +2 -0
  1246. package/dist/ui/components/commandBased/pointsOfInterest/PoiHeader.js +71 -0
  1247. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.context.d.ts +13 -0
  1248. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.context.js +14 -0
  1249. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.d.ts +2 -0
  1250. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.js +22 -0
  1251. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoSection.d.ts +6 -0
  1252. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoSection.js +199 -0
  1253. package/dist/ui/components/commandBased/pointsOfInterest/PoiList.d.ts +18 -0
  1254. package/dist/ui/components/commandBased/pointsOfInterest/PoiList.js +64 -0
  1255. package/dist/ui/components/commandBased/pointsOfInterest/PoiSharePanel.d.ts +2 -0
  1256. package/dist/ui/components/commandBased/pointsOfInterest/PoiSharePanel.js +60 -0
  1257. package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.context.d.ts +13 -0
  1258. package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.d.ts +2 -0
  1259. package/dist/ui/components/commandBased/pointsOfInterest/avatarUtils.d.ts +5 -0
  1260. package/dist/ui/components/commandBased/pointsOfInterest/avatarUtils.js +19 -0
  1261. package/dist/ui/components/commandBased/pointsOfInterest/index.d.ts +8 -0
  1262. package/dist/ui/components/commandBased/pointsOfInterest/index.js +9 -0
  1263. package/dist/ui/components/commandBased/pointsOfInterest/useCommentsForPoiQuery.d.ts +4 -0
  1264. package/dist/ui/components/commandBased/pointsOfInterest/useCommentsForPoiQuery.js +14 -0
  1265. package/dist/ui/components/commandBased/pointsOfInterest/useEditPoiInfoSection.d.ts +16 -0
  1266. package/dist/ui/components/commandBased/pointsOfInterest/useEditPoiInfoSection.js +42 -0
  1267. package/dist/ui/components/commandBased/pointsOfInterest/useFilterPointsOfInterest.d.ts +6 -0
  1268. package/dist/ui/components/commandBased/pointsOfInterest/useFilterPointsOfInterest.js +10 -0
  1269. package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.context.d.ts +11 -0
  1270. package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.context.js +14 -0
  1271. package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.d.ts +1 -0
  1272. package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.js +36 -0
  1273. package/dist/ui/components/commandBased/pointsOfInterest/usePendingPoiInfoSection.d.ts +16 -0
  1274. package/dist/ui/components/commandBased/pointsOfInterest/usePendingPoiInfoSection.js +45 -0
  1275. package/dist/ui/components/commandBased/pointsOfInterest/usePoiCreateFlowState.d.ts +7 -0
  1276. package/dist/ui/components/commandBased/pointsOfInterest/usePoiCreateFlowState.js +20 -0
  1277. package/dist/ui/components/commandBased/pointsOfInterest/usePoiDomainObject.d.ts +2 -0
  1278. package/dist/ui/components/commandBased/pointsOfInterest/usePoiDomainObject.js +15 -0
  1279. package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterest.d.ts +2 -0
  1280. package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterest.js +13 -0
  1281. package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterestTool.d.ts +3 -0
  1282. package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterestTool.js +16 -0
  1283. package/dist/ui/components/commandBased/pointsOfInterest/useSelectedPoi.d.ts +2 -0
  1284. package/dist/ui/components/commandBased/pointsOfInterest/useSelectedPoi.js +12 -0
  1285. package/dist/ui/components/commandBased/pointsOfInterest/useSyncSelectedPoi.d.ts +2 -0
  1286. package/dist/ui/components/commandBased/pointsOfInterest/useSyncSelectedPoi.js +29 -0
  1287. package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeView.d.ts +18 -0
  1288. package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeView.js +45 -0
  1289. package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeViewCallbacks.d.ts +65 -0
  1290. package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeViewCallbacks.js +44 -0
  1291. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.d.ts +2 -0
  1292. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.function.d.ts +9 -0
  1293. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.function.js +21 -0
  1294. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.js +19 -0
  1295. package/dist/ui/components/commandBased/treeView/TreeView/components/get-children-as-array.d.ts +3 -0
  1296. package/dist/ui/components/commandBased/treeView/TreeView/components/get-children-as-array.js +6 -0
  1297. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-caret.d.ts +6 -0
  1298. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-caret.js +37 -0
  1299. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-checkbox.d.ts +8 -0
  1300. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-checkbox.js +27 -0
  1301. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu-item.d.ts +6 -0
  1302. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu-item.js +60 -0
  1303. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu.d.ts +7 -0
  1304. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu.js +29 -0
  1305. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-icon.d.ts +8 -0
  1306. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-icon.js +12 -0
  1307. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-info.d.ts +8 -0
  1308. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-info.js +32 -0
  1309. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-label.d.ts +7 -0
  1310. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-label.js +33 -0
  1311. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-load-more.d.ts +10 -0
  1312. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-load-more.js +17 -0
  1313. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-loading.d.ts +6 -0
  1314. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-loading.js +17 -0
  1315. package/dist/ui/components/commandBased/treeView/TreeView/constants.d.ts +9 -0
  1316. package/dist/ui/components/commandBased/treeView/TreeView/constants.js +4 -0
  1317. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.context.d.ts +8 -0
  1318. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.context.js +6 -0
  1319. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.d.ts +5 -0
  1320. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.js +69 -0
  1321. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/createTreeNodeExtraComponent.d.ts +3 -0
  1322. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/createTreeNodeExtraComponent.js +10 -0
  1323. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.context.d.ts +20 -0
  1324. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.context.js +21 -0
  1325. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.d.ts +17 -0
  1326. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.js +93 -0
  1327. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-props.d.ts +23 -0
  1328. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-scrolling.d.ts +4 -0
  1329. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-scrolling.js +21 -0
  1330. package/dist/ui/components/commandBased/treeView/TreeView/tree-view.context.d.ts +11 -0
  1331. package/dist/ui/components/commandBased/treeView/TreeView/tree-view.context.js +13 -0
  1332. package/dist/ui/components/commandBased/treeView/TreeView/tree-view.d.ts +3 -0
  1333. package/dist/ui/components/commandBased/treeView/TreeView/tree-view.js +54 -0
  1334. package/dist/ui/components/commandBased/treeView/TreeView/types.d.ts +11 -0
  1335. package/dist/ui/components/commandBased/utils/LabelWithShortcut.d.ts +9 -0
  1336. package/dist/ui/components/commandBased/utils/LabelWithShortcut.js +22 -0
  1337. package/dist/ui/components/commandBased/utils/constants.d.ts +3 -0
  1338. package/dist/ui/components/commandBased/utils/types.d.ts +2 -0
  1339. package/dist/ui/components/commandBased/utils/utilities.d.ts +7 -0
  1340. package/dist/ui/components/commandBased/utils/utilities.js +15 -0
  1341. package/dist/ui/components/constants.d.ts +1 -0
  1342. package/dist/ui/components/i18n/I18n.d.ts +9 -0
  1343. package/dist/ui/components/i18n/I18n.js +63 -0
  1344. package/dist/ui/components/i18n/types.d.ts +11 -0
  1345. package/dist/ui/components/i18n/utils.d.ts +1 -0
  1346. package/dist/ui/components/i18n/utils.js +11 -0
  1347. package/dist/ui/components/index.d.ts +18 -0
  1348. package/dist/ui/components/index.js +55 -0
  1349. package/dist/ui/higher-order-components/index.d.ts +1 -0
  1350. package/dist/ui/higher-order-components/index.js +2 -0
  1351. package/dist/ui/higher-order-components/withSuppressRevealEvents.d.ts +6 -0
  1352. package/dist/ui/higher-order-components/withSuppressRevealEvents.js +38 -0
  1353. package/dist/ui/hooks/cad/index.d.ts +7 -0
  1354. package/dist/ui/hooks/cad/index.js +8 -0
  1355. package/dist/ui/hooks/cad/modelWithAssetMappings.d.ts +6 -0
  1356. package/dist/ui/hooks/cad/useAssetMappedNodesForRevisions.d.ts +4 -0
  1357. package/dist/ui/hooks/cad/useAssetMappedNodesForRevisions.js +26 -0
  1358. package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.context.d.ts +13 -0
  1359. package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.context.js +14 -0
  1360. package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.d.ts +4 -0
  1361. package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.js +33 -0
  1362. package/dist/ui/hooks/cad/useFdm3dNodeDataPromises.d.ts +4 -0
  1363. package/dist/ui/hooks/cad/useFdm3dNodeDataPromises.js +29 -0
  1364. package/dist/ui/hooks/cad/useFdmAssetMappings.d.ts +5 -0
  1365. package/dist/ui/hooks/cad/useFdmAssetMappings.js +21 -0
  1366. package/dist/ui/hooks/cad/useGenerateAssetMappingCachePerItemFromModelCache.d.ts +3 -0
  1367. package/dist/ui/hooks/cad/useGenerateAssetMappingCachePerItemFromModelCache.js +18 -0
  1368. package/dist/ui/hooks/cad/useGenerateNode3DCache.d.ts +3 -0
  1369. package/dist/ui/hooks/cad/useGenerateNode3DCache.js +18 -0
  1370. package/dist/ui/hooks/cad/useMappedEdgesForRevisions.d.ts +6 -0
  1371. package/dist/ui/hooks/cad/useMappedEdgesForRevisions.js +19 -0
  1372. package/dist/ui/hooks/index.d.ts +26 -0
  1373. package/dist/ui/hooks/index.js +33 -0
  1374. package/dist/ui/hooks/initializeGroundPlane.d.ts +20 -0
  1375. package/dist/ui/hooks/initializeGroundPlane.js +10 -0
  1376. package/dist/ui/hooks/network/fetchDmImage360Collections.d.ts +3 -0
  1377. package/dist/ui/hooks/network/fetchDmImage360Collections.js +58 -0
  1378. package/dist/ui/hooks/network/fetchLinkFromRelationshipsByTimeseries.d.ts +3 -0
  1379. package/dist/ui/hooks/network/fetchLinkFromRelationshipsByTimeseries.js +20 -0
  1380. package/dist/ui/hooks/network/filterRelationships.d.ts +2 -0
  1381. package/dist/ui/hooks/network/filterRelationships.js +10 -0
  1382. package/dist/ui/hooks/network/getAllFileInfos.d.ts +2 -0
  1383. package/dist/ui/hooks/network/getAllFileInfos.js +12 -0
  1384. package/dist/ui/hooks/network/getAssetsByIds.d.ts +2 -0
  1385. package/dist/ui/hooks/network/getAssetsByIds.js +4 -0
  1386. package/dist/ui/hooks/network/getAssetsList.d.ts +15 -0
  1387. package/dist/ui/hooks/network/getAssetsList.js +16 -0
  1388. package/dist/ui/hooks/network/getCadModelsForAsset.d.ts +3 -0
  1389. package/dist/ui/hooks/network/getCadModelsForAsset.js +11 -0
  1390. package/dist/ui/hooks/network/getCadModelsForHybridDmInstance.d.ts +4 -0
  1391. package/dist/ui/hooks/network/getCadModelsForHybridDmInstance.js +19 -0
  1392. package/dist/ui/hooks/network/getImage360CollectionsForAsset.d.ts +3 -0
  1393. package/dist/ui/hooks/network/getImage360CollectionsForAsset.js +17 -0
  1394. package/dist/ui/hooks/network/getImage360CollectionsForDmInstance.d.ts +3 -0
  1395. package/dist/ui/hooks/network/getImage360CollectionsForDmInstance.js +59 -0
  1396. package/dist/ui/hooks/network/getImage360CollectionsForHybridDmInstance.d.ts +4 -0
  1397. package/dist/ui/hooks/network/getImage360CollectionsForHybridDmInstance.js +20 -0
  1398. package/dist/ui/hooks/network/getImage360CollectionsFromFileRefs.d.ts +7 -0
  1399. package/dist/ui/hooks/network/getImage360CollectionsFromFileRefs.js +21 -0
  1400. package/dist/ui/hooks/network/getLinkedTimeseriesForAsset.d.ts +3 -0
  1401. package/dist/ui/hooks/network/getLinkedTimeseriesForAsset.js +4 -0
  1402. package/dist/ui/hooks/network/getModelType.d.ts +2 -0
  1403. package/dist/ui/hooks/network/getModels.d.ts +3 -0
  1404. package/dist/ui/hooks/network/getPointCloudModelsForAsset.d.ts +3 -0
  1405. package/dist/ui/hooks/network/getPointCloudModelsForAsset.js +32 -0
  1406. package/dist/ui/hooks/network/getPointCloudModelsForAssetInstance.d.ts +3 -0
  1407. package/dist/ui/hooks/network/getPointCloudModelsForAssetInstance.js +20 -0
  1408. package/dist/ui/hooks/network/getRelationships.d.ts +8 -0
  1409. package/dist/ui/hooks/network/getRelationships.js +17 -0
  1410. package/dist/ui/hooks/network/getResourceRelationship.d.ts +3 -0
  1411. package/dist/ui/hooks/network/getResourceRelationship.js +8 -0
  1412. package/dist/ui/hooks/network/getRevisionExternalIdAndSpace.d.ts +30 -0
  1413. package/dist/ui/hooks/network/getRevisionExternalIdAndSpace.js +54 -0
  1414. package/dist/ui/hooks/network/getRevisions.d.ts +2 -0
  1415. package/dist/ui/hooks/network/getSourceRelationships.d.ts +8 -0
  1416. package/dist/ui/hooks/network/getSourceRelationships.js +8 -0
  1417. package/dist/ui/hooks/network/getTargetRelationships.d.ts +8 -0
  1418. package/dist/ui/hooks/network/getTargetRelationships.js +8 -0
  1419. package/dist/ui/hooks/network/getTimeseriesByIds.d.ts +2 -0
  1420. package/dist/ui/hooks/network/getTimeseriesByIds.js +9 -0
  1421. package/dist/ui/hooks/network/getTimeseriesLatestDatapoints.d.ts +2 -0
  1422. package/dist/ui/hooks/network/getTimeseriesLatestDatapoints.js +10 -0
  1423. package/dist/ui/hooks/network/types.d.ts +38 -0
  1424. package/dist/ui/hooks/pointClouds/fetchAnnotationsForModel.d.ts +4 -0
  1425. package/dist/ui/hooks/pointClouds/fetchAnnotationsForModel.js +12 -0
  1426. package/dist/ui/hooks/pointClouds/getPointCloudInstanceFromIntersection.d.ts +8 -0
  1427. package/dist/ui/hooks/pointClouds/getPointCloudInstanceFromIntersection.js +20 -0
  1428. package/dist/ui/hooks/pointClouds/index.d.ts +2 -0
  1429. package/dist/ui/hooks/pointClouds/index.js +3 -0
  1430. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.context.d.ts +11 -0
  1431. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.context.js +12 -0
  1432. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.d.ts +4 -0
  1433. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.js +42 -0
  1434. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.context.d.ts +9 -0
  1435. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.context.js +10 -0
  1436. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.d.ts +5 -0
  1437. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.js +20 -0
  1438. package/dist/ui/hooks/scenes/allScenesQuery.d.ts +27 -0
  1439. package/dist/ui/hooks/scenes/allScenesQuery.js +98 -0
  1440. package/dist/ui/hooks/scenes/hasSceneDataModel.d.ts +3 -0
  1441. package/dist/ui/hooks/scenes/hasSceneDataModel.js +45 -0
  1442. package/dist/ui/hooks/scenes/sceneQuery.d.ts +17 -0
  1443. package/dist/ui/hooks/scenes/sceneQuery.js +86 -0
  1444. package/dist/ui/hooks/scenes/sceneResponseTypeGuards.d.ts +13 -0
  1445. package/dist/ui/hooks/scenes/sceneResponseTypeGuards.js +90 -0
  1446. package/dist/ui/hooks/scenes/types.d.ts +197 -0
  1447. package/dist/ui/hooks/scenes/types.js +72 -0
  1448. package/dist/ui/hooks/scenes/use3dScene.context.d.ts +13 -0
  1449. package/dist/ui/hooks/scenes/use3dScene.context.js +12 -0
  1450. package/dist/ui/hooks/scenes/use3dScene.d.ts +9 -0
  1451. package/dist/ui/hooks/scenes/use3dScene.js +30 -0
  1452. package/dist/ui/hooks/scenes/use3dScenes.context.d.ts +15 -0
  1453. package/dist/ui/hooks/scenes/use3dScenes.context.js +17 -0
  1454. package/dist/ui/hooks/scenes/use3dScenes.d.ts +5 -0
  1455. package/dist/ui/hooks/scenes/use3dScenes.js +162 -0
  1456. package/dist/ui/hooks/scenes/useSceneConfig.context.d.ts +7 -0
  1457. package/dist/ui/hooks/scenes/useSceneConfig.context.js +6 -0
  1458. package/dist/ui/hooks/scenes/useSceneConfig.d.ts +8 -0
  1459. package/dist/ui/hooks/scenes/useSceneConfig.js +91 -0
  1460. package/dist/ui/hooks/types.d.ts +61 -0
  1461. package/dist/ui/hooks/use3dModels.d.ts +13 -0
  1462. package/dist/ui/hooks/use3dModels.js +12 -0
  1463. package/dist/ui/hooks/useActiveReveal3dResources.d.ts +14 -0
  1464. package/dist/ui/hooks/useActiveReveal3dResources.js +44 -0
  1465. package/dist/ui/hooks/useCameraNavigation.d.ts +23 -0
  1466. package/dist/ui/hooks/useCameraNavigation.js +68 -0
  1467. package/dist/ui/hooks/useClickedNode.context.d.ts +19 -0
  1468. package/dist/ui/hooks/useClickedNode.context.js +22 -0
  1469. package/dist/ui/hooks/useClickedNode.d.ts +8 -0
  1470. package/dist/ui/hooks/useClickedNode.js +115 -0
  1471. package/dist/ui/hooks/useCreateAssetMappingsMapPerModel.d.ts +4 -0
  1472. package/dist/ui/hooks/useCreateAssetMappingsMapPerModel.js +14 -0
  1473. package/dist/ui/hooks/useGhostMode.d.ts +1 -0
  1474. package/dist/ui/hooks/useGhostMode.js +11 -0
  1475. package/dist/ui/hooks/useGroundPlaneFromScene.context.d.ts +17 -0
  1476. package/dist/ui/hooks/useGroundPlaneFromScene.context.js +23 -0
  1477. package/dist/ui/hooks/useGroundPlaneFromScene.d.ts +1 -0
  1478. package/dist/ui/hooks/useGroundPlaneFromScene.js +60 -0
  1479. package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.context.d.ts +7 -0
  1480. package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.context.js +6 -0
  1481. package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.d.ts +7 -0
  1482. package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.js +30 -0
  1483. package/dist/ui/hooks/useImage360Collections.d.ts +8 -0
  1484. package/dist/ui/hooks/useImage360Collections.js +11 -0
  1485. package/dist/ui/hooks/useIsCoreDmOnly.d.ts +1 -0
  1486. package/dist/ui/hooks/useIsCoreDmOnly.js +7 -0
  1487. package/dist/ui/hooks/useIsDraggingOnViewer.d.ts +1 -0
  1488. package/dist/ui/hooks/useIsDraggingOnViewer.js +19 -0
  1489. package/dist/ui/hooks/useIsRevealInitialized.d.ts +1 -0
  1490. package/dist/ui/hooks/useIsRevealInitialized.js +5 -0
  1491. package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.context.d.ts +9 -0
  1492. package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.context.js +10 -0
  1493. package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.d.ts +3 -0
  1494. package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.js +17 -0
  1495. package/dist/ui/hooks/useReveal3dResourcesFromScene.d.ts +8 -0
  1496. package/dist/ui/hooks/useReveal3dResourcesFromScene.js +24 -0
  1497. package/dist/ui/hooks/useRevealDomainObjects.d.ts +8 -0
  1498. package/dist/ui/hooks/useRevealDomainObjects.js +12 -0
  1499. package/dist/ui/hooks/useSceneDefaultCamera.context.d.ts +11 -0
  1500. package/dist/ui/hooks/useSceneDefaultCamera.context.js +12 -0
  1501. package/dist/ui/hooks/useSceneDefaultCamera.d.ts +3 -0
  1502. package/dist/ui/hooks/useSceneDefaultCamera.js +82 -0
  1503. package/dist/ui/hooks/useSkyboxFromScene.context.d.ts +14 -0
  1504. package/dist/ui/hooks/useSkyboxFromScene.context.js +18 -0
  1505. package/dist/ui/hooks/useSkyboxFromScene.d.ts +1 -0
  1506. package/dist/ui/hooks/useSkyboxFromScene.js +35 -0
  1507. package/dist/ui/hooks/useVisibleRevealDomainObjects.d.ts +8 -0
  1508. package/dist/ui/hooks/useVisibleRevealDomainObjects.js +17 -0
  1509. package/dist/ui/query/FilterOnClassicAssetsInScene.context.d.ts +12 -0
  1510. package/dist/ui/query/FilterOnClassicAssetsInScene.context.js +15 -0
  1511. package/dist/ui/query/core-dm/pointCloudDMVolumesQuery.d.ts +32 -0
  1512. package/dist/ui/query/core-dm/pointCloudDMVolumesQuery.js +68 -0
  1513. package/dist/ui/query/core-dm/typeGuards.d.ts +2 -0
  1514. package/dist/ui/query/core-dm/typeGuards.js +4 -0
  1515. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.context.d.ts +13 -0
  1516. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.context.js +14 -0
  1517. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.d.ts +8 -0
  1518. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.js +23 -0
  1519. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.context.d.ts +9 -0
  1520. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.context.js +10 -0
  1521. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.d.ts +8 -0
  1522. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.js +33 -0
  1523. package/dist/ui/query/core-dm/usePointCloudDMVolumes.context.d.ts +10 -0
  1524. package/dist/ui/query/core-dm/usePointCloudDMVolumes.context.js +11 -0
  1525. package/dist/ui/query/core-dm/usePointCloudDMVolumes.d.ts +7 -0
  1526. package/dist/ui/query/core-dm/usePointCloudDMVolumes.js +59 -0
  1527. package/dist/ui/query/findScenesContainingResources.d.ts +9 -0
  1528. package/dist/ui/query/findScenesContainingResources.js +54 -0
  1529. package/dist/ui/query/index.d.ts +24 -0
  1530. package/dist/ui/query/index.js +22 -0
  1531. package/dist/ui/query/use3DModelName.d.ts +4 -0
  1532. package/dist/ui/query/use3DModelName.js +26 -0
  1533. package/dist/ui/query/use3dRelatedDirectConnections.d.ts +4 -0
  1534. package/dist/ui/query/use3dRelatedDirectConnections.js +64 -0
  1535. package/dist/ui/query/use3dRelatedEdgeConnections.d.ts +4 -0
  1536. package/dist/ui/query/use3dRelatedEdgeConnections.js +36 -0
  1537. package/dist/ui/query/useAll3dDirectConnectionsWithProperties.context.d.ts +7 -0
  1538. package/dist/ui/query/useAll3dDirectConnectionsWithProperties.context.js +6 -0
  1539. package/dist/ui/query/useAll3dDirectConnectionsWithProperties.d.ts +4 -0
  1540. package/dist/ui/query/useAll3dDirectConnectionsWithProperties.js +65 -0
  1541. package/dist/ui/query/useAssetsAndTimeseriesLinkageDataQuery.d.ts +9 -0
  1542. package/dist/ui/query/useAssetsAndTimeseriesLinkageDataQuery.js +60 -0
  1543. package/dist/ui/query/useAssetsAndTimeseriesLinkages.context.d.ts +11 -0
  1544. package/dist/ui/query/useAssetsAndTimeseriesLinkages.context.js +12 -0
  1545. package/dist/ui/query/useAssetsAndTimeseriesLinkages.d.ts +4 -0
  1546. package/dist/ui/query/useAssetsAndTimeseriesLinkages.js +33 -0
  1547. package/dist/ui/query/useAssetsByIdsQuery.d.ts +3 -0
  1548. package/dist/ui/query/useAssetsByIdsQuery.js +15 -0
  1549. package/dist/ui/query/useDmsInstanceByIdsQuery.d.ts +3 -0
  1550. package/dist/ui/query/useDmsInstanceByIdsQuery.js +18 -0
  1551. package/dist/ui/query/useFetchClassicAssetsByIds.d.ts +11 -0
  1552. package/dist/ui/query/useFetchClassicAssetsByIds.js +36 -0
  1553. package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.context.d.ts +9 -0
  1554. package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.context.js +10 -0
  1555. package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.d.ts +9 -0
  1556. package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.js +31 -0
  1557. package/dist/ui/query/useFilterOnClassicAssetsInScene.d.ts +3 -0
  1558. package/dist/ui/query/useFilterOnClassicAssetsInScene.js +41 -0
  1559. package/dist/ui/query/useHybridMappingsForAssetInstances.context.d.ts +9 -0
  1560. package/dist/ui/query/useHybridMappingsForAssetInstances.context.js +10 -0
  1561. package/dist/ui/query/useHybridMappingsForAssetInstances.d.ts +5 -0
  1562. package/dist/ui/query/useHybridMappingsForAssetInstances.js +31 -0
  1563. package/dist/ui/query/useInstancesByIdsQuery.context.d.ts +10 -0
  1564. package/dist/ui/query/useInstancesByIdsQuery.context.js +10 -0
  1565. package/dist/ui/query/useInstancesByIdsQuery.d.ts +9 -0
  1566. package/dist/ui/query/useInstancesByIdsQuery.js +32 -0
  1567. package/dist/ui/query/useModelsForInstanceQuery.context.d.ts +28 -0
  1568. package/dist/ui/query/useModelsForInstanceQuery.context.js +29 -0
  1569. package/dist/ui/query/useModelsForInstanceQuery.d.ts +9 -0
  1570. package/dist/ui/query/useModelsForInstanceQuery.js +89 -0
  1571. package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.context.d.ts +9 -0
  1572. package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.context.js +10 -0
  1573. package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.d.ts +6 -0
  1574. package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.js +25 -0
  1575. package/dist/ui/query/useSearchAssetsMapped360Annotations.d.ts +7 -0
  1576. package/dist/ui/query/useSearchAssetsMapped360Annotations.js +41 -0
  1577. package/dist/ui/query/useSearchAssetsMappedPointCloudAnnotations.d.ts +6 -0
  1578. package/dist/ui/query/useSearchAssetsMappedPointCloudAnnotations.js +48 -0
  1579. package/dist/ui/query/useSearchMappedEquipmentAssetMappings.context.d.ts +9 -0
  1580. package/dist/ui/query/useSearchMappedEquipmentAssetMappings.context.js +10 -0
  1581. package/dist/ui/query/useSearchMappedEquipmentAssetMappings.d.ts +21 -0
  1582. package/dist/ui/query/useSearchMappedEquipmentAssetMappings.js +95 -0
  1583. package/dist/ui/query/useSearchMappedEquipmentFDM.d.ts +12 -0
  1584. package/dist/ui/query/useSearchMappedEquipmentFDM.js +42 -0
  1585. package/dist/ui/query/useTimeseriesByIdsQuery.d.ts +3 -0
  1586. package/dist/ui/query/useTimeseriesByIdsQuery.js +15 -0
  1587. package/dist/ui/query/useTimeseriesLatestDatapointQuery.d.ts +2 -0
  1588. package/dist/ui/query/useTimeseriesLatestDatapointQuery.js +15 -0
  1589. package/dist/utilities/PickReturn.d.ts +1 -0
  1590. package/dist/utilities/TextWithClickableLink.d.ts +4 -0
  1591. package/dist/utilities/TextWithClickableLink.js +25 -0
  1592. package/dist/utilities/assertNever.d.ts +1 -0
  1593. package/dist/utilities/assertNever.js +6 -0
  1594. package/dist/utilities/constants.d.ts +5 -0
  1595. package/dist/utilities/constants.js +6 -0
  1596. package/dist/utilities/convertAssetMetadataToLowerCase.d.ts +2 -0
  1597. package/dist/utilities/convertAssetMetadataToLowerCase.js +9 -0
  1598. package/dist/utilities/createSimpleHash.d.ts +1 -0
  1599. package/dist/utilities/createSimpleHash.js +13 -0
  1600. package/dist/utilities/cursoring/autoCursoringProvider.d.ts +16 -0
  1601. package/dist/utilities/cursoring/autoCursoringProvider.js +20 -0
  1602. package/dist/utilities/cursoring/dataAccumulator.d.ts +13 -0
  1603. package/dist/utilities/cursoring/dataAccumulator.js +29 -0
  1604. package/dist/utilities/cursoring/dataPaginator.d.ts +10 -0
  1605. package/dist/utilities/cursoring/dataPaginator.js +23 -0
  1606. package/dist/utilities/cursoring/index.d.ts +2 -0
  1607. package/dist/utilities/date-time-utils/constants.d.ts +7 -0
  1608. package/dist/utilities/date-time-utils/constants.js +54 -0
  1609. package/dist/utilities/date-time-utils/format-date-time.d.ts +39 -0
  1610. package/dist/utilities/date-time-utils/format-date-time.js +37 -0
  1611. package/dist/utilities/date-time-utils/index.d.ts +3 -0
  1612. package/dist/utilities/date-time-utils/index.js +3 -0
  1613. package/dist/utilities/date-time-utils/types.d.ts +10 -0
  1614. package/dist/utilities/dms-cursoring/cursoring-order.d.ts +18 -0
  1615. package/dist/utilities/dms-cursoring/cursoring-order.js +19 -0
  1616. package/dist/utilities/dms-cursoring/dms-query-paginator.d.ts +32 -0
  1617. package/dist/utilities/dms-cursoring/dms-query-paginator.js +64 -0
  1618. package/dist/utilities/dms-cursoring/dmsAccumulator.d.ts +8 -0
  1619. package/dist/utilities/dms-cursoring/dmsAccumulator.js +17 -0
  1620. package/dist/utilities/dms-cursoring/get-cursor-paths.d.ts +2 -0
  1621. package/dist/utilities/dms-cursoring/get-cursor-paths.js +25 -0
  1622. package/dist/utilities/dms-cursoring/next-dms-query-cursor.d.ts +13 -0
  1623. package/dist/utilities/dms-cursoring/next-dms-query-cursor.js +50 -0
  1624. package/dist/utilities/executeParallel.d.ts +1 -0
  1625. package/dist/utilities/executeParallel.js +15 -0
  1626. package/dist/utilities/externalIndex.d.ts +6 -0
  1627. package/dist/utilities/externalIndex.js +18 -0
  1628. package/dist/utilities/fdmViewsExist.d.ts +2 -0
  1629. package/dist/utilities/fdmViewsExist.js +6 -0
  1630. package/dist/utilities/getInstancesFromClick.d.ts +12 -0
  1631. package/dist/utilities/getInstancesFromClick.js +43 -0
  1632. package/dist/utilities/getModelKeys.d.ts +7 -0
  1633. package/dist/utilities/getModelKeys.js +7 -0
  1634. package/dist/utilities/getUnifiedThreeDUrlForResource.d.ts +16 -0
  1635. package/dist/utilities/getUnifiedThreeDUrlForResource.js +26 -0
  1636. package/dist/utilities/getUrlRegex.d.ts +1 -0
  1637. package/dist/utilities/getUrlRegex.js +6 -0
  1638. package/dist/utilities/getViewerResourceCount.d.ts +2 -0
  1639. package/dist/utilities/getViewerResourceCount.js +6 -0
  1640. package/dist/utilities/image360Annotations/equality.d.ts +4 -0
  1641. package/dist/utilities/image360Annotations/equality.js +12 -0
  1642. package/dist/utilities/image360Annotations/getImage360AnnotationAssetRef.d.ts +3 -0
  1643. package/dist/utilities/image360Annotations/getImage360AnnotationAssetRef.js +15 -0
  1644. package/dist/utilities/image360Annotations/getImage360AnnotationId.d.ts +2 -0
  1645. package/dist/utilities/image360Annotations/getImage360AnnotationId.js +13 -0
  1646. package/dist/utilities/image360Annotations/index.d.ts +5 -0
  1647. package/dist/utilities/image360Annotations/index.js +5 -0
  1648. package/dist/utilities/image360Annotations/typeGuards.d.ts +11 -0
  1649. package/dist/utilities/image360Annotations/typeGuards.js +27 -0
  1650. package/dist/utilities/image360Annotations/types.d.ts +4 -0
  1651. package/dist/utilities/index.d.ts +4 -0
  1652. package/dist/utilities/index.js +17 -0
  1653. package/dist/utilities/instanceIds/equality.d.ts +8 -0
  1654. package/dist/utilities/instanceIds/equality.js +19 -0
  1655. package/dist/utilities/instanceIds/index.d.ts +4 -0
  1656. package/dist/utilities/instanceIds/index.js +4 -0
  1657. package/dist/utilities/instanceIds/toIdEither.d.ts +2 -0
  1658. package/dist/utilities/instanceIds/toIdEither.js +6 -0
  1659. package/dist/utilities/instanceIds/toKey.d.ts +5 -0
  1660. package/dist/utilities/instanceIds/toKey.js +15 -0
  1661. package/dist/utilities/instanceIds/typeGuards.d.ts +17 -0
  1662. package/dist/utilities/instanceIds/typeGuards.js +24 -0
  1663. package/dist/utilities/instanceIds/types.d.ts +9 -0
  1664. package/dist/utilities/instances/AssetInstance.d.ts +4 -0
  1665. package/dist/utilities/instances/index.d.ts +3 -0
  1666. package/dist/utilities/instances/index.js +3 -0
  1667. package/dist/utilities/instances/matchAssetWithQuery.d.ts +2 -0
  1668. package/dist/utilities/instances/matchAssetWithQuery.js +14 -0
  1669. package/dist/utilities/instances/toId.d.ts +3 -0
  1670. package/dist/utilities/instances/toId.js +16 -0
  1671. package/dist/utilities/instances/typeGuards.d.ts +6 -0
  1672. package/dist/utilities/instances/typeGuards.js +12 -0
  1673. package/dist/utilities/isDefined.d.ts +1 -0
  1674. package/dist/utilities/isDefined.js +6 -0
  1675. package/dist/utilities/isSameModel.d.ts +5 -0
  1676. package/dist/utilities/isSameModel.js +20 -0
  1677. package/dist/utilities/loadMetricsParameters.d.ts +7 -0
  1678. package/dist/utilities/map/concatenateMapValues.d.ts +4 -0
  1679. package/dist/utilities/map/concatenateMapValues.js +9 -0
  1680. package/dist/utilities/map/mergeMapMapValues.d.ts +11 -0
  1681. package/dist/utilities/map/mergeMapMapValues.js +18 -0
  1682. package/dist/utilities/modelExists.d.ts +3 -0
  1683. package/dist/utilities/modelExists.js +9 -0
  1684. package/dist/utilities/modelIds/index.d.ts +2 -0
  1685. package/dist/utilities/modelIds/index.js +2 -0
  1686. package/dist/utilities/modelIds/typeGuards.d.ts +7 -0
  1687. package/dist/utilities/modelIds/typeGuards.js +21 -0
  1688. package/dist/utilities/modelIds/types.d.ts +139 -0
  1689. package/dist/utilities/navigation/enterNearby360Image.d.ts +5 -0
  1690. package/dist/utilities/navigation/enterNearby360Image.js +12 -0
  1691. package/dist/utilities/navigation/index.d.ts +1 -0
  1692. package/dist/utilities/navigation/index.js +2 -0
  1693. package/dist/utilities/queryKeys.d.ts +33 -0
  1694. package/dist/utilities/queryKeys.js +108 -0
  1695. package/dist/utilities/removeEmptyProperties.d.ts +2 -0
  1696. package/dist/utilities/removeEmptyProperties.js +12 -0
  1697. package/dist/utilities/resourceSettings.d.ts +14 -0
  1698. package/dist/utilities/resourceSettings.js +57 -0
  1699. package/dist/utilities/restrictToDmsId.d.ts +2 -0
  1700. package/dist/utilities/restrictToDmsId.js +9 -0
  1701. package/dist/utilities/restrictToViewReference.d.ts +3 -0
  1702. package/dist/utilities/restrictToViewReference.js +11 -0
  1703. package/dist/utilities/signal/DisposableSignal.d.ts +5 -0
  1704. package/dist/utilities/signal/useDisposableSignal.d.ts +2 -0
  1705. package/dist/utilities/signal/useDisposableSignal.js +10 -0
  1706. package/dist/utilities/styling/index.d.ts +1 -0
  1707. package/dist/utilities/styling/index.js +0 -0
  1708. package/dist/utilities/styling/stylingGroups.d.ts +20 -0
  1709. package/dist/utilities/styling/stylingGroups.js +9 -0
  1710. package/dist/utilities/tryGetModelIdFromExternalId.d.ts +2 -0
  1711. package/dist/utilities/tryGetModelIdFromExternalId.js +14 -0
  1712. package/package.json +117 -0
@@ -0,0 +1,80 @@
1
+ import { isDmsInstance as e } from "../../../utilities/instanceIds/typeGuards.js";
2
+ import { createFdmKey as t, createModelRevisionKey as n } from "../idAndKeyTranslation.js";
3
+ import "../../../utilities/instanceIds/index.js";
4
+ import { executeParallel as r } from "../../../utilities/executeParallel.js";
5
+ import { isDefined as i } from "../../../utilities/isDefined.js";
6
+ import { concatenateMapValues as a } from "../../../utilities/map/concatenateMapValues.js";
7
+ import { mergeMapMapValues as o } from "../../../utilities/map/mergeMapMapValues.js";
8
+ import "../../utils/getDMSModelRevisionRefs.js";
9
+ import { isClassicCadAssetTreeIndexMapping as s } from "./assetMappingTypes.js";
10
+ //#region libs/shared/reveal-components/src/data-providers/cache/cad/CadInstanceMappingsCacheImpl.ts
11
+ function c(e, t) {
12
+ return new l(e, t);
13
+ }
14
+ var l = class {
15
+ _dmCache;
16
+ _classicCache;
17
+ constructor(e, t) {
18
+ this._dmCache = t, this._classicCache = e;
19
+ }
20
+ async getMappingsForModelsAndInstances(t, a, s) {
21
+ if (u(s), a.length === 0 || t.length === 0) return /* @__PURE__ */ new Map();
22
+ let c = t.filter(e), l = await this._dmCache?.getMappingsForFdmInstances(c, a);
23
+ u(s);
24
+ let f = d(l), p = a.map((e) => async () => {
25
+ u(s);
26
+ let r = await this._classicCache?.getNodesForInstanceIds(e.modelId, e.revisionId, t);
27
+ if (u(s), r !== void 0) return [n(e.modelId, e.revisionId), r];
28
+ }).filter(i), m = await r(p, 2);
29
+ u(s);
30
+ let h = new Map(m.filter(i));
31
+ return o([...h.entries(), ...f?.entries() ?? []]);
32
+ }
33
+ async getAllModelMappings(e, t) {
34
+ return await this.getAllModelMappingsInternal(e, !1, t);
35
+ }
36
+ async getAllModelMappingsWithViews(e, t) {
37
+ return await this.getAllModelMappingsInternal(e, !0, t);
38
+ }
39
+ async getAllModelMappingsInternal(e, c, l) {
40
+ u(l);
41
+ let d = r(e.map((e) => async () => {
42
+ if (this._classicCache !== void 0) return {
43
+ model: e,
44
+ mappings: await this._classicCache.getAssetMappingsForModel(e.modelId, e.revisionId)
45
+ };
46
+ }), 2), f = this._dmCache?.getAllMappingExternalIds(e, c), p = (await d).filter(i).flat();
47
+ u(l);
48
+ let m = await f;
49
+ u(l);
50
+ let h = new Map(p.map(({ model: e, mappings: r }) => {
51
+ let i = a(r.map((e) => {
52
+ if (s(e)) {
53
+ let { assetId: t, ...n } = e;
54
+ return [t, n];
55
+ }
56
+ {
57
+ let { instanceId: n, ...r } = e;
58
+ return [t(n), r];
59
+ }
60
+ }));
61
+ return [n(e.modelId, e.revisionId), i];
62
+ })), g = new Map([...m?.entries() ?? []].map(([e, n]) => {
63
+ let r = n.map((e) => [t(e.connection.instance), {
64
+ treeIndex: e.cadNode.treeIndex,
65
+ subtreeSize: e.cadNode.subtreeSize,
66
+ nodeId: e.cadNode.id
67
+ }]);
68
+ return [e, a(r)];
69
+ }));
70
+ return o([...h.entries(), ...g.entries()]);
71
+ }
72
+ };
73
+ function u(e) {
74
+ e?.throwIfAborted();
75
+ }
76
+ function d(e) {
77
+ if (e !== void 0) return new Map(e.map((e) => [n(e.modelId, e.revisionId), e.mappings]));
78
+ }
79
+ //#endregion
80
+ export { c as createCadInstanceMappingsCache };
@@ -0,0 +1,22 @@
1
+ import { Node3D } from '@cognite/sdk';
2
+ import { ModelWithAssetMappings } from '../../../ui/hooks/cad/modelWithAssetMappings';
3
+ import { InstanceId, InstanceKey } from '../../../utilities/instanceIds';
4
+ import { ModelId, RevisionId } from '../types';
5
+ import { HybridCadAssetMapping } from './assetMappingTypes';
6
+ export type HybridCadNodeAssetMappingResult = {
7
+ node?: Node3D;
8
+ mappings: HybridCadAssetMapping[];
9
+ };
10
+ export type AssetMappingsPageResult = {
11
+ mappings: HybridCadAssetMapping[];
12
+ nextCursor: string | undefined;
13
+ };
14
+ export type ClassicCadAssetMappingCache = {
15
+ getAssetMappingsForLowestAncestor: (modelId: ModelId, revisionId: RevisionId, ancestors: Node3D[]) => Promise<HybridCadNodeAssetMappingResult>;
16
+ getNodesForInstanceIds: (modelId: ModelId, revisionId: RevisionId, instanceIds: InstanceId[]) => Promise<Map<InstanceKey, Node3D[]>>;
17
+ generateNode3DCachePerItem: (modelId: ModelId, revisionId: RevisionId, nodeIds: number[] | undefined) => Promise<void>;
18
+ generateAssetMappingsCachePerItemFromModelCache: (modelId: ModelId, revisionId: RevisionId, assetMappingsPerModel: ModelWithAssetMappings[] | undefined) => void;
19
+ getAssetMappingsForModel: (modelId: ModelId, revisionId: RevisionId) => Promise<HybridCadAssetMapping[]>;
20
+ getAssetMappingsForModelPage: (modelId: ModelId, revisionId: RevisionId, cursor?: string) => Promise<AssetMappingsPageResult>;
21
+ getAssetMappingsForInstanceIds: (modelId: ModelId, revisionId: RevisionId, assetIds: number[]) => Promise<HybridCadAssetMapping[]>;
22
+ };
@@ -0,0 +1,3 @@
1
+ import { CogniteClient } from '@cognite/sdk';
2
+ import { ClassicCadAssetMappingCache } from './ClassicCadAssetMappingCache';
3
+ export declare function createClassicCadAssetMappingCache(sdk: CogniteClient): ClassicCadAssetMappingCache;
@@ -0,0 +1,135 @@
1
+ import { createInstanceKey as e, createModelInstanceIdKey as t, createModelNodeIdKey as n, createModelRevisionKey as r, fdmKeyToId as i } from "../idAndKeyTranslation.js";
2
+ import { isDefined as a } from "../../../utilities/isDefined.js";
3
+ import { getMappingInstanceId as o } from "./assetMappingTypes.js";
4
+ import { ClassicCadAssetMappingPerAssetIdCache as s } from "./ClassicCadAssetMappingPerAssetIdCache.js";
5
+ import { convertToHybridAssetMapping as c } from "./rawAssetMappingTypes.js";
6
+ import { ClassicCadAssetMappingPerModelCache as l } from "./ClassicCadAssetMappingPerModelCache.js";
7
+ import { ClassicCadAssetMappingPerNodeIdCache as u } from "./ClassicCadAssetMappingPerNodeIdCache.js";
8
+ import { ClassicCadNode3DPerNodeIdCache as d } from "./ClassicCadNode3DPerNodeIdCache.js";
9
+ import { chunk as f, maxBy as p, partition as m } from "lodash-es";
10
+ import { assert as h } from "@cognite/underscore";
11
+ //#region libs/shared/reveal-components/src/data-providers/cache/cad/ClassicCadAssetMappingCacheImpl.ts
12
+ function g(e) {
13
+ return new _(e);
14
+ }
15
+ var _ = class {
16
+ _sdk;
17
+ modelToAssetMappingsCache;
18
+ assetIdsToAssetMappingCache;
19
+ nodeIdsToAssetMappingCache;
20
+ nodeIdsToNode3DCache;
21
+ _amountOfAssetIdsChunks = 1;
22
+ _individuallyCachedPages = /* @__PURE__ */ new Set();
23
+ constructor(e) {
24
+ this._sdk = e, this.assetIdsToAssetMappingCache = new s(), this.nodeIdsToAssetMappingCache = new u(), this.modelToAssetMappingsCache = new l(this._sdk), this.nodeIdsToNode3DCache = new d(this._sdk);
25
+ }
26
+ async getAssetMappingsForLowestAncestor(e, t, n) {
27
+ if (n.length === 0) return { mappings: [] };
28
+ let r = new Set(n.map((e) => e.treeIndex)), i = (await this.getAssetMappingsForNodes(e, t, n)).filter((e) => r.has(e.treeIndex));
29
+ if (i.length === 0) return { mappings: [] };
30
+ let a = p(i, (e) => e.treeIndex)?.treeIndex;
31
+ h(a !== void 0);
32
+ let o = i.filter((e) => e.treeIndex === a), s = n.find((e) => e.treeIndex === a);
33
+ return h(s !== void 0), {
34
+ node: s,
35
+ mappings: o
36
+ };
37
+ }
38
+ async getNodesForInstanceIds(t, n, r) {
39
+ let i = Math.round(r.length / this._amountOfAssetIdsChunks), a = f(r, i).map(async (e) => await this.getAssetMappingsForInstanceIds(t, n, e)), s = (await Promise.all(a)).flat(), c = new Set(r.map(e)), l = s.filter((t) => c.has(e(o(t))));
40
+ return (await this.nodeIdsToNode3DCache.getNodesForNodeIds(t, n, l.map((e) => e.nodeId))).reduce((t, n, r) => {
41
+ let i = e(o(l[r])), a = t.get(i);
42
+ return a === void 0 ? t.set(i, [n]) : a.push(n), t;
43
+ }, /* @__PURE__ */ new Map());
44
+ }
45
+ async generateNode3DCachePerItem(e, t, n) {
46
+ await this.nodeIdsToNode3DCache.generateNode3DCachePerItem(e, t, n);
47
+ }
48
+ generateAssetMappingsCachePerItemFromModelCache(n, r, i) {
49
+ i !== void 0 && i.flatMap((i) => i.assetMappings.forEach((i) => {
50
+ let a = t(n, r, e(o(i)));
51
+ this.assetIdsToAssetMappingCache.setAssetMappingsCacheItem(a, i);
52
+ }));
53
+ }
54
+ async getAssetMappingsForModel(e, t) {
55
+ let n = r(e, t), i = await this.modelToAssetMappingsCache.getModelToAssetMappingCacheItems(n);
56
+ return i === void 0 ? await this.modelToAssetMappingsCache.fetchAndCacheMappingsForModel(e, t) : i;
57
+ }
58
+ async getAssetMappingsForModelPage(e, t, n, i = !1) {
59
+ let a = await this.modelToAssetMappingsCache.fetchAssetMappingsPage(e, t, n, i), o = `${r(e, t)}|${n ?? ""}`;
60
+ return this._individuallyCachedPages.has(o) || (this._individuallyCachedPages.add(o), this.cacheIndividualMappings(e, t, a.mappings)), a;
61
+ }
62
+ cacheIndividualMappings(r, i, a) {
63
+ a.forEach((a) => {
64
+ let s = t(r, i, e(o(a))), c = n(r, i, a.nodeId);
65
+ this.assetIdsToAssetMappingCache.setAssetMappingsCacheItem(s, a), this.nodeIdsToAssetMappingCache.setAssetMappingsCacheItem(c, a);
66
+ });
67
+ }
68
+ async splitChunkInCacheAssetMappings(e, n, r, i) {
69
+ let a = [], o = [];
70
+ return await Promise.all(e.map(async (e) => {
71
+ let s = t(n, r, e), c = await this.getItemCacheResult(i, s);
72
+ c === void 0 ? o.push(e) : a.push(...c);
73
+ })), {
74
+ chunkInCache: a,
75
+ chunkNotInCache: o
76
+ };
77
+ }
78
+ async getItemCacheResult(e, t) {
79
+ return e === "nodeIds" ? await this.nodeIdsToAssetMappingCache.getNodeIdsToAssetMappingCacheItem(t) : await this.assetIdsToAssetMappingCache.getAssetIdsToAssetMappingCacheItem(t);
80
+ }
81
+ setItemCacheResult(e, t, n) {
82
+ let r = Promise.resolve(n ?? []);
83
+ e === "nodeIds" ? this.nodeIdsToAssetMappingCache.setNodeIdsToAssetMappingCacheItem(t, r) : this.assetIdsToAssetMappingCache.setAssetIdsToAssetMappingCacheItem(t, r);
84
+ }
85
+ async fetchAssetMappingsRequest(r, i, s, l) {
86
+ let u = (await (async () => i === "nodeIds" ? await this.fetchAssetMappingsByNodeIds(r, s, l) : await this.fetchAssetMappingsByInstanceIds(r, s, l))()).flatMap(c).filter(a);
87
+ return await Promise.all(u.map(async (r) => {
88
+ let i = t(s, l, e(o(r))), a = n(s, l, r.nodeId);
89
+ this.assetIdsToAssetMappingCache.setAssetMappingsCacheItem(i, r), this.nodeIdsToAssetMappingCache.setAssetMappingsCacheItem(a, r);
90
+ })), r.forEach(async (e) => {
91
+ let n = t(s, l, e);
92
+ await this.getItemCacheResult(i, n) === void 0 && this.setItemCacheResult(i, n, []);
93
+ }), u;
94
+ }
95
+ async fetchAssetMappingsByInstanceIds(e, t, n) {
96
+ let [r, a] = m(e, (e) => typeof e == "number"), o = a.map(i), s = r.length === 0 ? Promise.resolve([]) : this.fetchMappingsWithFilter(t, n, { filter: { assetIds: r } }), c = o.length === 0 ? Promise.resolve([]) : this.fetchMappingsWithFilter(t, n, {
97
+ filter: { assetInstanceIds: o },
98
+ getDmsInstances: !0
99
+ }), [l, u] = await Promise.all([s, c]);
100
+ return [...l, ...u];
101
+ }
102
+ async fetchAssetMappingsByNodeIds(e, t, n) {
103
+ let r = e.filter((e) => typeof e == "number");
104
+ if (r.length === 0) return [];
105
+ let i = { nodeIds: r }, a = this.fetchMappingsWithFilter(t, n, { filter: i }), o = this.fetchMappingsWithFilter(t, n, {
106
+ filter: i,
107
+ getDmsInstances: !0
108
+ }), [s, c] = await Promise.all([a, o]);
109
+ return [...s, ...c];
110
+ }
111
+ async fetchMappingsWithFilter(e, t, n) {
112
+ return await this._sdk.assetMappings3D.filter(e, t, n).autoPagingToArray({ limit: Infinity });
113
+ }
114
+ async fetchMappingsInQueue(e, t, n, r, i, a) {
115
+ let o = await this.fetchAssetMappingsRequest(t[e], n, r, i);
116
+ if (a = a.concat(o), e >= t.length - 1) return a;
117
+ let s = e + 1;
118
+ return await this.fetchMappingsInQueue(s, t, n, r, i, a);
119
+ }
120
+ async fetchAndCacheMappingsForIds(e, t, n, r) {
121
+ if (n.length === 0) return [];
122
+ let i = f(n, 1e3);
123
+ return await this.fetchMappingsInQueue(0, i, r, e, t, []);
124
+ }
125
+ async getAssetMappingsForNodes(e, t, n) {
126
+ let r = n.map((e) => e.id), { chunkNotInCache: i, chunkInCache: a } = await this.splitChunkInCacheAssetMappings(r, e, t, "nodeIds"), o = i, s = await this.fetchAndCacheMappingsForIds(e, t, o, "nodeIds");
127
+ return a.concat(s);
128
+ }
129
+ async getAssetMappingsForInstanceIds(t, n, r) {
130
+ let i = r.map(e), { chunkNotInCache: a, chunkInCache: o } = await this.splitChunkInCacheAssetMappings(i, t, n, "assetIds"), s = a, c = await this.fetchAndCacheMappingsForIds(t, n, s, "assetIds");
131
+ return o.concat(c);
132
+ }
133
+ };
134
+ //#endregion
135
+ export { g as createClassicCadAssetMappingCache };
@@ -0,0 +1,8 @@
1
+ import { ModelInstanceIdKey } from '../types';
2
+ import { HybridCadAssetMapping } from './assetMappingTypes';
3
+ export declare class ClassicCadAssetMappingPerAssetIdCache {
4
+ private readonly _assetIdsToAssetMappings;
5
+ setAssetIdsToAssetMappingCacheItem(key: ModelInstanceIdKey, item: Promise<HybridCadAssetMapping[]>): void;
6
+ getAssetIdsToAssetMappingCacheItem(key: ModelInstanceIdKey): Promise<HybridCadAssetMapping[] | undefined>;
7
+ setAssetMappingsCacheItem(key: ModelInstanceIdKey, item: HybridCadAssetMapping): void;
8
+ }
@@ -0,0 +1,16 @@
1
+ //#region libs/shared/reveal-components/src/data-providers/cache/cad/ClassicCadAssetMappingPerAssetIdCache.ts
2
+ var e = class {
3
+ _assetIdsToAssetMappings = /* @__PURE__ */ new Map();
4
+ setAssetIdsToAssetMappingCacheItem(e, t) {
5
+ this._assetIdsToAssetMappings.set(e, Promise.resolve(t));
6
+ }
7
+ async getAssetIdsToAssetMappingCacheItem(e) {
8
+ return await this._assetIdsToAssetMappings.get(e);
9
+ }
10
+ setAssetMappingsCacheItem(e, t) {
11
+ let n = this.getAssetIdsToAssetMappingCacheItem(e);
12
+ this.setAssetIdsToAssetMappingCacheItem(e, n.then((e) => e === void 0 ? [t] : (e.push(t), e)));
13
+ }
14
+ };
15
+ //#endregion
16
+ export { e as ClassicCadAssetMappingPerAssetIdCache };
@@ -0,0 +1,18 @@
1
+ import { CogniteClient } from '@cognite/sdk';
2
+ import { ModelId, RevisionId, ModelRevisionKey } from '../types';
3
+ import { HybridCadAssetMapping } from './assetMappingTypes';
4
+ import { AssetMappingsPageResult } from './ClassicCadAssetMappingCache';
5
+ export declare class ClassicCadAssetMappingPerModelCache {
6
+ private readonly _sdk;
7
+ private readonly _modelToAssetMappings;
8
+ private readonly _classicPageCache;
9
+ private readonly _dmPageCache;
10
+ private readonly _fullyLoadedModels;
11
+ constructor(sdk: CogniteClient);
12
+ private setModelToAssetMappingCacheItems;
13
+ getModelToAssetMappingCacheItems(key: ModelRevisionKey): Promise<HybridCadAssetMapping[] | undefined>;
14
+ fetchAssetMappingsPage(modelId: ModelId, revisionId: RevisionId, cursor?: string, isDmMappingsPage?: boolean): Promise<AssetMappingsPageResult>;
15
+ private getOrFetchPage;
16
+ fetchAndCacheMappingsForModel(modelId: ModelId, revisionId: RevisionId): Promise<HybridCadAssetMapping[]>;
17
+ private fetchAllMappingPages;
18
+ }
@@ -0,0 +1,53 @@
1
+ import { createModelRevisionKey as e } from "../idAndKeyTranslation.js";
2
+ import { isDefined as t } from "../../../utilities/isDefined.js";
3
+ import { convertToHybridAssetMapping as n } from "./rawAssetMappingTypes.js";
4
+ //#region libs/shared/reveal-components/src/data-providers/cache/cad/ClassicCadAssetMappingPerModelCache.ts
5
+ var r = class {
6
+ _sdk;
7
+ _modelToAssetMappings = /* @__PURE__ */ new Map();
8
+ _classicPageCache = /* @__PURE__ */ new Map();
9
+ _dmPageCache = /* @__PURE__ */ new Map();
10
+ _fullyLoadedModels = /* @__PURE__ */ new Set();
11
+ constructor(e) {
12
+ this._sdk = e;
13
+ }
14
+ setModelToAssetMappingCacheItems(e, t) {
15
+ this._modelToAssetMappings.set(e, t);
16
+ }
17
+ async getModelToAssetMappingCacheItems(e) {
18
+ return await this._modelToAssetMappings.get(e);
19
+ }
20
+ async fetchAssetMappingsPage(r, i, a, o = !1) {
21
+ let s = `${e(r, i)}|${a ?? ""}`, c = o ? this._dmPageCache : this._classicPageCache, l = await this.getOrFetchPage(c, s, () => this._sdk.assetMappings3D.list(r, i, {
22
+ limit: 1e3,
23
+ ...a === void 0 ? {} : { cursor: a },
24
+ getDmsInstances: o
25
+ }));
26
+ return {
27
+ mappings: [...l.items].flatMap(n).filter(t),
28
+ nextCursor: l.nextCursor
29
+ };
30
+ }
31
+ getOrFetchPage(e, t, n) {
32
+ let r = e.get(t);
33
+ if (r !== void 0) return r;
34
+ let i = n();
35
+ return e.set(t, i), i;
36
+ }
37
+ async fetchAndCacheMappingsForModel(t, n) {
38
+ let r = e(t, n), i = await this.getModelToAssetMappingCacheItems(r);
39
+ if (i !== void 0) return i;
40
+ let a = await this.fetchAllMappingPages(t, n, !1), o = await this.fetchAllMappingPages(t, n, !0), s = [...a, ...o];
41
+ return this.setModelToAssetMappingCacheItems(r, Promise.resolve(s)), this._fullyLoadedModels.add(r), s;
42
+ }
43
+ async fetchAllMappingPages(e, t, n) {
44
+ let r = [], i;
45
+ do {
46
+ let { mappings: a, nextCursor: o } = await this.fetchAssetMappingsPage(e, t, i, n);
47
+ r.push(...a), i = o;
48
+ } while (i !== void 0);
49
+ return r;
50
+ }
51
+ };
52
+ //#endregion
53
+ export { r as ClassicCadAssetMappingPerModelCache };
@@ -0,0 +1,8 @@
1
+ import { ModelInstanceIdKey, ModelNodeIdKey } from '../types';
2
+ import { HybridCadAssetMapping } from './assetMappingTypes';
3
+ export declare class ClassicCadAssetMappingPerNodeIdCache {
4
+ private readonly _nodeIdsToAssetMappings;
5
+ setNodeIdsToAssetMappingCacheItem(key: ModelNodeIdKey | ModelInstanceIdKey, item: Promise<HybridCadAssetMapping[]>): void;
6
+ getNodeIdsToAssetMappingCacheItem(key: ModelNodeIdKey | ModelInstanceIdKey): Promise<HybridCadAssetMapping[] | undefined>;
7
+ setAssetMappingsCacheItem(key: ModelNodeIdKey | ModelInstanceIdKey, item: HybridCadAssetMapping): void;
8
+ }
@@ -0,0 +1,16 @@
1
+ //#region libs/shared/reveal-components/src/data-providers/cache/cad/ClassicCadAssetMappingPerNodeIdCache.ts
2
+ var e = class {
3
+ _nodeIdsToAssetMappings = /* @__PURE__ */ new Map();
4
+ setNodeIdsToAssetMappingCacheItem(e, t) {
5
+ this._nodeIdsToAssetMappings.set(e, Promise.resolve(t));
6
+ }
7
+ async getNodeIdsToAssetMappingCacheItem(e) {
8
+ return await this._nodeIdsToAssetMappings.get(e);
9
+ }
10
+ setAssetMappingsCacheItem(e, t) {
11
+ let n = this.getNodeIdsToAssetMappingCacheItem(e);
12
+ this.setNodeIdsToAssetMappingCacheItem(e, n.then((e) => e === void 0 ? [t] : (e.push(t), e)));
13
+ }
14
+ };
15
+ //#endregion
16
+ export { e as ClassicCadAssetMappingPerNodeIdCache };
@@ -0,0 +1,12 @@
1
+ import { Node3D, CogniteClient } from '@cognite/sdk';
2
+ import { ModelId, RevisionId, ModelNodeIdKey } from '../types';
3
+ export declare class ClassicCadNode3DPerNodeIdCache {
4
+ private readonly _sdk;
5
+ private readonly _nodeIdsToNode3D;
6
+ constructor(sdk: CogniteClient);
7
+ private splitChunkInCacheNode3D;
8
+ generateNode3DCachePerItem(modelId: ModelId, revisionId: RevisionId, nodeIds: number[] | undefined): Promise<void>;
9
+ getNodesForNodeIds(modelId: ModelId, revisionId: RevisionId, nodeIds: number[]): Promise<Node3D[]>;
10
+ getNodeIdToNode3DCacheItem(key: ModelNodeIdKey): Promise<Node3D | undefined>;
11
+ setNodeIdToNode3DCacheItem(key: ModelNodeIdKey, item: Promise<Node3D>): void;
12
+ }
@@ -0,0 +1,38 @@
1
+ import { createModelNodeIdKey as e } from "../idAndKeyTranslation.js";
2
+ import { fetchNodesForNodeIds as t } from "../requests.js";
3
+ //#region libs/shared/reveal-components/src/data-providers/cache/cad/ClassicCadNode3DPerNodeIdCache.ts
4
+ var n = class {
5
+ _sdk;
6
+ _nodeIdsToNode3D = /* @__PURE__ */ new Map();
7
+ constructor(e) {
8
+ this._sdk = e;
9
+ }
10
+ async splitChunkInCacheNode3D(t, n, r) {
11
+ let i = [], a = [];
12
+ return await Promise.all(t.map(async (t) => {
13
+ let o = e(n, r, t), s = await this.getNodeIdToNode3DCacheItem(o);
14
+ s === void 0 ? a.push(t) : i.push(s);
15
+ })), {
16
+ chunkInCache: i,
17
+ chunkNotInCache: a
18
+ };
19
+ }
20
+ async generateNode3DCachePerItem(t, n, r) {
21
+ (await this.getNodesForNodeIds(t, n, r ?? [])).forEach((r) => {
22
+ let i = e(t, n, r.id);
23
+ this.setNodeIdToNode3DCacheItem(i, Promise.resolve(r));
24
+ });
25
+ }
26
+ async getNodesForNodeIds(e, n, r) {
27
+ let { chunkNotInCache: i, chunkInCache: a } = await this.splitChunkInCacheNode3D(r, e, n), o = await t(e, n, i, this._sdk);
28
+ return a.concat(o);
29
+ }
30
+ async getNodeIdToNode3DCacheItem(e) {
31
+ return await this._nodeIdsToNode3D.get(e);
32
+ }
33
+ setNodeIdToNode3DCacheItem(e, t) {
34
+ this._nodeIdsToNode3D.set(e, Promise.resolve(t));
35
+ }
36
+ };
37
+ //#endregion
38
+ export { n as ClassicCadNode3DPerNodeIdCache };
@@ -0,0 +1,8 @@
1
+ import { DmsUniqueIdentifier } from '../../FdmSDK';
2
+ import { FdmNodeDataPromises, ModelRevisionId, ModelRevisionToConnectionMap } from '../types';
3
+ import { ThreeDModelFdmMappings } from './types';
4
+ export type FdmCadNodeCache = {
5
+ getMappingsForFdmInstances: (instances: DmsUniqueIdentifier[], modelRevisionIds: ModelRevisionId[]) => Promise<ThreeDModelFdmMappings[]>;
6
+ getAllMappingExternalIds: (modelRevisionIds: ModelRevisionId[], fetchViews: boolean) => Promise<ModelRevisionToConnectionMap>;
7
+ getClosestParentDataPromises: (modelId: number, revisionId: number, treeIndex: number) => FdmNodeDataPromises;
8
+ };
@@ -0,0 +1,11 @@
1
+ import { CogniteClient } from '@cognite/sdk';
2
+ import { Fdm3dDataProvider } from '../../Fdm3dDataProvider';
3
+ import { fetchNodesForNodeIds, inspectNodes, treeIndexesToNodeIds } from '../requests';
4
+ import { FdmCadNodeCache } from './FdmCadNodeCache';
5
+ export type FdmCadNodeCacheDeps = {
6
+ treeIndexesToNodeIds: typeof treeIndexesToNodeIds;
7
+ fetchNodesForNodeIds: typeof fetchNodesForNodeIds;
8
+ inspectNodes: typeof inspectNodes;
9
+ };
10
+ export declare const defaultFdmCadNodeCacheDeps: FdmCadNodeCacheDeps;
11
+ export declare function createFdmCadNodeCache(cdfClient: CogniteClient, fdm3dDataProvider: Fdm3dDataProvider, deps?: FdmCadNodeCacheDeps): FdmCadNodeCache;
@@ -0,0 +1,218 @@
1
+ import { createFdmKey as e, createModelRevisionKey as t, createModelTreeIndexKey as n, revisionKeyToIds as r } from "../idAndKeyTranslation.js";
2
+ import { FdmSDK as i } from "../../FdmSDK.js";
3
+ import { concatenateMapValues as a } from "../../../utilities/map/concatenateMapValues.js";
4
+ import { concatenateMapListValues as o } from "../../../utilities/map/mergeMapMapValues.js";
5
+ import { fetchNodesForNodeIds as s, inspectNodes as c, treeIndexesToNodeIds as l } from "../requests.js";
6
+ import { isFdmCadConnectionWithNodeData as u, normalizeToSlimCadNode as d } from "../../utils/cadNodeConnectionFields.js";
7
+ import { RevisionFdmNodeCache as f } from "../RevisionFdmNodeCache.js";
8
+ import { enrichCadNodeMappingsWithBoundingBoxes as p } from "./enrichCadNodeMappingsWithBoundingBoxes.js";
9
+ import { partition as m } from "lodash-es";
10
+ import { assert as h } from "@cognite/underscore";
11
+ //#region libs/shared/reveal-components/src/data-providers/cache/cad/FdmCadNodeCacheImpl.ts
12
+ var g = {
13
+ treeIndexesToNodeIds: l,
14
+ fetchNodesForNodeIds: s,
15
+ inspectNodes: c
16
+ };
17
+ function _(e, t, n = g) {
18
+ return new v(e, t, n);
19
+ }
20
+ var v = class {
21
+ _revisionNodeCaches = /* @__PURE__ */ new Map();
22
+ _cdfClient;
23
+ _fdmClient;
24
+ _fdm3dDataProvider;
25
+ _deps;
26
+ _completeRevisions = /* @__PURE__ */ new Set();
27
+ constructor(e, t, n = g) {
28
+ this._cdfClient = e, this._fdmClient = new i(e), this._fdm3dDataProvider = t, this._deps = n;
29
+ }
30
+ async getMappingsForFdmInstances(e, n) {
31
+ let [r, i] = m(n, (e) => {
32
+ let n = t(e.modelId, e.revisionId);
33
+ return this._completeRevisions.has(n);
34
+ }), a = await this.getNonCachedModelMappings(e, i), o = [...this.getCachedModelMappings(r, e), ...a];
35
+ return p(o, this._cdfClient);
36
+ }
37
+ getCachedModelMappings(t, n) {
38
+ let r = new Set(n.map(e));
39
+ return t.map((e) => this.getCachedModelMappingForRevision(e, r));
40
+ }
41
+ getCachedModelMappingForRevision(t, n) {
42
+ let r = E(this.getOrCreateRevisionCache(t.modelId, t.revisionId).getAllConnections(), n), i = a(r.map((t) => [e(t.connection.instance), t.cadNode]));
43
+ return {
44
+ ...t,
45
+ mappings: i
46
+ };
47
+ }
48
+ async getNonCachedModelMappings(n, r) {
49
+ if (r.length === 0 || n.length === 0) return [];
50
+ let i = new Set(n.map(e)), a = await this.fetchInstanceScopedConnections(n, r);
51
+ return r.map(({ modelId: e, revisionId: n }) => {
52
+ let r = t(e, n), o = a.get(r);
53
+ return this.getRelevantExternalIdToNodeMapForRevision({
54
+ modelId: e,
55
+ revisionId: n
56
+ }, o, i);
57
+ });
58
+ }
59
+ getRelevantExternalIdToNodeMapForRevision({ modelId: t, revisionId: n }, r, i) {
60
+ if (r === void 0 || r.length === 0) return {
61
+ modelId: t,
62
+ revisionId: n,
63
+ mappings: /* @__PURE__ */ new Map()
64
+ };
65
+ let o = E(r, i);
66
+ return {
67
+ modelId: t,
68
+ revisionId: n,
69
+ mappings: a(o.map((t) => [e(t.connection.instance), t.cadNode]))
70
+ };
71
+ }
72
+ async getAllMappingExternalIds(e, n = !1) {
73
+ let [r, i] = m(e, (e) => {
74
+ let n = t(e.modelId, e.revisionId);
75
+ return this._completeRevisions.has(n);
76
+ });
77
+ n && await this.fetchAllViewsForCachedRevisions(r);
78
+ let a = r.map((e) => this.getCachedConnectionsForRevision(e)), o = await this.getAndCacheRevisionToConnectionsMap(i, n);
79
+ return a.forEach(([e, t]) => {
80
+ o.set(e, t);
81
+ }), o;
82
+ }
83
+ async fetchAllViewsForCachedRevisions(e) {
84
+ for (let t of e) await this.getOrCreateRevisionCache(t.modelId, t.revisionId).fetchViewsForAllConnections();
85
+ }
86
+ getCachedConnectionsForRevision(e) {
87
+ let n = this.getOrCreateRevisionCache(e.modelId, e.revisionId);
88
+ return [t(e.modelId, e.revisionId), n.getAllConnections()];
89
+ }
90
+ writeRevisionDataToCache(e, t) {
91
+ for (let [n, i] of e.entries()) {
92
+ let [e, a] = r(n), o = this.getOrCreateRevisionCache(e, a);
93
+ i.forEach((e) => {
94
+ o.insertTreeIndexMappings(e.cadNode.treeIndex, e);
95
+ }), t && this._completeRevisions.add(n);
96
+ }
97
+ }
98
+ async fetchInstanceScopedConnections(t, n) {
99
+ if (this._fdm3dDataProvider.getCadConnectionsForInstances === void 0) return this.getAndCacheRevisionToConnectionsMap(n, !1);
100
+ let r = new Set(t.map(e)), i = this.collectCachedConnectionsAndFetchPlan(t, n, r);
101
+ if (i.revisionsToFetch.length === 0) return i.cachedByRevision;
102
+ let a = t.filter((t) => i.instancesToFetchKeys.has(e(t))), s = i.revisionsToFetch.map((e) => ({
103
+ ...e,
104
+ sourceType: "classic"
105
+ })), c = await this._fdm3dDataProvider.getCadConnectionsForInstances(a, s), l = D(await this.cacheFetchedConnectionsForInstances(c, i.revisionsToFetch), i.cachedByRevision);
106
+ return o([...i.cachedByRevision.entries(), ...l]);
107
+ }
108
+ collectCachedConnectionsAndFetchPlan(n, r, i) {
109
+ let a = /* @__PURE__ */ new Map(), o = [], s = /* @__PURE__ */ new Set();
110
+ for (let c of r) {
111
+ let r = t(c.modelId, c.revisionId), l = E(this.getOrCreateRevisionCache(c.modelId, c.revisionId).getAllConnections(), i), u = new Set(l.map((t) => e(t.connection.instance))), d = n.filter((t) => !u.has(e(t)));
112
+ l.length > 0 && a.set(r, l), d.length > 0 && (o.push(c), d.forEach((t) => s.add(e(t))));
113
+ }
114
+ return {
115
+ cachedByRevision: a,
116
+ revisionsToFetch: o,
117
+ instancesToFetchKeys: s
118
+ };
119
+ }
120
+ async cacheFetchedConnectionsForInstances(e, t) {
121
+ let n = await y(e.map((e) => ({ connection: e })), t, this._cdfClient, this._deps);
122
+ return this.writeRevisionDataToCache(n, !1), n;
123
+ }
124
+ async getAndCacheRevisionToConnectionsMap(e, t) {
125
+ let n = e.map((e) => ({
126
+ ...e,
127
+ sourceType: "classic"
128
+ })), r = await this._fdm3dDataProvider.getCadConnectionsForRevisions(n), i = await y(t ? await this.getViewsForConnections(r) : r.map((e) => ({ connection: e })), e, this._cdfClient, this._deps);
129
+ return this.writeRevisionDataToCache(i, !0), i;
130
+ }
131
+ getClosestParentDataPromises(e, t, n) {
132
+ return this.getOrCreateRevisionCache(e, t).getClosestParentFdmData(n);
133
+ }
134
+ async getViewsForConnections(e) {
135
+ let t = await this._deps.inspectNodes(this._fdmClient, e.map((e) => e.instance));
136
+ return e.map((e, n) => ({
137
+ connection: e,
138
+ views: t.items[n].inspectionResults.involvedViews
139
+ }));
140
+ }
141
+ getOrCreateRevisionCache(e, n) {
142
+ let r = t(e, n), i = this._revisionNodeCaches.get(r);
143
+ if (i !== void 0) return i;
144
+ let a = new f(this._cdfClient, this._fdmClient, this._fdm3dDataProvider, e, n);
145
+ return this._revisionNodeCaches.set(r, a), a;
146
+ }
147
+ };
148
+ async function y(e, t, n, r) {
149
+ let [i, a] = m(e, (e) => u(e.connection)), o = new Map([...S(i, t), ...await C(a, t, n, r)]);
150
+ return e.reduce((e, n) => {
151
+ let r = n.connection.revisionId, i = t.find((e) => e.revisionId === r);
152
+ return i === void 0 || x(b(i, o, n.connection, n.views), e, i), e;
153
+ }, /* @__PURE__ */ new Map());
154
+ }
155
+ function b(e, t, r, i) {
156
+ let a = n(e.modelId, e.revisionId, r.treeIndex), o = t.get(a);
157
+ return h(o !== void 0), {
158
+ connection: r,
159
+ cadNode: o,
160
+ views: i
161
+ };
162
+ }
163
+ function x(e, n, r) {
164
+ let i = t(r.modelId, r.revisionId), a = n.get(i);
165
+ a === void 0 ? n.set(i, [e]) : a.push(e);
166
+ }
167
+ function S(e, t) {
168
+ let r = /* @__PURE__ */ new Map();
169
+ for (let { connection: i } of e) {
170
+ let e = t.find((e) => e.revisionId === i.revisionId);
171
+ if (e === void 0) continue;
172
+ let a = n(e.modelId, e.revisionId, i.treeIndex);
173
+ r.set(a, {
174
+ id: i.nodeId,
175
+ treeIndex: i.treeIndex,
176
+ subtreeSize: i.subtreeSize
177
+ });
178
+ }
179
+ return r;
180
+ }
181
+ async function C(e, t, n, r) {
182
+ let i = /* @__PURE__ */ new Map();
183
+ for (let { connection: t } of e) {
184
+ let e = i.get(t.revisionId);
185
+ e === void 0 ? i.set(t.revisionId, [t]) : e.push(t);
186
+ }
187
+ let a = [...i.entries()].map(([e, i]) => w(e, i, t, n, r)), o = await Promise.all(a);
188
+ return new Map(o.flatMap((e) => [...e.entries()]));
189
+ }
190
+ async function w(e, t, r, i, a) {
191
+ let o = /* @__PURE__ */ new Map(), s = T(r, e), [c, l] = m(t, (e) => e.nodeId !== void 0), u = [];
192
+ l.length > 0 && (u = await a.treeIndexesToNodeIds(s, e, l.map((e) => e.treeIndex), i));
193
+ let f = [.../* @__PURE__ */ new Set([...c.map((e) => e.nodeId), ...u])];
194
+ if (f.length === 0) return o;
195
+ let p = await a.fetchNodesForNodeIds(s, e, f, i), h = new Map(p.map((e) => [e.id, e])), g = new Map(p.map((e) => [e.treeIndex, e]));
196
+ for (let r of t) {
197
+ let t = r.nodeId === void 0 ? g.get(r.treeIndex) : h.get(r.nodeId);
198
+ t !== void 0 && o.set(n(s, e, r.treeIndex), d(t));
199
+ }
200
+ return o;
201
+ }
202
+ function T(e, t) {
203
+ let n = e.find((e) => e.revisionId === t)?.modelId;
204
+ return h(n !== void 0, `ModelId not found for revisionId: ${t}`), n;
205
+ }
206
+ function E(t, n) {
207
+ return t.filter((t) => n.has(e(t.connection.instance)));
208
+ }
209
+ function D(t, n) {
210
+ return [...t.entries()].map(([t, r]) => {
211
+ let i = n.get(t);
212
+ if (i === void 0) return [t, r];
213
+ let a = new Set(i.map((t) => e(t.connection.instance)));
214
+ return [t, r.filter((t) => !a.has(e(t.connection.instance)))];
215
+ });
216
+ }
217
+ //#endregion
218
+ export { _ as createFdmCadNodeCache, g as defaultFdmCadNodeCacheDeps };