@itwin/presentation-common 5.0.0-dev.8 → 5.0.0-dev.82

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 (287) hide show
  1. package/CHANGELOG.md +46 -1
  2. package/Ruleset.schema.json +3 -258
  3. package/lib/cjs/presentation-common/AsyncTasks.d.ts +4 -4
  4. package/lib/cjs/presentation-common/AsyncTasks.d.ts.map +1 -1
  5. package/lib/cjs/presentation-common/AsyncTasks.js +5 -6
  6. package/lib/cjs/presentation-common/AsyncTasks.js.map +1 -1
  7. package/lib/cjs/presentation-common/EC.d.ts +36 -80
  8. package/lib/cjs/presentation-common/EC.d.ts.map +1 -1
  9. package/lib/cjs/presentation-common/EC.js +1 -97
  10. package/lib/cjs/presentation-common/EC.js.map +1 -1
  11. package/lib/cjs/presentation-common/ElementProperties.js +16 -9
  12. package/lib/cjs/presentation-common/ElementProperties.js.map +1 -1
  13. package/lib/cjs/presentation-common/Error.d.ts +2 -0
  14. package/lib/cjs/presentation-common/Error.d.ts.map +1 -1
  15. package/lib/cjs/presentation-common/Error.js +2 -0
  16. package/lib/cjs/presentation-common/Error.js.map +1 -1
  17. package/lib/cjs/presentation-common/KeySet.d.ts +2 -2
  18. package/lib/cjs/presentation-common/KeySet.d.ts.map +1 -1
  19. package/lib/cjs/presentation-common/KeySet.js +9 -11
  20. package/lib/cjs/presentation-common/KeySet.js.map +1 -1
  21. package/lib/cjs/presentation-common/KoqPropertyValueFormatter.js +4 -1
  22. package/lib/cjs/presentation-common/KoqPropertyValueFormatter.js.map +1 -1
  23. package/lib/cjs/presentation-common/LabelDefinition.d.ts +0 -48
  24. package/lib/cjs/presentation-common/LabelDefinition.d.ts.map +1 -1
  25. package/lib/cjs/presentation-common/LabelDefinition.js +1 -44
  26. package/lib/cjs/presentation-common/LabelDefinition.js.map +1 -1
  27. package/lib/cjs/presentation-common/LocalizationHelper.js +1 -0
  28. package/lib/cjs/presentation-common/LocalizationHelper.js.map +1 -1
  29. package/lib/cjs/presentation-common/PresentationManagerOptions.d.ts +31 -10
  30. package/lib/cjs/presentation-common/PresentationManagerOptions.d.ts.map +1 -1
  31. package/lib/cjs/presentation-common/PresentationManagerOptions.js +0 -5
  32. package/lib/cjs/presentation-common/PresentationManagerOptions.js.map +1 -1
  33. package/lib/cjs/presentation-common/PresentationRpcInterface.d.ts +9 -9
  34. package/lib/cjs/presentation-common/PresentationRpcInterface.d.ts.map +1 -1
  35. package/lib/cjs/presentation-common/PresentationRpcInterface.js +36 -21
  36. package/lib/cjs/presentation-common/PresentationRpcInterface.js.map +1 -1
  37. package/lib/cjs/presentation-common/RegisteredRuleset.d.ts +3 -2
  38. package/lib/cjs/presentation-common/RegisteredRuleset.d.ts.map +1 -1
  39. package/lib/cjs/presentation-common/RegisteredRuleset.js +9 -1
  40. package/lib/cjs/presentation-common/RegisteredRuleset.js.map +1 -1
  41. package/lib/cjs/presentation-common/RpcRequestsHandler.d.ts +9 -12
  42. package/lib/cjs/presentation-common/RpcRequestsHandler.d.ts.map +1 -1
  43. package/lib/cjs/presentation-common/RpcRequestsHandler.js +37 -30
  44. package/lib/cjs/presentation-common/RpcRequestsHandler.js.map +1 -1
  45. package/lib/cjs/presentation-common/RulesetVariables.d.ts +1 -46
  46. package/lib/cjs/presentation-common/RulesetVariables.d.ts.map +1 -1
  47. package/lib/cjs/presentation-common/RulesetVariables.js.map +1 -1
  48. package/lib/cjs/presentation-common/Update.d.ts +2 -79
  49. package/lib/cjs/presentation-common/Update.d.ts.map +1 -1
  50. package/lib/cjs/presentation-common/Update.js +1 -104
  51. package/lib/cjs/presentation-common/Update.js.map +1 -1
  52. package/lib/cjs/presentation-common/Utils.d.ts +21 -0
  53. package/lib/cjs/presentation-common/Utils.d.ts.map +1 -1
  54. package/lib/cjs/presentation-common/Utils.js +57 -0
  55. package/lib/cjs/presentation-common/Utils.js.map +1 -1
  56. package/lib/cjs/presentation-common/content/Content.d.ts +0 -7
  57. package/lib/cjs/presentation-common/content/Content.d.ts.map +1 -1
  58. package/lib/cjs/presentation-common/content/Content.js +5 -10
  59. package/lib/cjs/presentation-common/content/Content.js.map +1 -1
  60. package/lib/cjs/presentation-common/content/ContentTraverser.d.ts +1 -1
  61. package/lib/cjs/presentation-common/content/ContentTraverser.d.ts.map +1 -1
  62. package/lib/cjs/presentation-common/content/ContentTraverser.js +116 -28
  63. package/lib/cjs/presentation-common/content/ContentTraverser.js.map +1 -1
  64. package/lib/cjs/presentation-common/content/Descriptor.d.ts +2 -31
  65. package/lib/cjs/presentation-common/content/Descriptor.d.ts.map +1 -1
  66. package/lib/cjs/presentation-common/content/Descriptor.js +68 -22
  67. package/lib/cjs/presentation-common/content/Descriptor.js.map +1 -1
  68. package/lib/cjs/presentation-common/content/Fields.d.ts +151 -27
  69. package/lib/cjs/presentation-common/content/Fields.d.ts.map +1 -1
  70. package/lib/cjs/presentation-common/content/Fields.js +264 -140
  71. package/lib/cjs/presentation-common/content/Fields.js.map +1 -1
  72. package/lib/cjs/presentation-common/content/Item.d.ts +26 -31
  73. package/lib/cjs/presentation-common/content/Item.d.ts.map +1 -1
  74. package/lib/cjs/presentation-common/content/Item.js +52 -67
  75. package/lib/cjs/presentation-common/content/Item.js.map +1 -1
  76. package/lib/cjs/presentation-common/content/Property.d.ts +2 -12
  77. package/lib/cjs/presentation-common/content/Property.d.ts.map +1 -1
  78. package/lib/cjs/presentation-common/content/Property.js +0 -18
  79. package/lib/cjs/presentation-common/content/Property.js.map +1 -1
  80. package/lib/cjs/presentation-common/content/PropertyValueFormatter.js +3 -0
  81. package/lib/cjs/presentation-common/content/PropertyValueFormatter.js.map +1 -1
  82. package/lib/cjs/presentation-common/content/Value.d.ts +5 -107
  83. package/lib/cjs/presentation-common/content/Value.d.ts.map +1 -1
  84. package/lib/cjs/presentation-common/content/Value.js +1 -215
  85. package/lib/cjs/presentation-common/content/Value.js.map +1 -1
  86. package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.d.ts +1 -22
  87. package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.d.ts.map +1 -1
  88. package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.js +0 -23
  89. package/lib/cjs/presentation-common/hierarchy/HierarchyLevel.js.map +1 -1
  90. package/lib/cjs/presentation-common/hierarchy/Key.d.ts +0 -83
  91. package/lib/cjs/presentation-common/hierarchy/Key.d.ts.map +1 -1
  92. package/lib/cjs/presentation-common/hierarchy/Key.js +6 -24
  93. package/lib/cjs/presentation-common/hierarchy/Key.js.map +1 -1
  94. package/lib/cjs/presentation-common/hierarchy/Node.d.ts +4 -107
  95. package/lib/cjs/presentation-common/hierarchy/Node.d.ts.map +1 -1
  96. package/lib/cjs/presentation-common/hierarchy/Node.js +0 -99
  97. package/lib/cjs/presentation-common/hierarchy/Node.js.map +1 -1
  98. package/lib/cjs/presentation-common/hierarchy/NodePathElement.d.ts +1 -67
  99. package/lib/cjs/presentation-common/hierarchy/NodePathElement.d.ts.map +1 -1
  100. package/lib/cjs/presentation-common/hierarchy/NodePathElement.js +0 -117
  101. package/lib/cjs/presentation-common/hierarchy/NodePathElement.js.map +1 -1
  102. package/lib/cjs/presentation-common/rules/Rule.d.ts +0 -14
  103. package/lib/cjs/presentation-common/rules/Rule.d.ts.map +1 -1
  104. package/lib/cjs/presentation-common/rules/Rule.js.map +1 -1
  105. package/lib/cjs/presentation-common/rules/content/ContentSpecification.d.ts +0 -7
  106. package/lib/cjs/presentation-common/rules/content/ContentSpecification.d.ts.map +1 -1
  107. package/lib/cjs/presentation-common/rules/content/ContentSpecification.js.map +1 -1
  108. package/lib/cjs/presentation-common/rules/customization/CustomizationRule.d.ts +1 -5
  109. package/lib/cjs/presentation-common/rules/customization/CustomizationRule.d.ts.map +1 -1
  110. package/lib/cjs/presentation-common/rules/customization/CustomizationRule.js.map +1 -1
  111. package/lib/cjs/presentation-common/rules/customization/GroupingRule.d.ts +2 -28
  112. package/lib/cjs/presentation-common/rules/customization/GroupingRule.d.ts.map +1 -1
  113. package/lib/cjs/presentation-common/rules/customization/GroupingRule.js +1 -15
  114. package/lib/cjs/presentation-common/rules/customization/GroupingRule.js.map +1 -1
  115. package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts +2 -0
  116. package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts.map +1 -1
  117. package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.js.map +1 -1
  118. package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts +0 -9
  119. package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts.map +1 -1
  120. package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js.map +1 -1
  121. package/lib/cjs/presentation-common/selection/SelectionScope.d.ts +3 -0
  122. package/lib/cjs/presentation-common/selection/SelectionScope.d.ts.map +1 -1
  123. package/lib/cjs/presentation-common/selection/SelectionScope.js +1 -0
  124. package/lib/cjs/presentation-common/selection/SelectionScope.js.map +1 -1
  125. package/lib/cjs/presentation-common.d.ts +1 -5
  126. package/lib/cjs/presentation-common.d.ts.map +1 -1
  127. package/lib/cjs/presentation-common.js +6 -5
  128. package/lib/cjs/presentation-common.js.map +1 -1
  129. package/lib/esm/presentation-common/AsyncTasks.d.ts +4 -4
  130. package/lib/esm/presentation-common/AsyncTasks.d.ts.map +1 -1
  131. package/lib/esm/presentation-common/AsyncTasks.js +5 -6
  132. package/lib/esm/presentation-common/AsyncTasks.js.map +1 -1
  133. package/lib/esm/presentation-common/EC.d.ts +36 -80
  134. package/lib/esm/presentation-common/EC.d.ts.map +1 -1
  135. package/lib/esm/presentation-common/EC.js +0 -96
  136. package/lib/esm/presentation-common/EC.js.map +1 -1
  137. package/lib/esm/presentation-common/ElementProperties.js +16 -9
  138. package/lib/esm/presentation-common/ElementProperties.js.map +1 -1
  139. package/lib/esm/presentation-common/Error.d.ts +2 -0
  140. package/lib/esm/presentation-common/Error.d.ts.map +1 -1
  141. package/lib/esm/presentation-common/Error.js +2 -0
  142. package/lib/esm/presentation-common/Error.js.map +1 -1
  143. package/lib/esm/presentation-common/KeySet.d.ts +2 -2
  144. package/lib/esm/presentation-common/KeySet.d.ts.map +1 -1
  145. package/lib/esm/presentation-common/KeySet.js +9 -11
  146. package/lib/esm/presentation-common/KeySet.js.map +1 -1
  147. package/lib/esm/presentation-common/KoqPropertyValueFormatter.js +5 -2
  148. package/lib/esm/presentation-common/KoqPropertyValueFormatter.js.map +1 -1
  149. package/lib/esm/presentation-common/LabelDefinition.d.ts +0 -48
  150. package/lib/esm/presentation-common/LabelDefinition.d.ts.map +1 -1
  151. package/lib/esm/presentation-common/LabelDefinition.js +0 -43
  152. package/lib/esm/presentation-common/LabelDefinition.js.map +1 -1
  153. package/lib/esm/presentation-common/LocalizationHelper.js +1 -0
  154. package/lib/esm/presentation-common/LocalizationHelper.js.map +1 -1
  155. package/lib/esm/presentation-common/PresentationManagerOptions.d.ts +31 -10
  156. package/lib/esm/presentation-common/PresentationManagerOptions.d.ts.map +1 -1
  157. package/lib/esm/presentation-common/PresentationManagerOptions.js +0 -4
  158. package/lib/esm/presentation-common/PresentationManagerOptions.js.map +1 -1
  159. package/lib/esm/presentation-common/PresentationRpcInterface.d.ts +9 -9
  160. package/lib/esm/presentation-common/PresentationRpcInterface.d.ts.map +1 -1
  161. package/lib/esm/presentation-common/PresentationRpcInterface.js +38 -22
  162. package/lib/esm/presentation-common/PresentationRpcInterface.js.map +1 -1
  163. package/lib/esm/presentation-common/RegisteredRuleset.d.ts +3 -2
  164. package/lib/esm/presentation-common/RegisteredRuleset.d.ts.map +1 -1
  165. package/lib/esm/presentation-common/RegisteredRuleset.js +9 -1
  166. package/lib/esm/presentation-common/RegisteredRuleset.js.map +1 -1
  167. package/lib/esm/presentation-common/RpcRequestsHandler.d.ts +9 -12
  168. package/lib/esm/presentation-common/RpcRequestsHandler.d.ts.map +1 -1
  169. package/lib/esm/presentation-common/RpcRequestsHandler.js +39 -32
  170. package/lib/esm/presentation-common/RpcRequestsHandler.js.map +1 -1
  171. package/lib/esm/presentation-common/RulesetVariables.d.ts +1 -46
  172. package/lib/esm/presentation-common/RulesetVariables.d.ts.map +1 -1
  173. package/lib/esm/presentation-common/RulesetVariables.js.map +1 -1
  174. package/lib/esm/presentation-common/Update.d.ts +2 -79
  175. package/lib/esm/presentation-common/Update.d.ts.map +1 -1
  176. package/lib/esm/presentation-common/Update.js +0 -103
  177. package/lib/esm/presentation-common/Update.js.map +1 -1
  178. package/lib/esm/presentation-common/Utils.d.ts +21 -0
  179. package/lib/esm/presentation-common/Utils.d.ts.map +1 -1
  180. package/lib/esm/presentation-common/Utils.js +54 -0
  181. package/lib/esm/presentation-common/Utils.js.map +1 -1
  182. package/lib/esm/presentation-common/content/Content.d.ts +0 -7
  183. package/lib/esm/presentation-common/content/Content.d.ts.map +1 -1
  184. package/lib/esm/presentation-common/content/Content.js +5 -10
  185. package/lib/esm/presentation-common/content/Content.js.map +1 -1
  186. package/lib/esm/presentation-common/content/ContentTraverser.d.ts +1 -1
  187. package/lib/esm/presentation-common/content/ContentTraverser.d.ts.map +1 -1
  188. package/lib/esm/presentation-common/content/ContentTraverser.js +117 -29
  189. package/lib/esm/presentation-common/content/ContentTraverser.js.map +1 -1
  190. package/lib/esm/presentation-common/content/Descriptor.d.ts +2 -31
  191. package/lib/esm/presentation-common/content/Descriptor.d.ts.map +1 -1
  192. package/lib/esm/presentation-common/content/Descriptor.js +68 -22
  193. package/lib/esm/presentation-common/content/Descriptor.js.map +1 -1
  194. package/lib/esm/presentation-common/content/Fields.d.ts +151 -27
  195. package/lib/esm/presentation-common/content/Fields.d.ts.map +1 -1
  196. package/lib/esm/presentation-common/content/Fields.js +264 -140
  197. package/lib/esm/presentation-common/content/Fields.js.map +1 -1
  198. package/lib/esm/presentation-common/content/Item.d.ts +26 -31
  199. package/lib/esm/presentation-common/content/Item.d.ts.map +1 -1
  200. package/lib/esm/presentation-common/content/Item.js +52 -67
  201. package/lib/esm/presentation-common/content/Item.js.map +1 -1
  202. package/lib/esm/presentation-common/content/Property.d.ts +2 -12
  203. package/lib/esm/presentation-common/content/Property.d.ts.map +1 -1
  204. package/lib/esm/presentation-common/content/Property.js +0 -18
  205. package/lib/esm/presentation-common/content/Property.js.map +1 -1
  206. package/lib/esm/presentation-common/content/PropertyValueFormatter.js +3 -0
  207. package/lib/esm/presentation-common/content/PropertyValueFormatter.js.map +1 -1
  208. package/lib/esm/presentation-common/content/Value.d.ts +5 -107
  209. package/lib/esm/presentation-common/content/Value.d.ts.map +1 -1
  210. package/lib/esm/presentation-common/content/Value.js +0 -214
  211. package/lib/esm/presentation-common/content/Value.js.map +1 -1
  212. package/lib/esm/presentation-common/hierarchy/HierarchyLevel.d.ts +1 -22
  213. package/lib/esm/presentation-common/hierarchy/HierarchyLevel.d.ts.map +1 -1
  214. package/lib/esm/presentation-common/hierarchy/HierarchyLevel.js +1 -22
  215. package/lib/esm/presentation-common/hierarchy/HierarchyLevel.js.map +1 -1
  216. package/lib/esm/presentation-common/hierarchy/Key.d.ts +0 -83
  217. package/lib/esm/presentation-common/hierarchy/Key.d.ts.map +1 -1
  218. package/lib/esm/presentation-common/hierarchy/Key.js +6 -24
  219. package/lib/esm/presentation-common/hierarchy/Key.js.map +1 -1
  220. package/lib/esm/presentation-common/hierarchy/Node.d.ts +4 -107
  221. package/lib/esm/presentation-common/hierarchy/Node.d.ts.map +1 -1
  222. package/lib/esm/presentation-common/hierarchy/Node.js +1 -98
  223. package/lib/esm/presentation-common/hierarchy/Node.js.map +1 -1
  224. package/lib/esm/presentation-common/hierarchy/NodePathElement.d.ts +1 -67
  225. package/lib/esm/presentation-common/hierarchy/NodePathElement.d.ts.map +1 -1
  226. package/lib/esm/presentation-common/hierarchy/NodePathElement.js +1 -116
  227. package/lib/esm/presentation-common/hierarchy/NodePathElement.js.map +1 -1
  228. package/lib/esm/presentation-common/rules/Rule.d.ts +0 -14
  229. package/lib/esm/presentation-common/rules/Rule.d.ts.map +1 -1
  230. package/lib/esm/presentation-common/rules/Rule.js.map +1 -1
  231. package/lib/esm/presentation-common/rules/content/ContentSpecification.d.ts +0 -7
  232. package/lib/esm/presentation-common/rules/content/ContentSpecification.d.ts.map +1 -1
  233. package/lib/esm/presentation-common/rules/content/ContentSpecification.js.map +1 -1
  234. package/lib/esm/presentation-common/rules/customization/CustomizationRule.d.ts +1 -5
  235. package/lib/esm/presentation-common/rules/customization/CustomizationRule.d.ts.map +1 -1
  236. package/lib/esm/presentation-common/rules/customization/CustomizationRule.js.map +1 -1
  237. package/lib/esm/presentation-common/rules/customization/GroupingRule.d.ts +2 -28
  238. package/lib/esm/presentation-common/rules/customization/GroupingRule.d.ts.map +1 -1
  239. package/lib/esm/presentation-common/rules/customization/GroupingRule.js +0 -14
  240. package/lib/esm/presentation-common/rules/customization/GroupingRule.js.map +1 -1
  241. package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts +2 -0
  242. package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts.map +1 -1
  243. package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.js.map +1 -1
  244. package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts +0 -9
  245. package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts.map +1 -1
  246. package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js.map +1 -1
  247. package/lib/esm/presentation-common/selection/SelectionScope.d.ts +3 -0
  248. package/lib/esm/presentation-common/selection/SelectionScope.d.ts.map +1 -1
  249. package/lib/esm/presentation-common/selection/SelectionScope.js +1 -0
  250. package/lib/esm/presentation-common/selection/SelectionScope.js.map +1 -1
  251. package/lib/esm/presentation-common.d.ts +1 -5
  252. package/lib/esm/presentation-common.d.ts.map +1 -1
  253. package/lib/esm/presentation-common.js +1 -5
  254. package/lib/esm/presentation-common.js.map +1 -1
  255. package/package.json +17 -18
  256. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.d.ts +0 -45
  257. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.d.ts.map +0 -1
  258. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.js +0 -10
  259. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.js.map +0 -1
  260. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.d.ts +0 -30
  261. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.d.ts.map +0 -1
  262. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.js +0 -10
  263. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.js.map +0 -1
  264. package/lib/cjs/presentation-common/rules/customization/LabelOverride.d.ts +0 -41
  265. package/lib/cjs/presentation-common/rules/customization/LabelOverride.d.ts.map +0 -1
  266. package/lib/cjs/presentation-common/rules/customization/LabelOverride.js +0 -10
  267. package/lib/cjs/presentation-common/rules/customization/LabelOverride.js.map +0 -1
  268. package/lib/cjs/presentation-common/rules/customization/StyleOverride.d.ts +0 -49
  269. package/lib/cjs/presentation-common/rules/customization/StyleOverride.d.ts.map +0 -1
  270. package/lib/cjs/presentation-common/rules/customization/StyleOverride.js +0 -10
  271. package/lib/cjs/presentation-common/rules/customization/StyleOverride.js.map +0 -1
  272. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.d.ts +0 -45
  273. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.d.ts.map +0 -1
  274. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.js +0 -9
  275. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.js.map +0 -1
  276. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.d.ts +0 -30
  277. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.d.ts.map +0 -1
  278. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.js +0 -9
  279. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.js.map +0 -1
  280. package/lib/esm/presentation-common/rules/customization/LabelOverride.d.ts +0 -41
  281. package/lib/esm/presentation-common/rules/customization/LabelOverride.d.ts.map +0 -1
  282. package/lib/esm/presentation-common/rules/customization/LabelOverride.js +0 -9
  283. package/lib/esm/presentation-common/rules/customization/LabelOverride.js.map +0 -1
  284. package/lib/esm/presentation-common/rules/customization/StyleOverride.d.ts +0 -49
  285. package/lib/esm/presentation-common/rules/customization/StyleOverride.d.ts.map +0 -1
  286. package/lib/esm/presentation-common/rules/customization/StyleOverride.js +0 -9
  287. package/lib/esm/presentation-common/rules/customization/StyleOverride.js.map +0 -1
