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