@itwin/presentation-common 3.2.0-dev.7 → 3.2.0-dev.72

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 (315) hide show
  1. package/CHANGELOG.md +33 -1
  2. package/Ruleset.schema.json +297 -290
  3. package/lib/cjs/presentation-common/CommonLoggerCategory.d.ts +13 -0
  4. package/lib/cjs/presentation-common/CommonLoggerCategory.d.ts.map +1 -0
  5. package/lib/cjs/presentation-common/CommonLoggerCategory.js +21 -0
  6. package/lib/cjs/presentation-common/CommonLoggerCategory.js.map +1 -0
  7. package/lib/cjs/presentation-common/EC.d.ts +36 -0
  8. package/lib/cjs/presentation-common/EC.d.ts.map +1 -1
  9. package/lib/cjs/presentation-common/EC.js +38 -4
  10. package/lib/cjs/presentation-common/EC.js.map +1 -1
  11. package/lib/cjs/presentation-common/RpcRequestsHandler.d.ts.map +1 -1
  12. package/lib/cjs/presentation-common/RpcRequestsHandler.js +26 -0
  13. package/lib/cjs/presentation-common/RpcRequestsHandler.js.map +1 -1
  14. package/lib/cjs/presentation-common/Utils.d.ts +0 -2
  15. package/lib/cjs/presentation-common/Utils.d.ts.map +1 -1
  16. package/lib/cjs/presentation-common/Utils.js +1 -25
  17. package/lib/cjs/presentation-common/Utils.js.map +1 -1
  18. package/lib/cjs/presentation-common/content/ContentTraverser.js +2 -2
  19. package/lib/cjs/presentation-common/content/ContentTraverser.js.map +1 -1
  20. package/lib/cjs/presentation-common/content/Descriptor.d.ts +9 -6
  21. package/lib/cjs/presentation-common/content/Descriptor.d.ts.map +1 -1
  22. package/lib/cjs/presentation-common/content/Descriptor.js +4 -1
  23. package/lib/cjs/presentation-common/content/Descriptor.js.map +1 -1
  24. package/lib/cjs/presentation-common/content/Fields.d.ts +3 -3
  25. package/lib/cjs/presentation-common/content/Fields.d.ts.map +1 -1
  26. package/lib/cjs/presentation-common/content/Fields.js +11 -3
  27. package/lib/cjs/presentation-common/content/Fields.js.map +1 -1
  28. package/lib/cjs/presentation-common/content/Item.d.ts +7 -3
  29. package/lib/cjs/presentation-common/content/Item.d.ts.map +1 -1
  30. package/lib/cjs/presentation-common/content/Item.js +2 -2
  31. package/lib/cjs/presentation-common/content/Item.js.map +1 -1
  32. package/lib/cjs/presentation-common/hierarchy/Node.d.ts +35 -7
  33. package/lib/cjs/presentation-common/hierarchy/Node.d.ts.map +1 -1
  34. package/lib/cjs/presentation-common/hierarchy/Node.js.map +1 -1
  35. package/lib/cjs/presentation-common/rules/ClassSpecifications.d.ts +10 -8
  36. package/lib/cjs/presentation-common/rules/ClassSpecifications.d.ts.map +1 -1
  37. package/lib/cjs/presentation-common/rules/ClassSpecifications.js.map +1 -1
  38. package/lib/cjs/presentation-common/rules/RelatedInstanceSpecification.d.ts +10 -62
  39. package/lib/cjs/presentation-common/rules/RelatedInstanceSpecification.d.ts.map +1 -1
  40. package/lib/cjs/presentation-common/rules/RelatedInstanceSpecification.js.map +1 -1
  41. package/lib/cjs/presentation-common/rules/RelationshipPathSpecification.d.ts +20 -13
  42. package/lib/cjs/presentation-common/rules/RelationshipPathSpecification.d.ts.map +1 -1
  43. package/lib/cjs/presentation-common/rules/RelationshipPathSpecification.js.map +1 -1
  44. package/lib/cjs/presentation-common/rules/Rule.d.ts +11 -12
  45. package/lib/cjs/presentation-common/rules/Rule.d.ts.map +1 -1
  46. package/lib/cjs/presentation-common/rules/Rule.js.map +1 -1
  47. package/lib/cjs/presentation-common/rules/Ruleset.d.ts +6 -5
  48. package/lib/cjs/presentation-common/rules/Ruleset.d.ts.map +1 -1
  49. package/lib/cjs/presentation-common/rules/Ruleset.js.map +1 -1
  50. package/lib/cjs/presentation-common/rules/SchemasSpecification.d.ts +5 -2
  51. package/lib/cjs/presentation-common/rules/SchemasSpecification.d.ts.map +1 -1
  52. package/lib/cjs/presentation-common/rules/SchemasSpecification.js.map +1 -1
  53. package/lib/cjs/presentation-common/rules/Variables.d.ts +3 -3
  54. package/lib/cjs/presentation-common/rules/Variables.js.map +1 -1
  55. package/lib/cjs/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts +12 -14
  56. package/lib/cjs/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts.map +1 -1
  57. package/lib/cjs/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js.map +1 -1
  58. package/lib/cjs/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts +6 -8
  59. package/lib/cjs/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts.map +1 -1
  60. package/lib/cjs/presentation-common/rules/content/ContentRelatedInstancesSpecification.js.map +1 -1
  61. package/lib/cjs/presentation-common/rules/content/ContentRule.d.ts +15 -10
  62. package/lib/cjs/presentation-common/rules/content/ContentRule.d.ts.map +1 -1
  63. package/lib/cjs/presentation-common/rules/content/ContentRule.js.map +1 -1
  64. package/lib/cjs/presentation-common/rules/content/ContentSpecification.d.ts +11 -5
  65. package/lib/cjs/presentation-common/rules/content/ContentSpecification.d.ts.map +1 -1
  66. package/lib/cjs/presentation-common/rules/content/ContentSpecification.js.map +1 -1
  67. package/lib/cjs/presentation-common/rules/content/DefaultPropertyCategoryOverride.d.ts +3 -4
  68. package/lib/cjs/presentation-common/rules/content/DefaultPropertyCategoryOverride.d.ts.map +1 -1
  69. package/lib/cjs/presentation-common/rules/content/DefaultPropertyCategoryOverride.js.map +1 -1
  70. package/lib/cjs/presentation-common/rules/content/PropertySpecification.d.ts +45 -21
  71. package/lib/cjs/presentation-common/rules/content/PropertySpecification.d.ts.map +1 -1
  72. package/lib/cjs/presentation-common/rules/content/PropertySpecification.js.map +1 -1
  73. package/lib/cjs/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts +5 -10
  74. package/lib/cjs/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts.map +1 -1
  75. package/lib/cjs/presentation-common/rules/content/SelectedNodeInstancesSpecification.js.map +1 -1
  76. package/lib/cjs/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts +7 -10
  77. package/lib/cjs/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts.map +1 -1
  78. package/lib/cjs/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js.map +1 -1
  79. package/lib/cjs/presentation-common/rules/content/modifiers/ContentModifier.d.ts +22 -12
  80. package/lib/cjs/presentation-common/rules/content/modifiers/ContentModifier.d.ts.map +1 -1
  81. package/lib/cjs/presentation-common/rules/content/modifiers/ContentModifier.js.map +1 -1
  82. package/lib/cjs/presentation-common/rules/content/modifiers/CustomRendererSpecification.d.ts +8 -2
  83. package/lib/cjs/presentation-common/rules/content/modifiers/CustomRendererSpecification.d.ts.map +1 -1
  84. package/lib/cjs/presentation-common/rules/content/modifiers/CustomRendererSpecification.js.map +1 -1
  85. package/lib/cjs/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts +30 -10
  86. package/lib/cjs/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts.map +1 -1
  87. package/lib/cjs/presentation-common/rules/content/modifiers/PropertyCategorySpecification.js.map +1 -1
  88. package/lib/cjs/presentation-common/rules/content/modifiers/PropertyEditorsSpecification.d.ts +9 -4
  89. package/lib/cjs/presentation-common/rules/content/modifiers/PropertyEditorsSpecification.d.ts.map +1 -1
  90. package/lib/cjs/presentation-common/rules/content/modifiers/PropertyEditorsSpecification.js.map +1 -1
  91. package/lib/cjs/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts +25 -21
  92. package/lib/cjs/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts.map +1 -1
  93. package/lib/cjs/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js +5 -7
  94. package/lib/cjs/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js.map +1 -1
  95. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.d.ts +8 -10
  96. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.d.ts.map +1 -1
  97. package/lib/cjs/presentation-common/rules/customization/CheckBoxRule.js.map +1 -1
  98. package/lib/cjs/presentation-common/rules/customization/CustomizationRule.d.ts +6 -3
  99. package/lib/cjs/presentation-common/rules/customization/CustomizationRule.d.ts.map +1 -1
  100. package/lib/cjs/presentation-common/rules/customization/CustomizationRule.js.map +1 -1
  101. package/lib/cjs/presentation-common/rules/customization/ExtendedDataRule.d.ts +9 -24
  102. package/lib/cjs/presentation-common/rules/customization/ExtendedDataRule.d.ts.map +1 -1
  103. package/lib/cjs/presentation-common/rules/customization/ExtendedDataRule.js.map +1 -1
  104. package/lib/cjs/presentation-common/rules/customization/GroupingRule.d.ts +55 -72
  105. package/lib/cjs/presentation-common/rules/customization/GroupingRule.d.ts.map +1 -1
  106. package/lib/cjs/presentation-common/rules/customization/GroupingRule.js +1 -1
  107. package/lib/cjs/presentation-common/rules/customization/GroupingRule.js.map +1 -1
  108. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.d.ts +9 -9
  109. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.d.ts.map +1 -1
  110. package/lib/cjs/presentation-common/rules/customization/ImageIdOverride.js.map +1 -1
  111. package/lib/cjs/presentation-common/rules/customization/InstanceLabelOverride.d.ts +33 -22
  112. package/lib/cjs/presentation-common/rules/customization/InstanceLabelOverride.d.ts.map +1 -1
  113. package/lib/cjs/presentation-common/rules/customization/InstanceLabelOverride.js +1 -1
  114. package/lib/cjs/presentation-common/rules/customization/InstanceLabelOverride.js.map +1 -1
  115. package/lib/cjs/presentation-common/rules/customization/LabelOverride.d.ts +14 -16
  116. package/lib/cjs/presentation-common/rules/customization/LabelOverride.d.ts.map +1 -1
  117. package/lib/cjs/presentation-common/rules/customization/LabelOverride.js.map +1 -1
  118. package/lib/cjs/presentation-common/rules/customization/SortingRule.d.ts +16 -29
  119. package/lib/cjs/presentation-common/rules/customization/SortingRule.d.ts.map +1 -1
  120. package/lib/cjs/presentation-common/rules/customization/SortingRule.js.map +1 -1
  121. package/lib/cjs/presentation-common/rules/customization/StyleOverride.d.ts +11 -11
  122. package/lib/cjs/presentation-common/rules/customization/StyleOverride.d.ts.map +1 -1
  123. package/lib/cjs/presentation-common/rules/customization/StyleOverride.js.map +1 -1
  124. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeRule.d.ts +4 -5
  125. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeRule.d.ts.map +1 -1
  126. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeRule.js.map +1 -1
  127. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts +30 -32
  128. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts.map +1 -1
  129. package/lib/cjs/presentation-common/rules/hierarchy/ChildNodeSpecification.js.map +1 -1
  130. package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts +11 -6
  131. package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts.map +1 -1
  132. package/lib/cjs/presentation-common/rules/hierarchy/CustomNodeSpecification.js.map +1 -1
  133. package/lib/cjs/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.d.ts +19 -20
  134. package/lib/cjs/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.d.ts.map +1 -1
  135. package/lib/cjs/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js.map +1 -1
  136. package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts +14 -10
  137. package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts.map +1 -1
  138. package/lib/cjs/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js.map +1 -1
  139. package/lib/cjs/presentation-common/rules/hierarchy/NavigationRule.d.ts +16 -15
  140. package/lib/cjs/presentation-common/rules/hierarchy/NavigationRule.d.ts.map +1 -1
  141. package/lib/cjs/presentation-common/rules/hierarchy/NavigationRule.js.map +1 -1
  142. package/lib/cjs/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts +9 -28
  143. package/lib/cjs/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts.map +1 -1
  144. package/lib/cjs/presentation-common/rules/hierarchy/NodeArtifactsRule.js.map +1 -1
  145. package/lib/cjs/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts +8 -9
  146. package/lib/cjs/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts.map +1 -1
  147. package/lib/cjs/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js.map +1 -1
  148. package/lib/cjs/presentation-common/rules/hierarchy/RootNodeRule.d.ts +3 -4
  149. package/lib/cjs/presentation-common/rules/hierarchy/RootNodeRule.d.ts.map +1 -1
  150. package/lib/cjs/presentation-common/rules/hierarchy/RootNodeRule.js.map +1 -1
  151. package/lib/cjs/presentation-common/rules/hierarchy/SubCondition.d.ts +17 -10
  152. package/lib/cjs/presentation-common/rules/hierarchy/SubCondition.d.ts.map +1 -1
  153. package/lib/cjs/presentation-common/rules/hierarchy/SubCondition.js.map +1 -1
  154. package/lib/cjs/presentation-common/selection/SelectionScope.d.ts +1 -1
  155. package/lib/cjs/presentation-common/selection/SelectionScope.js.map +1 -1
  156. package/lib/cjs/presentation-common.d.ts +3 -3
  157. package/lib/cjs/presentation-common.js +3 -3
  158. package/lib/cjs/presentation-common.js.map +1 -1
  159. package/lib/esm/presentation-common/CommonLoggerCategory.d.ts +13 -0
  160. package/lib/esm/presentation-common/CommonLoggerCategory.d.ts.map +1 -0
  161. package/lib/esm/presentation-common/CommonLoggerCategory.js +18 -0
  162. package/lib/esm/presentation-common/CommonLoggerCategory.js.map +1 -0
  163. package/lib/esm/presentation-common/EC.d.ts +36 -0
  164. package/lib/esm/presentation-common/EC.d.ts.map +1 -1
  165. package/lib/esm/presentation-common/EC.js +37 -3
  166. package/lib/esm/presentation-common/EC.js.map +1 -1
  167. package/lib/esm/presentation-common/RpcRequestsHandler.d.ts.map +1 -1
  168. package/lib/esm/presentation-common/RpcRequestsHandler.js +27 -1
  169. package/lib/esm/presentation-common/RpcRequestsHandler.js.map +1 -1
  170. package/lib/esm/presentation-common/Utils.d.ts +0 -2
  171. package/lib/esm/presentation-common/Utils.d.ts.map +1 -1
  172. package/lib/esm/presentation-common/Utils.js +0 -4
  173. package/lib/esm/presentation-common/Utils.js.map +1 -1
  174. package/lib/esm/presentation-common/content/ContentTraverser.js +2 -2
  175. package/lib/esm/presentation-common/content/ContentTraverser.js.map +1 -1
  176. package/lib/esm/presentation-common/content/Descriptor.d.ts +9 -6
  177. package/lib/esm/presentation-common/content/Descriptor.d.ts.map +1 -1
  178. package/lib/esm/presentation-common/content/Descriptor.js +4 -1
  179. package/lib/esm/presentation-common/content/Descriptor.js.map +1 -1
  180. package/lib/esm/presentation-common/content/Fields.d.ts +3 -3
  181. package/lib/esm/presentation-common/content/Fields.d.ts.map +1 -1
  182. package/lib/esm/presentation-common/content/Fields.js +11 -3
  183. package/lib/esm/presentation-common/content/Fields.js.map +1 -1
  184. package/lib/esm/presentation-common/content/Item.d.ts +7 -3
  185. package/lib/esm/presentation-common/content/Item.d.ts.map +1 -1
  186. package/lib/esm/presentation-common/content/Item.js +2 -2
  187. package/lib/esm/presentation-common/content/Item.js.map +1 -1
  188. package/lib/esm/presentation-common/hierarchy/Node.d.ts +35 -7
  189. package/lib/esm/presentation-common/hierarchy/Node.d.ts.map +1 -1
  190. package/lib/esm/presentation-common/hierarchy/Node.js.map +1 -1
  191. package/lib/esm/presentation-common/rules/ClassSpecifications.d.ts +10 -8
  192. package/lib/esm/presentation-common/rules/ClassSpecifications.d.ts.map +1 -1
  193. package/lib/esm/presentation-common/rules/ClassSpecifications.js.map +1 -1
  194. package/lib/esm/presentation-common/rules/RelatedInstanceSpecification.d.ts +10 -62
  195. package/lib/esm/presentation-common/rules/RelatedInstanceSpecification.d.ts.map +1 -1
  196. package/lib/esm/presentation-common/rules/RelatedInstanceSpecification.js.map +1 -1
  197. package/lib/esm/presentation-common/rules/RelationshipPathSpecification.d.ts +20 -13
  198. package/lib/esm/presentation-common/rules/RelationshipPathSpecification.d.ts.map +1 -1
  199. package/lib/esm/presentation-common/rules/RelationshipPathSpecification.js.map +1 -1
  200. package/lib/esm/presentation-common/rules/Rule.d.ts +11 -12
  201. package/lib/esm/presentation-common/rules/Rule.d.ts.map +1 -1
  202. package/lib/esm/presentation-common/rules/Rule.js.map +1 -1
  203. package/lib/esm/presentation-common/rules/Ruleset.d.ts +6 -5
  204. package/lib/esm/presentation-common/rules/Ruleset.d.ts.map +1 -1
  205. package/lib/esm/presentation-common/rules/Ruleset.js.map +1 -1
  206. package/lib/esm/presentation-common/rules/SchemasSpecification.d.ts +5 -2
  207. package/lib/esm/presentation-common/rules/SchemasSpecification.d.ts.map +1 -1
  208. package/lib/esm/presentation-common/rules/SchemasSpecification.js.map +1 -1
  209. package/lib/esm/presentation-common/rules/Variables.d.ts +3 -3
  210. package/lib/esm/presentation-common/rules/Variables.js.map +1 -1
  211. package/lib/esm/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts +12 -14
  212. package/lib/esm/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.d.ts.map +1 -1
  213. package/lib/esm/presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js.map +1 -1
  214. package/lib/esm/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts +6 -8
  215. package/lib/esm/presentation-common/rules/content/ContentRelatedInstancesSpecification.d.ts.map +1 -1
  216. package/lib/esm/presentation-common/rules/content/ContentRelatedInstancesSpecification.js.map +1 -1
  217. package/lib/esm/presentation-common/rules/content/ContentRule.d.ts +15 -10
  218. package/lib/esm/presentation-common/rules/content/ContentRule.d.ts.map +1 -1
  219. package/lib/esm/presentation-common/rules/content/ContentRule.js.map +1 -1
  220. package/lib/esm/presentation-common/rules/content/ContentSpecification.d.ts +11 -5
  221. package/lib/esm/presentation-common/rules/content/ContentSpecification.d.ts.map +1 -1
  222. package/lib/esm/presentation-common/rules/content/ContentSpecification.js.map +1 -1
  223. package/lib/esm/presentation-common/rules/content/DefaultPropertyCategoryOverride.d.ts +3 -4
  224. package/lib/esm/presentation-common/rules/content/DefaultPropertyCategoryOverride.d.ts.map +1 -1
  225. package/lib/esm/presentation-common/rules/content/DefaultPropertyCategoryOverride.js.map +1 -1
  226. package/lib/esm/presentation-common/rules/content/PropertySpecification.d.ts +45 -21
  227. package/lib/esm/presentation-common/rules/content/PropertySpecification.d.ts.map +1 -1
  228. package/lib/esm/presentation-common/rules/content/PropertySpecification.js.map +1 -1
  229. package/lib/esm/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts +5 -10
  230. package/lib/esm/presentation-common/rules/content/SelectedNodeInstancesSpecification.d.ts.map +1 -1
  231. package/lib/esm/presentation-common/rules/content/SelectedNodeInstancesSpecification.js.map +1 -1
  232. package/lib/esm/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts +7 -10
  233. package/lib/esm/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.d.ts.map +1 -1
  234. package/lib/esm/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js.map +1 -1
  235. package/lib/esm/presentation-common/rules/content/modifiers/ContentModifier.d.ts +22 -12
  236. package/lib/esm/presentation-common/rules/content/modifiers/ContentModifier.d.ts.map +1 -1
  237. package/lib/esm/presentation-common/rules/content/modifiers/ContentModifier.js.map +1 -1
  238. package/lib/esm/presentation-common/rules/content/modifiers/CustomRendererSpecification.d.ts +8 -2
  239. package/lib/esm/presentation-common/rules/content/modifiers/CustomRendererSpecification.d.ts.map +1 -1
  240. package/lib/esm/presentation-common/rules/content/modifiers/CustomRendererSpecification.js.map +1 -1
  241. package/lib/esm/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts +30 -10
  242. package/lib/esm/presentation-common/rules/content/modifiers/PropertyCategorySpecification.d.ts.map +1 -1
  243. package/lib/esm/presentation-common/rules/content/modifiers/PropertyCategorySpecification.js.map +1 -1
  244. package/lib/esm/presentation-common/rules/content/modifiers/PropertyEditorsSpecification.d.ts +9 -4
  245. package/lib/esm/presentation-common/rules/content/modifiers/PropertyEditorsSpecification.d.ts.map +1 -1
  246. package/lib/esm/presentation-common/rules/content/modifiers/PropertyEditorsSpecification.js.map +1 -1
  247. package/lib/esm/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts +25 -21
  248. package/lib/esm/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.d.ts.map +1 -1
  249. package/lib/esm/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js +5 -7
  250. package/lib/esm/presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js.map +1 -1
  251. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.d.ts +8 -10
  252. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.d.ts.map +1 -1
  253. package/lib/esm/presentation-common/rules/customization/CheckBoxRule.js.map +1 -1
  254. package/lib/esm/presentation-common/rules/customization/CustomizationRule.d.ts +6 -3
  255. package/lib/esm/presentation-common/rules/customization/CustomizationRule.d.ts.map +1 -1
  256. package/lib/esm/presentation-common/rules/customization/CustomizationRule.js.map +1 -1
  257. package/lib/esm/presentation-common/rules/customization/ExtendedDataRule.d.ts +9 -24
  258. package/lib/esm/presentation-common/rules/customization/ExtendedDataRule.d.ts.map +1 -1
  259. package/lib/esm/presentation-common/rules/customization/ExtendedDataRule.js.map +1 -1
  260. package/lib/esm/presentation-common/rules/customization/GroupingRule.d.ts +55 -72
  261. package/lib/esm/presentation-common/rules/customization/GroupingRule.d.ts.map +1 -1
  262. package/lib/esm/presentation-common/rules/customization/GroupingRule.js +1 -1
  263. package/lib/esm/presentation-common/rules/customization/GroupingRule.js.map +1 -1
  264. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.d.ts +9 -9
  265. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.d.ts.map +1 -1
  266. package/lib/esm/presentation-common/rules/customization/ImageIdOverride.js.map +1 -1
  267. package/lib/esm/presentation-common/rules/customization/InstanceLabelOverride.d.ts +33 -22
  268. package/lib/esm/presentation-common/rules/customization/InstanceLabelOverride.d.ts.map +1 -1
  269. package/lib/esm/presentation-common/rules/customization/InstanceLabelOverride.js +1 -1
  270. package/lib/esm/presentation-common/rules/customization/InstanceLabelOverride.js.map +1 -1
  271. package/lib/esm/presentation-common/rules/customization/LabelOverride.d.ts +14 -16
  272. package/lib/esm/presentation-common/rules/customization/LabelOverride.d.ts.map +1 -1
  273. package/lib/esm/presentation-common/rules/customization/LabelOverride.js.map +1 -1
  274. package/lib/esm/presentation-common/rules/customization/SortingRule.d.ts +16 -29
  275. package/lib/esm/presentation-common/rules/customization/SortingRule.d.ts.map +1 -1
  276. package/lib/esm/presentation-common/rules/customization/SortingRule.js.map +1 -1
  277. package/lib/esm/presentation-common/rules/customization/StyleOverride.d.ts +11 -11
  278. package/lib/esm/presentation-common/rules/customization/StyleOverride.d.ts.map +1 -1
  279. package/lib/esm/presentation-common/rules/customization/StyleOverride.js.map +1 -1
  280. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeRule.d.ts +4 -5
  281. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeRule.d.ts.map +1 -1
  282. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeRule.js.map +1 -1
  283. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts +30 -32
  284. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeSpecification.d.ts.map +1 -1
  285. package/lib/esm/presentation-common/rules/hierarchy/ChildNodeSpecification.js.map +1 -1
  286. package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts +11 -6
  287. package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.d.ts.map +1 -1
  288. package/lib/esm/presentation-common/rules/hierarchy/CustomNodeSpecification.js.map +1 -1
  289. package/lib/esm/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.d.ts +19 -20
  290. package/lib/esm/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.d.ts.map +1 -1
  291. package/lib/esm/presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js.map +1 -1
  292. package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts +14 -10
  293. package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.d.ts.map +1 -1
  294. package/lib/esm/presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js.map +1 -1
  295. package/lib/esm/presentation-common/rules/hierarchy/NavigationRule.d.ts +16 -15
  296. package/lib/esm/presentation-common/rules/hierarchy/NavigationRule.d.ts.map +1 -1
  297. package/lib/esm/presentation-common/rules/hierarchy/NavigationRule.js.map +1 -1
  298. package/lib/esm/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts +9 -28
  299. package/lib/esm/presentation-common/rules/hierarchy/NodeArtifactsRule.d.ts.map +1 -1
  300. package/lib/esm/presentation-common/rules/hierarchy/NodeArtifactsRule.js.map +1 -1
  301. package/lib/esm/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts +8 -9
  302. package/lib/esm/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.d.ts.map +1 -1
  303. package/lib/esm/presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js.map +1 -1
  304. package/lib/esm/presentation-common/rules/hierarchy/RootNodeRule.d.ts +3 -4
  305. package/lib/esm/presentation-common/rules/hierarchy/RootNodeRule.d.ts.map +1 -1
  306. package/lib/esm/presentation-common/rules/hierarchy/RootNodeRule.js.map +1 -1
  307. package/lib/esm/presentation-common/rules/hierarchy/SubCondition.d.ts +17 -10
  308. package/lib/esm/presentation-common/rules/hierarchy/SubCondition.d.ts.map +1 -1
  309. package/lib/esm/presentation-common/rules/hierarchy/SubCondition.js.map +1 -1
  310. package/lib/esm/presentation-common/selection/SelectionScope.d.ts +1 -1
  311. package/lib/esm/presentation-common/selection/SelectionScope.js.map +1 -1
  312. package/lib/esm/presentation-common.d.ts +3 -3
  313. package/lib/esm/presentation-common.js +3 -3
  314. package/lib/esm/presentation-common.js.map +1 -1
  315. package/package.json +9 -10