@@ -1 +1 @@
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\";\nimport { ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer } from \"./ChildNodeSpecification\";\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 * Tells whether selecting instances from ECClasses specified in [[classes]] and [[excludedClasses]]\n * attributes should be polymorphic or not.\n *\n * @deprecated in 3.x. The attribute was replaced by `arePolymorphic` attribute specified individually for each class definition\n * under [[classes]] and [[excludedClasses]] attributes. At the moment, to keep backwards compatibility, this attribute acts\n * as a fallback value in case the flag is not specified individually for a class definition.\n */\n arePolymorphic?: boolean;\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
+ {"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\";\nimport { ChildNodeSpecificationBase, DefaultGroupingPropertiesContainer } from \"./ChildNodeSpecification\";\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"]}
@@ -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"}
@@ -3,6 +3,7 @@
3
3
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
4
  * See LICENSE.md in the project root for license terms and full copyright notice.
5
5
  *--------------------------------------------------------------------------------------------*/
6
+ /* eslint-disable @typescript-eslint/no-deprecated */
6
7
  /** @packageDocumentation
7
8
  * @module UnifiedSelection
8
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"SelectionScope.js","sourceRoot":"","sources":["../../../../src/presentation-common/selection/SelectionScope.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 UnifiedSelection\n */\n\n/**\n * Data structure that describes a [selection scope]($docs/presentation/unified-selection/index#selection-scopes).\n * @public\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 */\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 */\nexport type SelectionScopeProps = ElementSelectionScopeProps | { id: string };\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"]}
@@ -15,7 +15,7 @@ export * from "./presentation-common/RegisteredRuleset";
15
15
  export * from "./presentation-common/RulesetVariables";
