@sapui5/sap.fe.core 1.102.3 → 1.105.0

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 (359) hide show
  1. package/package.json +6 -6
  2. package/src/sap/fe/core/.library +1 -1
  3. package/src/sap/fe/core/ActionRuntime.js +120 -0
  4. package/src/sap/fe/core/ActionRuntime.ts +108 -0
  5. package/src/sap/fe/core/AppComponent.js +81 -35
  6. package/src/sap/fe/core/AppComponent.ts +68 -44
  7. package/src/sap/fe/core/AppStateHandler.js +82 -70
  8. package/src/sap/fe/core/AppStateHandler.ts +32 -37
  9. package/src/sap/fe/core/BaseController.js +12 -10
  10. package/src/sap/fe/core/BaseController.ts +15 -13
  11. package/src/sap/fe/core/CommonUtils.js +291 -218
  12. package/src/sap/fe/core/CommonUtils.ts +315 -251
  13. package/src/sap/fe/core/ExtensionAPI.js +25 -28
  14. package/src/sap/fe/core/ExtensionAPI.ts +36 -38
  15. package/src/sap/fe/core/PageController.js +5 -5
  16. package/src/sap/fe/core/PageController.ts +4 -5
  17. package/src/sap/fe/core/TemplateComponent.js +21 -10
  18. package/src/sap/fe/core/TemplateComponent.ts +9 -6
  19. package/src/sap/fe/core/TemplateModel.js +2 -2
  20. package/src/sap/fe/core/TemplateModel.ts +1 -1
  21. package/src/sap/fe/core/buildingBlocks/AttributeModel.js +11 -3
  22. package/src/sap/fe/core/buildingBlocks/AttributeModel.ts +8 -2
  23. package/src/sap/fe/core/buildingBlocks/BuildingBlock.js +197 -43
  24. package/src/sap/fe/core/buildingBlocks/BuildingBlock.ts +164 -24
  25. package/src/sap/fe/core/buildingBlocks/BuildingBlockFormatter.js +14 -0
  26. package/src/sap/fe/core/buildingBlocks/BuildingBlockFormatter.ts +5 -0
  27. package/src/sap/fe/core/buildingBlocks/BuildingBlockRuntime.js +609 -230
  28. package/src/sap/fe/core/buildingBlocks/BuildingBlockRuntime.ts +275 -128
  29. package/src/sap/fe/core/buildingBlocks/TraceInfo.js +30 -30
  30. package/src/sap/fe/core/buildingBlocks/TraceInfo.ts +32 -29
  31. package/src/sap/fe/core/controllerextensions/BusyLocker.js +1 -1
  32. package/src/sap/fe/core/controllerextensions/EditFlow.js +761 -700
  33. package/src/sap/fe/core/controllerextensions/EditFlow.ts +478 -514
  34. package/src/sap/fe/core/controllerextensions/IntentBasedNavigation.js +10 -10
  35. package/src/sap/fe/core/controllerextensions/IntentBasedNavigation.ts +10 -10
  36. package/src/sap/fe/core/controllerextensions/InternalEditFlow.js +104 -75
  37. package/src/sap/fe/core/controllerextensions/InternalEditFlow.ts +71 -79
  38. package/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation.js +68 -68
  39. package/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation.ts +76 -76
  40. package/src/sap/fe/core/controllerextensions/InternalRouting.js +162 -102
  41. package/src/sap/fe/core/controllerextensions/InternalRouting.ts +177 -121
  42. package/src/sap/fe/core/controllerextensions/KPIManagement.js +67 -69
  43. package/src/sap/fe/core/controllerextensions/KPIManagement.ts +106 -123
  44. package/src/sap/fe/core/controllerextensions/MassEdit.js +10 -10
  45. package/src/sap/fe/core/controllerextensions/MassEdit.ts +20 -27
  46. package/src/sap/fe/core/controllerextensions/MessageHandler.js +21 -13
  47. package/src/sap/fe/core/controllerextensions/MessageHandler.ts +21 -14
  48. package/src/sap/fe/core/controllerextensions/PageReady.js +98 -26
  49. package/src/sap/fe/core/controllerextensions/PageReady.ts +98 -34
  50. package/src/sap/fe/core/controllerextensions/Paginator.js +31 -32
  51. package/src/sap/fe/core/controllerextensions/Paginator.ts +33 -34
  52. package/src/sap/fe/core/controllerextensions/Placeholder.js +5 -7
  53. package/src/sap/fe/core/controllerextensions/Placeholder.ts +12 -14
  54. package/src/sap/fe/core/controllerextensions/Routing.js +11 -12
  55. package/src/sap/fe/core/controllerextensions/Routing.ts +12 -13
  56. package/src/sap/fe/core/controllerextensions/RoutingListener.js +1 -1
  57. package/src/sap/fe/core/controllerextensions/Share.js +171 -140
  58. package/src/sap/fe/core/controllerextensions/Share.ts +117 -118
  59. package/src/sap/fe/core/controllerextensions/SideEffects.js +47 -51
  60. package/src/sap/fe/core/controllerextensions/SideEffects.ts +56 -60
  61. package/src/sap/fe/core/controllerextensions/ViewState.js +201 -132
  62. package/src/sap/fe/core/controllerextensions/ViewState.ts +141 -148
  63. package/src/sap/fe/core/controllerextensions/collaboration/ActivityBase.js +5 -5
  64. package/src/sap/fe/core/controllerextensions/collaboration/ActivityBase.ts +8 -7
  65. package/src/sap/fe/core/controllerextensions/collaboration/ActivitySync.js +13 -12
  66. package/src/sap/fe/core/controllerextensions/collaboration/ActivitySync.ts +17 -20
  67. package/src/sap/fe/core/controllerextensions/collaboration/CollaborationCommon.js +13 -12
  68. package/src/sap/fe/core/controllerextensions/collaboration/CollaborationCommon.ts +15 -15
  69. package/src/sap/fe/core/controllerextensions/collaboration/Manage.js +57 -18
  70. package/src/sap/fe/core/controllerextensions/collaboration/Manage.ts +60 -28
  71. package/src/sap/fe/core/controllerextensions/collaboration/ManageDialog.fragment.xml +29 -21
  72. package/src/sap/fe/core/controllerextensions/editFlow/TransactionHelper.js +1424 -940
  73. package/src/sap/fe/core/controllerextensions/editFlow/TransactionHelper.ts +799 -836
  74. package/src/sap/fe/core/controllerextensions/editFlow/draft.js +410 -377
  75. package/src/sap/fe/core/controllerextensions/editFlow/draft.ts +275 -358
  76. package/src/sap/fe/core/controllerextensions/editFlow/draftDataLossPopup.js +309 -0
  77. package/src/sap/fe/core/controllerextensions/editFlow/draftDataLossPopup.ts +320 -0
  78. package/src/sap/fe/core/controllerextensions/editFlow/operations.js +752 -579
  79. package/src/sap/fe/core/controllerextensions/editFlow/operations.ts +631 -599
  80. package/src/sap/fe/core/controllerextensions/editFlow/sticky.js +92 -74
  81. package/src/sap/fe/core/controllerextensions/editFlow/sticky.ts +49 -52
  82. package/src/sap/fe/core/controllerextensions/messageHandler/messageHandling.js +78 -41
  83. package/src/sap/fe/core/controllerextensions/messageHandler/messageHandling.ts +110 -84
  84. package/src/sap/fe/core/controllerextensions/routing/RouterProxy.js +69 -81
  85. package/src/sap/fe/core/controllerextensions/routing/RouterProxy.ts +64 -73
  86. package/src/sap/fe/core/controls/ActionParameterDialog.fragment.xml +18 -2
  87. package/src/sap/fe/core/controls/ActionParameterDialogFieldValueHelp.fragment.xml +35 -0
  88. package/src/sap/fe/core/controls/ActionParameterDialogValueHelp.fragment.xml +25 -24
  89. package/src/sap/fe/core/controls/Any.js +9 -5
  90. package/src/sap/fe/core/controls/Any.ts +10 -4
  91. package/src/sap/fe/core/controls/CommandExecution.js +12 -26
  92. package/src/sap/fe/core/controls/CommandExecution.ts +11 -25
  93. package/src/sap/fe/core/controls/ConditionalWrapper.js +3 -3
  94. package/src/sap/fe/core/controls/ConditionalWrapper.ts +3 -3
  95. package/src/sap/fe/core/controls/CustomFilterFieldContentWrapper.js +26 -26
  96. package/src/sap/fe/core/controls/CustomFilterFieldContentWrapper.ts +25 -24
  97. package/src/sap/fe/core/controls/CustomQuickViewPage.js +3 -3
  98. package/src/sap/fe/core/controls/CustomQuickViewPage.ts +2 -2
  99. package/src/sap/fe/core/controls/DataLossOrDraftDiscard/DataLossOrDraftDiscardHandler.js +3 -3
  100. package/src/sap/fe/core/controls/DataLossOrDraftDiscard/DataLossOrDraftDiscardHandler.ts +5 -5
  101. package/src/sap/fe/core/controls/FieldWrapper.js +3 -3
  102. package/src/sap/fe/core/controls/FieldWrapper.ts +3 -3
  103. package/src/sap/fe/core/controls/FileWrapper.js +9 -4
  104. package/src/sap/fe/core/controls/FileWrapper.ts +16 -12
  105. package/src/sap/fe/core/controls/FilterBar.js +7 -3
  106. package/src/sap/fe/core/controls/FilterBar.ts +13 -9
  107. package/src/sap/fe/core/controls/FormElementWrapper.js +2 -2
  108. package/src/sap/fe/core/controls/FormElementWrapper.ts +2 -2
  109. package/src/sap/fe/core/controls/MassEditSelect.js +1 -1
  110. package/src/sap/fe/core/controls/MassEditSelect.ts +0 -4
  111. package/src/sap/fe/core/controls/MultiValueParameterDelegate.js +1 -1
  112. package/src/sap/fe/core/controls/NonComputedVisibleKeyFieldsDialog.fragment.xml +44 -19
  113. package/src/sap/fe/core/controls/filterbar/FilterContainer.js +2 -2
  114. package/src/sap/fe/core/controls/filterbar/VisualFilter.js +17 -13
  115. package/src/sap/fe/core/controls/filterbar/VisualFilter.ts +20 -22
  116. package/src/sap/fe/core/controls/filterbar/VisualFilterContainer.js +4 -4
  117. package/src/sap/fe/core/controls/filterbar/VisualFilterContainer.ts +8 -8
  118. package/src/sap/fe/core/controls/filterbar/utils/VisualFilterUtils.js +49 -49
  119. package/src/sap/fe/core/controls/filterbar/utils/VisualFilterUtils.ts +54 -54
  120. package/src/sap/fe/core/controls/massEdit/MassEditDialog.fragment.xml +8 -2
  121. package/src/sap/fe/core/controls/massEdit/MassEditField.fragment.xml +22 -35
  122. package/src/sap/fe/core/controls/massEdit/MassEditHandlers.js +89 -88
  123. package/src/sap/fe/core/controls/massEdit/MassEditHandlers.ts +107 -106
  124. package/src/sap/fe/core/converters/ConverterContext.js +48 -34
  125. package/src/sap/fe/core/converters/ConverterContext.ts +81 -67
  126. package/src/sap/fe/core/converters/ManifestSettings.js +1 -1
  127. package/src/sap/fe/core/converters/ManifestSettings.ts +18 -15
  128. package/src/sap/fe/core/converters/ManifestWrapper.js +59 -45
  129. package/src/sap/fe/core/converters/ManifestWrapper.ts +55 -45
  130. package/src/sap/fe/core/converters/MetaModelConverter.js +74 -40
  131. package/src/sap/fe/core/converters/MetaModelConverter.ts +176 -140
  132. package/src/sap/fe/core/converters/TemplateConverter.js +21 -20
  133. package/src/sap/fe/core/converters/TemplateConverter.ts +27 -24
  134. package/src/sap/fe/core/converters/annotations/DataField.js +58 -35
  135. package/src/sap/fe/core/converters/annotations/DataField.ts +102 -76
  136. package/src/sap/fe/core/converters/common/AnnotationConverter.js +1956 -1494
  137. package/src/sap/fe/core/converters/controls/Common/Action.js +78 -51
  138. package/src/sap/fe/core/converters/controls/Common/Action.ts +87 -52
  139. package/src/sap/fe/core/converters/controls/Common/Chart.js +22 -16
  140. package/src/sap/fe/core/converters/controls/Common/Chart.ts +42 -43
  141. package/src/sap/fe/core/converters/controls/Common/Criticality.js +3 -3
  142. package/src/sap/fe/core/converters/controls/Common/Criticality.ts +4 -4
  143. package/src/sap/fe/core/converters/controls/Common/DataVisualization.js +65 -29
  144. package/src/sap/fe/core/converters/controls/Common/DataVisualization.ts +93 -62
  145. package/src/sap/fe/core/converters/controls/Common/Form.js +31 -31
  146. package/src/sap/fe/core/converters/controls/Common/Form.ts +46 -57
  147. package/src/sap/fe/core/converters/controls/Common/KPI.js +11 -11
  148. package/src/sap/fe/core/converters/controls/Common/KPI.ts +49 -52
  149. package/src/sap/fe/core/converters/controls/Common/Table.js +251 -264
  150. package/src/sap/fe/core/converters/controls/Common/Table.ts +344 -370
  151. package/src/sap/fe/core/converters/controls/Common/table/StandardActions.js +119 -119
  152. package/src/sap/fe/core/converters/controls/Common/table/StandardActions.ts +147 -144
  153. package/src/sap/fe/core/converters/controls/ListReport/FilterBar.js +89 -59
  154. package/src/sap/fe/core/converters/controls/ListReport/FilterBar.ts +118 -71
  155. package/src/sap/fe/core/converters/controls/ListReport/VisualFilters.js +28 -26
  156. package/src/sap/fe/core/converters/controls/ListReport/VisualFilters.ts +46 -43
  157. package/src/sap/fe/core/converters/controls/ObjectPage/Avatar.js +9 -9
  158. package/src/sap/fe/core/converters/controls/ObjectPage/Avatar.ts +14 -13
  159. package/src/sap/fe/core/converters/controls/ObjectPage/HeaderFacet.js +131 -95
  160. package/src/sap/fe/core/converters/controls/ObjectPage/HeaderFacet.ts +123 -87
  161. package/src/sap/fe/core/converters/controls/ObjectPage/SubSection.js +98 -87
  162. package/src/sap/fe/core/converters/controls/ObjectPage/SubSection.ts +121 -117
  163. package/src/sap/fe/core/converters/helpers/Aggregation.js +2 -4
  164. package/src/sap/fe/core/converters/helpers/Aggregation.ts +12 -15
  165. package/src/sap/fe/core/converters/helpers/BindingHelper.js +31 -31
  166. package/src/sap/fe/core/converters/helpers/BindingHelper.ts +30 -29
  167. package/src/sap/fe/core/converters/helpers/ConfigurableObject.js +8 -6
  168. package/src/sap/fe/core/converters/helpers/ConfigurableObject.ts +18 -10
  169. package/src/sap/fe/core/converters/helpers/DataFieldHelper.js +136 -0
  170. package/src/sap/fe/core/converters/helpers/DataFieldHelper.ts +139 -0
  171. package/src/sap/fe/core/converters/helpers/ID.js +48 -46
  172. package/src/sap/fe/core/converters/helpers/ID.ts +26 -25
  173. package/src/sap/fe/core/converters/helpers/IssueManager.js +1 -1
  174. package/src/sap/fe/core/converters/helpers/Key.js +7 -7
  175. package/src/sap/fe/core/converters/helpers/Key.ts +7 -7
  176. package/src/sap/fe/core/converters/helpers/SelectionVariantHelper.js +1 -1
  177. package/src/sap/fe/core/converters/helpers/SelectionVariantHelper.ts +4 -5
  178. package/src/sap/fe/core/converters/objectPage/FormMenuActions.js +6 -6
  179. package/src/sap/fe/core/converters/objectPage/FormMenuActions.ts +10 -10
  180. package/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction.js +53 -75
  181. package/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction.ts +59 -90
  182. package/src/sap/fe/core/converters/templates/ListReportConverter.js +58 -57
  183. package/src/sap/fe/core/converters/templates/ListReportConverter.ts +93 -86
  184. package/src/sap/fe/core/converters/templates/ObjectPageConverter.js +58 -44
  185. package/src/sap/fe/core/converters/templates/ObjectPageConverter.ts +87 -80
  186. package/src/sap/fe/core/designtime/AppComponent.designtime.js +4 -4
  187. package/src/sap/fe/core/designtime/AppComponent.designtime.ts +4 -4
  188. package/src/sap/fe/core/formatters/CollaborationFormatter.js +2 -2
  189. package/src/sap/fe/core/formatters/CollaborationFormatter.ts +3 -3
  190. package/src/sap/fe/core/formatters/FPMFormatter.js +5 -5
  191. package/src/sap/fe/core/formatters/FPMFormatter.ts +10 -10
  192. package/src/sap/fe/core/formatters/KPIFormatter.js +7 -7
  193. package/src/sap/fe/core/formatters/KPIFormatter.ts +10 -10
  194. package/src/sap/fe/core/formatters/StandardFormatter.js +96 -0
  195. package/src/sap/fe/core/formatters/StandardFormatter.ts +70 -0
  196. package/src/sap/fe/core/formatters/TableFormatter.js +11 -11
  197. package/src/sap/fe/core/formatters/TableFormatter.ts +12 -12
  198. package/src/sap/fe/core/formatters/TableFormatterTypes.js +1 -1
  199. package/src/sap/fe/core/formatters/ValueFormatter.js +8 -8
  200. package/src/sap/fe/core/formatters/ValueFormatter.ts +9 -9
  201. package/src/sap/fe/core/fpm/Component.js +33 -7
  202. package/src/sap/fe/core/fpm/Component.ts +14 -0
  203. package/src/sap/fe/core/helpers/AnnotationEnum.js +1 -1
  204. package/src/sap/fe/core/helpers/AppStartupHelper.js +19 -18
  205. package/src/sap/fe/core/helpers/AppStartupHelper.ts +41 -43
  206. package/src/sap/fe/core/helpers/BindingToolkit.js +1836 -0
  207. package/src/sap/fe/core/helpers/{BindingExpression.ts → BindingToolkit.ts} +397 -270
  208. package/src/sap/fe/core/helpers/ClassSupport.js +49 -12
  209. package/src/sap/fe/core/helpers/ClassSupport.ts +37 -10
  210. package/src/sap/fe/core/helpers/DynamicAnnotationPathHelper.js +2 -2
  211. package/src/sap/fe/core/helpers/DynamicAnnotationPathHelper.ts +1 -1
  212. package/src/sap/fe/core/helpers/EditState.js +1 -6
  213. package/src/sap/fe/core/helpers/EditState.ts +5 -10
  214. package/src/sap/fe/core/helpers/ExcelFormatHelper.js +2 -2
  215. package/src/sap/fe/core/helpers/ExcelFormatHelper.ts +4 -4
  216. package/src/sap/fe/core/helpers/FPMHelper.js +1 -1
  217. package/src/sap/fe/core/helpers/FPMHelper.ts +2 -2
  218. package/src/sap/fe/core/helpers/KeepAliveHelper.js +31 -31
  219. package/src/sap/fe/core/helpers/KeepAliveHelper.ts +52 -56
  220. package/src/sap/fe/core/helpers/KeepAliveRefreshTypes.js +1 -1
  221. package/src/sap/fe/core/helpers/MassEditHelper.js +306 -280
  222. package/src/sap/fe/core/helpers/MassEditHelper.ts +380 -360
  223. package/src/sap/fe/core/helpers/MessageStrip.js +81 -0
  224. package/src/sap/fe/core/helpers/MessageStrip.ts +79 -0
  225. package/src/sap/fe/core/helpers/ModelHelper.js +25 -25
  226. package/src/sap/fe/core/helpers/ModelHelper.ts +34 -32
  227. package/src/sap/fe/core/helpers/PasteHelper.js +3 -10
  228. package/src/sap/fe/core/helpers/PasteHelper.ts +20 -25
  229. package/src/sap/fe/core/helpers/SemanticDateOperators.js +1 -1
  230. package/src/sap/fe/core/helpers/SemanticDateOperators.ts +11 -11
  231. package/src/sap/fe/core/helpers/SemanticKeyHelper.js +3 -3
  232. package/src/sap/fe/core/helpers/SemanticKeyHelper.ts +8 -8
  233. package/src/sap/fe/core/helpers/StableIdHelper.js +12 -12
  234. package/src/sap/fe/core/helpers/StableIdHelper.ts +12 -12
  235. package/src/sap/fe/core/helpers/Synchronization.js +1 -1
  236. package/src/sap/fe/core/helpers/ToES6Promise.js +32 -0
  237. package/src/sap/fe/core/helpers/ToES6Promise.ts +19 -0
  238. package/src/sap/fe/core/jsx-runtime/Fragment.js +16 -0
  239. package/src/sap/fe/core/jsx-runtime/Fragment.ts +3 -0
  240. package/src/sap/fe/core/jsx-runtime/ViewLoader.js +109 -0
  241. package/src/sap/fe/core/jsx-runtime/ViewLoader.tsx +47 -0
  242. package/src/sap/fe/core/jsx-runtime/jsx-control.js +110 -0
  243. package/src/sap/fe/core/jsx-runtime/jsx-control.ts +92 -0
  244. package/src/sap/fe/core/jsx-runtime/jsx-xml.js +105 -0
  245. package/src/sap/fe/core/jsx-runtime/jsx-xml.ts +89 -0
  246. package/src/sap/fe/core/jsx-runtime/jsx.js +12 -90
  247. package/src/sap/fe/core/jsx-runtime/jsx.ts +24 -85
  248. package/src/sap/fe/core/jsx-runtime/jsxs.js +1 -1
  249. package/src/sap/fe/core/jsx-runtime/useMDXComponents.js +179 -0
  250. package/src/sap/fe/core/jsx-runtime/useMDXComponents.tsx +150 -0
  251. package/src/sap/fe/core/library.js +42 -3
  252. package/src/sap/fe/core/library.support.js +1 -1
  253. package/src/sap/fe/core/library.ts +38 -0
  254. package/src/sap/fe/core/manifestMerger/ChangePageConfiguration.js +3 -3
  255. package/src/sap/fe/core/manifestMerger/ChangePageConfiguration.ts +2 -2
  256. package/src/sap/fe/core/messagebundle.properties +39 -67
  257. package/src/sap/fe/core/messagebundle_ar.properties +27 -44
  258. package/src/sap/fe/core/messagebundle_bg.properties +27 -44
  259. package/src/sap/fe/core/messagebundle_ca.properties +27 -44
  260. package/src/sap/fe/core/messagebundle_cs.properties +27 -44
  261. package/src/sap/fe/core/messagebundle_cy.properties +26 -43
  262. package/src/sap/fe/core/messagebundle_da.properties +27 -44
  263. package/src/sap/fe/core/messagebundle_de.properties +25 -42
  264. package/src/sap/fe/core/messagebundle_el.properties +28 -45
  265. package/src/sap/fe/core/messagebundle_en.properties +27 -44
  266. package/src/sap/fe/core/messagebundle_en_GB.properties +27 -44
  267. package/src/sap/fe/core/messagebundle_en_US_sappsd.properties +25 -42
  268. package/src/sap/fe/core/messagebundle_en_US_saprigi.properties +26 -40
  269. package/src/sap/fe/core/messagebundle_en_US_saptrc.properties +25 -42
  270. package/src/sap/fe/core/messagebundle_es.properties +27 -44
  271. package/src/sap/fe/core/messagebundle_es_MX.properties +27 -44
  272. package/src/sap/fe/core/messagebundle_et.properties +27 -44
  273. package/src/sap/fe/core/messagebundle_fi.properties +27 -44
  274. package/src/sap/fe/core/messagebundle_fr.properties +26 -43
  275. package/src/sap/fe/core/messagebundle_fr_CA.properties +25 -42
  276. package/src/sap/fe/core/messagebundle_hi.properties +27 -44
  277. package/src/sap/fe/core/messagebundle_hr.properties +27 -44
  278. package/src/sap/fe/core/messagebundle_hu.properties +27 -44
  279. package/src/sap/fe/core/messagebundle_id.properties +27 -44
  280. package/src/sap/fe/core/messagebundle_it.properties +43 -60
  281. package/src/sap/fe/core/messagebundle_iw.properties +27 -44
  282. package/src/sap/fe/core/messagebundle_ja.properties +27 -44
  283. package/src/sap/fe/core/messagebundle_kk.properties +27 -44
  284. package/src/sap/fe/core/messagebundle_ko.properties +30 -47
  285. package/src/sap/fe/core/messagebundle_lt.properties +27 -44
  286. package/src/sap/fe/core/messagebundle_lv.properties +27 -44
  287. package/src/sap/fe/core/messagebundle_ms.properties +27 -44
  288. package/src/sap/fe/core/messagebundle_nl.properties +29 -46
  289. package/src/sap/fe/core/messagebundle_no.properties +27 -44
  290. package/src/sap/fe/core/messagebundle_pl.properties +28 -45
  291. package/src/sap/fe/core/messagebundle_pt.properties +28 -45
  292. package/src/sap/fe/core/messagebundle_pt_PT.properties +27 -44
  293. package/src/sap/fe/core/messagebundle_ro.properties +27 -44
  294. package/src/sap/fe/core/messagebundle_ru.properties +27 -44
  295. package/src/sap/fe/core/messagebundle_sh.properties +27 -44
  296. package/src/sap/fe/core/messagebundle_sk.properties +27 -44
  297. package/src/sap/fe/core/messagebundle_sl.properties +27 -44
  298. package/src/sap/fe/core/messagebundle_sv.properties +27 -44
  299. package/src/sap/fe/core/messagebundle_th.properties +25 -42
  300. package/src/sap/fe/core/messagebundle_tr.properties +27 -44
  301. package/src/sap/fe/core/messagebundle_uk.properties +27 -44
  302. package/src/sap/fe/core/messagebundle_vi.properties +27 -44
  303. package/src/sap/fe/core/messagebundle_zh_CN.properties +27 -44
  304. package/src/sap/fe/core/messagebundle_zh_TW.properties +27 -44
  305. package/src/sap/fe/core/services/AsyncComponentServiceFactory.js +3 -3
  306. package/src/sap/fe/core/services/AsyncComponentServiceFactory.ts +5 -5
  307. package/src/sap/fe/core/services/CacheHandlerServiceFactory.js +103 -75
  308. package/src/sap/fe/core/services/CacheHandlerServiceFactory.ts +72 -73
  309. package/src/sap/fe/core/services/EnvironmentServiceFactory.js +2 -2
  310. package/src/sap/fe/core/services/EnvironmentServiceFactory.ts +3 -2
  311. package/src/sap/fe/core/services/NavigationServiceFactory.js +62 -50
  312. package/src/sap/fe/core/services/NavigationServiceFactory.ts +63 -52
  313. package/src/sap/fe/core/services/ResourceModelServiceFactory.js +3 -3
  314. package/src/sap/fe/core/services/ResourceModelServiceFactory.ts +4 -4
  315. package/src/sap/fe/core/services/RoutingServiceFactory.js +56 -56
  316. package/src/sap/fe/core/services/RoutingServiceFactory.ts +67 -65
  317. package/src/sap/fe/core/services/ShellServicesFactory.js +93 -77
  318. package/src/sap/fe/core/services/ShellServicesFactory.ts +95 -82
  319. package/src/sap/fe/core/services/SideEffectsServiceFactory.js +64 -64
  320. package/src/sap/fe/core/services/SideEffectsServiceFactory.ts +102 -92
  321. package/src/sap/fe/core/services/TemplatedViewServiceFactory.js +232 -200
  322. package/src/sap/fe/core/services/TemplatedViewServiceFactory.ts +145 -142
  323. package/src/sap/fe/core/services/view/TemplatingErrorPage.controller.js +2 -2
  324. package/src/sap/fe/core/support/AnnotationIssue.support.js +1 -1
  325. package/src/sap/fe/core/support/CollectionFacetMissingID.support.js +1 -1
  326. package/src/sap/fe/core/support/CollectionFacetUnsupportedLevel.support.js +1 -1
  327. package/src/sap/fe/core/support/CommonHelper.js +3 -2
  328. package/src/sap/fe/core/support/CommonHelper.ts +9 -13
  329. package/src/sap/fe/core/support/Diagnostics.js +1 -1
  330. package/src/sap/fe/core/support/Diagnostics.ts +5 -5
  331. package/src/sap/fe/core/support/InvalidAnnotationColumnKey.support.js +1 -1
  332. package/src/sap/fe/core/templating/CommonFormatters.js +85 -0
  333. package/src/sap/fe/core/templating/CommonFormatters.ts +90 -0
  334. package/src/sap/fe/core/templating/CriticalityFormatters.js +31 -31
  335. package/src/sap/fe/core/templating/CriticalityFormatters.ts +42 -40
  336. package/src/sap/fe/core/templating/DataFieldFormatters.js +8 -8
  337. package/src/sap/fe/core/templating/DataFieldFormatters.ts +13 -10
  338. package/src/sap/fe/core/templating/DataModelPathHelper.js +23 -15
  339. package/src/sap/fe/core/templating/DataModelPathHelper.ts +47 -34
  340. package/src/sap/fe/core/templating/DisplayModeFormatter.js +1 -1
  341. package/src/sap/fe/core/templating/DisplayModeFormatter.ts +2 -3
  342. package/src/sap/fe/core/templating/EntitySetHelper.js +7 -7
  343. package/src/sap/fe/core/templating/EntitySetHelper.ts +6 -8
  344. package/src/sap/fe/core/templating/FieldControlHelper.js +35 -34
  345. package/src/sap/fe/core/templating/FieldControlHelper.ts +29 -46
  346. package/src/sap/fe/core/templating/FilterHelper.js +18 -17
  347. package/src/sap/fe/core/templating/FilterHelper.ts +18 -18
  348. package/src/sap/fe/core/templating/FilterTemplating.js +1 -1
  349. package/src/sap/fe/core/templating/FilterTemplating.ts +3 -3
  350. package/src/sap/fe/core/templating/PropertyFormatters.js +7 -7
  351. package/src/sap/fe/core/templating/PropertyFormatters.ts +21 -19
  352. package/src/sap/fe/core/templating/PropertyHelper.js +25 -25
  353. package/src/sap/fe/core/templating/PropertyHelper.ts +25 -26
  354. package/src/sap/fe/core/templating/UIFormatters.js +152 -95
  355. package/src/sap/fe/core/templating/UIFormatters.ts +202 -128
  356. package/src/sap/fe/core/type/DateTimeWithTimezone.js +2 -2
  357. package/src/sap/fe/core/type/Email.js +3 -3
  358. package/src/sap/fe/core/type/Email.ts +2 -2
  359. package/src/sap/fe/core/helpers/BindingExpression.js +0 -1732
