@cognite/reveal-components 1.0.2 → 1.48552.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +27 -13
  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/domains/primitives/box/BoxView.ts"],"sourcesContent":["import {\n Mesh,\n MeshPhongMaterial,\n type Object3D,\n DoubleSide,\n LineSegments,\n LineBasicMaterial,\n Vector3,\n type Matrix4,\n RingGeometry,\n Color,\n type Sprite,\n type Camera,\n CircleGeometry,\n type Material,\n FrontSide,\n type PerspectiveCamera,\n Vector2,\n} from 'three';\nimport { LineMaterial } from 'three/examples/jsm/lines/LineMaterial.js';\nimport { Wireframe } from 'three/examples/jsm/lines/Wireframe.js';\n\nimport {\n CDF_TO_VIEWER_TRANSFORMATION,\n type CustomObjectIntersectInput,\n type CustomObjectIntersection,\n Vector3Pool,\n} from '@cognite/reveal';\n\nimport { type DomainObject } from '../../../foundation/domainObjects/DomainObject';\nimport { Changes } from '../../../foundation/domainObjectsHelpers/Changes';\nimport { type DomainObjectChange } from '../../../foundation/domainObjectsHelpers/DomainObjectChange';\nimport { type DomainObjectIntersection } from '../../../foundation/domainObjectsHelpers/DomainObjectIntersection';\nimport { FocusType } from '../../../foundation/domainObjectsHelpers/FocusType';\nimport { Quantity } from '../../../foundation/domainObjectsHelpers/Quantity';\nimport { convertFromViewerCoordinates } from '../../../foundation/renderTarget/convertCoordinates';\nimport { clear } from '../../../foundation/utilities/extensions/arrayUtils';\nimport { Range1 } from '../../../foundation/utilities/geometry/Range1';\nimport { updatePolygonOffset } from '../../../foundation/utilities/misc/defaultPolygonOffset';\nimport { Box } from '../../../foundation/utilities/primitives/Box';\nimport { BoxUtils } from '../../../foundation/utilities/primitives/BoxUtils';\nimport { PrimitiveType } from '../../../foundation/utilities/primitives/PrimitiveType';\nimport { createSpriteWithText } from '../../../foundation/utilities/sprites/createSprite';\nimport { GroupThreeView } from '../../../foundation/views/GroupThreeView';\nimport { BoxFace } from '../common/BoxFace';\nimport { PrimitivePickInfo } from '../common/PrimitivePickInfo';\nimport { type PrimitiveRenderStyle } from '../common/PrimitiveRenderStyle';\nimport { type SolidPrimitiveRenderStyle } from '../common/SolidPrimitiveRenderStyle';\n\nimport { type BoxDomainObject } from './BoxDomainObject';\n\nconst RELATIVE_ROTATION_RADIUS = new Range1(0.6, 0.75);\nconst RELATIVE_CORNER_DISTANCE = 0.2;\nconst RELATIVE_RESIZE_RADIUS_FOR_POINT = 0.5;\nconst RELATIVE_RESIZE_RADIUS_BOX = 0.15;\n\nconst ARROW_AND_RING_COLOR = new Color(1, 1, 1);\nconst TOP_FACE = new BoxFace(2);\nconst CIRCULAR_SEGMENTS = 32;\nconst RENDER_ORDER = 100;\n\nexport class BoxView extends GroupThreeView<BoxDomainObject> {\n // ==================================================\n // INSTANCE FIELDS\n // ==================================================\n\n private readonly _sprites: Array<Sprite | undefined> = [];\n private readonly _visibleFaces: boolean[] = new Array(6); // Just for avoiding allocation\n\n // ==================================================\n // INSTANCE PROPERTIES\n // ==================================================\n\n protected override get style(): SolidPrimitiveRenderStyle {\n return super.style as SolidPrimitiveRenderStyle;\n }\n\n // ==================================================\n // OVERRIDES of BaseView\n // ==================================================\n\n public override update(change: DomainObjectChange): void {\n super.update(change);\n if (\n change.isChanged(\n Changes.selected,\n Changes.focus,\n Changes.renderStyle,\n Changes.color,\n Changes.unit\n )\n ) {\n this.removeChildren();\n this.invalidateBoundingBox();\n this.invalidateRenderTarget();\n }\n }\n\n // ==================================================\n // OVERRIDES of ThreeView\n // ==================================================\n\n public override beforeRender(camera: PerspectiveCamera): void {\n super.beforeRender(camera);\n if (this.isEmpty) {\n return;\n }\n this.updateLabels(camera);\n }\n\n // ==================================================\n // OVERRIDES of GroupThreeView\n // ==================================================\n\n // TODO(BND3D-6342): Need to rename useDepthTest to hasDepthTest in Reveal\n // eslint-disable-next-line @eslint-react/hooks-extra/no-unnecessary-use-prefix -- this in an implementation detail of an interface in Reveal, it requires an update to Reveal first\n public override get useDepthTest(): boolean {\n const { domainObject } = this;\n if (\n domainObject.focusType === FocusType.Pending ||\n domainObject.isSelected\n ) {\n return false;\n }\n return this.style.depthTest;\n }\n\n protected override addChildren(): void {\n const { domainObject, style } = this;\n const matrix = this.getMatrix();\n\n const { focusType } = domainObject;\n if (style.showSolid) {\n this.addChild(this.createSolid(matrix));\n }\n if (style.showLines) {\n if (style.getLineWidth(domainObject.isSelected) === 1) {\n this.addChild(this.createLines(matrix));\n } else {\n this.addChild(this.createWireframe(matrix));\n }\n }\n if (showMarkers(focusType)) {\n const rotationMatrix = this.getRotationMatrix();\n this.addRotationRing(matrix, rotationMatrix);\n this.addEdgeCircles(matrix, rotationMatrix);\n }\n if (style.showLabel) {\n this.addLabels(matrix);\n } else if (focusType === FocusType.Rotation) {\n const face = domainObject.focusFace;\n if (face !== undefined) {\n const spriteHeight = this.getTextHeight(this.style.relativeTextSize);\n this.addChild(this.createRotationLabel(matrix, spriteHeight, face));\n }\n }\n }\n\n public override intersectIfCloser(\n intersectInput: CustomObjectIntersectInput,\n closestDistance: number | undefined\n ): undefined | CustomObjectIntersection {\n const { domainObject } = this;\n if (domainObject.focusType === FocusType.Pending) {\n return undefined; // Should never be picked\n }\n const matrix = this.getMatrix();\n const orientedBox = BoxUtils.createOrientedBox(matrix);\n\n const ray = intersectInput.raycaster.ray;\n const point = orientedBox.intersectRay(ray, newVector3());\n if (point === null) {\n return undefined;\n }\n const distanceToCamera = point.distanceTo(ray.origin);\n if (closestDistance !== undefined && closestDistance < distanceToCamera) {\n return undefined;\n }\n if (\n domainObject.hasClippingInIntersection &&\n !intersectInput.isVisible(point)\n ) {\n return undefined;\n }\n const positionAtFace = newVector3(point).applyMatrix4(matrix.invert());\n const boxFace = new BoxFace().fromPositionAtFace(positionAtFace);\n if (!this.isFaceVisible(boxFace)) {\n return undefined;\n }\n const cornerSign = new Vector3();\n const cdfPosition = convertFromViewerCoordinates(point);\n const focusType = this.getPickedFocusType(cdfPosition, boxFace, cornerSign);\n const customObjectIntersection: DomainObjectIntersection = {\n type: 'customObject',\n point,\n distanceToCamera,\n userData: new PrimitivePickInfo(boxFace, focusType, cornerSign),\n customObject: this,\n domainObject,\n };\n if (this.shouldPickBoundingBox) {\n customObjectIntersection.boundingBox = this.boundingBox;\n }\n return customObjectIntersection;\n }\n\n // ==================================================\n // INSTANCE METHODS: Getters\n // ==================================================\n\n private getTextHeight(relativeTextSize: number): number {\n return relativeTextSize * this.domainObject.box.diagonal;\n }\n\n private getFaceRadius(face: BoxFace): number {\n const { size } = this.domainObject.box;\n const size1 = size.getComponent(face.tangentIndex1);\n const size2 = size.getComponent(face.tangentIndex2);\n return (size1 + size2) / 4;\n }\n\n private getMatrix(): Matrix4 {\n const { domainObject } = this;\n const matrix = domainObject.box.getMatrix();\n matrix.premultiply(CDF_TO_VIEWER_TRANSFORMATION);\n return matrix;\n }\n\n private getRotationMatrix(): Matrix4 {\n const { domainObject } = this;\n const matrix = domainObject.box.getRotationMatrix();\n matrix.premultiply(CDF_TO_VIEWER_TRANSFORMATION);\n return matrix;\n }\n\n // ==================================================\n // INSTANCE METHODS: Create Object3D's\n // ==================================================\n\n private createSolid(matrix: Matrix4): Object3D | undefined {\n const { domainObject, style } = this;\n const material = new MeshPhongMaterial();\n updateSolidMaterial(material, domainObject, style);\n const geometry = BoxUtils.createUnitGeometry();\n const mesh = new Mesh(geometry, material);\n mesh.renderOrder = RENDER_ORDER;\n mesh.applyMatrix4(matrix);\n return mesh;\n }\n\n private createLines(matrix: Matrix4): Object3D | undefined {\n const { domainObject, style } = this;\n const material = new LineBasicMaterial();\n updateLineSegmentsMaterial(\n material,\n domainObject,\n style,\n this.useDepthTest\n );\n const geometry = BoxUtils.createLineSegmentsBufferGeometry();\n const result = new LineSegments(geometry, material);\n result.renderOrder = RENDER_ORDER;\n result.applyMatrix4(matrix);\n return result;\n }\n\n private createWireframe(matrix: Matrix4): Object3D | undefined {\n const { domainObject, style } = this;\n const material = new LineMaterial();\n updateWireframeMaterial(material, domainObject, style, this.useDepthTest);\n const geometry = BoxUtils.createLineSegmentsGeometry();\n const result = new Wireframe(geometry, material);\n result.renderOrder = RENDER_ORDER;\n result.applyMatrix4(matrix);\n return result;\n }\n\n private createRotationLabel(\n matrix: Matrix4,\n spriteHeight: number,\n face: BoxFace\n ): Sprite | undefined {\n if (!this.isFaceVisible(face)) {\n return undefined;\n }\n const { domainObject } = this;\n if (!domainObject.canRotateComponent(face.index)) {\n return undefined;\n }\n const degrees = domainObject.box.getRotationInDegrees(face.index);\n if (degrees === 0) {\n return undefined; // Not show when about 0\n }\n const text = this.getUnitSystem().toStringWithUnit(degrees, Quantity.Angle);\n const sprite = createSprite(text, this.style, spriteHeight);\n const faceCenter = face.getCenter(newVector3());\n faceCenter.applyMatrix4(matrix);\n adjustLabel(faceCenter, domainObject, spriteHeight);\n sprite.position.copy(faceCenter);\n return sprite;\n }\n\n private createPendingLabel(\n matrix: Matrix4,\n spriteHeight: number,\n face: BoxFace\n ): Sprite | undefined {\n if (!this.isFaceVisible(face)) {\n return undefined;\n }\n const sprite = createSprite('Pending', this.style, spriteHeight);\n const faceCenter = face.getCenter(newVector3());\n faceCenter.applyMatrix4(matrix);\n adjustLabel(faceCenter, this.domainObject, spriteHeight);\n sprite.position.copy(faceCenter);\n return sprite;\n }\n\n private createRotationRing(\n matrix: Matrix4,\n rotationMatrix: Matrix4,\n material: Material,\n face: BoxFace\n ): Mesh | undefined {\n const radius = this.getFaceRadius(face);\n\n const outerRadius = RELATIVE_ROTATION_RADIUS.max * radius;\n const innerRadius = RELATIVE_ROTATION_RADIUS.min * radius;\n const geometry = new RingGeometry(\n innerRadius,\n outerRadius,\n CIRCULAR_SEGMENTS\n );\n\n const result = new Mesh(geometry, material);\n result.renderOrder = RENDER_ORDER;\n\n const center = face.getCenter(newVector3());\n center.applyMatrix4(matrix);\n result.position.copy(center);\n\n rotateEdgeCircle(result, face, rotationMatrix);\n return result;\n }\n\n private createEdgeCircle(\n matrix: Matrix4,\n rotationMatrix: Matrix4,\n material: Material,\n face: BoxFace\n ): Mesh | undefined {\n const { domainObject } = this;\n const adjacentSize1 = domainObject.box.size.getComponent(\n face.tangentIndex1\n );\n if (!Box.isValidSize(adjacentSize1)) {\n return undefined;\n }\n const adjacentSize2 = domainObject.box.size.getComponent(\n face.tangentIndex2\n );\n if (!Box.isValidSize(adjacentSize2)) {\n return undefined;\n }\n const radius =\n getRelativeResizeRadius(domainObject) * this.getFaceRadius(face);\n const geometry = new CircleGeometry(radius, CIRCULAR_SEGMENTS);\n material.transparent = true;\n material.depthWrite = false;\n const result = new Mesh(geometry, material);\n result.renderOrder = RENDER_ORDER;\n\n const center = face.getCenter(newVector3());\n center.applyMatrix4(matrix);\n result.position.copy(center);\n\n rotateEdgeCircle(result, face, rotationMatrix);\n return result;\n }\n\n // ==================================================\n // INSTANCE METHODS: Add Object3D's\n // ==================================================\n\n private addLabels(matrix: Matrix4): void {\n const { domainObject, style } = this;\n const spriteHeight = this.getTextHeight(style.relativeTextSize);\n clear(this._sprites);\n\n const unitSystem = this.getUnitSystem();\n for (let index = 0; index < 3; index++) {\n const size = domainObject.box.size.getComponent(index);\n if (!Box.isValidSize(size)) {\n this._sprites.push(undefined);\n continue;\n }\n const text = unitSystem.toStringWithUnit(size, Quantity.Length);\n const sprite = createSprite(text, style, spriteHeight);\n this._sprites.push(sprite);\n this.addChild(sprite);\n }\n const { focusType } = domainObject;\n if (focusType === FocusType.Pending && domainObject.box.hasArea) {\n this.addChild(this.createPendingLabel(matrix, spriteHeight, TOP_FACE));\n } else if (showRotationLabel(focusType)) {\n this.addChild(this.createRotationLabel(matrix, spriteHeight, TOP_FACE));\n }\n }\n\n private updateLabels(camera: Camera): void {\n const { domainObject, style } = this;\n const matrix = this.getMatrix();\n\n const rotationMatrix = this.getRotationMatrix();\n const centerOfBox = newVector3(domainObject.box.center);\n centerOfBox.applyMatrix4(CDF_TO_VIEWER_TRANSFORMATION);\n const cameraPosition = camera.getWorldPosition(newVector3());\n const cameraDirection = centerOfBox.sub(cameraPosition).normalize();\n\n // Calculate which face of the box are visible\n const boxFace = new BoxFace(); // Due to reuse in both loops\n const visibleFaces = this._visibleFaces;\n for (const face of BoxFace.getAllFaces(boxFace)) {\n const normal = boxFace.getNormal(newVector3());\n normal.applyMatrix4(rotationMatrix);\n visibleFaces[face.face] = normal.dot(cameraDirection) < 0;\n }\n const spriteHeight = this.getTextHeight(style.relativeTextSize);\n\n // If the 2 adjacent faces are visible, show the sprite along the edge\n for (let index = 0; index < this._sprites.length; index++) {\n const sprite = this._sprites[index];\n if (sprite === undefined) {\n continue;\n }\n sprite.visible = false;\n for (let i = 0; i < 2; i++) {\n const face1 = (index + (i === 0 ? 1 : 4)) % 6;\n if (!visibleFaces[face1]) {\n continue;\n }\n boxFace.face = face1;\n const showFace1 = this.isFaceVisible(boxFace);\n const faceCenter1 = boxFace.getCenter(newVector3());\n for (let j = 0; j < 2; j++) {\n const face2 = (index + (j === 0 ? 2 : 5)) % 6;\n if (!visibleFaces[face2]) {\n continue;\n }\n boxFace.face = face2;\n if (!showFace1 && !this.isFaceVisible(boxFace)) {\n continue;\n }\n const faceCenter2 = boxFace.getCenter(newVector3());\n const edgeCenter = faceCenter2.add(faceCenter1);\n edgeCenter.applyMatrix4(matrix);\n\n adjustLabel(edgeCenter, domainObject, spriteHeight);\n\n // Move the sprite slightly away from the box to avoid z-fighting\n edgeCenter.addScaledVector(cameraDirection, -spriteHeight / 2);\n sprite.position.copy(edgeCenter);\n sprite.visible = true;\n break;\n }\n if (sprite.visible) {\n break;\n }\n }\n }\n }\n\n private addEdgeCircles(matrix: Matrix4, rotationMatrix: Matrix4): void {\n const { domainObject } = this;\n let selectedFace = domainObject.focusFace;\n if (this.domainObject.focusType !== FocusType.Face) {\n selectedFace = undefined;\n }\n const material = new MeshPhongMaterial();\n updateMarkerMaterial(material, false, this.useDepthTest);\n for (const face of BoxFace.getAllFaces()) {\n if (!this.isFaceVisible(face)) {\n continue;\n }\n if (selectedFace !== undefined && selectedFace.equals(face)) {\n continue;\n }\n this.addChild(\n this.createEdgeCircle(matrix, rotationMatrix, material, face)\n );\n }\n if (selectedFace !== undefined && this.isFaceVisible(selectedFace)) {\n const material = new MeshPhongMaterial();\n updateMarkerMaterial(material, true, this.useDepthTest);\n this.addChild(\n this.createEdgeCircle(matrix, rotationMatrix, material, selectedFace)\n );\n }\n }\n\n private addRotationRing(matrix: Matrix4, rotationMatrix: Matrix4): void {\n const { domainObject } = this;\n let selectedFace = domainObject.focusFace;\n if (this.domainObject.focusType !== FocusType.Rotation) {\n selectedFace = undefined;\n } else if (\n selectedFace !== undefined &&\n !domainObject.canRotateComponent(selectedFace.index)\n ) {\n selectedFace = undefined;\n }\n for (const face of BoxFace.getAllFaces()) {\n if (!this.isFaceVisible(face)) {\n continue;\n }\n if (!domainObject.canRotateComponent(face.index)) {\n continue;\n }\n if (selectedFace !== undefined && selectedFace.equals(face)) {\n continue;\n }\n const material = new MeshPhongMaterial();\n updateMarkerMaterial(material, false, this.useDepthTest);\n material.clippingPlanes = BoxFace.createClippingPlanes(\n matrix,\n face.index\n );\n this.addChild(\n this.createRotationRing(matrix, rotationMatrix, material, face)\n );\n }\n if (selectedFace !== undefined && this.isFaceVisible(selectedFace)) {\n const material = new MeshPhongMaterial();\n updateMarkerMaterial(material, true, this.useDepthTest);\n material.clippingPlanes = BoxFace.createClippingPlanes(\n matrix,\n selectedFace.index\n );\n this.addChild(\n this.createRotationRing(matrix, rotationMatrix, material, selectedFace)\n );\n }\n }\n\n // ==================================================\n // INSTANCE METHODS: For picking\n // ==================================================\n\n private getPickedFocusType(\n realPosition: Vector3,\n face: BoxFace,\n outputCornerSign: Vector3\n ): FocusType {\n const { domainObject } = this;\n const scale = newVector3().setScalar(this.getFaceRadius(face));\n const scaledMatrix = domainObject.box.getScaledMatrix(scale);\n scaledMatrix.invert();\n const scaledPositionAtFace =\n newVector3(realPosition).applyMatrix4(scaledMatrix);\n const planePoint = face.getPlanePoint(scaledPositionAtFace);\n const relativeDistance = planePoint.length();\n\n if (relativeDistance < getRelativeResizeRadius(domainObject)) {\n return FocusType.Face;\n }\n if (domainObject.canMoveCorners()) {\n outputCornerSign.copy(this.getCornerSign(realPosition, face));\n const corner = this.getCorner(outputCornerSign, face);\n if (\n realPosition.distanceTo(corner) <\n RELATIVE_CORNER_DISTANCE * this.getFaceRadius(face)\n ) {\n return FocusType.Corner;\n }\n }\n if (domainObject.canRotateComponent(face.index)) {\n if (RELATIVE_ROTATION_RADIUS.isInside(relativeDistance)) {\n return FocusType.Rotation;\n }\n }\n return FocusType.Body;\n }\n\n private getCornerSign(realPosition: Vector3, face: BoxFace): Vector3 {\n const { domainObject } = this;\n const scale = newVector3().setScalar(this.getFaceRadius(face));\n const scaledMatrix = domainObject.box.getScaledMatrix(scale);\n scaledMatrix.invert();\n const scaledPositionAtFace = realPosition\n .clone()\n .applyMatrix4(scaledMatrix);\n scaledPositionAtFace.setComponent(face.index, 0);\n scaledPositionAtFace.setComponent(\n face.tangentIndex1,\n Math.sign(scaledPositionAtFace.getComponent(face.tangentIndex1))\n );\n scaledPositionAtFace.setComponent(\n face.tangentIndex2,\n Math.sign(scaledPositionAtFace.getComponent(face.tangentIndex2))\n );\n return scaledPositionAtFace;\n }\n\n private getCorner(cornerSign: Vector3, face: BoxFace): Vector3 {\n const { domainObject } = this;\n const center = face.getCenter(new Vector3()); // In range (-0.5, 0.5)\n const corner = center.addScaledVector(cornerSign, 0.5);\n const matrix = domainObject.box.getMatrix();\n corner.applyMatrix4(matrix);\n return corner;\n }\n\n private isFaceVisible(face: BoxFace): boolean {\n const { domainObject } = this;\n switch (domainObject.primitiveType) {\n case PrimitiveType.VerticalArea:\n return face.index === 1; // Y Face visible\n\n case PrimitiveType.HorizontalArea:\n return face.index === 2; // Z face visible\n }\n return true;\n }\n}\n\n// ==================================================\n// PRIVATE FUNCTIONS: Update materials\n// ==================================================\n\nfunction showRotationLabel(focusType: FocusType): boolean {\n switch (focusType) {\n case FocusType.Face:\n case FocusType.Body:\n case FocusType.Pending:\n return false;\n default:\n return true;\n }\n}\n\nfunction showMarkers(focusType: FocusType): boolean {\n switch (focusType) {\n case FocusType.Pending:\n case FocusType.None:\n return false;\n default:\n return true;\n }\n}\n\n// ==================================================\n// PRIVATE FUNCTIONS: Update materials\n// ==================================================\n\nexport function updateSolidMaterial(\n material: MeshPhongMaterial,\n domainObject: DomainObject,\n style: SolidPrimitiveRenderStyle\n): void {\n updatePolygonOffset(material);\n const color = domainObject.getColorByColorType(style.colorType);\n material.color = color;\n material.opacity = style.getSolidOpacity(domainObject.isSelected);\n material.transparent = true;\n material.shininess = 100;\n material.emissive = color;\n material.emissiveIntensity = 0.2;\n material.side = DoubleSide;\n material.flatShading = true;\n material.depthWrite = false;\n material.depthTest = style.depthTest;\n}\n\nexport function updateLineSegmentsMaterial(\n material: LineBasicMaterial,\n domainObject: DomainObject,\n style: SolidPrimitiveRenderStyle,\n depthTest: boolean\n): void {\n const color = domainObject.getColorByColorType(style.colorType);\n material.color = color;\n material.transparent = true;\n material.depthWrite = false;\n material.depthTest = depthTest;\n}\n\nexport function updateWireframeMaterial(\n material: LineMaterial,\n domainObject: DomainObject,\n style: SolidPrimitiveRenderStyle,\n depthTest: boolean\n): void {\n const color = domainObject.getColorByColorType(style.colorType);\n material.color = color;\n material.transparent = true;\n material.depthWrite = false;\n material.depthTest = depthTest;\n material.linewidth = style.getLineWidth(domainObject.isSelected);\n material.resolution = new Vector2(1000, 1000);\n material.worldUnits = false;\n}\n\nexport function updateMarkerMaterial(\n material: MeshPhongMaterial,\n hasFocus: boolean,\n depthTest: boolean\n): void {\n updatePolygonOffset(material);\n material.color = ARROW_AND_RING_COLOR;\n material.transparent = true;\n material.emissive = ARROW_AND_RING_COLOR;\n material.emissiveIntensity = hasFocus ? 0.9 : 0.2;\n material.side = FrontSide;\n material.flatShading = true;\n material.depthWrite = false;\n material.depthTest = depthTest;\n}\n\n// ==================================================\n// PRIVATE FUNCTIONS: Create object3D's\n// ==================================================\n\nfunction adjustLabel(\n point: Vector3,\n domainObject: BoxDomainObject,\n spriteHeight: number\n): void {\n if (domainObject.primitiveType !== PrimitiveType.VerticalArea) {\n point.y += (1.1 * spriteHeight) / 2;\n }\n}\n\n// ==================================================\n// PRIVATE FUNCTIONS: Misc\n// ==================================================\n\nexport function rotateEdgeCircle(\n mesh: Mesh,\n face: BoxFace,\n rotationMatrix: Matrix4\n): void {\n // Must be rotated correctly because of sideness\n mesh.rotation.setFromRotationMatrix(rotationMatrix);\n\n switch (face.face) {\n case 0:\n mesh.rotateY(Math.PI / 2);\n break;\n case 3:\n mesh.rotateY(-Math.PI / 2);\n break;\n case 2:\n mesh.rotateY(0);\n break;\n case 5:\n mesh.rotateY(Math.PI);\n break;\n case 1:\n mesh.rotateX(-Math.PI / 2);\n break;\n case 4:\n mesh.rotateX(Math.PI / 2);\n break;\n }\n}\n\nexport function createSprite(\n text: string,\n style: PrimitiveRenderStyle,\n height: number\n): Sprite {\n const result = createSpriteWithText(\n text,\n height,\n style.labelColor,\n style.labelBgColor\n );\n result.material.transparent = true;\n result.material.opacity = style.labelOpacity;\n result.material.depthTest = style.depthTest;\n result.renderOrder = RENDER_ORDER;\n return result;\n}\n\n// ==================================================\n// PRIVATE FUNCTIONS: Vector pool\n// ==================================================\n\nconst VECTOR_POOL = new Vector3Pool();\nfunction newVector3(copyFrom?: Vector3): Vector3 {\n return VECTOR_POOL.getNext(copyFrom);\n}\n\nfunction getRelativeResizeRadius(domainObject: BoxDomainObject): number {\n if (domainObject.primitiveType === PrimitiveType.Point) {\n return RELATIVE_RESIZE_RADIUS_FOR_POINT;\n }\n return RELATIVE_RESIZE_RADIUS_BOX;\n}\n"],"names":["Mesh","MeshPhongMaterial","DoubleSide","LineSegments","LineBasicMaterial","Vector3","RingGeometry","Color","CircleGeometry","FrontSide","Vector2","LineMaterial","Wireframe","CDF_TO_VIEWER_TRANSFORMATION","Vector3Pool","Changes","FocusType","Quantity","convertFromViewerCoordinates","clear","Range1","updatePolygonOffset","Box","BoxUtils","PrimitiveType","createSpriteWithText","GroupThreeView","BoxFace","PrimitivePickInfo","RELATIVE_ROTATION_RADIUS","RELATIVE_CORNER_DISTANCE","RELATIVE_RESIZE_RADIUS_FOR_POINT","RELATIVE_RESIZE_RADIUS_BOX","ARROW_AND_RING_COLOR","TOP_FACE","CIRCULAR_SEGMENTS","RENDER_ORDER","BoxView","style","update","change","isChanged","selected","focus","renderStyle","color","unit","removeChildren","invalidateBoundingBox","invalidateRenderTarget","beforeRender","camera","isEmpty","updateLabels","useDepthTest","domainObject","focusType","Pending","isSelected","depthTest","addChildren","matrix","getMatrix","showSolid","addChild","createSolid","showLines","getLineWidth","createLines","createWireframe","showMarkers","rotationMatrix","getRotationMatrix","addRotationRing","addEdgeCircles","showLabel","addLabels","Rotation","face","focusFace","undefined","spriteHeight","getTextHeight","relativeTextSize","createRotationLabel","intersectIfCloser","intersectInput","closestDistance","orientedBox","createOrientedBox","ray","raycaster","point","intersectRay","newVector3","distanceToCamera","distanceTo","origin","hasClippingInIntersection","isVisible","positionAtFace","applyMatrix4","invert","boxFace","fromPositionAtFace","isFaceVisible","cornerSign","cdfPosition","getPickedFocusType","customObjectIntersection","type","userData","customObject","shouldPickBoundingBox","boundingBox","box","diagonal","getFaceRadius","size","size1","getComponent","tangentIndex1","size2","tangentIndex2","premultiply","material","updateSolidMaterial","geometry","createUnitGeometry","mesh","renderOrder","updateLineSegmentsMaterial","createLineSegmentsBufferGeometry","result","updateWireframeMaterial","createLineSegmentsGeometry","canRotateComponent","index","degrees","getRotationInDegrees","text","getUnitSystem","toStringWithUnit","Angle","sprite","createSprite","faceCenter","getCenter","adjustLabel","position","copy","createPendingLabel","createRotationRing","radius","outerRadius","max","innerRadius","min","center","rotateEdgeCircle","createEdgeCircle","adjacentSize1","isValidSize","adjacentSize2","getRelativeResizeRadius","transparent","depthWrite","_sprites","unitSystem","push","Length","hasArea","showRotationLabel","centerOfBox","cameraPosition","getWorldPosition","cameraDirection","sub","normalize","visibleFaces","_visibleFaces","getAllFaces","normal","getNormal","dot","length","visible","i","face1","showFace1","faceCenter1","j","face2","faceCenter2","edgeCenter","add","addScaledVector","selectedFace","Face","updateMarkerMaterial","equals","clippingPlanes","createClippingPlanes","realPosition","outputCornerSign","scale","setScalar","scaledMatrix","getScaledMatrix","scaledPositionAtFace","planePoint","getPlanePoint","relativeDistance","canMoveCorners","getCornerSign","corner","getCorner","Corner","isInside","Body","clone","setComponent","Math","sign","primitiveType","VerticalArea","HorizontalArea","Array","None","getColorByColorType","colorType","opacity","getSolidOpacity","shininess","emissive","emissiveIntensity","side","flatShading","linewidth","resolution","worldUnits","hasFocus","y","rotation","setFromRotationMatrix","rotateY","PI","rotateX","height","labelColor","labelBgColor","labelOpacity","VECTOR_POOL","copyFrom","getNext","Point"],"mappings":"AAAA,SACEA,IAAI,EACJC,iBAAiB,EAEjBC,UAAU,EACVC,YAAY,EACZC,iBAAiB,EACjBC,OAAO,EAEPC,YAAY,EACZC,KAAK,EAGLC,cAAc,EAEdC,SAAS,EAETC,OAAO,QACF,QAAQ;AACf,SAASC,YAAY,QAAQ,2CAA2C;AACxE,SAASC,SAAS,QAAQ,wCAAwC;AAElE,SACEC,4BAA4B,EAG5BC,WAAW,QACN,kBAAkB;AAGzB,SAASC,OAAO,QAAQ,sDAAmD;AAG3E,SAASC,SAAS,QAAQ,wDAAqD;AAC/E,SAASC,QAAQ,QAAQ,uDAAoD;AAC7E,SAASC,4BAA4B,QAAQ,yDAAsD;AACnG,SAASC,KAAK,QAAQ,yDAAsD;AAC5E,SAASC,MAAM,QAAQ,mDAAgD;AACvE,SAASC,mBAAmB,QAAQ,6DAA0D;AAC9F,SAASC,GAAG,QAAQ,kDAA+C;AACnE,SAASC,QAAQ,QAAQ,uDAAoD;AAC7E,SAASC,aAAa,QAAQ,4DAAyD;AACvF,SAASC,oBAAoB,QAAQ,wDAAqD;AAC1F,SAASC,cAAc,QAAQ,8CAA2C;AAC1E,SAASC,OAAO,QAAQ,uBAAoB;AAC5C,SAASC,iBAAiB,QAAQ,iCAA8B;AAMhE,MAAMC,2BAA2B,IAAIT,OAAO,KAAK;AACjD,MAAMU,2BAA2B;AACjC,MAAMC,mCAAmC;AACzC,MAAMC,6BAA6B;AAEnC,MAAMC,uBAAuB,IAAI1B,MAAM,GAAG,GAAG;AAC7C,MAAM2B,WAAW,IAAIP,QAAQ;AAC7B,MAAMQ,oBAAoB;AAC1B,MAAMC,eAAe;AAErB,OAAO,MAAMC,gBAAgBX;IAQ3B,qDAAqD;IACrD,sBAAsB;IACtB,qDAAqD;IAErD,I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AA2B,EAC3BkN,MAAc;IAEd,MAAMnH,SAAS5G,qBACbmH,MACA4G,QACAlN,MAAMmN,UAAU,EAChBnN,MAAMoN,YAAY;IAEpBrH,OAAOR,QAAQ,CAACwC,WAAW,GAAG;IAC9BhC,OAAOR,QAAQ,CAAC0G,OAAO,GAAGjM,MAAMqN,YAAY;IAC5CtH,OAAOR,QAAQ,CAAClE,SAAS,GAAGrB,MAAMqB,SAAS;IAC3C0E,OAAOH,WAAW,GAAG9F;IACrB,OAAOiG;AACT;AAEA,qDAAqD;AACrD,iCAAiC;AACjC,qDAAqD;AAErD,MAAMuH,cAAc,IAAI9O;AACxB,SAASgF,WAAW+J,QAAkB;IACpC,OAAOD,YAAYE,OAAO,CAACD;AAC7B;AAEA,SAASzF,wBAAwB7G,YAA6B;IAC5D,IAAIA,aAAayK,aAAa,KAAKxM,cAAcuO,KAAK,EAAE;QACtD,OAAOhO;IACT;IACA,OAAOC;AACT"}
@@ -1,68 +1,68 @@
1
- import { Matrix4, Plane, Vector2, Vector3 } from 'three';
1
+ import { type Matrix4, Plane, Vector2, Vector3 } from "three";
2
2
  /**
3
- * Represents a face of a box.
4
- * Face is 0-5, where 0-2 are positive faces and 3-5 are negative faces as this:
5
- * Face 0, and 3 is towards X-axis
6
- * Face 1, and 4 is towards Y-axis
7
- * Face 2, and 5 is towards Z-axis
8
- */
3
+ * Represents a face of a box.
4
+ * Face is 0-5, where 0-2 are positive faces and 3-5 are negative faces as this:
5
+ * Face 0, and 3 is towards X-axis
6
+ * Face 1, and 4 is towards Y-axis
7
+ * Face 2, and 5 is towards Z-axis
8
+ */
9
9
  export declare class BoxFace {
10
- private _face;
11
- constructor(face?: number);
12
- get face(): number;
13
- set face(value: number);
14
- /**
15
- * Gets the axis index corresponding to this face.
16
- * @returns The axis index (0 for X, 1 for Y, 2 for Z).
17
- */
18
- get index(): number;
19
- /**
20
- * Gets the tangent index 1 corresponding to this face.
21
- * @returns The axis index (0 for X, 1 for Y, 2 for Z).
22
- */
23
- get tangentIndex1(): number;
24
- /**
25
- * Gets the tangent index 2 corresponding to this face.
26
- * @returns The axis index (0 for X, 1 for Y, 2 for Z).
27
- */
28
- get tangentIndex2(): number;
29
- /**
30
- * Gets the sign of the face.
31
- * Returns `1` if the face index is less than 3, otherwise returns `-1`.
32
- * This can be used to determine the orientation of the box face.
33
- */
34
- get sign(): number;
35
- copy(other: BoxFace): this;
36
- equals(other: BoxFace): boolean;
37
- /**
38
- * Determines the box face corresponding to the given position vector relative to the box center.
39
- * The face is selected based on the axis with the largest absolute value in the position vector.
40
- *
41
- * - If the x component is largest, sets the face to 0 (positive x) or 3 (negative x).
42
- * - If the y component is largest, sets the face to 1 (positive y) or 4 (negative y).
43
- * - If the z component is largest, sets the face to 2 (positive z) or 5 (negative z).
44
- *
45
- * @param positionAtFace - The position vector relative to the box center.
46
- * @returns The current instance with the updated face.
47
- */
48
- fromPositionAtFace(positionAtFace: Vector3): this;
49
- /**
50
- * Projects a 3D point onto the 2D plane corresponding to the current box face.
51
- *
52
- * The mapping of the 3D coordinates to 2D depends on the value of `this.face`:
53
- * - For faces 1 and 4, returns (x, z).
54
- * - For faces 2 and 5, returns (x, y).
55
- * - For all other faces, returns (y, z).
56
- *
57
- * @param positionAtFace - The 3D position to project onto the face's plane.
58
- * @returns A `Vector2` representing the projected 2D coordinates on the face's plane.
59
- */
60
- getPlanePoint(positionAtFace: Vector3): Vector2;
61
- getNormal(target?: Vector3): Vector3;
62
- getTangent1(target?: Vector3): Vector3;
63
- getTangent2(target?: Vector3): Vector3;
64
- getCenter(target?: Vector3): Vector3;
65
- static getAllFaces(target?: BoxFace): Generator<BoxFace>;
66
- static createClippingPlanes(matrix: Matrix4, exceptIndex?: number): Plane[];
67
- static equals(face: BoxFace | undefined, other: BoxFace | undefined): boolean;
10
+ private _face;
11
+ constructor(face?: number);
12
+ get face(): number;
13
+ set face(value: number);
14
+ /**
15
+ * Gets the axis index corresponding to this face.
16
+ * @returns The axis index (0 for X, 1 for Y, 2 for Z).
17
+ */
18
+ get index(): number;
19
+ /**
20
+ * Gets the tangent index 1 corresponding to this face.
21
+ * @returns The axis index (0 for X, 1 for Y, 2 for Z).
22
+ */
23
+ get tangentIndex1(): number;
24
+ /**
25
+ * Gets the tangent index 2 corresponding to this face.
26
+ * @returns The axis index (0 for X, 1 for Y, 2 for Z).
27
+ */
28
+ get tangentIndex2(): number;
29
+ /**
30
+ * Gets the sign of the face.
31
+ * Returns `1` if the face index is less than 3, otherwise returns `-1`.
32
+ * This can be used to determine the orientation of the box face.
33
+ */
34
+ get sign(): number;
35
+ copy(other: BoxFace): this;
36
+ equals(other: BoxFace): boolean;
37
+ /**
38
+ * Determines the box face corresponding to the given position vector relative to the box center.
39
+ * The face is selected based on the axis with the largest absolute value in the position vector.
40
+ *
41
+ * - If the x component is largest, sets the face to 0 (positive x) or 3 (negative x).
42
+ * - If the y component is largest, sets the face to 1 (positive y) or 4 (negative y).
43
+ * - If the z component is largest, sets the face to 2 (positive z) or 5 (negative z).
44
+ *
45
+ * @param positionAtFace - The position vector relative to the box center.
46
+ * @returns The current instance with the updated face.
47
+ */
48
+ fromPositionAtFace(positionAtFace: Vector3): this;
49
+ /**
50
+ * Projects a 3D point onto the 2D plane corresponding to the current box face.
51
+ *
52
+ * The mapping of the 3D coordinates to 2D depends on the value of `this.face`:
53
+ * - For faces 1 and 4, returns (x, z).
54
+ * - For faces 2 and 5, returns (x, y).
55
+ * - For all other faces, returns (y, z).
56
+ *
57
+ * @param positionAtFace - The 3D position to project onto the face's plane.
58
+ * @returns A `Vector2` representing the projected 2D coordinates on the face's plane.
59
+ */
60
+ getPlanePoint(positionAtFace: Vector3): Vector2;
61
+ getNormal(target?: Vector3): Vector3;
62
+ getTangent1(target?: Vector3): Vector3;
63
+ getTangent2(target?: Vector3): Vector3;
64
+ getCenter(target?: Vector3): Vector3;
65
+ static getAllFaces(target?: BoxFace): Generator<BoxFace>;
66
+ static createClippingPlanes(matrix: Matrix4, exceptIndex?: number): Plane[];
67
+ static equals(face: BoxFace | undefined, other: BoxFace | undefined): boolean;
68
68
  }
@@ -1,81 +1,182 @@
1
- import { Plane as e, Vector2 as t, Vector3 as n } from "three";
2
- //#region libs/shared/reveal-components/src/domains/primitives/common/BoxFace.ts
3
- var r = class r {
4
- _face = 0;
5
- constructor(e = 0) {
6
- if (!i(e)) throw Error("Invalid face in constructor " + e);
7
- this._face = e;
8
- }
9
- get face() {
10
- return this._face;
11
- }
12
- set face(e) {
13
- if (!i(e)) throw Error("Invalid face in setter" + e);
14
- this._face = e;
15
- }
16
- get index() {
17
- return this._face % 3;
18
- }
19
- get tangentIndex1() {
20
- return (this.index + 1) % 3;
21
- }
22
- get tangentIndex2() {
23
- return (this.index + 2) % 3;
24
- }
25
- get sign() {
26
- return this._face < 3 ? 1 : -1;
27
- }
28
- copy(e) {
29
- return this._face = e._face, this;
30
- }
31
- equals(e) {
32
- return this.face === e.face;
33
- }
34
- fromPositionAtFace(e) {
35
- let t = Math.abs(e.x), n = Math.abs(e.y), r = Math.abs(e.z);
36
- return this._face = t >= n && t >= r ? e.x > 0 ? 0 : 3 : n >= t && n >= r ? e.y > 0 ? 1 : 4 : e.z > 0 ? 2 : 5, this;
37
- }
38
- getPlanePoint(e) {
39
- switch (this.face) {
40
- case 1:
41
- case 4: return new t(e.x, e.z);
42
- case 2:
43
- case 5: return new t(e.x, e.y);
44
- default: return new t(e.y, e.z);
45
- }
46
- }
47
- getNormal(e) {
48
- return e === void 0 && (e = new n()), e.setScalar(0), e.setComponent(this.index, this.sign);
49
- }
50
- getTangent1(e) {
51
- return e === void 0 && (e = new n()), e.setScalar(0), e.setComponent(this.tangentIndex1, 1);
52
- }
53
- getTangent2(e) {
54
- return e === void 0 && (e = new n()), e.setScalar(0), e.setComponent(this.tangentIndex2, 1);
55
- }
56
- getCenter(e) {
57
- return e === void 0 && (e = new n()), e.setScalar(0), e.setComponent(this.index, this.sign * .5);
58
- }
59
- static *getAllFaces(e) {
60
- e === void 0 && (e = new r());
61
- for (let t = 0; t < 6; t++) e.face = t, yield e;
62
- }
63
- static createClippingPlanes(t, i) {
64
- let a = [], o = new n(), s = new n();
65
- for (let n of r.getAllFaces()) {
66
- if (i !== void 0 && n.index === i) continue;
67
- n.getCenter(o), n.getNormal(s).negate();
68
- let r = new e().setFromNormalAndCoplanarPoint(s, o);
69
- r.applyMatrix4(t), a.push(r);
70
- }
71
- return a;
72
- }
73
- static equals(e, t) {
74
- return e === void 0 ? t === void 0 : t !== void 0 && e.equals(t);
75
- }
76
- };
77
- function i(e) {
78
- return e >= 0 && e <= 5;
1
+ import { Plane, Vector2, Vector3 } from "three";
2
+ /**
3
+ * Represents a face of a box.
4
+ * Face is 0-5, where 0-2 are positive faces and 3-5 are negative faces as this:
5
+ * Face 0, and 3 is towards X-axis
6
+ * Face 1, and 4 is towards Y-axis
7
+ * Face 2, and 5 is towards Z-axis
8
+ */ export class BoxFace {
9
+ // ==================================================
10
+ // CONSTRUCTOR
11
+ // ==================================================
12
+ constructor(face = 0){
13
+ this._face = 0;
14
+ if (!isValidFace(face)) {
15
+ throw new Error('Invalid face in constructor ' + face);
16
+ }
17
+ this._face = face;
18
+ }
19
+ // ==================================================
20
+ // INSTANCE PROPERTIES
21
+ // ==================================================
22
+ get face() {
23
+ return this._face;
24
+ }
25
+ set face(value) {
26
+ if (!isValidFace(value)) {
27
+ throw new Error('Invalid face in setter' + value);
28
+ }
29
+ this._face = value;
30
+ }
31
+ /**
32
+ * Gets the axis index corresponding to this face.
33
+ * @returns The axis index (0 for X, 1 for Y, 2 for Z).
34
+ */ get index() {
35
+ return this._face % 3;
36
+ }
37
+ /**
38
+ * Gets the tangent index 1 corresponding to this face.
39
+ * @returns The axis index (0 for X, 1 for Y, 2 for Z).
40
+ */ get tangentIndex1() {
41
+ return (this.index + 1) % 3;
42
+ }
43
+ /**
44
+ * Gets the tangent index 2 corresponding to this face.
45
+ * @returns The axis index (0 for X, 1 for Y, 2 for Z).
46
+ */ get tangentIndex2() {
47
+ return (this.index + 2) % 3;
48
+ }
49
+ /**
50
+ * Gets the sign of the face.
51
+ * Returns `1` if the face index is less than 3, otherwise returns `-1`.
52
+ * This can be used to determine the orientation of the box face.
53
+ */ get sign() {
54
+ return this._face < 3 ? 1 : -1;
55
+ }
56
+ // ==================================================
57
+ // INSTANCE METHODS
58
+ // ==================================================
59
+ copy(other) {
60
+ this._face = other._face;
61
+ return this;
62
+ }
63
+ equals(other) {
64
+ return this.face === other.face;
65
+ }
66
+ /**
67
+ * Determines the box face corresponding to the given position vector relative to the box center.
68
+ * The face is selected based on the axis with the largest absolute value in the position vector.
69
+ *
70
+ * - If the x component is largest, sets the face to 0 (positive x) or 3 (negative x).
71
+ * - If the y component is largest, sets the face to 1 (positive y) or 4 (negative y).
72
+ * - If the z component is largest, sets the face to 2 (positive z) or 5 (negative z).
73
+ *
74
+ * @param positionAtFace - The position vector relative to the box center.
75
+ * @returns The current instance with the updated face.
76
+ */ fromPositionAtFace(positionAtFace) {
77
+ const x = Math.abs(positionAtFace.x);
78
+ const y = Math.abs(positionAtFace.y);
79
+ const z = Math.abs(positionAtFace.z);
80
+ if (x >= y && x >= z) {
81
+ this._face = positionAtFace.x > 0 ? 0 : 3;
82
+ } else if (y >= x && y >= z) {
83
+ this._face = positionAtFace.y > 0 ? 1 : 4;
84
+ } else {
85
+ this._face = positionAtFace.z > 0 ? 2 : 5;
86
+ }
87
+ return this;
88
+ }
89
+ /**
90
+ * Projects a 3D point onto the 2D plane corresponding to the current box face.
91
+ *
92
+ * The mapping of the 3D coordinates to 2D depends on the value of `this.face`:
93
+ * - For faces 1 and 4, returns (x, z).
94
+ * - For faces 2 and 5, returns (x, y).
95
+ * - For all other faces, returns (y, z).
96
+ *
97
+ * @param positionAtFace - The 3D position to project onto the face's plane.
98
+ * @returns A `Vector2` representing the projected 2D coordinates on the face's plane.
99
+ */ getPlanePoint(positionAtFace) {
100
+ switch(this.face){
101
+ case 1:
102
+ case 4:
103
+ return new Vector2(positionAtFace.x, positionAtFace.z);
104
+ case 2:
105
+ case 5:
106
+ return new Vector2(positionAtFace.x, positionAtFace.y);
107
+ default:
108
+ return new Vector2(positionAtFace.y, positionAtFace.z);
109
+ }
110
+ }
111
+ getNormal(target) {
112
+ if (target === undefined) {
113
+ target = new Vector3();
114
+ }
115
+ target.setScalar(0);
116
+ return target.setComponent(this.index, this.sign);
117
+ }
118
+ getTangent1(target) {
119
+ if (target === undefined) {
120
+ target = new Vector3();
121
+ }
122
+ target.setScalar(0);
123
+ return target.setComponent(this.tangentIndex1, 1);
124
+ }
125
+ getTangent2(target) {
126
+ if (target === undefined) {
127
+ target = new Vector3();
128
+ }
129
+ target.setScalar(0);
130
+ return target.setComponent(this.tangentIndex2, 1);
131
+ }
132
+ getCenter(target) {
133
+ // Assume the box is centered at (0,0,0) and has size 1 in all directions
134
+ if (target === undefined) {
135
+ target = new Vector3();
136
+ }
137
+ target.setScalar(0);
138
+ return target.setComponent(this.index, this.sign * 0.5);
139
+ }
140
+ // ==================================================
141
+ // STATIC METHODS
142
+ // ==================================================
143
+ static *getAllFaces(target) {
144
+ if (target === undefined) {
145
+ target = new BoxFace();
146
+ }
147
+ for(let face = 0; face < 6; face++){
148
+ target.face = face;
149
+ yield target;
150
+ }
151
+ }
152
+ static createClippingPlanes(matrix, exceptIndex) {
153
+ const planes = [];
154
+ const center = new Vector3();
155
+ const normal = new Vector3();
156
+ for (const boxFace of BoxFace.getAllFaces()){
157
+ if (exceptIndex !== undefined && boxFace.index === exceptIndex) {
158
+ continue;
159
+ }
160
+ boxFace.getCenter(center);
161
+ boxFace.getNormal(normal).negate();
162
+ const plane = new Plane().setFromNormalAndCoplanarPoint(normal, center);
163
+ plane.applyMatrix4(matrix);
164
+ planes.push(plane);
165
+ }
166
+ return planes;
167
+ }
168
+ static equals(face, other) {
169
+ if (face === undefined) {
170
+ return other === undefined;
171
+ }
172
+ if (other === undefined) {
173
+ return false;
174
+ }
175
+ return face.equals(other);
176
+ }
79
177
  }
80
- //#endregion
81
- export { r as BoxFace };
178
+ function isValidFace(value) {
179
+ return value >= 0 && value <= 5;
180
+ }
181
+
182
+ //# sourceMappingURL=BoxFace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/domains/primitives/common/BoxFace.ts"],"sourcesContent":["import { type Matrix4, Plane, Vector2, Vector3 } from 'three';\n\n/**\n * Represents a face of a box.\n * Face is 0-5, where 0-2 are positive faces and 3-5 are negative faces as this:\n * Face 0, and 3 is towards X-axis\n * Face 1, and 4 is towards Y-axis\n * Face 2, and 5 is towards Z-axis\n */\nexport class BoxFace {\n private _face = 0;\n\n // ==================================================\n // CONSTRUCTOR\n // ==================================================\n\n public constructor(face: number = 0) {\n if (!isValidFace(face)) {\n throw new Error('Invalid face in constructor ' + face);\n }\n this._face = face;\n }\n\n // ==================================================\n // INSTANCE PROPERTIES\n // ==================================================\n\n public get face(): number {\n return this._face;\n }\n\n public set face(value: number) {\n if (!isValidFace(value)) {\n throw new Error('Invalid face in setter' + value);\n }\n this._face = value;\n }\n\n /**\n * Gets the axis index corresponding to this face.\n * @returns The axis index (0 for X, 1 for Y, 2 for Z).\n */\n public get index(): number {\n return this._face % 3;\n }\n\n /**\n * Gets the tangent index 1 corresponding to this face.\n * @returns The axis index (0 for X, 1 for Y, 2 for Z).\n */\n public get tangentIndex1(): number {\n return (this.index + 1) % 3;\n }\n\n /**\n * Gets the tangent index 2 corresponding to this face.\n * @returns The axis index (0 for X, 1 for Y, 2 for Z).\n */\n public get tangentIndex2(): number {\n return (this.index + 2) % 3;\n }\n\n /**\n * Gets the sign of the face.\n * Returns `1` if the face index is less than 3, otherwise returns `-1`.\n * This can be used to determine the orientation of the box face.\n */\n public get sign(): number {\n return this._face < 3 ? 1 : -1;\n }\n\n // ==================================================\n // INSTANCE METHODS\n // ==================================================\n\n public copy(other: BoxFace): this {\n this._face = other._face;\n return this;\n }\n\n public equals(other: BoxFace): boolean {\n return this.face === other.face;\n }\n\n /**\n * Determines the box face corresponding to the given position vector relative to the box center.\n * The face is selected based on the axis with the largest absolute value in the position vector.\n *\n * - If the x component is largest, sets the face to 0 (positive x) or 3 (negative x).\n * - If the y component is largest, sets the face to 1 (positive y) or 4 (negative y).\n * - If the z component is largest, sets the face to 2 (positive z) or 5 (negative z).\n *\n * @param positionAtFace - The position vector relative to the box center.\n * @returns The current instance with the updated face.\n */\n public fromPositionAtFace(positionAtFace: Vector3): this {\n const x = Math.abs(positionAtFace.x);\n const y = Math.abs(positionAtFace.y);\n const z = Math.abs(positionAtFace.z);\n\n if (x >= y && x >= z) {\n this._face = positionAtFace.x > 0 ? 0 : 3;\n } else if (y >= x && y >= z) {\n this._face = positionAtFace.y > 0 ? 1 : 4;\n } else {\n this._face = positionAtFace.z > 0 ? 2 : 5;\n }\n return this;\n }\n\n /**\n * Projects a 3D point onto the 2D plane corresponding to the current box face.\n *\n * The mapping of the 3D coordinates to 2D depends on the value of `this.face`:\n * - For faces 1 and 4, returns (x, z).\n * - For faces 2 and 5, returns (x, y).\n * - For all other faces, returns (y, z).\n *\n * @param positionAtFace - The 3D position to project onto the face's plane.\n * @returns A `Vector2` representing the projected 2D coordinates on the face's plane.\n */\n public getPlanePoint(positionAtFace: Vector3): Vector2 {\n switch (this.face) {\n case 1:\n case 4:\n return new Vector2(positionAtFace.x, positionAtFace.z);\n case 2:\n case 5:\n return new Vector2(positionAtFace.x, positionAtFace.y);\n default:\n return new Vector2(positionAtFace.y, positionAtFace.z);\n }\n }\n\n public getNormal(target?: Vector3): Vector3 {\n if (target === undefined) {\n target = new Vector3();\n }\n target.setScalar(0);\n return target.setComponent(this.index, this.sign);\n }\n\n public getTangent1(target?: Vector3): Vector3 {\n if (target === undefined) {\n target = new Vector3();\n }\n target.setScalar(0);\n return target.setComponent(this.tangentIndex1, 1);\n }\n\n public getTangent2(target?: Vector3): Vector3 {\n if (target === undefined) {\n target = new Vector3();\n }\n target.setScalar(0);\n return target.setComponent(this.tangentIndex2, 1);\n }\n\n public getCenter(target?: Vector3): Vector3 {\n // Assume the box is centered at (0,0,0) and has size 1 in all directions\n if (target === undefined) {\n target = new Vector3();\n }\n target.setScalar(0);\n return target.setComponent(this.index, this.sign * 0.5);\n }\n\n // ==================================================\n // STATIC METHODS\n // ==================================================\n\n public static *getAllFaces(target?: BoxFace): Generator<BoxFace> {\n if (target === undefined) {\n target = new BoxFace();\n }\n for (let face = 0; face < 6; face++) {\n target.face = face;\n yield target;\n }\n }\n\n public static createClippingPlanes(\n matrix: Matrix4,\n exceptIndex?: number\n ): Plane[] {\n const planes: Plane[] = [];\n\n const center = new Vector3();\n const normal = new Vector3();\n for (const boxFace of BoxFace.getAllFaces()) {\n if (exceptIndex !== undefined && boxFace.index === exceptIndex) {\n continue;\n }\n boxFace.getCenter(center);\n boxFace.getNormal(normal).negate();\n const plane = new Plane().setFromNormalAndCoplanarPoint(normal, center);\n plane.applyMatrix4(matrix);\n planes.push(plane);\n }\n return planes;\n }\n\n public static equals(\n face: BoxFace | undefined,\n other: BoxFace | undefined\n ): boolean {\n if (face === undefined) {\n return other === undefined;\n }\n if (other === undefined) {\n return false;\n }\n return face.equals(other);\n }\n}\n\nfunction isValidFace(value: number): boolean {\n return value >= 0 && value <= 5;\n}\n"],"names":["Plane","Vector2","Vector3","BoxFace","face","_face","isValidFace","Error","value","index","tangentIndex1","tangentIndex2","sign","copy","other","equals","fromPositionAtFace","positionAtFace","x","Math","abs","y","z","getPlanePoint","getNormal","target","undefined","setScalar","setComponent","getTangent1","getTangent2","getCenter","getAllFaces","createClippingPlanes","matrix","exceptIndex","planes","center","normal","boxFace","negate","plane","setFromNormalAndCoplanarPoint","applyMatrix4","push"],"mappings":"AAAA,SAAuBA,KAAK,EAAEC,OAAO,EAAEC,OAAO,QAAQ,QAAQ;AAE9D;;;;;;CAMC,GACD,OAAO,MAAMC;IAGX,qDAAqD;IACrD,cAAc;IACd,qDAAqD;IAErD,YAAmBC,OAAe,CAAC,CAAE;aAN7BC,QAAQ;QAOd,IAAI,CAACC,YAAYF,OAAO;YACtB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AAOG,YAAY,CAAC,IAAI,CAACnB,KAAK,EAAE,IAAI,CAACG,IAAI,GAAG;IACrD;IAEA,qDAAqD;IACrD,iBAAiB;IACjB,qDAAqD;IAErD,QAAeoB,YAAYP,MAAgB,EAAsB;QAC/D,IAAIA,WAAWC,WAAW;YACxBD,SAAS,IAAItB;QACf;QACA,IAAK,IAAIC,OAAO,GAAGA,OAAO,GAAGA,OAAQ;YACnCqB,OAAOrB,IAAI,GAAGA;YACd,MAAMqB;QACR;IACF;IAEA,OAAcQ,qBACZC,MAAe,EACfC,WAAoB,EACX;QACT,MAAMC,SAAkB,EAAE;QAE1B,MAAMC,SAAS,IAAInC;QACnB,MAAMoC,SAAS,IAAIpC;QACnB,KAAK,MAAMqC,WAAWpC,QAAQ6B,WAAW,GAAI;YAC3C,IAAIG,gBAAgBT,aAAaa,QAAQ9B,KAAK,KAAK0B,aAAa;gBAC9D;YACF;YACAI,QAAQR,SAAS,CAACM;YAClBE,QAAQf,SAAS,CAACc,QAAQE,MAAM;YAChC,MAAMC,QAAQ,IAAIzC,QAAQ0C,6BAA6B,CAACJ,QAAQD;YAChEI,MAAME,YAAY,CAACT;YACnBE,OAAOQ,IAAI,CAACH;QACd;QACA,OAAOL;IACT;IAEA,OAAcrB,OACZX,IAAyB,EACzBU,KAA0B,EACjB;QACT,IAAIV,SAASsB,WAAW;YACtB,OAAOZ,UAAUY;QACnB;QACA,IAAIZ,UAAUY,WAAW;YACvB,OAAO;QACT;QACA,OAAOtB,KAAKW,MAAM,CAACD;IACrB;AACF;AAEA,SAASR,YAAYE,KAAa;IAChC,OAAOA,SAAS,KAAKA,SAAS;AAChC"}
@@ -1,27 +1,27 @@
1
- import { Vector3 } from 'three';
2
- import { FocusType } from '../../../foundation/domainObjectsHelpers/FocusType';
3
- import { BoxFace } from './BoxFace';
1
+ import { Vector3 } from "three";
2
+ import { type FocusType } from "../../../foundation/domainObjectsHelpers/FocusType";
3
+ import { type BoxFace } from "./BoxFace";
4
4
  /**
5
- * Represents information about a picked box.
6
- */
5
+ * Represents information about a picked box.
6
+ */
7
7
  export declare class PrimitivePickInfo {
8
- /**
9
- * The face of the primitive that was picked.
10
- */
11
- readonly face: BoxFace;
12
- /**
13
- * The type of focus on the picked box.
14
- */
15
- readonly focusType: FocusType;
16
- /**
17
- * Indicates the corner of the face.
18
- */
19
- readonly cornerSign: Vector3;
20
- /**
21
- * Creates a new instance of PrimitivePickInfo.
22
- * @param face The face of the box that was picked.
23
- * @param focusType The type of focus on the picked box.
24
- * @param cornerSign Indicates the corner of the face.
25
- */
26
- constructor(face: BoxFace, focusType: FocusType, cornerSign?: Vector3);
8
+ /**
9
+ * The face of the primitive that was picked.
10
+ */
11
+ readonly face: BoxFace;
12
+ /**
13
+ * The type of focus on the picked box.
14
+ */
15
+ readonly focusType: FocusType;
16
+ /**
17
+ * Indicates the corner of the face.
18
+ */
19
+ readonly cornerSign: Vector3;
20
+ /**
21
+ * Creates a new instance of PrimitivePickInfo.
22
+ * @param face The face of the box that was picked.
23
+ * @param focusType The type of focus on the picked box.
24
+ * @param cornerSign Indicates the corner of the face.
25
+ */
26
+ constructor(face: BoxFace, focusType: FocusType, cornerSign?: Vector3);
27
27
  }
@@ -1,12 +1,17 @@
1
- import { Vector3 as e } from "three";
2
- //#region libs/shared/reveal-components/src/domains/primitives/common/PrimitivePickInfo.ts
3
- var t = class {
4
- face;
5
- focusType;
6
- cornerSign;
7
- constructor(t, n, r) {
8
- this.face = t, this.focusType = n, this.cornerSign = r ?? new e();
9
- }
10
- };
11
- //#endregion
12
- export { t as PrimitivePickInfo };
1
+ import { Vector3 } from "three";
2
+ /**
3
+ * Represents information about a picked box.
4
+ */ export class PrimitivePickInfo {
5
+ /**
6
+ * Creates a new instance of PrimitivePickInfo.
7
+ * @param face The face of the box that was picked.
8
+ * @param focusType The type of focus on the picked box.
9
+ * @param cornerSign Indicates the corner of the face.
10
+ */ constructor(face, focusType, cornerSign){
11
+ this.face = face;
12
+ this.focusType = focusType;
13
+ this.cornerSign = cornerSign ?? new Vector3();
14
+ }
15
+ }
16
+
17
+ //# sourceMappingURL=PrimitivePickInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/domains/primitives/common/PrimitivePickInfo.ts"],"sourcesContent":["import { Vector3 } from 'three';\n\nimport { type FocusType } from '../../../foundation/domainObjectsHelpers/FocusType';\n\nimport { type BoxFace } from './BoxFace';\n\n/**\n * Represents information about a picked box.\n */\nexport class PrimitivePickInfo {\n /**\n * The face of the primitive that was picked.\n */\n public readonly face: BoxFace;\n\n /**\n * The type of focus on the picked box.\n */\n public readonly focusType: FocusType;\n\n /**\n * Indicates the corner of the face.\n */\n public readonly cornerSign: Vector3;\n\n /**\n * Creates a new instance of PrimitivePickInfo.\n * @param face The face of the box that was picked.\n * @param focusType The type of focus on the picked box.\n * @param cornerSign Indicates the corner of the face.\n */\n public constructor(\n face: BoxFace,\n focusType: FocusType,\n cornerSign?: Vector3\n ) {\n this.face = face;\n this.focusType = focusType;\n this.cornerSign = cornerSign ?? new Vector3();\n }\n}\n"],"names":["Vector3","PrimitivePickInfo","face","focusType","cornerSign"],"mappings":"AAAA,SAASA,OAAO,QAAQ,QAAQ;AAMhC;;CAEC,GACD,OAAO,MAAMC;IAgBX;;;;;GAKC,GACD,YACEC,IAAa,EACbC,SAAoB,EACpBC,UAAoB,CACpB;QACA,IAAI,CAACF,IAAI,GAAGA;QACZ,IAAI,CAACC,SAAS,GAAGA;QACjB,IAAI,CAACC,UAAU,GAAGA,cAAc,IAAIJ;IACtC;AACF"}