16
16
  export * from "./presentation-common/RulesetsFactory";
17
17
  export * from "./presentation-common/Update";
18
- export * from "./presentation-common/Utils";
18
+ export { DEFAULT_KEYS_BATCH_SIZE, Omit, PagedResponse, PartialBy, Subtract, ValuesDictionary, getInstancesCount, deepReplaceNullsToUndefined, createCancellableTimeoutPromise, } from "./presentation-common/Utils";
19
19
  export * from "./presentation-common/PresentationIpcInterface";
20
20
  export * from "./presentation-common/LocalizationHelper";
21
21
  export * from "./presentation-common/InstanceFilterDefinition";
@@ -82,15 +82,11 @@ export * from "./presentation-common/rules/hierarchy/NodeArtifactsRule";
82
82
  export * from "./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification";
83
83
  export * from "./presentation-common/rules/hierarchy/RootNodeRule";
84
84
  export * from "./presentation-common/rules/hierarchy/SubCondition";
85
- export * from "./presentation-common/rules/customization/CheckBoxRule";
86
85
  export * from "./presentation-common/rules/customization/CustomizationRule";
87
86
  export * from "./presentation-common/rules/customization/ExtendedDataRule";
88
87
  export * from "./presentation-common/rules/customization/GroupingRule";
89
- export * from "./presentation-common/rules/customization/ImageIdOverride";
90
88
  export * from "./presentation-common/rules/customization/InstanceLabelOverride";
91
- export * from "./presentation-common/rules/customization/LabelOverride";
92
89
  export * from "./presentation-common/rules/customization/SortingRule";
93
- export * from "./presentation-common/rules/customization/StyleOverride";
94
90
  export * from "./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification";
95
91
  export * from "./presentation-common/rules/content/ContentRelatedInstancesSpecification";
96
92
  export * from "./presentation-common/rules/content/ContentRule";
