@itwin/core-common 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 (240) hide show
  1. package/CHANGELOG.md +91 -1
  2. package/lib/cjs/BackgroundMapSettings.d.ts +2 -2
  3. package/lib/cjs/BackgroundMapSettings.js.map +1 -1
  4. package/lib/cjs/ChangesetProps.d.ts +28 -0
  5. package/lib/cjs/ChangesetProps.d.ts.map +1 -1
  6. package/lib/cjs/ChangesetProps.js.map +1 -1
  7. package/lib/cjs/ClipStyle.d.ts +1 -1
  8. package/lib/cjs/ClipStyle.d.ts.map +1 -1
  9. package/lib/cjs/ClipStyle.js.map +1 -1
  10. package/lib/cjs/CommonLoggerCategory.d.ts +2 -0
  11. package/lib/cjs/CommonLoggerCategory.d.ts.map +1 -1
  12. package/lib/cjs/CommonLoggerCategory.js +2 -0
  13. package/lib/cjs/CommonLoggerCategory.js.map +1 -1
  14. package/lib/cjs/ConcurrentQuery.d.ts +8 -23
  15. package/lib/cjs/ConcurrentQuery.d.ts.map +1 -1
  16. package/lib/cjs/ConcurrentQuery.js +1 -11
  17. package/lib/cjs/ConcurrentQuery.js.map +1 -1
  18. package/lib/cjs/ContextRealityModel.d.ts +8 -8
  19. package/lib/cjs/ContextRealityModel.js +8 -8
  20. package/lib/cjs/ContextRealityModel.js.map +1 -1
  21. package/lib/cjs/ElementProps.d.ts +64 -54
  22. package/lib/cjs/ElementProps.d.ts.map +1 -1
  23. package/lib/cjs/ElementProps.js +6 -6
  24. package/lib/cjs/ElementProps.js.map +1 -1
  25. package/lib/cjs/EntityProps.d.ts +10 -10
  26. package/lib/cjs/EntityProps.d.ts.map +1 -1
  27. package/lib/cjs/EntityProps.js +4 -2
  28. package/lib/cjs/EntityProps.js.map +1 -1
  29. package/lib/cjs/Fonts.d.ts +2 -2
  30. package/lib/cjs/Fonts.js +1 -1
  31. package/lib/cjs/Fonts.js.map +1 -1
  32. package/lib/cjs/GeoCoordinateServices.d.ts +1 -1
  33. package/lib/cjs/GeoCoordinateServices.js +1 -1
  34. package/lib/cjs/GeoCoordinateServices.js.map +1 -1
  35. package/lib/cjs/GeometryParams.d.ts +3 -1
  36. package/lib/cjs/GeometryParams.d.ts.map +1 -1
  37. package/lib/cjs/GeometryParams.js +3 -1
  38. package/lib/cjs/GeometryParams.js.map +1 -1
  39. package/lib/cjs/GraphicParams.d.ts +1 -0
  40. package/lib/cjs/GraphicParams.d.ts.map +1 -1
  41. package/lib/cjs/GraphicParams.js +1 -0
  42. package/lib/cjs/GraphicParams.js.map +1 -1
  43. package/lib/cjs/IModel.d.ts +3 -3
  44. package/lib/cjs/IModel.js.map +1 -1
  45. package/lib/cjs/ITwinCoreErrors.d.ts +1 -1
  46. package/lib/cjs/ITwinCoreErrors.d.ts.map +1 -1
  47. package/lib/cjs/ITwinCoreErrors.js.map +1 -1
  48. package/lib/cjs/MassProperties.d.ts +2 -2
  49. package/lib/cjs/MassProperties.js.map +1 -1
  50. package/lib/cjs/MaterialProps.d.ts +6 -3
  51. package/lib/cjs/MaterialProps.d.ts.map +1 -1
  52. package/lib/cjs/MaterialProps.js.map +1 -1
  53. package/lib/cjs/RenderSchedule.d.ts +14 -0
  54. package/lib/cjs/RenderSchedule.d.ts.map +1 -1
  55. package/lib/cjs/RenderSchedule.js +4 -0
  56. package/lib/cjs/RenderSchedule.js.map +1 -1
  57. package/lib/cjs/RenderTexture.d.ts +1 -1
  58. package/lib/cjs/RenderTexture.d.ts.map +1 -1
  59. package/lib/cjs/RenderTexture.js.map +1 -1
  60. package/lib/cjs/TerrainSettings.d.ts +1 -1
  61. package/lib/cjs/TerrainSettings.d.ts.map +1 -1
  62. package/lib/cjs/TerrainSettings.js.map +1 -1
  63. package/lib/cjs/annotation/TextAnnotation.d.ts +78 -2
  64. package/lib/cjs/annotation/TextAnnotation.d.ts.map +1 -1
  65. package/lib/cjs/annotation/TextAnnotation.js +63 -10
  66. package/lib/cjs/annotation/TextAnnotation.js.map +1 -1
  67. package/lib/cjs/annotation/TextBlock.d.ts +179 -44
  68. package/lib/cjs/annotation/TextBlock.d.ts.map +1 -1
  69. package/lib/cjs/annotation/TextBlock.js +210 -57
  70. package/lib/cjs/annotation/TextBlock.js.map +1 -1
  71. package/lib/cjs/annotation/TextBlockGeometryProps.d.ts +1 -1
  72. package/lib/cjs/annotation/TextBlockGeometryProps.js.map +1 -1
  73. package/lib/cjs/annotation/TextBlockLayoutResult.d.ts +1 -1
  74. package/lib/cjs/annotation/TextBlockLayoutResult.d.ts.map +1 -1
  75. package/lib/cjs/annotation/TextBlockLayoutResult.js.map +1 -1
  76. package/lib/cjs/annotation/TextStyle.d.ts +115 -34
  77. package/lib/cjs/annotation/TextStyle.d.ts.map +1 -1
  78. package/lib/cjs/annotation/TextStyle.js +118 -37
  79. package/lib/cjs/annotation/TextStyle.js.map +1 -1
  80. package/lib/cjs/geometry/AdditionalTransform.d.ts +4 -0
  81. package/lib/cjs/geometry/AdditionalTransform.d.ts.map +1 -1
  82. package/lib/cjs/geometry/AdditionalTransform.js +9 -0
  83. package/lib/cjs/geometry/AdditionalTransform.js.map +1 -1
  84. package/lib/cjs/geometry/ElementGeometry.d.ts +1 -1
  85. package/lib/cjs/geometry/ElementGeometry.d.ts.map +1 -1
  86. package/lib/cjs/geometry/ElementGeometry.js +2 -2
  87. package/lib/cjs/geometry/ElementGeometry.js.map +1 -1
  88. package/lib/cjs/internal/BackendTypes.d.ts +3 -3
  89. package/lib/cjs/internal/BackendTypes.d.ts.map +1 -1
  90. package/lib/cjs/internal/BackendTypes.js.map +1 -1
  91. package/lib/cjs/internal/RenderMesh.d.ts +19 -5
  92. package/lib/cjs/internal/RenderMesh.d.ts.map +1 -1
  93. package/lib/cjs/internal/RenderMesh.js +11 -8
  94. package/lib/cjs/internal/RenderMesh.js.map +1 -1
  95. package/lib/cjs/internal/cross-package.d.ts +1 -1
  96. package/lib/cjs/internal/cross-package.d.ts.map +1 -1
  97. package/lib/cjs/internal/cross-package.js.map +1 -1
  98. package/lib/cjs/rpc/IModelReadRpcInterface.d.ts +1 -1
  99. package/lib/cjs/rpc/IModelReadRpcInterface.d.ts.map +1 -1
  100. package/lib/cjs/rpc/IModelReadRpcInterface.js +1 -1
  101. package/lib/cjs/rpc/IModelReadRpcInterface.js.map +1 -1
  102. package/lib/cjs/rpc/SnapshotIModelRpcInterface.d.ts +4 -4
  103. package/lib/cjs/rpc/SnapshotIModelRpcInterface.js +4 -4
  104. package/lib/cjs/rpc/SnapshotIModelRpcInterface.js.map +1 -1
  105. package/lib/cjs/rpc/core/RpcConstants.d.ts +6 -6
  106. package/lib/cjs/rpc/core/RpcConstants.d.ts.map +1 -1
  107. package/lib/cjs/rpc/core/RpcConstants.js +6 -6
  108. package/lib/cjs/rpc/core/RpcConstants.js.map +1 -1
  109. package/lib/cjs/rpc/web/OpenAPI.d.ts +1 -1
  110. package/lib/cjs/rpc/web/OpenAPI.js.map +1 -1
  111. package/lib/cjs/rpc/web/WebAppRpcLogging.js.map +1 -1
  112. package/lib/cjs/rpc/web/WebAppRpcProtocol.d.ts +2 -2
  113. package/lib/cjs/rpc/web/WebAppRpcProtocol.js.map +1 -1
  114. package/lib/cjs/tile/IModelTileIO.d.ts +2 -2
  115. package/lib/cjs/tile/IModelTileIO.js +2 -2
  116. package/lib/cjs/tile/IModelTileIO.js.map +1 -1
  117. package/lib/cjs/tile/TileMetadata.d.ts +6 -2
  118. package/lib/cjs/tile/TileMetadata.d.ts.map +1 -1
  119. package/lib/cjs/tile/TileMetadata.js +10 -4
  120. package/lib/cjs/tile/TileMetadata.js.map +1 -1
  121. package/lib/esm/BackgroundMapSettings.d.ts +2 -2
  122. package/lib/esm/BackgroundMapSettings.js.map +1 -1
  123. package/lib/esm/ChangesetProps.d.ts +28 -0
  124. package/lib/esm/ChangesetProps.d.ts.map +1 -1
  125. package/lib/esm/ChangesetProps.js.map +1 -1
  126. package/lib/esm/ClipStyle.d.ts +1 -1
  127. package/lib/esm/ClipStyle.d.ts.map +1 -1
  128. package/lib/esm/ClipStyle.js.map +1 -1
  129. package/lib/esm/CommonLoggerCategory.d.ts +2 -0
  130. package/lib/esm/CommonLoggerCategory.d.ts.map +1 -1
  131. package/lib/esm/CommonLoggerCategory.js +2 -0
  132. package/lib/esm/CommonLoggerCategory.js.map +1 -1
  133. package/lib/esm/ConcurrentQuery.d.ts +8 -23
  134. package/lib/esm/ConcurrentQuery.d.ts.map +1 -1
  135. package/lib/esm/ConcurrentQuery.js +1 -11
  136. package/lib/esm/ConcurrentQuery.js.map +1 -1
  137. package/lib/esm/ContextRealityModel.d.ts +8 -8
  138. package/lib/esm/ContextRealityModel.js +8 -8
  139. package/lib/esm/ContextRealityModel.js.map +1 -1
  140. package/lib/esm/ElementProps.d.ts +64 -54
  141. package/lib/esm/ElementProps.d.ts.map +1 -1
  142. package/lib/esm/ElementProps.js +6 -6
  143. package/lib/esm/ElementProps.js.map +1 -1
  144. package/lib/esm/EntityProps.d.ts +10 -10
  145. package/lib/esm/EntityProps.d.ts.map +1 -1
  146. package/lib/esm/EntityProps.js +4 -2
  147. package/lib/esm/EntityProps.js.map +1 -1
  148. package/lib/esm/Fonts.d.ts +2 -2
  149. package/lib/esm/Fonts.js +1 -1
  150. package/lib/esm/Fonts.js.map +1 -1
  151. package/lib/esm/GeoCoordinateServices.d.ts +1 -1
  152. package/lib/esm/GeoCoordinateServices.js +1 -1
  153. package/lib/esm/GeoCoordinateServices.js.map +1 -1
  154. package/lib/esm/GeometryParams.d.ts +3 -1
  155. package/lib/esm/GeometryParams.d.ts.map +1 -1
  156. package/lib/esm/GeometryParams.js +3 -1
  157. package/lib/esm/GeometryParams.js.map +1 -1
  158. package/lib/esm/GraphicParams.d.ts +1 -0
  159. package/lib/esm/GraphicParams.d.ts.map +1 -1
  160. package/lib/esm/GraphicParams.js +1 -0
  161. package/lib/esm/GraphicParams.js.map +1 -1
  162. package/lib/esm/IModel.d.ts +3 -3
  163. package/lib/esm/IModel.js.map +1 -1
  164. package/lib/esm/ITwinCoreErrors.d.ts +1 -1
  165. package/lib/esm/ITwinCoreErrors.d.ts.map +1 -1
  166. package/lib/esm/ITwinCoreErrors.js.map +1 -1
  167. package/lib/esm/MassProperties.d.ts +2 -2
  168. package/lib/esm/MassProperties.js.map +1 -1
  169. package/lib/esm/MaterialProps.d.ts +6 -3
  170. package/lib/esm/MaterialProps.d.ts.map +1 -1
  171. package/lib/esm/MaterialProps.js.map +1 -1
  172. package/lib/esm/RenderSchedule.d.ts +14 -0
  173. package/lib/esm/RenderSchedule.d.ts.map +1 -1
  174. package/lib/esm/RenderSchedule.js +4 -0
  175. package/lib/esm/RenderSchedule.js.map +1 -1
  176. package/lib/esm/RenderTexture.d.ts +1 -1
  177. package/lib/esm/RenderTexture.d.ts.map +1 -1
  178. package/lib/esm/RenderTexture.js.map +1 -1
  179. package/lib/esm/TerrainSettings.d.ts +1 -1
  180. package/lib/esm/TerrainSettings.d.ts.map +1 -1
  181. package/lib/esm/TerrainSettings.js.map +1 -1
  182. package/lib/esm/annotation/TextAnnotation.d.ts +78 -2
  183. package/lib/esm/annotation/TextAnnotation.d.ts.map +1 -1
  184. package/lib/esm/annotation/TextAnnotation.js +63 -10
  185. package/lib/esm/annotation/TextAnnotation.js.map +1 -1
  186. package/lib/esm/annotation/TextBlock.d.ts +179 -44
  187. package/lib/esm/annotation/TextBlock.d.ts.map +1 -1
  188. package/lib/esm/annotation/TextBlock.js +207 -56
  189. package/lib/esm/annotation/TextBlock.js.map +1 -1
  190. package/lib/esm/annotation/TextBlockGeometryProps.d.ts +1 -1
  191. package/lib/esm/annotation/TextBlockGeometryProps.js.map +1 -1
  192. package/lib/esm/annotation/TextBlockLayoutResult.d.ts +1 -1
  193. package/lib/esm/annotation/TextBlockLayoutResult.d.ts.map +1 -1
  194. package/lib/esm/annotation/TextBlockLayoutResult.js.map +1 -1
  195. package/lib/esm/annotation/TextStyle.d.ts +115 -34
  196. package/lib/esm/annotation/TextStyle.d.ts.map +1 -1
  197. package/lib/esm/annotation/TextStyle.js +116 -34
  198. package/lib/esm/annotation/TextStyle.js.map +1 -1
  199. package/lib/esm/geometry/AdditionalTransform.d.ts +4 -0
  200. package/lib/esm/geometry/AdditionalTransform.d.ts.map +1 -1
  201. package/lib/esm/geometry/AdditionalTransform.js +10 -1
  202. package/lib/esm/geometry/AdditionalTransform.js.map +1 -1
  203. package/lib/esm/geometry/ElementGeometry.d.ts +1 -1
  204. package/lib/esm/geometry/ElementGeometry.d.ts.map +1 -1
  205. package/lib/esm/geometry/ElementGeometry.js +2 -2
  206. package/lib/esm/geometry/ElementGeometry.js.map +1 -1
  207. package/lib/esm/internal/BackendTypes.d.ts +3 -3
  208. package/lib/esm/internal/BackendTypes.d.ts.map +1 -1
  209. package/lib/esm/internal/BackendTypes.js.map +1 -1
  210. package/lib/esm/internal/RenderMesh.d.ts +19 -5
  211. package/lib/esm/internal/RenderMesh.d.ts.map +1 -1
  212. package/lib/esm/internal/RenderMesh.js +11 -8
  213. package/lib/esm/internal/RenderMesh.js.map +1 -1
  214. package/lib/esm/internal/cross-package.d.ts +1 -1
  215. package/lib/esm/internal/cross-package.d.ts.map +1 -1
  216. package/lib/esm/internal/cross-package.js.map +1 -1
  217. package/lib/esm/rpc/IModelReadRpcInterface.d.ts +1 -1
  218. package/lib/esm/rpc/IModelReadRpcInterface.d.ts.map +1 -1
  219. package/lib/esm/rpc/IModelReadRpcInterface.js +1 -1
  220. package/lib/esm/rpc/IModelReadRpcInterface.js.map +1 -1
  221. package/lib/esm/rpc/SnapshotIModelRpcInterface.d.ts +4 -4
  222. package/lib/esm/rpc/SnapshotIModelRpcInterface.js +4 -4
  223. package/lib/esm/rpc/SnapshotIModelRpcInterface.js.map +1 -1
  224. package/lib/esm/rpc/core/RpcConstants.d.ts +6 -6
  225. package/lib/esm/rpc/core/RpcConstants.d.ts.map +1 -1
  226. package/lib/esm/rpc/core/RpcConstants.js +6 -6
  227. package/lib/esm/rpc/core/RpcConstants.js.map +1 -1
  228. package/lib/esm/rpc/web/OpenAPI.d.ts +1 -1
  229. package/lib/esm/rpc/web/OpenAPI.js.map +1 -1
  230. package/lib/esm/rpc/web/WebAppRpcLogging.js.map +1 -1
  231. package/lib/esm/rpc/web/WebAppRpcProtocol.d.ts +2 -2
  232. package/lib/esm/rpc/web/WebAppRpcProtocol.js.map +1 -1
  233. package/lib/esm/tile/IModelTileIO.d.ts +2 -2
  234. package/lib/esm/tile/IModelTileIO.js +2 -2
  235. package/lib/esm/tile/IModelTileIO.js.map +1 -1
  236. package/lib/esm/tile/TileMetadata.d.ts +6 -2
  237. package/lib/esm/tile/TileMetadata.d.ts.map +1 -1
  238. package/lib/esm/tile/TileMetadata.js +10 -4
  239. package/lib/esm/tile/TileMetadata.js.map +1 -1
  240. package/package.json +9 -8
