@sap/ux-specification 1.120.36 → 1.120.38

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 (536) hide show
  1. package/CHANGELOG.md +52 -1
  2. package/dist/documentation/runDocu-min.js +1 -1
  3. package/dist/documentation/runDocu-min.js.map +2 -2
  4. package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
  5. package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
  6. package/dist/documentation/v2/v2-ListReport.html +2 -2
  7. package/dist/documentation/v2/v2-ListReportNew.html +73 -0
  8. package/dist/documentation/v2/v2-ObjectPage.html +2 -2
  9. package/dist/documentation/v2/v2-OverviewPage.html +2 -2
  10. package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
  11. package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
  12. package/dist/documentation/v4/v4-FreestylePage.html +2 -2
  13. package/dist/documentation/v4/v4-ListReport.html +2 -2
  14. package/dist/documentation/v4/v4-ObjectPage.html +2 -2
  15. package/dist/index-min.js +112 -112
  16. package/dist/index-min.js.map +4 -4
  17. package/dist/schemas/v2/ApplicationV2.json +2 -1
  18. package/dist/schemas/v2/ListReportNewConfig.json +16 -0
  19. package/dist/schemas/v4/ApplicationV4.json +6 -1
  20. package/dist/schemas/v4/ListReportConfig.json +18 -0
  21. package/dist/schemas/v4/ObjectPageConfig.json +27 -0
  22. package/dist/specification/package.json +6 -6
  23. package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts +21 -0
  24. package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts.map +1 -1
  25. package/dist/specification/scripts/documentation/components/TreeDiagram.js +21 -0
  26. package/dist/specification/scripts/documentation/components/TreeDiagram.js.map +1 -1
  27. package/dist/specification/scripts/documentation/components/filter.d.ts +7 -0
  28. package/dist/specification/scripts/documentation/components/filter.d.ts.map +1 -1
  29. package/dist/specification/scripts/documentation/components/filter.js +30 -0
  30. package/dist/specification/scripts/documentation/components/filter.js.map +1 -1
  31. package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts +70 -0
  32. package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts.map +1 -1
  33. package/dist/specification/scripts/documentation/components/ui/TreeUI.js +70 -3
  34. package/dist/specification/scripts/documentation/components/ui/TreeUI.js.map +1 -1
  35. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts +17 -0
  36. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts.map +1 -1
  37. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js +23 -0
  38. package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js.map +1 -1
  39. package/dist/specification/scripts/documentation/components/ui/search.d.ts +12 -0
  40. package/dist/specification/scripts/documentation/components/ui/search.d.ts.map +1 -1
  41. package/dist/specification/scripts/documentation/components/ui/search.js +78 -8
  42. package/dist/specification/scripts/documentation/components/ui/search.js.map +1 -1
  43. package/dist/specification/scripts/documentation/components/ui/toggle.d.ts +21 -0
  44. package/dist/specification/scripts/documentation/components/ui/toggle.d.ts.map +1 -1
  45. package/dist/specification/scripts/documentation/components/ui/toggle.js +23 -6
  46. package/dist/specification/scripts/documentation/components/ui/toggle.js.map +1 -1
  47. package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts +24 -0
  48. package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts.map +1 -1
  49. package/dist/specification/scripts/documentation/components/ui/tooltip.js +24 -3
  50. package/dist/specification/scripts/documentation/components/ui/tooltip.js.map +1 -1
  51. package/dist/specification/scripts/documentation/components/ui/utils.d.ts +36 -0
  52. package/dist/specification/scripts/documentation/components/ui/utils.d.ts.map +1 -1
  53. package/dist/specification/scripts/documentation/components/ui/utils.js +36 -4
  54. package/dist/specification/scripts/documentation/components/ui/utils.js.map +1 -1
  55. package/dist/specification/scripts/extractDocu.js +49 -5
  56. package/dist/specification/scripts/extractDocu.js.map +1 -1
  57. package/dist/specification/scripts/macros/api.d.ts +4 -1
  58. package/dist/specification/scripts/macros/api.d.ts.map +1 -1
  59. package/dist/specification/scripts/macros/api.js +9 -1
  60. package/dist/specification/scripts/macros/api.js.map +1 -1
  61. package/dist/specification/scripts/macros/cmd.d.ts +1 -0
  62. package/dist/specification/scripts/macros/cmd.d.ts.map +1 -1
  63. package/dist/specification/scripts/macros/cmd.js +1 -0
  64. package/dist/specification/scripts/macros/cmd.js.map +1 -1
  65. package/dist/specification/scripts/macros/corrections.d.ts +1 -0
  66. package/dist/specification/scripts/macros/corrections.d.ts.map +1 -1
  67. package/dist/specification/scripts/macros/corrections.js +5 -0
  68. package/dist/specification/scripts/macros/corrections.js.map +1 -1
  69. package/dist/specification/scripts/macros/i18n.d.ts +1 -0
  70. package/dist/specification/scripts/macros/i18n.d.ts.map +1 -1
  71. package/dist/specification/scripts/macros/i18n.js +1 -0
  72. package/dist/specification/scripts/macros/i18n.js.map +1 -1
  73. package/dist/specification/scripts/macros/schema.d.ts +1 -0
  74. package/dist/specification/scripts/macros/schema.d.ts.map +1 -1
  75. package/dist/specification/scripts/macros/schema.js +18 -5
  76. package/dist/specification/scripts/macros/schema.js.map +1 -1
  77. package/dist/specification/scripts/schema/to-json-schema.d.ts +13 -5
  78. package/dist/specification/scripts/schema/to-json-schema.d.ts.map +1 -1
  79. package/dist/specification/scripts/schema/to-json-schema.js +57 -6
  80. package/dist/specification/scripts/schema/to-json-schema.js.map +1 -1
  81. package/dist/specification/scripts/spec.js +19 -9
  82. package/dist/specification/scripts/spec.js.map +1 -1
  83. package/dist/specification/src/api.d.ts +20 -12
  84. package/dist/specification/src/api.d.ts.map +1 -1
  85. package/dist/specification/src/api.js +24 -15
  86. package/dist/specification/src/api.js.map +1 -1
  87. package/dist/specification/src/extensionLogger.d.ts +3 -2
  88. package/dist/specification/src/extensionLogger.d.ts.map +1 -1
  89. package/dist/specification/src/extensionLogger.js +3 -2
  90. package/dist/specification/src/extensionLogger.js.map +1 -1
  91. package/dist/specification/src/i18n/i18n.d.ts +5 -0
  92. package/dist/specification/src/i18n/i18n.d.ts.map +1 -1
  93. package/dist/specification/src/i18n/i18n.js +5 -0
  94. package/dist/specification/src/i18n/i18n.js.map +1 -1
  95. package/dist/specification/src/project.d.ts +3 -1
  96. package/dist/specification/src/project.d.ts.map +1 -1
  97. package/dist/specification/src/project.js +3 -1
  98. package/dist/specification/src/project.js.map +1 -1
  99. package/dist/specification/src/specification/schemaAccess.d.ts +6 -2
  100. package/dist/specification/src/specification/schemaAccess.d.ts.map +1 -1
  101. package/dist/specification/src/specification/schemaAccess.js +10 -4
  102. package/dist/specification/src/specification/schemaAccess.js.map +1 -1
  103. package/dist/specification/src/sync/common/DataFieldStrategy.d.ts +63 -0
  104. package/dist/specification/src/sync/common/DataFieldStrategy.d.ts.map +1 -0
  105. package/dist/specification/src/sync/common/DataFieldStrategy.js +357 -0
  106. package/dist/specification/src/sync/common/DataFieldStrategy.js.map +1 -0
  107. package/dist/specification/src/sync/common/appProvider.d.ts +17 -6
  108. package/dist/specification/src/sync/common/appProvider.d.ts.map +1 -1
  109. package/dist/specification/src/sync/common/appProvider.js +33 -17
  110. package/dist/specification/src/sync/common/appProvider.js.map +1 -1
  111. package/dist/specification/src/sync/common/decoration/control.d.ts +26 -10
  112. package/dist/specification/src/sync/common/decoration/control.d.ts.map +1 -1
  113. package/dist/specification/src/sync/common/decoration/control.js +32 -13
  114. package/dist/specification/src/sync/common/decoration/control.js.map +1 -1
  115. package/dist/specification/src/sync/common/decoration/decorators.d.ts +14 -0
  116. package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
  117. package/dist/specification/src/sync/common/decoration/decorators.js +14 -0
  118. package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
  119. package/dist/specification/src/sync/common/decoration/factory.d.ts +12 -3
  120. package/dist/specification/src/sync/common/decoration/factory.d.ts.map +1 -1
  121. package/dist/specification/src/sync/common/decoration/factory.js +6 -3
  122. package/dist/specification/src/sync/common/decoration/factory.js.map +1 -1
  123. package/dist/specification/src/sync/common/decoration/flex.d.ts +7 -0
  124. package/dist/specification/src/sync/common/decoration/flex.d.ts.map +1 -1
  125. package/dist/specification/src/sync/common/decoration/flex.js +7 -0
  126. package/dist/specification/src/sync/common/decoration/flex.js.map +1 -1
  127. package/dist/specification/src/sync/common/distTagEvaluator.d.ts +13 -3
  128. package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -1
  129. package/dist/specification/src/sync/common/distTagEvaluator.js +13 -3
  130. package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -1
  131. package/dist/specification/src/sync/common/flexUtils.d.ts +11 -10
  132. package/dist/specification/src/sync/common/flexUtils.d.ts.map +1 -1
  133. package/dist/specification/src/sync/common/flexUtils.js +11 -10
  134. package/dist/specification/src/sync/common/flexUtils.js.map +1 -1
  135. package/dist/specification/src/sync/common/generate/objectPage.d.ts +89 -19
  136. package/dist/specification/src/sync/common/generate/objectPage.d.ts.map +1 -1
  137. package/dist/specification/src/sync/common/generate/objectPage.js +223 -89
  138. package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -1
  139. package/dist/specification/src/sync/common/generate/utils.d.ts +84 -38
  140. package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -1
  141. package/dist/specification/src/sync/common/generate/utils.js +112 -37
  142. package/dist/specification/src/sync/common/generate/utils.js.map +1 -1
  143. package/dist/specification/src/sync/common/i18n.json +2 -1
  144. package/dist/specification/src/sync/common/import/utils.d.ts +9 -3
  145. package/dist/specification/src/sync/common/import/utils.d.ts.map +1 -1
  146. package/dist/specification/src/sync/common/import/utils.js +9 -3
  147. package/dist/specification/src/sync/common/import/utils.js.map +1 -1
  148. package/dist/specification/src/sync/common/importProject.d.ts +17 -6
  149. package/dist/specification/src/sync/common/importProject.d.ts.map +1 -1
  150. package/dist/specification/src/sync/common/importProject.js +60 -30
  151. package/dist/specification/src/sync/common/importProject.js.map +1 -1
  152. package/dist/specification/src/sync/common/index.d.ts +1 -0
  153. package/dist/specification/src/sync/common/index.d.ts.map +1 -1
  154. package/dist/specification/src/sync/common/index.js +1 -0
  155. package/dist/specification/src/sync/common/index.js.map +1 -1
  156. package/dist/specification/src/sync/common/utils.d.ts +152 -56
  157. package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
  158. package/dist/specification/src/sync/common/utils.js +260 -155
  159. package/dist/specification/src/sync/common/utils.js.map +1 -1
  160. package/dist/specification/src/sync/i18n.d.ts +5 -0
  161. package/dist/specification/src/sync/i18n.d.ts.map +1 -1
  162. package/dist/specification/src/sync/i18n.js +5 -0
  163. package/dist/specification/src/sync/i18n.js.map +1 -1
  164. package/dist/specification/src/sync/v2/export/controls/Action.d.ts +3 -3
  165. package/dist/specification/src/sync/v2/export/controls/Action.js +15 -15
  166. package/dist/specification/src/sync/v2/export/controls/Card.d.ts +14 -0
  167. package/dist/specification/src/sync/v2/export/controls/Card.d.ts.map +1 -1
  168. package/dist/specification/src/sync/v2/export/controls/Card.js +20 -0
  169. package/dist/specification/src/sync/v2/export/controls/Card.js.map +1 -1
  170. package/dist/specification/src/sync/v2/export/controls/Field.js +5 -5
  171. package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts +13 -0
  172. package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts.map +1 -1
  173. package/dist/specification/src/sync/v2/export/controls/FilterBar.js +21 -0
  174. package/dist/specification/src/sync/v2/export/controls/FilterBar.js.map +1 -1
  175. package/dist/specification/src/sync/v2/export/controls/FormAction.js +4 -4
  176. package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts +10 -5
  177. package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts.map +1 -1
  178. package/dist/specification/src/sync/v2/export/controls/Fragment.js +62 -25
  179. package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -1
  180. package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.js +6 -6
  181. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.js +6 -6
  182. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +1 -1
  183. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js +20 -16
  184. package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +1 -1
  185. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts.map +1 -1
  186. package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js.map +1 -1
  187. package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.js +6 -6
  188. package/dist/specification/src/sync/v2/export/controls/Table.d.ts +24 -0
  189. package/dist/specification/src/sync/v2/export/controls/Table.d.ts.map +1 -1
  190. package/dist/specification/src/sync/v2/export/controls/Table.js +48 -3
  191. package/dist/specification/src/sync/v2/export/controls/Table.js.map +1 -1
  192. package/dist/specification/src/sync/v2/export/controls/TableColumn.js +10 -10
  193. package/dist/specification/src/sync/v2/export/export.d.ts +7 -3
  194. package/dist/specification/src/sync/v2/export/export.d.ts.map +1 -1
  195. package/dist/specification/src/sync/v2/export/export.js +133 -44
  196. package/dist/specification/src/sync/v2/export/export.js.map +1 -1
  197. package/dist/specification/src/sync/v2/export/exportPage.d.ts +28 -11
  198. package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -1
  199. package/dist/specification/src/sync/v2/export/exportPage.js +43 -22
  200. package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -1
  201. package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts +6 -3
  202. package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts.map +1 -1
  203. package/dist/specification/src/sync/v2/export/exportPageGeneric.js +27 -17
  204. package/dist/specification/src/sync/v2/export/exportPageGeneric.js.map +1 -1
  205. package/dist/specification/src/sync/v2/export/manifest.d.ts +5 -2
  206. package/dist/specification/src/sync/v2/export/manifest.d.ts.map +1 -1
  207. package/dist/specification/src/sync/v2/export/manifest.js +30 -6
  208. package/dist/specification/src/sync/v2/export/manifest.js.map +1 -1
  209. package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts +21 -0
  210. package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts.map +1 -1
  211. package/dist/specification/src/sync/v2/export/pages/OverviewPage.js +36 -2
  212. package/dist/specification/src/sync/v2/export/pages/OverviewPage.js.map +1 -1
  213. package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts +25 -15
  214. package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts.map +1 -1
  215. package/dist/specification/src/sync/v2/export/view-controller-generator.js +27 -16
  216. package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -1
  217. package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts +2 -0
  218. package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
  219. package/dist/specification/src/sync/v2/generate/analyticalListReport.js +6 -0
  220. package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  221. package/dist/specification/src/sync/v2/generate/generate.d.ts +5 -9
  222. package/dist/specification/src/sync/v2/generate/generate.d.ts.map +1 -1
  223. package/dist/specification/src/sync/v2/generate/generate.js +14 -14
  224. package/dist/specification/src/sync/v2/generate/generate.js.map +1 -1
  225. package/dist/specification/src/sync/v2/generate/index.d.ts +1 -1
  226. package/dist/specification/src/sync/v2/generate/index.d.ts.map +1 -1
  227. package/dist/specification/src/sync/v2/generate/index.js +5 -2
  228. package/dist/specification/src/sync/v2/generate/index.js.map +1 -1
  229. package/dist/specification/src/sync/v2/generate/listReport.d.ts +5 -3
  230. package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -1
  231. package/dist/specification/src/sync/v2/generate/listReport.js +25 -8
  232. package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -1
  233. package/dist/specification/src/sync/v2/generate/objectPage.d.ts +2 -2
  234. package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -1
  235. package/dist/specification/src/sync/v2/generate/objectPage.js +75 -43
  236. package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -1
  237. package/dist/specification/src/sync/v2/generate/overviewPage.d.ts +2 -2
  238. package/dist/specification/src/sync/v2/generate/overviewPage.d.ts.map +1 -1
  239. package/dist/specification/src/sync/v2/generate/overviewPage.js +2 -2
  240. package/dist/specification/src/sync/v2/generate/overviewPage.js.map +1 -1
  241. package/dist/specification/src/sync/v2/generate/schemaAdaptation.d.ts +5 -2
  242. package/dist/specification/src/sync/v2/generate/schemaAdaptation.d.ts.map +1 -1
  243. package/dist/specification/src/sync/v2/generate/schemaAdaptation.js +4 -4
  244. package/dist/specification/src/sync/v2/generate/schemaAdaptation.js.map +1 -1
  245. package/dist/specification/src/sync/v2/generate/utils.d.ts +47 -22
  246. package/dist/specification/src/sync/v2/generate/utils.d.ts.map +1 -1
  247. package/dist/specification/src/sync/v2/generate/utils.js +92 -33
  248. package/dist/specification/src/sync/v2/generate/utils.js.map +1 -1
  249. package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.d.ts +27 -0
  250. package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.d.ts.map +1 -0
  251. package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.js +60 -0
  252. package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.js.map +1 -0
  253. package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.d.ts +84 -0
  254. package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.d.ts.map +1 -0
  255. package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.js +262 -0
  256. package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.js.map +1 -0
  257. package/dist/specification/src/sync/v2/import/app/appProvider.d.ts +7 -0
  258. package/dist/specification/src/sync/v2/import/app/appProvider.d.ts.map +1 -1
  259. package/dist/specification/src/sync/v2/import/app/appProvider.js +26 -6
  260. package/dist/specification/src/sync/v2/import/app/appProvider.js.map +1 -1
  261. package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts +4 -0
  262. package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts.map +1 -1
  263. package/dist/specification/src/sync/v2/import/app/ovpProvider.js +4 -0
  264. package/dist/specification/src/sync/v2/import/app/ovpProvider.js.map +1 -1
  265. package/dist/specification/src/sync/v2/import/common/index.d.ts +28 -15
  266. package/dist/specification/src/sync/v2/import/common/index.d.ts.map +1 -1
  267. package/dist/specification/src/sync/v2/import/common/index.js +91 -35
  268. package/dist/specification/src/sync/v2/import/common/index.js.map +1 -1
  269. package/dist/specification/src/sync/v2/import/controls/table.d.ts +6 -2
  270. package/dist/specification/src/sync/v2/import/controls/table.d.ts.map +1 -1
  271. package/dist/specification/src/sync/v2/import/controls/table.js +6 -2
  272. package/dist/specification/src/sync/v2/import/controls/table.js.map +1 -1
  273. package/dist/specification/src/sync/v2/import/importPage.d.ts +3 -2
  274. package/dist/specification/src/sync/v2/import/importPage.d.ts.map +1 -1
  275. package/dist/specification/src/sync/v2/import/importPage.js +4 -5
  276. package/dist/specification/src/sync/v2/import/importPage.js.map +1 -1
  277. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts +3 -3
  278. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -1
  279. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js +9 -10
  280. package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
  281. package/dist/specification/src/sync/v2/import/pages/listReport.d.ts +8 -7
  282. package/dist/specification/src/sync/v2/import/pages/listReport.d.ts.map +1 -1
  283. package/dist/specification/src/sync/v2/import/pages/listReport.js +28 -24
  284. package/dist/specification/src/sync/v2/import/pages/listReport.js.map +1 -1
  285. package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts +3 -3
  286. package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts.map +1 -1
  287. package/dist/specification/src/sync/v2/import/pages/objectPage.js +107 -76
  288. package/dist/specification/src/sync/v2/import/pages/objectPage.js.map +1 -1
  289. package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts +2 -1
  290. package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts.map +1 -1
  291. package/dist/specification/src/sync/v2/import/pages/overviewPage.js +27 -12
  292. package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -1
  293. package/dist/specification/src/sync/v2/import/utils.d.ts +18 -9
  294. package/dist/specification/src/sync/v2/import/utils.d.ts.map +1 -1
  295. package/dist/specification/src/sync/v2/import/utils.js +27 -15
  296. package/dist/specification/src/sync/v2/import/utils.js.map +1 -1
  297. package/dist/specification/src/sync/v2/utils.d.ts +27 -2
  298. package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
  299. package/dist/specification/src/sync/v2/utils.js +46 -0
  300. package/dist/specification/src/sync/v2/utils.js.map +1 -1
  301. package/dist/specification/src/sync/v4/application.d.ts +7 -5
  302. package/dist/specification/src/sync/v4/application.d.ts.map +1 -1
  303. package/dist/specification/src/sync/v4/application.js +7 -5
  304. package/dist/specification/src/sync/v4/application.js.map +1 -1
  305. package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -1
  306. package/dist/specification/src/sync/v4/export/controls/FilterBar.js +8 -0
  307. package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -1
  308. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.d.ts.map +1 -1
  309. package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.js.map +1 -1
  310. package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.d.ts +4 -1
  311. package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.d.ts.map +1 -1
  312. package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js +4 -1
  313. package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js.map +1 -1
  314. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.d.ts +2 -2
  315. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +1 -1
  316. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.js.map +1 -1
  317. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts +3 -0
  318. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts.map +1 -1
  319. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js +4 -1
  320. package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js.map +1 -1
  321. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -1
  322. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -1
  323. package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +6 -0
  324. package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +1 -1
  325. package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.js +7 -1
  326. package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +1 -1
  327. package/dist/specification/src/sync/v4/export/controls/Table.d.ts +14 -9
  328. package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
  329. package/dist/specification/src/sync/v4/export/controls/Table.js +44 -17
  330. package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -1
  331. package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -1
  332. package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -1
  333. package/dist/specification/src/sync/v4/export/controls/ToolBar.d.ts +2 -2
  334. package/dist/specification/src/sync/v4/export/controls/ToolBar.d.ts.map +1 -1
  335. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +6 -0
  336. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -1
  337. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +7 -1
  338. package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -1
  339. package/dist/specification/src/sync/v4/export/export.d.ts +6 -4
  340. package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -1
  341. package/dist/specification/src/sync/v4/export/export.js +147 -59
  342. package/dist/specification/src/sync/v4/export/export.js.map +1 -1
  343. package/dist/specification/src/sync/v4/export/exportCustomColumn.d.ts +6 -4
  344. package/dist/specification/src/sync/v4/export/exportCustomColumn.d.ts.map +1 -1
  345. package/dist/specification/src/sync/v4/export/exportCustomColumn.js +6 -4
  346. package/dist/specification/src/sync/v4/export/exportCustomColumn.js.map +1 -1
  347. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts +3 -2
  348. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts.map +1 -1
  349. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js +13 -9
  350. package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js.map +1 -1
  351. package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts +6 -4
  352. package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -1
  353. package/dist/specification/src/sync/v4/export/fpmCustomPage.js +9 -4
  354. package/dist/specification/src/sync/v4/export/fpmCustomPage.js.map +1 -1
  355. package/dist/specification/src/sync/v4/export/manifest.d.ts +6 -2
  356. package/dist/specification/src/sync/v4/export/manifest.d.ts.map +1 -1
  357. package/dist/specification/src/sync/v4/export/manifest.js +46 -17
  358. package/dist/specification/src/sync/v4/export/manifest.js.map +1 -1
  359. package/dist/specification/src/sync/v4/export/pages/ListReport.d.ts.map +1 -1
  360. package/dist/specification/src/sync/v4/export/pages/ListReport.js +4 -3
  361. package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -1
  362. package/dist/specification/src/sync/v4/export/utils.d.ts +6 -4
  363. package/dist/specification/src/sync/v4/export/utils.d.ts.map +1 -1
  364. package/dist/specification/src/sync/v4/export/utils.js +6 -4
  365. package/dist/specification/src/sync/v4/export/utils.js.map +1 -1
  366. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +1 -1
  367. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js +6 -1
  368. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -1
  369. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts +5 -3
  370. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +1 -1
  371. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js +14 -5
  372. package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js.map +1 -1
  373. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts +1 -0
  374. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +1 -1
  375. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js +18 -0
  376. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js.map +1 -1
  377. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts +1 -1
  378. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts.map +1 -1
  379. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.js +2 -1
  380. package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.js.map +1 -1
  381. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts +2 -0
  382. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +1 -1
  383. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js +2 -0
  384. package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js.map +1 -1
  385. package/dist/specification/src/sync/v4/generate/freestylePage.d.ts +2 -2
  386. package/dist/specification/src/sync/v4/generate/freestylePage.js +2 -2
  387. package/dist/specification/src/sync/v4/generate/generate.d.ts +13 -11
  388. package/dist/specification/src/sync/v4/generate/generate.d.ts.map +1 -1
  389. package/dist/specification/src/sync/v4/generate/generate.js +13 -11
  390. package/dist/specification/src/sync/v4/generate/generate.js.map +1 -1
  391. package/dist/specification/src/sync/v4/generate/listReport.d.ts +10 -7
  392. package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -1
  393. package/dist/specification/src/sync/v4/generate/listReport.js +124 -78
  394. package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -1
  395. package/dist/specification/src/sync/v4/generate/objectPage.d.ts +22 -1
  396. package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
  397. package/dist/specification/src/sync/v4/generate/objectPage.js +251 -195
  398. package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
  399. package/dist/specification/src/sync/v4/import/app/appProvider.d.ts +18 -4
  400. package/dist/specification/src/sync/v4/import/app/appProvider.d.ts.map +1 -1
  401. package/dist/specification/src/sync/v4/import/app/appProvider.js +56 -24
  402. package/dist/specification/src/sync/v4/import/app/appProvider.js.map +1 -1
  403. package/dist/specification/src/sync/v4/import/fragment.d.ts +29 -4
  404. package/dist/specification/src/sync/v4/import/fragment.d.ts.map +1 -1
  405. package/dist/specification/src/sync/v4/import/fragment.js +46 -7
  406. package/dist/specification/src/sync/v4/import/fragment.js.map +1 -1
  407. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts +3 -2
  408. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +1 -1
  409. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js +7 -2
  410. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js.map +1 -1
  411. package/dist/specification/src/sync/v4/import/pages/listReport.d.ts +12 -10
  412. package/dist/specification/src/sync/v4/import/pages/listReport.d.ts.map +1 -1
  413. package/dist/specification/src/sync/v4/import/pages/listReport.js +83 -51
  414. package/dist/specification/src/sync/v4/import/pages/listReport.js.map +1 -1
  415. package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts +7 -6
  416. package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts.map +1 -1
  417. package/dist/specification/src/sync/v4/import/pages/objectPage.js +85 -74
  418. package/dist/specification/src/sync/v4/import/pages/objectPage.js.map +1 -1
  419. package/dist/specification/src/sync/v4/import/utils.d.ts +4 -2
  420. package/dist/specification/src/sync/v4/import/utils.d.ts.map +1 -1
  421. package/dist/specification/src/sync/v4/import/utils.js +4 -2
  422. package/dist/specification/src/sync/v4/import/utils.js.map +1 -1
  423. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.d.ts.map +1 -1
  424. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js +5 -2
  425. package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js.map +1 -1
  426. package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts +33 -0
  427. package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts.map +1 -1
  428. package/dist/specification/src/sync/v4/utils/StableIdHelper.js +42 -53
  429. package/dist/specification/src/sync/v4/utils/StableIdHelper.js.map +1 -1
  430. package/dist/specification/src/sync/v4/utils/macros.d.ts +4 -0
  431. package/dist/specification/src/sync/v4/utils/macros.d.ts.map +1 -1
  432. package/dist/specification/src/sync/v4/utils/macros.js +17 -1
  433. package/dist/specification/src/sync/v4/utils/macros.js.map +1 -1
  434. package/dist/specification/src/sync/v4/utils/utils.d.ts +109 -22
  435. package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
  436. package/dist/specification/src/sync/v4/utils/utils.js +372 -159
  437. package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
  438. package/dist/types/src/common/Application.d.ts +6 -0
  439. package/dist/types/src/common/Application.d.ts.map +1 -1
  440. package/dist/types/src/common/Application.js +4 -0
  441. package/dist/types/src/common/Application.js.map +1 -1
  442. package/dist/types/src/common/types.d.ts +56 -2
  443. package/dist/types/src/common/types.d.ts.map +1 -1
  444. package/dist/types/src/common/types.js +7 -1
  445. package/dist/types/src/common/types.js.map +1 -1
  446. package/dist/types/src/common/webapp/manifest/sapUi5.d.ts +3 -2
  447. package/dist/types/src/common/webapp/manifest/sapUi5.d.ts.map +1 -1
  448. package/dist/types/src/common/webapp/manifest/sapUi5.js +3 -2
  449. package/dist/types/src/common/webapp/manifest/sapUi5.js.map +1 -1
  450. package/dist/types/src/v2/application.d.ts +1 -1
  451. package/dist/types/src/v2/controls/Action.d.ts +12 -0
  452. package/dist/types/src/v2/controls/Action.d.ts.map +1 -1
  453. package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts +1 -0
  454. package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts.map +1 -1
  455. package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts +1 -0
  456. package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts.map +1 -1
  457. package/dist/types/src/v2/controls/Card.d.ts +13 -0
  458. package/dist/types/src/v2/controls/Card.d.ts.map +1 -1
  459. package/dist/types/src/v2/controls/Card.js.map +1 -1
  460. package/dist/types/src/v2/controls/Field.d.ts +1 -0
  461. package/dist/types/src/v2/controls/Field.d.ts.map +1 -1
  462. package/dist/types/src/v2/controls/FilterBar.d.ts +6 -0
  463. package/dist/types/src/v2/controls/FilterBar.d.ts.map +1 -1
  464. package/dist/types/src/v2/controls/FilterBar.js.map +1 -1
  465. package/dist/types/src/v2/controls/Header.d.ts +1 -0
  466. package/dist/types/src/v2/controls/Header.d.ts.map +1 -1
  467. package/dist/types/src/v2/controls/ObjectPageChart.d.ts +1 -0
  468. package/dist/types/src/v2/controls/ObjectPageChart.d.ts.map +1 -1
  469. package/dist/types/src/v2/controls/ObjectPageFooter.d.ts +2 -0
  470. package/dist/types/src/v2/controls/ObjectPageFooter.d.ts.map +1 -1
  471. package/dist/types/src/v2/controls/ObjectPageForm.d.ts +1 -0
  472. package/dist/types/src/v2/controls/ObjectPageForm.d.ts.map +1 -1
  473. package/dist/types/src/v2/controls/ObjectPageHeader.d.ts +1 -0
  474. package/dist/types/src/v2/controls/ObjectPageHeader.d.ts.map +1 -1
  475. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts +3 -0
  476. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts.map +1 -1
  477. package/dist/types/src/v2/controls/ObjectPageLayout.d.ts +1 -0
  478. package/dist/types/src/v2/controls/ObjectPageLayout.d.ts.map +1 -1
  479. package/dist/types/src/v2/controls/ObjectPageSection.d.ts +13 -0
  480. package/dist/types/src/v2/controls/ObjectPageSection.d.ts.map +1 -1
  481. package/dist/types/src/v2/controls/ObjectPageSection.js.map +1 -1
  482. package/dist/types/src/v2/controls/ObjectPageTable.d.ts +6 -0
  483. package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -1
  484. package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts +2 -0
  485. package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts.map +1 -1
  486. package/dist/types/src/v2/controls/Table.d.ts +28 -0
  487. package/dist/types/src/v2/controls/Table.d.ts.map +1 -1
  488. package/dist/types/src/v2/controls/Table.js.map +1 -1
  489. package/dist/types/src/v2/controls/ToolBar.d.ts +1 -0
  490. package/dist/types/src/v2/controls/ToolBar.d.ts.map +1 -1
  491. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts +1 -0
  492. package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts.map +1 -1
  493. package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts +4 -0
  494. package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts.map +1 -1
  495. package/dist/types/src/v4/application.d.ts +1 -1
  496. package/dist/types/src/v4/controls/CustomAction.d.ts +10 -0
  497. package/dist/types/src/v4/controls/CustomAction.d.ts.map +1 -1
  498. package/dist/types/src/v4/controls/FilterBar.d.ts +11 -0
  499. package/dist/types/src/v4/controls/FilterBar.d.ts.map +1 -1
  500. package/dist/types/src/v4/controls/FilterBar.js.map +1 -1
  501. package/dist/types/src/v4/controls/Header.d.ts +1 -0
  502. package/dist/types/src/v4/controls/Header.d.ts.map +1 -1
  503. package/dist/types/src/v4/controls/ObjectPageFooter.d.ts +1 -0
  504. package/dist/types/src/v4/controls/ObjectPageFooter.d.ts.map +1 -1
  505. package/dist/types/src/v4/controls/ObjectPageForm.d.ts +5 -1
  506. package/dist/types/src/v4/controls/ObjectPageForm.d.ts.map +1 -1
  507. package/dist/types/src/v4/controls/ObjectPageHeader.d.ts +6 -1
  508. package/dist/types/src/v4/controls/ObjectPageHeader.d.ts.map +1 -1
  509. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts +6 -0
  510. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -1
  511. package/dist/types/src/v4/controls/ObjectPageLayout.d.ts +1 -0
  512. package/dist/types/src/v4/controls/ObjectPageLayout.d.ts.map +1 -1
  513. package/dist/types/src/v4/controls/ObjectPageSection.d.ts +17 -0
  514. package/dist/types/src/v4/controls/ObjectPageSection.d.ts.map +1 -1
  515. package/dist/types/src/v4/controls/ObjectPageSection.js.map +1 -1
  516. package/dist/types/src/v4/controls/ObjectPageTable.d.ts +9 -0
  517. package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -1
  518. package/dist/types/src/v4/controls/ObjectPageTable.js.map +1 -1
  519. package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts +8 -1
  520. package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts.map +1 -1
  521. package/dist/types/src/v4/controls/Table.d.ts +16 -0
  522. package/dist/types/src/v4/controls/Table.d.ts.map +1 -1
  523. package/dist/types/src/v4/controls/ToolBar.d.ts +17 -2
  524. package/dist/types/src/v4/controls/ToolBar.d.ts.map +1 -1
  525. package/dist/types/src/v4/page.d.ts +4 -0
  526. package/dist/types/src/v4/page.d.ts.map +1 -1
  527. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts +22 -0
  528. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts.map +1 -1
  529. package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts +3 -0
  530. package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts.map +1 -1
  531. package/dist/types/src/v4/webapp/manifest/sapUi5.js.map +1 -1
  532. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts +1 -1
  533. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts.map +1 -1
  534. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js +2 -2
  535. package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js.map +1 -1
  536. package/package.json +7 -7
