@sap/ux-specification 1.108.54 → 1.108.56

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 (497) hide show
  1. package/CHANGELOG.md +44 -1
  2. package/dist/documentation/runDocu-min.js +1 -1
  3. package/dist/documentation/runDocu-min.js.map +2 -2
  4. package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
  5. package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
  6. package/dist/documentation/v2/v2-ListReport.html +2 -2
  7. package/dist/documentation/v2/v2-ObjectPage.html +2 -2
  8. package/dist/documentation/v2/v2-OverviewPage.html +2 -2
  9. package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
  10. package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
  11. package/dist/documentation/v4/v4-FreestylePage.html +2 -2
  12. package/dist/documentation/v4/v4-ListReport.html +2 -2
  13. package/dist/documentation/v4/v4-ObjectPage.html +2 -2
  14. package/dist/index-min.js +83 -83
  15. package/dist/index-min.js.map +4 -4
  16. package/dist/schemas/v2/ApplicationV2.json +2 -1
  17. package/dist/schemas/v4/ApplicationV4.json +6 -1
  18. package/dist/specification/package.json +6 -6
  19. package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts +21 -0
  20. package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts.map +1 -1
  21. package/dist/specification/scripts/documentation/components/TreeDiagram.js +21 -0
  22. package/dist/specification/scripts/documentation/components/TreeDiagram.js.map +1 -1
  23. package/dist/specification/scripts/documentation/components/filter.d.ts +7 -0
  24. package/dist/specification/scripts/documentation/components/filter.d.ts.map +1 -1
  25. package/dist/specification/scripts/documentation/components/filter.js +30 -0
  26. package/dist/specification/scripts/documentation/components/filter.js.map +1 -1
  27. package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts +70 -0
  28. package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts.map +1 -1
  29. package/dist/specification/scripts/documentation/components/ui/TreeUI.js +70 -3
  30. package/dist/specification/scripts/documentation/components/ui/TreeUI.js.map +1 -1
  31. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts +17 -0
  32. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts.map +1 -1
  33. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js +23 -0
  34. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js.map +1 -1
  35. package/dist/specification/scripts/documentation/components/ui/search.d.ts +12 -0
  36. package/dist/specification/scripts/documentation/components/ui/search.d.ts.map +1 -1
  37. package/dist/specification/scripts/documentation/components/ui/search.js +78 -8
  38. package/dist/specification/scripts/documentation/components/ui/search.js.map +1 -1
  39. package/dist/specification/scripts/documentation/components/ui/toggle.d.ts +21 -0
  40. package/dist/specification/scripts/documentation/components/ui/toggle.d.ts.map +1 -1
  41. package/dist/specification/scripts/documentation/components/ui/toggle.js +23 -6
  42. package/dist/specification/scripts/documentation/components/ui/toggle.js.map +1 -1
  43. package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts +24 -0
  44. package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts.map +1 -1
  45. package/dist/specification/scripts/documentation/components/ui/tooltip.js +24 -3
  46. package/dist/specification/scripts/documentation/components/ui/tooltip.js.map +1 -1
  47. package/dist/specification/scripts/documentation/components/ui/utils.d.ts +36 -0
  48. package/dist/specification/scripts/documentation/components/ui/utils.d.ts.map +1 -1
  49. package/dist/specification/scripts/documentation/components/ui/utils.js +36 -4
  50. package/dist/specification/scripts/documentation/components/ui/utils.js.map +1 -1
  51. package/dist/specification/scripts/extractDocu.js +51 -7
  52. package/dist/specification/scripts/extractDocu.js.map +1 -1
  53. package/dist/specification/scripts/macros/api.d.ts +4 -1
  54. package/dist/specification/scripts/macros/api.d.ts.map +1 -1
  55. package/dist/specification/scripts/macros/api.js +9 -1
  56. package/dist/specification/scripts/macros/api.js.map +1 -1
  57. package/dist/specification/scripts/macros/cmd.d.ts +1 -0
  58. package/dist/specification/scripts/macros/cmd.d.ts.map +1 -1
  59. package/dist/specification/scripts/macros/cmd.js +1 -0
  60. package/dist/specification/scripts/macros/cmd.js.map +1 -1
  61. package/dist/specification/scripts/macros/corrections.d.ts +1 -0
  62. package/dist/specification/scripts/macros/corrections.d.ts.map +1 -1
  63. package/dist/specification/scripts/macros/corrections.js +5 -0
  64. package/dist/specification/scripts/macros/corrections.js.map +1 -1
  65. package/dist/specification/scripts/macros/i18n.d.ts +1 -0
  66. package/dist/specification/scripts/macros/i18n.d.ts.map +1 -1
  67. package/dist/specification/scripts/macros/i18n.js +1 -0
  68. package/dist/specification/scripts/macros/i18n.js.map +1 -1
  69. package/dist/specification/scripts/macros/schema.d.ts +1 -0
  70. package/dist/specification/scripts/macros/schema.d.ts.map +1 -1
  71. package/dist/specification/scripts/macros/schema.js +18 -5
  72. package/dist/specification/scripts/macros/schema.js.map +1 -1
  73. package/dist/specification/scripts/schema/to-json-schema.d.ts +9 -5
  74. package/dist/specification/scripts/schema/to-json-schema.d.ts.map +1 -1
  75. package/dist/specification/scripts/schema/to-json-schema.js +32 -5
  76. package/dist/specification/scripts/schema/to-json-schema.js.map +1 -1
  77. package/dist/specification/scripts/spec.js +19 -9
  78. package/dist/specification/scripts/spec.js.map +1 -1
  79. package/dist/specification/src/api.d.ts +20 -12
  80. package/dist/specification/src/api.d.ts.map +1 -1
  81. package/dist/specification/src/api.js +22 -14
  82. package/dist/specification/src/api.js.map +1 -1
  83. package/dist/specification/src/extensionLogger.d.ts +3 -2
  84. package/dist/specification/src/extensionLogger.d.ts.map +1 -1
  85. package/dist/specification/src/extensionLogger.js +3 -2
  86. package/dist/specification/src/extensionLogger.js.map +1 -1
  87. package/dist/specification/src/i18n/i18n.d.ts +5 -0
  88. package/dist/specification/src/i18n/i18n.d.ts.map +1 -1
  89. package/dist/specification/src/i18n/i18n.js +5 -0
  90. package/dist/specification/src/i18n/i18n.js.map +1 -1
  91. package/dist/specification/src/project.d.ts +3 -1
  92. package/dist/specification/src/project.d.ts.map +1 -1
  93. package/dist/specification/src/project.js +3 -1
  94. package/dist/specification/src/project.js.map +1 -1
  95. package/dist/specification/src/specification/schemaAccess.d.ts +6 -2
  96. package/dist/specification/src/specification/schemaAccess.d.ts.map +1 -1
  97. package/dist/specification/src/specification/schemaAccess.js +10 -4
  98. package/dist/specification/src/specification/schemaAccess.js.map +1 -1
  99. package/dist/specification/src/sync/common/appProvider.d.ts +17 -6
  100. package/dist/specification/src/sync/common/appProvider.d.ts.map +1 -1
  101. package/dist/specification/src/sync/common/appProvider.js +33 -17
  102. package/dist/specification/src/sync/common/appProvider.js.map +1 -1
  103. package/dist/specification/src/sync/common/decoration/control.d.ts +26 -10
  104. package/dist/specification/src/sync/common/decoration/control.d.ts.map +1 -1
  105. package/dist/specification/src/sync/common/decoration/control.js +32 -13
  106. package/dist/specification/src/sync/common/decoration/control.js.map +1 -1
  107. package/dist/specification/src/sync/common/decoration/decorators.d.ts +14 -0
  108. package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
  109. package/dist/specification/src/sync/common/decoration/decorators.js +14 -0
  110. package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
  111. package/dist/specification/src/sync/common/decoration/factory.d.ts +12 -3
  112. package/dist/specification/src/sync/common/decoration/factory.d.ts.map +1 -1
  113. package/dist/specification/src/sync/common/decoration/factory.js +6 -3
  114. package/dist/specification/src/sync/common/decoration/factory.js.map +1 -1
  115. package/dist/specification/src/sync/common/decoration/flex.d.ts +7 -0
  116. package/dist/specification/src/sync/common/decoration/flex.d.ts.map +1 -1
  117. package/dist/specification/src/sync/common/decoration/flex.js +7 -0
  118. package/dist/specification/src/sync/common/decoration/flex.js.map +1 -1
  119. package/dist/specification/src/sync/common/distTagEvaluator.d.ts +6 -3
  120. package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -1
  121. package/dist/specification/src/sync/common/distTagEvaluator.js +6 -3
  122. package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -1
  123. package/dist/specification/src/sync/common/flexUtils.d.ts +11 -10
  124. package/dist/specification/src/sync/common/flexUtils.d.ts.map +1 -1
  125. package/dist/specification/src/sync/common/flexUtils.js +11 -10
  126. package/dist/specification/src/sync/common/flexUtils.js.map +1 -1
  127. package/dist/specification/src/sync/common/generate/objectPage.d.ts +27 -18
  128. package/dist/specification/src/sync/common/generate/objectPage.d.ts.map +1 -1
  129. package/dist/specification/src/sync/common/generate/objectPage.js +54 -33
  130. package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -1
  131. package/dist/specification/src/sync/common/generate/utils.d.ts +65 -37
  132. package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -1
  133. package/dist/specification/src/sync/common/generate/utils.js +67 -37
  134. package/dist/specification/src/sync/common/generate/utils.js.map +1 -1
  135. package/dist/specification/src/sync/common/import/utils.d.ts +9 -3
  136. package/dist/specification/src/sync/common/import/utils.d.ts.map +1 -1
  137. package/dist/specification/src/sync/common/import/utils.js +9 -3
  138. package/dist/specification/src/sync/common/import/utils.js.map +1 -1
  139. package/dist/specification/src/sync/common/importProject.d.ts +17 -6
  140. package/dist/specification/src/sync/common/importProject.d.ts.map +1 -1
  141. package/dist/specification/src/sync/common/importProject.js +60 -30
  142. package/dist/specification/src/sync/common/importProject.js.map +1 -1
  143. package/dist/specification/src/sync/common/utils.d.ts +129 -53
  144. package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
  145. package/dist/specification/src/sync/common/utils.js +239 -89
  146. package/dist/specification/src/sync/common/utils.js.map +1 -1
  147. package/dist/specification/src/sync/i18n.d.ts +5 -0
  148. package/dist/specification/src/sync/i18n.d.ts.map +1 -1
  149. package/dist/specification/src/sync/i18n.js +5 -0
  150. package/dist/specification/src/sync/i18n.js.map +1 -1
  151. package/dist/specification/src/sync/v2/export/controls/Action.d.ts +3 -3
  152. package/dist/specification/src/sync/v2/export/controls/Action.js +15 -15
  153. package/dist/specification/src/sync/v2/export/controls/Card.d.ts +14 -0
  154. package/dist/specification/src/sync/v2/export/controls/Card.d.ts.map +1 -1
  155. package/dist/specification/src/sync/v2/export/controls/Card.js +20 -0
  156. package/dist/specification/src/sync/v2/export/controls/Card.js.map +1 -1
  157. package/dist/specification/src/sync/v2/export/controls/Field.js +5 -5
  158. package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts +13 -0
  159. package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts.map +1 -1
  160. package/dist/specification/src/sync/v2/export/controls/FilterBar.js +21 -0
  161. package/dist/specification/src/sync/v2/export/controls/FilterBar.js.map +1 -1
  162. package/dist/specification/src/sync/v2/export/controls/FormAction.js +4 -4
  163. package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts +10 -5
  164. package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts.map +1 -1
  165. package/dist/specification/src/sync/v2/export/controls/Fragment.js +62 -25
  166. package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -1
  167. package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.js +6 -6
  168. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.js +6 -6
  169. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +1 -1
  170. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js +20 -16
  171. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +1 -1
  172. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts.map +1 -1
  173. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js.map +1 -1
  174. package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.js +6 -6
  175. package/dist/specification/src/sync/v2/export/controls/Table.d.ts +24 -0
  176. package/dist/specification/src/sync/v2/export/controls/Table.d.ts.map +1 -1
  177. package/dist/specification/src/sync/v2/export/controls/Table.js +48 -3
  178. package/dist/specification/src/sync/v2/export/controls/Table.js.map +1 -1
  179. package/dist/specification/src/sync/v2/export/controls/TableColumn.js +10 -10
  180. package/dist/specification/src/sync/v2/export/export.d.ts +7 -3
  181. package/dist/specification/src/sync/v2/export/export.d.ts.map +1 -1
  182. package/dist/specification/src/sync/v2/export/export.js +133 -44
  183. package/dist/specification/src/sync/v2/export/export.js.map +1 -1
  184. package/dist/specification/src/sync/v2/export/exportPage.d.ts +18 -10
  185. package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -1
  186. package/dist/specification/src/sync/v2/export/exportPage.js +34 -20
  187. package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -1
  188. package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts +6 -3
  189. package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts.map +1 -1
  190. package/dist/specification/src/sync/v2/export/exportPageGeneric.js +27 -17
  191. package/dist/specification/src/sync/v2/export/exportPageGeneric.js.map +1 -1
  192. package/dist/specification/src/sync/v2/export/manifest.d.ts +5 -2
  193. package/dist/specification/src/sync/v2/export/manifest.d.ts.map +1 -1
  194. package/dist/specification/src/sync/v2/export/manifest.js +30 -6
  195. package/dist/specification/src/sync/v2/export/manifest.js.map +1 -1
  196. package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts +21 -0
  197. package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts.map +1 -1
  198. package/dist/specification/src/sync/v2/export/pages/OverviewPage.js +36 -2
  199. package/dist/specification/src/sync/v2/export/pages/OverviewPage.js.map +1 -1
  200. package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts +25 -15
  201. package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts.map +1 -1
  202. package/dist/specification/src/sync/v2/export/view-controller-generator.js +27 -16
  203. package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -1
  204. package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts +2 -0
  205. package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
  206. package/dist/specification/src/sync/v2/generate/analyticalListReport.js +8 -1
  207. package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  208. package/dist/specification/src/sync/v2/generate/generate.d.ts +5 -9
  209. package/dist/specification/src/sync/v2/generate/generate.d.ts.map +1 -1
  210. package/dist/specification/src/sync/v2/generate/generate.js +9 -12
  211. package/dist/specification/src/sync/v2/generate/generate.js.map +1 -1
  212. package/dist/specification/src/sync/v2/generate/listReport.d.ts +4 -2
  213. package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -1
  214. package/dist/specification/src/sync/v2/generate/listReport.js +26 -8
  215. package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -1
  216. package/dist/specification/src/sync/v2/generate/manifestPropertyUtils.d.ts +118 -0
  217. package/dist/specification/src/sync/v2/generate/manifestPropertyUtils.d.ts.map +1 -0
  218. package/dist/specification/src/sync/v2/generate/manifestPropertyUtils.js +151 -0
  219. package/dist/specification/src/sync/v2/generate/manifestPropertyUtils.js.map +1 -0
  220. package/dist/specification/src/sync/v2/generate/objectPage.d.ts +2 -2
  221. package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -1
  222. package/dist/specification/src/sync/v2/generate/objectPage.js +75 -43
  223. package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -1
  224. package/dist/specification/src/sync/v2/generate/overviewPage.d.ts +2 -2
  225. package/dist/specification/src/sync/v2/generate/overviewPage.d.ts.map +1 -1
  226. package/dist/specification/src/sync/v2/generate/overviewPage.js +2 -2
  227. package/dist/specification/src/sync/v2/generate/overviewPage.js.map +1 -1
  228. package/dist/specification/src/sync/v2/generate/schemaAdaptation.d.ts +1 -1
  229. package/dist/specification/src/sync/v2/generate/schemaAdaptation.js +8 -8
  230. package/dist/specification/src/sync/v2/generate/schemaAdaptation.js.map +1 -1
  231. package/dist/specification/src/sync/v2/generate/utils.d.ts +47 -36
  232. package/dist/specification/src/sync/v2/generate/utils.d.ts.map +1 -1
  233. package/dist/specification/src/sync/v2/generate/utils.js +92 -71
  234. package/dist/specification/src/sync/v2/generate/utils.js.map +1 -1
  235. package/dist/specification/src/sync/v2/import/app/appProvider.d.ts +7 -0
  236. package/dist/specification/src/sync/v2/import/app/appProvider.d.ts.map +1 -1
  237. package/dist/specification/src/sync/v2/import/app/appProvider.js +20 -4
  238. package/dist/specification/src/sync/v2/import/app/appProvider.js.map +1 -1
  239. package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts +4 -0
  240. package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts.map +1 -1
  241. package/dist/specification/src/sync/v2/import/app/ovpProvider.js +4 -0
  242. package/dist/specification/src/sync/v2/import/app/ovpProvider.js.map +1 -1
  243. package/dist/specification/src/sync/v2/import/common/index.d.ts +28 -15
  244. package/dist/specification/src/sync/v2/import/common/index.d.ts.map +1 -1
  245. package/dist/specification/src/sync/v2/import/common/index.js +91 -35
  246. package/dist/specification/src/sync/v2/import/common/index.js.map +1 -1
  247. package/dist/specification/src/sync/v2/import/controls/table.d.ts +6 -2
  248. package/dist/specification/src/sync/v2/import/controls/table.d.ts.map +1 -1
  249. package/dist/specification/src/sync/v2/import/controls/table.js +6 -2
  250. package/dist/specification/src/sync/v2/import/controls/table.js.map +1 -1
  251. package/dist/specification/src/sync/v2/import/importPage.d.ts +3 -2
  252. package/dist/specification/src/sync/v2/import/importPage.d.ts.map +1 -1
  253. package/dist/specification/src/sync/v2/import/importPage.js +4 -5
  254. package/dist/specification/src/sync/v2/import/importPage.js.map +1 -1
  255. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts +3 -3
  256. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -1
  257. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js +9 -10
  258. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
  259. package/dist/specification/src/sync/v2/import/pages/listReport.d.ts +8 -7
  260. package/dist/specification/src/sync/v2/import/pages/listReport.d.ts.map +1 -1
  261. package/dist/specification/src/sync/v2/import/pages/listReport.js +28 -24
  262. package/dist/specification/src/sync/v2/import/pages/listReport.js.map +1 -1
  263. package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts +3 -3
  264. package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts.map +1 -1
  265. package/dist/specification/src/sync/v2/import/pages/objectPage.js +107 -76
  266. package/dist/specification/src/sync/v2/import/pages/objectPage.js.map +1 -1
  267. package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts +2 -1
  268. package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts.map +1 -1
  269. package/dist/specification/src/sync/v2/import/pages/overviewPage.js +27 -12
  270. package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -1
  271. package/dist/specification/src/sync/v2/import/utils.d.ts +18 -9
  272. package/dist/specification/src/sync/v2/import/utils.d.ts.map +1 -1
  273. package/dist/specification/src/sync/v2/import/utils.js +27 -15
  274. package/dist/specification/src/sync/v2/import/utils.js.map +1 -1
  275. package/dist/specification/src/sync/v2/utils.d.ts +26 -1
  276. package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
  277. package/dist/specification/src/sync/v2/utils.js +47 -1
  278. package/dist/specification/src/sync/v2/utils.js.map +1 -1
  279. package/dist/specification/src/sync/v4/application.d.ts +7 -5
  280. package/dist/specification/src/sync/v4/application.d.ts.map +1 -1
  281. package/dist/specification/src/sync/v4/application.js +7 -5
  282. package/dist/specification/src/sync/v4/application.js.map +1 -1
  283. package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -1
  284. package/dist/specification/src/sync/v4/export/controls/FilterBar.js +8 -0
  285. package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -1
  286. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.d.ts.map +1 -1
  287. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.js.map +1 -1
  288. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -1
  289. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -1
  290. package/dist/specification/src/sync/v4/export/controls/Table.d.ts +14 -9
  291. package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
  292. package/dist/specification/src/sync/v4/export/controls/Table.js +44 -17
  293. package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -1
  294. package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -1
  295. package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -1
  296. package/dist/specification/src/sync/v4/export/export.d.ts +6 -4
  297. package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -1
  298. package/dist/specification/src/sync/v4/export/export.js +136 -58
  299. package/dist/specification/src/sync/v4/export/export.js.map +1 -1
  300. package/dist/specification/src/sync/v4/export/exportCustomColumn.d.ts +6 -4
  301. package/dist/specification/src/sync/v4/export/exportCustomColumn.d.ts.map +1 -1
  302. package/dist/specification/src/sync/v4/export/exportCustomColumn.js +6 -4
  303. package/dist/specification/src/sync/v4/export/exportCustomColumn.js.map +1 -1
  304. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts +3 -2
  305. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts.map +1 -1
  306. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js +13 -9
  307. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js.map +1 -1
  308. package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts +6 -4
  309. package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -1
  310. package/dist/specification/src/sync/v4/export/fpmCustomPage.js +9 -4
  311. package/dist/specification/src/sync/v4/export/fpmCustomPage.js.map +1 -1
  312. package/dist/specification/src/sync/v4/export/manifest.d.ts +6 -2
  313. package/dist/specification/src/sync/v4/export/manifest.d.ts.map +1 -1
  314. package/dist/specification/src/sync/v4/export/manifest.js +46 -17
  315. package/dist/specification/src/sync/v4/export/manifest.js.map +1 -1
  316. package/dist/specification/src/sync/v4/export/pages/ListReport.d.ts.map +1 -1
  317. package/dist/specification/src/sync/v4/export/pages/ListReport.js +4 -3
  318. package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -1
  319. package/dist/specification/src/sync/v4/export/utils.d.ts +6 -4
  320. package/dist/specification/src/sync/v4/export/utils.d.ts.map +1 -1
  321. package/dist/specification/src/sync/v4/export/utils.js +6 -4
  322. package/dist/specification/src/sync/v4/export/utils.js.map +1 -1
  323. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +1 -1
  324. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js +4 -0
  325. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -1
  326. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts +5 -3
  327. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +1 -1
  328. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js +14 -5
  329. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js.map +1 -1
  330. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts +1 -0
  331. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +1 -1
  332. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js +18 -0
  333. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js.map +1 -1
  334. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts +1 -1
  335. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts.map +1 -1
  336. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.js +2 -1
  337. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.js.map +1 -1
  338. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts +2 -0
  339. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +1 -1
  340. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js +2 -0
  341. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js.map +1 -1
  342. package/dist/specification/src/sync/v4/generate/freestylePage.d.ts +2 -2
  343. package/dist/specification/src/sync/v4/generate/freestylePage.js +2 -2
  344. package/dist/specification/src/sync/v4/generate/generate.d.ts +13 -11
  345. package/dist/specification/src/sync/v4/generate/generate.d.ts.map +1 -1
  346. package/dist/specification/src/sync/v4/generate/generate.js +13 -11
  347. package/dist/specification/src/sync/v4/generate/generate.js.map +1 -1
  348. package/dist/specification/src/sync/v4/generate/listReport.d.ts +10 -7
  349. package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -1
  350. package/dist/specification/src/sync/v4/generate/listReport.js +124 -78
  351. package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -1
  352. package/dist/specification/src/sync/v4/generate/objectPage.d.ts +1 -1
  353. package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
  354. package/dist/specification/src/sync/v4/generate/objectPage.js +206 -154
  355. package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
  356. package/dist/specification/src/sync/v4/import/app/appProvider.d.ts +18 -4
  357. package/dist/specification/src/sync/v4/import/app/appProvider.d.ts.map +1 -1
  358. package/dist/specification/src/sync/v4/import/app/appProvider.js +56 -24
  359. package/dist/specification/src/sync/v4/import/app/appProvider.js.map +1 -1
  360. package/dist/specification/src/sync/v4/import/fragment.d.ts +29 -4
  361. package/dist/specification/src/sync/v4/import/fragment.d.ts.map +1 -1
  362. package/dist/specification/src/sync/v4/import/fragment.js +46 -7
  363. package/dist/specification/src/sync/v4/import/fragment.js.map +1 -1
  364. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts +3 -2
  365. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +1 -1
  366. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js +7 -2
  367. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js.map +1 -1
  368. package/dist/specification/src/sync/v4/import/pages/listReport.d.ts +12 -10
  369. package/dist/specification/src/sync/v4/import/pages/listReport.d.ts.map +1 -1
  370. package/dist/specification/src/sync/v4/import/pages/listReport.js +70 -46
  371. package/dist/specification/src/sync/v4/import/pages/listReport.js.map +1 -1
  372. package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts +7 -6
  373. package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts.map +1 -1
  374. package/dist/specification/src/sync/v4/import/pages/objectPage.js +49 -36
  375. package/dist/specification/src/sync/v4/import/pages/objectPage.js.map +1 -1
  376. package/dist/specification/src/sync/v4/import/utils.d.ts +4 -2
  377. package/dist/specification/src/sync/v4/import/utils.d.ts.map +1 -1
  378. package/dist/specification/src/sync/v4/import/utils.js +4 -2
  379. package/dist/specification/src/sync/v4/import/utils.js.map +1 -1
  380. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.d.ts.map +1 -1
  381. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js +5 -2
  382. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js.map +1 -1
  383. package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts +12 -0
  384. package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts.map +1 -1
  385. package/dist/specification/src/sync/v4/utils/StableIdHelper.js +18 -0
  386. package/dist/specification/src/sync/v4/utils/StableIdHelper.js.map +1 -1
  387. package/dist/specification/src/sync/v4/utils/macros.d.ts +4 -0
  388. package/dist/specification/src/sync/v4/utils/macros.d.ts.map +1 -1
  389. package/dist/specification/src/sync/v4/utils/macros.js +17 -1
  390. package/dist/specification/src/sync/v4/utils/macros.js.map +1 -1
  391. package/dist/specification/src/sync/v4/utils/utils.d.ts +38 -20
  392. package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
  393. package/dist/specification/src/sync/v4/utils/utils.js +99 -52
  394. package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
  395. package/dist/types/src/apiTypes.d.ts +13 -0
  396. package/dist/types/src/apiTypes.d.ts.map +1 -1
  397. package/dist/types/src/apiTypes.js +18 -1
  398. package/dist/types/src/apiTypes.js.map +1 -1
  399. package/dist/types/src/common/Application.d.ts +6 -0
  400. package/dist/types/src/common/Application.d.ts.map +1 -1
  401. package/dist/types/src/common/Application.js +4 -0
  402. package/dist/types/src/common/Application.js.map +1 -1
  403. package/dist/types/src/common/types.d.ts +51 -2
  404. package/dist/types/src/common/types.d.ts.map +1 -1
  405. package/dist/types/src/common/types.js +2 -1
  406. package/dist/types/src/common/types.js.map +1 -1
  407. package/dist/types/src/common/webapp/manifest/sapUi5.d.ts +3 -2
  408. package/dist/types/src/common/webapp/manifest/sapUi5.d.ts.map +1 -1
  409. package/dist/types/src/common/webapp/manifest/sapUi5.js +3 -2
  410. package/dist/types/src/common/webapp/manifest/sapUi5.js.map +1 -1
  411. package/dist/types/src/v2/application.d.ts +1 -1
  412. package/dist/types/src/v2/controls/Action.d.ts +12 -0
  413. package/dist/types/src/v2/controls/Action.d.ts.map +1 -1
  414. package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts +1 -0
  415. package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts.map +1 -1
  416. package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts +1 -0
  417. package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts.map +1 -1
  418. package/dist/types/src/v2/controls/Card.d.ts +13 -0
  419. package/dist/types/src/v2/controls/Card.d.ts.map +1 -1
  420. package/dist/types/src/v2/controls/Card.js.map +1 -1
  421. package/dist/types/src/v2/controls/Field.d.ts +1 -0
  422. package/dist/types/src/v2/controls/Field.d.ts.map +1 -1
  423. package/dist/types/src/v2/controls/FilterBar.d.ts +6 -0
  424. package/dist/types/src/v2/controls/FilterBar.d.ts.map +1 -1
  425. package/dist/types/src/v2/controls/FilterBar.js.map +1 -1
  426. package/dist/types/src/v2/controls/Header.d.ts +1 -0
  427. package/dist/types/src/v2/controls/Header.d.ts.map +1 -1
  428. package/dist/types/src/v2/controls/ObjectPageChart.d.ts +1 -0
  429. package/dist/types/src/v2/controls/ObjectPageChart.d.ts.map +1 -1
  430. package/dist/types/src/v2/controls/ObjectPageFooter.d.ts +2 -0
  431. package/dist/types/src/v2/controls/ObjectPageFooter.d.ts.map +1 -1
  432. package/dist/types/src/v2/controls/ObjectPageForm.d.ts +1 -0
  433. package/dist/types/src/v2/controls/ObjectPageForm.d.ts.map +1 -1
  434. package/dist/types/src/v2/controls/ObjectPageHeader.d.ts +1 -0
  435. package/dist/types/src/v2/controls/ObjectPageHeader.d.ts.map +1 -1
  436. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts +3 -0
  437. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts.map +1 -1
  438. package/dist/types/src/v2/controls/ObjectPageLayout.d.ts +1 -0
  439. package/dist/types/src/v2/controls/ObjectPageLayout.d.ts.map +1 -1
  440. package/dist/types/src/v2/controls/ObjectPageSection.d.ts +13 -0
  441. package/dist/types/src/v2/controls/ObjectPageSection.d.ts.map +1 -1
  442. package/dist/types/src/v2/controls/ObjectPageSection.js.map +1 -1
  443. package/dist/types/src/v2/controls/ObjectPageTable.d.ts +6 -0
  444. package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -1
  445. package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts +2 -0
  446. package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts.map +1 -1
  447. package/dist/types/src/v2/controls/Table.d.ts +28 -0
  448. package/dist/types/src/v2/controls/Table.d.ts.map +1 -1
  449. package/dist/types/src/v2/controls/Table.js.map +1 -1
  450. package/dist/types/src/v2/controls/ToolBar.d.ts +1 -0
  451. package/dist/types/src/v2/controls/ToolBar.d.ts.map +1 -1
  452. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts +1 -0
  453. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts.map +1 -1
  454. package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts +4 -0
  455. package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts.map +1 -1
  456. package/dist/types/src/v4/application.d.ts +1 -1
  457. package/dist/types/src/v4/controls/CustomAction.d.ts +10 -0
  458. package/dist/types/src/v4/controls/CustomAction.d.ts.map +1 -1
  459. package/dist/types/src/v4/controls/FilterBar.d.ts +11 -0
  460. package/dist/types/src/v4/controls/FilterBar.d.ts.map +1 -1
  461. package/dist/types/src/v4/controls/FilterBar.js.map +1 -1
  462. package/dist/types/src/v4/controls/Header.d.ts +1 -0
  463. package/dist/types/src/v4/controls/Header.d.ts.map +1 -1
  464. package/dist/types/src/v4/controls/ObjectPageFooter.d.ts +1 -0
  465. package/dist/types/src/v4/controls/ObjectPageFooter.d.ts.map +1 -1
  466. package/dist/types/src/v4/controls/ObjectPageForm.d.ts +1 -0
  467. package/dist/types/src/v4/controls/ObjectPageForm.d.ts.map +1 -1
  468. package/dist/types/src/v4/controls/ObjectPageHeader.d.ts +2 -0
  469. package/dist/types/src/v4/controls/ObjectPageHeader.d.ts.map +1 -1
  470. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts +6 -0
  471. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -1
  472. package/dist/types/src/v4/controls/ObjectPageLayout.d.ts +1 -0
  473. package/dist/types/src/v4/controls/ObjectPageLayout.d.ts.map +1 -1
  474. package/dist/types/src/v4/controls/ObjectPageSection.d.ts +17 -0
  475. package/dist/types/src/v4/controls/ObjectPageSection.d.ts.map +1 -1
  476. package/dist/types/src/v4/controls/ObjectPageSection.js.map +1 -1
  477. package/dist/types/src/v4/controls/ObjectPageTable.d.ts +5 -0
  478. package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -1
  479. package/dist/types/src/v4/controls/ObjectPageTable.js.map +1 -1
  480. package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts +4 -0
  481. package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts.map +1 -1
  482. package/dist/types/src/v4/controls/Table.d.ts +15 -0
  483. package/dist/types/src/v4/controls/Table.d.ts.map +1 -1
  484. package/dist/types/src/v4/controls/ToolBar.d.ts +9 -0
  485. package/dist/types/src/v4/controls/ToolBar.d.ts.map +1 -1
  486. package/dist/types/src/v4/page.d.ts +4 -0
  487. package/dist/types/src/v4/page.d.ts.map +1 -1
  488. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts +22 -0
  489. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts.map +1 -1
  490. package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts +3 -0
  491. package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts.map +1 -1
  492. package/dist/types/src/v4/webapp/manifest/sapUi5.js.map +1 -1
  493. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts +1 -1
  494. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts.map +1 -1
  495. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js +2 -2
  496. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js.map +1 -1
  497. package/package.json +7 -7
