@itwin/core-backend 5.1.0-dev.9 → 5.2.0-dev.2

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 (441) hide show
  1. package/CHANGELOG.md +117 -1
  2. package/lib/cjs/BackendHubAccess.d.ts +1 -1
  3. package/lib/cjs/BackendHubAccess.js +1 -1
  4. package/lib/cjs/BackendHubAccess.js.map +1 -1
  5. package/lib/cjs/BisCoreSchema.d.ts.map +1 -1
  6. package/lib/cjs/BisCoreSchema.js +4 -2
  7. package/lib/cjs/BisCoreSchema.js.map +1 -1
  8. package/lib/cjs/BriefcaseManager.d.ts +10 -2
  9. package/lib/cjs/BriefcaseManager.d.ts.map +1 -1
  10. package/lib/cjs/BriefcaseManager.js +16 -0
  11. package/lib/cjs/BriefcaseManager.js.map +1 -1
  12. package/lib/cjs/Category.d.ts +4 -4
  13. package/lib/cjs/Category.js +4 -4
  14. package/lib/cjs/Category.js.map +1 -1
  15. package/lib/cjs/ChangesetECAdaptor.d.ts +67 -8
  16. package/lib/cjs/ChangesetECAdaptor.d.ts.map +1 -1
  17. package/lib/cjs/ChangesetECAdaptor.js +248 -33
  18. package/lib/cjs/ChangesetECAdaptor.js.map +1 -1
  19. package/lib/cjs/ClassRegistry.d.ts +9 -1
  20. package/lib/cjs/ClassRegistry.d.ts.map +1 -1
  21. package/lib/cjs/ClassRegistry.js +9 -1
  22. package/lib/cjs/ClassRegistry.js.map +1 -1
  23. package/lib/cjs/CloudSqlite.js +1 -1
  24. package/lib/cjs/CloudSqlite.js.map +1 -1
  25. package/lib/cjs/CodeSpecs.d.ts +1 -1
  26. package/lib/cjs/CodeSpecs.js +1 -1
  27. package/lib/cjs/CodeSpecs.js.map +1 -1
  28. package/lib/cjs/DisplayStyle.d.ts +4 -4
  29. package/lib/cjs/DisplayStyle.js +3 -3
  30. package/lib/cjs/DisplayStyle.js.map +1 -1
  31. package/lib/cjs/ECDb.d.ts +4 -4
  32. package/lib/cjs/ECDb.d.ts.map +1 -1
  33. package/lib/cjs/ECDb.js +4 -4
  34. package/lib/cjs/ECDb.js.map +1 -1
  35. package/lib/cjs/ECSqlStatement.d.ts +15 -6
  36. package/lib/cjs/ECSqlStatement.d.ts.map +1 -1
  37. package/lib/cjs/ECSqlStatement.js +19 -4
  38. package/lib/cjs/ECSqlStatement.js.map +1 -1
  39. package/lib/cjs/Element.d.ts +54 -51
  40. package/lib/cjs/Element.d.ts.map +1 -1
  41. package/lib/cjs/Element.js +67 -52
  42. package/lib/cjs/Element.js.map +1 -1
  43. package/lib/cjs/ElementAspect.d.ts +8 -8
  44. package/lib/cjs/ElementAspect.d.ts.map +1 -1
  45. package/lib/cjs/ElementAspect.js +8 -8
  46. package/lib/cjs/ElementAspect.js.map +1 -1
  47. package/lib/cjs/Entity.d.ts +10 -7
  48. package/lib/cjs/Entity.d.ts.map +1 -1
  49. package/lib/cjs/Entity.js +35 -13
  50. package/lib/cjs/Entity.js.map +1 -1
  51. package/lib/cjs/ExportGraphics.d.ts +54 -8
  52. package/lib/cjs/ExportGraphics.d.ts.map +1 -1
  53. package/lib/cjs/ExportGraphics.js +158 -59
  54. package/lib/cjs/ExportGraphics.js.map +1 -1
  55. package/lib/cjs/GeographicCRSServices.d.ts +6 -2
  56. package/lib/cjs/GeographicCRSServices.d.ts.map +1 -1
  57. package/lib/cjs/GeographicCRSServices.js +1 -1
  58. package/lib/cjs/GeographicCRSServices.js.map +1 -1
  59. package/lib/cjs/IModelDb.d.ts +37 -26
  60. package/lib/cjs/IModelDb.d.ts.map +1 -1
  61. package/lib/cjs/IModelDb.js +124 -47
  62. package/lib/cjs/IModelDb.js.map +1 -1
  63. package/lib/cjs/IModelElementCloneContext.d.ts +1 -1
  64. package/lib/cjs/IModelElementCloneContext.d.ts.map +1 -1
  65. package/lib/cjs/IModelElementCloneContext.js +1 -1
  66. package/lib/cjs/IModelElementCloneContext.js.map +1 -1
  67. package/lib/cjs/IModelHost.d.ts +2 -3
  68. package/lib/cjs/IModelHost.d.ts.map +1 -1
  69. package/lib/cjs/IModelHost.js +2 -3
  70. package/lib/cjs/IModelHost.js.map +1 -1
  71. package/lib/cjs/IModelIncrementalSchemaLocater.d.ts +36 -0
  72. package/lib/cjs/IModelIncrementalSchemaLocater.d.ts.map +1 -0
  73. package/lib/cjs/IModelIncrementalSchemaLocater.js +69 -0
  74. package/lib/cjs/IModelIncrementalSchemaLocater.js.map +1 -0
  75. package/lib/cjs/LocalHub.d.ts.map +1 -1
  76. package/lib/cjs/LocalHub.js +6 -4
  77. package/lib/cjs/LocalHub.js.map +1 -1
  78. package/lib/cjs/Material.d.ts +4 -3
  79. package/lib/cjs/Material.d.ts.map +1 -1
  80. package/lib/cjs/Material.js +5 -5
  81. package/lib/cjs/Material.js.map +1 -1
  82. package/lib/cjs/Model.d.ts +22 -22
  83. package/lib/cjs/Model.js +22 -22
  84. package/lib/cjs/Model.js.map +1 -1
  85. package/lib/cjs/Relationship.d.ts +3 -0
  86. package/lib/cjs/Relationship.d.ts.map +1 -1
  87. package/lib/cjs/Relationship.js +15 -0
  88. package/lib/cjs/Relationship.js.map +1 -1
  89. package/lib/cjs/SQLiteDb.d.ts +1 -1
  90. package/lib/cjs/SQLiteDb.js +1 -1
  91. package/lib/cjs/SQLiteDb.js.map +1 -1
  92. package/lib/cjs/Schema.d.ts +25 -0
  93. package/lib/cjs/Schema.d.ts.map +1 -1
  94. package/lib/cjs/Schema.js +25 -0
  95. package/lib/cjs/Schema.js.map +1 -1
  96. package/lib/cjs/SqliteStatement.d.ts +1 -1
  97. package/lib/cjs/SqliteStatement.d.ts.map +1 -1
  98. package/lib/cjs/SqliteStatement.js +1 -1
  99. package/lib/cjs/SqliteStatement.js.map +1 -1
  100. package/lib/cjs/Texture.d.ts +1 -1
  101. package/lib/cjs/Texture.js +1 -1
  102. package/lib/cjs/Texture.js.map +1 -1
  103. package/lib/cjs/TxnManager.d.ts +4 -4
  104. package/lib/cjs/TxnManager.js +1 -1
  105. package/lib/cjs/TxnManager.js.map +1 -1
  106. package/lib/cjs/ViewDefinition.d.ts +40 -14
  107. package/lib/cjs/ViewDefinition.d.ts.map +1 -1
  108. package/lib/cjs/ViewDefinition.js +42 -14
  109. package/lib/cjs/ViewDefinition.js.map +1 -1
  110. package/lib/cjs/annotations/ElementDrivesTextAnnotation.d.ts +61 -0
  111. package/lib/cjs/annotations/ElementDrivesTextAnnotation.d.ts.map +1 -0
  112. package/lib/cjs/annotations/ElementDrivesTextAnnotation.js +110 -0
  113. package/lib/cjs/annotations/ElementDrivesTextAnnotation.js.map +1 -0
  114. package/lib/cjs/annotations/FrameGeometry.d.ts +51 -0
  115. package/lib/cjs/annotations/FrameGeometry.d.ts.map +1 -0
  116. package/lib/cjs/annotations/FrameGeometry.js +249 -0
  117. package/lib/cjs/annotations/FrameGeometry.js.map +1 -0
  118. package/lib/cjs/annotations/LeaderGeometry.d.ts +53 -0
  119. package/lib/cjs/annotations/LeaderGeometry.d.ts.map +1 -0
  120. package/lib/cjs/annotations/LeaderGeometry.js +184 -0
  121. package/lib/cjs/annotations/LeaderGeometry.js.map +1 -0
  122. package/lib/cjs/annotations/TextAnnotationElement.d.ts +204 -0
  123. package/lib/cjs/annotations/TextAnnotationElement.d.ts.map +1 -0
  124. package/lib/cjs/annotations/TextAnnotationElement.js +411 -0
  125. package/lib/cjs/annotations/TextAnnotationElement.js.map +1 -0
  126. package/lib/cjs/annotations/TextAnnotationGeometry.d.ts +33 -0
  127. package/lib/cjs/annotations/TextAnnotationGeometry.d.ts.map +1 -0
  128. package/lib/cjs/annotations/TextAnnotationGeometry.js +137 -0
  129. package/lib/cjs/annotations/TextAnnotationGeometry.js.map +1 -0
  130. package/lib/cjs/annotations/TextBlockGeometry.d.ts +16 -0
  131. package/lib/cjs/annotations/TextBlockGeometry.d.ts.map +1 -0
  132. package/lib/cjs/{TextAnnotationGeometry.js → annotations/TextBlockGeometry.js} +28 -70
  133. package/lib/cjs/annotations/TextBlockGeometry.js.map +1 -0
  134. package/lib/cjs/{TextAnnotationLayout.d.ts → annotations/TextBlockLayout.d.ts} +69 -22
  135. package/lib/cjs/annotations/TextBlockLayout.d.ts.map +1 -0
  136. package/lib/cjs/{TextAnnotationLayout.js → annotations/TextBlockLayout.js} +174 -49
  137. package/lib/cjs/annotations/TextBlockLayout.js.map +1 -0
  138. package/lib/cjs/core-backend.d.ts +7 -3
  139. package/lib/cjs/core-backend.d.ts.map +1 -1
  140. package/lib/cjs/core-backend.js +27 -6
  141. package/lib/cjs/core-backend.js.map +1 -1
  142. package/lib/cjs/internal/ElementLRUCache.d.ts +23 -0
  143. package/lib/cjs/internal/ElementLRUCache.d.ts.map +1 -1
  144. package/lib/cjs/internal/ElementLRUCache.js +167 -3
  145. package/lib/cjs/internal/ElementLRUCache.js.map +1 -1
  146. package/lib/cjs/internal/Symbols.d.ts +1 -0
  147. package/lib/cjs/internal/Symbols.d.ts.map +1 -1
  148. package/lib/cjs/internal/Symbols.js +2 -1
  149. package/lib/cjs/internal/Symbols.js.map +1 -1
  150. package/lib/cjs/internal/annotations/fields.d.ts +22 -0
  151. package/lib/cjs/internal/annotations/fields.d.ts.map +1 -0
  152. package/lib/cjs/internal/annotations/fields.js +237 -0
  153. package/lib/cjs/internal/annotations/fields.js.map +1 -0
  154. package/lib/cjs/rpc-impl/IModelReadRpcImpl.d.ts +1 -1
  155. package/lib/cjs/rpc-impl/IModelReadRpcImpl.js +1 -1
  156. package/lib/cjs/rpc-impl/IModelReadRpcImpl.js.map +1 -1
  157. package/lib/cjs/rpc-impl/RpcBriefcaseUtility.d.ts +2 -2
  158. package/lib/cjs/rpc-impl/RpcBriefcaseUtility.js.map +1 -1
  159. package/lib/cjs/rpc-impl/SnapshotIModelRpcImpl.d.ts +1 -1
  160. package/lib/cjs/rpc-impl/SnapshotIModelRpcImpl.js +1 -1
  161. package/lib/cjs/rpc-impl/SnapshotIModelRpcImpl.js.map +1 -1
  162. package/lib/cjs/workspace/Workspace.d.ts +0 -1
  163. package/lib/cjs/workspace/Workspace.d.ts.map +1 -1
  164. package/lib/cjs/workspace/Workspace.js.map +1 -1
  165. package/lib/esm/BackendHubAccess.d.ts +1 -1
  166. package/lib/esm/BackendHubAccess.js +1 -1
  167. package/lib/esm/BackendHubAccess.js.map +1 -1
  168. package/lib/esm/BisCoreSchema.d.ts.map +1 -1
  169. package/lib/esm/BisCoreSchema.js +4 -2
  170. package/lib/esm/BisCoreSchema.js.map +1 -1
  171. package/lib/esm/BriefcaseManager.d.ts +10 -2
  172. package/lib/esm/BriefcaseManager.d.ts.map +1 -1
  173. package/lib/esm/BriefcaseManager.js +17 -1
  174. package/lib/esm/BriefcaseManager.js.map +1 -1
  175. package/lib/esm/Category.d.ts +4 -4
  176. package/lib/esm/Category.js +4 -4
  177. package/lib/esm/Category.js.map +1 -1
  178. package/lib/esm/ChangesetECAdaptor.d.ts +67 -8
  179. package/lib/esm/ChangesetECAdaptor.d.ts.map +1 -1
  180. package/lib/esm/ChangesetECAdaptor.js +248 -33
  181. package/lib/esm/ChangesetECAdaptor.js.map +1 -1
  182. package/lib/esm/ClassRegistry.d.ts +9 -1
  183. package/lib/esm/ClassRegistry.d.ts.map +1 -1
  184. package/lib/esm/ClassRegistry.js +9 -1
  185. package/lib/esm/ClassRegistry.js.map +1 -1
  186. package/lib/esm/CloudSqlite.js +1 -1
  187. package/lib/esm/CloudSqlite.js.map +1 -1
  188. package/lib/esm/CodeSpecs.d.ts +1 -1
  189. package/lib/esm/CodeSpecs.js +1 -1
  190. package/lib/esm/CodeSpecs.js.map +1 -1
  191. package/lib/esm/DisplayStyle.d.ts +4 -4
  192. package/lib/esm/DisplayStyle.js +3 -3
  193. package/lib/esm/DisplayStyle.js.map +1 -1
  194. package/lib/esm/ECDb.d.ts +4 -4
  195. package/lib/esm/ECDb.d.ts.map +1 -1
  196. package/lib/esm/ECDb.js +4 -4
  197. package/lib/esm/ECDb.js.map +1 -1
  198. package/lib/esm/ECSqlStatement.d.ts +15 -6
  199. package/lib/esm/ECSqlStatement.d.ts.map +1 -1
  200. package/lib/esm/ECSqlStatement.js +19 -4
  201. package/lib/esm/ECSqlStatement.js.map +1 -1
  202. package/lib/esm/Element.d.ts +54 -51
  203. package/lib/esm/Element.d.ts.map +1 -1
  204. package/lib/esm/Element.js +67 -52
  205. package/lib/esm/Element.js.map +1 -1
  206. package/lib/esm/ElementAspect.d.ts +8 -8
  207. package/lib/esm/ElementAspect.d.ts.map +1 -1
  208. package/lib/esm/ElementAspect.js +8 -8
  209. package/lib/esm/ElementAspect.js.map +1 -1
  210. package/lib/esm/Entity.d.ts +10 -7
  211. package/lib/esm/Entity.d.ts.map +1 -1
  212. package/lib/esm/Entity.js +36 -14
  213. package/lib/esm/Entity.js.map +1 -1
  214. package/lib/esm/ExportGraphics.d.ts +54 -8
  215. package/lib/esm/ExportGraphics.d.ts.map +1 -1
  216. package/lib/esm/ExportGraphics.js +156 -58
  217. package/lib/esm/ExportGraphics.js.map +1 -1
  218. package/lib/esm/GeographicCRSServices.d.ts +6 -2
  219. package/lib/esm/GeographicCRSServices.d.ts.map +1 -1
  220. package/lib/esm/GeographicCRSServices.js +1 -1
  221. package/lib/esm/GeographicCRSServices.js.map +1 -1
  222. package/lib/esm/IModelDb.d.ts +37 -26
  223. package/lib/esm/IModelDb.d.ts.map +1 -1
  224. package/lib/esm/IModelDb.js +128 -51
  225. package/lib/esm/IModelDb.js.map +1 -1
  226. package/lib/esm/IModelElementCloneContext.d.ts +1 -1
  227. package/lib/esm/IModelElementCloneContext.d.ts.map +1 -1
  228. package/lib/esm/IModelElementCloneContext.js +1 -1
  229. package/lib/esm/IModelElementCloneContext.js.map +1 -1
  230. package/lib/esm/IModelHost.d.ts +2 -3
  231. package/lib/esm/IModelHost.d.ts.map +1 -1
  232. package/lib/esm/IModelHost.js +2 -3
  233. package/lib/esm/IModelHost.js.map +1 -1
  234. package/lib/esm/IModelIncrementalSchemaLocater.d.ts +36 -0
  235. package/lib/esm/IModelIncrementalSchemaLocater.d.ts.map +1 -0
  236. package/lib/esm/IModelIncrementalSchemaLocater.js +65 -0
  237. package/lib/esm/IModelIncrementalSchemaLocater.js.map +1 -0
  238. package/lib/esm/LocalHub.d.ts.map +1 -1
  239. package/lib/esm/LocalHub.js +6 -4
  240. package/lib/esm/LocalHub.js.map +1 -1
  241. package/lib/esm/Material.d.ts +4 -3
  242. package/lib/esm/Material.d.ts.map +1 -1
  243. package/lib/esm/Material.js +5 -5
  244. package/lib/esm/Material.js.map +1 -1
  245. package/lib/esm/Model.d.ts +22 -22
  246. package/lib/esm/Model.js +22 -22
  247. package/lib/esm/Model.js.map +1 -1
  248. package/lib/esm/Relationship.d.ts +3 -0
  249. package/lib/esm/Relationship.d.ts.map +1 -1
  250. package/lib/esm/Relationship.js +15 -0
  251. package/lib/esm/Relationship.js.map +1 -1
  252. package/lib/esm/SQLiteDb.d.ts +1 -1
  253. package/lib/esm/SQLiteDb.js +1 -1
  254. package/lib/esm/SQLiteDb.js.map +1 -1
  255. package/lib/esm/Schema.d.ts +25 -0
  256. package/lib/esm/Schema.d.ts.map +1 -1
  257. package/lib/esm/Schema.js +25 -0
  258. package/lib/esm/Schema.js.map +1 -1
  259. package/lib/esm/SqliteStatement.d.ts +1 -1
  260. package/lib/esm/SqliteStatement.d.ts.map +1 -1
  261. package/lib/esm/SqliteStatement.js +1 -1
  262. package/lib/esm/SqliteStatement.js.map +1 -1
  263. package/lib/esm/Texture.d.ts +1 -1
  264. package/lib/esm/Texture.js +1 -1
  265. package/lib/esm/Texture.js.map +1 -1
  266. package/lib/esm/TxnManager.d.ts +4 -4
  267. package/lib/esm/TxnManager.js +1 -1
  268. package/lib/esm/TxnManager.js.map +1 -1
  269. package/lib/esm/ViewDefinition.d.ts +40 -14
  270. package/lib/esm/ViewDefinition.d.ts.map +1 -1
  271. package/lib/esm/ViewDefinition.js +42 -14
  272. package/lib/esm/ViewDefinition.js.map +1 -1
  273. package/lib/esm/annotations/ElementDrivesTextAnnotation.d.ts +61 -0
  274. package/lib/esm/annotations/ElementDrivesTextAnnotation.d.ts.map +1 -0
  275. package/lib/esm/annotations/ElementDrivesTextAnnotation.js +105 -0
  276. package/lib/esm/annotations/ElementDrivesTextAnnotation.js.map +1 -0
  277. package/lib/esm/annotations/FrameGeometry.d.ts +51 -0
  278. package/lib/esm/annotations/FrameGeometry.d.ts.map +1 -0
  279. package/lib/esm/annotations/FrameGeometry.js +244 -0
  280. package/lib/esm/annotations/FrameGeometry.js.map +1 -0
  281. package/lib/esm/annotations/LeaderGeometry.d.ts +53 -0
  282. package/lib/esm/annotations/LeaderGeometry.d.ts.map +1 -0
  283. package/lib/esm/annotations/LeaderGeometry.js +179 -0
  284. package/lib/esm/annotations/LeaderGeometry.js.map +1 -0
  285. package/lib/esm/annotations/TextAnnotationElement.d.ts +204 -0
  286. package/lib/esm/annotations/TextAnnotationElement.d.ts.map +1 -0
  287. package/lib/esm/annotations/TextAnnotationElement.js +405 -0
  288. package/lib/esm/annotations/TextAnnotationElement.js.map +1 -0
  289. package/lib/esm/annotations/TextAnnotationGeometry.d.ts +33 -0
  290. package/lib/esm/annotations/TextAnnotationGeometry.d.ts.map +1 -0
  291. package/lib/esm/annotations/TextAnnotationGeometry.js +134 -0
  292. package/lib/esm/annotations/TextAnnotationGeometry.js.map +1 -0
  293. package/lib/esm/annotations/TextBlockGeometry.d.ts +16 -0
  294. package/lib/esm/annotations/TextBlockGeometry.d.ts.map +1 -0
  295. package/lib/esm/{TextAnnotationGeometry.js → annotations/TextBlockGeometry.js} +28 -70
  296. package/lib/esm/annotations/TextBlockGeometry.js.map +1 -0
  297. package/lib/esm/{TextAnnotationLayout.d.ts → annotations/TextBlockLayout.d.ts} +69 -22
  298. package/lib/esm/annotations/TextBlockLayout.d.ts.map +1 -0
  299. package/lib/esm/{TextAnnotationLayout.js → annotations/TextBlockLayout.js} +172 -48
  300. package/lib/esm/annotations/TextBlockLayout.js.map +1 -0
  301. package/lib/esm/core-backend.d.ts +7 -3
  302. package/lib/esm/core-backend.d.ts.map +1 -1
  303. package/lib/esm/core-backend.js +27 -3
  304. package/lib/esm/core-backend.js.map +1 -1
  305. package/lib/esm/internal/ElementLRUCache.d.ts +23 -0
  306. package/lib/esm/internal/ElementLRUCache.d.ts.map +1 -1
  307. package/lib/esm/internal/ElementLRUCache.js +165 -2
  308. package/lib/esm/internal/ElementLRUCache.js.map +1 -1
  309. package/lib/esm/internal/Symbols.d.ts +1 -0
  310. package/lib/esm/internal/Symbols.d.ts.map +1 -1
  311. package/lib/esm/internal/Symbols.js +1 -0
  312. package/lib/esm/internal/Symbols.js.map +1 -1
  313. package/lib/esm/internal/annotations/fields.d.ts +22 -0
  314. package/lib/esm/internal/annotations/fields.d.ts.map +1 -0
  315. package/lib/esm/internal/annotations/fields.js +231 -0
  316. package/lib/esm/internal/annotations/fields.js.map +1 -0
  317. package/lib/esm/rpc-impl/IModelReadRpcImpl.d.ts +1 -1
  318. package/lib/esm/rpc-impl/IModelReadRpcImpl.js +1 -1
  319. package/lib/esm/rpc-impl/IModelReadRpcImpl.js.map +1 -1
  320. package/lib/esm/rpc-impl/RpcBriefcaseUtility.d.ts +2 -2
  321. package/lib/esm/rpc-impl/RpcBriefcaseUtility.js.map +1 -1
  322. package/lib/esm/rpc-impl/SnapshotIModelRpcImpl.d.ts +1 -1
  323. package/lib/esm/rpc-impl/SnapshotIModelRpcImpl.js +1 -1
  324. package/lib/esm/rpc-impl/SnapshotIModelRpcImpl.js.map +1 -1
  325. package/lib/esm/test/AnnotationTestUtils.d.ts +15 -0
  326. package/lib/esm/test/AnnotationTestUtils.d.ts.map +1 -0
  327. package/lib/esm/test/AnnotationTestUtils.js +41 -0
  328. package/lib/esm/test/AnnotationTestUtils.js.map +1 -0
  329. package/lib/esm/test/ElementLRUCache.test.js +224 -1
  330. package/lib/esm/test/ElementLRUCache.test.js.map +1 -1
  331. package/lib/esm/test/IModelTestUtils.d.ts.map +1 -1
  332. package/lib/esm/test/IModelTestUtils.js +1 -0
  333. package/lib/esm/test/IModelTestUtils.js.map +1 -1
  334. package/lib/esm/test/TestUtils.d.ts +1 -1
  335. package/lib/esm/test/TestUtils.d.ts.map +1 -1
  336. package/lib/esm/test/TestUtils.js +1 -1
  337. package/lib/esm/test/TestUtils.js.map +1 -1
  338. package/lib/esm/test/annotations/Fields.test.d.ts +2 -0
  339. package/lib/esm/test/annotations/Fields.test.d.ts.map +1 -0
  340. package/lib/esm/test/annotations/Fields.test.js +576 -0
  341. package/lib/esm/test/annotations/Fields.test.js.map +1 -0
  342. package/lib/esm/test/annotations/FrameGeometry.test.d.ts +2 -0
  343. package/lib/esm/test/annotations/FrameGeometry.test.d.ts.map +1 -0
  344. package/lib/esm/test/annotations/FrameGeometry.test.js +86 -0
  345. package/lib/esm/test/annotations/FrameGeometry.test.js.map +1 -0
  346. package/lib/esm/test/annotations/LeaderGeometry.test.d.ts +2 -0
  347. package/lib/esm/test/annotations/LeaderGeometry.test.d.ts.map +1 -0
  348. package/lib/esm/test/annotations/LeaderGeometry.test.js +256 -0
  349. package/lib/esm/test/annotations/LeaderGeometry.test.js.map +1 -0
  350. package/lib/esm/test/annotations/TextAnnotation.test.js +269 -1047
  351. package/lib/esm/test/annotations/TextAnnotation.test.js.map +1 -1
  352. package/lib/esm/test/annotations/TextBlock.test.d.ts +2 -0
  353. package/lib/esm/test/annotations/TextBlock.test.d.ts.map +1 -0
  354. package/lib/esm/test/annotations/TextBlock.test.js +1199 -0
  355. package/lib/esm/test/annotations/TextBlock.test.js.map +1 -0
  356. package/lib/esm/test/assets/IncrementalSchemaLocater/configs/old.config.d.ts +60 -0
  357. package/lib/esm/test/assets/IncrementalSchemaLocater/configs/old.config.d.ts.map +1 -0
  358. package/lib/esm/test/assets/IncrementalSchemaLocater/configs/old.config.js +69 -0
  359. package/lib/esm/test/assets/IncrementalSchemaLocater/configs/old.config.js.map +1 -0
  360. package/lib/esm/test/assets/IncrementalSchemaLocater/configs/simple.config.d.ts +1442 -0
  361. package/lib/esm/test/assets/IncrementalSchemaLocater/configs/simple.config.d.ts.map +1 -0
  362. package/lib/esm/test/assets/IncrementalSchemaLocater/configs/simple.config.js +817 -0
  363. package/lib/esm/test/assets/IncrementalSchemaLocater/configs/simple.config.js.map +1 -0
  364. package/lib/esm/test/ecdb/ConcurrentQuery.test.d.ts +2 -0
  365. package/lib/esm/test/ecdb/ConcurrentQuery.test.d.ts.map +1 -0
  366. package/lib/esm/test/ecdb/ConcurrentQuery.test.js +164 -0
  367. package/lib/esm/test/ecdb/ConcurrentQuery.test.js.map +1 -0
  368. package/lib/esm/test/ecdb/ConcurrentQueryLoad.test.js +22 -32
  369. package/lib/esm/test/ecdb/ConcurrentQueryLoad.test.js.map +1 -1
  370. package/lib/esm/test/ecdb/ECDb.test.js +29 -8
  371. package/lib/esm/test/ecdb/ECDb.test.js.map +1 -1
  372. package/lib/esm/test/ecdb/ECSqlQuery.test.js +0 -55
  373. package/lib/esm/test/ecdb/ECSqlQuery.test.js.map +1 -1
  374. package/lib/esm/test/ecdb/ECSqlStatement.test.js +192 -0
  375. package/lib/esm/test/ecdb/ECSqlStatement.test.js.map +1 -1
  376. package/lib/esm/test/hubaccess/ApplyChangeset.test.d.ts +2 -0
  377. package/lib/esm/test/hubaccess/ApplyChangeset.test.d.ts.map +1 -0
  378. package/lib/esm/test/hubaccess/ApplyChangeset.test.js +86 -0
  379. package/lib/esm/test/hubaccess/ApplyChangeset.test.js.map +1 -0
  380. package/lib/esm/test/imodel/IModel.test.js +313 -5
  381. package/lib/esm/test/imodel/IModel.test.js.map +1 -1
  382. package/lib/esm/test/incrementalSchemaLocater/ECSqlQueries.test.d.ts +2 -0
  383. package/lib/esm/test/incrementalSchemaLocater/ECSqlQueries.test.d.ts.map +1 -0
  384. package/lib/esm/test/incrementalSchemaLocater/ECSqlQueries.test.js +343 -0
  385. package/lib/esm/test/incrementalSchemaLocater/ECSqlQueries.test.js.map +1 -0
  386. package/lib/esm/test/incrementalSchemaLocater/IncrementalLoading.test.d.ts +2 -0
  387. package/lib/esm/test/incrementalSchemaLocater/IncrementalLoading.test.d.ts.map +1 -0
  388. package/lib/esm/test/incrementalSchemaLocater/IncrementalLoading.test.js +207 -0
  389. package/lib/esm/test/incrementalSchemaLocater/IncrementalLoading.test.js.map +1 -0
  390. package/lib/esm/test/incrementalSchemaLocater/utils/IModelSchemaLocater.d.ts +11 -0
  391. package/lib/esm/test/incrementalSchemaLocater/utils/IModelSchemaLocater.d.ts.map +1 -0
  392. package/lib/esm/test/incrementalSchemaLocater/utils/IModelSchemaLocater.js +36 -0
  393. package/lib/esm/test/incrementalSchemaLocater/utils/IModelSchemaLocater.js.map +1 -0
  394. package/lib/esm/test/incrementalSchemaLocater/utils/IncrementalTestHelper.d.ts +17 -0
  395. package/lib/esm/test/incrementalSchemaLocater/utils/IncrementalTestHelper.d.ts.map +1 -0
  396. package/lib/esm/test/incrementalSchemaLocater/utils/IncrementalTestHelper.js +116 -0
  397. package/lib/esm/test/incrementalSchemaLocater/utils/IncrementalTestHelper.js.map +1 -0
  398. package/lib/esm/test/incrementalSchemaLocater/utils/TestSqlSchemaLocater.d.ts +9 -0
  399. package/lib/esm/test/incrementalSchemaLocater/utils/TestSqlSchemaLocater.d.ts.map +1 -0
  400. package/lib/esm/test/incrementalSchemaLocater/utils/TestSqlSchemaLocater.js +20 -0
  401. package/lib/esm/test/incrementalSchemaLocater/utils/TestSqlSchemaLocater.js.map +1 -0
  402. package/lib/esm/test/misc/GeoServices.test.js +36 -10
  403. package/lib/esm/test/misc/GeoServices.test.js.map +1 -1
  404. package/lib/esm/test/schema/ClassRegistry.test.js +104 -2
  405. package/lib/esm/test/schema/ClassRegistry.test.js.map +1 -1
  406. package/lib/esm/test/standalone/ChangesetReader.test.js +547 -136
  407. package/lib/esm/test/standalone/ChangesetReader.test.js.map +1 -1
  408. package/lib/esm/test/standalone/ExportGraphics.test.js +53 -1
  409. package/lib/esm/test/standalone/ExportGraphics.test.js.map +1 -1
  410. package/lib/esm/test/standalone/GeometryStream.test.js +49 -1
  411. package/lib/esm/test/standalone/GeometryStream.test.js.map +1 -1
  412. package/lib/esm/test/standalone/IModelLimits.test.d.ts +2 -0
  413. package/lib/esm/test/standalone/IModelLimits.test.d.ts.map +1 -0
  414. package/lib/esm/test/standalone/IModelLimits.test.js +103 -0
  415. package/lib/esm/test/standalone/IModelLimits.test.js.map +1 -0
  416. package/lib/esm/test/standalone/RenderMaterialElement.test.js +24 -1
  417. package/lib/esm/test/standalone/RenderMaterialElement.test.js.map +1 -1
  418. package/lib/esm/test/standalone/SnapshotDb.test.js +19 -1
  419. package/lib/esm/test/standalone/SnapshotDb.test.js.map +1 -1
  420. package/lib/esm/workspace/Workspace.d.ts +0 -1
  421. package/lib/esm/workspace/Workspace.d.ts.map +1 -1
  422. package/lib/esm/workspace/Workspace.js.map +1 -1
  423. package/package.json +22 -16
  424. package/lib/cjs/TextAnnotationElement.d.ts +0 -54
  425. package/lib/cjs/TextAnnotationElement.d.ts.map +0 -1
  426. package/lib/cjs/TextAnnotationElement.js +0 -94
  427. package/lib/cjs/TextAnnotationElement.js.map +0 -1
  428. package/lib/cjs/TextAnnotationGeometry.d.ts +0 -32
  429. package/lib/cjs/TextAnnotationGeometry.d.ts.map +0 -1
  430. package/lib/cjs/TextAnnotationGeometry.js.map +0 -1
  431. package/lib/cjs/TextAnnotationLayout.d.ts.map +0 -1
  432. package/lib/cjs/TextAnnotationLayout.js.map +0 -1
  433. package/lib/esm/TextAnnotationElement.d.ts +0 -54
  434. package/lib/esm/TextAnnotationElement.d.ts.map +0 -1
  435. package/lib/esm/TextAnnotationElement.js +0 -89
  436. package/lib/esm/TextAnnotationElement.js.map +0 -1
  437. package/lib/esm/TextAnnotationGeometry.d.ts +0 -32
  438. package/lib/esm/TextAnnotationGeometry.d.ts.map +0 -1
  439. package/lib/esm/TextAnnotationGeometry.js.map +0 -1
  440. package/lib/esm/TextAnnotationLayout.d.ts.map +0 -1
  441. package/lib/esm/TextAnnotationLayout.js.map +0 -1
