@itwin/core-common 4.0.0-dev.51 → 4.0.0-dev.54

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 (1057) hide show
  1. package/lib/cjs/AmbientOcclusion.d.ts +49 -49
  2. package/lib/cjs/AmbientOcclusion.js +55 -55
  3. package/lib/cjs/AmbientOcclusion.js.map +1 -1
  4. package/lib/cjs/AnalysisStyle.d.ts +134 -134
  5. package/lib/cjs/AnalysisStyle.js +165 -165
  6. package/lib/cjs/AnalysisStyle.js.map +1 -1
  7. package/lib/cjs/AuthorizationClient.d.ts +17 -17
  8. package/lib/cjs/AuthorizationClient.js +9 -9
  9. package/lib/cjs/AuthorizationClient.js.map +1 -1
  10. package/lib/cjs/BackendTypes.d.ts +13 -12
  11. package/lib/cjs/BackendTypes.d.ts.map +1 -1
  12. package/lib/cjs/BackendTypes.js +9 -9
  13. package/lib/cjs/BackendTypes.js.map +1 -1
  14. package/lib/cjs/BackgroundMapProvider.d.ts +51 -51
  15. package/lib/cjs/BackgroundMapProvider.d.ts.map +1 -1
  16. package/lib/cjs/BackgroundMapProvider.js +67 -67
  17. package/lib/cjs/BackgroundMapProvider.js.map +1 -1
  18. package/lib/cjs/BackgroundMapSettings.d.ts +136 -136
  19. package/lib/cjs/BackgroundMapSettings.d.ts.map +1 -1
  20. package/lib/cjs/BackgroundMapSettings.js +154 -154
  21. package/lib/cjs/BackgroundMapSettings.js.map +1 -1
  22. package/lib/cjs/Base64EncodedString.d.ts +32 -32
  23. package/lib/cjs/Base64EncodedString.d.ts.map +1 -1
  24. package/lib/cjs/Base64EncodedString.js +66 -66
  25. package/lib/cjs/Base64EncodedString.js.map +1 -1
  26. package/lib/cjs/BlobReader.d.ts +31 -31
  27. package/lib/cjs/BlobReader.js +84 -84
  28. package/lib/cjs/BlobReader.js.map +1 -1
  29. package/lib/cjs/BriefcaseTypes.d.ts +191 -191
  30. package/lib/cjs/BriefcaseTypes.d.ts.map +1 -1
  31. package/lib/cjs/BriefcaseTypes.js +95 -95
  32. package/lib/cjs/BriefcaseTypes.js.map +1 -1
  33. package/lib/cjs/Camera.d.ts +42 -42
  34. package/lib/cjs/Camera.js +62 -62
  35. package/lib/cjs/Camera.js.map +1 -1
  36. package/lib/cjs/ChangedElements.d.ts +85 -85
  37. package/lib/cjs/ChangedElements.js +23 -23
  38. package/lib/cjs/ChangedElements.js.map +1 -1
  39. package/lib/cjs/ChangedEntities.d.ts +45 -45
  40. package/lib/cjs/ChangedEntities.d.ts.map +1 -1
  41. package/lib/cjs/ChangedEntities.js +9 -9
  42. package/lib/cjs/ChangedEntities.js.map +1 -1
  43. package/lib/cjs/ChangesetProps.d.ts +98 -98
  44. package/lib/cjs/ChangesetProps.d.ts.map +1 -1
  45. package/lib/cjs/ChangesetProps.js +22 -22
  46. package/lib/cjs/ChangesetProps.js.map +1 -1
  47. package/lib/cjs/ClipStyle.d.ts +89 -89
  48. package/lib/cjs/ClipStyle.js +121 -121
  49. package/lib/cjs/ClipStyle.js.map +1 -1
  50. package/lib/cjs/CloudStorage.d.ts +62 -62
  51. package/lib/cjs/CloudStorage.js +113 -113
  52. package/lib/cjs/CloudStorage.js.map +1 -1
  53. package/lib/cjs/CloudStorageTileCache.d.ts +27 -27
  54. package/lib/cjs/CloudStorageTileCache.js +65 -65
  55. package/lib/cjs/CloudStorageTileCache.js.map +1 -1
  56. package/lib/cjs/Code.d.ts +277 -277
  57. package/lib/cjs/Code.d.ts.map +1 -1
  58. package/lib/cjs/Code.js +268 -268
  59. package/lib/cjs/Code.js.map +1 -1
  60. package/lib/cjs/ColorByName.d.ts +161 -161
  61. package/lib/cjs/ColorByName.js +169 -169
  62. package/lib/cjs/ColorByName.js.map +1 -1
  63. package/lib/cjs/ColorDef.d.ts +210 -208
  64. package/lib/cjs/ColorDef.d.ts.map +1 -1
  65. package/lib/cjs/ColorDef.js +572 -570
  66. package/lib/cjs/ColorDef.js.map +1 -1
  67. package/lib/cjs/CommonLoggerCategory.d.ts +18 -18
  68. package/lib/cjs/CommonLoggerCategory.js +26 -26
  69. package/lib/cjs/CommonLoggerCategory.js.map +1 -1
  70. package/lib/cjs/ConcurrentQuery.d.ts +421 -421
  71. package/lib/cjs/ConcurrentQuery.d.ts.map +1 -1
  72. package/lib/cjs/ConcurrentQuery.js +552 -552
  73. package/lib/cjs/ConcurrentQuery.js.map +1 -1
  74. package/lib/cjs/ContextRealityModel.d.ts +303 -303
  75. package/lib/cjs/ContextRealityModel.js +371 -371
  76. package/lib/cjs/ContextRealityModel.js.map +1 -1
  77. package/lib/cjs/DisplayStyleSettings.d.ts +588 -588
  78. package/lib/cjs/DisplayStyleSettings.d.ts.map +1 -1
  79. package/lib/cjs/DisplayStyleSettings.js +981 -981
  80. package/lib/cjs/DisplayStyleSettings.js.map +1 -1
  81. package/lib/cjs/ECSchemaProps.d.ts +39 -39
  82. package/lib/cjs/ECSchemaProps.js +9 -9
  83. package/lib/cjs/ECSchemaProps.js.map +1 -1
  84. package/lib/cjs/ECSqlReader.d.ts +70 -70
  85. package/lib/cjs/ECSqlReader.d.ts.map +1 -1
  86. package/lib/cjs/ECSqlReader.js +280 -280
  87. package/lib/cjs/ECSqlReader.js.map +1 -1
  88. package/lib/cjs/ECSqlTypes.d.ts +128 -128
  89. package/lib/cjs/ECSqlTypes.js +189 -189
  90. package/lib/cjs/ECSqlTypes.js.map +1 -1
  91. package/lib/cjs/ElementMesh.d.ts +39 -39
  92. package/lib/cjs/ElementMesh.js +56 -56
  93. package/lib/cjs/ElementMesh.js.map +1 -1
  94. package/lib/cjs/ElementProps.d.ts +483 -483
  95. package/lib/cjs/ElementProps.d.ts.map +1 -1
  96. package/lib/cjs/ElementProps.js +99 -99
  97. package/lib/cjs/ElementProps.js.map +1 -1
  98. package/lib/cjs/EmphasizeElementsProps.d.ts +55 -55
  99. package/lib/cjs/EmphasizeElementsProps.js +25 -25
  100. package/lib/cjs/EmphasizeElementsProps.js.map +1 -1
  101. package/lib/cjs/EntityProps.d.ts +177 -177
  102. package/lib/cjs/EntityProps.d.ts.map +1 -1
  103. package/lib/cjs/EntityProps.js +113 -113
  104. package/lib/cjs/EntityProps.js.map +1 -1
  105. package/lib/cjs/EntityReference.d.ts +51 -51
  106. package/lib/cjs/EntityReference.d.ts.map +1 -1
  107. package/lib/cjs/EntityReference.js +56 -56
  108. package/lib/cjs/EntityReference.js.map +1 -1
  109. package/lib/cjs/Environment.d.ts +61 -61
  110. package/lib/cjs/Environment.d.ts.map +1 -1
  111. package/lib/cjs/Environment.js +70 -70
  112. package/lib/cjs/Environment.js.map +1 -1
  113. package/lib/cjs/FeatureIndex.d.ts +39 -39
  114. package/lib/cjs/FeatureIndex.js +63 -63
  115. package/lib/cjs/FeatureIndex.js.map +1 -1
  116. package/lib/cjs/FeatureSymbology.d.ts +449 -444
  117. package/lib/cjs/FeatureSymbology.d.ts.map +1 -1
  118. package/lib/cjs/FeatureSymbology.js +618 -613
  119. package/lib/cjs/FeatureSymbology.js.map +1 -1
  120. package/lib/cjs/FeatureTable.d.ts +248 -248
  121. package/lib/cjs/FeatureTable.d.ts.map +1 -1
  122. package/lib/cjs/FeatureTable.js +470 -470
  123. package/lib/cjs/FeatureTable.js.map +1 -1
  124. package/lib/cjs/Fonts.d.ts +51 -51
  125. package/lib/cjs/Fonts.d.ts.map +1 -1
  126. package/lib/cjs/Fonts.js +53 -53
  127. package/lib/cjs/Fonts.js.map +1 -1
  128. package/lib/cjs/Frustum.d.ts +114 -114
  129. package/lib/cjs/Frustum.js +292 -292
  130. package/lib/cjs/Frustum.js.map +1 -1
  131. package/lib/cjs/GeoCoordinateServices.d.ts +123 -119
  132. package/lib/cjs/GeoCoordinateServices.d.ts.map +1 -1
  133. package/lib/cjs/GeoCoordinateServices.js +81 -80
  134. package/lib/cjs/GeoCoordinateServices.js.map +1 -1
  135. package/lib/cjs/GeometryContainment.d.ts +28 -28
  136. package/lib/cjs/GeometryContainment.js +9 -9
  137. package/lib/cjs/GeometryContainment.js.map +1 -1
  138. package/lib/cjs/GeometryParams.d.ts +130 -130
  139. package/lib/cjs/GeometryParams.js +174 -174
  140. package/lib/cjs/GeometryParams.js.map +1 -1
  141. package/lib/cjs/GeometrySummary.d.ts +45 -45
  142. package/lib/cjs/GeometrySummary.js +23 -23
  143. package/lib/cjs/GeometrySummary.js.map +1 -1
  144. package/lib/cjs/Gradient.d.ts +139 -139
  145. package/lib/cjs/Gradient.js +453 -453
  146. package/lib/cjs/Gradient.js.map +1 -1
  147. package/lib/cjs/GraphicParams.d.ts +58 -58
  148. package/lib/cjs/GraphicParams.js +85 -85
  149. package/lib/cjs/GraphicParams.js.map +1 -1
  150. package/lib/cjs/GroundPlane.d.ts +52 -52
  151. package/lib/cjs/GroundPlane.d.ts.map +1 -1
  152. package/lib/cjs/GroundPlane.js +63 -63
  153. package/lib/cjs/GroundPlane.js.map +1 -1
  154. package/lib/cjs/HSLColor.d.ts +20 -20
  155. package/lib/cjs/HSLColor.js +32 -32
  156. package/lib/cjs/HSLColor.js.map +1 -1
  157. package/lib/cjs/HSVColor.d.ts +30 -30
  158. package/lib/cjs/HSVColor.js +59 -59
  159. package/lib/cjs/HSVColor.js.map +1 -1
  160. package/lib/cjs/HiddenLine.d.ts +97 -97
  161. package/lib/cjs/HiddenLine.js +160 -160
  162. package/lib/cjs/HiddenLine.js.map +1 -1
  163. package/lib/cjs/Hilite.d.ts +50 -50
  164. package/lib/cjs/Hilite.js +64 -64
  165. package/lib/cjs/Hilite.js.map +1 -1
  166. package/lib/cjs/IModel.d.ts +358 -358
  167. package/lib/cjs/IModel.d.ts.map +1 -1
  168. package/lib/cjs/IModel.js +347 -347
  169. package/lib/cjs/IModel.js.map +1 -1
  170. package/lib/cjs/IModelError.d.ts +42 -42
  171. package/lib/cjs/IModelError.d.ts.map +1 -1
  172. package/lib/cjs/IModelError.js +71 -71
  173. package/lib/cjs/IModelError.js.map +1 -1
  174. package/lib/cjs/IModelVersion.d.ts +68 -68
  175. package/lib/cjs/IModelVersion.d.ts.map +1 -1
  176. package/lib/cjs/IModelVersion.js +79 -79
  177. package/lib/cjs/IModelVersion.js.map +1 -1
  178. package/lib/cjs/Image.d.ts +86 -86
  179. package/lib/cjs/Image.js +128 -128
  180. package/lib/cjs/Image.js.map +1 -1
  181. package/lib/cjs/IpcAppProps.d.ts +141 -141
  182. package/lib/cjs/IpcAppProps.js +23 -23
  183. package/lib/cjs/IpcAppProps.js.map +1 -1
  184. package/lib/cjs/LightSettings.d.ts +224 -224
  185. package/lib/cjs/LightSettings.js +304 -304
  186. package/lib/cjs/LightSettings.js.map +1 -1
  187. package/lib/cjs/LinePixels.d.ts +34 -34
  188. package/lib/cjs/LinePixels.js +42 -42
  189. package/lib/cjs/LinePixels.js.map +1 -1
  190. package/lib/cjs/Localization.d.ts +113 -113
  191. package/lib/cjs/Localization.js +33 -33
  192. package/lib/cjs/Localization.js.map +1 -1
  193. package/lib/cjs/MapImagerySettings.d.ts +62 -62
  194. package/lib/cjs/MapImagerySettings.d.ts.map +1 -1
  195. package/lib/cjs/MapImagerySettings.js +80 -80
  196. package/lib/cjs/MapImagerySettings.js.map +1 -1
  197. package/lib/cjs/MapLayerSettings.d.ts +272 -272
  198. package/lib/cjs/MapLayerSettings.d.ts.map +1 -1
  199. package/lib/cjs/MapLayerSettings.js +407 -407
  200. package/lib/cjs/MapLayerSettings.js.map +1 -1
  201. package/lib/cjs/MassProperties.d.ts +64 -64
  202. package/lib/cjs/MassProperties.js +23 -23
  203. package/lib/cjs/MassProperties.js.map +1 -1
  204. package/lib/cjs/MaterialProps.d.ts +153 -153
  205. package/lib/cjs/MaterialProps.d.ts.map +1 -1
  206. package/lib/cjs/MaterialProps.js +35 -35
  207. package/lib/cjs/MaterialProps.js.map +1 -1
  208. package/lib/cjs/ModelClipGroup.d.ts +67 -67
  209. package/lib/cjs/ModelClipGroup.js +96 -96
  210. package/lib/cjs/ModelClipGroup.js.map +1 -1
  211. package/lib/cjs/ModelGeometryChanges.d.ts +107 -107
  212. package/lib/cjs/ModelGeometryChanges.d.ts.map +1 -1
  213. package/lib/cjs/ModelGeometryChanges.js +83 -83
  214. package/lib/cjs/ModelGeometryChanges.js.map +1 -1
  215. package/lib/cjs/ModelProps.d.ts +67 -67
  216. package/lib/cjs/ModelProps.js +9 -9
  217. package/lib/cjs/ModelProps.js.map +1 -1
  218. package/lib/cjs/NativeAppProps.d.ts +122 -122
  219. package/lib/cjs/NativeAppProps.d.ts.map +1 -1
  220. package/lib/cjs/NativeAppProps.js +30 -30
  221. package/lib/cjs/NativeAppProps.js.map +1 -1
  222. package/lib/cjs/OctEncodedNormal.d.ts +33 -33
  223. package/lib/cjs/OctEncodedNormal.js +98 -98
  224. package/lib/cjs/OctEncodedNormal.js.map +1 -1
  225. package/lib/cjs/PlanProjectionSettings.d.ts +47 -47
  226. package/lib/cjs/PlanProjectionSettings.js +63 -63
  227. package/lib/cjs/PlanProjectionSettings.js.map +1 -1
  228. package/lib/cjs/PlanarClipMask.d.ts +177 -177
  229. package/lib/cjs/PlanarClipMask.js +136 -136
  230. package/lib/cjs/PlanarClipMask.js.map +1 -1
  231. package/lib/cjs/QPoint.d.ts +479 -479
  232. package/lib/cjs/QPoint.js +824 -824
  233. package/lib/cjs/QPoint.js.map +1 -1
  234. package/lib/cjs/RealityDataAccessProps.d.ts +41 -41
  235. package/lib/cjs/RealityDataAccessProps.js +19 -19
  236. package/lib/cjs/RealityDataAccessProps.js.map +1 -1
  237. package/lib/cjs/RealityModelDisplaySettings.d.ts +183 -183
  238. package/lib/cjs/RealityModelDisplaySettings.d.ts.map +1 -1
  239. package/lib/cjs/RealityModelDisplaySettings.js +141 -141
  240. package/lib/cjs/RealityModelDisplaySettings.js.map +1 -1
  241. package/lib/cjs/Render.d.ts +89 -89
  242. package/lib/cjs/Render.js +177 -177
  243. package/lib/cjs/Render.js.map +1 -1
  244. package/lib/cjs/RenderMaterial.d.ts +58 -58
  245. package/lib/cjs/RenderMaterial.js +75 -75
  246. package/lib/cjs/RenderMaterial.js.map +1 -1
  247. package/lib/cjs/RenderSchedule.d.ts +543 -543
  248. package/lib/cjs/RenderSchedule.js +992 -992
  249. package/lib/cjs/RenderSchedule.js.map +1 -1
  250. package/lib/cjs/RenderTexture.d.ts +70 -70
  251. package/lib/cjs/RenderTexture.d.ts.map +1 -1
  252. package/lib/cjs/RenderTexture.js +59 -59
  253. package/lib/cjs/RenderTexture.js.map +1 -1
  254. package/lib/cjs/RgbColor.d.ts +47 -47
  255. package/lib/cjs/RgbColor.js +77 -77
  256. package/lib/cjs/RgbColor.js.map +1 -1
  257. package/lib/cjs/RpcInterface.d.ts +33 -33
  258. package/lib/cjs/RpcInterface.d.ts.map +1 -1
  259. package/lib/cjs/RpcInterface.js +137 -137
  260. package/lib/cjs/RpcInterface.js.map +1 -1
  261. package/lib/cjs/RpcManager.d.ts +40 -40
  262. package/lib/cjs/RpcManager.js +55 -55
  263. package/lib/cjs/RpcManager.js.map +1 -1
  264. package/lib/cjs/SessionProps.d.ts +16 -16
  265. package/lib/cjs/SessionProps.js +9 -9
  266. package/lib/cjs/SessionProps.js.map +1 -1
  267. package/lib/cjs/SkyBox.d.ts +215 -215
  268. package/lib/cjs/SkyBox.d.ts.map +1 -1
  269. package/lib/cjs/SkyBox.js +209 -209
  270. package/lib/cjs/SkyBox.js.map +1 -1
  271. package/lib/cjs/Snapping.d.ts +49 -49
  272. package/lib/cjs/Snapping.js +9 -9
  273. package/lib/cjs/Snapping.js.map +1 -1
  274. package/lib/cjs/SolarCalculate.d.ts +27 -27
  275. package/lib/cjs/SolarCalculate.js +211 -211
  276. package/lib/cjs/SolarCalculate.js.map +1 -1
  277. package/lib/cjs/SolarShadows.d.ts +35 -35
  278. package/lib/cjs/SolarShadows.js +61 -61
  279. package/lib/cjs/SolarShadows.js.map +1 -1
  280. package/lib/cjs/SpatialClassification.d.ts +208 -208
  281. package/lib/cjs/SpatialClassification.js +339 -339
  282. package/lib/cjs/SpatialClassification.js.map +1 -1
  283. package/lib/cjs/SubCategoryAppearance.d.ts +91 -91
  284. package/lib/cjs/SubCategoryAppearance.js +96 -96
  285. package/lib/cjs/SubCategoryAppearance.js.map +1 -1
  286. package/lib/cjs/SubCategoryOverride.d.ts +46 -46
  287. package/lib/cjs/SubCategoryOverride.js +104 -104
  288. package/lib/cjs/SubCategoryOverride.js.map +1 -1
  289. package/lib/cjs/TerrainSettings.d.ts +82 -82
  290. package/lib/cjs/TerrainSettings.d.ts.map +1 -1
  291. package/lib/cjs/TerrainSettings.js +100 -100
  292. package/lib/cjs/TerrainSettings.js.map +1 -1
  293. package/lib/cjs/TextureMapping.d.ts +118 -118
  294. package/lib/cjs/TextureMapping.js +173 -173
  295. package/lib/cjs/TextureMapping.js.map +1 -1
  296. package/lib/cjs/TextureProps.d.ts +65 -65
  297. package/lib/cjs/TextureProps.js +28 -28
  298. package/lib/cjs/TextureProps.js.map +1 -1
  299. package/lib/cjs/ThematicDisplay.d.ts +230 -230
  300. package/lib/cjs/ThematicDisplay.js +343 -343
  301. package/lib/cjs/ThematicDisplay.js.map +1 -1
  302. package/lib/cjs/Thumbnail.d.ts +26 -26
  303. package/lib/cjs/Thumbnail.js +9 -9
  304. package/lib/cjs/Thumbnail.js.map +1 -1
  305. package/lib/cjs/TileProps.d.ts +82 -82
  306. package/lib/cjs/TileProps.js +29 -29
  307. package/lib/cjs/TileProps.js.map +1 -1
  308. package/lib/cjs/Tween.d.ts +191 -191
  309. package/lib/cjs/Tween.d.ts.map +1 -1
  310. package/lib/cjs/Tween.js +570 -570
  311. package/lib/cjs/Tween.js.map +1 -1
  312. package/lib/cjs/TxnAction.d.ts +21 -21
  313. package/lib/cjs/TxnAction.js +29 -29
  314. package/lib/cjs/TxnAction.js.map +1 -1
  315. package/lib/cjs/ViewDetails.d.ts +125 -125
  316. package/lib/cjs/ViewDetails.js +166 -166
  317. package/lib/cjs/ViewDetails.js.map +1 -1
  318. package/lib/cjs/ViewFlags.d.ts +287 -287
  319. package/lib/cjs/ViewFlags.d.ts.map +1 -1
  320. package/lib/cjs/ViewFlags.js +367 -367
  321. package/lib/cjs/ViewFlags.js.map +1 -1
  322. package/lib/cjs/ViewProps.d.ts +205 -205
  323. package/lib/cjs/ViewProps.js +9 -9
  324. package/lib/cjs/ViewProps.js.map +1 -1
  325. package/lib/cjs/WhiteOnWhiteReversalSettings.d.ts +36 -36
  326. package/lib/cjs/WhiteOnWhiteReversalSettings.js +37 -37
  327. package/lib/cjs/WhiteOnWhiteReversalSettings.js.map +1 -1
  328. package/lib/cjs/core-common.d.ts +245 -245
  329. package/lib/cjs/core-common.js +265 -261
  330. package/lib/cjs/core-common.js.map +1 -1
  331. package/lib/cjs/domains/FunctionalElementProps.d.ts +11 -11
  332. package/lib/cjs/domains/FunctionalElementProps.js +9 -9
  333. package/lib/cjs/domains/FunctionalElementProps.js.map +1 -1
  334. package/lib/cjs/domains/GenericElementProps.d.ts +18 -18
  335. package/lib/cjs/domains/GenericElementProps.js +9 -9
  336. package/lib/cjs/domains/GenericElementProps.js.map +1 -1
  337. package/lib/cjs/geometry/AdditionalTransform.d.ts +84 -84
  338. package/lib/cjs/geometry/AdditionalTransform.js +85 -85
  339. package/lib/cjs/geometry/AdditionalTransform.js.map +1 -1
  340. package/lib/cjs/geometry/AreaPattern.d.ts +82 -82
  341. package/lib/cjs/geometry/AreaPattern.js +203 -203
  342. package/lib/cjs/geometry/AreaPattern.js.map +1 -1
  343. package/lib/cjs/geometry/BoundingSphere.d.ts +27 -27
  344. package/lib/cjs/geometry/BoundingSphere.js +44 -44
  345. package/lib/cjs/geometry/BoundingSphere.js.map +1 -1
  346. package/lib/cjs/geometry/Cartographic.d.ts +137 -137
  347. package/lib/cjs/geometry/Cartographic.js +345 -345
  348. package/lib/cjs/geometry/Cartographic.js.map +1 -1
  349. package/lib/cjs/geometry/CoordinateReferenceSystem.d.ts +269 -269
  350. package/lib/cjs/geometry/CoordinateReferenceSystem.d.ts.map +1 -1
  351. package/lib/cjs/geometry/CoordinateReferenceSystem.js +260 -260
  352. package/lib/cjs/geometry/CoordinateReferenceSystem.js.map +1 -1
  353. package/lib/cjs/geometry/ElementGeometry.d.ts +402 -402
  354. package/lib/cjs/geometry/ElementGeometry.d.ts.map +1 -1
  355. package/lib/cjs/geometry/ElementGeometry.js +1719 -1719
  356. package/lib/cjs/geometry/ElementGeometry.js.map +1 -1
  357. package/lib/cjs/geometry/ElementGeometryFB.d.ts +2372 -2372
  358. package/lib/cjs/geometry/ElementGeometryFB.js +3814 -3814
  359. package/lib/cjs/geometry/ElementGeometryFB.js.map +1 -1
  360. package/lib/cjs/geometry/FrustumPlanes.d.ts +81 -81
  361. package/lib/cjs/geometry/FrustumPlanes.js +189 -189
  362. package/lib/cjs/geometry/FrustumPlanes.js.map +1 -1
  363. package/lib/cjs/geometry/GeodeticDatum.d.ts +409 -409
  364. package/lib/cjs/geometry/GeodeticDatum.d.ts.map +1 -1
  365. package/lib/cjs/geometry/GeodeticDatum.js +400 -400
  366. package/lib/cjs/geometry/GeodeticDatum.js.map +1 -1
  367. package/lib/cjs/geometry/GeodeticEllipsoid.d.ts +72 -72
  368. package/lib/cjs/geometry/GeodeticEllipsoid.js +71 -71
  369. package/lib/cjs/geometry/GeodeticEllipsoid.js.map +1 -1
  370. package/lib/cjs/geometry/GeometryStream.d.ts +347 -347
  371. package/lib/cjs/geometry/GeometryStream.d.ts.map +1 -1
  372. package/lib/cjs/geometry/GeometryStream.js +468 -468
  373. package/lib/cjs/geometry/GeometryStream.js.map +1 -1
  374. package/lib/cjs/geometry/ImageGraphic.d.ts +74 -74
  375. package/lib/cjs/geometry/ImageGraphic.d.ts.map +1 -1
  376. package/lib/cjs/geometry/ImageGraphic.js +98 -98
  377. package/lib/cjs/geometry/ImageGraphic.js.map +1 -1
  378. package/lib/cjs/geometry/LineStyle.d.ts +71 -71
  379. package/lib/cjs/geometry/LineStyle.js +129 -129
  380. package/lib/cjs/geometry/LineStyle.js.map +1 -1
  381. package/lib/cjs/geometry/Placement.d.ts +95 -95
  382. package/lib/cjs/geometry/Placement.d.ts.map +1 -1
  383. package/lib/cjs/geometry/Placement.js +131 -131
  384. package/lib/cjs/geometry/Placement.js.map +1 -1
  385. package/lib/cjs/geometry/Projection.d.ts +251 -251
  386. package/lib/cjs/geometry/Projection.d.ts.map +1 -1
  387. package/lib/cjs/geometry/Projection.js +198 -198
  388. package/lib/cjs/geometry/Projection.js.map +1 -1
  389. package/lib/cjs/geometry/TextString.d.ts +55 -55
  390. package/lib/cjs/geometry/TextString.js +65 -65
  391. package/lib/cjs/geometry/TextString.js.map +1 -1
  392. package/lib/cjs/ipc/IpcSession.d.ts +23 -23
  393. package/lib/cjs/ipc/IpcSession.js +27 -27
  394. package/lib/cjs/ipc/IpcSession.js.map +1 -1
  395. package/lib/cjs/ipc/IpcSocket.d.ts +96 -96
  396. package/lib/cjs/ipc/IpcSocket.d.ts.map +1 -1
  397. package/lib/cjs/ipc/IpcSocket.js +16 -16
  398. package/lib/cjs/ipc/IpcSocket.js.map +1 -1
  399. package/lib/cjs/ipc/IpcWebSocket.d.ts +61 -61
  400. package/lib/cjs/ipc/IpcWebSocket.js +150 -150
  401. package/lib/cjs/ipc/IpcWebSocket.js.map +1 -1
  402. package/lib/cjs/ipc/IpcWebSocketTransport.d.ts +15 -15
  403. package/lib/cjs/ipc/IpcWebSocketTransport.js +160 -160
  404. package/lib/cjs/ipc/IpcWebSocketTransport.js.map +1 -1
  405. package/lib/cjs/rpc/DevToolsRpcInterface.d.ts +32 -32
  406. package/lib/cjs/rpc/DevToolsRpcInterface.js +52 -52
  407. package/lib/cjs/rpc/DevToolsRpcInterface.js.map +1 -1
  408. package/lib/cjs/rpc/IModelReadRpcInterface.d.ts +99 -99
  409. package/lib/cjs/rpc/IModelReadRpcInterface.js +122 -122
  410. package/lib/cjs/rpc/IModelReadRpcInterface.js.map +1 -1
  411. package/lib/cjs/rpc/IModelTileRpcInterface.d.ts +61 -61
  412. package/lib/cjs/rpc/IModelTileRpcInterface.js +97 -96
  413. package/lib/cjs/rpc/IModelTileRpcInterface.js.map +1 -1
  414. package/lib/cjs/rpc/SnapshotIModelRpcInterface.d.ts +23 -23
  415. package/lib/cjs/rpc/SnapshotIModelRpcInterface.js +48 -48
  416. package/lib/cjs/rpc/SnapshotIModelRpcInterface.js.map +1 -1
  417. package/lib/cjs/rpc/TestRpcManager.d.ts +20 -20
  418. package/lib/cjs/rpc/TestRpcManager.js +40 -40
  419. package/lib/cjs/rpc/TestRpcManager.js.map +1 -1
  420. package/lib/cjs/rpc/WipRpcInterface.d.ts +29 -29
  421. package/lib/cjs/rpc/WipRpcInterface.js +40 -40
  422. package/lib/cjs/rpc/WipRpcInterface.js.map +1 -1
  423. package/lib/cjs/rpc/core/RpcConfiguration.d.ts +111 -111
  424. package/lib/cjs/rpc/core/RpcConfiguration.d.ts.map +1 -1
  425. package/lib/cjs/rpc/core/RpcConfiguration.js +191 -191
  426. package/lib/cjs/rpc/core/RpcConfiguration.js.map +1 -1
  427. package/lib/cjs/rpc/core/RpcConstants.d.ts +90 -90
  428. package/lib/cjs/rpc/core/RpcConstants.js +109 -109
  429. package/lib/cjs/rpc/core/RpcConstants.js.map +1 -1
  430. package/lib/cjs/rpc/core/RpcControl.d.ts +54 -54
  431. package/lib/cjs/rpc/core/RpcControl.js +150 -145
  432. package/lib/cjs/rpc/core/RpcControl.js.map +1 -1
  433. package/lib/cjs/rpc/core/RpcInvocation.d.ts +89 -89
  434. package/lib/cjs/rpc/core/RpcInvocation.d.ts.map +1 -1
  435. package/lib/cjs/rpc/core/RpcInvocation.js +256 -256
  436. package/lib/cjs/rpc/core/RpcInvocation.js.map +1 -1
  437. package/lib/cjs/rpc/core/RpcMarshaling.d.ts +35 -35
  438. package/lib/cjs/rpc/core/RpcMarshaling.js +156 -156
  439. package/lib/cjs/rpc/core/RpcMarshaling.js.map +1 -1
  440. package/lib/cjs/rpc/core/RpcOperation.d.ts +67 -67
  441. package/lib/cjs/rpc/core/RpcOperation.d.ts.map +1 -1
  442. package/lib/cjs/rpc/core/RpcOperation.js +135 -134
  443. package/lib/cjs/rpc/core/RpcOperation.js.map +1 -1
  444. package/lib/cjs/rpc/core/RpcPendingQueue.d.ts +21 -21
  445. package/lib/cjs/rpc/core/RpcPendingQueue.js +94 -94
  446. package/lib/cjs/rpc/core/RpcPendingQueue.js.map +1 -1
  447. package/lib/cjs/rpc/core/RpcProtocol.d.ts +132 -132
  448. package/lib/cjs/rpc/core/RpcProtocol.d.ts.map +1 -1
  449. package/lib/cjs/rpc/core/RpcProtocol.js +127 -127
  450. package/lib/cjs/rpc/core/RpcProtocol.js.map +1 -1
  451. package/lib/cjs/rpc/core/RpcPush.d.ts +68 -68
  452. package/lib/cjs/rpc/core/RpcPush.d.ts.map +1 -1
  453. package/lib/cjs/rpc/core/RpcPush.js +127 -127
  454. package/lib/cjs/rpc/core/RpcPush.js.map +1 -1
  455. package/lib/cjs/rpc/core/RpcRegistry.d.ts +48 -48
  456. package/lib/cjs/rpc/core/RpcRegistry.js +198 -198
  457. package/lib/cjs/rpc/core/RpcRegistry.js.map +1 -1
  458. package/lib/cjs/rpc/core/RpcRequest.d.ts +186 -186
  459. package/lib/cjs/rpc/core/RpcRequest.d.ts.map +1 -1
  460. package/lib/cjs/rpc/core/RpcRequest.js +478 -478
  461. package/lib/cjs/rpc/core/RpcRequest.js.map +1 -1
  462. package/lib/cjs/rpc/core/RpcRequestContext.d.ts +14 -14
  463. package/lib/cjs/rpc/core/RpcRequestContext.js +2 -2
  464. package/lib/cjs/rpc/core/RpcRequestContext.js.map +1 -1
  465. package/lib/cjs/rpc/core/RpcRoutingToken.d.ts +12 -12
  466. package/lib/cjs/rpc/core/RpcRoutingToken.js +24 -24
  467. package/lib/cjs/rpc/core/RpcRoutingToken.js.map +1 -1
  468. package/lib/cjs/rpc/core/RpcSessionInvocation.d.ts +10 -10
  469. package/lib/cjs/rpc/core/RpcSessionInvocation.js +60 -60
  470. package/lib/cjs/rpc/core/RpcSessionInvocation.js.map +1 -1
  471. package/lib/cjs/rpc/web/BentleyCloudRpcManager.d.ts +46 -46
  472. package/lib/cjs/rpc/web/BentleyCloudRpcManager.js +73 -73
  473. package/lib/cjs/rpc/web/BentleyCloudRpcManager.js.map +1 -1
  474. package/lib/cjs/rpc/web/BentleyCloudRpcProtocol.d.ts +33 -33
  475. package/lib/cjs/rpc/web/BentleyCloudRpcProtocol.js +141 -141
  476. package/lib/cjs/rpc/web/BentleyCloudRpcProtocol.js.map +1 -1
  477. package/lib/cjs/rpc/web/OpenAPI.d.ts +140 -140
  478. package/lib/cjs/rpc/web/OpenAPI.js +60 -60
  479. package/lib/cjs/rpc/web/OpenAPI.js.map +1 -1
  480. package/lib/cjs/rpc/web/RpcMultipart.d.ts +35 -35
  481. package/lib/cjs/rpc/web/RpcMultipart.js +50 -50
  482. package/lib/cjs/rpc/web/RpcMultipart.js.map +1 -1
  483. package/lib/cjs/rpc/web/WebAppRpcLogging.d.ts +28 -28
  484. package/lib/cjs/rpc/web/WebAppRpcLogging.js +140 -140
  485. package/lib/cjs/rpc/web/WebAppRpcLogging.js.map +1 -1
  486. package/lib/cjs/rpc/web/WebAppRpcProtocol.d.ts +89 -89
  487. package/lib/cjs/rpc/web/WebAppRpcProtocol.js +116 -116
  488. package/lib/cjs/rpc/web/WebAppRpcProtocol.js.map +1 -1
  489. package/lib/cjs/rpc/web/WebAppRpcRequest.d.ts +67 -67
  490. package/lib/cjs/rpc/web/WebAppRpcRequest.d.ts.map +1 -1
  491. package/lib/cjs/rpc/web/WebAppRpcRequest.js +239 -239
  492. package/lib/cjs/rpc/web/WebAppRpcRequest.js.map +1 -1
  493. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.d.ts +32 -32
  494. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.js +373 -373
  495. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.js.map +1 -1
  496. package/lib/cjs/tile/B3dmTileIO.d.ts +19 -19
  497. package/lib/cjs/tile/B3dmTileIO.js +66 -66
  498. package/lib/cjs/tile/B3dmTileIO.js.map +1 -1
  499. package/lib/cjs/tile/CompositeTileIO.d.ts +15 -15
  500. package/lib/cjs/tile/CompositeTileIO.js +26 -26
  501. package/lib/cjs/tile/CompositeTileIO.js.map +1 -1
  502. package/lib/cjs/tile/ElementGraphics.d.ts +145 -145
  503. package/lib/cjs/tile/ElementGraphics.d.ts.map +1 -1
  504. package/lib/cjs/tile/ElementGraphics.js +9 -9
  505. package/lib/cjs/tile/ElementGraphics.js.map +1 -1
  506. package/lib/cjs/tile/GltfTileIO.d.ts +45 -45
  507. package/lib/cjs/tile/GltfTileIO.d.ts.map +1 -1
  508. package/lib/cjs/tile/GltfTileIO.js +109 -109
  509. package/lib/cjs/tile/GltfTileIO.js.map +1 -1
  510. package/lib/cjs/tile/I3dmTileIO.d.ts +20 -20
  511. package/lib/cjs/tile/I3dmTileIO.js +40 -40
  512. package/lib/cjs/tile/I3dmTileIO.js.map +1 -1
  513. package/lib/cjs/tile/IModelTileIO.d.ts +77 -77
  514. package/lib/cjs/tile/IModelTileIO.js +97 -97
  515. package/lib/cjs/tile/IModelTileIO.js.map +1 -1
  516. package/lib/cjs/tile/PntsTileIO.d.ts +17 -17
  517. package/lib/cjs/tile/PntsTileIO.js +26 -26
  518. package/lib/cjs/tile/PntsTileIO.js.map +1 -1
  519. package/lib/cjs/tile/TileIO.d.ts +66 -66
  520. package/lib/cjs/tile/TileIO.js +118 -118
  521. package/lib/cjs/tile/TileIO.js.map +1 -1
  522. package/lib/cjs/tile/TileMetadata.d.ts +228 -228
  523. package/lib/cjs/tile/TileMetadata.d.ts.map +1 -1
  524. package/lib/cjs/tile/TileMetadata.js +675 -675
  525. package/lib/cjs/tile/TileMetadata.js.map +1 -1
  526. package/lib/cjs/tile/Tileset3dSchema.d.ts +96 -96
  527. package/lib/cjs/tile/Tileset3dSchema.js +9 -9
  528. package/lib/cjs/tile/Tileset3dSchema.js.map +1 -1
  529. package/lib/esm/AmbientOcclusion.d.ts +49 -49
  530. package/lib/esm/AmbientOcclusion.js +52 -52
  531. package/lib/esm/AmbientOcclusion.js.map +1 -1
  532. package/lib/esm/AnalysisStyle.d.ts +134 -134
  533. package/lib/esm/AnalysisStyle.js +160 -159
  534. package/lib/esm/AnalysisStyle.js.map +1 -1
  535. package/lib/esm/AuthorizationClient.d.ts +17 -17
  536. package/lib/esm/AuthorizationClient.js +8 -8
  537. package/lib/esm/AuthorizationClient.js.map +1 -1
  538. package/lib/esm/BackendTypes.d.ts +13 -12
  539. package/lib/esm/BackendTypes.d.ts.map +1 -1
  540. package/lib/esm/BackendTypes.js +8 -8
  541. package/lib/esm/BackendTypes.js.map +1 -1
  542. package/lib/esm/BackgroundMapProvider.d.ts +51 -51
  543. package/lib/esm/BackgroundMapProvider.d.ts.map +1 -1
  544. package/lib/esm/BackgroundMapProvider.js +63 -63
  545. package/lib/esm/BackgroundMapProvider.js.map +1 -1
  546. package/lib/esm/BackgroundMapSettings.d.ts +136 -136
  547. package/lib/esm/BackgroundMapSettings.d.ts.map +1 -1
  548. package/lib/esm/BackgroundMapSettings.js +150 -150
  549. package/lib/esm/BackgroundMapSettings.js.map +1 -1
  550. package/lib/esm/Base64EncodedString.d.ts +32 -32
  551. package/lib/esm/Base64EncodedString.d.ts.map +1 -1
  552. package/lib/esm/Base64EncodedString.js +63 -63
  553. package/lib/esm/Base64EncodedString.js.map +1 -1
  554. package/lib/esm/BlobReader.d.ts +31 -31
  555. package/lib/esm/BlobReader.js +79 -79
  556. package/lib/esm/BlobReader.js.map +1 -1
  557. package/lib/esm/BriefcaseTypes.d.ts +191 -191
  558. package/lib/esm/BriefcaseTypes.d.ts.map +1 -1
  559. package/lib/esm/BriefcaseTypes.js +92 -92
  560. package/lib/esm/BriefcaseTypes.js.map +1 -1
  561. package/lib/esm/Camera.d.ts +42 -42
  562. package/lib/esm/Camera.js +58 -58
  563. package/lib/esm/Camera.js.map +1 -1
  564. package/lib/esm/ChangedElements.d.ts +85 -85
  565. package/lib/esm/ChangedElements.js +20 -20
  566. package/lib/esm/ChangedElements.js.map +1 -1
  567. package/lib/esm/ChangedEntities.d.ts +45 -45
  568. package/lib/esm/ChangedEntities.d.ts.map +1 -1
  569. package/lib/esm/ChangedEntities.js +8 -8
  570. package/lib/esm/ChangedEntities.js.map +1 -1
  571. package/lib/esm/ChangesetProps.d.ts +98 -98
  572. package/lib/esm/ChangesetProps.d.ts.map +1 -1
  573. package/lib/esm/ChangesetProps.js +19 -19
  574. package/lib/esm/ChangesetProps.js.map +1 -1
  575. package/lib/esm/ClipStyle.d.ts +89 -89
  576. package/lib/esm/ClipStyle.js +118 -116
  577. package/lib/esm/ClipStyle.js.map +1 -1
  578. package/lib/esm/CloudStorage.d.ts +62 -62
  579. package/lib/esm/CloudStorage.js +109 -109
  580. package/lib/esm/CloudStorage.js.map +1 -1
  581. package/lib/esm/CloudStorageTileCache.d.ts +27 -27
  582. package/lib/esm/CloudStorageTileCache.js +61 -61
  583. package/lib/esm/CloudStorageTileCache.js.map +1 -1
  584. package/lib/esm/Code.d.ts +277 -277
  585. package/lib/esm/Code.d.ts.map +1 -1
  586. package/lib/esm/Code.js +263 -263
  587. package/lib/esm/Code.js.map +1 -1
  588. package/lib/esm/ColorByName.d.ts +161 -161
  589. package/lib/esm/ColorByName.js +166 -166
  590. package/lib/esm/ColorByName.js.map +1 -1
  591. package/lib/esm/ColorDef.d.ts +210 -208
  592. package/lib/esm/ColorDef.d.ts.map +1 -1
  593. package/lib/esm/ColorDef.js +569 -566
  594. package/lib/esm/ColorDef.js.map +1 -1
  595. package/lib/esm/CommonLoggerCategory.d.ts +18 -18
  596. package/lib/esm/CommonLoggerCategory.js +23 -23
  597. package/lib/esm/CommonLoggerCategory.js.map +1 -1
  598. package/lib/esm/ConcurrentQuery.d.ts +421 -421
  599. package/lib/esm/ConcurrentQuery.d.ts.map +1 -1
  600. package/lib/esm/ConcurrentQuery.js +545 -545
  601. package/lib/esm/ConcurrentQuery.js.map +1 -1
  602. package/lib/esm/ContextRealityModel.d.ts +303 -303
  603. package/lib/esm/ContextRealityModel.js +366 -366
  604. package/lib/esm/ContextRealityModel.js.map +1 -1
  605. package/lib/esm/DisplayStyleSettings.d.ts +588 -588
  606. package/lib/esm/DisplayStyleSettings.d.ts.map +1 -1
  607. package/lib/esm/DisplayStyleSettings.js +976 -976
  608. package/lib/esm/DisplayStyleSettings.js.map +1 -1
  609. package/lib/esm/ECSchemaProps.d.ts +39 -39
  610. package/lib/esm/ECSchemaProps.js +8 -8
  611. package/lib/esm/ECSchemaProps.js.map +1 -1
  612. package/lib/esm/ECSqlReader.d.ts +70 -70
  613. package/lib/esm/ECSqlReader.d.ts.map +1 -1
  614. package/lib/esm/ECSqlReader.js +276 -275
  615. package/lib/esm/ECSqlReader.js.map +1 -1
  616. package/lib/esm/ECSqlTypes.d.ts +128 -128
  617. package/lib/esm/ECSqlTypes.js +185 -185
  618. package/lib/esm/ECSqlTypes.js.map +1 -1
  619. package/lib/esm/ElementMesh.d.ts +39 -39
  620. package/lib/esm/ElementMesh.js +52 -52
  621. package/lib/esm/ElementMesh.js.map +1 -1
  622. package/lib/esm/ElementProps.d.ts +483 -483
  623. package/lib/esm/ElementProps.d.ts.map +1 -1
  624. package/lib/esm/ElementProps.js +93 -92
  625. package/lib/esm/ElementProps.js.map +1 -1
  626. package/lib/esm/EmphasizeElementsProps.d.ts +55 -55
  627. package/lib/esm/EmphasizeElementsProps.js +22 -22
  628. package/lib/esm/EmphasizeElementsProps.js.map +1 -1
  629. package/lib/esm/EntityProps.d.ts +177 -177
  630. package/lib/esm/EntityProps.d.ts.map +1 -1
  631. package/lib/esm/EntityProps.js +108 -108
  632. package/lib/esm/EntityProps.js.map +1 -1
  633. package/lib/esm/EntityReference.d.ts +51 -51
  634. package/lib/esm/EntityReference.d.ts.map +1 -1
  635. package/lib/esm/EntityReference.js +52 -52
  636. package/lib/esm/EntityReference.js.map +1 -1
  637. package/lib/esm/Environment.d.ts +61 -61
  638. package/lib/esm/Environment.d.ts.map +1 -1
  639. package/lib/esm/Environment.js +67 -66
  640. package/lib/esm/Environment.js.map +1 -1
  641. package/lib/esm/FeatureIndex.d.ts +39 -39
  642. package/lib/esm/FeatureIndex.js +57 -57
  643. package/lib/esm/FeatureIndex.js.map +1 -1
  644. package/lib/esm/FeatureSymbology.d.ts +449 -444
  645. package/lib/esm/FeatureSymbology.d.ts.map +1 -1
  646. package/lib/esm/FeatureSymbology.js +615 -608
  647. package/lib/esm/FeatureSymbology.js.map +1 -1
  648. package/lib/esm/FeatureTable.d.ts +248 -248
  649. package/lib/esm/FeatureTable.d.ts.map +1 -1
  650. package/lib/esm/FeatureTable.js +462 -462
  651. package/lib/esm/FeatureTable.js.map +1 -1
  652. package/lib/esm/Fonts.d.ts +51 -51
  653. package/lib/esm/Fonts.d.ts.map +1 -1
  654. package/lib/esm/Fonts.js +49 -49
  655. package/lib/esm/Fonts.js.map +1 -1
  656. package/lib/esm/Frustum.d.ts +114 -114
  657. package/lib/esm/Frustum.js +288 -288
  658. package/lib/esm/Frustum.js.map +1 -1
  659. package/lib/esm/GeoCoordinateServices.d.ts +123 -119
  660. package/lib/esm/GeoCoordinateServices.d.ts.map +1 -1
  661. package/lib/esm/GeoCoordinateServices.js +77 -76
  662. package/lib/esm/GeoCoordinateServices.js.map +1 -1
  663. package/lib/esm/GeometryContainment.d.ts +28 -28
  664. package/lib/esm/GeometryContainment.js +8 -8
  665. package/lib/esm/GeometryContainment.js.map +1 -1
  666. package/lib/esm/GeometryParams.d.ts +130 -130
  667. package/lib/esm/GeometryParams.js +170 -170
  668. package/lib/esm/GeometryParams.js.map +1 -1
  669. package/lib/esm/GeometrySummary.d.ts +45 -45
  670. package/lib/esm/GeometrySummary.js +20 -20
  671. package/lib/esm/GeometrySummary.js.map +1 -1
  672. package/lib/esm/Gradient.d.ts +139 -139
  673. package/lib/esm/Gradient.js +450 -450
  674. package/lib/esm/Gradient.js.map +1 -1
  675. package/lib/esm/GraphicParams.d.ts +58 -58
  676. package/lib/esm/GraphicParams.js +81 -81
  677. package/lib/esm/GraphicParams.js.map +1 -1
  678. package/lib/esm/GroundPlane.d.ts +52 -52
  679. package/lib/esm/GroundPlane.d.ts.map +1 -1
  680. package/lib/esm/GroundPlane.js +60 -59
  681. package/lib/esm/GroundPlane.js.map +1 -1
  682. package/lib/esm/HSLColor.d.ts +20 -20
  683. package/lib/esm/HSLColor.js +28 -28
  684. package/lib/esm/HSLColor.js.map +1 -1
  685. package/lib/esm/HSVColor.d.ts +30 -30
  686. package/lib/esm/HSVColor.js +55 -55
  687. package/lib/esm/HSVColor.js.map +1 -1
  688. package/lib/esm/HiddenLine.d.ts +97 -97
  689. package/lib/esm/HiddenLine.js +157 -157
  690. package/lib/esm/HiddenLine.js.map +1 -1
  691. package/lib/esm/Hilite.d.ts +50 -50
  692. package/lib/esm/Hilite.js +61 -61
  693. package/lib/esm/Hilite.js.map +1 -1
  694. package/lib/esm/IModel.d.ts +358 -358
  695. package/lib/esm/IModel.d.ts.map +1 -1
  696. package/lib/esm/IModel.js +343 -342
  697. package/lib/esm/IModel.js.map +1 -1
  698. package/lib/esm/IModelError.d.ts +42 -42
  699. package/lib/esm/IModelError.d.ts.map +1 -1
  700. package/lib/esm/IModelError.js +56 -56
  701. package/lib/esm/IModelError.js.map +1 -1
  702. package/lib/esm/IModelVersion.d.ts +68 -68
  703. package/lib/esm/IModelVersion.d.ts.map +1 -1
  704. package/lib/esm/IModelVersion.js +75 -75
  705. package/lib/esm/IModelVersion.js.map +1 -1
  706. package/lib/esm/Image.d.ts +86 -86
  707. package/lib/esm/Image.js +120 -120
  708. package/lib/esm/Image.js.map +1 -1
  709. package/lib/esm/IpcAppProps.d.ts +141 -141
  710. package/lib/esm/IpcAppProps.js +19 -19
  711. package/lib/esm/IpcAppProps.js.map +1 -1
  712. package/lib/esm/LightSettings.d.ts +224 -224
  713. package/lib/esm/LightSettings.js +297 -296
  714. package/lib/esm/LightSettings.js.map +1 -1
  715. package/lib/esm/LinePixels.d.ts +34 -34
  716. package/lib/esm/LinePixels.js +39 -39
  717. package/lib/esm/LinePixels.js.map +1 -1
  718. package/lib/esm/Localization.d.ts +113 -113
  719. package/lib/esm/Localization.js +29 -29
  720. package/lib/esm/Localization.js.map +1 -1
  721. package/lib/esm/MapImagerySettings.d.ts +62 -62
  722. package/lib/esm/MapImagerySettings.d.ts.map +1 -1
  723. package/lib/esm/MapImagerySettings.js +76 -76
  724. package/lib/esm/MapImagerySettings.js.map +1 -1
  725. package/lib/esm/MapLayerSettings.d.ts +272 -272
  726. package/lib/esm/MapLayerSettings.d.ts.map +1 -1
  727. package/lib/esm/MapLayerSettings.js +399 -399
  728. package/lib/esm/MapLayerSettings.js.map +1 -1
  729. package/lib/esm/MassProperties.d.ts +64 -64
  730. package/lib/esm/MassProperties.js +20 -20
  731. package/lib/esm/MassProperties.js.map +1 -1
  732. package/lib/esm/MaterialProps.d.ts +153 -153
  733. package/lib/esm/MaterialProps.d.ts.map +1 -1
  734. package/lib/esm/MaterialProps.js +32 -32
  735. package/lib/esm/MaterialProps.js.map +1 -1
  736. package/lib/esm/ModelClipGroup.d.ts +67 -67
  737. package/lib/esm/ModelClipGroup.js +91 -91
  738. package/lib/esm/ModelClipGroup.js.map +1 -1
  739. package/lib/esm/ModelGeometryChanges.d.ts +107 -107
  740. package/lib/esm/ModelGeometryChanges.d.ts.map +1 -1
  741. package/lib/esm/ModelGeometryChanges.js +80 -80
  742. package/lib/esm/ModelGeometryChanges.js.map +1 -1
  743. package/lib/esm/ModelProps.d.ts +67 -67
  744. package/lib/esm/ModelProps.js +8 -8
  745. package/lib/esm/ModelProps.js.map +1 -1
  746. package/lib/esm/NativeAppProps.d.ts +122 -122
  747. package/lib/esm/NativeAppProps.d.ts.map +1 -1
  748. package/lib/esm/NativeAppProps.js +27 -27
  749. package/lib/esm/NativeAppProps.js.map +1 -1
  750. package/lib/esm/OctEncodedNormal.d.ts +33 -33
  751. package/lib/esm/OctEncodedNormal.js +93 -93
  752. package/lib/esm/OctEncodedNormal.js.map +1 -1
  753. package/lib/esm/PlanProjectionSettings.d.ts +47 -47
  754. package/lib/esm/PlanProjectionSettings.js +59 -59
  755. package/lib/esm/PlanProjectionSettings.js.map +1 -1
  756. package/lib/esm/PlanarClipMask.d.ts +177 -177
  757. package/lib/esm/PlanarClipMask.js +133 -132
  758. package/lib/esm/PlanarClipMask.js.map +1 -1
  759. package/lib/esm/QPoint.d.ts +479 -479
  760. package/lib/esm/QPoint.js +813 -813
  761. package/lib/esm/QPoint.js.map +1 -1
  762. package/lib/esm/RealityDataAccessProps.d.ts +41 -41
  763. package/lib/esm/RealityDataAccessProps.js +16 -16
  764. package/lib/esm/RealityDataAccessProps.js.map +1 -1
  765. package/lib/esm/RealityModelDisplaySettings.d.ts +183 -183
  766. package/lib/esm/RealityModelDisplaySettings.d.ts.map +1 -1
  767. package/lib/esm/RealityModelDisplaySettings.js +138 -136
  768. package/lib/esm/RealityModelDisplaySettings.js.map +1 -1
  769. package/lib/esm/Render.d.ts +89 -89
  770. package/lib/esm/Render.js +165 -165
  771. package/lib/esm/Render.js.map +1 -1
  772. package/lib/esm/RenderMaterial.d.ts +58 -58
  773. package/lib/esm/RenderMaterial.js +71 -71
  774. package/lib/esm/RenderMaterial.js.map +1 -1
  775. package/lib/esm/RenderSchedule.d.ts +543 -543
  776. package/lib/esm/RenderSchedule.js +989 -989
  777. package/lib/esm/RenderSchedule.js.map +1 -1
  778. package/lib/esm/RenderTexture.d.ts +70 -70
  779. package/lib/esm/RenderTexture.d.ts.map +1 -1
  780. package/lib/esm/RenderTexture.js +55 -55
  781. package/lib/esm/RenderTexture.js.map +1 -1
  782. package/lib/esm/RgbColor.d.ts +47 -47
  783. package/lib/esm/RgbColor.js +73 -73
  784. package/lib/esm/RgbColor.js.map +1 -1
  785. package/lib/esm/RpcInterface.d.ts +33 -33
  786. package/lib/esm/RpcInterface.d.ts.map +1 -1
  787. package/lib/esm/RpcInterface.js +133 -133
  788. package/lib/esm/RpcInterface.js.map +1 -1
  789. package/lib/esm/RpcManager.d.ts +40 -40
  790. package/lib/esm/RpcManager.js +51 -51
  791. package/lib/esm/RpcManager.js.map +1 -1
  792. package/lib/esm/SessionProps.d.ts +16 -16
  793. package/lib/esm/SessionProps.js +8 -8
  794. package/lib/esm/SessionProps.js.map +1 -1
  795. package/lib/esm/SkyBox.d.ts +215 -215
  796. package/lib/esm/SkyBox.d.ts.map +1 -1
  797. package/lib/esm/SkyBox.js +204 -202
  798. package/lib/esm/SkyBox.js.map +1 -1
  799. package/lib/esm/Snapping.d.ts +49 -49
  800. package/lib/esm/Snapping.js +8 -8
  801. package/lib/esm/Snapping.js.map +1 -1
  802. package/lib/esm/SolarCalculate.d.ts +27 -27
  803. package/lib/esm/SolarCalculate.js +204 -204
  804. package/lib/esm/SolarCalculate.js.map +1 -1
  805. package/lib/esm/SolarShadows.d.ts +35 -35
  806. package/lib/esm/SolarShadows.js +58 -57
  807. package/lib/esm/SolarShadows.js.map +1 -1
  808. package/lib/esm/SpatialClassification.d.ts +208 -208
  809. package/lib/esm/SpatialClassification.js +333 -333
  810. package/lib/esm/SpatialClassification.js.map +1 -1
  811. package/lib/esm/SubCategoryAppearance.d.ts +91 -91
  812. package/lib/esm/SubCategoryAppearance.js +93 -92
  813. package/lib/esm/SubCategoryAppearance.js.map +1 -1
  814. package/lib/esm/SubCategoryOverride.d.ts +46 -46
  815. package/lib/esm/SubCategoryOverride.js +101 -100
  816. package/lib/esm/SubCategoryOverride.js.map +1 -1
  817. package/lib/esm/TerrainSettings.d.ts +82 -82
  818. package/lib/esm/TerrainSettings.d.ts.map +1 -1
  819. package/lib/esm/TerrainSettings.js +96 -96
  820. package/lib/esm/TerrainSettings.js.map +1 -1
  821. package/lib/esm/TextureMapping.d.ts +118 -118
  822. package/lib/esm/TextureMapping.js +169 -169
  823. package/lib/esm/TextureMapping.js.map +1 -1
  824. package/lib/esm/TextureProps.d.ts +65 -65
  825. package/lib/esm/TextureProps.js +25 -25
  826. package/lib/esm/TextureProps.js.map +1 -1
  827. package/lib/esm/ThematicDisplay.d.ts +230 -230
  828. package/lib/esm/ThematicDisplay.js +337 -336
  829. package/lib/esm/ThematicDisplay.js.map +1 -1
  830. package/lib/esm/Thumbnail.d.ts +26 -26
  831. package/lib/esm/Thumbnail.js +8 -8
  832. package/lib/esm/Thumbnail.js.map +1 -1
  833. package/lib/esm/TileProps.d.ts +82 -82
  834. package/lib/esm/TileProps.js +25 -25
  835. package/lib/esm/TileProps.js.map +1 -1
  836. package/lib/esm/Tween.d.ts +191 -191
  837. package/lib/esm/Tween.d.ts.map +1 -1
  838. package/lib/esm/Tween.js +565 -565
  839. package/lib/esm/Tween.js.map +1 -1
  840. package/lib/esm/TxnAction.d.ts +21 -21
  841. package/lib/esm/TxnAction.js +26 -26
  842. package/lib/esm/TxnAction.js.map +1 -1
  843. package/lib/esm/ViewDetails.d.ts +125 -125
  844. package/lib/esm/ViewDetails.js +162 -161
  845. package/lib/esm/ViewDetails.js.map +1 -1
  846. package/lib/esm/ViewFlags.d.ts +287 -287
  847. package/lib/esm/ViewFlags.d.ts.map +1 -1
  848. package/lib/esm/ViewFlags.js +364 -363
  849. package/lib/esm/ViewFlags.js.map +1 -1
  850. package/lib/esm/ViewProps.d.ts +205 -205
  851. package/lib/esm/ViewProps.js +8 -8
  852. package/lib/esm/ViewProps.js.map +1 -1
  853. package/lib/esm/WhiteOnWhiteReversalSettings.d.ts +36 -36
  854. package/lib/esm/WhiteOnWhiteReversalSettings.js +34 -33
  855. package/lib/esm/WhiteOnWhiteReversalSettings.js.map +1 -1
  856. package/lib/esm/core-common.d.ts +245 -245
  857. package/lib/esm/core-common.js +249 -249
  858. package/lib/esm/core-common.js.map +1 -1
  859. package/lib/esm/domains/FunctionalElementProps.d.ts +11 -11
  860. package/lib/esm/domains/FunctionalElementProps.js +8 -8
  861. package/lib/esm/domains/FunctionalElementProps.js.map +1 -1
  862. package/lib/esm/domains/GenericElementProps.d.ts +18 -18
  863. package/lib/esm/domains/GenericElementProps.js +8 -8
  864. package/lib/esm/domains/GenericElementProps.js.map +1 -1
  865. package/lib/esm/geometry/AdditionalTransform.d.ts +84 -84
  866. package/lib/esm/geometry/AdditionalTransform.js +80 -80
  867. package/lib/esm/geometry/AdditionalTransform.js.map +1 -1
  868. package/lib/esm/geometry/AreaPattern.d.ts +82 -82
  869. package/lib/esm/geometry/AreaPattern.js +200 -200
  870. package/lib/esm/geometry/AreaPattern.js.map +1 -1
  871. package/lib/esm/geometry/BoundingSphere.d.ts +27 -27
  872. package/lib/esm/geometry/BoundingSphere.js +40 -40
  873. package/lib/esm/geometry/BoundingSphere.js.map +1 -1
  874. package/lib/esm/geometry/Cartographic.d.ts +137 -137
  875. package/lib/esm/geometry/Cartographic.js +341 -340
  876. package/lib/esm/geometry/Cartographic.js.map +1 -1
  877. package/lib/esm/geometry/CoordinateReferenceSystem.d.ts +269 -269
  878. package/lib/esm/geometry/CoordinateReferenceSystem.d.ts.map +1 -1
  879. package/lib/esm/geometry/CoordinateReferenceSystem.js +253 -253
  880. package/lib/esm/geometry/CoordinateReferenceSystem.js.map +1 -1
  881. package/lib/esm/geometry/ElementGeometry.d.ts +402 -402
  882. package/lib/esm/geometry/ElementGeometry.d.ts.map +1 -1
  883. package/lib/esm/geometry/ElementGeometry.js +1716 -1716
  884. package/lib/esm/geometry/ElementGeometry.js.map +1 -1
  885. package/lib/esm/geometry/ElementGeometryFB.d.ts +2372 -2372
  886. package/lib/esm/geometry/ElementGeometryFB.js +3811 -3811
  887. package/lib/esm/geometry/ElementGeometryFB.js.map +1 -1
  888. package/lib/esm/geometry/FrustumPlanes.d.ts +81 -81
  889. package/lib/esm/geometry/FrustumPlanes.js +185 -185
  890. package/lib/esm/geometry/FrustumPlanes.js.map +1 -1
  891. package/lib/esm/geometry/GeodeticDatum.d.ts +409 -409
  892. package/lib/esm/geometry/GeodeticDatum.d.ts.map +1 -1
  893. package/lib/esm/geometry/GeodeticDatum.js +389 -389
  894. package/lib/esm/geometry/GeodeticDatum.js.map +1 -1
  895. package/lib/esm/geometry/GeodeticEllipsoid.d.ts +72 -72
  896. package/lib/esm/geometry/GeodeticEllipsoid.js +67 -67
  897. package/lib/esm/geometry/GeodeticEllipsoid.js.map +1 -1
  898. package/lib/esm/geometry/GeometryStream.d.ts +347 -347
  899. package/lib/esm/geometry/GeometryStream.d.ts.map +1 -1
  900. package/lib/esm/geometry/GeometryStream.js +463 -463
  901. package/lib/esm/geometry/GeometryStream.js.map +1 -1
  902. package/lib/esm/geometry/ImageGraphic.d.ts +74 -74
  903. package/lib/esm/geometry/ImageGraphic.d.ts.map +1 -1
  904. package/lib/esm/geometry/ImageGraphic.js +93 -93
  905. package/lib/esm/geometry/ImageGraphic.js.map +1 -1
  906. package/lib/esm/geometry/LineStyle.d.ts +71 -71
  907. package/lib/esm/geometry/LineStyle.js +126 -126
  908. package/lib/esm/geometry/LineStyle.js.map +1 -1
  909. package/lib/esm/geometry/Placement.d.ts +95 -95
  910. package/lib/esm/geometry/Placement.d.ts.map +1 -1
  911. package/lib/esm/geometry/Placement.js +126 -126
  912. package/lib/esm/geometry/Placement.js.map +1 -1
  913. package/lib/esm/geometry/Projection.d.ts +251 -251
  914. package/lib/esm/geometry/Projection.d.ts.map +1 -1
  915. package/lib/esm/geometry/Projection.js +192 -192
  916. package/lib/esm/geometry/Projection.js.map +1 -1
  917. package/lib/esm/geometry/TextString.d.ts +55 -55
  918. package/lib/esm/geometry/TextString.js +61 -61
  919. package/lib/esm/geometry/TextString.js.map +1 -1
  920. package/lib/esm/ipc/IpcSession.d.ts +23 -23
  921. package/lib/esm/ipc/IpcSession.js +23 -23
  922. package/lib/esm/ipc/IpcSession.js.map +1 -1
  923. package/lib/esm/ipc/IpcSocket.d.ts +96 -96
  924. package/lib/esm/ipc/IpcSocket.d.ts.map +1 -1
  925. package/lib/esm/ipc/IpcSocket.js +12 -12
  926. package/lib/esm/ipc/IpcSocket.js.map +1 -1
  927. package/lib/esm/ipc/IpcWebSocket.d.ts +61 -61
  928. package/lib/esm/ipc/IpcWebSocket.js +145 -144
  929. package/lib/esm/ipc/IpcWebSocket.js.map +1 -1
  930. package/lib/esm/ipc/IpcWebSocketTransport.d.ts +15 -15
  931. package/lib/esm/ipc/IpcWebSocketTransport.js +156 -156
  932. package/lib/esm/ipc/IpcWebSocketTransport.js.map +1 -1
  933. package/lib/esm/rpc/DevToolsRpcInterface.d.ts +32 -32
  934. package/lib/esm/rpc/DevToolsRpcInterface.js +49 -48
  935. package/lib/esm/rpc/DevToolsRpcInterface.js.map +1 -1
  936. package/lib/esm/rpc/IModelReadRpcInterface.d.ts +99 -99
  937. package/lib/esm/rpc/IModelReadRpcInterface.js +118 -117
  938. package/lib/esm/rpc/IModelReadRpcInterface.js.map +1 -1
  939. package/lib/esm/rpc/IModelTileRpcInterface.d.ts +61 -61
  940. package/lib/esm/rpc/IModelTileRpcInterface.js +94 -92
  941. package/lib/esm/rpc/IModelTileRpcInterface.js.map +1 -1
  942. package/lib/esm/rpc/SnapshotIModelRpcInterface.d.ts +23 -23
  943. package/lib/esm/rpc/SnapshotIModelRpcInterface.js +45 -44
  944. package/lib/esm/rpc/SnapshotIModelRpcInterface.js.map +1 -1
  945. package/lib/esm/rpc/TestRpcManager.d.ts +20 -20
  946. package/lib/esm/rpc/TestRpcManager.js +36 -36
  947. package/lib/esm/rpc/TestRpcManager.js.map +1 -1
  948. package/lib/esm/rpc/WipRpcInterface.d.ts +29 -29
  949. package/lib/esm/rpc/WipRpcInterface.js +37 -36
  950. package/lib/esm/rpc/WipRpcInterface.js.map +1 -1
  951. package/lib/esm/rpc/core/RpcConfiguration.d.ts +111 -111
  952. package/lib/esm/rpc/core/RpcConfiguration.d.ts.map +1 -1
  953. package/lib/esm/rpc/core/RpcConfiguration.js +185 -184
  954. package/lib/esm/rpc/core/RpcConfiguration.js.map +1 -1
  955. package/lib/esm/rpc/core/RpcConstants.d.ts +90 -90
  956. package/lib/esm/rpc/core/RpcConstants.js +106 -106
  957. package/lib/esm/rpc/core/RpcConstants.js.map +1 -1
  958. package/lib/esm/rpc/core/RpcControl.d.ts +54 -54
  959. package/lib/esm/rpc/core/RpcControl.js +144 -138
  960. package/lib/esm/rpc/core/RpcControl.js.map +1 -1
  961. package/lib/esm/rpc/core/RpcInvocation.d.ts +89 -89
  962. package/lib/esm/rpc/core/RpcInvocation.d.ts.map +1 -1
  963. package/lib/esm/rpc/core/RpcInvocation.js +253 -252
  964. package/lib/esm/rpc/core/RpcInvocation.js.map +1 -1
  965. package/lib/esm/rpc/core/RpcMarshaling.d.ts +35 -35
  966. package/lib/esm/rpc/core/RpcMarshaling.js +152 -152
  967. package/lib/esm/rpc/core/RpcMarshaling.js.map +1 -1
  968. package/lib/esm/rpc/core/RpcOperation.d.ts +67 -67
  969. package/lib/esm/rpc/core/RpcOperation.d.ts.map +1 -1
  970. package/lib/esm/rpc/core/RpcOperation.js +130 -129
  971. package/lib/esm/rpc/core/RpcOperation.js.map +1 -1
  972. package/lib/esm/rpc/core/RpcPendingQueue.d.ts +21 -21
  973. package/lib/esm/rpc/core/RpcPendingQueue.js +90 -90
  974. package/lib/esm/rpc/core/RpcPendingQueue.js.map +1 -1
  975. package/lib/esm/rpc/core/RpcProtocol.d.ts +132 -132
  976. package/lib/esm/rpc/core/RpcProtocol.d.ts.map +1 -1
  977. package/lib/esm/rpc/core/RpcProtocol.js +124 -123
  978. package/lib/esm/rpc/core/RpcProtocol.js.map +1 -1
  979. package/lib/esm/rpc/core/RpcPush.d.ts +68 -68
  980. package/lib/esm/rpc/core/RpcPush.d.ts.map +1 -1
  981. package/lib/esm/rpc/core/RpcPush.js +121 -119
  982. package/lib/esm/rpc/core/RpcPush.js.map +1 -1
  983. package/lib/esm/rpc/core/RpcRegistry.d.ts +48 -48
  984. package/lib/esm/rpc/core/RpcRegistry.js +194 -194
  985. package/lib/esm/rpc/core/RpcRegistry.js.map +1 -1
  986. package/lib/esm/rpc/core/RpcRequest.d.ts +186 -186
  987. package/lib/esm/rpc/core/RpcRequest.d.ts.map +1 -1
  988. package/lib/esm/rpc/core/RpcRequest.js +474 -473
  989. package/lib/esm/rpc/core/RpcRequest.js.map +1 -1
  990. package/lib/esm/rpc/core/RpcRequestContext.d.ts +14 -14
  991. package/lib/esm/rpc/core/RpcRequestContext.js +1 -1
  992. package/lib/esm/rpc/core/RpcRequestContext.js.map +1 -1
  993. package/lib/esm/rpc/core/RpcRoutingToken.d.ts +12 -12
  994. package/lib/esm/rpc/core/RpcRoutingToken.js +21 -20
  995. package/lib/esm/rpc/core/RpcRoutingToken.js.map +1 -1
  996. package/lib/esm/rpc/core/RpcSessionInvocation.d.ts +10 -10
  997. package/lib/esm/rpc/core/RpcSessionInvocation.js +56 -56
  998. package/lib/esm/rpc/core/RpcSessionInvocation.js.map +1 -1
  999. package/lib/esm/rpc/web/BentleyCloudRpcManager.d.ts +46 -46
  1000. package/lib/esm/rpc/web/BentleyCloudRpcManager.js +69 -68
  1001. package/lib/esm/rpc/web/BentleyCloudRpcManager.js.map +1 -1
  1002. package/lib/esm/rpc/web/BentleyCloudRpcProtocol.d.ts +33 -33
  1003. package/lib/esm/rpc/web/BentleyCloudRpcProtocol.js +137 -137
  1004. package/lib/esm/rpc/web/BentleyCloudRpcProtocol.js.map +1 -1
  1005. package/lib/esm/rpc/web/OpenAPI.d.ts +140 -140
  1006. package/lib/esm/rpc/web/OpenAPI.js +56 -56
  1007. package/lib/esm/rpc/web/OpenAPI.js.map +1 -1
  1008. package/lib/esm/rpc/web/RpcMultipart.d.ts +35 -35
  1009. package/lib/esm/rpc/web/RpcMultipart.js +47 -46
  1010. package/lib/esm/rpc/web/RpcMultipart.js.map +1 -1
  1011. package/lib/esm/rpc/web/WebAppRpcLogging.d.ts +28 -28
  1012. package/lib/esm/rpc/web/WebAppRpcLogging.js +136 -136
  1013. package/lib/esm/rpc/web/WebAppRpcLogging.js.map +1 -1
  1014. package/lib/esm/rpc/web/WebAppRpcProtocol.d.ts +89 -89
  1015. package/lib/esm/rpc/web/WebAppRpcProtocol.js +112 -112
  1016. package/lib/esm/rpc/web/WebAppRpcProtocol.js.map +1 -1
  1017. package/lib/esm/rpc/web/WebAppRpcRequest.d.ts +67 -67
  1018. package/lib/esm/rpc/web/WebAppRpcRequest.d.ts.map +1 -1
  1019. package/lib/esm/rpc/web/WebAppRpcRequest.js +236 -235
  1020. package/lib/esm/rpc/web/WebAppRpcRequest.js.map +1 -1
  1021. package/lib/esm/rpc/web/multipart/RpcMultipartParser.d.ts +32 -32
  1022. package/lib/esm/rpc/web/multipart/RpcMultipartParser.js +369 -369
  1023. package/lib/esm/rpc/web/multipart/RpcMultipartParser.js.map +1 -1
  1024. package/lib/esm/tile/B3dmTileIO.d.ts +19 -19
  1025. package/lib/esm/tile/B3dmTileIO.js +62 -62
  1026. package/lib/esm/tile/B3dmTileIO.js.map +1 -1
  1027. package/lib/esm/tile/CompositeTileIO.d.ts +15 -15
  1028. package/lib/esm/tile/CompositeTileIO.js +22 -22
  1029. package/lib/esm/tile/CompositeTileIO.js.map +1 -1
  1030. package/lib/esm/tile/ElementGraphics.d.ts +145 -145
  1031. package/lib/esm/tile/ElementGraphics.d.ts.map +1 -1
  1032. package/lib/esm/tile/ElementGraphics.js +8 -8
  1033. package/lib/esm/tile/ElementGraphics.js.map +1 -1
  1034. package/lib/esm/tile/GltfTileIO.d.ts +45 -45
  1035. package/lib/esm/tile/GltfTileIO.d.ts.map +1 -1
  1036. package/lib/esm/tile/GltfTileIO.js +105 -105
  1037. package/lib/esm/tile/GltfTileIO.js.map +1 -1
  1038. package/lib/esm/tile/I3dmTileIO.d.ts +20 -20
  1039. package/lib/esm/tile/I3dmTileIO.js +36 -36
  1040. package/lib/esm/tile/I3dmTileIO.js.map +1 -1
  1041. package/lib/esm/tile/IModelTileIO.d.ts +77 -77
  1042. package/lib/esm/tile/IModelTileIO.js +93 -92
  1043. package/lib/esm/tile/IModelTileIO.js.map +1 -1
  1044. package/lib/esm/tile/PntsTileIO.d.ts +17 -17
  1045. package/lib/esm/tile/PntsTileIO.js +22 -22
  1046. package/lib/esm/tile/PntsTileIO.js.map +1 -1
  1047. package/lib/esm/tile/TileIO.d.ts +66 -66
  1048. package/lib/esm/tile/TileIO.js +110 -110
  1049. package/lib/esm/tile/TileIO.js.map +1 -1
  1050. package/lib/esm/tile/TileMetadata.d.ts +228 -228
  1051. package/lib/esm/tile/TileMetadata.d.ts.map +1 -1
  1052. package/lib/esm/tile/TileMetadata.js +660 -660
  1053. package/lib/esm/tile/TileMetadata.js.map +1 -1
  1054. package/lib/esm/tile/Tileset3dSchema.d.ts +96 -96
  1055. package/lib/esm/tile/Tileset3dSchema.js +8 -8
  1056. package/lib/esm/tile/Tileset3dSchema.js.map +1 -1
  1057. package/package.json +8 -8