@@ -1 +1 @@
1
- {"version":3,"file":"ContentSpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/content/ContentSpecification.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAQH;;;GAGG;AACH,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACnC,oGAAuE,CAAA;IACvE,gFAAmD,CAAA;IACnD,4EAA+C,CAAA;AACjD,CAAC,EAJW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAIpC","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 { ContentInstancesOfSpecificClassesSpecification } from \"./ContentInstancesOfSpecificClassesSpecification\";\r\nimport { ContentRelatedInstancesSpecification } from \"./ContentRelatedInstancesSpecification\";\r\nimport { ContentModifiersList } from \"./modifiers/ContentModifier\";\r\nimport { SelectedNodeInstancesSpecification } from \"./SelectedNodeInstancesSpecification\";\r\n\r\n/**\r\n * Used for serializing array of [[ContentSpecification]]\r\n * @public\r\n */\r\nexport enum ContentSpecificationTypes {\r\n ContentInstancesOfSpecificClasses = \"ContentInstancesOfSpecificClasses\",\r\n ContentRelatedInstances = \"ContentRelatedInstances\",\r\n SelectedNodeInstances = \"SelectedNodeInstances\",\r\n}\r\n\r\n/**\r\n * Base interface for all [[ContentSpecification]] implementations. Not\r\n * meant to be used directly, see `ContentSpecification`.\r\n *\r\n * @public\r\n */\r\nexport interface ContentSpecificationBase extends ContentModifiersList {\r\n /** Used for serializing to JSON. */\r\n specType: ContentSpecificationTypes;\r\n\r\n /**\r\n * Defines the order in which specifications are evaluated and executed. Defaults to `1000`.\r\n *\r\n * @type integer\r\n */\r\n priority?: number;\r\n\r\n /** Should each content record be assigned an image id */\r\n showImages?: boolean;\r\n\r\n /** Specifications for joining related instances */\r\n relatedInstances?: RelatedInstanceSpecification[];\r\n\r\n /**\r\n * Identifies whether we should ignore this specification if there is already an existing specification\r\n * with higher `priority` that already provides content.\r\n */\r\n onlyIfNotHandled?: boolean;\r\n}\r\n\r\n/**\r\n * Content rule specifications which define what content is returned\r\n * when rule is used.\r\n *\r\n * @public\r\n */\r\nexport declare type ContentSpecification = ContentInstancesOfSpecificClassesSpecification | ContentRelatedInstancesSpecification | SelectedNodeInstancesSpecification;\r\n"]}
1
+ {"version":3,"file":"ContentSpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/content/ContentSpecification.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAQH;;;GAGG;AACH,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACnC,oGAAuE,CAAA;IACvE,gFAAmD,CAAA;IACnD,4EAA+C,CAAA;AACjD,CAAC,EAJW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAIpC","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 { ContentInstancesOfSpecificClassesSpecification } from \"./ContentInstancesOfSpecificClassesSpecification\";\r\nimport { ContentRelatedInstancesSpecification } from \"./ContentRelatedInstancesSpecification\";\r\nimport { ContentModifiersList } from \"./modifiers/ContentModifier\";\r\nimport { SelectedNodeInstancesSpecification } from \"./SelectedNodeInstancesSpecification\";\r\n\r\n/**\r\n * Used for serializing array of [[ContentSpecification]]\r\n * @public\r\n */\r\nexport enum ContentSpecificationTypes {\r\n ContentInstancesOfSpecificClasses = \"ContentInstancesOfSpecificClasses\",\r\n ContentRelatedInstances = \"ContentRelatedInstances\",\r\n SelectedNodeInstances = \"SelectedNodeInstances\",\r\n}\r\n\r\n/**\r\n * Base interface for all [[ContentSpecification]] implementations. Not\r\n * meant to be used directly, see `ContentSpecification`.\r\n *\r\n * @public\r\n */\r\nexport interface ContentSpecificationBase extends ContentModifiersList {\r\n /** Used for serializing to JSON. */\r\n specType: ContentSpecificationTypes;\r\n\r\n /**\r\n * Controls the order in which specifications are handled specification with higher priority value is handled\r\n * first. If priorities are equal, the specifications are handled in the order they appear in the ruleset.\r\n *\r\n * @type integer\r\n */\r\n priority?: number;\r\n\r\n /**\r\n * Should image IDs be calculated for the returned instances. When `true`, [[ImageIdOverride]] rules get applied when\r\n * creating the content.\r\n *\r\n * @deprecated Use [[ExtendedDataRule]] instead. See [extended data usage page]($docs/presentation/customization/ExtendedDataUsage.md) for more details.\r\n */\r\n showImages?: boolean;\r\n\r\n /** Specifications of [related instances]($docs/presentation/RelatedInstanceSpecification.md) that can be used when creating the content. */\r\n relatedInstances?: RelatedInstanceSpecification[];\r\n\r\n /**\r\n * Specifies whether this specification should be ignored if another specification was handled before as\r\n * determined by rule and specification priorities. This provides a mechanism for defining a fallback specification.\r\n */\r\n onlyIfNotHandled?: boolean;\r\n}\r\n\r\n/**\r\n * Content rule specifications which define what content is returned\r\n * when rule is used.\r\n *\r\n * @public\r\n */\r\nexport declare type ContentSpecification = ContentInstancesOfSpecificClassesSpecification | ContentRelatedInstancesSpecification | SelectedNodeInstancesSpecification;\r\n"]}
@@ -6,16 +6,15 @@ import { PropertyCategorySpecification } from "./modifiers/PropertyCategorySpeci
6
6
  /**
7
7
  * A rule that allows overriding the default property category.
8
8
  *
9
- * The default property category is a category that gets assigned to properties
10
- * that otherwise have no category.
9
+ * The default property category is a category that gets assigned to properties that otherwise have no category.
11
10
  *
12
- * @see [More details]($docs/presentation/Content/DefaultPropertyCategoryOverride.md)
11
+ * @see [Default property category override reference documentation page]($docs/presentation/content/DefaultPropertyCategoryOverride.md)
13
12
  * @public
14
13
  */
