@itwin/core-common 5.0.0-dev.1 → 5.0.0-dev.100

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 (758) hide show
  1. package/CHANGELOG.md +84 -1
  2. package/lib/cjs/AmbientOcclusion.js +17 -9
  3. package/lib/cjs/AmbientOcclusion.js.map +1 -1
  4. package/lib/cjs/AnalysisStyle.d.ts +0 -3
  5. package/lib/cjs/AnalysisStyle.d.ts.map +1 -1
  6. package/lib/cjs/AnalysisStyle.js +20 -4
  7. package/lib/cjs/AnalysisStyle.js.map +1 -1
  8. package/lib/cjs/Atmosphere.js +39 -21
  9. package/lib/cjs/Atmosphere.js.map +1 -1
  10. package/lib/cjs/BackgroundMapProvider.js +4 -0
  11. package/lib/cjs/BackgroundMapProvider.js.map +1 -1
  12. package/lib/cjs/BackgroundMapSettings.js +19 -0
  13. package/lib/cjs/BackgroundMapSettings.js.map +1 -1
  14. package/lib/cjs/BlobReader.js +8 -6
  15. package/lib/cjs/BlobReader.js.map +1 -1
  16. package/lib/cjs/BriefcaseTypes.d.ts +2 -2
  17. package/lib/cjs/BriefcaseTypes.d.ts.map +1 -1
  18. package/lib/cjs/BriefcaseTypes.js.map +1 -1
  19. package/lib/cjs/Camera.js +3 -0
  20. package/lib/cjs/Camera.js.map +1 -1
  21. package/lib/cjs/ChangesetProps.d.ts +1 -1
  22. package/lib/cjs/ChangesetProps.js.map +1 -1
  23. package/lib/cjs/ClipStyle.js +31 -5
  24. package/lib/cjs/ClipStyle.js.map +1 -1
  25. package/lib/cjs/Code.d.ts +0 -5
  26. package/lib/cjs/Code.d.ts.map +1 -1
  27. package/lib/cjs/Code.js +16 -11
  28. package/lib/cjs/Code.js.map +1 -1
  29. package/lib/cjs/ColorDef.js +11 -10
  30. package/lib/cjs/ColorDef.js.map +1 -1
  31. package/lib/cjs/ConcurrentQuery.d.ts +40 -1
  32. package/lib/cjs/ConcurrentQuery.d.ts.map +1 -1
  33. package/lib/cjs/ConcurrentQuery.js +19 -3
  34. package/lib/cjs/ConcurrentQuery.js.map +1 -1
  35. package/lib/cjs/ContextRealityModel.js +53 -27
  36. package/lib/cjs/ContextRealityModel.js.map +1 -1
  37. package/lib/cjs/ContourDisplay.js +40 -5
  38. package/lib/cjs/ContourDisplay.js.map +1 -1
  39. package/lib/cjs/DisplayStyleSettings.js +95 -63
  40. package/lib/cjs/DisplayStyleSettings.js.map +1 -1
  41. package/lib/cjs/ECSqlReader.d.ts +2 -0
  42. package/lib/cjs/ECSqlReader.d.ts.map +1 -1
  43. package/lib/cjs/ECSqlReader.js +56 -50
  44. package/lib/cjs/ECSqlReader.js.map +1 -1
  45. package/lib/cjs/ElementProps.d.ts +14 -1
  46. package/lib/cjs/ElementProps.d.ts.map +1 -1
  47. package/lib/cjs/ElementProps.js +7 -3
  48. package/lib/cjs/ElementProps.js.map +1 -1
  49. package/lib/cjs/EntityProps.d.ts +25 -2
  50. package/lib/cjs/EntityProps.d.ts.map +1 -1
  51. package/lib/cjs/EntityProps.js +39 -0
  52. package/lib/cjs/EntityProps.js.map +1 -1
  53. package/lib/cjs/Environment.js +25 -2
  54. package/lib/cjs/Environment.js.map +1 -1
  55. package/lib/cjs/FeatureIndex.js +15 -6
  56. package/lib/cjs/FeatureIndex.js.map +1 -1
  57. package/lib/cjs/FeatureSymbology.d.ts +25 -73
  58. package/lib/cjs/FeatureSymbology.d.ts.map +1 -1
  59. package/lib/cjs/FeatureSymbology.js +88 -103
  60. package/lib/cjs/FeatureSymbology.js.map +1 -1
  61. package/lib/cjs/FeatureTable.d.ts +6 -108
  62. package/lib/cjs/FeatureTable.d.ts.map +1 -1
  63. package/lib/cjs/FeatureTable.js +13 -329
  64. package/lib/cjs/FeatureTable.js.map +1 -1
  65. package/lib/cjs/Fonts.d.ts +69 -11
  66. package/lib/cjs/Fonts.d.ts.map +1 -1
  67. package/lib/cjs/Fonts.js +21 -6
  68. package/lib/cjs/Fonts.js.map +1 -1
  69. package/lib/cjs/Frustum.js +2 -2
  70. package/lib/cjs/Frustum.js.map +1 -1
  71. package/lib/cjs/GeoCoordinateServices.d.ts +1 -0
  72. package/lib/cjs/GeoCoordinateServices.d.ts.map +1 -1
  73. package/lib/cjs/GeoCoordinateServices.js +2 -1
  74. package/lib/cjs/GeoCoordinateServices.js.map +1 -1
  75. package/lib/cjs/GeometryParams.js +58 -0
  76. package/lib/cjs/GeometryParams.js.map +1 -1
  77. package/lib/cjs/Gradient.d.ts +3 -4
  78. package/lib/cjs/Gradient.d.ts.map +1 -1
  79. package/lib/cjs/Gradient.js +21 -19
  80. package/lib/cjs/Gradient.js.map +1 -1
  81. package/lib/cjs/GraphicParams.js +14 -12
  82. package/lib/cjs/GraphicParams.js.map +1 -1
  83. package/lib/cjs/GroundPlane.js +8 -2
  84. package/lib/cjs/GroundPlane.js.map +1 -1
  85. package/lib/cjs/HSLColor.js +6 -0
  86. package/lib/cjs/HSLColor.js.map +1 -1
  87. package/lib/cjs/HSVColor.js +6 -0
  88. package/lib/cjs/HSVColor.js.map +1 -1
  89. package/lib/cjs/HiddenLine.d.ts +17 -18
  90. package/lib/cjs/HiddenLine.d.ts.map +1 -1
  91. package/lib/cjs/HiddenLine.js +24 -5
  92. package/lib/cjs/HiddenLine.js.map +1 -1
  93. package/lib/cjs/Hilite.js +10 -0
  94. package/lib/cjs/Hilite.js.map +1 -1
  95. package/lib/cjs/IModel.d.ts +3 -12
  96. package/lib/cjs/IModel.d.ts.map +1 -1
  97. package/lib/cjs/IModel.js +47 -23
  98. package/lib/cjs/IModel.js.map +1 -1
  99. package/lib/cjs/IModelError.d.ts +17 -9
  100. package/lib/cjs/IModelError.d.ts.map +1 -1
  101. package/lib/cjs/IModelError.js +7 -11
  102. package/lib/cjs/IModelError.js.map +1 -1
  103. package/lib/cjs/IModelVersion.js +4 -0
  104. package/lib/cjs/IModelVersion.js.map +1 -1
  105. package/lib/cjs/ITwinCoreErrors.d.ts +28 -0
  106. package/lib/cjs/ITwinCoreErrors.d.ts.map +1 -0
  107. package/lib/cjs/ITwinCoreErrors.js +28 -0
  108. package/lib/cjs/ITwinCoreErrors.js.map +1 -0
  109. package/lib/cjs/Image.d.ts +22 -8
  110. package/lib/cjs/Image.d.ts.map +1 -1
  111. package/lib/cjs/Image.js +20 -4
  112. package/lib/cjs/Image.js.map +1 -1
  113. package/lib/cjs/IpcAppProps.d.ts +5 -1
  114. package/lib/cjs/IpcAppProps.d.ts.map +1 -1
  115. package/lib/cjs/IpcAppProps.js.map +1 -1
  116. package/lib/cjs/LightSettings.js +39 -1
  117. package/lib/cjs/LightSettings.js.map +1 -1
  118. package/lib/cjs/Localization.d.ts +0 -10
  119. package/lib/cjs/Localization.d.ts.map +1 -1
  120. package/lib/cjs/Localization.js +0 -1
  121. package/lib/cjs/Localization.js.map +1 -1
  122. package/lib/cjs/MapImagerySettings.js +3 -2
  123. package/lib/cjs/MapImagerySettings.js.map +1 -1
  124. package/lib/cjs/MapLayerSettings.d.ts +38 -1
  125. package/lib/cjs/MapLayerSettings.d.ts.map +1 -1
  126. package/lib/cjs/MapLayerSettings.js +71 -4
  127. package/lib/cjs/MapLayerSettings.js.map +1 -1
  128. package/lib/cjs/MassProperties.d.ts +2 -0
  129. package/lib/cjs/MassProperties.d.ts.map +1 -1
  130. package/lib/cjs/MassProperties.js.map +1 -1
  131. package/lib/cjs/ModelClipGroup.js +6 -0
  132. package/lib/cjs/ModelClipGroup.js.map +1 -1
  133. package/lib/cjs/OctEncodedNormal.js +4 -0
  134. package/lib/cjs/OctEncodedNormal.js.map +1 -1
  135. package/lib/cjs/PlanProjectionSettings.d.ts +1 -2
  136. package/lib/cjs/PlanProjectionSettings.d.ts.map +1 -1
  137. package/lib/cjs/PlanProjectionSettings.js +8 -1
  138. package/lib/cjs/PlanProjectionSettings.js.map +1 -1
  139. package/lib/cjs/PlanarClipMask.d.ts +0 -12
  140. package/lib/cjs/PlanarClipMask.d.ts.map +1 -1
  141. package/lib/cjs/PlanarClipMask.js +24 -2
  142. package/lib/cjs/PlanarClipMask.js.map +1 -1
  143. package/lib/cjs/QPoint.d.ts +5 -5
  144. package/lib/cjs/QPoint.d.ts.map +1 -1
  145. package/lib/cjs/QPoint.js +37 -29
  146. package/lib/cjs/QPoint.js.map +1 -1
  147. package/lib/cjs/RealityModelDisplaySettings.js +81 -4
  148. package/lib/cjs/RealityModelDisplaySettings.js.map +1 -1
  149. package/lib/cjs/RenderMaterial.d.ts +0 -43
  150. package/lib/cjs/RenderMaterial.d.ts.map +1 -1
  151. package/lib/cjs/RenderMaterial.js +6 -51
  152. package/lib/cjs/RenderMaterial.js.map +1 -1
  153. package/lib/cjs/RenderPolyline.d.ts +36 -0
  154. package/lib/cjs/RenderPolyline.d.ts.map +1 -0
  155. package/lib/cjs/RenderPolyline.js +26 -0
  156. package/lib/cjs/RenderPolyline.js.map +1 -0
  157. package/lib/cjs/RenderSchedule.d.ts +1 -2
  158. package/lib/cjs/RenderSchedule.d.ts.map +1 -1
  159. package/lib/cjs/RenderSchedule.js +138 -11
  160. package/lib/cjs/RenderSchedule.js.map +1 -1
  161. package/lib/cjs/RenderTexture.d.ts +5 -23
  162. package/lib/cjs/RenderTexture.d.ts.map +1 -1
  163. package/lib/cjs/RenderTexture.js +13 -16
  164. package/lib/cjs/RenderTexture.js.map +1 -1
  165. package/lib/cjs/RgbColor.js +3 -0
  166. package/lib/cjs/RgbColor.js.map +1 -1
  167. package/lib/cjs/RpcInterface.d.ts.map +1 -1
  168. package/lib/cjs/RpcInterface.js +7 -1
  169. package/lib/cjs/RpcInterface.js.map +1 -1
  170. package/lib/cjs/SkyBox.js +17 -4
  171. package/lib/cjs/SkyBox.js.map +1 -1
  172. package/lib/cjs/SolarShadows.js +5 -1
  173. package/lib/cjs/SolarShadows.js.map +1 -1
  174. package/lib/cjs/SpatialClassification.js +19 -1
  175. package/lib/cjs/SpatialClassification.js.map +1 -1
  176. package/lib/cjs/SubCategoryAppearance.js +35 -1
  177. package/lib/cjs/SubCategoryAppearance.js.map +1 -1
  178. package/lib/cjs/SubCategoryOverride.js +16 -2
  179. package/lib/cjs/SubCategoryOverride.js.map +1 -1
  180. package/lib/cjs/TerrainSettings.d.ts +0 -7
  181. package/lib/cjs/TerrainSettings.d.ts.map +1 -1
  182. package/lib/cjs/TerrainSettings.js +19 -0
  183. package/lib/cjs/TerrainSettings.js.map +1 -1
  184. package/lib/cjs/TextureMapping.d.ts +17 -14
  185. package/lib/cjs/TextureMapping.d.ts.map +1 -1
  186. package/lib/cjs/TextureMapping.js +47 -19
  187. package/lib/cjs/TextureMapping.js.map +1 -1
  188. package/lib/cjs/ThematicDisplay.js +53 -2
  189. package/lib/cjs/ThematicDisplay.js.map +1 -1
  190. package/lib/cjs/Thumbnail.d.ts +1 -1
  191. package/lib/cjs/Thumbnail.js.map +1 -1
  192. package/lib/cjs/Tween.js +28 -19
  193. package/lib/cjs/Tween.js.map +1 -1
  194. package/lib/cjs/ViewDetails.js +10 -6
  195. package/lib/cjs/ViewDetails.js.map +1 -1
  196. package/lib/cjs/ViewFlags.d.ts +1 -3
  197. package/lib/cjs/ViewFlags.d.ts.map +1 -1
  198. package/lib/cjs/ViewFlags.js +86 -5
  199. package/lib/cjs/ViewFlags.js.map +1 -1
  200. package/lib/cjs/ViewProps.d.ts +2 -6
  201. package/lib/cjs/ViewProps.d.ts.map +1 -1
  202. package/lib/cjs/ViewProps.js.map +1 -1
  203. package/lib/cjs/WhiteOnWhiteReversalSettings.js +7 -2
  204. package/lib/cjs/WhiteOnWhiteReversalSettings.js.map +1 -1
  205. package/lib/cjs/annotation/TextAnnotation.d.ts +3 -2
  206. package/lib/cjs/annotation/TextAnnotation.d.ts.map +1 -1
  207. package/lib/cjs/annotation/TextAnnotation.js +13 -2
  208. package/lib/cjs/annotation/TextAnnotation.js.map +1 -1
  209. package/lib/cjs/annotation/TextBlock.d.ts +17 -0
  210. package/lib/cjs/annotation/TextBlock.d.ts.map +1 -1
  211. package/lib/cjs/annotation/TextBlock.js +41 -6
  212. package/lib/cjs/annotation/TextBlock.js.map +1 -1
  213. package/lib/cjs/annotation/TextStyle.js +65 -19
  214. package/lib/cjs/annotation/TextStyle.js.map +1 -1
  215. package/lib/cjs/core-common.d.ts +3 -5
  216. package/lib/cjs/core-common.d.ts.map +1 -1
  217. package/lib/cjs/core-common.js +3 -5
  218. package/lib/cjs/core-common.js.map +1 -1
  219. package/lib/cjs/geometry/AdditionalTransform.js +12 -0
  220. package/lib/cjs/geometry/AdditionalTransform.js.map +1 -1
  221. package/lib/cjs/geometry/AreaPattern.js +17 -0
  222. package/lib/cjs/geometry/AreaPattern.js.map +1 -1
  223. package/lib/cjs/geometry/BoundingSphere.js +4 -0
  224. package/lib/cjs/geometry/BoundingSphere.js.map +1 -1
  225. package/lib/cjs/geometry/Cartographic.js +23 -20
  226. package/lib/cjs/geometry/Cartographic.js.map +1 -1
  227. package/lib/cjs/geometry/CoordinateReferenceSystem.js +62 -0
  228. package/lib/cjs/geometry/CoordinateReferenceSystem.js.map +1 -1
  229. package/lib/cjs/geometry/ElementGeometry.js +26 -8
  230. package/lib/cjs/geometry/ElementGeometry.js.map +1 -1
  231. package/lib/cjs/geometry/ElementGeometryFB.js +54 -108
  232. package/lib/cjs/geometry/ElementGeometryFB.js.map +1 -1
  233. package/lib/cjs/geometry/FrustumPlanes.js +1 -0
  234. package/lib/cjs/geometry/FrustumPlanes.js.map +1 -1
  235. package/lib/cjs/geometry/GeodeticDatum.js +100 -0
  236. package/lib/cjs/geometry/GeodeticDatum.js.map +1 -1
  237. package/lib/cjs/geometry/GeodeticEllipsoid.js +16 -0
  238. package/lib/cjs/geometry/GeodeticEllipsoid.js.map +1 -1
  239. package/lib/cjs/geometry/GeometryStream.js +19 -6
  240. package/lib/cjs/geometry/GeometryStream.js.map +1 -1
  241. package/lib/cjs/geometry/ImageGraphic.js +10 -0
  242. package/lib/cjs/geometry/ImageGraphic.js.map +1 -1
  243. package/lib/cjs/geometry/LineStyle.js +14 -0
  244. package/lib/cjs/geometry/LineStyle.js.map +1 -1
  245. package/lib/cjs/geometry/Placement.js +6 -0
  246. package/lib/cjs/geometry/Placement.js.map +1 -1
  247. package/lib/cjs/geometry/Projection.js +75 -0
  248. package/lib/cjs/geometry/Projection.js.map +1 -1
  249. package/lib/cjs/geometry/TextString.js +18 -0
  250. package/lib/cjs/geometry/TextString.js.map +1 -1
  251. package/lib/cjs/{BackendTypes.d.ts → internal/BackendTypes.d.ts} +1 -0
  252. package/lib/cjs/internal/BackendTypes.d.ts.map +1 -0
  253. package/lib/cjs/internal/BackendTypes.js.map +1 -0
  254. package/lib/cjs/internal/PackedFeatureTable.d.ts +111 -0
  255. package/lib/cjs/internal/PackedFeatureTable.d.ts.map +1 -0
  256. package/lib/cjs/internal/PackedFeatureTable.js +359 -0
  257. package/lib/cjs/internal/PackedFeatureTable.js.map +1 -0
  258. package/lib/cjs/internal/RenderMaterialParams.d.ts +47 -0
  259. package/lib/cjs/internal/RenderMaterialParams.d.ts.map +1 -0
  260. package/lib/cjs/internal/RenderMaterialParams.js +68 -0
  261. package/lib/cjs/internal/RenderMaterialParams.js.map +1 -0
  262. package/lib/cjs/internal/RenderMesh.d.ts +52 -0
  263. package/lib/cjs/internal/RenderMesh.d.ts.map +1 -0
  264. package/lib/cjs/{Render.js → internal/RenderMesh.js} +12 -31
  265. package/lib/cjs/internal/RenderMesh.js.map +1 -0
  266. package/lib/cjs/internal/RenderTextureParams.d.ts +25 -0
  267. package/lib/cjs/internal/RenderTextureParams.d.ts.map +1 -0
  268. package/lib/cjs/internal/RenderTextureParams.js +37 -0
  269. package/lib/cjs/internal/RenderTextureParams.js.map +1 -0
  270. package/lib/cjs/internal/cross-package.d.ts +5 -0
  271. package/lib/cjs/internal/cross-package.d.ts.map +1 -1
  272. package/lib/cjs/internal/cross-package.js +16 -0
  273. package/lib/cjs/internal/cross-package.js.map +1 -1
  274. package/lib/cjs/ipc/IpcSession.js +1 -0
  275. package/lib/cjs/ipc/IpcSession.js.map +1 -1
  276. package/lib/cjs/ipc/IpcSocket.d.ts +2 -20
  277. package/lib/cjs/ipc/IpcSocket.d.ts.map +1 -1
  278. package/lib/cjs/ipc/IpcSocket.js.map +1 -1
  279. package/lib/cjs/ipc/IpcWebSocket.js +7 -6
  280. package/lib/cjs/ipc/IpcWebSocket.js.map +1 -1
  281. package/lib/cjs/ipc/IpcWebSocketTransport.js +8 -7
  282. package/lib/cjs/ipc/IpcWebSocketTransport.js.map +1 -1
  283. package/lib/cjs/rpc/DevToolsRpcInterface.js +6 -6
  284. package/lib/cjs/rpc/DevToolsRpcInterface.js.map +1 -1
  285. package/lib/cjs/rpc/IModelReadRpcInterface.js +8 -11
  286. package/lib/cjs/rpc/IModelReadRpcInterface.js.map +1 -1
  287. package/lib/cjs/rpc/IModelTileRpcInterface.js +4 -4
  288. package/lib/cjs/rpc/IModelTileRpcInterface.js.map +1 -1
  289. package/lib/cjs/rpc/SnapshotIModelRpcInterface.d.ts +7 -0
  290. package/lib/cjs/rpc/SnapshotIModelRpcInterface.d.ts.map +1 -1
  291. package/lib/cjs/rpc/SnapshotIModelRpcInterface.js +11 -4
  292. package/lib/cjs/rpc/SnapshotIModelRpcInterface.js.map +1 -1
  293. package/lib/cjs/rpc/TestRpcManager.js +1 -4
  294. package/lib/cjs/rpc/TestRpcManager.js.map +1 -1
  295. package/lib/cjs/rpc/core/RpcConfiguration.js +51 -64
  296. package/lib/cjs/rpc/core/RpcConfiguration.js.map +1 -1
  297. package/lib/cjs/rpc/core/RpcControl.js +29 -38
  298. package/lib/cjs/rpc/core/RpcControl.js.map +1 -1
  299. package/lib/cjs/rpc/core/RpcInvocation.js +19 -13
  300. package/lib/cjs/rpc/core/RpcInvocation.js.map +1 -1
  301. package/lib/cjs/rpc/core/RpcMarshaling.d.ts +1 -4
  302. package/lib/cjs/rpc/core/RpcMarshaling.d.ts.map +1 -1
  303. package/lib/cjs/rpc/core/RpcMarshaling.js +5 -4
  304. package/lib/cjs/rpc/core/RpcMarshaling.js.map +1 -1
  305. package/lib/cjs/rpc/core/RpcOperation.js +29 -31
  306. package/lib/cjs/rpc/core/RpcOperation.js.map +1 -1
  307. package/lib/cjs/rpc/core/RpcPendingQueue.js +17 -16
  308. package/lib/cjs/rpc/core/RpcPendingQueue.js.map +1 -1
  309. package/lib/cjs/rpc/core/RpcProtocol.js +32 -30
  310. package/lib/cjs/rpc/core/RpcProtocol.js.map +1 -1
  311. package/lib/cjs/rpc/core/RpcPush.js +15 -8
  312. package/lib/cjs/rpc/core/RpcPush.js.map +1 -1
  313. package/lib/cjs/rpc/core/RpcRegistry.d.ts.map +1 -1
  314. package/lib/cjs/rpc/core/RpcRegistry.js +10 -9
  315. package/lib/cjs/rpc/core/RpcRegistry.js.map +1 -1
  316. package/lib/cjs/rpc/core/RpcRequest.d.ts +2 -2
  317. package/lib/cjs/rpc/core/RpcRequest.d.ts.map +1 -1
  318. package/lib/cjs/rpc/core/RpcRequest.js +51 -29
  319. package/lib/cjs/rpc/core/RpcRequest.js.map +1 -1
  320. package/lib/cjs/rpc/core/RpcRoutingToken.js +4 -2
  321. package/lib/cjs/rpc/core/RpcRoutingToken.js.map +1 -1
  322. package/lib/cjs/rpc/core/RpcSessionInvocation.js +5 -10
  323. package/lib/cjs/rpc/core/RpcSessionInvocation.js.map +1 -1
  324. package/lib/cjs/rpc/web/BentleyCloudRpcManager.js +11 -17
  325. package/lib/cjs/rpc/web/BentleyCloudRpcManager.js.map +1 -1
  326. package/lib/cjs/rpc/web/BentleyCloudRpcProtocol.js +16 -19
  327. package/lib/cjs/rpc/web/BentleyCloudRpcProtocol.js.map +1 -1
  328. package/lib/cjs/rpc/web/OpenAPI.js +2 -0
  329. package/lib/cjs/rpc/web/OpenAPI.js.map +1 -1
  330. package/lib/cjs/rpc/web/RpcMultipart.d.ts +1 -1
  331. package/lib/cjs/rpc/web/RpcMultipart.d.ts.map +1 -1
  332. package/lib/cjs/rpc/web/RpcMultipart.js +13 -12
  333. package/lib/cjs/rpc/web/RpcMultipart.js.map +1 -1
  334. package/lib/cjs/rpc/web/WebAppRpcLogging.d.ts +3 -0
  335. package/lib/cjs/rpc/web/WebAppRpcLogging.d.ts.map +1 -1
  336. package/lib/cjs/rpc/web/WebAppRpcLogging.js +1 -6
  337. package/lib/cjs/rpc/web/WebAppRpcLogging.js.map +1 -1
  338. package/lib/cjs/rpc/web/WebAppRpcProtocol.d.ts +1 -1
  339. package/lib/cjs/rpc/web/WebAppRpcProtocol.d.ts.map +1 -1
  340. package/lib/cjs/rpc/web/WebAppRpcProtocol.js +6 -6
  341. package/lib/cjs/rpc/web/WebAppRpcProtocol.js.map +1 -1
  342. package/lib/cjs/rpc/web/WebAppRpcRequest.d.ts.map +1 -1
  343. package/lib/cjs/rpc/web/WebAppRpcRequest.js +27 -27
  344. package/lib/cjs/rpc/web/WebAppRpcRequest.js.map +1 -1
  345. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.d.ts +0 -2
  346. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.d.ts.map +1 -1
  347. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.js +14 -8
  348. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.js.map +1 -1
  349. package/lib/cjs/tile/B3dmTileIO.js +7 -0
  350. package/lib/cjs/tile/B3dmTileIO.js.map +1 -1
  351. package/lib/cjs/tile/CompositeTileIO.js +3 -0
  352. package/lib/cjs/tile/CompositeTileIO.js.map +1 -1
  353. package/lib/cjs/tile/GltfTileIO.js +4 -3
  354. package/lib/cjs/tile/GltfTileIO.js.map +1 -1
  355. package/lib/cjs/tile/I3dmTileIO.js +8 -0
  356. package/lib/cjs/tile/I3dmTileIO.js.map +1 -1
  357. package/lib/cjs/tile/IModelTileIO.d.ts +2 -2
  358. package/lib/cjs/tile/IModelTileIO.js +26 -3
  359. package/lib/cjs/tile/IModelTileIO.js.map +1 -1
  360. package/lib/cjs/tile/PntsTileIO.js +5 -0
  361. package/lib/cjs/tile/PntsTileIO.js.map +1 -1
  362. package/lib/cjs/tile/TileIO.js +2 -0
  363. package/lib/cjs/tile/TileIO.js.map +1 -1
  364. package/lib/cjs/tile/TileMetadata.js +9 -1
  365. package/lib/cjs/tile/TileMetadata.js.map +1 -1
  366. package/lib/esm/AmbientOcclusion.js +17 -9
  367. package/lib/esm/AmbientOcclusion.js.map +1 -1
  368. package/lib/esm/AnalysisStyle.d.ts +0 -3
  369. package/lib/esm/AnalysisStyle.d.ts.map +1 -1
  370. package/lib/esm/AnalysisStyle.js +20 -4
  371. package/lib/esm/AnalysisStyle.js.map +1 -1
  372. package/lib/esm/Atmosphere.js +39 -21
  373. package/lib/esm/Atmosphere.js.map +1 -1
  374. package/lib/esm/BackgroundMapProvider.js +4 -0
  375. package/lib/esm/BackgroundMapProvider.js.map +1 -1
  376. package/lib/esm/BackgroundMapSettings.js +19 -0
  377. package/lib/esm/BackgroundMapSettings.js.map +1 -1
  378. package/lib/esm/BlobReader.js +8 -6
  379. package/lib/esm/BlobReader.js.map +1 -1
  380. package/lib/esm/BriefcaseTypes.d.ts +2 -2
  381. package/lib/esm/BriefcaseTypes.d.ts.map +1 -1
  382. package/lib/esm/BriefcaseTypes.js.map +1 -1
  383. package/lib/esm/Camera.js +3 -0
  384. package/lib/esm/Camera.js.map +1 -1
  385. package/lib/esm/ChangesetProps.d.ts +1 -1
  386. package/lib/esm/ChangesetProps.js.map +1 -1
  387. package/lib/esm/ClipStyle.js +31 -5
  388. package/lib/esm/ClipStyle.js.map +1 -1
  389. package/lib/esm/Code.d.ts +0 -5
  390. package/lib/esm/Code.d.ts.map +1 -1
  391. package/lib/esm/Code.js +16 -11
  392. package/lib/esm/Code.js.map +1 -1
  393. package/lib/esm/ColorDef.js +11 -10
  394. package/lib/esm/ColorDef.js.map +1 -1
  395. package/lib/esm/ConcurrentQuery.d.ts +40 -1
  396. package/lib/esm/ConcurrentQuery.d.ts.map +1 -1
  397. package/lib/esm/ConcurrentQuery.js +19 -3
  398. package/lib/esm/ConcurrentQuery.js.map +1 -1
  399. package/lib/esm/ContextRealityModel.js +53 -27
  400. package/lib/esm/ContextRealityModel.js.map +1 -1
  401. package/lib/esm/ContourDisplay.js +40 -5
  402. package/lib/esm/ContourDisplay.js.map +1 -1
  403. package/lib/esm/DisplayStyleSettings.js +95 -63
  404. package/lib/esm/DisplayStyleSettings.js.map +1 -1
  405. package/lib/esm/ECSqlReader.d.ts +2 -0
  406. package/lib/esm/ECSqlReader.d.ts.map +1 -1
  407. package/lib/esm/ECSqlReader.js +56 -50
  408. package/lib/esm/ECSqlReader.js.map +1 -1
  409. package/lib/esm/ElementProps.d.ts +14 -1
  410. package/lib/esm/ElementProps.d.ts.map +1 -1
  411. package/lib/esm/ElementProps.js +8 -4
  412. package/lib/esm/ElementProps.js.map +1 -1
  413. package/lib/esm/EntityProps.d.ts +25 -2
  414. package/lib/esm/EntityProps.d.ts.map +1 -1
  415. package/lib/esm/EntityProps.js +39 -0
  416. package/lib/esm/EntityProps.js.map +1 -1
  417. package/lib/esm/Environment.js +25 -2
  418. package/lib/esm/Environment.js.map +1 -1
  419. package/lib/esm/FeatureIndex.js +15 -6
  420. package/lib/esm/FeatureIndex.js.map +1 -1
  421. package/lib/esm/FeatureSymbology.d.ts +25 -73
  422. package/lib/esm/FeatureSymbology.d.ts.map +1 -1
  423. package/lib/esm/FeatureSymbology.js +88 -103
  424. package/lib/esm/FeatureSymbology.js.map +1 -1
  425. package/lib/esm/FeatureTable.d.ts +6 -108
  426. package/lib/esm/FeatureTable.d.ts.map +1 -1
  427. package/lib/esm/FeatureTable.js +11 -324
  428. package/lib/esm/FeatureTable.js.map +1 -1
  429. package/lib/esm/Fonts.d.ts +69 -11
  430. package/lib/esm/Fonts.d.ts.map +1 -1
  431. package/lib/esm/Fonts.js +21 -6
  432. package/lib/esm/Fonts.js.map +1 -1
  433. package/lib/esm/Frustum.js +2 -2
  434. package/lib/esm/Frustum.js.map +1 -1
  435. package/lib/esm/GeoCoordinateServices.d.ts +1 -0
  436. package/lib/esm/GeoCoordinateServices.d.ts.map +1 -1
  437. package/lib/esm/GeoCoordinateServices.js +2 -1
  438. package/lib/esm/GeoCoordinateServices.js.map +1 -1
  439. package/lib/esm/GeometryParams.js +58 -0
  440. package/lib/esm/GeometryParams.js.map +1 -1
  441. package/lib/esm/Gradient.d.ts +3 -4
  442. package/lib/esm/Gradient.d.ts.map +1 -1
  443. package/lib/esm/Gradient.js +21 -19
  444. package/lib/esm/Gradient.js.map +1 -1
  445. package/lib/esm/GraphicParams.js +14 -12
  446. package/lib/esm/GraphicParams.js.map +1 -1
  447. package/lib/esm/GroundPlane.js +8 -2
  448. package/lib/esm/GroundPlane.js.map +1 -1
  449. package/lib/esm/HSLColor.js +6 -0
  450. package/lib/esm/HSLColor.js.map +1 -1
  451. package/lib/esm/HSVColor.js +6 -0
  452. package/lib/esm/HSVColor.js.map +1 -1
  453. package/lib/esm/HiddenLine.d.ts +17 -18
  454. package/lib/esm/HiddenLine.d.ts.map +1 -1
  455. package/lib/esm/HiddenLine.js +24 -5
  456. package/lib/esm/HiddenLine.js.map +1 -1
  457. package/lib/esm/Hilite.js +10 -0
  458. package/lib/esm/Hilite.js.map +1 -1
  459. package/lib/esm/IModel.d.ts +3 -12
  460. package/lib/esm/IModel.d.ts.map +1 -1
  461. package/lib/esm/IModel.js +47 -23
  462. package/lib/esm/IModel.js.map +1 -1
  463. package/lib/esm/IModelError.d.ts +17 -9
  464. package/lib/esm/IModelError.d.ts.map +1 -1
  465. package/lib/esm/IModelError.js +6 -4
  466. package/lib/esm/IModelError.js.map +1 -1
  467. package/lib/esm/IModelVersion.js +4 -0
  468. package/lib/esm/IModelVersion.js.map +1 -1
  469. package/lib/esm/ITwinCoreErrors.d.ts +28 -0
  470. package/lib/esm/ITwinCoreErrors.d.ts.map +1 -0
  471. package/lib/esm/ITwinCoreErrors.js +25 -0
  472. package/lib/esm/ITwinCoreErrors.js.map +1 -0
  473. package/lib/esm/Image.d.ts +22 -8
  474. package/lib/esm/Image.d.ts.map +1 -1
  475. package/lib/esm/Image.js +19 -4
  476. package/lib/esm/Image.js.map +1 -1
  477. package/lib/esm/IpcAppProps.d.ts +5 -1
  478. package/lib/esm/IpcAppProps.d.ts.map +1 -1
  479. package/lib/esm/IpcAppProps.js.map +1 -1
  480. package/lib/esm/LightSettings.js +39 -1
  481. package/lib/esm/LightSettings.js.map +1 -1
  482. package/lib/esm/Localization.d.ts +0 -10
  483. package/lib/esm/Localization.d.ts.map +1 -1
  484. package/lib/esm/Localization.js +0 -1
  485. package/lib/esm/Localization.js.map +1 -1
  486. package/lib/esm/MapImagerySettings.js +3 -2
  487. package/lib/esm/MapImagerySettings.js.map +1 -1
  488. package/lib/esm/MapLayerSettings.d.ts +38 -1
  489. package/lib/esm/MapLayerSettings.d.ts.map +1 -1
  490. package/lib/esm/MapLayerSettings.js +70 -3
  491. package/lib/esm/MapLayerSettings.js.map +1 -1
  492. package/lib/esm/MassProperties.d.ts +2 -0
  493. package/lib/esm/MassProperties.d.ts.map +1 -1
  494. package/lib/esm/MassProperties.js.map +1 -1
  495. package/lib/esm/ModelClipGroup.js +6 -0
  496. package/lib/esm/ModelClipGroup.js.map +1 -1
  497. package/lib/esm/OctEncodedNormal.js +4 -0
  498. package/lib/esm/OctEncodedNormal.js.map +1 -1
  499. package/lib/esm/PlanProjectionSettings.d.ts +1 -2
  500. package/lib/esm/PlanProjectionSettings.d.ts.map +1 -1
  501. package/lib/esm/PlanProjectionSettings.js +8 -1
  502. package/lib/esm/PlanProjectionSettings.js.map +1 -1
  503. package/lib/esm/PlanarClipMask.d.ts +0 -12
  504. package/lib/esm/PlanarClipMask.d.ts.map +1 -1
  505. package/lib/esm/PlanarClipMask.js +24 -2
  506. package/lib/esm/PlanarClipMask.js.map +1 -1
  507. package/lib/esm/QPoint.d.ts +5 -5
  508. package/lib/esm/QPoint.d.ts.map +1 -1
  509. package/lib/esm/QPoint.js +37 -29
  510. package/lib/esm/QPoint.js.map +1 -1
  511. package/lib/esm/RealityModelDisplaySettings.js +81 -4
  512. package/lib/esm/RealityModelDisplaySettings.js.map +1 -1
  513. package/lib/esm/RenderMaterial.d.ts +0 -43
  514. package/lib/esm/RenderMaterial.d.ts.map +1 -1
  515. package/lib/esm/RenderMaterial.js +6 -51
  516. package/lib/esm/RenderMaterial.js.map +1 -1
  517. package/lib/esm/RenderPolyline.d.ts +36 -0
  518. package/lib/esm/RenderPolyline.d.ts.map +1 -0
  519. package/lib/esm/RenderPolyline.js +23 -0
  520. package/lib/esm/RenderPolyline.js.map +1 -0
  521. package/lib/esm/RenderSchedule.d.ts +1 -2
  522. package/lib/esm/RenderSchedule.d.ts.map +1 -1
  523. package/lib/esm/RenderSchedule.js +138 -11
  524. package/lib/esm/RenderSchedule.js.map +1 -1
  525. package/lib/esm/RenderTexture.d.ts +5 -23
  526. package/lib/esm/RenderTexture.d.ts.map +1 -1
  527. package/lib/esm/RenderTexture.js +13 -16
  528. package/lib/esm/RenderTexture.js.map +1 -1
  529. package/lib/esm/RgbColor.js +3 -0
  530. package/lib/esm/RgbColor.js.map +1 -1
  531. package/lib/esm/RpcInterface.d.ts.map +1 -1
  532. package/lib/esm/RpcInterface.js +8 -2
  533. package/lib/esm/RpcInterface.js.map +1 -1
  534. package/lib/esm/SkyBox.js +17 -4
  535. package/lib/esm/SkyBox.js.map +1 -1
  536. package/lib/esm/SolarShadows.js +5 -1
  537. package/lib/esm/SolarShadows.js.map +1 -1
  538. package/lib/esm/SpatialClassification.js +19 -1
  539. package/lib/esm/SpatialClassification.js.map +1 -1
  540. package/lib/esm/SubCategoryAppearance.js +35 -1
  541. package/lib/esm/SubCategoryAppearance.js.map +1 -1
  542. package/lib/esm/SubCategoryOverride.js +16 -2
  543. package/lib/esm/SubCategoryOverride.js.map +1 -1
  544. package/lib/esm/TerrainSettings.d.ts +0 -7
  545. package/lib/esm/TerrainSettings.d.ts.map +1 -1
  546. package/lib/esm/TerrainSettings.js +19 -0
  547. package/lib/esm/TerrainSettings.js.map +1 -1
  548. package/lib/esm/TextureMapping.d.ts +17 -14
  549. package/lib/esm/TextureMapping.d.ts.map +1 -1
  550. package/lib/esm/TextureMapping.js +47 -19
  551. package/lib/esm/TextureMapping.js.map +1 -1
  552. package/lib/esm/ThematicDisplay.js +53 -2
  553. package/lib/esm/ThematicDisplay.js.map +1 -1
  554. package/lib/esm/Thumbnail.d.ts +1 -1
  555. package/lib/esm/Thumbnail.js.map +1 -1
  556. package/lib/esm/Tween.js +28 -19
  557. package/lib/esm/Tween.js.map +1 -1
  558. package/lib/esm/ViewDetails.js +10 -6
  559. package/lib/esm/ViewDetails.js.map +1 -1
  560. package/lib/esm/ViewFlags.d.ts +1 -3
  561. package/lib/esm/ViewFlags.d.ts.map +1 -1
  562. package/lib/esm/ViewFlags.js +86 -5
  563. package/lib/esm/ViewFlags.js.map +1 -1
  564. package/lib/esm/ViewProps.d.ts +2 -6
  565. package/lib/esm/ViewProps.d.ts.map +1 -1
  566. package/lib/esm/ViewProps.js.map +1 -1
  567. package/lib/esm/WhiteOnWhiteReversalSettings.js +7 -2
  568. package/lib/esm/WhiteOnWhiteReversalSettings.js.map +1 -1
  569. package/lib/esm/annotation/TextAnnotation.d.ts +3 -2
  570. package/lib/esm/annotation/TextAnnotation.d.ts.map +1 -1
  571. package/lib/esm/annotation/TextAnnotation.js +13 -2
  572. package/lib/esm/annotation/TextAnnotation.js.map +1 -1
  573. package/lib/esm/annotation/TextBlock.d.ts +17 -0
  574. package/lib/esm/annotation/TextBlock.d.ts.map +1 -1
  575. package/lib/esm/annotation/TextBlock.js +41 -6
  576. package/lib/esm/annotation/TextBlock.js.map +1 -1
  577. package/lib/esm/annotation/TextStyle.js +65 -19
  578. package/lib/esm/annotation/TextStyle.js.map +1 -1
  579. package/lib/esm/core-common.d.ts +3 -5
  580. package/lib/esm/core-common.d.ts.map +1 -1
  581. package/lib/esm/core-common.js +3 -5
  582. package/lib/esm/core-common.js.map +1 -1
  583. package/lib/esm/geometry/AdditionalTransform.js +12 -0
  584. package/lib/esm/geometry/AdditionalTransform.js.map +1 -1
  585. package/lib/esm/geometry/AreaPattern.js +17 -0
  586. package/lib/esm/geometry/AreaPattern.js.map +1 -1
  587. package/lib/esm/geometry/BoundingSphere.js +4 -0
  588. package/lib/esm/geometry/BoundingSphere.js.map +1 -1
  589. package/lib/esm/geometry/Cartographic.js +23 -20
  590. package/lib/esm/geometry/Cartographic.js.map +1 -1
  591. package/lib/esm/geometry/CoordinateReferenceSystem.js +62 -0
  592. package/lib/esm/geometry/CoordinateReferenceSystem.js.map +1 -1
  593. package/lib/esm/geometry/ElementGeometry.js +26 -8
  594. package/lib/esm/geometry/ElementGeometry.js.map +1 -1
  595. package/lib/esm/geometry/ElementGeometryFB.js +54 -108
  596. package/lib/esm/geometry/ElementGeometryFB.js.map +1 -1
  597. package/lib/esm/geometry/FrustumPlanes.js +1 -0
  598. package/lib/esm/geometry/FrustumPlanes.js.map +1 -1
  599. package/lib/esm/geometry/GeodeticDatum.js +100 -0
  600. package/lib/esm/geometry/GeodeticDatum.js.map +1 -1
  601. package/lib/esm/geometry/GeodeticEllipsoid.js +16 -0
  602. package/lib/esm/geometry/GeodeticEllipsoid.js.map +1 -1
  603. package/lib/esm/geometry/GeometryStream.js +19 -6
  604. package/lib/esm/geometry/GeometryStream.js.map +1 -1
  605. package/lib/esm/geometry/ImageGraphic.js +10 -0
  606. package/lib/esm/geometry/ImageGraphic.js.map +1 -1
  607. package/lib/esm/geometry/LineStyle.js +14 -0
  608. package/lib/esm/geometry/LineStyle.js.map +1 -1
  609. package/lib/esm/geometry/Placement.js +6 -0
  610. package/lib/esm/geometry/Placement.js.map +1 -1
  611. package/lib/esm/geometry/Projection.js +75 -0
  612. package/lib/esm/geometry/Projection.js.map +1 -1
  613. package/lib/esm/geometry/TextString.js +18 -0
  614. package/lib/esm/geometry/TextString.js.map +1 -1
  615. package/lib/esm/{BackendTypes.d.ts → internal/BackendTypes.d.ts} +1 -0
  616. package/lib/esm/internal/BackendTypes.d.ts.map +1 -0
  617. package/lib/esm/internal/BackendTypes.js.map +1 -0
  618. package/lib/esm/internal/PackedFeatureTable.d.ts +111 -0
  619. package/lib/esm/internal/PackedFeatureTable.d.ts.map +1 -0
  620. package/lib/esm/internal/PackedFeatureTable.js +352 -0
  621. package/lib/esm/internal/PackedFeatureTable.js.map +1 -0
  622. package/lib/esm/internal/RenderMaterialParams.d.ts +47 -0
  623. package/lib/esm/internal/RenderMaterialParams.d.ts.map +1 -0
  624. package/lib/esm/internal/RenderMaterialParams.js +64 -0
  625. package/lib/esm/internal/RenderMaterialParams.js.map +1 -0
  626. package/lib/esm/internal/RenderMesh.d.ts +52 -0
  627. package/lib/esm/internal/RenderMesh.d.ts.map +1 -0
  628. package/lib/esm/{Render.js → internal/RenderMesh.js} +11 -29
  629. package/lib/esm/internal/RenderMesh.js.map +1 -0
  630. package/lib/esm/internal/RenderTextureParams.d.ts +25 -0
  631. package/lib/esm/internal/RenderTextureParams.d.ts.map +1 -0
  632. package/lib/esm/internal/RenderTextureParams.js +33 -0
  633. package/lib/esm/internal/RenderTextureParams.js.map +1 -0
  634. package/lib/esm/internal/cross-package.d.ts +5 -0
  635. package/lib/esm/internal/cross-package.d.ts.map +1 -1
  636. package/lib/esm/internal/cross-package.js +4 -1
  637. package/lib/esm/internal/cross-package.js.map +1 -1
  638. package/lib/esm/ipc/IpcSession.js +1 -0
  639. package/lib/esm/ipc/IpcSession.js.map +1 -1
  640. package/lib/esm/ipc/IpcSocket.d.ts +2 -20
  641. package/lib/esm/ipc/IpcSocket.d.ts.map +1 -1
  642. package/lib/esm/ipc/IpcSocket.js.map +1 -1
  643. package/lib/esm/ipc/IpcWebSocket.js +7 -6
  644. package/lib/esm/ipc/IpcWebSocket.js.map +1 -1
  645. package/lib/esm/ipc/IpcWebSocketTransport.js +8 -7
  646. package/lib/esm/ipc/IpcWebSocketTransport.js.map +1 -1
  647. package/lib/esm/rpc/DevToolsRpcInterface.js +6 -6
  648. package/lib/esm/rpc/DevToolsRpcInterface.js.map +1 -1
  649. package/lib/esm/rpc/IModelReadRpcInterface.js +8 -11
  650. package/lib/esm/rpc/IModelReadRpcInterface.js.map +1 -1
  651. package/lib/esm/rpc/IModelTileRpcInterface.js +4 -4
  652. package/lib/esm/rpc/IModelTileRpcInterface.js.map +1 -1
  653. package/lib/esm/rpc/SnapshotIModelRpcInterface.d.ts +7 -0
  654. package/lib/esm/rpc/SnapshotIModelRpcInterface.d.ts.map +1 -1
  655. package/lib/esm/rpc/SnapshotIModelRpcInterface.js +11 -4
  656. package/lib/esm/rpc/SnapshotIModelRpcInterface.js.map +1 -1
  657. package/lib/esm/rpc/TestRpcManager.js +1 -4
  658. package/lib/esm/rpc/TestRpcManager.js.map +1 -1
  659. package/lib/esm/rpc/core/RpcConfiguration.js +51 -64
  660. package/lib/esm/rpc/core/RpcConfiguration.js.map +1 -1
  661. package/lib/esm/rpc/core/RpcControl.js +29 -38
  662. package/lib/esm/rpc/core/RpcControl.js.map +1 -1
  663. package/lib/esm/rpc/core/RpcInvocation.js +19 -13
  664. package/lib/esm/rpc/core/RpcInvocation.js.map +1 -1
  665. package/lib/esm/rpc/core/RpcMarshaling.d.ts +1 -4
  666. package/lib/esm/rpc/core/RpcMarshaling.d.ts.map +1 -1
  667. package/lib/esm/rpc/core/RpcMarshaling.js +2 -1
  668. package/lib/esm/rpc/core/RpcMarshaling.js.map +1 -1
  669. package/lib/esm/rpc/core/RpcOperation.js +29 -31
  670. package/lib/esm/rpc/core/RpcOperation.js.map +1 -1
  671. package/lib/esm/rpc/core/RpcPendingQueue.js +17 -16
  672. package/lib/esm/rpc/core/RpcPendingQueue.js.map +1 -1
  673. package/lib/esm/rpc/core/RpcProtocol.js +32 -30
  674. package/lib/esm/rpc/core/RpcProtocol.js.map +1 -1
  675. package/lib/esm/rpc/core/RpcPush.js +15 -8
  676. package/lib/esm/rpc/core/RpcPush.js.map +1 -1
  677. package/lib/esm/rpc/core/RpcRegistry.d.ts.map +1 -1
  678. package/lib/esm/rpc/core/RpcRegistry.js +10 -9
  679. package/lib/esm/rpc/core/RpcRegistry.js.map +1 -1
  680. package/lib/esm/rpc/core/RpcRequest.d.ts +2 -2
  681. package/lib/esm/rpc/core/RpcRequest.d.ts.map +1 -1
  682. package/lib/esm/rpc/core/RpcRequest.js +51 -29
  683. package/lib/esm/rpc/core/RpcRequest.js.map +1 -1
  684. package/lib/esm/rpc/core/RpcRoutingToken.js +4 -2
  685. package/lib/esm/rpc/core/RpcRoutingToken.js.map +1 -1
  686. package/lib/esm/rpc/core/RpcSessionInvocation.js +5 -10
  687. package/lib/esm/rpc/core/RpcSessionInvocation.js.map +1 -1
  688. package/lib/esm/rpc/web/BentleyCloudRpcManager.js +11 -17
  689. package/lib/esm/rpc/web/BentleyCloudRpcManager.js.map +1 -1
  690. package/lib/esm/rpc/web/BentleyCloudRpcProtocol.js +16 -19
  691. package/lib/esm/rpc/web/BentleyCloudRpcProtocol.js.map +1 -1
  692. package/lib/esm/rpc/web/OpenAPI.js +2 -0
  693. package/lib/esm/rpc/web/OpenAPI.js.map +1 -1
  694. package/lib/esm/rpc/web/RpcMultipart.d.ts +1 -1
  695. package/lib/esm/rpc/web/RpcMultipart.d.ts.map +1 -1
  696. package/lib/esm/rpc/web/RpcMultipart.js +14 -13
  697. package/lib/esm/rpc/web/RpcMultipart.js.map +1 -1
  698. package/lib/esm/rpc/web/WebAppRpcLogging.d.ts +3 -0
  699. package/lib/esm/rpc/web/WebAppRpcLogging.d.ts.map +1 -1
  700. package/lib/esm/rpc/web/WebAppRpcLogging.js +1 -6
  701. package/lib/esm/rpc/web/WebAppRpcLogging.js.map +1 -1
  702. package/lib/esm/rpc/web/WebAppRpcProtocol.d.ts +1 -1
  703. package/lib/esm/rpc/web/WebAppRpcProtocol.d.ts.map +1 -1
  704. package/lib/esm/rpc/web/WebAppRpcProtocol.js +6 -6
  705. package/lib/esm/rpc/web/WebAppRpcProtocol.js.map +1 -1
  706. package/lib/esm/rpc/web/WebAppRpcRequest.d.ts.map +1 -1
  707. package/lib/esm/rpc/web/WebAppRpcRequest.js +27 -27
  708. package/lib/esm/rpc/web/WebAppRpcRequest.js.map +1 -1
  709. package/lib/esm/rpc/web/multipart/RpcMultipartParser.d.ts +0 -2
  710. package/lib/esm/rpc/web/multipart/RpcMultipartParser.d.ts.map +1 -1
  711. package/lib/esm/rpc/web/multipart/RpcMultipartParser.js +14 -8
  712. package/lib/esm/rpc/web/multipart/RpcMultipartParser.js.map +1 -1
  713. package/lib/esm/tile/B3dmTileIO.js +7 -0
  714. package/lib/esm/tile/B3dmTileIO.js.map +1 -1
  715. package/lib/esm/tile/CompositeTileIO.js +3 -0
  716. package/lib/esm/tile/CompositeTileIO.js.map +1 -1
  717. package/lib/esm/tile/GltfTileIO.js +4 -3
  718. package/lib/esm/tile/GltfTileIO.js.map +1 -1
  719. package/lib/esm/tile/I3dmTileIO.js +8 -0
  720. package/lib/esm/tile/I3dmTileIO.js.map +1 -1
  721. package/lib/esm/tile/IModelTileIO.d.ts +2 -2
  722. package/lib/esm/tile/IModelTileIO.js +26 -3
  723. package/lib/esm/tile/IModelTileIO.js.map +1 -1
  724. package/lib/esm/tile/PntsTileIO.js +5 -0
  725. package/lib/esm/tile/PntsTileIO.js.map +1 -1
  726. package/lib/esm/tile/TileIO.js +2 -0
  727. package/lib/esm/tile/TileIO.js.map +1 -1
  728. package/lib/esm/tile/TileMetadata.js +9 -1
  729. package/lib/esm/tile/TileMetadata.js.map +1 -1
  730. package/package.json +15 -15
  731. package/lib/cjs/BackendTypes.d.ts.map +0 -1
  732. package/lib/cjs/BackendTypes.js.map +0 -1
  733. package/lib/cjs/ITwinError.d.ts +0 -72
  734. package/lib/cjs/ITwinError.d.ts.map +0 -1
  735. package/lib/cjs/ITwinError.js +0 -55
  736. package/lib/cjs/ITwinError.js.map +0 -1
  737. package/lib/cjs/Render.d.ts +0 -85
  738. package/lib/cjs/Render.d.ts.map +0 -1
  739. package/lib/cjs/Render.js.map +0 -1
  740. package/lib/cjs/rpc/WipRpcInterface.d.ts +0 -31
  741. package/lib/cjs/rpc/WipRpcInterface.d.ts.map +0 -1
  742. package/lib/cjs/rpc/WipRpcInterface.js +0 -42
  743. package/lib/cjs/rpc/WipRpcInterface.js.map +0 -1
  744. package/lib/esm/BackendTypes.d.ts.map +0 -1
  745. package/lib/esm/BackendTypes.js.map +0 -1
  746. package/lib/esm/ITwinError.d.ts +0 -72
  747. package/lib/esm/ITwinError.d.ts.map +0 -1
  748. package/lib/esm/ITwinError.js +0 -52
  749. package/lib/esm/ITwinError.js.map +0 -1
  750. package/lib/esm/Render.d.ts +0 -85
  751. package/lib/esm/Render.d.ts.map +0 -1
  752. package/lib/esm/Render.js.map +0 -1
  753. package/lib/esm/rpc/WipRpcInterface.d.ts +0 -31
  754. package/lib/esm/rpc/WipRpcInterface.d.ts.map +0 -1
  755. package/lib/esm/rpc/WipRpcInterface.js +0 -38
  756. package/lib/esm/rpc/WipRpcInterface.js.map +0 -1
  757. /package/lib/cjs/{BackendTypes.js → internal/BackendTypes.js} +0 -0
  758. /package/lib/esm/{BackendTypes.js → internal/BackendTypes.js} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"Render.js","sourceRoot":"","sources":["../../src/Render.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAIH,qBAAqB;AAErB;;GAEG;AACH,IAAY,iBASX;AATD,WAAY,iBAAiB;IAC3B,2DAA2D;IAC3D,6DAAU,CAAA;IACV,8DAA8D;IAC9D,yDAAa,CAAA;IACb;;OAEG;IACH,+DAAgB,CAAA;AAClB,CAAC,EATW,iBAAiB,iCAAjB,iBAAiB,QAS5B;AAuBD,gBAAgB;AAChB,MAAa,YAAY;IAGvB,YAAmB,UAA2B,EAAE;QAC9C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC;IACjC,CAAC;IAEM,QAAQ,CAAC,KAAa;QAC3B,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;QACzB,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,C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AC;IAChB,CAAC;CACF;AAjBD,gDAiBC;AAED,gBAAgB;AAChB,MAAa,gBAAgB;IAG3B,YAAmB,KAAyB,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAE5D,IAAI,CAAC,KAAyB;QACnC,IAAI,CAAC,KAAK,GAAG,SAAS,KAAK,KAAK,IAAI,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAW,QAAQ,KAAK,OAAO,SAAS,KAAK,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAClF,IAAW,OAAO,KAAK,OAAO,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC;IAC3C,KAAK,KAAK,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC;CAC3C;AAbD,4CAaC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Rendering\n */\n\nimport { OctEncodedNormalPair } from \"./OctEncodedNormal\";\n\n// cSpell:ignore vals\n\n/** Describes the semantics of a [PolylineArgs]($frontend).\n * @public\n */\nexport enum PolylineTypeFlags {\n /** Just an ordinary polyline with no special semantics. */\n Normal = 0,\n /** A polyline used to define the edges of a planar region. */\n Edge = 1 << 0,\n /** Like [[Edge]], but the edges are only displayed in [[RenderMode.Wireframe]] when the surface's fill is not displayed.\n * [[FillFlags]] controls whether the fill is displayed.\n */\n Outline = 1 << 1,\n}\n\n/** Flags describing a [PolylineArgs]($frontend).\n * @public\n */\nexport interface PolylineFlags {\n /** If `true`, the polylines are to be drawn as individual disconnected point strings instead of as connected line strings. */\n isDisjoint?: boolean;\n /** If `true`, the polylines' positions are all coplanar. */\n isPlanar?: boolean;\n /** If `true`, the polylines' positions all have the same z coordinate. */\n is2d?: boolean;\n /** Default: Normal. */\n type?: PolylineTypeFlags;\n}\n\n/** Describes the vertex indices of a single line within a [PolylineArgs]($frontend).\n * The indices represent either a line string as a connected series of points, or a point string as a set of disconnected points, depending\n * on the [[PolylineFlags.isDisjoint]] value of [PolylineArgs.flags]($frontend).\n * @public\n */\nexport type PolylineIndices = number[];\n\n/** @internal */\nexport class MeshPolyline {\n public readonly indices: PolylineIndices;\n\n public constructor(indices: PolylineIndices = []) {\n this.indices = indices.slice();\n }\n\n public addIndex(index: number) {\n const { indices } = this;\n if (indices.length === 0 || indices[indices.length - 1] !== index)\n indices.push(index);\n }\n\n public clear() { this.indices.length = 0; }\n}\n\n/** @internal */\nexport class MeshPolylineList extends Array<MeshPolyline> {\n constructor(...args: MeshPolyline[]) {\n super(...args);\n }\n}\n\n/** @internal */\nexport class MeshEdge {\n public indices = [0, 0];\n\n public constructor(index0?: number, index1?: number) {\n if (undefined === index0 || undefined === index1)\n return;\n if (index0 < index1) {\n this.indices[0] = index0;\n this.indices[1] = index1;\n } else {\n this.indices[0] = index1;\n this.indices[1] = index0;\n }\n }\n\n public compareTo(other: MeshEdge): number {\n let diff = this.indices[0] - other.indices[0];\n if (0 === diff)\n diff = this.indices[1] - other.indices[1];\n\n return diff;\n }\n}\n\n/** @internal */\nexport class MeshEdges {\n public visible: MeshEdge[] = [];\n public silhouette: MeshEdge[] = [];\n public polylines: MeshPolylineList = new MeshPolylineList();\n public silhouetteNormals: OctEncodedNormalPair[] = [];\n public constructor() { }\n}\n\n/** @internal */\nexport class EdgeArgs {\n public edges?: MeshEdge[];\n\n public init(meshEdges?: MeshEdges): boolean {\n this.clear();\n if (undefined !== meshEdges && 0 < meshEdges.visible.length)\n this.edges = meshEdges.visible;\n\n return this.isValid;\n }\n\n public clear(): void { this.edges = undefined; }\n public get isValid(): boolean { return 0 < this.numEdges; }\n public get numEdges() { return undefined !== this.edges ? this.edges.length : 0; }\n}\n\n/** @internal */\nexport class SilhouetteEdgeArgs extends EdgeArgs {\n public normals?: OctEncodedNormalPair[];\n\n public override init(meshEdges?: MeshEdges) {\n this.clear();\n if (undefined !== meshEdges && 0 < meshEdges.silhouette.length) {\n this.edges = meshEdges.silhouette;\n this.normals = meshEdges.silhouetteNormals;\n }\n\n return this.isValid;\n }\n\n public override clear() {\n this.normals = undefined;\n super.clear();\n }\n}\n\n/** @internal */\nexport class PolylineEdgeArgs {\n public lines?: PolylineIndices[];\n\n public constructor(lines?: PolylineIndices[]) { this.init(lines); }\n\n public init(lines?: PolylineIndices[]): boolean {\n this.lines = undefined !== lines && 0 < lines.length ? lines : undefined;\n return this.isValid;\n }\n\n public get numLines() { return undefined !== this.lines ? this.lines.length : 0; }\n public get isValid() { return this.numLines > 0; }\n public clear() { this.lines = undefined; }\n}\n"]}
