@itwin/presentation-common 5.0.0-dev.1 → 5.0.0-dev.100

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 (507) hide show
  1. package/CHANGELOG.md +84 -1
  2. package/Ruleset.schema.json +3 -258
  3. package/lib/{cjs/assets → assets}/locales/en/Presentation.json +19 -19
  4. package/lib/cjs/package.json +1 -0
  5. package/lib/cjs/presentation-common/AsyncTasks.d.ts +4 -4
  6. package/lib/cjs/presentation-common/AsyncTasks.d.ts.map +1 -1
  7. package/lib/cjs/presentation-common/AsyncTasks.js +5 -6
  8. package/lib/cjs/presentation-common/AsyncTasks.js.map +1 -1
  9. package/lib/cjs/presentation-common/CommonLoggerCategory.js.map +1 -1
  10. package/lib/cjs/presentation-common/Diagnostics.js.map +1 -1
  11. package/lib/cjs/presentation-common/EC.d.ts +37 -81
  12. package/lib/cjs/presentation-common/EC.d.ts.map +1 -1
  13. package/lib/cjs/presentation-common/EC.js +1 -97
  14. package/lib/cjs/presentation-common/EC.js.map +1 -1
  15. package/lib/cjs/presentation-common/ElementProperties.d.ts +2 -2
  16. package/lib/cjs/presentation-common/ElementProperties.d.ts.map +1 -1
  17. package/lib/cjs/presentation-common/ElementProperties.js +22 -15
  18. package/lib/cjs/presentation-common/ElementProperties.js.map +1 -1
  19. package/lib/cjs/presentation-common/Error.d.ts +2 -0
  20. package/lib/cjs/presentation-common/Error.d.ts.map +1 -1
  21. package/lib/cjs/presentation-common/Error.js +2 -0
  22. package/lib/cjs/presentation-common/Error.js.map +1 -1
  23. package/lib/cjs/presentation-common/InstanceFilterDefinition.d.ts +1 -1
  24. package/lib/cjs/presentation-common/InstanceFilterDefinition.d.ts.map +1 -1
  25. package/lib/cjs/presentation-common/InstanceFilterDefinition.js.map +1 -1
  26. package/lib/cjs/presentation-common/KeySet.d.ts +3 -3
  27. package/lib/cjs/presentation-common/KeySet.d.ts.map +1 -1
  28. package/lib/cjs/presentation-common/KeySet.js +31 -30
  29. package/lib/cjs/presentation-common/KeySet.js.map +1 -1
  30. package/lib/cjs/presentation-common/KoqPropertyValueFormatter.js +9 -7
  31. package/lib/cjs/presentation-common/KoqPropertyValueFormatter.js.map +1 -1
  32. package/lib/cjs/presentation-common/LabelDefinition.d.ts +2 -50
  33. package/lib/cjs/presentation-common/LabelDefinition.d.ts.map +1 -1
  34. package/lib/cjs/presentation-common/LabelDefinition.js +4 -47
  35. package/lib/cjs/presentation-common/LabelDefinition.js.map +1 -1
  36. package/lib/cjs/presentation-common/LocalizationHelper.d.ts +10 -10
  37. package/lib/cjs/presentation-common/LocalizationHelper.d.ts.map +1 -1
  38. package/lib/cjs/presentation-common/LocalizationHelper.js +13 -12
  39. package/lib/cjs/presentation-common/LocalizationHelper.js.map +1 -1
  40. package/lib/cjs/presentation-common/PresentationIpcInterface.d.ts +12 -7
  41. package/lib/cjs/presentation-common/PresentationIpcInterface.d.ts.map +1 -1
  42. package/lib/cjs/presentation-common/PresentationIpcInterface.js +9 -1
  43. package/lib/cjs/presentation-common/PresentationIpcInterface.js.map +1 -1
  44. package/lib/cjs/presentation-common/PresentationManagerOptions.d.ts +40 -25
  45. package/lib/cjs/presentation-common/PresentationManagerOptions.d.ts.map +1 -1
  46. package/lib/cjs/presentation-common/PresentationManagerOptions.js +0 -5
  47. package/lib/cjs/presentation-common/PresentationManagerOptions.js.map +1 -1
  48. package/lib/cjs/presentation-common/PresentationRpcInterface.d.ts +39 -29
  49. package/lib/cjs/presentation-common/PresentationRpcInterface.d.ts.map +1 -1
  50. package/lib/cjs/presentation-common/PresentationRpcInterface.js +59 -37
  51. package/lib/cjs/presentation-common/PresentationRpcInterface.js.map +1 -1
  52. package/lib/cjs/presentation-common/RegisteredRuleset.d.ts +6 -5
  53. package/lib/cjs/presentation-common/RegisteredRuleset.d.ts.map +1 -1
  54. package/lib/cjs/presentation-common/RegisteredRuleset.js +9 -1
  55. package/lib/cjs/presentation-common/RegisteredRuleset.js.map +1 -1
  56. package/lib/cjs/presentation-common/RpcRequestsHandler.d.ts +21 -24
  57. package/lib/cjs/presentation-common/RpcRequestsHandler.d.ts.map +1 -1
  58. package/lib/cjs/presentation-common/RpcRequestsHandler.js +54 -35
  59. package/lib/cjs/presentation-common/RpcRequestsHandler.js.map +1 -1
  60. package/lib/cjs/presentation-common/RulesetVariables.d.ts +1 -46
  61. package/lib/cjs/presentation-common/RulesetVariables.d.ts.map +1 -1
  62. package/lib/cjs/presentation-common/RulesetVariables.js.map +1 -1
  63. package/lib/cjs/presentation-common/RulesetsFactory.d.ts +4 -4
  64. package/lib/cjs/presentation-common/RulesetsFactory.d.ts.map +1 -1
  65. package/lib/cjs/presentation-common/RulesetsFactory.js +15 -15
  66. package/lib/cjs/presentation-common/RulesetsFactory.js.map +1 -1
  67. package/lib/cjs/presentation-common/Update.d.ts +2 -79
  68. package/lib/cjs/presentation-common/Update.d.ts.map +1 -1
  69. package/lib/cjs/presentation-common/Update.js +1 -104
  70. package/lib/cjs/presentation-common/Update.js.map +1 -1
  71. package/lib/cjs/presentation-common/Utils.d.ts +22 -1
  72. package/lib/cjs/presentation-common/Utils.d.ts.map +1 -1
  73. package/lib/cjs/presentation-common/Utils.js +59 -3
  74. package/lib/cjs/presentation-common/Utils.js.map +1 -1
  75. package/lib/cjs/presentation-common/content/Category.d.ts +1 -1
  76. package/lib/cjs/presentation-common/content/Category.d.ts.map +1 -1
  77. package/lib/cjs/presentation-common/content/Category.js.map +1 -1
  78. package/lib/cjs/presentation-common/content/Content.d.ts +2 -9
  79. package/lib/cjs/presentation-common/content/Content.d.ts.map +1 -1
  80. package/lib/cjs/presentation-common/content/Content.js +9 -14
  81. package/lib/cjs/presentation-common/content/Content.js.map +1 -1
  82. package/lib/cjs/presentation-common/content/ContentTraverser.d.ts +9 -9
  83. package/lib/cjs/presentation-common/content/ContentTraverser.d.ts.map +1 -1
  84. package/lib/cjs/presentation-common/content/ContentTraverser.js +138 -50
  85. package/lib/cjs/presentation-common/content/ContentTraverser.js.map +1 -1
  86. package/lib/cjs/presentation-common/content/Descriptor.d.ts +7 -52
  87. package/lib/cjs/presentation-common/content/Descriptor.d.ts.map +1 -1
  88. package/lib/cjs/presentation-common/content/Descriptor.js +82 -53
  89. package/lib/cjs/presentation-common/content/Descriptor.js.map +1 -1
  90. package/lib/cjs/presentation-common/content/DisplayTypes.js.map +1 -1
  91. package/lib/cjs/presentation-common/content/Editor.js.map +1 -1
  92. package/lib/cjs/presentation-common/content/Fields.d.ts +157 -33
  93. package/lib/cjs/presentation-common/content/Fields.d.ts.map +1 -1
  94. package/lib/cjs/presentation-common/content/Fields.js +275 -151
  95. package/lib/cjs/presentation-common/content/Fields.js.map +1 -1
  96. package/lib/cjs/presentation-common/content/Item.d.ts +28 -33
  97. package/lib/cjs/presentation-common/content/Item.d.ts.map +1 -1
  98. package/lib/cjs/presentation-common/content/Item.js +53 -68
  99. package/lib/cjs/presentation-common/content/Item.js.map +1 -1
  100. package/lib/cjs/presentation-common/content/Property.d.ts +2 -14
  101. package/lib/cjs/presentation-common/content/Property.d.ts.map +1 -1
  102. package/lib/cjs/presentation-common/content/Property.js +2 -20
  103. package/lib/cjs/presentation-common/content/Property.js.map +1 -1
  104. package/lib/cjs/presentation-common/content/PropertyValueFormatter.d.ts +6 -6
  105. package/lib/cjs/presentation-common/content/PropertyValueFormatter.d.ts.map +1 -1
  106. package/lib/cjs/presentation-common/content/PropertyValueFormatter.js +43 -32
  107. package/lib/cjs/presentation-common/content/PropertyValueFormatter.js.map +1 -1
  108. package/lib/cjs/presentation-common/content/Renderer.js.map +1 -1
  109. package/lib/cjs/presentation-common/content/TypeDescription.js.map +1 -1
  110. package/lib/cjs/presentation-common/content/Value.d.ts +8 -110
  111. package/lib/cjs/presentation-common/content/Value.d.ts.map +1 -1
  112. package/lib/cjs/presentation-common/content/Value.js +1 -215
  113. package/lib/cjs/presentation-common/content/Value.js.map +1 -1
  114. package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.d.ts +1 -22
  115. package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.d.ts.map +1 -1
  116. package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.js +0 -23
  117. package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.js.map +1 -1
  118. package/lib/cjs/presentation-common/hierarchy/Key.d.ts +1 -84
  119. package/lib/cjs/presentation-common/hierarchy/Key.d.ts.map +1 -1
  120. package/lib/cjs/presentation-common/hierarchy/Key.js +8 -26
  121. package/lib/cjs/presentation-common/hierarchy/Key.js.map +1 -1
  122. package/lib/cjs/presentation-common/hierarchy/Node.d.ts +4 -107
  123. package/lib/cjs/presentation-common/hierarchy/Node.d.ts.map +1 -1
  124. package/lib/cjs/presentation-common/hierarchy/Node.js +0 -99
  125. package/lib/cjs/presentation-common/hierarchy/Node.js.map +1 -1
  126. package/lib/cjs/presentation-common/hierarchy/NodePathElement.d.ts +1 -67
  127. package/lib/cjs/presentation-common/hierarchy/NodePathElement.d.ts.map +1 -1
  128. package/lib/cjs/presentation-common/hierarchy/NodePathElement.js +0 -117
  129. package/lib/cjs/presentation-common/hierarchy/NodePathElement.js.map +1 -1
  130. package/lib/cjs/presentation-common/rules/ClassSpecifications.js.map +1 -1
  131. package/lib/cjs/presentation-common/rules/RelatedInstanceSpecification.d.ts +2 -2
  132. package/lib/cjs/presentation-common/rules/RelatedInstanceSpecification.d.ts.map +1 -1
  133. package/lib/cjs/presentation-common/rules/RelatedInstanceSpecification.js.map +1 -1
  134. package/lib/cjs/presentation-common/rules/RelationshipDirection.js.map +1 -1
  135. package/lib/cjs/presentation-common/rules/RelationshipPathSpecification.d.ts +2 -2
  136. package/lib/cjs/presentation-common/rules/RelationshipPathSpecification.d.ts.map +1 -1
  137. package/lib/cjs/presentation-common/rules/RelationshipPathSpecification.js.map +1 -1
  138. package/lib/cjs/presentation-common/rules/Rule.d.ts +6 -20
  139. package/lib/cjs/presentation-common/rules/Rule.d.ts.map +1 -1
  140. package/lib/cjs/presentation-common/rules/Rule.js.map +1 -1
  141. package/lib/cjs/presentation-common/rules/Ruleset.d.ts +3 -3
  142. package/lib/cjs/presentation-common/rules/Ruleset.d.ts.map +1 -1
  143. package/lib/cjs/presentation-common/rules/Ruleset.js.map +1 -1
  144. package/lib/cjs/presentation-common/rules/SchemasSpecification.js.map +1 -1
  145. package/lib/cjs/presentation-common/rules/Variables.js.map +1 -1
  146. package/lib/cjs/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts +2 -2
  147. package/lib/cjs/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts.map +1 -1
  148. package/lib/cjs/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js.map +1 -1
  149. package/lib/cjs/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts +2 -2
  150. package/lib/cjs/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts.map +1 -1
  151. package/lib/cjs/presentation-common/rules/content/ContentRelatedInstancesSpecification.js.map +1 -1
  152. package/lib/cjs/presentation-common/rules/content/ContentRule.d.ts +2 -2
  153. package/lib/cjs/presentation-common/rules/content/ContentRule.d.ts.map +1 -1
  154. package/lib/cjs/presentation-common/rules/content/ContentRule.js.map +1 -1
  155. package/lib/cjs/presentation-common/rules/content/ContentSpecification.d.ts +5 -12
  156. package/lib/cjs/presentation-common/rules/content/ContentSpecification.d.ts.map +1 -1
  157. package/lib/cjs/presentation-common/rules/content/ContentSpecification.js.map +1 -1
  158. package/lib/cjs/presentation-common/rules/content/DefaultPropertyCategoryOverride.d.ts +2 -2
  159. package/lib/cjs/presentation-common/rules/content/DefaultPropertyCategoryOverride.d.ts.map +1 -1
  160. package/lib/cjs/presentation-common/rules/content/DefaultPropertyCategoryOverride.js.map +1 -1
  161. package/lib/cjs/presentation-common/rules/content/PropertySpecification.d.ts +3 -3
  162. package/lib/cjs/presentation-common/rules/content/PropertySpecification.d.ts.map +1 -1
  163. package/lib/cjs/presentation-common/rules/content/PropertySpecification.js.map +1 -1
  164. package/lib/cjs/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts +1 -1
  165. package/lib/cjs/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts.map +1 -1
  166. package/lib/cjs/presentation-common/rules/content/SelectedNodeInstancesSpecification.js.map +1 -1
  167. package/lib/cjs/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts +3 -3
  168. package/lib/cjs/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts.map +1 -1
  169. package/lib/cjs/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js.map +1 -1
  170. package/lib/cjs/presentation-common/rules/content/modifiers/ContentModifier.d.ts +6 -6
  171. package/lib/cjs/presentation-common/rules/content/modifiers/ContentModifier.d.ts.map +1 -1
  172. package/lib/cjs/presentation-common/rules/content/modifiers/ContentModifier.js.map +1 -1
  173. package/lib/cjs/presentation-common/rules/content/modifiers/CustomRendererSpecification.js.map +1 -1
  174. package/lib/cjs/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts +1 -1
  175. package/lib/cjs/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts.map +1 -1
  176. package/lib/cjs/presentation-common/rules/content/modifiers/PropertyCategorySpecification.js.map +1 -1
  177. package/lib/cjs/presentation-common/rules/content/modifiers/PropertyEditorsSpecification.js.map +1 -1
  178. package/lib/cjs/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts +2 -2
  179. package/lib/cjs/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts.map +1 -1
  180. package/lib/cjs/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js.map +1 -1
  181. package/lib/cjs/presentation-common/rules/customization/CustomizationRule.d.ts +6 -10
  182. package/lib/cjs/presentation-common/rules/customization/CustomizationRule.d.ts.map +1 -1
  183. package/lib/cjs/presentation-common/rules/customization/CustomizationRule.js.map +1 -1
  184. package/lib/cjs/presentation-common/rules/customization/ExtendedDataRule.d.ts +1 -1
  185. package/lib/cjs/presentation-common/rules/customization/ExtendedDataRule.d.ts.map +1 -1
  186. package/lib/cjs/presentation-common/rules/customization/ExtendedDataRule.js.map +1 -1
  187. package/lib/cjs/presentation-common/rules/customization/GroupingRule.d.ts +4 -30
  188. package/lib/cjs/presentation-common/rules/customization/GroupingRule.d.ts.map +1 -1
  189. package/lib/cjs/presentation-common/rules/customization/GroupingRule.js +1 -15
  190. package/lib/cjs/presentation-common/rules/customization/GroupingRule.js.map +1 -1
  191. package/lib/cjs/presentation-common/rules/customization/InstanceLabelOverride.d.ts +3 -3
  192. package/lib/cjs/presentation-common/rules/customization/InstanceLabelOverride.d.ts.map +1 -1
  193. package/lib/cjs/presentation-common/rules/customization/InstanceLabelOverride.js.map +1 -1
  194. package/lib/cjs/presentation-common/rules/customization/SortingRule.d.ts +2 -2
  195. package/lib/cjs/presentation-common/rules/customization/SortingRule.d.ts.map +1 -1
  196. package/lib/cjs/presentation-common/rules/customization/SortingRule.js.map +1 -1
  197. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeRule.d.ts +1 -1
  198. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeRule.d.ts.map +1 -1
  199. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeRule.js.map +1 -1
  200. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts +6 -6
  201. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts.map +1 -1
  202. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeSpecification.js.map +1 -1
  203. package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts +3 -1
  204. package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts.map +1 -1
  205. package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.js.map +1 -1
  206. package/lib/cjs/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.d.ts +2 -2
  207. package/lib/cjs/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.d.ts.map +1 -1
  208. package/lib/cjs/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js.map +1 -1
  209. package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts +2 -11
  210. package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts.map +1 -1
  211. package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js.map +1 -1
  212. package/lib/cjs/presentation-common/rules/hierarchy/NavigationRule.d.ts +6 -6
  213. package/lib/cjs/presentation-common/rules/hierarchy/NavigationRule.d.ts.map +1 -1
  214. package/lib/cjs/presentation-common/rules/hierarchy/NavigationRule.js.map +1 -1
  215. package/lib/cjs/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts +1 -1
  216. package/lib/cjs/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts.map +1 -1
  217. package/lib/cjs/presentation-common/rules/hierarchy/NodeArtifactsRule.js.map +1 -1
  218. package/lib/cjs/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts +2 -2
  219. package/lib/cjs/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts.map +1 -1
  220. package/lib/cjs/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js.map +1 -1
  221. package/lib/cjs/presentation-common/rules/hierarchy/RootNodeRule.d.ts +1 -1
  222. package/lib/cjs/presentation-common/rules/hierarchy/RootNodeRule.d.ts.map +1 -1
  223. package/lib/cjs/presentation-common/rules/hierarchy/RootNodeRule.js.map +1 -1
  224. package/lib/cjs/presentation-common/rules/hierarchy/SubCondition.d.ts +2 -2
  225. package/lib/cjs/presentation-common/rules/hierarchy/SubCondition.d.ts.map +1 -1
  226. package/lib/cjs/presentation-common/rules/hierarchy/SubCondition.js.map +1 -1
  227. package/lib/cjs/presentation-common/selection/SelectionScope.d.ts +3 -0
  228. package/lib/cjs/presentation-common/selection/SelectionScope.d.ts.map +1 -1
  229. package/lib/cjs/presentation-common/selection/SelectionScope.js +1 -0
  230. package/lib/cjs/presentation-common/selection/SelectionScope.js.map +1 -1
  231. package/lib/cjs/presentation-common-internal.d.ts +10 -0
  232. package/lib/cjs/presentation-common-internal.d.ts.map +1 -0
  233. package/lib/cjs/presentation-common-internal.js +32 -0
  234. package/lib/cjs/presentation-common-internal.js.map +1 -0
  235. package/lib/cjs/presentation-common.d.ts +68 -77
  236. package/lib/cjs/presentation-common.d.ts.map +1 -1
  237. package/lib/cjs/presentation-common.js +110 -89
  238. package/lib/cjs/presentation-common.js.map +1 -1
  239. package/lib/esm/presentation-common/AsyncTasks.d.ts +4 -4
  240. package/lib/esm/presentation-common/AsyncTasks.d.ts.map +1 -1
  241. package/lib/esm/presentation-common/AsyncTasks.js +5 -6
  242. package/lib/esm/presentation-common/AsyncTasks.js.map +1 -1
  243. package/lib/esm/presentation-common/CommonLoggerCategory.js.map +1 -1
  244. package/lib/esm/presentation-common/Diagnostics.js.map +1 -1
  245. package/lib/esm/presentation-common/EC.d.ts +37 -81
  246. package/lib/esm/presentation-common/EC.d.ts.map +1 -1
  247. package/lib/esm/presentation-common/EC.js +0 -96
  248. package/lib/esm/presentation-common/EC.js.map +1 -1
  249. package/lib/esm/presentation-common/ElementProperties.d.ts +2 -2
  250. package/lib/esm/presentation-common/ElementProperties.d.ts.map +1 -1
  251. package/lib/esm/presentation-common/ElementProperties.js +18 -11
  252. package/lib/esm/presentation-common/ElementProperties.js.map +1 -1
  253. package/lib/esm/presentation-common/Error.d.ts +2 -0
  254. package/lib/esm/presentation-common/Error.d.ts.map +1 -1
  255. package/lib/esm/presentation-common/Error.js +2 -0
  256. package/lib/esm/presentation-common/Error.js.map +1 -1
  257. package/lib/esm/presentation-common/InstanceFilterDefinition.d.ts +1 -1
  258. package/lib/esm/presentation-common/InstanceFilterDefinition.d.ts.map +1 -1
  259. package/lib/esm/presentation-common/InstanceFilterDefinition.js.map +1 -1
  260. package/lib/esm/presentation-common/KeySet.d.ts +3 -3
  261. package/lib/esm/presentation-common/KeySet.d.ts.map +1 -1
  262. package/lib/esm/presentation-common/KeySet.js +21 -20
  263. package/lib/esm/presentation-common/KeySet.js.map +1 -1
  264. package/lib/esm/presentation-common/KoqPropertyValueFormatter.js +10 -8
  265. package/lib/esm/presentation-common/KoqPropertyValueFormatter.js.map +1 -1
  266. package/lib/esm/presentation-common/LabelDefinition.d.ts +2 -50
  267. package/lib/esm/presentation-common/LabelDefinition.d.ts.map +1 -1
  268. package/lib/esm/presentation-common/LabelDefinition.js +3 -46
  269. package/lib/esm/presentation-common/LabelDefinition.js.map +1 -1
  270. package/lib/esm/presentation-common/LocalizationHelper.d.ts +10 -10
  271. package/lib/esm/presentation-common/LocalizationHelper.d.ts.map +1 -1
  272. package/lib/esm/presentation-common/LocalizationHelper.js +6 -5
  273. package/lib/esm/presentation-common/LocalizationHelper.js.map +1 -1
  274. package/lib/esm/presentation-common/PresentationIpcInterface.d.ts +12 -7
  275. package/lib/esm/presentation-common/PresentationIpcInterface.d.ts.map +1 -1
  276. package/lib/esm/presentation-common/PresentationIpcInterface.js +8 -0
  277. package/lib/esm/presentation-common/PresentationIpcInterface.js.map +1 -1
  278. package/lib/esm/presentation-common/PresentationManagerOptions.d.ts +40 -25
  279. package/lib/esm/presentation-common/PresentationManagerOptions.d.ts.map +1 -1
  280. package/lib/esm/presentation-common/PresentationManagerOptions.js +0 -4
  281. package/lib/esm/presentation-common/PresentationManagerOptions.js.map +1 -1
  282. package/lib/esm/presentation-common/PresentationRpcInterface.d.ts +39 -29
  283. package/lib/esm/presentation-common/PresentationRpcInterface.d.ts.map +1 -1
  284. package/lib/esm/presentation-common/PresentationRpcInterface.js +60 -37
  285. package/lib/esm/presentation-common/PresentationRpcInterface.js.map +1 -1
  286. package/lib/esm/presentation-common/RegisteredRuleset.d.ts +6 -5
  287. package/lib/esm/presentation-common/RegisteredRuleset.d.ts.map +1 -1
  288. package/lib/esm/presentation-common/RegisteredRuleset.js +9 -1
  289. package/lib/esm/presentation-common/RegisteredRuleset.js.map +1 -1
  290. package/lib/esm/presentation-common/RpcRequestsHandler.d.ts +21 -24
  291. package/lib/esm/presentation-common/RpcRequestsHandler.d.ts.map +1 -1
  292. package/lib/esm/presentation-common/RpcRequestsHandler.js +54 -35
  293. package/lib/esm/presentation-common/RpcRequestsHandler.js.map +1 -1
  294. package/lib/esm/presentation-common/RulesetVariables.d.ts +1 -46
  295. package/lib/esm/presentation-common/RulesetVariables.d.ts.map +1 -1
  296. package/lib/esm/presentation-common/RulesetVariables.js.map +1 -1
  297. package/lib/esm/presentation-common/RulesetsFactory.d.ts +4 -4
  298. package/lib/esm/presentation-common/RulesetsFactory.d.ts.map +1 -1
  299. package/lib/esm/presentation-common/RulesetsFactory.js +6 -6
  300. package/lib/esm/presentation-common/RulesetsFactory.js.map +1 -1
  301. package/lib/esm/presentation-common/Update.d.ts +2 -79
  302. package/lib/esm/presentation-common/Update.d.ts.map +1 -1
  303. package/lib/esm/presentation-common/Update.js +0 -103
  304. package/lib/esm/presentation-common/Update.js.map +1 -1
  305. package/lib/esm/presentation-common/Utils.d.ts +22 -1
  306. package/lib/esm/presentation-common/Utils.d.ts.map +1 -1
  307. package/lib/esm/presentation-common/Utils.js +54 -1
  308. package/lib/esm/presentation-common/Utils.js.map +1 -1
  309. package/lib/esm/presentation-common/content/Category.d.ts +1 -1
  310. package/lib/esm/presentation-common/content/Category.d.ts.map +1 -1
  311. package/lib/esm/presentation-common/content/Category.js.map +1 -1
  312. package/lib/esm/presentation-common/content/Content.d.ts +2 -9
  313. package/lib/esm/presentation-common/content/Content.d.ts.map +1 -1
  314. package/lib/esm/presentation-common/content/Content.js +7 -12
  315. package/lib/esm/presentation-common/content/Content.js.map +1 -1
  316. package/lib/esm/presentation-common/content/ContentTraverser.d.ts +9 -9
  317. package/lib/esm/presentation-common/content/ContentTraverser.d.ts.map +1 -1
  318. package/lib/esm/presentation-common/content/ContentTraverser.js +123 -35
  319. package/lib/esm/presentation-common/content/ContentTraverser.js.map +1 -1
  320. package/lib/esm/presentation-common/content/Descriptor.d.ts +7 -52
  321. package/lib/esm/presentation-common/content/Descriptor.d.ts.map +1 -1
  322. package/lib/esm/presentation-common/content/Descriptor.js +71 -42
  323. package/lib/esm/presentation-common/content/Descriptor.js.map +1 -1
  324. package/lib/esm/presentation-common/content/DisplayTypes.js.map +1 -1
  325. package/lib/esm/presentation-common/content/Editor.js.map +1 -1
  326. package/lib/esm/presentation-common/content/Fields.d.ts +157 -33
  327. package/lib/esm/presentation-common/content/Fields.d.ts.map +1 -1
  328. package/lib/esm/presentation-common/content/Fields.js +268 -144
  329. package/lib/esm/presentation-common/content/Fields.js.map +1 -1
  330. package/lib/esm/presentation-common/content/Item.d.ts +28 -33
  331. package/lib/esm/presentation-common/content/Item.d.ts.map +1 -1
  332. package/lib/esm/presentation-common/content/Item.js +53 -68
  333. package/lib/esm/presentation-common/content/Item.js.map +1 -1
  334. package/lib/esm/presentation-common/content/Property.d.ts +2 -14
  335. package/lib/esm/presentation-common/content/Property.d.ts.map +1 -1
  336. package/lib/esm/presentation-common/content/Property.js +1 -19
  337. package/lib/esm/presentation-common/content/Property.js.map +1 -1
  338. package/lib/esm/presentation-common/content/PropertyValueFormatter.d.ts +6 -6
  339. package/lib/esm/presentation-common/content/PropertyValueFormatter.d.ts.map +1 -1
  340. package/lib/esm/presentation-common/content/PropertyValueFormatter.js +36 -25
  341. package/lib/esm/presentation-common/content/PropertyValueFormatter.js.map +1 -1
  342. package/lib/esm/presentation-common/content/Renderer.js.map +1 -1
  343. package/lib/esm/presentation-common/content/TypeDescription.js.map +1 -1
  344. package/lib/esm/presentation-common/content/Value.d.ts +8 -110
  345. package/lib/esm/presentation-common/content/Value.d.ts.map +1 -1
  346. package/lib/esm/presentation-common/content/Value.js +0 -214
  347. package/lib/esm/presentation-common/content/Value.js.map +1 -1
  348. package/lib/esm/presentation-common/hierarchy/HierarchyLevel.d.ts +1 -22
  349. package/lib/esm/presentation-common/hierarchy/HierarchyLevel.d.ts.map +1 -1
  350. package/lib/esm/presentation-common/hierarchy/HierarchyLevel.js +1 -22
  351. package/lib/esm/presentation-common/hierarchy/HierarchyLevel.js.map +1 -1
  352. package/lib/esm/presentation-common/hierarchy/Key.d.ts +1 -84
  353. package/lib/esm/presentation-common/hierarchy/Key.d.ts.map +1 -1
  354. package/lib/esm/presentation-common/hierarchy/Key.js +7 -25
  355. package/lib/esm/presentation-common/hierarchy/Key.js.map +1 -1
  356. package/lib/esm/presentation-common/hierarchy/Node.d.ts +4 -107
  357. package/lib/esm/presentation-common/hierarchy/Node.d.ts.map +1 -1
  358. package/lib/esm/presentation-common/hierarchy/Node.js +1 -98
  359. package/lib/esm/presentation-common/hierarchy/Node.js.map +1 -1
  360. package/lib/esm/presentation-common/hierarchy/NodePathElement.d.ts +1 -67
  361. package/lib/esm/presentation-common/hierarchy/NodePathElement.d.ts.map +1 -1
  362. package/lib/esm/presentation-common/hierarchy/NodePathElement.js +1 -116
  363. package/lib/esm/presentation-common/hierarchy/NodePathElement.js.map +1 -1
  364. package/lib/esm/presentation-common/rules/ClassSpecifications.js.map +1 -1
  365. package/lib/esm/presentation-common/rules/RelatedInstanceSpecification.d.ts +2 -2
  366. package/lib/esm/presentation-common/rules/RelatedInstanceSpecification.d.ts.map +1 -1
  367. package/lib/esm/presentation-common/rules/RelatedInstanceSpecification.js.map +1 -1
  368. package/lib/esm/presentation-common/rules/RelationshipDirection.js.map +1 -1
  369. package/lib/esm/presentation-common/rules/RelationshipPathSpecification.d.ts +2 -2
  370. package/lib/esm/presentation-common/rules/RelationshipPathSpecification.d.ts.map +1 -1
  371. package/lib/esm/presentation-common/rules/RelationshipPathSpecification.js.map +1 -1
  372. package/lib/esm/presentation-common/rules/Rule.d.ts +6 -20
  373. package/lib/esm/presentation-common/rules/Rule.d.ts.map +1 -1
  374. package/lib/esm/presentation-common/rules/Rule.js.map +1 -1
  375. package/lib/esm/presentation-common/rules/Ruleset.d.ts +3 -3
  376. package/lib/esm/presentation-common/rules/Ruleset.d.ts.map +1 -1
  377. package/lib/esm/presentation-common/rules/Ruleset.js.map +1 -1
  378. package/lib/esm/presentation-common/rules/SchemasSpecification.js.map +1 -1
  379. package/lib/esm/presentation-common/rules/Variables.js.map +1 -1
  380. package/lib/esm/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts +2 -2
  381. package/lib/esm/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts.map +1 -1
  382. package/lib/esm/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js.map +1 -1
  383. package/lib/esm/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts +2 -2
  384. package/lib/esm/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts.map +1 -1
  385. package/lib/esm/presentation-common/rules/content/ContentRelatedInstancesSpecification.js.map +1 -1
  386. package/lib/esm/presentation-common/rules/content/ContentRule.d.ts +2 -2
  387. package/lib/esm/presentation-common/rules/content/ContentRule.d.ts.map +1 -1
  388. package/lib/esm/presentation-common/rules/content/ContentRule.js.map +1 -1
  389. package/lib/esm/presentation-common/rules/content/ContentSpecification.d.ts +5 -12
  390. package/lib/esm/presentation-common/rules/content/ContentSpecification.d.ts.map +1 -1
  391. package/lib/esm/presentation-common/rules/content/ContentSpecification.js.map +1 -1
  392. package/lib/esm/presentation-common/rules/content/DefaultPropertyCategoryOverride.d.ts +2 -2
  393. package/lib/esm/presentation-common/rules/content/DefaultPropertyCategoryOverride.d.ts.map +1 -1
  394. package/lib/esm/presentation-common/rules/content/DefaultPropertyCategoryOverride.js.map +1 -1
  395. package/lib/esm/presentation-common/rules/content/PropertySpecification.d.ts +3 -3
  396. package/lib/esm/presentation-common/rules/content/PropertySpecification.d.ts.map +1 -1
  397. package/lib/esm/presentation-common/rules/content/PropertySpecification.js.map +1 -1
  398. package/lib/esm/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts +1 -1
  399. package/lib/esm/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts.map +1 -1
  400. package/lib/esm/presentation-common/rules/content/SelectedNodeInstancesSpecification.js.map +1 -1
  401. package/lib/esm/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts +3 -3
  402. package/lib/esm/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts.map +1 -1
  403. package/lib/esm/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js.map +1 -1
  404. package/lib/esm/presentation-common/rules/content/modifiers/ContentModifier.d.ts +6 -6
  405. package/lib/esm/presentation-common/rules/content/modifiers/ContentModifier.d.ts.map +1 -1
  406. package/lib/esm/presentation-common/rules/content/modifiers/ContentModifier.js.map +1 -1
  407. package/lib/esm/presentation-common/rules/content/modifiers/CustomRendererSpecification.js.map +1 -1
  408. package/lib/esm/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts +1 -1
  409. package/lib/esm/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts.map +1 -1
  410. package/lib/esm/presentation-common/rules/content/modifiers/PropertyCategorySpecification.js.map +1 -1
  411. package/lib/esm/presentation-common/rules/content/modifiers/PropertyEditorsSpecification.js.map +1 -1
  412. package/lib/esm/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts +2 -2
  413. package/lib/esm/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts.map +1 -1
  414. package/lib/esm/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js.map +1 -1
  415. package/lib/esm/presentation-common/rules/customization/CustomizationRule.d.ts +6 -10
  416. package/lib/esm/presentation-common/rules/customization/CustomizationRule.d.ts.map +1 -1
  417. package/lib/esm/presentation-common/rules/customization/CustomizationRule.js.map +1 -1
  418. package/lib/esm/presentation-common/rules/customization/ExtendedDataRule.d.ts +1 -1
  419. package/lib/esm/presentation-common/rules/customization/ExtendedDataRule.d.ts.map +1 -1
  420. package/lib/esm/presentation-common/rules/customization/ExtendedDataRule.js.map +1 -1
  421. package/lib/esm/presentation-common/rules/customization/GroupingRule.d.ts +4 -30
  422. package/lib/esm/presentation-common/rules/customization/GroupingRule.d.ts.map +1 -1
  423. package/lib/esm/presentation-common/rules/customization/GroupingRule.js +0 -14
  424. package/lib/esm/presentation-common/rules/customization/GroupingRule.js.map +1 -1
  425. package/lib/esm/presentation-common/rules/customization/InstanceLabelOverride.d.ts +3 -3
  426. package/lib/esm/presentation-common/rules/customization/InstanceLabelOverride.d.ts.map +1 -1
  427. package/lib/esm/presentation-common/rules/customization/InstanceLabelOverride.js.map +1 -1
  428. package/lib/esm/presentation-common/rules/customization/SortingRule.d.ts +2 -2
  429. package/lib/esm/presentation-common/rules/customization/SortingRule.d.ts.map +1 -1
  430. package/lib/esm/presentation-common/rules/customization/SortingRule.js.map +1 -1
  431. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeRule.d.ts +1 -1
  432. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeRule.d.ts.map +1 -1
  433. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeRule.js.map +1 -1
  434. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts +6 -6
  435. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts.map +1 -1
  436. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeSpecification.js.map +1 -1
  437. package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts +3 -1
  438. package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts.map +1 -1
  439. package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.js.map +1 -1
  440. package/lib/esm/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.d.ts +2 -2
  441. package/lib/esm/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.d.ts.map +1 -1
  442. package/lib/esm/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js.map +1 -1
  443. package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts +2 -11
  444. package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts.map +1 -1
  445. package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js.map +1 -1
  446. package/lib/esm/presentation-common/rules/hierarchy/NavigationRule.d.ts +6 -6
  447. package/lib/esm/presentation-common/rules/hierarchy/NavigationRule.d.ts.map +1 -1
  448. package/lib/esm/presentation-common/rules/hierarchy/NavigationRule.js.map +1 -1
  449. package/lib/esm/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts +1 -1
  450. package/lib/esm/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts.map +1 -1
  451. package/lib/esm/presentation-common/rules/hierarchy/NodeArtifactsRule.js.map +1 -1
  452. package/lib/esm/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts +2 -2
  453. package/lib/esm/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts.map +1 -1
  454. package/lib/esm/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js.map +1 -1
  455. package/lib/esm/presentation-common/rules/hierarchy/RootNodeRule.d.ts +1 -1
  456. package/lib/esm/presentation-common/rules/hierarchy/RootNodeRule.d.ts.map +1 -1
  457. package/lib/esm/presentation-common/rules/hierarchy/RootNodeRule.js.map +1 -1
  458. package/lib/esm/presentation-common/rules/hierarchy/SubCondition.d.ts +2 -2
  459. package/lib/esm/presentation-common/rules/hierarchy/SubCondition.d.ts.map +1 -1
  460. package/lib/esm/presentation-common/rules/hierarchy/SubCondition.js.map +1 -1
  461. package/lib/esm/presentation-common/selection/SelectionScope.d.ts +3 -0
  462. package/lib/esm/presentation-common/selection/SelectionScope.d.ts.map +1 -1
  463. package/lib/esm/presentation-common/selection/SelectionScope.js +1 -0
  464. package/lib/esm/presentation-common/selection/SelectionScope.js.map +1 -1
  465. package/lib/esm/presentation-common-internal.d.ts +10 -0
  466. package/lib/esm/presentation-common-internal.d.ts.map +1 -0
  467. package/lib/esm/presentation-common-internal.js +16 -0
  468. package/lib/esm/presentation-common-internal.js.map +1 -0
  469. package/lib/esm/presentation-common.d.ts +68 -77
  470. package/lib/esm/presentation-common.d.ts.map +1 -1
  471. package/lib/esm/presentation-common.js +60 -89
  472. package/lib/esm/presentation-common.js.map +1 -1
  473. package/lib/public/locales/en/Presentation.json +19 -19
  474. package/package.json +48 -37
  475. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.d.ts +0 -45
  476. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.d.ts.map +0 -1
  477. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.js +0 -10
  478. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.js.map +0 -1
  479. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.d.ts +0 -30
  480. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.d.ts.map +0 -1
  481. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.js +0 -10
  482. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.js.map +0 -1
  483. package/lib/cjs/presentation-common/rules/customization/LabelOverride.d.ts +0 -41
  484. package/lib/cjs/presentation-common/rules/customization/LabelOverride.d.ts.map +0 -1
  485. package/lib/cjs/presentation-common/rules/customization/LabelOverride.js +0 -10
  486. package/lib/cjs/presentation-common/rules/customization/LabelOverride.js.map +0 -1
  487. package/lib/cjs/presentation-common/rules/customization/StyleOverride.d.ts +0 -49
  488. package/lib/cjs/presentation-common/rules/customization/StyleOverride.d.ts.map +0 -1
  489. package/lib/cjs/presentation-common/rules/customization/StyleOverride.js +0 -10
  490. package/lib/cjs/presentation-common/rules/customization/StyleOverride.js.map +0 -1
  491. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.d.ts +0 -45
  492. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.d.ts.map +0 -1
  493. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.js +0 -9
  494. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.js.map +0 -1
  495. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.d.ts +0 -30
  496. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.d.ts.map +0 -1
  497. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.js +0 -9
  498. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.js.map +0 -1
  499. package/lib/esm/presentation-common/rules/customization/LabelOverride.d.ts +0 -41
  500. package/lib/esm/presentation-common/rules/customization/LabelOverride.d.ts.map +0 -1
  501. package/lib/esm/presentation-common/rules/customization/LabelOverride.js +0 -9
  502. package/lib/esm/presentation-common/rules/customization/LabelOverride.js.map +0 -1
  503. package/lib/esm/presentation-common/rules/customization/StyleOverride.d.ts +0 -49
  504. package/lib/esm/presentation-common/rules/customization/StyleOverride.d.ts.map +0 -1
  505. package/lib/esm/presentation-common/rules/customization/StyleOverride.js +0 -9
  506. package/lib/esm/presentation-common/rules/customization/StyleOverride.js.map +0 -1
  507. /package/lib/{cjs/assets → assets}/locales/en-PSEUDO/Presentation.json +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ChildNodeSpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/ChildNodeSpecification.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AASH;;;GAGG;AACH,MAAM,CAAN,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACrC,4EAA6C,CAAA;IAC7C,gGAAiE,CAAA;IACjE,oFAAqD,CAAA;IACrD,wDAAyB,CAAA;AAC3B,CAAC,EALW,2BAA2B,KAA3B,2BAA2B,QAKtC","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 PresentationRules\r\n */\r\n\r\nimport { RelatedInstanceSpecification } from \"../RelatedInstanceSpecification\";\r\nimport { ChildNodeRule } from \"./ChildNodeRule\";\r\nimport { CustomNodeSpecification } from \"./CustomNodeSpecification\";\r\nimport { CustomQueryInstanceNodesSpecification } from \"./CustomQueryInstanceNodesSpecification\";\r\nimport { InstanceNodesOfSpecificClassesSpecification } from \"./InstanceNodesOfSpecificClassesSpecification\";\r\nimport { RelatedInstanceNodesSpecification } from \"./RelatedInstanceNodesSpecification\";\r\n\r\n/**\r\n * Used for serializing array of [[ChildNodeSpecification]]\r\n * @public\r\n */\r\nexport enum ChildNodeSpecificationTypes {\r\n RelatedInstanceNodes = \"RelatedInstanceNodes\",\r\n InstanceNodesOfSpecificClasses = \"InstanceNodesOfSpecificClasses\",\r\n CustomQueryInstanceNodes = \"CustomQueryInstanceNodes\",\r\n CustomNode = \"CustomNode\",\r\n}\r\n\r\n/**\r\n * Base interface for all [[ChildNodeSpecification]] implementations.\r\n *\r\n * @see [Child node specifications reference documentation section]($docs/presentation/hierarchies/ChildNodeRule.md#attribute-specifications)\r\n * @public\r\n */\r\nexport interface ChildNodeSpecificationBase {\r\n /**\r\n * Used for serializing to JSON.\r\n * @see ChildNodeSpecificationTypes\r\n */\r\n specType: `${ChildNodeSpecificationTypes}`;\r\n\r\n /**\r\n * Controls the order in which specifications are handled — specification with higher priority value is\r\n * handled first. If priorities are equal, the specifications are handled in the order they appear in the\r\n * ruleset.\r\n *\r\n * @type integer\r\n */\r\n priority?: number;\r\n\r\n /**\r\n * This attribute allows telling the engine that nodes created by this specification always or never have children.\r\n */\r\n hasChildren?: \"Always\" | \"Never\" | \"Unknown\";\r\n\r\n /**\r\n * When `true`, instances nodes produced by this specification are omitted and their children appear one\r\n * hierarchy level higher.\r\n */\r\n hideNodesInHierarchy?: boolean;\r\n\r\n /**\r\n * Specifies whether nodes created through this specification should be hidden if they have no child nodes.\r\n */\r\n hideIfNoChildren?: boolean;\r\n\r\n /**\r\n * When specified [ECExpression]($docs/presentation/hierarchies/ECExpressions.md#specification) evaluates\r\n * to `true`, nodes produced by this specification are omitted and their children appear one hierarchy level\r\n * higher.\r\n */\r\n hideExpression?: string;\r\n\r\n /**\r\n * Suppress sorting of nodes returned by this specification. With this attribute set to `true`, the order\r\n * of returned nodes is undefined.\r\n */\r\n doNotSort?: boolean;\r\n\r\n /**\r\n * Specifies whether similar ancestor nodes' checking should be suppressed when creating nodes based on this\r\n * specification. See more in [infinite hierarchies prevention page]($docs/presentation/hierarchies/InfiniteHierarchiesPrevention.md).\r\n */\r\n suppressSimilarAncestorsCheck?: boolean;\r\n\r\n /**\r\n * Specifications of [related instances]($docs/presentation/RelatedInstanceSpecification.md) that can be used\r\n * when creating the nodes.\r\n */\r\n relatedInstances?: RelatedInstanceSpecification[];\r\n\r\n /**\r\n * Specifications of [nested child node rules]($docs/presentation/hierarchies/Terminology.md#nested-rule) that\r\n * allow creating child nodes without the need of supplying a condition to match the parent node.\r\n */\r\n nestedRules?: ChildNodeRule[];\r\n}\r\n\r\n/**\r\n * A container of default grouping properties. Used for specifications that support\r\n * default grouping. Not meant to be used directly, see [[ChildNodeSpecification]].\r\n *\r\n * @public\r\n */\r\nexport interface DefaultGroupingPropertiesContainer {\r\n /** Controls whether returned instances should be grouped by ECClass. Defaults to `true`. */\r\n groupByClass?: boolean;\r\n\r\n /** Controls whether returned instances should be grouped by label. Defaults to `true`. */\r\n groupByLabel?: boolean;\r\n}\r\n\r\n/**\r\n * Hierarchy rule specifications that define what nodes are going to be returned by the rule.\r\n *\r\n * @see [Child node specifications reference documentation section]($docs/presentation/hierarchies/ChildNodeRule.md#attribute-specifications)\r\n * @public\r\n */\r\nexport type ChildNodeSpecification =\r\n | CustomNodeSpecification\r\n | InstanceNodesOfSpecificClassesSpecification\r\n | RelatedInstanceNodesSpecification\r\n | CustomQueryInstanceNodesSpecification;\r\n"]}
