@sap/ux-specification 1.71.63 → 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 (526) hide show
  1. package/CHANGELOG.md +53 -2
  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/AnalyticalListPageConfig.json +3 -2
  13. package/dist/schemas/v2/ApplicationV2.json +10 -1
  14. package/dist/schemas/v2/ListReportConfig.json +4 -3
  15. package/dist/schemas/v2/ObjectPageConfig.json +20 -19
  16. package/dist/{src → types}/api.d.ts +2 -1
  17. package/dist/types/api.d.ts.map +1 -0
  18. package/dist/{src → types}/apiTypes.d.ts +3 -1
  19. package/dist/types/apiTypes.d.ts.map +1 -0
  20. package/dist/{src → types}/extensionLogger.d.ts +1 -0
  21. package/dist/types/extensionLogger.d.ts.map +1 -0
  22. package/dist/{src → types}/i18n/i18n.d.ts +1 -0
  23. package/dist/types/i18n/i18n.d.ts.map +1 -0
  24. package/dist/{src → types}/index.d.ts +1 -0
  25. package/dist/types/index.d.ts.map +1 -0
  26. package/dist/{src → types}/project.d.ts +1 -0
  27. package/dist/types/project.d.ts.map +1 -0
  28. package/dist/{src → types}/specification/common/Application.d.ts +1 -0
  29. package/dist/types/specification/common/Application.d.ts.map +1 -0
  30. package/dist/{src → types}/specification/common/index.d.ts +1 -0
  31. package/dist/types/specification/common/index.d.ts.map +1 -0
  32. package/dist/{src → types}/specification/common/page.d.ts +2 -1
  33. package/dist/types/specification/common/page.d.ts.map +1 -0
  34. package/dist/{src → types}/specification/common/types.d.ts +1 -0
  35. package/dist/types/specification/common/types.d.ts.map +1 -0
  36. package/dist/{src → types}/specification/common/webapp/manifest/Manifest.d.ts +1 -0
  37. package/dist/types/specification/common/webapp/manifest/Manifest.d.ts.map +1 -0
  38. package/dist/{src → types}/specification/common/webapp/manifest/index.d.ts +1 -0
  39. package/dist/types/specification/common/webapp/manifest/index.d.ts.map +1 -0
  40. package/dist/{src → types}/specification/common/webapp/manifest/sapOvp.d.ts +1 -0
  41. package/dist/types/specification/common/webapp/manifest/sapOvp.d.ts.map +1 -0
  42. package/dist/{src → types}/specification/common/webapp/manifest/sapUi5.d.ts +1 -0
  43. package/dist/types/specification/common/webapp/manifest/sapUi5.d.ts.map +1 -0
  44. package/dist/{src → types}/specification/schemaAccess.d.ts +7 -0
  45. package/dist/types/specification/schemaAccess.d.ts.map +1 -0
  46. package/dist/{src → types}/specification/v2/ApplicationV2.d.ts +1 -0
  47. package/dist/types/specification/v2/ApplicationV2.d.ts.map +1 -0
  48. package/dist/{src → types}/specification/v2/controls/Action.d.ts +1 -0
  49. package/dist/types/specification/v2/controls/Action.d.ts.map +1 -0
  50. package/dist/{src → types}/specification/v2/controls/AnalyticalListPageChart.d.ts +1 -0
  51. package/dist/types/specification/v2/controls/AnalyticalListPageChart.d.ts.map +1 -0
  52. package/dist/{src → types}/specification/v2/controls/AnalyticalListPageKPI.d.ts +1 -0
  53. package/dist/types/specification/v2/controls/AnalyticalListPageKPI.d.ts.map +1 -0
  54. package/dist/{src → types}/specification/v2/controls/Card.d.ts +1 -0
  55. package/dist/types/specification/v2/controls/Card.d.ts.map +1 -0
  56. package/dist/{src → types}/specification/v2/controls/Facets.d.ts +1 -0
  57. package/dist/types/specification/v2/controls/Facets.d.ts.map +1 -0
  58. package/dist/{src → types}/specification/v2/controls/Field.d.ts +1 -0
  59. package/dist/types/specification/v2/controls/Field.d.ts.map +1 -0
  60. package/dist/{src → types}/specification/v2/controls/FilterBar.d.ts +1 -0
  61. package/dist/types/specification/v2/controls/FilterBar.d.ts.map +1 -0
  62. package/dist/{src → types}/specification/v2/controls/Footer.d.ts +1 -0
  63. package/dist/types/specification/v2/controls/Footer.d.ts.map +1 -0
  64. package/dist/{src → types}/specification/v2/controls/ObjectPageChart.d.ts +1 -0
  65. package/dist/types/specification/v2/controls/ObjectPageChart.d.ts.map +1 -0
  66. package/dist/{src → types}/specification/v2/controls/ObjectPageForm.d.ts +1 -0
  67. package/dist/types/specification/v2/controls/ObjectPageForm.d.ts.map +1 -0
  68. package/dist/{src → types}/specification/v2/controls/ObjectPageHeader.d.ts +1 -0
  69. package/dist/types/specification/v2/controls/ObjectPageHeader.d.ts.map +1 -0
  70. package/dist/{src → types}/specification/v2/controls/ObjectPageLayout.d.ts +1 -0
  71. package/dist/types/specification/v2/controls/ObjectPageLayout.d.ts.map +1 -0
  72. package/dist/{src → types}/specification/v2/controls/ObjectPageSection.d.ts +1 -0
  73. package/dist/types/specification/v2/controls/ObjectPageSection.d.ts.map +1 -0
  74. package/dist/{src → types}/specification/v2/controls/ObjectPageTable.d.ts +1 -0
  75. package/dist/types/specification/v2/controls/ObjectPageTable.d.ts.map +1 -0
  76. package/dist/{src → types}/specification/v2/controls/ObjectPageToolBar.d.ts +1 -0
  77. package/dist/types/specification/v2/controls/ObjectPageToolBar.d.ts.map +1 -0
  78. package/dist/{src → types}/specification/v2/controls/Table.d.ts +2 -0
  79. package/dist/types/specification/v2/controls/Table.d.ts.map +1 -0
  80. package/dist/{src → types}/specification/v2/controls/ToolBar.d.ts +1 -0
  81. package/dist/types/specification/v2/controls/ToolBar.d.ts.map +1 -0
  82. package/dist/{src → types}/specification/v2/controls/index.d.ts +1 -0
  83. package/dist/types/specification/v2/controls/index.d.ts.map +1 -0
  84. package/dist/{src → types}/specification/v2/index.d.ts +1 -0
  85. package/dist/types/specification/v2/index.d.ts.map +1 -0
  86. package/dist/{src → types}/specification/v2/page.d.ts +1 -0
  87. package/dist/types/specification/v2/page.d.ts.map +1 -0
  88. package/dist/{src → types}/specification/v2/pages/AnalyticalListPageConfig.d.ts +1 -0
  89. package/dist/types/specification/v2/pages/AnalyticalListPageConfig.d.ts.map +1 -0
  90. package/dist/{src → types}/specification/v2/pages/ListReportConfig.d.ts +1 -0
  91. package/dist/types/specification/v2/pages/ListReportConfig.d.ts.map +1 -0
  92. package/dist/{src → types}/specification/v2/pages/ObjectPageConfig.d.ts +1 -0
  93. package/dist/types/specification/v2/pages/ObjectPageConfig.d.ts.map +1 -0
  94. package/dist/{src → types}/specification/v2/pages/OverviewPageConfig.d.ts +1 -0
  95. package/dist/types/specification/v2/pages/OverviewPageConfig.d.ts.map +1 -0
  96. package/dist/{src → types}/specification/v2/pages/index.d.ts +1 -0
  97. package/dist/types/specification/v2/pages/index.d.ts.map +1 -0
  98. package/dist/types/specification/v2/webapp/index.d.ts +2 -0
  99. package/dist/types/specification/v2/webapp/index.d.ts.map +1 -0
  100. package/dist/{src → types}/specification/v2/webapp/manifest/index.d.ts +1 -0
  101. package/dist/types/specification/v2/webapp/manifest/index.d.ts.map +1 -0
  102. package/dist/{src → types}/specification/v2/webapp/manifest/sapUi.d.ts +1 -0
  103. package/dist/types/specification/v2/webapp/manifest/sapUi.d.ts.map +1 -0
  104. package/dist/{src → types}/specification/v2/webapp/manifest/sapUi5.d.ts +1 -0
  105. package/dist/types/specification/v2/webapp/manifest/sapUi5.d.ts.map +1 -0
  106. package/dist/{src → types}/specification/v2/webapp/manifest/sapUiPageV2.d.ts +1 -0
  107. package/dist/types/specification/v2/webapp/manifest/sapUiPageV2.d.ts.map +1 -0
  108. package/dist/{src → types}/sync/common/appProvider.d.ts +2 -1
  109. package/dist/types/sync/common/appProvider.d.ts.map +1 -0
  110. package/dist/{src → types}/sync/common/decoration/control.d.ts +1 -0
  111. package/dist/types/sync/common/decoration/control.d.ts.map +1 -0
  112. package/dist/{src → types}/sync/common/decoration/decorators.d.ts +1 -0
  113. package/dist/types/sync/common/decoration/decorators.d.ts.map +1 -0
  114. package/dist/{src → types}/sync/common/decoration/factory.d.ts +1 -0
  115. package/dist/types/sync/common/decoration/factory.d.ts.map +1 -0
  116. package/dist/{src → types}/sync/common/decoration/flex.d.ts +1 -0
  117. package/dist/types/sync/common/decoration/flex.d.ts.map +1 -0
  118. package/dist/{src → types}/sync/common/decoration/index.d.ts +1 -0
  119. package/dist/types/sync/common/decoration/index.d.ts.map +1 -0
  120. package/dist/{src → types}/sync/common/flexUtils.d.ts +1 -0
  121. package/dist/types/sync/common/flexUtils.d.ts.map +1 -0
  122. package/dist/{src → types}/sync/common/generate/index.d.ts +1 -0
  123. package/dist/types/sync/common/generate/index.d.ts.map +1 -0
  124. package/dist/{src → types}/sync/common/generate/objectPage.d.ts +3 -1
  125. package/dist/types/sync/common/generate/objectPage.d.ts.map +1 -0
  126. package/dist/{src → types}/sync/common/generate/utils.d.ts +1 -0
  127. package/dist/types/sync/common/generate/utils.d.ts.map +1 -0
  128. package/dist/{src → types}/sync/common/import/utils.d.ts +1 -0
  129. package/dist/types/sync/common/import/utils.d.ts.map +1 -0
  130. package/dist/{src → types}/sync/common/importProject.d.ts +1 -0
  131. package/dist/types/sync/common/importProject.d.ts.map +1 -0
  132. package/dist/{src → types}/sync/common/index.d.ts +1 -0
  133. package/dist/types/sync/common/index.d.ts.map +1 -0
  134. package/dist/{src → types}/sync/common/types.d.ts +6 -2
  135. package/dist/types/sync/common/types.d.ts.map +1 -0
  136. package/dist/{src → types}/sync/common/utils.d.ts +3 -2
  137. package/dist/types/sync/common/utils.d.ts.map +1 -0
  138. package/dist/{src → types}/sync/i18n.d.ts +1 -0
  139. package/dist/types/sync/i18n.d.ts.map +1 -0
  140. package/dist/{src → types}/sync/v2/application.d.ts +1 -0
  141. package/dist/types/sync/v2/application.d.ts.map +1 -0
  142. package/dist/{src → types}/sync/v2/export/controls/Action.d.ts +1 -0
  143. package/dist/types/sync/v2/export/controls/Action.d.ts.map +1 -0
  144. package/dist/{src → types}/sync/v2/export/controls/AnalyticalListPageChart.d.ts +1 -0
  145. package/dist/types/sync/v2/export/controls/AnalyticalListPageChart.d.ts.map +1 -0
  146. package/dist/{src → types}/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +1 -0
  147. package/dist/types/sync/v2/export/controls/AnalyticalListPageKPI.d.ts.map +1 -0
  148. package/dist/{src → types}/sync/v2/export/controls/Card.d.ts +1 -0
  149. package/dist/types/sync/v2/export/controls/Card.d.ts.map +1 -0
  150. package/dist/{src → types}/sync/v2/export/controls/Field.d.ts +1 -0
  151. package/dist/types/sync/v2/export/controls/Field.d.ts.map +1 -0
  152. package/dist/{src → types}/sync/v2/export/controls/FilterBar.d.ts +1 -0
  153. package/dist/types/sync/v2/export/controls/FilterBar.d.ts.map +1 -0
  154. package/dist/{src → types}/sync/v2/export/controls/FormAction.d.ts +1 -0
  155. package/dist/types/sync/v2/export/controls/FormAction.d.ts.map +1 -0
  156. package/dist/{src → types}/sync/v2/export/controls/Fragment.d.ts +1 -0
  157. package/dist/types/sync/v2/export/controls/Fragment.d.ts.map +1 -0
  158. package/dist/{src → types}/sync/v2/export/controls/ObjectPageCustomSection.d.ts +1 -0
  159. package/dist/types/sync/v2/export/controls/ObjectPageCustomSection.d.ts.map +1 -0
  160. package/dist/{src → types}/sync/v2/export/controls/ObjectPageFooterAction.d.ts +1 -0
  161. package/dist/types/sync/v2/export/controls/ObjectPageFooterAction.d.ts.map +1 -0
  162. package/dist/{src → types}/sync/v2/export/controls/ObjectPageHeader.d.ts +1 -0
  163. package/dist/types/sync/v2/export/controls/ObjectPageHeader.d.ts.map +1 -0
  164. package/dist/{src → types}/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +1 -0
  165. package/dist/types/sync/v2/export/controls/ObjectPageHeaderAction.d.ts.map +1 -0
  166. package/dist/{src → types}/sync/v2/export/controls/ObjectPageLayout.d.ts +1 -0
  167. package/dist/types/sync/v2/export/controls/ObjectPageLayout.d.ts.map +1 -0
  168. package/dist/{src → types}/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +1 -0
  169. package/dist/types/sync/v2/export/controls/ObjectPageSectionsV2.d.ts.map +1 -0
  170. package/dist/{src → types}/sync/v2/export/controls/ObjectPageTable.d.ts +1 -0
  171. package/dist/types/sync/v2/export/controls/ObjectPageTable.d.ts.map +1 -0
  172. package/dist/{src → types}/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +1 -0
  173. package/dist/types/sync/v2/export/controls/ObjectPageToolBarAction.d.ts.map +1 -0
  174. package/dist/{src → types}/sync/v2/export/controls/Table.d.ts +1 -0
  175. package/dist/types/sync/v2/export/controls/Table.d.ts.map +1 -0
  176. package/dist/{src → types}/sync/v2/export/controls/TableColumn.d.ts +1 -0
  177. package/dist/types/sync/v2/export/controls/TableColumn.d.ts.map +1 -0
  178. package/dist/{src → types}/sync/v2/export/controls/ToolBar.d.ts +1 -0
  179. package/dist/types/sync/v2/export/controls/ToolBar.d.ts.map +1 -0
  180. package/dist/{src → types}/sync/v2/export/controls/index.d.ts +1 -0
  181. package/dist/types/sync/v2/export/controls/index.d.ts.map +1 -0
  182. package/dist/{src → types}/sync/v2/export/export.d.ts +1 -0
  183. package/dist/types/sync/v2/export/export.d.ts.map +1 -0
  184. package/dist/{src → types}/sync/v2/export/exportPage.d.ts +1 -0
  185. package/dist/types/sync/v2/export/exportPage.d.ts.map +1 -0
  186. package/dist/{src → types}/sync/v2/export/factory.d.ts +1 -0
  187. package/dist/types/sync/v2/export/factory.d.ts.map +1 -0
  188. package/dist/{src → types}/sync/v2/export/manifest.d.ts +1 -0
  189. package/dist/types/sync/v2/export/manifest.d.ts.map +1 -0
  190. package/dist/{src → types}/sync/v2/export/pages/AnalyticalListPage.d.ts +1 -0
  191. package/dist/types/sync/v2/export/pages/AnalyticalListPage.d.ts.map +1 -0
  192. package/dist/{src → types}/sync/v2/export/pages/ListReport.d.ts +1 -0
  193. package/dist/types/sync/v2/export/pages/ListReport.d.ts.map +1 -0
  194. package/dist/{src → types}/sync/v2/export/pages/ObjectPage.d.ts +1 -0
  195. package/dist/types/sync/v2/export/pages/ObjectPage.d.ts.map +1 -0
  196. package/dist/{src → types}/sync/v2/export/pages/OverviewPage.d.ts +1 -0
  197. package/dist/types/sync/v2/export/pages/OverviewPage.d.ts.map +1 -0
  198. package/dist/{src → types}/sync/v2/export/pages/index.d.ts +1 -0
  199. package/dist/types/sync/v2/export/pages/index.d.ts.map +1 -0
  200. package/dist/{src → types}/sync/v2/export/view-controller-generator.d.ts +1 -0
  201. package/dist/types/sync/v2/export/view-controller-generator.d.ts.map +1 -0
  202. package/dist/{src → types}/sync/v2/generate/analyticalListReport.d.ts +1 -0
  203. package/dist/types/sync/v2/generate/analyticalListReport.d.ts.map +1 -0
  204. package/dist/{src → types}/sync/v2/generate/generate.d.ts +1 -0
  205. package/dist/types/sync/v2/generate/generate.d.ts.map +1 -0
  206. package/dist/{src → types}/sync/v2/generate/index.d.ts +1 -0
  207. package/dist/types/sync/v2/generate/index.d.ts.map +1 -0
  208. package/dist/{src → types}/sync/v2/generate/listReport.d.ts +1 -0
  209. package/dist/types/sync/v2/generate/listReport.d.ts.map +1 -0
  210. package/dist/{src → types}/sync/v2/generate/objectPage.d.ts +1 -0
  211. package/dist/types/sync/v2/generate/objectPage.d.ts.map +1 -0
  212. package/dist/{src → types}/sync/v2/generate/overviewPage.d.ts +1 -0
  213. package/dist/types/sync/v2/generate/overviewPage.d.ts.map +1 -0
  214. package/dist/{src → types}/sync/v2/generate/utils.d.ts +1 -0
  215. package/dist/types/sync/v2/generate/utils.d.ts.map +1 -0
  216. package/dist/{src → types}/sync/v2/import/app/appProvider.d.ts +1 -0
  217. package/dist/types/sync/v2/import/app/appProvider.d.ts.map +1 -0
  218. package/dist/{src → types}/sync/v2/import/app/ovpProvider.d.ts +1 -0
  219. package/dist/types/sync/v2/import/app/ovpProvider.d.ts.map +1 -0
  220. package/dist/{src → types}/sync/v2/import/common/index.d.ts +1 -0
  221. package/dist/types/sync/v2/import/common/index.d.ts.map +1 -0
  222. package/dist/{src → types}/sync/v2/import/controls/table.d.ts +1 -0
  223. package/dist/types/sync/v2/import/controls/table.d.ts.map +1 -0
  224. package/dist/types/sync/v2/import/getPageType.d.ts +1 -0
  225. package/dist/types/sync/v2/import/getPageType.d.ts.map +1 -0
  226. package/dist/{src → types}/sync/v2/import/index.d.ts +1 -0
  227. package/dist/types/sync/v2/import/index.d.ts.map +1 -0
  228. package/dist/{src → types}/sync/v2/import/pages/analyticalListPage.d.ts +1 -0
  229. package/dist/types/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -0
  230. package/dist/{src → types}/sync/v2/import/pages/listReport.d.ts +1 -0
  231. package/dist/types/sync/v2/import/pages/listReport.d.ts.map +1 -0
  232. package/dist/{src → types}/sync/v2/import/pages/objectPage.d.ts +1 -0
  233. package/dist/types/sync/v2/import/pages/objectPage.d.ts.map +1 -0
  234. package/dist/{src → types}/sync/v2/import/pages/overviewPage.d.ts +1 -0
  235. package/dist/types/sync/v2/import/pages/overviewPage.d.ts.map +1 -0
  236. package/dist/{src → types}/sync/v2/import/utils.d.ts +1 -0
  237. package/dist/types/sync/v2/import/utils.d.ts.map +1 -0
  238. package/dist/{src → types}/sync/v2/types.d.ts +1 -0
  239. package/dist/types/sync/v2/types.d.ts.map +1 -0
  240. package/dist/{src → types}/sync/v4/utils/StableIdHelper.d.ts +1 -0
  241. package/dist/types/sync/v4/utils/StableIdHelper.d.ts.map +1 -0
  242. package/dist/{src → types}/v2.d.ts +1 -0
  243. package/dist/types/v2.d.ts.map +1 -0
  244. package/package.json +25 -28
  245. package/dist/documentation/runDocu-min.js.LICENSE.txt +0 -24
  246. package/dist/index-min.js.LICENSE.txt +0 -26
  247. package/dist/scripts/extractDocu.d.ts +0 -1
  248. package/dist/scripts/extractDocu.js +0 -485
  249. package/dist/scripts/extractDocu.js.map +0 -1
  250. package/dist/scripts/runDocu.d.ts +0 -1
  251. package/dist/scripts/runDocu.js +0 -570
  252. package/dist/scripts/runDocu.js.map +0 -1
  253. package/dist/scripts/spec.d.ts +0 -1
  254. package/dist/scripts/spec.js +0 -114
  255. package/dist/scripts/spec.js.map +0 -1
  256. package/dist/scripts/to-json-schema.d.ts +0 -10
  257. package/dist/scripts/to-json-schema.js +0 -112
  258. package/dist/scripts/to-json-schema.js.map +0 -1
  259. package/dist/specification/v2/index-min.js +0 -1
  260. package/dist/src/api.js +0 -123
  261. package/dist/src/api.js.map +0 -1
  262. package/dist/src/apiTypes.js +0 -3
  263. package/dist/src/apiTypes.js.map +0 -1
  264. package/dist/src/extensionLogger.js +0 -34
  265. package/dist/src/extensionLogger.js.map +0 -1
  266. package/dist/src/i18n/i18n.js +0 -25
  267. package/dist/src/i18n/i18n.js.map +0 -1
  268. package/dist/src/index.js +0 -12
  269. package/dist/src/index.js.map +0 -1
  270. package/dist/src/project.js +0 -151
  271. package/dist/src/project.js.map +0 -1
  272. package/dist/src/specification/common/Application.js +0 -3
  273. package/dist/src/specification/common/Application.js.map +0 -1
  274. package/dist/src/specification/common/i18n.json +0 -1
  275. package/dist/src/specification/common/index.js +0 -10
  276. package/dist/src/specification/common/index.js.map +0 -1
  277. package/dist/src/specification/common/page.js +0 -26
  278. package/dist/src/specification/common/page.js.map +0 -1
  279. package/dist/src/specification/common/types.js +0 -25
  280. package/dist/src/specification/common/types.js.map +0 -1
  281. package/dist/src/specification/common/webapp/manifest/Manifest.js +0 -17
  282. package/dist/src/specification/common/webapp/manifest/Manifest.js.map +0 -1
  283. package/dist/src/specification/common/webapp/manifest/index.js +0 -8
  284. package/dist/src/specification/common/webapp/manifest/index.js.map +0 -1
  285. package/dist/src/specification/common/webapp/manifest/sapOvp.js +0 -9
  286. package/dist/src/specification/common/webapp/manifest/sapOvp.js.map +0 -1
  287. package/dist/src/specification/common/webapp/manifest/sapUi5.js +0 -14
  288. package/dist/src/specification/common/webapp/manifest/sapUi5.js.map +0 -1
  289. package/dist/src/specification/schemaAccess.js +0 -62
  290. package/dist/src/specification/schemaAccess.js.map +0 -1
  291. package/dist/src/specification/v2/ApplicationV2.js +0 -3
  292. package/dist/src/specification/v2/ApplicationV2.js.map +0 -1
  293. package/dist/src/specification/v2/controls/Action.js +0 -15
  294. package/dist/src/specification/v2/controls/Action.js.map +0 -1
  295. package/dist/src/specification/v2/controls/AnalyticalListPageChart.js +0 -36
  296. package/dist/src/specification/v2/controls/AnalyticalListPageChart.js.map +0 -1
  297. package/dist/src/specification/v2/controls/AnalyticalListPageKPI.js +0 -3
  298. package/dist/src/specification/v2/controls/AnalyticalListPageKPI.js.map +0 -1
  299. package/dist/src/specification/v2/controls/Card.js +0 -53
  300. package/dist/src/specification/v2/controls/Card.js.map +0 -1
  301. package/dist/src/specification/v2/controls/Facets.js +0 -3
  302. package/dist/src/specification/v2/controls/Facets.js.map +0 -1
  303. package/dist/src/specification/v2/controls/Field.js +0 -3
  304. package/dist/src/specification/v2/controls/Field.js.map +0 -1
  305. package/dist/src/specification/v2/controls/FilterBar.js +0 -3
  306. package/dist/src/specification/v2/controls/FilterBar.js.map +0 -1
  307. package/dist/src/specification/v2/controls/Footer.js +0 -3
  308. package/dist/src/specification/v2/controls/Footer.js.map +0 -1
  309. package/dist/src/specification/v2/controls/ObjectPageChart.js +0 -3
  310. package/dist/src/specification/v2/controls/ObjectPageChart.js.map +0 -1
  311. package/dist/src/specification/v2/controls/ObjectPageForm.js +0 -3
  312. package/dist/src/specification/v2/controls/ObjectPageForm.js.map +0 -1
  313. package/dist/src/specification/v2/controls/ObjectPageHeader.js +0 -8
  314. package/dist/src/specification/v2/controls/ObjectPageHeader.js.map +0 -1
  315. package/dist/src/specification/v2/controls/ObjectPageLayout.js +0 -3
  316. package/dist/src/specification/v2/controls/ObjectPageLayout.js.map +0 -1
  317. package/dist/src/specification/v2/controls/ObjectPageSection.js +0 -13
  318. package/dist/src/specification/v2/controls/ObjectPageSection.js.map +0 -1
  319. package/dist/src/specification/v2/controls/ObjectPageTable.js +0 -7
  320. package/dist/src/specification/v2/controls/ObjectPageTable.js.map +0 -1
  321. package/dist/src/specification/v2/controls/ObjectPageToolBar.js +0 -3
  322. package/dist/src/specification/v2/controls/ObjectPageToolBar.js.map +0 -1
  323. package/dist/src/specification/v2/controls/Table.js +0 -51
  324. package/dist/src/specification/v2/controls/Table.js.map +0 -1
  325. package/dist/src/specification/v2/controls/ToolBar.js +0 -3
  326. package/dist/src/specification/v2/controls/ToolBar.js.map +0 -1
  327. package/dist/src/specification/v2/controls/index.js +0 -13
  328. package/dist/src/specification/v2/controls/index.js.map +0 -1
  329. package/dist/src/specification/v2/index.js +0 -9
  330. package/dist/src/specification/v2/index.js.map +0 -1
  331. package/dist/src/specification/v2/page.js +0 -3
  332. package/dist/src/specification/v2/page.js.map +0 -1
  333. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.js +0 -3
  334. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.js.map +0 -1
  335. package/dist/src/specification/v2/pages/ListReportConfig.js +0 -3
  336. package/dist/src/specification/v2/pages/ListReportConfig.js.map +0 -1
  337. package/dist/src/specification/v2/pages/ObjectPageConfig.js +0 -3
  338. package/dist/src/specification/v2/pages/ObjectPageConfig.js.map +0 -1
  339. package/dist/src/specification/v2/pages/OverviewPageConfig.js +0 -8
  340. package/dist/src/specification/v2/pages/OverviewPageConfig.js.map +0 -1
  341. package/dist/src/specification/v2/pages/index.js +0 -7
  342. package/dist/src/specification/v2/pages/index.js.map +0 -1
  343. package/dist/src/specification/v2/webapp/index.d.ts +0 -1
  344. package/dist/src/specification/v2/webapp/index.js +0 -7
  345. package/dist/src/specification/v2/webapp/index.js.map +0 -1
  346. package/dist/src/specification/v2/webapp/manifest/index.js +0 -8
  347. package/dist/src/specification/v2/webapp/manifest/index.js.map +0 -1
  348. package/dist/src/specification/v2/webapp/manifest/sapUi.js +0 -3
  349. package/dist/src/specification/v2/webapp/manifest/sapUi.js.map +0 -1
  350. package/dist/src/specification/v2/webapp/manifest/sapUi5.js +0 -9
  351. package/dist/src/specification/v2/webapp/manifest/sapUi5.js.map +0 -1
  352. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.js +0 -7
  353. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.js.map +0 -1
  354. package/dist/src/sync/common/appProvider.js +0 -57
  355. package/dist/src/sync/common/appProvider.js.map +0 -1
  356. package/dist/src/sync/common/decoration/control.js +0 -211
  357. package/dist/src/sync/common/decoration/control.js.map +0 -1
  358. package/dist/src/sync/common/decoration/decorators.js +0 -45
  359. package/dist/src/sync/common/decoration/decorators.js.map +0 -1
  360. package/dist/src/sync/common/decoration/factory.js +0 -48
  361. package/dist/src/sync/common/decoration/factory.js.map +0 -1
  362. package/dist/src/sync/common/decoration/flex.js +0 -8
  363. package/dist/src/sync/common/decoration/flex.js.map +0 -1
  364. package/dist/src/sync/common/decoration/index.js +0 -9
  365. package/dist/src/sync/common/decoration/index.js.map +0 -1
  366. package/dist/src/sync/common/flexUtils.js +0 -94
  367. package/dist/src/sync/common/flexUtils.js.map +0 -1
  368. package/dist/src/sync/common/generate/index.js +0 -8
  369. package/dist/src/sync/common/generate/index.js.map +0 -1
  370. package/dist/src/sync/common/generate/objectPage.js +0 -355
  371. package/dist/src/sync/common/generate/objectPage.js.map +0 -1
  372. package/dist/src/sync/common/generate/utils.js +0 -381
  373. package/dist/src/sync/common/generate/utils.js.map +0 -1
  374. package/dist/src/sync/common/i18n.json +0 -21
  375. package/dist/src/sync/common/import/utils.js +0 -92
  376. package/dist/src/sync/common/import/utils.js.map +0 -1
  377. package/dist/src/sync/common/importProject.js +0 -259
  378. package/dist/src/sync/common/importProject.js.map +0 -1
  379. package/dist/src/sync/common/index.js +0 -15
  380. package/dist/src/sync/common/index.js.map +0 -1
  381. package/dist/src/sync/common/types.js +0 -212
  382. package/dist/src/sync/common/types.js.map +0 -1
  383. package/dist/src/sync/common/utils.js +0 -1072
  384. package/dist/src/sync/common/utils.js.map +0 -1
  385. package/dist/src/sync/i18n.js +0 -15
  386. package/dist/src/sync/i18n.js.map +0 -1
  387. package/dist/src/sync/v2/application.js +0 -155
  388. package/dist/src/sync/v2/application.js.map +0 -1
  389. package/dist/src/sync/v2/export/controls/Action.js +0 -127
  390. package/dist/src/sync/v2/export/controls/Action.js.map +0 -1
  391. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js +0 -61
  392. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +0 -1
  393. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js +0 -56
  394. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.js.map +0 -1
  395. package/dist/src/sync/v2/export/controls/Card.js +0 -655
  396. package/dist/src/sync/v2/export/controls/Card.js.map +0 -1
  397. package/dist/src/sync/v2/export/controls/Field.js +0 -32
  398. package/dist/src/sync/v2/export/controls/Field.js.map +0 -1
  399. package/dist/src/sync/v2/export/controls/FilterBar.js +0 -107
  400. package/dist/src/sync/v2/export/controls/FilterBar.js.map +0 -1
  401. package/dist/src/sync/v2/export/controls/FormAction.js +0 -128
  402. package/dist/src/sync/v2/export/controls/FormAction.js.map +0 -1
  403. package/dist/src/sync/v2/export/controls/Fragment.js +0 -571
  404. package/dist/src/sync/v2/export/controls/Fragment.js.map +0 -1
  405. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js +0 -110
  406. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +0 -1
  407. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js +0 -62
  408. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +0 -1
  409. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js +0 -60
  410. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +0 -1
  411. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js +0 -62
  412. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +0 -1
  413. package/dist/src/sync/v2/export/controls/ObjectPageLayout.js +0 -59
  414. package/dist/src/sync/v2/export/controls/ObjectPageLayout.js.map +0 -1
  415. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +0 -193
  416. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +0 -1
  417. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +0 -278
  418. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +0 -1
  419. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js +0 -61
  420. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +0 -1
  421. package/dist/src/sync/v2/export/controls/Table.js +0 -593
  422. package/dist/src/sync/v2/export/controls/Table.js.map +0 -1
  423. package/dist/src/sync/v2/export/controls/TableColumn.js +0 -166
  424. package/dist/src/sync/v2/export/controls/TableColumn.js.map +0 -1
  425. package/dist/src/sync/v2/export/controls/ToolBar.js +0 -6
  426. package/dist/src/sync/v2/export/controls/ToolBar.js.map +0 -1
  427. package/dist/src/sync/v2/export/controls/index.js +0 -25
  428. package/dist/src/sync/v2/export/controls/index.js.map +0 -1
  429. package/dist/src/sync/v2/export/export.js +0 -682
  430. package/dist/src/sync/v2/export/export.js.map +0 -1
  431. package/dist/src/sync/v2/export/exportPage.js +0 -305
  432. package/dist/src/sync/v2/export/exportPage.js.map +0 -1
  433. package/dist/src/sync/v2/export/factory.js +0 -56
  434. package/dist/src/sync/v2/export/factory.js.map +0 -1
  435. package/dist/src/sync/v2/export/manifest.js +0 -169
  436. package/dist/src/sync/v2/export/manifest.js.map +0 -1
  437. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js +0 -44
  438. package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +0 -1
  439. package/dist/src/sync/v2/export/pages/ListReport.js +0 -41
  440. package/dist/src/sync/v2/export/pages/ListReport.js.map +0 -1
  441. package/dist/src/sync/v2/export/pages/ObjectPage.js +0 -74
  442. package/dist/src/sync/v2/export/pages/ObjectPage.js.map +0 -1
  443. package/dist/src/sync/v2/export/pages/OverviewPage.js +0 -118
  444. package/dist/src/sync/v2/export/pages/OverviewPage.js.map +0 -1
  445. package/dist/src/sync/v2/export/pages/index.js +0 -10
  446. package/dist/src/sync/v2/export/pages/index.js.map +0 -1
  447. package/dist/src/sync/v2/export/view-controller-generator.js +0 -141
  448. package/dist/src/sync/v2/export/view-controller-generator.js.map +0 -1
  449. package/dist/src/sync/v2/generate/analyticalListReport.js +0 -84
  450. package/dist/src/sync/v2/generate/analyticalListReport.js.map +0 -1
  451. package/dist/src/sync/v2/generate/generate.js +0 -99
  452. package/dist/src/sync/v2/generate/generate.js.map +0 -1
  453. package/dist/src/sync/v2/generate/index.js +0 -14
  454. package/dist/src/sync/v2/generate/index.js.map +0 -1
  455. package/dist/src/sync/v2/generate/listReport.js +0 -116
  456. package/dist/src/sync/v2/generate/listReport.js.map +0 -1
  457. package/dist/src/sync/v2/generate/objectPage.js +0 -537
  458. package/dist/src/sync/v2/generate/objectPage.js.map +0 -1
  459. package/dist/src/sync/v2/generate/overviewPage.js +0 -70
  460. package/dist/src/sync/v2/generate/overviewPage.js.map +0 -1
  461. package/dist/src/sync/v2/generate/utils.js +0 -526
  462. package/dist/src/sync/v2/generate/utils.js.map +0 -1
  463. package/dist/src/sync/v2/import/app/appProvider.js +0 -145
  464. package/dist/src/sync/v2/import/app/appProvider.js.map +0 -1
  465. package/dist/src/sync/v2/import/app/ovpProvider.js +0 -33
  466. package/dist/src/sync/v2/import/app/ovpProvider.js.map +0 -1
  467. package/dist/src/sync/v2/import/common/index.js +0 -395
  468. package/dist/src/sync/v2/import/common/index.js.map +0 -1
  469. package/dist/src/sync/v2/import/controls/table.js +0 -32
  470. package/dist/src/sync/v2/import/controls/table.js.map +0 -1
  471. package/dist/src/sync/v2/import/getPageType.d.ts +0 -0
  472. package/dist/src/sync/v2/import/getPageType.js +0 -1
  473. package/dist/src/sync/v2/import/getPageType.js.map +0 -1
  474. package/dist/src/sync/v2/import/index.js +0 -11
  475. package/dist/src/sync/v2/import/index.js.map +0 -1
  476. package/dist/src/sync/v2/import/pages/analyticalListPage.js +0 -119
  477. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +0 -1
  478. package/dist/src/sync/v2/import/pages/listReport.js +0 -143
  479. package/dist/src/sync/v2/import/pages/listReport.js.map +0 -1
  480. package/dist/src/sync/v2/import/pages/objectPage.js +0 -745
  481. package/dist/src/sync/v2/import/pages/objectPage.js.map +0 -1
  482. package/dist/src/sync/v2/import/pages/overviewPage.js +0 -107
  483. package/dist/src/sync/v2/import/pages/overviewPage.js.map +0 -1
  484. package/dist/src/sync/v2/import/utils.js +0 -149
  485. package/dist/src/sync/v2/import/utils.js.map +0 -1
  486. package/dist/src/sync/v2/types.js +0 -36
  487. package/dist/src/sync/v2/types.js.map +0 -1
  488. package/dist/src/sync/v4/utils/StableIdHelper.js +0 -156
  489. package/dist/src/sync/v4/utils/StableIdHelper.js.map +0 -1
  490. package/dist/src/v2.js +0 -8
  491. package/dist/src/v2.js.map +0 -1
  492. package/dist/test/test-data/flexChange/v2/stta.prod.man/index.d.ts +0 -7
  493. package/dist/test/test-projects/index.d.ts +0 -2
  494. package/dist/test/test-utils/utils.d.ts +0 -33
  495. package/dist/test/unit/customSections/exportV2.test.d.ts +0 -1
  496. package/dist/test/unit/customSections/generateFacetsSchemaV2.test.d.ts +0 -1
  497. package/dist/test/unit/customSections/importV2.test.d.ts +0 -1
  498. package/dist/test/unit/export/exportALPV2.test.d.ts +0 -1
  499. package/dist/test/unit/export/exportAppV2.test.d.ts +0 -1
  500. package/dist/test/unit/export/exportLRPV2.test.d.ts +0 -1
  501. package/dist/test/unit/export/exportLRPV2CustomColumns.test.d.ts +0 -1
  502. package/dist/test/unit/export/exportOVPV2.test.d.ts +0 -1
  503. package/dist/test/unit/export/exportObjectPageV2.test.d.ts +0 -1
  504. package/dist/test/unit/export/flexUtils.test.d.ts +0 -1
  505. package/dist/test/unit/export/manifest.test.d.ts +0 -1
  506. package/dist/test/unit/fcl/exportV2.test.d.ts +0 -1
  507. package/dist/test/unit/fcl/importV2.test.d.ts +0 -1
  508. package/dist/test/unit/generateAppSchema/generateAppSchemaALPV2.test.d.ts +0 -1
  509. package/dist/test/unit/generateAppSchema/generateAppSchemaLRV2.test.d.ts +0 -1
  510. package/dist/test/unit/generateAppSchema/generateAppSchemaOPV2.test.d.ts +0 -1
  511. package/dist/test/unit/generateAppSchema/generateAppSchemaOVPV2.test.d.ts +0 -1
  512. package/dist/test/unit/generateGenericSchema/generateGenericSchemaAppV2.test.d.ts +0 -1
  513. package/dist/test/unit/generateGenericSchema/generateGenericSchemaLRV2.test.d.ts +0 -1
  514. package/dist/test/unit/generateGenericSchema/generateGenericSchemaOPV2.test.d.ts +0 -1
  515. package/dist/test/unit/generateGenericSchema/generateI18nV2.test.d.ts +0 -1
  516. package/dist/test/unit/generateGenericSchema/genericSchemas.test.d.ts +0 -1
  517. package/dist/test/unit/import/importALPV2.test.d.ts +0 -1
  518. package/dist/test/unit/import/importAppV2.test.d.ts +0 -1
  519. package/dist/test/unit/import/importLRPV2.test.d.ts +0 -1
  520. package/dist/test/unit/import/importOPV2.test.d.ts +0 -1
  521. package/dist/test/unit/import/importOVPV2.test.d.ts +0 -1
  522. package/dist/test/unit/index.test.d.ts +0 -1
  523. package/dist/test/unit/projects.test.d.ts +0 -1
  524. package/dist/test/unit/schemaAccess.test.d.ts +0 -1
  525. package/dist/test/unit/utils.test.d.ts +0 -1
  526. package/dist/test/unit/view-controller-generator.test.d.ts +0 -1
