@sap/ux-specification 1.96.2 → 1.96.5

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 (449) hide show
  1. package/CHANGELOG.md +66 -3
  2. package/dist/documentation/runDocu-min.js +1 -1
  3. package/dist/documentation/styleDocu.css +7 -14
  4. package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
  5. package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
  6. package/dist/documentation/v2/v2-ListReport.html +1 -1
  7. package/dist/documentation/v2/v2-ObjectPage.html +1 -1
  8. package/dist/documentation/v2/v2-OverviewPage.html +1 -1
  9. package/dist/documentation/v4/v4-AnalyticalListPage.html +1 -1
  10. package/dist/documentation/v4/v4-ApplicationV4.html +1 -1
  11. package/dist/documentation/v4/v4-ListReport.html +1 -1
  12. package/dist/documentation/v4/v4-ObjectPage.html +1 -1
  13. package/dist/index-min.js +1 -1
  14. package/dist/index-min.js.LICENSE.txt +0 -71
  15. package/dist/schemas/v2/AnalyticalListPageConfig.json +175 -15
  16. package/dist/schemas/v2/ApplicationV2.json +31 -0
  17. package/dist/schemas/v2/ListReportConfig.json +187 -15
  18. package/dist/schemas/v2/ObjectPageConfig.json +127 -33
  19. package/dist/schemas/v2/OverviewPageConfig.json +57 -16
  20. package/dist/schemas/v4/AnalyticalListPageConfig.json +122 -76
  21. package/dist/schemas/v4/ListReportConfig.json +122 -76
  22. package/dist/schemas/v4/ObjectPageConfig.json +144 -64
  23. package/dist/specification/v2/index-min.js +1 -1
  24. package/dist/specification/v4/index-min.js +1 -1
  25. package/dist/src/apiTypes.d.ts +5 -2
  26. package/dist/src/specification/v2/ApplicationV2.d.ts +21 -0
  27. package/dist/src/specification/v2/controls/Action.d.ts +19 -2
  28. package/dist/src/specification/v2/controls/FilterBar.d.ts +70 -22
  29. package/dist/src/specification/v2/controls/Footer.d.ts +20 -0
  30. package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +4 -0
  31. package/dist/src/specification/v2/controls/Table.d.ts +12 -1
  32. package/dist/src/specification/v2/controls/ToolBar.d.ts +1 -8
  33. package/dist/src/specification/v2/controls/index.d.ts +1 -2
  34. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.d.ts +2 -1
  35. package/dist/src/specification/v2/pages/ListReportConfig.d.ts +2 -1
  36. package/dist/src/specification/v2/pages/OverviewPageConfig.d.ts +36 -2
  37. package/dist/src/specification/v4/controls/ObjectPageFooter.d.ts +2 -2
  38. package/dist/src/specification/v4/controls/ObjectPageSection.d.ts +7 -7
  39. package/dist/src/specification/v4/controls/ObjectPageTable.d.ts +21 -6
  40. package/dist/src/specification/v4/controls/Table.d.ts +1 -6
  41. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.d.ts +59 -10
  42. package/dist/src/sync/common/decoration/control.d.ts +11 -1
  43. package/dist/src/sync/common/generate/objectPage.d.ts +9 -0
  44. package/dist/src/sync/common/generate/utils.d.ts +30 -1
  45. package/dist/src/sync/common/import/utils.d.ts +8 -1
  46. package/dist/src/sync/common/types.d.ts +30 -16
  47. package/dist/src/sync/common/utils.d.ts +4 -3
  48. package/dist/src/sync/v2/application.d.ts +3 -1
  49. package/dist/src/sync/v2/export/controls/Action.d.ts +15 -0
  50. package/dist/src/sync/v2/export/controls/FilterBar.d.ts +18 -6
  51. package/dist/src/sync/v2/export/controls/Fragment.d.ts +1 -1
  52. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +2 -2
  53. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +2 -2
  54. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +1 -0
  55. package/dist/src/sync/v2/export/controls/Table.d.ts +1 -0
  56. package/dist/src/sync/v2/export/controls/TableColumn.d.ts +18 -2
  57. package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts +2 -1
  58. package/dist/src/sync/v2/export/pages/ListReport.d.ts +2 -1
  59. package/dist/src/sync/v2/export/pages/OverviewPage.d.ts +2 -1
  60. package/dist/src/sync/v2/export/view-controller-generator.d.ts +16 -21
  61. package/dist/src/sync/v2/generate/objectPage.d.ts +1 -5
  62. package/dist/src/sync/v2/generate/utils.d.ts +22 -11
  63. package/dist/src/sync/v2/import/common/index.d.ts +22 -4
  64. package/dist/src/sync/v2/import/pages/listReport.d.ts +0 -5
  65. package/dist/src/sync/v2/import/utils.d.ts +4 -6
  66. package/dist/src/sync/v2/types.d.ts +8 -1
  67. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +13 -4
  68. package/dist/src/sync/v4/export/controls/TableColumn.d.ts +10 -2
  69. package/dist/src/sync/v4/export/controls/ToolBar.d.ts +5 -1
  70. package/dist/src/sync/v4/export/exportCustomColumn.d.ts +13 -0
  71. package/dist/src/sync/v4/export/pages/AnalyticalListPage.d.ts +2 -2
  72. package/dist/src/sync/v4/export/pages/ListReport.d.ts +2 -2
  73. package/dist/src/sync/v4/export/pages/ObjectPage.d.ts +2 -2
  74. package/dist/src/sync/v4/export/types.d.ts +3 -0
  75. package/dist/src/sync/v4/generate/generate.d.ts +4 -2
  76. package/dist/src/sync/v4/generate/listReport.d.ts +7 -6
  77. package/dist/src/sync/v4/import/pages/analyticalListPage.d.ts +2 -2
  78. package/dist/src/sync/v4/import/pages/listReport.d.ts +3 -3
  79. package/dist/src/sync/v4/import/pages/objectPage.d.ts +2 -2
  80. package/dist/src/sync/v4/utils/utils.d.ts +32 -1
  81. package/dist/test/unit/utils.test.d.ts +1 -1
  82. package/package.json +19 -17
  83. package/dist/scripts/extractDocu.js +0 -488
  84. package/dist/scripts/extractDocu.js.map +0 -1
  85. package/dist/scripts/runDocu.js +0 -577
  86. package/dist/scripts/runDocu.js.map +0 -1
  87. package/dist/scripts/spec.js +0 -114
  88. package/dist/scripts/spec.js.map +0 -1
  89. package/dist/scripts/to-json-schema.js +0 -130
  90. package/dist/scripts/to-json-schema.js.map +0 -1
  91. package/dist/src/api.js +0 -184
  92. package/dist/src/api.js.map +0 -1
  93. package/dist/src/apiTypes.js +0 -17
  94. package/dist/src/apiTypes.js.map +0 -1
  95. package/dist/src/extensionLogger.js +0 -39
  96. package/dist/src/extensionLogger.js.map +0 -1
  97. package/dist/src/i18n/i18n.js +0 -25
  98. package/dist/src/i18n/i18n.js.map +0 -1
  99. package/dist/src/index.js +0 -13
  100. package/dist/src/index.js.map +0 -1
  101. package/dist/src/project.js +0 -143
  102. package/dist/src/project.js.map +0 -1
  103. package/dist/src/specification/common/Application.js +0 -3
  104. package/dist/src/specification/common/Application.js.map +0 -1
  105. package/dist/src/specification/common/i18n.json +0 -1
  106. package/dist/src/specification/common/index.js +0 -10
  107. package/dist/src/specification/common/index.js.map +0 -1
  108. package/dist/src/specification/common/page.js +0 -33
  109. package/dist/src/specification/common/page.js.map +0 -1
  110. package/dist/src/specification/common/types.js +0 -20
  111. package/dist/src/specification/common/types.js.map +0 -1
  112. package/dist/src/specification/common/webapp/manifest/Manifest.js +0 -17
  113. package/dist/src/specification/common/webapp/manifest/Manifest.js.map +0 -1
  114. package/dist/src/specification/common/webapp/manifest/index.js +0 -8
  115. package/dist/src/specification/common/webapp/manifest/index.js.map +0 -1
  116. package/dist/src/specification/common/webapp/manifest/sapOvp.js +0 -9
  117. package/dist/src/specification/common/webapp/manifest/sapOvp.js.map +0 -1
  118. package/dist/src/specification/common/webapp/manifest/sapUi5.js +0 -14
  119. package/dist/src/specification/common/webapp/manifest/sapUi5.js.map +0 -1
  120. package/dist/src/specification/schemaAccess.js +0 -65
  121. package/dist/src/specification/schemaAccess.js.map +0 -1
  122. package/dist/src/specification/v2/ApplicationV2.js +0 -9
  123. package/dist/src/specification/v2/ApplicationV2.js.map +0 -1
  124. package/dist/src/specification/v2/controls/Action.js +0 -3
  125. package/dist/src/specification/v2/controls/Action.js.map +0 -1
  126. package/dist/src/specification/v2/controls/AnalyticalListPageChart.js +0 -36
  127. package/dist/src/specification/v2/controls/AnalyticalListPageChart.js.map +0 -1
  128. package/dist/src/specification/v2/controls/AnalyticalListPageKPI.js +0 -3
  129. package/dist/src/specification/v2/controls/AnalyticalListPageKPI.js.map +0 -1
  130. package/dist/src/specification/v2/controls/Card.js +0 -72
  131. package/dist/src/specification/v2/controls/Card.js.map +0 -1
  132. package/dist/src/specification/v2/controls/Facets.js +0 -3
  133. package/dist/src/specification/v2/controls/Facets.js.map +0 -1
  134. package/dist/src/specification/v2/controls/Field.js +0 -3
  135. package/dist/src/specification/v2/controls/Field.js.map +0 -1
  136. package/dist/src/specification/v2/controls/FilterBar.js +0 -54
  137. package/dist/src/specification/v2/controls/FilterBar.js.map +0 -1
  138. package/dist/src/specification/v2/controls/ObjectPageChart.js +0 -3
  139. package/dist/src/specification/v2/controls/ObjectPageChart.js.map +0 -1
  140. package/dist/src/specification/v2/controls/ObjectPageFooter.d.ts +0 -11
  141. package/dist/src/specification/v2/controls/ObjectPageFooter.js +0 -3
  142. package/dist/src/specification/v2/controls/ObjectPageFooter.js.map +0 -1
  143. package/dist/src/specification/v2/controls/ObjectPageFooterAction.d.ts +0 -28
  144. package/dist/src/specification/v2/controls/ObjectPageFooterAction.js +0 -3
  145. package/dist/src/specification/v2/controls/ObjectPageFooterAction.js.map +0 -1
  146. package/dist/src/specification/v2/controls/ObjectPageForm.js +0 -3
  147. package/dist/src/specification/v2/controls/ObjectPageForm.js.map +0 -1
  148. package/dist/src/specification/v2/controls/ObjectPageHeader.js +0 -3
  149. package/dist/src/specification/v2/controls/ObjectPageHeader.js.map +0 -1
  150. package/dist/src/specification/v2/controls/ObjectPageLayout.js +0 -3
  151. package/dist/src/specification/v2/controls/ObjectPageLayout.js.map +0 -1
  152. package/dist/src/specification/v2/controls/ObjectPageSection.js +0 -13
  153. package/dist/src/specification/v2/controls/ObjectPageSection.js.map +0 -1
  154. package/dist/src/specification/v2/controls/ObjectPageTable.js +0 -7
  155. package/dist/src/specification/v2/controls/ObjectPageTable.js.map +0 -1
  156. package/dist/src/specification/v2/controls/ObjectPageToolBar.js +0 -3
  157. package/dist/src/specification/v2/controls/ObjectPageToolBar.js.map +0 -1
  158. package/dist/src/specification/v2/controls/Table.js +0 -42
  159. package/dist/src/specification/v2/controls/Table.js.map +0 -1
  160. package/dist/src/specification/v2/controls/ToolBar.js +0 -3
  161. package/dist/src/specification/v2/controls/ToolBar.js.map +0 -1
  162. package/dist/src/specification/v2/controls/index.js +0 -12
  163. package/dist/src/specification/v2/controls/index.js.map +0 -1
  164. package/dist/src/specification/v2/index.js +0 -10
  165. package/dist/src/specification/v2/index.js.map +0 -1
  166. package/dist/src/specification/v2/page.js +0 -3
  167. package/dist/src/specification/v2/page.js.map +0 -1
  168. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.js +0 -3
  169. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.js.map +0 -1
  170. package/dist/src/specification/v2/pages/ListReportConfig.js +0 -3
  171. package/dist/src/specification/v2/pages/ListReportConfig.js.map +0 -1
  172. package/dist/src/specification/v2/pages/ObjectPageConfig.js +0 -3
  173. package/dist/src/specification/v2/pages/ObjectPageConfig.js.map +0 -1
  174. package/dist/src/specification/v2/pages/OverviewPageConfig.js +0 -8
  175. package/dist/src/specification/v2/pages/OverviewPageConfig.js.map +0 -1
  176. package/dist/src/specification/v2/pages/index.js +0 -7
  177. package/dist/src/specification/v2/pages/index.js.map +0 -1
  178. package/dist/src/specification/v2/webapp/index.js +0 -7
  179. package/dist/src/specification/v2/webapp/index.js.map +0 -1
  180. package/dist/src/specification/v2/webapp/manifest/index.js +0 -8
  181. package/dist/src/specification/v2/webapp/manifest/index.js.map +0 -1
  182. package/dist/src/specification/v2/webapp/manifest/sapUi.js +0 -3
  183. package/dist/src/specification/v2/webapp/manifest/sapUi.js.map +0 -1
  184. package/dist/src/specification/v2/webapp/manifest/sapUi5.js +0 -10
  185. package/dist/src/specification/v2/webapp/manifest/sapUi5.js.map +0 -1
  186. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.js +0 -7
  187. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.js.map +0 -1
  188. package/dist/src/specification/v4/ApplicationV4.js +0 -3
  189. package/dist/src/specification/v4/ApplicationV4.js.map +0 -1
  190. package/dist/src/specification/v4/controls/FilterBar.js +0 -3
  191. package/dist/src/specification/v4/controls/FilterBar.js.map +0 -1
  192. package/dist/src/specification/v4/controls/ObjectPageFooter.js +0 -3
  193. package/dist/src/specification/v4/controls/ObjectPageFooter.js.map +0 -1
  194. package/dist/src/specification/v4/controls/ObjectPageHeader.js +0 -3
  195. package/dist/src/specification/v4/controls/ObjectPageHeader.js.map +0 -1
  196. package/dist/src/specification/v4/controls/ObjectPageHeaderSection.js +0 -7
  197. package/dist/src/specification/v4/controls/ObjectPageHeaderSection.js.map +0 -1
  198. package/dist/src/specification/v4/controls/ObjectPageLayout.js +0 -8
  199. package/dist/src/specification/v4/controls/ObjectPageLayout.js.map +0 -1
  200. package/dist/src/specification/v4/controls/ObjectPageSection.js +0 -12
  201. package/dist/src/specification/v4/controls/ObjectPageSection.js.map +0 -1
  202. package/dist/src/specification/v4/controls/ObjectPageTable.js +0 -3
  203. package/dist/src/specification/v4/controls/ObjectPageTable.js.map +0 -1
  204. package/dist/src/specification/v4/controls/ObjectPageToolBar.js +0 -3
  205. package/dist/src/specification/v4/controls/ObjectPageToolBar.js.map +0 -1
  206. package/dist/src/specification/v4/controls/Table.js +0 -30
  207. package/dist/src/specification/v4/controls/Table.js.map +0 -1
  208. package/dist/src/specification/v4/controls/ToolBar.js +0 -8
  209. package/dist/src/specification/v4/controls/ToolBar.js.map +0 -1
  210. package/dist/src/specification/v4/controls/index.js +0 -11
  211. package/dist/src/specification/v4/controls/index.js.map +0 -1
  212. package/dist/src/specification/v4/index.js +0 -9
  213. package/dist/src/specification/v4/index.js.map +0 -1
  214. package/dist/src/specification/v4/page.js +0 -3
  215. package/dist/src/specification/v4/page.js.map +0 -1
  216. package/dist/src/specification/v4/pages/AnalyticalListPageConfig.js +0 -3
  217. package/dist/src/specification/v4/pages/AnalyticalListPageConfig.js.map +0 -1
  218. package/dist/src/specification/v4/pages/ListReportConfig.js +0 -9
  219. package/dist/src/specification/v4/pages/ListReportConfig.js.map +0 -1
  220. package/dist/src/specification/v4/pages/ObjectPageConfig.js +0 -8
  221. package/dist/src/specification/v4/pages/ObjectPageConfig.js.map +0 -1
  222. package/dist/src/specification/v4/pages/index.js +0 -8
  223. package/dist/src/specification/v4/pages/index.js.map +0 -1
  224. package/dist/src/specification/v4/webapp/index.js +0 -7
  225. package/dist/src/specification/v4/webapp/index.js.map +0 -1
  226. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.js +0 -16
  227. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.js.map +0 -1
  228. package/dist/src/specification/v4/webapp/manifest/index.js +0 -10
  229. package/dist/src/specification/v4/webapp/manifest/index.js.map +0 -1
  230. package/dist/src/specification/v4/webapp/manifest/sapUi5.js +0 -11
  231. package/dist/src/specification/v4/webapp/manifest/sapUi5.js.map +0 -1
  232. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js +0 -14
  233. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js.map +0 -1
  234. package/dist/src/sync/common/appProvider.js +0 -57
  235. package/dist/src/sync/common/appProvider.js.map +0 -1
  236. package/dist/src/sync/common/decoration/control.js +0 -180
  237. package/dist/src/sync/common/decoration/control.js.map +0 -1
  238. package/dist/src/sync/common/decoration/decorators.js +0 -43
  239. package/dist/src/sync/common/decoration/decorators.js.map +0 -1
  240. package/dist/src/sync/common/decoration/factory.js +0 -50
  241. package/dist/src/sync/common/decoration/factory.js.map +0 -1
  242. package/dist/src/sync/common/decoration/flex.js +0 -8
  243. package/dist/src/sync/common/decoration/flex.js.map +0 -1
  244. package/dist/src/sync/common/decoration/index.js +0 -9
  245. package/dist/src/sync/common/decoration/index.js.map +0 -1
  246. package/dist/src/sync/common/flexUtils.js +0 -95
  247. package/dist/src/sync/common/flexUtils.js.map +0 -1
  248. package/dist/src/sync/common/generate/index.js +0 -8
  249. package/dist/src/sync/common/generate/index.js.map +0 -1
  250. package/dist/src/sync/common/generate/objectPage.js +0 -336
  251. package/dist/src/sync/common/generate/objectPage.js.map +0 -1
  252. package/dist/src/sync/common/generate/utils.js +0 -205
  253. package/dist/src/sync/common/generate/utils.js.map +0 -1
  254. package/dist/src/sync/common/i18n.json +0 -21
  255. package/dist/src/sync/common/import/utils.js +0 -75
  256. package/dist/src/sync/common/import/utils.js.map +0 -1
  257. package/dist/src/sync/common/importProject.js +0 -351
  258. package/dist/src/sync/common/importProject.js.map +0 -1
  259. package/dist/src/sync/common/index.js +0 -15
  260. package/dist/src/sync/common/index.js.map +0 -1
  261. package/dist/src/sync/common/types.js +0 -82
  262. package/dist/src/sync/common/types.js.map +0 -1
  263. package/dist/src/sync/common/utils.js +0 -1056
  264. package/dist/src/sync/common/utils.js.map +0 -1
  265. package/dist/src/sync/i18n.js +0 -15
  266. package/dist/src/sync/i18n.js.map +0 -1
  267. package/dist/src/sync/v2/application.js +0 -170
  268. package/dist/src/sync/v2/application.js.map +0 -1
  269. package/dist/src/sync/v2/export/controls/Action.js +0 -74
  270. package/dist/src/sync/v2/export/controls/Action.js.map +0 -1
  271. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js +0 -72
  272. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +0 -1
  273. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js +0 -56
  274. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +0 -1
  275. package/dist/src/sync/v2/export/controls/Card.js +0 -655
  276. package/dist/src/sync/v2/export/controls/Card.js.map +0 -1
  277. package/dist/src/sync/v2/export/controls/Field.js +0 -32
  278. package/dist/src/sync/v2/export/controls/Field.js.map +0 -1
  279. package/dist/src/sync/v2/export/controls/FilterBar.js +0 -245
  280. package/dist/src/sync/v2/export/controls/FilterBar.js.map +0 -1
  281. package/dist/src/sync/v2/export/controls/FormAction.js +0 -95
  282. package/dist/src/sync/v2/export/controls/FormAction.js.map +0 -1
  283. package/dist/src/sync/v2/export/controls/Fragment.js +0 -401
  284. package/dist/src/sync/v2/export/controls/Fragment.js.map +0 -1
  285. package/dist/src/sync/v2/export/controls/ObjectPageChart.js +0 -37
  286. package/dist/src/sync/v2/export/controls/ObjectPageChart.js.map +0 -1
  287. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js +0 -110
  288. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +0 -1
  289. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js +0 -62
  290. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +0 -1
  291. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js +0 -60
  292. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +0 -1
  293. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js +0 -62
  294. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +0 -1
  295. package/dist/src/sync/v2/export/controls/ObjectPageLayout.js +0 -59
  296. package/dist/src/sync/v2/export/controls/ObjectPageLayout.js.map +0 -1
  297. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +0 -144
  298. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +0 -1
  299. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +0 -323
  300. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +0 -1
  301. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js +0 -59
  302. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +0 -1
  303. package/dist/src/sync/v2/export/controls/Table.js +0 -667
  304. package/dist/src/sync/v2/export/controls/Table.js.map +0 -1
  305. package/dist/src/sync/v2/export/controls/TableColumn.js +0 -41
  306. package/dist/src/sync/v2/export/controls/TableColumn.js.map +0 -1
  307. package/dist/src/sync/v2/export/controls/ToolBar.js +0 -6
  308. package/dist/src/sync/v2/export/controls/ToolBar.js.map +0 -1
  309. package/dist/src/sync/v2/export/controls/index.js +0 -26
  310. package/dist/src/sync/v2/export/controls/index.js.map +0 -1
  311. package/dist/src/sync/v2/export/export.js +0 -592
  312. package/dist/src/sync/v2/export/export.js.map +0 -1
  313. package/dist/src/sync/v2/export/exportPage.js +0 -312
  314. package/dist/src/sync/v2/export/exportPage.js.map +0 -1
  315. package/dist/src/sync/v2/export/factory.js +0 -59
  316. package/dist/src/sync/v2/export/factory.js.map +0 -1
  317. package/dist/src/sync/v2/export/manifest.js +0 -117
  318. package/dist/src/sync/v2/export/manifest.js.map +0 -1
  319. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js +0 -41
  320. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +0 -1
  321. package/dist/src/sync/v2/export/pages/ListReport.js +0 -38
  322. package/dist/src/sync/v2/export/pages/ListReport.js.map +0 -1
  323. package/dist/src/sync/v2/export/pages/ObjectPage.js +0 -100
  324. package/dist/src/sync/v2/export/pages/ObjectPage.js.map +0 -1
  325. package/dist/src/sync/v2/export/pages/OverviewPage.js +0 -178
  326. package/dist/src/sync/v2/export/pages/OverviewPage.js.map +0 -1
  327. package/dist/src/sync/v2/export/pages/index.js +0 -10
  328. package/dist/src/sync/v2/export/pages/index.js.map +0 -1
  329. package/dist/src/sync/v2/export/view-controller-generator.js +0 -157
  330. package/dist/src/sync/v2/export/view-controller-generator.js.map +0 -1
  331. package/dist/src/sync/v2/generate/analyticalListReport.js +0 -87
  332. package/dist/src/sync/v2/generate/analyticalListReport.js.map +0 -1
  333. package/dist/src/sync/v2/generate/generate.js +0 -96
  334. package/dist/src/sync/v2/generate/generate.js.map +0 -1
  335. package/dist/src/sync/v2/generate/index.js +0 -14
  336. package/dist/src/sync/v2/generate/index.js.map +0 -1
  337. package/dist/src/sync/v2/generate/listReport.js +0 -113
  338. package/dist/src/sync/v2/generate/listReport.js.map +0 -1
  339. package/dist/src/sync/v2/generate/objectPage.js +0 -556
  340. package/dist/src/sync/v2/generate/objectPage.js.map +0 -1
  341. package/dist/src/sync/v2/generate/overviewPage.js +0 -73
  342. package/dist/src/sync/v2/generate/overviewPage.js.map +0 -1
  343. package/dist/src/sync/v2/generate/utils.js +0 -347
  344. package/dist/src/sync/v2/generate/utils.js.map +0 -1
  345. package/dist/src/sync/v2/import/app/appProvider.js +0 -122
  346. package/dist/src/sync/v2/import/app/appProvider.js.map +0 -1
  347. package/dist/src/sync/v2/import/app/ovpProvider.js +0 -33
  348. package/dist/src/sync/v2/import/app/ovpProvider.js.map +0 -1
  349. package/dist/src/sync/v2/import/common/index.js +0 -213
  350. package/dist/src/sync/v2/import/common/index.js.map +0 -1
  351. package/dist/src/sync/v2/import/controls/table.js +0 -31
  352. package/dist/src/sync/v2/import/controls/table.js.map +0 -1
  353. package/dist/src/sync/v2/import/getPageType.js +0 -1
  354. package/dist/src/sync/v2/import/getPageType.js.map +0 -1
  355. package/dist/src/sync/v2/import/index.js +0 -11
  356. package/dist/src/sync/v2/import/index.js.map +0 -1
  357. package/dist/src/sync/v2/import/pages/analyticalListPage.js +0 -104
  358. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +0 -1
  359. package/dist/src/sync/v2/import/pages/listReport.js +0 -234
  360. package/dist/src/sync/v2/import/pages/listReport.js.map +0 -1
  361. package/dist/src/sync/v2/import/pages/objectPage.js +0 -620
  362. package/dist/src/sync/v2/import/pages/objectPage.js.map +0 -1
  363. package/dist/src/sync/v2/import/pages/overviewPage.js +0 -113
  364. package/dist/src/sync/v2/import/pages/overviewPage.js.map +0 -1
  365. package/dist/src/sync/v2/import/utils.js +0 -103
  366. package/dist/src/sync/v2/import/utils.js.map +0 -1
  367. package/dist/src/sync/v2/types.js +0 -26
  368. package/dist/src/sync/v2/types.js.map +0 -1
  369. package/dist/src/sync/v4/application.js +0 -80
  370. package/dist/src/sync/v4/application.js.map +0 -1
  371. package/dist/src/sync/v4/export/controls/FilterBar.js +0 -6
  372. package/dist/src/sync/v4/export/controls/FilterBar.js.map +0 -1
  373. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js +0 -136
  374. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +0 -1
  375. package/dist/src/sync/v4/export/controls/ObjectPageHeader.js +0 -55
  376. package/dist/src/sync/v4/export/controls/ObjectPageHeader.js.map +0 -1
  377. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js +0 -65
  378. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +0 -1
  379. package/dist/src/sync/v4/export/controls/ObjectPageLayout.js +0 -24
  380. package/dist/src/sync/v4/export/controls/ObjectPageLayout.js.map +0 -1
  381. package/dist/src/sync/v4/export/controls/ObjectPageTable.js +0 -245
  382. package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +0 -1
  383. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +0 -87
  384. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +0 -1
  385. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js +0 -21
  386. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +0 -1
  387. package/dist/src/sync/v4/export/controls/Table.js +0 -318
  388. package/dist/src/sync/v4/export/controls/Table.js.map +0 -1
  389. package/dist/src/sync/v4/export/controls/TableColumn.js +0 -97
  390. package/dist/src/sync/v4/export/controls/TableColumn.js.map +0 -1
  391. package/dist/src/sync/v4/export/controls/ToolBar.js +0 -6
  392. package/dist/src/sync/v4/export/controls/ToolBar.js.map +0 -1
  393. package/dist/src/sync/v4/export/controls/ToolBarAction.js +0 -21
  394. package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +0 -1
  395. package/dist/src/sync/v4/export/controls/index.js +0 -18
  396. package/dist/src/sync/v4/export/controls/index.js.map +0 -1
  397. package/dist/src/sync/v4/export/export.js +0 -418
  398. package/dist/src/sync/v4/export/export.js.map +0 -1
  399. package/dist/src/sync/v4/export/factory.js +0 -44
  400. package/dist/src/sync/v4/export/factory.js.map +0 -1
  401. package/dist/src/sync/v4/export/flexibleColumnLayout.js +0 -114
  402. package/dist/src/sync/v4/export/flexibleColumnLayout.js.map +0 -1
  403. package/dist/src/sync/v4/export/manifest.js +0 -208
  404. package/dist/src/sync/v4/export/manifest.js.map +0 -1
  405. package/dist/src/sync/v4/export/pages/AnalyticalListPage.js +0 -38
  406. package/dist/src/sync/v4/export/pages/AnalyticalListPage.js.map +0 -1
  407. package/dist/src/sync/v4/export/pages/ListReport.js +0 -33
  408. package/dist/src/sync/v4/export/pages/ListReport.js.map +0 -1
  409. package/dist/src/sync/v4/export/pages/ObjectPage.js +0 -39
  410. package/dist/src/sync/v4/export/pages/ObjectPage.js.map +0 -1
  411. package/dist/src/sync/v4/export/pages/index.js +0 -9
  412. package/dist/src/sync/v4/export/pages/index.js.map +0 -1
  413. package/dist/src/sync/v4/export/types.js +0 -3
  414. package/dist/src/sync/v4/export/types.js.map +0 -1
  415. package/dist/src/sync/v4/export/utils.js +0 -26
  416. package/dist/src/sync/v4/export/utils.js.map +0 -1
  417. package/dist/src/sync/v4/generate/generate.js +0 -47
  418. package/dist/src/sync/v4/generate/generate.js.map +0 -1
  419. package/dist/src/sync/v4/generate/index.js +0 -10
  420. package/dist/src/sync/v4/generate/index.js.map +0 -1
  421. package/dist/src/sync/v4/generate/listReport.js +0 -96
  422. package/dist/src/sync/v4/generate/listReport.js.map +0 -1
  423. package/dist/src/sync/v4/generate/objectPage.js +0 -395
  424. package/dist/src/sync/v4/generate/objectPage.js.map +0 -1
  425. package/dist/src/sync/v4/import/app/appProvider.js +0 -313
  426. package/dist/src/sync/v4/import/app/appProvider.js.map +0 -1
  427. package/dist/src/sync/v4/import/fragment.js +0 -130
  428. package/dist/src/sync/v4/import/fragment.js.map +0 -1
  429. package/dist/src/sync/v4/import/index.js +0 -9
  430. package/dist/src/sync/v4/import/index.js.map +0 -1
  431. package/dist/src/sync/v4/import/pages/analyticalListPage.js +0 -61
  432. package/dist/src/sync/v4/import/pages/analyticalListPage.js.map +0 -1
  433. package/dist/src/sync/v4/import/pages/listReport.js +0 -124
  434. package/dist/src/sync/v4/import/pages/listReport.js.map +0 -1
  435. package/dist/src/sync/v4/import/pages/objectPage.js +0 -231
  436. package/dist/src/sync/v4/import/pages/objectPage.js.map +0 -1
  437. package/dist/src/sync/v4/import/utils.js +0 -33
  438. package/dist/src/sync/v4/import/utils.js.map +0 -1
  439. package/dist/src/sync/v4/types.js +0 -3
  440. package/dist/src/sync/v4/types.js.map +0 -1
  441. package/dist/src/sync/v4/utils/StableIdHelper.js +0 -153
  442. package/dist/src/sync/v4/utils/StableIdHelper.js.map +0 -1
  443. package/dist/src/sync/v4/utils/utils.js +0 -94
  444. package/dist/src/sync/v4/utils/utils.js.map +0 -1
  445. package/dist/src/v2.js +0 -8
  446. package/dist/src/v2.js.map +0 -1
  447. package/dist/src/v4.js +0 -8
  448. package/dist/src/v4.js.map +0 -1
  449. package/dist/test/test-utils/metadataParser.d.ts +0 -19
