@itwin/presentation-common 5.0.0-dev.10 → 5.0.0-dev.102

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 (482) hide show
  1. package/CHANGELOG.md +56 -1
  2. package/Ruleset.schema.json +3 -258
  3. package/lib/cjs/package.json +1 -0
  4. package/lib/cjs/presentation-common/AsyncTasks.d.ts +4 -4
  5. package/lib/cjs/presentation-common/AsyncTasks.d.ts.map +1 -1
  6. package/lib/cjs/presentation-common/AsyncTasks.js +5 -6
  7. package/lib/cjs/presentation-common/AsyncTasks.js.map +1 -1
  8. package/lib/cjs/presentation-common/EC.d.ts +37 -81
  9. package/lib/cjs/presentation-common/EC.d.ts.map +1 -1
  10. package/lib/cjs/presentation-common/EC.js +1 -97
  11. package/lib/cjs/presentation-common/EC.js.map +1 -1
  12. package/lib/cjs/presentation-common/ElementProperties.d.ts +2 -2
  13. package/lib/cjs/presentation-common/ElementProperties.d.ts.map +1 -1
  14. package/lib/cjs/presentation-common/ElementProperties.js +22 -15
  15. package/lib/cjs/presentation-common/ElementProperties.js.map +1 -1
  16. package/lib/cjs/presentation-common/Error.d.ts +2 -0
  17. package/lib/cjs/presentation-common/Error.d.ts.map +1 -1
  18. package/lib/cjs/presentation-common/Error.js +2 -0
  19. package/lib/cjs/presentation-common/Error.js.map +1 -1
  20. package/lib/cjs/presentation-common/InstanceFilterDefinition.d.ts +1 -1
  21. package/lib/cjs/presentation-common/InstanceFilterDefinition.d.ts.map +1 -1
  22. package/lib/cjs/presentation-common/InstanceFilterDefinition.js.map +1 -1
  23. package/lib/cjs/presentation-common/KeySet.d.ts +3 -3
  24. package/lib/cjs/presentation-common/KeySet.d.ts.map +1 -1
  25. package/lib/cjs/presentation-common/KeySet.js +20 -22
  26. package/lib/cjs/presentation-common/KeySet.js.map +1 -1
  27. package/lib/cjs/presentation-common/KoqPropertyValueFormatter.js +9 -7
  28. package/lib/cjs/presentation-common/KoqPropertyValueFormatter.js.map +1 -1
  29. package/lib/cjs/presentation-common/LabelDefinition.d.ts +2 -50
  30. package/lib/cjs/presentation-common/LabelDefinition.d.ts.map +1 -1
  31. package/lib/cjs/presentation-common/LabelDefinition.js +4 -47
  32. package/lib/cjs/presentation-common/LabelDefinition.js.map +1 -1
  33. package/lib/cjs/presentation-common/LocalizationHelper.d.ts +10 -10
  34. package/lib/cjs/presentation-common/LocalizationHelper.d.ts.map +1 -1
  35. package/lib/cjs/presentation-common/LocalizationHelper.js +13 -12
  36. package/lib/cjs/presentation-common/LocalizationHelper.js.map +1 -1
  37. package/lib/cjs/presentation-common/PresentationIpcInterface.d.ts +12 -7
  38. package/lib/cjs/presentation-common/PresentationIpcInterface.d.ts.map +1 -1
  39. package/lib/cjs/presentation-common/PresentationIpcInterface.js +9 -1
  40. package/lib/cjs/presentation-common/PresentationIpcInterface.js.map +1 -1
  41. package/lib/cjs/presentation-common/PresentationManagerOptions.d.ts +40 -25
  42. package/lib/cjs/presentation-common/PresentationManagerOptions.d.ts.map +1 -1
  43. package/lib/cjs/presentation-common/PresentationManagerOptions.js +0 -5
  44. package/lib/cjs/presentation-common/PresentationManagerOptions.js.map +1 -1
  45. package/lib/cjs/presentation-common/PresentationRpcInterface.d.ts +22 -29
  46. package/lib/cjs/presentation-common/PresentationRpcInterface.d.ts.map +1 -1
  47. package/lib/cjs/presentation-common/PresentationRpcInterface.js +41 -36
  48. package/lib/cjs/presentation-common/PresentationRpcInterface.js.map +1 -1
  49. package/lib/cjs/presentation-common/RegisteredRuleset.d.ts +6 -5
  50. package/lib/cjs/presentation-common/RegisteredRuleset.d.ts.map +1 -1
  51. package/lib/cjs/presentation-common/RegisteredRuleset.js +9 -1
  52. package/lib/cjs/presentation-common/RegisteredRuleset.js.map +1 -1
  53. package/lib/cjs/presentation-common/RpcRequestsHandler.d.ts +21 -24
  54. package/lib/cjs/presentation-common/RpcRequestsHandler.d.ts.map +1 -1
  55. package/lib/cjs/presentation-common/RpcRequestsHandler.js +42 -35
  56. package/lib/cjs/presentation-common/RpcRequestsHandler.js.map +1 -1
  57. package/lib/cjs/presentation-common/RulesetVariables.d.ts +1 -46
  58. package/lib/cjs/presentation-common/RulesetVariables.d.ts.map +1 -1
  59. package/lib/cjs/presentation-common/RulesetVariables.js.map +1 -1
  60. package/lib/cjs/presentation-common/RulesetsFactory.d.ts +4 -4
  61. package/lib/cjs/presentation-common/RulesetsFactory.d.ts.map +1 -1
  62. package/lib/cjs/presentation-common/RulesetsFactory.js +15 -15
  63. package/lib/cjs/presentation-common/RulesetsFactory.js.map +1 -1
  64. package/lib/cjs/presentation-common/Update.d.ts +2 -79
  65. package/lib/cjs/presentation-common/Update.d.ts.map +1 -1
  66. package/lib/cjs/presentation-common/Update.js +1 -104
  67. package/lib/cjs/presentation-common/Update.js.map +1 -1
  68. package/lib/cjs/presentation-common/Utils.d.ts +22 -1
  69. package/lib/cjs/presentation-common/Utils.d.ts.map +1 -1
  70. package/lib/cjs/presentation-common/Utils.js +59 -3
  71. package/lib/cjs/presentation-common/Utils.js.map +1 -1
  72. package/lib/cjs/presentation-common/content/Category.d.ts +1 -1
  73. package/lib/cjs/presentation-common/content/Category.d.ts.map +1 -1
  74. package/lib/cjs/presentation-common/content/Category.js.map +1 -1
  75. package/lib/cjs/presentation-common/content/Content.d.ts +2 -9
  76. package/lib/cjs/presentation-common/content/Content.d.ts.map +1 -1
  77. package/lib/cjs/presentation-common/content/Content.js +9 -14
  78. package/lib/cjs/presentation-common/content/Content.js.map +1 -1
  79. package/lib/cjs/presentation-common/content/ContentTraverser.d.ts +9 -9
  80. package/lib/cjs/presentation-common/content/ContentTraverser.d.ts.map +1 -1
  81. package/lib/cjs/presentation-common/content/ContentTraverser.js +138 -50
  82. package/lib/cjs/presentation-common/content/ContentTraverser.js.map +1 -1
  83. package/lib/cjs/presentation-common/content/Descriptor.d.ts +7 -52
  84. package/lib/cjs/presentation-common/content/Descriptor.d.ts.map +1 -1
  85. package/lib/cjs/presentation-common/content/Descriptor.js +82 -53
  86. package/lib/cjs/presentation-common/content/Descriptor.js.map +1 -1
  87. package/lib/cjs/presentation-common/content/Fields.d.ts +157 -33
  88. package/lib/cjs/presentation-common/content/Fields.d.ts.map +1 -1
  89. package/lib/cjs/presentation-common/content/Fields.js +275 -151
  90. package/lib/cjs/presentation-common/content/Fields.js.map +1 -1
  91. package/lib/cjs/presentation-common/content/Item.d.ts +28 -33
  92. package/lib/cjs/presentation-common/content/Item.d.ts.map +1 -1
  93. package/lib/cjs/presentation-common/content/Item.js +53 -68
  94. package/lib/cjs/presentation-common/content/Item.js.map +1 -1
  95. package/lib/cjs/presentation-common/content/Property.d.ts +2 -14
  96. package/lib/cjs/presentation-common/content/Property.d.ts.map +1 -1
  97. package/lib/cjs/presentation-common/content/Property.js +2 -20
  98. package/lib/cjs/presentation-common/content/Property.js.map +1 -1
  99. package/lib/cjs/presentation-common/content/PropertyValueFormatter.d.ts +6 -6
  100. package/lib/cjs/presentation-common/content/PropertyValueFormatter.d.ts.map +1 -1
  101. package/lib/cjs/presentation-common/content/PropertyValueFormatter.js +12 -9
  102. package/lib/cjs/presentation-common/content/PropertyValueFormatter.js.map +1 -1
  103. package/lib/cjs/presentation-common/content/Value.d.ts +8 -110
  104. package/lib/cjs/presentation-common/content/Value.d.ts.map +1 -1
  105. package/lib/cjs/presentation-common/content/Value.js +1 -215
  106. package/lib/cjs/presentation-common/content/Value.js.map +1 -1
  107. package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.d.ts +1 -22
  108. package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.d.ts.map +1 -1
  109. package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.js +0 -23
  110. package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.js.map +1 -1
  111. package/lib/cjs/presentation-common/hierarchy/Key.d.ts +1 -84
  112. package/lib/cjs/presentation-common/hierarchy/Key.d.ts.map +1 -1
  113. package/lib/cjs/presentation-common/hierarchy/Key.js +8 -26
  114. package/lib/cjs/presentation-common/hierarchy/Key.js.map +1 -1
  115. package/lib/cjs/presentation-common/hierarchy/Node.d.ts +4 -107
  116. package/lib/cjs/presentation-common/hierarchy/Node.d.ts.map +1 -1
  117. package/lib/cjs/presentation-common/hierarchy/Node.js +0 -99
  118. package/lib/cjs/presentation-common/hierarchy/Node.js.map +1 -1
  119. package/lib/cjs/presentation-common/hierarchy/NodePathElement.d.ts +1 -67
  120. package/lib/cjs/presentation-common/hierarchy/NodePathElement.d.ts.map +1 -1
  121. package/lib/cjs/presentation-common/hierarchy/NodePathElement.js +0 -117
  122. package/lib/cjs/presentation-common/hierarchy/NodePathElement.js.map +1 -1
  123. package/lib/cjs/presentation-common/rules/RelatedInstanceSpecification.d.ts +2 -2
  124. package/lib/cjs/presentation-common/rules/RelatedInstanceSpecification.d.ts.map +1 -1
  125. package/lib/cjs/presentation-common/rules/RelatedInstanceSpecification.js.map +1 -1
  126. package/lib/cjs/presentation-common/rules/RelationshipPathSpecification.d.ts +2 -2
  127. package/lib/cjs/presentation-common/rules/RelationshipPathSpecification.d.ts.map +1 -1
  128. package/lib/cjs/presentation-common/rules/RelationshipPathSpecification.js.map +1 -1
  129. package/lib/cjs/presentation-common/rules/Rule.d.ts +6 -20
  130. package/lib/cjs/presentation-common/rules/Rule.d.ts.map +1 -1
  131. package/lib/cjs/presentation-common/rules/Rule.js.map +1 -1
  132. package/lib/cjs/presentation-common/rules/Ruleset.d.ts +3 -3
  133. package/lib/cjs/presentation-common/rules/Ruleset.d.ts.map +1 -1
  134. package/lib/cjs/presentation-common/rules/Ruleset.js.map +1 -1
  135. package/lib/cjs/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts +2 -2
  136. package/lib/cjs/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts.map +1 -1
  137. package/lib/cjs/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js.map +1 -1
  138. package/lib/cjs/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts +2 -2
  139. package/lib/cjs/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts.map +1 -1
  140. package/lib/cjs/presentation-common/rules/content/ContentRelatedInstancesSpecification.js.map +1 -1
  141. package/lib/cjs/presentation-common/rules/content/ContentRule.d.ts +2 -2
  142. package/lib/cjs/presentation-common/rules/content/ContentRule.d.ts.map +1 -1
  143. package/lib/cjs/presentation-common/rules/content/ContentRule.js.map +1 -1
  144. package/lib/cjs/presentation-common/rules/content/ContentSpecification.d.ts +5 -12
  145. package/lib/cjs/presentation-common/rules/content/ContentSpecification.d.ts.map +1 -1
  146. package/lib/cjs/presentation-common/rules/content/ContentSpecification.js.map +1 -1
  147. package/lib/cjs/presentation-common/rules/content/DefaultPropertyCategoryOverride.d.ts +2 -2
  148. package/lib/cjs/presentation-common/rules/content/DefaultPropertyCategoryOverride.d.ts.map +1 -1
  149. package/lib/cjs/presentation-common/rules/content/DefaultPropertyCategoryOverride.js.map +1 -1
  150. package/lib/cjs/presentation-common/rules/content/PropertySpecification.d.ts +3 -3
  151. package/lib/cjs/presentation-common/rules/content/PropertySpecification.d.ts.map +1 -1
  152. package/lib/cjs/presentation-common/rules/content/PropertySpecification.js.map +1 -1
  153. package/lib/cjs/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts +1 -1
  154. package/lib/cjs/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts.map +1 -1
  155. package/lib/cjs/presentation-common/rules/content/SelectedNodeInstancesSpecification.js.map +1 -1
  156. package/lib/cjs/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts +3 -3
  157. package/lib/cjs/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts.map +1 -1
  158. package/lib/cjs/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js.map +1 -1
  159. package/lib/cjs/presentation-common/rules/content/modifiers/ContentModifier.d.ts +6 -6
  160. package/lib/cjs/presentation-common/rules/content/modifiers/ContentModifier.d.ts.map +1 -1
  161. package/lib/cjs/presentation-common/rules/content/modifiers/ContentModifier.js.map +1 -1
  162. package/lib/cjs/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts +1 -1
  163. package/lib/cjs/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts.map +1 -1
  164. package/lib/cjs/presentation-common/rules/content/modifiers/PropertyCategorySpecification.js.map +1 -1
  165. package/lib/cjs/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts +2 -2
  166. package/lib/cjs/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts.map +1 -1
  167. package/lib/cjs/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js.map +1 -1
  168. package/lib/cjs/presentation-common/rules/customization/CustomizationRule.d.ts +6 -10
  169. package/lib/cjs/presentation-common/rules/customization/CustomizationRule.d.ts.map +1 -1
  170. package/lib/cjs/presentation-common/rules/customization/CustomizationRule.js.map +1 -1
  171. package/lib/cjs/presentation-common/rules/customization/ExtendedDataRule.d.ts +1 -1
  172. package/lib/cjs/presentation-common/rules/customization/ExtendedDataRule.d.ts.map +1 -1
  173. package/lib/cjs/presentation-common/rules/customization/ExtendedDataRule.js.map +1 -1
  174. package/lib/cjs/presentation-common/rules/customization/GroupingRule.d.ts +4 -30
  175. package/lib/cjs/presentation-common/rules/customization/GroupingRule.d.ts.map +1 -1
  176. package/lib/cjs/presentation-common/rules/customization/GroupingRule.js +1 -15
  177. package/lib/cjs/presentation-common/rules/customization/GroupingRule.js.map +1 -1
  178. package/lib/cjs/presentation-common/rules/customization/InstanceLabelOverride.d.ts +3 -3
  179. package/lib/cjs/presentation-common/rules/customization/InstanceLabelOverride.d.ts.map +1 -1
  180. package/lib/cjs/presentation-common/rules/customization/InstanceLabelOverride.js.map +1 -1
  181. package/lib/cjs/presentation-common/rules/customization/SortingRule.d.ts +2 -2
  182. package/lib/cjs/presentation-common/rules/customization/SortingRule.d.ts.map +1 -1
  183. package/lib/cjs/presentation-common/rules/customization/SortingRule.js.map +1 -1
  184. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeRule.d.ts +1 -1
  185. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeRule.d.ts.map +1 -1
  186. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeRule.js.map +1 -1
  187. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts +6 -6
  188. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts.map +1 -1
  189. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeSpecification.js.map +1 -1
  190. package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts +3 -1
  191. package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts.map +1 -1
  192. package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.js.map +1 -1
  193. package/lib/cjs/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.d.ts +2 -2
  194. package/lib/cjs/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.d.ts.map +1 -1
  195. package/lib/cjs/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js.map +1 -1
  196. package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts +2 -11
  197. package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts.map +1 -1
  198. package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js.map +1 -1
  199. package/lib/cjs/presentation-common/rules/hierarchy/NavigationRule.d.ts +6 -6
  200. package/lib/cjs/presentation-common/rules/hierarchy/NavigationRule.d.ts.map +1 -1
  201. package/lib/cjs/presentation-common/rules/hierarchy/NavigationRule.js.map +1 -1
  202. package/lib/cjs/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts +1 -1
  203. package/lib/cjs/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts.map +1 -1
  204. package/lib/cjs/presentation-common/rules/hierarchy/NodeArtifactsRule.js.map +1 -1
  205. package/lib/cjs/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts +2 -2
  206. package/lib/cjs/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts.map +1 -1
  207. package/lib/cjs/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js.map +1 -1
  208. package/lib/cjs/presentation-common/rules/hierarchy/RootNodeRule.d.ts +1 -1
  209. package/lib/cjs/presentation-common/rules/hierarchy/RootNodeRule.d.ts.map +1 -1
  210. package/lib/cjs/presentation-common/rules/hierarchy/RootNodeRule.js.map +1 -1
  211. package/lib/cjs/presentation-common/rules/hierarchy/SubCondition.d.ts +2 -2
  212. package/lib/cjs/presentation-common/rules/hierarchy/SubCondition.d.ts.map +1 -1
  213. package/lib/cjs/presentation-common/rules/hierarchy/SubCondition.js.map +1 -1
  214. package/lib/cjs/presentation-common/selection/SelectionScope.d.ts +3 -0
  215. package/lib/cjs/presentation-common/selection/SelectionScope.d.ts.map +1 -1
  216. package/lib/cjs/presentation-common/selection/SelectionScope.js +1 -0
  217. package/lib/cjs/presentation-common/selection/SelectionScope.js.map +1 -1
  218. package/lib/cjs/presentation-common-internal.d.ts +10 -0
  219. package/lib/cjs/presentation-common-internal.d.ts.map +1 -0
  220. package/lib/cjs/presentation-common-internal.js +32 -0
  221. package/lib/cjs/presentation-common-internal.js.map +1 -0
  222. package/lib/cjs/presentation-common.d.ts +68 -77
  223. package/lib/cjs/presentation-common.d.ts.map +1 -1
  224. package/lib/cjs/presentation-common.js +110 -89
  225. package/lib/cjs/presentation-common.js.map +1 -1
  226. package/lib/esm/presentation-common/AsyncTasks.d.ts +4 -4
  227. package/lib/esm/presentation-common/AsyncTasks.d.ts.map +1 -1
  228. package/lib/esm/presentation-common/AsyncTasks.js +5 -6
  229. package/lib/esm/presentation-common/AsyncTasks.js.map +1 -1
  230. package/lib/esm/presentation-common/EC.d.ts +37 -81
  231. package/lib/esm/presentation-common/EC.d.ts.map +1 -1
  232. package/lib/esm/presentation-common/EC.js +0 -96
  233. package/lib/esm/presentation-common/EC.js.map +1 -1
  234. package/lib/esm/presentation-common/ElementProperties.d.ts +2 -2
  235. package/lib/esm/presentation-common/ElementProperties.d.ts.map +1 -1
  236. package/lib/esm/presentation-common/ElementProperties.js +18 -11
  237. package/lib/esm/presentation-common/ElementProperties.js.map +1 -1
  238. package/lib/esm/presentation-common/Error.d.ts +2 -0
  239. package/lib/esm/presentation-common/Error.d.ts.map +1 -1
  240. package/lib/esm/presentation-common/Error.js +2 -0
  241. package/lib/esm/presentation-common/Error.js.map +1 -1
  242. package/lib/esm/presentation-common/InstanceFilterDefinition.d.ts +1 -1
  243. package/lib/esm/presentation-common/InstanceFilterDefinition.d.ts.map +1 -1
  244. package/lib/esm/presentation-common/InstanceFilterDefinition.js.map +1 -1
  245. package/lib/esm/presentation-common/KeySet.d.ts +3 -3
  246. package/lib/esm/presentation-common/KeySet.d.ts.map +1 -1
  247. package/lib/esm/presentation-common/KeySet.js +10 -12
  248. package/lib/esm/presentation-common/KeySet.js.map +1 -1
  249. package/lib/esm/presentation-common/KoqPropertyValueFormatter.js +10 -8
  250. package/lib/esm/presentation-common/KoqPropertyValueFormatter.js.map +1 -1
  251. package/lib/esm/presentation-common/LabelDefinition.d.ts +2 -50
  252. package/lib/esm/presentation-common/LabelDefinition.d.ts.map +1 -1
  253. package/lib/esm/presentation-common/LabelDefinition.js +3 -46
  254. package/lib/esm/presentation-common/LabelDefinition.js.map +1 -1
  255. package/lib/esm/presentation-common/LocalizationHelper.d.ts +10 -10
  256. package/lib/esm/presentation-common/LocalizationHelper.d.ts.map +1 -1
  257. package/lib/esm/presentation-common/LocalizationHelper.js +6 -5
  258. package/lib/esm/presentation-common/LocalizationHelper.js.map +1 -1
  259. package/lib/esm/presentation-common/PresentationIpcInterface.d.ts +12 -7
  260. package/lib/esm/presentation-common/PresentationIpcInterface.d.ts.map +1 -1
  261. package/lib/esm/presentation-common/PresentationIpcInterface.js +8 -0
  262. package/lib/esm/presentation-common/PresentationIpcInterface.js.map +1 -1
  263. package/lib/esm/presentation-common/PresentationManagerOptions.d.ts +40 -25
  264. package/lib/esm/presentation-common/PresentationManagerOptions.d.ts.map +1 -1
  265. package/lib/esm/presentation-common/PresentationManagerOptions.js +0 -4
  266. package/lib/esm/presentation-common/PresentationManagerOptions.js.map +1 -1
  267. package/lib/esm/presentation-common/PresentationRpcInterface.d.ts +22 -29
  268. package/lib/esm/presentation-common/PresentationRpcInterface.d.ts.map +1 -1
  269. package/lib/esm/presentation-common/PresentationRpcInterface.js +42 -36
  270. package/lib/esm/presentation-common/PresentationRpcInterface.js.map +1 -1
  271. package/lib/esm/presentation-common/RegisteredRuleset.d.ts +6 -5
  272. package/lib/esm/presentation-common/RegisteredRuleset.d.ts.map +1 -1
  273. package/lib/esm/presentation-common/RegisteredRuleset.js +9 -1
  274. package/lib/esm/presentation-common/RegisteredRuleset.js.map +1 -1
  275. package/lib/esm/presentation-common/RpcRequestsHandler.d.ts +21 -24
  276. package/lib/esm/presentation-common/RpcRequestsHandler.d.ts.map +1 -1
  277. package/lib/esm/presentation-common/RpcRequestsHandler.js +42 -35
  278. package/lib/esm/presentation-common/RpcRequestsHandler.js.map +1 -1
  279. package/lib/esm/presentation-common/RulesetVariables.d.ts +1 -46
  280. package/lib/esm/presentation-common/RulesetVariables.d.ts.map +1 -1
  281. package/lib/esm/presentation-common/RulesetVariables.js.map +1 -1
  282. package/lib/esm/presentation-common/RulesetsFactory.d.ts +4 -4
  283. package/lib/esm/presentation-common/RulesetsFactory.d.ts.map +1 -1
  284. package/lib/esm/presentation-common/RulesetsFactory.js +6 -6
  285. package/lib/esm/presentation-common/RulesetsFactory.js.map +1 -1
  286. package/lib/esm/presentation-common/Update.d.ts +2 -79
  287. package/lib/esm/presentation-common/Update.d.ts.map +1 -1
  288. package/lib/esm/presentation-common/Update.js +0 -103
  289. package/lib/esm/presentation-common/Update.js.map +1 -1
  290. package/lib/esm/presentation-common/Utils.d.ts +22 -1
  291. package/lib/esm/presentation-common/Utils.d.ts.map +1 -1
  292. package/lib/esm/presentation-common/Utils.js +54 -1
  293. package/lib/esm/presentation-common/Utils.js.map +1 -1
  294. package/lib/esm/presentation-common/content/Category.d.ts +1 -1
  295. package/lib/esm/presentation-common/content/Category.d.ts.map +1 -1
  296. package/lib/esm/presentation-common/content/Category.js.map +1 -1
  297. package/lib/esm/presentation-common/content/Content.d.ts +2 -9
  298. package/lib/esm/presentation-common/content/Content.d.ts.map +1 -1
  299. package/lib/esm/presentation-common/content/Content.js +7 -12
  300. package/lib/esm/presentation-common/content/Content.js.map +1 -1
  301. package/lib/esm/presentation-common/content/ContentTraverser.d.ts +9 -9
  302. package/lib/esm/presentation-common/content/ContentTraverser.d.ts.map +1 -1
  303. package/lib/esm/presentation-common/content/ContentTraverser.js +123 -35
  304. package/lib/esm/presentation-common/content/ContentTraverser.js.map +1 -1
  305. package/lib/esm/presentation-common/content/Descriptor.d.ts +7 -52
  306. package/lib/esm/presentation-common/content/Descriptor.d.ts.map +1 -1
  307. package/lib/esm/presentation-common/content/Descriptor.js +71 -42
  308. package/lib/esm/presentation-common/content/Descriptor.js.map +1 -1
  309. package/lib/esm/presentation-common/content/Fields.d.ts +157 -33
  310. package/lib/esm/presentation-common/content/Fields.d.ts.map +1 -1
  311. package/lib/esm/presentation-common/content/Fields.js +268 -144
  312. package/lib/esm/presentation-common/content/Fields.js.map +1 -1
  313. package/lib/esm/presentation-common/content/Item.d.ts +28 -33
  314. package/lib/esm/presentation-common/content/Item.d.ts.map +1 -1
  315. package/lib/esm/presentation-common/content/Item.js +53 -68
  316. package/lib/esm/presentation-common/content/Item.js.map +1 -1
  317. package/lib/esm/presentation-common/content/Property.d.ts +2 -14
  318. package/lib/esm/presentation-common/content/Property.d.ts.map +1 -1
  319. package/lib/esm/presentation-common/content/Property.js +1 -19
  320. package/lib/esm/presentation-common/content/Property.js.map +1 -1
  321. package/lib/esm/presentation-common/content/PropertyValueFormatter.d.ts +6 -6
  322. package/lib/esm/presentation-common/content/PropertyValueFormatter.d.ts.map +1 -1
  323. package/lib/esm/presentation-common/content/PropertyValueFormatter.js +5 -2
  324. package/lib/esm/presentation-common/content/PropertyValueFormatter.js.map +1 -1
  325. package/lib/esm/presentation-common/content/Value.d.ts +8 -110
  326. package/lib/esm/presentation-common/content/Value.d.ts.map +1 -1
  327. package/lib/esm/presentation-common/content/Value.js +0 -214
  328. package/lib/esm/presentation-common/content/Value.js.map +1 -1
  329. package/lib/esm/presentation-common/hierarchy/HierarchyLevel.d.ts +1 -22
  330. package/lib/esm/presentation-common/hierarchy/HierarchyLevel.d.ts.map +1 -1
  331. package/lib/esm/presentation-common/hierarchy/HierarchyLevel.js +1 -22
  332. package/lib/esm/presentation-common/hierarchy/HierarchyLevel.js.map +1 -1
  333. package/lib/esm/presentation-common/hierarchy/Key.d.ts +1 -84
  334. package/lib/esm/presentation-common/hierarchy/Key.d.ts.map +1 -1
  335. package/lib/esm/presentation-common/hierarchy/Key.js +7 -25
  336. package/lib/esm/presentation-common/hierarchy/Key.js.map +1 -1
  337. package/lib/esm/presentation-common/hierarchy/Node.d.ts +4 -107
  338. package/lib/esm/presentation-common/hierarchy/Node.d.ts.map +1 -1
  339. package/lib/esm/presentation-common/hierarchy/Node.js +1 -98
  340. package/lib/esm/presentation-common/hierarchy/Node.js.map +1 -1
  341. package/lib/esm/presentation-common/hierarchy/NodePathElement.d.ts +1 -67
  342. package/lib/esm/presentation-common/hierarchy/NodePathElement.d.ts.map +1 -1
  343. package/lib/esm/presentation-common/hierarchy/NodePathElement.js +1 -116
  344. package/lib/esm/presentation-common/hierarchy/NodePathElement.js.map +1 -1
  345. package/lib/esm/presentation-common/rules/RelatedInstanceSpecification.d.ts +2 -2
  346. package/lib/esm/presentation-common/rules/RelatedInstanceSpecification.d.ts.map +1 -1
  347. package/lib/esm/presentation-common/rules/RelatedInstanceSpecification.js.map +1 -1
  348. package/lib/esm/presentation-common/rules/RelationshipPathSpecification.d.ts +2 -2
  349. package/lib/esm/presentation-common/rules/RelationshipPathSpecification.d.ts.map +1 -1
  350. package/lib/esm/presentation-common/rules/RelationshipPathSpecification.js.map +1 -1
  351. package/lib/esm/presentation-common/rules/Rule.d.ts +6 -20
  352. package/lib/esm/presentation-common/rules/Rule.d.ts.map +1 -1
  353. package/lib/esm/presentation-common/rules/Rule.js.map +1 -1
  354. package/lib/esm/presentation-common/rules/Ruleset.d.ts +3 -3
  355. package/lib/esm/presentation-common/rules/Ruleset.d.ts.map +1 -1
  356. package/lib/esm/presentation-common/rules/Ruleset.js.map +1 -1
  357. package/lib/esm/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts +2 -2
  358. package/lib/esm/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts.map +1 -1
  359. package/lib/esm/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js.map +1 -1
  360. package/lib/esm/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts +2 -2
  361. package/lib/esm/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts.map +1 -1
  362. package/lib/esm/presentation-common/rules/content/ContentRelatedInstancesSpecification.js.map +1 -1
  363. package/lib/esm/presentation-common/rules/content/ContentRule.d.ts +2 -2
  364. package/lib/esm/presentation-common/rules/content/ContentRule.d.ts.map +1 -1
  365. package/lib/esm/presentation-common/rules/content/ContentRule.js.map +1 -1
  366. package/lib/esm/presentation-common/rules/content/ContentSpecification.d.ts +5 -12
  367. package/lib/esm/presentation-common/rules/content/ContentSpecification.d.ts.map +1 -1
  368. package/lib/esm/presentation-common/rules/content/ContentSpecification.js.map +1 -1
  369. package/lib/esm/presentation-common/rules/content/DefaultPropertyCategoryOverride.d.ts +2 -2
  370. package/lib/esm/presentation-common/rules/content/DefaultPropertyCategoryOverride.d.ts.map +1 -1
  371. package/lib/esm/presentation-common/rules/content/DefaultPropertyCategoryOverride.js.map +1 -1
  372. package/lib/esm/presentation-common/rules/content/PropertySpecification.d.ts +3 -3
  373. package/lib/esm/presentation-common/rules/content/PropertySpecification.d.ts.map +1 -1
  374. package/lib/esm/presentation-common/rules/content/PropertySpecification.js.map +1 -1
  375. package/lib/esm/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts +1 -1
  376. package/lib/esm/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts.map +1 -1
  377. package/lib/esm/presentation-common/rules/content/SelectedNodeInstancesSpecification.js.map +1 -1
  378. package/lib/esm/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts +3 -3
  379. package/lib/esm/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts.map +1 -1
  380. package/lib/esm/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js.map +1 -1
  381. package/lib/esm/presentation-common/rules/content/modifiers/ContentModifier.d.ts +6 -6
  382. package/lib/esm/presentation-common/rules/content/modifiers/ContentModifier.d.ts.map +1 -1
  383. package/lib/esm/presentation-common/rules/content/modifiers/ContentModifier.js.map +1 -1
  384. package/lib/esm/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts +1 -1
  385. package/lib/esm/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts.map +1 -1
  386. package/lib/esm/presentation-common/rules/content/modifiers/PropertyCategorySpecification.js.map +1 -1
  387. package/lib/esm/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts +2 -2
  388. package/lib/esm/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts.map +1 -1
  389. package/lib/esm/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js.map +1 -1
  390. package/lib/esm/presentation-common/rules/customization/CustomizationRule.d.ts +6 -10
  391. package/lib/esm/presentation-common/rules/customization/CustomizationRule.d.ts.map +1 -1
  392. package/lib/esm/presentation-common/rules/customization/CustomizationRule.js.map +1 -1
  393. package/lib/esm/presentation-common/rules/customization/ExtendedDataRule.d.ts +1 -1
  394. package/lib/esm/presentation-common/rules/customization/ExtendedDataRule.d.ts.map +1 -1
  395. package/lib/esm/presentation-common/rules/customization/ExtendedDataRule.js.map +1 -1
  396. package/lib/esm/presentation-common/rules/customization/GroupingRule.d.ts +4 -30
  397. package/lib/esm/presentation-common/rules/customization/GroupingRule.d.ts.map +1 -1
  398. package/lib/esm/presentation-common/rules/customization/GroupingRule.js +0 -14
  399. package/lib/esm/presentation-common/rules/customization/GroupingRule.js.map +1 -1
  400. package/lib/esm/presentation-common/rules/customization/InstanceLabelOverride.d.ts +3 -3
  401. package/lib/esm/presentation-common/rules/customization/InstanceLabelOverride.d.ts.map +1 -1
  402. package/lib/esm/presentation-common/rules/customization/InstanceLabelOverride.js.map +1 -1
  403. package/lib/esm/presentation-common/rules/customization/SortingRule.d.ts +2 -2
  404. package/lib/esm/presentation-common/rules/customization/SortingRule.d.ts.map +1 -1
  405. package/lib/esm/presentation-common/rules/customization/SortingRule.js.map +1 -1
  406. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeRule.d.ts +1 -1
  407. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeRule.d.ts.map +1 -1
  408. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeRule.js.map +1 -1
  409. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts +6 -6
  410. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts.map +1 -1
  411. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeSpecification.js.map +1 -1
  412. package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts +3 -1
  413. package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts.map +1 -1
  414. package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.js.map +1 -1
  415. package/lib/esm/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.d.ts +2 -2
  416. package/lib/esm/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.d.ts.map +1 -1
  417. package/lib/esm/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js.map +1 -1
  418. package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts +2 -11
  419. package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts.map +1 -1
  420. package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js.map +1 -1
  421. package/lib/esm/presentation-common/rules/hierarchy/NavigationRule.d.ts +6 -6
  422. package/lib/esm/presentation-common/rules/hierarchy/NavigationRule.d.ts.map +1 -1
  423. package/lib/esm/presentation-common/rules/hierarchy/NavigationRule.js.map +1 -1
  424. package/lib/esm/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts +1 -1
  425. package/lib/esm/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts.map +1 -1
  426. package/lib/esm/presentation-common/rules/hierarchy/NodeArtifactsRule.js.map +1 -1
  427. package/lib/esm/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts +2 -2
  428. package/lib/esm/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts.map +1 -1
  429. package/lib/esm/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js.map +1 -1
  430. package/lib/esm/presentation-common/rules/hierarchy/RootNodeRule.d.ts +1 -1
  431. package/lib/esm/presentation-common/rules/hierarchy/RootNodeRule.d.ts.map +1 -1
  432. package/lib/esm/presentation-common/rules/hierarchy/RootNodeRule.js.map +1 -1
  433. package/lib/esm/presentation-common/rules/hierarchy/SubCondition.d.ts +2 -2
  434. package/lib/esm/presentation-common/rules/hierarchy/SubCondition.d.ts.map +1 -1
  435. package/lib/esm/presentation-common/rules/hierarchy/SubCondition.js.map +1 -1
  436. package/lib/esm/presentation-common/selection/SelectionScope.d.ts +3 -0
  437. package/lib/esm/presentation-common/selection/SelectionScope.d.ts.map +1 -1
  438. package/lib/esm/presentation-common/selection/SelectionScope.js +1 -0
  439. package/lib/esm/presentation-common/selection/SelectionScope.js.map +1 -1
  440. package/lib/esm/presentation-common-internal.d.ts +10 -0
  441. package/lib/esm/presentation-common-internal.d.ts.map +1 -0
  442. package/lib/esm/presentation-common-internal.js +16 -0
  443. package/lib/esm/presentation-common-internal.js.map +1 -0
  444. package/lib/esm/presentation-common.d.ts +68 -77
  445. package/lib/esm/presentation-common.d.ts.map +1 -1
  446. package/lib/esm/presentation-common.js +60 -89
  447. package/lib/esm/presentation-common.js.map +1 -1
  448. package/package.json +47 -36
  449. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.d.ts +0 -45
  450. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.d.ts.map +0 -1
  451. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.js +0 -10
  452. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.js.map +0 -1
  453. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.d.ts +0 -30
  454. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.d.ts.map +0 -1
  455. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.js +0 -10
  456. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.js.map +0 -1
  457. package/lib/cjs/presentation-common/rules/customization/LabelOverride.d.ts +0 -41
  458. package/lib/cjs/presentation-common/rules/customization/LabelOverride.d.ts.map +0 -1
  459. package/lib/cjs/presentation-common/rules/customization/LabelOverride.js +0 -10
  460. package/lib/cjs/presentation-common/rules/customization/LabelOverride.js.map +0 -1
  461. package/lib/cjs/presentation-common/rules/customization/StyleOverride.d.ts +0 -49
  462. package/lib/cjs/presentation-common/rules/customization/StyleOverride.d.ts.map +0 -1
  463. package/lib/cjs/presentation-common/rules/customization/StyleOverride.js +0 -10
  464. package/lib/cjs/presentation-common/rules/customization/StyleOverride.js.map +0 -1
  465. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.d.ts +0 -45
  466. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.d.ts.map +0 -1
  467. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.js +0 -9
  468. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.js.map +0 -1
  469. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.d.ts +0 -30
  470. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.d.ts.map +0 -1
  471. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.js +0 -9
  472. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.js.map +0 -1
  473. package/lib/esm/presentation-common/rules/customization/LabelOverride.d.ts +0 -41
  474. package/lib/esm/presentation-common/rules/customization/LabelOverride.d.ts.map +0 -1
  475. package/lib/esm/presentation-common/rules/customization/LabelOverride.js +0 -9
  476. package/lib/esm/presentation-common/rules/customization/LabelOverride.js.map +0 -1
  477. package/lib/esm/presentation-common/rules/customization/StyleOverride.d.ts +0 -49
  478. package/lib/esm/presentation-common/rules/customization/StyleOverride.d.ts.map +0 -1
  479. package/lib/esm/presentation-common/rules/customization/StyleOverride.js +0 -9
  480. package/lib/esm/presentation-common/rules/customization/StyleOverride.js.map +0 -1
  481. /package/lib/{cjs/assets → assets}/locales/en/Presentation.json +0 -0
  482. /package/lib/{cjs/assets → assets}/locales/en-PSEUDO/Presentation.json +0 -0
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.NodeKey = exports.StandardNodeTypes = exports.parseCombinedFieldNames = exports.combineFieldNames = exports.addFieldHierarchy = exports.createFieldHierarchies = exports.traverseContentItem = exports.traverseContent = exports.traverseFieldHierarchy = exports.DisplayValue = exports.Value = exports.PropertyValueFormat = exports.Property = exports.Item = exports.FieldDescriptor = exports.FieldDescriptorType = exports.NestedContentField = exports.StructPropertiesField = exports.ArrayPropertiesField = exports.PropertiesField = exports.Field = exports.DefaultContentDisplayTypes = exports.Descriptor = exports.SortDirection = exports.ContentFlags = exports.SelectClassInfo = exports.Content = exports.CategoryDescription = exports.PresentationRpcInterface = exports.KoqPropertyValueFormatter = exports.getInstancesCount = exports.DEFAULT_KEYS_BATCH_SIZE = exports.UPDATE_FULL = exports.RulesetsFactory = exports.RulesetVariable = exports.VariableValueTypes = exports.RegisteredRuleset = exports.LabelDefinition = exports.KeySet = exports.Key = exports.PresentationError = exports.PresentationStatus = exports.RelationshipPath = exports.RelatedClassInfoWithOptionalRelationship = exports.RelatedClassInfo = exports.PropertyInfo = exports.NavigationPropertyInfo = exports.InstanceKey = exports.DiagnosticsLogEntry = void 0;
17
18
  /*---------------------------------------------------------------------------------------------
18
19
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
19
20
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -24,22 +25,37 @@ Object.defineProperty(exports, "__esModule", { value: true });
24
25
  * @docs-group-description Core
25
26
  * Common types used all across Presentation packages.
26
27
  */
