@cognite/reveal-components 1.0.2 → 1.48535.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 (2784) hide show
  1. package/README.md +6 -4
  2. package/dist/assets/poi-markers/poi-create-cursor.svg +4 -0
  3. package/dist/assets/poi-markers/poi-default.svg +3 -0
  4. package/dist/assets/poi-markers/poi-hover.svg +3 -0
  5. package/dist/assets/poi-markers/poi-selected.svg +4 -0
  6. package/dist/common/i18n/de/reveal-components.json +194 -0
  7. package/dist/common/i18n/en/reveal-components.json +199 -0
  8. package/dist/common/i18n/es/reveal-components.json +194 -0
  9. package/dist/common/i18n/fr/reveal-components.json +194 -0
  10. package/dist/common/i18n/it/reveal-components.json +194 -0
  11. package/dist/common/i18n/ja/reveal-components.json +194 -0
  12. package/dist/common/i18n/ko/reveal-components.json +194 -0
  13. package/dist/common/i18n/lv/reveal-components.json +194 -0
  14. package/dist/common/i18n/nb/reveal-components.json +194 -0
  15. package/dist/common/i18n/nl/reveal-components.json +194 -0
  16. package/dist/common/i18n/pt/reveal-components.json +194 -0
  17. package/dist/common/i18n/sv/reveal-components.json +194 -0
  18. package/dist/common/i18n/zh/reveal-components.json +194 -0
  19. package/dist/data-providers/Fdm3dDataProvider.d.ts +15 -15
  20. package/dist/data-providers/Fdm3dDataProvider.js +3 -0
  21. package/dist/data-providers/Fdm3dDataProvider.js.map +1 -0
  22. package/dist/data-providers/FdmSDK.d.ts +177 -177
  23. package/dist/data-providers/FdmSDK.js +296 -177
  24. package/dist/data-providers/FdmSDK.js.map +1 -0
  25. package/dist/data-providers/assets/createClassicAssetsCache.d.ts +16 -7
  26. package/dist/data-providers/assets/createClassicAssetsCache.js +98 -17
  27. package/dist/data-providers/assets/createClassicAssetsCache.js.map +1 -0
  28. package/dist/data-providers/assets/createDmsDescribableNodesCache.d.ts +19 -18
  29. package/dist/data-providers/assets/createDmsDescribableNodesCache.js +24 -18
  30. package/dist/data-providers/assets/createDmsDescribableNodesCache.js.map +1 -0
  31. package/dist/data-providers/cache/CacheProvider.d.ts +6 -6
  32. package/dist/data-providers/cache/CacheProvider.js +25 -6
  33. package/dist/data-providers/cache/CacheProvider.js.map +1 -0
  34. package/dist/data-providers/cache/ModelRevisionDmCache.d.ts +17 -0
  35. package/dist/data-providers/cache/ModelRevisionDmCache.js +21 -0
  36. package/dist/data-providers/cache/ModelRevisionDmCache.js.map +1 -0
  37. package/dist/data-providers/cache/annotationModelUtils.d.ts +5 -5
  38. package/dist/data-providers/cache/annotationModelUtils.js +65 -38
  39. package/dist/data-providers/cache/annotationModelUtils.js.map +1 -0
  40. package/dist/data-providers/cache/cad/CadInstanceMappingsCache.d.ts +14 -14
  41. package/dist/data-providers/cache/cad/CadInstanceMappingsCache.js +3 -0
  42. package/dist/data-providers/cache/cad/CadInstanceMappingsCache.js.map +1 -0
  43. package/dist/data-providers/cache/cad/CadInstanceMappingsCacheImpl.d.ts +3 -3
  44. package/dist/data-providers/cache/cad/CadInstanceMappingsCacheImpl.js +128 -79
  45. package/dist/data-providers/cache/cad/CadInstanceMappingsCacheImpl.js.map +1 -0
  46. package/dist/data-providers/cache/cad/ClassicCadAssetMappingCache.d.ts +16 -16
  47. package/dist/data-providers/cache/cad/ClassicCadAssetMappingCache.js +3 -0
  48. package/dist/data-providers/cache/cad/ClassicCadAssetMappingCache.js.map +1 -0
  49. package/dist/data-providers/cache/cad/ClassicCadAssetMappingCacheImpl.d.ts +2 -2
  50. package/dist/data-providers/cache/cad/ClassicCadAssetMappingCacheImpl.js +246 -133
  51. package/dist/data-providers/cache/cad/ClassicCadAssetMappingCacheImpl.js.map +1 -0
  52. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerAssetIdCache.d.ts +6 -6
  53. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerAssetIdCache.js +25 -16
  54. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerAssetIdCache.js.map +1 -0
  55. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerModelCache.d.ts +16 -16
  56. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerModelCache.js +75 -53
  57. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerModelCache.js.map +1 -0
  58. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerNodeIdCache.d.ts +6 -6
  59. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerNodeIdCache.js +25 -16
  60. package/dist/data-providers/cache/cad/ClassicCadAssetMappingPerNodeIdCache.js.map +1 -0
  61. package/dist/data-providers/cache/cad/ClassicCadNode3DPerNodeIdCache.d.ts +10 -10
  62. package/dist/data-providers/cache/cad/ClassicCadNode3DPerNodeIdCache.js +46 -38
  63. package/dist/data-providers/cache/cad/ClassicCadNode3DPerNodeIdCache.js.map +1 -0
  64. package/dist/data-providers/cache/cad/FdmCadNodeCache.d.ts +8 -8
  65. package/dist/data-providers/cache/cad/FdmCadNodeCache.js +3 -0
  66. package/dist/data-providers/cache/cad/FdmCadNodeCache.js.map +1 -0
  67. package/dist/data-providers/cache/cad/FdmCadNodeCacheImpl.d.ts +12 -12
  68. package/dist/data-providers/cache/cad/FdmCadNodeCacheImpl.js +376 -211
  69. package/dist/data-providers/cache/cad/FdmCadNodeCacheImpl.js.map +1 -0
  70. package/dist/data-providers/cache/cad/RevisionFdmNodeCache.d.ts +29 -0
  71. package/dist/data-providers/cache/cad/RevisionFdmNodeCache.js +244 -0
  72. package/dist/data-providers/cache/cad/RevisionFdmNodeCache.js.map +1 -0
  73. package/dist/data-providers/cache/cad/assetMappingTypes.d.ts +19 -19
  74. package/dist/data-providers/cache/cad/assetMappingTypes.js +32 -18
  75. package/dist/data-providers/cache/cad/assetMappingTypes.js.map +1 -0
  76. package/dist/data-providers/cache/cad/enrichCadNodeMappingsWithBoundingBoxes.d.ts +2 -2
  77. package/dist/data-providers/cache/cad/enrichCadNodeMappingsWithBoundingBoxes.js +49 -26
  78. package/dist/data-providers/cache/cad/enrichCadNodeMappingsWithBoundingBoxes.js.map +1 -0
  79. package/dist/data-providers/cache/cad/fdmCadConnectionMappingUtils.d.ts +2 -2
  80. package/dist/data-providers/cache/cad/fdmCadConnectionMappingUtils.js +58 -0
  81. package/dist/data-providers/cache/cad/fdmCadConnectionMappingUtils.js.map +1 -0
  82. package/dist/data-providers/cache/cad/rawAssetMappingTypes.d.ts +13 -13
  83. package/dist/data-providers/cache/cad/rawAssetMappingTypes.js +33 -23
  84. package/dist/data-providers/cache/cad/rawAssetMappingTypes.js.map +1 -0
  85. package/dist/data-providers/cache/{requests.d.ts → cad/requests.d.ts} +3 -3
  86. package/dist/data-providers/cache/cad/requests.js +71 -0
  87. package/dist/data-providers/cache/cad/requests.js.map +1 -0
  88. package/dist/data-providers/cache/cad/types.d.ts +17 -17
  89. package/dist/data-providers/cache/cad/types.js +3 -0
  90. package/dist/data-providers/cache/cad/types.js.map +1 -0
  91. package/dist/data-providers/cache/idAndKeyTranslation.d.ts +3 -3
  92. package/dist/data-providers/cache/idAndKeyTranslation.js +53 -40
  93. package/dist/data-providers/cache/idAndKeyTranslation.js.map +1 -0
  94. package/dist/data-providers/cache/image360/Image360AnnotationCache.d.ts +19 -0
  95. package/dist/data-providers/cache/image360/Image360AnnotationCache.js +206 -0
  96. package/dist/data-providers/cache/image360/Image360AnnotationCache.js.map +1 -0
  97. package/dist/data-providers/cache/index.d.ts +5 -5
  98. package/dist/data-providers/cache/index.js +4 -3
  99. package/dist/data-providers/cache/index.js.map +1 -0
  100. package/dist/data-providers/cache/pointcloud/PointCloudAnnotationCache.d.ts +24 -0
  101. package/dist/data-providers/cache/pointcloud/PointCloudAnnotationCache.js +137 -0
  102. package/dist/data-providers/cache/pointcloud/PointCloudAnnotationCache.js.map +1 -0
  103. package/dist/data-providers/cache/pointcloud/PointCloudDmMappingCache.d.ts +11 -0
  104. package/dist/data-providers/cache/pointcloud/PointCloudDmMappingCache.js +24 -0
  105. package/dist/data-providers/cache/pointcloud/PointCloudDmMappingCache.js.map +1 -0
  106. package/dist/data-providers/cache/{typeGuards.d.ts → pointcloud/typeGuards.d.ts} +2 -2
  107. package/dist/data-providers/cache/pointcloud/typeGuards.js +5 -0
  108. package/dist/data-providers/cache/pointcloud/typeGuards.js.map +1 -0
  109. package/dist/data-providers/cache/types.d.ts +48 -72
  110. package/dist/data-providers/cache/types.js +3 -0
  111. package/dist/data-providers/cache/types.js.map +1 -0
  112. package/dist/data-providers/cache/utils.d.ts +14 -14
  113. package/dist/data-providers/cache/utils.js +88 -48
  114. package/dist/data-providers/cache/utils.js.map +1 -0
  115. package/dist/data-providers/core-dm-provider/CoreDm3dDataProvider.d.ts +29 -29
  116. package/dist/data-providers/core-dm-provider/CoreDm3dDataProvider.js +143 -106
  117. package/dist/data-providers/core-dm-provider/CoreDm3dDataProvider.js.map +1 -0
  118. package/dist/data-providers/core-dm-provider/assetsInstanceFilterWithHasDataQuery.d.ts +1 -1
  119. package/dist/data-providers/core-dm-provider/assetsInstanceFilterWithHasDataQuery.js +45 -0
  120. package/dist/data-providers/core-dm-provider/assetsInstanceFilterWithHasDataQuery.js.map +1 -0
  121. package/dist/data-providers/core-dm-provider/cadAndPointCloudAndImage360VisualizableQuery.d.ts +32 -34
  122. package/dist/data-providers/core-dm-provider/cadAndPointCloudAndImage360VisualizableQuery.js +254 -185
  123. package/dist/data-providers/core-dm-provider/cadAndPointCloudAndImage360VisualizableQuery.js.map +1 -0
  124. package/dist/data-providers/core-dm-provider/cadConnectionsQuery.d.ts +8 -8
  125. package/dist/data-providers/core-dm-provider/cadConnectionsQuery.js +81 -60
  126. package/dist/data-providers/core-dm-provider/cadConnectionsQuery.js.map +1 -0
  127. package/dist/data-providers/core-dm-provider/cadModelsForInstanceQuery.d.ts +6 -6
  128. package/dist/data-providers/core-dm-provider/cadModelsForInstanceQuery.js +65 -38
  129. package/dist/data-providers/core-dm-provider/cadModelsForInstanceQuery.js.map +1 -0
  130. package/dist/data-providers/core-dm-provider/check3dConnectedEquipmentQuery.d.ts +37 -41
  131. package/dist/data-providers/core-dm-provider/check3dConnectedEquipmentQuery.js +189 -134
  132. package/dist/data-providers/core-dm-provider/check3dConnectedEquipmentQuery.js.map +1 -0
  133. package/dist/data-providers/core-dm-provider/cogniteCadNodeSourceWithProperties.d.ts +5 -18
  134. package/dist/data-providers/core-dm-provider/cogniteCadNodeSourceWithProperties.js +18 -17
  135. package/dist/data-providers/core-dm-provider/cogniteCadNodeSourceWithProperties.js.map +1 -0
  136. package/dist/data-providers/core-dm-provider/cogniteCadRevisionSourceWithProperties.d.ts +5 -13
  137. package/dist/data-providers/core-dm-provider/cogniteCadRevisionSourceWithProperties.js +15 -14
  138. package/dist/data-providers/core-dm-provider/cogniteCadRevisionSourceWithProperties.js.map +1 -0
  139. package/dist/data-providers/core-dm-provider/cogniteDescribableSourceWithProperties.d.ts +5 -7
  140. package/dist/data-providers/core-dm-provider/cogniteDescribableSourceWithProperties.js +14 -13
  141. package/dist/data-providers/core-dm-provider/cogniteDescribableSourceWithProperties.js.map +1 -0
  142. package/dist/data-providers/core-dm-provider/cogniteImage360SourceWithProperties.d.ts +9 -32
  143. package/dist/data-providers/core-dm-provider/cogniteImage360SourceWithProperties.js +36 -8
  144. package/dist/data-providers/core-dm-provider/cogniteImage360SourceWithProperties.js.map +1 -0
  145. package/dist/data-providers/core-dm-provider/cogniteVisualizable.d.ts +5 -7
  146. package/dist/data-providers/core-dm-provider/cogniteVisualizable.js +11 -8
  147. package/dist/data-providers/core-dm-provider/cogniteVisualizable.js.map +1 -0
  148. package/dist/data-providers/core-dm-provider/dataModels.d.ts +91 -91
  149. package/dist/data-providers/core-dm-provider/dataModels.js +107 -65
  150. package/dist/data-providers/core-dm-provider/dataModels.js.map +1 -0
  151. package/dist/data-providers/core-dm-provider/filterNodesByMappedTo3d.d.ts +2 -2
  152. package/dist/data-providers/core-dm-provider/filterNodesByMappedTo3d.js +121 -62
  153. package/dist/data-providers/core-dm-provider/filterNodesByMappedTo3d.js.map +1 -0
  154. package/dist/data-providers/core-dm-provider/getCadConnectionsForInstances.d.ts +2 -2
  155. package/dist/data-providers/core-dm-provider/getCadConnectionsForInstances.js +122 -83
  156. package/dist/data-providers/core-dm-provider/getCadConnectionsForInstances.js.map +1 -0
  157. package/dist/data-providers/core-dm-provider/getCadConnectionsForRevisions.d.ts +2 -2
  158. package/dist/data-providers/core-dm-provider/getCadConnectionsForRevisions.js +51 -32
  159. package/dist/data-providers/core-dm-provider/getCadConnectionsForRevisions.js.map +1 -0
  160. package/dist/data-providers/core-dm-provider/getCadModelsForInstance.d.ts +2 -2
  161. package/dist/data-providers/core-dm-provider/getCadModelsForInstance.js +24 -20
  162. package/dist/data-providers/core-dm-provider/getCadModelsForInstance.js.map +1 -0
  163. package/dist/data-providers/core-dm-provider/getCdfIdFromExternalId.d.ts +3 -1
  164. package/dist/data-providers/core-dm-provider/getCdfIdFromExternalId.js +14 -7
  165. package/dist/data-providers/core-dm-provider/getCdfIdFromExternalId.js.map +1 -0
  166. package/dist/data-providers/core-dm-provider/getDMSModels.d.ts +4 -3
  167. package/dist/data-providers/core-dm-provider/getDMSModels.js +68 -31
  168. package/dist/data-providers/core-dm-provider/getDMSModels.js.map +1 -0
  169. package/dist/data-providers/core-dm-provider/getDMSRevision.d.ts +3 -3
  170. package/dist/data-providers/core-dm-provider/getDMSRevision.js +20 -16
  171. package/dist/data-providers/core-dm-provider/getDMSRevision.js.map +1 -0
  172. package/dist/data-providers/core-dm-provider/getDMSRevisions.d.ts +11 -11
  173. package/dist/data-providers/core-dm-provider/getDMSRevisions.js +66 -44
  174. package/dist/data-providers/core-dm-provider/getDMSRevisions.js.map +1 -0
  175. package/dist/data-providers/core-dm-provider/getEdgeConnected3dInstances.d.ts +2 -2
  176. package/dist/data-providers/core-dm-provider/getEdgeConnected3dInstances.js +94 -64
  177. package/dist/data-providers/core-dm-provider/getEdgeConnected3dInstances.js.map +1 -0
  178. package/dist/data-providers/core-dm-provider/getFdmConnectionsForNodes.d.ts +3 -3
  179. package/dist/data-providers/core-dm-provider/getFdmConnectionsForNodes.js +153 -99
  180. package/dist/data-providers/core-dm-provider/getFdmConnectionsForNodes.js.map +1 -0
  181. package/dist/data-providers/core-dm-provider/getPointCloudVolumesAndAssetsForModel.d.ts +11 -0
  182. package/dist/data-providers/core-dm-provider/getPointCloudVolumesAndAssetsForModel.js +79 -0
  183. package/dist/data-providers/core-dm-provider/getPointCloudVolumesAndAssetsForModel.js.map +1 -0
  184. package/dist/data-providers/core-dm-provider/listMappedFdmNodes.d.ts +7 -7
  185. package/dist/data-providers/core-dm-provider/listMappedFdmNodes.js +123 -53
  186. package/dist/data-providers/core-dm-provider/listMappedFdmNodes.js.map +1 -0
  187. package/dist/data-providers/core-dm-provider/pointCloudDMVolumesQuery.d.ts +22 -0
  188. package/dist/data-providers/core-dm-provider/pointCloudDMVolumesQuery.js +85 -0
  189. package/dist/data-providers/core-dm-provider/pointCloudDMVolumesQuery.js.map +1 -0
  190. package/dist/data-providers/core-dm-provider/pointCloudModelsForInstanceQuery.d.ts +9 -11
  191. package/dist/data-providers/core-dm-provider/pointCloudModelsForInstanceQuery.js +71 -40
  192. package/dist/data-providers/core-dm-provider/pointCloudModelsForInstanceQuery.js.map +1 -0
  193. package/dist/data-providers/core-dm-provider/revisionQuery.d.ts +4 -4
  194. package/dist/data-providers/core-dm-provider/revisionQuery.js +46 -26
  195. package/dist/data-providers/core-dm-provider/revisionQuery.js.map +1 -0
  196. package/dist/data-providers/core-dm-provider/revisionsBatchQuery.d.ts +7 -9
  197. package/dist/data-providers/core-dm-provider/revisionsBatchQuery.js +54 -28
  198. package/dist/data-providers/core-dm-provider/revisionsBatchQuery.js.map +1 -0
  199. package/dist/data-providers/core-dm-provider/utils/filters.d.ts +12 -12
  200. package/dist/data-providers/core-dm-provider/utils/filters.js +142 -65
  201. package/dist/data-providers/core-dm-provider/utils/filters.js.map +1 -0
  202. package/dist/data-providers/core-dm-provider/utils/queryTypeHelpers.d.ts +41 -40
  203. package/dist/data-providers/core-dm-provider/utils/queryTypeHelpers.js +22 -0
  204. package/dist/data-providers/core-dm-provider/utils/queryTypeHelpers.js.map +1 -0
  205. package/dist/data-providers/core-dm-provider/utils/transformViewItemToSource.d.ts +2 -2
  206. package/dist/data-providers/core-dm-provider/utils/transformViewItemToSource.js +9 -10
  207. package/dist/data-providers/core-dm-provider/utils/transformViewItemToSource.js.map +1 -0
  208. package/dist/data-providers/dm/types.d.ts +57 -0
  209. package/dist/data-providers/dm/types.js +7 -0
  210. package/dist/data-providers/dm/types.js.map +1 -0
  211. package/dist/data-providers/dm/utils.d.ts +2 -0
  212. package/dist/data-providers/dm/utils.js +5 -0
  213. package/dist/data-providers/dm/utils.js.map +1 -0
  214. package/dist/data-providers/index.d.ts +8 -7
  215. package/dist/data-providers/index.js +4 -2
  216. package/dist/data-providers/index.js.map +1 -0
  217. package/dist/data-providers/legacy-fdm-provider/LegacyFdm3dDataProvider.d.ts +22 -22
  218. package/dist/data-providers/legacy-fdm-provider/LegacyFdm3dDataProvider.js +74 -58
  219. package/dist/data-providers/legacy-fdm-provider/LegacyFdm3dDataProvider.js.map +1 -0
  220. package/dist/data-providers/legacy-fdm-provider/createMappedEquipmentQuery.d.ts +3 -3
  221. package/dist/data-providers/legacy-fdm-provider/createMappedEquipmentQuery.js +73 -57
  222. package/dist/data-providers/legacy-fdm-provider/createMappedEquipmentQuery.js.map +1 -0
  223. package/dist/data-providers/legacy-fdm-provider/dataModels.d.ts +14 -11
  224. package/dist/data-providers/legacy-fdm-provider/dataModels.js +29 -23
  225. package/dist/data-providers/legacy-fdm-provider/dataModels.js.map +1 -0
  226. package/dist/data-providers/legacy-fdm-provider/fdmEdgesToCadConnections.d.ts +4 -4
  227. package/dist/data-providers/legacy-fdm-provider/fdmEdgesToCadConnections.js +48 -34
  228. package/dist/data-providers/legacy-fdm-provider/fdmEdgesToCadConnections.js.map +1 -0
  229. package/dist/data-providers/legacy-fdm-provider/filterNodesByMappedTo3d.d.ts +3 -3
  230. package/dist/data-providers/legacy-fdm-provider/filterNodesByMappedTo3d.js +136 -79
  231. package/dist/data-providers/legacy-fdm-provider/filterNodesByMappedTo3d.js.map +1 -0
  232. package/dist/data-providers/legacy-fdm-provider/getCadConnectionsForRevision.d.ts +4 -4
  233. package/dist/data-providers/legacy-fdm-provider/getCadConnectionsForRevision.js +20 -16
  234. package/dist/data-providers/legacy-fdm-provider/getCadConnectionsForRevision.js.map +1 -0
  235. package/dist/data-providers/legacy-fdm-provider/getCadModelsForFdmInstance.d.ts +2 -2
  236. package/dist/data-providers/legacy-fdm-provider/getCadModelsForFdmInstance.js +92 -48
  237. package/dist/data-providers/legacy-fdm-provider/getCadModelsForFdmInstance.js.map +1 -0
  238. package/dist/data-providers/legacy-fdm-provider/getDMSModels.d.ts +1 -1
  239. package/dist/data-providers/legacy-fdm-provider/getDMSModels.js +21 -15
  240. package/dist/data-providers/legacy-fdm-provider/getDMSModels.js.map +1 -0
  241. package/dist/data-providers/legacy-fdm-provider/getEdgeConnected3dInstances.d.ts +1 -1
  242. package/dist/data-providers/legacy-fdm-provider/getEdgeConnected3dInstances.js +95 -64
  243. package/dist/data-providers/legacy-fdm-provider/getEdgeConnected3dInstances.js.map +1 -0
  244. package/dist/data-providers/legacy-fdm-provider/getFdmConnectionsForNodeIds.d.ts +3 -3
  245. package/dist/data-providers/legacy-fdm-provider/getFdmConnectionsForNodeIds.js +44 -32
  246. package/dist/data-providers/legacy-fdm-provider/getFdmConnectionsForNodeIds.js.map +1 -0
  247. package/dist/data-providers/legacy-fdm-provider/listMappedFdmNodes.d.ts +2 -2
  248. package/dist/data-providers/legacy-fdm-provider/listMappedFdmNodes.js +30 -24
  249. package/dist/data-providers/legacy-fdm-provider/listMappedFdmNodes.js.map +1 -0
  250. package/dist/data-providers/network/assets/constants.d.ts +2 -0
  251. package/dist/data-providers/network/assets/constants.js +8 -0
  252. package/dist/data-providers/network/assets/constants.js.map +1 -0
  253. package/dist/data-providers/network/assets/searchDmAssets.d.ts +16 -0
  254. package/dist/data-providers/network/assets/searchDmAssets.js +77 -0
  255. package/dist/data-providers/network/assets/searchDmAssets.js.map +1 -0
  256. package/dist/data-providers/network/assets/toSearchableResources.d.ts +13 -0
  257. package/dist/data-providers/network/assets/toSearchableResources.js +70 -0
  258. package/dist/data-providers/network/assets/toSearchableResources.js.map +1 -0
  259. package/dist/data-providers/network/assets/types.d.ts +27 -0
  260. package/dist/data-providers/network/assets/types.js +3 -0
  261. package/dist/data-providers/network/assets/types.js.map +1 -0
  262. package/dist/data-providers/network/bounds/getBoundsForInstance.d.ts +10 -10
  263. package/dist/data-providers/network/bounds/getBoundsForInstance.js +21 -16
  264. package/dist/data-providers/network/bounds/getBoundsForInstance.js.map +1 -0
  265. package/dist/data-providers/network/bounds/getCadInstanceBounds.d.ts +4 -4
  266. package/dist/data-providers/network/bounds/getCadInstanceBounds.js +25 -17
  267. package/dist/data-providers/network/bounds/getCadInstanceBounds.js.map +1 -0
  268. package/dist/data-providers/network/bounds/getImage360InstanceBounds.d.ts +5 -5
  269. package/dist/data-providers/network/bounds/getImage360InstanceBounds.js +17 -15
  270. package/dist/data-providers/network/bounds/getImage360InstanceBounds.js.map +1 -0
  271. package/dist/data-providers/network/bounds/getPointCloudInstanceBounds.d.ts +3 -3
  272. package/dist/data-providers/network/bounds/getPointCloudInstanceBounds.js +23 -15
  273. package/dist/data-providers/network/bounds/getPointCloudInstanceBounds.js.map +1 -0
  274. package/dist/data-providers/network/cad/fetchAllAssetsForCadModels.d.ts +13 -14
  275. package/dist/data-providers/network/cad/fetchAllAssetsForCadModels.js +106 -73
  276. package/dist/data-providers/network/cad/fetchAllAssetsForCadModels.js.map +1 -0
  277. package/dist/data-providers/network/cad/fetchHybridAssetMappingsForModels.d.ts +14 -13
  278. package/dist/data-providers/network/cad/fetchHybridAssetMappingsForModels.js +44 -41
  279. package/dist/data-providers/network/cad/fetchHybridAssetMappingsForModels.js.map +1 -0
  280. package/dist/data-providers/network/cad/getAssetsFromAssetMappings.d.ts +6 -6
  281. package/dist/data-providers/network/cad/getAssetsFromAssetMappings.js +31 -24
  282. package/dist/data-providers/network/cad/getAssetsFromAssetMappings.js.map +1 -0
  283. package/dist/data-providers/network/cad/searchClassicAssetsForCadModels.d.ts +9 -7
  284. package/dist/data-providers/network/cad/searchClassicAssetsForCadModels.js +229 -122
  285. package/dist/data-providers/network/cad/searchClassicAssetsForCadModels.js.map +1 -0
  286. package/dist/data-providers/network/cad/searchHybridDmAssetsForCadModels.d.ts +10 -10
  287. package/dist/data-providers/network/cad/searchHybridDmAssetsForCadModels.js +26 -17
  288. package/dist/data-providers/network/cad/searchHybridDmAssetsForCadModels.js.map +1 -0
  289. package/dist/data-providers/network/cad/searchHybridDmCadAssetMappingsWithFilters.d.ts +4 -4
  290. package/dist/data-providers/network/cad/searchHybridDmCadAssetMappingsWithFilters.js +23 -14
  291. package/dist/data-providers/network/cad/searchHybridDmCadAssetMappingsWithFilters.js.map +1 -0
  292. package/dist/data-providers/network/cad/types.d.ts +16 -16
  293. package/dist/data-providers/network/cad/types.js +3 -0
  294. package/dist/data-providers/network/cad/types.js.map +1 -0
  295. package/dist/data-providers/network/common/buildClassicAssetFilter.d.ts +2 -2
  296. package/dist/data-providers/network/common/buildClassicAssetFilter.js +77 -24
  297. package/dist/data-providers/network/common/buildClassicAssetFilter.js.map +1 -0
  298. package/dist/data-providers/network/common/fetchClassicModelOption.d.ts +5 -5
  299. package/dist/data-providers/network/common/fetchClassicModelOption.js +20 -18
  300. package/dist/data-providers/network/common/fetchClassicModelOption.js.map +1 -0
  301. package/dist/data-providers/network/common/filters.d.ts +43 -6
  302. package/dist/data-providers/network/common/filters.js +25 -5
  303. package/dist/data-providers/network/common/filters.js.map +1 -0
  304. package/dist/data-providers/network/common/getAssetsForIds.d.ts +2 -2
  305. package/dist/data-providers/network/common/getAssetsForIds.js +53 -35
  306. package/dist/data-providers/network/common/getAssetsForIds.js.map +1 -0
  307. package/dist/data-providers/network/common/getDMAssetsForAnnotationReference.d.ts +3 -3
  308. package/dist/data-providers/network/common/getDMAssetsForAnnotationReference.js +22 -17
  309. package/dist/data-providers/network/common/getDMAssetsForAnnotationReference.js.map +1 -0
  310. package/dist/data-providers/network/common/getDMModelName.d.ts +2 -2
  311. package/dist/data-providers/network/common/getDMModelName.js +69 -51
  312. package/dist/data-providers/network/common/getDMModelName.js.map +1 -0
  313. package/dist/data-providers/network/common/getModelIdAndRevisionIdFromExternalId.d.ts +4 -4
  314. package/dist/data-providers/network/common/getModelIdAndRevisionIdFromExternalId.js +61 -35
  315. package/dist/data-providers/network/common/getModelIdAndRevisionIdFromExternalId.js.map +1 -0
  316. package/dist/data-providers/network/common/getResourceIdentifierFromResourceOptions.d.ts +7 -7
  317. package/dist/data-providers/network/common/getResourceIdentifierFromResourceOptions.js +60 -36
  318. package/dist/data-providers/network/common/getResourceIdentifierFromResourceOptions.js.map +1 -0
  319. package/dist/data-providers/network/common/getResourceIdentifierWithType.d.ts +6 -6
  320. package/dist/data-providers/network/common/getResourceIdentifierWithType.js +31 -28
  321. package/dist/data-providers/network/common/getResourceIdentifierWithType.js.map +1 -0
  322. package/dist/data-providers/network/common/getTypedModels.d.ts +4 -4
  323. package/dist/data-providers/network/common/getTypedModels.js +53 -36
  324. package/dist/data-providers/network/common/getTypedModels.js.map +1 -0
  325. package/dist/data-providers/network/common/modelIdentifierHelper.d.ts +2 -2
  326. package/dist/data-providers/network/common/modelIdentifierHelper.js +54 -13
  327. package/dist/data-providers/network/common/modelIdentifierHelper.js.map +1 -0
  328. package/dist/data-providers/network/common/searchDmInstances.d.ts +9 -9
  329. package/dist/data-providers/network/common/searchDmInstances.js +20 -12
  330. package/dist/data-providers/network/common/searchDmInstances.js.map +1 -0
  331. package/dist/data-providers/network/getCdmModelsForInstance.d.ts +16 -0
  332. package/dist/data-providers/network/getCdmModelsForInstance.js +28 -0
  333. package/dist/data-providers/network/getCdmModelsForInstance.js.map +1 -0
  334. package/dist/data-providers/network/image360/getClassicAssetMapped360Annotations.d.ts +13 -0
  335. package/dist/data-providers/network/image360/getClassicAssetMapped360Annotations.js +61 -0
  336. package/dist/data-providers/network/image360/getClassicAssetMapped360Annotations.js.map +1 -0
  337. package/dist/data-providers/network/image360/searchClassicImage360Assets.d.ts +9 -0
  338. package/dist/data-providers/network/image360/searchClassicImage360Assets.js +25 -0
  339. package/dist/data-providers/network/image360/searchClassicImage360Assets.js.map +1 -0
  340. package/dist/data-providers/network/image360/searchHybridDmImage360AssetMappingsWithFilters.d.ts +3 -3
  341. package/dist/data-providers/network/image360/searchHybridDmImage360AssetMappingsWithFilters.js +26 -18
  342. package/dist/data-providers/network/image360/searchHybridDmImage360AssetMappingsWithFilters.js.map +1 -0
  343. package/dist/data-providers/network/location/getScenesForLocation.d.ts +23 -0
  344. package/dist/data-providers/network/location/getScenesForLocation.js +68 -0
  345. package/dist/data-providers/network/location/getScenesForLocation.js.map +1 -0
  346. package/dist/data-providers/network/pointcloud/getAssetMappedPointCloudAnnotations.d.ts +14 -0
  347. package/dist/data-providers/network/pointcloud/getAssetMappedPointCloudAnnotations.js +58 -0
  348. package/dist/data-providers/network/pointcloud/getAssetMappedPointCloudAnnotations.js.map +1 -0
  349. package/dist/data-providers/network/pointcloud/searchHybridDmPointCloudAssetMappingsWithFilters.d.ts +4 -4
  350. package/dist/data-providers/network/pointcloud/searchHybridDmPointCloudAssetMappingsWithFilters.js +26 -17
  351. package/dist/data-providers/network/pointcloud/searchHybridDmPointCloudAssetMappingsWithFilters.js.map +1 -0
  352. package/dist/data-providers/network/pointcloud/searchHybridPointCloudDmAssetsForModels.d.ts +6 -6
  353. package/dist/data-providers/network/pointcloud/searchHybridPointCloudDmAssetsForModels.js +10 -8
  354. package/dist/data-providers/network/pointcloud/searchHybridPointCloudDmAssetsForModels.js.map +1 -0
  355. package/dist/data-providers/network/search/searchClassicAssetsForModels.d.ts +36 -0
  356. package/dist/data-providers/network/search/searchClassicAssetsForModels.js +91 -0
  357. package/dist/data-providers/network/search/searchClassicAssetsForModels.js.map +1 -0
  358. package/dist/data-providers/network/search/searchHybridDmAssetsForModels.d.ts +14 -0
  359. package/dist/data-providers/network/search/searchHybridDmAssetsForModels.js +38 -0
  360. package/dist/data-providers/network/search/searchHybridDmAssetsForModels.js.map +1 -0
  361. package/dist/data-providers/network/search/searchQueryCursor.d.ts +8 -0
  362. package/dist/data-providers/network/search/searchQueryCursor.js +16 -0
  363. package/dist/data-providers/network/search/searchQueryCursor.js.map +1 -0
  364. package/dist/data-providers/network/types.d.ts +21 -19
  365. package/dist/data-providers/network/types.js +3 -0
  366. package/dist/data-providers/network/types.js.map +1 -0
  367. package/dist/data-providers/pointclouds/typeGuards.d.ts +4 -0
  368. package/dist/data-providers/pointclouds/typeGuards.js +10 -0
  369. package/dist/data-providers/pointclouds/typeGuards.js.map +1 -0
  370. package/dist/data-providers/pointclouds/types.d.ts +21 -0
  371. package/dist/data-providers/pointclouds/types.js +3 -0
  372. package/dist/data-providers/pointclouds/types.js.map +1 -0
  373. package/dist/data-providers/types/index.d.ts +5 -5
  374. package/dist/data-providers/types/index.js +5 -4
  375. package/dist/data-providers/types/index.js.map +1 -0
  376. package/dist/data-providers/types/resources.d.ts +56 -56
  377. package/dist/data-providers/types/resources.js +3 -0
  378. package/dist/data-providers/types/resources.js.map +1 -0
  379. package/dist/data-providers/types/styling.d.ts +9 -9
  380. package/dist/data-providers/types/styling.js +3 -0
  381. package/dist/data-providers/types/styling.js.map +1 -0
  382. package/dist/data-providers/types/typeAdapters.d.ts +25 -25
  383. package/dist/data-providers/types/typeAdapters.js +218 -149
  384. package/dist/data-providers/types/typeAdapters.js.map +1 -0
  385. package/dist/data-providers/types/typeGuards.d.ts +13 -13
  386. package/dist/data-providers/types/typeGuards.js +20 -4
  387. package/dist/data-providers/types/typeGuards.js.map +1 -0
  388. package/dist/data-providers/types/utils.d.ts +7 -7
  389. package/dist/data-providers/types/utils.js +51 -10
  390. package/dist/data-providers/types/utils.js.map +1 -0
  391. package/dist/data-providers/utils/cadConnectionMapping.d.ts +16 -16
  392. package/dist/data-providers/utils/cadConnectionMapping.js +43 -28
  393. package/dist/data-providers/utils/cadConnectionMapping.js.map +1 -0
  394. package/dist/data-providers/utils/cadNodeConnectionFields.d.ts +17 -17
  395. package/dist/data-providers/utils/cadNodeConnectionFields.js +61 -38
  396. package/dist/data-providers/utils/cadNodeConnectionFields.js.map +1 -0
  397. package/dist/data-providers/utils/getCogniteAssetDirectRelationProperties.d.ts +2 -2
  398. package/dist/data-providers/utils/getCogniteAssetDirectRelationProperties.js +42 -23
  399. package/dist/data-providers/utils/getCogniteAssetDirectRelationProperties.js.map +1 -0
  400. package/dist/data-providers/utils/getDMSModelRevisionRefs.d.ts +10 -3
  401. package/dist/data-providers/utils/getDMSModelRevisionRefs.js +17 -10
  402. package/dist/data-providers/utils/getDMSModelRevisionRefs.js.map +1 -0
  403. package/dist/data-providers/utils/getDirectRelationProperties.d.ts +1 -1
  404. package/dist/data-providers/utils/getDirectRelationProperties.js +15 -12
  405. package/dist/data-providers/utils/getDirectRelationProperties.js.map +1 -0
  406. package/dist/data-providers/utils/index.d.ts +1 -1
  407. package/dist/data-providers/utils/index.js +3 -0
  408. package/dist/data-providers/utils/index.js.map +1 -0
  409. package/dist/data-providers/utils/mergeQueryResult.js +10 -7
  410. package/dist/data-providers/utils/mergeQueryResult.js.map +1 -0
  411. package/dist/data-providers/utils/queryNodesAndEdges.d.ts +47 -42
  412. package/dist/data-providers/utils/queryNodesAndEdges.js +13 -9
  413. package/dist/data-providers/utils/queryNodesAndEdges.js.map +1 -0
  414. package/dist/data-providers/utils/typeUtils.js +3 -0
  415. package/dist/data-providers/utils/typeUtils.js.map +1 -0
  416. package/dist/domains/annotation360/DeleteSelectedImage360AnnotationCommand.d.ts +10 -10
  417. package/dist/domains/annotation360/DeleteSelectedImage360AnnotationCommand.js +34 -30
  418. package/dist/domains/annotation360/DeleteSelectedImage360AnnotationCommand.js.map +1 -0
  419. package/dist/domains/annotation360/Image360AnnotationCreateTool.d.ts +21 -21
  420. package/dist/domains/annotation360/Image360AnnotationCreateTool.js +138 -91
  421. package/dist/domains/annotation360/Image360AnnotationCreateTool.js.map +1 -0
  422. package/dist/domains/annotation360/Image360AnnotationCreator.d.ts +8 -8
  423. package/dist/domains/annotation360/Image360AnnotationCreator.js +26 -21
  424. package/dist/domains/annotation360/Image360AnnotationCreator.js.map +1 -0
  425. package/dist/domains/annotation360/Image360AnnotationDomainObject.d.ts +33 -26
  426. package/dist/domains/annotation360/Image360AnnotationDomainObject.js +129 -60
  427. package/dist/domains/annotation360/Image360AnnotationDomainObject.js.map +1 -0
  428. package/dist/domains/annotation360/Image360AnnotationFolder.d.ts +5 -5
  429. package/dist/domains/annotation360/Image360AnnotationFolder.js +15 -13
  430. package/dist/domains/annotation360/Image360AnnotationFolder.js.map +1 -0
  431. package/dist/domains/annotation360/Image360AnnotationSelectTool.d.ts +15 -15
  432. package/dist/domains/annotation360/Image360AnnotationSelectTool.js +77 -52
  433. package/dist/domains/annotation360/Image360AnnotationSelectTool.js.map +1 -0
  434. package/dist/domains/annotation360/createTriangleIndexesFromVectors.d.ts +1 -1
  435. package/dist/domains/annotation360/createTriangleIndexesFromVectors.js +142 -83
  436. package/dist/domains/annotation360/createTriangleIndexesFromVectors.js.map +1 -0
  437. package/dist/domains/annotation360/image360SceneCollectionTransform.d.ts +11 -11
  438. package/dist/domains/annotation360/image360SceneCollectionTransform.js +63 -33
  439. package/dist/domains/annotation360/image360SceneCollectionTransform.js.map +1 -0
  440. package/dist/domains/annotation360/types.d.ts +5 -5
  441. package/dist/domains/annotation360/types.js +8 -0
  442. package/dist/domains/annotation360/types.js.map +1 -0
  443. package/dist/domains/annotations/AnnotationsDomainObject.d.ts +35 -35
  444. package/dist/domains/annotations/AnnotationsDomainObject.js +257 -122
  445. package/dist/domains/annotations/AnnotationsDomainObject.js.map +1 -0
  446. package/dist/domains/annotations/AnnotationsRenderStyle.d.ts +16 -16
  447. package/dist/domains/annotations/AnnotationsRenderStyle.js +41 -30
  448. package/dist/domains/annotations/AnnotationsRenderStyle.js.map +1 -0
  449. package/dist/domains/annotations/AnnotationsView.d.ts +35 -35
  450. package/dist/domains/annotations/AnnotationsView.js +430 -220
  451. package/dist/domains/annotations/AnnotationsView.js.map +1 -0
  452. package/dist/domains/annotations/BoxGizmoDomainObject.d.ts +18 -18
  453. package/dist/domains/annotations/BoxGizmoDomainObject.js +100 -62
  454. package/dist/domains/annotations/BoxGizmoDomainObject.js.map +1 -0
  455. package/dist/domains/annotations/CylinderGizmoDomainObject.d.ts +19 -19
  456. package/dist/domains/annotations/CylinderGizmoDomainObject.js +101 -63
  457. package/dist/domains/annotations/CylinderGizmoDomainObject.js.map +1 -0
  458. package/dist/domains/annotations/commands/AnnotationsAlignCommand.d.ts +12 -12
  459. package/dist/domains/annotations/commands/AnnotationsAlignCommand.js +73 -44
  460. package/dist/domains/annotations/commands/AnnotationsAlignCommand.js.map +1 -0
  461. package/dist/domains/annotations/commands/AnnotationsCreateMockCommand.d.ts +9 -9
  462. package/dist/domains/annotations/commands/AnnotationsCreateMockCommand.js +164 -56
  463. package/dist/domains/annotations/commands/AnnotationsCreateMockCommand.js.map +1 -0
  464. package/dist/domains/annotations/commands/AnnotationsCreateTool.d.ts +23 -23
  465. package/dist/domains/annotations/commands/AnnotationsCreateTool.js +232 -141
  466. package/dist/domains/annotations/commands/AnnotationsCreateTool.js.map +1 -0
  467. package/dist/domains/annotations/commands/AnnotationsDeleteCommand.d.ts +9 -9
  468. package/dist/domains/annotations/commands/AnnotationsDeleteCommand.js +37 -27
  469. package/dist/domains/annotations/commands/AnnotationsDeleteCommand.js.map +1 -0
  470. package/dist/domains/annotations/commands/AnnotationsSelectTool.d.ts +24 -24
  471. package/dist/domains/annotations/commands/AnnotationsSelectTool.js +192 -92
  472. package/dist/domains/annotations/commands/AnnotationsSelectTool.js.map +1 -0
  473. package/dist/domains/annotations/commands/AnnotationsSetCreateTypeCommand.d.ts +14 -14
  474. package/dist/domains/annotations/commands/AnnotationsSetCreateTypeCommand.js +80 -43
  475. package/dist/domains/annotations/commands/AnnotationsSetCreateTypeCommand.js.map +1 -0
  476. package/dist/domains/annotations/commands/AnnotationsShowCommand.d.ts +5 -5
  477. package/dist/domains/annotations/commands/AnnotationsShowCommand.js +17 -13
  478. package/dist/domains/annotations/commands/AnnotationsShowCommand.js.map +1 -0
  479. package/dist/domains/annotations/commands/AnnotationsShowOnTopCommand.d.ts +5 -5
  480. package/dist/domains/annotations/commands/AnnotationsShowOnTopCommand.js +17 -13
  481. package/dist/domains/annotations/commands/AnnotationsShowOnTopCommand.js.map +1 -0
  482. package/dist/domains/annotations/commands/isGizmo.d.ts +1 -1
  483. package/dist/domains/annotations/commands/isGizmo.js +9 -10
  484. package/dist/domains/annotations/commands/isGizmo.js.map +1 -0
  485. package/dist/domains/annotations/helpers/Annotation.d.ts +41 -42
  486. package/dist/domains/annotations/helpers/Annotation.js +211 -112
  487. package/dist/domains/annotations/helpers/Annotation.js.map +1 -0
  488. package/dist/domains/annotations/helpers/AnnotationChangedDescription.d.ts +4 -4
  489. package/dist/domains/annotations/helpers/AnnotationChangedDescription.js +9 -10
  490. package/dist/domains/annotations/helpers/AnnotationChangedDescription.js.map +1 -0
  491. package/dist/domains/annotations/helpers/AnnotationUtils.d.ts +6 -6
  492. package/dist/domains/annotations/helpers/AnnotationUtils.js +192 -120
  493. package/dist/domains/annotations/helpers/AnnotationUtils.js.map +1 -0
  494. package/dist/domains/annotations/helpers/Status.d.ts +4 -4
  495. package/dist/domains/annotations/helpers/Status.js +14 -10
  496. package/dist/domains/annotations/helpers/Status.js.map +1 -0
  497. package/dist/domains/annotations/helpers/WireframeUserData.d.ts +10 -10
  498. package/dist/domains/annotations/helpers/WireframeUserData.js +21 -23
  499. package/dist/domains/annotations/helpers/WireframeUserData.js.map +1 -0
  500. package/dist/domains/annotations/helpers/constants.d.ts +1 -1
  501. package/dist/domains/annotations/helpers/constants.js +3 -4
  502. package/dist/domains/annotations/helpers/constants.js.map +1 -0
  503. package/dist/domains/annotations/helpers/createWireframeFromMultipleAnnotations.d.ts +12 -12
  504. package/dist/domains/annotations/helpers/createWireframeFromMultipleAnnotations.js +79 -39
  505. package/dist/domains/annotations/helpers/createWireframeFromMultipleAnnotations.js.map +1 -0
  506. package/dist/domains/annotations/helpers/getClosestAnnotation.d.ts +10 -10
  507. package/dist/domains/annotations/helpers/getClosestAnnotation.js +48 -35
  508. package/dist/domains/annotations/helpers/getClosestAnnotation.js.map +1 -0
  509. package/dist/domains/annotations/helpers/getMatrixUtils.d.ts +4 -4
  510. package/dist/domains/annotations/helpers/getMatrixUtils.js +11 -9
  511. package/dist/domains/annotations/helpers/getMatrixUtils.js.map +1 -0
  512. package/dist/domains/axis/AxisDomainObject.d.ts +9 -9
  513. package/dist/domains/axis/AxisDomainObject.js +26 -22
  514. package/dist/domains/axis/AxisDomainObject.js.map +1 -0
  515. package/dist/domains/axis/AxisRenderStyle.d.ts +21 -21
  516. package/dist/domains/axis/AxisRenderStyle.js +62 -45
  517. package/dist/domains/axis/AxisRenderStyle.js.map +1 -0
  518. package/dist/domains/axis/AxisThreeView.d.ts +28 -28
  519. package/dist/domains/axis/AxisThreeView.js +494 -248
  520. package/dist/domains/axis/AxisThreeView.js.map +1 -0
  521. package/dist/domains/axis/SetAxisVisibleCommand.d.ts +9 -9
  522. package/dist/domains/axis/SetAxisVisibleCommand.js +41 -27
  523. package/dist/domains/axis/SetAxisVisibleCommand.js.map +1 -0
  524. package/dist/domains/circleMarker/CircleMarkerDomainObject.d.ts +36 -36
  525. package/dist/domains/circleMarker/CircleMarkerDomainObject.js +124 -55
  526. package/dist/domains/circleMarker/CircleMarkerDomainObject.js.map +1 -0
  527. package/dist/domains/circleMarker/CircleMarkerRenderStyle.d.ts +9 -9
  528. package/dist/domains/circleMarker/CircleMarkerRenderStyle.js +14 -18
  529. package/dist/domains/circleMarker/CircleMarkerRenderStyle.js.map +1 -0
  530. package/dist/domains/circleMarker/CircleMarkerView.d.ts +12 -12
  531. package/dist/domains/circleMarker/CircleMarkerView.js +93 -44
  532. package/dist/domains/circleMarker/CircleMarkerView.js.map +1 -0
  533. package/dist/domains/clipping/ClipFolder.d.ts +5 -5
  534. package/dist/domains/clipping/ClipFolder.js +13 -12
  535. package/dist/domains/clipping/ClipFolder.js.map +1 -0
  536. package/dist/domains/clipping/ClipTool.d.ts +15 -15
  537. package/dist/domains/clipping/ClipTool.js +68 -47
  538. package/dist/domains/clipping/ClipTool.js.map +1 -0
  539. package/dist/domains/clipping/CropBoxDomainObject.d.ts +21 -21
  540. package/dist/domains/clipping/CropBoxDomainObject.js +124 -77
  541. package/dist/domains/clipping/CropBoxDomainObject.js.map +1 -0
  542. package/dist/domains/clipping/SliceDomainObject.d.ts +13 -13
  543. package/dist/domains/clipping/SliceDomainObject.js +85 -45
  544. package/dist/domains/clipping/SliceDomainObject.js.map +1 -0
  545. package/dist/domains/clipping/commands/ApplyClipCommand.d.ts +11 -11
  546. package/dist/domains/clipping/commands/ApplyClipCommand.js +59 -38
  547. package/dist/domains/clipping/commands/ApplyClipCommand.js.map +1 -0
  548. package/dist/domains/clipping/commands/FlipSliceCommand.d.ts +7 -7
  549. package/dist/domains/clipping/commands/FlipSliceCommand.js +27 -17
  550. package/dist/domains/clipping/commands/FlipSliceCommand.js.map +1 -0
  551. package/dist/domains/clipping/commands/NextClippingCommand.d.ts +17 -17
  552. package/dist/domains/clipping/commands/NextClippingCommand.js +150 -68
  553. package/dist/domains/clipping/commands/NextClippingCommand.js.map +1 -0
  554. package/dist/domains/clipping/commands/SetClipTypeCommand.d.ts +16 -16
  555. package/dist/domains/clipping/commands/SetClipTypeCommand.js +120 -62
  556. package/dist/domains/clipping/commands/SetClipTypeCommand.js.map +1 -0
  557. package/dist/domains/clipping/commands/ShowAllClippingCommand.d.ts +10 -10
  558. package/dist/domains/clipping/commands/ShowAllClippingCommand.js +48 -29
  559. package/dist/domains/clipping/commands/ShowAllClippingCommand.js.map +1 -0
  560. package/dist/domains/clipping/commands/ShowClippingOnTopCommand.d.ts +5 -5
  561. package/dist/domains/clipping/commands/ShowClippingOnTopCommand.js +18 -14
  562. package/dist/domains/clipping/commands/ShowClippingOnTopCommand.js.map +1 -0
  563. package/dist/domains/clipping/commands/ToggleGlobalCropBoxCommand.d.ts +12 -12
  564. package/dist/domains/clipping/commands/ToggleGlobalCropBoxCommand.js +44 -34
  565. package/dist/domains/clipping/commands/ToggleGlobalCropBoxCommand.js.map +1 -0
  566. package/dist/domains/clipping/commands/setClippingPlanes.d.ts +1 -1
  567. package/dist/domains/clipping/commands/setClippingPlanes.js +15 -12
  568. package/dist/domains/clipping/commands/setClippingPlanes.js.map +1 -0
  569. package/dist/domains/directionalMarker360/DirectionalMarker360Controller.d.ts +50 -50
  570. package/dist/domains/directionalMarker360/DirectionalMarker360Controller.js +205 -120
  571. package/dist/domains/directionalMarker360/DirectionalMarker360Controller.js.map +1 -0
  572. package/dist/domains/directionalMarker360/DirectionalMarker360DomainObject.d.ts +13 -13
  573. package/dist/domains/directionalMarker360/DirectionalMarker360DomainObject.js +37 -29
  574. package/dist/domains/directionalMarker360/DirectionalMarker360DomainObject.js.map +1 -0
  575. package/dist/domains/directionalMarker360/DirectionalMarker360Mesh.d.ts +13 -13
  576. package/dist/domains/directionalMarker360/DirectionalMarker360Mesh.js +55 -32
  577. package/dist/domains/directionalMarker360/DirectionalMarker360Mesh.js.map +1 -0
  578. package/dist/domains/directionalMarker360/DirectionalMarker360RenderStyle.d.ts +6 -6
  579. package/dist/domains/directionalMarker360/DirectionalMarker360RenderStyle.js +13 -15
  580. package/dist/domains/directionalMarker360/DirectionalMarker360RenderStyle.js.map +1 -0
  581. package/dist/domains/directionalMarker360/DirectionalMarker360View.d.ts +13 -13
  582. package/dist/domains/directionalMarker360/DirectionalMarker360View.js +76 -41
  583. package/dist/domains/directionalMarker360/DirectionalMarker360View.js.map +1 -0
  584. package/dist/domains/directionalMarker360/estimateNormalViaPCA.d.ts +11 -11
  585. package/dist/domains/directionalMarker360/estimateNormalViaPCA.js +110 -52
  586. package/dist/domains/directionalMarker360/estimateNormalViaPCA.js.map +1 -0
  587. package/dist/domains/example/ExampleDomainObject.d.ts +26 -26
  588. package/dist/domains/example/ExampleDomainObject.js +94 -66
  589. package/dist/domains/example/ExampleDomainObject.js.map +1 -0
  590. package/dist/domains/example/ExampleDragger.d.ts +11 -11
  591. package/dist/domains/example/ExampleDragger.js +44 -25
  592. package/dist/domains/example/ExampleDragger.js.map +1 -0
  593. package/dist/domains/example/ExampleRenderStyle.d.ts +5 -5
  594. package/dist/domains/example/ExampleRenderStyle.js +18 -12
  595. package/dist/domains/example/ExampleRenderStyle.js.map +1 -0
  596. package/dist/domains/example/ExampleTool.d.ts +12 -12
  597. package/dist/domains/example/ExampleTool.js +111 -72
  598. package/dist/domains/example/ExampleTool.js.map +1 -0
  599. package/dist/domains/example/ExampleView.d.ts +10 -10
  600. package/dist/domains/example/ExampleView.js +82 -49
  601. package/dist/domains/example/ExampleView.js.map +1 -0
  602. package/dist/domains/example/commands/DeleteAllExamplesCommand.d.ts +10 -10
  603. package/dist/domains/example/commands/DeleteAllExamplesCommand.js +37 -30
  604. package/dist/domains/example/commands/DeleteAllExamplesCommand.js.map +1 -0
  605. package/dist/domains/example/commands/ResetAllExamplesCommand.d.ts +8 -8
  606. package/dist/domains/example/commands/ResetAllExamplesCommand.js +29 -21
  607. package/dist/domains/example/commands/ResetAllExamplesCommand.js.map +1 -0
  608. package/dist/domains/example/commands/ShowAllExamplesCommand.d.ts +5 -5
  609. package/dist/domains/example/commands/ShowAllExamplesCommand.js +17 -13
  610. package/dist/domains/example/commands/ShowAllExamplesCommand.js.map +1 -0
  611. package/dist/domains/example/commands/ShowExamplesOnTopCommand.d.ts +5 -5
  612. package/dist/domains/example/commands/ShowExamplesOnTopCommand.js +17 -13
  613. package/dist/domains/example/commands/ShowExamplesOnTopCommand.js.map +1 -0
  614. package/dist/domains/groundPlane/GroundPlaneDomainObject.d.ts +27 -26
  615. package/dist/domains/groundPlane/GroundPlaneDomainObject.js +65 -43
  616. package/dist/domains/groundPlane/GroundPlaneDomainObject.js.map +1 -0
  617. package/dist/domains/groundPlane/GroundPlaneView.d.ts +4 -4
  618. package/dist/domains/groundPlane/GroundPlaneView.js +39 -22
  619. package/dist/domains/groundPlane/GroundPlaneView.js.map +1 -0
  620. package/dist/domains/groundPlane/index.d.ts +2 -2
  621. package/dist/domains/groundPlane/index.js +4 -0
  622. package/dist/domains/groundPlane/index.js.map +1 -0
  623. package/dist/domains/index.d.ts +118 -115
  624. package/dist/domains/index.js +121 -105
  625. package/dist/domains/index.js.map +1 -0
  626. package/dist/domains/installThreeViews.js +51 -39
  627. package/dist/domains/installThreeViews.js.map +1 -0
  628. package/dist/domains/installToolbars.js +75 -71
  629. package/dist/domains/installToolbars.js.map +1 -0
  630. package/dist/domains/measurements/MeasureBoxDomainObject.d.ts +6 -6
  631. package/dist/domains/measurements/MeasureBoxDomainObject.js +24 -17
  632. package/dist/domains/measurements/MeasureBoxDomainObject.js.map +1 -0
  633. package/dist/domains/measurements/MeasureCylinderDomainObject.d.ts +5 -5
  634. package/dist/domains/measurements/MeasureCylinderDomainObject.js +22 -15
  635. package/dist/domains/measurements/MeasureCylinderDomainObject.js.map +1 -0
  636. package/dist/domains/measurements/MeasureLineDomainObject.d.ts +5 -5
  637. package/dist/domains/measurements/MeasureLineDomainObject.js +21 -14
  638. package/dist/domains/measurements/MeasureLineDomainObject.js.map +1 -0
  639. package/dist/domains/measurements/MeasurementFolder.d.ts +5 -5
  640. package/dist/domains/measurements/MeasurementFolder.js +13 -12
  641. package/dist/domains/measurements/MeasurementFolder.js.map +1 -0
  642. package/dist/domains/measurements/MeasurementTool.d.ts +21 -21
  643. package/dist/domains/measurements/MeasurementTool.js +157 -105
  644. package/dist/domains/measurements/MeasurementTool.js.map +1 -0
  645. package/dist/domains/measurements/commands/SetMeasurementTypeCommand.d.ts +15 -15
  646. package/dist/domains/measurements/commands/SetMeasurementTypeCommand.js +129 -68
  647. package/dist/domains/measurements/commands/SetMeasurementTypeCommand.js.map +1 -0
  648. package/dist/domains/measurements/commands/ShowMeasurementsOnTopCommand.d.ts +7 -7
  649. package/dist/domains/measurements/commands/ShowMeasurementsOnTopCommand.js +23 -19
  650. package/dist/domains/measurements/commands/ShowMeasurementsOnTopCommand.js.map +1 -0
  651. package/dist/domains/measurements/diameter/getBestFitCylinderByIntersection.d.ts +16 -16
  652. package/dist/domains/measurements/diameter/getBestFitCylinderByIntersection.js +53 -20
  653. package/dist/domains/measurements/diameter/getBestFitCylinderByIntersection.js.map +1 -0
  654. package/dist/domains/measurements/diameter/measureDiameterToolUtils.d.ts +2 -2
  655. package/dist/domains/measurements/diameter/measureDiameterToolUtils.js +46 -24
  656. package/dist/domains/measurements/diameter/measureDiameterToolUtils.js.map +1 -0
  657. package/dist/domains/measurements/point/MeasurePointCreator.d.ts +14 -14
  658. package/dist/domains/measurements/point/MeasurePointCreator.js +44 -26
  659. package/dist/domains/measurements/point/MeasurePointCreator.js.map +1 -0
  660. package/dist/domains/measurements/point/MeasurePointDomainObject.d.ts +17 -17
  661. package/dist/domains/measurements/point/MeasurePointDomainObject.js +111 -71
  662. package/dist/domains/measurements/point/MeasurePointDomainObject.js.map +1 -0
  663. package/dist/domains/measurements/updateFocusPointMarker.d.ts +1 -1
  664. package/dist/domains/measurements/updateFocusPointMarker.js +18 -11
  665. package/dist/domains/measurements/updateFocusPointMarker.js.map +1 -0
  666. package/dist/domains/pointsOfInterest/DeletePointsOfInterestCommand.d.ts +9 -9
  667. package/dist/domains/pointsOfInterest/DeletePointsOfInterestCommand.js +34 -25
  668. package/dist/domains/pointsOfInterest/DeletePointsOfInterestCommand.js.map +1 -0
  669. package/dist/domains/pointsOfInterest/InitiatePointsOfInterestCommand.d.ts +11 -11
  670. package/dist/domains/pointsOfInterest/InitiatePointsOfInterestCommand.js +31 -25
  671. package/dist/domains/pointsOfInterest/InitiatePointsOfInterestCommand.js.map +1 -0
  672. package/dist/domains/pointsOfInterest/PoiHoverScheduler.d.ts +15 -15
  673. package/dist/domains/pointsOfInterest/PoiHoverScheduler.js +80 -65
  674. package/dist/domains/pointsOfInterest/PoiHoverScheduler.js.map +1 -0
  675. package/dist/domains/pointsOfInterest/PointOfInterestTreeNode.d.ts +20 -20
  676. package/dist/domains/pointsOfInterest/PointOfInterestTreeNode.js +42 -43
  677. package/dist/domains/pointsOfInterest/PointOfInterestTreeNode.js.map +1 -0
  678. package/dist/domains/pointsOfInterest/PointsOfInterestCache.d.ts +15 -15
  679. package/dist/domains/pointsOfInterest/PointsOfInterestCache.js +57 -34
  680. package/dist/domains/pointsOfInterest/PointsOfInterestCache.js.map +1 -0
  681. package/dist/domains/pointsOfInterest/PointsOfInterestCommand.d.ts +5 -5
  682. package/dist/domains/pointsOfInterest/PointsOfInterestCommand.js +13 -14
  683. package/dist/domains/pointsOfInterest/PointsOfInterestCommand.js.map +1 -0
  684. package/dist/domains/pointsOfInterest/PointsOfInterestDomainObject.d.ts +70 -70
  685. package/dist/domains/pointsOfInterest/PointsOfInterestDomainObject.js +363 -223
  686. package/dist/domains/pointsOfInterest/PointsOfInterestDomainObject.js.map +1 -0
  687. package/dist/domains/pointsOfInterest/PointsOfInterestProvider.d.ts +11 -11
  688. package/dist/domains/pointsOfInterest/PointsOfInterestProvider.js +3 -0
  689. package/dist/domains/pointsOfInterest/PointsOfInterestProvider.js.map +1 -0
  690. package/dist/domains/pointsOfInterest/PointsOfInterestTool.d.ts +59 -59
  691. package/dist/domains/pointsOfInterest/PointsOfInterestTool.js +246 -166
  692. package/dist/domains/pointsOfInterest/PointsOfInterestTool.js.map +1 -0
  693. package/dist/domains/pointsOfInterest/PointsOfInterestView.d.ts +23 -23
  694. package/dist/domains/pointsOfInterest/PointsOfInterestView.js +216 -104
  695. package/dist/domains/pointsOfInterest/PointsOfInterestView.js.map +1 -0
  696. package/dist/domains/pointsOfInterest/SetPointsOfInterestVisibleCommand.d.ts +7 -7
  697. package/dist/domains/pointsOfInterest/SetPointsOfInterestVisibleCommand.js +26 -24
  698. package/dist/domains/pointsOfInterest/SetPointsOfInterestVisibleCommand.js.map +1 -0
  699. package/dist/domains/pointsOfInterest/ads/PointsOfInterestAdsProvider.d.ts +20 -20
  700. package/dist/domains/pointsOfInterest/ads/PointsOfInterestAdsProvider.js +141 -91
  701. package/dist/domains/pointsOfInterest/ads/PointsOfInterestAdsProvider.js.map +1 -0
  702. package/dist/domains/pointsOfInterest/ads/createUpsertRequestFromPois.d.ts +12 -12
  703. package/dist/domains/pointsOfInterest/ads/createUpsertRequestFromPois.js +34 -29
  704. package/dist/domains/pointsOfInterest/ads/createUpsertRequestFromPois.js.map +1 -0
  705. package/dist/domains/pointsOfInterest/ads/createUserMap.d.ts +1 -1
  706. package/dist/domains/pointsOfInterest/ads/createUserMap.js +17 -9
  707. package/dist/domains/pointsOfInterest/ads/createUserMap.js.map +1 -0
  708. package/dist/domains/pointsOfInterest/ads/types.d.ts +37 -37
  709. package/dist/domains/pointsOfInterest/ads/types.js +7 -0
  710. package/dist/domains/pointsOfInterest/ads/types.js.map +1 -0
  711. package/dist/domains/pointsOfInterest/computeOverlayMatchingWorldDiameter.d.ts +9 -9
  712. package/dist/domains/pointsOfInterest/computeOverlayMatchingWorldDiameter.js +29 -8
  713. package/dist/domains/pointsOfInterest/computeOverlayMatchingWorldDiameter.js.map +1 -0
  714. package/dist/domains/pointsOfInterest/getPoiIntersectionFromPixel.d.ts +6 -6
  715. package/dist/domains/pointsOfInterest/getPoiIntersectionFromPixel.js +19 -11
  716. package/dist/domains/pointsOfInterest/getPoiIntersectionFromPixel.js.map +1 -0
  717. package/dist/domains/pointsOfInterest/index.d.ts +3 -3
  718. package/dist/domains/pointsOfInterest/index.js +5 -4
  719. package/dist/domains/pointsOfInterest/index.js.map +1 -0
  720. package/dist/domains/pointsOfInterest/models.d.ts +20 -20
  721. package/dist/domains/pointsOfInterest/models.js +3 -0
  722. package/dist/domains/pointsOfInterest/models.js.map +1 -0
  723. package/dist/domains/pointsOfInterest/poiMarkerTextures.d.ts +5 -5
  724. package/dist/domains/pointsOfInterest/poiMarkerTextures.js +28 -22
  725. package/dist/domains/pointsOfInterest/poiMarkerTextures.js.map +1 -0
  726. package/dist/domains/pointsOfInterest/selectPoiFromPointer.d.ts +7 -7
  727. package/dist/domains/pointsOfInterest/selectPoiFromPointer.js +19 -10
  728. package/dist/domains/pointsOfInterest/selectPoiFromPointer.js.map +1 -0
  729. package/dist/domains/pointsOfInterest/types.d.ts +18 -18
  730. package/dist/domains/pointsOfInterest/types.js +37 -34
  731. package/dist/domains/pointsOfInterest/types.js.map +1 -0
  732. package/dist/domains/primitives/box/BoxCreator.d.ts +21 -21
  733. package/dist/domains/primitives/box/BoxCreator.js +141 -72
  734. package/dist/domains/primitives/box/BoxCreator.js.map +1 -0
  735. package/dist/domains/primitives/box/BoxDomainObject.d.ts +28 -28
  736. package/dist/domains/primitives/box/BoxDomainObject.js +219 -112
  737. package/dist/domains/primitives/box/BoxDomainObject.js.map +1 -0
  738. package/dist/domains/primitives/box/BoxDragger.d.ts +30 -30
  739. package/dist/domains/primitives/box/BoxDragger.js +244 -125
  740. package/dist/domains/primitives/box/BoxDragger.js.map +1 -0
  741. package/dist/domains/primitives/box/BoxView.d.ts +37 -37
  742. package/dist/domains/primitives/box/BoxView.js +573 -296
  743. package/dist/domains/primitives/box/BoxView.js.map +1 -0
  744. package/dist/domains/primitives/common/BoxFace.d.ts +65 -65
  745. package/dist/domains/primitives/common/BoxFace.js +181 -80
  746. package/dist/domains/primitives/common/BoxFace.js.map +1 -0
  747. package/dist/domains/primitives/common/PrimitivePickInfo.d.ts +24 -24
  748. package/dist/domains/primitives/common/PrimitivePickInfo.js +17 -12
  749. package/dist/domains/primitives/common/PrimitivePickInfo.js.map +1 -0
  750. package/dist/domains/primitives/common/PrimitiveRenderStyle.d.ts +10 -10
  751. package/dist/domains/primitives/common/PrimitiveRenderStyle.js +17 -16
  752. package/dist/domains/primitives/common/PrimitiveRenderStyle.js.map +1 -0
  753. package/dist/domains/primitives/common/SolidDomainObject.d.ts +16 -16
  754. package/dist/domains/primitives/common/SolidDomainObject.js +63 -39
  755. package/dist/domains/primitives/common/SolidDomainObject.js.map +1 -0
  756. package/dist/domains/primitives/common/SolidPrimitiveRenderStyle.d.ts +16 -16
  757. package/dist/domains/primitives/common/SolidPrimitiveRenderStyle.js +36 -29
  758. package/dist/domains/primitives/common/SolidPrimitiveRenderStyle.js.map +1 -0
  759. package/dist/domains/primitives/cylinder/CylinderCreator.d.ts +24 -24
  760. package/dist/domains/primitives/cylinder/CylinderCreator.js +157 -78
  761. package/dist/domains/primitives/cylinder/CylinderCreator.js.map +1 -0
  762. package/dist/domains/primitives/cylinder/CylinderDomainObject.d.ts +24 -24
  763. package/dist/domains/primitives/cylinder/CylinderDomainObject.js +190 -95
  764. package/dist/domains/primitives/cylinder/CylinderDomainObject.js.map +1 -0
  765. package/dist/domains/primitives/cylinder/CylinderDragger.d.ts +29 -29
  766. package/dist/domains/primitives/cylinder/CylinderDragger.js +213 -111
  767. package/dist/domains/primitives/cylinder/CylinderDragger.js.map +1 -0
  768. package/dist/domains/primitives/cylinder/CylinderView.d.ts +28 -28
  769. package/dist/domains/primitives/cylinder/CylinderView.js +382 -182
  770. package/dist/domains/primitives/cylinder/CylinderView.js.map +1 -0
  771. package/dist/domains/primitives/line/LineCreator.d.ts +17 -17
  772. package/dist/domains/primitives/line/LineCreator.js +105 -53
  773. package/dist/domains/primitives/line/LineCreator.js.map +1 -0
  774. package/dist/domains/primitives/line/LineDomainObject.d.ts +36 -36
  775. package/dist/domains/primitives/line/LineDomainObject.js +234 -151
  776. package/dist/domains/primitives/line/LineDomainObject.js.map +1 -0
  777. package/dist/domains/primitives/line/LineRenderStyle.d.ts +14 -14
  778. package/dist/domains/primitives/line/LineRenderStyle.js +28 -23
  779. package/dist/domains/primitives/line/LineRenderStyle.js.map +1 -0
  780. package/dist/domains/primitives/line/LineView.d.ts +15 -15
  781. package/dist/domains/primitives/line/LineView.js +289 -155
  782. package/dist/domains/primitives/line/LineView.js.map +1 -0
  783. package/dist/domains/primitives/plane/PlaneCreator.d.ts +15 -15
  784. package/dist/domains/primitives/plane/PlaneCreator.js +96 -61
  785. package/dist/domains/primitives/plane/PlaneCreator.js.map +1 -0
  786. package/dist/domains/primitives/plane/PlaneDomainObject.d.ts +35 -35
  787. package/dist/domains/primitives/plane/PlaneDomainObject.js +260 -157
  788. package/dist/domains/primitives/plane/PlaneDomainObject.js.map +1 -0
  789. package/dist/domains/primitives/plane/PlaneDragger.d.ts +14 -14
  790. package/dist/domains/primitives/plane/PlaneDragger.js +58 -35
  791. package/dist/domains/primitives/plane/PlaneDragger.js.map +1 -0
  792. package/dist/domains/primitives/plane/PlaneView.d.ts +20 -20
  793. package/dist/domains/primitives/plane/PlaneView.js +272 -138
  794. package/dist/domains/primitives/plane/PlaneView.js.map +1 -0
  795. package/dist/domains/primitives/tools/PrimitiveEditTool.d.ts +27 -27
  796. package/dist/domains/primitives/tools/PrimitiveEditTool.js +296 -173
  797. package/dist/domains/primitives/tools/PrimitiveEditTool.js.map +1 -0
  798. package/dist/domains/reveal/Image360Collection/Image360CollectionDomainObject.d.ts +37 -37
  799. package/dist/domains/reveal/Image360Collection/Image360CollectionDomainObject.js +153 -97
  800. package/dist/domains/reveal/Image360Collection/Image360CollectionDomainObject.js.map +1 -0
  801. package/dist/domains/reveal/Image360Collection/Image360CollectionFolder.d.ts +4 -4
  802. package/dist/domains/reveal/Image360Collection/Image360CollectionFolder.js +14 -12
  803. package/dist/domains/reveal/Image360Collection/Image360CollectionFolder.js.map +1 -0
  804. package/dist/domains/reveal/Image360Collection/Image360CollectionThreeView.d.ts +10 -10
  805. package/dist/domains/reveal/Image360Collection/Image360CollectionThreeView.js +39 -24
  806. package/dist/domains/reveal/Image360Collection/Image360CollectionThreeView.js.map +1 -0
  807. package/dist/domains/reveal/Image360Collection/commands/Image360ActionCommand.d.ts +12 -12
  808. package/dist/domains/reveal/Image360Collection/commands/Image360ActionCommand.js +68 -45
  809. package/dist/domains/reveal/Image360Collection/commands/Image360ActionCommand.js.map +1 -0
  810. package/dist/domains/reveal/Image360Collection/commands/Image360CollectionDividerCommand.d.ts +2 -2
  811. package/dist/domains/reveal/Image360Collection/commands/Image360CollectionDividerCommand.js +9 -0
  812. package/dist/domains/reveal/Image360Collection/commands/Image360CollectionDividerCommand.js.map +1 -0
  813. package/dist/domains/reveal/Image360Collection/commands/Set360IconsOccludedVisibleCommand.d.ts +9 -9
  814. package/dist/domains/reveal/Image360Collection/commands/Set360IconsOccludedVisibleCommand.js +31 -25
  815. package/dist/domains/reveal/Image360Collection/commands/Set360IconsOccludedVisibleCommand.js.map +1 -0
  816. package/dist/domains/reveal/Image360Collection/commands/Set360IconsOpacityCommand.d.ts +8 -8
  817. package/dist/domains/reveal/Image360Collection/commands/Set360IconsOpacityCommand.js +27 -22
  818. package/dist/domains/reveal/Image360Collection/commands/Set360IconsOpacityCommand.js.map +1 -0
  819. package/dist/domains/reveal/Image360Collection/commands/Set360IconsSectionCommand.d.ts +4 -4
  820. package/dist/domains/reveal/Image360Collection/commands/Set360IconsSectionCommand.js +14 -13
  821. package/dist/domains/reveal/Image360Collection/commands/Set360IconsSectionCommand.js.map +1 -0
  822. package/dist/domains/reveal/Image360Collection/commands/Set360IconsVisibleCommand.d.ts +9 -9
  823. package/dist/domains/reveal/Image360Collection/commands/Set360IconsVisibleCommand.js +31 -25
  824. package/dist/domains/reveal/Image360Collection/commands/Set360IconsVisibleCommand.js.map +1 -0
  825. package/dist/domains/reveal/Image360Collection/commands/Set360ImagesOpacityCommand.d.ts +8 -8
  826. package/dist/domains/reveal/Image360Collection/commands/Set360ImagesOpacityCommand.js +27 -22
  827. package/dist/domains/reveal/Image360Collection/commands/Set360ImagesOpacityCommand.js.map +1 -0
  828. package/dist/domains/reveal/Image360Collection/commands/Set360ImagesSectionCommand.d.ts +4 -4
  829. package/dist/domains/reveal/Image360Collection/commands/Set360ImagesSectionCommand.js +14 -0
  830. package/dist/domains/reveal/Image360Collection/commands/Set360ImagesSectionCommand.js.map +1 -0
  831. package/dist/domains/reveal/Image360Collection/commands/Show360AnnotationsCommand.d.ts +11 -11
  832. package/dist/domains/reveal/Image360Collection/commands/Show360AnnotationsCommand.js +39 -29
  833. package/dist/domains/reveal/Image360Collection/commands/Show360AnnotationsCommand.js.map +1 -0
  834. package/dist/domains/reveal/RevealDomainObject.d.ts +2 -3
  835. package/dist/domains/reveal/RevealDomainObject.js +5 -5
  836. package/dist/domains/reveal/RevealDomainObject.js.map +1 -0
  837. package/dist/domains/reveal/RevealDomainObjectUtils.d.ts +31 -30
  838. package/dist/domains/reveal/RevealDomainObjectUtils.js +127 -78
  839. package/dist/domains/reveal/RevealDomainObjectUtils.js.map +1 -0
  840. package/dist/domains/reveal/RevealSettingsController.d.ts +41 -41
  841. package/dist/domains/reveal/RevealSettingsController.js +211 -165
  842. package/dist/domains/reveal/RevealSettingsController.js.map +1 -0
  843. package/dist/domains/reveal/RevealTypes.d.ts +1 -1
  844. package/dist/domains/reveal/RevealTypes.js +3 -0
  845. package/dist/domains/reveal/RevealTypes.js.map +1 -0
  846. package/dist/domains/reveal/cad/CadDomainObject.d.ts +50 -50
  847. package/dist/domains/reveal/cad/CadDomainObject.js +176 -112
  848. package/dist/domains/reveal/cad/CadDomainObject.js.map +1 -0
  849. package/dist/domains/reveal/cad/CadDomainObjectUtils.d.ts +17 -16
  850. package/dist/domains/reveal/cad/CadDomainObjectUtils.js +46 -38
  851. package/dist/domains/reveal/cad/CadDomainObjectUtils.js.map +1 -0
  852. package/dist/domains/reveal/cad/CadFolder.d.ts +4 -4
  853. package/dist/domains/reveal/cad/CadFolder.js +14 -12
  854. package/dist/domains/reveal/cad/CadFolder.js.map +1 -0
  855. package/dist/domains/reveal/cad/CadThreeView.d.ts +10 -10
  856. package/dist/domains/reveal/cad/CadThreeView.js +39 -25
  857. package/dist/domains/reveal/cad/CadThreeView.js.map +1 -0
  858. package/dist/domains/reveal/cad/commands/CadDividerCommand.d.ts +2 -2
  859. package/dist/domains/reveal/cad/commands/CadDividerCommand.js +9 -0
  860. package/dist/domains/reveal/cad/commands/CadDividerCommand.js.map +1 -0
  861. package/dist/domains/reveal/cad/commands/SetGhostModeCommand.d.ts +8 -8
  862. package/dist/domains/reveal/cad/commands/SetGhostModeCommand.js +29 -24
  863. package/dist/domains/reveal/cad/commands/SetGhostModeCommand.js.map +1 -0
  864. package/dist/domains/reveal/constants.d.ts +1 -1
  865. package/dist/domains/reveal/constants.js +14 -13
  866. package/dist/domains/reveal/constants.js.map +1 -0
  867. package/dist/domains/reveal/getOrCreateFolder.d.ts +15 -15
  868. package/dist/domains/reveal/getOrCreateFolder.js +48 -24
  869. package/dist/domains/reveal/getOrCreateFolder.js.map +1 -0
  870. package/dist/domains/reveal/pointCloud/PointCloudDomainObject.d.ts +27 -27
  871. package/dist/domains/reveal/pointCloud/PointCloudDomainObject.js +83 -57
  872. package/dist/domains/reveal/pointCloud/PointCloudDomainObject.js.map +1 -0
  873. package/dist/domains/reveal/pointCloud/PointCloudFolder.d.ts +4 -4
  874. package/dist/domains/reveal/pointCloud/PointCloudFolder.js +14 -12
  875. package/dist/domains/reveal/pointCloud/PointCloudFolder.js.map +1 -0
  876. package/dist/domains/reveal/pointCloud/PointCloudThreeView.d.ts +9 -9
  877. package/dist/domains/reveal/pointCloud/PointCloudThreeView.js +39 -25
  878. package/dist/domains/reveal/pointCloud/PointCloudThreeView.js.map +1 -0
  879. package/dist/domains/reveal/pointCloud/commands/PointCloudFilterCommand.d.ts +25 -25
  880. package/dist/domains/reveal/pointCloud/commands/PointCloudFilterCommand.js +178 -92
  881. package/dist/domains/reveal/pointCloud/commands/PointCloudFilterCommand.js.map +1 -0
  882. package/dist/domains/reveal/pointCloud/commands/SetPointColorTypeCommand.d.ts +8 -8
  883. package/dist/domains/reveal/pointCloud/commands/SetPointColorTypeCommand.js +93 -52
  884. package/dist/domains/reveal/pointCloud/commands/SetPointColorTypeCommand.js.map +1 -0
  885. package/dist/domains/reveal/pointCloud/commands/SetPointShapeCommand.d.ts +8 -8
  886. package/dist/domains/reveal/pointCloud/commands/SetPointShapeCommand.js +68 -44
  887. package/dist/domains/reveal/pointCloud/commands/SetPointShapeCommand.js.map +1 -0
  888. package/dist/domains/reveal/pointCloud/commands/SetPointSizeCommand.d.ts +12 -12
  889. package/dist/domains/reveal/pointCloud/commands/SetPointSizeCommand.js +77 -57
  890. package/dist/domains/reveal/pointCloud/commands/SetPointSizeCommand.js.map +1 -0
  891. package/dist/domains/reveal/pointCloud/isPointCloudIntersection.d.ts +1 -1
  892. package/dist/domains/reveal/pointCloud/isPointCloudIntersection.js +5 -5
  893. package/dist/domains/reveal/pointCloud/isPointCloudIntersection.js.map +1 -0
  894. package/dist/domains/reveal/signal/getRevealDomainObjectsSignal.d.ts +3 -3
  895. package/dist/domains/reveal/signal/getRevealDomainObjectsSignal.js +29 -20
  896. package/dist/domains/reveal/signal/getRevealDomainObjectsSignal.js.map +1 -0
  897. package/dist/domains/reveal/utils/getViewer.d.ts +2 -2
  898. package/dist/domains/reveal/utils/getViewer.js +10 -8
  899. package/dist/domains/reveal/utils/getViewer.js.map +1 -0
  900. package/dist/domains/reveal/utils/isImage360AnnotationHit.d.ts +6 -6
  901. package/dist/domains/reveal/utils/isImage360AnnotationHit.js +9 -5
  902. package/dist/domains/reveal/utils/isImage360AnnotationHit.js.map +1 -0
  903. package/dist/domains/reveal/utils/layersUrlStateParam.d.ts +11 -11
  904. package/dist/domains/reveal/utils/layersUrlStateParam.js +3 -0
  905. package/dist/domains/reveal/utils/layersUrlStateParam.js.map +1 -0
  906. package/dist/domains/reveal/utils/updateLayerState.d.ts +2 -2
  907. package/dist/domains/reveal/utils/updateLayerState.js +80 -55
  908. package/dist/domains/reveal/utils/updateLayerState.js.map +1 -0
  909. package/dist/domains/scene/SceneDomainObject.d.ts +36 -36
  910. package/dist/domains/scene/SceneDomainObject.js +82 -55
  911. package/dist/domains/scene/SceneDomainObject.js.map +1 -0
  912. package/dist/domains/scene/createResourceTransformation.d.ts +7 -7
  913. package/dist/domains/scene/createResourceTransformation.js +24 -14
  914. package/dist/domains/scene/createResourceTransformation.js.map +1 -0
  915. package/dist/domains/scene/fetchSceneConfig.d.ts +9 -9
  916. package/dist/domains/scene/fetchSceneConfig.js +76 -61
  917. package/dist/domains/scene/fetchSceneConfig.js.map +1 -0
  918. package/dist/domains/scene/loadSceneGroundPlanes.d.ts +7 -7
  919. package/dist/domains/scene/loadSceneGroundPlanes.js +39 -29
  920. package/dist/domains/scene/loadSceneGroundPlanes.js.map +1 -0
  921. package/dist/domains/scene/loadSceneImage360Collections.d.ts +7 -7
  922. package/dist/domains/scene/loadSceneImage360Collections.js +30 -25
  923. package/dist/domains/scene/loadSceneImage360Collections.js.map +1 -0
  924. package/dist/domains/scene/loadSceneModels.d.ts +11 -11
  925. package/dist/domains/scene/loadSceneModels.js +79 -59
  926. package/dist/domains/scene/loadSceneModels.js.map +1 -0
  927. package/dist/domains/scene/loadScenePointsOfInterest.d.ts +5 -5
  928. package/dist/domains/scene/loadScenePointsOfInterest.js +19 -16
  929. package/dist/domains/scene/loadScenePointsOfInterest.js.map +1 -0
  930. package/dist/domains/scene/loadSceneSkybox.d.ts +5 -5
  931. package/dist/domains/scene/loadSceneSkybox.js +17 -17
  932. package/dist/domains/scene/loadSceneSkybox.js.map +1 -0
  933. package/dist/domains/scene/loadTextureFromFileExternalId.d.ts +11 -11
  934. package/dist/domains/scene/loadTextureFromFileExternalId.js +24 -9
  935. package/dist/domains/scene/loadTextureFromFileExternalId.js.map +1 -0
  936. package/dist/domains/scene/parseSceneResponse.d.ts +3 -3
  937. package/dist/domains/scene/parseSceneResponse.js +82 -64
  938. package/dist/domains/scene/parseSceneResponse.js.map +1 -0
  939. package/dist/domains/skybox/SkyboxDomainObject.d.ts +13 -13
  940. package/dist/domains/skybox/SkyboxDomainObject.js +38 -29
  941. package/dist/domains/skybox/SkyboxDomainObject.js.map +1 -0
  942. package/dist/domains/skybox/SkyboxView.d.ts +6 -6
  943. package/dist/domains/skybox/SkyboxView.js +70 -29
  944. package/dist/domains/skybox/SkyboxView.js.map +1 -0
  945. package/dist/domains/skybox/index.d.ts +2 -2
  946. package/dist/domains/skybox/index.js +4 -3
  947. package/dist/domains/skybox/index.js.map +1 -0
  948. package/dist/domains/temporary/TemporaryFolder.d.ts +7 -7
  949. package/dist/domains/temporary/TemporaryFolder.js +23 -17
  950. package/dist/domains/temporary/TemporaryFolder.js.map +1 -0
  951. package/dist/domains/temporary/getOrCreateTemporaryFolder.d.ts +3 -3
  952. package/dist/domains/temporary/getOrCreateTemporaryFolder.js +22 -14
  953. package/dist/domains/temporary/getOrCreateTemporaryFolder.js.map +1 -0
  954. package/dist/domains/terrain/SetTerrainVisibleCommand.d.ts +6 -6
  955. package/dist/domains/terrain/SetTerrainVisibleCommand.js +36 -0
  956. package/dist/domains/terrain/SetTerrainVisibleCommand.js.map +1 -0
  957. package/dist/domains/terrain/TerrainDomainObject.d.ts +14 -14
  958. package/dist/domains/terrain/TerrainDomainObject.js +69 -36
  959. package/dist/domains/terrain/TerrainDomainObject.js.map +1 -0
  960. package/dist/domains/terrain/TerrainRenderStyle.d.ts +16 -16
  961. package/dist/domains/terrain/TerrainRenderStyle.js +20 -24
  962. package/dist/domains/terrain/TerrainRenderStyle.js.map +1 -0
  963. package/dist/domains/terrain/TerrainThreeView.d.ts +11 -11
  964. package/dist/domains/terrain/TerrainThreeView.js +185 -81
  965. package/dist/domains/terrain/TerrainThreeView.js.map +1 -0
  966. package/dist/domains/terrain/geometry/ContouringService.d.ts +10 -10
  967. package/dist/domains/terrain/geometry/ContouringService.js +109 -39
  968. package/dist/domains/terrain/geometry/ContouringService.js.map +1 -0
  969. package/dist/domains/terrain/geometry/Grid2.d.ts +12 -12
  970. package/dist/domains/terrain/geometry/Grid2.js +40 -0
  971. package/dist/domains/terrain/geometry/Grid2.js.map +1 -0
  972. package/dist/domains/terrain/geometry/RegularGrid2.d.ts +34 -34
  973. package/dist/domains/terrain/geometry/RegularGrid2.js +302 -0
  974. package/dist/domains/terrain/geometry/RegularGrid2.js.map +1 -0
  975. package/dist/domains/terrain/geometry/RegularGrid2Buffers.d.ts +6 -6
  976. package/dist/domains/terrain/geometry/RegularGrid2Buffers.js +99 -39
  977. package/dist/domains/terrain/geometry/RegularGrid2Buffers.js.map +1 -0
  978. package/dist/domains/terrain/geometry/createFractalRegularGrid2.d.ts +3 -3
  979. package/dist/domains/terrain/geometry/createFractalRegularGrid2.js +70 -0
  980. package/dist/domains/terrain/geometry/createFractalRegularGrid2.js.map +1 -0
  981. package/dist/foundation/commands/BaseBannerCommand.d.ts +11 -11
  982. package/dist/foundation/commands/BaseBannerCommand.js +18 -11
  983. package/dist/foundation/commands/BaseBannerCommand.js.map +1 -0
  984. package/dist/foundation/commands/BaseCommand.d.ts +83 -83
  985. package/dist/foundation/commands/BaseCommand.js +198 -112
  986. package/dist/foundation/commands/BaseCommand.js.map +1 -0
  987. package/dist/foundation/commands/BaseEditTool.d.ts +64 -64
  988. package/dist/foundation/commands/BaseEditTool.js +188 -84
  989. package/dist/foundation/commands/BaseEditTool.js.map +1 -0
  990. package/dist/foundation/commands/BaseFilterCommand.d.ts +39 -39
  991. package/dist/foundation/commands/BaseFilterCommand.js +143 -60
  992. package/dist/foundation/commands/BaseFilterCommand.js.map +1 -0
  993. package/dist/foundation/commands/BaseInputCommand.d.ts +12 -12
  994. package/dist/foundation/commands/BaseInputCommand.js +27 -24
  995. package/dist/foundation/commands/BaseInputCommand.js.map +1 -0
  996. package/dist/foundation/commands/BaseOptionCommand.d.ts +17 -17
  997. package/dist/foundation/commands/BaseOptionCommand.js +67 -37
  998. package/dist/foundation/commands/BaseOptionCommand.js.map +1 -0
  999. package/dist/foundation/commands/BaseSettingsCommand.d.ts +8 -8
  1000. package/dist/foundation/commands/BaseSettingsCommand.js +40 -27
  1001. package/dist/foundation/commands/BaseSettingsCommand.js.map +1 -0
  1002. package/dist/foundation/commands/BaseSliderCommand.d.ts +11 -11
  1003. package/dist/foundation/commands/BaseSliderCommand.js +23 -16
  1004. package/dist/foundation/commands/BaseSliderCommand.js.map +1 -0
  1005. package/dist/foundation/commands/BaseTool.d.ts +55 -55
  1006. package/dist/foundation/commands/BaseTool.js +172 -109
  1007. package/dist/foundation/commands/BaseTool.js.map +1 -0
  1008. package/dist/foundation/commands/CustomBaseInputCommand.d.ts +24 -24
  1009. package/dist/foundation/commands/CustomBaseInputCommand.js +48 -40
  1010. package/dist/foundation/commands/CustomBaseInputCommand.js.map +1 -0
  1011. package/dist/foundation/commands/DividerCommand.d.ts +5 -5
  1012. package/dist/foundation/commands/DividerCommand.js +14 -15
  1013. package/dist/foundation/commands/DividerCommand.js.map +1 -0
  1014. package/dist/foundation/commands/DomainObjectCommand.d.ts +5 -5
  1015. package/dist/foundation/commands/DomainObjectCommand.js +18 -13
  1016. package/dist/foundation/commands/DomainObjectCommand.js.map +1 -0
  1017. package/dist/foundation/commands/FractionSliderCommand.d.ts +3 -3
  1018. package/dist/foundation/commands/FractionSliderCommand.js +20 -12
  1019. package/dist/foundation/commands/FractionSliderCommand.js.map +1 -0
  1020. package/dist/foundation/commands/GeneralBannerCommand.d.ts +11 -11
  1021. package/dist/foundation/commands/GeneralBannerCommand.js +41 -29
  1022. package/dist/foundation/commands/GeneralBannerCommand.js.map +1 -0
  1023. package/dist/foundation/commands/GroupCommand.d.ts +25 -25
  1024. package/dist/foundation/commands/GroupCommand.js +67 -48
  1025. package/dist/foundation/commands/GroupCommand.js.map +1 -0
  1026. package/dist/foundation/commands/InstanceCommand.d.ts +7 -7
  1027. package/dist/foundation/commands/InstanceCommand.js +27 -18
  1028. package/dist/foundation/commands/InstanceCommand.js.map +1 -0
  1029. package/dist/foundation/commands/RenderTargetCommand.d.ts +22 -22
  1030. package/dist/foundation/commands/RenderTargetCommand.js +84 -44
  1031. package/dist/foundation/commands/RenderTargetCommand.js.map +1 -0
  1032. package/dist/foundation/commands/SectionCommand.d.ts +5 -5
  1033. package/dist/foundation/commands/SectionCommand.js +14 -15
  1034. package/dist/foundation/commands/SectionCommand.js.map +1 -0
  1035. package/dist/foundation/commands/ShowAllDomainObjectsCommand.d.ts +9 -9
  1036. package/dist/foundation/commands/ShowAllDomainObjectsCommand.js +40 -27
  1037. package/dist/foundation/commands/ShowAllDomainObjectsCommand.js.map +1 -0
  1038. package/dist/foundation/commands/ShowDomainObjectsOnTopCommand.d.ts +7 -7
  1039. package/dist/foundation/commands/ShowDomainObjectsOnTopCommand.js +46 -31
  1040. package/dist/foundation/commands/ShowDomainObjectsOnTopCommand.js.map +1 -0
  1041. package/dist/foundation/commands/factory/ToolbarFactory.d.ts +18 -18
  1042. package/dist/foundation/commands/factory/ToolbarFactory.js +29 -11
  1043. package/dist/foundation/commands/factory/ToolbarFactory.js.map +1 -0
  1044. package/dist/foundation/concreteCommands/general/CopyToClipboardCommand.d.ts +13 -13
  1045. package/dist/foundation/concreteCommands/general/CopyToClipboardCommand.js +44 -31
  1046. package/dist/foundation/concreteCommands/general/CopyToClipboardCommand.js.map +1 -0
  1047. package/dist/foundation/concreteCommands/general/DeleteDomainObjectCommand.d.ts +9 -9
  1048. package/dist/foundation/concreteCommands/general/DeleteDomainObjectCommand.js +24 -22
  1049. package/dist/foundation/concreteCommands/general/DeleteDomainObjectCommand.js.map +1 -0
  1050. package/dist/foundation/concreteCommands/general/HelpCommand.d.ts +10 -10
  1051. package/dist/foundation/concreteCommands/general/HelpCommand.js +30 -23
  1052. package/dist/foundation/concreteCommands/general/HelpCommand.js.map +1 -0
  1053. package/dist/foundation/concreteCommands/general/SettingsCommand.d.ts +12 -12
  1054. package/dist/foundation/concreteCommands/general/SettingsCommand.js +104 -55
  1055. package/dist/foundation/concreteCommands/general/SettingsCommand.js.map +1 -0
  1056. package/dist/foundation/concreteCommands/general/ShareCommand.d.ts +11 -11
  1057. package/dist/foundation/concreteCommands/general/ShareCommand.js +33 -27
  1058. package/dist/foundation/concreteCommands/general/ShareCommand.js.map +1 -0
  1059. package/dist/foundation/concreteCommands/general/ShowLayersCommand.d.ts +11 -11
  1060. package/dist/foundation/concreteCommands/general/ShowLayersCommand.js +33 -26
  1061. package/dist/foundation/concreteCommands/general/ShowLayersCommand.js.map +1 -0
  1062. package/dist/foundation/concreteCommands/general/ShowTreeViewCommand.d.ts +11 -11
  1063. package/dist/foundation/concreteCommands/general/ShowTreeViewCommand.js +33 -26
  1064. package/dist/foundation/concreteCommands/general/ShowTreeViewCommand.js.map +1 -0
  1065. package/dist/foundation/concreteCommands/general/UndoCommand.d.ts +10 -10
  1066. package/dist/foundation/concreteCommands/general/UndoCommand.js +45 -31
  1067. package/dist/foundation/concreteCommands/general/UndoCommand.js.map +1 -0
  1068. package/dist/foundation/concreteCommands/navigation/FitViewCommand.d.ts +6 -6
  1069. package/dist/foundation/concreteCommands/navigation/FitViewCommand.js +17 -15
  1070. package/dist/foundation/concreteCommands/navigation/FitViewCommand.js.map +1 -0
  1071. package/dist/foundation/concreteCommands/navigation/KeyboardSpeedCommand.d.ts +7 -7
  1072. package/dist/foundation/concreteCommands/navigation/KeyboardSpeedCommand.js +62 -43
  1073. package/dist/foundation/concreteCommands/navigation/KeyboardSpeedCommand.js.map +1 -0
  1074. package/dist/foundation/concreteCommands/navigation/NavigationTool.d.ts +27 -27
  1075. package/dist/foundation/concreteCommands/navigation/NavigationTool.js +134 -100
  1076. package/dist/foundation/concreteCommands/navigation/NavigationTool.js.map +1 -0
  1077. package/dist/foundation/concreteCommands/navigation/SetFlexibleControlsTypeCommand.d.ts +17 -17
  1078. package/dist/foundation/concreteCommands/navigation/SetFlexibleControlsTypeCommand.js +85 -50
  1079. package/dist/foundation/concreteCommands/navigation/SetFlexibleControlsTypeCommand.js.map +1 -0
  1080. package/dist/foundation/concreteCommands/navigation/SetOrbitOrFirstPersonModeCommand.d.ts +7 -7
  1081. package/dist/foundation/concreteCommands/navigation/SetOrbitOrFirstPersonModeCommand.js +30 -20
  1082. package/dist/foundation/concreteCommands/navigation/SetOrbitOrFirstPersonModeCommand.js.map +1 -0
  1083. package/dist/foundation/concreteCommands/quality/QualityWarningBannerCommand.d.ts +7 -7
  1084. package/dist/foundation/concreteCommands/quality/QualityWarningBannerCommand.js +26 -19
  1085. package/dist/foundation/concreteCommands/quality/QualityWarningBannerCommand.js.map +1 -0
  1086. package/dist/foundation/concreteCommands/quality/SetQualityCommand.d.ts +13 -13
  1087. package/dist/foundation/concreteCommands/quality/SetQualityCommand.js +81 -58
  1088. package/dist/foundation/concreteCommands/quality/SetQualityCommand.js.map +1 -0
  1089. package/dist/foundation/concreteCommands/quality/SetQualitySliderCommand.d.ts +10 -10
  1090. package/dist/foundation/concreteCommands/quality/SetQualitySliderCommand.js +44 -30
  1091. package/dist/foundation/concreteCommands/quality/SetQualitySliderCommand.js.map +1 -0
  1092. package/dist/foundation/concreteCommands/quality/fidelityLevels.d.ts +1 -1
  1093. package/dist/foundation/concreteCommands/quality/fidelityLevels.js +109 -84
  1094. package/dist/foundation/concreteCommands/quality/fidelityLevels.js.map +1 -0
  1095. package/dist/foundation/concreteCommands/units/CycleLengthUnitsCommand.d.ts +8 -8
  1096. package/dist/foundation/concreteCommands/units/CycleLengthUnitsCommand.js +34 -29
  1097. package/dist/foundation/concreteCommands/units/CycleLengthUnitsCommand.js.map +1 -0
  1098. package/dist/foundation/concreteCommands/units/SetLengthUnitCommand.d.ts +6 -6
  1099. package/dist/foundation/concreteCommands/units/SetLengthUnitCommand.js +49 -35
  1100. package/dist/foundation/concreteCommands/units/SetLengthUnitCommand.js.map +1 -0
  1101. package/dist/foundation/domainObjects/DomainObject.d.ts +209 -209
  1102. package/dist/foundation/domainObjects/DomainObject.js +860 -404
  1103. package/dist/foundation/domainObjects/DomainObject.js.map +1 -0
  1104. package/dist/foundation/domainObjects/FolderDomainObject.d.ts +9 -9
  1105. package/dist/foundation/domainObjects/FolderDomainObject.js +33 -25
  1106. package/dist/foundation/domainObjects/FolderDomainObject.js.map +1 -0
  1107. package/dist/foundation/domainObjects/RootDomainObject.d.ts +26 -26
  1108. package/dist/foundation/domainObjects/RootDomainObject.js +83 -55
  1109. package/dist/foundation/domainObjects/RootDomainObject.js.map +1 -0
  1110. package/dist/foundation/domainObjects/VisualDomainObject.d.ts +36 -36
  1111. package/dist/foundation/domainObjects/VisualDomainObject.js +131 -46
  1112. package/dist/foundation/domainObjects/VisualDomainObject.js.map +1 -0
  1113. package/dist/foundation/domainObjects/getRoot.d.ts +13 -13
  1114. package/dist/foundation/domainObjects/getRoot.js +21 -8
  1115. package/dist/foundation/domainObjects/getRoot.js.map +1 -0
  1116. package/dist/foundation/domainObjectsHelpers/BaseCreator.d.ts +58 -58
  1117. package/dist/foundation/domainObjectsHelpers/BaseCreator.js +104 -57
  1118. package/dist/foundation/domainObjectsHelpers/BaseCreator.js.map +1 -0
  1119. package/dist/foundation/domainObjectsHelpers/BaseDragger.d.ts +44 -44
  1120. package/dist/foundation/domainObjectsHelpers/BaseDragger.js +69 -34
  1121. package/dist/foundation/domainObjectsHelpers/BaseDragger.js.map +1 -0
  1122. package/dist/foundation/domainObjectsHelpers/ChangedDescription.d.ts +4 -4
  1123. package/dist/foundation/domainObjectsHelpers/ChangedDescription.js +15 -14
  1124. package/dist/foundation/domainObjectsHelpers/ChangedDescription.js.map +1 -0
  1125. package/dist/foundation/domainObjectsHelpers/Changes.d.ts +25 -25
  1126. package/dist/foundation/domainObjectsHelpers/Changes.js +84 -30
  1127. package/dist/foundation/domainObjectsHelpers/Changes.js.map +1 -0
  1128. package/dist/foundation/domainObjectsHelpers/Class.d.ts +1 -1
  1129. package/dist/foundation/domainObjectsHelpers/Class.js +4 -5
  1130. package/dist/foundation/domainObjectsHelpers/Class.js.map +1 -0
  1131. package/dist/foundation/domainObjectsHelpers/ColorType.d.ts +6 -6
  1132. package/dist/foundation/domainObjectsHelpers/ColorType.js +10 -5
  1133. package/dist/foundation/domainObjectsHelpers/ColorType.js.map +1 -0
  1134. package/dist/foundation/domainObjectsHelpers/CommandChanges.d.ts +2 -2
  1135. package/dist/foundation/domainObjectsHelpers/CommandChanges.js +10 -7
  1136. package/dist/foundation/domainObjectsHelpers/CommandChanges.js.map +1 -0
  1137. package/dist/foundation/domainObjectsHelpers/DomainObjectChange.d.ts +26 -26
  1138. package/dist/foundation/domainObjectsHelpers/DomainObjectChange.js +98 -39
  1139. package/dist/foundation/domainObjectsHelpers/DomainObjectChange.js.map +1 -0
  1140. package/dist/foundation/domainObjectsHelpers/DomainObjectIntersection.d.ts +4 -4
  1141. package/dist/foundation/domainObjectsHelpers/DomainObjectIntersection.js +10 -7
  1142. package/dist/foundation/domainObjectsHelpers/DomainObjectIntersection.js.map +1 -0
  1143. package/dist/foundation/domainObjectsHelpers/FocusType.d.ts +7 -7
  1144. package/dist/foundation/domainObjectsHelpers/FocusType.js +11 -5
  1145. package/dist/foundation/domainObjectsHelpers/FocusType.js.map +1 -0
  1146. package/dist/foundation/domainObjectsHelpers/PanelInfo.d.ts +21 -21
  1147. package/dist/foundation/domainObjectsHelpers/PanelInfo.js +51 -40
  1148. package/dist/foundation/domainObjectsHelpers/PanelInfo.js.map +1 -0
  1149. package/dist/foundation/domainObjectsHelpers/PopupStyle.d.ts +25 -25
  1150. package/dist/foundation/domainObjectsHelpers/PopupStyle.js +56 -45
  1151. package/dist/foundation/domainObjectsHelpers/PopupStyle.js.map +1 -0
  1152. package/dist/foundation/domainObjectsHelpers/Quantity.d.ts +5 -5
  1153. package/dist/foundation/domainObjectsHelpers/Quantity.js +9 -5
  1154. package/dist/foundation/domainObjectsHelpers/Quantity.js.map +1 -0
  1155. package/dist/foundation/domainObjectsHelpers/Views.d.ts +26 -26
  1156. package/dist/foundation/domainObjectsHelpers/Views.js +69 -43
  1157. package/dist/foundation/domainObjectsHelpers/Views.js.map +1 -0
  1158. package/dist/foundation/domainObjectsHelpers/VisibleState.d.ts +5 -5
  1159. package/dist/foundation/domainObjectsHelpers/VisibleState.js +9 -5
  1160. package/dist/foundation/domainObjectsHelpers/VisibleState.js.map +1 -0
  1161. package/dist/foundation/domainObjectsHelpers/getClosestDomainObjectIntersection.d.ts +7 -7
  1162. package/dist/foundation/domainObjectsHelpers/getClosestDomainObjectIntersection.js +31 -13
  1163. package/dist/foundation/domainObjectsHelpers/getClosestDomainObjectIntersection.js.map +1 -0
  1164. package/dist/foundation/reactUpdaters/DomainObjectPanelUpdater.d.ts +19 -19
  1165. package/dist/foundation/reactUpdaters/DomainObjectPanelUpdater.js +62 -30
  1166. package/dist/foundation/reactUpdaters/DomainObjectPanelUpdater.js.map +1 -0
  1167. package/dist/foundation/renderStyles/CommonRenderStyle.d.ts +2 -2
  1168. package/dist/foundation/renderStyles/CommonRenderStyle.js +11 -7
  1169. package/dist/foundation/renderStyles/CommonRenderStyle.js.map +1 -0
  1170. package/dist/foundation/renderStyles/RenderStyle.d.ts +1 -1
  1171. package/dist/foundation/renderStyles/RenderStyle.js +4 -4
  1172. package/dist/foundation/renderStyles/RenderStyle.js.map +1 -0
  1173. package/dist/foundation/renderTarget/BaseRevealConfig.d.ts +12 -12
  1174. package/dist/foundation/renderTarget/BaseRevealConfig.js +36 -32
  1175. package/dist/foundation/renderTarget/BaseRevealConfig.js.map +1 -0
  1176. package/dist/foundation/renderTarget/CdfCaches.d.ts +45 -39
  1177. package/dist/foundation/renderTarget/CdfCaches.js +81 -62
  1178. package/dist/foundation/renderTarget/CdfCaches.js.map +1 -0
  1179. package/dist/foundation/renderTarget/CommandsController.d.ts +67 -67
  1180. package/dist/foundation/renderTarget/CommandsController.js +279 -157
  1181. package/dist/foundation/renderTarget/CommandsController.js.map +1 -0
  1182. package/dist/foundation/renderTarget/DefaultRevealConfig.d.ts +2 -3
  1183. package/dist/foundation/renderTarget/DefaultRevealConfig.js +5 -5
  1184. package/dist/foundation/renderTarget/DefaultRevealConfig.js.map +1 -0
  1185. package/dist/foundation/renderTarget/InstanceStylingController.d.ts +8 -8
  1186. package/dist/foundation/renderTarget/InstanceStylingController.js +32 -29
  1187. package/dist/foundation/renderTarget/InstanceStylingController.js.map +1 -0
  1188. package/dist/foundation/renderTarget/RenderTarget.d.ts +27 -27
  1189. package/dist/foundation/renderTarget/RenderTarget.js +9 -0
  1190. package/dist/foundation/renderTarget/RenderTarget.js.map +1 -0
  1191. package/dist/foundation/renderTarget/RevealRenderTarget.d.ts +105 -105
  1192. package/dist/foundation/renderTarget/RevealRenderTarget.js +334 -220
  1193. package/dist/foundation/renderTarget/RevealRenderTarget.js.map +1 -0
  1194. package/dist/foundation/renderTarget/UnitSystem.d.ts +21 -21
  1195. package/dist/foundation/renderTarget/UnitSystem.js +139 -85
  1196. package/dist/foundation/renderTarget/UnitSystem.js.map +1 -0
  1197. package/dist/foundation/renderTarget/convertCoordinates.d.ts +1 -1
  1198. package/dist/foundation/renderTarget/convertCoordinates.js +12 -11
  1199. package/dist/foundation/renderTarget/convertCoordinates.js.map +1 -0
  1200. package/dist/foundation/treeNodes/cad-tree-node/cad-lazy-loader.d.ts +30 -30
  1201. package/dist/foundation/treeNodes/cad-tree-node/cad-lazy-loader.js +224 -127
  1202. package/dist/foundation/treeNodes/cad-tree-node/cad-lazy-loader.js.map +1 -0
  1203. package/dist/foundation/treeNodes/cad-tree-node/cad-node-update-styling.d.ts +2 -2
  1204. package/dist/foundation/treeNodes/cad-tree-node/cad-node-update-styling.js +82 -43
  1205. package/dist/foundation/treeNodes/cad-tree-node/cad-node-update-styling.js.map +1 -0
  1206. package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node-view-adapter.d.ts +39 -39
  1207. package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node-view-adapter.js +89 -83
  1208. package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node-view-adapter.js.map +1 -0
  1209. package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node.d.ts +40 -40
  1210. package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node.js +130 -71
  1211. package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node.js.map +1 -0
  1212. package/dist/foundation/treeNodes/cad-tree-node/cad-types.d.ts +6 -6
  1213. package/dist/foundation/treeNodes/cad-tree-node/cad-types.js +3 -0
  1214. package/dist/foundation/treeNodes/cad-tree-node/cad-types.js.map +1 -0
  1215. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/classic-instance-mappings-sdk.d.ts +10 -10
  1216. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/classic-instance-mappings-sdk.js +61 -37
  1217. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/classic-instance-mappings-sdk.js.map +1 -0
  1218. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/core-dm-instance-mappings-sdk.d.ts +11 -11
  1219. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/core-dm-instance-mappings-sdk.js +26 -23
  1220. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/core-dm-instance-mappings-sdk.js.map +1 -0
  1221. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/i-nodes-and-instance-mappings-sdk.d.ts +14 -14
  1222. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/i-nodes-and-instance-mappings-sdk.js +3 -0
  1223. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/i-nodes-and-instance-mappings-sdk.js.map +1 -0
  1224. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/nodes-and-instance-mappings-sdk.d.ts +18 -18
  1225. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/nodes-and-instance-mappings-sdk.js +20 -22
  1226. package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/nodes-and-instance-mappings-sdk.js.map +1 -0
  1227. package/dist/foundation/treeNodes/index.d.ts +1 -1
  1228. package/dist/foundation/treeNodes/index.js +3 -0
  1229. package/dist/foundation/treeNodes/index.js.map +1 -0
  1230. package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-annotations-lazy-loader.d.ts +8 -0
  1231. package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-annotations-lazy-loader.js +67 -0
  1232. package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-annotations-lazy-loader.js.map +1 -0
  1233. package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-mapping-tree-node.d.ts +10 -0
  1234. package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-mapping-tree-node.js +40 -0
  1235. package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-mapping-tree-node.js.map +1 -0
  1236. package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-tree-node.d.ts +2 -0
  1237. package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-tree-node.js +5 -0
  1238. package/dist/foundation/treeNodes/pointcloud-annotations/pointcloud-tree-node.js.map +1 -0
  1239. package/dist/foundation/treeNodes/tree-node/tree-node-functions-on-key-down.d.ts +2 -2
  1240. package/dist/foundation/treeNodes/tree-node/tree-node-functions-on-key-down.js +125 -58
  1241. package/dist/foundation/treeNodes/tree-node/tree-node-functions-on-key-down.js.map +1 -0
  1242. package/dist/foundation/treeNodes/tree-node/tree-node-functions.d.ts +13 -13
  1243. package/dist/foundation/treeNodes/tree-node/tree-node-functions.js +111 -40
  1244. package/dist/foundation/treeNodes/tree-node/tree-node-functions.js.map +1 -0
  1245. package/dist/foundation/treeNodes/tree-node/tree-node.d.ts +91 -91
  1246. package/dist/foundation/treeNodes/tree-node/tree-node.js +427 -238
  1247. package/dist/foundation/treeNodes/tree-node/tree-node.js.map +1 -0
  1248. package/dist/foundation/treeNodes/tree-node-type/i-lazy-loader.d.ts +55 -55
  1249. package/dist/foundation/treeNodes/tree-node-type/i-lazy-loader.js +5 -0
  1250. package/dist/foundation/treeNodes/tree-node-type/i-lazy-loader.js.map +1 -0
  1251. package/dist/foundation/treeNodes/tree-node-type/tree-node-actions.d.ts +9 -9
  1252. package/dist/foundation/treeNodes/tree-node-type/tree-node-actions.js +3 -0
  1253. package/dist/foundation/treeNodes/tree-node-type/tree-node-actions.js.map +1 -0
  1254. package/dist/foundation/treeNodes/tree-node-type/tree-node-type.d.ts +39 -39
  1255. package/dist/foundation/treeNodes/tree-node-type/tree-node-type.js +3 -0
  1256. package/dist/foundation/treeNodes/tree-node-type/tree-node-type.js.map +1 -0
  1257. package/dist/foundation/undo/DomainObjectTransaction.d.ts +10 -10
  1258. package/dist/foundation/undo/DomainObjectTransaction.js +52 -28
  1259. package/dist/foundation/undo/DomainObjectTransaction.js.map +1 -0
  1260. package/dist/foundation/undo/Transaction.d.ts +10 -10
  1261. package/dist/foundation/undo/Transaction.js +33 -21
  1262. package/dist/foundation/undo/Transaction.js.map +1 -0
  1263. package/dist/foundation/undo/UndoManager.d.ts +14 -14
  1264. package/dist/foundation/undo/UndoManager.js +56 -28
  1265. package/dist/foundation/undo/UndoManager.js.map +1 -0
  1266. package/dist/foundation/utilities/colors/ColorInterpolation.d.ts +3 -3
  1267. package/dist/foundation/utilities/colors/ColorInterpolation.js +7 -5
  1268. package/dist/foundation/utilities/colors/ColorInterpolation.js.map +1 -0
  1269. package/dist/foundation/utilities/colors/ColorMap.d.ts +13 -13
  1270. package/dist/foundation/utilities/colors/ColorMap.js +111 -56
  1271. package/dist/foundation/utilities/colors/ColorMap.js.map +1 -0
  1272. package/dist/foundation/utilities/colors/ColorMapItem.d.ts +7 -7
  1273. package/dist/foundation/utilities/colors/ColorMapItem.js +26 -19
  1274. package/dist/foundation/utilities/colors/ColorMapItem.js.map +1 -0
  1275. package/dist/foundation/utilities/colors/ColorMapType.d.ts +8 -8
  1276. package/dist/foundation/utilities/colors/ColorMapType.js +12 -5
  1277. package/dist/foundation/utilities/colors/ColorMapType.js.map +1 -0
  1278. package/dist/foundation/utilities/colors/colorMaps.d.ts +2 -2
  1279. package/dist/foundation/utilities/colors/colorMaps.js +98 -38
  1280. package/dist/foundation/utilities/colors/colorMaps.js.map +1 -0
  1281. package/dist/foundation/utilities/colors/colorToHex.d.ts +1 -1
  1282. package/dist/foundation/utilities/colors/colorToHex.js +16 -10
  1283. package/dist/foundation/utilities/colors/colorToHex.js.map +1 -0
  1284. package/dist/foundation/utilities/colors/colorUtils.d.ts +1 -1
  1285. package/dist/foundation/utilities/colors/colorUtils.js +69 -33
  1286. package/dist/foundation/utilities/colors/colorUtils.js.map +1 -0
  1287. package/dist/foundation/utilities/colors/create1DTexture.d.ts +3 -3
  1288. package/dist/foundation/utilities/colors/create1DTexture.js +15 -12
  1289. package/dist/foundation/utilities/colors/create1DTexture.js.map +1 -0
  1290. package/dist/foundation/utilities/colors/getNextColor.d.ts +1 -1
  1291. package/dist/foundation/utilities/colors/getNextColor.js +40 -22
  1292. package/dist/foundation/utilities/colors/getNextColor.js.map +1 -0
  1293. package/dist/foundation/utilities/cylinderFit/LeastSquare.d.ts +22 -22
  1294. package/dist/foundation/utilities/cylinderFit/LeastSquare.js +67 -33
  1295. package/dist/foundation/utilities/cylinderFit/LeastSquare.js.map +1 -0
  1296. package/dist/foundation/utilities/cylinderFit/LeastSquareCylinderResult.d.ts +15 -15
  1297. package/dist/foundation/utilities/cylinderFit/LeastSquareCylinderResult.js +44 -36
  1298. package/dist/foundation/utilities/cylinderFit/LeastSquareCylinderResult.js.map +1 -0
  1299. package/dist/foundation/utilities/cylinderFit/bestFitCylinder.d.ts +13 -13
  1300. package/dist/foundation/utilities/cylinderFit/bestFitCylinder.js +280 -106
  1301. package/dist/foundation/utilities/cylinderFit/bestFitCylinder.js.map +1 -0
  1302. package/dist/foundation/utilities/cylinderFit/bestFitVerticalCylinder.d.ts +12 -12
  1303. package/dist/foundation/utilities/cylinderFit/bestFitVerticalCylinder.js +40 -22
  1304. package/dist/foundation/utilities/cylinderFit/bestFitVerticalCylinder.js.map +1 -0
  1305. package/dist/foundation/utilities/cylinderFit/getTransformedPoints.d.ts +12 -12
  1306. package/dist/foundation/utilities/cylinderFit/getTransformedPoints.js +24 -8
  1307. package/dist/foundation/utilities/cylinderFit/getTransformedPoints.js.map +1 -0
  1308. package/dist/foundation/utilities/extensions/arrayUtils.d.ts +58 -58
  1309. package/dist/foundation/utilities/extensions/arrayUtils.js +119 -21
  1310. package/dist/foundation/utilities/extensions/arrayUtils.js.map +1 -0
  1311. package/dist/foundation/utilities/extensions/generatorUtils.d.ts +4 -1
  1312. package/dist/foundation/utilities/extensions/generatorUtils.js +32 -5
  1313. package/dist/foundation/utilities/extensions/generatorUtils.js.map +1 -0
  1314. package/dist/foundation/utilities/extensions/isMacOs.js +4 -5
  1315. package/dist/foundation/utilities/extensions/isMacOs.js.map +1 -0
  1316. package/dist/foundation/utilities/extensions/mathUtils.d.ts +6 -6
  1317. package/dist/foundation/utilities/extensions/mathUtils.js +162 -78
  1318. package/dist/foundation/utilities/extensions/mathUtils.js.map +1 -0
  1319. package/dist/foundation/utilities/extensions/rayUtils.d.ts +8 -8
  1320. package/dist/foundation/utilities/extensions/rayUtils.js +20 -8
  1321. package/dist/foundation/utilities/extensions/rayUtils.js.map +1 -0
  1322. package/dist/foundation/utilities/extensions/stringUtils.d.ts +15 -15
  1323. package/dist/foundation/utilities/extensions/stringUtils.js +54 -18
  1324. package/dist/foundation/utilities/extensions/stringUtils.js.map +1 -0
  1325. package/dist/foundation/utilities/extensions/vectorUtils.d.ts +74 -74
  1326. package/dist/foundation/utilities/extensions/vectorUtils.js +138 -48
  1327. package/dist/foundation/utilities/extensions/vectorUtils.js.map +1 -0
  1328. package/dist/foundation/utilities/geometry/Index2.d.ts +11 -11
  1329. package/dist/foundation/utilities/geometry/Index2.js +57 -38
  1330. package/dist/foundation/utilities/geometry/Index2.js.map +1 -0
  1331. package/dist/foundation/utilities/geometry/Range1.d.ts +34 -34
  1332. package/dist/foundation/utilities/geometry/Range1.js +235 -116
  1333. package/dist/foundation/utilities/geometry/Range1.js.map +1 -0
  1334. package/dist/foundation/utilities/geometry/Range3.d.ts +42 -43
  1335. package/dist/foundation/utilities/geometry/Range3.js +266 -155
  1336. package/dist/foundation/utilities/geometry/Range3.js.map +1 -0
  1337. package/dist/foundation/utilities/geometry/Shape.d.ts +8 -8
  1338. package/dist/foundation/utilities/geometry/Shape.js +24 -0
  1339. package/dist/foundation/utilities/geometry/Shape.js.map +1 -0
  1340. package/dist/foundation/utilities/geometry/TrianglesBuffers.d.ts +18 -18
  1341. package/dist/foundation/utilities/geometry/TrianglesBuffers.js +102 -57
  1342. package/dist/foundation/utilities/geometry/TrianglesBuffers.js.map +1 -0
  1343. package/dist/foundation/utilities/geometry/getBoundingBoxFromPlanes.d.ts +2 -2
  1344. package/dist/foundation/utilities/geometry/getBoundingBoxFromPlanes.js +88 -52
  1345. package/dist/foundation/utilities/geometry/getBoundingBoxFromPlanes.js.map +1 -0
  1346. package/dist/foundation/utilities/geometry/getCorners.d.ts +1 -1
  1347. package/dist/foundation/utilities/geometry/getCorners.js +23 -6
  1348. package/dist/foundation/utilities/geometry/getCorners.js.map +1 -0
  1349. package/dist/foundation/utilities/geometry/getResizeCursor.d.ts +10 -10
  1350. package/dist/foundation/utilities/geometry/getResizeCursor.js +29 -15
  1351. package/dist/foundation/utilities/geometry/getResizeCursor.js.map +1 -0
  1352. package/dist/foundation/utilities/geometry/isBoxVisibleByPlanes.d.ts +1 -1
  1353. package/dist/foundation/utilities/geometry/isBoxVisibleByPlanes.js +27 -11
  1354. package/dist/foundation/utilities/geometry/isBoxVisibleByPlanes.js.map +1 -0
  1355. package/dist/foundation/utilities/index.d.ts +1 -1
  1356. package/dist/foundation/utilities/index.js +3 -2
  1357. package/dist/foundation/utilities/index.js.map +1 -0
  1358. package/dist/foundation/utilities/misc/DeferredFunction.d.ts +11 -11
  1359. package/dist/foundation/utilities/misc/DeferredFunction.js +31 -21
  1360. package/dist/foundation/utilities/misc/DeferredFunction.js.map +1 -0
  1361. package/dist/foundation/utilities/misc/Random.d.ts +36 -36
  1362. package/dist/foundation/utilities/misc/Random.js +87 -0
  1363. package/dist/foundation/utilities/misc/Random.js.map +1 -0
  1364. package/dist/foundation/utilities/misc/defaultPolygonOffset.d.ts +4 -4
  1365. package/dist/foundation/utilities/misc/defaultPolygonOffset.js +12 -9
  1366. package/dist/foundation/utilities/misc/defaultPolygonOffset.js.map +1 -0
  1367. package/dist/foundation/utilities/misc/incrementSignal.d.ts +6 -6
  1368. package/dist/foundation/utilities/misc/incrementSignal.js +9 -5
  1369. package/dist/foundation/utilities/misc/incrementSignal.js.map +1 -0
  1370. package/dist/foundation/utilities/misc/sleep.js +5 -0
  1371. package/dist/foundation/utilities/misc/sleep.js.map +1 -0
  1372. package/dist/foundation/utilities/misc/typeGuards.d.ts +3 -3
  1373. package/dist/foundation/utilities/misc/typeGuards.js +6 -5
  1374. package/dist/foundation/utilities/misc/typeGuards.js.map +1 -0
  1375. package/dist/foundation/utilities/primitives/Box.d.ts +32 -32
  1376. package/dist/foundation/utilities/primitives/Box.js +149 -101
  1377. package/dist/foundation/utilities/primitives/Box.js.map +1 -0
  1378. package/dist/foundation/utilities/primitives/BoxUtils.d.ts +9 -9
  1379. package/dist/foundation/utilities/primitives/BoxUtils.js +86 -71
  1380. package/dist/foundation/utilities/primitives/BoxUtils.js.map +1 -0
  1381. package/dist/foundation/utilities/primitives/Cylinder.d.ts +37 -37
  1382. package/dist/foundation/utilities/primitives/Cylinder.js +223 -123
  1383. package/dist/foundation/utilities/primitives/Cylinder.js.map +1 -0
  1384. package/dist/foundation/utilities/primitives/CylinderUtils.d.ts +6 -6
  1385. package/dist/foundation/utilities/primitives/CylinderUtils.js +58 -34
  1386. package/dist/foundation/utilities/primitives/CylinderUtils.js.map +1 -0
  1387. package/dist/foundation/utilities/primitives/Primitive.d.ts +14 -14
  1388. package/dist/foundation/utilities/primitives/Primitive.js +20 -12
  1389. package/dist/foundation/utilities/primitives/Primitive.js.map +1 -0
  1390. package/dist/foundation/utilities/primitives/PrimitiveType.d.ts +17 -17
  1391. package/dist/foundation/utilities/primitives/PrimitiveType.js +34 -12
  1392. package/dist/foundation/utilities/primitives/PrimitiveType.js.map +1 -0
  1393. package/dist/foundation/utilities/primitives/PrimitiveUtils.d.ts +6 -6
  1394. package/dist/foundation/utilities/primitives/PrimitiveUtils.js +29 -27
  1395. package/dist/foundation/utilities/primitives/PrimitiveUtils.js.map +1 -0
  1396. package/dist/foundation/utilities/primitives/Vector3ArrayUtils.d.ts +5 -5
  1397. package/dist/foundation/utilities/primitives/Vector3ArrayUtils.js +51 -31
  1398. package/dist/foundation/utilities/primitives/Vector3ArrayUtils.js.map +1 -0
  1399. package/dist/foundation/utilities/primitives/getIconByPrimitiveType.d.ts +2 -2
  1400. package/dist/foundation/utilities/primitives/getIconByPrimitiveType.js +42 -25
  1401. package/dist/foundation/utilities/primitives/getIconByPrimitiveType.js.map +1 -0
  1402. package/dist/foundation/utilities/quality/QualitySettings.d.ts +4 -4
  1403. package/dist/foundation/utilities/quality/QualitySettings.js +3 -0
  1404. package/dist/foundation/utilities/quality/QualitySettings.js.map +1 -0
  1405. package/dist/foundation/utilities/sprites/createSprite.d.ts +20 -20
  1406. package/dist/foundation/utilities/sprites/createSprite.js +144 -32
  1407. package/dist/foundation/utilities/sprites/createSprite.js.map +1 -0
  1408. package/dist/foundation/utilities/translation/TranslateInput.d.ts +3 -3
  1409. package/dist/foundation/utilities/translation/TranslateInput.js +18 -7
  1410. package/dist/foundation/utilities/translation/TranslateInput.js.map +1 -0
  1411. package/dist/foundation/utilities/translation/translateUtils.d.ts +1 -1
  1412. package/dist/foundation/utilities/translation/translateUtils.js +45 -46
  1413. package/dist/foundation/utilities/translation/translateUtils.js.map +1 -0
  1414. package/dist/foundation/utilities/types.d.ts +7 -7
  1415. package/dist/foundation/utilities/types.js +9 -7
  1416. package/dist/foundation/utilities/types.js.map +1 -0
  1417. package/dist/foundation/views/BaseView.d.ts +56 -56
  1418. package/dist/foundation/views/BaseView.js +80 -29
  1419. package/dist/foundation/views/BaseView.js.map +1 -0
  1420. package/dist/foundation/views/GroupThreeView.d.ts +63 -63
  1421. package/dist/foundation/views/GroupThreeView.js +214 -102
  1422. package/dist/foundation/views/GroupThreeView.js.map +1 -0
  1423. package/dist/foundation/views/ThreeView.d.ts +41 -41
  1424. package/dist/foundation/views/ThreeView.js +87 -47
  1425. package/dist/foundation/views/ThreeView.js.map +1 -0
  1426. package/dist/foundation/views/ThreeViewFactory.d.ts +23 -23
  1427. package/dist/foundation/views/ThreeViewFactory.js +58 -30
  1428. package/dist/foundation/views/ThreeViewFactory.js.map +1 -0
  1429. package/dist/index.css +2 -0
  1430. package/dist/ui/components/AxisGizmo.d.ts +6 -6
  1431. package/dist/ui/components/AxisGizmo.js +22 -15
  1432. package/dist/ui/components/AxisGizmo.js.map +1 -0
  1433. package/dist/ui/components/CadModelContainer/CadModelContainer.context.d.ts +13 -13
  1434. package/dist/ui/components/CadModelContainer/CadModelContainer.context.js +18 -19
  1435. package/dist/ui/components/CadModelContainer/CadModelContainer.context.js.map +1 -0
  1436. package/dist/ui/components/CadModelContainer/CadModelContainer.d.ts +11 -11
  1437. package/dist/ui/components/CadModelContainer/CadModelContainer.js +105 -56
  1438. package/dist/ui/components/CadModelContainer/CadModelContainer.js.map +1 -0
  1439. package/dist/ui/components/CadModelContainer/index.d.ts +3 -3
  1440. package/dist/ui/components/CadModelContainer/index.js +3 -2
  1441. package/dist/ui/components/CadModelContainer/index.js.map +1 -0
  1442. package/dist/ui/components/CadModelContainer/types.d.ts +4 -4
  1443. package/dist/ui/components/CadModelContainer/types.js +3 -0
  1444. package/dist/ui/components/CadModelContainer/types.js.map +1 -0
  1445. package/dist/ui/components/CadModelContainer/useApplyCadModelStyling.d.ts +2 -2
  1446. package/dist/ui/components/CadModelContainer/useApplyCadModelStyling.js +99 -62
  1447. package/dist/ui/components/CadModelContainer/useApplyCadModelStyling.js.map +1 -0
  1448. package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.context.d.ts +11 -11
  1449. package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.context.js +16 -17
  1450. package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.context.js.map +1 -0
  1451. package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.d.ts +10 -10
  1452. package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.js +96 -52
  1453. package/dist/ui/components/Image360CollectionContainer/Image360CollectionContainer.js.map +1 -0
  1454. package/dist/ui/components/Image360CollectionContainer/constants.js +4 -4
  1455. package/dist/ui/components/Image360CollectionContainer/constants.js.map +1 -0
  1456. package/dist/ui/components/Image360CollectionContainer/index.d.ts +1 -1
  1457. package/dist/ui/components/Image360CollectionContainer/index.js +3 -2
  1458. package/dist/ui/components/Image360CollectionContainer/index.js.map +1 -0
  1459. package/dist/ui/components/Image360CollectionContainer/useApply360AnnotationStyling.d.ts +7 -7
  1460. package/dist/ui/components/Image360CollectionContainer/useApply360AnnotationStyling.js +76 -37
  1461. package/dist/ui/components/Image360CollectionContainer/useApply360AnnotationStyling.js.map +1 -0
  1462. package/dist/ui/components/Image360Details/Image360Details.context.d.ts +7 -7
  1463. package/dist/ui/components/Image360Details/Image360Details.context.js +12 -13
  1464. package/dist/ui/components/Image360Details/Image360Details.context.js.map +1 -0
  1465. package/dist/ui/components/Image360Details/Image360Details.d.ts +4 -4
  1466. package/dist/ui/components/Image360Details/Image360Details.js +62 -44
  1467. package/dist/ui/components/Image360Details/Image360Details.js.map +1 -0
  1468. package/dist/ui/components/Image360Details/useImage360Entity.context.d.ts +3 -3
  1469. package/dist/ui/components/Image360Details/useImage360Entity.context.js +8 -7
  1470. package/dist/ui/components/Image360Details/useImage360Entity.context.js.map +1 -0
  1471. package/dist/ui/components/Image360Details/useImage360Entity.d.ts +1 -1
  1472. package/dist/ui/components/Image360Details/useImage360Entity.js +31 -21
  1473. package/dist/ui/components/Image360Details/useImage360Entity.js.map +1 -0
  1474. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.context.d.ts +7 -7
  1475. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.context.js +12 -12
  1476. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.context.js.map +1 -0
  1477. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.d.ts +3 -3
  1478. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.js +40 -35
  1479. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.js.map +1 -0
  1480. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.context.d.ts +4 -4
  1481. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.context.js +11 -12
  1482. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.context.js.map +1 -0
  1483. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.d.ts +2 -2
  1484. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.js +70 -41
  1485. package/dist/ui/components/Image360HistoricalDetails/Image360HistoricalDetails.viewmodel.js.map +1 -0
  1486. package/dist/ui/components/Image360HistoricalDetails/Panel/Image360HistoricalPanel.d.ts +6 -6
  1487. package/dist/ui/components/Image360HistoricalDetails/Panel/Image360HistoricalPanel.js +48 -27
  1488. package/dist/ui/components/Image360HistoricalDetails/Panel/Image360HistoricalPanel.js.map +1 -0
  1489. package/dist/ui/components/Image360HistoricalDetails/Toolbar/Image360HistoricalSummary.d.ts +13 -13
  1490. package/dist/ui/components/Image360HistoricalDetails/Toolbar/Image360HistoricalSummary.js +81 -62
  1491. package/dist/ui/components/Image360HistoricalDetails/Toolbar/Image360HistoricalSummary.js.map +1 -0
  1492. package/dist/ui/components/Image360HistoricalDetails/types.d.ts +16 -16
  1493. package/dist/ui/components/Image360HistoricalDetails/types.js +3 -0
  1494. package/dist/ui/components/Image360HistoricalDetails/types.js.map +1 -0
  1495. package/dist/ui/components/Image360HistoricalDetails/utils/Thumbnail.d.ts +5 -5
  1496. package/dist/ui/components/Image360HistoricalDetails/utils/Thumbnail.js +27 -15
  1497. package/dist/ui/components/Image360HistoricalDetails/utils/Thumbnail.js.map +1 -0
  1498. package/dist/ui/components/Image360HistoricalDetails/utils/getStationIdentifier.d.ts +1 -1
  1499. package/dist/ui/components/Image360HistoricalDetails/utils/getStationIdentifier.js +9 -6
  1500. package/dist/ui/components/Image360HistoricalDetails/utils/getStationIdentifier.js.map +1 -0
  1501. package/dist/ui/components/InstanceLabel/InstanceLabel.d.ts +5 -5
  1502. package/dist/ui/components/InstanceLabel/InstanceLabel.js +45 -24
  1503. package/dist/ui/components/InstanceLabel/InstanceLabel.js.map +1 -0
  1504. package/dist/ui/components/InstanceLabel/index.d.ts +1 -1
  1505. package/dist/ui/components/InstanceLabel/index.js +3 -2
  1506. package/dist/ui/components/InstanceLabel/index.js.map +1 -0
  1507. package/dist/ui/components/PointCloudContainer/PointCloudContainer.d.ts +11 -11
  1508. package/dist/ui/components/PointCloudContainer/PointCloudContainer.js +100 -51
  1509. package/dist/ui/components/PointCloudContainer/PointCloudContainer.js.map +1 -0
  1510. package/dist/ui/components/PointCloudContainer/index.d.ts +1 -1
  1511. package/dist/ui/components/PointCloudContainer/index.js +3 -2
  1512. package/dist/ui/components/PointCloudContainer/index.js.map +1 -0
  1513. package/dist/ui/components/PointCloudContainer/typeGuards.d.ts +1 -1
  1514. package/dist/ui/components/PointCloudContainer/typeGuards.js +6 -7
  1515. package/dist/ui/components/PointCloudContainer/typeGuards.js.map +1 -0
  1516. package/dist/ui/components/PointCloudContainer/useApplyPointCloudStyling.d.ts +3 -3
  1517. package/dist/ui/components/PointCloudContainer/useApplyPointCloudStyling.js +48 -27
  1518. package/dist/ui/components/PointCloudContainer/useApplyPointCloudStyling.js.map +1 -0
  1519. package/dist/ui/components/Reveal3DResources/Reveal3DResources.context.d.ts +26 -26
  1520. package/dist/ui/components/Reveal3DResources/Reveal3DResources.context.js +33 -34
  1521. package/dist/ui/components/Reveal3DResources/Reveal3DResources.context.js.map +1 -0
  1522. package/dist/ui/components/Reveal3DResources/Reveal3DResources.d.ts +17 -17
  1523. package/dist/ui/components/Reveal3DResources/Reveal3DResources.js +111 -64
  1524. package/dist/ui/components/Reveal3DResources/Reveal3DResources.js.map +1 -0
  1525. package/dist/ui/components/Reveal3DResources/Reveal3DResources.viewmodel.d.ts +1 -1
  1526. package/dist/ui/components/Reveal3DResources/Reveal3DResources.viewmodel.js +6 -7
  1527. package/dist/ui/components/Reveal3DResources/Reveal3DResources.viewmodel.js.map +1 -0
  1528. package/dist/ui/components/Reveal3DResources/Reveal3DResourcesInfoContext.d.ts +11 -11
  1529. package/dist/ui/components/Reveal3DResources/Reveal3DResourcesInfoContext.js +70 -43
  1530. package/dist/ui/components/Reveal3DResources/Reveal3DResourcesInfoContext.js.map +1 -0
  1531. package/dist/ui/components/Reveal3DResources/hooks/useCalculateCadStyling.d.ts +12 -12
  1532. package/dist/ui/components/Reveal3DResources/hooks/useCalculateCadStyling.js +207 -134
  1533. package/dist/ui/components/Reveal3DResources/hooks/useCalculateCadStyling.js.map +1 -0
  1534. package/dist/ui/components/Reveal3DResources/hooks/useCalculateImage360Styling.d.ts +2 -2
  1535. package/dist/ui/components/Reveal3DResources/hooks/useCalculateImage360Styling.js +18 -11
  1536. package/dist/ui/components/Reveal3DResources/hooks/useCalculateImage360Styling.js.map +1 -0
  1537. package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.context.d.ts +3 -3
  1538. package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.context.js +8 -6
  1539. package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.context.js.map +1 -0
  1540. package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.d.ts +1 -1
  1541. package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.js +145 -92
  1542. package/dist/ui/components/Reveal3DResources/hooks/useCalculatePointCloudStyling.js.map +1 -0
  1543. package/dist/ui/components/Reveal3DResources/hooks/useCallCallbackOnFinishedLoading.d.ts +1 -1
  1544. package/dist/ui/components/Reveal3DResources/hooks/useCallCallbackOnFinishedLoading.js +16 -10
  1545. package/dist/ui/components/Reveal3DResources/hooks/useCallCallbackOnFinishedLoading.js.map +1 -0
  1546. package/dist/ui/components/Reveal3DResources/hooks/useRemoveNonReferencedModels.d.ts +2 -2
  1547. package/dist/ui/components/Reveal3DResources/hooks/useRemoveNonReferencedModels.js +74 -48
  1548. package/dist/ui/components/Reveal3DResources/hooks/useRemoveNonReferencedModels.js.map +1 -0
  1549. package/dist/ui/components/Reveal3DResources/hooks/useSetExpectedLoadCount.d.ts +1 -1
  1550. package/dist/ui/components/Reveal3DResources/hooks/useSetExpectedLoadCount.js +13 -10
  1551. package/dist/ui/components/Reveal3DResources/hooks/useSetExpectedLoadCount.js.map +1 -0
  1552. package/dist/ui/components/Reveal3DResources/hooks/useTypedModels.d.ts +4 -4
  1553. package/dist/ui/components/Reveal3DResources/hooks/useTypedModels.js +40 -33
  1554. package/dist/ui/components/Reveal3DResources/hooks/useTypedModels.js.map +1 -0
  1555. package/dist/ui/components/Reveal3DResources/instanceStyleTranslation.d.ts +3 -3
  1556. package/dist/ui/components/Reveal3DResources/instanceStyleTranslation.js +12 -14
  1557. package/dist/ui/components/Reveal3DResources/instanceStyleTranslation.js.map +1 -0
  1558. package/dist/ui/components/RevealCanvas/ComponentFactoryContext.d.ts +4 -4
  1559. package/dist/ui/components/RevealCanvas/ComponentFactoryContext.js +21 -16
  1560. package/dist/ui/components/RevealCanvas/ComponentFactoryContext.js.map +1 -0
  1561. package/dist/ui/components/RevealCanvas/FdmDataProviderContext.d.ts +7 -7
  1562. package/dist/ui/components/RevealCanvas/FdmDataProviderContext.js +4 -5
  1563. package/dist/ui/components/RevealCanvas/FdmDataProviderContext.js.map +1 -0
  1564. package/dist/ui/components/RevealCanvas/FeatureDataLoadPerformanceMetricsContext.d.ts +2 -2
  1565. package/dist/ui/components/RevealCanvas/FeatureDataLoadPerformanceMetricsContext.js +4 -5
  1566. package/dist/ui/components/RevealCanvas/FeatureDataLoadPerformanceMetricsContext.js.map +1 -0
  1567. package/dist/ui/components/RevealCanvas/RevealCanvas.d.ts +3 -3
  1568. package/dist/ui/components/RevealCanvas/RevealCanvas.js +27 -21
  1569. package/dist/ui/components/RevealCanvas/RevealCanvas.js.map +1 -0
  1570. package/dist/ui/components/RevealCanvas/SDKProvider.d.ts +6 -6
  1571. package/dist/ui/components/RevealCanvas/SDKProvider.js +43 -30
  1572. package/dist/ui/components/RevealCanvas/SDKProvider.js.map +1 -0
  1573. package/dist/ui/components/RevealCanvas/UsageMetricsTrackerContext.d.ts +2 -2
  1574. package/dist/ui/components/RevealCanvas/UsageMetricsTrackerContext.js +5 -6
  1575. package/dist/ui/components/RevealCanvas/UsageMetricsTrackerContext.js.map +1 -0
  1576. package/dist/ui/components/RevealCanvas/ViewerContext.d.ts +7 -7
  1577. package/dist/ui/components/RevealCanvas/ViewerContext.js +66 -25
  1578. package/dist/ui/components/RevealCanvas/ViewerContext.js.map +1 -0
  1579. package/dist/ui/components/RevealCanvas/hooks/useCameraStateControl.d.ts +2 -2
  1580. package/dist/ui/components/RevealCanvas/hooks/useCameraStateControl.js +61 -38
  1581. package/dist/ui/components/RevealCanvas/hooks/useCameraStateControl.js.map +1 -0
  1582. package/dist/ui/components/RevealCanvas/hooks/useDisableBodyTextSelectionOnViewerDragging.js +17 -13
  1583. package/dist/ui/components/RevealCanvas/hooks/useDisableBodyTextSelectionOnViewerDragging.js.map +1 -0
  1584. package/dist/ui/components/RevealCanvas/index.d.ts +3 -3
  1585. package/dist/ui/components/RevealCanvas/index.js +4 -3
  1586. package/dist/ui/components/RevealCanvas/index.js.map +1 -0
  1587. package/dist/ui/components/RevealContainer/RevealContainer.d.ts +2 -2
  1588. package/dist/ui/components/RevealContainer/RevealContainer.js +12 -12
  1589. package/dist/ui/components/RevealContainer/RevealContainer.js.map +1 -0
  1590. package/dist/ui/components/RevealContext/RevealContext.context.d.ts +8 -8
  1591. package/dist/ui/components/RevealContext/RevealContext.context.js +12 -12
  1592. package/dist/ui/components/RevealContext/RevealContext.context.js.map +1 -0
  1593. package/dist/ui/components/RevealContext/RevealContext.d.ts +19 -19
  1594. package/dist/ui/components/RevealContext/RevealContext.js +118 -73
  1595. package/dist/ui/components/RevealContext/RevealContext.js.map +1 -0
  1596. package/dist/ui/components/RevealContext/index.d.ts +2 -2
  1597. package/dist/ui/components/RevealContext/index.js +3 -2
  1598. package/dist/ui/components/RevealContext/index.js.map +1 -0
  1599. package/dist/ui/components/RevealKeepAlive/RevealKeepAlive.d.ts +3 -3
  1600. package/dist/ui/components/RevealKeepAlive/RevealKeepAlive.js +23 -18
  1601. package/dist/ui/components/RevealKeepAlive/RevealKeepAlive.js.map +1 -0
  1602. package/dist/ui/components/RevealKeepAlive/RevealKeepAliveContext.d.ts +6 -6
  1603. package/dist/ui/components/RevealKeepAlive/RevealKeepAliveContext.js +7 -5
  1604. package/dist/ui/components/RevealKeepAlive/RevealKeepAliveContext.js.map +1 -0
  1605. package/dist/ui/components/RevealToolbar/AssetContextualizedButton.d.ts +3 -3
  1606. package/dist/ui/components/RevealToolbar/AssetContextualizedButton.js +63 -37
  1607. package/dist/ui/components/RevealToolbar/AssetContextualizedButton.js.map +1 -0
  1608. package/dist/ui/components/RevealToolbar/FitModelsButton.d.ts +1 -1
  1609. package/dist/ui/components/RevealToolbar/FitModelsButton.js +38 -27
  1610. package/dist/ui/components/RevealToolbar/FitModelsButton.js.map +1 -0
  1611. package/dist/ui/components/RevealToolbar/Help/Graphics/Keyboard.d.ts +3 -3
  1612. package/dist/ui/components/RevealToolbar/Help/Graphics/Keyboard.js +250 -210
  1613. package/dist/ui/components/RevealToolbar/Help/Graphics/Keyboard.js.map +1 -0
  1614. package/dist/ui/components/RevealToolbar/Help/Graphics/Mouse.d.ts +1 -1
  1615. package/dist/ui/components/RevealToolbar/Help/Graphics/Mouse.js +43 -44
  1616. package/dist/ui/components/RevealToolbar/Help/Graphics/Mouse.js.map +1 -0
  1617. package/dist/ui/components/RevealToolbar/Help/Graphics/Touch.d.ts +1 -1
  1618. package/dist/ui/components/RevealToolbar/Help/Graphics/Touch.js +113 -109
  1619. package/dist/ui/components/RevealToolbar/Help/Graphics/Touch.js.map +1 -0
  1620. package/dist/ui/components/RevealToolbar/Help/KeyboardNavigation.d.ts +3 -3
  1621. package/dist/ui/components/RevealToolbar/Help/KeyboardNavigation.js +114 -59
  1622. package/dist/ui/components/RevealToolbar/Help/KeyboardNavigation.js.map +1 -0
  1623. package/dist/ui/components/RevealToolbar/Help/MouseNavigation.d.ts +3 -3
  1624. package/dist/ui/components/RevealToolbar/Help/MouseNavigation.js +71 -33
  1625. package/dist/ui/components/RevealToolbar/Help/MouseNavigation.js.map +1 -0
  1626. package/dist/ui/components/RevealToolbar/Help/Section.d.ts +3 -3
  1627. package/dist/ui/components/RevealToolbar/Help/Section.js +20 -11
  1628. package/dist/ui/components/RevealToolbar/Help/Section.js.map +1 -0
  1629. package/dist/ui/components/RevealToolbar/Help/TouchNavigation.d.ts +3 -3
  1630. package/dist/ui/components/RevealToolbar/Help/TouchNavigation.js +54 -20
  1631. package/dist/ui/components/RevealToolbar/Help/TouchNavigation.js.map +1 -0
  1632. package/dist/ui/components/RevealToolbar/Help/elements.d.ts +12 -12
  1633. package/dist/ui/components/RevealToolbar/Help/elements.js +58 -47
  1634. package/dist/ui/components/RevealToolbar/Help/elements.js.map +1 -0
  1635. package/dist/ui/components/RevealToolbar/Help/types.d.ts +5 -5
  1636. package/dist/ui/components/RevealToolbar/Help/types.js +3 -0
  1637. package/dist/ui/components/RevealToolbar/Help/types.js.map +1 -0
  1638. package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.context.d.ts +9 -9
  1639. package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.context.js +14 -14
  1640. package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.context.js.map +1 -0
  1641. package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.d.ts +9 -9
  1642. package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.js +67 -43
  1643. package/dist/ui/components/RevealToolbar/HelpButton/HelpButton.js.map +1 -0
  1644. package/dist/ui/components/RevealToolbar/ResetCameraButton.d.ts +4 -4
  1645. package/dist/ui/components/RevealToolbar/ResetCameraButton.js +55 -39
  1646. package/dist/ui/components/RevealToolbar/ResetCameraButton.js.map +1 -0
  1647. package/dist/ui/components/RevealToolbar/RevealToolbar.d.ts +14 -14
  1648. package/dist/ui/components/RevealToolbar/RevealToolbar.js +46 -32
  1649. package/dist/ui/components/RevealToolbar/RevealToolbar.js.map +1 -0
  1650. package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.context.d.ts +15 -15
  1651. package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.context.js +20 -21
  1652. package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.context.js.map +1 -0
  1653. package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.d.ts +6 -6
  1654. package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.js +153 -94
  1655. package/dist/ui/components/RevealToolbar/RuleBasedOutputsButton/RuleBasedOutputsButton.js.map +1 -0
  1656. package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.context.d.ts +7 -7
  1657. package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.context.js +12 -12
  1658. package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.context.js.map +1 -0
  1659. package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.d.ts +1 -1
  1660. package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.js +112 -73
  1661. package/dist/ui/components/RevealToolbar/SlicerButton/SlicerButton.js.map +1 -0
  1662. package/dist/ui/components/RevealToolbar/index.d.ts +1 -1
  1663. package/dist/ui/components/RevealToolbar/index.js +3 -2
  1664. package/dist/ui/components/RevealToolbar/index.js.map +1 -0
  1665. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsPanel.d.ts +4 -4
  1666. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsPanel.js +38 -27
  1667. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsPanel.js.map +1 -0
  1668. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.context.d.ts +17 -17
  1669. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.context.js +18 -22
  1670. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.context.js.map +1 -0
  1671. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.d.ts +6 -6
  1672. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.js +132 -79
  1673. package/dist/ui/components/RuleBasedOutputs/RuleBasedOutputsSelector.js.map +1 -0
  1674. package/dist/ui/components/RuleBasedOutputs/components/OutputPanelItem.d.ts +5 -5
  1675. package/dist/ui/components/RuleBasedOutputs/components/OutputPanelItem.js +20 -14
  1676. package/dist/ui/components/RuleBasedOutputs/components/OutputPanelItem.js.map +1 -0
  1677. package/dist/ui/components/RuleBasedOutputs/components/OutputPanelShowMore.d.ts +4 -4
  1678. package/dist/ui/components/RuleBasedOutputs/components/OutputPanelShowMore.js +31 -19
  1679. package/dist/ui/components/RuleBasedOutputs/components/OutputPanelShowMore.js.map +1 -0
  1680. package/dist/ui/components/RuleBasedOutputs/components/RuleBasedSelectionItem.d.ts +9 -9
  1681. package/dist/ui/components/RuleBasedOutputs/components/RuleBasedSelectionItem.js +34 -26
  1682. package/dist/ui/components/RuleBasedOutputs/components/RuleBasedSelectionItem.js.map +1 -0
  1683. package/dist/ui/components/RuleBasedOutputs/constants.d.ts +1 -1
  1684. package/dist/ui/components/RuleBasedOutputs/constants.js +7 -8
  1685. package/dist/ui/components/RuleBasedOutputs/constants.js.map +1 -0
  1686. package/dist/ui/components/RuleBasedOutputs/core/analyzeAssetMappingsAgainstExpression.d.ts +11 -11
  1687. package/dist/ui/components/RuleBasedOutputs/core/analyzeAssetMappingsAgainstExpression.js +41 -37
  1688. package/dist/ui/components/RuleBasedOutputs/core/analyzeAssetMappingsAgainstExpression.js.map +1 -0
  1689. package/dist/ui/components/RuleBasedOutputs/core/analyzeFdmMappingsAgainstExpression.d.ts +5 -5
  1690. package/dist/ui/components/RuleBasedOutputs/core/analyzeFdmMappingsAgainstExpression.js +23 -15
  1691. package/dist/ui/components/RuleBasedOutputs/core/analyzeFdmMappingsAgainstExpression.js.map +1 -0
  1692. package/dist/ui/components/RuleBasedOutputs/core/applyAssetMappingsNodeStyles.d.ts +2 -2
  1693. package/dist/ui/components/RuleBasedOutputs/core/applyAssetMappingsNodeStyles.js +34 -29
  1694. package/dist/ui/components/RuleBasedOutputs/core/applyAssetMappingsNodeStyles.js.map +1 -0
  1695. package/dist/ui/components/RuleBasedOutputs/core/applyFdmMappingsNodeStyles.d.ts +1 -1
  1696. package/dist/ui/components/RuleBasedOutputs/core/applyFdmMappingsNodeStyles.js +38 -32
  1697. package/dist/ui/components/RuleBasedOutputs/core/applyFdmMappingsNodeStyles.js.map +1 -0
  1698. package/dist/ui/components/RuleBasedOutputs/core/checkBooleanExpressionStatement.d.ts +1 -1
  1699. package/dist/ui/components/RuleBasedOutputs/core/checkBooleanExpressionStatement.js +27 -17
  1700. package/dist/ui/components/RuleBasedOutputs/core/checkBooleanExpressionStatement.js.map +1 -0
  1701. package/dist/ui/components/RuleBasedOutputs/core/checkDatetimeExpressionStatement.d.ts +1 -1
  1702. package/dist/ui/components/RuleBasedOutputs/core/checkDatetimeExpressionStatement.js +77 -61
  1703. package/dist/ui/components/RuleBasedOutputs/core/checkDatetimeExpressionStatement.js.map +1 -0
  1704. package/dist/ui/components/RuleBasedOutputs/core/checkNumericExpressionStatement.d.ts +1 -1
  1705. package/dist/ui/components/RuleBasedOutputs/core/checkNumericExpressionStatement.js +73 -52
  1706. package/dist/ui/components/RuleBasedOutputs/core/checkNumericExpressionStatement.js.map +1 -0
  1707. package/dist/ui/components/RuleBasedOutputs/core/checkStringExpressionStatement.d.ts +1 -1
  1708. package/dist/ui/components/RuleBasedOutputs/core/checkStringExpressionStatement.js +46 -22
  1709. package/dist/ui/components/RuleBasedOutputs/core/checkStringExpressionStatement.js.map +1 -0
  1710. package/dist/ui/components/RuleBasedOutputs/core/convertExpressionStringMetadataKeyToLowerCase.d.ts +1 -1
  1711. package/dist/ui/components/RuleBasedOutputs/core/convertExpressionStringMetadataKeyToLowerCase.js +5 -5
  1712. package/dist/ui/components/RuleBasedOutputs/core/convertExpressionStringMetadataKeyToLowerCase.js.map +1 -0
  1713. package/dist/ui/components/RuleBasedOutputs/core/createRuleStyling.d.ts +1 -1
  1714. package/dist/ui/components/RuleBasedOutputs/core/createRuleStyling.js +8 -9
  1715. package/dist/ui/components/RuleBasedOutputs/core/createRuleStyling.js.map +1 -0
  1716. package/dist/ui/components/RuleBasedOutputs/core/forEachExpression.d.ts +1 -1
  1717. package/dist/ui/components/RuleBasedOutputs/core/forEachExpression.js +27 -21
  1718. package/dist/ui/components/RuleBasedOutputs/core/forEachExpression.js.map +1 -0
  1719. package/dist/ui/components/RuleBasedOutputs/core/generateEmptyRuleForSelection.d.ts +1 -1
  1720. package/dist/ui/components/RuleBasedOutputs/core/generateEmptyRuleForSelection.js +15 -11
  1721. package/dist/ui/components/RuleBasedOutputs/core/generateEmptyRuleForSelection.js.map +1 -0
  1722. package/dist/ui/components/RuleBasedOutputs/core/generateRuleBasedOutputs.d.ts +11 -11
  1723. package/dist/ui/components/RuleBasedOutputs/core/generateRuleBasedOutputs.js +38 -29
  1724. package/dist/ui/components/RuleBasedOutputs/core/generateRuleBasedOutputs.js.map +1 -0
  1725. package/dist/ui/components/RuleBasedOutputs/core/generateTimeseriesAndDatapointsFromTheAsset.d.ts +7 -7
  1726. package/dist/ui/components/RuleBasedOutputs/core/generateTimeseriesAndDatapointsFromTheAsset.js +17 -14
  1727. package/dist/ui/components/RuleBasedOutputs/core/generateTimeseriesAndDatapointsFromTheAsset.js.map +1 -0
  1728. package/dist/ui/components/RuleBasedOutputs/core/generateUniqueRuleSetKey.d.ts +4 -4
  1729. package/dist/ui/components/RuleBasedOutputs/core/generateUniqueRuleSetKey.js +23 -17
  1730. package/dist/ui/components/RuleBasedOutputs/core/generateUniqueRuleSetKey.js.map +1 -0
  1731. package/dist/ui/components/RuleBasedOutputs/core/getExpressionTriggerTypes.d.ts +1 -1
  1732. package/dist/ui/components/RuleBasedOutputs/core/getExpressionTriggerTypes.js +15 -9
  1733. package/dist/ui/components/RuleBasedOutputs/core/getExpressionTriggerTypes.js.map +1 -0
  1734. package/dist/ui/components/RuleBasedOutputs/core/getFdmPropertyTrigger.d.ts +2 -2
  1735. package/dist/ui/components/RuleBasedOutputs/core/getFdmPropertyTrigger.js +8 -5
  1736. package/dist/ui/components/RuleBasedOutputs/core/getFdmPropertyTrigger.js.map +1 -0
  1737. package/dist/ui/components/RuleBasedOutputs/core/getRuleBasedById.d.ts +1 -1
  1738. package/dist/ui/components/RuleBasedOutputs/core/getRuleBasedById.js +5 -4
  1739. package/dist/ui/components/RuleBasedOutputs/core/getRuleBasedById.js.map +1 -0
  1740. package/dist/ui/components/RuleBasedOutputs/core/getRuleOutputFromTypeSelected.d.ts +1 -1
  1741. package/dist/ui/components/RuleBasedOutputs/core/getRuleOutputFromTypeSelected.js +12 -11
  1742. package/dist/ui/components/RuleBasedOutputs/core/getRuleOutputFromTypeSelected.js.map +1 -0
  1743. package/dist/ui/components/RuleBasedOutputs/core/getRuleTriggerTypes.d.ts +1 -1
  1744. package/dist/ui/components/RuleBasedOutputs/core/getRuleTriggerTypes.js +6 -6
  1745. package/dist/ui/components/RuleBasedOutputs/core/getRuleTriggerTypes.js.map +1 -0
  1746. package/dist/ui/components/RuleBasedOutputs/core/getTimeseriesExternalIdFromNumericExpression.d.ts +1 -1
  1747. package/dist/ui/components/RuleBasedOutputs/core/getTimeseriesExternalIdFromNumericExpression.js +10 -7
  1748. package/dist/ui/components/RuleBasedOutputs/core/getTimeseriesExternalIdFromNumericExpression.js.map +1 -0
  1749. package/dist/ui/components/RuleBasedOutputs/core/getTriggerNumericData.d.ts +1 -1
  1750. package/dist/ui/components/RuleBasedOutputs/core/getTriggerNumericData.js +12 -10
  1751. package/dist/ui/components/RuleBasedOutputs/core/getTriggerNumericData.js.map +1 -0
  1752. package/dist/ui/components/RuleBasedOutputs/core/getTriggerTimeseriesNumericData.d.ts +1 -1
  1753. package/dist/ui/components/RuleBasedOutputs/core/getTriggerTimeseriesNumericData.js +9 -7
  1754. package/dist/ui/components/RuleBasedOutputs/core/getTriggerTimeseriesNumericData.js.map +1 -0
  1755. package/dist/ui/components/RuleBasedOutputs/core/hasInitializationDependenciesChanged.d.ts +19 -19
  1756. package/dist/ui/components/RuleBasedOutputs/core/hasInitializationDependenciesChanged.js +26 -6
  1757. package/dist/ui/components/RuleBasedOutputs/core/hasInitializationDependenciesChanged.js.map +1 -0
  1758. package/dist/ui/components/RuleBasedOutputs/core/isReadyToInitializeRules.d.ts +15 -15
  1759. package/dist/ui/components/RuleBasedOutputs/core/isReadyToInitializeRules.js +9 -6
  1760. package/dist/ui/components/RuleBasedOutputs/core/isReadyToInitializeRules.js.map +1 -0
  1761. package/dist/ui/components/RuleBasedOutputs/core/ruleBasedInitialization.d.ts +18 -17
  1762. package/dist/ui/components/RuleBasedOutputs/core/ruleBasedInitialization.js +34 -22
  1763. package/dist/ui/components/RuleBasedOutputs/core/ruleBasedInitialization.js.map +1 -0
  1764. package/dist/ui/components/RuleBasedOutputs/core/traverseExpression.d.ts +1 -1
  1765. package/dist/ui/components/RuleBasedOutputs/core/traverseExpression.js +55 -35
  1766. package/dist/ui/components/RuleBasedOutputs/core/traverseExpression.js.map +1 -0
  1767. package/dist/ui/components/RuleBasedOutputs/core/traverseExpressionToGetTimeseries.d.ts +1 -1
  1768. package/dist/ui/components/RuleBasedOutputs/core/traverseExpressionToGetTimeseries.js +31 -22
  1769. package/dist/ui/components/RuleBasedOutputs/core/traverseExpressionToGetTimeseries.js.map +1 -0
  1770. package/dist/ui/components/RuleBasedOutputs/hooks/index.d.ts +5 -5
  1771. package/dist/ui/components/RuleBasedOutputs/hooks/index.js +7 -6
  1772. package/dist/ui/components/RuleBasedOutputs/hooks/index.js.map +1 -0
  1773. package/dist/ui/components/RuleBasedOutputs/hooks/useConvertAssetMetadatasToLowerCase.d.ts +1 -1
  1774. package/dist/ui/components/RuleBasedOutputs/hooks/useConvertAssetMetadatasToLowerCase.js +14 -7
  1775. package/dist/ui/components/RuleBasedOutputs/hooks/useConvertAssetMetadatasToLowerCase.js.map +1 -0
  1776. package/dist/ui/components/RuleBasedOutputs/hooks/useCreateRuleInstance.d.ts +3 -3
  1777. package/dist/ui/components/RuleBasedOutputs/hooks/useCreateRuleInstance.js +49 -30
  1778. package/dist/ui/components/RuleBasedOutputs/hooks/useCreateRuleInstance.js.map +1 -0
  1779. package/dist/ui/components/RuleBasedOutputs/hooks/useDeleteRuleInstance.d.ts +3 -3
  1780. package/dist/ui/components/RuleBasedOutputs/hooks/useDeleteRuleInstance.js +27 -14
  1781. package/dist/ui/components/RuleBasedOutputs/hooks/useDeleteRuleInstance.js.map +1 -0
  1782. package/dist/ui/components/RuleBasedOutputs/hooks/useEditRuleInstance.d.ts +3 -3
  1783. package/dist/ui/components/RuleBasedOutputs/hooks/useEditRuleInstance.js +49 -30
  1784. package/dist/ui/components/RuleBasedOutputs/hooks/useEditRuleInstance.js.map +1 -0
  1785. package/dist/ui/components/RuleBasedOutputs/hooks/useExtractTimeseriesIdsFromRuleSet.d.ts +1 -1
  1786. package/dist/ui/components/RuleBasedOutputs/hooks/useExtractTimeseriesIdsFromRuleSet.js +13 -10
  1787. package/dist/ui/components/RuleBasedOutputs/hooks/useExtractTimeseriesIdsFromRuleSet.js.map +1 -0
  1788. package/dist/ui/components/RuleBasedOutputs/hooks/useExtractUniqueClassicAssetIdsFromMapped.d.ts +2 -2
  1789. package/dist/ui/components/RuleBasedOutputs/hooks/useExtractUniqueClassicAssetIdsFromMapped.js +20 -11
  1790. package/dist/ui/components/RuleBasedOutputs/hooks/useExtractUniqueClassicAssetIdsFromMapped.js.map +1 -0
  1791. package/dist/ui/components/RuleBasedOutputs/hooks/useFetchRuleInstances.d.ts +2 -2
  1792. package/dist/ui/components/RuleBasedOutputs/hooks/useFetchRuleInstances.js +45 -33
  1793. package/dist/ui/components/RuleBasedOutputs/hooks/useFetchRuleInstances.js.map +1 -0
  1794. package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.context.d.ts +5 -5
  1795. package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.context.js +12 -9
  1796. package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.context.js.map +1 -0
  1797. package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.d.ts +4 -4
  1798. package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.js +67 -52
  1799. package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.js.map +1 -0
  1800. package/dist/ui/components/RuleBasedOutputs/hooks/useSearchRuleInstance.d.ts +2 -1
  1801. package/dist/ui/components/RuleBasedOutputs/hooks/useSearchRuleInstance.js +37 -24
  1802. package/dist/ui/components/RuleBasedOutputs/hooks/useSearchRuleInstance.js.map +1 -0
  1803. package/dist/ui/components/RuleBasedOutputs/index.d.ts +4 -4
  1804. package/dist/ui/components/RuleBasedOutputs/index.js +5 -9
  1805. package/dist/ui/components/RuleBasedOutputs/index.js.map +1 -0
  1806. package/dist/ui/components/RuleBasedOutputs/typeGuards.d.ts +1 -1
  1807. package/dist/ui/components/RuleBasedOutputs/typeGuards.js +8 -4
  1808. package/dist/ui/components/RuleBasedOutputs/typeGuards.js.map +1 -0
  1809. package/dist/ui/components/RuleBasedOutputs/types.d.ts +156 -190
  1810. package/dist/ui/components/RuleBasedOutputs/types.js +3 -0
  1811. package/dist/ui/components/RuleBasedOutputs/types.js.map +1 -0
  1812. package/dist/ui/components/SceneContainer/LoadedSceneContext.d.ts +5 -5
  1813. package/dist/ui/components/SceneContainer/LoadedSceneContext.js +37 -21
  1814. package/dist/ui/components/SceneContainer/LoadedSceneContext.js.map +1 -0
  1815. package/dist/ui/components/SceneContainer/SceneContainer.context.d.ts +5 -5
  1816. package/dist/ui/components/SceneContainer/SceneContainer.context.js +10 -10
  1817. package/dist/ui/components/SceneContainer/SceneContainer.context.js.map +1 -0
  1818. package/dist/ui/components/SceneContainer/SceneContainer.d.ts +2 -2
  1819. package/dist/ui/components/SceneContainer/SceneContainer.js +26 -18
  1820. package/dist/ui/components/SceneContainer/SceneContainer.js.map +1 -0
  1821. package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.context.d.ts +11 -11
  1822. package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.context.js +16 -16
  1823. package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.context.js.map +1 -0
  1824. package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.d.ts +2 -2
  1825. package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.js +19 -14
  1826. package/dist/ui/components/SceneContainer/SceneContainer.viewmodel.js.map +1 -0
  1827. package/dist/ui/components/SceneContainer/SceneFdmTypes.d.ts +73 -73
  1828. package/dist/ui/components/SceneContainer/SceneFdmTypes.js +3 -0
  1829. package/dist/ui/components/SceneContainer/SceneFdmTypes.js.map +1 -0
  1830. package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.context.d.ts +7 -7
  1831. package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.context.js +10 -11
  1832. package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.context.js.map +1 -0
  1833. package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.d.ts +1 -1
  1834. package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.js +31 -15
  1835. package/dist/ui/components/SceneContainer/hooks/useQualitySettingsFromScene.js.map +1 -0
  1836. package/dist/ui/components/SceneContainer/index.d.ts +4 -4
  1837. package/dist/ui/components/SceneContainer/index.js +4 -3
  1838. package/dist/ui/components/SceneContainer/index.js.map +1 -0
  1839. package/dist/ui/components/SceneContainer/sceneTypes.d.ts +48 -48
  1840. package/dist/ui/components/SceneContainer/sceneTypes.js +3 -0
  1841. package/dist/ui/components/SceneContainer/sceneTypes.js.map +1 -0
  1842. package/dist/ui/components/SceneContainer/types.d.ts +9 -9
  1843. package/dist/ui/components/SceneContainer/types.js +3 -0
  1844. package/dist/ui/components/SceneContainer/types.js.map +1 -0
  1845. package/dist/ui/components/ViewerAnchor/ViewerAnchor.d.ts +9 -9
  1846. package/dist/ui/components/ViewerAnchor/ViewerAnchor.js +92 -55
  1847. package/dist/ui/components/ViewerAnchor/ViewerAnchor.js.map +1 -0
  1848. package/dist/ui/components/Widget/RevealWidget.context.d.ts +10 -10
  1849. package/dist/ui/components/Widget/RevealWidget.context.js +13 -16
  1850. package/dist/ui/components/Widget/RevealWidget.context.js.map +1 -0
  1851. package/dist/ui/components/Widget/RevealWidget.d.ts +66 -66
  1852. package/dist/ui/components/Widget/RevealWidget.js +100 -44
  1853. package/dist/ui/components/Widget/RevealWidget.js.map +1 -0
  1854. package/dist/ui/components/Widget/RevealWidgetCameraController.d.ts +26 -26
  1855. package/dist/ui/components/Widget/RevealWidgetCameraController.js +41 -29
  1856. package/dist/ui/components/Widget/RevealWidgetCameraController.js.map +1 -0
  1857. package/dist/ui/components/Widget/RevealWidgetController.d.ts +147 -88
  1858. package/dist/ui/components/Widget/RevealWidgetController.js +231 -116
  1859. package/dist/ui/components/Widget/RevealWidgetController.js.map +1 -0
  1860. package/dist/ui/components/Widget/assets/RevealWidgetAssets.d.ts +25 -0
  1861. package/dist/ui/components/Widget/assets/RevealWidgetAssets.js +33 -0
  1862. package/dist/ui/components/Widget/assets/RevealWidgetAssets.js.map +1 -0
  1863. package/dist/ui/components/Widget/htmlOverlays/RevealWidgetHtmlOverlays.d.ts +72 -0
  1864. package/dist/ui/components/Widget/htmlOverlays/RevealWidgetHtmlOverlays.js +146 -0
  1865. package/dist/ui/components/Widget/htmlOverlays/RevealWidgetHtmlOverlays.js.map +1 -0
  1866. package/dist/ui/components/Widget/htmlOverlays/index.d.ts +2 -0
  1867. package/dist/ui/components/Widget/htmlOverlays/index.js +3 -0
  1868. package/dist/ui/components/Widget/htmlOverlays/index.js.map +1 -0
  1869. package/dist/ui/components/Widget/htmlOverlays/types.d.ts +19 -0
  1870. package/dist/ui/components/Widget/htmlOverlays/types.js +8 -0
  1871. package/dist/ui/components/Widget/htmlOverlays/types.js.map +1 -0
  1872. package/dist/ui/components/Widget/index.d.ts +7 -4
  1873. package/dist/ui/components/Widget/index.js +8 -5
  1874. package/dist/ui/components/Widget/index.js.map +1 -0
  1875. package/dist/ui/components/Widget/styling/applyCadDefaultStyling.d.ts +6 -6
  1876. package/dist/ui/components/Widget/styling/applyCadDefaultStyling.js +34 -23
  1877. package/dist/ui/components/Widget/styling/applyCadDefaultStyling.js.map +1 -0
  1878. package/dist/ui/components/Widget/styling/applyCadInstanceStyling.d.ts +6 -6
  1879. package/dist/ui/components/Widget/styling/applyCadInstanceStyling.js +16 -10
  1880. package/dist/ui/components/Widget/styling/applyCadInstanceStyling.js.map +1 -0
  1881. package/dist/ui/components/Widget/styling/applyImage360InstanceStyling.d.ts +2 -2
  1882. package/dist/ui/components/Widget/styling/applyImage360InstanceStyling.js +21 -16
  1883. package/dist/ui/components/Widget/styling/applyImage360InstanceStyling.js.map +1 -0
  1884. package/dist/ui/components/Widget/styling/applyPointCloudDefaultStyling.d.ts +5 -5
  1885. package/dist/ui/components/Widget/styling/applyPointCloudDefaultStyling.js +26 -17
  1886. package/dist/ui/components/Widget/styling/applyPointCloudDefaultStyling.js.map +1 -0
  1887. package/dist/ui/components/Widget/styling/applyPointCloudInstanceStyling.d.ts +2 -2
  1888. package/dist/ui/components/Widget/styling/applyPointCloudInstanceStyling.js +43 -26
  1889. package/dist/ui/components/Widget/styling/applyPointCloudInstanceStyling.js.map +1 -0
  1890. package/dist/ui/components/Widget/styling/constants.d.ts +5 -5
  1891. package/dist/ui/components/Widget/styling/constants.js +15 -9
  1892. package/dist/ui/components/Widget/styling/constants.js.map +1 -0
  1893. package/dist/ui/components/Widget/useRevealWidgetMetricsTracking.d.ts +12 -16
  1894. package/dist/ui/components/Widget/useRevealWidgetMetricsTracking.js +49 -31
  1895. package/dist/ui/components/Widget/useRevealWidgetMetricsTracking.js.map +1 -0
  1896. package/dist/ui/components/commandBased/Factories/ComponentFactory.d.ts +6 -6
  1897. package/dist/ui/components/commandBased/Factories/ComponentFactory.js +26 -20
  1898. package/dist/ui/components/commandBased/Factories/ComponentFactory.js.map +1 -0
  1899. package/dist/ui/components/commandBased/Factories/DefaultIcons.d.ts +2 -2
  1900. package/dist/ui/components/commandBased/Factories/DefaultIcons.js +260 -69
  1901. package/dist/ui/components/commandBased/Factories/DefaultIcons.js.map +1 -0
  1902. package/dist/ui/components/commandBased/Factories/IconFactory.d.ts +9 -9
  1903. package/dist/ui/components/commandBased/Factories/IconFactory.js +26 -17
  1904. package/dist/ui/components/commandBased/Factories/IconFactory.js.map +1 -0
  1905. package/dist/ui/components/commandBased/Factories/IconType.d.ts +1 -1
  1906. package/dist/ui/components/commandBased/Factories/IconType.js +3 -0
  1907. package/dist/ui/components/commandBased/Factories/IconType.js.map +1 -0
  1908. package/dist/ui/components/commandBased/Factories/createComponentFactory.d.ts +1 -1
  1909. package/dist/ui/components/commandBased/Factories/createComponentFactory.js +28 -19
  1910. package/dist/ui/components/commandBased/Factories/createComponentFactory.js.map +1 -0
  1911. package/dist/ui/components/commandBased/RevealButtons.d.ts +44 -44
  1912. package/dist/ui/components/commandBased/RevealButtons.js +150 -85
  1913. package/dist/ui/components/commandBased/RevealButtons.js.map +1 -0
  1914. package/dist/ui/components/commandBased/buttons/BannerComponent.d.ts +4 -4
  1915. package/dist/ui/components/commandBased/buttons/BannerComponent.js +37 -26
  1916. package/dist/ui/components/commandBased/buttons/BannerComponent.js.map +1 -0
  1917. package/dist/ui/components/commandBased/buttons/CommandButton.d.ts +7 -7
  1918. package/dist/ui/components/commandBased/buttons/CommandButton.js +42 -31
  1919. package/dist/ui/components/commandBased/buttons/CommandButton.js.map +1 -0
  1920. package/dist/ui/components/commandBased/buttons/CommandButtonInner.d.ts +5 -5
  1921. package/dist/ui/components/commandBased/buttons/CommandButtonInner.js +37 -30
  1922. package/dist/ui/components/commandBased/buttons/CommandButtonInner.js.map +1 -0
  1923. package/dist/ui/components/commandBased/buttons/CustomInputField.context.d.ts +9 -9
  1924. package/dist/ui/components/commandBased/buttons/CustomInputField.context.js +14 -14
  1925. package/dist/ui/components/commandBased/buttons/CustomInputField.context.js.map +1 -0
  1926. package/dist/ui/components/commandBased/buttons/CustomInputField.d.ts +7 -7
  1927. package/dist/ui/components/commandBased/buttons/CustomInputField.js +141 -80
  1928. package/dist/ui/components/commandBased/buttons/CustomInputField.js.map +1 -0
  1929. package/dist/ui/components/commandBased/buttons/DividerCreator.d.ts +3 -3
  1930. package/dist/ui/components/commandBased/buttons/DividerCreator.js +20 -16
  1931. package/dist/ui/components/commandBased/buttons/DividerCreator.js.map +1 -0
  1932. package/dist/ui/components/commandBased/buttons/DropdownButton.d.ts +9 -9
  1933. package/dist/ui/components/commandBased/buttons/DropdownButton.js +160 -108
  1934. package/dist/ui/components/commandBased/buttons/DropdownButton.js.map +1 -0
  1935. package/dist/ui/components/commandBased/buttons/FilterButton.d.ts +8 -8
  1936. package/dist/ui/components/commandBased/buttons/FilterButton.js +164 -118
  1937. package/dist/ui/components/commandBased/buttons/FilterButton.js.map +1 -0
  1938. package/dist/ui/components/commandBased/buttons/FilterItem.d.ts +4 -4
  1939. package/dist/ui/components/commandBased/buttons/FilterItem.js +37 -34
  1940. package/dist/ui/components/commandBased/buttons/FilterItem.js.map +1 -0
  1941. package/dist/ui/components/commandBased/buttons/HelpButton.d.ts +3 -3
  1942. package/dist/ui/components/commandBased/buttons/HelpButton.js +74 -53
  1943. package/dist/ui/components/commandBased/buttons/HelpButton.js.map +1 -0
  1944. package/dist/ui/components/commandBased/buttons/InputField.d.ts +6 -6
  1945. package/dist/ui/components/commandBased/buttons/InputField.js +42 -28
  1946. package/dist/ui/components/commandBased/buttons/InputField.js.map +1 -0
  1947. package/dist/ui/components/commandBased/buttons/PopupTriggerButton.d.ts +18 -18
  1948. package/dist/ui/components/commandBased/buttons/PopupTriggerButton.js +39 -20
  1949. package/dist/ui/components/commandBased/buttons/PopupTriggerButton.js.map +1 -0
  1950. package/dist/ui/components/commandBased/buttons/SegmentedButtons.d.ts +8 -8
  1951. package/dist/ui/components/commandBased/buttons/SegmentedButtons.js +90 -64
  1952. package/dist/ui/components/commandBased/buttons/SegmentedButtons.js.map +1 -0
  1953. package/dist/ui/components/commandBased/buttons/SettingsButton.d.ts +7 -7
  1954. package/dist/ui/components/commandBased/buttons/SettingsButton.js +305 -179
  1955. package/dist/ui/components/commandBased/buttons/SettingsButton.js.map +1 -0
  1956. package/dist/ui/components/commandBased/buttons/ShowTreeViewButton.d.ts +3 -3
  1957. package/dist/ui/components/commandBased/buttons/ShowTreeViewButton.js +65 -44
  1958. package/dist/ui/components/commandBased/buttons/ShowTreeViewButton.js.map +1 -0
  1959. package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanel.d.ts +1 -1
  1960. package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanel.js +109 -72
  1961. package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanel.js.map +1 -0
  1962. package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanelInput.d.ts +6 -6
  1963. package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanelInput.js +62 -56
  1964. package/dist/ui/components/commandBased/domainObjectPanel/DomainObjectPanelInput.js.map +1 -0
  1965. package/dist/ui/components/commandBased/hooks/useCommand.d.ts +1 -1
  1966. package/dist/ui/components/commandBased/hooks/useCommand.js +10 -8
  1967. package/dist/ui/components/commandBased/hooks/useCommand.js.map +1 -0
  1968. package/dist/ui/components/commandBased/hooks/useCommandProperty.d.ts +1 -1
  1969. package/dist/ui/components/commandBased/hooks/useCommandProperty.js +39 -18
  1970. package/dist/ui/components/commandBased/hooks/useCommandProperty.js.map +1 -0
  1971. package/dist/ui/components/commandBased/hooks/useCommandProps.d.ts +9 -9
  1972. package/dist/ui/components/commandBased/hooks/useCommandProps.js +26 -27
  1973. package/dist/ui/components/commandBased/hooks/useCommandProps.js.map +1 -0
  1974. package/dist/ui/components/commandBased/hooks/useOnUpdateDomainObject.d.ts +1 -1
  1975. package/dist/ui/components/commandBased/hooks/useOnUpdateDomainObject.js +20 -11
  1976. package/dist/ui/components/commandBased/hooks/useOnUpdateDomainObject.js.map +1 -0
  1977. package/dist/ui/components/commandBased/hooks/useSyncLayersState.d.ts +2 -2
  1978. package/dist/ui/components/commandBased/hooks/useSyncLayersState.js +55 -33
  1979. package/dist/ui/components/commandBased/hooks/useSyncLayersState.js.map +1 -0
  1980. package/dist/ui/components/commandBased/index.d.ts +11 -11
  1981. package/dist/ui/components/commandBased/index.js +11 -18
  1982. package/dist/ui/components/commandBased/index.js.map +1 -0
  1983. package/dist/ui/components/commandBased/main/AnchoredDialog.d.ts +1 -1
  1984. package/dist/ui/components/commandBased/main/AnchoredDialog.js +40 -29
  1985. package/dist/ui/components/commandBased/main/AnchoredDialog.js.map +1 -0
  1986. package/dist/ui/components/commandBased/main/CommandButtons.d.ts +7 -7
  1987. package/dist/ui/components/commandBased/main/CommandButtons.js +20 -13
  1988. package/dist/ui/components/commandBased/main/CommandButtons.js.map +1 -0
  1989. package/dist/ui/components/commandBased/main/Comment.d.ts +12 -12
  1990. package/dist/ui/components/commandBased/main/Comment.js +37 -29
  1991. package/dist/ui/components/commandBased/main/Comment.js.map +1 -0
  1992. package/dist/ui/components/commandBased/main/ToolUI.d.ts +1 -1
  1993. package/dist/ui/components/commandBased/main/ToolUI.js +15 -12
  1994. package/dist/ui/components/commandBased/main/ToolUI.js.map +1 -0
  1995. package/dist/ui/components/commandBased/main/Toolbar.d.ts +2 -2
  1996. package/dist/ui/components/commandBased/main/Toolbar.js +108 -53
  1997. package/dist/ui/components/commandBased/main/Toolbar.js.map +1 -0
  1998. package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.context.d.ts +7 -7
  1999. package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.context.js +12 -12
  2000. package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.context.js.map +1 -0
  2001. package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.d.ts +14 -14
  2002. package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.js +210 -130
  2003. package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.js.map +1 -0
  2004. package/dist/ui/components/commandBased/pointsOfInterest/PoiHeader.d.ts +1 -1
  2005. package/dist/ui/components/commandBased/pointsOfInterest/PoiHeader.js +130 -70
  2006. package/dist/ui/components/commandBased/pointsOfInterest/PoiHeader.js.map +1 -0
  2007. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.context.d.ts +9 -9
  2008. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.context.js +14 -14
  2009. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.context.js.map +1 -0
  2010. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.d.ts +1 -1
  2011. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.js +31 -21
  2012. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoPanelContent.js.map +1 -0
  2013. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoSection.d.ts +4 -4
  2014. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoSection.js +302 -197
  2015. package/dist/ui/components/commandBased/pointsOfInterest/PoiInfoSection.js.map +1 -0
  2016. package/dist/ui/components/commandBased/pointsOfInterest/PoiList.d.ts +13 -13
  2017. package/dist/ui/components/commandBased/pointsOfInterest/PoiList.js +99 -63
  2018. package/dist/ui/components/commandBased/pointsOfInterest/PoiList.js.map +1 -0
  2019. package/dist/ui/components/commandBased/pointsOfInterest/PoiSharePanel.d.ts +1 -1
  2020. package/dist/ui/components/commandBased/pointsOfInterest/PoiSharePanel.js +106 -59
  2021. package/dist/ui/components/commandBased/pointsOfInterest/PoiSharePanel.js.map +1 -0
  2022. package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.context.d.ts +9 -9
  2023. package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.context.js +14 -0
  2024. package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.context.js.map +1 -0
  2025. package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.d.ts +2 -2
  2026. package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.js +29 -0
  2027. package/dist/ui/components/commandBased/pointsOfInterest/PointsOfInterestSidePanel.js.map +1 -0
  2028. package/dist/ui/components/commandBased/pointsOfInterest/avatarUtils.js +17 -16
  2029. package/dist/ui/components/commandBased/pointsOfInterest/avatarUtils.js.map +1 -0
  2030. package/dist/ui/components/commandBased/pointsOfInterest/index.d.ts +8 -8
  2031. package/dist/ui/components/commandBased/pointsOfInterest/index.js +10 -9
  2032. package/dist/ui/components/commandBased/pointsOfInterest/index.js.map +1 -0
  2033. package/dist/ui/components/commandBased/pointsOfInterest/useCommentsForPoiQuery.d.ts +3 -3
  2034. package/dist/ui/components/commandBased/pointsOfInterest/useCommentsForPoiQuery.js +19 -13
  2035. package/dist/ui/components/commandBased/pointsOfInterest/useCommentsForPoiQuery.js.map +1 -0
  2036. package/dist/ui/components/commandBased/pointsOfInterest/useEditPoiInfoSection.d.ts +12 -12
  2037. package/dist/ui/components/commandBased/pointsOfInterest/useEditPoiInfoSection.js +69 -41
  2038. package/dist/ui/components/commandBased/pointsOfInterest/useEditPoiInfoSection.js.map +1 -0
  2039. package/dist/ui/components/commandBased/pointsOfInterest/useFilterPointsOfInterest.d.ts +4 -4
  2040. package/dist/ui/components/commandBased/pointsOfInterest/useFilterPointsOfInterest.js +19 -9
  2041. package/dist/ui/components/commandBased/pointsOfInterest/useFilterPointsOfInterest.js.map +1 -0
  2042. package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.context.d.ts +7 -7
  2043. package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.context.js +12 -14
  2044. package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.context.js.map +1 -0
  2045. package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.js +50 -35
  2046. package/dist/ui/components/commandBased/pointsOfInterest/useLoadPoisForScene.js.map +1 -0
  2047. package/dist/ui/components/commandBased/pointsOfInterest/usePendingPoiInfoSection.d.ts +12 -12
  2048. package/dist/ui/components/commandBased/pointsOfInterest/usePendingPoiInfoSection.js +70 -44
  2049. package/dist/ui/components/commandBased/pointsOfInterest/usePendingPoiInfoSection.js.map +1 -0
  2050. package/dist/ui/components/commandBased/pointsOfInterest/usePoiCreateFlowState.d.ts +4 -4
  2051. package/dist/ui/components/commandBased/pointsOfInterest/usePoiCreateFlowState.js +23 -19
  2052. package/dist/ui/components/commandBased/pointsOfInterest/usePoiCreateFlowState.js.map +1 -0
  2053. package/dist/ui/components/commandBased/pointsOfInterest/usePoiDomainObject.d.ts +1 -1
  2054. package/dist/ui/components/commandBased/pointsOfInterest/usePoiDomainObject.js +16 -14
  2055. package/dist/ui/components/commandBased/pointsOfInterest/usePoiDomainObject.js.map +1 -0
  2056. package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterest.d.ts +1 -1
  2057. package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterest.js +15 -12
  2058. package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterest.js.map +1 -0
  2059. package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterestTool.d.ts +1 -1
  2060. package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterestTool.js +15 -14
  2061. package/dist/ui/components/commandBased/pointsOfInterest/usePointsOfInterestTool.js.map +1 -0
  2062. package/dist/ui/components/commandBased/pointsOfInterest/useSelectedPoi.d.ts +1 -1
  2063. package/dist/ui/components/commandBased/pointsOfInterest/useSelectedPoi.js +12 -11
  2064. package/dist/ui/components/commandBased/pointsOfInterest/useSelectedPoi.js.map +1 -0
  2065. package/dist/ui/components/commandBased/pointsOfInterest/useSyncSelectedPoi.d.ts +1 -1
  2066. package/dist/ui/components/commandBased/pointsOfInterest/useSyncSelectedPoi.js +38 -28
  2067. package/dist/ui/components/commandBased/pointsOfInterest/useSyncSelectedPoi.js.map +1 -0
  2068. package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeView.d.ts +11 -11
  2069. package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeView.js +67 -44
  2070. package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeView.js.map +1 -0
  2071. package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeViewCallbacks.d.ts +52 -52
  2072. package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeViewCallbacks.js +147 -39
  2073. package/dist/ui/components/commandBased/treeView/CadTreeView/CadTreeViewCallbacks.js.map +1 -0
  2074. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.context.d.ts +10 -10
  2075. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.context.js +8 -6
  2076. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.context.js.map +1 -0
  2077. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.d.ts +11 -11
  2078. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.function.d.ts +1 -1
  2079. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.function.js +10 -11
  2080. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.function.js.map +1 -0
  2081. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.js +154 -104
  2082. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.js.map +1 -0
  2083. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.d.ts +1 -1
  2084. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.function.d.ts +13 -12
  2085. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.function.js +45 -24
  2086. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.function.js.map +1 -0
  2087. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.js +45 -32
  2088. package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.js.map +1 -0
  2089. package/dist/ui/components/commandBased/treeView/TreeView/components/get-children-as-array.d.ts +2 -2
  2090. package/dist/ui/components/commandBased/treeView/TreeView/components/get-children-as-array.js +10 -5
  2091. package/dist/ui/components/commandBased/treeView/TreeView/components/get-children-as-array.js.map +1 -0
  2092. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-caret.d.ts +3 -3
  2093. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-caret.js +40 -35
  2094. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-caret.js.map +1 -0
  2095. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-checkbox.d.ts +6 -6
  2096. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-checkbox.js +29 -26
  2097. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-checkbox.js.map +1 -0
  2098. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu-item.d.ts +5 -5
  2099. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu-item.js +74 -59
  2100. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu-item.js.map +1 -0
  2101. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu.d.ts +5 -5
  2102. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu.js +39 -28
  2103. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-context-menu.js.map +1 -0
  2104. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-icon.d.ts +6 -6
  2105. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-icon.js +12 -11
  2106. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-icon.js.map +1 -0
  2107. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-info.d.ts +6 -6
  2108. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-info.js +40 -31
  2109. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-info.js.map +1 -0
  2110. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-label.d.ts +5 -5
  2111. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-label.js +57 -32
  2112. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-label.js.map +1 -0
  2113. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-load-more.d.ts +8 -8
  2114. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-load-more.js +24 -17
  2115. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-load-more.js.map +1 -0
  2116. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-loading.d.ts +4 -4
  2117. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-loading.js +28 -16
  2118. package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-loading.js.map +1 -0
  2119. package/dist/ui/components/commandBased/treeView/TreeView/constants.js +11 -4
  2120. package/dist/ui/components/commandBased/treeView/TreeView/constants.js.map +1 -0
  2121. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.context.d.ts +4 -4
  2122. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.context.js +8 -6
  2123. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.context.js.map +1 -0
  2124. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.d.ts +4 -4
  2125. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.js +109 -68
  2126. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.js.map +1 -0
  2127. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/createTreeNodeExtraComponent.d.ts +2 -2
  2128. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/createTreeNodeExtraComponent.js +12 -9
  2129. package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/createTreeNodeExtraComponent.js.map +1 -0
  2130. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.context.d.ts +15 -15
  2131. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.context.js +35 -21
  2132. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.context.js.map +1 -0
  2133. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.d.ts +10 -10
  2134. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.js +119 -94
  2135. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.js.map +1 -0
  2136. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-props.d.ts +21 -21
  2137. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-props.js +7 -0
  2138. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-props.js.map +1 -0
  2139. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-scrolling.d.ts +2 -2
  2140. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-scrolling.js +34 -19
  2141. package/dist/ui/components/commandBased/treeView/TreeView/tree-view-scrolling.js.map +1 -0
  2142. package/dist/ui/components/commandBased/treeView/TreeView/tree-view.context.d.ts +6 -6
  2143. package/dist/ui/components/commandBased/treeView/TreeView/tree-view.context.js +19 -13
  2144. package/dist/ui/components/commandBased/treeView/TreeView/tree-view.context.js.map +1 -0
  2145. package/dist/ui/components/commandBased/treeView/TreeView/tree-view.d.ts +2 -2
  2146. package/dist/ui/components/commandBased/treeView/TreeView/tree-view.js +78 -55
  2147. package/dist/ui/components/commandBased/treeView/TreeView/tree-view.js.map +1 -0
  2148. package/dist/ui/components/commandBased/treeView/TreeView/types.d.ts +6 -6
  2149. package/dist/ui/components/commandBased/treeView/TreeView/types.js +3 -0
  2150. package/dist/ui/components/commandBased/treeView/TreeView/types.js.map +1 -0
  2151. package/dist/ui/components/commandBased/utils/LabelWithShortcut.d.ts +5 -5
  2152. package/dist/ui/components/commandBased/utils/LabelWithShortcut.js +26 -21
  2153. package/dist/ui/components/commandBased/utils/LabelWithShortcut.js.map +1 -0
  2154. package/dist/ui/components/commandBased/utils/constants.js +5 -0
  2155. package/dist/ui/components/commandBased/utils/constants.js.map +1 -0
  2156. package/dist/ui/components/commandBased/utils/types.d.ts +2 -2
  2157. package/dist/ui/components/commandBased/utils/types.js +3 -0
  2158. package/dist/ui/components/commandBased/utils/types.js.map +1 -0
  2159. package/dist/ui/components/commandBased/utils/utilities.d.ts +4 -4
  2160. package/dist/ui/components/commandBased/utils/utilities.js +36 -15
  2161. package/dist/ui/components/commandBased/utils/utilities.js.map +1 -0
  2162. package/dist/ui/components/constants.js +3 -0
  2163. package/dist/ui/components/constants.js.map +1 -0
  2164. package/dist/ui/components/i18n/I18n.d.ts +7 -7
  2165. package/dist/ui/components/i18n/I18n.js +95 -62
  2166. package/dist/ui/components/i18n/I18n.js.map +1 -0
  2167. package/dist/ui/components/i18n/types.d.ts +7 -7
  2168. package/dist/ui/components/i18n/types.js +3 -0
  2169. package/dist/ui/components/i18n/types.js.map +1 -0
  2170. package/dist/ui/components/i18n/utils.js +11 -10
  2171. package/dist/ui/components/i18n/utils.js.map +1 -0
  2172. package/dist/ui/components/index.d.ts +18 -18
  2173. package/dist/ui/components/index.js +20 -55
  2174. package/dist/ui/components/index.js.map +1 -0
  2175. package/dist/ui/higher-order-components/index.d.ts +1 -1
  2176. package/dist/ui/higher-order-components/index.js +3 -2
  2177. package/dist/ui/higher-order-components/index.js.map +1 -0
  2178. package/dist/ui/higher-order-components/withSuppressRevealEvents.d.ts +4 -4
  2179. package/dist/ui/higher-order-components/withSuppressRevealEvents.js +53 -36
  2180. package/dist/ui/higher-order-components/withSuppressRevealEvents.js.map +1 -0
  2181. package/dist/ui/hooks/cad/index.d.ts +7 -7
  2182. package/dist/ui/hooks/cad/index.js +9 -8
  2183. package/dist/ui/hooks/cad/index.js.map +1 -0
  2184. package/dist/ui/hooks/cad/modelWithAssetMappings.d.ts +4 -4
  2185. package/dist/ui/hooks/cad/modelWithAssetMappings.js +3 -0
  2186. package/dist/ui/hooks/cad/modelWithAssetMappings.js.map +1 -0
  2187. package/dist/ui/hooks/cad/useAssetMappedNodesForRevisions.d.ts +3 -3
  2188. package/dist/ui/hooks/cad/useAssetMappedNodesForRevisions.js +25 -25
  2189. package/dist/ui/hooks/cad/useAssetMappedNodesForRevisions.js.map +1 -0
  2190. package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.context.d.ts +9 -9
  2191. package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.context.js +14 -14
  2192. package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.context.js.map +1 -0
  2193. package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.d.ts +3 -3
  2194. package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.js +42 -32
  2195. package/dist/ui/hooks/cad/useAssetMappingForTreeIndex.js.map +1 -0
  2196. package/dist/ui/hooks/cad/useFdm3dNodeDataPromises.d.ts +3 -3
  2197. package/dist/ui/hooks/cad/useFdm3dNodeDataPromises.js +34 -28
  2198. package/dist/ui/hooks/cad/useFdm3dNodeDataPromises.js.map +1 -0
  2199. package/dist/ui/hooks/cad/useFdmAssetMappings.d.ts +4 -4
  2200. package/dist/ui/hooks/cad/useFdmAssetMappings.js +27 -20
  2201. package/dist/ui/hooks/cad/useFdmAssetMappings.js.map +1 -0
  2202. package/dist/ui/hooks/cad/useGenerateAssetMappingCachePerItemFromModelCache.d.ts +2 -2
  2203. package/dist/ui/hooks/cad/useGenerateAssetMappingCachePerItemFromModelCache.js +18 -17
  2204. package/dist/ui/hooks/cad/useGenerateAssetMappingCachePerItemFromModelCache.js.map +1 -0
  2205. package/dist/ui/hooks/cad/useGenerateNode3DCache.d.ts +2 -2
  2206. package/dist/ui/hooks/cad/useGenerateNode3DCache.js +18 -17
  2207. package/dist/ui/hooks/cad/useGenerateNode3DCache.js.map +1 -0
  2208. package/dist/ui/hooks/cad/useMappedEdgesForRevisions.d.ts +4 -4
  2209. package/dist/ui/hooks/cad/useMappedEdgesForRevisions.js +22 -18
  2210. package/dist/ui/hooks/cad/useMappedEdgesForRevisions.js.map +1 -0
  2211. package/dist/ui/hooks/index.d.ts +26 -26
  2212. package/dist/ui/hooks/index.js +25 -33
  2213. package/dist/ui/hooks/index.js.map +1 -0
  2214. package/dist/ui/hooks/initializeGroundPlane.d.ts +13 -16
  2215. package/dist/ui/hooks/initializeGroundPlane.js +21 -9
  2216. package/dist/ui/hooks/initializeGroundPlane.js.map +1 -0
  2217. package/dist/ui/hooks/network/fetchDmImage360Collections.d.ts +2 -2
  2218. package/dist/ui/hooks/network/fetchDmImage360Collections.js +76 -56
  2219. package/dist/ui/hooks/network/fetchDmImage360Collections.js.map +1 -0
  2220. package/dist/ui/hooks/network/fetchLinkFromRelationshipsByTimeseries.d.ts +2 -2
  2221. package/dist/ui/hooks/network/fetchLinkFromRelationshipsByTimeseries.js +35 -19
  2222. package/dist/ui/hooks/network/fetchLinkFromRelationshipsByTimeseries.js.map +1 -0
  2223. package/dist/ui/hooks/network/filterRelationships.d.ts +1 -1
  2224. package/dist/ui/hooks/network/filterRelationships.js +17 -9
  2225. package/dist/ui/hooks/network/filterRelationships.js.map +1 -0
  2226. package/dist/ui/hooks/network/getAllFileInfos.d.ts +1 -1
  2227. package/dist/ui/hooks/network/getAllFileInfos.js +13 -11
  2228. package/dist/ui/hooks/network/getAllFileInfos.js.map +1 -0
  2229. package/dist/ui/hooks/network/getAssetsList.d.ts +12 -12
  2230. package/dist/ui/hooks/network/getAssetsList.js +32 -16
  2231. package/dist/ui/hooks/network/getAssetsList.js.map +1 -0
  2232. package/dist/ui/hooks/network/getCadModelsForAsset.d.ts +3 -3
  2233. package/dist/ui/hooks/network/getCadModelsForAsset.js +14 -10
  2234. package/dist/ui/hooks/network/getCadModelsForAsset.js.map +1 -0
  2235. package/dist/ui/hooks/network/getCadModelsForHybridDmInstance.d.ts +3 -3
  2236. package/dist/ui/hooks/network/getCadModelsForHybridDmInstance.js +23 -18
  2237. package/dist/ui/hooks/network/getCadModelsForHybridDmInstance.js.map +1 -0
  2238. package/dist/ui/hooks/network/getImage360CollectionsForAsset.d.ts +3 -3
  2239. package/dist/ui/hooks/network/getImage360CollectionsForAsset.js +19 -16
  2240. package/dist/ui/hooks/network/getImage360CollectionsForAsset.js.map +1 -0
  2241. package/dist/ui/hooks/network/getImage360CollectionsForDmInstance.d.ts +2 -2
  2242. package/dist/ui/hooks/network/getImage360CollectionsForDmInstance.js +81 -57
  2243. package/dist/ui/hooks/network/getImage360CollectionsForDmInstance.js.map +1 -0
  2244. package/dist/ui/hooks/network/getImage360CollectionsForHybridDmInstance.d.ts +3 -3
  2245. package/dist/ui/hooks/network/getImage360CollectionsForHybridDmInstance.js +21 -19
  2246. package/dist/ui/hooks/network/getImage360CollectionsForHybridDmInstance.js.map +1 -0
  2247. package/dist/ui/hooks/network/getImage360CollectionsFromFileRefs.d.ts +5 -5
  2248. package/dist/ui/hooks/network/getImage360CollectionsFromFileRefs.js +33 -20
  2249. package/dist/ui/hooks/network/getImage360CollectionsFromFileRefs.js.map +1 -0
  2250. package/dist/ui/hooks/network/getLinkedTimeseriesForAsset.d.ts +2 -2
  2251. package/dist/ui/hooks/network/getLinkedTimeseriesForAsset.js +12 -4
  2252. package/dist/ui/hooks/network/getLinkedTimeseriesForAsset.js.map +1 -0
  2253. package/dist/ui/hooks/network/getModelType.d.ts +2 -2
  2254. package/dist/ui/hooks/network/getModelType.js +11 -0
  2255. package/dist/ui/hooks/network/getModelType.js.map +1 -0
  2256. package/dist/ui/hooks/network/getModels.d.ts +2 -2
  2257. package/dist/ui/hooks/network/getModels.js +30 -0
  2258. package/dist/ui/hooks/network/getModels.js.map +1 -0
  2259. package/dist/ui/hooks/network/getPointCloudModelsForAsset.d.ts +3 -3
  2260. package/dist/ui/hooks/network/getPointCloudModelsForAsset.js +59 -30
  2261. package/dist/ui/hooks/network/getPointCloudModelsForAsset.js.map +1 -0
  2262. package/dist/ui/hooks/network/getPointCloudModelsForAssetInstance.d.ts +2 -2
  2263. package/dist/ui/hooks/network/getPointCloudModelsForAssetInstance.js +23 -19
  2264. package/dist/ui/hooks/network/getPointCloudModelsForAssetInstance.js.map +1 -0
  2265. package/dist/ui/hooks/network/getRelationships.d.ts +5 -5
  2266. package/dist/ui/hooks/network/getRelationships.js +22 -16
  2267. package/dist/ui/hooks/network/getRelationships.js.map +1 -0
  2268. package/dist/ui/hooks/network/getResourceRelationship.d.ts +2 -2
  2269. package/dist/ui/hooks/network/getResourceRelationship.js +12 -8
  2270. package/dist/ui/hooks/network/getResourceRelationship.js.map +1 -0
  2271. package/dist/ui/hooks/network/getRevisionExternalIdAndSpace.d.ts +21 -21
  2272. package/dist/ui/hooks/network/getRevisionExternalIdAndSpace.js +77 -46
  2273. package/dist/ui/hooks/network/getRevisionExternalIdAndSpace.js.map +1 -0
  2274. package/dist/ui/hooks/network/getRevisions.d.ts +1 -1
  2275. package/dist/ui/hooks/network/getRevisions.js +8 -0
  2276. package/dist/ui/hooks/network/getRevisions.js.map +1 -0
  2277. package/dist/ui/hooks/network/getSourceRelationships.d.ts +5 -5
  2278. package/dist/ui/hooks/network/getSourceRelationships.js +10 -8
  2279. package/dist/ui/hooks/network/getSourceRelationships.js.map +1 -0
  2280. package/dist/ui/hooks/network/getTargetRelationships.d.ts +5 -5
  2281. package/dist/ui/hooks/network/getTargetRelationships.js +10 -8
  2282. package/dist/ui/hooks/network/getTargetRelationships.js.map +1 -0
  2283. package/dist/ui/hooks/network/getTimeseriesByIds.d.ts +1 -1
  2284. package/dist/ui/hooks/network/getTimeseriesByIds.js +11 -8
  2285. package/dist/ui/hooks/network/getTimeseriesByIds.js.map +1 -0
  2286. package/dist/ui/hooks/network/getTimeseriesLatestDatapoints.d.ts +1 -1
  2287. package/dist/ui/hooks/network/getTimeseriesLatestDatapoints.js +10 -9
  2288. package/dist/ui/hooks/network/getTimeseriesLatestDatapoints.js.map +1 -0
  2289. package/dist/ui/hooks/network/types.d.ts +28 -28
  2290. package/dist/ui/hooks/network/types.js +3 -0
  2291. package/dist/ui/hooks/network/types.js.map +1 -0
  2292. package/dist/ui/hooks/pointClouds/fetchAnnotationsForModel.d.ts +3 -3
  2293. package/dist/ui/hooks/pointClouds/fetchAnnotationsForModel.js +23 -11
  2294. package/dist/ui/hooks/pointClouds/fetchAnnotationsForModel.js.map +1 -0
  2295. package/dist/ui/hooks/pointClouds/getPointCloudInstanceFromIntersection.d.ts +4 -4
  2296. package/dist/ui/hooks/pointClouds/getPointCloudInstanceFromIntersection.js +22 -17
  2297. package/dist/ui/hooks/pointClouds/getPointCloudInstanceFromIntersection.js.map +1 -0
  2298. package/dist/ui/hooks/pointClouds/index.d.ts +2 -2
  2299. package/dist/ui/hooks/pointClouds/index.js +4 -3
  2300. package/dist/ui/hooks/pointClouds/index.js.map +1 -0
  2301. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.context.d.ts +7 -7
  2302. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.context.js +12 -12
  2303. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.context.js.map +1 -0
  2304. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.d.ts +3 -3
  2305. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.js +75 -39
  2306. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.js.map +1 -0
  2307. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.context.d.ts +5 -5
  2308. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.context.js +10 -10
  2309. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.context.js.map +1 -0
  2310. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.d.ts +4 -4
  2311. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.js +27 -19
  2312. package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.js.map +1 -0
  2313. package/dist/ui/hooks/scenes/allScenesQuery.d.ts +18 -18
  2314. package/dist/ui/hooks/scenes/allScenesQuery.js +145 -97
  2315. package/dist/ui/hooks/scenes/allScenesQuery.js.map +1 -0
  2316. package/dist/ui/hooks/scenes/hasSceneDataModel.d.ts +1 -1
  2317. package/dist/ui/hooks/scenes/hasSceneDataModel.js +44 -43
  2318. package/dist/ui/hooks/scenes/hasSceneDataModel.js.map +1 -0
  2319. package/dist/ui/hooks/scenes/sceneQuery.d.ts +14 -14
  2320. package/dist/ui/hooks/scenes/sceneQuery.js +134 -85
  2321. package/dist/ui/hooks/scenes/sceneQuery.js.map +1 -0
  2322. package/dist/ui/hooks/scenes/sceneResponseTypeGuards.d.ts +8 -8
  2323. package/dist/ui/hooks/scenes/sceneResponseTypeGuards.js +216 -77
  2324. package/dist/ui/hooks/scenes/sceneResponseTypeGuards.js.map +1 -0
  2325. package/dist/ui/hooks/scenes/types.d.ts +142 -161
  2326. package/dist/ui/hooks/scenes/types.js +102 -72
  2327. package/dist/ui/hooks/scenes/types.js.map +1 -0
  2328. package/dist/ui/hooks/scenes/use3dScene.context.d.ts +9 -9
  2329. package/dist/ui/hooks/scenes/use3dScene.context.js +16 -12
  2330. package/dist/ui/hooks/scenes/use3dScene.context.js.map +1 -0
  2331. package/dist/ui/hooks/scenes/use3dScene.d.ts +5 -5
  2332. package/dist/ui/hooks/scenes/use3dScene.js +45 -27
  2333. package/dist/ui/hooks/scenes/use3dScene.js.map +1 -0
  2334. package/dist/ui/hooks/scenes/use3dScenes.context.d.ts +11 -11
  2335. package/dist/ui/hooks/scenes/use3dScenes.context.js +17 -17
  2336. package/dist/ui/hooks/scenes/use3dScenes.context.js.map +1 -0
  2337. package/dist/ui/hooks/scenes/use3dScenes.d.ts +3 -3
  2338. package/dist/ui/hooks/scenes/use3dScenes.js +225 -154
  2339. package/dist/ui/hooks/scenes/use3dScenes.js.map +1 -0
  2340. package/dist/ui/hooks/scenes/useSceneConfig.context.d.ts +3 -3
  2341. package/dist/ui/hooks/scenes/useSceneConfig.context.js +8 -6
  2342. package/dist/ui/hooks/scenes/useSceneConfig.context.js.map +1 -0
  2343. package/dist/ui/hooks/scenes/useSceneConfig.d.ts +5 -5
  2344. package/dist/ui/hooks/scenes/useSceneConfig.js +98 -86
  2345. package/dist/ui/hooks/scenes/useSceneConfig.js.map +1 -0
  2346. package/dist/ui/hooks/types.d.ts +47 -47
  2347. package/dist/ui/hooks/types.js +3 -0
  2348. package/dist/ui/hooks/types.js.map +1 -0
  2349. package/dist/ui/hooks/use3dModels.d.ts +7 -7
  2350. package/dist/ui/hooks/use3dModels.js +20 -11
  2351. package/dist/ui/hooks/use3dModels.js.map +1 -0
  2352. package/dist/ui/hooks/useActiveReveal3dResources.d.ts +8 -8
  2353. package/dist/ui/hooks/useActiveReveal3dResources.js +67 -42
  2354. package/dist/ui/hooks/useActiveReveal3dResources.js.map +1 -0
  2355. package/dist/ui/hooks/useCameraNavigation.d.ts +16 -16
  2356. package/dist/ui/hooks/useCameraNavigation.js +103 -67
  2357. package/dist/ui/hooks/useCameraNavigation.js.map +1 -0
  2358. package/dist/ui/hooks/useClickedNode.context.d.ts +15 -15
  2359. package/dist/ui/hooks/useClickedNode.context.js +20 -22
  2360. package/dist/ui/hooks/useClickedNode.context.js.map +1 -0
  2361. package/dist/ui/hooks/useClickedNode.d.ts +5 -5
  2362. package/dist/ui/hooks/useClickedNode.js +171 -112
  2363. package/dist/ui/hooks/useClickedNode.js.map +1 -0
  2364. package/dist/ui/hooks/useCreateAssetMappingsMapPerModel.d.ts +3 -3
  2365. package/dist/ui/hooks/useCreateAssetMappingsMapPerModel.js +21 -14
  2366. package/dist/ui/hooks/useCreateAssetMappingsMapPerModel.js.map +1 -0
  2367. package/dist/ui/hooks/useGhostMode.js +10 -10
  2368. package/dist/ui/hooks/useGhostMode.js.map +1 -0
  2369. package/dist/ui/hooks/useGroundPlaneFromScene.context.d.ts +12 -12
  2370. package/dist/ui/hooks/useGroundPlaneFromScene.context.js +21 -21
  2371. package/dist/ui/hooks/useGroundPlaneFromScene.context.js.map +1 -0
  2372. package/dist/ui/hooks/useGroundPlaneFromScene.js +82 -58
  2373. package/dist/ui/hooks/useGroundPlaneFromScene.js.map +1 -0
  2374. package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.context.d.ts +3 -3
  2375. package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.context.js +8 -6
  2376. package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.context.js.map +1 -0
  2377. package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.d.ts +4 -4
  2378. package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.js +44 -29
  2379. package/dist/ui/hooks/useImage360AnnotationMappingsForInstanceReferences.js.map +1 -0
  2380. package/dist/ui/hooks/useImage360Collections.d.ts +4 -4
  2381. package/dist/ui/hooks/useImage360Collections.js +15 -10
  2382. package/dist/ui/hooks/useImage360Collections.js.map +1 -0
  2383. package/dist/ui/hooks/useIsCoreDmOnly.js +6 -6
  2384. package/dist/ui/hooks/useIsCoreDmOnly.js.map +1 -0
  2385. package/dist/ui/hooks/useIsDraggingOnViewer.js +30 -18
  2386. package/dist/ui/hooks/useIsDraggingOnViewer.js.map +1 -0
  2387. package/dist/ui/hooks/useIsRevealInitialized.js +7 -5
  2388. package/dist/ui/hooks/useIsRevealInitialized.js.map +1 -0
  2389. package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.context.d.ts +5 -5
  2390. package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.context.js +10 -10
  2391. package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.context.js.map +1 -0
  2392. package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.d.ts +2 -2
  2393. package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.js +32 -16
  2394. package/dist/ui/hooks/useModelIdRevisionIdFromModelOptions.js.map +1 -0
  2395. package/dist/ui/hooks/useReveal3dResourcesFromScene.d.ts +5 -5
  2396. package/dist/ui/hooks/useReveal3dResourcesFromScene.js +32 -23
  2397. package/dist/ui/hooks/useReveal3dResourcesFromScene.js.map +1 -0
  2398. package/dist/ui/hooks/useRevealDomainObjects.d.ts +4 -4
  2399. package/dist/ui/hooks/useRevealDomainObjects.js +16 -11
  2400. package/dist/ui/hooks/useRevealDomainObjects.js.map +1 -0
  2401. package/dist/ui/hooks/useSceneDefaultCamera.context.d.ts +7 -7
  2402. package/dist/ui/hooks/useSceneDefaultCamera.context.js +12 -12
  2403. package/dist/ui/hooks/useSceneDefaultCamera.context.js.map +1 -0
  2404. package/dist/ui/hooks/useSceneDefaultCamera.d.ts +1 -1
  2405. package/dist/ui/hooks/useSceneDefaultCamera.js +133 -79
  2406. package/dist/ui/hooks/useSceneDefaultCamera.js.map +1 -0
  2407. package/dist/ui/hooks/useSkyboxFromScene.context.d.ts +10 -10
  2408. package/dist/ui/hooks/useSkyboxFromScene.context.js +17 -17
  2409. package/dist/ui/hooks/useSkyboxFromScene.context.js.map +1 -0
  2410. package/dist/ui/hooks/useSkyboxFromScene.js +53 -34
  2411. package/dist/ui/hooks/useSkyboxFromScene.js.map +1 -0
  2412. package/dist/ui/hooks/useVisibleRevealDomainObjects.d.ts +4 -4
  2413. package/dist/ui/hooks/useVisibleRevealDomainObjects.js +23 -16
  2414. package/dist/ui/hooks/useVisibleRevealDomainObjects.js.map +1 -0
  2415. package/dist/ui/query/FilterOnClassicAssetsInScene.context.d.ts +9 -9
  2416. package/dist/ui/query/FilterOnClassicAssetsInScene.context.js +12 -14
  2417. package/dist/ui/query/FilterOnClassicAssetsInScene.context.js.map +1 -0
  2418. package/dist/ui/query/core-dm/typeGuards.d.ts +1 -1
  2419. package/dist/ui/query/core-dm/typeGuards.js +5 -4
  2420. package/dist/ui/query/core-dm/typeGuards.js.map +1 -0
  2421. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.context.d.ts +9 -9
  2422. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.context.js +14 -14
  2423. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.context.js.map +1 -0
  2424. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.d.ts +5 -5
  2425. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.js +35 -22
  2426. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForAssetInstances.js.map +1 -0
  2427. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.context.d.ts +5 -5
  2428. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.context.js +10 -10
  2429. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.context.js.map +1 -0
  2430. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.d.ts +5 -5
  2431. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.js +51 -32
  2432. package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.js.map +1 -0
  2433. package/dist/ui/query/core-dm/usePointCloudDMVolumes.context.d.ts +4 -6
  2434. package/dist/ui/query/core-dm/usePointCloudDMVolumes.context.js +8 -11
  2435. package/dist/ui/query/core-dm/usePointCloudDMVolumes.context.js.map +1 -0
  2436. package/dist/ui/query/core-dm/usePointCloudDMVolumes.d.ts +4 -7
  2437. package/dist/ui/query/core-dm/usePointCloudDMVolumes.js +55 -58
  2438. package/dist/ui/query/core-dm/usePointCloudDMVolumes.js.map +1 -0
  2439. package/dist/ui/query/findScenesContainingResources.d.ts +7 -7
  2440. package/dist/ui/query/findScenesContainingResources.js +86 -48
  2441. package/dist/ui/query/findScenesContainingResources.js.map +1 -0
  2442. package/dist/ui/query/index.d.ts +26 -25
  2443. package/dist/ui/query/index.js +24 -23
  2444. package/dist/ui/query/index.js.map +1 -0
  2445. package/dist/ui/query/use3DModelName.d.ts +2 -2
  2446. package/dist/ui/query/use3DModelName.js +49 -25
  2447. package/dist/ui/query/use3DModelName.js.map +1 -0
  2448. package/dist/ui/query/use3dRelatedDirectConnections.d.ts +3 -3
  2449. package/dist/ui/query/use3dRelatedDirectConnections.js +95 -61
  2450. package/dist/ui/query/use3dRelatedDirectConnections.js.map +1 -0
  2451. package/dist/ui/query/use3dRelatedEdgeConnections.d.ts +3 -3
  2452. package/dist/ui/query/use3dRelatedEdgeConnections.js +41 -35
  2453. package/dist/ui/query/use3dRelatedEdgeConnections.js.map +1 -0
  2454. package/dist/ui/query/useAll3dDirectConnectionsWithProperties.context.d.ts +3 -3
  2455. package/dist/ui/query/useAll3dDirectConnectionsWithProperties.context.js +8 -6
  2456. package/dist/ui/query/useAll3dDirectConnectionsWithProperties.context.js.map +1 -0
  2457. package/dist/ui/query/useAll3dDirectConnectionsWithProperties.d.ts +3 -3
  2458. package/dist/ui/query/useAll3dDirectConnectionsWithProperties.js +129 -64
  2459. package/dist/ui/query/useAll3dDirectConnectionsWithProperties.js.map +1 -0
  2460. package/dist/ui/query/useAssetsAndTimeseriesLinkageDataQuery.d.ts +6 -6
  2461. package/dist/ui/query/useAssetsAndTimeseriesLinkageDataQuery.js +119 -58
  2462. package/dist/ui/query/useAssetsAndTimeseriesLinkageDataQuery.js.map +1 -0
  2463. package/dist/ui/query/useAssetsAndTimeseriesLinkages.context.d.ts +8 -8
  2464. package/dist/ui/query/useAssetsAndTimeseriesLinkages.context.js +12 -12
  2465. package/dist/ui/query/useAssetsAndTimeseriesLinkages.context.js.map +1 -0
  2466. package/dist/ui/query/useAssetsAndTimeseriesLinkages.d.ts +3 -3
  2467. package/dist/ui/query/useAssetsAndTimeseriesLinkages.js +71 -32
  2468. package/dist/ui/query/useAssetsAndTimeseriesLinkages.js.map +1 -0
  2469. package/dist/ui/query/useAssetsByIdsQuery.d.ts +2 -2
  2470. package/dist/ui/query/useAssetsByIdsQuery.js +12 -13
  2471. package/dist/ui/query/useAssetsByIdsQuery.js.map +1 -0
  2472. package/dist/ui/query/useCadNode3DInfo.d.ts +5 -5
  2473. package/dist/ui/query/useCadNode3DInfo.js +29 -22
  2474. package/dist/ui/query/useCadNode3DInfo.js.map +1 -0
  2475. package/dist/ui/query/useFetchClassicAssetsByIds.d.ts +6 -6
  2476. package/dist/ui/query/useFetchClassicAssetsByIds.js +50 -34
  2477. package/dist/ui/query/useFetchClassicAssetsByIds.js.map +1 -0
  2478. package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.context.d.ts +5 -5
  2479. package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.context.js +10 -10
  2480. package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.context.js.map +1 -0
  2481. package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.d.ts +8 -8
  2482. package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.js +40 -30
  2483. package/dist/ui/query/useFetchTimeseriesFromRelationshipByAsset.js.map +1 -0
  2484. package/dist/ui/query/useFilterOnClassicAssetsInScene.d.ts +1 -1
  2485. package/dist/ui/query/useFilterOnClassicAssetsInScene.js +63 -40
  2486. package/dist/ui/query/useFilterOnClassicAssetsInScene.js.map +1 -0
  2487. package/dist/ui/query/useHybridMappingsForAssetInstances.context.d.ts +5 -5
  2488. package/dist/ui/query/useHybridMappingsForAssetInstances.context.js +12 -9
  2489. package/dist/ui/query/useHybridMappingsForAssetInstances.context.js.map +1 -0
  2490. package/dist/ui/query/useHybridMappingsForAssetInstances.d.ts +4 -4
  2491. package/dist/ui/query/useHybridMappingsForAssetInstances.js +39 -30
  2492. package/dist/ui/query/useHybridMappingsForAssetInstances.js.map +1 -0
  2493. package/dist/ui/query/useInstanceNames.d.ts +6 -6
  2494. package/dist/ui/query/useInstanceNames.js +30 -16
  2495. package/dist/ui/query/useInstanceNames.js.map +1 -0
  2496. package/dist/ui/query/useInstancesByIdsQuery.context.d.ts +4 -4
  2497. package/dist/ui/query/useInstancesByIdsQuery.context.js +8 -6
  2498. package/dist/ui/query/useInstancesByIdsQuery.context.js.map +1 -0
  2499. package/dist/ui/query/useInstancesByIdsQuery.d.ts +8 -8
  2500. package/dist/ui/query/useInstancesByIdsQuery.js +33 -22
  2501. package/dist/ui/query/useInstancesByIdsQuery.js.map +1 -0
  2502. package/dist/ui/query/useModelsForInstanceQuery.context.d.ts +24 -24
  2503. package/dist/ui/query/useModelsForInstanceQuery.context.js +29 -29
  2504. package/dist/ui/query/useModelsForInstanceQuery.context.js.map +1 -0
  2505. package/dist/ui/query/useModelsForInstanceQuery.d.ts +6 -6
  2506. package/dist/ui/query/useModelsForInstanceQuery.js +122 -84
  2507. package/dist/ui/query/useModelsForInstanceQuery.js.map +1 -0
  2508. package/dist/ui/query/useNamedDmInstancesByIds.d.ts +7 -7
  2509. package/dist/ui/query/useNamedDmInstancesByIds.js +21 -0
  2510. package/dist/ui/query/useNamedDmInstancesByIds.js.map +1 -0
  2511. package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.context.d.ts +5 -5
  2512. package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.context.js +12 -9
  2513. package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.context.js.map +1 -0
  2514. package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.d.ts +3 -3
  2515. package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.js +40 -24
  2516. package/dist/ui/query/usePointCloudModelRevisionIdsFromReveal.js.map +1 -0
  2517. package/dist/ui/query/useSearchAssetsMapped360Annotations.d.ts +7 -7
  2518. package/dist/ui/query/useSearchAssetsMapped360Annotations.js +50 -40
  2519. package/dist/ui/query/useSearchAssetsMapped360Annotations.js.map +1 -0
  2520. package/dist/ui/query/useSearchAssetsMappedPointCloudAnnotations.d.ts +4 -4
  2521. package/dist/ui/query/useSearchAssetsMappedPointCloudAnnotations.js +57 -47
  2522. package/dist/ui/query/useSearchAssetsMappedPointCloudAnnotations.js.map +1 -0
  2523. package/dist/ui/query/useSearchMappedEquipmentAssetMappings.context.d.ts +5 -5
  2524. package/dist/ui/query/useSearchMappedEquipmentAssetMappings.context.js +10 -10
  2525. package/dist/ui/query/useSearchMappedEquipmentAssetMappings.context.js.map +1 -0
  2526. package/dist/ui/query/useSearchMappedEquipmentAssetMappings.d.ts +19 -13
  2527. package/dist/ui/query/useSearchMappedEquipmentAssetMappings.js +127 -93
  2528. package/dist/ui/query/useSearchMappedEquipmentAssetMappings.js.map +1 -0
  2529. package/dist/ui/query/useSearchMappedEquipmentFDM.d.ts +7 -7
  2530. package/dist/ui/query/useSearchMappedEquipmentFDM.js +50 -39
  2531. package/dist/ui/query/useSearchMappedEquipmentFDM.js.map +1 -0
  2532. package/dist/ui/query/useTimeseriesByIdsQuery.d.ts +2 -2
  2533. package/dist/ui/query/useTimeseriesByIdsQuery.js +13 -14
  2534. package/dist/ui/query/useTimeseriesByIdsQuery.js.map +1 -0
  2535. package/dist/ui/query/useTimeseriesLatestDatapointQuery.d.ts +1 -1
  2536. package/dist/ui/query/useTimeseriesLatestDatapointQuery.js +22 -14
  2537. package/dist/ui/query/useTimeseriesLatestDatapointQuery.js.map +1 -0
  2538. package/dist/utilities/PickReturn.d.ts +4 -1
  2539. package/dist/utilities/PickReturn.js +3 -0
  2540. package/dist/utilities/PickReturn.js.map +1 -0
  2541. package/dist/utilities/TextWithClickableLink.d.ts +3 -3
  2542. package/dist/utilities/TextWithClickableLink.js +35 -24
  2543. package/dist/utilities/TextWithClickableLink.js.map +1 -0
  2544. package/dist/utilities/assertNever.js +4 -5
  2545. package/dist/utilities/assertNever.js.map +1 -0
  2546. package/dist/utilities/cache/ReadonlyEntityCache.d.ts +21 -3
  2547. package/dist/utilities/cache/ReadonlyEntityCache.js +36 -25
  2548. package/dist/utilities/cache/ReadonlyEntityCache.js.map +1 -0
  2549. package/dist/utilities/constants.d.ts +1 -1
  2550. package/dist/utilities/constants.js +8 -6
  2551. package/dist/utilities/constants.js.map +1 -0
  2552. package/dist/utilities/convertAssetMetadataToLowerCase.d.ts +1 -1
  2553. package/dist/utilities/convertAssetMetadataToLowerCase.js +10 -8
  2554. package/dist/utilities/convertAssetMetadataToLowerCase.js.map +1 -0
  2555. package/dist/utilities/createMixpanelUsageMetricsTracker.d.ts +12 -12
  2556. package/dist/utilities/createMixpanelUsageMetricsTracker.js +39 -22
  2557. package/dist/utilities/createMixpanelUsageMetricsTracker.js.map +1 -0
  2558. package/dist/utilities/createSimpleHash.js +17 -11
  2559. package/dist/utilities/createSimpleHash.js.map +1 -0
  2560. package/dist/utilities/cursoring/autoCursoringProvider.d.ts +19 -13
  2561. package/dist/utilities/cursoring/autoCursoringProvider.js +25 -20
  2562. package/dist/utilities/cursoring/autoCursoringProvider.js.map +1 -0
  2563. package/dist/utilities/cursoring/dataAccumulator.d.ts +15 -12
  2564. package/dist/utilities/cursoring/dataAccumulator.js +42 -29
  2565. package/dist/utilities/cursoring/dataAccumulator.js.map +1 -0
  2566. package/dist/utilities/cursoring/dataPaginator.d.ts +6 -6
  2567. package/dist/utilities/cursoring/dataPaginator.js +32 -23
  2568. package/dist/utilities/cursoring/dataPaginator.js.map +1 -0
  2569. package/dist/utilities/cursoring/index.d.ts +2 -2
  2570. package/dist/utilities/cursoring/index.js +4 -0
  2571. package/dist/utilities/cursoring/index.js.map +1 -0
  2572. package/dist/utilities/date-time-utils/constants.d.ts +1 -1
  2573. package/dist/utilities/date-time-utils/constants.js +59 -54
  2574. package/dist/utilities/date-time-utils/constants.js.map +1 -0
  2575. package/dist/utilities/date-time-utils/format-date-time.d.ts +42 -30
  2576. package/dist/utilities/date-time-utils/format-date-time.js +90 -24
  2577. package/dist/utilities/date-time-utils/format-date-time.js.map +1 -0
  2578. package/dist/utilities/date-time-utils/index.d.ts +3 -3
  2579. package/dist/utilities/date-time-utils/index.js +4 -3
  2580. package/dist/utilities/date-time-utils/index.js.map +1 -0
  2581. package/dist/utilities/date-time-utils/types.d.ts +6 -6
  2582. package/dist/utilities/date-time-utils/types.js +3 -0
  2583. package/dist/utilities/date-time-utils/types.js.map +1 -0
  2584. package/dist/utilities/dms-cursoring/cursoring-order.d.ts +8 -8
  2585. package/dist/utilities/dms-cursoring/cursoring-order.js +20 -15
  2586. package/dist/utilities/dms-cursoring/cursoring-order.js.map +1 -0
  2587. package/dist/utilities/dms-cursoring/dms-query-paginator.d.ts +34 -28
  2588. package/dist/utilities/dms-cursoring/dms-query-paginator.js +100 -63
  2589. package/dist/utilities/dms-cursoring/dms-query-paginator.js.map +1 -0
  2590. package/dist/utilities/dms-cursoring/dmsAccumulator.d.ts +10 -7
  2591. package/dist/utilities/dms-cursoring/dmsAccumulator.js +26 -14
  2592. package/dist/utilities/dms-cursoring/dmsAccumulator.js.map +1 -0
  2593. package/dist/utilities/dms-cursoring/get-cursor-paths.d.ts +1 -1
  2594. package/dist/utilities/dms-cursoring/get-cursor-paths.js +33 -22
  2595. package/dist/utilities/dms-cursoring/get-cursor-paths.js.map +1 -0
  2596. package/dist/utilities/dms-cursoring/next-dms-query-cursor.d.ts +10 -10
  2597. package/dist/utilities/dms-cursoring/next-dms-query-cursor.js +96 -45
  2598. package/dist/utilities/dms-cursoring/next-dms-query-cursor.js.map +1 -0
  2599. package/dist/utilities/executeParallel.d.ts +1 -1
  2600. package/dist/utilities/executeParallel.js +20 -14
  2601. package/dist/utilities/executeParallel.js.map +1 -0
  2602. package/dist/utilities/externalIndex.d.ts +8 -8
  2603. package/dist/utilities/externalIndex.js +10 -20
  2604. package/dist/utilities/externalIndex.js.map +1 -0
  2605. package/dist/utilities/fdmViewsExist.d.ts +1 -1
  2606. package/dist/utilities/fdmViewsExist.js +8 -5
  2607. package/dist/utilities/fdmViewsExist.js.map +1 -0
  2608. package/dist/utilities/getInstancesFromClick.d.ts +6 -6
  2609. package/dist/utilities/getInstancesFromClick.js +79 -36
  2610. package/dist/utilities/getInstancesFromClick.js.map +1 -0
  2611. package/dist/utilities/getModelKeys.d.ts +3 -3
  2612. package/dist/utilities/getModelKeys.js +21 -7
  2613. package/dist/utilities/getModelKeys.js.map +1 -0
  2614. package/dist/utilities/getUnifiedThreeDUrlForResource.d.ts +12 -12
  2615. package/dist/utilities/getUnifiedThreeDUrlForResource.js +36 -25
  2616. package/dist/utilities/getUnifiedThreeDUrlForResource.js.map +1 -0
  2617. package/dist/utilities/getUrlRegex.js +5 -5
  2618. package/dist/utilities/getUrlRegex.js.map +1 -0
  2619. package/dist/utilities/getViewerResourceCount.d.ts +1 -1
  2620. package/dist/utilities/getViewerResourceCount.js +4 -5
  2621. package/dist/utilities/getViewerResourceCount.js.map +1 -0
  2622. package/dist/utilities/image360Annotations/equality.d.ts +2 -2
  2623. package/dist/utilities/image360Annotations/equality.js +8 -10
  2624. package/dist/utilities/image360Annotations/equality.js.map +1 -0
  2625. package/dist/utilities/image360Annotations/getImage360AnnotationAssetRef.d.ts +2 -2
  2626. package/dist/utilities/image360Annotations/getImage360AnnotationAssetRef.js +19 -14
  2627. package/dist/utilities/image360Annotations/getImage360AnnotationAssetRef.js.map +1 -0
  2628. package/dist/utilities/image360Annotations/getImage360AnnotationId.d.ts +1 -1
  2629. package/dist/utilities/image360Annotations/getImage360AnnotationId.js +14 -12
  2630. package/dist/utilities/image360Annotations/getImage360AnnotationId.js.map +1 -0
  2631. package/dist/utilities/image360Annotations/index.d.ts +5 -5
  2632. package/dist/utilities/image360Annotations/index.js +6 -5
  2633. package/dist/utilities/image360Annotations/index.js.map +1 -0
  2634. package/dist/utilities/image360Annotations/typeGuards.d.ts +4 -4
  2635. package/dist/utilities/image360Annotations/typeGuards.js +19 -20
  2636. package/dist/utilities/image360Annotations/typeGuards.js.map +1 -0
  2637. package/dist/utilities/image360Annotations/types.d.ts +3 -3
  2638. package/dist/utilities/image360Annotations/types.js +3 -0
  2639. package/dist/utilities/image360Annotations/types.js.map +1 -0
  2640. package/dist/utilities/index.d.ts +5 -5
  2641. package/dist/utilities/index.js +6 -20
  2642. package/dist/utilities/index.js.map +1 -0
  2643. package/dist/utilities/instanceIds/equality.d.ts +3 -3
  2644. package/dist/utilities/instanceIds/equality.js +13 -14
  2645. package/dist/utilities/instanceIds/equality.js.map +1 -0
  2646. package/dist/utilities/instanceIds/index.d.ts +4 -4
  2647. package/dist/utilities/instanceIds/index.js +5 -4
  2648. package/dist/utilities/instanceIds/index.js.map +1 -0
  2649. package/dist/utilities/instanceIds/toIdEither.d.ts +1 -1
  2650. package/dist/utilities/instanceIds/toIdEither.js +11 -5
  2651. package/dist/utilities/instanceIds/toIdEither.js.map +1 -0
  2652. package/dist/utilities/instanceIds/toKey.d.ts +2 -2
  2653. package/dist/utilities/instanceIds/toKey.js +22 -13
  2654. package/dist/utilities/instanceIds/toKey.js.map +1 -0
  2655. package/dist/utilities/instanceIds/typeGuards.d.ts +7 -7
  2656. package/dist/utilities/instanceIds/typeGuards.js +19 -17
  2657. package/dist/utilities/instanceIds/typeGuards.js.map +1 -0
  2658. package/dist/utilities/instanceIds/types.d.ts +4 -4
  2659. package/dist/utilities/instanceIds/types.js +3 -0
  2660. package/dist/utilities/instanceIds/types.js.map +1 -0
  2661. package/dist/utilities/instances/AssetInstance.d.ts +3 -3
  2662. package/dist/utilities/instances/AssetInstance.js +3 -0
  2663. package/dist/utilities/instances/AssetInstance.js.map +1 -0
  2664. package/dist/utilities/instances/index.d.ts +3 -3
  2665. package/dist/utilities/instances/index.js +4 -3
  2666. package/dist/utilities/instances/index.js.map +1 -0
  2667. package/dist/utilities/instances/matchAssetWithQuery.d.ts +1 -1
  2668. package/dist/utilities/instances/matchAssetWithQuery.js +13 -13
  2669. package/dist/utilities/instances/matchAssetWithQuery.js.map +1 -0
  2670. package/dist/utilities/instances/toId.d.ts +2 -2
  2671. package/dist/utilities/instances/toId.js +17 -15
  2672. package/dist/utilities/instances/toId.js.map +1 -0
  2673. package/dist/utilities/instances/typeGuards.d.ts +4 -4
  2674. package/dist/utilities/instances/typeGuards.js +8 -10
  2675. package/dist/utilities/instances/typeGuards.js.map +1 -0
  2676. package/dist/utilities/isDefined.js +4 -5
  2677. package/dist/utilities/isDefined.js.map +1 -0
  2678. package/dist/utilities/isSameModel.d.ts +2 -2
  2679. package/dist/utilities/isSameModel.js +60 -16
  2680. package/dist/utilities/isSameModel.js.map +1 -0
  2681. package/dist/utilities/loadMetricsParameters.d.ts +3 -3
  2682. package/dist/utilities/loadMetricsParameters.js +3 -0
  2683. package/dist/utilities/loadMetricsParameters.js.map +1 -0
  2684. package/dist/utilities/map/concatenateMapValues.d.ts +6 -3
  2685. package/dist/utilities/map/concatenateMapValues.js +16 -8
  2686. package/dist/utilities/map/concatenateMapValues.js.map +1 -0
  2687. package/dist/utilities/map/mergeMapMapValues.d.ts +16 -9
  2688. package/dist/utilities/map/mergeMapMapValues.js +39 -15
  2689. package/dist/utilities/map/mergeMapMapValues.js.map +1 -0
  2690. package/dist/utilities/modelExists.d.ts +1 -1
  2691. package/dist/utilities/modelExists.js +6 -7
  2692. package/dist/utilities/modelExists.js.map +1 -0
  2693. package/dist/utilities/modelIds/index.d.ts +2 -2
  2694. package/dist/utilities/modelIds/index.js +5 -2
  2695. package/dist/utilities/modelIds/index.js.map +1 -0
  2696. package/dist/utilities/modelIds/typeGuards.d.ts +2 -2
  2697. package/dist/utilities/modelIds/typeGuards.js +16 -16
  2698. package/dist/utilities/modelIds/typeGuards.js.map +1 -0
  2699. package/dist/utilities/modelIds/types.d.ts +89 -88
  2700. package/dist/utilities/modelIds/types.js +3 -0
  2701. package/dist/utilities/modelIds/types.js.map +1 -0
  2702. package/dist/utilities/navigation/enterNearby360Image.d.ts +3 -3
  2703. package/dist/utilities/navigation/enterNearby360Image.js +18 -11
  2704. package/dist/utilities/navigation/enterNearby360Image.js.map +1 -0
  2705. package/dist/utilities/navigation/index.d.ts +1 -1
  2706. package/dist/utilities/navigation/index.js +3 -2
  2707. package/dist/utilities/navigation/index.js.map +1 -0
  2708. package/dist/utilities/queryKeys.d.ts +32 -33
  2709. package/dist/utilities/queryKeys.js +174 -115
  2710. package/dist/utilities/queryKeys.js.map +1 -0
  2711. package/dist/utilities/removeEmptyProperties.d.ts +1 -1
  2712. package/dist/utilities/removeEmptyProperties.js +13 -11
  2713. package/dist/utilities/removeEmptyProperties.js.map +1 -0
  2714. package/dist/utilities/resourceSettings.d.ts +5 -5
  2715. package/dist/utilities/resourceSettings.js +88 -51
  2716. package/dist/utilities/resourceSettings.js.map +1 -0
  2717. package/dist/utilities/restrictToDmsId.d.ts +1 -1
  2718. package/dist/utilities/restrictToDmsId.js +7 -8
  2719. package/dist/utilities/restrictToDmsId.js.map +1 -0
  2720. package/dist/utilities/restrictToViewReference.d.ts +2 -2
  2721. package/dist/utilities/restrictToViewReference.js +9 -10
  2722. package/dist/utilities/restrictToViewReference.js.map +1 -0
  2723. package/dist/utilities/signal/DisposableSignal.d.ts +3 -3
  2724. package/dist/utilities/signal/DisposableSignal.js +3 -0
  2725. package/dist/utilities/signal/DisposableSignal.js.map +1 -0
  2726. package/dist/utilities/signal/useCombinedUpdateSignal.d.ts +7 -7
  2727. package/dist/utilities/signal/useCombinedUpdateSignal.js +24 -13
  2728. package/dist/utilities/signal/useCombinedUpdateSignal.js.map +1 -0
  2729. package/dist/utilities/signal/useDisposableSignal.d.ts +1 -1
  2730. package/dist/utilities/signal/useDisposableSignal.js +14 -9
  2731. package/dist/utilities/signal/useDisposableSignal.js.map +1 -0
  2732. package/dist/utilities/signal/useMemoWithUpdateSignal.d.ts +2 -2
  2733. package/dist/utilities/signal/useMemoWithUpdateSignal.js +12 -12
  2734. package/dist/utilities/signal/useMemoWithUpdateSignal.js.map +1 -0
  2735. package/dist/utilities/styling/index.d.ts +1 -1
  2736. package/dist/utilities/styling/index.js +3 -0
  2737. package/dist/utilities/styling/index.js.map +1 -0
  2738. package/dist/utilities/styling/stylingGroups.d.ts +9 -9
  2739. package/dist/utilities/styling/stylingGroups.js +6 -7
  2740. package/dist/utilities/styling/stylingGroups.js.map +1 -0
  2741. package/dist/utilities/tryGetModelIdFromExternalId.js +19 -12
  2742. package/dist/utilities/tryGetModelIdFromExternalId.js.map +1 -0
  2743. package/dist/utilities/usageMetricsTracker.d.ts +1 -1
  2744. package/dist/utilities/usageMetricsTracker.js +5 -4
  2745. package/dist/utilities/usageMetricsTracker.js.map +1 -0
  2746. package/package.json +26 -12
  2747. package/dist/_virtual/_rolldown_dynamic_import_helper.js +0 -9
  2748. package/dist/assets/poi-markers/poi-create-cursor.js +0 -4
  2749. package/dist/assets/poi-markers/poi-default.js +0 -4
  2750. package/dist/assets/poi-markers/poi-hover.js +0 -4
  2751. package/dist/assets/poi-markers/poi-selected.js +0 -4
  2752. package/dist/common/i18n/de/reveal-components.js +0 -197
  2753. package/dist/common/i18n/en/reveal-components.js +0 -202
  2754. package/dist/common/i18n/es/reveal-components.js +0 -197
  2755. package/dist/common/i18n/fr/reveal-components.js +0 -197
  2756. package/dist/common/i18n/it/reveal-components.js +0 -197
  2757. package/dist/common/i18n/ja/reveal-components.js +0 -197
  2758. package/dist/common/i18n/ko/reveal-components.js +0 -197
  2759. package/dist/common/i18n/lv/reveal-components.js +0 -197
  2760. package/dist/common/i18n/nb/reveal-components.js +0 -197
  2761. package/dist/common/i18n/nl/reveal-components.js +0 -197
  2762. package/dist/common/i18n/pt/reveal-components.js +0 -197
  2763. package/dist/common/i18n/sv/reveal-components.js +0 -197
  2764. package/dist/common/i18n/zh/reveal-components.js +0 -197
  2765. package/dist/data-providers/cache/Image360AnnotationCache.d.ts +0 -14
  2766. package/dist/data-providers/cache/Image360AnnotationCache.js +0 -69
  2767. package/dist/data-providers/cache/PointCloudAnnotationCache.d.ts +0 -24
  2768. package/dist/data-providers/cache/PointCloudAnnotationCache.js +0 -81
  2769. package/dist/data-providers/cache/RevisionFdmNodeCache.d.ts +0 -29
  2770. package/dist/data-providers/cache/RevisionFdmNodeCache.js +0 -177
  2771. package/dist/data-providers/cache/requests.js +0 -40
  2772. package/dist/data-providers/cache/typeGuards.js +0 -6
  2773. package/dist/data-providers/network/getAssetMappedPointCloudAnnotations.d.ts +0 -11
  2774. package/dist/data-providers/network/getAssetMappedPointCloudAnnotations.js +0 -41
  2775. package/dist/data-providers/network/getClassicAssetMapped360Annotations.d.ts +0 -8
  2776. package/dist/data-providers/network/getClassicAssetMapped360Annotations.js +0 -75
  2777. package/dist/data-providers/network/searchClassicAssetsForModels.d.ts +0 -17
  2778. package/dist/data-providers/network/searchClassicAssetsForModels.js +0 -20
  2779. package/dist/data-providers/network/searchClassicImage360Assets.d.ts +0 -5
  2780. package/dist/data-providers/network/searchClassicImage360Assets.js +0 -12
  2781. package/dist/data-providers/network/searchHybridDmAssetsForModels.d.ts +0 -14
  2782. package/dist/data-providers/network/searchHybridDmAssetsForModels.js +0 -21
  2783. package/dist/ui/query/core-dm/pointCloudDMVolumesQuery.d.ts +0 -32
  2784. package/dist/ui/query/core-dm/pointCloudDMVolumesQuery.js +0 -68
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/foundation/utilities/colors/colorMaps.ts"],"sourcesContent":["import { Color } from 'three';\n\nimport { ColorInterpolation } from './ColorInterpolation';\nimport { ColorMap } from './ColorMap';\nimport { ColorMapType } from './ColorMapType';\nimport { getColorFromBytes as getFromBytes } from './colorUtils';\n\nlet colorMaps: Map<ColorMapType, ColorMap> | undefined; // Act as a singleton\n\n// ==================================================\n// PUBLIC FUNCTIONS:\n// ==================================================\n\nexport function getColorMap(colorMapType: ColorMapType): ColorMap | undefined {\n const colorMaps = getColorMaps();\n return colorMaps.get(colorMapType);\n}\n\nexport function getOptions(): ColorMapType[] {\n const colorMaps = getColorMaps();\n return Array.from(colorMaps.keys());\n}\n\n// ==================================================\n// PRIVATE FUNCTIONS\n// ==================================================\n\nfunction getColorMaps(): Map<ColorMapType, ColorMap> {\n if (colorMaps === undefined) {\n colorMaps = createColorMaps();\n }\n return colorMaps;\n}\n\nfunction createColorMaps(): Map<ColorMapType, ColorMap> {\n const map = new Map<ColorMapType, ColorMap>();\n add(map, createTerrain());\n add(map, createRainbow(false));\n add(map, createRainbow(true));\n add(map, createSeismic(false));\n add(map, createSeismic(true));\n add(map, createGreyScale(false));\n add(map, createGreyScale(true));\n return map;\n\n function add(map: Map<ColorMapType, ColorMap>, colorMap: ColorMap): void {\n map.set(colorMap.colorMapType, colorMap);\n }\n}\n\n// ==================================================\n// PRIVATE FUNCTIONS: Create various color maps\n// ==================================================\n\nfunction createSeismic(reverse: boolean): ColorMap {\n const colorMap = new ColorMap();\n const a = 0.2;\n const b = 0.25;\n\n const interpolation = ColorInterpolation.Rgb;\n\n colorMap.add(getFromBytes(161, 255, 255), 0, interpolation);\n colorMap.add(getFromBytes(0, 0, 191), a, interpolation);\n colorMap.add(getFromBytes(77, 77, 77), b, interpolation);\n colorMap.add(getFromBytes(204, 204, 204), 0.5, interpolation);\n colorMap.add(getFromBytes(97, 69, 0), 1 - b, interpolation);\n colorMap.add(getFromBytes(191, 0, 0), 1 - a, interpolation);\n colorMap.add(new Color(Color.NAMES.yellow), 1, interpolation);\n colorMap.colorMapType = reverse\n ? ColorMapType.SeismicReverse\n : ColorMapType.Seismic;\n if (reverse) {\n colorMap.reverse();\n }\n return colorMap;\n}\n\nfunction createRainbow(reverse: boolean): ColorMap {\n const colorMap = new ColorMap();\n const interpolation = ColorInterpolation.HslLong;\n colorMap.add(new Color(Color.NAMES.magenta), 0, interpolation);\n colorMap.add(new Color(Color.NAMES.red), 1, interpolation);\n colorMap.colorMapType = reverse\n ? ColorMapType.RainbowReverse\n : ColorMapType.Rainbow;\n if (reverse) {\n colorMap.reverse();\n }\n return colorMap;\n}\n\nfunction createGreyScale(reverse: boolean): ColorMap {\n const colorMap = new ColorMap();\n const interpolation = ColorInterpolation.HslLong;\n colorMap.add(new Color(Color.NAMES.white), 0, interpolation);\n colorMap.add(new Color(Color.NAMES.black), 1, interpolation);\n colorMap.colorMapType = reverse\n ? ColorMapType.GreyScaleReverse\n : ColorMapType.GreyScale;\n if (reverse) {\n colorMap.reverse();\n }\n return colorMap;\n}\n\nfunction createTerrain(): ColorMap {\n const colorMap = new ColorMap();\n const interpolation = ColorInterpolation.Rgb;\n colorMap.add(new Color(Color.NAMES.white), 0, interpolation);\n colorMap.add(getFromBytes(168, 144, 140), 0.2, interpolation); // brown\n colorMap.add(getFromBytes(255, 255, 150), 0.4, interpolation); // Yellow\n colorMap.add(getFromBytes(87, 221, 119), 0.6, interpolation); // green\n colorMap.add(getFromBytes(0, 147, 255), 0.8, interpolation); // blue\n colorMap.add(getFromBytes(50, 50, 156), 1, interpolation); // Dark blue\n colorMap.colorMapType = ColorMapType.Terrain;\n colorMap.reverse();\n return colorMap;\n}\n"],"names":["Color","ColorInterpolation","ColorMap","ColorMapType","getColorFromBytes","getFromBytes","colorMaps","getColorMap","colorMapType","getColorMaps","get","getOptions","Array","from","keys","undefined","createColorMaps","map","Map","add","createTerrain","createRainbow","createSeismic","createGreyScale","colorMap","set","reverse","a","b","interpolation","Rgb","NAMES","yellow","SeismicReverse","Seismic","HslLong","magenta","red","RainbowReverse","Rainbow","white","black","GreyScaleReverse","GreyScale","Terrain"],"mappings":"AAAA,SAASA,KAAK,QAAQ,QAAQ;AAE9B,SAASC,kBAAkB,QAAQ,0BAAuB;AAC1D,SAASC,QAAQ,QAAQ,gBAAa;AACtC,SAASC,YAAY,QAAQ,oBAAiB;AAC9C,SAASC,qBAAqBC,YAAY,QAAQ,kBAAe;AAEjE,IAAIC,WAAoD,qBAAqB;AAE7E,qDAAqD;AACrD,oBAAoB;AACpB,qDAAqD;AAErD,OAAO,SAASC,YAAYC,YAA0B;IACpD,MAAMF,YAAYG;IAClB,OAAOH,UAAUI,GAAG,CAACF;AACvB;AAEA,OAAO,SAASG;IACd,MAAML,YAAYG;IAClB,OAAOG,MAAMC,IAAI,CAACP,UAAUQ,IAAI;AAClC;AAEA,qDAAqD;AACrD,oBAAoB;AACpB,qDAAqD;AAErD,SAASL;IACP,IAAIH,cAAcS,WAAW;QAC3BT,YAAYU;IACd;IACA,OAAOV;AACT;AAEA,SAASU;IACP,MAAMC,MAAM,IAAIC;IAChBC,IAAIF,KAAKG;IACTD,IAAIF,KAAKI,cAAc;IACvBF,IAAIF,KAAKI,cAAc;IACvBF,IAAIF,KAAKK,cAAc;IACvBH,IAAIF,KAAKK,cAAc;IACvBH,IAAIF,KAAKM,gBAAgB;IACzBJ,IAAIF,KAAKM,gBAAgB;IACzB,OAAON;IAEP,SAASE,IAAIF,GAAgC,EAAEO,QAAkB;QAC/DP,IAAIQ,GAAG,CAACD,SAAShB,YAAY,EAAEgB;IACjC;AACF;AAEA,qDAAqD;AACrD,+CAA+C;AAC/C,qDAAqD;AAErD,SAASF,cAAcI,OAAgB;IACrC,MAAMF,WAAW,IAAItB;IACrB,MAAMyB,IAAI;IACV,MAAMC,IAAI;IAEV,MAAMC,gBAAgB5B,mBAAmB6B,GAAG;IAE5CN,SAASL,GAAG,CAACd,aAAa,KAAK,KAAK,MAAM,GAAGwB;IAC7CL,SAASL,GAAG,CAACd,aAAa,GAAG,GAAG,MAAMsB,GAAGE;IACzCL,SAASL,GAAG,CAACd,aAAa,IAAI,IAAI,KAAKuB,GAAGC;IAC1CL,SAASL,GAAG,CAACd,aAAa,KAAK,KAAK,MAAM,KAAKwB;IAC/CL,SAASL,GAAG,CAACd,aAAa,IAAI,IAAI,IAAI,IAAIuB,GAAGC;IAC7CL,SAASL,GAAG,CAACd,aAAa,KAAK,GAAG,IAAI,IAAIsB,GAAGE;IAC7CL,SAASL,GAAG,CAAC,IAAInB,MAAMA,MAAM+B,KAAK,CAACC,MAAM,GAAG,GAAGH;IAC/CL,SAAShB,YAAY,GAAGkB,UACpBvB,aAAa8B,cAAc,GAC3B9B,aAAa+B,OAAO;IACxB,IAAIR,SAAS;QACXF,SAASE,OAAO;IAClB;IACA,OAAOF;AACT;AAEA,SAASH,cAAcK,OAAgB;IACrC,MAAMF,WAAW,IAAItB;IACrB,MAAM2B,gBAAgB5B,mBAAmBkC,OAAO;IAChDX,SAASL,GAAG,CAAC,IAAInB,MAAMA,MAAM+B,KAAK,CAACK,OAAO,GAAG,GAAGP;IAChDL,SAASL,GAAG,CAAC,IAAInB,MAAMA,MAAM+B,KAAK,CAACM,GAAG,GAAG,GAAGR;IAC5CL,SAAShB,YAAY,GAAGkB,UACpBvB,aAAamC,cAAc,GAC3BnC,aAAaoC,OAAO;IACxB,IAAIb,SAAS;QACXF,SAASE,OAAO;IAClB;IACA,OAAOF;AACT;AAEA,SAASD,gBAAgBG,OAAgB;IACvC,MAAMF,WAAW,IAAItB;IACrB,MAAM2B,gBAAgB5B,mBAAmBkC,OAAO;IAChDX,SAASL,GAAG,CAAC,IAAInB,MAAMA,MAAM+B,KAAK,CAACS,KAAK,GAAG,GAAGX;IAC9CL,SAASL,GAAG,CAAC,IAAInB,MAAMA,MAAM+B,KAAK,CAACU,KAAK,GAAG,GAAGZ;IAC9CL,SAAShB,YAAY,GAAGkB,UACpBvB,aAAauC,gBAAgB,GAC7BvC,aAAawC,SAAS;IAC1B,IAAIjB,SAAS;QACXF,SAASE,OAAO;IAClB;IACA,OAAOF;AACT;AAEA,SAASJ;IACP,MAAMI,WAAW,IAAItB;IACrB,MAAM2B,gBAAgB5B,mBAAmB6B,GAAG;IAC5CN,SAASL,GAAG,CAAC,IAAInB,MAAMA,MAAM+B,KAAK,CAACS,KAAK,GAAG,GAAGX;IAC9CL,SAASL,GAAG,CAACd,aAAa,KAAK,KAAK,MAAM,KAAKwB,gBAAgB,QAAQ;IACvEL,SAASL,GAAG,CAACd,aAAa,KAAK,KAAK,MAAM,KAAKwB,gBAAgB,SAAS;IACxEL,SAASL,GAAG,CAACd,aAAa,IAAI,KAAK,MAAM,KAAKwB,gBAAgB,QAAQ;IACtEL,SAASL,GAAG,CAACd,aAAa,GAAG,KAAK,MAAM,KAAKwB,gBAAgB,OAAO;IACpEL,SAASL,GAAG,CAACd,aAAa,IAAI,IAAI,MAAM,GAAGwB,gBAAgB,YAAY;IACvEL,SAAShB,YAAY,GAAGL,aAAayC,OAAO;IAC5CpB,SAASE,OAAO;IAChB,OAAOF;AACT"}
@@ -1,2 +1,2 @@
1
- import { Color } from 'three';
1
+ import { type Color } from "three";
2
2
  export declare function colorToHex(color: Color, opacity?: number): string;
