@sap/ux-specification 1.120.9 → 1.120.10

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