@sapui5/sap.suite.ui.generic.template 1.124.1 → 1.125.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 (316) 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/controller/ControllerImplementation.js +4 -2
  4. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/FilterBarController.js +1 -2
  5. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/{KpiCardController.js → KpiCard.controller.js} +4 -8
  6. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/KpiTagController.js +1 -1
  7. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ar.properties +2 -0
  8. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_bg.properties +2 -0
  9. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ca.properties +2 -0
  10. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cnr.properties +2 -0
  11. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cs.properties +2 -0
  12. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cy.properties +2 -0
  13. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_da.properties +2 -0
  14. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_de.properties +4 -2
  15. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_el.properties +2 -0
  16. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en.properties +2 -0
  17. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_GB.properties +2 -0
  18. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_US_saprigi.properties +2 -0
  19. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_es.properties +2 -0
  20. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_es_MX.properties +2 -0
  21. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_et.properties +2 -0
  22. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fi.properties +2 -0
  23. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fr.properties +2 -0
  24. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fr_CA.properties +2 -0
  25. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hi.properties +2 -0
  26. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hr.properties +2 -0
  27. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hu.properties +5 -3
  28. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_id.properties +2 -0
  29. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_it.properties +2 -0
  30. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_iw.properties +2 -0
  31. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ja.properties +2 -0
  32. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_kk.properties +2 -0
  33. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ko.properties +2 -0
  34. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_lt.properties +2 -0
  35. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_lv.properties +2 -0
  36. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_mk.properties +2 -0
  37. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ms.properties +2 -0
  38. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_nl.properties +2 -0
  39. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_no.properties +2 -0
  40. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pl.properties +2 -0
  41. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pt.properties +2 -0
  42. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pt_PT.properties +2 -0
  43. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ro.properties +2 -0
  44. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ru.properties +2 -0
  45. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sh.properties +29 -27
  46. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sk.properties +2 -0
  47. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sl.properties +2 -0
  48. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sr.properties +2 -0
  49. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sv.properties +2 -0
  50. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_th.properties +2 -0
  51. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_tr.properties +2 -0
  52. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_uk.properties +2 -0
  53. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_vi.properties +2 -0
  54. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_zh_CN.properties +2 -0
  55. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_zh_TW.properties +2 -0
  56. package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
  57. package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil.js +14 -9
  58. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/KpiCardSizeM.view.xml +1 -1
  59. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/FilterContainer.fragment.xml +7 -2
  60. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/SmartFilterBar.fragment.xml +1 -2
  61. package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
  62. package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +27 -7
  63. package/src/sap/suite/ui/generic/template/ListReport/controller/IappStateHandler.js +9 -3
  64. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ar.properties +2 -0
  65. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_bg.properties +2 -0
  66. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ca.properties +2 -0
  67. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cnr.properties +2 -0
  68. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cs.properties +2 -0
  69. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cy.properties +2 -0
  70. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_da.properties +2 -0
  71. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_de.properties +3 -1
  72. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_el.properties +2 -0
  73. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en.properties +2 -0
  74. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_GB.properties +2 -0
  75. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saprigi.properties +2 -0
  76. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es.properties +2 -0
  77. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es_MX.properties +2 -0
  78. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_et.properties +2 -0
  79. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fi.properties +2 -0
  80. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr.properties +2 -0
  81. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr_CA.properties +2 -0
  82. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hi.properties +2 -0
  83. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hr.properties +2 -0
  84. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hu.properties +2 -0
  85. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_id.properties +2 -0
  86. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_it.properties +2 -0
  87. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_iw.properties +2 -0
  88. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ja.properties +2 -0
  89. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_kk.properties +2 -0
  90. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ko.properties +2 -0
  91. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lt.properties +2 -0
  92. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lv.properties +2 -0
  93. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_mk.properties +2 -0
  94. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ms.properties +2 -0
  95. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_nl.properties +2 -0
  96. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_no.properties +2 -0
  97. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pl.properties +2 -0
  98. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt.properties +2 -0
  99. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt_PT.properties +2 -0
  100. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ro.properties +2 -0
  101. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ru.properties +2 -0
  102. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sh.properties +16 -14
  103. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sk.properties +2 -0
  104. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sl.properties +2 -0
  105. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sr.properties +2 -0
  106. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sv.properties +2 -0
  107. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_th.properties +2 -0
  108. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_tr.properties +2 -0
  109. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_uk.properties +2 -0
  110. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_vi.properties +2 -0
  111. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_CN.properties +2 -0
  112. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_TW.properties +2 -0
  113. package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
  114. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/MultiEditDialog.fragment.xml +2 -2
  115. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartFilterBar.fragment.xml +2 -2
  116. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartList.fragment.xml +3 -3
  117. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +15 -10
  118. package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +14 -11
  119. package/src/sap/suite/ui/generic/template/ObjectPage/controller/PasteHandler.js +36 -11
  120. package/src/sap/suite/ui/generic/template/ObjectPage/controller/SectionTitleHandler.js +4 -8
  121. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ar.properties +3 -0
  122. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_bg.properties +3 -0
  123. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ca.properties +3 -0
  124. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cnr.properties +3 -0
  125. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cs.properties +3 -0
  126. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cy.properties +3 -0
  127. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_da.properties +3 -0
  128. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_el.properties +3 -0
  129. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en.properties +3 -0
  130. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_GB.properties +3 -0
  131. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saprigi.properties +3 -0
  132. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es.properties +3 -0
  133. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es_MX.properties +3 -0
  134. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_et.properties +3 -0
  135. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fi.properties +3 -0
  136. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr.properties +3 -0
  137. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr_CA.properties +3 -0
  138. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hi.properties +3 -0
  139. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hr.properties +3 -0
  140. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hu.properties +3 -0
  141. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_id.properties +3 -0
  142. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_it.properties +3 -0
  143. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_iw.properties +3 -0
  144. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ja.properties +3 -0
  145. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_kk.properties +3 -0
  146. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ko.properties +3 -0
  147. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lt.properties +3 -0
  148. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lv.properties +3 -0
  149. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_mk.properties +3 -0
  150. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ms.properties +3 -0
  151. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_nl.properties +3 -0
  152. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_no.properties +3 -0
  153. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pl.properties +3 -0
  154. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt.properties +3 -0
  155. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt_PT.properties +3 -0
  156. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ro.properties +3 -0
  157. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ru.properties +3 -0
  158. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sh.properties +27 -24
  159. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sk.properties +3 -0
  160. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sl.properties +3 -0
  161. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sr.properties +3 -0
  162. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sv.properties +3 -0
  163. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_th.properties +3 -0
  164. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_tr.properties +3 -0
  165. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_uk.properties +3 -0
  166. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_vi.properties +3 -0
  167. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_CN.properties +3 -0
  168. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_TW.properties +3 -0
  169. package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
  170. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/CRUDActionButtons.fragment.xml +1 -1
  171. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml +2 -2
  172. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Facet.fragment.xml +2 -2
  173. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderContainer.fragment.xml +4 -11
  174. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderImage.fragment.xml +4 -0
  175. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/MultipleViewsSingleTableMode.fragment.xml +3 -2
  176. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/PageLevelCommands.fragment.xml +2 -2
  177. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Sections.fragment.xml +3 -2
  178. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SideContentActionButton.fragment.xml +2 -2
  179. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +19 -14
  180. package/src/sap/suite/ui/generic/template/QuickCreate/i18n/i18n_sh.properties +1 -1
  181. package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
  182. package/src/sap/suite/ui/generic/template/QuickCreate/view/QuickCreate.view.xml +20 -17
  183. package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
  184. package/src/sap/suite/ui/generic/template/QuickView/view/QuickView.view.xml +42 -40
  185. package/src/sap/suite/ui/generic/template/app/blankAnalyticalListPage/manifest.json +0 -4
  186. package/src/sap/suite/ui/generic/template/designtime/AnalyticalListPage.designtime.js +2 -2
  187. package/src/sap/suite/ui/generic/template/designtime/ListReport.designtime.js +3 -3
  188. package/src/sap/suite/ui/generic/template/designtime/ObjectPage.designtime.js +2 -2
  189. package/src/sap/suite/ui/generic/template/detailTemplates/i18n/i18n_sh.properties +1 -1
  190. package/src/sap/suite/ui/generic/template/extensionAPI/extensionAPI.js +1 -2
  191. package/src/sap/suite/ui/generic/template/fragments/AnalyticalTableColumns.fragment.xml +2 -2
  192. package/src/sap/suite/ui/generic/template/fragments/ContactDetails.fragment.xml +7 -10
  193. package/src/sap/suite/ui/generic/template/fragments/FileUploader.fragment.xml +8 -4
  194. package/src/sap/suite/ui/generic/template/fragments/GridTableCells.fragment.xml +2 -11
  195. package/src/sap/suite/ui/generic/template/fragments/GridTableColumns.fragment.xml +2 -2
  196. package/src/sap/suite/ui/generic/template/fragments/HeaderDataPointContent.fragment.xml +0 -11
  197. package/src/sap/suite/ui/generic/template/fragments/HeaderForm.fragment.xml +2 -2
  198. package/src/sap/suite/ui/generic/template/fragments/HeaderFormDataField.fragment.xml +0 -12
  199. package/src/sap/suite/ui/generic/template/fragments/HeaderRatingIndicator.fragment.xml +6 -1
  200. package/src/sap/suite/ui/generic/template/fragments/MessagePage.view.xml +6 -2
  201. package/src/sap/suite/ui/generic/template/fragments/ProgressIndicator.fragment.xml +2 -0
  202. package/src/sap/suite/ui/generic/template/fragments/QuickViewSmartForm.fragment.xml +2 -2
  203. package/src/sap/suite/ui/generic/template/fragments/RatingIndicatorFacet.fragment.xml +2 -0
  204. package/src/sap/suite/ui/generic/template/fragments/SmartControlContextMenu.fragment.xml +3 -2
  205. package/src/sap/suite/ui/generic/template/fragments/SmartFormDataField.fragment.xml +2 -23
  206. package/src/sap/suite/ui/generic/template/fragments/SmartTableUiTableCommons.fragment.xml +5 -1
  207. package/src/sap/suite/ui/generic/template/fragments/TableCell.fragment.xml +7 -12
  208. package/src/sap/suite/ui/generic/template/fragments/TableColumnListItem.fragment.xml +9 -5
  209. package/src/sap/suite/ui/generic/template/fragments/TableColumns.fragment.xml +2 -2
  210. package/src/sap/suite/ui/generic/template/fragments/TreeTableColumns.fragment.xml +4 -2
  211. package/src/sap/suite/ui/generic/template/genericUtilities/utils.js +25 -1
  212. package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +26 -15
  213. package/src/sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport.js +0 -4
  214. package/src/sap/suite/ui/generic/template/js/RuntimeFormatters.js +2 -6
  215. package/src/sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator.js +28 -0
  216. package/src/sap/suite/ui/generic/template/js/formatters/formatImageUrl.js +21 -0
  217. package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorAggregateCount.js +21 -0
  218. package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorFooterText.js +21 -0
  219. package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorSubTitle.js +21 -0
  220. package/src/sap/suite/ui/generic/template/js/formatters/setInfoHighlight.js +21 -0
  221. package/src/sap/suite/ui/generic/template/js/formatters/setRowNavigated.js +26 -0
  222. package/src/sap/suite/ui/generic/template/lib/AdaptiveCardHelper.js +115 -29
  223. package/src/sap/suite/ui/generic/template/lib/AppComponent.js +5 -3
  224. package/src/sap/suite/ui/generic/template/lib/Application.js +1 -1
  225. package/src/sap/suite/ui/generic/template/lib/CRUDManager.js +7 -5
  226. package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +9 -1
  227. package/src/sap/suite/ui/generic/template/lib/ComponentUtils.js +16 -12
  228. package/src/sap/suite/ui/generic/template/lib/ContactCardDetailHelper.js +21 -3
  229. package/src/sap/suite/ui/generic/template/lib/FlexibleColumnLayoutHandler.js +11 -4
  230. package/src/sap/suite/ui/generic/template/lib/MessageUtils.js +4 -3
  231. package/src/sap/suite/ui/generic/template/lib/ShareUtils.js +7 -127
  232. package/src/sap/suite/ui/generic/template/lib/TemplateAssembler.js +5 -3
  233. package/src/sap/suite/ui/generic/template/lib/TemplateComponent.js +5 -3
  234. package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +3 -0
  235. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +5 -1
  236. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +5 -1
  237. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +5 -1
  238. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +5 -1
  239. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +5 -1
  240. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +6 -2
  241. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +6 -2
  242. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +5 -1
  243. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +6 -2
  244. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +5 -1
  245. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +6 -2
  246. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +6 -2
  247. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +5 -1
  248. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +7 -3
  249. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +5 -1
  250. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +5 -1
  251. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +5 -1
  252. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +5 -1
  253. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +5 -1
  254. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +6 -2
  255. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +5 -1
  256. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +6 -2
  257. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +5 -1
  258. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +5 -1
  259. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +5 -1
  260. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +5 -1
  261. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +6 -2
  262. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +5 -1
  263. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +5 -1
  264. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +5 -1
  265. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +6 -2
  266. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +5 -1
  267. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +6 -2
  268. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +5 -1
  269. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +6 -2
  270. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +5 -1
  271. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +6 -2
  272. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +5 -1
  273. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +50 -46
  274. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +5 -1
  275. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +6 -2
  276. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +5 -1
  277. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +5 -1
  278. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +6 -2
  279. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +6 -2
  280. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +5 -1
  281. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +6 -2
  282. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +5 -1
  283. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +6 -2
  284. package/src/sap/suite/ui/generic/template/lib/insights/InsightsCardHelper.js +12 -2
  285. package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +38 -38
  286. package/src/sap/suite/ui/generic/template/lib/navigation/routingHelper.js +8 -9
  287. package/src/sap/suite/ui/generic/template/lib/navigation/startupParameterHelper.js +48 -44
  288. package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartChartHandler.js +7 -9
  289. package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +18 -6
  290. package/src/sap/suite/ui/generic/template/library.js +1 -1
  291. package/src/sap/suite/ui/generic/template/listTemplates/controller/DetailController.js +16 -1
  292. package/src/sap/suite/ui/generic/template/listTemplates/filterSettingsPreparationHelper.js +1 -1
  293. package/src/sap/suite/ui/generic/template/listTemplates/fragments/ActionsFragment.fragment.xml +7 -2
  294. package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +19 -10
  295. package/src/sap/suite/ui/generic/template/listTemplates/i18n/i18n_sh.properties +1 -1
  296. package/src/sap/suite/ui/generic/template/themes/base/ObjectPage.less +1 -1
  297. package/src/sap/suite/ui/generic/template/themes/sap_belize/library.source.less +10 -1
  298. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ALPConstants.less +47 -0
  299. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/AnalyticalListPage.less +475 -0
  300. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ListReport.less +33 -0
  301. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ObjectPage.less +391 -0
  302. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/QuickCreate.less +96 -0
  303. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/QuickView.less +108 -0
  304. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/alr_zen.css +136 -0
  305. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/base.less +7 -0
  306. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/crosstab_library.css +20 -0
  307. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/readme.txt +4 -0
  308. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/sort_asc.gif +0 -0
  309. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/sort_desc.gif +0 -0
  310. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/sort_none.gif +0 -0
  311. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/treenode_collapse.gif +0 -0
  312. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/treenode_expand.gif +0 -0
  313. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/library.source.less +9 -0
  314. package/src/sap/suite/ui/generic/template/themes/sap_belize_hcb/library.source.less +10 -1
  315. package/src/sap/suite/ui/generic/template/themes/sap_belize_hcw/library.source.less +10 -1
  316. package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/ObjectPage.less +1 -1
