@sap/ux-specification 1.84.87 → 1.84.89

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 (1079) hide show
  1. package/CHANGELOG.md +59 -3
  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-ListReport.html +2 -2
  9. package/dist/documentation/v4/v4-ObjectPage.html +2 -2
  10. package/dist/index-min.js +30 -30
  11. package/dist/index-min.js.map +4 -4
  12. package/dist/schemas/v2/ObjectPageConfig.json +87 -98
  13. package/dist/schemas/v4/ListReportConfig.json +51 -37
  14. package/dist/schemas/v4/ObjectPageConfig.json +17 -15
  15. package/dist/specification/package.json +106 -0
  16. package/dist/specification/scripts/distTagWriter.d.ts +2 -0
  17. package/dist/specification/scripts/distTagWriter.d.ts.map +1 -0
  18. package/dist/specification/scripts/distTagWriter.js +43 -0
  19. package/dist/specification/scripts/distTagWriter.js.map +1 -0
  20. package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts +10 -0
  21. package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts.map +1 -0
  22. package/dist/specification/scripts/documentation/components/TreeDiagram.js +50 -0
  23. package/dist/specification/scripts/documentation/components/TreeDiagram.js.map +1 -0
  24. package/dist/specification/scripts/documentation/components/filter.d.ts +5 -0
  25. package/dist/specification/scripts/documentation/components/filter.d.ts.map +1 -0
  26. package/dist/specification/scripts/documentation/components/filter.js +49 -0
  27. package/dist/specification/scripts/documentation/components/filter.js.map +1 -0
  28. package/dist/specification/scripts/documentation/components/types.d.ts +31 -0
  29. package/dist/specification/scripts/documentation/components/types.d.ts.map +1 -0
  30. package/dist/specification/scripts/documentation/components/types.js +5 -0
  31. package/dist/specification/scripts/documentation/components/types.js.map +1 -0
  32. package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts +41 -0
  33. package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts.map +1 -0
  34. package/dist/specification/scripts/documentation/components/ui/TreeUI.js +482 -0
  35. package/dist/specification/scripts/documentation/components/ui/TreeUI.js.map +1 -0
  36. package/dist/specification/scripts/documentation/components/ui/icons.d.ts +2 -0
  37. package/dist/specification/scripts/documentation/components/ui/icons.d.ts.map +1 -0
  38. package/dist/specification/scripts/documentation/components/ui/icons.js +15 -0
  39. package/dist/specification/scripts/documentation/components/ui/icons.js.map +1 -0
  40. package/dist/specification/scripts/documentation/components/ui/index.d.ts +2 -0
  41. package/dist/specification/scripts/documentation/components/ui/index.d.ts.map +1 -0
  42. package/dist/specification/scripts/documentation/components/ui/index.js +6 -0
  43. package/dist/specification/scripts/documentation/components/ui/index.js.map +1 -0
  44. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts +7 -0
  45. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts.map +1 -0
  46. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js +105 -0
  47. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js.map +1 -0
  48. package/dist/specification/scripts/documentation/components/ui/search.d.ts +5 -0
  49. package/dist/specification/scripts/documentation/components/ui/search.d.ts.map +1 -0
  50. package/dist/specification/scripts/documentation/components/ui/search.js +108 -0
  51. package/dist/specification/scripts/documentation/components/ui/search.js.map +1 -0
  52. package/dist/specification/scripts/documentation/components/ui/toggle.d.ts +7 -0
  53. package/dist/specification/scripts/documentation/components/ui/toggle.d.ts.map +1 -0
  54. package/dist/specification/scripts/documentation/components/ui/toggle.js +43 -0
  55. package/dist/specification/scripts/documentation/components/ui/toggle.js.map +1 -0
  56. package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts +7 -0
  57. package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts.map +1 -0
  58. package/dist/specification/scripts/documentation/components/ui/tooltip.js +93 -0
  59. package/dist/specification/scripts/documentation/components/ui/tooltip.js.map +1 -0
  60. package/dist/specification/scripts/documentation/components/ui/utils.d.ts +9 -0
  61. package/dist/specification/scripts/documentation/components/ui/utils.d.ts.map +1 -0
  62. package/dist/specification/scripts/documentation/components/ui/utils.js +73 -0
  63. package/dist/specification/scripts/documentation/components/ui/utils.js.map +1 -0
  64. package/dist/specification/scripts/documentation/runDocu.d.ts +7 -0
  65. package/dist/specification/scripts/documentation/runDocu.d.ts.map +1 -0
  66. package/dist/specification/scripts/documentation/runDocu.js +8 -0
  67. package/dist/specification/scripts/documentation/runDocu.js.map +1 -0
  68. package/dist/specification/scripts/extractDocu.d.ts +2 -0
  69. package/dist/specification/scripts/extractDocu.d.ts.map +1 -0
  70. package/dist/specification/scripts/extractDocu.js +522 -0
  71. package/dist/specification/scripts/extractDocu.js.map +1 -0
  72. package/dist/specification/scripts/spec.d.ts +2 -0
  73. package/dist/specification/scripts/spec.d.ts.map +1 -0
  74. package/dist/specification/scripts/spec.js +113 -0
  75. package/dist/specification/scripts/spec.js.map +1 -0
  76. package/dist/specification/scripts/to-json-schema.d.ts +11 -0
  77. package/dist/specification/scripts/to-json-schema.d.ts.map +1 -0
  78. package/dist/specification/scripts/to-json-schema.js +160 -0
  79. package/dist/specification/scripts/to-json-schema.js.map +1 -0
  80. package/dist/specification/src/api.d.ts.map +1 -0
  81. package/dist/specification/src/api.js.map +1 -0
  82. package/dist/specification/src/extensionLogger.d.ts.map +1 -0
  83. package/dist/specification/src/extensionLogger.js.map +1 -0
  84. package/dist/specification/src/i18n/i18n.d.ts.map +1 -0
  85. package/dist/specification/src/i18n/i18n.js.map +1 -0
  86. package/dist/specification/src/index.d.ts.map +1 -0
  87. package/dist/specification/src/index.js.map +1 -0
  88. package/dist/specification/src/project.d.ts.map +1 -0
  89. package/dist/specification/src/project.js.map +1 -0
  90. package/dist/specification/src/specification/schemaAccess.d.ts.map +1 -0
  91. package/dist/specification/src/specification/schemaAccess.js.map +1 -0
  92. package/dist/specification/src/sync/common/appProvider.d.ts.map +1 -0
  93. package/dist/specification/src/sync/common/appProvider.js.map +1 -0
  94. package/dist/specification/src/sync/common/decoration/control.d.ts.map +1 -0
  95. package/dist/specification/src/sync/common/decoration/control.js +225 -0
  96. package/dist/specification/src/sync/common/decoration/control.js.map +1 -0
  97. package/dist/specification/src/sync/common/decoration/decorators.d.ts +16 -0
  98. package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -0
  99. package/dist/specification/src/sync/common/decoration/decorators.js +64 -0
  100. package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -0
  101. package/dist/specification/src/sync/common/decoration/factory.d.ts.map +1 -0
  102. package/dist/specification/src/sync/common/decoration/factory.js.map +1 -0
  103. package/dist/specification/src/sync/common/decoration/flex.d.ts.map +1 -0
  104. package/dist/specification/src/sync/common/decoration/flex.js.map +1 -0
  105. package/dist/specification/src/sync/common/decoration/index.d.ts.map +1 -0
  106. package/dist/specification/src/sync/common/decoration/index.js.map +1 -0
  107. package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -0
  108. package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -0
  109. package/dist/specification/src/sync/common/flexUtils.d.ts.map +1 -0
  110. package/dist/specification/src/sync/common/flexUtils.js.map +1 -0
  111. package/dist/specification/src/sync/common/generate/index.d.ts.map +1 -0
  112. package/dist/specification/src/sync/common/generate/index.js.map +1 -0
  113. package/dist/specification/src/sync/common/generate/objectPage.d.ts.map +1 -0
  114. package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -0
  115. package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -0
  116. package/dist/specification/src/sync/common/generate/utils.js.map +1 -0
  117. package/dist/specification/src/sync/common/i18n.json +36 -0
  118. package/dist/specification/src/sync/common/import/utils.d.ts.map +1 -0
  119. package/dist/specification/src/sync/common/import/utils.js.map +1 -0
  120. package/dist/specification/src/sync/common/importProject.d.ts.map +1 -0
  121. package/dist/specification/src/sync/common/importProject.js +362 -0
  122. package/dist/specification/src/sync/common/importProject.js.map +1 -0
  123. package/dist/specification/src/sync/common/index.d.ts.map +1 -0
  124. package/dist/specification/src/sync/common/index.js.map +1 -0
  125. package/dist/specification/src/sync/common/utils.d.ts.map +1 -0
  126. package/dist/specification/src/sync/common/utils.js +1392 -0
  127. package/dist/specification/src/sync/common/utils.js.map +1 -0
  128. package/dist/specification/src/sync/i18n.d.ts.map +1 -0
  129. package/dist/specification/src/sync/i18n.js.map +1 -0
  130. package/dist/specification/src/sync/v2/application.d.ts.map +1 -0
  131. package/dist/specification/src/sync/v2/application.js +191 -0
  132. package/dist/specification/src/sync/v2/application.js.map +1 -0
  133. package/dist/specification/src/sync/v2/export/controls/Action.d.ts.map +1 -0
  134. package/dist/specification/src/sync/v2/export/controls/Action.js.map +1 -0
  135. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +1 -0
  136. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +1 -0
  137. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +1 -0
  138. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +1 -0
  139. package/dist/specification/src/sync/v2/export/controls/Card.d.ts.map +1 -0
  140. package/dist/specification/src/sync/v2/export/controls/Card.js.map +1 -0
  141. package/dist/specification/src/sync/v2/export/controls/Field.d.ts.map +1 -0
  142. package/dist/specification/src/sync/v2/export/controls/Field.js.map +1 -0
  143. package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts.map +1 -0
  144. package/dist/specification/src/sync/v2/export/controls/FilterBar.js.map +1 -0
  145. package/dist/specification/src/sync/v2/export/controls/FormAction.d.ts.map +1 -0
  146. package/dist/specification/src/sync/v2/export/controls/FormAction.js.map +1 -0
  147. package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts.map +1 -0
  148. package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -0
  149. package/dist/specification/src/sync/v2/export/controls/ObjectPageChart.d.ts.map +1 -0
  150. package/dist/specification/src/sync/v2/export/controls/ObjectPageChart.js.map +1 -0
  151. package/dist/specification/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
  152. package/dist/specification/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +1 -0
  153. package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +1 -0
  154. package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -0
  155. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.d.ts.map +1 -0
  156. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.js +73 -0
  157. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.js.map +1 -0
  158. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +1 -0
  159. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -0
  160. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  161. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +1 -0
  162. package/dist/specification/src/sync/v2/export/controls/ObjectPageLayout.d.ts.map +1 -0
  163. package/dist/specification/src/sync/v2/export/controls/ObjectPageLayout.js.map +1 -0
  164. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts +41 -0
  165. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts.map +1 -0
  166. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js +192 -0
  167. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js.map +1 -0
  168. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts +54 -0
  169. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +1 -0
  170. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js +390 -0
  171. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -0
  172. package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
  173. package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +1 -0
  174. package/dist/specification/src/sync/v2/export/controls/Table.d.ts.map +1 -0
  175. package/dist/specification/src/sync/v2/export/controls/Table.js.map +1 -0
  176. package/dist/specification/src/sync/v2/export/controls/TableColumn.d.ts.map +1 -0
  177. package/dist/specification/src/sync/v2/export/controls/TableColumn.js.map +1 -0
  178. package/dist/specification/src/sync/v2/export/controls/ToolBar.d.ts.map +1 -0
  179. package/dist/specification/src/sync/v2/export/controls/ToolBar.js.map +1 -0
  180. package/dist/specification/src/sync/v2/export/controls/index.d.ts +22 -0
  181. package/dist/specification/src/sync/v2/export/controls/index.d.ts.map +1 -0
  182. package/dist/specification/src/sync/v2/export/controls/index.js +38 -0
  183. package/dist/specification/src/sync/v2/export/controls/index.js.map +1 -0
  184. package/dist/specification/src/sync/v2/export/export.d.ts.map +1 -0
  185. package/dist/specification/src/sync/v2/export/export.js.map +1 -0
  186. package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -0
  187. package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -0
  188. package/dist/specification/src/sync/v2/export/factory.d.ts.map +1 -0
  189. package/dist/specification/src/sync/v2/export/factory.js.map +1 -0
  190. package/dist/specification/src/sync/v2/export/manifest.d.ts.map +1 -0
  191. package/dist/specification/src/sync/v2/export/manifest.js.map +1 -0
  192. package/dist/specification/src/sync/v2/export/pages/AnalyticalListPage.d.ts.map +1 -0
  193. package/dist/specification/src/sync/v2/export/pages/AnalyticalListPage.js.map +1 -0
  194. package/dist/specification/src/sync/v2/export/pages/ListReport.d.ts.map +1 -0
  195. package/dist/specification/src/sync/v2/export/pages/ListReport.js.map +1 -0
  196. package/dist/specification/src/sync/v2/export/pages/ObjectPage.d.ts.map +1 -0
  197. package/dist/specification/src/sync/v2/export/pages/ObjectPage.js.map +1 -0
  198. package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts.map +1 -0
  199. package/dist/specification/src/sync/v2/export/pages/OverviewPage.js.map +1 -0
  200. package/dist/specification/src/sync/v2/export/pages/index.d.ts.map +1 -0
  201. package/dist/specification/src/sync/v2/export/pages/index.js.map +1 -0
  202. package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts.map +1 -0
  203. package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -0
  204. package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -0
  205. package/dist/specification/src/sync/v2/generate/analyticalListReport.js +193 -0
  206. package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -0
  207. package/dist/specification/src/sync/v2/generate/generate.d.ts.map +1 -0
  208. package/dist/specification/src/sync/v2/generate/generate.js.map +1 -0
  209. package/dist/specification/src/sync/v2/generate/index.d.ts.map +1 -0
  210. package/dist/specification/src/sync/v2/generate/index.js.map +1 -0
  211. package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -0
  212. package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -0
  213. package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -0
  214. package/dist/specification/src/sync/v2/generate/objectPage.js +671 -0
  215. package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -0
  216. package/dist/specification/src/sync/v2/generate/overviewPage.d.ts.map +1 -0
  217. package/dist/specification/src/sync/v2/generate/overviewPage.js.map +1 -0
  218. package/dist/specification/src/sync/v2/generate/utils.d.ts.map +1 -0
  219. package/dist/specification/src/sync/v2/generate/utils.js +662 -0
  220. package/dist/specification/src/sync/v2/generate/utils.js.map +1 -0
  221. package/dist/specification/src/sync/v2/import/app/appProvider.d.ts.map +1 -0
  222. package/dist/specification/src/sync/v2/import/app/appProvider.js.map +1 -0
  223. package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts.map +1 -0
  224. package/dist/specification/src/sync/v2/import/app/ovpProvider.js.map +1 -0
  225. package/dist/specification/src/sync/v2/import/common/index.d.ts.map +1 -0
  226. package/dist/specification/src/sync/v2/import/common/index.js +444 -0
  227. package/dist/specification/src/sync/v2/import/common/index.js.map +1 -0
  228. package/dist/specification/src/sync/v2/import/controls/table.d.ts.map +1 -0
  229. package/dist/specification/src/sync/v2/import/controls/table.js.map +1 -0
  230. package/dist/specification/src/sync/v2/import/getPageType.d.ts.map +1 -0
  231. package/dist/specification/src/sync/v2/import/getPageType.js.map +1 -0
  232. package/dist/specification/src/sync/v2/import/index.d.ts.map +1 -0
  233. package/dist/specification/src/sync/v2/import/index.js.map +1 -0
  234. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -0
  235. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js.map +1 -0
  236. package/dist/specification/src/sync/v2/import/pages/listReport.d.ts.map +1 -0
  237. package/dist/specification/src/sync/v2/import/pages/listReport.js.map +1 -0
  238. package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts.map +1 -0
  239. package/dist/specification/src/sync/v2/import/pages/objectPage.js.map +1 -0
  240. package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts.map +1 -0
  241. package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -0
  242. package/dist/specification/src/sync/v2/import/utils.d.ts.map +1 -0
  243. package/dist/specification/src/sync/v2/import/utils.js.map +1 -0
  244. package/dist/specification/src/sync/v2/types.d.ts +85 -0
  245. package/dist/specification/src/sync/v2/types.d.ts.map +1 -0
  246. package/dist/specification/src/sync/v2/types.js +56 -0
  247. package/dist/specification/src/sync/v2/types.js.map +1 -0
  248. package/dist/specification/src/sync/v4/application.d.ts.map +1 -0
  249. package/dist/specification/src/sync/v4/application.js +157 -0
  250. package/dist/specification/src/sync/v4/application.js.map +1 -0
  251. package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -0
  252. package/dist/specification/src/sync/v4/export/controls/FilterBar.js +26 -0
  253. package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -0
  254. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
  255. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +1 -0
  256. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +1 -0
  257. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.js.map +1 -0
  258. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  259. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.js +67 -0
  260. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +1 -0
  261. package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.d.ts.map +1 -0
  262. package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.js +26 -0
  263. package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.js.map +1 -0
  264. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts +24 -0
  265. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +1 -0
  266. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js +194 -0
  267. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -0
  268. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +14 -0
  269. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -0
  270. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js +77 -0
  271. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -0
  272. package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
  273. package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +1 -0
  274. package/dist/specification/src/sync/v4/export/controls/Table.d.ts +151 -0
  275. package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -0
  276. package/dist/specification/src/sync/v4/export/controls/Table.js +666 -0
  277. package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -0
  278. package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -0
  279. package/dist/specification/src/sync/v4/export/controls/TableColumn.js +316 -0
  280. package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -0
  281. package/dist/specification/src/sync/v4/export/controls/ToolBar.d.ts.map +1 -0
  282. package/dist/specification/src/sync/v4/export/controls/ToolBar.js.map +1 -0
  283. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +12 -0
  284. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -0
  285. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +50 -0
  286. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -0
  287. package/dist/specification/src/sync/v4/export/controls/index.d.ts.map +1 -0
  288. package/dist/specification/src/sync/v4/export/controls/index.js.map +1 -0
  289. package/dist/specification/src/sync/v4/export/export.d.ts +19 -0
  290. package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -0
  291. package/dist/specification/src/sync/v4/export/export.js +936 -0
  292. package/dist/specification/src/sync/v4/export/export.js.map +1 -0
  293. package/dist/specification/src/sync/v4/export/factory.d.ts.map +1 -0
  294. package/dist/specification/src/sync/v4/export/factory.js +61 -0
  295. package/dist/specification/src/sync/v4/export/factory.js.map +1 -0
  296. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts.map +1 -0
  297. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js.map +1 -0
  298. package/dist/specification/src/sync/v4/export/manifest.d.ts.map +1 -0
  299. package/dist/specification/src/sync/v4/export/manifest.js.map +1 -0
  300. package/dist/specification/src/sync/v4/export/pages/FreestylePage.d.ts.map +1 -0
  301. package/dist/specification/src/sync/v4/export/pages/FreestylePage.js.map +1 -0
  302. package/dist/specification/src/sync/v4/export/pages/ListReport.d.ts.map +1 -0
  303. package/dist/specification/src/sync/v4/export/pages/ListReport.js +83 -0
  304. package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -0
  305. package/dist/specification/src/sync/v4/export/pages/ObjectPage.d.ts.map +1 -0
  306. package/dist/specification/src/sync/v4/export/pages/ObjectPage.js +42 -0
  307. package/dist/specification/src/sync/v4/export/pages/ObjectPage.js.map +1 -0
  308. package/dist/specification/src/sync/v4/export/pages/index.d.ts.map +1 -0
  309. package/dist/specification/src/sync/v4/export/pages/index.js.map +1 -0
  310. package/dist/specification/src/sync/v4/export/types.d.ts.map +1 -0
  311. package/dist/specification/src/sync/v4/export/types.js.map +1 -0
  312. package/dist/specification/src/sync/v4/export/utils.d.ts.map +1 -0
  313. package/dist/specification/src/sync/v4/export/utils.js.map +1 -0
  314. package/dist/specification/src/sync/v4/generate/freestylePage.d.ts.map +1 -0
  315. package/dist/specification/src/sync/v4/generate/freestylePage.js.map +1 -0
  316. package/dist/specification/src/sync/v4/generate/generate.d.ts +42 -0
  317. package/dist/specification/src/sync/v4/generate/generate.d.ts.map +1 -0
  318. package/dist/specification/src/sync/v4/generate/generate.js +101 -0
  319. package/dist/specification/src/sync/v4/generate/generate.js.map +1 -0
  320. package/dist/specification/src/sync/v4/generate/index.d.ts.map +1 -0
  321. package/dist/specification/src/sync/v4/generate/index.js.map +1 -0
  322. package/dist/specification/src/sync/v4/generate/listReport.d.ts +43 -0
  323. package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -0
  324. package/dist/specification/src/sync/v4/generate/listReport.js +737 -0
  325. package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -0
  326. package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -0
  327. package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -0
  328. package/dist/specification/src/sync/v4/import/app/appProvider.d.ts.map +1 -0
  329. package/dist/specification/src/sync/v4/import/app/appProvider.js.map +1 -0
  330. package/dist/specification/src/sync/v4/import/app/index.d.ts.map +1 -0
  331. package/dist/specification/src/sync/v4/import/app/index.js.map +1 -0
  332. package/dist/specification/src/sync/v4/import/fragment.d.ts.map +1 -0
  333. package/dist/specification/src/sync/v4/import/fragment.js.map +1 -0
  334. package/dist/specification/src/sync/v4/import/index.d.ts.map +1 -0
  335. package/dist/specification/src/sync/v4/import/index.js.map +1 -0
  336. package/dist/specification/src/sync/v4/import/pages/listReport.d.ts.map +1 -0
  337. package/dist/specification/src/sync/v4/import/pages/listReport.js.map +1 -0
  338. package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts.map +1 -0
  339. package/dist/specification/src/sync/v4/import/pages/objectPage.js.map +1 -0
  340. package/dist/specification/src/sync/v4/import/utils.d.ts.map +1 -0
  341. package/dist/specification/src/sync/v4/import/utils.js.map +1 -0
  342. package/dist/specification/src/sync/v4/types.d.ts.map +1 -0
  343. package/dist/specification/src/sync/v4/types.js.map +1 -0
  344. package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts.map +1 -0
  345. package/dist/specification/src/sync/v4/utils/StableIdHelper.js.map +1 -0
  346. package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -0
  347. package/dist/specification/src/sync/v4/utils/utils.js.map +1 -0
  348. package/dist/types/src/apiTypes.d.ts +423 -0
  349. package/dist/types/src/apiTypes.d.ts.map +1 -0
  350. package/dist/types/src/apiTypes.js +31 -0
  351. package/dist/types/src/apiTypes.js.map +1 -0
  352. package/dist/types/src/common/Application.d.ts +61 -0
  353. package/dist/types/src/common/Application.d.ts.map +1 -0
  354. package/dist/types/src/common/Application.js +25 -0
  355. package/dist/types/src/common/Application.js.map +1 -0
  356. package/dist/types/src/common/color.d.ts +91 -0
  357. package/dist/types/src/common/color.d.ts.map +1 -0
  358. package/dist/types/src/common/color.js +99 -0
  359. package/dist/types/src/common/color.js.map +1 -0
  360. package/dist/types/src/common/index.d.ts +6 -0
  361. package/dist/types/src/common/index.d.ts.map +1 -0
  362. package/dist/types/src/common/index.js +22 -0
  363. package/dist/types/src/common/index.js.map +1 -0
  364. package/dist/types/src/common/page.d.ts +75 -0
  365. package/dist/types/src/common/page.d.ts.map +1 -0
  366. package/dist/types/src/common/page.js +35 -0
  367. package/dist/types/src/common/page.js.map +1 -0
  368. package/dist/types/src/common/types.d.ts +452 -0
  369. package/dist/types/src/common/types.d.ts.map +1 -0
  370. package/dist/types/src/common/types.js +328 -0
  371. package/dist/types/src/common/types.js.map +1 -0
  372. package/dist/types/src/common/webapp/manifest/Manifest.d.ts +124 -0
  373. package/dist/types/src/common/webapp/manifest/Manifest.d.ts.map +1 -0
  374. package/dist/types/src/common/webapp/manifest/Manifest.js +24 -0
  375. package/dist/types/src/common/webapp/manifest/Manifest.js.map +1 -0
  376. package/dist/types/src/common/webapp/manifest/index.d.ts +4 -0
  377. package/dist/types/src/common/webapp/manifest/index.d.ts.map +1 -0
  378. package/dist/types/src/common/webapp/manifest/index.js +20 -0
  379. package/dist/types/src/common/webapp/manifest/index.js.map +1 -0
  380. package/dist/types/src/common/webapp/manifest/sapOvp.d.ts +19 -0
  381. package/dist/types/src/common/webapp/manifest/sapOvp.d.ts.map +1 -0
  382. package/dist/types/src/common/webapp/manifest/sapOvp.js +3 -0
  383. package/dist/types/src/common/webapp/manifest/sapOvp.js.map +1 -0
  384. package/dist/types/src/common/webapp/manifest/sapUi5.d.ts +101 -0
  385. package/dist/types/src/common/webapp/manifest/sapUi5.d.ts.map +1 -0
  386. package/dist/types/src/common/webapp/manifest/sapUi5.js +15 -0
  387. package/dist/types/src/common/webapp/manifest/sapUi5.js.map +1 -0
  388. package/dist/types/src/index.d.ts +5 -0
  389. package/dist/types/src/index.d.ts.map +1 -0
  390. package/dist/types/src/index.js +34 -0
  391. package/dist/types/src/index.js.map +1 -0
  392. package/dist/types/src/v2/ApplicationV2.d.ts +7 -0
  393. package/dist/types/src/v2/ApplicationV2.d.ts.map +1 -0
  394. package/dist/types/src/v2/ApplicationV2.js +3 -0
  395. package/dist/types/src/v2/ApplicationV2.js.map +1 -0
  396. package/dist/types/src/v2/application.d.ts +16 -0
  397. package/dist/types/src/v2/application.d.ts.map +1 -0
  398. package/dist/types/src/v2/application.js +3 -0
  399. package/dist/types/src/v2/application.js.map +1 -0
  400. package/dist/types/src/v2/controls/Action.d.ts +138 -0
  401. package/dist/types/src/v2/controls/Action.d.ts.map +1 -0
  402. package/dist/types/src/v2/controls/Action.js +21 -0
  403. package/dist/types/src/v2/controls/Action.js.map +1 -0
  404. package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts +59 -0
  405. package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts.map +1 -0
  406. package/dist/types/src/v2/controls/AnalyticalListPageChart.js +37 -0
  407. package/dist/types/src/v2/controls/AnalyticalListPageChart.js.map +1 -0
  408. package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts +31 -0
  409. package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts.map +1 -0
  410. package/dist/types/src/v2/controls/AnalyticalListPageKPI.js +4 -0
  411. package/dist/types/src/v2/controls/AnalyticalListPageKPI.js.map +1 -0
  412. package/dist/types/src/v2/controls/Card.d.ts +459 -0
  413. package/dist/types/src/v2/controls/Card.d.ts.map +1 -0
  414. package/dist/types/src/v2/controls/Card.js +76 -0
  415. package/dist/types/src/v2/controls/Card.js.map +1 -0
  416. package/dist/types/src/v2/controls/Field.d.ts +11 -0
  417. package/dist/types/src/v2/controls/Field.d.ts.map +1 -0
  418. package/dist/types/src/v2/controls/Field.js +4 -0
  419. package/dist/types/src/v2/controls/Field.js.map +1 -0
  420. package/dist/types/src/v2/controls/FilterBar.d.ts +181 -0
  421. package/dist/types/src/v2/controls/FilterBar.d.ts.map +1 -0
  422. package/dist/types/src/v2/controls/FilterBar.js +60 -0
  423. package/dist/types/src/v2/controls/FilterBar.js.map +1 -0
  424. package/dist/types/src/v2/controls/Header.d.ts +9 -0
  425. package/dist/types/src/v2/controls/Header.d.ts.map +1 -0
  426. package/dist/types/src/v2/controls/Header.js +3 -0
  427. package/dist/types/src/v2/controls/Header.js.map +1 -0
  428. package/dist/types/src/v2/controls/ObjectPageChart.d.ts +17 -0
  429. package/dist/types/src/v2/controls/ObjectPageChart.d.ts.map +1 -0
  430. package/dist/types/src/v2/controls/ObjectPageChart.js +4 -0
  431. package/dist/types/src/v2/controls/ObjectPageChart.js.map +1 -0
  432. package/dist/types/src/v2/controls/ObjectPageFooter.d.ts +20 -0
  433. package/dist/types/src/v2/controls/ObjectPageFooter.d.ts.map +1 -0
  434. package/dist/types/src/v2/controls/ObjectPageFooter.js +3 -0
  435. package/dist/types/src/v2/controls/ObjectPageFooter.js.map +1 -0
  436. package/dist/types/src/v2/controls/ObjectPageForm.d.ts +16 -0
  437. package/dist/types/src/v2/controls/ObjectPageForm.d.ts.map +1 -0
  438. package/dist/types/src/v2/controls/ObjectPageForm.js +3 -0
  439. package/dist/types/src/v2/controls/ObjectPageForm.js.map +1 -0
  440. package/dist/types/src/v2/controls/ObjectPageHeader.d.ts +40 -0
  441. package/dist/types/src/v2/controls/ObjectPageHeader.d.ts.map +1 -0
  442. package/dist/types/src/v2/controls/ObjectPageHeader.js +9 -0
  443. package/dist/types/src/v2/controls/ObjectPageHeader.js.map +1 -0
  444. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts +32 -0
  445. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  446. package/dist/types/src/v2/controls/ObjectPageHeaderSection.js +3 -0
  447. package/dist/types/src/v2/controls/ObjectPageHeaderSection.js.map +1 -0
  448. package/dist/types/src/v2/controls/ObjectPageLayout.d.ts +23 -0
  449. package/dist/types/src/v2/controls/ObjectPageLayout.d.ts.map +1 -0
  450. package/dist/types/src/v2/controls/ObjectPageLayout.js +4 -0
  451. package/dist/types/src/v2/controls/ObjectPageLayout.js.map +1 -0
  452. package/dist/types/src/v2/controls/ObjectPageSection.d.ts +121 -0
  453. package/dist/types/src/v2/controls/ObjectPageSection.d.ts.map +1 -0
  454. package/dist/types/src/v2/controls/ObjectPageSection.js +14 -0
  455. package/dist/types/src/v2/controls/ObjectPageSection.js.map +1 -0
  456. package/dist/types/src/v2/controls/ObjectPageTable.d.ts +202 -0
  457. package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -0
  458. package/dist/types/src/v2/controls/ObjectPageTable.js +8 -0
  459. package/dist/types/src/v2/controls/ObjectPageTable.js.map +1 -0
  460. package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts +16 -0
  461. package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts.map +1 -0
  462. package/dist/types/src/v2/controls/ObjectPageToolBar.js +3 -0
  463. package/dist/types/src/v2/controls/ObjectPageToolBar.js.map +1 -0
  464. package/dist/types/src/v2/controls/Table.d.ts +501 -0
  465. package/dist/types/src/v2/controls/Table.d.ts.map +1 -0
  466. package/dist/types/src/v2/controls/Table.js +58 -0
  467. package/dist/types/src/v2/controls/Table.js.map +1 -0
  468. package/dist/types/src/v2/controls/ToolBar.d.ts +9 -0
  469. package/dist/types/src/v2/controls/ToolBar.d.ts.map +1 -0
  470. package/dist/types/src/v2/controls/ToolBar.js +3 -0
  471. package/dist/types/src/v2/controls/ToolBar.js.map +1 -0
  472. package/dist/types/src/v2/controls/index.d.ts +19 -0
  473. package/dist/types/src/v2/controls/index.d.ts.map +1 -0
  474. package/dist/types/src/v2/controls/index.js +35 -0
  475. package/dist/types/src/v2/controls/index.js.map +1 -0
  476. package/dist/types/src/v2/index.d.ts +8 -0
  477. package/dist/types/src/v2/index.d.ts.map +1 -0
  478. package/dist/types/src/v2/index.js +24 -0
  479. package/dist/types/src/v2/index.js.map +1 -0
  480. package/dist/types/src/v2/overviewPage.d.ts +63 -0
  481. package/dist/types/src/v2/overviewPage.d.ts.map +1 -0
  482. package/dist/types/src/v2/overviewPage.js +15 -0
  483. package/dist/types/src/v2/overviewPage.js.map +1 -0
  484. package/dist/types/src/v2/page.d.ts +8 -0
  485. package/dist/types/src/v2/page.d.ts.map +1 -0
  486. package/dist/types/src/v2/page.js +3 -0
  487. package/dist/types/src/v2/page.js.map +1 -0
  488. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts +25 -0
  489. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts.map +1 -0
  490. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.js +3 -0
  491. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.js.map +1 -0
  492. package/dist/types/src/v2/pages/ListReportConfigV2.d.ts +17 -0
  493. package/dist/types/src/v2/pages/ListReportConfigV2.d.ts.map +1 -0
  494. package/dist/types/src/v2/pages/ListReportConfigV2.js +3 -0
  495. package/dist/types/src/v2/pages/ListReportConfigV2.js.map +1 -0
  496. package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts +37 -0
  497. package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts.map +1 -0
  498. package/dist/types/src/v2/pages/ObjectPageConfigV2.js +3 -0
  499. package/dist/types/src/v2/pages/ObjectPageConfigV2.js.map +1 -0
  500. package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts +102 -0
  501. package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts.map +1 -0
  502. package/dist/types/src/v2/pages/OverviewPageConfigV2.js +7 -0
  503. package/dist/types/src/v2/pages/OverviewPageConfigV2.js.map +1 -0
  504. package/dist/types/src/v2/pages/index.d.ts +5 -0
  505. package/dist/types/src/v2/pages/index.d.ts.map +1 -0
  506. package/dist/types/src/v2/pages/index.js +21 -0
  507. package/dist/types/src/v2/pages/index.js.map +1 -0
  508. package/dist/types/src/v2/webapp/index.d.ts +2 -0
  509. package/dist/types/src/v2/webapp/index.d.ts.map +1 -0
  510. package/dist/types/src/v2/webapp/index.js +18 -0
  511. package/dist/types/src/v2/webapp/index.js.map +1 -0
  512. package/dist/types/src/v2/webapp/manifest/index.d.ts +4 -0
  513. package/dist/types/src/v2/webapp/manifest/index.d.ts.map +1 -0
  514. package/dist/types/src/v2/webapp/manifest/index.js +20 -0
  515. package/dist/types/src/v2/webapp/manifest/index.js.map +1 -0
  516. package/dist/types/src/v2/webapp/manifest/sapUi.d.ts +11 -0
  517. package/dist/types/src/v2/webapp/manifest/sapUi.d.ts.map +1 -0
  518. package/dist/types/src/v2/webapp/manifest/sapUi.js +3 -0
  519. package/dist/types/src/v2/webapp/manifest/sapUi.js.map +1 -0
  520. package/dist/types/src/v2/webapp/manifest/sapUi5.d.ts +77 -0
  521. package/dist/types/src/v2/webapp/manifest/sapUi5.d.ts.map +1 -0
  522. package/dist/types/src/v2/webapp/manifest/sapUi5.js +10 -0
  523. package/dist/types/src/v2/webapp/manifest/sapUi5.js.map +1 -0
  524. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.d.ts +32 -0
  525. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.d.ts.map +1 -0
  526. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.js +8 -0
  527. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.js.map +1 -0
  528. package/dist/types/src/v4/ApplicationV4.d.ts +7 -0
  529. package/dist/types/src/v4/ApplicationV4.d.ts.map +1 -0
  530. package/dist/types/src/v4/ApplicationV4.js +3 -0
  531. package/dist/types/src/v4/ApplicationV4.js.map +1 -0
  532. package/dist/types/src/v4/application.d.ts +13 -0
  533. package/dist/types/src/v4/application.d.ts.map +1 -0
  534. package/dist/types/src/v4/application.js +3 -0
  535. package/dist/types/src/v4/application.js.map +1 -0
  536. package/dist/types/src/v4/controls/FilterBar.d.ts +19 -0
  537. package/dist/types/src/v4/controls/FilterBar.d.ts.map +1 -0
  538. package/dist/types/src/v4/controls/FilterBar.js +3 -0
  539. package/dist/types/src/v4/controls/FilterBar.js.map +1 -0
  540. package/dist/types/src/v4/controls/ObjectPageFooter.d.ts +12 -0
  541. package/dist/types/src/v4/controls/ObjectPageFooter.d.ts.map +1 -0
  542. package/dist/types/src/v4/controls/ObjectPageFooter.js +3 -0
  543. package/dist/types/src/v4/controls/ObjectPageFooter.js.map +1 -0
  544. package/dist/types/src/v4/controls/ObjectPageHeader.d.ts +30 -0
  545. package/dist/types/src/v4/controls/ObjectPageHeader.d.ts.map +1 -0
  546. package/dist/types/src/v4/controls/ObjectPageHeader.js +3 -0
  547. package/dist/types/src/v4/controls/ObjectPageHeader.js.map +1 -0
  548. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts +47 -0
  549. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  550. package/dist/types/src/v4/controls/ObjectPageHeaderSection.js +8 -0
  551. package/dist/types/src/v4/controls/ObjectPageHeaderSection.js.map +1 -0
  552. package/dist/types/src/v4/controls/ObjectPageLayout.d.ts +18 -0
  553. package/dist/types/src/v4/controls/ObjectPageLayout.d.ts.map +1 -0
  554. package/dist/types/src/v4/controls/ObjectPageLayout.js +9 -0
  555. package/dist/types/src/v4/controls/ObjectPageLayout.js.map +1 -0
  556. package/dist/types/src/v4/controls/ObjectPageSection.d.ts +126 -0
  557. package/dist/types/src/v4/controls/ObjectPageSection.d.ts.map +1 -0
  558. package/dist/types/src/v4/controls/ObjectPageSection.js +16 -0
  559. package/dist/types/src/v4/controls/ObjectPageSection.js.map +1 -0
  560. package/dist/types/src/v4/controls/ObjectPageTable.d.ts +74 -0
  561. package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -0
  562. package/dist/types/src/v4/controls/ObjectPageTable.js +9 -0
  563. package/dist/types/src/v4/controls/ObjectPageTable.js.map +1 -0
  564. package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts +26 -0
  565. package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts.map +1 -0
  566. package/dist/types/src/v4/controls/ObjectPageToolBar.js +3 -0
  567. package/dist/types/src/v4/controls/ObjectPageToolBar.js.map +1 -0
  568. package/dist/types/src/v4/controls/Table.d.ts +308 -0
  569. package/dist/types/src/v4/controls/Table.d.ts.map +1 -0
  570. package/dist/types/src/v4/controls/Table.js +31 -0
  571. package/dist/types/src/v4/controls/Table.js.map +1 -0
  572. package/dist/types/src/v4/controls/ToolBar.d.ts +54 -0
  573. package/dist/types/src/v4/controls/ToolBar.d.ts.map +1 -0
  574. package/dist/types/src/v4/controls/ToolBar.js +9 -0
  575. package/dist/types/src/v4/controls/ToolBar.js.map +1 -0
  576. package/dist/types/src/v4/controls/index.d.ts +11 -0
  577. package/dist/types/src/v4/controls/index.d.ts.map +1 -0
  578. package/dist/types/src/v4/controls/index.js +27 -0
  579. package/dist/types/src/v4/controls/index.js.map +1 -0
  580. package/dist/types/src/v4/index.d.ts +7 -0
  581. package/dist/types/src/v4/index.d.ts.map +1 -0
  582. package/dist/types/src/v4/index.js +23 -0
  583. package/dist/types/src/v4/index.js.map +1 -0
  584. package/dist/types/src/v4/page.d.ts +35 -0
  585. package/dist/types/src/v4/page.d.ts.map +1 -0
  586. package/dist/types/src/v4/page.js +3 -0
  587. package/dist/types/src/v4/page.js.map +1 -0
  588. package/dist/types/src/v4/pages/FreestylePageConfigV4.d.ts +3 -0
  589. package/dist/types/src/v4/pages/FreestylePageConfigV4.d.ts.map +1 -0
  590. package/dist/types/src/v4/pages/FreestylePageConfigV4.js +3 -0
  591. package/dist/types/src/v4/pages/FreestylePageConfigV4.js.map +1 -0
  592. package/dist/types/src/v4/pages/ListReportConfigV4.d.ts +41 -0
  593. package/dist/types/src/v4/pages/ListReportConfigV4.d.ts.map +1 -0
  594. package/dist/types/src/v4/pages/ListReportConfigV4.js +10 -0
  595. package/dist/types/src/v4/pages/ListReportConfigV4.js.map +1 -0
  596. package/dist/types/src/v4/pages/ObjectPageConfigV4.d.ts +20 -0
  597. package/dist/types/src/v4/pages/ObjectPageConfigV4.d.ts.map +1 -0
  598. package/dist/types/src/v4/pages/ObjectPageConfigV4.js +9 -0
  599. package/dist/types/src/v4/pages/ObjectPageConfigV4.js.map +1 -0
  600. package/dist/types/src/v4/pages/index.d.ts +4 -0
  601. package/dist/types/src/v4/pages/index.d.ts.map +1 -0
  602. package/dist/types/src/v4/pages/index.js +20 -0
  603. package/dist/types/src/v4/pages/index.js.map +1 -0
  604. package/dist/types/src/v4/webapp/index.d.ts +2 -0
  605. package/dist/types/src/v4/webapp/index.d.ts.map +1 -0
  606. package/dist/types/src/v4/webapp/index.js +18 -0
  607. package/dist/types/src/v4/webapp/index.js.map +1 -0
  608. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts +238 -0
  609. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts.map +1 -0
  610. package/dist/types/src/v4/webapp/manifest/ManifestSettings.js +22 -0
  611. package/dist/types/src/v4/webapp/manifest/ManifestSettings.js.map +1 -0
  612. package/dist/types/src/v4/webapp/manifest/index.d.ts +4 -0
  613. package/dist/types/src/v4/webapp/manifest/index.d.ts.map +1 -0
  614. package/dist/types/src/v4/webapp/manifest/index.js +20 -0
  615. package/dist/types/src/v4/webapp/manifest/index.js.map +1 -0
  616. package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts +77 -0
  617. package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts.map +1 -0
  618. package/dist/types/src/v4/webapp/manifest/sapUi5.js +6 -0
  619. package/dist/types/src/v4/webapp/manifest/sapUi5.js.map +1 -0
  620. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts +89 -0
  621. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts.map +1 -0
  622. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js +15 -0
  623. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js.map +1 -0
  624. package/package.json +6 -6
  625. package/dist/package.json +0 -106
  626. package/dist/src/api.d.ts.map +0 -1
  627. package/dist/src/api.js.map +0 -1
  628. package/dist/src/extensionLogger.d.ts.map +0 -1
  629. package/dist/src/extensionLogger.js.map +0 -1
  630. package/dist/src/i18n/i18n.d.ts.map +0 -1
  631. package/dist/src/i18n/i18n.js.map +0 -1
  632. package/dist/src/index.d.ts.map +0 -1
  633. package/dist/src/index.js.map +0 -1
  634. package/dist/src/project.d.ts.map +0 -1
  635. package/dist/src/project.js.map +0 -1
  636. package/dist/src/specification/schemaAccess.d.ts.map +0 -1
  637. package/dist/src/specification/schemaAccess.js.map +0 -1
  638. package/dist/src/sync/common/appProvider.d.ts.map +0 -1
  639. package/dist/src/sync/common/appProvider.js.map +0 -1
  640. package/dist/src/sync/common/decoration/control.d.ts.map +0 -1
  641. package/dist/src/sync/common/decoration/control.js +0 -227
  642. package/dist/src/sync/common/decoration/control.js.map +0 -1
  643. package/dist/src/sync/common/decoration/decorators.d.ts +0 -13
  644. package/dist/src/sync/common/decoration/decorators.d.ts.map +0 -1
  645. package/dist/src/sync/common/decoration/decorators.js +0 -52
  646. package/dist/src/sync/common/decoration/decorators.js.map +0 -1
  647. package/dist/src/sync/common/decoration/factory.d.ts.map +0 -1
  648. package/dist/src/sync/common/decoration/factory.js.map +0 -1
  649. package/dist/src/sync/common/decoration/flex.d.ts.map +0 -1
  650. package/dist/src/sync/common/decoration/flex.js.map +0 -1
  651. package/dist/src/sync/common/decoration/index.d.ts.map +0 -1
  652. package/dist/src/sync/common/decoration/index.js.map +0 -1
  653. package/dist/src/sync/common/distTagEvaluator.d.ts.map +0 -1
  654. package/dist/src/sync/common/distTagEvaluator.js.map +0 -1
  655. package/dist/src/sync/common/flexUtils.d.ts.map +0 -1
  656. package/dist/src/sync/common/flexUtils.js.map +0 -1
  657. package/dist/src/sync/common/generate/index.d.ts.map +0 -1
  658. package/dist/src/sync/common/generate/index.js.map +0 -1
  659. package/dist/src/sync/common/generate/objectPage.d.ts.map +0 -1
  660. package/dist/src/sync/common/generate/objectPage.js.map +0 -1
  661. package/dist/src/sync/common/generate/utils.d.ts.map +0 -1
  662. package/dist/src/sync/common/generate/utils.js.map +0 -1
  663. package/dist/src/sync/common/i18n.json +0 -32
  664. package/dist/src/sync/common/import/utils.d.ts.map +0 -1
  665. package/dist/src/sync/common/import/utils.js.map +0 -1
  666. package/dist/src/sync/common/importProject.d.ts.map +0 -1
  667. package/dist/src/sync/common/importProject.js +0 -360
  668. package/dist/src/sync/common/importProject.js.map +0 -1
  669. package/dist/src/sync/common/index.d.ts.map +0 -1
  670. package/dist/src/sync/common/index.js.map +0 -1
  671. package/dist/src/sync/common/utils.d.ts.map +0 -1
  672. package/dist/src/sync/common/utils.js +0 -1392
  673. package/dist/src/sync/common/utils.js.map +0 -1
  674. package/dist/src/sync/i18n.d.ts.map +0 -1
  675. package/dist/src/sync/i18n.js.map +0 -1
  676. package/dist/src/sync/v2/application.d.ts.map +0 -1
  677. package/dist/src/sync/v2/application.js +0 -190
  678. package/dist/src/sync/v2/application.js.map +0 -1
  679. package/dist/src/sync/v2/export/controls/Action.d.ts.map +0 -1
  680. package/dist/src/sync/v2/export/controls/Action.js.map +0 -1
  681. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +0 -1
  682. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +0 -1
  683. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +0 -1
  684. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +0 -1
  685. package/dist/src/sync/v2/export/controls/Card.d.ts.map +0 -1
  686. package/dist/src/sync/v2/export/controls/Card.js.map +0 -1
  687. package/dist/src/sync/v2/export/controls/Field.d.ts.map +0 -1
  688. package/dist/src/sync/v2/export/controls/Field.js.map +0 -1
  689. package/dist/src/sync/v2/export/controls/FilterBar.d.ts.map +0 -1
  690. package/dist/src/sync/v2/export/controls/FilterBar.js.map +0 -1
  691. package/dist/src/sync/v2/export/controls/FormAction.d.ts.map +0 -1
  692. package/dist/src/sync/v2/export/controls/FormAction.js.map +0 -1
  693. package/dist/src/sync/v2/export/controls/Fragment.d.ts.map +0 -1
  694. package/dist/src/sync/v2/export/controls/Fragment.js.map +0 -1
  695. package/dist/src/sync/v2/export/controls/ObjectPageChart.d.ts.map +0 -1
  696. package/dist/src/sync/v2/export/controls/ObjectPageChart.js.map +0 -1
  697. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +0 -1
  698. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +0 -1
  699. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +0 -1
  700. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +0 -1
  701. package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts.map +0 -1
  702. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js +0 -72
  703. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +0 -1
  704. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +0 -1
  705. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +0 -1
  706. package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +0 -1
  707. package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +0 -1
  708. package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts.map +0 -1
  709. package/dist/src/sync/v2/export/controls/ObjectPageLayout.js.map +0 -1
  710. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +0 -41
  711. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts.map +0 -1
  712. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +0 -192
  713. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +0 -1
  714. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +0 -56
  715. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +0 -1
  716. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +0 -406
  717. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +0 -1
  718. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +0 -1
  719. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +0 -1
  720. package/dist/src/sync/v2/export/controls/Table.d.ts.map +0 -1
  721. package/dist/src/sync/v2/export/controls/Table.js.map +0 -1
  722. package/dist/src/sync/v2/export/controls/TableColumn.d.ts.map +0 -1
  723. package/dist/src/sync/v2/export/controls/TableColumn.js.map +0 -1
  724. package/dist/src/sync/v2/export/controls/ToolBar.d.ts.map +0 -1
  725. package/dist/src/sync/v2/export/controls/ToolBar.js.map +0 -1
  726. package/dist/src/sync/v2/export/controls/index.d.ts +0 -22
  727. package/dist/src/sync/v2/export/controls/index.d.ts.map +0 -1
  728. package/dist/src/sync/v2/export/controls/index.js +0 -38
  729. package/dist/src/sync/v2/export/controls/index.js.map +0 -1
  730. package/dist/src/sync/v2/export/export.d.ts.map +0 -1
  731. package/dist/src/sync/v2/export/export.js.map +0 -1
  732. package/dist/src/sync/v2/export/exportPage.d.ts.map +0 -1
  733. package/dist/src/sync/v2/export/exportPage.js.map +0 -1
  734. package/dist/src/sync/v2/export/factory.d.ts.map +0 -1
  735. package/dist/src/sync/v2/export/factory.js.map +0 -1
  736. package/dist/src/sync/v2/export/manifest.d.ts.map +0 -1
  737. package/dist/src/sync/v2/export/manifest.js.map +0 -1
  738. package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts.map +0 -1
  739. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +0 -1
  740. package/dist/src/sync/v2/export/pages/ListReport.d.ts.map +0 -1
  741. package/dist/src/sync/v2/export/pages/ListReport.js.map +0 -1
  742. package/dist/src/sync/v2/export/pages/ObjectPage.d.ts.map +0 -1
  743. package/dist/src/sync/v2/export/pages/ObjectPage.js.map +0 -1
  744. package/dist/src/sync/v2/export/pages/OverviewPage.d.ts.map +0 -1
  745. package/dist/src/sync/v2/export/pages/OverviewPage.js.map +0 -1
  746. package/dist/src/sync/v2/export/pages/index.d.ts.map +0 -1
  747. package/dist/src/sync/v2/export/pages/index.js.map +0 -1
  748. package/dist/src/sync/v2/export/view-controller-generator.d.ts.map +0 -1
  749. package/dist/src/sync/v2/export/view-controller-generator.js.map +0 -1
  750. package/dist/src/sync/v2/generate/analyticalListReport.d.ts.map +0 -1
  751. package/dist/src/sync/v2/generate/analyticalListReport.js +0 -144
  752. package/dist/src/sync/v2/generate/analyticalListReport.js.map +0 -1
  753. package/dist/src/sync/v2/generate/generate.d.ts.map +0 -1
  754. package/dist/src/sync/v2/generate/generate.js.map +0 -1
  755. package/dist/src/sync/v2/generate/index.d.ts.map +0 -1
  756. package/dist/src/sync/v2/generate/index.js.map +0 -1
  757. package/dist/src/sync/v2/generate/listReport.d.ts.map +0 -1
  758. package/dist/src/sync/v2/generate/listReport.js.map +0 -1
  759. package/dist/src/sync/v2/generate/objectPage.d.ts.map +0 -1
  760. package/dist/src/sync/v2/generate/objectPage.js +0 -669
  761. package/dist/src/sync/v2/generate/objectPage.js.map +0 -1
  762. package/dist/src/sync/v2/generate/overviewPage.d.ts.map +0 -1
  763. package/dist/src/sync/v2/generate/overviewPage.js.map +0 -1
  764. package/dist/src/sync/v2/generate/utils.d.ts.map +0 -1
  765. package/dist/src/sync/v2/generate/utils.js +0 -656
  766. package/dist/src/sync/v2/generate/utils.js.map +0 -1
  767. package/dist/src/sync/v2/import/app/appProvider.d.ts.map +0 -1
  768. package/dist/src/sync/v2/import/app/appProvider.js.map +0 -1
  769. package/dist/src/sync/v2/import/app/ovpProvider.d.ts.map +0 -1
  770. package/dist/src/sync/v2/import/app/ovpProvider.js.map +0 -1
  771. package/dist/src/sync/v2/import/common/index.d.ts.map +0 -1
  772. package/dist/src/sync/v2/import/common/index.js +0 -445
  773. package/dist/src/sync/v2/import/common/index.js.map +0 -1
  774. package/dist/src/sync/v2/import/controls/table.d.ts.map +0 -1
  775. package/dist/src/sync/v2/import/controls/table.js.map +0 -1
  776. package/dist/src/sync/v2/import/getPageType.d.ts.map +0 -1
  777. package/dist/src/sync/v2/import/getPageType.js.map +0 -1
  778. package/dist/src/sync/v2/import/index.d.ts.map +0 -1
  779. package/dist/src/sync/v2/import/index.js.map +0 -1
  780. package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts.map +0 -1
  781. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +0 -1
  782. package/dist/src/sync/v2/import/pages/listReport.d.ts.map +0 -1
  783. package/dist/src/sync/v2/import/pages/listReport.js.map +0 -1
  784. package/dist/src/sync/v2/import/pages/objectPage.d.ts.map +0 -1
  785. package/dist/src/sync/v2/import/pages/objectPage.js.map +0 -1
  786. package/dist/src/sync/v2/import/pages/overviewPage.d.ts.map +0 -1
  787. package/dist/src/sync/v2/import/pages/overviewPage.js.map +0 -1
  788. package/dist/src/sync/v2/import/utils.d.ts.map +0 -1
  789. package/dist/src/sync/v2/import/utils.js.map +0 -1
  790. package/dist/src/sync/v2/types.d.ts +0 -84
  791. package/dist/src/sync/v2/types.d.ts.map +0 -1
  792. package/dist/src/sync/v2/types.js +0 -51
  793. package/dist/src/sync/v2/types.js.map +0 -1
  794. package/dist/src/sync/v4/application.d.ts.map +0 -1
  795. package/dist/src/sync/v4/application.js +0 -153
  796. package/dist/src/sync/v4/application.js.map +0 -1
  797. package/dist/src/sync/v4/export/controls/FilterBar.d.ts.map +0 -1
  798. package/dist/src/sync/v4/export/controls/FilterBar.js +0 -25
  799. package/dist/src/sync/v4/export/controls/FilterBar.js.map +0 -1
  800. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +0 -1
  801. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +0 -1
  802. package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +0 -1
  803. package/dist/src/sync/v4/export/controls/ObjectPageHeader.js.map +0 -1
  804. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +0 -1
  805. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js +0 -66
  806. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +0 -1
  807. package/dist/src/sync/v4/export/controls/ObjectPageLayout.d.ts.map +0 -1
  808. package/dist/src/sync/v4/export/controls/ObjectPageLayout.js +0 -25
  809. package/dist/src/sync/v4/export/controls/ObjectPageLayout.js.map +0 -1
  810. package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts +0 -23
  811. package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +0 -1
  812. package/dist/src/sync/v4/export/controls/ObjectPageTable.js +0 -181
  813. package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +0 -1
  814. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +0 -13
  815. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +0 -1
  816. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +0 -65
  817. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +0 -1
  818. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +0 -1
  819. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +0 -1
  820. package/dist/src/sync/v4/export/controls/Table.d.ts +0 -149
  821. package/dist/src/sync/v4/export/controls/Table.d.ts.map +0 -1
  822. package/dist/src/sync/v4/export/controls/Table.js +0 -636
  823. package/dist/src/sync/v4/export/controls/Table.js.map +0 -1
  824. package/dist/src/sync/v4/export/controls/TableColumn.d.ts.map +0 -1
  825. package/dist/src/sync/v4/export/controls/TableColumn.js +0 -311
  826. package/dist/src/sync/v4/export/controls/TableColumn.js.map +0 -1
  827. package/dist/src/sync/v4/export/controls/ToolBar.d.ts.map +0 -1
  828. package/dist/src/sync/v4/export/controls/ToolBar.js.map +0 -1
  829. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +0 -8
  830. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts.map +0 -1
  831. package/dist/src/sync/v4/export/controls/ToolBarAction.js +0 -32
  832. package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +0 -1
  833. package/dist/src/sync/v4/export/controls/index.d.ts.map +0 -1
  834. package/dist/src/sync/v4/export/controls/index.js.map +0 -1
  835. package/dist/src/sync/v4/export/export.d.ts +0 -19
  836. package/dist/src/sync/v4/export/export.d.ts.map +0 -1
  837. package/dist/src/sync/v4/export/export.js +0 -830
  838. package/dist/src/sync/v4/export/export.js.map +0 -1
  839. package/dist/src/sync/v4/export/factory.d.ts.map +0 -1
  840. package/dist/src/sync/v4/export/factory.js +0 -61
  841. package/dist/src/sync/v4/export/factory.js.map +0 -1
  842. package/dist/src/sync/v4/export/flexibleColumnLayout.d.ts.map +0 -1
  843. package/dist/src/sync/v4/export/flexibleColumnLayout.js.map +0 -1
  844. package/dist/src/sync/v4/export/manifest.d.ts.map +0 -1
  845. package/dist/src/sync/v4/export/manifest.js.map +0 -1
  846. package/dist/src/sync/v4/export/pages/FreestylePage.d.ts.map +0 -1
  847. package/dist/src/sync/v4/export/pages/FreestylePage.js.map +0 -1
  848. package/dist/src/sync/v4/export/pages/ListReport.d.ts.map +0 -1
  849. package/dist/src/sync/v4/export/pages/ListReport.js +0 -82
  850. package/dist/src/sync/v4/export/pages/ListReport.js.map +0 -1
  851. package/dist/src/sync/v4/export/pages/ObjectPage.d.ts.map +0 -1
  852. package/dist/src/sync/v4/export/pages/ObjectPage.js +0 -41
  853. package/dist/src/sync/v4/export/pages/ObjectPage.js.map +0 -1
  854. package/dist/src/sync/v4/export/pages/index.d.ts.map +0 -1
  855. package/dist/src/sync/v4/export/pages/index.js.map +0 -1
  856. package/dist/src/sync/v4/export/types.d.ts.map +0 -1
  857. package/dist/src/sync/v4/export/types.js.map +0 -1
  858. package/dist/src/sync/v4/export/utils.d.ts.map +0 -1
  859. package/dist/src/sync/v4/export/utils.js.map +0 -1
  860. package/dist/src/sync/v4/generate/freestylePage.d.ts.map +0 -1
  861. package/dist/src/sync/v4/generate/freestylePage.js.map +0 -1
  862. package/dist/src/sync/v4/generate/generate.d.ts +0 -42
  863. package/dist/src/sync/v4/generate/generate.d.ts.map +0 -1
  864. package/dist/src/sync/v4/generate/generate.js +0 -97
  865. package/dist/src/sync/v4/generate/generate.js.map +0 -1
  866. package/dist/src/sync/v4/generate/index.d.ts.map +0 -1
  867. package/dist/src/sync/v4/generate/index.js.map +0 -1
  868. package/dist/src/sync/v4/generate/listReport.d.ts +0 -24
  869. package/dist/src/sync/v4/generate/listReport.d.ts.map +0 -1
  870. package/dist/src/sync/v4/generate/listReport.js +0 -731
  871. package/dist/src/sync/v4/generate/listReport.js.map +0 -1
  872. package/dist/src/sync/v4/generate/objectPage.d.ts.map +0 -1
  873. package/dist/src/sync/v4/generate/objectPage.js.map +0 -1
  874. package/dist/src/sync/v4/import/app/appProvider.d.ts.map +0 -1
  875. package/dist/src/sync/v4/import/app/appProvider.js.map +0 -1
  876. package/dist/src/sync/v4/import/app/index.d.ts.map +0 -1
  877. package/dist/src/sync/v4/import/app/index.js.map +0 -1
  878. package/dist/src/sync/v4/import/fragment.d.ts.map +0 -1
  879. package/dist/src/sync/v4/import/fragment.js.map +0 -1
  880. package/dist/src/sync/v4/import/index.d.ts.map +0 -1
  881. package/dist/src/sync/v4/import/index.js.map +0 -1
  882. package/dist/src/sync/v4/import/pages/listReport.d.ts.map +0 -1
  883. package/dist/src/sync/v4/import/pages/listReport.js.map +0 -1
  884. package/dist/src/sync/v4/import/pages/objectPage.d.ts.map +0 -1
  885. package/dist/src/sync/v4/import/pages/objectPage.js.map +0 -1
  886. package/dist/src/sync/v4/import/utils.d.ts.map +0 -1
  887. package/dist/src/sync/v4/import/utils.js.map +0 -1
  888. package/dist/src/sync/v4/types.d.ts.map +0 -1
  889. package/dist/src/sync/v4/types.js.map +0 -1
  890. package/dist/src/sync/v4/utils/StableIdHelper.d.ts.map +0 -1
  891. package/dist/src/sync/v4/utils/StableIdHelper.js.map +0 -1
  892. package/dist/src/sync/v4/utils/utils.d.ts.map +0 -1
  893. package/dist/src/sync/v4/utils/utils.js.map +0 -1
  894. /package/dist/{src → specification/src}/api.d.ts +0 -0
  895. /package/dist/{src → specification/src}/api.js +0 -0
  896. /package/dist/{src → specification/src}/extensionLogger.d.ts +0 -0
  897. /package/dist/{src → specification/src}/extensionLogger.js +0 -0
  898. /package/dist/{src → specification/src}/i18n/i18n.d.ts +0 -0
  899. /package/dist/{src → specification/src}/i18n/i18n.js +0 -0
  900. /package/dist/{src → specification/src}/index.d.ts +0 -0
  901. /package/dist/{src → specification/src}/index.js +0 -0
  902. /package/dist/{src → specification/src}/project.d.ts +0 -0
  903. /package/dist/{src → specification/src}/project.js +0 -0
  904. /package/dist/{src → specification/src}/specification/schemaAccess.d.ts +0 -0
  905. /package/dist/{src → specification/src}/specification/schemaAccess.js +0 -0
  906. /package/dist/{src → specification/src}/sync/common/appProvider.d.ts +0 -0
  907. /package/dist/{src → specification/src}/sync/common/appProvider.js +0 -0
  908. /package/dist/{src → specification/src}/sync/common/decoration/control.d.ts +0 -0
  909. /package/dist/{src → specification/src}/sync/common/decoration/factory.d.ts +0 -0
  910. /package/dist/{src → specification/src}/sync/common/decoration/factory.js +0 -0
  911. /package/dist/{src → specification/src}/sync/common/decoration/flex.d.ts +0 -0
  912. /package/dist/{src → specification/src}/sync/common/decoration/flex.js +0 -0
  913. /package/dist/{src → specification/src}/sync/common/decoration/index.d.ts +0 -0
  914. /package/dist/{src → specification/src}/sync/common/decoration/index.js +0 -0
  915. /package/dist/{src → specification/src}/sync/common/distTagEvaluator.d.ts +0 -0
  916. /package/dist/{src → specification/src}/sync/common/distTagEvaluator.js +0 -0
  917. /package/dist/{src → specification/src}/sync/common/dist_tag.json +0 -0
  918. /package/dist/{src → specification/src}/sync/common/flexUtils.d.ts +0 -0
  919. /package/dist/{src → specification/src}/sync/common/flexUtils.js +0 -0
  920. /package/dist/{src → specification/src}/sync/common/generate/index.d.ts +0 -0
  921. /package/dist/{src → specification/src}/sync/common/generate/index.js +0 -0
  922. /package/dist/{src → specification/src}/sync/common/generate/objectPage.d.ts +0 -0
  923. /package/dist/{src → specification/src}/sync/common/generate/objectPage.js +0 -0
  924. /package/dist/{src → specification/src}/sync/common/generate/utils.d.ts +0 -0
  925. /package/dist/{src → specification/src}/sync/common/generate/utils.js +0 -0
  926. /package/dist/{src → specification/src}/sync/common/import/utils.d.ts +0 -0
  927. /package/dist/{src → specification/src}/sync/common/import/utils.js +0 -0
  928. /package/dist/{src → specification/src}/sync/common/importProject.d.ts +0 -0
  929. /package/dist/{src → specification/src}/sync/common/index.d.ts +0 -0
  930. /package/dist/{src → specification/src}/sync/common/index.js +0 -0
  931. /package/dist/{src → specification/src}/sync/common/utils.d.ts +0 -0
  932. /package/dist/{src → specification/src}/sync/i18n.d.ts +0 -0
  933. /package/dist/{src → specification/src}/sync/i18n.js +0 -0
  934. /package/dist/{src → specification/src}/sync/v2/application.d.ts +0 -0
  935. /package/dist/{src → specification/src}/sync/v2/export/controls/Action.d.ts +0 -0
  936. /package/dist/{src → specification/src}/sync/v2/export/controls/Action.js +0 -0
  937. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageChart.d.ts +0 -0
  938. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageChart.js +0 -0
  939. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +0 -0
  940. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageKPI.js +0 -0
  941. /package/dist/{src → specification/src}/sync/v2/export/controls/Card.d.ts +0 -0
  942. /package/dist/{src → specification/src}/sync/v2/export/controls/Card.js +0 -0
  943. /package/dist/{src → specification/src}/sync/v2/export/controls/Field.d.ts +0 -0
  944. /package/dist/{src → specification/src}/sync/v2/export/controls/Field.js +0 -0
  945. /package/dist/{src → specification/src}/sync/v2/export/controls/FilterBar.d.ts +0 -0
  946. /package/dist/{src → specification/src}/sync/v2/export/controls/FilterBar.js +0 -0
  947. /package/dist/{src → specification/src}/sync/v2/export/controls/FormAction.d.ts +0 -0
  948. /package/dist/{src → specification/src}/sync/v2/export/controls/FormAction.js +0 -0
  949. /package/dist/{src → specification/src}/sync/v2/export/controls/Fragment.d.ts +0 -0
  950. /package/dist/{src → specification/src}/sync/v2/export/controls/Fragment.js +0 -0
  951. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageChart.d.ts +0 -0
  952. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageChart.js +0 -0
  953. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageCustomSection.d.ts +0 -0
  954. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageCustomSection.js +0 -0
  955. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageFooterAction.d.ts +0 -0
  956. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageFooterAction.js +0 -0
  957. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeader.d.ts +0 -0
  958. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +0 -0
  959. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderAction.js +0 -0
  960. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderSection.d.ts +0 -0
  961. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderSection.js +0 -0
  962. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageLayout.d.ts +0 -0
  963. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageLayout.js +0 -0
  964. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +0 -0
  965. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageToolBarAction.js +0 -0
  966. /package/dist/{src → specification/src}/sync/v2/export/controls/Table.d.ts +0 -0
  967. /package/dist/{src → specification/src}/sync/v2/export/controls/Table.js +0 -0
  968. /package/dist/{src → specification/src}/sync/v2/export/controls/TableColumn.d.ts +0 -0
  969. /package/dist/{src → specification/src}/sync/v2/export/controls/TableColumn.js +0 -0
  970. /package/dist/{src → specification/src}/sync/v2/export/controls/ToolBar.d.ts +0 -0
  971. /package/dist/{src → specification/src}/sync/v2/export/controls/ToolBar.js +0 -0
  972. /package/dist/{src → specification/src}/sync/v2/export/export.d.ts +0 -0
  973. /package/dist/{src → specification/src}/sync/v2/export/export.js +0 -0
  974. /package/dist/{src → specification/src}/sync/v2/export/exportPage.d.ts +0 -0
  975. /package/dist/{src → specification/src}/sync/v2/export/exportPage.js +0 -0
  976. /package/dist/{src → specification/src}/sync/v2/export/factory.d.ts +0 -0
  977. /package/dist/{src → specification/src}/sync/v2/export/factory.js +0 -0
  978. /package/dist/{src → specification/src}/sync/v2/export/manifest.d.ts +0 -0
  979. /package/dist/{src → specification/src}/sync/v2/export/manifest.js +0 -0
  980. /package/dist/{src → specification/src}/sync/v2/export/pages/AnalyticalListPage.d.ts +0 -0
  981. /package/dist/{src → specification/src}/sync/v2/export/pages/AnalyticalListPage.js +0 -0
  982. /package/dist/{src → specification/src}/sync/v2/export/pages/ListReport.d.ts +0 -0
  983. /package/dist/{src → specification/src}/sync/v2/export/pages/ListReport.js +0 -0
  984. /package/dist/{src → specification/src}/sync/v2/export/pages/ObjectPage.d.ts +0 -0
  985. /package/dist/{src → specification/src}/sync/v2/export/pages/ObjectPage.js +0 -0
  986. /package/dist/{src → specification/src}/sync/v2/export/pages/OverviewPage.d.ts +0 -0
  987. /package/dist/{src → specification/src}/sync/v2/export/pages/OverviewPage.js +0 -0
  988. /package/dist/{src → specification/src}/sync/v2/export/pages/index.d.ts +0 -0
  989. /package/dist/{src → specification/src}/sync/v2/export/pages/index.js +0 -0
  990. /package/dist/{src → specification/src}/sync/v2/export/view-controller-generator.d.ts +0 -0
  991. /package/dist/{src → specification/src}/sync/v2/export/view-controller-generator.js +0 -0
  992. /package/dist/{src → specification/src}/sync/v2/generate/analyticalListReport.d.ts +0 -0
  993. /package/dist/{src → specification/src}/sync/v2/generate/generate.d.ts +0 -0
  994. /package/dist/{src → specification/src}/sync/v2/generate/generate.js +0 -0
  995. /package/dist/{src → specification/src}/sync/v2/generate/index.d.ts +0 -0
  996. /package/dist/{src → specification/src}/sync/v2/generate/index.js +0 -0
  997. /package/dist/{src → specification/src}/sync/v2/generate/listReport.d.ts +0 -0
  998. /package/dist/{src → specification/src}/sync/v2/generate/listReport.js +0 -0
  999. /package/dist/{src → specification/src}/sync/v2/generate/objectPage.d.ts +0 -0
  1000. /package/dist/{src → specification/src}/sync/v2/generate/overviewPage.d.ts +0 -0
  1001. /package/dist/{src → specification/src}/sync/v2/generate/overviewPage.js +0 -0
  1002. /package/dist/{src → specification/src}/sync/v2/generate/utils.d.ts +0 -0
  1003. /package/dist/{src → specification/src}/sync/v2/import/app/appProvider.d.ts +0 -0
  1004. /package/dist/{src → specification/src}/sync/v2/import/app/appProvider.js +0 -0
  1005. /package/dist/{src → specification/src}/sync/v2/import/app/ovpProvider.d.ts +0 -0
  1006. /package/dist/{src → specification/src}/sync/v2/import/app/ovpProvider.js +0 -0
  1007. /package/dist/{src → specification/src}/sync/v2/import/common/index.d.ts +0 -0
  1008. /package/dist/{src → specification/src}/sync/v2/import/controls/table.d.ts +0 -0
  1009. /package/dist/{src → specification/src}/sync/v2/import/controls/table.js +0 -0
  1010. /package/dist/{src → specification/src}/sync/v2/import/getPageType.d.ts +0 -0
  1011. /package/dist/{src → specification/src}/sync/v2/import/getPageType.js +0 -0
  1012. /package/dist/{src → specification/src}/sync/v2/import/index.d.ts +0 -0
  1013. /package/dist/{src → specification/src}/sync/v2/import/index.js +0 -0
  1014. /package/dist/{src → specification/src}/sync/v2/import/pages/analyticalListPage.d.ts +0 -0
  1015. /package/dist/{src → specification/src}/sync/v2/import/pages/analyticalListPage.js +0 -0
  1016. /package/dist/{src → specification/src}/sync/v2/import/pages/listReport.d.ts +0 -0
  1017. /package/dist/{src → specification/src}/sync/v2/import/pages/listReport.js +0 -0
  1018. /package/dist/{src → specification/src}/sync/v2/import/pages/objectPage.d.ts +0 -0
  1019. /package/dist/{src → specification/src}/sync/v2/import/pages/objectPage.js +0 -0
  1020. /package/dist/{src → specification/src}/sync/v2/import/pages/overviewPage.d.ts +0 -0
  1021. /package/dist/{src → specification/src}/sync/v2/import/pages/overviewPage.js +0 -0
  1022. /package/dist/{src → specification/src}/sync/v2/import/utils.d.ts +0 -0
  1023. /package/dist/{src → specification/src}/sync/v2/import/utils.js +0 -0
  1024. /package/dist/{src → specification/src}/sync/v4/application.d.ts +0 -0
  1025. /package/dist/{src → specification/src}/sync/v4/export/controls/FilterBar.d.ts +0 -0
  1026. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomSection.d.ts +0 -0
  1027. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomSection.js +0 -0
  1028. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeader.d.ts +0 -0
  1029. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeader.js +0 -0
  1030. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +0 -0
  1031. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageLayout.d.ts +0 -0
  1032. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +0 -0
  1033. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageToolBarAction.js +0 -0
  1034. /package/dist/{src → specification/src}/sync/v4/export/controls/TableColumn.d.ts +0 -0
  1035. /package/dist/{src → specification/src}/sync/v4/export/controls/ToolBar.d.ts +0 -0
  1036. /package/dist/{src → specification/src}/sync/v4/export/controls/ToolBar.js +0 -0
  1037. /package/dist/{src → specification/src}/sync/v4/export/controls/index.d.ts +0 -0
  1038. /package/dist/{src → specification/src}/sync/v4/export/controls/index.js +0 -0
  1039. /package/dist/{src → specification/src}/sync/v4/export/factory.d.ts +0 -0
  1040. /package/dist/{src → specification/src}/sync/v4/export/flexibleColumnLayout.d.ts +0 -0
  1041. /package/dist/{src → specification/src}/sync/v4/export/flexibleColumnLayout.js +0 -0
  1042. /package/dist/{src → specification/src}/sync/v4/export/manifest.d.ts +0 -0
  1043. /package/dist/{src → specification/src}/sync/v4/export/manifest.js +0 -0
  1044. /package/dist/{src → specification/src}/sync/v4/export/pages/FreestylePage.d.ts +0 -0
  1045. /package/dist/{src → specification/src}/sync/v4/export/pages/FreestylePage.js +0 -0
  1046. /package/dist/{src → specification/src}/sync/v4/export/pages/ListReport.d.ts +0 -0
  1047. /package/dist/{src → specification/src}/sync/v4/export/pages/ObjectPage.d.ts +0 -0
  1048. /package/dist/{src → specification/src}/sync/v4/export/pages/index.d.ts +0 -0
  1049. /package/dist/{src → specification/src}/sync/v4/export/pages/index.js +0 -0
  1050. /package/dist/{src → specification/src}/sync/v4/export/types.d.ts +0 -0
  1051. /package/dist/{src → specification/src}/sync/v4/export/types.js +0 -0
  1052. /package/dist/{src → specification/src}/sync/v4/export/utils.d.ts +0 -0
  1053. /package/dist/{src → specification/src}/sync/v4/export/utils.js +0 -0
  1054. /package/dist/{src → specification/src}/sync/v4/generate/freestylePage.d.ts +0 -0
  1055. /package/dist/{src → specification/src}/sync/v4/generate/freestylePage.js +0 -0
  1056. /package/dist/{src → specification/src}/sync/v4/generate/index.d.ts +0 -0
  1057. /package/dist/{src → specification/src}/sync/v4/generate/index.js +0 -0
  1058. /package/dist/{src → specification/src}/sync/v4/generate/objectPage.d.ts +0 -0
  1059. /package/dist/{src → specification/src}/sync/v4/generate/objectPage.js +0 -0
  1060. /package/dist/{src → specification/src}/sync/v4/import/app/appProvider.d.ts +0 -0
  1061. /package/dist/{src → specification/src}/sync/v4/import/app/appProvider.js +0 -0
  1062. /package/dist/{src → specification/src}/sync/v4/import/app/index.d.ts +0 -0
  1063. /package/dist/{src → specification/src}/sync/v4/import/app/index.js +0 -0
  1064. /package/dist/{src → specification/src}/sync/v4/import/fragment.d.ts +0 -0
  1065. /package/dist/{src → specification/src}/sync/v4/import/fragment.js +0 -0
  1066. /package/dist/{src → specification/src}/sync/v4/import/index.d.ts +0 -0
  1067. /package/dist/{src → specification/src}/sync/v4/import/index.js +0 -0
  1068. /package/dist/{src → specification/src}/sync/v4/import/pages/listReport.d.ts +0 -0
  1069. /package/dist/{src → specification/src}/sync/v4/import/pages/listReport.js +0 -0
  1070. /package/dist/{src → specification/src}/sync/v4/import/pages/objectPage.d.ts +0 -0
  1071. /package/dist/{src → specification/src}/sync/v4/import/pages/objectPage.js +0 -0
  1072. /package/dist/{src → specification/src}/sync/v4/import/utils.d.ts +0 -0
  1073. /package/dist/{src → specification/src}/sync/v4/import/utils.js +0 -0
  1074. /package/dist/{src → specification/src}/sync/v4/types.d.ts +0 -0
  1075. /package/dist/{src → specification/src}/sync/v4/types.js +0 -0
  1076. /package/dist/{src → specification/src}/sync/v4/utils/StableIdHelper.d.ts +0 -0
  1077. /package/dist/{src → specification/src}/sync/v4/utils/StableIdHelper.js +0 -0
  1078. /package/dist/{src → specification/src}/sync/v4/utils/utils.d.ts +0 -0
  1079. /package/dist/{src → specification/src}/sync/v4/utils/utils.js +0 -0