@@ -1 +1 @@
1
- {"version":3,"file":"presentation-common.d.ts","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AACtD,cAAc,kDAAkD,CAAC;AACjE,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0CAA0C,CAAC;AACzD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iDAAiD,CAAC;AAEhE;;;;;;GAMG;AACH,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0CAA0C,CAAC;AAEzD;;;;;GAKG;AACH,cAAc,gDAAgD,CAAC;AAE/D;;;;;GAKG;AACH,cAAc,wCAAwC,CAAC;AACvD,cA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9E,cAAc,6EAA6E,CAAC;AAC5F,cAAc,4EAA4E,CAAC;AAC3F,cAAc,2EAA2E,CAAC;AAC1F,cAAc,8EAA8E,CAAC;AAC7F,cAAc,iDAAiD,CAAC;AAChE,cAAc,0DAA0D,CAAC;AACzE,cAAc,mDAAmD,CAAC;AAClE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kDAAkD,CAAC;AACjE,cAAc,uCAAuC,CAAC"}
1
+ {"version":3,"file":"presentation-common.d.ts","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AACtD,cAAc,kDAAkD,CAAC;AACjE,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EACL,uBAAuB,EACvB,IAAI,EACJ,aAAa,EACb,SAAS,EACT,QAAQ,EACR,gBAAgB,EAChB,iBAAiB,EACjB,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,6BAA6B,CAAC;AACrC,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0CAA0C,CAAC;AACzD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iDAAiD,CAAC;AAEhE;;;;;;GAMG;AACH,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0CAA0C,CAAC;AAEzD;;;;;GAKG;AACH,cAAc,gDAAgD,CAAC;AAE/D;;;;;GAKG;AACH,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAs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c,2DAA2D,CAAC;AAC1E,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kDAAkD,CAAC;AACjE,cAAc,uCAAuC,CAAC"}
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.createCancellableTimeoutPromise = exports.deepReplaceNullsToUndefined = exports.getInstancesCount = exports.DEFAULT_KEYS_BATCH_SIZE = void 0;
17
18
  /*---------------------------------------------------------------------------------------------
18
19
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
19
20
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -35,7 +36,11 @@ __exportStar(require("./presentation-common/RegisteredRuleset"), exports);
35
36
  __exportStar(require("./presentation-common/RulesetVariables"), exports);
36
37
  __exportStar(require("./presentation-common/RulesetsFactory"), exports);
37
38
  __exportStar(require("./presentation-common/Update"), exports);
38
- __exportStar(require("./presentation-common/Utils"), exports);
39
+ var Utils_1 = require("./presentation-common/Utils");
40
+ Object.defineProperty(exports, "DEFAULT_KEYS_BATCH_SIZE", { enumerable: true, get: function () { return Utils_1.DEFAULT_KEYS_BATCH_SIZE; } });
41
+ Object.defineProperty(exports, "getInstancesCount", { enumerable: true, get: function () { return Utils_1.getInstancesCount; } });
42
+ Object.defineProperty(exports, "deepReplaceNullsToUndefined", { enumerable: true, get: function () { return Utils_1.deepReplaceNullsToUndefined; } });
43
+ Object.defineProperty(exports, "createCancellableTimeoutPromise", { enumerable: true, get: function () { return Utils_1.createCancellableTimeoutPromise; } });
39
44
  __exportStar(require("./presentation-common/PresentationIpcInterface"), exports);
40
45
  __exportStar(require("./presentation-common/LocalizationHelper"), exports);
41
46
  __exportStar(require("./presentation-common/InstanceFilterDefinition"), exports);
@@ -102,15 +107,11 @@ __exportStar(require("./presentation-common/rules/hierarchy/NodeArtifactsRule"),
102
107
  __exportStar(require("./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification"), exports);
103
108
  __exportStar(require("./presentation-common/rules/hierarchy/RootNodeRule"), exports);
104
109
  __exportStar(require("./presentation-common/rules/hierarchy/SubCondition"), exports);
105
- __exportStar(require("./presentation-common/rules/customization/CheckBoxRule"), exports);
106
110
  __exportStar(require("./presentation-common/rules/customization/CustomizationRule"), exports);
107
111
  __exportStar(require("./presentation-common/rules/customization/ExtendedDataRule"), exports);
108
112
  __exportStar(require("./presentation-common/rules/customization/GroupingRule"), exports);
109
- __exportStar(require("./presentation-common/rules/customization/ImageIdOverride"), exports);
110
113
  __exportStar(require("./presentation-common/rules/customization/InstanceLabelOverride"), exports);
111
- __exportStar(require("./presentation-common/rules/customization/LabelOverride"), exports);
112
114
  __exportStar(require("./presentation-common/rules/customization/SortingRule"), exports);
113
- __exportStar(require("./presentation-common/rules/customization/StyleOverride"), exports);
114
115
  __exportStar(require("./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification"), exports);
115
116
  __exportStar(require("./presentation-common/rules/content/ContentRelatedInstancesSpecification"), exports);
116
117
  __exportStar(require("./presentation-common/rules/content/ContentRule"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"presentation-common.js","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;gGAGgG;AAChG;;;;;GAKG;AACH,mEAAiD;AACjD,oEAAkD;AAClD,2DAAyC;AACzC,8DAA4C;AAC5C,+DAA6C;AAC7C,wEAAsD;AACtD,mFAAiE;AACjE,0EAAwD;AACxD,yEAAuD;AACvD,wEAAsD;AACtD,+DAA6C;AAC7C,8DAA4C;AAC5C,iFAA+D;AAC/D,2EAAyD;AACzD,iFAA+D;AAC/D,kFAAgE;AAEhE;;;;;;GAMG;AACH,iFAA+D;AAC/D,2EAAyD;AAEzD;;;;;GAKG;AACH,iFAA+D;AAE/D;;;;;GAKG;AACH,yEAAuD;AACvD,wEAAsD;AACtD,2EAAyD;AACzD,6EAA2D;AAC3D,uEAAqD;AACrD,uEAAqD;AACrD,qEAAmD;AACnD,yEAAuD;AACvD,yEAAuD;AACvD,gFAA8D;AAC9D,sEAAoD;AACpD,iFAA+D;AAC/D,uFAAqE;AACrE,0EAAwD;AAExD;;;;;GAKG;AACH,iFAA+D;AAC/D,sEAAoD;AACpD,uEAAqD;AACrD,kFAAgE;AAEhE;;;;;GAKG;AACH,sFAAoE;AACpE,+FAA6E;AAC7E,gGAA8E;AAC9E,8GAA4F;AAC5F,oHAAkG;AAClG,uFAAqE;AACrE,0FAAwE;AACxE,0GAAwF;AACxF,qFAAmE;AACnE,qFAAmE;AACnE,yFAAuE;AACvE,8FAA4E;AAC5E,6FAA2E;AAC3E,yFAAuE;AACvE,4FAA0E;AAC1E,kGAAgF;AAChF,0FAAwE;AACxE,wFAAsE;AACtE,0FAAwE;AACxE,qHAAmG;AACnG,2GAAyF;AACzF,kFAAgE;AAChE,2FAAyE;AACzE,4FAA0E;AAC1E,yGAAuF;AACvF,sGAAoF;AACpF,kHAAgG;AAChG,gGAA8E;AAC9E,8GAA4F;AAC5F,6GAA2F;AAC3F,4GAA0F;AAC1F,+GAA6F;AAC7F,kFAAgE;AAChE,2FAAyE;AACzE,oFAAkE;AAClE,4FAA0E;AAC1E,mEAAiD;AACjD,sEAAoD;AACpD,mFAAiE;AACjE,wEAAsD","sourcesContent":["/*---------------------------------------------------------------------------------------------\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 * @module Core\n *\n * @docs-group-description Core\n * Common types used all across Presentation packages.\n */\nexport * from \"./presentation-common/AsyncTasks\";\nexport * from \"./presentation-common/Diagnostics\";\nexport * from \"./presentation-common/EC\";\nexport * from \"./presentation-common/Error\";\nexport * from \"./presentation-common/KeySet\";\nexport * from \"./presentation-common/LabelDefinition\";\nexport * from \"./presentation-common/PresentationManagerOptions\";\nexport * from \"./presentation-common/RegisteredRuleset\";\nexport * from \"./presentation-common/RulesetVariables\";\nexport * from \"./presentation-common/RulesetsFactory\";\nexport * from \"./presentation-common/Update\";\nexport * from \"./presentation-common/Utils\";\nexport * from \"./presentation-common/PresentationIpcInterface\";\nexport * from \"./presentation-common/LocalizationHelper\";\nexport * from \"./presentation-common/InstanceFilterDefinition\";\nexport * from \"./presentation-common/KoqPropertyValueFormatter\";\n\n/**\n * @module RPC\n *\n * @docs-group-description RPC\n * Types used for RPC communication between frontend and backend. Generally should\n * only be used internally by presentation packages.\n */\nexport * from \"./presentation-common/PresentationRpcInterface\";\nexport * from \"./presentation-common/RpcRequestsHandler\";\n\n/**\n * @module UnifiedSelection\n *\n * @docs-group-description UnifiedSelection\n * Types related to [unified selection]($docs/presentation/unified-selection/index.md).\n */\nexport * from \"./presentation-common/selection/SelectionScope\";\n\n/**\n * @module Content\n *\n * @docs-group-description Content\n * Types related to presentation [content]($docs/presentation/content/index.md).\n */\nexport * from \"./presentation-common/content/Category\";\nexport * from \"./presentation-common/content/Content\";\nexport * from \"./presentation-common/content/Descriptor\";\nexport * from \"./presentation-common/content/DisplayTypes\";\nexport * from \"./presentation-common/content/Editor\";\nexport * from \"./presentation-common/content/Fields\";\nexport * from \"./presentation-common/content/Item\";\nexport * from \"./presentation-common/content/Property\";\nexport * from \"./presentation-common/content/Renderer\";\nexport * from \"./presentation-common/content/TypeDescription\";\nexport * from \"./presentation-common/content/Value\";\nexport * from \"./presentation-common/content/ContentTraverser\";\nexport * from \"./presentation-common/content/PropertyValueFormatter\";\nexport * from \"./presentation-common/ElementProperties\";\n\n/**\n * @module Hierarchies\n *\n * @docs-group-description Hierarchies\n * Types related to presentation [hierarchies]($docs/presentation/hierarchies/index.md).\n */\nexport * from \"./presentation-common/hierarchy/HierarchyLevel\";\nexport * from \"./presentation-common/hierarchy/Key\";\nexport * from \"./presentation-common/hierarchy/Node\";\nexport * from \"./presentation-common/hierarchy/NodePathElement\";\n\n/**\n * @module PresentationRules\n *\n * @docs-group-description PresentationRules\n * Types for defining the presentation ruleset.\n */\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeRule\";\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeSpecification\";\nexport * from \"./presentation-common/rules/hierarchy/CustomNodeSpecification\";\nexport * from \"./presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification\";\nexport * from \"./presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification\";\nexport * from \"./presentation-common/rules/hierarchy/NavigationRule\";\nexport * from \"./presentation-common/rules/hierarchy/NodeArtifactsRule\";\nexport * from \"./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification\";\nexport * from \"./presentation-common/rules/hierarchy/RootNodeRule\";\nexport * from \"./presentation-common/rules/hierarchy/SubCondition\";\nexport * from \"./presentation-common/rules/customization/CheckBoxRule\";\nexport * from \"./presentation-common/rules/customization/CustomizationRule\";\nexport * from \"./presentation-common/rules/customization/ExtendedDataRule\";\nexport * from \"./presentation-common/rules/customization/GroupingRule\";\nexport * from \"./presentation-common/rules/customization/ImageIdOverride\";\nexport * from \"./presentation-common/rules/customization/InstanceLabelOverride\";\nexport * from \"./presentation-common/rules/customization/LabelOverride\";\nexport * from \"./presentation-common/rules/customization/SortingRule\";\nexport * from \"./presentation-common/rules/customization/StyleOverride\";\nexport * from \"./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification\";\nexport * from \"./presentation-common/rules/content/ContentRelatedInstancesSpecification\";\nexport * from \"./presentation-common/rules/content/ContentRule\";\nexport * from \"./presentation-common/rules/content/ContentSpecification\";\nexport * from \"./presentation-common/rules/content/PropertySpecification\";\nexport * from \"./presentation-common/rules/content/SelectedNodeInstancesSpecification\";\nexport * from \"./presentation-common/rules/content/DefaultPropertyCategoryOverride\";\nexport * from \"./presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification\";\nexport * from \"./presentation-common/rules/content/modifiers/ContentModifier\";\nexport * from \"./presentation-common/rules/content/modifiers/PropertyCategorySpecification\";\nexport * from \"./presentation-common/rules/content/modifiers/PropertyEditorsSpecification\";\nexport * from \"./presentation-common/rules/content/modifiers/CustomRendererSpecification\";\nexport * from \"./presentation-common/rules/content/modifiers/RelatedPropertiesSpecification\";\nexport * from \"./presentation-common/rules/ClassSpecifications\";\nexport * from \"./presentation-common/rules/RelatedInstanceSpecification\";\nexport * from \"./presentation-common/rules/RelationshipDirection\";\nexport * from \"./presentation-common/rules/RelationshipPathSpecification\";\nexport * from \"./presentation-common/rules/Rule\";\nexport * from \"./presentation-common/rules/Ruleset\";\nexport * from \"./presentation-common/rules/SchemasSpecification\";\nexport * from \"./presentation-common/rules/Variables\";\n"]}