@@ -1 +1 @@
1
- {"version":3,"file":"IModel.js","sourceRoot":"","sources":["../../src/IModel.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAAuI;AACvI,wDAG8B;AAE9B,0DAA0E;AAC1E,oFAAyF;AAEzF,+CAA4C;AAmM5C;;;;GAIG;AACH,MAAa,YAAY;IAiBvB,2FAA2F;IAC3F,YAAY,KAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,uBAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,CAAC;QACtD,IAAI,CAAC,WAAW,GAAG,kCAAkB,CAAC,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,MAAM,EAAE,CAAC;QAC3E,IAAI,KAAK,CAAC,kBAAkB;YAC1B,IAAI,CAAC,kBAAkB,GAAG,2BAAY,CAAC,WAAW,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,kBAAkB,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,kBAAkB,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;QACvM,IAAI,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,EAAE;YAClC,IAAI,CAAC,OAAO,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pF,OAAO,IAAI,CAAC,aAAa,CAAC,YAAY,EAAE,CAAC;IAC3C,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAAC,OAAe,EAAE,MAAgB,IAAa,OAAO,IAAI,CAAC,gBAAgB,EAAE,CAAC,eAAe,CAAC,OAAO,EAAE,MAAM,CAAE,CAAC,CAAC,CAAC;IAEtI;;;;;;OAMG;IACI,aAAa,CAAC,IAAY,EAAE,MAAgB,IAAa,OAAO,IAAI,CAAC,gBAAgB,EAAE,CAAC,sBAAsB,CAAC,IAAI,EAAE,MAAM,CAAE,CAAC,CAAC,CAAC;IAEvI;;;;;OAKG;IACI,6BAA6B,CAAC,OAAe,EAAE,MAAqB,IAAkB,OAAO,2BAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,MAAM,CAAE,CAAC,CAAC,CAAC;IAElK;;;;;;OAMG;IACI,6BAA6B,CAAC,YAA0B,EAAE,MAAgB,IAAI,OAAO,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;;AAhSxJ,wBAiSC;AAxRC,sCAAsC;AACf,wBAAiB,GAAe,KAAK,CAAC;AAC7D,0CAA0C;AACnB,oBAAa,GAAe,KAAK,CAAC;AACzD,sCAAsC;AACf,mBAAY,GAAe,MAAM,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module iModels\r\n */\r\n\r\nimport { assert, BeEvent, GeoServiceStatus, GuidString, Id64, Id64String, IModelStatus, Mutable, OpenMode } from \"@itwin/core-bentley\";\r\nimport {\r\n Angle, AxisIndex, AxisOrder, Constant, Geometry, Matrix3d, Point3d, Range3d, Range3dProps, Transform, Vector3d, XYAndZ, XYZProps,\r\n YawPitchRollAngles, YawPitchRollProps,\r\n} from \"@itwin/core-geometry\";\r\nimport { ChangesetIdWithIndex } from \"./ChangesetProps\";\r\nimport { Cartographic, CartographicProps } from \"./geometry/Cartographic\";\r\nimport { GeographicCRS, GeographicCRSProps } from \"./geometry/CoordinateReferenceSystem\";\r\nimport { AxisAlignedBox3d } from \"./geometry/Placement\";\r\nimport { IModelError } from \"./IModelError\";\r\nimport { ThumbnailProps } from \"./Thumbnail\";\r\n\r\n/** The properties to open a connection to an iModel for RPC operations.\r\n * @public\r\n */\r\nexport interface IModelRpcOpenProps {\r\n /** The iTwin in which the iModel exists - must be defined for briefcases that are synchronized with iModelHub. */\r\n readonly iTwinId?: GuidString;\r\n /** Guid of the iModel. */\r\n readonly iModelId?: GuidString;\r\n\r\n /** Id of the last Changeset that was applied to the iModel - must be defined for briefcases that are synchronized with iModelHub.\r\n * @note Changeset Ids are string hash values based on the content and parent.\r\n */\r\n readonly changeset?: ChangesetIdWithIndex;\r\n}\r\n\r\n/** The properties that identify an opened iModel for RPC operations.\r\n * @public\r\n */\r\nexport interface IModelRpcProps extends IModelRpcOpenProps {\r\n /** Unique key used for identifying the iModel between the frontend and the backend */\r\n readonly key: string;\r\n}\r\n\r\n/** Properties that position an iModel on the earth via [ECEF](https://en.wikipedia.org/wiki/ECEF) (Earth Centered Earth Fixed) coordinates\r\n * The origin is specified as an ECEF coordinate. The cartographicOrigin property contains the latitude, longitude and elevation above the WGS84 ellipsoid\r\n * of the origin property. This cartographicOrigin is offered as a convenient pre-calculated value representing the location of the ECEF origin.\r\n * The 3D coordinate system this class represents is positioned at specified origin and the axis positioned according to\r\n * the other properties.\r\n * If the xVector and yVector properties are defined then they take precedence over the YawPitchRoll orientation property. The xVector and yVector\r\n * represent the direction and scale of the X and Y axes. The Z axis is always perpendicular (according to the right hand rule) to these X-Y axes.\r\n * The scaling in the Z direction is always unity. The scale of the X and Y axes is represented by the size of the vector length.\r\n * If the xVector and yVector are not present then the YawPitchRoll properties indicates the angles for all tree axes. Scaling in that case\r\n * is unity in all three directions.\r\n * Note that the present class is intended to represent geolocated 3D coordinate systems that are normally tangent to the WGS84 ellipsoid\r\n * possibly offset in altitude by the terrain elevation above the ellipsoid but other general 3D coordinate systems\r\n * can be defined.\r\n * @public\r\n * @extensions\r\n */\r\nexport interface EcefLocationProps {\r\n /** The Origin of an iModel on the earth in ECEF coordinates */\r\n readonly origin: XYZProps;\r\n /** The [orientation](https://en.wikipedia.org/wiki/Geographic_coordinate_conversion) of an iModel on the earth. */\r\n readonly orientation: YawPitchRollProps;\r\n /** Optional position on the earth used to establish the ECEF coordinates. */\r\n readonly cartographicOrigin?: CartographicProps;\r\n /** Optional X column vector used with [[yVector]] to calculate potentially non-rigid transform if a projection is present. */\r\n readonly xVector?: XYZProps;\r\n /** Optional Y column vector used with [[xVector]] to calculate potentially non-rigid transform if a projection is present. */\r\n readonly yVector?: XYZProps;\r\n}\r\n\r\n/** Properties of the [Root Subject]($docs/bis/guide/references/glossary#subject-root).\r\n * @public\r\n * @extensions\r\n */\r\nexport interface RootSubjectProps {\r\n /** The name of the root subject. */\r\n readonly name: string;\r\n /** Description of the root subject (optional). */\r\n readonly description?: string;\r\n}\r\n\r\n/** Properties of an iModel that are always held in memory whenever one is opened, both on the frontend and on the backend .\r\n * @public\r\n */\r\nexport interface IModelProps {\r\n /** The name and description of the root subject of this iModel */\r\n readonly rootSubject: RootSubjectProps;\r\n /** The volume of the entire project, in spatial coordinates */\r\n readonly projectExtents?: Range3dProps;\r\n /** An offset to be applied to all spatial coordinates. This is normally used to transform spatial coordinates into the Cartesian coordinate system of a Geographic Coordinate System. */\r\n readonly globalOrigin?: XYZProps;\r\n /** The location of the iModel in Earth Centered Earth Fixed coordinates. iModel units are always meters */\r\n readonly ecefLocation?: EcefLocationProps;\r\n /** The Geographic Coordinate Reference System indicating the projection and datum used. */\r\n readonly geographicCoordinateSystem?: GeographicCRSProps;\r\n /** The name of the iModel. */\r\n readonly name?: string;\r\n}\r\n\r\n/** The properties returned by the backend when creating a new [[IModelConnection]] from the frontend, either with Rpc or with Ipc.\r\n * These properties describe the iModel held on the backend for thew newly formed connection and are used to construct a new\r\n * [[IModelConnection]] instance on the frontend to access it.\r\n * @public\r\n */\r\nexport type IModelConnectionProps = IModelProps & IModelRpcProps;\r\n\r\n/** The properties that can be supplied when creating a *new* iModel.\r\n * @public\r\n */\r\nexport interface CreateIModelProps extends IModelProps {\r\n /** The GUID of new iModel. If not present, a GUID will be generated. */\r\n readonly guid?: GuidString;\r\n /** Client name for new iModel */\r\n readonly client?: string;\r\n /** Thumbnail for new iModel\r\n * @alpha\r\n */\r\n readonly thumbnail?: ThumbnailProps;\r\n}\r\n\r\n/**\r\n * Encryption-related properties that can be supplied when creating or opening snapshot iModels.\r\n * @public\r\n * @deprecated in 3.x. **NOTE**, encrypted iModels are no longer supported since they require licensed code.\r\n */\r\nexport interface IModelEncryptionProps {\r\n /** The password used to encrypt/decrypt the snapshot iModel. */\r\n readonly password?: string;\r\n}\r\n\r\n/**\r\n * A key used to identify an opened [IModelDb]($backend) between the frontend and backend for Rpc and Ipc communications.\r\n * Keys must be unique - that is there can never be two IModelDbs opened with the same key at any given time.\r\n * If no key is supplied in a call to open an IModelDb, one is generated and returned.\r\n * It is only necessary to supply a key if you have some reason to assign a specific value to identify an IModelDb.\r\n * If you don't supply the key, you must use the returned value for Rpc and Ipc communications.\r\n * @public\r\n */\r\nexport interface OpenDbKey {\r\n readonly key?: string;\r\n}\r\n\r\n/** @beta TODO documentation */\r\nexport interface CloudContainerUri {\r\n readonly uriParams: string;\r\n}\r\n\r\n/** Options to open a [SnapshotDb]($backend).\r\n * @public\r\n */\r\nexport interface SnapshotOpenOptions extends IModelEncryptionProps, OpenDbKey { // eslint-disable-line deprecation/deprecation\r\n /**\r\n * The \"base\" name that can be used for creating temporary files related to this Db.\r\n * The string should be a name related to the current Db filename using some known pattern so that all files named \"baseName*\" can be deleted externally during cleanup.\r\n * It must be the name of a file (that may or may not exist) in a writable directory.\r\n * If not present, the baseName will default to the database's file name (including the path).\r\n * @internal\r\n */\r\n readonly tempFileBase?: string;\r\n}\r\n\r\n/** Options to open a [StandaloneDb]($backend) via [StandaloneDb.openFile]($backend) from the backend,\r\n * or [BriefcaseConnection.openStandalone]($frontend) from the frontend.\r\n * @public\r\n */\r\nexport type StandaloneOpenOptions = OpenDbKey;\r\n\r\n/** Options that can be supplied when creating snapshot iModels.\r\n * @public\r\n */\r\n// eslint-disable-next-line deprecation/deprecation\r\nexport interface CreateSnapshotIModelProps extends IModelEncryptionProps {\r\n /** If true, then create SQLite views for Model, Element, ElementAspect, and Relationship classes.\r\n * These database views can often be useful for interoperability workflows.\r\n */\r\n readonly createClassViews?: boolean;\r\n}\r\n\r\n/** The options that can be specified when creating an *empty* snapshot iModel.\r\n * @see [SnapshotDb.createEmpty]($backend)\r\n * @public\r\n */\r\nexport type CreateEmptySnapshotIModelProps = CreateIModelProps & CreateSnapshotIModelProps;\r\n\r\n/** Options that can be supplied when creating standalone iModels.\r\n * @internal\r\n */\r\n// eslint-disable-next-line deprecation/deprecation\r\nexport interface CreateStandaloneIModelProps extends IModelEncryptionProps {\r\n /** If present, file will allow local editing, but cannot be used to create changesets */\r\n readonly allowEdit?: string;\r\n}\r\n\r\n/** The options that can be specified when creating an *empty* standalone iModel.\r\n * @see [standalone.createEmpty]($backend)\r\n * @internal\r\n */\r\nexport type CreateEmptyStandaloneIModelProps = CreateIModelProps & CreateStandaloneIModelProps;\r\n\r\n/**\r\n * @public\r\n * @extensions\r\n */\r\nexport interface FilePropertyProps {\r\n readonly namespace: string;\r\n readonly name: string;\r\n id?: number | string;\r\n subId?: number | string;\r\n}\r\n\r\n/** The position and orientation of an iModel on the earth in [ECEF](https://en.wikipedia.org/wiki/ECEF) (Earth Centered Earth Fixed) coordinates\r\n * @note This is an immutable type - all of its properties are frozen.\r\n * @see [GeoLocation of iModels]($docs/learning/GeoLocation.md)\r\n * @public\r\n */\r\nexport class EcefLocation implements EcefLocationProps {\r\n /** The origin of the ECEF transform. */\r\n public readonly origin: Point3d;\r\n /** The orientation of the ECEF transform */\r\n public readonly orientation: YawPitchRollAngles;\r\n /** Optional position on the earth used to establish the ECEF origin and orientation. */\r\n public readonly cartographicOrigin?: Cartographic;\r\n /** Optional X column vector used with [[yVector]] to calculate potentially non-rigid transform if a projection is present. */\r\n public readonly xVector?: Vector3d;\r\n /** Optional Y column vector used with [[xVector]] to calculate potentially non-rigid transform if a projection is present. */\r\n public readonly yVector?: Vector3d;\r\n\r\n private readonly _transform: Transform;\r\n\r\n /** Get the transform from iModel Spatial coordinates to ECEF from this EcefLocation */\r\n public getTransform(): Transform { return this._transform; }\r\n\r\n /** Construct a new EcefLocation. Once constructed, it is frozen and cannot be modified. */\r\n constructor(props: EcefLocationProps) {\r\n this.origin = Point3d.fromJSON(props.origin).freeze();\r\n this.orientation = YawPitchRollAngles.fromJSON(props.orientation).freeze();\r\n if (props.cartographicOrigin)\r\n this.cartographicOrigin = Cartographic.fromRadians({ longitude: props.cartographicOrigin.longitude, latitude: props.cartographicOrigin.latitude, height: props.cartographicOrigin.height }).freeze();\r\n if (props.xVector && props.yVector) {\r\n this.xVector = Vector3d.fromJSON(props.xVector).freeze();\r\n this.yVector = Vector3d.fromJSON(props.yVector).freeze();\r\n }\r\n let matrix;\r\n if (this.xVector && this.yVector) {\r\n const zVector = this.xVector.crossProduct(this.yVector);\r\n if (zVector.normalizeInPlace())\r\n matrix = Matrix3d.createColumns(this.xVector, this.yVector, zVector);\r\n }\r\n if (!matrix)\r\n matrix = this.orientation.toMatrix3d();\r\n\r\n this._transform = Transform.createOriginAndMatrix(this.origin, matrix);\r\n this._transform.freeze();\r\n }\r\n\r\n /** Returns true if this EcefLocation is not located at the center of the Earth.\r\n * @alpha are locations very close to the center considered valid? What are the specific criteria?\r\n */\r\n public get isValid(): boolean {\r\n return !this.origin.isZero;\r\n }\r\n\r\n /** Construct ECEF Location from cartographic origin with optional known point and angle. */\r\n public static createFromCartographicOrigin(origin: Cartographic, point?: Point3d, angle?: Angle) {\r\n const ecefOrigin = origin.toEcef();\r\n const deltaRadians = 10 / Constant.earthRadiusWGS84.polar;\r\n const northCarto = Cartographic.fromRadians({ longitude: origin.longitude, latitude: origin.latitude + deltaRadians, height: origin.height });\r\n const eastCarto = Cartographic.fromRadians({ longitude: origin.longitude + deltaRadians, latitude: origin.latitude, height: origin.height });\r\n const ecefNorth = northCarto.toEcef();\r\n const ecefEast = eastCarto.toEcef();\r\n const xVector = Vector3d.createStartEnd(ecefOrigin, ecefEast).normalize();\r\n const yVector = Vector3d.createStartEnd(ecefOrigin, ecefNorth).normalize();\r\n const matrix = Matrix3d.createRigidFromColumns(xVector!, yVector!, AxisOrder.XYZ)!;\r\n if (angle !== undefined) {\r\n const north = Matrix3d.createRotationAroundAxisIndex(AxisIndex.Z, angle);\r\n matrix.multiplyMatrixMatrix(north, matrix);\r\n }\r\n if (point !== undefined) {\r\n const delta = matrix.multiplyVector(Vector3d.create(-point.x, -point.y, -point.z));\r\n ecefOrigin.addInPlace(delta);\r\n }\r\n\r\n return new EcefLocation({ origin: ecefOrigin, orientation: YawPitchRollAngles.createFromMatrix3d(matrix)!, cartographicOrigin: origin });\r\n }\r\n\r\n /** Get the location center of the earth in the iModel coordinate system. */\r\n public get earthCenter(): Point3d {\r\n const matrix = this.orientation.toMatrix3d();\r\n return Point3d.createFrom(matrix.multiplyTransposeXYZ(-this.origin.x, -this.origin.y, -this.origin.z));\r\n }\r\n\r\n /** Return true if this location is equivalent to another location within a small tolerance. */\r\n public isAlmostEqual(other: EcefLocation): boolean {\r\n if (!this.origin.isAlmostEqual(other.origin) || !this.orientation.isAlmostEqual(other.orientation))\r\n return false;\r\n\r\n if ((this.xVector === undefined) !== (other.xVector === undefined) || (this.yVector === undefined) !== (other.yVector === undefined))\r\n return false;\r\n\r\n if (this.xVector !== undefined && other.xVector !== undefined && !this.xVector.isAlmostEqual(other.xVector))\r\n return false;\r\n\r\n if (this.yVector !== undefined && other.yVector !== undefined && !this.yVector.isAlmostEqual(other.yVector))\r\n return false;\r\n\r\n const thisCarto = this.cartographicOrigin;\r\n const otherCarto = other.cartographicOrigin;\r\n if (undefined === thisCarto || undefined === otherCarto)\r\n return undefined === thisCarto && undefined === otherCarto;\r\n\r\n return thisCarto.equalsEpsilon(otherCarto, Geometry.smallMetricDistance);\r\n }\r\n\r\n public toJSON(): EcefLocationProps {\r\n const props: Mutable<EcefLocationProps> = {\r\n origin: this.origin.toJSON(),\r\n orientation: this.orientation.toJSON(),\r\n };\r\n\r\n if (this.cartographicOrigin)\r\n props.cartographicOrigin = this.cartographicOrigin.toJSON();\r\n\r\n if (this.xVector)\r\n props.xVector = this.xVector.toJSON();\r\n\r\n if (this.yVector)\r\n props.yVector = this.yVector.toJSON();\r\n\r\n return props;\r\n }\r\n}\r\n\r\n/** Represents an iModel in JavaScript.\r\n * @see [GeoLocation of iModels]($docs/learning/GeoLocation.md)\r\n * @public\r\n */\r\nexport abstract class IModel implements IModelProps {\r\n private _projectExtents?: AxisAlignedBox3d;\r\n private _name?: string;\r\n private _rootSubject?: RootSubjectProps;\r\n private _globalOrigin?: Point3d;\r\n private _ecefLocation?: EcefLocation;\r\n private _geographicCoordinateSystem?: GeographicCRS;\r\n private _iModelId?: GuidString;\r\n\r\n /** The Id of the repository model. */\r\n public static readonly repositoryModelId: Id64String = \"0x1\";\r\n /** The Id of the root subject element. */\r\n public static readonly rootSubjectId: Id64String = \"0x1\";\r\n /** The Id of the dictionary model. */\r\n public static readonly dictionaryId: Id64String = \"0x10\";\r\n\r\n /** Event raised after [[name]] changes. */\r\n public readonly onNameChanged = new BeEvent<(previousName: string) => void>();\r\n /** Event raised after [[rootSubject]] changes. */\r\n public readonly onRootSubjectChanged = new BeEvent<(previousSubject: RootSubjectProps) => void>();\r\n /** Event raised after [[projectExtents]] changes. */\r\n public readonly onProjectExtentsChanged = new BeEvent<(previousExtents: AxisAlignedBox3d) => void>();\r\n /** Event raised after [[globalOrigin]] changes. */\r\n public readonly onGlobalOriginChanged = new BeEvent<(previousOrigin: Point3d) => void>();\r\n /** Event raised after [[ecefLocation]] changes. */\r\n public readonly onEcefLocationChanged = new BeEvent<(previousLocation: EcefLocation | undefined) => void>();\r\n /** Event raised after [[geographicCoordinateSystem]] changes. */\r\n public readonly onGeographicCoordinateSystemChanged = new BeEvent<(previousGCS: GeographicCRS | undefined) => void>();\r\n\r\n /** Name of the iModel */\r\n public get name(): string {\r\n assert(this._name !== undefined);\r\n return this._name;\r\n }\r\n public set name(name: string) {\r\n if (name !== this._name) {\r\n const old = this._name;\r\n this._name = name;\r\n if (undefined !== old)\r\n this.onNameChanged.raiseEvent(old);\r\n }\r\n }\r\n\r\n /** The name and description of the root subject of this iModel */\r\n public get rootSubject(): RootSubjectProps {\r\n assert(this._rootSubject !== undefined);\r\n return this._rootSubject;\r\n }\r\n public set rootSubject(subject: RootSubjectProps) {\r\n if (undefined === this._rootSubject || this._rootSubject.name !== subject.name || this._rootSubject.description !== subject.description) {\r\n const old = this._rootSubject;\r\n this._rootSubject = subject;\r\n if (old)\r\n this.onRootSubjectChanged.raiseEvent(old);\r\n }\r\n }\r\n\r\n /** Returns `true` if this is a snapshot iModel. */\r\n public abstract get isSnapshot(): boolean;\r\n /** Returns `true` if this is a briefcase copy of an iModel that is synchronized with iModelHub. */\r\n public abstract get isBriefcase(): boolean;\r\n\r\n public abstract get isOpen(): boolean;\r\n\r\n /**\r\n * The volume, in spatial coordinates, inside which the entire project is contained.\r\n * @note The object returned from this method is frozen. You *must* make a copy before you do anything that might attempt to modify it.\r\n */\r\n public get projectExtents() {\r\n assert(undefined !== this._projectExtents);\r\n return this._projectExtents;\r\n }\r\n public set projectExtents(extents: AxisAlignedBox3d) {\r\n // Don't allow any axis of the project extents to be less than 1 meter.\r\n const projectExtents = extents.clone();\r\n projectExtents.ensureMinLengths(1.0);\r\n if (!this._projectExtents || !this._projectExtents.isAlmostEqual(projectExtents)) {\r\n const old = this._projectExtents;\r\n projectExtents.freeze();\r\n this._projectExtents = projectExtents;\r\n if (old)\r\n this.onProjectExtentsChanged.raiseEvent(old);\r\n }\r\n }\r\n\r\n /** An offset to be applied to all spatial coordinates. */\r\n public get globalOrigin(): Point3d {\r\n assert(this._globalOrigin !== undefined);\r\n return this._globalOrigin;\r\n }\r\n public set globalOrigin(org: Point3d) {\r\n if (!this._globalOrigin || !this._globalOrigin.isAlmostEqual(org)) {\r\n const old = this._globalOrigin;\r\n org.freeze();\r\n this._globalOrigin = org;\r\n if (old)\r\n this.onGlobalOriginChanged.raiseEvent(old);\r\n }\r\n }\r\n\r\n /** The [EcefLocation]($docs/learning/glossary#ecefLocation) of the iModel in Earth Centered Earth Fixed coordinates.\r\n * If the iModel property geographicCoordinateSystem is not defined then the ecefLocation provides a geolocation by defining a\r\n * 3D coordinate system relative to the Earth model WGS84. Refer to additional documentation for details. If the geographicCoordinateSystem\r\n * property is defined then the ecefLocation must be used with care. When the geographicCoordinateSystem is defined it indicates the\r\n * iModel cartesian space is the result of a cartographic projection. This implies a flattening of the Earth surface process that\r\n * results in scale, angular or area distortion. The ecefLocation is then an approximation calculated at the center of the project extent.\r\n * If the project is more than 2 kilometer in size, the ecefLocation may represent a poor approximation of the effective\r\n * cartographic projection used and a linear transformation should then be calculated at the exact origin of the data\r\n * it must position.\r\n * @see [GeoLocation of iModels]($docs/learning/GeoLocation.md)\r\n */\r\n public get ecefLocation(): EcefLocation | undefined {\r\n return this._ecefLocation;\r\n }\r\n public set ecefLocation(ecefLocation: EcefLocation | undefined) {\r\n const old = this._ecefLocation;\r\n if (!old && !ecefLocation)\r\n return;\r\n else if (old && ecefLocation && old.isAlmostEqual(ecefLocation))\r\n return;\r\n\r\n this._ecefLocation = ecefLocation;\r\n this.onEcefLocationChanged.raiseEvent(old);\r\n }\r\n\r\n /** Set the [EcefLocation]($docs/learning/glossary#ecefLocation) for this iModel. */\r\n public setEcefLocation(ecef: EcefLocationProps): void {\r\n this.ecefLocation = new EcefLocation(ecef);\r\n }\r\n\r\n /** The geographic coordinate reference system of the iModel. */\r\n public get geographicCoordinateSystem(): GeographicCRS | undefined {\r\n return this._geographicCoordinateSystem;\r\n }\r\n public set geographicCoordinateSystem(geoCRS: GeographicCRS | undefined) {\r\n const old = this._geographicCoordinateSystem;\r\n if (!old && !geoCRS)\r\n return;\r\n else if (old && geoCRS && old.equals(geoCRS))\r\n return;\r\n\r\n this._geographicCoordinateSystem = geoCRS;\r\n this.onGeographicCoordinateSystemChanged.raiseEvent(old);\r\n }\r\n\r\n /** Sets the geographic coordinate reference system from GeographicCRSProps. */\r\n public setGeographicCoordinateSystem(geoCRS: GeographicCRSProps) {\r\n this.geographicCoordinateSystem = new GeographicCRS(geoCRS);\r\n }\r\n\r\n /** @internal */\r\n public getConnectionProps(): IModelConnectionProps {\r\n return {\r\n name: this.name,\r\n rootSubject: this.rootSubject,\r\n projectExtents: this.projectExtents.toJSON(),\r\n globalOrigin: this.globalOrigin.toJSON(),\r\n ecefLocation: this.ecefLocation,\r\n geographicCoordinateSystem: this.geographicCoordinateSystem,\r\n ... this._getRpcProps(),\r\n };\r\n }\r\n\r\n /** @internal */\r\n public toJSON(): IModelConnectionProps {\r\n return this.getConnectionProps();\r\n }\r\n\r\n /** A key used to identify this iModel in RPC calls from frontend to backend.\r\n * @internal\r\n */\r\n protected _fileKey: string;\r\n /** Get the key that was used to open this iModel. This is the value used for Rpc and Ipc communications. */\r\n public get key(): string { return this._fileKey; }\r\n\r\n /** @internal */\r\n protected _iTwinId?: GuidString;\r\n /** The Guid that identifies the iTwin that owns this iModel. */\r\n public get iTwinId(): GuidString | undefined { return this._iTwinId; }\r\n\r\n /** The Guid that identifies this iModel. */\r\n public get iModelId(): GuidString | undefined { return this._iModelId; }\r\n\r\n /** @public */\r\n public changeset: ChangesetIdWithIndex;\r\n\r\n protected _openMode = OpenMode.Readonly;\r\n /** The [[OpenMode]] used for this IModel. */\r\n public get openMode(): OpenMode { return this._openMode; }\r\n\r\n /** Return a token for RPC operations.\r\n * @throws IModelError if the iModel is not open.\r\n */\r\n public getRpcProps(): IModelRpcProps {\r\n if (!this.isOpen)\r\n throw new IModelError(IModelStatus.BadRequest, \"IModel is not open for rpc\");\r\n\r\n return this._getRpcProps();\r\n }\r\n\r\n /** Returns the iModel's RPC properties.\r\n * @note It is an error to attempt to use these properties as a token for RPC operations if the iModel is not open.\r\n * @internal\r\n */\r\n protected _getRpcProps(): IModelRpcProps {\r\n return {\r\n key: this._fileKey,\r\n iTwinId: this.iTwinId,\r\n iModelId: this.iModelId,\r\n changeset: this.changeset,\r\n };\r\n }\r\n\r\n /** @internal */\r\n protected constructor(tokenProps?: IModelRpcProps) {\r\n this.changeset = { id: \"\", index: 0 };\r\n this._fileKey = \"\";\r\n if (tokenProps) {\r\n this._fileKey = tokenProps.key;\r\n this._iTwinId = tokenProps.iTwinId;\r\n this._iModelId = tokenProps.iModelId;\r\n if (tokenProps.changeset)\r\n this.changeset = tokenProps.changeset;\r\n }\r\n }\r\n\r\n /** @internal */\r\n protected initialize(name: string, props: IModelProps) {\r\n this.name = name;\r\n this.rootSubject = props.rootSubject;\r\n this.projectExtents = Range3d.fromJSON(props.projectExtents);\r\n this.globalOrigin = Point3d.fromJSON(props.globalOrigin);\r\n\r\n const ecefLocation = props.ecefLocation ? new EcefLocation(props.ecefLocation) : undefined;\r\n this.ecefLocation = ecefLocation?.isValid ? ecefLocation : undefined;\r\n\r\n this.geographicCoordinateSystem = props.geographicCoordinateSystem ? new GeographicCRS(props.geographicCoordinateSystem) : undefined;\r\n }\r\n\r\n /** Get the default subCategoryId for the supplied categoryId */\r\n public static getDefaultSubCategoryId(categoryId: Id64String): Id64String {\r\n return Id64.isValid(categoryId) ? Id64.fromLocalAndBriefcaseIds(Id64.getLocalId(categoryId) + 1, Id64.getBriefcaseId(categoryId)) : Id64.invalid;\r\n }\r\n\r\n /** True if this iModel has an [EcefLocation]($docs/learning/glossary#ecefLocation). */\r\n public get isGeoLocated() { return undefined !== this._ecefLocation; }\r\n\r\n /** Get the Transform from this iModel's Spatial coordinates to ECEF coordinates using its [[IModel.ecefLocation]].\r\n * @throws IModelError if [[isGeoLocated]] is false.\r\n */\r\n public getEcefTransform(): Transform {\r\n if (undefined === this._ecefLocation)\r\n throw new IModelError(GeoServiceStatus.NoGeoLocation, \"iModel is not GeoLocated\");\r\n return this._ecefLocation.getTransform();\r\n }\r\n\r\n /** Convert a point in this iModel's Spatial coordinates to an ECEF point using its [[IModel.ecefLocation]].\r\n * @param spatial A point in the iModel's spatial coordinates\r\n * @param result If defined, use this for output\r\n * @returns A Point3d in ECEF coordinates\r\n * @throws IModelError if [[isGeoLocated]] is false.\r\n */\r\n public spatialToEcef(spatial: XYAndZ, result?: Point3d): Point3d { return this.getEcefTransform().multiplyPoint3d(spatial, result)!; }\r\n\r\n /** Convert a point in ECEF coordinates to a point in this iModel's Spatial coordinates using its [[ecefLocation]].\r\n * @param ecef A point in ECEF coordinates\r\n * @param result If defined, use this for output\r\n * @returns A Point3d in this iModel's spatial coordinates\r\n * @throws IModelError if [[isGeoLocated]] is false.\r\n * @note The resultant point will only be meaningful if the ECEF coordinate is close on the earth to the iModel.\r\n */\r\n public ecefToSpatial(ecef: XYAndZ, result?: Point3d): Point3d { return this.getEcefTransform().multiplyInversePoint3d(ecef, result)!; }\r\n\r\n /** Convert a point in this iModel's Spatial coordinates to a [[Cartographic]] using its [[IModel.ecefLocation]].\r\n * @param spatial A point in the iModel's spatial coordinates\r\n * @param result If defined, use this for output\r\n * @returns A Cartographic location\r\n * @throws IModelError if [[isGeoLocated]] is false.\r\n */\r\n public spatialToCartographicFromEcef(spatial: XYAndZ, result?: Cartographic): Cartographic { return Cartographic.fromEcef(this.spatialToEcef(spatial), result)!; }\r\n\r\n /** Convert a [[Cartographic]] to a point in this iModel's Spatial coordinates using its [[IModel.ecefLocation]].\r\n * @param cartographic A cartographic location\r\n * @param result If defined, use this for output\r\n * @returns A point in this iModel's spatial coordinates\r\n * @throws IModelError if [[isGeoLocated]] is false.\r\n * @note The resultant point will only be meaningful if the ECEF coordinate is close on the earth to the iModel.\r\n */\r\n public cartographicToSpatialFromEcef(cartographic: Cartographic, result?: Point3d) { return this.ecefToSpatial(cartographic.toEcef(result), result); }\r\n}\r\n"]}
1
+ {"version":3,"file":"IModel.js","sourceRoot":"","sources":["../../src/IModel.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAAuI;AACvI,wDAG8B;AAE9B,0DAA0E;AAC1E,oFAAyF;AAEzF,+CAA4C;AAmM5C;;;;GAIG;AACH,MAAa,YAAY;IAcvB,uFAAuF;IAChF,YAAY,KAAgB,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IAE5D,2FAA2F;IAC3F,YAAY,KAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,uBAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,CAAC;QACtD,IAAI,CAAC,WAAW,GAAG,kCAAkB,CAAC,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,MAAM,EAAE,CAAC;QAC3E,IAAI,KAAK,CAAC,kBAAkB;YAC1B,IAAI,CAAC,kBAAkB,GAAG,2BAAY,CAAC,WAAW,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,kBAAkB,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,kBAAkB,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;QACvM,IAAI,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,EAAE;YAClC,IAAI,CAAC,OAAO,GAAG,wBAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC;YACzD,IAAI,CAAC,OAAO,GAAG,wBAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC;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AAa,OAAO,IAAI,CAAC,gBAAgB,EAAE,CAAC,sBAAsB,CAAC,IAAI,EAAE,MAAM,CAAE,CAAC,CAAC,CAAC;IAEvI;;;;;OAKG;IACI,6BAA6B,CAAC,OAAe,EAAE,MAAqB,IAAkB,OAAO,2BAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,MAAM,CAAE,CAAC,CAAC,CAAC;IAElK;;;;;;OAMG;IACI,6BAA6B,CAAC,YAA0B,EAAE,MAAgB,IAAI,OAAO,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;;AAvRtJ,sCAAsC;AACf,wBAAiB,GAAe,KAAK,AAApB,CAAqB;AAC7D,0CAA0C;AACnB,oBAAa,GAAe,KAAK,AAApB,CAAqB;AACzD,sCAAsC;AACf,mBAAY,GAAe,MAAM,AAArB,CAAsB;AAdrC,wBAAM","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 { assert, BeEvent, GeoServiceStatus, GuidString, Id64, Id64String, IModelStatus, Mutable, OpenMode } from \"@itwin/core-bentley\";\nimport {\n Angle, AxisIndex, AxisOrder, Constant, Geometry, Matrix3d, Point3d, Range3d, Range3dProps, Transform, Vector3d, XYAndZ, XYZProps,\n YawPitchRollAngles, YawPitchRollProps,\n} from \"@itwin/core-geometry\";\nimport { ChangesetIdWithIndex } from \"./ChangesetProps\";\nimport { Cartographic, CartographicProps } from \"./geometry/Cartographic\";\nimport { GeographicCRS, GeographicCRSProps } from \"./geometry/CoordinateReferenceSystem\";\nimport { AxisAlignedBox3d } from \"./geometry/Placement\";\nimport { IModelError } from \"./IModelError\";\nimport { ThumbnailProps } from \"./Thumbnail\";\n\n/** The properties to open a connection to an iModel for RPC operations.\n * @public\n */\nexport interface IModelRpcOpenProps {\n /** The iTwin in which the iModel exists - must be defined for briefcases that are synchronized with iModelHub. */\n readonly iTwinId?: GuidString;\n /** Guid of the iModel. */\n readonly iModelId?: GuidString;\n\n /** Id of the last Changeset that was applied to the iModel - must be defined for briefcases that are synchronized with iModelHub.\n * @note Changeset Ids are string hash values based on the content and parent.\n */\n readonly changeset?: ChangesetIdWithIndex;\n}\n\n/** The properties that identify an opened iModel for RPC operations.\n * @public\n */\nexport interface IModelRpcProps extends IModelRpcOpenProps {\n /** Unique key used for identifying the iModel between the frontend and the backend */\n readonly key: string;\n}\n\n/** Properties that position an iModel on the earth via [ECEF](https://en.wikipedia.org/wiki/ECEF) (Earth Centered Earth Fixed) coordinates\n * The origin is specified as an ECEF coordinate. The cartographicOrigin property contains the latitude, longitude and elevation above the WGS84 ellipsoid\n * of the origin property. This cartographicOrigin is offered as a convenient pre-calculated value representing the location of the ECEF origin.\n * The 3D coordinate system this class represents is positioned at specified origin and the axis positioned according to\n * the other properties.\n * If the xVector and yVector properties are defined then they take precedence over the YawPitchRoll orientation property. The xVector and yVector\n * represent the direction and scale of the X and Y axes. The Z axis is always perpendicular (according to the right hand rule) to these X-Y axes.\n * The scaling in the Z direction is always unity. The scale of the X and Y axes is represented by the size of the vector length.\n * If the xVector and yVector are not present then the YawPitchRoll properties indicates the angles for all tree axes. Scaling in that case\n * is unity in all three directions.\n * Note that the present class is intended to represent geolocated 3D coordinate systems that are normally tangent to the WGS84 ellipsoid\n * possibly offset in altitude by the terrain elevation above the ellipsoid but other general 3D coordinate systems\n * can be defined.\n * @public\n * @extensions\n */\nexport interface EcefLocationProps {\n /** The Origin of an iModel on the earth in ECEF coordinates */\n readonly origin: XYZProps;\n /** The [orientation](https://en.wikipedia.org/wiki/Geographic_coordinate_conversion) of an iModel on the earth. */\n readonly orientation: YawPitchRollProps;\n /** Optional position on the earth used to establish the ECEF coordinates. */\n readonly cartographicOrigin?: CartographicProps;\n /** Optional X column vector used with [[yVector]] to calculate potentially non-rigid transform if a projection is present. */\n readonly xVector?: XYZProps;\n /** Optional Y column vector used with [[xVector]] to calculate potentially non-rigid transform if a projection is present. */\n readonly yVector?: XYZProps;\n}\n\n/** Properties of the [Root Subject]($docs/bis/guide/references/glossary#subject-root).\n * @public\n * @extensions\n */\nexport interface RootSubjectProps {\n /** The name of the root subject. */\n readonly name: string;\n /** Description of the root subject (optional). */\n readonly description?: string;\n}\n\n/** Properties of an iModel that are always held in memory whenever one is opened, both on the frontend and on the backend .\n * @public\n */\nexport interface IModelProps {\n /** The name and description of the root subject of this iModel */\n readonly rootSubject: RootSubjectProps;\n /** The volume of the entire project, in spatial coordinates */\n readonly projectExtents?: Range3dProps;\n /** An offset to be applied to all spatial coordinates. This is normally used to transform spatial coordinates into the Cartesian coordinate system of a Geographic Coordinate System. */\n readonly globalOrigin?: XYZProps;\n /** The location of the iModel in Earth Centered Earth Fixed coordinates. iModel units are always meters */\n readonly ecefLocation?: EcefLocationProps;\n /** The Geographic Coordinate Reference System indicating the projection and datum used. */\n readonly geographicCoordinateSystem?: GeographicCRSProps;\n /** The name of the iModel. */\n readonly name?: string;\n}\n\n/** The properties returned by the backend when creating a new [[IModelConnection]] from the frontend, either with Rpc or with Ipc.\n * These properties describe the iModel held on the backend for thew newly formed connection and are used to construct a new\n * [[IModelConnection]] instance on the frontend to access it.\n * @public\n */\nexport type IModelConnectionProps = IModelProps & IModelRpcProps;\n\n/** The properties that can be supplied when creating a *new* iModel.\n * @public\n */\nexport interface CreateIModelProps extends IModelProps {\n /** The GUID of new iModel. If not present, a GUID will be generated. */\n readonly guid?: GuidString;\n /** Client name for new iModel */\n readonly client?: string;\n /** Thumbnail for new iModel\n * @alpha\n */\n readonly thumbnail?: ThumbnailProps;\n}\n\n/**\n * Encryption-related properties that can be supplied when creating or opening snapshot iModels.\n * @public\n * @deprecated in 3.x. **NOTE**, encrypted iModels are no longer supported since they require licensed code.\n */\nexport interface IModelEncryptionProps {\n /** The password used to encrypt/decrypt the snapshot iModel. */\n readonly password?: string;\n}\n\n/**\n * A key used to identify an opened [IModelDb]($backend) between the frontend and backend for Rpc and Ipc communications.\n * Keys must be unique - that is there can never be two IModelDbs opened with the same key at any given time.\n * If no key is supplied in a call to open an IModelDb, one is generated and returned.\n * It is only necessary to supply a key if you have some reason to assign a specific value to identify an IModelDb.\n * If you don't supply the key, you must use the returned value for Rpc and Ipc communications.\n * @public\n */\nexport interface OpenDbKey {\n readonly key?: string;\n}\n\n/** @beta TODO documentation */\nexport interface CloudContainerUri {\n readonly uriParams: string;\n}\n\n/** Options to open a [SnapshotDb]($backend).\n * @public\n */\nexport interface SnapshotOpenOptions extends IModelEncryptionProps, OpenDbKey { // eslint-disable-line deprecation/deprecation\n /**\n * The \"base\" name that can be used for creating temporary files related to this Db.\n * The string should be a name related to the current Db filename using some known pattern so that all files named \"baseName*\" can be deleted externally during cleanup.\n * It must be the name of a file (that may or may not exist) in a writable directory.\n * If not present, the baseName will default to the database's file name (including the path).\n * @internal\n */\n readonly tempFileBase?: string;\n}\n\n/** Options to open a [StandaloneDb]($backend) via [StandaloneDb.openFile]($backend) from the backend,\n * or [BriefcaseConnection.openStandalone]($frontend) from the frontend.\n * @public\n */\nexport type StandaloneOpenOptions = OpenDbKey;\n\n/** Options that can be supplied when creating snapshot iModels.\n * @public\n */\n// eslint-disable-next-line deprecation/deprecation\nexport interface CreateSnapshotIModelProps extends IModelEncryptionProps {\n /** If true, then create SQLite views for Model, Element, ElementAspect, and Relationship classes.\n * These database views can often be useful for interoperability workflows.\n */\n readonly createClassViews?: boolean;\n}\n\n/** The options that can be specified when creating an *empty* snapshot iModel.\n * @see [SnapshotDb.createEmpty]($backend)\n * @public\n */\nexport type CreateEmptySnapshotIModelProps = CreateIModelProps & CreateSnapshotIModelProps;\n\n/** Options that can be supplied when creating standalone iModels.\n * @internal\n */\n// eslint-disable-next-line deprecation/deprecation\nexport interface CreateStandaloneIModelProps extends IModelEncryptionProps {\n /** If present, file will allow local editing, but cannot be used to create changesets */\n readonly allowEdit?: string;\n}\n\n/** The options that can be specified when creating an *empty* standalone iModel.\n * @see [standalone.createEmpty]($backend)\n * @internal\n */\nexport type CreateEmptyStandaloneIModelProps = CreateIModelProps & CreateStandaloneIModelProps;\n\n/**\n * @public\n * @extensions\n */\nexport interface FilePropertyProps {\n readonly namespace: string;\n readonly name: string;\n id?: number | string;\n subId?: number | string;\n}\n\n/** The position and orientation of an iModel on the earth in [ECEF](https://en.wikipedia.org/wiki/ECEF) (Earth Centered Earth Fixed) coordinates\n * @note This is an immutable type - all of its properties are frozen.\n * @see [GeoLocation of iModels]($docs/learning/GeoLocation.md)\n * @public\n */\nexport class EcefLocation implements EcefLocationProps {\n /** The origin of the ECEF transform. */\n public readonly origin: Point3d;\n /** The orientation of the ECEF transform */\n public readonly orientation: YawPitchRollAngles;\n /** Optional position on the earth used to establish the ECEF origin and orientation. */\n public readonly cartographicOrigin?: Cartographic;\n /** Optional X column vector used with [[yVector]] to calculate potentially non-rigid transform if a projection is present. */\n public readonly xVector?: Vector3d;\n /** Optional Y column vector used with [[xVector]] to calculate potentially non-rigid transform if a projection is present. */\n public readonly yVector?: Vector3d;\n\n private readonly _transform: Transform;\n\n /** Get the transform from iModel Spatial coordinates to ECEF from this EcefLocation */\n public getTransform(): Transform { return this._transform; }\n\n /** Construct a new EcefLocation. Once constructed, it is frozen and cannot be modified. */\n constructor(props: EcefLocationProps) {\n this.origin = Point3d.fromJSON(props.origin).freeze();\n this.orientation = YawPitchRollAngles.fromJSON(props.orientation).freeze();\n if (props.cartographicOrigin)\n this.cartographicOrigin = Cartographic.fromRadians({ longitude: props.cartographicOrigin.longitude, latitude: props.cartographicOrigin.latitude, height: props.cartographicOrigin.height }).freeze();\n if (props.xVector && props.yVector) {\n this.xVector = Vector3d.fromJSON(props.xVector).freeze();\n this.yVector = Vector3d.fromJSON(props.yVector).freeze();\n }\n let matrix;\n if (this.xVector && this.yVector) {\n const zVector = this.xVector.crossProduct(this.yVector);\n if (zVector.normalizeInPlace())\n matrix = Matrix3d.createColumns(this.xVector, this.yVector, zVector);\n }\n if (!matrix)\n matrix = this.orientation.toMatrix3d();\n\n this._transform = Transform.createOriginAndMatrix(this.origin, matrix);\n this._transform.freeze();\n }\n\n /** Returns true if this EcefLocation is not located at the center of the Earth.\n * @alpha are locations very close to the center considered valid? What are the specific criteria?\n */\n public get isValid(): boolean {\n return !this.origin.isZero;\n }\n\n /** Construct ECEF Location from cartographic origin with optional known point and angle. */\n public static createFromCartographicOrigin(origin: Cartographic, point?: Point3d, angle?: Angle) {\n const ecefOrigin = origin.toEcef();\n const deltaRadians = 10 / Constant.earthRadiusWGS84.polar;\n const northCarto = Cartographic.fromRadians({ longitude: origin.longitude, latitude: origin.latitude + deltaRadians, height: origin.height });\n const eastCarto = Cartographic.fromRadians({ longitude: origin.longitude + deltaRadians, latitude: origin.latitude, height: origin.height });\n const ecefNorth = northCarto.toEcef();\n const ecefEast = eastCarto.toEcef();\n const xVector = Vector3d.createStartEnd(ecefOrigin, ecefEast).normalize();\n const yVector = Vector3d.createStartEnd(ecefOrigin, ecefNorth).normalize();\n const matrix = Matrix3d.createRigidFromColumns(xVector!, yVector!, AxisOrder.XYZ)!;\n if (angle !== undefined) {\n const north = Matrix3d.createRotationAroundAxisIndex(AxisIndex.Z, angle);\n matrix.multiplyMatrixMatrix(north, matrix);\n }\n if (point !== undefined) {\n const delta = matrix.multiplyVector(Vector3d.create(-point.x, -point.y, -point.z));\n ecefOrigin.addInPlace(delta);\n }\n\n return new EcefLocation({ origin: ecefOrigin, orientation: YawPitchRollAngles.createFromMatrix3d(matrix)!, cartographicOrigin: origin });\n }\n\n /** Get the location center of the earth in the iModel coordinate system. */\n public get earthCenter(): Point3d {\n const matrix = this.orientation.toMatrix3d();\n return Point3d.createFrom(matrix.multiplyTransposeXYZ(-this.origin.x, -this.origin.y, -this.origin.z));\n }\n\n /** Return true if this location is equivalent to another location within a small tolerance. */\n public isAlmostEqual(other: EcefLocation): boolean {\n if (!this.origin.isAlmostEqual(other.origin) || !this.orientation.isAlmostEqual(other.orientation))\n return false;\n\n if ((this.xVector === undefined) !== (other.xVector === undefined) || (this.yVector === undefined) !== (other.yVector === undefined))\n return false;\n\n if (this.xVector !== undefined && other.xVector !== undefined && !this.xVector.isAlmostEqual(other.xVector))\n return false;\n\n if (this.yVector !== undefined && other.yVector !== undefined && !this.yVector.isAlmostEqual(other.yVector))\n return false;\n\n const thisCarto = this.cartographicOrigin;\n const otherCarto = other.cartographicOrigin;\n if (undefined === thisCarto || undefined === otherCarto)\n return undefined === thisCarto && undefined === otherCarto;\n\n return thisCarto.equalsEpsilon(otherCarto, Geometry.smallMetricDistance);\n }\n\n public toJSON(): EcefLocationProps {\n const props: Mutable<EcefLocationProps> = {\n origin: this.origin.toJSON(),\n orientation: this.orientation.toJSON(),\n };\n\n if (this.cartographicOrigin)\n props.cartographicOrigin = this.cartographicOrigin.toJSON();\n\n if (this.xVector)\n props.xVector = this.xVector.toJSON();\n\n if (this.yVector)\n props.yVector = this.yVector.toJSON();\n\n return props;\n }\n}\n\n/** Represents an iModel in JavaScript.\n * @see [GeoLocation of iModels]($docs/learning/GeoLocation.md)\n * @public\n */\nexport abstract class IModel implements IModelProps {\n private _projectExtents?: AxisAlignedBox3d;\n private _name?: string;\n private _rootSubject?: RootSubjectProps;\n private _globalOrigin?: Point3d;\n private _ecefLocation?: EcefLocation;\n private _geographicCoordinateSystem?: GeographicCRS;\n private _iModelId?: GuidString;\n\n /** The Id of the repository model. */\n public static readonly repositoryModelId: Id64String = \"0x1\";\n /** The Id of the root subject element. */\n public static readonly rootSubjectId: Id64String = \"0x1\";\n /** The Id of the dictionary model. */\n public static readonly dictionaryId: Id64String = \"0x10\";\n\n /** Event raised after [[name]] changes. */\n public readonly onNameChanged = new BeEvent<(previousName: string) => void>();\n /** Event raised after [[rootSubject]] changes. */\n public readonly onRootSubjectChanged = new BeEvent<(previousSubject: RootSubjectProps) => void>();\n /** Event raised after [[projectExtents]] changes. */\n public readonly onProjectExtentsChanged = new BeEvent<(previousExtents: AxisAlignedBox3d) => void>();\n /** Event raised after [[globalOrigin]] changes. */\n public readonly onGlobalOriginChanged = new BeEvent<(previousOrigin: Point3d) => void>();\n /** Event raised after [[ecefLocation]] changes. */\n public readonly onEcefLocationChanged = new BeEvent<(previousLocation: EcefLocation | undefined) => void>();\n /** Event raised after [[geographicCoordinateSystem]] changes. */\n public readonly onGeographicCoordinateSystemChanged = new BeEvent<(previousGCS: GeographicCRS | undefined) => void>();\n\n /** Name of the iModel */\n public get name(): string {\n assert(this._name !== undefined);\n return this._name;\n }\n public set name(name: string) {\n if (name !== this._name) {\n const old = this._name;\n this._name = name;\n if (undefined !== old)\n this.onNameChanged.raiseEvent(old);\n }\n }\n\n /** The name and description of the root subject of this iModel */\n public get rootSubject(): RootSubjectProps {\n assert(this._rootSubject !== undefined);\n return this._rootSubject;\n }\n public set rootSubject(subject: RootSubjectProps) {\n if (undefined === this._rootSubject || this._rootSubject.name !== subject.name || this._rootSubject.description !== subject.description) {\n const old = this._rootSubject;\n this._rootSubject = subject;\n if (old)\n this.onRootSubjectChanged.raiseEvent(old);\n }\n }\n\n /** Returns `true` if this is a snapshot iModel. */\n public abstract get isSnapshot(): boolean;\n /** Returns `true` if this is a briefcase copy of an iModel that is synchronized with iModelHub. */\n public abstract get isBriefcase(): boolean;\n\n public abstract get isOpen(): boolean;\n\n /**\n * The volume, in spatial coordinates, inside which the entire project is contained.\n * @note The object returned from this method is frozen. You *must* make a copy before you do anything that might attempt to modify it.\n */\n public get projectExtents() {\n assert(undefined !== this._projectExtents);\n return this._projectExtents;\n }\n public set projectExtents(extents: AxisAlignedBox3d) {\n // Don't allow any axis of the project extents to be less than 1 meter.\n const projectExtents = extents.clone();\n projectExtents.ensureMinLengths(1.0);\n if (!this._projectExtents || !this._projectExtents.isAlmostEqual(projectExtents)) {\n const old = this._projectExtents;\n projectExtents.freeze();\n this._projectExtents = projectExtents;\n if (old)\n this.onProjectExtentsChanged.raiseEvent(old);\n }\n }\n\n /** An offset to be applied to all spatial coordinates. */\n public get globalOrigin(): Point3d {\n assert(this._globalOrigin !== undefined);\n return this._globalOrigin;\n }\n public set globalOrigin(org: Point3d) {\n if (!this._globalOrigin || !this._globalOrigin.isAlmostEqual(org)) {\n const old = this._globalOrigin;\n org.freeze();\n this._globalOrigin = org;\n if (old)\n this.onGlobalOriginChanged.raiseEvent(old);\n }\n }\n\n /** The [EcefLocation]($docs/learning/glossary#ecefLocation) of the iModel in Earth Centered Earth Fixed coordinates.\n * If the iModel property geographicCoordinateSystem is not defined then the ecefLocation provides a geolocation by defining a\n * 3D coordinate system relative to the Earth model WGS84. Refer to additional documentation for details. If the geographicCoordinateSystem\n * property is defined then the ecefLocation must be used with care. When the geographicCoordinateSystem is defined it indicates the\n * iModel cartesian space is the result of a cartographic projection. This implies a flattening of the Earth surface process that\n * results in scale, angular or area distortion. The ecefLocation is then an approximation calculated at the center of the project extent.\n * If the project is more than 2 kilometer in size, the ecefLocation may represent a poor approximation of the effective\n * cartographic projection used and a linear transformation should then be calculated at the exact origin of the data\n * it must position.\n * @see [GeoLocation of iModels]($docs/learning/GeoLocation.md)\n */\n public get ecefLocation(): EcefLocation | undefined {\n return this._ecefLocation;\n }\n public set ecefLocation(ecefLocation: EcefLocation | undefined) {\n const old = this._ecefLocation;\n if (!old && !ecefLocation)\n return;\n else if (old && ecefLocation && old.isAlmostEqual(ecefLocation))\n return;\n\n this._ecefLocation = ecefLocation;\n this.onEcefLocationChanged.raiseEvent(old);\n }\n\n /** Set the [EcefLocation]($docs/learning/glossary#ecefLocation) for this iModel. */\n public setEcefLocation(ecef: EcefLocationProps): void {\n this.ecefLocation = new EcefLocation(ecef);\n }\n\n /** The geographic coordinate reference system of the iModel. */\n public get geographicCoordinateSystem(): GeographicCRS | undefined {\n return this._geographicCoordinateSystem;\n }\n public set geographicCoordinateSystem(geoCRS: GeographicCRS | undefined) {\n const old = this._geographicCoordinateSystem;\n if (!old && !geoCRS)\n return;\n else if (old && geoCRS && old.equals(geoCRS))\n return;\n\n this._geographicCoordinateSystem = geoCRS;\n this.onGeographicCoordinateSystemChanged.raiseEvent(old);\n }\n\n /** Sets the geographic coordinate reference system from GeographicCRSProps. */\n public setGeographicCoordinateSystem(geoCRS: GeographicCRSProps) {\n this.geographicCoordinateSystem = new GeographicCRS(geoCRS);\n }\n\n /** @internal */\n public getConnectionProps(): IModelConnectionProps {\n return {\n name: this.name,\n rootSubject: this.rootSubject,\n projectExtents: this.projectExtents.toJSON(),\n globalOrigin: this.globalOrigin.toJSON(),\n ecefLocation: this.ecefLocation,\n geographicCoordinateSystem: this.geographicCoordinateSystem,\n ... this._getRpcProps(),\n };\n }\n\n /** @internal */\n public toJSON(): IModelConnectionProps {\n return this.getConnectionProps();\n }\n\n /** A key used to identify this iModel in RPC calls from frontend to backend.\n * @internal\n */\n protected _fileKey: string;\n /** Get the key that was used to open this iModel. This is the value used for Rpc and Ipc communications. */\n public get key(): string { return this._fileKey; }\n\n /** @internal */\n protected _iTwinId?: GuidString;\n /** The Guid that identifies the iTwin that owns this iModel. */\n public get iTwinId(): GuidString | undefined { return this._iTwinId; }\n\n /** The Guid that identifies this iModel. */\n public get iModelId(): GuidString | undefined { return this._iModelId; }\n\n /** @public */\n public changeset: ChangesetIdWithIndex;\n\n protected _openMode = OpenMode.Readonly;\n /** The [[OpenMode]] used for this IModel. */\n public get openMode(): OpenMode { return this._openMode; }\n\n /** Return a token for RPC operations.\n * @throws IModelError if the iModel is not open.\n */\n public getRpcProps(): IModelRpcProps {\n if (!this.isOpen)\n throw new IModelError(IModelStatus.BadRequest, \"IModel is not open for rpc\");\n\n return this._getRpcProps();\n }\n\n /** Returns the iModel's RPC properties.\n * @note It is an error to attempt to use these properties as a token for RPC operations if the iModel is not open.\n * @internal\n */\n protected _getRpcProps(): IModelRpcProps {\n return {\n key: this._fileKey,\n iTwinId: this.iTwinId,\n iModelId: this.iModelId,\n changeset: this.changeset,\n };\n }\n\n /** @internal */\n protected constructor(tokenProps?: IModelRpcProps) {\n this.changeset = { id: \"\", index: 0 };\n this._fileKey = \"\";\n if (tokenProps) {\n this._fileKey = tokenProps.key;\n this._iTwinId = tokenProps.iTwinId;\n this._iModelId = tokenProps.iModelId;\n if (tokenProps.changeset)\n this.changeset = tokenProps.changeset;\n }\n }\n\n /** @internal */\n protected initialize(name: string, props: IModelProps) {\n this.name = name;\n this.rootSubject = props.rootSubject;\n this.projectExtents = Range3d.fromJSON(props.projectExtents);\n this.globalOrigin = Point3d.fromJSON(props.globalOrigin);\n\n const ecefLocation = props.ecefLocation ? new EcefLocation(props.ecefLocation) : undefined;\n this.ecefLocation = ecefLocation?.isValid ? ecefLocation : undefined;\n\n this.geographicCoordinateSystem = props.geographicCoordinateSystem ? new GeographicCRS(props.geographicCoordinateSystem) : undefined;\n }\n\n /** Get the default subCategoryId for the supplied categoryId */\n public static getDefaultSubCategoryId(categoryId: Id64String): Id64String {\n return Id64.isValid(categoryId) ? Id64.fromLocalAndBriefcaseIds(Id64.getLocalId(categoryId) + 1, Id64.getBriefcaseId(categoryId)) : Id64.invalid;\n }\n\n /** True if this iModel has an [EcefLocation]($docs/learning/glossary#ecefLocation). */\n public get isGeoLocated() { return undefined !== this._ecefLocation; }\n\n /** Get the Transform from this iModel's Spatial coordinates to ECEF coordinates using its [[IModel.ecefLocation]].\n * @throws IModelError if [[isGeoLocated]] is false.\n */\n public getEcefTransform(): Transform {\n if (undefined === this._ecefLocation)\n throw new IModelError(GeoServiceStatus.NoGeoLocation, \"iModel is not GeoLocated\");\n return this._ecefLocation.getTransform();\n }\n\n /** Convert a point in this iModel's Spatial coordinates to an ECEF point using its [[IModel.ecefLocation]].\n * @param spatial A point in the iModel's spatial coordinates\n * @param result If defined, use this for output\n * @returns A Point3d in ECEF coordinates\n * @throws IModelError if [[isGeoLocated]] is false.\n */\n public spatialToEcef(spatial: XYAndZ, result?: Point3d): Point3d { return this.getEcefTransform().multiplyPoint3d(spatial, result)!; }\n\n /** Convert a point in ECEF coordinates to a point in this iModel's Spatial coordinates using its [[ecefLocation]].\n * @param ecef A point in ECEF coordinates\n * @param result If defined, use this for output\n * @returns A Point3d in this iModel's spatial coordinates\n * @throws IModelError if [[isGeoLocated]] is false.\n * @note The resultant point will only be meaningful if the ECEF coordinate is close on the earth to the iModel.\n */\n public ecefToSpatial(ecef: XYAndZ, result?: Point3d): Point3d { return this.getEcefTransform().multiplyInversePoint3d(ecef, result)!; }\n\n /** Convert a point in this iModel's Spatial coordinates to a [[Cartographic]] using its [[IModel.ecefLocation]].\n * @param spatial A point in the iModel's spatial coordinates\n * @param result If defined, use this for output\n * @returns A Cartographic location\n * @throws IModelError if [[isGeoLocated]] is false.\n */\n public spatialToCartographicFromEcef(spatial: XYAndZ, result?: Cartographic): Cartographic { return Cartographic.fromEcef(this.spatialToEcef(spatial), result)!; }\n\n /** Convert a [[Cartographic]] to a point in this iModel's Spatial coordinates using its [[IModel.ecefLocation]].\n * @param cartographic A cartographic location\n * @param result If defined, use this for output\n * @returns A point in this iModel's spatial coordinates\n * @throws IModelError if [[isGeoLocated]] is false.\n * @note The resultant point will only be meaningful if the ECEF coordinate is close on the earth to the iModel.\n */\n public cartographicToSpatialFromEcef(cartographic: Cartographic, result?: Point3d) { return this.ecefToSpatial(cartographic.toEcef(result), result); }\n}\n"]}
@@ -1,43 +1,43 @@
1
- /** @packageDocumentation
2
- * @module iModels
3
- */
4
- import { BentleyError, BentleyStatus, BriefcaseStatus, ChangeSetStatus, DbResult, GetMetaDataFunction, IModelStatus } from "@itwin/core-bentley";
5
- export { BentleyStatus, BentleyError, IModelStatus, BriefcaseStatus, GetMetaDataFunction, LogFunction, DbResult, ChangeSetStatus, } from "@itwin/core-bentley";
6
- /** Numeric values for common errors produced by iTwin.js APIs, typically provided by [[IModelError]].
7
- * The values within each of these `enum`s are guaranteed not to conflict with one another.
8
- * @public
9
- */
10
- export declare type IModelErrorNumber = IModelStatus | DbResult | BentleyStatus | BriefcaseStatus | ChangeSetStatus;
11
- /** The error type thrown by this module.
12
- * @see [[IModelErrorNumber]] for commonly-used error codes.
13
- * @public
14
- */
15
- export declare class IModelError extends BentleyError {
16
- constructor(errorNumber: IModelErrorNumber | number, message: string, getMetaData?: GetMetaDataFunction);
17
- }
18
- /** @public */
19
- export declare class ServerError extends IModelError {
20
- constructor(errorNumber: number, message: string);
21
- }
22
- /** @public */
23
- export declare class ServerTimeoutError extends ServerError {
24
- constructor(message: string);
25
- }
26
- /** @public */
27
- export declare class BackendError extends IModelError {
28
- constructor(errorNumber: number, name: string, message: string, getMetaData?: GetMetaDataFunction);
29
- }
30
- /**
31
- * Channel constraint error
32
- * @alpha
33
- */
34
- export declare class ChannelConstraintError extends IModelError {
35
- constructor(message: string, getMetaData?: GetMetaDataFunction);
36
- }
37
- /** Intended for API "no content" semantics where the error case should not trigger application failure monitoring systems.
38
- * @public
39
- */
40
- export declare class NoContentError extends IModelError {
41
- constructor();
42
- }
1
+ /** @packageDocumentation
2
+ * @module iModels
3
+ */
4
+ import { BentleyError, BentleyStatus, BriefcaseStatus, ChangeSetStatus, DbResult, GetMetaDataFunction, IModelStatus } from "@itwin/core-bentley";
5
+ export { BentleyStatus, BentleyError, IModelStatus, BriefcaseStatus, GetMetaDataFunction, LogFunction, DbResult, ChangeSetStatus, } from "@itwin/core-bentley";
6
+ /** Numeric values for common errors produced by iTwin.js APIs, typically provided by [[IModelError]].
7
+ * The values within each of these `enum`s are guaranteed not to conflict with one another.
8
+ * @public
9
+ */
10
+ export type IModelErrorNumber = IModelStatus | DbResult | BentleyStatus | BriefcaseStatus | ChangeSetStatus;
11
+ /** The error type thrown by this module.
12
+ * @see [[IModelErrorNumber]] for commonly-used error codes.
13
+ * @public
14
+ */
15
+ export declare class IModelError extends BentleyError {
16
+ constructor(errorNumber: IModelErrorNumber | number, message: string, getMetaData?: GetMetaDataFunction);
17
+ }
18
+ /** @public */
19
+ export declare class ServerError extends IModelError {
20
+ constructor(errorNumber: number, message: string);
21
+ }
22
+ /** @public */
23
+ export declare class ServerTimeoutError extends ServerError {
24
+ constructor(message: string);
25
+ }
26
+ /** @public */
27
+ export declare class BackendError extends IModelError {
28
+ constructor(errorNumber: number, name: string, message: string, getMetaData?: GetMetaDataFunction);
29
+ }
30
+ /**
31
+ * Channel constraint error
32
+ * @alpha
33
+ */
34
+ export declare class ChannelConstraintError extends IModelError {
35
+ constructor(message: string, getMetaData?: GetMetaDataFunction);
36
+ }
37
+ /** Intended for API "no content" semantics where the error case should not trigger application failure monitoring systems.
38
+ * @public
39
+ */
40
+ export declare class NoContentError extends IModelError {
41
+ constructor();
42
+ }
43
43
  //# sourceMappingURL=IModelError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IModelError.d.ts","sourceRoot":"","sources":["../../src/IModelError.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EACL,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,QAAQ,EAAE,mBAAmB,EAAE,YAAY,EAC3G,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,WAAW,EAAE,QAAQ,EAAE,eAAe,GACxH,MAAM,qBAAqB,CAAC;AAE7B;;;GAGG;AACH,oBAAY,iBAAiB,GAAG,YAAY,GAAG,QAAQ,GAAG,aAAa,GAAG,eAAe,GAAG,eAAe,CAAC;AAE5G;;;GAGG;AACH,qBAAa,WAAY,SAAQ,YAAY;gBACxB,WAAW,EAAE,iBAAiB,GAAG,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,mBAAmB;CAG/G;AAED,cAAc;AACd,qBAAa,WAAY,SAAQ,WAAW;gBACvB,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;CAIxD;AAED,cAAc;AACd,qBAAa,kBAAmB,SAAQ,WAAW;gBAC9B,OAAO,EAAE,MAAM;CAInC;AAED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AAC,EAAE,mBAAmB;CAIzG;AAED;;;GAGG;AACH,qBAAa,sBAAuB,SAAQ,WAAW;gBAClC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,mBAAmB;CAGtE;AAED;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;;CAI9C"}