15
14
  export interface DefaultPropertyCategoryOverride extends RuleBase {
16
15
  /** Used for serializing to JSON. */
17
16
  ruleType: RuleTypes.DefaultPropertyCategoryOverride;
18
- /** Specification of the category override */
17
+ /** Specification for the custom property category. */
19
18
  specification: PropertyCategorySpecification;
20
19
  }
21
20
  //# sourceMappingURL=DefaultPropertyCategoryOverride.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultPropertyCategoryOverride.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/content/DefaultPropertyCategoryOverride.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAE1F;;;;;;;;GAQG;AACH,MAAM,WAAW,+BAAgC,SAAQ,QAAQ;IAC/D,oCAAoC;IACpC,QAAQ,EAAE,SAAS,CAAC,+BAA+B,CAAC;IAEpD,6CAA6C;IAC7C,aAAa,EAAE,6BAA6B,CAAC;CAC9C"}
1
+ {"version":3,"file":"DefaultPropertyCategoryOverride.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/content/DefaultPropertyCategoryOverride.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAE1F;;;;;;;GAOG;AACH,MAAM,WAAW,+BAAgC,SAAQ,QAAQ;IAC/D,oCAAoC;IACpC,QAAQ,EAAE,SAAS,CAAC,+BAA+B,CAAC;IAEpD,sDAAsD;IACtD,aAAa,EAAE,6BAA6B,CAAC;CAC9C"}
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultPropertyCategoryOverride.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/content/DefaultPropertyCategoryOverride.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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, RuleTypes } from \"../Rule\";\r\nimport { PropertyCategorySpecification } from \"./modifiers/PropertyCategorySpecification\";\r\n\r\n/**\r\n * A rule that allows overriding the default property category.\r\n *\r\n * The default property category is a category that gets assigned to properties\r\n * that otherwise have no category.\r\n *\r\n * @see [More details]($docs/presentation/Content/DefaultPropertyCategoryOverride.md)\r\n * @public\r\n */\r\nexport interface DefaultPropertyCategoryOverride extends RuleBase {\r\n /** Used for serializing to JSON. */\r\n ruleType: RuleTypes.DefaultPropertyCategoryOverride;\r\n\r\n /** Specification of the category override */\r\n specification: PropertyCategorySpecification;\r\n}\r\n"]}
1
+ {"version":3,"file":"DefaultPropertyCategoryOverride.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/content/DefaultPropertyCategoryOverride.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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, RuleTypes } from \"../Rule\";\r\nimport { PropertyCategorySpecification } from \"./modifiers/PropertyCategorySpecification\";\r\n\r\n/**\r\n * A rule that allows overriding the default property category.\r\n *\r\n * The default property category is a category that gets assigned to properties that otherwise have no category.\r\n *\r\n * @see [Default property category override reference documentation page]($docs/presentation/content/DefaultPropertyCategoryOverride.md)\r\n * @public\r\n */\r\nexport interface DefaultPropertyCategoryOverride extends RuleBase {\r\n /** Used for serializing to JSON. */\r\n ruleType: RuleTypes.DefaultPropertyCategoryOverride;\r\n\r\n /** Specification for the custom property category. */\r\n specification: PropertyCategorySpecification;\r\n}\r\n"]}
@@ -6,46 +6,70 @@ import { CategoryIdentifier } from "./modifiers/PropertyCategorySpecification";
6
6
  import { PropertyEditorSpecification } from "./modifiers/PropertyEditorsSpecification";
