@sap/ux-specification 1.120.8 → 1.120.10

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 (1235) hide show
  1. package/CHANGELOG.md +71 -33
  2. package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
  3. package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
  4. package/dist/documentation/v2/v2-ListReport.html +2 -2
  5. package/dist/documentation/v2/v2-ObjectPage.html +2 -2
  6. package/dist/documentation/v2/v2-OverviewPage.html +2 -2
  7. package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
  8. package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
  9. package/dist/documentation/v4/v4-FreestylePage.html +2 -2
  10. package/dist/documentation/v4/v4-ListReport.html +2 -2
  11. package/dist/documentation/v4/v4-ObjectPage.html +2 -2
  12. package/dist/index-min.js +115 -115
  13. package/dist/index-min.js.map +4 -4
  14. package/dist/schemas/v2/ObjectPageConfig.json +75 -40
  15. package/dist/schemas/v4/BuildingBlocksConfig.json +6 -8
  16. package/dist/schemas/v4/ListReportConfig.json +115 -52
  17. package/dist/schemas/v4/ObjectPageConfig.json +42 -21
  18. package/dist/specification/package.json +113 -0
  19. package/dist/specification/scripts/distTagWriter.d.ts +2 -0
  20. package/dist/specification/scripts/distTagWriter.d.ts.map +1 -0
  21. package/dist/specification/scripts/distTagWriter.js +43 -0
  22. package/dist/specification/scripts/distTagWriter.js.map +1 -0
  23. package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts +10 -0
  24. package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts.map +1 -0
  25. package/dist/specification/scripts/documentation/components/TreeDiagram.js +50 -0
  26. package/dist/specification/scripts/documentation/components/TreeDiagram.js.map +1 -0
  27. package/dist/specification/scripts/documentation/components/filter.d.ts +5 -0
  28. package/dist/specification/scripts/documentation/components/filter.d.ts.map +1 -0
  29. package/dist/specification/scripts/documentation/components/filter.js +49 -0
  30. package/dist/specification/scripts/documentation/components/filter.js.map +1 -0
  31. package/dist/specification/scripts/documentation/components/types.d.ts +31 -0
  32. package/dist/specification/scripts/documentation/components/types.d.ts.map +1 -0
  33. package/dist/specification/scripts/documentation/components/types.js +5 -0
  34. package/dist/specification/scripts/documentation/components/types.js.map +1 -0
  35. package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts +41 -0
  36. package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts.map +1 -0
  37. package/dist/specification/scripts/documentation/components/ui/TreeUI.js +482 -0
  38. package/dist/specification/scripts/documentation/components/ui/TreeUI.js.map +1 -0
  39. package/dist/specification/scripts/documentation/components/ui/icons.d.ts +2 -0
  40. package/dist/specification/scripts/documentation/components/ui/icons.d.ts.map +1 -0
  41. package/dist/specification/scripts/documentation/components/ui/icons.js +15 -0
  42. package/dist/specification/scripts/documentation/components/ui/icons.js.map +1 -0
  43. package/dist/specification/scripts/documentation/components/ui/index.d.ts +2 -0
  44. package/dist/specification/scripts/documentation/components/ui/index.d.ts.map +1 -0
  45. package/dist/specification/scripts/documentation/components/ui/index.js +6 -0
  46. package/dist/specification/scripts/documentation/components/ui/index.js.map +1 -0
  47. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts +7 -0
  48. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts.map +1 -0
  49. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js +105 -0
  50. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js.map +1 -0
  51. package/dist/specification/scripts/documentation/components/ui/search.d.ts +5 -0
  52. package/dist/specification/scripts/documentation/components/ui/search.d.ts.map +1 -0
  53. package/dist/specification/scripts/documentation/components/ui/search.js +108 -0
  54. package/dist/specification/scripts/documentation/components/ui/search.js.map +1 -0
  55. package/dist/specification/scripts/documentation/components/ui/toggle.d.ts +7 -0
  56. package/dist/specification/scripts/documentation/components/ui/toggle.d.ts.map +1 -0
  57. package/dist/specification/scripts/documentation/components/ui/toggle.js +43 -0
  58. package/dist/specification/scripts/documentation/components/ui/toggle.js.map +1 -0
  59. package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts +7 -0
  60. package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts.map +1 -0
  61. package/dist/specification/scripts/documentation/components/ui/tooltip.js +93 -0
  62. package/dist/specification/scripts/documentation/components/ui/tooltip.js.map +1 -0
  63. package/dist/specification/scripts/documentation/components/ui/utils.d.ts +9 -0
  64. package/dist/specification/scripts/documentation/components/ui/utils.d.ts.map +1 -0
  65. package/dist/specification/scripts/documentation/components/ui/utils.js +73 -0
  66. package/dist/specification/scripts/documentation/components/ui/utils.js.map +1 -0
  67. package/dist/specification/scripts/documentation/runDocu.d.ts +7 -0
  68. package/dist/specification/scripts/documentation/runDocu.d.ts.map +1 -0
  69. package/dist/specification/scripts/documentation/runDocu.js +8 -0
  70. package/dist/specification/scripts/documentation/runDocu.js.map +1 -0
  71. package/dist/specification/scripts/extractDocu.d.ts +2 -0
  72. package/dist/specification/scripts/extractDocu.d.ts.map +1 -0
  73. package/dist/specification/scripts/extractDocu.js +522 -0
  74. package/dist/specification/scripts/extractDocu.js.map +1 -0
  75. package/dist/specification/scripts/macros/api.d.ts +15 -0
  76. package/dist/specification/scripts/macros/api.d.ts.map +1 -0
  77. package/dist/specification/scripts/macros/api.js +188 -0
  78. package/dist/specification/scripts/macros/api.js.map +1 -0
  79. package/dist/specification/scripts/macros/cmd.d.ts +7 -0
  80. package/dist/specification/scripts/macros/cmd.d.ts.map +1 -0
  81. package/dist/specification/scripts/macros/cmd.js +49 -0
  82. package/dist/specification/scripts/macros/cmd.js.map +1 -0
  83. package/dist/specification/scripts/macros/corrections.d.ts +19 -0
  84. package/dist/specification/scripts/macros/corrections.d.ts.map +1 -0
  85. package/dist/specification/scripts/macros/corrections.js +242 -0
  86. package/dist/specification/scripts/macros/corrections.js.map +1 -0
  87. package/dist/specification/scripts/macros/index.d.ts +2 -0
  88. package/dist/specification/scripts/macros/index.d.ts.map +1 -0
  89. package/dist/specification/scripts/macros/index.js +8 -0
  90. package/dist/specification/scripts/macros/index.js.map +1 -0
  91. package/dist/specification/scripts/macros/schema.d.ts +9 -0
  92. package/dist/specification/scripts/macros/schema.d.ts.map +1 -0
  93. package/dist/specification/scripts/macros/schema.js +256 -0
  94. package/dist/specification/scripts/macros/schema.js.map +1 -0
  95. package/dist/specification/scripts/macros/types.d.ts +87 -0
  96. package/dist/specification/scripts/macros/types.d.ts.map +1 -0
  97. package/dist/specification/scripts/macros/types.js +14 -0
  98. package/dist/specification/scripts/macros/types.js.map +1 -0
  99. package/dist/specification/scripts/spec.d.ts +2 -0
  100. package/dist/specification/scripts/spec.d.ts.map +1 -0
  101. package/dist/specification/scripts/spec.js +113 -0
  102. package/dist/specification/scripts/spec.js.map +1 -0
  103. package/dist/specification/scripts/to-json-schema.d.ts +11 -0
  104. package/dist/specification/scripts/to-json-schema.d.ts.map +1 -0
  105. package/dist/specification/scripts/to-json-schema.js +160 -0
  106. package/dist/specification/scripts/to-json-schema.js.map +1 -0
  107. package/dist/specification/src/api.d.ts.map +1 -0
  108. package/dist/specification/src/api.js +264 -0
  109. package/dist/specification/src/api.js.map +1 -0
  110. package/dist/specification/src/extensionLogger.d.ts.map +1 -0
  111. package/dist/specification/src/extensionLogger.js.map +1 -0
  112. package/dist/specification/src/i18n/i18n.d.ts.map +1 -0
  113. package/dist/specification/src/i18n/i18n.js.map +1 -0
  114. package/dist/specification/src/index.d.ts.map +1 -0
  115. package/dist/specification/src/index.js.map +1 -0
  116. package/dist/specification/src/project.d.ts.map +1 -0
  117. package/dist/specification/src/project.js.map +1 -0
  118. package/dist/specification/src/specification/schemaAccess.d.ts.map +1 -0
  119. package/dist/specification/src/specification/schemaAccess.js.map +1 -0
  120. package/dist/specification/src/sync/common/appProvider.d.ts.map +1 -0
  121. package/dist/specification/src/sync/common/appProvider.js.map +1 -0
  122. package/dist/specification/src/sync/common/decoration/control.d.ts.map +1 -0
  123. package/dist/specification/src/sync/common/decoration/control.js.map +1 -0
  124. package/dist/specification/src/sync/common/decoration/decorators.d.ts +16 -0
  125. package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -0
  126. package/dist/specification/src/sync/common/decoration/decorators.js +64 -0
  127. package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -0
  128. package/dist/specification/src/sync/common/decoration/factory.d.ts.map +1 -0
  129. package/dist/specification/src/sync/common/decoration/factory.js.map +1 -0
  130. package/dist/specification/src/sync/common/decoration/flex.d.ts.map +1 -0
  131. package/dist/specification/src/sync/common/decoration/flex.js.map +1 -0
  132. package/dist/specification/src/sync/common/decoration/index.d.ts.map +1 -0
  133. package/dist/specification/src/sync/common/decoration/index.js.map +1 -0
  134. package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -0
  135. package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -0
  136. package/dist/specification/src/sync/common/flexUtils.d.ts.map +1 -0
  137. package/dist/specification/src/sync/common/flexUtils.js.map +1 -0
  138. package/dist/specification/src/sync/common/generate/index.d.ts.map +1 -0
  139. package/dist/specification/src/sync/common/generate/index.js.map +1 -0
  140. package/dist/specification/src/sync/common/generate/objectPage.d.ts.map +1 -0
  141. package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -0
  142. package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -0
  143. package/dist/specification/src/sync/common/generate/utils.js.map +1 -0
  144. package/dist/specification/src/sync/common/i18n.json +38 -0
  145. package/dist/specification/src/sync/common/import/utils.d.ts.map +1 -0
  146. package/dist/specification/src/sync/common/import/utils.js.map +1 -0
  147. package/dist/specification/src/sync/common/importProject.d.ts.map +1 -0
  148. package/dist/specification/src/sync/common/importProject.js.map +1 -0
  149. package/dist/specification/src/sync/common/index.d.ts.map +1 -0
  150. package/dist/specification/src/sync/common/index.js.map +1 -0
  151. package/dist/specification/src/sync/common/utils.d.ts.map +1 -0
  152. package/dist/specification/src/sync/common/utils.js +1551 -0
  153. package/dist/specification/src/sync/common/utils.js.map +1 -0
  154. package/dist/specification/src/sync/i18n.d.ts.map +1 -0
  155. package/dist/specification/src/sync/i18n.js.map +1 -0
  156. package/dist/specification/src/sync/v2/application.d.ts.map +1 -0
  157. package/dist/specification/src/sync/v2/application.js +211 -0
  158. package/dist/specification/src/sync/v2/application.js.map +1 -0
  159. package/dist/specification/src/sync/v2/export/controls/Action.d.ts.map +1 -0
  160. package/dist/specification/src/sync/v2/export/controls/Action.js.map +1 -0
  161. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +1 -0
  162. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +1 -0
  163. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +1 -0
  164. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +1 -0
  165. package/dist/specification/src/sync/v2/export/controls/Card.d.ts.map +1 -0
  166. package/dist/specification/src/sync/v2/export/controls/Card.js.map +1 -0
  167. package/dist/specification/src/sync/v2/export/controls/Field.d.ts.map +1 -0
  168. package/dist/specification/src/sync/v2/export/controls/Field.js.map +1 -0
  169. package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts.map +1 -0
  170. package/dist/specification/src/sync/v2/export/controls/FilterBar.js.map +1 -0
  171. package/dist/specification/src/sync/v2/export/controls/FormAction.d.ts.map +1 -0
  172. package/dist/specification/src/sync/v2/export/controls/FormAction.js.map +1 -0
  173. package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts.map +1 -0
  174. package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -0
  175. package/dist/specification/src/sync/v2/export/controls/ObjectPageChart.d.ts.map +1 -0
  176. package/dist/specification/src/sync/v2/export/controls/ObjectPageChart.js.map +1 -0
  177. package/dist/specification/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
  178. package/dist/specification/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +1 -0
  179. package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +1 -0
  180. package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -0
  181. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.d.ts.map +1 -0
  182. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.js +73 -0
  183. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.js.map +1 -0
  184. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +1 -0
  185. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -0
  186. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  187. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +1 -0
  188. package/dist/specification/src/sync/v2/export/controls/ObjectPageLayout.d.ts.map +1 -0
  189. package/dist/specification/src/sync/v2/export/controls/ObjectPageLayout.js.map +1 -0
  190. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts +41 -0
  191. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts.map +1 -0
  192. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js +192 -0
  193. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js.map +1 -0
  194. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts +62 -0
  195. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +1 -0
  196. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js +430 -0
  197. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -0
  198. package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
  199. package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +1 -0
  200. package/dist/specification/src/sync/v2/export/controls/Table.d.ts.map +1 -0
  201. package/dist/specification/src/sync/v2/export/controls/Table.js.map +1 -0
  202. package/dist/specification/src/sync/v2/export/controls/TableColumn.d.ts.map +1 -0
  203. package/dist/specification/src/sync/v2/export/controls/TableColumn.js.map +1 -0
  204. package/dist/specification/src/sync/v2/export/controls/ToolBar.d.ts.map +1 -0
  205. package/dist/specification/src/sync/v2/export/controls/ToolBar.js.map +1 -0
  206. package/dist/specification/src/sync/v2/export/controls/index.d.ts +22 -0
  207. package/dist/specification/src/sync/v2/export/controls/index.d.ts.map +1 -0
  208. package/dist/specification/src/sync/v2/export/controls/index.js +38 -0
  209. package/dist/specification/src/sync/v2/export/controls/index.js.map +1 -0
  210. package/dist/specification/src/sync/v2/export/export.d.ts.map +1 -0
  211. package/dist/specification/src/sync/v2/export/export.js.map +1 -0
  212. package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -0
  213. package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -0
  214. package/dist/specification/src/sync/v2/export/factory.d.ts.map +1 -0
  215. package/dist/specification/src/sync/v2/export/factory.js.map +1 -0
  216. package/dist/specification/src/sync/v2/export/manifest.d.ts.map +1 -0
  217. package/dist/specification/src/sync/v2/export/manifest.js.map +1 -0
  218. package/dist/specification/src/sync/v2/export/pages/AnalyticalListPage.d.ts.map +1 -0
  219. package/dist/specification/src/sync/v2/export/pages/AnalyticalListPage.js.map +1 -0
  220. package/dist/specification/src/sync/v2/export/pages/ListReport.d.ts.map +1 -0
  221. package/dist/specification/src/sync/v2/export/pages/ListReport.js.map +1 -0
  222. package/dist/specification/src/sync/v2/export/pages/ObjectPage.d.ts.map +1 -0
  223. package/dist/specification/src/sync/v2/export/pages/ObjectPage.js.map +1 -0
  224. package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts.map +1 -0
  225. package/dist/specification/src/sync/v2/export/pages/OverviewPage.js.map +1 -0
  226. package/dist/specification/src/sync/v2/export/pages/index.d.ts.map +1 -0
  227. package/dist/specification/src/sync/v2/export/pages/index.js.map +1 -0
  228. package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts +67 -0
  229. package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts.map +1 -0
  230. package/dist/specification/src/sync/v2/export/view-controller-generator.js +150 -0
  231. package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -0
  232. package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -0
  233. package/dist/specification/src/sync/v2/generate/analyticalListReport.js +193 -0
  234. package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -0
  235. package/dist/specification/src/sync/v2/generate/generate.d.ts.map +1 -0
  236. package/dist/specification/src/sync/v2/generate/generate.js.map +1 -0
  237. package/dist/specification/src/sync/v2/generate/index.d.ts.map +1 -0
  238. package/dist/specification/src/sync/v2/generate/index.js.map +1 -0
  239. package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -0
  240. package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -0
  241. package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -0
  242. package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -0
  243. package/dist/specification/src/sync/v2/generate/overviewPage.d.ts.map +1 -0
  244. package/dist/specification/src/sync/v2/generate/overviewPage.js.map +1 -0
  245. package/dist/specification/src/sync/v2/generate/utils.d.ts.map +1 -0
  246. package/dist/specification/src/sync/v2/generate/utils.js +659 -0
  247. package/dist/specification/src/sync/v2/generate/utils.js.map +1 -0
  248. package/dist/specification/src/sync/v2/import/app/appProvider.d.ts.map +1 -0
  249. package/dist/specification/src/sync/v2/import/app/appProvider.js.map +1 -0
  250. package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts.map +1 -0
  251. package/dist/specification/src/sync/v2/import/app/ovpProvider.js.map +1 -0
  252. package/dist/specification/src/sync/v2/import/common/index.d.ts.map +1 -0
  253. package/dist/specification/src/sync/v2/import/common/index.js.map +1 -0
  254. package/dist/specification/src/sync/v2/import/controls/table.d.ts.map +1 -0
  255. package/dist/specification/src/sync/v2/import/controls/table.js.map +1 -0
  256. package/dist/specification/src/sync/v2/import/getPageType.d.ts.map +1 -0
  257. package/dist/specification/src/sync/v2/import/getPageType.js.map +1 -0
  258. package/dist/specification/src/sync/v2/import/index.d.ts.map +1 -0
  259. package/dist/specification/src/sync/v2/import/index.js.map +1 -0
  260. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -0
  261. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js.map +1 -0
  262. package/dist/specification/src/sync/v2/import/pages/listReport.d.ts.map +1 -0
  263. package/dist/specification/src/sync/v2/import/pages/listReport.js.map +1 -0
  264. package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts.map +1 -0
  265. package/dist/specification/src/sync/v2/import/pages/objectPage.js.map +1 -0
  266. package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts.map +1 -0
  267. package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -0
  268. package/dist/specification/src/sync/v2/import/utils.d.ts.map +1 -0
  269. package/dist/specification/src/sync/v2/import/utils.js.map +1 -0
  270. package/dist/specification/src/sync/v2/types.d.ts +85 -0
  271. package/dist/specification/src/sync/v2/types.d.ts.map +1 -0
  272. package/dist/specification/src/sync/v2/types.js +56 -0
  273. package/dist/specification/src/sync/v2/types.js.map +1 -0
  274. package/dist/specification/src/sync/v4/application.d.ts.map +1 -0
  275. package/dist/specification/src/sync/v4/application.js +232 -0
  276. package/dist/specification/src/sync/v4/application.js.map +1 -0
  277. package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -0
  278. package/dist/specification/src/sync/v4/export/controls/FilterBar.js +159 -0
  279. package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -0
  280. package/dist/specification/src/sync/v4/export/controls/Header.d.ts.map +1 -0
  281. package/dist/specification/src/sync/v4/export/controls/Header.js.map +1 -0
  282. package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts.map +1 -0
  283. package/dist/specification/src/sync/v4/export/controls/HeaderAction.js.map +1 -0
  284. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts.map +1 -0
  285. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.js.map +1 -0
  286. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
  287. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +1 -0
  288. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.d.ts.map +1 -0
  289. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.js.map +1 -0
  290. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.d.ts.map +1 -0
  291. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.js +125 -0
  292. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.js.map +1 -0
  293. package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.d.ts.map +1 -0
  294. package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js +49 -0
  295. package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js.map +1 -0
  296. package/dist/specification/src/sync/v4/export/controls/ObjectPageFormAction.d.ts.map +1 -0
  297. package/dist/specification/src/sync/v4/export/controls/ObjectPageFormAction.js.map +1 -0
  298. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +1 -0
  299. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.js.map +1 -0
  300. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts.map +1 -0
  301. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js +106 -0
  302. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js.map +1 -0
  303. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  304. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.js +67 -0
  305. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +1 -0
  306. package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.d.ts.map +1 -0
  307. package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.js +26 -0
  308. package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.js.map +1 -0
  309. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts +32 -0
  310. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +1 -0
  311. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js +272 -0
  312. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -0
  313. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +26 -0
  314. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -0
  315. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js +165 -0
  316. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -0
  317. package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
  318. package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +1 -0
  319. package/dist/specification/src/sync/v4/export/controls/Table.d.ts +161 -0
  320. package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -0
  321. package/dist/specification/src/sync/v4/export/controls/Table.js +763 -0
  322. package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -0
  323. package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts +66 -0
  324. package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -0
  325. package/dist/specification/src/sync/v4/export/controls/TableColumn.js +338 -0
  326. package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -0
  327. package/dist/specification/src/sync/v4/export/controls/ToolBar.d.ts.map +1 -0
  328. package/dist/specification/src/sync/v4/export/controls/ToolBar.js.map +1 -0
  329. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +44 -0
  330. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -0
  331. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +247 -0
  332. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -0
  333. package/dist/specification/src/sync/v4/export/controls/index.d.ts +21 -0
  334. package/dist/specification/src/sync/v4/export/controls/index.d.ts.map +1 -0
  335. package/dist/specification/src/sync/v4/export/controls/index.js +37 -0
  336. package/dist/specification/src/sync/v4/export/controls/index.js.map +1 -0
  337. package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -0
  338. package/dist/specification/src/sync/v4/export/export.js +1036 -0
  339. package/dist/specification/src/sync/v4/export/export.js.map +1 -0
  340. package/dist/specification/src/sync/v4/export/exportCustomColumn.d.ts.map +1 -0
  341. package/dist/specification/src/sync/v4/export/exportCustomColumn.js.map +1 -0
  342. package/dist/specification/src/sync/v4/export/factory.d.ts.map +1 -0
  343. package/dist/specification/src/sync/v4/export/factory.js +61 -0
  344. package/dist/specification/src/sync/v4/export/factory.js.map +1 -0
  345. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts.map +1 -0
  346. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js.map +1 -0
  347. package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -0
  348. package/dist/specification/src/sync/v4/export/fpmCustomPage.js +175 -0
  349. package/dist/specification/src/sync/v4/export/fpmCustomPage.js.map +1 -0
  350. package/dist/specification/src/sync/v4/export/manifest.d.ts.map +1 -0
  351. package/dist/specification/src/sync/v4/export/manifest.js.map +1 -0
  352. package/dist/specification/src/sync/v4/export/pages/FreestylePage.d.ts.map +1 -0
  353. package/dist/specification/src/sync/v4/export/pages/FreestylePage.js.map +1 -0
  354. package/dist/specification/src/sync/v4/export/pages/ListReport.d.ts.map +1 -0
  355. package/dist/specification/src/sync/v4/export/pages/ListReport.js +86 -0
  356. package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -0
  357. package/dist/specification/src/sync/v4/export/pages/ObjectPage.d.ts.map +1 -0
  358. package/dist/specification/src/sync/v4/export/pages/ObjectPage.js +42 -0
  359. package/dist/specification/src/sync/v4/export/pages/ObjectPage.js.map +1 -0
  360. package/dist/specification/src/sync/v4/export/pages/index.d.ts.map +1 -0
  361. package/dist/specification/src/sync/v4/export/pages/index.js.map +1 -0
  362. package/dist/specification/src/sync/v4/export/types.d.ts.map +1 -0
  363. package/dist/specification/src/sync/v4/export/types.js.map +1 -0
  364. package/dist/specification/src/sync/v4/export/utils.d.ts.map +1 -0
  365. package/dist/specification/src/sync/v4/export/utils.js.map +1 -0
  366. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +1 -0
  367. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -0
  368. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +1 -0
  369. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js.map +1 -0
  370. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +1 -0
  371. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js.map +1 -0
  372. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts.map +1 -0
  373. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.js.map +1 -0
  374. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +1 -0
  375. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js.map +1 -0
  376. package/dist/specification/src/sync/v4/generate/freestylePage.d.ts.map +1 -0
  377. package/dist/specification/src/sync/v4/generate/freestylePage.js.map +1 -0
  378. package/dist/specification/src/sync/v4/generate/generate.d.ts.map +1 -0
  379. package/dist/specification/src/sync/v4/generate/generate.js.map +1 -0
  380. package/dist/specification/src/sync/v4/generate/index.d.ts.map +1 -0
  381. package/dist/specification/src/sync/v4/generate/index.js.map +1 -0
  382. package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -0
  383. package/dist/specification/src/sync/v4/generate/listReport.js +895 -0
  384. package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -0
  385. package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -0
  386. package/dist/specification/src/sync/v4/generate/objectPage.js +1075 -0
  387. package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -0
  388. package/dist/specification/src/sync/v4/import/app/appProvider.d.ts.map +1 -0
  389. package/dist/specification/src/sync/v4/import/app/appProvider.js.map +1 -0
  390. package/dist/specification/src/sync/v4/import/app/index.d.ts.map +1 -0
  391. package/dist/specification/src/sync/v4/import/app/index.js.map +1 -0
  392. package/dist/specification/src/sync/v4/import/fragment.d.ts.map +1 -0
  393. package/dist/specification/src/sync/v4/import/fragment.js.map +1 -0
  394. package/dist/specification/src/sync/v4/import/index.d.ts.map +1 -0
  395. package/dist/specification/src/sync/v4/import/index.js.map +1 -0
  396. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +1 -0
  397. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js.map +1 -0
  398. package/dist/specification/src/sync/v4/import/pages/listReport.d.ts.map +1 -0
  399. package/dist/specification/src/sync/v4/import/pages/listReport.js.map +1 -0
  400. package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts.map +1 -0
  401. package/dist/specification/src/sync/v4/import/pages/objectPage.js +457 -0
  402. package/dist/specification/src/sync/v4/import/pages/objectPage.js.map +1 -0
  403. package/dist/specification/src/sync/v4/import/utils.d.ts.map +1 -0
  404. package/dist/specification/src/sync/v4/import/utils.js.map +1 -0
  405. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.d.ts.map +1 -0
  406. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js.map +1 -0
  407. package/dist/specification/src/sync/v4/types.d.ts.map +1 -0
  408. package/dist/specification/src/sync/v4/types.js.map +1 -0
  409. package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts.map +1 -0
  410. package/dist/specification/src/sync/v4/utils/StableIdHelper.js.map +1 -0
  411. package/dist/specification/src/sync/v4/utils/macros.d.ts.map +1 -0
  412. package/dist/specification/src/sync/v4/utils/macros.js.map +1 -0
  413. package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -0
  414. package/dist/specification/src/sync/v4/utils/utils.js +889 -0
  415. package/dist/specification/src/sync/v4/utils/utils.js.map +1 -0
  416. package/dist/templates/AnalyticalTableColumnsExtension.xml +9 -9
  417. package/dist/templates/GridTableColumnsExtension.xml +9 -9
  418. package/dist/templates/ResponsiveTableColumnsExtension.xml +6 -6
  419. package/dist/templates/TreeTableColumnsExtension.xml +9 -9
  420. package/dist/types/src/apiTypes.d.ts +490 -0
  421. package/dist/types/src/apiTypes.d.ts.map +1 -0
  422. package/dist/types/src/apiTypes.js +44 -0
  423. package/dist/types/src/apiTypes.js.map +1 -0
  424. package/dist/types/src/common/Application.d.ts +61 -0
  425. package/dist/types/src/common/Application.d.ts.map +1 -0
  426. package/dist/types/src/common/Application.js +25 -0
  427. package/dist/types/src/common/Application.js.map +1 -0
  428. package/dist/types/src/common/color.d.ts +91 -0
  429. package/dist/types/src/common/color.d.ts.map +1 -0
  430. package/dist/types/src/common/color.js +99 -0
  431. package/dist/types/src/common/color.js.map +1 -0
  432. package/dist/types/src/common/index.d.ts +6 -0
  433. package/dist/types/src/common/index.d.ts.map +1 -0
  434. package/dist/types/src/common/index.js +22 -0
  435. package/dist/types/src/common/index.js.map +1 -0
  436. package/dist/types/src/common/page.d.ts +81 -0
  437. package/dist/types/src/common/page.d.ts.map +1 -0
  438. package/dist/types/src/common/page.js +36 -0
  439. package/dist/types/src/common/page.js.map +1 -0
  440. package/dist/types/src/common/types.d.ts +499 -0
  441. package/dist/types/src/common/types.d.ts.map +1 -0
  442. package/dist/types/src/common/types.js +345 -0
  443. package/dist/types/src/common/types.js.map +1 -0
  444. package/dist/types/src/common/webapp/manifest/Manifest.d.ts +124 -0
  445. package/dist/types/src/common/webapp/manifest/Manifest.d.ts.map +1 -0
  446. package/dist/types/src/common/webapp/manifest/Manifest.js +24 -0
  447. package/dist/types/src/common/webapp/manifest/Manifest.js.map +1 -0
  448. package/dist/types/src/common/webapp/manifest/index.d.ts +4 -0
  449. package/dist/types/src/common/webapp/manifest/index.d.ts.map +1 -0
  450. package/dist/types/src/common/webapp/manifest/index.js +20 -0
  451. package/dist/types/src/common/webapp/manifest/index.js.map +1 -0
  452. package/dist/types/src/common/webapp/manifest/sapOvp.d.ts +19 -0
  453. package/dist/types/src/common/webapp/manifest/sapOvp.d.ts.map +1 -0
  454. package/dist/types/src/common/webapp/manifest/sapOvp.js +3 -0
  455. package/dist/types/src/common/webapp/manifest/sapOvp.js.map +1 -0
  456. package/dist/types/src/common/webapp/manifest/sapUi5.d.ts +106 -0
  457. package/dist/types/src/common/webapp/manifest/sapUi5.d.ts.map +1 -0
  458. package/dist/types/src/common/webapp/manifest/sapUi5.js +17 -0
  459. package/dist/types/src/common/webapp/manifest/sapUi5.js.map +1 -0
  460. package/dist/types/src/index.d.ts +5 -0
  461. package/dist/types/src/index.d.ts.map +1 -0
  462. package/dist/types/src/index.js +34 -0
  463. package/dist/types/src/index.js.map +1 -0
  464. package/dist/types/src/v2/ApplicationV2.d.ts +7 -0
  465. package/dist/types/src/v2/ApplicationV2.d.ts.map +1 -0
  466. package/dist/types/src/v2/ApplicationV2.js +3 -0
  467. package/dist/types/src/v2/ApplicationV2.js.map +1 -0
  468. package/dist/types/src/v2/application.d.ts +24 -0
  469. package/dist/types/src/v2/application.d.ts.map +1 -0
  470. package/dist/types/src/v2/application.js +3 -0
  471. package/dist/types/src/v2/application.js.map +1 -0
  472. package/dist/types/src/v2/controls/Action.d.ts +125 -0
  473. package/dist/types/src/v2/controls/Action.d.ts.map +1 -0
  474. package/dist/types/src/v2/controls/Action.js +3 -0
  475. package/dist/types/src/v2/controls/Action.js.map +1 -0
  476. package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts +59 -0
  477. package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts.map +1 -0
  478. package/dist/types/src/v2/controls/AnalyticalListPageChart.js +37 -0
  479. package/dist/types/src/v2/controls/AnalyticalListPageChart.js.map +1 -0
  480. package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts +31 -0
  481. package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts.map +1 -0
  482. package/dist/types/src/v2/controls/AnalyticalListPageKPI.js +4 -0
  483. package/dist/types/src/v2/controls/AnalyticalListPageKPI.js.map +1 -0
  484. package/dist/types/src/v2/controls/Card.d.ts +477 -0
  485. package/dist/types/src/v2/controls/Card.d.ts.map +1 -0
  486. package/dist/types/src/v2/controls/Card.js +78 -0
  487. package/dist/types/src/v2/controls/Card.js.map +1 -0
  488. package/dist/types/src/v2/controls/Field.d.ts +11 -0
  489. package/dist/types/src/v2/controls/Field.d.ts.map +1 -0
  490. package/dist/types/src/v2/controls/Field.js +4 -0
  491. package/dist/types/src/v2/controls/Field.js.map +1 -0
  492. package/dist/types/src/v2/controls/FilterBar.d.ts +220 -0
  493. package/dist/types/src/v2/controls/FilterBar.d.ts.map +1 -0
  494. package/dist/types/src/v2/controls/FilterBar.js +84 -0
  495. package/dist/types/src/v2/controls/FilterBar.js.map +1 -0
  496. package/dist/types/src/v2/controls/Header.d.ts +9 -0
  497. package/dist/types/src/v2/controls/Header.d.ts.map +1 -0
  498. package/dist/types/src/v2/controls/Header.js +3 -0
  499. package/dist/types/src/v2/controls/Header.js.map +1 -0
  500. package/dist/types/src/v2/controls/ObjectPageChart.d.ts +17 -0
  501. package/dist/types/src/v2/controls/ObjectPageChart.d.ts.map +1 -0
  502. package/dist/types/src/v2/controls/ObjectPageChart.js +4 -0
  503. package/dist/types/src/v2/controls/ObjectPageChart.js.map +1 -0
  504. package/dist/types/src/v2/controls/ObjectPageFooter.d.ts +20 -0
  505. package/dist/types/src/v2/controls/ObjectPageFooter.d.ts.map +1 -0
  506. package/dist/types/src/v2/controls/ObjectPageFooter.js +3 -0
  507. package/dist/types/src/v2/controls/ObjectPageFooter.js.map +1 -0
  508. package/dist/types/src/v2/controls/ObjectPageForm.d.ts +16 -0
  509. package/dist/types/src/v2/controls/ObjectPageForm.d.ts.map +1 -0
  510. package/dist/types/src/v2/controls/ObjectPageForm.js +3 -0
  511. package/dist/types/src/v2/controls/ObjectPageForm.js.map +1 -0
  512. package/dist/types/src/v2/controls/ObjectPageHeader.d.ts +39 -0
  513. package/dist/types/src/v2/controls/ObjectPageHeader.d.ts.map +1 -0
  514. package/dist/types/src/v2/controls/ObjectPageHeader.js +3 -0
  515. package/dist/types/src/v2/controls/ObjectPageHeader.js.map +1 -0
  516. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts +32 -0
  517. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  518. package/dist/types/src/v2/controls/ObjectPageHeaderSection.js +3 -0
  519. package/dist/types/src/v2/controls/ObjectPageHeaderSection.js.map +1 -0
  520. package/dist/types/src/v2/controls/ObjectPageLayout.d.ts +23 -0
  521. package/dist/types/src/v2/controls/ObjectPageLayout.d.ts.map +1 -0
  522. package/dist/types/src/v2/controls/ObjectPageLayout.js +4 -0
  523. package/dist/types/src/v2/controls/ObjectPageLayout.js.map +1 -0
  524. package/dist/types/src/v2/controls/ObjectPageSection.d.ts +121 -0
  525. package/dist/types/src/v2/controls/ObjectPageSection.d.ts.map +1 -0
  526. package/dist/types/src/v2/controls/ObjectPageSection.js +14 -0
  527. package/dist/types/src/v2/controls/ObjectPageSection.js.map +1 -0
  528. package/dist/types/src/v2/controls/ObjectPageTable.d.ts +224 -0
  529. package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -0
  530. package/dist/types/src/v2/controls/ObjectPageTable.js +10 -0
  531. package/dist/types/src/v2/controls/ObjectPageTable.js.map +1 -0
  532. package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts +16 -0
  533. package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts.map +1 -0
  534. package/dist/types/src/v2/controls/ObjectPageToolBar.js +3 -0
  535. package/dist/types/src/v2/controls/ObjectPageToolBar.js.map +1 -0
  536. package/dist/types/src/v2/controls/Table.d.ts +502 -0
  537. package/dist/types/src/v2/controls/Table.d.ts.map +1 -0
  538. package/dist/types/src/v2/controls/Table.js +47 -0
  539. package/dist/types/src/v2/controls/Table.js.map +1 -0
  540. package/dist/types/src/v2/controls/ToolBar.d.ts +9 -0
  541. package/dist/types/src/v2/controls/ToolBar.d.ts.map +1 -0
  542. package/dist/types/src/v2/controls/ToolBar.js +3 -0
  543. package/dist/types/src/v2/controls/ToolBar.js.map +1 -0
  544. package/dist/types/src/v2/controls/index.d.ts +19 -0
  545. package/dist/types/src/v2/controls/index.d.ts.map +1 -0
  546. package/dist/types/src/v2/controls/index.js +35 -0
  547. package/dist/types/src/v2/controls/index.js.map +1 -0
  548. package/dist/types/src/v2/index.d.ts +8 -0
  549. package/dist/types/src/v2/index.d.ts.map +1 -0
  550. package/dist/types/src/v2/index.js +24 -0
  551. package/dist/types/src/v2/index.js.map +1 -0
  552. package/dist/types/src/v2/overviewPage.d.ts +67 -0
  553. package/dist/types/src/v2/overviewPage.d.ts.map +1 -0
  554. package/dist/types/src/v2/overviewPage.js +15 -0
  555. package/dist/types/src/v2/overviewPage.js.map +1 -0
  556. package/dist/types/src/v2/page.d.ts +8 -0
  557. package/dist/types/src/v2/page.d.ts.map +1 -0
  558. package/dist/types/src/v2/page.js +3 -0
  559. package/dist/types/src/v2/page.js.map +1 -0
  560. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts +25 -0
  561. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts.map +1 -0
  562. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.js +3 -0
  563. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.js.map +1 -0
  564. package/dist/types/src/v2/pages/ListReportConfigV2.d.ts +17 -0
  565. package/dist/types/src/v2/pages/ListReportConfigV2.d.ts.map +1 -0
  566. package/dist/types/src/v2/pages/ListReportConfigV2.js +3 -0
  567. package/dist/types/src/v2/pages/ListReportConfigV2.js.map +1 -0
  568. package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts +37 -0
  569. package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts.map +1 -0
  570. package/dist/types/src/v2/pages/ObjectPageConfigV2.js +3 -0
  571. package/dist/types/src/v2/pages/ObjectPageConfigV2.js.map +1 -0
  572. package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts +102 -0
  573. package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts.map +1 -0
  574. package/dist/types/src/v2/pages/OverviewPageConfigV2.js +7 -0
  575. package/dist/types/src/v2/pages/OverviewPageConfigV2.js.map +1 -0
  576. package/dist/types/src/v2/pages/index.d.ts +5 -0
  577. package/dist/types/src/v2/pages/index.d.ts.map +1 -0
  578. package/dist/types/src/v2/pages/index.js +21 -0
  579. package/dist/types/src/v2/pages/index.js.map +1 -0
  580. package/dist/types/src/v2/webapp/index.d.ts +2 -0
  581. package/dist/types/src/v2/webapp/index.d.ts.map +1 -0
  582. package/dist/types/src/v2/webapp/index.js +18 -0
  583. package/dist/types/src/v2/webapp/index.js.map +1 -0
  584. package/dist/types/src/v2/webapp/manifest/index.d.ts +4 -0
  585. package/dist/types/src/v2/webapp/manifest/index.d.ts.map +1 -0
  586. package/dist/types/src/v2/webapp/manifest/index.js +20 -0
  587. package/dist/types/src/v2/webapp/manifest/index.js.map +1 -0
  588. package/dist/types/src/v2/webapp/manifest/sapUi.d.ts +11 -0
  589. package/dist/types/src/v2/webapp/manifest/sapUi.d.ts.map +1 -0
  590. package/dist/types/src/v2/webapp/manifest/sapUi.js +3 -0
  591. package/dist/types/src/v2/webapp/manifest/sapUi.js.map +1 -0
  592. package/dist/types/src/v2/webapp/manifest/sapUi5.d.ts +77 -0
  593. package/dist/types/src/v2/webapp/manifest/sapUi5.d.ts.map +1 -0
  594. package/dist/types/src/v2/webapp/manifest/sapUi5.js +10 -0
  595. package/dist/types/src/v2/webapp/manifest/sapUi5.js.map +1 -0
  596. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.d.ts +32 -0
  597. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.d.ts.map +1 -0
  598. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.js +8 -0
  599. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.js.map +1 -0
  600. package/dist/types/src/v4/ApplicationV4.d.ts +7 -0
  601. package/dist/types/src/v4/ApplicationV4.d.ts.map +1 -0
  602. package/dist/types/src/v4/ApplicationV4.js +3 -0
  603. package/dist/types/src/v4/ApplicationV4.js.map +1 -0
  604. package/dist/types/src/v4/application.d.ts +24 -0
  605. package/dist/types/src/v4/application.d.ts.map +1 -0
  606. package/dist/types/src/v4/application.js +3 -0
  607. package/dist/types/src/v4/application.js.map +1 -0
  608. package/dist/types/src/v4/controls/CustomAction.d.ts +63 -0
  609. package/dist/types/src/v4/controls/CustomAction.d.ts.map +1 -0
  610. package/dist/types/src/v4/controls/CustomAction.js +9 -0
  611. package/dist/types/src/v4/controls/CustomAction.js.map +1 -0
  612. package/dist/types/src/v4/controls/FilterBar.d.ts +127 -0
  613. package/dist/types/src/v4/controls/FilterBar.d.ts.map +1 -0
  614. package/dist/types/src/v4/controls/FilterBar.js +19 -0
  615. package/dist/types/src/v4/controls/FilterBar.js.map +1 -0
  616. package/dist/types/src/v4/controls/Header.d.ts +17 -0
  617. package/dist/types/src/v4/controls/Header.d.ts.map +1 -0
  618. package/dist/types/src/v4/controls/Header.js +3 -0
  619. package/dist/types/src/v4/controls/Header.js.map +1 -0
  620. package/dist/types/src/v4/controls/ObjectPageFooter.d.ts +27 -0
  621. package/dist/types/src/v4/controls/ObjectPageFooter.d.ts.map +1 -0
  622. package/dist/types/src/v4/controls/ObjectPageFooter.js +3 -0
  623. package/dist/types/src/v4/controls/ObjectPageFooter.js.map +1 -0
  624. package/dist/types/src/v4/controls/ObjectPageForm.d.ts +28 -0
  625. package/dist/types/src/v4/controls/ObjectPageForm.d.ts.map +1 -0
  626. package/dist/types/src/v4/controls/ObjectPageForm.js +3 -0
  627. package/dist/types/src/v4/controls/ObjectPageForm.js.map +1 -0
  628. package/dist/types/src/v4/controls/ObjectPageHeader.d.ts +44 -0
  629. package/dist/types/src/v4/controls/ObjectPageHeader.d.ts.map +1 -0
  630. package/dist/types/src/v4/controls/ObjectPageHeader.js +3 -0
  631. package/dist/types/src/v4/controls/ObjectPageHeader.js.map +1 -0
  632. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts +79 -0
  633. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  634. package/dist/types/src/v4/controls/ObjectPageHeaderSection.js +3 -0
  635. package/dist/types/src/v4/controls/ObjectPageHeaderSection.js.map +1 -0
  636. package/dist/types/src/v4/controls/ObjectPageLayout.d.ts +18 -0
  637. package/dist/types/src/v4/controls/ObjectPageLayout.d.ts.map +1 -0
  638. package/dist/types/src/v4/controls/ObjectPageLayout.js +9 -0
  639. package/dist/types/src/v4/controls/ObjectPageLayout.js.map +1 -0
  640. package/dist/types/src/v4/controls/ObjectPageSection.d.ts +136 -0
  641. package/dist/types/src/v4/controls/ObjectPageSection.d.ts.map +1 -0
  642. package/dist/types/src/v4/controls/ObjectPageSection.js +16 -0
  643. package/dist/types/src/v4/controls/ObjectPageSection.js.map +1 -0
  644. package/dist/types/src/v4/controls/ObjectPageTable.d.ts +119 -0
  645. package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -0
  646. package/dist/types/src/v4/controls/ObjectPageTable.js +10 -0
  647. package/dist/types/src/v4/controls/ObjectPageTable.js.map +1 -0
  648. package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts +34 -0
  649. package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts.map +1 -0
  650. package/dist/types/src/v4/controls/ObjectPageToolBar.js +3 -0
  651. package/dist/types/src/v4/controls/ObjectPageToolBar.js.map +1 -0
  652. package/dist/types/src/v4/controls/Table.d.ts +326 -0
  653. package/dist/types/src/v4/controls/Table.d.ts.map +1 -0
  654. package/dist/types/src/v4/controls/Table.js +30 -0
  655. package/dist/types/src/v4/controls/Table.js.map +1 -0
  656. package/dist/types/src/v4/controls/ToolBar.d.ts +88 -0
  657. package/dist/types/src/v4/controls/ToolBar.d.ts.map +1 -0
  658. package/dist/types/src/v4/controls/ToolBar.js +9 -0
  659. package/dist/types/src/v4/controls/ToolBar.js.map +1 -0
  660. package/dist/types/src/v4/controls/index.d.ts +15 -0
  661. package/dist/types/src/v4/controls/index.d.ts.map +1 -0
  662. package/dist/types/src/v4/controls/index.js +31 -0
  663. package/dist/types/src/v4/controls/index.js.map +1 -0
  664. package/dist/types/src/v4/index.d.ts +7 -0
  665. package/dist/types/src/v4/index.d.ts.map +1 -0
  666. package/dist/types/src/v4/index.js +23 -0
  667. package/dist/types/src/v4/index.js.map +1 -0
  668. package/dist/types/src/v4/page.d.ts +31 -0
  669. package/dist/types/src/v4/page.d.ts.map +1 -0
  670. package/dist/types/src/v4/page.js +3 -0
  671. package/dist/types/src/v4/page.js.map +1 -0
  672. package/dist/types/src/v4/pages/FreestylePageConfigV4.d.ts +3 -0
  673. package/dist/types/src/v4/pages/FreestylePageConfigV4.d.ts.map +1 -0
  674. package/dist/types/src/v4/pages/FreestylePageConfigV4.js +3 -0
  675. package/dist/types/src/v4/pages/FreestylePageConfigV4.js.map +1 -0
  676. package/dist/types/src/v4/pages/ListReportConfigV4.d.ts +45 -0
  677. package/dist/types/src/v4/pages/ListReportConfigV4.d.ts.map +1 -0
  678. package/dist/types/src/v4/pages/ListReportConfigV4.js +10 -0
  679. package/dist/types/src/v4/pages/ListReportConfigV4.js.map +1 -0
  680. package/dist/types/src/v4/pages/ObjectPageConfigV4.d.ts +20 -0
  681. package/dist/types/src/v4/pages/ObjectPageConfigV4.d.ts.map +1 -0
  682. package/dist/types/src/v4/pages/ObjectPageConfigV4.js +9 -0
  683. package/dist/types/src/v4/pages/ObjectPageConfigV4.js.map +1 -0
  684. package/dist/types/src/v4/pages/index.d.ts +4 -0
  685. package/dist/types/src/v4/pages/index.d.ts.map +1 -0
  686. package/dist/types/src/v4/pages/index.js +20 -0
  687. package/dist/types/src/v4/pages/index.js.map +1 -0
  688. package/dist/types/src/v4/webapp/index.d.ts +2 -0
  689. package/dist/types/src/v4/webapp/index.d.ts.map +1 -0
  690. package/dist/types/src/v4/webapp/index.js +18 -0
  691. package/dist/types/src/v4/webapp/index.js.map +1 -0
  692. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts +204 -0
  693. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts.map +1 -0
  694. package/dist/types/src/v4/webapp/manifest/ManifestSettings.js +22 -0
  695. package/dist/types/src/v4/webapp/manifest/ManifestSettings.js.map +1 -0
  696. package/dist/types/src/v4/webapp/manifest/index.d.ts +4 -0
  697. package/dist/types/src/v4/webapp/manifest/index.d.ts.map +1 -0
  698. package/dist/types/src/v4/webapp/manifest/index.js +20 -0
  699. package/dist/types/src/v4/webapp/manifest/index.js.map +1 -0
  700. package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts +89 -0
  701. package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts.map +1 -0
  702. package/dist/types/src/v4/webapp/manifest/sapUi5.js +9 -0
  703. package/dist/types/src/v4/webapp/manifest/sapUi5.js.map +1 -0
  704. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts +108 -0
  705. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts.map +1 -0
  706. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js +15 -0
  707. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js.map +1 -0
  708. package/package.json +10 -10
  709. package/dist/package.json +0 -113
  710. package/dist/src/api.d.ts.map +0 -1
  711. package/dist/src/api.js +0 -264
  712. package/dist/src/api.js.map +0 -1
  713. package/dist/src/extensionLogger.d.ts.map +0 -1
  714. package/dist/src/extensionLogger.js.map +0 -1
  715. package/dist/src/i18n/i18n.d.ts.map +0 -1
  716. package/dist/src/i18n/i18n.js.map +0 -1
  717. package/dist/src/index.d.ts.map +0 -1
  718. package/dist/src/index.js.map +0 -1
  719. package/dist/src/project.d.ts.map +0 -1
  720. package/dist/src/project.js.map +0 -1
  721. package/dist/src/specification/schemaAccess.d.ts.map +0 -1
  722. package/dist/src/specification/schemaAccess.js.map +0 -1
  723. package/dist/src/sync/common/appProvider.d.ts.map +0 -1
  724. package/dist/src/sync/common/appProvider.js.map +0 -1
  725. package/dist/src/sync/common/decoration/control.d.ts.map +0 -1
  726. package/dist/src/sync/common/decoration/control.js.map +0 -1
  727. package/dist/src/sync/common/decoration/decorators.d.ts +0 -13
  728. package/dist/src/sync/common/decoration/decorators.d.ts.map +0 -1
  729. package/dist/src/sync/common/decoration/decorators.js +0 -52
  730. package/dist/src/sync/common/decoration/decorators.js.map +0 -1
  731. package/dist/src/sync/common/decoration/factory.d.ts.map +0 -1
  732. package/dist/src/sync/common/decoration/factory.js.map +0 -1
  733. package/dist/src/sync/common/decoration/flex.d.ts.map +0 -1
  734. package/dist/src/sync/common/decoration/flex.js.map +0 -1
  735. package/dist/src/sync/common/decoration/index.d.ts.map +0 -1
  736. package/dist/src/sync/common/decoration/index.js.map +0 -1
  737. package/dist/src/sync/common/distTagEvaluator.d.ts.map +0 -1
  738. package/dist/src/sync/common/distTagEvaluator.js.map +0 -1
  739. package/dist/src/sync/common/flexUtils.d.ts.map +0 -1
  740. package/dist/src/sync/common/flexUtils.js.map +0 -1
  741. package/dist/src/sync/common/generate/index.d.ts.map +0 -1
  742. package/dist/src/sync/common/generate/index.js.map +0 -1
  743. package/dist/src/sync/common/generate/objectPage.d.ts.map +0 -1
  744. package/dist/src/sync/common/generate/objectPage.js.map +0 -1
  745. package/dist/src/sync/common/generate/utils.d.ts.map +0 -1
  746. package/dist/src/sync/common/generate/utils.js.map +0 -1
  747. package/dist/src/sync/common/i18n.json +0 -33
  748. package/dist/src/sync/common/import/utils.d.ts.map +0 -1
  749. package/dist/src/sync/common/import/utils.js.map +0 -1
  750. package/dist/src/sync/common/importProject.d.ts.map +0 -1
  751. package/dist/src/sync/common/importProject.js.map +0 -1
  752. package/dist/src/sync/common/index.d.ts.map +0 -1
  753. package/dist/src/sync/common/index.js.map +0 -1
  754. package/dist/src/sync/common/utils.d.ts.map +0 -1
  755. package/dist/src/sync/common/utils.js +0 -1535
  756. package/dist/src/sync/common/utils.js.map +0 -1
  757. package/dist/src/sync/i18n.d.ts.map +0 -1
  758. package/dist/src/sync/i18n.js.map +0 -1
  759. package/dist/src/sync/v2/application.d.ts.map +0 -1
  760. package/dist/src/sync/v2/application.js +0 -210
  761. package/dist/src/sync/v2/application.js.map +0 -1
  762. package/dist/src/sync/v2/export/controls/Action.d.ts.map +0 -1
  763. package/dist/src/sync/v2/export/controls/Action.js.map +0 -1
  764. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +0 -1
  765. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +0 -1
  766. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +0 -1
  767. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +0 -1
  768. package/dist/src/sync/v2/export/controls/Card.d.ts.map +0 -1
  769. package/dist/src/sync/v2/export/controls/Card.js.map +0 -1
  770. package/dist/src/sync/v2/export/controls/Field.d.ts.map +0 -1
  771. package/dist/src/sync/v2/export/controls/Field.js.map +0 -1
  772. package/dist/src/sync/v2/export/controls/FilterBar.d.ts.map +0 -1
  773. package/dist/src/sync/v2/export/controls/FilterBar.js.map +0 -1
  774. package/dist/src/sync/v2/export/controls/FormAction.d.ts.map +0 -1
  775. package/dist/src/sync/v2/export/controls/FormAction.js.map +0 -1
  776. package/dist/src/sync/v2/export/controls/Fragment.d.ts.map +0 -1
  777. package/dist/src/sync/v2/export/controls/Fragment.js.map +0 -1
  778. package/dist/src/sync/v2/export/controls/ObjectPageChart.d.ts.map +0 -1
  779. package/dist/src/sync/v2/export/controls/ObjectPageChart.js.map +0 -1
  780. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +0 -1
  781. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +0 -1
  782. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +0 -1
  783. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +0 -1
  784. package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts.map +0 -1
  785. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js +0 -72
  786. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +0 -1
  787. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +0 -1
  788. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +0 -1
  789. package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +0 -1
  790. package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +0 -1
  791. package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts.map +0 -1
  792. package/dist/src/sync/v2/export/controls/ObjectPageLayout.js.map +0 -1
  793. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +0 -41
  794. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts.map +0 -1
  795. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +0 -192
  796. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +0 -1
  797. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +0 -62
  798. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +0 -1
  799. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +0 -426
  800. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +0 -1
  801. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +0 -1
  802. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +0 -1
  803. package/dist/src/sync/v2/export/controls/Table.d.ts.map +0 -1
  804. package/dist/src/sync/v2/export/controls/Table.js.map +0 -1
  805. package/dist/src/sync/v2/export/controls/TableColumn.d.ts.map +0 -1
  806. package/dist/src/sync/v2/export/controls/TableColumn.js.map +0 -1
  807. package/dist/src/sync/v2/export/controls/ToolBar.d.ts.map +0 -1
  808. package/dist/src/sync/v2/export/controls/ToolBar.js.map +0 -1
  809. package/dist/src/sync/v2/export/controls/index.d.ts +0 -22
  810. package/dist/src/sync/v2/export/controls/index.d.ts.map +0 -1
  811. package/dist/src/sync/v2/export/controls/index.js +0 -38
  812. package/dist/src/sync/v2/export/controls/index.js.map +0 -1
  813. package/dist/src/sync/v2/export/export.d.ts.map +0 -1
  814. package/dist/src/sync/v2/export/export.js.map +0 -1
  815. package/dist/src/sync/v2/export/exportPage.d.ts.map +0 -1
  816. package/dist/src/sync/v2/export/exportPage.js.map +0 -1
  817. package/dist/src/sync/v2/export/factory.d.ts.map +0 -1
  818. package/dist/src/sync/v2/export/factory.js.map +0 -1
  819. package/dist/src/sync/v2/export/manifest.d.ts.map +0 -1
  820. package/dist/src/sync/v2/export/manifest.js.map +0 -1
  821. package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts.map +0 -1
  822. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +0 -1
  823. package/dist/src/sync/v2/export/pages/ListReport.d.ts.map +0 -1
  824. package/dist/src/sync/v2/export/pages/ListReport.js.map +0 -1
  825. package/dist/src/sync/v2/export/pages/ObjectPage.d.ts.map +0 -1
  826. package/dist/src/sync/v2/export/pages/ObjectPage.js.map +0 -1
  827. package/dist/src/sync/v2/export/pages/OverviewPage.d.ts.map +0 -1
  828. package/dist/src/sync/v2/export/pages/OverviewPage.js.map +0 -1
  829. package/dist/src/sync/v2/export/pages/index.d.ts.map +0 -1
  830. package/dist/src/sync/v2/export/pages/index.js.map +0 -1
  831. package/dist/src/sync/v2/export/view-controller-generator.d.ts +0 -67
  832. package/dist/src/sync/v2/export/view-controller-generator.d.ts.map +0 -1
  833. package/dist/src/sync/v2/export/view-controller-generator.js +0 -149
  834. package/dist/src/sync/v2/export/view-controller-generator.js.map +0 -1
  835. package/dist/src/sync/v2/generate/analyticalListReport.d.ts.map +0 -1
  836. package/dist/src/sync/v2/generate/analyticalListReport.js +0 -144
  837. package/dist/src/sync/v2/generate/analyticalListReport.js.map +0 -1
  838. package/dist/src/sync/v2/generate/generate.d.ts.map +0 -1
  839. package/dist/src/sync/v2/generate/generate.js.map +0 -1
  840. package/dist/src/sync/v2/generate/index.d.ts.map +0 -1
  841. package/dist/src/sync/v2/generate/index.js.map +0 -1
  842. package/dist/src/sync/v2/generate/listReport.d.ts.map +0 -1
  843. package/dist/src/sync/v2/generate/listReport.js.map +0 -1
  844. package/dist/src/sync/v2/generate/objectPage.d.ts.map +0 -1
  845. package/dist/src/sync/v2/generate/objectPage.js.map +0 -1
  846. package/dist/src/sync/v2/generate/overviewPage.d.ts.map +0 -1
  847. package/dist/src/sync/v2/generate/overviewPage.js.map +0 -1
  848. package/dist/src/sync/v2/generate/utils.d.ts.map +0 -1
  849. package/dist/src/sync/v2/generate/utils.js +0 -653
  850. package/dist/src/sync/v2/generate/utils.js.map +0 -1
  851. package/dist/src/sync/v2/import/app/appProvider.d.ts.map +0 -1
  852. package/dist/src/sync/v2/import/app/appProvider.js.map +0 -1
  853. package/dist/src/sync/v2/import/app/ovpProvider.d.ts.map +0 -1
  854. package/dist/src/sync/v2/import/app/ovpProvider.js.map +0 -1
  855. package/dist/src/sync/v2/import/common/index.d.ts.map +0 -1
  856. package/dist/src/sync/v2/import/common/index.js.map +0 -1
  857. package/dist/src/sync/v2/import/controls/table.d.ts.map +0 -1
  858. package/dist/src/sync/v2/import/controls/table.js.map +0 -1
  859. package/dist/src/sync/v2/import/getPageType.d.ts.map +0 -1
  860. package/dist/src/sync/v2/import/getPageType.js.map +0 -1
  861. package/dist/src/sync/v2/import/index.d.ts.map +0 -1
  862. package/dist/src/sync/v2/import/index.js.map +0 -1
  863. package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts.map +0 -1
  864. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +0 -1
  865. package/dist/src/sync/v2/import/pages/listReport.d.ts.map +0 -1
  866. package/dist/src/sync/v2/import/pages/listReport.js.map +0 -1
  867. package/dist/src/sync/v2/import/pages/objectPage.d.ts.map +0 -1
  868. package/dist/src/sync/v2/import/pages/objectPage.js.map +0 -1
  869. package/dist/src/sync/v2/import/pages/overviewPage.d.ts.map +0 -1
  870. package/dist/src/sync/v2/import/pages/overviewPage.js.map +0 -1
  871. package/dist/src/sync/v2/import/utils.d.ts.map +0 -1
  872. package/dist/src/sync/v2/import/utils.js.map +0 -1
  873. package/dist/src/sync/v2/types.d.ts +0 -84
  874. package/dist/src/sync/v2/types.d.ts.map +0 -1
  875. package/dist/src/sync/v2/types.js +0 -51
  876. package/dist/src/sync/v2/types.js.map +0 -1
  877. package/dist/src/sync/v4/application.d.ts.map +0 -1
  878. package/dist/src/sync/v4/application.js +0 -228
  879. package/dist/src/sync/v4/application.js.map +0 -1
  880. package/dist/src/sync/v4/export/controls/FilterBar.d.ts.map +0 -1
  881. package/dist/src/sync/v4/export/controls/FilterBar.js +0 -155
  882. package/dist/src/sync/v4/export/controls/FilterBar.js.map +0 -1
  883. package/dist/src/sync/v4/export/controls/Header.d.ts.map +0 -1
  884. package/dist/src/sync/v4/export/controls/Header.js.map +0 -1
  885. package/dist/src/sync/v4/export/controls/HeaderAction.d.ts.map +0 -1
  886. package/dist/src/sync/v4/export/controls/HeaderAction.js.map +0 -1
  887. package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts.map +0 -1
  888. package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.js.map +0 -1
  889. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +0 -1
  890. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +0 -1
  891. package/dist/src/sync/v4/export/controls/ObjectPageFooter.d.ts.map +0 -1
  892. package/dist/src/sync/v4/export/controls/ObjectPageFooter.js.map +0 -1
  893. package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.d.ts.map +0 -1
  894. package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.js +0 -124
  895. package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.js.map +0 -1
  896. package/dist/src/sync/v4/export/controls/ObjectPageForm.d.ts.map +0 -1
  897. package/dist/src/sync/v4/export/controls/ObjectPageForm.js +0 -48
  898. package/dist/src/sync/v4/export/controls/ObjectPageForm.js.map +0 -1
  899. package/dist/src/sync/v4/export/controls/ObjectPageFormAction.d.ts.map +0 -1
  900. package/dist/src/sync/v4/export/controls/ObjectPageFormAction.js.map +0 -1
  901. package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +0 -1
  902. package/dist/src/sync/v4/export/controls/ObjectPageHeader.js.map +0 -1
  903. package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts.map +0 -1
  904. package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.js +0 -105
  905. package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.js.map +0 -1
  906. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +0 -1
  907. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js +0 -66
  908. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +0 -1
  909. package/dist/src/sync/v4/export/controls/ObjectPageLayout.d.ts.map +0 -1
  910. package/dist/src/sync/v4/export/controls/ObjectPageLayout.js +0 -25
  911. package/dist/src/sync/v4/export/controls/ObjectPageLayout.js.map +0 -1
  912. package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts +0 -31
  913. package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +0 -1
  914. package/dist/src/sync/v4/export/controls/ObjectPageTable.js +0 -258
  915. package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +0 -1
  916. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +0 -25
  917. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +0 -1
  918. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +0 -151
  919. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +0 -1
  920. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +0 -1
  921. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +0 -1
  922. package/dist/src/sync/v4/export/controls/Table.d.ts +0 -157
  923. package/dist/src/sync/v4/export/controls/Table.d.ts.map +0 -1
  924. package/dist/src/sync/v4/export/controls/Table.js +0 -721
  925. package/dist/src/sync/v4/export/controls/Table.js.map +0 -1
  926. package/dist/src/sync/v4/export/controls/TableColumn.d.ts +0 -64
  927. package/dist/src/sync/v4/export/controls/TableColumn.d.ts.map +0 -1
  928. package/dist/src/sync/v4/export/controls/TableColumn.js +0 -311
  929. package/dist/src/sync/v4/export/controls/TableColumn.js.map +0 -1
  930. package/dist/src/sync/v4/export/controls/ToolBar.d.ts.map +0 -1
  931. package/dist/src/sync/v4/export/controls/ToolBar.js.map +0 -1
  932. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +0 -43
  933. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts.map +0 -1
  934. package/dist/src/sync/v4/export/controls/ToolBarAction.js +0 -239
  935. package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +0 -1
  936. package/dist/src/sync/v4/export/controls/index.d.ts +0 -22
  937. package/dist/src/sync/v4/export/controls/index.d.ts.map +0 -1
  938. package/dist/src/sync/v4/export/controls/index.js +0 -38
  939. package/dist/src/sync/v4/export/controls/index.js.map +0 -1
  940. package/dist/src/sync/v4/export/export.d.ts.map +0 -1
  941. package/dist/src/sync/v4/export/export.js +0 -943
  942. package/dist/src/sync/v4/export/export.js.map +0 -1
  943. package/dist/src/sync/v4/export/exportCustomColumn.d.ts.map +0 -1
  944. package/dist/src/sync/v4/export/exportCustomColumn.js.map +0 -1
  945. package/dist/src/sync/v4/export/factory.d.ts.map +0 -1
  946. package/dist/src/sync/v4/export/factory.js +0 -61
  947. package/dist/src/sync/v4/export/factory.js.map +0 -1
  948. package/dist/src/sync/v4/export/flexibleColumnLayout.d.ts.map +0 -1
  949. package/dist/src/sync/v4/export/flexibleColumnLayout.js.map +0 -1
  950. package/dist/src/sync/v4/export/fpmCustomPage.d.ts.map +0 -1
  951. package/dist/src/sync/v4/export/fpmCustomPage.js +0 -175
  952. package/dist/src/sync/v4/export/fpmCustomPage.js.map +0 -1
  953. package/dist/src/sync/v4/export/manifest.d.ts.map +0 -1
  954. package/dist/src/sync/v4/export/manifest.js.map +0 -1
  955. package/dist/src/sync/v4/export/pages/FreestylePage.d.ts.map +0 -1
  956. package/dist/src/sync/v4/export/pages/FreestylePage.js.map +0 -1
  957. package/dist/src/sync/v4/export/pages/ListReport.d.ts.map +0 -1
  958. package/dist/src/sync/v4/export/pages/ListReport.js +0 -85
  959. package/dist/src/sync/v4/export/pages/ListReport.js.map +0 -1
  960. package/dist/src/sync/v4/export/pages/ObjectPage.d.ts.map +0 -1
  961. package/dist/src/sync/v4/export/pages/ObjectPage.js +0 -41
  962. package/dist/src/sync/v4/export/pages/ObjectPage.js.map +0 -1
  963. package/dist/src/sync/v4/export/pages/index.d.ts.map +0 -1
  964. package/dist/src/sync/v4/export/pages/index.js.map +0 -1
  965. package/dist/src/sync/v4/export/types.d.ts.map +0 -1
  966. package/dist/src/sync/v4/export/types.js.map +0 -1
  967. package/dist/src/sync/v4/export/utils.d.ts.map +0 -1
  968. package/dist/src/sync/v4/export/utils.js.map +0 -1
  969. package/dist/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +0 -1
  970. package/dist/src/sync/v4/generate/fpm-custom-page/annotations.js.map +0 -1
  971. package/dist/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +0 -1
  972. package/dist/src/sync/v4/generate/fpm-custom-page/extensions.js.map +0 -1
  973. package/dist/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +0 -1
  974. package/dist/src/sync/v4/generate/fpm-custom-page/generator.js.map +0 -1
  975. package/dist/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts.map +0 -1
  976. package/dist/src/sync/v4/generate/fpm-custom-page/pageExtensions.js.map +0 -1
  977. package/dist/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +0 -1
  978. package/dist/src/sync/v4/generate/fpm-custom-page/utils.js.map +0 -1
  979. package/dist/src/sync/v4/generate/freestylePage.d.ts.map +0 -1
  980. package/dist/src/sync/v4/generate/freestylePage.js.map +0 -1
  981. package/dist/src/sync/v4/generate/generate.d.ts.map +0 -1
  982. package/dist/src/sync/v4/generate/generate.js.map +0 -1
  983. package/dist/src/sync/v4/generate/index.d.ts.map +0 -1
  984. package/dist/src/sync/v4/generate/index.js.map +0 -1
  985. package/dist/src/sync/v4/generate/listReport.d.ts.map +0 -1
  986. package/dist/src/sync/v4/generate/listReport.js +0 -891
  987. package/dist/src/sync/v4/generate/listReport.js.map +0 -1
  988. package/dist/src/sync/v4/generate/objectPage.d.ts.map +0 -1
  989. package/dist/src/sync/v4/generate/objectPage.js +0 -1066
  990. package/dist/src/sync/v4/generate/objectPage.js.map +0 -1
  991. package/dist/src/sync/v4/import/app/appProvider.d.ts.map +0 -1
  992. package/dist/src/sync/v4/import/app/appProvider.js.map +0 -1
  993. package/dist/src/sync/v4/import/app/index.d.ts.map +0 -1
  994. package/dist/src/sync/v4/import/app/index.js.map +0 -1
  995. package/dist/src/sync/v4/import/fragment.d.ts.map +0 -1
  996. package/dist/src/sync/v4/import/fragment.js.map +0 -1
  997. package/dist/src/sync/v4/import/index.d.ts.map +0 -1
  998. package/dist/src/sync/v4/import/index.js.map +0 -1
  999. package/dist/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +0 -1
  1000. package/dist/src/sync/v4/import/pages/fpmCustomPage.js.map +0 -1
  1001. package/dist/src/sync/v4/import/pages/listReport.d.ts.map +0 -1
  1002. package/dist/src/sync/v4/import/pages/listReport.js.map +0 -1
  1003. package/dist/src/sync/v4/import/pages/objectPage.d.ts.map +0 -1
  1004. package/dist/src/sync/v4/import/pages/objectPage.js +0 -459
  1005. package/dist/src/sync/v4/import/pages/objectPage.js.map +0 -1
  1006. package/dist/src/sync/v4/import/utils.d.ts.map +0 -1
  1007. package/dist/src/sync/v4/import/utils.js.map +0 -1
  1008. package/dist/src/sync/v4/sync-rules/controllerExtensions.d.ts.map +0 -1
  1009. package/dist/src/sync/v4/sync-rules/controllerExtensions.js.map +0 -1
  1010. package/dist/src/sync/v4/types.d.ts.map +0 -1
  1011. package/dist/src/sync/v4/types.js.map +0 -1
  1012. package/dist/src/sync/v4/utils/StableIdHelper.d.ts.map +0 -1
  1013. package/dist/src/sync/v4/utils/StableIdHelper.js.map +0 -1
  1014. package/dist/src/sync/v4/utils/macros.d.ts.map +0 -1
  1015. package/dist/src/sync/v4/utils/macros.js.map +0 -1
  1016. package/dist/src/sync/v4/utils/utils.d.ts.map +0 -1
  1017. package/dist/src/sync/v4/utils/utils.js +0 -858
  1018. package/dist/src/sync/v4/utils/utils.js.map +0 -1
  1019. /package/dist/{src → specification/src}/api.d.ts +0 -0
  1020. /package/dist/{src → specification/src}/extensionLogger.d.ts +0 -0
  1021. /package/dist/{src → specification/src}/extensionLogger.js +0 -0
  1022. /package/dist/{src → specification/src}/i18n/i18n.d.ts +0 -0
  1023. /package/dist/{src → specification/src}/i18n/i18n.js +0 -0
  1024. /package/dist/{src → specification/src}/index.d.ts +0 -0
  1025. /package/dist/{src → specification/src}/index.js +0 -0
  1026. /package/dist/{src → specification/src}/project.d.ts +0 -0
  1027. /package/dist/{src → specification/src}/project.js +0 -0
  1028. /package/dist/{src → specification/src}/specification/schemaAccess.d.ts +0 -0
  1029. /package/dist/{src → specification/src}/specification/schemaAccess.js +0 -0
  1030. /package/dist/{src → specification/src}/sync/common/appProvider.d.ts +0 -0
  1031. /package/dist/{src → specification/src}/sync/common/appProvider.js +0 -0
  1032. /package/dist/{src → specification/src}/sync/common/decoration/control.d.ts +0 -0
  1033. /package/dist/{src → specification/src}/sync/common/decoration/control.js +0 -0
  1034. /package/dist/{src → specification/src}/sync/common/decoration/factory.d.ts +0 -0
  1035. /package/dist/{src → specification/src}/sync/common/decoration/factory.js +0 -0
  1036. /package/dist/{src → specification/src}/sync/common/decoration/flex.d.ts +0 -0
  1037. /package/dist/{src → specification/src}/sync/common/decoration/flex.js +0 -0
  1038. /package/dist/{src → specification/src}/sync/common/decoration/index.d.ts +0 -0
  1039. /package/dist/{src → specification/src}/sync/common/decoration/index.js +0 -0
  1040. /package/dist/{src → specification/src}/sync/common/distTagEvaluator.d.ts +0 -0
  1041. /package/dist/{src → specification/src}/sync/common/distTagEvaluator.js +0 -0
  1042. /package/dist/{src → specification/src}/sync/common/dist_tag.json +0 -0
  1043. /package/dist/{src → specification/src}/sync/common/flexUtils.d.ts +0 -0
  1044. /package/dist/{src → specification/src}/sync/common/flexUtils.js +0 -0
  1045. /package/dist/{src → specification/src}/sync/common/generate/index.d.ts +0 -0
  1046. /package/dist/{src → specification/src}/sync/common/generate/index.js +0 -0
  1047. /package/dist/{src → specification/src}/sync/common/generate/objectPage.d.ts +0 -0
  1048. /package/dist/{src → specification/src}/sync/common/generate/objectPage.js +0 -0
  1049. /package/dist/{src → specification/src}/sync/common/generate/utils.d.ts +0 -0
  1050. /package/dist/{src → specification/src}/sync/common/generate/utils.js +0 -0
  1051. /package/dist/{src → specification/src}/sync/common/import/utils.d.ts +0 -0
  1052. /package/dist/{src → specification/src}/sync/common/import/utils.js +0 -0
  1053. /package/dist/{src → specification/src}/sync/common/importProject.d.ts +0 -0
  1054. /package/dist/{src → specification/src}/sync/common/importProject.js +0 -0
  1055. /package/dist/{src → specification/src}/sync/common/index.d.ts +0 -0
  1056. /package/dist/{src → specification/src}/sync/common/index.js +0 -0
  1057. /package/dist/{src → specification/src}/sync/common/utils.d.ts +0 -0
  1058. /package/dist/{src → specification/src}/sync/i18n.d.ts +0 -0
  1059. /package/dist/{src → specification/src}/sync/i18n.js +0 -0
  1060. /package/dist/{src → specification/src}/sync/v2/application.d.ts +0 -0
  1061. /package/dist/{src → specification/src}/sync/v2/export/controls/Action.d.ts +0 -0
  1062. /package/dist/{src → specification/src}/sync/v2/export/controls/Action.js +0 -0
  1063. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageChart.d.ts +0 -0
  1064. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageChart.js +0 -0
  1065. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +0 -0
  1066. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageKPI.js +0 -0
  1067. /package/dist/{src → specification/src}/sync/v2/export/controls/Card.d.ts +0 -0
  1068. /package/dist/{src → specification/src}/sync/v2/export/controls/Card.js +0 -0
  1069. /package/dist/{src → specification/src}/sync/v2/export/controls/Field.d.ts +0 -0
  1070. /package/dist/{src → specification/src}/sync/v2/export/controls/Field.js +0 -0
  1071. /package/dist/{src → specification/src}/sync/v2/export/controls/FilterBar.d.ts +0 -0
  1072. /package/dist/{src → specification/src}/sync/v2/export/controls/FilterBar.js +0 -0
  1073. /package/dist/{src → specification/src}/sync/v2/export/controls/FormAction.d.ts +0 -0
  1074. /package/dist/{src → specification/src}/sync/v2/export/controls/FormAction.js +0 -0
  1075. /package/dist/{src → specification/src}/sync/v2/export/controls/Fragment.d.ts +0 -0
  1076. /package/dist/{src → specification/src}/sync/v2/export/controls/Fragment.js +0 -0
  1077. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageChart.d.ts +0 -0
  1078. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageChart.js +0 -0
  1079. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageCustomSection.d.ts +0 -0
  1080. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageCustomSection.js +0 -0
  1081. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageFooterAction.d.ts +0 -0
  1082. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageFooterAction.js +0 -0
  1083. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeader.d.ts +0 -0
  1084. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +0 -0
  1085. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderAction.js +0 -0
  1086. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderSection.d.ts +0 -0
  1087. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderSection.js +0 -0
  1088. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageLayout.d.ts +0 -0
  1089. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageLayout.js +0 -0
  1090. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +0 -0
  1091. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageToolBarAction.js +0 -0
  1092. /package/dist/{src → specification/src}/sync/v2/export/controls/Table.d.ts +0 -0
  1093. /package/dist/{src → specification/src}/sync/v2/export/controls/Table.js +0 -0
  1094. /package/dist/{src → specification/src}/sync/v2/export/controls/TableColumn.d.ts +0 -0
  1095. /package/dist/{src → specification/src}/sync/v2/export/controls/TableColumn.js +0 -0
  1096. /package/dist/{src → specification/src}/sync/v2/export/controls/ToolBar.d.ts +0 -0
  1097. /package/dist/{src → specification/src}/sync/v2/export/controls/ToolBar.js +0 -0
  1098. /package/dist/{src → specification/src}/sync/v2/export/export.d.ts +0 -0
  1099. /package/dist/{src → specification/src}/sync/v2/export/export.js +0 -0
  1100. /package/dist/{src → specification/src}/sync/v2/export/exportPage.d.ts +0 -0
  1101. /package/dist/{src → specification/src}/sync/v2/export/exportPage.js +0 -0
  1102. /package/dist/{src → specification/src}/sync/v2/export/factory.d.ts +0 -0
  1103. /package/dist/{src → specification/src}/sync/v2/export/factory.js +0 -0
  1104. /package/dist/{src → specification/src}/sync/v2/export/manifest.d.ts +0 -0
  1105. /package/dist/{src → specification/src}/sync/v2/export/manifest.js +0 -0
  1106. /package/dist/{src → specification/src}/sync/v2/export/pages/AnalyticalListPage.d.ts +0 -0
  1107. /package/dist/{src → specification/src}/sync/v2/export/pages/AnalyticalListPage.js +0 -0
  1108. /package/dist/{src → specification/src}/sync/v2/export/pages/ListReport.d.ts +0 -0
  1109. /package/dist/{src → specification/src}/sync/v2/export/pages/ListReport.js +0 -0
  1110. /package/dist/{src → specification/src}/sync/v2/export/pages/ObjectPage.d.ts +0 -0
  1111. /package/dist/{src → specification/src}/sync/v2/export/pages/ObjectPage.js +0 -0
  1112. /package/dist/{src → specification/src}/sync/v2/export/pages/OverviewPage.d.ts +0 -0
  1113. /package/dist/{src → specification/src}/sync/v2/export/pages/OverviewPage.js +0 -0
  1114. /package/dist/{src → specification/src}/sync/v2/export/pages/index.d.ts +0 -0
  1115. /package/dist/{src → specification/src}/sync/v2/export/pages/index.js +0 -0
  1116. /package/dist/{src → specification/src}/sync/v2/generate/analyticalListReport.d.ts +0 -0
  1117. /package/dist/{src → specification/src}/sync/v2/generate/generate.d.ts +0 -0
  1118. /package/dist/{src → specification/src}/sync/v2/generate/generate.js +0 -0
  1119. /package/dist/{src → specification/src}/sync/v2/generate/index.d.ts +0 -0
  1120. /package/dist/{src → specification/src}/sync/v2/generate/index.js +0 -0
  1121. /package/dist/{src → specification/src}/sync/v2/generate/listReport.d.ts +0 -0
  1122. /package/dist/{src → specification/src}/sync/v2/generate/listReport.js +0 -0
  1123. /package/dist/{src → specification/src}/sync/v2/generate/objectPage.d.ts +0 -0
  1124. /package/dist/{src → specification/src}/sync/v2/generate/objectPage.js +0 -0
  1125. /package/dist/{src → specification/src}/sync/v2/generate/overviewPage.d.ts +0 -0
  1126. /package/dist/{src → specification/src}/sync/v2/generate/overviewPage.js +0 -0
  1127. /package/dist/{src → specification/src}/sync/v2/generate/utils.d.ts +0 -0
  1128. /package/dist/{src → specification/src}/sync/v2/import/app/appProvider.d.ts +0 -0
  1129. /package/dist/{src → specification/src}/sync/v2/import/app/appProvider.js +0 -0
  1130. /package/dist/{src → specification/src}/sync/v2/import/app/ovpProvider.d.ts +0 -0
  1131. /package/dist/{src → specification/src}/sync/v2/import/app/ovpProvider.js +0 -0
  1132. /package/dist/{src → specification/src}/sync/v2/import/common/index.d.ts +0 -0
  1133. /package/dist/{src → specification/src}/sync/v2/import/common/index.js +0 -0
  1134. /package/dist/{src → specification/src}/sync/v2/import/controls/table.d.ts +0 -0
  1135. /package/dist/{src → specification/src}/sync/v2/import/controls/table.js +0 -0
  1136. /package/dist/{src → specification/src}/sync/v2/import/getPageType.d.ts +0 -0
  1137. /package/dist/{src → specification/src}/sync/v2/import/getPageType.js +0 -0
  1138. /package/dist/{src → specification/src}/sync/v2/import/index.d.ts +0 -0
  1139. /package/dist/{src → specification/src}/sync/v2/import/index.js +0 -0
  1140. /package/dist/{src → specification/src}/sync/v2/import/pages/analyticalListPage.d.ts +0 -0
  1141. /package/dist/{src → specification/src}/sync/v2/import/pages/analyticalListPage.js +0 -0
  1142. /package/dist/{src → specification/src}/sync/v2/import/pages/listReport.d.ts +0 -0
  1143. /package/dist/{src → specification/src}/sync/v2/import/pages/listReport.js +0 -0
  1144. /package/dist/{src → specification/src}/sync/v2/import/pages/objectPage.d.ts +0 -0
  1145. /package/dist/{src → specification/src}/sync/v2/import/pages/objectPage.js +0 -0
  1146. /package/dist/{src → specification/src}/sync/v2/import/pages/overviewPage.d.ts +0 -0
  1147. /package/dist/{src → specification/src}/sync/v2/import/pages/overviewPage.js +0 -0
  1148. /package/dist/{src → specification/src}/sync/v2/import/utils.d.ts +0 -0
  1149. /package/dist/{src → specification/src}/sync/v2/import/utils.js +0 -0
  1150. /package/dist/{src → specification/src}/sync/v4/application.d.ts +0 -0
  1151. /package/dist/{src → specification/src}/sync/v4/export/controls/FilterBar.d.ts +0 -0
  1152. /package/dist/{src → specification/src}/sync/v4/export/controls/Header.d.ts +0 -0
  1153. /package/dist/{src → specification/src}/sync/v4/export/controls/Header.js +0 -0
  1154. /package/dist/{src → specification/src}/sync/v4/export/controls/HeaderAction.d.ts +0 -0
  1155. /package/dist/{src → specification/src}/sync/v4/export/controls/HeaderAction.js +0 -0
  1156. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts +0 -0
  1157. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomHeaderSection.js +0 -0
  1158. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomSection.d.ts +0 -0
  1159. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomSection.js +0 -0
  1160. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFooter.d.ts +0 -0
  1161. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFooter.js +0 -0
  1162. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFooterAction.d.ts +0 -0
  1163. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageForm.d.ts +0 -0
  1164. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFormAction.d.ts +0 -0
  1165. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFormAction.js +0 -0
  1166. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeader.d.ts +0 -0
  1167. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeader.js +0 -0
  1168. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeaderAction.d.ts +0 -0
  1169. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +0 -0
  1170. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageLayout.d.ts +0 -0
  1171. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +0 -0
  1172. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageToolBarAction.js +0 -0
  1173. /package/dist/{src → specification/src}/sync/v4/export/controls/ToolBar.d.ts +0 -0
  1174. /package/dist/{src → specification/src}/sync/v4/export/controls/ToolBar.js +0 -0
  1175. /package/dist/{src → specification/src}/sync/v4/export/export.d.ts +0 -0
  1176. /package/dist/{src → specification/src}/sync/v4/export/exportCustomColumn.d.ts +0 -0
  1177. /package/dist/{src → specification/src}/sync/v4/export/exportCustomColumn.js +0 -0
  1178. /package/dist/{src → specification/src}/sync/v4/export/factory.d.ts +0 -0
  1179. /package/dist/{src → specification/src}/sync/v4/export/flexibleColumnLayout.d.ts +0 -0
  1180. /package/dist/{src → specification/src}/sync/v4/export/flexibleColumnLayout.js +0 -0
  1181. /package/dist/{src → specification/src}/sync/v4/export/fpmCustomPage.d.ts +0 -0
  1182. /package/dist/{src → specification/src}/sync/v4/export/manifest.d.ts +0 -0
  1183. /package/dist/{src → specification/src}/sync/v4/export/manifest.js +0 -0
  1184. /package/dist/{src → specification/src}/sync/v4/export/pages/FreestylePage.d.ts +0 -0
  1185. /package/dist/{src → specification/src}/sync/v4/export/pages/FreestylePage.js +0 -0
  1186. /package/dist/{src → specification/src}/sync/v4/export/pages/ListReport.d.ts +0 -0
  1187. /package/dist/{src → specification/src}/sync/v4/export/pages/ObjectPage.d.ts +0 -0
  1188. /package/dist/{src → specification/src}/sync/v4/export/pages/index.d.ts +0 -0
  1189. /package/dist/{src → specification/src}/sync/v4/export/pages/index.js +0 -0
  1190. /package/dist/{src → specification/src}/sync/v4/export/types.d.ts +0 -0
  1191. /package/dist/{src → specification/src}/sync/v4/export/types.js +0 -0
  1192. /package/dist/{src → specification/src}/sync/v4/export/utils.d.ts +0 -0
  1193. /package/dist/{src → specification/src}/sync/v4/export/utils.js +0 -0
  1194. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/annotations.d.ts +0 -0
  1195. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/annotations.js +0 -0
  1196. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/extensions.d.ts +0 -0
  1197. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/extensions.js +0 -0
  1198. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/generator.d.ts +0 -0
  1199. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/generator.js +0 -0
  1200. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts +0 -0
  1201. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/pageExtensions.js +0 -0
  1202. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/utils.d.ts +0 -0
  1203. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/utils.js +0 -0
  1204. /package/dist/{src → specification/src}/sync/v4/generate/freestylePage.d.ts +0 -0
  1205. /package/dist/{src → specification/src}/sync/v4/generate/freestylePage.js +0 -0
  1206. /package/dist/{src → specification/src}/sync/v4/generate/generate.d.ts +0 -0
  1207. /package/dist/{src → specification/src}/sync/v4/generate/generate.js +0 -0
  1208. /package/dist/{src → specification/src}/sync/v4/generate/index.d.ts +0 -0
  1209. /package/dist/{src → specification/src}/sync/v4/generate/index.js +0 -0
  1210. /package/dist/{src → specification/src}/sync/v4/generate/listReport.d.ts +0 -0
  1211. /package/dist/{src → specification/src}/sync/v4/generate/objectPage.d.ts +0 -0
  1212. /package/dist/{src → specification/src}/sync/v4/import/app/appProvider.d.ts +0 -0
  1213. /package/dist/{src → specification/src}/sync/v4/import/app/appProvider.js +0 -0
  1214. /package/dist/{src → specification/src}/sync/v4/import/app/index.d.ts +0 -0
  1215. /package/dist/{src → specification/src}/sync/v4/import/app/index.js +0 -0
  1216. /package/dist/{src → specification/src}/sync/v4/import/fragment.d.ts +0 -0
  1217. /package/dist/{src → specification/src}/sync/v4/import/fragment.js +0 -0
  1218. /package/dist/{src → specification/src}/sync/v4/import/index.d.ts +0 -0
  1219. /package/dist/{src → specification/src}/sync/v4/import/index.js +0 -0
  1220. /package/dist/{src → specification/src}/sync/v4/import/pages/fpmCustomPage.d.ts +0 -0
  1221. /package/dist/{src → specification/src}/sync/v4/import/pages/fpmCustomPage.js +0 -0
  1222. /package/dist/{src → specification/src}/sync/v4/import/pages/listReport.d.ts +0 -0
  1223. /package/dist/{src → specification/src}/sync/v4/import/pages/listReport.js +0 -0
  1224. /package/dist/{src → specification/src}/sync/v4/import/pages/objectPage.d.ts +0 -0
  1225. /package/dist/{src → specification/src}/sync/v4/import/utils.d.ts +0 -0
  1226. /package/dist/{src → specification/src}/sync/v4/import/utils.js +0 -0
  1227. /package/dist/{src → specification/src}/sync/v4/sync-rules/controllerExtensions.d.ts +0 -0
  1228. /package/dist/{src → specification/src}/sync/v4/sync-rules/controllerExtensions.js +0 -0
  1229. /package/dist/{src → specification/src}/sync/v4/types.d.ts +0 -0
  1230. /package/dist/{src → specification/src}/sync/v4/types.js +0 -0
  1231. /package/dist/{src → specification/src}/sync/v4/utils/StableIdHelper.d.ts +0 -0
  1232. /package/dist/{src → specification/src}/sync/v4/utils/StableIdHelper.js +0 -0
  1233. /package/dist/{src → specification/src}/sync/v4/utils/macros.d.ts +0 -0
  1234. /package/dist/{src → specification/src}/sync/v4/utils/macros.js +0 -0
  1235. /package/dist/{src → specification/src}/sync/v4/utils/utils.d.ts +0 -0