1
+ {"version":3,"file":"ChildNodeSpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/ChildNodeSpecification.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AASH;;;GAGG;AACH,MAAM,CAAN,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACrC,4EAA6C,CAAA;IAC7C,gGAAiE,CAAA;IACjE,oFAAqD,CAAA;IACrD,wDAAyB,CAAA;AAC3B,CAAC,EALW,2BAA2B,KAA3B,2BAA2B,QAKtC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module PresentationRules\n */\n\nimport { RelatedInstanceSpecification } from \"../RelatedInstanceSpecification.js\";\nimport { ChildNodeRule } from \"./ChildNodeRule.js\";\nimport { CustomNodeSpecification } from \"./CustomNodeSpecification.js\";\nimport { CustomQueryInstanceNodesSpecification } from \"./CustomQueryInstanceNodesSpecification.js\";\nimport { InstanceNodesOfSpecificClassesSpecification } from \"./InstanceNodesOfSpecificClassesSpecification.js\";\nimport { RelatedInstanceNodesSpecification } from \"./RelatedInstanceNodesSpecification.js\";\n\n/**\n * Used for serializing array of [[ChildNodeSpecification]]\n * @public\n */\nexport enum ChildNodeSpecificationTypes {\n RelatedInstanceNodes = \"RelatedInstanceNodes\",\n InstanceNodesOfSpecificClasses = \"InstanceNodesOfSpecificClasses\",\n CustomQueryInstanceNodes = \"CustomQueryInstanceNodes\",\n CustomNode = \"CustomNode\",\n}\n\n/**\n * Base interface for all [[ChildNodeSpecification]] implementations.\n *\n * @see [Child node specifications reference documentation section]($docs/presentation/hierarchies/ChildNodeRule.md#attribute-specifications)\n * @public\n */\nexport interface ChildNodeSpecificationBase {\n /**\n * Used for serializing to JSON.\n * @see ChildNodeSpecificationTypes\n */\n specType: `${ChildNodeSpecificationTypes}`;\n\n /**\n * Controls the order in which specifications are handled — specification with higher priority value is\n * handled first. If priorities are equal, the specifications are handled in the order they appear in the\n * ruleset.\n *\n * @type integer\n */\n priority?: number;\n\n /**\n * This attribute allows telling the engine that nodes created by this specification always or never have children.\n */\n hasChildren?: \"Always\" | \"Never\" | \"Unknown\";\n\n /**\n * When `true`, instances nodes produced by this specification are omitted and their children appear one\n * hierarchy level higher.\n */\n hideNodesInHierarchy?: boolean;\n\n /**\n * Specifies whether nodes created through this specification should be hidden if they have no child nodes.\n */\n hideIfNoChildren?: boolean;\n\n /**\n * When specified [ECExpression]($docs/presentation/hierarchies/ECExpressions.md#specification) evaluates\n * to `true`, nodes produced by this specification are omitted and their children appear one hierarchy level\n * higher.\n */\n hideExpression?: string;\n\n /**\n * Suppress sorting of nodes returned by this specification. With this attribute set to `true`, the order\n * of returned nodes is undefined.\n */\n doNotSort?: boolean;\n\n /**\n * Specifies whether similar ancestor nodes' checking should be suppressed when creating nodes based on this\n * specification. See more in [infinite hierarchies prevention page]($docs/presentation/hierarchies/InfiniteHierarchiesPrevention.md).\n */\n suppressSimilarAncestorsCheck?: boolean;\n\n /**\n * Specifications of [related instances]($docs/presentation/RelatedInstanceSpecification.md) that can be used\n * when creating the nodes.\n */\n relatedInstances?: RelatedInstanceSpecification[];\n\n /**\n * Specifications of [nested child node rules]($docs/presentation/hierarchies/Terminology.md#nested-rule) that\n * allow creating child nodes without the need of supplying a condition to match the parent node.\n */\n nestedRules?: ChildNodeRule[];\n}\n\n/**\n * A container of default grouping properties. Used for specifications that support\n * default grouping. Not meant to be used directly, see [[ChildNodeSpecification]].\n *\n * @public\n */\nexport interface DefaultGroupingPropertiesContainer {\n /** Controls whether returned instances should be grouped by ECClass. Defaults to `true`. */\n groupByClass?: boolean;\n\n /** Controls whether returned instances should be grouped by label. Defaults to `true`. */\n groupByLabel?: boolean;\n}\n\n/**\n * Hierarchy rule specifications that define what nodes are going to be returned by the rule.\n *\n * @see [Child node specifications reference documentation section]($docs/presentation/hierarchies/ChildNodeRule.md#attribute-specifications)\n * @public\n */\nexport type ChildNodeSpecification =\n | CustomNodeSpecification\n | InstanceNodesOfSpecificClassesSpecification\n | RelatedInstanceNodesSpecification\n | CustomQueryInstanceNodesSpecification;\n"]}
@@ -1,7 +1,7 @@
1
1
  /** @packageDocumentation
2
2
  * @module PresentationRules
3
3
  */