7
7
  /**
8
8
  * A container structure for possible property overrides
9
+ *
10
+ * @see [Property specification reference documentation page]($docs/presentation/content/PropertySpecification.md)
9
11
  * @public
10
12
  */
11
13
  export interface PropertyOverrides {
12
- /** Priority of the specified overrides. */
14
+ /**
15
+ * There may be multiple property specifications that apply to a single property and there may be conflicts between
16
+ * different attributes. The `overridesPriority` attribute is here to help solve the problem - if multiple specifications
17
+ * attempt to override the same attribute, the override of specification with highest `overridesPriority` value is used.
18
+ * The order of overrides from specification with the same `overridesPriority` is defined by the order they appear in
19
+ * the overrides list.
20
+ */
13
21
  overridesPriority?: number;
14
- /** Label override. May be [localized]($docs/presentation/Advanced/Localization.md). */
22
+ /** This is an attribute that allows overriding the property label. May be [localized]($docs/presentation/advanced/Localization.md). */
15
23
  labelOverride?: string;
16
- /** Identifier of a category that should be used for the property. */
24
+ /** The attribute allows moving the property into a different category. */
17
25
  categoryId?: string | CategoryIdentifier;
18
- /** Display override. `true` to force display, `false` to force hide, `undefined` to use default. */
19
- isDisplayed?: boolean;
20
- /** Custom property renderer specification. */
26
+ /**
27
+ * This attribute controls whether the particular property is present in the result, even when it is marked as hidden in the
28
+ * ECSchema. The allowed settings are:
29
+ *
30
+ * - Omitted or `undefined`: property visibility is controlled by the ECSchema.
31
+ *
32
+ * - `true`: property is made visible. **Warning:** this will automatically hide all other properties of the same class.
33
+ * If this behavior is not desirable, set [[doNotHideOtherPropertiesOnDisplayOverride]] attribute to `true`.
34
+ *
35
+ * - `false`: property is made hidden.
36
+ *
37
+ * The value can also be set using an ECExpression.
38
+ */
39
+ isDisplayed?: boolean | string;
40
+ /**
41
+ * Custom property [renderer specification]($docs/presentation/content/RendererSpecification.md) that allows assigning a
42
+ * custom value renderer to be used in UI. The specification is used to set up [[Field.renderer]] for
43
+ * this property and it's up to the UI component to make sure appropriate renderer is used to render the property.
44
+ */
21
45
  renderer?: CustomRendererSpecification;
22
- /** Custom property editor specification. */
46
+ /**
47
+ * Custom [property editor specification]($docs/presentation/content/PropertyEditorSpecification) that allows assigning
48
+ * a custom value editor to be used in UI.
49
+ */
23
50
  editor?: PropertyEditorSpecification;
24
51
  /**
25
- * Flag to control behavior of `isDisplayed` override when it's set to `true`.
26
- * By default, forcing property display hides all other properties.
27
- * Setting `doNotHideOtherPropertiesOnDisplayOverride` to `true` disables that behavior and
28
- * prevents forcing property display of one property from hiding other properties.
52
+ * This attribute controls whether making the property visible using [[isDisplayed]] attribute should automatically hide
53
+ * all other properties of the same class. When `true`, this behavior is disabled.
29
54
  */
30
55
  doNotHideOtherPropertiesOnDisplayOverride?: boolean;
31
56
  }
32
57
  /**
33
- * Specification of an ECProperty and its overrides
58
+ * This specification allows overriding some attributes of specific ECProperty or define how it's displayed.
34
59
  *
35
- * @see [More details]($docs/presentation/Content/PropertySpecification.md)
60
+ * @see [Property specification reference documentation page]($docs/presentation/content/PropertySpecification.md)
36
61
  * @public
37
62
  */
38
63
  export interface PropertySpecification extends PropertyOverrides {
39
64
  /**
40
- * Name of the ECProperty.
65
+ * Name of the ECProperty to apply overrides to. A `"*"` may be specified to match all properties in current context.
66
+ * The current context is determined based on where the override is specified:
67
+ *
68
+ * - When used in a [content modifier]($docs/presentation/content/ContentModifier.md#attribute-propertyoverrides), the
69
+ * properties of the ECClass specified by the [`class` attribute]($docs/presentation/content/ContentModifier.md#attribute-class) are used.
41
70
  *
42
- * A `"*"` may be specified to match all properties in current context:
43
- * - when the specification is used in an ECClass context (e.g. in a [[ContentModifier]] rule),
44
- * all properties of that class are matched (including properties derived from base classes, but excluding
45
- * subclass properties).
46
- * - when specification is used outside of class context, all properties found in that context are matched. E.g. when
47
- * used in [[ContentSpecification.propertyOverrides]] where [[ContentSpecification]] creates content with properties of
48
- * different classes.
71
+ * - When used in one of the [content specifications]($docs/presentation/content/ContentRule.md#attribute-specifications),
72
+ * properties produced by that specification are used.
49
73
  */
50
74
  name: string;
51
75
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PropertySpecification.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/content/PropertySpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAEvF;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,2CAA2C;IAC3C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,uFAAuF;IACvF,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,qEAAqE;IACrE,UAAU,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAAC;IAEzC,oGAAoG;IACpG,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,2BAA2B,CAAC;IAEvC,4CAA4C;IAC5C,MAAM,CAAC,EAAE,2BAA2B,CAAC;IAErC;;;;;OAKG;IACH,yCAAyC,CAAC,EAAE,OAAO,CAAC;CACrD;AAED;;;;;GAKG;AACH,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D;;;;;;;;;;OAUG;IACH,IAAI,EAAE,MAAM,CAAC;CACd"}
1
+ {"version":3,"file":"PropertySpecification.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/content/PropertySpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAEvF;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,uIAAuI;IACvI,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,0EAA0E;IAC1E,UAAU,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAAC;IAEzC;;;;;;;;;;;;OAYG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAE/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,2BAA2B,CAAC;IAEvC;;;OAGG;IACH,MAAM,CAAC,EAAE,2BAA2B,CAAC;IAErC;;;OAGG;IACH,yCAAyC,CAAC,EAAE,OAAO,CAAC;CACrD;AAED;;;;;GAKG;AACH,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D;;;;;;;;;OASG;IACH,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1 +1 @@
1
- {"version":3,"file":"PropertySpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/content/PropertySpecification.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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 { CustomRendererSpecification } from \"./modifiers/CustomRendererSpecification\";\r\nimport { CategoryIdentifier } from \"./modifiers/PropertyCategorySpecification\";\r\nimport { PropertyEditorSpecification } from \"./modifiers/PropertyEditorsSpecification\";\r\n\r\n/**\r\n * A container structure for possible property overrides\r\n * @public\r\n */\r\nexport interface PropertyOverrides {\r\n /** Priority of the specified overrides. */\r\n overridesPriority?: number;\r\n\r\n /** Label override. May be [localized]($docs/presentation/Advanced/Localization.md). */\r\n labelOverride?: string;\r\n\r\n /** Identifier of a category that should be used for the property. */\r\n categoryId?: string | CategoryIdentifier;\r\n\r\n /** Display override. `true` to force display, `false` to force hide, `undefined` to use default. */\r\n isDisplayed?: boolean;\r\n\r\n /** Custom property renderer specification. */\r\n renderer?: CustomRendererSpecification;\r\n\r\n /** Custom property editor specification. */\r\n editor?: PropertyEditorSpecification;\r\n\r\n /**\r\n * Flag to control behavior of `isDisplayed` override when it's set to `true`.\r\n * By default, forcing property display hides all other properties.\r\n * Setting `doNotHideOtherPropertiesOnDisplayOverride` to `true` disables that behavior and\r\n * prevents forcing property display of one property from hiding other properties.\r\n */\r\n doNotHideOtherPropertiesOnDisplayOverride?: boolean;\r\n}\r\n\r\n/**\r\n * Specification of an ECProperty and its overrides\r\n *\r\n * @see [More details]($docs/presentation/Content/PropertySpecification.md)\r\n * @public\r\n */\r\nexport interface PropertySpecification extends PropertyOverrides {\r\n /**\r\n * Name of the ECProperty.\r\n *\r\n * A `\"*\"` may be specified to match all properties in current context:\r\n * - when the specification is used in an ECClass context (e.g. in a [[ContentModifier]] rule),\r\n * all properties of that class are matched (including properties derived from base classes, but excluding\r\n * subclass properties).\r\n * - when specification is used outside of class context, all properties found in that context are matched. E.g. when\r\n * used in [[ContentSpecification.propertyOverrides]] where [[ContentSpecification]] creates content with properties of\r\n * different classes.\r\n */\r\n name: string;\r\n}\r\n"]}
1
+ {"version":3,"file":"PropertySpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/content/PropertySpecification.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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 { CustomRendererSpecification } from \"./modifiers/CustomRendererSpecification\";\r\nimport { CategoryIdentifier } from \"./modifiers/PropertyCategorySpecification\";\r\nimport { PropertyEditorSpecification } from \"./modifiers/PropertyEditorsSpecification\";\r\n\r\n/**\r\n * A container structure for possible property overrides\r\n *\r\n * @see [Property specification reference documentation page]($docs/presentation/content/PropertySpecification.md)\r\n * @public\r\n */\r\nexport interface PropertyOverrides {\r\n /**\r\n * There may be multiple property specifications that apply to a single property and there may be conflicts between\r\n * different attributes. The `overridesPriority` attribute is here to help solve the problem - if multiple specifications\r\n * attempt to override the same attribute, the override of specification with highest `overridesPriority` value is used.\r\n * The order of overrides from specification with the same `overridesPriority` is defined by the order they appear in\r\n * the overrides list.\r\n */\r\n overridesPriority?: number;\r\n\r\n /** This is an attribute that allows overriding the property label. May be [localized]($docs/presentation/advanced/Localization.md). */\r\n labelOverride?: string;\r\n\r\n /** The attribute allows moving the property into a different category. */\r\n categoryId?: string | CategoryIdentifier;\r\n\r\n /**\r\n * This attribute controls whether the particular property is present in the result, even when it is marked as hidden in the\r\n * ECSchema. The allowed settings are:\r\n *\r\n * - Omitted or `undefined`: property visibility is controlled by the ECSchema.\r\n *\r\n * - `true`: property is made visible. **Warning:** this will automatically hide all other properties of the same class.\r\n * If this behavior is not desirable, set [[doNotHideOtherPropertiesOnDisplayOverride]] attribute to `true`.\r\n *\r\n * - `false`: property is made hidden.\r\n *\r\n * The value can also be set using an ECExpression.\r\n */\r\n isDisplayed?: boolean | string;\r\n\r\n /**\r\n * Custom property [renderer specification]($docs/presentation/content/RendererSpecification.md) that allows assigning a\r\n * custom value renderer to be used in UI. The specification is used to set up [[Field.renderer]] for\r\n * this property and it's up to the UI component to make sure appropriate renderer is used to render the property.\r\n */\r\n renderer?: CustomRendererSpecification;\r\n\r\n /**\r\n * Custom [property editor specification]($docs/presentation/content/PropertyEditorSpecification) that allows assigning\r\n * a custom value editor to be used in UI.\r\n */\r\n editor?: PropertyEditorSpecification;\r\n\r\n /**\r\n * This attribute controls whether making the property visible using [[isDisplayed]] attribute should automatically hide\r\n * all other properties of the same class. When `true`, this behavior is disabled.\r\n */\r\n doNotHideOtherPropertiesOnDisplayOverride?: boolean;\r\n}\r\n\r\n/**\r\n * This specification allows overriding some attributes of specific ECProperty or define how it's displayed.\r\n *\r\n * @see [Property specification reference documentation page]($docs/presentation/content/PropertySpecification.md)\r\n * @public\r\n */\r\nexport interface PropertySpecification extends PropertyOverrides {\r\n /**\r\n * Name of the ECProperty to apply overrides to. A `\"*\"` may be specified to match all properties in current context.\r\n * The current context is determined based on where the override is specified:\r\n *\r\n * - When used in a [content modifier]($docs/presentation/content/ContentModifier.md#attribute-propertyoverrides), the\r\n * properties of the ECClass specified by the [`class` attribute]($docs/presentation/content/ContentModifier.md#attribute-class) are used.\r\n *\r\n * - When used in one of the [content specifications]($docs/presentation/content/ContentRule.md#attribute-specifications),\r\n * properties produced by that specification are used.\r\n */\r\n name: string;\r\n}\r\n"]}
@@ -3,31 +3,26 @@
3
3
  */