@@ -2,7 +2,7 @@
2
2
  xmlns:sfo="sap.ui.comp.smartform" xmlns:smartMultiInput="sap.ui.comp.smartmultiinput" xmlns:layoutData="sap.ui.layout" xmlns:fe="sap.suite.ui.generic.template.genericUtilities"
3
3
  xmlns:custom="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
4
4
  xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
5
- template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper'}">
5
+ template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper', StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
6
6
 
7
7
  <!-- @classdesc @name: Name: sap.suite.ui.generic.template.fragments.SmartFormDataField.fragment.xml
8
8
  @description: This fragment contains label value pairs for the smart form
@@ -11,7 +11,7 @@
11
11
  <!-- Prepare facetId for stableId creation
12
12
  Note: currently only used for AddressFacet, but intentionally placed here to be used by all other stable ids in future
13
13
  -->
14
- <template:with path="parameter>/" helper="sap.suite.ui.generic.template.js.StableIdHelper.preparePathForStableId" var="facetId">
14
+ <template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="facetId">
15
15
  <template:if test="{= ${facetId>}.buildStableId({ type:'ObjectPage', subType:'StandardFacet', sRecordType: ${facet>RecordType}, sAnnotationPath: ${facet>Target/AnnotationPath} , sAnnotationId: ${facet>ID/String} }) }"/>