@@ -1,336 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const StableIdHelper_1 = require("../../v4/utils/StableIdHelper");
4
- const common_1 = require("../../../specification/common");
5
- const __1 = require("..");
6
- /**
7
- * Adds a field definition to the app specific schema
8
- * @param {string} sectionType - prefix to distinguish Section and HeaderSection
9
- * @param {object} appSchema - App schema in general
10
- * @param {DataFieldAbstractTypes} field - field definition in parser output (AVT)
11
- * @param {string} targetID - unique ID, identifies the parent object (form)
12
- * @param {string} key - current field key
13
- * @param {SectionType} section - current section of the object page
14
- */
15
- function addField(sectionType, appSchema, field, targetID, key, section, version, withActions = true) {
16
- var _a, _b, _c, _d, _e;
17
- const fieldReferenceId = StableIdHelper_1.getStableIdPartFromDataField(field);
18
- const fieldReference = version === common_1.FioriElementsVersion.v2 && fieldReferenceId && fieldReferenceId.includes('::')
19
- ? fieldReferenceId
20
- .split('::')
21
- .splice(1)
22
- .join('::')
23
- : fieldReferenceId;
24
- const fieldReferenceType = version === common_1.FioriElementsVersion.v2 && fieldReferenceId && fieldReferenceId.includes('::')
25
- ? fieldReferenceId.split('::')[0].replace('DataField', 'Field')
26
- : undefined;
27
- const fieldDefinition = version === common_1.FioriElementsVersion.v2
28
- ? `${fieldReferenceType}<${targetID}::${fieldReference}>`
29
- : `${targetID}::${fieldReference}`;
30
- const fieldsDefinition = __1.prepareRef(`${sectionType}Fields<${targetID}>`);
31
- const actionsDefinition = __1.prepareRef(`${sectionType}Actions<${targetID}>`);
32
- if (!field || !field.$Type) {
33
- return;
34
- }
35
- else if (field.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* DataFieldForAction */ ||
36
- field.$Type === "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* DataFieldForIntentBasedNavigation */) {
37
- if (withActions && sectionType === __1.SectionType.Section) {
38
- appSchema['definitions'][actionsDefinition]['properties'][fieldReference] = {
39
- $ref: __1.DEFINITION_LINK_PREFIX + fieldDefinition,
40
- propertyIndex: parseInt(key)
41
- };
42
- }
43
- }
44
- else {
45
- appSchema['definitions'][fieldsDefinition]['properties'][fieldReference] = {
46
- $ref: __1.DEFINITION_LINK_PREFIX + fieldDefinition,
47
- propertyIndex: parseInt(key)
48
- };
49
- }
50
- appSchema['definitions'][fieldDefinition] = {
51
- type: 'object',
52
- isViewNode: true,
53
- properties: {},
54
- description: __1.getDatafieldDescription(field, section.entityType),
55
- additionalProperties: false,
56
- annotationType: field.$Type
57
- };
58
- if (version === common_1.FioriElementsVersion.v4 && appSchema['definitions']['Field']) {
59
- switch (field.$Type) {
60
- case "com.sap.vocabularies.UI.v1.DataField" /* DataField */:
61
- case "com.sap.vocabularies.UI.v1.DataFieldForAnnotation" /* DataFieldForAnnotation */:
62
- case "com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath" /* DataFieldWithNavigationPath */:
63
- case "com.sap.vocabularies.UI.v1.DataFieldWithUrl" /* DataFieldWithUrl */: {
64
- appSchema['definitions'][fieldDefinition]['properties'] =
65
- appSchema['definitions']['Field']['properties'];
66
- break;
67
- }
68
- }
69
- }
70
- else if (version === common_1.FioriElementsVersion.v2 && appSchema['definitions']['Field']) {
71
- switch (field.$Type) {
72
- case "com.sap.vocabularies.UI.v1.DataField" /* DataField */:
73
- case "com.sap.vocabularies.UI.v1.DataFieldForAnnotation" /* DataFieldForAnnotation */:
74
- case "com.sap.vocabularies.UI.v1.DataFieldWithUrl" /* DataFieldWithUrl */: {
75
- appSchema['definitions'][fieldDefinition]['properties'] =
76
- appSchema['definitions']['Field']['properties'];
77
- break;
78
- }
79
- }
80
- }
81
- if (field.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* DataFieldForAction */ && ((_a = appSchema['definitions']) === null || _a === void 0 ? void 0 : _a['FormAction'])) {
82
- appSchema['definitions'][fieldDefinition]['properties'] = appSchema['definitions']['FormAction']['properties'];
83
- }
84
- if ((_c = (_b = field['Value']) === null || _b === void 0 ? void 0 : _b.$target) === null || _c === void 0 ? void 0 : _c.type) {
85
- appSchema['definitions'][fieldDefinition].dataType = (_e = (_d = field['Value']) === null || _d === void 0 ? void 0 : _d.$target) === null || _e === void 0 ? void 0 : _e.type.replace('Edm.', '');
86
- }
87
- appSchema['definitions'][fieldDefinition].annotationPath = `/${section.entityType.fullyQualifiedName}/${field.fullyQualifiedName.split(section.entityType.fullyQualifiedName)[1]}`;
88
- }
89
- function determineTargetIdOfForm(section) {
90
- let targetID;
91
- if (section.target && section.target['qualifier'] && section.entityType) {
92
- targetID = `${section.entityType.name}::${section.base}::${section.target['qualifier']}`;
93
- }
94
- else if (section.entityType) {
95
- targetID = `${section.entityType.name}::${section.base}`;
96
- }
97
- else {
98
- targetID = section.ID;
99
- }
100
- return targetID;
101
- }
102
- /**
103
- * Adds definitions for forms in object page sections to the app schema
104
- * @param {SectionType} sectionType - prefix to distinguish Section and HeaderSection
105
- * @param {FacetConfig} section - facet or section in the FE core model
106
- * @param {object} appSchemaSection - current definition of facet or section in the JSON schema
107
- * @param {object} appSchema - app specific schema that gets enhanced
108
- */
109
- function handleForm(sectionType, section, appSchemaSection, appSchema, version, withActions = true) {
110
- var _a;
111
- if (!section.target) {
112
- return;
113
- }
114
- const targetID = determineTargetIdOfForm(section);
115
- const formDefinition = __1.prepareRef(`${sectionType}Form<${targetID}>`);
116
- const fieldsDefinition = __1.prepareRef(`${sectionType}Fields<${targetID}>`);
117
- const actionsDefinition = __1.prepareRef(`${sectionType}Actions<${targetID}>`);
118
- // Form definition
119
- appSchemaSection['properties']['form'] = { $ref: __1.DEFINITION_LINK_PREFIX + formDefinition };
120
- if (sectionType === __1.SectionType.Section && withActions) {
121
- appSchema['definitions'][formDefinition] = {
122
- type: 'object',
123
- properties: {
124
- actions: {
125
- $ref: __1.DEFINITION_LINK_PREFIX + actionsDefinition
126
- },
127
- fields: { $ref: __1.DEFINITION_LINK_PREFIX + fieldsDefinition }
128
- },
129
- isViewNode: true,
130
- description: 'Form',
131
- additionalProperties: false
132
- };
133
- appSchema['definitions'][actionsDefinition] = {
134
- type: 'object',
135
- properties: {},
136
- isViewNode: true,
137
- description: 'Actions',
138
- additionalProperties: false
139
- };
140
- }
141
- else {
142
- appSchema['definitions'][formDefinition] = {
143
- type: 'object',
144
- properties: {
145
- fields: { $ref: __1.DEFINITION_LINK_PREFIX + fieldsDefinition }
146
- },
147
- isViewNode: true,
148
- description: 'Form',
149
- additionalProperties: false
150
- };
151
- }
152
- if ((_a = section.entityType) === null || _a === void 0 ? void 0 : _a.name) {
153
- appSchema['definitions'][formDefinition].annotationPath = __1.createAnnotationPath(section.entityType.fullyQualifiedName, section.target['term'], section.target['qualifier']);
154
- }
155
- // Fields definition
156
- appSchema['definitions'][fieldsDefinition] = {
157
- type: 'object',
158
- properties: {},
159
- isViewNode: true,
160
- description: 'Fields',
161
- additionalProperties: false
162
- };
163
- // Add fields
164
- if (section.base === __1.FacetBase.Identification) {
165
- for (const key in section.target) {
166
- const field = section.target[key];
167
- if (field) {
168
- addField(sectionType, appSchema, field, targetID, key, section, version, withActions);
169
- }
170
- }
171
- }
172
- else {
173
- for (const key in section.target['Data']) {
174
- const field = section.target['Data'][key];
175
- addField(sectionType, appSchema, field, targetID, key, section, version);
176
- }
177
- }
178
- }
179
- exports.handleForm = handleForm;
180
- /**
181
- * Replaces an alias in an annotation ID or reference, based on the AVT references' list
182
- * @param annotationIdentifier - annotation ID or reference
183
- * @param {ConverterOutput} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
184
- * @returns the converted string
185
- */
186
- function replaceAlias(annotationIdentifier, oDataServiceAVT) {
187
- const potentialAlias = annotationIdentifier.indexOf('.') > -1 ? annotationIdentifier.split('.')[0] : undefined;
188
- let result = annotationIdentifier;
189
- if (potentialAlias) {
190
- const reference = oDataServiceAVT.references.find((ref) => {
191
- return ref.alias === potentialAlias;
192
- });
193
- if (reference) {
194
- result = annotationIdentifier.replace(potentialAlias, reference.namespace);
195
- }
196
- }
197
- return result;
198
- }
199
- exports.replaceAlias = replaceAlias;
200
- /**
201
- * Common routine to determine the name and the ID of a header action
202
- * @param action - action as given by AVT
203
- * @param entityType - entity type by AVT
204
- * @returns an object comprising action name and action id
205
- */
206
- function getActionNameAndId(action, entityType) {
207
- let separatorIndex = action.lastIndexOf('/');
208
- if (separatorIndex === -1) {
209
- separatorIndex = action.lastIndexOf('.');
210
- }
211
- let actionName, actionId;
212
- if (separatorIndex > -1) {
213
- actionName = action.substr(separatorIndex + 1);
214
- actionId = action.substr(0, separatorIndex) + '::' + actionName;
215
- }
216
- else {
217
- actionName = action;
218
- const namespace = entityType.fullyQualifiedName.split(entityType.name)[0];
219
- actionId = namespace.substr(0, namespace.length - 1) + '::' + actionName;
220
- }
221
- return { actionName, actionId };
222
- }
223
- exports.getActionNameAndId = getActionNameAndId;
224
- /**
225
- * Add Object Page Footer Action Buttons to app-specific schema
226
- *
227
- * @param {object} appSchema Schema of the app
228
- * @param {EntityType} entityType - current entity type
229
- * @param {ConverterOutput} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
230
- */
231
- function addFooterActions(appSchema, entityType, oDataServiceAVT) {
232
- appSchema['definitions']['ObjectPageFooter'] = JSON.parse(JSON.stringify(appSchema['definitions']['ObjectPageFooter<GenericFooterActions>']));
233
- // Change reference of footer
234
- appSchema['properties']['footer'] = {
235
- $ref: `${__1.DEFINITION_LINK_PREFIX}ObjectPageFooter`
236
- };
237
- // Add action to configuration
238
- appSchema['definitions']['ObjectPageFooter'].properties['actions'] = {
239
- $ref: `${__1.DEFINITION_LINK_PREFIX}FooterActions`
240
- };
241
- const footerActions = (appSchema['definitions']['FooterActions'] = {
242
- type: 'object',
243
- properties: {},
244
- description: 'Actions',
245
- additionalProperties: false,
246
- isViewNode: true
247
- });
248
- const alias = __1.findAlias(__1.UIVOCABULARY, oDataServiceAVT);
249
- const actionAnnotation = alias &&
250
- entityType.annotations &&
251
- entityType.annotations[alias] &&
252
- entityType.annotations[alias].Identification;
253
- if (actionAnnotation) {
254
- const convertedIdentification = actionAnnotation.fullyQualifiedName.replace(`@${"com.sap.vocabularies.UI.v1.Identification" /* Identification */}`, `/@${"com.sap.vocabularies.UI.v1.Identification" /* Identification */}`);
255
- footerActions['annotationPath'] = `/${convertedIdentification}`;
256
- actionAnnotation.forEach((item, index) => {
257
- if (item['Determining'] && item.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* DataFieldForAction */) {
258
- const { actionName, actionId } = getActionNameAndId(item.Action, entityType);
259
- const description = item.Label || actionName;
260
- const actionDefinitionKey = __1.prepareRef(`FooterAction<${actionId}>`);
261
- if (appSchema['definitions']['FooterAction']) {
262
- appSchema['definitions'][actionDefinitionKey] = Object.assign(Object.assign({}, JSON.parse(JSON.stringify(appSchema['definitions']['FooterAction']))), { description, annotationPath: `/${convertedIdentification}/${index}` });
263
- }
264
- else {
265
- appSchema['definitions'][actionDefinitionKey] = {
266
- isViewNode: true,
267
- type: 'object',
268
- properties: {},
269
- description: description,
270
- annotationPath: `/${convertedIdentification}/${index}`
271
- };
272
- }
273
- footerActions.properties[actionId] = {
274
- $ref: `${__1.DEFINITION_LINK_PREFIX}${actionDefinitionKey}`
275
- };
276
- }
277
- });
278
- }
279
- else {
280
- footerActions['annotationPath'] = `/${entityType.fullyQualifiedName}/@${"com.sap.vocabularies.UI.v1.Identification" /* Identification */}`;
281
- }
282
- delete appSchema['definitions']['GenericFooterActions'];
283
- delete appSchema['definitions']['ObjectPageFooter<GenericFooterActions>'];
284
- }
285
- exports.addFooterActions = addFooterActions;
286
- /**
287
- * Add Object Page Header Action Buttons to app-specific schema
288
- * @param {object} appSchema Schema of the app
289
- * @param {EntityType} entityType - current entity type
290
- * @param {ConverterOutput} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
291
- */
292
- function addHeaderActions(appSchema, entityType, oDataServiceAVT,
293
- // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
294
- addHeaderActionCallBack) {
295
- appSchema['definitions']['ObjectPageHeader'].properties['actions'] = {
296
- $ref: `${__1.DEFINITION_LINK_PREFIX}HeaderActions`
297
- };
298
- const headerActions = (appSchema['definitions']['HeaderActions'] = {
299
- type: 'object',
300
- properties: {},
301
- description: 'Actions',
302
- additionalProperties: false,
303
- isViewNode: true
304
- });
305
- const alias = __1.findAlias(__1.UIVOCABULARY, oDataServiceAVT);
306
- const identification = alias &&
307
- entityType.annotations &&
308
- entityType.annotations[alias] &&
309
- entityType.annotations[alias].Identification;
310
- if (identification) {
311
- headerActions['annotationPath'] =
312
- '/' +
313
- identification.fullyQualifiedName.replace(`@${"com.sap.vocabularies.UI.v1.Identification" /* Identification */}`, `/@${"com.sap.vocabularies.UI.v1.Identification" /* Identification */}`);
314
- identification.forEach(addHeaderActionCallBack(entityType, appSchema, identification, headerActions, oDataServiceAVT));
315
- }
316
- else {
317
- headerActions['annotationPath'] = `/${entityType.fullyQualifiedName}/@${"com.sap.vocabularies.UI.v1.Identification" /* Identification */}`;
318
- }
319
- delete appSchema['definitions']['GenericActions'];
320
- delete appSchema['definitions']['ObjectPageHeader<GenericActions>'];
321
- }
322
- exports.addHeaderActions = addHeaderActions;
323
- /**
324
- * Adds common Object Page Header definitions to the app schema
325
- * @param appSchema - app-specific JSOn schema
326
- * @param entityType - current entity Type
327
- */
328
- function addCommonHeaderSchema(appSchema, entityType) {
329
- appSchema['properties']['header'] = {
330
- $ref: __1.DEFINITION_LINK_PREFIX + 'ObjectPageHeader'
331
- };
332
- appSchema['definitions']['ObjectPageHeader'] = JSON.parse(JSON.stringify(appSchema['definitions']['ObjectPageHeader<GenericActions>']));
333
- appSchema['definitions']['ObjectPageHeader'].annotationPath = `/${entityType.fullyQualifiedName}/@${"com.sap.vocabularies.UI.v1.HeaderInfo" /* HeaderInfo */}`;
334
- }
335
- exports.addCommonHeaderSchema = addCommonHeaderSchema;
336
- //# sourceMappingURL=objectPage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"objectPage.js","sourceRoot":"","sources":["../../../../../src/sync/common/generate/objectPage.ts"],"names":[],"mappings":";;AAOA,kEAA6E;AAC7E,0DAAqE;AACrE,0BAUY;AAEZ;;;;;;;;GAQG;AACH,SAAS,QAAQ,CACb,WAAwB,EACxB,SAAiB,EACjB,KAA6B,EAC7B,QAAgB,EAChB,GAAW,EACX,OAAoB,EACpB,OAA6B,EAC7B,WAAW,GAAG,IAAI;;IAElB,MAAM,gBAAgB,GAAG,6CAA4B,CAAC,KAAK,CAAC,CAAC;IAC7D,MAAM,cAAc,GAChB,OAAO,KAAK,6BAAoB,CAAC,EAAE,IAAI,gBAAgB,IAAI,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtF,CAAC,CAAC,gBAAgB;aACX,KAAK,CAAC,IAAI,CAAC;aACX,MAAM,CAAC,CAAC,CAAC;aACT,IAAI,CAAC,IAAI,CAAC;QACjB,CAAC,CAAC,gBAAgB,CAAC;IAC3B,MAAM,kBAAkB,GACpB,OAAO,KAAK,6BAAoB,CAAC,EAAE,IAAI,gBAAgB,IAAI,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtF,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,IAAI,C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C,CAAC,CAAC;AACxE,CAAC;AAxCD,4CAwCC;AAED;;;;GAIG;AACH,SAAgB,qBAAqB,CAAC,SAAiB,EAAE,UAAsB;IAC3E,SAAS,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,GAAG;QAChC,IAAI,EAAE,0BAAsB,GAAG,kBAAkB;KACpD,CAAC;IACF,SAAS,CAAC,aAAa,CAAC,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,KAAK,CACrD,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,kCAAkC,CAAC,CAAC,CAC/E,CAAC;IACF,SAAS,CAAC,aAAa,CAAC,CACpB,kBAAkB,CACrB,CAAC,cAAc,GAAG,IAAI,UAAU,CAAC,kBAAkB,KAAK,wDAA4B,EAAE,CAAC;AAC5F,CAAC;AAVD,sDAUC"}
@@ -1,205 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const __1 = require("..");
4
- /**
5
- * Adds an enum filled with existing UI annotations of the given list (validAnnotations)
6
- * @param {EntityType} entityType
7
- * @param {UIAnnotationTerms[]} validAnnotations
8
- * @param annoPath - the annotation path property in the app schema where the enum shall be added
9
- */
10
- function addEnumForValidAnnotations(entityType, validAnnotations, annoPath) {
11
- const UiAnnotations = entityType.annotations.UI;
12
- if (!UiAnnotations) {
13
- return;
14
- }
15
- const enumEntries = annoPath['enum'] ? annoPath['enum'] : [];
16
- for (const key in UiAnnotations) {
17
- const annotation = UiAnnotations[key];
18
- if (validAnnotations.indexOf(annotation.term) > -1) {
19
- const enumEntry = annotation.qualifier
20
- ? `${annotation.term}#${annotation.qualifier}`
21
- : `${annotation.term}`;
22
- if (enumEntries.indexOf(enumEntry) === -1) {
23
- enumEntries.push(enumEntry);
24
- }
25
- }
26
- }
27
- if (enumEntries.length > 0) {
28
- annoPath['enum'] = enumEntries;
29
- }
30
- }
31
- exports.addEnumForValidAnnotations = addEnumForValidAnnotations;
32
- /**
33
- * Adds an enum filled with existing UI annotations for single-tab variants of a table
34
- * @param {EntityType} entityType
35
- * @param appSchema - app specific JSOn schema
36
- * @param definitionName - name of the definition in the app schema
37
- */
38
- function addEnumForSingleTabVariant(entityType, appSchema, definitionName) {
39
- const quickVariant = appSchema['definitions'][definitionName];
40
- const annoPath = quickVariant.properties.annotationPath;
41
- const validAnnotations = ["com.sap.vocabularies.UI.v1.SelectionVariant" /* SelectionVariant */, "com.sap.vocabularies.UI.v1.SelectionPresentationVariant" /* SelectionPresentationVariant */];
42
- addEnumForValidAnnotations(entityType, validAnnotations, annoPath);
43
- }
44
- exports.addEnumForSingleTabVariant = addEnumForSingleTabVariant;
45
- /**
46
- * Adds an enum filled with existing UI annotations for multi-tab variants of a table
47
- * @param {ConverterOutput} oDataServiceAVT - combined service metadata, as returned by annotation vocabularies tools
48
- * @param appSchema - app specific JSOn schema
49
- * @param definitionName - name of the definition in the app schema
50
- */
51
- function addEnumForMultiTabVariant(oDataServiceAVT, appSchema, definitionName) {
52
- const quickVariant = appSchema['definitions'][definitionName];
53
- const annoPath = quickVariant.properties.annotationPath;
54
- const validAnnotations = [
55
- "com.sap.vocabularies.UI.v1.SelectionVariant" /* SelectionVariant */,
56
- "com.sap.vocabularies.UI.v1.SelectionPresentationVariant" /* SelectionPresentationVariant */,
57
- "com.sap.vocabularies.UI.v1.PresentationVariant" /* PresentationVariant */
58
- ];
59
- if (oDataServiceAVT.entitySets) {
60
- oDataServiceAVT.entitySets.forEach((entitySet) => {
61
- addEnumForValidAnnotations(entitySet.entityType, validAnnotations, annoPath);
62
- });
63
- }
64
- }
65
- exports.addEnumForMultiTabVariant = addEnumForMultiTabVariant;
66
- /**
67
- * Adds the enume values for entitySet as part of the multiple view scenario
68
- * @param {ConverterOutput} oDataServiceAVT - combined service metadata, as returned by annotation vocabularies tools
69
- * @param appSchema - app specific JSOn schema
70
- * @param definitionName - name of the definition in the app schema
71
- */
72
- function addEnumForVariantEntitySet(oDataServiceAVT, appSchema, definitionName) {
73
- const quickVariant = appSchema['definitions'][definitionName];
74
- const entitySet = quickVariant.properties.entitySet;
75
- if (oDataServiceAVT.entitySets) {
76
- const enumEntries = [];
77
- oDataServiceAVT.entitySets.forEach((es) => {
78
- enumEntries.push(es.name);
79
- });
80
- if (enumEntries.length > 0) {
81
- entitySet['enum'] = enumEntries;
82
- }
83
- }
84
- }
85
- exports.addEnumForVariantEntitySet = addEnumForVariantEntitySet;
86
- /**
87
- * Adds an enum filled with existing UI annotations for annotationPath property in FilterBar
88
- * @param {EntityType} entityType
89
- * @param appSchema - app specific JSOn schema
90
- * @param definitionName - name of the definition in the app schema
91
- */
92
- function addEnumForFilterBarAnnotationPath(entityType, appSchema, definitionName) {
93
- const listReprtFilter = appSchema['definitions'][definitionName];
94
- const annoPath = listReprtFilter.properties.annotationPath;
95
- const validAnnotations = ["com.sap.vocabularies.UI.v1.SelectionVariant" /* SelectionVariant */];
96
- addEnumForValidAnnotations(entityType, validAnnotations, annoPath);
97
- }
98
- exports.addEnumForFilterBarAnnotationPath = addEnumForFilterBarAnnotationPath;
99
- /**
100
- * Method adds definition for 'RelatedFacetKeys' as enum with describtion and adds references to 'RelatedFacetKeys' for custom section definitions.
101
- * @param {object} schema App specific schema that potentially gets enhanced
102
- * @param {string[]>} sectionDefinitions array of section definitions which should be updated with new reference to 'RelatedFacetKeys' enum.
103
- * @param {FacetSection[]} facetSections Array of facet section objects which is used to generate enum values.
104
- * @param {Array<keyof Omit<FacetSection, 'custom'>>} idProperties Array of property names which should be looked up in 'FacetSection' object.
105
- * Please note that method depends on order and takes first non empty value associated to passed properties.
106
- */
107
- function addDefinitionForRelatedFacetKeys(schema, sectionDefinitions, facetSections, idProperties) {
108
- const oneOfSections = facetSections.map((section) => {
109
- // Loop accaptable properties in received order and find first entry with value
110
- const propertyName = idProperties.find((property) => !!section[property]);
111
- const schemaIdForSection = section[propertyName];
112
- return Object.assign(Object.assign({ const: schemaIdForSection }, (section.label && { description: section.label })), (section.custom && { custom: section.custom }));
113
- });
114
- // Change 'relatedFacet' only when we have entries for sections - otherwise use generic.
115
- if (oneOfSections.length) {
116
- // Create new definition in schema as 'oneOf'.
117
- // Simpler way would be to use 'enum', but then there no option to pass description.
118
- schema['definitions']['RelatedFacetKeys'] = {
119
- type: 'string',
120
- oneOf: oneOfSections
121
- };
122
- // Add enum definition
123
- for (const name of sectionDefinitions) {
124
- const definition = schema['definitions'][name];
125
- const property = definition['properties']['relatedFacet'];
126
- definition['properties']['relatedFacet'] = {
127
- anyOf: [
128
- {
129
- $ref: __1.DEFINITION_LINK_PREFIX + 'RelatedFacetKeys'
130
- },
131
- property
132
- ]
133
- };
134
- }
135
- }
136
- }
137
- exports.addDefinitionForRelatedFacetKeys = addDefinitionForRelatedFacetKeys;
138
- /**
139
- * Functions used both by V2 and V4 to add the common definitions for a line item to the app schema
140
- * @param appSchema - the app specific schema that shall get enhanced
141
- * @param lineItemAnnotation - the UI.LineItem annotation, comprising all records
142
- * @param entityType - the entity type as part of the AVT ConverterOutput
143
- * @param lineItemId - line item ID, as comprise in stable ID
144
- * @returns the actions definition plus the annotation path to the given line item
145
- */
146
- function addCommonLineItemDefinitions(appSchema, lineItemAnnotation, entityType, lineItemId) {
147
- let lineItemPath;
148
- appSchema['definitions'][lineItemId] = {
149
- type: 'object',
150
- properties: {},
151
- additionalProperties: false,
152
- isViewNode: true,
153
- description: 'Columns'
154
- };
155
- //Copy toolbar
156
- const toolBar = lineItemId === 'LineItems' ? 'ToolBar' : 'ObjectPageToolBar';
157
- const schemaIdForToolBar = `${toolBar}<${lineItemId}>`;
158
- appSchema['definitions'][schemaIdForToolBar] = JSON.parse(JSON.stringify(appSchema['definitions'][`${toolBar}`]));
159
- const schemaIdForActions = `Actions<${__1.prepareRef(lineItemId)}>`;
160
- appSchema['definitions'][schemaIdForToolBar].properties.actions.$ref = __1.DEFINITION_LINK_PREFIX + schemaIdForActions;
161
- const actionId = lineItemId === 'LineItems' ? 'Actions' : 'ObjectPageToolBarActions';
162
- const actions = (appSchema['definitions'][schemaIdForActions] = JSON.parse(JSON.stringify(appSchema['definitions'][actionId])));
163
- actions.properties = {};
164
- actions.additionalProperties = false;
165
- //Determine annotation path
166
- if (lineItemAnnotation) {
167
- lineItemPath = __1.createAnnotationPath(entityType.fullyQualifiedName, lineItemAnnotation.term, lineItemAnnotation.qualifier);
168
- appSchema['definitions'][lineItemId].annotationPath = appSchema['definitions'][schemaIdForToolBar].annotationPath = lineItemPath;
169
- }
170
- return { actions, lineItemPath };
171
- }
172
- exports.addCommonLineItemDefinitions = addCommonLineItemDefinitions;
173
- /**
174
- * Add schema definitions for fields of createWithParameterDialog
175
- * @param {object} appSchema - Application-specific schema, to be enhanced
176
- * @param {EntityType} entityType - Given entity type for which entries shall get generated
177
- * @param {string=} floorplanSuffix - floorplan specific suffix (optional)
178
- */
179
- function addFieldsType(appSchema, entityType, floorplanSuffix = '') {
180
- const propertyNameArray = [], propertyObject = {};
181
- const fieldPathRef = `FieldPath${__1.prepareRef(floorplanSuffix)}`;
182
- for (const key of entityType.entityProperties) {
183
- const propertyName = key.name;
184
- propertyNameArray.push(propertyName);
185
- propertyObject[propertyName] = {
186
- $ref: __1.DEFINITION_LINK_PREFIX + fieldPathRef
187
- };
188
- }
189
- appSchema['definitions'][entityType.name] = {
190
- enum: propertyNameArray
191
- };
192
- appSchema['definitions'][fieldPathRef].properties.path = {
193
- $ref: __1.DEFINITION_LINK_PREFIX + entityType.name
194
- };
195
- const creationFieldsRef = `CreationFieldKeys${__1.prepareRef(floorplanSuffix)}`;
196
- appSchema['definitions'][creationFieldsRef] = {
197
- type: 'object',
198
- properties: propertyObject,
199
- additionalProperties: false
200
- };
201
- const fields4Dialog = appSchema['definitions'][`Fields4Dialog${floorplanSuffix}`];
202
- fields4Dialog.properties.fields.$ref = __1.DEFINITION_LINK_PREFIX + creationFieldsRef;
203
- }
204
- exports.addFieldsType = addFieldsType;
205
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.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AC,aAAa,CAAC,CAAC,YAAY,CAAC,CAAC,UAAU,CAAC,IAAI,GAAG;QACrD,IAAI,EAAE,0BAAsB,GAAG,UAAU,CAAC,IAAI;KACjD,CAAC;IACF,MAAM,iBAAiB,GAAG,oBAAoB,cAAU,CAAC,eAAe,CAAC,EAAE,CAAC;IAC5E,SAAS,CAAC,aAAa,CAAC,CAAC,iBAAiB,CAAC,GAAG;QAC1C,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,cAAc;QAC1B,oBAAoB,EAAE,KAAK;KAC9B,CAAC;IACF,MAAM,aAAa,GAAG,SAAS,CAAC,aAAa,CAAC,CAAC,gBAAgB,eAAe,EAAE,CAAC,CAAC;IAClF,aAAa,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,GAAG,0BAAsB,GAAG,iBAAiB,CAAC;AACtF,CAAC;AAzBD,sCAyBC"}
@@ -1,21 +0,0 @@
1
- {
2
- "NOPAGES": "No pages found in manifest for app with id '{{- appId}}'",
3
- "NOFE": "The manifest passed is not correct for Fiori Elements V2: section sap.ui.generic.app is missing",
4
- "NOENTITYSET": "No page found in manifest for entitySet '{{- entitySet}}'",
5
- "NOENTITYSET4NAME": "No entitySet could be found for the given entity type '{{- entityType}}'",
6
- "ENTITYSETNOTFOUND": "Entity set '{{- entitySetName}}' was specified in manifest, but this entity set could not be found in metadata",
7
- "NOLR": "No page found in manifest for list report",
8
- "NOALP": "No page found in manifest for analytical list page",
9
- "NOTEMPLATE": "No Fiori Elements template could be determined, as section '{{- section}}' is not defined in manifest",
10
- "ANNOERR": "Error while parsing annotation files",
11
- "NOROUTING": "Incomplete manifest definition: no routing defined",
12
- "NOLINEITEMS": "UI.LineItem annotation has not been defined",
13
- "NOTARGETS": "Incomplete manifest definition: no targets defined",
14
- "NOTARGET": "Invalid reference: annotation target '{{- target}}' not found",
15
- "NOROUTINGID": "No page found in manifest for routingId '{{- routingId}}'",
16
- "FLEXERROR": "Error while parsing flex change",
17
- "NOFRAGMENT": "fragmentName is undefined for columnKey '{{- columnKey}}'",
18
- "NOENTITYTYPE": "Entity type '{{- entityType}}' is specified in manifest, but not present in metadata",
19
- "INVALIDTARGETDEFINITION": "Invalid routing target definition in manifest: '{{- target}}'",
20
- "NOID4SECTION": "No ID has been defined for a facet or header facet. As a consequence, manifest settings cannot be written correctly for this element in an OData V4 scenario: '{{- facet}}'"
21
- }