27
- __exportStar(require("./presentation-common/AsyncTasks"), exports);
28
- __exportStar(require("./presentation-common/Diagnostics"), exports);
29
- __exportStar(require("./presentation-common/EC"), exports);
30
- __exportStar(require("./presentation-common/Error"), exports);
31
- __exportStar(require("./presentation-common/KeySet"), exports);
32
- __exportStar(require("./presentation-common/LabelDefinition"), exports);
33
- __exportStar(require("./presentation-common/PresentationManagerOptions"), exports);
34
- __exportStar(require("./presentation-common/RegisteredRuleset"), exports);
35
- __exportStar(require("./presentation-common/RulesetVariables"), exports);
36
- __exportStar(require("./presentation-common/RulesetsFactory"), exports);
37
- __exportStar(require("./presentation-common/Update"), exports);
38
- __exportStar(require("./presentation-common/Utils"), exports);
39
- __exportStar(require("./presentation-common/PresentationIpcInterface"), exports);
40
- __exportStar(require("./presentation-common/LocalizationHelper"), exports);
41
- __exportStar(require("./presentation-common/InstanceFilterDefinition"), exports);
42
- __exportStar(require("./presentation-common/KoqPropertyValueFormatter"), exports);
28
+ var Diagnostics_js_1 = require("./presentation-common/Diagnostics.js");
29
+ Object.defineProperty(exports, "DiagnosticsLogEntry", { enumerable: true, get: function () { return Diagnostics_js_1.DiagnosticsLogEntry; } });
30
+ var EC_js_1 = require("./presentation-common/EC.js");
31
+ Object.defineProperty(exports, "InstanceKey", { enumerable: true, get: function () { return EC_js_1.InstanceKey; } });
32
+ Object.defineProperty(exports, "NavigationPropertyInfo", { enumerable: true, get: function () { return EC_js_1.NavigationPropertyInfo; } });
33
+ Object.defineProperty(exports, "PropertyInfo", { enumerable: true, get: function () { return EC_js_1.PropertyInfo; } });
34
+ Object.defineProperty(exports, "RelatedClassInfo", { enumerable: true, get: function () { return EC_js_1.RelatedClassInfo; } });
35
+ Object.defineProperty(exports, "RelatedClassInfoWithOptionalRelationship", { enumerable: true, get: function () { return EC_js_1.RelatedClassInfoWithOptionalRelationship; } });
36
+ Object.defineProperty(exports, "RelationshipPath", { enumerable: true, get: function () { return EC_js_1.RelationshipPath; } });
37
+ var Error_js_1 = require("./presentation-common/Error.js");
38
+ Object.defineProperty(exports, "PresentationStatus", { enumerable: true, get: function () { return Error_js_1.PresentationStatus; } });
39
+ Object.defineProperty(exports, "PresentationError", { enumerable: true, get: function () { return Error_js_1.PresentationError; } });
40
+ var KeySet_js_1 = require("./presentation-common/KeySet.js");
41
+ Object.defineProperty(exports, "Key", { enumerable: true, get: function () { return KeySet_js_1.Key; } });
42
+ Object.defineProperty(exports, "KeySet", { enumerable: true, get: function () { return KeySet_js_1.KeySet; } });
43
+ var LabelDefinition_js_1 = require("./presentation-common/LabelDefinition.js");
44
+ Object.defineProperty(exports, "LabelDefinition", { enumerable: true, get: function () { return LabelDefinition_js_1.LabelDefinition; } });
45
+ var RegisteredRuleset_js_1 = require("./presentation-common/RegisteredRuleset.js");
46
+ Object.defineProperty(exports, "RegisteredRuleset", { enumerable: true, get: function () { return RegisteredRuleset_js_1.RegisteredRuleset; } });
47
+ var RulesetVariables_js_1 = require("./presentation-common/RulesetVariables.js");
48
+ Object.defineProperty(exports, "VariableValueTypes", { enumerable: true, get: function () { return RulesetVariables_js_1.VariableValueTypes; } });
49
+ Object.defineProperty(exports, "RulesetVariable", { enumerable: true, get: function () { return RulesetVariables_js_1.RulesetVariable; } });
50
+ var RulesetsFactory_js_1 = require("./presentation-common/RulesetsFactory.js");
51
+ Object.defineProperty(exports, "RulesetsFactory", { enumerable: true, get: function () { return RulesetsFactory_js_1.RulesetsFactory; } });
52
+ var Update_js_1 = require("./presentation-common/Update.js");
53
+ Object.defineProperty(exports, "UPDATE_FULL", { enumerable: true, get: function () { return Update_js_1.UPDATE_FULL; } });
54
+ var Utils_js_1 = require("./presentation-common/Utils.js");
55
+ Object.defineProperty(exports, "DEFAULT_KEYS_BATCH_SIZE", { enumerable: true, get: function () { return Utils_js_1.DEFAULT_KEYS_BATCH_SIZE; } });
56
+ Object.defineProperty(exports, "getInstancesCount", { enumerable: true, get: function () { return Utils_js_1.getInstancesCount; } });
57
+ var KoqPropertyValueFormatter_js_1 = require("./presentation-common/KoqPropertyValueFormatter.js");
58
+ Object.defineProperty(exports, "KoqPropertyValueFormatter", { enumerable: true, get: function () { return KoqPropertyValueFormatter_js_1.KoqPropertyValueFormatter; } });
43
59
  /**
44
60
  * @module RPC
45
61
  *
@@ -47,89 +63,94 @@ __exportStar(require("./presentation-common/KoqPropertyValueFormatter"), exports
47
63
  * Types used for RPC communication between frontend and backend. Generally should
48
64
  * only be used internally by presentation packages.
49
65
  */