16
16
 
17
17
  <template:with path="groupFacet>Target" helper="AHModel.gotoEntitySet" var="targetEntitySet">
@@ -66,17 +66,6 @@
66
66
  <sfi:customData>
67
67
  <core:CustomData key="defaultTextInEditModeSource" value="{path: 'dataFieldValue>', formatter: 'AH.setValidationForValueList'}" />
68
68
  </sfi:customData>
69
- <template:if test="{= ${connectedFieldElement>Criticality} }">
70
- <sfi:controlProposal>
71
- <sfi:ControlProposal>
72
- <sfi:objectStatus>
73
- <sfi:ObjectStatus
74
- criticality="{path: 'connectedFieldElement>Criticality', formatter: 'AHModel.simplePath'}"
75
- criticalityRepresentationType="{= (${connectedFieldElement>CriticalityRepresentation/EnumMember} === 'com.sap.vocabularies.UI.v1.CriticalityRepresentationType/WithoutIcon') ? 'WithoutIcon' : 'WithIcon'}" />
76
- </sfi:objectStatus>
77
- </sfi:ControlProposal>
78
- </sfi:controlProposal>
79
- </template:if>
80
69
  <sfi:customData>
81
70
  <template:with path="connectedFieldElement>Value" helper="AHModel.resolvePath" var="connectedFieldElementValue">