@@ -1,72 +1,72 @@
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 iModels
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.NoContentError = exports.ChannelConstraintError = exports.BackendError = exports.ServerTimeoutError = exports.ServerError = exports.IModelError = exports.ChangeSetStatus = exports.DbResult = exports.BriefcaseStatus = exports.IModelStatus = exports.BentleyError = exports.BentleyStatus = void 0;
11
- const core_bentley_1 = require("@itwin/core-bentley");
12
- var core_bentley_2 = require("@itwin/core-bentley");
13
- Object.defineProperty(exports, "BentleyStatus", { enumerable: true, get: function () { return core_bentley_2.BentleyStatus; } });
14
- Object.defineProperty(exports, "BentleyError", { enumerable: true, get: function () { return core_bentley_2.BentleyError; } });
15
- Object.defineProperty(exports, "IModelStatus", { enumerable: true, get: function () { return core_bentley_2.IModelStatus; } });
16
- Object.defineProperty(exports, "BriefcaseStatus", { enumerable: true, get: function () { return core_bentley_2.BriefcaseStatus; } });
17
- Object.defineProperty(exports, "DbResult", { enumerable: true, get: function () { return core_bentley_2.DbResult; } });
18
- Object.defineProperty(exports, "ChangeSetStatus", { enumerable: true, get: function () { return core_bentley_2.ChangeSetStatus; } });
19
- /** The error type thrown by this module.
20
- * @see [[IModelErrorNumber]] for commonly-used error codes.
21
- * @public
22
- */
23
- class IModelError extends core_bentley_1.BentleyError {
24
- constructor(errorNumber, message, getMetaData) {
25
- super(errorNumber, message, getMetaData);
26
- }
27
- }
28
- exports.IModelError = IModelError;
29
- /** @public */
30
- class ServerError extends IModelError {
31
- constructor(errorNumber, message) {
32
- super(errorNumber, message);
33
- this.name = `Server error (${errorNumber})`;
34
- }
35
- }
36
- exports.ServerError = ServerError;
37
- /** @public */
38
- class ServerTimeoutError extends ServerError {
39
- constructor(message) {
40
- super(core_bentley_1.IModelStatus.ServerTimeout, message);
41
- this.name = "Server timeout error";
42
- }
43
- }
44
- exports.ServerTimeoutError = ServerTimeoutError;
45
- /** @public */
46
- class BackendError extends IModelError {
47
- constructor(errorNumber, name, message, getMetaData) {
48
- super(errorNumber, message, getMetaData);
49
- this.name = name;
50
- }
51
- }
52
- exports.BackendError = BackendError;
53
- /**
54
- * Channel constraint error
55
- * @alpha
56
- */
57
- class ChannelConstraintError extends IModelError {
58
- constructor(message, getMetaData) {
59
- super(core_bentley_1.RepositoryStatus.ChannelConstraintViolation, message, getMetaData);
60
- }
61
- }
62
- exports.ChannelConstraintError = ChannelConstraintError;
63
- /** Intended for API "no content" semantics where the error case should not trigger application failure monitoring systems.
64
- * @public
65
- */
66
- class NoContentError extends IModelError {
67
- constructor() {
68
- super(core_bentley_1.IModelStatus.NoContent, "No Content");
69
- }
70
- }
71
- exports.NoContentError = NoContentError;
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 iModels
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.NoContentError = exports.ChannelConstraintError = exports.BackendError = exports.ServerTimeoutError = exports.ServerError = exports.IModelError = exports.ChangeSetStatus = exports.DbResult = exports.BriefcaseStatus = exports.IModelStatus = exports.BentleyError = exports.BentleyStatus = void 0;
11
+ const core_bentley_1 = require("@itwin/core-bentley");
12
+ var core_bentley_2 = require("@itwin/core-bentley");
13
+ Object.defineProperty(exports, "BentleyStatus", { enumerable: true, get: function () { return core_bentley_2.BentleyStatus; } });
14
+ Object.defineProperty(exports, "BentleyError", { enumerable: true, get: function () { return core_bentley_2.BentleyError; } });
15
+ Object.defineProperty(exports, "IModelStatus", { enumerable: true, get: function () { return core_bentley_2.IModelStatus; } });
16
+ Object.defineProperty(exports, "BriefcaseStatus", { enumerable: true, get: function () { return core_bentley_2.BriefcaseStatus; } });
17
+ Object.defineProperty(exports, "DbResult", { enumerable: true, get: function () { return core_bentley_2.DbResult; } });
18
+ Object.defineProperty(exports, "ChangeSetStatus", { enumerable: true, get: function () { return core_bentley_2.ChangeSetStatus; } });
19
+ /** The error type thrown by this module.
20
+ * @see [[IModelErrorNumber]] for commonly-used error codes.
21
+ * @public
22
+ */
23
+ class IModelError extends core_bentley_1.BentleyError {
24
+ constructor(errorNumber, message, getMetaData) {
25
+ super(errorNumber, message, getMetaData);
26
+ }
27
+ }
28
+ exports.IModelError = IModelError;
29
+ /** @public */
30
+ class ServerError extends IModelError {
31
+ constructor(errorNumber, message) {
32
+ super(errorNumber, message);
33
+ this.name = `Server error (${errorNumber})`;
34
+ }
35
+ }
36
+ exports.ServerError = ServerError;
37
+ /** @public */
38
+ class ServerTimeoutError extends ServerError {
39
+ constructor(message) {
40
+ super(core_bentley_1.IModelStatus.ServerTimeout, message);
41
+ this.name = "Server timeout error";
42
+ }
43
+ }
44
+ exports.ServerTimeoutError = ServerTimeoutError;
45
+ /** @public */
46
+ class BackendError extends IModelError {
47
+ constructor(errorNumber, name, message, getMetaData) {
48
+ super(errorNumber, message, getMetaData);
49
+ this.name = name;
50
+ }
51
+ }
52
+ exports.BackendError = BackendError;
53
+ /**
54
+ * Channel constraint error
55
+ * @alpha
56
+ */
57
+ class ChannelConstraintError extends IModelError {
58
+ constructor(message, getMetaData) {
59
+ super(core_bentley_1.RepositoryStatus.ChannelConstraintViolation, message, getMetaData);
60
+ }
61
+ }
62
+ exports.ChannelConstraintError = ChannelConstraintError;
63
+ /** Intended for API "no content" semantics where the error case should not trigger application failure monitoring systems.
64
+ * @public
65
+ */
66
+ class NoContentError extends IModelError {
67
+ constructor() {
68
+ super(core_bentley_1.IModelStatus.NoContent, "No Content");
69
+ }
70
+ }
71
+ exports.NoContentError = NoContentError;
72
72
  //# sourceMappingURL=IModelError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IModelError.js","sourceRoot":"","sources":["../../src/IModelError.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAE6B;AAE7B,oDAE6B;AAD3B,6GAAA,aAAa,OAAA;AAAE,4GAAA,YAAY,OAAA;AAAE,4GAAA,YAAY,OAAA;AAAE,+GAAA,eAAe,OAAA;AAAoC,wGAAA,QAAQ,OAAA;AAAE,+GAAA,eAAe,OAAA;AASzH;;;GAGG;AACH,MAAa,WAAY,SAAQ,2BAAY;IAC3C,YAAmB,WAAuC,EAAE,OAAe,EAAE,WAAiC;QAC5G,KAAK,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;IAC3C,CAAC;CACF;AAJD,kCAIC;AAED,cAAc;AACd,MAAa,WAAY,SAAQ,WAAW;IAC1C,YAAmB,WAAmB,EAAE,OAAe;QACrD,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QAC5B,IAAI,CAAC,IAAI,GAAG,iBAAiB,WAAW,GAAG,CAAC;IAC9C,CAAC;CACF;AALD,kCAKC;AAED,cAAc;AACd,MAAa,kBAAmB,SAAQ,WAAW;IACjD,YAAmB,OAAe;QAChC,KAAK,CAAC,2BAAY,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;QAC3C,IAAI,CAAC,IAAI,GAAG,sBAAsB,CAAC;IACrC,CAAC;CACF;AALD,gDAKC;AAED,cAAc;AACd,MAAa,YAAa,SAAQ,WAAW;IAC3C,YAAmB,WAAmB,EAAE,IAAY,EAAE,OAAe,EAAE,WAAiC;QACtG,KAAK,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF;AALD,oCAKC;AAED;;;GAGG;AACH,MAAa,sBAAuB,SAAQ,WAAW;IACrD,YAAmB,OAAe,EAAE,WAAiC;QACnE,KAAK,CAAC,+BAAgB,CAAC,0BAA0B,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;IAC3E,CAAC;CACF;AAJD,wDAIC;AAED;;GAEG;AACH,MAAa,cAAe,SAAQ,WAAW;IAC7C;QACE,KAAK,CAAC,2BAAY,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;IAC9C,CAAC;CACF;AAJD,wCAIC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module iModels\r\n */\r\n\r\nimport {\r\n BentleyError, BentleyStatus, BriefcaseStatus, ChangeSetStatus, DbResult, GetMetaDataFunction, IModelStatus, RepositoryStatus,\r\n} from \"@itwin/core-bentley\";\r\n\r\nexport {\r\n BentleyStatus, BentleyError, IModelStatus, BriefcaseStatus, GetMetaDataFunction, LogFunction, DbResult, ChangeSetStatus,\r\n} from \"@itwin/core-bentley\";\r\n\r\n/** Numeric values for common errors produced by iTwin.js APIs, typically provided by [[IModelError]].\r\n * The values within each of these `enum`s are guaranteed not to conflict with one another.\r\n * @public\r\n */\r\nexport type IModelErrorNumber = IModelStatus | DbResult | BentleyStatus | BriefcaseStatus | ChangeSetStatus;\r\n\r\n/** The error type thrown by this module.\r\n * @see [[IModelErrorNumber]] for commonly-used error codes.\r\n * @public\r\n */\r\nexport class IModelError extends BentleyError {\r\n public constructor(errorNumber: IModelErrorNumber | number, message: string, getMetaData?: GetMetaDataFunction) {\r\n super(errorNumber, message, getMetaData);\r\n }\r\n}\r\n\r\n/** @public */\r\nexport class ServerError extends IModelError {\r\n public constructor(errorNumber: number, message: string) {\r\n super(errorNumber, message);\r\n this.name = `Server error (${errorNumber})`;\r\n }\r\n}\r\n\r\n/** @public */\r\nexport class ServerTimeoutError extends ServerError {\r\n public constructor(message: string) {\r\n super(IModelStatus.ServerTimeout, message);\r\n this.name = \"Server timeout error\";\r\n }\r\n}\r\n\r\n/** @public */\r\nexport class BackendError extends IModelError {\r\n public constructor(errorNumber: number, name: string, message: string, getMetaData?: GetMetaDataFunction) {\r\n super(errorNumber, message, getMetaData);\r\n this.name = name;\r\n }\r\n}\r\n\r\n/**\r\n * Channel constraint error\r\n * @alpha\r\n */\r\nexport class ChannelConstraintError extends IModelError {\r\n public constructor(message: string, getMetaData?: GetMetaDataFunction) {\r\n super(RepositoryStatus.ChannelConstraintViolation, message, getMetaData);\r\n }\r\n}\r\n\r\n/** Intended for API \"no content\" semantics where the error case should not trigger application failure monitoring systems.\r\n * @public\r\n */\r\nexport class NoContentError extends IModelError {\r\n public constructor() {\r\n super(IModelStatus.NoContent, \"No Content\");\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"IModelError.js","sourceRoot":"","sources":["../../src/IModelError.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAE6B;AAE7B,oDAE6B;AAD3B,6GAAA,aAAa,OAAA;AAAE,4GAAA,YAAY,OAAA;AAAE,4GAAA,YAAY,OAAA;AAAE,+GAAA,eAAe,OAAA;AAAoC,wGAAA,QAAQ,OAAA;AAAE,+GAAA,eAAe,OAAA;AASzH;;;GAGG;AACH,MAAa,WAAY,SAAQ,2BAAY;IAC3C,YAAmB,WAAuC,EAAE,OAAe,EAAE,WAAiC;QAC5G,KAAK,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;IAC3C,CAAC;CACF;AAJD,kCAIC;AAED,cAAc;AACd,MAAa,WAAY,SAAQ,WAAW;IAC1C,YAAmB,WAAmB,EAAE,OAAe;QACrD,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QAC5B,IAAI,CAAC,IAAI,GAAG,iBAAiB,WAAW,GAAG,CAAC;IAC9C,CAAC;CACF;AALD,kCAKC;AAED,cAAc;AACd,MAAa,kBAAmB,SAAQ,WAAW;IACjD,YAAmB,OAAe;QAChC,KAAK,CAAC,2BAAY,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;QAC3C,IAAI,CAAC,IAAI,GAAG,sBAAsB,CAAC;IACrC,CAAC;CACF;AALD,gDAKC;AAED,cAAc;AACd,MAAa,YAAa,SAAQ,WAAW;IAC3C,YAAmB,WAAmB,EAAE,IAAY,EAAE,OAAe,EAAE,WAAiC;QACtG,KAAK,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF;AALD,oCAKC;AAED;;;GAGG;AACH,MAAa,sBAAuB,SAAQ,WAAW;IACrD,YAAmB,OAAe,EAAE,WAAiC;QACnE,KAAK,CAAC,+BAAgB,CAAC,0BAA0B,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;IAC3E,CAAC;CACF;AAJD,wDAIC;AAED;;GAEG;AACH,MAAa,cAAe,SAAQ,WAAW;IAC7C;QACE,KAAK,CAAC,2BAAY,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;IAC9C,CAAC;CACF;AAJD,wCAIC","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 {\n BentleyError, BentleyStatus, BriefcaseStatus, ChangeSetStatus, DbResult, GetMetaDataFunction, IModelStatus, RepositoryStatus,\n} from \"@itwin/core-bentley\";\n\nexport {\n BentleyStatus, BentleyError, IModelStatus, BriefcaseStatus, GetMetaDataFunction, LogFunction, DbResult, ChangeSetStatus,\n} from \"@itwin/core-bentley\";\n\n/** Numeric values for common errors produced by iTwin.js APIs, typically provided by [[IModelError]].\n * The values within each of these `enum`s are guaranteed not to conflict with one another.\n * @public\n */\nexport type IModelErrorNumber = IModelStatus | DbResult | BentleyStatus | BriefcaseStatus | ChangeSetStatus;\n\n/** The error type thrown by this module.\n * @see [[IModelErrorNumber]] for commonly-used error codes.\n * @public\n */\nexport class IModelError extends BentleyError {\n public constructor(errorNumber: IModelErrorNumber | number, message: string, getMetaData?: GetMetaDataFunction) {\n super(errorNumber, message, getMetaData);\n }\n}\n\n/** @public */\nexport class ServerError extends IModelError {\n public constructor(errorNumber: number, message: string) {\n super(errorNumber, message);\n this.name = `Server error (${errorNumber})`;\n }\n}\n\n/** @public */\nexport class ServerTimeoutError extends ServerError {\n public constructor(message: string) {\n super(IModelStatus.ServerTimeout, message);\n this.name = \"Server timeout error\";\n }\n}\n\n/** @public */\nexport class BackendError extends IModelError {\n public constructor(errorNumber: number, name: string, message: string, getMetaData?: GetMetaDataFunction) {\n super(errorNumber, message, getMetaData);\n this.name = name;\n }\n}\n\n/**\n * Channel constraint error\n * @alpha\n */\nexport class ChannelConstraintError extends IModelError {\n public constructor(message: string, getMetaData?: GetMetaDataFunction) {\n super(RepositoryStatus.ChannelConstraintViolation, message, getMetaData);\n }\n}\n\n/** Intended for API \"no content\" semantics where the error case should not trigger application failure monitoring systems.\n * @public\n */\nexport class NoContentError extends IModelError {\n public constructor() {\n super(IModelStatus.NoContent, \"No Content\");\n }\n}\n"]}