@@ -1,6 +1,6 @@
1
1
  import Log from "sap/base/Log";
2
2
  import mergeObjects from "sap/base/util/merge";
3
- import AppComponent from "sap/fe/core/AppComponent";
3
+ import type AppComponent from "sap/fe/core/AppComponent";
4
4
  import draft from "sap/fe/core/controllerextensions/editFlow/draft";
5
5
  import {
6
6
  defineUI5Class,
@@ -12,28 +12,27 @@ import {
12
12
  } from "sap/fe/core/helpers/ClassSupport";
13
13
  import KeepAliveHelper from "sap/fe/core/helpers/KeepAliveHelper";
14
14
  import ModelHelper from "sap/fe/core/helpers/ModelHelper";
15
- import PageController from "sap/fe/core/PageController";
16
- import { NavigationService } from "sap/fe/core/services/NavigationServiceFactory";
15
+ import type PageController from "sap/fe/core/PageController";
16
+ import type { NavigationService } from "sap/fe/core/services/NavigationServiceFactory";
17
17
  import SelectionVariant from "sap/fe/navigation/SelectionVariant";
18
- import Dialog from "sap/m/Dialog";
18
+ import type Dialog from "sap/m/Dialog";
19
19
  import Core from "sap/ui/core/Core";
20
20
  import Fragment from "sap/ui/core/Fragment";
21
21
  import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
22
22
  import OverrideExecution from "sap/ui/core/mvc/OverrideExecution";
23
- import View from "sap/ui/core/mvc/View";
23
+ import type View from "sap/ui/core/mvc/View";
24
24
  import XMLPreprocessor from "sap/ui/core/util/XMLPreprocessor";
25
25
  import XMLTemplateProcessor from "sap/ui/core/XMLTemplateProcessor";
26
- import Context from "sap/ui/model/Context";
26
+ import type Context from "sap/ui/model/Context";
27
27
  import JSONModel from "sap/ui/model/json/JSONModel";
28
- import ODataMetaModel from "sap/ui/model/odata/v4/ODataMetaModel";
29
- import { CoreEx } from "types/extension_types";
28
+ import type ODataMetaModel from "sap/ui/model/odata/v4/ODataMetaModel";
29
+ import type { CoreEx } from "types/extension_types";
30
30
 
31
31
  /**
32
32
  * {@link sap.ui.core.mvc.ControllerExtension Controller extension}
33
33
  *
34
34
  * @namespace
35
35
  * @alias sap.fe.core.controllerextensions.InternalInternalBasedNavigation
36
- *
37
36
  * @private
38
37
  * @since 1.84.0
39
38
  */
@@ -57,10 +56,10 @@ class InternalIntentBasedNavigation extends ControllerExtension {
57
56
  * If semantic object mapping is provided, this is also applied to the selection variant after the adaptation by a consumer.
58
57
  * This takes care of removing any technical parameters and determines if an explace or inplace navigation should take place.
59
58
  *
60
- * @param {string} sSemanticObject Semantic object for the target app
61
- * @param {string} sAction Action for the target app
62
- * @param {object} [mNavigationParameters] Optional parameters to be passed to the external navigation
63
- * @param {Array|object} [mNavigationParameters.navigationContexts] Uses one of the following to be passed to the intent:
59
+ * @param sSemanticObject Semantic object for the target app
60
+ * @param sAction Action for the target app
61
+ * @param [mNavigationParameters] Optional parameters to be passed to the external navigation
62
+ * @param [mNavigationParameters.navigationContexts] Uses one of the following to be passed to the intent:
64
63
  * a single instance of {@link sap.ui.model.odata.v4.Context}
65
64
  * multiple instances of {@link sap.ui.model.odata.v4.Context}
66
65
  * an object or an array of objects
@@ -73,11 +72,11 @@ class InternalIntentBasedNavigation extends ControllerExtension {
73
72
  * },
74
73
  * metaPath: "/SalesOrderManage"
75
74
  * }
76
- * @param {string | object} [mNavigationParameters.semanticObjectMapping] String representation of the SemanticObjectMapping or SemanticObjectMapping that applies to this navigation
77
- * @param {object} [mNavigationParameters.defaultRefreshStrategy] Default refresh strategy to be used in case no refresh strategy is specified for the intent in the view.
78
- * @param {object} [mNavigationParameters.refreshStrategies]
79
- * @param {object} [mNavigationParameters.additionalNavigationParameters] Additional navigation parameters configured in the crossAppNavigation outbound parameters.
80
- **/
75
+ * @param [mNavigationParameters.semanticObjectMapping] String representation of the SemanticObjectMapping or SemanticObjectMapping that applies to this navigation
76
+ * @param [mNavigationParameters.defaultRefreshStrategy] Default refresh strategy to be used in case no refresh strategy is specified for the intent in the view.
77
+ * @param [mNavigationParameters.refreshStrategies]
78
+ * @param [mNavigationParameters.additionalNavigationParameters] Additional navigation parameters configured in the crossAppNavigation outbound parameters.
79
+ */
81
80
  @publicExtension()
82
81
  @finalExtension()
83
82
  navigate(
@@ -112,7 +111,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
112
111
 
113
112
  if (sSemanticObject && sAction) {
114
113
  let aSemanticAttributes: any[] = [],
115
- oSelectionVariant = new SelectionVariant();
114
+ oSelectionVariant: any = new SelectionVariant();
116
115
  // 1. get SemanticAttributes for navigation
117
116
  if (aNavigationContexts && aNavigationContexts.length) {
118
117
  aNavigationContexts.forEach((oNavigationContext: any) => {
@@ -193,15 +192,15 @@ class InternalIntentBasedNavigation extends ControllerExtension {
193
192
  const onError = function () {
194
193
  sap.ui.require(["sap/m/MessageBox"], function (MessageBox: any) {
195
194
  const oResourceBundle = (Core as CoreEx).getLibraryResourceBundle("sap.fe.core");
196
- MessageBox.show(oResourceBundle.getText("C_COMMON_HELPER_NAVIGATION_ERROR_MESSAGE"), {
197
- title: oResourceBundle.getText("C_COMMON_NAVIGATION_ERROR_TITLE")
195
+ MessageBox.error(oResourceBundle.getText("C_COMMON_HELPER_NAVIGATION_ERROR_MESSAGE"), {
196
+ title: oResourceBundle.getText("C_COMMON_SAPFE_ERROR")
198
197
  });
199
198
  });
200
199
  };
201
200
  this._oNavigationService.navigate(
202
201
  sSemanticObject,
203
202
  sAction,
204
- (oSelectionVariant as any).toJSONString(),
203
+ oSelectionVariant.toJSONString(),
205
204
  undefined,
206
205
  onError,
207
206
  undefined,
@@ -233,9 +232,10 @@ class InternalIntentBasedNavigation extends ControllerExtension {
233
232
 
234
233
  /**
235
234
  * Prepare attributes to be passed to external navigation.
236
- * @param {object} oSemanticAttributes Context data after removing all sensitive information.
237
- * @param {object} oContext Actual context from which the semanticAttributes were derived.
238
- * @returns {object} Object of prepared attributes for external navigation and no conflict properties.
235
+ *
236
+ * @param oSemanticAttributes Context data after removing all sensitive information.
237
+ * @param oContext Actual context from which the semanticAttributes were derived.
238
+ * @returns Object of prepared attributes for external navigation and no conflict properties.
239
239
  */
240
240
  @publicExtension()
241
241
  @finalExtension()
@@ -261,7 +261,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
261
261
  } else {
262
262
  // if a nested object is found
263
263
  const oNewLookUpObject = LookUpObject[sKey];
264
- _findDistinctKeysInObject(oNewLookUpObject, sLookUpObjectMetaPath + "/" + sKey);
264
+ _findDistinctKeysInObject(oNewLookUpObject, `${sLookUpObjectMetaPath}/${sKey}`);
265
265
  }
266
266
  }
267
267
  }
@@ -270,7 +270,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
270
270
 
271
271
  // 2. Determine distinct key value and add conflicted paths to semantic attributes
272
272
  const sMainEntitySetName = aMetaPathParts[0],
273
- sMainEntityTypeName = oMetaModel.getObject("/" + sMainEntitySetName + "/@sapui.name"),
273
+ sMainEntityTypeName = oMetaModel.getObject(`/${sMainEntitySetName}/@sapui.name`),
274
274
  oPropertiesWithoutConflict: any = {};
275
275
  let sMainEntityValuePath, sCurrentValuePath, sLastValuePath;
276
276
  for (const sDistinctKey in oDistinctKeys) {
@@ -285,9 +285,9 @@ class InternalIntentBasedNavigation extends ControllerExtension {
285
285
  // conflict
286
286
  for (let i = 0; i <= aConflictingPaths.length - 1; i++) {
287
287
  const sPath = aConflictingPaths[i];
288
- let sPathInContext = sPath.replace(sPath === sMetaPath ? sMetaPath : sMetaPath + "/", "");
289
- sPathInContext = (sPathInContext === "" ? sPathInContext : sPathInContext + "/") + sDistinctKey;
290
- const sEntityTypeName = oMetaModel.getObject(sPath + "/@sapui.name");
288
+ let sPathInContext = sPath.replace(sPath === sMetaPath ? sMetaPath : `${sMetaPath}/`, "");
289
+ sPathInContext = (sPathInContext === "" ? sPathInContext : `${sPathInContext}/`) + sDistinctKey;
290
+ const sEntityTypeName = oMetaModel.getObject(`${sPath}/@sapui.name`);
291
291
  // rule A
292
292
 
293
293
  // rule A
@@ -306,7 +306,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
306
306
  // add conflicted path to semantic attributes
307
307
  // check if the current path points to main entity and prefix attribute names accordingly
308
308
  oSemanticAttributes[
309
- (sMetaPath + "/" + sPathInContext)
309
+ `${sMetaPath}/${sPathInContext}`
310
310
  .split("/")
311
311
  .filter(function (sValue: string) {
312
312
  return sValue != "";
@@ -323,10 +323,10 @@ class InternalIntentBasedNavigation extends ControllerExtension {
323
323
  } else {
324
324
  // no conflict, add distinct key without adding paths
325
325
  const sPath = aConflictingPaths[0]; // because there is only one and hence no conflict
326
- let sPathInContext = sPath.replace(sPath === sMetaPath ? sMetaPath : sMetaPath + "/", "");
327
- sPathInContext = (sPathInContext === "" ? sPathInContext : sPathInContext + "/") + sDistinctKey;
326
+ let sPathInContext = sPath.replace(sPath === sMetaPath ? sMetaPath : `${sMetaPath}/`, "");
327
+ sPathInContext = (sPathInContext === "" ? sPathInContext : `${sPathInContext}/`) + sDistinctKey;
328
328
  oSemanticAttributes[sDistinctKey] = oContext.getProperty(sPathInContext);
329
- oPropertiesWithoutConflict[sDistinctKey] = (sMetaPath + "/" + sPathInContext)
329
+ oPropertiesWithoutConflict[sDistinctKey] = `${sMetaPath}/${sPathInContext}`
330
330
  .split("/")
331
331
  .filter(function (sValue: string) {
332
332
  return sValue != "";
@@ -347,10 +347,11 @@ class InternalIntentBasedNavigation extends ControllerExtension {
347
347
  }
348
348
  /**
349
349
  * Prepare filter conditions to be passed to external navigation.
350
- * @param {object} oFilterBarConditions Filter conditions.
351
- * @param {string} sRootPath Root path of the application.
352
- * @param {Array} aParameters Names of parameters to be considered.
353
- * @returns {object} Object of prepared filter conditions for external navigation and no conflict filters.
350
+ *
351
+ * @param oFilterBarConditions Filter conditions.
352
+ * @param sRootPath Root path of the application.
353
+ * @param aParameters Names of parameters to be considered.
354
+ * @returns Object of prepared filter conditions for external navigation and no conflict filters.
354
355
  */
355
356
  @publicExtension()
356
357
  @finalExtension()
@@ -391,15 +392,15 @@ class InternalIntentBasedNavigation extends ControllerExtension {
391
392
  for (let i = 0; i <= aConflictingPaths.length - 1; i++) {
392
393
  sPath = aConflictingPaths[i];
393
394
  if (sPath === sRootPath) {
394
- sFullContextPath = sRootPath + "/" + sDistinctKey;
395
+ sFullContextPath = `${sRootPath}/${sDistinctKey}`;
395
396
  sPathInContext = sDistinctKey;
396
397
  sMainEntityValuePath = sDistinctKey;
397
398
  if (aParameters && aParameters.includes(sDistinctKey)) {
398
- oFilterBarConditions["$Parameter." + sDistinctKey] = oFilterBarConditions[sDistinctKey];
399
+ oFilterBarConditions[`$Parameter.${sDistinctKey}`] = oFilterBarConditions[sDistinctKey];
399
400
  }
400
401
  } else {
401
402
  sPathInContext = sPath;
402
- sFullContextPath = ((sRootPath + "/" + sPath) as any).replaceAll(/\*/g, "");
403
+ sFullContextPath = (`${sRootPath}/${sPath}` as any).replaceAll(/\*/g, "");
403
404
  sCurrentValuePath = sPath;
404
405
  }
405
406
  oFilterBarConditions[
@@ -419,7 +420,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
419
420
  // no conflict, add distinct key without adding paths
420
421
  sPath = aConflictingPaths[0];
421
422
  sFullContextPath =
422
- sPath === sRootPath ? sRootPath + "/" + sDistinctKey : ((sRootPath + "/" + sPath) as any).replaceAll("*", "");
423
+ sPath === sRootPath ? `${sRootPath}/${sDistinctKey}` : (`${sRootPath}/${sPath}` as any).replaceAll("*", "");
423
424
  oFilterConditionsWithoutConflict[sDistinctKey] = sFullContextPath
424
425
  .split("/")
425
426
  .filter(function (sValue: any) {
@@ -427,7 +428,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
427
428
  })
428
429
  .join(".");
429
430
  if (aParameters && aParameters.includes(sDistinctKey)) {
430
- oFilterBarConditions["$Parameter." + sDistinctKey] = oFilterBarConditions[sDistinctKey];
431
+ oFilterBarConditions[`$Parameter.${sDistinctKey}`] = oFilterBarConditions[sDistinctKey];
431
432
  }
432
433
  }
433
434
  }
@@ -441,7 +442,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
441
442
  /**
442
443
  * Get Navigation mode.
443
444
  *
444
- * @returns {string}
445
+ * @returns The navigation mode
445
446
  */
446
447
  @publicExtension()
447
448
  @extensible(OverrideExecution.Instead)
@@ -453,13 +454,13 @@ class InternalIntentBasedNavigation extends ControllerExtension {
453
454
  * If semantic object mapping is provided, this setting is also applied to the selection variant after adaptation by a consumer.
454
455
  * This setting also removes any technical parameters and determines if an inplace or explace navigation should take place.
455
456
  *
456
- * @param {string} sSemanticObject Semantic object for the target app
457
- * @param {string} sAction Action for the target app
458
- * @param {object} [mNavigationParameters] Optional parameters to be passed to the external navigation
459
- * @param {string} [mNavigationParameters.label]
460
- * @param {Array|object} [mNavigationParameters.navigationContexts] Single instance or multiple instances of {@link sap.ui.model.odata.v4.Context}, or alternatively an object or array of objects, to be passed to the intent.
461
- * @param {Array|object} [mNavigationParameters.applicableContexts] Single instance or multiple instances of {@link sap.ui.model.odata.v4.Context}, or alternatively an object or array of objects, to be passed to the intent and for which the IBN button is enabled
462
- * @param {Array|object} [mNavigationParameters.notApplicableContexts] Single instance or multiple instances of {@link sap.ui.model.odata.v4.Context}, or alternatively an object or array of objects, which cannot be passed to the intent.
457
+ * @param sSemanticObject Semantic object for the target app
458
+ * @param sAction Action for the target app
459
+ * @param [mNavigationParameters] Optional parameters to be passed to the external navigation
460
+ * @param [mNavigationParameters.label]
461
+ * @param [mNavigationParameters.navigationContexts] Single instance or multiple instances of {@link sap.ui.model.odata.v4.Context}, or alternatively an object or array of objects, to be passed to the intent.
462
+ * @param [mNavigationParameters.applicableContexts] Single instance or multiple instances of {@link sap.ui.model.odata.v4.Context}, or alternatively an object or array of objects, to be passed to the intent and for which the IBN button is enabled
463
+ * @param [mNavigationParameters.notApplicableContexts] Single instance or multiple instances of {@link sap.ui.model.odata.v4.Context}, or alternatively an object or array of objects, which cannot be passed to the intent.
463
464
  * if an array of contexts is passed the context is used to determine the meta path and accordingly remove the sensitive data
464
465
  * If an array of objects is passed, the following format is expected:
465
466
  * {
@@ -470,8 +471,8 @@ class InternalIntentBasedNavigation extends ControllerExtension {
470
471
  * metaPath: "/SalesOrderManage"
471
472
  * }
472
473
  * The metaPath is used to remove any sensitive data.
473
- * @param {string | object} [mNavigationParameters.semanticObjectMapping] String representation of SemanticObjectMapping or SemanticObjectMapping that applies to this navigation
474
- **/
474
+ * @param [mNavigationParameters.semanticObjectMapping] String representation of SemanticObjectMapping or SemanticObjectMapping that applies to this navigation
475
+ */
475
476
  @publicExtension()
476
477
  @finalExtension()
477
478
  navigateWithConfirmationDialog(
@@ -519,7 +520,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
519
520
  const oModel = this._oView.getModel();
520
521
  const oMetaModel = oModel.getMetaModel();
521
522
  const sCanonicalPath = mNavigationParameters.notApplicableContexts[0].getCanonicalPath();
522
- const sEntitySet = sCanonicalPath.substr(0, sCanonicalPath.indexOf("(")) + "/";
523
+ const sEntitySet = `${sCanonicalPath.substr(0, sCanonicalPath.indexOf("("))}/`;
523
524
  Promise.resolve(
524
525
  XMLPreprocessor.process(
525
526
  oDialogFragment,
@@ -558,9 +559,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
558
559
  /**
559
560
  * Get targeted Entity set.
560
561
  *
561
- * @returns {string} Entity set name
562
- *
563
- *
562
+ * @returns Entity set name
564
563
  */
565
564
  @privateExtension()
566
565
  getEntitySet() {
@@ -573,7 +572,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
573
572
  * @param sMetaPath Meta path to reach the entitySet in the MetaModel
574
573
  * @returns Array of semantic Attributes
575
574
  * @private
576
- **/
575
+ */
577
576
  // TO-DO add unit tests for this function in the controller extension qunit.
578
577
  @publicExtension()
579
578
  @finalExtension()
@@ -618,10 +617,9 @@ class InternalIntentBasedNavigation extends ControllerExtension {
618
617
  /**
619
618
  * Check if path-based FieldControl evaluates to inapplicable.
620
619
  *
621
- * @param {string} sFieldControlPath Field control path
622
- * @param {object} oAttribute SemanticAttributes
623
- * @returns {boolean} `true` if inapplicable
624
- *
620
+ * @param sFieldControlPath Field control path
621
+ * @param oAttribute SemanticAttributes
622
+ * @returns `true` if inapplicable
625
623
  */
626
624
  _isFieldControlPathInapplicable(sFieldControlPath: string, oAttribute: any) {
627
625
  let bInapplicable = false;
@@ -638,9 +636,9 @@ class InternalIntentBasedNavigation extends ControllerExtension {
638
636
  /**
639
637
  * Method to replace Local Properties with Semantic Object mappings.
640
638
  *
641
- * @param {object} oSelectionVariant SelectionVariant consisting of filterbar, Table and Page Context
642
- * @param {object | string} vMappings A string representation of semantic object mapping
643
- * @returns {object} - Modified SelectionVariant with LocalProperty replaced with SemanticObjectProperties.
639
+ * @param oSelectionVariant SelectionVariant consisting of filterbar, Table and Page Context
640
+ * @param vMappings A string representation of semantic object mapping
641
+ * @returns - Modified SelectionVariant with LocalProperty replaced with SemanticObjectProperties.
644
642
  */
645
643
  _applySemanticObjectMappings(oSelectionVariant: SelectionVariant, vMappings: object | string) {
646
644
  const oMappings = typeof vMappings === "string" ? JSON.parse(vMappings) : vMappings;
@@ -663,12 +661,13 @@ class InternalIntentBasedNavigation extends ControllerExtension {
663
661
  }
664
662
  /**
665
663
  * Navigates to an Outbound provided in the manifest.
664
+ *
666
665
  * @function
667
- * @param {string} sOutbound Identifier to location the outbound in the manifest
668
- * @param {object} mNavigationParameters Optional map containing key/value pairs to be passed to the intent
666
+ * @param sOutbound Identifier to location the outbound in the manifest
667
+ * @param mNavigationParameters Optional map containing key/value pairs to be passed to the intent
669
668
  * @alias sap.fe.core.controllerextensions.IntentBasedNavigation#navigateOutbound
670
669
  * @since 1.86.0
671
- **/
670
+ */
672
671
  @publicExtension()
673
672
  @finalExtension()
674
673
  navigateOutbound(sOutbound: string, mNavigationParameters: any) {
@@ -713,9 +712,10 @@ class InternalIntentBasedNavigation extends ControllerExtension {
713
712
 
714
713
  /**
715
714
  * Method to apply outbound parameters defined in the manifest.
716
- * @param {object} oSelectionVariant SelectionVariant consisting of a filter bar, a table, and a page context
717
- * @param {object} vOutboundParams Outbound Properties defined in the manifest
718
- * @returns {object} - The modified SelectionVariant with outbound parameters.
715
+ *
716
+ * @param oSelectionVariant SelectionVariant consisting of a filter bar, a table, and a page context
717
+ * @param vOutboundParams Outbound Properties defined in the manifest
718
+ * @returns - The modified SelectionVariant with outbound parameters.
719
719
  */
720
720
  _applyOutboundParams(oSelectionVariant: SelectionVariant, vOutboundParams: any) {
721
721
  const aParameters = Object.keys(vOutboundParams);
@@ -731,9 +731,9 @@ class InternalIntentBasedNavigation extends ControllerExtension {
731
731
  * Method to get the outbound parameters defined in the manifest.
732
732
  *
733
733
  * @function
734
- * @param {object} oOutboundParams Parameters defined in the outbounds. Only "plain" is supported
735
- * @returns {Array} Parameters with the key-Value pair
736
- **/
734
+ * @param oOutboundParams Parameters defined in the outbounds. Only "plain" is supported
735
+ * @returns Parameters with the key-Value pair
736
+ */
737
737
  @publicExtension()
738
738
  @finalExtension()
739
739
  getOutboundParams(oOutboundParams: any) {
@@ -789,7 +789,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
789
789
  }
790
790
 
791
791
  if (sCreatePath) {
792
- const sKey = oDisplayOutbound.semanticObject + "-" + oDisplayOutbound.action;
792
+ const sKey = `${oDisplayOutbound.semanticObject}-${oDisplayOutbound.action}`;
793
793
  oRefreshStrategies.intents[sKey] = {};
794
794
  oRefreshStrategies.intents[sKey][sCreatePath] = "self";
795
795
  }
@@ -809,7 +809,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
809
809
  //TODO: check why returning a promise is required
810
810
  return Promise.resolve();
811
811
  } else {
812
- throw new Error("outbound target " + sOutboundTarget + " not found in cross navigation definition of manifest");
812
+ throw new Error(`outbound target ${sOutboundTarget} not found in cross navigation definition of manifest`);
813
813
  }
814
814
  }
815
815
  }