@sap/ux-specification 1.84.45 → 1.84.46

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 (992) hide show
  1. package/CHANGELOG.md +46 -2
  2. package/dist/documentation/runDocu-min.js +9645 -2
  3. package/dist/documentation/runDocu-min.js.map +7 -0
  4. package/dist/documentation/styleDocu.css +32 -28
  5. package/dist/documentation/v2/v2-AnalyticalListPage.html +20 -8
  6. package/dist/documentation/v2/v2-ApplicationV2.html +20 -8
  7. package/dist/documentation/v2/v2-ListReport.html +20 -8
  8. package/dist/documentation/v2/v2-ObjectPage.html +20 -8
  9. package/dist/documentation/v2/v2-OverviewPage.html +20 -8
  10. package/dist/documentation/v4/v4-ApplicationV4.html +20 -8
  11. package/dist/documentation/v4/v4-ListReport.html +20 -8
  12. package/dist/documentation/v4/v4-ObjectPage.html +20 -8
  13. package/dist/index-min.js +29584 -2
  14. package/dist/index-min.js.map +7 -0
  15. package/dist/schemas/v2/ObjectPageConfig.json +1 -1
  16. package/dist/schemas/v4/ListReportConfig.json +6 -0
  17. package/dist/types/api.d.ts +42 -0
  18. package/dist/types/api.d.ts.map +1 -0
  19. package/dist/types/apiTypes.d.ts +317 -0
  20. package/dist/types/apiTypes.d.ts.map +1 -0
  21. package/dist/types/extensionLogger.d.ts +42 -0
  22. package/dist/types/extensionLogger.d.ts.map +1 -0
  23. package/dist/types/i18n/i18n.d.ts +2 -0
  24. package/dist/types/i18n/i18n.d.ts.map +1 -0
  25. package/dist/types/index.d.ts +8 -0
  26. package/dist/types/index.d.ts.map +1 -0
  27. package/dist/types/project.d.ts +18 -0
  28. package/dist/types/project.d.ts.map +1 -0
  29. package/dist/types/specification/common/Application.d.ts +37 -0
  30. package/dist/types/specification/common/Application.d.ts.map +1 -0
  31. package/dist/types/specification/common/index.d.ts +6 -0
  32. package/dist/types/specification/common/index.d.ts.map +1 -0
  33. package/dist/types/specification/common/page.d.ts +48 -0
  34. package/dist/types/specification/common/page.d.ts.map +1 -0
  35. package/dist/types/specification/common/types.d.ts +17 -0
  36. package/dist/types/specification/common/types.d.ts.map +1 -0
  37. package/dist/types/specification/common/webapp/manifest/Manifest.d.ts +50 -0
  38. package/dist/types/specification/common/webapp/manifest/Manifest.d.ts.map +1 -0
  39. package/dist/types/specification/common/webapp/manifest/index.d.ts +4 -0
  40. package/dist/types/specification/common/webapp/manifest/index.d.ts.map +1 -0
  41. package/dist/types/specification/common/webapp/manifest/sapOvp.d.ts +376 -0
  42. package/dist/types/specification/common/webapp/manifest/sapOvp.d.ts.map +1 -0
  43. package/dist/types/specification/common/webapp/manifest/sapUi5.d.ts +34 -0
  44. package/dist/types/specification/common/webapp/manifest/sapUi5.d.ts.map +1 -0
  45. package/dist/types/specification/schemaAccess.d.ts +25 -0
  46. package/dist/types/specification/schemaAccess.d.ts.map +1 -0
  47. package/dist/types/specification/v2/ApplicationV2.d.ts +26 -0
  48. package/dist/types/specification/v2/ApplicationV2.d.ts.map +1 -0
  49. package/dist/types/specification/v2/controls/Action.d.ts +88 -0
  50. package/dist/types/specification/v2/controls/Action.d.ts.map +1 -0
  51. package/dist/types/specification/v2/controls/AnalyticalListPageChart.d.ts +59 -0
  52. package/dist/types/specification/v2/controls/AnalyticalListPageChart.d.ts.map +1 -0
  53. package/dist/types/specification/v2/controls/AnalyticalListPageKPI.d.ts +31 -0
  54. package/dist/types/specification/v2/controls/AnalyticalListPageKPI.d.ts.map +1 -0
  55. package/dist/types/specification/v2/controls/Card.d.ts +656 -0
  56. package/dist/types/specification/v2/controls/Card.d.ts.map +1 -0
  57. package/dist/types/specification/v2/controls/Facets.d.ts +18 -0
  58. package/dist/types/specification/v2/controls/Facets.d.ts.map +1 -0
  59. package/dist/types/specification/v2/controls/Field.d.ts +11 -0
  60. package/dist/types/specification/v2/controls/Field.d.ts.map +1 -0
  61. package/dist/types/specification/v2/controls/FilterBar.d.ts +196 -0
  62. package/dist/types/specification/v2/controls/FilterBar.d.ts.map +1 -0
  63. package/dist/types/specification/v2/controls/Footer.d.ts +21 -0
  64. package/dist/types/specification/v2/controls/Footer.d.ts.map +1 -0
  65. package/dist/types/specification/v2/controls/ObjectPageChart.d.ts +17 -0
  66. package/dist/types/specification/v2/controls/ObjectPageChart.d.ts.map +1 -0
  67. package/dist/types/specification/v2/controls/ObjectPageForm.d.ts +16 -0
  68. package/dist/types/specification/v2/controls/ObjectPageForm.d.ts.map +1 -0
  69. package/dist/types/specification/v2/controls/ObjectPageHeader.d.ts +35 -0
  70. package/dist/types/specification/v2/controls/ObjectPageHeader.d.ts.map +1 -0
  71. package/dist/types/specification/v2/controls/ObjectPageLayout.d.ts +23 -0
  72. package/dist/types/specification/v2/controls/ObjectPageLayout.d.ts.map +1 -0
  73. package/dist/types/specification/v2/controls/ObjectPageSection.d.ts +121 -0
  74. package/dist/types/specification/v2/controls/ObjectPageSection.d.ts.map +1 -0
  75. package/dist/types/specification/v2/controls/ObjectPageTable.d.ts +184 -0
  76. package/dist/types/specification/v2/controls/ObjectPageTable.d.ts.map +1 -0
  77. package/dist/types/specification/v2/controls/ObjectPageToolBar.d.ts +16 -0
  78. package/dist/types/specification/v2/controls/ObjectPageToolBar.d.ts.map +1 -0
  79. package/dist/types/specification/v2/controls/Table.d.ts +496 -0
  80. package/dist/types/specification/v2/controls/Table.d.ts.map +1 -0
  81. package/dist/types/specification/v2/controls/ToolBar.d.ts +9 -0
  82. package/dist/types/specification/v2/controls/ToolBar.d.ts.map +1 -0
  83. package/dist/types/specification/v2/controls/index.d.ts +18 -0
  84. package/dist/types/specification/v2/controls/index.d.ts.map +1 -0
  85. package/dist/types/specification/v2/index.d.ts +6 -0
  86. package/dist/types/specification/v2/index.d.ts.map +1 -0
  87. package/dist/types/specification/v2/page.d.ts +8 -0
  88. package/dist/types/specification/v2/page.d.ts.map +1 -0
  89. package/dist/types/specification/v2/pages/AnalyticalListPageConfig.d.ts +22 -0
  90. package/dist/types/specification/v2/pages/AnalyticalListPageConfig.d.ts.map +1 -0
  91. package/dist/types/specification/v2/pages/ListReportConfig.d.ts +13 -0
  92. package/dist/types/specification/v2/pages/ListReportConfig.d.ts.map +1 -0
  93. package/dist/types/specification/v2/pages/ObjectPageConfig.d.ts +34 -0
  94. package/dist/types/specification/v2/pages/ObjectPageConfig.d.ts.map +1 -0
  95. package/dist/types/specification/v2/pages/OverviewPageConfig.d.ts +128 -0
  96. package/dist/types/specification/v2/pages/OverviewPageConfig.d.ts.map +1 -0
  97. package/dist/types/specification/v2/pages/index.d.ts +5 -0
  98. package/dist/types/specification/v2/pages/index.d.ts.map +1 -0
  99. package/dist/types/specification/v2/webapp/index.d.ts +2 -0
  100. package/dist/types/specification/v2/webapp/index.d.ts.map +1 -0
  101. package/dist/types/specification/v2/webapp/manifest/index.d.ts +3 -0
  102. package/dist/types/specification/v2/webapp/manifest/index.d.ts.map +1 -0
  103. package/dist/types/specification/v2/webapp/manifest/sapUi.d.ts +11 -0
  104. package/dist/types/specification/v2/webapp/manifest/sapUi.d.ts.map +1 -0
  105. package/dist/types/specification/v2/webapp/manifest/sapUi5.d.ts +99 -0
  106. package/dist/types/specification/v2/webapp/manifest/sapUi5.d.ts.map +1 -0
  107. package/dist/types/specification/v2/webapp/manifest/sapUiPageV2.d.ts +32 -0
  108. package/dist/types/specification/v2/webapp/manifest/sapUiPageV2.d.ts.map +1 -0
  109. package/dist/types/specification/v4/ApplicationV4.d.ts +32 -0
  110. package/dist/types/specification/v4/ApplicationV4.d.ts.map +1 -0
  111. package/dist/types/specification/v4/controls/FilterBar.d.ts +19 -0
  112. package/dist/types/specification/v4/controls/FilterBar.d.ts.map +1 -0
  113. package/dist/types/specification/v4/controls/ObjectPageFooter.d.ts +12 -0
  114. package/dist/types/specification/v4/controls/ObjectPageFooter.d.ts.map +1 -0
  115. package/dist/types/specification/v4/controls/ObjectPageHeader.d.ts +30 -0
  116. package/dist/types/specification/v4/controls/ObjectPageHeader.d.ts.map +1 -0
  117. package/dist/types/specification/v4/controls/ObjectPageHeaderSection.d.ts +47 -0
  118. package/dist/types/specification/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  119. package/dist/types/specification/v4/controls/ObjectPageLayout.d.ts +15 -0
  120. package/dist/types/specification/v4/controls/ObjectPageLayout.d.ts.map +1 -0
  121. package/dist/types/specification/v4/controls/ObjectPageSection.d.ts +99 -0
  122. package/dist/types/specification/v4/controls/ObjectPageSection.d.ts.map +1 -0
  123. package/dist/types/specification/v4/controls/ObjectPageTable.d.ts +71 -0
  124. package/dist/types/specification/v4/controls/ObjectPageTable.d.ts.map +1 -0
  125. package/dist/types/specification/v4/controls/ObjectPageToolBar.d.ts +26 -0
  126. package/dist/types/specification/v4/controls/ObjectPageToolBar.d.ts.map +1 -0
  127. package/dist/types/specification/v4/controls/Table.d.ts +311 -0
  128. package/dist/types/specification/v4/controls/Table.d.ts.map +1 -0
  129. package/dist/types/specification/v4/controls/ToolBar.d.ts +54 -0
  130. package/dist/types/specification/v4/controls/ToolBar.d.ts.map +1 -0
  131. package/dist/types/specification/v4/controls/index.d.ts +11 -0
  132. package/dist/types/specification/v4/controls/index.d.ts.map +1 -0
  133. package/dist/types/specification/v4/index.d.ts +6 -0
  134. package/dist/types/specification/v4/index.d.ts.map +1 -0
  135. package/dist/types/specification/v4/page.d.ts +20 -0
  136. package/dist/types/specification/v4/page.d.ts.map +1 -0
  137. package/dist/types/specification/v4/pages/FreestylePageConfig.d.ts +3 -0
  138. package/dist/types/specification/v4/pages/FreestylePageConfig.d.ts.map +1 -0
  139. package/dist/types/specification/v4/pages/ListReportConfig.d.ts +37 -0
  140. package/dist/types/specification/v4/pages/ListReportConfig.d.ts.map +1 -0
  141. package/dist/types/specification/v4/pages/ObjectPageConfig.d.ts +19 -0
  142. package/dist/types/specification/v4/pages/ObjectPageConfig.d.ts.map +1 -0
  143. package/dist/types/specification/v4/pages/index.d.ts +4 -0
  144. package/dist/types/specification/v4/pages/index.d.ts.map +1 -0
  145. package/dist/types/specification/v4/webapp/index.d.ts +2 -0
  146. package/dist/types/specification/v4/webapp/index.d.ts.map +1 -0
  147. package/dist/types/specification/v4/webapp/manifest/ManifestSettings.d.ts +225 -0
  148. package/dist/types/specification/v4/webapp/manifest/ManifestSettings.d.ts.map +1 -0
  149. package/dist/types/specification/v4/webapp/manifest/index.d.ts +5 -0
  150. package/dist/types/specification/v4/webapp/manifest/index.d.ts.map +1 -0
  151. package/dist/types/specification/v4/webapp/manifest/sapUi5.d.ts +103 -0
  152. package/dist/types/specification/v4/webapp/manifest/sapUi5.d.ts.map +1 -0
  153. package/dist/types/specification/v4/webapp/manifest/sapUiPageV4.d.ts +83 -0
  154. package/dist/types/specification/v4/webapp/manifest/sapUiPageV4.d.ts.map +1 -0
  155. package/dist/types/sync/common/appProvider.d.ts +28 -0
  156. package/dist/types/sync/common/appProvider.d.ts.map +1 -0
  157. package/dist/types/sync/common/decoration/control.d.ts +51 -0
  158. package/dist/types/sync/common/decoration/control.d.ts.map +1 -0
  159. package/dist/types/sync/common/decoration/decorators.d.ts +13 -0
  160. package/dist/types/sync/common/decoration/decorators.d.ts.map +1 -0
  161. package/dist/types/sync/common/decoration/factory.d.ts +41 -0
  162. package/dist/types/sync/common/decoration/factory.d.ts.map +1 -0
  163. package/dist/types/sync/common/decoration/flex.d.ts +7 -0
  164. package/dist/types/sync/common/decoration/flex.d.ts.map +1 -0
  165. package/dist/types/sync/common/decoration/index.d.ts +4 -0
  166. package/dist/types/sync/common/decoration/index.d.ts.map +1 -0
  167. package/dist/types/sync/common/flexUtils.d.ts +32 -0
  168. package/dist/types/sync/common/flexUtils.d.ts.map +1 -0
  169. package/dist/types/sync/common/generate/index.d.ts +3 -0
  170. package/dist/types/sync/common/generate/index.d.ts.map +1 -0
  171. package/dist/types/sync/common/generate/objectPage.d.ts +61 -0
  172. package/dist/types/sync/common/generate/objectPage.d.ts.map +1 -0
  173. package/dist/types/sync/common/generate/utils.d.ts +144 -0
  174. package/dist/types/sync/common/generate/utils.d.ts.map +1 -0
  175. package/dist/types/sync/common/import/utils.d.ts +44 -0
  176. package/dist/types/sync/common/import/utils.d.ts.map +1 -0
  177. package/dist/types/sync/common/importProject.d.ts +15 -0
  178. package/dist/types/sync/common/importProject.d.ts.map +1 -0
  179. package/dist/types/sync/common/index.d.ts +8 -0
  180. package/dist/types/sync/common/index.d.ts.map +1 -0
  181. package/dist/types/sync/common/types.d.ts +350 -0
  182. package/dist/types/sync/common/types.d.ts.map +1 -0
  183. package/dist/types/sync/common/utils.d.ts +244 -0
  184. package/dist/types/sync/common/utils.d.ts.map +1 -0
  185. package/dist/types/sync/i18n.d.ts +3 -0
  186. package/dist/types/sync/i18n.d.ts.map +1 -0
  187. package/dist/types/sync/v2/application.d.ts +34 -0
  188. package/dist/types/sync/v2/application.d.ts.map +1 -0
  189. package/dist/types/sync/v2/export/controls/Action.d.ts +29 -0
  190. package/dist/types/sync/v2/export/controls/Action.d.ts.map +1 -0
  191. package/dist/types/sync/v2/export/controls/AnalyticalListPageChart.d.ts +10 -0
  192. package/dist/types/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +1 -0
  193. package/dist/types/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +10 -0
  194. package/dist/types/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +1 -0
  195. package/dist/types/sync/v2/export/controls/Card.d.ts +117 -0
  196. package/dist/types/sync/v2/export/controls/Card.d.ts.map +1 -0
  197. package/dist/types/sync/v2/export/controls/Field.d.ts +5 -0
  198. package/dist/types/sync/v2/export/controls/Field.d.ts.map +1 -0
  199. package/dist/types/sync/v2/export/controls/FilterBar.d.ts +35 -0
  200. package/dist/types/sync/v2/export/controls/FilterBar.d.ts.map +1 -0
  201. package/dist/types/sync/v2/export/controls/FormAction.d.ts +16 -0
  202. package/dist/types/sync/v2/export/controls/FormAction.d.ts.map +1 -0
  203. package/dist/types/sync/v2/export/controls/Fragment.d.ts +43 -0
  204. package/dist/types/sync/v2/export/controls/Fragment.d.ts.map +1 -0
  205. package/dist/types/sync/v2/export/controls/ObjectPageChart.d.ts +8 -0
  206. package/dist/types/sync/v2/export/controls/ObjectPageChart.d.ts.map +1 -0
  207. package/dist/types/sync/v2/export/controls/ObjectPageCustomSection.d.ts +20 -0
  208. package/dist/types/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
  209. package/dist/types/sync/v2/export/controls/ObjectPageFooterAction.d.ts +9 -0
  210. package/dist/types/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +1 -0
  211. package/dist/types/sync/v2/export/controls/ObjectPageHeader.d.ts +9 -0
  212. package/dist/types/sync/v2/export/controls/ObjectPageHeader.d.ts.map +1 -0
  213. package/dist/types/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +9 -0
  214. package/dist/types/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +1 -0
  215. package/dist/types/sync/v2/export/controls/ObjectPageLayout.d.ts +8 -0
  216. package/dist/types/sync/v2/export/controls/ObjectPageLayout.d.ts.map +1 -0
  217. package/dist/types/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +45 -0
  218. package/dist/types/sync/v2/export/controls/ObjectPageSectionsV2.d.ts.map +1 -0
  219. package/dist/types/sync/v2/export/controls/ObjectPageTable.d.ts +50 -0
  220. package/dist/types/sync/v2/export/controls/ObjectPageTable.d.ts.map +1 -0
  221. package/dist/types/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +9 -0
  222. package/dist/types/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
  223. package/dist/types/sync/v2/export/controls/Table.d.ts +95 -0
  224. package/dist/types/sync/v2/export/controls/Table.d.ts.map +1 -0
  225. package/dist/types/sync/v2/export/controls/TableColumn.d.ts +39 -0
  226. package/dist/types/sync/v2/export/controls/TableColumn.d.ts.map +1 -0
  227. package/dist/types/sync/v2/export/controls/ToolBar.d.ts +5 -0
  228. package/dist/types/sync/v2/export/controls/ToolBar.d.ts.map +1 -0
  229. package/dist/types/sync/v2/export/controls/index.d.ts +21 -0
  230. package/dist/types/sync/v2/export/controls/index.d.ts.map +1 -0
  231. package/dist/types/sync/v2/export/export.d.ts +36 -0
  232. package/dist/types/sync/v2/export/export.d.ts.map +1 -0
  233. package/dist/types/sync/v2/export/exportPage.d.ts +11 -0
  234. package/dist/types/sync/v2/export/exportPage.d.ts.map +1 -0
  235. package/dist/types/sync/v2/export/factory.d.ts +9 -0
  236. package/dist/types/sync/v2/export/factory.d.ts.map +1 -0
  237. package/dist/types/sync/v2/export/manifest.d.ts +27 -0
  238. package/dist/types/sync/v2/export/manifest.d.ts.map +1 -0
  239. package/dist/types/sync/v2/export/pages/AnalyticalListPage.d.ts +15 -0
  240. package/dist/types/sync/v2/export/pages/AnalyticalListPage.d.ts.map +1 -0
  241. package/dist/types/sync/v2/export/pages/ListReport.d.ts +11 -0
  242. package/dist/types/sync/v2/export/pages/ListReport.d.ts.map +1 -0
  243. package/dist/types/sync/v2/export/pages/ObjectPage.d.ts +19 -0
  244. package/dist/types/sync/v2/export/pages/ObjectPage.d.ts.map +1 -0
  245. package/dist/types/sync/v2/export/pages/OverviewPage.d.ts +29 -0
  246. package/dist/types/sync/v2/export/pages/OverviewPage.d.ts.map +1 -0
  247. package/dist/types/sync/v2/export/pages/index.d.ts +5 -0
  248. package/dist/types/sync/v2/export/pages/index.d.ts.map +1 -0
  249. package/dist/types/sync/v2/export/view-controller-generator.d.ts +69 -0
  250. package/dist/types/sync/v2/export/view-controller-generator.d.ts.map +1 -0
  251. package/dist/types/sync/v2/generate/analyticalListReport.d.ts +10 -0
  252. package/dist/types/sync/v2/generate/analyticalListReport.d.ts.map +1 -0
  253. package/dist/types/sync/v2/generate/generate.d.ts +54 -0
  254. package/dist/types/sync/v2/generate/generate.d.ts.map +1 -0
  255. package/dist/types/sync/v2/generate/index.d.ts +5 -0
  256. package/dist/types/sync/v2/generate/index.d.ts.map +1 -0
  257. package/dist/types/sync/v2/generate/listReport.d.ts +22 -0
  258. package/dist/types/sync/v2/generate/listReport.d.ts.map +1 -0
  259. package/dist/types/sync/v2/generate/objectPage.d.ts +11 -0
  260. package/dist/types/sync/v2/generate/objectPage.d.ts.map +1 -0
  261. package/dist/types/sync/v2/generate/overviewPage.d.ts +25 -0
  262. package/dist/types/sync/v2/generate/overviewPage.d.ts.map +1 -0
  263. package/dist/types/sync/v2/generate/utils.d.ts +91 -0
  264. package/dist/types/sync/v2/generate/utils.d.ts.map +1 -0
  265. package/dist/types/sync/v2/import/app/appProvider.d.ts +19 -0
  266. package/dist/types/sync/v2/import/app/appProvider.d.ts.map +1 -0
  267. package/dist/types/sync/v2/import/app/ovpProvider.d.ts +8 -0
  268. package/dist/types/sync/v2/import/app/ovpProvider.d.ts.map +1 -0
  269. package/dist/types/sync/v2/import/common/index.d.ts +53 -0
  270. package/dist/types/sync/v2/import/common/index.d.ts.map +1 -0
  271. package/dist/types/sync/v2/import/controls/table.d.ts +16 -0
  272. package/dist/types/sync/v2/import/controls/table.d.ts.map +1 -0
  273. package/dist/types/sync/v2/import/getPageType.d.ts +1 -0
  274. package/dist/types/sync/v2/import/getPageType.d.ts.map +1 -0
  275. package/dist/types/sync/v2/import/index.d.ts +6 -0
  276. package/dist/types/sync/v2/import/index.d.ts.map +1 -0
  277. package/dist/types/sync/v2/import/pages/analyticalListPage.d.ts +10 -0
  278. package/dist/types/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -0
  279. package/dist/types/sync/v2/import/pages/listReport.d.ts +10 -0
  280. package/dist/types/sync/v2/import/pages/listReport.d.ts.map +1 -0
  281. package/dist/types/sync/v2/import/pages/objectPage.d.ts +9 -0
  282. package/dist/types/sync/v2/import/pages/objectPage.d.ts.map +1 -0
  283. package/dist/types/sync/v2/import/pages/overviewPage.d.ts +11 -0
  284. package/dist/types/sync/v2/import/pages/overviewPage.d.ts.map +1 -0
  285. package/dist/types/sync/v2/import/utils.d.ts +44 -0
  286. package/dist/types/sync/v2/import/utils.d.ts.map +1 -0
  287. package/dist/types/sync/v2/types.d.ts +70 -0
  288. package/dist/types/sync/v2/types.d.ts.map +1 -0
  289. package/dist/types/sync/v4/application.d.ts +45 -0
  290. package/dist/types/sync/v4/application.d.ts.map +1 -0
  291. package/dist/types/sync/v4/export/controls/FilterBar.d.ts +5 -0
  292. package/dist/types/sync/v4/export/controls/FilterBar.d.ts.map +1 -0
  293. package/dist/types/sync/v4/export/controls/ObjectPageCustomSection.d.ts +13 -0
  294. package/dist/types/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
  295. package/dist/types/sync/v4/export/controls/ObjectPageHeader.d.ts +9 -0
  296. package/dist/types/sync/v4/export/controls/ObjectPageHeader.d.ts.map +1 -0
  297. package/dist/types/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +22 -0
  298. package/dist/types/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  299. package/dist/types/sync/v4/export/controls/ObjectPageLayout.d.ts +5 -0
  300. package/dist/types/sync/v4/export/controls/ObjectPageLayout.d.ts.map +1 -0
  301. package/dist/types/sync/v4/export/controls/ObjectPageTable.d.ts +23 -0
  302. package/dist/types/sync/v4/export/controls/ObjectPageTable.d.ts.map +1 -0
  303. package/dist/types/sync/v4/export/controls/ObjectPageTableColumn.d.ts +13 -0
  304. package/dist/types/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -0
  305. package/dist/types/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +5 -0
  306. package/dist/types/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
  307. package/dist/types/sync/v4/export/controls/Table.d.ts +143 -0
  308. package/dist/types/sync/v4/export/controls/Table.d.ts.map +1 -0
  309. package/dist/types/sync/v4/export/controls/TableColumn.d.ts +64 -0
  310. package/dist/types/sync/v4/export/controls/TableColumn.d.ts.map +1 -0
  311. package/dist/types/sync/v4/export/controls/ToolBar.d.ts +9 -0
  312. package/dist/types/sync/v4/export/controls/ToolBar.d.ts.map +1 -0
  313. package/dist/types/sync/v4/export/controls/ToolBarAction.d.ts +8 -0
  314. package/dist/types/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -0
  315. package/dist/types/sync/v4/export/controls/index.d.ts +13 -0
  316. package/dist/types/sync/v4/export/controls/index.d.ts.map +1 -0
  317. package/dist/types/sync/v4/export/export.d.ts +14 -0
  318. package/dist/types/sync/v4/export/export.d.ts.map +1 -0
  319. package/dist/types/sync/v4/export/factory.d.ts +9 -0
  320. package/dist/types/sync/v4/export/factory.d.ts.map +1 -0
  321. package/dist/types/sync/v4/export/flexibleColumnLayout.d.ts +8 -0
  322. package/dist/types/sync/v4/export/flexibleColumnLayout.d.ts.map +1 -0
  323. package/dist/types/sync/v4/export/manifest.d.ts +12 -0
  324. package/dist/types/sync/v4/export/manifest.d.ts.map +1 -0
  325. package/dist/types/sync/v4/export/pages/FreestylePage.d.ts +6 -0
  326. package/dist/types/sync/v4/export/pages/FreestylePage.d.ts.map +1 -0
  327. package/dist/types/sync/v4/export/pages/ListReport.d.ts +14 -0
  328. package/dist/types/sync/v4/export/pages/ListReport.d.ts.map +1 -0
  329. package/dist/types/sync/v4/export/pages/ObjectPage.d.ts +9 -0
  330. package/dist/types/sync/v4/export/pages/ObjectPage.d.ts.map +1 -0
  331. package/dist/types/sync/v4/export/pages/index.d.ts +4 -0
  332. package/dist/types/sync/v4/export/pages/index.d.ts.map +1 -0
  333. package/dist/types/sync/v4/export/types.d.ts +29 -0
  334. package/dist/types/sync/v4/export/types.d.ts.map +1 -0
  335. package/dist/types/sync/v4/export/utils.d.ts +15 -0
  336. package/dist/types/sync/v4/export/utils.d.ts.map +1 -0
  337. package/dist/types/sync/v4/generate/freestylePage.d.ts +11 -0
  338. package/dist/types/sync/v4/generate/freestylePage.d.ts.map +1 -0
  339. package/dist/types/sync/v4/generate/generate.d.ts +43 -0
  340. package/dist/types/sync/v4/generate/generate.d.ts.map +1 -0
  341. package/dist/types/sync/v4/generate/index.d.ts +5 -0
  342. package/dist/types/sync/v4/generate/index.d.ts.map +1 -0
  343. package/dist/types/sync/v4/generate/listReport.d.ts +14 -0
  344. package/dist/types/sync/v4/generate/listReport.d.ts.map +1 -0
  345. package/dist/types/sync/v4/generate/objectPage.d.ts +12 -0
  346. package/dist/types/sync/v4/generate/objectPage.d.ts.map +1 -0
  347. package/dist/types/sync/v4/import/app/appProvider.d.ts +8 -0
  348. package/dist/types/sync/v4/import/app/appProvider.d.ts.map +1 -0
  349. package/dist/types/sync/v4/import/app/baseAppProvider.d.ts +46 -0
  350. package/dist/types/sync/v4/import/app/baseAppProvider.d.ts.map +1 -0
  351. package/dist/types/sync/v4/import/app/freestyleProvider.d.ts +8 -0
  352. package/dist/types/sync/v4/import/app/freestyleProvider.d.ts.map +1 -0
  353. package/dist/types/sync/v4/import/app/index.d.ts +4 -0
  354. package/dist/types/sync/v4/import/app/index.d.ts.map +1 -0
  355. package/dist/types/sync/v4/import/fragment.d.ts +26 -0
  356. package/dist/types/sync/v4/import/fragment.d.ts.map +1 -0
  357. package/dist/types/sync/v4/import/index.d.ts +3 -0
  358. package/dist/types/sync/v4/import/index.d.ts.map +1 -0
  359. package/dist/types/sync/v4/import/pages/listReport.d.ts +22 -0
  360. package/dist/types/sync/v4/import/pages/listReport.d.ts.map +1 -0
  361. package/dist/types/sync/v4/import/pages/objectPage.d.ts +24 -0
  362. package/dist/types/sync/v4/import/pages/objectPage.d.ts.map +1 -0
  363. package/dist/types/sync/v4/import/utils.d.ts +16 -0
  364. package/dist/types/sync/v4/import/utils.d.ts.map +1 -0
  365. package/dist/types/sync/v4/types.d.ts +7 -0
  366. package/dist/types/sync/v4/types.d.ts.map +1 -0
  367. package/dist/types/sync/v4/utils/StableIdHelper.d.ts +5 -0
  368. package/dist/types/sync/v4/utils/StableIdHelper.d.ts.map +1 -0
  369. package/dist/types/sync/v4/utils/utils.d.ts +44 -0
  370. package/dist/types/sync/v4/utils/utils.d.ts.map +1 -0
  371. package/dist/types/v2.d.ts +3 -0
  372. package/dist/types/v2.d.ts.map +1 -0
  373. package/dist/types/v4.d.ts +3 -0
  374. package/dist/types/v4.d.ts.map +1 -0
  375. package/package.json +28 -31
  376. package/dist/documentation/runDocu-min.js.LICENSE.txt +0 -24
  377. package/dist/documentation/v4/v4-FreestylePage.html +0 -48
  378. package/dist/index-min.js.LICENSE.txt +0 -26
  379. package/dist/scripts/extractDocu.d.ts +0 -1
  380. package/dist/scripts/extractDocu.js +0 -488
  381. package/dist/scripts/extractDocu.js.map +0 -1
  382. package/dist/scripts/runDocu.d.ts +0 -1
  383. package/dist/scripts/runDocu.js +0 -570
  384. package/dist/scripts/runDocu.js.map +0 -1
  385. package/dist/scripts/spec.d.ts +0 -1
  386. package/dist/scripts/spec.js +0 -114
  387. package/dist/scripts/spec.js.map +0 -1
  388. package/dist/scripts/to-json-schema.d.ts +0 -10
  389. package/dist/scripts/to-json-schema.js +0 -124
  390. package/dist/scripts/to-json-schema.js.map +0 -1
  391. package/dist/specification/v2/index-min.js +0 -1
  392. package/dist/specification/v4/index-min.js +0 -1
  393. package/dist/src/api.d.ts +0 -41
  394. package/dist/src/api.js +0 -171
  395. package/dist/src/api.js.map +0 -1
  396. package/dist/src/apiTypes.d.ts +0 -315
  397. package/dist/src/apiTypes.js +0 -3
  398. package/dist/src/apiTypes.js.map +0 -1
  399. package/dist/src/extensionLogger.d.ts +0 -41
  400. package/dist/src/extensionLogger.js +0 -39
  401. package/dist/src/extensionLogger.js.map +0 -1
  402. package/dist/src/i18n/i18n.d.ts +0 -1
  403. package/dist/src/i18n/i18n.js +0 -25
  404. package/dist/src/i18n/i18n.js.map +0 -1
  405. package/dist/src/index.d.ts +0 -7
  406. package/dist/src/index.js +0 -12
  407. package/dist/src/index.js.map +0 -1
  408. package/dist/src/project.d.ts +0 -17
  409. package/dist/src/project.js +0 -151
  410. package/dist/src/project.js.map +0 -1
  411. package/dist/src/specification/common/Application.d.ts +0 -36
  412. package/dist/src/specification/common/Application.js +0 -3
  413. package/dist/src/specification/common/Application.js.map +0 -1
  414. package/dist/src/specification/common/i18n.json +0 -1
  415. package/dist/src/specification/common/index.d.ts +0 -5
  416. package/dist/src/specification/common/index.js +0 -10
  417. package/dist/src/specification/common/index.js.map +0 -1
  418. package/dist/src/specification/common/page.d.ts +0 -47
  419. package/dist/src/specification/common/page.js +0 -33
  420. package/dist/src/specification/common/page.js.map +0 -1
  421. package/dist/src/specification/common/types.d.ts +0 -16
  422. package/dist/src/specification/common/types.js +0 -20
  423. package/dist/src/specification/common/types.js.map +0 -1
  424. package/dist/src/specification/common/webapp/manifest/Manifest.d.ts +0 -49
  425. package/dist/src/specification/common/webapp/manifest/Manifest.js +0 -17
  426. package/dist/src/specification/common/webapp/manifest/Manifest.js.map +0 -1
  427. package/dist/src/specification/common/webapp/manifest/index.d.ts +0 -3
  428. package/dist/src/specification/common/webapp/manifest/index.js +0 -8
  429. package/dist/src/specification/common/webapp/manifest/index.js.map +0 -1
  430. package/dist/src/specification/common/webapp/manifest/sapOvp.d.ts +0 -375
  431. package/dist/src/specification/common/webapp/manifest/sapOvp.js +0 -9
  432. package/dist/src/specification/common/webapp/manifest/sapOvp.js.map +0 -1
  433. package/dist/src/specification/common/webapp/manifest/sapUi5.d.ts +0 -33
  434. package/dist/src/specification/common/webapp/manifest/sapUi5.js +0 -14
  435. package/dist/src/specification/common/webapp/manifest/sapUi5.js.map +0 -1
  436. package/dist/src/specification/schemaAccess.d.ts +0 -18
  437. package/dist/src/specification/schemaAccess.js +0 -63
  438. package/dist/src/specification/schemaAccess.js.map +0 -1
  439. package/dist/src/specification/v2/ApplicationV2.d.ts +0 -25
  440. package/dist/src/specification/v2/ApplicationV2.js +0 -9
  441. package/dist/src/specification/v2/ApplicationV2.js.map +0 -1
  442. package/dist/src/specification/v2/controls/Action.d.ts +0 -87
  443. package/dist/src/specification/v2/controls/Action.js +0 -20
  444. package/dist/src/specification/v2/controls/Action.js.map +0 -1
  445. package/dist/src/specification/v2/controls/AnalyticalListPageChart.d.ts +0 -58
  446. package/dist/src/specification/v2/controls/AnalyticalListPageChart.js +0 -36
  447. package/dist/src/specification/v2/controls/AnalyticalListPageChart.js.map +0 -1
  448. package/dist/src/specification/v2/controls/AnalyticalListPageKPI.d.ts +0 -30
  449. package/dist/src/specification/v2/controls/AnalyticalListPageKPI.js +0 -3
  450. package/dist/src/specification/v2/controls/AnalyticalListPageKPI.js.map +0 -1
  451. package/dist/src/specification/v2/controls/Card.d.ts +0 -655
  452. package/dist/src/specification/v2/controls/Card.js +0 -70
  453. package/dist/src/specification/v2/controls/Card.js.map +0 -1
  454. package/dist/src/specification/v2/controls/Facets.d.ts +0 -17
  455. package/dist/src/specification/v2/controls/Facets.js +0 -3
  456. package/dist/src/specification/v2/controls/Facets.js.map +0 -1
  457. package/dist/src/specification/v2/controls/Field.d.ts +0 -10
  458. package/dist/src/specification/v2/controls/Field.js +0 -3
  459. package/dist/src/specification/v2/controls/Field.js.map +0 -1
  460. package/dist/src/specification/v2/controls/FilterBar.d.ts +0 -195
  461. package/dist/src/specification/v2/controls/FilterBar.js +0 -54
  462. package/dist/src/specification/v2/controls/FilterBar.js.map +0 -1
  463. package/dist/src/specification/v2/controls/Footer.d.ts +0 -20
  464. package/dist/src/specification/v2/controls/Footer.js +0 -3
  465. package/dist/src/specification/v2/controls/Footer.js.map +0 -1
  466. package/dist/src/specification/v2/controls/ObjectPageChart.d.ts +0 -16
  467. package/dist/src/specification/v2/controls/ObjectPageChart.js +0 -3
  468. package/dist/src/specification/v2/controls/ObjectPageChart.js.map +0 -1
  469. package/dist/src/specification/v2/controls/ObjectPageForm.d.ts +0 -15
  470. package/dist/src/specification/v2/controls/ObjectPageForm.js +0 -3
  471. package/dist/src/specification/v2/controls/ObjectPageForm.js.map +0 -1
  472. package/dist/src/specification/v2/controls/ObjectPageHeader.d.ts +0 -34
  473. package/dist/src/specification/v2/controls/ObjectPageHeader.js +0 -8
  474. package/dist/src/specification/v2/controls/ObjectPageHeader.js.map +0 -1
  475. package/dist/src/specification/v2/controls/ObjectPageLayout.d.ts +0 -22
  476. package/dist/src/specification/v2/controls/ObjectPageLayout.js +0 -3
  477. package/dist/src/specification/v2/controls/ObjectPageLayout.js.map +0 -1
  478. package/dist/src/specification/v2/controls/ObjectPageSection.d.ts +0 -120
  479. package/dist/src/specification/v2/controls/ObjectPageSection.js +0 -13
  480. package/dist/src/specification/v2/controls/ObjectPageSection.js.map +0 -1
  481. package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +0 -183
  482. package/dist/src/specification/v2/controls/ObjectPageTable.js +0 -7
  483. package/dist/src/specification/v2/controls/ObjectPageTable.js.map +0 -1
  484. package/dist/src/specification/v2/controls/ObjectPageToolBar.d.ts +0 -15
  485. package/dist/src/specification/v2/controls/ObjectPageToolBar.js +0 -3
  486. package/dist/src/specification/v2/controls/ObjectPageToolBar.js.map +0 -1
  487. package/dist/src/specification/v2/controls/Table.d.ts +0 -495
  488. package/dist/src/specification/v2/controls/Table.js +0 -62
  489. package/dist/src/specification/v2/controls/Table.js.map +0 -1
  490. package/dist/src/specification/v2/controls/ToolBar.d.ts +0 -8
  491. package/dist/src/specification/v2/controls/ToolBar.js +0 -3
  492. package/dist/src/specification/v2/controls/ToolBar.js.map +0 -1
  493. package/dist/src/specification/v2/controls/index.d.ts +0 -17
  494. package/dist/src/specification/v2/controls/index.js +0 -14
  495. package/dist/src/specification/v2/controls/index.js.map +0 -1
  496. package/dist/src/specification/v2/index.d.ts +0 -5
  497. package/dist/src/specification/v2/index.js +0 -10
  498. package/dist/src/specification/v2/index.js.map +0 -1
  499. package/dist/src/specification/v2/page.d.ts +0 -7
  500. package/dist/src/specification/v2/page.js +0 -3
  501. package/dist/src/specification/v2/page.js.map +0 -1
  502. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.d.ts +0 -21
  503. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.js +0 -3
  504. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.js.map +0 -1
  505. package/dist/src/specification/v2/pages/ListReportConfig.d.ts +0 -12
  506. package/dist/src/specification/v2/pages/ListReportConfig.js +0 -3
  507. package/dist/src/specification/v2/pages/ListReportConfig.js.map +0 -1
  508. package/dist/src/specification/v2/pages/ObjectPageConfig.d.ts +0 -33
  509. package/dist/src/specification/v2/pages/ObjectPageConfig.js +0 -3
  510. package/dist/src/specification/v2/pages/ObjectPageConfig.js.map +0 -1
  511. package/dist/src/specification/v2/pages/OverviewPageConfig.d.ts +0 -127
  512. package/dist/src/specification/v2/pages/OverviewPageConfig.js +0 -8
  513. package/dist/src/specification/v2/pages/OverviewPageConfig.js.map +0 -1
  514. package/dist/src/specification/v2/pages/index.d.ts +0 -4
  515. package/dist/src/specification/v2/pages/index.js +0 -7
  516. package/dist/src/specification/v2/pages/index.js.map +0 -1
  517. package/dist/src/specification/v2/webapp/index.d.ts +0 -1
  518. package/dist/src/specification/v2/webapp/index.js +0 -7
  519. package/dist/src/specification/v2/webapp/index.js.map +0 -1
  520. package/dist/src/specification/v2/webapp/manifest/index.d.ts +0 -2
  521. package/dist/src/specification/v2/webapp/manifest/index.js +0 -8
  522. package/dist/src/specification/v2/webapp/manifest/index.js.map +0 -1
  523. package/dist/src/specification/v2/webapp/manifest/sapUi.d.ts +0 -10
  524. package/dist/src/specification/v2/webapp/manifest/sapUi.js +0 -3
  525. package/dist/src/specification/v2/webapp/manifest/sapUi.js.map +0 -1
  526. package/dist/src/specification/v2/webapp/manifest/sapUi5.d.ts +0 -98
  527. package/dist/src/specification/v2/webapp/manifest/sapUi5.js +0 -9
  528. package/dist/src/specification/v2/webapp/manifest/sapUi5.js.map +0 -1
  529. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.d.ts +0 -31
  530. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.js +0 -7
  531. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.js.map +0 -1
  532. package/dist/src/specification/v4/ApplicationV4.d.ts +0 -31
  533. package/dist/src/specification/v4/ApplicationV4.js +0 -3
  534. package/dist/src/specification/v4/ApplicationV4.js.map +0 -1
  535. package/dist/src/specification/v4/controls/FilterBar.d.ts +0 -18
  536. package/dist/src/specification/v4/controls/FilterBar.js +0 -3
  537. package/dist/src/specification/v4/controls/FilterBar.js.map +0 -1
  538. package/dist/src/specification/v4/controls/ObjectPageFooter.d.ts +0 -11
  539. package/dist/src/specification/v4/controls/ObjectPageFooter.js +0 -3
  540. package/dist/src/specification/v4/controls/ObjectPageFooter.js.map +0 -1
  541. package/dist/src/specification/v4/controls/ObjectPageHeader.d.ts +0 -29
  542. package/dist/src/specification/v4/controls/ObjectPageHeader.js +0 -3
  543. package/dist/src/specification/v4/controls/ObjectPageHeader.js.map +0 -1
  544. package/dist/src/specification/v4/controls/ObjectPageHeaderSection.d.ts +0 -46
  545. package/dist/src/specification/v4/controls/ObjectPageHeaderSection.js +0 -7
  546. package/dist/src/specification/v4/controls/ObjectPageHeaderSection.js.map +0 -1
  547. package/dist/src/specification/v4/controls/ObjectPageLayout.d.ts +0 -14
  548. package/dist/src/specification/v4/controls/ObjectPageLayout.js +0 -8
  549. package/dist/src/specification/v4/controls/ObjectPageLayout.js.map +0 -1
  550. package/dist/src/specification/v4/controls/ObjectPageSection.d.ts +0 -98
  551. package/dist/src/specification/v4/controls/ObjectPageSection.js +0 -12
  552. package/dist/src/specification/v4/controls/ObjectPageSection.js.map +0 -1
  553. package/dist/src/specification/v4/controls/ObjectPageTable.d.ts +0 -70
  554. package/dist/src/specification/v4/controls/ObjectPageTable.js +0 -3
  555. package/dist/src/specification/v4/controls/ObjectPageTable.js.map +0 -1
  556. package/dist/src/specification/v4/controls/ObjectPageToolBar.d.ts +0 -25
  557. package/dist/src/specification/v4/controls/ObjectPageToolBar.js +0 -3
  558. package/dist/src/specification/v4/controls/ObjectPageToolBar.js.map +0 -1
  559. package/dist/src/specification/v4/controls/Table.d.ts +0 -298
  560. package/dist/src/specification/v4/controls/Table.js +0 -30
  561. package/dist/src/specification/v4/controls/Table.js.map +0 -1
  562. package/dist/src/specification/v4/controls/ToolBar.d.ts +0 -53
  563. package/dist/src/specification/v4/controls/ToolBar.js +0 -8
  564. package/dist/src/specification/v4/controls/ToolBar.js.map +0 -1
  565. package/dist/src/specification/v4/controls/index.d.ts +0 -10
  566. package/dist/src/specification/v4/controls/index.js +0 -11
  567. package/dist/src/specification/v4/controls/index.js.map +0 -1
  568. package/dist/src/specification/v4/index.d.ts +0 -5
  569. package/dist/src/specification/v4/index.js +0 -9
  570. package/dist/src/specification/v4/index.js.map +0 -1
  571. package/dist/src/specification/v4/page.d.ts +0 -19
  572. package/dist/src/specification/v4/page.js +0 -3
  573. package/dist/src/specification/v4/page.js.map +0 -1
  574. package/dist/src/specification/v4/pages/FreestylePageConfig.d.ts +0 -2
  575. package/dist/src/specification/v4/pages/FreestylePageConfig.js +0 -3
  576. package/dist/src/specification/v4/pages/FreestylePageConfig.js.map +0 -1
  577. package/dist/src/specification/v4/pages/ListReportConfig.d.ts +0 -36
  578. package/dist/src/specification/v4/pages/ListReportConfig.js +0 -9
  579. package/dist/src/specification/v4/pages/ListReportConfig.js.map +0 -1
  580. package/dist/src/specification/v4/pages/ObjectPageConfig.d.ts +0 -18
  581. package/dist/src/specification/v4/pages/ObjectPageConfig.js +0 -8
  582. package/dist/src/specification/v4/pages/ObjectPageConfig.js.map +0 -1
  583. package/dist/src/specification/v4/pages/index.d.ts +0 -3
  584. package/dist/src/specification/v4/pages/index.js +0 -8
  585. package/dist/src/specification/v4/pages/index.js.map +0 -1
  586. package/dist/src/specification/v4/webapp/index.d.ts +0 -1
  587. package/dist/src/specification/v4/webapp/index.js +0 -7
  588. package/dist/src/specification/v4/webapp/index.js.map +0 -1
  589. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.d.ts +0 -224
  590. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.js +0 -22
  591. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.js.map +0 -1
  592. package/dist/src/specification/v4/webapp/manifest/index.d.ts +0 -4
  593. package/dist/src/specification/v4/webapp/manifest/index.js +0 -10
  594. package/dist/src/specification/v4/webapp/manifest/index.js.map +0 -1
  595. package/dist/src/specification/v4/webapp/manifest/sapUi5.d.ts +0 -102
  596. package/dist/src/specification/v4/webapp/manifest/sapUi5.js +0 -11
  597. package/dist/src/specification/v4/webapp/manifest/sapUi5.js.map +0 -1
  598. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.d.ts +0 -82
  599. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js +0 -14
  600. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js.map +0 -1
  601. package/dist/src/sync/common/appProvider.d.ts +0 -27
  602. package/dist/src/sync/common/appProvider.js +0 -59
  603. package/dist/src/sync/common/appProvider.js.map +0 -1
  604. package/dist/src/sync/common/decoration/control.d.ts +0 -50
  605. package/dist/src/sync/common/decoration/control.js +0 -211
  606. package/dist/src/sync/common/decoration/control.js.map +0 -1
  607. package/dist/src/sync/common/decoration/decorators.d.ts +0 -12
  608. package/dist/src/sync/common/decoration/decorators.js +0 -45
  609. package/dist/src/sync/common/decoration/decorators.js.map +0 -1
  610. package/dist/src/sync/common/decoration/factory.d.ts +0 -40
  611. package/dist/src/sync/common/decoration/factory.js +0 -48
  612. package/dist/src/sync/common/decoration/factory.js.map +0 -1
  613. package/dist/src/sync/common/decoration/flex.d.ts +0 -6
  614. package/dist/src/sync/common/decoration/flex.js +0 -8
  615. package/dist/src/sync/common/decoration/flex.js.map +0 -1
  616. package/dist/src/sync/common/decoration/index.d.ts +0 -3
  617. package/dist/src/sync/common/decoration/index.js +0 -9
  618. package/dist/src/sync/common/decoration/index.js.map +0 -1
  619. package/dist/src/sync/common/flexUtils.d.ts +0 -31
  620. package/dist/src/sync/common/flexUtils.js +0 -94
  621. package/dist/src/sync/common/flexUtils.js.map +0 -1
  622. package/dist/src/sync/common/generate/index.d.ts +0 -2
  623. package/dist/src/sync/common/generate/index.js +0 -8
  624. package/dist/src/sync/common/generate/index.js.map +0 -1
  625. package/dist/src/sync/common/generate/objectPage.d.ts +0 -59
  626. package/dist/src/sync/common/generate/objectPage.js +0 -378
  627. package/dist/src/sync/common/generate/objectPage.js.map +0 -1
  628. package/dist/src/sync/common/generate/utils.d.ts +0 -143
  629. package/dist/src/sync/common/generate/utils.js +0 -415
  630. package/dist/src/sync/common/generate/utils.js.map +0 -1
  631. package/dist/src/sync/common/i18n.json +0 -23
  632. package/dist/src/sync/common/import/utils.d.ts +0 -43
  633. package/dist/src/sync/common/import/utils.js +0 -106
  634. package/dist/src/sync/common/import/utils.js.map +0 -1
  635. package/dist/src/sync/common/importProject.d.ts +0 -14
  636. package/dist/src/sync/common/importProject.js +0 -345
  637. package/dist/src/sync/common/importProject.js.map +0 -1
  638. package/dist/src/sync/common/index.d.ts +0 -7
  639. package/dist/src/sync/common/index.js +0 -15
  640. package/dist/src/sync/common/index.js.map +0 -1
  641. package/dist/src/sync/common/types.d.ts +0 -347
  642. package/dist/src/sync/common/types.js +0 -217
  643. package/dist/src/sync/common/types.js.map +0 -1
  644. package/dist/src/sync/common/utils.d.ts +0 -243
  645. package/dist/src/sync/common/utils.js +0 -1238
  646. package/dist/src/sync/common/utils.js.map +0 -1
  647. package/dist/src/sync/i18n.d.ts +0 -2
  648. package/dist/src/sync/i18n.js +0 -15
  649. package/dist/src/sync/i18n.js.map +0 -1
  650. package/dist/src/sync/v2/application.d.ts +0 -33
  651. package/dist/src/sync/v2/application.js +0 -170
  652. package/dist/src/sync/v2/application.js.map +0 -1
  653. package/dist/src/sync/v2/export/controls/Action.d.ts +0 -28
  654. package/dist/src/sync/v2/export/controls/Action.js +0 -127
  655. package/dist/src/sync/v2/export/controls/Action.js.map +0 -1
  656. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts +0 -9
  657. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js +0 -72
  658. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +0 -1
  659. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +0 -9
  660. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js +0 -56
  661. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +0 -1
  662. package/dist/src/sync/v2/export/controls/Card.d.ts +0 -116
  663. package/dist/src/sync/v2/export/controls/Card.js +0 -655
  664. package/dist/src/sync/v2/export/controls/Card.js.map +0 -1
  665. package/dist/src/sync/v2/export/controls/Field.d.ts +0 -4
  666. package/dist/src/sync/v2/export/controls/Field.js +0 -32
  667. package/dist/src/sync/v2/export/controls/Field.js.map +0 -1
  668. package/dist/src/sync/v2/export/controls/FilterBar.d.ts +0 -34
  669. package/dist/src/sync/v2/export/controls/FilterBar.js +0 -250
  670. package/dist/src/sync/v2/export/controls/FilterBar.js.map +0 -1
  671. package/dist/src/sync/v2/export/controls/FormAction.d.ts +0 -15
  672. package/dist/src/sync/v2/export/controls/FormAction.js +0 -134
  673. package/dist/src/sync/v2/export/controls/FormAction.js.map +0 -1
  674. package/dist/src/sync/v2/export/controls/Fragment.d.ts +0 -42
  675. package/dist/src/sync/v2/export/controls/Fragment.js +0 -580
  676. package/dist/src/sync/v2/export/controls/Fragment.js.map +0 -1
  677. package/dist/src/sync/v2/export/controls/ObjectPageChart.d.ts +0 -7
  678. package/dist/src/sync/v2/export/controls/ObjectPageChart.js +0 -37
  679. package/dist/src/sync/v2/export/controls/ObjectPageChart.js.map +0 -1
  680. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts +0 -19
  681. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js +0 -110
  682. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +0 -1
  683. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +0 -8
  684. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js +0 -62
  685. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +0 -1
  686. package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts +0 -8
  687. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js +0 -60
  688. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +0 -1
  689. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +0 -8
  690. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js +0 -62
  691. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +0 -1
  692. package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts +0 -7
  693. package/dist/src/sync/v2/export/controls/ObjectPageLayout.js +0 -59
  694. package/dist/src/sync/v2/export/controls/ObjectPageLayout.js.map +0 -1
  695. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +0 -44
  696. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +0 -193
  697. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +0 -1
  698. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +0 -49
  699. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +0 -335
  700. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +0 -1
  701. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +0 -8
  702. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js +0 -61
  703. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +0 -1
  704. package/dist/src/sync/v2/export/controls/Table.d.ts +0 -94
  705. package/dist/src/sync/v2/export/controls/Table.js +0 -709
  706. package/dist/src/sync/v2/export/controls/Table.js.map +0 -1
  707. package/dist/src/sync/v2/export/controls/TableColumn.d.ts +0 -38
  708. package/dist/src/sync/v2/export/controls/TableColumn.js +0 -166
  709. package/dist/src/sync/v2/export/controls/TableColumn.js.map +0 -1
  710. package/dist/src/sync/v2/export/controls/ToolBar.d.ts +0 -4
  711. package/dist/src/sync/v2/export/controls/ToolBar.js +0 -6
  712. package/dist/src/sync/v2/export/controls/ToolBar.js.map +0 -1
  713. package/dist/src/sync/v2/export/controls/index.d.ts +0 -20
  714. package/dist/src/sync/v2/export/controls/index.js +0 -26
  715. package/dist/src/sync/v2/export/controls/index.js.map +0 -1
  716. package/dist/src/sync/v2/export/export.d.ts +0 -35
  717. package/dist/src/sync/v2/export/export.js +0 -681
  718. package/dist/src/sync/v2/export/export.js.map +0 -1
  719. package/dist/src/sync/v2/export/exportPage.d.ts +0 -10
  720. package/dist/src/sync/v2/export/exportPage.js +0 -305
  721. package/dist/src/sync/v2/export/exportPage.js.map +0 -1
  722. package/dist/src/sync/v2/export/factory.d.ts +0 -8
  723. package/dist/src/sync/v2/export/factory.js +0 -59
  724. package/dist/src/sync/v2/export/factory.js.map +0 -1
  725. package/dist/src/sync/v2/export/manifest.d.ts +0 -26
  726. package/dist/src/sync/v2/export/manifest.js +0 -156
  727. package/dist/src/sync/v2/export/manifest.js.map +0 -1
  728. package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts +0 -14
  729. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js +0 -44
  730. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +0 -1
  731. package/dist/src/sync/v2/export/pages/ListReport.d.ts +0 -10
  732. package/dist/src/sync/v2/export/pages/ListReport.js +0 -41
  733. package/dist/src/sync/v2/export/pages/ListReport.js.map +0 -1
  734. package/dist/src/sync/v2/export/pages/ObjectPage.d.ts +0 -18
  735. package/dist/src/sync/v2/export/pages/ObjectPage.js +0 -100
  736. package/dist/src/sync/v2/export/pages/ObjectPage.js.map +0 -1
  737. package/dist/src/sync/v2/export/pages/OverviewPage.d.ts +0 -28
  738. package/dist/src/sync/v2/export/pages/OverviewPage.js +0 -213
  739. package/dist/src/sync/v2/export/pages/OverviewPage.js.map +0 -1
  740. package/dist/src/sync/v2/export/pages/index.d.ts +0 -4
  741. package/dist/src/sync/v2/export/pages/index.js +0 -10
  742. package/dist/src/sync/v2/export/pages/index.js.map +0 -1
  743. package/dist/src/sync/v2/export/view-controller-generator.d.ts +0 -68
  744. package/dist/src/sync/v2/export/view-controller-generator.js +0 -141
  745. package/dist/src/sync/v2/export/view-controller-generator.js.map +0 -1
  746. package/dist/src/sync/v2/generate/analyticalListReport.d.ts +0 -9
  747. package/dist/src/sync/v2/generate/analyticalListReport.js +0 -86
  748. package/dist/src/sync/v2/generate/analyticalListReport.js.map +0 -1
  749. package/dist/src/sync/v2/generate/generate.d.ts +0 -53
  750. package/dist/src/sync/v2/generate/generate.js +0 -99
  751. package/dist/src/sync/v2/generate/generate.js.map +0 -1
  752. package/dist/src/sync/v2/generate/index.d.ts +0 -4
  753. package/dist/src/sync/v2/generate/index.js +0 -14
  754. package/dist/src/sync/v2/generate/index.js.map +0 -1
  755. package/dist/src/sync/v2/generate/listReport.d.ts +0 -21
  756. package/dist/src/sync/v2/generate/listReport.js +0 -123
  757. package/dist/src/sync/v2/generate/listReport.js.map +0 -1
  758. package/dist/src/sync/v2/generate/objectPage.d.ts +0 -10
  759. package/dist/src/sync/v2/generate/objectPage.js +0 -545
  760. package/dist/src/sync/v2/generate/objectPage.js.map +0 -1
  761. package/dist/src/sync/v2/generate/overviewPage.d.ts +0 -24
  762. package/dist/src/sync/v2/generate/overviewPage.js +0 -70
  763. package/dist/src/sync/v2/generate/overviewPage.js.map +0 -1
  764. package/dist/src/sync/v2/generate/utils.d.ts +0 -90
  765. package/dist/src/sync/v2/generate/utils.js +0 -530
  766. package/dist/src/sync/v2/generate/utils.js.map +0 -1
  767. package/dist/src/sync/v2/import/app/appProvider.d.ts +0 -18
  768. package/dist/src/sync/v2/import/app/appProvider.js +0 -145
  769. package/dist/src/sync/v2/import/app/appProvider.js.map +0 -1
  770. package/dist/src/sync/v2/import/app/ovpProvider.d.ts +0 -7
  771. package/dist/src/sync/v2/import/app/ovpProvider.js +0 -33
  772. package/dist/src/sync/v2/import/app/ovpProvider.js.map +0 -1
  773. package/dist/src/sync/v2/import/common/index.d.ts +0 -52
  774. package/dist/src/sync/v2/import/common/index.js +0 -415
  775. package/dist/src/sync/v2/import/common/index.js.map +0 -1
  776. package/dist/src/sync/v2/import/controls/table.d.ts +0 -15
  777. package/dist/src/sync/v2/import/controls/table.js +0 -32
  778. package/dist/src/sync/v2/import/controls/table.js.map +0 -1
  779. package/dist/src/sync/v2/import/getPageType.d.ts +0 -0
  780. package/dist/src/sync/v2/import/getPageType.js +0 -1
  781. package/dist/src/sync/v2/import/getPageType.js.map +0 -1
  782. package/dist/src/sync/v2/import/index.d.ts +0 -5
  783. package/dist/src/sync/v2/import/index.js +0 -11
  784. package/dist/src/sync/v2/import/index.js.map +0 -1
  785. package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts +0 -9
  786. package/dist/src/sync/v2/import/pages/analyticalListPage.js +0 -128
  787. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +0 -1
  788. package/dist/src/sync/v2/import/pages/listReport.d.ts +0 -9
  789. package/dist/src/sync/v2/import/pages/listReport.js +0 -156
  790. package/dist/src/sync/v2/import/pages/listReport.js.map +0 -1
  791. package/dist/src/sync/v2/import/pages/objectPage.d.ts +0 -8
  792. package/dist/src/sync/v2/import/pages/objectPage.js +0 -747
  793. package/dist/src/sync/v2/import/pages/objectPage.js.map +0 -1
  794. package/dist/src/sync/v2/import/pages/overviewPage.d.ts +0 -10
  795. package/dist/src/sync/v2/import/pages/overviewPage.js +0 -113
  796. package/dist/src/sync/v2/import/pages/overviewPage.js.map +0 -1
  797. package/dist/src/sync/v2/import/utils.d.ts +0 -43
  798. package/dist/src/sync/v2/import/utils.js +0 -149
  799. package/dist/src/sync/v2/import/utils.js.map +0 -1
  800. package/dist/src/sync/v2/types.d.ts +0 -69
  801. package/dist/src/sync/v2/types.js +0 -37
  802. package/dist/src/sync/v2/types.js.map +0 -1
  803. package/dist/src/sync/v4/application.d.ts +0 -44
  804. package/dist/src/sync/v4/application.js +0 -150
  805. package/dist/src/sync/v4/application.js.map +0 -1
  806. package/dist/src/sync/v4/export/controls/FilterBar.d.ts +0 -4
  807. package/dist/src/sync/v4/export/controls/FilterBar.js +0 -6
  808. package/dist/src/sync/v4/export/controls/FilterBar.js.map +0 -1
  809. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts +0 -12
  810. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js +0 -132
  811. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +0 -1
  812. package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts +0 -8
  813. package/dist/src/sync/v4/export/controls/ObjectPageHeader.js +0 -55
  814. package/dist/src/sync/v4/export/controls/ObjectPageHeader.js.map +0 -1
  815. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +0 -21
  816. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js +0 -65
  817. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +0 -1
  818. package/dist/src/sync/v4/export/controls/ObjectPageLayout.d.ts +0 -4
  819. package/dist/src/sync/v4/export/controls/ObjectPageLayout.js +0 -24
  820. package/dist/src/sync/v4/export/controls/ObjectPageLayout.js.map +0 -1
  821. package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts +0 -22
  822. package/dist/src/sync/v4/export/controls/ObjectPageTable.js +0 -180
  823. package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +0 -1
  824. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +0 -12
  825. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +0 -64
  826. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +0 -1
  827. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +0 -4
  828. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js +0 -21
  829. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +0 -1
  830. package/dist/src/sync/v4/export/controls/Table.d.ts +0 -142
  831. package/dist/src/sync/v4/export/controls/Table.js +0 -666
  832. package/dist/src/sync/v4/export/controls/Table.js.map +0 -1
  833. package/dist/src/sync/v4/export/controls/TableColumn.d.ts +0 -63
  834. package/dist/src/sync/v4/export/controls/TableColumn.js +0 -310
  835. package/dist/src/sync/v4/export/controls/TableColumn.js.map +0 -1
  836. package/dist/src/sync/v4/export/controls/ToolBar.d.ts +0 -8
  837. package/dist/src/sync/v4/export/controls/ToolBar.js +0 -9
  838. package/dist/src/sync/v4/export/controls/ToolBar.js.map +0 -1
  839. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +0 -7
  840. package/dist/src/sync/v4/export/controls/ToolBarAction.js +0 -31
  841. package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +0 -1
  842. package/dist/src/sync/v4/export/controls/index.d.ts +0 -12
  843. package/dist/src/sync/v4/export/controls/index.js +0 -18
  844. package/dist/src/sync/v4/export/controls/index.js.map +0 -1
  845. package/dist/src/sync/v4/export/export.d.ts +0 -13
  846. package/dist/src/sync/v4/export/export.js +0 -804
  847. package/dist/src/sync/v4/export/export.js.map +0 -1
  848. package/dist/src/sync/v4/export/factory.d.ts +0 -8
  849. package/dist/src/sync/v4/export/factory.js +0 -44
  850. package/dist/src/sync/v4/export/factory.js.map +0 -1
  851. package/dist/src/sync/v4/export/flexibleColumnLayout.d.ts +0 -7
  852. package/dist/src/sync/v4/export/flexibleColumnLayout.js +0 -122
  853. package/dist/src/sync/v4/export/flexibleColumnLayout.js.map +0 -1
  854. package/dist/src/sync/v4/export/manifest.d.ts +0 -11
  855. package/dist/src/sync/v4/export/manifest.js +0 -218
  856. package/dist/src/sync/v4/export/manifest.js.map +0 -1
  857. package/dist/src/sync/v4/export/pages/FreestylePage.d.ts +0 -5
  858. package/dist/src/sync/v4/export/pages/FreestylePage.js +0 -9
  859. package/dist/src/sync/v4/export/pages/FreestylePage.js.map +0 -1
  860. package/dist/src/sync/v4/export/pages/ListReport.d.ts +0 -13
  861. package/dist/src/sync/v4/export/pages/ListReport.js +0 -82
  862. package/dist/src/sync/v4/export/pages/ListReport.js.map +0 -1
  863. package/dist/src/sync/v4/export/pages/ObjectPage.d.ts +0 -8
  864. package/dist/src/sync/v4/export/pages/ObjectPage.js +0 -40
  865. package/dist/src/sync/v4/export/pages/ObjectPage.js.map +0 -1
  866. package/dist/src/sync/v4/export/pages/index.d.ts +0 -3
  867. package/dist/src/sync/v4/export/pages/index.js +0 -9
  868. package/dist/src/sync/v4/export/pages/index.js.map +0 -1
  869. package/dist/src/sync/v4/export/types.d.ts +0 -28
  870. package/dist/src/sync/v4/export/types.js +0 -3
  871. package/dist/src/sync/v4/export/types.js.map +0 -1
  872. package/dist/src/sync/v4/export/utils.d.ts +0 -14
  873. package/dist/src/sync/v4/export/utils.js +0 -43
  874. package/dist/src/sync/v4/export/utils.js.map +0 -1
  875. package/dist/src/sync/v4/generate/freestylePage.d.ts +0 -10
  876. package/dist/src/sync/v4/generate/freestylePage.js +0 -15
  877. package/dist/src/sync/v4/generate/freestylePage.js.map +0 -1
  878. package/dist/src/sync/v4/generate/generate.d.ts +0 -42
  879. package/dist/src/sync/v4/generate/generate.js +0 -82
  880. package/dist/src/sync/v4/generate/generate.js.map +0 -1
  881. package/dist/src/sync/v4/generate/index.d.ts +0 -4
  882. package/dist/src/sync/v4/generate/index.js +0 -13
  883. package/dist/src/sync/v4/generate/index.js.map +0 -1
  884. package/dist/src/sync/v4/generate/listReport.d.ts +0 -13
  885. package/dist/src/sync/v4/generate/listReport.js +0 -614
  886. package/dist/src/sync/v4/generate/listReport.js.map +0 -1
  887. package/dist/src/sync/v4/generate/objectPage.d.ts +0 -11
  888. package/dist/src/sync/v4/generate/objectPage.js +0 -547
  889. package/dist/src/sync/v4/generate/objectPage.js.map +0 -1
  890. package/dist/src/sync/v4/import/app/appProvider.d.ts +0 -7
  891. package/dist/src/sync/v4/import/app/appProvider.js +0 -10
  892. package/dist/src/sync/v4/import/app/appProvider.js.map +0 -1
  893. package/dist/src/sync/v4/import/app/baseAppProvider.d.ts +0 -45
  894. package/dist/src/sync/v4/import/app/baseAppProvider.js +0 -339
  895. package/dist/src/sync/v4/import/app/baseAppProvider.js.map +0 -1
  896. package/dist/src/sync/v4/import/app/freestyleProvider.d.ts +0 -7
  897. package/dist/src/sync/v4/import/app/freestyleProvider.js +0 -11
  898. package/dist/src/sync/v4/import/app/freestyleProvider.js.map +0 -1
  899. package/dist/src/sync/v4/import/app/index.d.ts +0 -3
  900. package/dist/src/sync/v4/import/app/index.js +0 -12
  901. package/dist/src/sync/v4/import/app/index.js.map +0 -1
  902. package/dist/src/sync/v4/import/fragment.d.ts +0 -25
  903. package/dist/src/sync/v4/import/fragment.js +0 -130
  904. package/dist/src/sync/v4/import/fragment.js.map +0 -1
  905. package/dist/src/sync/v4/import/index.d.ts +0 -2
  906. package/dist/src/sync/v4/import/index.js +0 -8
  907. package/dist/src/sync/v4/import/index.js.map +0 -1
  908. package/dist/src/sync/v4/import/pages/listReport.d.ts +0 -21
  909. package/dist/src/sync/v4/import/pages/listReport.js +0 -271
  910. package/dist/src/sync/v4/import/pages/listReport.js.map +0 -1
  911. package/dist/src/sync/v4/import/pages/objectPage.d.ts +0 -23
  912. package/dist/src/sync/v4/import/pages/objectPage.js +0 -265
  913. package/dist/src/sync/v4/import/pages/objectPage.js.map +0 -1
  914. package/dist/src/sync/v4/import/utils.d.ts +0 -15
  915. package/dist/src/sync/v4/import/utils.js +0 -34
  916. package/dist/src/sync/v4/import/utils.js.map +0 -1
  917. package/dist/src/sync/v4/types.d.ts +0 -6
  918. package/dist/src/sync/v4/types.js +0 -3
  919. package/dist/src/sync/v4/types.js.map +0 -1
  920. package/dist/src/sync/v4/utils/StableIdHelper.d.ts +0 -4
  921. package/dist/src/sync/v4/utils/StableIdHelper.js +0 -156
  922. package/dist/src/sync/v4/utils/StableIdHelper.js.map +0 -1
  923. package/dist/src/sync/v4/utils/utils.d.ts +0 -43
  924. package/dist/src/sync/v4/utils/utils.js +0 -177
  925. package/dist/src/sync/v4/utils/utils.js.map +0 -1
  926. package/dist/src/v2.d.ts +0 -2
  927. package/dist/src/v2.js +0 -8
  928. package/dist/src/v2.js.map +0 -1
  929. package/dist/src/v4.d.ts +0 -2
  930. package/dist/src/v4.js +0 -8
  931. package/dist/src/v4.js.map +0 -1
  932. package/dist/test/test-data/flexChange/v2/stta.prod.man/index.d.ts +0 -7
  933. package/dist/test/test-projects/index.d.ts +0 -2
  934. package/dist/test/test-utils/utils.d.ts +0 -32
  935. package/dist/test/unit/customSections/exportV2.test.d.ts +0 -1
  936. package/dist/test/unit/customSections/exportV4.test.d.ts +0 -1
  937. package/dist/test/unit/customSections/generateFacetsSchemaV2.test.d.ts +0 -1
  938. package/dist/test/unit/customSections/generateFacetsSchemaV4.test.d.ts +0 -1
  939. package/dist/test/unit/customSections/importV2.test.d.ts +0 -1
  940. package/dist/test/unit/customSections/importV4.test.d.ts +0 -1
  941. package/dist/test/unit/export/exportALPV2.test.d.ts +0 -1
  942. package/dist/test/unit/export/exportALPV4.test.d.ts +0 -1
  943. package/dist/test/unit/export/exportAppV2.test.d.ts +0 -1
  944. package/dist/test/unit/export/exportAppV4.test.d.ts +0 -1
  945. package/dist/test/unit/export/exportFormPageV4.test.d.ts +0 -1
  946. package/dist/test/unit/export/exportLRPV2.test.d.ts +0 -1
  947. package/dist/test/unit/export/exportLRPV2CustomColumns.test.d.ts +0 -1
  948. package/dist/test/unit/export/exportLRPV4.test.d.ts +0 -1
  949. package/dist/test/unit/export/exportOVPV2.test.d.ts +0 -1
  950. package/dist/test/unit/export/exportObjectPageV2.test.d.ts +0 -1
  951. package/dist/test/unit/export/exportObjectPageV4.test.d.ts +0 -1
  952. package/dist/test/unit/export/flexUtils.test.d.ts +0 -1
  953. package/dist/test/unit/export/manifest.test.d.ts +0 -1
  954. package/dist/test/unit/fcl/exportV2.test.d.ts +0 -1
  955. package/dist/test/unit/fcl/exportV4.test.d.ts +0 -1
  956. package/dist/test/unit/fcl/importV2.test.d.ts +0 -1
  957. package/dist/test/unit/fcl/importV4.test.d.ts +0 -1
  958. package/dist/test/unit/generateAppSchema/generateAppSchemaALPV2.test.d.ts +0 -1
  959. package/dist/test/unit/generateAppSchema/generateAppSchemaALPV4.test.d.ts +0 -1
  960. package/dist/test/unit/generateAppSchema/generateAppSchemaFFV4.test.d.ts +0 -1
  961. package/dist/test/unit/generateAppSchema/generateAppSchemaFPV4.test.d.ts +0 -1
  962. package/dist/test/unit/generateAppSchema/generateAppSchemaLRV2.test.d.ts +0 -1
  963. package/dist/test/unit/generateAppSchema/generateAppSchemaLRV4.test.d.ts +0 -1
  964. package/dist/test/unit/generateAppSchema/generateAppSchemaOPV2.test.d.ts +0 -1
  965. package/dist/test/unit/generateAppSchema/generateAppSchemaOPV4.test.d.ts +0 -1
  966. package/dist/test/unit/generateAppSchema/generateAppSchemaOVPV2.test.d.ts +0 -1
  967. package/dist/test/unit/generateGenericSchema/generateGenericSchemaAppV2.test.d.ts +0 -1
  968. package/dist/test/unit/generateGenericSchema/generateGenericSchemaAppV4.test.d.ts +0 -1
  969. package/dist/test/unit/generateGenericSchema/generateGenericSchemaFFV4.test.d.ts +0 -1
  970. package/dist/test/unit/generateGenericSchema/generateGenericSchemaLRV2.test.d.ts +0 -1
  971. package/dist/test/unit/generateGenericSchema/generateGenericSchemaLRV4.test.d.ts +0 -1
  972. package/dist/test/unit/generateGenericSchema/generateGenericSchemaOPV2.test.d.ts +0 -1
  973. package/dist/test/unit/generateGenericSchema/generateGenericSchemaOPV4.test.d.ts +0 -1
  974. package/dist/test/unit/generateGenericSchema/generateI18nV2.test.d.ts +0 -1
  975. package/dist/test/unit/generateGenericSchema/generateI18nV4.test.d.ts +0 -1
  976. package/dist/test/unit/generateGenericSchema/genericSchemas.test.d.ts +0 -1
  977. package/dist/test/unit/import/fragment.test.d.ts +0 -1
  978. package/dist/test/unit/import/importALPV2.test.d.ts +0 -1
  979. package/dist/test/unit/import/importALPV4.test.d.ts +0 -1
  980. package/dist/test/unit/import/importAppV2.test.d.ts +0 -1
  981. package/dist/test/unit/import/importAppV4.test.d.ts +0 -1
  982. package/dist/test/unit/import/importFPV4.test.d.ts +0 -1
  983. package/dist/test/unit/import/importLRPV2.test.d.ts +0 -1
  984. package/dist/test/unit/import/importLRPV4.test.d.ts +0 -1
  985. package/dist/test/unit/import/importOPV2.test.d.ts +0 -1
  986. package/dist/test/unit/import/importOPV4.test.d.ts +0 -1
  987. package/dist/test/unit/import/importOVPV2.test.d.ts +0 -1
  988. package/dist/test/unit/index.test.d.ts +0 -1
  989. package/dist/test/unit/projects.test.d.ts +0 -1
  990. package/dist/test/unit/schemaAccess.test.d.ts +0 -1
  991. package/dist/test/unit/utils.test.d.ts +0 -1
  992. package/dist/test/unit/view-controller-generator.test.d.ts +0 -1
