@sap/open.fe 1.97.0 → 1.98.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 (873) hide show
  1. package/package.json +1 -1
  2. package/packages/sap.fe.common/src/sap/fe/common/.library +1 -1
  3. package/packages/sap.fe.common/src/sap/fe/common/.theming +1 -1
  4. package/packages/sap.fe.common/src/sap/fe/common/MessageButton-dbg.js +275 -62
  5. package/packages/sap.fe.common/src/sap/fe/common/MessageButton.js +1 -1
  6. package/packages/sap.fe.common/src/sap/fe/common/MessagePopover-dbg.js +1 -0
  7. package/packages/sap.fe.common/src/sap/fe/common/MessagePopover.js +1 -1
  8. package/packages/sap.fe.common/src/sap/fe/common/library-dbg.js +1 -1
  9. package/packages/sap.fe.common/src/sap/fe/common/library-h2-preload.js +3 -3
  10. package/packages/sap.fe.common/src/sap/fe/common/library-preload.js +51 -46
  11. package/packages/sap.fe.common/src/sap/fe/common/library-preload.js.map +3 -3
  12. package/packages/sap.fe.common/src/sap/fe/common/library.js +1 -1
  13. package/packages/sap.fe.common/src/sap/fe/common/manifest.json +3 -3
  14. package/packages/sap.fe.common/src/sap/fe/common/resources.json +16 -8
  15. package/packages/sap.fe.common/test/sap/fe/common/designtime/api.json +1 -1
  16. package/packages/sap.fe.common/test/sap/fe/common/designtime/apiref/api.json +1 -1
  17. package/packages/sap.fe.common/test/sap/fe/common/designtime/codeassistance/Library.xmlmeta.json +1 -1
  18. package/packages/sap.fe.common/test/sap/fe/common/relnotes/changes-1.98.json +18 -0
  19. package/packages/sap.fe.core/src/sap/fe/core/.library +1 -1
  20. package/packages/sap.fe.core/src/sap/fe/core/.theming +1 -1
  21. package/packages/sap.fe.core/src/sap/fe/core/AppComponent-dbg.js +3 -1
  22. package/packages/sap.fe.core/src/sap/fe/core/AppComponent.js +1 -1
  23. package/packages/sap.fe.core/src/sap/fe/core/AppStateHandler-dbg.js +1 -1
  24. package/packages/sap.fe.core/src/sap/fe/core/AppStateHandler.js +1 -1
  25. package/packages/sap.fe.core/src/sap/fe/core/CommonUtils-dbg.js +35 -15
  26. package/packages/sap.fe.core/src/sap/fe/core/CommonUtils.js +1 -1
  27. package/packages/sap.fe.core/src/sap/fe/core/ExtensionAPI-dbg.js +13 -5
  28. package/packages/sap.fe.core/src/sap/fe/core/ExtensionAPI.js +1 -1
  29. package/packages/sap.fe.core/src/sap/fe/core/PageController-dbg.js +8 -2
  30. package/packages/sap.fe.core/src/sap/fe/core/PageController.js +1 -1
  31. package/packages/sap.fe.core/src/sap/fe/core/RouterProxy-dbg.js +26 -10
  32. package/packages/sap.fe.core/src/sap/fe/core/RouterProxy.js +1 -1
  33. package/packages/sap.fe.core/src/sap/fe/core/TemplateComponent-dbg.js +13 -4
  34. package/packages/sap.fe.core/src/sap/fe/core/TemplateComponent.js +1 -1
  35. package/packages/sap.fe.core/src/sap/fe/core/TransactionHelper-dbg.js +124 -39
  36. package/packages/sap.fe.core/src/sap/fe/core/TransactionHelper.js +1 -1
  37. package/packages/sap.fe.core/src/sap/fe/core/actions/draft-dbg.js +49 -22
  38. package/packages/sap.fe.core/src/sap/fe/core/actions/draft.js +1 -1
  39. package/packages/sap.fe.core/src/sap/fe/core/actions/messageHandling-dbg.js +11 -8
  40. package/packages/sap.fe.core/src/sap/fe/core/actions/messageHandling.js +1 -1
  41. package/packages/sap.fe.core/src/sap/fe/core/actions/operations-dbg.js +12 -8
  42. package/packages/sap.fe.core/src/sap/fe/core/actions/operations.js +1 -1
  43. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/EditFlow-dbg.js +196 -70
  44. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/EditFlow.js +1 -1
  45. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalEditFlow-dbg.js +9 -2
  46. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalEditFlow.js +1 -1
  47. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation-dbg.js +19 -17
  48. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation.js +1 -1
  49. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalRouting-dbg.js +39 -8
  50. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalRouting.js +1 -1
  51. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/KPIManagement-dbg.js +114 -25
  52. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/KPIManagement.js +1 -1
  53. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/KPIManagement.ts +112 -24
  54. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MassEdit-dbg.js +80 -0
  55. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MassEdit.js +6 -0
  56. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MessageHandler-dbg.js +5 -1
  57. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MessageHandler.js +1 -1
  58. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/PageReady-dbg.js +1 -1
  59. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/PageReady.js +1 -1
  60. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Paginator-dbg.js +34 -7
  61. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Paginator.js +1 -1
  62. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Placeholder-dbg.js +5 -2
  63. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Placeholder.js +1 -1
  64. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Routing-dbg.js +16 -1
  65. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Routing.js +1 -1
  66. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Share-dbg.js +19 -6
  67. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Share.js +1 -1
  68. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/SideEffects-dbg.js +7 -7
  69. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/SideEffects.js +1 -1
  70. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/SideEffects.ts +6 -5
  71. package/packages/sap.fe.core/src/sap/fe/core/controls/ActionParameterDialog.fragment.xml +2 -1
  72. package/packages/sap.fe.core/src/sap/fe/core/controls/DataLossOrDraftDiscard/DataLossOrDraftDiscardHandler-dbg.js +6 -3
  73. package/packages/sap.fe.core/src/sap/fe/core/controls/DataLossOrDraftDiscard/DataLossOrDraftDiscardHandler.js +1 -1
  74. package/packages/sap.fe.core/src/sap/fe/core/controls/FieldWrapper-dbg.js +9 -3
  75. package/packages/sap.fe.core/src/sap/fe/core/controls/FieldWrapper.js +1 -1
  76. package/packages/sap.fe.core/src/sap/fe/core/controls/FormElementWrapper-dbg.js +0 -5
  77. package/packages/sap.fe.core/src/sap/fe/core/controls/FormElementWrapper.js +1 -1
  78. package/packages/sap.fe.core/src/sap/fe/core/controls/NonComputedVisibleKeyFieldsDialog.fragment.xml +1 -1
  79. package/packages/{sap.fe.macros/src/sap/fe/macros/massedit → sap.fe.core/src/sap/fe/core/controls/massEdit}/MassEditDialog.fragment.xml +6 -6
  80. package/packages/{sap.fe.macros/src/sap/fe/macros/massedit/MassEditRuntime-dbg.js → sap.fe.core/src/sap/fe/core/controls/massEdit/MassEditHandlers-dbg.js} +2 -2
  81. package/packages/{sap.fe.macros/src/sap/fe/macros/massedit/MassEditRuntime.js → sap.fe.core/src/sap/fe/core/controls/massEdit/MassEditHandlers.js} +0 -0
  82. package/packages/sap.fe.core/src/sap/fe/core/converters/ConverterContext-dbg.js +13 -1
  83. package/packages/sap.fe.core/src/sap/fe/core/converters/ConverterContext.js +1 -1
  84. package/packages/sap.fe.core/src/sap/fe/core/converters/ConverterContext.ts +10 -0
  85. package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestSettings-dbg.js +1 -1
  86. package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestSettings.ts +3 -0
  87. package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestWrapper-dbg.js +18 -7
  88. package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestWrapper.js +1 -1
  89. package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestWrapper.ts +15 -6
  90. package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter-dbg.js +62 -4
  91. package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter.js +1 -1
  92. package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter.ts +60 -4
  93. package/packages/sap.fe.core/src/sap/fe/core/converters/annotations/DataField-dbg.js +3 -3
  94. package/packages/sap.fe.core/src/sap/fe/core/converters/annotations/DataField.js +1 -1
  95. package/packages/sap.fe.core/src/sap/fe/core/converters/annotations/DataField.ts +1 -1
  96. package/packages/sap.fe.core/src/sap/fe/core/converters/common/AnnotationConverter-dbg.js +18 -10
  97. package/packages/sap.fe.core/src/sap/fe/core/converters/common/AnnotationConverter.js +1 -1
  98. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action-dbg.js +10 -1
  99. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action.js +1 -1
  100. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action.ts +6 -0
  101. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form-dbg.js +17 -9
  102. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form.js +1 -1
  103. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form.ts +9 -3
  104. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/KPI-dbg.js +69 -4
  105. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/KPI.js +1 -1
  106. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/KPI.ts +72 -0
  107. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table-dbg.js +172 -284
  108. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table.js +1 -1
  109. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table.ts +228 -348
  110. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/table/StandardActions-dbg.js +468 -0
  111. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/table/StandardActions.js +5 -0
  112. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/table/StandardActions.ts +609 -0
  113. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/FilterBar-dbg.js +30 -13
  114. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/FilterBar.js +1 -1
  115. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/FilterBar.ts +31 -12
  116. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/VisualFilters-dbg.js +2 -2
  117. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/VisualFilters.js +1 -1
  118. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/VisualFilters.ts +1 -1
  119. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/SubSection-dbg.js +14 -6
  120. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/SubSection.js +1 -1
  121. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/SubSection.ts +26 -5
  122. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Aggregation-dbg.js +8 -1
  123. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Aggregation.js +1 -1
  124. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Aggregation.ts +9 -1
  125. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/IssueManager-dbg.js +4 -1
  126. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/IssueManager.js +1 -1
  127. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/IssueManager.ts +3 -0
  128. package/packages/sap.fe.core/src/sap/fe/core/designtime/AppComponent-dbg.designtime.js +8 -0
  129. package/packages/sap.fe.core/src/sap/fe/core/designtime/AppComponent.designtime.js +1 -1
  130. package/packages/sap.fe.core/src/sap/fe/core/designtime/library-preload.designtime.js +1 -1
  131. package/packages/sap.fe.core/src/sap/fe/core/designtime/library-preload.designtime.js.map +3 -3
  132. package/packages/sap.fe.core/src/sap/fe/core/formatters/ValueFormatter-dbg.js +30 -5
  133. package/packages/sap.fe.core/src/sap/fe/core/formatters/ValueFormatter.js +1 -1
  134. package/packages/sap.fe.core/src/sap/fe/core/formatters/ValueFormatter.ts +25 -3
  135. package/packages/sap.fe.core/src/sap/fe/core/fpm/manifest.json +2 -2
  136. package/packages/sap.fe.core/src/sap/fe/core/helpers/AppStartupHelper-dbg.js +359 -0
  137. package/packages/sap.fe.core/src/sap/fe/core/helpers/AppStartupHelper.js +5 -0
  138. package/packages/sap.fe.core/src/sap/fe/core/helpers/AppStartupHelper.ts +388 -0
  139. package/packages/sap.fe.core/src/sap/fe/core/helpers/BindingExpression-dbg.js +199 -111
  140. package/packages/sap.fe.core/src/sap/fe/core/helpers/BindingExpression.js +1 -1
  141. package/packages/sap.fe.core/src/sap/fe/core/helpers/BindingExpression.ts +193 -102
  142. package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveHelper-dbg.js +2 -2
  143. package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveHelper.js +1 -1
  144. package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveHelper.ts +1 -1
  145. package/packages/sap.fe.core/src/sap/fe/core/helpers/MassEditHelper-dbg.js +679 -0
  146. package/packages/sap.fe.core/src/sap/fe/core/helpers/MassEditHelper.js +6 -0
  147. package/packages/sap.fe.core/src/sap/fe/core/library-dbg.js +27 -1
  148. package/packages/sap.fe.core/src/sap/fe/core/library-h2-preload.js +23 -14
  149. package/packages/sap.fe.core/src/sap/fe/core/library-h2-preload.js.map +2 -2
  150. package/packages/sap.fe.core/src/sap/fe/core/library-preload.js +477 -411
  151. package/packages/sap.fe.core/src/sap/fe/core/library-preload.js.map +4 -4
  152. package/packages/sap.fe.core/src/sap/fe/core/library-preload.support.js +47 -3
  153. package/packages/sap.fe.core/src/sap/fe/core/library-preload.support.js.map +3 -3
  154. package/packages/sap.fe.core/src/sap/fe/core/library.js +1 -1
  155. package/packages/sap.fe.core/src/sap/fe/core/library.support.js +9 -3
  156. package/packages/sap.fe.core/src/sap/fe/core/manifest.json +10 -10
  157. package/packages/sap.fe.core/src/sap/fe/core/manifestMerger/ChangePageConfiguration-dbg.js +62 -0
  158. package/packages/sap.fe.core/src/sap/fe/core/manifestMerger/ChangePageConfiguration.js +5 -0
  159. package/packages/sap.fe.core/src/sap/fe/core/manifestMerger/ChangePageConfiguration.ts +68 -0
  160. package/packages/sap.fe.core/src/sap/fe/core/messagebundle.properties +40 -5
  161. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ar.properties +24 -2
  162. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_bg.properties +24 -2
  163. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ca.properties +24 -2
  164. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_cs.properties +25 -3
  165. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_cy.properties +24 -2
  166. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_da.properties +24 -2
  167. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_de.properties +24 -2
  168. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_el.properties +24 -2
  169. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en.properties +23 -1
  170. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_GB.properties +23 -1
  171. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_sappsd.properties +27 -1
  172. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_saprigi.properties +24 -2
  173. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_saptrc.properties +24 -2
  174. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_es.properties +24 -2
  175. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_es_MX.properties +24 -2
  176. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_et.properties +24 -2
  177. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fi.properties +25 -3
  178. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fr.properties +25 -3
  179. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fr_CA.properties +24 -2
  180. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hi.properties +24 -2
  181. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hr.properties +24 -2
  182. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hu.properties +25 -3
  183. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_id.properties +26 -4
  184. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_it.properties +24 -2
  185. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_iw.properties +24 -2
  186. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ja.properties +24 -2
  187. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_kk.properties +24 -2
  188. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ko.properties +24 -2
  189. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_lt.properties +24 -2
  190. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_lv.properties +24 -2
  191. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ms.properties +24 -2
  192. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_nl.properties +24 -2
  193. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_no.properties +24 -2
  194. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pl.properties +24 -2
  195. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pt.properties +25 -3
  196. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pt_PT.properties +24 -2
  197. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ro.properties +24 -2
  198. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ru.properties +24 -2
  199. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sh.properties +24 -2
  200. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sk.properties +24 -2
  201. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sl.properties +24 -2
  202. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sv.properties +25 -3
  203. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_th.properties +24 -2
  204. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_tr.properties +24 -2
  205. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_uk.properties +24 -2
  206. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_vi.properties +24 -2
  207. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_zh_CN.properties +24 -2
  208. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_zh_TW.properties +24 -2
  209. package/packages/sap.fe.core/src/sap/fe/core/resources.json +483 -235
  210. package/packages/sap.fe.core/src/sap/fe/core/services/AsyncComponentServiceFactory-dbg.js +1 -1
  211. package/packages/sap.fe.core/src/sap/fe/core/services/AsyncComponentServiceFactory.js +1 -1
  212. package/packages/sap.fe.core/src/sap/fe/core/services/EnvironmentServiceFactory-dbg.js +4 -3
  213. package/packages/sap.fe.core/src/sap/fe/core/services/EnvironmentServiceFactory.js +1 -1
  214. package/packages/sap.fe.core/src/sap/fe/core/services/EnvironmentServiceFactory.ts +3 -0
  215. package/packages/sap.fe.core/src/sap/fe/core/services/RoutingServiceFactory-dbg.js +93 -346
  216. package/packages/sap.fe.core/src/sap/fe/core/services/RoutingServiceFactory.js +1 -1
  217. package/packages/sap.fe.core/src/sap/fe/core/services/ShellServicesFactory-dbg.js +31 -2
  218. package/packages/sap.fe.core/src/sap/fe/core/services/ShellServicesFactory.js +1 -1
  219. package/packages/sap.fe.core/src/sap/fe/core/services/ShellServicesFactory.ts +30 -1
  220. package/packages/sap.fe.core/src/sap/fe/core/services/SideEffectsServiceFactory-dbg.js +8 -5
  221. package/packages/sap.fe.core/src/sap/fe/core/services/SideEffectsServiceFactory.js +1 -1
  222. package/packages/sap.fe.core/src/sap/fe/core/services/SideEffectsServiceFactory.ts +11 -6
  223. package/packages/sap.fe.core/src/sap/fe/core/services/TemplatedViewServiceFactory-dbg.js +12 -3
  224. package/packages/sap.fe.core/src/sap/fe/core/services/TemplatedViewServiceFactory.js +1 -1
  225. package/packages/sap.fe.core/src/sap/fe/core/support/InvalidAnnotationColumnKey.support.js +38 -0
  226. package/packages/sap.fe.core/src/sap/fe/core/support/InvalidAnnotationColumnKey.support.ts +18 -0
  227. package/packages/sap.fe.core/src/sap/fe/core/templating/DataModelPathHelper-dbg.js +10 -48
  228. package/packages/sap.fe.core/src/sap/fe/core/templating/DataModelPathHelper.js +1 -1
  229. package/packages/sap.fe.core/src/sap/fe/core/templating/DataModelPathHelper.ts +14 -46
  230. package/packages/sap.fe.core/src/sap/fe/core/templating/DisplayModeFormatter-dbg.js +114 -0
  231. package/packages/sap.fe.core/src/sap/fe/core/templating/DisplayModeFormatter.js +5 -0
  232. package/packages/sap.fe.core/src/sap/fe/core/templating/DisplayModeFormatter.ts +86 -0
  233. package/packages/sap.fe.core/src/sap/fe/core/templating/FilterHelper-dbg.js +10 -7
  234. package/packages/sap.fe.core/src/sap/fe/core/templating/FilterHelper.js +1 -1
  235. package/packages/sap.fe.core/src/sap/fe/core/templating/FilterHelper.ts +8 -6
  236. package/packages/sap.fe.core/src/sap/fe/core/templating/PropertyHelper-dbg.js +2 -2
  237. package/packages/sap.fe.core/src/sap/fe/core/templating/PropertyHelper.ts +1 -1
  238. package/packages/sap.fe.core/src/sap/fe/core/templating/UIFormatters-dbg.js +15 -110
  239. package/packages/sap.fe.core/src/sap/fe/core/templating/UIFormatters.js +1 -1
  240. package/packages/sap.fe.core/src/sap/fe/core/templating/UIFormatters.ts +6 -73
  241. package/packages/sap.fe.core/test/sap/fe/core/designtime/api.json +1 -1
  242. package/packages/sap.fe.core/test/sap/fe/core/designtime/apiref/api.json +1 -1
  243. package/packages/sap.fe.core/test/sap/fe/core/designtime/codeassistance/Library.jsmeta.json +1 -1
  244. package/packages/sap.fe.core/test/sap/fe/core/designtime/codeassistance/Library.jstemplates.json +1 -1
  245. package/packages/sap.fe.core/test/sap/fe/core/designtime/codeassistance/Library.xmlmeta.json +1 -1
  246. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/model/ControllerExtensionNavigationModel.js +5 -0
  247. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/model/CustomElementNavigationModel.js +105 -7
  248. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/model/MacroNavigationModel.js +176 -0
  249. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/FCL/FclNavigationButtons/myViewTest.controller.js +2 -2
  250. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartDefault/ChartDefault.controller.js +2 -2
  251. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartDefault/ChartDefault.view.xml +0 -1
  252. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartQualifier/ChartQualifier.controller.js +2 -2
  253. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartSelectionMode/ChartSelectionMode.controller.js +2 -2
  254. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEdit/FieldEdit.controller.js +3 -2
  255. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEvents/FieldEvents.controller.js +3 -2
  256. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/FieldFormatOptions.controller.js +3 -2
  257. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldNavProp/FieldNavProp.controller.js +3 -2
  258. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarAnnotationDefaults/Component.js +36 -0
  259. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarAnnotationDefaults/FilterBarAnnotationDefaults.controller.js +35 -0
  260. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarAnnotationDefaults/FilterBarAnnotationDefaults.view.xml +58 -0
  261. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarAnnotationDefaults/localService/RootEntity.json +102 -0
  262. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarAnnotationDefaults/localService/ValueHelpEntity.js +11 -0
  263. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarAnnotationDefaults/localService/service.cds +97 -0
  264. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarAnnotationDefaults/manifest.json +72 -0
  265. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarCustoms/Component.js +36 -0
  266. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarCustoms/CustomFilter.js +36 -0
  267. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarCustoms/CustomRatingFilter.fragment.xml +8 -0
  268. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarCustoms/CustomRatingFilterOperator.fragment.xml +17 -0
  269. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarCustoms/CustomRatingRangeFilter.fragment.xml +8 -0
  270. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarCustoms/FilterBarCustoms.controller.js +42 -0
  271. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarCustoms/FilterBarCustoms.view.xml +70 -0
  272. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarCustoms/localService/RootEntity.json +107 -0
  273. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarCustoms/localService/ValueHelpEntity.js +11 -0
  274. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarCustoms/localService/service.cds +152 -0
  275. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarCustoms/manifest.json +72 -0
  276. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/FilterBarDefault.controller.js +13 -6
  277. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/FilterBarDefault.view.xml +1 -1
  278. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/localService/ChildEntity.json +15 -674
  279. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/localService/MultiChildEntity.json +92 -0
  280. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/localService/RootEntity.json +10 -5
  281. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/localService/service.cds +72 -19
  282. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarSVandAnnotationDefaults/Component.js +36 -0
  283. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarSVandAnnotationDefaults/FilterBarSVandAnnotationDefaults.controller.js +35 -0
  284. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarSVandAnnotationDefaults/FilterBarSVandAnnotationDefaults.view.xml +58 -0
  285. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarSVandAnnotationDefaults/localService/RootEntity.json +102 -0
  286. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarSVandAnnotationDefaults/localService/ValueHelpEntity.js +11 -0
  287. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarSVandAnnotationDefaults/localService/service.cds +115 -0
  288. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarSVandAnnotationDefaults/manifest.json +72 -0
  289. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBarAnnotationDefaults.html +37 -0
  290. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBarCustoms.html +37 -0
  291. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBarSVandAnnotationDefaults.html +37 -0
  292. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/Component.js +35 -0
  293. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/DetailPage.controller.js +5 -0
  294. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/DetailPage.view.xml +15 -0
  295. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/EntryPage.controller.js +43 -0
  296. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/EntryPage.view.xml +79 -0
  297. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/localService/ChildEntity.json +23 -0
  298. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/localService/RootEntity.json +41 -0
  299. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/localService/ValueHelpCurrencyEntity.json +5 -0
  300. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/localService/ValueHelpEntity.js +11 -0
  301. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/localService/service.cds +144 -0
  302. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/manifest.json +96 -0
  303. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/template/Component.js +9 -0
  304. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/template/EntryPage.controller.js +5 -0
  305. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/template/EntryPage.view.xml +14 -0
  306. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidanceFreestyle.html +69 -0
  307. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/i18n/i18n.properties +3 -0
  308. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDefault/MicroChartDefault.controller.js +2 -2
  309. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDynamicSize/MicroChartDynamicSize.controller.js +2 -2
  310. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartHideOnNoData/MicroChartHideOnNoData.controller.js +2 -2
  311. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartShowOnlyChart/MicroChartShowOnlyChart.controller.js +2 -2
  312. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableCustoms/Page.controller.js +4 -3
  313. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableCustoms/Page.view.xml +36 -30
  314. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableDefault/TableDefault.controller.js +2 -2
  315. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableEdit/TableEdit.controller.js +3 -2
  316. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableEdit/TableEdit.view.xml +30 -24
  317. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/basicExtensibility/Component.js +3 -0
  318. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/basicExtensibility/OPExtend.controller.js +17 -2
  319. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/basicExtensibility/localService/ChildEntity.json +9 -0
  320. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/basicExtensibility/localService/service.cds +46 -0
  321. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/basicExtensibility/manifest.json +24 -1
  322. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/basicExtensibility.html +2 -2
  323. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/CustomColumnAdaptation.fragment.xml +1 -1
  324. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/CustomColumnBuildingBlockField.fragment.xml +3 -0
  325. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/CustomColumnButton.fragment.xml +2 -2
  326. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/localService/service.cds +2 -2
  327. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/manifest.json +7 -0
  328. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customElementsOverview.md +4 -0
  329. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFormElement/customFormElementContent/Component.js +35 -0
  330. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFormElement/customFormElementContent/CustomFormElement1.fragment.xml +3 -0
  331. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFormElement/customFormElementContent/CustomFormElement2.fragment.xml +3 -0
  332. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFormElement/customFormElementContent/localService/RootEntity.json +9 -0
  333. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFormElement/customFormElementContent/localService/service.cds +136 -0
  334. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFormElement/customFormElementContent/manifest.json +90 -0
  335. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFormElementContent.html +36 -0
  336. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/{CustomHeaderFacetFormElement.fragment.xml → CustomHeaderFacetBuildingBlockFormElement.fragment.xml} +0 -0
  337. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/{CustomHeaderFacetFormElementEdit.fragment.xml → CustomHeaderFacetBuildingBlockFormElementEdit.fragment.xml} +1 -1
  338. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/CustomHeaderFacetBuildingBlockMicroChart.fragment.xml +10 -0
  339. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/CustomHeaderFacetBuildingBlockMicroChartEdit.fragment.xml +5 -0
  340. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/CustomHeaderFacetDataPointEdit.fragment.xml +2 -2
  341. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/CustomHeaderFacetMicroChartEdit.fragment.xml +2 -2
  342. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/localService/RootEntity.json +6 -1
  343. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/localService/service.cds +30 -2
  344. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/manifest.json +13 -3
  345. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPage/customPageContent/CustomPage.view.xml +1 -2
  346. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/CustomSection.fragment.xml +1 -7
  347. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/CustomSectionFormElementAndTable.fragment.xml +0 -1
  348. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/CustomSectionNavigation.fragment.xml +1 -7
  349. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSectionContent.html +60 -27
  350. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSubSection/customSubSectionContent/Component.js +35 -0
  351. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSubSection/customSubSectionContent/CustomSubSection1.fragment.xml +3 -0
  352. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSubSection/customSubSectionContent/CustomSubSection2.fragment.xml +3 -0
  353. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSubSection/customSubSectionContent/CustomSubSection3.fragment.xml +11 -0
  354. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSubSection/customSubSectionContent/localService/ChildEntity.json +42 -0
  355. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSubSection/customSubSectionContent/localService/RootEntity.json +9 -0
  356. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSubSection/customSubSectionContent/localService/service.cds +139 -0
  357. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSubSection/customSubSectionContent/manifest.json +104 -0
  358. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSubSectionContent.html +36 -0
  359. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/i18n/i18n.properties +3 -0
  360. package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression-AnnotationExpression.spec.js +20 -6
  361. package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression-AnnotationExpression.spec.ts +22 -6
  362. package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression.spec.js +71 -23
  363. package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression.spec.ts +97 -24
  364. package/packages/sap.fe.core/test/sap/fe/core/jest/TransactionHelper.spec.js +624 -0
  365. package/packages/sap.fe.core/test/sap/fe/core/jest/__snapshots__/TemplateConverter.spec.ts.snap +449 -140
  366. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/EditFlow.spec.js +435 -0
  367. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/EditFlow.spec.ts +385 -0
  368. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/KPIManagement.spec.js +229 -2
  369. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/KPIManagement.spec.ts +227 -0
  370. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MessageHandler.spec.js +235 -63
  371. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MessageHandler.spec.ts +162 -40
  372. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MessageHandling.spec.js +115 -0
  373. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MessageHandling.spec.ts +95 -0
  374. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/SideEffects.spec.js +1 -2
  375. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/SideEffects.spec.ts +0 -1
  376. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/ViewState.spec.js +2 -2
  377. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/ViewState.spec.ts +2 -2
  378. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ConverterContext.spec.js +11 -1
  379. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ConverterContext.spec.ts +9 -0
  380. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/HeaderFacet.spec.js +18 -1
  381. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/HeaderFacet.spec.ts +25 -1
  382. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/KPI.spec.js +64 -1
  383. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/KPI.spec.ts +66 -0
  384. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ListReportConverter.spec.js +261 -20
  385. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ListReportConverter.spec.ts +329 -19
  386. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/MetaModelConverter.spec.js +79 -8
  387. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/MetaModelConverter.spec.ts +128 -8
  388. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ObjectPageConverter.spec.js +7 -7
  389. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ObjectPageConverter.spec.ts +6 -6
  390. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/SubSection.spec.js +22 -1
  391. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/SubSection.spec.ts +26 -1
  392. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/Table.spec.js +136 -244
  393. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/Table.spec.ts +156 -376
  394. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/TableStandardActions.spec.js +1267 -0
  395. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/TableStandardActions.spec.ts +2150 -0
  396. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/__snapshots__/KPI.spec.ts.snap +306 -0
  397. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/__snapshots__/MetaModelConverter.spec.ts.snap +57 -0
  398. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/__snapshots__/Table.spec.ts.snap +1 -1
  399. package/packages/sap.fe.core/test/sap/fe/core/jest/data/AnalyticalService.cds +137 -5
  400. package/packages/sap.fe.core/test/sap/fe/core/jest/data/BindingExpression-AnnotationExpression.xml +13 -0
  401. package/packages/sap.fe.core/test/sap/fe/core/jest/data/HeaderFacets.cds +28 -0
  402. package/packages/sap.fe.core/test/sap/fe/core/jest/data/KPI.cds +191 -0
  403. package/packages/sap.fe.core/test/sap/fe/core/jest/data/MetaModelConverterContext.cds +20 -0
  404. package/packages/sap.fe.core/test/sap/fe/core/jest/data/ObjectPageConverter.cds +69 -1
  405. package/packages/sap.fe.core/test/sap/fe/core/jest/data/RoutingServiceFactory.cds +35 -0
  406. package/packages/sap.fe.core/test/sap/fe/core/jest/data/SideEffects.cds +26 -1
  407. package/packages/sap.fe.core/test/sap/fe/core/jest/data/Table.cds +98 -0
  408. package/packages/sap.fe.core/test/sap/fe/core/jest/data/TableNewActionOperationAvailableSticky.cds +22 -0
  409. package/packages/sap.fe.core/test/sap/fe/core/jest/data/TableTooltips.cds +43 -0
  410. package/packages/sap.fe.core/test/sap/fe/core/jest/formatters/ValueFormatters.spec.js +10 -1
  411. package/packages/sap.fe.core/test/sap/fe/core/jest/formatters/ValueFormatters.spec.ts +20 -0
  412. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/AppStartupHelper.spec.js +912 -0
  413. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/AppStartupHelper.spec.ts +981 -0
  414. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/__snapshots__/AppStartupHelper.spec.ts.snap +358 -0
  415. package/packages/sap.fe.core/test/sap/fe/core/jest/manifestmerger/ChangePageConfiguration.spec.js +242 -0
  416. package/packages/sap.fe.core/test/sap/fe/core/jest/manifestmerger/ChangePageConfiguration.spec.ts +297 -0
  417. package/packages/sap.fe.core/test/sap/fe/core/jest/manifestmerger/__snapshots__/ChangePageConfiguration.spec.ts.snap +289 -0
  418. package/packages/sap.fe.core/test/sap/fe/core/jest/services/RoutingServiceFactory.spec.js +292 -366
  419. package/packages/sap.fe.core/test/sap/fe/core/jest/services/RoutingServiceFactory.spec.ts +247 -0
  420. package/packages/sap.fe.core/test/sap/fe/core/jest/services/SideEffectsService.spec.js +14 -1
  421. package/packages/sap.fe.core/test/sap/fe/core/jest/services/SideEffectsService.spec.ts +19 -0
  422. package/packages/sap.fe.core/test/sap/fe/core/qunit/apps/generalTests.json +0 -12
  423. package/packages/sap.fe.core/test/sap/fe/core/relnotes/changes-1.98.json +363 -0
  424. package/packages/sap.fe.macros/src/sap/fe/macros/.library +1 -1
  425. package/packages/sap.fe.macros/src/sap/fe/macros/.theming +1 -1
  426. package/packages/sap.fe.macros/src/sap/fe/macros/Chart.fragment.xml +5 -5
  427. package/packages/sap.fe.macros/src/sap/fe/macros/Chart.metadata-dbg.js +0 -2
  428. package/packages/sap.fe.macros/src/sap/fe/macros/Chart.metadata.js +1 -1
  429. package/packages/sap.fe.macros/src/sap/fe/macros/ChartAPI-dbg.js +1 -1
  430. package/packages/sap.fe.macros/src/sap/fe/macros/ChartAPI.js +1 -1
  431. package/packages/sap.fe.macros/src/sap/fe/macros/ChartDelegate-dbg.js +4 -4
  432. package/packages/sap.fe.macros/src/sap/fe/macros/ChartDelegate.js +1 -1
  433. package/packages/sap.fe.macros/src/sap/fe/macros/CommonHelper-dbg.js +26 -24
  434. package/packages/sap.fe.macros/src/sap/fe/macros/CommonHelper.js +1 -1
  435. package/packages/sap.fe.macros/src/sap/fe/macros/FieldAPI-dbg.js +1 -1
  436. package/packages/sap.fe.macros/src/sap/fe/macros/FieldAPI.js +1 -1
  437. package/packages/sap.fe.macros/src/sap/fe/macros/FieldBaseDelegate-dbg.js +90 -0
  438. package/packages/sap.fe.macros/src/sap/fe/macros/FieldBaseDelegate.js +6 -0
  439. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBar.fragment.xml +7 -6
  440. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBar.metadata-dbg.js +63 -8
  441. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBar.metadata.js +1 -1
  442. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarAPI-dbg.js +42 -4
  443. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarAPI.js +1 -1
  444. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarAPI.ts +76 -1
  445. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarDelegate-dbg.js +49 -6
  446. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarDelegate.js +1 -1
  447. package/packages/sap.fe.macros/src/sap/fe/macros/FilterField-dbg.designtime.js +1 -1
  448. package/packages/sap.fe.macros/src/sap/fe/macros/Form.fragment.xml +21 -17
  449. package/packages/sap.fe.macros/src/sap/fe/macros/Form.metadata-dbg.js +8 -0
  450. package/packages/sap.fe.macros/src/sap/fe/macros/Form.metadata.js +1 -1
  451. package/packages/sap.fe.macros/src/sap/fe/macros/MacroAPI-dbg.js +2 -2
  452. package/packages/sap.fe.macros/src/sap/fe/macros/MacroAPI.js +1 -1
  453. package/packages/sap.fe.macros/src/sap/fe/macros/MacroMetadata-dbg.js +2 -2
  454. package/packages/sap.fe.macros/src/sap/fe/macros/MacroMetadata.js +1 -1
  455. package/packages/sap.fe.macros/src/sap/fe/macros/PhantomUtil-dbg.js +8 -3
  456. package/packages/sap.fe.macros/src/sap/fe/macros/PhantomUtil.js +1 -1
  457. package/packages/sap.fe.macros/src/sap/fe/macros/QuickViewForm.metadata-dbg.js +2 -1
  458. package/packages/sap.fe.macros/src/sap/fe/macros/QuickViewForm.metadata.js +1 -1
  459. package/packages/sap.fe.macros/src/sap/fe/macros/Share.metadata-dbg.js +11 -8
  460. package/packages/sap.fe.macros/src/sap/fe/macros/Share.metadata.js +1 -1
  461. package/packages/sap.fe.macros/src/sap/fe/macros/SizeHelper-dbg.js +168 -35
  462. package/packages/sap.fe.macros/src/sap/fe/macros/SizeHelper.js +1 -1
  463. package/packages/sap.fe.macros/src/sap/fe/macros/Table.fragment.xml +107 -109
  464. package/packages/sap.fe.macros/src/sap/fe/macros/Table.metadata-dbg.js +51 -65
  465. package/packages/sap.fe.macros/src/sap/fe/macros/Table.metadata.js +1 -1
  466. package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI-dbg.js +9 -4
  467. package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI.js +1 -1
  468. package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI.ts +5 -2
  469. package/packages/sap.fe.macros/src/sap/fe/macros/chart/ChartHelper-dbg.js +1 -1
  470. package/packages/sap.fe.macros/src/sap/fe/macros/chart/ChartHelper.js +1 -1
  471. package/packages/sap.fe.macros/src/sap/fe/macros/chart/ChartUtils-dbg.js +2 -1
  472. package/packages/sap.fe.macros/src/sap/fe/macros/chart/ChartUtils.js +1 -1
  473. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldHelper-dbg.js +101 -16
  474. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldHelper.js +1 -1
  475. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldRuntime-dbg.js +273 -71
  476. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldRuntime.js +1 -1
  477. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating-dbg.js +128 -32
  478. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating.js +1 -1
  479. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating.ts +110 -16
  480. package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkContactContent.fragment.xml +11 -4
  481. package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkDelegate-dbg.js +65 -84
  482. package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkDelegate.js +1 -1
  483. package/packages/sap.fe.macros/src/sap/fe/macros/filter/CustomFilter.fragment.xml +5 -0
  484. package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterUtils-dbg.js +2 -2
  485. package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterUtils.js +1 -1
  486. package/packages/sap.fe.macros/src/sap/fe/macros/form/DataFieldCollection.fragment.xml +2 -2
  487. package/packages/sap.fe.macros/src/sap/fe/macros/fpm/CustomFormElement.fragment.xml +5 -1
  488. package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.metadata-dbg.js +72 -12
  489. package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.metadata.js +1 -1
  490. package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.metadata.ts +43 -14
  491. package/packages/sap.fe.macros/src/sap/fe/macros/internal/DataPoint.fragment.xml +13 -2
  492. package/packages/sap.fe.macros/src/sap/fe/macros/internal/DataPoint.metadata-dbg.js +55 -8
  493. package/packages/sap.fe.macros/src/sap/fe/macros/internal/DataPoint.metadata.js +1 -1
  494. package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field.fragment.xml +1 -3
  495. package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field.metadata-dbg.js +38 -65
  496. package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field.metadata.js +1 -1
  497. package/packages/sap.fe.macros/src/sap/fe/macros/{FilterField.fragment.xml → internal/FilterField.fragment.xml} +2 -2
  498. package/packages/sap.fe.macros/src/sap/fe/macros/{FilterField.metadata-dbg.js → internal/FilterField.metadata-dbg.js} +5 -5
  499. package/packages/sap.fe.macros/src/sap/fe/macros/internal/FilterField.metadata.js +6 -0
  500. package/packages/sap.fe.macros/src/sap/fe/macros/internal/SituationsIndicator-dbg.js +96 -0
  501. package/packages/sap.fe.macros/src/sap/fe/macros/internal/SituationsIndicator.js +5 -0
  502. package/packages/sap.fe.macros/src/sap/fe/macros/internal/SituationsIndicator.ts +116 -0
  503. package/packages/sap.fe.macros/src/sap/fe/macros/internal/collectionField/MultiValueFieldDelegate-dbg.js +7 -15
  504. package/packages/sap.fe.macros/src/sap/fe/macros/internal/collectionField/MultiValueFieldDelegate.js +1 -1
  505. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/FieldStructure.fragment.xml +4 -5
  506. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/AmountWithCurrency.fragment.xml +5 -1
  507. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/DataPoint.fragment.xml +5 -1
  508. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/ExpandableText.fragment.xml +1 -0
  509. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/File.fragment.xml +2 -2
  510. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/LabelSemanticKey.fragment.xml +5 -3
  511. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/Link.fragment.xml +11 -3
  512. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/LinkWithQuickViewForm.fragment.xml +1 -0
  513. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/LinkWrapper.fragment.xml +5 -4
  514. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/MdcFieldWithValueHelp.fragment.xml +48 -0
  515. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/ObjectIdentifier.fragment.xml +140 -18
  516. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/ObjectStatus.fragment.xml +1 -0
  517. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/SemanticKeyWithDraftIndicator.fragment.xml +1 -1
  518. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/Text.fragment.xml +6 -3
  519. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/CheckBox.fragment.xml +1 -1
  520. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/DatePicker.fragment.xml +1 -1
  521. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/DateTimePicker.fragment.xml +1 -1
  522. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/File.fragment.xml +14 -4
  523. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/Input.fragment.xml +1 -1
  524. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/InputWithUnit.fragment.xml +3 -3
  525. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/InputWithValueHelp.fragment.xml +2 -2
  526. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/TextArea.fragment.xml +1 -1
  527. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/TimePicker.fragment.xml +1 -1
  528. package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating-dbg.js +25 -9
  529. package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating.js +1 -1
  530. package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating.ts +30 -16
  531. package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Formatter-dbg.js +154 -0
  532. package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Formatter.js +5 -0
  533. package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Formatter.ts +146 -0
  534. package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Runtime-dbg.js +204 -0
  535. package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Runtime.js +5 -0
  536. package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Runtime.ts +215 -0
  537. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/TableDelegate-dbg.js +29 -8
  538. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/TableDelegate.js +1 -1
  539. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelp-dbg.designtime.js +1 -1
  540. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelpContent.fragment.xml +0 -10
  541. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListDialogTable.fragment.xml +2 -2
  542. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListHelper-dbg.js +151 -131
  543. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListHelper.js +1 -1
  544. package/packages/sap.fe.macros/src/sap/fe/macros/library-dbg.js +1 -1
  545. package/packages/sap.fe.macros/src/sap/fe/macros/library-h2-preload.js +24 -23
  546. package/packages/sap.fe.macros/src/sap/fe/macros/library-h2-preload.js.map +1 -1
  547. package/packages/sap.fe.macros/src/sap/fe/macros/library-preload.js +209 -188
  548. package/packages/sap.fe.macros/src/sap/fe/macros/library-preload.js.map +4 -4
  549. package/packages/sap.fe.macros/src/sap/fe/macros/library.js +1 -1
  550. package/packages/sap.fe.macros/src/sap/fe/macros/macroLibrary-dbg.js +7 -4
  551. package/packages/sap.fe.macros/src/sap/fe/macros/macroLibrary.js +1 -1
  552. package/packages/sap.fe.macros/src/sap/fe/macros/manifest.json +9 -9
  553. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle.properties +36 -10
  554. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ar.properties +12 -0
  555. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_bg.properties +12 -0
  556. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ca.properties +12 -0
  557. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_cs.properties +12 -0
  558. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_cy.properties +12 -0
  559. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_da.properties +12 -0
  560. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_de.properties +12 -0
  561. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_el.properties +13 -1
  562. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en.properties +12 -0
  563. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_GB.properties +12 -0
  564. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_US_sappsd.properties +12 -0
  565. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_US_saprigi.properties +12 -0
  566. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_US_saptrc.properties +12 -0
  567. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_es.properties +12 -0
  568. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_es_MX.properties +12 -0
  569. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_et.properties +12 -0
  570. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fi.properties +12 -0
  571. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fr.properties +12 -0
  572. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fr_CA.properties +12 -0
  573. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hi.properties +12 -0
  574. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hr.properties +12 -0
  575. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hu.properties +12 -0
  576. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_id.properties +14 -2
  577. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_it.properties +12 -0
  578. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_iw.properties +12 -0
  579. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ja.properties +12 -0
  580. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_kk.properties +12 -0
  581. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ko.properties +12 -0
  582. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_lt.properties +12 -0
  583. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_lv.properties +12 -0
  584. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ms.properties +12 -0
  585. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_nl.properties +12 -0
  586. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_no.properties +12 -0
  587. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pl.properties +12 -0
  588. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pt.properties +13 -1
  589. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pt_PT.properties +12 -0
  590. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ro.properties +12 -0
  591. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ru.properties +12 -0
  592. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sh.properties +12 -0
  593. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sk.properties +12 -0
  594. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sl.properties +12 -0
  595. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sv.properties +13 -1
  596. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_th.properties +12 -0
  597. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_tr.properties +12 -0
  598. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_uk.properties +12 -0
  599. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_vi.properties +12 -0
  600. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_zh_CN.properties +13 -1
  601. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_zh_TW.properties +12 -0
  602. package/packages/sap.fe.macros/src/sap/fe/macros/resources.json +496 -354
  603. package/packages/sap.fe.macros/src/sap/fe/macros/table/Actions.fragment.xml +53 -57
  604. package/packages/sap.fe.macros/src/sap/fe/macros/table/Column.fragment.xml +1 -0
  605. package/packages/sap.fe.macros/src/sap/fe/macros/table/ColumnContent.fragment.xml +38 -32
  606. package/packages/sap.fe.macros/src/sap/fe/macros/table/QuickFilterContainer-dbg.js +12 -3
  607. package/packages/sap.fe.macros/src/sap/fe/macros/table/QuickFilterContainer.js +1 -1
  608. package/packages/sap.fe.macros/src/sap/fe/macros/table/TableHelper-dbg.js +17 -91
  609. package/packages/sap.fe.macros/src/sap/fe/macros/table/TableHelper.js +1 -1
  610. package/packages/sap.fe.macros/src/sap/fe/macros/table/TableRuntime-dbg.js +4 -1
  611. package/packages/sap.fe.macros/src/sap/fe/macros/table/TableRuntime.js +1 -1
  612. package/packages/sap.fe.macros/src/sap/fe/macros/table/Utils-dbg.js +9 -4
  613. package/packages/sap.fe.macros/src/sap/fe/macros/table/Utils.js +1 -1
  614. package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/ALPTableDelegateBaseMixin-dbg.js +3 -3
  615. package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/ALPTableDelegateBaseMixin.js +1 -1
  616. package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/TableDelegate-dbg.js +198 -71
  617. package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/TableDelegate.js +1 -1
  618. package/packages/sap.fe.macros/src/sap/fe/macros/valuehelp/ValueHelpFilterBar.fragment.xml +4 -4
  619. package/packages/sap.fe.macros/test/sap/fe/macros/designtime/api.json +58 -15
  620. package/packages/sap.fe.macros/test/sap/fe/macros/designtime/apiref/api.json +1 -1
  621. package/packages/sap.fe.macros/test/sap/fe/macros/designtime/codeassistance/Library.jsmeta.json +1 -1
  622. package/packages/sap.fe.macros/test/sap/fe/macros/designtime/codeassistance/Library.xmlmeta.json +1 -1
  623. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartDelegate.spec.js +1 -1
  624. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartDelegate.spec.ts +1 -2
  625. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartHelper.spec.js +1 -1
  626. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartHelper.spec.ts +0 -2
  627. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartMacro.spec.js +1 -1
  628. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartMacro.spec.ts +0 -2
  629. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartUtils.spec.js +1 -1
  630. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartUtils.spec.ts +0 -2
  631. package/packages/sap.fe.macros/test/sap/fe/macros/jest/CollectionField.spec.js +21 -1
  632. package/packages/sap.fe.macros/test/sap/fe/macros/jest/CollectionField.spec.ts +20 -0
  633. package/packages/sap.fe.macros/test/sap/fe/macros/jest/CommonUtils.spec.js +1 -1
  634. package/packages/sap.fe.macros/test/sap/fe/macros/jest/CommonUtils.spec.ts +1 -1
  635. package/packages/sap.fe.macros/test/sap/fe/macros/jest/DatapointMacro.spec.js +19 -1
  636. package/packages/sap.fe.macros/test/sap/fe/macros/jest/DatapointMacro.spec.ts +12 -0
  637. package/packages/sap.fe.macros/test/sap/fe/macros/jest/DelegateUtil.spec.js +2 -2
  638. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldBaseDelegate.spec.js +111 -0
  639. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldMacroWithSemanticKey.spec.js +67 -3
  640. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldMacroWithSemanticKey.spec.ts +81 -1
  641. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterBarDelegate.spec.js +4 -6
  642. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterBarMacro.spec.js +52 -6
  643. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterBarMacro.spec.ts +64 -7
  644. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterField.spec.js +34 -4
  645. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterField.spec.ts +46 -3
  646. package/packages/sap.fe.macros/test/sap/fe/macros/jest/PhantomUtil.spec.js +43 -4
  647. package/packages/sap.fe.macros/test/sap/fe/macros/jest/PhantomUtil.spec.ts +62 -3
  648. package/packages/sap.fe.macros/test/sap/fe/macros/jest/QuickViewForm.spec.js +31 -5
  649. package/packages/sap.fe.macros/test/sap/fe/macros/jest/QuickViewForm.spec.ts +25 -3
  650. package/packages/sap.fe.macros/test/sap/fe/macros/jest/SimpleFieldMacro.spec.js +11 -1
  651. package/packages/sap.fe.macros/test/sap/fe/macros/jest/SimpleFieldMacro.spec.ts +9 -0
  652. package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableMacro.spec.js +40 -0
  653. package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableMacro.spec.ts +35 -0
  654. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/ChartMacro.spec.ts.snap +42 -42
  655. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/CollectionField.spec.ts.snap +49 -7
  656. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/DatapointMacro.spec.ts.snap +27 -11
  657. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FieldMacroDataFieldTypes.spec.ts.snap +50 -44
  658. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FieldMacroWithSemanticKey.spec.ts.snap +146 -56
  659. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FieldMacroWithValueHelp.spec.ts.snap +16 -16
  660. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FilterBarMacro.spec.ts.snap +774 -11
  661. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FilterField.spec.ts.snap +70 -2
  662. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/MicroChart.spec.ts.snap +1 -1
  663. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/PhantomUtil.spec.ts.snap +70 -165
  664. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/QuickViewForm.spec.ts.snap +39 -0
  665. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/SimpleFieldMacro.spec.ts.snap +287 -170
  666. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/TableFieldLabel.spec.ts.snap +369 -213
  667. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/CollectionField.cds +11 -3
  668. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/FieldMacroDataFieldTypes.cds +5 -0
  669. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/FieldMacroWithSemanticKey.cds +17 -12
  670. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/FilterBarMacro.cds +18 -1
  671. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/FilterBarMacroWithDefaultAnnotation.cds +155 -0
  672. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/FilterBarMacroWithSVandAnnotation.cds +155 -0
  673. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/FilterFieldMacro.cds +13 -1
  674. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/QuickViewForm.cds +36 -11
  675. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/TableFieldLabel.cds +22 -1
  676. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/simpleFieldMacro.cds +8 -3
  677. package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldRuntime.spec.js +252 -61
  678. package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldRuntime.spec.ts +277 -67
  679. package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldTemplating.cds +93 -1
  680. package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldTemplating.spec.js +118 -16
  681. package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldTemplating.spec.ts +143 -16
  682. package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/__snapshots__/FieldTemplating.spec.ts.snap +31 -0
  683. package/packages/sap.fe.macros/test/sap/fe/macros/jest/fragments/MyTestFragment.xml +3 -0
  684. package/packages/sap.fe.macros/test/sap/fe/macros/jest/fragments/MyTestSubFragment.xml +10 -0
  685. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/Actions.spec.js +14 -2
  686. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/Actions.spec.ts +13 -1
  687. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/__snapshots__/columnWidth.spec.ts.snap +131 -0
  688. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/columnWidth.spec.js +264 -0
  689. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/columnWidth.spec.ts +244 -0
  690. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/data/columnWidth.cds +238 -0
  691. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/TableDelegate.spec.js +33 -6
  692. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/TableDelegate.spec.ts +40 -2
  693. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/ValueHelpTableDelegate.spec.js +61 -0
  694. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/ValueHelpTableDelegate.spec.ts +64 -0
  695. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/__snapshots__/TableDelegate.spec.ts.snap +1287 -32
  696. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/data/tabledelegate.cds +1 -1
  697. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/index.json +0 -5
  698. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/CommonHelper.qunit.js +284 -159
  699. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FieldHelper.qunit.js +9 -9
  700. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FieldHelperTemplate.qunit.js +2 -2
  701. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormContainerTemplating.qunit.js +1 -0
  702. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormElementTemplating.qunit.js +1 -1
  703. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormTemplating.qunit.js +10 -5
  704. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormTemplatingTs.qunit.js +2 -2
  705. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/MacroMetadata.qunit.js +5 -5
  706. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/MicroChartContainer.qunit.js +29 -0
  707. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/TableHelper.qunit.js +6 -26
  708. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/TableHelperTemplate.qunit.js +3 -8
  709. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/ValueListHelper.qunit.js +402 -18
  710. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/fragments/FilterFieldMacro.fragment.xml +1 -1
  711. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/fragments/FilterFieldMacroMissingID.fragment.xml +1 -1
  712. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/fragments/TableMacro.fragment.xml +0 -2
  713. package/packages/sap.fe.macros/test/sap/fe/macros/relnotes/changes-1.98.json +210 -0
  714. package/packages/sap.fe.navigation/src/sap/fe/navigation/.library +1 -1
  715. package/packages/sap.fe.navigation/src/sap/fe/navigation/.theming +1 -1
  716. package/packages/sap.fe.navigation/src/sap/fe/navigation/NavigationHandler-dbg.js +70 -29
  717. package/packages/sap.fe.navigation/src/sap/fe/navigation/NavigationHandler.js +1 -1
  718. package/packages/sap.fe.navigation/src/sap/fe/navigation/library-dbg.js +1 -1
  719. package/packages/sap.fe.navigation/src/sap/fe/navigation/library-h2-preload.js +2 -2
  720. package/packages/sap.fe.navigation/src/sap/fe/navigation/library-preload.js +6 -5
  721. package/packages/sap.fe.navigation/src/sap/fe/navigation/library-preload.js.map +3 -3
  722. package/packages/sap.fe.navigation/src/sap/fe/navigation/library.js +1 -1
  723. package/packages/sap.fe.navigation/src/sap/fe/navigation/manifest.json +3 -3
  724. package/packages/sap.fe.navigation/src/sap/fe/navigation/resources.json +5 -5
  725. package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/api.json +1 -1
  726. package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/apiref/api.json +1 -1
  727. package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/codeassistance/Library.xmlmeta.json +1 -1
  728. package/packages/sap.fe.navigation/test/sap/fe/navigation/qunit/navigation/NavigationHandlerTest.qunit.js +4 -12
  729. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/.library +1 -1
  730. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/.theming +1 -1
  731. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-dbg.js +1 -1
  732. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-h2-preload.js +2 -2
  733. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-preload.js +2 -2
  734. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library.js +1 -1
  735. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/manifest.json +3 -3
  736. package/packages/sap.fe.placeholder/test/sap/fe/placeholder/designtime/api.json +1 -1
  737. package/packages/sap.fe.placeholder/test/sap/fe/placeholder/designtime/apiref/api.json +1 -1
  738. package/packages/sap.fe.templates/src/sap/fe/templates/.library +1 -1
  739. package/packages/sap.fe.templates/src/sap/fe/templates/.theming +1 -1
  740. package/packages/sap.fe.templates/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate-dbg.js +2 -2
  741. package/packages/sap.fe.templates/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate.js +1 -1
  742. package/packages/sap.fe.templates/src/sap/fe/templates/AnalyticalListPage/manifest.json +2 -2
  743. package/packages/sap.fe.templates/src/sap/fe/templates/AnalyticalListPage/resources.json +2 -2
  744. package/packages/sap.fe.templates/src/sap/fe/templates/ListComponent-dbg.js +1 -1
  745. package/packages/sap.fe.templates/src/sap/fe/templates/ListComponent.js +1 -1
  746. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ExtensionAPI-dbg.js +1 -1
  747. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ExtensionAPI.js +1 -1
  748. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReport.view.xml +2 -1
  749. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReportController-dbg.controller.js +85 -85
  750. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReportController.controller.js +1 -1
  751. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/manifest.json +2 -2
  752. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation-dbg.js +6 -2
  753. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.js +1 -1
  754. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/MassEdit-dbg.js +96 -0
  755. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/MassEdit.js +6 -0
  756. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/Share-dbg.js +36 -21
  757. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/Share.js +1 -1
  758. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/ViewState-dbg.js +53 -31
  759. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/ViewState.js +1 -1
  760. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/resources.json +20 -11
  761. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/AnnotationHelper-dbg.js +20 -0
  762. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/AnnotationHelper.js +1 -1
  763. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/Component-dbg.js +16 -14
  764. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/Component.js +1 -1
  765. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ExtensionAPI-dbg.js +15 -0
  766. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ExtensionAPI.js +1 -1
  767. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +103 -88
  768. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ObjectPageController-dbg.controller.js +99 -72
  769. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +1 -1
  770. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/manifest.json +2 -2
  771. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/Paginator-dbg.js +12 -0
  772. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/Paginator.js +1 -1
  773. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/Share-dbg.js +47 -43
  774. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/Share.js +1 -1
  775. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/ViewState-dbg.js +0 -20
  776. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/ViewState.js +1 -1
  777. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/resources.json +24 -24
  778. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/Actions.fragment.xml +1 -1
  779. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/Section.fragment.xml +24 -5
  780. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/SectionContent.fragment.xml +1 -4
  781. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/SectionContentLazyLoader.fragment.xml +181 -0
  782. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/SectionFormContent.fragment.xml +1 -0
  783. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/SectionMoreFormContent.fragment.xml +1 -0
  784. package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController-dbg.js +133 -123
  785. package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.js +1 -1
  786. package/packages/sap.fe.templates/src/sap/fe/templates/controls/Table.fragment.xml +1 -1
  787. package/packages/sap.fe.templates/src/sap/fe/templates/library-dbg.js +1 -1
  788. package/packages/sap.fe.templates/src/sap/fe/templates/library-h2-preload.js +8 -7
  789. package/packages/sap.fe.templates/src/sap/fe/templates/library-h2-preload.js.map +1 -1
  790. package/packages/sap.fe.templates/src/sap/fe/templates/library-preload.js +34 -32
  791. package/packages/sap.fe.templates/src/sap/fe/templates/library-preload.js.map +4 -4
  792. package/packages/sap.fe.templates/src/sap/fe/templates/library.js +1 -1
  793. package/packages/sap.fe.templates/src/sap/fe/templates/manifest.json +13 -13
  794. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle.properties +24 -1
  795. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_US_sappsd.properties +1 -1
  796. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_US_saprigi.properties +1 -1
  797. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_US_saptrc.properties +1 -1
  798. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_es.properties +8 -8
  799. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_fr.properties +1 -1
  800. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ja.properties +1 -1
  801. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_tr.properties +1 -1
  802. package/packages/sap.fe.templates/src/sap/fe/templates/resources.json +126 -66
  803. package/packages/sap.fe.templates/test/sap/fe/templates/demokit/apps/itelo/webapp/manifest.json +1 -1
  804. package/packages/sap.fe.templates/test/sap/fe/templates/designtime/api.json +1 -1
  805. package/packages/sap.fe.templates/test/sap/fe/templates/designtime/apiref/api.json +1 -1
  806. package/packages/sap.fe.templates/test/sap/fe/templates/designtime/codeassistance/Library.jsmeta.json +1 -1
  807. package/packages/sap.fe.templates/test/sap/fe/templates/designtime/codeassistance/Library.xmlmeta.json +1 -1
  808. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ListReport/overrides/ViewState.spec.js +262 -0
  809. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/HeaderFacet.spec.js +2 -1
  810. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/HeaderFacet.spec.ts +1 -0
  811. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/Sections.spec.js +132 -0
  812. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/Sections.spec.ts +131 -0
  813. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/__snapshots__/HeaderFacet.spec.ts.snap +1 -0
  814. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/__snapshots__/Sections.spec.ts.snap +52 -0
  815. package/packages/sap.fe.templates/test/sap/fe/templates/jest/RootContainer/RootContainerBaseController.spec.js +229 -0
  816. package/packages/sap.fe.templates/test/sap/fe/templates/jest/RootContainer/RootContainerBaseController.spec.ts +157 -0
  817. package/packages/sap.fe.templates/test/sap/fe/templates/jest/RootContainer/__snapshots__/RootContainerBaseController.spec.ts.snap +218 -0
  818. package/packages/sap.fe.templates/test/sap/fe/templates/jest/data/RootContainerBaseController.cds +64 -0
  819. package/packages/sap.fe.templates/test/sap/fe/templates/relnotes/changes-1.98.json +201 -0
  820. package/packages/sap.fe.test/src/sap/fe/test/.library +1 -1
  821. package/packages/sap.fe.test/src/sap/fe/test/.theming +1 -1
  822. package/packages/sap.fe.test/src/sap/fe/test/JourneyRunner-dbg.js +8 -3
  823. package/packages/sap.fe.test/src/sap/fe/test/JourneyRunner.js +1 -1
  824. package/packages/sap.fe.test/src/sap/fe/test/ListReport-dbg.js +8 -3
  825. package/packages/sap.fe.test/src/sap/fe/test/ListReport.js +1 -1
  826. package/packages/sap.fe.test/src/sap/fe/test/ObjectPage-dbg.js +19 -11
  827. package/packages/sap.fe.test/src/sap/fe/test/ObjectPage.js +1 -1
  828. package/packages/sap.fe.test/src/sap/fe/test/TemplatingTestUtils-dbg.js +1 -1
  829. package/packages/sap.fe.test/src/sap/fe/test/TemplatingTestUtils.js +1 -1
  830. package/packages/sap.fe.test/src/sap/fe/test/UI5MockHelper-dbg.js +211 -45
  831. package/packages/sap.fe.test/src/sap/fe/test/UI5MockHelper.js +1 -1
  832. package/packages/sap.fe.test/src/sap/fe/test/UI5MockHelper.ts +103 -8
  833. package/packages/sap.fe.test/src/sap/fe/test/Utils-dbg.js +0 -12
  834. package/packages/sap.fe.test/src/sap/fe/test/Utils.js +1 -1
  835. package/packages/sap.fe.test/src/sap/fe/test/api/BaseAPI-dbg.js +1 -7
  836. package/packages/sap.fe.test/src/sap/fe/test/api/BaseAPI.js +1 -1
  837. package/packages/sap.fe.test/src/sap/fe/test/api/ChartAssertions-dbg.js +4 -4
  838. package/packages/sap.fe.test/src/sap/fe/test/api/ChartAssertions.js +1 -1
  839. package/packages/sap.fe.test/src/sap/fe/test/api/KPICardActions-dbg.js +43 -0
  840. package/packages/sap.fe.test/src/sap/fe/test/api/KPICardActions.js +6 -0
  841. package/packages/sap.fe.test/src/sap/fe/test/api/KPICardAssertions-dbg.js +19 -15
  842. package/packages/sap.fe.test/src/sap/fe/test/api/KPICardAssertions.js +1 -1
  843. package/packages/sap.fe.test/src/sap/fe/test/api/TableAssertions-dbg.js +11 -0
  844. package/packages/sap.fe.test/src/sap/fe/test/api/TableAssertions.js +1 -1
  845. package/packages/sap.fe.test/src/sap/fe/test/builder/KPIBuilder-dbg.js +11 -2
  846. package/packages/sap.fe.test/src/sap/fe/test/builder/KPIBuilder.js +1 -1
  847. package/packages/sap.fe.test/src/sap/fe/test/builder/MdcTableBuilder-dbg.js +22 -0
  848. package/packages/sap.fe.test/src/sap/fe/test/builder/MdcTableBuilder.js +1 -1
  849. package/packages/sap.fe.test/src/sap/fe/test/library-dbg.js +1 -1
  850. package/packages/sap.fe.test/src/sap/fe/test/library-h2-preload.js +5 -4
  851. package/packages/sap.fe.test/src/sap/fe/test/library-h2-preload.js.map +1 -1
  852. package/packages/sap.fe.test/src/sap/fe/test/library-preload.js +37 -23
  853. package/packages/sap.fe.test/src/sap/fe/test/library-preload.js.map +4 -4
  854. package/packages/sap.fe.test/src/sap/fe/test/library.js +1 -1
  855. package/packages/sap.fe.test/src/sap/fe/test/manifest.json +3 -3
  856. package/packages/sap.fe.test/src/sap/fe/test/resources.json +59 -34
  857. package/packages/sap.fe.test/test/sap/fe/test/designtime/api.json +1 -1
  858. package/packages/sap.fe.test/test/sap/fe/test/designtime/apiref/api.json +1 -1
  859. package/packages/sap.fe.test/test/sap/fe/test/designtime/codeassistance/Library.xmlmeta.json +1 -1
  860. package/packages/sap.fe.test/test/sap/fe/test/mockserver/MockServer.js +98965 -71474
  861. package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar.d-dbg.js +0 -8
  862. package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar.d.js +0 -5
  863. package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar.d.ts +0 -0
  864. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/localService/CreditLimitDetails.json +0 -154
  865. package/packages/sap.fe.core/test/sap/fe/core/qunit/TransactionHelper.qunit.js +0 -77
  866. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarHelper-dbg.js +0 -48
  867. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarHelper.js +0 -6
  868. package/packages/sap.fe.macros/src/sap/fe/macros/FilterField.metadata.js +0 -6
  869. package/packages/sap.fe.macros/src/sap/fe/macros/FormWrapper.fragment.xml +0 -26
  870. package/packages/sap.fe.macros/src/sap/fe/macros/massedit/MassEditHandler-dbg.js +0 -718
  871. package/packages/sap.fe.macros/src/sap/fe/macros/massedit/MassEditHandler.js +0 -6
  872. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FilterBarHelper.qunit.js +0 -223
  873. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/HeaderImage.fragment.xml +0 -24