@@ -16,6 +16,7 @@ const Entity_1 = require("./Entity");
16
16
  const Model_1 = require("./Model");
17
17
  const NavigationRelationship_1 = require("./NavigationRelationship");
18
18
  const Symbols_1 = require("./internal/Symbols");
19
+ const ecschema_metadata_1 = require("@itwin/ecschema-metadata");
19
20
  /** The smallest individually identifiable building block for modeling the real world in an iModel.
20
21
  * Each element represents an [[Entity]] in the real world. Sets of Elements (contained in [[Model]]s) are used to model
21
22
  * other Elements that represent larger scale real world entities. Using this recursive modeling strategy,
@@ -38,7 +39,7 @@ const Symbols_1 = require("./internal/Symbols");
38
39
  * * [Element Fundamentals]($docs/bis/guide/fundamentals/element-fundamentals.md)
39
40
  * * [Working with schemas and elements in TypeScript]($docs/learning/backend/SchemasAndElementsInTypeScript.md)
40
41
  * * [Creating elements]($docs/learning/backend/CreateElements.md)
41
- * @public
42
+ * @public @preview
42
43
  */
43
44
  class Element extends Entity_1.Entity {
44
45
  static get className() { return "Element"; }
@@ -343,7 +344,7 @@ class Element extends Entity_1.Entity {
343
344
  model: core_common_1.ConcreteEntityTypes.Model,
344
345
  };
345
346
  /** Get the class metadata for this element.
346
- * @deprecated in 5.0. Please use `getMetaData` provided by the parent class `Entity` instead.
347
+ * @deprecated in 5.0 - will not be removed until after 2026-06-13. Please use `getMetaData` provided by the parent class `Entity` instead.
347
348
  *
348
349
  * @example
349
350
  * ```typescript
@@ -356,6 +357,20 @@ class Element extends Entity_1.Entity {
356
357
  */
357
358
  // eslint-disable-next-line @typescript-eslint/no-deprecated
358
359
  getClassMetaData() { return this.iModel.classMetaDataRegistry.find(this.classFullName); }
360
+ /** Query metadata for this entity class from the iModel's schema. Returns cached metadata if available.*/
361
+ async getMetaData() {
362
+ if (this._metadata && ecschema_metadata_1.EntityClass.isEntityClass(this._metadata)) {
363
+ return this._metadata;
364
+ }
365
+ const entity = await this.iModel.schemaContext.getSchemaItem(this.schemaItemKey, ecschema_metadata_1.EntityClass);
366
+ if (entity !== undefined) {
367
+ this._metadata = entity;
368
+ return this._metadata;
369
+ }
370
+ else {
371
+ throw new Error(`Cannot get metadata for ${this.classFullName}`);
372
+ }
373
+ }
359
374
  getAllUserProperties() {
360
375
  if (!this.jsonProperties.UserProps)
361
376
  this.jsonProperties.UserProps = new Object();
@@ -403,7 +418,7 @@ class Element extends Entity_1.Entity {
403
418
  }
404
419
  exports.Element = Element;
405
420
  /** An abstract base class to model real world entities that intrinsically have geometry.
406
- * @public
421
+ * @public @preview
407
422
  */
408
423
  class GeometricElement extends Element {
409
424
  static get className() { return "GeometricElement"; }
@@ -470,7 +485,7 @@ class GeometricElement extends Element {
470
485
  exports.GeometricElement = GeometricElement;
471
486
  /** An abstract base class to model real world entities that intrinsically have 3d geometry.
472
487
  * See [how to create a GeometricElement3d]($docs/learning/backend/CreateElements.md#GeometricElement3d).
473
- * @public
488
+ * @public @preview
474
489
  */
475
490
  class GeometricElement3d extends GeometricElement {
476
491
  static get className() { return "GeometricElement3d"; }
@@ -614,7 +629,7 @@ class GeometricElement3d extends GeometricElement {
614
629
  }
615
630
  exports.GeometricElement3d = GeometricElement3d;
616
631
  /** A 3d Graphical Element
617
- * @public
632
+ * @public @preview
618
633
  */
619
634
  class GraphicalElement3d extends GeometricElement3d {
620
635
  static get className() { return "GraphicalElement3d"; }
@@ -622,7 +637,7 @@ class GraphicalElement3d extends GeometricElement3d {
622
637
  }
623
638
  exports.GraphicalElement3d = GraphicalElement3d;
624
639
  /** An abstract base class to model information entities that intrinsically have 2d geometry.
625
- * @public
640
+ * @public @preview
626
641
  */
627
642
  class GeometricElement2d extends GeometricElement {
628
643
  static get className() { return "GeometricElement2d"; }
@@ -766,7 +781,7 @@ class GeometricElement2d extends GeometricElement {
766
781
  }
767
782
  exports.GeometricElement2d = GeometricElement2d;
768
783
  /** An abstract base class for 2d Geometric Elements that are used to convey information within graphical presentations (like drawings).
769
- * @public
784
+ * @public @preview
770
785
  */
771
786
  class GraphicalElement2d extends GeometricElement2d {
772
787
  static get className() { return "GraphicalElement2d"; }
@@ -774,7 +789,7 @@ class GraphicalElement2d extends GeometricElement2d {
774
789
  }
775
790
  exports.GraphicalElement2d = GraphicalElement2d;
776
791
  /** 2d element used to annotate drawings and sheets.
777
- * @public
792
+ * @public @preview
778
793
  */
779
794
  class AnnotationElement2d extends GraphicalElement2d {
780
795
  static get className() { return "AnnotationElement2d"; }
@@ -782,7 +797,7 @@ class AnnotationElement2d extends GraphicalElement2d {
782
797
  }
783
798
  exports.AnnotationElement2d = AnnotationElement2d;
784
799
  /** 2d element used to persist graphics for use in drawings.
785
- * @public
800
+ * @public @preview
786
801
  */
787
802
  class DrawingGraphic extends GraphicalElement2d {
788
803
  static get className() { return "DrawingGraphic"; }
@@ -790,7 +805,7 @@ class DrawingGraphic extends GraphicalElement2d {
790
805
  }
791
806
  exports.DrawingGraphic = DrawingGraphic;
792
807
  /** An Element that occupies real world space. Its coordinates are in the project space of its iModel.
793
- * @public
808
+ * @public @preview
794
809
  */
795
810
  class SpatialElement extends GeometricElement3d {
796
811
  static get className() { return "SpatialElement"; }
@@ -798,7 +813,7 @@ class SpatialElement extends GeometricElement3d {
798
813
  }
799
814
  exports.SpatialElement = SpatialElement;
800
815
  /** An Element that is spatially located, has mass, and can be *touched*.
801
- * @public
816
+ * @public @preview
802
817
  */
803
818
  class PhysicalElement extends SpatialElement {
804
819
  static get className() { return "PhysicalElement"; }
@@ -816,7 +831,7 @@ class PhysicalElement extends SpatialElement {
816
831
  }
817
832
  exports.PhysicalElement = PhysicalElement;
818
833
  /** Identifies a *tracked* real world location but has no mass and cannot be *touched*.
819
- * @public
834
+ * @public @preview
820
835
  */
821
836
  class SpatialLocationElement extends SpatialElement {
822
837
  static get className() { return "SpatialLocationElement"; }
@@ -824,7 +839,7 @@ class SpatialLocationElement extends SpatialElement {
824
839
  }
825
840
  exports.SpatialLocationElement = SpatialLocationElement;
826
841
  /** A Volume Element is a Spatial Location Element that is restricted to defining a volume.
827
- * @public
842
+ * @public @preview
828
843
  */
829
844
  class VolumeElement extends SpatialLocationElement {
830
845
  static get className() { return "VolumeElement"; }
@@ -834,7 +849,7 @@ exports.VolumeElement = VolumeElement;
834
849
  /** A SectionDrawingLocation element identifies the location of a [[SectionDrawing]] in the context of a [[SpatialModel]],
835
850
  * enabling [HyperModeling]($hypermodeling).
836
851
  * @note The associated ECClass was added to the BisCore schema in version 1.0.11.
837
- * @public
852
+ * @public @preview
838
853
  */
839
854
  class SectionDrawingLocation extends SpatialLocationElement {
840
855
  /** The Id of the [[ViewDefinition]] to which this location refers. */
@@ -855,7 +870,7 @@ exports.SectionDrawingLocation = SectionDrawingLocation;
855
870
  /** Information Content Element is an abstract base class for modeling pure information entities. Only the
856
871
  * core framework should directly subclass from Information Content Element. Domain and application developers
857
872
  * should start with the most appropriate subclass of Information Content Element.
858
- * @public
873
+ * @public @preview
859
874
  */
860
875
  class InformationContentElement extends Element {
861
876
  static get className() { return "InformationContentElement"; }
@@ -872,7 +887,7 @@ class DriverBundleElement extends InformationContentElement {
872
887
  }
873
888
  exports.DriverBundleElement = DriverBundleElement;
874
889
  /** Information Reference is an abstract base class for modeling entities whose main purpose is to reference something else.
875
- * @public
890
+ * @public @preview
876
891
  */
877
892
  class InformationReferenceElement extends InformationContentElement {
878
893
  static get className() { return "InformationReferenceElement"; }
@@ -880,7 +895,7 @@ class InformationReferenceElement extends InformationContentElement {
880
895
  }
881
896
  exports.InformationReferenceElement = InformationReferenceElement;
882
897
  /** A Subject is an information element that describes what this repository (or part thereof) is about.
883
- * @public
898
+ * @public @preview
884
899
  */
885
900
  class Subject extends InformationReferenceElement {
886
901
  static get className() { return "Subject"; }
@@ -938,7 +953,7 @@ exports.Subject = Subject;
938
953
  * For example, a will is a legal document. The will published into a PDF file is an ElectronicDocumentCopy.
939
954
  * The will printed onto paper is a PrintedDocumentCopy.
940
955
  * In this example, the Document only identifies, names, and tracks the content of the will.
941
- * @public
956
+ * @public @preview
942
957
  */
943
958
  class Document extends InformationContentElement {
944
959
  static get className() { return "Document"; }
@@ -946,7 +961,7 @@ class Document extends InformationContentElement {
946
961
  }
947
962
  exports.Document = Document;
948
963
  /** A document that represents a drawing, that is, a two-dimensional graphical representation of engineering data. A Drawing element is usually modelled by a [[DrawingModel]].
949
- * @public
964
+ * @public @preview
950
965
  */
951
966
  class Drawing extends Document {
952
967
  _scaleFactor;
@@ -954,7 +969,7 @@ class Drawing extends Document {
954
969
  * size of the [ViewAttachment]($backend) created when attaching the [Drawing]($backend) to a [Sheet]($backend).
955
970
  * Default: 1.
956
971
  * @note Attempting to set this property to a value less than or equal to zero will produce an exception.
957
- * @public
972
+ * @public @preview
958
973
  */
959
974
  get scaleFactor() { return this._scaleFactor; }
960
975
  set scaleFactor(factor) {
@@ -1025,7 +1040,7 @@ exports.Drawing = Drawing;
1025
1040
  /** A document that represents a section drawing, that is, a graphical documentation derived from a planar
1026
1041
  * section of a spatial view. A SectionDrawing element is modelled by a [[SectionDrawingModel]] or a [[GraphicalModel3d]].
1027
1042
  * A [[SectionDrawingLocation]] can associate the drawing with a spatial location, enabling [HyperModeling]($hypermodeling).
1028
- * @public
1043
+ * @public @preview
1029
1044
  */
1030
1045
  class SectionDrawing extends Drawing {
1031
1046
  /** The type of section used to generate the drawing. */
@@ -1077,7 +1092,7 @@ class SectionDrawing extends Drawing {
1077
1092
  }
1078
1093
  exports.SectionDrawing = SectionDrawing;
1079
1094
  /** The template for a SheetBorder
1080
- * @public
1095
+ * @public @preview
1081
1096
  */
1082
1097
  class SheetBorderTemplate extends Document {
1083
1098
  static get className() { return "SheetBorderTemplate"; }
@@ -1091,7 +1106,7 @@ class SheetBorderTemplate extends Document {
1091
1106
  }
1092
1107
  exports.SheetBorderTemplate = SheetBorderTemplate;
1093
1108
  /** The template for a [[Sheet]]
1094
- * @public
1109
+ * @public @preview
1095
1110
  */
1096
1111
  class SheetTemplate extends Document {
1097
1112
  static get className() { return "SheetTemplate"; }
@@ -1112,7 +1127,7 @@ class SheetTemplate extends Document {
1112
1127
  }
1113
1128
  exports.SheetTemplate = SheetTemplate;
1114
1129
  /** A digital representation of a *sheet of paper*. Modeled by a [[SheetModel]].
1115
- * @public
1130
+ * @public @preview
1116
1131
  */
1117
1132
  class Sheet extends Document {
1118
1133
  static get className() { return "Sheet"; }
@@ -1145,7 +1160,7 @@ class Sheet extends Document {
1145
1160
  exports.Sheet = Sheet;
1146
1161
  /** Information Record Element is an abstract base class for modeling information records. Information Record
1147
1162
  * Element is the default choice if no other subclass of Information Content Element makes sense.
1148
- * @public
1163
+ * @public @preview
1149
1164
  */
1150
1165
  class InformationRecordElement extends InformationContentElement {
1151
1166
  static get className() { return "InformationRecordElement"; }
@@ -1153,7 +1168,7 @@ class InformationRecordElement extends InformationContentElement {
1153
1168
  }
1154
1169
  exports.InformationRecordElement = InformationRecordElement;
1155
1170
  /** A Definition Element holds configuration-related information that is meant to be referenced / shared.
1156
- * @public
1171
+ * @public @preview
1157
1172
  */
1158
1173
  class DefinitionElement extends InformationContentElement {
1159
1174
  static get className() { return "DefinitionElement"; }
@@ -1203,7 +1218,7 @@ class DefinitionElement extends InformationContentElement {
1203
1218
  exports.DefinitionElement = DefinitionElement;
1204
1219
  /** This abstract class unifies DefinitionGroup and DefinitionContainer for relationship endpoint purposes.
1205
1220
  * @note The associated ECClass was added to the BisCore schema in version 1.0.10
1206
- * @public
1221
+ * @public @preview
1207
1222
  */
1208
1223
  class DefinitionSet extends DefinitionElement {
1209
1224
  static get className() { return "DefinitionSet"; }
@@ -1211,7 +1226,7 @@ class DefinitionSet extends DefinitionElement {
1211
1226
  exports.DefinitionSet = DefinitionSet;
1212
1227
  /** A DefinitionContainer exclusively owns a set of DefinitionElements contained within its sub-model (of type DefinitionModel).
1213
1228
  * @note The associated ECClass was added to the BisCore schema in version 1.0.10
1214
- * @public
1229
+ * @public @preview
1215
1230
  */
1216
1231
  class DefinitionContainer extends DefinitionSet {
1217
1232
  static get className() { return "DefinitionContainer"; }
@@ -1257,7 +1272,7 @@ class DefinitionContainer extends DefinitionSet {
1257
1272
  exports.DefinitionContainer = DefinitionContainer;
1258
1273
  /** A non-exclusive set of DefinitionElements grouped using the DefinitionGroupGroupsDefinitions relationship.
1259
1274
  * @note The associated ECClass was added to the BisCore schema in version 1.0.10
1260
- * @public
1275
+ * @public @preview
1261
1276
  */
1262
1277
  class DefinitionGroup extends DefinitionSet {
1263
1278
  static get className() { return "DefinitionGroup"; }
@@ -1282,14 +1297,14 @@ class DefinitionGroup extends DefinitionSet {
1282
1297
  }
1283
1298
  exports.DefinitionGroup = DefinitionGroup;
1284
1299
  /** Defines a set of properties (the *type*) that may be associated with an element.
1285
- * @public
1300
+ * @public @preview
1286
1301
  */
1287
1302
  class TypeDefinitionElement extends DefinitionElement {
1288
1303
  static get className() { return "TypeDefinitionElement"; }
1289
1304
  recipe;
1290
1305
  constructor(props, iModel) {
1291
1306
  super(props, iModel);
1292
- this.recipe = this.recipe;
1307
+ this.recipe = core_common_1.RelatedElement.fromJSON(props.recipe);
1293
1308
  }
1294
1309
  collectReferenceIds(referenceIds) {
1295
1310
  super.collectReferenceIds(referenceIds);
@@ -1309,7 +1324,7 @@ exports.RecipeDefinitionElement = RecipeDefinitionElement;
1309
1324
  /** Defines a set of properties (the *type*) that can be associated with a Physical Element. A Physical
1310
1325
  * Type has a strong correlation with something that can be ordered from a catalog since all instances
1311
1326
  * share a common set of properties.
1312
- * @public
1327
+ * @public @preview
1313
1328
  */
1314
1329
  class PhysicalType extends TypeDefinitionElement {
1315
1330
  static get className() { return "PhysicalType"; }
@@ -1336,7 +1351,7 @@ class PhysicalType extends TypeDefinitionElement {
1336
1351
  }
1337
1352
  exports.PhysicalType = PhysicalType;
1338
1353
  /** Defines a set of properties (the *type*) that can be associated with a spatial location.
1339
- * @public
1354
+ * @public @preview
1340
1355
  */
1341
1356
  class SpatialLocationType extends TypeDefinitionElement {
1342
1357
  static get className() { return "SpatialLocationType"; }
@@ -1403,7 +1418,7 @@ class TemplateRecipe3d extends RecipeDefinitionElement {
1403
1418
  }
1404
1419
  exports.TemplateRecipe3d = TemplateRecipe3d;
1405
1420
  /** Defines a set of properties (the *type*) that can be associated with a 2D Graphical Element.
1406
- * @public
1421
+ * @public @preview
1407
1422
  */
1408
1423
  class GraphicalType2d extends TypeDefinitionElement {
1409
1424
  static get className() { return "GraphicalType2d"; }
@@ -1472,7 +1487,7 @@ exports.TemplateRecipe2d = TemplateRecipe2d;
1472
1487
  /** An abstract base class for elements that establishes a particular modeling perspective for its parent Subject.
1473
1488
  * Instances are always sub-modeled by a specialization of Model of the appropriate modeling perspective.
1474
1489
  * @see [iModel Information Hierarchy]($docs/bis/guide/data-organization/top-of-the-world), [[Subject]], [[Model]]
1475
- * @public
1490
+ * @public @preview
1476
1491
  */
1477
1492
  class InformationPartitionElement extends InformationContentElement {
1478
1493
  static get className() { return "InformationPartitionElement"; }
@@ -1499,7 +1514,7 @@ exports.InformationPartitionElement = InformationPartitionElement;
1499
1514
  /** A DefinitionPartition element establishes a *Definition* modeling perspective for its parent Subject.
1500
1515
  * A DefinitionPartition is always sub-modeled by a DefinitionModel.
1501
1516
  * @see [[DefinitionModel]]
1502
- * @public
1517
+ * @public @preview
1503
1518
  */
1504
1519
  class DefinitionPartition extends InformationPartitionElement {
1505
1520
  static get className() { return "DefinitionPartition"; }
@@ -1508,7 +1523,7 @@ exports.DefinitionPartition = DefinitionPartition;
1508
1523
  /** A DocumentPartition element establishes a *Document* modeling perspective for its parent Subject.
1509
1524
  * A DocumentPartition is always sub-modeled by a DocumentListModel.
1510
1525
  * @see [[DocumentListModel]]
1511
- * @public
1526
+ * @public @preview
1512
1527
  */
1513
1528
  class DocumentPartition extends InformationPartitionElement {
1514
1529
  static get className() { return "DocumentPartition"; }
@@ -1517,7 +1532,7 @@ exports.DocumentPartition = DocumentPartition;
1517
1532
  /** A GroupInformationPartition element establishes a *Group Information* modeling perspective for its parent Subject.
1518
1533
  * A GroupInformationPartition is always sub-modeled by a GroupInformationModel.
1519
1534
  * @see [[GroupInformationModel]]
1520
- * @public
1535
+ * @public @preview
1521
1536
  */
1522
1537
  class GroupInformationPartition extends InformationPartitionElement {
1523
1538
  static get className() { return "GroupInformationPartition"; }
@@ -1527,7 +1542,7 @@ exports.GroupInformationPartition = GroupInformationPartition;
1527
1542
  * A GraphicalPartition3d is always sub-modeled by a GraphicalModel3d.
1528
1543
  * @note The associated ECClass was added to the BisCore schema in version 1.0.8
1529
1544
  * @see [[GraphicalModel3d]]
1530
- * @public
1545
+ * @public @preview
1531
1546
  */
1532
1547
  class GraphicalPartition3d extends InformationPartitionElement {
1533
1548
  static get className() { return "GraphicalPartition3d"; }
@@ -1536,7 +1551,7 @@ exports.GraphicalPartition3d = GraphicalPartition3d;
1536
1551
  /** An InformationRecordPartition element establishes a *Information Record* modeling perspective for its parent Subject.
1537
1552
  * A InformationRecordPartition is always sub-modeled by an InformationRecordModel.
1538
1553
  * @see [[InformationRecordModel]]
1539
- * @public
1554
+ * @public @preview
1540
1555
  */
1541
1556
  class InformationRecordPartition extends InformationPartitionElement {
1542
1557
  static get className() { return "InformationRecordPartition"; }
@@ -1544,7 +1559,7 @@ class InformationRecordPartition extends InformationPartitionElement {
1544
1559
  exports.InformationRecordPartition = InformationRecordPartition;
1545
1560
  /** A LinkPartition element establishes a *Link* modeling perspective for its parent Subject. A LinkPartition is always sub-modeled by a LinkModel.
1546
1561
  * @see [[LinkModel]]
1547
- * @public
1562
+ * @public @preview
1548
1563
  */
1549
1564
  class LinkPartition extends InformationPartitionElement {
1550
1565
  static get className() { return "LinkPartition"; }
@@ -1552,7 +1567,7 @@ class LinkPartition extends InformationPartitionElement {
1552
1567
  exports.LinkPartition = LinkPartition;
1553
1568
  /** A PhysicalPartition element establishes a *Physical* modeling perspective for its parent Subject. A PhysicalPartition is always sub-modeled by a PhysicalModel.
1554
1569
  * @see [[PhysicalModel]]
1555
- * @public
1570
+ * @public @preview
1556
1571
  */
1557
1572
  class PhysicalPartition extends InformationPartitionElement {
1558
1573
  static get className() { return "PhysicalPartition"; }
@@ -1561,7 +1576,7 @@ exports.PhysicalPartition = PhysicalPartition;
1561
1576
  /** A SpatialLocationPartition element establishes a *SpatialLocation* modeling perspective for its parent Subject.
1562
1577
  * A SpatialLocationPartition is always sub-modeled by a SpatialLocationModel.
1563
1578
  * @see [[SpatialLocationModel]]
1564
- * @public
1579
+ * @public @preview
1565
1580
  */
1566
1581
  class SpatialLocationPartition extends InformationPartitionElement {
1567
1582
  static get className() { return "SpatialLocationPartition"; }
@@ -1576,14 +1591,14 @@ class SheetIndexPartition extends InformationPartitionElement {
1576
1591
  }
1577
1592
  exports.SheetIndexPartition = SheetIndexPartition;
1578
1593
  /** Group Information is an abstract base class for modeling entities whose main purpose is to reference a group of related elements.
1579
- * @public
1594
+ * @public @preview
1580
1595
  */
1581
1596
  class GroupInformationElement extends InformationReferenceElement {
1582
1597
  static get className() { return "GroupInformationElement"; }
1583
1598
  }
1584
1599
  exports.GroupInformationElement = GroupInformationElement;
1585
1600
  /** An information element that specifies a link.
1586
- * @public
1601
+ * @public @preview
1587
1602
  */
1588
1603
  class LinkElement extends InformationReferenceElement {
1589
1604
  static get className() { return "LinkElement"; }
@@ -1599,7 +1614,7 @@ class LinkElement extends InformationReferenceElement {
1599
1614
  }
1600
1615
  exports.LinkElement = LinkElement;
1601
1616
  /** An information element that specifies a URL link.
1602
- * @public
1617
+ * @public @preview
1603
1618
  */
1604
1619
  class UrlLink extends LinkElement {
1605
1620
  static get className() { return "UrlLink"; }
@@ -1657,7 +1672,7 @@ class FolderLink extends UrlLink {
1657
1672
  }
1658
1673
  exports.FolderLink = FolderLink;
1659
1674
  /** An information element that links to a repository.
1660
- * @public
1675
+ * @public @preview
1661
1676
  */
1662
1677
  class RepositoryLink extends UrlLink {
1663
1678
  static get className() { return "RepositoryLink"; }
@@ -1678,7 +1693,7 @@ class RepositoryLink extends UrlLink {
1678
1693
  }
1679
1694
  exports.RepositoryLink = RepositoryLink;
1680
1695
  /** An information element that links to an embedded file.
1681
- * @public
1696
+ * @public @preview
1682
1697
  */
1683
1698
  class EmbeddedFileLink extends LinkElement {
1684
1699
  static get className() { return "EmbeddedFileLink"; }
@@ -1687,7 +1702,7 @@ exports.EmbeddedFileLink = EmbeddedFileLink;
1687
1702
  /** A real world entity is modeled as a Role Element when a set of external circumstances define an important
1688
1703
  * role (one that is worth tracking) that is not intrinsic to the entity playing the role. For example,
1689
1704
  * a person can play the role of a teacher or a rock can play the role of a boundary marker.
1690
- * @public
1705
+ * @public @preview
1691
1706
  */
1692
1707
  class RoleElement extends Element {
1693
1708
  static get className() { return "RoleElement"; }
@@ -1695,7 +1710,7 @@ class RoleElement extends Element {
1695
1710
  exports.RoleElement = RoleElement;
1696
1711
  /** A Definition Element that specifies a collection of geometry that is meant to be reused across Geometric
1697
1712
  * Element instances. Leveraging Geometry Parts can help reduce file size and improve display performance.
1698
- * @public
1713
+ * @public @preview
1699
1714
  */
1700
1715
  class GeometryPart extends DefinitionElement {
1701
1716
  static get className() { return "GeometryPart"; }
@@ -1792,7 +1807,7 @@ class GeometryPart extends DefinitionElement {
1792
1807
  }
1793
1808
  exports.GeometryPart = GeometryPart;
1794
1809
  /** The definition element for a line style
1795
- * @public
1810
+ * @public @preview
1796
1811
  */
1797
1812
  class LineStyle extends DefinitionElement {
1798
1813
  static get className() { return "LineStyle"; }
@@ -1845,7 +1860,7 @@ class LineStyle extends DefinitionElement {
1845
1860
  exports.LineStyle = LineStyle;
1846
1861
  /** Describes how to animate a view of a [[GeometricModel]] to show change over time using a [RenderSchedule.Script]($common).
1847
1862
  * @note This class was introduced in version 01.00.13 of the BisCore ECSchema. It should only be used with [[IModelDb]]s containing that version or newer.
1848
- * @public
1863
+ * @public @preview
1849
1864
  */
1850
1865
  class RenderTimeline extends InformationRecordElement {
1851
1866
  static get className() { return "RenderTimeline"; }