82
71
  <core:CustomData key="SideEffectSourcePropertyType"
@@ -194,16 +183,6 @@
194
183
  <smartlink:SemanticObjectController ignoredFields="{parts: [{path: 'quickView>/'}, {path: 'dataField>'}], formatter: 'AH.disableSemanticObjectLinksOnPopups'}" />
195
184
  </sfi:semanticObjectController>
196
185
  </template:if>
197
- <template:if test="{= ${dataField>Criticality} }">
198
- <sfi:controlProposal>
199
- <sfi:ControlProposal>
200
- <sfi:objectStatus>
201
- <sfi:ObjectStatus criticality="{path: 'dataField>Criticality', formatter: 'AHModel.simplePath'}"
202
- criticalityRepresentationType="{= (${dataField>CriticalityRepresentation/EnumMember} === 'com.sap.vocabularies.UI.v1.CriticalityRepresentationType/WithoutIcon') ? 'WithoutIcon' : 'WithIcon'}"/>
203
- </sfi:objectStatus>
204
- </sfi:ControlProposal>
205
- </sfi:controlProposal>
206
- </template:if>
207
186
  <sfi:customData>
208
187
  <core:CustomData key="SideEffectSourcePropertyType"
209
188
  value="{parts: [{path: 'dataFieldValue>name'}, {path: 'parameter>/isDraftEnabled'}, {path: 'parameter>/metaModel'}, {path: 'parameter>/entityType'}], formatter: 'AH.getSideEffectSourcePropertyType'}" />