@@ -79,93 +79,108 @@
79
79
  />
80
80
  </uxap:dependents>
81
81
  <template:if test="{converterContext>header/visible}">
82
- <uxap:headerTitle>
83
- <uxap:ObjectPageDynamicHeaderTitle primaryArea="Begin">
84
- <uxap:expandedHeading>
85
- <FlexBox>
86
- <FlexBox visible="{converterContext>header/title/expandedImageVisible}">
87
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeaderImage" type="XML" />
82
+ <template:with path="converterContext>header/avatar" var="avatar">
83
+ <uxap:headerTitle>
84
+ <uxap:ObjectPageDynamicHeaderTitle primaryArea="Begin">
85
+ <uxap:expandedHeading>
86
+ <FlexBox>
87
+ <FlexBox visible="{converterContext>header/title/expandedImageVisible}">
88
+ <Avatar
89
+ class="sapUiSmallMarginEnd"
90
+ src="{avatar>src}"
91
+ initials="{avatar>initials}"
92
+ fallbackIcon="{avatar>fallbackIcon}"
93
+ displayShape="{avatar>displayShape}"
94
+ displaySize="S"
95
+ />
96
+ </FlexBox>
97
+ <template:with path="entityType>@com.sap.vocabularies.UI.v1.HeaderInfo" var="headerInfo">
98
+ <Title
99
+ text="{= OPTemplating.getExpressionForTitle(${headerInfo>@@UI.getConverterContext}, ${viewData>}, ${fullContextPath>@@UI.getDataModelObjectPath}, ${entitySet>@com.sap.vocabularies.Common.v1.DraftRoot})}"
100
+ wrapping="true"
101
+ />
102
+ </template:with>
88
103
  </FlexBox>