@@ -1,12 +1,18 @@
1
- import { clamp as e } from "lodash-es";
2
- //#region libs/shared/reveal-components/src/foundation/utilities/colors/colorToHex.ts
3
- function t(e, t = 1) {
4
- let r = "#" + e.getHexString().toUpperCase();
5
- return t >= 1 ? r : r + n(t);
1
+ import { clamp } from "lodash-es";
2
+ export function colorToHex(color, opacity = 1) {
3
+ const result = '#' + color.getHexString().toUpperCase();
4
+ if (opacity >= 1) {
5
+ return result;
6
+ }
7
+ return result + opacityFractionToHex(opacity);
6
8
  }
7
- function n(t) {
8
- let n = e(t, 0, 1);
9
- return Math.round(n * 255).toString(16).toUpperCase().padStart(2, "0");
9
+ function opacityFractionToHex(opacity) {
10
+ // Ensure opacity is within the 0-1 range
11
+ const clampedOpacity = clamp(opacity, 0, 1);
12
+ // Convert to a 0-255 integer
13
+ const alphaValue = Math.round(clampedOpacity * 255);
14
+ // Convert to hexadecimal and pad with a leading zero if needed
15
+ return alphaValue.toString(16).toUpperCase().padStart(2, '0');
10
16
  }
11
- //#endregion
12
- export { t as colorToHex };
17
+
18
+ //# sourceMappingURL=colorToHex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/foundation/utilities/colors/colorToHex.ts"],"sourcesContent":["import { clamp } from 'lodash-es';\nimport { type Color } from 'three';\n\nexport function colorToHex(color: Color, opacity: number = 1): string {\n const result = '#' + color.getHexString().toUpperCase();\n if (opacity >= 1) {\n return result;\n }\n return result + opacityFractionToHex(opacity);\n}\n\nfunction opacityFractionToHex(opacity: number): string {\n // Ensure opacity is within the 0-1 range\n const clampedOpacity = clamp(opacity, 0, 1);\n\n // Convert to a 0-255 integer\n const alphaValue = Math.round(clampedOpacity * 255);\n\n // Convert to hexadecimal and pad with a leading zero if needed\n return alphaValue.toString(16).toUpperCase().padStart(2, '0');\n}\n"],"names":["clamp","colorToHex","color","opacity","result","getHexString","toUpperCase","opacityFractionToHex","clampedOpacity","alphaValue","Math","round","toString","padStart"],"mappings":"AAAA,SAASA,KAAK,QAAQ,YAAY;AAGlC,OAAO,SAASC,WAAWC,KAAY,EAAEC,UAAkB,CAAC;IAC1D,MAAMC,SAAS,MAAMF,MAAMG,YAAY,GAAGC,WAAW;IACrD,IAAIH,WAAW,GAAG;QAChB,OAAOC;IACT;IACA,OAAOA,SAASG,qBAAqBJ;AACvC;AAEA,SAASI,qBAAqBJ,OAAe;IAC3C,yCAAyC;IACzC,MAAMK,iBAAiBR,MAAMG,SAAS,GAAG;IAEzC,6BAA6B;IAC7B,MAAMM,aAAaC,KAAKC,KAAK,CAACH,iBAAiB;IAE/C,+DAA+D;IAC/D,OAAOC,WAAWG,QAAQ,CAAC,IAAIN,WAAW,GAAGO,QAAQ,CAAC,GAAG;AAC3D"}
@@ -1,4 +1,4 @@
1
- import { Color } from 'three';
1
+ import { Color } from "three";
2
2
  export declare const WHITE_COLOR: Color;
3
3
  export declare const BLACK_COLOR: Color;
4
4
  export declare const GREY_COLOR: Color;
@@ -1,33 +1,69 @@
1
- import { Color as e } from "three";
2
- //#region libs/shared/reveal-components/src/foundation/utilities/colors/colorUtils.ts
3
- var t = new e(1, 1, 1), n = new e(0, 0, 0);
4
- new e(.67, .67, .67);
5
- function r(t, n, r = .5) {
6
- let i = 1 - r, a = t.r * r + n.r * i, o = t.g * r + n.g * i, s = t.b * r + n.b * i;
7
- return new e(a, o, s);
8
- }
9
- function i(t, n, r = .5, i = !0) {
10
- let a = {
11
- h: 0,
12
- s: 0,
13
- l: 0
14
- }, o = {
15
- h: 0,
16
- s: 0,
17
- l: 0
18
- };
19
- a = t.getHSL(a), o = n.getHSL(o), i ? a.h < o.h ? o.h - a.h < .5 && --o.h : a.h - o.h < .5 && (o.h += 1) : a.h < o.h ? o.h - a.h > .5 && --o.h : a.h - o.h > .5 && (o.h += 1);
20
- let s = 1 - r, c = a.h * r + o.h * s, l = a.s * r + o.s * s, u = a.l * r + o.l * s;
21
- return new e().setHSL(c, l, u);
22
- }
23
- function a(t) {
24
- return new e(1 - t.r, 1 - t.g, 1 - t.b);
25
- }
26
- function o(e) {
27
- return e * 255;
28
- }
29
- function s(t, n, r) {
30
- return new e(t / 255, n / 255, r / 255);
31
- }
32
- //#endregion
33
- export { n as BLACK_COLOR, t as WHITE_COLOR, o as fractionToByte, s as getColorFromBytes, a as getComplementary, i as getHslMixedColor, r as getMixedColor };
1
+ import { Color } from "three";
2
+ export const WHITE_COLOR = new Color(1, 1, 1);
3
+ export const BLACK_COLOR = new Color(0, 0, 0);
4
+ export const GREY_COLOR = new Color(0.67, 0.67, 0.67);
5
+ export const MAX_BYTE = 255;
6
+ export function isGreyScale(color) {
7
+ return color.r === color.g && color.g === color.b;
8
+ }
9
+ export function getMixedColor(color, other, fraction = 0.5) {
10
+ const otherFraction = 1 - fraction;
11
+ const r = color.r * fraction + other.r * otherFraction;
12
+ const g = color.g * fraction + other.g * otherFraction;
13
+ const b = color.b * fraction + other.b * otherFraction;
14
+ return new Color(r, g, b);
15
+ }
16
+ export function getHslMixedColor(color, other, fraction = 0.5, long = true) {
17
+ let hsl1 = {
18
+ h: 0,
19
+ s: 0,
20
+ l: 0
21
+ };
22
+ let hsl2 = {
23
+ h: 0,
24
+ s: 0,
25
+ l: 0
26
+ };
27
+ hsl1 = color.getHSL(hsl1);
28
+ hsl2 = other.getHSL(hsl2);
29
+ if (long) {
30
+ if (hsl1.h < hsl2.h) {
31
+ if (hsl2.h - hsl1.h < 0.5) hsl2.h -= 1;
32
+ } else {
33
+ if (hsl1.h - hsl2.h < 0.5) hsl2.h += 1;
34
+ }
35
+ } else {
36
+ if (hsl1.h < hsl2.h) {
37
+ if (hsl2.h - hsl1.h > 0.5) hsl2.h -= 1;
38
+ } else {
39
+ if (hsl1.h - hsl2.h > 0.5) hsl2.h += 1;
40
+ }
41
+ }
42
+ const otherFraction = 1 - fraction;
43
+ const h = hsl1.h * fraction + hsl2.h * otherFraction;
44
+ const s = hsl1.s * fraction + hsl2.s * otherFraction;
45
+ const l = hsl1.l * fraction + hsl2.l * otherFraction;
46
+ return new Color().setHSL(h, s, l);
47
+ }
48
+ export function getGammaCorrectedColor(color, gamma = 2.2) {
49
+ const r = color.r ** gamma;
50
+ const g = color.g ** gamma;
51
+ const b = color.b ** gamma;
52
+ return new Color(r, g, b);
53
+ }
54
+ export function convertToComplementary(color) {
55
+ color.r = 1 - color.r;
56
+ color.g = 1 - color.g;
57
+ color.b = 1 - color.b;
58
+ }
59
+ export function getComplementary(color) {
60
+ return new Color(1 - color.r, 1 - color.g, 1 - color.b);
61
+ }
62
+ export function fractionToByte(fraction) {
63
+ return fraction * MAX_BYTE;
64
+ }
65
+ export function getColorFromBytes(r, g, b) {
66
+ return new Color(r / MAX_BYTE, g / MAX_BYTE, b / MAX_BYTE);
67
+ }
68
+
69
+ //# sourceMappingURL=colorUtils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/foundation/utilities/colors/colorUtils.ts"],"sourcesContent":["import { Color, type HSL } from 'three';\n\nexport const WHITE_COLOR: Color = new Color(1, 1, 1);\nexport const BLACK_COLOR: Color = new Color(0, 0, 0);\nexport const GREY_COLOR: Color = new Color(0.67, 0.67, 0.67);\nexport const MAX_BYTE = 255;\n\nexport function isGreyScale(color: Color): boolean {\n return color.r === color.g && color.g === color.b;\n}\n\nexport function getMixedColor(\n color: Color,\n other: Color,\n fraction = 0.5\n): Color {\n const otherFraction = 1 - fraction;\n const r = color.r * fraction + other.r * otherFraction;\n const g = color.g * fraction + other.g * otherFraction;\n const b = color.b * fraction + other.b * otherFraction;\n return new Color(r, g, b);\n}\n\nexport function getHslMixedColor(\n color: Color,\n other: Color,\n fraction = 0.5,\n long: boolean = true\n): Color {\n let hsl1: HSL = { h: 0, s: 0, l: 0 };\n let hsl2: HSL = { h: 0, s: 0, l: 0 };\n hsl1 = color.getHSL(hsl1);\n hsl2 = other.getHSL(hsl2);\n\n if (long) {\n if (hsl1.h < hsl2.h) {\n if (hsl2.h - hsl1.h < 0.5) hsl2.h -= 1;\n } else {\n if (hsl1.h - hsl2.h < 0.5) hsl2.h += 1;\n }\n } else {\n if (hsl1.h < hsl2.h) {\n if (hsl2.h - hsl1.h > 0.5) hsl2.h -= 1;\n } else {\n if (hsl1.h - hsl2.h > 0.5) hsl2.h += 1;\n }\n }\n const otherFraction = 1 - fraction;\n const h = hsl1.h * fraction + hsl2.h * otherFraction;\n const s = hsl1.s * fraction + hsl2.s * otherFraction;\n const l = hsl1.l * fraction + hsl2.l * otherFraction;\n return new Color().setHSL(h, s, l);\n}\n\nexport function getGammaCorrectedColor(color: Color, gamma = 2.2): Color {\n const r = color.r ** gamma;\n const g = color.g ** gamma;\n const b = color.b ** gamma;\n return new Color(r, g, b);\n}\n\nexport function convertToComplementary(color: Color): void {\n color.r = 1 - color.r;\n color.g = 1 - color.g;\n color.b = 1 - color.b;\n}\n\nexport function getComplementary(color: Color): Color {\n return new Color(1 - color.r, 1 - color.g, 1 - color.b);\n}\n\nexport function fractionToByte(fraction: number): number {\n return fraction * MAX_BYTE;\n}\n\nexport function getColorFromBytes(r: number, g: number, b: number): Color {\n return new Color(r / MAX_BYTE, g / MAX_BYTE, b / MAX_BYTE);\n}\n"],"names":["Color","WHITE_COLOR","BLACK_COLOR","GREY_COLOR","MAX_BYTE","isGreyScale","color","r","g","b","getMixedColor","other","fraction","otherFraction","getHslMixedColor","long","hsl1","h","s","l","hsl2","getHSL","setHSL","getGammaCorrectedColor","gamma","convertToComplementary","getComplementary","fractionToByte","getColorFromBytes"],"mappings":"AAAA,SAASA,KAAK,QAAkB,QAAQ;AAExC,OAAO,MAAMC,cAAqB,IAAID,MAAM,GAAG,GAAG,GAAG;AACrD,OAAO,MAAME,cAAqB,IAAIF,MAAM,GAAG,GAAG,GAAG;AACrD,OAAO,MAAMG,aAAoB,IAAIH,MAAM,MAAM,MAAM,MAAM;AAC7D,OAAO,MAAMI,WAAW,IAAI;AAE5B,OAAO,SAASC,YAAYC,KAAY;IACtC,OAAOA,MAAMC,CAAC,KAAKD,MAAME,CAAC,IAAIF,MAAME,CAAC,KAAKF,MAAMG,CAAC;AACnD;AAEA,OAAO,SAASC,cACdJ,KAAY,EACZK,KAAY,EACZC,WAAW,GAAG;IAEd,MAAMC,gBAAgB,IAAID;IAC1B,MAAML,IAAID,MAAMC,CAAC,GAAGK,WAAWD,MAAMJ,CAAC,GAAGM;IACzC,MAAML,IAAIF,MAAME,CAAC,GAAGI,WAAWD,MAAMH,CAAC,GAAGK;IACzC,MAAMJ,IAAIH,MAAMG,CAAC,GAAGG,WAAWD,MAAMF,CAAC,GAAGI;IACzC,OAAO,IAAIb,MAAMO,GAAGC,GAAGC;AACzB;AAEA,OAAO,SAASK,iBACdR,KAAY,EACZK,KAAY,EACZC,WAAW,GAAG,EACdG,OAAgB,IAAI;IAEpB,IAAIC,OAAY;QAAEC,GAAG;QAAGC,GAAG;QAAGC,GAAG;IAAE;IACnC,IAAIC,OAAY;QAAEH,GAAG;QAAGC,GAAG;QAAGC,GAAG;IAAE;IACnCH,OAAOV,MAAMe,MAAM,CAACL;IACpBI,OAAOT,MAAMU,MAAM,CAACD;IAEpB,IAAIL,MAAM;QACR,IAAIC,KAAKC,CAAC,GAAGG,KAAKH,CAAC,EAAE;YACnB,IAAIG,KAAKH,CAAC,GAAGD,KAAKC,CAAC,GAAG,KAAKG,KAAKH,CAAC,IAAI;QACvC,OAAO;YACL,IAAID,KAAKC,CAAC,GAAGG,KAAKH,CAAC,GAAG,KAAKG,KAAKH,CAAC,IAAI;QACvC;IACF,OAAO;QACL,IAAID,KAAKC,CAAC,GAAGG,KAAKH,CAAC,EAAE;YACnB,IAAIG,KAAKH,CAAC,GAAGD,KAAKC,CAAC,GAAG,KAAKG,KAAKH,CAAC,IAAI;QACvC,OAAO;YACL,IAAID,KAAKC,CAAC,GAAGG,KAAKH,CAAC,GAAG,KAAKG,KAAKH,CAAC,IAAI;QACvC;IACF;IACA,MAAMJ,gBAAgB,IAAID;IAC1B,MAAMK,IAAID,KAAKC,CAAC,GAAGL,WAAWQ,KAAKH,CAAC,GAAGJ;IACvC,MAAMK,IAAIF,KAAKE,CAAC,GAAGN,WAAWQ,KAAKF,CAAC,GAAGL;IACvC,MAAMM,IAAIH,KAAKG,CAAC,GAAGP,WAAWQ,KAAKD,CAAC,GAAGN;IACvC,OAAO,IAAIb,QAAQsB,MAAM,CAACL,GAAGC,GAAGC;AAClC;AAEA,OAAO,SAASI,uBAAuBjB,KAAY,EAAEkB,QAAQ,GAAG;IAC9D,MAAMjB,IAAID,MAAMC,CAAC,IAAIiB;IACrB,MAAMhB,IAAIF,MAAME,CAAC,IAAIgB;IACrB,MAAMf,IAAIH,MAAMG,CAAC,IAAIe;IACrB,OAAO,IAAIxB,MAAMO,GAAGC,GAAGC;AACzB;AAEA,OAAO,SAASgB,uBAAuBnB,KAAY;IACjDA,MAAMC,CAAC,GAAG,IAAID,MAAMC,CAAC;IACrBD,MAAME,CAAC,GAAG,IAAIF,MAAME,CAAC;IACrBF,MAAMG,CAAC,GAAG,IAAIH,MAAMG,CAAC;AACvB;AAEA,OAAO,SAASiB,iBAAiBpB,KAAY;IAC3C,OAAO,IAAIN,MAAM,IAAIM,MAAMC,CAAC,EAAE,IAAID,MAAME,CAAC,EAAE,IAAIF,MAAMG,CAAC;AACxD;AAEA,OAAO,SAASkB,eAAef,QAAgB;IAC7C,OAAOA,WAAWR;AACpB;AAEA,OAAO,SAASwB,kBAAkBrB,CAAS,EAAEC,CAAS,EAAEC,CAAS;IAC/D,OAAO,IAAIT,MAAMO,IAAIH,UAAUI,IAAIJ,UAAUK,IAAIL;AACnD"}
@@ -1,5 +1,5 @@
1
- import { DataTexture, Color } from 'three';
2
- import { Range1 } from '../geometry/Range1';
3
- import { ColorMap } from './ColorMap';
1
+ import { DataTexture, type Color } from "three";
2
+ import { type Range1 } from "../geometry/Range1";
3
+ import { type ColorMap } from "./ColorMap";
4
4
  export declare function create1DTexture(colorMap: ColorMap): DataTexture;
5
5
  export declare function create1DTextureWithContours(colorMap: ColorMap, range: Range1, increment: number, volume: number, solidColor?: Color): DataTexture;
@@ -1,15 +1,18 @@
1
- import "./ColorMap.js";
2
- import { DataTexture as e } from "three";
3
- //#region libs/shared/reveal-components/src/foundation/utilities/colors/create1DTexture.ts
4
- function t(e) {
5
- return r(e.createColors());
1
+ import { DataTexture } from "three";
2
+ import { BYTE_PR_COLOR, TEXTURE_1D_WIDTH } from "./ColorMap.js";
3
+ export function create1DTexture(colorMap) {
4
+ const rgbaArray = colorMap.createColors();
5
+ return createDataTexture(rgbaArray);
6
6
  }
7
- function n(e, t, n, i, a) {
8
- return r(e.createColorsWithContours(t, n, i, a));
7
+ export function create1DTextureWithContours(colorMap, range, increment, volume, solidColor) {
8
+ const rgbaArray = colorMap.createColorsWithContours(range, increment, volume, solidColor);
9
+ return createDataTexture(rgbaArray);
9
10
  }
10
- function r(t) {
11
- let n = t.length / 8, r = new e(t, n, 2);
12
- return r.needsUpdate = !0, r;
11
+ function createDataTexture(rgbaArray) {
12
+ const width = rgbaArray.length / (TEXTURE_1D_WIDTH * BYTE_PR_COLOR);
13
+ const texture = new DataTexture(rgbaArray, width, TEXTURE_1D_WIDTH);
14
+ texture.needsUpdate = true;
15
+ return texture;
13
16
  }
14
- //#endregion
15
- export { t as create1DTexture, n as create1DTextureWithContours };
17
+
18
+ //# sourceMappingURL=create1DTexture.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/foundation/utilities/colors/create1DTexture.ts"],"sourcesContent":["import { DataTexture, type Color } from 'three';\n\nimport { type Range1 } from '../geometry/Range1';\n\nimport { BYTE_PR_COLOR, TEXTURE_1D_WIDTH, type ColorMap } from './ColorMap';\n\nexport function create1DTexture(colorMap: ColorMap): DataTexture {\n const rgbaArray = colorMap.createColors();\n return createDataTexture(rgbaArray);\n}\n\nexport function create1DTextureWithContours(\n colorMap: ColorMap,\n range: Range1,\n increment: number,\n volume: number,\n solidColor?: Color\n): DataTexture {\n const rgbaArray = colorMap.createColorsWithContours(\n range,\n increment,\n volume,\n solidColor\n );\n return createDataTexture(rgbaArray);\n}\n\nfunction createDataTexture(rgbaArray: Uint8Array): DataTexture {\n const width = rgbaArray.length / (TEXTURE_1D_WIDTH * BYTE_PR_COLOR);\n const texture = new DataTexture(rgbaArray, width, TEXTURE_1D_WIDTH);\n texture.needsUpdate = true;\n return texture;\n}\n"],"names":["DataTexture","BYTE_PR_COLOR","TEXTURE_1D_WIDTH","create1DTexture","colorMap","rgbaArray","createColors","createDataTexture","create1DTextureWithContours","range","increment","volume","solidColor","createColorsWithContours","width","length","texture","needsUpdate"],"mappings":"AAAA,SAASA,WAAW,QAAoB,QAAQ;AAIhD,SAASC,aAAa,EAAEC,gBAAgB,QAAuB,gBAAa;AAE5E,OAAO,SAASC,gBAAgBC,QAAkB;IAChD,MAAMC,YAAYD,SAASE,YAAY;IACvC,OAAOC,kBAAkBF;AAC3B;AAEA,OAAO,SAASG,4BACdJ,QAAkB,EAClBK,KAAa,EACbC,SAAiB,EACjBC,MAAc,EACdC,UAAkB;IAElB,MAAMP,YAAYD,SAASS,wBAAwB,CACjDJ,OACAC,WACAC,QACAC;IAEF,OAAOL,kBAAkBF;AAC3B;AAEA,SAASE,kBAAkBF,SAAqB;IAC9C,MAAMS,QAAQT,UAAUU,MAAM,GAAIb,CAAAA,mBAAmBD,aAAY;IACjE,MAAMe,UAAU,IAAIhB,YAAYK,WAAWS,OAAOZ;IAClDc,QAAQC,WAAW,GAAG;IACtB,OAAOD;AACT"}
@@ -1,4 +1,4 @@
1
- import { Color } from 'three';
1
+ import { Color } from "three";
2
2
  export declare const NUMBER_OF_UNIQUE_COLORS = 50;
3
3
  export declare function getNextColor(): Color;
4
4
  export declare function getNextColorByIndex(index: number): Color;
@@ -1,26 +1,44 @@
1
- import { isEven as e } from "../extensions/mathUtils.js";
2
- import { Color as t } from "three";
3
- //#region libs/shared/reveal-components/src/foundation/utilities/colors/getNextColor.ts
4
- var n = 0, r;
5
- function i() {
6
- let e = o();
7
- return n = (n + 1) % e.length, e[n];
1
+ import { Color } from "three";
2
+ import { isEven } from "../extensions/mathUtils.js";
3
+ let currentIndex = 0;
4
+ let uniqueColors;
5
+ export const NUMBER_OF_UNIQUE_COLORS = 50;
6
+ // ==================================================
7
+ // PUBLIC FUNCTIONS:
8
+ // ==================================================
9
+ export function getNextColor() {
10
+ const colors = getUniqueColors();
11
+ currentIndex = (currentIndex + 1) % colors.length;
12
+ return colors[currentIndex];
8
13
  }
9
- function a(e) {
10
- let t = o();
11
- return t[e % t.length];
14
+ export function getNextColorByIndex(index) {
15
+ const colors = getUniqueColors();
16
+ return colors[index % colors.length];
12
17
  }
13
- function o() {
14
- return r === void 0 && (r = s(50)), r;
18
+ // ==================================================
19
+ // PRIVATE FUNCTIONS
20
+ // ==================================================
21
+ function getUniqueColors() {
22
+ if (uniqueColors === undefined) {
23
+ uniqueColors = createUniqueColors(NUMBER_OF_UNIQUE_COLORS);
24
+ }
25
+ return uniqueColors;
15
26
  }
16
- function s(n) {
17
- let r = [], i = .5;
18
- for (let a = 0; a < n; a++) {
19
- i += .618033988749895, i %= 1;
20
- let n = e(a) ? .5 : 1, o = new t();
21
- o.setHSL(i, n, .5), r.push(o);
22
- }
23
- return r;
27
+ function createUniqueColors(count) {
28
+ // This function make different colors
29
+ const CONJUGATE_OF_GOLDEN_RATIO = 0.618033988749895;
30
+ const result = [];
31
+ let h = 0.5;
32
+ for(let i = 0; i < count; i++){
33
+ h += CONJUGATE_OF_GOLDEN_RATIO;
34
+ h %= 1;
35
+ const s = isEven(i) ? 0.5 : 1; // Brighter
36
+ const l = 0.5; // Brighter && Darker
37
+ const color = new Color();
38
+ color.setHSL(h, s, l);
39
+ result.push(color);
40
+ }
41
+ return result;
24
42
  }
25
- //#endregion
26
- export { i as getNextColor, a as getNextColorByIndex };
43
+
44
+ //# sourceMappingURL=getNextColor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/foundation/utilities/colors/getNextColor.ts"],"sourcesContent":["import { Color } from 'three';\n\nimport { isEven } from '../extensions/mathUtils';\n\nlet currentIndex = 0;\nlet uniqueColors: Color[] | undefined;\n\nexport const NUMBER_OF_UNIQUE_COLORS = 50;\n\n// ==================================================\n// PUBLIC FUNCTIONS:\n// ==================================================\n\nexport function getNextColor(): Color {\n const colors = getUniqueColors();\n currentIndex = (currentIndex + 1) % colors.length;\n return colors[currentIndex];\n}\n\nexport function getNextColorByIndex(index: number): Color {\n const colors = getUniqueColors();\n return colors[index % colors.length];\n}\n\n// ==================================================\n// PRIVATE FUNCTIONS\n// ==================================================\n\nfunction getUniqueColors(): Color[] {\n if (uniqueColors === undefined) {\n uniqueColors = createUniqueColors(NUMBER_OF_UNIQUE_COLORS);\n }\n return uniqueColors;\n}\n\nfunction createUniqueColors(count: number): Color[] {\n // This function make different colors\n const CONJUGATE_OF_GOLDEN_RATIO = 0.618033988749895;\n const result: Color[] = [];\n let h = 0.5;\n for (let i = 0; i < count; i++) {\n h += CONJUGATE_OF_GOLDEN_RATIO;\n h %= 1;\n\n const s = isEven(i) ? 0.5 : 1; // Brighter\n const l = 0.5; // Brighter && Darker\n\n const color = new Color();\n color.setHSL(h, s, l);\n result.push(color);\n }\n return result;\n}\n"],"names":["Color","isEven","currentIndex","uniqueColors","NUMBER_OF_UNIQUE_COLORS","getNextColor","colors","getUniqueColors","length","getNextColorByIndex","index","undefined","createUniqueColors","count","CONJUGATE_OF_GOLDEN_RATIO","result","h","i","s","l","color","setHSL","push"],"mappings":"AAAA,SAASA,KAAK,QAAQ,QAAQ;AAE9B,SAASC,MAAM,QAAQ,6BAA0B;AAEjD,IAAIC,eAAe;AACnB,IAAIC;AAEJ,OAAO,MAAMC,0BAA0B,GAAG;AAE1C,qDAAqD;AACrD,oBAAoB;AACpB,qDAAqD;AAErD,OAAO,SAASC;IACd,MAAMC,SAASC;IACfL,eAAe,AAACA,CAAAA,eAAe,CAAA,IAAKI,OAAOE,MAAM;IACjD,OAAOF,MAAM,CAACJ,aAAa;AAC7B;AAEA,OAAO,SAASO,oBAAoBC,KAAa;IAC/C,MAAMJ,SAASC;IACf,OAAOD,MAAM,CAACI,QAAQJ,OAAOE,MAAM,CAAC;AACtC;AAEA,qDAAqD;AACrD,oBAAoB;AACpB,qDAAqD;AAErD,SAASD;IACP,IAAIJ,iBAAiBQ,WAAW;QAC9BR,eAAeS,mBAAmBR;IACpC;IACA,OAAOD;AACT;AAEA,SAASS,mBAAmBC,KAAa;IACvC,sCAAsC;IACtC,MAAMC,4BAA4B;IAClC,MAAMC,SAAkB,EAAE;IAC1B,IAAIC,IAAI;IACR,IAAK,IAAIC,IAAI,GAAGA,IAAIJ,OAAOI,IAAK;QAC9BD,KAAKF;QACLE,KAAK;QAEL,MAAME,IAAIjB,OAAOgB,KAAK,MAAM,GAAG,WAAW;QAC1C,MAAME,IAAI,KAAK,qBAAqB;QAEpC,MAAMC,QAAQ,IAAIpB;QAClBoB,MAAMC,MAAM,CAACL,GAAGE,GAAGC;QACnBJ,OAAOO,IAAI,CAACF;IACd;IACA,OAAOL;AACT"}
@@ -1,24 +1,24 @@
1
1
  export declare class LeastSquare {
2
- private _sampleCount;
3
- private readonly _aTa;
4
- private readonly _aTb;
5
- constructor(unknownCount: number);
6
- clear(): void;
7
- /**
8
- * Computes the least squares solution for the current data.
9
- *
10
- * @returns An array of numbers representing the solution vector if the computation is successful
11
- * and there are enough samples otherwise, returns `undefined`.
12
- *
13
- * The method first checks if the number of samples is sufficient to solve the system.
14
- * It then attempts to solve the symmetric linear system using the stored matrices.
15
- * If the computation fails (e.g., due to a singular matrix), it returns `undefined`.
16
- */
17
- compute(): number[] | undefined;
18
- /**
19
- * Adds a new equation to the least squares system by updating the internal matrix.
20
- * @param leftHandSide - An array of coefficients representing the left-hand side of the equation.
21
- * @param rightHandSide - The constant value on the right-hand side of the equation.
22
- */
23
- addEquation(leftHandSide: number[], rightHandSide: number): void;
2
+ private _sampleCount;
3
+ private readonly _aTa;
4
+ private readonly _aTb;
5
+ constructor(unknownCount: number);
6
+ clear(): void;
7
+ /**
8
+ * Computes the least squares solution for the current data.
9
+ *
10
+ * @returns An array of numbers representing the solution vector if the computation is successful
11
+ * and there are enough samples otherwise, returns `undefined`.
12
+ *
13
+ * The method first checks if the number of samples is sufficient to solve the system.
14
+ * It then attempts to solve the symmetric linear system using the stored matrices.
15
+ * If the computation fails (e.g., due to a singular matrix), it returns `undefined`.
16
+ */
17
+ compute(): number[] | undefined;
18
+ /**
19
+ * Adds a new equation to the least squares system by updating the internal matrix.
20
+ * @param leftHandSide - An array of coefficients representing the left-hand side of the equation.
21
+ * @param rightHandSide - The constant value on the right-hand side of the equation.
22
+ */
23
+ addEquation(leftHandSide: number[], rightHandSide: number): void;
24
24
  }
@@ -1,34 +1,68 @@
1
- import { Matrix as e, solve as t } from "ml-matrix";
2
- //#region libs/shared/reveal-components/src/foundation/utilities/cylinderFit/LeastSquare.ts
3
- var n = class {
4
- _sampleCount = 0;
5
- _aTa;
6
- _aTb;
7
- constructor(t) {
8
- this._aTa = new e(t, t), this._aTb = Array(t), this.clear();
9
- }
10
- clear() {
11
- this._sampleCount = 0, this._aTa.fill(0), this._aTb.fill(0);
12
- }
13
- compute() {
14
- if (!(this._sampleCount < this._aTa.rows)) try {
15
- return r(this._aTa), t(this._aTa, e.columnVector(this._aTb), !1).to1DArray();
16
- } catch {
17
- return;
18
- }
19
- }
20
- addEquation(e, t) {
21
- this._sampleCount++;
22
- let n = this._aTa.rows;
23
- for (let t = 0; t < n; t++) {
24
- let r = e[t];
25
- for (let i = t; i < n; i++) this._aTa.set(i, t, this._aTa.get(i, t) + r * e[i]);
26
- }
27
- for (let r = 0; r < n; r++) this._aTb[r] += t * e[r];
28
- }
29
- };
30
- function r(e) {
31
- for (let t = 1; t < e.rows; t++) for (let n = 0; n < t; n++) e.set(n, t, e.get(t, n));
1
+ import { Matrix, solve } from "ml-matrix";
2
+ export class LeastSquare {
3
+ constructor(unknownCount){
4
+ this._sampleCount = 0;
5
+ this._aTa = new Matrix(unknownCount, unknownCount);
6
+ this._aTb = new Array(unknownCount);
7
+ this.clear();
8
+ }
9
+ clear() {
10
+ this._sampleCount = 0;
11
+ this._aTa.fill(0);
12
+ this._aTb.fill(0);
13
+ }
14
+ /**
15
+ * Computes the least squares solution for the current data.
16
+ *
17
+ * @returns An array of numbers representing the solution vector if the computation is successful
18
+ * and there are enough samples otherwise, returns `undefined`.
19
+ *
20
+ * The method first checks if the number of samples is sufficient to solve the system.
21
+ * It then attempts to solve the symmetric linear system using the stored matrices.
22
+ * If the computation fails (e.g., due to a singular matrix), it returns `undefined`.
23
+ */ compute() {
24
+ if (this._sampleCount < this._aTa.rows) {
25
+ return undefined;
26
+ }
27
+ try {
28
+ makeSymmetric(this._aTa);
29
+ const solution = solve(this._aTa, Matrix.columnVector(this._aTb), false);
30
+ return solution.to1DArray();
31
+ } catch {
32
+ return undefined;
33
+ }
34
+ }
35
+ /**
36
+ * Adds a new equation to the least squares system by updating the internal matrix.
37
+ * @param leftHandSide - An array of coefficients representing the left-hand side of the equation.
38
+ * @param rightHandSide - The constant value on the right-hand side of the equation.
39
+ */ addEquation(leftHandSide, rightHandSide) {
40
+ this._sampleCount++;
41
+ const n = this._aTa.rows;
42
+ // Only fill out the lower triangle in the matrix
43
+ for(let j = 0; j < n; j++){
44
+ const a = leftHandSide[j];
45
+ for(let i = j; i < n; i++){
46
+ this._aTa.set(i, j, this._aTa.get(i, j) + a * leftHandSide[i]);
47
+ }
48
+ }
49
+ for(let i = 0; i < n; i++){
50
+ this._aTb[i] += rightHandSide * leftHandSide[i];
51
+ }
52
+ }
32
53
  }
33
- //#endregion
34
- export { n as LeastSquare };
54
+ /**
55
+ * Modifies the given square matrix to be symmetric by copying the lower triangle values
56
+ * to the corresponding upper triangle positions.
57
+ *
58
+ * @param matrix - The square matrix to be made symmetric. The matrix is modified in place.
59
+ * @throws {Error} If the provided matrix is not square (quadratic).
60
+ */ function makeSymmetric(matrix) {
61
+ for(let row = 1; row < matrix.rows; row++){
62
+ for(let col = 0; col < row; col++){
63
+ matrix.set(col, row, matrix.get(row, col));
64
+ }
65
+ }
66
+ }
67
+
68
+ //# sourceMappingURL=LeastSquare.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/foundation/utilities/cylinderFit/LeastSquare.ts"],"sourcesContent":["import { Matrix, solve } from 'ml-matrix';\n\nexport class LeastSquare {\n private _sampleCount: number = 0;\n\n // These are aTa*x = aTb in the normal equation system for least square problems\n // where aT is the transpose of the N x N matrix a, b is the right hand side vector and x is the solution vector\n private readonly _aTa: Matrix;\n private readonly _aTb: number[];\n\n public constructor(unknownCount: number) {\n this._aTa = new Matrix(unknownCount, unknownCount);\n this._aTb = new Array(unknownCount);\n this.clear();\n }\n\n public clear(): void {\n this._sampleCount = 0;\n this._aTa.fill(0);\n this._aTb.fill(0);\n }\n\n /**\n * Computes the least squares solution for the current data.\n *\n * @returns An array of numbers representing the solution vector if the computation is successful\n * and there are enough samples otherwise, returns `undefined`.\n *\n * The method first checks if the number of samples is sufficient to solve the system.\n * It then attempts to solve the symmetric linear system using the stored matrices.\n * If the computation fails (e.g., due to a singular matrix), it returns `undefined`.\n */\n public compute(): number[] | undefined {\n if (this._sampleCount < this._aTa.rows) {\n return undefined;\n }\n try {\n makeSymmetric(this._aTa);\n const solution = solve(this._aTa, Matrix.columnVector(this._aTb), false);\n return solution.to1DArray();\n } catch {\n return undefined;\n }\n }\n\n /**\n * Adds a new equation to the least squares system by updating the internal matrix.\n * @param leftHandSide - An array of coefficients representing the left-hand side of the equation.\n * @param rightHandSide - The constant value on the right-hand side of the equation.\n */\n public addEquation(leftHandSide: number[], rightHandSide: number): void {\n this._sampleCount++;\n\n const n = this._aTa.rows;\n\n // Only fill out the lower triangle in the matrix\n for (let j = 0; j < n; j++) {\n const a = leftHandSide[j];\n for (let i = j; i < n; i++) {\n this._aTa.set(i, j, this._aTa.get(i, j) + a * leftHandSide[i]);\n }\n }\n for (let i = 0; i < n; i++) {\n this._aTb[i] += rightHandSide * leftHandSide[i];\n }\n }\n}\n\n/**\n * Modifies the given square matrix to be symmetric by copying the lower triangle values\n * to the corresponding upper triangle positions.\n *\n * @param matrix - The square matrix to be made symmetric. The matrix is modified in place.\n * @throws {Error} If the provided matrix is not square (quadratic).\n */\nfunction makeSymmetric(matrix: Matrix): void {\n for (let row = 1; row < matrix.rows; row++) {\n for (let col = 0; col < row; col++) {\n matrix.set(col, row, matrix.get(row, col));\n }\n }\n}\n"],"names":["Matrix","solve","LeastSquare","unknownCount","_sampleCount","_aTa","_aTb","Array","clear","fill","compute","rows","undefined","makeSymmetric","solution","columnVector","to1DArray","addEquation","leftHandSide","rightHandSide","n","j","a","i","set","get","matrix","row","col"],"mappings":"AAAA,SAASA,MAAM,EAAEC,KAAK,QAAQ,YAAY;AAE1C,OAAO,MAAMC;IAQX,YAAmBC,YAAoB,CAAE;aAPjCC,eAAuB;QAQ7B,IAAI,CAACC,IAAI,GAAG,IAAIL,OAAOG,cAAcA;QACrC,IAAI,CAACG,IAAI,GAAG,IAAIC,MAAMJ;QACtB,IAAI,CAACK,KAAK;IACZ;IAEOA,QAAc;QACnB,IAAI,CAACJ,YAAY,GAAG;QACpB,IAAI,CAACC,IAAI,CAACI,IAAI,CAAC;QACf,IAAI,CAACH,IAAI,CAACG,IAAI,CAAC;IACjB;IAEA;;;;;;;;;GASC,GACD,AAAOC,UAAgC;QACrC,IAAI,IAAI,CAACN,YAAY,GAAG,IAAI,CAACC,IAAI,CAACM,IAAI,EAAE;YACtC,OAAOC;QACT;QACA,IAAI;YACFC,cAAc,IAAI,CAACR,IAAI;YACvB,MAAMS,WAAWb,MAAM,IAAI,CAACI,IAAI,EAAEL,OAAOe,YAAY,CAAC,IAAI,CAACT,IAAI,GAAG;YAClE,OAAOQ,SAASE,SAAS;QAC3B,EAAE,OAAM;YACN,OAAOJ;QACT;IACF;IAEA;;;;GAIC,GACD,AAAOK,YAAYC,YAAsB,EAAEC,aAAqB,EAAQ;QACtE,IAAI,CAACf,YAAY;QAEjB,MAAMgB,IAAI,IAAI,CAACf,IAAI,CAACM,IAAI;QAExB,iDAAiD;QACjD,IAAK,IAAIU,IAAI,GAAGA,IAAID,GAAGC,IAAK;YAC1B,MAAMC,IAAIJ,YAAY,CAACG,EAAE;YACzB,IAAK,IAAIE,IAAIF,GAAGE,IAAIH,GAAGG,IAAK;gBAC1B,IAAI,CAAClB,IAAI,CAACmB,GAAG,CAACD,GAAGF,GAAG,IAAI,CAAChB,IAAI,CAACoB,GAAG,CAACF,GAAGF,KAAKC,IAAIJ,YAAY,CAACK,EAAE;YAC/D;QACF;QACA,IAAK,IAAIA,IAAI,GAAGA,IAAIH,GAAGG,IAAK;YAC1B,IAAI,CAACjB,IAAI,CAACiB,EAAE,IAAIJ,gBAAgBD,YAAY,CAACK,EAAE;QACjD;IACF;AACF;AAEA;;;;;;CAMC,GACD,SAASV,cAAca,MAAc;IACnC,IAAK,IAAIC,MAAM,GAAGA,MAAMD,OAAOf,IAAI,EAAEgB,MAAO;QAC1C,IAAK,IAAIC,MAAM,GAAGA,MAAMD,KAAKC,MAAO;YAClCF,OAAOF,GAAG,CAACI,KAAKD,KAAKD,OAAOD,GAAG,CAACE,KAAKC;QACvC;IACF;AACF"}
@@ -1,19 +1,19 @@
1
- import { Matrix4, Vector3 } from 'three';
2
- import { Cylinder } from '../primitives/Cylinder';
1
+ import { Matrix4, Vector3 } from "three";
2
+ import { type Cylinder } from "../primitives/Cylinder";
3
3
  export declare const UP_VECTOR: Vector3;
4
4
  export declare class LeastSquareCylinderResult {
5
- height: number;
6
- radius: number;
7
- readonly center: Vector3;
8
- private readonly _axis;
9
- rms: number;
10
- angularCoverage: number;
11
- get axis(): Vector3;
12
- set axis(value: Vector3);
13
- get centerA(): Vector3;
14
- get centerB(): Vector3;
15
- constructor(center: Vector3, axis: Vector3, radius: number, height: number);
16
- getTranslationRotationMatrix(): Matrix4;
17
- copyTo(cylinder: Cylinder): void;
5
+ height: number;
6
+ radius: number;
7
+ readonly center: Vector3;
8
+ private readonly _axis;
9
+ rms: number;
10
+ angularCoverage: number;
11
+ get axis(): Vector3;
12
+ set axis(value: Vector3);
13
+ get centerA(): Vector3;
14
+ get centerB(): Vector3;
15
+ constructor(center: Vector3, axis: Vector3, radius: number, height: number);
16
+ getTranslationRotationMatrix(): Matrix4;
17
+ copyTo(cylinder: Cylinder): void;
18
18
  }
19
19
  export declare function getTranslationRotationMatrix(axis: Vector3, center: Vector3): Matrix4;
@@ -1,37 +1,45 @@
1
- import { Matrix4 as e, Quaternion as t, Vector3 as n } from "three";
2
- //#region libs/shared/reveal-components/src/foundation/utilities/cylinderFit/LeastSquareCylinderResult.ts
3
- var r = new n(0, 0, 1), i = class {
4
- height;
5
- radius;
6
- center = new n();
7
- _axis = new n();
8
- rms = NaN;
9
- angularCoverage = NaN;
10
- get axis() {
11
- return this._axis;
12
- }
13
- set axis(e) {
14
- this._axis.copy(e), this._axis.normalize(), this._axis.z < 0 && this._axis.negate();
15
- }
16
- get centerA() {
17
- return this.center.clone().addScaledVector(this.axis, this.height / 2);
18
- }
19
- get centerB() {
20
- return this.center.clone().addScaledVector(this.axis, -this.height / 2);
21
- }
22
- constructor(e, t, n, r) {
23
- this.center.copy(e), this.axis = t, this.radius = n, this.height = r;
24
- }
25
- getTranslationRotationMatrix() {
26
- return a(this.axis, this.center);
27
- }
28
- copyTo(e) {
29
- e.radius = this.radius, e.centerA.copy(this.centerA), e.centerB.copy(this.centerB);
30
- }
31
- };
32
- function a(n, i) {
33
- let a = new t().setFromUnitVectors(r, n.clone().normalize());
34
- return new e().makeRotationFromQuaternion(a).setPosition(i);
1
+ import { Matrix4, Quaternion, Vector3 } from "three";
2
+ export const UP_VECTOR = new Vector3(0, 0, 1);
3
+ export class LeastSquareCylinderResult {
4
+ get axis() {
5
+ return this._axis;
6
+ }
7
+ set axis(value) {
8
+ this._axis.copy(value);
9
+ this._axis.normalize();
10
+ if (this._axis.z < 0) {
11
+ this._axis.negate();
12
+ }
13
+ }
14
+ get centerA() {
15
+ return this.center.clone().addScaledVector(this.axis, this.height / 2);
16
+ }
17
+ get centerB() {
18
+ return this.center.clone().addScaledVector(this.axis, -this.height / 2);
19
+ }
20
+ constructor(center, axis, radius, height){
21
+ this.center = new Vector3();
22
+ this._axis = new Vector3(); // Will be normalized with Z >= 0
23
+ this.rms = Number.NaN; // Root mean square of the fit, 0 is perfect fit
24
+ this.angularCoverage = Number.NaN; // Fraction of angles covered by points, 0 to 1, should be close to 1 if equal distributes points
25
+ this.center.copy(center);
26
+ this.axis = axis;
27
+ this.radius = radius;
28
+ this.height = height;
29
+ }
30
+ getTranslationRotationMatrix() {
31
+ return getTranslationRotationMatrix(this.axis, this.center);
32
+ }
33
+ copyTo(cylinder) {
34
+ cylinder.radius = this.radius;
35
+ cylinder.centerA.copy(this.centerA);
36
+ cylinder.centerB.copy(this.centerB);
37
+ }
35
38
  }
36
- //#endregion
37
- export { i as LeastSquareCylinderResult, r as UP_VECTOR, a as getTranslationRotationMatrix };
39
+ export function getTranslationRotationMatrix(axis, center) {
40
+ const quaternion = new Quaternion().setFromUnitVectors(UP_VECTOR, axis.clone().normalize());
41
+ const matrix = new Matrix4().makeRotationFromQuaternion(quaternion);
42
+ return matrix.setPosition(center);
43
+ }
44
+
45
+ //# sourceMappingURL=LeastSquareCylinderResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/foundation/utilities/cylinderFit/LeastSquareCylinderResult.ts"],"sourcesContent":["import { Matrix4, Quaternion, Vector3 } from 'three';\n\nimport { type Cylinder } from '../primitives/Cylinder';\n\nexport const UP_VECTOR: Vector3 = new Vector3(0, 0, 1);\n\nexport class LeastSquareCylinderResult {\n public height: number;\n public radius: number;\n public readonly center: Vector3 = new Vector3();\n private readonly _axis: Vector3 = new Vector3(); // Will be normalized with Z >= 0\n\n public rms: number = Number.NaN; // Root mean square of the fit, 0 is perfect fit\n public angularCoverage: number = Number.NaN; // Fraction of angles covered by points, 0 to 1, should be close to 1 if equal distributes points\n\n get axis(): Vector3 {\n return this._axis;\n }\n\n set axis(value: Vector3) {\n this._axis.copy(value);\n this._axis.normalize();\n if (this._axis.z < 0) {\n this._axis.negate();\n }\n }\n\n get centerA(): Vector3 {\n return this.center.clone().addScaledVector(this.axis, this.height / 2);\n }\n\n get centerB(): Vector3 {\n return this.center.clone().addScaledVector(this.axis, -this.height / 2);\n }\n\n constructor(center: Vector3, axis: Vector3, radius: number, height: number) {\n this.center.copy(center);\n this.axis = axis;\n this.radius = radius;\n this.height = height;\n }\n\n public getTranslationRotationMatrix(): Matrix4 {\n return getTranslationRotationMatrix(this.axis, this.center);\n }\n\n public copyTo(cylinder: Cylinder): void {\n cylinder.radius = this.radius;\n cylinder.centerA.copy(this.centerA);\n cylinder.centerB.copy(this.centerB);\n }\n}\n\nexport function getTranslationRotationMatrix(\n axis: Vector3,\n center: Vector3\n): Matrix4 {\n const quaternion = new Quaternion().setFromUnitVectors(\n UP_VECTOR,\n axis.clone().normalize()\n );\n const matrix = new Matrix4().makeRotationFromQuaternion(quaternion);\n return matrix.setPosition(center);\n}\n"],"names":["Matrix4","Quaternion","Vector3","UP_VECTOR","LeastSquareCylinderResult","axis","_axis","value","copy","normalize","z","negate","centerA","center","clone","addScaledVector","height","centerB","radius","rms","Number","NaN","angularCoverage","getTranslationRotationMatrix","copyTo","cylinder","quaternion","setFromUnitVectors","matrix","makeRotationFromQuaternion","setPosition"],"mappings":"AAAA,SAASA,OAAO,EAAEC,UAAU,EAAEC,OAAO,QAAQ,QAAQ;AAIrD,OAAO,MAAMC,YAAqB,IAAID,QAAQ,GAAG,GAAG,GAAG;AAEvD,OAAO,MAAME;IASX,IAAIC,OAAgB;QAClB,OAAO,IAAI,CAACC,KAAK;IACnB;IAEA,IAAID,KAAKE,KAAc,EAAE;QACvB,IAAI,CAACD,KAAK,CAACE,IAAI,CAACD;QAChB,IAAI,CAACD,KAAK,CAACG,SAAS;QACpB,IAAI,IAAI,CAACH,KAAK,CAACI,CAAC,GAAG,GAAG;YACpB,IAAI,CAACJ,KAAK,CAACK,MAAM;QACnB;IACF;IAEA,IAAIC,UAAmB;QACrB,OAAO,IAAI,CAACC,MAAM,CAACC,KAAK,GAAGC,eAAe,CAAC,IAAI,CAACV,IAAI,EAAE,IAAI,CAACW,MAAM,GAAG;IACtE;IAEA,IAAIC,UAAmB;QACrB,OAAO,IAAI,CAACJ,MAAM,CAACC,KAAK,GAAGC,eAAe,CAAC,IAAI,CAACV,IAAI,EAAE,CAAC,IAAI,CAACW,MAAM,GAAG;IACvE;IAEA,YAAYH,MAAe,EAAER,IAAa,EAAEa,MAAc,EAAEF,MAAc,CAAE;aA1B5DH,SAAkB,IAAIX;aACrBI,QAAiB,IAAIJ,WAAW,iCAAiC;aAE3EiB,MAAcC,OAAOC,GAAG,EAAE,gDAAgD;aAC1EC,kBAA0BF,OAAOC,GAAG,EAAE,iGAAiG;QAuB5I,IAAI,CAACR,MAAM,CAACL,IAAI,CAACK;QACjB,IAAI,CAACR,IAAI,GAAGA;QACZ,IAAI,CAACa,MAAM,GAAGA;QACd,IAAI,CAACF,MAAM,GAAGA;IAChB;IAEOO,+BAAwC;QAC7C,OAAOA,6BAA6B,IAAI,CAAClB,IAAI,EAAE,IAAI,CAACQ,MAAM;IAC5D;IAEOW,OAAOC,QAAkB,EAAQ;QACtCA,SAASP,MAAM,GAAG,IAAI,CAACA,MAAM;QAC7BO,SAASb,OAAO,CAACJ,IAAI,CAAC,IAAI,CAACI,OAAO;QAClCa,SAASR,OAAO,CAACT,IAAI,CAAC,IAAI,CAACS,OAAO;IACpC;AACF;AAEA,OAAO,SAASM,6BACdlB,IAAa,EACbQ,MAAe;IAEf,MAAMa,aAAa,IAAIzB,aAAa0B,kBAAkB,CACpDxB,WACAE,KAAKS,KAAK,GAAGL,SAAS;IAExB,MAAMmB,SAAS,IAAI5B,UAAU6B,0BAA0B,CAACH;IACxD,OAAOE,OAAOE,WAAW,CAACjB;AAC5B"}