@@ -11,8 +11,12 @@
11
11
  </table:dependents>
12
12
  <table:rowSettingsTemplate>
13
13
  <table:RowSettings
14
+ core:require="{
15
+ setRowNavigated: 'sap/suite/ui/generic/template/js/formatters/setRowNavigated',
16
+ setInfoHighlight: 'sap/suite/ui/generic/template/js/formatters/setInfoHighlight'
17
+ }"
14
18
  highlight="{= ${parameter>/templateSpecific/rowHighligths} || ${parts: [{path: 'entityType>'}, {path: 'parameter>/treeNode'}, {path: 'entitySet>name'}, {path: 'parameter>/checkIsDraftEnabled'}], formatter: 'AH.setRowHighlight'} }"
15
- navigated="{parts: [{path: '_templPriv>/generic/currentActiveChildContext'}, {path: ''}], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.setRowNavigated'}" />
19
+ navigated="{parts: [{path: '_templPriv>/generic/currentActiveChildContext'}, {path: ''}], formatter: 'setRowNavigated'}" />
16
20
  </table:rowSettingsTemplate>
17
21
  <table:contextMenu>
18
22
  <core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.SmartControlContextMenu" type="XML"/>
@@ -14,17 +14,6 @@
14
14
  <smartField:configuration>
