@sap/ux-specification 1.124.18 → 1.124.19

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 (489) hide show
  1. package/CHANGELOG.md +42 -11
  2. package/dist/documentation/runDocu-min.js +1 -1
  3. package/dist/documentation/runDocu-min.js.map +2 -2
  4. package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
  5. package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
  6. package/dist/documentation/v2/v2-ListReport.html +2 -2
  7. package/dist/documentation/v2/v2-ObjectPage.html +2 -2
  8. package/dist/documentation/v2/v2-OverviewPage.html +2 -2
  9. package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
  10. package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
  11. package/dist/documentation/v4/v4-FreestylePage.html +2 -2
  12. package/dist/documentation/v4/v4-ListReport.html +2 -2
  13. package/dist/documentation/v4/v4-ObjectPage.html +2 -2
  14. package/dist/index-min.js +79 -79
  15. package/dist/index-min.js.map +3 -3
  16. package/dist/schemas/v2/ApplicationV2.json +2 -1
  17. package/dist/schemas/v4/ApplicationV4.json +6 -1
  18. package/dist/schemas/v4/BuildingBlocksConfig.json +782 -2049
  19. package/dist/specification/package.json +5 -5
  20. package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts +21 -0
  21. package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts.map +1 -1
  22. package/dist/specification/scripts/documentation/components/TreeDiagram.js +21 -0
  23. package/dist/specification/scripts/documentation/components/TreeDiagram.js.map +1 -1
  24. package/dist/specification/scripts/documentation/components/filter.d.ts +7 -0
  25. package/dist/specification/scripts/documentation/components/filter.d.ts.map +1 -1
  26. package/dist/specification/scripts/documentation/components/filter.js +30 -0
  27. package/dist/specification/scripts/documentation/components/filter.js.map +1 -1
  28. package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts +70 -0
  29. package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts.map +1 -1
  30. package/dist/specification/scripts/documentation/components/ui/TreeUI.js +70 -3
  31. package/dist/specification/scripts/documentation/components/ui/TreeUI.js.map +1 -1
  32. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts +17 -0
  33. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts.map +1 -1
  34. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js +23 -0
  35. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js.map +1 -1
  36. package/dist/specification/scripts/documentation/components/ui/search.d.ts +12 -0
  37. package/dist/specification/scripts/documentation/components/ui/search.d.ts.map +1 -1
  38. package/dist/specification/scripts/documentation/components/ui/search.js +78 -8
  39. package/dist/specification/scripts/documentation/components/ui/search.js.map +1 -1
  40. package/dist/specification/scripts/documentation/components/ui/toggle.d.ts +21 -0
  41. package/dist/specification/scripts/documentation/components/ui/toggle.d.ts.map +1 -1
  42. package/dist/specification/scripts/documentation/components/ui/toggle.js +23 -6
  43. package/dist/specification/scripts/documentation/components/ui/toggle.js.map +1 -1
  44. package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts +24 -0
  45. package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts.map +1 -1
  46. package/dist/specification/scripts/documentation/components/ui/tooltip.js +24 -3
  47. package/dist/specification/scripts/documentation/components/ui/tooltip.js.map +1 -1
  48. package/dist/specification/scripts/documentation/components/ui/utils.d.ts +36 -0
  49. package/dist/specification/scripts/documentation/components/ui/utils.d.ts.map +1 -1
  50. package/dist/specification/scripts/documentation/components/ui/utils.js +36 -4
  51. package/dist/specification/scripts/documentation/components/ui/utils.js.map +1 -1
  52. package/dist/specification/scripts/extractDocu.js +49 -5
  53. package/dist/specification/scripts/extractDocu.js.map +1 -1
  54. package/dist/specification/scripts/macros/api.d.ts +4 -1
  55. package/dist/specification/scripts/macros/api.d.ts.map +1 -1
  56. package/dist/specification/scripts/macros/api.js +9 -1
  57. package/dist/specification/scripts/macros/api.js.map +1 -1
  58. package/dist/specification/scripts/macros/cmd.d.ts +1 -0
  59. package/dist/specification/scripts/macros/cmd.d.ts.map +1 -1
  60. package/dist/specification/scripts/macros/cmd.js +1 -0
  61. package/dist/specification/scripts/macros/cmd.js.map +1 -1
  62. package/dist/specification/scripts/macros/corrections.d.ts +1 -0
  63. package/dist/specification/scripts/macros/corrections.d.ts.map +1 -1
  64. package/dist/specification/scripts/macros/corrections.js +5 -0
  65. package/dist/specification/scripts/macros/corrections.js.map +1 -1
  66. package/dist/specification/scripts/macros/i18n.d.ts +1 -0
  67. package/dist/specification/scripts/macros/i18n.d.ts.map +1 -1
  68. package/dist/specification/scripts/macros/i18n.js +1 -0
  69. package/dist/specification/scripts/macros/i18n.js.map +1 -1
  70. package/dist/specification/scripts/macros/schema.d.ts +1 -0
  71. package/dist/specification/scripts/macros/schema.d.ts.map +1 -1
  72. package/dist/specification/scripts/macros/schema.js +18 -5
  73. package/dist/specification/scripts/macros/schema.js.map +1 -1
  74. package/dist/specification/scripts/schema/to-json-schema.d.ts +9 -5
  75. package/dist/specification/scripts/schema/to-json-schema.d.ts.map +1 -1
  76. package/dist/specification/scripts/schema/to-json-schema.js +32 -5
  77. package/dist/specification/scripts/schema/to-json-schema.js.map +1 -1
  78. package/dist/specification/scripts/spec.js +19 -9
  79. package/dist/specification/scripts/spec.js.map +1 -1
  80. package/dist/specification/src/api.d.ts +20 -12
  81. package/dist/specification/src/api.d.ts.map +1 -1
  82. package/dist/specification/src/api.js +22 -14
  83. package/dist/specification/src/api.js.map +1 -1
  84. package/dist/specification/src/extensionLogger.d.ts +3 -2
  85. package/dist/specification/src/extensionLogger.d.ts.map +1 -1
  86. package/dist/specification/src/extensionLogger.js +3 -2
  87. package/dist/specification/src/extensionLogger.js.map +1 -1
  88. package/dist/specification/src/i18n/i18n.d.ts +5 -0
  89. package/dist/specification/src/i18n/i18n.d.ts.map +1 -1
  90. package/dist/specification/src/i18n/i18n.js +5 -0
  91. package/dist/specification/src/i18n/i18n.js.map +1 -1
  92. package/dist/specification/src/project.d.ts +3 -1
  93. package/dist/specification/src/project.d.ts.map +1 -1
  94. package/dist/specification/src/project.js +3 -1
  95. package/dist/specification/src/project.js.map +1 -1
  96. package/dist/specification/src/specification/schemaAccess.d.ts +6 -2
  97. package/dist/specification/src/specification/schemaAccess.d.ts.map +1 -1
  98. package/dist/specification/src/specification/schemaAccess.js +10 -4
  99. package/dist/specification/src/specification/schemaAccess.js.map +1 -1
  100. package/dist/specification/src/sync/common/appProvider.d.ts +17 -6
  101. package/dist/specification/src/sync/common/appProvider.d.ts.map +1 -1
  102. package/dist/specification/src/sync/common/appProvider.js +33 -17
  103. package/dist/specification/src/sync/common/appProvider.js.map +1 -1
  104. package/dist/specification/src/sync/common/decoration/control.d.ts +26 -10
  105. package/dist/specification/src/sync/common/decoration/control.d.ts.map +1 -1
  106. package/dist/specification/src/sync/common/decoration/control.js +32 -13
  107. package/dist/specification/src/sync/common/decoration/control.js.map +1 -1
  108. package/dist/specification/src/sync/common/decoration/decorators.d.ts +14 -0
  109. package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
  110. package/dist/specification/src/sync/common/decoration/decorators.js +14 -0
  111. package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
  112. package/dist/specification/src/sync/common/decoration/factory.d.ts +12 -3
  113. package/dist/specification/src/sync/common/decoration/factory.d.ts.map +1 -1
  114. package/dist/specification/src/sync/common/decoration/factory.js +6 -3
  115. package/dist/specification/src/sync/common/decoration/factory.js.map +1 -1
  116. package/dist/specification/src/sync/common/decoration/flex.d.ts +7 -0
  117. package/dist/specification/src/sync/common/decoration/flex.d.ts.map +1 -1
  118. package/dist/specification/src/sync/common/decoration/flex.js +7 -0
  119. package/dist/specification/src/sync/common/decoration/flex.js.map +1 -1
  120. package/dist/specification/src/sync/common/distTagEvaluator.d.ts +13 -3
  121. package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -1
  122. package/dist/specification/src/sync/common/distTagEvaluator.js +13 -3
  123. package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -1
  124. package/dist/specification/src/sync/common/dist_tag.json +12 -7
  125. package/dist/specification/src/sync/common/flexUtils.d.ts +11 -10
  126. package/dist/specification/src/sync/common/flexUtils.d.ts.map +1 -1
  127. package/dist/specification/src/sync/common/flexUtils.js +11 -10
  128. package/dist/specification/src/sync/common/flexUtils.js.map +1 -1
  129. package/dist/specification/src/sync/common/generate/objectPage.d.ts +27 -18
  130. package/dist/specification/src/sync/common/generate/objectPage.d.ts.map +1 -1
  131. package/dist/specification/src/sync/common/generate/objectPage.js +54 -33
  132. package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -1
  133. package/dist/specification/src/sync/common/generate/utils.d.ts +65 -37
  134. package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -1
  135. package/dist/specification/src/sync/common/generate/utils.js +67 -37
  136. package/dist/specification/src/sync/common/generate/utils.js.map +1 -1
  137. package/dist/specification/src/sync/common/import/utils.d.ts +9 -3
  138. package/dist/specification/src/sync/common/import/utils.d.ts.map +1 -1
  139. package/dist/specification/src/sync/common/import/utils.js +9 -3
  140. package/dist/specification/src/sync/common/import/utils.js.map +1 -1
  141. package/dist/specification/src/sync/common/importProject.d.ts +17 -6
  142. package/dist/specification/src/sync/common/importProject.d.ts.map +1 -1
  143. package/dist/specification/src/sync/common/importProject.js +60 -30
  144. package/dist/specification/src/sync/common/importProject.js.map +1 -1
  145. package/dist/specification/src/sync/common/utils.d.ts +129 -53
  146. package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
  147. package/dist/specification/src/sync/common/utils.js +235 -94
  148. package/dist/specification/src/sync/common/utils.js.map +1 -1
  149. package/dist/specification/src/sync/i18n.d.ts +5 -0
  150. package/dist/specification/src/sync/i18n.d.ts.map +1 -1
  151. package/dist/specification/src/sync/i18n.js +5 -0
  152. package/dist/specification/src/sync/i18n.js.map +1 -1
  153. package/dist/specification/src/sync/v2/export/controls/Action.d.ts +3 -3
  154. package/dist/specification/src/sync/v2/export/controls/Action.js +15 -15
  155. package/dist/specification/src/sync/v2/export/controls/Card.d.ts +14 -0
  156. package/dist/specification/src/sync/v2/export/controls/Card.d.ts.map +1 -1
  157. package/dist/specification/src/sync/v2/export/controls/Card.js +20 -0
  158. package/dist/specification/src/sync/v2/export/controls/Card.js.map +1 -1
  159. package/dist/specification/src/sync/v2/export/controls/Field.js +5 -5
  160. package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts +13 -0
  161. package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts.map +1 -1
  162. package/dist/specification/src/sync/v2/export/controls/FilterBar.js +21 -0
  163. package/dist/specification/src/sync/v2/export/controls/FilterBar.js.map +1 -1
  164. package/dist/specification/src/sync/v2/export/controls/FormAction.js +4 -4
  165. package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts +10 -5
  166. package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts.map +1 -1
  167. package/dist/specification/src/sync/v2/export/controls/Fragment.js +62 -25
  168. package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -1
  169. package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.js +6 -6
  170. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.js +6 -6
  171. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +1 -1
  172. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js +20 -16
  173. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +1 -1
  174. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts.map +1 -1
  175. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js.map +1 -1
  176. package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.js +6 -6
  177. package/dist/specification/src/sync/v2/export/controls/Table.d.ts +24 -0
  178. package/dist/specification/src/sync/v2/export/controls/Table.d.ts.map +1 -1
  179. package/dist/specification/src/sync/v2/export/controls/Table.js +48 -3
  180. package/dist/specification/src/sync/v2/export/controls/Table.js.map +1 -1
  181. package/dist/specification/src/sync/v2/export/controls/TableColumn.js +10 -10
  182. package/dist/specification/src/sync/v2/export/export.d.ts +7 -3
  183. package/dist/specification/src/sync/v2/export/export.d.ts.map +1 -1
  184. package/dist/specification/src/sync/v2/export/export.js +133 -44
  185. package/dist/specification/src/sync/v2/export/export.js.map +1 -1
  186. package/dist/specification/src/sync/v2/export/exportPage.d.ts +18 -10
  187. package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -1
  188. package/dist/specification/src/sync/v2/export/exportPage.js +34 -20
  189. package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -1
  190. package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts +5 -2
  191. package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts.map +1 -1
  192. package/dist/specification/src/sync/v2/export/exportPageGeneric.js +27 -17
  193. package/dist/specification/src/sync/v2/export/exportPageGeneric.js.map +1 -1
  194. package/dist/specification/src/sync/v2/export/manifest.d.ts +5 -2
  195. package/dist/specification/src/sync/v2/export/manifest.d.ts.map +1 -1
  196. package/dist/specification/src/sync/v2/export/manifest.js +30 -6
  197. package/dist/specification/src/sync/v2/export/manifest.js.map +1 -1
  198. package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts +21 -0
  199. package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts.map +1 -1
  200. package/dist/specification/src/sync/v2/export/pages/OverviewPage.js +36 -2
  201. package/dist/specification/src/sync/v2/export/pages/OverviewPage.js.map +1 -1
  202. package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts +25 -15
  203. package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts.map +1 -1
  204. package/dist/specification/src/sync/v2/export/view-controller-generator.js +27 -16
  205. package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -1
  206. package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts +2 -0
  207. package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
  208. package/dist/specification/src/sync/v2/generate/analyticalListReport.js +6 -0
  209. package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  210. package/dist/specification/src/sync/v2/generate/generate.d.ts +5 -9
  211. package/dist/specification/src/sync/v2/generate/generate.d.ts.map +1 -1
  212. package/dist/specification/src/sync/v2/generate/generate.js +9 -12
  213. package/dist/specification/src/sync/v2/generate/generate.js.map +1 -1
  214. package/dist/specification/src/sync/v2/generate/listReport.d.ts +4 -2
  215. package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -1
  216. package/dist/specification/src/sync/v2/generate/listReport.js +24 -7
  217. package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -1
  218. package/dist/specification/src/sync/v2/generate/objectPage.d.ts +2 -2
  219. package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -1
  220. package/dist/specification/src/sync/v2/generate/objectPage.js +75 -43
  221. package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -1
  222. package/dist/specification/src/sync/v2/generate/overviewPage.d.ts +2 -2
  223. package/dist/specification/src/sync/v2/generate/overviewPage.d.ts.map +1 -1
  224. package/dist/specification/src/sync/v2/generate/overviewPage.js +2 -2
  225. package/dist/specification/src/sync/v2/generate/overviewPage.js.map +1 -1
  226. package/dist/specification/src/sync/v2/generate/schemaAdaptation.js +2 -2
  227. package/dist/specification/src/sync/v2/generate/utils.d.ts +47 -22
  228. package/dist/specification/src/sync/v2/generate/utils.d.ts.map +1 -1
  229. package/dist/specification/src/sync/v2/generate/utils.js +92 -33
  230. package/dist/specification/src/sync/v2/generate/utils.js.map +1 -1
  231. package/dist/specification/src/sync/v2/import/app/appProvider.d.ts +7 -0
  232. package/dist/specification/src/sync/v2/import/app/appProvider.d.ts.map +1 -1
  233. package/dist/specification/src/sync/v2/import/app/appProvider.js +20 -4
  234. package/dist/specification/src/sync/v2/import/app/appProvider.js.map +1 -1
  235. package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts +4 -0
  236. package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts.map +1 -1
  237. package/dist/specification/src/sync/v2/import/app/ovpProvider.js +4 -0
  238. package/dist/specification/src/sync/v2/import/app/ovpProvider.js.map +1 -1
  239. package/dist/specification/src/sync/v2/import/common/index.d.ts +28 -15
  240. package/dist/specification/src/sync/v2/import/common/index.d.ts.map +1 -1
  241. package/dist/specification/src/sync/v2/import/common/index.js +91 -35
  242. package/dist/specification/src/sync/v2/import/common/index.js.map +1 -1
  243. package/dist/specification/src/sync/v2/import/controls/table.d.ts +6 -2
  244. package/dist/specification/src/sync/v2/import/controls/table.d.ts.map +1 -1
  245. package/dist/specification/src/sync/v2/import/controls/table.js +6 -2
  246. package/dist/specification/src/sync/v2/import/controls/table.js.map +1 -1
  247. package/dist/specification/src/sync/v2/import/importPage.d.ts +2 -1
  248. package/dist/specification/src/sync/v2/import/importPage.d.ts.map +1 -1
  249. package/dist/specification/src/sync/v2/import/importPage.js +4 -5
  250. package/dist/specification/src/sync/v2/import/importPage.js.map +1 -1
  251. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts +3 -3
  252. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -1
  253. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js +9 -10
  254. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
  255. package/dist/specification/src/sync/v2/import/pages/listReport.d.ts +8 -7
  256. package/dist/specification/src/sync/v2/import/pages/listReport.d.ts.map +1 -1
  257. package/dist/specification/src/sync/v2/import/pages/listReport.js +28 -24
  258. package/dist/specification/src/sync/v2/import/pages/listReport.js.map +1 -1
  259. package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts +3 -3
  260. package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts.map +1 -1
  261. package/dist/specification/src/sync/v2/import/pages/objectPage.js +107 -76
  262. package/dist/specification/src/sync/v2/import/pages/objectPage.js.map +1 -1
  263. package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts +2 -1
  264. package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts.map +1 -1
  265. package/dist/specification/src/sync/v2/import/pages/overviewPage.js +27 -12
  266. package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -1
  267. package/dist/specification/src/sync/v2/import/utils.d.ts +18 -9
  268. package/dist/specification/src/sync/v2/import/utils.d.ts.map +1 -1
  269. package/dist/specification/src/sync/v2/import/utils.js +27 -15
  270. package/dist/specification/src/sync/v2/import/utils.js.map +1 -1
  271. package/dist/specification/src/sync/v2/utils.d.ts +26 -1
  272. package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
  273. package/dist/specification/src/sync/v2/utils.js +46 -0
  274. package/dist/specification/src/sync/v2/utils.js.map +1 -1
  275. package/dist/specification/src/sync/v4/application.d.ts +7 -5
  276. package/dist/specification/src/sync/v4/application.d.ts.map +1 -1
  277. package/dist/specification/src/sync/v4/application.js +7 -5
  278. package/dist/specification/src/sync/v4/application.js.map +1 -1
  279. package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -1
  280. package/dist/specification/src/sync/v4/export/controls/FilterBar.js +8 -0
  281. package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -1
  282. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.d.ts.map +1 -1
  283. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.js.map +1 -1
  284. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -1
  285. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -1
  286. package/dist/specification/src/sync/v4/export/controls/Table.d.ts +14 -9
  287. package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
  288. package/dist/specification/src/sync/v4/export/controls/Table.js +44 -17
  289. package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -1
  290. package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -1
  291. package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -1
  292. package/dist/specification/src/sync/v4/export/export.d.ts +6 -4
  293. package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -1
  294. package/dist/specification/src/sync/v4/export/export.js +136 -58
  295. package/dist/specification/src/sync/v4/export/export.js.map +1 -1
  296. package/dist/specification/src/sync/v4/export/exportCustomColumn.d.ts +6 -4
  297. package/dist/specification/src/sync/v4/export/exportCustomColumn.d.ts.map +1 -1
  298. package/dist/specification/src/sync/v4/export/exportCustomColumn.js +6 -4
  299. package/dist/specification/src/sync/v4/export/exportCustomColumn.js.map +1 -1
  300. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts +3 -2
  301. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts.map +1 -1
  302. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js +13 -9
  303. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js.map +1 -1
  304. package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts +6 -4
  305. package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -1
  306. package/dist/specification/src/sync/v4/export/fpmCustomPage.js +9 -4
  307. package/dist/specification/src/sync/v4/export/fpmCustomPage.js.map +1 -1
  308. package/dist/specification/src/sync/v4/export/manifest.d.ts +6 -2
  309. package/dist/specification/src/sync/v4/export/manifest.d.ts.map +1 -1
  310. package/dist/specification/src/sync/v4/export/manifest.js +46 -17
  311. package/dist/specification/src/sync/v4/export/manifest.js.map +1 -1
  312. package/dist/specification/src/sync/v4/export/pages/ListReport.d.ts.map +1 -1
  313. package/dist/specification/src/sync/v4/export/pages/ListReport.js +4 -3
  314. package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -1
  315. package/dist/specification/src/sync/v4/export/utils.d.ts +6 -4
  316. package/dist/specification/src/sync/v4/export/utils.d.ts.map +1 -1
  317. package/dist/specification/src/sync/v4/export/utils.js +6 -4
  318. package/dist/specification/src/sync/v4/export/utils.js.map +1 -1
  319. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +1 -1
  320. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js +4 -0
  321. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -1
  322. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts +5 -3
  323. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +1 -1
  324. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js +14 -5
  325. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js.map +1 -1
  326. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts +1 -0
  327. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +1 -1
  328. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js +18 -0
  329. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js.map +1 -1
  330. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts +1 -1
  331. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts.map +1 -1
  332. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.js +2 -1
  333. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.js.map +1 -1
  334. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts +2 -0
  335. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +1 -1
  336. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js +2 -0
  337. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js.map +1 -1
  338. package/dist/specification/src/sync/v4/generate/freestylePage.d.ts +2 -2
  339. package/dist/specification/src/sync/v4/generate/freestylePage.js +2 -2
  340. package/dist/specification/src/sync/v4/generate/generate.d.ts +13 -11
  341. package/dist/specification/src/sync/v4/generate/generate.d.ts.map +1 -1
  342. package/dist/specification/src/sync/v4/generate/generate.js +13 -11
  343. package/dist/specification/src/sync/v4/generate/generate.js.map +1 -1
  344. package/dist/specification/src/sync/v4/generate/listReport.d.ts +10 -7
  345. package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -1
  346. package/dist/specification/src/sync/v4/generate/listReport.js +124 -78
  347. package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -1
  348. package/dist/specification/src/sync/v4/generate/objectPage.d.ts +1 -1
  349. package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
  350. package/dist/specification/src/sync/v4/generate/objectPage.js +210 -162
  351. package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
  352. package/dist/specification/src/sync/v4/import/app/appProvider.d.ts +18 -4
  353. package/dist/specification/src/sync/v4/import/app/appProvider.d.ts.map +1 -1
  354. package/dist/specification/src/sync/v4/import/app/appProvider.js +56 -24
  355. package/dist/specification/src/sync/v4/import/app/appProvider.js.map +1 -1
  356. package/dist/specification/src/sync/v4/import/fragment.d.ts +29 -4
  357. package/dist/specification/src/sync/v4/import/fragment.d.ts.map +1 -1
  358. package/dist/specification/src/sync/v4/import/fragment.js +46 -7
  359. package/dist/specification/src/sync/v4/import/fragment.js.map +1 -1
  360. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts +3 -2
  361. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +1 -1
  362. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js +7 -2
  363. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js.map +1 -1
  364. package/dist/specification/src/sync/v4/import/pages/listReport.d.ts +12 -10
  365. package/dist/specification/src/sync/v4/import/pages/listReport.d.ts.map +1 -1
  366. package/dist/specification/src/sync/v4/import/pages/listReport.js +70 -46
  367. package/dist/specification/src/sync/v4/import/pages/listReport.js.map +1 -1
  368. package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts +7 -6
  369. package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts.map +1 -1
  370. package/dist/specification/src/sync/v4/import/pages/objectPage.js +52 -39
  371. package/dist/specification/src/sync/v4/import/pages/objectPage.js.map +1 -1
  372. package/dist/specification/src/sync/v4/import/utils.d.ts +4 -2
  373. package/dist/specification/src/sync/v4/import/utils.d.ts.map +1 -1
  374. package/dist/specification/src/sync/v4/import/utils.js +4 -2
  375. package/dist/specification/src/sync/v4/import/utils.js.map +1 -1
  376. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.d.ts.map +1 -1
  377. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js +5 -2
  378. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js.map +1 -1
  379. package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts +12 -0
  380. package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts.map +1 -1
  381. package/dist/specification/src/sync/v4/utils/StableIdHelper.js +18 -0
  382. package/dist/specification/src/sync/v4/utils/StableIdHelper.js.map +1 -1
  383. package/dist/specification/src/sync/v4/utils/macros.d.ts +4 -0
  384. package/dist/specification/src/sync/v4/utils/macros.d.ts.map +1 -1
  385. package/dist/specification/src/sync/v4/utils/macros.js +17 -1
  386. package/dist/specification/src/sync/v4/utils/macros.js.map +1 -1
  387. package/dist/specification/src/sync/v4/utils/utils.d.ts +38 -20
  388. package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
  389. package/dist/specification/src/sync/v4/utils/utils.js +95 -50
  390. package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
  391. package/dist/types/src/common/Application.d.ts +6 -0
  392. package/dist/types/src/common/Application.d.ts.map +1 -1
  393. package/dist/types/src/common/Application.js +4 -0
  394. package/dist/types/src/common/Application.js.map +1 -1
  395. package/dist/types/src/common/types.d.ts +51 -2
  396. package/dist/types/src/common/types.d.ts.map +1 -1
  397. package/dist/types/src/common/types.js +2 -1
  398. package/dist/types/src/common/types.js.map +1 -1
  399. package/dist/types/src/common/webapp/manifest/sapUi5.d.ts +3 -2
  400. package/dist/types/src/common/webapp/manifest/sapUi5.d.ts.map +1 -1
  401. package/dist/types/src/common/webapp/manifest/sapUi5.js +3 -2
  402. package/dist/types/src/common/webapp/manifest/sapUi5.js.map +1 -1
  403. package/dist/types/src/v2/application.d.ts +1 -1
  404. package/dist/types/src/v2/controls/Action.d.ts +12 -0
  405. package/dist/types/src/v2/controls/Action.d.ts.map +1 -1
  406. package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts +1 -0
  407. package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts.map +1 -1
  408. package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts +1 -0
  409. package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts.map +1 -1
  410. package/dist/types/src/v2/controls/Card.d.ts +13 -0
  411. package/dist/types/src/v2/controls/Card.d.ts.map +1 -1
  412. package/dist/types/src/v2/controls/Card.js.map +1 -1
  413. package/dist/types/src/v2/controls/Field.d.ts +1 -0
  414. package/dist/types/src/v2/controls/Field.d.ts.map +1 -1
  415. package/dist/types/src/v2/controls/FilterBar.d.ts +6 -0
  416. package/dist/types/src/v2/controls/FilterBar.d.ts.map +1 -1
  417. package/dist/types/src/v2/controls/FilterBar.js.map +1 -1
  418. package/dist/types/src/v2/controls/Header.d.ts +1 -0
  419. package/dist/types/src/v2/controls/Header.d.ts.map +1 -1
  420. package/dist/types/src/v2/controls/ObjectPageChart.d.ts +1 -0
  421. package/dist/types/src/v2/controls/ObjectPageChart.d.ts.map +1 -1
  422. package/dist/types/src/v2/controls/ObjectPageFooter.d.ts +2 -0
  423. package/dist/types/src/v2/controls/ObjectPageFooter.d.ts.map +1 -1
  424. package/dist/types/src/v2/controls/ObjectPageForm.d.ts +1 -0
  425. package/dist/types/src/v2/controls/ObjectPageForm.d.ts.map +1 -1
  426. package/dist/types/src/v2/controls/ObjectPageHeader.d.ts +1 -0
  427. package/dist/types/src/v2/controls/ObjectPageHeader.d.ts.map +1 -1
  428. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts +3 -0
  429. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts.map +1 -1
  430. package/dist/types/src/v2/controls/ObjectPageLayout.d.ts +1 -0
  431. package/dist/types/src/v2/controls/ObjectPageLayout.d.ts.map +1 -1
  432. package/dist/types/src/v2/controls/ObjectPageSection.d.ts +13 -0
  433. package/dist/types/src/v2/controls/ObjectPageSection.d.ts.map +1 -1
  434. package/dist/types/src/v2/controls/ObjectPageSection.js.map +1 -1
  435. package/dist/types/src/v2/controls/ObjectPageTable.d.ts +6 -0
  436. package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -1
  437. package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts +2 -0
  438. package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts.map +1 -1
  439. package/dist/types/src/v2/controls/Table.d.ts +28 -0
  440. package/dist/types/src/v2/controls/Table.d.ts.map +1 -1
  441. package/dist/types/src/v2/controls/Table.js.map +1 -1
  442. package/dist/types/src/v2/controls/ToolBar.d.ts +1 -0
  443. package/dist/types/src/v2/controls/ToolBar.d.ts.map +1 -1
  444. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts +1 -0
  445. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts.map +1 -1
  446. package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts +4 -0
  447. package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts.map +1 -1
  448. package/dist/types/src/v4/application.d.ts +1 -1
  449. package/dist/types/src/v4/controls/CustomAction.d.ts +10 -0
  450. package/dist/types/src/v4/controls/CustomAction.d.ts.map +1 -1
  451. package/dist/types/src/v4/controls/FilterBar.d.ts +11 -0
  452. package/dist/types/src/v4/controls/FilterBar.d.ts.map +1 -1
  453. package/dist/types/src/v4/controls/FilterBar.js.map +1 -1
  454. package/dist/types/src/v4/controls/Header.d.ts +1 -0
  455. package/dist/types/src/v4/controls/Header.d.ts.map +1 -1
  456. package/dist/types/src/v4/controls/ObjectPageFooter.d.ts +1 -0
  457. package/dist/types/src/v4/controls/ObjectPageFooter.d.ts.map +1 -1
  458. package/dist/types/src/v4/controls/ObjectPageForm.d.ts +1 -0
  459. package/dist/types/src/v4/controls/ObjectPageForm.d.ts.map +1 -1
  460. package/dist/types/src/v4/controls/ObjectPageHeader.d.ts +2 -0
  461. package/dist/types/src/v4/controls/ObjectPageHeader.d.ts.map +1 -1
  462. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts +6 -0
  463. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -1
  464. package/dist/types/src/v4/controls/ObjectPageLayout.d.ts +1 -0
  465. package/dist/types/src/v4/controls/ObjectPageLayout.d.ts.map +1 -1
  466. package/dist/types/src/v4/controls/ObjectPageSection.d.ts +17 -0
  467. package/dist/types/src/v4/controls/ObjectPageSection.d.ts.map +1 -1
  468. package/dist/types/src/v4/controls/ObjectPageSection.js.map +1 -1
  469. package/dist/types/src/v4/controls/ObjectPageTable.d.ts +9 -0
  470. package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -1
  471. package/dist/types/src/v4/controls/ObjectPageTable.js.map +1 -1
  472. package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts +4 -0
  473. package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts.map +1 -1
  474. package/dist/types/src/v4/controls/Table.d.ts +16 -0
  475. package/dist/types/src/v4/controls/Table.d.ts.map +1 -1
  476. package/dist/types/src/v4/controls/ToolBar.d.ts +9 -0
  477. package/dist/types/src/v4/controls/ToolBar.d.ts.map +1 -1
  478. package/dist/types/src/v4/page.d.ts +4 -0
  479. package/dist/types/src/v4/page.d.ts.map +1 -1
  480. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts +22 -0
  481. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts.map +1 -1
  482. package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts +3 -0
  483. package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts.map +1 -1
  484. package/dist/types/src/v4/webapp/manifest/sapUi5.js.map +1 -1
  485. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts +1 -1
  486. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts.map +1 -1
  487. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js +2 -2
  488. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js.map +1 -1
  489. package/package.json +6 -6
