@sap/ux-specification 1.90.21 → 1.90.26

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 (301) hide show
  1. package/CHANGELOG.md +97 -1
  2. package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
  3. package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
  4. package/dist/documentation/v2/v2-ListReport.html +1 -1
  5. package/dist/documentation/v2/v2-ObjectPage.html +1 -1
  6. package/dist/documentation/v2/v2-OverviewPage.html +1 -1
  7. package/dist/documentation/v4/v4-ApplicationV4.html +1 -1
  8. package/dist/documentation/v4/v4-ListReport.html +1 -1
  9. package/dist/documentation/v4/v4-ObjectPage.html +1 -1
  10. package/dist/index-min.js +1 -1
  11. package/dist/schemas/v2/ApplicationV2.json +11 -11
  12. package/dist/schemas/v4/ApplicationV4.json +9 -5
  13. package/dist/schemas/v4/ListReportConfig.json +629 -183
  14. package/dist/schemas/v4/ObjectPageConfig.json +36 -0
  15. package/dist/scripts/extractDocu.js.map +1 -1
  16. package/dist/scripts/runDocu.js +10 -40
  17. package/dist/scripts/runDocu.js.map +1 -1
  18. package/dist/scripts/spec.js.map +1 -1
  19. package/dist/scripts/to-json-schema.js.map +1 -1
  20. package/dist/specification/v2/index-min.js +1 -1
  21. package/dist/specification/v4/index-min.js +1 -1
  22. package/dist/src/api.d.ts +2 -2
  23. package/dist/src/api.js +11 -11
  24. package/dist/src/api.js.map +1 -1
  25. package/dist/src/apiTypes.d.ts +16 -19
  26. package/dist/src/apiTypes.js +0 -2
  27. package/dist/src/apiTypes.js.map +1 -1
  28. package/dist/src/extensionLogger.d.ts +1 -1
  29. package/dist/src/project.d.ts +1 -1
  30. package/dist/src/project.js +11 -3
  31. package/dist/src/project.js.map +1 -1
  32. package/dist/src/specification/common/Application.d.ts +24 -4
  33. package/dist/src/specification/common/page.d.ts +1 -1
  34. package/dist/src/specification/common/webapp/manifest/Manifest.d.ts +6 -6
  35. package/dist/src/specification/common/webapp/manifest/sapUi5.d.ts +1 -1
  36. package/dist/src/specification/schemaAccess.d.ts +1 -1
  37. package/dist/src/specification/schemaAccess.js +1 -2
  38. package/dist/src/specification/schemaAccess.js.map +1 -1
  39. package/dist/src/specification/v2/ApplicationV2.d.ts +3 -17
  40. package/dist/src/specification/v2/controls/Facets.d.ts +1 -1
  41. package/dist/src/specification/v2/controls/Footer.d.ts +2 -2
  42. package/dist/src/specification/v2/controls/ObjectPageForm.d.ts +1 -1
  43. package/dist/src/specification/v2/controls/ObjectPageHeader.d.ts +1 -1
  44. package/dist/src/specification/v2/controls/ObjectPageSection.d.ts +2 -2
  45. package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +2 -2
  46. package/dist/src/specification/v2/controls/ObjectPageToolBar.d.ts +1 -1
  47. package/dist/src/specification/v2/controls/Table.d.ts +3 -3
  48. package/dist/src/specification/v2/controls/ToolBar.d.ts +1 -1
  49. package/dist/src/specification/v2/page.d.ts +1 -1
  50. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.d.ts +4 -4
  51. package/dist/src/specification/v2/pages/ListReportConfig.d.ts +2 -2
  52. package/dist/src/specification/v2/pages/ObjectPageConfig.d.ts +3 -3
  53. package/dist/src/specification/v2/pages/OverviewPageConfig.d.ts +3 -3
  54. package/dist/src/specification/v2/webapp/manifest/sapUi5.d.ts +2 -2
  55. package/dist/src/specification/v2/webapp/manifest/sapUi5.js +0 -1
  56. package/dist/src/specification/v2/webapp/manifest/sapUi5.js.map +1 -1
  57. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.d.ts +2 -2
  58. package/dist/src/specification/v4/ApplicationV4.d.ts +4 -14
  59. package/dist/src/specification/v4/controls/ObjectPageHeader.d.ts +1 -1
  60. package/dist/src/specification/v4/controls/ObjectPageSection.d.ts +24 -3
  61. package/dist/src/specification/v4/controls/ObjectPageSection.js.map +1 -1
  62. package/dist/src/specification/v4/controls/ObjectPageTable.d.ts +3 -3
  63. package/dist/src/specification/v4/controls/ObjectPageToolBar.d.ts +1 -1
  64. package/dist/src/specification/v4/controls/Table.d.ts +170 -25
  65. package/dist/src/specification/v4/controls/Table.js +6 -0
  66. package/dist/src/specification/v4/controls/Table.js.map +1 -1
  67. package/dist/src/specification/v4/controls/ToolBar.d.ts +26 -1
  68. package/dist/src/specification/v4/page.d.ts +2 -2
  69. package/dist/src/specification/v4/pages/ListReportConfig.d.ts +22 -3
  70. package/dist/src/specification/v4/pages/ObjectPageConfig.d.ts +2 -2
  71. package/dist/src/specification/v4/pages/ObjectPageConfig.js.map +1 -1
  72. package/dist/src/specification/v4/pages/index.d.ts +0 -1
  73. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.d.ts +77 -0
  74. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.js.map +1 -1
  75. package/dist/src/specification/v4/webapp/manifest/sapUi5.d.ts +12 -3
  76. package/dist/src/specification/v4/webapp/manifest/sapUi5.js.map +1 -1
  77. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.d.ts +21 -1
  78. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js.map +1 -1
  79. package/dist/src/sync/common/appProvider.d.ts +6 -5
  80. package/dist/src/sync/common/appProvider.js.map +1 -1
  81. package/dist/src/sync/common/decoration/control.d.ts +1 -1
  82. package/dist/src/sync/common/decoration/control.js +27 -22
  83. package/dist/src/sync/common/decoration/control.js.map +1 -1
  84. package/dist/src/sync/common/decoration/decorators.d.ts +1 -1
  85. package/dist/src/sync/common/decoration/decorators.js.map +1 -1
  86. package/dist/src/sync/common/decoration/factory.d.ts +3 -3
  87. package/dist/src/sync/common/decoration/flex.d.ts +3 -3
  88. package/dist/src/sync/common/flexUtils.d.ts +4 -4
  89. package/dist/src/sync/common/flexUtils.js.map +1 -1
  90. package/dist/src/sync/common/generate/objectPage.d.ts +9 -7
  91. package/dist/src/sync/common/generate/objectPage.js +69 -73
  92. package/dist/src/sync/common/generate/objectPage.js.map +1 -1
  93. package/dist/src/sync/common/generate/utils.d.ts +52 -19
  94. package/dist/src/sync/common/generate/utils.js +127 -70
  95. package/dist/src/sync/common/generate/utils.js.map +1 -1
  96. package/dist/src/sync/common/import/utils.d.ts +4 -3
  97. package/dist/src/sync/common/import/utils.js +3 -2
  98. package/dist/src/sync/common/import/utils.js.map +1 -1
  99. package/dist/src/sync/common/importProject.d.ts +4 -4
  100. package/dist/src/sync/common/importProject.js +33 -41
  101. package/dist/src/sync/common/importProject.js.map +1 -1
  102. package/dist/src/sync/common/types.d.ts +110 -13
  103. package/dist/src/sync/common/types.js +107 -7
  104. package/dist/src/sync/common/types.js.map +1 -1
  105. package/dist/src/sync/common/utils.d.ts +23 -15
  106. package/dist/src/sync/common/utils.js +138 -72
  107. package/dist/src/sync/common/utils.js.map +1 -1
  108. package/dist/src/sync/i18n.d.ts +1 -1
  109. package/dist/src/sync/v2/application.d.ts +2 -2
  110. package/dist/src/sync/v2/application.js.map +1 -1
  111. package/dist/src/sync/v2/export/controls/Action.d.ts +1 -1
  112. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts +1 -1
  113. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js +1 -1
  114. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +1 -1
  115. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +1 -1
  116. package/dist/src/sync/v2/export/controls/Card.d.ts +1 -1
  117. package/dist/src/sync/v2/export/controls/Field.d.ts +1 -1
  118. package/dist/src/sync/v2/export/controls/FilterBar.d.ts +2 -1
  119. package/dist/src/sync/v2/export/controls/FormAction.d.ts +1 -1
  120. package/dist/src/sync/v2/export/controls/FormAction.js.map +1 -1
  121. package/dist/src/sync/v2/export/controls/Fragment.d.ts +5 -11
  122. package/dist/src/sync/v2/export/controls/Fragment.js +110 -34
  123. package/dist/src/sync/v2/export/controls/Fragment.js.map +1 -1
  124. package/dist/src/sync/v2/export/controls/ObjectPageChart.d.ts +1 -1
  125. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts +3 -3
  126. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +1 -1
  127. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +1 -1
  128. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -1
  129. package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts +1 -1
  130. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +1 -1
  131. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -1
  132. package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts +1 -1
  133. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +2 -2
  134. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +1 -1
  135. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +1 -1
  136. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +3 -3
  137. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +1 -1
  138. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
  139. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +1 -1
  140. package/dist/src/sync/v2/export/controls/Table.d.ts +4 -2
  141. package/dist/src/sync/v2/export/controls/Table.js +89 -47
  142. package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
  143. package/dist/src/sync/v2/export/controls/TableColumn.d.ts +2 -2
  144. package/dist/src/sync/v2/export/controls/ToolBar.d.ts +1 -1
  145. package/dist/src/sync/v2/export/export.d.ts +3 -4
  146. package/dist/src/sync/v2/export/export.js +222 -160
  147. package/dist/src/sync/v2/export/export.js.map +1 -1
  148. package/dist/src/sync/v2/export/exportPage.d.ts +2 -2
  149. package/dist/src/sync/v2/export/exportPage.js +4 -11
  150. package/dist/src/sync/v2/export/exportPage.js.map +1 -1
  151. package/dist/src/sync/v2/export/factory.d.ts +2 -1
  152. package/dist/src/sync/v2/export/factory.js.map +1 -1
  153. package/dist/src/sync/v2/export/manifest.d.ts +23 -1
  154. package/dist/src/sync/v2/export/manifest.js +77 -35
  155. package/dist/src/sync/v2/export/manifest.js.map +1 -1
  156. package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts +4 -4
  157. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +1 -1
  158. package/dist/src/sync/v2/export/pages/ListReport.d.ts +2 -2
  159. package/dist/src/sync/v2/export/pages/ListReport.js.map +1 -1
  160. package/dist/src/sync/v2/export/pages/ObjectPage.d.ts +3 -3
  161. package/dist/src/sync/v2/export/pages/OverviewPage.d.ts +3 -3
  162. package/dist/src/sync/v2/export/pages/OverviewPage.js +20 -15
  163. package/dist/src/sync/v2/export/pages/OverviewPage.js.map +1 -1
  164. package/dist/src/sync/v2/export/view-controller-generator.d.ts +2 -2
  165. package/dist/src/sync/v2/export/view-controller-generator.js.map +1 -1
  166. package/dist/src/sync/v2/generate/analyticalListReport.d.ts +1 -1
  167. package/dist/src/sync/v2/generate/analyticalListReport.js +27 -36
  168. package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  169. package/dist/src/sync/v2/generate/generate.d.ts +2 -2
  170. package/dist/src/sync/v2/generate/generate.js +3 -0
  171. package/dist/src/sync/v2/generate/generate.js.map +1 -1
  172. package/dist/src/sync/v2/generate/listReport.d.ts +7 -4
  173. package/dist/src/sync/v2/generate/listReport.js +38 -36
  174. package/dist/src/sync/v2/generate/listReport.js.map +1 -1
  175. package/dist/src/sync/v2/generate/objectPage.d.ts +1 -1
  176. package/dist/src/sync/v2/generate/objectPage.js +102 -100
  177. package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
  178. package/dist/src/sync/v2/generate/overviewPage.d.ts +1 -1
  179. package/dist/src/sync/v2/generate/overviewPage.js.map +1 -1
  180. package/dist/src/sync/v2/generate/utils.d.ts +8 -7
  181. package/dist/src/sync/v2/generate/utils.js +73 -69
  182. package/dist/src/sync/v2/generate/utils.js.map +1 -1
  183. package/dist/src/sync/v2/import/app/appProvider.d.ts +13 -4
  184. package/dist/src/sync/v2/import/app/appProvider.js +36 -13
  185. package/dist/src/sync/v2/import/app/appProvider.js.map +1 -1
  186. package/dist/src/sync/v2/import/app/ovpProvider.d.ts +3 -3
  187. package/dist/src/sync/v2/import/app/ovpProvider.js +1 -1
  188. package/dist/src/sync/v2/import/app/ovpProvider.js.map +1 -1
  189. package/dist/src/sync/v2/import/common/index.d.ts +6 -5
  190. package/dist/src/sync/v2/import/common/index.js +9 -22
  191. package/dist/src/sync/v2/import/common/index.js.map +1 -1
  192. package/dist/src/sync/v2/import/controls/table.d.ts +1 -1
  193. package/dist/src/sync/v2/import/controls/table.js +1 -1
  194. package/dist/src/sync/v2/import/controls/table.js.map +1 -1
  195. package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts +2 -2
  196. package/dist/src/sync/v2/import/pages/analyticalListPage.js +1 -9
  197. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
  198. package/dist/src/sync/v2/import/pages/listReport.d.ts +2 -2
  199. package/dist/src/sync/v2/import/pages/objectPage.d.ts +1 -1
  200. package/dist/src/sync/v2/import/pages/objectPage.js +36 -44
  201. package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
  202. package/dist/src/sync/v2/import/pages/overviewPage.d.ts +2 -2
  203. package/dist/src/sync/v2/import/pages/overviewPage.js +1 -1
  204. package/dist/src/sync/v2/import/pages/overviewPage.js.map +1 -1
  205. package/dist/src/sync/v2/import/utils.d.ts +3 -2
  206. package/dist/src/sync/v2/import/utils.js +16 -2
  207. package/dist/src/sync/v2/import/utils.js.map +1 -1
  208. package/dist/src/sync/v2/types.d.ts +7 -7
  209. package/dist/src/sync/v4/application.d.ts +28 -12
  210. package/dist/src/sync/v4/application.js +85 -15
  211. package/dist/src/sync/v4/application.js.map +1 -1
  212. package/dist/src/sync/v4/export/controls/FilterBar.d.ts +1 -1
  213. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts +2 -1
  214. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +1 -1
  215. package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts +1 -1
  216. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +1 -1
  217. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +1 -1
  218. package/dist/src/sync/v4/export/controls/ObjectPageLayout.d.ts +1 -1
  219. package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts +1 -1
  220. package/dist/src/sync/v4/export/controls/ObjectPageTable.js +6 -18
  221. package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -1
  222. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +1 -1
  223. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +1 -1
  224. package/dist/src/sync/v4/export/controls/Table.d.ts +131 -10
  225. package/dist/src/sync/v4/export/controls/Table.js +477 -75
  226. package/dist/src/sync/v4/export/controls/Table.js.map +1 -1
  227. package/dist/src/sync/v4/export/controls/TableColumn.d.ts +52 -1
  228. package/dist/src/sync/v4/export/controls/TableColumn.js +248 -2
  229. package/dist/src/sync/v4/export/controls/TableColumn.js.map +1 -1
  230. package/dist/src/sync/v4/export/controls/ToolBar.d.ts +1 -1
  231. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +4 -1
  232. package/dist/src/sync/v4/export/controls/ToolBarAction.js +10 -0
  233. package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +1 -1
  234. package/dist/src/sync/v4/export/export.d.ts +2 -2
  235. package/dist/src/sync/v4/export/export.js +465 -96
  236. package/dist/src/sync/v4/export/export.js.map +1 -1
  237. package/dist/src/sync/v4/export/factory.d.ts +2 -1
  238. package/dist/src/sync/v4/export/factory.js.map +1 -1
  239. package/dist/src/sync/v4/export/flexibleColumnLayout.d.ts +1 -1
  240. package/dist/src/sync/v4/export/flexibleColumnLayout.js.map +1 -1
  241. package/dist/src/sync/v4/export/manifest.d.ts +1 -1
  242. package/dist/src/sync/v4/export/manifest.js.map +1 -1
  243. package/dist/src/sync/v4/export/pages/ListReport.d.ts +9 -3
  244. package/dist/src/sync/v4/export/pages/ListReport.js +49 -0
  245. package/dist/src/sync/v4/export/pages/ListReport.js.map +1 -1
  246. package/dist/src/sync/v4/export/pages/ObjectPage.d.ts +2 -2
  247. package/dist/src/sync/v4/export/pages/ObjectPage.js +3 -2
  248. package/dist/src/sync/v4/export/pages/ObjectPage.js.map +1 -1
  249. package/dist/src/sync/v4/export/pages/index.d.ts +0 -1
  250. package/dist/src/sync/v4/export/pages/index.js +0 -1
  251. package/dist/src/sync/v4/export/pages/index.js.map +1 -1
  252. package/dist/src/sync/v4/export/types.d.ts +8 -6
  253. package/dist/src/sync/v4/export/utils.d.ts +1 -1
  254. package/dist/src/sync/v4/generate/generate.d.ts +5 -4
  255. package/dist/src/sync/v4/generate/generate.js +6 -3
  256. package/dist/src/sync/v4/generate/generate.js.map +1 -1
  257. package/dist/src/sync/v4/generate/listReport.d.ts +2 -4
  258. package/dist/src/sync/v4/generate/listReport.js +450 -36
  259. package/dist/src/sync/v4/generate/listReport.js.map +1 -1
  260. package/dist/src/sync/v4/generate/objectPage.d.ts +1 -1
  261. package/dist/src/sync/v4/generate/objectPage.js +302 -144
  262. package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
  263. package/dist/src/sync/v4/import/app/appProvider.d.ts +6 -5
  264. package/dist/src/sync/v4/import/app/appProvider.js +78 -56
  265. package/dist/src/sync/v4/import/app/appProvider.js.map +1 -1
  266. package/dist/src/sync/v4/import/fragment.d.ts +2 -2
  267. package/dist/src/sync/v4/import/fragment.js.map +1 -1
  268. package/dist/src/sync/v4/import/index.d.ts +0 -1
  269. package/dist/src/sync/v4/import/index.js +0 -1
  270. package/dist/src/sync/v4/import/index.js.map +1 -1
  271. package/dist/src/sync/v4/import/pages/listReport.d.ts +8 -7
  272. package/dist/src/sync/v4/import/pages/listReport.js +120 -29
  273. package/dist/src/sync/v4/import/pages/listReport.js.map +1 -1
  274. package/dist/src/sync/v4/import/pages/objectPage.d.ts +15 -2
  275. package/dist/src/sync/v4/import/pages/objectPage.js +69 -40
  276. package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
  277. package/dist/src/sync/v4/import/utils.d.ts +4 -3
  278. package/dist/src/sync/v4/import/utils.js +2 -2
  279. package/dist/src/sync/v4/import/utils.js.map +1 -1
  280. package/dist/src/sync/v4/types.d.ts +4 -2
  281. package/dist/src/sync/v4/utils/StableIdHelper.js +13 -10
  282. package/dist/src/sync/v4/utils/StableIdHelper.js.map +1 -1
  283. package/dist/src/sync/v4/utils/utils.d.ts +18 -12
  284. package/dist/src/sync/v4/utils/utils.js +77 -30
  285. package/dist/src/sync/v4/utils/utils.js.map +1 -1
  286. package/dist/test/test-data/flexChange/v2/stta.prod.man/index.d.ts +1 -1
  287. package/dist/test/test-projects/index.d.ts +1 -1
  288. package/dist/test/test-utils/utils.d.ts +5 -4
  289. package/dist/test/unit/export/manifest.test.d.ts +1 -0
  290. package/package.json +13 -10
  291. package/dist/documentation/v4/v4-AnalyticalListPage.html +0 -49
  292. package/dist/schemas/v4/AnalyticalListPageConfig.json +0 -392
  293. package/dist/src/specification/v4/pages/AnalyticalListPageConfig.d.ts +0 -13
  294. package/dist/src/specification/v4/pages/AnalyticalListPageConfig.js +0 -3
  295. package/dist/src/specification/v4/pages/AnalyticalListPageConfig.js.map +0 -1
  296. package/dist/src/sync/v4/export/pages/AnalyticalListPage.d.ts +0 -8
  297. package/dist/src/sync/v4/export/pages/AnalyticalListPage.js +0 -38
  298. package/dist/src/sync/v4/export/pages/AnalyticalListPage.js.map +0 -1
  299. package/dist/src/sync/v4/import/pages/analyticalListPage.d.ts +0 -11
  300. package/dist/src/sync/v4/import/pages/analyticalListPage.js +0 -60
  301. package/dist/src/sync/v4/import/pages/analyticalListPage.js.map +0 -1