4
- import { ChildNodeSpecificationBase } from "./ChildNodeSpecification";
4
+ import { ChildNodeSpecificationBase } from "./ChildNodeSpecification.js";
5
5
  /**
6
6
  * Returns a static custom-defined node that's not based on an ECInstance.
7
7
  *
@@ -26,6 +26,8 @@ export interface CustomNodeSpecification extends ChildNodeSpecificationBase {
26
26
  /**
27
27
  * Specifies node's image ID. If set, the ID is assigned to [[Node.imageId]] and it's
28
28
  * up to the UI component to decide what to do with it.
29
+ *
30
+ * @deprecated in 5.x. Use [[ExtendedDataRule]] instead. See [extended data usage page]($docs/presentation/customization/ExtendedDataUsage.md) for more details.
29
31
  */
30
32
  imageId?: string;
31
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CustomNodeSpecification.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/CustomNodeSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,WAAW,uBAAwB,SAAQ,0BAA0B;IACzE,oCAAoC;IACpC,QAAQ,EAAE,YAAY,CAAC;IAEvB,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"CustomNodeSpecification.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/CustomNodeSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAEzE;;;;;GAKG;AACH,MAAM,WAAW,uBAAwB,SAAQ,0BAA0B;IACzE,oCAAoC;IACpC,QAAQ,EAAE,YAAY,CAAC;IAEvB,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -1 +1 @@
1
- {"version":3,"file":"CustomNodeSpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/CustomNodeSpecification.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","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 PresentationRules\r\n */\r\n\r\nimport { ChildNodeSpecificationBase } from \"./ChildNodeSpecification\";\r\n\r\n/**\r\n * Returns a static custom-defined node that's not based on an ECInstance.\r\n *\r\n * @see [Custom node specification reference documentation page]($docs/presentation/hierarchies/CustomNode.md)\r\n * @public\r\n */\r\nexport interface CustomNodeSpecification extends ChildNodeSpecificationBase {\r\n /** Used for serializing to JSON. */\r\n specType: \"CustomNode\";\r\n\r\n /** Specifies node type, which is assigned to node's key. */\r\n type: string;\r\n\r\n /**\r\n * Specifies node label. This is a string value that may be [localized]($docs/presentation/advanced/Localization.md).\r\n */\r\n label: string;\r\n\r\n /**\r\n * Specifies the value of [[Node.description]] property, which is a string that may\r\n * be [localized]($docs/presentation/advanced/Localization.md). UI component displaying the node may choose\r\n * whether and how to surface this information to users.\r\n */\r\n description?: string;\r\n\r\n /**\r\n * Specifies node's image ID. If set, the ID is assigned to [[Node.imageId]] and it's\r\n * up to the UI component to decide what to do with it.\r\n */\r\n imageId?: string;\r\n}\r\n"]}
1
+ {"version":3,"file":"CustomNodeSpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/CustomNodeSpecification.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module PresentationRules\n */\n\nimport { ChildNodeSpecificationBase } from \"./ChildNodeSpecification.js\";\n\n/**\n * Returns a static custom-defined node that's not based on an ECInstance.\n *\n * @see [Custom node specification reference documentation page]($docs/presentation/hierarchies/CustomNode.md)\n * @public\n */\nexport interface CustomNodeSpecification extends ChildNodeSpecificationBase {\n /** Used for serializing to JSON. */\n specType: \"CustomNode\";\n\n /** Specifies node type, which is assigned to node's key. */\n type: string;\n\n /**\n * Specifies node label. This is a string value that may be [localized]($docs/presentation/advanced/Localization.md).\n */\n label: string;\n\n /**\n * Specifies the value of [[Node.description]] property, which is a string that may\n * be [localized]($docs/presentation/advanced/Localization.md). UI component displaying the node may choose\n * whether and how to surface this information to users.\n */\n description?: string;\n\n /**\n * Specifies node's image ID. If set, the ID is assigned to [[Node.imageId]] and it's\n * up to the UI component to decide what to do with it.\n *\n * @deprecated in 5.x. Use [[ExtendedDataRule]] instead. See [extended data usage page]($docs/presentation/customization/ExtendedDataUsage.md) for more details.\n */\n imageId?: string;\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  /** @packageDocumentation
2
2
  * @module PresentationRules
3
3
  */
4
- import { SingleSchemaClassSpecification } from "../ClassSpecifications";
5
- import { ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer } from "./ChildNodeSpecification";
4
+ import { SingleSchemaClassSpecification } from "../ClassSpecifications.js";
5
+ import { ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer } from "./ChildNodeSpecification.js";
6
6
  /**
7
7
  * Returns nodes for instances returned by a provided ECSQL query.
8
8
  *
@@ -1 +1 @@
1
- {"version":3,"file":"CustomQueryInstanceNodesSpecification.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAC;AAE1G;;;;;GAKG;AACH,MAAM,WAAW,qCAAsC,SAAQ,0BAA0B,EAAE,kCAAkC;IAC3H,oCAAoC;IACpC,QAAQ,EAAE,0BAA0B,CAAC;IAErC;;;OAGG;IACH,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAChC;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,MAAM,kBAAkB,GAAG,wBAAwB,GAAG,iCAAiC,CAAC;AAEtG;;;GAGG;AACH,oBAAY,uBAAuB;IACjC,MAAM,WAAW;IACjB,eAAe,oBAAoB;CACpC;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,QAAQ,EAAE,GAAG,uBAAuB,EAAE,CAAC;IAEvC;;;;OAIG;IACH,KAAK,EAAE,8BAA8B,CAAC;CACvC;AAED;;;;;GAKG;AACH,MAAM,WAAW,wBAAyB,SAAQ,sBAAsB;IACtE,oCAAoC;IACpC,QAAQ,EAAE,QAAQ,CAAC;IAEnB,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iCAAkC,SAAQ,sBAAsB;IAC/E,oCAAoC;IACpC,QAAQ,EAAE,iBAAiB,CAAC;IAE5B;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B"}
1
+ {"version":3,"file":"CustomQueryInstanceNodesSpecification.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,kCAAkC,EAAE,MAAM,6BAA6B,CAAC;AAE7G;;;;;GAKG;AACH,MAAM,WAAW,qCAAsC,SAAQ,0BAA0B,EAAE,kCAAkC;IAC3H,oCAAoC;IACpC,QAAQ,EAAE,0BAA0B,CAAC;IAErC;;;OAGG;IACH,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAChC;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,MAAM,kBAAkB,GAAG,wBAAwB,GAAG,iCAAiC,CAAC;AAEtG;;;GAGG;AACH,oBAAY,uBAAuB;IACjC,MAAM,WAAW;IACjB,eAAe,oBAAoB;CACpC;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,QAAQ,EAAE,GAAG,uBAAuB,EAAE,CAAC;IAEvC;;;;OAIG;IACH,KAAK,EAAE,8BAA8B,CAAC;CACvC;AAED;;;;;GAKG;AACH,MAAM,WAAW,wBAAyB,SAAQ,sBAAsB;IACtE,oCAAoC;IACpC,QAAQ,EAAE,QAAQ,CAAC;IAEnB,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iCAAkC,SAAQ,sBAAsB;IAC/E,oCAAoC;IACpC,QAAQ,EAAE,iBAAiB,CAAC;IAE5B;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"CustomQueryInstanceNodesSpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AA8BH;;;GAGG;AACH,MAAM,CAAN,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,8DAAmC,CAAA;AACrC,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,QAGlC","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 PresentationRules\r\n */\r\n\r\nimport { SingleSchemaClassSpecification } from \"../ClassSpecifications\";\r\nimport { ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer } from \"./ChildNodeSpecification\";\r\n\r\n/**\r\n * Returns nodes for instances returned by a provided ECSQL query.\r\n *\r\n * @see [Custom query instance nodes specification reference documentation page]($docs/presentation/hierarchies/CustomQueryInstanceNodes.md)\r\n * @public\r\n */\r\nexport interface CustomQueryInstanceNodesSpecification extends ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer {\r\n /** Used for serializing to JSON. */\r\n specType: \"CustomQueryInstanceNodes\";\r\n\r\n /**\r\n * Specifications of queries used to create the content. Query specifications define the actual\r\n * results of the specification.\r\n */\r\n queries?: QuerySpecification[];\r\n}\r\n\r\n/**\r\n * Query specifications used in [[CustomQueryInstanceNodesSpecification]].\r\n *\r\n * @see [Custom query specifications reference documentation section]($docs/presentation/hierarchies/CustomQueryInstanceNodes.md#attribute-queries)\r\n * @public\r\n */\r\nexport declare type QuerySpecification = StringQuerySpecification | ECPropertyValueQuerySpecification;\r\n\r\n/**\r\n * Used for serializing array of [[QuerySpecification]] to JSON.\r\n * @public\r\n */\r\nexport enum QuerySpecificationTypes {\r\n String = \"String\",\r\n ECPropertyValue = \"ECPropertyValue\",\r\n}\r\n\r\n/**\r\n * Base interface for all [[QuerySpecification]] implementations.\r\n * @public\r\n */\r\nexport interface QuerySpecificationBase {\r\n /**\r\n * Used for serializing to JSON.\r\n * @see QuerySpecificationTypes\r\n */\r\n specType: `${QuerySpecificationTypes}`;\r\n\r\n /**\r\n * Specification of ECClass whose instances the query returns. The specification may also point to a\r\n * base class of instances returned by the query. If the query returns instances that are not of this\r\n * class, they aren't included in the result set.\r\n */\r\n class: SingleSchemaClassSpecification;\r\n}\r\n\r\n/**\r\n * The specification contains an ECSQL query which is used to query for instances.\r\n *\r\n * @see [String query specification reference documentation section]($docs/presentation/hierarchies/CustomQueryInstanceNodes.md#string-query-specification)\r\n * @public\r\n */\r\nexport interface StringQuerySpecification extends QuerySpecificationBase {\r\n /** Used for serializing to JSON. */\r\n specType: \"String\";\r\n\r\n /** Specifies the search ECSQL query. */\r\n query: string;\r\n}\r\n\r\n/**\r\n * The specification specifies the name of the parent node instance property whose value is the ECSQL\r\n * used to query for instances.\r\n *\r\n * @see [ECProperty value query specification reference documentation section]($docs/presentation/hierarchies/CustomQueryInstanceNodes.md#ecproperty-value-query-specification)\r\n * @public\r\n */\r\nexport interface ECPropertyValueQuerySpecification extends QuerySpecificationBase {\r\n /** Used for serializing to JSON. */\r\n specType: \"ECPropertyValue\";\r\n\r\n /**\r\n * Specifies name of the parent instance property whose value contains the ECSQL query.\r\n */\r\n parentPropertyName: string;\r\n}\r\n"]}
1
+ {"version":3,"file":"CustomQueryInstanceNodesSpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AA8BH;;;GAGG;AACH,MAAM,CAAN,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,8DAAmC,CAAA;AACrC,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,QAGlC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module PresentationRules\n */\n\nimport { SingleSchemaClassSpecification } from \"../ClassSpecifications.js\";\nimport { ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer } from \"./ChildNodeSpecification.js\";\n\n/**\n * Returns nodes for instances returned by a provided ECSQL query.\n *\n * @see [Custom query instance nodes specification reference documentation page]($docs/presentation/hierarchies/CustomQueryInstanceNodes.md)\n * @public\n */\nexport interface CustomQueryInstanceNodesSpecification extends ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer {\n /** Used for serializing to JSON. */\n specType: \"CustomQueryInstanceNodes\";\n\n /**\n * Specifications of queries used to create the content. Query specifications define the actual\n * results of the specification.\n */\n queries?: QuerySpecification[];\n}\n\n/**\n * Query specifications used in [[CustomQueryInstanceNodesSpecification]].\n *\n * @see [Custom query specifications reference documentation section]($docs/presentation/hierarchies/CustomQueryInstanceNodes.md#attribute-queries)\n * @public\n */\nexport declare type QuerySpecification = StringQuerySpecification | ECPropertyValueQuerySpecification;\n\n/**\n * Used for serializing array of [[QuerySpecification]] to JSON.\n * @public\n */\nexport enum QuerySpecificationTypes {\n String = \"String\",\n ECPropertyValue = \"ECPropertyValue\",\n}\n\n/**\n * Base interface for all [[QuerySpecification]] implementations.\n * @public\n */\nexport interface QuerySpecificationBase {\n /**\n * Used for serializing to JSON.\n * @see QuerySpecificationTypes\n */\n specType: `${QuerySpecificationTypes}`;\n\n /**\n * Specification of ECClass whose instances the query returns. The specification may also point to a\n * base class of instances returned by the query. If the query returns instances that are not of this\n * class, they aren't included in the result set.\n */\n class: SingleSchemaClassSpecification;\n}\n\n/**\n * The specification contains an ECSQL query which is used to query for instances.\n *\n * @see [String query specification reference documentation section]($docs/presentation/hierarchies/CustomQueryInstanceNodes.md#string-query-specification)\n * @public\n */\nexport interface StringQuerySpecification extends QuerySpecificationBase {\n /** Used for serializing to JSON. */\n specType: \"String\";\n\n /** Specifies the search ECSQL query. */\n query: string;\n}\n\n/**\n * The specification specifies the name of the parent node instance property whose value is the ECSQL\n * used to query for instances.\n *\n * @see [ECProperty value query specification reference documentation section]($docs/presentation/hierarchies/CustomQueryInstanceNodes.md#ecproperty-value-query-specification)\n * @public\n */\nexport interface ECPropertyValueQuerySpecification extends QuerySpecificationBase {\n /** Used for serializing to JSON. */\n specType: \"ECPropertyValue\";\n\n /**\n * Specifies name of the parent instance property whose value contains the ECSQL query.\n */\n parentPropertyName: string;\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  /** @packageDocumentation
2
2
  * @module PresentationRules
3
3
  */
4
- import { MultiSchemaClassesSpecification } from "../ClassSpecifications";
5
- import { ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer } from "./ChildNodeSpecification";
4
+ import { MultiSchemaClassesSpecification } from "../ClassSpecifications.js";
5
+ import { ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer } from "./ChildNodeSpecification.js";
6
6
  /**
7
7
  * Returns nodes for instances of specific ECClasses.
8
8
  *
@@ -22,15 +22,6 @@ export interface InstanceNodesOfSpecificClassesSpecification extends ChildNodeSp
22
22
  * prevents specified ECClasses and subclasses from being selected by [[classes]] attribute.
23
23
  */
24
24
  excludedClasses?: MultiSchemaClassesSpecification | MultiSchemaClassesSpecification[];
25
- /**
26
- * Tells whether selecting instances from ECClasses specified in [[classes]] and [[excludedClasses]]
27
- * attributes should be polymorphic or not.
28
- *
29
- * @deprecated in 3.x. The attribute was replaced by `arePolymorphic` attribute specified individually for each class definition
30
- * under [[classes]] and [[excludedClasses]] attributes. At the moment, to keep backwards compatibility, this attribute acts
31
- * as a fallback value in case the flag is not specified individually for a class definition.
32
- */
33
- arePolymorphic?: boolean;
34
25
  /**
35
26
  * Specifies an [ECExpression]($docs/presentation/hierarchies/ECExpressions.md#instance-filter) for filtering
36
27
  * instances of ECClasses specified through the [[classes]] attribute.
@@ -1 +1 @@
1
- {"version":3,"file":"InstanceNodesOfSpecificClassesSpecification.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAC;AAE1G;;;;;GAKG;AACH,MAAM,WAAW,2CAA4C,SAAQ,0BAA0B,EAAE,kCAAkC;IACjI,oCAAoC;IACpC,QAAQ,EAAE,gCAAgC,CAAC;IAE3C;;;OAGG;IACH,OAAO,EAAE,+BAA+B,GAAG,+BAA+B,EAAE,CAAC;IAE7E;;;OAGG;IACH,eAAe,CAAC,EAAE,+BAA+B,GAAG,+BAA+B,EAAE,CAAC;IAEtF;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"InstanceNodesOfSpecificClassesSpecification.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,+BAA+B,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,0BAA0B,EAAE,kCAAkC,EAAE,MAAM,6BAA6B,CAAC;AAE7G;;;;;GAKG;AACH,MAAM,WAAW,2CAA4C,SAAQ,0BAA0B,EAAE,kCAAkC;IACjI,oCAAoC;IACpC,QAAQ,EAAE,gCAAgC,CAAC;IAE3C;;;OAGG;IACH,OAAO,EAAE,+BAA+B,GAAG,+BAA+B,EAAE,CAAC;IAE7E;;;OAGG;IACH,eAAe,CAAC,EAAE,+BAA+B,GAAG,+BAA+B,EAAE,CAAC;IAEtF;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"InstanceNodesOfSpecificClassesSpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","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 PresentationRules\r\n */\r\n\r\nimport { MultiSchemaClassesSpecification } from \"../ClassSpecifications\";\r\nimport { ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer } from \"./ChildNodeSpecification\";\r\n\r\n/**\r\n * Returns nodes for instances of specific ECClasses.\r\n *\r\n * @see [Instance nodes of specific classes specification reference documentation page]($docs/presentation/hierarchies/InstanceNodesOfSpecificClasses.md)\r\n * @public\r\n */\r\nexport interface InstanceNodesOfSpecificClassesSpecification extends ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer {\r\n /** Used for serializing to JSON. */\r\n specType: \"InstanceNodesOfSpecificClasses\";\r\n\r\n /**\r\n * Defines a set of [multi schema classes]($docs/presentation/MultiSchemaClassesSpecification.md) that\r\n * specify which ECClasses need to be selected to form the result.\r\n */\r\n classes: MultiSchemaClassesSpecification | MultiSchemaClassesSpecification[];\r\n\r\n /**\r\n * Defines a set of [multi schema classes]($docs/presentation/MultiSchemaClassesSpecification.md) that\r\n * prevents specified ECClasses and subclasses from being selected by [[classes]] attribute.\r\n */\r\n excludedClasses?: MultiSchemaClassesSpecification | MultiSchemaClassesSpecification[];\r\n\r\n /**\r\n * Tells whether selecting instances from ECClasses specified in [[classes]] and [[excludedClasses]]\r\n * attributes should be polymorphic or not.\r\n *\r\n * @deprecated in 3.x. The attribute was replaced by `arePolymorphic` attribute specified individually for each class definition\r\n * under [[classes]] and [[excludedClasses]] attributes. At the moment, to keep backwards compatibility, this attribute acts\r\n * as a fallback value in case the flag is not specified individually for a class definition.\r\n */\r\n arePolymorphic?: boolean;\r\n\r\n /**\r\n * Specifies an [ECExpression]($docs/presentation/hierarchies/ECExpressions.md#instance-filter) for filtering\r\n * instances of ECClasses specified through the [[classes]] attribute.\r\n */\r\n instanceFilter?: string;\r\n}\r\n"]}
1
+ {"version":3,"file":"InstanceNodesOfSpecificClassesSpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module PresentationRules\n */\n\nimport { MultiSchemaClassesSpecification } from \"../ClassSpecifications.js\";\nimport { ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer } from \"./ChildNodeSpecification.js\";\n\n/**\n * Returns nodes for instances of specific ECClasses.\n *\n * @see [Instance nodes of specific classes specification reference documentation page]($docs/presentation/hierarchies/InstanceNodesOfSpecificClasses.md)\n * @public\n */\nexport interface InstanceNodesOfSpecificClassesSpecification extends ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer {\n /** Used for serializing to JSON. */\n specType: \"InstanceNodesOfSpecificClasses\";\n\n /**\n * Defines a set of [multi schema classes]($docs/presentation/MultiSchemaClassesSpecification.md) that\n * specify which ECClasses need to be selected to form the result.\n */\n classes: MultiSchemaClassesSpecification | MultiSchemaClassesSpecification[];\n\n /**\n * Defines a set of [multi schema classes]($docs/presentation/MultiSchemaClassesSpecification.md) that\n * prevents specified ECClasses and subclasses from being selected by [[classes]] attribute.\n */\n excludedClasses?: MultiSchemaClassesSpecification | MultiSchemaClassesSpecification[];\n\n /**\n * Specifies an [ECExpression]($docs/presentation/hierarchies/ECExpressions.md#instance-filter) for filtering\n * instances of ECClasses specified through the [[classes]] attribute.\n */\n instanceFilter?: string;\n}\n"]}
@@ -1,12 +1,12 @@
1
1
  /** @packageDocumentation
2
2
  * @module PresentationRules
3
3
  */