4
4
  import { ContentSpecificationBase, ContentSpecificationTypes } from "./ContentSpecification";
5
5
  /**
6
- * Creates content for current selection.
6
+ * Returns content for selected (input) instances.
7
7
  *
8
- * **Note:** No data is returned for selected custom nodes.
9
- *
10
- * @see [More details]($docs/presentation/Content/SelectedNodeInstances.md)
8
+ * @see [Selected node instances specification reference documentation page]($docs/presentation/content/SelectedNodeInstances.md)
11
9
  * @public
12
10
  */
13
11
  export interface SelectedNodeInstancesSpecification extends ContentSpecificationBase {
14
12
  /** Used for serializing to JSON. */
15
13
  specType: ContentSpecificationTypes.SelectedNodeInstances;
16
14
  /**
17
- * Filter selected nodes by specified schema name. All schemas are
18
- * accepted if not specified.
15
+ * Specifies ECSchema name which the input instances have to match for the specification to be used.
19
16
  *
20
17
  * @pattern ^[\w\d]+$
21
18
  */
22
19
  acceptableSchemaName?: string;
23
20
  /**
24
- * Filter selected nodes by specified class names. All classes are
25
- * accepted if not specified.
21
+ * Specifies a list of class names which the input instances have to match for the specification to be used.
26
22
  */
27
23
  acceptableClassNames?: string[];
28
24
  /**
29
- * Should [[acceptableClassNames]] property be checked polymorphically. If true, all derived
30
- * classes are accepted as well.
25
+ * Specifies whether derived classes of [[acceptableClassNames]] should be included in the content.
31
26
  */
32
27
  acceptablePolymorphically?: boolean;
33
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SelectedNodeInstancesSpecification.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/content/SelectedNodeInstancesSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAE7F;;;;;;;GAOG;AACH,MAAM,WAAW,kCAAmC,SAAQ,wBAAwB;IAClF,oCAAoC;IACpC,QAAQ,EAAE,yBAAyB,CAAC,qBAAqB,CAAC;IAE1D;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhC;;;OAGG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC"}
1
+ {"version":3,"file":"SelectedNodeInstancesSpecification.d.ts","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/content/SelectedNodeInstancesSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAE7F;;;;;GAKG;AACH,MAAM,WAAW,kCAAmC,SAAQ,wBAAwB;IAClF,oCAAoC;IACpC,QAAQ,EAAE,yBAAyB,CAAC,qBAAqB,CAAC;IAE1D;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhC;;OAEG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectedNodeInstancesSpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/content/SelectedNodeInstancesSpecification.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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 { ContentSpecificationBase, ContentSpecificationTypes } from \"./ContentSpecification\";\r\n\r\n/**\r\n * Creates content for current selection.\r\n *\r\n * **Note:** No data is returned for selected custom nodes.\r\n *\r\n * @see [More details]($docs/presentation/Content/SelectedNodeInstances.md)\r\n * @public\r\n */\r\nexport interface SelectedNodeInstancesSpecification extends ContentSpecificationBase {\r\n /** Used for serializing to JSON. */\r\n specType: ContentSpecificationTypes.SelectedNodeInstances;\r\n\r\n /**\r\n * Filter selected nodes by specified schema name. All schemas are\r\n * accepted if not specified.\r\n *\r\n * @pattern ^[\\w\\d]+$\r\n */\r\n acceptableSchemaName?: string;\r\n\r\n /**\r\n * Filter selected nodes by specified class names. All classes are\r\n * accepted if not specified.\r\n */\r\n acceptableClassNames?: string[];\r\n\r\n /**\r\n * Should [[acceptableClassNames]] property be checked polymorphically. If true, all derived\r\n * classes are accepted as well.\r\n */\r\n acceptablePolymorphically?: boolean;\r\n}\r\n"]}
1
+ {"version":3,"file":"SelectedNodeInstancesSpecification.js","sourceRoot":"","sources":["../../../../../src/presentation-common/rules/content/SelectedNodeInstancesSpecification.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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 { ContentSpecificationBase, ContentSpecificationTypes } from \"./ContentSpecification\";\r\n\r\n/**\r\n * Returns content for selected (input) instances.\r\n *\r\n * @see [Selected node instances specification reference documentation page]($docs/presentation/content/SelectedNodeInstances.md)\r\n * @public\r\n */\r\nexport interface SelectedNodeInstancesSpecification extends ContentSpecificationBase {\r\n /** Used for serializing to JSON. */\r\n specType: ContentSpecificationTypes.SelectedNodeInstances;\r\n\r\n /**\r\n * Specifies ECSchema name which the input instances have to match for the specification to be used.\r\n *\r\n * @pattern ^[\\w\\d]+$\r\n */\r\n acceptableSchemaName?: string;\r\n\r\n /**\r\n * Specifies a list of class names which the input instances have to match for the specification to be used.\r\n */\r\n acceptableClassNames?: string[];\r\n\r\n /**\r\n * Specifies whether derived classes of [[acceptableClassNames]] should be included in the content.\r\n */\r\n acceptablePolymorphically?: boolean;\r\n}\r\n"]}
@@ -2,25 +2,22 @@
2
2
  * @module PresentationRules
3
3
  */
4
4
  /**
5
- * Sub-specification to include additional calculated properties into the content.
5
+ * This content modifier allows including additional calculated properties into the content.
6
6
  *
7
- * @see [More details]($docs/presentation/Content/CalculatedPropertiesSpecification.md)
7
+ * @see [Calculated properties specification reference documentation page]($docs/presentation/content/CalculatedPropertiesSpecification.md)
8
8
  * @public
9
9
  */
10
10
  export interface CalculatedPropertiesSpecification {
11
- /** Label of the calculated property. May be [localized]($docs/presentation/Advanced/Localization.md). */
11
+ /** Specifies label of the calculated property. Supports [localization]($docs/presentation/advanced/Localization.md). */
12
12
  label: string;
13
13
  /**
14
- * [ECExpression]($docs/presentation/Advanced/ECExpressions.md) used to calculate the value. The
15
- * following symbol sets are available:
16
- * - [ECInstance ECExpression context]($docs/presentation/Advanced/ECExpressions.md#ecinstance)
17
- * - [Ruleset variables]($docs/presentation/Advanced/ECExpressions.md#ruleset-variables-user-settings)
14
+ * Defines an expression to calculate the value. The expression can use [ECInstance]($docs/presentation/advanced/ECExpressions.md#ecinstance)
15
+ * and [Ruleset Variables]($docs/presentation/advanced/ECExpressions.md#ruleset-variables-user-settings) symbol contexts.
18
16
  */
19
17
  value: string;
20
18
  /**
21
- * Priority of the property. Determines the position of this property in UI
22
- * components - higher priority means the property should be more visible.
23
- * Defaults to `1000`.
19
+ * Assign a custom [[Field.priority]] to the property. It's up to the UI component to make sure that priority
20
+ * is respected - properties with higher priority should appear before or above properties with lower priority.
24
21
  *
25
22
  * @type integer
26
23
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CalculatedPropertiesSpecification.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,iCAAiC;IAChD,yGAAyG;IACzG,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"CalculatedPropertiesSpecification.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,iCAAiC;IAChD,wHAAwH;IACxH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"CalculatedPropertiesSpecification.js","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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\n/**\r\n * Sub-specification to include additional calculated properties into the content.\r\n *\r\n * @see [More details]($docs/presentation/Content/CalculatedPropertiesSpecification.md)\r\n * @public\r\n */\r\nexport interface CalculatedPropertiesSpecification {\r\n /** Label of the calculated property. May be [localized]($docs/presentation/Advanced/Localization.md). */\r\n label: string;\r\n\r\n /**\r\n * [ECExpression]($docs/presentation/Advanced/ECExpressions.md) used to calculate the value. The\r\n * following symbol sets are available:\r\n * - [ECInstance ECExpression context]($docs/presentation/Advanced/ECExpressions.md#ecinstance)\r\n * - [Ruleset variables]($docs/presentation/Advanced/ECExpressions.md#ruleset-variables-user-settings)\r\n */\r\n value: string;\r\n\r\n /**\r\n * Priority of the property. Determines the position of this property in UI\r\n * components - higher priority means the property should be more visible.\r\n * Defaults to `1000`.\r\n *\r\n * @type integer\r\n */\r\n priority?: number;\r\n}\r\n"]}
1
+ {"version":3,"file":"CalculatedPropertiesSpecification.js","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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\n/**\r\n * This content modifier allows including additional calculated properties into the content.\r\n *\r\n * @see [Calculated properties specification reference documentation page]($docs/presentation/content/CalculatedPropertiesSpecification.md)\r\n * @public\r\n */\r\nexport interface CalculatedPropertiesSpecification {\r\n /** Specifies label of the calculated property. Supports [localization]($docs/presentation/advanced/Localization.md). */\r\n label: string;\r\n\r\n /**\r\n * Defines an expression to calculate the value. The expression can use [ECInstance]($docs/presentation/advanced/ECExpressions.md#ecinstance)\r\n * and [Ruleset Variables]($docs/presentation/advanced/ECExpressions.md#ruleset-variables-user-settings) symbol contexts.\r\n */\r\n value: string;\r\n\r\n /**\r\n * Assign a custom [[Field.priority]] to the property. It's up to the UI component to make sure that priority\r\n * is respected - properties with higher priority should appear before or above properties with lower priority.\r\n *\r\n * @type integer\r\n */\r\n priority?: number;\r\n}\r\n"]}
@@ -10,38 +10,48 @@ import { RelatedPropertiesSpecification } from "./RelatedPropertiesSpecification
10
10
  /**
11
11
  * Contains various rule attributes that allow modifying returned content.
12
12
  *
13
- * This is not expected to be used directly - use through either `ContentModifier` or `ContentSpecification`.
13
+ * This is not expected to be used directly - use through either [[ContentModifier]]
14
+ * or [[ContentSpecification]].
14
15
  *
16
+ * @see [Content modifier rule reference documentation page]($docs/presentation/content/ContentModifier.md)
15
17
  * @public
16
18
  */
17
19
  export interface ContentModifiersList {
18
- /** Specifications for including properties of related instances */
20
+ /**
21
+ * Specifications of [related properties]($docs/presentation/content/RelatedPropertiesSpecification.md) which are
22
+ * included in the generated content.
23
+ */
19
24
  relatedProperties?: RelatedPropertiesSpecification[];
20
- /** Specifications for including calculated properties */
25
+ /**
26
+ * Specifications of [calculated properties]($docs/presentation/content/CalculatedPropertiesSpecification.md) whose values are
27
+ * generated using provided [ECExpressions]($docs/presentation/advanced/ECExpressions.md).
28
+ */
21
29
  calculatedProperties?: CalculatedPropertiesSpecification[];
22
30
  /**
23
- * Specifications for custom categories. Simply defining the categories does
24
- * nothing - they have to be referenced from [[PropertySpecification]] defined in
31
+ * Specifications for [custom categories]($docs/presentation/content/PropertyCategorySpecification.md). Simply defining the categories does
32
+ * nothing - they have to be referenced from [property specification]($docs/presentation/content/PropertySpecification.md) defined in
25
33
  * [[propertyOverrides]] by `id`.
26
34
  */
27
35
  propertyCategories?: PropertyCategorySpecification[];
28
- /** Specifications for various property overrides. */
36
+ /**
37
+ * Specifications for various [property overrides]($docs/presentation/content/PropertySpecification.md) that allow customizing property display.
38
+ */
29
39
  propertyOverrides?: PropertySpecification[];
30
40
  }