1
+ {"version":3,"file":"presentation-common.js","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;gGAGgG;AAChG;;;;;GAKG;AACH,mEAAiD;AACjD,oEAAkD;AAClD,2DAAyC;AACzC,8DAA4C;AAC5C,+DAA6C;AAC7C,wEAAsD;AACtD,mFAAiE;AACjE,0EAAwD;AACxD,yEAAuD;AACvD,wEAAsD;AACtD,+DAA6C;AAC7C,qDAUqC;AATnC,gHAAA,uBAAuB,OAAA;AAMvB,0GAAA,iBAAiB,OAAA;AACjB,oHAAA,2BAA2B,OAAA;AAC3B,wHAAA,+BAA+B,OAAA;AAEjC,iFAA+D;AAC/D,2EAAyD;AACzD,iFAA+D;AAC/D,kFAAgE;AAEhE;;;;;;GAMG;AACH,iFAA+D;AAC/D,2EAAyD;AAEzD;;;;;GAKG;AACH,iFAA+D;AAE/D;;;;;GAKG;AACH,yEAAuD;AACvD,wEAAsD;AACtD,2EAAyD;AACzD,6EAA2D;AAC3D,uEAAqD;AACrD,uEAAqD;AACrD,qEAAmD;AACnD,yEAAuD;AACvD,yEAAuD;AACvD,gFAA8D;AAC9D,sEAAoD;AACpD,iFAA+D;AAC/D,uFAAqE;AACrE,0EAAwD;AAExD;;;;;GAKG;AACH,iFAA+D;AAC/D,sEAAoD;AACpD,uEAAqD;AACrD,kFAAgE;AAEhE;;;;;GAKG;AACH,sFAAoE;AACpE,+FAA6E;AAC7E,gGAA8E;AAC9E,8GAA4F;AAC5F,oHAAkG;AAClG,uFAAqE;AACrE,0FAAwE;AACxE,0GAAwF;AACxF,qFAAmE;AACnE,qFAAmE;AACnE,8FAA4E;AAC5E,6FAA2E;AAC3E,yFAAuE;AACvE,kGAAgF;AAChF,wFAAsE;AACtE,qHAAmG;AACnG,2GAAyF;AACzF,kFAAgE;AAChE,2FAAyE;AACzE,4FAA0E;AAC1E,yGAAuF;AACvF,sGAAoF;AACpF,kHAAgG;AAChG,gGAA8E;AAC9E,8GAA4F;AAC5F,6GAA2F;AAC3F,4GAA0F;AAC1F,+GAA6F;AAC7F,kFAAgE;AAChE,2FAAyE;AACzE,oFAAkE;AAClE,4FAA0E;AAC1E,mEAAiD;AACjD,sEAAoD;AACpD,mFAAiE;AACjE,wEAAsD","sourcesContent":["/*---------------------------------------------------------------------------------------------\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 * @module Core\n *\n * @docs-group-description Core\n * Common types used all across Presentation packages.\n */\nexport * from \"./presentation-common/AsyncTasks\";\nexport * from \"./presentation-common/Diagnostics\";\nexport * from \"./presentation-common/EC\";\nexport * from \"./presentation-common/Error\";\nexport * from \"./presentation-common/KeySet\";\nexport * from \"./presentation-common/LabelDefinition\";\nexport * from \"./presentation-common/PresentationManagerOptions\";\nexport * from \"./presentation-common/RegisteredRuleset\";\nexport * from \"./presentation-common/RulesetVariables\";\nexport * from \"./presentation-common/RulesetsFactory\";\nexport * from \"./presentation-common/Update\";\nexport {\n DEFAULT_KEYS_BATCH_SIZE,\n Omit,\n PagedResponse,\n PartialBy,\n Subtract,\n ValuesDictionary,\n getInstancesCount,\n deepReplaceNullsToUndefined,\n createCancellableTimeoutPromise,\n} from \"./presentation-common/Utils\";\nexport * from \"./presentation-common/PresentationIpcInterface\";\nexport * from \"./presentation-common/LocalizationHelper\";\nexport * from \"./presentation-common/InstanceFilterDefinition\";\nexport * from \"./presentation-common/KoqPropertyValueFormatter\";\n\n/**\n * @module RPC\n *\n * @docs-group-description RPC\n * Types used for RPC communication between frontend and backend. Generally should\n * only be used internally by presentation packages.\n */\nexport * from \"./presentation-common/PresentationRpcInterface\";\nexport * from \"./presentation-common/RpcRequestsHandler\";\n\n/**\n * @module UnifiedSelection\n *\n * @docs-group-description UnifiedSelection\n * Types related to [unified selection]($docs/presentation/unified-selection/index.md).\n */\nexport * from \"./presentation-common/selection/SelectionScope\";\n\n/**\n * @module Content\n *\n * @docs-group-description Content\n * Types related to presentation [content]($docs/presentation/content/index.md).\n */\nexport * from \"./presentation-common/content/Category\";\nexport * from \"./presentation-common/content/Content\";\nexport * from \"./presentation-common/content/Descriptor\";\nexport * from \"./presentation-common/content/DisplayTypes\";\nexport * from \"./presentation-common/content/Editor\";\nexport * from \"./presentation-common/content/Fields\";\nexport * from \"./presentation-common/content/Item\";\nexport * from \"./presentation-common/content/Property\";\nexport * from \"./presentation-common/content/Renderer\";\nexport * from \"./presentation-common/content/TypeDescription\";\nexport * from \"./presentation-common/content/Value\";\nexport * from \"./presentation-common/content/ContentTraverser\";\nexport * from \"./presentation-common/content/PropertyValueFormatter\";\nexport * from \"./presentation-common/ElementProperties\";\n\n/**\n * @module Hierarchies\n *\n * @docs-group-description Hierarchies\n * Types related to presentation [hierarchies]($docs/presentation/hierarchies/index.md).\n */\nexport * from \"./presentation-common/hierarchy/HierarchyLevel\";\nexport * from \"./presentation-common/hierarchy/Key\";\nexport * from \"./presentation-common/hierarchy/Node\";\nexport * from \"./presentation-common/hierarchy/NodePathElement\";\n\n/**\n * @module PresentationRules\n *\n * @docs-group-description PresentationRules\n * Types for defining the presentation ruleset.\n */\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeRule\";\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeSpecification\";\nexport * from \"./presentation-common/rules/hierarchy/CustomNodeSpecification\";\nexport * from \"./presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification\";\nexport * from \"./presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification\";\nexport * from \"./presentation-common/rules/hierarchy/NavigationRule\";\nexport * from \"./presentation-common/rules/hierarchy/NodeArtifactsRule\";\nexport * from \"./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification\";\nexport * from \"./presentation-common/rules/hierarchy/RootNodeRule\";\nexport * from \"./presentation-common/rules/hierarchy/SubCondition\";\nexport * from \"./presentation-common/rules/customization/CustomizationRule\";\nexport * from \"./presentation-common/rules/customization/ExtendedDataRule\";\nexport * from \"./presentation-common/rules/customization/GroupingRule\";\nexport * from \"./presentation-common/rules/customization/InstanceLabelOverride\";\nexport * from \"./presentation-common/rules/customization/SortingRule\";\nexport * from \"./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification\";\nexport * from \"./presentation-common/rules/content/ContentRelatedInstancesSpecification\";\nexport * from \"./presentation-common/rules/content/ContentRule\";\nexport * from \"./presentation-common/rules/content/ContentSpecification\";\nexport * from \"./presentation-common/rules/content/PropertySpecification\";\nexport * from \"./presentation-common/rules/content/SelectedNodeInstancesSpecification\";\nexport * from \"./presentation-common/rules/content/DefaultPropertyCategoryOverride\";\nexport * from \"./presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification\";\nexport * from \"./presentation-common/rules/content/modifiers/ContentModifier\";\nexport * from \"./presentation-common/rules/content/modifiers/PropertyCategorySpecification\";\nexport * from \"./presentation-common/rules/content/modifiers/PropertyEditorsSpecification\";\nexport * from \"./presentation-common/rules/content/modifiers/CustomRendererSpecification\";\nexport * from \"./presentation-common/rules/content/modifiers/RelatedPropertiesSpecification\";\nexport * from \"./presentation-common/rules/ClassSpecifications\";\nexport * from \"./presentation-common/rules/RelatedInstanceSpecification\";\nexport * from \"./presentation-common/rules/RelationshipDirection\";\nexport * from \"./presentation-common/rules/RelationshipPathSpecification\";\nexport * from \"./presentation-common/rules/Rule\";\nexport * from \"./presentation-common/rules/Ruleset\";\nexport * from \"./presentation-common/rules/SchemasSpecification\";\nexport * from \"./presentation-common/rules/Variables\";\n"]}
@@ -1,13 +1,13 @@
1
1
  /** @packageDocumentation
2
2
  * @module Core
3
3
  */
