@sapui5/sap.suite.ui.generic.template 1.124.2 → 1.126.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 (328) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/generic/template/.library +1 -1
  3. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItem.js +1 -1
  4. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroChart.js +1 -0
  5. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/ControllerImplementation.js +17 -16
  6. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/DropDownController.js +4 -4
  7. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/FilterBarController.js +3 -7
  8. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/{KpiCardController.js → KpiCard.controller.js} +4 -8
  9. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/KpiTagController.js +1 -1
  10. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/VisualFilterDialogController.js +0 -9
  11. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ar.properties +2 -0
  12. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_bg.properties +2 -0
  13. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ca.properties +2 -0
  14. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cnr.properties +2 -0
  15. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cs.properties +2 -0
  16. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cy.properties +2 -0
  17. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_da.properties +2 -0
  18. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_de.properties +4 -2
  19. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_el.properties +2 -0
  20. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en.properties +2 -0
  21. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_GB.properties +2 -0
  22. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_US_saprigi.properties +2 -0
  23. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_es.properties +2 -0
  24. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_es_MX.properties +2 -0
  25. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_et.properties +2 -0
  26. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fi.properties +2 -0
  27. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fr.properties +2 -0
  28. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fr_CA.properties +2 -0
  29. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hi.properties +2 -0
  30. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hr.properties +2 -0
  31. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hu.properties +5 -3
  32. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_id.properties +2 -0
  33. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_it.properties +2 -0
  34. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_iw.properties +2 -0
  35. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ja.properties +2 -0
  36. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_kk.properties +2 -0
  37. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ko.properties +2 -0
  38. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_lt.properties +2 -0
  39. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_lv.properties +2 -0
  40. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_mk.properties +2 -0
  41. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ms.properties +2 -0
  42. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_nl.properties +2 -0
  43. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_no.properties +2 -0
  44. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pl.properties +2 -0
  45. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pt.properties +2 -0
  46. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pt_PT.properties +2 -0
  47. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ro.properties +2 -0
  48. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ru.properties +2 -0
  49. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sh.properties +29 -27
  50. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sk.properties +2 -0
  51. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sl.properties +2 -0
  52. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sr.properties +2 -0
  53. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sv.properties +2 -0
  54. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_th.properties +2 -0
  55. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_tr.properties +2 -0
  56. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_uk.properties +2 -0
  57. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_vi.properties +2 -0
  58. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_zh_CN.properties +2 -0
  59. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_zh_TW.properties +2 -0
  60. package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
  61. package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil.js +14 -9
  62. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/AnalyticalListPage.view.xml +1 -1
  63. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/KpiCardSizeM.view.xml +1 -1
  64. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/ContentViewButtons.fragment.xml +1 -1
  65. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/FilterContainer.fragment.xml +7 -2
  66. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/SmartFilterBar.fragment.xml +0 -3
  67. package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
  68. package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +79 -6
  69. package/src/sap/suite/ui/generic/template/ListReport/controller/IappStateHandler.js +19 -3
  70. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n.properties +3 -0
  71. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ar.properties +2 -0
  72. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_bg.properties +2 -0
  73. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ca.properties +2 -0
  74. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cnr.properties +2 -0
  75. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cs.properties +2 -0
  76. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cy.properties +2 -0
  77. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_da.properties +2 -0
  78. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_de.properties +3 -1
  79. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_el.properties +2 -0
  80. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en.properties +2 -0
  81. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_GB.properties +2 -0
  82. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saprigi.properties +2 -0
  83. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es.properties +2 -0
  84. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es_MX.properties +2 -0
  85. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_et.properties +2 -0
  86. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fi.properties +2 -0
  87. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr.properties +2 -0
  88. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr_CA.properties +2 -0
  89. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hi.properties +2 -0
  90. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hr.properties +2 -0
  91. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hu.properties +2 -0
  92. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_id.properties +2 -0
  93. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_it.properties +2 -0
  94. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_iw.properties +2 -0
  95. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ja.properties +2 -0
  96. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_kk.properties +2 -0
  97. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ko.properties +2 -0
  98. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lt.properties +2 -0
  99. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lv.properties +2 -0
  100. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_mk.properties +2 -0
  101. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ms.properties +2 -0
  102. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_nl.properties +2 -0
  103. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_no.properties +2 -0
  104. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pl.properties +2 -0
  105. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt.properties +2 -0
  106. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt_PT.properties +2 -0
  107. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ro.properties +2 -0
  108. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ru.properties +2 -0
  109. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sh.properties +16 -14
  110. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sk.properties +2 -0
  111. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sl.properties +2 -0
  112. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sr.properties +2 -0
  113. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sv.properties +2 -0
  114. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_th.properties +2 -0
  115. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_tr.properties +2 -0
  116. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_uk.properties +2 -0
  117. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_vi.properties +2 -0
  118. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_CN.properties +2 -0
  119. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_TW.properties +2 -0
  120. package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
  121. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/MultiEditDialog.fragment.xml +2 -2
  122. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartFilterBar.fragment.xml +1 -1
  123. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartList.fragment.xml +3 -3
  124. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +6 -5
  125. package/src/sap/suite/ui/generic/template/ObjectPage/Component.js +2 -1
  126. package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +14 -10
  127. package/src/sap/suite/ui/generic/template/ObjectPage/controller/PasteHandler.js +36 -11
  128. package/src/sap/suite/ui/generic/template/ObjectPage/controller/SectionTitleHandler.js +4 -8
  129. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ar.properties +3 -0
  130. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_bg.properties +3 -0
  131. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ca.properties +3 -0
  132. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cnr.properties +3 -0
  133. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cs.properties +3 -0
  134. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cy.properties +3 -0
  135. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_da.properties +3 -0
  136. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_el.properties +3 -0
  137. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en.properties +3 -0
  138. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_GB.properties +3 -0
  139. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saprigi.properties +3 -0
  140. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es.properties +3 -0
  141. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es_MX.properties +3 -0
  142. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_et.properties +3 -0
  143. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fi.properties +3 -0
  144. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr.properties +3 -0
  145. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr_CA.properties +3 -0
  146. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hi.properties +3 -0
  147. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hr.properties +3 -0
  148. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hu.properties +3 -0
  149. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_id.properties +3 -0
  150. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_it.properties +3 -0
  151. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_iw.properties +3 -0
  152. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ja.properties +3 -0
  153. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_kk.properties +3 -0
  154. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ko.properties +3 -0
  155. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lt.properties +3 -0
  156. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lv.properties +3 -0
  157. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_mk.properties +3 -0
  158. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ms.properties +3 -0
  159. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_nl.properties +3 -0
  160. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_no.properties +3 -0
  161. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pl.properties +3 -0
  162. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt.properties +3 -0
  163. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt_PT.properties +3 -0
  164. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ro.properties +3 -0
  165. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ru.properties +3 -0
  166. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sh.properties +27 -24
  167. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sk.properties +3 -0
  168. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sl.properties +3 -0
  169. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sr.properties +3 -0
  170. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sv.properties +3 -0
  171. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_th.properties +3 -0
  172. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_tr.properties +3 -0
  173. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_uk.properties +3 -0
  174. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_vi.properties +3 -0
  175. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_CN.properties +3 -0
  176. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_TW.properties +3 -0
  177. package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
  178. package/src/sap/suite/ui/generic/template/ObjectPage/view/Details.view.xml +2 -0
  179. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/CRUDActionButtons.fragment.xml +1 -1
  180. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml +2 -2
  181. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Facet.fragment.xml +2 -2
  182. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderContainer.fragment.xml +4 -0
  183. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderImage.fragment.xml +4 -0
  184. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/MultipleViewsSingleTableMode.fragment.xml +3 -2
  185. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/PageLevelCommands.fragment.xml +2 -2
  186. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Sections.fragment.xml +3 -2
  187. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SideContentActionButton.fragment.xml +2 -2
  188. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +7 -8
  189. package/src/sap/suite/ui/generic/template/QuickCreate/i18n/i18n_sh.properties +1 -1
  190. package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
  191. package/src/sap/suite/ui/generic/template/QuickCreate/view/QuickCreate.controller.js +4 -3
  192. package/src/sap/suite/ui/generic/template/QuickCreate/view/QuickCreate.view.xml +20 -17
  193. package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
  194. package/src/sap/suite/ui/generic/template/QuickView/view/QuickView.view.xml +42 -40
  195. package/src/sap/suite/ui/generic/template/app/blankAnalyticalListPage/manifest.json +0 -4
  196. package/src/sap/suite/ui/generic/template/designtime/AnalyticalListPage.designtime.js +1 -1
  197. package/src/sap/suite/ui/generic/template/designtime/ListReport.designtime.js +1 -1
  198. package/src/sap/suite/ui/generic/template/designtime/ObjectPage.designtime.js +0 -3
  199. package/src/sap/suite/ui/generic/template/detailTemplates/i18n/i18n_sh.properties +1 -1
  200. package/src/sap/suite/ui/generic/template/fragments/AnalyticalTableColumns.fragment.xml +2 -2
  201. package/src/sap/suite/ui/generic/template/fragments/ContactDetails.fragment.xml +14 -14
  202. package/src/sap/suite/ui/generic/template/fragments/FileUploader.fragment.xml +8 -4
  203. package/src/sap/suite/ui/generic/template/fragments/GridTableCells.fragment.xml +2 -0
  204. package/src/sap/suite/ui/generic/template/fragments/GridTableColumns.fragment.xml +2 -2
  205. package/src/sap/suite/ui/generic/template/fragments/HeaderForm.fragment.xml +2 -2
  206. package/src/sap/suite/ui/generic/template/fragments/HeaderRatingIndicator.fragment.xml +6 -1
  207. package/src/sap/suite/ui/generic/template/fragments/MessagePage.view.xml +6 -2
  208. package/src/sap/suite/ui/generic/template/fragments/ProgressIndicator.fragment.xml +2 -0
  209. package/src/sap/suite/ui/generic/template/fragments/QuickViewSmartForm.fragment.xml +4 -2
  210. package/src/sap/suite/ui/generic/template/fragments/RatingIndicatorFacet.fragment.xml +2 -0
  211. package/src/sap/suite/ui/generic/template/fragments/SmartControlContextMenu.fragment.xml +3 -2
  212. package/src/sap/suite/ui/generic/template/fragments/SmartFormDataField.fragment.xml +2 -2
  213. package/src/sap/suite/ui/generic/template/fragments/SmartTableUiTableCommons.fragment.xml +5 -1
  214. package/src/sap/suite/ui/generic/template/fragments/TableCell.fragment.xml +7 -1
  215. package/src/sap/suite/ui/generic/template/fragments/TableColumnListItem.fragment.xml +9 -5
  216. package/src/sap/suite/ui/generic/template/fragments/TableColumns.fragment.xml +2 -2
  217. package/src/sap/suite/ui/generic/template/fragments/TreeTableColumns.fragment.xml +4 -2
  218. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartFilterBarWrapper.js +52 -1
  219. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartVariantManagementWrapper.js +3 -3
  220. package/src/sap/suite/ui/generic/template/genericUtilities/utils.js +25 -1
  221. package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +29 -17
  222. package/src/sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport.js +0 -4
  223. package/src/sap/suite/ui/generic/template/js/RuntimeFormatters.js +2 -6
  224. package/src/sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator.js +28 -0
  225. package/src/sap/suite/ui/generic/template/js/formatters/formatImageUrl.js +21 -0
  226. package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorAggregateCount.js +21 -0
  227. package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorFooterText.js +21 -0
  228. package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorSubTitle.js +21 -0
  229. package/src/sap/suite/ui/generic/template/js/formatters/setInfoHighlight.js +21 -0
  230. package/src/sap/suite/ui/generic/template/js/formatters/setRowNavigated.js +26 -0
  231. package/src/sap/suite/ui/generic/template/lib/AdaptiveCardHelper.js +25 -5
  232. package/src/sap/suite/ui/generic/template/lib/AppComponent.js +5 -3
  233. package/src/sap/suite/ui/generic/template/lib/Application.js +3 -5
  234. package/src/sap/suite/ui/generic/template/lib/CRUDManager.js +7 -5
  235. package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +2 -1
  236. package/src/sap/suite/ui/generic/template/lib/ComponentUtils.js +16 -12
  237. package/src/sap/suite/ui/generic/template/lib/CreateWithDialogHandler.js +23 -10
  238. package/src/sap/suite/ui/generic/template/lib/FlexibleColumnLayoutHandler.js +11 -4
  239. package/src/sap/suite/ui/generic/template/lib/MessageButtonHelper.js +7 -5
  240. package/src/sap/suite/ui/generic/template/lib/MessageStripHelper.js +6 -6
  241. package/src/sap/suite/ui/generic/template/lib/MessageUtils.js +4 -3
  242. package/src/sap/suite/ui/generic/template/lib/ShareUtils.js +6 -14
  243. package/src/sap/suite/ui/generic/template/lib/TemplateAssembler.js +5 -3
  244. package/src/sap/suite/ui/generic/template/lib/TemplateComponent.js +5 -3
  245. package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +3 -0
  246. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +5 -1
  247. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +5 -1
  248. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +5 -1
  249. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +5 -1
  250. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +5 -1
  251. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +6 -2
  252. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +6 -2
  253. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +5 -1
  254. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +6 -2
  255. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +5 -1
  256. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +6 -2
  257. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +6 -2
  258. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +5 -1
  259. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +7 -3
  260. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +5 -1
  261. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +5 -1
  262. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +5 -1
  263. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +5 -1
  264. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +5 -1
  265. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +6 -2
  266. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +5 -1
  267. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +6 -2
  268. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +5 -1
  269. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +5 -1
  270. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +5 -1
  271. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +5 -1
  272. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +6 -2
  273. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +5 -1
  274. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +5 -1
  275. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +5 -1
  276. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +6 -2
  277. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +5 -1
  278. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +6 -2
  279. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +5 -1
  280. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +6 -2
  281. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +5 -1
  282. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +6 -2
  283. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +5 -1
  284. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +50 -46
  285. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +5 -1
  286. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +6 -2
  287. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +5 -1
  288. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +5 -1
  289. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +6 -2
  290. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +6 -2
  291. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +5 -1
  292. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +6 -2
  293. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +5 -1
  294. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +6 -2
  295. package/src/sap/suite/ui/generic/template/lib/insights/InsightsCardHelper.js +1 -1
  296. package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +38 -38
  297. package/src/sap/suite/ui/generic/template/lib/navigation/routingHelper.js +8 -9
  298. package/src/sap/suite/ui/generic/template/lib/navigation/startupParameterHelper.js +48 -44
  299. package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartChartHandler.js +22 -10
  300. package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartListHandler.js +6 -1
  301. package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +23 -6
  302. package/src/sap/suite/ui/generic/template/library.js +1 -1
  303. package/src/sap/suite/ui/generic/template/listTemplates/controller/DetailController.js +16 -1
  304. package/src/sap/suite/ui/generic/template/listTemplates/controller/IappStateHandler.js +30 -27
  305. package/src/sap/suite/ui/generic/template/listTemplates/filterSettingsPreparationHelper.js +2 -0
  306. package/src/sap/suite/ui/generic/template/listTemplates/fragments/ActionsFragment.fragment.xml +7 -2
  307. package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +7 -8
  308. package/src/sap/suite/ui/generic/template/listTemplates/fragments/SmartTableToolbar.fragment.xml +1 -1
  309. package/src/sap/suite/ui/generic/template/listTemplates/i18n/i18n_sh.properties +1 -1
  310. package/src/sap/suite/ui/generic/template/themes/sap_belize/library.source.less +10 -1
  311. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ALPConstants.less +47 -0
  312. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/AnalyticalListPage.less +475 -0
  313. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ListReport.less +33 -0
  314. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ObjectPage.less +391 -0
  315. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/QuickCreate.less +96 -0
  316. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/QuickView.less +108 -0
  317. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/alr_zen.css +136 -0
  318. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/base.less +7 -0
  319. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/crosstab_library.css +20 -0
  320. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/readme.txt +4 -0
  321. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/sort_asc.gif +0 -0
  322. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/sort_desc.gif +0 -0
  323. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/sort_none.gif +0 -0
  324. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/treenode_collapse.gif +0 -0
  325. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/treenode_expand.gif +0 -0
  326. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/library.source.less +9 -0
  327. package/src/sap/suite/ui/generic/template/themes/sap_belize_hcb/library.source.less +10 -1
  328. package/src/sap/suite/ui/generic/template/themes/sap_belize_hcw/library.source.less +10 -1