@@ -0,0 +1,671 @@
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.generateObjectPageSchemaV2 = void 0;
7
+ const ux_specification_types_1 = require("@sap/ux-specification-types");
8
+ const common_1 = require("../../common");
9
+ const utils_1 = require("./utils");
10
+ const import_1 = require("../import");
11
+ const extensionLogger_1 = require("../../../extensionLogger");
12
+ const i18next_1 = __importDefault(require("i18next"));
13
+ const i18n_1 = require("../../../i18n/i18n");
14
+ const types_1 = require("../types");
15
+ const StableIdHelper_1 = require("../../v4/utils/StableIdHelper");
16
+ const ROOT_PROPERTIES_ORDER = ['header', 'sections', 'footer'];
17
+ /**
18
+ * Adds flexChange properties for sub(sections)
19
+ * @param appSchema - app schema in general
20
+ * @param schemaSection - current section
21
+ * @param property - property that will be enhanced
22
+ * @param sectionType - type of section
23
+ */
24
+ function addFlexChangeForSection(appSchema, schemaSection, property, sectionType) {
25
+ schemaSection.properties[property][ux_specification_types_1.SchemaTag.artifactType] = ux_specification_types_1.ArtifactType.FlexChange;
26
+ let controlType;
27
+ switch (sectionType) {
28
+ case types_1.SectionTypeV2.Section:
29
+ case types_1.SectionTypeV2.SectionForm:
30
+ case types_1.SectionTypeV2.SectionChart:
31
+ case types_1.SectionTypeV2.SectionTable:
32
+ controlType = ux_specification_types_1.ControlType.Section;
33
+ break;
34
+ case types_1.SectionTypeV2.SubSection:
35
+ controlType = ux_specification_types_1.ControlType.SubSection;
36
+ break;
37
+ case types_1.SectionTypeV2.SubSectionForm:
38
+ controlType = ux_specification_types_1.ControlType.Group;
39
+ break;
40
+ case types_1.SectionTypeV2.SubSectionChart:
41
+ controlType = ux_specification_types_1.ControlType.SmartChart;
42
+ break;
43
+ case types_1.SectionTypeV2.SubSectionTable:
44
+ controlType = ux_specification_types_1.ControlType.SmartTable;
45
+ break;
46
+ case types_1.SectionTypeV2.HeaderSection:
47
+ case types_1.SectionTypeV2.HeaderSectionAddress:
48
+ case types_1.SectionTypeV2.HeaderSectionChart:
49
+ case types_1.SectionTypeV2.HeaderSectionDataPoint:
50
+ case types_1.SectionTypeV2.HeaderSectionForm:
51
+ controlType = ux_specification_types_1.ControlType.ObjectPageHeaderSection;
52
+ break;
53
+ }
54
+ if (!controlType) {
55
+ return;
56
+ }
57
+ (0, common_1.addPatternForBindingChangeOfEnumOP)(appSchema, schemaSection, property);
58
+ schemaSection.properties[property][ux_specification_types_1.SchemaTag.controlType] = controlType;
59
+ }
60
+ /**
61
+ * Callback for adding a single action to headerActions of V2
62
+ * @param {EntityType} entityType - current entity type
63
+ * @param {object} appSchema Schema of the app
64
+ * @param actionAnnotation - annotation as present in AVT ConvertedMetadata
65
+ * @param headerActions - list of header actions, to be enhanced
66
+ */
67
+ function addHeaderActionCallBackV2(entityType, appSchema, identification, headerActions, oDataServiceAVT) {
68
+ identification?.forEach((item) => {
69
+ if (!item['Determining'] && item.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */) {
70
+ const { actionName, actionId, namespace } = (0, common_1.getActionNameAndId)(item, oDataServiceAVT);
71
+ //actionId is used as key in V2, as this is the right part for building the full stable ID
72
+ if (!actionId) {
73
+ return;
74
+ }
75
+ const description = item.Label || actionName;
76
+ const actionDefinitionKey = `HeaderAction<${(0, common_1.prepareRef)(actionId)}>`;
77
+ appSchema.definitions[actionDefinitionKey] = JSON.parse(JSON.stringify(appSchema.definitions['HeaderAction']));
78
+ const convertedIdentification = item.fullyQualifiedName.replace(`@${"com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */}`, `/@${"com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */}`);
79
+ appSchema.definitions[actionDefinitionKey][ux_specification_types_1.SchemaTag.annotationPath] = `/${convertedIdentification}`;
80
+ appSchema.definitions[actionDefinitionKey][ux_specification_types_1.SchemaTag.actionType] = ux_specification_types_1.ActionType.Annotation;
81
+ appSchema.definitions[actionDefinitionKey].description = description;
82
+ appSchema.definitions[actionDefinitionKey][ux_specification_types_1.SchemaTag.keys] = [
83
+ { name: ux_specification_types_1.SchemaKeyName.action, value: actionName }
84
+ ];
85
+ if (namespace) {
86
+ appSchema.definitions[actionDefinitionKey][ux_specification_types_1.SchemaTag.target] = namespace;
87
+ }
88
+ headerActions.properties[actionId] = {
89
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}${actionDefinitionKey}`
90
+ };
91
+ }
92
+ });
93
+ }
94
+ /**
95
+ * Callback for adding a single action to footerActions of V2
96
+ * @param {EntityType} entityType - current entity type
97
+ * @param {Definition} appSchema Schema of the app
98
+ * @param {Definition} footerActions - list of footer actions, to be enhanced
99
+ * @param {String} identification - converted UI.Identification term
100
+ */
101
+ function addFooterActionCallBackV2(entityType, appSchema, footerActions, identification) {
102
+ identification.forEach((item) => {
103
+ if (item['Determining'] && item.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */) {
104
+ const actionId = (0, StableIdHelper_1.getStableIdPartFromDataField)(item).split('::').splice(1).join('::');
105
+ const description = (0, common_1.getDataFieldDescription)(item, entityType);
106
+ const actionDefinitionKey = (0, common_1.prepareRef)(`${ux_specification_types_1.DefinitionName.ObjectPageFooterAction}<${actionId}>`);
107
+ const convertedIdentification = item.fullyQualifiedName.replace(`@${"com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */}`, `/@${"com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */}`);
108
+ appSchema.definitions[actionDefinitionKey] = {
109
+ ...JSON.parse(JSON.stringify(appSchema.definitions[ux_specification_types_1.DefinitionName.ObjectPageFooterAction])),
110
+ description,
111
+ annotationPath: `/${convertedIdentification}`
112
+ };
113
+ footerActions.properties[actionId] = {
114
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}${actionDefinitionKey}`
115
+ };
116
+ }
117
+ });
118
+ }
119
+ /**
120
+ * Method ensures that definitions for custom columns are created for passed entitySet.
121
+ * @param {object} appSchema App schema in general
122
+ * @param {object} manifest manifest.json of the app
123
+ * @param {string} entitySetName Entity set name.
124
+ * @param {string} entityTypeName Entity type name.
125
+ * @param {ConvertedMetadata} oDataServiceAVT Complete service information, as returned by annotation vocabularies tool
126
+ * @param {FacetConfig} facet information
127
+ * @param {string} facetKey - key of the facet, as listed in FacetConfigs
128
+ * @param {FileData[]} [fragments] Array with XML fragments.
129
+ * @return {string} Name of custom columns definition.
130
+ */
131
+ function ensureCustomColumnDefinitionExists(appSchema, manifest, entitySetName, entityTypeName, oDataServiceAVT, facet, facetKey, fragments) {
132
+ let suffix, customColumnsDefinitionName;
133
+ if (facet.ID && facet.Label) {
134
+ suffix = facet.ID + facet.Label.replace(/\s+/g, '');
135
+ }
136
+ else if (facet.ID) {
137
+ suffix = facet.ID;
138
+ }
139
+ else if (facet.Label) {
140
+ suffix = facet.Label.replace(/\s+/g, '');
141
+ }
142
+ if (suffix) {
143
+ customColumnsDefinitionName = `${ux_specification_types_1.DefinitionName.CustomColumns}<${entitySetName}><${facetKey}><${suffix}>`;
144
+ }
145
+ else {
146
+ customColumnsDefinitionName = `${ux_specification_types_1.DefinitionName.CustomColumns}<${entitySetName}><${facetKey}>`;
147
+ }
148
+ if (appSchema.definitions[customColumnsDefinitionName]) {
149
+ // Definition is already created - we do not need to create it again
150
+ return customColumnsDefinitionName;
151
+ }
152
+ // Create type specific 'TableCustomColumn' definition - use entity set as type.
153
+ const customColumnDefinitionName = `${ux_specification_types_1.DefinitionName.CustomColumn}<${entitySetName}>`;
154
+ const customColumnDefinition = JSON.parse(JSON.stringify(appSchema.definitions['TableCustomColumn']));
155
+ appSchema.definitions[customColumnDefinitionName] = customColumnDefinition;
156
+ // Update definitions for type specific custom columns
157
+ const pageKeys = [];
158
+ const entityType = oDataServiceAVT?.entityTypes.find((et) => et.name === entityTypeName);
159
+ const v2Page = (0, import_1.findObjectPageV2)(manifest[ux_specification_types_1.ManifestSection.generic].pages, entitySetName, pageKeys);
160
+ (0, utils_1.addTableColumnExtensions)(appSchema, entityType, v2Page, manifest, fragments, customColumnsDefinitionName, customColumnDefinitionName, facet.ID);
161
+ return customColumnsDefinitionName;
162
+ }
163
+ /**
164
+ * Method fills new app schema section with properties.
165
+ * @param {Definition} appSchema App schema in general
166
+ * @param {object} appSchemaSection app schema section to be filled
167
+ * @param {SectionTypeV2} sectionType (sub)section type
168
+ * @param {SectionTypeV2} mainSectionType main section type, used to fill app schema section
169
+ */
170
+ function addAppSchemaDefinition(appSchema, appSchemaSection, sectionType, mainSectionType) {
171
+ appSchemaSection.properties = JSON.parse(JSON.stringify(appSchema.definitions[mainSectionType].properties));
172
+ if (appSchemaSection.properties.visible) {
173
+ addFlexChangeForSection(appSchema, appSchemaSection, 'visible', sectionType);
174
+ }
175
+ }
176
+ /**
177
+ * Method adds reference to section property key.
178
+ * @param {object} sections - schema of current sections definition
179
+ * @param {string} key section key which will contain the reference
180
+ * @param {string} definitionKey key which the section should point to
181
+ */
182
+ function addSectionReference(sections, key, definitionKey) {
183
+ sections.properties[key] = { $ref: `${common_1.DEFINITION_LINK_PREFIX}${definitionKey}` };
184
+ }
185
+ /**
186
+ * Reuse function for all table types, copies and adapts the generic definition
187
+ * @param tableType - Table type
188
+ * @param facetId - facet ID, as derived for the given section
189
+ * @param facet - facet or section information
190
+ * @param appSchema - app-specific schema, to be updated
191
+ */
192
+ function addTableDefinition(tableType, facetId, facet, appSchema) {
193
+ const schemaId = (0, common_1.prepareRef)(`${tableType}<${facetId}>`);
194
+ appSchema.definitions[schemaId] = JSON.parse(JSON.stringify(appSchema.definitions[tableType]));
195
+ appSchema.definitions[schemaId]['properties']['columns']['$ref'] = common_1.DEFINITION_LINK_PREFIX + facetId;
196
+ appSchema.definitions[schemaId].properties.toolBar['$ref'] =
197
+ `${common_1.DEFINITION_LINK_PREFIX}ObjectPageToolBar<${facetId}>`;
198
+ appSchema.definitions[schemaId][ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
199
+ if (facet.ID !== undefined) {
200
+ appSchema.definitions[schemaId].title = ux_specification_types_1.FacetTitlePrefix + facet.ID;
201
+ appSchema.definitions[schemaId][ux_specification_types_1.SchemaTag.keys] = [{ name: `ID`, value: facet.ID }];
202
+ }
203
+ appSchema.definitions[schemaId].description = ux_specification_types_1.DefinitionName.Table;
204
+ //adjust quickVariantSelection
205
+ appSchema.definitions[schemaId].properties['quickVariantSelection']['$ref'] =
206
+ `${common_1.DEFINITION_LINK_PREFIX}QuickVariantSelectionOP<${facetId}>`;
207
+ appSchema.definitions[`QuickVariantSelectionOP<${facetId}>`] = JSON.parse(JSON.stringify(appSchema.definitions['QuickVariantSelectionOP']));
208
+ appSchema.definitions[`QuickVariant<${facetId}>`] = JSON.parse(JSON.stringify(appSchema.definitions['QuickVariant']));
209
+ appSchema.definitions[`QuickVariantSelectionOP<${facetId}>`].properties.variants.patternProperties['^[0-9]+$']['$ref'] = `${common_1.DEFINITION_LINK_PREFIX}QuickVariant<${facetId}>`;
210
+ (0, common_1.addEnumForSingleTabVariant)(facet.entityType, appSchema, `QuickVariant<${facetId}>`);
211
+ }
212
+ /**
213
+ * Adds definitions for line items in object page sections to the app schema
214
+ * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
215
+ * @param {string} facetKey - key of the facet, as listed in FacetConfigs
216
+ * @param {Definition} appSchema - app schema in general
217
+ * @param {FacetConfig} facet - the given facet from the UI annotations
218
+ * @param {FacetConfigs} facets - list of all facets
219
+ * @param {SectionTypeV2} sectionType (sub)section type
220
+ */
221
+ function handleLineItem(generateParameters, facetKey, appSchema, facet, facets, sectionType) {
222
+ if (facet.base !== ux_specification_types_1.FacetBase.LineItem || !facetKey) {
223
+ //no properties
224
+ return;
225
+ }
226
+ const navigationProperty = facetKey.split('::')[0];
227
+ const schemaIdForOpSection = `${sectionType}<${facetKey}>`;
228
+ appSchema.definitions[schemaIdForOpSection] = (0, common_1.createDefaultSection)(appSchema, facet, facetKey);
229
+ const appSchemaSection = appSchema.definitions[schemaIdForOpSection];
230
+ addAppSchemaDefinition(appSchema, appSchemaSection, sectionType, types_1.SectionTypeV2.SectionTable);
231
+ appSchemaSection.properties.table = JSON.parse(JSON.stringify(appSchema.definitions[types_1.SectionTypeV2.SectionTable]['properties'][ux_specification_types_1.PropertyName.table]));
232
+ appSchemaSection.properties.table.anyOf = [
233
+ {
234
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}ObjectPageResponsiveTableWithMultiSelect<${facetKey}>`
235
+ },
236
+ {
237
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}ObjectPageResponsiveTableWithInlineDelete<${facetKey}>`
238
+ },
239
+ {
240
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}ObjectPageAnalyticalTable<${facetKey}>`
241
+ },
242
+ {
243
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}ObjectPageGridTable<${facetKey}>`
244
+ },
245
+ {
246
+ $ref: `${common_1.DEFINITION_LINK_PREFIX}ObjectPageTreeTable<${facetKey}>`
247
+ }
248
+ ];
249
+ appSchemaSection[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
250
+ (0, common_1.addSectionTitleAndDescription)(facet, appSchemaSection, facetKey);
251
+ addTableDefinition('ObjectPageResponsiveTableWithMultiSelect', facetKey, facet, appSchema);
252
+ addTableDefinition('ObjectPageResponsiveTableWithInlineDelete', facetKey, facet, appSchema);
253
+ addTableDefinition('ObjectPageGridTable', facetKey, facet, appSchema);
254
+ addTableDefinition('ObjectPageTreeTable', facetKey, facet, appSchema);
255
+ addTableDefinition('ObjectPageAnalyticalTable', facetKey, facet, appSchema);
256
+ let customColumnDefinitionKey;
257
+ // Find target entity
258
+ const targetEntitySet = (0, common_1.determineEntitySetOfEntityType)(facet.entityType, generateParameters.serviceAVT);
259
+ if (targetEntitySet) {
260
+ // Make sure that custom columns definitions are created for passed entity
261
+ customColumnDefinitionKey = ensureCustomColumnDefinitionExists(appSchema, generateParameters.manifest, targetEntitySet.name, facet.entityType.name, generateParameters.serviceAVT, facet, facetKey, generateParameters.fragments);
262
+ }
263
+ for (const facetItem in facets) {
264
+ const facet = facets[facetItem];
265
+ if (facet.base === ux_specification_types_1.FacetBase.LineItem &&
266
+ (facet.ID === navigationProperty || facetItem.includes(navigationProperty))) {
267
+ (0, utils_1.addLineItemsType)(appSchema, facet.target, facet.entityType, facet.ID || facetItem, customColumnDefinitionKey);
268
+ }
269
+ }
270
+ }
271
+ /**
272
+ * Adds definitions for subsections in object page sections to the app schema
273
+ * @param {Definition} appSchema - app schema in general
274
+ * @param {string} definitionKey - key of app schema definition to be filled
275
+ * @param {FacetConfig} facet facet or section information
276
+ * @param {string} facetId - key of the facet, as listed in FacetConfigs
277
+ * @param {SectionTypeV2} sectionType (sub)section type
278
+ */
279
+ function handleSubSection(appSchema, definitionKey, facet, facetId, sectionType, isHeaderFacet = false) {
280
+ appSchema.definitions[definitionKey] = (0, common_1.createDefaultSection)(appSchema, facet, facetId);
281
+ const appSchemaSection = appSchema.definitions[definitionKey];
282
+ const sectionDefinition = isHeaderFacet ? types_1.SectionTypeV2.HeaderSection : types_1.SectionTypeV2.SubSection;
283
+ addAppSchemaDefinition(appSchema, appSchemaSection, sectionType, sectionDefinition);
284
+ appSchemaSection.properties.subsections = {
285
+ type: 'object',
286
+ description: 'Subsections',
287
+ properties: {},
288
+ additionalProperties: false
289
+ };
290
+ appSchemaSection.properties.subsections[ux_specification_types_1.SchemaTag.isViewNode] = true;
291
+ }
292
+ /**
293
+ * Method fills new chart section with properties.
294
+ * @param {Definition} appSchema App schema in general
295
+ * @param {string} definitionKey - key of app schema definition to be filled
296
+ * @param {FacetConfig} facet facet or section information
297
+ * @param {string} facetKey - facet key.
298
+ * @param {SectionTypeV2} sectionType (sub)section type
299
+ */
300
+ function handleSectionChart(appSchema, definitionKey, facet, facetKey, sectionType) {
301
+ appSchema.definitions[definitionKey] = (0, common_1.createDefaultSection)(appSchema, facet, facetKey);
302
+ const appSchemaSection = appSchema.definitions[definitionKey];
303
+ addAppSchemaDefinition(appSchema, appSchemaSection, sectionType, types_1.SectionTypeV2.SectionChart);
304
+ }
305
+ /**
306
+ * Method fills new header section with properties.
307
+ * @param {Definition} appSchema App schema in general
308
+ * @param {string} definitionKey - key of app schema definition to be filled
309
+ * @param {FacetConfig} facet facet or section information
310
+ * @param {string} facetKey - facet key.
311
+ * @param {SectionTypeV2} sectionType (sub)section type
312
+ */
313
+ function handleHeaderFacet(appSchema, definitionKey, facet, facetKey, sectionType, facetDefinition) {
314
+ appSchema.definitions[definitionKey] = (0, common_1.createDefaultSection)(appSchema, facet, facetKey);
315
+ const appSchemaSection = appSchema.definitions[definitionKey];
316
+ addAppSchemaDefinition(appSchema, appSchemaSection, sectionType, facetDefinition || types_1.SectionTypeV2.CommonHeaderFacetSettings);
317
+ appSchemaSection[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
318
+ appSchemaSection[ux_specification_types_1.SchemaTag.isViewNode] = true;
319
+ appSchemaSection[ux_specification_types_1.SchemaTag.dataType] = (0, common_1.determineDataTypeOfTarget)(facet?.target);
320
+ }
321
+ function addDataPointHeaderFacetDataType(appSchema, definitionKey, facet) {
322
+ const appSchemaSection = appSchema.definitions[definitionKey];
323
+ const dataType = (appSchemaSection[ux_specification_types_1.SchemaTag.dataType] = (0, common_1.determineDataTypeOfTarget)(facet?.target));
324
+ if (dataType === common_1.DataType.Rating) {
325
+ appSchemaSection.title = `${appSchemaSection.title}::RatingIndicatorVBox`;
326
+ }
327
+ else if (dataType === common_1.DataType.Progress) {
328
+ appSchemaSection.title = `${appSchemaSection.title}::ProgressIndicatorVBox`;
329
+ }
330
+ else {
331
+ appSchemaSection.title = `${appSchemaSection.title}::DataPoint`;
332
+ }
333
+ }
334
+ /**
335
+ * Method fills new form section in app schema with properties.
336
+ * @param {Definition} appSchema App schema in general
337
+ * @param {string} definitionKey - key of app schema definition to be filled
338
+ * @param {FacetConfig} facet facet or section information
339
+ * @param {string} facetKey - facet key.
340
+ * @param {SectionTypeV2} sectionType (sub)section type
341
+ * @return {object} returns filled form section in app schema.
342
+ */
343
+ function handleFormSection(appSchema, definitionKey, facet, facetKey, sectionType) {
344
+ appSchema.definitions[definitionKey] = (0, common_1.createDefaultSection)(appSchema, facet, facetKey);
345
+ const appSchemaSection = appSchema.definitions[definitionKey];
346
+ addAppSchemaDefinition(appSchema, appSchemaSection, sectionType, types_1.SectionTypeV2.SectionForm);
347
+ appSchemaSection[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
348
+ appSchemaSection[ux_specification_types_1.SchemaTag.isViewNode] = true;
349
+ return appSchemaSection;
350
+ }
351
+ /**
352
+ * Mapping of facet type to (sub)section type to enable correct further handling
353
+ * @param {FacetBase} facetType - facet type to be mapped
354
+ * @param {boolean} isSubSection - if section is subsection of section
355
+ * @return {SectionTypeV2} sectionType (sub)section type
356
+ */
357
+ function getSectionType(facetType, isSubSection, isHeaderFacet) {
358
+ const headerSectionMap = new Map([
359
+ [ux_specification_types_1.FacetBase.CollectionFacet, types_1.SectionTypeV2.HeaderSection],
360
+ [ux_specification_types_1.FacetBase.Address, types_1.SectionTypeV2.HeaderSectionAddress],
361
+ [ux_specification_types_1.FacetBase.Chart, types_1.SectionTypeV2.HeaderSectionChart],
362
+ [ux_specification_types_1.FacetBase.DataPoint, types_1.SectionTypeV2.HeaderSectionDataPoint],
363
+ [ux_specification_types_1.FacetBase.Form, types_1.SectionTypeV2.HeaderSectionForm],
364
+ [ux_specification_types_1.FacetBase.Identification, types_1.SectionTypeV2.HeaderSectionForm]
365
+ ]);
366
+ const sectionTypeMapping = new Map([
367
+ [ux_specification_types_1.FacetBase.CollectionFacet, types_1.SectionTypeV2.Section],
368
+ [ux_specification_types_1.FacetBase.LineItem, types_1.SectionTypeV2.SectionTable],
369
+ [ux_specification_types_1.FacetBase.Chart, types_1.SectionTypeV2.SectionChart],
370
+ [ux_specification_types_1.FacetBase.Address, types_1.SectionTypeV2.SectionAddress],
371
+ [ux_specification_types_1.FacetBase.Contact, types_1.SectionTypeV2.SectionContact],
372
+ [ux_specification_types_1.FacetBase.Form, types_1.SectionTypeV2.SectionForm],
373
+ [ux_specification_types_1.FacetBase.Identification, types_1.SectionTypeV2.SectionForm]
374
+ ]);
375
+ const subSectionTypeMapping = new Map([
376
+ [ux_specification_types_1.FacetBase.CollectionFacet, types_1.SectionTypeV2.SubSection],
377
+ [ux_specification_types_1.FacetBase.LineItem, types_1.SectionTypeV2.SubSectionTable],
378
+ [ux_specification_types_1.FacetBase.Chart, types_1.SectionTypeV2.SubSectionChart],
379
+ [ux_specification_types_1.FacetBase.Address, types_1.SectionTypeV2.SubSectionAddress],
380
+ [ux_specification_types_1.FacetBase.Contact, types_1.SectionTypeV2.SubSectionContact],
381
+ [ux_specification_types_1.FacetBase.Form, types_1.SectionTypeV2.SubSectionForm],
382
+ [ux_specification_types_1.FacetBase.Identification, types_1.SectionTypeV2.SubSectionForm]
383
+ ]);
384
+ if (isHeaderFacet) {
385
+ return headerSectionMap.get(facetType);
386
+ }
387
+ else if (isSubSection) {
388
+ return subSectionTypeMapping.get(facetType);
389
+ }
390
+ else {
391
+ return sectionTypeMapping.get(facetType);
392
+ }
393
+ }
394
+ /**
395
+ * Method returns reference key, special handling of (sub)sections
396
+ * @param {FacetConfig} facet facet or section information
397
+ * @param {string} facetKey - facet key.
398
+ * @param {SectionTypeV2} sectionType (sub)section type
399
+ * @return {string} reference key
400
+ */
401
+ function getReferenceKey(facet, facetKey, sectionType) {
402
+ let referenceKey = facet.ID || facetKey;
403
+ if (sectionType === (types_1.SectionTypeV2.Section || types_1.SectionTypeV2.SubSection)) {
404
+ referenceKey = referenceKey.replace(`@${"com.sap.vocabularies.UI.v1.Facets" /* UIAnnotationTerms.Facets */}`, facet.base);
405
+ }
406
+ return `${referenceKey}`;
407
+ }
408
+ /**
409
+ * Creates a section definition in app schema.
410
+ * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
411
+ * @param {FacetConfigs} facets - list of all facets.
412
+ * @param {string} facetKey - facet key.
413
+ * @param {object} sections - schema of current sections definition.
414
+ * @param {Definition} appSchema - app specific schema that potentially gets enhanced.
415
+ * @param {boolean} isSubSection - if section is subsection of section
416
+ */
417
+ function addSection(generateParameters, facets, facetKey, sections, appSchema, isSubSection = false, isHeaderFacet = false) {
418
+ const facet = facets[facetKey];
419
+ const sectionType = getSectionType(facet.base, isSubSection, isHeaderFacet);
420
+ const referenceKey = getReferenceKey(facet, facetKey, sectionType);
421
+ const definitionKey = `${sectionType}<${referenceKey}>`;
422
+ addSectionReference(sections, referenceKey, definitionKey);
423
+ switch (sectionType) {
424
+ case types_1.SectionTypeV2.Section:
425
+ case types_1.SectionTypeV2.SubSection:
426
+ case types_1.SectionTypeV2.HeaderSection: {
427
+ //handle collection facets
428
+ isSubSection = isHeaderFacet ? false : true;
429
+ handleSubSection(appSchema, definitionKey, facet, facetKey, sectionType, isHeaderFacet);
430
+ const subSections = appSchema.definitions[definitionKey].properties
431
+ .subsections;
432
+ for (const key in facet.facets) {
433
+ addSection(generateParameters, facet.facets, key, subSections, appSchema, isSubSection, isHeaderFacet);
434
+ }
435
+ break;
436
+ }
437
+ case types_1.SectionTypeV2.SectionTable:
438
+ case types_1.SectionTypeV2.SubSectionTable: {
439
+ handleLineItem(generateParameters, referenceKey, appSchema, facet, facets, sectionType);
440
+ //add fields for createWithParameterDialog
441
+ const floorplanSuffix = 'OP';
442
+ (0, common_1.addFieldsType)(appSchema, facet.entityType, floorplanSuffix);
443
+ break;
444
+ }
445
+ case types_1.SectionTypeV2.SectionChart:
446
+ case types_1.SectionTypeV2.SubSectionChart: {
447
+ //handle reference facet (if comprising chart)
448
+ handleSectionChart(appSchema, definitionKey, facet, referenceKey, sectionType);
449
+ break;
450
+ }
451
+ case types_1.SectionTypeV2.SectionForm:
452
+ case types_1.SectionTypeV2.SubSectionForm: {
453
+ const appSchemaSection = handleFormSection(appSchema, definitionKey, facet, referenceKey, sectionType);
454
+ (0, common_1.handleForm)(ux_specification_types_1.SectionType.Section, facet, appSchemaSection, appSchema, ux_specification_types_1.FioriElementsVersion.v2, facetKey);
455
+ break;
456
+ }
457
+ case types_1.SectionTypeV2.SectionAddress:
458
+ case types_1.SectionTypeV2.SectionContact: {
459
+ (0, common_1.handleAddressContact)(facet, referenceKey, sections, appSchema, ux_specification_types_1.SectionType.Section, undefined, 'V2');
460
+ break;
461
+ }
462
+ case types_1.SectionTypeV2.SubSectionAddress:
463
+ case types_1.SectionTypeV2.SubSectionContact: {
464
+ (0, common_1.handleAddressContact)(facet, referenceKey, sections, appSchema, ux_specification_types_1.SectionType.Section, ux_specification_types_1.SectionType.SubSection, 'V2');
465
+ break;
466
+ }
467
+ case types_1.SectionTypeV2.HeaderSectionForm:
468
+ case types_1.SectionTypeV2.HeaderSectionChart:
469
+ case types_1.SectionTypeV2.HeaderSectionAddress: {
470
+ handleHeaderFacet(appSchema, definitionKey, facet, referenceKey, sectionType);
471
+ break;
472
+ }
473
+ case types_1.SectionTypeV2.HeaderSectionDataPoint: {
474
+ handleHeaderFacet(appSchema, definitionKey, facet, referenceKey, sectionType);
475
+ addDataPointHeaderFacetDataType(appSchema, definitionKey, facet);
476
+ break;
477
+ }
478
+ default: {
479
+ // Other facets -> only default properties of ObjectPageSection
480
+ sections.properties[facetKey] = (0, common_1.createDefaultSection)(appSchema, facet, referenceKey);
481
+ }
482
+ }
483
+ }
484
+ /**
485
+ * Helper function to add facets to the app schema
486
+ * @param facetsExists flag if facets exists and should be added
487
+ * @param facets collection of facets
488
+ * @param generateParameters list of API input parameters
489
+ * @param sections sections in config to be extended
490
+ * @param appSchema app speci
491
+ * @param isHeaderFacet flag if facet is located in header section
492
+ * @returns void
493
+ */
494
+ function addSectionsFromFacets(facetsExists, facets, sections, generateParameters, appSchema, isHeaderFacet = false) {
495
+ if (!facetsExists) {
496
+ return;
497
+ }
498
+ for (const facetKey in facets) {
499
+ addSection(generateParameters, facets, facetKey, sections, appSchema, false, isHeaderFacet);
500
+ }
501
+ }
502
+ /**
503
+ * Adds the sections to the app schema
504
+ * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
505
+ * @param {Definition} appSchema - app specific schema that potentially gets enhanced
506
+ * @param {SapUiAppPagesV2} pages - list of (manifest) pages
507
+ */
508
+ function addSections(generateParameters, appSchema, pages) {
509
+ const sections = appSchema.definitions[ux_specification_types_1.DefinitionName.Sections];
510
+ sections[ux_specification_types_1.SchemaTag.isViewNode] = true;
511
+ if (generateParameters.entitySet?.entityType) {
512
+ sections[ux_specification_types_1.SchemaTag.annotationPath] =
513
+ `/${generateParameters.entitySet.entityType.fullyQualifiedName}/@${"com.sap.vocabularies.UI.v1.Facets" /* UIAnnotationTerms.Facets */}`;
514
+ }
515
+ const headerSections = appSchema.definitions[ux_specification_types_1.DefinitionName.HeaderSections];
516
+ headerSections[ux_specification_types_1.SchemaTag.isViewNode] = true;
517
+ if (!headerSections.properties) {
518
+ headerSections.properties = {};
519
+ }
520
+ headerSections.additionalProperties = false;
521
+ if (generateParameters.entitySet?.entityType) {
522
+ headerSections[ux_specification_types_1.SchemaTag.annotationPath] =
523
+ `/${generateParameters.entitySet.entityType.fullyQualifiedName}/@${"com.sap.vocabularies.UI.v1.HeaderFacets" /* UIAnnotationTerms.HeaderFacets */}`;
524
+ }
525
+ if (!pages) {
526
+ return;
527
+ }
528
+ // Get facet annotations
529
+ const facets = (0, common_1.getObjectPageFacets)(generateParameters.entitySet?.entityType, generateParameters.serviceAVT, ux_specification_types_1.FioriElementsVersion.v2, generateParameters.logger);
530
+ const headerFacets = (0, common_1.getObjectPageHeaderFacets)(generateParameters.entitySet?.entityType, generateParameters.serviceAVT, ux_specification_types_1.FioriElementsVersion.v2, generateParameters.logger);
531
+ const generateFacets = facets && !!Object.keys(facets).length;
532
+ const generateHeaderFacets = headerFacets && !!Object.keys(headerFacets).length;
533
+ if (!generateFacets && !generateHeaderFacets) {
534
+ return;
535
+ }
536
+ // Loop on all pages, look for the right entity set
537
+ for (const key in pages) {
538
+ const element = pages[key];
539
+ if (generateParameters.entitySet?.name?.includes(element.entitySet)) {
540
+ // Loop on all facets (of the given entitySet)
541
+ addSectionsFromFacets(generateFacets, facets, sections, generateParameters, appSchema);
542
+ addSectionsFromFacets(generateHeaderFacets, headerFacets, headerSections, generateParameters, appSchema, true);
543
+ }
544
+ else {
545
+ addSections(generateParameters, appSchema, element.pages);
546
+ }
547
+ }
548
+ // Add custom sections
549
+ const customSections = appSchema.definitions['CustomSections'];
550
+ for (const name in customSections.properties) {
551
+ sections.properties[name] = customSections.properties[name];
552
+ }
553
+ }
554
+ /**
555
+ * Add Object Page Header to app-specific schema
556
+ *
557
+ * @param {object} appSchema Schema of the app
558
+ * @param {EntitySet} entitySet - current entity set
559
+ * @param {EntityType} entityType - current entity type
560
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
561
+ */
562
+ function addHeader(appSchema, entitySet, entityType, oDataServiceAVT) {
563
+ (0, common_1.addCommonHeaderSchema)(appSchema, entityType);
564
+ //Add header actions
565
+ (0, common_1.addHeaderActions)(appSchema, entityType, entitySet, oDataServiceAVT, addHeaderActionCallBackV2, true);
566
+ }
567
+ /**
568
+ * Adds the related facets keys 'enum' to the app schema
569
+ * @param schema - app specific schema that potentially gets enhanced
570
+ * @param {EntityType} entityType - current entity type
571
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
572
+ * @param {ExtensionLogger} logger - Logger class for logging messages
573
+ */
574
+ function addRelatedFacetKeysType(schema, entityType, oDataServiceAVT, logger) {
575
+ // Find sections from annotation
576
+ // And create new definition in schema as enum with description
577
+ const facetSections = (0, common_1.getObjectPageFacetSection)(entityType, oDataServiceAVT, logger, undefined, true);
578
+ if (facetSections) {
579
+ (0, common_1.addDefinitionForRelatedFacetKeys)(schema, ['ObjectPageCustomSectionFragment', 'ObjectPageCustomSectionView'], facetSections, ['ID', 'key']);
580
+ }
581
+ }
582
+ /**
583
+ * Generates an app specific schema out of the generic schema.
584
+ * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
585
+ * @param genericSchema - generic JSON schema of an object page
586
+ *
587
+ * @returns the app specific JSON schema
588
+ */
589
+ function generateObjectPageSchemaV2(generateParameters, genericSchema) {
590
+ // Initialize i18next
591
+ (0, i18n_1.initI18n)();
592
+ const appSchema = JSON.parse(JSON.stringify(genericSchema));
593
+ // Custom sections as part of sections
594
+ const additionalSections = {};
595
+ for (const name in appSchema.definitions['CustomSections']['properties']) {
596
+ additionalSections[name] = appSchema.definitions['CustomSections'].properties[name];
597
+ }
598
+ // Change reference to generated sections
599
+ appSchema.properties[ux_specification_types_1.PropertyName.sections] = {
600
+ $ref: common_1.DEFINITION_LINK_PREFIX + 'Sections'
601
+ };
602
+ const entityType = generateParameters.entitySet?.entityType;
603
+ generateParameters.entityType = entityType;
604
+ const pages = generateParameters.manifest[ux_specification_types_1.ManifestSection.generic].pages;
605
+ if (!pages) {
606
+ (0, extensionLogger_1.log)(generateParameters.logger, {
607
+ severity: "error" /* LogSeverity.Error */,
608
+ message: i18next_1.default.t('NOPAGES', { appId: generateParameters.manifest['sap.app']['id'] }),
609
+ location: {
610
+ path: ux_specification_types_1.MANIFESTPATH,
611
+ range: [ux_specification_types_1.ManifestSection.generic]
612
+ }
613
+ });
614
+ return appSchema;
615
+ }
616
+ // Add header
617
+ addHeader(appSchema, generateParameters.entitySet, entityType, generateParameters.serviceAVT);
618
+ // Add sections
619
+ appSchema.definitions[ux_specification_types_1.DefinitionName.Sections] = {
620
+ type: 'object',
621
+ properties: {},
622
+ description: 'Sections',
623
+ additionalProperties: false
624
+ };
625
+ addSections(generateParameters, appSchema, pages);
626
+ // Custom section facets
627
+ addRelatedFacetKeysType(appSchema, entityType, generateParameters.serviceAVT, generateParameters.logger);
628
+ if (!appSchema.definitions.Sections) {
629
+ if (appSchema.definitions.RelatedFacetKeys && appSchema.definitions.RelatedFacetKeys['oneOf'].length) {
630
+ // If related facets exists - then we need sections definition
631
+ appSchema.definitions.Sections = {
632
+ type: 'object',
633
+ properties: additionalSections,
634
+ additionalProperties: false
635
+ };
636
+ appSchema.definitions.Sections[ux_specification_types_1.SchemaTag.isViewNode] = true;
637
+ }
638
+ else {
639
+ delete appSchema.properties[ux_specification_types_1.PropertyName.sections];
640
+ }
641
+ }
642
+ (0, common_1.addFooterActions)(appSchema, generateParameters, ux_specification_types_1.FioriElementsVersion.v2, addFooterActionCallBackV2, pages);
643
+ // Eliminate generic definitions
644
+ delete appSchema.definitions['GenericSections'];
645
+ delete appSchema.definitions['GenericSubSections'];
646
+ delete appSchema.definitions['ObjectPageSectionTableV2'];
647
+ delete appSchema.definitions['GenericColumns'];
648
+ delete appSchema.definitions['TableColumnAction'];
649
+ delete appSchema.definitions['CommonHeaderFacetSettings'];
650
+ delete appSchema.definitions['ObjectPageHeaderSection'];
651
+ // Currently not used
652
+ delete appSchema.definitions['ObjectPageCustomHeaderSectionFragment'];
653
+ delete appSchema.definitions['ObjectPageSectionFormV2'];
654
+ delete appSchema.definitions['ObjectPageSectionTableV2'];
655
+ delete appSchema.definitions['ObjectPageSubSectionV2'];
656
+ delete appSchema.definitions['ObjectPageResponsiveTableWithMultiSelect'];
657
+ delete appSchema.definitions['ObjectPageResponsiveTableWithInlineDelete'];
658
+ delete appSchema.definitions['ObjectPageAnalyticalTable'];
659
+ delete appSchema.definitions['ObjectPageTreeTable'];
660
+ delete appSchema.definitions['ObjectPageGridTable'];
661
+ delete appSchema.definitions['ObjectPageToolBar'];
662
+ delete appSchema.definitions['ObjectPageToolBarActions'];
663
+ delete appSchema.definitions['ObjectPageForm'];
664
+ delete appSchema.definitions['ObjectPageFormFields'];
665
+ delete appSchema.definitions['ObjectPageFormActions'];
666
+ delete appSchema.definitions['FieldPathOP'];
667
+ (0, common_1.updatePropertyIndices)(appSchema, ROOT_PROPERTIES_ORDER);
668
+ return appSchema;
669
+ }
670
+ exports.generateObjectPageSchemaV2 = generateObjectPageSchemaV2;
671
+ //# sourceMappingURL=objectPage.js.map