@sap/ux-specification 1.71.65 → 1.71.66

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 (523) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/documentation/runDocu-min.js +9645 -2
  3. package/dist/documentation/runDocu-min.js.map +7 -0
  4. package/dist/documentation/styleDocu.css +32 -28
  5. package/dist/documentation/v2/v2-AnalyticalListPage.html +20 -8
  6. package/dist/documentation/v2/v2-ApplicationV2.html +20 -8
  7. package/dist/documentation/v2/v2-ListReport.html +20 -8
  8. package/dist/documentation/v2/v2-ObjectPage.html +20 -8
  9. package/dist/documentation/v2/v2-OverviewPage.html +20 -8
  10. package/dist/index-min.js +24708 -2
  11. package/dist/index-min.js.map +7 -0
  12. package/dist/schemas/v2/ObjectPageConfig.json +1 -1
  13. package/dist/{src → types}/api.d.ts +2 -1
  14. package/dist/types/api.d.ts.map +1 -0
  15. package/dist/{src → types}/apiTypes.d.ts +3 -1
  16. package/dist/types/apiTypes.d.ts.map +1 -0
  17. package/dist/{src → types}/extensionLogger.d.ts +1 -0
  18. package/dist/types/extensionLogger.d.ts.map +1 -0
  19. package/dist/{src → types}/i18n/i18n.d.ts +1 -0
  20. package/dist/types/i18n/i18n.d.ts.map +1 -0
  21. package/dist/{src → types}/index.d.ts +1 -0
  22. package/dist/types/index.d.ts.map +1 -0
  23. package/dist/{src → types}/project.d.ts +1 -0
  24. package/dist/types/project.d.ts.map +1 -0
  25. package/dist/{src → types}/specification/common/Application.d.ts +1 -0
  26. package/dist/types/specification/common/Application.d.ts.map +1 -0
  27. package/dist/{src → types}/specification/common/index.d.ts +1 -0
  28. package/dist/types/specification/common/index.d.ts.map +1 -0
  29. package/dist/{src → types}/specification/common/page.d.ts +1 -0
  30. package/dist/types/specification/common/page.d.ts.map +1 -0
  31. package/dist/{src → types}/specification/common/types.d.ts +1 -0
  32. package/dist/types/specification/common/types.d.ts.map +1 -0
  33. package/dist/{src → types}/specification/common/webapp/manifest/Manifest.d.ts +1 -0
  34. package/dist/types/specification/common/webapp/manifest/Manifest.d.ts.map +1 -0
  35. package/dist/{src → types}/specification/common/webapp/manifest/index.d.ts +1 -0
  36. package/dist/types/specification/common/webapp/manifest/index.d.ts.map +1 -0
  37. package/dist/{src → types}/specification/common/webapp/manifest/sapOvp.d.ts +1 -0
  38. package/dist/types/specification/common/webapp/manifest/sapOvp.d.ts.map +1 -0
  39. package/dist/{src → types}/specification/common/webapp/manifest/sapUi5.d.ts +1 -0
  40. package/dist/types/specification/common/webapp/manifest/sapUi5.d.ts.map +1 -0
  41. package/dist/{src → types}/specification/schemaAccess.d.ts +7 -0
  42. package/dist/types/specification/schemaAccess.d.ts.map +1 -0
  43. package/dist/{src → types}/specification/v2/ApplicationV2.d.ts +1 -0
  44. package/dist/types/specification/v2/ApplicationV2.d.ts.map +1 -0
  45. package/dist/{src → types}/specification/v2/controls/Action.d.ts +1 -0
  46. package/dist/types/specification/v2/controls/Action.d.ts.map +1 -0
  47. package/dist/{src → types}/specification/v2/controls/AnalyticalListPageChart.d.ts +1 -0
  48. package/dist/types/specification/v2/controls/AnalyticalListPageChart.d.ts.map +1 -0
  49. package/dist/{src → types}/specification/v2/controls/AnalyticalListPageKPI.d.ts +1 -0
  50. package/dist/types/specification/v2/controls/AnalyticalListPageKPI.d.ts.map +1 -0
  51. package/dist/{src → types}/specification/v2/controls/Card.d.ts +1 -0
  52. package/dist/types/specification/v2/controls/Card.d.ts.map +1 -0
  53. package/dist/{src → types}/specification/v2/controls/Facets.d.ts +1 -0
  54. package/dist/types/specification/v2/controls/Facets.d.ts.map +1 -0
  55. package/dist/{src → types}/specification/v2/controls/Field.d.ts +1 -0
  56. package/dist/types/specification/v2/controls/Field.d.ts.map +1 -0
  57. package/dist/{src → types}/specification/v2/controls/FilterBar.d.ts +1 -0
  58. package/dist/types/specification/v2/controls/FilterBar.d.ts.map +1 -0
  59. package/dist/{src → types}/specification/v2/controls/Footer.d.ts +1 -0
  60. package/dist/types/specification/v2/controls/Footer.d.ts.map +1 -0
  61. package/dist/{src → types}/specification/v2/controls/ObjectPageChart.d.ts +1 -0
  62. package/dist/types/specification/v2/controls/ObjectPageChart.d.ts.map +1 -0
  63. package/dist/{src → types}/specification/v2/controls/ObjectPageForm.d.ts +1 -0
  64. package/dist/types/specification/v2/controls/ObjectPageForm.d.ts.map +1 -0
  65. package/dist/{src → types}/specification/v2/controls/ObjectPageHeader.d.ts +1 -0
  66. package/dist/types/specification/v2/controls/ObjectPageHeader.d.ts.map +1 -0
  67. package/dist/{src → types}/specification/v2/controls/ObjectPageLayout.d.ts +1 -0
  68. package/dist/types/specification/v2/controls/ObjectPageLayout.d.ts.map +1 -0
  69. package/dist/{src → types}/specification/v2/controls/ObjectPageSection.d.ts +1 -0
  70. package/dist/types/specification/v2/controls/ObjectPageSection.d.ts.map +1 -0
  71. package/dist/{src → types}/specification/v2/controls/ObjectPageTable.d.ts +1 -0
  72. package/dist/types/specification/v2/controls/ObjectPageTable.d.ts.map +1 -0
  73. package/dist/{src → types}/specification/v2/controls/ObjectPageToolBar.d.ts +1 -0
  74. package/dist/types/specification/v2/controls/ObjectPageToolBar.d.ts.map +1 -0
  75. package/dist/{src → types}/specification/v2/controls/Table.d.ts +1 -0
  76. package/dist/types/specification/v2/controls/Table.d.ts.map +1 -0
  77. package/dist/{src → types}/specification/v2/controls/ToolBar.d.ts +1 -0
  78. package/dist/types/specification/v2/controls/ToolBar.d.ts.map +1 -0
  79. package/dist/{src → types}/specification/v2/controls/index.d.ts +1 -0
  80. package/dist/types/specification/v2/controls/index.d.ts.map +1 -0
  81. package/dist/{src → types}/specification/v2/index.d.ts +1 -0
  82. package/dist/types/specification/v2/index.d.ts.map +1 -0
  83. package/dist/{src → types}/specification/v2/page.d.ts +1 -0
  84. package/dist/types/specification/v2/page.d.ts.map +1 -0
  85. package/dist/{src → types}/specification/v2/pages/AnalyticalListPageConfig.d.ts +1 -0
  86. package/dist/types/specification/v2/pages/AnalyticalListPageConfig.d.ts.map +1 -0
  87. package/dist/{src → types}/specification/v2/pages/ListReportConfig.d.ts +1 -0
  88. package/dist/types/specification/v2/pages/ListReportConfig.d.ts.map +1 -0
  89. package/dist/{src → types}/specification/v2/pages/ObjectPageConfig.d.ts +1 -0
  90. package/dist/types/specification/v2/pages/ObjectPageConfig.d.ts.map +1 -0
  91. package/dist/{src → types}/specification/v2/pages/OverviewPageConfig.d.ts +1 -0
  92. package/dist/types/specification/v2/pages/OverviewPageConfig.d.ts.map +1 -0
  93. package/dist/{src → types}/specification/v2/pages/index.d.ts +1 -0
  94. package/dist/types/specification/v2/pages/index.d.ts.map +1 -0
  95. package/dist/types/specification/v2/webapp/index.d.ts +2 -0
  96. package/dist/types/specification/v2/webapp/index.d.ts.map +1 -0
  97. package/dist/{src → types}/specification/v2/webapp/manifest/index.d.ts +1 -0
  98. package/dist/types/specification/v2/webapp/manifest/index.d.ts.map +1 -0
  99. package/dist/{src → types}/specification/v2/webapp/manifest/sapUi.d.ts +1 -0
  100. package/dist/types/specification/v2/webapp/manifest/sapUi.d.ts.map +1 -0
  101. package/dist/{src → types}/specification/v2/webapp/manifest/sapUi5.d.ts +1 -0
  102. package/dist/types/specification/v2/webapp/manifest/sapUi5.d.ts.map +1 -0
  103. package/dist/{src → types}/specification/v2/webapp/manifest/sapUiPageV2.d.ts +1 -0
  104. package/dist/types/specification/v2/webapp/manifest/sapUiPageV2.d.ts.map +1 -0
  105. package/dist/{src → types}/sync/common/appProvider.d.ts +1 -0
  106. package/dist/types/sync/common/appProvider.d.ts.map +1 -0
  107. package/dist/{src → types}/sync/common/decoration/control.d.ts +1 -0
  108. package/dist/types/sync/common/decoration/control.d.ts.map +1 -0
  109. package/dist/{src → types}/sync/common/decoration/decorators.d.ts +1 -0
  110. package/dist/types/sync/common/decoration/decorators.d.ts.map +1 -0
  111. package/dist/{src → types}/sync/common/decoration/factory.d.ts +1 -0
  112. package/dist/types/sync/common/decoration/factory.d.ts.map +1 -0
  113. package/dist/{src → types}/sync/common/decoration/flex.d.ts +1 -0
  114. package/dist/types/sync/common/decoration/flex.d.ts.map +1 -0
  115. package/dist/{src → types}/sync/common/decoration/index.d.ts +1 -0
  116. package/dist/types/sync/common/decoration/index.d.ts.map +1 -0
  117. package/dist/{src → types}/sync/common/flexUtils.d.ts +1 -0
  118. package/dist/types/sync/common/flexUtils.d.ts.map +1 -0
  119. package/dist/{src → types}/sync/common/generate/index.d.ts +1 -0
  120. package/dist/types/sync/common/generate/index.d.ts.map +1 -0
  121. package/dist/{src → types}/sync/common/generate/objectPage.d.ts +3 -1
  122. package/dist/types/sync/common/generate/objectPage.d.ts.map +1 -0
  123. package/dist/{src → types}/sync/common/generate/utils.d.ts +1 -0
  124. package/dist/types/sync/common/generate/utils.d.ts.map +1 -0
  125. package/dist/{src → types}/sync/common/import/utils.d.ts +1 -0
  126. package/dist/types/sync/common/import/utils.d.ts.map +1 -0
  127. package/dist/{src → types}/sync/common/importProject.d.ts +1 -0
  128. package/dist/types/sync/common/importProject.d.ts.map +1 -0
  129. package/dist/{src → types}/sync/common/index.d.ts +1 -0
  130. package/dist/types/sync/common/index.d.ts.map +1 -0
  131. package/dist/{src → types}/sync/common/types.d.ts +4 -1
  132. package/dist/types/sync/common/types.d.ts.map +1 -0
  133. package/dist/{src → types}/sync/common/utils.d.ts +1 -0
  134. package/dist/types/sync/common/utils.d.ts.map +1 -0
  135. package/dist/{src → types}/sync/i18n.d.ts +1 -0
  136. package/dist/types/sync/i18n.d.ts.map +1 -0
  137. package/dist/{src → types}/sync/v2/application.d.ts +1 -0
  138. package/dist/types/sync/v2/application.d.ts.map +1 -0
  139. package/dist/{src → types}/sync/v2/export/controls/Action.d.ts +1 -0
  140. package/dist/types/sync/v2/export/controls/Action.d.ts.map +1 -0
  141. package/dist/{src → types}/sync/v2/export/controls/AnalyticalListPageChart.d.ts +1 -0
  142. package/dist/types/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +1 -0
  143. package/dist/{src → types}/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +1 -0
  144. package/dist/types/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +1 -0
  145. package/dist/{src → types}/sync/v2/export/controls/Card.d.ts +1 -0
  146. package/dist/types/sync/v2/export/controls/Card.d.ts.map +1 -0
  147. package/dist/{src → types}/sync/v2/export/controls/Field.d.ts +1 -0
  148. package/dist/types/sync/v2/export/controls/Field.d.ts.map +1 -0
  149. package/dist/{src → types}/sync/v2/export/controls/FilterBar.d.ts +1 -0
  150. package/dist/types/sync/v2/export/controls/FilterBar.d.ts.map +1 -0
  151. package/dist/{src → types}/sync/v2/export/controls/FormAction.d.ts +1 -0
  152. package/dist/types/sync/v2/export/controls/FormAction.d.ts.map +1 -0
  153. package/dist/{src → types}/sync/v2/export/controls/Fragment.d.ts +1 -0
  154. package/dist/types/sync/v2/export/controls/Fragment.d.ts.map +1 -0
  155. package/dist/{src → types}/sync/v2/export/controls/ObjectPageCustomSection.d.ts +1 -0
  156. package/dist/types/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
  157. package/dist/{src → types}/sync/v2/export/controls/ObjectPageFooterAction.d.ts +1 -0
  158. package/dist/types/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +1 -0
  159. package/dist/{src → types}/sync/v2/export/controls/ObjectPageHeader.d.ts +1 -0
  160. package/dist/types/sync/v2/export/controls/ObjectPageHeader.d.ts.map +1 -0
  161. package/dist/{src → types}/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +1 -0
  162. package/dist/types/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +1 -0
  163. package/dist/{src → types}/sync/v2/export/controls/ObjectPageLayout.d.ts +1 -0
  164. package/dist/types/sync/v2/export/controls/ObjectPageLayout.d.ts.map +1 -0
  165. package/dist/{src → types}/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +1 -0
  166. package/dist/types/sync/v2/export/controls/ObjectPageSectionsV2.d.ts.map +1 -0
  167. package/dist/{src → types}/sync/v2/export/controls/ObjectPageTable.d.ts +1 -0
  168. package/dist/types/sync/v2/export/controls/ObjectPageTable.d.ts.map +1 -0
  169. package/dist/{src → types}/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +1 -0
  170. package/dist/types/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
  171. package/dist/{src → types}/sync/v2/export/controls/Table.d.ts +1 -0
  172. package/dist/types/sync/v2/export/controls/Table.d.ts.map +1 -0
  173. package/dist/{src → types}/sync/v2/export/controls/TableColumn.d.ts +1 -0
  174. package/dist/types/sync/v2/export/controls/TableColumn.d.ts.map +1 -0
  175. package/dist/{src → types}/sync/v2/export/controls/ToolBar.d.ts +1 -0
  176. package/dist/types/sync/v2/export/controls/ToolBar.d.ts.map +1 -0
  177. package/dist/{src → types}/sync/v2/export/controls/index.d.ts +1 -0
  178. package/dist/types/sync/v2/export/controls/index.d.ts.map +1 -0
  179. package/dist/{src → types}/sync/v2/export/export.d.ts +1 -0
  180. package/dist/types/sync/v2/export/export.d.ts.map +1 -0
  181. package/dist/{src → types}/sync/v2/export/exportPage.d.ts +1 -0
  182. package/dist/types/sync/v2/export/exportPage.d.ts.map +1 -0
  183. package/dist/{src → types}/sync/v2/export/factory.d.ts +1 -0
  184. package/dist/types/sync/v2/export/factory.d.ts.map +1 -0
  185. package/dist/{src → types}/sync/v2/export/manifest.d.ts +1 -0
  186. package/dist/types/sync/v2/export/manifest.d.ts.map +1 -0
  187. package/dist/{src → types}/sync/v2/export/pages/AnalyticalListPage.d.ts +1 -0
  188. package/dist/types/sync/v2/export/pages/AnalyticalListPage.d.ts.map +1 -0
  189. package/dist/{src → types}/sync/v2/export/pages/ListReport.d.ts +1 -0
  190. package/dist/types/sync/v2/export/pages/ListReport.d.ts.map +1 -0
  191. package/dist/{src → types}/sync/v2/export/pages/ObjectPage.d.ts +1 -0
  192. package/dist/types/sync/v2/export/pages/ObjectPage.d.ts.map +1 -0
  193. package/dist/{src → types}/sync/v2/export/pages/OverviewPage.d.ts +1 -0
  194. package/dist/types/sync/v2/export/pages/OverviewPage.d.ts.map +1 -0
  195. package/dist/{src → types}/sync/v2/export/pages/index.d.ts +1 -0
  196. package/dist/types/sync/v2/export/pages/index.d.ts.map +1 -0
  197. package/dist/{src → types}/sync/v2/export/view-controller-generator.d.ts +1 -0
  198. package/dist/types/sync/v2/export/view-controller-generator.d.ts.map +1 -0
  199. package/dist/{src → types}/sync/v2/generate/analyticalListReport.d.ts +1 -0
  200. package/dist/types/sync/v2/generate/analyticalListReport.d.ts.map +1 -0
  201. package/dist/{src → types}/sync/v2/generate/generate.d.ts +1 -0
  202. package/dist/types/sync/v2/generate/generate.d.ts.map +1 -0
  203. package/dist/{src → types}/sync/v2/generate/index.d.ts +1 -0
  204. package/dist/types/sync/v2/generate/index.d.ts.map +1 -0
  205. package/dist/{src → types}/sync/v2/generate/listReport.d.ts +1 -0
  206. package/dist/types/sync/v2/generate/listReport.d.ts.map +1 -0
  207. package/dist/{src → types}/sync/v2/generate/objectPage.d.ts +1 -0
  208. package/dist/types/sync/v2/generate/objectPage.d.ts.map +1 -0
  209. package/dist/{src → types}/sync/v2/generate/overviewPage.d.ts +1 -0
  210. package/dist/types/sync/v2/generate/overviewPage.d.ts.map +1 -0
  211. package/dist/{src → types}/sync/v2/generate/utils.d.ts +1 -0
  212. package/dist/types/sync/v2/generate/utils.d.ts.map +1 -0
  213. package/dist/{src → types}/sync/v2/import/app/appProvider.d.ts +1 -0
  214. package/dist/types/sync/v2/import/app/appProvider.d.ts.map +1 -0
  215. package/dist/{src → types}/sync/v2/import/app/ovpProvider.d.ts +1 -0
  216. package/dist/types/sync/v2/import/app/ovpProvider.d.ts.map +1 -0
  217. package/dist/{src → types}/sync/v2/import/common/index.d.ts +1 -0
  218. package/dist/types/sync/v2/import/common/index.d.ts.map +1 -0
  219. package/dist/{src → types}/sync/v2/import/controls/table.d.ts +1 -0
  220. package/dist/types/sync/v2/import/controls/table.d.ts.map +1 -0
  221. package/dist/types/sync/v2/import/getPageType.d.ts +1 -0
  222. package/dist/types/sync/v2/import/getPageType.d.ts.map +1 -0
  223. package/dist/{src → types}/sync/v2/import/index.d.ts +1 -0
  224. package/dist/types/sync/v2/import/index.d.ts.map +1 -0
  225. package/dist/{src → types}/sync/v2/import/pages/analyticalListPage.d.ts +1 -0
  226. package/dist/types/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -0
  227. package/dist/{src → types}/sync/v2/import/pages/listReport.d.ts +1 -0
  228. package/dist/types/sync/v2/import/pages/listReport.d.ts.map +1 -0
  229. package/dist/{src → types}/sync/v2/import/pages/objectPage.d.ts +1 -0
  230. package/dist/types/sync/v2/import/pages/objectPage.d.ts.map +1 -0
  231. package/dist/{src → types}/sync/v2/import/pages/overviewPage.d.ts +1 -0
  232. package/dist/types/sync/v2/import/pages/overviewPage.d.ts.map +1 -0
  233. package/dist/{src → types}/sync/v2/import/utils.d.ts +1 -0
  234. package/dist/types/sync/v2/import/utils.d.ts.map +1 -0
  235. package/dist/{src → types}/sync/v2/types.d.ts +1 -0
  236. package/dist/types/sync/v2/types.d.ts.map +1 -0
  237. package/dist/{src → types}/sync/v4/utils/StableIdHelper.d.ts +1 -0
  238. package/dist/types/sync/v4/utils/StableIdHelper.d.ts.map +1 -0
  239. package/dist/{src → types}/v2.d.ts +1 -0
  240. package/dist/types/v2.d.ts.map +1 -0
  241. package/package.json +25 -28
  242. package/dist/documentation/runDocu-min.js.LICENSE.txt +0 -24
  243. package/dist/index-min.js.LICENSE.txt +0 -26
  244. package/dist/scripts/extractDocu.d.ts +0 -1
  245. package/dist/scripts/extractDocu.js +0 -485
  246. package/dist/scripts/extractDocu.js.map +0 -1
  247. package/dist/scripts/runDocu.d.ts +0 -1
  248. package/dist/scripts/runDocu.js +0 -570
  249. package/dist/scripts/runDocu.js.map +0 -1
  250. package/dist/scripts/spec.d.ts +0 -1
  251. package/dist/scripts/spec.js +0 -114
  252. package/dist/scripts/spec.js.map +0 -1
  253. package/dist/scripts/to-json-schema.d.ts +0 -10
  254. package/dist/scripts/to-json-schema.js +0 -112
  255. package/dist/scripts/to-json-schema.js.map +0 -1
  256. package/dist/specification/v2/index-min.js +0 -1
  257. package/dist/src/api.js +0 -123
  258. package/dist/src/api.js.map +0 -1
  259. package/dist/src/apiTypes.js +0 -3
  260. package/dist/src/apiTypes.js.map +0 -1
  261. package/dist/src/extensionLogger.js +0 -34
  262. package/dist/src/extensionLogger.js.map +0 -1
  263. package/dist/src/i18n/i18n.js +0 -25
  264. package/dist/src/i18n/i18n.js.map +0 -1
  265. package/dist/src/index.js +0 -12
  266. package/dist/src/index.js.map +0 -1
  267. package/dist/src/project.js +0 -151
  268. package/dist/src/project.js.map +0 -1
  269. package/dist/src/specification/common/Application.js +0 -3
  270. package/dist/src/specification/common/Application.js.map +0 -1
  271. package/dist/src/specification/common/i18n.json +0 -1
  272. package/dist/src/specification/common/index.js +0 -10
  273. package/dist/src/specification/common/index.js.map +0 -1
  274. package/dist/src/specification/common/page.js +0 -26
  275. package/dist/src/specification/common/page.js.map +0 -1
  276. package/dist/src/specification/common/types.js +0 -25
  277. package/dist/src/specification/common/types.js.map +0 -1
  278. package/dist/src/specification/common/webapp/manifest/Manifest.js +0 -17
  279. package/dist/src/specification/common/webapp/manifest/Manifest.js.map +0 -1
  280. package/dist/src/specification/common/webapp/manifest/index.js +0 -8
  281. package/dist/src/specification/common/webapp/manifest/index.js.map +0 -1
  282. package/dist/src/specification/common/webapp/manifest/sapOvp.js +0 -9
  283. package/dist/src/specification/common/webapp/manifest/sapOvp.js.map +0 -1
  284. package/dist/src/specification/common/webapp/manifest/sapUi5.js +0 -14
  285. package/dist/src/specification/common/webapp/manifest/sapUi5.js.map +0 -1
  286. package/dist/src/specification/schemaAccess.js +0 -62
  287. package/dist/src/specification/schemaAccess.js.map +0 -1
  288. package/dist/src/specification/v2/ApplicationV2.js +0 -3
  289. package/dist/src/specification/v2/ApplicationV2.js.map +0 -1
  290. package/dist/src/specification/v2/controls/Action.js +0 -15
  291. package/dist/src/specification/v2/controls/Action.js.map +0 -1
  292. package/dist/src/specification/v2/controls/AnalyticalListPageChart.js +0 -36
  293. package/dist/src/specification/v2/controls/AnalyticalListPageChart.js.map +0 -1
  294. package/dist/src/specification/v2/controls/AnalyticalListPageKPI.js +0 -3
  295. package/dist/src/specification/v2/controls/AnalyticalListPageKPI.js.map +0 -1
  296. package/dist/src/specification/v2/controls/Card.js +0 -53
  297. package/dist/src/specification/v2/controls/Card.js.map +0 -1
  298. package/dist/src/specification/v2/controls/Facets.js +0 -3
  299. package/dist/src/specification/v2/controls/Facets.js.map +0 -1
  300. package/dist/src/specification/v2/controls/Field.js +0 -3
  301. package/dist/src/specification/v2/controls/Field.js.map +0 -1
  302. package/dist/src/specification/v2/controls/FilterBar.js +0 -3
  303. package/dist/src/specification/v2/controls/FilterBar.js.map +0 -1
  304. package/dist/src/specification/v2/controls/Footer.js +0 -3
  305. package/dist/src/specification/v2/controls/Footer.js.map +0 -1
  306. package/dist/src/specification/v2/controls/ObjectPageChart.js +0 -3
  307. package/dist/src/specification/v2/controls/ObjectPageChart.js.map +0 -1
  308. package/dist/src/specification/v2/controls/ObjectPageForm.js +0 -3
  309. package/dist/src/specification/v2/controls/ObjectPageForm.js.map +0 -1
  310. package/dist/src/specification/v2/controls/ObjectPageHeader.js +0 -8
  311. package/dist/src/specification/v2/controls/ObjectPageHeader.js.map +0 -1
  312. package/dist/src/specification/v2/controls/ObjectPageLayout.js +0 -3
  313. package/dist/src/specification/v2/controls/ObjectPageLayout.js.map +0 -1
  314. package/dist/src/specification/v2/controls/ObjectPageSection.js +0 -13
  315. package/dist/src/specification/v2/controls/ObjectPageSection.js.map +0 -1
  316. package/dist/src/specification/v2/controls/ObjectPageTable.js +0 -7
  317. package/dist/src/specification/v2/controls/ObjectPageTable.js.map +0 -1
  318. package/dist/src/specification/v2/controls/ObjectPageToolBar.js +0 -3
  319. package/dist/src/specification/v2/controls/ObjectPageToolBar.js.map +0 -1
  320. package/dist/src/specification/v2/controls/Table.js +0 -51
  321. package/dist/src/specification/v2/controls/Table.js.map +0 -1
  322. package/dist/src/specification/v2/controls/ToolBar.js +0 -3
  323. package/dist/src/specification/v2/controls/ToolBar.js.map +0 -1
  324. package/dist/src/specification/v2/controls/index.js +0 -13
  325. package/dist/src/specification/v2/controls/index.js.map +0 -1
  326. package/dist/src/specification/v2/index.js +0 -9
  327. package/dist/src/specification/v2/index.js.map +0 -1
  328. package/dist/src/specification/v2/page.js +0 -3
  329. package/dist/src/specification/v2/page.js.map +0 -1
  330. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.js +0 -3
  331. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.js.map +0 -1
  332. package/dist/src/specification/v2/pages/ListReportConfig.js +0 -3
  333. package/dist/src/specification/v2/pages/ListReportConfig.js.map +0 -1
  334. package/dist/src/specification/v2/pages/ObjectPageConfig.js +0 -3
  335. package/dist/src/specification/v2/pages/ObjectPageConfig.js.map +0 -1
  336. package/dist/src/specification/v2/pages/OverviewPageConfig.js +0 -8
  337. package/dist/src/specification/v2/pages/OverviewPageConfig.js.map +0 -1
  338. package/dist/src/specification/v2/pages/index.js +0 -7
  339. package/dist/src/specification/v2/pages/index.js.map +0 -1
  340. package/dist/src/specification/v2/webapp/index.d.ts +0 -1
  341. package/dist/src/specification/v2/webapp/index.js +0 -7
  342. package/dist/src/specification/v2/webapp/index.js.map +0 -1
  343. package/dist/src/specification/v2/webapp/manifest/index.js +0 -8
  344. package/dist/src/specification/v2/webapp/manifest/index.js.map +0 -1
  345. package/dist/src/specification/v2/webapp/manifest/sapUi.js +0 -3
  346. package/dist/src/specification/v2/webapp/manifest/sapUi.js.map +0 -1
  347. package/dist/src/specification/v2/webapp/manifest/sapUi5.js +0 -9
  348. package/dist/src/specification/v2/webapp/manifest/sapUi5.js.map +0 -1
  349. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.js +0 -7
  350. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.js.map +0 -1
  351. package/dist/src/sync/common/appProvider.js +0 -59
  352. package/dist/src/sync/common/appProvider.js.map +0 -1
  353. package/dist/src/sync/common/decoration/control.js +0 -211
  354. package/dist/src/sync/common/decoration/control.js.map +0 -1
  355. package/dist/src/sync/common/decoration/decorators.js +0 -45
  356. package/dist/src/sync/common/decoration/decorators.js.map +0 -1
  357. package/dist/src/sync/common/decoration/factory.js +0 -48
  358. package/dist/src/sync/common/decoration/factory.js.map +0 -1
  359. package/dist/src/sync/common/decoration/flex.js +0 -8
  360. package/dist/src/sync/common/decoration/flex.js.map +0 -1
  361. package/dist/src/sync/common/decoration/index.js +0 -9
  362. package/dist/src/sync/common/decoration/index.js.map +0 -1
  363. package/dist/src/sync/common/flexUtils.js +0 -94
  364. package/dist/src/sync/common/flexUtils.js.map +0 -1
  365. package/dist/src/sync/common/generate/index.js +0 -8
  366. package/dist/src/sync/common/generate/index.js.map +0 -1
  367. package/dist/src/sync/common/generate/objectPage.js +0 -355
  368. package/dist/src/sync/common/generate/objectPage.js.map +0 -1
  369. package/dist/src/sync/common/generate/utils.js +0 -381
  370. package/dist/src/sync/common/generate/utils.js.map +0 -1
  371. package/dist/src/sync/common/i18n.json +0 -21
  372. package/dist/src/sync/common/import/utils.js +0 -92
  373. package/dist/src/sync/common/import/utils.js.map +0 -1
  374. package/dist/src/sync/common/importProject.js +0 -259
  375. package/dist/src/sync/common/importProject.js.map +0 -1
  376. package/dist/src/sync/common/index.js +0 -15
  377. package/dist/src/sync/common/index.js.map +0 -1
  378. package/dist/src/sync/common/types.js +0 -213
  379. package/dist/src/sync/common/types.js.map +0 -1
  380. package/dist/src/sync/common/utils.js +0 -1068
  381. package/dist/src/sync/common/utils.js.map +0 -1
  382. package/dist/src/sync/i18n.js +0 -15
  383. package/dist/src/sync/i18n.js.map +0 -1
  384. package/dist/src/sync/v2/application.js +0 -155
  385. package/dist/src/sync/v2/application.js.map +0 -1
  386. package/dist/src/sync/v2/export/controls/Action.js +0 -127
  387. package/dist/src/sync/v2/export/controls/Action.js.map +0 -1
  388. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js +0 -61
  389. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +0 -1
  390. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js +0 -56
  391. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +0 -1
  392. package/dist/src/sync/v2/export/controls/Card.js +0 -655
  393. package/dist/src/sync/v2/export/controls/Card.js.map +0 -1
  394. package/dist/src/sync/v2/export/controls/Field.js +0 -32
  395. package/dist/src/sync/v2/export/controls/Field.js.map +0 -1
  396. package/dist/src/sync/v2/export/controls/FilterBar.js +0 -107
  397. package/dist/src/sync/v2/export/controls/FilterBar.js.map +0 -1
  398. package/dist/src/sync/v2/export/controls/FormAction.js +0 -128
  399. package/dist/src/sync/v2/export/controls/FormAction.js.map +0 -1
  400. package/dist/src/sync/v2/export/controls/Fragment.js +0 -580
  401. package/dist/src/sync/v2/export/controls/Fragment.js.map +0 -1
  402. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js +0 -110
  403. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +0 -1
  404. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js +0 -62
  405. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +0 -1
  406. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js +0 -60
  407. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +0 -1
  408. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js +0 -62
  409. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +0 -1
  410. package/dist/src/sync/v2/export/controls/ObjectPageLayout.js +0 -59
  411. package/dist/src/sync/v2/export/controls/ObjectPageLayout.js.map +0 -1
  412. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +0 -193
  413. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +0 -1
  414. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +0 -278
  415. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +0 -1
  416. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js +0 -61
  417. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +0 -1
  418. package/dist/src/sync/v2/export/controls/Table.js +0 -593
  419. package/dist/src/sync/v2/export/controls/Table.js.map +0 -1
  420. package/dist/src/sync/v2/export/controls/TableColumn.js +0 -166
  421. package/dist/src/sync/v2/export/controls/TableColumn.js.map +0 -1
  422. package/dist/src/sync/v2/export/controls/ToolBar.js +0 -6
  423. package/dist/src/sync/v2/export/controls/ToolBar.js.map +0 -1
  424. package/dist/src/sync/v2/export/controls/index.js +0 -25
  425. package/dist/src/sync/v2/export/controls/index.js.map +0 -1
  426. package/dist/src/sync/v2/export/export.js +0 -682
  427. package/dist/src/sync/v2/export/export.js.map +0 -1
  428. package/dist/src/sync/v2/export/exportPage.js +0 -305
  429. package/dist/src/sync/v2/export/exportPage.js.map +0 -1
  430. package/dist/src/sync/v2/export/factory.js +0 -56
  431. package/dist/src/sync/v2/export/factory.js.map +0 -1
  432. package/dist/src/sync/v2/export/manifest.js +0 -169
  433. package/dist/src/sync/v2/export/manifest.js.map +0 -1
  434. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js +0 -44
  435. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +0 -1
  436. package/dist/src/sync/v2/export/pages/ListReport.js +0 -41
  437. package/dist/src/sync/v2/export/pages/ListReport.js.map +0 -1
  438. package/dist/src/sync/v2/export/pages/ObjectPage.js +0 -74
  439. package/dist/src/sync/v2/export/pages/ObjectPage.js.map +0 -1
  440. package/dist/src/sync/v2/export/pages/OverviewPage.js +0 -118
  441. package/dist/src/sync/v2/export/pages/OverviewPage.js.map +0 -1
  442. package/dist/src/sync/v2/export/pages/index.js +0 -10
  443. package/dist/src/sync/v2/export/pages/index.js.map +0 -1
  444. package/dist/src/sync/v2/export/view-controller-generator.js +0 -141
  445. package/dist/src/sync/v2/export/view-controller-generator.js.map +0 -1
  446. package/dist/src/sync/v2/generate/analyticalListReport.js +0 -84
  447. package/dist/src/sync/v2/generate/analyticalListReport.js.map +0 -1
  448. package/dist/src/sync/v2/generate/generate.js +0 -99
  449. package/dist/src/sync/v2/generate/generate.js.map +0 -1
  450. package/dist/src/sync/v2/generate/index.js +0 -14
  451. package/dist/src/sync/v2/generate/index.js.map +0 -1
  452. package/dist/src/sync/v2/generate/listReport.js +0 -116
  453. package/dist/src/sync/v2/generate/listReport.js.map +0 -1
  454. package/dist/src/sync/v2/generate/objectPage.js +0 -537
  455. package/dist/src/sync/v2/generate/objectPage.js.map +0 -1
  456. package/dist/src/sync/v2/generate/overviewPage.js +0 -70
  457. package/dist/src/sync/v2/generate/overviewPage.js.map +0 -1
  458. package/dist/src/sync/v2/generate/utils.js +0 -526
  459. package/dist/src/sync/v2/generate/utils.js.map +0 -1
  460. package/dist/src/sync/v2/import/app/appProvider.js +0 -145
  461. package/dist/src/sync/v2/import/app/appProvider.js.map +0 -1
  462. package/dist/src/sync/v2/import/app/ovpProvider.js +0 -33
  463. package/dist/src/sync/v2/import/app/ovpProvider.js.map +0 -1
  464. package/dist/src/sync/v2/import/common/index.js +0 -395
  465. package/dist/src/sync/v2/import/common/index.js.map +0 -1
  466. package/dist/src/sync/v2/import/controls/table.js +0 -32
  467. package/dist/src/sync/v2/import/controls/table.js.map +0 -1
  468. package/dist/src/sync/v2/import/getPageType.d.ts +0 -0
  469. package/dist/src/sync/v2/import/getPageType.js +0 -1
  470. package/dist/src/sync/v2/import/getPageType.js.map +0 -1
  471. package/dist/src/sync/v2/import/index.js +0 -11
  472. package/dist/src/sync/v2/import/index.js.map +0 -1
  473. package/dist/src/sync/v2/import/pages/analyticalListPage.js +0 -119
  474. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +0 -1
  475. package/dist/src/sync/v2/import/pages/listReport.js +0 -143
  476. package/dist/src/sync/v2/import/pages/listReport.js.map +0 -1
  477. package/dist/src/sync/v2/import/pages/objectPage.js +0 -745
  478. package/dist/src/sync/v2/import/pages/objectPage.js.map +0 -1
  479. package/dist/src/sync/v2/import/pages/overviewPage.js +0 -107
  480. package/dist/src/sync/v2/import/pages/overviewPage.js.map +0 -1
  481. package/dist/src/sync/v2/import/utils.js +0 -149
  482. package/dist/src/sync/v2/import/utils.js.map +0 -1
  483. package/dist/src/sync/v2/types.js +0 -36
  484. package/dist/src/sync/v2/types.js.map +0 -1
  485. package/dist/src/sync/v4/utils/StableIdHelper.js +0 -156
  486. package/dist/src/sync/v4/utils/StableIdHelper.js.map +0 -1
  487. package/dist/src/v2.js +0 -8
  488. package/dist/src/v2.js.map +0 -1
  489. package/dist/test/test-data/flexChange/v2/stta.prod.man/index.d.ts +0 -7
  490. package/dist/test/test-projects/index.d.ts +0 -2
  491. package/dist/test/test-utils/utils.d.ts +0 -33
  492. package/dist/test/unit/customSections/exportV2.test.d.ts +0 -1
  493. package/dist/test/unit/customSections/generateFacetsSchemaV2.test.d.ts +0 -1
  494. package/dist/test/unit/customSections/importV2.test.d.ts +0 -1
  495. package/dist/test/unit/export/exportALPV2.test.d.ts +0 -1
  496. package/dist/test/unit/export/exportAppV2.test.d.ts +0 -1
  497. package/dist/test/unit/export/exportLRPV2.test.d.ts +0 -1
  498. package/dist/test/unit/export/exportLRPV2CustomColumns.test.d.ts +0 -1
  499. package/dist/test/unit/export/exportOVPV2.test.d.ts +0 -1
  500. package/dist/test/unit/export/exportObjectPageV2.test.d.ts +0 -1
  501. package/dist/test/unit/export/flexUtils.test.d.ts +0 -1
  502. package/dist/test/unit/export/manifest.test.d.ts +0 -1
  503. package/dist/test/unit/fcl/exportV2.test.d.ts +0 -1
  504. package/dist/test/unit/fcl/importV2.test.d.ts +0 -1
  505. package/dist/test/unit/generateAppSchema/generateAppSchemaALPV2.test.d.ts +0 -1
  506. package/dist/test/unit/generateAppSchema/generateAppSchemaLRV2.test.d.ts +0 -1
  507. package/dist/test/unit/generateAppSchema/generateAppSchemaOPV2.test.d.ts +0 -1
  508. package/dist/test/unit/generateAppSchema/generateAppSchemaOVPV2.test.d.ts +0 -1
  509. package/dist/test/unit/generateGenericSchema/generateGenericSchemaAppV2.test.d.ts +0 -1
  510. package/dist/test/unit/generateGenericSchema/generateGenericSchemaLRV2.test.d.ts +0 -1
  511. package/dist/test/unit/generateGenericSchema/generateGenericSchemaOPV2.test.d.ts +0 -1
  512. package/dist/test/unit/generateGenericSchema/generateI18nV2.test.d.ts +0 -1
  513. package/dist/test/unit/generateGenericSchema/genericSchemas.test.d.ts +0 -1
  514. package/dist/test/unit/import/importALPV2.test.d.ts +0 -1
  515. package/dist/test/unit/import/importAppV2.test.d.ts +0 -1
  516. package/dist/test/unit/import/importLRPV2.test.d.ts +0 -1
  517. package/dist/test/unit/import/importOPV2.test.d.ts +0 -1
  518. package/dist/test/unit/import/importOVPV2.test.d.ts +0 -1
  519. package/dist/test/unit/index.test.d.ts +0 -1
  520. package/dist/test/unit/projects.test.d.ts +0 -1
  521. package/dist/test/unit/schemaAccess.test.d.ts +0 -1
  522. package/dist/test/unit/utils.test.d.ts +0 -1
  523. package/dist/test/unit/view-controller-generator.test.d.ts +0 -1