@@ -21,13 +21,15 @@ const CRITICAL_ACTION_TYPES = [
21
21
  ];
22
22
  const CUSTOM_ACTION_DEFINITION_DESCRIPTION = 'Custom Action';
23
23
  /**
24
- * V4 callback - adds a single header action to schema
25
- * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
26
- * @param {ActionListType} action - item of the Ui.Identification collection and its original index
27
- * @param {ActionType} actionType - action classification for grouping
28
- * @param {Definition} appSchema Schema of the app
29
- * @param {EntityType} entityType - current entity type
30
- * @param {Definition} headerActions - list of header actions, to be enhanced
24
+ * V4 callback - adds a single header action to schema.
25
+ *
26
+ * @param oDataServiceAVT - Complete service information, as returned by annotation vocabularies tool.
27
+ * @param action - Item of the Ui.Identification collection and its original index.
28
+ * @param actionType - Action classification for grouping.
29
+ * @param appSchema - Schema of the app.
30
+ * @param entityType - Current entity type.
31
+ * @param headerActions - List of header actions, to be enhanced.
32
+ * @param index - The index of the action in the header actions list.
31
33
  */
32
34
  function addSingleHeaderActionV4(oDataServiceAVT, action, actionType, appSchema, entityType, headerActions, index) {
33
35
  const { actionName, namespace } = (0, common_1.getActionNameAndId)(action.item, oDataServiceAVT);
@@ -64,13 +66,13 @@ function addSingleHeaderActionV4(oDataServiceAVT, action, actionType, appSchema,
64
66
  headerActions.properties[stableId][ux_specification_types_1.SchemaTag.propertyIndex] = index;
65
67
  }
66
68
  /**
67
- * Adds a given standard action to the app schema of the object page
68
- * @param {string} actionName - name of the action
69
- * @param {Definition} appSchema - schema of the object page
70
- * @param {Definition} headerActions - list of header actions, to be enhanced
71
- * @param {number} index - index for propertyIndex
69
+ * Adds a given standard action to the app schema of the object page.
72
70
  *
73
- * @returns the new header action definition
71
+ * @param actionName - Name of the action.
72
+ * @param appSchema - Schema of the object page.
73
+ * @param headerActions - List of header actions, to be enhanced.
74
+ * @param index - Index for propertyIndex.
75
+ * @returns The new header action definition.
74
76
  */
75
77
  function addStandardHeaderAction(actionName, appSchema, headerActions, index) {
76
78
  const referenceKey = `${actionName}Action`;
@@ -94,12 +96,14 @@ function addStandardHeaderAction(actionName, appSchema, headerActions, index) {
94
96
  return headerAction;
95
97
  }
96
98
  /**
97
- * V4 callback - adds a single footer action to schema
98
- * @param {ActionListType} action - item of the Ui.Identification collection and its original index
99
- * @param {ActionType} actionType - action classification for grouping
100
- * @param {EntityType} entityType - current entity type
101
- * @param {Definition} appSchema - schema of the object page
102
- * @param {Definition} footerActions - list of footer actions, to be enhanced
99
+ * V4 callback - adds a single footer action to schema.
100
+ *
101
+ * @param action - Item of the Ui.Identification collection and its original index.
102
+ * @param actionType - Action classification for grouping.
103
+ * @param entityType - Current entity type.
104
+ * @param appSchema - Schema of the object page.
105
+ * @param footerActions - List of footer actions, to be enhanced.
106
+ * @param index - The index of the action in the footer actions list.
103
107
  */
104
108
  function addSingleFooterAction(action, actionType, entityType, appSchema, footerActions, index) {
105
109
  const actionId = (0, StableIdHelper_1.getStableIdPartFromDataField)(action.item);
@@ -120,9 +124,10 @@ function addSingleFooterAction(action, actionType, entityType, appSchema, footer
120
124
  };
121
125
  }
122
126
  /**
123
- * Distiguishes critical actions and others and returns two separate groups
124
- * @param {any} identification - UI.Identification annotation as present in AVT ConvertedMetadata
125
- * @returns two separate groups of items
127
+ * Distinguishes critical actions and others and returns two separate groups.
128
+ *
129
+ * @param identification - UI.Identification annotation as present in AVT ConvertedMetadata.
130
+ * @returns Two separate groups of items.
126
131
  */
127
132
  function groupByCriticality(identification) {
128
133
  const criticalActions = [];
@@ -141,7 +146,8 @@ function groupByCriticality(identification) {
141
146
  return { criticalActions, unCriticalActions };
142
147
  }
143
148
  /**
144
- * Adds the critical header actions to schema
149
+ * Adds the critical header actions to schema.
150
+ *
145
151
  * @param {ActionListType[]} criticalActions - list of critical actions
146
152
  * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
147
153
  * @param {Definition} appSchema - schema of the object page
@@ -156,6 +162,7 @@ function addCriticalActions(criticalActions, oDataServiceAVT, appSchema, entityT
156
162
  /**
157
163
  * Checks if one of the uncritical actions is marked by isCopyAction.
158
164
  * If so, adds this first to the schema and deletes it from the list.
165
+ *
159
166
  * @param {ActionListType[]} unCriticalActions - list of uncritical actions
160
167
  * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
161
168
  * @param {Definition} appSchema - schema of the object page
@@ -174,7 +181,8 @@ function addCopyAction(unCriticalActions, oDataServiceAVT, appSchema, entityType
174
181
  }
175
182
  }
176
183
  /**
177
- * Adds the critical header actions to schema
184
+ * Adds the critical header actions to schema.
185
+ *
178
186
  * @param {ActionListType[]} unCriticalActions - list of uncritical actions
179
187
  * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
180
188
  * @param {Definition} appSchema - schema of the object page
@@ -189,7 +197,8 @@ function addUncriticalActions(unCriticalActions, oDataServiceAVT, appSchema, ent
189
197
  }
190
198
  }
191
199
  /**
192
- * Adds the critical header actions to schema
200
+ * Adds the critical header actions to schema.
201
+ *
193
202
  * @param {Definition} headerActions - list of all header actions
194
203
  */
195
204
  function addRelatedAppsButton(headerActions) {
@@ -207,6 +216,7 @@ function addRelatedAppsButton(headerActions) {
207
216
  }
208
217
  /**
209
218
  * Fills the annotationPath of the given schema definition, by checking first the EntitySet annotation, then the EntityType annotation.
219
+ *
210
220
  * @param {Definition} schemaDefinition - current definition in the schema
211
221
  * @param {EntitySet} entitySet - current entity set
212
222
  * @param {EntityType} entityType - current entity type
@@ -223,13 +233,14 @@ function setAnnotationPathFromEntitySetOrEntityType(schemaDefinition, entitySet,
223
233
  }
224
234
  }
225
235
  /**
226
- * Callback for adding a single action to headerActions of V4
227
- * @param {EntityType} entityType - current entity type
228
- * @param {Definition} appSchema - schema of the object page
229
- * @param {any} identification - UI.Identification annotation as present in AVT ConvertedMetadata
230
- * @param {Definition} headerActions - list of header actions, to be enhanced
231
- * @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
232
- * @param {SapUiAppPageV4} pageInManifest - current page in manifest
236
+ * Callback for adding a single action to headerActions of V4.
237
+ *
238
+ * @param entityType - current entity type
239
+ * @param appSchema - schema of the object page
240
+ * @param identification - UI.Identification annotation as present in AVT ConvertedMetadata
241
+ * @param headerActions - list of header actions, to be enhanced
242
+ * @param generateParameters - list of API input parameters
243
+ * @param pageInManifest - current page in manifest
233
244
  */
234
245
  function addHeaderActionCallBackV4(entityType, appSchema, identification, headerActions, generateParameters, pageInManifest) {
235
246
  //Build groups of action types
@@ -259,7 +270,8 @@ function addHeaderActionCallBackV4(entityType, appSchema, identification, header
259
270
  addRelatedAppsButton(headerActions);
260
271
  }
261
272
  /**
262
- * Callback for adding a single action to footerActions of V4
273
+ * Callback for adding a single action to footerActions of V4.
274
+ *
263
275
  * @param {EntityType} entityType - current entity type
264
276
  * @param {Definition} appSchema - schema of the object page
265
277
  * @param {Definition} footerActions - list of footer actions, to be enhanced
@@ -288,12 +300,13 @@ function addFooterActionCallBackV4(entityType, appSchema, footerActions, identif
288
300
  }
289
301
  }
290
302
  /**
291
- * Object Page specific enhancements to addCustomColumnDefinition
292
- * @param {object} appSchema - app schema of the object page
293
- * @param {SapUiAppPageV4} v4Page Current page in manifest
294
- * @param {string} lineItemId - identifier of the current table in schema
295
- * @param {string} facetIdInManifest - identifier of the current object page section in manifest
296
- * @param {ExtensionLogger} logger - logger for exceptions
303
+ * Object Page specific enhancements to addCustomColumnDefinition.
304
+ *
305
+ * @param appSchema - app schema of the object page
306
+ * @param v4Page Current page in manifest
307
+ * @param lineItemId - identifier of the current table in schema
308
+ * @param facetIdInManifest - identifier of the current object page section in manifest
309
+ * @param logger - logger for exceptions
297
310
  */
298
311
  function addCustomColumnsOP(appSchema, v4Page, lineItemId, facetIdInManifest, logger) {
299
312
  // Create type specific copy of 'TableCustomColumnOP'
@@ -321,12 +334,13 @@ function addCustomColumnsOP(appSchema, v4Page, lineItemId, facetIdInManifest, lo
321
334
  }
322
335
  }
323
336
  /**
324
- * Object Page specific enhancements to addCustomColumnDefinition
325
- * @param {object} appSchema - app schema of the object page
326
- * @param {SapUiAppPageV4} v4Page Current page in manifest
327
- * @param {string} lineItemId - identifier of the current table in schema
328
- * @param {string} facetIdInManifest - identifier of the current object page section in manifest
329
- * @param {ExtensionLogger} logger - logger for exceptions
337
+ * Object Page specific enhancements to addCustomColumnDefinition.
338
+ *
339
+ * @param appSchema - app schema of the object page
340
+ * @param v4Page Current page in manifest
341
+ * @param lineItemId - identifier of the current table in schema
342
+ * @param facetIdInManifest - identifier of the current object page section in manifest
343
+ * @param logger - logger for exceptions
330
344
  */
331
345
  function addTableCustomActionsOP(appSchema, v4Page, lineItemId, facetIdInManifest, logger) {
332
346
  // Create type specific copy of 'TableCustomActionOP'
@@ -353,11 +367,12 @@ function addTableCustomActionsOP(appSchema, v4Page, lineItemId, facetIdInManifes
353
367
  (0, utils_1.addEnumForActionAnchor)(appSchema, schemaIdForActions, positionId);
354
368
  }
355
369
  /**
356
- * Object Page specific custom action enhancements to header and footer
357
- * @param {object} appSchema - app schema of the object page
358
- * @param {SapUiAppPageV4} v4Page - current page in manifest
359
- * @param {DefinitionName} customActionDefinitionKey - custom action key used in definitions
360
- * @param {ExtensionLogger} logger - logger for exceptions
370
+ * Object Page specific custom action enhancements to header and footer.
371
+ *
372
+ * @param appSchema - app schema of the object page
373
+ * @param v4Page - current page in manifest
374
+ * @param customActionDefinitionKey - custom action key used in definitions
375
+ * @param logger - logger for exceptions
361
376
  */
362
377
  function addHeaderFooterCustomActionsOP(appSchema, v4Page, customActionDefinitionKey, logger) {
363
378
  const customActionDefinition = appSchema.definitions[customActionDefinitionKey];
@@ -384,14 +399,13 @@ function addHeaderFooterCustomActionsOP(appSchema, v4Page, customActionDefinitio
384
399
  * Adds a table definition to the application schema based on the provided configuration.
385
400
  * This method defines the properties and annotations required for the table in the schema.
386
401
  *
387
- * @param {AddTableDefinitionProps} params - The parameters for adding the table definition.
388
- * @param {string} params.tableType - The type of the table to be added. For example, AnalyticalTable or ResponsiveTable.
389
- * @param {string} params.facetKey - The key identifying the facet for which the table is being defined.
390
- * @param {FacetConfig} params.facet - The configuration object defining the properties of the facet.
391
- * @param {Definition} params.appSchema - The overall application schema where the table definition should be added.
392
- * @param {string} params.lineItemId - Optional ID for the line item, defaults to a generated schema facet key.
393
- * @param {FacetConfig} params.lineItemFacet - The current line item facet configuration.
394
- * @returns {void}
402
+ * @param params - The parameters for adding the table definition.
403
+ * @param params.tableType - The type of the table to be added. For example, AnalyticalTable or ResponsiveTable.
404
+ * @param params.facetKey - The key identifying the facet for which the table is being defined.
405
+ * @param params.facet - The configuration object defining the properties of the facet.
406
+ * @param params.appSchema - The overall application schema where the table definition should be added.
407
+ * @param params.lineItemId - Optional ID for the line item, defaults to a generated schema facet key.
408
+ * @param params.lineItemFacet - The current line item facet configuration.
395
409
  */
396
410
  function addTableDefinition({ tableType, facetKey, facet, appSchema, lineItemId, lineItemFacet }) {
397
411
  const index = facetKey.lastIndexOf('::');
@@ -408,12 +422,13 @@ function addTableDefinition({ tableType, facetKey, facet, appSchema, lineItemId,
408
422
  tableDefinition[ux_specification_types_1.SchemaTag.target] = lineItemFacet.namespace;
409
423
  }
410
424
  /**
411
- * Object Page specific enhancements to handleFormIdentification
412
- * @param {object} appSchema - app schema of the object page
413
- * @param {SapUiAppPageV4} v4Page - current page in manifest
414
- * @param {string} formItemId - identifier of the current form in schema
415
- * @param {string} facetIdInManifest - identifier of the current object page section in manifest
416
- * @param {ExtensionLogger} logger - logger for exceptions
425
+ * Object Page specific enhancements to handleFormIdentification.
426
+ *
427
+ * @param appSchema - app schema of the object page
428
+ * @param v4Page - current page in manifest
429
+ * @param formItemId - identifier of the current form in schema
430
+ * @param facetIdInManifest - identifier of the current object page section in manifest
431
+ * @param logger - logger for exceptions
417
432
  */
418
433
  function addFormCustomActionsOP(appSchema, v4Page, formItemId, facetIdInManifest, logger) {
419
434
  const customActionDefinitionKey = `${ux_specification_types_1.DefinitionName.CustomFormActionOP}<${formItemId}>`;
@@ -435,14 +450,15 @@ function addFormCustomActionsOP(appSchema, v4Page, formItemId, facetIdInManifest
435
450
  }
436
451
  }
437
452
  /**
438
- * Adds definitions for line items in object page sections to the app schema
439
- * @param {FacetConfig} facet - the given facet from the UI annotations
440
- * @param {string} facetKey - key of the facet, as used in annotation
441
- * @param {Definition} appSchema - app schema of the object page
442
- * @param {object} lineItemFacet - current lineItem facet
443
- * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
444
- * @param {SapUiAppPageV4} v4Page Current page in manifest
445
- * @param {ExtensionLogger} logger - logger for exceptions
453
+ * Adds definitions for line items in object page sections to the app schema.
454
+ *
455
+ * @param facet - the given facet from the UI annotations
456
+ * @param facetKey - key of the facet, as used in annotation
457
+ * @param appSchema - app schema of the object page
458
+ * @param lineItemFacet - current lineItem facet
459
+ * @param oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
460
+ * @param v4Page Current page in manifest
461
+ * @param logger - logger for exceptions
446
462
  */
447
463
  function handleLineItem(facet, facetKey, appSchema, lineItemFacet, oDataServiceAVT, v4Page, logger) {
448
464
  const lineItemId = (0, common_1.getFacetKeyInSchema)(facetKey);
@@ -481,15 +497,14 @@ function handleLineItem(facet, facetKey, appSchema, lineItemFacet, oDataServiceA
481
497
  /**
482
498
  * Handles the creation and modification of a section table within the application schema.
483
499
  *
484
- * @param {FacetConfig} facet - The facet configuration object containing details for the section.
485
- * @param {string} facetKey - The unique key for identifying the facet in the schema.
486
- * @param {Definition} appSchema - The overall application schema where the section table is defined.
487
- * @param {FacetConfig} lineItemFacet - The facet configuration specific to line item processing.
488
- * @param {GenerateAppSchemaParameters} generateParameters - Parameters required for generating the application schema.
489
- * @param {Object} v4Page - The OData V4 page object containing details about the target application page.
490
- * @param {Definition} [sections] - The sections definition object where the section table might be added as a reference.
491
- *
492
- * @return {Definition} The updated definition of the section table included or modified in the application schema.
500
+ * @param facet - The facet configuration object containing details for the section.
501
+ * @param facetKey - The unique key for identifying the facet in the schema.
502
+ * @param appSchema - The overall application schema where the section table is defined.
503
+ * @param lineItemFacet - The facet configuration specific to line item processing.
504
+ * @param generateParameters - Parameters required for generating the application schema.
505
+ * @param v4Page - The OData V4 page object containing details about the target application page.
506
+ * @param [sections] - The sections definition object where the section table might be added as a reference.
507
+ * @returns The updated definition of the section table included or modified in the application schema.
493
508
  */
494
509
  function handleSectionTable(facet, facetKey, appSchema, lineItemFacet, generateParameters, v4Page, sections) {
495
510
  if (sections) {
@@ -510,7 +525,8 @@ function handleSectionTable(facet, facetKey, appSchema, lineItemFacet, generateP
510
525
  return sectionTable;
511
526
  }
512
527
  /**
513
- * Adds definitions for Identification and Form facet items in object page sections to the app schema
528
+ * Adds definitions for Identification and Form facet items in object page sections to the app schema.
529
+ *
514
530
  * @param {FacetConfig} facet - current facet
515
531
  * @param {v4.SapUiAppPageV4} v4Page Current page in manifest
516
532
  * @param {string} facetKey - facet key
@@ -547,7 +563,8 @@ function handleFormIdentification(facet, v4Page, facetKey, sections, appSchema,
547
563
  }
548
564
  }
549
565
  /**
550
- * Adds definitions for header sections (DataPoint, Chart) in object page sections to the app schema
566
+ * Adds definitions for header sections (DataPoint, Chart) in object page sections to the app schema.
567
+ *
551
568
  * @param {FacetConfig} facet - current facet
552
569
  * @param {string} facetKey - facet key
553
570
  * @param {object} sections - schema of current sections definition
@@ -566,11 +583,13 @@ function handleHeaderFacet(facet, facetKey, sections, appSchema, facetDefinition
566
583
  sectionFacet[ux_specification_types_1.SchemaTag.isViewNode] = true;
567
584
  }
568
585
  /**
569
- * Adds definitions for Chart items in object page sections to the app schema
586
+ * Adds definitions for Chart items in object page sections to the app schema.
587
+ *
570
588
  * @param {FacetConfig | Chart | object} facet - current facet.
571
589
  * @param {string} facetKey - facet key.
572
590
  * @param {object} appSchema - app specific schema of the object page that gets enhanced.
573
591
  * @param {EntityType} entityType - current entity type
592
+ * @returns {Definition} - the new chart definition
574
593
  */
575
594
  function handleChartActions(facet, facetKey, appSchema, entityType) {
576
595
  const actions = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageToolBarActions, facetKey, appSchema);
@@ -599,11 +618,13 @@ function handleChartActions(facet, facetKey, appSchema, entityType) {
599
618
  return actions;
600
619
  }
601
620
  /**
602
- * Adds definitions for Chart items in object page sections to the app schema
603
- * @param {FacetConfig | Chart | object} facet - current facet.
604
- * @param {string} facetKey - facet key.
605
- * @param {object} appSchema - app specific schema of the object page that gets enhanced.
606
- * @param {EntityType} entityType - current entity type
621
+ * Adds definitions for Chart items in object page sections to the app schema.
622
+ *
623
+ * @param facet - current facet.
624
+ * @param facetKey - facet key.
625
+ * @param appSchema - app specific schema of the object page that gets enhanced.
626
+ * @param entityType - current entity type
627
+ * @returns - the new chart definition
607
628
  */
608
629
  function handleChart(facet, facetKey, appSchema, entityType) {
609
630
  const chart = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageChart, facetKey, appSchema);
@@ -620,13 +641,16 @@ function handleChart(facet, facetKey, appSchema, entityType) {
620
641
  return { chart, chartActions };
621
642
  }
622
643
  /**
623
- * Adds definitions for Chart section in object page sections to the app schema
644
+ * Adds definitions for Chart section in object page sections to the app schema.
645
+ *
624
646
  * @param {FacetConfig} facet - current facet.
625
647
  * @param {string} facetKey - facet key.
626
648
  * @param {object} appSchema - app specific schema of the object page that gets enhanced.
627
649
  * @param {object} sections - schema of current sections definition.
628
650
  * @param {EntityType} entityType - current entity type
629
651
  * @param {boolean} isPVHeaderFacet - whether the facet is a Presentation Variant header facet
652
+ * @param namespace - the namespace of the facet
653
+ * @returns - the new chart definition
630
654
  */
631
655
  function handleSectionChart(facet, facetKey, appSchema, sections, entityType = facet.entityType, isPVHeaderFacet = false, namespace) {
632
656
  const definition = isPVHeaderFacet
@@ -653,11 +677,12 @@ function handleSectionChart(facet, facetKey, appSchema, sections, entityType = f
653
677
  return { parentChartRef, chart, chartActions };
654
678
  }
655
679
  /**
656
- * Extracts the key and type of the visualization
657
- * @param {boolean} hasTarget - whether the facet has a target
658
- * @param {object} facetTarget - target of the facet
659
- * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
660
- * @returns {object} - key and type of the visualization
680
+ * Extracts the key and type of the visualization.
681
+ *
682
+ * @param hasTarget - whether the facet has a target
683
+ * @param facetTarget - target of the facet
684
+ * @param generateParameters - list of API input parameters
685
+ * @returns - key and type of the visualization
661
686
  */
662
687
  function getVisualizationKeyAndType(hasTarget, facetTarget, generateParameters) {
663
688
  const alias = hasTarget ? facetTarget.fullyQualifiedName : facetTarget.targetString;
@@ -668,21 +693,23 @@ function getVisualizationKeyAndType(hasTarget, facetTarget, generateParameters)
668
693
  return { key, type };
669
694
  }
670
695
  /**
671
- * Returns the target of the visualization
672
- * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
696
+ * Returns the target of the visualization.
697
+ *
698
+ * @param generateParameters - list of API input parameters
673
699
  * @param navigationPath - navigation path of the target
674
700
  * @param visualizationType - type of the visualization
675
- * @returns {EntityTypeAnnotationsBase_UI} - target of the visualization
701
+ * @returns - target of the visualization
676
702
  */
677
703
  function getTargetFromNavigation(generateParameters, navigationPath, visualizationType) {
678
704
  const navigationProp = generateParameters.entityType.navigationProperties.find((prop) => prop.name === navigationPath);
679
705
  return navigationProp.targetType?.annotations?.UI[visualizationType];
680
706
  }
681
707
  /**
682
- * Returns the properties of the visualization
683
- * @param {FacetConfig} facet - the given facet from the UI annotations
684
- * @param {string} facetKey - key of the facet, as used in annotation
685
- * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
708
+ * Returns the properties of the visualization.
709
+ *
710
+ * @param facet - the given facet from the UI annotations
711
+ * @param facetKey - key of the facet, as used in annotation
712
+ * @param generateParameters - list of API input parameters
686
713
  * @returns {VisualizationProps | undefined} - properties of the visualization
687
714
  */
688
715
  function getVisualizationProps(facet, facetKey, generateParameters) {
@@ -701,7 +728,8 @@ function getVisualizationProps(facet, facetKey, generateParameters) {
701
728
  return { key, type, target, namespace, navigationPath };
702
729
  }
703
730
  /**
704
- * Helper function to add property reference to the sections
731
+ * Helper function to add property reference to the sections.
732
+ *
705
733
  * @param {Definition} sections Definition to add property reference
706
734
  * @param {string} propertyName Property name to be added
707
735
  * @param {DefinitionName} definition - Key of the visualization
@@ -712,20 +740,28 @@ function addPropertyRef(sections, propertyName, definition, link) {
712
740
  $ref: (0, common_1.getFacetDefinitionLink)(definition, link || propertyName)
713
741
  };
714
742
  }
743
+ /**
744
+ * Generates the property and navigation keys for a section based on the facet key and visualization properties.
745
+ *
746
+ * @param facetKey - The key of the facet.
747
+ * @param props - The visualization properties containing key, type, target, namespace, and navigationPath.
748
+ * @returns An object containing the navigationKey and propertyKey for the section.
749
+ */
715
750
  function getSectionPropertyRef(facetKey, props) {
716
751
  const propertyKey = `${facetKey}<${props.key}>`;
717
752
  const navigationKey = props.navigationPath ? `${props.navigationPath}::${props.key}` : props.key;
718
753
  return { propertyKey, navigationKey };
719
754
  }
720
755
  /**
721
- * Adds LineItem definition of object page section to the app schema
722
- * @param {FacetConfig} facet - the given facet from the UI annotations
723
- * @param {string} facetKey - key of the facet, as used in annotation
724
- * @param {Definition} appSchema - app schema of the object page
725
- * @param {object} sections - schema of current sections definition.
726
- * @param {VisualizationProps} props - visualization properties
727
- * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
728
- * @param {SapUiAppPageV4} v4Page Current page in manifest
756
+ * Adds LineItem definition of object page section to the app schema.
757
+ *
758
+ * @param facet - the given facet from the UI annotations
759
+ * @param facetKey - key of the facet, as used in annotation
760
+ * @param appSchema - app schema of the object page
761
+ * @param sections - schema of current sections definition.
762
+ * @param props - visualization properties
763
+ * @param generateParameters - list of API input parameters
764
+ * @param v4Page Current page in manifest
729
765
  */
730
766
  function addPVLineItemSection(facet, facetKey, appSchema, sections, props, generateParameters, v4Page) {
731
767
  const { propertyKey, navigationKey } = getSectionPropertyRef(facetKey, props);
@@ -741,7 +777,8 @@ function addPVLineItemSection(facet, facetKey, appSchema, sections, props, gener
741
777
  delete sectionTable[ux_specification_types_1.SchemaTag.isViewNode];
742
778
  }
743
779
  /**
744
- * Adds Chart definition of object page (header) section to the app schema
780
+ * Adds Chart definition of object page (header) section to the app schema.
781
+ *
745
782
  * @param {FacetConfig} facet - the given facet from the UI annotations
746
783
  * @param {string} facetKey - key of the facet, as used in annotation
747
784
  * @param {Definition} appSchema - app schema of the object page
@@ -771,14 +808,15 @@ function addPVChartSection(facet, facetKey, appSchema, sections, props, isPVHead
771
808
  }
772
809
  }
773
810
  /**
774
- * Adds definitions for (selection) presentation variants in object page sections to the app schema
775
- * @param {FacetConfig} facet - the given facet from the UI annotations
776
- * @param {string} facetKey - key of the facet, as used in annotation
777
- * @param {Definition} appSchema - app schema of the object page
778
- * @param {object} sections - schema of current sections definition.
779
- * @param {SectionType} sectionPrefix - prefix to distinguish Section and HeaderSection
780
- * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
781
- * @param {SapUiAppPageV4} v4Page Current page in manifest
811
+ * Adds definitions for (selection) presentation variants in object page sections to the app schema.
812
+ *
813
+ * @param facet - the given facet from the UI annotations
814
+ * @param facetKey - key of the facet, as used in annotation
815
+ * @param appSchema - app schema of the object page
816
+ * @param sections - schema of current sections definition.
817
+ * @param sectionPrefix - prefix to distinguish Section and HeaderSection
818
+ * @param generateParameters - list of API input parameters
819
+ * @param v4Page Current page in manifest
782
820
  */
783
821
  function handleSectionPresentationVariant(facet, facetKey, appSchema, sections, sectionPrefix, generateParameters, v4Page) {
784
822
  if (!facet?.target) {
@@ -803,6 +841,7 @@ function handleSectionPresentationVariant(facet, facetKey, appSchema, sections,
803
841
  }
804
842
  /**
805
843
  * Method checks if passed facet contains any collection facet.
844
+ *
806
845
  * @param {FacetConfig} facet - facet to check
807
846
  * @returns {boolean} Passed facet contains at least one collection facet
808
847
  */
@@ -817,7 +856,8 @@ function containsCollectionFacet(facet) {
817
856
  return false;
818
857
  }
819
858
  /**
820
- * Object Page specific enhancements to addCustomColumnDefinition
859
+ * Object Page specific enhancements to addCustomColumnDefinition.
860
+ *
821
861
  * @param {object} appSchema - app schema of the object page
822
862
  * @param {string} id - identifier of the current section facet
823
863
  * @param {string[]} featureToggles - supported features
@@ -852,10 +892,11 @@ function createCustomSubSectionReference(appSchema, id, featureToggles) {
852
892
  }
853
893
  /**
854
894
  * Method applies custom action definitions to custom sections.
855
- * @param {Definition} appSchema - app schema of the object page
856
- * @param {SapUiAppPageV4} v4Page Current page in manifest
857
- * @param {DefinitionName} customSectionRef - reference to custom section definition
858
- * @param {ExtensionLogger} logger - logger for exceptions
895
+ *
896
+ * @param appSchema - app schema of the object page
897
+ * @param v4Page Current page in manifest
898
+ * @param customSectionRef - reference to custom section definition
899
+ * @param logger - logger for exceptions
859
900
  */
860
901
  function applyCustomActionsToCustomSections(appSchema, v4Page, customSectionRef, logger) {
861
902
  // add specific definitions for custom sections and custom actions from manifest
@@ -893,12 +934,14 @@ function applyCustomActionsToCustomSections(appSchema, v4Page, customSectionRef,
893
934
  }
894
935
  /**
895
936
  * Common method updates schema for custom sections or custom subsections.
896
- * @param {Definition} sections - sections definition
897
- * @param {Definition} appSchema - app schema of the object page
898
- * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
899
- * @param {SapUiAppPageV4} v4Page Current page in manifest
900
- * @param {FacetConfig} facet - the given facet from the UI annotations
901
- * @param {string} facetKey - key of the facet, as used in annotation
937
+ *
938
+ * @param sections - sections definition
939
+ * @param appSchema - app schema of the object page
940
+ * @param generateParameters - list of API input parameters
941
+ * @param v4Page Current page in manifest
942
+ * @param customSectionDefinitionName - The name of the custom section definition to be applied.
943
+ * @param facet - the given facet from the UI annotations
944
+ * @param facetKey - key of the facet, as used in annotation
902
945
  */
903
946
  function applyCustomSections(sections, appSchema, generateParameters, v4Page, customSectionDefinitionName, facet, facetKey) {
904
947
  let isMergedSections = false;
@@ -950,15 +993,16 @@ function applyCustomSections(sections, appSchema, generateParameters, v4Page, cu
950
993
  }
951
994
  }
952
995
  /**
953
- * Adds definitions for collections in object page sections to the app schema
954
- * @param {FacetConfig} facet - the given facet from the UI annotations
955
- * @param {string} facetKey - key of the facet, as used in annotation
956
- * @param {Definition} appSchema - app schema of the object page
957
- * @param {Definition} sections - schema of current sections definition.
958
- * @param {SectionType} sectionPrefix - prefix to distinguish Section and HeaderSection
959
- * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
960
- * @param {SapUiAppPageV4} v4Page Current page in manifest
961
- * @param {number} level Collection level in tree
996
+ * Adds definitions for collections in object page sections to the app schema.
997
+ *
998
+ * @param facet - the given facet from the UI annotations
999
+ * @param facetKey - key of the facet, as used in annotation
1000
+ * @param appSchema - app schema of the object page
1001
+ * @param sections - schema of current sections definition.
1002
+ * @param sectionPrefix - prefix to distinguish Section and HeaderSection
1003
+ * @param generateParameters - list of API input parameters
1004
+ * @param v4Page Current page in manifest
1005
+ * @param level Collection level in tree
962
1006
  */
963
1007
  function handleCollection(facet, facetKey, appSchema, sections, sectionPrefix, generateParameters, v4Page, level) {
964
1008
  const isCustomSubSectionsSupported = level === 0;
@@ -992,14 +1036,15 @@ function handleCollection(facet, facetKey, appSchema, sections, sectionPrefix, g
992
1036
  }
993
1037
  /**
994
1038
  * Creates a section definition in app schema.
995
- * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
996
- * @param {FacetConfigs} facets - list of all facets
997
- * @param {string} facetKey - facet key
998
- * @param {object} sections - schema of current sections definition
999
- * @param {object} appSchema - app specific schema of the object page that gets enhanced.
1000
- * @param {SectionType} sectionPrefix - prefix to distinguish Section and HeaderSection
1001
- * @param {SapUiAppPageV4} v4Page Current page in manifest
1002
- * @param {number} [level=0] Section level in tree
1039
+ *
1040
+ * @param generateParameters - list of API input parameters
1041
+ * @param facets - list of all facets
1042
+ * @param facetKey - facet key
1043
+ * @param sections - schema of current sections definition
1044
+ * @param appSchema - app specific schema of the object page that gets enhanced.
1045
+ * @param sectionPrefix - prefix to distinguish Section and HeaderSection
1046
+ * @param v4Page Current page in manifest
1047
+ * @param [level] Section level in tree
1003
1048
  */
1004
1049
  function addSection(generateParameters, facets, facetKey, sections, appSchema, sectionPrefix, v4Page, level = 0) {
1005
1050
  const facet = facets[facetKey];
@@ -1050,10 +1095,11 @@ function addSection(generateParameters, facets, facetKey, sections, appSchema, s
1050
1095
  }
1051
1096
  }
1052
1097
  /**
1053
- * Derives the sections from the UI.Facets annotation and adds them to the schema
1054
- * @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
1055
- * @param {object} appSchema - application specific JSON schema of the object page
1056
- * @param {SapUiAppPageV4} v4Page - current page
1098
+ * Derives the sections from the UI.Facets annotation and adds them to the schema.
1099
+ *
1100
+ * @param generateParameters - list of API input parameters
1101
+ * @param appSchema - application specific JSON schema of the object page
1102
+ * @param v4Page - current page
1057
1103
  */
1058
1104
  function addSections(generateParameters, appSchema, v4Page) {
1059
1105
  // Get facet annotations
@@ -1070,11 +1116,12 @@ function addSections(generateParameters, appSchema, v4Page) {
1070
1116
  applyCustomSections(sections, appSchema, generateParameters, v4Page, ux_specification_types_1.DefinitionName.ObjectPageCustomSectionFragment);
1071
1117
  }
1072
1118
  /**
1073
- * Derives the header sections from the UI.HeaderFacets annotation and adds them to the schema
1074
- * @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
1075
- * @param {object} appSchema - application specific JSON schema of the object page
1076
- * @param {EntityType} entityType - current entity type
1077
- * @param {SapUiAppPageV4} v4Page - current page in manifest
1119
+ * Derives the header sections from the UI.HeaderFacets annotation and adds them to the schema.
1120
+ *
1121
+ * @param generateParameters - list of API input parameters
1122
+ * @param appSchema - application specific JSON schema of the object page
1123
+ * @param entityType - current entity type
1124
+ * @param v4Page - current page in manifest
1078
1125
  */
1079
1126
  function addHeaderSections(generateParameters, appSchema, entityType, v4Page) {
1080
1127
  // Get facet annotations
@@ -1099,10 +1146,11 @@ function addHeaderSections(generateParameters, appSchema, entityType, v4Page) {
1099
1146
  delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageHeaderSectionAddress];
1100
1147
  }
1101
1148
  /**
1102
- * Add Object Page Header to app-specific schema
1103
- * @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
1104
- * @param {Definition} appSchema Schema of the object page
1105
- * @param {SapUiAppPageV4} v4Page - current page in manifest
1149
+ * Add Object Page Header to app-specific schema.
1150
+ *
1151
+ * @param generateParameters - list of API input parameters
1152
+ * @param appSchema Schema of the object page
1153
+ * @param v4Page - current page in manifest
1106
1154
  */
1107
1155
  function addHeader(generateParameters, appSchema, v4Page) {
1108
1156
  const entityType = generateParameters.entityType;
@@ -1119,11 +1167,11 @@ function addHeader(generateParameters, appSchema, v4Page) {
1119
1167
  /**
1120
1168
  * Generates an app specific schema out of the generic schema.
1121
1169
  * Generic types are replaced by information from the app specific annotations.
1170
+ *
1122
1171
  * @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
1123
1172
  * @param {object} genericSchema - generic JSON schema of an object page
1124
1173
  * @param {string} contextPath - contextPath of the given page
1125
1174
  * @param {object} genericMacrosSchema - generic JSON schema of custom page
1126
- *
1127
1175
  * @returns the app specific JSON schema
1128
1176
  */
1129
1177
  function generateObjectPageSchemaV4(generateParameters, genericSchema, contextPath, genericMacrosSchema) {