@@ -1,11 +1,13 @@
1
- import { SchemaType } from './specification/schemaAccess';
2
- import { FioriElementsVersion } from './specification/common/page';
3
- import { Page as PageV2 } from './specification/v2/page';
4
- import { Page as PageV4 } from './specification/v4/page';
5
- import { FileData, File, ExportResults } from './sync/common/types';
6
- import { ApplicationV2, ObjectPageConfig as ObjectPageConfigV2, ListReportConfig as ListReportConfigV2, OverviewPageConfig as OverviewPageConfigV2, AnalyticalListPageConfig as AnalyticalListPageConfigV2, Manifest as ManifestV2, FlexChangeLayer } from './v2';
7
- import { ApplicationV4, ObjectPageConfig as ObjectPageConfigV4, ListReportConfig as ListReportConfigV4, Manifest as ManifestV4 } from './v4';
8
- import { ConverterOutput } from '@sap-ux/vocabularies-types';
1
+ import type { Definition } from 'typescript-json-schema';
2
+ import type { SchemaType } from './specification/schemaAccess';
3
+ import type { FioriElementsVersion } from './specification/common/page';
4
+ import type { Page as PageV2 } from './specification/v2/page';
5
+ import type { Page as PageV4 } from './specification/v4/page';
6
+ import type { FileData, File, ExportResults } from './sync/common/types';
7
+ import type { ApplicationV2, ObjectPageConfig as ObjectPageConfigV2, ListReportConfig as ListReportConfigV2, OverviewPageConfig as OverviewPageConfigV2, AnalyticalListPageConfig as AnalyticalListPageConfigV2, Manifest as ManifestV2, FlexChangeLayer } from './v2';
8
+ import type { ApplicationV4, ObjectPageConfig as ObjectPageConfigV4, ListReportConfig as ListReportConfigV4, Manifest as ManifestV4 } from './v4';
9
+ import type { ConverterOutput } from '@sap-ux/vocabularies-types';
10
+ import type { TemplateType } from './sync/common';
9
11
  export declare type MessageMetadataType = (object | string | number)[];