@@ -8,9 +8,8 @@ import { EntityProps } from "./EntityProps";
8
8
  import { ElementGeometryBuilderParams, ElementGeometryBuilderParamsForPart } from "./geometry/ElementGeometry";
9
9
  import { GeometryStreamProps } from "./geometry/GeometryStream";
10
10
  import { SubCategoryAppearance } from "./SubCategoryAppearance";
11
- import { TextAnnotationProps } from "./annotation/TextAnnotation";
12
11
  /** Properties of a NavigationProperty.
13
- * @public
12
+ * @public @preview
14
13
  * @extensions
15
14
  */
16
15
  export interface RelatedElementProps {
@@ -20,7 +19,7 @@ export interface RelatedElementProps {
20
19
  relClassName?: string;
21
20
  }
22
21
  /** Properties of an [Element]($docs/bis/guide/fundamentals/element-fundamentals)
23
- * @public
22
+ * @public @preview
24
23
  * @extensions
25
24
  */
26
25
  export interface ElementProps extends EntityProps {
@@ -41,7 +40,7 @@ export interface ElementProps extends EntityProps {
41
40
  jsonProperties?: any;
42
41
  }
43
42
  /** The Id and relationship class of an Element that is somehow related to another Element
44
- * @public
43
+ * @public @preview
45
44
  */
46
45
  export declare class RelatedElement implements RelatedElementProps {
47
46
  /** The Id of the element to which this element is related. */
@@ -57,12 +56,12 @@ export declare class RelatedElement implements RelatedElementProps {
57
56
  toJSON(): RelatedElementProps;
58
57
  }
59
58
  /** A [RelatedElement]($common) relationship that describes the [TypeDefinitionElement]($backend) of an element.
60
- * @public
59
+ * @public @preview
61
60
  */
62
61
  export declare class TypeDefinition extends RelatedElement {
63
62
  }
64
63
  /** Properties of a [GeometricElement]($backend)
65
- * @public
64
+ * @public @preview
66
65
  * @extensions
67
66
  */
68
67
  export interface GeometricElementProps extends ElementProps {
@@ -78,7 +77,7 @@ export interface GeometricElementProps extends ElementProps {
78
77
  placement?: PlacementProps;
79
78
  }
80
79
  /** Properties of a [[Placement3d]]
81
- * @public
80
+ * @public @preview
82
81
  * @extensions
83
82
  */
84
83
  export interface Placement3dProps {
@@ -87,7 +86,7 @@ export interface Placement3dProps {
87
86
  bbox?: LowAndHighXYZProps;
88
87
  }
89
88
  /** Properties of a [[Placement2d]]
90
- * @public
89
+ * @public @preview
91
90
  * @extensions
92
91
  */
93
92
  export interface Placement2dProps {
@@ -96,20 +95,20 @@ export interface Placement2dProps {
96
95
  bbox?: LowAndHighXYProps;
97
96
  }
98
97
  /**
99
- * @public
98
+ * @public @preview
100
99
  * @extensions
101
100
  */
102
101
  export type PlacementProps = Placement2dProps | Placement3dProps;
103
102
  /** determine if this is Placement2dProps
104
- * @public
103
+ * @public @preview
105
104
  */
106
105
  export declare function isPlacement2dProps(props: PlacementProps): props is Placement2dProps;
107
106
  /** determine if this is Placement3dProps
108
- * @public
107
+ * @public @preview
109
108
  */
110
109
  export declare function isPlacement3dProps(props: PlacementProps): props is Placement3dProps;
111
110
  /** Properties that define a [GeometricElement3d]($backend)
112
- * @public
111
+ * @public @preview
113
112
  * @extensions
114
113
  */
115
114
  export interface GeometricElement3dProps extends GeometricElementProps {
@@ -117,25 +116,25 @@ export interface GeometricElement3dProps extends GeometricElementProps {
117
116
  typeDefinition?: RelatedElementProps;
118
117
  }
119
118
  /** JSON representation of a [TextAnnotation3d]($backend).
120
- * @public
119
+ * @public @preview
121
120
  * @extensions
122
121
  */
123
122
  export interface TextAnnotation3dProps extends GeometricElement3dProps {
124
- jsonProperties?: {
125
- [key: string]: any;
126
- /** @beta */
127
- annotation?: TextAnnotationProps;
128
- };
123
+ /** The stringified JSON representation of the text annotation.
124
+ * @see [[TextAnnotationProps]] for the JSON representation.
125
+ * @note Don't set this property directly - use [TextAnnotation3d.setAnnotation]($backend) instead.
126
+ */
127
+ textAnnotationData?: string;
129
128
  }
130
129
  /** Properties that define a [PhysicalElement]($backend)
131
- * @public
130
+ * @public @preview
132
131
  * @extensions
133
132
  */
134
133
  export interface PhysicalElementProps extends GeometricElement3dProps {
135
134
  physicalMaterial?: RelatedElementProps;
136
135
  }
137
136
  /** An enumeration of the different types of [SectionDrawing]($backend)s.
138
- * @public
137
+ * @public @preview
139
138
  * @extensions
140
139
  */
141
140
  export declare enum SectionType {
@@ -145,7 +144,7 @@ export declare enum SectionType {
145
144
  Plan = 6
146
145
  }
147
146
  /** Properties that define a [Drawing]($backend).
148
- * @public
147
+ * @public @preview
149
148
  * @extensions
150
149
  */
151
150
  export interface DrawingProps extends ElementProps {
@@ -153,12 +152,12 @@ export interface DrawingProps extends ElementProps {
153
152
  * size of the [ViewAttachment]($backend) created when attaching the [Drawing]($backend) to a [Sheet]($backend).
154
153
  * Default: 1.
155
154
  * @note The scale factor **must** be greater than zero.
156
- * @public
155
+ * @public @preview
157
156
  */
158
157
  scaleFactor?: number;
159
158
  }
160
159
  /** Properties that define a [SectionDrawing]($backend).
161
- * @public
160
+ * @public @preview
162
161
  * @extensions
163
162
  */
164
163
  export interface SectionDrawingProps extends DrawingProps {
@@ -181,7 +180,7 @@ export interface SectionDrawingProps extends DrawingProps {
181
180
  };
182
181
  }
183
182
  /** Properties that define a [SectionDrawingLocation]($backend)
184
- * @public
183
+ * @public @preview
185
184
  * @extensions
186
185
  */
187
186
  export interface SectionDrawingLocationProps extends GeometricElement3dProps {
@@ -189,26 +188,26 @@ export interface SectionDrawingLocationProps extends GeometricElement3dProps {
189
188
  sectionView?: RelatedElementProps;
190
189
  }
191
190
  /** Properties that define a [GeometricElement2d]($backend)
192
- * @public
191
+ * @public @preview
193
192
  * @extensions
194
193
  */
195
194
  export interface GeometricElement2dProps extends GeometricElementProps {
196
195
  placement?: Placement2dProps;
197
196
  typeDefinition?: RelatedElementProps;
198
197
  }
199
- /** JSON representation of a [TextAnnotation2d]($backend).
200
- * @public
198
+ /** Properties that define a [TextAnnotation2d]($backend).
199
+ * @public @preview
201
200
  * @extensions
202
201
  */
203
202
  export interface TextAnnotation2dProps extends GeometricElement2dProps {
204
- jsonProperties?: {
205
- [key: string]: any;
206
- /** @beta */
207
- annotation?: TextAnnotationProps;
208
- };
203
+ /** The stringified JSON representation of the text annotation.
204
+ * @see [[TextAnnotationProps]] for the JSON representation.
205
+ * @note Don't set this property directly - use [TextAnnotation2d.setAnnotation]($backend) instead.
206
+ */
207
+ textAnnotationData?: string;
209
208
  }
210
209
  /** Properties of a [GeometryPart]($backend)
211
- * @public
210
+ * @public @preview
212
211
  * @extensions
213
212
  */
214
213
  export interface GeometryPartProps extends ElementProps {
@@ -220,7 +219,7 @@ export interface GeometryPartProps extends ElementProps {
220
219
  bbox?: LowAndHighXYZProps;
221
220
  }
222
221
  /** Properties for a [ViewAttachment]($backend)
223
- * @public
222
+ * @public @preview
224
223
  * @extensions
225
224
  */
226
225
  export interface ViewAttachmentProps extends GeometricElement2dProps {
@@ -242,7 +241,7 @@ export interface ViewAttachmentProps extends GeometricElement2dProps {
242
241
  };
243
242
  }
244
243
  /** Properties of a [Subject]($backend)
245
- * @public
244
+ * @public @preview
246
245
  * @extensions
247
246
  */
248
247
  export interface SubjectProps extends ElementProps {
@@ -264,7 +263,7 @@ export interface SheetTemplateProps extends ElementProps {
264
263
  border?: Id64String;
265
264
  }
266
265
  /** Properties of a [Sheet]($backend).
267
- * @public
266
+ * @public @preview
268
267
  * @extensions
269
268
  */
270
269
  export interface SheetProps extends ElementProps {
@@ -275,21 +274,21 @@ export interface SheetProps extends ElementProps {
275
274
  attachments?: Id64String[];
276
275
  }
277
276
  /** Properties of a [DefinitionElement]($backend)
278
- * @public
277
+ * @public @preview
279
278
  * @extensions
280
279
  */
281
280
  export interface DefinitionElementProps extends ElementProps {
282
281
  isPrivate?: boolean;
283
282
  }
284
283
  /** Properties of a [TypeDefinitionElement]($backend)
285
- * @public
284
+ * @public @preview
286
285
  * @extensions
287
286
  */
288
287
  export interface TypeDefinitionElementProps extends DefinitionElementProps {
289
288
  recipe?: RelatedElementProps;
290
289
  }
291
290
  /** Properties of a [PhysicalType]($backend)
292
- * @public
291
+ * @public @preview
293
292
  * @extensions
294
293
  */
295
294
  export interface PhysicalTypeProps extends TypeDefinitionElementProps {
@@ -297,7 +296,7 @@ export interface PhysicalTypeProps extends TypeDefinitionElementProps {
297
296
  physicalMaterial?: RelatedElementProps;
298
297
  }
299
298
  /** Properties of a [InformationPartitionElement]($backend)
300
- * @public
299
+ * @public @preview
301
300
  * @extensions
302
301
  */
303
302
  export interface InformationPartitionElementProps extends ElementProps {
@@ -305,7 +304,7 @@ export interface InformationPartitionElementProps extends ElementProps {
305
304
  }
306
305
  /** Options controlling which properties are included or excluded when querying [[DisplayStyleProps]].
307
306
  * @see [[ViewStateLoadProps]] and [[ElementLoadOptions]].
308
- * @public
307
+ * @public @preview
309
308
  * @extensions
310
309
  */
311
310
  export interface DisplayStyleLoadProps {
@@ -320,7 +319,7 @@ export interface DisplayStyleLoadProps {
320
319
  }
321
320
  /** Options controlling which properties are included or excluded when querying [[RenderTimelineProps]].
322
321
  * @see [[ElementLoadOptions.renderTimeline]].
323
- * @public
322
+ * @public @preview
324
323
  * @extensions
325
324
  */
326
325
  export interface RenderTimelineLoadProps {
@@ -331,7 +330,7 @@ export interface RenderTimelineLoadProps {
331
330
  }
332
331
  /** Options used to specify properties to include or exclude when querying [[ElementProps]] with functions like
333
332
  * [IModelDb.Elements.getElementProps]($backend) and [IModelConnection.Elements.loadProps]($frontend).
334
- * @public
333
+ * @public @preview
335
334
  * @extensions
336
335
  */
337
336
  export interface ElementLoadOptions {
@@ -352,7 +351,7 @@ export interface ElementLoadOptions {
352
351
  renderTimeline?: RenderTimelineLoadProps;
353
352
  }
354
353
  /** Parameters to specify what element to load for functions like [IModelDb.Elements.getElementProps]($backend).
355
- * @public
354
+ * @public @preview
356
355
  * @extensions
357
356
  */
358
357
  export interface ElementLoadProps extends ElementLoadOptions {
@@ -365,14 +364,14 @@ export interface ElementLoadProps extends ElementLoadOptions {
365
364
  federationGuid?: GuidString;
366
365
  }
367
366
  /** Properties of an [ElementAspect]($backend)
368
- * @public
367
+ * @public @preview
369
368
  * @extensions
370
369
  */
371
370
  export interface ElementAspectProps extends EntityProps {
372
371
  element: RelatedElementProps;
373
372
  }
374
373
  /** Properties of an [ExternalSourceAspect]($backend) that stores synchronization information for an element originating from an external source.
375
- * @public
374
+ * @public @preview
376
375
  * @extensions
377
376
  */
378
377
  export interface ExternalSourceAspectProps extends ElementAspectProps {
@@ -431,7 +430,7 @@ export interface ExternalSourceAttachmentProps extends ElementProps {
431
430
  scale?: XYZProps;
432
431
  }
433
432
  /** 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.
434
- * @public
433
+ * @public @preview
435
434
  * @extensions
436
435
  */
437
436
  export interface ChannelRootAspectProps extends ElementAspectProps {
@@ -439,7 +438,7 @@ export interface ChannelRootAspectProps extends ElementAspectProps {
439
438
  owner: string;
440
439
  }
441
440
  /** Properties of a [LineStyle]($backend)
442
- * @public
441
+ * @public @preview
443
442
  * @extensions
444
443
  */
445
444
  export interface LineStyleProps extends DefinitionElementProps {
@@ -454,7 +453,7 @@ export interface LightLocationProps extends GeometricElement3dProps {
454
453
  enabled?: boolean;
455
454
  }
456
455
  /** The *rank* for a Category
457
- * @public
456
+ * @public @preview
458
457
  * @extensions
459
458
  */
460
459
  export declare enum Rank {
@@ -468,7 +467,7 @@ export declare enum Rank {
468
467
  User = 3
469
468
  }
470
469
  /** Parameters of a [Category]($backend)
471
- * @public
470
+ * @public @preview
472
471
  * @extensions
473
472
  */
474
473
  export interface CategoryProps extends DefinitionElementProps {
@@ -476,7 +475,7 @@ export interface CategoryProps extends DefinitionElementProps {
476
475
  description?: string;
477
476
  }
478
477
  /** Parameters of a [SubCategory]($backend)
479
- * @public
478
+ * @public @preview
480
479
  * @extensions
481
480
  */
482
481
  export interface SubCategoryProps extends DefinitionElementProps {
@@ -484,7 +483,7 @@ export interface SubCategoryProps extends DefinitionElementProps {
484
483
  description?: string;
485
484
  }
486
485
  /** Parameters of a [UrlLink]($backend)
487
- * @public
486
+ * @public @preview
488
487
  * @extensions
489
488
  */
490
489
  export interface UrlLinkProps extends ElementProps {
@@ -492,7 +491,7 @@ export interface UrlLinkProps extends ElementProps {
492
491
  url?: string;
493
492
  }
494
493
  /** Parameters of a [RepositoryLink]($backend)
495
- * @public
494
+ * @public @preview
496
495
  * @extensions
497
496
  */
498
497
  export interface RepositoryLinkProps extends UrlLinkProps {
@@ -506,7 +505,7 @@ export interface SynchronizationConfigLinkProps extends UrlLinkProps {
506
505
  lastSuccessfulRun?: string;
507
506
  }
508
507
  /** Wire format describing a [RenderTimeline]($backend).
509
- * @public
508
+ * @public @preview
510
509
  * @extensions
511
510
  */
512
511
  export interface RenderTimelineProps extends ElementProps {
@@ -542,4 +541,15 @@ export interface SheetReferenceProps extends SheetIndexEntryProps {
542
541
  /** The bis:Sheet that this bis:SheetReference is pointing to. */
543
542
  sheet?: RelatedElementProps;
544
543
  }
544
+ /** Properties that define an [AnnotationTextStyle]($backend).
545
+ * @beta
546
+ */
547
+ export interface AnnotationTextStyleProps extends DefinitionElementProps {
548
+ /** An optional human-readable description of the text style.*/
549
+ description?: string;
550
+ /** The stringified JSON representation of the text style.
551
+ * @see [[TextStyleSettingsProps]]
552
+ */
553
+ settings?: string;
554
+ }
545
555
  //# sourceMappingURL=ElementProps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ElementProps.d.ts","sourceRoot":"","sources":["../../src/ElementPro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vD,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;EAEE;AACF,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,0FAA0F;IAC1F,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,oBAAoB,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,oBAAoB;IACpE,2EAA2E;IAC3E,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB;IAC/D,iEAAiE;IACjE,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,sBAAsB;IACtE,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -13,7 +13,7 @@ exports.isPlacement3dProps = isPlacement3dProps;
13
13
  const core_bentley_1 = require("@itwin/core-bentley");
14
14
  const IModelError_1 = require("./IModelError");
15
15
  /** The Id and relationship class of an Element that is somehow related to another Element
16
- * @public
16
+ * @public @preview
17
17
  */
18
18
  class RelatedElement {
19
19
  /** The Id of the element to which this element is related. */
@@ -48,25 +48,25 @@ class RelatedElement {
48
48
  }
49
49
  exports.RelatedElement = RelatedElement;
50
50
  /** A [RelatedElement]($common) relationship that describes the [TypeDefinitionElement]($backend) of an element.
51
- * @public
51
+ * @public @preview
52
52
  */
53
53
  class TypeDefinition extends RelatedElement {
54
54
  }
55
55
  exports.TypeDefinition = TypeDefinition;
56
56
  /** determine if this is Placement2dProps
57
- * @public
57
+ * @public @preview
58
58
  */
59
59
  function isPlacement2dProps(props) {
60
60
  return props.angle !== undefined;
61
61
  }
62
62
  /** determine if this is Placement3dProps
63
- * @public
63
+ * @public @preview
64
64
  */
65
65
  function isPlacement3dProps(props) {
66
66
  return !isPlacement2dProps(props);
67
67
  }
68
68
  /** An enumeration of the different types of [SectionDrawing]($backend)s.
69
- * @public
69
+ * @public @preview
70
70
  * @extensions
71
71
  */
72
72
  var SectionType;
@@ -87,7 +87,7 @@ var ExternalSourceAttachmentRole;
87
87
  ExternalSourceAttachmentRole[ExternalSourceAttachmentRole["SpecifyPart"] = 1] = "SpecifyPart";
88
88
  })(ExternalSourceAttachmentRole || (exports.ExternalSourceAttachmentRole = ExternalSourceAttachmentRole = {}));
89
89
  /** The *rank* for a Category
90
- * @public
90
+ * @public @preview
91
91
  * @extensions
92
92
  */
93
93
  var Rank;
@@ -1 +1 @@
1
- {"version":3,"file":"ElementProps.js","sourceRoot":"","sources":["../../src/ElementProps.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AA4IH,gDAEC;AAKD,gDAEC;AAnJD,sDAAiF;AAQjF,+CAA4C;AAqC5C;;GAEG;AACH,MAAa,cAAc;IACzB,8DAA8D;IAC9C,EAAE,CAAa;IAE/B,oDAAoD;IACpC,YAAY,CAAU;IAEtC,YAAY,KAA0B;QACpC,IAAI,CAAC,EAAE,GAAG,mBAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAClC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IACzC,CAAC;IAEM,MAAM,CAAC,QAAQ,CAAC,IAA0B;QAC/C,OAAO,IAAI,CAAC,CAAC,CAAC,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACrD,CAAC;IAED,8DAA8D;IACvD,MAAM,CAAU,IAAI,GAAG,IAAI,cAAc,CAAC,EAAE,EAAE,EAAE,mBAAI,CAAC,OAAO,EAAE,CAAC,CAAC;IAEvE,mJAAmJ;IAC5I,MAAM,CAAC,UAAU,CAAC,IAAS;QAChC,IAAI,CAAC,OAAO,IAAI,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6H;IAC7H,6CAAe,CAAA;IACf,mIAAmI;IACnI,+BAAQ,CAAA;AACV,CAAC,EATW,IAAI,oBAAJ,IAAI,QASf","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Entities\n */\n\nimport { GuidString, Id64, Id64String, IModelStatus } from \"@itwin/core-bentley\";\nimport {\n AngleProps, ClipVectorProps, LowAndHighXYProps, LowAndHighXYZProps, TransformProps, XYProps, XYZProps, YawPitchRollProps,\n} from \"@itwin/core-geometry\";\nimport { CodeProps } from \"./Code\";\nimport { EntityProps } from \"./EntityProps\";\nimport { ElementGeometryBuilderParams, ElementGeometryBuilderParamsForPart } from \"./geometry/ElementGeometry\";\nimport { GeometryStreamProps } from \"./geometry/GeometryStream\";\nimport { IModelError } from \"./IModelError\";\nimport { SubCategoryAppearance } from \"./SubCategoryAppearance\";\nimport { TextAnnotationProps } from \"./annotation/TextAnnotation\";\n\n/** Properties of a NavigationProperty.\n * @public\n * @extensions\n */\nexport interface RelatedElementProps {\n /** The Id of the element to which this element is related. */\n id: Id64String;\n /** The full className of the relationship class. */\n relClassName?: string;\n}\n\n/** Properties of an [Element]($docs/bis/guide/fundamentals/element-fundamentals)\n * @public\n * @extensions\n */\nexport interface ElementProps extends EntityProps {\n /** The Id of the [Model]($docs/bis/guide/fundamentals/model-fundamentals.md) containing this element */\n model: Id64String;\n /** The [Code]($docs/bis/guide/fundamentals/codes.md) for this element */\n code: CodeProps;\n /** The Parent of this element, if defined. */\n parent?: RelatedElementProps;\n /** A [FederationGuid]($docs/bis/guide/fundamentals/element-fundamentals.md#federationguid) assigned to this element.\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\n * resultant element will have a `null` federationGuid. For update, `undefined` means \"don't change.\"\n */\n federationGuid?: GuidString;\n /** A [user-assigned label]($docs/bis/guide/fundamentals/element-fundamentals.md#userlabel) for this element. */\n userLabel?: string;\n /** Optional [json properties]($docs/bis/guide/fundamentals/element-fundamentals.md#jsonproperties) of this element. */\n jsonProperties?: any;\n}\n\n/** The Id and relationship class of an Element that is somehow related to another Element\n * @public\n */\nexport class RelatedElement implements RelatedElementProps {\n /** The Id of the element to which this element is related. */\n public readonly id: Id64String;\n\n /** The full className of the relationship class. */\n public readonly relClassName?: string;\n\n constructor(props: RelatedElementProps) {\n this.id = Id64.fromJSON(props.id);\n this.relClassName = props.relClassName;\n }\n\n public static fromJSON(json?: RelatedElementProps): RelatedElement | undefined {\n return json ? new RelatedElement(json) : undefined;\n }\n\n /** Used to *null out* an existing navigation relationship. */\n public static readonly none = new RelatedElement({ id: Id64.invalid });\n\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. */\n public static idFromJson(json: any): Id64String {\n if ((typeof json === \"object\") && (\"id\" in json)) {\n const r = RelatedElement.fromJSON(json);\n if (r === undefined)\n throw new IModelError(IModelStatus.BadArg, \"Problem parsing Id64 from json\");\n return r.id;\n }\n return Id64.fromJSON(json);\n }\n\n public toJSON(): RelatedElementProps {\n return {\n id: this.id,\n relClassName: this.relClassName,\n };\n }\n}\n\n/** A [RelatedElement]($common) relationship that describes the [TypeDefinitionElement]($backend) of an element.\n * @public\n */\nexport class TypeDefinition extends RelatedElement {\n}\n\n/** Properties of a [GeometricElement]($backend)\n * @public\n * @extensions\n */\nexport interface GeometricElementProps extends ElementProps {\n /** The id of the category for this geometric element. */\n category: Id64String;\n /** The geometry stream properties */\n geom?: GeometryStreamProps;\n /** Describes how to build the element's GeometryStream, as an alternative to [[geom]]. This is used for insert and update operations only.\n * It is not a persistent property - it will always be undefined in the properties returned by functions that read a persistent element.\n */\n elementGeometryBuilderParams?: ElementGeometryBuilderParams;\n /** The placement properties */\n placement?: PlacementProps;\n}\n\n/** Properties of a [[Placement3d]]\n * @public\n * @extensions\n */\nexport interface Placement3dProps {\n origin: XYZProps;\n angles: YawPitchRollProps;\n bbox?: LowAndHighXYZProps;\n}\n\n/** Properties of a [[Placement2d]]\n * @public\n * @extensions\n */\nexport interface Placement2dProps {\n origin: XYProps;\n angle: AngleProps;\n bbox?: LowAndHighXYProps;\n}\n\n/**\n * @public\n * @extensions\n */\nexport type PlacementProps = Placement2dProps | Placement3dProps;\n\n/** determine if this is Placement2dProps\n * @public\n */\nexport function isPlacement2dProps(props: PlacementProps): props is Placement2dProps {\n return (props as Placement2dProps).angle !== undefined;\n}\n\n/** determine if this is Placement3dProps\n * @public\n */\nexport function isPlacement3dProps(props: PlacementProps): props is Placement3dProps {\n return !isPlacement2dProps(props);\n}\n\n/** Properties that define a [GeometricElement3d]($backend)\n * @public\n * @extensions\n */\nexport interface GeometricElement3dProps extends GeometricElementProps {\n placement?: Placement3dProps;\n typeDefinition?: RelatedElementProps;\n}\n\n/** JSON representation of a [TextAnnotation3d]($backend).\n * @public\n * @extensions\n */\nexport interface TextAnnotation3dProps extends GeometricElement3dProps {\n jsonProperties?: {\n [key: string]: any;\n /** @beta */\n annotation?: TextAnnotationProps;\n };\n}\n\n/** Properties that define a [PhysicalElement]($backend)\n * @public\n * @extensions\n */\nexport interface PhysicalElementProps extends GeometricElement3dProps {\n physicalMaterial?: RelatedElementProps;\n}\n\n/** An enumeration of the different types of [SectionDrawing]($backend)s.\n * @public\n * @extensions\n */\nexport enum SectionType {\n Section = 3,\n Detail = 4,\n Elevation = 5,\n Plan = 6,\n}\n\n/** Properties that define a [Drawing]($backend).\n * @public\n * @extensions\n */\nexport interface DrawingProps extends ElementProps {\n /** A factor used by tools to adjust the size of text in [GeometricElement2d]($backend)s in the associated [DrawingModel]($backend) and to compute the\n * size of the [ViewAttachment]($backend) created when attaching the [Drawing]($backend) to a [Sheet]($backend).\n * Default: 1.\n * @note The scale factor **must** be greater than zero.\n * @public\n */\n scaleFactor?: number;\n}\n\n/** Properties that define a [SectionDrawing]($backend).\n * @public\n * @extensions\n */\nexport interface SectionDrawingProps extends DrawingProps {\n /** The type of section used to generate the drawing. Default: Section. */\n sectionType?: SectionType;\n /** The spatial view from which the section was generated. */\n spatialView?: RelatedElementProps;\n jsonProperties?: {\n /** A transform from the section drawing model's coordinates to spatial coordinates. */\n drawingToSpatialTransform?: TransformProps;\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. */\n sheetToSpatialTransform?: TransformProps;\n /** If the section drawing is placed onto a [Sheet]($backend) via a [ViewAttachment]($backend), JSON representation of a [ClipVector]($geometry) to apply to\n * the sheet graphics when drawn in the context of the spatial view.\n * The ClipVector is in spatial coordinates.\n */\n drawingBoundaryClip?: ClipVectorProps;\n /** If true, when displaying the section drawing as a [DrawingViewState]($frontend), the [[spatialView]] will also be displayed. */\n displaySpatialView?: true;\n };\n}\n\n/** Properties that define a [SectionDrawingLocation]($backend)\n * @public\n * @extensions\n */\nexport interface SectionDrawingLocationProps extends GeometricElement3dProps {\n /** The [ViewDefinition]($backend) to which this location refers. */\n sectionView?: RelatedElementProps;\n}\n\n/** Properties that define a [GeometricElement2d]($backend)\n * @public\n * @extensions\n */\nexport interface GeometricElement2dProps extends GeometricElementProps {\n placement?: Placement2dProps;\n typeDefinition?: RelatedElementProps;\n}\n\n/** JSON representation of a [TextAnnotation2d]($backend).\n * @public\n * @extensions\n */\nexport interface TextAnnotation2dProps extends GeometricElement2dProps {\n jsonProperties?: {\n [key: string]: any;\n /** @beta */\n annotation?: TextAnnotationProps;\n };\n}\n\n/** Properties of a [GeometryPart]($backend)\n * @public\n * @extensions\n */\nexport interface GeometryPartProps extends ElementProps {\n geom?: GeometryStreamProps;\n /** Describes how to build the part's GeometryStream, as an alternative to [[geom]]. This is used for insert and update operations only.\n * It is not a persistent property - it will always be undefined in the properties returned by functions that read a persistent part.\n */\n elementGeometryBuilderParams?: ElementGeometryBuilderParamsForPart;\n bbox?: LowAndHighXYZProps;\n}\n\n/** Properties for a [ViewAttachment]($backend)\n * @public\n * @extensions\n */\nexport interface ViewAttachmentProps extends GeometricElement2dProps {\n view: RelatedElementProps;\n jsonProperties?: {\n /** Integer priority in [-500,500]. Where two attachments overlap, the one with the higher priority draws in front of the other. Default: 0. */\n displayPriority?: number;\n /** JSON representation of a [ClipVector]($core-geometry] in sheet coordinate space, used to clip the attachment's graphics on the sheet. */\n clip?: ClipVectorProps;\n /** Options for customizing how the view attachment is displayed on the sheet. */\n displayOptions?: {\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. */\n drawAsRaster?: boolean;\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\n * sheet is used and any background pixels become transparent, allowing the contents of the sheet to show through. Default: false.\n */\n preserveBackground?: boolean;\n };\n };\n}\n\n/** Properties of a [Subject]($backend)\n * @public\n * @extensions\n */\nexport interface SubjectProps extends ElementProps {\n description?: string;\n}\n\n/** Properties of a [SheetBorderTemplate]($backend)\n * @beta\n */\nexport interface SheetBorderTemplateProps extends ElementProps {\n height?: number;\n width?: number;\n}\n\n/** Properties of a [SheetTemplate]($backend)\n * @beta\n */\nexport interface SheetTemplateProps extends ElementProps {\n height?: number;\n width?: number;\n border?: Id64String;\n}\n\n/** Properties of a [Sheet]($backend).\n * @public\n * @extensions\n */\nexport interface SheetProps extends ElementProps {\n width?: number;\n height?: number;\n scale?: number;\n sheetTemplate?: Id64String;\n attachments?: Id64String[];\n}\n\n/** Properties of a [DefinitionElement]($backend)\n * @public\n * @extensions\n */\nexport interface DefinitionElementProps extends ElementProps {\n isPrivate?: boolean;\n}\n\n/** Properties of a [TypeDefinitionElement]($backend)\n * @public\n * @extensions\n */\nexport interface TypeDefinitionElementProps extends DefinitionElementProps {\n recipe?: RelatedElementProps;\n}\n\n/** Properties of a [PhysicalType]($backend)\n * @public\n * @extensions\n */\nexport interface PhysicalTypeProps extends TypeDefinitionElementProps {\n /** The [PhysicalMaterial]($backend) that makes up this physical type. */\n physicalMaterial?: RelatedElementProps;\n}\n\n/** Properties of a [InformationPartitionElement]($backend)\n * @public\n * @extensions\n */\nexport interface InformationPartitionElementProps extends ElementProps {\n description?: string;\n}\n\n/** Options controlling which properties are included or excluded when querying [[DisplayStyleProps]].\n * @see [[ViewStateLoadProps]] and [[ElementLoadOptions]].\n * @public\n * @extensions\n */\nexport interface DisplayStyleLoadProps {\n /** If true, the lists of element Ids in the display style's schedule script will be empty.\n * The element Ids are not required on the frontend for display and can be quite large.\n */\n omitScheduleScriptElementIds?: boolean;\n /** If true, [[DisplayStyleSettingsProps.excludedElements]] will be compressed into a single compact string; otherwise they will be expanded into an array of strings.\n * The number of Ids may be quite large, so the compressed format is preferred, especially when communicating between the backend and frontend.\n */\n compressExcludedElementIds?: boolean;\n}\n\n/** Options controlling which properties are included or excluded when querying [[RenderTimelineProps]].\n * @see [[ElementLoadOptions.renderTimeline]].\n * @public\n * @extensions\n */\nexport interface RenderTimelineLoadProps {\n /** If true, the lists of element Ids in the schedule script will be empty.\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).\n */\n omitScriptElementIds?: boolean;\n}\n\n/** Options used to specify properties to include or exclude when querying [[ElementProps]] with functions like\n * [IModelDb.Elements.getElementProps]($backend) and [IModelConnection.Elements.loadProps]($frontend).\n * @public\n * @extensions\n */\nexport interface ElementLoadOptions {\n /** if true, only load the members of [[ElementProps]], and no members from subclasses */\n onlyBaseProperties?: boolean;\n /** If true, include the [[GeometryStreamProps]] for [[GeometricElementProps]] and [[GeometryPartProps]].\n * Geometry streams can consist of many megabytes worth of JSON, so they are omitted by default.\n */\n wantGeometry?: boolean;\n /** When including a geometry stream containing brep entries, whether to return the raw brep data or proxy geometry, false when undefined */\n /** If true, include [[BRepEntity.DataProps.data]] in the [[GeometryStreamProps]] for [[GeometricElementProps]] and [[GeometryPartProps]].\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.\n */\n wantBRepData?: boolean;\n /** Options controlling which properties of [[DisplayStyleProps]] to include or exclude. */\n displayStyle?: DisplayStyleLoadProps;\n /** Options controlling which properties of [[RenderTimelineProps]] to include or exclude. */\n renderTimeline?: RenderTimelineLoadProps;\n}\n\n/** Parameters to specify what element to load for functions like [IModelDb.Elements.getElementProps]($backend).\n * @public\n * @extensions\n */\nexport interface ElementLoadProps extends ElementLoadOptions {\n id?: Id64String;\n /** The properties of the Code of the element to load.\n * @note the Value member is required even though it is not declared so here. If no value is supplied, no element will ever be loaded.\n * TODO: change to Required<CodeProps> in Version 4.0\n */\n code?: CodeProps;\n federationGuid?: GuidString;\n}\n\n/** Properties of an [ElementAspect]($backend)\n * @public\n * @extensions\n */\nexport interface ElementAspectProps extends EntityProps {\n element: RelatedElementProps;\n}\n\n/** Properties of an [ExternalSourceAspect]($backend) that stores synchronization information for an element originating from an external source.\n * @public\n * @extensions\n */\nexport interface ExternalSourceAspectProps extends ElementAspectProps {\n /** An element that scopes the combination of `kind` and `identifier` to uniquely identify the object from the external source.\n * @note Warning: in a future major release the `scope` property will be optional, since the scope is intended to be potentially invalid.\n * all references should treat it as potentially undefined, but we cannot change the type yet since that is a breaking change.\n */\n scope: RelatedElementProps;\n /** The identifier of the object in the source repository. */\n identifier: string;\n /** The kind of object within the source repository. */\n kind: string;\n /** An optional value that is typically a version number or a pseudo version number like last modified time.\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.\n * If present, this value must be guaranteed to change when any of the source object's content changes.\n */\n version?: string;\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. */\n checksum?: string;\n /** A place where additional JSON properties can be stored. For example, provenance information or properties relating to the synchronization process.\n * @note Warning: if defined, jsonProperties must be a *string*, specifically a valid JSON string.\n * @note Warning: in a future major release, the type of `jsonProperties` will be changed to object, and itwin.js will automatically stringify it when writing to the iModel.\n * This will be a breaking change, since application code will have to change from supplying a string to supplying an object.\n */\n jsonProperties?: any;\n /** The source of the imported/synchronized object. Should point to an instance of [ExternalSource]($backend). */\n source?: RelatedElementProps;\n}\n\n/** Properties of an [ExternalSource]($backend)\n * @beta\n */\nexport interface ExternalSourceProps extends ElementProps {\n repository?: RelatedElementProps;\n connectorName?: string;\n connectorVersion?: string;\n}\n\n/** The role that an attached [ExternalSource]($backend) plays.\n * @beta\n */\nexport enum ExternalSourceAttachmentRole {\n /** The attached [ExternalSource]($backend) provides context. */\n SpecifyContext = 0,\n /** The attached [ExternalSource]($backend) models a part of the whole. */\n SpecifyPart = 1,\n}\n\n/** Properties of an [ExternalSourceAttachment]($backend)\n * @beta\n */\nexport interface ExternalSourceAttachmentProps extends ElementProps {\n attaches?: RelatedElementProps;\n role?: ExternalSourceAttachmentRole;\n translation?: XYZProps;\n yaw?: number;\n pitch?: number;\n roll?: number;\n scale?: XYZProps;\n}\n\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.\n * @public\n * @extensions\n */\nexport interface ChannelRootAspectProps extends ElementAspectProps {\n /** The owner of the channel */\n owner: string;\n}\n\n/** Properties of a [LineStyle]($backend)\n * @public\n * @extensions\n */\nexport interface LineStyleProps extends DefinitionElementProps {\n description?: string;\n /** The JSON string line style definition element data [LineStyleDefinition.StyleProps]($backend) */\n data: string;\n}\n\n/** Properties of a [LightLocation]($backend)\n * @internal\n */\nexport interface LightLocationProps extends GeometricElement3dProps {\n enabled?: boolean;\n}\n\n/** The *rank* for a Category\n * @public\n * @extensions\n */\nexport enum Rank {\n /** This category is predefined by the system */\n System = 0,\n /** This category is defined by a schema. Elements in this category are not recognized by system classes. */\n Domain = 1,\n /** This category is defined by an application. Elements in this category are not recognized by system and schema classes. */\n Application = 2,\n /** This category is defined by a user. Elements in this category are not recognized by system, schema, and application classes. */\n User = 3,\n}\n\n/** Parameters of a [Category]($backend)\n * @public\n * @extensions\n */\nexport interface CategoryProps extends DefinitionElementProps {\n rank?: Rank;\n description?: string;\n}\n\n/** Parameters of a [SubCategory]($backend)\n * @public\n * @extensions\n */\nexport interface SubCategoryProps extends DefinitionElementProps {\n appearance?: SubCategoryAppearance.Props;\n description?: string;\n}\n\n/** Parameters of a [UrlLink]($backend)\n * @public\n * @extensions\n */\nexport interface UrlLinkProps extends ElementProps {\n description?: string;\n url?: string;\n}\n\n/** Parameters of a [RepositoryLink]($backend)\n * @public\n * @extensions\n */\nexport interface RepositoryLinkProps extends UrlLinkProps {\n repositoryGuid?: GuidString;\n format?: string;\n}\n\n/** The properties of a [SynchronizationConfigLink]($backend)\n * @beta\n */\nexport interface SynchronizationConfigLinkProps extends UrlLinkProps {\n lastSuccessfulRun?: string;\n}\n\n/** Wire format describing a [RenderTimeline]($backend).\n * @public\n * @extensions\n */\nexport interface RenderTimelineProps extends ElementProps {\n /** An optional human-readable description of the timeline. */\n description?: string;\n /** The stringified JSON representation of the instructions for visualizing change over time.\n * @see [[RenderSchedule.ScriptProps]] for the JSON interface.\n */\n script: string;\n}\n\n/** Properties of a [SheetIndexEntry]($backend).\n * @beta\n*/\nexport interface SheetIndexEntryProps extends ElementProps {\n /** Can be used to prioritize or order members within a SheetIndex or SheetIndexFolder. */\n entryPriority: number;\n}\n\n/** Properties of a [SheetIndexFolder]($backend)\n * @beta\n */\nexport type SheetIndexFolderProps = SheetIndexEntryProps;\n\n/** Properties of a [SheetIndexReference]($backend)\n * @beta\n */\nexport interface SheetIndexReferenceProps extends SheetIndexEntryProps {\n /** The bis:SheetIndex that this bis:SheetIndexReference is pointing to. */\n sheetIndex?: RelatedElementProps;\n}\n\n/** Properties of a [SheetReference]($backend)\n * @beta\n */\nexport interface SheetReferenceProps extends SheetIndexEntryProps {\n /** The bis:Sheet that this bis:SheetReference is pointing to. */\n sheet?: RelatedElementProps;\n}\n"]}
1
+ {"version":3,"file":"ElementProps.js","sourceRoot":"","sources":["../../src/ElementProps.ts"],"names":[],"mappings":";AAAA;;;+FAG+F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c;CACjD;AADD,wCACC;AA6CD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,KAAqB;IACtD,OAAQ,KAA0B,CAAC,KAAK,KAAK,SAAS,CAAC;AACzD,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAAC,KAAqB;IACtD,OAAO,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC;AACpC,CAAC;AA+BD;;;GAGG;AACH,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,mDAAW,CAAA;IACX,iDAAU,CAAA;IACV,uDAAa,CAAA;IACb,6CAAQ,CAAA;AACV,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAiSD;;GAEG;AACH,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACtC,gEAAgE;IAChE,mGAAkB,CAAA;IAClB,0EAA0E;IAC1E,6FAAe,CAAA;AACjB,CAAC,EALW,4BAA4B,4CAA5B,4BAA4B,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,oBAAJ,IAAI,QASf","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Entities\n */\n\nimport { GuidString, Id64, Id64String, IModelStatus } from \"@itwin/core-bentley\";\nimport {\n AngleProps, ClipVectorProps, LowAndHighXYProps, LowAndHighXYZProps, TransformProps, XYProps, XYZProps, YawPitchRollProps,\n} from \"@itwin/core-geometry\";\nimport { CodeProps } from \"./Code\";\nimport { EntityProps } from \"./EntityProps\";\nimport { ElementGeometryBuilderParams, ElementGeometryBuilderParamsForPart } from \"./geometry/ElementGeometry\";\nimport { GeometryStreamProps } from \"./geometry/GeometryStream\";\nimport { IModelError } from \"./IModelError\";\nimport { SubCategoryAppearance } from \"./SubCategoryAppearance\";\n\n/** Properties of a NavigationProperty.\n * @public @preview\n * @extensions\n */\nexport interface RelatedElementProps {\n /** The Id of the element to which this element is related. */\n id: Id64String;\n /** The full className of the relationship class. */\n relClassName?: string;\n}\n\n/** Properties of an [Element]($docs/bis/guide/fundamentals/element-fundamentals)\n * @public @preview\n * @extensions\n */\nexport interface ElementProps extends EntityProps {\n /** The Id of the [Model]($docs/bis/guide/fundamentals/model-fundamentals.md) containing this element */\n model: Id64String;\n /** The [Code]($docs/bis/guide/fundamentals/codes.md) for this element */\n code: CodeProps;\n /** The Parent of this element, if defined. */\n parent?: RelatedElementProps;\n /** A [FederationGuid]($docs/bis/guide/fundamentals/element-fundamentals.md#federationguid) assigned to this element.\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\n * resultant element will have a `null` federationGuid. For update, `undefined` means \"don't change.\"\n */\n federationGuid?: GuidString;\n /** A [user-assigned label]($docs/bis/guide/fundamentals/element-fundamentals.md#userlabel) for this element. */\n userLabel?: string;\n /** Optional [json properties]($docs/bis/guide/fundamentals/element-fundamentals.md#jsonproperties) of this element. */\n jsonProperties?: any;\n}\n\n/** The Id and relationship class of an Element that is somehow related to another Element\n * @public @preview\n */\nexport class RelatedElement implements RelatedElementProps {\n /** The Id of the element to which this element is related. */\n public readonly id: Id64String;\n\n /** The full className of the relationship class. */\n public readonly relClassName?: string;\n\n constructor(props: RelatedElementProps) {\n this.id = Id64.fromJSON(props.id);\n this.relClassName = props.relClassName;\n }\n\n public static fromJSON(json?: RelatedElementProps): RelatedElement | undefined {\n return json ? new RelatedElement(json) : undefined;\n }\n\n /** Used to *null out* an existing navigation relationship. */\n public static readonly none = new RelatedElement({ id: Id64.invalid });\n\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. */\n public static idFromJson(json: any): Id64String {\n if ((typeof json === \"object\") && (\"id\" in json)) {\n const r = RelatedElement.fromJSON(json);\n if (r === undefined)\n throw new IModelError(IModelStatus.BadArg, \"Problem parsing Id64 from json\");\n return r.id;\n }\n return Id64.fromJSON(json);\n }\n\n public toJSON(): RelatedElementProps {\n return {\n id: this.id,\n relClassName: this.relClassName,\n };\n }\n}\n\n/** A [RelatedElement]($common) relationship that describes the [TypeDefinitionElement]($backend) of an element.\n * @public @preview\n */\nexport class TypeDefinition extends RelatedElement {\n}\n\n/** Properties of a [GeometricElement]($backend)\n * @public @preview\n * @extensions\n */\nexport interface GeometricElementProps extends ElementProps {\n /** The id of the category for this geometric element. */\n category: Id64String;\n /** The geometry stream properties */\n geom?: GeometryStreamProps;\n /** Describes how to build the element's GeometryStream, as an alternative to [[geom]]. This is used for insert and update operations only.\n * It is not a persistent property - it will always be undefined in the properties returned by functions that read a persistent element.\n */\n elementGeometryBuilderParams?: ElementGeometryBuilderParams;\n /** The placement properties */\n placement?: PlacementProps;\n}\n\n/** Properties of a [[Placement3d]]\n * @public @preview\n * @extensions\n */\nexport interface Placement3dProps {\n origin: XYZProps;\n angles: YawPitchRollProps;\n bbox?: LowAndHighXYZProps;\n}\n\n/** Properties of a [[Placement2d]]\n * @public @preview\n * @extensions\n */\nexport interface Placement2dProps {\n origin: XYProps;\n angle: AngleProps;\n bbox?: LowAndHighXYProps;\n}\n\n/**\n * @public @preview\n * @extensions\n */\nexport type PlacementProps = Placement2dProps | Placement3dProps;\n\n/** determine if this is Placement2dProps\n * @public @preview\n */\nexport function isPlacement2dProps(props: PlacementProps): props is Placement2dProps {\n return (props as Placement2dProps).angle !== undefined;\n}\n\n/** determine if this is Placement3dProps\n * @public @preview\n */\nexport function isPlacement3dProps(props: PlacementProps): props is Placement3dProps {\n return !isPlacement2dProps(props);\n}\n\n/** Properties that define a [GeometricElement3d]($backend)\n * @public @preview\n * @extensions\n */\nexport interface GeometricElement3dProps extends GeometricElementProps {\n placement?: Placement3dProps;\n typeDefinition?: RelatedElementProps;\n}\n\n/** JSON representation of a [TextAnnotation3d]($backend).\n * @public @preview\n * @extensions\n */\nexport interface TextAnnotation3dProps extends GeometricElement3dProps {\n /** The stringified JSON representation of the text annotation.\n * @see [[TextAnnotationProps]] for the JSON representation.\n * @note Don't set this property directly - use [TextAnnotation3d.setAnnotation]($backend) instead.\n */\n textAnnotationData?: string;\n}\n\n/** Properties that define a [PhysicalElement]($backend)\n * @public @preview\n * @extensions\n */\nexport interface PhysicalElementProps extends GeometricElement3dProps {\n physicalMaterial?: RelatedElementProps;\n}\n\n/** An enumeration of the different types of [SectionDrawing]($backend)s.\n * @public @preview\n * @extensions\n */\nexport enum SectionType {\n Section = 3,\n Detail = 4,\n Elevation = 5,\n Plan = 6,\n}\n\n/** Properties that define a [Drawing]($backend).\n * @public @preview\n * @extensions\n */\nexport interface DrawingProps extends ElementProps {\n /** A factor used by tools to adjust the size of text in [GeometricElement2d]($backend)s in the associated [DrawingModel]($backend) and to compute the\n * size of the [ViewAttachment]($backend) created when attaching the [Drawing]($backend) to a [Sheet]($backend).\n * Default: 1.\n * @note The scale factor **must** be greater than zero.\n * @public @preview\n */\n scaleFactor?: number;\n}\n\n/** Properties that define a [SectionDrawing]($backend).\n * @public @preview\n * @extensions\n */\nexport interface SectionDrawingProps extends DrawingProps {\n /** The type of section used to generate the drawing. Default: Section. */\n sectionType?: SectionType;\n /** The spatial view from which the section was generated. */\n spatialView?: RelatedElementProps;\n jsonProperties?: {\n /** A transform from the section drawing model's coordinates to spatial coordinates. */\n drawingToSpatialTransform?: TransformProps;\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. */\n sheetToSpatialTransform?: TransformProps;\n /** If the section drawing is placed onto a [Sheet]($backend) via a [ViewAttachment]($backend), JSON representation of a [ClipVector]($geometry) to apply to\n * the sheet graphics when drawn in the context of the spatial view.\n * The ClipVector is in spatial coordinates.\n */\n drawingBoundaryClip?: ClipVectorProps;\n /** If true, when displaying the section drawing as a [DrawingViewState]($frontend), the [[spatialView]] will also be displayed. */\n displaySpatialView?: true;\n };\n}\n\n/** Properties that define a [SectionDrawingLocation]($backend)\n * @public @preview\n * @extensions\n */\nexport interface SectionDrawingLocationProps extends GeometricElement3dProps {\n /** The [ViewDefinition]($backend) to which this location refers. */\n sectionView?: RelatedElementProps;\n}\n\n/** Properties that define a [GeometricElement2d]($backend)\n * @public @preview\n * @extensions\n */\nexport interface GeometricElement2dProps extends GeometricElementProps {\n placement?: Placement2dProps;\n typeDefinition?: RelatedElementProps;\n}\n\n/** Properties that define a [TextAnnotation2d]($backend).\n * @public @preview\n * @extensions\n */\nexport interface TextAnnotation2dProps extends GeometricElement2dProps {\n /** The stringified JSON representation of the text annotation.\n * @see [[TextAnnotationProps]] for the JSON representation.\n * @note Don't set this property directly - use [TextAnnotation2d.setAnnotation]($backend) instead.\n */\n textAnnotationData?: string;\n}\n\n/** Properties of a [GeometryPart]($backend)\n * @public @preview\n * @extensions\n */\nexport interface GeometryPartProps extends ElementProps {\n geom?: GeometryStreamProps;\n /** Describes how to build the part's GeometryStream, as an alternative to [[geom]]. This is used for insert and update operations only.\n * It is not a persistent property - it will always be undefined in the properties returned by functions that read a persistent part.\n */\n elementGeometryBuilderParams?: ElementGeometryBuilderParamsForPart;\n bbox?: LowAndHighXYZProps;\n}\n\n/** Properties for a [ViewAttachment]($backend)\n * @public @preview\n * @extensions\n */\nexport interface ViewAttachmentProps extends GeometricElement2dProps {\n view: RelatedElementProps;\n jsonProperties?: {\n /** Integer priority in [-500,500]. Where two attachments overlap, the one with the higher priority draws in front of the other. Default: 0. */\n displayPriority?: number;\n /** JSON representation of a [ClipVector]($core-geometry] in sheet coordinate space, used to clip the attachment's graphics on the sheet. */\n clip?: ClipVectorProps;\n /** Options for customizing how the view attachment is displayed on the sheet. */\n displayOptions?: {\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. */\n drawAsRaster?: boolean;\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\n * sheet is used and any background pixels become transparent, allowing the contents of the sheet to show through. Default: false.\n */\n preserveBackground?: boolean;\n };\n };\n}\n\n/** Properties of a [Subject]($backend)\n * @public @preview\n * @extensions\n */\nexport interface SubjectProps extends ElementProps {\n description?: string;\n}\n\n/** Properties of a [SheetBorderTemplate]($backend)\n * @beta\n */\nexport interface SheetBorderTemplateProps extends ElementProps {\n height?: number;\n width?: number;\n}\n\n/** Properties of a [SheetTemplate]($backend)\n * @beta\n */\nexport interface SheetTemplateProps extends ElementProps {\n height?: number;\n width?: number;\n border?: Id64String;\n}\n\n/** Properties of a [Sheet]($backend).\n * @public @preview\n * @extensions\n */\nexport interface SheetProps extends ElementProps {\n width?: number;\n height?: number;\n scale?: number;\n sheetTemplate?: Id64String;\n attachments?: Id64String[];\n}\n\n/** Properties of a [DefinitionElement]($backend)\n * @public @preview\n * @extensions\n */\nexport interface DefinitionElementProps extends ElementProps {\n isPrivate?: boolean;\n}\n\n/** Properties of a [TypeDefinitionElement]($backend)\n * @public @preview\n * @extensions\n */\nexport interface TypeDefinitionElementProps extends DefinitionElementProps {\n recipe?: RelatedElementProps;\n}\n\n/** Properties of a [PhysicalType]($backend)\n * @public @preview\n * @extensions\n */\nexport interface PhysicalTypeProps extends TypeDefinitionElementProps {\n /** The [PhysicalMaterial]($backend) that makes up this physical type. */\n physicalMaterial?: RelatedElementProps;\n}\n\n/** Properties of a [InformationPartitionElement]($backend)\n * @public @preview\n * @extensions\n */\nexport interface InformationPartitionElementProps extends ElementProps {\n description?: string;\n}\n\n/** Options controlling which properties are included or excluded when querying [[DisplayStyleProps]].\n * @see [[ViewStateLoadProps]] and [[ElementLoadOptions]].\n * @public @preview\n * @extensions\n */\nexport interface DisplayStyleLoadProps {\n /** If true, the lists of element Ids in the display style's schedule script will be empty.\n * The element Ids are not required on the frontend for display and can be quite large.\n */\n omitScheduleScriptElementIds?: boolean;\n /** If true, [[DisplayStyleSettingsProps.excludedElements]] will be compressed into a single compact string; otherwise they will be expanded into an array of strings.\n * The number of Ids may be quite large, so the compressed format is preferred, especially when communicating between the backend and frontend.\n */\n compressExcludedElementIds?: boolean;\n}\n\n/** Options controlling which properties are included or excluded when querying [[RenderTimelineProps]].\n * @see [[ElementLoadOptions.renderTimeline]].\n * @public @preview\n * @extensions\n */\nexport interface RenderTimelineLoadProps {\n /** If true, the lists of element Ids in the schedule script will be empty.\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).\n */\n omitScriptElementIds?: boolean;\n}\n\n/** Options used to specify properties to include or exclude when querying [[ElementProps]] with functions like\n * [IModelDb.Elements.getElementProps]($backend) and [IModelConnection.Elements.loadProps]($frontend).\n * @public @preview\n * @extensions\n */\nexport interface ElementLoadOptions {\n /** if true, only load the members of [[ElementProps]], and no members from subclasses */\n onlyBaseProperties?: boolean;\n /** If true, include the [[GeometryStreamProps]] for [[GeometricElementProps]] and [[GeometryPartProps]].\n * Geometry streams can consist of many megabytes worth of JSON, so they are omitted by default.\n */\n wantGeometry?: boolean;\n /** When including a geometry stream containing brep entries, whether to return the raw brep data or proxy geometry, false when undefined */\n /** If true, include [[BRepEntity.DataProps.data]] in the [[GeometryStreamProps]] for [[GeometricElementProps]] and [[GeometryPartProps]].\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.\n */\n wantBRepData?: boolean;\n /** Options controlling which properties of [[DisplayStyleProps]] to include or exclude. */\n displayStyle?: DisplayStyleLoadProps;\n /** Options controlling which properties of [[RenderTimelineProps]] to include or exclude. */\n renderTimeline?: RenderTimelineLoadProps;\n}\n\n/** Parameters to specify what element to load for functions like [IModelDb.Elements.getElementProps]($backend).\n * @public @preview\n * @extensions\n */\nexport interface ElementLoadProps extends ElementLoadOptions {\n id?: Id64String;\n /** The properties of the Code of the element to load.\n * @note the Value member is required even though it is not declared so here. If no value is supplied, no element will ever be loaded.\n * TODO: change to Required<CodeProps> in Version 4.0\n */\n code?: CodeProps;\n federationGuid?: GuidString;\n}\n\n/** Properties of an [ElementAspect]($backend)\n * @public @preview\n * @extensions\n */\nexport interface ElementAspectProps extends EntityProps {\n element: RelatedElementProps;\n}\n\n/** Properties of an [ExternalSourceAspect]($backend) that stores synchronization information for an element originating from an external source.\n * @public @preview\n * @extensions\n */\nexport interface ExternalSourceAspectProps extends ElementAspectProps {\n /** An element that scopes the combination of `kind` and `identifier` to uniquely identify the object from the external source.\n * @note Warning: in a future major release the `scope` property will be optional, since the scope is intended to be potentially invalid.\n * all references should treat it as potentially undefined, but we cannot change the type yet since that is a breaking change.\n */\n scope: RelatedElementProps;\n /** The identifier of the object in the source repository. */\n identifier: string;\n /** The kind of object within the source repository. */\n kind: string;\n /** An optional value that is typically a version number or a pseudo version number like last modified time.\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.\n * If present, this value must be guaranteed to change when any of the source object's content changes.\n */\n version?: string;\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. */\n checksum?: string;\n /** A place where additional JSON properties can be stored. For example, provenance information or properties relating to the synchronization process.\n * @note Warning: if defined, jsonProperties must be a *string*, specifically a valid JSON string.\n * @note Warning: in a future major release, the type of `jsonProperties` will be changed to object, and itwin.js will automatically stringify it when writing to the iModel.\n * This will be a breaking change, since application code will have to change from supplying a string to supplying an object.\n */\n jsonProperties?: any;\n /** The source of the imported/synchronized object. Should point to an instance of [ExternalSource]($backend). */\n source?: RelatedElementProps;\n}\n\n/** Properties of an [ExternalSource]($backend)\n * @beta\n */\nexport interface ExternalSourceProps extends ElementProps {\n repository?: RelatedElementProps;\n connectorName?: string;\n connectorVersion?: string;\n}\n\n/** The role that an attached [ExternalSource]($backend) plays.\n * @beta\n */\nexport enum ExternalSourceAttachmentRole {\n /** The attached [ExternalSource]($backend) provides context. */\n SpecifyContext = 0,\n /** The attached [ExternalSource]($backend) models a part of the whole. */\n SpecifyPart = 1,\n}\n\n/** Properties of an [ExternalSourceAttachment]($backend)\n * @beta\n */\nexport interface ExternalSourceAttachmentProps extends ElementProps {\n attaches?: RelatedElementProps;\n role?: ExternalSourceAttachmentRole;\n translation?: XYZProps;\n yaw?: number;\n pitch?: number;\n roll?: number;\n scale?: XYZProps;\n}\n\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.\n * @public @preview\n * @extensions\n */\nexport interface ChannelRootAspectProps extends ElementAspectProps {\n /** The owner of the channel */\n owner: string;\n}\n\n/** Properties of a [LineStyle]($backend)\n * @public @preview\n * @extensions\n */\nexport interface LineStyleProps extends DefinitionElementProps {\n description?: string;\n /** The JSON string line style definition element data [LineStyleDefinition.StyleProps]($backend) */\n data: string;\n}\n\n/** Properties of a [LightLocation]($backend)\n * @internal\n */\nexport interface LightLocationProps extends GeometricElement3dProps {\n enabled?: boolean;\n}\n\n/** The *rank* for a Category\n * @public @preview\n * @extensions\n */\nexport enum Rank {\n /** This category is predefined by the system */\n System = 0,\n /** This category is defined by a schema. Elements in this category are not recognized by system classes. */\n Domain = 1,\n /** This category is defined by an application. Elements in this category are not recognized by system and schema classes. */\n Application = 2,\n /** This category is defined by a user. Elements in this category are not recognized by system, schema, and application classes. */\n User = 3,\n}\n\n/** Parameters of a [Category]($backend)\n * @public @preview\n * @extensions\n */\nexport interface CategoryProps extends DefinitionElementProps {\n rank?: Rank;\n description?: string;\n}\n\n/** Parameters of a [SubCategory]($backend)\n * @public @preview\n * @extensions\n */\nexport interface SubCategoryProps extends DefinitionElementProps {\n appearance?: SubCategoryAppearance.Props;\n description?: string;\n}\n\n/** Parameters of a [UrlLink]($backend)\n * @public @preview\n * @extensions\n */\nexport interface UrlLinkProps extends ElementProps {\n description?: string;\n url?: string;\n}\n\n/** Parameters of a [RepositoryLink]($backend)\n * @public @preview\n * @extensions\n */\nexport interface RepositoryLinkProps extends UrlLinkProps {\n repositoryGuid?: GuidString;\n format?: string;\n}\n\n/** The properties of a [SynchronizationConfigLink]($backend)\n * @beta\n */\nexport interface SynchronizationConfigLinkProps extends UrlLinkProps {\n lastSuccessfulRun?: string;\n}\n\n/** Wire format describing a [RenderTimeline]($backend).\n * @public @preview\n * @extensions\n */\nexport interface RenderTimelineProps extends ElementProps {\n /** An optional human-readable description of the timeline. */\n description?: string;\n /** The stringified JSON representation of the instructions for visualizing change over time.\n * @see [[RenderSchedule.ScriptProps]] for the JSON interface.\n */\n script: string;\n}\n\n/** Properties of a [SheetIndexEntry]($backend).\n * @beta\n*/\nexport interface SheetIndexEntryProps extends ElementProps {\n /** Can be used to prioritize or order members within a SheetIndex or SheetIndexFolder. */\n entryPriority: number;\n}\n\n/** Properties of a [SheetIndexFolder]($backend)\n * @beta\n */\nexport type SheetIndexFolderProps = SheetIndexEntryProps;\n\n/** Properties of a [SheetIndexReference]($backend)\n * @beta\n */\nexport interface SheetIndexReferenceProps extends SheetIndexEntryProps {\n /** The bis:SheetIndex that this bis:SheetIndexReference is pointing to. */\n sheetIndex?: RelatedElementProps;\n}\n\n/** Properties of a [SheetReference]($backend)\n * @beta\n */\nexport interface SheetReferenceProps extends SheetIndexEntryProps {\n /** The bis:Sheet that this bis:SheetReference is pointing to. */\n sheet?: RelatedElementProps;\n}\n\n/** Properties that define an [AnnotationTextStyle]($backend).\n * @beta\n */\nexport interface AnnotationTextStyleProps extends DefinitionElementProps {\n /** An optional human-readable description of the text style.*/\n description?: string;\n /** The stringified JSON representation of the text style.\n * @see [[TextStyleSettingsProps]]\n */\n settings?: string;\n}"]}