@itwin/core-common 3.2.0-dev.7 → 3.2.0-dev.72

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 (656) hide show
  1. package/CHANGELOG.md +38 -1
  2. package/lib/cjs/AnalysisStyle.d.ts +3 -0
  3. package/lib/cjs/AnalysisStyle.d.ts.map +1 -1
  4. package/lib/cjs/AnalysisStyle.js.map +1 -1
  5. package/lib/cjs/BackgroundMapProvider.d.ts +6 -0
  6. package/lib/cjs/BackgroundMapProvider.d.ts.map +1 -1
  7. package/lib/cjs/BackgroundMapProvider.js +10 -0
  8. package/lib/cjs/BackgroundMapProvider.js.map +1 -1
  9. package/lib/cjs/BackgroundMapSettings.d.ts +4 -0
  10. package/lib/cjs/BackgroundMapSettings.d.ts.map +1 -1
  11. package/lib/cjs/BackgroundMapSettings.js +1 -0
  12. package/lib/cjs/BackgroundMapSettings.js.map +1 -1
  13. package/lib/cjs/Base64EncodedString.d.ts +1 -0
  14. package/lib/cjs/Base64EncodedString.d.ts.map +1 -1
  15. package/lib/cjs/Base64EncodedString.js.map +1 -1
  16. package/lib/cjs/BriefcaseTypes.d.ts +5 -0
  17. package/lib/cjs/BriefcaseTypes.d.ts.map +1 -1
  18. package/lib/cjs/BriefcaseTypes.js +2 -0
  19. package/lib/cjs/BriefcaseTypes.js.map +1 -1
  20. package/lib/cjs/Camera.d.ts +1 -0
  21. package/lib/cjs/Camera.d.ts.map +1 -1
  22. package/lib/cjs/Camera.js.map +1 -1
  23. package/lib/cjs/ChangedElements.d.ts +2 -0
  24. package/lib/cjs/ChangedElements.d.ts.map +1 -1
  25. package/lib/cjs/ChangedElements.js +1 -0
  26. package/lib/cjs/ChangedElements.js.map +1 -1
  27. package/lib/cjs/ChangedEntities.d.ts +3 -0
  28. package/lib/cjs/ChangedEntities.d.ts.map +1 -1
  29. package/lib/cjs/ChangedEntities.js.map +1 -1
  30. package/lib/cjs/ChangesetProps.d.ts +9 -1
  31. package/lib/cjs/ChangesetProps.d.ts.map +1 -1
  32. package/lib/cjs/ChangesetProps.js +3 -1
  33. package/lib/cjs/ChangesetProps.js.map +1 -1
  34. package/lib/cjs/ClipStyle.d.ts +2 -0
  35. package/lib/cjs/ClipStyle.d.ts.map +1 -1
  36. package/lib/cjs/ClipStyle.js.map +1 -1
  37. package/lib/cjs/CloudStorage.d.ts.map +1 -1
  38. package/lib/cjs/CloudStorage.js +14 -20
  39. package/lib/cjs/CloudStorage.js.map +1 -1
  40. package/lib/cjs/Code.d.ts +3 -0
  41. package/lib/cjs/Code.d.ts.map +1 -1
  42. package/lib/cjs/Code.js +1 -0
  43. package/lib/cjs/Code.js.map +1 -1
  44. package/lib/cjs/ColorByName.d.ts +153 -152
  45. package/lib/cjs/ColorByName.d.ts.map +1 -1
  46. package/lib/cjs/ColorByName.js +153 -153
  47. package/lib/cjs/ColorByName.js.map +1 -1
  48. package/lib/cjs/ColorDef.d.ts +55 -46
  49. package/lib/cjs/ColorDef.d.ts.map +1 -1
  50. package/lib/cjs/ColorDef.js +49 -31
  51. package/lib/cjs/ColorDef.js.map +1 -1
  52. package/lib/cjs/CommonLoggerCategory.d.ts +1 -0
  53. package/lib/cjs/CommonLoggerCategory.d.ts.map +1 -1
  54. package/lib/cjs/CommonLoggerCategory.js +1 -0
  55. package/lib/cjs/CommonLoggerCategory.js.map +1 -1
  56. package/lib/cjs/ConcurrentQuery.d.ts +6 -1
  57. package/lib/cjs/ConcurrentQuery.d.ts.map +1 -1
  58. package/lib/cjs/ConcurrentQuery.js +3 -1
  59. package/lib/cjs/ConcurrentQuery.js.map +1 -1
  60. package/lib/cjs/ContextRealityModel.d.ts +2 -0
  61. package/lib/cjs/ContextRealityModel.d.ts.map +1 -1
  62. package/lib/cjs/ContextRealityModel.js.map +1 -1
  63. package/lib/cjs/DisplayStyleSettings.d.ts +10 -0
  64. package/lib/cjs/DisplayStyleSettings.d.ts.map +1 -1
  65. package/lib/cjs/DisplayStyleSettings.js +1 -0
  66. package/lib/cjs/DisplayStyleSettings.js.map +1 -1
  67. package/lib/cjs/ECSqlTypes.d.ts +6 -0
  68. package/lib/cjs/ECSqlTypes.d.ts.map +1 -1
  69. package/lib/cjs/ECSqlTypes.js +4 -0
  70. package/lib/cjs/ECSqlTypes.js.map +1 -1
  71. package/lib/cjs/ElementProps.d.ts +37 -1
  72. package/lib/cjs/ElementProps.d.ts.map +1 -1
  73. package/lib/cjs/ElementProps.js +2 -0
  74. package/lib/cjs/ElementProps.js.map +1 -1
  75. package/lib/cjs/EmphasizeElementsProps.d.ts +3 -0
  76. package/lib/cjs/EmphasizeElementsProps.d.ts.map +1 -1
  77. package/lib/cjs/EmphasizeElementsProps.js +1 -0
  78. package/lib/cjs/EmphasizeElementsProps.js.map +1 -1
  79. package/lib/cjs/EntityProps.d.ts +4 -0
  80. package/lib/cjs/EntityProps.d.ts.map +1 -1
  81. package/lib/cjs/EntityProps.js.map +1 -1
  82. package/lib/cjs/Environment.d.ts +1 -0
  83. package/lib/cjs/Environment.d.ts.map +1 -1
  84. package/lib/cjs/Environment.js.map +1 -1
  85. package/lib/cjs/FeatureSymbology.d.ts +3 -0
  86. package/lib/cjs/FeatureSymbology.d.ts.map +1 -1
  87. package/lib/cjs/FeatureSymbology.js.map +1 -1
  88. package/lib/cjs/FeatureTable.d.ts +1 -0
  89. package/lib/cjs/FeatureTable.d.ts.map +1 -1
  90. package/lib/cjs/FeatureTable.js +1 -0
  91. package/lib/cjs/FeatureTable.js.map +1 -1
  92. package/lib/cjs/Fonts.d.ts +3 -0
  93. package/lib/cjs/Fonts.d.ts.map +1 -1
  94. package/lib/cjs/Fonts.js +1 -0
  95. package/lib/cjs/Fonts.js.map +1 -1
  96. package/lib/cjs/Frustum.d.ts +1 -0
  97. package/lib/cjs/Frustum.d.ts.map +1 -1
  98. package/lib/cjs/Frustum.js +1 -0
  99. package/lib/cjs/Frustum.js.map +1 -1
  100. package/lib/cjs/GeoCoordinateServices.d.ts +1 -0
  101. package/lib/cjs/GeoCoordinateServices.d.ts.map +1 -1
  102. package/lib/cjs/GeoCoordinateServices.js +1 -0
  103. package/lib/cjs/GeoCoordinateServices.js.map +1 -1
  104. package/lib/cjs/GeometryContainment.d.ts +2 -0
  105. package/lib/cjs/GeometryContainment.d.ts.map +1 -1
  106. package/lib/cjs/GeometryContainment.js.map +1 -1
  107. package/lib/cjs/GeometryParams.d.ts +3 -0
  108. package/lib/cjs/GeometryParams.d.ts.map +1 -1
  109. package/lib/cjs/GeometryParams.js +3 -0
  110. package/lib/cjs/GeometryParams.js.map +1 -1
  111. package/lib/cjs/GeometrySummary.d.ts +3 -0
  112. package/lib/cjs/GeometrySummary.d.ts.map +1 -1
  113. package/lib/cjs/GeometrySummary.js +1 -0
  114. package/lib/cjs/GeometrySummary.js.map +1 -1
  115. package/lib/cjs/GraphicParams.d.ts +1 -0
  116. package/lib/cjs/GraphicParams.d.ts.map +1 -1
  117. package/lib/cjs/GraphicParams.js +1 -0
  118. package/lib/cjs/GraphicParams.js.map +1 -1
  119. package/lib/cjs/GroundPlane.d.ts +1 -0
  120. package/lib/cjs/GroundPlane.d.ts.map +1 -1
  121. package/lib/cjs/GroundPlane.js.map +1 -1
  122. package/lib/cjs/HSVColor.d.ts +4 -1
  123. package/lib/cjs/HSVColor.d.ts.map +1 -1
  124. package/lib/cjs/HSVColor.js +4 -1
  125. package/lib/cjs/HSVColor.js.map +1 -1
  126. package/lib/cjs/IModel.d.ts +6 -1
  127. package/lib/cjs/IModel.d.ts.map +1 -1
  128. package/lib/cjs/IModel.js.map +1 -1
  129. package/lib/cjs/Image.d.ts +2 -0
  130. package/lib/cjs/Image.d.ts.map +1 -1
  131. package/lib/cjs/Image.js +2 -0
  132. package/lib/cjs/Image.js.map +1 -1
  133. package/lib/cjs/IpcAppProps.d.ts +1 -0
  134. package/lib/cjs/IpcAppProps.d.ts.map +1 -1
  135. package/lib/cjs/IpcAppProps.js.map +1 -1
  136. package/lib/cjs/LightSettings.d.ts +5 -0
  137. package/lib/cjs/LightSettings.d.ts.map +1 -1
  138. package/lib/cjs/LightSettings.js.map +1 -1
  139. package/lib/cjs/LinePixels.d.ts +1 -0
  140. package/lib/cjs/LinePixels.d.ts.map +1 -1
  141. package/lib/cjs/LinePixels.js +1 -0
  142. package/lib/cjs/LinePixels.js.map +1 -1
  143. package/lib/cjs/Localization.d.ts +1 -0
  144. package/lib/cjs/Localization.d.ts.map +1 -1
  145. package/lib/cjs/Localization.js.map +1 -1
  146. package/lib/cjs/MassProperties.d.ts +27 -1
  147. package/lib/cjs/MassProperties.d.ts.map +1 -1
  148. package/lib/cjs/MassProperties.js +1 -0
  149. package/lib/cjs/MassProperties.js.map +1 -1
  150. package/lib/cjs/MaterialProps.d.ts +6 -0
  151. package/lib/cjs/MaterialProps.d.ts.map +1 -1
  152. package/lib/cjs/MaterialProps.js +1 -0
  153. package/lib/cjs/MaterialProps.js.map +1 -1
  154. package/lib/cjs/ModelClipGroup.d.ts +1 -0
  155. package/lib/cjs/ModelClipGroup.d.ts.map +1 -1
  156. package/lib/cjs/ModelClipGroup.js.map +1 -1
  157. package/lib/cjs/ModelGeometryChanges.d.ts +9 -1
  158. package/lib/cjs/ModelGeometryChanges.d.ts.map +1 -1
  159. package/lib/cjs/ModelGeometryChanges.js.map +1 -1
  160. package/lib/cjs/ModelProps.d.ts +6 -0
  161. package/lib/cjs/ModelProps.d.ts.map +1 -1
  162. package/lib/cjs/ModelProps.js.map +1 -1
  163. package/lib/cjs/PlanProjectionSettings.d.ts +1 -0
  164. package/lib/cjs/PlanProjectionSettings.d.ts.map +1 -1
  165. package/lib/cjs/PlanProjectionSettings.js.map +1 -1
  166. package/lib/cjs/PlanarClipMask.d.ts +3 -0
  167. package/lib/cjs/PlanarClipMask.d.ts.map +1 -1
  168. package/lib/cjs/PlanarClipMask.js +2 -0
  169. package/lib/cjs/PlanarClipMask.js.map +1 -1
  170. package/lib/cjs/RgbColor.d.ts +1 -0
  171. package/lib/cjs/RgbColor.d.ts.map +1 -1
  172. package/lib/cjs/RgbColor.js.map +1 -1
  173. package/lib/cjs/SessionProps.d.ts +1 -0
  174. package/lib/cjs/SessionProps.d.ts.map +1 -1
  175. package/lib/cjs/SessionProps.js.map +1 -1
  176. package/lib/cjs/SkyBox.d.ts +4 -0
  177. package/lib/cjs/SkyBox.d.ts.map +1 -1
  178. package/lib/cjs/SkyBox.js +1 -0
  179. package/lib/cjs/SkyBox.js.map +1 -1
  180. package/lib/cjs/SolarShadows.d.ts +1 -0
  181. package/lib/cjs/SolarShadows.d.ts.map +1 -1
  182. package/lib/cjs/SolarShadows.js.map +1 -1
  183. package/lib/cjs/SpatialClassification.d.ts +5 -0
  184. package/lib/cjs/SpatialClassification.d.ts.map +1 -1
  185. package/lib/cjs/SpatialClassification.js +2 -0
  186. package/lib/cjs/SpatialClassification.js.map +1 -1
  187. package/lib/cjs/TerrainSettings.d.ts +3 -0
  188. package/lib/cjs/TerrainSettings.d.ts.map +1 -1
  189. package/lib/cjs/TerrainSettings.js +1 -0
  190. package/lib/cjs/TerrainSettings.js.map +1 -1
  191. package/lib/cjs/TextureProps.d.ts +3 -0
  192. package/lib/cjs/TextureProps.d.ts.map +1 -1
  193. package/lib/cjs/TextureProps.js.map +1 -1
  194. package/lib/cjs/ThematicDisplay.d.ts +9 -1
  195. package/lib/cjs/ThematicDisplay.d.ts.map +1 -1
  196. package/lib/cjs/ThematicDisplay.js +5 -1
  197. package/lib/cjs/ThematicDisplay.js.map +1 -1
  198. package/lib/cjs/Thumbnail.d.ts +2 -0
  199. package/lib/cjs/Thumbnail.d.ts.map +1 -1
  200. package/lib/cjs/Thumbnail.js.map +1 -1
  201. package/lib/cjs/TileProps.d.ts +1 -0
  202. package/lib/cjs/TileProps.d.ts.map +1 -1
  203. package/lib/cjs/TileProps.js.map +1 -1
  204. package/lib/cjs/Tween.d.ts +16 -4
  205. package/lib/cjs/Tween.d.ts.map +1 -1
  206. package/lib/cjs/Tween.js.map +1 -1
  207. package/lib/cjs/TxnAction.d.ts +1 -0
  208. package/lib/cjs/TxnAction.d.ts.map +1 -1
  209. package/lib/cjs/TxnAction.js +1 -0
  210. package/lib/cjs/TxnAction.js.map +1 -1
  211. package/lib/cjs/ViewDetails.d.ts +3 -0
  212. package/lib/cjs/ViewDetails.d.ts.map +1 -1
  213. package/lib/cjs/ViewDetails.js +1 -0
  214. package/lib/cjs/ViewDetails.js.map +1 -1
  215. package/lib/cjs/ViewFlags.d.ts +4 -0
  216. package/lib/cjs/ViewFlags.d.ts.map +1 -1
  217. package/lib/cjs/ViewFlags.js +1 -0
  218. package/lib/cjs/ViewFlags.js.map +1 -1
  219. package/lib/cjs/ViewProps.d.ts +69 -3
  220. package/lib/cjs/ViewProps.d.ts.map +1 -1
  221. package/lib/cjs/ViewProps.js.map +1 -1
  222. package/lib/cjs/WhiteOnWhiteReversalSettings.d.ts +1 -0
  223. package/lib/cjs/WhiteOnWhiteReversalSettings.d.ts.map +1 -1
  224. package/lib/cjs/WhiteOnWhiteReversalSettings.js.map +1 -1
  225. package/lib/cjs/domains/FunctionalElementProps.d.ts +4 -1
  226. package/lib/cjs/domains/FunctionalElementProps.d.ts.map +1 -1
  227. package/lib/cjs/domains/FunctionalElementProps.js.map +1 -1
  228. package/lib/cjs/domains/GenericElementProps.d.ts +8 -2
  229. package/lib/cjs/domains/GenericElementProps.d.ts.map +1 -1
  230. package/lib/cjs/domains/GenericElementProps.js.map +1 -1
  231. package/lib/cjs/geometry/AdditionalTransform.d.ts +2 -0
  232. package/lib/cjs/geometry/AdditionalTransform.d.ts.map +1 -1
  233. package/lib/cjs/geometry/AdditionalTransform.js.map +1 -1
  234. package/lib/cjs/geometry/Cartographic.d.ts +1 -0
  235. package/lib/cjs/geometry/Cartographic.d.ts.map +1 -1
  236. package/lib/cjs/geometry/Cartographic.js.map +1 -1
  237. package/lib/cjs/geometry/CoordinateReferenceSystem.d.ts +5 -0
  238. package/lib/cjs/geometry/CoordinateReferenceSystem.d.ts.map +1 -1
  239. package/lib/cjs/geometry/CoordinateReferenceSystem.js.map +1 -1
  240. package/lib/cjs/geometry/ElementGeometry.d.ts +2 -0
  241. package/lib/cjs/geometry/ElementGeometry.d.ts.map +1 -1
  242. package/lib/cjs/geometry/ElementGeometry.js +1 -0
  243. package/lib/cjs/geometry/ElementGeometry.js.map +1 -1
  244. package/lib/cjs/geometry/GeodeticDatum.d.ts +80 -1
  245. package/lib/cjs/geometry/GeodeticDatum.d.ts.map +1 -1
  246. package/lib/cjs/geometry/GeodeticDatum.js +79 -1
  247. package/lib/cjs/geometry/GeodeticDatum.js.map +1 -1
  248. package/lib/cjs/geometry/GeodeticEllipsoid.d.ts +1 -0
  249. package/lib/cjs/geometry/GeodeticEllipsoid.d.ts.map +1 -1
  250. package/lib/cjs/geometry/GeodeticEllipsoid.js.map +1 -1
  251. package/lib/cjs/geometry/GeometryStream.d.ts +15 -0
  252. package/lib/cjs/geometry/GeometryStream.d.ts.map +1 -1
  253. package/lib/cjs/geometry/GeometryStream.js +11 -7
  254. package/lib/cjs/geometry/GeometryStream.js.map +1 -1
  255. package/lib/cjs/geometry/ImageGraphic.d.ts +2 -0
  256. package/lib/cjs/geometry/ImageGraphic.d.ts.map +1 -1
  257. package/lib/cjs/geometry/ImageGraphic.js.map +1 -1
  258. package/lib/cjs/geometry/Placement.d.ts +6 -0
  259. package/lib/cjs/geometry/Placement.d.ts.map +1 -1
  260. package/lib/cjs/geometry/Placement.js.map +1 -1
  261. package/lib/cjs/geometry/Projection.d.ts +6 -0
  262. package/lib/cjs/geometry/Projection.d.ts.map +1 -1
  263. package/lib/cjs/geometry/Projection.js.map +1 -1
  264. package/lib/cjs/geometry/TextString.d.ts +1 -0
  265. package/lib/cjs/geometry/TextString.d.ts.map +1 -1
  266. package/lib/cjs/geometry/TextString.js.map +1 -1
  267. package/lib/cjs/ipc/IpcSocket.d.ts +1 -0
  268. package/lib/cjs/ipc/IpcSocket.d.ts.map +1 -1
  269. package/lib/cjs/ipc/IpcSocket.js.map +1 -1
  270. package/lib/cjs/ipc/IpcWebSocketTransport.d.ts.map +1 -1
  271. package/lib/cjs/ipc/IpcWebSocketTransport.js +3 -2
  272. package/lib/cjs/ipc/IpcWebSocketTransport.js.map +1 -1
  273. package/lib/cjs/rpc/IModelReadRpcInterface.d.ts +5 -2
  274. package/lib/cjs/rpc/IModelReadRpcInterface.d.ts.map +1 -1
  275. package/lib/cjs/rpc/IModelReadRpcInterface.js +4 -1
  276. package/lib/cjs/rpc/IModelReadRpcInterface.js.map +1 -1
  277. package/lib/cjs/rpc/IModelTileRpcInterface.d.ts +4 -2
  278. package/lib/cjs/rpc/IModelTileRpcInterface.d.ts.map +1 -1
  279. package/lib/cjs/rpc/IModelTileRpcInterface.js +4 -2
  280. package/lib/cjs/rpc/IModelTileRpcInterface.js.map +1 -1
  281. package/lib/cjs/rpc/core/RpcControl.d.ts.map +1 -1
  282. package/lib/cjs/rpc/core/RpcControl.js +3 -2
  283. package/lib/cjs/rpc/core/RpcControl.js.map +1 -1
  284. package/lib/cjs/rpc/core/RpcInvocation.d.ts +3 -0
  285. package/lib/cjs/rpc/core/RpcInvocation.d.ts.map +1 -1
  286. package/lib/cjs/rpc/core/RpcInvocation.js +33 -7
  287. package/lib/cjs/rpc/core/RpcInvocation.js.map +1 -1
  288. package/lib/cjs/rpc/core/RpcMarshaling.d.ts.map +1 -1
  289. package/lib/cjs/rpc/core/RpcMarshaling.js +2 -1
  290. package/lib/cjs/rpc/core/RpcMarshaling.js.map +1 -1
  291. package/lib/cjs/rpc/core/RpcOperation.d.ts +2 -0
  292. package/lib/cjs/rpc/core/RpcOperation.d.ts.map +1 -1
  293. package/lib/cjs/rpc/core/RpcOperation.js +2 -0
  294. package/lib/cjs/rpc/core/RpcOperation.js.map +1 -1
  295. package/lib/cjs/rpc/core/RpcProtocol.d.ts +22 -1
  296. package/lib/cjs/rpc/core/RpcProtocol.d.ts.map +1 -1
  297. package/lib/cjs/rpc/core/RpcProtocol.js +13 -2
  298. package/lib/cjs/rpc/core/RpcProtocol.js.map +1 -1
  299. package/lib/cjs/rpc/core/RpcRequest.d.ts +3 -0
  300. package/lib/cjs/rpc/core/RpcRequest.d.ts.map +1 -1
  301. package/lib/cjs/rpc/core/RpcRequest.js +35 -1
  302. package/lib/cjs/rpc/core/RpcRequest.js.map +1 -1
  303. package/lib/cjs/rpc/web/BentleyCloudRpcProtocol.d.ts.map +1 -1
  304. package/lib/cjs/rpc/web/BentleyCloudRpcProtocol.js +1 -2
  305. package/lib/cjs/rpc/web/BentleyCloudRpcProtocol.js.map +1 -1
  306. package/lib/cjs/rpc/web/RpcMultipart.d.ts.map +1 -1
  307. package/lib/cjs/rpc/web/RpcMultipart.js +2 -1
  308. package/lib/cjs/rpc/web/RpcMultipart.js.map +1 -1
  309. package/lib/cjs/rpc/web/WebAppRpcLogging.d.ts.map +1 -1
  310. package/lib/cjs/rpc/web/WebAppRpcLogging.js +14 -10
  311. package/lib/cjs/rpc/web/WebAppRpcLogging.js.map +1 -1
  312. package/lib/cjs/rpc/web/WebAppRpcProtocol.d.ts +1 -0
  313. package/lib/cjs/rpc/web/WebAppRpcProtocol.d.ts.map +1 -1
  314. package/lib/cjs/rpc/web/WebAppRpcProtocol.js +3 -2
  315. package/lib/cjs/rpc/web/WebAppRpcProtocol.js.map +1 -1
  316. package/lib/cjs/rpc/web/WebAppRpcRequest.d.ts +5 -6
  317. package/lib/cjs/rpc/web/WebAppRpcRequest.d.ts.map +1 -1
  318. package/lib/cjs/rpc/web/WebAppRpcRequest.js +49 -27
  319. package/lib/cjs/rpc/web/WebAppRpcRequest.js.map +1 -1
  320. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.d.ts.map +1 -1
  321. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.js +4 -3
  322. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.js.map +1 -1
  323. package/lib/cjs/tile/ElementGraphics.d.ts +8 -0
  324. package/lib/cjs/tile/ElementGraphics.d.ts.map +1 -1
  325. package/lib/cjs/tile/ElementGraphics.js.map +1 -1
  326. package/lib/cjs/tile/IModelTileIO.d.ts +2 -2
  327. package/lib/cjs/tile/IModelTileIO.js +2 -2
  328. package/lib/cjs/tile/IModelTileIO.js.map +1 -1
  329. package/lib/esm/AnalysisStyle.d.ts +3 -0
  330. package/lib/esm/AnalysisStyle.d.ts.map +1 -1
  331. package/lib/esm/AnalysisStyle.js.map +1 -1
  332. package/lib/esm/BackgroundMapProvider.d.ts +6 -0
  333. package/lib/esm/BackgroundMapProvider.d.ts.map +1 -1
  334. package/lib/esm/BackgroundMapProvider.js +10 -0
  335. package/lib/esm/BackgroundMapProvider.js.map +1 -1
  336. package/lib/esm/BackgroundMapSettings.d.ts +4 -0
  337. package/lib/esm/BackgroundMapSettings.d.ts.map +1 -1
  338. package/lib/esm/BackgroundMapSettings.js +1 -0
  339. package/lib/esm/BackgroundMapSettings.js.map +1 -1
  340. package/lib/esm/Base64EncodedString.d.ts +1 -0
  341. package/lib/esm/Base64EncodedString.d.ts.map +1 -1
  342. package/lib/esm/Base64EncodedString.js.map +1 -1
  343. package/lib/esm/BriefcaseTypes.d.ts +5 -0
  344. package/lib/esm/BriefcaseTypes.d.ts.map +1 -1
  345. package/lib/esm/BriefcaseTypes.js +2 -0
  346. package/lib/esm/BriefcaseTypes.js.map +1 -1
  347. package/lib/esm/Camera.d.ts +1 -0
  348. package/lib/esm/Camera.d.ts.map +1 -1
  349. package/lib/esm/Camera.js.map +1 -1
  350. package/lib/esm/ChangedElements.d.ts +2 -0
  351. package/lib/esm/ChangedElements.d.ts.map +1 -1
  352. package/lib/esm/ChangedElements.js +1 -0
  353. package/lib/esm/ChangedElements.js.map +1 -1
  354. package/lib/esm/ChangedEntities.d.ts +3 -0
  355. package/lib/esm/ChangedEntities.d.ts.map +1 -1
  356. package/lib/esm/ChangedEntities.js.map +1 -1
  357. package/lib/esm/ChangesetProps.d.ts +9 -1
  358. package/lib/esm/ChangesetProps.d.ts.map +1 -1
  359. package/lib/esm/ChangesetProps.js +3 -1
  360. package/lib/esm/ChangesetProps.js.map +1 -1
  361. package/lib/esm/ClipStyle.d.ts +2 -0
  362. package/lib/esm/ClipStyle.d.ts.map +1 -1
  363. package/lib/esm/ClipStyle.js.map +1 -1
  364. package/lib/esm/CloudStorage.d.ts.map +1 -1
  365. package/lib/esm/CloudStorage.js +14 -20
  366. package/lib/esm/CloudStorage.js.map +1 -1
  367. package/lib/esm/Code.d.ts +3 -0
  368. package/lib/esm/Code.d.ts.map +1 -1
  369. package/lib/esm/Code.js +1 -0
  370. package/lib/esm/Code.js.map +1 -1
  371. package/lib/esm/ColorByName.d.ts +153 -152
  372. package/lib/esm/ColorByName.d.ts.map +1 -1
  373. package/lib/esm/ColorByName.js +153 -153
  374. package/lib/esm/ColorByName.js.map +1 -1
  375. package/lib/esm/ColorDef.d.ts +55 -46
  376. package/lib/esm/ColorDef.d.ts.map +1 -1
  377. package/lib/esm/ColorDef.js +49 -31
  378. package/lib/esm/ColorDef.js.map +1 -1
  379. package/lib/esm/CommonLoggerCategory.d.ts +1 -0
  380. package/lib/esm/CommonLoggerCategory.d.ts.map +1 -1
  381. package/lib/esm/CommonLoggerCategory.js +1 -0
  382. package/lib/esm/CommonLoggerCategory.js.map +1 -1
  383. package/lib/esm/ConcurrentQuery.d.ts +6 -1
  384. package/lib/esm/ConcurrentQuery.d.ts.map +1 -1
  385. package/lib/esm/ConcurrentQuery.js +2 -0
  386. package/lib/esm/ConcurrentQuery.js.map +1 -1
  387. package/lib/esm/ContextRealityModel.d.ts +2 -0
  388. package/lib/esm/ContextRealityModel.d.ts.map +1 -1
  389. package/lib/esm/ContextRealityModel.js.map +1 -1
  390. package/lib/esm/DisplayStyleSettings.d.ts +10 -0
  391. package/lib/esm/DisplayStyleSettings.d.ts.map +1 -1
  392. package/lib/esm/DisplayStyleSettings.js +1 -0
  393. package/lib/esm/DisplayStyleSettings.js.map +1 -1
  394. package/lib/esm/ECSqlTypes.d.ts +6 -0
  395. package/lib/esm/ECSqlTypes.d.ts.map +1 -1
  396. package/lib/esm/ECSqlTypes.js +4 -0
  397. package/lib/esm/ECSqlTypes.js.map +1 -1
  398. package/lib/esm/ElementProps.d.ts +37 -1
  399. package/lib/esm/ElementProps.d.ts.map +1 -1
  400. package/lib/esm/ElementProps.js +2 -0
  401. package/lib/esm/ElementProps.js.map +1 -1
  402. package/lib/esm/EmphasizeElementsProps.d.ts +3 -0
  403. package/lib/esm/EmphasizeElementsProps.d.ts.map +1 -1
  404. package/lib/esm/EmphasizeElementsProps.js +1 -0
  405. package/lib/esm/EmphasizeElementsProps.js.map +1 -1
  406. package/lib/esm/EntityProps.d.ts +4 -0
  407. package/lib/esm/EntityProps.d.ts.map +1 -1
  408. package/lib/esm/EntityProps.js.map +1 -1
  409. package/lib/esm/Environment.d.ts +1 -0
  410. package/lib/esm/Environment.d.ts.map +1 -1
  411. package/lib/esm/Environment.js.map +1 -1
  412. package/lib/esm/FeatureSymbology.d.ts +3 -0
  413. package/lib/esm/FeatureSymbology.d.ts.map +1 -1
  414. package/lib/esm/FeatureSymbology.js.map +1 -1
  415. package/lib/esm/FeatureTable.d.ts +1 -0
  416. package/lib/esm/FeatureTable.d.ts.map +1 -1
  417. package/lib/esm/FeatureTable.js +1 -0
  418. package/lib/esm/FeatureTable.js.map +1 -1
  419. package/lib/esm/Fonts.d.ts +3 -0
  420. package/lib/esm/Fonts.d.ts.map +1 -1
  421. package/lib/esm/Fonts.js +1 -0
  422. package/lib/esm/Fonts.js.map +1 -1
  423. package/lib/esm/Frustum.d.ts +1 -0
  424. package/lib/esm/Frustum.d.ts.map +1 -1
  425. package/lib/esm/Frustum.js +1 -0
  426. package/lib/esm/Frustum.js.map +1 -1
  427. package/lib/esm/GeoCoordinateServices.d.ts +1 -0
  428. package/lib/esm/GeoCoordinateServices.d.ts.map +1 -1
  429. package/lib/esm/GeoCoordinateServices.js +1 -0
  430. package/lib/esm/GeoCoordinateServices.js.map +1 -1
  431. package/lib/esm/GeometryContainment.d.ts +2 -0
  432. package/lib/esm/GeometryContainment.d.ts.map +1 -1
  433. package/lib/esm/GeometryContainment.js.map +1 -1
  434. package/lib/esm/GeometryParams.d.ts +3 -0
  435. package/lib/esm/GeometryParams.d.ts.map +1 -1
  436. package/lib/esm/GeometryParams.js +3 -0
  437. package/lib/esm/GeometryParams.js.map +1 -1
  438. package/lib/esm/GeometrySummary.d.ts +3 -0
  439. package/lib/esm/GeometrySummary.d.ts.map +1 -1
  440. package/lib/esm/GeometrySummary.js +1 -0
  441. package/lib/esm/GeometrySummary.js.map +1 -1
  442. package/lib/esm/GraphicParams.d.ts +1 -0
  443. package/lib/esm/GraphicParams.d.ts.map +1 -1
  444. package/lib/esm/GraphicParams.js +1 -0
  445. package/lib/esm/GraphicParams.js.map +1 -1
  446. package/lib/esm/GroundPlane.d.ts +1 -0
  447. package/lib/esm/GroundPlane.d.ts.map +1 -1
  448. package/lib/esm/GroundPlane.js.map +1 -1
  449. package/lib/esm/HSVColor.d.ts +4 -1
  450. package/lib/esm/HSVColor.d.ts.map +1 -1
  451. package/lib/esm/HSVColor.js +4 -1
  452. package/lib/esm/HSVColor.js.map +1 -1
  453. package/lib/esm/IModel.d.ts +6 -1
  454. package/lib/esm/IModel.d.ts.map +1 -1
  455. package/lib/esm/IModel.js.map +1 -1
  456. package/lib/esm/Image.d.ts +2 -0
  457. package/lib/esm/Image.d.ts.map +1 -1
  458. package/lib/esm/Image.js +2 -0
  459. package/lib/esm/Image.js.map +1 -1
  460. package/lib/esm/IpcAppProps.d.ts +1 -0
  461. package/lib/esm/IpcAppProps.d.ts.map +1 -1
  462. package/lib/esm/IpcAppProps.js.map +1 -1
  463. package/lib/esm/LightSettings.d.ts +5 -0
  464. package/lib/esm/LightSettings.d.ts.map +1 -1
  465. package/lib/esm/LightSettings.js.map +1 -1
  466. package/lib/esm/LinePixels.d.ts +1 -0
  467. package/lib/esm/LinePixels.d.ts.map +1 -1
  468. package/lib/esm/LinePixels.js +1 -0
  469. package/lib/esm/LinePixels.js.map +1 -1
  470. package/lib/esm/Localization.d.ts +1 -0
  471. package/lib/esm/Localization.d.ts.map +1 -1
  472. package/lib/esm/Localization.js.map +1 -1
  473. package/lib/esm/MassProperties.d.ts +27 -1
  474. package/lib/esm/MassProperties.d.ts.map +1 -1
  475. package/lib/esm/MassProperties.js +1 -0
  476. package/lib/esm/MassProperties.js.map +1 -1
  477. package/lib/esm/MaterialProps.d.ts +6 -0
  478. package/lib/esm/MaterialProps.d.ts.map +1 -1
  479. package/lib/esm/MaterialProps.js +1 -0
  480. package/lib/esm/MaterialProps.js.map +1 -1
  481. package/lib/esm/ModelClipGroup.d.ts +1 -0
  482. package/lib/esm/ModelClipGroup.d.ts.map +1 -1
  483. package/lib/esm/ModelClipGroup.js.map +1 -1
  484. package/lib/esm/ModelGeometryChanges.d.ts +9 -1
  485. package/lib/esm/ModelGeometryChanges.d.ts.map +1 -1
  486. package/lib/esm/ModelGeometryChanges.js.map +1 -1
  487. package/lib/esm/ModelProps.d.ts +6 -0
  488. package/lib/esm/ModelProps.d.ts.map +1 -1
  489. package/lib/esm/ModelProps.js.map +1 -1
  490. package/lib/esm/PlanProjectionSettings.d.ts +1 -0
  491. package/lib/esm/PlanProjectionSettings.d.ts.map +1 -1
  492. package/lib/esm/PlanProjectionSettings.js.map +1 -1
  493. package/lib/esm/PlanarClipMask.d.ts +3 -0
  494. package/lib/esm/PlanarClipMask.d.ts.map +1 -1
  495. package/lib/esm/PlanarClipMask.js +2 -0
  496. package/lib/esm/PlanarClipMask.js.map +1 -1
  497. package/lib/esm/RgbColor.d.ts +1 -0
  498. package/lib/esm/RgbColor.d.ts.map +1 -1
  499. package/lib/esm/RgbColor.js.map +1 -1
  500. package/lib/esm/SessionProps.d.ts +1 -0
  501. package/lib/esm/SessionProps.d.ts.map +1 -1
  502. package/lib/esm/SessionProps.js.map +1 -1
  503. package/lib/esm/SkyBox.d.ts +4 -0
  504. package/lib/esm/SkyBox.d.ts.map +1 -1
  505. package/lib/esm/SkyBox.js +1 -0
  506. package/lib/esm/SkyBox.js.map +1 -1
  507. package/lib/esm/SolarShadows.d.ts +1 -0
  508. package/lib/esm/SolarShadows.d.ts.map +1 -1
  509. package/lib/esm/SolarShadows.js.map +1 -1
  510. package/lib/esm/SpatialClassification.d.ts +5 -0
  511. package/lib/esm/SpatialClassification.d.ts.map +1 -1
  512. package/lib/esm/SpatialClassification.js +2 -0
  513. package/lib/esm/SpatialClassification.js.map +1 -1
  514. package/lib/esm/TerrainSettings.d.ts +3 -0
  515. package/lib/esm/TerrainSettings.d.ts.map +1 -1
  516. package/lib/esm/TerrainSettings.js +1 -0
  517. package/lib/esm/TerrainSettings.js.map +1 -1
  518. package/lib/esm/TextureProps.d.ts +3 -0
  519. package/lib/esm/TextureProps.d.ts.map +1 -1
  520. package/lib/esm/TextureProps.js.map +1 -1
  521. package/lib/esm/ThematicDisplay.d.ts +9 -1
  522. package/lib/esm/ThematicDisplay.d.ts.map +1 -1
  523. package/lib/esm/ThematicDisplay.js +5 -1
  524. package/lib/esm/ThematicDisplay.js.map +1 -1
  525. package/lib/esm/Thumbnail.d.ts +2 -0
  526. package/lib/esm/Thumbnail.d.ts.map +1 -1
  527. package/lib/esm/Thumbnail.js.map +1 -1
  528. package/lib/esm/TileProps.d.ts +1 -0
  529. package/lib/esm/TileProps.d.ts.map +1 -1
  530. package/lib/esm/TileProps.js.map +1 -1
  531. package/lib/esm/Tween.d.ts +16 -4
  532. package/lib/esm/Tween.d.ts.map +1 -1
  533. package/lib/esm/Tween.js.map +1 -1
  534. package/lib/esm/TxnAction.d.ts +1 -0
  535. package/lib/esm/TxnAction.d.ts.map +1 -1
  536. package/lib/esm/TxnAction.js +1 -0
  537. package/lib/esm/TxnAction.js.map +1 -1
  538. package/lib/esm/ViewDetails.d.ts +3 -0
  539. package/lib/esm/ViewDetails.d.ts.map +1 -1
  540. package/lib/esm/ViewDetails.js +1 -0
  541. package/lib/esm/ViewDetails.js.map +1 -1
  542. package/lib/esm/ViewFlags.d.ts +4 -0
  543. package/lib/esm/ViewFlags.d.ts.map +1 -1
  544. package/lib/esm/ViewFlags.js +1 -0
  545. package/lib/esm/ViewFlags.js.map +1 -1
  546. package/lib/esm/ViewProps.d.ts +69 -3
  547. package/lib/esm/ViewProps.d.ts.map +1 -1
  548. package/lib/esm/ViewProps.js.map +1 -1
  549. package/lib/esm/WhiteOnWhiteReversalSettings.d.ts +1 -0
  550. package/lib/esm/WhiteOnWhiteReversalSettings.d.ts.map +1 -1
  551. package/lib/esm/WhiteOnWhiteReversalSettings.js.map +1 -1
  552. package/lib/esm/domains/FunctionalElementProps.d.ts +4 -1
  553. package/lib/esm/domains/FunctionalElementProps.d.ts.map +1 -1
  554. package/lib/esm/domains/FunctionalElementProps.js.map +1 -1
  555. package/lib/esm/domains/GenericElementProps.d.ts +8 -2
  556. package/lib/esm/domains/GenericElementProps.d.ts.map +1 -1
  557. package/lib/esm/domains/GenericElementProps.js.map +1 -1
  558. package/lib/esm/geometry/AdditionalTransform.d.ts +2 -0
  559. package/lib/esm/geometry/AdditionalTransform.d.ts.map +1 -1
  560. package/lib/esm/geometry/AdditionalTransform.js.map +1 -1
  561. package/lib/esm/geometry/Cartographic.d.ts +1 -0
  562. package/lib/esm/geometry/Cartographic.d.ts.map +1 -1
  563. package/lib/esm/geometry/Cartographic.js.map +1 -1
  564. package/lib/esm/geometry/CoordinateReferenceSystem.d.ts +5 -0
  565. package/lib/esm/geometry/CoordinateReferenceSystem.d.ts.map +1 -1
  566. package/lib/esm/geometry/CoordinateReferenceSystem.js.map +1 -1
  567. package/lib/esm/geometry/ElementGeometry.d.ts +2 -0
  568. package/lib/esm/geometry/ElementGeometry.d.ts.map +1 -1
  569. package/lib/esm/geometry/ElementGeometry.js +1 -0
  570. package/lib/esm/geometry/ElementGeometry.js.map +1 -1
  571. package/lib/esm/geometry/GeodeticDatum.d.ts +80 -1
  572. package/lib/esm/geometry/GeodeticDatum.d.ts.map +1 -1
  573. package/lib/esm/geometry/GeodeticDatum.js +77 -0
  574. package/lib/esm/geometry/GeodeticDatum.js.map +1 -1
  575. package/lib/esm/geometry/GeodeticEllipsoid.d.ts +1 -0
  576. package/lib/esm/geometry/GeodeticEllipsoid.d.ts.map +1 -1
  577. package/lib/esm/geometry/GeodeticEllipsoid.js.map +1 -1
  578. package/lib/esm/geometry/GeometryStream.d.ts +15 -0
  579. package/lib/esm/geometry/GeometryStream.d.ts.map +1 -1
  580. package/lib/esm/geometry/GeometryStream.js +11 -7
  581. package/lib/esm/geometry/GeometryStream.js.map +1 -1
  582. package/lib/esm/geometry/ImageGraphic.d.ts +2 -0
  583. package/lib/esm/geometry/ImageGraphic.d.ts.map +1 -1
  584. package/lib/esm/geometry/ImageGraphic.js.map +1 -1
  585. package/lib/esm/geometry/Placement.d.ts +6 -0
  586. package/lib/esm/geometry/Placement.d.ts.map +1 -1
  587. package/lib/esm/geometry/Placement.js.map +1 -1
  588. package/lib/esm/geometry/Projection.d.ts +6 -0
  589. package/lib/esm/geometry/Projection.d.ts.map +1 -1
  590. package/lib/esm/geometry/Projection.js.map +1 -1
  591. package/lib/esm/geometry/TextString.d.ts +1 -0
  592. package/lib/esm/geometry/TextString.d.ts.map +1 -1
  593. package/lib/esm/geometry/TextString.js.map +1 -1
  594. package/lib/esm/ipc/IpcSocket.d.ts +1 -0
  595. package/lib/esm/ipc/IpcSocket.d.ts.map +1 -1
  596. package/lib/esm/ipc/IpcSocket.js.map +1 -1
  597. package/lib/esm/ipc/IpcWebSocketTransport.d.ts.map +1 -1
  598. package/lib/esm/ipc/IpcWebSocketTransport.js +1 -0
  599. package/lib/esm/ipc/IpcWebSocketTransport.js.map +1 -1
  600. package/lib/esm/rpc/IModelReadRpcInterface.d.ts +5 -2
  601. package/lib/esm/rpc/IModelReadRpcInterface.d.ts.map +1 -1
  602. package/lib/esm/rpc/IModelReadRpcInterface.js +4 -1
  603. package/lib/esm/rpc/IModelReadRpcInterface.js.map +1 -1
  604. package/lib/esm/rpc/IModelTileRpcInterface.d.ts +4 -2
  605. package/lib/esm/rpc/IModelTileRpcInterface.d.ts.map +1 -1
  606. package/lib/esm/rpc/IModelTileRpcInterface.js +4 -2
  607. package/lib/esm/rpc/IModelTileRpcInterface.js.map +1 -1
  608. package/lib/esm/rpc/core/RpcControl.d.ts.map +1 -1
  609. package/lib/esm/rpc/core/RpcControl.js +1 -0
  610. package/lib/esm/rpc/core/RpcControl.js.map +1 -1
  611. package/lib/esm/rpc/core/RpcInvocation.d.ts +3 -0
  612. package/lib/esm/rpc/core/RpcInvocation.d.ts.map +1 -1
  613. package/lib/esm/rpc/core/RpcInvocation.js +35 -9
  614. package/lib/esm/rpc/core/RpcInvocation.js.map +1 -1
  615. package/lib/esm/rpc/core/RpcMarshaling.d.ts.map +1 -1
  616. package/lib/esm/rpc/core/RpcMarshaling.js +1 -0
  617. package/lib/esm/rpc/core/RpcMarshaling.js.map +1 -1
  618. package/lib/esm/rpc/core/RpcOperation.d.ts +2 -0
  619. package/lib/esm/rpc/core/RpcOperation.d.ts.map +1 -1
  620. package/lib/esm/rpc/core/RpcOperation.js +2 -0
  621. package/lib/esm/rpc/core/RpcOperation.js.map +1 -1
  622. package/lib/esm/rpc/core/RpcProtocol.d.ts +22 -1
  623. package/lib/esm/rpc/core/RpcProtocol.d.ts.map +1 -1
  624. package/lib/esm/rpc/core/RpcProtocol.js +12 -1
  625. package/lib/esm/rpc/core/RpcProtocol.js.map +1 -1
  626. package/lib/esm/rpc/core/RpcRequest.d.ts +3 -0
  627. package/lib/esm/rpc/core/RpcRequest.d.ts.map +1 -1
  628. package/lib/esm/rpc/core/RpcRequest.js +36 -2
  629. package/lib/esm/rpc/core/RpcRequest.js.map +1 -1
  630. package/lib/esm/rpc/web/BentleyCloudRpcProtocol.d.ts.map +1 -1
  631. package/lib/esm/rpc/web/BentleyCloudRpcProtocol.js +0 -1
  632. package/lib/esm/rpc/web/BentleyCloudRpcProtocol.js.map +1 -1
  633. package/lib/esm/rpc/web/RpcMultipart.d.ts.map +1 -1
  634. package/lib/esm/rpc/web/RpcMultipart.js +1 -0
  635. package/lib/esm/rpc/web/RpcMultipart.js.map +1 -1
  636. package/lib/esm/rpc/web/WebAppRpcLogging.d.ts.map +1 -1
  637. package/lib/esm/rpc/web/WebAppRpcLogging.js +14 -10
  638. package/lib/esm/rpc/web/WebAppRpcLogging.js.map +1 -1
  639. package/lib/esm/rpc/web/WebAppRpcProtocol.d.ts +1 -0
  640. package/lib/esm/rpc/web/WebAppRpcProtocol.d.ts.map +1 -1
  641. package/lib/esm/rpc/web/WebAppRpcProtocol.js +3 -2
  642. package/lib/esm/rpc/web/WebAppRpcProtocol.js.map +1 -1
  643. package/lib/esm/rpc/web/WebAppRpcRequest.d.ts +5 -6
  644. package/lib/esm/rpc/web/WebAppRpcRequest.d.ts.map +1 -1
  645. package/lib/esm/rpc/web/WebAppRpcRequest.js +47 -25
  646. package/lib/esm/rpc/web/WebAppRpcRequest.js.map +1 -1
  647. package/lib/esm/rpc/web/multipart/RpcMultipartParser.d.ts.map +1 -1
  648. package/lib/esm/rpc/web/multipart/RpcMultipartParser.js +1 -0
  649. package/lib/esm/rpc/web/multipart/RpcMultipartParser.js.map +1 -1
  650. package/lib/esm/tile/ElementGraphics.d.ts +8 -0
  651. package/lib/esm/tile/ElementGraphics.d.ts.map +1 -1
  652. package/lib/esm/tile/ElementGraphics.js.map +1 -1
  653. package/lib/esm/tile/IModelTileIO.d.ts +2 -2
  654. package/lib/esm/tile/IModelTileIO.js +2 -2
  655. package/lib/esm/tile/IModelTileIO.js.map +1 -1
  656. package/package.json +24 -11