89
- <template:with path="entityType>@com.sap.vocabularies.UI.v1.HeaderInfo" var="headerInfo">
90
- <Title
91
- text="{= OPTemplating.getExpressionForTitle(${headerInfo>@@UI.getConverterContext}, ${viewData>}, ${fullContextPath>@@UI.getDataModelObjectPath}, ${entitySet>@com.sap.vocabularies.Common.v1.DraftRoot})}"
92
- wrapping="true"
104
+ </uxap:expandedHeading>
105
+ <uxap:snappedHeading>
106
+ <FlexBox>
107
+ <Avatar
108
+ class="sapUiSmallMarginEnd"
109
+ src="{avatar>src}"
110
+ initials="{avatar>initials}"
111
+ fallbackIcon="{avatar>fallbackIcon}"
112
+ displayShape="{avatar>displayShape}"
113
+ displaySize="S"
93
114
  />
94
- </template:with>
95
- </FlexBox>
96
- </uxap:expandedHeading>
97
- <uxap:snappedHeading>
115
+ <template:with path="entityType>@com.sap.vocabularies.UI.v1.HeaderInfo" var="headerInfo">
116
+ <Title
117
+ text="{= OPTemplating.getExpressionForTitle(${headerInfo>@@UI.getConverterContext}, ${viewData>}, ${fullContextPath>@@UI.getDataModelObjectPath}, ${entitySet>@com.sap.vocabularies.Common.v1.DraftRoot})}"
118
+ wrapping="true"
119
+ />
120
+ </template:with>
121
+ </FlexBox>
122
+ </uxap:snappedHeading>
123
+ <uxap:expandedContent>
98
124
  <FlexBox>