@@ -0,0 +1,1075 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.generateObjectPageSchemaV4 = void 0;
7
+ const i18next_1 = __importDefault(require("i18next"));
8
+ const extensionLogger_1 = require("../../../extensionLogger");
9
+ const ux_specification_types_1 = require("@sap/ux-specification-types");
10
+ const common_1 = require("../../common");
11
+ const utils_1 = require("../utils/utils");
12
+ const utils_2 = require("../utils/utils");
13
+ const StableIdHelper_1 = require("../../v4/utils/StableIdHelper");
14
+ const pageExtensions_1 = require("./fpm-custom-page/pageExtensions");
15
+ const utils_3 = require("../../v2/generate/utils");
16
+ const ROOT_PROPERTIES_ORDER = ['header', 'layout', 'sections', 'footer'];
17
+ const CRITICAL_ACTION_TYPES = [
18
+ 'UI.CriticalityType/Positive',
19
+ 'UI.CriticalityType/VeryPositive',
20
+ 'UI.CriticalityType/Negative',
21
+ 'UI.CriticalityType/VeryNegative'
22
+ ];
23
+ const CUSTOM_ACTION_DEFINITION_DESCRIPTION = 'Custom Action';
24
+ /**
25
+ * V4 callback - adds a single header action to schema
26
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
27
+ * @param {ActionListType} action - item of the Ui.Identification collection and its original index
28
+ * @param {ActionType} actionType - action classification for grouping
29
+ * @param {Definition} appSchema Schema of the app
30
+ * @param {EntityType} entityType - current entity type
31
+ * @param {Definition} headerActions - list of header actions, to be enhanced
32
+ */
33
+ function addSingleHeaderActionV4(oDataServiceAVT, action, actionType, appSchema, entityType, headerActions, index) {
34
+ const { actionName, namespace } = (0, common_1.getActionNameAndId)(action.item, oDataServiceAVT);
35
+ const stableId = (0, StableIdHelper_1.getStableIdPartFromDataField)(action.item);
36
+ //stableId is used as key in V4, as the DataFieldForAction:: prefix shall be present in manifest settings
37
+ const convertedIdentification = action.item['fullyQualifiedName'].replace(`@${"com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */}`, `/@${"com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */}`);
38
+ const actionDefinitionKey = `ObjectPageHeaderAction<${(0, common_1.prepareRef)(stableId)}>`;
39
+ const headerAction = (appSchema.definitions[actionDefinitionKey] = {
40
+ type: 'object',
41
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.DefinitionName.ObjectPageHeaderAction}`,
42
+ description: (0, common_1.getDataFieldDescription)(action.item, entityType)
43
+ });
44
+ headerAction[ux_specification_types_1.SchemaTag.isViewNode] = true;
45
+ headerAction[ux_specification_types_1.SchemaTag.dataType] = (0, common_1.determineDataType)(action.item);
46
+ headerAction[ux_specification_types_1.SchemaTag.propertyIndex] = index;
47
+ //keys
48
+ headerAction[ux_specification_types_1.SchemaTag.keys] = [];
49
+ if (action.item[ux_specification_types_1.SchemaKeyName.semanticObject]) {
50
+ headerAction[ux_specification_types_1.SchemaTag.keys].push({
51
+ name: ux_specification_types_1.SchemaKeyName.semanticObject,
52
+ value: action.item[ux_specification_types_1.SchemaKeyName.semanticObject]
53
+ });
54
+ }
55
+ headerAction[ux_specification_types_1.SchemaTag.keys].push({ name: ux_specification_types_1.SchemaKeyName.action, value: actionName });
56
+ if (namespace) {
57
+ appSchema.definitions[actionDefinitionKey][ux_specification_types_1.SchemaTag.target] = namespace;
58
+ }
59
+ headerAction[ux_specification_types_1.SchemaTag.actionType] = actionType;
60
+ headerAction[ux_specification_types_1.SchemaTag.annotationPath] = `/${convertedIdentification}`;
61
+ headerActions.properties[stableId] = {
62
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}${actionDefinitionKey}`
63
+ };
64
+ // add propertyIndexes
65
+ headerActions.properties[stableId][ux_specification_types_1.SchemaTag.propertyIndex] = index;
66
+ }
67
+ /**
68
+ * Adds a given standard action to the app schema of the object page
69
+ * @param {string} actionName - name of the action
70
+ * @param {Definition} appSchema - schema of the object page
71
+ * @param {Definition} headerActions - list of header actions, to be enhanced
72
+ * @param {number} index - index for propertyIndex
73
+ *
74
+ * @returns the new header action definition
75
+ */
76
+ function addStandardHeaderAction(actionName, appSchema, headerActions, index) {
77
+ const referenceKey = `${actionName}Action`;
78
+ const actionDefinitionKey = `ObjectPageHeaderAction<${referenceKey}>`;
79
+ const headerAction = (appSchema.definitions[actionDefinitionKey] = {
80
+ type: 'object',
81
+ description: `${actionName}`,
82
+ additionalProperties: true
83
+ });
84
+ headerAction[ux_specification_types_1.SchemaTag.isViewNode] = true;
85
+ headerAction[ux_specification_types_1.SchemaTag.propertyIndex] = index;
86
+ //keys
87
+ headerAction[ux_specification_types_1.SchemaTag.keys] = [];
88
+ headerAction[ux_specification_types_1.SchemaTag.keys].push({ name: ux_specification_types_1.SchemaKeyName.action, value: actionName });
89
+ headerAction[ux_specification_types_1.SchemaTag.actionType] = ux_specification_types_1.ActionType.Standard;
90
+ headerActions.properties[referenceKey] = {
91
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}${actionDefinitionKey}`
92
+ };
93
+ // add propertyIndexes
94
+ headerActions.properties[referenceKey][ux_specification_types_1.SchemaTag.propertyIndex] = index;
95
+ return headerAction;
96
+ }
97
+ /**
98
+ * V4 callback - adds a single footer action to schema
99
+ * @param {ActionListType} action - item of the Ui.Identification collection and its original index
100
+ * @param {ActionType} actionType - action classification for grouping
101
+ * @param {EntityType} entityType - current entity type
102
+ * @param {Definition} appSchema - schema of the object page
103
+ * @param {Definition} footerActions - list of footer actions, to be enhanced
104
+ */
105
+ function addSingleFooterAction(action, actionType, entityType, appSchema, footerActions, index) {
106
+ const actionId = (0, StableIdHelper_1.getStableIdPartFromDataField)(action.item);
107
+ const description = (0, common_1.getDataFieldDescription)(action.item, entityType);
108
+ const actionDefinitionKey = (0, common_1.prepareRef)(`${ux_specification_types_1.DefinitionName.ObjectPageFooterAction}<${actionId}>`);
109
+ const convertedIdentification = action.item['fullyQualifiedName'].replace(`@${"com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */}`, `/@${"com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */}`);
110
+ const footerAction = (appSchema.definitions[actionDefinitionKey] = {
111
+ type: 'object',
112
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.DefinitionName.FooterActionV4}`,
113
+ description: description
114
+ });
115
+ footerAction[ux_specification_types_1.SchemaTag.isViewNode] = true;
116
+ footerAction[ux_specification_types_1.SchemaTag.actionType] = actionType;
117
+ footerAction[ux_specification_types_1.SchemaTag.propertyIndex] = index;
118
+ footerAction[ux_specification_types_1.SchemaTag.annotationPath] = `/${convertedIdentification}`;
119
+ footerActions.properties[actionId] = {
120
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}${actionDefinitionKey}`
121
+ };
122
+ }
123
+ /**
124
+ * Distiguishes critical actions and others and returns two separate groups
125
+ * @param {any} identification - UI.Identification annotation as present in AVT ConvertedMetadata
126
+ * @returns two separate groups of items
127
+ */
128
+ function groupByCriticality(identification) {
129
+ const criticalActions = [];
130
+ const unCriticalActions = [];
131
+ identification.forEach((item, index) => {
132
+ if ((!item['Determining'] && item.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */) ||
133
+ item.$Type === "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* UIAnnotationTypes.DataFieldForIntentBasedNavigation */) {
134
+ if (CRITICAL_ACTION_TYPES.includes(item['Criticality'])) {
135
+ criticalActions.push({ index, item });
136
+ }
137
+ else {
138
+ unCriticalActions.push({ index, item });
139
+ }
140
+ }
141
+ });
142
+ return { criticalActions, unCriticalActions };
143
+ }
144
+ /**
145
+ * Adds the critical header actions to schema
146
+ * @param {ActionListType[]} criticalActions - list of critical actions
147
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
148
+ * @param {Definition} appSchema - schema of the object page
149
+ * @param {EntityType} entityType - current entity type
150
+ * @param {Definition} headerActions - list of all header actions
151
+ */
152
+ function addCriticalActions(criticalActions, oDataServiceAVT, appSchema, entityType, headerActions) {
153
+ for (let index = 0; index < criticalActions.length; index++) {
154
+ addSingleHeaderActionV4(oDataServiceAVT, criticalActions[index], ux_specification_types_1.ActionType.Criticality, appSchema, entityType, headerActions, index);
155
+ }
156
+ }
157
+ /**
158
+ * Checks if one of the uncritical actions is marked by isCopyAction.
159
+ * If so, adds this first to the schema and deletes it from the list.
160
+ * @param {ActionListType[]} unCriticalActions - list of uncritical actions
161
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
162
+ * @param {Definition} appSchema - schema of the object page
163
+ * @param {EntityType} entityType - current entity type
164
+ * @param {Definition} headerActions - list of all header actions
165
+ * @param {number} nextIndex - index for propertyIndex
166
+ */
167
+ function addCopyAction(unCriticalActions, oDataServiceAVT, appSchema, entityType, headerActions, nextIndex) {
168
+ const copyActionIndex = unCriticalActions.findIndex((action) => {
169
+ return action.item['annotations']?.UI?.IsCopyAction !== undefined;
170
+ });
171
+ if (copyActionIndex > -1) {
172
+ addSingleHeaderActionV4(oDataServiceAVT, unCriticalActions[copyActionIndex], ux_specification_types_1.ActionType.Copy, appSchema, entityType, headerActions, nextIndex);
173
+ nextIndex++;
174
+ unCriticalActions.splice(copyActionIndex, 1);
175
+ }
176
+ }
177
+ /**
178
+ * Adds the critical header actions to schema
179
+ * @param {ActionListType[]} unCriticalActions - list of uncritical actions
180
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
181
+ * @param {Definition} appSchema - schema of the object page
182
+ * @param {EntityType} entityType - current entity type
183
+ * @param {Definition} headerActions - list of all header actions
184
+ * @param {number} nextIndex - index for propertyIndex
185
+ */
186
+ function addUncriticalActions(unCriticalActions, oDataServiceAVT, appSchema, entityType, headerActions, nextIndex) {
187
+ for (const action of unCriticalActions) {
188
+ addSingleHeaderActionV4(oDataServiceAVT, action, ux_specification_types_1.ActionType.Annotation, appSchema, entityType, headerActions, nextIndex);
189
+ nextIndex++;
190
+ }
191
+ }
192
+ /**
193
+ * Fills the annotationPath of the given schema definition, by checking first the EntitySet annotation, then the EntityType annotation.
194
+ * @param {Definition} schemaDefinition - current definition in the schema
195
+ * @param {EntitySet} entitySet - current entity set
196
+ * @param {EntityType} entityType - current entity type
197
+ * @param {string} annotationName - name of the annotation term to be checked
198
+ */
199
+ function setAnnotationPathFromEntitySetOrEntityType(schemaDefinition, entitySet, entityType, annotationName) {
200
+ if (entitySet?.annotations?.UI?.[annotationName] || !entityType?.annotations?.UI?.[annotationName]) {
201
+ schemaDefinition[ux_specification_types_1.SchemaTag.annotationPath] =
202
+ `/${entitySet.fullyQualifiedName}/${ux_specification_types_1.UIVOCABULARYALPHADOT}${annotationName}`;
203
+ }
204
+ else {
205
+ schemaDefinition[ux_specification_types_1.SchemaTag.annotationPath] =
206
+ `/${entityType.fullyQualifiedName}/${ux_specification_types_1.UIVOCABULARYALPHADOT}${annotationName}`;
207
+ }
208
+ }
209
+ /**
210
+ * Callback for adding a single action to headerActions of V4
211
+ * @param {EntityType} entityType - current entity type
212
+ * @param {Definition} appSchema - schema of the object page
213
+ * @param {any} identification - UI.Identification annotation as present in AVT ConvertedMetadata
214
+ * @param {Definition} headerActions - list of header actions, to be enhanced
215
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
216
+ * @param {EntitySet} entitySet - current entity set
217
+ */
218
+ function addHeaderActionCallBackV4(entityType, appSchema, identification, headerActions, oDataServiceAVT, entitySet) {
219
+ //Build groups of action types
220
+ const { criticalActions = [], unCriticalActions = [] } = identification ? groupByCriticality(identification) : {};
221
+ addCriticalActions(criticalActions, oDataServiceAVT, appSchema, entityType, headerActions);
222
+ if (entitySet) {
223
+ const isDeletable = (0, utils_3.isEntityDeletable)(entitySet);
224
+ const isUpdatable = (0, utils_3.isEntityUpdatable)(entitySet);
225
+ // Add standard header actions
226
+ // If ReadOnly, and all capabilities restrictions are set to true or When nothing exists i.e. no capabilities annotation and no draft root, show only Delete button
227
+ // If DraftRoot + DraftNode and dynamic value for restriction - show Edit and Delete, if bool == false then hide the button
228
+ if ((0, utils_3.isDraftEnabled)(entitySet) && isUpdatable) {
229
+ const editAction = addStandardHeaderAction('Edit', appSchema, headerActions, criticalActions.length);
230
+ setAnnotationPathFromEntitySetOrEntityType(editAction, entitySet, entityType, 'UpdateHidden');
231
+ }
232
+ if (isDeletable) {
233
+ const deleteAction = addStandardHeaderAction('Delete', appSchema, headerActions, criticalActions.length + 1);
234
+ setAnnotationPathFromEntitySetOrEntityType(deleteAction, entitySet, entityType, 'DeleteHidden');
235
+ }
236
+ }
237
+ const nextIndex = criticalActions.length + 2;
238
+ //Check if isCopyAction is defined, this gets rendered first after delete
239
+ addCopyAction(unCriticalActions, oDataServiceAVT, appSchema, entityType, headerActions, nextIndex);
240
+ addUncriticalActions(unCriticalActions, oDataServiceAVT, appSchema, entityType, headerActions, nextIndex);
241
+ }
242
+ /**
243
+ * Callback for adding a single action to footerActions of V4
244
+ * @param {EntityType} entityType - current entity type
245
+ * @param {Definition} appSchema - schema of the object page
246
+ * @param {Definition} footerActions - list of footer actions, to be enhanced
247
+ * @param {any} identification - UI.Identification annotation as present in AVT ConvertedMetadata
248
+ */
249
+ function addFooterActionCallBackV4(entityType, appSchema, footerActions, identification) {
250
+ const criticalActions = [];
251
+ const unCriticalActions = [];
252
+ identification.forEach((item, index) => {
253
+ if (item['Determining'] && item.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */) {
254
+ if (item['Criticality']) {
255
+ criticalActions.push({ index, item });
256
+ }
257
+ else {
258
+ unCriticalActions.push({ index, item });
259
+ }
260
+ }
261
+ });
262
+ for (let index = 0; index < criticalActions.length; index++) {
263
+ const action = criticalActions[index];
264
+ addSingleFooterAction(action, ux_specification_types_1.ActionType.Criticality, entityType, appSchema, footerActions, index);
265
+ }
266
+ for (let index = 0; index < unCriticalActions.length; index++) {
267
+ const action = unCriticalActions[index];
268
+ addSingleFooterAction(action, ux_specification_types_1.ActionType.Annotation, entityType, appSchema, footerActions, criticalActions.length + index);
269
+ }
270
+ }
271
+ /**
272
+ * Object Page specific enhancements to addCustomColumnDefinition
273
+ * @param {object} appSchema - app schema of the object page
274
+ * @param {SapUiAppPageV4} v4Page Current page in manifest
275
+ * @param {string} lineItemId - identifier of the current table in schema
276
+ * @param {string} facetIdInManifest - identifier of the current object page section in manifest
277
+ * @param {ExtensionLogger} logger - logger for exceptions
278
+ */
279
+ function addCustomColumnsOP(appSchema, v4Page, lineItemId, facetIdInManifest, logger) {
280
+ // Create type specific copy of 'TableCustomColumnOP'
281
+ const useDefinitionAsKey = lineItemId !== ux_specification_types_1.DefinitionName.LineItems &&
282
+ lineItemId !== 'LineItemsOfSPV::LineItem' &&
283
+ lineItemId !== `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
284
+ const customColumDefinitionKey = useDefinitionAsKey
285
+ ? `${ux_specification_types_1.DefinitionName.CustomColumnOP}<${lineItemId}>`
286
+ : ux_specification_types_1.DefinitionName.CustomColumnOP;
287
+ const customColumnDefinition = appSchema.definitions[customColumDefinitionKey];
288
+ customColumnDefinition[ux_specification_types_1.SchemaTag.isViewNode] = true;
289
+ customColumnDefinition.description = 'Custom Column';
290
+ // Update definitions for type specific custom columns
291
+ const schemaId = `${ux_specification_types_1.DefinitionName.CustomColumnOP}<${lineItemId}>`;
292
+ (0, utils_2.addCustomColumnDefinition)(appSchema, v4Page, logger, schemaId, lineItemId, facetIdInManifest);
293
+ const facetKey = useDefinitionAsKey ? lineItemId : ux_specification_types_1.DefinitionName.PositionOP;
294
+ (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.PositionOP, facetKey, appSchema, useDefinitionAsKey);
295
+ const positionId = useDefinitionAsKey ? `${ux_specification_types_1.DefinitionName.PositionOP}<${lineItemId}>` : ux_specification_types_1.DefinitionName.PositionOP;
296
+ customColumnDefinition.properties.position.$ref = `${common_1.DEFINITION_LINK_PREFIX}${positionId}`;
297
+ (0, utils_2.addFragmentEnumForAnchor)(appSchema, lineItemId, v4Page, positionId, facetIdInManifest.replace(/::/g, '/'));
298
+ }
299
+ /**
300
+ * Object Page specific enhancements to addCustomColumnDefinition
301
+ * @param {object} appSchema - app schema of the object page
302
+ * @param {SapUiAppPageV4} v4Page Current page in manifest
303
+ * @param {string} lineItemId - identifier of the current table in schema
304
+ * @param {string} facetIdInManifest - identifier of the current object page section in manifest
305
+ * @param {ExtensionLogger} logger - logger for exceptions
306
+ */
307
+ function addTableCustomActionsOP(appSchema, v4Page, lineItemId, facetIdInManifest, logger) {
308
+ // Create type specific copy of 'TableCustomActionOP'
309
+ const useDefinitionAsKey = lineItemId !== ux_specification_types_1.DefinitionName.LineItems &&
310
+ lineItemId !== 'LineItemsOfSPV::LineItem' &&
311
+ lineItemId !== `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
312
+ const customActionDefinitionKey = useDefinitionAsKey
313
+ ? `${ux_specification_types_1.DefinitionName.CustomTableActionOP}<${lineItemId}>`
314
+ : ux_specification_types_1.DefinitionName.CustomTableActionOP;
315
+ const customActionDefinition = appSchema.definitions[customActionDefinitionKey];
316
+ customActionDefinition[ux_specification_types_1.SchemaTag.isViewNode] = true;
317
+ customActionDefinition.description = CUSTOM_ACTION_DEFINITION_DESCRIPTION;
318
+ // Update definitions for type specific custom columns
319
+ const schemaId = `${ux_specification_types_1.DefinitionName.CustomTableActionOP}<${lineItemId}>`;
320
+ const schemaIdForActions = `${ux_specification_types_1.DefinitionName.Actions}<${(0, common_1.prepareRef)(lineItemId)}>`;
321
+ (0, utils_2.addCustomActionDefinition)(appSchema, v4Page, logger, schemaId, schemaIdForActions, facetIdInManifest);
322
+ const facetKey = useDefinitionAsKey ? lineItemId : ux_specification_types_1.DefinitionName.CustomActionPositionOP;
323
+ (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.CustomActionPositionOP, facetKey, appSchema, useDefinitionAsKey);
324
+ // Anchor selection
325
+ const positionId = useDefinitionAsKey
326
+ ? `${ux_specification_types_1.DefinitionName.CustomActionPositionOP}<${lineItemId}>`
327
+ : ux_specification_types_1.DefinitionName.CustomActionPositionOP;
328
+ customActionDefinition.properties.position.$ref = `${common_1.DEFINITION_LINK_PREFIX}${positionId}`;
329
+ (0, utils_2.addEnumForActionAnchor)(appSchema, schemaIdForActions, positionId);
330
+ }
331
+ /**
332
+ * Object Page specific custom action enhancements to header and footer
333
+ * @param {object} appSchema - app schema of the object page
334
+ * @param {SapUiAppPageV4} v4Page - current page in manifest
335
+ * @param {DefinitionName} customActionDefinitionKey - custom action key used in definitions
336
+ * @param {ExtensionLogger} logger - logger for exceptions
337
+ */
338
+ function addHeaderFooterCustomActionsOP(appSchema, v4Page, customActionDefinitionKey, logger) {
339
+ const customActionDefinition = appSchema.definitions[customActionDefinitionKey];
340
+ customActionDefinition[ux_specification_types_1.SchemaTag.isViewNode] = true;
341
+ customActionDefinition.description = CUSTOM_ACTION_DEFINITION_DESCRIPTION;
342
+ const schemaIdForActions = customActionDefinitionKey === ux_specification_types_1.DefinitionName.CustomHeaderActionOP
343
+ ? ux_specification_types_1.DefinitionName.ObjectPageHeaderActions
344
+ : ux_specification_types_1.DefinitionName.FooterActions;
345
+ (0, utils_1.addHeaderFooterCustomActionDefinition)(appSchema, v4Page, logger, customActionDefinitionKey, schemaIdForActions);
346
+ const facetKey = customActionDefinitionKey === ux_specification_types_1.DefinitionName.CustomHeaderActionOP
347
+ ? ux_specification_types_1.DefinitionName.CustomHeaderActionPositionOP
348
+ : ux_specification_types_1.DefinitionName.CustomFooterActionPositionOP;
349
+ (0, common_1.parseSchemaDefinition)(facetKey, facetKey, appSchema, false);
350
+ // Anchor selection
351
+ customActionDefinition.properties.position.$ref = `${common_1.DEFINITION_LINK_PREFIX}${facetKey}`;
352
+ (0, utils_2.addEnumForActionAnchor)(appSchema, schemaIdForActions, facetKey);
353
+ if (appSchema.definitions[schemaIdForActions]) {
354
+ appSchema.definitions[schemaIdForActions].additionalProperties = {
355
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}${customActionDefinitionKey}`
356
+ };
357
+ }
358
+ }
359
+ /**
360
+ * Object Page specific enhancements to handleFormIdentification
361
+ * @param {object} appSchema - app schema of the object page
362
+ * @param {SapUiAppPageV4} v4Page - current page in manifest
363
+ * @param {string} formItemId - identifier of the current form in schema
364
+ * @param {string} facetIdInManifest - identifier of the current object page section in manifest
365
+ * @param {ExtensionLogger} logger - logger for exceptions
366
+ */
367
+ function addFormCustomActionsOP(appSchema, v4Page, formItemId, facetIdInManifest, logger) {
368
+ const customActionDefinitionKey = `${ux_specification_types_1.DefinitionName.CustomFormActionOP}<${formItemId}>`;
369
+ const customActionDefinition = appSchema.definitions[customActionDefinitionKey];
370
+ customActionDefinition[ux_specification_types_1.SchemaTag.isViewNode] = true;
371
+ customActionDefinition.description = CUSTOM_ACTION_DEFINITION_DESCRIPTION;
372
+ const schemaId = `${ux_specification_types_1.DefinitionName.CustomFormActionOP}<${formItemId}>`;
373
+ const schemaIdForActions = `${ux_specification_types_1.DefinitionName.SectionActions}<${(0, common_1.prepareRef)(formItemId)}>`;
374
+ (0, utils_2.addCustomActionDefinition)(appSchema, v4Page, logger, schemaId, schemaIdForActions, facetIdInManifest);
375
+ (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.CustomActionPositionOP, formItemId, appSchema, true);
376
+ // Anchor selection
377
+ const positionId = `${ux_specification_types_1.DefinitionName.CustomActionPositionOP}<${formItemId}>`;
378
+ customActionDefinition.properties.position.$ref = `${common_1.DEFINITION_LINK_PREFIX}${positionId}`;
379
+ (0, utils_2.addEnumForActionAnchor)(appSchema, schemaIdForActions, positionId);
380
+ if (appSchema.definitions[schemaIdForActions]) {
381
+ appSchema.definitions[schemaIdForActions].additionalProperties = {
382
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}${customActionDefinitionKey}`
383
+ };
384
+ }
385
+ }
386
+ /**
387
+ * Adds definitions for line items in object page sections to the app schema
388
+ * @param {FacetConfig} facet - the given facet from the UI annotations
389
+ * @param {string} facetKey - key of the facet, as used in annotation
390
+ * @param {Definition} appSchema - app schema of the object page
391
+ * @param {object} lineItemFacet - current lineItem facet
392
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
393
+ * @param {SapUiAppPageV4} v4Page Current page in manifest
394
+ * @param {ExtensionLogger} logger - logger for exceptions
395
+ */
396
+ function handleLineItem(facet, facetKey, appSchema, lineItemFacet, oDataServiceAVT, v4Page, logger) {
397
+ const lineItemId = (0, common_1.getFacetKeyInSchema)(facetKey);
398
+ const index = facetKey.lastIndexOf('::');
399
+ const annotation = index > -1 ? facetKey.substring(index + 2) : facetKey;
400
+ const tableDefinition = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageTable, facetKey, appSchema);
401
+ if (facet.entityType && annotation) {
402
+ tableDefinition[ux_specification_types_1.SchemaTag.annotationPath] = `/${facet.entityType.fullyQualifiedName}/${annotation}`;
403
+ }
404
+ tableDefinition.properties.columns = {
405
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}${lineItemId}`
406
+ };
407
+ tableDefinition.properties.toolBar.$ref = (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageToolBar, facetKey);
408
+ //adjust quickVariantSelection
409
+ tableDefinition.properties.quickVariantSelection.$ref = (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.QuickVariantSelectionV4OP, facetKey);
410
+ const tableQVS = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.QuickVariantSelectionV4OP, facetKey, appSchema);
411
+ tableQVS.properties.paths['items'].$ref = (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.AnnotationPathAsObject, facetKey);
412
+ (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.AnnotationPathAsObject, facetKey, appSchema);
413
+ (0, common_1.addEnumForSingleTabVariant)(facet.entityType, appSchema, `${ux_specification_types_1.DefinitionName.AnnotationPathAsObject}<${lineItemId}>`);
414
+ const dataForLineItem = {
415
+ appSchema,
416
+ lineItemAnnotation: lineItemFacet['target'],
417
+ entityType: lineItemFacet['entityType'],
418
+ oDataServiceAVT,
419
+ lineItemId
420
+ };
421
+ (0, utils_2.addLineItemsTypeToSchema)(dataForLineItem, ux_specification_types_1.DefinitionName.ObjectPageTableColumn, ux_specification_types_1.DefinitionName.CustomColumnOP, ux_specification_types_1.DefinitionName.CustomTableActionOP);
422
+ addCustomColumnsOP(appSchema, v4Page, lineItemId, facetKey, logger);
423
+ addTableCustomActionsOP(appSchema, v4Page, lineItemId, facetKey, logger);
424
+ return tableDefinition;
425
+ }
426
+ /**
427
+ * Adds definitions for table section in object page sections to the app schema
428
+ * @param {FacetConfig} facet - current facet
429
+ * @param {string} facetKey - facet key
430
+ * @param {Definition} appSchema - app specific schema of the object page that gets enhanced
431
+ * @param {object} lineItemFacet - current lineItem facet
432
+ * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
433
+ * @param {SapUiAppPageV4} v4Page Current page in manifest
434
+ * @param {Definition} sections - schema of current sections definition.
435
+ * @returns {object} sectionTable - section of app schema containing added table section
436
+ */
437
+ function handleSectionTable(facet, facetKey, appSchema, lineItemFacet, generateParameters, v4Page, sections) {
438
+ if (sections) {
439
+ sections.properties[facetKey] = {
440
+ $ref: (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageSectionTableV4, facetKey)
441
+ };
442
+ }
443
+ const sectionTable = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageSectionTableV4, facetKey, appSchema);
444
+ (0, common_1.addSectionTitleAndDescription)(facet, sectionTable, (0, common_1.getFacetKeyInSchema)(facetKey));
445
+ sectionTable[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
446
+ sectionTable[ux_specification_types_1.SchemaTag.target] = facet.namespace;
447
+ sectionTable.properties.table['$ref'] = (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageTable, facetKey);
448
+ const table = handleLineItem(facet, facetKey, appSchema, lineItemFacet, generateParameters.serviceAVT, v4Page, generateParameters.logger);
449
+ return { sectionTable, table };
450
+ }
451
+ /**
452
+ * Adds definitions for Identification and Form facet items in object page sections to the app schema
453
+ * @param {FacetConfig} facet - current facet
454
+ * @param {v4.SapUiAppPageV4} v4Page Current page in manifest
455
+ * @param {string} facetKey - facet key
456
+ * @param {object} sections - schema of current sections definition
457
+ * @param {object} appSchema - app specific schema of the object page that gets enhanced
458
+ * @param {SectionType} sectionPrefix - prefix to distinguish Section and HeaderSection
459
+ * @param {ExtensionLogger} logger - logger for exceptions
460
+ */
461
+ function handleFormIdentification(facet, v4Page, facetKey, sections, appSchema, sectionPrefix, logger) {
462
+ let definitionType;
463
+ if (sectionPrefix === ux_specification_types_1.SectionType.Section) {
464
+ definitionType = ux_specification_types_1.DefinitionName.ObjectPageSectionForm;
465
+ }
466
+ else if (sectionPrefix === ux_specification_types_1.SectionType.HeaderSection) {
467
+ definitionType = ux_specification_types_1.DefinitionName.ObjectPageHeaderSectionForm;
468
+ }
469
+ sections['properties'][facetKey] = {
470
+ $ref: (0, common_1.getFacetDefinitionLink)(definitionType, facetKey)
471
+ };
472
+ const formSection = (0, common_1.parseSchemaDefinition)(definitionType, facetKey, appSchema);
473
+ if (!facet.ID) {
474
+ formSection.properties = {};
475
+ }
476
+ (0, common_1.addSectionTitleAndDescription)(facet, formSection, facetKey);
477
+ formSection[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
478
+ formSection[ux_specification_types_1.SchemaTag.target] = facet.namespace;
479
+ formSection[ux_specification_types_1.SchemaTag.isViewNode] = true;
480
+ const targetId = (0, common_1.handleForm)(sectionPrefix, facet, formSection, appSchema, ux_specification_types_1.FioriElementsVersion.v4, facetKey);
481
+ if (facet.base === ux_specification_types_1.FacetBase.Form) {
482
+ const formItemId = (0, common_1.getFacetKeyInSchema)(facetKey);
483
+ (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.CustomFormActionOP, targetId, appSchema);
484
+ addFormCustomActionsOP(appSchema, v4Page, targetId, formItemId, logger);
485
+ }
486
+ }
487
+ /**
488
+ * Adds definitions for header sections (DataPoint, Chart) in object page sections to the app schema
489
+ * @param {FacetConfig} facet - current facet
490
+ * @param {string} facetKey - facet key
491
+ * @param {object} sections - schema of current sections definition
492
+ * @param {object} appSchema - app specific schema of the object page that gets enhanced
493
+ * @param {SectionType} facetDefinitionKey - key to identify new definition
494
+ */
495
+ function handleHeaderFacet(facet, facetKey, sections, appSchema, facetDefinitionKey) {
496
+ sections['properties'][facetKey] = {
497
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}${facetDefinitionKey}`
498
+ };
499
+ const sectionFacet = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.CommonHeaderFacetSettings, facetDefinitionKey, appSchema, false);
500
+ (0, common_1.addTargetTitleAndSectionDescription)(facet, sectionFacet, facetKey);
501
+ sectionFacet[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
502
+ sectionFacet[ux_specification_types_1.SchemaTag.target] = facet.namespace;
503
+ sectionFacet[ux_specification_types_1.SchemaTag.dataType] = (0, common_1.determineDataTypeOfTarget)(facet?.target);
504
+ sectionFacet[ux_specification_types_1.SchemaTag.isViewNode] = true;
505
+ }
506
+ /**
507
+ * Adds definitions for Chart items in object page sections to the app schema
508
+ * @param {FacetConfig | Chart | object} facet - current facet.
509
+ * @param {string} facetKey - facet key.
510
+ * @param {object} appSchema - app specific schema of the object page that gets enhanced.
511
+ * @param {EntityType} entityType - current entity type
512
+ */
513
+ function handleChartActions(facet, facetKey, appSchema, entityType) {
514
+ const actions = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageToolBarActions, facetKey, appSchema);
515
+ actions.additionalProperties = false;
516
+ actions.properties = {};
517
+ if (facet.Actions) {
518
+ let i = 0;
519
+ facet.Actions.forEach((actionRecord) => {
520
+ const description = (0, common_1.getDataFieldDescription)(actionRecord, entityType);
521
+ const prefix = actionRecord.$Type.split(ux_specification_types_1.UIVOCABULARYDOT)[1];
522
+ const actionId = actionRecord.Action.replace('/', '::');
523
+ const toolBarActionsProperty = (actions.properties[`${prefix}::${actionRecord.Action}`] = {
524
+ $ref: (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageToolBarAction, actionId),
525
+ description
526
+ });
527
+ toolBarActionsProperty[ux_specification_types_1.SchemaTag.propertyIndex] = i;
528
+ toolBarActionsProperty[ux_specification_types_1.SchemaTag.annotationType] = actionRecord.$Type;
529
+ const toolBarAction = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageToolBarAction, (0, common_1.prepareRef)(actionId), appSchema);
530
+ toolBarAction[ux_specification_types_1.SchemaTag.annotationPath] = (0, common_1.getFacetAnnotationPath)(actionRecord);
531
+ toolBarAction[ux_specification_types_1.SchemaTag.dataType] = (0, common_1.determineDataType)(actionRecord);
532
+ toolBarAction.properties = {};
533
+ i++;
534
+ });
535
+ }
536
+ return actions;
537
+ }
538
+ /**
539
+ * Adds definitions for Chart items in object page sections to the app schema
540
+ * @param {FacetConfig | Chart | object} facet - current facet.
541
+ * @param {string} facetKey - facet key.
542
+ * @param {object} appSchema - app specific schema of the object page that gets enhanced.
543
+ * @param {EntityType} entityType - current entity type
544
+ */
545
+ function handleChart(facet, facetKey, appSchema, entityType) {
546
+ const chart = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageChart, facetKey, appSchema);
547
+ if (facet['Title']) {
548
+ chart.description = facet['Title'];
549
+ }
550
+ chart[ux_specification_types_1.SchemaTag.annotationPath] = (0, common_1.getFacetAnnotationPath)(facet);
551
+ chart[ux_specification_types_1.SchemaTag.dataType] = (0, common_1.determineDataTypeOfTarget)(facet.target || facet);
552
+ chart[ux_specification_types_1.SchemaTag.isViewNode] = true;
553
+ chart.properties.toolBar['$ref'] = (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageToolBar, facetKey);
554
+ const chartToolBar = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageToolBar, facetKey, appSchema);
555
+ chartToolBar.properties.actions['$ref'] = (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageToolBarActions, facetKey);
556
+ const chartActions = handleChartActions(facet, facetKey, appSchema, entityType);
557
+ return { chart, chartActions };
558
+ }
559
+ /**
560
+ * Adds definitions for Chart section in object page sections to the app schema
561
+ * @param {FacetConfig} facet - current facet.
562
+ * @param {string} facetKey - facet key.
563
+ * @param {object} appSchema - app specific schema of the object page that gets enhanced.
564
+ * @param {object} sections - schema of current sections definition.
565
+ * @param {EntityType} entityType - current entity type
566
+ */
567
+ function handleSectionChart(facet, facetKey, appSchema, sections, entityType = facet.entityType) {
568
+ if (sections) {
569
+ sections.properties[facetKey] = {
570
+ $ref: (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageSectionChart, facetKey)
571
+ };
572
+ }
573
+ const sectionChart = (0, common_1.parseSchemaDefinition)(ux_specification_types_1.DefinitionName.ObjectPageSectionChart, facetKey, appSchema);
574
+ (0, common_1.addTargetTitleAndSectionDescription)(facet, sectionChart, facetKey);
575
+ sectionChart[ux_specification_types_1.SchemaTag.annotationPath] = (0, common_1.getFacetAnnotationPath)(facet);
576
+ sectionChart.properties.chart['$ref'] = (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageChart, facetKey);
577
+ const { chart, chartActions } = handleChart(facet.target || facet, facetKey, appSchema, entityType);
578
+ return { sectionChart, chart, chartActions };
579
+ }
580
+ /**
581
+ * Adds definitions for (selection) presentation variants in object page sections to the app schema
582
+ * @param {FacetConfig} facet - the given facet from the UI annotations
583
+ * @param {string} facetKey - key of the facet, as used in annotation
584
+ * @param {Definition} appSchema - app schema of the object page
585
+ * @param {object} sections - schema of current sections definition.
586
+ * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
587
+ * @param {SapUiAppPageV4} v4Page Current page in manifest
588
+ */
589
+ function handleSectionPresentationVariant(facet, facetKey, appSchema, sections, generateParameters, v4Page) {
590
+ let facetTarget, visualizationKey, target;
591
+ if (!facet?.target) {
592
+ (0, extensionLogger_1.log)(generateParameters.logger, {
593
+ severity: "error" /* LogSeverity.Error */,
594
+ message: i18next_1.default.t('NOPRESENTATIONVARIANT', { key: facetKey })
595
+ });
596
+ return;
597
+ }
598
+ //Distinguish SPV and PV
599
+ const visualizations = facet.target['PresentationVariant']
600
+ ? facet.target['PresentationVariant'].Visualizations
601
+ : facet.target['Visualizations'];
602
+ const navPath = facetKey.lastIndexOf('::') > 0 ? facetKey.slice(0, facetKey.lastIndexOf('::')) : undefined;
603
+ if (visualizations?.[0]) {
604
+ if (visualizations[0].$target) {
605
+ facetTarget = visualizations[0].$target;
606
+ visualizationKey =
607
+ '@' +
608
+ (0, common_1.replaceAlias)(`${facetTarget.fullyQualifiedName.split('@')[1].split('/')[0]}`, generateParameters.serviceAVT);
609
+ target = facetTarget;
610
+ }
611
+ else {
612
+ facetTarget = visualizations[0];
613
+ visualizationKey =
614
+ '@' +
615
+ (0, common_1.replaceAlias)(`${facetTarget.targetString.split('@')[1].split('/')[0]}`, generateParameters.serviceAVT);
616
+ const navigationProp = generateParameters.entityType.navigationProperties.find((prop) => {
617
+ return prop.name === navPath;
618
+ });
619
+ const targetType = navigationProp.targetType;
620
+ const visualization = visualizationKey?.split(ux_specification_types_1.UIVOCABULARYDOT)[1];
621
+ target = visualization && targetType?.annotations?.UI[visualization];
622
+ }
623
+ }
624
+ if (facetTarget) {
625
+ const visualizationType = visualizationKey.split(ux_specification_types_1.UIVOCABULARYDOT)[1];
626
+ const namespace = facet.target[ux_specification_types_1.SchemaTag.fullyQualifiedName].split('@')[0];
627
+ const fullVisualizationKey = navPath ? `${navPath}::${visualizationKey}` : visualizationKey;
628
+ if (visualizationType.startsWith(ux_specification_types_1.Visualization.Chart)) {
629
+ sections.properties[`${facetKey}<${visualizationKey}>`] = {
630
+ $ref: (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageSectionChart, fullVisualizationKey)
631
+ };
632
+ const { sectionChart, chart } = handleSectionChart(facetTarget, fullVisualizationKey, appSchema, undefined, facet.entityType);
633
+ sectionChart[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
634
+ (0, common_1.addTargetTitleAndSectionDescription)(facet, sectionChart, facetKey);
635
+ chart[ux_specification_types_1.SchemaTag.annotationPath] = `/${namespace}/${visualizationKey}`;
636
+ chart[ux_specification_types_1.SchemaTag.target] = namespace;
637
+ }
638
+ else if (visualizationType.startsWith(ux_specification_types_1.Visualization.LineItem)) {
639
+ sections.properties[`${facetKey}<${visualizationKey}>`] = {
640
+ $ref: (0, common_1.getFacetDefinitionLink)(ux_specification_types_1.DefinitionName.ObjectPageSectionTableV4, fullVisualizationKey)
641
+ };
642
+ const { sectionTable, table } = handleSectionTable(facet, fullVisualizationKey, appSchema, { target, entityType: facet.entityType }, generateParameters, v4Page);
643
+ sectionTable[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
644
+ (0, common_1.addTargetTitleAndSectionDescription)(facet, sectionTable, facetKey);
645
+ delete sectionTable[ux_specification_types_1.SchemaTag.isViewNode];
646
+ table[ux_specification_types_1.SchemaTag.annotationPath] = `/${namespace}/${visualizationKey}`;
647
+ table[ux_specification_types_1.SchemaTag.target] = namespace;
648
+ }
649
+ }
650
+ }
651
+ /**
652
+ * Method checks if passed facet contains any collection facet.
653
+ * @param {FacetConfig} facet - facet to check
654
+ * @returns {boolean} Passed facet contains at least one collection facet
655
+ */
656
+ function containsCollectionFacet(facet) {
657
+ const childFacets = facet.facets || {};
658
+ for (const id in childFacets) {
659
+ const childFacet = childFacets[id];
660
+ if (childFacet.base === ux_specification_types_1.FacetBase.CollectionFacet) {
661
+ return true;
662
+ }
663
+ }
664
+ return false;
665
+ }
666
+ /**
667
+ * Object Page specific enhancements to addCustomColumnDefinition
668
+ * @param {object} appSchema - app schema of the object page
669
+ * @param {string} id - identifier of the current section facet
670
+ * @param {string[]} featureToggles - supported features
671
+ * @returns {string} Custom sub section reference id
672
+ */
673
+ function createCustomSubSectionReference(appSchema, id, featureToggles) {
674
+ const referenceId = `${ux_specification_types_1.DefinitionName.ObjectPageCustomSubSectionFragment}<${id}>`;
675
+ const sourceDefinition = appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageCustomSubSectionFragment];
676
+ if (typeof sourceDefinition === 'object') {
677
+ const relatedFacetSchema = typeof sourceDefinition.properties?.relatedFacet === 'object'
678
+ ? sourceDefinition.properties.relatedFacet
679
+ : {};
680
+ const newRef = {
681
+ ...sourceDefinition,
682
+ properties: {
683
+ ...sourceDefinition.properties,
684
+ relatedFacet: {
685
+ ...relatedFacetSchema,
686
+ type: 'string'
687
+ }
688
+ }
689
+ };
690
+ // Building blocks
691
+ if ((0, common_1.isFeatureSupported)(featureToggles, ux_specification_types_1.Features.BuildingBlocks)) {
692
+ newRef['properties']['controls'] = {
693
+ type: 'object'
694
+ };
695
+ }
696
+ appSchema.definitions[referenceId] = newRef;
697
+ }
698
+ return referenceId;
699
+ }
700
+ /**
701
+ * Common method updates schema for custom header sections or custom subsections.
702
+ * @param {Definition} sections - sections definition
703
+ * @param {Definition} appSchema - app schema of the object page
704
+ * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
705
+ * @param {SapUiAppPageV4} v4Page Current page in manifest
706
+ * @param {FacetConfig} facet - the given facet from the UI annotations
707
+ * @param {string} facetKey - key of the facet, as used in annotation
708
+ */
709
+ function applyCustomSections(sections, appSchema, generateParameters, v4Page, facet, facetKey) {
710
+ let isMergedSections = false;
711
+ let customSectionRef;
712
+ // facet and facetkey are used for custom subsection definition
713
+ if (facet && facetKey) {
714
+ isMergedSections = !containsCollectionFacet(facet);
715
+ customSectionRef = createCustomSubSectionReference(appSchema, facetKey, generateParameters.featureToggles);
716
+ }
717
+ else {
718
+ // else use custom header section definition
719
+ customSectionRef = ux_specification_types_1.DefinitionName.ObjectPageCustomHeaderSectionFragment;
720
+ }
721
+ sections.additionalProperties = {
722
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}${customSectionRef}`
723
+ };
724
+ (0, utils_1.addCustomSectionDefinition)(appSchema, sections, v4Page, customSectionRef, isMergedSections, facetKey, generateParameters.logger);
725
+ const sectionDefinition = appSchema.definitions[customSectionRef];
726
+ if (typeof sectionDefinition === 'object') {
727
+ (0, common_1.addDescriptiveEnumDefinition)(appSchema, sections, {
728
+ schema: sectionDefinition,
729
+ property: 'relatedFacet'
730
+ }, {
731
+ resolveDefinition: true,
732
+ keyProperties: [ux_specification_types_1.SchemaKeyName.id, ux_specification_types_1.SchemaKeyName.key],
733
+ descriptionAsFallback: true
734
+ });
735
+ }
736
+ const relatedFacet = sectionDefinition.properties.relatedFacet;
737
+ if (customSectionRef?.includes(ux_specification_types_1.DefinitionName.ObjectPageCustomSubSectionFragment) &&
738
+ isMergedSections &&
739
+ typeof relatedFacet === 'object') {
740
+ // Exclude annotation nodes
741
+ const section = v4Page.options?.settings?.content?.body?.sections?.[facetKey];
742
+ const subSections = section && 'subSections' in section ? section.subSections : {};
743
+ for (let i = relatedFacet.oneOf.length - 1; i >= 0; i--) {
744
+ const entry = relatedFacet.oneOf[i];
745
+ if (!subSections[entry.const]) {
746
+ entry.hidden = true;
747
+ }
748
+ }
749
+ }
750
+ }
751
+ /**
752
+ * Adds definitions for collections in object page sections to the app schema
753
+ * @param {FacetConfig} facet - the given facet from the UI annotations
754
+ * @param {string} facetKey - key of the facet, as used in annotation
755
+ * @param {Definition} appSchema - app schema of the object page
756
+ * @param {Definition} sections - schema of current sections definition.
757
+ * @param {SectionType} sectionPrefix - prefix to distinguish Section and HeaderSection
758
+ * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
759
+ * @param {SapUiAppPageV4} v4Page Current page in manifest
760
+ * @param {number} level Collection level in tree
761
+ */
762
+ function handleCollection(facet, facetKey, appSchema, sections, sectionPrefix, generateParameters, v4Page, level) {
763
+ const isCustomSubSectionsSupported = level === 0;
764
+ const collectionFacet = (sections.properties[facetKey] = (0, common_1.createDefaultSection)(appSchema, facet, facetKey));
765
+ const subsections = {
766
+ // Custom subsections are allowed on first level of subsections
767
+ additionalProperties: false,
768
+ type: 'object',
769
+ properties: {},
770
+ description: 'Subsections'
771
+ };
772
+ collectionFacet.properties = {
773
+ subsections
774
+ };
775
+ subsections[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
776
+ subsections[ux_specification_types_1.SchemaTag.target] = facet.namespace;
777
+ subsections[ux_specification_types_1.SchemaTag.keys] = [
778
+ {
779
+ name: ux_specification_types_1.SchemaKeyName.id,
780
+ value: facet.ID
781
+ }
782
+ ];
783
+ subsections[ux_specification_types_1.SchemaTag.isViewNode] = true;
784
+ const nextLevel = level + 1;
785
+ for (const key in facet.facets) {
786
+ addSection(generateParameters, facet.facets, key, subsections, appSchema, sectionPrefix, v4Page, nextLevel);
787
+ }
788
+ if (isCustomSubSectionsSupported) {
789
+ applyCustomSections(subsections, appSchema, generateParameters, v4Page, facet, facetKey);
790
+ }
791
+ }
792
+ /**
793
+ * Creates a section definition in app schema.
794
+ * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
795
+ * @param {FacetConfigs} facets - list of all facets
796
+ * @param {string} facetKey - facet key
797
+ * @param {object} sections - schema of current sections definition
798
+ * @param {object} appSchema - app specific schema of the object page that gets enhanced.
799
+ * @param {SectionType} sectionPrefix - prefix to distinguish Section and HeaderSection
800
+ * @param {SapUiAppPageV4} v4Page Current page in manifest
801
+ * @param {number} [level=0] Section level in tree
802
+ */
803
+ function addSection(generateParameters, facets, facetKey, sections, appSchema, sectionPrefix, v4Page, level = 0) {
804
+ const facet = facets[facetKey];
805
+ const facetDefinitionKey = `ObjectPage${sectionPrefix}${facet.base}<${(0, common_1.getFacetKeyInSchema)(facetKey)}>`;
806
+ switch (facet.base) {
807
+ case ux_specification_types_1.FacetBase.PresentationVariant: {
808
+ handleSectionPresentationVariant(facet, facetKey, appSchema, sections, generateParameters, v4Page);
809
+ break;
810
+ }
811
+ case ux_specification_types_1.FacetBase.SelectionPresentationVariant: {
812
+ handleSectionPresentationVariant(facet, facetKey, appSchema, sections, generateParameters, v4Page);
813
+ break;
814
+ }
815
+ case ux_specification_types_1.FacetBase.CollectionFacet: {
816
+ handleCollection(facet, facetKey, appSchema, sections, sectionPrefix, generateParameters, v4Page, level);
817
+ break;
818
+ }
819
+ case ux_specification_types_1.FacetBase.LineItem: {
820
+ if (sectionPrefix === ux_specification_types_1.SectionType.Section) {
821
+ const lineItemFacet = facets[facetKey];
822
+ handleSectionTable(facet, facetKey, appSchema, lineItemFacet, generateParameters, v4Page, sections);
823
+ }
824
+ break;
825
+ }
826
+ case ux_specification_types_1.FacetBase.Form:
827
+ case ux_specification_types_1.FacetBase.Identification: {
828
+ handleFormIdentification(facet, v4Page, facetKey, sections, appSchema, sectionPrefix, generateParameters.logger);
829
+ break;
830
+ }
831
+ case ux_specification_types_1.FacetBase.DataPoint: {
832
+ handleHeaderFacet(facet, facetKey, sections, appSchema, facetDefinitionKey);
833
+ break;
834
+ }
835
+ case ux_specification_types_1.FacetBase.Chart: {
836
+ if (sectionPrefix === ux_specification_types_1.SectionType.HeaderSection) {
837
+ handleHeaderFacet(facet, facetKey, sections, appSchema, facetDefinitionKey);
838
+ }
839
+ else if (sectionPrefix === ux_specification_types_1.SectionType.Section) {
840
+ handleSectionChart(facet, facetKey, appSchema, sections);
841
+ }
842
+ break;
843
+ }
844
+ case ux_specification_types_1.FacetBase.Address:
845
+ case ux_specification_types_1.FacetBase.Contact: {
846
+ (0, common_1.handleAddressContact)(facet, facetKey, sections, appSchema, sectionPrefix);
847
+ break;
848
+ }
849
+ default: {
850
+ sections['properties'][facetKey] = (0, common_1.createDefaultSection)(appSchema, facet, facetKey);
851
+ }
852
+ }
853
+ }
854
+ /**
855
+ * Derives the sections from the UI.Facets annotation and adds them to the schema
856
+ * @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
857
+ * @param {object} appSchema - application specific JSON schema of the object page
858
+ * @param {SapUiAppPageV4} v4Page - current page
859
+ */
860
+ function addSections(generateParameters, appSchema, v4Page) {
861
+ // Get facet annotations
862
+ const facets = (0, common_1.getObjectPageFacets)(generateParameters.entityType, generateParameters.serviceAVT, ux_specification_types_1.FioriElementsVersion.v4, generateParameters.logger);
863
+ if (!facets) {
864
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSubSections];
865
+ return;
866
+ }
867
+ const sections = appSchema.definitions[ux_specification_types_1.DefinitionName.Sections];
868
+ for (const facetKey in facets) {
869
+ addSection(generateParameters, facets, facetKey, sections, appSchema, ux_specification_types_1.SectionType.Section, v4Page);
870
+ }
871
+ // Custom sections as part of sections
872
+ if (appSchema.definitions[ux_specification_types_1.DefinitionName.CustomSections]) {
873
+ sections.properties = {
874
+ ...sections.properties,
875
+ ...appSchema.definitions[ux_specification_types_1.DefinitionName.CustomSections].properties
876
+ };
877
+ }
878
+ }
879
+ /**
880
+ * Derives the header sections from the UI.HeaderFacets annotation and adds them to the schema
881
+ * @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
882
+ * @param {object} appSchema - application specific JSON schema of the object page
883
+ * @param {EntityType} entityType - current entity type
884
+ * @param {SapUiAppPageV4} v4Page - current page in manifest
885
+ */
886
+ function addHeaderSections(generateParameters, appSchema, entityType, v4Page) {
887
+ // Get facet annotations
888
+ const facets = (0, common_1.getObjectPageHeaderFacets)(entityType, generateParameters.serviceAVT, ux_specification_types_1.FioriElementsVersion.v4, generateParameters.logger);
889
+ const sections = appSchema.definitions[ux_specification_types_1.DefinitionName.HeaderSections];
890
+ sections.properties = {};
891
+ sections.additionalProperties = false;
892
+ if (!facets) {
893
+ return;
894
+ }
895
+ // add annotation header sections
896
+ for (const facetKey in facets) {
897
+ addSection(generateParameters, facets, facetKey, sections, appSchema, ux_specification_types_1.SectionType.HeaderSection, v4Page);
898
+ }
899
+ // add custom header sections
900
+ applyCustomSections(sections, appSchema, generateParameters, v4Page);
901
+ //delete generic definitions
902
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageHeaderSectionForm];
903
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageHeaderSectionChart];
904
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageHeaderSectionDataPoint];
905
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageHeaderSectionContact];
906
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageHeaderSectionAddress];
907
+ }
908
+ /**
909
+ * Adds the related facets keys 'enum' to the app schema
910
+ * @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
911
+ * @param {object} schema - app specific schema of the object page that gets enhanced
912
+ * @param {SapUiAppPageV4[]} pages - list of all pages
913
+ * @param {string} contextPath - contextPath of the actual (object) page
914
+ */
915
+ function addRelatedFacetKeysType(generateParameters, schema, pages, contextPath) {
916
+ Object.keys(pages).forEach((element) => {
917
+ if (pages[element].options &&
918
+ pages[element].options.settings &&
919
+ (pages[element].options.settings.entitySet === generateParameters?.entitySet?.name ||
920
+ (contextPath && pages[element].options.settings.contextPath === contextPath)) &&
921
+ pages[element].name === ux_specification_types_1.v4.FE_TEMPLATE_V4_OBJECT_PAGE) {
922
+ // Find sections from annotation
923
+ const facetSections = (0, common_1.getObjectPageFacetSection)(generateParameters.entityType, generateParameters.serviceAVT, generateParameters.logger);
924
+ // Find custom sections ids from manifest
925
+ const page = pages[element];
926
+ const customSections = page.options?.settings?.content?.body?.sections;
927
+ if (customSections) {
928
+ for (const key in customSections) {
929
+ const customSection = customSections[key];
930
+ // Avoid duplications
931
+ if (!facetSections.some((section) => section.key === key)) {
932
+ facetSections.push({
933
+ key,
934
+ title: customSection['title'],
935
+ custom: true
936
+ });
937
+ }
938
+ }
939
+ }
940
+ // Update schema definition
941
+ (0, common_1.addDefinitionForRelatedFacetKeys)(schema, [ux_specification_types_1.DefinitionName.ObjectPageCustomSectionFragment], facetSections, [
942
+ 'ID',
943
+ 'label',
944
+ 'key'
945
+ ]);
946
+ }
947
+ });
948
+ }
949
+ /**
950
+ * Add Object Page Header to app-specific schema
951
+ * @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
952
+ * @param {Definition} appSchema Schema of the object page
953
+ * @param {SapUiAppPageV4} v4Page - current page in manifest
954
+ */
955
+ function addHeader(generateParameters, appSchema, v4Page) {
956
+ const entityType = generateParameters.entityType;
957
+ (0, common_1.addCommonHeaderSchema)(appSchema, entityType);
958
+ // Add header actions
959
+ (0, common_1.addHeaderActions)(appSchema, entityType, generateParameters.entitySet, generateParameters.serviceAVT, addHeaderActionCallBackV4);
960
+ // Add custom header actions
961
+ addHeaderFooterCustomActionsOP(appSchema, v4Page, ux_specification_types_1.DefinitionName.CustomHeaderActionOP, generateParameters.logger);
962
+ // Add header sections
963
+ if (entityType) {
964
+ appSchema.definitions[ux_specification_types_1.DefinitionName.HeaderSections][ux_specification_types_1.SchemaTag.annotationPath] =
965
+ `/${entityType.fullyQualifiedName}/@${"com.sap.vocabularies.UI.v1.HeaderFacets" /* UIAnnotationTerms.HeaderFacets */}`;
966
+ }
967
+ addHeaderSections(generateParameters, appSchema, entityType, v4Page);
968
+ }
969
+ /**
970
+ * Generates an app specific schema out of the generic schema.
971
+ * Generic types are replaced by information from the app specific annotations.
972
+ * @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
973
+ * @param {object} genericSchema - generic JSON schema of an object page
974
+ * @param {string} contextPath - contextPath of the given page
975
+ * @param {object} genericMacrosSchema - generic JSON schema of custom page
976
+ *
977
+ * @returns the app specific JSON schema
978
+ */
979
+ function generateObjectPageSchemaV4(generateParameters, genericSchema, contextPath, genericMacrosSchema) {
980
+ const appSchema = JSON.parse(JSON.stringify(genericSchema));
981
+ // Change reference to generated sections
982
+ appSchema.properties.sections = {
983
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.DefinitionName.Sections}`
984
+ };
985
+ if (!generateParameters.manifest[ux_specification_types_1.ManifestSection.ui5].routing ||
986
+ !generateParameters.manifest[ux_specification_types_1.ManifestSection.ui5].routing.targets) {
987
+ (0, extensionLogger_1.log)(generateParameters.logger, {
988
+ severity: "error" /* LogSeverity.Error */,
989
+ message: i18next_1.default.t('NOROUTING'),
990
+ location: {
991
+ path: ux_specification_types_1.MANIFESTPATH
992
+ }
993
+ });
994
+ return appSchema;
995
+ }
996
+ //initialize sections
997
+ const sections = (appSchema.definitions[ux_specification_types_1.DefinitionName.Sections] = {
998
+ type: 'object',
999
+ properties: {},
1000
+ additionalProperties: false,
1001
+ description: ux_specification_types_1.DefinitionName.Sections
1002
+ });
1003
+ sections[ux_specification_types_1.SchemaTag.isViewNode] = true;
1004
+ if (generateParameters.entityType) {
1005
+ const pages = generateParameters.manifest[ux_specification_types_1.ManifestSection.ui5].routing
1006
+ .targets;
1007
+ if (!pages) {
1008
+ (0, extensionLogger_1.log)(generateParameters.logger, {
1009
+ severity: "error" /* LogSeverity.Error */,
1010
+ message: i18next_1.default.t('NOPAGES', { appId: generateParameters.manifest['sap.app']['id'] }),
1011
+ location: {
1012
+ path: ux_specification_types_1.MANIFESTPATH,
1013
+ range: [ux_specification_types_1.ManifestSection.generic]
1014
+ }
1015
+ });
1016
+ return appSchema;
1017
+ }
1018
+ const v4Page = (0, utils_2.findPageV4)(pages, ux_specification_types_1.v4.FE_TEMPLATE_V4_OBJECT_PAGE, generateParameters.entitySet, contextPath);
1019
+ if (!v4Page) {
1020
+ return appSchema;
1021
+ }
1022
+ // Add Header
1023
+ addHeader(generateParameters, appSchema, v4Page);
1024
+ // Add sections
1025
+ sections[ux_specification_types_1.SchemaTag.isViewNode] = true;
1026
+ if (generateParameters.entityType) {
1027
+ sections[ux_specification_types_1.SchemaTag.annotationPath] =
1028
+ `/${generateParameters.entityType.fullyQualifiedName}/@${"com.sap.vocabularies.UI.v1.Facets" /* UIAnnotationTerms.Facets */}`;
1029
+ }
1030
+ addSections(generateParameters, appSchema, v4Page);
1031
+ // Custom Section facets
1032
+ addRelatedFacetKeysType(generateParameters, appSchema, pages, contextPath);
1033
+ // Custom extension fragments
1034
+ if ((0, common_1.isFeatureSupported)(generateParameters.featureToggles, ux_specification_types_1.Features.BuildingBlocks) && genericMacrosSchema) {
1035
+ appSchema['definitions'][ux_specification_types_1.DefinitionName.ObjectPageCustomSectionFragment]['properties']['controls'] = {
1036
+ type: 'object'
1037
+ };
1038
+ try {
1039
+ (0, pageExtensions_1.resolveFragments)(appSchema, genericMacrosSchema, generateParameters, v4Page.id);
1040
+ }
1041
+ catch (error) {
1042
+ (0, extensionLogger_1.log)(generateParameters.logger, {
1043
+ severity: "error" /* LogSeverity.Error */,
1044
+ message: error
1045
+ });
1046
+ }
1047
+ }
1048
+ // Add Footer (actions only)
1049
+ (0, common_1.addFooterActions)(appSchema, generateParameters, ux_specification_types_1.FioriElementsVersion.v4, addFooterActionCallBackV4);
1050
+ addHeaderFooterCustomActionsOP(appSchema, v4Page, ux_specification_types_1.DefinitionName.CustomFooterActionOP, generateParameters.logger);
1051
+ }
1052
+ // Delete generic definitions from schema
1053
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.CommonHeaderFacetSettings];
1054
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.GenericColumnsOP];
1055
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.GenericSections];
1056
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.GenericSubSections];
1057
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageChart];
1058
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSectionAddress];
1059
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSectionChart];
1060
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSectionContact];
1061
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSectionDataPoint];
1062
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSectionForm];
1063
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSectionTableV4];
1064
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSectionPresentationVariant];
1065
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageSubSections];
1066
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageTable];
1067
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageToolBar];
1068
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageToolBarAction];
1069
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageToolBarActions];
1070
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.QuickVariantSelectionV4OP];
1071
+ (0, common_1.updatePropertyIndices)(appSchema, ROOT_PROPERTIES_ORDER);
1072
+ return appSchema;
1073
+ }
1074
+ exports.generateObjectPageSchemaV4 = generateObjectPageSchemaV4;
1075
+ //# sourceMappingURL=objectPage.js.map