@sap/ux-specification 1.108.28 → 1.108.30

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 (1234) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
  3. package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
  4. package/dist/documentation/v2/v2-ListReport.html +2 -2
  5. package/dist/documentation/v2/v2-ObjectPage.html +2 -2
  6. package/dist/documentation/v2/v2-OverviewPage.html +2 -2
  7. package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
  8. package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
  9. package/dist/documentation/v4/v4-FreestylePage.html +2 -2
  10. package/dist/documentation/v4/v4-ListReport.html +2 -2
  11. package/dist/documentation/v4/v4-ObjectPage.html +2 -2
  12. package/dist/index-min.js +113 -113
  13. package/dist/index-min.js.map +4 -4
  14. package/dist/schemas/v2/ListReportConfig.json +3 -2
  15. package/dist/schemas/v2/ObjectPageConfig.json +100 -110
  16. package/dist/schemas/v4/ListReportConfig.json +65 -46
  17. package/dist/schemas/v4/ObjectPageConfig.json +22 -19
  18. package/dist/specification/package.json +113 -0
  19. package/dist/specification/scripts/distTagWriter.d.ts +2 -0
  20. package/dist/specification/scripts/distTagWriter.d.ts.map +1 -0
  21. package/dist/specification/scripts/distTagWriter.js +43 -0
  22. package/dist/specification/scripts/distTagWriter.js.map +1 -0
  23. package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts +10 -0
  24. package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts.map +1 -0
  25. package/dist/specification/scripts/documentation/components/TreeDiagram.js +50 -0
  26. package/dist/specification/scripts/documentation/components/TreeDiagram.js.map +1 -0
  27. package/dist/specification/scripts/documentation/components/filter.d.ts +5 -0
  28. package/dist/specification/scripts/documentation/components/filter.d.ts.map +1 -0
  29. package/dist/specification/scripts/documentation/components/filter.js +49 -0
  30. package/dist/specification/scripts/documentation/components/filter.js.map +1 -0
  31. package/dist/specification/scripts/documentation/components/types.d.ts +31 -0
  32. package/dist/specification/scripts/documentation/components/types.d.ts.map +1 -0
  33. package/dist/specification/scripts/documentation/components/types.js +5 -0
  34. package/dist/specification/scripts/documentation/components/types.js.map +1 -0
  35. package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts +41 -0
  36. package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts.map +1 -0
  37. package/dist/specification/scripts/documentation/components/ui/TreeUI.js +482 -0
  38. package/dist/specification/scripts/documentation/components/ui/TreeUI.js.map +1 -0
  39. package/dist/specification/scripts/documentation/components/ui/icons.d.ts +2 -0
  40. package/dist/specification/scripts/documentation/components/ui/icons.d.ts.map +1 -0
  41. package/dist/specification/scripts/documentation/components/ui/icons.js +15 -0
  42. package/dist/specification/scripts/documentation/components/ui/icons.js.map +1 -0
  43. package/dist/specification/scripts/documentation/components/ui/index.d.ts +2 -0
  44. package/dist/specification/scripts/documentation/components/ui/index.d.ts.map +1 -0
  45. package/dist/specification/scripts/documentation/components/ui/index.js +6 -0
  46. package/dist/specification/scripts/documentation/components/ui/index.js.map +1 -0
  47. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts +7 -0
  48. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts.map +1 -0
  49. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js +105 -0
  50. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js.map +1 -0
  51. package/dist/specification/scripts/documentation/components/ui/search.d.ts +5 -0
  52. package/dist/specification/scripts/documentation/components/ui/search.d.ts.map +1 -0
  53. package/dist/specification/scripts/documentation/components/ui/search.js +108 -0
  54. package/dist/specification/scripts/documentation/components/ui/search.js.map +1 -0
  55. package/dist/specification/scripts/documentation/components/ui/toggle.d.ts +7 -0
  56. package/dist/specification/scripts/documentation/components/ui/toggle.d.ts.map +1 -0
  57. package/dist/specification/scripts/documentation/components/ui/toggle.js +43 -0
  58. package/dist/specification/scripts/documentation/components/ui/toggle.js.map +1 -0
  59. package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts +7 -0
  60. package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts.map +1 -0
  61. package/dist/specification/scripts/documentation/components/ui/tooltip.js +93 -0
  62. package/dist/specification/scripts/documentation/components/ui/tooltip.js.map +1 -0
  63. package/dist/specification/scripts/documentation/components/ui/utils.d.ts +9 -0
  64. package/dist/specification/scripts/documentation/components/ui/utils.d.ts.map +1 -0
  65. package/dist/specification/scripts/documentation/components/ui/utils.js +73 -0
  66. package/dist/specification/scripts/documentation/components/ui/utils.js.map +1 -0
  67. package/dist/specification/scripts/documentation/runDocu.d.ts +7 -0
  68. package/dist/specification/scripts/documentation/runDocu.d.ts.map +1 -0
  69. package/dist/specification/scripts/documentation/runDocu.js +8 -0
  70. package/dist/specification/scripts/documentation/runDocu.js.map +1 -0
  71. package/dist/specification/scripts/extractDocu.d.ts +2 -0
  72. package/dist/specification/scripts/extractDocu.d.ts.map +1 -0
  73. package/dist/specification/scripts/extractDocu.js +522 -0
  74. package/dist/specification/scripts/extractDocu.js.map +1 -0
  75. package/dist/specification/scripts/macros/api.d.ts +15 -0
  76. package/dist/specification/scripts/macros/api.d.ts.map +1 -0
  77. package/dist/specification/scripts/macros/api.js +188 -0
  78. package/dist/specification/scripts/macros/api.js.map +1 -0
  79. package/dist/specification/scripts/macros/cmd.d.ts +7 -0
  80. package/dist/specification/scripts/macros/cmd.d.ts.map +1 -0
  81. package/dist/specification/scripts/macros/cmd.js +49 -0
  82. package/dist/specification/scripts/macros/cmd.js.map +1 -0
  83. package/dist/specification/scripts/macros/corrections.d.ts +19 -0
  84. package/dist/specification/scripts/macros/corrections.d.ts.map +1 -0
  85. package/dist/specification/scripts/macros/corrections.js +302 -0
  86. package/dist/specification/scripts/macros/corrections.js.map +1 -0
  87. package/dist/specification/scripts/macros/index.d.ts +2 -0
  88. package/dist/specification/scripts/macros/index.d.ts.map +1 -0
  89. package/dist/specification/scripts/macros/index.js +8 -0
  90. package/dist/specification/scripts/macros/index.js.map +1 -0
  91. package/dist/specification/scripts/macros/schema.d.ts +9 -0
  92. package/dist/specification/scripts/macros/schema.d.ts.map +1 -0
  93. package/dist/specification/scripts/macros/schema.js +256 -0
  94. package/dist/specification/scripts/macros/schema.js.map +1 -0
  95. package/dist/specification/scripts/macros/types.d.ts +87 -0
  96. package/dist/specification/scripts/macros/types.d.ts.map +1 -0
  97. package/dist/specification/scripts/macros/types.js +14 -0
  98. package/dist/specification/scripts/macros/types.js.map +1 -0
  99. package/dist/specification/scripts/spec.d.ts +2 -0
  100. package/dist/specification/scripts/spec.d.ts.map +1 -0
  101. package/dist/specification/scripts/spec.js +113 -0
  102. package/dist/specification/scripts/spec.js.map +1 -0
  103. package/dist/specification/scripts/to-json-schema.d.ts +11 -0
  104. package/dist/specification/scripts/to-json-schema.d.ts.map +1 -0
  105. package/dist/specification/scripts/to-json-schema.js +160 -0
  106. package/dist/specification/scripts/to-json-schema.js.map +1 -0
  107. package/dist/specification/src/api.d.ts.map +1 -0
  108. package/dist/specification/src/api.js +264 -0
  109. package/dist/specification/src/api.js.map +1 -0
  110. package/dist/specification/src/extensionLogger.d.ts.map +1 -0
  111. package/dist/specification/src/extensionLogger.js.map +1 -0
  112. package/dist/specification/src/i18n/i18n.d.ts.map +1 -0
  113. package/dist/specification/src/i18n/i18n.js.map +1 -0
  114. package/dist/specification/src/index.d.ts.map +1 -0
  115. package/dist/specification/src/index.js.map +1 -0
  116. package/dist/specification/src/project.d.ts.map +1 -0
  117. package/dist/specification/src/project.js.map +1 -0
  118. package/dist/specification/src/specification/schemaAccess.d.ts.map +1 -0
  119. package/dist/specification/src/specification/schemaAccess.js.map +1 -0
  120. package/dist/specification/src/sync/common/appProvider.d.ts.map +1 -0
  121. package/dist/specification/src/sync/common/appProvider.js.map +1 -0
  122. package/dist/specification/src/sync/common/decoration/control.d.ts.map +1 -0
  123. package/dist/specification/src/sync/common/decoration/control.js +237 -0
  124. package/dist/specification/src/sync/common/decoration/control.js.map +1 -0
  125. package/dist/specification/src/sync/common/decoration/decorators.d.ts +16 -0
  126. package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -0
  127. package/dist/specification/src/sync/common/decoration/decorators.js +64 -0
  128. package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -0
  129. package/dist/specification/src/sync/common/decoration/factory.d.ts.map +1 -0
  130. package/dist/specification/src/sync/common/decoration/factory.js.map +1 -0
  131. package/dist/specification/src/sync/common/decoration/flex.d.ts.map +1 -0
  132. package/dist/specification/src/sync/common/decoration/flex.js.map +1 -0
  133. package/dist/specification/src/sync/common/decoration/index.d.ts.map +1 -0
  134. package/dist/specification/src/sync/common/decoration/index.js.map +1 -0
  135. package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -0
  136. package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -0
  137. package/dist/specification/src/sync/common/flexUtils.d.ts.map +1 -0
  138. package/dist/specification/src/sync/common/flexUtils.js.map +1 -0
  139. package/dist/specification/src/sync/common/generate/index.d.ts.map +1 -0
  140. package/dist/specification/src/sync/common/generate/index.js.map +1 -0
  141. package/dist/specification/src/sync/common/generate/objectPage.d.ts.map +1 -0
  142. package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -0
  143. package/dist/specification/src/sync/common/generate/utils.d.ts +226 -0
  144. package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -0
  145. package/dist/specification/src/sync/common/generate/utils.js +622 -0
  146. package/dist/specification/src/sync/common/generate/utils.js.map +1 -0
  147. package/dist/specification/src/sync/common/i18n.json +42 -0
  148. package/dist/specification/src/sync/common/import/utils.d.ts.map +1 -0
  149. package/dist/specification/src/sync/common/import/utils.js.map +1 -0
  150. package/dist/specification/src/sync/common/importProject.d.ts.map +1 -0
  151. package/dist/specification/src/sync/common/importProject.js.map +1 -0
  152. package/dist/specification/src/sync/common/index.d.ts.map +1 -0
  153. package/dist/specification/src/sync/common/index.js.map +1 -0
  154. package/dist/specification/src/sync/common/utils.d.ts.map +1 -0
  155. package/dist/specification/src/sync/common/utils.js +1540 -0
  156. package/dist/specification/src/sync/common/utils.js.map +1 -0
  157. package/dist/specification/src/sync/i18n.d.ts.map +1 -0
  158. package/dist/specification/src/sync/i18n.js.map +1 -0
  159. package/dist/specification/src/sync/v2/application.d.ts.map +1 -0
  160. package/dist/specification/src/sync/v2/application.js +211 -0
  161. package/dist/specification/src/sync/v2/application.js.map +1 -0
  162. package/dist/specification/src/sync/v2/export/controls/Action.d.ts.map +1 -0
  163. package/dist/specification/src/sync/v2/export/controls/Action.js.map +1 -0
  164. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +1 -0
  165. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +1 -0
  166. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +1 -0
  167. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +1 -0
  168. package/dist/specification/src/sync/v2/export/controls/Card.d.ts.map +1 -0
  169. package/dist/specification/src/sync/v2/export/controls/Card.js.map +1 -0
  170. package/dist/specification/src/sync/v2/export/controls/Field.d.ts.map +1 -0
  171. package/dist/specification/src/sync/v2/export/controls/Field.js.map +1 -0
  172. package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts.map +1 -0
  173. package/dist/specification/src/sync/v2/export/controls/FilterBar.js +281 -0
  174. package/dist/specification/src/sync/v2/export/controls/FilterBar.js.map +1 -0
  175. package/dist/specification/src/sync/v2/export/controls/FormAction.d.ts.map +1 -0
  176. package/dist/specification/src/sync/v2/export/controls/FormAction.js.map +1 -0
  177. package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts.map +1 -0
  178. package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -0
  179. package/dist/specification/src/sync/v2/export/controls/ObjectPageChart.d.ts.map +1 -0
  180. package/dist/specification/src/sync/v2/export/controls/ObjectPageChart.js.map +1 -0
  181. package/dist/specification/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
  182. package/dist/specification/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +1 -0
  183. package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +1 -0
  184. package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -0
  185. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.d.ts.map +1 -0
  186. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.js +73 -0
  187. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.js.map +1 -0
  188. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +1 -0
  189. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -0
  190. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  191. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +1 -0
  192. package/dist/specification/src/sync/v2/export/controls/ObjectPageLayout.d.ts.map +1 -0
  193. package/dist/specification/src/sync/v2/export/controls/ObjectPageLayout.js.map +1 -0
  194. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts +41 -0
  195. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts.map +1 -0
  196. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js +192 -0
  197. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js.map +1 -0
  198. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts +58 -0
  199. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +1 -0
  200. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js +390 -0
  201. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -0
  202. package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
  203. package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +1 -0
  204. package/dist/specification/src/sync/v2/export/controls/Table.d.ts.map +1 -0
  205. package/dist/specification/src/sync/v2/export/controls/Table.js.map +1 -0
  206. package/dist/specification/src/sync/v2/export/controls/TableColumn.d.ts.map +1 -0
  207. package/dist/specification/src/sync/v2/export/controls/TableColumn.js.map +1 -0
  208. package/dist/specification/src/sync/v2/export/controls/ToolBar.d.ts.map +1 -0
  209. package/dist/specification/src/sync/v2/export/controls/ToolBar.js.map +1 -0
  210. package/dist/specification/src/sync/v2/export/controls/index.d.ts +22 -0
  211. package/dist/specification/src/sync/v2/export/controls/index.d.ts.map +1 -0
  212. package/dist/specification/src/sync/v2/export/controls/index.js +38 -0
  213. package/dist/specification/src/sync/v2/export/controls/index.js.map +1 -0
  214. package/dist/specification/src/sync/v2/export/export.d.ts.map +1 -0
  215. package/dist/specification/src/sync/v2/export/export.js.map +1 -0
  216. package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -0
  217. package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -0
  218. package/dist/specification/src/sync/v2/export/factory.d.ts.map +1 -0
  219. package/dist/specification/src/sync/v2/export/factory.js.map +1 -0
  220. package/dist/specification/src/sync/v2/export/manifest.d.ts.map +1 -0
  221. package/dist/specification/src/sync/v2/export/manifest.js.map +1 -0
  222. package/dist/specification/src/sync/v2/export/pages/AnalyticalListPage.d.ts.map +1 -0
  223. package/dist/specification/src/sync/v2/export/pages/AnalyticalListPage.js.map +1 -0
  224. package/dist/specification/src/sync/v2/export/pages/ListReport.d.ts.map +1 -0
  225. package/dist/specification/src/sync/v2/export/pages/ListReport.js.map +1 -0
  226. package/dist/specification/src/sync/v2/export/pages/ObjectPage.d.ts.map +1 -0
  227. package/dist/specification/src/sync/v2/export/pages/ObjectPage.js.map +1 -0
  228. package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts.map +1 -0
  229. package/dist/specification/src/sync/v2/export/pages/OverviewPage.js.map +1 -0
  230. package/dist/specification/src/sync/v2/export/pages/index.d.ts.map +1 -0
  231. package/dist/specification/src/sync/v2/export/pages/index.js.map +1 -0
  232. package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts.map +1 -0
  233. package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -0
  234. package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts +9 -0
  235. package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -0
  236. package/dist/specification/src/sync/v2/generate/analyticalListReport.js +181 -0
  237. package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -0
  238. package/dist/specification/src/sync/v2/generate/generate.d.ts.map +1 -0
  239. package/dist/specification/src/sync/v2/generate/generate.js.map +1 -0
  240. package/dist/specification/src/sync/v2/generate/index.d.ts.map +1 -0
  241. package/dist/specification/src/sync/v2/generate/index.js.map +1 -0
  242. package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -0
  243. package/dist/specification/src/sync/v2/generate/listReport.js +192 -0
  244. package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -0
  245. package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -0
  246. package/dist/specification/src/sync/v2/generate/objectPage.js +671 -0
  247. package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -0
  248. package/dist/specification/src/sync/v2/generate/overviewPage.d.ts.map +1 -0
  249. package/dist/specification/src/sync/v2/generate/overviewPage.js.map +1 -0
  250. package/dist/specification/src/sync/v2/generate/utils.d.ts +160 -0
  251. package/dist/specification/src/sync/v2/generate/utils.d.ts.map +1 -0
  252. package/dist/specification/src/sync/v2/generate/utils.js +719 -0
  253. package/dist/specification/src/sync/v2/generate/utils.js.map +1 -0
  254. package/dist/specification/src/sync/v2/import/app/appProvider.d.ts.map +1 -0
  255. package/dist/specification/src/sync/v2/import/app/appProvider.js.map +1 -0
  256. package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts.map +1 -0
  257. package/dist/specification/src/sync/v2/import/app/ovpProvider.js.map +1 -0
  258. package/dist/specification/src/sync/v2/import/common/index.d.ts.map +1 -0
  259. package/dist/specification/src/sync/v2/import/common/index.js +444 -0
  260. package/dist/specification/src/sync/v2/import/common/index.js.map +1 -0
  261. package/dist/specification/src/sync/v2/import/controls/table.d.ts.map +1 -0
  262. package/dist/specification/src/sync/v2/import/controls/table.js.map +1 -0
  263. package/dist/specification/src/sync/v2/import/getPageType.d.ts.map +1 -0
  264. package/dist/specification/src/sync/v2/import/getPageType.js.map +1 -0
  265. package/dist/specification/src/sync/v2/import/index.d.ts.map +1 -0
  266. package/dist/specification/src/sync/v2/import/index.js.map +1 -0
  267. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -0
  268. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js.map +1 -0
  269. package/dist/specification/src/sync/v2/import/pages/listReport.d.ts.map +1 -0
  270. package/dist/specification/src/sync/v2/import/pages/listReport.js.map +1 -0
  271. package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts.map +1 -0
  272. package/dist/specification/src/sync/v2/import/pages/objectPage.js.map +1 -0
  273. package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts.map +1 -0
  274. package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -0
  275. package/dist/specification/src/sync/v2/import/utils.d.ts.map +1 -0
  276. package/dist/specification/src/sync/v2/import/utils.js.map +1 -0
  277. package/dist/specification/src/sync/v2/types.d.ts +85 -0
  278. package/dist/specification/src/sync/v2/types.d.ts.map +1 -0
  279. package/dist/specification/src/sync/v2/types.js +56 -0
  280. package/dist/specification/src/sync/v2/types.js.map +1 -0
  281. package/dist/specification/src/sync/v4/application.d.ts.map +1 -0
  282. package/dist/specification/src/sync/v4/application.js +232 -0
  283. package/dist/specification/src/sync/v4/application.js.map +1 -0
  284. package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -0
  285. package/dist/specification/src/sync/v4/export/controls/FilterBar.js +159 -0
  286. package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -0
  287. package/dist/specification/src/sync/v4/export/controls/Header.d.ts.map +1 -0
  288. package/dist/specification/src/sync/v4/export/controls/Header.js.map +1 -0
  289. package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts.map +1 -0
  290. package/dist/specification/src/sync/v4/export/controls/HeaderAction.js.map +1 -0
  291. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts.map +1 -0
  292. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.js.map +1 -0
  293. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
  294. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +1 -0
  295. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.d.ts.map +1 -0
  296. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.js.map +1 -0
  297. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.d.ts.map +1 -0
  298. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.js +125 -0
  299. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.js.map +1 -0
  300. package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.d.ts.map +1 -0
  301. package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js +49 -0
  302. package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js.map +1 -0
  303. package/dist/specification/src/sync/v4/export/controls/ObjectPageFormAction.d.ts.map +1 -0
  304. package/dist/specification/src/sync/v4/export/controls/ObjectPageFormAction.js.map +1 -0
  305. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +1 -0
  306. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.js.map +1 -0
  307. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts.map +1 -0
  308. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js +106 -0
  309. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js.map +1 -0
  310. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  311. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.js +67 -0
  312. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +1 -0
  313. package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.d.ts.map +1 -0
  314. package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.js +26 -0
  315. package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.js.map +1 -0
  316. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +1 -0
  317. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js +250 -0
  318. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -0
  319. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -0
  320. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js +154 -0
  321. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -0
  322. package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
  323. package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +1 -0
  324. package/dist/specification/src/sync/v4/export/controls/Table.d.ts +157 -0
  325. package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -0
  326. package/dist/specification/src/sync/v4/export/controls/Table.js +730 -0
  327. package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -0
  328. package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -0
  329. package/dist/specification/src/sync/v4/export/controls/TableColumn.js +316 -0
  330. package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -0
  331. package/dist/specification/src/sync/v4/export/controls/ToolBar.d.ts.map +1 -0
  332. package/dist/specification/src/sync/v4/export/controls/ToolBar.js.map +1 -0
  333. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +44 -0
  334. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -0
  335. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +247 -0
  336. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -0
  337. package/dist/specification/src/sync/v4/export/controls/index.d.ts +21 -0
  338. package/dist/specification/src/sync/v4/export/controls/index.d.ts.map +1 -0
  339. package/dist/specification/src/sync/v4/export/controls/index.js +37 -0
  340. package/dist/specification/src/sync/v4/export/controls/index.js.map +1 -0
  341. package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -0
  342. package/dist/specification/src/sync/v4/export/export.js +1036 -0
  343. package/dist/specification/src/sync/v4/export/export.js.map +1 -0
  344. package/dist/specification/src/sync/v4/export/exportCustomColumn.d.ts.map +1 -0
  345. package/dist/specification/src/sync/v4/export/exportCustomColumn.js.map +1 -0
  346. package/dist/specification/src/sync/v4/export/factory.d.ts.map +1 -0
  347. package/dist/specification/src/sync/v4/export/factory.js +61 -0
  348. package/dist/specification/src/sync/v4/export/factory.js.map +1 -0
  349. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts.map +1 -0
  350. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js.map +1 -0
  351. package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -0
  352. package/dist/specification/src/sync/v4/export/fpmCustomPage.js +175 -0
  353. package/dist/specification/src/sync/v4/export/fpmCustomPage.js.map +1 -0
  354. package/dist/specification/src/sync/v4/export/manifest.d.ts.map +1 -0
  355. package/dist/specification/src/sync/v4/export/manifest.js.map +1 -0
  356. package/dist/specification/src/sync/v4/export/pages/FreestylePage.d.ts.map +1 -0
  357. package/dist/specification/src/sync/v4/export/pages/FreestylePage.js.map +1 -0
  358. package/dist/specification/src/sync/v4/export/pages/ListReport.d.ts.map +1 -0
  359. package/dist/specification/src/sync/v4/export/pages/ListReport.js +86 -0
  360. package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -0
  361. package/dist/specification/src/sync/v4/export/pages/ObjectPage.d.ts.map +1 -0
  362. package/dist/specification/src/sync/v4/export/pages/ObjectPage.js +42 -0
  363. package/dist/specification/src/sync/v4/export/pages/ObjectPage.js.map +1 -0
  364. package/dist/specification/src/sync/v4/export/pages/index.d.ts.map +1 -0
  365. package/dist/specification/src/sync/v4/export/pages/index.js.map +1 -0
  366. package/dist/specification/src/sync/v4/export/types.d.ts.map +1 -0
  367. package/dist/specification/src/sync/v4/export/types.js.map +1 -0
  368. package/dist/specification/src/sync/v4/export/utils.d.ts.map +1 -0
  369. package/dist/specification/src/sync/v4/export/utils.js.map +1 -0
  370. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +1 -0
  371. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js +171 -0
  372. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -0
  373. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +1 -0
  374. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js.map +1 -0
  375. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +1 -0
  376. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js.map +1 -0
  377. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts.map +1 -0
  378. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.js.map +1 -0
  379. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +1 -0
  380. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js.map +1 -0
  381. package/dist/specification/src/sync/v4/generate/freestylePage.d.ts.map +1 -0
  382. package/dist/specification/src/sync/v4/generate/freestylePage.js.map +1 -0
  383. package/dist/specification/src/sync/v4/generate/generate.d.ts.map +1 -0
  384. package/dist/specification/src/sync/v4/generate/generate.js.map +1 -0
  385. package/dist/specification/src/sync/v4/generate/index.d.ts.map +1 -0
  386. package/dist/specification/src/sync/v4/generate/index.js.map +1 -0
  387. package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -0
  388. package/dist/specification/src/sync/v4/generate/listReport.js +895 -0
  389. package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -0
  390. package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -0
  391. package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -0
  392. package/dist/specification/src/sync/v4/import/app/appProvider.d.ts.map +1 -0
  393. package/dist/specification/src/sync/v4/import/app/appProvider.js.map +1 -0
  394. package/dist/specification/src/sync/v4/import/app/index.d.ts.map +1 -0
  395. package/dist/specification/src/sync/v4/import/app/index.js.map +1 -0
  396. package/dist/specification/src/sync/v4/import/fragment.d.ts.map +1 -0
  397. package/dist/specification/src/sync/v4/import/fragment.js.map +1 -0
  398. package/dist/specification/src/sync/v4/import/index.d.ts.map +1 -0
  399. package/dist/specification/src/sync/v4/import/index.js.map +1 -0
  400. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +1 -0
  401. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js.map +1 -0
  402. package/dist/specification/src/sync/v4/import/pages/listReport.d.ts.map +1 -0
  403. package/dist/specification/src/sync/v4/import/pages/listReport.js.map +1 -0
  404. package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts.map +1 -0
  405. package/dist/specification/src/sync/v4/import/pages/objectPage.js.map +1 -0
  406. package/dist/specification/src/sync/v4/import/utils.d.ts.map +1 -0
  407. package/dist/specification/src/sync/v4/import/utils.js.map +1 -0
  408. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.d.ts.map +1 -0
  409. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js.map +1 -0
  410. package/dist/specification/src/sync/v4/types.d.ts.map +1 -0
  411. package/dist/specification/src/sync/v4/types.js.map +1 -0
  412. package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts.map +1 -0
  413. package/dist/specification/src/sync/v4/utils/StableIdHelper.js.map +1 -0
  414. package/dist/specification/src/sync/v4/utils/macros.d.ts.map +1 -0
  415. package/dist/specification/src/sync/v4/utils/macros.js.map +1 -0
  416. package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -0
  417. package/dist/specification/src/sync/v4/utils/utils.js +889 -0
  418. package/dist/specification/src/sync/v4/utils/utils.js.map +1 -0
  419. package/dist/types/src/apiTypes.d.ts +492 -0
  420. package/dist/types/src/apiTypes.d.ts.map +1 -0
  421. package/dist/types/src/apiTypes.js +44 -0
  422. package/dist/types/src/apiTypes.js.map +1 -0
  423. package/dist/types/src/common/Application.d.ts +61 -0
  424. package/dist/types/src/common/Application.d.ts.map +1 -0
  425. package/dist/types/src/common/Application.js +25 -0
  426. package/dist/types/src/common/Application.js.map +1 -0
  427. package/dist/types/src/common/color.d.ts +91 -0
  428. package/dist/types/src/common/color.d.ts.map +1 -0
  429. package/dist/types/src/common/color.js +99 -0
  430. package/dist/types/src/common/color.js.map +1 -0
  431. package/dist/types/src/common/index.d.ts +6 -0
  432. package/dist/types/src/common/index.d.ts.map +1 -0
  433. package/dist/types/src/common/index.js +22 -0
  434. package/dist/types/src/common/index.js.map +1 -0
  435. package/dist/types/src/common/page.d.ts +81 -0
  436. package/dist/types/src/common/page.d.ts.map +1 -0
  437. package/dist/types/src/common/page.js +36 -0
  438. package/dist/types/src/common/page.js.map +1 -0
  439. package/dist/types/src/common/types.d.ts +499 -0
  440. package/dist/types/src/common/types.d.ts.map +1 -0
  441. package/dist/types/src/common/types.js +345 -0
  442. package/dist/types/src/common/types.js.map +1 -0
  443. package/dist/types/src/common/webapp/manifest/Manifest.d.ts +124 -0
  444. package/dist/types/src/common/webapp/manifest/Manifest.d.ts.map +1 -0
  445. package/dist/types/src/common/webapp/manifest/Manifest.js +24 -0
  446. package/dist/types/src/common/webapp/manifest/Manifest.js.map +1 -0
  447. package/dist/types/src/common/webapp/manifest/index.d.ts +4 -0
  448. package/dist/types/src/common/webapp/manifest/index.d.ts.map +1 -0
  449. package/dist/types/src/common/webapp/manifest/index.js +20 -0
  450. package/dist/types/src/common/webapp/manifest/index.js.map +1 -0
  451. package/dist/types/src/common/webapp/manifest/sapOvp.d.ts +19 -0
  452. package/dist/types/src/common/webapp/manifest/sapOvp.d.ts.map +1 -0
  453. package/dist/types/src/common/webapp/manifest/sapOvp.js +3 -0
  454. package/dist/types/src/common/webapp/manifest/sapOvp.js.map +1 -0
  455. package/dist/types/src/common/webapp/manifest/sapUi5.d.ts +106 -0
  456. package/dist/types/src/common/webapp/manifest/sapUi5.d.ts.map +1 -0
  457. package/dist/types/src/common/webapp/manifest/sapUi5.js +17 -0
  458. package/dist/types/src/common/webapp/manifest/sapUi5.js.map +1 -0
  459. package/dist/types/src/index.d.ts +5 -0
  460. package/dist/types/src/index.d.ts.map +1 -0
  461. package/dist/types/src/index.js +34 -0
  462. package/dist/types/src/index.js.map +1 -0
  463. package/dist/types/src/v2/ApplicationV2.d.ts +7 -0
  464. package/dist/types/src/v2/ApplicationV2.d.ts.map +1 -0
  465. package/dist/types/src/v2/ApplicationV2.js +3 -0
  466. package/dist/types/src/v2/ApplicationV2.js.map +1 -0
  467. package/dist/types/src/v2/application.d.ts +24 -0
  468. package/dist/types/src/v2/application.d.ts.map +1 -0
  469. package/dist/types/src/v2/application.js +3 -0
  470. package/dist/types/src/v2/application.js.map +1 -0
  471. package/dist/types/src/v2/controls/Action.d.ts +125 -0
  472. package/dist/types/src/v2/controls/Action.d.ts.map +1 -0
  473. package/dist/types/src/v2/controls/Action.js +3 -0
  474. package/dist/types/src/v2/controls/Action.js.map +1 -0
  475. package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts +59 -0
  476. package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts.map +1 -0
  477. package/dist/types/src/v2/controls/AnalyticalListPageChart.js +37 -0
  478. package/dist/types/src/v2/controls/AnalyticalListPageChart.js.map +1 -0
  479. package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts +31 -0
  480. package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts.map +1 -0
  481. package/dist/types/src/v2/controls/AnalyticalListPageKPI.js +4 -0
  482. package/dist/types/src/v2/controls/AnalyticalListPageKPI.js.map +1 -0
  483. package/dist/types/src/v2/controls/Card.d.ts +461 -0
  484. package/dist/types/src/v2/controls/Card.d.ts.map +1 -0
  485. package/dist/types/src/v2/controls/Card.js +78 -0
  486. package/dist/types/src/v2/controls/Card.js.map +1 -0
  487. package/dist/types/src/v2/controls/Field.d.ts +11 -0
  488. package/dist/types/src/v2/controls/Field.d.ts.map +1 -0
  489. package/dist/types/src/v2/controls/Field.js +4 -0
  490. package/dist/types/src/v2/controls/Field.js.map +1 -0
  491. package/dist/types/src/v2/controls/FilterBar.d.ts +220 -0
  492. package/dist/types/src/v2/controls/FilterBar.d.ts.map +1 -0
  493. package/dist/types/src/v2/controls/FilterBar.js +84 -0
  494. package/dist/types/src/v2/controls/FilterBar.js.map +1 -0
  495. package/dist/types/src/v2/controls/Header.d.ts +9 -0
  496. package/dist/types/src/v2/controls/Header.d.ts.map +1 -0
  497. package/dist/types/src/v2/controls/Header.js +3 -0
  498. package/dist/types/src/v2/controls/Header.js.map +1 -0
  499. package/dist/types/src/v2/controls/ObjectPageChart.d.ts +17 -0
  500. package/dist/types/src/v2/controls/ObjectPageChart.d.ts.map +1 -0
  501. package/dist/types/src/v2/controls/ObjectPageChart.js +4 -0
  502. package/dist/types/src/v2/controls/ObjectPageChart.js.map +1 -0
  503. package/dist/types/src/v2/controls/ObjectPageFooter.d.ts +20 -0
  504. package/dist/types/src/v2/controls/ObjectPageFooter.d.ts.map +1 -0
  505. package/dist/types/src/v2/controls/ObjectPageFooter.js +3 -0
  506. package/dist/types/src/v2/controls/ObjectPageFooter.js.map +1 -0
  507. package/dist/types/src/v2/controls/ObjectPageForm.d.ts +16 -0
  508. package/dist/types/src/v2/controls/ObjectPageForm.d.ts.map +1 -0
  509. package/dist/types/src/v2/controls/ObjectPageForm.js +3 -0
  510. package/dist/types/src/v2/controls/ObjectPageForm.js.map +1 -0
  511. package/dist/types/src/v2/controls/ObjectPageHeader.d.ts +39 -0
  512. package/dist/types/src/v2/controls/ObjectPageHeader.d.ts.map +1 -0
  513. package/dist/types/src/v2/controls/ObjectPageHeader.js +3 -0
  514. package/dist/types/src/v2/controls/ObjectPageHeader.js.map +1 -0
  515. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts +32 -0
  516. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  517. package/dist/types/src/v2/controls/ObjectPageHeaderSection.js +3 -0
  518. package/dist/types/src/v2/controls/ObjectPageHeaderSection.js.map +1 -0
  519. package/dist/types/src/v2/controls/ObjectPageLayout.d.ts +23 -0
  520. package/dist/types/src/v2/controls/ObjectPageLayout.d.ts.map +1 -0
  521. package/dist/types/src/v2/controls/ObjectPageLayout.js +4 -0
  522. package/dist/types/src/v2/controls/ObjectPageLayout.js.map +1 -0
  523. package/dist/types/src/v2/controls/ObjectPageSection.d.ts +121 -0
  524. package/dist/types/src/v2/controls/ObjectPageSection.d.ts.map +1 -0
  525. package/dist/types/src/v2/controls/ObjectPageSection.js +14 -0
  526. package/dist/types/src/v2/controls/ObjectPageSection.js.map +1 -0
  527. package/dist/types/src/v2/controls/ObjectPageTable.d.ts +215 -0
  528. package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -0
  529. package/dist/types/src/v2/controls/ObjectPageTable.js +10 -0
  530. package/dist/types/src/v2/controls/ObjectPageTable.js.map +1 -0
  531. package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts +16 -0
  532. package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts.map +1 -0
  533. package/dist/types/src/v2/controls/ObjectPageToolBar.js +3 -0
  534. package/dist/types/src/v2/controls/ObjectPageToolBar.js.map +1 -0
  535. package/dist/types/src/v2/controls/Table.d.ts +497 -0
  536. package/dist/types/src/v2/controls/Table.d.ts.map +1 -0
  537. package/dist/types/src/v2/controls/Table.js +47 -0
  538. package/dist/types/src/v2/controls/Table.js.map +1 -0
  539. package/dist/types/src/v2/controls/ToolBar.d.ts +9 -0
  540. package/dist/types/src/v2/controls/ToolBar.d.ts.map +1 -0
  541. package/dist/types/src/v2/controls/ToolBar.js +3 -0
  542. package/dist/types/src/v2/controls/ToolBar.js.map +1 -0
  543. package/dist/types/src/v2/controls/index.d.ts +19 -0
  544. package/dist/types/src/v2/controls/index.d.ts.map +1 -0
  545. package/dist/types/src/v2/controls/index.js +35 -0
  546. package/dist/types/src/v2/controls/index.js.map +1 -0
  547. package/dist/types/src/v2/index.d.ts +8 -0
  548. package/dist/types/src/v2/index.d.ts.map +1 -0
  549. package/dist/types/src/v2/index.js +24 -0
  550. package/dist/types/src/v2/index.js.map +1 -0
  551. package/dist/types/src/v2/overviewPage.d.ts +67 -0
  552. package/dist/types/src/v2/overviewPage.d.ts.map +1 -0
  553. package/dist/types/src/v2/overviewPage.js +15 -0
  554. package/dist/types/src/v2/overviewPage.js.map +1 -0
  555. package/dist/types/src/v2/page.d.ts +8 -0
  556. package/dist/types/src/v2/page.d.ts.map +1 -0
  557. package/dist/types/src/v2/page.js +3 -0
  558. package/dist/types/src/v2/page.js.map +1 -0
  559. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts +25 -0
  560. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts.map +1 -0
  561. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.js +3 -0
  562. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.js.map +1 -0
  563. package/dist/types/src/v2/pages/ListReportConfigV2.d.ts +17 -0
  564. package/dist/types/src/v2/pages/ListReportConfigV2.d.ts.map +1 -0
  565. package/dist/types/src/v2/pages/ListReportConfigV2.js +3 -0
  566. package/dist/types/src/v2/pages/ListReportConfigV2.js.map +1 -0
  567. package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts +37 -0
  568. package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts.map +1 -0
  569. package/dist/types/src/v2/pages/ObjectPageConfigV2.js +3 -0
  570. package/dist/types/src/v2/pages/ObjectPageConfigV2.js.map +1 -0
  571. package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts +102 -0
  572. package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts.map +1 -0
  573. package/dist/types/src/v2/pages/OverviewPageConfigV2.js +7 -0
  574. package/dist/types/src/v2/pages/OverviewPageConfigV2.js.map +1 -0
  575. package/dist/types/src/v2/pages/index.d.ts +5 -0
  576. package/dist/types/src/v2/pages/index.d.ts.map +1 -0
  577. package/dist/types/src/v2/pages/index.js +21 -0
  578. package/dist/types/src/v2/pages/index.js.map +1 -0
  579. package/dist/types/src/v2/webapp/index.d.ts +2 -0
  580. package/dist/types/src/v2/webapp/index.d.ts.map +1 -0
  581. package/dist/types/src/v2/webapp/index.js +18 -0
  582. package/dist/types/src/v2/webapp/index.js.map +1 -0
  583. package/dist/types/src/v2/webapp/manifest/index.d.ts +4 -0
  584. package/dist/types/src/v2/webapp/manifest/index.d.ts.map +1 -0
  585. package/dist/types/src/v2/webapp/manifest/index.js +20 -0
  586. package/dist/types/src/v2/webapp/manifest/index.js.map +1 -0
  587. package/dist/types/src/v2/webapp/manifest/sapUi.d.ts +11 -0
  588. package/dist/types/src/v2/webapp/manifest/sapUi.d.ts.map +1 -0
  589. package/dist/types/src/v2/webapp/manifest/sapUi.js +3 -0
  590. package/dist/types/src/v2/webapp/manifest/sapUi.js.map +1 -0
  591. package/dist/types/src/v2/webapp/manifest/sapUi5.d.ts +77 -0
  592. package/dist/types/src/v2/webapp/manifest/sapUi5.d.ts.map +1 -0
  593. package/dist/types/src/v2/webapp/manifest/sapUi5.js +10 -0
  594. package/dist/types/src/v2/webapp/manifest/sapUi5.js.map +1 -0
  595. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.d.ts +32 -0
  596. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.d.ts.map +1 -0
  597. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.js +8 -0
  598. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.js.map +1 -0
  599. package/dist/types/src/v4/ApplicationV4.d.ts +7 -0
  600. package/dist/types/src/v4/ApplicationV4.d.ts.map +1 -0
  601. package/dist/types/src/v4/ApplicationV4.js +3 -0
  602. package/dist/types/src/v4/ApplicationV4.js.map +1 -0
  603. package/dist/types/src/v4/application.d.ts +24 -0
  604. package/dist/types/src/v4/application.d.ts.map +1 -0
  605. package/dist/types/src/v4/application.js +3 -0
  606. package/dist/types/src/v4/application.js.map +1 -0
  607. package/dist/types/src/v4/controls/CustomAction.d.ts +63 -0
  608. package/dist/types/src/v4/controls/CustomAction.d.ts.map +1 -0
  609. package/dist/types/src/v4/controls/CustomAction.js +9 -0
  610. package/dist/types/src/v4/controls/CustomAction.js.map +1 -0
  611. package/dist/types/src/v4/controls/FilterBar.d.ts +127 -0
  612. package/dist/types/src/v4/controls/FilterBar.d.ts.map +1 -0
  613. package/dist/types/src/v4/controls/FilterBar.js +19 -0
  614. package/dist/types/src/v4/controls/FilterBar.js.map +1 -0
  615. package/dist/types/src/v4/controls/Header.d.ts +17 -0
  616. package/dist/types/src/v4/controls/Header.d.ts.map +1 -0
  617. package/dist/types/src/v4/controls/Header.js +3 -0
  618. package/dist/types/src/v4/controls/Header.js.map +1 -0
  619. package/dist/types/src/v4/controls/ObjectPageFooter.d.ts +27 -0
  620. package/dist/types/src/v4/controls/ObjectPageFooter.d.ts.map +1 -0
  621. package/dist/types/src/v4/controls/ObjectPageFooter.js +3 -0
  622. package/dist/types/src/v4/controls/ObjectPageFooter.js.map +1 -0
  623. package/dist/types/src/v4/controls/ObjectPageForm.d.ts +28 -0
  624. package/dist/types/src/v4/controls/ObjectPageForm.d.ts.map +1 -0
  625. package/dist/types/src/v4/controls/ObjectPageForm.js +3 -0
  626. package/dist/types/src/v4/controls/ObjectPageForm.js.map +1 -0
  627. package/dist/types/src/v4/controls/ObjectPageHeader.d.ts +44 -0
  628. package/dist/types/src/v4/controls/ObjectPageHeader.d.ts.map +1 -0
  629. package/dist/types/src/v4/controls/ObjectPageHeader.js +3 -0
  630. package/dist/types/src/v4/controls/ObjectPageHeader.js.map +1 -0
  631. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts +79 -0
  632. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  633. package/dist/types/src/v4/controls/ObjectPageHeaderSection.js +3 -0
  634. package/dist/types/src/v4/controls/ObjectPageHeaderSection.js.map +1 -0
  635. package/dist/types/src/v4/controls/ObjectPageLayout.d.ts +18 -0
  636. package/dist/types/src/v4/controls/ObjectPageLayout.d.ts.map +1 -0
  637. package/dist/types/src/v4/controls/ObjectPageLayout.js +9 -0
  638. package/dist/types/src/v4/controls/ObjectPageLayout.js.map +1 -0
  639. package/dist/types/src/v4/controls/ObjectPageSection.d.ts +136 -0
  640. package/dist/types/src/v4/controls/ObjectPageSection.d.ts.map +1 -0
  641. package/dist/types/src/v4/controls/ObjectPageSection.js +16 -0
  642. package/dist/types/src/v4/controls/ObjectPageSection.js.map +1 -0
  643. package/dist/types/src/v4/controls/ObjectPageTable.d.ts +119 -0
  644. package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -0
  645. package/dist/types/src/v4/controls/ObjectPageTable.js +10 -0
  646. package/dist/types/src/v4/controls/ObjectPageTable.js.map +1 -0
  647. package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts +34 -0
  648. package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts.map +1 -0
  649. package/dist/types/src/v4/controls/ObjectPageToolBar.js +3 -0
  650. package/dist/types/src/v4/controls/ObjectPageToolBar.js.map +1 -0
  651. package/dist/types/src/v4/controls/Table.d.ts +317 -0
  652. package/dist/types/src/v4/controls/Table.d.ts.map +1 -0
  653. package/dist/types/src/v4/controls/Table.js +31 -0
  654. package/dist/types/src/v4/controls/Table.js.map +1 -0
  655. package/dist/types/src/v4/controls/ToolBar.d.ts +88 -0
  656. package/dist/types/src/v4/controls/ToolBar.d.ts.map +1 -0
  657. package/dist/types/src/v4/controls/ToolBar.js +9 -0
  658. package/dist/types/src/v4/controls/ToolBar.js.map +1 -0
  659. package/dist/types/src/v4/controls/index.d.ts +15 -0
  660. package/dist/types/src/v4/controls/index.d.ts.map +1 -0
  661. package/dist/types/src/v4/controls/index.js +31 -0
  662. package/dist/types/src/v4/controls/index.js.map +1 -0
  663. package/dist/types/src/v4/index.d.ts +7 -0
  664. package/dist/types/src/v4/index.d.ts.map +1 -0
  665. package/dist/types/src/v4/index.js +23 -0
  666. package/dist/types/src/v4/index.js.map +1 -0
  667. package/dist/types/src/v4/page.d.ts +31 -0
  668. package/dist/types/src/v4/page.d.ts.map +1 -0
  669. package/dist/types/src/v4/page.js +3 -0
  670. package/dist/types/src/v4/page.js.map +1 -0
  671. package/dist/types/src/v4/pages/FreestylePageConfigV4.d.ts +3 -0
  672. package/dist/types/src/v4/pages/FreestylePageConfigV4.d.ts.map +1 -0
  673. package/dist/types/src/v4/pages/FreestylePageConfigV4.js +3 -0
  674. package/dist/types/src/v4/pages/FreestylePageConfigV4.js.map +1 -0
  675. package/dist/types/src/v4/pages/ListReportConfigV4.d.ts +45 -0
  676. package/dist/types/src/v4/pages/ListReportConfigV4.d.ts.map +1 -0
  677. package/dist/types/src/v4/pages/ListReportConfigV4.js +10 -0
  678. package/dist/types/src/v4/pages/ListReportConfigV4.js.map +1 -0
  679. package/dist/types/src/v4/pages/ObjectPageConfigV4.d.ts +20 -0
  680. package/dist/types/src/v4/pages/ObjectPageConfigV4.d.ts.map +1 -0
  681. package/dist/types/src/v4/pages/ObjectPageConfigV4.js +9 -0
  682. package/dist/types/src/v4/pages/ObjectPageConfigV4.js.map +1 -0
  683. package/dist/types/src/v4/pages/index.d.ts +4 -0
  684. package/dist/types/src/v4/pages/index.d.ts.map +1 -0
  685. package/dist/types/src/v4/pages/index.js +20 -0
  686. package/dist/types/src/v4/pages/index.js.map +1 -0
  687. package/dist/types/src/v4/webapp/index.d.ts +2 -0
  688. package/dist/types/src/v4/webapp/index.d.ts.map +1 -0
  689. package/dist/types/src/v4/webapp/index.js +18 -0
  690. package/dist/types/src/v4/webapp/index.js.map +1 -0
  691. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts +224 -0
  692. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts.map +1 -0
  693. package/dist/types/src/v4/webapp/manifest/ManifestSettings.js +22 -0
  694. package/dist/types/src/v4/webapp/manifest/ManifestSettings.js.map +1 -0
  695. package/dist/types/src/v4/webapp/manifest/index.d.ts +4 -0
  696. package/dist/types/src/v4/webapp/manifest/index.d.ts.map +1 -0
  697. package/dist/types/src/v4/webapp/manifest/index.js +20 -0
  698. package/dist/types/src/v4/webapp/manifest/index.js.map +1 -0
  699. package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts +89 -0
  700. package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts.map +1 -0
  701. package/dist/types/src/v4/webapp/manifest/sapUi5.js +9 -0
  702. package/dist/types/src/v4/webapp/manifest/sapUi5.js.map +1 -0
  703. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts +108 -0
  704. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts.map +1 -0
  705. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js +15 -0
  706. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js.map +1 -0
  707. package/package.json +7 -7
  708. package/dist/package.json +0 -113
  709. package/dist/src/api.d.ts.map +0 -1
  710. package/dist/src/api.js +0 -264
  711. package/dist/src/api.js.map +0 -1
  712. package/dist/src/extensionLogger.d.ts.map +0 -1
  713. package/dist/src/extensionLogger.js.map +0 -1
  714. package/dist/src/i18n/i18n.d.ts.map +0 -1
  715. package/dist/src/i18n/i18n.js.map +0 -1
  716. package/dist/src/index.d.ts.map +0 -1
  717. package/dist/src/index.js.map +0 -1
  718. package/dist/src/project.d.ts.map +0 -1
  719. package/dist/src/project.js.map +0 -1
  720. package/dist/src/specification/schemaAccess.d.ts.map +0 -1
  721. package/dist/src/specification/schemaAccess.js.map +0 -1
  722. package/dist/src/sync/common/appProvider.d.ts.map +0 -1
  723. package/dist/src/sync/common/appProvider.js.map +0 -1
  724. package/dist/src/sync/common/decoration/control.d.ts.map +0 -1
  725. package/dist/src/sync/common/decoration/control.js +0 -239
  726. package/dist/src/sync/common/decoration/control.js.map +0 -1
  727. package/dist/src/sync/common/decoration/decorators.d.ts +0 -13
  728. package/dist/src/sync/common/decoration/decorators.d.ts.map +0 -1
  729. package/dist/src/sync/common/decoration/decorators.js +0 -52
  730. package/dist/src/sync/common/decoration/decorators.js.map +0 -1
  731. package/dist/src/sync/common/decoration/factory.d.ts.map +0 -1
  732. package/dist/src/sync/common/decoration/factory.js.map +0 -1
  733. package/dist/src/sync/common/decoration/flex.d.ts.map +0 -1
  734. package/dist/src/sync/common/decoration/flex.js.map +0 -1
  735. package/dist/src/sync/common/decoration/index.d.ts.map +0 -1
  736. package/dist/src/sync/common/decoration/index.js.map +0 -1
  737. package/dist/src/sync/common/distTagEvaluator.d.ts.map +0 -1
  738. package/dist/src/sync/common/distTagEvaluator.js.map +0 -1
  739. package/dist/src/sync/common/flexUtils.d.ts.map +0 -1
  740. package/dist/src/sync/common/flexUtils.js.map +0 -1
  741. package/dist/src/sync/common/generate/index.d.ts.map +0 -1
  742. package/dist/src/sync/common/generate/index.js.map +0 -1
  743. package/dist/src/sync/common/generate/objectPage.d.ts.map +0 -1
  744. package/dist/src/sync/common/generate/objectPage.js.map +0 -1
  745. package/dist/src/sync/common/generate/utils.d.ts +0 -233
  746. package/dist/src/sync/common/generate/utils.d.ts.map +0 -1
  747. package/dist/src/sync/common/generate/utils.js +0 -634
  748. package/dist/src/sync/common/generate/utils.js.map +0 -1
  749. package/dist/src/sync/common/i18n.json +0 -33
  750. package/dist/src/sync/common/import/utils.d.ts.map +0 -1
  751. package/dist/src/sync/common/import/utils.js.map +0 -1
  752. package/dist/src/sync/common/importProject.d.ts.map +0 -1
  753. package/dist/src/sync/common/importProject.js.map +0 -1
  754. package/dist/src/sync/common/index.d.ts.map +0 -1
  755. package/dist/src/sync/common/index.js.map +0 -1
  756. package/dist/src/sync/common/utils.d.ts.map +0 -1
  757. package/dist/src/sync/common/utils.js +0 -1535
  758. package/dist/src/sync/common/utils.js.map +0 -1
  759. package/dist/src/sync/i18n.d.ts.map +0 -1
  760. package/dist/src/sync/i18n.js.map +0 -1
  761. package/dist/src/sync/v2/application.d.ts.map +0 -1
  762. package/dist/src/sync/v2/application.js +0 -210
  763. package/dist/src/sync/v2/application.js.map +0 -1
  764. package/dist/src/sync/v2/export/controls/Action.d.ts.map +0 -1
  765. package/dist/src/sync/v2/export/controls/Action.js.map +0 -1
  766. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +0 -1
  767. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +0 -1
  768. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +0 -1
  769. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +0 -1
  770. package/dist/src/sync/v2/export/controls/Card.d.ts.map +0 -1
  771. package/dist/src/sync/v2/export/controls/Card.js.map +0 -1
  772. package/dist/src/sync/v2/export/controls/Field.d.ts.map +0 -1
  773. package/dist/src/sync/v2/export/controls/Field.js.map +0 -1
  774. package/dist/src/sync/v2/export/controls/FilterBar.d.ts.map +0 -1
  775. package/dist/src/sync/v2/export/controls/FilterBar.js +0 -280
  776. package/dist/src/sync/v2/export/controls/FilterBar.js.map +0 -1
  777. package/dist/src/sync/v2/export/controls/FormAction.d.ts.map +0 -1
  778. package/dist/src/sync/v2/export/controls/FormAction.js.map +0 -1
  779. package/dist/src/sync/v2/export/controls/Fragment.d.ts.map +0 -1
  780. package/dist/src/sync/v2/export/controls/Fragment.js.map +0 -1
  781. package/dist/src/sync/v2/export/controls/ObjectPageChart.d.ts.map +0 -1
  782. package/dist/src/sync/v2/export/controls/ObjectPageChart.js.map +0 -1
  783. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +0 -1
  784. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +0 -1
  785. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +0 -1
  786. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +0 -1
  787. package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts.map +0 -1
  788. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js +0 -72
  789. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +0 -1
  790. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +0 -1
  791. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +0 -1
  792. package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +0 -1
  793. package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +0 -1
  794. package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts.map +0 -1
  795. package/dist/src/sync/v2/export/controls/ObjectPageLayout.js.map +0 -1
  796. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +0 -41
  797. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts.map +0 -1
  798. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +0 -192
  799. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +0 -1
  800. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +0 -61
  801. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +0 -1
  802. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +0 -418
  803. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +0 -1
  804. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +0 -1
  805. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +0 -1
  806. package/dist/src/sync/v2/export/controls/Table.d.ts.map +0 -1
  807. package/dist/src/sync/v2/export/controls/Table.js.map +0 -1
  808. package/dist/src/sync/v2/export/controls/TableColumn.d.ts.map +0 -1
  809. package/dist/src/sync/v2/export/controls/TableColumn.js.map +0 -1
  810. package/dist/src/sync/v2/export/controls/ToolBar.d.ts.map +0 -1
  811. package/dist/src/sync/v2/export/controls/ToolBar.js.map +0 -1
  812. package/dist/src/sync/v2/export/controls/index.d.ts +0 -22
  813. package/dist/src/sync/v2/export/controls/index.d.ts.map +0 -1
  814. package/dist/src/sync/v2/export/controls/index.js +0 -38
  815. package/dist/src/sync/v2/export/controls/index.js.map +0 -1
  816. package/dist/src/sync/v2/export/export.d.ts.map +0 -1
  817. package/dist/src/sync/v2/export/export.js.map +0 -1
  818. package/dist/src/sync/v2/export/exportPage.d.ts.map +0 -1
  819. package/dist/src/sync/v2/export/exportPage.js.map +0 -1
  820. package/dist/src/sync/v2/export/factory.d.ts.map +0 -1
  821. package/dist/src/sync/v2/export/factory.js.map +0 -1
  822. package/dist/src/sync/v2/export/manifest.d.ts.map +0 -1
  823. package/dist/src/sync/v2/export/manifest.js.map +0 -1
  824. package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts.map +0 -1
  825. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +0 -1
  826. package/dist/src/sync/v2/export/pages/ListReport.d.ts.map +0 -1
  827. package/dist/src/sync/v2/export/pages/ListReport.js.map +0 -1
  828. package/dist/src/sync/v2/export/pages/ObjectPage.d.ts.map +0 -1
  829. package/dist/src/sync/v2/export/pages/ObjectPage.js.map +0 -1
  830. package/dist/src/sync/v2/export/pages/OverviewPage.d.ts.map +0 -1
  831. package/dist/src/sync/v2/export/pages/OverviewPage.js.map +0 -1
  832. package/dist/src/sync/v2/export/pages/index.d.ts.map +0 -1
  833. package/dist/src/sync/v2/export/pages/index.js.map +0 -1
  834. package/dist/src/sync/v2/export/view-controller-generator.d.ts.map +0 -1
  835. package/dist/src/sync/v2/export/view-controller-generator.js.map +0 -1
  836. package/dist/src/sync/v2/generate/analyticalListReport.d.ts +0 -10
  837. package/dist/src/sync/v2/generate/analyticalListReport.d.ts.map +0 -1
  838. package/dist/src/sync/v2/generate/analyticalListReport.js +0 -144
  839. package/dist/src/sync/v2/generate/analyticalListReport.js.map +0 -1
  840. package/dist/src/sync/v2/generate/generate.d.ts.map +0 -1
  841. package/dist/src/sync/v2/generate/generate.js.map +0 -1
  842. package/dist/src/sync/v2/generate/index.d.ts.map +0 -1
  843. package/dist/src/sync/v2/generate/index.js.map +0 -1
  844. package/dist/src/sync/v2/generate/listReport.d.ts.map +0 -1
  845. package/dist/src/sync/v2/generate/listReport.js +0 -127
  846. package/dist/src/sync/v2/generate/listReport.js.map +0 -1
  847. package/dist/src/sync/v2/generate/objectPage.d.ts.map +0 -1
  848. package/dist/src/sync/v2/generate/objectPage.js +0 -669
  849. package/dist/src/sync/v2/generate/objectPage.js.map +0 -1
  850. package/dist/src/sync/v2/generate/overviewPage.d.ts.map +0 -1
  851. package/dist/src/sync/v2/generate/overviewPage.js.map +0 -1
  852. package/dist/src/sync/v2/generate/utils.d.ts +0 -131
  853. package/dist/src/sync/v2/generate/utils.d.ts.map +0 -1
  854. package/dist/src/sync/v2/generate/utils.js +0 -653
  855. package/dist/src/sync/v2/generate/utils.js.map +0 -1
  856. package/dist/src/sync/v2/import/app/appProvider.d.ts.map +0 -1
  857. package/dist/src/sync/v2/import/app/appProvider.js.map +0 -1
  858. package/dist/src/sync/v2/import/app/ovpProvider.d.ts.map +0 -1
  859. package/dist/src/sync/v2/import/app/ovpProvider.js.map +0 -1
  860. package/dist/src/sync/v2/import/common/index.d.ts.map +0 -1
  861. package/dist/src/sync/v2/import/common/index.js +0 -445
  862. package/dist/src/sync/v2/import/common/index.js.map +0 -1
  863. package/dist/src/sync/v2/import/controls/table.d.ts.map +0 -1
  864. package/dist/src/sync/v2/import/controls/table.js.map +0 -1
  865. package/dist/src/sync/v2/import/getPageType.d.ts.map +0 -1
  866. package/dist/src/sync/v2/import/getPageType.js.map +0 -1
  867. package/dist/src/sync/v2/import/index.d.ts.map +0 -1
  868. package/dist/src/sync/v2/import/index.js.map +0 -1
  869. package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts.map +0 -1
  870. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +0 -1
  871. package/dist/src/sync/v2/import/pages/listReport.d.ts.map +0 -1
  872. package/dist/src/sync/v2/import/pages/listReport.js.map +0 -1
  873. package/dist/src/sync/v2/import/pages/objectPage.d.ts.map +0 -1
  874. package/dist/src/sync/v2/import/pages/objectPage.js.map +0 -1
  875. package/dist/src/sync/v2/import/pages/overviewPage.d.ts.map +0 -1
  876. package/dist/src/sync/v2/import/pages/overviewPage.js.map +0 -1
  877. package/dist/src/sync/v2/import/utils.d.ts.map +0 -1
  878. package/dist/src/sync/v2/import/utils.js.map +0 -1
  879. package/dist/src/sync/v2/types.d.ts +0 -84
  880. package/dist/src/sync/v2/types.d.ts.map +0 -1
  881. package/dist/src/sync/v2/types.js +0 -51
  882. package/dist/src/sync/v2/types.js.map +0 -1
  883. package/dist/src/sync/v4/application.d.ts.map +0 -1
  884. package/dist/src/sync/v4/application.js +0 -228
  885. package/dist/src/sync/v4/application.js.map +0 -1
  886. package/dist/src/sync/v4/export/controls/FilterBar.d.ts.map +0 -1
  887. package/dist/src/sync/v4/export/controls/FilterBar.js +0 -155
  888. package/dist/src/sync/v4/export/controls/FilterBar.js.map +0 -1
  889. package/dist/src/sync/v4/export/controls/Header.d.ts.map +0 -1
  890. package/dist/src/sync/v4/export/controls/Header.js.map +0 -1
  891. package/dist/src/sync/v4/export/controls/HeaderAction.d.ts.map +0 -1
  892. package/dist/src/sync/v4/export/controls/HeaderAction.js.map +0 -1
  893. package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts.map +0 -1
  894. package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.js.map +0 -1
  895. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +0 -1
  896. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +0 -1
  897. package/dist/src/sync/v4/export/controls/ObjectPageFooter.d.ts.map +0 -1
  898. package/dist/src/sync/v4/export/controls/ObjectPageFooter.js.map +0 -1
  899. package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.d.ts.map +0 -1
  900. package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.js +0 -124
  901. package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.js.map +0 -1
  902. package/dist/src/sync/v4/export/controls/ObjectPageForm.d.ts.map +0 -1
  903. package/dist/src/sync/v4/export/controls/ObjectPageForm.js +0 -48
  904. package/dist/src/sync/v4/export/controls/ObjectPageForm.js.map +0 -1
  905. package/dist/src/sync/v4/export/controls/ObjectPageFormAction.d.ts.map +0 -1
  906. package/dist/src/sync/v4/export/controls/ObjectPageFormAction.js.map +0 -1
  907. package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +0 -1
  908. package/dist/src/sync/v4/export/controls/ObjectPageHeader.js.map +0 -1
  909. package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts.map +0 -1
  910. package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.js +0 -105
  911. package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.js.map +0 -1
  912. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +0 -1
  913. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js +0 -66
  914. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +0 -1
  915. package/dist/src/sync/v4/export/controls/ObjectPageLayout.d.ts.map +0 -1
  916. package/dist/src/sync/v4/export/controls/ObjectPageLayout.js +0 -25
  917. package/dist/src/sync/v4/export/controls/ObjectPageLayout.js.map +0 -1
  918. package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +0 -1
  919. package/dist/src/sync/v4/export/controls/ObjectPageTable.js +0 -248
  920. package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +0 -1
  921. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +0 -1
  922. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +0 -151
  923. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +0 -1
  924. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +0 -1
  925. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +0 -1
  926. package/dist/src/sync/v4/export/controls/Table.d.ts +0 -156
  927. package/dist/src/sync/v4/export/controls/Table.d.ts.map +0 -1
  928. package/dist/src/sync/v4/export/controls/Table.js +0 -711
  929. package/dist/src/sync/v4/export/controls/Table.js.map +0 -1
  930. package/dist/src/sync/v4/export/controls/TableColumn.d.ts.map +0 -1
  931. package/dist/src/sync/v4/export/controls/TableColumn.js +0 -311
  932. package/dist/src/sync/v4/export/controls/TableColumn.js.map +0 -1
  933. package/dist/src/sync/v4/export/controls/ToolBar.d.ts.map +0 -1
  934. package/dist/src/sync/v4/export/controls/ToolBar.js.map +0 -1
  935. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +0 -43
  936. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts.map +0 -1
  937. package/dist/src/sync/v4/export/controls/ToolBarAction.js +0 -239
  938. package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +0 -1
  939. package/dist/src/sync/v4/export/controls/index.d.ts +0 -22
  940. package/dist/src/sync/v4/export/controls/index.d.ts.map +0 -1
  941. package/dist/src/sync/v4/export/controls/index.js +0 -38
  942. package/dist/src/sync/v4/export/controls/index.js.map +0 -1
  943. package/dist/src/sync/v4/export/export.d.ts.map +0 -1
  944. package/dist/src/sync/v4/export/export.js +0 -943
  945. package/dist/src/sync/v4/export/export.js.map +0 -1
  946. package/dist/src/sync/v4/export/exportCustomColumn.d.ts.map +0 -1
  947. package/dist/src/sync/v4/export/exportCustomColumn.js.map +0 -1
  948. package/dist/src/sync/v4/export/factory.d.ts.map +0 -1
  949. package/dist/src/sync/v4/export/factory.js +0 -61
  950. package/dist/src/sync/v4/export/factory.js.map +0 -1
  951. package/dist/src/sync/v4/export/flexibleColumnLayout.d.ts.map +0 -1
  952. package/dist/src/sync/v4/export/flexibleColumnLayout.js.map +0 -1
  953. package/dist/src/sync/v4/export/fpmCustomPage.d.ts.map +0 -1
  954. package/dist/src/sync/v4/export/fpmCustomPage.js +0 -175
  955. package/dist/src/sync/v4/export/fpmCustomPage.js.map +0 -1
  956. package/dist/src/sync/v4/export/manifest.d.ts.map +0 -1
  957. package/dist/src/sync/v4/export/manifest.js.map +0 -1
  958. package/dist/src/sync/v4/export/pages/FreestylePage.d.ts.map +0 -1
  959. package/dist/src/sync/v4/export/pages/FreestylePage.js.map +0 -1
  960. package/dist/src/sync/v4/export/pages/ListReport.d.ts.map +0 -1
  961. package/dist/src/sync/v4/export/pages/ListReport.js +0 -85
  962. package/dist/src/sync/v4/export/pages/ListReport.js.map +0 -1
  963. package/dist/src/sync/v4/export/pages/ObjectPage.d.ts.map +0 -1
  964. package/dist/src/sync/v4/export/pages/ObjectPage.js +0 -41
  965. package/dist/src/sync/v4/export/pages/ObjectPage.js.map +0 -1
  966. package/dist/src/sync/v4/export/pages/index.d.ts.map +0 -1
  967. package/dist/src/sync/v4/export/pages/index.js.map +0 -1
  968. package/dist/src/sync/v4/export/types.d.ts.map +0 -1
  969. package/dist/src/sync/v4/export/types.js.map +0 -1
  970. package/dist/src/sync/v4/export/utils.d.ts.map +0 -1
  971. package/dist/src/sync/v4/export/utils.js.map +0 -1
  972. package/dist/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +0 -1
  973. package/dist/src/sync/v4/generate/fpm-custom-page/annotations.js +0 -168
  974. package/dist/src/sync/v4/generate/fpm-custom-page/annotations.js.map +0 -1
  975. package/dist/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +0 -1
  976. package/dist/src/sync/v4/generate/fpm-custom-page/extensions.js.map +0 -1
  977. package/dist/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +0 -1
  978. package/dist/src/sync/v4/generate/fpm-custom-page/generator.js.map +0 -1
  979. package/dist/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts.map +0 -1
  980. package/dist/src/sync/v4/generate/fpm-custom-page/pageExtensions.js.map +0 -1
  981. package/dist/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +0 -1
  982. package/dist/src/sync/v4/generate/fpm-custom-page/utils.js.map +0 -1
  983. package/dist/src/sync/v4/generate/freestylePage.d.ts.map +0 -1
  984. package/dist/src/sync/v4/generate/freestylePage.js.map +0 -1
  985. package/dist/src/sync/v4/generate/generate.d.ts.map +0 -1
  986. package/dist/src/sync/v4/generate/generate.js.map +0 -1
  987. package/dist/src/sync/v4/generate/index.d.ts.map +0 -1
  988. package/dist/src/sync/v4/generate/index.js.map +0 -1
  989. package/dist/src/sync/v4/generate/listReport.d.ts.map +0 -1
  990. package/dist/src/sync/v4/generate/listReport.js +0 -891
  991. package/dist/src/sync/v4/generate/listReport.js.map +0 -1
  992. package/dist/src/sync/v4/generate/objectPage.d.ts.map +0 -1
  993. package/dist/src/sync/v4/generate/objectPage.js.map +0 -1
  994. package/dist/src/sync/v4/import/app/appProvider.d.ts.map +0 -1
  995. package/dist/src/sync/v4/import/app/appProvider.js.map +0 -1
  996. package/dist/src/sync/v4/import/app/index.d.ts.map +0 -1
  997. package/dist/src/sync/v4/import/app/index.js.map +0 -1
  998. package/dist/src/sync/v4/import/fragment.d.ts.map +0 -1
  999. package/dist/src/sync/v4/import/fragment.js.map +0 -1
  1000. package/dist/src/sync/v4/import/index.d.ts.map +0 -1
  1001. package/dist/src/sync/v4/import/index.js.map +0 -1
  1002. package/dist/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +0 -1
  1003. package/dist/src/sync/v4/import/pages/fpmCustomPage.js.map +0 -1
  1004. package/dist/src/sync/v4/import/pages/listReport.d.ts.map +0 -1
  1005. package/dist/src/sync/v4/import/pages/listReport.js.map +0 -1
  1006. package/dist/src/sync/v4/import/pages/objectPage.d.ts.map +0 -1
  1007. package/dist/src/sync/v4/import/pages/objectPage.js.map +0 -1
  1008. package/dist/src/sync/v4/import/utils.d.ts.map +0 -1
  1009. package/dist/src/sync/v4/import/utils.js.map +0 -1
  1010. package/dist/src/sync/v4/sync-rules/controllerExtensions.d.ts.map +0 -1
  1011. package/dist/src/sync/v4/sync-rules/controllerExtensions.js.map +0 -1
  1012. package/dist/src/sync/v4/types.d.ts.map +0 -1
  1013. package/dist/src/sync/v4/types.js.map +0 -1
  1014. package/dist/src/sync/v4/utils/StableIdHelper.d.ts.map +0 -1
  1015. package/dist/src/sync/v4/utils/StableIdHelper.js.map +0 -1
  1016. package/dist/src/sync/v4/utils/macros.d.ts.map +0 -1
  1017. package/dist/src/sync/v4/utils/macros.js.map +0 -1
  1018. package/dist/src/sync/v4/utils/utils.d.ts.map +0 -1
  1019. package/dist/src/sync/v4/utils/utils.js +0 -858
  1020. package/dist/src/sync/v4/utils/utils.js.map +0 -1
  1021. /package/dist/{src → specification/src}/api.d.ts +0 -0
  1022. /package/dist/{src → specification/src}/extensionLogger.d.ts +0 -0
  1023. /package/dist/{src → specification/src}/extensionLogger.js +0 -0
  1024. /package/dist/{src → specification/src}/i18n/i18n.d.ts +0 -0
  1025. /package/dist/{src → specification/src}/i18n/i18n.js +0 -0
  1026. /package/dist/{src → specification/src}/index.d.ts +0 -0
  1027. /package/dist/{src → specification/src}/index.js +0 -0
  1028. /package/dist/{src → specification/src}/project.d.ts +0 -0
  1029. /package/dist/{src → specification/src}/project.js +0 -0
  1030. /package/dist/{src → specification/src}/specification/schemaAccess.d.ts +0 -0
  1031. /package/dist/{src → specification/src}/specification/schemaAccess.js +0 -0
  1032. /package/dist/{src → specification/src}/sync/common/appProvider.d.ts +0 -0
  1033. /package/dist/{src → specification/src}/sync/common/appProvider.js +0 -0
  1034. /package/dist/{src → specification/src}/sync/common/decoration/control.d.ts +0 -0
  1035. /package/dist/{src → specification/src}/sync/common/decoration/factory.d.ts +0 -0
  1036. /package/dist/{src → specification/src}/sync/common/decoration/factory.js +0 -0
  1037. /package/dist/{src → specification/src}/sync/common/decoration/flex.d.ts +0 -0
  1038. /package/dist/{src → specification/src}/sync/common/decoration/flex.js +0 -0
  1039. /package/dist/{src → specification/src}/sync/common/decoration/index.d.ts +0 -0
  1040. /package/dist/{src → specification/src}/sync/common/decoration/index.js +0 -0
  1041. /package/dist/{src → specification/src}/sync/common/distTagEvaluator.d.ts +0 -0
  1042. /package/dist/{src → specification/src}/sync/common/distTagEvaluator.js +0 -0
  1043. /package/dist/{src → specification/src}/sync/common/dist_tag.json +0 -0
  1044. /package/dist/{src → specification/src}/sync/common/flexUtils.d.ts +0 -0
  1045. /package/dist/{src → specification/src}/sync/common/flexUtils.js +0 -0
  1046. /package/dist/{src → specification/src}/sync/common/generate/index.d.ts +0 -0
  1047. /package/dist/{src → specification/src}/sync/common/generate/index.js +0 -0
  1048. /package/dist/{src → specification/src}/sync/common/generate/objectPage.d.ts +0 -0
  1049. /package/dist/{src → specification/src}/sync/common/generate/objectPage.js +0 -0
  1050. /package/dist/{src → specification/src}/sync/common/import/utils.d.ts +0 -0
  1051. /package/dist/{src → specification/src}/sync/common/import/utils.js +0 -0
  1052. /package/dist/{src → specification/src}/sync/common/importProject.d.ts +0 -0
  1053. /package/dist/{src → specification/src}/sync/common/importProject.js +0 -0
  1054. /package/dist/{src → specification/src}/sync/common/index.d.ts +0 -0
  1055. /package/dist/{src → specification/src}/sync/common/index.js +0 -0
  1056. /package/dist/{src → specification/src}/sync/common/utils.d.ts +0 -0
  1057. /package/dist/{src → specification/src}/sync/i18n.d.ts +0 -0
  1058. /package/dist/{src → specification/src}/sync/i18n.js +0 -0
  1059. /package/dist/{src → specification/src}/sync/v2/application.d.ts +0 -0
  1060. /package/dist/{src → specification/src}/sync/v2/export/controls/Action.d.ts +0 -0
  1061. /package/dist/{src → specification/src}/sync/v2/export/controls/Action.js +0 -0
  1062. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageChart.d.ts +0 -0
  1063. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageChart.js +0 -0
  1064. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +0 -0
  1065. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageKPI.js +0 -0
  1066. /package/dist/{src → specification/src}/sync/v2/export/controls/Card.d.ts +0 -0
  1067. /package/dist/{src → specification/src}/sync/v2/export/controls/Card.js +0 -0
  1068. /package/dist/{src → specification/src}/sync/v2/export/controls/Field.d.ts +0 -0
  1069. /package/dist/{src → specification/src}/sync/v2/export/controls/Field.js +0 -0
  1070. /package/dist/{src → specification/src}/sync/v2/export/controls/FilterBar.d.ts +0 -0
  1071. /package/dist/{src → specification/src}/sync/v2/export/controls/FormAction.d.ts +0 -0
  1072. /package/dist/{src → specification/src}/sync/v2/export/controls/FormAction.js +0 -0
  1073. /package/dist/{src → specification/src}/sync/v2/export/controls/Fragment.d.ts +0 -0
  1074. /package/dist/{src → specification/src}/sync/v2/export/controls/Fragment.js +0 -0
  1075. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageChart.d.ts +0 -0
  1076. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageChart.js +0 -0
  1077. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageCustomSection.d.ts +0 -0
  1078. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageCustomSection.js +0 -0
  1079. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageFooterAction.d.ts +0 -0
  1080. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageFooterAction.js +0 -0
  1081. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeader.d.ts +0 -0
  1082. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +0 -0
  1083. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderAction.js +0 -0
  1084. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderSection.d.ts +0 -0
  1085. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderSection.js +0 -0
  1086. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageLayout.d.ts +0 -0
  1087. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageLayout.js +0 -0
  1088. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +0 -0
  1089. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageToolBarAction.js +0 -0
  1090. /package/dist/{src → specification/src}/sync/v2/export/controls/Table.d.ts +0 -0
  1091. /package/dist/{src → specification/src}/sync/v2/export/controls/Table.js +0 -0
  1092. /package/dist/{src → specification/src}/sync/v2/export/controls/TableColumn.d.ts +0 -0
  1093. /package/dist/{src → specification/src}/sync/v2/export/controls/TableColumn.js +0 -0
  1094. /package/dist/{src → specification/src}/sync/v2/export/controls/ToolBar.d.ts +0 -0
  1095. /package/dist/{src → specification/src}/sync/v2/export/controls/ToolBar.js +0 -0
  1096. /package/dist/{src → specification/src}/sync/v2/export/export.d.ts +0 -0
  1097. /package/dist/{src → specification/src}/sync/v2/export/export.js +0 -0
  1098. /package/dist/{src → specification/src}/sync/v2/export/exportPage.d.ts +0 -0
  1099. /package/dist/{src → specification/src}/sync/v2/export/exportPage.js +0 -0
  1100. /package/dist/{src → specification/src}/sync/v2/export/factory.d.ts +0 -0
  1101. /package/dist/{src → specification/src}/sync/v2/export/factory.js +0 -0
  1102. /package/dist/{src → specification/src}/sync/v2/export/manifest.d.ts +0 -0
  1103. /package/dist/{src → specification/src}/sync/v2/export/manifest.js +0 -0
  1104. /package/dist/{src → specification/src}/sync/v2/export/pages/AnalyticalListPage.d.ts +0 -0
  1105. /package/dist/{src → specification/src}/sync/v2/export/pages/AnalyticalListPage.js +0 -0
  1106. /package/dist/{src → specification/src}/sync/v2/export/pages/ListReport.d.ts +0 -0
  1107. /package/dist/{src → specification/src}/sync/v2/export/pages/ListReport.js +0 -0
  1108. /package/dist/{src → specification/src}/sync/v2/export/pages/ObjectPage.d.ts +0 -0
  1109. /package/dist/{src → specification/src}/sync/v2/export/pages/ObjectPage.js +0 -0
  1110. /package/dist/{src → specification/src}/sync/v2/export/pages/OverviewPage.d.ts +0 -0
  1111. /package/dist/{src → specification/src}/sync/v2/export/pages/OverviewPage.js +0 -0
  1112. /package/dist/{src → specification/src}/sync/v2/export/pages/index.d.ts +0 -0
  1113. /package/dist/{src → specification/src}/sync/v2/export/pages/index.js +0 -0
  1114. /package/dist/{src → specification/src}/sync/v2/export/view-controller-generator.d.ts +0 -0
  1115. /package/dist/{src → specification/src}/sync/v2/export/view-controller-generator.js +0 -0
  1116. /package/dist/{src → specification/src}/sync/v2/generate/generate.d.ts +0 -0
  1117. /package/dist/{src → specification/src}/sync/v2/generate/generate.js +0 -0
  1118. /package/dist/{src → specification/src}/sync/v2/generate/index.d.ts +0 -0
  1119. /package/dist/{src → specification/src}/sync/v2/generate/index.js +0 -0
  1120. /package/dist/{src → specification/src}/sync/v2/generate/listReport.d.ts +0 -0
  1121. /package/dist/{src → specification/src}/sync/v2/generate/objectPage.d.ts +0 -0
  1122. /package/dist/{src → specification/src}/sync/v2/generate/overviewPage.d.ts +0 -0
  1123. /package/dist/{src → specification/src}/sync/v2/generate/overviewPage.js +0 -0
  1124. /package/dist/{src → specification/src}/sync/v2/import/app/appProvider.d.ts +0 -0
  1125. /package/dist/{src → specification/src}/sync/v2/import/app/appProvider.js +0 -0
  1126. /package/dist/{src → specification/src}/sync/v2/import/app/ovpProvider.d.ts +0 -0
  1127. /package/dist/{src → specification/src}/sync/v2/import/app/ovpProvider.js +0 -0
  1128. /package/dist/{src → specification/src}/sync/v2/import/common/index.d.ts +0 -0
  1129. /package/dist/{src → specification/src}/sync/v2/import/controls/table.d.ts +0 -0
  1130. /package/dist/{src → specification/src}/sync/v2/import/controls/table.js +0 -0
  1131. /package/dist/{src → specification/src}/sync/v2/import/getPageType.d.ts +0 -0
  1132. /package/dist/{src → specification/src}/sync/v2/import/getPageType.js +0 -0
  1133. /package/dist/{src → specification/src}/sync/v2/import/index.d.ts +0 -0
  1134. /package/dist/{src → specification/src}/sync/v2/import/index.js +0 -0
  1135. /package/dist/{src → specification/src}/sync/v2/import/pages/analyticalListPage.d.ts +0 -0
  1136. /package/dist/{src → specification/src}/sync/v2/import/pages/analyticalListPage.js +0 -0
  1137. /package/dist/{src → specification/src}/sync/v2/import/pages/listReport.d.ts +0 -0
  1138. /package/dist/{src → specification/src}/sync/v2/import/pages/listReport.js +0 -0
  1139. /package/dist/{src → specification/src}/sync/v2/import/pages/objectPage.d.ts +0 -0
  1140. /package/dist/{src → specification/src}/sync/v2/import/pages/objectPage.js +0 -0
  1141. /package/dist/{src → specification/src}/sync/v2/import/pages/overviewPage.d.ts +0 -0
  1142. /package/dist/{src → specification/src}/sync/v2/import/pages/overviewPage.js +0 -0
  1143. /package/dist/{src → specification/src}/sync/v2/import/utils.d.ts +0 -0
  1144. /package/dist/{src → specification/src}/sync/v2/import/utils.js +0 -0
  1145. /package/dist/{src → specification/src}/sync/v4/application.d.ts +0 -0
  1146. /package/dist/{src → specification/src}/sync/v4/export/controls/FilterBar.d.ts +0 -0
  1147. /package/dist/{src → specification/src}/sync/v4/export/controls/Header.d.ts +0 -0
  1148. /package/dist/{src → specification/src}/sync/v4/export/controls/Header.js +0 -0
  1149. /package/dist/{src → specification/src}/sync/v4/export/controls/HeaderAction.d.ts +0 -0
  1150. /package/dist/{src → specification/src}/sync/v4/export/controls/HeaderAction.js +0 -0
  1151. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts +0 -0
  1152. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomHeaderSection.js +0 -0
  1153. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomSection.d.ts +0 -0
  1154. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomSection.js +0 -0
  1155. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFooter.d.ts +0 -0
  1156. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFooter.js +0 -0
  1157. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFooterAction.d.ts +0 -0
  1158. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageForm.d.ts +0 -0
  1159. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFormAction.d.ts +0 -0
  1160. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFormAction.js +0 -0
  1161. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeader.d.ts +0 -0
  1162. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeader.js +0 -0
  1163. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeaderAction.d.ts +0 -0
  1164. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +0 -0
  1165. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageLayout.d.ts +0 -0
  1166. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageTable.d.ts +0 -0
  1167. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageTableColumn.d.ts +0 -0
  1168. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +0 -0
  1169. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageToolBarAction.js +0 -0
  1170. /package/dist/{src → specification/src}/sync/v4/export/controls/TableColumn.d.ts +0 -0
  1171. /package/dist/{src → specification/src}/sync/v4/export/controls/ToolBar.d.ts +0 -0
  1172. /package/dist/{src → specification/src}/sync/v4/export/controls/ToolBar.js +0 -0
  1173. /package/dist/{src → specification/src}/sync/v4/export/export.d.ts +0 -0
  1174. /package/dist/{src → specification/src}/sync/v4/export/exportCustomColumn.d.ts +0 -0
  1175. /package/dist/{src → specification/src}/sync/v4/export/exportCustomColumn.js +0 -0
  1176. /package/dist/{src → specification/src}/sync/v4/export/factory.d.ts +0 -0
  1177. /package/dist/{src → specification/src}/sync/v4/export/flexibleColumnLayout.d.ts +0 -0
  1178. /package/dist/{src → specification/src}/sync/v4/export/flexibleColumnLayout.js +0 -0
  1179. /package/dist/{src → specification/src}/sync/v4/export/fpmCustomPage.d.ts +0 -0
  1180. /package/dist/{src → specification/src}/sync/v4/export/manifest.d.ts +0 -0
  1181. /package/dist/{src → specification/src}/sync/v4/export/manifest.js +0 -0
  1182. /package/dist/{src → specification/src}/sync/v4/export/pages/FreestylePage.d.ts +0 -0
  1183. /package/dist/{src → specification/src}/sync/v4/export/pages/FreestylePage.js +0 -0
  1184. /package/dist/{src → specification/src}/sync/v4/export/pages/ListReport.d.ts +0 -0
  1185. /package/dist/{src → specification/src}/sync/v4/export/pages/ObjectPage.d.ts +0 -0
  1186. /package/dist/{src → specification/src}/sync/v4/export/pages/index.d.ts +0 -0
  1187. /package/dist/{src → specification/src}/sync/v4/export/pages/index.js +0 -0
  1188. /package/dist/{src → specification/src}/sync/v4/export/types.d.ts +0 -0
  1189. /package/dist/{src → specification/src}/sync/v4/export/types.js +0 -0
  1190. /package/dist/{src → specification/src}/sync/v4/export/utils.d.ts +0 -0
  1191. /package/dist/{src → specification/src}/sync/v4/export/utils.js +0 -0
  1192. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/annotations.d.ts +0 -0
  1193. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/extensions.d.ts +0 -0
  1194. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/extensions.js +0 -0
  1195. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/generator.d.ts +0 -0
  1196. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/generator.js +0 -0
  1197. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts +0 -0
  1198. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/pageExtensions.js +0 -0
  1199. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/utils.d.ts +0 -0
  1200. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/utils.js +0 -0
  1201. /package/dist/{src → specification/src}/sync/v4/generate/freestylePage.d.ts +0 -0
  1202. /package/dist/{src → specification/src}/sync/v4/generate/freestylePage.js +0 -0
  1203. /package/dist/{src → specification/src}/sync/v4/generate/generate.d.ts +0 -0
  1204. /package/dist/{src → specification/src}/sync/v4/generate/generate.js +0 -0
  1205. /package/dist/{src → specification/src}/sync/v4/generate/index.d.ts +0 -0
  1206. /package/dist/{src → specification/src}/sync/v4/generate/index.js +0 -0
  1207. /package/dist/{src → specification/src}/sync/v4/generate/listReport.d.ts +0 -0
  1208. /package/dist/{src → specification/src}/sync/v4/generate/objectPage.d.ts +0 -0
  1209. /package/dist/{src → specification/src}/sync/v4/generate/objectPage.js +0 -0
  1210. /package/dist/{src → specification/src}/sync/v4/import/app/appProvider.d.ts +0 -0
  1211. /package/dist/{src → specification/src}/sync/v4/import/app/appProvider.js +0 -0
  1212. /package/dist/{src → specification/src}/sync/v4/import/app/index.d.ts +0 -0
  1213. /package/dist/{src → specification/src}/sync/v4/import/app/index.js +0 -0
  1214. /package/dist/{src → specification/src}/sync/v4/import/fragment.d.ts +0 -0
  1215. /package/dist/{src → specification/src}/sync/v4/import/fragment.js +0 -0
  1216. /package/dist/{src → specification/src}/sync/v4/import/index.d.ts +0 -0
  1217. /package/dist/{src → specification/src}/sync/v4/import/index.js +0 -0
  1218. /package/dist/{src → specification/src}/sync/v4/import/pages/fpmCustomPage.d.ts +0 -0
  1219. /package/dist/{src → specification/src}/sync/v4/import/pages/fpmCustomPage.js +0 -0
  1220. /package/dist/{src → specification/src}/sync/v4/import/pages/listReport.d.ts +0 -0
  1221. /package/dist/{src → specification/src}/sync/v4/import/pages/listReport.js +0 -0
  1222. /package/dist/{src → specification/src}/sync/v4/import/pages/objectPage.d.ts +0 -0
  1223. /package/dist/{src → specification/src}/sync/v4/import/pages/objectPage.js +0 -0
  1224. /package/dist/{src → specification/src}/sync/v4/import/utils.d.ts +0 -0
  1225. /package/dist/{src → specification/src}/sync/v4/import/utils.js +0 -0
  1226. /package/dist/{src → specification/src}/sync/v4/sync-rules/controllerExtensions.d.ts +0 -0
  1227. /package/dist/{src → specification/src}/sync/v4/sync-rules/controllerExtensions.js +0 -0
  1228. /package/dist/{src → specification/src}/sync/v4/types.d.ts +0 -0
  1229. /package/dist/{src → specification/src}/sync/v4/types.js +0 -0
  1230. /package/dist/{src → specification/src}/sync/v4/utils/StableIdHelper.d.ts +0 -0
  1231. /package/dist/{src → specification/src}/sync/v4/utils/StableIdHelper.js +0 -0
  1232. /package/dist/{src → specification/src}/sync/v4/utils/macros.d.ts +0 -0
  1233. /package/dist/{src → specification/src}/sync/v4/utils/macros.js +0 -0
  1234. /package/dist/{src → specification/src}/sync/v4/utils/utils.d.ts +0 -0