50
- __exportStar(require("./presentation-common/PresentationRpcInterface"), exports);
51
- __exportStar(require("./presentation-common/RpcRequestsHandler"), exports);
52
- /**
53
- * @module UnifiedSelection
54
- *
55
- * @docs-group-description UnifiedSelection
56
- * Types related to [unified selection]($docs/presentation/unified-selection/index.md).
57
- */
58
- __exportStar(require("./presentation-common/selection/SelectionScope"), exports);
66
+ var PresentationRpcInterface_js_1 = require("./presentation-common/PresentationRpcInterface.js");
67
+ Object.defineProperty(exports, "PresentationRpcInterface", { enumerable: true, get: function () { return PresentationRpcInterface_js_1.PresentationRpcInterface; } });
59
68
  /**
60
69
  * @module Content
61
70
  *
62
71
  * @docs-group-description Content
63
72
  * Types related to presentation [content]($docs/presentation/content/index.md).
64
73
  */
65
- __exportStar(require("./presentation-common/content/Category"), exports);
66
- __exportStar(require("./presentation-common/content/Content"), exports);
67
- __exportStar(require("./presentation-common/content/Descriptor"), exports);
68
- __exportStar(require("./presentation-common/content/DisplayTypes"), exports);
69
- __exportStar(require("./presentation-common/content/Editor"), exports);
70
- __exportStar(require("./presentation-common/content/Fields"), exports);
71
- __exportStar(require("./presentation-common/content/Item"), exports);
72
- __exportStar(require("./presentation-common/content/Property"), exports);
73
- __exportStar(require("./presentation-common/content/Renderer"), exports);
74
- __exportStar(require("./presentation-common/content/TypeDescription"), exports);
75
- __exportStar(require("./presentation-common/content/Value"), exports);
76
- __exportStar(require("./presentation-common/content/ContentTraverser"), exports);
77
- __exportStar(require("./presentation-common/content/PropertyValueFormatter"), exports);
78
- __exportStar(require("./presentation-common/ElementProperties"), exports);
79
- /**
80
- * @module Hierarchies
81
- *
82
- * @docs-group-description Hierarchies
83
- * Types related to presentation [hierarchies]($docs/presentation/hierarchies/index.md).
84
- */
85
- __exportStar(require("./presentation-common/hierarchy/HierarchyLevel"), exports);
86
- __exportStar(require("./presentation-common/hierarchy/Key"), exports);
87
- __exportStar(require("./presentation-common/hierarchy/Node"), exports);
88
- __exportStar(require("./presentation-common/hierarchy/NodePathElement"), exports);
74
+ var Category_js_1 = require("./presentation-common/content/Category.js");
75
+ Object.defineProperty(exports, "CategoryDescription", { enumerable: true, get: function () { return Category_js_1.CategoryDescription; } });
76
+ var Content_js_1 = require("./presentation-common/content/Content.js");
77
+ Object.defineProperty(exports, "Content", { enumerable: true, get: function () { return Content_js_1.Content; } });
78
+ var Descriptor_js_1 = require("./presentation-common/content/Descriptor.js");
79
+ Object.defineProperty(exports, "SelectClassInfo", { enumerable: true, get: function () { return Descriptor_js_1.SelectClassInfo; } });
80
+ Object.defineProperty(exports, "ContentFlags", { enumerable: true, get: function () { return Descriptor_js_1.ContentFlags; } });
81
+ Object.defineProperty(exports, "SortDirection", { enumerable: true, get: function () { return Descriptor_js_1.SortDirection; } });
82
+ Object.defineProperty(exports, "Descriptor", { enumerable: true, get: function () { return Descriptor_js_1.Descriptor; } });
83
+ var DisplayTypes_js_1 = require("./presentation-common/content/DisplayTypes.js");
84
+ Object.defineProperty(exports, "DefaultContentDisplayTypes", { enumerable: true, get: function () { return DisplayTypes_js_1.DefaultContentDisplayTypes; } });
85
+ var Fields_js_1 = require("./presentation-common/content/Fields.js");
86
+ Object.defineProperty(exports, "Field", { enumerable: true, get: function () { return Fields_js_1.Field; } });
87
+ Object.defineProperty(exports, "PropertiesField", { enumerable: true, get: function () { return Fields_js_1.PropertiesField; } });
88
+ Object.defineProperty(exports, "ArrayPropertiesField", { enumerable: true, get: function () { return Fields_js_1.ArrayPropertiesField; } });
89
+ Object.defineProperty(exports, "StructPropertiesField", { enumerable: true, get: function () { return Fields_js_1.StructPropertiesField; } });
90
+ Object.defineProperty(exports, "NestedContentField", { enumerable: true, get: function () { return Fields_js_1.NestedContentField; } });
91
+ Object.defineProperty(exports, "FieldDescriptorType", { enumerable: true, get: function () { return Fields_js_1.FieldDescriptorType; } });
92
+ Object.defineProperty(exports, "FieldDescriptor", { enumerable: true, get: function () { return Fields_js_1.FieldDescriptor; } });
93
+ var Item_js_1 = require("./presentation-common/content/Item.js");
94
+ Object.defineProperty(exports, "Item", { enumerable: true, get: function () { return Item_js_1.Item; } });
95
+ var Property_js_1 = require("./presentation-common/content/Property.js");
96
+ Object.defineProperty(exports, "Property", { enumerable: true, get: function () { return Property_js_1.Property; } });
97
+ var TypeDescription_js_1 = require("./presentation-common/content/TypeDescription.js");
98
+ Object.defineProperty(exports, "PropertyValueFormat", { enumerable: true, get: function () { return TypeDescription_js_1.PropertyValueFormat; } });
99
+ var Value_js_1 = require("./presentation-common/content/Value.js");
100
+ Object.defineProperty(exports, "Value", { enumerable: true, get: function () { return Value_js_1.Value; } });
101
+ Object.defineProperty(exports, "DisplayValue", { enumerable: true, get: function () { return Value_js_1.DisplayValue; } });
102
+ var ContentTraverser_js_1 = require("./presentation-common/content/ContentTraverser.js");
103
+ Object.defineProperty(exports, "traverseFieldHierarchy", { enumerable: true, get: function () { return ContentTraverser_js_1.traverseFieldHierarchy; } });
104
+ Object.defineProperty(exports, "traverseContent", { enumerable: true, get: function () { return ContentTraverser_js_1.traverseContent; } });
105
+ Object.defineProperty(exports, "traverseContentItem", { enumerable: true, get: function () { return ContentTraverser_js_1.traverseContentItem; } });
106
+ Object.defineProperty(exports, "createFieldHierarchies", { enumerable: true, get: function () { return ContentTraverser_js_1.createFieldHierarchies; } });
107
+ Object.defineProperty(exports, "addFieldHierarchy", { enumerable: true, get: function () { return ContentTraverser_js_1.addFieldHierarchy; } });
108
+ Object.defineProperty(exports, "combineFieldNames", { enumerable: true, get: function () { return ContentTraverser_js_1.combineFieldNames; } });
109
+ Object.defineProperty(exports, "parseCombinedFieldNames", { enumerable: true, get: function () { return ContentTraverser_js_1.parseCombinedFieldNames; } });
110
+ var Key_js_1 = require("./presentation-common/hierarchy/Key.js");
111
+ Object.defineProperty(exports, "StandardNodeTypes", { enumerable: true, get: function () { return Key_js_1.StandardNodeTypes; } });
112
+ Object.defineProperty(exports, "NodeKey", { enumerable: true, get: function () { return Key_js_1.NodeKey; } });
89
113
  /**
90
114
  * @module PresentationRules
91
115
  *
92
116
  * @docs-group-description PresentationRules
93
117
  * Types for defining the presentation ruleset.
94
118
  */