15
15
  <smartField:Configuration displayBehaviour="{parts: [{path: 'dataField>'}, {path: 'entitySet>'}, {path: 'dataFieldTarget>Data'}], formatter: 'AH.getTextArrangementForSCFields'}"/>
16
16
  </smartField:configuration>
17
- <template:if test="{= ${dataField>Criticality}}">
18
- <smartField:controlProposal>
19
- <smartField:ControlProposal>
20
- <smartField:objectStatus>
21
- <smartField:ObjectStatus criticality="{path: 'dataField>Criticality', formatter: 'AHModel.simplePath'}"
22
- criticalityRepresentationType="{= (${dataField>CriticalityRepresentation/EnumMember} === 'com.sap.vocabularies.UI.v1.CriticalityRepresentationType/WithoutIcon') ? 'WithoutIcon' : 'WithIcon'}"
23
- ariaLabelledBy="{columnId>id}"/>
24
- </smartField:objectStatus>
25
- </smartField:ControlProposal>
26
- </smartField:controlProposal>
27
- </template:if>
28
17
  </smartField:SmartField>
29
18
  </template:then>
30
19
  <template:elseif test="{parts: [{path: 'listEntitySet>'}, {path: 'dataField>'}], formatter: 'AHStream.checkIfEntityOrAssociationHasStreamEnabled'}">
@@ -60,7 +49,9 @@
60
49
  ariaLabelledBy="{columnId>id}"/>
61
50
  </template:else>
62
51
  </template:if>
63
- <FormattedText htmlText="&lt;em&gt;{path:'i18n>NEW_OBJECT', formatter:'sap.suite.ui.generic.template.js.RuntimeFormatters.encodeHTML'}&lt;/em&gt;"
52
+ <FormattedText
53
+ core:require="{encodeXML: 'sap/base/security/encodeXML'}"
54
+ htmlText="&lt;em&gt;{path:'i18n>NEW_OBJECT', formatter:'encodeXML'}&lt;/em&gt;"
64
55
  visible="{parts: [{path: 'dataFieldValue>'}, {path: 'dataField>'}, {path: 'entityType>'}], formatter: 'AH.getHeaderVisibility'}"/>
65
56
  <Text class="sapUiTinyMarginTop"
66
57
  renderWhitespace="true"
@@ -90,7 +81,9 @@
90
81
  <template:if test="{path: 'dataFieldValue>', formatter: 'AH.isImageUrl'}">
91
82
  <!-- handle data field with images -->
92
83
  <template:then>
84
+ <!-- The formatter 'sap/suite/ui/generic/template/js/formatters/formatImageUrl' is used by 'AH.formatImageUrl' -->
93
85
  <Avatar
86
+ core:require="{formatImageUrl: 'sap/suite/ui/generic/template/js/formatters/formatImageUrl'}"
94
87
  src="{parts:[{path: 'dataField>Value'}, {path: 'parameter>/appComponentName'}], formatter: 'AH.formatImageUrl'}"
95
88
  tooltip="{path: 'dataFieldValue>com.sap.vocabularies.Common.v1.Text', formatter: 'AHModel.format'}"
96
89
  displaySize="S"
@@ -195,7 +188,9 @@
195
188
  <template:elseif test="{= ${dataFieldTarget>Visualization/EnumMember} === 'com.sap.vocabularies.UI.v1.VisualizationType/Progress'}">
196
189
  <template:with path="dataFieldTarget>Value" helper="AHModel.resolvePath" var="value">
197
190
  <VBox renderType="Bare">
191
+ <!-- The formatter 'formatDisplayValueForProgressIndicator' is used by 'AH.buildExpressionForProgressIndicatorDisplayValue' -->
198
192
  <ProgressIndicator