@@ -1,526 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const common_1 = require("../../common");
4
- const common_2 = require("../../common");
5
- const decorators_1 = require("../../common/decoration/decorators");
6
- const path_1 = require("path");
7
- const xml_js_1 = require("xml-js");
8
- const types_1 = require("../types");
9
- /**
10
- * Common function for enhancing the LineItems definiton of app schema by custom columns
11
- * @param appSchema - app-specific JSON schema
12
- * @param customColumnsDefinitionName - custom column definition name (plural)
13
- * @param customColumnDefinitionName - custom column definition name (singular)
14
- */
15
- function addCustomColumnDefinition(appSchema, customColumnsDefinitionName, customColumnDefinitionName) {
16
- if (appSchema.definitions[common_2.DefinitionName.LineItems]) {
17
- appSchema.definitions[common_2.DefinitionName.LineItems]['properties']['custom'] = {
18
- $ref: `${common_2.DEFINITION_LINK_PREFIX}${customColumnsDefinitionName}`
19
- };
20
- }
21
- appSchema['definitions'][customColumnsDefinitionName] = {
22
- type: 'array',
23
- items: {
24
- $ref: `${common_2.DEFINITION_LINK_PREFIX}${customColumnDefinitionName}`
25
- },
26
- description: 'Custom Columns'
27
- };
28
- appSchema['definitions'][customColumnsDefinitionName][common_1.SchemaTag.isViewNode] = true;
29
- const columnDefinition = appSchema['definitions'][customColumnDefinitionName];
30
- for (const id in columnDefinition.properties) {
31
- columnDefinition.properties[id][common_1.SchemaTag.artifactType] = common_2.ArtifactType.Manifest;
32
- }
33
- }
34
- /**
35
- * Prepares and returns id of action for further use and reference
36
- * @param actionType - type of action
37
- * @param lineItemProperties - properties of the line item collection: lineItemPath, lineItemRecord, lineItemId
38
- * @returns {string} actionId
39
- */
40
- function getActionId(actionType, lineItemProperties) {
41
- let actionId;
42
- if (actionType === types_1.ActionTypeV2.ColumnIntentBased) {
43
- actionId = common_2.getSchemaKeyOfLineItemRecord(lineItemProperties.lineItemRecord);
44
- }
45
- else if (actionType === types_1.ActionTypeV2.ToolBarIntentBased || actionType === types_1.ActionTypeV2.FooterIntentBased) {
46
- actionId = common_2.prepareRef(`${lineItemProperties.lineItemRecord.SemanticObject}::${lineItemProperties.lineItemRecord.Action}`);
47
- }
48
- else if (actionType === types_1.ActionTypeV2.Column &&
49
- lineItemProperties.lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* DataFieldForAction */) {
50
- actionId = common_2.prepareRef(`DataFieldForAction:::sAction::${lineItemProperties.lineItemRecord.Action}`);
51
- }
52
- else {
53
- actionId = common_2.prepareRef(lineItemProperties.lineItemRecord.Action);
54
- }
55
- if (lineItemProperties.lineItemId && lineItemProperties.lineItemId !== 'LineItems') {
56
- return `${lineItemProperties.lineItemId}??${actionId}`;
57
- }
58
- else {
59
- return actionId;
60
- }
61
- }
62
- /**
63
- * Processes a LineItem record of type DataFieldForAction and DataFieldForIntentBasedNavigation during app schema generation
64
- * @param appSchema - the app specific schema that shall get enhanced
65
- * @param entityType - the entity type as part of the AVT ConvertedMetadata
66
- * @param actions - actions definition in schema, parent object
67
- * @param lineItemProperties - properties of the line item collection: lineItemPath, lineItemRecord, lineItemId
68
- * @param actionType - type of action
69
- * @param recordIndex - record index in the collection
70
- */
71
- function handleActionRecord(appSchema, actions, lineItemProps, actionType, recordIndex) {
72
- let actionReferenceType;
73
- const actionTemplate = lineItemProps.lineItemId === common_2.DefinitionName.LineItems ? '' : 'ObjectPage';
74
- const actionId = getActionId(actionType, lineItemProps);
75
- if (actionType === types_1.ActionTypeV2.Footer || actionType === types_1.ActionTypeV2.FooterIntentBased) {
76
- actionReferenceType = `Action`;
77
- actionType = types_1.ActionTypeV2.Footer;
78
- }
79
- else if (actionType === types_1.ActionTypeV2.Column || actionType === types_1.ActionTypeV2.ColumnIntentBased) {
80
- actionReferenceType = `TableColumnAction`;
81
- }
82
- else {
83
- actionReferenceType = actionTemplate !== '' ? `${actionTemplate}${actionType}` : `Action`;
84
- actionType = types_1.ActionTypeV2.ToolBar;
85
- }
86
- const actionDefinition = `${actionTemplate}${actionType}<${actionId}>`;
87
- const description = common_2.getDatafieldDescription(lineItemProps.lineItemRecord, lineItemProps.entityType);
88
- actions['properties'][actionId] = {
89
- $ref: common_2.DEFINITION_LINK_PREFIX + actionDefinition,
90
- description,
91
- propertyIndex: recordIndex
92
- };
93
- if (appSchema['definitions'][actionReferenceType]) {
94
- appSchema['definitions'][actionDefinition] = Object.assign(Object.assign({}, JSON.parse(JSON.stringify(appSchema['definitions'][actionReferenceType]))), { description, annotationPath: `${lineItemProps.lineItemPath}/${recordIndex}` });
95
- }
96
- else {
97
- appSchema['definitions'][actionDefinition] = {
98
- type: 'object',
99
- properties: {},
100
- description,
101
- annotationPath: `${lineItemProps.lineItemPath}/${recordIndex}`,
102
- isViewNode: true,
103
- additionalProperties: false
104
- };
105
- }
106
- }
107
- exports.handleActionRecord = handleActionRecord;
108
- /**
109
- * Returns the type of a column lineItem action
110
- * @param lineItemId - optional: in case of OP the parameter must be passed to distinguish the OP tables;
111
- * @param {object} lineItemRecord - actual record of the line item collection
112
- * @param actionTypes - array of action types to be filled
113
- */
114
- function getColumnActionType(lineItemId, lineItemRecord, actionTypes) {
115
- if (lineItemId !== common_2.DefinitionName.LineItems &&
116
- lineItemRecord.Inline === true &&
117
- (lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* DataFieldForAction */ ||
118
- lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* DataFieldForIntentBasedNavigation */)) {
119
- actionTypes.push(types_1.ActionTypeV2.OPColumn);
120
- }
121
- else if (lineItemRecord.Inline === true && lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* DataFieldForAction */) {
122
- actionTypes.push(types_1.ActionTypeV2.Column);
123
- }
124
- else if (lineItemRecord.Inline === true &&
125
- lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* DataFieldForIntentBasedNavigation */) {
126
- actionTypes.push(types_1.ActionTypeV2.ColumnIntentBased);
127
- }
128
- }
129
- /**
130
- * Returns the type of a lineItem action
131
- * @param {object} lineItemRecord - actual record of the line item collection
132
- * @returns {string[] | undefined } ActionTypeV2[] - action type(s) of the lineItem
133
- */
134
- function getActionType(lineItemRecord, lineItemId) {
135
- const actionTypes = [];
136
- if (lineItemRecord.$Type !== "com.sap.vocabularies.UI.v1.DataFieldForAction" /* DataFieldForAction */ &&
137
- lineItemRecord.$Type !== "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* DataFieldForIntentBasedNavigation */) {
138
- return undefined;
139
- }
140
- if (lineItemRecord.Inline !== true &&
141
- lineItemRecord.Determining !== true &&
142
- lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* DataFieldForAction */) {
143
- actionTypes.push(types_1.ActionTypeV2.ToolBar);
144
- }
145
- else if (lineItemRecord.Inline !== true &&
146
- lineItemRecord.Determining !== true &&
147
- lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* DataFieldForIntentBasedNavigation */) {
148
- actionTypes.push(types_1.ActionTypeV2.ToolBarIntentBased);
149
- }
150
- else if (lineItemRecord.Determining === true && lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* DataFieldForAction */) {
151
- actionTypes.push(types_1.ActionTypeV2.Footer);
152
- }
153
- else if (lineItemRecord.Determining === true &&
154
- lineItemRecord.$Type === "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* DataFieldForIntentBasedNavigation */) {
155
- actionTypes.push(types_1.ActionTypeV2.FooterIntentBased);
156
- }
157
- getColumnActionType(lineItemId, lineItemRecord, actionTypes);
158
- return actionTypes;
159
- }
160
- function generateGenericColumn(lineItemProperties, appSchema, recordIndex) {
161
- const schemaKey = common_2.getSchemaKeyOfLineItemRecord(lineItemProperties.lineItemRecord);
162
- if (schemaKey) {
163
- const lineItemDefinition = appSchema.definitions[lineItemProperties.lineItemId];
164
- lineItemDefinition.properties[schemaKey] = {
165
- $ref: common_2.DEFINITION_LINK_PREFIX + common_2.DefinitionName.TableColumn,
166
- description: common_2.getDatafieldDescription(lineItemProperties.lineItemRecord, lineItemProperties.entityType)
167
- // Custom property in schema - for object properties ordering purpose
168
- };
169
- lineItemDefinition.properties[schemaKey][common_1.SchemaTag.propertyIndex] = recordIndex;
170
- lineItemDefinition.properties[schemaKey][common_1.SchemaTag.annotationPath] = `${lineItemProperties.lineItemPath}/${recordIndex}`;
171
- common_2.addDataTypeToDefinition(lineItemDefinition.properties[schemaKey], lineItemProperties.lineItemRecord);
172
- }
173
- }
174
- function handleAnyAction(actionType, appSchema, actions, lineItemProperties, recordIndex, footerActions, lineItemId) {
175
- switch (actionType) {
176
- case types_1.ActionTypeV2.ToolBar:
177
- case types_1.ActionTypeV2.ToolBarIntentBased: {
178
- handleActionRecord(appSchema, actions, lineItemProperties, actionType, recordIndex);
179
- break;
180
- }
181
- case types_1.ActionTypeV2.Footer:
182
- case types_1.ActionTypeV2.FooterIntentBased: {
183
- if (footerActions) {
184
- handleActionRecord(appSchema, footerActions, lineItemProperties, actionType, recordIndex);
185
- }
186
- break;
187
- }
188
- case types_1.ActionTypeV2.Column:
189
- case types_1.ActionTypeV2.ColumnIntentBased: {
190
- handleActionRecord(appSchema, appSchema.definitions[lineItemId], lineItemProperties, actionType, recordIndex);
191
- break;
192
- }
193
- case types_1.ActionTypeV2.OPColumn: {
194
- generateGenericColumn(lineItemProperties, appSchema, recordIndex);
195
- }
196
- }
197
- }
198
- /**
199
- * Adds the line item records to the app schema (for the list report or an object page section comprising a table)
200
- * @param appSchema - the app specific schema that shall get enhanced
201
- * @param lineItemAnnotation - the UI.LineItem annotation, comprising all records
202
- * @param entityType - the entity type as part of the AVT ConvertedMetadata
203
- * @param lineItemId - optional: in case of OP the parameter must be passed to distinguish the OP tables;
204
- * in case of LR or ALP no ID is passed, 'LineItems' is taken then.
205
- * @param customColumnRef - schema reference to custom column definition.
206
- */
207
- function addLineItemsType(appSchema, lineItemAnnotation, entityType, lineItemId, customColumnRef) {
208
- // Add the correct lineItem definition
209
- lineItemId = lineItemId || common_2.DefinitionName.LineItems;
210
- const { actions, footerActions, lineItemPath } = common_2.addCommonLineItemDefinitions(appSchema, lineItemAnnotation, entityType, lineItemId);
211
- if (lineItemAnnotation) {
212
- let recordIndex = 0;
213
- lineItemAnnotation.forEach((lineItemRecord) => {
214
- const lineItemProperties = { lineItemPath, lineItemRecord, lineItemId, entityType };
215
- const actionTypes = getActionType(lineItemRecord, lineItemId);
216
- if (actionTypes) {
217
- actionTypes.forEach((actionType) => {
218
- handleAnyAction(actionType, appSchema, actions, lineItemProperties, recordIndex, footerActions, lineItemId);
219
- });
220
- }
221
- else {
222
- generateGenericColumn(lineItemProperties, appSchema, recordIndex);
223
- }
224
- recordIndex++;
225
- });
226
- }
227
- if (customColumnRef) {
228
- appSchema.definitions[lineItemId].properties['custom'] = {
229
- $ref: `${common_2.DEFINITION_LINK_PREFIX}${customColumnRef}`
230
- };
231
- }
232
- }
233
- exports.addLineItemsType = addLineItemsType;
234
- /**
235
- * Adds enum entries of possible leading properties for 'leadingProperty' property in TableCustomColumn properties.
236
- * @param appSchema - the app specific schema that shall get enhanced
237
- * @param entityType - the entity type as part of the AVT ConvertedMetadata
238
- * @param definitionName - definition name of CustomColumn definition
239
- */
240
- function addListReportLeadingProperties(appSchema, entityType, definitionName) {
241
- // Leading Property
242
- const leadingPropertySchema = appSchema['definitions'][definitionName] &&
243
- appSchema['definitions'][definitionName]['properties'] &&
244
- appSchema['definitions'][definitionName]['properties']['leadingProperty'];
245
- if (leadingPropertySchema) {
246
- const properties = [
247
- // Entity properties
248
- ...((entityType === null || entityType === void 0 ? void 0 : entityType.entityProperties) || []),
249
- // Navigation Properties
250
- ...((entityType === null || entityType === void 0 ? void 0 : entityType.navigationProperties) || [])
251
- ];
252
- leadingPropertySchema['enum'] = properties === null || properties === void 0 ? void 0 : properties.reduce((result, property) => {
253
- if (!result.includes(property.name)) {
254
- result.push(property.name);
255
- }
256
- return result;
257
- }, []);
258
- }
259
- }
260
- exports.addListReportLeadingProperties = addListReportLeadingProperties;
261
- /**
262
- * Adds enum entries of posible tabKey properties for 'leadingProperty' property in TableCustomColumn properties.
263
- * @param appSchema - the app specific schema that shall get enhanced
264
- * @param definitionName - definition name of CustomColumn definition
265
- * @param page - sapui5 page object
266
- */
267
- function addTabkeyEnum(appSchema, definitionName, page) {
268
- const tabkeyPropertySchema = appSchema['definitions'][definitionName] &&
269
- appSchema['definitions'][definitionName]['properties'] &&
270
- appSchema['definitions'][definitionName]['properties']['tabKey'];
271
- if (page) {
272
- const quickVariantsX = page.component &&
273
- page.component.settings &&
274
- page.component.settings.quickVariantSelectionX &&
275
- page.component.settings.quickVariantSelectionX['variants'];
276
- if (quickVariantsX) {
277
- const enumEntries = [];
278
- Object.keys(quickVariantsX).reduce((result, variant) => {
279
- const key = quickVariantsX[variant] && quickVariantsX[variant]['key'] !== undefined
280
- ? quickVariantsX[variant]['key']
281
- : undefined;
282
- // Avoid duplicates
283
- if (key !== undefined && !result.includes(key)) {
284
- result.push(key);
285
- }
286
- return result;
287
- }, enumEntries);
288
- tabkeyPropertySchema['enum'] = enumEntries;
289
- }
290
- }
291
- }
292
- exports.addTabkeyEnum = addTabkeyEnum;
293
- /**
294
- * Adds enum entries of posible fragment entries.
295
- * @param {object} appSchema The app specific schema that shall get enhanced.
296
- * @param {FileData[]} fragments Array of fragments.
297
- * @param {string[]} appId Application id.
298
- * @param {string} property Property name.
299
- * @param {string} definitionName Definition name of CustomColumn definition.
300
- */
301
- function addFragmentEnum(appSchema, fragments, appId, property, definitionName) {
302
- var _a, _b;
303
- if (!fragments || !appId || appId.startsWith('${')) {
304
- return;
305
- }
306
- const enumEntries = [];
307
- fragments.forEach((fragment) => {
308
- let relPath = fragment.dataSourceUri.split('webapp')[1];
309
- if (relPath && relPath.indexOf('.fragment.xml') > 0) {
310
- const fragmentJson = JSON.parse(xml_js_1.xml2json(fragment.fileContent, { compact: true }))['core:FragmentDefinition'];
311
- if ((property === 'fragmentName' &&
312
- (!fragmentJson || fragmentJson.Column || fragmentJson['table:Column'])) ||
313
- (property === 'cellsFragmentName' &&
314
- (!fragmentJson ||
315
- (!fragmentJson.Column &&
316
- !fragmentJson['table:Column'] &&
317
- !fragmentJson['smartfilterbar:ControlConfiguration'])))) {
318
- relPath = relPath.replace(new RegExp('\\' + path_1.sep, 'g'), '/');
319
- const fragmentName = appId + relPath.split('.fragment.xml')[0].replace(/\//g, '.');
320
- enumEntries.push(fragmentName);
321
- }
322
- }
323
- });
324
- if (enumEntries.length > 0) {
325
- const fragmentPropertySchema = (_b = (_a = appSchema.definitions[definitionName]) === null || _a === void 0 ? void 0 : _a['properties']) === null || _b === void 0 ? void 0 : _b[property];
326
- fragmentPropertySchema['enum'] = enumEntries;
327
- }
328
- }
329
- exports.addFragmentEnum = addFragmentEnum;
330
- /**
331
- * Adds the custom columns to the line item records of the app schema (for the list report comprising a table).
332
- * @param {object} appSchema The app specific schema that shall get enhanced.
333
- * @param {EntityType} entityType The entity type as part of the AVT ConvertedMetadata.
334
- * @param {SapUiAppPageV2} page Sapui5 page object.
335
- * @param {object} manifest Application manifest.
336
- * @param {FileData[]} [fragments] Array of fragments.
337
- * @param {string} [customColumnsDefinitionName=DefinitionName.CustomColumns] Definition name of Custom Columns definition.
338
- * @param {string} [customColumnDefinitionName=DefinitionName.CustomColumn] Definition name of Custom Column definition.
339
- */
340
- function addTableColumnExtensions(appSchema, entityType, page, manifest, fragments, customColumnsDefinitionName = common_2.DefinitionName.CustomColumns, customColumnDefinitionName = common_2.DefinitionName.CustomColumn) {
341
- addCustomColumnDefinition(appSchema, customColumnsDefinitionName, customColumnDefinitionName);
342
- // Leading Property
343
- addListReportLeadingProperties(appSchema, entityType, customColumnDefinitionName);
344
- // Tab key property
345
- addTabkeyEnum(appSchema, customColumnDefinitionName, page);
346
- // Fragment property
347
- const appId = manifest && manifest['sap.app'] && manifest['sap.app']['id'];
348
- addFragmentEnum(appSchema, fragments, appId, 'fragmentName', customColumnDefinitionName);
349
- addFragmentEnum(appSchema, fragments, appId, 'cellsFragmentName', customColumnDefinitionName);
350
- }
351
- exports.addTableColumnExtensions = addTableColumnExtensions;
352
- /**
353
- * Processes an anyOf definition of the generic schema
354
- * @param propertyDefinition - current definition in the generic schema
355
- * @param schema - the app-specific schema
356
- * @param propertyKey - key of the single property
357
- * @param factory - factory for creating metadata instances
358
- * @param pageType - page type
359
- */
360
- function processAnyOf(propertyDefinition, schema, propertyKey, factory, pageType) {
361
- propertyDefinition['anyOf'].forEach((element) => {
362
- const nextDefinition = common_2.getNextTargetDefinition(schema, '', {}, element, propertyKey, factory, pageType);
363
- if (nextDefinition) {
364
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
365
- processMetadata(schema, nextDefinition.targetDefinition, nextDefinition.configObject, pageType, factory);
366
- }
367
- });
368
- }
369
- /**
370
- * Processes an object reference of the generic schema
371
- * @param schema
372
- * @param propertyDefinition - current definition in the generic schema
373
- * @param propertyKey - key of the single property
374
- * @param factory - factory for creating metadata instances
375
- * @param pageType - page type
376
- */
377
- function processObject(schema, propertyDefinition, propertyKey, factory, pageType) {
378
- const nextDefinition = common_2.getNextTargetDefinition(schema, '', {}, propertyDefinition, propertyKey, factory, pageType);
379
- if (nextDefinition) {
380
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
381
- processMetadata(schema, nextDefinition.targetDefinition, nextDefinition.configObject, pageType, factory);
382
- }
383
- }
384
- /**
385
- * Determines the artifact type of a property and adds it to the property definition in schema
386
- * @param syncRule - sync rule of the current property
387
- * @param propertyDefinition - current definition in the generic schema
388
- */
389
- function addArtifactType(syncRule, propertyDefinition) {
390
- if (syncRule.manifest !== undefined) {
391
- propertyDefinition.artifactType = common_2.ArtifactType.Manifest;
392
- }
393
- else if (syncRule.flex !== undefined) {
394
- propertyDefinition.artifactType = common_2.ArtifactType.FlexChange;
395
- //Add control type
396
- if (syncRule.flex.controlType) {
397
- propertyDefinition.controlType = syncRule.flex.controlType();
398
- }
399
- }
400
- else {
401
- propertyDefinition.artifactType = common_2.ArtifactType.Annotation;
402
- }
403
- }
404
- /**
405
- * After the generation of a generic schema, apply post-generation rule to a single property
406
- * @param metaDataDefinition
407
- * @param schema - given app schema, to be adapted
408
- * @param pageType - page type
409
- * @param factory - factory for creating metadata instances
410
- * @param propertyDefinition - definition of the single property
411
- * @param propertyKey - key of the single property
412
- * @param schemaDefinition - the current entry point or definition in the app schema
413
- */
414
- function processSingleProperty(metaDataDefinition, schema, pageType, factory, propertyDefinition, propertyKey, schemaDefinition) {
415
- if (metaDataDefinition) {
416
- const syncRule = decorators_1.getReflectMetadata(metaDataDefinition, propertyKey);
417
- if (syncRule) {
418
- if (typeof syncRule.generate === 'function') {
419
- syncRule.generate(schema, schemaDefinition, propertyKey);
420
- propertyDefinition = schemaDefinition['properties'][propertyKey];
421
- }
422
- //Add artifact type
423
- addArtifactType(syncRule, propertyDefinition);
424
- }
425
- if (propertyDefinition.type === 'object' || propertyDefinition.$ref) {
426
- processObject(schema, propertyDefinition, propertyKey, factory, pageType);
427
- }
428
- else if (propertyDefinition['anyOf']) {
429
- processAnyOf(propertyDefinition, schema, propertyKey, factory, pageType);
430
- }
431
- }
432
- }
433
- /**
434
- * After the generation of a generic schema, apply rules to a list of properties of the given schema section
435
- * @param schema - given app schema, to be adapted
436
- * @param schemaDefinition - the current entry point or definition in the app schema
437
- * @param pageType - page type
438
- * @param factory - factory for creating metadata instances
439
- */
440
- function processProperties(schema, schemaDefinition, metaDataDefinition, propertiesSection, pageType, factory) {
441
- if (schemaDefinition[propertiesSection]) {
442
- for (const propertyKey in schemaDefinition[propertiesSection]) {
443
- if (propertyKey === 'anyOf') {
444
- processAnyOf(schemaDefinition[propertiesSection], schema, propertyKey, factory, pageType);
445
- }
446
- else {
447
- const propertyDefinition = schemaDefinition[propertiesSection][propertyKey];
448
- if (propertyDefinition['anyOf']) {
449
- processAnyOf(propertyDefinition, schema, propertyKey, factory, pageType);
450
- }
451
- else if (propertyKey === '$ref') {
452
- processObject(schema, schemaDefinition[propertiesSection], propertyKey, factory, pageType);
453
- }
454
- else {
455
- processSingleProperty(metaDataDefinition, schema, pageType, factory, propertyDefinition, propertyKey, schemaDefinition);
456
- }
457
- }
458
- }
459
- }
460
- }
461
- /**
462
- * Apply post-processing rules as specified in form of "generate" at the syncRule
463
- * @param schema - given app schema, to be adapted
464
- * @param schemaDefinition - the current entry point or definition in the app schema
465
- * @param pageType - page type
466
- * @param factory - factory for creating metadata instances
467
- */
468
- function processMetadata(schema, schemaDefinition, metaDataDefinition, pageType, factory) {
469
- processProperties(schema, schemaDefinition, metaDataDefinition, 'properties', pageType, factory);
470
- processProperties(schema, schemaDefinition, metaDataDefinition, 'additionalProperties', pageType, factory);
471
- processProperties(schema, schemaDefinition, metaDataDefinition, 'patternProperties', pageType, factory);
472
- }
473
- exports.processMetadata = processMetadata;
474
- /**
475
- * Method updates passed 'enum' array by removing passed matching entries.
476
- * @param {Array<unknown>} values Array of values.
477
- * @param {Array<unknown>} valuesToRemove Array of values to remove.
478
- */
479
- function removeElementsFromEnum(values, valuesToRemove) {
480
- for (const value of valuesToRemove) {
481
- const index = values.indexOf(value);
482
- if (index !== -1) {
483
- // Value exists - remove it
484
- values.splice(index, 1);
485
- }
486
- }
487
- }
488
- exports.removeElementsFromEnum = removeElementsFromEnum;
489
- /**
490
- * Adds the selection fields to the app schema, as properties of the Filterbar
491
- * @param entityType - the entity type as part of the AVT ConvertedMetadata
492
- * @param appSchema - the app specific schema that shall get enhanced
493
- * @param selectionFieldsAnnotation - the UI.SelectionField annotation
494
- */
495
- function addSelectionFields(appSchema, selectionFieldsAnnotation, entityType) {
496
- const selectionFieldsDefinition = (appSchema['definitions'].SelectionFields = Object.assign(Object.assign({}, appSchema['definitions'].SelectionFields), { properties: {}, additionalProperties: false, annotationPath: common_2.createAnnotationPath(entityType.fullyQualifiedName, "com.sap.vocabularies.UI.v1.SelectionFields" /* SelectionFields */) }));
497
- if (!selectionFieldsAnnotation) {
498
- return;
499
- }
500
- let i = 0;
501
- selectionFieldsAnnotation.forEach((selectionField) => {
502
- let description = selectionField.value;
503
- const fieldDefinition = `SelectionField<${common_2.prepareRef(selectionField.value)}>`;
504
- const dataType = common_2.determineDataType(selectionField);
505
- if (selectionField.type === 'PropertyPath') {
506
- description = common_2.getLabelForPropertyPath(selectionField, entityType);
507
- }
508
- selectionFieldsDefinition['properties'][selectionField.value] = {
509
- $ref: common_2.DEFINITION_LINK_PREFIX + fieldDefinition,
510
- propertyIndex: i
511
- };
512
- appSchema['definitions'][fieldDefinition] = {
513
- type: 'object',
514
- description,
515
- annotationPath: `${selectionFieldsDefinition.annotationPath}/${i}`,
516
- isViewNode: true,
517
- additionalProperties: false,
518
- annotationType: selectionField === null || selectionField === void 0 ? void 0 : selectionField.type,
519
- dataType,
520
- properties: {}
521
- };
522
- i++;
523
- });
524
- }
525
- exports.addSelectionFields = addSelectionFields;
526
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/sync/v2/generate/utils.ts"],"names":[],"mappings":";;AACA,yCAAyC;AAMzC,yCAasB;AACtB,mEAAwE;AAExE,+BAA2B;AAC3B,mCAAkC;AAClC,oCAAwC;AAGxC;;;;;GAKG;AACH,SAAS,yBAAyB,CAC9B,SAAqB,EACrB,2BAAmC,EACnC,0BAAkC;IAElC,IAAI,SAAS,CAAC,WAAW,CAAC,uBAAc,CAAC,SAAS,CAAC,EAAE;QACjD,SAAS,CAAC,WAAW,CAAC,uBAAc,CAAC,SAAS,CAAC,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,GAAG;YACtE,IAAI,EAAE,GAAG,+BAAsB,GAAG,2BAA2B,EAAE;SAClE,CAAC;KACL;IACD,SAAS,CAAC,aAAa,CAAC,CAAC,2BAA2B,CAAC,GAAG;QACpD,IAAI,EAAE,OAAO;QACb,KAAK,EAAE;YACH,IAAI,EAAE,GAAG,+BAAsB,GAAG,0BAA0B,EAAE;SACjE;QACD,WAAW,EAAE,gBAAgB;KAChC,CAAC;IACF,SAAS,CAAC,aAAa,CAAC,CAAC,2BAA2B,CAAC,CAAC,kBAAS,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;IACnF,MAAM,gBAAgB,GAAG,SAAS,CAAC,aAAa,CAAC,CAAC,0BAA0B,CAAe,CAAC;IAC5F,KAAK,MAAM,EAAE,IAAI,gBAAgB,CAAC,UAAU,EAAE;QAC1C,gBAAgB,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,kBAAS,CAAC,YAAY,CAAC,GAAG,qBAAY,CAAC,QAAQ,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