95
- __exportStar(require("./presentation-common/rules/hierarchy/ChildNodeRule"), exports);
96
- __exportStar(require("./presentation-common/rules/hierarchy/ChildNodeSpecification"), exports);
97
- __exportStar(require("./presentation-common/rules/hierarchy/CustomNodeSpecification"), exports);
98
- __exportStar(require("./presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification"), exports);
99
- __exportStar(require("./presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification"), exports);
100
- __exportStar(require("./presentation-common/rules/hierarchy/NavigationRule"), exports);
101
- __exportStar(require("./presentation-common/rules/hierarchy/NodeArtifactsRule"), exports);
102
- __exportStar(require("./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification"), exports);
103
- __exportStar(require("./presentation-common/rules/hierarchy/RootNodeRule"), exports);
104
- __exportStar(require("./presentation-common/rules/hierarchy/SubCondition"), exports);
105
- __exportStar(require("./presentation-common/rules/customization/CheckBoxRule"), exports);
106
- __exportStar(require("./presentation-common/rules/customization/CustomizationRule"), exports);
107
- __exportStar(require("./presentation-common/rules/customization/ExtendedDataRule"), exports);
108
- __exportStar(require("./presentation-common/rules/customization/GroupingRule"), exports);
109
- __exportStar(require("./presentation-common/rules/customization/ImageIdOverride"), exports);
110
- __exportStar(require("./presentation-common/rules/customization/InstanceLabelOverride"), exports);
111
- __exportStar(require("./presentation-common/rules/customization/LabelOverride"), exports);
112
- __exportStar(require("./presentation-common/rules/customization/SortingRule"), exports);
113
- __exportStar(require("./presentation-common/rules/customization/StyleOverride"), exports);
114
- __exportStar(require("./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification"), exports);
115
- __exportStar(require("./presentation-common/rules/content/ContentRelatedInstancesSpecification"), exports);
116
- __exportStar(require("./presentation-common/rules/content/ContentRule"), exports);
117
- __exportStar(require("./presentation-common/rules/content/ContentSpecification"), exports);
118
- __exportStar(require("./presentation-common/rules/content/PropertySpecification"), exports);
119
- __exportStar(require("./presentation-common/rules/content/SelectedNodeInstancesSpecification"), exports);
120
- __exportStar(require("./presentation-common/rules/content/DefaultPropertyCategoryOverride"), exports);
121
- __exportStar(require("./presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification"), exports);
122
- __exportStar(require("./presentation-common/rules/content/modifiers/ContentModifier"), exports);
123
- __exportStar(require("./presentation-common/rules/content/modifiers/PropertyCategorySpecification"), exports);
124
- __exportStar(require("./presentation-common/rules/content/modifiers/PropertyEditorsSpecification"), exports);
125
- __exportStar(require("./presentation-common/rules/content/modifiers/CustomRendererSpecification"), exports);
126
- __exportStar(require("./presentation-common/rules/content/modifiers/RelatedPropertiesSpecification"), exports);
127
- __exportStar(require("./presentation-common/rules/ClassSpecifications"), exports);
128
- __exportStar(require("./presentation-common/rules/RelatedInstanceSpecification"), exports);
129
- __exportStar(require("./presentation-common/rules/RelationshipDirection"), exports);
130
- __exportStar(require("./presentation-common/rules/RelationshipPathSpecification"), exports);
131
- __exportStar(require("./presentation-common/rules/Rule"), exports);
132
- __exportStar(require("./presentation-common/rules/Ruleset"), exports);
133
- __exportStar(require("./presentation-common/rules/SchemasSpecification"), exports);
134
- __exportStar(require("./presentation-common/rules/Variables"), exports);
119
+ // note: everything under `rules/` is public, so no need to name each exported api
120
+ __exportStar(require("./presentation-common/rules/hierarchy/ChildNodeRule.js"), exports);
121
+ __exportStar(require("./presentation-common/rules/hierarchy/ChildNodeSpecification.js"), exports);
122
+ __exportStar(require("./presentation-common/rules/hierarchy/CustomNodeSpecification.js"), exports);
123
+ __exportStar(require("./presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js"), exports);
124
+ __exportStar(require("./presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js"), exports);
125
+ __exportStar(require("./presentation-common/rules/hierarchy/NavigationRule.js"), exports);
126
+ __exportStar(require("./presentation-common/rules/hierarchy/NodeArtifactsRule.js"), exports);
127
+ __exportStar(require("./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js"), exports);
128
+ __exportStar(require("./presentation-common/rules/hierarchy/RootNodeRule.js"), exports);
129
+ __exportStar(require("./presentation-common/rules/hierarchy/SubCondition.js"), exports);
130
+ __exportStar(require("./presentation-common/rules/customization/CustomizationRule.js"), exports);
131
+ __exportStar(require("./presentation-common/rules/customization/ExtendedDataRule.js"), exports);
132
+ __exportStar(require("./presentation-common/rules/customization/GroupingRule.js"), exports);
133
+ __exportStar(require("./presentation-common/rules/customization/InstanceLabelOverride.js"), exports);
134
+ __exportStar(require("./presentation-common/rules/customization/SortingRule.js"), exports);
135
+ __exportStar(require("./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js"), exports);
136
+ __exportStar(require("./presentation-common/rules/content/ContentRelatedInstancesSpecification.js"), exports);
137
+ __exportStar(require("./presentation-common/rules/content/ContentRule.js"), exports);
138
+ __exportStar(require("./presentation-common/rules/content/ContentSpecification.js"), exports);
139
+ __exportStar(require("./presentation-common/rules/content/PropertySpecification.js"), exports);
140
+ __exportStar(require("./presentation-common/rules/content/SelectedNodeInstancesSpecification.js"), exports);
141
+ __exportStar(require("./presentation-common/rules/content/DefaultPropertyCategoryOverride.js"), exports);
142
+ __exportStar(require("./presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js"), exports);
143
+ __exportStar(require("./presentation-common/rules/content/modifiers/ContentModifier.js"), exports);
144
+ __exportStar(require("./presentation-common/rules/content/modifiers/PropertyCategorySpecification.js"), exports);
145
+ __exportStar(require("./presentation-common/rules/content/modifiers/PropertyEditorsSpecification.js"), exports);
146
+ __exportStar(require("./presentation-common/rules/content/modifiers/CustomRendererSpecification.js"), exports);
147
+ __exportStar(require("./presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js"), exports);
148
+ __exportStar(require("./presentation-common/rules/ClassSpecifications.js"), exports);
149
+ __exportStar(require("./presentation-common/rules/RelatedInstanceSpecification.js"), exports);
150
+ __exportStar(require("./presentation-common/rules/RelationshipDirection.js"), exports);
151
+ __exportStar(require("./presentation-common/rules/RelationshipPathSpecification.js"), exports);
152
+ __exportStar(require("./presentation-common/rules/Rule.js"), exports);
153
+ __exportStar(require("./presentation-common/rules/Ruleset.js"), exports);
154
+ __exportStar(require("./presentation-common/rules/SchemasSpecification.js"), exports);
155
+ __exportStar(require("./presentation-common/rules/Variables.js"), exports);
135
156
  //# sourceMappingURL=presentation-common.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"presentation-common.js","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;gGAGgG;AAChG;;;;;GAKG;AACH,mEAAiD;AACjD,oEAAkD;AAClD,2DAAyC;AACzC,8DAA4C;AAC5C,+DAA6C;AAC7C,wEAAsD;AACtD,mFAAiE;AACjE,0EAAwD;AACxD,yEAAuD;AACvD,wEAAsD;AACtD,+DAA6C;AAC7C,8DAA4C;AAC5C,iFAA+D;AAC/D,2EAAyD;AACzD,iFAA+D;AAC/D,kFAAgE;AAEhE;;;;;;GAMG;AACH,iFAA+D;AAC/D,2EAAyD;AAEzD;;;;;GAKG;AACH,iFAA+D;AAE/D;;;;;GAKG;AACH,yEAAuD;AACvD,wEAAsD;AACtD,2EAAyD;AACzD,6EAA2D;AAC3D,uEAAqD;AACrD,uEAAqD;AACrD,qEAAmD;AACnD,yEAAuD;AACvD,yEAAuD;AACvD,gFAA8D;AAC9D,sEAAoD;AACpD,iFAA+D;AAC/D,uFAAqE;AACrE,0EAAwD;AAExD;;;;;GAKG;AACH,iFAA+D;AAC/D,sEAAoD;AACpD,uEAAqD;AACrD,kFAAgE;AAEhE;;;;;GAKG;AACH,sFAAoE;AACpE,+FAA6E;AAC7E,gGAA8E;AAC9E,8GAA4F;AAC5F,oHAAkG;AAClG,uFAAqE;AACrE,0FAAwE;AACxE,0GAAwF;AACxF,qFAAmE;AACnE,qFAAmE;AACnE,yFAAuE;AACvE,8FAA4E;AAC5E,6FAA2E;AAC3E,yFAAuE;AACvE,4FAA0E;AAC1E,kGAAgF;AAChF,0FAAwE;AACxE,wFAAsE;AACtE,0FAAwE;AACxE,qHAAmG;AACnG,2GAAyF;AACzF,kFAAgE;AAChE,2FAAyE;AACzE,4FAA0E;AAC1E,yGAAuF;AACvF,sGAAoF;AACpF,kHAAgG;AAChG,gGAA8E;AAC9E,8GAA4F;AAC5F,6GAA2F;AAC3F,4GAA0F;AAC1F,+GAA6F;AAC7F,kFAAgE;AAChE,2FAAyE;AACzE,oFAAkE;AAClE,4FAA0E;AAC1E,mEAAiD;AACjD,sEAAoD;AACpD,mFAAiE;AACjE,wEAAsD","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n * See LICENSE.md in the project root for license terms and full copyright notice.\r\n *--------------------------------------------------------------------------------------------*/\r\n/**\r\n * @module Core\r\n *\r\n * @docs-group-description Core\r\n * Common types used all across Presentation packages.\r\n */\r\nexport * from \"./presentation-common/AsyncTasks\";\r\nexport * from \"./presentation-common/Diagnostics\";\r\nexport * from \"./presentation-common/EC\";\r\nexport * from \"./presentation-common/Error\";\r\nexport * from \"./presentation-common/KeySet\";\r\nexport * from \"./presentation-common/LabelDefinition\";\r\nexport * from \"./presentation-common/PresentationManagerOptions\";\r\nexport * from \"./presentation-common/RegisteredRuleset\";\r\nexport * from \"./presentation-common/RulesetVariables\";\r\nexport * from \"./presentation-common/RulesetsFactory\";\r\nexport * from \"./presentation-common/Update\";\r\nexport * from \"./presentation-common/Utils\";\r\nexport * from \"./presentation-common/PresentationIpcInterface\";\r\nexport * from \"./presentation-common/LocalizationHelper\";\r\nexport * from \"./presentation-common/InstanceFilterDefinition\";\r\nexport * from \"./presentation-common/KoqPropertyValueFormatter\";\r\n\r\n/**\r\n * @module RPC\r\n *\r\n * @docs-group-description RPC\r\n * Types used for RPC communication between frontend and backend. Generally should\r\n * only be used internally by presentation packages.\r\n */\r\nexport * from \"./presentation-common/PresentationRpcInterface\";\r\nexport * from \"./presentation-common/RpcRequestsHandler\";\r\n\r\n/**\r\n * @module UnifiedSelection\r\n *\r\n * @docs-group-description UnifiedSelection\r\n * Types related to [unified selection]($docs/presentation/unified-selection/index.md).\r\n */\r\nexport * from \"./presentation-common/selection/SelectionScope\";\r\n\r\n/**\r\n * @module Content\r\n *\r\n * @docs-group-description Content\r\n * Types related to presentation [content]($docs/presentation/content/index.md).\r\n */\r\nexport * from \"./presentation-common/content/Category\";\r\nexport * from \"./presentation-common/content/Content\";\r\nexport * from \"./presentation-common/content/Descriptor\";\r\nexport * from \"./presentation-common/content/DisplayTypes\";\r\nexport * from \"./presentation-common/content/Editor\";\r\nexport * from \"./presentation-common/content/Fields\";\r\nexport * from \"./presentation-common/content/Item\";\r\nexport * from \"./presentation-common/content/Property\";\r\nexport * from \"./presentation-common/content/Renderer\";\r\nexport * from \"./presentation-common/content/TypeDescription\";\r\nexport * from \"./presentation-common/content/Value\";\r\nexport * from \"./presentation-common/content/ContentTraverser\";\r\nexport * from \"./presentation-common/content/PropertyValueFormatter\";\r\nexport * from \"./presentation-common/ElementProperties\";\r\n\r\n/**\r\n * @module Hierarchies\r\n *\r\n * @docs-group-description Hierarchies\r\n * Types related to presentation [hierarchies]($docs/presentation/hierarchies/index.md).\r\n */\r\nexport * from \"./presentation-common/hierarchy/HierarchyLevel\";\r\nexport * from \"./presentation-common/hierarchy/Key\";\r\nexport * from \"./presentation-common/hierarchy/Node\";\r\nexport * from \"./presentation-common/hierarchy/NodePathElement\";\r\n\r\n/**\r\n * @module PresentationRules\r\n *\r\n * @docs-group-description PresentationRules\r\n * Types for defining the presentation ruleset.\r\n */\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeRule\";\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeSpecification\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomNodeSpecification\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification\";\r\nexport * from \"./presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification\";\r\nexport * from \"./presentation-common/rules/hierarchy/NavigationRule\";\r\nexport * from \"./presentation-common/rules/hierarchy/NodeArtifactsRule\";\r\nexport * from \"./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification\";\r\nexport * from \"./presentation-common/rules/hierarchy/RootNodeRule\";\r\nexport * from \"./presentation-common/rules/hierarchy/SubCondition\";\r\nexport * from \"./presentation-common/rules/customization/CheckBoxRule\";\r\nexport * from \"./presentation-common/rules/customization/CustomizationRule\";\r\nexport * from \"./presentation-common/rules/customization/ExtendedDataRule\";\r\nexport * from \"./presentation-common/rules/customization/GroupingRule\";\r\nexport * from \"./presentation-common/rules/customization/ImageIdOverride\";\r\nexport * from \"./presentation-common/rules/customization/InstanceLabelOverride\";\r\nexport * from \"./presentation-common/rules/customization/LabelOverride\";\r\nexport * from \"./presentation-common/rules/customization/SortingRule\";\r\nexport * from \"./presentation-common/rules/customization/StyleOverride\";\r\nexport * from \"./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification\";\r\nexport * from \"./presentation-common/rules/content/ContentRelatedInstancesSpecification\";\r\nexport * from \"./presentation-common/rules/content/ContentRule\";\r\nexport * from \"./presentation-common/rules/content/ContentSpecification\";\r\nexport * from \"./presentation-common/rules/content/PropertySpecification\";\r\nexport * from \"./presentation-common/rules/content/SelectedNodeInstancesSpecification\";\r\nexport * from \"./presentation-common/rules/content/DefaultPropertyCategoryOverride\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification\";\r\nexport * from \"./presentation-common/rules/content/modifiers/ContentModifier\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyCategorySpecification\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyEditorsSpecification\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CustomRendererSpecification\";\r\nexport * from \"./presentation-common/rules/content/modifiers/RelatedPropertiesSpecification\";\r\nexport * from \"./presentation-common/rules/ClassSpecifications\";\r\nexport * from \"./presentation-common/rules/RelatedInstanceSpecification\";\r\nexport * from \"./presentation-common/rules/RelationshipDirection\";\r\nexport * from \"./presentation-common/rules/RelationshipPathSpecification\";\r\nexport * from \"./presentation-common/rules/Rule\";\r\nexport * from \"./presentation-common/rules/Ruleset\";\r\nexport * from \"./presentation-common/rules/SchemasSpecification\";\r\nexport * from \"./presentation-common/rules/Variables\";\r\n"]}