@@ -1,6 +1,6 @@
1
1
  <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:smartField="sap.ui.comp.smartfield" xmlns:smc="sap.ui.comp.smartmicrochart" xmlns:navpopover="sap.ui.comp.navpopover"
2
2
  xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
3
- template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper'}">
3
+ template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper', StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
4
4
 
5
5
  <!-- @classdesc @name: Name: sap.suite.ui.generic.template.ListReport.view.fragments.TableColumnListItem.fragment.xml
6
6
  @description: Visualizes columns (content) of a responsive table,
@@ -10,11 +10,11 @@
10
10
 
11
11
  <items>
12
12
  <template:with path="listEntitySet>entityType" helper="AHModel.gotoEntityType" var="listEntityType">
13
- <template:with path="parameter>/" helper="sap.suite.ui.generic.template.js.StableIdHelper.preparePathForStableId" var="columnListItemId">
13
+ <template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="columnListItemId">
14
14
  <template:if test="{= ${facet>Target/AnnotationPath} }">
15
15
  <template:then>
16
16
  <!-- ObjectPage -->
17
- <template:with path="parameter>/" helper="sap.suite.ui.generic.template.js.StableIdHelper.preparePathForStableId" var="facetId">
17
+ <template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="facetId">
18
18
  <template:if test="{= ${facetId>}.buildStableId({type: 'ObjectPage', subType: 'Facet', sRecordType: ${facet>RecordType}, sAnnotationPath: ${facet>Target/AnnotationPath}, sAnnotationId: ${facet>ID/String}, bIsHeaderFacet: ${isHeaderFacet>value}})}"/>