4
- import { CustomizationRule } from "../customization/CustomizationRule";
5
- import { RuleBase } from "../Rule";
6
- import { ChildNodeRule } from "./ChildNodeRule";
7
- import { ChildNodeSpecification } from "./ChildNodeSpecification";
8
- import { RootNodeRule } from "./RootNodeRule";
9
- import { SubCondition } from "./SubCondition";
4
+ import { CustomizationRule } from "../customization/CustomizationRule.js";
5
+ import { RuleBase } from "../Rule.js";
6
+ import { ChildNodeRule } from "./ChildNodeRule.js";
7
+ import { ChildNodeSpecification } from "./ChildNodeSpecification.js";
8
+ import { RootNodeRule } from "./RootNodeRule.js";
9
+ import { SubCondition } from "./SubCondition.js";
10
10
  /**
11
11
  * Base class for all [[NavigationRule]] implementations.
12
12
  *
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationRule.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/NavigationRule.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;;;GAKG;AACH,MAAM,WAAW,kBAAmB,SAAQ,QAAQ;IAClD;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,sBAAsB,EAAE,CAAC;IAE1C;;;OAGG;IACH,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAEzC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAE/B;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,aAAa,CAAC"}
1
+ {"version":3,"file":"NavigationRule.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/NavigationRule.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD;;;;;GAKG;AACH,MAAM,WAAW,kBAAmB,SAAQ,QAAQ;IAClD;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,sBAAsB,EAAE,CAAC;IAE1C;;;OAGG;IACH,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAEzC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAE/B;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationRule.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/NavigationRule.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","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 PresentationRules\r\n */\r\n\r\nimport { CustomizationRule } from \"../customization/CustomizationRule\";\r\nimport { RuleBase } from \"../Rule\";\r\nimport { ChildNodeRule } from \"./ChildNodeRule\";\r\nimport { ChildNodeSpecification } from \"./ChildNodeSpecification\";\r\nimport { RootNodeRule } from \"./RootNodeRule\";\r\nimport { SubCondition } from \"./SubCondition\";\r\n\r\n/**\r\n * Base class for all [[NavigationRule]] implementations.\r\n *\r\n * @see [Hierarchies reference documentation page]($docs/presentation/hierarchies/index.md)\r\n * @public\r\n */\r\nexport interface NavigationRuleBase extends RuleBase {\r\n /**\r\n * Defines a condition which needs to be met in order for the rule to be used. The condition is an\r\n * [ECExpression]($docs/presentation/hierarchies/ECExpressions.md#rule-condition) which has to evaluate\r\n * to a boolean value.\r\n */\r\n condition?: string;\r\n\r\n /**\r\n * A list of hierarchy specifications that define what nodes are going to be returned.\r\n */\r\n specifications?: ChildNodeSpecification[];\r\n\r\n /**\r\n * A list of [customization rules]($docs/presentation/hierarchies/index.md#hierarchy-customization) that\r\n * apply only to nodes produced by this rule.\r\n */\r\n customizationRules?: CustomizationRule[];\r\n\r\n /**\r\n * A list of sub-rules which share *placement attributes* and\r\n * [nested customization rules]($docs/presentation/hierarchies/ChildNodeRule.md#attribute-customizationrules)\r\n * of the hierarchy rule. This means the attributes of hierarchy rule are still in effect and the sub-rules\r\n * can add additional condition of their own.\r\n */\r\n subConditions?: SubCondition[];\r\n\r\n /**\r\n * Stop processing rules that have lower priority. Used in cases when recursion suppression is needed.\r\n */\r\n stopFurtherProcessing?: boolean;\r\n}\r\n\r\n/**\r\n * Navigation rules are used to define hierarchies displayed in tree components.\r\n *\r\n * @see [Hierarchies reference documentation page]($docs/presentation/hierarchies/index.md)\r\n * @public\r\n */\r\nexport type NavigationRule = RootNodeRule | ChildNodeRule;\r\n"]}
1
+ {"version":3,"file":"NavigationRule.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/NavigationRule.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module PresentationRules\n */\n\nimport { CustomizationRule } from \"../customization/CustomizationRule.js\";\nimport { RuleBase } from \"../Rule.js\";\nimport { ChildNodeRule } from \"./ChildNodeRule.js\";\nimport { ChildNodeSpecification } from \"./ChildNodeSpecification.js\";\nimport { RootNodeRule } from \"./RootNodeRule.js\";\nimport { SubCondition } from \"./SubCondition.js\";\n\n/**\n * Base class for all [[NavigationRule]] implementations.\n *\n * @see [Hierarchies reference documentation page]($docs/presentation/hierarchies/index.md)\n * @public\n */\nexport interface NavigationRuleBase extends RuleBase {\n /**\n * Defines a condition which needs to be met in order for the rule to be used. The condition is an\n * [ECExpression]($docs/presentation/hierarchies/ECExpressions.md#rule-condition) which has to evaluate\n * to a boolean value.\n */\n condition?: string;\n\n /**\n * A list of hierarchy specifications that define what nodes are going to be returned.\n */\n specifications?: ChildNodeSpecification[];\n\n /**\n * A list of [customization rules]($docs/presentation/hierarchies/index.md#hierarchy-customization) that\n * apply only to nodes produced by this rule.\n */\n customizationRules?: CustomizationRule[];\n\n /**\n * A list of sub-rules which share *placement attributes* and\n * [nested customization rules]($docs/presentation/hierarchies/ChildNodeRule.md#attribute-customizationrules)\n * of the hierarchy rule. This means the attributes of hierarchy rule are still in effect and the sub-rules\n * can add additional condition of their own.\n */\n subConditions?: SubCondition[];\n\n /**\n * Stop processing rules that have lower priority. Used in cases when recursion suppression is needed.\n */\n stopFurtherProcessing?: boolean;\n}\n\n/**\n * Navigation rules are used to define hierarchies displayed in tree components.\n *\n * @see [Hierarchies reference documentation page]($docs/presentation/hierarchies/index.md)\n * @public\n */\nexport type NavigationRule = RootNodeRule | ChildNodeRule;\n"]}
@@ -1,7 +1,7 @@
1
1
  /** @packageDocumentation
2
2
  * @module PresentationRules
3
3
  */