@@ -0,0 +1,1540 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.replaceNamespaces = exports.removeNamespaces = exports.getJSONPropertyByPath = exports.updatePropertyIndices = exports.isFeatureSupported = exports.getErrorMessage = exports.getDefinitionsRef = exports.getDefinitionKey = exports.convertActionKeyToStableId = exports.convertEnumToCSV = exports.arrayCombineMerge = exports.getNextTargetDefinition = exports.findMatchingKeysByAdditionalProperties = exports.generatePageId = exports.getSchemaFilePath = exports.deleteEmptyStructure = exports.getObjectPageFacetSection = exports.createDefaultSection = exports.addTargetTitleAndSectionDescription = exports.addSectionTitleAndDescription = exports.getTemplateTypeFromManifest = exports.determineV4Template = exports.determineV4PageTemplateType = exports.determineV2Template = exports.getVersionFromManifest = exports.getObjectPageFacets = exports.getObjectPageHeaderFacets = exports.getAnnotationPathUsingFullyQualifiedName = exports.getSchemaKeyOfLineItemRecord = exports.setManifestSectionByPathV4 = exports.getManifestSectionByPathV4 = exports.prepareValueForPath = exports.getSectionFacet = exports.getAnnotationFromMetaPath = exports.findAlias = exports.getPageTypeV4 = exports.getPageTypeV2 = exports.prepareRef = exports.getDataFieldDescription = exports.getLabelForDataField = exports.getLabelForPropertyPath = exports.evaluateCommonLabel = exports.getAnnotationPropertyValue = exports.parseAndMergeAndConvert = exports.createAnnotationPath = exports.arrayIncludes = exports.DEFINITION_LINK_PREFIX = void 0;
7
+ const ux_specification_types_1 = require("@sap/ux-specification-types");
8
+ const i18next_1 = __importDefault(require("i18next"));
9
+ const deepmerge_1 = __importDefault(require("deepmerge"));
10
+ const annotation_converter_1 = require("@sap-ux/annotation-converter");
11
+ const edmx_parser_1 = require("@sap-ux/edmx-parser");
12
+ const extensionLogger_1 = require("../../extensionLogger");
13
+ exports.DEFINITION_LINK_PREFIX = '#/definitions/';
14
+ const arrayIncludes = (arr, target) => target.every((v) => arr.includes(v));
15
+ exports.arrayIncludes = arrayIncludes;
16
+ /**
17
+ * Function returns annotation path for schema based on received params.
18
+ * @param entityTypeName - Entity type name.
19
+ * @param term - Annotation term.
20
+ * @param qualifier - Annotation qualifier.
21
+ * @returns Annotation path based on received params
22
+ */
23
+ const createAnnotationPath = (entityTypeName, term, qualifier) => {
24
+ if (!entityTypeName) {
25
+ return undefined;
26
+ }
27
+ let annotationPath = `/${entityTypeName}/@${term}`;
28
+ if (qualifier) {
29
+ annotationPath += `#${qualifier}`;
30
+ }
31
+ return annotationPath;
32
+ };
33
+ exports.createAnnotationPath = createAnnotationPath;
34
+ /**
35
+ * Parses, merges, and converts a list of annotation files with aid of tools from annotation-vocabularies-tools
36
+ * @param annotationFiles - The list of all annotation files, in JSON format
37
+ * @returns the complete service information
38
+ */
39
+ function parseAndMergeAndConvert(annotationFiles, logger) {
40
+ const parseResult = [];
41
+ let converterOutput;
42
+ if (annotationFiles) {
43
+ annotationFiles.forEach(function (annotationData) {
44
+ try {
45
+ parseResult.push((0, edmx_parser_1.parse)(annotationData.fileContent, annotationData.dataSourceUri));
46
+ }
47
+ catch (error) {
48
+ (0, extensionLogger_1.log)(logger, {
49
+ severity: "error" /* LogSeverity.Error */,
50
+ message: i18next_1.default.t('ANNOERR'),
51
+ location: { path: i18next_1.default.t('ANNOTATIONFILE', { file: annotationData.dataSourceUri }) }
52
+ }, error);
53
+ return converterOutput;
54
+ }
55
+ });
56
+ }
57
+ if (parseResult.length > 0) {
58
+ converterOutput = (0, annotation_converter_1.convert)((0, edmx_parser_1.merge)(...parseResult));
59
+ }
60
+ return converterOutput;
61
+ }
62
+ exports.parseAndMergeAndConvert = parseAndMergeAndConvert;
63
+ const getAnnotationPropertyValue = (annotationProperty) => annotationProperty?.value || annotationProperty?.path;
64
+ exports.getAnnotationPropertyValue = getAnnotationPropertyValue;
65
+ /**
66
+ * Checks for Common.Label and overwrites the label from it if present
67
+ * @param {PropertyAnnotations} annotations - property annotations
68
+ * @param {EntityType} entityType - entity type
69
+ * @param {string} label - label, to be actualized
70
+ */
71
+ function evaluateCommonLabel(annotations, entityType, label) {
72
+ if (annotations?.Common?.Label) {
73
+ if (typeof annotations.Common.Label === 'string') {
74
+ label = annotations.Common.Label;
75
+ }
76
+ else if (annotations.Common.Label['type'] === 'Path') {
77
+ const targetProperty = entityType && entityType.resolvePath(annotations.Common.Label['path']);
78
+ if (targetProperty?.value) {
79
+ label = targetProperty.value;
80
+ }
81
+ else if (typeof targetProperty?.Common?.Label === 'string') {
82
+ label = targetProperty.annotations.Common.Label;
83
+ }
84
+ }
85
+ else if (typeof annotations.Common?.Label?.toString() === 'string') {
86
+ label = annotations.Common.Label.toString();
87
+ }
88
+ }
89
+ return label;
90
+ }
91
+ exports.evaluateCommonLabel = evaluateCommonLabel;
92
+ /**
93
+ * Determines the label for a property path
94
+ * @param {PropertyPath} propertyPath - property path
95
+ * @param {EntityType} entityType - entity type
96
+ * @returns label, derived from Common.Label or from property value
97
+ */
98
+ function getLabelForPropertyPath(propertyPath, entityType) {
99
+ let label = propertyPath.value;
100
+ if (propertyPath.$target) {
101
+ label = evaluateCommonLabel(propertyPath.$target.annotations, entityType, label);
102
+ }
103
+ return label;
104
+ }
105
+ exports.getLabelForPropertyPath = getLabelForPropertyPath;
106
+ /**
107
+ * Determines the label for a LineItem record
108
+ * @param {DataFieldAbstractType} field - Line item record
109
+ * @param {EntityType} entityType - entity type
110
+ * @returns label, derived from Common.Label or from property value
111
+ */
112
+ function getLabelForDataField(field, entityType) {
113
+ let label, property;
114
+ if (field['Value']) {
115
+ if (typeof field['Value'] === 'string') {
116
+ property = entityType && entityType.entityProperties.find((ep) => ep.name === field['Value']);
117
+ }
118
+ else {
119
+ property = entityType && entityType.resolvePath(field['Value'].path);
120
+ if (!property) {
121
+ property = field['Value'].$target;
122
+ }
123
+ }
124
+ }
125
+ else if (field['Target'] && field['Target'].$target) {
126
+ if (field['Target'].$target.Value) {
127
+ property = field['Target'].$target.Value.$target;
128
+ }
129
+ else if (field['Target'].$target.Label) {
130
+ label = field['Target'].$target.Label;
131
+ }
132
+ }
133
+ if (property?.annotations?.Common?.Label) {
134
+ label = evaluateCommonLabel(property.annotations, entityType, label);
135
+ }
136
+ return label;
137
+ }
138
+ exports.getLabelForDataField = getLabelForDataField;
139
+ /**
140
+ * Function to resolve the dataField label
141
+ * @param dataFieldLabel - Given dataField label; might be of type string, or an object in case of a path reference
142
+ * @param entityType - the entity type as part of the AVT ConvertedMetadata
143
+ * @returns undefined or the right string value
144
+ */
145
+ function getLabel(dataFieldLabel, entityType) {
146
+ if (typeof dataFieldLabel === 'string') {
147
+ return dataFieldLabel;
148
+ }
149
+ else if (typeof dataFieldLabel === 'object' && dataFieldLabel.path) {
150
+ const property = entityType && entityType.resolvePath(dataFieldLabel.path);
151
+ if (!property || property.length === 0) {
152
+ return undefined;
153
+ }
154
+ else {
155
+ const singleProperty = property[0];
156
+ if (singleProperty?.annotations?.Common?.Label) {
157
+ const label = dataFieldLabel;
158
+ return evaluateCommonLabel(singleProperty.annotations, entityType, label);
159
+ }
160
+ }
161
+ }
162
+ else {
163
+ return undefined;
164
+ }
165
+ }
166
+ function getTitleForDataField(dataField, entityType, dataFieldLabel) {
167
+ const propertyCommonLabel = getLabelForDataField(dataField, entityType);
168
+ return (dataFieldLabel ||
169
+ propertyCommonLabel ||
170
+ (dataField.Value.$target ? dataField.Value.$target.name : dataField.Value.value || dataField.Value.path));
171
+ }
172
+ /**
173
+ * Determines the description of a data field, e.g. for the column header
174
+ * @param dataFieldAbstract - the given record of the line item annotation
175
+ * @param entityType - the entity type as part of the AVT ConvertedMetadata
176
+ */
177
+ function getDataFieldDescription(dataFieldAbstract, entityType) {
178
+ let title = '', propertyCommonLabel, dataField, actionName = '';
179
+ try {
180
+ const dataFieldLabel = getLabel(dataFieldAbstract.Label, entityType);
181
+ switch (dataFieldAbstract.$Type) {
182
+ case "com.sap.vocabularies.UI.v1.DataField" /* UIAnnotationTypes.DataField */:
183
+ title = getTitleForDataField(dataFieldAbstract, entityType, dataFieldLabel);
184
+ break;
185
+ case "com.sap.vocabularies.UI.v1.DataFieldWithUrl" /* UIAnnotationTypes.DataFieldWithUrl */:
186
+ propertyCommonLabel = getLabelForDataField(dataFieldAbstract, entityType);
187
+ title =
188
+ dataFieldLabel ||
189
+ propertyCommonLabel ||
190
+ (typeof dataFieldAbstract.Value === 'string'
191
+ ? dataFieldAbstract.Value
192
+ : dataFieldAbstract.Value.path);
193
+ break;
194
+ case "com.sap.vocabularies.UI.v1.DataFieldForAnnotation" /* UIAnnotationTypes.DataFieldForAnnotation */:
195
+ dataField = dataFieldAbstract;
196
+ propertyCommonLabel = getLabelForDataField(dataFieldAbstract, entityType);
197
+ title =
198
+ dataFieldLabel ||
199
+ propertyCommonLabel ||
200
+ dataField.Target?.$target?.Title ||
201
+ dataField.Target?.value.split('UI.v1.')[1];
202
+ break;
203
+ case "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */:
204
+ case "com.sap.vocabularies.UI.v1.DataFieldWithAction" /* UIAnnotationTypes.DataFieldWithAction */:
205
+ case "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* UIAnnotationTypes.DataFieldForIntentBasedNavigation */:
206
+ dataField = dataFieldAbstract;
207
+ actionName = typeof dataFieldAbstract.Action === 'string' ? dataField.Action : dataField.Action?.path;
208
+ if (dataFieldLabel) {
209
+ title = typeof dataFieldLabel === 'string' ? dataFieldLabel : actionName;
210
+ }
211
+ else {
212
+ title = actionName;
213
+ }
214
+ break;
215
+ case "com.sap.vocabularies.UI.v1.DataFieldWithIntentBasedNavigation" /* UIAnnotationTypes.DataFieldWithIntentBasedNavigation */:
216
+ propertyCommonLabel = getLabelForDataField(dataFieldAbstract, entityType);
217
+ title = propertyCommonLabel || dataFieldAbstract.Value.path;
218
+ break;
219
+ case "com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath" /* UIAnnotationTypes.DataFieldWithNavigationPath */:
220
+ dataField = dataFieldAbstract;
221
+ title = getTitleForDataField(dataField, entityType, dataFieldLabel);
222
+ break;
223
+ default:
224
+ break;
225
+ }
226
+ return title;
227
+ }
228
+ catch (error) {
229
+ return title;
230
+ }
231
+ }
232
+ exports.getDataFieldDescription = getDataFieldDescription;
233
+ /**
234
+ * Prepare string for reference use in schema
235
+ * @param refInput string to be character checked and replaced
236
+ * @returns string with replaced characters
237
+ */
238
+ function prepareRef(refInput) {
239
+ return refInput.replace('#', '::').replace(/\//g, ':2f');
240
+ }
241
+ exports.prepareRef = prepareRef;
242
+ /**
243
+ * Return the page type for a given V2 page in manifest
244
+ * @param name - page component name
245
+ */
246
+ function getPageTypeV2(name) {
247
+ if (name) {
248
+ const templatePart = `${ux_specification_types_1.v2.FE_TEMPLATE_V2}.`;
249
+ return name.split(templatePart)[1];
250
+ }
251
+ }
252
+ exports.getPageTypeV2 = getPageTypeV2;
253
+ /**
254
+ * Return the page type for a given V4 page in manifest
255
+ * @param name - page component name
256
+ */
257
+ function getPageTypeV4(v4App) {
258
+ if (v4App.name && v4App.name !== ux_specification_types_1.v4.FE_TEMPLATE_V4_CUSTOM_PAGE) {
259
+ const templatePart = `${ux_specification_types_1.v4.FE_TEMPLATE_V4}.`;
260
+ return v4App.name.split(templatePart)[1];
261
+ }
262
+ else if (v4App?.name === ux_specification_types_1.v4.FE_TEMPLATE_V4_CUSTOM_PAGE) {
263
+ return ux_specification_types_1.PageTypeV4.FPMCustomPage;
264
+ }
265
+ else if (v4App.viewId ||
266
+ v4App.viewName) {
267
+ return ux_specification_types_1.PageTypeV4.CustomPage;
268
+ }
269
+ }
270
+ exports.getPageTypeV4 = getPageTypeV4;
271
+ function getTargetAnnotationName(targetAnnotation, keyForRelatedFacetKeys = false) {
272
+ const termWithQualifier = `${targetAnnotation.term}#${targetAnnotation.qualifier}`;
273
+ return `${!keyForRelatedFacetKeys ? '@' : ''}${targetAnnotation.qualifier ? termWithQualifier : targetAnnotation.term}`;
274
+ }
275
+ /**
276
+ * Finds the alias for a given namespace in the references' section of the converted service metadata
277
+ * @param {string} namespace - complete namespace, e.g. 'com.sap.vocabularies.UI.v1'
278
+ * @param {ConvertedMetadata} oDataServiceAVT - combined service metadata, as returned by annotation vocabularies tools
279
+ * @returns alias for the given namespace
280
+ */
281
+ function findAlias(namespace, oDataServiceAVT) {
282
+ if (!oDataServiceAVT) {
283
+ return;
284
+ }
285
+ let aliasReference = oDataServiceAVT.references.find((reference) => {
286
+ return reference.namespace === namespace;
287
+ });
288
+ if (!aliasReference) {
289
+ aliasReference = oDataServiceAVT.references.find((reference) => {
290
+ return reference.alias === namespace;
291
+ });
292
+ }
293
+ if (!aliasReference) {
294
+ aliasReference = oDataServiceAVT.references.find((reference) => {
295
+ return (reference.alias.toUpperCase() ===
296
+ namespace.split('SAP__')[namespace.split('SAP__').length - 1].toUpperCase());
297
+ });
298
+ }
299
+ return aliasReference?.alias;
300
+ }
301
+ exports.findAlias = findAlias;
302
+ /**
303
+ * Method returns annotation from passed meta path.
304
+ * @param metaPath - annotation meta path
305
+ * @returns annotation name
306
+ */
307
+ function getAnnotationFromMetaPath(metaPath) {
308
+ return metaPath.substring(metaPath.lastIndexOf('.') + 1, metaPath.length);
309
+ }
310
+ exports.getAnnotationFromMetaPath = getAnnotationFromMetaPath;
311
+ /**
312
+ * Determines the target annotation
313
+ * @param navigationParts - parts of the target annotation path
314
+ * @param entityType - entity type
315
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
316
+ * @returns the target annotation
317
+ */
318
+ function determineTargetAnnotation(navigationParts, entityType, oDataServiceAVT) {
319
+ const lastNavigationPart = navigationParts[navigationParts.length - 1];
320
+ const annotation = getAnnotationFromMetaPath(lastNavigationPart);
321
+ const alias = findAlias(lastNavigationPart.substring(0, lastNavigationPart.lastIndexOf('.')).replace('@', ''), oDataServiceAVT);
322
+ return entityType?.annotations?.[alias]?.[annotation];
323
+ }
324
+ /**
325
+ * Adjust key by considering navigation
326
+ * @param key - given key
327
+ * @param keyForRelatedFacetKeys - construct key for 'keyForRelatedFacetKeys' property(used to define custom sections) - we should not add '@' symbol there.
328
+ * @param navigationParts - parts of the target annotation path
329
+ */
330
+ function adjustKey(key, navigationParts, keyForRelatedFacetKeys) {
331
+ const uiClass = navigationParts[navigationParts.length - 1].split('#')[0];
332
+ if (uiClass.includes('.LineItem')) {
333
+ const pathParts = key.split('::');
334
+ pathParts[pathParts.length - 1] = `${!keyForRelatedFacetKeys ? '@' : ''}${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
335
+ key = pathParts.join('::');
336
+ }
337
+ else {
338
+ key = uiClass.replace('@UI', `${!keyForRelatedFacetKeys ? '@' : ''}${ux_specification_types_1.UIVOCABULARY}`);
339
+ }
340
+ return key;
341
+ }
342
+ function getKeyAndEntityTypeOfReferenceFacet(oDataServiceAVT, key, entityType, propertyValue, oDataVersion = ux_specification_types_1.FioriElementsVersion.v2, keyForRelatedFacetKeys = false) {
343
+ let stopProcessing = false;
344
+ let namespace;
345
+ const navigationParts = propertyValue.split('/');
346
+ const navigation = navigationParts.length > 1;
347
+ if (navigation && entityType) {
348
+ entityType = entityType.resolvePath(propertyValue.substring(0, propertyValue.lastIndexOf('/')))?.targetType;
349
+ }
350
+ key = adjustKey(key, navigationParts, keyForRelatedFacetKeys);
351
+ const targetAnnotation = determineTargetAnnotation(navigationParts, entityType, oDataServiceAVT);
352
+ if (targetAnnotation) {
353
+ const separator = oDataVersion === ux_specification_types_1.FioriElementsVersion.v2 ? '::' : '#';
354
+ key = getTargetAnnotationName(targetAnnotation, keyForRelatedFacetKeys).replace('#', separator);
355
+ namespace = targetAnnotation.fullyQualifiedName?.split('@')[0];
356
+ }
357
+ else {
358
+ stopProcessing = true;
359
+ return { key, entityType, stopProcessing, namespace };
360
+ }
361
+ if (navigation) {
362
+ const navSeparator = oDataVersion === ux_specification_types_1.FioriElementsVersion.v2 ? '::' : '/';
363
+ navigationParts.pop();
364
+ const navigationIDs = [...navigationParts].join(navSeparator);
365
+ key = `${navigationIDs}${navSeparator}${key}`;
366
+ }
367
+ return { key, entityType, stopProcessing, namespace };
368
+ }
369
+ /**
370
+ * Resolve page section(get key and label->description).
371
+ * @param facetDefinition - the actual annotation record
372
+ * @param keyForRelatedFacetKeys - construct key for 'keyForRelatedFacetKeys' property(used to define custom sections) - we should not add '@' symbol there.
373
+ * @param {FioriElementsVersion} oDataVersion - OData version
374
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
375
+ * @param {ExtensionLogger} logger - Logger class for logging messages
376
+ * @returns {FacetSection} - object comprising the relevant facet information
377
+ */
378
+ function getSectionFacet(facetDefinition, sourceEntityType, oDataServiceAVT, logger, oDataVersion = ux_specification_types_1.FioriElementsVersion.v2, keyForRelatedFacetKeys = false) {
379
+ //Take facet ID as fallback
380
+ const facetName = facetDefinition.fullyQualifiedName?.substring(facetDefinition.fullyQualifiedName?.lastIndexOf('@'));
381
+ let key = facetDefinition.ID ? facetDefinition.ID.toString() : facetName;
382
+ let namespace = facetDefinition.fullyQualifiedName?.split('@')[0];
383
+ let entityType = sourceEntityType; //default
384
+ //If reference facet: overwrite with target annotation if present
385
+ if (facetDefinition.$Type !== "com.sap.vocabularies.UI.v1.CollectionFacet" /* UIAnnotationTypes.CollectionFacet */ && 'Target' in facetDefinition) {
386
+ const propertyValue = (0, exports.getAnnotationPropertyValue)(facetDefinition.Target);
387
+ if (!propertyValue) {
388
+ (0, extensionLogger_1.log)(logger, {
389
+ severity: "error" /* LogSeverity.Error */,
390
+ message: i18next_1.default.t('NOTARGET', { target: facetDefinition.Target })
391
+ });
392
+ return;
393
+ }
394
+ const { key: newKey, entityType: newEntityType, stopProcessing, namespace: sectionNameSpace } = getKeyAndEntityTypeOfReferenceFacet(oDataServiceAVT, key, entityType, propertyValue, oDataVersion, keyForRelatedFacetKeys);
395
+ if (stopProcessing) {
396
+ return;
397
+ }
398
+ key = newKey;
399
+ entityType = newEntityType;
400
+ namespace = sectionNameSpace;
401
+ }
402
+ key = key.replace(/\//gi, '::');
403
+ if (key) {
404
+ return {
405
+ key,
406
+ ...(facetDefinition.Label && { label: facetDefinition.Label.toString() }),
407
+ ...(facetDefinition.ID && { ID: facetDefinition.ID.toString() }),
408
+ entityType,
409
+ namespace
410
+ };
411
+ }
412
+ else {
413
+ return undefined;
414
+ }
415
+ }
416
+ exports.getSectionFacet = getSectionFacet;
417
+ /**
418
+ * Decodes encoded path element and returns it in form as used in manifest settings
419
+ * @param {string} pathElement - path of the property in the manifest
420
+ * @param {string} targetAnnotation - target annotation (optional)
421
+ * @param {string} targetAnnotationEncoded - target annotation in its encoded form, as used in manifest settings (optional)
422
+ * @returns returns decoded element (manifest setting key)
423
+ */
424
+ function getDecodedPathElement(pathElement, targetAnnotation, targetAnnotationEncoded) {
425
+ let decodedElement;
426
+ if (targetAnnotationEncoded && targetAnnotationEncoded === pathElement) {
427
+ decodedElement = targetAnnotation;
428
+ }
429
+ else {
430
+ decodedElement = pathElement.replace(/\?\?/g, '/');
431
+ }
432
+ return decodedElement;
433
+ }
434
+ /**
435
+ * Method prepares value as empty object or array based on passed path.
436
+ * For array path should end with '[]'.
437
+ * @param {string} path - path of the property in the manifest
438
+ * @returns prepared value based on passed path
439
+ */
440
+ const prepareValueForPath = (path) => {
441
+ if (path?.endsWith('[]')) {
442
+ return [];
443
+ }
444
+ return {};
445
+ };
446
+ exports.prepareValueForPath = prepareValueForPath;
447
+ /**
448
+ * Method find object by given path in format "sap.ui5/extends/extensions".
449
+ * An empty object is created if the path element does not exist yet.
450
+ * Exception: if an empty array is the next element of the 'path' definition, an empty array is created instead of an empty object.
451
+ * @param {object} manifest - manifest that is being modified during export
452
+ * @param {string} path - path of the property in the manifest
453
+ * @param {string} targetAnnotation - target annotation (optional)
454
+ * @param {string} targetAnnotationEncoded - target annotation in its encoded form, as used in manifest settings
455
+ * @param {boolean} value - specific value to apply for unexisting property for given path
456
+ * @param {boolean} [readOnly=false] - indicates if the function should create object/array if existing value not found by given path
457
+ * @returns returns section of the manifest based on path
458
+ */
459
+ const resolveManifestPath = (manifest, path, targetAnnotation, targetAnnotationEncoded, value, readOnly = false) => {
460
+ if (!path) {
461
+ return undefined;
462
+ }
463
+ let manifestSection = manifest;
464
+ const pathElements = path.split('/');
465
+ for (let index = 0; index < pathElements.length; index++) {
466
+ const element = pathElements[index];
467
+ if (element === '[]') {
468
+ continue;
469
+ }
470
+ const decodedElement = getDecodedPathElement(element, targetAnnotation, targetAnnotationEncoded);
471
+ if (value !== undefined && !readOnly && pathElements.length - 1 === index) {
472
+ // Apply or overwrite if value passed
473
+ manifestSection[decodedElement] = value;
474
+ }
475
+ else if (!manifestSection[decodedElement]) {
476
+ if (readOnly) {
477
+ return undefined;
478
+ }
479
+ manifestSection[decodedElement] = (0, exports.prepareValueForPath)(pathElements[index + 1]);
480
+ }
481
+ if (typeof manifestSection[decodedElement] === 'string' && (!value || index < pathElements.length - 1)) {
482
+ manifestSection[decodedElement] = {};
483
+ }
484
+ else {
485
+ manifestSection = manifestSection[decodedElement];
486
+ }
487
+ }
488
+ return manifestSection;
489
+ };
490
+ /**
491
+ * Finds the alias for a given namespace in the references' section of the converted service metadata.
492
+ * An empty object is created if the path element does not exist yet.
493
+ * Exception: if an empty array is the next element of the 'path' definition, an empty array is created instead of an empty object.
494
+ * @param {object} manifest - manifest that is being modified during export
495
+ * @param {string} path - path of the property in the manifest
496
+ * @param {string} targetAnnotation - target annotation (optional)
497
+ * @param {string} targetAnnotationEncoded - target annotation in its encoded form, as used in manifest settings
498
+ * @param {boolean} [readOnly=false] - indicates if the function should create object/array if existing value not found by given path
499
+ * @returns returns section of the manifest based on path, generates an empty object in case it does not exists
500
+ */
501
+ const getManifestSectionByPathV4 = (manifest, path, targetAnnotation, targetAnnotationEncoded, readOnly = false) => {
502
+ return resolveManifestPath(manifest, path, targetAnnotation, targetAnnotationEncoded, undefined, readOnly);
503
+ };
504
+ exports.getManifestSectionByPathV4 = getManifestSectionByPathV4;
505
+ /**
506
+ * Method sets value for passed path in manifest.
507
+ * @param {object} manifest - manifest that is being modified during export
508
+ * @param {string} path - path of the property in the manifest
509
+ * @param {unknown} value - value to apply
510
+ * @param {string} targetAnnotation - target annotation (optional)
511
+ * @param {string} targetAnnotationEncoded - target annotation in its encoded form, as used in manifest settings
512
+ */
513
+ const setManifestSectionByPathV4 = (manifest, path, value, targetAnnotation, targetAnnotationEncoded) => {
514
+ resolveManifestPath(manifest, path, targetAnnotation, targetAnnotationEncoded, value);
515
+ };
516
+ exports.setManifestSectionByPathV4 = setManifestSectionByPathV4;
517
+ function getSchemaKeyOfLineItemRecord(lineItemRecord) {
518
+ let schemaKey, target, value;
519
+ switch (lineItemRecord.$Type) {
520
+ case "com.sap.vocabularies.UI.v1.DataField" /* UIAnnotationTypes.DataField */:
521
+ schemaKey = (0, exports.getAnnotationPropertyValue)(lineItemRecord.Value);
522
+ break;
523
+ case "com.sap.vocabularies.UI.v1.DataFieldWithUrl" /* UIAnnotationTypes.DataFieldWithUrl */:
524
+ schemaKey =
525
+ typeof lineItemRecord.Value === 'string'
526
+ ? lineItemRecord.Value
527
+ : (0, exports.getAnnotationPropertyValue)(lineItemRecord.Value);
528
+ break;
529
+ case "com.sap.vocabularies.UI.v1.DataFieldForAnnotation" /* UIAnnotationTypes.DataFieldForAnnotation */:
530
+ target = lineItemRecord.Target.value;
531
+ if (target) {
532
+ schemaKey =
533
+ 'DataFieldForAnnotation:::sTarget::' +
534
+ target
535
+ .replace('@UI', `@${ux_specification_types_1.UIVOCABULARY}`)
536
+ .replace('@Communication', '@com.sap.vocabularies.Communication.v1')
537
+ .replace('@Contact', '@com.sap.vocabularies.Contact.v1');
538
+ }
539
+ break;
540
+ case "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */:
541
+ if (lineItemRecord.Inline) {
542
+ schemaKey = `DataFieldForAction:::sAction::${prepareRef(lineItemRecord.Action)}`;
543
+ }
544
+ break;
545
+ case "com.sap.vocabularies.UI.v1.DataFieldWithIntentBasedNavigation" /* UIAnnotationTypes.DataFieldWithIntentBasedNavigation */:
546
+ value = (0, exports.getAnnotationPropertyValue)(lineItemRecord.Value);
547
+ schemaKey = `DataFieldWithIntentBasedNavigation:::sProperty::${value}:::sSemanticObject::${lineItemRecord.SemanticObject}:::sAction::${lineItemRecord.Action}`;
548
+ break;
549
+ case "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* UIAnnotationTypes.DataFieldForIntentBasedNavigation */:
550
+ if (lineItemRecord.Inline) {
551
+ schemaKey = `DataFieldForIntentBasedNavigation:::sSemanticObject::${lineItemRecord.SemanticObject}:::sAction::${prepareRef(lineItemRecord.Action)}`;
552
+ }
553
+ break;
554
+ case "com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath" /* UIAnnotationTypes.DataFieldWithNavigationPath */:
555
+ value = (0, exports.getAnnotationPropertyValue)(lineItemRecord.Value);
556
+ target = (0, exports.getAnnotationPropertyValue)(lineItemRecord.Target);
557
+ schemaKey = 'DataFieldWithNavigationPath:::sProperty::' + value + ':::sTarget::' + target;
558
+ break;
559
+ default:
560
+ break;
561
+ }
562
+ return schemaKey;
563
+ }
564
+ exports.getSchemaKeyOfLineItemRecord = getSchemaKeyOfLineItemRecord;
565
+ /**
566
+ * Determines if type of given annotation term is of UIAnnotationTerm
567
+ * @param {string} path path in manifest
568
+ * @param {string} alias for a given namespace
569
+ * @param {EntityType} entityType - the entity type
570
+ * @returns UI annotation term type
571
+ */
572
+ function getUIAnnotationTerm(path, alias, entityType) {
573
+ if (path.includes("com.sap.vocabularies.UI.v1.Chart" /* UIAnnotationTerms.Chart */) || path.includes(alias + '.Chart')) {
574
+ return "com.sap.vocabularies.UI.v1.Chart" /* UIAnnotationTerms.Chart */;
575
+ }
576
+ else if (path.includes("com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */) || path.includes(alias + '.Identification')) {
577
+ return "com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */;
578
+ }
579
+ else if ((entityType && path.includes("com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */)) || path.includes(alias + '.LineItem')) {
580
+ return "com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */;
581
+ }
582
+ else if (path.includes("com.sap.vocabularies.UI.v1.FieldGroup" /* UIAnnotationTerms.FieldGroup */) || path.includes(alias + '.FieldGroup')) {
583
+ return "com.sap.vocabularies.UI.v1.FieldGroup" /* UIAnnotationTerms.FieldGroup */;
584
+ }
585
+ else if (path.includes("com.sap.vocabularies.UI.v1.DataPoint" /* UIAnnotationTerms.DataPoint */) || path.includes(alias + '.DataPoint')) {
586
+ return "com.sap.vocabularies.UI.v1.DataPoint" /* UIAnnotationTerms.DataPoint */;
587
+ }
588
+ else if (path.includes("com.sap.vocabularies.UI.v1.PresentationVariant" /* UIAnnotationTerms.PresentationVariant */) || path.includes(alias + '.PresentationVariant')) {
589
+ return "com.sap.vocabularies.UI.v1.PresentationVariant" /* UIAnnotationTerms.PresentationVariant */;
590
+ }
591
+ else {
592
+ return undefined;
593
+ }
594
+ }
595
+ /**
596
+ * Determines if type of given annotation term is of CommunicationAnnotationTerm
597
+ * @param {string} path path in manifest
598
+ * @param {string} alias for a given namespace
599
+ * @param {EntityType} entityType - the entity type
600
+ * @returns Communication annotation term type
601
+ */
602
+ function getCommunicationAnnotationTerm(path, alias) {
603
+ if (path.includes('com.sap.vocabularies.Communication.v1.Contact') || path.includes(alias + '.Contact')) {
604
+ return "com.sap.vocabularies.Communication.v1.Contact" /* CommunicationAnnotationTerms.Contact */;
605
+ }
606
+ else if (path.includes('com.sap.vocabularies.Communication.v1.Address') || path.includes(alias + '.Address')) {
607
+ return "com.sap.vocabularies.Communication.v1.Address" /* CommunicationAnnotationTerms.Address */;
608
+ }
609
+ else {
610
+ return undefined;
611
+ }
612
+ }
613
+ /**
614
+ * Determines the type of given annotation term
615
+ * @param {string} path path in manifest
616
+ * @param {string} alias for a given namespace
617
+ * @param {EntityType} entityType - the entity type
618
+ * @returns annotation term type
619
+ */
620
+ function getAnnotationTerm(path, alias, entityType) {
621
+ return getUIAnnotationTerm(path, alias, entityType) || getCommunicationAnnotationTerm(path, alias);
622
+ }
623
+ /**
624
+ * Evaluates the target annotation of a reference facet and actualizes the facets for the config
625
+ * @param {AnnotationTerm} annotationRecord - the actual annotation record
626
+ * @param {FacetConfigs} facets - list of facets in config format, to be updated
627
+ * @param {EntityType} entityType - the entity type
628
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
629
+ */
630
+ function evaluateTargetAnnotation(section, annotationRecord, facets, entityType, oDataServiceAVT) {
631
+ const alias = findAlias(ux_specification_types_1.UIVOCABULARY, oDataServiceAVT);
632
+ let path = section ? section.key : '';
633
+ const targetEntityType = section.entityType;
634
+ const annotationTerm = getAnnotationTerm(path, alias, entityType);
635
+ switch (annotationTerm) {
636
+ case "com.sap.vocabularies.UI.v1.Chart" /* UIAnnotationTerms.Chart */: {
637
+ facets[path] = { base: ux_specification_types_1.FacetBase.Chart };
638
+ facets[path].target = annotationRecord?.Target?.$target;
639
+ facets[path].entityType = targetEntityType;
640
+ facets[path].namespace = section.namespace;
641
+ break;
642
+ }
643
+ case "com.sap.vocabularies.UI.v1.Identification" /* UIAnnotationTerms.Identification */: {
644
+ facets[path] = { base: ux_specification_types_1.FacetBase.Identification };
645
+ facets[path].target = annotationRecord?.Target?.$target;
646
+ facets[path].entityType = targetEntityType;
647
+ facets[path].namespace = section.namespace;
648
+ break;
649
+ }
650
+ case "com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */: {
651
+ if (!path.includes("com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */) && path.includes('.LineItem')) {
652
+ const pathParts = path.split('::');
653
+ pathParts[pathParts.length - 1] = `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
654
+ path = pathParts.join('::');
655
+ }
656
+ facets[path] = { base: ux_specification_types_1.FacetBase.LineItem };
657
+ facets[path].target = annotationRecord?.Target?.$target;
658
+ facets[path].entityType = targetEntityType;
659
+ facets[path].namespace = section.namespace;
660
+ break;
661
+ }
662
+ case "com.sap.vocabularies.UI.v1.FieldGroup" /* UIAnnotationTerms.FieldGroup */: {
663
+ facets[path] = { base: ux_specification_types_1.FacetBase.Form };
664
+ facets[path].target = annotationRecord?.Target?.$target;
665
+ facets[path].entityType = targetEntityType;
666
+ facets[path].namespace = section.namespace;
667
+ break;
668
+ }
669
+ case "com.sap.vocabularies.UI.v1.DataPoint" /* UIAnnotationTerms.DataPoint */: {
670
+ facets[path] = { base: ux_specification_types_1.FacetBase.DataPoint };
671
+ facets[path].Label = annotationRecord?.Target?.$target['Title'];
672
+ facets[path].target = annotationRecord?.Target?.$target;
673
+ facets[path].entityType = targetEntityType;
674
+ facets[path].namespace = section.namespace;
675
+ break;
676
+ }
677
+ case "com.sap.vocabularies.UI.v1.PresentationVariant" /* UIAnnotationTerms.PresentationVariant */: {
678
+ facets[path] = { base: ux_specification_types_1.FacetBase.PresentationVariant };
679
+ facets[path].target = annotationRecord?.Target?.$target;
680
+ facets[path].entityType = targetEntityType;
681
+ facets[path].namespace = section.namespace;
682
+ break;
683
+ }
684
+ case "com.sap.vocabularies.Communication.v1.Contact" /* CommunicationAnnotationTerms.Contact */: {
685
+ facets[path] = { base: ux_specification_types_1.FacetBase.Contact };
686
+ facets[path].target = annotationRecord?.Target?.$target;
687
+ facets[path].entityType = targetEntityType;
688
+ facets[path].namespace = section.namespace;
689
+ break;
690
+ }
691
+ case "com.sap.vocabularies.Communication.v1.Address" /* CommunicationAnnotationTerms.Address */: {
692
+ facets[path] = { base: ux_specification_types_1.FacetBase.Address };
693
+ facets[path].target = annotationRecord?.Target?.$target;
694
+ facets[path].entityType = targetEntityType;
695
+ facets[path].namespace = section.namespace;
696
+ break;
697
+ }
698
+ default: {
699
+ facets[path] = { base: ux_specification_types_1.FacetBase.Unknown };
700
+ }
701
+ }
702
+ if (facets[path]) {
703
+ facets[path].annotationPath = `/${annotationRecord.fullyQualifiedName.replace('@com.sap.vocabularies', ux_specification_types_1.VOCWITHSLASH)}`;
704
+ if (annotationRecord.Label) {
705
+ facets[path].Label = annotationRecord.Label;
706
+ }
707
+ // Add Facet ID
708
+ if (annotationRecord.ID) {
709
+ facets[path]['ID'] = annotationRecord.ID;
710
+ }
711
+ if (section && section.entityType) {
712
+ facets[path].entityType = section.entityType;
713
+ }
714
+ }
715
+ }
716
+ /**
717
+ * Method returns schema annotation path for passed fullyQualifiedName.
718
+ * @param {EntityType} entityType entity type.
719
+ * @param {string} fullyQualifiedName fully qualifier name.
720
+ * @returns {TemplateType} Schema annotation path.
721
+ */
722
+ function getAnnotationPathUsingFullyQualifiedName(entityType, fullyQualifiedName) {
723
+ return `/${entityType.fullyQualifiedName}/${fullyQualifiedName.split(entityType.fullyQualifiedName)[1]}`;
724
+ }
725
+ exports.getAnnotationPathUsingFullyQualifiedName = getAnnotationPathUsingFullyQualifiedName;
726
+ /**
727
+ * Adds the information from facets to the config
728
+ * @param {AnnotationTerm} annotationRecord - the actual annotation record
729
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
730
+ * @param {string} serviceName - name of the service of the app
731
+ * @param {string} entityName - the entity (type) name
732
+ * @param {FacetConfigs} facets - list of facets in config format, to be updated
733
+ * @param {FioriElementsVersion} oDataVersion - OData version
734
+ * @param {ExtensionLogger} logger - Logger class for logging messages
735
+ */
736
+ function addFacetToConfig(annotationRecord, oDataServiceAVT, serviceName, entityType, facets, oDataVersion = ux_specification_types_1.FioriElementsVersion.v2, logger) {
737
+ const section = getSectionFacet(annotationRecord, entityType, oDataServiceAVT, logger, oDataVersion, false);
738
+ if (section) {
739
+ switch (annotationRecord.$Type) {
740
+ case "com.sap.vocabularies.UI.v1.ReferenceFacet" /* UIAnnotationTypes.ReferenceFacet */: {
741
+ evaluateTargetAnnotation(section, annotationRecord, facets, entityType, oDataServiceAVT);
742
+ break;
743
+ }
744
+ case "com.sap.vocabularies.UI.v1.CollectionFacet" /* UIAnnotationTypes.CollectionFacet */: {
745
+ const annotationPath = getAnnotationPathUsingFullyQualifiedName(entityType, annotationRecord.fullyQualifiedName);
746
+ const facet = (facets[section.key] = {
747
+ base: ux_specification_types_1.FacetBase.CollectionFacet,
748
+ facets: {},
749
+ ID: section.ID,
750
+ annotationPath: annotationPath,
751
+ Label: section.label,
752
+ namespace: section.namespace
753
+ });
754
+ if (!facet.ID && oDataVersion === ux_specification_types_1.FioriElementsVersion.v4) {
755
+ (0, extensionLogger_1.log)(logger, {
756
+ severity: "error" /* LogSeverity.Error */,
757
+ message: i18next_1.default.t('NOID4SECTION', { facet: annotationRecord.fullyQualifiedName })
758
+ });
759
+ }
760
+ annotationRecord.Facets?.forEach((collectionItem) => {
761
+ addFacetToConfig(collectionItem, oDataServiceAVT, serviceName, entityType, facet.facets, oDataVersion, logger);
762
+ });
763
+ break;
764
+ }
765
+ }
766
+ }
767
+ }
768
+ /**
769
+ * Retrieve header facet configurations that can be used to generate ObjectPage schemas
770
+ * @param {QualifiedName} entityTypeName - the name of the actual entity type
771
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
772
+ * @param {FioriElementsVersion} oDataVersion - OData version
773
+ * @param {ExtensionLogger} logger - Logger class for logging messages
774
+ */
775
+ function getObjectPageHeaderFacets(entityType, oDataServiceAVT, oDataVersion = ux_specification_types_1.FioriElementsVersion.v2, logger) {
776
+ const facets = {};
777
+ if (!entityType || !entityType.annotations) {
778
+ return;
779
+ }
780
+ const alias = findAlias(ux_specification_types_1.UIVOCABULARY, oDataServiceAVT);
781
+ const facetAnnotation = alias && entityType?.annotations?.[alias]?.HeaderFacets;
782
+ if (facetAnnotation) {
783
+ const lastDot = entityType && entityType.fullyQualifiedName.lastIndexOf('.');
784
+ const serviceName = entityType && entityType.fullyQualifiedName.substring(0, lastDot);
785
+ // Add facets to configuration
786
+ facetAnnotation.forEach((item) => {
787
+ addFacetToConfig(item, oDataServiceAVT, serviceName, entityType, facets, oDataVersion, logger);
788
+ });
789
+ }
790
+ return facets;
791
+ }
792
+ exports.getObjectPageHeaderFacets = getObjectPageHeaderFacets;
793
+ /**
794
+ * Retrieve facet configurations that can be used to generate ObjectPage schemas
795
+ * @param {QualifiedName} entityTypeName - the name of the actual entity type
796
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
797
+ * @param {FioriElementsVersion} oDataVersion - OData version
798
+ * @param {ExtensionLogger} logger - Logger class for logging messages
799
+ */
800
+ function getObjectPageFacets(entityType, oDataServiceAVT, oDataVersion = ux_specification_types_1.FioriElementsVersion.v2, logger) {
801
+ const facets = {};
802
+ if (!entityType || !entityType.annotations) {
803
+ return;
804
+ }
805
+ const alias = findAlias(ux_specification_types_1.UIVOCABULARY, oDataServiceAVT);
806
+ const facetAnnotation = alias && entityType?.annotations[alias]?.Facets;
807
+ if (facetAnnotation) {
808
+ const lastDot = entityType && entityType.fullyQualifiedName.lastIndexOf('.');
809
+ const serviceName = entityType && entityType.fullyQualifiedName.substring(0, lastDot);
810
+ // Add facets to configuration
811
+ facetAnnotation.forEach((item) => {
812
+ addFacetToConfig(item, oDataServiceAVT, serviceName, entityType, facets, oDataVersion, logger);
813
+ });
814
+ }
815
+ return facets;
816
+ }
817
+ exports.getObjectPageFacets = getObjectPageFacets;
818
+ /**
819
+ * Returns the version of Fiori elements (v2/v4) from a given manifest
820
+ * @param manifest - the manifest.json file
821
+ */
822
+ function getVersionFromManifest(manifest) {
823
+ if (manifest[ux_specification_types_1.ManifestSection.generic] || manifest[ux_specification_types_1.ManifestSection.ovp]) {
824
+ return ux_specification_types_1.FioriElementsVersion.v2;
825
+ }
826
+ else {
827
+ return ux_specification_types_1.FioriElementsVersion.v4;
828
+ }
829
+ }
830
+ exports.getVersionFromManifest = getVersionFromManifest;
831
+ /**
832
+ * Determines the template type of a V2 app
833
+ * @param manifest - the manifest.json file
834
+ * @param {ExtensionLogger} logger - Logger class for logging messages
835
+ * @returns {TemplateType} the template type
836
+ */
837
+ function determineV2Template(manifest, logger) {
838
+ let templateType;
839
+ if (manifest[ux_specification_types_1.ManifestSection.generic]) {
840
+ const v2Pages = manifest[ux_specification_types_1.ManifestSection.generic].pages;
841
+ if (!v2Pages) {
842
+ (0, extensionLogger_1.log)(logger, {
843
+ severity: "error" /* LogSeverity.Error */,
844
+ message: i18next_1.default.t('NOPAGES', { appId: manifest['sap.app']['id'] }),
845
+ location: {
846
+ path: ux_specification_types_1.MANIFESTPATH,
847
+ range: [ux_specification_types_1.ManifestSection.generic]
848
+ }
849
+ });
850
+ return;
851
+ }
852
+ for (const pageKey in v2Pages) {
853
+ const v2Page = v2Pages[pageKey];
854
+ if (getPageTypeV2(v2Page.component?.name) === ux_specification_types_1.PageTypeV2.AnalyticalListPage) {
855
+ templateType = ux_specification_types_1.TemplateType.AnalyticalListPageV2;
856
+ break;
857
+ }
858
+ else if (getPageTypeV2(v2Page.component?.name) === ux_specification_types_1.PageTypeV2.ListReport) {
859
+ templateType = ux_specification_types_1.TemplateType.ListReportObjectPageV2;
860
+ break;
861
+ }
862
+ }
863
+ }
864
+ else {
865
+ if (!templateType) {
866
+ (0, extensionLogger_1.log)(logger, {
867
+ severity: "error" /* LogSeverity.Error */,
868
+ message: i18next_1.default.t('NOTEMPLATE', { section: ux_specification_types_1.ManifestSection.generic }),
869
+ location: {
870
+ path: ux_specification_types_1.MANIFESTPATH,
871
+ range: [ux_specification_types_1.ManifestSection.generic]
872
+ }
873
+ });
874
+ }
875
+ }
876
+ return templateType;
877
+ }
878
+ exports.determineV2Template = determineV2Template;
879
+ /**
880
+ * Determines the template type of a single page
881
+ * @param v4Page - single page from routing targets
882
+ * @returns {TemplateType | undefined} the template type
883
+ */
884
+ function determineV4PageTemplateType(v4Page) {
885
+ let templateType;
886
+ const pageType = getPageTypeV4(v4Page);
887
+ if (pageType === ux_specification_types_1.PageTypeV4.AnalyticalListPage) {
888
+ templateType = ux_specification_types_1.TemplateType.AnalyticalListPageV4;
889
+ }
890
+ else if (pageType === ux_specification_types_1.PageTypeV4.ListReport) {
891
+ const viewPath = v4Page.options?.settings?.views?.paths?.[0];
892
+ if (viewPath && (viewPath[ux_specification_types_1.ALPViewType.Primary] || viewPath[ux_specification_types_1.ALPViewType.Secondary])) {
893
+ templateType = ux_specification_types_1.TemplateType.AnalyticalListPageV4;
894
+ }
895
+ else {
896
+ templateType = ux_specification_types_1.TemplateType.ListReportObjectPageV4;
897
+ }
898
+ }
899
+ else if (pageType === ux_specification_types_1.PageTypeV4.ObjectPage) {
900
+ templateType = ux_specification_types_1.TemplateType.ListReportObjectPageV4;
901
+ //fixed now for FEOP scenario, bit continue to check if LR/ALP exists
902
+ }
903
+ else if ([ux_specification_types_1.PageTypeV4.CustomPage, ux_specification_types_1.PageTypeV4.FPMCustomPage].includes(pageType)) {
904
+ templateType = ux_specification_types_1.TemplateType.FreestylePageV4;
905
+ }
906
+ return templateType;
907
+ }
908
+ exports.determineV4PageTemplateType = determineV4PageTemplateType;
909
+ /**
910
+ * Determines the template type, based on the given manifest routing target entries of the app
911
+ * @param v4Pages - pages from routing targets
912
+ * @returns {TemplateType | undefined} the template type
913
+ */
914
+ function determineV4TemplateFromPages(v4Pages) {
915
+ let templateType;
916
+ for (const pageKey in v4Pages) {
917
+ const v4Page = v4Pages[pageKey];
918
+ templateType = determineV4PageTemplateType(v4Page);
919
+ if (templateType) {
920
+ break;
921
+ }
922
+ }
923
+ return templateType;
924
+ }
925
+ /**
926
+ * Determines the template type of a V4 app
927
+ * @param manifest - the manifest.json file
928
+ * @param {ExtensionLogger} logger - Logger class for logging messages
929
+ * @returns {TemplateType} the template type
930
+ */
931
+ function determineV4Template(manifest, logger) {
932
+ const v4Pages = manifest[ux_specification_types_1.ManifestSection.ui5].routing &&
933
+ manifest[ux_specification_types_1.ManifestSection.ui5].routing.targets;
934
+ // if there are no pages in routing targets, we use LROPV4 as default template type
935
+ if (!v4Pages || Object.keys(v4Pages).length === 0) {
936
+ (0, extensionLogger_1.log)(logger, {
937
+ severity: "info" /* LogSeverity.Info */,
938
+ message: i18next_1.default.t('NOPAGES', { appId: manifest['sap.app']['id'] }),
939
+ location: {
940
+ path: ux_specification_types_1.MANIFESTPATH,
941
+ range: [ux_specification_types_1.ManifestSection.ui5, 'routing']
942
+ }
943
+ });
944
+ return ux_specification_types_1.TemplateType.ListReportObjectPageV4;
945
+ }
946
+ // else try to determine template type from routing targets
947
+ const templateType = determineV4TemplateFromPages(v4Pages);
948
+ if (!templateType) {
949
+ (0, extensionLogger_1.log)(logger, {
950
+ severity: "error" /* LogSeverity.Error */,
951
+ message: i18next_1.default.t('NOTEMPLATE', { section: ux_specification_types_1.ManifestSection.ui5 }),
952
+ location: {
953
+ path: ux_specification_types_1.MANIFESTPATH,
954
+ range: [ux_specification_types_1.ManifestSection.ui5, 'routing', 'targets']
955
+ }
956
+ });
957
+ }
958
+ return templateType;
959
+ }
960
+ exports.determineV4Template = determineV4Template;
961
+ /**
962
+ * Determines the template type, based on the given manifest entries of the app
963
+ * @param manifest - the manifest.json file
964
+ * @param {FioriElementsVersion} fioriElementsVersion - OData or FE version
965
+ * @param {ExtensionLogger} logger - Logger class for logging messages
966
+ * @returns {TemplateType} the template type
967
+ */
968
+ function getTemplateTypeFromManifest(manifest, fioriElementsVersion, logger) {
969
+ let templateType;
970
+ if (manifest[ux_specification_types_1.ManifestSection.ovp]) {
971
+ templateType = ux_specification_types_1.TemplateType.OverviewPageV2;
972
+ }
973
+ else if (fioriElementsVersion === ux_specification_types_1.FioriElementsVersion.v2) {
974
+ templateType = determineV2Template(manifest, logger);
975
+ }
976
+ else if (fioriElementsVersion === ux_specification_types_1.FioriElementsVersion.v4) {
977
+ templateType = determineV4Template(manifest, logger);
978
+ }
979
+ else {
980
+ if (!templateType) {
981
+ (0, extensionLogger_1.log)(logger, {
982
+ severity: "error" /* LogSeverity.Error */,
983
+ message: i18next_1.default.t('NOFE'),
984
+ location: {
985
+ path: ux_specification_types_1.MANIFESTPATH
986
+ }
987
+ });
988
+ }
989
+ }
990
+ return templateType;
991
+ }
992
+ exports.getTemplateTypeFromManifest = getTemplateTypeFromManifest;
993
+ /**
994
+ * Adds title and description to a section or header section in an app schema
995
+ * @param facet - intermediate facet structure comprising annotation information
996
+ * @param section - section in the app schema
997
+ * @param facetKey - key of the facet
998
+ */
999
+ function addSectionTitleAndDescription(facet, section, facetKey) {
1000
+ if (facet?.ID) {
1001
+ section.title = ux_specification_types_1.FacetTitlePrefix + facet.ID;
1002
+ section[ux_specification_types_1.SchemaTag.keys] = [{ name: ux_specification_types_1.SchemaKeyName.id, value: facet.ID }];
1003
+ }
1004
+ else {
1005
+ section.title = facetKey.replace(/@com.sap/g, 'com.sap');
1006
+ section[ux_specification_types_1.SchemaTag.keys] = [{ name: ux_specification_types_1.SchemaKeyName.id, value: facetKey.replace(ux_specification_types_1.UIVOCABULARYALPHADOT, '') }];
1007
+ }
1008
+ // Description
1009
+ if (facet?.Label) {
1010
+ section.description = facet.Label;
1011
+ }
1012
+ else if (facet?.ID) {
1013
+ section.description = facet.ID;
1014
+ }
1015
+ else {
1016
+ section.description = facetKey.substring(facetKey.lastIndexOf('.') + 1);
1017
+ }
1018
+ }
1019
+ exports.addSectionTitleAndDescription = addSectionTitleAndDescription;
1020
+ /**
1021
+ * Adds target title or description to a section or header section in an app schema
1022
+ * @param facet - intermediate facet structure comprising annotation information
1023
+ * @param section - section in the app schema
1024
+ * @param facetKey - key of the facet
1025
+ */
1026
+ function addTargetTitleAndSectionDescription(facet, section, facetKey) {
1027
+ addSectionTitleAndDescription(facet, section, facetKey);
1028
+ if (facet?.Label) {
1029
+ return;
1030
+ }
1031
+ if (facet?.Title) {
1032
+ section.description = facet.Title;
1033
+ }
1034
+ else if (facet?.target?.['Title']) {
1035
+ section.description = facet.target['Title'];
1036
+ }
1037
+ else if (facet?.target?.['Label']) {
1038
+ section.description = facet.target['Label'];
1039
+ }
1040
+ }
1041
+ exports.addTargetTitleAndSectionDescription = addTargetTitleAndSectionDescription;
1042
+ /**
1043
+ * Creates a default object for a new section or subsection, and adds the ID as title if present.
1044
+ * @param facet Facet configuration, to be analyzed
1045
+ * @returns the new section object
1046
+ */
1047
+ function createDefaultSection(appSchema, facet, facetKey) {
1048
+ if (!facet) {
1049
+ return undefined;
1050
+ }
1051
+ let section;
1052
+ if (appSchema.definitions.ObjectPageSection) {
1053
+ //base type in V2, with properties
1054
+ section = JSON.parse(JSON.stringify(appSchema.definitions.ObjectPageSection));
1055
+ }
1056
+ else {
1057
+ section = {
1058
+ type: 'object',
1059
+ properties: {},
1060
+ additionalProperties: false
1061
+ };
1062
+ section[ux_specification_types_1.SchemaTag.isViewNode] = true;
1063
+ }
1064
+ section[ux_specification_types_1.SchemaTag.annotationPath] = facet.annotationPath;
1065
+ addTargetTitleAndSectionDescription(facet, section, facetKey);
1066
+ return section;
1067
+ }
1068
+ exports.createDefaultSection = createDefaultSection;
1069
+ /**
1070
+ * Retrieve page section data(so far id/key and label/description).
1071
+ * @param {EntityType} entityType The actual entityType
1072
+ * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
1073
+ * @param {ExtensionLogger} logger - Logger class for logging messages
1074
+ * @param {FioriElementsVersion} oDataVersion - OData version
1075
+ * @param {boolean} [checkUnresolvableFacets=false] - Check and avoid facets and sections without ID and Target.
1076
+ * @returns {FacetSection[]} - Array of facets or sections
1077
+ */
1078
+ function getObjectPageFacetSection(entityType, oDataServiceAVT, logger, oDataVersion = ux_specification_types_1.FioriElementsVersion.v2, checkUnresolvableFacets = false) {
1079
+ const alias = findAlias(ux_specification_types_1.UIVOCABULARY, oDataServiceAVT);
1080
+ let sections = [];
1081
+ if (entityType) {
1082
+ const facetAnnotation = alias && entityType?.annotations?.[alias]?.Facets;
1083
+ if (facetAnnotation) {
1084
+ sections = facetAnnotation.reduce(function (result, item) {
1085
+ if (checkUnresolvableFacets && !item['ID'] && !('Target' in item && item['Target'])) {
1086
+ return result;
1087
+ }
1088
+ const section = getSectionFacet(item, entityType, oDataServiceAVT, logger, oDataVersion, true);
1089
+ if (section) {
1090
+ result.push(section);
1091
+ }
1092
+ return result;
1093
+ }, sections);
1094
+ }
1095
+ return sections;
1096
+ }
1097
+ }
1098
+ exports.getObjectPageFacetSection = getObjectPageFacetSection;
1099
+ /**
1100
+ * Cleans empty sub-structures from the export result for manifest
1101
+ * @param {object} manifest - manifest.json part of the export result
1102
+ * @param {string} path - path in the manifest
1103
+ * @param {boolean} deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
1104
+ * @param {string[]} entityPathArray (optional) - array of elements, describing a path to a subsection of the config.
1105
+ * If specified, only elements from this subsection are getting deleted
1106
+ * @param {string} targetAnnotation (optional) - target annotation (optional, in case of sections, subsections)
1107
+ * @param {string} targetAnnotationEncoded (optional) - encoded version of the target annotation, as represented in the manifest
1108
+ */
1109
+ const deleteEmptyStructure = (manifest, path, deletionRequest, entityPathArray, targetAnnotation, targetAnnotationEncoded) => {
1110
+ if (!path) {
1111
+ return;
1112
+ }
1113
+ let manifestSection = manifest;
1114
+ const pathArray = path.split('/');
1115
+ pathArray.forEach(function (element) {
1116
+ const decodedElement = targetAnnotationEncoded && targetAnnotationEncoded === element
1117
+ ? targetAnnotation
1118
+ : element.replace(/\?\?/g, '/');
1119
+ if (!manifestSection[decodedElement]) {
1120
+ return;
1121
+ }
1122
+ if (Object.keys(manifestSection[decodedElement]).length === 0 ||
1123
+ //deletion explicitly requested by using entityPath
1124
+ (entityPathArray && entityPathArray[entityPathArray.length - 1] === decodedElement && deletionRequest)) {
1125
+ if (Array.isArray(manifestSection)) {
1126
+ manifestSection.splice(Number(decodedElement), 1);
1127
+ }
1128
+ else {
1129
+ delete manifestSection[decodedElement];
1130
+ }
1131
+ pathArray.pop();
1132
+ (0, exports.deleteEmptyStructure)(manifest, pathArray.join('/'), deletionRequest, entityPathArray, targetAnnotation, targetAnnotationEncoded);
1133
+ return;
1134
+ }
1135
+ manifestSection = manifestSection && manifestSection[decodedElement];
1136
+ });
1137
+ };
1138
+ exports.deleteEmptyStructure = deleteEmptyStructure;
1139
+ /**
1140
+ * Method which returns generic schema file name.
1141
+ * @param {SchemaType | PageTypeV2} schemaType Schema type or Page type.
1142
+ * @return {string} File name of generic schema.
1143
+ */
1144
+ const getGenericSchemaFileName = (schemaType) => {
1145
+ if (schemaType === ux_specification_types_1.SchemaType.FreestylePage) {
1146
+ return ux_specification_types_1.PageTypeV2.CustomPage;
1147
+ }
1148
+ if (schemaType === ux_specification_types_1.SchemaType.FPMCustomPage) {
1149
+ // FPM custom pages uses generic schema generated for building blocks
1150
+ return ux_specification_types_1.SchemaType.BuildingBlocks;
1151
+ }
1152
+ return `${schemaType}`;
1153
+ };
1154
+ /**
1155
+ * Method which returns schema file name and path depending on passed schema or page type.
1156
+ * @param {SchemaType | PageTypeV2} schemaType Schema type or Page type.
1157
+ * @param {string} [pageId] target page id from manifest.json
1158
+ * @return {SchemaFilePath} File path info.
1159
+ */
1160
+ const getSchemaFilePath = (schemaType, pageId, viewId) => {
1161
+ const schemaFile = {
1162
+ filename: '',
1163
+ path: ''
1164
+ };
1165
+ switch (schemaType) {
1166
+ // Application schema
1167
+ case ux_specification_types_1.SchemaType.Application: {
1168
+ // File name
1169
+ schemaFile.filename = `App`;
1170
+ // Full path
1171
+ schemaFile.path = `./${ux_specification_types_1.DirName.Schemas}/${schemaFile.filename}`;
1172
+ break;
1173
+ }
1174
+ // List report and object page
1175
+ case ux_specification_types_1.SchemaType.ListReport:
1176
+ case ux_specification_types_1.SchemaType.ObjectPage: {
1177
+ // File name
1178
+ schemaFile.filename = pageId ? `${schemaType}_${pageId}` : getGenericSchemaFileName(schemaType);
1179
+ // Full path
1180
+ schemaFile.path = `../${ux_specification_types_1.DirName.Schemas}/${schemaFile.filename}`;
1181
+ break;
1182
+ }
1183
+ case ux_specification_types_1.PageTypeV4.FPMCustomPage:
1184
+ case ux_specification_types_1.SchemaType.FPMCustomPage: {
1185
+ // File name
1186
+ schemaFile.filename = viewId
1187
+ ? `${ux_specification_types_1.SchemaType.FPMCustomPage}_${viewId}`
1188
+ : getGenericSchemaFileName(ux_specification_types_1.SchemaType.FPMCustomPage);
1189
+ // Full path
1190
+ schemaFile.path = `../${ux_specification_types_1.DirName.Schemas}/${schemaFile.filename}`;
1191
+ break;
1192
+ }
1193
+ // Other page configs
1194
+ default: {
1195
+ // File name
1196
+ schemaFile.filename = getGenericSchemaFileName(schemaType);
1197
+ // Full path
1198
+ schemaFile.path = `../${ux_specification_types_1.DirName.Schemas}/${schemaFile.filename}`;
1199
+ break;
1200
+ }
1201
+ }
1202
+ schemaFile.path += '.json';
1203
+ return schemaFile;
1204
+ };
1205
+ exports.getSchemaFilePath = getSchemaFilePath;
1206
+ /**
1207
+ * Method which generates id of page according to passed parameters
1208
+ * @param appVersion - Fiori Elements version - V2 or V4
1209
+ * @param pageType - Page type
1210
+ * @param entitySet - Entity Set
1211
+ * @param viewId - Custom page's viewId (optional)
1212
+ * @param pageName - Page name in manifest. Used if entitySet is empty
1213
+ * @returns {string} Generated page id
1214
+ */
1215
+ function generatePageId(pageType, entitySet, viewId, pageName) {
1216
+ if (pageType === ux_specification_types_1.PageTypeV2.CustomPage) {
1217
+ const names = viewId && viewId.split('.');
1218
+ return names && names[names.length - 1] + 'Page';
1219
+ }
1220
+ const parts = [];
1221
+ parts.push(pageType);
1222
+ if (entitySet) {
1223
+ parts.push(entitySet);
1224
+ }
1225
+ else if (pageName) {
1226
+ parts.push(pageName.replace('|', '').replace(pageType, ''));
1227
+ }
1228
+ return parts.join('_');
1229
+ }
1230
+ exports.generatePageId = generatePageId;
1231
+ /**
1232
+ * Method finds matching objects against passed interface of 'additionalProperties' and returns array of matching object keys.
1233
+ * @param {Definition} appSchema - App-specific JSON schema.
1234
+ * @param {Definition} additionalProperties - Allowed additional properties.
1235
+ * @param {object} configObject -Container object to find matching childs.
1236
+ * @returns {string[]} Array of matching object keys
1237
+ */
1238
+ function findMatchingKeysByAdditionalProperties(appSchema, additionalProperties, configObject) {
1239
+ let properties = additionalProperties?.properties;
1240
+ let required = additionalProperties?.required;
1241
+ if (!properties && additionalProperties?.$ref) {
1242
+ const reference = additionalProperties?.$ref;
1243
+ const definition = appSchema.definitions[reference.split(exports.DEFINITION_LINK_PREFIX)[1]];
1244
+ if (typeof definition === 'object') {
1245
+ properties = definition.properties;
1246
+ required = definition.required;
1247
+ }
1248
+ }
1249
+ if (!properties || Object.keys(properties).length === 0) {
1250
+ return [];
1251
+ }
1252
+ const result = [];
1253
+ required = required || [];
1254
+ // Merge new entries for creation into list
1255
+ for (const key in configObject) {
1256
+ const entry = configObject[key];
1257
+ // Check if interface of config entry matches additionalProperties - all required properties should exist in entry
1258
+ if (typeof entry === 'object' && required.every((property) => entry[property])) {
1259
+ result.push(key);
1260
+ }
1261
+ }
1262
+ return result;
1263
+ }
1264
+ exports.findMatchingKeysByAdditionalProperties = findMatchingKeysByAdditionalProperties;
1265
+ function fillArrayFromAnyOfReference(element, appSchema, currentConfigObject, definitionArray) {
1266
+ const $ref = element.$ref;
1267
+ if (!$ref) {
1268
+ return;
1269
+ }
1270
+ const definitionKey = $ref.split(exports.DEFINITION_LINK_PREFIX)[1];
1271
+ const innerDefinition = appSchema.definitions[definitionKey];
1272
+ if (typeof innerDefinition === 'object' && typeof currentConfigObject === 'object') {
1273
+ const controlProperty = innerDefinition['controlProperty'];
1274
+ if (controlProperty) {
1275
+ if ($ref.includes(currentConfigObject[controlProperty])) {
1276
+ definitionArray.push(definitionKey);
1277
+ }
1278
+ }
1279
+ else if (typeof innerDefinition.additionalProperties === 'object') {
1280
+ // Check if potential object already exists in schema properties
1281
+ const properties = Object.keys(innerDefinition.properties || {});
1282
+ const matchingKeys = findMatchingKeysByAdditionalProperties(appSchema, innerDefinition.additionalProperties, currentConfigObject);
1283
+ if (properties.some((property) => property in currentConfigObject) || matchingKeys.length) {
1284
+ definitionArray.push(definitionKey);
1285
+ }
1286
+ }
1287
+ }
1288
+ }
1289
+ /**
1290
+ * Fills an array of next definitions from given references in the JSON schema
1291
+ * @param propertyDefinition - Definition of the current property in schema
1292
+ * @param currentConfigObject - Current object in the config JSON. Evaluated to get the right value of a controlling property,
1293
+ * for making the right choice in case of multiple options (anyOf)
1294
+ * @param appSchema - app-specific JSON schema
1295
+ * @returns an array of definitions to proceed with
1296
+ */
1297
+ function fillArrayFromPropertyDefinition(propertyDefinition, currentConfigObject, appSchema) {
1298
+ const definitionArray = [];
1299
+ if (propertyDefinition.$ref) {
1300
+ definitionArray.push(propertyDefinition.$ref.split(exports.DEFINITION_LINK_PREFIX)[1]);
1301
+ }
1302
+ else if (propertyDefinition.anyOf) {
1303
+ if (currentConfigObject) {
1304
+ propertyDefinition.anyOf.forEach((element) => {
1305
+ fillArrayFromAnyOfReference(element, appSchema, currentConfigObject, definitionArray);
1306
+ });
1307
+ }
1308
+ if (definitionArray.length === 0) {
1309
+ return undefined;
1310
+ }
1311
+ }
1312
+ return definitionArray;
1313
+ }
1314
+ /**
1315
+ * Determines the next definition to be handled, based on the definition array.
1316
+ * It also creates the Metadata instance for the next definition, to subsequently access metadata like the syncRule
1317
+ * @param definitionArray - Array of definitions, as determined by fillArrayFromNextDefinition
1318
+ * @param appSchema - app-specific JSON schema
1319
+ * @param title - default title
1320
+ * @param currentConfigObject - Current object in the config JSON.
1321
+ * @param key - actual key
1322
+ * @param {MetadataInstanceInterface} factory - factory for creating metadata instances
1323
+ * @param pageType - page type
1324
+ * @param propertyDefinition - Definition of the current property in schema
1325
+ * @returns {NextDefinition} - Next target definition to process
1326
+ */
1327
+ function determineNextDefinitionFromDefinitionArray(definitionArray, appSchema, title, currentConfigObject, key, factory, pageType, propertyDefinition) {
1328
+ let nextDefinition = {
1329
+ configObject: undefined,
1330
+ targetDefinition: {},
1331
+ title: ''
1332
+ };
1333
+ if (definitionArray.length) {
1334
+ const lastDefinition = definitionArray[definitionArray.length - 1];
1335
+ nextDefinition.targetDefinition = appSchema['definitions'][lastDefinition];
1336
+ if (nextDefinition?.targetDefinition?.['$ref'] || nextDefinition?.targetDefinition?.['type'] === 'array') {
1337
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
1338
+ nextDefinition = getNextTargetDefinition(appSchema, title, currentConfigObject, nextDefinition.targetDefinition, key, factory, pageType);
1339
+ return nextDefinition;
1340
+ }
1341
+ if (definitionArray.length > 1) {
1342
+ definitionArray.forEach((element) => {
1343
+ if (element !== '') {
1344
+ nextDefinition.targetDefinition['properties'] = {
1345
+ ...nextDefinition.targetDefinition['properties'],
1346
+ ...appSchema['definitions'][element]['properties']
1347
+ };
1348
+ }
1349
+ });
1350
+ }
1351
+ nextDefinition.title = nextDefinition?.targetDefinition?.['title']
1352
+ ? nextDefinition.targetDefinition['title']
1353
+ : title;
1354
+ const factoryKey = lastDefinition?.split('<')[0];
1355
+ const targetObject = currentConfigObject ? currentConfigObject : {};
1356
+ nextDefinition.configObject = factory.createInstance(pageType, factoryKey, targetObject, nextDefinition?.targetDefinition?.['controlProperty']);
1357
+ }
1358
+ else {
1359
+ //e.g. sections ==> loop over all properties = subsections or other
1360
+ nextDefinition.targetDefinition = propertyDefinition;
1361
+ nextDefinition.title = nextDefinition.targetDefinition['title']
1362
+ ? nextDefinition.targetDefinition['title']
1363
+ : key;
1364
+ nextDefinition.configObject = currentConfigObject;
1365
+ }
1366
+ return nextDefinition;
1367
+ }
1368
+ /**
1369
+ * Recursive function to determine the next config part, next definition in the app schema and the title
1370
+ * @param appSchema - app-specific JSON schema
1371
+ * @param title - default title
1372
+ * @param currentConfigObject - current part of the configuration that gets traversed
1373
+ * @param propertyDefinition - definition of a given property in the app schema
1374
+ * @param key - actual key
1375
+ * @param {MetadataInstanceInterface} factory - factory for creating metadata instances
1376
+ * @param pageType - page type
1377
+ */
1378
+ function getNextTargetDefinition(appSchema, title, currentConfigObject, propertyDefinition, key, factory, pageType) {
1379
+ let nextDefinition;
1380
+ if (propertyDefinition['type'] === 'array') {
1381
+ nextDefinition = getNextTargetDefinition(appSchema, title, currentConfigObject, propertyDefinition['items'], key, factory, pageType);
1382
+ return nextDefinition;
1383
+ }
1384
+ const definitionArray = fillArrayFromPropertyDefinition(propertyDefinition, currentConfigObject, appSchema);
1385
+ if (!definitionArray) {
1386
+ return undefined;
1387
+ }
1388
+ nextDefinition = determineNextDefinitionFromDefinitionArray(definitionArray, appSchema, title, currentConfigObject, key, factory, pageType, propertyDefinition);
1389
+ return nextDefinition;
1390
+ }
1391
+ exports.getNextTargetDefinition = getNextTargetDefinition;
1392
+ /**
1393
+ * Custom array merge function called by deepmerge's merge function
1394
+ *
1395
+ * @param {*} target Target array
1396
+ * @param {*} source Source array
1397
+ * @param {*} options options object provided by deepmerge's merge function
1398
+ * @returns
1399
+ */
1400
+ const arrayCombineMerge = (target, source, options) => {
1401
+ const destination = target.slice();
1402
+ source.forEach((item, index) => {
1403
+ if (typeof destination[index] === 'undefined') {
1404
+ destination[index] = options.cloneUnlessOtherwiseSpecified(item, options);
1405
+ }
1406
+ else if (options.isMergeableObject(item)) {
1407
+ destination[index] = (0, deepmerge_1.default)(target[index], item, options);
1408
+ }
1409
+ else if (target.indexOf(item) === -1) {
1410
+ destination.push(item);
1411
+ }
1412
+ });
1413
+ return destination;
1414
+ };
1415
+ exports.arrayCombineMerge = arrayCombineMerge;
1416
+ /**
1417
+ * Converts an enum into a CSV
1418
+ * @param {object} manifestSection - manifestSection where the key exists
1419
+ * @param {object} configPart - Property as mentioned in config file
1420
+ * @param {string} key - Property to be exported to manifest
1421
+ */
1422
+ function convertEnumToCSV(manifestSection, configPart, key) {
1423
+ manifestSection[key] = JSON.parse(JSON.stringify(configPart[key]));
1424
+ // convert enum array to joined string
1425
+ const field = configPart[key];
1426
+ manifestSection[key] = field.join();
1427
+ }
1428
+ exports.convertEnumToCSV = convertEnumToCSV;
1429
+ /**
1430
+ * Converts an action ID from the internal format (schema, config) to the stable ID representation
1431
+ * @param actionId - the (unique) internal format of the action ID
1432
+ * @returns the converted action ID
1433
+ */
1434
+ function convertActionKeyToStableId(actionId) {
1435
+ if (!actionId) {
1436
+ return;
1437
+ }
1438
+ return (actionId.indexOf('??') > -1 ? actionId.split('??')[1] : actionId).replace(/@/g, '::');
1439
+ }
1440
+ exports.convertActionKeyToStableId = convertActionKeyToStableId;
1441
+ /**
1442
+ * Method returns definition key for passed '$ref' property by removing 'definition' prefix
1443
+ * @param {string} $ref Definition reference.
1444
+ * @returns Definition key.
1445
+ */
1446
+ function getDefinitionKey($ref) {
1447
+ return $ref?.split(exports.DEFINITION_LINK_PREFIX)[1];
1448
+ }
1449
+ exports.getDefinitionKey = getDefinitionKey;
1450
+ /**
1451
+ * Method returns definition $ref' property for passed definition key.
1452
+ * @param {string} key Definition key.
1453
+ * @returns Definition reference.
1454
+ */
1455
+ function getDefinitionsRef(key) {
1456
+ return `#/definitions/${key}`;
1457
+ }
1458
+ exports.getDefinitionsRef = getDefinitionsRef;
1459
+ /**
1460
+ * Returns the message property if the error is an instance of `Error` else a string representation of the error.
1461
+ *
1462
+ * @param error {Error | unknown} - the error instance
1463
+ * @returns {string} the error message
1464
+ */
1465
+ function getErrorMessage(error) {
1466
+ return error instanceof Error ? error.message : String(error);
1467
+ }
1468
+ exports.getErrorMessage = getErrorMessage;
1469
+ /**
1470
+ * Method checks if passed array of features contains required feature.
1471
+ *
1472
+ * @param {FeatureToggle[]} [featureToggles] Array of features.
1473
+ * @param {FeatureToggle} [feature] Feature to check if it is supported.
1474
+ * @returns {boolean} True if passed feature is supported.
1475
+ */
1476
+ function isFeatureSupported(featureToggles, feature) {
1477
+ return featureToggles?.includes(feature);
1478
+ }
1479
+ exports.isFeatureSupported = isFeatureSupported;
1480
+ /**
1481
+ * Method adds indices (propertyIndex property) to app-specific JSON schema properties.
1482
+ *
1483
+ * @param {Definition} [schema] App-specific JSON schema.
1484
+ * @param {string[]} [order] Order of properties.
1485
+ * @returns {void} Updates app-specific JSON schema properties with indices.
1486
+ */
1487
+ function updatePropertyIndices(schema, order) {
1488
+ order.forEach((propertyName, index) => {
1489
+ if (schema.properties[propertyName]) {
1490
+ schema.properties[propertyName]['propertyIndex'] = index;
1491
+ }
1492
+ });
1493
+ }
1494
+ exports.updatePropertyIndices = updatePropertyIndices;
1495
+ /**
1496
+ * Method to get value for passed path in passed object.
1497
+ * @param obj Object to check.
1498
+ * @param paths Path for searching property/value.
1499
+ * @returns Found value for passed path.
1500
+ */
1501
+ function getJSONPropertyByPath(obj, paths) {
1502
+ let current = obj;
1503
+ for (const path of paths) {
1504
+ if (path === undefined) {
1505
+ continue;
1506
+ }
1507
+ if (typeof current === 'object' && path in current) {
1508
+ // found and continue
1509
+ current = current[path];
1510
+ }
1511
+ else {
1512
+ return undefined;
1513
+ }
1514
+ }
1515
+ return current;
1516
+ }
1517
+ exports.getJSONPropertyByPath = getJSONPropertyByPath;
1518
+ /**
1519
+ * Method to remove namespaces
1520
+ * @param {string } [sId]
1521
+ * @returns {string} modified string without namespace
1522
+ */
1523
+ function removeNamespaces(sId) {
1524
+ sId = sId.replace(ux_specification_types_1.UIVOCABULARYDOT, '');
1525
+ sId = sId.replace('com.sap.vocabularies.Communication.v1.', '');
1526
+ return sId;
1527
+ }
1528
+ exports.removeNamespaces = removeNamespaces;
1529
+ /**
1530
+ * Method to replace namespaces with short hand form
1531
+ * @param {string } [sId]
1532
+ * @returns {string} modified string with replaced namespaces
1533
+ */
1534
+ function replaceNamespaces(sId) {
1535
+ sId = sId.replace(ux_specification_types_1.UIVOCABULARY, 'UI');
1536
+ sId = sId.replace('com.sap.vocabularies.Communication.v1', 'Communication');
1537
+ return sId;
1538
+ }
1539
+ exports.replaceNamespaces = replaceNamespaces;
1540
+ //# sourceMappingURL=utils.js.map