19
19
  <template:if test="{= ${columnListItemId>}.buildStableId({type: 'ObjectPageTable', subType: 'ColumnListItem', sFacet: ${facetId>id}})}" />
20
20
  </template:with>
@@ -25,10 +25,14 @@
25
25
  </template:else>
26
26
  </template:if>
27
27
  <ColumnListItem id="{columnListItemId>id}"
28
+ core:require="{
29
+ setRowNavigated: 'sap/suite/ui/generic/template/js/formatters/setRowNavigated',
30
+ setInfoHighlight: 'sap/suite/ui/generic/template/js/formatters/setInfoHighlight'
31
+ }"
28
32
  highlight="{parts: [{path: 'listEntityType>'}, {path: 'parameter>/treeNode'}, {path: 'listEntitySet>name'}, {path: 'parameter>/checkIsDraftEnabled'}], formatter: 'AH.setRowHighlight'}"
29
33
  vAlign="{appSettings>/tableColumnVerticalAlignment}"
30
34
  type="{parts: [{path: 'listEntitySet>'}, {path: 'parameter>/settings/subPages/'}, {path: 'parameter>/manifest/'}, {path: 'parameter>/treeNode/'}, {path:'parameter>/isDraftEnabled'}, {path: 'facet>Target/AnnotationPath'}], formatter: 'AH.getColumnListItemType'}"
31
- navigated="{parts: [{path: '_templPriv>/generic/currentActiveChildContext'}, {path: ''}], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.setRowNavigated'}"
35
+ navigated="{parts: [{path: '_templPriv>/generic/currentActiveChildContext'}, {path: ''}], formatter: 'setRowNavigated'}"
32
36
  detailPress="._templateEventHandlers.onEdit">