99
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeaderImage" type="XML" />
100
- <template:with path="entityType>@com.sap.vocabularies.UI.v1.HeaderInfo" var="headerInfo">
101
- <Title
102
- text="{= OPTemplating.getExpressionForTitle(${headerInfo>@@UI.getConverterContext}, ${viewData>}, ${fullContextPath>@@UI.getDataModelObjectPath}, ${entitySet>@com.sap.vocabularies.Common.v1.DraftRoot})}"
103
- wrapping="true"
104
- />
105
- </template:with>
125
+ <template:if test="{entityType>@com.sap.vocabularies.UI.v1.HeaderInfo/Description}">
126
+ <Label
127
+ text="{= OPTemplating.getExpressionForDescription(${headerInfo>@@UI.getConverterContext}, ${fullContextPath>@@UI.getDataModelObjectPath})}"
128
+ wrapping="true"
129
+ />
130
+ </template:if>
106
131
  </FlexBox>
107
- </uxap:snappedHeading>
108
- <uxap:expandedContent>
109
- <FlexBox>
110
- <template:if test="{entityType>@com.sap.vocabularies.UI.v1.HeaderInfo/Description}">
111
- <Label
112
- text="{= OPTemplating.getExpressionForDescription(${headerInfo>@@UI.getConverterContext}, ${fullContextPath>@@UI.getDataModelObjectPath})}"
113
- wrapping="true"
114
- />
115
- </template:if>
116
- </FlexBox>
117
- </uxap:expandedContent>
118
- <uxap:snappedContent>
119
- <FlexBox>
120
- <template:if test="{entityType>@com.sap.vocabularies.UI.v1.HeaderInfo/Description}">
121
- <Label
122
- text="{= OPTemplating.getExpressionForDescription(${headerInfo>@@UI.getConverterContext}, ${fullContextPath>@@UI.getDataModelObjectPath})}"
123
- wrapping="true"
124
- />
125
- </template:if>
126
- </FlexBox>
127
- </uxap:snappedContent>
128
- <uxap:content>
129
- <template:if test="{entitySet>@com.sap.vocabularies.Common.v1.DraftRoot}">
130
- <macro:DraftIndicator DraftIndicatorType="IconOnly" class="sapUiTinyMarginBegin sapMTB sapMTBNewFlex" entitySet="{entitySet>}" />
131
- </template:if>
132
- </uxap:content>
133
- <uxap:navigationActions>
134
- <template:if test="{= ${viewData>/viewLevel} > 1}">
135
- <macro:Paginator id="fe::Paginator" />
136
- </template:if>
137
- <!-- Flexible column layout menu-->
138
- <template:if test="{= ${viewData>/fclEnabled} }">
139
- <macro:FlexibleColumnLayoutActions />
140
- </template:if>
141
- </uxap:navigationActions>
142
- <uxap:actions>
143
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.Actions" type="XML" />
144
- </uxap:actions>
145
- <uxap:breadcrumbs>
146
- <Breadcrumbs
147
- unittest:id="BreadcrumbsTest"
148
- visible="{= OP.getVisibleExpressionForBreadcrumbs(${viewData>/}) }"
149
- modelContextChange="._setBreadcrumbLinks(${$source>/})"
150
- id="fe::Breadcrumbs"
132
+ </uxap:expandedContent>
133
+ <uxap:snappedContent>
134
+ <FlexBox>
135
+ <template:if test="{entityType>@com.sap.vocabularies.UI.v1.HeaderInfo/Description}">
136
+ <Label
137
+ text="{= OPTemplating.getExpressionForDescription(${headerInfo>@@UI.getConverterContext}, ${fullContextPath>@@UI.getDataModelObjectPath})}"
138
+ wrapping="true"
139
+ />
140
+ </template:if>
141
+ </FlexBox>
142
+ </uxap:snappedContent>
143
+ <uxap:content>
144
+ <template:if test="{entitySet>@com.sap.vocabularies.Common.v1.DraftRoot}">
145
+ <macro:DraftIndicator DraftIndicatorType="IconOnly" class="sapUiTinyMarginBegin sapMTB sapMTBNewFlex" entitySet="{entitySet>}" />
146
+ </template:if>
147
+ <internal:SituationsIndicator xmlns:internal="sap.fe.macros.internal" entitySet="{entitySet>}" />
148
+ </uxap:content>
149
+ <uxap:navigationActions>
150
+ <template:if test="{= ${viewData>/viewLevel} > 1}">
151
+ <macro:Paginator id="fe::Paginator" />
152
+ </template:if>
153
+ <!-- Flexible column layout menu-->
154
+ <template:if test="{= ${viewData>/fclEnabled} }">
155
+ <macro:FlexibleColumnLayoutActions />
156
+ </template:if>
157
+ </uxap:navigationActions>
158
+ <uxap:actions>
159
+ <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.Actions" type="XML" />
160
+ </uxap:actions>
161
+ <uxap:breadcrumbs>
162
+ <Breadcrumbs
163
+ unittest:id="BreadcrumbsTest"
164
+ visible="{= OP.getVisibleExpressionForBreadcrumbs(${viewData>/}) }"
165
+ modelContextChange="._setBreadcrumbLinks(${$source>/})"
166
+ id="fe::Breadcrumbs"
167
+ >
168
+ </Breadcrumbs>
169
+ </uxap:breadcrumbs>
170
+ </uxap:ObjectPageDynamicHeaderTitle>
171
+ </uxap:headerTitle>
172
+ <template:if test="{converterContext>header/hasContent}">
173
+ <uxap:headerContent>
174
+ <FlexBox
175
+ id="fe::HeaderContentContainer"
176
+ unittest:id="FlexBoxTest"
177
+ dt:designtime="sap/fe/templates/ObjectPage/designtime/FlexBox.designtime"
178
+ wrap="Wrap"
179
+ fitContainer="true"
180
+ alignItems="Stretch"
151
181
  >