1
+ {"version":3,"file":"presentation-common.js","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;gGAGgG;AAChG;;;;;GAKG;AACH,uEAW8C;AAD5C,qHAAA,mBAAmB,OAAA;AAErB,qDAyBqC;AAtBnC,oGAAA,WAAW,OAAA;AAMX,+GAAA,sBAAsB,OAAA;AAEtB,qGAAA,YAAY,OAAA;AAMZ,yGAAA,gBAAgB,OAAA;AAEhB,iIAAA,wCAAwC,OAAA;AAExC,yGAAA,gBAAgB,OAAA;AAKlB,2DAAuF;AAA9E,8GAAA,kBAAkB,OAAA;AAAE,6GAAA,iBAAiB,OAAA;AAC9C,6DAAgF;AAAvE,gGAAA,GAAG,OAAA;AAAoB,mGAAA,MAAM,OAAA;AACtC,+EAA+G;AAAlE,qHAAA,eAAe,OAAA;AA4B5D,mFAA+E;AAAtE,yHAAA,iBAAiB,OAAA;AAC1B,iFAamD;AAZjD,yHAAA,kBAAkB,OAAA;AASlB,sHAAA,eAAe,OAAA;AAIjB,+EAAgI;AAAvH,qHAAA,eAAe,OAAA;AACxB,6DAUyC;AATvC,wGAAA,WAAW,OAAA;AAUb,2DAAwJ;AAA/I,mHAAA,uBAAuB,OAAA;AAA8D,6GAAA,iBAAiB,OAAA;AAQ/G,mGAA4I;AAAtF,yIAAA,yBAAyB,OAAA;AAE/E;;;;;;GAMG;AACH,iGAqB2D;AADzD,uIAAA,wBAAwB,OAAA;AAW1B;;;;;GAKG;AACH,yEAAyG;AAAhG,kHAAA,mBAAmB,OAAA;AAC5B,uEAAgF;AAA1D,qGAAA,OAAO,OAAA;AAC7B,6EAUqD;AATnD,gHAAA,eAAe,OAAA;AAEf,6GAAA,YAAY,OAAA;AACZ,8GAAA,aAAa,OAAA;AAKb,2GAAA,UAAU,OAAA;AAEZ,iFAA2F;AAAlF,6HAAA,0BAA0B,OAAA;AAEnC,qEAeiD;AAT/C,kGAAA,KAAK,OAAA;AACL,4GAAA,eAAe,OAAA;AACf,iHAAA,oBAAoB,OAAA;AACpB,kHAAA,qBAAqB,OAAA;AACrB,+GAAA,kBAAkB,OAAA;AAClB,gHAAA,mBAAmB,OAAA;AACnB,4GAAA,eAAe,OAAA;AAIjB,iEAAuE;AAApD,+FAAA,IAAI,OAAA;AACvB,yEAA2H;AAA1E,uGAAA,QAAQ,OAAA;AAEzD,uFAO0D;AANxD,yHAAA,mBAAmB,OAAA;AAOrB,mEAUgD;AAT9C,iGAAA,KAAK,OAAA;AAGL,wGAAA,YAAY,OAAA;AAOd,yFAmB2D;AAPzD,6HAAA,sBAAsB,OAAA;AACtB,sHAAA,eAAe,OAAA;AACf,0HAAA,mBAAmB,OAAA;AACnB,6HAAA,sBAAsB,OAAA;AACtB,wHAAA,iBAAiB,OAAA;AACjB,wHAAA,iBAAiB,OAAA;AACjB,8HAAA,uBAAuB,OAAA;AAsBzB,iEAgBgD;AAf9C,2GAAA,iBAAiB,OAAA;AACjB,iGAAA,OAAO,OAAA;AAkBT;;;;;GAKG;AACH,kFAAkF;AAClF,yFAAuE;AACvE,kGAAgF;AAChF,mGAAiF;AACjF,iHAA+F;AAC/F,uHAAqG;AACrG,0FAAwE;AACxE,6FAA2E;AAC3E,6GAA2F;AAC3F,wFAAsE;AACtE,wFAAsE;AACtE,iGAA+E;AAC/E,gGAA8E;AAC9E,4FAA0E;AAC1E,qGAAmF;AACnF,2FAAyE;AACzE,wHAAsG;AACtG,8GAA4F;AAC5F,qFAAmE;AACnE,8FAA4E;AAC5E,+FAA6E;AAC7E,4GAA0F;AAC1F,yGAAuF;AACvF,qHAAmG;AACnG,mGAAiF;AACjF,iHAA+F;AAC/F,gHAA8F;AAC9F,+GAA6F;AAC7F,kHAAgG;AAChG,qFAAmE;AACnE,8FAA4E;AAC5E,uFAAqE;AACrE,+FAA6E;AAC7E,sEAAoD;AACpD,yEAAuD;AACvD,sFAAoE;AACpE,2EAAyD","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n * See LICENSE.md in the project root for license terms and full copyright notice.\r\n *--------------------------------------------------------------------------------------------*/\r\n/**\r\n * @module Core\r\n *\r\n * @docs-group-description Core\r\n * Common types used all across Presentation packages.\r\n */\r\nexport {\r\n DiagnosticsLoggerSeverity,\r\n Diagnostics,\r\n ClientDiagnostics,\r\n DiagnosticsOptions,\r\n ClientDiagnosticsHandler,\r\n ClientDiagnosticsOptions,\r\n ClientDiagnosticsAttribute,\r\n DiagnosticsLogMessage,\r\n DiagnosticsScopeLogs,\r\n DiagnosticsLogEntry,\r\n} from \"./presentation-common/Diagnostics.js\";\r\nexport {\r\n ClassId,\r\n InstanceId,\r\n InstanceKey,\r\n ClassInfo,\r\n CompressedClassInfoJSON,\r\n EnumerationChoice,\r\n EnumerationInfo,\r\n KindOfQuantityInfo,\r\n NavigationPropertyInfo,\r\n NavigationPropertyInfoJSON,\r\n PropertyInfo,\r\n PropertyValueConstraints,\r\n StringPropertyValueConstraints,\r\n NumericPropertyValueConstraints,\r\n ArrayPropertyValueConstraints,\r\n PropertyInfoJSON,\r\n RelatedClassInfo,\r\n RelatedClassInfoJSON,\r\n RelatedClassInfoWithOptionalRelationship,\r\n RelatedClassInfoWithOptionalRelationshipJSON,\r\n RelationshipPath,\r\n RelationshipPathJSON,\r\n StrippedRelatedClassInfo,\r\n StrippedRelationshipPath,\r\n} from \"./presentation-common/EC.js\";\r\nexport { PresentationStatus, PresentationError } from \"./presentation-common/Error.js\";\r\nexport { Key, Keys, KeySetJSON, KeySet } from \"./presentation-common/KeySet.js\";\r\nexport { LabelCompositeValue, LabelRawValue, LabelDefinition } from \"./presentation-common/LabelDefinition.js\";\r\nexport {\r\n RequestOptions,\r\n RequestOptionsWithRuleset,\r\n HierarchyRequestOptions,\r\n HierarchyLevelDescriptorRequestOptions,\r\n FilterByInstancePathsHierarchyRequestOptions,\r\n FilterByTextHierarchyRequestOptions,\r\n ContentSourcesRequestOptions,\r\n ContentDescriptorRequestOptions,\r\n ContentRequestOptions,\r\n DistinctValuesRequestOptions,\r\n ElementPropertiesRequestOptions,\r\n SingleElementPropertiesRequestOptions,\r\n MultiElementPropertiesByClassRequestOptions,\r\n MultiElementPropertiesByIdsRequestOptions,\r\n MultiElementPropertiesRequestOptions,\r\n ContentInstanceKeysRequestOptions,\r\n DisplayLabelRequestOptions,\r\n DisplayLabelsRequestOptions,\r\n SelectionScopeRequestOptions,\r\n ComputeSelectionRequestOptions,\r\n HierarchyCompareOptions,\r\n PageOptions,\r\n Paged,\r\n Prioritized,\r\n WithCancelEvent,\r\n} from \"./presentation-common/PresentationManagerOptions.js\";\r\nexport { RegisteredRuleset } from \"./presentation-common/RegisteredRuleset.js\";\r\nexport {\r\n VariableValueTypes,\r\n VariableValue,\r\n VariableValueJSON,\r\n BooleanRulesetVariable,\r\n StringRulesetVariable,\r\n IntRulesetVariable,\r\n IntsRulesetVariable,\r\n Id64RulesetVariable,\r\n Id64sRulesetVariable,\r\n RulesetVariable,\r\n Id64sRulesetVariableJSON,\r\n RulesetVariableJSON,\r\n} from \"./presentation-common/RulesetVariables.js\";\r\nexport { RulesetsFactory, ComputeDisplayValueCallback, PrimitivePropertyValue } from \"./presentation-common/RulesetsFactory.js\";\r\nexport {\r\n UPDATE_FULL,\r\n UpdateInfo,\r\n HierarchyUpdateInfo,\r\n ContentUpdateInfo,\r\n PartialHierarchyModification,\r\n NodeInsertionInfo,\r\n NodeDeletionInfo,\r\n NodeUpdateInfo,\r\n HierarchyCompareInfo,\r\n} from \"./presentation-common/Update.js\";\r\nexport { DEFAULT_KEYS_BATCH_SIZE, Omit, PagedResponse, PartialBy, Subtract, ValuesDictionary, getInstancesCount } from \"./presentation-common/Utils.js\";\r\nexport {\r\n InstanceFilterDefinition,\r\n InstanceFilterRelatedInstanceDefinition,\r\n InstanceFilterRelatedInstancePath,\r\n InstanceFilterRelatedInstanceTargetAlias,\r\n InstanceFilterRelatedInstanceRelationshipAlias,\r\n} from \"./presentation-common/InstanceFilterDefinition.js\";\r\nexport { UnitSystemFormat, FormatsMap, FormatOptions, KoqPropertyValueFormatter } from \"./presentation-common/KoqPropertyValueFormatter.js\";\r\n\r\n/**\r\n * @module RPC\r\n *\r\n * @docs-group-description RPC\r\n * Types used for RPC communication between frontend and backend. Generally should\r\n * only be used internally by presentation packages.\r\n */\r\nexport {\r\n PresentationRpcRequestOptions,\r\n PresentationRpcResponseData,\r\n RpcDiagnosticsOptions,\r\n PresentationRpcResponse,\r\n HierarchyRpcRequestOptions,\r\n HierarchyLevelDescriptorRpcRequestOptions,\r\n FilterByInstancePathsHierarchyRpcRequestOptions,\r\n FilterByTextHierarchyRpcRequestOptions,\r\n ContentSourcesRpcRequestOptions,\r\n ContentSourcesRpcResult,\r\n ContentDescriptorRpcRequestOptions,\r\n ContentRpcRequestOptions,\r\n SingleElementPropertiesRpcRequestOptions,\r\n DistinctValuesRpcRequestOptions,\r\n ContentInstanceKeysRpcRequestOptions,\r\n DisplayLabelRpcRequestOptions,\r\n DisplayLabelsRpcRequestOptions,\r\n SelectionScopeRpcRequestOptions,\r\n ComputeSelectionRpcRequestOptions,\r\n PresentationRpcInterface,\r\n} from \"./presentation-common/PresentationRpcInterface.js\";\r\n\r\n/**\r\n * @module UnifiedSelection\r\n *\r\n * @docs-group-description UnifiedSelection\r\n * Types related to [unified selection]($docs/presentation/unified-selection/index.md).\r\n */\r\nexport { SelectionScope, ElementSelectionScopeProps, SelectionScopeProps } from \"./presentation-common/selection/SelectionScope.js\";\r\n\r\n/**\r\n * @module Content\r\n *\r\n * @docs-group-description Content\r\n * Types related to presentation [content]($docs/presentation/content/index.md).\r\n */\r\nexport { CategoryDescription, CategoryDescriptionJSON } from \"./presentation-common/content/Category.js\";\r\nexport { ContentJSON, Content } from \"./presentation-common/content/Content.js\";\r\nexport {\r\n SelectClassInfo,\r\n SelectClassInfoJSON,\r\n ContentFlags,\r\n SortDirection,\r\n SelectionInfo,\r\n DescriptorJSON,\r\n DescriptorOverrides,\r\n DescriptorSource,\r\n Descriptor,\r\n} from \"./presentation-common/content/Descriptor.js\";\r\nexport { DefaultContentDisplayTypes } from \"./presentation-common/content/DisplayTypes.js\";\r\nexport { EditorDescription } from \"./presentation-common/content/Editor.js\";\r\nexport {\r\n PropertiesFieldJSON,\r\n ArrayPropertiesFieldJSON,\r\n StructPropertiesFieldJSON,\r\n NestedContentFieldJSON,\r\n FieldJSON,\r\n Field,\r\n PropertiesField,\r\n ArrayPropertiesField,\r\n StructPropertiesField,\r\n NestedContentField,\r\n FieldDescriptorType,\r\n FieldDescriptor,\r\n NamedFieldDescriptor,\r\n PropertiesFieldDescriptor,\r\n} from \"./presentation-common/content/Fields.js\";\r\nexport { ItemJSON, Item } from \"./presentation-common/content/Item.js\";\r\nexport { PropertyAccessor, PropertyAccessorPath, Property, PropertyJSON } from \"./presentation-common/content/Property.js\";\r\nexport { RendererDescription } from \"./presentation-common/content/Renderer.js\";\r\nexport {\r\n PropertyValueFormat,\r\n PrimitiveTypeDescription,\r\n ArrayTypeDescription,\r\n StructFieldMemberDescription,\r\n StructTypeDescription,\r\n TypeDescription,\r\n} from \"./presentation-common/content/TypeDescription.js\";\r\nexport {\r\n Value,\r\n ValuesMap,\r\n ValuesArray,\r\n DisplayValue,\r\n DisplayValuesMap,\r\n DisplayValuesArray,\r\n NestedContentValue,\r\n NavigationPropertyValue,\r\n DisplayValueGroup,\r\n} from \"./presentation-common/content/Value.js\";\r\nexport {\r\n FieldHierarchy,\r\n StartContentProps,\r\n ProcessFieldHierarchiesProps,\r\n StartItemProps,\r\n StartCategoryProps,\r\n StartFieldProps,\r\n StartStructProps,\r\n StartArrayProps,\r\n ProcessMergedValueProps,\r\n ProcessPrimitiveValueProps,\r\n IContentVisitor,\r\n traverseFieldHierarchy,\r\n traverseContent,\r\n traverseContentItem,\r\n createFieldHierarchies,\r\n addFieldHierarchy,\r\n combineFieldNames,\r\n parseCombinedFieldNames,\r\n} from \"./presentation-common/content/ContentTraverser.js\";\r\nexport {\r\n ElementProperties,\r\n ElementPropertiesCategoryItem,\r\n ElementPropertiesPrimitivePropertyItem,\r\n ElementPropertiesPrimitiveArrayPropertyItem,\r\n ElementPropertiesStructArrayPropertyItem,\r\n ElementPropertiesArrayPropertyItem,\r\n ElementPropertiesStructPropertyItem,\r\n ElementPropertiesPropertyValueType,\r\n ElementPropertiesPropertyItem,\r\n ElementPropertiesItem,\r\n} from \"./presentation-common/ElementProperties.js\";\r\n\r\n/**\r\n * @module Hierarchies\r\n *\r\n * @docs-group-description Hierarchies\r\n * Types related to presentation [hierarchies]($docs/presentation/hierarchies/index.md).\r\n */\r\nexport { HierarchyLevel } from \"./presentation-common/hierarchy/HierarchyLevel.js\";\r\nexport {\r\n StandardNodeTypes,\r\n NodeKey,\r\n NodeKeyPath,\r\n BaseNodeKey,\r\n ECInstancesNodeKey,\r\n GroupingNodeKey,\r\n ECClassGroupingNodeKey,\r\n ECPropertyGroupingNodeKey,\r\n LabelGroupingNodeKey,\r\n PresentationQuery,\r\n IdBinding,\r\n IdSetBinding,\r\n ECValueBinding,\r\n ECValueSetBinding,\r\n PresentationQueryBinding,\r\n} from \"./presentation-common/hierarchy/Key.js\";\r\nexport { Node, PartialNode } from \"./presentation-common/hierarchy/Node.js\";\r\nexport { NodePathElement, NodePathFilteringData } from \"./presentation-common/hierarchy/NodePathElement.js\";\r\n\r\n/**\r\n * @module PresentationRules\r\n *\r\n * @docs-group-description PresentationRules\r\n * Types for defining the presentation ruleset.\r\n */\r\n// note: everything under `rules/` is public, so no need to name each exported api\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomNodeSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/NavigationRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/NodeArtifactsRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/RootNodeRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/SubCondition.js\";\r\nexport * from \"./presentation-common/rules/customization/CustomizationRule.js\";\r\nexport * from \"./presentation-common/rules/customization/ExtendedDataRule.js\";\r\nexport * from \"./presentation-common/rules/customization/GroupingRule.js\";\r\nexport * from \"./presentation-common/rules/customization/InstanceLabelOverride.js\";\r\nexport * from \"./presentation-common/rules/customization/SortingRule.js\";\r\nexport * from \"./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/ContentRelatedInstancesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/ContentRule.js\";\r\nexport * from \"./presentation-common/rules/content/ContentSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/PropertySpecification.js\";\r\nexport * from \"./presentation-common/rules/content/SelectedNodeInstancesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/DefaultPropertyCategoryOverride.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/ContentModifier.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyCategorySpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyEditorsSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CustomRendererSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js\";\r\nexport * from \"./presentation-common/rules/ClassSpecifications.js\";\r\nexport * from \"./presentation-common/rules/RelatedInstanceSpecification.js\";\r\nexport * from \"./presentation-common/rules/RelationshipDirection.js\";\r\nexport * from \"./presentation-common/rules/RelationshipPathSpecification.js\";\r\nexport * from \"./presentation-common/rules/Rule.js\";\r\nexport * from \"./presentation-common/rules/Ruleset.js\";\r\nexport * from \"./presentation-common/rules/SchemasSpecification.js\";\r\nexport * from \"./presentation-common/rules/Variables.js\";\r\n"]}
@@ -1,13 +1,13 @@
1
1
  /** @packageDocumentation
2
2
  * @module Core
3
3
  */