193
+ core:require="{formatDisplayValueForProgressIndicator: 'sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator'}"
199
194
  binding="{= ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/') > -1 ? '{' + ${path: 'dataField>Target/AnnotationPath'}.slice(0, ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/')) + '}' : null}"
200
195
  percentValue="{ parts: [{path:'dataFieldTarget>'}, {path:'value>'}], formatter: 'AH.buildExpressionForProgressIndicatorPercentValue' }"
201
196
  displayValue="{ parts: [{path:'dataFieldTarget>'}, {path:'value>Org.OData.Measures.V1.Unit'}], formatter: 'AH.buildExpressionForProgressIndicatorDisplayValue'}"
@@ -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'}"
@@ -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
  });
@@ -1072,21 +1072,21 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
1072
1072
  // builds the expression for the Rating Indicator Subtitle
1073
1073
  buildRatingIndicatorSubtitleExpression: function (mSampleSize) {
1074
1074
  if (mSampleSize) {
1075
- return "{parts: [{path: '" + mSampleSize.Path + "'}], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.formatRatingIndicatorSubTitle'}";
1075
+ return "{parts: [{path: '" + mSampleSize.Path + "'}], formatter: 'formatRatingIndicatorSubTitle'}";
1076
1076
  }
1077
1077
  },
1078
1078
 
1079
1079
  // builds the expression for the Rating Indicator footer
1080
1080
  buildRatingIndicatorFooterExpression: function (mValue, mTargetValue) {
1081
1081
  if (mTargetValue) {
1082
- return "{parts: [{path: '" + mValue.Path + "'}, {path: '" + mTargetValue.Path + "'}], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.formatRatingIndicatorFooterText'}";
1082
+ return "{parts: [{path: '" + mValue.Path + "'}, {path: '" + mTargetValue.Path + "'}], formatter: 'formatRatingIndicatorFooterText'}";
1083
1083
  }
1084
- return "{parts: [{path: '" + mValue.Path + "'}], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.formatRatingIndicatorFooterText'}";
1084
+ return "{parts: [{path: '" + mValue.Path + "'}], formatter: 'formatRatingIndicatorFooterText'}";
1085
1085
  },
1086
1086
 
1087
1087
  // builds the expression for the Rating Indicator aggregate Count
1088
1088
  buildRatingIndicatorAggregateCountExpression: function (mValue) {
1089
- return "{parts: [{path: '" + mValue.Path + "'}], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.formatRatingIndicatorAggregateCount'}";
1089
+ return "{parts: [{path: '" + mValue.Path + "'}], formatter: 'formatRatingIndicatorAggregateCount'}";
1090
1090
  },
1091
1091
 
1092
1092
  getIdForMoreBlockContent: function (oFacet) {
@@ -1136,10 +1136,20 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
1136
1136
  return sPath;
1137
1137
  },
1138
1138
 
1139
- // Returns the creation mode has been configured for the given facet
1140
- getCreationMode: function (oFacet, oSections) {
1139
+ // Returns the creation mode that has been configured for the given facet if defined, else returns the global level creation mode
1140
+ getCreationMode: function (oFacet, oGlobalSettings) {
1141
+ var oSections = oGlobalSettings && oGlobalSettings.sections;
1141
1142
  var oSettings = oSections && oSections[oAnnotationHelper.getStableIdPartFromFacet(oFacet)];
1142
- return (oSettings && oSettings.createMode) || "";
1143
+ var sCreateMode;
1144
+ if (oSettings && oSettings.createMode) {
1145
+ sCreateMode = oSettings.createMode;
1146
+ } else if (oGlobalSettings && oGlobalSettings.createMode) {
1147
+ sCreateMode = oGlobalSettings.createMode;
1148
+ } else {
1149
+ sCreateMode = "";
1150
+ }
1151
+
1152
+ return sCreateMode;
1143
1153
  },
1144
1154
 
1145
1155
  // Checks whether use of the preliminaryContext feature has been configured for the given facet
@@ -1147,10 +1157,11 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
1147
1157
  var oSettings = oSections[oAnnotationHelper.getStableIdPartFromFacet(oFacet)];
1148
1158
  return !!(oSettings && oSettings.preliminaryContext);
1149
1159
  },