31
41
  /**
32
- * Rule that allows supplementing content with additional
33
- * specifications for certain ECClasses.
42
+ * Content modifiers are used to modify how instances of specified ECClasses are displayed in content which is
43
+ * produced using [content rules]($docs/presentation/content/ContentRule.md). They do not produce any content
44
+ * by themselves.
34
45
  *
35
- * @see [More details]($docs/presentation/Content/ContentModifier.md)
46
+ * @see [Content modifier rule reference documentation page]($docs/presentation/content/ContentModifier.md)
36
47
  * @public
37
48
  */
38
49
  export interface ContentModifier extends RuleBase, ContentModifiersList {
39
50
  /** Used for serializing to JSON. */
40
51
  ruleType: RuleTypes.ContentModifier;
41
52
  /**
42
- * Specification of ECClass whose content should be supplemented.
43
- * The modifier is applied to all ECClasses if this property
44
- * is not specified.
53
+ * Specification of ECClass whose content should be modified. The modifier is applied to all content
54
+ * if this attribute is not specified.
45
55
  */
46
56
  class?: SingleSchemaClassSpecification;
47
57
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ContentModifier.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/ContentModifier.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAElF;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,mEAAmE;IACnE,iBAAiB,CAAC,EAAE,8BAA8B,EAAE,CAAC;IAErD,yDAAyD;IACzD,oBAAoB,CAAC,EAAE,iCAAiC,EAAE,CAAC;IAE3D;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,6BAA6B,EAAE,CAAC;IAErD,qDAAqD;IACrD,iBAAiB,CAAC,EAAE,qBAAqB,EAAE,CAAC;CAC7C;AAED;;;;;;GAMG;AACH,MAAM,WAAW,eAAgB,SAAQ,QAAQ,EAAE,oBAAoB;IACrE,oCAAoC;IACpC,QAAQ,EAAE,SAAS,CAAC,eAAe,CAAC;IAEpC;;;;OAIG;IACH,KAAK,CAAC,EAAE,8BAA8B,CAAC;CACxC"}
1
+ {"version":3,"file":"ContentModifier.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/ContentModifier.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAElF;;;;;;;;GAQG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,8BAA8B,EAAE,CAAC;IAErD;;;OAGG;IACH,oBAAoB,CAAC,EAAE,iCAAiC,EAAE,CAAC;IAE3D;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,6BAA6B,EAAE,CAAC;IAErD;;OAEG;IACH,iBAAiB,CAAC,EAAE,qBAAqB,EAAE,CAAC;CAC7C;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,eAAgB,SAAQ,QAAQ,EAAE,oBAAoB;IACrE,oCAAoC;IACpC,QAAQ,EAAE,SAAS,CAAC,eAAe,CAAC;IAEpC;;;OAGG;IACH,KAAK,CAAC,EAAE,8BAA8B,CAAC;CACxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ContentModifier.js","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/ContentModifier.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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 { SingleSchemaClassSpecification } from \"../../ClassSpecifications\";\r\nimport { RuleBase, RuleTypes } from \"../../Rule\";\r\nimport { PropertySpecification } from \"../PropertySpecification\";\r\nimport { CalculatedPropertiesSpecification } from \"./CalculatedPropertiesSpecification\";\r\nimport { PropertyCategorySpecification } from \"./PropertyCategorySpecification\";\r\nimport { RelatedPropertiesSpecification } from \"./RelatedPropertiesSpecification\";\r\n\r\n/**\r\n * Contains various rule attributes that allow modifying returned content.\r\n *\r\n * This is not expected to be used directly - use through either `ContentModifier` or `ContentSpecification`.\r\n *\r\n * @public\r\n */\r\nexport interface ContentModifiersList {\r\n /** Specifications for including properties of related instances */\r\n relatedProperties?: RelatedPropertiesSpecification[];\r\n\r\n /** Specifications for including calculated properties */\r\n calculatedProperties?: CalculatedPropertiesSpecification[];\r\n\r\n /**\r\n * Specifications for custom categories. Simply defining the categories does\r\n * nothing - they have to be referenced from [[PropertySpecification]] defined in\r\n * [[propertyOverrides]] by `id`.\r\n */\r\n propertyCategories?: PropertyCategorySpecification[];\r\n\r\n /** Specifications for various property overrides. */\r\n propertyOverrides?: PropertySpecification[];\r\n}\r\n\r\n/**\r\n * Rule that allows supplementing content with additional\r\n * specifications for certain ECClasses.\r\n *\r\n * @see [More details]($docs/presentation/Content/ContentModifier.md)\r\n * @public\r\n */\r\nexport interface ContentModifier extends RuleBase, ContentModifiersList {\r\n /** Used for serializing to JSON. */\r\n ruleType: RuleTypes.ContentModifier;\r\n\r\n /**\r\n * Specification of ECClass whose content should be supplemented.\r\n * The modifier is applied to all ECClasses if this property\r\n * is not specified.\r\n */\r\n class?: SingleSchemaClassSpecification;\r\n}\r\n"]}
1
+ {"version":3,"file":"ContentModifier.js","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/ContentModifier.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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 { SingleSchemaClassSpecification } from \"../../ClassSpecifications\";\r\nimport { RuleBase, RuleTypes } from \"../../Rule\";\r\nimport { PropertySpecification } from \"../PropertySpecification\";\r\nimport { CalculatedPropertiesSpecification } from \"./CalculatedPropertiesSpecification\";\r\nimport { PropertyCategorySpecification } from \"./PropertyCategorySpecification\";\r\nimport { RelatedPropertiesSpecification } from \"./RelatedPropertiesSpecification\";\r\n\r\n/**\r\n * Contains various rule attributes that allow modifying returned content.\r\n *\r\n * This is not expected to be used directly - use through either [[ContentModifier]]\r\n * or [[ContentSpecification]].\r\n *\r\n * @see [Content modifier rule reference documentation page]($docs/presentation/content/ContentModifier.md)\r\n * @public\r\n */\r\nexport interface ContentModifiersList {\r\n /**\r\n * Specifications of [related properties]($docs/presentation/content/RelatedPropertiesSpecification.md) which are\r\n * included in the generated content.\r\n */\r\n relatedProperties?: RelatedPropertiesSpecification[];\r\n\r\n /**\r\n * Specifications of [calculated properties]($docs/presentation/content/CalculatedPropertiesSpecification.md) whose values are\r\n * generated using provided [ECExpressions]($docs/presentation/advanced/ECExpressions.md).\r\n */\r\n calculatedProperties?: CalculatedPropertiesSpecification[];\r\n\r\n /**\r\n * Specifications for [custom categories]($docs/presentation/content/PropertyCategorySpecification.md). Simply defining the categories does\r\n * nothing - they have to be referenced from [property specification]($docs/presentation/content/PropertySpecification.md) defined in\r\n * [[propertyOverrides]] by `id`.\r\n */\r\n propertyCategories?: PropertyCategorySpecification[];\r\n\r\n /**\r\n * Specifications for various [property overrides]($docs/presentation/content/PropertySpecification.md) that allow customizing property display.\r\n */\r\n propertyOverrides?: PropertySpecification[];\r\n}\r\n\r\n/**\r\n * Content modifiers are used to modify how instances of specified ECClasses are displayed in content which is\r\n * produced using [content rules]($docs/presentation/content/ContentRule.md). They do not produce any content\r\n * by themselves.\r\n *\r\n * @see [Content modifier rule reference documentation page]($docs/presentation/content/ContentModifier.md)\r\n * @public\r\n */\r\nexport interface ContentModifier extends RuleBase, ContentModifiersList {\r\n /** Used for serializing to JSON. */\r\n ruleType: RuleTypes.ContentModifier;\r\n\r\n /**\r\n * Specification of ECClass whose content should be modified. The modifier is applied to all content\r\n * if this attribute is not specified.\r\n */\r\n class?: SingleSchemaClassSpecification;\r\n}\r\n"]}
@@ -2,11 +2,17 @@
2
2
  * @module PresentationRules
3
3
  */
4
4
  /**
5
- * Specification for custom content renderer.
5
+ * This specification allows defining a custom renderer, which can be used to render properties or categories.
6
+ *
7
+ * @see [Renderer specification reference documentation page]($docs/presentation/content/RendererSpecification.md)
6
8
  * @public
7
9
  */
8
10
  export interface CustomRendererSpecification {
9
- /** Name of the custom renderer. */
11
+ /**
12
+ * Name of the renderer that's going to be used in UI components. Value of this attribute corresponds
13
+ * to [[RendererDescription.name]] attribute that gets assigned to whatever the renderer
14
+ * is set on.
15
+ */
10
16
  rendererName: string;
11
17
  }
12
18
  //# sourceMappingURL=CustomRendererSpecification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CustomRendererSpecification.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/CustomRendererSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,mCAAmC;IACnC,YAAY,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"CustomRendererSpecification.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/CustomRendererSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"CustomRendererSpecification.js","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/CustomRendererSpecification.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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\n/**\r\n * Specification for custom content renderer.\r\n * @public\r\n */\r\nexport interface CustomRendererSpecification {\r\n /** Name of the custom renderer. */\r\n rendererName: string;\r\n}\r\n"]}