152
- </Breadcrumbs>
153
- </uxap:breadcrumbs>
154
- </uxap:ObjectPageDynamicHeaderTitle>
155
- </uxap:headerTitle>
156
- <template:if test="{converterContext>header/hasContent}">
157
- <uxap:headerContent>
158
- <FlexBox
159
- id="fe::HeaderContentContainer"
160
- unittest:id="FlexBoxTest"
161
- dt:designtime="sap/fe/templates/ObjectPage/designtime/FlexBox.designtime"
162
- wrap="Wrap"
163
- fitContainer="true"
164
- alignItems="Stretch"
165
- >
166
- <template:if test="{converterContext>header/avatar}">
167
- <template:with path="converterContext>header/avatar" var="avatar">
168
- <Avatar
182
+ <template:if test="{converterContext>header/avatar}">
183
+ <Avatar
169
184
  unittest:id="AvatarOPHeaderContent"
170
185
  class="sapUiSmallMarginEnd sapUiSmallMarginBottom"
171
186
  src="{avatar>src}"
@@ -174,12 +189,12 @@
174
189
  displayShape="{avatar>displayShape}"
175
190
  displaySize="XL"
176
191
  />
177
- </template:with>
178
- </template:if>
179
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeaderContent" type="XML" />
180
- </FlexBox>
181
- </uxap:headerContent>
182
- </template:if>
192
+ </template:if>
193
+ <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeaderContent" type="XML" />
194
+ </FlexBox>
195
+ </uxap:headerContent>
196
+ </template:if>
197
+ </template:with>
183
198
  </template:if>
184
199
  <uxap:sections>
185
200
  <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.Section" type="XML" />
@@ -8,7 +8,6 @@ sap.ui.define(
8
8
  "sap/fe/core/PageController",
9
9
  "sap/fe/core/controllerextensions/InternalRouting",
10
10
  "./overrides/InternalRouting",
11
- "sap/fe/core/controllerextensions/SideEffects",
12
11
  "sap/fe/core/controllerextensions/EditFlow",
13
12
  "sap/fe/core/controllerextensions/InternalEditFlow",
14
13
  "sap/fe/core/controllerextensions/PageReady",
@@ -42,13 +41,14 @@ sap.ui.define(
42
41
  "sap/ui/model/json/JSONModel",
43
42
  "sap/fe/core/controllerextensions/Paginator",
44
43
  "./overrides/Paginator",
45
- "sap/fe/core/controllerextensions/Placeholder"
44
+ "sap/fe/core/controllerextensions/Placeholder",
45
+ "sap/base/util/UriParameters",
46
+ "sap/fe/core/controllerextensions/MassEdit"
46
47
  ],
47
48
  function(
48
49
  PageController,
49
50
  InternalRouting,
50
51
  InternalRoutingOverride,
51
- SideEffects,
52
52
  EditFlow,
53
53
  InternalEditFlow,
54
54
  PageReady,
@@ -82,7 +82,9 @@ sap.ui.define(
82
82
  JSONModel,
83
83
  Paginator,
84
84
  PaginatorOverride,
85
- Placeholder
85
+ Placeholder,
86
+ UriParameters,
87
+ MassEdit
86
88
  ) {
87
89
  "use strict";
88
90
 
@@ -101,7 +103,6 @@ sap.ui.define(
101
103
  }
102
104
  },
103
105
  placeholder: Placeholder,
104
- sideEffects: SideEffects,
105
106
  editFlow: EditFlow,
106
107
  share: Share.override(ShareOverrides),
107
108
  _editFlow: InternalEditFlow.override(EditFlowOverrides),
@@ -113,7 +114,7 @@ sap.ui.define(
113
114
  getNavigationMode: function() {
114
115
  var bIsStickyEditMode =
115
116
  this._oView.getController().getStickyEditMode && this._oView.getController().getStickyEditMode();
116
- return bIsStickyEditMode ? "explace" : "inplace";
117
+ return bIsStickyEditMode ? "explace" : undefined;
117
118
  }
118
119
  }),
119
120
  viewState: ViewState.override(ViewStateOverrides),
@@ -122,6 +123,7 @@ sap.ui.define(
122
123
  return true;
123
124
  }
124
125
  }),
126
+ massEdit: MassEdit,
125
127
 
