@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
@@ -43,6 +43,10 @@ ST_UNSAVED_CHANGES_TITLE=\u672A\u5132\u5B58\u7684\u66F4\u6539\u5167\u5BB9
43
43
 
44
44
  ST_STREAM_OPEN_FILE=\u958B\u555F\u6A94\u6848
45
45
 
46
+ ST_STREAM_FILE_UNREADABLE=\u7121\u6CD5\u8B80\u53D6\u6A94\u6848\uFF0C\u53EF\u80FD\u8A72\u6A94\u6848\u5DF2\u66F4\u6539\u3002
47
+
48
+ ST_STREAM_TYPE_MISMATCH=\u4E0D\u652F\u63F4\u6240\u9078\u6A94\u6848\u985E\u578B\u3002
49
+
46
50
  ST_DRAFT_OWNER=\u7531 {0}
47
51
 
48
52
  ST_DRAFT_ANOTHER_USER=\u3008\u7531\u5176\u4ED6\u4F7F\u7528\u8005\u6240\u57F7\u884C\u3009
@@ -67,7 +71,7 @@ COPY=\u8907\u88FD
67
71
 
68
72
  ST_SEND_CARD_TO_CHAT=\u50B3\u9001
69
73
 
70
- ST_OPEN_NEW_TAB_OR_WINDOW=\u65BC\u65B0\u7D22\u5F15\u6A19\u7C64\u6216\u8996\u7A97\u4E2D\u958B\u555F
74
+ ST_OPEN_NEW_TAB_OR_WINDOW=\u5728\u65B0\u7D22\u5F15\u6A19\u7C64\u6216\u8996\u7A97\u4E2D\u958B\u555F
71
75
 
72
76
  ST_MESSAGES_DIALOG_TITLE_WARNING=\u8B66\u544A
73
77
 
@@ -151,7 +155,7 @@ ST_GENERIC_ERROR_SYSTEM_UNAVAILABLE_FOR_ACTION=\u7121\u6CD5\u57F7\u884C\u6B64\u5
151
155
 
152
156
  ST_GENERIC_ERROR_NOT_AUTORIZED_CREATE=\u60A8\u6C92\u6709\u5EFA\u7ACB\u7684\u6B0A\u9650\u3002
153
157
 
154
- T_TABLE_NAVIGATION_TOO_MANY_ITEMS_SELECTED=\u60A8\u4E00\u6B21\u50C5\u53EF\u958B\u555F\u6700\u591A {0} \u500B\u9805\u76EE\u3002
158
+ T_TABLE_NAVIGATION_TOO_MANY_ITEMS_SELECTED=\u60A8\u50C5\u53EF\u540C\u6642\u958B\u555F {0} \u500B\u9805\u76EE\u3002
155
159
 
156
160
  ST_GENERIC_ERROR_NOT_AUTORIZED_ACTION=\u60A8\u6C92\u6709\u57F7\u884C\u6B64\u52D5\u4F5C\u7684\u6B0A\u9650
157
161
 