1150
- //check whether HasActiveEntity sort order(Inline Create mode) has been configured for the given facet(table)
1151
- isInlineCreateSorting: function (oFacet, oSections) {
1160
+ //check whether HasActiveEntity sort order(Inline Create mode) has been configured for the given facet(table). If not, then check for global settings.
1161
+ isInlineCreateSorting: function (oFacet, oGlobalSettings) {
1162
+ var oSections = oGlobalSettings && oGlobalSettings.sections;
1152
1163
  var oSettings = oSections && oSections[oAnnotationHelper.getStableIdPartFromFacet(oFacet)];
1153
- return !!(oSettings && oSettings.disableDefaultInlineCreateSort);
1164
+ return !!((oSettings && oSettings.disableDefaultInlineCreateSort) ? oSettings.disableDefaultInlineCreateSort : oGlobalSettings && oGlobalSettings.disableDefaultInlineCreateSort);
1154
1165
  },
1155
1166
 
1156
1167
  isImageUrl: function (oPropertyAnnotations) {
@@ -1191,7 +1202,7 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
1191
1202
  if (oImageUrl.Path) {
1192
1203
  var sPrefix = "{parts: [{path: '" + oImageUrl.Path + "'}, {value: '" + sAppComponentName + "'}";
1193
1204
  var sInfix = bSuppressIcons ? ", {value: true}" : "";
1194
- var sPostfix = "], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.formatImageUrl'}";
1205
+ var sPostfix = "], formatter: 'formatImageUrl'}";
1195
1206
  return sPrefix + sInfix + sPostfix;
1196
1207
  }
1197
1208
  // Apply
@@ -2639,9 +2650,9 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
2639
2650
  * - Boolean value or
2640
2651
  * - Expression binding
2641
2652
  */
2642
- isRelatedEntityCreatable: function (oInterface, oSourceEntitySet, oRelatedEntitySet, aSubPages, oFacet, oSections, bIsDraftEnabled, oCreateWithParameterDialog, sTableType) {
2653
+ isRelatedEntityCreatable: function (oInterface, oSourceEntitySet, oRelatedEntitySet, aSubPages, oFacet, oGlobalSettings, bIsDraftEnabled, oCreateWithParameterDialog, sTableType) {
2643
2654
  var bHasSubObjectPage = oAnnotationHelper.hasSubObjectPage(oRelatedEntitySet, aSubPages),
2644
- sTableCreationMode = oAnnotationHelper.getCreationMode(oFacet, oSections),
2655
+ sTableCreationMode = oAnnotationHelper.getCreationMode(oFacet, oGlobalSettings),
2645
2656
  bIsInlineCreationMode = ["inline", "creationRows", "creationRowsHiddenInEditMode"].includes(sTableCreationMode);
2646
2657
 
2647
2658
  if (bHasSubObjectPage || bIsInlineCreationMode || oCreateWithParameterDialog) {
@@ -3227,7 +3238,7 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
3227
3238
 
3228
3239
  sParts = buildPart(oInterface, dataPoint.Value) + ", " + buildPart(oInterface, dataPoint.TargetValue) + ", " + buildPart(oInterface, mUoM);
3229
3240
 
3230
- var sDisplayValueExpression = "{ parts: [" + sParts + "], formatter: 'sap.suite.ui.generic.template.js.RuntimeFormatters.formatDisplayValueForProgressIndicator' }";
3241
+ var sDisplayValueExpression = "{ parts: [" + sParts + "], formatter: 'formatDisplayValueForProgressIndicator' }";
3231
3242
  return sDisplayValueExpression;
3232
3243
  },
3233
3244
 
@@ -3699,7 +3710,7 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
3699
3710
  // More precisely: {path: '_templPrivMessage>/'} is included to listen to changes of the Message model
3700
3711
  // {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
3712
  // 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'}";
3713
+ return "{parts: [" + sDraftParts + ", " + sMessageParts + sCriticalityPiece + ", {path: ''}], formatter: 'setInfoHighlight'}";
3703
3714
  },
3704
3715
 
3705
3716
  getDataFieldLabel: function (oInterface, oDataField) {
@@ -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
+ });