126
128
  getExtensionAPI: function(sId) {
127
129
  if (sId) {
@@ -153,7 +155,7 @@ sap.ui.define(
153
155
  });
154
156
  oInternalModelContext.setProperty("batchGroups", this._getBatchGroupsForView());
155
157
  oInternalModelContext.setProperty("errorNavigationSectionFlag", false);
156
- if (oObjectPage.getEnableLazyLoading()) {
158
+ if (!this.getView().getViewData().useNewLazyLoading && oObjectPage.getEnableLazyLoading()) {
157
159
  //Attaching the event to make the subsection context binding active when it is visible.
158
160
  oObjectPage.attachEvent("subSectionEnteredViewPort", this._handleSubSectionEnteredViewPort.bind(this));
159
161
  }
@@ -204,8 +206,8 @@ sap.ui.define(
204
206
  aTables = this._findTables(),
205
207
  oFastCreationRow,
206
208
  oObjectPage = this.byId("fe::ObjectPage"),
207
- oBinding = mParameters.listBinding,
208
209
  oInternalModelContext = that.getView().getBindingContext("internal"),
210
+ oInternalModel = that.getView().getModel("internal"),
209
211
  aBatchGroups = oInternalModelContext.getProperty("batchGroups"),
210
212
  iViewLevel = this.getView().getViewData().viewLevel;
211
213
 
@@ -261,29 +263,37 @@ sap.ui.define(
261
263
  });
262
264
 
263
265
  //Set the Binding for Paginators using ListBinding ID
264
- if (oBinding && iViewLevel > 1) {
265
- if (oBinding.isA("sap.ui.model.odata.v4.ODataListBinding")) {
266
- this.paginator.initialize(oBinding, oContext);
267
- } else {
268
- //if the binding type is not ODataListBinding because of a deeplink navigation or a refresh of the page
269
- // we need to create it
270
- var sContextPath = oBinding.getPath().replace(/\([^\)]*\)*$/, ""); //removing the last tuple
271
- var oBinding = new sap.ui.model.odata.v4.ODataListBinding(
272
- oBinding.oModel,
273
- "",
274
- oBinding.oModel.createBindingContext(sContextPath)
275
- );
276
-
277
- oBinding.getContexts(0);
278
- oBinding.attachEvent("change", function _setListBindingAsync() {
279
- if (oBinding.getContexts().length > 0) {
280
- that.paginator.initialize(oBinding, oContext);
281
- oBinding.detachEvent("change", _setListBindingAsync);
282
- }
283
- });
266
+ if (iViewLevel > 1) {
267
+ var oBinding = mParameters && mParameters.listBinding,
268
+ oPaginatorCurrentContext = oInternalModel.getProperty("/paginatorCurrentContext");
269
+ if (oPaginatorCurrentContext) {
270
+ var oBindingToUse = oPaginatorCurrentContext.getBinding();
271
+ this.paginator.initialize(oBindingToUse, oPaginatorCurrentContext);
272
+ oInternalModel.setProperty("/paginatorCurrentContext", null);
273
+ } else if (oBinding) {
274
+ if (oBinding.isA("sap.ui.model.odata.v4.ODataListBinding")) {
275
+ this.paginator.initialize(oBinding, oContext);
276
+ } else {
277
+ //if the binding type is not ODataListBinding because of a deeplink navigation or a refresh of the page
278
+ // we need to create it
279
+ var sContextPath = oBinding.getPath().replace(/\([^\)]*\)*$/, ""); //removing the last tuple
280
+ oBinding = new sap.ui.model.odata.v4.ODataListBinding(
281
+ oBinding.oModel,
282
+ "",
283
+ oBinding.oModel.createBindingContext(sContextPath)
284
+ );
285
+
286
+ oBinding.getContexts(0);
287
+ oBinding.attachEvent("change", function _setListBindingAsync() {
288
+ if (oBinding.getContexts().length > 0) {
289
+ that.paginator.initialize(oBinding, oContext);
290
+ oBinding.detachEvent("change", _setListBindingAsync);
291
+ }
292
+ });
293
+ }
284
294
  }
285
295
  }
286
- if (oObjectPage.getEnableLazyLoading()) {
296
+ if (!this.getView().getViewData().useNewLazyLoading && oObjectPage.getEnableLazyLoading()) {
287
297
  var aSections = oObjectPage.getSections(),
288
298
  bUseIconTabBar = oObjectPage.getUseIconTabBar(),
289
299
  iSkip = 2,
@@ -296,7 +306,9 @@ sap.ui.define(
296
306
  // In IconTabBar mode keep the second section bound if there is an editable header and we are switching to display mode
297
307
  if (iSkip < 1 || (bUseIconTabBar && (iSection > 1 || (iSection === 1 && !bEditableHeader && !bIsInEditMode)))) {
298
308
  var oSubSection = aSubSections[iSubSection];
299
- oSubSection.setBindingContext(null);
309
+ if (oSubSection.data().isVisibilityDynamic !== "true") {
310
+ oSubSection.setBindingContext(null);
311
+ }
300
312
  }
301
313
  }
302
314
  }
@@ -323,30 +335,37 @@ sap.ui.define(
323
335
  },
324
336
 
325
337
  _getFirstEmptyMandatoryFieldFromSubSection: function(aSubSections) {
326
- for (var subSection = 0; aSubSections && subSection < aSubSections.length; subSection++) {
327
- var aBlocks = aSubSections[subSection].getBlocks();
328
-
329
- for (var block = 0; aBlocks && block < aBlocks.length; block++) {
330
- var aFormContainers;
331
-
332
- if (aBlocks[block].isA("sap.ui.layout.form.Form")) {
333
- aFormContainers = aBlocks[block].getFormContainers();
334
- } else if (
335
- aBlocks[block].getContent &&
336
- aBlocks[block].getContent() &&
337
- aBlocks[block].getContent().isA("sap.ui.layout.form.Form")
338
- ) {
339
- aFormContainers = aBlocks[block].getContent().getFormContainers();
340
- }
341
-
342
- for (var formContainer = 0; aFormContainers && formContainer < aFormContainers.length; formContainer++) {
343
- var aFormElements = aFormContainers[formContainer].getFormElements();
344
-
345
- for (var formElement = 0; aFormElements && formElement < aFormElements.length; formElement++) {
346
- var aFields = aFormElements[formElement].getFields();
338
+ if (aSubSections) {
339
+ for (var subSection = 0; subSection < aSubSections.length; subSection++) {
340
+ var aBlocks = aSubSections[subSection].getBlocks();
341
+
342
+ if (aBlocks) {
343
+ for (var block = 0; block < aBlocks.length; block++) {
344
+ var aFormContainers;
345
+
346
+ if (aBlocks[block].isA("sap.ui.layout.form.Form")) {
347
+ aFormContainers = aBlocks[block].getFormContainers();
348
+ } else if (
349
+ aBlocks[block].getContent &&
350
+ aBlocks[block].getContent() &&
351
+ aBlocks[block].getContent().isA("sap.ui.layout.form.Form")
352
+ ) {
353
+ aFormContainers = aBlocks[block].getContent().getFormContainers();
354
+ }
347
355
 
348
- if (aFields[0].getRequired() && !aFields[0].getValue()) {
349
- return aFields[0];
356
+ if (aFormContainers) {
357
+ for (var formContainer = 0; formContainer < aFormContainers.length; formContainer++) {
358
+ var aFormElements = aFormContainers[formContainer].getFormElements();
359
+ if (aFormElements) {
360
+ for (var formElement = 0; formElement < aFormElements.length; formElement++) {
361
+ var aFields = aFormElements[formElement].getFields();
362
+
363
+ if (aFields[0].getRequired() && !aFields[0].getValue()) {
364
+ return aFields[0];
365
+ }
366
+ }
367
+ }
368
+ }
350
369
  }
351
370
  }
352
371
  }
@@ -380,15 +399,24 @@ sap.ui.define(
380
399
  },
381
400
 
382
401
  _onBackNavigationInDraft: function(oContext) {
383
- CommonUtils.fnProcessDataLossOrDraftDiscardConfirmation(
384
- function() {
385
- history.back();
386
- },
387
- Function.prototype,
388
- oContext,
389
- this.getView().getController(),
390
- false
391
- );
402
+ if (
403
+ this.getAppComponent()
404
+ .getRouterProxy()
405
+ .checkIfBackHasSameContext()
406
+ ) {
407
+ // Back nav will keep the same context --> no need to display the dialog
408
+ history.back();
409
+ } else {
410
+ CommonUtils.fnProcessDataLossOrDraftDiscardConfirmation(
411
+ function() {
412
+ history.back();
413
+ },
414
+ Function.prototype,
415
+ oContext,
416
+ this,
417
+ false
418
+ );
419
+ }
392
420
  },
393
421
 
394
422
  _onAfterBinding: function(oBindingContext, mParameters) {
@@ -397,7 +425,7 @@ sap.ui.define(
397
425
  aTables = this._findTables(),
398
426
  aFormContainers = this._findFormContainers();
399
427
 
400
- this.sideEffects.clearPropertiesStatus();
428
+ this._sideEffects.clearPropertiesStatus();
401
429
 
402
430
  // TODO: this is only a temp solution as long as the model fix the cache issue and we use this additional
403
431
  // binding with ownRequest
@@ -575,8 +603,10 @@ sap.ui.define(
575
603
  });
576
604
  });
577
605
 
578
- // should be called only after binding is ready hence calling it in onAfterBinding
579
- oObjectPage._triggerVisibleSubSectionsEvents();
606
+ if (!this.getView().getViewData().useNewLazyLoading) {
607
+ // should be called only after binding is ready hence calling it in onAfterBinding
608
+ oObjectPage._triggerVisibleSubSectionsEvents();
609
+ }
580
610
  }
581
611
  },
582
612
  onPageReady: function(mParameters) {
@@ -667,7 +697,7 @@ sap.ui.define(
667
697
  icon: ""
668
698
  };
669
699
 
670
- return Promise.resolve(oTitleInfo);
700
+ return oTitleInfo;
671
701
  },
672
702
 
673
703
  _executeHeaderShortcut: function(sId) {
@@ -1089,7 +1119,6 @@ sap.ui.define(
1089
1119
  aPathParts.forEach(function(sPathPart, i) {
1090
1120
  sPath += "/" + sPathPart;
1091
1121
  var oRootViewController = oAppComponent.getRootViewController();
1092
- var oTitleHierarchyCache = oRootViewController.getTitleHierarchyCache();
1093
1122
  var pWaitForTitleHiearchyInfo;
1094
1123
  var sParameterPath = oMetaModel.getMetaPath(sPath);
1095
1124
  var bResultContext = oMetaModel.getObject(sParameterPath + "/@com.sap.vocabularies.Common.v1.ResultContext");
@@ -1098,11 +1127,9 @@ sap.ui.define(
1098
1127
  iSkipParameterized = 1;
1099
1128
  return;
1100
1129
  }
1101
- if (!oTitleHierarchyCache[sPath]) {
1102
- pWaitForTitleHiearchyInfo = oRootViewController.addNewEntryInCacheTitle(sPath, oAppComponent);
1103
- } else {
1104
- pWaitForTitleHiearchyInfo = Promise.resolve(oTitleHierarchyCache[sPath]);
1105
- }
1130
+
1131
+ pWaitForTitleHiearchyInfo = oRootViewController.getTitleInfoFromPath(sPath);
1132
+
1106
1133
  pWaitForTitleHiearchyInfo
1107
1134
  .then(function(oTitleHiearchyInfo) {
1108
1135
  var idx = i - iSkipParameterized,
@@ -3,4 +3,4 @@
3
3
  (c) Copyright 2009-2021 SAP SE. All rights reserved
4
4
 
5
5
  */
6
- sap.ui.define(["sap/fe/core/PageController","sap/fe/core/controllerextensions/InternalRouting","./overrides/InternalRouting","sap/fe/core/controllerextensions/SideEffects","sap/fe/core/controllerextensions/EditFlow","sap/fe/core/controllerextensions/InternalEditFlow","sap/fe/core/controllerextensions/PageReady","sap/fe/core/controllerextensions/InternalIntentBasedNavigation","sap/fe/core/controllerextensions/IntentBasedNavigation","./overrides/IntentBasedNavigation","sap/base/Log","sap/base/util/merge","sap/fe/core/CommonUtils","sap/fe/navigation/SelectionVariant","sap/fe/macros/table/Utils","sap/m/MessageBox","sap/fe/core/BusyLocker","sap/m/Link","sap/fe/macros/chart/ChartRuntime","sap/fe/templates/ObjectPage/ExtensionAPI","sap/ui/core/mvc/OverrideExecution","sap/fe/core/controllerextensions/ViewState","./overrides/ViewState","sap/fe/templates/RootContainer/overrides/EditFlow","sap/fe/core/helpers/ModelHelper","sap/fe/core/controllerextensions/Routing","sap/m/InstanceManager","sap/fe/core/controllerextensions/MessageHandler","./overrides/MessageHandler","sap/fe/core/controllerextensions/Share","./overrides/Share","sap/fe/macros/DelegateUtil","sap/fe/macros/CommonHelper","sap/fe/templates/TableScroller","sap/ui/model/json/JSONModel","sap/fe/core/controllerextensions/Paginator","./overrides/Paginator","sap/fe/core/controllerextensions/Placeholder"],function(P,I,a,S,E,b,c,d,e,f,L,m,C,g,T,M,B,h,j,k,O,V,l,n,o,R,p,q,r,s,t,D,u,v,J,w,x,y){"use strict";return P.extend("sap.fe.templates.ObjectPage.ObjectPageController",{metadata:{methods:{getExtensionAPI:{"public":true,"final":true},onPageReady:{"public":true,"final":false,overrideExecution:O.After}}},placeholder:y,sideEffects:S,editFlow:E,share:s.override(t),_editFlow:b.override(n),_routing:I.override(a),paginator:w.override(x),messageHandler:q.override(r),intentBasedNavigation:e.override(f),_intentBasedNavigation:d.override({getNavigationMode:function(){var i=this._oView.getController().getStickyEditMode&&this._oView.getController().getStickyEditMode();return i?"explace":"inplace";}}),viewState:V.override(l),pageReady:c.override({isContextExpected:function(){return true;}}),getExtensionAPI:function(i){if(i){this.mCustomSectionExtensionAPIs=this.mCustomSectionExtensionAPIs||{};if(!this.mCustomSectionExtensionAPIs[i]){this.mCustomSectionExtensionAPIs[i]=new k(this,i);}return this.mCustomSectionExtensionAPIs[i];}else{if(!this.extensionAPI){this.extensionAPI=new k(this);}return this.extensionAPI;}},onInit:function(){P.prototype.onInit.apply(this);var i=this.byId("fe::ObjectPage");var z=this.getView().getBindingContext("internal");z.setProperty("externalNavigationContext",{"page":true});z.setProperty("relatedApps",{visibility:false,items:null});z.setProperty("batchGroups",this._getBatchGroupsForView());z.setProperty("errorNavigationSectionFlag",false);if(i.getEnableLazyLoading()){i.attachEvent("subSectionEnteredViewPort",this._handleSubSectionEnteredViewPort.bind(this));}},onExit:function(){var i=this;if(this.mCustomSectionExtensionAPIs){Object.keys(this.mCustomSectionExtensionAPIs).forEach(function(F){i.mCustomSectionExtensionAPIs[F]&&i.mCustomSectionExtensionAPIs[F].destroy();});delete this.mCustomSectionExtensionAPIs;}this.extensionAPI&&this.extensionAPI.destroy();delete this.extensionAPI;var z=this.getView().byId("fe::FooterBar::MessageButton"),A=z?z.oMessagePopover:null;if(A&&A.isOpen()){A.close();}},_getTableBinding:function(i){return i&&i.getRowBinding();},onBeforeRendering:function(){P.prototype.onBeforeRendering.apply(this);},onAfterRendering:function(i){var z=this;this.getView().getModel("sap.fe.i18n").getResourceBundle().then(function(A){z.oResourceBundle=A;}).catch(function(A){L.error("Error while retrieving the resource bundle",A);});},_onBeforeBinding:function(z,A){var F=this,G=this._findTables(),H,K=this.byId("fe::ObjectPage"),N=A.listBinding,Q=F.getView().getBindingContext("internal"),U=Q.getProperty("batchGroups"),W=this.getView().getViewData().viewLevel;U.push("$auto");if(A.bDraftNavigation!==true){this._closeSideContent();}if(K.getBindingContext()&&K.getBindingContext().hasPendingChanges()&&!U.some(K.getBindingContext().getModel().hasPendingChanges.bind(K.getBindingContext().getModel()))){K.getBindingContext().getBinding().resetChanges();}for(var i=0;i<G.length;i++){H=G[i].getCreationRow();if(H){H.setBindingContext(null);}}var X=function(k1){if(!K.isFirstRendering()&&!A.bPersistOPScroll){K.setSelectedSection(null);}};K.attachEventOnce("modelContextChange",X);var Y={onAfterRendering:X};K.addEventDelegate(Y,F);this.pageReady.attachEventOnce("pageReady",function(k1){K.removeEventDelegate(Y);});if(N&&W>1){if(N.isA("sap.ui.model.odata.v4.ODataListBinding")){this.paginator.initialize(N,z);}else{var Z=N.getPath().replace(/\([^\)]*\)*$/,"");var N=new sap.ui.model.odata.v4.ODataListBinding(N.oModel,"",N.oModel.createBindingContext(Z));N.getContexts(0);N.attachEvent("change",function k1(){if(N.getContexts().length>0){F.paginator.initialize(N,z);N.detachEvent("change",k1);}});}}if(K.getEnableLazyLoading()){var $=K.getSections(),_=K.getUseIconTabBar(),a1=2,b1=K.getModel("ui").getProperty("/editMode")==="Editable",c1=this.getView().getViewData().editableHeaderContent;for(var d1=0;d1<$.length;d1++){var e1=$[d1];var f1=e1.getSubSections();for(var g1=0;g1<f1.length;g1++,a1--){if(a1<1||(_&&(d1>1||(d1===1&&!c1&&!b1)))){var h1=f1[g1];h1.setBindingContext(null);}}}}if(this.placeholder.isPlaceholderEnabled()&&A.showPlaceholder){var i1=this.getView();var j1=i1.getParent().oContainer.getParent();if(j1){j1.showPlaceholder({});}}},_getFirstClickableElement:function(i){var F;var A=i.getHeaderTitle()&&i.getHeaderTitle().getActions();if(A&&A.length){F=A.find(function(z){return z.getVisible()&&z.getEnabled();});}return F;},_getFirstEmptyMandatoryFieldFromSubSection:function(i){for(var z=0;i&&z<i.length;z++){var A=i[z].getBlocks();for(var F=0;A&&F<A.length;F++){var G;if(A[F].isA("sap.ui.layout.form.Form")){G=A[F].getFormContainers();}else if(A[F].getContent&&A[F].getContent()&&A[F].getContent().isA("sap.ui.layout.form.Form")){G=A[F].getContent().getFormContainers();}for(var H=0;G&&H<G.length;H++){var K=G[H].getFormElements();for(var N=0;K&&N<K.length;N++){var Q=K[N].getFields();if(Q[0].getRequired()&&!Q[0].getValue()){return Q[0];}}}}}return undefined;},_updateFocusInEditMode:function(i){var z=this.byId("fe::ObjectPage");var A=this._getFirstEmptyMandatoryFieldFromSubSection(i);var F;if(A){F=A.content.getContentEdit()[0];}else{F=z._getFirstEditableInput()||this._getFirstClickableElement(z);}if(F){setTimeout(function(){F.focus();},0);}},_handleSubSectionEnteredViewPort:function(i){var z=i.getParameter("subSection");z.setBindingContext(undefined);},_onBackNavigationInDraft:function(i){C.fnProcessDataLossOrDraftDiscardConfirmation(function(){history.back();},Function.prototype,i,this.getView().getController(),false);},_onAfterBinding:function(i,z){var A=this.byId("fe::ObjectPage"),F=this,G=this._findTables(),H=this._findFormContainers();this.sideEffects.clearPropertiesStatus();i=A.getBindingContext();var K=[];A.getSections().forEach(function(_){_.getSubSections().forEach(function(a1){K=C.getIBNActions(a1,K);});});H.forEach(function(_){var a1,b1=A.getModel("internal"),c1="/pages/"+F.getView().getId(),d1="controls/"+F.getView().getLocalId(_.getId()),e1="showDetails";if(_.getModel("internal")===undefined){_.setModel(b1,"internal");_.setBindingContext(b1.createBindingContext(c1+"/"+d1),"internal");_.bindElement({path:"",model:"internal"});}else{_.bindElement({path:d1,model:"internal"});}a1=_.getBindingContext("internal");a1.setProperty(e1,false);});G.forEach(function(_){var a1=_.getBindingContext("internal");a1.setProperty("creationRowFieldValidity",{});a1.setProperty("creationRowCustomValidity",{});K=C.getIBNActions(_,K);var b1=_.getRowBinding();if(b1){if(o.isStickySessionSupported(b1.getModel().getMetaModel())){b1.removeCachesAndMessages("");}}var c1=JSON.parse(u.parseCustomData(D.getCustomData(_,"operationAvailableMap"))),d1=_.getSelectedContexts();C.setActionEnablement(a1,c1,d1);});C.getSemanticTargetsFromPageModel(F,"_pageModel");var N=A.getHeaderTitle();var Q=[];Q=C.getIBNActions(N,Q);K=K.concat(Q);C.updateDataFieldForIBNButtonsVisibility(K,this.getView());var U,W;function X(_,a1){var b1=_.getCreationRow(),c1,d1;if(b1){W.then(function(){if(b1.getModel("ui").getProperty("/isEditable")){c1=U.bindList(a1.getPath(),a1.getContext(),[],[],{$$updateGroupId:"doNotSubmit",$$groupId:"doNotSubmit"});c1.refreshInternal=function(){};d1=c1.create();b1.setBindingContext(d1);d1.created().catch(function(){L.trace("transient fast creation context deleted");});}}).catch(function(e1){L.error("Error while computing the final UI state",e1);});}}function Y(_){var $=F._getTableBinding(_),a1=function(){X(_,$);};if(!$){L.error("Expected binding missing for table: "+_.getId());return;}if($.oContext){a1();}else{var b1=function(){if($.oContext){a1();$.detachChange(b1);}};$.attachChange(b1);}}if(i){U=i.getModel();W=this._editFlow.computeEditMode(i);if(i.getBinding().oCache){F._updateRelatedApps();}else{var Z=function(){F._updateRelatedApps();i.getBinding().detachDataReceived(Z);};i.getBinding().attachDataReceived(Z);}var $=(i.getBinding&&i.getBinding())||i;$.attachEvent("patchSent",this.editFlow.handlePatchSent,this);$.attachEvent("patchCompleted",this.editFlow.handlePatchCompleted,this);G.forEach(function(_){T.whenBound(_).then(Y).catch(function(a1){L.error("Error while waiting for the table to be bound",a1);});});A._triggerVisibleSubSectionsEvents();}},onPageReady:function(i){var z=this;var A=this.getView();var F=A.getBindingContext("internal");var G=A.getBindingContext();if(G){var H=o.isStickySessionSupported(G.getModel().getMetaModel());if(!H){var K=C.getAppComponent(A);K.getShellServices().setBackNavigation(z._onBackNavigationInDraft.bind(z,G));}}this.getAppComponent().getAppStateHandler().applyAppState();if(i.forceFocus){var N=this.byId("fe::ObjectPage");var Q=N.getModel("ui").getProperty("/editMode")==="Display";var U=N.getSections().filter(function(Y){return Y.getVisible()===true;});N.setSelectedSection(U[0].getId());if(Q){var W=this._getFirstClickableElement(N);if(W){W.focus();}}else{var X;if(A.getViewData().sectionLayout==="Tabs"){X=U[0].getSubSections();}else{X=U.map(function(Y){return Y.getSubSections();}).flat();}this._updateFocusInEditMode(X);}}F.setProperty("errorNavigationSectionFlag",false);this._checkDataPointTitleForExternalNavigation();},getStickyEditMode:function(){var i=this.oView.getBindingContext&&this.oView.getBindingContext(),z=false;if(i){var A=o.isStickySessionSupported(i.getModel().getMetaModel());if(A){z=this.oView.getModel("ui").getProperty("/isEditable");}}return z;},_getObjectPageLayoutControl:function(){return this.byId("fe::ObjectPage");},_getPageTitleInformation:function(){var i=this.byId("fe::ObjectPage");var z=i.getCustomData().find(function(F){return F.getKey()==="ObjectPageSubtitle";});var A={title:i.data("ObjectPageTitle")||"",subtitle:z&&z.getValue(),intent:"",icon:""};return Promise.resolve(A);},_executeHeaderShortcut:function(i){var z=this.getView().getId()+"--"+i,A=this.byId("fe::ObjectPage").getHeaderTitle().getActions().find(function(F){return F.getId()===z;});C.fireButtonPress(A);},_executeFooterShortcut:function(i){var z=this.getView().getId()+"--"+i,A=this.byId("fe::ObjectPage").getFooter().getContent().find(function(F){return F.getMetadata().getName()==="sap.m.Button"&&F.getId()===z;});C.fireButtonPress(A);},_executeTabShortCut:function(i){var z=this.byId("fe::ObjectPage"),A=z.indexOfSection(this.byId(z.getSelectedSection())),F=z.getSections(),G=F.length-1,H=i.oSource.getCommand(),K;if(A!==-1&&G>0){if(H==="NextTab"){if(A<=G-1){K=F[++A];}}else{if(A!==0){K=F[--A];}}if(K){z.setSelectedSection(K);K.focus();}}},_getFooterVisibility:function(i){var z=this.getView().getBindingContext("internal");var A=this.getView().getId();z.setProperty("messageFooterContainsErrors",false);sap.ui.getCore().getMessageManager().getMessageModel().getData().forEach(function(F){if(F.validation&&F.type==="Error"&&F.target.indexOf(A)>-1){z.setProperty("messageFooterContainsErrors",true);}});},_showMessagePopover:function(i,z){if(i){L.error(i);}var A=this;var F=A.getView().byId("fe::FooterBar::MessageButton"),G=F.oMessagePopover,H=G.getBinding("items");if(H.getLength()>0&&!G.isOpen()){F.setVisible(true);setTimeout(function(){G.openBy(F);},0);}return z;},_editDocument:function(i){var z=this.getView().getModel("ui"),A={prepareOnEdit:this.getView().getViewData().prepareOnEdit};B.lock(z);return this.editFlow.editDocument.apply(this.editFlow,[i,A]).finally(function(){B.unlock(z);});},_saveDocument:function(i){var z=this,A=this.getView().getModel("ui"),W=[];var F=false;B.lock(A);this._findTables().forEach(function(G){var H=z._getTableBinding(G);var K={creationMode:G.data("creationMode"),creationRow:G.getCreationRow(),createAtEnd:G.data("createAtEnd")==="true"};var N=K.creationRow&&K.creationRow.getBindingContext()&&Object.keys(K.creationRow.getBindingContext().getObject()).length>1;if(N){K.bSkipSideEffects=true;F=true;W.push(z.editFlow.createDocument(H,K).then(function(){return H;}));}});return Promise.all(W).then(function(G){var H={bExecuteSideEffectsOnError:F,bindings:G};return z.editFlow.saveDocument(i,H).catch(z._showMessagePopover.bind(z)).finally(function(){if(B.isLocked(A)){B.unlock(A);}});});},_cancelDocument:function(i,z){z.cancelButton=this.getView().byId(z.cancelButton);return this.editFlow.cancelDocument(i,z);},_applyDocument:function(i){var z=this;return this.editFlow.applyDocument(i).catch(z._showMessagePopover.bind(z));},_updateRelatedApps:function(){var i=this.byId("fe::ObjectPage");if(C.resolveStringtoBoolean(i.data("showRelatedApps"))){C.updateRelatedAppsDetails(i);}},_findTableInSubSection:function(i,z,A){var F=[];for(var G=0;G<i.length;G++){var H=i[G].getContent instanceof Function&&i[G].getContent();if(H&&H.isA&&H.isA("sap.ui.layout.DynamicSideContent")){H=H.getMainContent instanceof Function&&H.getMainContent();if(H&&H.length>0){H=H[0];}}if(H&&H.isA&&H.isA("sap.fe.macros.TableAPI")){H=H.getContent instanceof Function&&H.getContent();if(H&&H.length>0){H=H[0];}}if(H&&H.isA&&H.isA("sap.ui.mdc.Table")){A.push(H);F.push({"table":H,"gridTable":H.getType().isA("sap.ui.mdc.table.GridTableType")});}}if(F.length===1&&i.length===1&&F[0].gridTable&&!z.hasStyleClass("sapUxAPObjectPageSubSectionFitContainer")){z.addStyleClass("sapUxAPObjectPageSubSectionFitContainer");}else{if(F&&!z.hasStyleClass("sapUxAPObjectPageSubSectionFitContainer")){F.forEach(function(K){if(K.gridTable){K.table.getType().setRowCount(null);}});}}},_getAllSubSections:function(){var i=this.byId("fe::ObjectPage"),z=[];i.getSections().forEach(function(A){z=z.concat(A.getSubSections());});return z;},_getAllBlocks:function(){var i=[];this._getAllSubSections().forEach(function(z){i=i.concat(z.getBlocks());});return i;},_findFormContainers:function(){var z=this._getAllSubSections(),F=[];function _(A){for(var i=0;i<A.length;i++){var G=A[i].getContent instanceof Function&&A[i].getContent();if(G&&G.isA&&G.isA("sap.ui.layout.DynamicSideContent")){G=G.getMainContent instanceof Function&&G.getMainContent();if(G&&G.length>0){G=G[0];}}if(G&&G.isA&&G.isA("sap.ui.layout.form.Form")&&G.getFormContainers instanceof Function){F=F.concat(G.getFormContainers());}}}for(var i=0;i<z.length;i++){_(z[i].getBlocks());_(z[i].getMoreBlocks());}return F;},_findTables:function(){var i=this._getAllSubSections(),z=[];for(var A=0;A<i.length;A++){this._findTableInSubSection(i[A].getBlocks(),i[A],z);this._findTableInSubSection(i[A].getMoreBlocks(),i[A],z);}return z;},_closeSideContent:function(){this._getAllBlocks().forEach(function(i){var z=i.getContent instanceof Function&&i.getContent();if(z&&z.isA&&z.isA("sap.ui.layout.DynamicSideContent")){if(z.setShowSideContent instanceof Function){z.setShowSideContent(false);}}});},_getChartContextData:function(i,z){var A=i.getObject(),F=[A];if(i&&z){if(A[z]){F=A[z];delete A[z];F.push(A);}}return F;},_scrollTablesToRow:function(z){if(this._findTables&&this._findTables().length>0){var A=this._findTables();for(var i=0;i<A.length;i++){v.scrollTableToRow(A[i],z);}}},_mergeMultipleContexts:function(i,z,A){var F=this;var G=[],H=[],K,N,Q,U,W,X,Y;Y=i.getPath();K=i&&i.getModel()&&i.getModel().getMetaModel();U=K&&K.getMetaPath(Y).replace(/^\/*/,"");if(z&&z.length){N=z[0];W=N.getPath();Q=K&&K.getMetaPath(W).replace(/^\/*/,"");z.map(function(Z){if(A){var $=F._getChartContextData(Z,A);if($){G=$.map(function($){return{contextData:$,entitySet:U+"/"+A};});}}else{G.push({contextData:Z.getObject(),entitySet:Q});}});}H.push({contextData:i.getObject(),entitySet:U});H=C.removeSensitiveData(H,K);X=C.addPageContextToSelectionVariant(new g(),H,F.getView());G=C.removeSensitiveData(G,K);return{selectionVariant:X,attributes:G};},_getBatchGroupsForView:function(){var i=this,z=i.getView().getViewData(),A=z.controlConfiguration,F=A&&Object.keys(A),G=["$auto.Heroes","$auto.Decoration","$auto.Workers"];if(F&&F.length>0){F.forEach(function(K){var H=A[K];if(H.requestGroupId==="LongRunners"){G.push("$auto.LongRunners");}});}return G;},_setBreadcrumbLinks:function(z){var A=z.getBindingContext();var F=this.getAppComponent();if(A){var N=A.getPath(),G=N.split("/"),H="",K=F.getMetaModel(),Q=0;G.shift();G.splice(-1,1);G.forEach(function(U,i){H+="/"+U;var W=F.getRootViewController();var X=W.getTitleHierarchyCache();var Y;var Z=K.getMetaPath(H);var $=K.getObject(Z+"/@com.sap.vocabularies.Common.v1.ResultContext");if($){Q=1;return;}if(!X[H]){Y=W.addNewEntryInCacheTitle(H,F);}else{Y=Promise.resolve(X[H]);}Y.then(function(_){var a1=i-Q,b1=z.getLinks()[a1]?z.getLinks()[a1]:new h();b1.setText(_.subtitle||_.title);b1.setHref(_.intent);if(!z.getLinks()[a1]){z.addLink(b1);}}).catch(function(_){L.error("Error while computing the title hierarchy",_);});});}},_checkDataPointTitleForExternalNavigation:function(){var i=this.getView();var z=i.getBindingContext("internal");var A=C.getHeaderFacetItemConfigForExternalNavigation(i.getViewData(),this.getAppComponent().getRoutingService().getOutbounds());var F=this.getAppComponent().getShellServices();var G=i&&i.getBindingContext();z.setProperty("isHeaderDPLinkVisible",{});if(G){G.requestObject().then(function(Q){N(A,Q);}).catch(function(Q){L.error("Cannot retrieve the links from the shell service",Q);});}function H(Q){L.error(Q);}function K(Q){var U=this.id;if(Q&&Q.length===1&&Q[0].supported){z.setProperty("isHeaderDPLinkVisible/"+U,true);}}function N(A,Q){for(var U in A){var W=A[U];var X={};var Y=i.byId(U);if(!Y){continue;}var Z=Y.getBindingContext();var $=Z&&Z.getObject();var _=m({},Q,$);if(W.semanticObjectMapping){var a1=W.semanticObjectMapping;for(var b1 in a1){var c1=a1[b1];var d1=c1["LocalProperty"]["$PropertyPath"];var e1=c1["SemanticObjectProperty"];if(d1!==e1){if(_.hasOwnProperty(d1)){var f1={};f1[e1]=_[d1];_=m({},_,f1);delete _[d1];}}}}if(_){for(var g1 in _){if(g1.indexOf("_")!==0&&g1.indexOf("odata.context")===-1){X[g1]=_[g1];}}}F.isNavigationSupported([{target:{semanticObject:W.semanticObject,action:W.action},params:X}]).then(K.bind({id:U})).catch(H);}}},handlers:{onTableContextChange:function(z){var A=this;var F=z.getSource();var G;this._findTables().some(function(_){if(_.getRowBinding()===F){G=_;return true;}return false;});var H=this._editFlow.getCurrentActionPromise();if(H){var K;if(G.getType().getMetadata().isA("sap.ui.mdc.table.GridTableType")){K=F.getContexts(0);}else{K=F.getCurrentContexts();}if(!K[0]){return;}H.then(function(Q){if(!Q||Q.controlId!==G.sId){return;}var U=Q.oData;var W=Q.keys;var X=-1;K.find(function($,i){var _=$.getObject();var a1=W.every(function(b1){return _[b1]===U[b1];});if(a1){X=i;}return a1;});if(X!==-1){var Y=p.getOpenDialogs();var Z=Y.length>0?Y[0]:null;if(Z){Z.attachEventOnce("afterClose",function(){G.focusRow(X,true);});}else{G.focusRow(X,true);}A._editFlow.deleteCurrentActionPromise();}}).catch(function(i){L.error("An error occurs while scrolling to the newly created Item: "+i);});}var N=A.getView().byId("fe::FooterBar::MessageButton");N.fireModelContextChange();},onCallAction:function(i,A,z){var F=i.getController();var G=F;return F.editFlow.invokeAction(A,z).then(G._showMessagePopover.bind(G,undefined)).catch(G._showMessagePopover.bind(G));},onDataPointTitlePressed:function(i,z,A,F,G){A=typeof A==="string"?JSON.parse(A):A;var H=A[F],K=C.getSemanticObjectMapping(H),N=z.getBindingContext(),Q=N.getModel().getMetaModel().getMetaPath(N.getPath()),U=i._getChartContextData(N,G),W;U=U.map(function(Y){return{data:Y,metaPath:Q+(G?"/"+G:"")};});if(H&&H.parameters){var X=H.parameters&&i._intentBasedNavigation.getOutboundParams(H.parameters);if(Object.keys(X).length>0){W=X;}}if(H&&H.semanticObject&&H.action){i._intentBasedNavigation.navigate(H.semanticObject,H.action,{navigationContexts:U,semanticObjectMapping:K,additionalNavigationParameters:W});}},onChevronPressNavigateOutBound:function(i,z,A,F){return i._intentBasedNavigation.onChevronPressNavigateOutBound(i,z,A,F);},onNavigateChange:function(i){this.getExtensionAPI().updateAppState();this.bSectionNavigated=true;var z=this.getView().getBindingContext("internal");var A=this.byId("fe::ObjectPage");if(A.getModel("ui").getProperty("/editMode")!=="Display"&&this.getView().getViewData().sectionLayout==="Tabs"&&z.getProperty("errorNavigationSectionFlag")===false){var F=i.getParameter("subSection");this._updateFocusInEditMode([F]);}},onVariantSelected:function(i){this.getExtensionAPI().updateAppState();},onVariantSaved:function(i){var z=this;setTimeout(function(){z.getExtensionAPI().updateAppState();},500);},navigateToSubSection:function(i,z){var A=typeof z==="string"?JSON.parse(z):z,F=i.getView().byId("fe::ObjectPage"),G,H;if(A.sectionId){G=i.getView().byId(A.sectionId);H=A.subSectionId?i.getView().byId(A.subSectionId):G&&G.getSubSections()&&G.getSubSections()[0];}else if(A.subSectionId){H=i.getView().byId(A.subSectionId);G=H&&H.getParent();}if(!G||!H||!G.getVisible()||!H.getVisible()){i.getView().getModel("sap.fe.i18n").getResourceBundle().then(function(K){var N=C.getTranslatedText("C_ROUTING_NAVIGATION_DISABLED_TITLE",K,null,i.getView().getViewData().entitySet);L.error(N);M.error(N);}).catch(function(K){L.error(K);});}else{F.scrollToSection(H.getId());F.fireNavigate({section:G,subSection:H});}},onChartSelectionChanged:function(i){j.fnUpdateChart(i);}}});});
6
+ sap.ui.define(["sap/fe/core/PageController","sap/fe/core/controllerextensions/InternalRouting","./overrides/InternalRouting","sap/fe/core/controllerextensions/EditFlow","sap/fe/core/controllerextensions/InternalEditFlow","sap/fe/core/controllerextensions/PageReady","sap/fe/core/controllerextensions/InternalIntentBasedNavigation","sap/fe/core/controllerextensions/IntentBasedNavigation","./overrides/IntentBasedNavigation","sap/base/Log","sap/base/util/merge","sap/fe/core/CommonUtils","sap/fe/navigation/SelectionVariant","sap/fe/macros/table/Utils","sap/m/MessageBox","sap/fe/core/BusyLocker","sap/m/Link","sap/fe/macros/chart/ChartRuntime","sap/fe/templates/ObjectPage/ExtensionAPI","sap/ui/core/mvc/OverrideExecution","sap/fe/core/controllerextensions/ViewState","./overrides/ViewState","sap/fe/templates/RootContainer/overrides/EditFlow","sap/fe/core/helpers/ModelHelper","sap/fe/core/controllerextensions/Routing","sap/m/InstanceManager","sap/fe/core/controllerextensions/MessageHandler","./overrides/MessageHandler","sap/fe/core/controllerextensions/Share","./overrides/Share","sap/fe/macros/DelegateUtil","sap/fe/macros/CommonHelper","sap/fe/templates/TableScroller","sap/ui/model/json/JSONModel","sap/fe/core/controllerextensions/Paginator","./overrides/Paginator","sap/fe/core/controllerextensions/Placeholder","sap/base/util/UriParameters","sap/fe/core/controllerextensions/MassEdit"],function(P,I,a,E,b,c,d,e,f,L,m,C,S,T,M,B,g,h,j,O,V,k,l,n,R,o,p,q,r,s,D,t,u,J,v,w,x,U,y){"use strict";return P.extend("sap.fe.templates.ObjectPage.ObjectPageController",{metadata:{methods:{getExtensionAPI:{"public":true,"final":true},onPageReady:{"public":true,"final":false,overrideExecution:O.After}}},placeholder:x,editFlow:E,share:r.override(s),_editFlow:b.override(l),_routing:I.override(a),paginator:v.override(w),messageHandler:p.override(q),intentBasedNavigation:e.override(f),_intentBasedNavigation:d.override({getNavigationMode:function(){var i=this._oView.getController().getStickyEditMode&&this._oView.getController().getStickyEditMode();return i?"explace":undefined;}}),viewState:V.override(k),pageReady:c.override({isContextExpected:function(){return true;}}),massEdit:y,getExtensionAPI:function(i){if(i){this.mCustomSectionExtensionAPIs=this.mCustomSectionExtensionAPIs||{};if(!this.mCustomSectionExtensionAPIs[i]){this.mCustomSectionExtensionAPIs[i]=new j(this,i);}return this.mCustomSectionExtensionAPIs[i];}else{if(!this.extensionAPI){this.extensionAPI=new j(this);}return this.extensionAPI;}},onInit:function(){P.prototype.onInit.apply(this);var i=this.byId("fe::ObjectPage");var z=this.getView().getBindingContext("internal");z.setProperty("externalNavigationContext",{"page":true});z.setProperty("relatedApps",{visibility:false,items:null});z.setProperty("batchGroups",this._getBatchGroupsForView());z.setProperty("errorNavigationSectionFlag",false);if(!this.getView().getViewData().useNewLazyLoading&&i.getEnableLazyLoading()){i.attachEvent("subSectionEnteredViewPort",this._handleSubSectionEnteredViewPort.bind(this));}},onExit:function(){var i=this;if(this.mCustomSectionExtensionAPIs){Object.keys(this.mCustomSectionExtensionAPIs).forEach(function(F){i.mCustomSectionExtensionAPIs[F]&&i.mCustomSectionExtensionAPIs[F].destroy();});delete this.mCustomSectionExtensionAPIs;}this.extensionAPI&&this.extensionAPI.destroy();delete this.extensionAPI;var z=this.getView().byId("fe::FooterBar::MessageButton"),A=z?z.oMessagePopover:null;if(A&&A.isOpen()){A.close();}},_getTableBinding:function(i){return i&&i.getRowBinding();},onBeforeRendering:function(){P.prototype.onBeforeRendering.apply(this);},onAfterRendering:function(i){var z=this;this.getView().getModel("sap.fe.i18n").getResourceBundle().then(function(A){z.oResourceBundle=A;}).catch(function(A){L.error("Error while retrieving the resource bundle",A);});},_onBeforeBinding:function(z,A){var F=this,G=this._findTables(),H,K=this.byId("fe::ObjectPage"),N=F.getView().getBindingContext("internal"),Q=F.getView().getModel("internal"),W=N.getProperty("batchGroups"),X=this.getView().getViewData().viewLevel;W.push("$auto");if(A.bDraftNavigation!==true){this._closeSideContent();}if(K.getBindingContext()&&K.getBindingContext().hasPendingChanges()&&!W.some(K.getBindingContext().getModel().hasPendingChanges.bind(K.getBindingContext().getModel()))){K.getBindingContext().getBinding().resetChanges();}for(var i=0;i<G.length;i++){H=G[i].getCreationRow();if(H){H.setBindingContext(null);}}var Y=function(o1){if(!K.isFirstRendering()&&!A.bPersistOPScroll){K.setSelectedSection(null);}};K.attachEventOnce("modelContextChange",Y);var Z={onAfterRendering:Y};K.addEventDelegate(Z,F);this.pageReady.attachEventOnce("pageReady",function(o1){K.removeEventDelegate(Z);});if(X>1){var $=A&&A.listBinding,_=Q.getProperty("/paginatorCurrentContext");if(_){var a1=_.getBinding();this.paginator.initialize(a1,_);Q.setProperty("/paginatorCurrentContext",null);}else if($){if($.isA("sap.ui.model.odata.v4.ODataListBinding")){this.paginator.initialize($,z);}else{var b1=$.getPath().replace(/\([^\)]*\)*$/,"");$=new sap.ui.model.odata.v4.ODataListBinding($.oModel,"",$.oModel.createBindingContext(b1));$.getContexts(0);$.attachEvent("change",function o1(){if($.getContexts().length>0){F.paginator.initialize($,z);$.detachEvent("change",o1);}});}}}if(!this.getView().getViewData().useNewLazyLoading&&K.getEnableLazyLoading()){var c1=K.getSections(),d1=K.getUseIconTabBar(),e1=2,f1=K.getModel("ui").getProperty("/editMode")==="Editable",g1=this.getView().getViewData().editableHeaderContent;for(var h1=0;h1<c1.length;h1++){var i1=c1[h1];var j1=i1.getSubSections();for(var k1=0;k1<j1.length;k1++,e1--){if(e1<1||(d1&&(h1>1||(h1===1&&!g1&&!f1)))){var l1=j1[k1];if(l1.data().isVisibilityDynamic!=="true"){l1.setBindingContext(null);}}}}}if(this.placeholder.isPlaceholderEnabled()&&A.showPlaceholder){var m1=this.getView();var n1=m1.getParent().oContainer.getParent();if(n1){n1.showPlaceholder({});}}},_getFirstClickableElement:function(i){var F;var A=i.getHeaderTitle()&&i.getHeaderTitle().getActions();if(A&&A.length){F=A.find(function(z){return z.getVisible()&&z.getEnabled();});}return F;},_getFirstEmptyMandatoryFieldFromSubSection:function(i){if(i){for(var z=0;z<i.length;z++){var A=i[z].getBlocks();if(A){for(var F=0;F<A.length;F++){var G;if(A[F].isA("sap.ui.layout.form.Form")){G=A[F].getFormContainers();}else if(A[F].getContent&&A[F].getContent()&&A[F].getContent().isA("sap.ui.layout.form.Form")){G=A[F].getContent().getFormContainers();}if(G){for(var H=0;H<G.length;H++){var K=G[H].getFormElements();if(K){for(var N=0;N<K.length;N++){var Q=K[N].getFields();if(Q[0].getRequired()&&!Q[0].getValue()){return Q[0];}}}}}}}}}return undefined;},_updateFocusInEditMode:function(i){var z=this.byId("fe::ObjectPage");var A=this._getFirstEmptyMandatoryFieldFromSubSection(i);var F;if(A){F=A.content.getContentEdit()[0];}else{F=z._getFirstEditableInput()||this._getFirstClickableElement(z);}if(F){setTimeout(function(){F.focus();},0);}},_handleSubSectionEnteredViewPort:function(i){var z=i.getParameter("subSection");z.setBindingContext(undefined);},_onBackNavigationInDraft:function(i){if(this.getAppComponent().getRouterProxy().checkIfBackHasSameContext()){history.back();}else{C.fnProcessDataLossOrDraftDiscardConfirmation(function(){history.back();},Function.prototype,i,this,false);}},_onAfterBinding:function(i,z){var A=this.byId("fe::ObjectPage"),F=this,G=this._findTables(),H=this._findFormContainers();this._sideEffects.clearPropertiesStatus();i=A.getBindingContext();var K=[];A.getSections().forEach(function(a1){a1.getSubSections().forEach(function(b1){K=C.getIBNActions(b1,K);});});H.forEach(function(a1){var b1,c1=A.getModel("internal"),d1="/pages/"+F.getView().getId(),e1="controls/"+F.getView().getLocalId(a1.getId()),f1="showDetails";if(a1.getModel("internal")===undefined){a1.setModel(c1,"internal");a1.setBindingContext(c1.createBindingContext(d1+"/"+e1),"internal");a1.bindElement({path:"",model:"internal"});}else{a1.bindElement({path:e1,model:"internal"});}b1=a1.getBindingContext("internal");b1.setProperty(f1,false);});G.forEach(function(a1){var b1=a1.getBindingContext("internal");b1.setProperty("creationRowFieldValidity",{});b1.setProperty("creationRowCustomValidity",{});K=C.getIBNActions(a1,K);var c1=a1.getRowBinding();if(c1){if(n.isStickySessionSupported(c1.getModel().getMetaModel())){c1.removeCachesAndMessages("");}}var d1=JSON.parse(t.parseCustomData(D.getCustomData(a1,"operationAvailableMap"))),e1=a1.getSelectedContexts();C.setActionEnablement(b1,d1,e1);});C.getSemanticTargetsFromPageModel(F,"_pageModel");var N=A.getHeaderTitle();var Q=[];Q=C.getIBNActions(N,Q);K=K.concat(Q);C.updateDataFieldForIBNButtonsVisibility(K,this.getView());var W,X;function Y(a1,b1){var c1=a1.getCreationRow(),d1,e1;if(c1){X.then(function(){if(c1.getModel("ui").getProperty("/isEditable")){d1=W.bindList(b1.getPath(),b1.getContext(),[],[],{$$updateGroupId:"doNotSubmit",$$groupId:"doNotSubmit"});d1.refreshInternal=function(){};e1=d1.create();c1.setBindingContext(e1);e1.created().catch(function(){L.trace("transient fast creation context deleted");});}}).catch(function(f1){L.error("Error while computing the final UI state",f1);});}}function Z(a1){var _=F._getTableBinding(a1),b1=function(){Y(a1,_);};if(!_){L.error("Expected binding missing for table: "+a1.getId());return;}if(_.oContext){b1();}else{var c1=function(){if(_.oContext){b1();_.detachChange(c1);}};_.attachChange(c1);}}if(i){W=i.getModel();X=this._editFlow.computeEditMode(i);if(i.getBinding().oCache){F._updateRelatedApps();}else{var $=function(){F._updateRelatedApps();i.getBinding().detachDataReceived($);};i.getBinding().attachDataReceived($);}var _=(i.getBinding&&i.getBinding())||i;_.attachEvent("patchSent",this.editFlow.handlePatchSent,this);_.attachEvent("patchCompleted",this.editFlow.handlePatchCompleted,this);G.forEach(function(a1){T.whenBound(a1).then(Z).catch(function(b1){L.error("Error while waiting for the table to be bound",b1);});});if(!this.getView().getViewData().useNewLazyLoading){A._triggerVisibleSubSectionsEvents();}}},onPageReady:function(i){var z=this;var A=this.getView();var F=A.getBindingContext("internal");var G=A.getBindingContext();if(G){var H=n.isStickySessionSupported(G.getModel().getMetaModel());if(!H){var K=C.getAppComponent(A);K.getShellServices().setBackNavigation(z._onBackNavigationInDraft.bind(z,G));}}this.getAppComponent().getAppStateHandler().applyAppState();if(i.forceFocus){var N=this.byId("fe::ObjectPage");var Q=N.getModel("ui").getProperty("/editMode")==="Display";var W=N.getSections().filter(function(Z){return Z.getVisible()===true;});N.setSelectedSection(W[0].getId());if(Q){var X=this._getFirstClickableElement(N);if(X){X.focus();}}else{var Y;if(A.getViewData().sectionLayout==="Tabs"){Y=W[0].getSubSections();}else{Y=W.map(function(Z){return Z.getSubSections();}).flat();}this._updateFocusInEditMode(Y);}}F.setProperty("errorNavigationSectionFlag",false);this._checkDataPointTitleForExternalNavigation();},getStickyEditMode:function(){var i=this.oView.getBindingContext&&this.oView.getBindingContext(),z=false;if(i){var A=n.isStickySessionSupported(i.getModel().getMetaModel());if(A){z=this.oView.getModel("ui").getProperty("/isEditable");}}return z;},_getObjectPageLayoutControl:function(){return this.byId("fe::ObjectPage");},_getPageTitleInformation:function(){var i=this.byId("fe::ObjectPage");var z=i.getCustomData().find(function(F){return F.getKey()==="ObjectPageSubtitle";});var A={title:i.data("ObjectPageTitle")||"",subtitle:z&&z.getValue(),intent:"",icon:""};return A;},_executeHeaderShortcut:function(i){var z=this.getView().getId()+"--"+i,A=this.byId("fe::ObjectPage").getHeaderTitle().getActions().find(function(F){return F.getId()===z;});C.fireButtonPress(A);},_executeFooterShortcut:function(i){var z=this.getView().getId()+"--"+i,A=this.byId("fe::ObjectPage").getFooter().getContent().find(function(F){return F.getMetadata().getName()==="sap.m.Button"&&F.getId()===z;});C.fireButtonPress(A);},_executeTabShortCut:function(i){var z=this.byId("fe::ObjectPage"),A=z.indexOfSection(this.byId(z.getSelectedSection())),F=z.getSections(),G=F.length-1,H=i.oSource.getCommand(),K;if(A!==-1&&G>0){if(H==="NextTab"){if(A<=G-1){K=F[++A];}}else{if(A!==0){K=F[--A];}}if(K){z.setSelectedSection(K);K.focus();}}},_getFooterVisibility:function(i){var z=this.getView().getBindingContext("internal");var A=this.getView().getId();z.setProperty("messageFooterContainsErrors",false);sap.ui.getCore().getMessageManager().getMessageModel().getData().forEach(function(F){if(F.validation&&F.type==="Error"&&F.target.indexOf(A)>-1){z.setProperty("messageFooterContainsErrors",true);}});},_showMessagePopover:function(i,z){if(i){L.error(i);}var A=this;var F=A.getView().byId("fe::FooterBar::MessageButton"),G=F.oMessagePopover,H=G.getBinding("items");if(H.getLength()>0&&!G.isOpen()){F.setVisible(true);setTimeout(function(){G.openBy(F);},0);}return z;},_editDocument:function(i){var z=this.getView().getModel("ui"),A={prepareOnEdit:this.getView().getViewData().prepareOnEdit};B.lock(z);return this.editFlow.editDocument.apply(this.editFlow,[i,A]).finally(function(){B.unlock(z);});},_saveDocument:function(i){var z=this,A=this.getView().getModel("ui"),W=[];var F=false;B.lock(A);this._findTables().forEach(function(G){var H=z._getTableBinding(G);var K={creationMode:G.data("creationMode"),creationRow:G.getCreationRow(),createAtEnd:G.data("createAtEnd")==="true"};var N=K.creationRow&&K.creationRow.getBindingContext()&&Object.keys(K.creationRow.getBindingContext().getObject()).length>1;if(N){K.bSkipSideEffects=true;F=true;W.push(z.editFlow.createDocument(H,K).then(function(){return H;}));}});return Promise.all(W).then(function(G){var H={bExecuteSideEffectsOnError:F,bindings:G};return z.editFlow.saveDocument(i,H).catch(z._showMessagePopover.bind(z)).finally(function(){if(B.isLocked(A)){B.unlock(A);}});});},_cancelDocument:function(i,z){z.cancelButton=this.getView().byId(z.cancelButton);return this.editFlow.cancelDocument(i,z);},_applyDocument:function(i){var z=this;return this.editFlow.applyDocument(i).catch(z._showMessagePopover.bind(z));},_updateRelatedApps:function(){var i=this.byId("fe::ObjectPage");if(C.resolveStringtoBoolean(i.data("showRelatedApps"))){C.updateRelatedAppsDetails(i);}},_findTableInSubSection:function(i,z,A){var F=[];for(var G=0;G<i.length;G++){var H=i[G].getContent instanceof Function&&i[G].getContent();if(H&&H.isA&&H.isA("sap.ui.layout.DynamicSideContent")){H=H.getMainContent instanceof Function&&H.getMainContent();if(H&&H.length>0){H=H[0];}}if(H&&H.isA&&H.isA("sap.fe.macros.TableAPI")){H=H.getContent instanceof Function&&H.getContent();if(H&&H.length>0){H=H[0];}}if(H&&H.isA&&H.isA("sap.ui.mdc.Table")){A.push(H);F.push({"table":H,"gridTable":H.getType().isA("sap.ui.mdc.table.GridTableType")});}}if(F.length===1&&i.length===1&&F[0].gridTable&&!z.hasStyleClass("sapUxAPObjectPageSubSectionFitContainer")){z.addStyleClass("sapUxAPObjectPageSubSectionFitContainer");}else{if(F&&!z.hasStyleClass("sapUxAPObjectPageSubSectionFitContainer")){F.forEach(function(K){if(K.gridTable){K.table.getType().setRowCount(null);}});}}},_getAllSubSections:function(){var i=this.byId("fe::ObjectPage"),z=[];i.getSections().forEach(function(A){z=z.concat(A.getSubSections());});return z;},_getAllBlocks:function(){var i=[];this._getAllSubSections().forEach(function(z){i=i.concat(z.getBlocks());});return i;},_findFormContainers:function(){var z=this._getAllSubSections(),F=[];function _(A){for(var i=0;i<A.length;i++){var G=A[i].getContent instanceof Function&&A[i].getContent();if(G&&G.isA&&G.isA("sap.ui.layout.DynamicSideContent")){G=G.getMainContent instanceof Function&&G.getMainContent();if(G&&G.length>0){G=G[0];}}if(G&&G.isA&&G.isA("sap.ui.layout.form.Form")&&G.getFormContainers instanceof Function){F=F.concat(G.getFormContainers());}}}for(var i=0;i<z.length;i++){_(z[i].getBlocks());_(z[i].getMoreBlocks());}return F;},_findTables:function(){var i=this._getAllSubSections(),z=[];for(var A=0;A<i.length;A++){this._findTableInSubSection(i[A].getBlocks(),i[A],z);this._findTableInSubSection(i[A].getMoreBlocks(),i[A],z);}return z;},_closeSideContent:function(){this._getAllBlocks().forEach(function(i){var z=i.getContent instanceof Function&&i.getContent();if(z&&z.isA&&z.isA("sap.ui.layout.DynamicSideContent")){if(z.setShowSideContent instanceof Function){z.setShowSideContent(false);}}});},_getChartContextData:function(i,z){var A=i.getObject(),F=[A];if(i&&z){if(A[z]){F=A[z];delete A[z];F.push(A);}}return F;},_scrollTablesToRow:function(z){if(this._findTables&&this._findTables().length>0){var A=this._findTables();for(var i=0;i<A.length;i++){u.scrollTableToRow(A[i],z);}}},_mergeMultipleContexts:function(i,z,A){var F=this;var G=[],H=[],K,N,Q,W,X,Y,Z;Z=i.getPath();K=i&&i.getModel()&&i.getModel().getMetaModel();W=K&&K.getMetaPath(Z).replace(/^\/*/,"");if(z&&z.length){N=z[0];X=N.getPath();Q=K&&K.getMetaPath(X).replace(/^\/*/,"");z.map(function($){if(A){var _=F._getChartContextData($,A);if(_){G=_.map(function(_){return{contextData:_,entitySet:W+"/"+A};});}}else{G.push({contextData:$.getObject(),entitySet:Q});}});}H.push({contextData:i.getObject(),entitySet:W});H=C.removeSensitiveData(H,K);Y=C.addPageContextToSelectionVariant(new S(),H,F.getView());G=C.removeSensitiveData(G,K);return{selectionVariant:Y,attributes:G};},_getBatchGroupsForView:function(){var i=this,z=i.getView().getViewData(),A=z.controlConfiguration,F=A&&Object.keys(A),G=["$auto.Heroes","$auto.Decoration","$auto.Workers"];if(F&&F.length>0){F.forEach(function(K){var H=A[K];if(H.requestGroupId==="LongRunners"){G.push("$auto.LongRunners");}});}return G;},_setBreadcrumbLinks:function(z){var A=z.getBindingContext();var F=this.getAppComponent();if(A){var N=A.getPath(),G=N.split("/"),H="",K=F.getMetaModel(),Q=0;G.shift();G.splice(-1,1);G.forEach(function(W,i){H+="/"+W;var X=F.getRootViewController();var Y;var Z=K.getMetaPath(H);var $=K.getObject(Z+"/@com.sap.vocabularies.Common.v1.ResultContext");if($){Q=1;return;}Y=X.getTitleInfoFromPath(H);Y.then(function(_){var a1=i-Q,b1=z.getLinks()[a1]?z.getLinks()[a1]:new g();b1.setText(_.subtitle||_.title);b1.setHref(_.intent);if(!z.getLinks()[a1]){z.addLink(b1);}}).catch(function(_){L.error("Error while computing the title hierarchy",_);});});}},_checkDataPointTitleForExternalNavigation:function(){var i=this.getView();var z=i.getBindingContext("internal");var A=C.getHeaderFacetItemConfigForExternalNavigation(i.getViewData(),this.getAppComponent().getRoutingService().getOutbounds());var F=this.getAppComponent().getShellServices();var G=i&&i.getBindingContext();z.setProperty("isHeaderDPLinkVisible",{});if(G){G.requestObject().then(function(Q){N(A,Q);}).catch(function(Q){L.error("Cannot retrieve the links from the shell service",Q);});}function H(Q){L.error(Q);}function K(Q){var W=this.id;if(Q&&Q.length===1&&Q[0].supported){z.setProperty("isHeaderDPLinkVisible/"+W,true);}}function N(A,Q){for(var W in A){var X=A[W];var Y={};var Z=i.byId(W);if(!Z){continue;}var $=Z.getBindingContext();var _=$&&$.getObject();var a1=m({},Q,_);if(X.semanticObjectMapping){var b1=X.semanticObjectMapping;for(var c1 in b1){var d1=b1[c1];var e1=d1["LocalProperty"]["$PropertyPath"];var f1=d1["SemanticObjectProperty"];if(e1!==f1){if(a1.hasOwnProperty(e1)){var g1={};g1[f1]=a1[e1];a1=m({},a1,g1);delete a1[e1];}}}}if(a1){for(var h1 in a1){if(h1.indexOf("_")!==0&&h1.indexOf("odata.context")===-1){Y[h1]=a1[h1];}}}F.isNavigationSupported([{target:{semanticObject:X.semanticObject,action:X.action},params:Y}]).then(K.bind({id:W})).catch(H);}}},handlers:{onTableContextChange:function(z){var A=this;var F=z.getSource();var G;this._findTables().some(function(_){if(_.getRowBinding()===F){G=_;return true;}return false;});var H=this._editFlow.getCurrentActionPromise();if(H){var K;if(G.getType().getMetadata().isA("sap.ui.mdc.table.GridTableType")){K=F.getContexts(0);}else{K=F.getCurrentContexts();}if(!K[0]){return;}H.then(function(Q){if(!Q||Q.controlId!==G.sId){return;}var W=Q.oData;var X=Q.keys;var Y=-1;K.find(function(_,i){var a1=_.getObject();var b1=X.every(function(c1){return a1[c1]===W[c1];});if(b1){Y=i;}return b1;});if(Y!==-1){var Z=o.getOpenDialogs();var $=Z.length>0?Z[0]:null;if($){$.attachEventOnce("afterClose",function(){G.focusRow(Y,true);});}else{G.focusRow(Y,true);}A._editFlow.deleteCurrentActionPromise();}}).catch(function(i){L.error("An error occurs while scrolling to the newly created Item: "+i);});}var N=A.getView().byId("fe::FooterBar::MessageButton");N.fireModelContextChange();},onCallAction:function(i,A,z){var F=i.getController();var G=F;return F.editFlow.invokeAction(A,z).then(G._showMessagePopover.bind(G,undefined)).catch(G._showMessagePopover.bind(G));},onDataPointTitlePressed:function(i,z,A,F,G){A=typeof A==="string"?JSON.parse(A):A;var H=A[F],K=C.getSemanticObjectMapping(H),N=z.getBindingContext(),Q=N.getModel().getMetaModel().getMetaPath(N.getPath()),W=i._getChartContextData(N,G),X;W=W.map(function(Z){return{data:Z,metaPath:Q+(G?"/"+G:"")};});if(H&&H.parameters){var Y=H.parameters&&i._intentBasedNavigation.getOutboundParams(H.parameters);if(Object.keys(Y).length>0){X=Y;}}if(H&&H.semanticObject&&H.action){i._intentBasedNavigation.navigate(H.semanticObject,H.action,{navigationContexts:W,semanticObjectMapping:K,additionalNavigationParameters:X});}},onChevronPressNavigateOutBound:function(i,z,A,F){return i._intentBasedNavigation.onChevronPressNavigateOutBound(i,z,A,F);},onNavigateChange:function(i){this.getExtensionAPI().updateAppState();this.bSectionNavigated=true;var z=this.getView().getBindingContext("internal");var A=this.byId("fe::ObjectPage");if(A.getModel("ui").getProperty("/editMode")!=="Display"&&this.getView().getViewData().sectionLayout==="Tabs"&&z.getProperty("errorNavigationSectionFlag")===false){var F=i.getParameter("subSection");this._updateFocusInEditMode([F]);}},onVariantSelected:function(i){this.getExtensionAPI().updateAppState();},onVariantSaved:function(i){var z=this;setTimeout(function(){z.getExtensionAPI().updateAppState();},500);},navigateToSubSection:function(i,z){var A=typeof z==="string"?JSON.parse(z):z,F=i.getView().byId("fe::ObjectPage"),G,H;if(A.sectionId){G=i.getView().byId(A.sectionId);H=A.subSectionId?i.getView().byId(A.subSectionId):G&&G.getSubSections()&&G.getSubSections()[0];}else if(A.subSectionId){H=i.getView().byId(A.subSectionId);G=H&&H.getParent();}if(!G||!H||!G.getVisible()||!H.getVisible()){i.getView().getModel("sap.fe.i18n").getResourceBundle().then(function(K){var N=C.getTranslatedText("C_ROUTING_NAVIGATION_DISABLED_TITLE",K,null,i.getView().getViewData().entitySet);L.error(N);M.error(N);}).catch(function(K){L.error(K);});}else{F.scrollToSection(H.getId());F.fireNavigate({section:G,subSection:H});}},onChartSelectionChanged:function(i){h.fnUpdateChart(i);}}});});