@@ -1,381 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const __1 = require("..");
4
- /**
5
- * Adds an enum filled with existing UI annotations of the given list (validAnnotations)
6
- * @param {EntityType} entityType
7
- * @param {UIAnnotationTerms[]} validAnnotations
8
- * @param {Definition} annoPath - the annotation path property in the app schema where the enum shall be added
9
- */
10
- function addEnumForValidAnnotations(entityType, validAnnotations, annoPath) {
11
- const UiAnnotations = entityType.annotations.UI;
12
- if (!UiAnnotations) {
13
- return;
14
- }
15
- const enumEntries = annoPath['enum'] ? annoPath['enum'] : [];
16
- for (const key in UiAnnotations) {
17
- const annotation = UiAnnotations[key];
18
- if (validAnnotations.indexOf(annotation.term) > -1) {
19
- const enumEntry = annotation.qualifier
20
- ? `${annotation.term}#${annotation.qualifier}`
21
- : `${annotation.term}`;
22
- if (enumEntries.indexOf(enumEntry) === -1) {
23
- enumEntries.push(enumEntry);
24
- }
25
- }
26
- }
27
- if (enumEntries.length > 0) {
28
- annoPath['enum'] = enumEntries;
29
- }
30
- }
31
- exports.addEnumForValidAnnotations = addEnumForValidAnnotations;
32
- /**
33
- * Adds an enum filled with existing UI annotations for single-tab variants of a table
34
- * @param {EntityType} entityType
35
- * @param {Definition} appSchema - app specific JSON schema
36
- * @param definitionName - name of the definition in the app schema
37
- */
38
- function addEnumForSingleTabVariant(entityType, appSchema, definitionName) {
39
- const annoPath = appSchema.definitions[definitionName].properties.annotationPath;
40
- const validAnnotations = ["com.sap.vocabularies.UI.v1.SelectionVariant" /* SelectionVariant */, "com.sap.vocabularies.UI.v1.SelectionPresentationVariant" /* SelectionPresentationVariant */];
41
- addEnumForValidAnnotations(entityType, validAnnotations, annoPath);
42
- }
43
- exports.addEnumForSingleTabVariant = addEnumForSingleTabVariant;
44
- /**
45
- * Adds an enum filled with existing UI annotations for multi-tab variants of a table
46
- * @param appSchema - app specific JSOn schema
47
- * @param definitionName - name of the definition in the app schema
48
- * @param {EntitySet} entitySet - current entity set of the page or view
49
- */
50
- function addEnumForMultiTabVariant(appSchema, definitionName, entitySet) {
51
- var _a;
52
- const annoPath = (_a = appSchema.definitions[definitionName]) === null || _a === void 0 ? void 0 : _a.properties.annotationPath;
53
- const validAnnotations = ["com.sap.vocabularies.UI.v1.SelectionVariant" /* SelectionVariant */, "com.sap.vocabularies.UI.v1.SelectionPresentationVariant" /* SelectionPresentationVariant */];
54
- addEnumForValidAnnotations(entitySet.entityType, validAnnotations, annoPath);
55
- }
56
- exports.addEnumForMultiTabVariant = addEnumForMultiTabVariant;
57
- /**
58
- * Adds the enum values for entitySet as part of the multiple view scenario
59
- * @param {ConvertedMetadata} oDataServiceAVT - combined service metadata, as returned by annotation vocabularies tools
60
- * @param appSchema - app specific JSON schema
61
- * @param definitionName - name of the definition in the app schema
62
- */
63
- function addEnumForVariantEntitySet(oDataServiceAVT, appSchema, definitionName) {
64
- const entitySet = appSchema.definitions[definitionName].properties.entitySet;
65
- const enumEntries = [];
66
- oDataServiceAVT.entitySets.forEach((es) => {
67
- enumEntries.push(es.name);
68
- });
69
- if (enumEntries.length > 0) {
70
- entitySet['enum'] = enumEntries;
71
- }
72
- }
73
- exports.addEnumForVariantEntitySet = addEnumForVariantEntitySet;
74
- /**
75
- * Method adds definition for 'RelatedFacetKeys' as enum with describtion and adds references to 'RelatedFacetKeys' for custom section definitions.
76
- * @param {object} appSchema App specific schema that potentially gets enhanced
77
- * @param {string[]>} sectionDefinitions array of section definitions which should be updated with new reference to 'RelatedFacetKeys' enum.
78
- * @param {FacetSection[]} facetSections Array of facet section objects which is used to generate enum values.
79
- * @param {Array<keyof Omit<FacetSection, 'custom'>>} idProperties Array of property names which should be looked up in 'FacetSection' object.
80
- * Please note that method depends on order and takes first non empty value associated to passed properties.
81
- */
82
- function addDefinitionForRelatedFacetKeys(appSchema, sectionDefinitions, facetSections, idProperties) {
83
- const oneOfSections = facetSections.map((section) => {
84
- // Loop accaptable properties in received order and find first entry with value
85
- const propertyName = idProperties.find((property) => !!section[property]);
86
- const schemaIdForSection = section[propertyName];
87
- return Object.assign(Object.assign({ const: schemaIdForSection }, (section.label && { description: section.label })), (section.custom && { custom: section.custom }));
88
- });
89
- // Change 'relatedFacet' only when we have entries for sections - otherwise use generic.
90
- if (oneOfSections.length) {
91
- // Create new definition in schema as 'oneOf'.
92
- // Simpler way would be to use 'enum', but then there no option to pass description.
93
- appSchema['definitions']['RelatedFacetKeys'] = {
94
- type: 'string',
95
- oneOf: oneOfSections
96
- };
97
- // Add enum definition
98
- for (const name of sectionDefinitions) {
99
- const definition = appSchema['definitions'][name];
100
- const property = definition.properties['relatedFacet'];
101
- definition.properties['relatedFacet'] = {
102
- anyOf: [
103
- {
104
- $ref: __1.DEFINITION_LINK_PREFIX + 'RelatedFacetKeys'
105
- },
106
- property
107
- ]
108
- };
109
- }
110
- }
111
- }
112
- exports.addDefinitionForRelatedFacetKeys = addDefinitionForRelatedFacetKeys;
113
- /**
114
- * Receives a facet key and returns the key as used in schema
115
- * @param facetKey - key of the facet, as used in annotation
116
- * @returns facetKeyInSchema - key of the facet, as used in schema
117
- */
118
- function getFacetKeyInSchema(facetKey) {
119
- return facetKey.replace('#', '::');
120
- }
121
- exports.getFacetKeyInSchema = getFacetKeyInSchema;
122
- /**
123
- * Returns the name of a facet and definition, as key in definition
124
- * @param definition name of definition, as used in schema
125
- * @param facetKey - key of the facet, as used in annotation
126
- * @returns definition key of facet, as used in definition
127
- */
128
- function getFacetDefinitionKey(definition, facetKey) {
129
- return `${definition}<${getFacetKeyInSchema(facetKey)}>`;
130
- }
131
- /**
132
- * Adds an existing schema definition to a new definition in the app schema
133
- * @param definition name of definition, as used in schema
134
- * @param facetKey - key of the facet, as used in annotation
135
- * @param {Definition} appSchema App schema in general
136
- * @param {boolean} useDefinitionAsKey If set to false, facet key will solely be used as key, else encapsulated within definition key `definition<facetKey>`
137
- * @param subDefinitionName - sub definition, if different from the definition (e.g. subsection vs. section)
138
- * @returns {Definition} part of app schema that has been added and filled
139
- */
140
- function parseSchemaDefinition(definition, facetKey, appSchema, useDefinitionAsKey = true, subDefinitionName) {
141
- let facetDefinitionKey = facetKey;
142
- if (useDefinitionAsKey) {
143
- facetDefinitionKey = getFacetDefinitionKey(subDefinitionName ? subDefinitionName : definition, facetKey);
144
- }
145
- if (definition && definition !== facetDefinitionKey) {
146
- const schemaDefinition = JSON.parse(JSON.stringify(appSchema.definitions[definition]));
147
- appSchema.definitions[facetDefinitionKey] = schemaDefinition;
148
- }
149
- return appSchema.definitions[facetDefinitionKey];
150
- }
151
- exports.parseSchemaDefinition = parseSchemaDefinition;
152
- /**
153
- * Functions used both by V2 and V4 to add the common definitions for a line item to the app schema
154
- * @param appSchema - the app specific schema that shall get enhanced
155
- * @param lineItemAnnotation - the UI.LineItem annotation, comprising all records
156
- * @param entityType - the entity type as part of the AVT ConvertedMetadata
157
- * @param lineItemId - line item ID, as comprise in stable ID
158
- * @returns the actions definition plus the annotation path to the given line item
159
- */
160
- function addCommonLineItemDefinitions(appSchema, lineItemAnnotation, entityType, lineItemId) {
161
- let lineItemPath;
162
- appSchema.definitions[lineItemId] = {
163
- type: 'object',
164
- properties: {},
165
- description: 'Columns'
166
- };
167
- appSchema.definitions[lineItemId].additionalProperties = false;
168
- appSchema.definitions[lineItemId][__1.SchemaTag.isViewNode] = true;
169
- // Copy toolbar
170
- const toolBar = lineItemId.startsWith(__1.DefinitionName.LineItems) ? 'ToolBar' : 'ObjectPageToolBar';
171
- const schemaIdForToolBar = `${toolBar}<${lineItemId}>`;
172
- appSchema.definitions[schemaIdForToolBar] = JSON.parse(JSON.stringify(appSchema.definitions[`${toolBar}`]));
173
- const schemaIdForActions = `Actions<${__1.prepareRef(lineItemId)}>`;
174
- appSchema.definitions[schemaIdForToolBar].properties.actions['$ref'] =
175
- __1.DEFINITION_LINK_PREFIX + schemaIdForActions;
176
- const actionId = lineItemId.startsWith(__1.DefinitionName.LineItems) ? 'Actions' : 'ObjectPageToolBarActions';
177
- const actions = (appSchema.definitions[schemaIdForActions] = JSON.parse(JSON.stringify(appSchema.definitions[actionId])));
178
- actions.properties = {};
179
- actions.additionalProperties = false;
180
- // Copy LR footer
181
- let footerActions, schemaIdForFooter;
182
- if (lineItemId === __1.DefinitionName.LineItems && appSchema.properties['footer']) {
183
- schemaIdForFooter = `Footer<${lineItemId}>`;
184
- appSchema.properties['footer'].$ref = __1.DEFINITION_LINK_PREFIX + schemaIdForFooter;
185
- appSchema.definitions[schemaIdForFooter] = JSON.parse(JSON.stringify(appSchema.definitions[`GenericFooter`]));
186
- const schemaIdForFooterActions = `FooterActions<${__1.prepareRef(lineItemId)}>`;
187
- appSchema.definitions[schemaIdForFooter].properties.actions['$ref'] =
188
- __1.DEFINITION_LINK_PREFIX + schemaIdForFooterActions;
189
- footerActions = appSchema.definitions[schemaIdForFooterActions] = JSON.parse(JSON.stringify(appSchema.definitions[`Actions`]));
190
- footerActions.properties = {};
191
- footerActions.additionalProperties = false;
192
- }
193
- //Determine annotation path
194
- if (lineItemAnnotation) {
195
- lineItemPath = __1.createAnnotationPath(entityType.fullyQualifiedName, lineItemAnnotation.term, lineItemAnnotation.qualifier);
196
- appSchema.definitions[lineItemId][__1.SchemaTag.annotationPath] = appSchema.definitions[schemaIdForToolBar][__1.SchemaTag.annotationPath] = lineItemPath;
197
- if (footerActions) {
198
- appSchema.definitions[schemaIdForFooter][__1.SchemaTag.annotationPath] = lineItemPath;
199
- }
200
- }
201
- return { actions, footerActions, lineItemPath };
202
- }
203
- exports.addCommonLineItemDefinitions = addCommonLineItemDefinitions;
204
- /**
205
- * Add schema definitions for fields of createWithParameterDialog
206
- * @param {object} appSchema - Application-specific schema, to be enhanced
207
- * @param {EntityType} entityType - Given entity type for which entries shall get generated
208
- * @param {string=} floorplanSuffix - floorplan specific suffix (optional)
209
- */
210
- function addFieldsType(appSchema, entityType, floorplanSuffix = '') {
211
- const propertyNameArray = [], propertyObject = {};
212
- const fieldPathRef = `FieldPath${__1.prepareRef(floorplanSuffix)}`;
213
- for (const key of entityType.entityProperties) {
214
- const propertyName = key.name;
215
- propertyNameArray.push(propertyName);
216
- propertyObject[propertyName] = {
217
- $ref: `${__1.DEFINITION_LINK_PREFIX}${fieldPathRef}`
218
- };
219
- }
220
- appSchema.definitions[entityType.name] = {
221
- enum: propertyNameArray
222
- };
223
- appSchema.definitions[fieldPathRef].properties.path = {
224
- $ref: `${__1.DEFINITION_LINK_PREFIX}${entityType.name}`
225
- };
226
- const creationFieldsRef = `CreationFieldKeys${__1.prepareRef(floorplanSuffix)}`;
227
- appSchema.definitions[creationFieldsRef] = {
228
- type: 'object',
229
- properties: propertyObject,
230
- additionalProperties: false
231
- };
232
- const fields4Dialog = appSchema['definitions'][`Fields4Dialog${floorplanSuffix}`];
233
- fields4Dialog.properties.fields.$ref = `${__1.DEFINITION_LINK_PREFIX}${creationFieldsRef}`;
234
- }
235
- exports.addFieldsType = addFieldsType;
236
- var DataType;
237
- (function (DataType) {
238
- DataType["String"] = "String";
239
- DataType["Rating"] = "Rating";
240
- DataType["Progress"] = "Progress";
241
- DataType["DataPoint"] = "DataPoint";
242
- DataType["Contact"] = "Contact";
243
- DataType["Address"] = "Address";
244
- DataType["Chart"] = "Chart";
245
- DataType["FieldGroup"] = "FieldGroup";
246
- DataType["IntentBasedNavigation"] = "IntentBasedNavigation";
247
- })(DataType = exports.DataType || (exports.DataType = {}));
248
- function determineDataTypeOfTarget(field) {
249
- var _a, _b;
250
- let dataType;
251
- const target = field['Target'].$target;
252
- if (!target) {
253
- return dataType;
254
- }
255
- if (target.Value) {
256
- if (target.Visualization === 'UI.VisualizationType/Rating') {
257
- dataType = DataType.Rating;
258
- }
259
- else if (target.Visualization === 'UI.VisualizationType/Progress') {
260
- dataType = DataType.Progress;
261
- }
262
- else if (target.$Type === 'com.sap.vocabularies.UI.v1.DataPointType') {
263
- dataType = DataType.DataPoint;
264
- }
265
- else {
266
- dataType = (_b = (_a = target.Value) === null || _a === void 0 ? void 0 : _a.$target) === null || _b === void 0 ? void 0 : _b.type.replace('Edm.', '');
267
- }
268
- }
269
- else if (target.$Type === 'com.sap.vocabularies.Communication.v1.ContactType') {
270
- dataType = DataType.Contact;
271
- }
272
- else if (target.$Type === 'com.sap.vocabularies.Communication.v1.AddressType') {
273
- dataType = DataType.Address;
274
- }
275
- else if (target.$Type === 'com.sap.vocabularies.UI.v1.ChartDefinitionType') {
276
- dataType = DataType.Chart;
277
- }
278
- else if (target.$Type === 'com.sap.vocabularies.UI.v1.FieldGroupType') {
279
- dataType = DataType.FieldGroup;
280
- }
281
- return dataType;
282
- }
283
- /**
284
- * Determines the dataType that shall be added to a property in schema, for any kind of field like
285
- * - feld of a field group
286
- * - line item record
287
- * - selection field
288
- * @param field - the given field
289
- * @returns - the dataType as string
290
- */
291
- function determineDataType(field) {
292
- var _a;
293
- let dataType;
294
- if (field['Value']) {
295
- if ((_a = field['Value'].$target) === null || _a === void 0 ? void 0 : _a.type) {
296
- dataType = field['Value'].$target.type.replace('Edm.', '');
297
- }
298
- else {
299
- dataType = DataType.String;
300
- }
301
- }
302
- else if (field['Target']) {
303
- dataType = determineDataTypeOfTarget(field);
304
- }
305
- else if (field['$target']) {
306
- dataType = field['$target'].type.replace('Edm.', '');
307
- }
308
- else if (field['$Type'] === 'com.sap.vocabularies.UI.v1.DataFieldForAction') {
309
- dataType = 'Action';
310
- }
311
- else if (field['$Type'] === 'com.sap.vocabularies.UI.v1.DataFieldWithUrl') {
312
- dataType = 'Url';
313
- }
314
- else if (field['$Type'] === 'com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation') {
315
- dataType = DataType.IntentBasedNavigation;
316
- }
317
- else if (field['type']) {
318
- dataType = field['type'];
319
- }
320
- return dataType;
321
- }
322
- exports.determineDataType = determineDataType;
323
- /**
324
- * Adds the dataType to the given schema field definition, if the data type cane be determined
325
- * @param definition - given schema definition
326
- * @param field - given field definition = annotation property, at AVT
327
- */
328
- function addDataTypeToDefinition(definition, field) {
329
- const dataType = determineDataType(field);
330
- if (dataType) {
331
- definition[__1.SchemaTag.dataType] = dataType;
332
- }
333
- }
334
- exports.addDataTypeToDefinition = addDataTypeToDefinition;
335
- /**
336
- * Creates a definition link for a facet and definition name
337
- * @param definition name of definition, as used in schema
338
- * @param facetKey - key of the facet, as used in annotation
339
- * @returns definition link of facet, as used in definition
340
- */
341
- function getFacetDefinitionLink(definition, facetKey) {
342
- return `${__1.DEFINITION_LINK_PREFIX}${getFacetDefinitionKey(definition, facetKey)}`;
343
- }
344
- exports.getFacetDefinitionLink = getFacetDefinitionLink;
345
- /**
346
- * Extracts annotationPath from facet or Chart/LineItem fullyQualifiedName
347
- * @param facet facet or Chart/LineItem
348
- * @returns {string} annotationPath
349
- */
350
- function getFacetAnnotationPath(facet) {
351
- if (facet.annotationPath) {
352
- return facet.annotationPath;
353
- }
354
- else if (facet['fullyQualifiedName']) {
355
- const [namespace, target] = facet['fullyQualifiedName'].split(`@${__1.UIVOCABULARY}`);
356
- return `/${namespace}/@${__1.UIVOCABULARY}${target}`;
357
- }
358
- return undefined;
359
- }
360
- exports.getFacetAnnotationPath = getFacetAnnotationPath;
361
- /**
362
- * Adds definitions for Address and Contact items in object page sections to the app schema
363
- * @param {FacetConfig} facet - current facet.
364
- * @param {string} facetKey - facet key.
365
- * @param {object} sections - schema of current sections definition.
366
- * @param {object} appSchema - app specific schema that potentially gets enhanced.
367
- * @param {SectionType} sectionPrefix - prefix to distinguish Section and HeaderSection
368
- */
369
- function handleAddressContact(facet, facetKey, sections, appSchema, sectionPrefix, subSectionPrefix, versionPostfix = '') {
370
- const definitionName = `ObjectPage${sectionPrefix}${facet.base}${versionPostfix}`;
371
- const subDefinitionName = `ObjectPage${subSectionPrefix}${facet.base}${versionPostfix}`;
372
- sections.properties[facetKey] = {
373
- $ref: getFacetDefinitionLink(subSectionPrefix ? subDefinitionName : definitionName, facetKey)
374
- };
375
- const definition = parseSchemaDefinition(subSectionPrefix ? subDefinitionName : definitionName, facetKey, appSchema, true, subSectionPrefix ? subDefinitionName : undefined);
376
- __1.addSectionTitleAndDescription(facet, definition, facetKey);
377
- definition[__1.SchemaTag.annotationPath] = facet.annotationPath;
378
- definition[__1.SchemaTag.isViewNode] = true;
379
- }
380
- exports.handleAddressContact = handleAddressContact;
381
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/sync/common/generate/utils.ts"],"names":[],"mappings":";;AAMA,0BAQY;AAEZ;;;;;GAKG;AACH,SAAgB,0BAA0B,CACtC,UAAsB,EACtB,gBAAqC,EACrC,QAAoB;IAEpB,MAAM,aAAa,GAAG,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC;IAChD,IAAI,CAAC,aAAa,EAAE;QAChB,OAAO;KACV;IACD,MAAM,WAAW,GAAG,QAAQ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,OAAO,IAAI,SAAS,KAAK,gBAAY,GAAG,MAAM,EAAE,CAAC;KACpD;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wDAQC;AAED;;;;;;;GAOG;AACH,SAAgB,oBAAoB,CAChC,KAAkB,EAClB,QAAgB,EAChB,QAAoB,EACpB,SAAqB,EACrB,aAA0B,EAC1B,gBAA8B,EAC9B,cAAc,GAAG,EAAE;IAEnB,MAAM,cAAc,GAAG,aAAa,aAAa,GAAG,KAAK,CAAC,IAAI,GAAG,cAAc,EAAoB,CAAC;IACpG,MAAM,iBAAiB,GAAG,aAAa,gBAAgB,GAAG,KAAK,CAAC,IAAI,GAAG,cAAc,EAAoB,CAAC;IAC1G,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG;QAC5B,IAAI,EAAE,sBAAsB,CAAC,gBAAgB,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,cAAc,EAAE,QAAQ,CAAC;KAChG,CAAC;IACF,MAAM,UAAU,GAAG,qBAAqB,CACpC,gBAAgB,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,cAAc,EACrD,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,gBAAgB,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CACnD,CAAC;IACF,iCAA6B,CAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;IAC3D,UAAU,CAAC,aAAS,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,cAAc,CAAC;IAC5D,UAAU,CAAC,aAAS,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;AAC5C,CAAC;AAxBD,oDAwBC"}
@@ -1,21 +0,0 @@
1
- {
2
- "NOBASEPATH": "No base path was passed in the API call for creating a custom call, app id = '{{- appId}}'",
3
- "NOPAGES": "No pages found in manifest for app with id '{{- appId}}'",
4
- "NOFE": "The manifest passed is not correct for Fiori Elements V2: section sap.ui.generic.app is missing",
5
- "NOENTITYSET": "No page found in manifest for entitySet '{{- entitySet}}'",
6
- "NOENTITYSET4NAME": "No entitySet could be found for the given entity type '{{- entityType}}'",
7
- "ENTITYSETNOTFOUND": "Entity set '{{- entitySetName}}' was specified in manifest, but this entity set could not be found in metadata",
8
- "NOLR": "No page found in manifest for list report",
9
- "NOALP": "No page found in manifest for analytical list page",
10
- "NOTEMPLATE": "No Fiori Elements template could be determined, as section '{{- section}}' is not defined in manifest",
11
- "ANNOERR": "Error while parsing annotation files",
12
- "NOROUTING": "Incomplete manifest definition: no routing defined",
13
- "NOLINEITEMS": "UI.LineItem annotation has not been defined",
14
- "NOTARGETS": "Incomplete manifest definition: no targets defined",
15
- "NOROUTINGID": "No page found in manifest for routingId '{{- routingId}}'",
16
- "FLEXERROR": "Error while parsing flex change",
17
- "INVALIDANCHOR": "Custom column with ID '{{- id}}' has an invalid anchor '{{- anchor}}'",
18
- "NOFRAGMENT": "fragmentName is undefined for columnKey '{{- columnKey}}'",
19
- "NOENTITYTYPE": "Entity type '{{- entityType}}' is specified in manifest, but not present in metadata",
20
- "NOID4SECTION": "No ID has been defined for a facet or header facet. As a consequence, manifest settings cannot be written correctly for this element in an OData V4 scenario: '{{- facet}}'"
21
- }
@@ -1,92 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const __1 = require("../");
4
- const extensionLogger_1 = require("../../../extensionLogger");
5
- /**
6
- * Transfers the value of a single manifest setting to the config
7
- * @param syncRule - Metadata rule
8
- * @param manifestSection - Section in manifest.json
9
- * @param propertyKey - Key of the property or setting
10
- * @param configPart - Part of the config JSON
11
- * @param sectionId - Section or facet ID
12
- * @param breadcrumbs - list of breadcrumbs or id's describing the keys of all hierarchy levels
13
- */
14
- function importProperty(syncRule, manifestSection, propertyKey, configPart, sectionId, breadcrumbs) {
15
- const manifestKey = syncRule.manifest.key || propertyKey;
16
- const importHandler = syncRule.manifest.import;
17
- if (importHandler && typeof importHandler === 'function') {
18
- const value = importHandler(manifestSection, sectionId, propertyKey, breadcrumbs);
19
- if (value !== undefined) {
20
- configPart[propertyKey] = value;
21
- }
22
- }
23
- else if (manifestSection[manifestKey] !== undefined) {
24
- configPart[propertyKey] = manifestSection[manifestKey];
25
- }
26
- }
27
- exports.importProperty = importProperty;
28
- /**
29
- * Validation during import: check if properties are marked as deprecated.
30
- * If so, log them.
31
- * @param deprecatedProperties - existing list, to be actualized
32
- * @param manifestSection - Section in manifest.json
33
- * @param path - path to the section in manifest
34
- * @param {ExtensionLogger} logger - Logger class for logging messages
35
- */
36
- function checkDeprecatedProperties(deprecatedProperties, manifestSection, path, logger) {
37
- if (manifestSection && deprecatedProperties) {
38
- for (const key in manifestSection) {
39
- const deprecated = deprecatedProperties[key];
40
- if (deprecated) {
41
- extensionLogger_1.log(logger, {
42
- severity: "warning" /* Warning */,
43
- message: __1.getTextForDeprecated(key, deprecated),
44
- location: {
45
- path: 'webapp/manifest.json/',
46
- range: path.split('/')
47
- }
48
- });
49
- delete deprecatedProperties[key];
50
- }
51
- }
52
- }
53
- }
54
- exports.checkDeprecatedProperties = checkDeprecatedProperties;
55
- /**
56
- * Determines the title of a section representation in the app schema, main aspect is checking the facet ID
57
- * @param schemaSection - Section in manifest.json
58
- * @param jsonSchema - app specific schema
59
- */
60
- function getSectionTitle(schemaSection, jsonSchema) {
61
- if (schemaSection.$ref && !schemaSection.title) {
62
- const refTitle = jsonSchema.definitions[schemaSection.$ref.split(__1.DEFINITION_LINK_PREFIX)[1]];
63
- return getSectionTitle(refTitle, jsonSchema);
64
- }
65
- else if (schemaSection.title) {
66
- if (schemaSection.title.startsWith(__1.FacetTitlePrefix)) {
67
- return schemaSection.title.split(__1.FacetTitlePrefix)[1].replace(/com.sap/g, '@com.sap');
68
- }
69
- else {
70
- return schemaSection.title.replace(/com.sap/g, '@com.sap');
71
- }
72
- }
73
- else {
74
- return undefined;
75
- }
76
- }
77
- exports.getSectionTitle = getSectionTitle;
78
- /**
79
- * Method returns target by resolving custom column reference name.
80
- * For example - 'TableCustomColumns<dummyTarget>' is resolved as 'dummyTarget'.
81
- * @param {string} ref Reference key.
82
- * @returns {string | undefined} Resolved target.
83
- */
84
- function getTargetFromCustomColumnRef(ref) {
85
- const refParts = ref.split(`${__1.DefinitionName.CustomColumns}<`);
86
- if (refParts[1]) {
87
- return refParts[1].split('>')[0];
88
- }
89
- return undefined;
90
- }
91
- exports.getTargetFromCustomColumnRef = getTargetFromCustomColumnRef;
92
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/sync/common/import/utils.ts"],"names":[],"mappings":";;AACA,2BAAqG;AACrG,8DAA4D;AAI5D;;;;;;;;GAQG;AACH,SAAgB,cAAc,CAC1B,QAAkB,EAClB,eAAmB,EACnB,WAAmB,EACnB,UAAkC,EAClC,SAAkB,EAClB,WAAsB;IAEtB,MAAM,WAAW,GAAG,QAAQ,CAAC,QAAQ,CAAC,GAAG,IAAI,WAAW,CAAC;IACzD,MAAM,aAAa,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC;IAC/C,IAAI,aAAa,IAAI,OAAO,aAAa,KAAK,UAAU,EAAE;QACtD,MAAM,KAAK,GAAG,aAAa,CAAC,eAAe,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;QAClF,IAAI,KAAK,KAAK,SAAS,EAAE;YACrB,UAAU,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC;SACnC;KACJ;SAAM,IAAI,eAAe,CAAC,WAAW,CAAC,KAAK,SAAS,EAAE;QACnD,UAAU,CAAC,WAAW,CAAC,GAAG,eAAe,CAAC,WAAW,CAAC,CAAC;KAC1D;AACL,CAAC;AAlBD,wCAkBC;AAED;;;;;;;GAOG;AACH,SAAgB,yBAAyB,CACrC,oBAAsD,EACtD,eAAmB,EACnB,IAAY,EACZ,MAAwB;IAExB,IAAI,eAAe,IAAI,oBAAoB,EAAE;QACzC,KAAK,MAAM,GAAG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