4
- import { IDisposable } from "@itwin/core-bentley";
5
4
  /**
6
5
  * A helper to track ongoing async tasks. Usage:
7
6
  * ```
8
- * await using(tracker.trackAsyncTask(), async (_r) => {
7
+ * {
8
+ * using _r = tracker.trackAsyncTask();
9
9
  * await doSomethingAsync();
10
- * });
10
+ * }
11
11
  * ```
12
12
  *
13
13
  * Can be used with `waitForPendingAsyncs` in test helpers to wait for all
@@ -18,6 +18,6 @@ import { IDisposable } from "@itwin/core-bentley";
18
18
  export declare class AsyncTasksTracker {
19
19
  private _asyncsInProgress;
20
20
  get pendingAsyncs(): Set<string>;
21
- trackAsyncTask(): IDisposable;
21
+ trackAsyncTask(): Disposable;
22
22
  }
23
23
  //# sourceMappingURL=AsyncTasks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AsyncTasks.d.ts","sourceRoot":"","sources":["../../../src/presentation-common/AsyncTasks.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAoB,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEpE;;;;;;;;;;;;GAYG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,iBAAiB,CAAyB;IAClD,IAAW,aAAa,gBAEvB;IACM,cAAc,IAAI,WAAW;CAOrC"}
1
+ {"version":3,"file":"AsyncTasks.d.ts","sourceRoot":"","sources":["../../../src/presentation-common/AsyncTasks.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;;;;;;;;;;;;GAaG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,iBAAiB,CAAyB;IAClD,IAAW,aAAa,gBAEvB;IACM,cAAc,IAAI,UAAU;CAOpC"}
@@ -9,9 +9,10 @@ import { Guid } from "@itwin/core-bentley";
9
9
  /**
10
10
  * A helper to track ongoing async tasks. Usage:
11
11
  * ```
12
- * await using(tracker.trackAsyncTask(), async (_r) => {
12
+ * {
13
+ * using _r = tracker.trackAsyncTask();
13
14
  * await doSomethingAsync();
14
- * });
15
+ * }
15
16
  * ```
16
17
  *
17
18
  * Can be used with `waitForPendingAsyncs` in test helpers to wait for all
@@ -20,9 +21,7 @@ import { Guid } from "@itwin/core-bentley";
20
21
  * @internal
21
22
  */