33
37
  <template:if test="{parts: [{path: 'listEntitySet>name'}, {path: 'parameter>/settings/subPages/'}, {path: 'facet>Target/AnnotationPath'}], formatter: 'AH.getDisplayNavigationIntent'}">
34
38
  <customData>
@@ -38,7 +42,7 @@
38
42
  </template:if>
39
43
  <cells>
40
44
  <template:repeat list="{collection>}" var="lineItems">
41
- <template:with path="parameter>/" helper="sap.suite.ui.generic.template.js.StableIdHelper.preparePathForStableId" var="columnId">
45
+ <template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="columnId">
42
46
  <template:if test="{= ${lineItems>RecordType} === 'com.sap.vocabularies.UI.v1.DataField' }">
43
47
  <template:then>
44
48
  <template:if test="{= ${columnId>}.buildStableId({type: 'TableColumn', subType: 'DataField', sSmartTableId: ${smartControlId>id}, sProperty: ${lineItems>Value/Path}})}" />
@@ -1,6 +1,6 @@
1
1
  <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:smartField="sap.ui.comp.smartfield" xmlns:smc="sap.ui.comp.smartmicrochart" xmlns:navpopover="sap.ui.comp.navpopover"
2
2
  xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
3
- template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper', AHStream:'sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport'}">
3
+ template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper', AHStream:'sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport', StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
4
4
  <!-- @classdesc @name: Name: sap.suite.ui.generic.template.ListReport.view.fragments.TableColumns.fragment.xml
5
5
  @description: Visualizes columns (header) of a responsive table,
6
6
  as part of a LR, OP or ALP.
@@ -146,7 +146,7 @@
146
146
  </template:if>
147
147
  <!-- handle inline actions -->
148
148
  <template:if test="{= (${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForAction' || ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation') &amp;&amp; ${dataField>Inline/Bool} === 'true'}">
149
- <template:with path="parameter>/" helper="sap.suite.ui.generic.template.js.StableIdHelper.preparePathForStableId" var="columnId">
149
+ <template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="columnId">
150
150
  <template:with path="dataField>Value" helper="AHModel.resolvePath" var="dataFieldValue">
151
151
  <template:if test="{= ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForAction' }">
152
152
  <template:then>
@@ -1,7 +1,7 @@
1
1
  <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:table="sap.ui.table" xmlns:smartField="sap.ui.comp.smartfield" xmlns:smartMultiInput="sap.ui.comp.smartmultiinput" xmlns:fe="sap.suite.ui.generic.template.genericUtilities"
2
2
  xmlns:customData="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
3
3
  xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
4
- template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper'}">
4
+ template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper', StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
5
5
 
6
6
  <template:repeat list="{collection>}" var="dataField">
7
7
  <template:if test="{= (${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataField')}">
@@ -36,7 +36,7 @@
36
36
  </template:with>
37
37
  </template:if>
38
38
  <template:if test="{= (${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForAction' || ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation') &amp;&amp; ${dataField>Inline/Bool} === 'true'}">
39
- <template:with path="parameter>/" helper="sap.suite.ui.generic.template.js.StableIdHelper.preparePathForStableId" var="columnId">
39
+ <template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="columnId">
40
40
  <template:if test="{= ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForAction' }">
41
41
  <template:then>
42
42
  <template:if test="{= ${columnId>}.buildStableId({type: 'TableColumn', subType: 'DataFieldForAction', sSmartTableId: ${smartControlId>id}, sAction: ${dataField>Action/String}})}" />
@@ -214,7 +214,9 @@
214
214
  <!-- Progress Indicator generation -->
215
215
  <template:elseif test="{= ${dataFieldTarget>Visualization/EnumMember} === 'com.sap.vocabularies.UI.v1.VisualizationType/Progress'}">
216
216
  <template:with path="dataFieldTarget>Value" helper="AHModel.resolvePath" var="value">
217
+ <!-- The formatter 'formatDisplayValueForProgressIndicator' is used by 'AH.buildExpressionForProgressIndicatorDisplayValue' -->
217
218
  <ProgressIndicator
219
+ core:require="{formatDisplayValueForProgressIndicator: 'sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator'}"
218
220
  binding="{= ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/') > -1 ? '{' + ${path: 'dataField>Target/AnnotationPath'}.slice(0, ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/')) + '}' : null}"
219
221
  percentValue="{ parts: [{path:'dataFieldTarget>'}, {path:'value>'}], formatter: 'AH.buildExpressionForProgressIndicatorPercentValue' }"
220
222
  displayValue="{ parts: [{path:'dataFieldTarget>'}, {path:'value>Org.OData.Measures.V1.Unit'}], formatter: 'AH.buildExpressionForProgressIndicatorDisplayValue'}"