@@ -9,7 +9,6 @@ import type { ExtensionLogger, FileData, Manifest } from '@sap/ux-specification-
9
9
  * @param {object} manifest - manifest.json of the app
10
10
  * @param {FileData[]} [fragments] - Array with XML fragments.
11
11
  * @param {ExtensionLogger} logger - Logger class for logging messages
12
- *
13
12
  * @returns the app specific JSON schema
14
13
  */
15
14
  export declare function generateObjectPageInterfaceV2(genericSchema: object, entitySet: string, annotations: FileData[], manifest: Manifest, fragments?: FileData[], logger?: ExtensionLogger): object;
@@ -23,7 +22,6 @@ export declare function generateObjectPageInterfaceV2(genericSchema: object, ent
23
22
  * @param manifest - manifest.json of the app
24
23
  * @param {FileData[]} fragments - list of fragment files and their content
25
24
  * @param {ExtensionLogger} logger - Logger class for logging messages
26
- *
27
25
  * @returns the app specific JSON schema
28
26
  */
29
27
  export declare function generateListReportInterfaceV2(genericSchema: object, entitySet: string, annotations: FileData[], manifest: Manifest, fragments?: FileData[], logger?: ExtensionLogger): object;
@@ -32,21 +30,19 @@ export declare function generateListReportInterfaceV2(genericSchema: object, ent
32
30
  * Generic types are replaced by information from the app specific annotations.
33
31
  *
34
32
  * @param genericSchema - generic JSON schema of a list report
35
- * @param entityType - the base entity type of the given page
33
+ * @param entitySet - the base entity set name of the given page
36
34
  * @param annotations - list of all annotation files (file content plus URI as identifier)
37
35
  * @param manifest - manifest.json of the app
38
- * @param {FileData[]} fragments - list of fragment files and their content
39
- * @param {ExtensionLogger} logger - Logger class for logging messages
40
- * @param {string} appId - application ID
41
- *
36
+ * @param fragments - list of fragment files and their content
37
+ * @param logger - Logger class for logging messages
42
38
  * @returns the app specific JSON schema
43
39
  */
44
40
  export declare function generateAnalyticalListPageInterfaceV2(genericSchema: object, entitySet: string, annotations: FileData[], manifest: Manifest, fragments?: FileData[], logger?: ExtensionLogger): object;
45
41
  /**
46
- * Generates the app specific schema of an overview page
42
+ * Generates the app specific schema of an overview page.
43
+ *
47
44
  * @param genericSchema - file content of the generic schema
48
45
  * @param manifest - manifest.json of the app
49
- *
50
46
  * @returns the generic schema, as equivalent to the app schema
51
47
  */
52
48
  export declare function generateOVPInterfaceV2(genericSchema: object, manifest: Manifest): object;
@@ -1 +1 @@
1
- {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v2/generate/generate.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAA+B,QAAQ,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AA8CpH;;;;;;;;;;;;GAYG;AACH,wBAAgB,6BAA6B,CACzC,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,QAAQ,EAAE,EACvB,QAAQ,EAAE,QAAQ,EAClB,SAAS,CAAC,EAAE,QAAQ,EAAE,EACtB,MAAM,CAAC,EAAE,eAAe,GACzB,MAAM,CAUR;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,6BAA6B,CACzC,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,QAAQ,EAAE,EAC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AAQ,EAAE,QAAQ,EAClB,SAAS,CAAC,EAAE,QAAQ,EAAE,EACtB,MAAM,CAAC,EAAE,eAAe,GACzB,MAAM,CAUR;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAExF"}
@@ -18,14 +18,15 @@ const i18next_1 = __importDefault(require("i18next"));
18
18
  const extensionLogger_1 = require("../../../extensionLogger");
19
19
  const i18n_1 = require("../../../i18n/i18n");
20
20
  /**
21
- * Common logic for LR and OP to prepare the generation
21
+ * Common logic for LR and OP to prepare the generation.
22
+ *
22
23
  * @param {FileData[]} annotations - list of all annotation files (file content plus URI as identifier)
23
24
  * @param {ExtensionLogger} logger - Logger class for logging messages
24
25
  * @param {object} manifest - manifest.json of the app
25
26
  * @param {FileData[]} [fragments] - Array with XML fragments.
26
27
  * @param {string} entitySet - the base entity set name of the given page
27
- *
28
- * @returns the filled intrface structure with all information for the schema generation
28
+ * @param templateType - the type of the template used for schema generation
29
+ * @returns the filled interface structure with all information for the schema generation
29
30
  */
30
31
  function prepareGenerationV2(annotations, logger, manifest, fragments, entitySet, templateType) {
31
32
  (0, i18n_1.initI18n)();
@@ -57,7 +58,6 @@ function prepareGenerationV2(annotations, logger, manifest, fragments, entitySet
57
58
  * @param {object} manifest - manifest.json of the app
58
59
  * @param {FileData[]} [fragments] - Array with XML fragments.
59
60
  * @param {ExtensionLogger} logger - Logger class for logging messages
60
- *
61
61
  * @returns the app specific JSON schema
62
62
  */
63
63
  function generateObjectPageInterfaceV2(genericSchema, entitySet, annotations, manifest, fragments, logger) {
@@ -74,7 +74,6 @@ function generateObjectPageInterfaceV2(genericSchema, entitySet, annotations, ma
74
74
  * @param manifest - manifest.json of the app
75
75
  * @param {FileData[]} fragments - list of fragment files and their content
76
76
  * @param {ExtensionLogger} logger - Logger class for logging messages
77
- *
78
77
  * @returns the app specific JSON schema
79
78
  */
80
79
  function generateListReportInterfaceV2(genericSchema, entitySet, annotations, manifest, fragments, logger) {
@@ -86,13 +85,11 @@ function generateListReportInterfaceV2(genericSchema, entitySet, annotations, ma
86
85
  * Generic types are replaced by information from the app specific annotations.
87
86
  *
88
87
  * @param genericSchema - generic JSON schema of a list report
89
- * @param entityType - the base entity type of the given page
88
+ * @param entitySet - the base entity set name of the given page
90
89
  * @param annotations - list of all annotation files (file content plus URI as identifier)
91
90
  * @param manifest - manifest.json of the app
92
- * @param {FileData[]} fragments - list of fragment files and their content
93
- * @param {ExtensionLogger} logger - Logger class for logging messages
94
- * @param {string} appId - application ID
95
- *
91
+ * @param fragments - list of fragment files and their content
92
+ * @param logger - Logger class for logging messages
96
93
  * @returns the app specific JSON schema
97
94
  */
98
95
  function generateAnalyticalListPageInterfaceV2(genericSchema, entitySet, annotations, manifest, fragments, logger) {
@@ -100,10 +97,10 @@ function generateAnalyticalListPageInterfaceV2(genericSchema, entitySet, annotat
100
97
  return (0, analyticalListReport_1.generateAnalyticalListReportSchemaV2)(generateParameters, genericSchema);
101
98
  }
102
99
  /**
103
- * Generates the app specific schema of an overview page
100
+ * Generates the app specific schema of an overview page.
101
+ *
104
102
  * @param genericSchema - file content of the generic schema
105
103
  * @param manifest - manifest.json of the app
106
- *
107
104
  * @returns the generic schema, as equivalent to the app schema
108
105
  */
109
106
  function generateOVPInterfaceV2(genericSchema, manifest) {
@@ -1 +1 @@
1
- {"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../../../src/sync/v2/generate/generate.ts"],"names":[],"mappings":";;;;;AAgEA,sEAiBC;AAeD,sEAiBC;AAgBD,sFAiBC;AASD,wDAEC;AA7JD,8CAA6D;AAC7D,6CAA0D;AAC1D,6CAA0D;AAC1D,iEAA8E;AAC9E,iDAA8D;AAE9D,wEAA8F;AAC9F,8DAAyE;AACzE,sDAA8B;AAC9B,8DAA+C;AAC/C,6CAA8C;AAE9C;;;;;;;;;GASG;AACH,SAAS,mBAAmB,CACxB,WAAuB,EACvB,MAAuB,EACv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CAAY,CAAC,sBAAsB,CACtC,CAAC;IACF,OAAO,IAAA,uCAA0B,EAAC,kBAAkB,EAAE,aAAa,CAAC,CAAC;AACzE,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,SAAgB,qCAAqC,CACjD,aAAqB,EACrB,SAAiB,EACjB,WAAuB,EACvB,QAAkB,EAClB,SAAsB,EACtB,MAAwB;IAExB,MAAM,kBAAkB,GAAG,mBAAmB,CAC1C,WAAW,EACX,MAAM,EACN,QAAQ,EACR,SAAS,EACT,SAAS,EACT,qCAAY,CAAC,oBAAoB,CACpC,CAAC;IACF,OAAO,IAAA,2DAAoC,EAAC,kBAAkB,EAAE,aAAa,CAAC,CAAC;AACnF,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,sBAAsB,CAAC,aAAqB,EAAE,QAAkB;IAC5E,OAAO,IAAA,2CAA4B,EAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;AACjE,CAAC"}
1
+ {"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../../../src/sync/v2/generate/generate.ts"],"names":[],"mappings":";;;;;AAgEA,sEAiBC;AAcD,sEAiBC;AAcD,sFAiBC;AASD,wDAEC;AA1JD,8CAA6D;AAC7D,6CAA0D;AAC1D,6CAA0D;AAC1D,iEAA8E;AAC9E,iDAA8D;AAE9D,wEAA8F;AAC9F,8DAAyE;AACzE,sDAA8B;AAC9B,8DAA+C;AAC/C,6CAA8C;AAE9C;;;;;;;;;;GAUG;AACH,SAAS,mBAAmB,CACxB,WAAuB,EACvB,MAAuB,EACvB,QAAkB,EAClB,SAAqB,EACrB,SAAiB,EACjB,YAA0B;IAE1B,IAAA,eAAQ,GAAE,CAAC;IAEX,MAAM,UAAU,GAAG,IAAA,+BAAuB,EAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IAChE,MAAM,kBAAkB,GAAgC;QACpD,YAAY;QACZ,oBAAoB,EAAE,6CAAoB,CAAC,EAAE;QAC7C,QAAQ;QACR,SAAS;QACT,UAAU;QACV,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ACX,MAAM,EACN,QAAQ,EACR,SAAS,EACT,SAAS,EACT,qCAAY,CAAC,oBAAoB,CACpC,CAAC;IACF,OAAO,IAAA,2DAAoC,EAAC,kBAAkB,EAAE,aAAa,CAAC,CAAC;AACnF,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,sBAAsB,CAAC,aAAqB,EAAE,QAAkB;IAC5E,OAAO,IAAA,2CAA4B,EAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;AACjE,CAAC"}
@@ -2,8 +2,9 @@ import type { ConvertedMetadata, EntitySet, EntityType } from '@sap-ux/vocabular
2
2
  import type { Definition } from 'typescript-json-schema';
3
3
  import type { GenerateAppSchemaParameters } from '@sap/ux-specification-types';
4
4
  /**
5
- * Adds the enum types for QuickVariant and QuickVariantX, based on the entity type annotations
6
- * @param {EntityType} entityType
5
+ * Adds the enum types for QuickVariant and QuickVariantX, based on the entity type annotations.
6
+ *
7
+ * @param {EntityType} entityType - The entity type containing annotations to be processed
7
8
  * @param {EntitySet} entitySet - current entity set of the page or view
8
9
  * @param {Definition} appSchema - app specific JSON schema
9
10
  * @param {ConvertedMetadata} oDataServiceAVT - combined service metadata, as returned by annotation vocabularies tools
@@ -12,6 +13,7 @@ export declare function addEnumForVariantPaths(entityType: EntityType, entitySet
12
13
  /**
13
14
  * Generates an app specific schema for the FE V2 Listreport from the generic schema.
14
15
  * Generic types are replaced by information from the app specific annotations.
16
+ *
15
17
  * @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
16
18
  * @param {object} genericSchema - generic JSON schema of a list report
17
19
  * @returns appSchema - the application specific JSON schema
@@ -1 +1 @@
1
- {"version":3,"file":"listReport.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v2/generate/listReport.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAK3F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAM/E;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAClC,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,UAAU,EACrB,eAAe,EAAE,iBAAiB,GACnC,IAAI,CAIN;AAwGD;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACtC,kBAAkB,EAAE,2BAA2B,EAC/C,aAAa,EAAE,UAAU,GAC1B,MAAM,CAmGR"}
1
+ {"version":3,"file":"listReport.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v2/generate/listReport.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAK3F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAM/E;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAClC,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,UAAU,EACrB,eAAe,EAAE,iBAAiB,GACnC,IAAI,CAIN;AAuHD;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CACtC,kBAAkB,EAAE,2BAA2B,EAC/C,aAAa,EAAE,UAAU,GAC1B,MAAM,CAmGR"}
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.addEnumForVariantPaths = addEnumForVariantPaths;
7
7
  exports.generateListReportSchemaV2 = generateListReportSchemaV2;
8
8
  const utils_1 = require("./utils");
9
+ const manifestPropertyUtils_1 = require("./manifestPropertyUtils");
9
10
  const import_1 = require("../import");
10
11
  const common_1 = require("../../common");
11
12
  const i18next_1 = __importDefault(require("i18next"));
@@ -16,8 +17,9 @@ const types_2 = require("../../../../../types/src/common/types");
16
17
  const ROOT_PROPERTIES_ORDER = ['filterBar', 'table', 'footer'];
17
18
  const UIVOCABULARYDOT = ux_specification_types_1.UIVOCABULARYALPHADOT.substring(1); // reference to the ui vocabluary without leading '@' but with trailing'.'
18
19
  /**
19
- * Adds the enum types for QuickVariant and QuickVariantX, based on the entity type annotations
20
- * @param {EntityType} entityType
20
+ * Adds the enum types for QuickVariant and QuickVariantX, based on the entity type annotations.
21
+ *
22
+ * @param {EntityType} entityType - The entity type containing annotations to be processed
21
23
  * @param {EntitySet} entitySet - current entity set of the page or view
22
24
  * @param {Definition} appSchema - app specific JSON schema
23
25
  * @param {ConvertedMetadata} oDataServiceAVT - combined service metadata, as returned by annotation vocabularies tools
@@ -28,8 +30,9 @@ function addEnumForVariantPaths(entityType, entitySet, appSchema, oDataServiceAV
28
30
  (0, common_1.addEnumForVariantEntitySet)(oDataServiceAVT, appSchema, 'QuickVariantX');
29
31
  }
30
32
  /**
31
- * Adds an enum filled with existing UI annotations for annotationPath property in FilterBar
32
- * @param {EntityType} entityType
33
+ * Adds an enum filled with existing UI annotations for annotationPath property in FilterBar.
34
+ *
35
+ * @param entityType - The entity type containing annotations to be processed
33
36
  * @param appSchema - app specific JSOn schema
34
37
  * @param definitionName - name of the definition in the app schema
35
38
  */
@@ -42,7 +45,14 @@ function addEnumForFilterBarAnnotationPath(entityType, appSchema, definitionName
42
45
  ];
43
46
  (0, common_1.addEnumForValidAnnotations)(entityType, validAnnotations, annoPath);
44
47
  }
45
- // Helper function for getLineItemAnnotation which determines the presentation variant to be used. The parameters of both functions have identical meaning.
48
+ /**
49
+ * Helper function for getLineItemAnnotation which determines the presentation variant to be used. The parameters of both functions have identical meaning.
50
+ *
51
+ * @param uIAnnotations - The UI annotations for the entity type.
52
+ * @param settings - Optional settings object, typically a piece of the manifest, containing an optional annotationPath property.
53
+ * @param logger - Optional logger instance for logging warnings or errors.
54
+ * @returns The determined PresentationVariant or undefined if none is found.
55
+ */
46
56
  function getPresentationVariantForLineItem(uIAnnotations, settings, logger) {
47
57
  let presentationVariant; // the presentation variant to be used to determine the LineItem
48
58
  const annotationPath = settings?.annotationPath;
@@ -89,12 +99,19 @@ function getPresentationVariantForLineItem(uIAnnotations, settings, logger) {
89
99
  }
90
100
  return presentationVariant;
91
101
  }
92
- // Determine the LineItemAnnotation to be used for the LR.
93
- // Reproduces logic from Fiori Elements LR implementation (function createWorkingContext in LR specific AnnotationHelper).
102
+ /**
103
+ * Determine the LineItemAnnotation to be used for the LR.
104
+ * Reproduces logic from Fiori Elements LR implementation (function createWorkingContext in LR specific AnnotationHelper).
105
+ *
106
+ * @param uIAnnotations - The UI annotations for the entity type.
107
+ * @param settings - Optional settings object, typically a piece of the manifest, containing an optional annotationPath property.
108
+ * @param logger - Optional logger instance for logging warnings or errors.
109
+ * @returns The determined LineItem annotation or undefined if none is found.
110
+ */
94
111
  function getLineItemAnnotation(uIAnnotations, settings, // an object (actually a piece of the manifest) possessing an optional property annotationPath which would define the path to the PresentationVariant
95
112
  logger // used in case an error/warning is detected while determining the result
96
113
  ) {
97
- if ((0, utils_1.hasPropertyTypeError)(settings, 'annotationPath', logger)) {
114
+ if ((0, manifestPropertyUtils_1.hasPropertyTypeError)(settings, 'annotationPath', logger)) {
98
115
  return undefined; // return undefined in case there is an error in the settings
99
116
  }
100
117
  const presentationVariant = getPresentationVariantForLineItem(uIAnnotations, settings, logger); // the presentation variant to be used to determine the LineItem (if there is one)
@@ -119,6 +136,7 @@ logger // used in case an error/warning is detected while determining the result
119
136
  /**
120
137
  * Generates an app specific schema for the FE V2 Listreport from the generic schema.
121
138
  * Generic types are replaced by information from the app specific annotations.
139
+ *
122
140
  * @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
123
141
  * @param {object} genericSchema - generic JSON schema of a list report
124
142
  * @returns appSchema - the application specific JSON schema
@@ -1 +1 @@
1
- {"version":3,"file":"listReport.js","sourceRoot":"","sources":["../../../../../../src/sync/v2/generate/listReport.ts"],"names":[],"mappings":";;;;;AAsDA,wDASC;AA+GD,gEAsGC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qB,EAAC,SAAS,EAAE,qBAAqB,CAAC,CAAC;IACxD,OAAO,SAAS,CAAC;AACrB,CAAC"}
@@ -0,0 +1,118 @@
1
+ /**
2
+ * @file This file contains helper functions for generating page specific schemas that are used in the context of manifest properties.
3
+ * The functionality is implicitly tested by the more complex unit-tests for generic schema generation and generic import in test-folder unit/genericSchemaHandling.
4
+ */
5
+ import type { Definition } from 'typescript-json-schema';
6
+ import type { SyncRule, GenerateAppSchemaParameters, ProcessingRule, AccessorPath, SchemaHandlingParams, ReferenceAdaptationInfo } from '@sap/ux-specification-types';
7
+ import type { ExtensionLogger } from '../../..';
8
+ /**
9
+ * Type check for properties coming from the manifest.
10
+ *
11
+ * @param parent - the parent object in manifest which may contain the property.
12
+ * @param propertyName - name of the property name to be checked
13
+ * @param logger - a logger which may receive the error message in case a type error is detected
14
+ * @param expectedType - the expected type of the value of the property (if it is not undefined)
15
+ * @param mandatory - specifies handling of null and undefined: If parent is null this is always considered an error.
16
+ * undefined value for parent or its specified property is considered an error when parameter mandatory is true.
17
+ * null value for the specified property is considered an error when mandatory is true or the expected type is not 'object'.
18
+ * @returns the information whether a type error was detected.
19
+ */
20
+ export declare function hasPropertyTypeError(parent: unknown, propertyName: string, logger?: ExtensionLogger, expectedType?: string, mandatory?: boolean): boolean;
21
+ /**
22
+ * This symbol is used to indicate that a property is not allowed in the current context and that it should be hidden without any explanation.
23
+ */
24
+ export declare const DISALLOWED_WITHOUT_EXPLANATION: unique symbol;
25
+ /**
26
+ * An instance of this type describes whether a property is allowed in the current context or not.
27
+ * A faulty instance of this type expresses that the property is allowed in the current context.
28
+ * A non-faulty string instance expresses that the property is not allowed in the current context.
29
+ * Moreover, it contains the human readable reason why the property is not allowed.
30
+ * The special value DISALLOWED_WITHOUT_EXPLANATION indicates that the property is not allowed in the current context
31
+ * and that it should be hidden without any explanation.
32
+ */
33
+ export type DisallowedSpecification = string | typeof DISALLOWED_WITHOUT_EXPLANATION;
34
+ /**
35
+ * Helper function to be called within elementAdapters of syncRules.
36
+ * The function should be called when a property defined in the generic schema is not valid
37
+ * for the page the specific schema is currently generated for.
38
+ * We distinguish two cases:
39
+ * - The property is present in the manifest (although it should not)
40
+ * - The property is not present in the manifest (as expected)
41
+ * In the first case the corresponding property should still be present in the schema.
42
+ * However, a warning message is added to the schema in order to make the user aware of this inconsistency.
43
+ * In the second case the property should not be shown to the user. So, preferably we would
44
+ * remove the property from the schema.
45
+ * However, this is currently not possible due to a flaw in the undo/redo logic which results in schemas
46
+ * being used to process the export that do not exactly fit to the current state of the config.
47
+ * For these cases we need the manifest path which is stored with the definition of the property in the schema.
48
+ * Therefore, we set the hidden flag of the property to true. This will be changed as soon as the undo/redo logic has been refactored.
49
+ *
50
+ * @param disallowedReason - The truthy description how the disallowed property should be handled
51
+ * @param element - the element in the schema representing the property
52
+ * @param value - the value of the property in the manifest
53
+ * @param manifestPath - the path to the property in the manifest
54
+ * @returns the ProcessingRule for element, resp. undefined if the element should not be removed from the page specific schema.
55
+ * Note that the second case will only occur after the refactoring of the undo/redo logic.
56
+ */
57
+ export declare function handleDisallowedProperty(disallowedReason: DisallowedSpecification, element: Definition, value: unknown, manifestPath: AccessorPath): ProcessingRule | undefined;
58
+ /**
59
+ * Instances of this type are used during page specific schema generation. They specify how to deal with a specific manifest property.
60
+ * Instances of this type should be provided by instances of type ManifestAnalyzer (passed to function getSyncRuleForManifestProperty).
61
+ *
62
+ * @property manifestPath - specifies where the content for this property should be located within the manifest
63
+ * @property disallowedReason - faulty when the property is valid for the page. Otherwise describes how to deal with the disallowed property if it is present in the manifest.
64
+ */
65
+ export type ManifestRule = {
66
+ manifestPath: AccessorPath;
67
+ disallowedReason?: DisallowedSpecification;
68
+ };
69
+ /**
70
+ * An instance of this type provides a possibility to obtain a ManifestRule. ManifestAnalyzers should be provided by users of function getSyncRuleForManifestProperty.
71
+ *
72
+ * @param element - the element in the schema representing the property to be analyzed
73
+ * @param schemaHandlingParams - information provided by the hierarchy level above of the schema generation process
74
+ * @param generateParameters - input parameters for the schema generation process
75
+ * @returns a ManifestRule which specifies how to deal with the manifest property
76
+ */
77
+ export type ManifestAnalyzer = (element: Definition, schemaHandlingParams: SchemaHandlingParams, generateParameters: GenerateAppSchemaParameters) => ManifestRule;
78
+ /**
79
+ * An instance of this type is called within an instance of type ElementAdapter.
80
+ * Thereby, the schema element it is working on represents a manifest property.
81
+ * The function is called with the same parameters as an instance of type ElementAdapter.
82
+ * The only difference is that the function is called with an additional parameter 'value' which contains the value of the property in the manifest.
83
+ * The task of this function is to adapt the schema element for the page specific schema (if such an adaptation is necessary).
84
+ *
85
+ * @param element - same as in type ElementAdapter. It represents a manifest property.
86
+ * @param schemaHandlingParams - same as in type ElementAdapter
87
+ * @param generateParameters - same as in type ElementAdapter
88
+ * @param value - the value of the property in the manifest
89
+ * @returns a ProcessingRule which specifies how to deal with the manifest property
90
+ */
91
+ type ElementAdapterExtended = (element: Definition, schemaHandlingParams: SchemaHandlingParams, generateParameters: GenerateAppSchemaParameters, value: unknown) => void;
92
+ /**
93
+ * An instance of this type is called within an instance of type ElementAdapter.
94
+ * Thereby, the schema element it is working on represents a manifest property.
95
+ * The function is called with the same parameters as an instance of type ElementAdapter.
96
+ * The only difference is that the parameter 'element' is not passed to the function.
97
+ * The task of this function is to provide the ReferenceAdaptationInfo which should be included
98
+ * in the ProcessingRule provided by the ElementAdapter (if an adaptation of the reference is necessary).
99
+ *
100
+ * @param schemaHandlingParams - same as in type ElementAdapter
101
+ * @param generateParameters - same as in type ElementAdapter
102
+ * @returns the ReferenceAdaptationInfo to be included in the ProcessingRule if necessary
103
+ */
104
+ export type ReferenceAdaptationProvider = (schemaHandlingParams: SchemaHandlingParams, generateParameters: GenerateAppSchemaParameters) => ReferenceAdaptationInfo | undefined;
105
+ /**
106
+ * This function can be used to generate a SyncRule for a manifest property that may be omitted in the page specific schema
107
+ * depending on the context of the page.
108
+ *
109
+ * @param property - the name of the property in the manifest the SyncRule should be generated for
110
+ * @param analyze - provides the ManifestRule for the property
111
+ * @param adapt - an optional function that can be used to adapt the schema element representing the manifest property
112
+ * @param provideReferenceAdaptation - an optional function that can be used to provide the ReferenceAdaptationInfo for the manifest property
113
+ * @param expectedType - the expected type of the value of the property (if it is not undefined)
114
+ * @returns the SyncRule for the manifest property
115
+ */
116
+ export declare function getSyncRuleForManifestProperty(property: string, analyze: ManifestAnalyzer, adapt?: ElementAdapterExtended, provideReferenceAdaptation?: ReferenceAdaptationProvider, expectedType?: string): SyncRule;
117
+ export {};
118
+ //# sourceMappingURL=manifestPropertyUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifestPropertyUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v2/generate/manifestPropertyUtils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EACR,QAAQ,EACR,2BAA2B,EAC3B,cAAc,EACd,YAAY,EACZ,oBAAoB,EACpB,uBAAuB,EAC1B,MAAM,6BAA6B,CAAC;AAGrC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAKhD;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAChC,MAAM,EAAE,OAAO,EACf,YAAY,EAAE,MAAM,EACpB,MAAM,CAAC,EAAE,eAAe,EACxB,YAAY,GAAE,MAAiB,EAC/B,SAAS,GAAE,OAAe,GAC3B,OAAO,CAqBT;AAED;;GAEG;AACH,eAAO,MAAM,8BAA8B,EAAE,OAAO,MAA6D,CAAC;AAElH;;;;;;;GAOG;AACH,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,OAAO,8BAA8B,CAAC;AAErF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,wBAAwB,CACpC,gBAAgB,EAAE,uBAAuB,EACzC,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,OAAO,EACd,YAAY,EAAE,YAAY,GAC3B,cAAc,GAAG,SAAS,CAmB5B;AAED;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG;IACvB,YAAY,EAAE,YAAY,CAAC;IAC3B,gBAAgB,CAAC,EAAE,uBAAuB,CAAC;CAC9C,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAC3B,OAAO,EAAE,UAAU,EACnB,oBAAoB,EAAE,oBAAoB,EAC1C,kBAAkB,EAAE,2BAA2B,KAC9C,YAAY,CAAC;AAElB;;;;;;;;;;;;GAYG;AACH,KAAK,sBAAsB,GAAG,CAC1B,OAAO,EAAE,UAAU,EACnB,oBAAoB,EAAE,oBAAoB,EAC1C,kBAAkB,EAAE,2BAA2B,EAC/C,KAAK,EAAE,OAAO,KACb,IAAI,CAAC;AAEV;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,2BAA2B,GAAG,CACtC,oBAAoB,EAAE,oBAAoB,EAC1C,kBAAkB,EAAE,2BAA2B,KAC9C,uBAAuB,GAAG,SAAS,CAAC;AAEzC;;;;;;;;;;GAUG;AACH,wBAAgB,8BAA8B,CAC1C,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,gBAAgB,EACzB,KAAK,CAAC,EAAE,sBAAsB,EAC9B,0BAA0B,CAAC,EAAE,2BAA2B,EACxD,YAAY,CAAC,EAAE,MAAM,GACtB,QAAQ,CAwCV"}
@@ -0,0 +1,151 @@
1
+ "use strict";
2
+ /**
3
+ * @file This file contains helper functions for generating page specific schemas that are used in the context of manifest properties.
4
+ * The functionality is implicitly tested by the more complex unit-tests for generic schema generation and generic import in test-folder unit/genericSchemaHandling.
5
+ */
6
+ var __importDefault = (this && this.__importDefault) || function (mod) {
7
+ return (mod && mod.__esModule) ? mod : { "default": mod };
8
+ };
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.DISALLOWED_WITHOUT_EXPLANATION = void 0;
11
+ exports.hasPropertyTypeError = hasPropertyTypeError;
12
+ exports.handleDisallowedProperty = handleDisallowedProperty;
13
+ exports.getSyncRuleForManifestProperty = getSyncRuleForManifestProperty;
14
+ const ux_specification_types_1 = require("@sap/ux-specification-types");
15
+ const extensionLogger_1 = require("../../../extensionLogger");
16
+ const i18next_1 = __importDefault(require("i18next"));
17
+ const utils_1 = require("../utils");
18
+ /**
19
+ * Type check for properties coming from the manifest.
20
+ *
21
+ * @param parent - the parent object in manifest which may contain the property.
22
+ * @param propertyName - name of the property name to be checked
23
+ * @param logger - a logger which may receive the error message in case a type error is detected
24
+ * @param expectedType - the expected type of the value of the property (if it is not undefined)
25
+ * @param mandatory - specifies handling of null and undefined: If parent is null this is always considered an error.
26
+ * undefined value for parent or its specified property is considered an error when parameter mandatory is true.
27
+ * null value for the specified property is considered an error when mandatory is true or the expected type is not 'object'.
28
+ * @returns the information whether a type error was detected.
29
+ */
30
+ function hasPropertyTypeError(parent, propertyName, logger, expectedType = 'string', mandatory = false) {
31
+ let hasTypeError;
32
+ if (parent === undefined) {
33
+ hasTypeError = mandatory;
34
+ }
35
+ else if (parent === null || typeof parent !== 'object') {
36
+ hasTypeError = true;
37
+ }
38
+ else {
39
+ const propValue = parent[propertyName];
40
+ if (propValue === undefined) {
41
+ hasTypeError = mandatory;
42
+ }
43
+ else {
44
+ hasTypeError = typeof propValue !== expectedType || (propValue === null && mandatory);
45
+ }
46
+ }
47
+ if (hasTypeError) {
48
+ (0, extensionLogger_1.log)(logger, {
49
+ severity: "error" /* LogSeverity.Error */,
50
+ message: i18next_1.default.t('TYPEERROR', { propertyName: propertyName, expectedType: expectedType })
51
+ });
52
+ }
53
+ return hasTypeError;
54
+ }
55
+ /**
56
+ * This symbol is used to indicate that a property is not allowed in the current context and that it should be hidden without any explanation.
57
+ */
58
+ exports.DISALLOWED_WITHOUT_EXPLANATION = Symbol('Property is suppressed without explanation');
59
+ /**
60
+ * Helper function to be called within elementAdapters of syncRules.
61
+ * The function should be called when a property defined in the generic schema is not valid
62
+ * for the page the specific schema is currently generated for.
63
+ * We distinguish two cases:
64
+ * - The property is present in the manifest (although it should not)
65
+ * - The property is not present in the manifest (as expected)
66
+ * In the first case the corresponding property should still be present in the schema.
67
+ * However, a warning message is added to the schema in order to make the user aware of this inconsistency.
68
+ * In the second case the property should not be shown to the user. So, preferably we would
69
+ * remove the property from the schema.
70
+ * However, this is currently not possible due to a flaw in the undo/redo logic which results in schemas
71
+ * being used to process the export that do not exactly fit to the current state of the config.
72
+ * For these cases we need the manifest path which is stored with the definition of the property in the schema.
73
+ * Therefore, we set the hidden flag of the property to true. This will be changed as soon as the undo/redo logic has been refactored.
74
+ *
75
+ * @param disallowedReason - The truthy description how the disallowed property should be handled
76
+ * @param element - the element in the schema representing the property
77
+ * @param value - the value of the property in the manifest
78
+ * @param manifestPath - the path to the property in the manifest
79
+ * @returns the ProcessingRule for element, resp. undefined if the element should not be removed from the page specific schema.
80
+ * Note that the second case will only occur after the refactoring of the undo/redo logic.
81
+ */
82
+ function handleDisallowedProperty(disallowedReason, element, value, manifestPath) {
83
+ delete element.$ref;
84
+ if (value === undefined || disallowedReason === exports.DISALLOWED_WITHOUT_EXPLANATION) {
85
+ element[ux_specification_types_1.SchemaTag.hidden] = true;
86
+ }
87
+ else {
88
+ if (typeof value === 'object') {
89
+ element.type = 'object';
90
+ }
91
+ element[ux_specification_types_1.SchemaTag.messages] = [
92
+ {
93
+ text: disallowedReason,
94
+ deletable: true,
95
+ type: ux_specification_types_1.PropertyMessageType.Warning
96
+ }
97
+ ];
98
+ }
99
+ return {
100
+ manifestPath
101
+ };
102
+ }
103
+ /**
104
+ * This function can be used to generate a SyncRule for a manifest property that may be omitted in the page specific schema
105
+ * depending on the context of the page.
106
+ *
107
+ * @param property - the name of the property in the manifest the SyncRule should be generated for
108
+ * @param analyze - provides the ManifestRule for the property
109
+ * @param adapt - an optional function that can be used to adapt the schema element representing the manifest property
110
+ * @param provideReferenceAdaptation - an optional function that can be used to provide the ReferenceAdaptationInfo for the manifest property
111
+ * @param expectedType - the expected type of the value of the property (if it is not undefined)
112
+ * @returns the SyncRule for the manifest property
113
+ */
114
+ function getSyncRuleForManifestProperty(property, analyze, adapt, provideReferenceAdaptation, expectedType) {
115
+ return {
116
+ manifest: {},
117
+ elementAdapter: function (element, schemaHandlingParams, generateParameters) {
118
+ const { manifestPath, disallowedReason } = analyze(element, schemaHandlingParams, generateParameters);
119
+ if (disallowedReason === exports.DISALLOWED_WITHOUT_EXPLANATION) {
120
+ return; // Suppress the property even if it is present in the current manifest -> no further processing needed
121
+ }
122
+ // What is the state of the property in the current manifest?
123
+ const { value, parent } = (0, utils_1.getManifestPropertyByPath)(generateParameters.manifest, manifestPath, property);
124
+ if (disallowedReason) {
125
+ return handleDisallowedProperty(disallowedReason, element, value, manifestPath);
126
+ }
127
+ // The property is applicable.
128
+ // But it can still be that its current content does not have the correct type.
129
+ // Type errors are logged. Note that the user can also see these errors.
130
+ const hasTypeErrors = expectedType
131
+ ? hasPropertyTypeError(parent, property, generateParameters.logger, expectedType)
132
+ : false;
133
+ if (hasTypeErrors && (expectedType === 'object' || typeof value === 'object')) {
134
+ // either value in manifest is an object but should be scalar or it is scalar but should be an object.
135
+ // This inconsistency must be removed in the text file of the manifest -> do not provide this property at all
136
+ return;
137
+ }
138
+ if (adapt) {
139
+ adapt(element, schemaHandlingParams, generateParameters, value);
140
+ }
141
+ const referenceAdaptation = provideReferenceAdaptation
142
+ ? provideReferenceAdaptation(schemaHandlingParams, generateParameters)
143
+ : undefined;
144
+ return {
145
+ manifestPath,
146
+ referenceAdaptation
147
+ };
148
+ }
149
+ };
150
+ }
151
+ //# sourceMappingURL=manifestPropertyUtils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifestPropertyUtils.js","sourceRoot":"","sources":["../../../../../../src/sync/v2/generate/manifestPropertyUtils.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;AA8BH,oDA2BC;AAwCD,4DAwBC;AA4ED,wEA8CC;AAxOD,wEAA0F;AAG1F,8DAA+C;AAC/C,sDAA8B;AAC9B,oCAAq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ACjF,CAAC,CAAC,KAAK,CAAC;YACZ,IAAI,aAAa,IAAI,CAAC,YAAY,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,QAAQ,CAAC,EAAE,CAAC;gBAC5E,sGAAsG;gBACtG,6GAA6G;gBAC7G,OAAO;YACX,CAAC;YACD,IAAI,KAAK,EAAE,CAAC;gBACR,KAAK,CAAC,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,KAAK,CAAC,CAAC;YACpE,CAAC;YACD,MAAM,mBAAmB,GAAG,0BAA0B;gBAClD,CAAC,CAAC,0BAA0B,CAAC,oBAAoB,EAAE,kBAAkB,CAAC;gBACtE,CAAC,CAAC,SAAS,CAAC;YAChB,OAAO;gBACH,YAAY;gBACZ,mBAAmB;aACtB,CAAC;QACN,CAAC;KACJ,CAAC;AACN,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import type { GenerateAppSchemaParameters } from '@sap/ux-specification-types';
2
2
  /**
3
3
  * Generates an app specific schema out of the generic schema.
4
- * @param {GenerateSchemaParameters} generateParameters - list of API input parameters
5
- * @param genericSchema - generic JSON schema of an object page
6
4
  *
5
+ * @param generateParameters - list of API input parameters
6
+ * @param genericSchema - generic JSON schema of an object page
7
7
  * @returns the app specific JSON schema
8
8
  */
9
9
  export declare function generateObjectPageSchemaV2(generateParameters: GenerateAppSchemaParameters, genericSchema: object): object;
@@ -1 +1 @@
1
- {"version":3,"file":"objectPage.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v2/generate/objectPage.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAKR,2BAA2B,EAE9B,MAAM,6BAA6B,CAAC;AA20BrC;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACtC,kBAAkB,EAAE,2BAA2B,EAC/C,aAAa,EAAE,MAAM,GACtB,MAAM,CA8FR"}
1
+ {"version":3,"file":"objectPage.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v2/generate/objectPage.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAKR,2BAA2B,EAE9B,MAAM,6BAA6B,CAAC;AA22BrC;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACtC,kBAAkB,EAAE,2BAA2B,EAC/C,aAAa,EAAE,MAAM,GACtB,MAAM,CA8FR"}