4
- import { IDisposable } from "@itwin/core-bentley";
5
4
  /**
6
5
  * A helper to track ongoing async tasks. Usage:
7
6
  * ```
8
- * await using(tracker.trackAsyncTask(), async (_r) => {
7
+ * {
8
+ * using _r = tracker.trackAsyncTask();
9
9
  * await doSomethingAsync();
10
- * });
10
+ * }
11
11
  * ```
12
12
  *
13
13
  * Can be used with `waitForPendingAsyncs` in test helpers to wait for all
@@ -18,6 +18,6 @@ import { IDisposable } from "@itwin/core-bentley";
18
18
  export declare class AsyncTasksTracker {
19
19
  private _asyncsInProgress;
20
20
  get pendingAsyncs(): Set<string>;
21
- trackAsyncTask(): IDisposable;
21
+ trackAsyncTask(): Disposable;
22
22
  }
23
23
  //# sourceMappingURL=AsyncTasks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AsyncTasks.d.ts","sourceRoot":"","sources":["../../../src/presentation-common/AsyncTasks.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAoB,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEpE;;;;;;;;;;;;GAYG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,iBAAiB,CAAyB;IAClD,IAAW,aAAa,gBAEvB;IACM,cAAc,IAAI,WAAW;CAOrC"}
1
+ {"version":3,"file":"AsyncTasks.d.ts","sourceRoot":"","sources":["../../../src/presentation-common/AsyncTasks.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;;;;;;;;;;;;GAaG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,iBAAiB,CAAyB;IAClD,IAAW,aAAa,gBAEvB;IACM,cAAc,IAAI,UAAU;CAOpC"}
@@ -9,9 +9,10 @@ import { Guid } from "@itwin/core-bentley";
9
9
  /**
10
10
  * A helper to track ongoing async tasks. Usage:
11
11
  * ```
12
- * await using(tracker.trackAsyncTask(), async (_r) => {
12
+ * {
13
+ * using _r = tracker.trackAsyncTask();
13
14
  * await doSomethingAsync();
14
- * });
15
+ * }
15
16
  * ```
16
17
  *
17
18
  * Can be used with `waitForPendingAsyncs` in test helpers to wait for all
@@ -20,9 +21,7 @@ import { Guid } from "@itwin/core-bentley";
20
21
  * @internal
21
22
  */
22
23
  export class AsyncTasksTracker {
23
- constructor() {
24
- this._asyncsInProgress = new Set();
25
- }
24
+ _asyncsInProgress = new Set();
26
25
  get pendingAsyncs() {
27
26
  return this._asyncsInProgress;
28
27
  }
@@ -30,7 +29,7 @@ export class AsyncTasksTracker {
30
29
  const id = Guid.createValue();
31
30
  this._asyncsInProgress.add(id);
32
31
  return {
33
- dispose: () => this._asyncsInProgress.delete(id),
32
+ [Symbol.dispose]: () => this._asyncsInProgress.delete(id),
34
33
  };
35
34
  }
36
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AsyncTasks.js","sourceRoot":"","sources":["../../../src/presentation-common/AsyncTasks.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,IAAI,EAA2B,MAAM,qBAAqB,CAAC;AAEpE;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,iBAAiB;IAA9B;QACU,sBAAiB,GAAG,IAAI,GAAG,EAAc,CAAC;IAWpD,CAAC;IAVC,IAAW,aAAa;QACtB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IACM,cAAc;QACnB,MAAM,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;QAC9B,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC/B,OAAO;YACL,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,CAAC;SACjD,CAAC;IACJ,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\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 Core\n */\n\nimport { Guid, GuidString, IDisposable } from \"@itwin/core-bentley\";\n\n/**\n * A helper to track ongoing async tasks. Usage:\n * ```\n * await using(tracker.trackAsyncTask(), async (_r) => {\n * await doSomethingAsync();\n * });\n * ```\n *\n * Can be used with `waitForPendingAsyncs` in test helpers to wait for all\n * async tasks to complete.\n *\n * @internal\n */\nexport class AsyncTasksTracker {\n private _asyncsInProgress = new Set<GuidString>();\n public get pendingAsyncs() {\n return this._asyncsInProgress;\n }\n public trackAsyncTask(): IDisposable {\n const id = Guid.createValue();\n this._asyncsInProgress.add(id);\n return {\n dispose: () => this._asyncsInProgress.delete(id),\n };\n }\n}\n"]}
1
+ {"version":3,"file":"AsyncTasks.js","sourceRoot":"","sources":["../../../src/presentation-common/AsyncTasks.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,IAAI,EAAc,MAAM,qBAAqB,CAAC;AAEvD;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,iBAAiB;IACpB,iBAAiB,GAAG,IAAI,GAAG,EAAc,CAAC;IAClD,IAAW,aAAa;QACtB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IACM,cAAc;QACnB,MAAM,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;QAC9B,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC/B,OAAO;YACL,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,CAAC;SAC1D,CAAC;IACJ,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\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 Core\n */\n\nimport { Guid, GuidString } from \"@itwin/core-bentley\";\n\n/**\n * A helper to track ongoing async tasks. Usage:\n * ```\n * { \n * using _r = tracker.trackAsyncTask();\n * await doSomethingAsync();\n * }\n * ```\n *\n * Can be used with `waitForPendingAsyncs` in test helpers to wait for all\n * async tasks to complete.\n *\n * @internal\n */\nexport class AsyncTasksTracker {\n private _asyncsInProgress = new Set<GuidString>();\n public get pendingAsyncs() {\n return this._asyncsInProgress;\n }\n public trackAsyncTask(): Disposable {\n const id = Guid.createValue();\n this._asyncsInProgress.add(id);\n return {\n [Symbol.dispose]: () => this._asyncsInProgress.delete(id),\n };\n }\n}\n"]}
@@ -28,28 +28,6 @@ export interface InstanceKey {
28
28
  export declare namespace InstanceKey {
29
29
  /** Compare 2 instance keys */
30
30
  function compare(lhs: InstanceKey, rhs: InstanceKey): number;
31
- /**
32
- * Serialize [[InstanceKey]] to JSON
33
- * @deprecated in 3.x. Use [[InstanceKey]].
34
- */
35
- function toJSON(key: InstanceKey): InstanceKeyJSON;
36
- /**
37
- * Deserialize [[InstanceKey]] from JSON
38
- * @deprecated in 3.x. Use [[InstanceKey]].
39
- */
40
- function fromJSON(json: InstanceKeyJSON): {
41
- className: string;
42
- id: string;
43
- };
44
- }
45
- /**
46
- * A serialized version of [[InstanceKey]]
47
- * @public
48
- * @deprecated in 3.x. Use [[InstanceKey]].
49
- */
50
- export interface InstanceKeyJSON {
51
- className: string;
52
- id: string;
53
31
  }
54
32
  /**
55
33
  * Information about an ECClass
@@ -63,29 +41,6 @@ export interface ClassInfo {
63
41
  /** ECClass label */
64
42
  label: string;
65
43
  }