@@ -436,7 +436,7 @@ sap.ui.define(["sap/suite/ui/generic/template/genericUtilities/metadataAnalyser"
436
436
  };
437
437
 
438
438
  /**
439
- * Create Manifest for Data Property of Sap.Card component with the given card defination
439
+ * Create Manifest for Data Property of Sap.Card component with the given card definition
440
440
  *
441
441
  * @param {Object} oCardDefinition
442
442
  * @param {Object} oSapCard
@@ -76,9 +76,10 @@ sap.ui.define(["sap/ui/base/Object",
76
76
  "sap/suite/ui/generic/template/lib/navigation/routingHelper",
77
77
  "sap/suite/ui/generic/template/lib/navigation/startupParameterHelper",
78
78
  "sap/suite/ui/generic/template/lib/TemplateComponent",
79
- "sap/base/strings/whitespaceReplacer"
79
+ "sap/base/strings/whitespaceReplacer",
80
+ "sap/m/IllustratedMessageType"
80
81
  ], function(BaseObject, extend, isEmptyObject, HashChanger, History, coreLibrary, controlHelper, FeLogger, jsonHelper, oDataModelHelper, ProcessObserver, Queue, testableHelper, CRUDHelper, MessageUtils, routingHelper, startupParameterHelper,
81
- TemplateComponent, whitespaceReplacer) {
82
+ TemplateComponent, whitespaceReplacer, IllustratedMessageType) {
82
83
  "use strict";
83
84
  var sClassName = "lib.navigation.NavigationController";
84
85
  var oLogger = new FeLogger(sClassName).getLogger();
@@ -417,8 +418,10 @@ sap.ui.define(["sap/ui/base/Object",
417
418
  }
418
419
 
419
420
  function getRootComponentPromise(){
420
- fnPrepareHostView(oTemplateContract.mRoutingTree.root.sRouteName); // Make sure that the loading of the root component starts
421
- return oTemplateContract.mRoutingTree.root.componentCreated;
421
+ return fnPrepareHostView(oTemplateContract.mRoutingTree.root.sRouteName).then(function () {
422
+ // Make sure that the loading of the root component starts
423
+ return oTemplateContract.mRoutingTree.root.componentCreated;
424
+ });
422
425
  }
423
426
 
424
427
  function getAppTitle(){
@@ -1290,7 +1293,8 @@ sap.ui.define(["sap/ui/base/Object",
1290
1293
  title: oDataLoadFailedTexts.dataLoadFailedTitle,
1291
1294
  text: oDataLoadFailedTexts.dataLoadFailedText,
1292
1295
  description: "",
1293
- viewLevel: oFailedNode.fCLLevel
1296
+ viewLevel: oFailedNode.fCLLevel,
1297
+ messageType: IllustratedMessageType.NoData
1294
1298
  });
1295
1299
  return Promise.resolve();
1296
1300
  }
@@ -1975,30 +1979,17 @@ sap.ui.define(["sap/ui/base/Object",
1975
1979
  }
1976
1980
 
1977
1981
  function fnTransferMessageParametersToGlobalModelAndDisplayMessage(mParameters) {
1978
- var sEntitySet, sText, oEntitySet, oEntityType, oHeaderInfo, sIcon = null,
1979
- oMetaModel, sDescription;
1982
+ var sText, sDescription, sMessageType;
1983
+
1980
1984
  if (mParameters) {
1981
- sEntitySet = mParameters.entitySet;
1982
1985
  sText = mParameters.text;
1983
- sIcon = mParameters.icon;
1986
+ sMessageType = mParameters.messageType || IllustratedMessageType.ErrorScreen;
1984
1987
  sDescription = mParameters.description;
1985
1988
  }
1986
1989
 
1987
- if (sEntitySet) {
1988
- oMetaModel = oTemplateContract.oAppComponent.getModel().getMetaModel();
1989
- if (oMetaModel) {
1990
- oEntitySet = oMetaModel.getODataEntitySet(sEntitySet);
1991
- oEntityType = oMetaModel.getODataEntityType(oEntitySet.entityType);
1992
- oHeaderInfo = oEntityType["com.sap.vocabularies.UI.v1.HeaderInfo"];
1993
- }
1994
- if (oHeaderInfo && oHeaderInfo.TypeImageUrl && oHeaderInfo.TypeImageUrl.String) {
1995
- sIcon = oHeaderInfo.TypeImageUrl.String;
1996
- }
1997
- }
1998
-
1999
1990
  oTemplateContract.oTemplatePrivateGlobalModel.setProperty("/generic/messagePage", {
2000
1991
  text: sText,
2001
- icon: sIcon,
1992
+ messageType: sMessageType,
2002
1993
  description: sDescription
2003
1994
  });
2004
1995
 
@@ -2253,34 +2244,42 @@ sap.ui.define(["sap/ui/base/Object",
2253
2244
  function fnPrepareHostView(oTreeNode, isComponentPreloaded, bOnlyComponent){
2254
2245
  if (oTreeNode.createComponent) {
2255
2246
  if (bOnlyComponent || oTemplateContract.oAppComponent.isDestroyed()) {
2256
- return;
2247
+ return Promise.resolve();
2257
2248
  }
2258
2249
  oTreeNode.createComponent();
2259
2250
  delete oTreeNode.createComponent;
2260
- return;
2251
+ return Promise.resolve();
2261
2252
  }
2262
2253
  if (mRoutesToHostViews[oTreeNode.sRouteName] || oTemplateContract.oAppComponent.isDestroyed()){
2263
- return;
2254
+ return Promise.resolve();
2264
2255
  }
2256
+
2265
2257
  oLogger.debug("Prepare host view for route " + oTreeNode.sRouteName);
2266
- var oHostView = oNavigationControllerProxy.createHostView();
2267
- mRoutesToHostViews[oTreeNode.sRouteName] = oHostView;
2268
- var oViews = oNavigationControllerProxy.oRouter.getViews();
2269
- oViews.setView(oTreeNode.sRouteName, oHostView);
2270
- var oComponentContainer = oHostView.byId("host");
2271
- if (bOnlyComponent) {
2272
- oTreeNode.createComponent = fnCreateTemplateComponent.bind(null, oComponentContainer, oTreeNode.sRouteName, isComponentPreloaded);
2273
- } else {
2274
- fnCreateTemplateComponent(oComponentContainer, oTreeNode.sRouteName, isComponentPreloaded);
2275
- }
2258
+ var oHostViewPromise = oNavigationControllerProxy.createHostView();
2259
+ var oViews = oNavigationControllerProxy.oRouter.getViews();
2260
+ // Temporarily add the oHostViewPromise to the view cache
2261
+ oViews.setView(oTreeNode.sRouteName, oHostViewPromise);
2262
+
2263
+ return oHostViewPromise.then(function(oHostView) {
2264
+ //Update the view cache with the actual view
2265
+ oViews.setView(oTreeNode.sRouteName, oHostView);
2266
+ mRoutesToHostViews[oTreeNode.sRouteName] = oHostView;
2267
+ var oComponentContainer = oHostView.byId("host");
2268
+ if (bOnlyComponent) {
2269
+ oTreeNode.createComponent = fnCreateTemplateComponent.bind(null, oComponentContainer, oTreeNode.sRouteName, isComponentPreloaded);
2270
+ } else {
2271
+ fnCreateTemplateComponent(oComponentContainer, oTreeNode.sRouteName, isComponentPreloaded);
2272
+ }
2273
+ });
2276
2274
  }
2277
2275
 
2278
2276
  function fnPreloadComponent(sRouteName) {
2279
2277
  var mRoutingTree = oTemplateContract.mRoutingTree;
2280
2278
  if (mRoutingTree[sRouteName]) {
2281
2279
  oLogger.debug("Start preloading of component for route " + sRouteName);
2282
- fnPrepareHostView(mRoutingTree[sRouteName], true);
2280
+ return fnPrepareHostView(mRoutingTree[sRouteName], true);
2283
2281
  }
2282
+ return Promise.resolve();
2284
2283
  }
2285
2284
 
2286
2285
  function fnHandleBeforeRouteMatched(oEvent){
@@ -2637,7 +2636,8 @@ sap.ui.define(["sap/ui/base/Object",
2637
2636
  fnNavigateToMessagePage({
2638
2637
  title: oTemplateContract.getText("ST_ERROR"),
2639
2638
  text: oTemplateContract.getText("ST_GENERIC_UNKNOWN_NAVIGATION_TARGET"),
2640
- description: ""
2639
+ description: "",
2640
+ messageType: IllustratedMessageType.PageNotFound
2641
2641
  });
2642
2642
  oTemplateContract.oBusyHelper.setBusyReason("HashChange", false, undefined, undefined, true);
2643
2643
  }
@@ -3055,7 +3055,7 @@ sap.ui.define(["sap/ui/base/Object",
3055
3055
  * @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
3056
3056
  * @public
3057
3057
  * @extends sap.ui.base.Object
3058
- * @version 1.124.2
3058
+ * @version 1.126.0
3059
3059
  * @since 1.30.0
3060
3060
  * @alias sap.suite.ui.generic.template.lib.NavigationController
3061
3061
  */
@@ -181,16 +181,15 @@ sap.ui.define(["sap/ui/core/Element",
181
181
  oTemplateContract.oNavigationHost, oTemplateContract.oNavigationControllerProxy
182
182
  );
183
183
  }
184
- var oHostViewPrepared = XMLView.create({
185
- viewName: "sap.suite.ui.generic.template.fragments.TemplateHost"
186
- }).then(function(oHostViewTemplate){
187
- oTemplateContract.oNavigationControllerProxy.createHostView = function(){
188
- return oHostViewTemplate.clone();
189
- };
190
- });
184
+
185
+ oTemplateContract.oNavigationControllerProxy.createHostView = function(){
186
+ return XMLView.create({
187
+ viewName: "sap.suite.ui.generic.template.fragments.TemplateHost"
188
+ });
189
+ };
190
+
191
191
  var oModel = oTemplateContract.oAppComponent.getModel();
192
- var oPreparationDone = Promise.all([oHostViewPrepared, oModel.getMetaModel().loaded()]);
193
- return oPreparationDone.then(function(){
192
+ return oModel.getMetaModel().loaded().then(function(){
194
193
  var sTargetControlId = oTemplateContract.oNavigationHost.getId();
195
194
  var oConfig = oTemplateContract.oAppComponent.getConfig();
196
195
  if (!oConfig.pages || !oConfig.pages.length) {
@@ -12,9 +12,10 @@ sap.ui.define(["sap/base/util/extend",
12
12
  "sap/suite/ui/generic/template/genericUtilities/testableHelper",
13
13
  "sap/suite/ui/generic/template/lib/CRUDHelper",
14
14
  "sap/base/util/deepExtend",
15
- "sap/suite/ui/generic/template/genericUtilities/CacheHelper"
15
+ "sap/suite/ui/generic/template/genericUtilities/CacheHelper",
16
+ "sap/m/IllustratedMessageType"
16
17
  ], function(extend, isEmptyObject, each, MessageBox, UI5Date, Filter, FilterOperator, odata4analytics,
17
- ModelUtil, FeLogger, oDataModelHelper, testableHelper, CRUDHelper, deepExtend, CacheHelper){
18
+ ModelUtil, FeLogger, oDataModelHelper, testableHelper, CRUDHelper, deepExtend, CacheHelper, IllustratedMessageType){
18
19
  "use strict";
19
20
  var sClassName = "lib.navigation.startupParameterHelper";
20
21
  var oLogger = new FeLogger(sClassName).getLogger();
@@ -476,46 +477,48 @@ sap.ui.define(["sap/base/util/extend",
476
477
  if (bIsDraft) {
477
478
  //get the treenode(internal representation of page)
478
479
  var oTreeNode = oTemplateContract.mEntityTree[sEntitySet] || oTemplateContract.mRoutingTree.root;
480
+ var oComponentRegistryEntry;
479
481
  //create component and register view in order to get oController and oApplicationController.
480
- oTemplateContract.oNavigationControllerProxy.prepareHostView(oTreeNode);
481
- var oTargets = oTemplateContract.oNavigationControllerProxy.oRouter.getTargets();
482
- var oDisplayPromise = oTargets.display(oTreeNode.sRouteName);
483
- oTemplateContract.oBusyHelper.setBusy(oDisplayPromise, true, undefined, true);
484
- return oTreeNode.componentCreated.then(function(oComponent) {
485
- var oComponentRegistryEntry = oTemplateContract.componentRegistry[oComponent.getId()];
486
- return oComponentRegistryEntry.viewRegistered.then(function(){
487
- var oInfoForContentIdPromise = CacheHelper.getInfoForContentIdPromise(sEntitySet, oModel, oTemplateContract.oAppComponent.getId(), oComponentRegistryEntry.utils.getRootExpand);
488
- return oInfoForContentIdPromise.then(function(oInfoObject) {
489
- var sRootExpand = oInfoObject.contentIdRequestPossible ? oInfoObject.parametersForContentIdRequest.sRootExpand : null;
490
- var oController = oComponentRegistryEntry.oController;
491
- var oApplicationController = oTemplateContract.oAppComponent.getApplicationController();
492
- var bUseNewActionForCreate = !!(oTemplateContract.mRoutingTree.root.page.component.settings && oTemplateContract.mRoutingTree.root.page.component.settings.useNewActionForCreate);
493
- var oParameters = {
494
- sRootExpand: sRootExpand,
495
- oController: oController,
496
- oApplicationController: oApplicationController,
497
- bUseNewActionForCreate: bUseNewActionForCreate
498
- };
499
- var oCreatePromise = CRUDHelper.create(oDraftController, sEntitySet, "/" + sEntitySet, oModel, oTemplateContract.oApplicationProxy, oPredefinedValues, oParameters, oComponentRegistryEntry.oControllerUtils.oCommonUtils);
500
- return oCreatePromise.then(function(oContext) {
501
- var mAppStates = Object.create(null);
502
- // if there is defaultLayoutTypeIfExternalNavigation property in the manifest of the target application
503
- // set the fcl layout property from the value of defaultLayoutTypeIfExternalNavigation
504
- if (oTemplateContract.oFlexibleColumnLayoutHandler){
505
- var oTreeNode = oTemplateContract.mEntityTree[sEntitySet];
506
- oTemplateContract.oFlexibleColumnLayoutHandler.adaptAppStatesForExternalNavigation(oTreeNode, mAppStates);
507
- }
508
- return oTemplateContract.oNavigationControllerProxy.navigateToSubContext(oContext, true, 4, null, mAppStates).then(Function.prototype); // in case of success: return a Promise that resolves to nothing
509
- }, function(oError) {
510
- return {
511
- title: oTemplateContract.getText("ST_GENERIC_ERROR_TITLE"),
512
- text: oError.messageText,
513
- description: "",
514
- icon: "sap-icon://message-error"
515
- };
516
- });
517
- });
518
- });
482
+ return oTemplateContract.oNavigationControllerProxy.prepareHostView(oTreeNode).then(function () {
483
+ var oTargets = oTemplateContract.oNavigationControllerProxy.oRouter.getTargets();
484
+ var oDisplayPromise = oTargets.display(oTreeNode.sRouteName);
485
+ oTemplateContract.oBusyHelper.setBusy(oDisplayPromise, true, undefined, true);
486
+ return oTreeNode.componentCreated;
487
+ }).then(function (oComponent) {
488
+ oComponentRegistryEntry = oTemplateContract.componentRegistry[oComponent.getId()];
489
+ return oComponentRegistryEntry.viewRegistered;
490
+ }).then(function () {
491
+ var oInfoForContentIdPromise = CacheHelper.getInfoForContentIdPromise(sEntitySet, oModel, oTemplateContract.oAppComponent.getId(), oComponentRegistryEntry.utils.getRootExpand);
492
+ return oInfoForContentIdPromise;
493
+ }).then(function (oInfoObject) {
494
+ var sRootExpand = oInfoObject.contentIdRequestPossible ? oInfoObject.parametersForContentIdRequest.sRootExpand : null;
495
+ var oController = oComponentRegistryEntry.oController;
496
+ var oApplicationController = oTemplateContract.oAppComponent.getApplicationController();
497
+ var bUseNewActionForCreate = !!(oTemplateContract.mRoutingTree.root.page.component.settings && oTemplateContract.mRoutingTree.root.page.component.settings.useNewActionForCreate);
498
+ var oParameters = {
499
+ sRootExpand: sRootExpand,
500
+ oController: oController,
501
+ oApplicationController: oApplicationController,
502
+ bUseNewActionForCreate: bUseNewActionForCreate
503
+ };
504
+ var oCreatePromise = CRUDHelper.create(oDraftController, sEntitySet, "/" + sEntitySet, oModel, oTemplateContract.oApplicationProxy, oPredefinedValues, oParameters, oComponentRegistryEntry.oControllerUtils.oCommonUtils);
505
+ return oCreatePromise;
506
+ }).then(function (oContext) {
507
+ var mAppStates = Object.create(null);
508
+ // if there is defaultLayoutTypeIfExternalNavigation property in the manifest of the target application
509
+ // set the fcl layout property from the value of defaultLayoutTypeIfExternalNavigation
510
+ if (oTemplateContract.oFlexibleColumnLayoutHandler){
511
+ var oTreeNode = oTemplateContract.mEntityTree[sEntitySet];
512
+ oTemplateContract.oFlexibleColumnLayoutHandler.adaptAppStatesForExternalNavigation(oTreeNode, mAppStates);
513
+ }
514
+ return oTemplateContract.oNavigationControllerProxy.navigateToSubContext(oContext, true, 4, null, mAppStates).then(Function.prototype); // in case of success: return a Promise that resolves to nothing
515
+ }).catch(function (oError) {
516
+ return {
517
+ title: oTemplateContract.getText("ST_GENERIC_ERROR_TITLE"),
518
+ text: oError.messageText,
519
+ description: "",
520
+ icon: "sap-icon://message-error"
521
+ };
519
522
  });
520
523
  }
521
524
  // Non-draft case
@@ -767,8 +770,9 @@ sap.ui.define(["sap/base/util/extend",
767
770
  });
768
771
  });
769
772
  oTemplateContract.oBusyHelper.setBusy(oCallFunctionPromise);
770
- oTemplateContract.oNavigationControllerProxy.preloadComponent(oActionDef.treeNode.sRouteName);
771
- return oCallFunctionPromise;
773
+ return oTemplateContract.oNavigationControllerProxy.preloadComponent(oActionDef.treeNode.sRouteName).then(function () {
774
+ return oCallFunctionPromise;
775
+ });
772
776
  }
773
777
 
774
778
  function fnParametersToNavigation(oTemplateContract, mParameters){
@@ -804,7 +808,7 @@ sap.ui.define(["sap/base/util/extend",
804
808
  title: oTemplateContract.getText("ST_GENERIC_ERROR_TITLE"),
805
809
  text: oTemplateContract.getText("ST_GENERIC_ERROR_TITLE"),
806
810
  description: oTemplateContract.getText("PARAMETER_COMBINATION_NOT_SUPPORTED", [sMode, sPreferredMode]),
807
- icon: "sap-icon://message-error",
811
+ messageType: IllustratedMessageType.ErrorScreen,
808
812
  replaceURL: true
809
813
  };
810
814
  });
@@ -7,19 +7,30 @@ sap.ui.define([
7
7
  function getMethods(oController, oCommonUtils, oComponentUtils, oSmartChart) {
8
8
  // Immutable instance attributes
9
9
  var oInnerChart;
10
- /* multi-table case SmartChart is not yet initialized. Calling getChartAsync() before initialization will be ignored by SmartChart.
11
- So waiting for the initialized event! and then calling getChartAsync().
10
+ /* In multi-table case, the SmartChart is not yet initialized. SmartChart throws error while calling getChartAsync() before initialization.
11
+ So waiting for the initialized event and then calling getChartAsync().
12
12
  */
13
- oSmartChart.attachInitialized(function() {
14
- oSmartChart.getChartAsync().then(function(oChart){
15
- oInnerChart = oChart;
16
- });
17
- });
13
+ oSmartChart.isInitialised() ? fnInitInnerChart() : oSmartChart.attachInitialized(fnInitInnerChart);
18
14
 
19
- oSmartChart.getChartAsync().then(function(oChart){
20
- oInnerChart = oChart;
15
+ var fnResolveInit = null;
16
+ var oInitPromise = new Promise(function (fnResolve) {
17
+ fnResolveInit = fnResolve;
21
18
  });
22
19
 
20
+ function fnGetInitializationPromise() {
21
+ return oInitPromise;
22
+ }
23
+
24
+ function fnInitInnerChart() {
25
+ oSmartChart.getChartAsync().then(function(oChart){
26
+ oInnerChart = oChart;
27
+ // Resolve the init promise
28
+ if (fnResolveInit) {
29
+ fnResolveInit();
30
+ }
31
+ });
32
+ }
33
+
23
34
  function fnGetAvailableChartTypes() {
24
35
  return oSmartChart.getAvailableChartTypes();
25
36
  }
@@ -154,7 +165,8 @@ sap.ui.define([
154
165
  applyNavigationSortOrder: fnApplyNavigationSortOrder,
155
166
  getToolbar: getToolbar,
156
167
  scrollToSelectedItemAsPerChildContext: Function.prototype,
157
- getPressedItemParameter: Function.prototype
168
+ getPressedItemParameter: Function.prototype,
169
+ getInitializationPromise: fnGetInitializationPromise
158
170
  };
159
171
  }
160
172
 
@@ -34,6 +34,10 @@ sap.ui.define([
34
34
  return oSmartList.getToolbar();
35
35
  }
36
36
 
37
+ function fnGetInitializationPromise() {
38
+ return Promise.resolve();
39
+ }
40
+
37
41
  // public instance methods
38
42
  return {
39
43
  getBinding: fnGetBinding,
@@ -54,7 +58,8 @@ sap.ui.define([
54
58
  getToolbar: getToolbar,
55
59
  applyNavigationSortOrder: Function.prototype, // no way to set the sort order in the smart list
56
60
  scrollToSelectedItemAsPerChildContext: Function.prototype,
57
- getPressedItemParameter: Function.prototype
61
+ getPressedItemParameter: Function.prototype,
62
+ getInitializationPromise: fnGetInitializationPromise
58
63
  };
59
64
  }
60
65
 
@@ -497,20 +497,32 @@ sap.ui.define([
497
497
  var oEntityType = oMetaModel.getODataEntityType(oEntitySet.entityType);
498
498
  var aAllFieldsMetaModel = oEntityType.property;
499
499
 
500
- var aPotentialReadOnlyFields = [];
500
+ var aReadOnlyFields = [], aFieldControls = [];
501
501
  aAllFieldsMetaModel.forEach(function(oEntityProperty) {
502
502
  var oFieldControl = oEntityProperty["com.sap.vocabularies.Common.v1.FieldControl"] && oEntityProperty["com.sap.vocabularies.Common.v1.FieldControl"];
503
- var sPath = oFieldControl && oFieldControl.Path;
504
503
  var bEnumMemberReadOnly = oFieldControl && oFieldControl.EnumMember === "com.sap.vocabularies.Common.v1.FieldControlType/ReadOnly";
505
- if (oEntityProperty["sap:updatable"] === "false" || sPath || bEnumMemberReadOnly) {
506
- aPotentialReadOnlyFields.push({
504
+ var sFCPath = oFieldControl && oFieldControl.Path;
505
+ if (oEntityProperty["sap:updatable"] === "false" || bEnumMemberReadOnly) {
506
+ aReadOnlyFields.push({
507
507
  name: oEntityProperty.name,
508
508
  label: oEntityProperty["sap:label"],
509
509
  ignoredFromPaste: false
510
510
  });
511
+ return;
512
+ }
513
+ // field-control based on path
514
+ var sFieldControl = oEntityProperty["sap:field-control"];
515
+ if (sFieldControl || sFCPath) {
516
+ aFieldControls.push({
517
+ name: oEntityProperty.name,
518
+ fieldControl: sFieldControl || sFCPath
519
+ });
511
520
  }
512
521
  });
513
- return aPotentialReadOnlyFields;
522
+ return {
523
+ readOnlyFields: aReadOnlyFields,
524
+ fieldControls: aFieldControls
525
+ };
514
526
  }
515
527
 
516
528
  /**
@@ -537,6 +549,10 @@ sap.ui.define([
537
549
  return null;
538
550
  }
539
551
 
552
+ function fnGetInitializationPromise() {
553
+ return Promise.resolve();
554
+ }
555
+
540
556
  // public instance methods
541
557
  return {
542
558
  getBinding: fnGetBinding,
@@ -576,7 +592,8 @@ sap.ui.define([
576
592
  addCellSelector: fnAddCellSelector,
577
593
  getSelection: getSelection,
578
594
  getPotentiallyReadOnlyField: getPotentiallyReadOnlyField,
579
- getColumnByKey: fnGetColumnByKey
595
+ getColumnByKey: fnGetColumnByKey,
596
+ getInitializationPromise: fnGetInitializationPromise
580
597
  };
581
598
  }
582
599
 
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  interfaces: [],
63
63
  controls: [],
64
64
  elements: [],
65
- version: "1.124.2",
65
+ version: "1.126.0",
66
66
  extensions: {
67
67
  //Configuration used for rule loading of Support Assistant
68
68
  "sap.ui.support": {
@@ -18,6 +18,7 @@ sap.ui.define([
18
18
  "use strict";
19
19
  var eventProvider = new EventProvider();
20
20
  var oLogger = new FeLogger("listTemplates.controller.DetailController").getLogger();
21
+ var mPreloadComponentPromiseByRouteName = new Map();
21
22
 
22
23
  var tController = Controller.extend("sap.suite.ui.generic.template.listTemplates.controller.DetailController", {
23
24
  setState: function(oState) {
@@ -50,9 +51,23 @@ sap.ui.define([
50
51
  }
51
52
  },
52
53
 
54
+ /**
55
+ * This method ensures that "preloadComponent" is called only once per route.
56
+ *
57
+ * In the multi-table scenario, this method is called multiple times.
58
+ * There's a possibility that it can be called with same route name (same entity set) multiple times.
59
+ * If "preloadComponent" is called multiple times for the same route, it will lead to race condition and the component initialization would break
60
+ */
53
61
  onSmartTableDataRequested: function(oSmartTable) {
54
62
  var sRouteName = oSmartTable.getEntitySet();
55
- this.oState.oTemplateUtils.oServices.oApplication.preloadComponent(sRouteName);
63
+ // If the promise is already available in cache, return it
64
+ if (mPreloadComponentPromiseByRouteName.has(sRouteName)) {
65
+ return mPreloadComponentPromiseByRouteName.get(sRouteName);
66
+ }
67
+ // Otherwise, invoke "preloadComponent" and store the result in cache
68
+ var oPreloadPromise = this.oState.oTemplateUtils.oServices.oApplication.preloadComponent(sRouteName);
69
+ mPreloadComponentPromiseByRouteName.set(sRouteName, oPreloadPromise);
70
+ return oPreloadPromise;
56
71
  },
57
72
 
58
73
  ///////////////////////
@@ -30,7 +30,7 @@ sap.ui.define(["sap/ui/base/Object",
30
30
  bIsSearchTriggeredByStartUp = false,
31
31
  _fnStartUpPromise = null,
32
32
  _oStartUpSelectionVariant;
33
- var oStoringInformation = null;
33
+ var sStoredAppStateKey = null;
34
34
  var oSettings = oTemplateUtils.oComponentUtils.getSettings();
35
35
  var sAppStateKeyInUrl = null;
36
36
  var oRealizedAppState = { // this object contains information which can be derived from url
@@ -405,7 +405,7 @@ sap.ui.define(["sap/ui/base/Object",
405
405
  fnSetDefaultFilter();
406
406
  }
407
407
  fnUpdateSVFB();
408
- oStoringInformation = null;
408
+ sStoredAppStateKey = null;
409
409
  //onload behaviour change for Go button mode
410
410
  if (!oState.oSmartFilterbar.isLiveMode()) {
411
411
  var bDataLoad = _fnIsLoadDataOnAppLaunch();
@@ -699,35 +699,38 @@ sap.ui.define(["sap/ui/base/Object",
699
699
  if (oTemplateUtils.oComponentUtils.isStateHandlingSuspended()) {
700
700
  return;
701
701
  }
702
+
703
+ var oUshellContainer = sap.ui.require("sap/ushell/Container");
704
+ // The NavigationHandler.storeInnerAppStateAsync API works only on the ushell environment.
705
+ // Hence, simply return if ushell container is unavailable.
706
+ if (!oUshellContainer) {
707
+ oLogger.error("AnalyticalListPage.fnStoreCurrentAppStateAndAdjustURL: Can't save the app state as ushell container is not found!");
708
+ return;
709
+ }
702
710
  // oCurrentAppState is optional
703
711
  // - nothing, if NavigationHandler not available
704
- // - adjusts URL immediately
712
+ // - adjusts URL
705
713
  // - stores appState for this URL (asynchronously)
706
714
  var oCurrentAppState = getCurrentAppState();
707
- // currently NavigationHandler raises an exception when ushellContainer is not available, should be changed
708
- // by
709
- // Denver
710
- try {
711
- //storage information object
712
- oStoringInformation = oNavigationHandler.storeInnerAppStateWithImmediateReturn(oCurrentAppState, true);
713
- } catch (err) {
714
- oLogger.error("AnalyticalListPage.fnStoreCurrentAppStateAndAdjustURL: " + err);
715
- }
716
- if (oStoringInformation instanceof sap.fe.navigation.NavError) {
717
- oStoringInformation = null;
718
- return;
719
- }
720
- if (oState.oTemplateUtils.oComponentUtils.isComponentActive() && oStoringInformation) { // if the appstateKey really represents a new state and the view is still active set it to hash
721
- oState.oTemplateUtils.oServices.oApplication.navigateByExchangingQueryParam(sAppState, oStoringInformation.appStateKey);
722
- }
723
- //LR is using replaceHash function of NavigationHandler to update the key.
724
- //LR’s logic is creating the navigation promise and triggering the resolve function on every app state change
725
- //For ALP that logic will create performance issue. So using a different logic
726
- if (oStoringInformation && sAppStateKeyInUrl !== oStoringInformation.appStateKey) {
727
- //No need to wait for oStoringInformation.promise, app state is directly accessible from oStoringInformation object
728
- oRealizedAppState.appStateKey = oStoringInformation.appStateKey;
729
- oStoringInformation = null;
730
- }
715
+
716
+ var oStoreInnerAppStatePromise = oNavigationHandler.storeInnerAppStateAsync(oCurrentAppState, true);
717
+ oStoreInnerAppStatePromise.done(function (sAppStateKey) {
718
+ sStoredAppStateKey = sAppStateKey;
719
+ if (oState.oTemplateUtils.oComponentUtils.isComponentActive() && sStoredAppStateKey) { // if the appstateKey really represents a new state and the view is still active set it to hash
720
+ oState.oTemplateUtils.oServices.oApplication.navigateByExchangingQueryParam(sAppState, sStoredAppStateKey);
721
+ }
722
+ //LR is using replaceHash function of NavigationHandler to update the key.
723
+ //LR’s logic is creating the navigation promise and triggering the resolve function on every app state change
724
+ //For ALP that logic will create performance issue. So using a different logic
725
+ if (sStoredAppStateKey && sAppStateKeyInUrl !== sStoredAppStateKey) {
726
+ oRealizedAppState.appStateKey = sStoredAppStateKey;
727
+ sStoredAppStateKey = null;
728
+ }
729
+ });
730
+ oStoreInnerAppStatePromise.fail(function (oError) {
731
+ oLogger.error("AnalyticalListPage.fnStoreCurrentAppStateAndAdjustURL: " + oError);
732
+ sStoredAppStateKey = null;
733
+ });
731
734
  }
732
735
  function fnCheckToLaunchDialog() {
733
736
  var oTemplatePrivate = oState.oController.getOwnerComponent().getModel("_templPriv");
@@ -146,6 +146,8 @@ sap.ui.define(["sap/suite/ui/generic/template/genericUtilities/FeError", "sap/ba
146
146
  if (Array.isArray(aNavigationProperties)) {
147
147
  bUseProvidedNavigationProperties = true;
148
148
  sIncludedNavigationProperties = aNavigationProperties.join(",");
149
+ } else {
150
+ bUseProvidedNavigationProperties = true;
149
151
  }
150
152
  return {
151
153
  navigationProperties: sIncludedNavigationProperties,
@@ -8,7 +8,12 @@
8
8
  <Button id="template::ClearButton" text="{i18n>CLEAR_FILTERS}" type="Default"
9
9
  press="._templateEventHandlers.onClearPress" visible="false"/>
10
10
  <template:if test="{= !${parameter>/settings/showGoButtonOnFilterBar} &amp;&amp; !${device>/system/phone}}">
11
- <Button id="template::VisualFilterDialogButton" text="{path:'_templPriv>/alp/filtersLink', formatter: 'sap.suite.ui.generic.template.AnalyticalListPage.util.FilterUtil.formatFiltersLink'}" type="Default" tooltip="{path:'_templPriv>/alp/filtersLink', formatter: 'sap.suite.ui.generic.template.AnalyticalListPage.util.FilterUtil.formatFiltersLink'}"
12
- ariaHasPopup="Dialog" press="._templateEventHandlers.onFilterPress"/>
11
+ <Button id="template::VisualFilterDialogButton"
12
+ core:require="{ALPFilterUtil: 'sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil'}"
13
+ type="Default"
14
+ text="{parts: [{path: 'i18n>VISUAL_FILTER_FILTERS'}, {path: 'i18n>VISUAL_FILTER_FILTERS_WITH_COUNT'}, {path:'_templPriv>/alp/filtersLink'}], formatter: 'ALPFilterUtil.formatFiltersLink'}"
15
+ tooltip="{parts: [{path: 'i18n>VISUAL_FILTER_FILTERS'}, {path: 'i18n>VISUAL_FILTER_FILTERS_WITH_COUNT'}, {path:'_templPriv>/alp/filtersLink'}], formatter: 'ALPFilterUtil.formatFiltersLink'}"
16
+ ariaHasPopup="Dialog"
17
+ press="._templateEventHandlers.onFilterPress"/>
13
18
  </template:if>
14
19
  </core:FragmentDefinition>