@@ -1,31 +0,0 @@
1
- /** @packageDocumentation
2
- * @module RpcInterface
3
- */
4
- import { ChangedElements } from "../ChangedElements";
5
- import { IModelRpcProps } from "../IModel";
6
- import { RpcInterface } from "../RpcInterface";
7
- /** The purpose of this class is to house WIP RPC methods. For example:
8
- * - WIP methods where signatures or behavior is still changing
9
- * - Experimental methods that we may decide are a bad idea and never release
10
- * The idea is to house these WIP RPC methods away from other RpcInterfaces that have stated compatibility goals.
11
- * Once stable, the goal is to move methods out to their rightful home.
12
- * Apps/services should understand the *flux* implied by registering this RpcInterface and should be in control of both the client and server before even considering using it.
13
- * @internal
14
- * @deprecated in 4.10. If any of these methods are needed in the frontend, they should be rewritten using IPC or HTTP protocol.
15
- */
16
- export declare abstract class WipRpcInterface extends RpcInterface {
17
- /** Returns the IModelReadRpcInterface instance for the frontend. */
18
- static getClient(): WipRpcInterface;
19
- /** The immutable name of the interface. */
20
- static readonly interfaceName = "WipRpcInterface";
21
- /** The semantic version of the interface.
22
- * @note The WipRpcInterface will never progress to 1.0 since it is never intended to be public.
23
- */
24
- static interfaceVersion: string;
25
- placeholder(_iModelToken: IModelRpcProps): Promise<string>;
26
- isChangeCacheAttached(_iModelToken: IModelRpcProps): Promise<boolean>;
27
- attachChangeCache(_iModelToken: IModelRpcProps): Promise<void>;
28
- getChangedElements(_iModelToken: IModelRpcProps, _startChangesetId: string, _endChangesetId: string): Promise<ChangedElements | undefined>;
29
- isChangesetProcessed(_iModelToken: IModelRpcProps, _changesetId: string): Promise<boolean>;
30
- }
31
- //# sourceMappingURL=WipRpcInterface.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WipRpcInterface.d.ts","sourceRoot":"","sources":["../../../src/rpc/WipRpcInterface.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C;;;;;;;;GAQG;AACH,8BAAsB,eAAgB,SAAQ,YAAY;IACxD,oEAAoE;WACtD,SAAS,IAAI,eAAe;IAE1C,2CAA2C;IAC3C,gBAAuB,aAAa,qBAAqB;IAEzD;;OAEG;IACH,OAAc,gBAAgB,SAAW;IAM5B,WAAW,CAAC,YAAY,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;IAC1D,qBAAqB,CAAC,YAAY,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IACrE,iBAAiB,CAAC,YAAY,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAC9D,kBAAkB,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC;IAC1I,oBAAoB,CAAC,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CACxG"}
@@ -1,42 +0,0 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module RpcInterface
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.WipRpcInterface = void 0;
11
- const RpcInterface_1 = require("../RpcInterface");
12
- const RpcManager_1 = require("../RpcManager");
13
- /** The purpose of this class is to house WIP RPC methods. For example:
14
- * - WIP methods where signatures or behavior is still changing
15
- * - Experimental methods that we may decide are a bad idea and never release
16
- * The idea is to house these WIP RPC methods away from other RpcInterfaces that have stated compatibility goals.
17
- * Once stable, the goal is to move methods out to their rightful home.
18
- * Apps/services should understand the *flux* implied by registering this RpcInterface and should be in control of both the client and server before even considering using it.
19
- * @internal
20
- * @deprecated in 4.10. If any of these methods are needed in the frontend, they should be rewritten using IPC or HTTP protocol.
21
- */
22
- class WipRpcInterface extends RpcInterface_1.RpcInterface {
23
- /** Returns the IModelReadRpcInterface instance for the frontend. */
24
- static getClient() { return RpcManager_1.RpcManager.getClientForInterface(WipRpcInterface); } // eslint-disable-line @typescript-eslint/no-deprecated
25
- /*===========================================================================================
26
- NOTE: Any add/remove/change to the methods below requires an update of the interface version.
27
- NOTE: Please consult the README in this folder for the semantic versioning rules.
28
- ==========================================================================================*/
29
- async placeholder(_iModelToken) { return this.forward(arguments); } // here to test that WipRpcInterface is configured properly
30
- async isChangeCacheAttached(_iModelToken) { return this.forward(arguments); }
31
- async attachChangeCache(_iModelToken) { return this.forward(arguments); }
32
- async getChangedElements(_iModelToken, _startChangesetId, _endChangesetId) { return this.forward(arguments); }
33
- async isChangesetProcessed(_iModelToken, _changesetId) { return this.forward(arguments); }
34
- }
35
- exports.WipRpcInterface = WipRpcInterface;
36
- /** The immutable name of the interface. */
37
- WipRpcInterface.interfaceName = "WipRpcInterface";
38
- /** The semantic version of the interface.
39
- * @note The WipRpcInterface will never progress to 1.0 since it is never intended to be public.
40
- */
41
- WipRpcInterface.interfaceVersion = "0.5.0";
42
- //# sourceMappingURL=WipRpcInterface.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WipRpcInterface.js","sourceRoot":"","sources":["../../../src/rpc/WipRpcInterface.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAIH,kDAA+C;AAC/C,8CAA2C;AAE3C;;;;;;;;GAQG;AACH,MAAsB,eAAgB,SAAQ,2BAAY;IACxD,oEAAoE;IAC7D,MAAM,CAAC,SAAS,KAAsB,OAAO,uBAAU,CAAC,qBAAqB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,uDAAuD;IAUhK;;;gGAG4F;IACrF,KAAK,CAAC,WAAW,CAAC,YAA4B,IAAqB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,2DAA2D;IAChK,KAAK,CAAC,qBAAqB,CAAC,YAA4B,IAAsB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAC/G,KAAK,CAAC,iBAAiB,CAAC,YAA4B,IAAmB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACxG,KAAK,CAAC,kBAAkB,CAAC,YAA4B,EAAE,iBAAyB,EAAE,eAAuB,IAA0C,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACpL,KAAK,CAAC,oBAAoB,CAAC,YAA4B,EAAE,YAAoB,IAAsB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;;AApB7I,0CAqBC;AAjBC,2CAA2C;AACpB,6BAAa,GAAG,iBAAiB,CAAC;AAEzD;;GAEG;AACW,gCAAgB,GAAG,OAAO,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module RpcInterface\n */\n\nimport { ChangedElements } from \"../ChangedElements\";\nimport { IModelRpcProps } from \"../IModel\";\nimport { RpcInterface } from \"../RpcInterface\";\nimport { RpcManager } from \"../RpcManager\";\n\n/** The purpose of this class is to house WIP RPC methods. For example:\n * - WIP methods where signatures or behavior is still changing\n * - Experimental methods that we may decide are a bad idea and never release\n * The idea is to house these WIP RPC methods away from other RpcInterfaces that have stated compatibility goals.\n * Once stable, the goal is to move methods out to their rightful home.\n * Apps/services should understand the *flux* implied by registering this RpcInterface and should be in control of both the client and server before even considering using it.\n * @internal\n * @deprecated in 4.10. If any of these methods are needed in the frontend, they should be rewritten using IPC or HTTP protocol.\n */\nexport abstract class WipRpcInterface extends RpcInterface {\n /** Returns the IModelReadRpcInterface instance for the frontend. */\n public static getClient(): WipRpcInterface { return RpcManager.getClientForInterface(WipRpcInterface); } // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** The immutable name of the interface. */\n public static readonly interfaceName = \"WipRpcInterface\";\n\n /** The semantic version of the interface.\n * @note The WipRpcInterface will never progress to 1.0 since it is never intended to be public.\n */\n public static interfaceVersion = \"0.5.0\";\n\n /*===========================================================================================\n NOTE: Any add/remove/change to the methods below requires an update of the interface version.\n NOTE: Please consult the README in this folder for the semantic versioning rules.\n ==========================================================================================*/\n public async placeholder(_iModelToken: IModelRpcProps): Promise<string> { return this.forward(arguments); } // here to test that WipRpcInterface is configured properly\n public async isChangeCacheAttached(_iModelToken: IModelRpcProps): Promise<boolean> { return this.forward(arguments); }\n public async attachChangeCache(_iModelToken: IModelRpcProps): Promise<void> { return this.forward(arguments); }\n public async getChangedElements(_iModelToken: IModelRpcProps, _startChangesetId: string, _endChangesetId: string): Promise<ChangedElements | undefined> { return this.forward(arguments); }\n public async isChangesetProcessed(_iModelToken: IModelRpcProps, _changesetId: string): Promise<boolean> { return this.forward(arguments); }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BackendTypes.d.ts","sourceRoot":"","sources":["../../src/BackendTypes.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AASrC,4FAA4F;AAC5F,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;AAEvC,4FAA4F;AAC5F,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;AAEvC,8FAA8F;AAC9F,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BackendTypes.js","sourceRoot":"","sources":["../../src/BackendTypes.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utils\n */\n\nimport type { Readable, Writable } from \"stream\"; // Must be \"import type\" to avoid webpack polyfill errors\nimport type { Buffer } from \"buffer\"; // Must be \"import type\" to avoid webpack polyfill errors\n\n/*\nIMPORTANT:\nThis is a temporary source file for backwards compatibility only.\nDo not add any new types to this file.\nAll types here will be removed in 4.0\n*/\n\n/** @public @deprecated in 3.x. This type was mistakenly made public in the common scope. */\nexport type BackendReadable = Readable;\n\n/** @public @deprecated in 3.x. This type was mistakenly made public in the common scope. */\nexport type BackendWritable = Writable;\n\n/** @internal @deprecated in 3.x. This type was mistakenly made public in the common scope. */\nexport type BackendBuffer = Buffer;\n"]}
@@ -1,72 +0,0 @@
1
- /** @packageDocumentation
2
- * @module iModels
3
- */
4
- import { LoggingMetaData } from "@itwin/core-bentley";
5
- import { LockState } from "./IModelError";
6
- /**
7
- * Detailed information about a particular object Lock that is causing the Lock update conflict.
8
- * An example of a lock update conflict would be attempting to use [LockControl.acquireLocks]($backend) on an object that is already locked by another Briefcase.
9
- * @beta
10
- */
11
- export interface InUseLock {
12
- /** Id of the object that is causing conflict. */
13
- objectId: string;
14
- /**
15
- * The level of conflicting lock. Possible values are {@link LockState.Shared}, {@link LockState.Exclusive}.
16
- * See {@link LockState}.
17
- */
18
- state: LockState;
19
- /** An array of Briefcase ids that hold this lock. */
20
- briefcaseIds: number[];
21
- }
22
- /**
23
- * An interface used to describe an error for a developer/application. The message is not intended to be displayed to an end user.
24
- * This error interface should be extended when needing to throw errors with extra properties defined on them. See [[InUseLocksError]] for an example.
25
- * When extending ITwinError, one should typically add a type guard function and a function to throw the error either to a namespace for their error or as standalone functions.
26
- * See [[InUseLocksError.throwInUseLocksError]] and [[InUseLocksError.isInUseLocksError]] for examples of how to throw and check that an error is of type InUseLocksError.
27
- * * Example of catching a ITwinError:
28
- * ``` ts
29
- * [[include:ITwinError.catchAndHandleITwinError]]
30
- * ```
31
- * @beta
32
- */
33
- export interface ITwinError {
34
- /** namespace for the error. This is a unique qualifier for the errorKey. */
35
- namespace: string;
36
- /** unique key for error, within namespace. All errorKeys within the same namespace must be unique. */
37
- errorKey: string;
38
- /** explanation of what went wrong. Intended to be read by a developer. */
39
- message: string;
40
- /** stack trace of the error. */
41
- stack?: string;
42
- /** metadata about the exception. */
43
- metadata?: LoggingMetaData;
44
- }
45
- /**
46
- * An error raised when there is a lock conflict detected.
47
- * Typically this error would be thrown by [LockControl.acquireLocks]($backend) when you are requesting a lock on an element that is already held by another briefcase.
48
- * @beta
49
- */
50
- export interface InUseLocksError extends ITwinError {
51
- namespace: "itwinjs-core";
52
- errorKey: "in-use-locks";
53
- inUseLocks: InUseLock[];
54
- }
55
- /** @beta */
56
- export declare namespace InUseLocksError {
57
- /**
58
- * type guard function that returns whether or not the passed in parameter is an [[InUseLocksError]].
59
- * it first checks [[ITwinError.isITwinError]] and then checks that the namespace property is "itwinjs-core" and the errorKey property is "in-use-locks".
60
- */
61
- function isInUseLocksError(error: unknown): error is InUseLocksError;
62
- /** throws an error which passes the [[isInUseLocksError]] type guard function */
63
- function throwInUseLocksError(inUseLocks: InUseLock[], message?: string, metadata?: LoggingMetaData): never;
64
- }
65
- /** @beta */
66
- export declare namespace ITwinError {
67
- /** type guard function that returns whether or not the passed in parameter is an [[ITwinError]] */
68
- function isITwinError(error: unknown): error is ITwinError;
69
- /** get the meta data associated with this ITwinError, if any. */
70
- function getMetaData(err: ITwinError): object | undefined;
71
- }
72
- //# sourceMappingURL=ITwinError.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITwinError.d.ts","sourceRoot":"","sources":["../../src/ITwinError.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAgB,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,iDAAiD;IACjD,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,KAAK,EAAE,SAAS,CAAC;IACjB,qDAAqD;IACrD,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,UAAU;IACzB,4EAA4E;IAC5E,SAAS,EAAE,MAAM,CAAC;IAClB,sGAAsG;IACtG,QAAQ,EAAE,MAAM,CAAC;IACjB,0EAA0E;IAC1E,OAAO,EAAE,MAAM,CAAC;IAChB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oCAAoC;IACpC,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC5B;AAED;;;;EAIE;AACF,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,SAAS,EAAE,cAAc,CAAC;IAC1B,QAAQ,EAAE,cAAc,CAAC;IACzB,UAAU,EAAE,SAAS,EAAE,CAAC;CACzB;AAED,YAAY;AACZ,yBAAiB,eAAe,CAAC;IAE/B;;;OAGG;IACH,SAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,eAAe,CAE1E;IAED,iFAAiF;IACjF,SAAgB,oBAAoB,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,eAAe,GAAG,KAAK,CAajH;CAEF;AACD,YAAY;AACZ,yBAAiB,UAAU,CAAC;IAC1B,mGAAmG;IACnG,SAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAEhE;IAED,iEAAiE;IACjE,SAAgB,WAAW,CAAC,GAAG,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAE/D;CAEF"}
@@ -1,52 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- /** @packageDocumentation
6
- * @module iModels
7
- */
8
- import { BentleyError } from "@itwin/core-bentley";
9
- /** @beta */
10
- export var InUseLocksError;
11
- (function (InUseLocksError) {
12
- /**
13
- * type guard function that returns whether or not the passed in parameter is an [[InUseLocksError]].
14
- * it first checks [[ITwinError.isITwinError]] and then checks that the namespace property is "itwinjs-core" and the errorKey property is "in-use-locks".
15
- */
16
- function isInUseLocksError(error) {
17
- return ITwinError.isITwinError(error) && error.namespace === "itwinjs-core" && error.errorKey === "in-use-locks";
18
- }
19
- InUseLocksError.isInUseLocksError = isInUseLocksError;
20
- /** throws an error which passes the [[isInUseLocksError]] type guard function */
21
- function throwInUseLocksError(inUseLocks, message, metadata) {
22
- const errorObject = new Error();
23
- errorObject.name = "InUseLocksError"; // optional but makes it so that when the error is thrown and not caught we see InUseLocksError: 'message' instead of Error: 'message'
24
- Error.captureStackTrace(errorObject, throwInUseLocksError); // optional: whether we want to hide throwInUseLocksError or not from the stack. not super important
25
- const lockError = {
26
- namespace: "itwinjs-core",
27
- errorKey: "in-use-locks",
28
- message: message ?? "One or more objects are already locked by another briefcase.",
29
- metadata,
30
- inUseLocks,
31
- };
32
- Object.assign(errorObject, lockError);
33
- throw errorObject;
34
- }
35
- InUseLocksError.throwInUseLocksError = throwInUseLocksError;
36
- })(InUseLocksError || (InUseLocksError = {}));
37
- /** @beta */
38
- export var ITwinError;
39
- (function (ITwinError) {
40
- /** type guard function that returns whether or not the passed in parameter is an [[ITwinError]] */
41
- function isITwinError(error) {
42
- return error !== undefined && error !== null && typeof error === "object" && "namespace" in error && "errorKey" in error && "message" in error;
43
- }
44
- ITwinError.isITwinError = isITwinError;
45
- /** get the meta data associated with this ITwinError, if any. */
46
- function getMetaData(err) {
47
- return BentleyError.getMetaData(err.metadata);
48
- }
49
- ITwinError.getMetaData = getMetaData;
50
- })(ITwinError || (ITwinError = {}));
51
- ;
52
- //# sourceMappingURL=ITwinError.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITwinError.js","sourceRoot":"","sources":["../../src/ITwinError.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAmB,MAAM,qBAAqB,CAAC;AAuDpE,YAAY;AACZ,MAAM,KAAW,eAAe,CA0B/B;AA1BD,WAAiB,eAAe;IAE9B;;;OAGG;IACH,SAAgB,iBAAiB,CAAC,KAAc;QAC9C,OAAO,UAAU,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,KAAK,cAAc,IAAI,KAAK,CAAC,QAAQ,KAAK,cAAc,CAAC;IACnH,CAAC;IAFe,iCAAiB,oBAEhC,CAAA;IAED,iFAAiF;IACjF,SAAgB,oBAAoB,CAAC,UAAuB,EAAE,OAAgB,EAAE,QAA0B;QACxG,MAAM,WAAW,GAAG,IAAI,KAAK,EAAE,CAAC;QAChC,WAAW,CAAC,IAAI,GAAG,iBAAiB,CAAC,CAAC,sIAAsI;QAC5K,KAAK,CAAC,iBAAiB,CAAC,WAAW,EAAE,oBAAoB,CAAC,CAAC,CAAC,oGAAoG;QAChK,MAAM,SAAS,GAAoB;YACjC,SAAS,EAAE,cAAc;YACzB,QAAQ,EAAE,cAAc;YACxB,OAAO,EAAE,OAAO,IAAI,8DAA8D;YAClF,QAAQ;YACR,UAAU;SACX,CAAC;QACF,MAAM,CAAC,MAAM,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;QACtC,MAAM,WAAW,CAAC;IACpB,CAAC;IAbe,oCAAoB,uBAanC,CAAA;AAEH,CAAC,EA1BgB,eAAe,KAAf,eAAe,QA0B/B;AACD,YAAY;AACZ,MAAM,KAAW,UAAU,CAW1B;AAXD,WAAiB,UAAU;IACzB,mGAAmG;IACnG,SAAgB,YAAY,CAAC,KAAc;QACzC,OAAO,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,WAAW,IAAI,KAAK,IAAI,UAAU,IAAI,KAAK,IAAI,SAAS,IAAI,KAAK,CAAC;IACjJ,CAAC;IAFe,uBAAY,eAE3B,CAAA;IAED,iEAAiE;IACjE,SAAgB,WAAW,CAAC,GAAe;QACzC,OAAO,YAAY,CAAC,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAChD,CAAC;IAFe,sBAAW,cAE1B,CAAA;AAEH,CAAC,EAXgB,UAAU,KAAV,UAAU,QAW1B;AAAA,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module iModels\n */\n\nimport { BentleyError, LoggingMetaData } from \"@itwin/core-bentley\";\nimport { LockState } from \"./IModelError\";\n\n/**\n * Detailed information about a particular object Lock that is causing the Lock update conflict.\n * An example of a lock update conflict would be attempting to use [LockControl.acquireLocks]($backend) on an object that is already locked by another Briefcase.\n * @beta\n */\nexport interface InUseLock {\n /** Id of the object that is causing conflict. */\n objectId: string;\n /**\n * The level of conflicting lock. Possible values are {@link LockState.Shared}, {@link LockState.Exclusive}.\n * See {@link LockState}.\n */\n state: LockState;\n /** An array of Briefcase ids that hold this lock. */\n briefcaseIds: number[];\n}\n\n/**\n * An interface used to describe an error for a developer/application. The message is not intended to be displayed to an end user.\n * This error interface should be extended when needing to throw errors with extra properties defined on them. See [[InUseLocksError]] for an example.\n * When extending ITwinError, one should typically add a type guard function and a function to throw the error either to a namespace for their error or as standalone functions.\n * See [[InUseLocksError.throwInUseLocksError]] and [[InUseLocksError.isInUseLocksError]] for examples of how to throw and check that an error is of type InUseLocksError.\n * * Example of catching a ITwinError:\n * ``` ts\n * [[include:ITwinError.catchAndHandleITwinError]]\n * ```\n * @beta\n */\nexport interface ITwinError {\n /** namespace for the error. This is a unique qualifier for the errorKey. */\n namespace: string;\n /** unique key for error, within namespace. All errorKeys within the same namespace must be unique. */\n errorKey: string;\n /** explanation of what went wrong. Intended to be read by a developer. */\n message: string;\n /** stack trace of the error. */\n stack?: string;\n /** metadata about the exception. */\n metadata?: LoggingMetaData;\n}\n\n/**\n * An error raised when there is a lock conflict detected.\n * Typically this error would be thrown by [LockControl.acquireLocks]($backend) when you are requesting a lock on an element that is already held by another briefcase.\n * @beta\n*/\nexport interface InUseLocksError extends ITwinError {\n namespace: \"itwinjs-core\";\n errorKey: \"in-use-locks\";\n inUseLocks: InUseLock[];\n}\n\n/** @beta */\nexport namespace InUseLocksError {\n\n /**\n * type guard function that returns whether or not the passed in parameter is an [[InUseLocksError]].\n * it first checks [[ITwinError.isITwinError]] and then checks that the namespace property is \"itwinjs-core\" and the errorKey property is \"in-use-locks\".\n */\n export function isInUseLocksError(error: unknown): error is InUseLocksError {\n return ITwinError.isITwinError(error) && error.namespace === \"itwinjs-core\" && error.errorKey === \"in-use-locks\";\n }\n\n /** throws an error which passes the [[isInUseLocksError]] type guard function */\n export function throwInUseLocksError(inUseLocks: InUseLock[], message?: string, metadata?: LoggingMetaData): never {\n const errorObject = new Error();\n errorObject.name = \"InUseLocksError\"; // optional but makes it so that when the error is thrown and not caught we see InUseLocksError: 'message' instead of Error: 'message'\n Error.captureStackTrace(errorObject, throwInUseLocksError); // optional: whether we want to hide throwInUseLocksError or not from the stack. not super important\n const lockError: InUseLocksError = {\n namespace: \"itwinjs-core\",\n errorKey: \"in-use-locks\",\n message: message ?? \"One or more objects are already locked by another briefcase.\",\n metadata,\n inUseLocks,\n };\n Object.assign(errorObject, lockError);\n throw errorObject;\n }\n\n}\n/** @beta */\nexport namespace ITwinError {\n /** type guard function that returns whether or not the passed in parameter is an [[ITwinError]] */\n export function isITwinError(error: unknown): error is ITwinError {\n return error !== undefined && error !== null && typeof error === \"object\" && \"namespace\" in error && \"errorKey\" in error && \"message\" in error;\n }\n\n /** get the meta data associated with this ITwinError, if any. */\n export function getMetaData(err: ITwinError): object | undefined {\n return BentleyError.getMetaData(err.metadata);\n }\n\n};\n"]}
@@ -1,85 +0,0 @@
1
- /** @packageDocumentation
2
- * @module Rendering
3
- */
4
- import { OctEncodedNormalPair } from "./OctEncodedNormal";
5
- /** Describes the semantics of a [PolylineArgs]($frontend).
6
- * @public
7
- */
8
- export declare enum PolylineTypeFlags {
9
- /** Just an ordinary polyline with no special semantics. */
10
- Normal = 0,
11
- /** A polyline used to define the edges of a planar region. */
12
- Edge = 1,
13
- /** Like [[Edge]], but the edges are only displayed in [[RenderMode.Wireframe]] when the surface's fill is not displayed.
14
- * [[FillFlags]] controls whether the fill is displayed.
15
- */
16
- Outline = 2
17
- }
18
- /** Flags describing a [PolylineArgs]($frontend).
19
- * @public
20
- */
21
- export interface PolylineFlags {
22
- /** If `true`, the polylines are to be drawn as individual disconnected point strings instead of as connected line strings. */
23
- isDisjoint?: boolean;
24
- /** If `true`, the polylines' positions are all coplanar. */
25
- isPlanar?: boolean;
26
- /** If `true`, the polylines' positions all have the same z coordinate. */
27
- is2d?: boolean;
28
- /** Default: Normal. */
29
- type?: PolylineTypeFlags;
30
- }
31
- /** Describes the vertex indices of a single line within a [PolylineArgs]($frontend).
32
- * The indices represent either a line string as a connected series of points, or a point string as a set of disconnected points, depending
33
- * on the [[PolylineFlags.isDisjoint]] value of [PolylineArgs.flags]($frontend).
34
- * @public
35
- */
36
- export type PolylineIndices = number[];
37
- /** @internal */
38
- export declare class MeshPolyline {
39
- readonly indices: PolylineIndices;
40
- constructor(indices?: PolylineIndices);
41
- addIndex(index: number): void;
42
- clear(): void;
43
- }
44
- /** @internal */
45
- export declare class MeshPolylineList extends Array<MeshPolyline> {
46
- constructor(...args: MeshPolyline[]);
47
- }
48
- /** @internal */
49
- export declare class MeshEdge {
50
- indices: number[];
51
- constructor(index0?: number, index1?: number);
52
- compareTo(other: MeshEdge): number;
53
- }
54
- /** @internal */
55
- export declare class MeshEdges {
56
- visible: MeshEdge[];
57
- silhouette: MeshEdge[];
58
- polylines: MeshPolylineList;
59
- silhouetteNormals: OctEncodedNormalPair[];
60
- constructor();
61
- }
62
- /** @internal */
63
- export declare class EdgeArgs {
64
- edges?: MeshEdge[];
65
- init(meshEdges?: MeshEdges): boolean;
66
- clear(): void;
67
- get isValid(): boolean;
68
- get numEdges(): number;
69
- }
70
- /** @internal */
71
- export declare class SilhouetteEdgeArgs extends EdgeArgs {
72
- normals?: OctEncodedNormalPair[];
73
- init(meshEdges?: MeshEdges): boolean;
74
- clear(): void;
75
- }
76
- /** @internal */
77
- export declare class PolylineEdgeArgs {
78
- lines?: PolylineIndices[];
79
- constructor(lines?: PolylineIndices[]);
80
- init(lines?: PolylineIndices[]): boolean;
81
- get numLines(): number;
82
- get isValid(): boolean;
83
- clear(): void;
84
- }
85
- //# sourceMappingURL=Render.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Render.d.ts","sourceRoot":"","sources":["../../src/Render.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,oBAAoB,EAAE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KAAyB;QACnC,IAAI,CAAC,KAAK,GAAG,SAAS,KAAK,KAAK,IAAI,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAW,QAAQ,KAAK,OAAO,SAAS,KAAK,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAClF,IAAW,OAAO,KAAK,OAAO,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC;IAC3C,KAAK,KAAK,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC;CAC3C","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Rendering\n */\n\nimport { OctEncodedNormalPair } from \"./OctEncodedNormal\";\n\n// cSpell:ignore vals\n\n/** Describes the semantics of a [PolylineArgs]($frontend).\n * @public\n */\nexport enum PolylineTypeFlags {\n /** Just an ordinary polyline with no special semantics. */\n Normal = 0,\n /** A polyline used to define the edges of a planar region. */\n Edge = 1 << 0,\n /** Like [[Edge]], but the edges are only displayed in [[RenderMode.Wireframe]] when the surface's fill is not displayed.\n * [[FillFlags]] controls whether the fill is displayed.\n */\n Outline = 1 << 1,\n}\n\n/** Flags describing a [PolylineArgs]($frontend).\n * @public\n */\nexport interface PolylineFlags {\n /** If `true`, the polylines are to be drawn as individual disconnected point strings instead of as connected line strings. */\n isDisjoint?: boolean;\n /** If `true`, the polylines' positions are all coplanar. */\n isPlanar?: boolean;\n /** If `true`, the polylines' positions all have the same z coordinate. */\n is2d?: boolean;\n /** Default: Normal. */\n type?: PolylineTypeFlags;\n}\n\n/** Describes the vertex indices of a single line within a [PolylineArgs]($frontend).\n * The indices represent either a line string as a connected series of points, or a point string as a set of disconnected points, depending\n * on the [[PolylineFlags.isDisjoint]] value of [PolylineArgs.flags]($frontend).\n * @public\n */\nexport type PolylineIndices = number[];\n\n/** @internal */\nexport class MeshPolyline {\n public readonly indices: PolylineIndices;\n\n public constructor(indices: PolylineIndices = []) {\n this.indices = indices.slice();\n }\n\n public addIndex(index: number) {\n const { indices } = this;\n if (indices.length === 0 || indices[indices.length - 1] !== index)\n indices.push(index);\n }\n\n public clear() { this.indices.length = 0; }\n}\n\n/** @internal */\nexport class MeshPolylineList extends Array<MeshPolyline> {\n constructor(...args: MeshPolyline[]) {\n super(...args);\n }\n}\n\n/** @internal */\nexport class MeshEdge {\n public indices = [0, 0];\n\n public constructor(index0?: number, index1?: number) {\n if (undefined === index0 || undefined === index1)\n return;\n if (index0 < index1) {\n this.indices[0] = index0;\n this.indices[1] = index1;\n } else {\n this.indices[0] = index1;\n this.indices[1] = index0;\n }\n }\n\n public compareTo(other: MeshEdge): number {\n let diff = this.indices[0] - other.indices[0];\n if (0 === diff)\n diff = this.indices[1] - other.indices[1];\n\n return diff;\n }\n}\n\n/** @internal */\nexport class MeshEdges {\n public visible: MeshEdge[] = [];\n public silhouette: MeshEdge[] = [];\n public polylines: MeshPolylineList = new MeshPolylineList();\n public silhouetteNormals: OctEncodedNormalPair[] = [];\n public constructor() { }\n}\n\n/** @internal */\nexport class EdgeArgs {\n public edges?: MeshEdge[];\n\n public init(meshEdges?: MeshEdges): boolean {\n this.clear();\n if (undefined !== meshEdges && 0 < meshEdges.visible.length)\n this.edges = meshEdges.visible;\n\n return this.isValid;\n }\n\n public clear(): void { this.edges = undefined; }\n public get isValid(): boolean { return 0 < this.numEdges; }\n public get numEdges() { return undefined !== this.edges ? this.edges.length : 0; }\n}\n\n/** @internal */\nexport class SilhouetteEdgeArgs extends EdgeArgs {\n public normals?: OctEncodedNormalPair[];\n\n public override init(meshEdges?: MeshEdges) {\n this.clear();\n if (undefined !== meshEdges && 0 < meshEdges.silhouette.length) {\n this.edges = meshEdges.silhouette;\n this.normals = meshEdges.silhouetteNormals;\n }\n\n return this.isValid;\n }\n\n public override clear() {\n this.normals = undefined;\n super.clear();\n }\n}\n\n/** @internal */\nexport class PolylineEdgeArgs {\n public lines?: PolylineIndices[];\n\n public constructor(lines?: PolylineIndices[]) { this.init(lines); }\n\n public init(lines?: PolylineIndices[]): boolean {\n this.lines = undefined !== lines && 0 < lines.length ? lines : undefined;\n return this.isValid;\n }\n\n public get numLines() { return undefined !== this.lines ? this.lines.length : 0; }\n public get isValid() { return this.numLines > 0; }\n public clear() { this.lines = undefined; }\n}\n"]}
@@ -1,31 +0,0 @@
1
- /** @packageDocumentation
2
- * @module RpcInterface
3
- */
4
- import { ChangedElements } from "../ChangedElements";
5
- import { IModelRpcProps } from "../IModel";
6
- import { RpcInterface } from "../RpcInterface";
7
- /** The purpose of this class is to house WIP RPC methods. For example:
8
- * - WIP methods where signatures or behavior is still changing
9
- * - Experimental methods that we may decide are a bad idea and never release
10
- * The idea is to house these WIP RPC methods away from other RpcInterfaces that have stated compatibility goals.
11
- * Once stable, the goal is to move methods out to their rightful home.
12
- * Apps/services should understand the *flux* implied by registering this RpcInterface and should be in control of both the client and server before even considering using it.
13
- * @internal
14
- * @deprecated in 4.10. If any of these methods are needed in the frontend, they should be rewritten using IPC or HTTP protocol.
15
- */
16
- export declare abstract class WipRpcInterface extends RpcInterface {
17
- /** Returns the IModelReadRpcInterface instance for the frontend. */
18
- static getClient(): WipRpcInterface;
19
- /** The immutable name of the interface. */
20
- static readonly interfaceName = "WipRpcInterface";
21
- /** The semantic version of the interface.
22
- * @note The WipRpcInterface will never progress to 1.0 since it is never intended to be public.
23
- */
24
- static interfaceVersion: string;
25
- placeholder(_iModelToken: IModelRpcProps): Promise<string>;
26
- isChangeCacheAttached(_iModelToken: IModelRpcProps): Promise<boolean>;
27
- attachChangeCache(_iModelToken: IModelRpcProps): Promise<void>;
28
- getChangedElements(_iModelToken: IModelRpcProps, _startChangesetId: string, _endChangesetId: string): Promise<ChangedElements | undefined>;
29
- isChangesetProcessed(_iModelToken: IModelRpcProps, _changesetId: string): Promise<boolean>;
30
- }
31
- //# sourceMappingURL=WipRpcInterface.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WipRpcInterface.d.ts","sourceRoot":"","sources":["../../../src/rpc/WipRpcInterface.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C;;;;;;;;GAQG;AACH,8BAAsB,eAAgB,SAAQ,YAAY;IACxD,oEAAoE;WACtD,SAAS,IAAI,eAAe;IAE1C,2CAA2C;IAC3C,gBAAuB,aAAa,qBAAqB;IAEzD;;OAEG;IACH,OAAc,gBAAgB,SAAW;IAM5B,WAAW,CAAC,YAAY,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;IAC1D,qBAAqB,CAAC,YAAY,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IACrE,iBAAiB,CAAC,YAAY,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAC9D,kBAAkB,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC;IAC1I,oBAAoB,CAAC,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CACxG"}
@@ -1,38 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- /** @packageDocumentation
6
- * @module RpcInterface
7
- */
8
- import { RpcInterface } from "../RpcInterface";
9
- import { RpcManager } from "../RpcManager";
10
- /** The purpose of this class is to house WIP RPC methods. For example:
11
- * - WIP methods where signatures or behavior is still changing
12
- * - Experimental methods that we may decide are a bad idea and never release
13
- * The idea is to house these WIP RPC methods away from other RpcInterfaces that have stated compatibility goals.
14
- * Once stable, the goal is to move methods out to their rightful home.
15
- * Apps/services should understand the *flux* implied by registering this RpcInterface and should be in control of both the client and server before even considering using it.
16
- * @internal
17
- * @deprecated in 4.10. If any of these methods are needed in the frontend, they should be rewritten using IPC or HTTP protocol.
18
- */
19
- export class WipRpcInterface extends RpcInterface {
20
- /** Returns the IModelReadRpcInterface instance for the frontend. */
21
- static getClient() { return RpcManager.getClientForInterface(WipRpcInterface); } // eslint-disable-line @typescript-eslint/no-deprecated
22
- /*===========================================================================================
23
- NOTE: Any add/remove/change to the methods below requires an update of the interface version.
24
- NOTE: Please consult the README in this folder for the semantic versioning rules.
25
- ==========================================================================================*/
26
- async placeholder(_iModelToken) { return this.forward(arguments); } // here to test that WipRpcInterface is configured properly
27
- async isChangeCacheAttached(_iModelToken) { return this.forward(arguments); }
28
- async attachChangeCache(_iModelToken) { return this.forward(arguments); }
29
- async getChangedElements(_iModelToken, _startChangesetId, _endChangesetId) { return this.forward(arguments); }
30
- async isChangesetProcessed(_iModelToken, _changesetId) { return this.forward(arguments); }
31
- }
32
- /** The immutable name of the interface. */
33
- WipRpcInterface.interfaceName = "WipRpcInterface";
34
- /** The semantic version of the interface.
35
- * @note The WipRpcInterface will never progress to 1.0 since it is never intended to be public.
36
- */
37
- WipRpcInterface.interfaceVersion = "0.5.0";
38
- //# sourceMappingURL=WipRpcInterface.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WipRpcInterface.js","sourceRoot":"","sources":["../../../src/rpc/WipRpcInterface.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;;;;;GAQG;AACH,MAAM,OAAgB,eAAgB,SAAQ,YAAY;IACxD,oEAAoE;IAC7D,MAAM,CAAC,SAAS,KAAsB,OAAO,UAAU,CAAC,qBAAqB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,uDAAuD;IAUhK;;;gGAG4F;IACrF,KAAK,CAAC,WAAW,CAAC,YAA4B,IAAqB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,2DAA2D;IAChK,KAAK,CAAC,qBAAqB,CAAC,YAA4B,IAAsB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAC/G,KAAK,CAAC,iBAAiB,CAAC,YAA4B,IAAmB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACxG,KAAK,CAAC,kBAAkB,CAAC,YAA4B,EAAE,iBAAyB,EAAE,eAAuB,IAA0C,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACpL,KAAK,CAAC,oBAAoB,CAAC,YAA4B,EAAE,YAAoB,IAAsB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;;AAhB3I,2CAA2C;AACpB,6BAAa,GAAG,iBAAiB,CAAC;AAEzD;;GAEG;AACW,gCAAgB,GAAG,OAAO,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module RpcInterface\n */\n\nimport { ChangedElements } from \"../ChangedElements\";\nimport { IModelRpcProps } from \"../IModel\";\nimport { RpcInterface } from \"../RpcInterface\";\nimport { RpcManager } from \"../RpcManager\";\n\n/** The purpose of this class is to house WIP RPC methods. For example:\n * - WIP methods where signatures or behavior is still changing\n * - Experimental methods that we may decide are a bad idea and never release\n * The idea is to house these WIP RPC methods away from other RpcInterfaces that have stated compatibility goals.\n * Once stable, the goal is to move methods out to their rightful home.\n * Apps/services should understand the *flux* implied by registering this RpcInterface and should be in control of both the client and server before even considering using it.\n * @internal\n * @deprecated in 4.10. If any of these methods are needed in the frontend, they should be rewritten using IPC or HTTP protocol.\n */\nexport abstract class WipRpcInterface extends RpcInterface {\n /** Returns the IModelReadRpcInterface instance for the frontend. */\n public static getClient(): WipRpcInterface { return RpcManager.getClientForInterface(WipRpcInterface); } // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** The immutable name of the interface. */\n public static readonly interfaceName = \"WipRpcInterface\";\n\n /** The semantic version of the interface.\n * @note The WipRpcInterface will never progress to 1.0 since it is never intended to be public.\n */\n public static interfaceVersion = \"0.5.0\";\n\n /*===========================================================================================\n NOTE: Any add/remove/change to the methods below requires an update of the interface version.\n NOTE: Please consult the README in this folder for the semantic versioning rules.\n ==========================================================================================*/\n public async placeholder(_iModelToken: IModelRpcProps): Promise<string> { return this.forward(arguments); } // here to test that WipRpcInterface is configured properly\n public async isChangeCacheAttached(_iModelToken: IModelRpcProps): Promise<boolean> { return this.forward(arguments); }\n public async attachChangeCache(_iModelToken: IModelRpcProps): Promise<void> { return this.forward(arguments); }\n public async getChangedElements(_iModelToken: IModelRpcProps, _startChangesetId: string, _endChangesetId: string): Promise<ChangedElements | undefined> { return this.forward(arguments); }\n public async isChangesetProcessed(_iModelToken: IModelRpcProps, _changesetId: string): Promise<boolean> { return this.forward(arguments); }\n}\n"]}