66
- /** @public */
67
- export declare namespace ClassInfo {
68
- /**
69
- * Serialize [[ClassInfo]] to JSON
70
- * @deprecated in 3.x. Use [[ClassInfo]].
71
- */
72
- function toJSON(info: ClassInfo): ClassInfoJSON;
73
- /**
74
- * Deserialize [[ClassInfo]] from JSON
75
- * @deprecated in 3.x. Use [[ClassInfo]].
76
- */
77
- function fromJSON(json: ClassInfoJSON): ClassInfo;
78
- }
79
- /**
80
- * A serialized version of [[ClassInfo]]
81
- * @public
82
- * @deprecated in 3.x. Use [[ClassInfo]].
83
- */
84
- export interface ClassInfoJSON {
85
- id: string;
86
- name: string;
87
- label: string;
88
- }
89
44
  /**
90
45
  * A serialized and compressed version of [[ClassInfo]]
91
46
  * @public
@@ -147,20 +102,10 @@ export interface NavigationPropertyInfo {
147
102
  * @public
148
103
  */
149
104
  export declare namespace NavigationPropertyInfo {
150
- /**
151
- * Serialize [[NavigationPropertyInfo]] to JSON
152
- * @deprecated in 3.x. Use [[toCompressedJSON]].
153
- */
154
- function toJSON(info: NavigationPropertyInfo): NavigationPropertyInfoJSON;
155
105
  /** Serialize [[NavigationPropertyInfo]] to compressed JSON */
156
106
  function toCompressedJSON(navigationPropertyInfo: NavigationPropertyInfo, classesMap: {
157
107
  [id: string]: CompressedClassInfoJSON;
158
108
  }): NavigationPropertyInfoJSON<string>;
159
- /**
160
- * Deserialize [[NavigationPropertyInfo]] from JSON
161
- * @deprecated in 3.x. Use [[fromCompressedJSON]].
162
- */
163
- function fromJSON(json: NavigationPropertyInfoJSON): NavigationPropertyInfo;
164
109
  /** Deserialize [[NavigationPropertyInfo]] from compressed JSON */
165
110
  function fromCompressedJSON(compressedNavigationPropertyInfoJSON: NavigationPropertyInfoJSON<string>, classesMap: {
166
111
  [id: string]: CompressedClassInfoJSON;
@@ -170,7 +115,7 @@ export declare namespace NavigationPropertyInfo {
170
115
  * A serialized version of [[NavigationPropertyInfo]]
171
116
  * @public
172
117
  */
173
- export interface NavigationPropertyInfoJSON<TClassInfoJSON = ClassInfoJSON> {
118
+ export interface NavigationPropertyInfoJSON<TClassInfoJSON = ClassInfo> {
174
119
  classInfo: TClassInfoJSON;
175
120
  isForwardRelationship: boolean;
176
121
  targetClassInfo: TClassInfoJSON;
@@ -195,29 +140,50 @@ export interface PropertyInfo {
195
140
  extendedType?: string;
196
141
  /** Navigation property info if the field is navigation type */
197
142
  navigationPropertyInfo?: NavigationPropertyInfo;
143
+ /** Constraints for values of ECProperty */
144
+ constraints?: PropertyValueConstraints;
145
+ }
146
+ /**
147
+ * Constraints for values of ECProperty
148
+ * @public
149
+ */
150
+ export type PropertyValueConstraints = StringPropertyValueConstraints | ArrayPropertyValueConstraints | NumericPropertyValueConstraints;
151
+ /**
152
+ * Describes constraints for `string` type ECProperty values
153
+ * @public
154
+ */
155
+ export interface StringPropertyValueConstraints {
156
+ minimumLength?: number;
157
+ maximumLength?: number;
158
+ }
159
+ /**
160
+ * Describes constraints for `int` | `double` | `float` type ECProperty values
161
+ * @public
162
+ */
163
+ export interface NumericPropertyValueConstraints {
164
+ minimumValue?: number;
165
+ maximumValue?: number;
166
+ }
167
+ /**
168
+ * Describes constraints for `array` type ECProperty values
169
+ * @public
170
+ */
171
+ export interface ArrayPropertyValueConstraints {
172
+ minOccurs?: number;
173
+ maxOccurs?: number;
198
174
  }
199
175
  /** @public */
200
176
  export declare namespace PropertyInfo {
201
- /**
202
- * Serialize [[PropertyInfo]] to JSON
203
- * @deprecated in 3.x. Use [[PropertyInfo]].
204
- */
205
- function toJSON(info: PropertyInfo): PropertyInfoJSON;
206
177
  /** Serialize [[PropertyInfo]] to compressed JSON */
207
178
  function toCompressedJSON(propertyInfo: PropertyInfo, classesMap: {
208
179
  [id: string]: CompressedClassInfoJSON;
209
180
  }): PropertyInfoJSON<string>;
210
- /**
211
- * Deserialize [[PropertyInfo]] from JSON
212
- * @deprecated in 3.x. Use [[PropertyInfo]].
213
- */
214
- function fromJSON(json: PropertyInfoJSON): PropertyInfo;
215
181
  }
216
182
  /**
217
183
  * A serialized version of [[PropertyInfo]]
218
184
  * @public
219
185
  */
220
- export interface PropertyInfoJSON<TClassInfoJSON = ClassInfoJSON> {
186
+ export interface PropertyInfoJSON<TClassInfoJSON = ClassInfo> {
221
187
  classInfo: TClassInfoJSON;
222
188
  name: string;
223
189
  type: string;
@@ -247,20 +213,10 @@ export interface RelatedClassInfo {
247
213
  }
248
214
  /** @public */
249
215
  export declare namespace RelatedClassInfo {
250
- /**
251
- * Serialize [[RelatedClassInfo]] to JSON
252
- * @deprecated in 3.x. Use [[RelatedClassInfo]].
253
- */
254
- function toJSON(info: RelatedClassInfo): RelatedClassInfoJSON;
255
216
  /** Serialize [[RelatedClassInfo]] to compressed JSON */
256
217
  function toCompressedJSON(classInfo: RelatedClassInfo, classesMap: {
257
218
  [id: string]: CompressedClassInfoJSON;
258
219
  }): RelatedClassInfoJSON<string>;
259
- /**
260
- * Deserialize [[RelatedClassInfo]] from JSON
261
- * @deprecated in 3.x. Use [[RelatedClassInfo]].
262
- */
263
- function fromJSON(json: RelatedClassInfoJSON): RelatedClassInfo;
264
220
  /** Deserialize [[RelatedClassInfo]] from compressed JSON */
265
221
  function fromCompressedJSON(json: RelatedClassInfoJSON<string>, classesMap: {
266
222
  [id: string]: CompressedClassInfoJSON;
@@ -274,7 +230,7 @@ export declare namespace RelatedClassInfo {
274
230
  * A serialized version of [[RelatedClassInfo]]
275
231
  * @public
276
232
  */
277
- export interface RelatedClassInfoJSON<TClassInfoJSON = ClassInfoJSON> {
233
+ export interface RelatedClassInfoJSON<TClassInfoJSON = ClassInfo> {
278
234
  sourceClassInfo: TClassInfoJSON;
279
235
  targetClassInfo: TClassInfoJSON;
280
236
  isPolymorphicTargetClass?: boolean;
@@ -290,7 +246,7 @@ export interface RelatedClassInfoJSON<TClassInfoJSON = ClassInfoJSON> {
290
246
  */
291
247
  export type RelatedClassInfoWithOptionalRelationship = PartialBy<RelatedClassInfo, "relationshipInfo" | "isForwardRelationship" | "isPolymorphicRelationship">;
292
248
  /** @public */
293
- export type RelatedClassInfoWithOptionalRelationshipJSON<TClassInfoJSON = ClassInfoJSON> = PartialBy<RelatedClassInfoJSON<TClassInfoJSON>, "relationshipInfo" | "isForwardRelationship" | "isPolymorphicRelationship">;
249
+ export type RelatedClassInfoWithOptionalRelationshipJSON<TClassInfoJSON = ClassInfo> = PartialBy<RelatedClassInfoJSON<TClassInfoJSON>, "relationshipInfo" | "isForwardRelationship" | "isPolymorphicRelationship">;
294
250
  /** @public */
295
251
  export declare namespace RelatedClassInfoWithOptionalRelationship {
296
252
  /** Serialize [[RelatedClassInfoWithOptionalRelationship]] to compressed JSON */
@@ -311,7 +267,7 @@ export type RelationshipPath = RelatedClassInfo[];
311
267
  * Serialized [[RelationshipPath]]
312
268
  * @public
313
269
  */
314
- export type RelationshipPathJSON<TClassInfoJSON = ClassInfoJSON> = RelatedClassInfoJSON<TClassInfoJSON>[];
270
+ export type RelationshipPathJSON<TClassInfoJSON = ClassInfo> = RelatedClassInfoJSON<TClassInfoJSON>[];
315
271
  /** @public */
316
272
  export declare namespace RelationshipPath {
317
273
  /** Reverse direction of the given [[RelationshipPath]] */
@@ -1 +1 @@
1
- {"version":3,"file":"EC.d.ts","sourceRoot":"","sources":["../../../src/presentation-common/EC.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAU,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC;;;GAGG;AACH,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC;AAEjC;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC;AAEpC;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB;IACpB,EAAE,EAAE,UAAU,CAAC;CAChB;AAED,cAAc;AACd,yBAAiB,WAAW,CAAC;IAC3B,8BAA8B;IAC9B,SAAgB,OAAO,CAAC,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,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tG,cAAc;AAEd,yBAAiB,gBAAgB,CAAC;IAChC,0DAA0D;IAC1D,SAAgB,OAAO,CAAC,IAAI,EAAE,gBAAgB,GAAG,gBAAgB,CAOhE;IAED,kFAAkF;IAClF,SAAgB,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,gBAAgB,GAAG,wBAAwB,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,gBAAgB,GAAG,wBAAwB,CAAC,GAAG,OAAO,CAEhJ;IAED,uEAAuE;IACvE,SAAgB,KAAK,CAAC,IAAI,EAAE,gBAAgB,GAAG,wBAAwB,CAEtE;CACF;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,OAAO,CAAC;CAChC;AAED;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,wBAAwB,EAAE,CAAC"}
@@ -18,66 +18,13 @@ export var InstanceKey;
18
18
  return lhs.id.localeCompare(rhs.id);
19
19
  }
20
20
  InstanceKey.compare = compare;
21
- /**
22
- * Serialize [[InstanceKey]] to JSON
23
- * @deprecated in 3.x. Use [[InstanceKey]].
24
- */
25
- // istanbul ignore next
26
- // eslint-disable-next-line @typescript-eslint/no-deprecated
27
- function toJSON(key) {
28
- return { ...key };
29
- }
30
- InstanceKey.toJSON = toJSON;
31
- /**
32
- * Deserialize [[InstanceKey]] from JSON
33
- * @deprecated in 3.x. Use [[InstanceKey]].
34
- */
35
- // istanbul ignore next
36
- // eslint-disable-next-line @typescript-eslint/no-deprecated
37
- function fromJSON(json) {
38
- return { ...json };
39
- }
40
- InstanceKey.fromJSON = fromJSON;
41
21
  })(InstanceKey || (InstanceKey = {}));
42
- /** @public */
43
- export var ClassInfo;
44
- (function (ClassInfo) {
45
- /**
46
- * Serialize [[ClassInfo]] to JSON
47
- * @deprecated in 3.x. Use [[ClassInfo]].
48
- */
49
- // istanbul ignore next
50
- // eslint-disable-next-line @typescript-eslint/no-deprecated
51
- function toJSON(info) {
52
- return { ...info };
53
- }
54
- ClassInfo.toJSON = toJSON;
55
- /**
56
- * Deserialize [[ClassInfo]] from JSON
57
- * @deprecated in 3.x. Use [[ClassInfo]].
58
- */
59
- // istanbul ignore next
60
- // eslint-disable-next-line @typescript-eslint/no-deprecated
61
- function fromJSON(json) {
62
- return { ...json };
63
- }
64
- ClassInfo.fromJSON = fromJSON;
65
- })(ClassInfo || (ClassInfo = {}));
66
22
  /**
67
23
  * Contains utilities for working with objects of [[NavigationPropertyInfo]] type.
68
24
  * @public
69
25
  */
70
26
  export var NavigationPropertyInfo;
71
27
  (function (NavigationPropertyInfo) {
72
- /**
73
- * Serialize [[NavigationPropertyInfo]] to JSON
74
- * @deprecated in 3.x. Use [[toCompressedJSON]].
75
- */
76
- // istanbul ignore next
77
- function toJSON(info) {
78
- return { ...info };
79
- }
80
- NavigationPropertyInfo.toJSON = toJSON;
81
28
  /** Serialize [[NavigationPropertyInfo]] to compressed JSON */
82
29
  function toCompressedJSON(navigationPropertyInfo, classesMap) {
83
30
  const { id: relationshipId, ...relationshipLeftOverInfo } = navigationPropertyInfo.classInfo;
@@ -91,15 +38,6 @@ export var NavigationPropertyInfo;
91
38
  };
92
39
  }
93
40
  NavigationPropertyInfo.toCompressedJSON = toCompressedJSON;
94
- /**
95
- * Deserialize [[NavigationPropertyInfo]] from JSON
96
- * @deprecated in 3.x. Use [[fromCompressedJSON]].
97
- */
98
- // istanbul ignore next
99
- function fromJSON(json) {
100
- return { ...json };
101
- }
102
- NavigationPropertyInfo.fromJSON = fromJSON;
103
41
  /** Deserialize [[NavigationPropertyInfo]] from compressed JSON */
104
42
  function fromCompressedJSON(compressedNavigationPropertyInfoJSON, classesMap) {
105
43
  return {
@@ -113,15 +51,6 @@ export var NavigationPropertyInfo;
113
51
  /** @public */
114
52
  export var PropertyInfo;
115
53
  (function (PropertyInfo) {
116
- /**
117
- * Serialize [[PropertyInfo]] to JSON
118
- * @deprecated in 3.x. Use [[PropertyInfo]].
119
- */
120
- // istanbul ignore next
121
- function toJSON(info) {
122
- return { ...info };
123
- }
124
- PropertyInfo.toJSON = toJSON;
125
54
  /** Serialize [[PropertyInfo]] to compressed JSON */
126
55
  function toCompressedJSON(propertyInfo, classesMap) {
127
56
  const { navigationPropertyInfo, ...leftOverPropertyInfo } = propertyInfo;
@@ -134,27 +63,10 @@ export var PropertyInfo;
134
63
  };
135
64
  }
136
65
  PropertyInfo.toCompressedJSON = toCompressedJSON;
137
- /**
138
- * Deserialize [[PropertyInfo]] from JSON
139
- * @deprecated in 3.x. Use [[PropertyInfo]].
140
- */
141
- // istanbul ignore next
142
- function fromJSON(json) {
143
- return { ...json };
144
- }
145
- PropertyInfo.fromJSON = fromJSON;
146
66
  })(PropertyInfo || (PropertyInfo = {}));
147
67
  /** @public */
148
68
  export var RelatedClassInfo;
149
69
  (function (RelatedClassInfo) {
150
- /**
151
- * Serialize [[RelatedClassInfo]] to JSON
152
- * @deprecated in 3.x. Use [[RelatedClassInfo]].
153
- */
154
- function toJSON(info) {
155
- return { ...info };
156
- }
157
- RelatedClassInfo.toJSON = toJSON;
158
70
  /** Serialize [[RelatedClassInfo]] to compressed JSON */
159
71
  function toCompressedJSON(classInfo, classesMap) {
160
72
  const { id: sourceId, ...sourceLeftOverInfo } = classInfo.sourceClassInfo;
@@ -171,14 +83,6 @@ export var RelatedClassInfo;
171
83
  };
172
84
  }
173
85
  RelatedClassInfo.toCompressedJSON = toCompressedJSON;
174
- /**
175
- * Deserialize [[RelatedClassInfo]] from JSON
176
- * @deprecated in 3.x. Use [[RelatedClassInfo]].
177
- */
178
- function fromJSON(json) {
179
- return { ...json };
180
- }
181
- RelatedClassInfo.fromJSON = fromJSON;
182
86
  /** Deserialize [[RelatedClassInfo]] from compressed JSON */
183
87
  function fromCompressedJSON(json, classesMap) {
184
88
  assert(classesMap.hasOwnProperty(json.sourceClassInfo));