4
- import { RuleBase } from "../Rule";
4
+ import { RuleBase } from "../Rule.js";
5
5
  /**
6
6
  * Node artifacts rules are used to create and assign artifacts to specific nodes. The artifacts can be
7
7
  * accessed when evaluating parent node's `hideExpression` to decide whether it should be hidden or not.
@@ -1 +1 @@
1
- {"version":3,"file":"NodeArtifactsRule.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/NodeArtifactsRule.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC;;;;;;GAMG;AACH,MAAM,WAAW,iBAAkB,SAAQ,QAAQ;IACjD,oCAAoC;IACpC,QAAQ,EAAE,eAAe,CAAC;IAE1B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,KAAK,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAClC"}
1
+ {"version":3,"file":"NodeArtifactsRule.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/NodeArtifactsRule.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;;;;;GAMG;AACH,MAAM,WAAW,iBAAkB,SAAQ,QAAQ;IACjD,oCAAoC;IACpC,QAAQ,EAAE,eAAe,CAAC;IAE1B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,KAAK,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAClC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NodeArtifactsRule.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/NodeArtifactsRule.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","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 PresentationRules\r\n */\r\n\r\nimport { RuleBase } from \"../Rule\";\r\n\r\n/**\r\n * Node artifacts rules are used to create and assign artifacts to specific nodes. The artifacts can be\r\n * accessed when evaluating parent node's `hideExpression` to decide whether it should be hidden or not.\r\n *\r\n * @see [Node artifacts rule reference documentation page]($docs/presentation/hierarchies/NodeArtifactsRule.md)\r\n * @public\r\n */\r\nexport interface NodeArtifactsRule extends RuleBase {\r\n /** Used for serializing to JSON. */\r\n ruleType: \"NodeArtifacts\";\r\n\r\n /**\r\n * Specifies an [ECExpression]($docs/presentation/customization/ECExpressions.md#rule-condition) that\r\n * allows applying node artifacts based on evaluation result, e.g. by some property of the parent node.\r\n */\r\n condition?: string;\r\n\r\n /**\r\n * A map of [ECExpressions]($docs/presentation/hierarchies/ECExpressions.md#specification) whose evaluation results\r\n * are used as artifact values.\r\n */\r\n items: { [key: string]: string };\r\n}\r\n"]}
1
+ {"version":3,"file":"NodeArtifactsRule.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/NodeArtifactsRule.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module PresentationRules\n */\n\nimport { RuleBase } from \"../Rule.js\";\n\n/**\n * Node artifacts rules are used to create and assign artifacts to specific nodes. The artifacts can be\n * accessed when evaluating parent node's `hideExpression` to decide whether it should be hidden or not.\n *\n * @see [Node artifacts rule reference documentation page]($docs/presentation/hierarchies/NodeArtifactsRule.md)\n * @public\n */\nexport interface NodeArtifactsRule extends RuleBase {\n /** Used for serializing to JSON. */\n ruleType: \"NodeArtifacts\";\n\n /**\n * Specifies an [ECExpression]($docs/presentation/customization/ECExpressions.md#rule-condition) that\n * allows applying node artifacts based on evaluation result, e.g. by some property of the parent node.\n */\n condition?: string;\n\n /**\n * A map of [ECExpressions]($docs/presentation/hierarchies/ECExpressions.md#specification) whose evaluation results\n * are used as artifact values.\n */\n items: { [key: string]: string };\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  /** @packageDocumentation
2
2
  * @module PresentationRules
3
3
  */
4
- import { RepeatableRelationshipPathSpecification } from "../RelationshipPathSpecification";
5
- import { ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer } from "./ChildNodeSpecification";
4
+ import { RepeatableRelationshipPathSpecification } from "../RelationshipPathSpecification.js";
5
+ import { ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer } from "./ChildNodeSpecification.js";
6
6
  /**
7
7
  * Produces ECInstance nodes that are related to some source ECInstance. The source instance is determined
8
8
  * by traversing the hierarchy upwards until an ECInstance node is encountered.
@@ -1 +1 @@
1
- {"version":3,"file":"RelatedInstanceNodesSpecification.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,uCAAuC,EAAE,MAAM,kCAAkC,CAAC;AAC3F,OAAO,EAAE,0BAA0B,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAC;AAE1G;;;;;;GAMG;AACH,MAAM,WAAW,iCAAkC,SAAQ,0BAA0B,EAAE,kCAAkC;IACvH,oCAAoC;IACpC,QAAQ,EAAE,sBAAsB,CAAC;IAEjC;;;;OAIG;IACH,iBAAiB,EAAE,uCAAuC,EAAE,CAAC;IAE7D;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"RelatedInstanceNodesSpecification.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,uCAAuC,EAAE,MAAM,qCAAqC,CAAC;AAC9F,OAAO,EAAE,0BAA0B,EAAE,kCAAkC,EAAE,MAAM,6BAA6B,CAAC;AAE7G;;;;;;GAMG;AACH,MAAM,WAAW,iCAAkC,SAAQ,0BAA0B,EAAE,kCAAkC;IACvH,oCAAoC;IACpC,QAAQ,EAAE,sBAAsB,CAAC;IAEjC;;;;OAIG;IACH,iBAAiB,EAAE,uCAAuC,EAAE,CAAC;IAE7D;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"RelatedInstanceNodesSpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","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 PresentationRules\r\n */\r\n\r\nimport { RepeatableRelationshipPathSpecification } from \"../RelationshipPathSpecification\";\r\nimport { ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer } from \"./ChildNodeSpecification\";\r\n\r\n/**\r\n * Produces ECInstance nodes that are related to some source ECInstance. The source instance is determined\r\n * by traversing the hierarchy upwards until an ECInstance node is encountered.\r\n *\r\n * @see [Related instance nodes specification reference documentation page]($docs/presentation/hierarchies/RelatedInstanceNodes.md)\r\n * @public\r\n */\r\nexport interface RelatedInstanceNodesSpecification extends ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer {\r\n /** Used for serializing to JSON. */\r\n specType: \"RelatedInstanceNodes\";\r\n\r\n /**\r\n * Specifies a chain of [relationship path specifications]($docs/presentation/RepeatableRelationshipPathSpecification.md)\r\n * that forms a path from a source instance to the output instances. When this array is empty, the specification produces\r\n * no results.\r\n */\r\n relationshipPaths: RepeatableRelationshipPathSpecification[];\r\n\r\n /**\r\n * Specifies an [ECExpression]($docs/presentation/hierarchies/ECExpressions.md#instance-filter) for filtering\r\n * instances of ECClasses targeted through the [[relationshipPaths]] attribute.\r\n */\r\n instanceFilter?: string;\r\n}\r\n"]}
1
+ {"version":3,"file":"RelatedInstanceNodesSpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module PresentationRules\n */\n\nimport { RepeatableRelationshipPathSpecification } from \"../RelationshipPathSpecification.js\";\nimport { ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer } from \"./ChildNodeSpecification.js\";\n\n/**\n * Produces ECInstance nodes that are related to some source ECInstance. The source instance is determined\n * by traversing the hierarchy upwards until an ECInstance node is encountered.\n *\n * @see [Related instance nodes specification reference documentation page]($docs/presentation/hierarchies/RelatedInstanceNodes.md)\n * @public\n */\nexport interface RelatedInstanceNodesSpecification extends ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer {\n /** Used for serializing to JSON. */\n specType: \"RelatedInstanceNodes\";\n\n /**\n * Specifies a chain of [relationship path specifications]($docs/presentation/RepeatableRelationshipPathSpecification.md)\n * that forms a path from a source instance to the output instances. When this array is empty, the specification produces\n * no results.\n */\n relationshipPaths: RepeatableRelationshipPathSpecification[];\n\n /**\n * Specifies an [ECExpression]($docs/presentation/hierarchies/ECExpressions.md#instance-filter) for filtering\n * instances of ECClasses targeted through the [[relationshipPaths]] attribute.\n */\n instanceFilter?: string;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  /** @packageDocumentation
2
2
  * @module PresentationRules
3
3
  */
4
- import { NavigationRuleBase } from "./NavigationRule";
4
+ import { NavigationRuleBase } from "./NavigationRule.js";
5
5
  /**
6
6
  * Root node rules are used to define nodes that are displayed at the root hierarchy level.
7
7
  *
@@ -1 +1 @@
1
- {"version":3,"file":"RootNodeRule.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/RootNodeRule.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,WAAW,YAAa,SAAQ,kBAAkB;IACtD,oCAAoC;IACpC,QAAQ,EAAE,WAAW,CAAC;IAEtB,gHAAgH;IAChH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
1
+ {"version":3,"file":"RootNodeRule.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/RootNodeRule.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD;;;;;GAKG;AACH,MAAM,WAAW,YAAa,SAAQ,kBAAkB;IACtD,oCAAoC;IACpC,QAAQ,EAAE,WAAW,CAAC;IAEtB,gHAAgH;IAChH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"RootNodeRule.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/RootNodeRule.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","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 PresentationRules\r\n */\r\n\r\nimport { NavigationRuleBase } from \"./NavigationRule\";\r\n\r\n/**\r\n * Root node rules are used to define nodes that are displayed at the root hierarchy level.\r\n *\r\n * @see [Root node rule reference documentation page]($docs/presentation/hierarchies/RootNodeRule.md)\r\n * @public\r\n */\r\nexport interface RootNodeRule extends NavigationRuleBase {\r\n /** Used for serializing to JSON. */\r\n ruleType: \"RootNodes\";\r\n\r\n /** Tells the library to assign produced nodes a flag, indicating that they should be automatically expanded. */\r\n autoExpand?: boolean;\r\n}\r\n"]}
1
+ {"version":3,"file":"RootNodeRule.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/RootNodeRule.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module PresentationRules\n */\n\nimport { NavigationRuleBase } from \"./NavigationRule.js\";\n\n/**\n * Root node rules are used to define nodes that are displayed at the root hierarchy level.\n *\n * @see [Root node rule reference documentation page]($docs/presentation/hierarchies/RootNodeRule.md)\n * @public\n */\nexport interface RootNodeRule extends NavigationRuleBase {\n /** Used for serializing to JSON. */\n ruleType: \"RootNodes\";\n\n /** Tells the library to assign produced nodes a flag, indicating that they should be automatically expanded. */\n autoExpand?: boolean;\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  /** @packageDocumentation
2
2
  * @module PresentationRules
3
3
  */
4
- import { RequiredSchemaSpecification } from "../SchemasSpecification";
5
- import { ChildNodeSpecification } from "./ChildNodeSpecification";
4
+ import { RequiredSchemaSpecification } from "../SchemasSpecification.js";
5
+ import { ChildNodeSpecification } from "./ChildNodeSpecification.js";
6
6
  /**
7
7
  * This is a sub-rule which shares *placement attributes* and
8
8
  * [nested customization rules]($docs/presentation/hierarchies/ChildNodeRule.md#attribute-customizationrules)
@@ -1 +1 @@
1
- {"version":3,"file":"SubCondition.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/SubCondition.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE;;;;;;;;GAQG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,eAAe,CAAC,EAAE,2BAA2B,EAAE,CAAC;IAEhD;;;;OAIG;IACH,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAE/B,0FAA0F;IAC1F,cAAc,CAAC,EAAE,sBAAsB,EAAE,CAAC;CAC3C"}
1
+ {"version":3,"file":"SubCondition.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/SubCondition.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE;;;;;;;;GAQG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,eAAe,CAAC,EAAE,2BAA2B,EAAE,CAAC;IAEhD;;;;OAIG;IACH,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAE/B,0FAA0F;IAC1F,cAAc,CAAC,EAAE,sBAAsB,EAAE,CAAC;CAC3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"SubCondition.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/SubCondition.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","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 PresentationRules\r\n */\r\n\r\nimport { RequiredSchemaSpecification } from \"../SchemasSpecification\";\r\nimport { ChildNodeSpecification } from \"./ChildNodeSpecification\";\r\n\r\n/**\r\n * This is a sub-rule which shares *placement attributes* and\r\n * [nested customization rules]($docs/presentation/hierarchies/ChildNodeRule.md#attribute-customizationrules)\r\n * of the hierarchy rule. This means the attributes of hierarchy rule are still in effect and the sub-rules\r\n * can add additional condition of their own.\r\n *\r\n * @see [Sub-conditions reference documentation section]($docs/presentation/hierarchies/ChildNodeRule.md#attribute-subconditions)\r\n * @public\r\n */\r\nexport interface SubCondition {\r\n /**\r\n * Defines a condition which needs to be met in order for the rule to be used. The condition is an\r\n * [ECExpression]($docs/presentation/hierarchies/ECExpressions.md#rule-condition) which has to evaluate\r\n * to a boolean value.\r\n */\r\n condition?: string;\r\n\r\n /**\r\n * Specifications that define [ECSchema requirements]($docs/presentation/RequiredSchemaSpecification.md) for\r\n * the rule to take effect.\r\n */\r\n requiredSchemas?: RequiredSchemaSpecification[];\r\n\r\n /**\r\n * A list of nested sub-rules which share *placement attributes* of this sub-condition. This means the\r\n * attributes of this sub-condition are still in effect and the sub-rules can add additional condition\r\n * of their own.\r\n */\r\n subConditions?: SubCondition[];\r\n\r\n /** A list of hierarchy specifications that define what nodes are going to be returned. */\r\n specifications?: ChildNodeSpecification[];\r\n}\r\n"]}
1
+ {"version":3,"file":"SubCondition.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/hierarchy/SubCondition.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module PresentationRules\n */\n\nimport { RequiredSchemaSpecification } from \"../SchemasSpecification.js\";\nimport { ChildNodeSpecification } from \"./ChildNodeSpecification.js\";\n\n/**\n * This is a sub-rule which shares *placement attributes* and\n * [nested customization rules]($docs/presentation/hierarchies/ChildNodeRule.md#attribute-customizationrules)\n * of the hierarchy rule. This means the attributes of hierarchy rule are still in effect and the sub-rules\n * can add additional condition of their own.\n *\n * @see [Sub-conditions reference documentation section]($docs/presentation/hierarchies/ChildNodeRule.md#attribute-subconditions)\n * @public\n */\nexport interface SubCondition {\n /**\n * Defines a condition which needs to be met in order for the rule to be used. The condition is an\n * [ECExpression]($docs/presentation/hierarchies/ECExpressions.md#rule-condition) which has to evaluate\n * to a boolean value.\n */\n condition?: string;\n\n /**\n * Specifications that define [ECSchema requirements]($docs/presentation/RequiredSchemaSpecification.md) for\n * the rule to take effect.\n */\n requiredSchemas?: RequiredSchemaSpecification[];\n\n /**\n * A list of nested sub-rules which share *placement attributes* of this sub-condition. This means the\n * attributes of this sub-condition are still in effect and the sub-rules can add additional condition\n * of their own.\n */\n subConditions?: SubCondition[];\n\n /** A list of hierarchy specifications that define what nodes are going to be returned. */\n specifications?: ChildNodeSpecification[];\n}\n"]}
@@ -4,6 +4,7 @@
4
4
  /**
5
5
  * Data structure that describes a [selection scope]($docs/presentation/unified-selection/index#selection-scopes).
6
6
  * @public
7
+ * @deprecated in 5.0. Use `Props<typeof computeSelection>["scope"]` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#selection-scopes) package instead.
7
8
  */
