@sap/ux-specification 1.108.28 → 1.108.29

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 (1223) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
  3. package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
  4. package/dist/documentation/v2/v2-ListReport.html +2 -2
  5. package/dist/documentation/v2/v2-ObjectPage.html +2 -2
  6. package/dist/documentation/v2/v2-OverviewPage.html +2 -2
  7. package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
  8. package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
  9. package/dist/documentation/v4/v4-FreestylePage.html +2 -2
  10. package/dist/documentation/v4/v4-ListReport.html +2 -2
  11. package/dist/documentation/v4/v4-ObjectPage.html +2 -2
  12. package/dist/index-min.js +113 -113
  13. package/dist/index-min.js.map +4 -4
  14. package/dist/schemas/v2/ObjectPageConfig.json +50 -50
  15. package/dist/schemas/v4/ListReportConfig.json +65 -46
  16. package/dist/schemas/v4/ObjectPageConfig.json +22 -19
  17. package/dist/specification/package.json +113 -0
  18. package/dist/specification/scripts/distTagWriter.d.ts +2 -0
  19. package/dist/specification/scripts/distTagWriter.d.ts.map +1 -0
  20. package/dist/specification/scripts/distTagWriter.js +43 -0
  21. package/dist/specification/scripts/distTagWriter.js.map +1 -0
  22. package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts +10 -0
  23. package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts.map +1 -0
  24. package/dist/specification/scripts/documentation/components/TreeDiagram.js +50 -0
  25. package/dist/specification/scripts/documentation/components/TreeDiagram.js.map +1 -0
  26. package/dist/specification/scripts/documentation/components/filter.d.ts +5 -0
  27. package/dist/specification/scripts/documentation/components/filter.d.ts.map +1 -0
  28. package/dist/specification/scripts/documentation/components/filter.js +49 -0
  29. package/dist/specification/scripts/documentation/components/filter.js.map +1 -0
  30. package/dist/specification/scripts/documentation/components/types.d.ts +31 -0
  31. package/dist/specification/scripts/documentation/components/types.d.ts.map +1 -0
  32. package/dist/specification/scripts/documentation/components/types.js +5 -0
  33. package/dist/specification/scripts/documentation/components/types.js.map +1 -0
  34. package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts +41 -0
  35. package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts.map +1 -0
  36. package/dist/specification/scripts/documentation/components/ui/TreeUI.js +482 -0
  37. package/dist/specification/scripts/documentation/components/ui/TreeUI.js.map +1 -0
  38. package/dist/specification/scripts/documentation/components/ui/icons.d.ts +2 -0
  39. package/dist/specification/scripts/documentation/components/ui/icons.d.ts.map +1 -0
  40. package/dist/specification/scripts/documentation/components/ui/icons.js +15 -0
  41. package/dist/specification/scripts/documentation/components/ui/icons.js.map +1 -0
  42. package/dist/specification/scripts/documentation/components/ui/index.d.ts +2 -0
  43. package/dist/specification/scripts/documentation/components/ui/index.d.ts.map +1 -0
  44. package/dist/specification/scripts/documentation/components/ui/index.js +6 -0
  45. package/dist/specification/scripts/documentation/components/ui/index.js.map +1 -0
  46. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts +7 -0
  47. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts.map +1 -0
  48. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js +105 -0
  49. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js.map +1 -0
  50. package/dist/specification/scripts/documentation/components/ui/search.d.ts +5 -0
  51. package/dist/specification/scripts/documentation/components/ui/search.d.ts.map +1 -0
  52. package/dist/specification/scripts/documentation/components/ui/search.js +108 -0
  53. package/dist/specification/scripts/documentation/components/ui/search.js.map +1 -0
  54. package/dist/specification/scripts/documentation/components/ui/toggle.d.ts +7 -0
  55. package/dist/specification/scripts/documentation/components/ui/toggle.d.ts.map +1 -0
  56. package/dist/specification/scripts/documentation/components/ui/toggle.js +43 -0
  57. package/dist/specification/scripts/documentation/components/ui/toggle.js.map +1 -0
  58. package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts +7 -0
  59. package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts.map +1 -0
  60. package/dist/specification/scripts/documentation/components/ui/tooltip.js +93 -0
  61. package/dist/specification/scripts/documentation/components/ui/tooltip.js.map +1 -0
  62. package/dist/specification/scripts/documentation/components/ui/utils.d.ts +9 -0
  63. package/dist/specification/scripts/documentation/components/ui/utils.d.ts.map +1 -0
  64. package/dist/specification/scripts/documentation/components/ui/utils.js +73 -0
  65. package/dist/specification/scripts/documentation/components/ui/utils.js.map +1 -0
  66. package/dist/specification/scripts/documentation/runDocu.d.ts +7 -0
  67. package/dist/specification/scripts/documentation/runDocu.d.ts.map +1 -0
  68. package/dist/specification/scripts/documentation/runDocu.js +8 -0
  69. package/dist/specification/scripts/documentation/runDocu.js.map +1 -0
  70. package/dist/specification/scripts/extractDocu.d.ts +2 -0
  71. package/dist/specification/scripts/extractDocu.d.ts.map +1 -0
  72. package/dist/specification/scripts/extractDocu.js +522 -0
  73. package/dist/specification/scripts/extractDocu.js.map +1 -0
  74. package/dist/specification/scripts/macros/api.d.ts +15 -0
  75. package/dist/specification/scripts/macros/api.d.ts.map +1 -0
  76. package/dist/specification/scripts/macros/api.js +188 -0
  77. package/dist/specification/scripts/macros/api.js.map +1 -0
  78. package/dist/specification/scripts/macros/cmd.d.ts +7 -0
  79. package/dist/specification/scripts/macros/cmd.d.ts.map +1 -0
  80. package/dist/specification/scripts/macros/cmd.js +49 -0
  81. package/dist/specification/scripts/macros/cmd.js.map +1 -0
  82. package/dist/specification/scripts/macros/corrections.d.ts +19 -0
  83. package/dist/specification/scripts/macros/corrections.d.ts.map +1 -0
  84. package/dist/specification/scripts/macros/corrections.js +302 -0
  85. package/dist/specification/scripts/macros/corrections.js.map +1 -0
  86. package/dist/specification/scripts/macros/index.d.ts +2 -0
  87. package/dist/specification/scripts/macros/index.d.ts.map +1 -0
  88. package/dist/specification/scripts/macros/index.js +8 -0
  89. package/dist/specification/scripts/macros/index.js.map +1 -0
  90. package/dist/specification/scripts/macros/schema.d.ts +9 -0
  91. package/dist/specification/scripts/macros/schema.d.ts.map +1 -0
  92. package/dist/specification/scripts/macros/schema.js +256 -0
  93. package/dist/specification/scripts/macros/schema.js.map +1 -0
  94. package/dist/specification/scripts/macros/types.d.ts +87 -0
  95. package/dist/specification/scripts/macros/types.d.ts.map +1 -0
  96. package/dist/specification/scripts/macros/types.js +14 -0
  97. package/dist/specification/scripts/macros/types.js.map +1 -0
  98. package/dist/specification/scripts/spec.d.ts +2 -0
  99. package/dist/specification/scripts/spec.d.ts.map +1 -0
  100. package/dist/specification/scripts/spec.js +113 -0
  101. package/dist/specification/scripts/spec.js.map +1 -0
  102. package/dist/specification/scripts/to-json-schema.d.ts +11 -0
  103. package/dist/specification/scripts/to-json-schema.d.ts.map +1 -0
  104. package/dist/specification/scripts/to-json-schema.js +160 -0
  105. package/dist/specification/scripts/to-json-schema.js.map +1 -0
  106. package/dist/specification/src/api.d.ts.map +1 -0
  107. package/dist/specification/src/api.js +264 -0
  108. package/dist/specification/src/api.js.map +1 -0
  109. package/dist/specification/src/extensionLogger.d.ts.map +1 -0
  110. package/dist/specification/src/extensionLogger.js.map +1 -0
  111. package/dist/specification/src/i18n/i18n.d.ts.map +1 -0
  112. package/dist/specification/src/i18n/i18n.js.map +1 -0
  113. package/dist/specification/src/index.d.ts.map +1 -0
  114. package/dist/specification/src/index.js.map +1 -0
  115. package/dist/specification/src/project.d.ts.map +1 -0
  116. package/dist/specification/src/project.js.map +1 -0
  117. package/dist/specification/src/specification/schemaAccess.d.ts.map +1 -0
  118. package/dist/specification/src/specification/schemaAccess.js.map +1 -0
  119. package/dist/specification/src/sync/common/appProvider.d.ts.map +1 -0
  120. package/dist/specification/src/sync/common/appProvider.js.map +1 -0
  121. package/dist/specification/src/sync/common/decoration/control.d.ts.map +1 -0
  122. package/dist/specification/src/sync/common/decoration/control.js.map +1 -0
  123. package/dist/specification/src/sync/common/decoration/decorators.d.ts +16 -0
  124. package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -0
  125. package/dist/specification/src/sync/common/decoration/decorators.js +64 -0
  126. package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -0
  127. package/dist/specification/src/sync/common/decoration/factory.d.ts.map +1 -0
  128. package/dist/specification/src/sync/common/decoration/factory.js.map +1 -0
  129. package/dist/specification/src/sync/common/decoration/flex.d.ts.map +1 -0
  130. package/dist/specification/src/sync/common/decoration/flex.js.map +1 -0
  131. package/dist/specification/src/sync/common/decoration/index.d.ts.map +1 -0
  132. package/dist/specification/src/sync/common/decoration/index.js.map +1 -0
  133. package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -0
  134. package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -0
  135. package/dist/specification/src/sync/common/flexUtils.d.ts.map +1 -0
  136. package/dist/specification/src/sync/common/flexUtils.js.map +1 -0
  137. package/dist/specification/src/sync/common/generate/index.d.ts.map +1 -0
  138. package/dist/specification/src/sync/common/generate/index.js.map +1 -0
  139. package/dist/specification/src/sync/common/generate/objectPage.d.ts.map +1 -0
  140. package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -0
  141. package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -0
  142. package/dist/specification/src/sync/common/generate/utils.js.map +1 -0
  143. package/dist/specification/src/sync/common/i18n.json +38 -0
  144. package/dist/specification/src/sync/common/import/utils.d.ts.map +1 -0
  145. package/dist/specification/src/sync/common/import/utils.js.map +1 -0
  146. package/dist/specification/src/sync/common/importProject.d.ts.map +1 -0
  147. package/dist/specification/src/sync/common/importProject.js.map +1 -0
  148. package/dist/specification/src/sync/common/index.d.ts.map +1 -0
  149. package/dist/specification/src/sync/common/index.js.map +1 -0
  150. package/dist/specification/src/sync/common/utils.d.ts.map +1 -0
  151. package/dist/specification/src/sync/common/utils.js +1540 -0
  152. package/dist/specification/src/sync/common/utils.js.map +1 -0
  153. package/dist/specification/src/sync/i18n.d.ts.map +1 -0
  154. package/dist/specification/src/sync/i18n.js.map +1 -0
  155. package/dist/specification/src/sync/v2/application.d.ts.map +1 -0
  156. package/dist/specification/src/sync/v2/application.js +211 -0
  157. package/dist/specification/src/sync/v2/application.js.map +1 -0
  158. package/dist/specification/src/sync/v2/export/controls/Action.d.ts.map +1 -0
  159. package/dist/specification/src/sync/v2/export/controls/Action.js.map +1 -0
  160. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +1 -0
  161. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +1 -0
  162. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +1 -0
  163. package/dist/specification/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +1 -0
  164. package/dist/specification/src/sync/v2/export/controls/Card.d.ts.map +1 -0
  165. package/dist/specification/src/sync/v2/export/controls/Card.js.map +1 -0
  166. package/dist/specification/src/sync/v2/export/controls/Field.d.ts.map +1 -0
  167. package/dist/specification/src/sync/v2/export/controls/Field.js.map +1 -0
  168. package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts.map +1 -0
  169. package/dist/specification/src/sync/v2/export/controls/FilterBar.js.map +1 -0
  170. package/dist/specification/src/sync/v2/export/controls/FormAction.d.ts.map +1 -0
  171. package/dist/specification/src/sync/v2/export/controls/FormAction.js.map +1 -0
  172. package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts.map +1 -0
  173. package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -0
  174. package/dist/specification/src/sync/v2/export/controls/ObjectPageChart.d.ts.map +1 -0
  175. package/dist/specification/src/sync/v2/export/controls/ObjectPageChart.js.map +1 -0
  176. package/dist/specification/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
  177. package/dist/specification/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +1 -0
  178. package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +1 -0
  179. package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -0
  180. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.d.ts.map +1 -0
  181. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.js +73 -0
  182. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeader.js.map +1 -0
  183. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +1 -0
  184. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -0
  185. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  186. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +1 -0
  187. package/dist/specification/src/sync/v2/export/controls/ObjectPageLayout.d.ts.map +1 -0
  188. package/dist/specification/src/sync/v2/export/controls/ObjectPageLayout.js.map +1 -0
  189. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts +41 -0
  190. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts.map +1 -0
  191. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js +192 -0
  192. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js.map +1 -0
  193. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts +60 -0
  194. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +1 -0
  195. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js +410 -0
  196. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -0
  197. package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
  198. package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +1 -0
  199. package/dist/specification/src/sync/v2/export/controls/Table.d.ts.map +1 -0
  200. package/dist/specification/src/sync/v2/export/controls/Table.js.map +1 -0
  201. package/dist/specification/src/sync/v2/export/controls/TableColumn.d.ts.map +1 -0
  202. package/dist/specification/src/sync/v2/export/controls/TableColumn.js.map +1 -0
  203. package/dist/specification/src/sync/v2/export/controls/ToolBar.d.ts.map +1 -0
  204. package/dist/specification/src/sync/v2/export/controls/ToolBar.js.map +1 -0
  205. package/dist/specification/src/sync/v2/export/controls/index.d.ts +22 -0
  206. package/dist/specification/src/sync/v2/export/controls/index.d.ts.map +1 -0
  207. package/dist/specification/src/sync/v2/export/controls/index.js +38 -0
  208. package/dist/specification/src/sync/v2/export/controls/index.js.map +1 -0
  209. package/dist/specification/src/sync/v2/export/export.d.ts.map +1 -0
  210. package/dist/specification/src/sync/v2/export/export.js.map +1 -0
  211. package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -0
  212. package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -0
  213. package/dist/specification/src/sync/v2/export/factory.d.ts.map +1 -0
  214. package/dist/specification/src/sync/v2/export/factory.js.map +1 -0
  215. package/dist/specification/src/sync/v2/export/manifest.d.ts.map +1 -0
  216. package/dist/specification/src/sync/v2/export/manifest.js.map +1 -0
  217. package/dist/specification/src/sync/v2/export/pages/AnalyticalListPage.d.ts.map +1 -0
  218. package/dist/specification/src/sync/v2/export/pages/AnalyticalListPage.js.map +1 -0
  219. package/dist/specification/src/sync/v2/export/pages/ListReport.d.ts.map +1 -0
  220. package/dist/specification/src/sync/v2/export/pages/ListReport.js.map +1 -0
  221. package/dist/specification/src/sync/v2/export/pages/ObjectPage.d.ts.map +1 -0
  222. package/dist/specification/src/sync/v2/export/pages/ObjectPage.js.map +1 -0
  223. package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts.map +1 -0
  224. package/dist/specification/src/sync/v2/export/pages/OverviewPage.js.map +1 -0
  225. package/dist/specification/src/sync/v2/export/pages/index.d.ts.map +1 -0
  226. package/dist/specification/src/sync/v2/export/pages/index.js.map +1 -0
  227. package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts.map +1 -0
  228. package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -0
  229. package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -0
  230. package/dist/specification/src/sync/v2/generate/analyticalListReport.js +193 -0
  231. package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -0
  232. package/dist/specification/src/sync/v2/generate/generate.d.ts.map +1 -0
  233. package/dist/specification/src/sync/v2/generate/generate.js.map +1 -0
  234. package/dist/specification/src/sync/v2/generate/index.d.ts.map +1 -0
  235. package/dist/specification/src/sync/v2/generate/index.js.map +1 -0
  236. package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -0
  237. package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -0
  238. package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -0
  239. package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -0
  240. package/dist/specification/src/sync/v2/generate/overviewPage.d.ts.map +1 -0
  241. package/dist/specification/src/sync/v2/generate/overviewPage.js.map +1 -0
  242. package/dist/specification/src/sync/v2/generate/utils.d.ts.map +1 -0
  243. package/dist/specification/src/sync/v2/generate/utils.js +659 -0
  244. package/dist/specification/src/sync/v2/generate/utils.js.map +1 -0
  245. package/dist/specification/src/sync/v2/import/app/appProvider.d.ts.map +1 -0
  246. package/dist/specification/src/sync/v2/import/app/appProvider.js.map +1 -0
  247. package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts.map +1 -0
  248. package/dist/specification/src/sync/v2/import/app/ovpProvider.js.map +1 -0
  249. package/dist/specification/src/sync/v2/import/common/index.d.ts.map +1 -0
  250. package/dist/specification/src/sync/v2/import/common/index.js.map +1 -0
  251. package/dist/specification/src/sync/v2/import/controls/table.d.ts.map +1 -0
  252. package/dist/specification/src/sync/v2/import/controls/table.js.map +1 -0
  253. package/dist/specification/src/sync/v2/import/getPageType.d.ts.map +1 -0
  254. package/dist/specification/src/sync/v2/import/getPageType.js.map +1 -0
  255. package/dist/specification/src/sync/v2/import/index.d.ts.map +1 -0
  256. package/dist/specification/src/sync/v2/import/index.js.map +1 -0
  257. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -0
  258. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js.map +1 -0
  259. package/dist/specification/src/sync/v2/import/pages/listReport.d.ts.map +1 -0
  260. package/dist/specification/src/sync/v2/import/pages/listReport.js.map +1 -0
  261. package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts.map +1 -0
  262. package/dist/specification/src/sync/v2/import/pages/objectPage.js.map +1 -0
  263. package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts.map +1 -0
  264. package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -0
  265. package/dist/specification/src/sync/v2/import/utils.d.ts.map +1 -0
  266. package/dist/specification/src/sync/v2/import/utils.js.map +1 -0
  267. package/dist/specification/src/sync/v2/types.d.ts +85 -0
  268. package/dist/specification/src/sync/v2/types.d.ts.map +1 -0
  269. package/dist/specification/src/sync/v2/types.js +56 -0
  270. package/dist/specification/src/sync/v2/types.js.map +1 -0
  271. package/dist/specification/src/sync/v4/application.d.ts.map +1 -0
  272. package/dist/specification/src/sync/v4/application.js +232 -0
  273. package/dist/specification/src/sync/v4/application.js.map +1 -0
  274. package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -0
  275. package/dist/specification/src/sync/v4/export/controls/FilterBar.js +159 -0
  276. package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -0
  277. package/dist/specification/src/sync/v4/export/controls/Header.d.ts.map +1 -0
  278. package/dist/specification/src/sync/v4/export/controls/Header.js.map +1 -0
  279. package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts.map +1 -0
  280. package/dist/specification/src/sync/v4/export/controls/HeaderAction.js.map +1 -0
  281. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts.map +1 -0
  282. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.js.map +1 -0
  283. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
  284. package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +1 -0
  285. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.d.ts.map +1 -0
  286. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.js.map +1 -0
  287. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.d.ts.map +1 -0
  288. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.js +125 -0
  289. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooterAction.js.map +1 -0
  290. package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.d.ts.map +1 -0
  291. package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js +49 -0
  292. package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js.map +1 -0
  293. package/dist/specification/src/sync/v4/export/controls/ObjectPageFormAction.d.ts.map +1 -0
  294. package/dist/specification/src/sync/v4/export/controls/ObjectPageFormAction.js.map +1 -0
  295. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +1 -0
  296. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.js.map +1 -0
  297. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts.map +1 -0
  298. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js +106 -0
  299. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js.map +1 -0
  300. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  301. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.js +67 -0
  302. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +1 -0
  303. package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.d.ts.map +1 -0
  304. package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.js +26 -0
  305. package/dist/specification/src/sync/v4/export/controls/ObjectPageLayout.js.map +1 -0
  306. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +1 -0
  307. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js +250 -0
  308. package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -0
  309. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -0
  310. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js +154 -0
  311. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -0
  312. package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
  313. package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +1 -0
  314. package/dist/specification/src/sync/v4/export/controls/Table.d.ts +157 -0
  315. package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -0
  316. package/dist/specification/src/sync/v4/export/controls/Table.js +730 -0
  317. package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -0
  318. package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -0
  319. package/dist/specification/src/sync/v4/export/controls/TableColumn.js +316 -0
  320. package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -0
  321. package/dist/specification/src/sync/v4/export/controls/ToolBar.d.ts.map +1 -0
  322. package/dist/specification/src/sync/v4/export/controls/ToolBar.js.map +1 -0
  323. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +44 -0
  324. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -0
  325. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +247 -0
  326. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -0
  327. package/dist/specification/src/sync/v4/export/controls/index.d.ts +21 -0
  328. package/dist/specification/src/sync/v4/export/controls/index.d.ts.map +1 -0
  329. package/dist/specification/src/sync/v4/export/controls/index.js +37 -0
  330. package/dist/specification/src/sync/v4/export/controls/index.js.map +1 -0
  331. package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -0
  332. package/dist/specification/src/sync/v4/export/export.js +1036 -0
  333. package/dist/specification/src/sync/v4/export/export.js.map +1 -0
  334. package/dist/specification/src/sync/v4/export/exportCustomColumn.d.ts.map +1 -0
  335. package/dist/specification/src/sync/v4/export/exportCustomColumn.js.map +1 -0
  336. package/dist/specification/src/sync/v4/export/factory.d.ts.map +1 -0
  337. package/dist/specification/src/sync/v4/export/factory.js +61 -0
  338. package/dist/specification/src/sync/v4/export/factory.js.map +1 -0
  339. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts.map +1 -0
  340. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js.map +1 -0
  341. package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -0
  342. package/dist/specification/src/sync/v4/export/fpmCustomPage.js +175 -0
  343. package/dist/specification/src/sync/v4/export/fpmCustomPage.js.map +1 -0
  344. package/dist/specification/src/sync/v4/export/manifest.d.ts.map +1 -0
  345. package/dist/specification/src/sync/v4/export/manifest.js.map +1 -0
  346. package/dist/specification/src/sync/v4/export/pages/FreestylePage.d.ts.map +1 -0
  347. package/dist/specification/src/sync/v4/export/pages/FreestylePage.js.map +1 -0
  348. package/dist/specification/src/sync/v4/export/pages/ListReport.d.ts.map +1 -0
  349. package/dist/specification/src/sync/v4/export/pages/ListReport.js +86 -0
  350. package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -0
  351. package/dist/specification/src/sync/v4/export/pages/ObjectPage.d.ts.map +1 -0
  352. package/dist/specification/src/sync/v4/export/pages/ObjectPage.js +42 -0
  353. package/dist/specification/src/sync/v4/export/pages/ObjectPage.js.map +1 -0
  354. package/dist/specification/src/sync/v4/export/pages/index.d.ts.map +1 -0
  355. package/dist/specification/src/sync/v4/export/pages/index.js.map +1 -0
  356. package/dist/specification/src/sync/v4/export/types.d.ts.map +1 -0
  357. package/dist/specification/src/sync/v4/export/types.js.map +1 -0
  358. package/dist/specification/src/sync/v4/export/utils.d.ts.map +1 -0
  359. package/dist/specification/src/sync/v4/export/utils.js.map +1 -0
  360. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +1 -0
  361. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -0
  362. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +1 -0
  363. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js.map +1 -0
  364. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +1 -0
  365. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js.map +1 -0
  366. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts.map +1 -0
  367. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.js.map +1 -0
  368. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +1 -0
  369. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js.map +1 -0
  370. package/dist/specification/src/sync/v4/generate/freestylePage.d.ts.map +1 -0
  371. package/dist/specification/src/sync/v4/generate/freestylePage.js.map +1 -0
  372. package/dist/specification/src/sync/v4/generate/generate.d.ts.map +1 -0
  373. package/dist/specification/src/sync/v4/generate/generate.js.map +1 -0
  374. package/dist/specification/src/sync/v4/generate/index.d.ts.map +1 -0
  375. package/dist/specification/src/sync/v4/generate/index.js.map +1 -0
  376. package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -0
  377. package/dist/specification/src/sync/v4/generate/listReport.js +895 -0
  378. package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -0
  379. package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -0
  380. package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -0
  381. package/dist/specification/src/sync/v4/import/app/appProvider.d.ts.map +1 -0
  382. package/dist/specification/src/sync/v4/import/app/appProvider.js.map +1 -0
  383. package/dist/specification/src/sync/v4/import/app/index.d.ts.map +1 -0
  384. package/dist/specification/src/sync/v4/import/app/index.js.map +1 -0
  385. package/dist/specification/src/sync/v4/import/fragment.d.ts.map +1 -0
  386. package/dist/specification/src/sync/v4/import/fragment.js.map +1 -0
  387. package/dist/specification/src/sync/v4/import/index.d.ts.map +1 -0
  388. package/dist/specification/src/sync/v4/import/index.js.map +1 -0
  389. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +1 -0
  390. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js.map +1 -0
  391. package/dist/specification/src/sync/v4/import/pages/listReport.d.ts.map +1 -0
  392. package/dist/specification/src/sync/v4/import/pages/listReport.js.map +1 -0
  393. package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts.map +1 -0
  394. package/dist/specification/src/sync/v4/import/pages/objectPage.js.map +1 -0
  395. package/dist/specification/src/sync/v4/import/utils.d.ts.map +1 -0
  396. package/dist/specification/src/sync/v4/import/utils.js.map +1 -0
  397. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.d.ts.map +1 -0
  398. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js.map +1 -0
  399. package/dist/specification/src/sync/v4/types.d.ts.map +1 -0
  400. package/dist/specification/src/sync/v4/types.js.map +1 -0
  401. package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts.map +1 -0
  402. package/dist/specification/src/sync/v4/utils/StableIdHelper.js.map +1 -0
  403. package/dist/specification/src/sync/v4/utils/macros.d.ts.map +1 -0
  404. package/dist/specification/src/sync/v4/utils/macros.js.map +1 -0
  405. package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -0
  406. package/dist/specification/src/sync/v4/utils/utils.js +889 -0
  407. package/dist/specification/src/sync/v4/utils/utils.js.map +1 -0
  408. package/dist/types/src/apiTypes.d.ts +490 -0
  409. package/dist/types/src/apiTypes.d.ts.map +1 -0
  410. package/dist/types/src/apiTypes.js +44 -0
  411. package/dist/types/src/apiTypes.js.map +1 -0
  412. package/dist/types/src/common/Application.d.ts +61 -0
  413. package/dist/types/src/common/Application.d.ts.map +1 -0
  414. package/dist/types/src/common/Application.js +25 -0
  415. package/dist/types/src/common/Application.js.map +1 -0
  416. package/dist/types/src/common/color.d.ts +91 -0
  417. package/dist/types/src/common/color.d.ts.map +1 -0
  418. package/dist/types/src/common/color.js +99 -0
  419. package/dist/types/src/common/color.js.map +1 -0
  420. package/dist/types/src/common/index.d.ts +6 -0
  421. package/dist/types/src/common/index.d.ts.map +1 -0
  422. package/dist/types/src/common/index.js +22 -0
  423. package/dist/types/src/common/index.js.map +1 -0
  424. package/dist/types/src/common/page.d.ts +81 -0
  425. package/dist/types/src/common/page.d.ts.map +1 -0
  426. package/dist/types/src/common/page.js +36 -0
  427. package/dist/types/src/common/page.js.map +1 -0
  428. package/dist/types/src/common/types.d.ts +499 -0
  429. package/dist/types/src/common/types.d.ts.map +1 -0
  430. package/dist/types/src/common/types.js +345 -0
  431. package/dist/types/src/common/types.js.map +1 -0
  432. package/dist/types/src/common/webapp/manifest/Manifest.d.ts +124 -0
  433. package/dist/types/src/common/webapp/manifest/Manifest.d.ts.map +1 -0
  434. package/dist/types/src/common/webapp/manifest/Manifest.js +24 -0
  435. package/dist/types/src/common/webapp/manifest/Manifest.js.map +1 -0
  436. package/dist/types/src/common/webapp/manifest/index.d.ts +4 -0
  437. package/dist/types/src/common/webapp/manifest/index.d.ts.map +1 -0
  438. package/dist/types/src/common/webapp/manifest/index.js +20 -0
  439. package/dist/types/src/common/webapp/manifest/index.js.map +1 -0
  440. package/dist/types/src/common/webapp/manifest/sapOvp.d.ts +19 -0
  441. package/dist/types/src/common/webapp/manifest/sapOvp.d.ts.map +1 -0
  442. package/dist/types/src/common/webapp/manifest/sapOvp.js +3 -0
  443. package/dist/types/src/common/webapp/manifest/sapOvp.js.map +1 -0
  444. package/dist/types/src/common/webapp/manifest/sapUi5.d.ts +106 -0
  445. package/dist/types/src/common/webapp/manifest/sapUi5.d.ts.map +1 -0
  446. package/dist/types/src/common/webapp/manifest/sapUi5.js +17 -0
  447. package/dist/types/src/common/webapp/manifest/sapUi5.js.map +1 -0
  448. package/dist/types/src/index.d.ts +5 -0
  449. package/dist/types/src/index.d.ts.map +1 -0
  450. package/dist/types/src/index.js +34 -0
  451. package/dist/types/src/index.js.map +1 -0
  452. package/dist/types/src/v2/ApplicationV2.d.ts +7 -0
  453. package/dist/types/src/v2/ApplicationV2.d.ts.map +1 -0
  454. package/dist/types/src/v2/ApplicationV2.js +3 -0
  455. package/dist/types/src/v2/ApplicationV2.js.map +1 -0
  456. package/dist/types/src/v2/application.d.ts +24 -0
  457. package/dist/types/src/v2/application.d.ts.map +1 -0
  458. package/dist/types/src/v2/application.js +3 -0
  459. package/dist/types/src/v2/application.js.map +1 -0
  460. package/dist/types/src/v2/controls/Action.d.ts +125 -0
  461. package/dist/types/src/v2/controls/Action.d.ts.map +1 -0
  462. package/dist/types/src/v2/controls/Action.js +3 -0
  463. package/dist/types/src/v2/controls/Action.js.map +1 -0
  464. package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts +59 -0
  465. package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts.map +1 -0
  466. package/dist/types/src/v2/controls/AnalyticalListPageChart.js +37 -0
  467. package/dist/types/src/v2/controls/AnalyticalListPageChart.js.map +1 -0
  468. package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts +31 -0
  469. package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts.map +1 -0
  470. package/dist/types/src/v2/controls/AnalyticalListPageKPI.js +4 -0
  471. package/dist/types/src/v2/controls/AnalyticalListPageKPI.js.map +1 -0
  472. package/dist/types/src/v2/controls/Card.d.ts +461 -0
  473. package/dist/types/src/v2/controls/Card.d.ts.map +1 -0
  474. package/dist/types/src/v2/controls/Card.js +78 -0
  475. package/dist/types/src/v2/controls/Card.js.map +1 -0
  476. package/dist/types/src/v2/controls/Field.d.ts +11 -0
  477. package/dist/types/src/v2/controls/Field.d.ts.map +1 -0
  478. package/dist/types/src/v2/controls/Field.js +4 -0
  479. package/dist/types/src/v2/controls/Field.js.map +1 -0
  480. package/dist/types/src/v2/controls/FilterBar.d.ts +220 -0
  481. package/dist/types/src/v2/controls/FilterBar.d.ts.map +1 -0
  482. package/dist/types/src/v2/controls/FilterBar.js +84 -0
  483. package/dist/types/src/v2/controls/FilterBar.js.map +1 -0
  484. package/dist/types/src/v2/controls/Header.d.ts +9 -0
  485. package/dist/types/src/v2/controls/Header.d.ts.map +1 -0
  486. package/dist/types/src/v2/controls/Header.js +3 -0
  487. package/dist/types/src/v2/controls/Header.js.map +1 -0
  488. package/dist/types/src/v2/controls/ObjectPageChart.d.ts +17 -0
  489. package/dist/types/src/v2/controls/ObjectPageChart.d.ts.map +1 -0
  490. package/dist/types/src/v2/controls/ObjectPageChart.js +4 -0
  491. package/dist/types/src/v2/controls/ObjectPageChart.js.map +1 -0
  492. package/dist/types/src/v2/controls/ObjectPageFooter.d.ts +20 -0
  493. package/dist/types/src/v2/controls/ObjectPageFooter.d.ts.map +1 -0
  494. package/dist/types/src/v2/controls/ObjectPageFooter.js +3 -0
  495. package/dist/types/src/v2/controls/ObjectPageFooter.js.map +1 -0
  496. package/dist/types/src/v2/controls/ObjectPageForm.d.ts +16 -0
  497. package/dist/types/src/v2/controls/ObjectPageForm.d.ts.map +1 -0
  498. package/dist/types/src/v2/controls/ObjectPageForm.js +3 -0
  499. package/dist/types/src/v2/controls/ObjectPageForm.js.map +1 -0
  500. package/dist/types/src/v2/controls/ObjectPageHeader.d.ts +39 -0
  501. package/dist/types/src/v2/controls/ObjectPageHeader.d.ts.map +1 -0
  502. package/dist/types/src/v2/controls/ObjectPageHeader.js +3 -0
  503. package/dist/types/src/v2/controls/ObjectPageHeader.js.map +1 -0
  504. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts +32 -0
  505. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  506. package/dist/types/src/v2/controls/ObjectPageHeaderSection.js +3 -0
  507. package/dist/types/src/v2/controls/ObjectPageHeaderSection.js.map +1 -0
  508. package/dist/types/src/v2/controls/ObjectPageLayout.d.ts +23 -0
  509. package/dist/types/src/v2/controls/ObjectPageLayout.d.ts.map +1 -0
  510. package/dist/types/src/v2/controls/ObjectPageLayout.js +4 -0
  511. package/dist/types/src/v2/controls/ObjectPageLayout.js.map +1 -0
  512. package/dist/types/src/v2/controls/ObjectPageSection.d.ts +121 -0
  513. package/dist/types/src/v2/controls/ObjectPageSection.d.ts.map +1 -0
  514. package/dist/types/src/v2/controls/ObjectPageSection.js +14 -0
  515. package/dist/types/src/v2/controls/ObjectPageSection.js.map +1 -0
  516. package/dist/types/src/v2/controls/ObjectPageTable.d.ts +215 -0
  517. package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -0
  518. package/dist/types/src/v2/controls/ObjectPageTable.js +10 -0
  519. package/dist/types/src/v2/controls/ObjectPageTable.js.map +1 -0
  520. package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts +16 -0
  521. package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts.map +1 -0
  522. package/dist/types/src/v2/controls/ObjectPageToolBar.js +3 -0
  523. package/dist/types/src/v2/controls/ObjectPageToolBar.js.map +1 -0
  524. package/dist/types/src/v2/controls/Table.d.ts +497 -0
  525. package/dist/types/src/v2/controls/Table.d.ts.map +1 -0
  526. package/dist/types/src/v2/controls/Table.js +47 -0
  527. package/dist/types/src/v2/controls/Table.js.map +1 -0
  528. package/dist/types/src/v2/controls/ToolBar.d.ts +9 -0
  529. package/dist/types/src/v2/controls/ToolBar.d.ts.map +1 -0
  530. package/dist/types/src/v2/controls/ToolBar.js +3 -0
  531. package/dist/types/src/v2/controls/ToolBar.js.map +1 -0
  532. package/dist/types/src/v2/controls/index.d.ts +19 -0
  533. package/dist/types/src/v2/controls/index.d.ts.map +1 -0
  534. package/dist/types/src/v2/controls/index.js +35 -0
  535. package/dist/types/src/v2/controls/index.js.map +1 -0
  536. package/dist/types/src/v2/index.d.ts +8 -0
  537. package/dist/types/src/v2/index.d.ts.map +1 -0
  538. package/dist/types/src/v2/index.js +24 -0
  539. package/dist/types/src/v2/index.js.map +1 -0
  540. package/dist/types/src/v2/overviewPage.d.ts +67 -0
  541. package/dist/types/src/v2/overviewPage.d.ts.map +1 -0
  542. package/dist/types/src/v2/overviewPage.js +15 -0
  543. package/dist/types/src/v2/overviewPage.js.map +1 -0
  544. package/dist/types/src/v2/page.d.ts +8 -0
  545. package/dist/types/src/v2/page.d.ts.map +1 -0
  546. package/dist/types/src/v2/page.js +3 -0
  547. package/dist/types/src/v2/page.js.map +1 -0
  548. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts +25 -0
  549. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts.map +1 -0
  550. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.js +3 -0
  551. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.js.map +1 -0
  552. package/dist/types/src/v2/pages/ListReportConfigV2.d.ts +17 -0
  553. package/dist/types/src/v2/pages/ListReportConfigV2.d.ts.map +1 -0
  554. package/dist/types/src/v2/pages/ListReportConfigV2.js +3 -0
  555. package/dist/types/src/v2/pages/ListReportConfigV2.js.map +1 -0
  556. package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts +37 -0
  557. package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts.map +1 -0
  558. package/dist/types/src/v2/pages/ObjectPageConfigV2.js +3 -0
  559. package/dist/types/src/v2/pages/ObjectPageConfigV2.js.map +1 -0
  560. package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts +102 -0
  561. package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts.map +1 -0
  562. package/dist/types/src/v2/pages/OverviewPageConfigV2.js +7 -0
  563. package/dist/types/src/v2/pages/OverviewPageConfigV2.js.map +1 -0
  564. package/dist/types/src/v2/pages/index.d.ts +5 -0
  565. package/dist/types/src/v2/pages/index.d.ts.map +1 -0
  566. package/dist/types/src/v2/pages/index.js +21 -0
  567. package/dist/types/src/v2/pages/index.js.map +1 -0
  568. package/dist/types/src/v2/webapp/index.d.ts +2 -0
  569. package/dist/types/src/v2/webapp/index.d.ts.map +1 -0
  570. package/dist/types/src/v2/webapp/index.js +18 -0
  571. package/dist/types/src/v2/webapp/index.js.map +1 -0
  572. package/dist/types/src/v2/webapp/manifest/index.d.ts +4 -0
  573. package/dist/types/src/v2/webapp/manifest/index.d.ts.map +1 -0
  574. package/dist/types/src/v2/webapp/manifest/index.js +20 -0
  575. package/dist/types/src/v2/webapp/manifest/index.js.map +1 -0
  576. package/dist/types/src/v2/webapp/manifest/sapUi.d.ts +11 -0
  577. package/dist/types/src/v2/webapp/manifest/sapUi.d.ts.map +1 -0
  578. package/dist/types/src/v2/webapp/manifest/sapUi.js +3 -0
  579. package/dist/types/src/v2/webapp/manifest/sapUi.js.map +1 -0
  580. package/dist/types/src/v2/webapp/manifest/sapUi5.d.ts +77 -0
  581. package/dist/types/src/v2/webapp/manifest/sapUi5.d.ts.map +1 -0
  582. package/dist/types/src/v2/webapp/manifest/sapUi5.js +10 -0
  583. package/dist/types/src/v2/webapp/manifest/sapUi5.js.map +1 -0
  584. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.d.ts +32 -0
  585. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.d.ts.map +1 -0
  586. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.js +8 -0
  587. package/dist/types/src/v2/webapp/manifest/sapUiPageV2.js.map +1 -0
  588. package/dist/types/src/v4/ApplicationV4.d.ts +7 -0
  589. package/dist/types/src/v4/ApplicationV4.d.ts.map +1 -0
  590. package/dist/types/src/v4/ApplicationV4.js +3 -0
  591. package/dist/types/src/v4/ApplicationV4.js.map +1 -0
  592. package/dist/types/src/v4/application.d.ts +24 -0
  593. package/dist/types/src/v4/application.d.ts.map +1 -0
  594. package/dist/types/src/v4/application.js +3 -0
  595. package/dist/types/src/v4/application.js.map +1 -0
  596. package/dist/types/src/v4/controls/CustomAction.d.ts +63 -0
  597. package/dist/types/src/v4/controls/CustomAction.d.ts.map +1 -0
  598. package/dist/types/src/v4/controls/CustomAction.js +9 -0
  599. package/dist/types/src/v4/controls/CustomAction.js.map +1 -0
  600. package/dist/types/src/v4/controls/FilterBar.d.ts +127 -0
  601. package/dist/types/src/v4/controls/FilterBar.d.ts.map +1 -0
  602. package/dist/types/src/v4/controls/FilterBar.js +19 -0
  603. package/dist/types/src/v4/controls/FilterBar.js.map +1 -0
  604. package/dist/types/src/v4/controls/Header.d.ts +17 -0
  605. package/dist/types/src/v4/controls/Header.d.ts.map +1 -0
  606. package/dist/types/src/v4/controls/Header.js +3 -0
  607. package/dist/types/src/v4/controls/Header.js.map +1 -0
  608. package/dist/types/src/v4/controls/ObjectPageFooter.d.ts +27 -0
  609. package/dist/types/src/v4/controls/ObjectPageFooter.d.ts.map +1 -0
  610. package/dist/types/src/v4/controls/ObjectPageFooter.js +3 -0
  611. package/dist/types/src/v4/controls/ObjectPageFooter.js.map +1 -0
  612. package/dist/types/src/v4/controls/ObjectPageForm.d.ts +28 -0
  613. package/dist/types/src/v4/controls/ObjectPageForm.d.ts.map +1 -0
  614. package/dist/types/src/v4/controls/ObjectPageForm.js +3 -0
  615. package/dist/types/src/v4/controls/ObjectPageForm.js.map +1 -0
  616. package/dist/types/src/v4/controls/ObjectPageHeader.d.ts +44 -0
  617. package/dist/types/src/v4/controls/ObjectPageHeader.d.ts.map +1 -0
  618. package/dist/types/src/v4/controls/ObjectPageHeader.js +3 -0
  619. package/dist/types/src/v4/controls/ObjectPageHeader.js.map +1 -0
  620. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts +79 -0
  621. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -0
  622. package/dist/types/src/v4/controls/ObjectPageHeaderSection.js +3 -0
  623. package/dist/types/src/v4/controls/ObjectPageHeaderSection.js.map +1 -0
  624. package/dist/types/src/v4/controls/ObjectPageLayout.d.ts +18 -0
  625. package/dist/types/src/v4/controls/ObjectPageLayout.d.ts.map +1 -0
  626. package/dist/types/src/v4/controls/ObjectPageLayout.js +9 -0
  627. package/dist/types/src/v4/controls/ObjectPageLayout.js.map +1 -0
  628. package/dist/types/src/v4/controls/ObjectPageSection.d.ts +136 -0
  629. package/dist/types/src/v4/controls/ObjectPageSection.d.ts.map +1 -0
  630. package/dist/types/src/v4/controls/ObjectPageSection.js +16 -0
  631. package/dist/types/src/v4/controls/ObjectPageSection.js.map +1 -0
  632. package/dist/types/src/v4/controls/ObjectPageTable.d.ts +119 -0
  633. package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -0
  634. package/dist/types/src/v4/controls/ObjectPageTable.js +10 -0
  635. package/dist/types/src/v4/controls/ObjectPageTable.js.map +1 -0
  636. package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts +34 -0
  637. package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts.map +1 -0
  638. package/dist/types/src/v4/controls/ObjectPageToolBar.js +3 -0
  639. package/dist/types/src/v4/controls/ObjectPageToolBar.js.map +1 -0
  640. package/dist/types/src/v4/controls/Table.d.ts +317 -0
  641. package/dist/types/src/v4/controls/Table.d.ts.map +1 -0
  642. package/dist/types/src/v4/controls/Table.js +31 -0
  643. package/dist/types/src/v4/controls/Table.js.map +1 -0
  644. package/dist/types/src/v4/controls/ToolBar.d.ts +88 -0
  645. package/dist/types/src/v4/controls/ToolBar.d.ts.map +1 -0
  646. package/dist/types/src/v4/controls/ToolBar.js +9 -0
  647. package/dist/types/src/v4/controls/ToolBar.js.map +1 -0
  648. package/dist/types/src/v4/controls/index.d.ts +15 -0
  649. package/dist/types/src/v4/controls/index.d.ts.map +1 -0
  650. package/dist/types/src/v4/controls/index.js +31 -0
  651. package/dist/types/src/v4/controls/index.js.map +1 -0
  652. package/dist/types/src/v4/index.d.ts +7 -0
  653. package/dist/types/src/v4/index.d.ts.map +1 -0
  654. package/dist/types/src/v4/index.js +23 -0
  655. package/dist/types/src/v4/index.js.map +1 -0
  656. package/dist/types/src/v4/page.d.ts +31 -0
  657. package/dist/types/src/v4/page.d.ts.map +1 -0
  658. package/dist/types/src/v4/page.js +3 -0
  659. package/dist/types/src/v4/page.js.map +1 -0
  660. package/dist/types/src/v4/pages/FreestylePageConfigV4.d.ts +3 -0
  661. package/dist/types/src/v4/pages/FreestylePageConfigV4.d.ts.map +1 -0
  662. package/dist/types/src/v4/pages/FreestylePageConfigV4.js +3 -0
  663. package/dist/types/src/v4/pages/FreestylePageConfigV4.js.map +1 -0
  664. package/dist/types/src/v4/pages/ListReportConfigV4.d.ts +45 -0
  665. package/dist/types/src/v4/pages/ListReportConfigV4.d.ts.map +1 -0
  666. package/dist/types/src/v4/pages/ListReportConfigV4.js +10 -0
  667. package/dist/types/src/v4/pages/ListReportConfigV4.js.map +1 -0
  668. package/dist/types/src/v4/pages/ObjectPageConfigV4.d.ts +20 -0
  669. package/dist/types/src/v4/pages/ObjectPageConfigV4.d.ts.map +1 -0
  670. package/dist/types/src/v4/pages/ObjectPageConfigV4.js +9 -0
  671. package/dist/types/src/v4/pages/ObjectPageConfigV4.js.map +1 -0
  672. package/dist/types/src/v4/pages/index.d.ts +4 -0
  673. package/dist/types/src/v4/pages/index.d.ts.map +1 -0
  674. package/dist/types/src/v4/pages/index.js +20 -0
  675. package/dist/types/src/v4/pages/index.js.map +1 -0
  676. package/dist/types/src/v4/webapp/index.d.ts +2 -0
  677. package/dist/types/src/v4/webapp/index.d.ts.map +1 -0
  678. package/dist/types/src/v4/webapp/index.js +18 -0
  679. package/dist/types/src/v4/webapp/index.js.map +1 -0
  680. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts +224 -0
  681. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts.map +1 -0
  682. package/dist/types/src/v4/webapp/manifest/ManifestSettings.js +22 -0
  683. package/dist/types/src/v4/webapp/manifest/ManifestSettings.js.map +1 -0
  684. package/dist/types/src/v4/webapp/manifest/index.d.ts +4 -0
  685. package/dist/types/src/v4/webapp/manifest/index.d.ts.map +1 -0
  686. package/dist/types/src/v4/webapp/manifest/index.js +20 -0
  687. package/dist/types/src/v4/webapp/manifest/index.js.map +1 -0
  688. package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts +89 -0
  689. package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts.map +1 -0
  690. package/dist/types/src/v4/webapp/manifest/sapUi5.js +9 -0
  691. package/dist/types/src/v4/webapp/manifest/sapUi5.js.map +1 -0
  692. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts +108 -0
  693. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts.map +1 -0
  694. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js +15 -0
  695. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js.map +1 -0
  696. package/package.json +3 -3
  697. package/dist/package.json +0 -113
  698. package/dist/src/api.d.ts.map +0 -1
  699. package/dist/src/api.js +0 -264
  700. package/dist/src/api.js.map +0 -1
  701. package/dist/src/extensionLogger.d.ts.map +0 -1
  702. package/dist/src/extensionLogger.js.map +0 -1
  703. package/dist/src/i18n/i18n.d.ts.map +0 -1
  704. package/dist/src/i18n/i18n.js.map +0 -1
  705. package/dist/src/index.d.ts.map +0 -1
  706. package/dist/src/index.js.map +0 -1
  707. package/dist/src/project.d.ts.map +0 -1
  708. package/dist/src/project.js.map +0 -1
  709. package/dist/src/specification/schemaAccess.d.ts.map +0 -1
  710. package/dist/src/specification/schemaAccess.js.map +0 -1
  711. package/dist/src/sync/common/appProvider.d.ts.map +0 -1
  712. package/dist/src/sync/common/appProvider.js.map +0 -1
  713. package/dist/src/sync/common/decoration/control.d.ts.map +0 -1
  714. package/dist/src/sync/common/decoration/control.js.map +0 -1
  715. package/dist/src/sync/common/decoration/decorators.d.ts +0 -13
  716. package/dist/src/sync/common/decoration/decorators.d.ts.map +0 -1
  717. package/dist/src/sync/common/decoration/decorators.js +0 -52
  718. package/dist/src/sync/common/decoration/decorators.js.map +0 -1
  719. package/dist/src/sync/common/decoration/factory.d.ts.map +0 -1
  720. package/dist/src/sync/common/decoration/factory.js.map +0 -1
  721. package/dist/src/sync/common/decoration/flex.d.ts.map +0 -1
  722. package/dist/src/sync/common/decoration/flex.js.map +0 -1
  723. package/dist/src/sync/common/decoration/index.d.ts.map +0 -1
  724. package/dist/src/sync/common/decoration/index.js.map +0 -1
  725. package/dist/src/sync/common/distTagEvaluator.d.ts.map +0 -1
  726. package/dist/src/sync/common/distTagEvaluator.js.map +0 -1
  727. package/dist/src/sync/common/flexUtils.d.ts.map +0 -1
  728. package/dist/src/sync/common/flexUtils.js.map +0 -1
  729. package/dist/src/sync/common/generate/index.d.ts.map +0 -1
  730. package/dist/src/sync/common/generate/index.js.map +0 -1
  731. package/dist/src/sync/common/generate/objectPage.d.ts.map +0 -1
  732. package/dist/src/sync/common/generate/objectPage.js.map +0 -1
  733. package/dist/src/sync/common/generate/utils.d.ts.map +0 -1
  734. package/dist/src/sync/common/generate/utils.js.map +0 -1
  735. package/dist/src/sync/common/i18n.json +0 -33
  736. package/dist/src/sync/common/import/utils.d.ts.map +0 -1
  737. package/dist/src/sync/common/import/utils.js.map +0 -1
  738. package/dist/src/sync/common/importProject.d.ts.map +0 -1
  739. package/dist/src/sync/common/importProject.js.map +0 -1
  740. package/dist/src/sync/common/index.d.ts.map +0 -1
  741. package/dist/src/sync/common/index.js.map +0 -1
  742. package/dist/src/sync/common/utils.d.ts.map +0 -1
  743. package/dist/src/sync/common/utils.js +0 -1535
  744. package/dist/src/sync/common/utils.js.map +0 -1
  745. package/dist/src/sync/i18n.d.ts.map +0 -1
  746. package/dist/src/sync/i18n.js.map +0 -1
  747. package/dist/src/sync/v2/application.d.ts.map +0 -1
  748. package/dist/src/sync/v2/application.js +0 -210
  749. package/dist/src/sync/v2/application.js.map +0 -1
  750. package/dist/src/sync/v2/export/controls/Action.d.ts.map +0 -1
  751. package/dist/src/sync/v2/export/controls/Action.js.map +0 -1
  752. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +0 -1
  753. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +0 -1
  754. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +0 -1
  755. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +0 -1
  756. package/dist/src/sync/v2/export/controls/Card.d.ts.map +0 -1
  757. package/dist/src/sync/v2/export/controls/Card.js.map +0 -1
  758. package/dist/src/sync/v2/export/controls/Field.d.ts.map +0 -1
  759. package/dist/src/sync/v2/export/controls/Field.js.map +0 -1
  760. package/dist/src/sync/v2/export/controls/FilterBar.d.ts.map +0 -1
  761. package/dist/src/sync/v2/export/controls/FilterBar.js.map +0 -1
  762. package/dist/src/sync/v2/export/controls/FormAction.d.ts.map +0 -1
  763. package/dist/src/sync/v2/export/controls/FormAction.js.map +0 -1
  764. package/dist/src/sync/v2/export/controls/Fragment.d.ts.map +0 -1
  765. package/dist/src/sync/v2/export/controls/Fragment.js.map +0 -1
  766. package/dist/src/sync/v2/export/controls/ObjectPageChart.d.ts.map +0 -1
  767. package/dist/src/sync/v2/export/controls/ObjectPageChart.js.map +0 -1
  768. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +0 -1
  769. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +0 -1
  770. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +0 -1
  771. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +0 -1
  772. package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts.map +0 -1
  773. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js +0 -72
  774. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +0 -1
  775. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +0 -1
  776. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +0 -1
  777. package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +0 -1
  778. package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +0 -1
  779. package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts.map +0 -1
  780. package/dist/src/sync/v2/export/controls/ObjectPageLayout.js.map +0 -1
  781. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +0 -41
  782. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts.map +0 -1
  783. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +0 -192
  784. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +0 -1
  785. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +0 -61
  786. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +0 -1
  787. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +0 -418
  788. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +0 -1
  789. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +0 -1
  790. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +0 -1
  791. package/dist/src/sync/v2/export/controls/Table.d.ts.map +0 -1
  792. package/dist/src/sync/v2/export/controls/Table.js.map +0 -1
  793. package/dist/src/sync/v2/export/controls/TableColumn.d.ts.map +0 -1
  794. package/dist/src/sync/v2/export/controls/TableColumn.js.map +0 -1
  795. package/dist/src/sync/v2/export/controls/ToolBar.d.ts.map +0 -1
  796. package/dist/src/sync/v2/export/controls/ToolBar.js.map +0 -1
  797. package/dist/src/sync/v2/export/controls/index.d.ts +0 -22
  798. package/dist/src/sync/v2/export/controls/index.d.ts.map +0 -1
  799. package/dist/src/sync/v2/export/controls/index.js +0 -38
  800. package/dist/src/sync/v2/export/controls/index.js.map +0 -1
  801. package/dist/src/sync/v2/export/export.d.ts.map +0 -1
  802. package/dist/src/sync/v2/export/export.js.map +0 -1
  803. package/dist/src/sync/v2/export/exportPage.d.ts.map +0 -1
  804. package/dist/src/sync/v2/export/exportPage.js.map +0 -1
  805. package/dist/src/sync/v2/export/factory.d.ts.map +0 -1
  806. package/dist/src/sync/v2/export/factory.js.map +0 -1
  807. package/dist/src/sync/v2/export/manifest.d.ts.map +0 -1
  808. package/dist/src/sync/v2/export/manifest.js.map +0 -1
  809. package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts.map +0 -1
  810. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +0 -1
  811. package/dist/src/sync/v2/export/pages/ListReport.d.ts.map +0 -1
  812. package/dist/src/sync/v2/export/pages/ListReport.js.map +0 -1
  813. package/dist/src/sync/v2/export/pages/ObjectPage.d.ts.map +0 -1
  814. package/dist/src/sync/v2/export/pages/ObjectPage.js.map +0 -1
  815. package/dist/src/sync/v2/export/pages/OverviewPage.d.ts.map +0 -1
  816. package/dist/src/sync/v2/export/pages/OverviewPage.js.map +0 -1
  817. package/dist/src/sync/v2/export/pages/index.d.ts.map +0 -1
  818. package/dist/src/sync/v2/export/pages/index.js.map +0 -1
  819. package/dist/src/sync/v2/export/view-controller-generator.d.ts.map +0 -1
  820. package/dist/src/sync/v2/export/view-controller-generator.js.map +0 -1
  821. package/dist/src/sync/v2/generate/analyticalListReport.d.ts.map +0 -1
  822. package/dist/src/sync/v2/generate/analyticalListReport.js +0 -144
  823. package/dist/src/sync/v2/generate/analyticalListReport.js.map +0 -1
  824. package/dist/src/sync/v2/generate/generate.d.ts.map +0 -1
  825. package/dist/src/sync/v2/generate/generate.js.map +0 -1
  826. package/dist/src/sync/v2/generate/index.d.ts.map +0 -1
  827. package/dist/src/sync/v2/generate/index.js.map +0 -1
  828. package/dist/src/sync/v2/generate/listReport.d.ts.map +0 -1
  829. package/dist/src/sync/v2/generate/listReport.js.map +0 -1
  830. package/dist/src/sync/v2/generate/objectPage.d.ts.map +0 -1
  831. package/dist/src/sync/v2/generate/objectPage.js.map +0 -1
  832. package/dist/src/sync/v2/generate/overviewPage.d.ts.map +0 -1
  833. package/dist/src/sync/v2/generate/overviewPage.js.map +0 -1
  834. package/dist/src/sync/v2/generate/utils.d.ts.map +0 -1
  835. package/dist/src/sync/v2/generate/utils.js +0 -653
  836. package/dist/src/sync/v2/generate/utils.js.map +0 -1
  837. package/dist/src/sync/v2/import/app/appProvider.d.ts.map +0 -1
  838. package/dist/src/sync/v2/import/app/appProvider.js.map +0 -1
  839. package/dist/src/sync/v2/import/app/ovpProvider.d.ts.map +0 -1
  840. package/dist/src/sync/v2/import/app/ovpProvider.js.map +0 -1
  841. package/dist/src/sync/v2/import/common/index.d.ts.map +0 -1
  842. package/dist/src/sync/v2/import/common/index.js.map +0 -1
  843. package/dist/src/sync/v2/import/controls/table.d.ts.map +0 -1
  844. package/dist/src/sync/v2/import/controls/table.js.map +0 -1
  845. package/dist/src/sync/v2/import/getPageType.d.ts.map +0 -1
  846. package/dist/src/sync/v2/import/getPageType.js.map +0 -1
  847. package/dist/src/sync/v2/import/index.d.ts.map +0 -1
  848. package/dist/src/sync/v2/import/index.js.map +0 -1
  849. package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts.map +0 -1
  850. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +0 -1
  851. package/dist/src/sync/v2/import/pages/listReport.d.ts.map +0 -1
  852. package/dist/src/sync/v2/import/pages/listReport.js.map +0 -1
  853. package/dist/src/sync/v2/import/pages/objectPage.d.ts.map +0 -1
  854. package/dist/src/sync/v2/import/pages/objectPage.js.map +0 -1
  855. package/dist/src/sync/v2/import/pages/overviewPage.d.ts.map +0 -1
  856. package/dist/src/sync/v2/import/pages/overviewPage.js.map +0 -1
  857. package/dist/src/sync/v2/import/utils.d.ts.map +0 -1
  858. package/dist/src/sync/v2/import/utils.js.map +0 -1
  859. package/dist/src/sync/v2/types.d.ts +0 -84
  860. package/dist/src/sync/v2/types.d.ts.map +0 -1
  861. package/dist/src/sync/v2/types.js +0 -51
  862. package/dist/src/sync/v2/types.js.map +0 -1
  863. package/dist/src/sync/v4/application.d.ts.map +0 -1
  864. package/dist/src/sync/v4/application.js +0 -228
  865. package/dist/src/sync/v4/application.js.map +0 -1
  866. package/dist/src/sync/v4/export/controls/FilterBar.d.ts.map +0 -1
  867. package/dist/src/sync/v4/export/controls/FilterBar.js +0 -155
  868. package/dist/src/sync/v4/export/controls/FilterBar.js.map +0 -1
  869. package/dist/src/sync/v4/export/controls/Header.d.ts.map +0 -1
  870. package/dist/src/sync/v4/export/controls/Header.js.map +0 -1
  871. package/dist/src/sync/v4/export/controls/HeaderAction.d.ts.map +0 -1
  872. package/dist/src/sync/v4/export/controls/HeaderAction.js.map +0 -1
  873. package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts.map +0 -1
  874. package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.js.map +0 -1
  875. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +0 -1
  876. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +0 -1
  877. package/dist/src/sync/v4/export/controls/ObjectPageFooter.d.ts.map +0 -1
  878. package/dist/src/sync/v4/export/controls/ObjectPageFooter.js.map +0 -1
  879. package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.d.ts.map +0 -1
  880. package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.js +0 -124
  881. package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.js.map +0 -1
  882. package/dist/src/sync/v4/export/controls/ObjectPageForm.d.ts.map +0 -1
  883. package/dist/src/sync/v4/export/controls/ObjectPageForm.js +0 -48
  884. package/dist/src/sync/v4/export/controls/ObjectPageForm.js.map +0 -1
  885. package/dist/src/sync/v4/export/controls/ObjectPageFormAction.d.ts.map +0 -1
  886. package/dist/src/sync/v4/export/controls/ObjectPageFormAction.js.map +0 -1
  887. package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +0 -1
  888. package/dist/src/sync/v4/export/controls/ObjectPageHeader.js.map +0 -1
  889. package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts.map +0 -1
  890. package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.js +0 -105
  891. package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.js.map +0 -1
  892. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +0 -1
  893. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js +0 -66
  894. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +0 -1
  895. package/dist/src/sync/v4/export/controls/ObjectPageLayout.d.ts.map +0 -1
  896. package/dist/src/sync/v4/export/controls/ObjectPageLayout.js +0 -25
  897. package/dist/src/sync/v4/export/controls/ObjectPageLayout.js.map +0 -1
  898. package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +0 -1
  899. package/dist/src/sync/v4/export/controls/ObjectPageTable.js +0 -248
  900. package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +0 -1
  901. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +0 -1
  902. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +0 -151
  903. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +0 -1
  904. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +0 -1
  905. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +0 -1
  906. package/dist/src/sync/v4/export/controls/Table.d.ts +0 -156
  907. package/dist/src/sync/v4/export/controls/Table.d.ts.map +0 -1
  908. package/dist/src/sync/v4/export/controls/Table.js +0 -711
  909. package/dist/src/sync/v4/export/controls/Table.js.map +0 -1
  910. package/dist/src/sync/v4/export/controls/TableColumn.d.ts.map +0 -1
  911. package/dist/src/sync/v4/export/controls/TableColumn.js +0 -311
  912. package/dist/src/sync/v4/export/controls/TableColumn.js.map +0 -1
  913. package/dist/src/sync/v4/export/controls/ToolBar.d.ts.map +0 -1
  914. package/dist/src/sync/v4/export/controls/ToolBar.js.map +0 -1
  915. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +0 -43
  916. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts.map +0 -1
  917. package/dist/src/sync/v4/export/controls/ToolBarAction.js +0 -239
  918. package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +0 -1
  919. package/dist/src/sync/v4/export/controls/index.d.ts +0 -22
  920. package/dist/src/sync/v4/export/controls/index.d.ts.map +0 -1
  921. package/dist/src/sync/v4/export/controls/index.js +0 -38
  922. package/dist/src/sync/v4/export/controls/index.js.map +0 -1
  923. package/dist/src/sync/v4/export/export.d.ts.map +0 -1
  924. package/dist/src/sync/v4/export/export.js +0 -943
  925. package/dist/src/sync/v4/export/export.js.map +0 -1
  926. package/dist/src/sync/v4/export/exportCustomColumn.d.ts.map +0 -1
  927. package/dist/src/sync/v4/export/exportCustomColumn.js.map +0 -1
  928. package/dist/src/sync/v4/export/factory.d.ts.map +0 -1
  929. package/dist/src/sync/v4/export/factory.js +0 -61
  930. package/dist/src/sync/v4/export/factory.js.map +0 -1
  931. package/dist/src/sync/v4/export/flexibleColumnLayout.d.ts.map +0 -1
  932. package/dist/src/sync/v4/export/flexibleColumnLayout.js.map +0 -1
  933. package/dist/src/sync/v4/export/fpmCustomPage.d.ts.map +0 -1
  934. package/dist/src/sync/v4/export/fpmCustomPage.js +0 -175
  935. package/dist/src/sync/v4/export/fpmCustomPage.js.map +0 -1
  936. package/dist/src/sync/v4/export/manifest.d.ts.map +0 -1
  937. package/dist/src/sync/v4/export/manifest.js.map +0 -1
  938. package/dist/src/sync/v4/export/pages/FreestylePage.d.ts.map +0 -1
  939. package/dist/src/sync/v4/export/pages/FreestylePage.js.map +0 -1
  940. package/dist/src/sync/v4/export/pages/ListReport.d.ts.map +0 -1
  941. package/dist/src/sync/v4/export/pages/ListReport.js +0 -85
  942. package/dist/src/sync/v4/export/pages/ListReport.js.map +0 -1
  943. package/dist/src/sync/v4/export/pages/ObjectPage.d.ts.map +0 -1
  944. package/dist/src/sync/v4/export/pages/ObjectPage.js +0 -41
  945. package/dist/src/sync/v4/export/pages/ObjectPage.js.map +0 -1
  946. package/dist/src/sync/v4/export/pages/index.d.ts.map +0 -1
  947. package/dist/src/sync/v4/export/pages/index.js.map +0 -1
  948. package/dist/src/sync/v4/export/types.d.ts.map +0 -1
  949. package/dist/src/sync/v4/export/types.js.map +0 -1
  950. package/dist/src/sync/v4/export/utils.d.ts.map +0 -1
  951. package/dist/src/sync/v4/export/utils.js.map +0 -1
  952. package/dist/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +0 -1
  953. package/dist/src/sync/v4/generate/fpm-custom-page/annotations.js.map +0 -1
  954. package/dist/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +0 -1
  955. package/dist/src/sync/v4/generate/fpm-custom-page/extensions.js.map +0 -1
  956. package/dist/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +0 -1
  957. package/dist/src/sync/v4/generate/fpm-custom-page/generator.js.map +0 -1
  958. package/dist/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts.map +0 -1
  959. package/dist/src/sync/v4/generate/fpm-custom-page/pageExtensions.js.map +0 -1
  960. package/dist/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +0 -1
  961. package/dist/src/sync/v4/generate/fpm-custom-page/utils.js.map +0 -1
  962. package/dist/src/sync/v4/generate/freestylePage.d.ts.map +0 -1
  963. package/dist/src/sync/v4/generate/freestylePage.js.map +0 -1
  964. package/dist/src/sync/v4/generate/generate.d.ts.map +0 -1
  965. package/dist/src/sync/v4/generate/generate.js.map +0 -1
  966. package/dist/src/sync/v4/generate/index.d.ts.map +0 -1
  967. package/dist/src/sync/v4/generate/index.js.map +0 -1
  968. package/dist/src/sync/v4/generate/listReport.d.ts.map +0 -1
  969. package/dist/src/sync/v4/generate/listReport.js +0 -891
  970. package/dist/src/sync/v4/generate/listReport.js.map +0 -1
  971. package/dist/src/sync/v4/generate/objectPage.d.ts.map +0 -1
  972. package/dist/src/sync/v4/generate/objectPage.js.map +0 -1
  973. package/dist/src/sync/v4/import/app/appProvider.d.ts.map +0 -1
  974. package/dist/src/sync/v4/import/app/appProvider.js.map +0 -1
  975. package/dist/src/sync/v4/import/app/index.d.ts.map +0 -1
  976. package/dist/src/sync/v4/import/app/index.js.map +0 -1
  977. package/dist/src/sync/v4/import/fragment.d.ts.map +0 -1
  978. package/dist/src/sync/v4/import/fragment.js.map +0 -1
  979. package/dist/src/sync/v4/import/index.d.ts.map +0 -1
  980. package/dist/src/sync/v4/import/index.js.map +0 -1
  981. package/dist/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +0 -1
  982. package/dist/src/sync/v4/import/pages/fpmCustomPage.js.map +0 -1
  983. package/dist/src/sync/v4/import/pages/listReport.d.ts.map +0 -1
  984. package/dist/src/sync/v4/import/pages/listReport.js.map +0 -1
  985. package/dist/src/sync/v4/import/pages/objectPage.d.ts.map +0 -1
  986. package/dist/src/sync/v4/import/pages/objectPage.js.map +0 -1
  987. package/dist/src/sync/v4/import/utils.d.ts.map +0 -1
  988. package/dist/src/sync/v4/import/utils.js.map +0 -1
  989. package/dist/src/sync/v4/sync-rules/controllerExtensions.d.ts.map +0 -1
  990. package/dist/src/sync/v4/sync-rules/controllerExtensions.js.map +0 -1
  991. package/dist/src/sync/v4/types.d.ts.map +0 -1
  992. package/dist/src/sync/v4/types.js.map +0 -1
  993. package/dist/src/sync/v4/utils/StableIdHelper.d.ts.map +0 -1
  994. package/dist/src/sync/v4/utils/StableIdHelper.js.map +0 -1
  995. package/dist/src/sync/v4/utils/macros.d.ts.map +0 -1
  996. package/dist/src/sync/v4/utils/macros.js.map +0 -1
  997. package/dist/src/sync/v4/utils/utils.d.ts.map +0 -1
  998. package/dist/src/sync/v4/utils/utils.js +0 -858
  999. package/dist/src/sync/v4/utils/utils.js.map +0 -1
  1000. /package/dist/{src → specification/src}/api.d.ts +0 -0
  1001. /package/dist/{src → specification/src}/extensionLogger.d.ts +0 -0
  1002. /package/dist/{src → specification/src}/extensionLogger.js +0 -0
  1003. /package/dist/{src → specification/src}/i18n/i18n.d.ts +0 -0
  1004. /package/dist/{src → specification/src}/i18n/i18n.js +0 -0
  1005. /package/dist/{src → specification/src}/index.d.ts +0 -0
  1006. /package/dist/{src → specification/src}/index.js +0 -0
  1007. /package/dist/{src → specification/src}/project.d.ts +0 -0
  1008. /package/dist/{src → specification/src}/project.js +0 -0
  1009. /package/dist/{src → specification/src}/specification/schemaAccess.d.ts +0 -0
  1010. /package/dist/{src → specification/src}/specification/schemaAccess.js +0 -0
  1011. /package/dist/{src → specification/src}/sync/common/appProvider.d.ts +0 -0
  1012. /package/dist/{src → specification/src}/sync/common/appProvider.js +0 -0
  1013. /package/dist/{src → specification/src}/sync/common/decoration/control.d.ts +0 -0
  1014. /package/dist/{src → specification/src}/sync/common/decoration/control.js +0 -0
  1015. /package/dist/{src → specification/src}/sync/common/decoration/factory.d.ts +0 -0
  1016. /package/dist/{src → specification/src}/sync/common/decoration/factory.js +0 -0
  1017. /package/dist/{src → specification/src}/sync/common/decoration/flex.d.ts +0 -0
  1018. /package/dist/{src → specification/src}/sync/common/decoration/flex.js +0 -0
  1019. /package/dist/{src → specification/src}/sync/common/decoration/index.d.ts +0 -0
  1020. /package/dist/{src → specification/src}/sync/common/decoration/index.js +0 -0
  1021. /package/dist/{src → specification/src}/sync/common/distTagEvaluator.d.ts +0 -0
  1022. /package/dist/{src → specification/src}/sync/common/distTagEvaluator.js +0 -0
  1023. /package/dist/{src → specification/src}/sync/common/dist_tag.json +0 -0
  1024. /package/dist/{src → specification/src}/sync/common/flexUtils.d.ts +0 -0
  1025. /package/dist/{src → specification/src}/sync/common/flexUtils.js +0 -0
  1026. /package/dist/{src → specification/src}/sync/common/generate/index.d.ts +0 -0
  1027. /package/dist/{src → specification/src}/sync/common/generate/index.js +0 -0
  1028. /package/dist/{src → specification/src}/sync/common/generate/objectPage.d.ts +0 -0
  1029. /package/dist/{src → specification/src}/sync/common/generate/objectPage.js +0 -0
  1030. /package/dist/{src → specification/src}/sync/common/generate/utils.d.ts +0 -0
  1031. /package/dist/{src → specification/src}/sync/common/generate/utils.js +0 -0
  1032. /package/dist/{src → specification/src}/sync/common/import/utils.d.ts +0 -0
  1033. /package/dist/{src → specification/src}/sync/common/import/utils.js +0 -0
  1034. /package/dist/{src → specification/src}/sync/common/importProject.d.ts +0 -0
  1035. /package/dist/{src → specification/src}/sync/common/importProject.js +0 -0
  1036. /package/dist/{src → specification/src}/sync/common/index.d.ts +0 -0
  1037. /package/dist/{src → specification/src}/sync/common/index.js +0 -0
  1038. /package/dist/{src → specification/src}/sync/common/utils.d.ts +0 -0
  1039. /package/dist/{src → specification/src}/sync/i18n.d.ts +0 -0
  1040. /package/dist/{src → specification/src}/sync/i18n.js +0 -0
  1041. /package/dist/{src → specification/src}/sync/v2/application.d.ts +0 -0
  1042. /package/dist/{src → specification/src}/sync/v2/export/controls/Action.d.ts +0 -0
  1043. /package/dist/{src → specification/src}/sync/v2/export/controls/Action.js +0 -0
  1044. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageChart.d.ts +0 -0
  1045. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageChart.js +0 -0
  1046. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +0 -0
  1047. /package/dist/{src → specification/src}/sync/v2/export/controls/AnalyticalListPageKPI.js +0 -0
  1048. /package/dist/{src → specification/src}/sync/v2/export/controls/Card.d.ts +0 -0
  1049. /package/dist/{src → specification/src}/sync/v2/export/controls/Card.js +0 -0
  1050. /package/dist/{src → specification/src}/sync/v2/export/controls/Field.d.ts +0 -0
  1051. /package/dist/{src → specification/src}/sync/v2/export/controls/Field.js +0 -0
  1052. /package/dist/{src → specification/src}/sync/v2/export/controls/FilterBar.d.ts +0 -0
  1053. /package/dist/{src → specification/src}/sync/v2/export/controls/FilterBar.js +0 -0
  1054. /package/dist/{src → specification/src}/sync/v2/export/controls/FormAction.d.ts +0 -0
  1055. /package/dist/{src → specification/src}/sync/v2/export/controls/FormAction.js +0 -0
  1056. /package/dist/{src → specification/src}/sync/v2/export/controls/Fragment.d.ts +0 -0
  1057. /package/dist/{src → specification/src}/sync/v2/export/controls/Fragment.js +0 -0
  1058. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageChart.d.ts +0 -0
  1059. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageChart.js +0 -0
  1060. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageCustomSection.d.ts +0 -0
  1061. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageCustomSection.js +0 -0
  1062. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageFooterAction.d.ts +0 -0
  1063. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageFooterAction.js +0 -0
  1064. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeader.d.ts +0 -0
  1065. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +0 -0
  1066. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderAction.js +0 -0
  1067. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderSection.d.ts +0 -0
  1068. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageHeaderSection.js +0 -0
  1069. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageLayout.d.ts +0 -0
  1070. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageLayout.js +0 -0
  1071. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +0 -0
  1072. /package/dist/{src → specification/src}/sync/v2/export/controls/ObjectPageToolBarAction.js +0 -0
  1073. /package/dist/{src → specification/src}/sync/v2/export/controls/Table.d.ts +0 -0
  1074. /package/dist/{src → specification/src}/sync/v2/export/controls/Table.js +0 -0
  1075. /package/dist/{src → specification/src}/sync/v2/export/controls/TableColumn.d.ts +0 -0
  1076. /package/dist/{src → specification/src}/sync/v2/export/controls/TableColumn.js +0 -0
  1077. /package/dist/{src → specification/src}/sync/v2/export/controls/ToolBar.d.ts +0 -0
  1078. /package/dist/{src → specification/src}/sync/v2/export/controls/ToolBar.js +0 -0
  1079. /package/dist/{src → specification/src}/sync/v2/export/export.d.ts +0 -0
  1080. /package/dist/{src → specification/src}/sync/v2/export/export.js +0 -0
  1081. /package/dist/{src → specification/src}/sync/v2/export/exportPage.d.ts +0 -0
  1082. /package/dist/{src → specification/src}/sync/v2/export/exportPage.js +0 -0
  1083. /package/dist/{src → specification/src}/sync/v2/export/factory.d.ts +0 -0
  1084. /package/dist/{src → specification/src}/sync/v2/export/factory.js +0 -0
  1085. /package/dist/{src → specification/src}/sync/v2/export/manifest.d.ts +0 -0
  1086. /package/dist/{src → specification/src}/sync/v2/export/manifest.js +0 -0
  1087. /package/dist/{src → specification/src}/sync/v2/export/pages/AnalyticalListPage.d.ts +0 -0
  1088. /package/dist/{src → specification/src}/sync/v2/export/pages/AnalyticalListPage.js +0 -0
  1089. /package/dist/{src → specification/src}/sync/v2/export/pages/ListReport.d.ts +0 -0
  1090. /package/dist/{src → specification/src}/sync/v2/export/pages/ListReport.js +0 -0
  1091. /package/dist/{src → specification/src}/sync/v2/export/pages/ObjectPage.d.ts +0 -0
  1092. /package/dist/{src → specification/src}/sync/v2/export/pages/ObjectPage.js +0 -0
  1093. /package/dist/{src → specification/src}/sync/v2/export/pages/OverviewPage.d.ts +0 -0
  1094. /package/dist/{src → specification/src}/sync/v2/export/pages/OverviewPage.js +0 -0
  1095. /package/dist/{src → specification/src}/sync/v2/export/pages/index.d.ts +0 -0
  1096. /package/dist/{src → specification/src}/sync/v2/export/pages/index.js +0 -0
  1097. /package/dist/{src → specification/src}/sync/v2/export/view-controller-generator.d.ts +0 -0
  1098. /package/dist/{src → specification/src}/sync/v2/export/view-controller-generator.js +0 -0
  1099. /package/dist/{src → specification/src}/sync/v2/generate/analyticalListReport.d.ts +0 -0
  1100. /package/dist/{src → specification/src}/sync/v2/generate/generate.d.ts +0 -0
  1101. /package/dist/{src → specification/src}/sync/v2/generate/generate.js +0 -0
  1102. /package/dist/{src → specification/src}/sync/v2/generate/index.d.ts +0 -0
  1103. /package/dist/{src → specification/src}/sync/v2/generate/index.js +0 -0
  1104. /package/dist/{src → specification/src}/sync/v2/generate/listReport.d.ts +0 -0
  1105. /package/dist/{src → specification/src}/sync/v2/generate/listReport.js +0 -0
  1106. /package/dist/{src → specification/src}/sync/v2/generate/objectPage.d.ts +0 -0
  1107. /package/dist/{src → specification/src}/sync/v2/generate/objectPage.js +0 -0
  1108. /package/dist/{src → specification/src}/sync/v2/generate/overviewPage.d.ts +0 -0
  1109. /package/dist/{src → specification/src}/sync/v2/generate/overviewPage.js +0 -0
  1110. /package/dist/{src → specification/src}/sync/v2/generate/utils.d.ts +0 -0
  1111. /package/dist/{src → specification/src}/sync/v2/import/app/appProvider.d.ts +0 -0
  1112. /package/dist/{src → specification/src}/sync/v2/import/app/appProvider.js +0 -0
  1113. /package/dist/{src → specification/src}/sync/v2/import/app/ovpProvider.d.ts +0 -0
  1114. /package/dist/{src → specification/src}/sync/v2/import/app/ovpProvider.js +0 -0
  1115. /package/dist/{src → specification/src}/sync/v2/import/common/index.d.ts +0 -0
  1116. /package/dist/{src → specification/src}/sync/v2/import/common/index.js +0 -0
  1117. /package/dist/{src → specification/src}/sync/v2/import/controls/table.d.ts +0 -0
  1118. /package/dist/{src → specification/src}/sync/v2/import/controls/table.js +0 -0
  1119. /package/dist/{src → specification/src}/sync/v2/import/getPageType.d.ts +0 -0
  1120. /package/dist/{src → specification/src}/sync/v2/import/getPageType.js +0 -0
  1121. /package/dist/{src → specification/src}/sync/v2/import/index.d.ts +0 -0
  1122. /package/dist/{src → specification/src}/sync/v2/import/index.js +0 -0
  1123. /package/dist/{src → specification/src}/sync/v2/import/pages/analyticalListPage.d.ts +0 -0
  1124. /package/dist/{src → specification/src}/sync/v2/import/pages/analyticalListPage.js +0 -0
  1125. /package/dist/{src → specification/src}/sync/v2/import/pages/listReport.d.ts +0 -0
  1126. /package/dist/{src → specification/src}/sync/v2/import/pages/listReport.js +0 -0
  1127. /package/dist/{src → specification/src}/sync/v2/import/pages/objectPage.d.ts +0 -0
  1128. /package/dist/{src → specification/src}/sync/v2/import/pages/objectPage.js +0 -0
  1129. /package/dist/{src → specification/src}/sync/v2/import/pages/overviewPage.d.ts +0 -0
  1130. /package/dist/{src → specification/src}/sync/v2/import/pages/overviewPage.js +0 -0
  1131. /package/dist/{src → specification/src}/sync/v2/import/utils.d.ts +0 -0
  1132. /package/dist/{src → specification/src}/sync/v2/import/utils.js +0 -0
  1133. /package/dist/{src → specification/src}/sync/v4/application.d.ts +0 -0
  1134. /package/dist/{src → specification/src}/sync/v4/export/controls/FilterBar.d.ts +0 -0
  1135. /package/dist/{src → specification/src}/sync/v4/export/controls/Header.d.ts +0 -0
  1136. /package/dist/{src → specification/src}/sync/v4/export/controls/Header.js +0 -0
  1137. /package/dist/{src → specification/src}/sync/v4/export/controls/HeaderAction.d.ts +0 -0
  1138. /package/dist/{src → specification/src}/sync/v4/export/controls/HeaderAction.js +0 -0
  1139. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts +0 -0
  1140. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomHeaderSection.js +0 -0
  1141. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomSection.d.ts +0 -0
  1142. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageCustomSection.js +0 -0
  1143. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFooter.d.ts +0 -0
  1144. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFooter.js +0 -0
  1145. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFooterAction.d.ts +0 -0
  1146. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageForm.d.ts +0 -0
  1147. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFormAction.d.ts +0 -0
  1148. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageFormAction.js +0 -0
  1149. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeader.d.ts +0 -0
  1150. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeader.js +0 -0
  1151. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeaderAction.d.ts +0 -0
  1152. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +0 -0
  1153. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageLayout.d.ts +0 -0
  1154. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageTable.d.ts +0 -0
  1155. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageTableColumn.d.ts +0 -0
  1156. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +0 -0
  1157. /package/dist/{src → specification/src}/sync/v4/export/controls/ObjectPageToolBarAction.js +0 -0
  1158. /package/dist/{src → specification/src}/sync/v4/export/controls/TableColumn.d.ts +0 -0
  1159. /package/dist/{src → specification/src}/sync/v4/export/controls/ToolBar.d.ts +0 -0
  1160. /package/dist/{src → specification/src}/sync/v4/export/controls/ToolBar.js +0 -0
  1161. /package/dist/{src → specification/src}/sync/v4/export/export.d.ts +0 -0
  1162. /package/dist/{src → specification/src}/sync/v4/export/exportCustomColumn.d.ts +0 -0
  1163. /package/dist/{src → specification/src}/sync/v4/export/exportCustomColumn.js +0 -0
  1164. /package/dist/{src → specification/src}/sync/v4/export/factory.d.ts +0 -0
  1165. /package/dist/{src → specification/src}/sync/v4/export/flexibleColumnLayout.d.ts +0 -0
  1166. /package/dist/{src → specification/src}/sync/v4/export/flexibleColumnLayout.js +0 -0
  1167. /package/dist/{src → specification/src}/sync/v4/export/fpmCustomPage.d.ts +0 -0
  1168. /package/dist/{src → specification/src}/sync/v4/export/manifest.d.ts +0 -0
  1169. /package/dist/{src → specification/src}/sync/v4/export/manifest.js +0 -0
  1170. /package/dist/{src → specification/src}/sync/v4/export/pages/FreestylePage.d.ts +0 -0
  1171. /package/dist/{src → specification/src}/sync/v4/export/pages/FreestylePage.js +0 -0
  1172. /package/dist/{src → specification/src}/sync/v4/export/pages/ListReport.d.ts +0 -0
  1173. /package/dist/{src → specification/src}/sync/v4/export/pages/ObjectPage.d.ts +0 -0
  1174. /package/dist/{src → specification/src}/sync/v4/export/pages/index.d.ts +0 -0
  1175. /package/dist/{src → specification/src}/sync/v4/export/pages/index.js +0 -0
  1176. /package/dist/{src → specification/src}/sync/v4/export/types.d.ts +0 -0
  1177. /package/dist/{src → specification/src}/sync/v4/export/types.js +0 -0
  1178. /package/dist/{src → specification/src}/sync/v4/export/utils.d.ts +0 -0
  1179. /package/dist/{src → specification/src}/sync/v4/export/utils.js +0 -0
  1180. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/annotations.d.ts +0 -0
  1181. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/annotations.js +0 -0
  1182. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/extensions.d.ts +0 -0
  1183. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/extensions.js +0 -0
  1184. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/generator.d.ts +0 -0
  1185. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/generator.js +0 -0
  1186. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts +0 -0
  1187. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/pageExtensions.js +0 -0
  1188. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/utils.d.ts +0 -0
  1189. /package/dist/{src → specification/src}/sync/v4/generate/fpm-custom-page/utils.js +0 -0
  1190. /package/dist/{src → specification/src}/sync/v4/generate/freestylePage.d.ts +0 -0
  1191. /package/dist/{src → specification/src}/sync/v4/generate/freestylePage.js +0 -0
  1192. /package/dist/{src → specification/src}/sync/v4/generate/generate.d.ts +0 -0
  1193. /package/dist/{src → specification/src}/sync/v4/generate/generate.js +0 -0
  1194. /package/dist/{src → specification/src}/sync/v4/generate/index.d.ts +0 -0
  1195. /package/dist/{src → specification/src}/sync/v4/generate/index.js +0 -0
  1196. /package/dist/{src → specification/src}/sync/v4/generate/listReport.d.ts +0 -0
  1197. /package/dist/{src → specification/src}/sync/v4/generate/objectPage.d.ts +0 -0
  1198. /package/dist/{src → specification/src}/sync/v4/generate/objectPage.js +0 -0
  1199. /package/dist/{src → specification/src}/sync/v4/import/app/appProvider.d.ts +0 -0
  1200. /package/dist/{src → specification/src}/sync/v4/import/app/appProvider.js +0 -0
  1201. /package/dist/{src → specification/src}/sync/v4/import/app/index.d.ts +0 -0
  1202. /package/dist/{src → specification/src}/sync/v4/import/app/index.js +0 -0
  1203. /package/dist/{src → specification/src}/sync/v4/import/fragment.d.ts +0 -0
  1204. /package/dist/{src → specification/src}/sync/v4/import/fragment.js +0 -0
  1205. /package/dist/{src → specification/src}/sync/v4/import/index.d.ts +0 -0
  1206. /package/dist/{src → specification/src}/sync/v4/import/index.js +0 -0
  1207. /package/dist/{src → specification/src}/sync/v4/import/pages/fpmCustomPage.d.ts +0 -0
  1208. /package/dist/{src → specification/src}/sync/v4/import/pages/fpmCustomPage.js +0 -0
  1209. /package/dist/{src → specification/src}/sync/v4/import/pages/listReport.d.ts +0 -0
  1210. /package/dist/{src → specification/src}/sync/v4/import/pages/listReport.js +0 -0
  1211. /package/dist/{src → specification/src}/sync/v4/import/pages/objectPage.d.ts +0 -0
  1212. /package/dist/{src → specification/src}/sync/v4/import/pages/objectPage.js +0 -0
  1213. /package/dist/{src → specification/src}/sync/v4/import/utils.d.ts +0 -0
  1214. /package/dist/{src → specification/src}/sync/v4/import/utils.js +0 -0
  1215. /package/dist/{src → specification/src}/sync/v4/sync-rules/controllerExtensions.d.ts +0 -0
  1216. /package/dist/{src → specification/src}/sync/v4/sync-rules/controllerExtensions.js +0 -0
  1217. /package/dist/{src → specification/src}/sync/v4/types.d.ts +0 -0
  1218. /package/dist/{src → specification/src}/sync/v4/types.js +0 -0
  1219. /package/dist/{src → specification/src}/sync/v4/utils/StableIdHelper.d.ts +0 -0
  1220. /package/dist/{src → specification/src}/sync/v4/utils/StableIdHelper.js +0 -0
  1221. /package/dist/{src → specification/src}/sync/v4/utils/macros.d.ts +0 -0
  1222. /package/dist/{src → specification/src}/sync/v4/utils/macros.js +0 -0
  1223. /package/dist/{src → specification/src}/sync/v4/utils/utils.d.ts +0 -0
