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