10
12
  /**
11
13
  * Interface used to define a logger for the specificaton API
@@ -156,6 +158,10 @@ export declare type ExportListReportV4Parameters = {
156
158
  export declare type ExportListReportV4 = {
157
159
  [SchemaType.ListReport]: ExportListReportV4Parameters;
158
160
  };
161
+ export declare type ExportAnalyticalListPageV4Parameters = ExportListReportV4Parameters;
162
+ export declare type ExportAnalyticalListPageV4 = {
163
+ [SchemaType.AnalyticalListPage]: ExportAnalyticalListPageV4Parameters;
164
+ };
159
165
  export declare type ExportObjectPageV4Parameters = {
160
166
  appId: string;
161
167
  page: PageV4;
@@ -175,16 +181,6 @@ export declare type ExportAppV4 = {
175
181
  logger?: ExtensionLogger;
176
182
  };
177
183
  };
178
- export declare type ExportAnalyticalListPageV4Parameters = {
179
- appId: string;
180
- page: PageV4;
181
- manifest: object;
182
- jsonSchema: object;
183
- logger?: ExtensionLogger;
184
- };
185
- export declare type ExportAnalyticalListPageV4 = {
186
- [SchemaType.AnalyticalListPage]: ExportAnalyticalListPageV4Parameters;
187
- };
188
184
  export declare type ExportParametersV4Type = ExportListReportV4 | ExportObjectPageV4 | ExportAppV4 | ExportAnalyticalListPageV4;
189
185
  export interface ExportParametersV4 {
190
186
  [FioriElementsVersion.v4]: ExportParametersV4Type;
@@ -250,7 +246,7 @@ export declare type ImportListReportV4 = {
250
246
  };
251
247
  export declare type ImportObjectPageV4Parameters = {
252
248
  manifest: object;
253
- jsonSchema: object;
249
+ jsonSchema: Definition;
254
250
  routingId: string;
255
251
  logger?: ExtensionLogger;
256
252
  };
@@ -284,6 +280,7 @@ export interface ImportProjectParameters {
284
280
  logger?: ExtensionLogger;
285
281
  }
286
282
  export interface GenerateAppSchemaParameters {
283
+ templateType: TemplateType;
287
284
  manifest: ManifestV2 | ManifestV4;
288
285
  serviceAVT: ConverterOutput;
289
286
  fioriElementsVersion: FioriElementsVersion;
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const schemaAccess_1 = require("./specification/schemaAccess");
4
- const page_1 = require("./specification/common/page");
5
3
  //# sourceMappingURL=apiTypes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"apiTypes.js","sourceRoot":"","sources":["../../src/apiTypes.ts"],"names":[],"mappings":";;AAAA,+DAA0D;AAC1D,sDAAmE"}
1
+ {"version":3,"file":"apiTypes.js","sourceRoot":"","sources":["../../src/apiTypes.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { ExtensionLogger } from './apiTypes';
1
+ import type { ExtensionLogger } from './apiTypes';
2
2
  export declare const enum LogSeverity {
3
3
  Error = "error",
4
4
  Warning = "warning",
@@ -1,4 +1,4 @@
1
- import { FileData, Manifest } from './index';
1
+ import type { FileData, Manifest } from './index';
2
2
  export interface Project {
3
3
  root: string;
4
4
  name: string;
@@ -49,8 +49,7 @@ const resourceExists = async (path) => {
49
49
  });
50
50
  };
51
51
  const getManifest = async (path) => {
52
- const manifest = await readJSON(path_1.join(path, 'manifest.json'));
53
- return manifest;
52
+ return readJSON(path_1.join(path, 'manifest.json'));
54
53
  };
55
54
  const getChanges = async (webapp) => {
56
55
  const changes = [];
@@ -58,9 +57,18 @@ const getChanges = async (webapp) => {
58
57
  if (!(await resourceExists(changesDirectory))) {
59
58
  return changes;
60
59
  }
60
+ const extensions = [
61
+ '.change',
62
+ '.variant',
63
+ '.ctrl_variant',
64
+ '.ctrl_variant_change',
65
+ '.ctrl_variant_management_change'
66
+ ];
61
67
  const files = await exports.readDirectory(changesDirectory);
62
68
  for (const file of files) {
63
- changes.push(await readFile(path_1.join(webapp, 'changes', file)));
69
+ if (extensions.some((ext) => file.endsWith(ext))) {
70
+ changes.push(await readFile(path_1.join(changesDirectory, file)));
71
+ }
64
72
  }
65
73
  return changes;
66
74
  };
@@ -1 +1 @@
1
- {"version":3,"file":"project.js","sourceRoot":"","sources":["../../src/project.ts"],"names":[],"mappings":";;AAAA,+BAAsC;AACtC,2BAAmE;AAYnE,MAAM,QAAQ,GAAG,KAAK,EAAE,IAAY,EAAmB,EAAE;IACrD,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAQ,EAAE;QACzC,aAAU,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,CAAC,GAAG,EAAE,IAAI,EAAQ,EAAE;YACvD,IAAI,GAAG,EAAE;gBACL,MAAM,CAAC,GAAG,CAAC,CAAC;aACf;iBAAM;gBACH,OAAO,CAAC,IAAI,CAAC,CAAC;aACjB;QACL,CAAC,CA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,WAAW,GAAG,MAAM,cAAc,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;IAC/D,MAAM,OAAO,GAAG,MAAM,UAAU,CAAC,UAAU,CAAC,CAAC;IAC7C,MAAM,SAAS,GAAG,MAAM,YAAY,CAAC,UAAU,CAAC,CAAC;IACjD,OAAO;QACH,IAAI;QACJ,IAAI;QACJ,QAAQ;QACR,WAAW;QACX,OAAO;QACP,SAAS;KACZ,CAAC;AACN,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
- import { Target } from './page';
2
- import { AppSettings as CommonSettingsV2, Pages as PagesV2 } from '../v2';
3
- import { AppSettings as CommonSettingsV4, Pages as PagesV4 } from '../v4';
4
- import { FlexibleColumnLayoutType } from '../common/types';
1
+ import type { Target } from './page';
2
+ import type { AppSettings as CommonSettingsV2, Pages as PagesV2 } from '../v2';
3
+ import type { AppSettings as CommonSettingsV4, Pages as PagesV4 } from '../v4';
4
+ import type { FlexibleColumnLayoutType } from '../common/types';
5
5
  export interface Application {
6
6
  $schema?: string;
7
7
  id?: string;
@@ -14,3 +14,23 @@ export interface FlexibleColumnLayout {
14
14
  defaultTwoColumnLayoutType?: FlexibleColumnLayoutType;
15
15
  defaultThreeColumnLayoutType?: FlexibleColumnLayoutType;
16
16
  }
17
+ export interface CommonAppSettings {
18
+ /**
19
+ * To change the application header, in your project artifacts, change the i18n property file
20
+ * for your app under webapp/i18n/i18n.properties ->appTitle. Then, refer to the title as
21
+ * {{appTitle}} in the sap.app section of the manifest file.
22
+ * @i18nClassification TIT: Title of the application
23
+ */
24
+ title?: string;
25
+ /**
26
+ * To change the application header, in your project artifacts, change the i18n property file
27
+ * for your app under webapp/i18n/i18n.properties ->appDescription. Then, refer to the description
28
+ * as {{appDescription}} in the sap.app section of the manifest file.
29
+ * @i18nClassification TIT: Description of the application
30
+ */
31
+ description?: string;
32
+ /**
33
+ * To enable key user adaptation for the application, set the flexEnabled property to "true".
34
+ */
35
+ flexEnabled?: boolean;
36
+ }
@@ -1,4 +1,4 @@
1
- import { FlexibleColumnLayoutType, ManifestSettingsType } from '../common/types';
1
+ import type { FlexibleColumnLayoutType, ManifestSettingsType } from '../common/types';
2
2
  export declare enum PageType {
3
3
  ObjectPage = "ObjectPage",
4
4
  ListReport = "ListReport",
@@ -1,9 +1,9 @@
1
- import { SapUiAppV2 } from '../../../v2/webapp/manifest/sapUiPageV2';
2
- import { SapUi5 as SapUi5V2 } from '../../../v2/webapp/manifest/sapUi5';
3
- import { SapUi as SapUiV2 } from '../../../v2/webapp/manifest/sapUi';
4
- import { SapOvp } from './sapOvp';
5
- import { SapUi5V4 } from '../../../v4/webapp/manifest/sapUi5';
6
- import { ManifestSettingsType } from '../../types';
1
+ import type { SapUiAppV2 } from '../../../v2/webapp/manifest/sapUiPageV2';
2
+ import type { SapUi5 as SapUi5V2 } from '../../../v2/webapp/manifest/sapUi5';
3
+ import type { SapUi as SapUiV2 } from '../../../v2/webapp/manifest/sapUi';
4
+ import type { SapOvp } from './sapOvp';
5
+ import type { SapUi5V4 } from '../../../v4/webapp/manifest/sapUi5';
6
+ import type { ManifestSettingsType } from '../../types';
7
7
  export declare enum DataSourceType {
8
8
  OData = "OData",
9
9
  ODataAnnotation = "ODataAnnotation"
@@ -1,4 +1,4 @@
1
- import { FlexibleColumnLayoutType } from '../../../common/types';
1
+ import type { FlexibleColumnLayoutType } from '../../../common/types';
2
2
  export declare const FIORI_FCL_ROOT_VIEW_NAME = "sap.fe.templates.RootContainer.view.Fcl";
3
3
  export declare const FIORI_FCL_ROOT_ID = "appRootView";
4
4
  export declare enum ViewTypes {
@@ -1,4 +1,4 @@
1
- import { FioriElementsVersion } from './common';
1
+ import type { FioriElementsVersion } from './common';
2
2
  /**
3
3
  * Type for all available schema types, e.g. Application, ListReport, ObjectPage, ...
4
4
  */
@@ -53,8 +53,7 @@ const readJsonSchema = async (path) => {
53
53
  exports.getGenericSchema = async (version, schemaType) => {
54
54
  try {
55
55
  const path = getPathToGenericSchema(version, schemaType);
56
- const schema = await readJsonSchema(path);
57
- return schema;
56
+ return await readJsonSchema(path);
58
57
  }
59
58
  catch (error) {
60
59
  throw new Error(`No schema available for type: ${schemaType}, version: ${version}. Error was ${error.message}`);
@@ -1 +1 @@
1
- {"version":3,"file":"schemaAccess.js","sourceRoot":"","sources":["../../../src/specification/schemaAccess.ts"],"names":[],"mappings":";;AAAA,2BAA8B;AAC9B,+BAA4B;AAG5B;;GAEG;AACH,IAAY,UAMX;AAND,WAAY,UAAU;IAClB,yCAA2B,CAAA;IAC3B,uCAAyB,CAAA;IACzB,uCAAyB,CAAA;IACzB,2CAA6B,CAAA;IAC7B,uDAAyC,CAAA;AAC7C,CAAC,EANW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAMrB;AAED;;;;GAIG;AACH,MAAM,sBAAsB,GAAG,CAAC,OAA6B,EAAE,UAAsB,EAAU,EAAE;IAC7F,MAAM,QAAQ,GACV,UAAU,KAAK,UAAU,CAAC,WAAW;QACjC,CAAC,CAAC,UAAU,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,EAAE,GAAG,OAAO;QAC1D,CAAC,CAAC,UAAU,GAAG,aAAa,CAAC;IACrC,qCAAqC;IACrC,6DAA6D;IAC7D,aAAa;IACb,OAAO,OAAO,mBAAmB,KAAK,UAAU;QAC5C,CAAC,CAAC,WAAI,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC;QAC/C,CAAC,CAAC,WAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AACpE,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,cAAc,GAAG,KAAK,EAAE,IAAY,EAAiB,EAAE;IACzD,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAQ,EAAE;QACzC,aAAQ,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,CAAC,GAAG,EAAE,IAAI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D;IAC7D,aAAa;IACb,OAAO,OAAO,mBAAmB,KAAK,UAAU;QAC5C,CAAC,CAAC,WAAI,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC;QAC/C,CAAC,CAAC,WAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AACpE,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,cAAc,GAAG,KAAK,EAAE,IAAY,EAAiB,EAAE;IACzD,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAQ,EAAE;QACzC,aAAQ,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,CAAC,GAAG,EAAE,IAAI,EAAQ,EAAE;YACrD,IAAI,GAAG,EAAE;gBACL,MAAM,CAAC,GAAG,CAAC,CAAC;aACf;iBAAM;gBACH,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;aAC7B;QACL,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAEF;;;;GAIG;AACU,QAAA,gBAAgB,GAAG,KAAK,EAAE,OAA6B,EAAE,UAAsB,EAAiB,EAAE;IAC3G,IAAI;QACA,MAAM,IAAI,GAAG,sBAAsB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;QACzD,OAAO,MAAM,cAAc,CAAC,IAAI,CAAC,CAAC;KACrC;IAAC,OAAO,KAAK,EAAE;QACZ,MAAM,IAAI,KAAK,CAAC,iCAAiC,UAAU,cAAc,OAAO,eAAe,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;KACnH;AACL,CAAC,CAAC"}
@@ -1,21 +1,11 @@
1
- import { Application, FlexibleColumnLayout } from '../common';
2
- import { Pages } from './page';
1
+ import type { Application, CommonAppSettings, FlexibleColumnLayout } from '../common';
2
+ import type { Pages } from './page';
3
3
  export declare enum TableColumnVerticalAlignment {
4
4
  Top = "Top",
5
5
  Middle = "Middle",
6
6
  Bottom = "Bottom"
7
7
  }
8
- export interface AppSettings {
9
- /**
10
- * To change the application header, in your project artifacts, change the i18n property file for your app under webapp/i18n/i18n.properties ->appTitle. Then, refer to the title as {{appTitle}} in the sap.app section of the manifest file.
11
- * @i18nClassification TIT: Title of the application
12
- */
13
- title?: string;
14
- /**
15
- * To change the application header, in your project artifacts, change i18n property file for your app under webapp/i18n/i18n.properties ->appDescription. Then, refer to the description as {{appDescription}} in the sap.app section of the manifest file.
16
- * @i18nClassification TIT: Description of the application
17
- */
18
- description?: string;
8
+ export interface AppSettings extends CommonAppSettings {
19
9
  /**
20
10
  * If forceGlobalRefresh is not explicitly set to false, a global model refresh is triggered when the annotated side effects are executed.
21
11
  */
@@ -28,10 +18,6 @@ export interface AppSettings {
28
18
  * tableColumnVerticalAlignment provides an option for vertical alignment for the whole responsive table.
29
19
  */
30
20
  tableColumnVerticalAlignment?: TableColumnVerticalAlignment;
31
- /**
32
- * The flexEnabled indicates if the application supports UI adaptation.
33
- */
34
- flexEnabled?: boolean;
35
21
  }
36
22
  export interface ApplicationV2 extends Application {
37
23
  settings?: AppSettings;
@@ -1,4 +1,4 @@
1
- import { ObjectPageResponsiveTable, ObjectPageAnalyticalTable, ObjectPageGridTable, ObjectPageTreeTable } from './ObjectPageTable';
1
+ import type { ObjectPageResponsiveTable, ObjectPageAnalyticalTable, ObjectPageGridTable, ObjectPageTreeTable } from './ObjectPageTable';
2
2
  export declare type ObjectPageTableTypeV2 = ObjectPageResponsiveTable | ObjectPageAnalyticalTable | ObjectPageGridTable | ObjectPageTreeTable;
3
3
  /**
4
4
  * Table Facet
@@ -1,5 +1,5 @@
1
- import { ObjectPageFooterAction } from './Action';
2
- import { Actions } from '.';
1
+ import type { ObjectPageFooterAction } from './Action';
2
+ import type { Actions } from '.';
3
3
  interface ObjectPageFooterActions {
4
4
  [id: string]: ObjectPageFooterAction;
5
5
  }
@@ -1,4 +1,4 @@
1
- import { FormAction, Field } from '.';
1
+ import type { FormAction, Field } from '.';
2
2
  /**
3
3
  * Object Page Form
4
4
  * @isViewNode true
@@ -1,5 +1,5 @@
1
1
  /// <reference types="@sapui5/ts-types" />
2
- import { HeaderAction } from '.';
2
+ import type { HeaderAction } from '.';
3
3
  export interface GenericActions {
4
4
  [id: string]: HeaderAction;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { ObjectPageResponsiveTableWithMultiSelect, ObjectPageResponsiveTableWithInlineDelete, ObjectPageAnalyticalTable, ObjectPageGridTable, ObjectPageTreeTable, ObjectPageChart, ObjectPageForm } from './index';
2
- import { ViewTypes, SAPUI5_FRAGMENT_CLASS, SAPUI5_VIEW_CLASS } from '../../common/webapp/manifest/sapUi5';
1
+ import type { ObjectPageResponsiveTableWithMultiSelect, ObjectPageResponsiveTableWithInlineDelete, ObjectPageAnalyticalTable, ObjectPageGridTable, ObjectPageTreeTable, ObjectPageChart, ObjectPageForm } from './index';
2
+ import type { ViewTypes, SAPUI5_FRAGMENT_CLASS, SAPUI5_VIEW_CLASS } from '../../common/webapp/manifest/sapUi5';
3
3
  /**
4
4
  * Section
5
5
  * @isViewNode true
@@ -1,6 +1,6 @@
1
1
  /// <reference types="@sapui5/ts-types" />
2
- import { GenericColumns, TableTypeV2, QuickVariant } from './Table';
3
- import { ObjectPageToolBar } from './ObjectPageToolBar';
2
+ import type { GenericColumns, TableTypeV2, QuickVariant } from './Table';
3
+ import type { ObjectPageToolBar } from './ObjectPageToolBar';
4
4
  export interface QuickVariantSelectionOP {
5
5
  /**
6
6
  * To show the number of records available, set showCounts to true.
@@ -1,4 +1,4 @@
1
- import { ObjectPageToolBarAction } from '.';
1
+ import type { ObjectPageToolBarAction } from '.';
2
2
  /**
3
3
  * Actions
4
4
  * @isViewNode true
@@ -1,7 +1,7 @@
1
1
  /// <reference types="@sapui5/ts-types" />
2
- import { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
3
- import { ToolBar } from './ToolBar';
4
- import { Action } from './Action';
2
+ import type { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
3
+ import type { ToolBar } from './ToolBar';
4
+ import type { Action } from './Action';
5
5
  /**
6
6
  * Column
7
7
  * @isViewNode true
@@ -1,4 +1,4 @@
1
- import { Actions } from '.';
1
+ import type { Actions } from '.';
2
2
  /**
3
3
  * Toolbar
4
4
  * @isViewNode true
@@ -1,4 +1,4 @@
1
- import { PagesBase, PageBase, PageType } from '../common';
1
+ import type { PagesBase, PageBase, PageType } from '../common';
2
2
  export interface Page extends PageBase {
3
3
  pageType?: PageType;
4
4
  }
@@ -1,7 +1,7 @@
1
- import { AnalyticalListPageFilterBar, ALPAnalyticalTable, ALPGridTable, ALPResponsiveTable, GenericFooter } from '../controls';
2
- import { PageConfig } from '../../common/page';
3
- import { ChartSettings } from '../../../specification/v2/controls';
4
- import { KPISettings } from '../../../specification/v2/controls/AnalyticalListPageKPI';
1
+ import type { AnalyticalListPageFilterBar, ALPAnalyticalTable, ALPGridTable, ALPResponsiveTable, GenericFooter } from '../controls';
2
+ import type { PageConfig } from '../../common/page';
3
+ import type { ChartSettings } from '../../../specification/v2/controls';
4
+ import type { KPISettings } from '../../../specification/v2/controls/AnalyticalListPageKPI';
5
5
  export interface AnalyticalListPageConfig extends PageConfig {
6
6
  /**
7
7
  * Set fitContent to true to optimize the dynamic page responsiveness on small screens and behavior when the DynamicPageHeader is expanded or collapsed.
@@ -1,5 +1,5 @@
1
- import { TreeTable, ListReportFilterBar, GenericFooter, AnalyticalTable, GridTable, ResponsiveTableWithInlineDelete, ResponsiveTableWithMultiSelect } from '../controls';
2
- import { PageConfig } from '../../common/page';
1
+ import type { TreeTable, ListReportFilterBar, GenericFooter, AnalyticalTable, GridTable, ResponsiveTableWithInlineDelete, ResponsiveTableWithMultiSelect } from '../controls';
2
+ import type { PageConfig } from '../../common/page';
3
3
  export declare type ListReportTableTypeV2 = ResponsiveTableWithMultiSelect | ResponsiveTableWithInlineDelete | TreeTable | AnalyticalTable | GridTable;
4
4
  export interface ListReportConfig extends PageConfig {
5
5
  /**
@@ -1,6 +1,6 @@
1
- import { ObjectPageHeader, GenericSections, ObjectPageLayout, CustomSections, GlobalChartSettings, ObjectPageFooter } from '../controls';
2
- import { PageConfig } from '../../common/page';
3
- import { FlexibleColumnLayoutType } from '../../common/types';
1
+ import type { ObjectPageHeader, GenericSections, ObjectPageLayout, CustomSections, GlobalChartSettings, ObjectPageFooter } from '../controls';
2
+ import type { PageConfig } from '../../common/page';
3
+ import type { FlexibleColumnLayoutType } from '../../common/types';
4
4
  export interface ObjectPageConfig extends PageConfig {
5
5
  /**
6
6
  * Set showConfirmationOnDraftActivate to true to enable a confirmation before a save if you have pending warnings.
@@ -2,9 +2,9 @@
2
2
  * This file is is based on a json schema to typescript generator and adjusted to our needs.
3
3
  * JSON schema source: https://github.wdf.sap.corp/AppDescriptor/manifest/blob/master/schema/sap.ovp/subschema_sapovp.json
4
4
  */
5
- import { PageConfig } from '../../common/page';
6
- import { ListCard, AnalyticalCard, StackCard, LinklistCard, TableCard, CustomCard } from '../controls/Card';
7
- import { DateRange, DateRangeType, DefaultDateRange, FilterType } from '../controls/FilterBar';
5
+ import type { PageConfig } from '../../common/page';
6
+ import type { ListCard, AnalyticalCard, StackCard, LinklistCard, TableCard, CustomCard } from '../controls/Card';
7
+ import type { DateRange, DateRangeType, DefaultDateRange, FilterType } from '../controls/FilterBar';
8
8
  /**
9
9
  * @isViewNode false
10
10
  */
@@ -1,5 +1,5 @@
1
- import { SapUi5RootView, SapUi5OdataModel, SapUi5ResourceModel, SapUi5RoutingRoute, SAPUI5_FRAGMENT_CLASS, SAPUI5_VIEW_CLASS, ViewTypes } from '../../../common/webapp/manifest/sapUi5';
2
- import { ManifestSection } from '../../../v4';
1
+ import type { SapUi5RootView, SapUi5OdataModel, SapUi5ResourceModel, SapUi5RoutingRoute, SAPUI5_FRAGMENT_CLASS, SAPUI5_VIEW_CLASS, ViewTypes } from '../../../common/webapp/manifest/sapUi5';
2
+ import type { ManifestSection } from '../../../v4';
3
3
  export interface SapUi5 {
4
4
  flexEnabled?: boolean;
5
5
  resources?: object;
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const v4_1 = require("../../../v4");
4
3
  // SAPUI5 EXTENDS
5
4
  exports.SAPUI5_VIEW_EXTENSION = 'sap.ui.viewExtensions';
6
5
  exports.SAPUI5_CONTROLLER_EXTENSION = 'sap.ui.controllerExtensions';
@@ -1 +1 @@
1
- {"version":3,"file":"sapUi5.js","sourceRoot":"","sources":["../../../../../../src/specification/v2/webapp/manifest/sapUi5.ts"],"names":[],"mappings":";;AASA,oCAA8C;AAoD9C,iBAAiB;AACJ,QAAA,qBAAqB,GAAG,uBAAuB,CAAC;AAChD,QAAA,2BAA2B,GAAG,6BAA6B,CAAC;AAW5D,QAAA,iCAAiC,GAAG,uDAAuD,CAAC;AAC5F,QAAA,iCAAiC,GAAG,0DAA0D,CAAC;AAC/F,QAAA,0CAA0C,GACnD,0EAA0E,CAAC"}
1
+ {"version":3,"file":"sapUi5.js","sourceRoot":"","sources":["../../../../../../src/specification/v2/webapp/manifest/sapUi5.ts"],"names":[],"mappings":";;AA6DA,iBAAiB;AACJ,QAAA,qBAAqB,GAAG,uBAAuB,CAAC;AAChD,QAAA,2BAA2B,GAAG,6BAA6B,CAAC;AAW5D,QAAA,iCAAiC,GAAG,uDAAuD,CAAC;AAC5F,QAAA,iCAAiC,GAAG,0DAA0D,CAAC;AAC/F,QAAA,0CAA0C,GACnD,0EAA0E,CAAC"}
@@ -1,5 +1,5 @@
1
- import { SapUiGenericAppPageSettings } from '../../../common/page';
2
- import { FlexibleColumnLayout, FlexibleColumnLayoutType } from '../../../common';
1
+ import type { SapUiGenericAppPageSettings } from '../../../common/page';
2
+ import type { FlexibleColumnLayout, FlexibleColumnLayoutType } from '../../../common';
3
3
  export interface SapUiAppV2 {
4
4
  pages: SapUiAppPagesV2;
5
5
  _version?: string;
@@ -1,17 +1,7 @@
1
- import { Application, FlexibleColumnLayout, PageTypeV4, PageBase } from '../common';
2
- import { Pages, PageView } from './page';
3
- import { FlexibleColumnLayoutAggregations } from '.';
4
- export interface AppSettings {
5
- /**
6
- * To change the application header, in your project artifacts, change i18n property file for your app under webapp/i18n/i18n.properties ->appTitle. Then, refer to the title as {{appTitle}} in the sap.app section of the manifest file.
7
- * @i18nClassification TIT: Title of the application
8
- */
9
- title?: string;
10
- /**
11
- * To change the application header, in your project artifacts, change i18n property file for your app under webapp/i18n/i18n.properties ->appDescription. Then, refer to the description as {{appDescription}} in the sap.app section of the manifest file.
12
- * @i18nClassification TIT: Description of the application
13
- */
14
- description?: string;
1
+ import type { Application, CommonAppSettings, FlexibleColumnLayout, PageTypeV4, PageBase } from '../common';
2
+ import type { Pages, PageView } from './page';
3
+ import type { FlexibleColumnLayoutAggregations } from '.';
4
+ export interface AppSettings extends CommonAppSettings {
15
5
  /**
16
6
  * The flexible column layout allows users to see more details on the page, and to expand and collapse the screen areas. For the overview page, this layout is not relevant.
17
7
  */
@@ -1,4 +1,4 @@
1
- import { HeaderSections } from './ObjectPageHeaderSection';
1
+ import type { HeaderSections } from './ObjectPageHeaderSection';
2
2
  export declare type HeaderActionV4 = object;
3
3
  export interface GenericActions {
4
4
  [id: string]: HeaderActionV4;
@@ -1,5 +1,6 @@
1
- import { ObjectPageSectionTableV4 } from '../controls/ObjectPageTable';
2
- import { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
1
+ import type { ObjectPageSectionTableV4 } from '../controls/ObjectPageTable';
2
+ import type { SAPUI5_FRAGMENT_CLASS } from '../../common/webapp/manifest/sapUi5';
3
+ import type { ObjectPageToolBar } from './ObjectPageToolBar';
3
4
  export interface ObjectPageSectionForm {
4
5
  /**
5
6
  * Form
@@ -28,8 +29,28 @@ export interface ObjectPageSectionAddress {
28
29
  */
29
30
  address?: object;
30
31
  }
32
+ export interface ObjectPageChart {
33
+ /**
34
+ * Chart Toolbar
35
+ * @isViewNode true
36
+ */
37
+ toolBar?: ObjectPageToolBar;
38
+ }
39
+ export interface ObjectPageSectionChart {
40
+ /**
41
+ * Chart
42
+ * @isViewNode true
43
+ */
44
+ chart?: ObjectPageChart;
45
+ }
46
+ export interface ObjectPageSectionPresentationVariant {
47
+ /**
48
+ * Presentation Variant
49
+ */
50
+ [key: string]: ObjectPageSectionTableV4 | ObjectPageSectionChart;
51
+ }
31
52
  export interface GenericSections {
32
- [key: string]: ObjectPageSectionTableV4 | ObjectPageSectionForm | ObjectPageSectionDataPoint | ObjectPageSectionContact | ObjectPageSectionAddress;
53
+ [key: string]: ObjectPageSectionTableV4 | ObjectPageSectionForm | ObjectPageSectionDataPoint | ObjectPageSectionContact | ObjectPageSectionAddress | ObjectPageSectionPresentationVariant;
33
54
  }
34
55
  /**
35
56
  * Subsections
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectPageSection.js","sourceRoot":"","sources":["../../../../../src/specification/v4/controls/ObjectPageSection.ts"],"names":[],"mappings":";;AAoDA,IAAY,eAGX;AAHD,WAAY,eAAe;IACvB,kCAAe,CAAA;IACf,oCAAiB,CAAA;AACrB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,wBAEX;AAFD,WAAY,wBAAwB;IAChC,uCAAW,CAAA;AACf,CAAC,EAFW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAEnC"}
1
+ {"version":3,"file":"ObjectPageSection.js","sourceRoot":"","sources":["../../../../../src/specification/v4/controls/ObjectPageSection.ts"],"names":[],"mappings":";;AA6EA,IAAY,eAGX;AAHD,WAAY,eAAe;IACvB,kCAAe,CAAA;IACf,oCAAiB,CAAA;AACrB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,wBAEX;AAFD,WAAY,wBAAwB;IAChC,uCAAW,CAAA;AACf,CAAC,EAFW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAEnC"}
@@ -1,6 +1,6 @@
1
- import { AnnotationPathAsObject, TableCreationModeType, TableSettings } from '../controls';
2
- import { ObjectPageTableColumn as ObjectPageTableColumnIF, ObjectPageTableColumnAction } from '../webapp/manifest/ManifestSettings';
3
- import { ObjectPageToolBar } from './ObjectPageToolBar';
1
+ import type { AnnotationPathAsObject, TableCreationModeType, TableSettings } from '../controls';
2
+ import type { ObjectPageTableColumn as ObjectPageTableColumnIF, ObjectPageTableColumnAction } from '../webapp/manifest/ManifestSettings';
3
+ import type { ObjectPageToolBar } from './ObjectPageToolBar';
4
4
  /**
5
5
  * Table
6
6
  * @isViewNode true
@@ -1,4 +1,4 @@
1
- import { SelectType } from './ToolBar';
1
+ import type { SelectType } from './ToolBar';
2
2
  /**
3
3
  * Action
4
4
  * @isViewNode true