@@ -0,0 +1,889 @@
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.addCustomFilterFieldDefinition = exports.addCustomSectionDefinition = exports.getPageCustomViewFile = exports.getPageCustomExtensionFile = exports.getManifestPage = exports.addHeaderFooterCustomActionDefinition = exports.addCustomActionDefinition = exports.alignSchemaWithTemplateType = exports.findPageV4 = exports.addEnumForActionAnchor = exports.addFragmentEnumForAnchor = exports.addLineItemsTypeToSchema = exports.appendLineItemsToSchema = exports.addCustomColumnDefinition = exports.addExtensionToArray = void 0;
7
+ const utils_1 = require("../../common/utils");
8
+ const StableIdHelper_1 = require("./StableIdHelper");
9
+ const common_1 = require("../../common");
10
+ const i18next_1 = __importDefault(require("i18next"));
11
+ const __1 = require("../../..");
12
+ const ux_specification_types_1 = require("@sap/ux-specification-types");
13
+ const path_1 = require("path");
14
+ function sortByPropertyIndex() {
15
+ return ([_key1, value1], [_key2, value2]) => value1[ux_specification_types_1.SchemaTag.propertyIndex] - value2[ux_specification_types_1.SchemaTag.propertyIndex];
16
+ }
17
+ /**
18
+ * Sort function for properties in schema definitions.
19
+ * @param definition - definition which contains list of properties, unsorted
20
+ * @returns - list of properties, sorted by property index
21
+ */
22
+ function sortPropertiesRecords(definition) {
23
+ definition = typeof definition === 'object' ? definition : {};
24
+ const unsortedObjArr = [...Object.entries(definition.properties)];
25
+ if (!definition.properties || Object.keys(definition.properties).length === 0) {
26
+ return unsortedObjArr;
27
+ }
28
+ return unsortedObjArr.sort(sortByPropertyIndex());
29
+ }
30
+ /**
31
+ * Method receives extension object and returns title/text.
32
+ * @param extension - custom extension object from manifest.
33
+ * @returns Title/text of custom extension.
34
+ */
35
+ function getExtensionText(extension) {
36
+ let text;
37
+ if (typeof extension === 'object') {
38
+ if ('header' in extension) {
39
+ text = extension.header;
40
+ }
41
+ else if ('text' in extension) {
42
+ text = extension.text;
43
+ }
44
+ else if ('title' in extension) {
45
+ text = extension.title;
46
+ }
47
+ else if ('label' in extension) {
48
+ text = extension.label;
49
+ }
50
+ }
51
+ else if (typeof extension === 'string') {
52
+ text = extension;
53
+ }
54
+ return text;
55
+ }
56
+ /**
57
+ * Adds a custom extension to the right position of a sorted array
58
+ * @param extension - custom extension
59
+ * @param sortedExtensionsArray - array of all entries(annotation entries and extensions), to be enhanced
60
+ * @param targetIndex - index of the anchor entry
61
+ * @param extId - ID of the new custom extension
62
+ * @param newExtensionReference - schema reference of the new extension
63
+ */
64
+ function addExtensionToSortedArray(extension, sortedExtensionsArray, targetIndex, extId, newExtensionReference) {
65
+ const placement = extension.position?.placement || ux_specification_types_1.v4.Placement.After;
66
+ if (placement === ux_specification_types_1.v4.Placement.Before) {
67
+ sortedExtensionsArray.splice(targetIndex, 0, [extId, newExtensionReference]);
68
+ }
69
+ else {
70
+ sortedExtensionsArray.splice(targetIndex + 1, 0, [extId, newExtensionReference]);
71
+ }
72
+ }
73
+ /**
74
+ * Adds remaining custom extensions that might self-reference and were not added in previous steps
75
+ * @param {CustomExtensions} remainingExtensions - list of custom extensions that are left for post-processing
76
+ * @param {string} extId - current id of remaining extensions
77
+ * @param {CustomExtension} extension - current extension of remaining custom extensions
78
+ * @param {[string, unknown]} sortedExtArray - sorted array of annotation-based extensions, to be updated
79
+ * @param { $ref, description, key } newCustomExt - description based on extension in manifest
80
+ */
81
+ function addRemainingTargetByBefore(remainingExtensions, extId, extension, sortedExtArray, newCustomExt) {
82
+ const targetRemainingIndex = Object.entries(remainingExtensions)
83
+ .filter(([key]) => key !== extId)
84
+ .findIndex(([_key, entry]) => entry.position?.placement === 'Before' && entry.position?.anchor === extension.position?.anchor);
85
+ if (targetRemainingIndex === -1) {
86
+ sortedExtArray.splice(sortedExtArray.length, 0, [extId, newCustomExt]);
87
+ delete remainingExtensions[extId];
88
+ }
89
+ }
90
+ /**
91
+ * Post-processing of custom extensions that are left after the first loop of adding extensions, i.e. custom extensions referring to other custom extensions
92
+ * @param remainingExtensions - list of custom extensions that are left for post-processing
93
+ * @param extensionDefinitionName - custom extension definition name, different in LR and OP
94
+ * @param sortedExtArray - sorted array of annotation-based extensions, to be updated
95
+ * @param logger - logger for error messages
96
+ * @param {boolean} forceAdd - add self-referencing custom extensions after other additions
97
+ */
98
+ function adjustCustomExtReferringToCustomExt(remainingExtensions, extensionDefinitionName, sortedExtArray, logger, forceAdd = false) {
99
+ const initialRemaining = Object.entries(remainingExtensions).length;
100
+ const getExtensionDetails = (extension, extId) => {
101
+ const description = getExtensionText(extension);
102
+ return {
103
+ $ref: `${utils_1.DEFINITION_LINK_PREFIX}${extensionDefinitionName}`,
104
+ description,
105
+ keys: [{ name: ux_specification_types_1.SchemaKeyName.key, value: `${extId}` }]
106
+ };
107
+ };
108
+ for (const extId of Object.keys(remainingExtensions)) {
109
+ const extension = remainingExtensions[extId];
110
+ // Detect description based on extension in manifest
111
+ const newCustomExt = getExtensionDetails(extension, extId);
112
+ if (extension.position?.anchor && extension.position?.placement) {
113
+ const targetIndex = sortedExtArray.findIndex((element) => element[0] === extension.position.anchor);
114
+ if (targetIndex > -1) {
115
+ addExtensionToSortedArray(extension, sortedExtArray, targetIndex, extId, newCustomExt);
116
+ delete remainingExtensions[extId];
117
+ }
118
+ else if (extId === extension.position.anchor ||
119
+ Object.keys(remainingExtensions).indexOf(extension.position.anchor) === -1) {
120
+ (0, __1.log)(logger, {
121
+ severity: "error" /* LogSeverity.Error */,
122
+ message: i18next_1.default.t('INVALIDANCHOR', { id: extId, anchor: extension.position.anchor }),
123
+ location: {
124
+ path: ux_specification_types_1.MANIFESTPATH,
125
+ range: [ux_specification_types_1.ManifestSection.generic]
126
+ }
127
+ });
128
+ sortedExtArray.splice(sortedExtArray.length, 0, [extId, newCustomExt]);
129
+ delete remainingExtensions[extId];
130
+ }
131
+ else if (forceAdd) {
132
+ addRemainingTargetByBefore(remainingExtensions, extId, extension, sortedExtArray, newCustomExt);
133
+ }
134
+ }
135
+ else if (forceAdd) {
136
+ addExtensionToSortedArray(extension, sortedExtArray, sortedExtArray.length, extId, newCustomExt);
137
+ delete remainingExtensions[extId];
138
+ }
139
+ }
140
+ const endRemaining = Object.entries(remainingExtensions).length;
141
+ if (endRemaining > 0 && initialRemaining !== endRemaining) {
142
+ adjustCustomExtReferringToCustomExt(remainingExtensions, extensionDefinitionName, sortedExtArray, logger);
143
+ }
144
+ else if (endRemaining > 0) {
145
+ adjustCustomExtReferringToCustomExt(remainingExtensions, extensionDefinitionName, sortedExtArray, logger, true);
146
+ }
147
+ }
148
+ /**
149
+ * Returns anchor for extension. Priority:
150
+ * 1. 'anchor' property in extension;
151
+ * 2. When 'anchor' is not defined in extension and does calculation based placement and current list of extension and annotation entries.
152
+ * @param extension - extension in manifest
153
+ * @param sortedExtensionsArray - sorted array of annotation-based nodes, to be enhanced by extensions
154
+ */
155
+ function getExtensionAnchor(extension, sortedExtensionsArray) {
156
+ // Default placement is After
157
+ const placement = extension.position?.placement || ux_specification_types_1.v4.Placement.After;
158
+ let anchor = extension.position?.anchor;
159
+ if (!anchor) {
160
+ // Simulate runtime behavior - if there no anchor, then logic uses first or last annotation node
161
+ // In some cases last extension can be previously inserted extension - in such case we still need use annotation node
162
+ const index = placement === ux_specification_types_1.v4.Placement.Before ? 0 : sortedExtensionsArray.length - 1;
163
+ anchor = sortedExtensionsArray[index] ? sortedExtensionsArray[index][0] : undefined;
164
+ }
165
+ return anchor;
166
+ }
167
+ /**
168
+ * Preprocesses and returns list of local extension ids that needs to be skipped from addition
169
+ * @param {CustomExtensions} localExtensions - list of extensions in manifest
170
+ * @param {[string, unknown][]} annotationEntries - sorted array of annotation-based nodes, to be enhanced by extensions
171
+ */
172
+ function getLocalExtensionsToSkip(localExtensions, annotationEntries) {
173
+ // collect local extensions that has no annotation based anchor
174
+ const ignoredIds = [];
175
+ for (const extensionId in localExtensions) {
176
+ const anchor = localExtensions[extensionId].position?.anchor;
177
+ const hasAnnotationAnchor = annotationEntries.some((annotationEntry) => annotationEntry[0] === anchor);
178
+ if (anchor && !hasAnnotationAnchor) {
179
+ ignoredIds.push(extensionId);
180
+ }
181
+ }
182
+ return ignoredIds;
183
+ }
184
+ /**
185
+ * Method returns position of passed extension using calculation for merged annotation nodes approach.
186
+ * Currently is used for custom subsections - annotation merges subsection if there is no any child collecation facet.
187
+ * @param extension - custom extension
188
+ * @param extensions - list of extensions in manifest
189
+ * @param sortedExtensionsArray - array of all entries(annotation entries and extensions), to be enhanced
190
+ *
191
+ * @returns Index of extension using merged annotation nodes approach.
192
+ */
193
+ function getExtensionIndexByMergedApproach(extension, extensions, sortedExtensionsArray) {
194
+ const placement = extension.position?.placement || ux_specification_types_1.v4.Placement.After;
195
+ const originalAnchor = extension.position?.anchor;
196
+ if (originalAnchor) {
197
+ // Custom extension is anchored to any extension
198
+ return sortedExtensionsArray.length;
199
+ }
200
+ // Custom extension is not anchored to any extension
201
+ // Inner method to find next available index before or after annotation node
202
+ const findNextIndex = (index, condition) => {
203
+ for (const sortExtension of sortedExtensionsArray) {
204
+ const innerExtension = extensions[sortExtension[0]];
205
+ if (condition(innerExtension)) {
206
+ // Condition is fulfilled - no need to increase index
207
+ break;
208
+ }
209
+ // Increase index and check next ordered extension
210
+ index++;
211
+ }
212
+ return index;
213
+ };
214
+ let index = 0;
215
+ if (placement === ux_specification_types_1.v4.Placement.Before) {
216
+ // Special case when no anchor but placement is "Before" - then rendered as very first
217
+ // Find index before first annotation node
218
+ index = findNextIndex(0, (innerExtension) => !innerExtension);
219
+ }
220
+ else {
221
+ // Special case when no anchor but placement is "After" - then rendered right after last annotation node
222
+ index = findNextIndex(-1, (innerExtension) => !!(innerExtension &&
223
+ // Ignore extension without anchor but with position "Before"
224
+ (innerExtension?.position?.anchor || innerExtension?.position?.placement !== ux_specification_types_1.v4.Placement.Before)));
225
+ }
226
+ return index > -1 ? index : 0;
227
+ }
228
+ /**
229
+ *
230
+ * @param extension - custom extension
231
+ * @param extensions - list of extensions in manifest
232
+ * @param sortedExtensionsArray - array of all entries(annotation entries and extensions), to be enhanced
233
+ * @param anchor - target anchor to check
234
+ * @param ignoreAnnotationAnchors - calculation should ignore anchors referenced to annotation nodes. Used when annotations sections are merged
235
+ *
236
+ * @returns Index of extension using merged annotation nodes approach.
237
+ */
238
+ function getExtensionIndex(extension, extensions, sortedExtensionsArray, anchor, ignoreAnnotationAnchors = false) {
239
+ return !ignoreAnnotationAnchors
240
+ ? sortedExtensionsArray.findIndex((element) => element[0] === anchor)
241
+ : getExtensionIndexByMergedApproach(extension, extensions, sortedExtensionsArray);
242
+ }
243
+ /**
244
+ * Error handler for invalid extensions
245
+ * @param logger - logger for error messages
246
+ * @param extensionId - ID of the extension
247
+ * @param sortedExtensionsArray - sorted array of annotation-based nodes, to be enhanced by extensions
248
+ * @param newExtensionReference - schema reference that had been prepared before
249
+ * @param localExtensions - list of extensions for processing
250
+ */
251
+ function handleInvalidExtension(logger, extensionId, sortedExtensionsArray, newExtensionReference, localExtensions) {
252
+ (0, __1.log)(logger, {
253
+ severity: "error" /* LogSeverity.Error */,
254
+ message: i18next_1.default.t('INVALIDEXTENSION', { id: extensionId }),
255
+ location: {
256
+ path: ux_specification_types_1.MANIFESTPATH
257
+ }
258
+ });
259
+ sortedExtensionsArray.push([extensionId, newExtensionReference]);
260
+ delete localExtensions[extensionId];
261
+ }
262
+ /**
263
+ * Adds extension at the right position of the sorted array of annotation-based nodes
264
+ * @param extensions - list of extensions in manifest
265
+ * @param sortedExtensionsArray - sorted array of annotation-based nodes, to be enhanced by extensions
266
+ * @param extensionDefinitionName - extension definition name, different in LR and OP
267
+ * @param logger - logger for error messages
268
+ * @param ignoreAnnotationAnchors - calculation should ignore anchors referenced to annotation nodes. Used when annotations sections are merged.
269
+ */
270
+ function addExtensionToArray(extensions, sortedExtensionsArray, extensionDefinitionName, templatePropertyName = 'template', logger, ignoreAnnotationAnchors = false) {
271
+ const annotationEntries = [...sortedExtensionsArray];
272
+ const localExtensions = { ...extensions };
273
+ const localExtensionsToSkip = getLocalExtensionsToSkip(localExtensions, annotationEntries);
274
+ if (!localExtensions) {
275
+ return [];
276
+ }
277
+ for (const extensionId of Object.keys(localExtensions)) {
278
+ const extension = localExtensions[extensionId];
279
+ if (localExtensionsToSkip?.includes(extensionId)) {
280
+ continue;
281
+ }
282
+ const newExtensionReference = {
283
+ $ref: `${utils_1.DEFINITION_LINK_PREFIX}${extensionDefinitionName}`,
284
+ description: getExtensionText(extension) || extensionId,
285
+ keys: [{ name: ux_specification_types_1.SchemaKeyName.key, value: `${extensionId}` }],
286
+ actionType: ux_specification_types_1.ActionType.Custom
287
+ };
288
+ if (typeof extension !== 'object') {
289
+ handleInvalidExtension(logger, extensionId, sortedExtensionsArray, newExtensionReference, localExtensions);
290
+ continue;
291
+ }
292
+ if (!(templatePropertyName in extension)) {
293
+ // Skip regular entries(columns, actions, etc.)
294
+ delete localExtensions[extensionId];
295
+ continue;
296
+ }
297
+ const anchor = getExtensionAnchor(extension, annotationEntries);
298
+ if (anchor) {
299
+ const targetIndex = getExtensionIndex(extension, extensions, sortedExtensionsArray, anchor, ignoreAnnotationAnchors);
300
+ if (targetIndex > -1) {
301
+ addExtensionToSortedArray(extension, sortedExtensionsArray, targetIndex, extensionId, newExtensionReference);
302
+ delete localExtensions[extensionId];
303
+ }
304
+ }
305
+ else {
306
+ // Empty array - no any anchor to reference to
307
+ sortedExtensionsArray.push([extensionId, newExtensionReference]);
308
+ delete localExtensions[extensionId];
309
+ }
310
+ }
311
+ if (Object.keys(localExtensions).length > 0) {
312
+ //Second loop is necessary for custom columns that refer to custom columns
313
+ adjustCustomExtReferringToCustomExt(localExtensions, extensionDefinitionName, sortedExtensionsArray, logger);
314
+ }
315
+ return sortedExtensionsArray;
316
+ }
317
+ exports.addExtensionToArray = addExtensionToArray;
318
+ /**
319
+ * Common function for enhancing the LineItems definition of app schema by custom columns
320
+ * @param appSchema - app-specific JSON schema
321
+ * @param v4Page - actual page in the manifest
322
+ * @param logger - logger for error messages
323
+ * @param customColumnDefinitionName - custom column definition name
324
+ * @param sectionId - identifier of the current object page section in schema
325
+ * @param sectionIdInManifest - identifier of the current object page section in manifest
326
+ */
327
+ function addCustomColumnDefinition(appSchema, v4Page, logger, customColumnDefinitionName = ux_specification_types_1.DefinitionName.CustomColumn, sectionId, sectionIdInManifest) {
328
+ const lineItemId = sectionId || ux_specification_types_1.DefinitionName.LineItems;
329
+ const lineItems = appSchema.definitions[lineItemId];
330
+ if (!lineItems) {
331
+ return;
332
+ }
333
+ //sort line items
334
+ let sortedColumnsArray = sortPropertiesRecords(lineItems);
335
+ const id = sectionIdInManifest ? sectionIdInManifest.replace(/::/g, '/') : `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
336
+ const columns = v4Page.options?.settings?.controlConfiguration?.[id]?.['columns'];
337
+ if (columns) {
338
+ sortedColumnsArray = addExtensionToArray(columns, sortedColumnsArray, customColumnDefinitionName, undefined, logger);
339
+ }
340
+ //Adjust propertyIndex
341
+ for (let index = 0; index < sortedColumnsArray.length; index++) {
342
+ sortedColumnsArray[index][1][ux_specification_types_1.SchemaTag.propertyIndex] = index;
343
+ }
344
+ const sortedColumnsAsObject = {};
345
+ sortedColumnsArray.forEach(([key, value]) => (sortedColumnsAsObject[key] = value));
346
+ appSchema.definitions[lineItemId].properties = sortedColumnsAsObject;
347
+ }
348
+ exports.addCustomColumnDefinition = addCustomColumnDefinition;
349
+ /**
350
+ * Determines the name of the action in schema
351
+ * @param {LineItemDataForSchema} data - data of the the LineItem
352
+ *
353
+ * @returns the name of the action
354
+ */
355
+ function determineActionDefinitionName(data) {
356
+ let actionDefinitionName;
357
+ if (data.lineItemId.startsWith(ux_specification_types_1.DefinitionName.LineItemsOfView)) {
358
+ actionDefinitionName = ux_specification_types_1.DefinitionName.ViewToolBarAction;
359
+ }
360
+ else if (data.lineItemId.startsWith(ux_specification_types_1.DefinitionName.LineItems)) {
361
+ actionDefinitionName = ux_specification_types_1.DefinitionName.ToolBarAction;
362
+ }
363
+ else {
364
+ actionDefinitionName = ux_specification_types_1.DefinitionName.ObjectPageToolBarAction;
365
+ }
366
+ return actionDefinitionName;
367
+ }
368
+ /**
369
+ * Adds the schema tags 'keys' and 'target' to the schema definition of an action
370
+ * @param {SchemaDefinition} actionDefinition - current action definition in the app schema
371
+ * @param {DataFieldForActionAbstractTypes} lineItemRecord - actual record of the line item collection
372
+ * @param {string} actionId - ID of the action, according to the lineItem definition
373
+ */
374
+ function addTargetAndKeysOfAction(actionDefinition, lineItemRecord, actionId) {
375
+ actionDefinition[ux_specification_types_1.SchemaTag.keys] = [];
376
+ if (lineItemRecord[ux_specification_types_1.SchemaKeyName.semanticObject]) {
377
+ actionDefinition[ux_specification_types_1.SchemaTag.keys].push({
378
+ name: ux_specification_types_1.SchemaKeyName.semanticObject,
379
+ value: lineItemRecord[ux_specification_types_1.SchemaKeyName.semanticObject]
380
+ });
381
+ }
382
+ const { key, ns } = (0, common_1.getActionKey)(actionId, true);
383
+ actionDefinition[ux_specification_types_1.SchemaTag.keys].push({ name: ux_specification_types_1.SchemaKeyName.action, value: key });
384
+ if (ns) {
385
+ actionDefinition[ux_specification_types_1.SchemaTag.target] = ns;
386
+ }
387
+ }
388
+ /**
389
+ * Processes a LineItem record of type DataFieldForAction during app schema generation
390
+ * @param {LineItemDataForSchema} data: structure of input data
391
+ * @param {Definition} actions - actions definition in schema, parent object
392
+ * @param {string} lineItemPath - annotation path to the line item
393
+ * @param {DataFieldForActionAbstractTypes} lineItemRecord - actual record of the line item collection
394
+ * @param {number} recordIndex - record index in the collection
395
+ * @param {boolean} createRef - defines whether the $ref attribute should be created for the action
396
+ */
397
+ function addActionRecordToSchema(data, actionsDefinition, lineItemPath, lineItemRecord, recordIndex, createRef = true) {
398
+ // Action but not inline action
399
+ if (lineItemRecord.Determining === true) {
400
+ return;
401
+ }
402
+ //no footer bar -> toolbar action
403
+ const actionDefinitionName = determineActionDefinitionName(data);
404
+ const description = (0, utils_1.getDataFieldDescription)(lineItemRecord, data.entityType);
405
+ const prefix = lineItemRecord.$Type.split(`${ux_specification_types_1.UIVOCABULARY}.`)[1];
406
+ const actionId = typeof lineItemRecord.Action === 'string' ? lineItemRecord.Action : lineItemRecord.Action['path'];
407
+ const propertyKey = (0, StableIdHelper_1.replaceSpecialChars)(actionId);
408
+ const actionDefinition = (actionsDefinition.properties[`${prefix}::${propertyKey}`] = {
409
+ description
410
+ });
411
+ if (createRef) {
412
+ actionDefinition.$ref = (0, common_1.getFacetDefinitionLink)(actionDefinitionName, (0, common_1.prepareRef)(propertyKey));
413
+ }
414
+ else {
415
+ actionDefinition.properties = {};
416
+ actionDefinition.type = 'object';
417
+ actionDefinition.isViewNode = true;
418
+ }
419
+ actionDefinition[ux_specification_types_1.SchemaTag.propertyIndex] = recordIndex;
420
+ actionDefinition[ux_specification_types_1.SchemaTag.dataType] = (0, common_1.determineDataType)(lineItemRecord);
421
+ //keys
422
+ addTargetAndKeysOfAction(actionDefinition, lineItemRecord, actionId);
423
+ actionDefinition[ux_specification_types_1.SchemaTag.annotationType] = lineItemRecord.$Type;
424
+ if (createRef) {
425
+ const action = (0, common_1.parseSchemaDefinition)(actionDefinitionName, (0, common_1.prepareRef)(propertyKey), data.appSchema);
426
+ action[ux_specification_types_1.SchemaTag.annotationPath] = `${lineItemPath}/${recordIndex}`;
427
+ }
428
+ else {
429
+ actionDefinition[ux_specification_types_1.SchemaTag.annotationPath] = `${lineItemPath}/${recordIndex}`;
430
+ }
431
+ }
432
+ /**
433
+ * Processes a LineItem record of type DataField during app schema generation
434
+ * @param {LineItemDataForSchema} data: structure of input data
435
+ * @param {object} lineItem - object comprising the line item information:
436
+ * { lineItemRecord, lineItemId, lineItemPath }
437
+ * @param {string} columnDefinitionName - Schema definition name for the column
438
+ * @param {number} recordIndex - record index in the collection
439
+ * @param {Definition | undefined} lineItemDefinition - line item definition
440
+ */
441
+ function addLineItemRecordToSchema(data, lineItem, columnDefinitionName, recordIndex, lineItemDefinition) {
442
+ const lineItemId = lineItem['lineItemId'];
443
+ const lineItemRecord = lineItem['lineItemRecord'];
444
+ if (lineItemRecord['Target']?.['value']) {
445
+ const regex = `@${(0, utils_1.findAlias)(ux_specification_types_1.UIVOCABULARY, data.oDataServiceAVT)}.`;
446
+ lineItemRecord['Target']['value'] = lineItemRecord['Target']['value'].replace(regex, '@');
447
+ }
448
+ const schemaKey = (0, StableIdHelper_1.getStableIdPartFromDataField)(lineItemRecord).replace(/\//g, '::');
449
+ if (schemaKey) {
450
+ let columnsDefinition = lineItemDefinition;
451
+ if (!columnsDefinition) {
452
+ columnsDefinition = data.appSchema.definitions[lineItemId];
453
+ }
454
+ const properties = columnsDefinition.properties;
455
+ const property = {
456
+ description: (0, utils_1.getDataFieldDescription)(lineItemRecord, data.entityType)
457
+ };
458
+ if (lineItemDefinition) {
459
+ property.properties = {};
460
+ property.type = 'object';
461
+ property.isViewNode = true;
462
+ }
463
+ else {
464
+ property.$ref = utils_1.DEFINITION_LINK_PREFIX + columnDefinitionName;
465
+ }
466
+ property[ux_specification_types_1.SchemaTag.annotationType] = lineItemRecord?.$Type;
467
+ property[ux_specification_types_1.SchemaTag.annotationPath] = `${lineItem['lineItemPath']}/${recordIndex}`;
468
+ property[ux_specification_types_1.SchemaTag.propertyIndex] = recordIndex;
469
+ property[ux_specification_types_1.SchemaTag.dataType] = (0, common_1.determineDataType)(lineItemRecord);
470
+ properties[schemaKey] = property;
471
+ (0, common_1.addKeyToDefinition)(lineItemRecord, properties, schemaKey);
472
+ }
473
+ }
474
+ /**
475
+ * Appends line item columns and actions to the app schema (for the list report, custom page or an object page section comprising a table)
476
+ * @param {LineItemDataForSchema} data: structure comprising
477
+ * - appSchema - the app specific schema that shall get enhanced
478
+ * - lineItemAnnotation - the UI.LineItem annotation, comprising all records
479
+ * - entityType - the entity type as part of the AVT ConvertedMetadata
480
+ * - oDataServiceAVT - complete service information, as returned by Annotation Vocabularies Tool
481
+ * - lineItemId - in case of OP the parameter must be passed to distinguish the OP tables;
482
+ * in case of LR or ALP 'LineItems' is passed.
483
+ * @param {Definition} actions - actions definition in schema, parent object
484
+ * @param {string} lineItemPath - annotation path to the line item
485
+ * @param {Definition | undefined} lineItemDefinition - line item definition
486
+ * @param {string} columnDefinitionName - line item definition name
487
+ */
488
+ function appendLineItemsToSchema(data, actions, lineItemPath, lineItemDefinition, columnDefinitionName = ux_specification_types_1.DefinitionName.TableColumn) {
489
+ if (!data.lineItemAnnotation) {
490
+ return;
491
+ }
492
+ let i = 0;
493
+ data.lineItemAnnotation.forEach((lineItemRecord) => {
494
+ if ((lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */ ||
495
+ lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* UIAnnotationTypes.DataFieldForIntentBasedNavigation */) &&
496
+ (lineItemRecord.Inline !== true || lineItemRecord.Determining === true)) {
497
+ addActionRecordToSchema(data, actions, lineItemPath, lineItemRecord, i, !lineItemDefinition);
498
+ }
499
+ else {
500
+ const lineItem = { lineItemRecord, lineItemId: data.lineItemId, lineItemPath };
501
+ const columnDefinition = lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */
502
+ ? `${columnDefinitionName}Action`
503
+ : columnDefinitionName;
504
+ addLineItemRecordToSchema(data, lineItem, columnDefinition, i, lineItemDefinition);
505
+ }
506
+ i++;
507
+ });
508
+ }
509
+ exports.appendLineItemsToSchema = appendLineItemsToSchema;
510
+ /**
511
+ * Adds the line item definition, columns and actions to the app schema (for the list report, custom page or an object page section comprising a table
512
+ * @param {LineItemDataForSchema} data: structure comprising
513
+ * - appSchema - the app specific schema that shall get enhanced
514
+ * - lineItemAnnotation - the UI.LineItem annotation, comprising all records
515
+ * - entityType - the entity type as part of the AVT ConvertedMetadata
516
+ * - oDataServiceAVT - complete service information, as returned by Annotation Vocabularies Tool
517
+ * - lineItemId - in case of OP the parameter must be passed to distinguish the OP tables;
518
+ * in case of LR or ALP 'LineItems' is passed.
519
+ * @param {string} columnDefinitionName - name of the column definition, i.e. TableColumn or ObjectPageTableColumn
520
+ * @param {string} customColumnDefinitionName - name of the custom column definition
521
+ * @param {string} customColumnDefinitionName - name of the custom action definition
522
+ */
523
+ function addLineItemsTypeToSchema(data, columnDefinitionName = ux_specification_types_1.DefinitionName.TableColumn, customColumnDefinitionName = ux_specification_types_1.DefinitionName.CustomColumn, customActionDefinitionName = ux_specification_types_1.DefinitionName.CustomTableAction) {
524
+ const { actions, lineItemPath } = (0, common_1.addCommonLineItemDefinitions)(data.appSchema, data.lineItemAnnotation, data.entityType, data.lineItemId, customColumnDefinitionName, customActionDefinitionName);
525
+ appendLineItemsToSchema(data, actions, lineItemPath, undefined, columnDefinitionName);
526
+ }
527
+ exports.addLineItemsTypeToSchema = addLineItemsTypeToSchema;
528
+ /**
529
+ * Adds an enum or value help to position > anchor of custom column
530
+ * @param appSchema - app specific JSON schema
531
+ * @param lineItemId - ID of the current line item in schema
532
+ * @param v4Page - current page in manifest
533
+ * @param positionName - ID of the definition of custom column position in schema
534
+ * @param sectionIdInManifest - identifier of the current object page section in manifest
535
+ */
536
+ function addFragmentEnumForAnchor(appSchema, lineItemId, v4Page, positionName = ux_specification_types_1.DefinitionName.Position, sectionIdInManifest) {
537
+ const columns = appSchema.definitions[lineItemId]?.properties;
538
+ const enumEntries = [];
539
+ if (columns) {
540
+ for (const key in columns) {
541
+ if (key !== 'custom') {
542
+ enumEntries.push(key);
543
+ }
544
+ }
545
+ }
546
+ const id = lineItemId !== ux_specification_types_1.DefinitionName.LineItems ? sectionIdInManifest : `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
547
+ const columnsInManifest = v4Page.options?.settings?.controlConfiguration?.[id]?.['columns'];
548
+ if (columnsInManifest) {
549
+ for (const key in columnsInManifest) {
550
+ if (enumEntries.indexOf(key) === -1) {
551
+ enumEntries.push(key);
552
+ }
553
+ }
554
+ }
555
+ if (enumEntries.length > 0) {
556
+ const anchor = appSchema.definitions[positionName].properties.anchor;
557
+ (0, common_1.addEnumToSchema)(enumEntries, anchor);
558
+ }
559
+ }
560
+ exports.addFragmentEnumForAnchor = addFragmentEnumForAnchor;
561
+ /**
562
+ * Adds an enum or value help to position > anchor of custom column
563
+ * @param appSchema - app specific JSON schema
564
+ * @param definitionId - definition key of actions
565
+ * @param positionName - target definition to update
566
+ */
567
+ function addEnumForActionAnchor(appSchema, definitionId, positionName = ux_specification_types_1.DefinitionName.CustomActionPosition) {
568
+ (0, common_1.addDescriptiveEnumDefinition)(appSchema, appSchema.definitions[definitionId], {
569
+ definition: positionName,
570
+ property: 'anchor'
571
+ }, {
572
+ resolveDefinition: true
573
+ });
574
+ }
575
+ exports.addEnumForActionAnchor = addEnumForActionAnchor;
576
+ /**
577
+ * Find the relevant V4 page under the routing targets of manifest,json
578
+ * @param pages - list of all pages in manifest
579
+ * @param pageName - search criterion: page name
580
+ * @param entitySet - search criterion: entity set object from AVT
581
+ * @param contextPath - search criterion: contextPath
582
+ * @returns the page definition in manifest (if found)
583
+ */
584
+ function findPageV4(pages, pageName, entitySet, contextPath) {
585
+ let v4Page;
586
+ for (const i in pages) {
587
+ if (((contextPath && pages[i].options?.settings?.contextPath === contextPath) ||
588
+ pages[i].options?.settings?.entitySet === entitySet?.name) &&
589
+ (pages[i].name === pageName ||
590
+ (pageName === ux_specification_types_1.v4.FE_TEMPLATE_V4_ALP && pages[i].name === ux_specification_types_1.v4.FE_TEMPLATE_V4_LIST_REPORT))) {
591
+ v4Page = pages[i];
592
+ break;
593
+ }
594
+ }
595
+ return v4Page;
596
+ }
597
+ exports.findPageV4 = findPageV4;
598
+ /**
599
+ * Depending on the template type, strip down the app schema so that only the relevant views are part of it
600
+ * @param {Definition} appSchema - app specific JSON schema, to be adjusted
601
+ * @param {GenerateAppSchemaParameters} generateParameters - object comprising all input parameters
602
+ * @returns the right definition name for the table in the schema
603
+ */
604
+ function alignSchemaWithTemplateType(appSchema, generateParameters) {
605
+ let tableDefinitionName;
606
+ const tableDefinition = appSchema.properties[ux_specification_types_1.PropertyName.table];
607
+ if (generateParameters.templateType === ux_specification_types_1.TemplateType.AnalyticalListPageV4) {
608
+ tableDefinitionName = ux_specification_types_1.DefinitionName.ALPTableView;
609
+ delete tableDefinition.anyOf;
610
+ tableDefinition.$ref = `${utils_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.DefinitionName.ALPTableView}`;
611
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.Table];
612
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.LRChartView];
613
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.LRTableView];
614
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.MultiTableModeV4];
615
+ }
616
+ else if (generateParameters.templateType === ux_specification_types_1.TemplateType.ListReportObjectPageV4) {
617
+ tableDefinitionName = ux_specification_types_1.DefinitionName.Table;
618
+ delete tableDefinition.anyOf;
619
+ tableDefinition.$ref = `${utils_1.DEFINITION_LINK_PREFIX}${ux_specification_types_1.DefinitionName.Table}`;
620
+ appSchema.definitions[tableDefinitionName].properties[ux_specification_types_1.PropertyName.annotationPath][ux_specification_types_1.SchemaTag.hidden] = true;
621
+ delete appSchema.definitions[ux_specification_types_1.DefinitionName.ALPTableView];
622
+ appSchema.properties[ux_specification_types_1.PropertyName.defaultPath][ux_specification_types_1.SchemaTag.hidden] = true;
623
+ }
624
+ return tableDefinitionName;
625
+ }
626
+ exports.alignSchemaWithTemplateType = alignSchemaWithTemplateType;
627
+ /**
628
+ * Common function for enhancing LineItems and FieldGroups definitions of app schema by custom action definitions
629
+ * @param appSchema - app-specific JSON schema
630
+ * @param v4Page - actual page in the manifest
631
+ * @param logger - logger for error messages
632
+ * @param customActionDefinitionName - definition name of custom action
633
+ * @param sectionId - identifier of the current object page section in schema
634
+ * @param sectionIdInManifest - identifier of the current object page section in manifest
635
+ */
636
+ function addCustomActionDefinition(appSchema, v4Page, logger, customActionDefinitionName = ux_specification_types_1.DefinitionName.CustomTableAction, sectionId = '', sectionIdInManifest = '') {
637
+ const definition = appSchema.definitions[sectionId];
638
+ if (!definition) {
639
+ return;
640
+ }
641
+ // Sort existing actions
642
+ let sortedActionsArray = sortPropertiesRecords(definition);
643
+ let configId;
644
+ if (sectionIdInManifest) {
645
+ if (customActionDefinitionName.indexOf(ux_specification_types_1.DefinitionName.CustomFormActionOP) !== -1) {
646
+ configId = sectionIdInManifest.replace(/::/g, '#');
647
+ }
648
+ else {
649
+ configId = sectionIdInManifest.replace(/::/g, '/');
650
+ }
651
+ }
652
+ else {
653
+ if (customActionDefinitionName === ux_specification_types_1.DefinitionName.CustomFormActionOP) {
654
+ configId = `@${"com.sap.vocabularies.UI.v1.FieldGroup" /* UIAnnotationTerms.FieldGroup */}`;
655
+ }
656
+ else {
657
+ configId = `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
658
+ }
659
+ }
660
+ const actions = v4Page.options?.settings?.controlConfiguration?.[configId]?.['actions'];
661
+ if (actions) {
662
+ sortedActionsArray = addExtensionToArray(actions, sortedActionsArray, customActionDefinitionName, 'press', logger);
663
+ }
664
+ // Adjust propertyIndex
665
+ if (sortedActionsArray) {
666
+ for (let index = 0; index < sortedActionsArray.length; index++) {
667
+ sortedActionsArray[index][1][ux_specification_types_1.SchemaTag.propertyIndex] = index;
668
+ }
669
+ const sortedActionsAsObject = {};
670
+ sortedActionsArray.forEach(([key, value]) => (sortedActionsAsObject[key] = value));
671
+ appSchema.definitions[sectionId].properties = sortedActionsAsObject;
672
+ }
673
+ }
674
+ exports.addCustomActionDefinition = addCustomActionDefinition;
675
+ /**
676
+ * Common function for enhancing header and footer definitions of app schema by custom action definitions
677
+ * @param appSchema - app-specific JSON schema
678
+ * @param v4Page - actual page in the manifest
679
+ * @param logger - logger for error messages
680
+ * @param customActionDefinitionName - definition name of custom action
681
+ * @param sectionId - identifier of the current object page section in schema
682
+ */
683
+ function addHeaderFooterCustomActionDefinition(appSchema, v4Page, logger, customActionDefinitionName = ux_specification_types_1.DefinitionName.CustomHeaderActionOP, sectionId = '') {
684
+ const definition = appSchema.definitions[sectionId];
685
+ if (!definition) {
686
+ return;
687
+ }
688
+ // Sort existing actions
689
+ let sortedActionsArray = sortPropertiesRecords(definition);
690
+ let actions;
691
+ if ([ux_specification_types_1.DefinitionName.CustomHeaderAction, ux_specification_types_1.DefinitionName.CustomHeaderActionOP].includes(customActionDefinitionName)) {
692
+ actions = v4Page.options?.settings?.content?.header?.['actions'];
693
+ }
694
+ else {
695
+ actions = v4Page.options?.settings?.content?.footer?.['actions'];
696
+ }
697
+ if (actions) {
698
+ sortedActionsArray = addExtensionToArray(actions, sortedActionsArray, customActionDefinitionName, 'press', logger);
699
+ }
700
+ // Adjust propertyIndex
701
+ const sortedActionsAsObject = {};
702
+ if (sortedActionsArray) {
703
+ for (let index = 0; index < sortedActionsArray.length; index++) {
704
+ sortedActionsArray[index][1][ux_specification_types_1.SchemaTag.propertyIndex] = index;
705
+ }
706
+ sortedActionsArray.forEach(([key, value]) => (sortedActionsAsObject[key] = value));
707
+ }
708
+ appSchema.definitions[sectionId].properties = sortedActionsAsObject;
709
+ }
710
+ exports.addHeaderFooterCustomActionDefinition = addHeaderFooterCustomActionDefinition;
711
+ /**
712
+ * Method returns page from manifest by passed page key.
713
+ * @param manifest Object from manifest.json.
714
+ * @param pageId Page id.
715
+ * @param logger Logger to report error of unexisting page.
716
+ * @returns Manifest's target page.
717
+ */
718
+ function getManifestPage(manifest, pageId, logger) {
719
+ const pages = (0, utils_1.getJSONPropertyByPath)(manifest, [
720
+ ux_specification_types_1.ManifestSection.ui5,
721
+ 'routing',
722
+ 'targets'
723
+ ]);
724
+ if (!pages) {
725
+ (0, __1.log)(logger, {
726
+ severity: "error" /* LogSeverity.Error */,
727
+ message: i18next_1.default.t('NOTARGETS'),
728
+ location: {
729
+ path: ux_specification_types_1.MANIFESTPATH,
730
+ range: [ux_specification_types_1.ManifestSection.ui5, 'routing']
731
+ }
732
+ });
733
+ return;
734
+ }
735
+ const page = (0, utils_1.getJSONPropertyByPath)(pages, [pageId]);
736
+ if (!page) {
737
+ (0, __1.log)(logger, {
738
+ severity: "error" /* LogSeverity.Error */,
739
+ message: i18next_1.default.t('NOROUTINGID', { routingId: pageId }),
740
+ location: {
741
+ path: ux_specification_types_1.MANIFESTPATH,
742
+ range: [ux_specification_types_1.ManifestSection.ui5, 'routing']
743
+ }
744
+ });
745
+ return;
746
+ }
747
+ return page;
748
+ }
749
+ exports.getManifestPage = getManifestPage;
750
+ /**
751
+ * Method finds custom view/section XML file for passed page.
752
+ * @param files All extension files.
753
+ * @param pageId Page id.
754
+ * @param manifest Object from manifest.json.
755
+ * @param xmlType XML file type - view or fragment.
756
+ * @param extensionName Extension namespace or path to extension name in page object.
757
+ * @returns Custom page's data containing XML file.
758
+ */
759
+ function getPageCustomExtensionFile(files, page, manifest, xmlType, extensionName) {
760
+ if (extensionName) {
761
+ const appId = manifest['sap.app']?.id || '';
762
+ const fileExtension = 'xml';
763
+ if (extensionName.startsWith(appId)) {
764
+ // Remove app id from extension name
765
+ extensionName = extensionName.replace(appId, '');
766
+ }
767
+ const fileParts = extensionName.split('.');
768
+ let baseName = fileParts.pop();
769
+ baseName = `${baseName}.${xmlType}.${fileExtension}`;
770
+ const extPath = (0, path_1.join)(...fileParts, baseName);
771
+ const file = files.find((file) => file.dataSourceUri.endsWith(extPath));
772
+ if (file) {
773
+ const settings = page.options?.settings;
774
+ return {
775
+ file,
776
+ relativeFilePath: extPath,
777
+ connection: {
778
+ contextPath: settings?.contextPath,
779
+ entitySet: settings?.entitySet
780
+ }
781
+ };
782
+ }
783
+ }
784
+ return undefined;
785
+ }
786
+ exports.getPageCustomExtensionFile = getPageCustomExtensionFile;
787
+ /**
788
+ * Method finds view XML file for passed page.
789
+ * @param files All view files.
790
+ * @param pageId Page id.
791
+ * @param manifest Object from manifest.json.
792
+ * @param logger Logger.
793
+ * @returns Custom page's data containing view XML file.
794
+ */
795
+ function getPageCustomViewFile(files, pageId, manifest, logger) {
796
+ const page = getManifestPage(manifest, pageId, logger);
797
+ const viewName = (0, utils_1.getJSONPropertyByPath)(page, ['options', 'settings', 'viewName']);
798
+ return page && typeof viewName === 'string'
799
+ ? getPageCustomExtensionFile(files, page, manifest, 'view', viewName)
800
+ : undefined;
801
+ }
802
+ exports.getPageCustomViewFile = getPageCustomViewFile;
803
+ /**
804
+ * Adds custom header or custom sub section definitions to app schema
805
+ * @param appSchema - app-specific JSON schema
806
+ * @param definition - sections definition
807
+ * @param v4Page - actual page in the manifest
808
+ * @param customSectionRef - value of custom section ref
809
+ * @param isMergedSections - are merged section used
810
+ * @param facetKey - facet key
811
+ * @param logger - logger for error messages
812
+ */
813
+ function addCustomSectionDefinition(appSchema, definition, v4Page, customSectionRef, isMergedSections, facetKey, logger) {
814
+ let sortedSectionsArray = sortPropertiesRecords(definition);
815
+ const annotationSectionsMap = new Map();
816
+ sortedSectionsArray = sortedSectionsArray.map((annotationSection) => {
817
+ const entry = (0, common_1.getEnumEntry)(appSchema, annotationSection[1], annotationSection[0], {
818
+ keyProperties: [ux_specification_types_1.SchemaKeyName.id],
819
+ descriptionAsFallback: true,
820
+ resolveDefinition: true
821
+ });
822
+ annotationSectionsMap.set(entry.const, annotationSection[0]);
823
+ return [entry.const, annotationSection[1]];
824
+ });
825
+ if (facetKey) {
826
+ // check for already defined section
827
+ const section = v4Page.options?.settings?.content?.body?.sections?.[facetKey];
828
+ if (section && 'subSections' in section) {
829
+ // add extension to subsection of section
830
+ sortedSectionsArray = addExtensionToArray(section.subSections, sortedSectionsArray, customSectionRef, 'template', logger, isMergedSections);
831
+ }
832
+ }
833
+ else {
834
+ // it is header section
835
+ const header = v4Page.options?.settings?.content?.header;
836
+ if (header && 'facets' in header) {
837
+ // add extension to header section
838
+ sortedSectionsArray = addExtensionToArray(header.facets, sortedSectionsArray, customSectionRef, 'template', logger, isMergedSections);
839
+ }
840
+ }
841
+ // Adjust propertyIndex
842
+ for (let index = 0; index < sortedSectionsArray.length; index++) {
843
+ sortedSectionsArray[index][1][ux_specification_types_1.SchemaTag.propertyIndex] = index;
844
+ }
845
+ const sortedActionsAsObject = {};
846
+ sortedSectionsArray.forEach(([key, value]) => {
847
+ key = annotationSectionsMap.get(key) || key;
848
+ sortedActionsAsObject[key] = value;
849
+ });
850
+ definition.properties = sortedActionsAsObject;
851
+ }
852
+ exports.addCustomSectionDefinition = addCustomSectionDefinition;
853
+ /**
854
+ * Method adds custom filter fields from manifest to schema properties.
855
+ * @param appSchema - app-specific JSON schema
856
+ * @param definition - filter fields definition
857
+ * @param v4Page - actual page in the manifest
858
+ */
859
+ function addCustomFilterFieldDefinition(appSchema, definition, v4Page) {
860
+ let sortedFilterFieldsArray = sortPropertiesRecords(definition);
861
+ const annotationSectionsMap = new Map();
862
+ sortedFilterFieldsArray = sortedFilterFieldsArray.map((annotationSection) => {
863
+ const entry = (0, common_1.getEnumEntry)(appSchema, annotationSection[1], annotationSection[0], {
864
+ keyProperties: [ux_specification_types_1.SchemaKeyName.value],
865
+ descriptionAsFallback: true,
866
+ resolveDefinition: true
867
+ });
868
+ annotationSectionsMap.set(entry.const, annotationSection[0]);
869
+ return [entry.const, annotationSection[1]];
870
+ });
871
+ // check for already defined section
872
+ const selectionFieldsEntry = v4Page.options?.settings?.controlConfiguration?.[`@${"com.sap.vocabularies.UI.v1.SelectionFields" /* UIAnnotationTerms.SelectionFields */}`];
873
+ if (typeof selectionFieldsEntry === 'object' && 'filterFields' in selectionFieldsEntry) {
874
+ // add extension to subsection of section
875
+ sortedFilterFieldsArray = addExtensionToArray(selectionFieldsEntry.filterFields, sortedFilterFieldsArray, ux_specification_types_1.DefinitionName.CustomFilterField, 'template');
876
+ }
877
+ // Adjust propertyIndex
878
+ for (let index = 0; index < sortedFilterFieldsArray.length; index++) {
879
+ sortedFilterFieldsArray[index][1][ux_specification_types_1.SchemaTag.propertyIndex] = index;
880
+ }
881
+ const sortedFilterFieldsAsObject = {};
882
+ sortedFilterFieldsArray.forEach(([key, value]) => {
883
+ key = annotationSectionsMap.get(key) || key;
884
+ sortedFilterFieldsAsObject[key] = value;
885
+ });
886
+ definition.properties = sortedFilterFieldsAsObject;
887
+ }
888
+ exports.addCustomFilterFieldDefinition = addCustomFilterFieldDefinition;
889
+ //# sourceMappingURL=utils.js.map