1
+ {"version":3,"file":"CustomRendererSpecification.js","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/CustomRendererSpecification.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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\n/**\r\n * This specification allows defining a custom renderer, which can be used to render properties or categories.\r\n *\r\n * @see [Renderer specification reference documentation page]($docs/presentation/content/RendererSpecification.md)\r\n * @public\r\n */\r\nexport interface CustomRendererSpecification {\r\n /**\r\n * Name of the renderer that's going to be used in UI components. Value of this attribute corresponds\r\n * to [[RendererDescription.name]] attribute that gets assigned to whatever the renderer\r\n * is set on.\r\n */\r\n rendererName: string;\r\n}\r\n"]}
@@ -58,31 +58,51 @@ export interface IdCategoryIdentifier {
58
58
  */
59
59
  export declare type CategoryIdentifier = ParentCategoryIdentifier | RootCategoryIdentifier | IdCategoryIdentifier;
60
60
  /**
61
- * Specification to define a custom property category.
61
+ * Content modifier for defining custom property categories. Custom categories are not present in the result unless
62
+ * they contain at least one property. One way to assign a property to the category is by using
63
+ * [property overrides]($docs/presentation/content/PropertySpecification.md).
62
64
  *
63
- * @see [More details]($docs/presentation/Content/PropertyCategorySpecification.md)
65
+ * @see [Property category specification reference documentation page]($docs/presentation/content/PropertyCategorySpecification.md)
64
66
  * @public
65
67
  */
66
68
  export interface PropertyCategorySpecification {
67
- /** Category identifier which has to be unique at the scope of it's definition. */
69
+ /**
70
+ * Category identifier used to reference the category definition from property overrides or other category
71
+ * definitions. The identifier has to be unique within the list of category definitions where this
72
+ * specification is used.
73
+ */
68
74
  id: string;
69
75
  /**
70
- * Identifier of a parent category. When specified as a `string`,
71
- * the value acts as an [[IdCategoryIdentifier]]. Defaults to [[ParentCategoryIdentifier]].
76
+ * Identifier of a parent category. When specifying the parent category by ID, it has to be available in
77
+ * the scope of this category definition.
72
78
  */
73
79
  parentId?: string | CategoryIdentifier | NoCategoryIdentifier;
74
- /** Display label of the category. May be [localized]($docs/presentation/Advanced/Localization.md). */
80
+ /** Display label of the category. May be [localized]($docs/presentation/advanced/Localization.md). */
75
81
  label: string;
76
- /** Optional extensive description of the category. */
82
+ /**
83
+ * Extensive description of the category. The description is assigned to the category object that's set
84
+ * on content fields and it's up to UI component to decide how the description is displayed.
85
+ */
77
86
  description?: string;
78
87
  /**
79
- * Priority of the category. Higher priority categories are displayed on top. Defaults to `1000`.
88
+ * Assign a custom [[CategoryDescription.priority]] to the category. It's up to the
89
+ * UI component to make sure that priority is respected - categories with higher priority should appear
90
+ * before or above categories with lower priority.
91
+ *
80
92
  * @type integer
81
93
  */
82
94
  priority?: number;
83
- /** Should this category be auto-expanded. Defaults to `false`. */
95
+ /**
96
+ * Controls the value of [[CategoryDescription.expand]] which tells the UI component
97
+ * displaying the category to auto-expand the category.
98
+ */
84
99
  autoExpand?: boolean;
85
- /** Custom category renderer specification. */
100
+ /**
101
+ * Custom category [renderer specification]($docs/presentation/content/RendererSpecification.md) that allows
102
+ * assigning a custom category renderer to be used in UI. This specification is used to set up
103
+ * [[CategoryDescription.renderer]] for this category and it's up to the UI component to
104
+ * make sure appropriate renderer is used to render the category.
105
+ */
86
106
  renderer?: CustomRendererSpecification;
87
107
  }
88
108
  //# sourceMappingURL=PropertyCategorySpecification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PropertyCategorySpecification.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/PropertyCategorySpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,wBAAwB;IACvC,6BAA6B;IAC7B,IAAI,EAAE,eAAe,CAAC;CACvB;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,sBAAsB;IACrC,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,6BAA6B;IAC7B,IAAI,EAAE,IAAI,CAAC;IAEX,uDAAuD;IACvD,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,oBAAY,kBAAkB,GAAG,wBAAwB,GAAG,sBAAsB,GAAG,oBAAoB,CAAC;AAE1G;;;;;GAKG;AACH,MAAM,WAAW,6BAA6B;IAC5C,kFAAkF;IAClF,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,kBAAkB,GAAG,oBAAoB,CAAC;IAE9D,sGAAsG;IACtG,KAAK,EAAE,MAAM,CAAC;IAEd,sDAAsD;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,kEAAkE;IAClE,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,2BAA2B,CAAC;CACxC"}
1
+ {"version":3,"file":"PropertyCategorySpecification.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/PropertyCategorySpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,wBAAwB;IACvC,6BAA6B;IAC7B,IAAI,EAAE,eAAe,CAAC;CACvB;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,sBAAsB;IACrC,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,6BAA6B;IAC7B,IAAI,EAAE,IAAI,CAAC;IAEX,uDAAuD;IACvD,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,oBAAY,kBAAkB,GAAG,wBAAwB,GAAG,sBAAsB,GAAG,oBAAoB,CAAC;AAE1G;;;;;;;GAOG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,kBAAkB,GAAG,oBAAoB,CAAC;IAE9D,sGAAsG;IACtG,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,2BAA2B,CAAC;CACxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PropertyCategorySpecification.js","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/PropertyCategorySpecification.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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 { CustomRendererSpecification } from \"./CustomRendererSpecification\";\r\n\r\n/**\r\n * Identifier for no category. Used to make category displayed at root level by using\r\n * this identifier for [[PropertyCategorySpecification.parentId]].\r\n *\r\n * @public\r\n */\r\nexport interface NoCategoryIdentifier {\r\n /** Type of the identifier */\r\n type: \"None\";\r\n}\r\n\r\n/**\r\n * Identifier of the default parent category.\r\n *\r\n * For direct properties it's the default category. See [[DefaultPropertyCategoryOverride]] for overriding the default category.\r\n *\r\n * For related properties it's the category made up from the related ECClass defined by the **last**\r\n * [[RelatedPropertiesSpecification]] with [[RelationshipMeaning.RelatedInstance]]. If there's no such specification,\r\n * the default category is used.\r\n *\r\n * @public\r\n */\r\nexport interface ParentCategoryIdentifier {\r\n /** Type of the identifier */\r\n type: \"DefaultParent\";\r\n}\r\n\r\n/**\r\n * Identifier of the root category.\r\n *\r\n * For direct properties it's the default category. See [[DefaultPropertyCategoryOverride]] for overriding the default category.\r\n *\r\n * For related properties it's the category made up from the related ECClass defined by the **first**\r\n * [[RelatedPropertiesSpecification]] with [[RelationshipMeaning.RelatedInstance]]. If there's no such specification,\r\n * the default category is used.\r\n *\r\n * @public\r\n */\r\nexport interface RootCategoryIdentifier {\r\n /** Type of the identifier */\r\n type: \"Root\";\r\n}\r\n\r\n/**\r\n * Identifier of a category specified through [[PropertyCategorySpecification]] in this scope.\r\n * @public\r\n */\r\nexport interface IdCategoryIdentifier {\r\n /** Type of the identifier */\r\n type: \"Id\";\r\n\r\n /** ID of the category pointed to by this identifier */\r\n categoryId: string;\r\n}\r\n\r\n/**\r\n * Category identifier used to assign properties to a category.\r\n * @public\r\n */\r\nexport type CategoryIdentifier = ParentCategoryIdentifier | RootCategoryIdentifier | IdCategoryIdentifier;\r\n\r\n/**\r\n * Specification to define a custom property category.\r\n *\r\n * @see [More details]($docs/presentation/Content/PropertyCategorySpecification.md)\r\n * @public\r\n */\r\nexport interface PropertyCategorySpecification {\r\n /** Category identifier which has to be unique at the scope of it's definition. */\r\n id: string;\r\n\r\n /**\r\n * Identifier of a parent category. When specified as a `string`,\r\n * the value acts as an [[IdCategoryIdentifier]]. Defaults to [[ParentCategoryIdentifier]].\r\n */\r\n parentId?: string | CategoryIdentifier | NoCategoryIdentifier;\r\n\r\n /** Display label of the category. May be [localized]($docs/presentation/Advanced/Localization.md). */\r\n label: string;\r\n\r\n /** Optional extensive description of the category. */\r\n description?: string;\r\n\r\n /**\r\n * Priority of the category. Higher priority categories are displayed on top. Defaults to `1000`.\r\n * @type integer\r\n */\r\n priority?: number;\r\n\r\n /** Should this category be auto-expanded. Defaults to `false`. */\r\n autoExpand?: boolean;\r\n\r\n /** Custom category renderer specification. */\r\n renderer?: CustomRendererSpecification;\r\n}\r\n"]}
1
+ {"version":3,"file":"PropertyCategorySpecification.js","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/PropertyCategorySpecification.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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 { CustomRendererSpecification } from \"./CustomRendererSpecification\";\r\n\r\n/**\r\n * Identifier for no category. Used to make category displayed at root level by using\r\n * this identifier for [[PropertyCategorySpecification.parentId]].\r\n *\r\n * @public\r\n */\r\nexport interface NoCategoryIdentifier {\r\n /** Type of the identifier */\r\n type: \"None\";\r\n}\r\n\r\n/**\r\n * Identifier of the default parent category.\r\n *\r\n * For direct properties it's the default category. See [[DefaultPropertyCategoryOverride]] for overriding the default category.\r\n *\r\n * For related properties it's the category made up from the related ECClass defined by the **last**\r\n * [[RelatedPropertiesSpecification]] with [[RelationshipMeaning.RelatedInstance]]. If there's no such specification,\r\n * the default category is used.\r\n *\r\n * @public\r\n */\r\nexport interface ParentCategoryIdentifier {\r\n /** Type of the identifier */\r\n type: \"DefaultParent\";\r\n}\r\n\r\n/**\r\n * Identifier of the root category.\r\n *\r\n * For direct properties it's the default category. See [[DefaultPropertyCategoryOverride]] for overriding the default category.\r\n *\r\n * For related properties it's the category made up from the related ECClass defined by the **first**\r\n * [[RelatedPropertiesSpecification]] with [[RelationshipMeaning.RelatedInstance]]. If there's no such specification,\r\n * the default category is used.\r\n *\r\n * @public\r\n */\r\nexport interface RootCategoryIdentifier {\r\n /** Type of the identifier */\r\n type: \"Root\";\r\n}\r\n\r\n/**\r\n * Identifier of a category specified through [[PropertyCategorySpecification]] in this scope.\r\n * @public\r\n */\r\nexport interface IdCategoryIdentifier {\r\n /** Type of the identifier */\r\n type: \"Id\";\r\n\r\n /** ID of the category pointed to by this identifier */\r\n categoryId: string;\r\n}\r\n\r\n/**\r\n * Category identifier used to assign properties to a category.\r\n * @public\r\n */\r\nexport type CategoryIdentifier = ParentCategoryIdentifier | RootCategoryIdentifier | IdCategoryIdentifier;\r\n\r\n/**\r\n * Content modifier for defining custom property categories. Custom categories are not present in the result unless\r\n * they contain at least one property. One way to assign a property to the category is by using\r\n * [property overrides]($docs/presentation/content/PropertySpecification.md).\r\n *\r\n * @see [Property category specification reference documentation page]($docs/presentation/content/PropertyCategorySpecification.md)\r\n * @public\r\n */\r\nexport interface PropertyCategorySpecification {\r\n /**\r\n * Category identifier used to reference the category definition from property overrides or other category\r\n * definitions. The identifier has to be unique within the list of category definitions where this\r\n * specification is used.\r\n */\r\n id: string;\r\n\r\n /**\r\n * Identifier of a parent category. When specifying the parent category by ID, it has to be available in\r\n * the scope of this category definition.\r\n */\r\n parentId?: string | CategoryIdentifier | NoCategoryIdentifier;\r\n\r\n /** Display label of the category. May be [localized]($docs/presentation/advanced/Localization.md). */\r\n label: string;\r\n\r\n /**\r\n * Extensive description of the category. The description is assigned to the category object that's set\r\n * on content fields and it's up to UI component to decide how the description is displayed.\r\n */\r\n description?: string;\r\n\r\n /**\r\n * Assign a custom [[CategoryDescription.priority]] to the category. It's up to the\r\n * UI component to make sure that priority is respected - categories with higher priority should appear\r\n * before or above categories with lower priority.\r\n *\r\n * @type integer\r\n */\r\n priority?: number;\r\n\r\n /**\r\n * Controls the value of [[CategoryDescription.expand]] which tells the UI component\r\n * displaying the category to auto-expand the category.\r\n */\r\n autoExpand?: boolean;\r\n\r\n /**\r\n * Custom category [renderer specification]($docs/presentation/content/RendererSpecification.md) that allows\r\n * assigning a custom category renderer to be used in UI. This specification is used to set up\r\n * [[CategoryDescription.renderer]] for this category and it's up to the UI component to\r\n * make sure appropriate renderer is used to render the category.\r\n */\r\n renderer?: CustomRendererSpecification;\r\n}\r\n"]}
@@ -2,16 +2,21 @@
2
2
  * @module PresentationRules
3
3
  */
4
4
  /**
5
- * Specification for custom property editor
5
+ * This specification allows assigning a custom property editor to specific properties.
6
6
  *
7
- * @see [More details]($docs/presentation/Content/PropertyEditorSpecification.md)
7
+ * @see [Property editor specification specification reference documentation page]($docs/presentation/content/PropertyEditorSpecification.md)
8
8
  * @public
9
9
  */