@@ -1,69 +1,69 @@
1
- /** @packageDocumentation
2
- * @module iModels
3
- */
4
- import { ChangesetId } from "./ChangesetProps";
5
- /** Properties for IModelVersion
6
- * @public
7
- */
8
- export declare type IModelVersionProps = {
9
- first: true;
10
- latest?: never;
11
- afterChangeSetId?: never;
12
- versionName?: never;
13
- } | {
14
- latest: true;
15
- first?: never;
16
- afterChangeSetId?: never;
17
- versionName?: never;
18
- } | {
19
- afterChangeSetId: string;
20
- first?: never;
21
- latest?: never;
22
- versionName?: never;
23
- } | {
24
- versionName: string;
25
- first?: never;
26
- latest?: never;
27
- afterChangeSetId?: never;
28
- };
29
- /** Option to specify the version of the iModel to be acquired and used
30
- * @public
31
- */
32
- export declare class IModelVersion {
33
- private _first?;
34
- private _latest?;
35
- private _afterChangeSetId?;
36
- private _versionName?;
37
- private constructor();
38
- /** Describes the first version of the iModel */
39
- static first(): IModelVersion;
40
- /** Describes the latest version of the iModel */
41
- static latest(): IModelVersion;
42
- /** Describes a version of the iModel by the last change set that needs
43
- * to be applied or merged to the iModel.
44
- * Note that all ChangeSets up to and and including the specified ChangeSet
45
- * needs to be applied.
46
- * If the changesetId is an empty string, it is assumed to be the first version
47
- * before any change sets have been applied.
48
- */
49
- static asOfChangeSet(changesetId: string): IModelVersion;
50
- /** Describes a version of the iModel with the specified version name */
51
- static named(versionName: string): IModelVersion;
52
- toJSON(): IModelVersionProps;
53
- /** Creates a version from an IModelVersionProps */
54
- static fromJSON(json: IModelVersionProps): IModelVersion;
55
- /** Returns true if this describes the first version */
56
- get isFirst(): boolean;
57
- /** Returns true if this describes the latest version */
58
- get isLatest(): boolean;
59
- /** Returns the last change set id to be applied to the iModel
60
- * to get to this specified version. @see asOfChangeSet().
61
- * Note that this method does not attempt to resolve the change set
62
- * if this describes the first version, last version, named version, etc.
63
- * @see evaluateChangeSet() for those use cases.
64
- */
65
- getAsOfChangeSet(): ChangesetId | undefined;
66
- /** Returns the name of the version if this describes a named version. @see named() */
67
- getName(): string | undefined;
68
- }
1
+ /** @packageDocumentation
2
+ * @module iModels
3
+ */
4
+ import { ChangesetId } from "./ChangesetProps";
5
+ /** Properties for IModelVersion
6
+ * @public
7
+ */
8
+ export type IModelVersionProps = {
9
+ first: true;
10
+ latest?: never;
11
+ afterChangeSetId?: never;
12
+ versionName?: never;
13
+ } | {
14
+ latest: true;
15
+ first?: never;
16
+ afterChangeSetId?: never;
17
+ versionName?: never;
18
+ } | {
19
+ afterChangeSetId: string;
20
+ first?: never;
21
+ latest?: never;
22
+ versionName?: never;
23
+ } | {
24
+ versionName: string;
25
+ first?: never;
26
+ latest?: never;
27
+ afterChangeSetId?: never;
28
+ };
29
+ /** Option to specify the version of the iModel to be acquired and used
30
+ * @public
31
+ */
32
+ export declare class IModelVersion {
33
+ private _first?;
34
+ private _latest?;
35
+ private _afterChangeSetId?;
36
+ private _versionName?;
37
+ private constructor();
38
+ /** Describes the first version of the iModel */
39
+ static first(): IModelVersion;
40
+ /** Describes the latest version of the iModel */
41
+ static latest(): IModelVersion;
42
+ /** Describes a version of the iModel by the last change set that needs
43
+ * to be applied or merged to the iModel.
44
+ * Note that all ChangeSets up to and and including the specified ChangeSet
45
+ * needs to be applied.
46
+ * If the changesetId is an empty string, it is assumed to be the first version
47
+ * before any change sets have been applied.
48
+ */
49
+ static asOfChangeSet(changesetId: string): IModelVersion;
50
+ /** Describes a version of the iModel with the specified version name */
51
+ static named(versionName: string): IModelVersion;
52
+ toJSON(): IModelVersionProps;
53
+ /** Creates a version from an IModelVersionProps */
54
+ static fromJSON(json: IModelVersionProps): IModelVersion;
55
+ /** Returns true if this describes the first version */
56
+ get isFirst(): boolean;
57
+ /** Returns true if this describes the latest version */
58
+ get isLatest(): boolean;
59
+ /** Returns the last change set id to be applied to the iModel
60
+ * to get to this specified version. @see asOfChangeSet().
61
+ * Note that this method does not attempt to resolve the change set
62
+ * if this describes the first version, last version, named version, etc.
63
+ * @see evaluateChangeSet() for those use cases.
64
+ */
65
+ getAsOfChangeSet(): ChangesetId | undefined;
66
+ /** Returns the name of the version if this describes a named version. @see named() */
67
+ getName(): string | undefined;
68
+ }
69
69
  //# sourceMappingURL=IModelVersion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IModelVersion.d.ts","sourceRoot":"","sources":["../../src/IModelVersion.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;GAEG;AACH,oBAAY,kBAAkB,GAC5B;IAAE,KAAK,EAAE,IAAI,CAAC;IA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