@@ -10,6 +10,7 @@ import { GeometryStreamProps } from "./geometry/GeometryStream";
10
10
  import { SubCategoryAppearance } from "./SubCategoryAppearance";
11
11
  /** Properties of a NavigationProperty.
12
12
  * @public
13
+ * @extensions
13
14
  */
14
15
  export interface RelatedElementProps {
15
16
  /** The Id of the element to which this element is related. */
@@ -19,6 +20,7 @@ export interface RelatedElementProps {
19
20
  }
20
21
  /** Properties of an [Element]($docs/bis/intro/element-fundamentals)
21
22
  * @public
23
+ * @extensions
22
24
  */
23
25
  export interface ElementProps extends EntityProps {
24
26
  /** The Id of the [Model]($docs/bis/intro/model-fundamentals.md) containing this element */
@@ -60,6 +62,7 @@ export declare class TypeDefinition extends RelatedElement {
60
62
  }
61
63
  /** Properties of a [GeometricElement]($backend)
62
64
  * @public
65
+ * @extensions
63
66
  */
64
67
  export interface GeometricElementProps extends ElementProps {
65
68
  /** The id of the category for this geometric element. */
@@ -75,6 +78,7 @@ export interface GeometricElementProps extends ElementProps {
75
78
  }
76
79
  /** Properties of a [[Placement3d]]
77
80
  * @public
81
+ * @extensions
78
82
  */
79
83
  export interface Placement3dProps {
80
84
  origin: XYZProps;
@@ -83,13 +87,17 @@ export interface Placement3dProps {
83
87
  }
84
88
  /** Properties of a [[Placement2d]]
85
89
  * @public
90
+ * @extensions
86
91
  */
87
92
  export interface Placement2dProps {
88
93
  origin: XYProps;
89
94
  angle: AngleProps;
90
95
  bbox?: LowAndHighXY;
91
96
  }
92
- /** @public */
97
+ /**
98
+ * @public
99
+ * @extensions
100
+ */
93
101
  export declare type PlacementProps = Placement2dProps | Placement3dProps;
94
102
  /** determine if this is Placement2dProps
95
103
  * @public
@@ -101,6 +109,7 @@ export declare function isPlacement2dProps(props: PlacementProps): props is Plac
101
109
  export declare function isPlacement3dProps(props: PlacementProps): props is Placement3dProps;
102
110
  /** Properties that define a [GeometricElement3d]($backend)
103
111
  * @public
112
+ * @extensions
104
113
  */
105
114
  export interface GeometricElement3dProps extends GeometricElementProps {
106
115
  placement?: Placement3dProps;
@@ -108,12 +117,14 @@ export interface GeometricElement3dProps extends GeometricElementProps {
108
117
  }
109
118
  /** Properties that define a [PhysicalElement]($backend)
110
119
  * @public
120
+ * @extensions
111
121
  */
112
122
  export interface PhysicalElementProps extends GeometricElement3dProps {
113
123
  physicalMaterial?: RelatedElementProps;
114
124
  }
115
125
  /** An enumeration of the different types of [SectionDrawing]($backend)s.
116
126
  * @public
127
+ * @extensions
117
128
  */
118
129
  export declare enum SectionType {
119
130
  Section = 3,
@@ -123,6 +134,7 @@ export declare enum SectionType {
123
134
  }
124
135
  /** Properties that define a [SectionDrawing]($backend).
125
136
  * @public
137
+ * @extensions
126
138
  */
127
139
  export interface SectionDrawingProps extends ElementProps {
128
140
  /** The type of section used to generate the drawing. Default: Section. */
@@ -145,6 +157,7 @@ export interface SectionDrawingProps extends ElementProps {
145
157
  }
146
158
  /** Properties that define a [SectionDrawingLocation]($backend)
147
159
  * @public
160
+ * @extensions
148
161
  */
149
162
  export interface SectionDrawingLocationProps extends GeometricElement3dProps {
150
163
  /** The [ViewDefinition]($backend) to which this location refers. */
@@ -152,6 +165,7 @@ export interface SectionDrawingLocationProps extends GeometricElement3dProps {
152
165
  }
153
166
  /** Properties that define a [GeometricElement2d]($backend)
154
167
  * @public
168
+ * @extensions
155
169
  */
156
170
  export interface GeometricElement2dProps extends GeometricElementProps {
157
171
  placement?: Placement2dProps;
@@ -159,6 +173,7 @@ export interface GeometricElement2dProps extends GeometricElementProps {
159
173
  }
160
174
  /** Properties of a [GeometryPart]($backend)
161
175
  * @public
176
+ * @extensions
162
177
  */
163
178
  export interface GeometryPartProps extends ElementProps {
164
179
  geom?: GeometryStreamProps;
@@ -170,6 +185,7 @@ export interface GeometryPartProps extends ElementProps {
170
185
  }
171
186
  /** Properties for a [ViewAttachment]($backend)
172
187
  * @public
188
+ * @extensions
173
189
  */
174
190
  export interface ViewAttachmentProps extends GeometricElement2dProps {
175
191
  view: RelatedElementProps;
@@ -191,6 +207,7 @@ export interface ViewAttachmentProps extends GeometricElement2dProps {
191
207
  }
192
208
  /** Properties of a [Subject]($backend)
193
209
  * @public
210
+ * @extensions
194
211
  */
195
212
  export interface SubjectProps extends ElementProps {
196
213
  description?: string;
@@ -212,6 +229,7 @@ export interface SheetTemplateProps extends ElementProps {
212
229
  }
213
230
  /** Properties of a [Sheet]($backend).
214
231
  * @public
232
+ * @extensions
215
233
  */
216
234
  export interface SheetProps extends ElementProps {
217
235
  width?: number;
@@ -222,18 +240,21 @@ export interface SheetProps extends ElementProps {
222
240
  }
223
241
  /** Properties of a [DefinitionElement]($backend)
224
242
  * @public
243
+ * @extensions
225
244
  */
226
245
  export interface DefinitionElementProps extends ElementProps {
227
246
  isPrivate?: boolean;
228
247
  }
229
248
  /** Properties of a [TypeDefinitionElement]($backend)
230
249
  * @public
250
+ * @extensions
231
251
  */
232
252
  export interface TypeDefinitionElementProps extends DefinitionElementProps {
233
253
  recipe?: RelatedElementProps;
234
254
  }
235
255
  /** Properties of a [PhysicalType]($backend)
236
256
  * @public
257
+ * @extensions
237
258
  */
238
259
  export interface PhysicalTypeProps extends TypeDefinitionElementProps {
239
260
  /** The [PhysicalMaterial]($backend) that makes up this physical type. */
@@ -241,6 +262,7 @@ export interface PhysicalTypeProps extends TypeDefinitionElementProps {
241
262
  }
242
263
  /** Properties of a [InformationPartitionElement]($backend)
243
264
  * @public
265
+ * @extensions
244
266
  */
245
267
  export interface InformationPartitionElementProps extends ElementProps {
246
268
  description?: string;
@@ -248,6 +270,7 @@ export interface InformationPartitionElementProps extends ElementProps {
248
270
  /** Options controlling which properties are included or excluded when querying [[DisplayStyleProps]].
249
271
  * @see [[ViewStateLoadProps]] and [[ElementLoadOptions]].
250
272
  * @public
273
+ * @extensions
251
274
  */
252
275
  export interface DisplayStyleLoadProps {
253
276
  /** If true, the lists of element Ids in the display style's schedule script will be empty.
@@ -262,6 +285,7 @@ export interface DisplayStyleLoadProps {
262
285
  /** Options controlling which properties are included or excluded when querying [[RenderTimelineProps]].
263
286
  * @see [[ElementLoadOptions.renderTimeline]].
264
287
  * @public
288
+ * @extensions
265
289
  */
266
290
  export interface RenderTimelineLoadProps {
267
291
  /** If true, the lists of element Ids in the schedule script will be empty.
@@ -272,6 +296,7 @@ export interface RenderTimelineLoadProps {
272
296
  /** Options used to specify properties to include or exclude when querying [[ElementProps]] with functions like
273
297
  * [IModelDb.Elements.getElementProps]($backend) and [IModelConnection.Elements.loadProps]($frontend).
274
298
  * @public
299
+ * @extensions
275
300
  */
276
301
  export interface ElementLoadOptions {
277
302
  /** If true, include the [[GeometryStreamProps]] for [[GeometricElementProps]] and [[GeometryPartProps]].
@@ -290,6 +315,7 @@ export interface ElementLoadOptions {
290
315
  }
291
316
  /** Parameters to specify what element to load for functions like [IModelDb.Elements.getElementProps]($backend).
292
317
  * @public
318
+ * @extensions
293
319
  */
294
320
  export interface ElementLoadProps extends ElementLoadOptions {
295
321
  id?: Id64String;
@@ -298,12 +324,14 @@ export interface ElementLoadProps extends ElementLoadOptions {
298
324
  }
299
325
  /** Properties of an [ElementAspect]($backend)
300
326
  * @public
327
+ * @extensions
301
328
  */
302
329
  export interface ElementAspectProps extends EntityProps {
303
330
  element: RelatedElementProps;
304
331
  }
305
332
  /** Properties of an [ExternalSourceAspect]($backend) that stores synchronization information for an element originating from an external source.
306
333
  * @public
334
+ * @extensions
307
335
  */
308
336
  export interface ExternalSourceAspectProps extends ElementAspectProps {
309
337
  /** An element that scopes the combination of `kind` and `identifier` to uniquely identify the object from the external source. */
@@ -355,6 +383,7 @@ export interface ExternalSourceAttachmentProps extends ElementProps {
355
383
  }
356
384
  /** Properties of an [ChannelRootAspect]($backend) that identifies an Element as the root of a *channel* which is a subset of the overall iModel hierarchy that is independently maintained.
357
385
  * @public
386
+ * @extensions
358
387
  */
359
388
  export interface ChannelRootAspectProps extends ElementAspectProps {
360
389
  /** The owner of the channel */
@@ -362,6 +391,7 @@ export interface ChannelRootAspectProps extends ElementAspectProps {
362
391
  }
363
392
  /** Properties of a [LineStyle]($backend)
364
393
  * @public
394
+ * @extensions
365
395
  */
366
396
  export interface LineStyleProps extends DefinitionElementProps {
367
397
  description?: string;
@@ -376,6 +406,7 @@ export interface LightLocationProps extends GeometricElement3dProps {
376
406
  }
377
407
  /** The *rank* for a Category
378
408
  * @public
409
+ * @extensions
379
410
  */
380
411
  export declare enum Rank {
381
412
  /** This category is predefined by the system */
@@ -389,6 +420,7 @@ export declare enum Rank {
389
420
  }
390
421
  /** Parameters of a [Category]($backend)
391
422
  * @public
423
+ * @extensions
392
424
  */
393
425
  export interface CategoryProps extends DefinitionElementProps {
394
426
  rank?: Rank;
@@ -396,6 +428,7 @@ export interface CategoryProps extends DefinitionElementProps {
396
428
  }
397
429
  /** Parameters of a [SubCategory]($backend)
398
430
  * @public
431
+ * @extensions
399
432
  */
400
433
  export interface SubCategoryProps extends DefinitionElementProps {
401
434
  appearance?: SubCategoryAppearance.Props;
@@ -403,6 +436,7 @@ export interface SubCategoryProps extends DefinitionElementProps {
403
436
  }
404
437
  /** Parameters of a [UrlLink]($backend)
405
438
  * @public
439
+ * @extensions
406
440
  */
407
441
  export interface UrlLinkProps extends ElementProps {
408
442
  description?: string;
@@ -410,6 +444,7 @@ export interface UrlLinkProps extends ElementProps {
410
444
  }
411
445
  /** Parameters of a [RepositoryLink]($backend)
412
446
  * @public
447
+ * @extensions
413
448
  */
414
449
  export interface RepositoryLinkProps extends UrlLinkProps {
415
450
  repositoryGuid?: GuidString;
@@ -423,6 +458,7 @@ export interface SynchronizationConfigLinkProps extends UrlLinkProps {
423
458
  }
424
459
  /** Wire format describing a [RenderTimeline]($backend).
425
460
  * @public
461
+ * @extensions
426
462
  */
427
463
  export interface RenderTimelineProps extends ElementProps {
428
464
  /** An optional human-readable description of the timeline. */
@@ -1 +1 @@
1
- {"version":3,"file":"ElementProps.d.ts","sourceRoot":"","sources":["../../src/ElementProps.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAQ,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EACL,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAC/G,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,4BAA4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AC3D,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,sBAAsB;IAC9D,UAAU,CAAC,EAAE,qBAAqB,CAAC,KAAK,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,WAAW,YAAa,SAAQ,YAAY;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,YAAY;IAClE,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -63,6 +63,7 @@ function isPlacement3dProps(props) {
63
63
  exports.isPlacement3dProps = isPlacement3dProps;
64
64
  /** An enumeration of the different types of [SectionDrawing]($backend)s.
65
65
  * @public
66
+ * @extensions
66
67
  */
67
68
  var SectionType;
68
69
  (function (SectionType) {
@@ -83,6 +84,7 @@ var ExternalSourceAttachmentRole;
83
84
  })(ExternalSourceAttachmentRole = exports.ExternalSourceAttachmentRole || (exports.ExternalSourceAttachmentRole = {}));
84
85
  /** The *rank* for a Category
85
86
  * @public
87
+ * @extensions
86
88
  */
87
89
  var Rank;
88
90
  (function (Rank) {
@@ -1 +1 @@
1
- {"version":3,"file":"ElementProps.js","sourceRoot":"","sources":["../../src/ElementProps.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,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EC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAAC,KAAqB;IACtD,OAAO,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC;AACpC,CAAC;AAFD,gDAEC;AAiBD;;GAEG;AACH,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,mDAAW,CAAA;IACX,iDAAU,CAAA;IACV,uDAAa,CAAA;IACb,6CAAQ,CAAA;AACV,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AAyOD;;GAEG;AACH,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACtC,gEAAgE;IAChE,mGAAkB,CAAA;IAClB,0EAA0E;IAC1E,6FAAe,CAAA;AACjB,CAAC,EALW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAKvC;AAuCD;;GAEG;AACH,IAAY,IASX;AATD,WAAY,IAAI;IACd,gDAAgD;IAChD,mCAAU,CAAA;IACV,4GAA4G;IAC5G,mCAAU,CAAA;IACV,6HAA6H;IAC7H,6CAAe,CAAA;IACf,mIAAmI;IACnI,+BAAQ,CAAA;AACV,CAAC,EATW,IAAI,GAAJ,YAAI,KAAJ,YAAI,QASf","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 Entities\r\n */\r\n\r\nimport { GuidString, Id64, Id64String } from \"@itwin/core-bentley\";\r\nimport {\r\n AngleProps, ClipVectorProps, LowAndHighXY, LowAndHighXYZ, TransformProps, XYProps, XYZProps, YawPitchRollProps,\r\n} from \"@itwin/core-geometry\";\r\nimport { CodeProps } from \"./Code\";\r\nimport { EntityProps } from \"./EntityProps\";\r\nimport { ElementGeometryBuilderParams, ElementGeometryBuilderParamsForPart } from \"./geometry/ElementGeometry\";\r\nimport { GeometryStreamProps } from \"./geometry/GeometryStream\";\r\nimport { IModelError, IModelStatus } from \"./IModelError\";\r\nimport { SubCategoryAppearance } from \"./SubCategoryAppearance\";\r\n\r\n/** Properties of a NavigationProperty.\r\n * @public\r\n */\r\nexport interface RelatedElementProps {\r\n /** The Id of the element to which this element is related. */\r\n id: Id64String;\r\n /** The full className of the relationship class. */\r\n relClassName?: string;\r\n}\r\n\r\n/** Properties of an [Element]($docs/bis/intro/element-fundamentals)\r\n * @public\r\n */\r\nexport interface ElementProps extends EntityProps {\r\n /** The Id of the [Model]($docs/bis/intro/model-fundamentals.md) containing this element */\r\n model: Id64String;\r\n /** The [Code]($docs/bis/intro/codes.md) for this element */\r\n code: CodeProps;\r\n /** The Parent of this element, if defined. */\r\n parent?: RelatedElementProps;\r\n /** A [FederationGuid]($docs/bis/intro/element-fundamentals.md#federationguid) assigned to this element.\r\n * @note On insert, if this is a valid Guid, the value is preserved. If it is `undefined`, a new Guid is created. If it is an invalid Guid (e.g. Guid.empty), the\r\n * resultant element will have a `null` federationGuid. For update, `undefined` means \"don't change.\"\r\n */\r\n federationGuid?: GuidString;\r\n /** A [user-assigned label]($docs/bis/intro/element-fundamentals.md#userlabel) for this element. */\r\n userLabel?: string;\r\n /** Optional [json properties]($docs/bis/intro/element-fundamentals.md#jsonproperties) of this element. */\r\n jsonProperties?: any;\r\n}\r\n\r\n/** The Id and relationship class of an Element that is somehow related to another Element\r\n * @public\r\n */\r\nexport class RelatedElement implements RelatedElementProps {\r\n /** The Id of the element to which this element is related. */\r\n public readonly id: Id64String;\r\n\r\n /** The full className of the relationship class. */\r\n public readonly relClassName?: string;\r\n\r\n constructor(props: RelatedElementProps) {\r\n this.id = Id64.fromJSON(props.id);\r\n this.relClassName = props.relClassName;\r\n }\r\n\r\n public static fromJSON(json?: RelatedElementProps): RelatedElement | undefined {\r\n return json ? new RelatedElement(json) : undefined;\r\n }\r\n\r\n /** Used to *null out* an existing navigation relationship. */\r\n public static readonly none = new RelatedElement({ id: Id64.invalid });\r\n\r\n /** Accept the value of a navigation property that might be in the shortened format of just an id or might be in the full RelatedElement format. */\r\n public static idFromJson(json: any): Id64String {\r\n if ((typeof json === \"object\") && (\"id\" in json)) {\r\n const r = RelatedElement.fromJSON(json);\r\n if (r === undefined)\r\n throw new IModelError(IModelStatus.BadArg, \"Problem parsing Id64 from json\");\r\n return r.id;\r\n }\r\n return Id64.fromJSON(json);\r\n }\r\n\r\n public toJSON(): RelatedElementProps {\r\n return {\r\n id: this.id,\r\n relClassName: this.relClassName,\r\n };\r\n }\r\n}\r\n\r\n/** A [RelatedElement]($common) relationship that describes the [TypeDefinitionElement]($backend) of an element.\r\n * @public\r\n */\r\nexport class TypeDefinition extends RelatedElement {\r\n}\r\n\r\n/** Properties of a [GeometricElement]($backend)\r\n * @public\r\n */\r\nexport interface GeometricElementProps extends ElementProps {\r\n /** The id of the category for this geometric element. */\r\n category: Id64String;\r\n /** The geometry stream properties */\r\n geom?: GeometryStreamProps;\r\n /** How to build the element's GeometryStream. This is used for insert and update only. It is not a persistent property. It will be undefined in the properties returned by functions that read a persistent element. It may be specified as an alternative to `geom` when inserting or updating an element.\r\n * @alpha\r\n */\r\n elementGeometryBuilderParams?: ElementGeometryBuilderParams;\r\n /** The placement properties */\r\n placement?: PlacementProps;\r\n}\r\n\r\n/** Properties of a [[Placement3d]]\r\n * @public\r\n */\r\nexport interface Placement3dProps {\r\n origin: XYZProps;\r\n angles: YawPitchRollProps;\r\n bbox?: LowAndHighXYZ;\r\n}\r\n\r\n/** Properties of a [[Placement2d]]\r\n * @public\r\n */\r\nexport interface Placement2dProps {\r\n origin: XYProps;\r\n angle: AngleProps;\r\n bbox?: LowAndHighXY;\r\n}\r\n\r\n/** @public */\r\nexport type PlacementProps = Placement2dProps | Placement3dProps;\r\n\r\n/** determine if this is Placement2dProps\r\n * @public\r\n */\r\nexport function isPlacement2dProps(props: PlacementProps): props is Placement2dProps {\r\n return (props as Placement2dProps).angle !== undefined;\r\n}\r\n\r\n/** determine if this is Placement3dProps\r\n * @public\r\n */\r\nexport function isPlacement3dProps(props: PlacementProps): props is Placement3dProps {\r\n return !isPlacement2dProps(props);\r\n}\r\n\r\n/** Properties that define a [GeometricElement3d]($backend)\r\n * @public\r\n */\r\nexport interface GeometricElement3dProps extends GeometricElementProps {\r\n placement?: Placement3dProps;\r\n typeDefinition?: RelatedElementProps;\r\n}\r\n\r\n/** Properties that define a [PhysicalElement]($backend)\r\n * @public\r\n */\r\nexport interface PhysicalElementProps extends GeometricElement3dProps {\r\n physicalMaterial?: RelatedElementProps;\r\n}\r\n\r\n/** An enumeration of the different types of [SectionDrawing]($backend)s.\r\n * @public\r\n */\r\nexport enum SectionType {\r\n Section = 3,\r\n Detail = 4,\r\n Elevation = 5,\r\n Plan = 6,\r\n}\r\n\r\n/** Properties that define a [SectionDrawing]($backend).\r\n * @public\r\n */\r\nexport interface SectionDrawingProps extends ElementProps {\r\n /** The type of section used to generate the drawing. Default: Section. */\r\n sectionType?: SectionType;\r\n /** The spatial view from which the section was generated. */\r\n spatialView?: RelatedElementProps;\r\n jsonProperties?: {\r\n /** A transform from the section drawing model's coordinates to spatial coordinates. */\r\n drawingToSpatialTransform?: TransformProps;\r\n /** If the section drawing is placed onto a [Sheet]($backend) via a [ViewAttachment]($backend), a transform from the sheet's coordinates to spatial coordinates. */\r\n sheetToSpatialTransform?: TransformProps;\r\n /** If the section drawing is placed onto a [Sheet]($backend) via a [ViewAttachment]($backend), JSON representation of a [ClipVector]($geometry) to apply to\r\n * the sheet graphics when drawn in the context of the spatial view.\r\n * The ClipVector is in spatial coordinates.\r\n */\r\n drawingBoundaryClip?: ClipVectorProps;\r\n /** If true, when displaying the section drawing as a [DrawingViewState]($frontend), the [[spatialView]] will also be displayed. */\r\n displaySpatialView?: true;\r\n };\r\n}\r\n\r\n/** Properties that define a [SectionDrawingLocation]($backend)\r\n * @public\r\n */\r\nexport interface SectionDrawingLocationProps extends GeometricElement3dProps {\r\n /** The [ViewDefinition]($backend) to which this location refers. */\r\n sectionView?: RelatedElementProps;\r\n}\r\n\r\n/** Properties that define a [GeometricElement2d]($backend)\r\n * @public\r\n */\r\nexport interface GeometricElement2dProps extends GeometricElementProps {\r\n placement?: Placement2dProps;\r\n typeDefinition?: RelatedElementProps;\r\n}\r\n\r\n/** Properties of a [GeometryPart]($backend)\r\n * @public\r\n */\r\nexport interface GeometryPartProps extends ElementProps {\r\n geom?: GeometryStreamProps;\r\n /** How to build the part's GeometryStream. This is used for insert and update only. It is not a persistent property. It will be undefined in the properties returned by functions that read a persistent element. It may be specified as an alternative to `geom` when inserting or updating an element.\r\n * @alpha\r\n */\r\n elementGeometryBuilderParams?: ElementGeometryBuilderParamsForPart;\r\n bbox?: LowAndHighXYZ;\r\n}\r\n\r\n/** Properties for a [ViewAttachment]($backend)\r\n * @public\r\n */\r\nexport interface ViewAttachmentProps extends GeometricElement2dProps {\r\n view: RelatedElementProps;\r\n jsonProperties?: {\r\n /** Integer priority in [-500,500]. Where two attachments overlap, the one with the higher priority draws in front of the other. Default: 0. */\r\n displayPriority?: number;\r\n /** JSON representation of a [ClipVector]($core-geometry] in sheet coordinate space, used to clip the attachment's graphics on the sheet. */\r\n clip?: ClipVectorProps;\r\n /** Options for customizing how the view attachment is displayed on the sheet. */\r\n displayOptions?: {\r\n /** If true, the view attachment is always drawn as a raster image. By default, only 3d perspective views are drawn this way (they always *must* be). Default: false. */\r\n drawAsRaster?: boolean;\r\n /** If true, and the view attachment is drawn as a raster image, the background color of the view will be preserved. By default the background color of the\r\n * sheet is used and any background pixels become transparent, allowing the contents of the sheet to show through. Default: false.\r\n */\r\n preserveBackground?: boolean;\r\n };\r\n };\r\n}\r\n\r\n/** Properties of a [Subject]($backend)\r\n * @public\r\n */\r\nexport interface SubjectProps extends ElementProps {\r\n description?: string;\r\n}\r\n\r\n/** Properties of a [SheetBorderTemplate]($backend)\r\n * @beta\r\n */\r\nexport interface SheetBorderTemplateProps extends ElementProps {\r\n height?: number;\r\n width?: number;\r\n}\r\n\r\n/** Properties of a [SheetTemplate]($backend)\r\n * @beta\r\n */\r\nexport interface SheetTemplateProps extends ElementProps {\r\n height?: number;\r\n width?: number;\r\n border?: Id64String;\r\n}\r\n\r\n/** Properties of a [Sheet]($backend).\r\n * @public\r\n */\r\nexport interface SheetProps extends ElementProps {\r\n width?: number;\r\n height?: number;\r\n scale?: number;\r\n sheetTemplate?: Id64String;\r\n attachments?: Id64String[];\r\n}\r\n\r\n/** Properties of a [DefinitionElement]($backend)\r\n * @public\r\n */\r\nexport interface DefinitionElementProps extends ElementProps {\r\n isPrivate?: boolean;\r\n}\r\n\r\n/** Properties of a [TypeDefinitionElement]($backend)\r\n * @public\r\n */\r\nexport interface TypeDefinitionElementProps extends DefinitionElementProps {\r\n recipe?: RelatedElementProps;\r\n}\r\n\r\n/** Properties of a [PhysicalType]($backend)\r\n * @public\r\n */\r\nexport interface PhysicalTypeProps extends TypeDefinitionElementProps {\r\n /** The [PhysicalMaterial]($backend) that makes up this physical type. */\r\n physicalMaterial?: RelatedElementProps;\r\n}\r\n\r\n/** Properties of a [InformationPartitionElement]($backend)\r\n * @public\r\n */\r\nexport interface InformationPartitionElementProps extends ElementProps {\r\n description?: string;\r\n}\r\n\r\n/** Options controlling which properties are included or excluded when querying [[DisplayStyleProps]].\r\n * @see [[ViewStateLoadProps]] and [[ElementLoadOptions]].\r\n * @public\r\n */\r\nexport interface DisplayStyleLoadProps {\r\n /** If true, the lists of element Ids in the display style's schedule script will be empty.\r\n * The element Ids are not required on the frontend for display and can be quite large.\r\n */\r\n omitScheduleScriptElementIds?: boolean;\r\n /** If true, [[DisplayStyleSettingsProps.excludedElements]] will be compressed into a single compact string; otherwise they will be expanded into an array of strings.\r\n * The number of Ids may be quite large, so the compressed format is preferred, especially when communicating between the backend and frontend.\r\n */\r\n compressExcludedElementIds?: boolean;\r\n}\r\n\r\n/** Options controlling which properties are included or excluded when querying [[RenderTimelineProps]].\r\n * @see [[ElementLoadOptions.renderTimeline]].\r\n * @public\r\n */\r\nexport interface RenderTimelineLoadProps {\r\n /** If true, the lists of element Ids in the schedule script will be empty.\r\n * The element Ids can be extremely numerous and are not required on the frontend for display, so they are omitted by default by [DisplayStyleState.load]($frontend).\r\n */\r\n omitScriptElementIds?: boolean;\r\n}\r\n\r\n/** Options used to specify properties to include or exclude when querying [[ElementProps]] with functions like\r\n * [IModelDb.Elements.getElementProps]($backend) and [IModelConnection.Elements.loadProps]($frontend).\r\n * @public\r\n */\r\nexport interface ElementLoadOptions {\r\n /** If true, include the [[GeometryStreamProps]] for [[GeometricElementProps]] and [[GeometryPartProps]].\r\n * Geometry streams can consist of many megabytes worth of JSON, so they are omitted by default.\r\n */\r\n wantGeometry?: boolean;\r\n /** When including a geometry stream containing brep entries, whether to return the raw brep data or proxy geometry, false when undefined */\r\n /** If true, include [[BRepEntity.DataProps.data]] in the [[GeometryStreamProps]] for [[GeometricElementProps]] and [[GeometryPartProps]].\r\n * The data is a potentially large base-64-encoded opaque binary blob that cannot be directly inspected or manipulated on the frontend, so it is omitted by default.\r\n */\r\n wantBRepData?: boolean;\r\n /** Options controlling which properties of [[DisplayStyleProps]] to include or exclude. */\r\n displayStyle?: DisplayStyleLoadProps;\r\n /** Options controlling which properties of [[RenderTimelineProps]] to include or exclude. */\r\n renderTimeline?: RenderTimelineLoadProps;\r\n}\r\n\r\n/** Parameters to specify what element to load for functions like [IModelDb.Elements.getElementProps]($backend).\r\n * @public\r\n */\r\nexport interface ElementLoadProps extends ElementLoadOptions {\r\n id?: Id64String;\r\n code?: CodeProps;\r\n federationGuid?: GuidString;\r\n}\r\n\r\n/** Properties of an [ElementAspect]($backend)\r\n * @public\r\n */\r\nexport interface ElementAspectProps extends EntityProps {\r\n element: RelatedElementProps;\r\n}\r\n\r\n/** Properties of an [ExternalSourceAspect]($backend) that stores synchronization information for an element originating from an external source.\r\n * @public\r\n */\r\nexport interface ExternalSourceAspectProps extends ElementAspectProps {\r\n /** An element that scopes the combination of `kind` and `identifier` to uniquely identify the object from the external source. */\r\n scope: RelatedElementProps;\r\n /** The identifier of the object in the source repository. */\r\n identifier: string;\r\n /** The kind of object within the source repository. */\r\n kind: string;\r\n /** An optional value that is typically a version number or a pseudo version number like last modified time.\r\n * It will be used by the synchronization process to detect that a source object is unchanged so that computing a cryptographic hash can be avoided.\r\n * If present, this value must be guaranteed to change when any of the source object's content changes.\r\n */\r\n version?: string;\r\n /** The optional cryptographic hash (any algorithm) of the source object's content. If defined, it must be guaranteed to change when the source object's content changes. */\r\n checksum?: string;\r\n /** A place where additional JSON properties can be stored. For example, provenance information or properties relating to the synchronization process. */\r\n jsonProperties?: any;\r\n /** The source of the imported/synchronized object. Should point to an instance of [ExternalSource]($backend). */\r\n source?: RelatedElementProps;\r\n}\r\n\r\n/** Properties of an [ExternalSource]($backend)\r\n * @beta\r\n */\r\nexport interface ExternalSourceProps extends ElementProps {\r\n repository?: RelatedElementProps;\r\n connectorName?: string;\r\n connectorVersion?: string;\r\n}\r\n\r\n/** The role that an attached [ExternalSource]($backend) plays.\r\n * @beta\r\n */\r\nexport enum ExternalSourceAttachmentRole {\r\n /** The attached [ExternalSource]($backend) provides context. */\r\n SpecifyContext = 0,\r\n /** The attached [ExternalSource]($backend) models a part of the whole. */\r\n SpecifyPart = 1,\r\n}\r\n\r\n/** Properties of an [ExternalSourceAttachment]($backend)\r\n * @beta\r\n */\r\nexport interface ExternalSourceAttachmentProps extends ElementProps {\r\n attaches?: RelatedElementProps;\r\n role?: ExternalSourceAttachmentRole;\r\n translation?: XYZProps;\r\n yaw?: number;\r\n pitch?: number;\r\n roll?: number;\r\n scale?: XYZProps;\r\n}\r\n\r\n/** Properties of an [ChannelRootAspect]($backend) that identifies an Element as the root of a *channel* which is a subset of the overall iModel hierarchy that is independently maintained.\r\n * @public\r\n */\r\nexport interface ChannelRootAspectProps extends ElementAspectProps {\r\n /** The owner of the channel */\r\n owner: string;\r\n}\r\n\r\n/** Properties of a [LineStyle]($backend)\r\n * @public\r\n */\r\nexport interface LineStyleProps extends DefinitionElementProps {\r\n description?: string;\r\n /** The JSON string line style definition element data [LineStyleDefinition.StyleProps]($backend) */\r\n data: string;\r\n}\r\n\r\n/** Properties of a [LightLocation]($backend)\r\n * @internal\r\n */\r\nexport interface LightLocationProps extends GeometricElement3dProps {\r\n enabled?: boolean;\r\n}\r\n\r\n/** The *rank* for a Category\r\n * @public\r\n */\r\nexport enum Rank {\r\n /** This category is predefined by the system */\r\n System = 0,\r\n /** This category is defined by a schema. Elements in this category are not recognized by system classes. */\r\n Domain = 1,\r\n /** This category is defined by an application. Elements in this category are not recognized by system and schema classes. */\r\n Application = 2,\r\n /** This category is defined by a user. Elements in this category are not recognized by system, schema, and application classes. */\r\n User = 3,\r\n}\r\n\r\n/** Parameters of a [Category]($backend)\r\n * @public\r\n */\r\nexport interface CategoryProps extends DefinitionElementProps {\r\n rank?: Rank;\r\n description?: string;\r\n}\r\n\r\n/** Parameters of a [SubCategory]($backend)\r\n * @public\r\n */\r\nexport interface SubCategoryProps extends DefinitionElementProps {\r\n appearance?: SubCategoryAppearance.Props;\r\n description?: string;\r\n}\r\n\r\n/** Parameters of a [UrlLink]($backend)\r\n * @public\r\n */\r\nexport interface UrlLinkProps extends ElementProps {\r\n description?: string;\r\n url?: string;\r\n}\r\n\r\n/** Parameters of a [RepositoryLink]($backend)\r\n * @public\r\n */\r\nexport interface RepositoryLinkProps extends UrlLinkProps {\r\n repositoryGuid?: GuidString;\r\n format?: string;\r\n}\r\n\r\n/** The properties of a [SynchronizationConfigLink]($backend)\r\n * @beta\r\n */\r\nexport interface SynchronizationConfigLinkProps extends UrlLinkProps {\r\n lastSuccessfulRun?: string;\r\n}\r\n\r\n/** Wire format describing a [RenderTimeline]($backend).\r\n * @public\r\n */\r\nexport interface RenderTimelineProps extends ElementProps {\r\n /** An optional human-readable description of the timeline. */\r\n description?: string;\r\n /** The stringified JSON representation of the instructions for visualizing change over time.\r\n * @see [[RenderSchedule.ScriptProps]] for the JSON interface.\r\n */\r\n script: string;\r\n}\r\n"]}
1
+ {"version":3,"file":"ElementProps.js","sourceRo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KAAqB;IACtD,OAAQ,KAA0B,CAAC,KAAK,KAAK,SAAS,CAAC;AACzD,CAAC;AAFD,gDAEC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAAC,KAAqB;IACtD,OAAO,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC;AACpC,CAAC;AAFD,gDAEC;AAmBD;;;GAGG;AACH,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,mDAAW,CAAA;IACX,iDAAU,CAAA;IACV,uDAAa,CAAA;IACb,6CAAQ,CAAA;AACV,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AA0PD;;GAEG;AACH,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACtC,gEAAgE;IAChE,mGAAkB,CAAA;IAClB,0EAA0E;IAC1E,6FAAe,CAAA;AACjB,CAAC,EALW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAKvC;AAyCD;;;GAGG;AACH,IAAY,IASX;AATD,WAAY,IAAI;IACd,gDAAgD;IAChD,mCAAU,CAAA;IACV,4GAA4G;IAC5G,mCAAU,CAAA;IACV,6HAA6H;IAC7H,6CAAe,CAAA;IACf,mIAAmI;IACnI,+BAAQ,CAAA;AACV,CAAC,EATW,IAAI,GAAJ,YAAI,KAAJ,YAAI,QASf","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 Entities\r\n */\r\n\r\nimport { GuidString, Id64, Id64String } from \"@itwin/core-bentley\";\r\nimport {\r\n AngleProps, ClipVectorProps, LowAndHighXY, LowAndHighXYZ, TransformProps, XYProps, XYZProps, YawPitchRollProps,\r\n} from \"@itwin/core-geometry\";\r\nimport { CodeProps } from \"./Code\";\r\nimport { EntityProps } from \"./EntityProps\";\r\nimport { ElementGeometryBuilderParams, ElementGeometryBuilderParamsForPart } from \"./geometry/ElementGeometry\";\r\nimport { GeometryStreamProps } from \"./geometry/GeometryStream\";\r\nimport { IModelError, IModelStatus } from \"./IModelError\";\r\nimport { SubCategoryAppearance } from \"./SubCategoryAppearance\";\r\n\r\n/** Properties of a NavigationProperty.\r\n * @public\r\n * @extensions\r\n */\r\nexport interface RelatedElementProps {\r\n /** The Id of the element to which this element is related. */\r\n id: Id64String;\r\n /** The full className of the relationship class. */\r\n relClassName?: string;\r\n}\r\n\r\n/** Properties of an [Element]($docs/bis/intro/element-fundamentals)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface ElementProps extends EntityProps {\r\n /** The Id of the [Model]($docs/bis/intro/model-fundamentals.md) containing this element */\r\n model: Id64String;\r\n /** The [Code]($docs/bis/intro/codes.md) for this element */\r\n code: CodeProps;\r\n /** The Parent of this element, if defined. */\r\n parent?: RelatedElementProps;\r\n /** A [FederationGuid]($docs/bis/intro/element-fundamentals.md#federationguid) assigned to this element.\r\n * @note On insert, if this is a valid Guid, the value is preserved. If it is `undefined`, a new Guid is created. If it is an invalid Guid (e.g. Guid.empty), the\r\n * resultant element will have a `null` federationGuid. For update, `undefined` means \"don't change.\"\r\n */\r\n federationGuid?: GuidString;\r\n /** A [user-assigned label]($docs/bis/intro/element-fundamentals.md#userlabel) for this element. */\r\n userLabel?: string;\r\n /** Optional [json properties]($docs/bis/intro/element-fundamentals.md#jsonproperties) of this element. */\r\n jsonProperties?: any;\r\n}\r\n\r\n/** The Id and relationship class of an Element that is somehow related to another Element\r\n * @public\r\n */\r\nexport class RelatedElement implements RelatedElementProps {\r\n /** The Id of the element to which this element is related. */\r\n public readonly id: Id64String;\r\n\r\n /** The full className of the relationship class. */\r\n public readonly relClassName?: string;\r\n\r\n constructor(props: RelatedElementProps) {\r\n this.id = Id64.fromJSON(props.id);\r\n this.relClassName = props.relClassName;\r\n }\r\n\r\n public static fromJSON(json?: RelatedElementProps): RelatedElement | undefined {\r\n return json ? new RelatedElement(json) : undefined;\r\n }\r\n\r\n /** Used to *null out* an existing navigation relationship. */\r\n public static readonly none = new RelatedElement({ id: Id64.invalid });\r\n\r\n /** Accept the value of a navigation property that might be in the shortened format of just an id or might be in the full RelatedElement format. */\r\n public static idFromJson(json: any): Id64String {\r\n if ((typeof json === \"object\") && (\"id\" in json)) {\r\n const r = RelatedElement.fromJSON(json);\r\n if (r === undefined)\r\n throw new IModelError(IModelStatus.BadArg, \"Problem parsing Id64 from json\");\r\n return r.id;\r\n }\r\n return Id64.fromJSON(json);\r\n }\r\n\r\n public toJSON(): RelatedElementProps {\r\n return {\r\n id: this.id,\r\n relClassName: this.relClassName,\r\n };\r\n }\r\n}\r\n\r\n/** A [RelatedElement]($common) relationship that describes the [TypeDefinitionElement]($backend) of an element.\r\n * @public\r\n */\r\nexport class TypeDefinition extends RelatedElement {\r\n}\r\n\r\n/** Properties of a [GeometricElement]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface GeometricElementProps extends ElementProps {\r\n /** The id of the category for this geometric element. */\r\n category: Id64String;\r\n /** The geometry stream properties */\r\n geom?: GeometryStreamProps;\r\n /** How to build the element's GeometryStream. This is used for insert and update only. It is not a persistent property. It will be undefined in the properties returned by functions that read a persistent element. It may be specified as an alternative to `geom` when inserting or updating an element.\r\n * @alpha\r\n */\r\n elementGeometryBuilderParams?: ElementGeometryBuilderParams;\r\n /** The placement properties */\r\n placement?: PlacementProps;\r\n}\r\n\r\n/** Properties of a [[Placement3d]]\r\n * @public\r\n * @extensions\r\n */\r\nexport interface Placement3dProps {\r\n origin: XYZProps;\r\n angles: YawPitchRollProps;\r\n bbox?: LowAndHighXYZ;\r\n}\r\n\r\n/** Properties of a [[Placement2d]]\r\n * @public\r\n * @extensions\r\n */\r\nexport interface Placement2dProps {\r\n origin: XYProps;\r\n angle: AngleProps;\r\n bbox?: LowAndHighXY;\r\n}\r\n\r\n/**\r\n * @public\r\n * @extensions\r\n */\r\nexport type PlacementProps = Placement2dProps | Placement3dProps;\r\n\r\n/** determine if this is Placement2dProps\r\n * @public\r\n */\r\nexport function isPlacement2dProps(props: PlacementProps): props is Placement2dProps {\r\n return (props as Placement2dProps).angle !== undefined;\r\n}\r\n\r\n/** determine if this is Placement3dProps\r\n * @public\r\n */\r\nexport function isPlacement3dProps(props: PlacementProps): props is Placement3dProps {\r\n return !isPlacement2dProps(props);\r\n}\r\n\r\n/** Properties that define a [GeometricElement3d]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface GeometricElement3dProps extends GeometricElementProps {\r\n placement?: Placement3dProps;\r\n typeDefinition?: RelatedElementProps;\r\n}\r\n\r\n/** Properties that define a [PhysicalElement]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface PhysicalElementProps extends GeometricElement3dProps {\r\n physicalMaterial?: RelatedElementProps;\r\n}\r\n\r\n/** An enumeration of the different types of [SectionDrawing]($backend)s.\r\n * @public\r\n * @extensions\r\n */\r\nexport enum SectionType {\r\n Section = 3,\r\n Detail = 4,\r\n Elevation = 5,\r\n Plan = 6,\r\n}\r\n\r\n/** Properties that define a [SectionDrawing]($backend).\r\n * @public\r\n * @extensions\r\n */\r\nexport interface SectionDrawingProps extends ElementProps {\r\n /** The type of section used to generate the drawing. Default: Section. */\r\n sectionType?: SectionType;\r\n /** The spatial view from which the section was generated. */\r\n spatialView?: RelatedElementProps;\r\n jsonProperties?: {\r\n /** A transform from the section drawing model's coordinates to spatial coordinates. */\r\n drawingToSpatialTransform?: TransformProps;\r\n /** If the section drawing is placed onto a [Sheet]($backend) via a [ViewAttachment]($backend), a transform from the sheet's coordinates to spatial coordinates. */\r\n sheetToSpatialTransform?: TransformProps;\r\n /** If the section drawing is placed onto a [Sheet]($backend) via a [ViewAttachment]($backend), JSON representation of a [ClipVector]($geometry) to apply to\r\n * the sheet graphics when drawn in the context of the spatial view.\r\n * The ClipVector is in spatial coordinates.\r\n */\r\n drawingBoundaryClip?: ClipVectorProps;\r\n /** If true, when displaying the section drawing as a [DrawingViewState]($frontend), the [[spatialView]] will also be displayed. */\r\n displaySpatialView?: true;\r\n };\r\n}\r\n\r\n/** Properties that define a [SectionDrawingLocation]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface SectionDrawingLocationProps extends GeometricElement3dProps {\r\n /** The [ViewDefinition]($backend) to which this location refers. */\r\n sectionView?: RelatedElementProps;\r\n}\r\n\r\n/** Properties that define a [GeometricElement2d]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface GeometricElement2dProps extends GeometricElementProps {\r\n placement?: Placement2dProps;\r\n typeDefinition?: RelatedElementProps;\r\n}\r\n\r\n/** Properties of a [GeometryPart]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface GeometryPartProps extends ElementProps {\r\n geom?: GeometryStreamProps;\r\n /** How to build the part's GeometryStream. This is used for insert and update only. It is not a persistent property. It will be undefined in the properties returned by functions that read a persistent element. It may be specified as an alternative to `geom` when inserting or updating an element.\r\n * @alpha\r\n */\r\n elementGeometryBuilderParams?: ElementGeometryBuilderParamsForPart;\r\n bbox?: LowAndHighXYZ;\r\n}\r\n\r\n/** Properties for a [ViewAttachment]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface ViewAttachmentProps extends GeometricElement2dProps {\r\n view: RelatedElementProps;\r\n jsonProperties?: {\r\n /** Integer priority in [-500,500]. Where two attachments overlap, the one with the higher priority draws in front of the other. Default: 0. */\r\n displayPriority?: number;\r\n /** JSON representation of a [ClipVector]($core-geometry] in sheet coordinate space, used to clip the attachment's graphics on the sheet. */\r\n clip?: ClipVectorProps;\r\n /** Options for customizing how the view attachment is displayed on the sheet. */\r\n displayOptions?: {\r\n /** If true, the view attachment is always drawn as a raster image. By default, only 3d perspective views are drawn this way (they always *must* be). Default: false. */\r\n drawAsRaster?: boolean;\r\n /** If true, and the view attachment is drawn as a raster image, the background color of the view will be preserved. By default the background color of the\r\n * sheet is used and any background pixels become transparent, allowing the contents of the sheet to show through. Default: false.\r\n */\r\n preserveBackground?: boolean;\r\n };\r\n };\r\n}\r\n\r\n/** Properties of a [Subject]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface SubjectProps extends ElementProps {\r\n description?: string;\r\n}\r\n\r\n/** Properties of a [SheetBorderTemplate]($backend)\r\n * @beta\r\n */\r\nexport interface SheetBorderTemplateProps extends ElementProps {\r\n height?: number;\r\n width?: number;\r\n}\r\n\r\n/** Properties of a [SheetTemplate]($backend)\r\n * @beta\r\n */\r\nexport interface SheetTemplateProps extends ElementProps {\r\n height?: number;\r\n width?: number;\r\n border?: Id64String;\r\n}\r\n\r\n/** Properties of a [Sheet]($backend).\r\n * @public\r\n * @extensions\r\n */\r\nexport interface SheetProps extends ElementProps {\r\n width?: number;\r\n height?: number;\r\n scale?: number;\r\n sheetTemplate?: Id64String;\r\n attachments?: Id64String[];\r\n}\r\n\r\n/** Properties of a [DefinitionElement]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface DefinitionElementProps extends ElementProps {\r\n isPrivate?: boolean;\r\n}\r\n\r\n/** Properties of a [TypeDefinitionElement]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface TypeDefinitionElementProps extends DefinitionElementProps {\r\n recipe?: RelatedElementProps;\r\n}\r\n\r\n/** Properties of a [PhysicalType]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface PhysicalTypeProps extends TypeDefinitionElementProps {\r\n /** The [PhysicalMaterial]($backend) that makes up this physical type. */\r\n physicalMaterial?: RelatedElementProps;\r\n}\r\n\r\n/** Properties of a [InformationPartitionElement]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface InformationPartitionElementProps extends ElementProps {\r\n description?: string;\r\n}\r\n\r\n/** Options controlling which properties are included or excluded when querying [[DisplayStyleProps]].\r\n * @see [[ViewStateLoadProps]] and [[ElementLoadOptions]].\r\n * @public\r\n * @extensions\r\n */\r\nexport interface DisplayStyleLoadProps {\r\n /** If true, the lists of element Ids in the display style's schedule script will be empty.\r\n * The element Ids are not required on the frontend for display and can be quite large.\r\n */\r\n omitScheduleScriptElementIds?: boolean;\r\n /** If true, [[DisplayStyleSettingsProps.excludedElements]] will be compressed into a single compact string; otherwise they will be expanded into an array of strings.\r\n * The number of Ids may be quite large, so the compressed format is preferred, especially when communicating between the backend and frontend.\r\n */\r\n compressExcludedElementIds?: boolean;\r\n}\r\n\r\n/** Options controlling which properties are included or excluded when querying [[RenderTimelineProps]].\r\n * @see [[ElementLoadOptions.renderTimeline]].\r\n * @public\r\n * @extensions\r\n */\r\nexport interface RenderTimelineLoadProps {\r\n /** If true, the lists of element Ids in the schedule script will be empty.\r\n * The element Ids can be extremely numerous and are not required on the frontend for display, so they are omitted by default by [DisplayStyleState.load]($frontend).\r\n */\r\n omitScriptElementIds?: boolean;\r\n}\r\n\r\n/** Options used to specify properties to include or exclude when querying [[ElementProps]] with functions like\r\n * [IModelDb.Elements.getElementProps]($backend) and [IModelConnection.Elements.loadProps]($frontend).\r\n * @public\r\n * @extensions\r\n */\r\nexport interface ElementLoadOptions {\r\n /** If true, include the [[GeometryStreamProps]] for [[GeometricElementProps]] and [[GeometryPartProps]].\r\n * Geometry streams can consist of many megabytes worth of JSON, so they are omitted by default.\r\n */\r\n wantGeometry?: boolean;\r\n /** When including a geometry stream containing brep entries, whether to return the raw brep data or proxy geometry, false when undefined */\r\n /** If true, include [[BRepEntity.DataProps.data]] in the [[GeometryStreamProps]] for [[GeometricElementProps]] and [[GeometryPartProps]].\r\n * The data is a potentially large base-64-encoded opaque binary blob that cannot be directly inspected or manipulated on the frontend, so it is omitted by default.\r\n */\r\n wantBRepData?: boolean;\r\n /** Options controlling which properties of [[DisplayStyleProps]] to include or exclude. */\r\n displayStyle?: DisplayStyleLoadProps;\r\n /** Options controlling which properties of [[RenderTimelineProps]] to include or exclude. */\r\n renderTimeline?: RenderTimelineLoadProps;\r\n}\r\n\r\n/** Parameters to specify what element to load for functions like [IModelDb.Elements.getElementProps]($backend).\r\n * @public\r\n * @extensions\r\n */\r\nexport interface ElementLoadProps extends ElementLoadOptions {\r\n id?: Id64String;\r\n code?: CodeProps;\r\n federationGuid?: GuidString;\r\n}\r\n\r\n/** Properties of an [ElementAspect]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface ElementAspectProps extends EntityProps {\r\n element: RelatedElementProps;\r\n}\r\n\r\n/** Properties of an [ExternalSourceAspect]($backend) that stores synchronization information for an element originating from an external source.\r\n * @public\r\n * @extensions\r\n */\r\nexport interface ExternalSourceAspectProps extends ElementAspectProps {\r\n /** An element that scopes the combination of `kind` and `identifier` to uniquely identify the object from the external source. */\r\n scope: RelatedElementProps;\r\n /** The identifier of the object in the source repository. */\r\n identifier: string;\r\n /** The kind of object within the source repository. */\r\n kind: string;\r\n /** An optional value that is typically a version number or a pseudo version number like last modified time.\r\n * It will be used by the synchronization process to detect that a source object is unchanged so that computing a cryptographic hash can be avoided.\r\n * If present, this value must be guaranteed to change when any of the source object's content changes.\r\n */\r\n version?: string;\r\n /** The optional cryptographic hash (any algorithm) of the source object's content. If defined, it must be guaranteed to change when the source object's content changes. */\r\n checksum?: string;\r\n /** A place where additional JSON properties can be stored. For example, provenance information or properties relating to the synchronization process. */\r\n jsonProperties?: any;\r\n /** The source of the imported/synchronized object. Should point to an instance of [ExternalSource]($backend). */\r\n source?: RelatedElementProps;\r\n}\r\n\r\n/** Properties of an [ExternalSource]($backend)\r\n * @beta\r\n */\r\nexport interface ExternalSourceProps extends ElementProps {\r\n repository?: RelatedElementProps;\r\n connectorName?: string;\r\n connectorVersion?: string;\r\n}\r\n\r\n/** The role that an attached [ExternalSource]($backend) plays.\r\n * @beta\r\n */\r\nexport enum ExternalSourceAttachmentRole {\r\n /** The attached [ExternalSource]($backend) provides context. */\r\n SpecifyContext = 0,\r\n /** The attached [ExternalSource]($backend) models a part of the whole. */\r\n SpecifyPart = 1,\r\n}\r\n\r\n/** Properties of an [ExternalSourceAttachment]($backend)\r\n * @beta\r\n */\r\nexport interface ExternalSourceAttachmentProps extends ElementProps {\r\n attaches?: RelatedElementProps;\r\n role?: ExternalSourceAttachmentRole;\r\n translation?: XYZProps;\r\n yaw?: number;\r\n pitch?: number;\r\n roll?: number;\r\n scale?: XYZProps;\r\n}\r\n\r\n/** Properties of an [ChannelRootAspect]($backend) that identifies an Element as the root of a *channel* which is a subset of the overall iModel hierarchy that is independently maintained.\r\n * @public\r\n * @extensions\r\n */\r\nexport interface ChannelRootAspectProps extends ElementAspectProps {\r\n /** The owner of the channel */\r\n owner: string;\r\n}\r\n\r\n/** Properties of a [LineStyle]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface LineStyleProps extends DefinitionElementProps {\r\n description?: string;\r\n /** The JSON string line style definition element data [LineStyleDefinition.StyleProps]($backend) */\r\n data: string;\r\n}\r\n\r\n/** Properties of a [LightLocation]($backend)\r\n * @internal\r\n */\r\nexport interface LightLocationProps extends GeometricElement3dProps {\r\n enabled?: boolean;\r\n}\r\n\r\n/** The *rank* for a Category\r\n * @public\r\n * @extensions\r\n */\r\nexport enum Rank {\r\n /** This category is predefined by the system */\r\n System = 0,\r\n /** This category is defined by a schema. Elements in this category are not recognized by system classes. */\r\n Domain = 1,\r\n /** This category is defined by an application. Elements in this category are not recognized by system and schema classes. */\r\n Application = 2,\r\n /** This category is defined by a user. Elements in this category are not recognized by system, schema, and application classes. */\r\n User = 3,\r\n}\r\n\r\n/** Parameters of a [Category]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface CategoryProps extends DefinitionElementProps {\r\n rank?: Rank;\r\n description?: string;\r\n}\r\n\r\n/** Parameters of a [SubCategory]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface SubCategoryProps extends DefinitionElementProps {\r\n appearance?: SubCategoryAppearance.Props;\r\n description?: string;\r\n}\r\n\r\n/** Parameters of a [UrlLink]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface UrlLinkProps extends ElementProps {\r\n description?: string;\r\n url?: string;\r\n}\r\n\r\n/** Parameters of a [RepositoryLink]($backend)\r\n * @public\r\n * @extensions\r\n */\r\nexport interface RepositoryLinkProps extends UrlLinkProps {\r\n repositoryGuid?: GuidString;\r\n format?: string;\r\n}\r\n\r\n/** The properties of a [SynchronizationConfigLink]($backend)\r\n * @beta\r\n */\r\nexport interface SynchronizationConfigLinkProps extends UrlLinkProps {\r\n lastSuccessfulRun?: string;\r\n}\r\n\r\n/** Wire format describing a [RenderTimeline]($backend).\r\n * @public\r\n * @extensions\r\n */\r\nexport interface RenderTimelineProps extends ElementProps {\r\n /** An optional human-readable description of the timeline. */\r\n description?: string;\r\n /** The stringified JSON representation of the instructions for visualizing change over time.\r\n * @see [[RenderSchedule.ScriptProps]] for the JSON interface.\r\n */\r\n script: string;\r\n}\r\n"]}
@@ -8,6 +8,7 @@ import { FeatureAppearanceProps } from "./FeatureSymbology";
8
8
  * @see [EmphasizeElements]($frontend)
9
9
  * @see [[AppearanceOverrideProps]]
10
10
  * @public
11
+ * @extensions
11
12
  */
12
13
  export declare enum FeatureOverrideType {
13
14
  /** Override color only. */
@@ -20,6 +21,7 @@ export declare enum FeatureOverrideType {
20
21
  /** JSON representation of an appearance override in an [[EmphasizeElementsProps]].
21
22
  * @see [EmphasizeElements]($frontend).
22
23
  * @public
24
+ * @extensions
23
25
  */
24
26
  export interface AppearanceOverrideProps {
25
27
  /** Whether to override color, transparency, or both. */
@@ -31,6 +33,7 @@ export interface AppearanceOverrideProps {
31
33
  }
32
34
  /** JSON representation of an [EmphasizeElements]($frontend).
33
35
  * @public
36
+ * @extensions
34
37
  */
35
38
  export interface EmphasizeElementsProps {
36
39
  /** @see [EmphasizeElements.getNeverDrawnElements]($frontend) */
@@ -1 +1 @@
1
- {"version":3,"file":"EmphasizeElementsProps.d.ts","sourceRoot":"","sources":["../../src/EmphasizeElementsProps.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,sBAAsB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,aAAa,IAAA;CACd;AAED;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC,wDAAwD;IACxD,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,sDAAsD;IACtD,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,8DAA8D;IAC9D,GAAG,CAAC,EAAE,SAAS,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,gEAAgE;IAChE,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,iEAAiE;IACjE,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,8DAA8D;IAC9D,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,wEAAwE;IACxE,8BAA8B,CAAC,EAAE,SAAS,CAAC;IAC3C,4DAA4D;IAC5D,iBAAiB,CAAC,EAAE,sBAAsB,CAAC;IAC3C,qEAAqE;IACrE,kBAAkB,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAC/C,uDAAuD;IACvD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,+DAA+D;IAC/D,oBAAoB,CAAC,EAAE,sBAAsB,CAAC;CAC/C"}
@@ -12,6 +12,7 @@ exports.FeatureOverrideType = void 0;
12
12
  * @see [EmphasizeElements]($frontend)
13
13
  * @see [[AppearanceOverrideProps]]
14
14
  * @public
15
+ * @extensions
15
16
  */
16
17
  var FeatureOverrideType;
17
18
  (function (FeatureOverrideType) {
@@ -1 +1 @@
1
- {"version":3,"file":"EmphasizeElementsProps.js","sourceRoot":"","sources":["../../src/EmphasizeElementsProps.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAMH;;;;GAIG;AACH,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,2BAA2B;IAC3B,uEAAS,CAAA;IACT,2BAA2B;IAC3B,uEAAS,CAAA;IACT,qCAAqC;IACrC,+EAAa,CAAA;AACf,CAAC,EAPW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAO9B","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 Rendering\r\n */\r\n\r\nimport { Id64Array } from \"@itwin/core-bentley\";\r\nimport { ColorDefProps } from \"./ColorDef\";\r\nimport { FeatureAppearanceProps } from \"./FeatureSymbology\";\r\n\r\n/** Options for overriding element appearance.\r\n * @see [EmphasizeElements]($frontend)\r\n * @see [[AppearanceOverrideProps]]\r\n * @public\r\n */\r\nexport enum FeatureOverrideType {\r\n /** Override color only. */\r\n ColorOnly,\r\n /** Override alpha only. */\r\n AlphaOnly,\r\n /** Override both color and alpha. */\r\n ColorAndAlpha,\r\n}\r\n\r\n/** JSON representation of an appearance override in an [[EmphasizeElementsProps]].\r\n * @see [EmphasizeElements]($frontend).\r\n * @public\r\n */\r\nexport interface AppearanceOverrideProps {\r\n /** Whether to override color, transparency, or both. */\r\n overrideType?: FeatureOverrideType;\r\n /** The 0xTTBBGGRR format color/transparency value. */\r\n color?: ColorDefProps;\r\n /** The element IDs to display with the specified override. */\r\n ids?: Id64Array;\r\n}\r\n\r\n/** JSON representation of an [EmphasizeElements]($frontend).\r\n * @public\r\n */\r\nexport interface EmphasizeElementsProps {\r\n /** @see [EmphasizeElements.getNeverDrawnElements]($frontend) */\r\n neverDrawn?: Id64Array;\r\n /** @see [EmphasizeElements.getAlwaysDrawnElements]($frontend) */\r\n alwaysDrawn?: Id64Array;\r\n /** @see [EmphasizeElements.getIsolatedElements]($frontend) */\r\n isAlwaysDrawnExclusive?: boolean;\r\n /** @see [EmphasizeElements.getEmphasizedIsolatedElements]($frontend) */\r\n alwaysDrawnExclusiveEmphasized?: Id64Array;\r\n /** @see [EmphasizeElements.defaultAppearance]($frontend) */\r\n defaultAppearance?: FeatureAppearanceProps;\r\n /** @see [EmphasizeElements.getOverriddenElementsByKey]($frontend) */\r\n appearanceOverride?: AppearanceOverrideProps[];\r\n /** @see [EmphasizeElements.wantEmphasis]($frontend) */\r\n wantEmphasis?: boolean;\r\n /** @see [EmphasizeElements.unanimatedAppearance]($frontend) */\r\n unanimatedAppearance?: FeatureAppearanceProps;\r\n}\r\n"]}
1
+ {"version":3,"file":"EmphasizeElementsProps.js","sourceRoot":"","sources":["../../src/EmphasizeElementsProps.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAMH;;;;;GAKG;AACH,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,2BAA2B;IAC3B,uEAAS,CAAA;IACT,2BAA2B;IAC3B,uEAAS,CAAA;IACT,qCAAqC;IACrC,+EAAa,CAAA;AACf,CAAC,EAPW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAO9B","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 Rendering\r\n */\r\n\r\nimport { Id64Array } from \"@itwin/core-bentley\";\r\nimport { ColorDefProps } from \"./ColorDef\";\r\nimport { FeatureAppearanceProps } from \"./FeatureSymbology\";\r\n\r\n/** Options for overriding element appearance.\r\n * @see [EmphasizeElements]($frontend)\r\n * @see [[AppearanceOverrideProps]]\r\n * @public\r\n * @extensions\r\n */\r\nexport enum FeatureOverrideType {\r\n /** Override color only. */\r\n ColorOnly,\r\n /** Override alpha only. */\r\n AlphaOnly,\r\n /** Override both color and alpha. */\r\n ColorAndAlpha,\r\n}\r\n\r\n/** JSON representation of an appearance override in an [[EmphasizeElementsProps]].\r\n * @see [EmphasizeElements]($frontend).\r\n * @public\r\n * @extensions\r\n */\r\nexport interface AppearanceOverrideProps {\r\n /** Whether to override color, transparency, or both. */\r\n overrideType?: FeatureOverrideType;\r\n /** The 0xTTBBGGRR format color/transparency value. */\r\n color?: ColorDefProps;\r\n /** The element IDs to display with the specified override. */\r\n ids?: Id64Array;\r\n}\r\n\r\n/** JSON representation of an [EmphasizeElements]($frontend).\r\n * @public\r\n * @extensions\r\n */\r\nexport interface EmphasizeElementsProps {\r\n /** @see [EmphasizeElements.getNeverDrawnElements]($frontend) */\r\n neverDrawn?: Id64Array;\r\n /** @see [EmphasizeElements.getAlwaysDrawnElements]($frontend) */\r\n alwaysDrawn?: Id64Array;\r\n /** @see [EmphasizeElements.getIsolatedElements]($frontend) */\r\n isAlwaysDrawnExclusive?: boolean;\r\n /** @see [EmphasizeElements.getEmphasizedIsolatedElements]($frontend) */\r\n alwaysDrawnExclusiveEmphasized?: Id64Array;\r\n /** @see [EmphasizeElements.defaultAppearance]($frontend) */\r\n defaultAppearance?: FeatureAppearanceProps;\r\n /** @see [EmphasizeElements.getOverriddenElementsByKey]($frontend) */\r\n appearanceOverride?: AppearanceOverrideProps[];\r\n /** @see [EmphasizeElements.wantEmphasis]($frontend) */\r\n wantEmphasis?: boolean;\r\n /** @see [EmphasizeElements.unanimatedAppearance]($frontend) */\r\n unanimatedAppearance?: FeatureAppearanceProps;\r\n}\r\n"]}
@@ -7,6 +7,7 @@ import { Id64String } from "@itwin/core-bentley";
7
7
  * EntityProps and all of its sub-types like [[ElementProps]] are "plain old Javascript objects" - that is, objects containing
8
8
  * no methods and no properties of `class` type.
9
9
  * @public
10
+ * @extensions
10
11
  */
11
12
  export interface EntityProps {
12
13
  /** A non-existent property used to discriminate between [[EntityProps]] and [Entity]($backend).
@@ -24,6 +25,7 @@ export interface EntityProps {
24
25
  }
25
26
  /** Specifies the source and target elements of a [[Relationship]] instance.
26
27
  * @public
28
+ * @extensions
27
29
  */
28
30
  export interface SourceAndTarget {
29
31
  sourceId: Id64String;
@@ -31,11 +33,13 @@ export interface SourceAndTarget {
31
33
  }
32
34
  /** Properties that are common to all types of link table ECRelationships
33
35
  * @public
36
+ * @extensions
34
37
  */
35
38
  export interface RelationshipProps extends EntityProps, SourceAndTarget {
36
39
  }
37
40
  /** Parameters for performing a query on [Entity]($backend) classes.
38
41
  * @public
42
+ * @extensions
39
43
  */
40
44
  export interface EntityQueryParams {
41
45
  /** The sql className, in the form "Schema.ClassName", of the class to search. */
@@ -1 +1 @@
1
- {"version":3,"file":"EntityProps.d.ts","sourceRoot":"","sources":["../../src/EntityProps.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAQ,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAIvD;;;;;GAKG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,KAAK,CAAC;IACpC,wHAAwH;IACxH,aAAa,EAAE,MAAM,CAAC;IACtB,+FAA+F;IAC/F,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,yGAAyG;IACzG,cAAc,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,WAAW,EAAE,eAAe;CACtE;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gFAAgF;IAChF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,8FAA8F;IAC9F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+FAA+F;IAC/F,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oEAAoE;IACpE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qEAAqE;IACrE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,EAAE,GAAG,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,oBAAY,iBAAiB;IAC3B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AAC,CAAC,CAAC,IAAI,6BAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,mBAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAEzF,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,8DAA8D;IAC9D,IAAW,YAAY;QACrB,OAAO,CAAC,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,gEAAgE;IACzG,CAAC;CACF;AAvFD,4CAuFC;AAgBD;;GAEG;AACH,MAAa,cAAc;IAazB,YAAmB,OAA4B;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;QACvC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QACzC,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;QACvC,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC;QACjD,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;QAErB,KAAK,MAAM,QAAQ,IAAI,OAAO,CAAC,UAAU,EAAE,EAAE,mCAAmC;YAC9E,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,gBAAgB,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;SAChF;IACH,CAAC;CACF;AA1BD,wCA0BC","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 Entities\r\n */\r\n\r\nimport { Id64, Id64String } from \"@itwin/core-bentley\";\r\nimport { Point2d, Point3d } from \"@itwin/core-geometry\";\r\nimport { RelatedElement } from \"./ElementProps\";\r\n\r\n/** The persistent format of an [Entity]($backend), also used as the \"wire format\" when transmitting information about entities\r\n * between the backend and frontend.\r\n * EntityProps and all of its sub-types like [[ElementProps]] are \"plain old Javascript objects\" - that is, objects containing\r\n * no methods and no properties of `class` type.\r\n * @public\r\n */\r\nexport interface EntityProps {\r\n /** A non-existent property used to discriminate between [[EntityProps]] and [Entity]($backend).\r\n * @see [Entity.isInstanceOfEntity]($backend).\r\n */\r\n readonly isInstanceOfEntity?: never;\r\n /** The full name of the [ECClass]($docs/bis/intro/glossary/#ecclass) for this entity, in the form \"Schema:ClassName\" */\r\n classFullName: string;\r\n /** The Id of the entity. Must be present for SELECT, UPDATE, or DELETE, ignored for INSERT. */\r\n id?: Id64String;\r\n /** Optional [json properties]($docs/bis/intro/element-fundamentals.md#jsonproperties) of this Entity. */\r\n jsonProperties?: { [key: string]: any };\r\n}\r\n\r\n/** Specifies the source and target elements of a [[Relationship]] instance.\r\n * @public\r\n */\r\nexport interface SourceAndTarget {\r\n sourceId: Id64String;\r\n targetId: Id64String;\r\n}\r\n\r\n/** Properties that are common to all types of link table ECRelationships\r\n * @public\r\n */\r\nexport interface RelationshipProps extends EntityProps, SourceAndTarget {\r\n}\r\n\r\n/** Parameters for performing a query on [Entity]($backend) classes.\r\n * @public\r\n */\r\nexport interface EntityQueryParams {\r\n /** The sql className, in the form \"Schema.ClassName\", of the class to search. */\r\n from?: string;\r\n /** Set to true to limit results to *not* include sub-classes of \"from\" class */\r\n only?: boolean;\r\n /** Optional \"WHERE\" clause to filter entities. Note: do *not* include the \"WHERE\" keyword. */\r\n where?: string;\r\n /** Optional \"ORDERBY\" clause to sort results. Note: do *not* include the \"ORDERBY\" keyword. */\r\n orderBy?: string;\r\n /** Optional \"LIMIT\" clause to limit the number of rows returned. */\r\n limit?: number;\r\n /** Optional \"OFFSET\" clause. Only valid if Limit is also present. */\r\n offset?: number;\r\n /** Bindings for parameterized values.\r\n * @see [[ECSqlStatement.bindValues]]\r\n */\r\n bindings?: any[] | object;\r\n}\r\n\r\n/** The primitive types of an Entity property.\r\n * @beta\r\n */\r\nexport enum PrimitiveTypeCode {\r\n Uninitialized = 0x00,\r\n Binary = 0x101,\r\n Boolean = 0x201,\r\n DateTime = 0x301,\r\n Double = 0x401,\r\n Integer = 0x501,\r\n Long = 0x601,\r\n Point2d = 0x701, // eslint-disable-line @typescript-eslint/no-shadow\r\n Point3d = 0x801, // eslint-disable-line @typescript-eslint/no-shadow\r\n String = 0x901,\r\n}\r\n\r\n/** A callback function to process properties of an Entity\r\n * @beta\r\n */\r\nexport type PropertyCallback = (name: string, meta: PropertyMetaData) => void;\r\n\r\n/** A custom attribute instance\r\n * @beta\r\n */\r\nexport interface CustomAttribute {\r\n /** The class of the CustomAttribute */\r\n ecclass: string;\r\n /** An object whose properties correspond by name to the properties of this custom attribute instance. */\r\n properties: { [propName: string]: any };\r\n}\r\n\r\ntype FactoryFunc = (jsonObj: any) => any;\r\n\r\n/** @beta */\r\nexport interface PropertyMetaDataProps {\r\n primitiveType?: number;\r\n structName?: string;\r\n extendedType?: string;\r\n description?: string;\r\n displayLabel?: string;\r\n minimumValue?: any;\r\n maximumValue?: any;\r\n minimumLength?: number;\r\n maximumLength?: number;\r\n readOnly?: boolean;\r\n kindOfQuantity?: string;\r\n isCustomHandled?: boolean;\r\n isCustomHandledOrphan?: boolean;\r\n minOccurs?: number;\r\n maxOccurs?: number;\r\n direction?: string;\r\n relationshipClass?: string;\r\n customAttributes?: CustomAttribute[];\r\n}\r\n\r\n/** Metadata for a property.\r\n * @beta\r\n */\r\nexport class PropertyMetaData implements PropertyMetaDataProps {\r\n public primitiveType?: PrimitiveTypeCode;\r\n public structName?: string;\r\n public extendedType?: string;\r\n public description?: string;\r\n public displayLabel?: string;\r\n public minimumValue?: any;\r\n public maximumValue?: any;\r\n public minimumLength?: number;\r\n public maximumLength?: number;\r\n public readOnly?: boolean;\r\n public kindOfQuantity?: string;\r\n public isCustomHandled?: boolean;\r\n public isCustomHandledOrphan?: boolean;\r\n public minOccurs?: number;\r\n public maxOccurs?: number;\r\n public direction?: string;\r\n public relationshipClass?: string;\r\n public customAttributes?: CustomAttribute[];\r\n\r\n public constructor(jsonObj: PropertyMetaDataProps) {\r\n this.primitiveType = jsonObj.primitiveType;\r\n if (jsonObj.structName)\r\n this.structName = jsonObj.structName;\r\n this.extendedType = jsonObj.extendedType;\r\n this.description = jsonObj.description;\r\n this.displayLabel = jsonObj.displayLabel;\r\n if (undefined !== jsonObj.minimumValue)\r\n this.minimumValue = jsonObj.minimumValue;\r\n if (undefined !== jsonObj.maximumValue)\r\n this.maximumValue = jsonObj.maximumValue;\r\n if (undefined !== jsonObj.minimumLength)\r\n this.minimumLength = jsonObj.minimumLength;\r\n if (undefined !== jsonObj.maximumLength)\r\n this.maximumLength = jsonObj.maximumLength;\r\n this.readOnly = jsonObj.readOnly;\r\n this.kindOfQuantity = jsonObj.kindOfQuantity;\r\n this.isCustomHandled = jsonObj.isCustomHandled;\r\n if (undefined !== jsonObj.minOccurs)\r\n this.minOccurs = jsonObj.minOccurs;\r\n if (undefined !== jsonObj.maxOccurs)\r\n this.maxOccurs = jsonObj.maxOccurs;\r\n this.direction = jsonObj.direction;\r\n this.relationshipClass = jsonObj.relationshipClass;\r\n this.customAttributes = jsonObj.customAttributes;\r\n }\r\n\r\n /** Create a typed value, or array of values, from a factory and an input object */\r\n private createValueOrArray(func: FactoryFunc, jsonObj: any) {\r\n if (undefined === this.minOccurs)\r\n return func(jsonObj); // not an array\r\n\r\n const val: any = [];\r\n jsonObj.forEach((element: any) => val.push(func(element)));\r\n return val;\r\n }\r\n\r\n /** construct a single property from an input object according to this metadata */\r\n public createProperty(jsonObj: any): any {\r\n if (jsonObj === undefined)\r\n return undefined;\r\n\r\n if (undefined !== this.primitiveType) {\r\n switch (this.primitiveType) {\r\n case PrimitiveTypeCode.Boolean:\r\n case PrimitiveTypeCode.Double:\r\n case PrimitiveTypeCode.Integer:\r\n case PrimitiveTypeCode.String:\r\n return jsonObj; // this works even for arrays or strings that are JSON because the parsed JSON is already the right type\r\n\r\n case PrimitiveTypeCode.Point2d:\r\n return this.createValueOrArray(Point2d.fromJSON, jsonObj);\r\n\r\n case PrimitiveTypeCode.Point3d:\r\n return this.createValueOrArray(Point3d.fromJSON, jsonObj);\r\n }\r\n }\r\n if (this.isNavigation)\r\n return jsonObj.id !== undefined ? new RelatedElement(jsonObj) : Id64.fromJSON(jsonObj);\r\n\r\n return jsonObj;\r\n }\r\n\r\n /** Return `true` if this property is a NavigationProperty. */\r\n public get isNavigation(): boolean {\r\n return (this.direction !== undefined); // the presence of `direction` means it is a navigation property\r\n }\r\n}\r\n\r\n/** @beta */\r\nexport interface EntityMetaDataProps {\r\n ecclass: string;\r\n description?: string;\r\n modifier?: string;\r\n displayLabel?: string;\r\n /** The base classes from which this class derives. If more than one, the first is the super class and the others are [mixins]($docs/bis/ec/ec-mixin-class). */\r\n baseClasses: string[];\r\n /** The Custom Attributes for this class */\r\n customAttributes?: CustomAttribute[];\r\n /** An object whose properties correspond by name to the properties of this class. */\r\n properties: { [propName: string]: PropertyMetaData };\r\n}\r\n\r\n/** Metadata for an Entity.\r\n * @beta\r\n */\r\nexport class EntityMetaData implements EntityMetaDataProps {\r\n /** The Entity name */\r\n public readonly ecclass: string;\r\n public readonly description?: string;\r\n public readonly modifier?: string;\r\n public readonly displayLabel?: string;\r\n /** The base class that this class is derives from. If more than one, the first is the actual base class and the others are mixins. */\r\n public readonly baseClasses: string[];\r\n /** The Custom Attributes for this class */\r\n public readonly customAttributes?: CustomAttribute[];\r\n /** An object whose properties correspond by name to the properties of this class. */\r\n public readonly properties: { [propName: string]: PropertyMetaData };\r\n\r\n public constructor(jsonObj: EntityMetaDataProps) {\r\n this.ecclass = jsonObj.ecclass;\r\n this.description = jsonObj.description;\r\n this.modifier = jsonObj.modifier;\r\n this.displayLabel = jsonObj.displayLabel;\r\n this.baseClasses = jsonObj.baseClasses;\r\n this.customAttributes = jsonObj.customAttributes;\r\n this.properties = {};\r\n\r\n for (const propName in jsonObj.properties) { // eslint-disable-line guard-for-in\r\n this.properties[propName] = new PropertyMetaData(jsonObj.properties[propName]);\r\n }\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"EntityProps.js","sourceRoot":"","sources":["../../src/EntityProps.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAAuD;AACvD,wDAAwD;AACxD,iDAAgD;AA6DhD;;GAEG;AACH,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC3B,2EAAoB,CAAA;IACpB,+DAAc,CAAA;IACd,iEAAe,CAAA;IACf,mEAAgB,CAAA;IAChB,gEAAc,CAAA;IACd,kEAAe,CAAA;IACf,4DAAY,CAAA;IACZ,kEAAe,CAAA;IACf,kEAAe,CAAA;IACf,gEAAc,CAAA;AAChB,CAAC,EAXW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAW5B;AAyCD;;GAEG;AACH,MAAa,gBAAgB;IAoB3B,YAAmB,OAA8B;QAC/C,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;QAC3C,IAAI,OAAO,CAAC,UAAU;YACpB,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;QACvC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QACzC,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;QACvC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QACzC,IAAI,SAAS,KAAK,OAAO,CAAC,YAAY;YACpC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QAC3C,IAAI,SAAS,KAAK,OAAO,CAAC,YAAY;YACpC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QAC3C,IAAI,SAAS,KAAK,OAAO,CAAC,aAAa;YACrC,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;QAC7C,IAAI,SA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mC;YAC9E,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,gBAAgB,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;SAChF;IACH,CAAC;CACF;AA1BD,wCA0BC","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 Entities\r\n */\r\n\r\nimport { Id64, Id64String } from \"@itwin/core-bentley\";\r\nimport { Point2d, Point3d } from \"@itwin/core-geometry\";\r\nimport { RelatedElement } from \"./ElementProps\";\r\n\r\n/** The persistent format of an [Entity]($backend), also used as the \"wire format\" when transmitting information about entities\r\n * between the backend and frontend.\r\n * EntityProps and all of its sub-types like [[ElementProps]] are \"plain old Javascript objects\" - that is, objects containing\r\n * no methods and no properties of `class` type.\r\n * @public\r\n * @extensions\r\n */\r\nexport interface EntityProps {\r\n /** A non-existent property used to discriminate between [[EntityProps]] and [Entity]($backend).\r\n * @see [Entity.isInstanceOfEntity]($backend).\r\n */\r\n readonly isInstanceOfEntity?: never;\r\n /** The full name of the [ECClass]($docs/bis/intro/glossary/#ecclass) for this entity, in the form \"Schema:ClassName\" */\r\n classFullName: string;\r\n /** The Id of the entity. Must be present for SELECT, UPDATE, or DELETE, ignored for INSERT. */\r\n id?: Id64String;\r\n /** Optional [json properties]($docs/bis/intro/element-fundamentals.md#jsonproperties) of this Entity. */\r\n jsonProperties?: { [key: string]: any };\r\n}\r\n\r\n/** Specifies the source and target elements of a [[Relationship]] instance.\r\n * @public\r\n * @extensions\r\n */\r\nexport interface SourceAndTarget {\r\n sourceId: Id64String;\r\n targetId: Id64String;\r\n}\r\n\r\n/** Properties that are common to all types of link table ECRelationships\r\n * @public\r\n * @extensions\r\n */\r\nexport interface RelationshipProps extends EntityProps, SourceAndTarget {\r\n}\r\n\r\n/** Parameters for performing a query on [Entity]($backend) classes.\r\n * @public\r\n * @extensions\r\n */\r\nexport interface EntityQueryParams {\r\n /** The sql className, in the form \"Schema.ClassName\", of the class to search. */\r\n from?: string;\r\n /** Set to true to limit results to *not* include sub-classes of \"from\" class */\r\n only?: boolean;\r\n /** Optional \"WHERE\" clause to filter entities. Note: do *not* include the \"WHERE\" keyword. */\r\n where?: string;\r\n /** Optional \"ORDERBY\" clause to sort results. Note: do *not* include the \"ORDERBY\" keyword. */\r\n orderBy?: string;\r\n /** Optional \"LIMIT\" clause to limit the number of rows returned. */\r\n limit?: number;\r\n /** Optional \"OFFSET\" clause. Only valid if Limit is also present. */\r\n offset?: number;\r\n /** Bindings for parameterized values.\r\n * @see [[ECSqlStatement.bindValues]]\r\n */\r\n bindings?: any[] | object;\r\n}\r\n\r\n/** The primitive types of an Entity property.\r\n * @beta\r\n */\r\nexport enum PrimitiveTypeCode {\r\n Uninitialized = 0x00,\r\n Binary = 0x101,\r\n Boolean = 0x201,\r\n DateTime = 0x301,\r\n Double = 0x401,\r\n Integer = 0x501,\r\n Long = 0x601,\r\n Point2d = 0x701, // eslint-disable-line @typescript-eslint/no-shadow\r\n Point3d = 0x801, // eslint-disable-line @typescript-eslint/no-shadow\r\n String = 0x901,\r\n}\r\n\r\n/** A callback function to process properties of an Entity\r\n * @beta\r\n */\r\nexport type PropertyCallback = (name: string, meta: PropertyMetaData) => void;\r\n\r\n/** A custom attribute instance\r\n * @beta\r\n */\r\nexport interface CustomAttribute {\r\n /** The class of the CustomAttribute */\r\n ecclass: string;\r\n /** An object whose properties correspond by name to the properties of this custom attribute instance. */\r\n properties: { [propName: string]: any };\r\n}\r\n\r\ntype FactoryFunc = (jsonObj: any) => any;\r\n\r\n/** @beta */\r\nexport interface PropertyMetaDataProps {\r\n primitiveType?: number;\r\n structName?: string;\r\n extendedType?: string;\r\n description?: string;\r\n displayLabel?: string;\r\n minimumValue?: any;\r\n maximumValue?: any;\r\n minimumLength?: number;\r\n maximumLength?: number;\r\n readOnly?: boolean;\r\n kindOfQuantity?: string;\r\n isCustomHandled?: boolean;\r\n isCustomHandledOrphan?: boolean;\r\n minOccurs?: number;\r\n maxOccurs?: number;\r\n direction?: string;\r\n relationshipClass?: string;\r\n customAttributes?: CustomAttribute[];\r\n}\r\n\r\n/** Metadata for a property.\r\n * @beta\r\n */\r\nexport class PropertyMetaData implements PropertyMetaDataProps {\r\n public primitiveType?: PrimitiveTypeCode;\r\n public structName?: string;\r\n public extendedType?: string;\r\n public description?: string;\r\n public displayLabel?: string;\r\n public minimumValue?: any;\r\n public maximumValue?: any;\r\n public minimumLength?: number;\r\n public maximumLength?: number;\r\n public readOnly?: boolean;\r\n public kindOfQuantity?: string;\r\n public isCustomHandled?: boolean;\r\n public isCustomHandledOrphan?: boolean;\r\n public minOccurs?: number;\r\n public maxOccurs?: number;\r\n public direction?: string;\r\n public relationshipClass?: string;\r\n public customAttributes?: CustomAttribute[];\r\n\r\n public constructor(jsonObj: PropertyMetaDataProps) {\r\n this.primitiveType = jsonObj.primitiveType;\r\n if (jsonObj.structName)\r\n this.structName = jsonObj.structName;\r\n this.extendedType = jsonObj.extendedType;\r\n this.description = jsonObj.description;\r\n this.displayLabel = jsonObj.displayLabel;\r\n if (undefined !== jsonObj.minimumValue)\r\n this.minimumValue = jsonObj.minimumValue;\r\n if (undefined !== jsonObj.maximumValue)\r\n this.maximumValue = jsonObj.maximumValue;\r\n if (undefined !== jsonObj.minimumLength)\r\n this.minimumLength = jsonObj.minimumLength;\r\n if (undefined !== jsonObj.maximumLength)\r\n this.maximumLength = jsonObj.maximumLength;\r\n this.readOnly = jsonObj.readOnly;\r\n this.kindOfQuantity = jsonObj.kindOfQuantity;\r\n this.isCustomHandled = jsonObj.isCustomHandled;\r\n if (undefined !== jsonObj.minOccurs)\r\n this.minOccurs = jsonObj.minOccurs;\r\n if (undefined !== jsonObj.maxOccurs)\r\n this.maxOccurs = jsonObj.maxOccurs;\r\n this.direction = jsonObj.direction;\r\n this.relationshipClass = jsonObj.relationshipClass;\r\n this.customAttributes = jsonObj.customAttributes;\r\n }\r\n\r\n /** Create a typed value, or array of values, from a factory and an input object */\r\n private createValueOrArray(func: FactoryFunc, jsonObj: any) {\r\n if (undefined === this.minOccurs)\r\n return func(jsonObj); // not an array\r\n\r\n const val: any = [];\r\n jsonObj.forEach((element: any) => val.push(func(element)));\r\n return val;\r\n }\r\n\r\n /** construct a single property from an input object according to this metadata */\r\n public createProperty(jsonObj: any): any {\r\n if (jsonObj === undefined)\r\n return undefined;\r\n\r\n if (undefined !== this.primitiveType) {\r\n switch (this.primitiveType) {\r\n case PrimitiveTypeCode.Boolean:\r\n case PrimitiveTypeCode.Double:\r\n case PrimitiveTypeCode.Integer:\r\n case PrimitiveTypeCode.String:\r\n return jsonObj; // this works even for arrays or strings that are JSON because the parsed JSON is already the right type\r\n\r\n case PrimitiveTypeCode.Point2d:\r\n return this.createValueOrArray(Point2d.fromJSON, jsonObj);\r\n\r\n case PrimitiveTypeCode.Point3d:\r\n return this.createValueOrArray(Point3d.fromJSON, jsonObj);\r\n }\r\n }\r\n if (this.isNavigation)\r\n return jsonObj.id !== undefined ? new RelatedElement(jsonObj) : Id64.fromJSON(jsonObj);\r\n\r\n return jsonObj;\r\n }\r\n\r\n /** Return `true` if this property is a NavigationProperty. */\r\n public get isNavigation(): boolean {\r\n return (this.direction !== undefined); // the presence of `direction` means it is a navigation property\r\n }\r\n}\r\n\r\n/** @beta */\r\nexport interface EntityMetaDataProps {\r\n ecclass: string;\r\n description?: string;\r\n modifier?: string;\r\n displayLabel?: string;\r\n /** The base classes from which this class derives. If more than one, the first is the super class and the others are [mixins]($docs/bis/ec/ec-mixin-class). */\r\n baseClasses: string[];\r\n /** The Custom Attributes for this class */\r\n customAttributes?: CustomAttribute[];\r\n /** An object whose properties correspond by name to the properties of this class. */\r\n properties: { [propName: string]: PropertyMetaData };\r\n}\r\n\r\n/** Metadata for an Entity.\r\n * @beta\r\n */\r\nexport class EntityMetaData implements EntityMetaDataProps {\r\n /** The Entity name */\r\n public readonly ecclass: string;\r\n public readonly description?: string;\r\n public readonly modifier?: string;\r\n public readonly displayLabel?: string;\r\n /** The base class that this class is derives from. If more than one, the first is the actual base class and the others are mixins. */\r\n public readonly baseClasses: string[];\r\n /** The Custom Attributes for this class */\r\n public readonly customAttributes?: CustomAttribute[];\r\n /** An object whose properties correspond by name to the properties of this class. */\r\n public readonly properties: { [propName: string]: PropertyMetaData };\r\n\r\n public constructor(jsonObj: EntityMetaDataProps) {\r\n this.ecclass = jsonObj.ecclass;\r\n this.description = jsonObj.description;\r\n this.modifier = jsonObj.modifier;\r\n this.displayLabel = jsonObj.displayLabel;\r\n this.baseClasses = jsonObj.baseClasses;\r\n this.customAttributes = jsonObj.customAttributes;\r\n this.properties = {};\r\n\r\n for (const propName in jsonObj.properties) { // eslint-disable-line guard-for-in\r\n this.properties[propName] = new PropertyMetaData(jsonObj.properties[propName]);\r\n }\r\n }\r\n}\r\n"]}
@@ -7,6 +7,7 @@ import { SkyBox, SkyBoxProps } from "./SkyBox";
7
7
  /** JSON representation of an [[Environment]].
8
8
  * @see [[DisplayStyle3dSettingsProps.environment]].
9
9
  * @public
10
+ * @extensions
10
11
  */
11
12
  export interface EnvironmentProps {
12
13
  /** @see [[Environment.ground]] and [[Environment.displayGround]]. */
@@ -1 +1 @@
1
- {"version":3,"file":"Environment.d.ts","sourceRoot":"","sources":["../../src/Environment.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE/C;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,qEAAqE;IACrE,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,+DAA+D;IAC/D,GAAG,CAAC,EAAE,WAAW,CA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