22
23
  export class AsyncTasksTracker {
23
- constructor() {
24
- this._asyncsInProgress = new Set();
25
- }
24
+ _asyncsInProgress = new Set();
26
25
  get pendingAsyncs() {
27
26
  return this._asyncsInProgress;
28
27
  }
@@ -30,7 +29,7 @@ export class AsyncTasksTracker {
30
29
  const id = Guid.createValue();
31
30
  this._asyncsInProgress.add(id);
32
31
  return {
33
- dispose: () => this._asyncsInProgress.delete(id),
32
+ [Symbol.dispose]: () => this._asyncsInProgress.delete(id),
34
33
  };
35
34
  }
36
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AsyncTasks.js","sourceRoot":"","sources":["../../../src/presentation-common/AsyncTasks.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,IAAI,EAA2B,MAAM,qBAAqB,CAAC;AAEpE;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,iBAAiB;IAA9B;QACU,sBAAiB,GAAG,IAAI,GAAG,EAAc,CAAC;IAWpD,CAAC;IAVC,IAAW,aAAa;QACtB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IACM,cAAc;QACnB,MAAM,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;QAC9B,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC/B,OAAO;YACL,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,CAAC;SACjD,CAAC;IACJ,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n * See LICENSE.md in the project root for license terms and full copyright notice.\r\n *--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Core\r\n */\r\n\r\nimport { Guid, GuidString, IDisposable } from \"@itwin/core-bentley\";\r\n\r\n/**\r\n * A helper to track ongoing async tasks. Usage:\r\n * ```\r\n * await using(tracker.trackAsyncTask(), async (_r) => {\r\n * await doSomethingAsync();\r\n * });\r\n * ```\r\n *\r\n * Can be used with `waitForPendingAsyncs` in test helpers to wait for all\r\n * async tasks to complete.\r\n *\r\n * @internal\r\n */\r\nexport class AsyncTasksTracker {\r\n private _asyncsInProgress = new Set<GuidString>();\r\n public get pendingAsyncs() {\r\n return this._asyncsInProgress;\r\n }\r\n public trackAsyncTask(): IDisposable {\r\n const id = Guid.createValue();\r\n this._asyncsInProgress.add(id);\r\n return {\r\n dispose: () => this._asyncsInProgress.delete(id),\r\n };\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"AsyncTasks.js","sourceRoot":"","sources":["../../../src/presentation-common/AsyncTasks.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,IAAI,EAAc,MAAM,qBAAqB,CAAC;AAEvD;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,iBAAiB;IACpB,iBAAiB,GAAG,IAAI,GAAG,EAAc,CAAC;IAClD,IAAW,aAAa;QACtB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IACM,cAAc;QACnB,MAAM,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;QAC9B,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC/B,OAAO;YACL,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,CAAC;SAC1D,CAAC;IACJ,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n * See LICENSE.md in the project root for license terms and full copyright notice.\r\n *--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Core\r\n */\r\n\r\nimport { Guid, GuidString } from \"@itwin/core-bentley\";\r\n\r\n/**\r\n * A helper to track ongoing async tasks. Usage:\r\n * ```\r\n * { \r\n * using _r = tracker.trackAsyncTask();\r\n * await doSomethingAsync();\r\n * }\r\n * ```\r\n *\r\n * Can be used with `waitForPendingAsyncs` in test helpers to wait for all\r\n * async tasks to complete.\r\n *\r\n * @internal\r\n */\r\nexport class AsyncTasksTracker {\r\n private _asyncsInProgress = new Set<GuidString>();\r\n public get pendingAsyncs() {\r\n return this._asyncsInProgress;\r\n }\r\n public trackAsyncTask(): Disposable {\r\n const id = Guid.createValue();\r\n this._asyncsInProgress.add(id);\r\n return {\r\n [Symbol.dispose]: () => this._asyncsInProgress.delete(id),\r\n };\r\n }\r\n}\r\n"]}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { Id64String } from "@itwin/core-bentley";
5
5
  import { FormatProps } from "@itwin/core-quantity";