8
9
  export interface SelectionScope {
9
10
  /** Unique ID of the selection scope */
@@ -16,6 +17,7 @@ export interface SelectionScope {
16
17
  /**
17
18
  * A data structure that defines properties for applying element selection scope.
18
19
  * @public
20
+ * @deprecated in 5.0. Use `Props<typeof computeSelection>["scope"]` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#selection-scopes) package instead.
19
21
  */
20
22
  export interface ElementSelectionScopeProps {
21
23
  /** Identifies this as the "element" selection scope */
@@ -32,6 +34,7 @@ export interface ElementSelectionScopeProps {
32
34
  /**
33
35
  * A data structure that defines properties for applying a selection scope.
34
36
  * @public
37
+ * @deprecated in 5.0. Use `Props<typeof computeSelection>["scope"]` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#selection-scopes) package instead.
35
38
  */
36
39
  export type SelectionScopeProps = ElementSelectionScopeProps | {
37
40
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectionScope.d.ts","sourceRoot":"","sources":["../../../../src/presentation-common/selection/SelectionScope.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,YAAY;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC,uDAAuD;IACvD,EAAE,EAAE,SAAS,CAAC;IACd;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,0BAA0B,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SelectionScope.d.ts","sourceRoot":"","sources":["../../../../src/presentation-common/selection/SelectionScope.ts"],"names":[],"mappings":"AAKA;;GAEG;AAEH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,YAAY;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC,uDAAuD;IACvD,EAAE,EAAE,SAAS,CAAC;IACd;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,0BAA0B,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC"}
@@ -2,6 +2,7 @@
2
2
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
3
  * See LICENSE.md in the project root for license terms and full copyright notice.
4
4
  *--------------------------------------------------------------------------------------------*/
5
+ /* eslint-disable @typescript-eslint/no-deprecated */
5
6
  /** @packageDocumentation
6
7
  * @module UnifiedSelection
7
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"SelectionScope.js","sourceRoot":"","sources":["../../../../src/presentation-common/selection/SelectionScope.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","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 UnifiedSelection\r\n */\r\n\r\n/**\r\n * Data structure that describes a [selection scope]($docs/presentation/unified-selection/index#selection-scopes).\r\n * @public\r\n */\r\nexport interface SelectionScope {\r\n /** Unique ID of the selection scope */\r\n id: string;\r\n /** Label */\r\n label: string;\r\n /** Description */\r\n description?: string;\r\n}\r\n\r\n/**\r\n * A data structure that defines properties for applying element selection scope.\r\n * @public\r\n */\r\nexport interface ElementSelectionScopeProps {\r\n /** Identifies this as the \"element\" selection scope */\r\n id: \"element\";\r\n /**\r\n * Specifies how far \"up\" we should walk to find the target element. When not specified or `0`,\r\n * the target element matches the request element. When `1`, the target element matches the direct parent element.\r\n * When `2`, the target element is parent of the parent element and so on. In all situations when this is `> 0`,\r\n * we're not walking further than the last existing element, for example when `ancestorLevel = 1` (direct parent\r\n * element is requested), but the request element doesn't have a parent, the request element is returned as the result.\r\n */\r\n ancestorLevel?: number;\r\n}\r\n\r\n/**\r\n * A data structure that defines properties for applying a selection scope.\r\n * @public\r\n */\r\nexport type SelectionScopeProps = ElementSelectionScopeProps | { id: string };\r\n"]}
1
+ {"version":3,"file":"SelectionScope.js","sourceRoot":"","sources":["../../../../src/presentation-common/selection/SelectionScope.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG,qDAAqD;AACrD;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/* eslint-disable @typescript-eslint/no-deprecated */\n/** @packageDocumentation\n * @module UnifiedSelection\n */\n\n/**\n * Data structure that describes a [selection scope]($docs/presentation/unified-selection/index#selection-scopes).\n * @public\n * @deprecated in 5.0. Use `Props<typeof computeSelection>[\"scope\"]` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#selection-scopes) package instead.\n */\nexport interface SelectionScope {\n /** Unique ID of the selection scope */\n id: string;\n /** Label */\n label: string;\n /** Description */\n description?: string;\n}\n\n/**\n * A data structure that defines properties for applying element selection scope.\n * @public\n * @deprecated in 5.0. Use `Props<typeof computeSelection>[\"scope\"]` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#selection-scopes) package instead.\n */\nexport interface ElementSelectionScopeProps {\n /** Identifies this as the \"element\" selection scope */\n id: \"element\";\n /**\n * Specifies how far \"up\" we should walk to find the target element. When not specified or `0`,\n * the target element matches the request element. When `1`, the target element matches the direct parent element.\n * When `2`, the target element is parent of the parent element and so on. In all situations when this is `> 0`,\n * we're not walking further than the last existing element, for example when `ancestorLevel = 1` (direct parent\n * element is requested), but the request element doesn't have a parent, the request element is returned as the result.\n */\n ancestorLevel?: number;\n}\n\n/**\n * A data structure that defines properties for applying a selection scope.\n * @public\n * @deprecated in 5.0. Use `Props<typeof computeSelection>[\"scope\"]` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md#selection-scopes) package instead.\n */\nexport type SelectionScopeProps = ElementSelectionScopeProps | { id: string };\n"]}
@@ -0,0 +1,10 @@
1
+ export { PRESENTATION_IPC_CHANNEL_NAME, PresentationIpcEvents, PresentationIpcInterface } from "./presentation-common/PresentationIpcInterface.js";
2
+ export { combineDiagnosticsSeverities, compareDiagnosticsSeverities } from "./presentation-common/Diagnostics.js";
3
+ export { buildElementProperties } from "./presentation-common/ElementProperties.js";
4
+ export { createCancellableTimeoutPromise, deepReplaceNullsToUndefined } from "./presentation-common/Utils.js";
5
+ export { LocalizationHelper } from "./presentation-common/LocalizationHelper.js";
6
+ export { isSingleElementPropertiesRequestOptions } from "./presentation-common/PresentationManagerOptions.js";
7
+ export { ContentFormatter, ContentPropertyValueFormatter } from "./presentation-common/content/PropertyValueFormatter.js";
8
+ export { RpcRequestsHandler } from "./presentation-common/RpcRequestsHandler.js";
9
+ export { AsyncTasksTracker } from "./presentation-common/AsyncTasks.js";
10
+ //# sourceMappingURL=presentation-common-internal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation-common-internal.d.ts","sourceRoot":"","sources":["../../src/presentation-common-internal.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,6BAA6B,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,mDAAmD,CAAC;AACnJ,OAAO,EAAE,4BAA4B,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAClH,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,+BAA+B,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC9G,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAE,uCAAuC,EAAE,MAAM,qDAAqD,CAAC;AAC9G,OAAO,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AAC1H,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC"}
@@ -0,0 +1,16 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ // WARNING: This barrel file exports internal APIs only for use by `@itwin/presentation-backend` and `@itwin/presentation-frontend` packages.
6
+ // They should not be used outside of these packages. These APIs may be broken or removed at any time without notice.
7
+ export { PRESENTATION_IPC_CHANNEL_NAME, PresentationIpcEvents } from "./presentation-common/PresentationIpcInterface.js";
8
+ export { combineDiagnosticsSeverities, compareDiagnosticsSeverities } from "./presentation-common/Diagnostics.js";
9
+ export { buildElementProperties } from "./presentation-common/ElementProperties.js";
10
+ export { createCancellableTimeoutPromise, deepReplaceNullsToUndefined } from "./presentation-common/Utils.js";
11
+ export { LocalizationHelper } from "./presentation-common/LocalizationHelper.js";
12
+ export { isSingleElementPropertiesRequestOptions } from "./presentation-common/PresentationManagerOptions.js";
13
+ export { ContentFormatter, ContentPropertyValueFormatter } from "./presentation-common/content/PropertyValueFormatter.js";
14
+ export { RpcRequestsHandler } from "./presentation-common/RpcRequestsHandler.js";
15
+ export { AsyncTasksTracker } from "./presentation-common/AsyncTasks.js";
16
+ //# sourceMappingURL=presentation-common-internal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation-common-internal.js","sourceRoot":"","sources":["../../src/presentation-common-internal.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAEhG,6IAA6I;AAC7I,qHAAqH;AAErH,OAAO,EAAE,6BAA6B,EAAE,qBAAqB,EAA4B,MAAM,mDAAmD,CAAC;AACnJ,OAAO,EAAE,4BAA4B,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAClH,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,+BAA+B,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC9G,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAE,uCAAuC,EAAE,MAAM,qDAAqD,CAAC;AAC9G,OAAO,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AAC1H,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n\n// WARNING: This barrel file exports internal APIs only for use by `@itwin/presentation-backend` and `@itwin/presentation-frontend` packages.\n// They should not be used outside of these packages. These APIs may be broken or removed at any time without notice.\n\nexport { PRESENTATION_IPC_CHANNEL_NAME, PresentationIpcEvents, PresentationIpcInterface } from \"./presentation-common/PresentationIpcInterface.js\";\nexport { combineDiagnosticsSeverities, compareDiagnosticsSeverities } from \"./presentation-common/Diagnostics.js\";\nexport { buildElementProperties } from \"./presentation-common/ElementProperties.js\";\nexport { createCancellableTimeoutPromise, deepReplaceNullsToUndefined } from \"./presentation-common/Utils.js\";\nexport { LocalizationHelper } from \"./presentation-common/LocalizationHelper.js\";\nexport { isSingleElementPropertiesRequestOptions } from \"./presentation-common/PresentationManagerOptions.js\";\nexport { ContentFormatter, ContentPropertyValueFormatter } from \"./presentation-common/content/PropertyValueFormatter.js\";\nexport { RpcRequestsHandler } from \"./presentation-common/RpcRequestsHandler.js\";\nexport { AsyncTasksTracker } from \"./presentation-common/AsyncTasks.js\";\n"]}