@@ -24,6 +24,7 @@ sap.ui.define([
24
24
  function SmartFilterBarWrapper(vTarget, oFactory, mParams) {
25
25
  var bIsApplying = false;
26
26
  var aBasicFilters = [];
27
+ var aMissingNavFilters = [];
27
28
  var oSmartFilterBar, oControlAssignedResolve, oPreliminaryState;
28
29
  var oControlAssignedPromise = new Promise(function (resolve) {
29
30
  oControlAssignedResolve = resolve;
@@ -81,9 +82,54 @@ sap.ui.define([
81
82
  /* SFB header state of a variant (standard or custom) gets determined by the Apply Automatically checkbox's value of the corresponding
82
83
  variant i.e. if the checkbox is checked, then the header should be collapsed and vice versa. */
83
84
  oSVMWrapperCallbacks.setHeaderState(!oEvent.getParameter("executeOnSelect"));
85
+ aMissingNavFilters = fnGetNavigationProperties();
84
86
  });
85
87
 
86
88
  }
89
+
90
+ function fnGetNavigationProperties() {
91
+ //Fetch the navigation properties
92
+ var oMetaModel = oSmartFilterBar.getModel().getMetaModel(),
93
+ sEntitySet = oSmartFilterBar.getEntitySet(),
94
+ oDataEntitySet = oMetaModel.getODataEntitySet(sEntitySet),
95
+ oDataEntityType = oMetaModel.getODataEntityType(oDataEntitySet.entityType),
96
+ oNavigationProperties = oDataEntityType['navigationProperty'],
97
+ aAddedNavigationProperties = [];
98
+ //Fetch the added filters in the current variant
99
+ var sCurrentVariantID = oSmartFilterBar.getVariantManagement().getCurrentVariantId();
100
+ var oCurrentVariant = oSmartFilterBar.getVariantManagement().getAllVariants().find(function(variant) {
101
+ return variant.getId() === sCurrentVariantID;
102
+ });
103
+ if (oCurrentVariant === undefined || oCurrentVariant.getContent() === undefined) {
104
+ return aAddedNavigationProperties;
105
+ }
106
+ var oSmartFilterBarVariant = JSON.parse( oCurrentVariant.getContent().searchListReportVariant.filterBarVariant );
107
+ delete oSmartFilterBarVariant["_CUSTOM"];
108
+ //Compare the filter source and navigation properties
109
+ var aMatchedRanges = [];
110
+ for (var key in oSmartFilterBarVariant) {
111
+ for (var i = 0; i < oNavigationProperties.length; i++) {
112
+ var obj = oNavigationProperties[i];
113
+ if (key.startsWith(obj.name)) {
114
+ if (oSmartFilterBarVariant[key].ranges) {
115
+ aMatchedRanges.push(oSmartFilterBarVariant[key].ranges);
116
+ }
117
+ }
118
+ }
119
+ }
120
+ if (aMatchedRanges.length) {
121
+ //Compare the manifest property with the filter source
122
+ var oManifestNavigationProperties = oSmartFilterBar.getNavigationProperties() || [];
123
+ var missingNavProperty = aMatchedRanges.filter(function(item) {
124
+ var sKeyField = item[0].keyField.split('.')[0];
125
+ return !oManifestNavigationProperties.includes(sKeyField);
126
+ });
127
+ if (missingNavProperty.length) {
128
+ aAddedNavigationProperties = aMatchedRanges;
129
+ }
130
+ }
131
+ return aAddedNavigationProperties;
132
+ }
87
133
 
88
134
  function fnGetState() {
89
135
  if (!oSmartFilterBar) {
@@ -242,6 +288,10 @@ sap.ui.define([
242
288
  oSmartFilterBar = oControl;
243
289
  oControlAssignedResolve(oSmartFilterBar);
244
290
  }
291
+
292
+ function fnGetMissingNavProperties() {
293
+ return aMissingNavFilters;
294
+ }
245
295
 
246
296
  // check waiting for initialization (like in SmartTableWrapper/SmartChartWrapper)
247
297
  // currently, whole appState restoring is waiting for initialized event from sfb - but probably it would be enough to wait for it here
@@ -256,7 +306,8 @@ sap.ui.define([
256
306
  // specific properties (needed to workaround direct connection between SFB and SVM)
257
307
  setSVMWrapperCallbacks: setSVMWrapperCallbacks,
258
308
  bVMConnection: oSmartFilterBar.getSmartVariant(),
259
- suppressSelection: oSmartFilterBar.setSuppressSelection.bind(oSmartFilterBar) // if multiple reasons for suppressing overlap, a counter (to avoid to early resume) could be implemented here
309
+ suppressSelection: oSmartFilterBar.setSuppressSelection.bind(oSmartFilterBar), // if multiple reasons for suppressing overlap, a counter (to avoid to early resume) could be implemented here
310
+ getMissingNavProperties: fnGetMissingNavProperties
260
311
  };
261
312
  }
262
313
 
@@ -103,9 +103,9 @@ sap.ui.define([
103
103
  var oControl = oController.getView().byId(sId);
104
104
  if (oControl && oControl.isA("sap.ui.comp.smarttable.SmartTable")) {
105
105
  oControl.attachAfterVariantInitialise(function() {
106
- //set currentVariantId only when sVariantId is not standard (as it might be overriding existing
107
- //different currentVariantId) or smartTable's (oControl) currentVariantId is not equal to sVariantId.
108
- if (sVariantId !== '*standard*' && oControl.getCurrentVarintId && oControl.getCurrentVarintId() !== sVariantId) {
106
+ //set currentVariantId only when sVariantId is not standard (as it might be overriding existing
107
+ //different currentVariantId) or smartTable's (oControl) currentVariantId is not equal to sVariantId.
108
+ if (sVariantId !== '*standard*' && oControl.getCurrentVariantId && oControl.getCurrentVariantId() !== sVariantId) {
109
109
  oControl.setCurrentVariantId(sVariantId);
110
110
  oSmartVariantManagement.setModified(false);
111
111
  }
@@ -21,7 +21,31 @@ sap.ui.define([], function() {
21
21
  return sap.ui.require.toUrl(sAppComponentName.replace(/\./g, "/")) + "/" + sImageUrl; //replacing dots by slashes before calling sap.ui.require.toUrl method. com.xyz.abc to com/xyz/abc
22
22
  }
23
23
 
24
+ // Function check is B array values is a subset of A array values.
25
+ // A = [], B = ["1", "2", "3"] -> true
26
+ // A = ["4"], B = ["1", "2", "3"] -> false
27
+ // A = ["1"], B = ["1", "2", "3"] -> true
28
+ // A = ["1", "3"], B = ["1", "2", "3"] -> true
29
+ // A = ["3", "2", "1"], B = ["1", "2", "3"] -> true
30
+ // A = ["1", "4"], B = ["1", "2", "3"] -> false
31
+ // A = ["1", "2", "3", "4"], B = ["1", "2", "3"] -> false
32
+ function fnIsASubsetOfB(a, b) {
33
+ if (a === b) {
34
+ return true;
35
+ }
36
+ if (!a || !b) {
37
+ return false;
38
+ }
39
+ if (a.length > b.length) {
40
+ return false;
41
+ }
42
+ return a.every(function(entry) {
43
+ return b.includes(entry);
44
+ });
45
+ }
46
+
24
47
  return {
25
- adjustImageUrlPath: fnAdjustImageUrlPath
48
+ adjustImageUrlPath: fnAdjustImageUrlPath,
49
+ isASubsetOfB: fnIsASubsetOfB
26
50
  };
27
51
  });
@@ -10,9 +10,10 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
10
10
  "sap/m/library",
11
11
  "sap/ui/core/library",
12
12
  "sap/suite/ui/generic/template/genericUtilities/metadataAnalyser",
13
+ "sap/ui/base/ManagedObject",
13
14
  "sap/suite/ui/generic/template/js/RuntimeFormatters" // just to make sure that it is loaded
14
15
  ], function (AnnotationHelperModel, AnnotationHelperModelBasics, SmartField, FeLogger, formatMessage, deepExtend, StableIdHelper, utils, Device,
15
- SapMLibrary, SapCoreLibrary, metadataAnalyser) {
16
+ SapMLibrary, SapCoreLibrary, metadataAnalyser, ManagedObject) {
16
17
  "use strict";
17
18
 
18
19
  // shortcut for sap.ui.core.ValueState
@@ -1072,21 +1073,21 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
1072
1073
  // builds the expression for the Rating Indicator Subtitle
1073
1074
  buildRatingIndicatorSubtitleExpression: function (mSampleSize) {
1074
1075
  if (mSampleSize) {
1075
- return "{parts: [{path: '" + mSampleSize.Path + "'}], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.formatRatingIndicatorSubTitle'}";
1076
+ return "{parts: [{path: '" + mSampleSize.Path + "'}], formatter: 'formatRatingIndicatorSubTitle'}";
1076
1077
  }
1077
1078
  },
1078
1079
 
1079
1080
  // builds the expression for the Rating Indicator footer
1080
1081
  buildRatingIndicatorFooterExpression: function (mValue, mTargetValue) {
1081
1082
  if (mTargetValue) {
1082
- return "{parts: [{path: '" + mValue.Path + "'}, {path: '" + mTargetValue.Path + "'}], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.formatRatingIndicatorFooterText'}";
1083
+ return "{parts: [{path: '" + mValue.Path + "'}, {path: '" + mTargetValue.Path + "'}], formatter: 'formatRatingIndicatorFooterText'}";
1083
1084
  }
1084
- return "{parts: [{path: '" + mValue.Path + "'}], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.formatRatingIndicatorFooterText'}";
1085
+ return "{parts: [{path: '" + mValue.Path + "'}], formatter: 'formatRatingIndicatorFooterText'}";
1085
1086
  },
1086
1087
 
1087
1088
  // builds the expression for the Rating Indicator aggregate Count
1088
1089
  buildRatingIndicatorAggregateCountExpression: function (mValue) {
1089
- return "{parts: [{path: '" + mValue.Path + "'}], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.formatRatingIndicatorAggregateCount'}";
1090
+ return "{parts: [{path: '" + mValue.Path + "'}], formatter: 'formatRatingIndicatorAggregateCount'}";
1090
1091
  },
1091
1092
 
1092
1093
  getIdForMoreBlockContent: function (oFacet) {
@@ -1136,10 +1137,20 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
1136
1137
  return sPath;
1137
1138
  },
1138
1139
 
1139
- // Returns the creation mode has been configured for the given facet
1140
- getCreationMode: function (oFacet, oSections) {
1140
+ // Returns the creation mode that has been configured for the given facet if defined, else returns the global level creation mode
1141
+ getCreationMode: function (oFacet, oGlobalSettings) {
1142
+ var oSections = oGlobalSettings && oGlobalSettings.sections;
1141
1143
  var oSettings = oSections && oSections[oAnnotationHelper.getStableIdPartFromFacet(oFacet)];
1142
- return (oSettings && oSettings.createMode) || "";
1144
+ var sCreateMode;
1145
+ if (oSettings && oSettings.createMode) {
1146
+ sCreateMode = oSettings.createMode;
1147
+ } else if (oGlobalSettings && oGlobalSettings.createMode) {
1148
+ sCreateMode = oGlobalSettings.createMode;
1149
+ } else {
1150
+ sCreateMode = "";
1151
+ }
1152
+
1153
+ return sCreateMode;
1143
1154
  },
1144
1155
 
1145
1156
  // Checks whether use of the preliminaryContext feature has been configured for the given facet
@@ -1147,10 +1158,11 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
1147
1158
  var oSettings = oSections[oAnnotationHelper.getStableIdPartFromFacet(oFacet)];
1148
1159
  return !!(oSettings && oSettings.preliminaryContext);
1149
1160
  },
1150
- //check whether HasActiveEntity sort order(Inline Create mode) has been configured for the given facet(table)
1151
- isInlineCreateSorting: function (oFacet, oSections) {
1161
+ //check whether HasActiveEntity sort order(Inline Create mode) has been configured for the given facet(table). If not, then check for global settings.
1162
+ isInlineCreateSorting: function (oFacet, oGlobalSettings) {
1163
+ var oSections = oGlobalSettings && oGlobalSettings.sections;
1152
1164
  var oSettings = oSections && oSections[oAnnotationHelper.getStableIdPartFromFacet(oFacet)];
1153
- return !!(oSettings && oSettings.disableDefaultInlineCreateSort);
1165
+ return !!((oSettings && oSettings.disableDefaultInlineCreateSort) ? oSettings.disableDefaultInlineCreateSort : oGlobalSettings && oGlobalSettings.disableDefaultInlineCreateSort);
1154
1166
  },
1155
1167
 
1156
1168
  isImageUrl: function (oPropertyAnnotations) {
@@ -1191,7 +1203,7 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
1191
1203
  if (oImageUrl.Path) {
1192
1204
  var sPrefix = "{parts: [{path: '" + oImageUrl.Path + "'}, {value: '" + sAppComponentName + "'}";
1193
1205
  var sInfix = bSuppressIcons ? ", {value: true}" : "";
1194
- var sPostfix = "], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.formatImageUrl'}";
1206
+ var sPostfix = "], formatter: 'formatImageUrl'}";
1195
1207
  return sPrefix + sInfix + sPostfix;
1196
1208
  }
1197
1209
  // Apply
@@ -2639,9 +2651,9 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
2639
2651
  * - Boolean value or
2640
2652
  * - Expression binding
2641
2653
  */
2642
- isRelatedEntityCreatable: function (oInterface, oSourceEntitySet, oRelatedEntitySet, aSubPages, oFacet, oSections, bIsDraftEnabled, oCreateWithParameterDialog, sTableType) {
2654
+ isRelatedEntityCreatable: function (oInterface, oSourceEntitySet, oRelatedEntitySet, aSubPages, oFacet, oGlobalSettings, bIsDraftEnabled, oCreateWithParameterDialog, sTableType) {
2643
2655
  var bHasSubObjectPage = oAnnotationHelper.hasSubObjectPage(oRelatedEntitySet, aSubPages),
2644
- sTableCreationMode = oAnnotationHelper.getCreationMode(oFacet, oSections),
2656
+ sTableCreationMode = oAnnotationHelper.getCreationMode(oFacet, oGlobalSettings),
2645
2657
  bIsInlineCreationMode = ["inline", "creationRows", "creationRowsHiddenInEditMode"].includes(sTableCreationMode);
2646
2658
 
2647
2659
  if (bHasSubObjectPage || bIsInlineCreationMode || oCreateWithParameterDialog) {
@@ -3227,7 +3239,7 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
3227
3239
 
3228
3240
  sParts = buildPart(oInterface, dataPoint.Value) + ", " + buildPart(oInterface, dataPoint.TargetValue) + ", " + buildPart(oInterface, mUoM);
3229
3241
 
3230
- var sDisplayValueExpression = "{ parts: [" + sParts + "], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.formatDisplayValueForProgressIndicator' }";
3242
+ var sDisplayValueExpression = "{ parts: [" + sParts + "], formatter: 'formatDisplayValueForProgressIndicator' }";
3231
3243
  return sDisplayValueExpression;
3232
3244
  },
3233
3245
 
@@ -3699,7 +3711,7 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
3699
3711
  // More precisely: {path: '_templPrivMessage>/'} is included to listen to changes of the Message model
3700
3712
  // {path: ''} is included to listen to change of the row context. This is in particular important for scrolling in grid tables (recommendation from ui5).
3701
3713
  // sCriticalityPiece is needed to listen to changes of the criticality property. Note that there is a gap in case the criticality actually should be evaluated from the lineItemQualifier
3702
- return "{parts: [" + sDraftParts + ", " + sMessageParts + sCriticalityPiece + ", {path: ''}], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.setInfoHighlight'}";
3714
+ return "{parts: [" + sDraftParts + ", " + sMessageParts + sCriticalityPiece + ", {path: ''}], formatter: 'setInfoHighlight'}";
3703
3715
  },
3704
3716
 
3705
3717
  getDataFieldLabel: function (oInterface, oDataField) {
@@ -3899,7 +3911,7 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
3899
3911
  SmartLinks expect a boolean value for forceLinkRendering which is not covered in this function, as semanticObjectController covers all cases
3900
3912
  */
3901
3913
  hasQuickViewFacet: function (oEntitySet, oTargetEntities) {
3902
- return oTargetEntities[oEntitySet.entityType].sForceLinkRendering; //Example return value '\\{"ProductForEdit":"true"\\}'
3914
+ return ManagedObject.escapeSettingsValue(oTargetEntities[oEntitySet.entityType].sForceLinkRendering); //Example return value '\\{"ProductForEdit":"true"\\}'
3903
3915
  },
3904
3916
 
3905
3917
  /*
@@ -66,10 +66,6 @@ sap.ui.define([
66
66
  }
67
67
  },
68
68
 
69
- getIconForStreamForTableCells: function(oEntitySet, oDataField){
70
- return "{parts: [{path: '__metadata/content_type'}], formatter: 'sap.ui.core.IconPool.getIconForMimeType'}";
71
- },
72
-
73
69
  getIconForStream: function(oEntitySet, oDataField){
74
70
  var sNavigationProperty = oAnnotationHelperStreamSupport.getStreamEntitySet(oDataField);
75
71
  return sNavigationProperty ? "{= ${_templPriv>/generic/controlProperties/fileUploader/" + sNavigationProperty + "/icon}}" : "{= ${_templPriv>/generic/controlProperties/fileUploader/" + oEntitySet.name + "/icon}}";
@@ -1,5 +1,5 @@
1
- sap.ui.define(["sap/base/security/encodeXML", "sap/ui/core/format/NumberFormat", "sap/ui/core/message/MessageType", "sap/suite/ui/generic/template/genericUtilities/FeLogger", "sap/suite/ui/generic/template/genericUtilities/testableHelper", "sap/suite/ui/generic/template/genericUtilities/utils"
2
- ], function (encodeXML, NumberFormat, MessageType, FeLogger, testableHelper, utils) {
1
+ sap.ui.define(["sap/ui/core/format/NumberFormat", "sap/ui/core/message/MessageType", "sap/suite/ui/generic/template/genericUtilities/FeLogger", "sap/suite/ui/generic/template/genericUtilities/testableHelper", "sap/suite/ui/generic/template/genericUtilities/utils"
2
+ ], function (NumberFormat, MessageType, FeLogger, testableHelper, utils) {
3
3
  "use strict";
4
4
 
5
5
  var oLogger = new FeLogger("js.RuntimeFormatters").getLogger();
@@ -252,10 +252,6 @@ sap.ui.define(["sap/base/security/encodeXML", "sap/ui/core/format/NumberFormat",
252
252
  }
253
253
 
254
254
  return sDisplayValue;
255
- },
256
-
257
- encodeHTML: function (HTMLString) {
258
- return encodeXML(HTMLString);
259
255
  }
260
256
  };
261
257
 
@@ -0,0 +1,28 @@
1
+ sap.ui.define("sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator",
2
+ ["sap/suite/ui/generic/template/js/RuntimeFormatters"], function (RuntimeFormatters) {
3
+ "use strict";
4
+ /**
5
+ * Note: This module is just a wrapper for "RuntimeFormatters.formatDisplayValueForProgressIndicator" function.
6
+ *
7
+ * Currently, there's a limitation from UI5 core on the formatter functions.
8
+ * Earlier, the "this" keyword on the formatter function referred to the UI5 control.
9
+ * But, currently (UI5 2.0) the "this" keyword refers to the formatter module.
10
+ *
11
+ * As a temporary work-around, core team has suggested us to keep each formatter function in a separate module
12
+ * and export the formatter function from the module. In this way, the "this" keyword refers to the UI5 control.
13
+ *
14
+ * Once the limitation is resolved by core team, this module can be removed
15
+ * and "RuntimeFormatter" functions can be directly invoked from XML templates
16
+ */
17
+
18
+ /**
19
+ * @parameter {string} sValue A string containing the value
20
+ * @parameter {string} sTarget A string containing the target value
21
+ * @parameter {string} sUoM A string containing the unit of measure
22
+ * @returns {string} A string containing the text that will be used in the display value of the Progress Indicator
23
+ */
24
+
25
+ return function (sValue, sTarget, sUoM) {
26
+ return RuntimeFormatters.formatDisplayValueForProgressIndicator.call(this, sValue, sTarget, sUoM);
27
+ };
28
+ });
@@ -0,0 +1,21 @@
1
+ sap.ui.define("sap/suite/ui/generic/template/js/formatters/formatImageUrl",
2
+ ["sap/suite/ui/generic/template/js/RuntimeFormatters"], function (RuntimeFormatters) {
3
+ "use strict";
4
+ /**
5
+ * Note: This module is just a wrapper for "RuntimeFormatters.formatImageUrl" function.
6
+ *
7
+ * Currently, there's a limitation from UI5 core on the formatter functions.
8
+ * Earlier, the "this" keyword on the formatter function referred to the UI5 control.
9
+ * But, currently (UI5 2.0) the "this" keyword refers to the formatter module.
10
+ *
11
+ * As a temporary work-around, core team has suggested us to keep each formatter function in a separate module
12
+ * and export the formatter function from the module. In this way, the "this" keyword refers to the UI5 control.
13
+ *
14
+ * Once the limitation is resolved by core team, this module can be removed
15
+ * and "RuntimeFormatter" functions can be directly invoked from XML templates
16
+ */
17
+
18
+ return function (sImageUrl, sAppComponentName, bSuppressIcons) {
19
+ return RuntimeFormatters.formatImageUrl.call(this, sImageUrl, sAppComponentName, bSuppressIcons);
20
+ };
21
+ });
@@ -0,0 +1,21 @@
1
+ sap.ui.define("sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorAggregateCount",
2
+ ["sap/suite/ui/generic/template/js/RuntimeFormatters"], function (RuntimeFormatters) {
3
+ "use strict";
4
+ /**
5
+ * Note: This module is just a wrapper for "RuntimeFormatters.formatRatingIndicatorAggregateCount" function.
6
+ *
7
+ * Currently, there's a limitation from UI5 core on the formatter functions.
8
+ * Earlier, the "this" keyword on the formatter function referred to the UI5 control.
9
+ * But, currently (UI5 2.0) the "this" keyword refers to the formatter module.
10
+ *
11
+ * As a temporary work-around, core team has suggested us to keep each formatter function in a separate module
12
+ * and export the formatter function from the module. In this way, the "this" keyword refers to the UI5 control.
13
+ *
14
+ * Once the limitation is resolved by core team, this module can be removed
15
+ * and "RuntimeFormatter" functions can be directly invoked from XML templates
16
+ */
17
+
18
+ return function (vValue) {
19
+ return RuntimeFormatters.formatRatingIndicatorAggregateCount.call(this, vValue);
20
+ };
21
+ });
@@ -0,0 +1,21 @@
1
+ sap.ui.define("sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorFooterText",
2
+ ["sap/suite/ui/generic/template/js/RuntimeFormatters"], function (RuntimeFormatters) {
3
+ "use strict";
4
+ /**
5
+ * Note: This module is just a wrapper for "RuntimeFormatters.formatRatingIndicatorFooterText" function.
6
+ *
7
+ * Currently, there's a limitation from UI5 core on the formatter functions.
8
+ * Earlier, the "this" keyword on the formatter function referred to the UI5 control.
9
+ * But, currently (UI5 2.0) the "this" keyword refers to the formatter module.
10
+ *
11
+ * As a temporary work-around, core team has suggested us to keep each formatter function in a separate module
12
+ * and export the formatter function from the module. In this way, the "this" keyword refers to the UI5 control.
13
+ *
14
+ * Once the limitation is resolved by core team, this module can be removed
15
+ * and "RuntimeFormatter" functions can be directly invoked from XML templates
16
+ */
17
+
18
+ return function (vValue, vTargetValue) {
19
+ return RuntimeFormatters.formatRatingIndicatorFooterText.call(this, vValue, vTargetValue);
20
+ };
21
+ });
@@ -0,0 +1,21 @@
1
+ sap.ui.define("sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorSubTitle",
2
+ ["sap/suite/ui/generic/template/js/RuntimeFormatters"], function (RuntimeFormatters) {
3
+ "use strict";
4
+ /**
5
+ * Note: This module is just a wrapper for "RuntimeFormatters.formatRatingIndicatorSubTitle" function.
6
+ *
7
+ * Currently, there's a limitation from UI5 core on the formatter functions.
8
+ * Earlier, the "this" keyword on the formatter function referred to the UI5 control.
9
+ * But, currently (UI5 2.0) the "this" keyword refers to the formatter module.
10
+ *
11
+ * As a temporary work-around, core team has suggested us to keep each formatter function in a separate module
12
+ * and export the formatter function from the module. In this way, the "this" keyword refers to the UI5 control.
13
+ *
14
+ * Once the limitation is resolved by core team, this module can be removed
15
+ * and "RuntimeFormatter" functions can be directly invoked from XML templates
16
+ */
17
+
18
+ return function (iSampleSizeValue) {
19
+ return RuntimeFormatters.formatRatingIndicatorSubTitle.call(this, iSampleSizeValue);
20
+ };
21
+ });
@@ -0,0 +1,21 @@
1
+ sap.ui.define("sap/suite/ui/generic/template/js/formatters/setInfoHighlight",
2
+ ["sap/suite/ui/generic/template/js/RuntimeFormatters"], function (RuntimeFormatters) {
3
+ "use strict";
4
+ /**
5
+ * Note: This module is just a wrapper for "RuntimeFormatters.setInfoHighlight" function.
6
+ *
7
+ * Currently, there's a limitation from UI5 core on the formatter functions.
8
+ * Earlier, the "this" keyword on the formatter function referred to the UI5 control.
9
+ * But, currently (UI5 2.0) the "this" keyword refers to the formatter module.
10
+ *
11
+ * As a temporary work-around, core team has suggested us to keep each formatter function in a separate module
12
+ * and export the formatter function from the module. In this way, the "this" keyword refers to the UI5 control.
13
+ *
14
+ * Once the limitation is resolved by core team, this module can be removed
15
+ * and "RuntimeFormatter" functions can be directly invoked from XML templates
16
+ */
17
+
18
+ return function (bIsActiveEntity, bHasActiveEntity, bEditable) {
19
+ return RuntimeFormatters.setInfoHighlight.call(this, bIsActiveEntity, bHasActiveEntity, bEditable);
20
+ };
21
+ });
@@ -0,0 +1,26 @@
1
+ sap.ui.define("sap/suite/ui/generic/template/js/formatters/setRowNavigated",
2
+ ["sap/suite/ui/generic/template/js/RuntimeFormatters"], function (RuntimeFormatters) {
3
+ "use strict";
4
+ /**
5
+ * Note: This module is just a wrapper for "RuntimeFormatters.setRowNavigated" function.
6
+ *
7
+ * Currently, there's a limitation from UI5 core on the formatter functions.
8
+ * Earlier, the "this" keyword on the formatter function referred to the UI5 control.
9
+ * But, currently (UI5 2.0) the "this" keyword refers to the formatter module.
10
+ *
11
+ * As a temporary work-around, core team has suggested us to keep each formatter function in a separate module
12
+ * and export the formatter function from the module. In this way, the "this" keyword refers to the UI5 control.
13
+ *
14
+ * Once the limitation is resolved by core team, this module can be removed
15
+ * and "RuntimeFormatter" functions can be directly invoked from XML templates
16
+ */
17
+
18
+ /**
19
+ * Return the value for the navigated property of the row. Works for both FCL and non-FCL apps.
20
+ * @param {string} sBindingPath of the row that is used to navigate to OP or Sub-OP
21
+ * @return {boolean} true/false to set/unset the property
22
+ */
23
+ return function (sBindingPath) {
24
+ return RuntimeFormatters.setRowNavigated.call(this, sBindingPath);
25
+ };
26
+ });