6
- import { PartialBy } from "./Utils";
6
+ import { PartialBy } from "./Utils.js";
7
7
  /**
8
8
  * Type of an ECClass ID.
9
9
  * @public
@@ -28,28 +28,6 @@ export interface InstanceKey {
28
28
  export declare namespace InstanceKey {
29
29
  /** Compare 2 instance keys */
30
30
  function compare(lhs: InstanceKey, rhs: InstanceKey): number;
31
- /**
32
- * Serialize [[InstanceKey]] to JSON
33
- * @deprecated in 3.x. Use [[InstanceKey]].
34
- */
35
- function toJSON(key: InstanceKey): InstanceKeyJSON;
36
- /**
37
- * Deserialize [[InstanceKey]] from JSON
38
- * @deprecated in 3.x. Use [[InstanceKey]].
39
- */
40
- function fromJSON(json: InstanceKeyJSON): {
41
- className: string;
42
- id: string;
43
- };
44
- }
45
- /**
46
- * A serialized version of [[InstanceKey]]
47
- * @public
48
- * @deprecated in 3.x. Use [[InstanceKey]].
49
- */
50
- export interface InstanceKeyJSON {
51
- className: string;
52
- id: string;
53
31
  }
54
32
  /**
55
33
  * Information about an ECClass
@@ -63,29 +41,6 @@ export interface ClassInfo {
63
41
  /** ECClass label */
64
42
  label: string;
65
43
  }
66
- /** @public */
67
- export declare namespace ClassInfo {
68
- /**
69
- * Serialize [[ClassInfo]] to JSON
70
- * @deprecated in 3.x. Use [[ClassInfo]].
71
- */
72
- function toJSON(info: ClassInfo): ClassInfoJSON;
73
- /**
74
- * Deserialize [[ClassInfo]] from JSON
75
- * @deprecated in 3.x. Use [[ClassInfo]].
76
- */
77
- function fromJSON(json: ClassInfoJSON): ClassInfo;
78
- }
79
- /**
80
- * A serialized version of [[ClassInfo]]
81
- * @public
82
- * @deprecated in 3.x. Use [[ClassInfo]].
83
- */
84
- export interface ClassInfoJSON {
85
- id: string;
86
- name: string;
87
- label: string;
88
- }
89
44
  /**
90
45
  * A serialized and compressed version of [[ClassInfo]]
91
46
  * @public
@@ -147,20 +102,10 @@ export interface NavigationPropertyInfo {
147
102
  * @public
148
103
  */
149
104
  export declare namespace NavigationPropertyInfo {
150
- /**
151
- * Serialize [[NavigationPropertyInfo]] to JSON
152
- * @deprecated in 3.x. Use [[toCompressedJSON]].
153
- */
154
- function toJSON(info: NavigationPropertyInfo): NavigationPropertyInfoJSON;
155
105
  /** Serialize [[NavigationPropertyInfo]] to compressed JSON */
156
106
  function toCompressedJSON(navigationPropertyInfo: NavigationPropertyInfo, classesMap: {
157
107
  [id: string]: CompressedClassInfoJSON;
158
108
  }): NavigationPropertyInfoJSON<string>;
159
- /**
160
- * Deserialize [[NavigationPropertyInfo]] from JSON
161
- * @deprecated in 3.x. Use [[fromCompressedJSON]].
162
- */
163
- function fromJSON(json: NavigationPropertyInfoJSON): NavigationPropertyInfo;
164
109
  /** Deserialize [[NavigationPropertyInfo]] from compressed JSON */
165
110
  function fromCompressedJSON(compressedNavigationPropertyInfoJSON: NavigationPropertyInfoJSON<string>, classesMap: {
166
111
  [id: string]: CompressedClassInfoJSON;
@@ -170,7 +115,7 @@ export declare namespace NavigationPropertyInfo {
170
115
  * A serialized version of [[NavigationPropertyInfo]]
171
116
  * @public
172
117
  */
173
- export interface NavigationPropertyInfoJSON<TClassInfoJSON = ClassInfoJSON> {
118
+ export interface NavigationPropertyInfoJSON<TClassInfoJSON = ClassInfo> {
174
119
  classInfo: TClassInfoJSON;
175
120
  isForwardRelationship: boolean;
176
121
  targetClassInfo: TClassInfoJSON;
@@ -195,29 +140,50 @@ export interface PropertyInfo {
195
140
  extendedType?: string;
196
141
  /** Navigation property info if the field is navigation type */
197
142
  navigationPropertyInfo?: NavigationPropertyInfo;
143
+ /** Constraints for values of ECProperty */
144
+ constraints?: PropertyValueConstraints;
145
+ }
146
+ /**
147
+ * Constraints for values of ECProperty
148
+ * @public
149
+ */
150
+ export type PropertyValueConstraints = StringPropertyValueConstraints | ArrayPropertyValueConstraints | NumericPropertyValueConstraints;
151
+ /**
152
+ * Describes constraints for `string` type ECProperty values
153
+ * @public
154
+ */
155
+ export interface StringPropertyValueConstraints {
156
+ minimumLength?: number;
157
+ maximumLength?: number;
158
+ }
159
+ /**
160
+ * Describes constraints for `int` | `double` | `float` type ECProperty values
161
+ * @public
162
+ */
163
+ export interface NumericPropertyValueConstraints {
164
+ minimumValue?: number;
165
+ maximumValue?: number;
166
+ }
167
+ /**
168
+ * Describes constraints for `array` type ECProperty values
169
+ * @public
170
+ */
171
+ export interface ArrayPropertyValueConstraints {
172
+ minOccurs?: number;
173
+ maxOccurs?: number;
198
174
  }
199
175
  /** @public */
200
176
  export declare namespace PropertyInfo {
201
- /**
202
- * Serialize [[PropertyInfo]] to JSON
203
- * @deprecated in 3.x. Use [[PropertyInfo]].
204
- */
205
- function toJSON(info: PropertyInfo): PropertyInfoJSON;
206
177
  /** Serialize [[PropertyInfo]] to compressed JSON */
207
178
  function toCompressedJSON(propertyInfo: PropertyInfo, classesMap: {
208
179
  [id: string]: CompressedClassInfoJSON;
209
180
  }): PropertyInfoJSON<string>;
210
- /**
211
- * Deserialize [[PropertyInfo]] from JSON
212
- * @deprecated in 3.x. Use [[PropertyInfo]].
213
- */
214
- function fromJSON(json: PropertyInfoJSON): PropertyInfo;
215
181
  }
216
182
  /**
217
183
  * A serialized version of [[PropertyInfo]]
218
184
  * @public
219
185
  */
220
- export interface PropertyInfoJSON<TClassInfoJSON = ClassInfoJSON> {
186
+ export interface PropertyInfoJSON<TClassInfoJSON = ClassInfo> {
221
187
  classInfo: TClassInfoJSON;
222
188
  name: string;
223
189
  type: string;
@@ -247,20 +213,10 @@ export interface RelatedClassInfo {
247
213
  }
248
214
  /** @public */
249
215
  export declare namespace RelatedClassInfo {
250
- /**
251
- * Serialize [[RelatedClassInfo]] to JSON
252
- * @deprecated in 3.x. Use [[RelatedClassInfo]].
253
- */
254
- function toJSON(info: RelatedClassInfo): RelatedClassInfoJSON;
255
216
  /** Serialize [[RelatedClassInfo]] to compressed JSON */
256
217
  function toCompressedJSON(classInfo: RelatedClassInfo, classesMap: {
257
218
  [id: string]: CompressedClassInfoJSON;
258
219
  }): RelatedClassInfoJSON<string>;
259
- /**
260
- * Deserialize [[RelatedClassInfo]] from JSON
261
- * @deprecated in 3.x. Use [[RelatedClassInfo]].
262
- */
263
- function fromJSON(json: RelatedClassInfoJSON): RelatedClassInfo;
264
220
  /** Deserialize [[RelatedClassInfo]] from compressed JSON */
265
221
  function fromCompressedJSON(json: RelatedClassInfoJSON<string>, classesMap: {
266
222
  [id: string]: CompressedClassInfoJSON;
@@ -274,7 +230,7 @@ export declare namespace RelatedClassInfo {
274
230
  * A serialized version of [[RelatedClassInfo]]
275
231
  * @public
276
232
  */
277
- export interface RelatedClassInfoJSON<TClassInfoJSON = ClassInfoJSON> {
233
+ export interface RelatedClassInfoJSON<TClassInfoJSON = ClassInfo> {
278
234
  sourceClassInfo: TClassInfoJSON;
279
235
  targetClassInfo: TClassInfoJSON;
280
236
  isPolymorphicTargetClass?: boolean;
@@ -290,7 +246,7 @@ export interface RelatedClassInfoJSON<TClassInfoJSON = ClassInfoJSON> {
290
246
  */
291
247
  export type RelatedClassInfoWithOptionalRelationship = PartialBy<RelatedClassInfo, "relationshipInfo" | "isForwardRelationship" | "isPolymorphicRelationship">;
292
248
  /** @public */
293
- export type RelatedClassInfoWithOptionalRelationshipJSON<TClassInfoJSON = ClassInfoJSON> = PartialBy<RelatedClassInfoJSON<TClassInfoJSON>, "relationshipInfo" | "isForwardRelationship" | "isPolymorphicRelationship">;
249
+ export type RelatedClassInfoWithOptionalRelationshipJSON<TClassInfoJSON = ClassInfo> = PartialBy<RelatedClassInfoJSON<TClassInfoJSON>, "relationshipInfo" | "isForwardRelationship" | "isPolymorphicRelationship">;
294
250
  /** @public */
295
251
  export declare namespace RelatedClassInfoWithOptionalRelationship {
296
252
  /** Serialize [[RelatedClassInfoWithOptionalRelationship]] to compressed JSON */
@@ -311,7 +267,7 @@ export type RelationshipPath = RelatedClassInfo[];
311
267
  * Serialized [[RelationshipPath]]
312
268
  * @public
313
269
  */
314
- export type RelationshipPathJSON<TClassInfoJSON = ClassInfoJSON> = RelatedClassInfoJSON<TClassInfoJSON>[];
270
+ export type RelationshipPathJSON<TClassInfoJSON = ClassInfo> = RelatedClassInfoJSON<TClassInfoJSON>[];
315
271
  /** @public */
316
272
  export declare namespace RelationshipPath {
317
273
  /** Reverse direction of the given [[RelationshipPath]] */