@@ -1,1238 +0,0 @@
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
- const i18next_1 = __importDefault(require("i18next"));
7
- const deepmerge_1 = __importDefault(require("deepmerge"));
8
- const v4_1 = require("../../specification/v4");
9
- const v2_1 = require("../../specification/v2");
10
- const types_1 = require("./types");
11
- const annotation_converter_1 = require("@sap-ux/annotation-converter");
12
- const edmx_parser_1 = require("@sap-ux/edmx-parser");
13
- const common_1 = require("../../specification/common");
14
- const schemaAccess_1 = require("../../specification/schemaAccess");
15
- const extensionLogger_1 = require("../../extensionLogger");
16
- var TemplateType;
17
- (function (TemplateType) {
18
- TemplateType["ListReportObjectPageV2"] = "ListReportObjectPageV2";
19
- TemplateType["ListReportObjectPageV4"] = "ListReportObjectPageV4";
20
- TemplateType["OverviewPageV2"] = "OverviewPageV2";
21
- TemplateType["AnalyticalListPageV2"] = "AnalyticalListPageV2";
22
- TemplateType["AnalyticalListPageV4"] = "AnalyticalListPageV4";
23
- TemplateType["FreestylePageV4"] = "FreestylePageV4";
24
- })(TemplateType = exports.TemplateType || (exports.TemplateType = {}));
25
- exports.DEFINITION_LINK_PREFIX = '#/definitions/';
26
- /**
27
- * Function returns annotation path for schema based on received params.
28
- * @param entityTypeName - Entity type name.
29
- * @param term - Annotation term.
30
- * @param qualifier - Annotation qualifier.
31
- * @returns Annotation path based on received params
32
- */
33
- exports.createAnnotationPath = (entityTypeName, term, qualifier) => {
34
- let annotationPath = `/${entityTypeName}/@${term}`;
35
- if (qualifier) {
36
- annotationPath += `#${qualifier}`;
37
- }
38
- return annotationPath;
39
- };
40
- /**
41
- * Parses, merges, and converts a list of annotation files with aid of tools from annotation-vocabularies-tools
42
- * @param annotationFiles - The list of all annotation files, in JSON format
43
- * @returns the complete service information
44
- */
45
- function parseAndMergeAndConvert(annotationFiles, logger) {
46
- const parseResult = [];
47
- let converterOutput;
48
- try {
49
- if (annotationFiles) {
50
- annotationFiles.forEach(function (annotationData) {
51
- parseResult.push(edmx_parser_1.parse(annotationData.fileContent, annotationData.dataSourceUri));
52
- });
53
- }
54
- if (parseResult.length > 0) {
55
- converterOutput = annotation_converter_1.convert(edmx_parser_1.merge(...parseResult));
56
- }
57
- if (logger && (converterOutput === null || converterOutput === void 0 ? void 0 : converterOutput.diagnostics)) {
58
- for (const converterMessage of converterOutput.diagnostics) {
59
- extensionLogger_1.log(logger, {
60
- severity: "error" /* Error */,
61
- message: converterMessage.message
62
- });
63
- }
64
- }
65
- }
66
- catch (error) {
67
- extensionLogger_1.log(logger, {
68
- severity: "error" /* Error */,
69
- message: i18next_1.default.t('ANNOERR')
70
- }, ...error);
71
- }
72
- return converterOutput;
73
- }
74
- exports.parseAndMergeAndConvert = parseAndMergeAndConvert;
75
- exports.getAnnotationPropertyValue = (annotationProperty) => (annotationProperty === null || annotationProperty === void 0 ? void 0 : annotationProperty.value) || (annotationProperty === null || annotationProperty === void 0 ? void 0 : annotationProperty.path);
76
- /**
77
- * Checks for Common.Label and overwrites the label from it if present
78
- * @param {PropertyAnnotations} annotations - property annotations
79
- * @param {EntityType} entityType - entity type
80
- * @param {string} label - label, to be actualized
81
- */
82
- function evaluateCommonLabel(annotations, entityType, label) {
83
- var _a, _b, _c, _d;
84
- if ((_a = annotations === null || annotations === void 0 ? void 0 : annotations.Common) === null || _a === void 0 ? void 0 : _a.Label) {
85
- if (typeof annotations.Common.Label === 'string') {
86
- label = annotations.Common.Label;
87
- }
88
- else if (annotations.Common.Label['type'] === 'Path') {
89
- const targetProperty = entityType.resolvePath(annotations.Common.Label['path']);
90
- if (targetProperty.value) {
91
- label = targetProperty.value;
92
- }
93
- else if (typeof ((_b = targetProperty.Common) === null || _b === void 0 ? void 0 : _b.Label) === 'string') {
94
- label = targetProperty.annotations.Common.Label;
95
- }
96
- }
97
- else if (typeof ((_d = (_c = annotations.Common) === null || _c === void 0 ? void 0 : _c.Label) === null || _d === void 0 ? void 0 : _d.toString()) === 'string') {
98
- label = annotations.Common.Label.toString();
99
- }
100
- }
101
- return label;
102
- }
103
- exports.evaluateCommonLabel = evaluateCommonLabel;
104
- /**
105
- * Determines the label for a property path
106
- * @param {PropertyPath} propertyPath - property path
107
- * @param {EntityType} entityType - entity type
108
- * @returns label, derived from Common.Label or from property value
109
- */
110
- function getLabelForPropertyPath(propertyPath, entityType) {
111
- let label = propertyPath.value;
112
- if (propertyPath.$target) {
113
- label = evaluateCommonLabel(propertyPath.$target.annotations, entityType, label);
114
- }
115
- return label;
116
- }
117
- exports.getLabelForPropertyPath = getLabelForPropertyPath;
118
- /**
119
- * Determines the label for a LineItem record
120
- * @param {DataFieldAbstractType} field - Line item record
121
- * @param {EntityType} entityType - entity type
122
- * @returns label, derived from Common.Label or from property value
123
- */
124
- function getLabelForDataField(field, entityType) {
125
- var _a, _b;
126
- let label, property;
127
- if (field['Value']) {
128
- if (typeof field['Value'] === 'string') {
129
- property = entityType.entityProperties.find((ep) => ep.name === field['Value']);
130
- }
131
- else {
132
- property = entityType.resolvePath(field['Value'].path);
133
- if (!property) {
134
- property = field['Value'].$target;
135
- }
136
- }
137
- }
138
- else if (field['Target'] && field['Target'].$target && field['Target'].$target.Value) {
139
- property = field['Target'].$target.Value.$target;
140
- }
141
- if ((_b = (_a = property === null || property === void 0 ? void 0 : property.annotations) === null || _a === void 0 ? void 0 : _a.Common) === null || _b === void 0 ? void 0 : _b.Label) {
142
- label = evaluateCommonLabel(property.annotations, entityType, label);
143
- }
144
- return label;
145
- }
146
- exports.getLabelForDataField = getLabelForDataField;
147
- /**
148
- * Function to resolve the dataField label
149
- * @param dataFieldLabel - Given dataField label; might be of type string, or an object in case of a path reference
150
- * @param entityType - the entity type as part of the AVT ConvertedMetadata
151
- * @returns undefined or the right string value
152
- */
153
- function getLabel(dataFieldLabel, entityType) {
154
- var _a, _b;
155
- if (typeof dataFieldLabel === 'string') {
156
- return dataFieldLabel;
157
- }
158
- else if (typeof dataFieldLabel === 'object' && dataFieldLabel.path) {
159
- const property = entityType.resolvePath(dataFieldLabel.path);
160
- if (!property || property.length === 0) {
161
- return undefined;
162
- }
163
- else {
164
- const singleProperty = property[0];
165
- if ((_b = (_a = singleProperty === null || singleProperty === void 0 ? void 0 : singleProperty.annotations) === null || _a === void 0 ? void 0 : _a.Common) === null || _b === void 0 ? void 0 : _b.Label) {
166
- const label = dataFieldLabel;
167
- return evaluateCommonLabel(singleProperty.annotations, entityType, label);
168
- }
169
- }
170
- }
171
- else {
172
- return undefined;
173
- }
174
- }
175
- function getTitleForDataField(dataField, entityType, dataFieldLabel) {
176
- const propertyCommonLabel = getLabelForDataField(dataField, entityType);
177
- return (dataFieldLabel ||
178
- propertyCommonLabel ||
179
- (dataField.Value.$target ? dataField.Value.$target.name : dataField.Value.value || dataField.Value.path));
180
- }
181
- /**
182
- * Determines the description of a data field, e.g. for the column header
183
- * @param dataFieldAbstract - the given record of the line item annotation
184
- * @param entityType - the entity type as part of the AVT ConvertedMetadata
185
- */
186
- function getDataFieldDescription(dataFieldAbstract, entityType) {
187
- let title = '', propertyCommonLabel, dataField;
188
- const dataFieldLabel = getLabel(dataFieldAbstract.Label, entityType);
189
- switch (dataFieldAbstract.$Type) {
190
- case "com.sap.vocabularies.UI.v1.DataField" /* DataField */:
191
- dataField = dataFieldAbstract;
192
- title = getTitleForDataField(dataField, entityType, dataFieldLabel);
193
- break;
194
- case "com.sap.vocabularies.UI.v1.DataFieldWithUrl" /* DataFieldWithUrl */:
195
- dataField = dataFieldAbstract;
196
- propertyCommonLabel = getLabelForDataField(dataFieldAbstract, entityType);
197
- title =
198
- dataFieldLabel ||
199
- propertyCommonLabel ||
200
- (typeof dataField.Value === 'string' ? dataField.Value : dataField.Value.path);
201
- break;
202
- case "com.sap.vocabularies.UI.v1.DataFieldForAnnotation" /* DataFieldForAnnotation */:
203
- dataField = dataFieldAbstract;
204
- propertyCommonLabel = getLabelForDataField(dataFieldAbstract, entityType);
205
- title = dataFieldLabel || propertyCommonLabel || dataField.Target.$target.Title || dataField.Target.value;
206
- break;
207
- case "com.sap.vocabularies.UI.v1.DataFieldForAction" /* DataFieldForAction */:
208
- case "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* DataFieldForIntentBasedNavigation */:
209
- dataField = dataFieldAbstract;
210
- if (dataFieldLabel) {
211
- title = typeof dataFieldLabel === 'string' ? dataFieldLabel : dataField.Action;
212
- }
213
- else {
214
- title = dataFieldAbstract.Action;
215
- }
216
- break;
217
- case "com.sap.vocabularies.UI.v1.DataFieldWithIntentBasedNavigation" /* DataFieldWithIntentBasedNavigation */:
218
- dataField = dataFieldAbstract;
219
- propertyCommonLabel = getLabelForDataField(dataFieldAbstract, entityType);
220
- title = propertyCommonLabel || dataField.Value.path;
221
- break;
222
- case "com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath" /* DataFieldWithNavigationPath */:
223
- dataField = dataFieldAbstract;
224
- title = getTitleForDataField(dataField, entityType, dataFieldLabel);
225
- break;
226
- default:
227
- break;
228
- }
229
- return title;
230
- }
231
- exports.getDataFieldDescription = getDataFieldDescription;
232
- /**
233
- * Prepare string for reference use in schema
234
- * @param refInput string to be character checked and replaced
235
- * @returns string with replaced characters
236
- */
237
- function prepareRef(refInput) {
238
- return refInput.replace('#', '::').replace(/\//g, ':2f');
239
- }
240
- exports.prepareRef = prepareRef;
241
- /**
242
- * Return the page type for a given V2 page in manifest
243
- * @param name - page component name
244
- */
245
- function getPageTypeV2(name) {
246
- if (name) {
247
- const templatePart = `${v2_1.FE_TEMPLATE_V2}.`;
248
- return name.split(templatePart)[1];
249
- }
250
- }
251
- exports.getPageTypeV2 = getPageTypeV2;
252
- /**
253
- * Return the page type for a given V4 page in manifest
254
- * @param name - page component name
255
- */
256
- function getPageTypeV4(v4App) {
257
- var _a;
258
- if (v4App.name && v4App.name !== v4_1.FE_TEMPLATE_V4_CUSTOM_PAGE) {
259
- const templatePart = `${v4_1.FE_TEMPLATE_V4}.`;
260
- return v4App.name.split(templatePart)[1];
261
- }
262
- else if (((_a = v4App) === null || _a === void 0 ? void 0 : _a.name) === v4_1.FE_TEMPLATE_V4_CUSTOM_PAGE ||
263
- v4App.viewId ||
264
- v4App.viewName) {
265
- return common_1.PageTypeV4.CustomPage;
266
- }
267
- }
268
- exports.getPageTypeV4 = getPageTypeV4;
269
- function getTargetAnnotationName(targetAnnotation, keyForRelatedFacetKeys = false) {
270
- const termWithQualifier = `${targetAnnotation.term}#${targetAnnotation.qualifier}`;
271
- return `${!keyForRelatedFacetKeys ? '@' : ''}${targetAnnotation.qualifier ? termWithQualifier : targetAnnotation.term}`;
272
- }
273
- /**
274
- * Finds the alias for a given namespace in the references' section of the converted service metadata
275
- * @param {string} namespace - complete namespace, e.g. 'com.sap.vocabularies.UI.v1'
276
- * @param {ConvertedMetadata} oDataServiceAVT - combined service metadata, as returned by annotation vocabularies tools
277
- * @returns alias for the given namespace
278
- */
279
- function findAlias(namespace, oDataServiceAVT) {
280
- let aliasReference = oDataServiceAVT.references.find((reference) => {
281
- return reference.namespace === namespace;
282
- });
283
- if (!aliasReference) {
284
- aliasReference = oDataServiceAVT.references.find((reference) => {
285
- return reference.alias === namespace;
286
- });
287
- }
288
- if (!aliasReference) {
289
- aliasReference = oDataServiceAVT.references.find((reference) => {
290
- return (reference.alias.toUpperCase() ===
291
- namespace.split('SAP__')[namespace.split('SAP__').length - 1].toUpperCase());
292
- });
293
- }
294
- return aliasReference === null || aliasReference === void 0 ? void 0 : aliasReference.alias;
295
- }
296
- exports.findAlias = findAlias;
297
- /**
298
- * Determines the target annotation
299
- * @param navigationParts - parts of the target annotation path
300
- * @param entityType - entity type
301
- * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
302
- * @returns the target annotation
303
- */
304
- function determineTargetAnnotation(navigationParts, entityType, oDataServiceAVT) {
305
- var _a;
306
- const lastNavigationPart = navigationParts[navigationParts.length - 1];
307
- const annotation = lastNavigationPart.substring(lastNavigationPart.lastIndexOf('.') + 1, lastNavigationPart.length);
308
- const alias = findAlias(lastNavigationPart.substring(0, lastNavigationPart.lastIndexOf('.')).replace('@', ''), oDataServiceAVT);
309
- return (_a = entityType === null || entityType === void 0 ? void 0 : entityType.annotations[alias]) === null || _a === void 0 ? void 0 : _a[annotation];
310
- }
311
- /**
312
- * Adjust key by considering navigation
313
- * @param key - given key
314
- * @param keyForRelatedFacetKeys - construct key for 'keyForRelatedFacetKeys' property(used to define custom sections) - we should not add '@' symbol there.
315
- * @param navigationParts - parts of the target annotation path
316
- */
317
- function adjustKey(key, navigationParts, keyForRelatedFacetKeys) {
318
- const uiClass = navigationParts[navigationParts.length - 1].split('#')[0];
319
- if (uiClass.includes('.LineItem')) {
320
- const pathParts = key.split('::');
321
- pathParts[pathParts.length - 1] = `${!keyForRelatedFacetKeys ? '@' : ''}${"com.sap.vocabularies.UI.v1.LineItem" /* LineItem */}`;
322
- key = pathParts.join('::');
323
- }
324
- else {
325
- key = uiClass.replace('@UI', `${!keyForRelatedFacetKeys ? '@' : ''}com.sap.vocabularies.UI.v1`);
326
- }
327
- return key;
328
- }
329
- function getKeyAndEntityTypeOfReferenceFacet(oDataServiceAVT, key, entityType, propertyValue, oDataVersion = common_1.FioriElementsVersion.v2, keyForRelatedFacetKeys = false) {
330
- var _a;
331
- let stopProcessing = false;
332
- const navigationParts = propertyValue.split('/');
333
- const navigation = navigationParts.length > 1;
334
- if (navigation) {
335
- entityType = (_a = entityType.resolvePath(propertyValue.substring(0, propertyValue.lastIndexOf('/')))) === null || _a === void 0 ? void 0 : _a.targetType;
336
- }
337
- key = adjustKey(key, navigationParts, keyForRelatedFacetKeys);
338
- const targetAnnotation = determineTargetAnnotation(navigationParts, entityType, oDataServiceAVT);
339
- if (targetAnnotation) {
340
- const separator = oDataVersion === common_1.FioriElementsVersion.v2 ? '::' : '#';
341
- key = getTargetAnnotationName(targetAnnotation, keyForRelatedFacetKeys).replace('#', separator);
342
- }
343
- else {
344
- stopProcessing = true;
345
- return { key, entityType, stopProcessing };
346
- }
347
- if (navigation) {
348
- const navSeparator = oDataVersion === common_1.FioriElementsVersion.v2 ? '::' : '/';
349
- navigationParts.pop();
350
- const navigationIDs = [...navigationParts].join(navSeparator);
351
- key = `${navigationIDs}${navSeparator}${key}`;
352
- }
353
- return { key, entityType, stopProcessing };
354
- }
355
- /**
356
- * Resolve page section(get key and label->description).
357
- * @param facetDefinition - the actual annotation record
358
- * @param keyForRelatedFacetKeys - construct key for 'keyForRelatedFacetKeys' property(used to define custom sections) - we should not add '@' symbol there.
359
- * @param {FioriElementsVersion} oDataVersion - OData version
360
- * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
361
- * @param {ExtensionLogger} logger - Logger class for logging messages
362
- * @returns {FacetSection} - object comprising the relevant facet information
363
- */
364
- function getSectionFacet(facetDefinition, sourceEntityType, oDataServiceAVT, logger, oDataVersion = common_1.FioriElementsVersion.v2, keyForRelatedFacetKeys = false) {
365
- //Take facet ID as fallback
366
- const facetName = facetDefinition.fullyQualifiedName.substring(facetDefinition.fullyQualifiedName.lastIndexOf('@'));
367
- let key = facetDefinition.ID ? facetDefinition.ID.toString() : facetName;
368
- let entityType = sourceEntityType; //default
369
- //If reference facet: overwrite with target annotation if present
370
- if (facetDefinition.$Type !== "com.sap.vocabularies.UI.v1.CollectionFacet" /* CollectionFacet */ && 'Target' in facetDefinition) {
371
- const propertyValue = exports.getAnnotationPropertyValue(facetDefinition.Target);
372
- if (!propertyValue) {
373
- extensionLogger_1.log(logger, {
374
- severity: "error" /* Error */,
375
- message: i18next_1.default.t('NOTARGET', { target: facetDefinition.Target })
376
- });
377
- return;
378
- }
379
- const { key: newKey, entityType: newEntityType, stopProcessing } = getKeyAndEntityTypeOfReferenceFacet(oDataServiceAVT, key, entityType, propertyValue, oDataVersion, keyForRelatedFacetKeys);
380
- if (stopProcessing) {
381
- return;
382
- }
383
- key = newKey;
384
- entityType = newEntityType;
385
- }
386
- key = key.replace(/\//gi, '::');
387
- return key
388
- ? Object.assign(Object.assign(Object.assign({ key }, (facetDefinition.Label && { label: facetDefinition.Label.toString() })), (facetDefinition.ID && { ID: facetDefinition.ID.toString() })), { entityType }) : undefined;
389
- }
390
- exports.getSectionFacet = getSectionFacet;
391
- /**
392
- * Finds the alias for a given namespace in the references' section of the converted service metadata.
393
- * An empty object is created if the path element does not exist yet.
394
- * Exception: if an empty array is the next element of the 'path' definition, an empty array is created instead of an empty object.
395
- * @param {object} manifest - manifest that is being modified during export
396
- * @param {string} path - path of the property in the manifest
397
- * @param {string} targetAnnotation - target annotation (optional)
398
- * @param {string} targetAnnotationEncoded - target annotation in its encoded form, as used in manifest settings
399
- * @param {boolean} importScenario - indicates if the function is called for the import, else it is the export
400
- * @returns returns section of the manifest based on path, generates an empty object in case it does not exists
401
- */
402
- exports.getManifestSectionByPathV4 = (manifest, path, targetAnnotation, targetAnnotationEncoded) => {
403
- if (!path) {
404
- return undefined;
405
- }
406
- let manifestSection = manifest;
407
- const pathElements = path.split('/');
408
- for (let index = 0; index < pathElements.length; index++) {
409
- const element = pathElements[index];
410
- if (element === '[]') {
411
- continue;
412
- }
413
- const decodedElement = targetAnnotationEncoded && targetAnnotationEncoded === element
414
- ? targetAnnotation
415
- : element.replace('??', '/');
416
- //?? can be used in path functions to encode /
417
- if (!manifestSection[decodedElement]) {
418
- if (pathElements[index + 1] === '[]') {
419
- manifestSection[decodedElement] = [];
420
- }
421
- else {
422
- manifestSection[decodedElement] = {};
423
- }
424
- }
425
- manifestSection = manifestSection[decodedElement];
426
- }
427
- return manifestSection;
428
- };
429
- function getSchemaKeyOfLineItemRecord(lineItemRecord) {
430
- let schemaKey, target, value;
431
- switch (lineItemRecord.$Type) {
432
- case "com.sap.vocabularies.UI.v1.DataField" /* DataField */:
433
- schemaKey = exports.getAnnotationPropertyValue(lineItemRecord.Value);
434
- break;
435
- case "com.sap.vocabularies.UI.v1.DataFieldWithUrl" /* DataFieldWithUrl */:
436
- schemaKey =
437
- typeof lineItemRecord.Value === 'string'
438
- ? lineItemRecord.Value
439
- : exports.getAnnotationPropertyValue(lineItemRecord.Value);
440
- break;
441
- case "com.sap.vocabularies.UI.v1.DataFieldForAnnotation" /* DataFieldForAnnotation */:
442
- target = lineItemRecord.Target.value;
443
- if (target) {
444
- schemaKey =
445
- 'DataFieldForAnnotation:::sTarget::' +
446
- target
447
- .replace('@UI', '@com.sap.vocabularies.UI.v1')
448
- .replace('@Communication', '@com.sap.vocabularies.Communication.v1')
449
- .replace('@Contact', '@com.sap.vocabularies.Contact.v1');
450
- }
451
- break;
452
- case "com.sap.vocabularies.UI.v1.DataFieldForAction" /* DataFieldForAction */:
453
- if (lineItemRecord.Inline) {
454
- schemaKey = `DataFieldForAction:::sAction::${prepareRef(lineItemRecord.Action)}`;
455
- }
456
- break;
457
- case "com.sap.vocabularies.UI.v1.DataFieldWithIntentBasedNavigation" /* DataFieldWithIntentBasedNavigation */:
458
- value = exports.getAnnotationPropertyValue(lineItemRecord.Value);
459
- schemaKey = `DataFieldWithIntentBasedNavigation:::sProperty::${value}:::sSemanticObject::${lineItemRecord.SemanticObject}:::sAction::${lineItemRecord.Action}`;
460
- break;
461
- case "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* DataFieldForIntentBasedNavigation */:
462
- if (lineItemRecord.Inline) {
463
- schemaKey = `DataFieldForIntentBasedNavigation:::sSemanticObject::${lineItemRecord.SemanticObject}:::sAction::${prepareRef(lineItemRecord.Action)}`;
464
- }
465
- break;
466
- case "com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath" /* DataFieldWithNavigationPath */:
467
- value = exports.getAnnotationPropertyValue(lineItemRecord.Value);
468
- target = exports.getAnnotationPropertyValue(lineItemRecord.Target);
469
- schemaKey = 'DataFieldWithNavigationPath:::sProperty::' + value + ':::sTarget::' + target;
470
- break;
471
- default:
472
- break;
473
- }
474
- return schemaKey;
475
- }
476
- exports.getSchemaKeyOfLineItemRecord = getSchemaKeyOfLineItemRecord;
477
- /**
478
- * Determines if type of given annotation term is of UIAnnotationTerm
479
- * @param {string} path path in manifest
480
- * @param {string} alias for a given namespace
481
- * @param {EntityType} entityType - the entity type
482
- * @returns UI annotation term type
483
- */
484
- function getUIAnnotationTerm(path, alias, entityType) {
485
- if (path.includes("com.sap.vocabularies.UI.v1.Chart" /* Chart */) || path.includes(alias + '.Chart')) {
486
- return "com.sap.vocabularies.UI.v1.Chart" /* Chart */;
487
- }
488
- else if (path.includes("com.sap.vocabularies.UI.v1.Identification" /* Identification */) || path.includes(alias + '.Identification')) {
489
- return "com.sap.vocabularies.UI.v1.Identification" /* Identification */;
490
- }
491
- else if ((entityType && path.includes("com.sap.vocabularies.UI.v1.LineItem" /* LineItem */)) || path.includes(alias + '.LineItem')) {
492
- return "com.sap.vocabularies.UI.v1.LineItem" /* LineItem */;
493
- }
494
- else if (path.includes("com.sap.vocabularies.UI.v1.FieldGroup" /* FieldGroup */) || path.includes(alias + '.FieldGroup')) {
495
- return "com.sap.vocabularies.UI.v1.FieldGroup" /* FieldGroup */;
496
- }
497
- else if (path.includes("com.sap.vocabularies.UI.v1.DataPoint" /* DataPoint */) || path.includes(alias + '.DataPoint')) {
498
- return "com.sap.vocabularies.UI.v1.DataPoint" /* DataPoint */;
499
- }
500
- else if (path.includes("com.sap.vocabularies.UI.v1.PresentationVariant" /* PresentationVariant */) || path.includes(alias + '.PresentationVariant')) {
501
- return "com.sap.vocabularies.UI.v1.PresentationVariant" /* PresentationVariant */;
502
- }
503
- else {
504
- return undefined;
505
- }
506
- }
507
- /**
508
- * Determines if type of given annotation term is of CommunicationAnnotationTerm
509
- * @param {string} path path in manifest
510
- * @param {string} alias for a given namespace
511
- * @param {EntityType} entityType - the entity type
512
- * @returns Communication annotation term type
513
- */
514
- function getCommunicationAnnotationTerm(path, alias) {
515
- if (path.includes('com.sap.vocabularies.Communication.v1.Contact') || path.includes(alias + '.Contact')) {
516
- return "com.sap.vocabularies.Communication.v1.Contact" /* Contact */;
517
- }
518
- else if (path.includes('com.sap.vocabularies.Communication.v1.Address') || path.includes(alias + '.Address')) {
519
- return "com.sap.vocabularies.Communication.v1.Address" /* Address */;
520
- }
521
- else {
522
- return undefined;
523
- }
524
- }
525
- /**
526
- * Determines the type of given annotation term
527
- * @param {string} path path in manifest
528
- * @param {string} alias for a given namespace
529
- * @param {EntityType} entityType - the entity type
530
- * @returns annotation term type
531
- */
532
- function getAnnotationTerm(path, alias, entityType) {
533
- return getUIAnnotationTerm(path, alias, entityType) || getCommunicationAnnotationTerm(path, alias);
534
- }
535
- /**
536
- * Evaluates the target annotation of a reference facet and actualizes the facets for the config
537
- * @param {AnnotationTerm} annotationRecord - the actual annotation record
538
- * @param {FacetConfigs} facets - list of facets in config format, to be updated
539
- * @param {EntityType} entityType - the entity type
540
- * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
541
- * @param {FioriElementsVersion} oDataVersion - OData version
542
- * @param {ExtensionLogger} logger - Logger class for logging messages
543
- */
544
- function evaluateTargetAnnotation(section, annotationRecord, facets, entityType, oDataServiceAVT, oDataVersion = common_1.FioriElementsVersion.v2, logger) {
545
- var _a, _b, _c, _d, _e, _f, _g, _h;
546
- const alias = findAlias(types_1.UIVOCABULARY, oDataServiceAVT);
547
- let path = section ? section.key : '';
548
- const targetEntityType = section.entityType;
549
- const annotationTerm = getAnnotationTerm(path, alias, entityType);
550
- let annotation, targetAnnotation;
551
- switch (annotationTerm) {
552
- case "com.sap.vocabularies.UI.v1.Chart" /* Chart */: {
553
- facets[path] = { base: types_1.FacetBase.Chart };
554
- facets[path].target = (_a = annotationRecord === null || annotationRecord === void 0 ? void 0 : annotationRecord.Target) === null || _a === void 0 ? void 0 : _a.$target;
555
- facets[path].entityType = targetEntityType;
556
- break;
557
- }
558
- case "com.sap.vocabularies.UI.v1.Identification" /* Identification */: {
559
- annotation = path.split('.')[path.split('.').length - 1];
560
- targetAnnotation = targetEntityType.annotations[alias][annotation];
561
- facets[path] = { base: types_1.FacetBase.Identification };
562
- facets[path].entityType = targetEntityType;
563
- facets[path].target = targetAnnotation;
564
- break;
565
- }
566
- case "com.sap.vocabularies.UI.v1.LineItem" /* LineItem */: {
567
- if (!path.includes("com.sap.vocabularies.UI.v1.LineItem" /* LineItem */) && path.includes('.LineItem')) {
568
- const pathParts = path.split('::');
569
- pathParts[pathParts.length - 1] = `@${"com.sap.vocabularies.UI.v1.LineItem" /* LineItem */}`;
570
- path = pathParts.join('::');
571
- }
572
- facets[path] = { base: types_1.FacetBase.LineItem };
573
- facets[path].target = (_b = annotationRecord === null || annotationRecord === void 0 ? void 0 : annotationRecord.Target) === null || _b === void 0 ? void 0 : _b.$target;
574
- facets[path].entityType = targetEntityType;
575
- break;
576
- }
577
- case "com.sap.vocabularies.UI.v1.FieldGroup" /* FieldGroup */: {
578
- facets[path] = { base: types_1.FacetBase.Form };
579
- facets[path].target = (_c = annotationRecord === null || annotationRecord === void 0 ? void 0 : annotationRecord.Target) === null || _c === void 0 ? void 0 : _c.$target;
580
- facets[path].entityType = targetEntityType;
581
- break;
582
- }
583
- case "com.sap.vocabularies.UI.v1.DataPoint" /* DataPoint */: {
584
- facets[path] = { base: types_1.FacetBase.DataPoint };
585
- facets[path].target = (_d = annotationRecord === null || annotationRecord === void 0 ? void 0 : annotationRecord.Target) === null || _d === void 0 ? void 0 : _d.$target;
586
- facets[path].entityType = targetEntityType;
587
- facets[path].Label = (_e = annotationRecord === null || annotationRecord === void 0 ? void 0 : annotationRecord.Target) === null || _e === void 0 ? void 0 : _e.$target['Title'];
588
- break;
589
- }
590
- case "com.sap.vocabularies.UI.v1.PresentationVariant" /* PresentationVariant */: {
591
- facets[path] = { base: types_1.FacetBase.PresentationVariant };
592
- facets[path].target = (_f = annotationRecord === null || annotationRecord === void 0 ? void 0 : annotationRecord.Target) === null || _f === void 0 ? void 0 : _f.$target;
593
- facets[path].entityType = targetEntityType;
594
- break;
595
- }
596
- case "com.sap.vocabularies.Communication.v1.Contact" /* Contact */: {
597
- facets[path] = { base: types_1.FacetBase.Contact };
598
- facets[path].target = (_g = annotationRecord === null || annotationRecord === void 0 ? void 0 : annotationRecord.Target) === null || _g === void 0 ? void 0 : _g.$target;
599
- facets[path].entityType = targetEntityType;
600
- break;
601
- }
602
- case "com.sap.vocabularies.Communication.v1.Address" /* Address */: {
603
- facets[path] = { base: types_1.FacetBase.Address };
604
- facets[path].target = (_h = annotationRecord === null || annotationRecord === void 0 ? void 0 : annotationRecord.Target) === null || _h === void 0 ? void 0 : _h.$target;
605
- facets[path].entityType = targetEntityType;
606
- break;
607
- }
608
- default: {
609
- facets[path] = { base: types_1.FacetBase.Unknown };
610
- }
611
- }
612
- if (facets[path]) {
613
- facets[path].annotationPath = `/${annotationRecord.fullyQualifiedName.replace('@com.sap.vocabularies', types_1.VOCWITHSLASH)}`;
614
- if (annotationRecord.Label) {
615
- facets[path].Label = annotationRecord.Label;
616
- }
617
- // Add Facet ID
618
- if (annotationRecord.ID) {
619
- facets[path]['ID'] = annotationRecord.ID;
620
- }
621
- else if (oDataVersion === common_1.FioriElementsVersion.v4) {
622
- extensionLogger_1.log(logger, {
623
- severity: "error" /* Error */,
624
- message: i18next_1.default.t('NOID4SECTION', { facet: annotationRecord.fullyQualifiedName })
625
- });
626
- }
627
- if (section && section.entityType) {
628
- facets[path].entityType = section.entityType;
629
- }
630
- }
631
- }
632
- /**
633
- * Adds the information from facets to the config
634
- * @param {AnnotationTerm} annotationRecord - the actual annotation record
635
- * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
636
- * @param {string} serviceName - name of the service of the app
637
- * @param {string} entityName - the entity (type) name
638
- * @param {FacetConfigs} facets - list of facets in config format, to be updated
639
- * @param {FioriElementsVersion} oDataVersion - OData version
640
- * @param {ExtensionLogger} logger - Logger class for logging messages
641
- */
642
- function addFacetToConfig(annotationRecord, oDataServiceAVT, serviceName, entityType, facets, oDataVersion = common_1.FioriElementsVersion.v2, logger) {
643
- var _a;
644
- const section = getSectionFacet(annotationRecord, entityType, oDataServiceAVT, logger, oDataVersion, false);
645
- if (section) {
646
- switch (annotationRecord.$Type) {
647
- case "com.sap.vocabularies.UI.v1.ReferenceFacet" /* ReferenceFacet */: {
648
- evaluateTargetAnnotation(section, annotationRecord, facets, entityType, oDataServiceAVT, oDataVersion, logger);
649
- break;
650
- }
651
- case "com.sap.vocabularies.UI.v1.CollectionFacet" /* CollectionFacet */: {
652
- const annotationPath = `/${entityType.fullyQualifiedName}/${annotationRecord.fullyQualifiedName.split(entityType.fullyQualifiedName)[1]}`;
653
- const facet = (facets[section.key] = {
654
- base: types_1.FacetBase.CollectionFacet,
655
- facets: {},
656
- ID: section.ID,
657
- annotationPath: annotationPath,
658
- Label: section.label
659
- });
660
- (_a = annotationRecord.Facets) === null || _a === void 0 ? void 0 : _a.forEach((collectionItem) => {
661
- addFacetToConfig(collectionItem, oDataServiceAVT, serviceName, entityType, facet.facets, oDataVersion, logger);
662
- });
663
- break;
664
- }
665
- }
666
- }
667
- }
668
- /**
669
- * Retrieve header facet configurations that can be used to generate ObjectPage schemas
670
- * @param {QualifiedName} entityTypeName - the name of the actual entity type
671
- * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
672
- * @param {FioriElementsVersion} oDataVersion - OData version
673
- * @param {ExtensionLogger} logger - Logger class for logging messages
674
- */
675
- function getObjectPageHeaderFacets(entityType, oDataServiceAVT, oDataVersion = common_1.FioriElementsVersion.v2, logger) {
676
- const facets = {};
677
- if (!entityType || !entityType.annotations) {
678
- return;
679
- }
680
- const alias = findAlias(types_1.UIVOCABULARY, oDataServiceAVT);
681
- const facetAnnotation = alias && entityType.annotations[alias] && entityType.annotations[alias].HeaderFacets;
682
- if (facetAnnotation) {
683
- const lastDot = entityType.fullyQualifiedName.lastIndexOf('.');
684
- const serviceName = entityType.fullyQualifiedName.substring(0, lastDot);
685
- // Add facets to configuration
686
- facetAnnotation.forEach((item) => {
687
- addFacetToConfig(item, oDataServiceAVT, serviceName, entityType, facets, oDataVersion, logger);
688
- });
689
- }
690
- return facets;
691
- }
692
- exports.getObjectPageHeaderFacets = getObjectPageHeaderFacets;
693
- /**
694
- * Retrieve facet configurations that can be used to generate ObjectPage schemas
695
- * @param {QualifiedName} entityTypeName - the name of the actual entity type
696
- * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
697
- * @param {FioriElementsVersion} oDataVersion - OData version
698
- * @param {ExtensionLogger} logger - Logger class for logging messages
699
- */
700
- function getObjectPageFacets(entityType, oDataServiceAVT, oDataVersion = common_1.FioriElementsVersion.v2, logger) {
701
- const facets = {};
702
- if (!entityType || !entityType.annotations) {
703
- return;
704
- }
705
- const alias = findAlias(types_1.UIVOCABULARY, oDataServiceAVT);
706
- const facetAnnotation = alias && entityType.annotations[alias] && entityType.annotations[alias].Facets;
707
- if (facetAnnotation) {
708
- const lastDot = entityType.fullyQualifiedName.lastIndexOf('.');
709
- const serviceName = entityType.fullyQualifiedName.substring(0, lastDot);
710
- // Add facets to configuration
711
- facetAnnotation.forEach((item) => {
712
- addFacetToConfig(item, oDataServiceAVT, serviceName, entityType, facets, oDataVersion, logger);
713
- });
714
- }
715
- return facets;
716
- }
717
- exports.getObjectPageFacets = getObjectPageFacets;
718
- /**
719
- * Returns the version of Fiori elements (v2/v4) from a given manifest
720
- * @param manifest - the manifest.json file
721
- */
722
- function getVersionFromManifest(manifest) {
723
- if (manifest[v4_1.ManifestSection.generic] || manifest[v4_1.ManifestSection.ovp]) {
724
- return common_1.FioriElementsVersion.v2;
725
- }
726
- else {
727
- return common_1.FioriElementsVersion.v4;
728
- }
729
- }
730
- exports.getVersionFromManifest = getVersionFromManifest;
731
- /**
732
- * Determines the template type of a V2 app
733
- * @param manifest - the manifest.json file
734
- * @param {ExtensionLogger} logger - Logger class for logging messages
735
- * @returns {TemplateType} the template type
736
- */
737
- function determineV2Template(manifest, logger) {
738
- let templateType;
739
- if (manifest[v4_1.ManifestSection.generic]) {
740
- const v2Pages = manifest[v4_1.ManifestSection.generic].pages;
741
- if (!v2Pages) {
742
- extensionLogger_1.log(logger, {
743
- severity: "error" /* Error */,
744
- message: i18next_1.default.t('NOPAGES', { appId: manifest['sap.app']['id'] }),
745
- location: {
746
- path: types_1.MANIFESTPATH,
747
- range: [v4_1.ManifestSection.generic]
748
- }
749
- });
750
- return;
751
- }
752
- for (const pageKey in v2Pages) {
753
- const v2Page = v2Pages[pageKey];
754
- if (getPageTypeV2(v2Page.component.name) === common_1.PageType.AnalyticalListPage) {
755
- templateType = TemplateType.AnalyticalListPageV2;
756
- break;
757
- }
758
- else if (getPageTypeV2(v2Page.component.name) === common_1.PageType.ListReport) {
759
- templateType = TemplateType.ListReportObjectPageV2;
760
- break;
761
- }
762
- }
763
- }
764
- else {
765
- if (!templateType) {
766
- extensionLogger_1.log(logger, {
767
- severity: "error" /* Error */,
768
- message: i18next_1.default.t('NOTEMPLATE', { section: v4_1.ManifestSection.generic }),
769
- location: {
770
- path: types_1.MANIFESTPATH,
771
- range: [v4_1.ManifestSection.generic]
772
- }
773
- });
774
- }
775
- }
776
- return templateType;
777
- }
778
- exports.determineV2Template = determineV2Template;
779
- /**
780
- * Determines the template type of a V4 app
781
- * @param manifest - the manifest.json file
782
- * @param {ExtensionLogger} logger - Logger class for logging messages
783
- * @returns {TemplateType} the template type
784
- */
785
- function determineV4Template(manifest, logger) {
786
- var _a, _b, _c, _d;
787
- let templateType;
788
- const v4Pages = manifest[v4_1.ManifestSection.ui5].routing &&
789
- manifest[v4_1.ManifestSection.ui5].routing.targets;
790
- if (!v4Pages) {
791
- extensionLogger_1.log(logger, {
792
- severity: "error" /* Error */,
793
- message: i18next_1.default.t('NOPAGES', { appId: manifest['sap.app']['id'] }),
794
- location: {
795
- path: types_1.MANIFESTPATH,
796
- range: [v4_1.ManifestSection.ui5, 'routing']
797
- }
798
- });
799
- return;
800
- }
801
- for (const pageKey in v4Pages) {
802
- const v4Page = v4Pages[pageKey];
803
- const pageType = getPageTypeV4(v4Page);
804
- if (pageType === common_1.PageTypeV4.AnalyticalListPage) {
805
- templateType = TemplateType.AnalyticalListPageV4;
806
- break;
807
- }
808
- else if (pageType === common_1.PageTypeV4.ListReport) {
809
- const viewPath = (_d = (_c = (_b = (_a = v4Page.options) === null || _a === void 0 ? void 0 : _a.settings) === null || _b === void 0 ? void 0 : _b.views) === null || _c === void 0 ? void 0 : _c.paths) === null || _d === void 0 ? void 0 : _d[0];
810
- if (viewPath && (viewPath[types_1.ALPViewType.Primary] || viewPath[types_1.ALPViewType.Secondary])) {
811
- templateType = TemplateType.AnalyticalListPageV4;
812
- }
813
- else {
814
- templateType = TemplateType.ListReportObjectPageV4;
815
- }
816
- break;
817
- }
818
- else if (pageType === common_1.PageTypeV4.ObjectPage) {
819
- templateType = TemplateType.ListReportObjectPageV4;
820
- //fixed now for FEOP scenario, bit continue to check if LR/ALP exists
821
- }
822
- else if (pageType === common_1.PageTypeV4.CustomPage) {
823
- templateType = TemplateType.FreestylePageV4;
824
- break;
825
- }
826
- }
827
- if (!templateType) {
828
- extensionLogger_1.log(logger, {
829
- severity: "error" /* Error */,
830
- message: i18next_1.default.t('NOTEMPLATE', { section: v4_1.ManifestSection.ui5 }),
831
- location: {
832
- path: types_1.MANIFESTPATH,
833
- range: [v4_1.ManifestSection.ui5, 'routing', 'targets']
834
- }
835
- });
836
- }
837
- return templateType;
838
- }
839
- exports.determineV4Template = determineV4Template;
840
- /**
841
- * Determines the template type, based on the given manifest entries of the app
842
- * @param manifest - the manifest.json file
843
- * @param {FioriElementsVersion} fioriElementsVersion - OData or FE version
844
- * @param {ExtensionLogger} logger - Logger class for logging messages
845
- * @returns {TemplateType} the template type
846
- */
847
- function getTemplateTypeFromManifest(manifest, fioriElementsVersion, logger) {
848
- let templateType;
849
- if (manifest[v4_1.ManifestSection.ovp]) {
850
- templateType = TemplateType.OverviewPageV2;
851
- }
852
- else if (fioriElementsVersion === common_1.FioriElementsVersion.v2) {
853
- templateType = determineV2Template(manifest, logger);
854
- }
855
- else if (fioriElementsVersion === common_1.FioriElementsVersion.v4) {
856
- templateType = determineV4Template(manifest, logger);
857
- }
858
- else {
859
- if (!templateType) {
860
- extensionLogger_1.log(logger, {
861
- severity: "error" /* Error */,
862
- message: i18next_1.default.t('NOFE'),
863
- location: {
864
- path: types_1.MANIFESTPATH
865
- }
866
- });
867
- }
868
- }
869
- return templateType;
870
- }
871
- exports.getTemplateTypeFromManifest = getTemplateTypeFromManifest;
872
- /**
873
- * Adds title and description to a section or header section in an app schema
874
- * @param facet - intermediate facet structure comprising annotation information
875
- * @param section - section in the app schema
876
- * @param facetKey - key of the facet
877
- */
878
- function addSectionTitleAndDescription(facet, section, facetKey) {
879
- if (facet === null || facet === void 0 ? void 0 : facet.ID) {
880
- section.title = types_1.FacetTitlePrefix + facet.ID;
881
- }
882
- else {
883
- section.title = facetKey.replace(/@com.sap/g, 'com.sap');
884
- }
885
- // Description
886
- if (facet === null || facet === void 0 ? void 0 : facet.Label) {
887
- section.description = facet.Label;
888
- }
889
- else if (facet === null || facet === void 0 ? void 0 : facet.ID) {
890
- section.description = facet.ID;
891
- }
892
- else {
893
- section.description = facetKey.substring(facetKey.lastIndexOf('.') + 1);
894
- }
895
- }
896
- exports.addSectionTitleAndDescription = addSectionTitleAndDescription;
897
- /**
898
- * Adds target title or description to a section or header section in an app schema
899
- * @param facet - intermediate facet structure comprising annotation information
900
- * @param section - section in the app schema
901
- * @param facetKey - key of the facet
902
- */
903
- function addTargetTitleAndSectionDescription(facet, section, facetKey) {
904
- var _a;
905
- addSectionTitleAndDescription(facet, section, facetKey);
906
- if (facet === null || facet === void 0 ? void 0 : facet.Label) {
907
- section.description = facet === null || facet === void 0 ? void 0 : facet.Label;
908
- }
909
- else if (facet === null || facet === void 0 ? void 0 : facet['Title']) {
910
- section.description = facet['Title'];
911
- }
912
- else if ((_a = facet === null || facet === void 0 ? void 0 : facet.target) === null || _a === void 0 ? void 0 : _a['Title']) {
913
- section.description = facet.target['Title'];
914
- }
915
- }
916
- exports.addTargetTitleAndSectionDescription = addTargetTitleAndSectionDescription;
917
- /**
918
- * Creates a default object for a new section or subsection, and adds the ID as title if present.
919
- * @param facet Facet configuration, to be analyzed
920
- * @returns the new section object
921
- */
922
- function createDefaultSection(appSchema, facet, facetKey) {
923
- if (!facet) {
924
- return undefined;
925
- }
926
- let section;
927
- if (appSchema.definitions.ObjectPageSection) {
928
- //base type in V2, with properties
929
- section = JSON.parse(JSON.stringify(appSchema.definitions.ObjectPageSection));
930
- }
931
- else {
932
- section = {
933
- type: 'object',
934
- properties: {},
935
- additionalProperties: false
936
- };
937
- section[types_1.SchemaTag.isViewNode] = true;
938
- }
939
- section[types_1.SchemaTag.annotationPath] = facet.annotationPath;
940
- addSectionTitleAndDescription(facet, section, facetKey);
941
- return section;
942
- }
943
- exports.createDefaultSection = createDefaultSection;
944
- /**
945
- * Retrieve page section data(so far id/key and label/description).
946
- * @param {EntityType} entityType The actual entityType
947
- * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
948
- * @param {ExtensionLogger} logger - Logger class for logging messages
949
- * @param {FioriElementsVersion} oDataVersion - OData version
950
- * @param {boolean} [checkUnresolvableFacets=false] - Check and avoid facets and sections without ID and Target.
951
- * @returns {FacetSection[]} - Array of facets or sections
952
- */
953
- function getObjectPageFacetSection(entityType, oDataServiceAVT, logger, oDataVersion = common_1.FioriElementsVersion.v2, checkUnresolvableFacets = false) {
954
- const alias = findAlias(types_1.UIVOCABULARY, oDataServiceAVT);
955
- let sections = [];
956
- if (entityType) {
957
- const facetAnnotation = alias && entityType.annotations && entityType.annotations[alias] && entityType.annotations[alias].Facets;
958
- if (facetAnnotation) {
959
- sections = facetAnnotation.reduce(function (result, item) {
960
- if (checkUnresolvableFacets && !item['ID'] && !('Target' in item && item['Target'])) {
961
- return result;
962
- }
963
- const section = getSectionFacet(item, entityType, oDataServiceAVT, logger, oDataVersion, true);
964
- if (section) {
965
- result.push(section);
966
- }
967
- return result;
968
- }, sections);
969
- }
970
- return sections;
971
- }
972
- }
973
- exports.getObjectPageFacetSection = getObjectPageFacetSection;
974
- /**
975
- * Cleans empty sub-structures from the export result for manifest
976
- * @param manifest - manifest.json part of the export result
977
- * @param path - path in the manifest
978
- * @param targetAnnotation - target annotation (optional, in case of sections, subsections)
979
- * @param targetAnnotationEncoded - encoded version of the target annotation, as represented in the manifest
980
- */
981
- exports.deleteEmptyStructure = (manifest, path, targetAnnotation, targetAnnotationEncoded) => {
982
- if (!path) {
983
- return;
984
- }
985
- let manifestSection = manifest;
986
- const pathArray = path.split('/');
987
- pathArray.forEach(function (element) {
988
- const decodedElement = targetAnnotationEncoded && targetAnnotationEncoded === element
989
- ? targetAnnotation
990
- : element.replace('??', '/');
991
- if (!manifestSection[decodedElement]) {
992
- return;
993
- }
994
- if (Object.keys(manifestSection[decodedElement]).length === 0) {
995
- if (Array.isArray(manifestSection)) {
996
- manifestSection.splice(Number(decodedElement), 1);
997
- }
998
- else {
999
- delete manifestSection[decodedElement];
1000
- }
1001
- pathArray.pop();
1002
- exports.deleteEmptyStructure(manifest, pathArray.join('/'), targetAnnotation, targetAnnotationEncoded);
1003
- return;
1004
- }
1005
- manifestSection = manifestSection && manifestSection[decodedElement];
1006
- });
1007
- };
1008
- /**
1009
- * Method which returns generic schema file name.
1010
- * @param {SchemaType | PageType} schemaType Schema type or Page type.
1011
- * @return {string} File name of generic schema.
1012
- */
1013
- const getGenericSchemaFileName = (schemaType) => {
1014
- if (schemaType === schemaAccess_1.SchemaType.FreestylePage) {
1015
- return common_1.PageType.CustomPage;
1016
- }
1017
- return `${schemaType}`;
1018
- };
1019
- /**
1020
- * Method which returns schema file name and path depending on passed schema or page type.
1021
- * @param {SchemaType | PageType} schemaType Schema type or Page type.
1022
- * @param {string} [entitySet] Entity set string.
1023
- * @return {SchemaFilePath} File path info.
1024
- */
1025
- exports.getSchemaFilePath = (schemaType, entitySet) => {
1026
- const schemaFile = {
1027
- filename: '',
1028
- path: ''
1029
- };
1030
- switch (schemaType) {
1031
- // Application schema
1032
- case schemaAccess_1.SchemaType.Application: {
1033
- // File name
1034
- schemaFile.filename = `App`;
1035
- // Full path
1036
- schemaFile.path = `./${types_1.DirName.Schemas}/${schemaFile.filename}`;
1037
- break;
1038
- }
1039
- // List report and object page
1040
- case schemaAccess_1.SchemaType.ListReport:
1041
- case schemaAccess_1.SchemaType.ObjectPage: {
1042
- // File name
1043
- schemaFile.filename = entitySet ? `${schemaType}_${entitySet}` : getGenericSchemaFileName(schemaType);
1044
- // Full path
1045
- schemaFile.path = `../${types_1.DirName.Schemas}/${schemaFile.filename}`;
1046
- break;
1047
- }
1048
- // Other page configs
1049
- default: {
1050
- // File name
1051
- schemaFile.filename = getGenericSchemaFileName(schemaType);
1052
- // Full path
1053
- schemaFile.path = `../${types_1.DirName.Schemas}/${schemaFile.filename}`;
1054
- break;
1055
- }
1056
- }
1057
- schemaFile.path += '.json';
1058
- return schemaFile;
1059
- };
1060
- /**
1061
- * Method which generates id of page according to passed parameters.
1062
- * @param appVersion - Fiori Elements version - V2 or V4.
1063
- * @param pageType - Page type.
1064
- * @param entitySet - Entity Set.
1065
- * @param viewId - Custom page's viewId (optional).
1066
- * @returns {string} Generated page id
1067
- */
1068
- function generatePageId(pageType, entitySet, viewId) {
1069
- if (pageType === common_1.PageType.CustomPage) {
1070
- const names = viewId && viewId.split('.');
1071
- return names && names[names.length - 1] + 'Page';
1072
- }
1073
- const parts = [];
1074
- parts.push(pageType);
1075
- if (entitySet) {
1076
- parts.push(entitySet);
1077
- }
1078
- return parts.join('_');
1079
- }
1080
- exports.generatePageId = generatePageId;
1081
- function fillArrayFromAnyOfReference(element, appSchema, currentConfigObject, definitionArray) {
1082
- const $ref = element.$ref;
1083
- if ($ref) {
1084
- const definitionKey = $ref.split(exports.DEFINITION_LINK_PREFIX)[1];
1085
- if (appSchema.definitions[definitionKey]) {
1086
- const controlProperty = appSchema.definitions[definitionKey]['controlProperty'];
1087
- if ($ref.includes(currentConfigObject[controlProperty])) {
1088
- definitionArray.push(definitionKey);
1089
- }
1090
- }
1091
- }
1092
- }
1093
- /**
1094
- * Fills an array of next definitions from given references in the JSON schema
1095
- * @param propertyDefinition - Definition of the current property in schema
1096
- * @param currentConfigObject - Current object in the config JSON. Evaluated to get the right value of a controlling property,
1097
- * for making the right choice in case of multiple options (anyOf)
1098
- * @param appSchema - app-specific JSON schema
1099
- * @returns an array of definitions to proceed with
1100
- */
1101
- function fillArrayFromPropertyDefinition(propertyDefinition, currentConfigObject, appSchema) {
1102
- const definitionArray = [];
1103
- if (propertyDefinition.$ref) {
1104
- definitionArray.push(propertyDefinition.$ref.split(exports.DEFINITION_LINK_PREFIX)[1]);
1105
- }
1106
- else if (propertyDefinition.anyOf) {
1107
- if (currentConfigObject) {
1108
- propertyDefinition.anyOf.forEach((element) => {
1109
- fillArrayFromAnyOfReference(element, appSchema, currentConfigObject, definitionArray);
1110
- });
1111
- }
1112
- if (definitionArray.length === 0) {
1113
- return undefined;
1114
- }
1115
- }
1116
- return definitionArray;
1117
- }
1118
- /**
1119
- * Determines the next definition to be handled, based on the definition array.
1120
- * It also creates the Metadata instance for the next definition, to subsequently access metadata like the syncRule
1121
- * @param definitionArray - Array of definitions, as determined by fillArrayFromNextDefinition
1122
- * @param appSchema - app-specific JSON schema
1123
- * @param title - default title
1124
- * @param currentConfigObject - Current object in the config JSON.
1125
- * @param key - actual key
1126
- * @param {MetadataInstanceInterface} factory - factory for creating metadata instances
1127
- * @param pageType - page type
1128
- * @param propertyDefinition - Definition of the current property in schema
1129
- * @returns {NextDefinition} - Next target definition to process
1130
- */
1131
- function determineNextDefinitionFromDefinitionArray(definitionArray, appSchema, title, currentConfigObject, key, factory, pageType, propertyDefinition) {
1132
- var _a, _b, _c, _d;
1133
- let nextDefinition = {
1134
- configObject: undefined,
1135
- targetDefinition: {},
1136
- title: ''
1137
- };
1138
- if (definitionArray.length) {
1139
- const lastDefinition = definitionArray[definitionArray.length - 1];
1140
- nextDefinition.targetDefinition = appSchema['definitions'][lastDefinition];
1141
- if (((_a = nextDefinition === null || nextDefinition === void 0 ? void 0 : nextDefinition.targetDefinition) === null || _a === void 0 ? void 0 : _a['$ref']) || ((_b = nextDefinition === null || nextDefinition === void 0 ? void 0 : nextDefinition.targetDefinition) === null || _b === void 0 ? void 0 : _b['type']) === 'array') {
1142
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
1143
- nextDefinition = getNextTargetDefinition(appSchema, title, currentConfigObject, nextDefinition.targetDefinition, key, factory, pageType);
1144
- return nextDefinition;
1145
- }
1146
- if (definitionArray.length > 1) {
1147
- definitionArray.forEach((element) => {
1148
- if (element !== '') {
1149
- nextDefinition.targetDefinition['properties'] = Object.assign(Object.assign({}, nextDefinition.targetDefinition['properties']), appSchema['definitions'][element]['properties']);
1150
- }
1151
- });
1152
- }
1153
- nextDefinition.title = ((_c = nextDefinition === null || nextDefinition === void 0 ? void 0 : nextDefinition.targetDefinition) === null || _c === void 0 ? void 0 : _c['title']) ? nextDefinition.targetDefinition['title']
1154
- : title;
1155
- const factoryKey = lastDefinition === null || lastDefinition === void 0 ? void 0 : lastDefinition.split('<')[0];
1156
- const targetObject = currentConfigObject ? currentConfigObject : {};
1157
- nextDefinition.configObject = factory.createInstance(pageType, factoryKey, targetObject, (_d = nextDefinition === null || nextDefinition === void 0 ? void 0 : nextDefinition.targetDefinition) === null || _d === void 0 ? void 0 : _d['controlProperty']);
1158
- }
1159
- else {
1160
- //e.g. sections ==> loop over all properties = subsections or other
1161
- nextDefinition.targetDefinition = propertyDefinition;
1162
- nextDefinition.title = nextDefinition.targetDefinition['title']
1163
- ? nextDefinition.targetDefinition['title']
1164
- : key;
1165
- nextDefinition.configObject = currentConfigObject;
1166
- }
1167
- return nextDefinition;
1168
- }
1169
- /**
1170
- * Recursive function to determine the next config part, next definition in the app schema and the title
1171
- * @param appSchema - app-specific JSON schema
1172
- * @param title - default title
1173
- * @param currentConfigObject - current part of the configuration that gets traversed
1174
- * @param propertyDefinition - definition of a given property in the app schema
1175
- * @param key - actual key
1176
- * @param {MetadataInstanceInterface} factory - factory for creating metadata instances
1177
- * @param pageType - page type
1178
- */
1179
- function getNextTargetDefinition(appSchema, title, currentConfigObject, propertyDefinition, key, factory, pageType) {
1180
- let nextDefinition;
1181
- if (propertyDefinition['type'] === 'array') {
1182
- nextDefinition = getNextTargetDefinition(appSchema, title, currentConfigObject, propertyDefinition['items'], key, factory, pageType);
1183
- return nextDefinition;
1184
- }
1185
- const definitionArray = fillArrayFromPropertyDefinition(propertyDefinition, currentConfigObject, appSchema);
1186
- if (!definitionArray) {
1187
- return undefined;
1188
- }
1189
- nextDefinition = determineNextDefinitionFromDefinitionArray(definitionArray, appSchema, title, currentConfigObject, key, factory, pageType, propertyDefinition);
1190
- return nextDefinition;
1191
- }
1192
- exports.getNextTargetDefinition = getNextTargetDefinition;
1193
- /**
1194
- * Custom array merge function called by deepmerge's merge function
1195
- *
1196
- * @param {*} target Target array
1197
- * @param {*} source Source array
1198
- * @param {*} options options object provided by deepmerge's merge function
1199
- * @returns
1200
- */
1201
- exports.arrayCombineMerge = (target, source, options) => {
1202
- const destination = target.slice();
1203
- source.forEach((item, index) => {
1204
- if (typeof destination[index] === 'undefined') {
1205
- destination[index] = options.cloneUnlessOtherwiseSpecified(item, options);
1206
- }
1207
- else if (options.isMergeableObject(item)) {
1208
- destination[index] = deepmerge_1.default(target[index], item, options);
1209
- }
1210
- else if (target.indexOf(item) === -1) {
1211
- destination.push(item);
1212
- }
1213
- });
1214
- return destination;
1215
- };
1216
- /**
1217
- * Converts an enum into a CSV
1218
- * @param {object} manifestSection - manifestSection where the key exists
1219
- * @param {object} configPart - Property as mentioned in config file
1220
- * @param {string} key - Property to be exported to manifest
1221
- */
1222
- function convertEnumToCSV(manifestSection, configPart, key) {
1223
- manifestSection[key] = JSON.parse(JSON.stringify(configPart[key]));
1224
- // convert enum array to joined string
1225
- const field = configPart[key];
1226
- manifestSection[key] = field.join();
1227
- }
1228
- exports.convertEnumToCSV = convertEnumToCSV;
1229
- /**
1230
- * Converts an action ID from the internal format (schema, config) to the stable ID representation
1231
- * @param actionId - the (unique) internal format of the action ID
1232
- * @returns the converted action ID
1233
- */
1234
- function convertActionKeyToStableId(actionId) {
1235
- return (actionId.indexOf('??') > -1 ? actionId.split('??')[1] : actionId).replace(/@/g, '::');
1236
- }
1237
- exports.convertActionKeyToStableId = convertActionKeyToStableId;
1238
- //# sourceMappingURL=utils.js.map