@@ -4,9 +4,16 @@ exports.getStableIdPartFromDataField = exports.getStableIdPartFromSemanticObject
4
4
  exports.replaceSpecialChars = replaceSpecialChars;
5
5
  exports.getStableIdPartFromValue = getStableIdPartFromValue;
6
6
  const utils_1 = require("../../common/utils");
7
+ const DataFieldStrategy_1 = require("../../common/DataFieldStrategy");
7
8
  /**
8
9
  * Stable Id helper (parts copied from sap.fe.core/helpers/StableIdHelper.ts)
9
10
  */
11
+ /**
12
+ * Replaces special characters in the given string to create a stable ID.
13
+ *
14
+ * @param sId - The input string to process.
15
+ * @returns The processed string with special characters replaced.
16
+ */
10
17
  function replaceSpecialChars(sId) {
11
18
  if (typeof sId !== 'string') {
12
19
  return;
@@ -29,6 +36,12 @@ const prepareId = function (sId) {
29
36
  return replaceSpecialChars((0, utils_1.removeNamespaces)(sId));
30
37
  };
31
38
  exports.prepareId = prepareId;
39
+ /**
40
+ * Evaluates the concatenation of paths in the given value.
41
+ *
42
+ * @param oValue - The object containing the $Apply array with paths to concatenate.
43
+ * @returns The concatenated path string.
44
+ */
32
45
  function evaluateConcat(oValue) {
33
46
  let sPathConcat = '';
34
47
  for (const applyValue of oValue.$Apply) {
@@ -41,6 +54,12 @@ function evaluateConcat(oValue) {
41
54
  }
42
55
  return sPathConcat;
43
56
  }
57
+ /**
58
+ * Generates a stable ID part based on the provided value.
59
+ *
60
+ * @param oValue - The input value used to generate the stable ID part.
61
+ * @returns The stable ID part as a string, or undefined if the input is invalid.
62
+ */
44
63
  function getStableIdPartFromValue(oValue) {
45
64
  if (oValue?.$Path || oValue?.path) {
46
65
  return oValue.$Path || oValue.path;
@@ -54,6 +73,17 @@ function getStableIdPartFromValue(oValue) {
54
73
  }
55
74
  }
56
75
  }
76
+ /**
77
+ * Generates a stable ID part using the provided semantic object and action from the given data field.
78
+ * Combines the semantic object and action properties into a string formatted as `SemanticObject::Action`.
79
+ * If the `RequiresContext` property exists in the data field, it appends `::RequiresContext` to the ID.
80
+ *
81
+ * @param {object} oDataField - The data field containing SemanticObject, Action, and optionally RequiresContext properties.
82
+ * @param {string|object} oDataField.SemanticObject - The semantic object, which can be a string or an object with a $Path property.
83
+ * @param {string|object} oDataField.Action - The action, which can be a string or an object with a $Path property.
84
+ * @param {boolean} [oDataField.RequiresContext] - Indicates if RequiresContext should be appended to the ID.
85
+ * @returns {string} The constructed stable ID part.
86
+ */
57
87
  const getStableIdPartFromSemanticObjectAndAction = function (oDataField) {
58
88
  let sIdPart = '';
59
89
  if (typeof oDataField.SemanticObject === 'string') {
@@ -74,60 +104,19 @@ const getStableIdPartFromSemanticObjectAndAction = function (oDataField) {
74
104
  return sIdPart;
75
105
  };
76
106
  exports.getStableIdPartFromSemanticObjectAndAction = getStableIdPartFromSemanticObjectAndAction;
107
+ /**
108
+ * Extracts a stable ID part from the provided data field object by utilizing
109
+ * a strategy defined in the data field strategy context.
110
+ *
111
+ * The function determines the appropriate strategy for the given data field type
112
+ * and invokes the `generateStableId` method of the strategy to create the stable ID part.
113
+ *
114
+ * @param {any} oDataField - The data field object from which the stable ID part is to be generated.
115
+ * @returns {string | undefined} The generated stable ID part as a string, or undefined if no strategy is available or applicable.
116
+ */
77
117
  const getStableIdPartFromDataField = function (oDataField) {
78
- let sIdPart = '';
79
- if (oDataField.$Type && oDataField.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAction" /* UIAnnotationTypes.DataFieldForAction */) {
80
- sIdPart = 'DataFieldForAction::';
81
- sIdPart += oDataField.Action;
82
- return (0, exports.prepareId)(sIdPart);
83
- }
84
- else if (oDataField.$Type && oDataField.$Type === "com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation" /* UIAnnotationTypes.DataFieldForIntentBasedNavigation */) {
85
- sIdPart = 'DataFieldForIntentBasedNavigation::';
86
- sIdPart += (0, exports.getStableIdPartFromSemanticObjectAndAction)(oDataField);
87
- return sIdPart;
88
- }
89
- else if (oDataField.$Type && oDataField.$Type === "com.sap.vocabularies.UI.v1.DataFieldForAnnotation" /* UIAnnotationTypes.DataFieldForAnnotation */) {
90
- sIdPart = 'DataFieldForAnnotation::';
91
- sIdPart += (0, exports.prepareId)(oDataField.Target.$AnnotationPath || oDataField.Target.value);
92
- return sIdPart;
93
- }
94
- else if (oDataField.$Type && oDataField.$Type === "com.sap.vocabularies.UI.v1.DataFieldWithAction" /* UIAnnotationTypes.DataFieldWithAction */) {
95
- sIdPart = 'DataFieldWithAction::';
96
- if (oDataField.Value) {
97
- sIdPart += getStableIdPartFromValue(oDataField.Value) + '::';
98
- }
99
- sIdPart += oDataField.Action;
100
- return (0, exports.prepareId)(sIdPart);
101
- }
102
- else if (oDataField.$Type && oDataField.$Type === "com.sap.vocabularies.UI.v1.DataField" /* UIAnnotationTypes.DataField */) {
103
- sIdPart = 'DataField::';
104
- sIdPart += getStableIdPartFromValue(oDataField.Value);
105
- return (0, exports.prepareId)(sIdPart);
106
- }
107
- else if (oDataField.$Type && oDataField.$Type === "com.sap.vocabularies.UI.v1.DataFieldWithIntentBasedNavigation" /* UIAnnotationTypes.DataFieldWithIntentBasedNavigation */) {
108
- sIdPart = 'DataFieldWithIntentBasedNavigation::';
109
- sIdPart += getStableIdPartFromValue(oDataField.Value) + '::';
110
- sIdPart += (0, exports.getStableIdPartFromSemanticObjectAndAction)(oDataField);
111
- return (0, exports.prepareId)(sIdPart);
112
- }
113
- else if (oDataField.$Type && oDataField.$Type === "com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath" /* UIAnnotationTypes.DataFieldWithNavigationPath */) {
114
- sIdPart = 'DataFieldWithNavigationPath::';
115
- sIdPart += getStableIdPartFromValue(oDataField.Value);
116
- if (oDataField.Target && oDataField.Target['$NavigationPropertyPath']) {
117
- sIdPart += '::' + oDataField.Target['$NavigationPropertyPath'];
118
- }
119
- return (0, exports.prepareId)(sIdPart);
120
- }
121
- else if (oDataField.$Type && oDataField.$Type === "com.sap.vocabularies.UI.v1.DataFieldWithUrl" /* UIAnnotationTypes.DataFieldWithUrl */) {
122
- sIdPart = 'DataFieldWithUrl::';
123
- sIdPart += getStableIdPartFromValue(oDataField.Value);
124
- return (0, exports.prepareId)(sIdPart);
125
- }
126
- else {
127
- // In case of a string or unknown property
128
- // Log.error("Stable ID Helper: Unable to create a stable ID. Please check the annotations.");
129
- }
130
- return undefined;
118
+ const strategy = DataFieldStrategy_1.dataFieldStrategyContext.getStrategy(oDataField.$Type);
119
+ return strategy?.generateStableId(oDataField);
131
120
  };
132
121
  exports.getStableIdPartFromDataField = getStableIdPartFromDataField;
133
122
  //# sourceMappingURL=StableIdHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StableIdHelper.js","sourceRoot":"","sources":["../../../../../../src/sync/v4/utils/StableIdHelper.ts"],"names":[],"mappings":";;;AAOA,kDAoBC;AAmBD,4DAcC;AA3DD,8CAAsD;AAEtD;;GAEG;AAEH,SAAgB,mBAAmB,CAAC,GAAW;IAC3C,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;QAC1B,OAAO;IACX,CAAC;IACD,GAAG,GAAG,GAAG;SACJ,OAAO,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,6DAA6D;SAC1F,OAAO,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,uDAAuD;SACpF,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,CAAC,qCAAqC;IAEtE,sEAAsE;IACtE,OAAO,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;QAC9B,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACpC,CAAC;IAED,kDAAkD;IAClD,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;QACzB,GAAG,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC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,CAAC;IACjB,IAAI,OAAO,UAAU,CAAC,cAAc,KAAK,QAAQ,EAAE,CAAC;QAChD,OAAO,IAAI,UAAU,CAAC,cAAc,CAAC;IACzC,CAAC;SAAM,IAAI,UAAU,CAAC,cAAc,CAAC,KAAK,EAAE,CAAC;QACzC,OAAO,IAAI,UAAU,CAAC,cAAc,CAAC,KAAK,CAAC;IAC/C,CAAC;IACD,IAAI,OAAO,UAAU,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;QACxC,OAAO,IAAI,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC;IACxC,CAAC;SAAM,IAAI,UAAU,CAAC,MAAM,IAAI,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;QACtD,OAAO,IAAI,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC;IAC9C,CAAC;IACD,IAAI,UAAU,CAAC,iBAAiB,CAAC,EAAE,CAAC;QAChC,OAAO,IAAI,mBAAmB,CAAC;IACnC,CAAC;IACD,OAAO,OAAO,CAAC;AACnB,CAAC,CAAC;AAhBW,QAAA,0CAA0C,8CAgBrD;AAEF;;;;;;;;;GASG;AACI,MAAM,4BAA4B,GAAG,UAAU,UAAe;IACjE,MAAM,QAAQ,GAAG,4CAAwB,CAAC,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IACxE,OAAO,QAAQ,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;AAClD,CAAC,CAAC;AAHW,QAAA,4BAA4B,gCAGvC"}
@@ -12,6 +12,7 @@ export interface TraverseData {
12
12
  export type TraverseCallback = (traverseData: TraverseData, property: SchemaDefinition, config: object, name: string) => boolean;
13
13
  /**
14
14
  * Method traverses schema together with XML element.
15
+ *
15
16
  * @param {TraverseData} traverseData Traverse data object.
16
17
  * @param {TraverseCallback} callback Callbck to handle export or import.
17
18
  * @returns {boolean} Is changes applied during export or import.
@@ -19,6 +20,7 @@ export type TraverseCallback = (traverseData: TraverseData, property: SchemaDefi
19
20
  export declare function traverseSchema(traverseData: TraverseData, callback: TraverseCallback): boolean;
20
21
  /**
21
22
  * Method parses XML file and returns parsed object.
23
+ *
22
24
  * @param {FileData} xmlFile XML file.
23
25
  * @param {boolean} providePositions - If true then parsing result will contain information about elements and attributes positions.
24
26
  * @param {ExtensionLogger} [logger] - Logger class for logging messages.
@@ -28,12 +30,14 @@ export declare function parseXML(xmlFile: FileData, providePositions: true, logg
28
30
  export declare function parseXML(xmlFile: FileData, providePositions: false, logger?: ExtensionLogger): Element | undefined;
29
31
  /**
30
32
  * Resolves definition key for custom extension fragment.
33
+ *
31
34
  * @param {string} fragmentName Name of the fragment.
32
35
  * @returns {string} Definition key for custom extension fragment.
33
36
  */
34
37
  export declare function getCustomExtensionFragmentDefinitionKey(fragmentName: string): string;
35
38
  /**
36
39
  * Method find first renderable element for passed definition element.
40
+ *
37
41
  * @param element Definition element.
38
42
  * @returns First renderable element.
39
43
  */
@@ -1 +1 @@
1
- {"version":3,"file":"macros.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v4/utils/macros.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAIlD,OAAO,KAAK,EACR,aAAa,EACb,eAAe,EACf,QAAQ,EACR,gBAAgB,EAEnB,MAAM,6BAA6B,CAAC;AAOrC,MAAM,WAAW,YAAY;IACzB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,MAAM,EAAE,gBAAgB,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,aAAa,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,YAAY,CAAC;CACzB;AAED,MAAM,MAAM,gBAAgB,GAAG,CAC3B,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,gBAAgB,EAC1B,MAAM,EAAE,MAAM,EACd,IAAI,E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AI,EAAE,MAAM,KACX,OAAO,CAAC;AAkGb;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,gBAAgB,GAAG,OAAO,CAgD9F;AAED;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,CAAC,EAAE,eAAe,GAAG,WAAW,GAAG,SAAS,CAAC;AACvH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,eAAe,GAAG,OAAO,GAAG,SAAS,CAAC;AAuCpH;;;;;GAKG;AACH,wBAAgB,uCAAuC,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAEpF;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,SAAS,CAErE"}
@@ -16,6 +16,7 @@ const utils_1 = require("../../common/utils");
16
16
  const extensionLogger_1 = require("../../../extensionLogger");
17
17
  /**
18
18
  * Method finds element by XML path.
19
+ *
19
20
  * @param {Element} element Element to look in.
20
21
  * @param {MacrosXMLPath} path XML path to search.
21
22
  * @returns {Element | undefined} Element is returned if element found by passed path.
@@ -30,6 +31,7 @@ function findElementByXMLPath(element, path) {
30
31
  }
31
32
  /**
32
33
  * Method ensures that inner object exists for passed property name.
34
+ *
33
35
  * @param {object} obj Object to check and update.
34
36
  * @param {string} name Property name in object to check and update.
35
37
  * @returns {boolean} True if object created.
@@ -43,9 +45,10 @@ function ensureObjectExists(obj, name) {
43
45
  }
44
46
  /**
45
47
  * Method gets properties from full schema definitions using current schema $ref property.
48
+ *
46
49
  * @param {SchemaDefinition} fullSchema Full schema object.
47
50
  * @param {string} $ref $ref property of current schema object.
48
- * @returns {Definition}
51
+ * @returns {Definition} The properties extracted from the schema definition referenced by $ref.
49
52
  */
50
53
  function getPropertiesFromRef(fullSchema, $ref) {
51
54
  let properties = {};
@@ -60,6 +63,7 @@ function getPropertiesFromRef(fullSchema, $ref) {
60
63
  }
61
64
  /**
62
65
  * Method traverses schema for default aggregation.
66
+ *
63
67
  * @param {TraverseData} traverseData Traverse data object.
64
68
  * @param {TraverseCallback} callback Callbck to handle export or import.
65
69
  * @param {MacrosSchemaMetadata} metadata Metadata with default aggregation.
@@ -82,6 +86,7 @@ function traverseDefaultAggregation(traverseData, callback, metadata) {
82
86
  }
83
87
  /**
84
88
  * Method checks if passed schema is eligable for default aggregation handling.
89
+ *
85
90
  * @param {Definition} properties Schema properties which can contain default aggregation.
86
91
  * @param {MacrosSchemaMetadata} [metadata] Metadata with default aggregation.
87
92
  * @returns {boolean} True if passed schema is eligable for default aggregation handling.
@@ -91,6 +96,7 @@ function isDefaultAggregationAppliable(properties, metadata) {
91
96
  }
92
97
  /**
93
98
  * Method traverses schema together with XML element.
99
+ *
94
100
  * @param {TraverseData} traverseData Traverse data object.
95
101
  * @param {TraverseCallback} callback Callbck to handle export or import.
96
102
  * @returns {boolean} Is changes applied during export or import.
@@ -140,6 +146,14 @@ function traverseSchema(traverseData, callback) {
140
146
  }
141
147
  return differs;
142
148
  }
149
+ /**
150
+ * Parses the provided XML file and returns a parsed object.
151
+ *
152
+ * @param xmlFile - The XML file to be parsed.
153
+ * @param providePositions - If true, the parsing result will include element and attribute positions.
154
+ * @param logger - Optional logger instance for logging messages.
155
+ * @returns The parsed XML as an Element or XMLDocument, or undefined if parsing fails.
156
+ */
143
157
  function parseXML(xmlFile, providePositions, logger) {
144
158
  let element;
145
159
  try {
@@ -169,6 +183,7 @@ function parseXML(xmlFile, providePositions, logger) {
169
183
  }
170
184
  /**
171
185
  * Resolves definition key for custom extension fragment.
186
+ *
172
187
  * @param {string} fragmentName Name of the fragment.
173
188
  * @returns {string} Definition key for custom extension fragment.
174
189
  */
@@ -177,6 +192,7 @@ function getCustomExtensionFragmentDefinitionKey(fragmentName) {
177
192
  }
178
193
  /**
179
194
  * Method find first renderable element for passed definition element.
195
+ *
180
196
  * @param element Definition element.
181
197
  * @returns First renderable element.
182
198
  */
@@ -1 +1 @@
1
- {"version":3,"file":"macros.js","sourceRoot":"","sources":["../../../../../../src/sync/v4/utils/macros.ts"],"names":[],"mappings":";;;;;AAqIA,wCAgDC;AAWD,4BA4BC;AAOD,0FAEC;AAOD,wCAEC;AA9OD,mCAAgC;AAEhC,wCAA0C;AAE1C,8CAA0C;AAE1C,sDAA8B;AAQ9B,wEAA6D;AAE7D,8CAAuE;AACvE,8DAA+C;AAmB/C;;;;;GAKG;AACH,SAAS,oBAAoB,CAAC,OAAgB,EAAE,IAAmB;IAC/D,IAAI,cAAc,GAAwB,OAAO,CAAC;IAClD,KAAK,MAAM,OAAO,IAAI,IAAI,EAAE,CAAC;QACzB,MAAM,QAAQ,GAAG,cAAc,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC;QAC3F,cAAc,GAAG,QAAQ,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/C,CAAC;IACD,OAAO,cAAc,CAAC;AAC1B,CAAC;AAED;;;;;GAKG;AACH,SAAS,kBAAkB,CAAC,GAAW,EAAE,IAAY;IACjD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QACb,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED;;;;;GAKG;AACH,SAAS,oBAAoB,CAAC,UAA4B,EAAE,IAAY;IACpE,IAAI,UAAU,GAAe,EAAE,CAAC;IAChC,MAAM,GAAG,GAAG,IAAA,wBAAgB,EAAC,IAAI,CAAC,CAAC;IACnC,IAAI,UAAU,CAAC,WAAW,IAAI,UAAU,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC;QACxD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AA,cAAQ,EAAC,GAAsB,EAAE,WAAW,CAAC,CAAC;YAClE,IAAI,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC;gBAC3B,mDAAmD;gBACnD,MAAM,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC;YACnC,CAAC;YACD,OAAO,GAAG,WAAW,CAAC;QAC1B,CAAC;aAAM,CAAC;YACJ,OAAO,GAAG,IAAA,eAAM,EAAC,OAAO,CAAC,WAAW,CAAY,CAAC;QACrD,CAAC;IACL,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,IAAA,qBAAG,EAAC,MAAM,EAAE;YACR,QAAQ,iCAAmB;YAC3B,OAAO,EAAE,iBAAO,CAAC,CAAC,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAE,IAAA,uBAAe,EAAC,KAAK,CAAC,EAAE,CAAC;YACxE,QAAQ,EAAE;gBACN,IAAI,EAAE,OAAO,CAAC,aAAa;aAC9B;SACJ,CAAC,CAAC;IACP,CAAC;IACD,OAAO,OAAO,CAAC;AACnB,CAAC;AAED;;;;;GAKG;AACH,SAAgB,uCAAuC,CAAC,YAAoB;IACxE,OAAO,GAAG,uCAAc,CAAC,uBAAuB,IAAI,YAAY,GAAG,CAAC;AACxE,CAAC;AAED;;;;;GAKG;AACH,SAAgB,cAAc,CAAC,OAAiB;IAC5C,OAAO,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC;AACrE,CAAC"}
@@ -1,30 +1,57 @@
1
- import type { LineItem } from '@sap-ux/vocabularies-types/vocabularies/UI';
1
+ import type { LineItem, DataFieldForActionAbstractTypes } from '@sap-ux/vocabularies-types/vocabularies/UI';
2
2
  import type { AnnotationTerm, ConvertedMetadata, EntitySet, EntityType } from '@sap-ux/vocabularies-types';
3
3
  import type { Definition } from 'typescript-json-schema';
4
- import type { ExtensionLogger, GenerateAppSchemaParameters, FileData, Manifest } from '@sap/ux-specification-types';
4
+ import { type ExtensionLogger, type GenerateAppSchemaParameters, type FileData, type Manifest } from '@sap/ux-specification-types';
5
5
  import { v4, DefinitionName } from '@sap/ux-specification-types';
6
6
  import type { ExtensionFileData } from '../types';
7
+ import type { MetadataInstanceInterface } from '../../common/decoration/factory';
7
8
  export type CustomExtension = v4.TableCustomColumn | v4.CustomAction | v4.SapUi5RoutingTargetContentSection | v4.SapUiGenericAppPageCustomFilterField;
8
9
  export interface CustomExtensions {
9
10
  [key: string]: CustomExtension;
10
11
  }
12
+ export interface AddLineItemDefinitionParams {
13
+ lineItemData: LineItemDataForSchema;
14
+ actions: Definition;
15
+ lineItemPath: string;
16
+ lineItemRecord: DataFieldForActionAbstractTypes;
17
+ index: number;
18
+ lineItemDefinition?: Definition;
19
+ columnDefinitionName: string;
20
+ }
21
+ export interface ImportActionSettingsOfReferenceParams {
22
+ actionPropertyDefinition: Definition;
23
+ appSchema: Definition;
24
+ factory: MetadataInstanceInterface;
25
+ actionsInConfig: object;
26
+ actionKey: string;
27
+ manifest: Manifest;
28
+ routingId: string;
29
+ manifestSectionId?: string;
30
+ targetAnnotation?: string;
31
+ }
32
+ export declare const DATA_FIELD_FOR_ACTION_GROUP = "DataFieldForActionGroup";
11
33
  /**
12
- * Adds extension at the right position of the sorted array of annotation-based nodes
34
+ * Adds extension at the right position of the sorted array of annotation-based nodes.
35
+ *
13
36
  * @param extensions - list of extensions in manifest
14
37
  * @param sortedExtensionsArray - sorted array of annotation-based nodes, to be enhanced by extensions
15
38
  * @param extensionDefinitionName - extension definition name, different in LR and OP
39
+ * @param templatePropertyName - The name of the property in the template to be used for processing.
16
40
  * @param logger - logger for error messages
17
41
  * @param ignoreAnnotationAnchors - calculation should ignore anchors referenced to annotation nodes. Used when annotations sections are merged.
42
+ * @returns Sorted array of annotation-based nodes, enhanced by extensions
18
43
  */
19
44
  export declare function addExtensionToArray(extensions: CustomExtensions, sortedExtensionsArray: [string, unknown][], extensionDefinitionName: string, templatePropertyName?: string, logger?: ExtensionLogger, ignoreAnnotationAnchors?: boolean): [string, unknown][];
20
45
  /**
21
- * Adds enum values to the properties definition of a custom column
46
+ * Adds enum values to the properties definition of a custom column.
47
+ *
22
48
  * @param lineItems - current lineItems definition, with all records
23
49
  * @param customColumnDefinition - current custom column definition, in the app schema
24
50
  */
25
51
  export declare function addEnumForProperties(lineItems: boolean | Definition, customColumnDefinition: Definition): void;
26
52
  /**
27
- * Common function for enhancing the LineItems definition of app schema by custom columns
53
+ * Common function for enhancing the LineItems definition of app schema by custom columns.
54
+ *
28
55
  * @param appSchema - app-specific JSON schema
29
56
  * @param v4Page - actual page in the manifest
30
57
  * @param logger - logger for error messages
@@ -33,8 +60,46 @@ export declare function addEnumForProperties(lineItems: boolean | Definition, cu
33
60
  * @param sectionIdInManifest - identifier of the current object page section in manifest
34
61
  */
35
62
  export declare function addCustomColumnDefinition(appSchema: Definition, v4Page: v4.SapUiAppPageV4, logger: ExtensionLogger, customColumnDefinitionName?: string, sectionId?: string, sectionIdInManifest?: string): void;
63
+ /**
64
+ * Adds an action record to a schema definition based on the provided line item definition parameters.
65
+ * This involves defining action-specific properties, references, and metadata, and updating the schema accordingly.
66
+ *
67
+ * @param {AddLineItemDefinitionParams} lineItemDefinitionParams - The parameters describing the line item definition, including data, actions, path, record, and index.
68
+ * @param {boolean} [createRef] - A flag indicating whether to create a reference for the action definition.
69
+ * @returns {void} This function does not return a value.
70
+ */
71
+ export declare function addActionRecordToSchema(lineItemDefinitionParams: AddLineItemDefinitionParams, createRef?: boolean): void;
72
+ /**
73
+ * Adds a group action record to the schema based on the given parameters. This involves determining
74
+ * action definitions, creating or referencing schema properties, and setting metadata fields.
75
+ *
76
+ * @param {AddLineItemDefinitionParams} lineItemDefinitionParams - Parameters that define the line item, including data, record, path, index, and actions.
77
+ * @param {boolean} [createRef] - Indicates whether to create a reference for the action definition or to use an inline object.
78
+ * @returns {void} - Does not return any value.
79
+ */
80
+ export declare function addGroupActionRecordToSchema(lineItemDefinitionParams: AddLineItemDefinitionParams, createRef?: boolean): void;
81
+ /**
82
+ * Adds a line item action definition to the schema based on the provided parameters.
83
+ * Handles determining which action to take based on specific conditions of the line item record.
84
+ *
85
+ * @param {AddLineItemDefinitionParams} data - An object containing the details of the line item record and the line item definition.
86
+ * @param {object} data.lineItemRecord - The record of the line item to be processed, containing relevant properties.
87
+ * @param {boolean} data.lineItemRecord.Inline - Indicates whether the line item is inline.
88
+ * @param {boolean} data.lineItemRecord.Determining - Indicates if the line item is determining.
89
+ * @param {boolean} data.lineItemDefinition - Indicates whether the line item definition is present.
90
+ * @returns {void} This method does not return a value.
91
+ */
92
+ export declare function addLineItemActionDefinition(data: AddLineItemDefinitionParams): void;
93
+ /**
94
+ * Adds a line item record to the provided schema based on the definition parameters.
95
+ *
96
+ * @param {AddLineItemDefinitionParams} lineItemDefinitionParams - The parameters defining the line item data, schema information, and record.
97
+ * @returns {void} This function does not return a value.
98
+ */
99
+ export declare function addLineItemRecordToSchema(lineItemDefinitionParams: AddLineItemDefinitionParams): void;
36
100
  export type LineItemDataForSchema = {
37
101
  isObjectPage: boolean;
102
+ isMacro?: boolean;
38
103
  appSchema: Definition;
39
104
  lineItemAnnotation: AnnotationTerm<LineItem>;
40
105
  entityType: EntityType;
@@ -42,8 +107,9 @@ export type LineItemDataForSchema = {
42
107
  lineItemId: string;
43
108
  };
44
109
  /**
45
- * Appends line item columns and actions to the app schema (for the list report, custom page or an object page section comprising a table)
46
- * @param {LineItemDataForSchema} data: structure comprising
110
+ * Appends line item columns and actions to the app schema (for the list report, custom page or an object page section comprising a table).
111
+ *
112
+ * @param {LineItemDataForSchema} data structure comprising
47
113
  * - appSchema - the app specific schema that shall get enhanced
48
114
  * - lineItemAnnotation - the UI.LineItem annotation, comprising all records
49
115
  * - entityType - the entity type as part of the AVT ConvertedMetadata
@@ -57,8 +123,9 @@ export type LineItemDataForSchema = {
57
123
  */
58
124
  export declare function appendLineItemsToSchema(data: LineItemDataForSchema, actions: Definition, lineItemPath: string, lineItemDefinition?: Definition, columnDefinitionName?: string): void;
59
125
  /**
60
- * Adds the line item definition, columns and actions to the app schema (for the list report, custom page or an object page section comprising a table
61
- * @param {LineItemDataForSchema} data: structure comprising
126
+ * Adds the line item definition, columns and actions to the app schema (for the list report, custom page or an object page section comprising a table.
127
+ *
128
+ * @param data structure comprising
62
129
  * - isObjectPage - indicates that the page is an object page
63
130
  * - appSchema - the app specific schema that shall get enhanced
64
131
  * - lineItemAnnotation - the UI.LineItem annotation, comprising all records
@@ -66,13 +133,14 @@ export declare function appendLineItemsToSchema(data: LineItemDataForSchema, act
66
133
  * - oDataServiceAVT - complete service information, as returned by Annotation Vocabularies Tool
67
134
  * - lineItemId - in case of OP the parameter must be passed to distinguish the OP tables;
68
135
  * in case of LR or ALP 'LineItems' is passed.
69
- * @param {string} columnDefinitionName - name of the column definition, i.e. TableColumn or ObjectPageTableColumn
70
- * @param {string} customColumnDefinitionName - name of the custom column definition
71
- * @param {string} customColumnDefinitionName - name of the custom action definition
136
+ * @param columnDefinitionName - name of the column definition, i.e. TableColumn or ObjectPageTableColumn
137
+ * @param customColumnDefinitionName - name of the custom column definition
138
+ * @param customActionDefinitionName - name of the custom action definition
72
139
  */
73
140
  export declare function addLineItemsTypeToSchema(data: LineItemDataForSchema, columnDefinitionName?: string, customColumnDefinitionName?: string, customActionDefinitionName?: string): void;
74
141
  /**
75
- * Adds an enum or value help to position > anchor of custom column
142
+ * Adds an enum or value help to position > anchor of custom column.
143
+ *
76
144
  * @param appSchema - app specific JSON schema
77
145
  * @param lineItemId - ID of the current line item in schema
78
146
  * @param v4Page - current page in manifest
@@ -81,30 +149,34 @@ export declare function addLineItemsTypeToSchema(data: LineItemDataForSchema, co
81
149
  */
82
150
  export declare function addFragmentEnumForAnchor(appSchema: Definition, lineItemId: string, v4Page: v4.SapUiAppPageV4, positionName?: string, sectionIdInManifest?: string): void;
83
151
  /**
84
- * Adds an enum or value help to position > anchor of custom column or custom action
152
+ * Adds an enum or value help to position > anchor of custom column or custom action.
153
+ *
85
154
  * @param appSchema - app specific JSON schema
86
155
  * @param definitionId - definition key of actions
87
156
  * @param positionName - target definition to update
88
157
  */
89
158
  export declare function addEnumForActionAnchor(appSchema: Definition, definitionId: string, positionName?: string): void;
90
159
  /**
91
- * Find the relevant V4 page under the routing targets of manifest,json
160
+ * Find the relevant V4 page under the routing targets of manifest,json.
161
+ *
92
162
  * @param pages - list of all pages in manifest
93
- * @param pageName - search criterion: page name
163
+ * @param templateName - search criterion: template name
94
164
  * @param entitySet - search criterion: entity set object from AVT
95
165
  * @param contextPath - search criterion: contextPath
96
166
  * @returns the page definition in manifest (if found)
97
167
  */
98
- export declare function findPageV4(pages: v4.SapUiAppPageV4[], pageName: string, entitySet: EntitySet, contextPath: string): v4.SapUiAppPageV4 | undefined;
168
+ export declare function findPageV4(pages: v4.SapUiAppPageV4[], templateName: string, entitySet?: EntitySet, contextPath?: string): v4.SapUiAppPageV4 | undefined;
99
169
  /**
100
- * Depending on the template type, strip down the app schema so that only the relevant views are part of it
170
+ * Depending on the template type, strip down the app schema so that only the relevant views are part of it.
171
+ *
101
172
  * @param {Definition} appSchema - app specific JSON schema, to be adjusted
102
173
  * @param {GenerateAppSchemaParameters} generateParameters - object comprising all input parameters
103
174
  * @returns the right definition name for the table in the schema
104
175
  */
105
176
  export declare function alignSchemaWithTemplateType(appSchema: Definition, generateParameters: GenerateAppSchemaParameters): DefinitionName.Table | DefinitionName.ALPTableView;
106
177
  /**
107
- * Common function for enhancing LineItems, FieldGroups and Custom Section definitions of app schema by custom action definitions
178
+ * Common function for enhancing LineItems, FieldGroups and Custom Section definitions of app schema by custom action definitions.
179
+ *
108
180
  * @param appSchema - app-specific JSON schema
109
181
  * @param v4Page - actual page in the manifest
110
182
  * @param logger - logger for error messages
@@ -114,7 +186,8 @@ export declare function alignSchemaWithTemplateType(appSchema: Definition, gener
114
186
  */
115
187
  export declare function addCustomActionDefinition(appSchema: Definition, v4Page: v4.SapUiAppPageV4, logger: ExtensionLogger, customActionDefinitionName?: string, sectionDefinitionName?: string, sectionIdInManifest?: string): void;
116
188
  /**
117
- * Common function for enhancing header and footer definitions of app schema by custom action definitions
189
+ * Common function for enhancing header and footer definitions of app schema by custom action definitions.
190
+ *
118
191
  * @param appSchema - app-specific JSON schema
119
192
  * @param v4Page - actual page in the manifest
120
193
  * @param logger - logger for error messages
@@ -124,6 +197,7 @@ export declare function addCustomActionDefinition(appSchema: Definition, v4Page:
124
197
  export declare function addHeaderFooterCustomActionDefinition(appSchema: Definition, v4Page: v4.SapUiAppPageV4, logger: ExtensionLogger, customActionDefinitionName?: DefinitionName, sectionId?: string): void;
125
198
  /**
126
199
  * Method returns page from manifest by passed page key.
200
+ *
127
201
  * @param manifest Object from manifest.json.
128
202
  * @param pageId Page id.
129
203
  * @param logger Logger to report error of unexisting page.
@@ -132,8 +206,9 @@ export declare function addHeaderFooterCustomActionDefinition(appSchema: Definit
132
206
  export declare function getManifestPage(manifest: Manifest, pageId: string, logger?: ExtensionLogger): v4.RoutingTargetOptions | undefined;
133
207
  /**
134
208
  * Method finds custom view/section XML file for passed page.
209
+ *
135
210
  * @param files All extension files.
136
- * @param pageId Page id.
211
+ * @param page - the page object containing routing target options
137
212
  * @param manifest Object from manifest.json.
138
213
  * @param xmlType XML file type - view or fragment.
139
214
  * @param extensionName Extension namespace or path to extension name in page object.
@@ -142,6 +217,7 @@ export declare function getManifestPage(manifest: Manifest, pageId: string, logg
142
217
  export declare function getPageCustomExtensionFile(files: FileData[], page: v4.RoutingTargetOptions, manifest: Manifest, xmlType: 'view' | 'fragment', extensionName: string): ExtensionFileData | undefined;
143
218
  /**
144
219
  * Method finds view XML file for passed page.
220
+ *
145
221
  * @param files All view files.
146
222
  * @param pageId Page id.
147
223
  * @param manifest Object from manifest.json.
@@ -150,7 +226,8 @@ export declare function getPageCustomExtensionFile(files: FileData[], page: v4.R
150
226
  */
151
227
  export declare function getPageCustomViewFile(files: FileData[], pageId: string, manifest: Manifest, logger?: ExtensionLogger): ExtensionFileData | undefined;
152
228
  /**
153
- * Adds custom section or custom sub section definitions to app schema
229
+ * Adds custom section or custom sub section definitions to app schema.
230
+ *
154
231
  * @param appSchema - app-specific JSON schema
155
232
  * @param definition - sections definition
156
233
  * @param v4Page - actual page in the manifest
@@ -162,9 +239,19 @@ export declare function getPageCustomViewFile(files: FileData[], pageId: string,
162
239
  export declare function addCustomSectionDefinition(appSchema: Definition, definition: Definition, v4Page: v4.SapUiAppPageV4, customSectionRef: string, isMergedSections: boolean, facetKey?: string, logger?: ExtensionLogger): void;
163
240
  /**
164
241
  * Method adds custom filter fields from manifest to schema properties.
242
+ *
165
243
  * @param appSchema - app-specific JSON schema
166
244
  * @param definition - filter fields definition
167
245
  * @param v4Page - actual page in the manifest
168
246
  */
169
247
  export declare function addCustomFilterFieldDefinition(appSchema: Definition, definition: Definition, v4Page: v4.SapUiAppPageV4): void;
248
+ /**
249
+ * Imports the action settings of a specified reference based on the given parameters.
250
+ *
251
+ * @param {object} importActionParams - The parameters required for importing action settings.
252
+ * @param {object} importActionParams.actionPropertyDefinition - The action property definition containing the $ref to the reference.
253
+ * @param {object} importActionParams.appSchema - The application schema containing definitions and other related metadata.
254
+ * @returns {void} This function does not return a value.
255
+ */
256
+ export declare function importActionSettingsOfReference(importActionParams: ImportActionSettingsOfReferenceParams): void;
170
257
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v4/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,QAAQ,EAGX,MAAM,4CAA4C,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAkB3G,OAAO,KAAK,EAAE,UAAU,EAAuB,MAAM,wBAAwB,CAAC;AAC9E,OAAO,KAAK,EACR,eAAe,EACf,2BAA2B,EAC3B,QAA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