10
10
  export interface PropertyEditorSpecification {
11
- /** Name of the custom editor */
11
+ /**
12
+ * Name of the property editor that's going to be used in UI components. This name is carried over to
13
+ * [[Field.editor]] and it's up to the UI component to make sure appropriate editor
14
+ * is used to edit the property.
15
+ */
12
16
  editorName: string;
13
17
  /**
14
- * Parameters for the editor
18
+ * Parameters for the editor.
19
+ * @note At this moment the attribute is not used.
15
20
  * @public
16
21
  */
17
22
  parameters?: PropertyEditorParameters[];
@@ -1 +1 @@
1
- {"version":3,"file":"PropertyEditorsSpecification.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/PropertyEditorsSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B;IAC1C,gCAAgC;IAChC,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,UAAU,CAAC,EAAE,wBAAwB,EAAE,CAAC;CACzC;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,MAAM,wBAAwB,GAAG,4BAA4B,GAAG,iCAAiC,GAAG,6BAA6B,GAAG,8BAA8B,CAAC;AAEjL;;;GAGG;AACH,oBAAY,4BAA4B;IACtC,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,MAAM,WAAW;CAClB;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C,oCAAoC;IACpC,UAAU,EAAE,4BAA4B,CAAC;CAC1C;AAED;;;GAGG;AACH,MAAM,WAAW,4BAA6B,SAAQ,4BAA4B;IAChF,oCAAoC;IACpC,UAAU,EAAE,4BAA4B,CAAC,IAAI,CAAC;IAE9C,8DAA8D;IAC9D,IAAI,EAAE,GAAG,CAAC;CACX;AAED;;;GAGG;AACH,MAAM,WAAW,iCAAkC,SAAQ,4BAA4B;IACrF,oCAAoC;IACpC,UAAU,EAAE,4BAA4B,CAAC,SAAS,CAAC;IAEnD;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,6BAA8B,SAAQ,4BAA4B;IACjF,oCAAoC;IACpC,UAAU,EAAE,4BAA4B,CAAC,KAAK,CAAC;IAE/C,kCAAkC;IAClC,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,kCAAkC;IAClC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,8BAA+B,SAAQ,4BAA4B;IAClF,oCAAoC;IACpC,UAAU,EAAE,4BAA4B,CAAC,MAAM,CAAC;IAEhD,qCAAqC;IACrC,GAAG,EAAE,MAAM,CAAC;IAEZ,qCAAqC;IACrC,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,0BAA0B;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
1
+ {"version":3,"file":"PropertyEditorsSpecification.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/PropertyEditorsSpecification.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,wBAAwB,EAAE,CAAC;CACzC;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,MAAM,wBAAwB,GAAG,4BAA4B,GAAG,iCAAiC,GAAG,6BAA6B,GAAG,8BAA8B,CAAC;AAEjL;;;GAGG;AACH,oBAAY,4BAA4B;IACtC,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,MAAM,WAAW;CAClB;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C,oCAAoC;IACpC,UAAU,EAAE,4BAA4B,CAAC;CAC1C;AAED;;;GAGG;AACH,MAAM,WAAW,4BAA6B,SAAQ,4BAA4B;IAChF,oCAAoC;IACpC,UAAU,EAAE,4BAA4B,CAAC,IAAI,CAAC;IAE9C,8DAA8D;IAC9D,IAAI,EAAE,GAAG,CAAC;CACX;AAED;;;GAGG;AACH,MAAM,WAAW,iCAAkC,SAAQ,4BAA4B;IACrF,oCAAoC;IACpC,UAAU,EAAE,4BAA4B,CAAC,SAAS,CAAC;IAEnD;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,6BAA8B,SAAQ,4BAA4B;IACjF,oCAAoC;IACpC,UAAU,EAAE,4BAA4B,CAAC,KAAK,CAAC;IAE/C,kCAAkC;IAClC,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,kCAAkC;IAClC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,8BAA+B,SAAQ,4BAA4B;IAClF,oCAAoC;IACpC,UAAU,EAAE,4BAA4B,CAAC,MAAM,CAAC;IAEhD,qCAAqC;IACrC,GAAG,EAAE,MAAM,CAAC;IAEZ,qCAAqC;IACrC,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,0BAA0B;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"PropertyEditorsSpecification.js","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/PropertyEditorsSpecification.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAyBH;;;GAGG;AACH,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACtC,6CAAa,CAAA;IACb,uDAAuB,CAAA;IACvB,+CAAe,CAAA;IACf,iDAAiB,CAAA;AACnB,CAAC,EALW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAKvC","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\n/**\r\n * Specification for custom property editor\r\n *\r\n * @see [More details]($docs/presentation/Content/PropertyEditorSpecification.md)\r\n * @public\r\n */\r\nexport interface PropertyEditorSpecification {\r\n /** Name of the custom editor */\r\n editorName: string;\r\n\r\n /**\r\n * Parameters for the editor\r\n * @public\r\n */\r\n parameters?: PropertyEditorParameters[];\r\n}\r\n\r\n/**\r\n * Parameters for [[PropertyEditorSpecification]]\r\n * @public\r\n */\r\nexport declare type PropertyEditorParameters = PropertyEditorJsonParameters | PropertyEditorMultilineParameters | PropertyEditorRangeParameters | PropertyEditorSliderParameters;\r\n\r\n/**\r\n * Used for serializing array of [[PropertyEditorParameters]] to JSON\r\n * @public\r\n */\r\nexport enum PropertyEditorParameterTypes {\r\n Json = \"Json\",\r\n Multiline = \"Multiline\",\r\n Range = \"Range\",\r\n Slider = \"Slider\",\r\n}\r\n\r\n/**\r\n * Base interface for [[PropertyEditorParameters]]. Not meant\r\n * to be used directly, see `PropertyEditorParameters`.\r\n * @public\r\n */\r\nexport interface PropertyEditorParametersBase {\r\n /** Used for serializing to JSON. */\r\n paramsType: PropertyEditorParameterTypes;\r\n}\r\n\r\n/**\r\n * Arbitrary JSON parameters for custom property editors\r\n * @public\r\n */\r\nexport interface PropertyEditorJsonParameters extends PropertyEditorParametersBase {\r\n /** Used for serializing to JSON. */\r\n paramsType: PropertyEditorParameterTypes.Json;\r\n\r\n /** Arbitrary JSON that can be handled by a property editor */\r\n json: any;\r\n}\r\n\r\n/**\r\n * Multiline parameters for property editors that support multiline display\r\n * @public\r\n */\r\nexport interface PropertyEditorMultilineParameters extends PropertyEditorParametersBase {\r\n /** Used for serializing to JSON. */\r\n paramsType: PropertyEditorParameterTypes.Multiline;\r\n\r\n /**\r\n * Number of lines. Defaults to `1`.\r\n *\r\n * @type integer\r\n * @minimum 1\r\n */\r\n height?: number;\r\n}\r\n\r\n/**\r\n * Range parameters for property editors that support ranges\r\n * @public\r\n */\r\nexport interface PropertyEditorRangeParameters extends PropertyEditorParametersBase {\r\n /** Used for serializing to JSON. */\r\n paramsType: PropertyEditorParameterTypes.Range;\r\n\r\n /** Minimum value of the range. */\r\n min?: number;\r\n\r\n /** Maximum value of the range. */\r\n max?: number;\r\n}\r\n\r\n/**\r\n * Slider parameters for property editors that support slider display\r\n * @public\r\n */\r\nexport interface PropertyEditorSliderParameters extends PropertyEditorParametersBase {\r\n /** Used for serializing to JSON. */\r\n paramsType: PropertyEditorParameterTypes.Slider;\r\n\r\n /** Minimum value that can be set. */\r\n min: number;\r\n\r\n /** Maximum value that can be set. */\r\n max: number;\r\n\r\n /**\r\n * Count of intervals. Defaults to `1`.\r\n *\r\n * @type integer\r\n * @minimum 1\r\n */\r\n intervalsCount?: number;\r\n\r\n /** Is slider vertical. */\r\n isVertical?: boolean;\r\n}\r\n"]}
1
+ {"version":3,"file":"PropertyEditorsSpecification.js","sourceRoot":"","sources":["../../../../../../src/presentation-common/rules/content/modifiers/PropertyEditorsSpecification.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AA8BH;;;GAGG;AACH,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACtC,6CAAa,CAAA;IACb,uDAAuB,CAAA;IACvB,+CAAe,CAAA;IACf,iDAAiB,CAAA;AACnB,CAAC,EALW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAKvC","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\n/**\r\n * This specification allows assigning a custom property editor to specific properties.\r\n *\r\n * @see [Property editor specification specification reference documentation page]($docs/presentation/content/PropertyEditorSpecification.md)\r\n * @public\r\n */\r\nexport interface PropertyEditorSpecification {\r\n /**\r\n * Name of the property editor that's going to be used in UI components. This name is carried over to\r\n * [[Field.editor]] and it's up to the UI component to make sure appropriate editor\r\n * is used to edit the property.\r\n */\r\n editorName: string;\r\n\r\n /**\r\n * Parameters for the editor.\r\n * @note At this moment the attribute is not used.\r\n * @public\r\n */\r\n parameters?: PropertyEditorParameters[];\r\n}\r\n\r\n/**\r\n * Parameters for [[PropertyEditorSpecification]]\r\n * @public\r\n */\r\nexport declare type PropertyEditorParameters = PropertyEditorJsonParameters | PropertyEditorMultilineParameters | PropertyEditorRangeParameters | PropertyEditorSliderParameters;\r\n\r\n/**\r\n * Used for serializing array of [[PropertyEditorParameters]] to JSON\r\n * @public\r\n */\r\nexport enum PropertyEditorParameterTypes {\r\n Json = \"Json\",\r\n Multiline = \"Multiline\",\r\n Range = \"Range\",\r\n Slider = \"Slider\",\r\n}\r\n\r\n/**\r\n * Base interface for [[PropertyEditorParameters]]. Not meant\r\n * to be used directly, see `PropertyEditorParameters`.\r\n * @public\r\n */\r\nexport interface PropertyEditorParametersBase {\r\n /** Used for serializing to JSON. */\r\n paramsType: PropertyEditorParameterTypes;\r\n}\r\n\r\n/**\r\n * Arbitrary JSON parameters for custom property editors\r\n * @public\r\n */\r\nexport interface PropertyEditorJsonParameters extends PropertyEditorParametersBase {\r\n /** Used for serializing to JSON. */\r\n paramsType: PropertyEditorParameterTypes.Json;\r\n\r\n /** Arbitrary JSON that can be handled by a property editor */\r\n json: any;\r\n}\r\n\r\n/**\r\n * Multiline parameters for property editors that support multiline display\r\n * @public\r\n */\r\nexport interface PropertyEditorMultilineParameters extends PropertyEditorParametersBase {\r\n /** Used for serializing to JSON. */\r\n paramsType: PropertyEditorParameterTypes.Multiline;\r\n\r\n /**\r\n * Number of lines. Defaults to `1`.\r\n *\r\n * @type integer\r\n * @minimum 1\r\n */\r\n height?: number;\r\n}\r\n\r\n/**\r\n * Range parameters for property editors that support ranges\r\n * @public\r\n */\r\nexport interface PropertyEditorRangeParameters extends PropertyEditorParametersBase {\r\n /** Used for serializing to JSON. */\r\n paramsType: PropertyEditorParameterTypes.Range;\r\n\r\n /** Minimum value of the range. */\r\n min?: number;\r\n\r\n /** Maximum value of the range. */\r\n max?: number;\r\n}\r\n\r\n/**\r\n * Slider parameters for property editors that support slider display\r\n * @public\r\n */\r\nexport interface PropertyEditorSliderParameters extends PropertyEditorParametersBase {\r\n /** Used for serializing to JSON. */\r\n paramsType: PropertyEditorParameterTypes.Slider;\r\n\r\n /** Minimum value that can be set. */\r\n min: number;\r\n\r\n /** Maximum value that can be set. */\r\n max: number;\r\n\r\n /**\r\n * Count of intervals. Defaults to `1`.\r\n *\r\n * @type integer\r\n * @minimum 1\r\n */\r\n intervalsCount?: number;\r\n\r\n /** Is slider vertical. */\r\n isVertical?: boolean;\r\n}\r\n"]}