@sapui5/sap.cux.home 1.141.0 → 1.142.1

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 (361) hide show
  1. package/package.json +1 -1
  2. package/src/sap/cux/home/.library +4 -1
  3. package/src/sap/cux/home/AdvancedSettingsPanel.d.ts +3 -2
  4. package/src/sap/cux/home/AdvancedSettingsPanel.d.ts.map +1 -1
  5. package/src/sap/cux/home/AdvancedSettingsPanel.js +6 -6
  6. package/src/sap/cux/home/AdvancedSettingsPanel.js.map +1 -1
  7. package/src/sap/cux/home/AdvancedSettingsPanel.ts +6 -6
  8. package/src/sap/cux/home/App.d.ts.map +1 -1
  9. package/src/sap/cux/home/App.js +6 -1
  10. package/src/sap/cux/home/App.js.map +1 -1
  11. package/src/sap/cux/home/App.ts +7 -1
  12. package/src/sap/cux/home/AppsAdditionPanel.d.ts +48 -34
  13. package/src/sap/cux/home/AppsAdditionPanel.d.ts.map +1 -1
  14. package/src/sap/cux/home/AppsAdditionPanel.js +362 -265
  15. package/src/sap/cux/home/AppsAdditionPanel.js.map +1 -1
  16. package/src/sap/cux/home/AppsAdditionPanel.ts +374 -254
  17. package/src/sap/cux/home/AppsContainer.d.ts +5 -1
  18. package/src/sap/cux/home/AppsContainer.d.ts.map +1 -1
  19. package/src/sap/cux/home/AppsContainer.js +33 -18
  20. package/src/sap/cux/home/AppsContainer.js.map +1 -1
  21. package/src/sap/cux/home/AppsContainer.ts +32 -15
  22. package/src/sap/cux/home/BaseAppPanel.d.ts +2 -1
  23. package/src/sap/cux/home/BaseAppPanel.d.ts.map +1 -1
  24. package/src/sap/cux/home/BaseAppPanel.js +8 -2
  25. package/src/sap/cux/home/BaseAppPanel.js.map +1 -1
  26. package/src/sap/cux/home/BaseAppPanel.ts +10 -3
  27. package/src/sap/cux/home/BaseContainer.d.ts +9 -1
  28. package/src/sap/cux/home/BaseContainer.d.ts.map +1 -1
  29. package/src/sap/cux/home/BaseContainer.js +36 -6
  30. package/src/sap/cux/home/BaseContainer.js.map +1 -1
  31. package/src/sap/cux/home/BaseContainer.ts +33 -6
  32. package/src/sap/cux/home/BaseContainerRenderer.d.ts.map +1 -1
  33. package/src/sap/cux/home/BaseContainerRenderer.js +6 -0
  34. package/src/sap/cux/home/BaseContainerRenderer.js.map +1 -1
  35. package/src/sap/cux/home/BaseContainerRenderer.ts +7 -1
  36. package/src/sap/cux/home/BaseNewsPanel.js.map +1 -1
  37. package/src/sap/cux/home/BaseNewsPanel.ts +2 -2
  38. package/src/sap/cux/home/BasePanel.d.ts +7 -0
  39. package/src/sap/cux/home/BasePanel.d.ts.map +1 -1
  40. package/src/sap/cux/home/BasePanel.js +20 -0
  41. package/src/sap/cux/home/BasePanel.js.map +1 -1
  42. package/src/sap/cux/home/BasePanel.ts +16 -0
  43. package/src/sap/cux/home/CardsContainer.d.ts +108 -0
  44. package/src/sap/cux/home/CardsContainer.d.ts.map +1 -0
  45. package/src/sap/cux/home/CardsContainer.js +207 -0
  46. package/src/sap/cux/home/CardsContainer.js.map +1 -0
  47. package/src/sap/cux/home/CardsContainer.ts +202 -0
  48. package/src/sap/cux/home/CardsPanel.d.ts +47 -59
  49. package/src/sap/cux/home/CardsPanel.d.ts.map +1 -1
  50. package/src/sap/cux/home/CardsPanel.js +405 -326
  51. package/src/sap/cux/home/CardsPanel.js.map +1 -1
  52. package/src/sap/cux/home/CardsPanel.ts +223 -201
  53. package/src/sap/cux/home/ContentAdditionDialog.d.ts +2 -0
  54. package/src/sap/cux/home/ContentAdditionDialog.d.ts.map +1 -1
  55. package/src/sap/cux/home/ContentAdditionDialog.js +17 -7
  56. package/src/sap/cux/home/ContentAdditionDialog.js.map +1 -1
  57. package/src/sap/cux/home/ContentAdditionDialog.ts +18 -6
  58. package/src/sap/cux/home/ErrorPanel.d.ts +0 -5
  59. package/src/sap/cux/home/ErrorPanel.d.ts.map +1 -1
  60. package/src/sap/cux/home/ErrorPanel.gen.d.ts +31 -0
  61. package/src/sap/cux/home/ErrorPanel.js +11 -16
  62. package/src/sap/cux/home/ErrorPanel.js.map +1 -1
  63. package/src/sap/cux/home/ErrorPanel.ts +7 -19
  64. package/src/sap/cux/home/FavAppPanel.d.ts +1 -12
  65. package/src/sap/cux/home/FavAppPanel.d.ts.map +1 -1
  66. package/src/sap/cux/home/FavAppPanel.js +354 -414
  67. package/src/sap/cux/home/FavAppPanel.js.map +1 -1
  68. package/src/sap/cux/home/FavAppPanel.ts +21 -66
  69. package/src/sap/cux/home/FrequentAppPanel.d.ts.map +1 -1
  70. package/src/sap/cux/home/FrequentAppPanel.js +5 -1
  71. package/src/sap/cux/home/FrequentAppPanel.js.map +1 -1
  72. package/src/sap/cux/home/FrequentAppPanel.ts +4 -0
  73. package/src/sap/cux/home/InsightsAdditionPanel.d.ts +11 -4
  74. package/src/sap/cux/home/InsightsAdditionPanel.d.ts.map +1 -1
  75. package/src/sap/cux/home/InsightsAdditionPanel.js +22 -8
  76. package/src/sap/cux/home/InsightsAdditionPanel.js.map +1 -1
  77. package/src/sap/cux/home/InsightsAdditionPanel.ts +22 -7
  78. package/src/sap/cux/home/InsightsCardsSettingsPanel.d.ts +8 -0
  79. package/src/sap/cux/home/InsightsCardsSettingsPanel.d.ts.map +1 -1
  80. package/src/sap/cux/home/InsightsCardsSettingsPanel.js +15 -0
  81. package/src/sap/cux/home/InsightsCardsSettingsPanel.js.map +1 -1
  82. package/src/sap/cux/home/InsightsCardsSettingsPanel.ts +11 -0
  83. package/src/sap/cux/home/InsightsTilesSettingsPanel.js +1 -1
  84. package/src/sap/cux/home/InsightsTilesSettingsPanel.js.map +1 -1
  85. package/src/sap/cux/home/InsightsTilesSettingsPanel.ts +1 -1
  86. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.d.ts +3 -0
  87. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.d.ts.map +1 -1
  88. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js +252 -39
  89. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js.map +1 -1
  90. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.ts +287 -57
  91. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.d.ts.map +1 -1
  92. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js +11 -10
  93. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js.map +1 -1
  94. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.ts +12 -10
  95. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js +2 -2
  96. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js.map +1 -1
  97. package/src/sap/cux/home/KeyUserNewsSettingsPanel.ts +7 -7
  98. package/src/sap/cux/home/KeyUserPagesSettingsPanel.js.map +1 -1
  99. package/src/sap/cux/home/KeyUserPagesSettingsPanel.ts +2 -2
  100. package/src/sap/cux/home/Layout.d.ts +3 -1
  101. package/src/sap/cux/home/Layout.d.ts.map +1 -1
  102. package/src/sap/cux/home/Layout.js +49 -8
  103. package/src/sap/cux/home/Layout.js.map +1 -1
  104. package/src/sap/cux/home/Layout.ts +59 -8
  105. package/src/sap/cux/home/LayoutSettingsPanel.d.ts +10 -0
  106. package/src/sap/cux/home/LayoutSettingsPanel.d.ts.map +1 -1
  107. package/src/sap/cux/home/LayoutSettingsPanel.js +341 -56
  108. package/src/sap/cux/home/LayoutSettingsPanel.js.map +1 -1
  109. package/src/sap/cux/home/LayoutSettingsPanel.ts +379 -63
  110. package/src/sap/cux/home/{NewsAndPagesContainer.d.ts → NewsContainer.d.ts} +13 -18
  111. package/src/sap/cux/home/NewsContainer.d.ts.map +1 -0
  112. package/src/sap/cux/home/{NewsAndPagesContainer.gen.d.ts → NewsContainer.gen.d.ts} +3 -3
  113. package/src/sap/cux/home/{NewsAndPagesContainer.js → NewsContainer.js} +26 -113
  114. package/src/sap/cux/home/NewsContainer.js.map +1 -0
  115. package/src/sap/cux/home/{NewsAndPagesContainer.ts → NewsContainer.ts} +31 -120
  116. package/src/sap/cux/home/NewsGroup.js.map +1 -1
  117. package/src/sap/cux/home/NewsGroup.ts +1 -1
  118. package/src/sap/cux/home/NewsPanel.d.ts +17 -0
  119. package/src/sap/cux/home/NewsPanel.d.ts.map +1 -1
  120. package/src/sap/cux/home/NewsPanel.js +100 -69
  121. package/src/sap/cux/home/NewsPanel.js.map +1 -1
  122. package/src/sap/cux/home/NewsPanel.ts +61 -36
  123. package/src/sap/cux/home/NewsSettingsPanel.d.ts +42 -6
  124. package/src/sap/cux/home/NewsSettingsPanel.d.ts.map +1 -1
  125. package/src/sap/cux/home/NewsSettingsPanel.js +219 -81
  126. package/src/sap/cux/home/NewsSettingsPanel.js.map +1 -1
  127. package/src/sap/cux/home/NewsSettingsPanel.ts +216 -81
  128. package/src/sap/cux/home/Page.d.ts.map +1 -1
  129. package/src/sap/cux/home/Page.js +4 -1
  130. package/src/sap/cux/home/Page.js.map +1 -1
  131. package/src/sap/cux/home/Page.ts +2 -0
  132. package/src/sap/cux/home/PagePanel.d.ts +1 -1
  133. package/src/sap/cux/home/PagePanel.d.ts.map +1 -1
  134. package/src/sap/cux/home/PagePanel.js +19 -11
  135. package/src/sap/cux/home/PagePanel.js.map +1 -1
  136. package/src/sap/cux/home/PagePanel.ts +26 -20
  137. package/src/sap/cux/home/PageSettingsPanel.d.ts.map +1 -1
  138. package/src/sap/cux/home/PageSettingsPanel.js +6 -3
  139. package/src/sap/cux/home/PageSettingsPanel.js.map +1 -1
  140. package/src/sap/cux/home/PageSettingsPanel.ts +2 -2
  141. package/src/sap/cux/home/PagesContainer.d.ts +72 -0
  142. package/src/sap/cux/home/PagesContainer.d.ts.map +1 -0
  143. package/src/sap/cux/home/PagesContainer.gen.d.ts +78 -0
  144. package/src/sap/cux/home/PagesContainer.js +333 -0
  145. package/src/sap/cux/home/PagesContainer.js.map +1 -0
  146. package/src/sap/cux/home/PagesContainer.ts +179 -0
  147. package/src/sap/cux/home/RecentAppPanel.d.ts.map +1 -1
  148. package/src/sap/cux/home/RecentAppPanel.js +6 -0
  149. package/src/sap/cux/home/RecentAppPanel.js.map +1 -1
  150. package/src/sap/cux/home/RecentAppPanel.ts +5 -1
  151. package/src/sap/cux/home/RecommendedAppPanel.d.ts.map +1 -1
  152. package/src/sap/cux/home/RecommendedAppPanel.js +7 -0
  153. package/src/sap/cux/home/RecommendedAppPanel.js.map +1 -1
  154. package/src/sap/cux/home/RecommendedAppPanel.ts +6 -1
  155. package/src/sap/cux/home/SideBySideIconTabFilter.d.ts +10 -0
  156. package/src/sap/cux/home/SideBySideIconTabFilter.d.ts.map +1 -1
  157. package/src/sap/cux/home/SideBySideIconTabFilter.js +11 -1
  158. package/src/sap/cux/home/SideBySideIconTabFilter.js.map +1 -1
  159. package/src/sap/cux/home/SideBySideIconTabFilter.ts +11 -0
  160. package/src/sap/cux/home/SituationPanel.d.ts.map +1 -1
  161. package/src/sap/cux/home/SituationPanel.js +7 -2
  162. package/src/sap/cux/home/SituationPanel.js.map +1 -1
  163. package/src/sap/cux/home/SituationPanel.ts +2 -0
  164. package/src/sap/cux/home/SpaceInsightsPanel.d.ts +8 -60
  165. package/src/sap/cux/home/SpaceInsightsPanel.d.ts.map +1 -1
  166. package/src/sap/cux/home/SpaceInsightsPanel.js +67 -133
  167. package/src/sap/cux/home/SpaceInsightsPanel.js.map +1 -1
  168. package/src/sap/cux/home/SpaceInsightsPanel.ts +70 -152
  169. package/src/sap/cux/home/TaskPanel.d.ts.map +1 -1
  170. package/src/sap/cux/home/TaskPanel.js +19 -1
  171. package/src/sap/cux/home/TaskPanel.js.map +1 -1
  172. package/src/sap/cux/home/TaskPanel.ts +17 -2
  173. package/src/sap/cux/home/TilesContainer.d.ts +111 -0
  174. package/src/sap/cux/home/TilesContainer.d.ts.map +1 -0
  175. package/src/sap/cux/home/TilesContainer.js +218 -0
  176. package/src/sap/cux/home/TilesContainer.js.map +1 -0
  177. package/src/sap/cux/home/TilesContainer.ts +216 -0
  178. package/src/sap/cux/home/TilesPanel.d.ts +22 -52
  179. package/src/sap/cux/home/TilesPanel.d.ts.map +1 -1
  180. package/src/sap/cux/home/TilesPanel.js +194 -168
  181. package/src/sap/cux/home/TilesPanel.js.map +1 -1
  182. package/src/sap/cux/home/TilesPanel.ts +167 -157
  183. package/src/sap/cux/home/ToDoPanel.d.ts +1 -0
  184. package/src/sap/cux/home/ToDoPanel.d.ts.map +1 -1
  185. package/src/sap/cux/home/ToDoPanel.js +64 -68
  186. package/src/sap/cux/home/ToDoPanel.js.map +1 -1
  187. package/src/sap/cux/home/ToDoPanel.ts +48 -36
  188. package/src/sap/cux/home/ToDosContainer.js +3 -3
  189. package/src/sap/cux/home/ToDosContainer.js.map +1 -1
  190. package/src/sap/cux/home/ToDosContainer.ts +1 -1
  191. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.d.ts +2 -2
  192. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.d.ts.map +1 -1
  193. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.js +1 -1
  194. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.js.map +1 -1
  195. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.ts +4 -4
  196. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.d.ts +2 -2
  197. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.d.ts.map +1 -1
  198. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js +1 -1
  199. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js.map +1 -1
  200. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.ts +4 -4
  201. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.d.ts +2 -2
  202. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.d.ts.map +1 -1
  203. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.js +1 -1
  204. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.js.map +1 -1
  205. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.ts +3 -3
  206. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.d.ts +2 -2
  207. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.d.ts.map +1 -1
  208. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.js +4 -4
  209. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.js.map +1 -1
  210. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.ts +5 -5
  211. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.d.ts.map +1 -1
  212. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.js +30 -3
  213. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.js.map +1 -1
  214. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.ts +23 -1
  215. package/src/sap/cux/home/flexibility/Layout.flexibility.d.ts +29 -19
  216. package/src/sap/cux/home/flexibility/Layout.flexibility.d.ts.map +1 -1
  217. package/src/sap/cux/home/flexibility/Layout.flexibility.js +78 -2
  218. package/src/sap/cux/home/flexibility/Layout.flexibility.js.map +1 -1
  219. package/src/sap/cux/home/flexibility/Layout.flexibility.ts +81 -1
  220. package/src/sap/cux/home/i18n/messagebundle.properties +32 -12
  221. package/src/sap/cux/home/i18n/messagebundle_ar.properties +18 -2
  222. package/src/sap/cux/home/i18n/messagebundle_bg.properties +18 -2
  223. package/src/sap/cux/home/i18n/messagebundle_ca.properties +18 -2
  224. package/src/sap/cux/home/i18n/messagebundle_cnr.properties +18 -2
  225. package/src/sap/cux/home/i18n/messagebundle_cs.properties +18 -2
  226. package/src/sap/cux/home/i18n/messagebundle_cy.properties +18 -2
  227. package/src/sap/cux/home/i18n/messagebundle_da.properties +18 -2
  228. package/src/sap/cux/home/i18n/messagebundle_de.properties +18 -2
  229. package/src/sap/cux/home/i18n/messagebundle_el.properties +18 -2
  230. package/src/sap/cux/home/i18n/messagebundle_en.properties +19 -3
  231. package/src/sap/cux/home/i18n/messagebundle_en_GB.properties +18 -2
  232. package/src/sap/cux/home/i18n/messagebundle_en_US_sappsd.properties +21 -5
  233. package/src/sap/cux/home/i18n/messagebundle_en_US_saprigi.properties +21 -5
  234. package/src/sap/cux/home/i18n/messagebundle_en_US_saptrc.properties +18 -2
  235. package/src/sap/cux/home/i18n/messagebundle_es.properties +19 -2
  236. package/src/sap/cux/home/i18n/messagebundle_es_MX.properties +18 -2
  237. package/src/sap/cux/home/i18n/messagebundle_et.properties +18 -2
  238. package/src/sap/cux/home/i18n/messagebundle_fi.properties +18 -2
  239. package/src/sap/cux/home/i18n/messagebundle_fr.properties +18 -2
  240. package/src/sap/cux/home/i18n/messagebundle_fr_CA.properties +18 -2
  241. package/src/sap/cux/home/i18n/messagebundle_hi.properties +18 -2
  242. package/src/sap/cux/home/i18n/messagebundle_hr.properties +18 -2
  243. package/src/sap/cux/home/i18n/messagebundle_hu.properties +18 -2
  244. package/src/sap/cux/home/i18n/messagebundle_id.properties +18 -2
  245. package/src/sap/cux/home/i18n/messagebundle_it.properties +23 -7
  246. package/src/sap/cux/home/i18n/messagebundle_iw.properties +18 -2
  247. package/src/sap/cux/home/i18n/messagebundle_ja.properties +18 -2
  248. package/src/sap/cux/home/i18n/messagebundle_kk.properties +18 -2
  249. package/src/sap/cux/home/i18n/messagebundle_ko.properties +18 -2
  250. package/src/sap/cux/home/i18n/messagebundle_lt.properties +18 -2
  251. package/src/sap/cux/home/i18n/messagebundle_lv.properties +18 -2
  252. package/src/sap/cux/home/i18n/messagebundle_mk.properties +18 -2
  253. package/src/sap/cux/home/i18n/messagebundle_ms.properties +18 -2
  254. package/src/sap/cux/home/i18n/messagebundle_nl.properties +18 -2
  255. package/src/sap/cux/home/i18n/messagebundle_no.properties +18 -2
  256. package/src/sap/cux/home/i18n/messagebundle_pl.properties +18 -2
  257. package/src/sap/cux/home/i18n/messagebundle_pt.properties +19 -3
  258. package/src/sap/cux/home/i18n/messagebundle_pt_PT.properties +18 -2
  259. package/src/sap/cux/home/i18n/messagebundle_ro.properties +18 -2
  260. package/src/sap/cux/home/i18n/messagebundle_ru.properties +18 -2
  261. package/src/sap/cux/home/i18n/messagebundle_sh.properties +18 -2
  262. package/src/sap/cux/home/i18n/messagebundle_sk.properties +18 -2
  263. package/src/sap/cux/home/i18n/messagebundle_sl.properties +18 -2
  264. package/src/sap/cux/home/i18n/messagebundle_sr.properties +18 -2
  265. package/src/sap/cux/home/i18n/messagebundle_sv.properties +18 -2
  266. package/src/sap/cux/home/i18n/messagebundle_th.properties +18 -2
  267. package/src/sap/cux/home/i18n/messagebundle_tr.properties +18 -2
  268. package/src/sap/cux/home/i18n/messagebundle_uk.properties +20 -4
  269. package/src/sap/cux/home/i18n/messagebundle_vi.properties +18 -2
  270. package/src/sap/cux/home/i18n/messagebundle_zh_CN.properties +18 -2
  271. package/src/sap/cux/home/i18n/messagebundle_zh_TW.properties +18 -2
  272. package/src/sap/cux/home/interface/AppsInterface.d.ts +5 -0
  273. package/src/sap/cux/home/interface/AppsInterface.d.ts.map +1 -1
  274. package/src/sap/cux/home/interface/AppsInterface.js.map +1 -1
  275. package/src/sap/cux/home/interface/AppsInterface.ts +6 -0
  276. package/src/sap/cux/home/interface/CardsInterface.d.ts +6 -0
  277. package/src/sap/cux/home/interface/CardsInterface.d.ts.map +1 -1
  278. package/src/sap/cux/home/interface/CardsInterface.js.map +1 -1
  279. package/src/sap/cux/home/interface/CardsInterface.ts +6 -1
  280. package/src/sap/cux/home/interface/KeyUserInterface.d.ts +27 -4
  281. package/src/sap/cux/home/interface/KeyUserInterface.d.ts.map +1 -1
  282. package/src/sap/cux/home/interface/KeyUserInterface.js.map +1 -1
  283. package/src/sap/cux/home/interface/KeyUserInterface.ts +23 -4
  284. package/src/sap/cux/home/interface/LayoutInterface.d.ts +7 -0
  285. package/src/sap/cux/home/interface/LayoutInterface.d.ts.map +1 -1
  286. package/src/sap/cux/home/interface/LayoutInterface.js.map +1 -1
  287. package/src/sap/cux/home/interface/LayoutInterface.ts +7 -0
  288. package/src/sap/cux/home/library.d.ts.map +1 -1
  289. package/src/sap/cux/home/library.js +7 -4
  290. package/src/sap/cux/home/library.js.map +1 -1
  291. package/src/sap/cux/home/library.ts +10 -5
  292. package/src/sap/cux/home/themes/base/AppsContainer.less +12 -1
  293. package/src/sap/cux/home/themes/base/BaseContainer.less +36 -0
  294. package/src/sap/cux/home/themes/base/BaseLayout.less +22 -0
  295. package/src/sap/cux/home/themes/base/{InsightsContainer.less → CardsContainer.less} +4 -45
  296. package/src/sap/cux/home/themes/base/ContentAdditionDialog.less +10 -18
  297. package/src/sap/cux/home/themes/base/PlaceHolder.less +1 -1
  298. package/src/sap/cux/home/themes/base/SettingsDialog.less +4 -0
  299. package/src/sap/cux/home/themes/base/TilesContainer.less +65 -0
  300. package/src/sap/cux/home/themes/base/ToDosContainer.less +4 -0
  301. package/src/sap/cux/home/themes/base/library.source.less +2 -1
  302. package/src/sap/cux/home/utils/BatchHelper.d.ts +1 -0
  303. package/src/sap/cux/home/utils/BatchHelper.d.ts.map +1 -1
  304. package/src/sap/cux/home/utils/BatchHelper.js +7 -2
  305. package/src/sap/cux/home/utils/BatchHelper.js.map +1 -1
  306. package/src/sap/cux/home/utils/BatchHelper.ts +8 -1
  307. package/src/sap/cux/home/utils/FESRUtil.d.ts +30 -0
  308. package/src/sap/cux/home/utils/FESRUtil.d.ts.map +1 -1
  309. package/src/sap/cux/home/utils/FESRUtil.js +36 -1
  310. package/src/sap/cux/home/utils/FESRUtil.js.map +1 -1
  311. package/src/sap/cux/home/utils/FESRUtil.ts +36 -0
  312. package/src/sap/cux/home/utils/PXFeedback.d.ts +4 -0
  313. package/src/sap/cux/home/utils/PXFeedback.d.ts.map +1 -0
  314. package/src/sap/cux/home/utils/PXFeedback.js +28 -0
  315. package/src/sap/cux/home/utils/PXFeedback.js.map +1 -0
  316. package/src/sap/cux/home/utils/PXFeedback.ts +19 -0
  317. package/src/sap/cux/home/utils/PageManager.d.ts +0 -4
  318. package/src/sap/cux/home/utils/PageManager.d.ts.map +1 -1
  319. package/src/sap/cux/home/utils/PageManager.js +6 -6
  320. package/src/sap/cux/home/utils/PageManager.js.map +1 -1
  321. package/src/sap/cux/home/utils/PageManager.ts +6 -5
  322. package/src/sap/cux/home/utils/PerformanceUtils.d.ts +4 -2
  323. package/src/sap/cux/home/utils/PerformanceUtils.d.ts.map +1 -1
  324. package/src/sap/cux/home/utils/PerformanceUtils.js +4 -2
  325. package/src/sap/cux/home/utils/PerformanceUtils.js.map +1 -1
  326. package/src/sap/cux/home/utils/PerformanceUtils.ts +4 -2
  327. package/src/sap/cux/home/utils/fragment/appsAdditionContent.fragment.xml +150 -151
  328. package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.d.ts +8 -0
  329. package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.d.ts.map +1 -0
  330. package/src/sap/cux/home/utils/placeholder/{InsightsPlaceholder.js → CardsPlaceholder.js} +3 -77
  331. package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.js.map +1 -0
  332. package/src/sap/cux/home/utils/placeholder/{InsightsPlaceholder.ts → CardsPlaceholder.ts} +1 -75
  333. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.d.ts +8 -0
  334. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.d.ts.map +1 -0
  335. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.js +44 -0
  336. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.js.map +1 -0
  337. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.ts +34 -0
  338. package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.d.ts +8 -0
  339. package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.d.ts.map +1 -0
  340. package/src/sap/cux/home/utils/placeholder/{NewsAndPagesPlaceholder.js → PagesPlaceholder.js} +3 -23
  341. package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.js.map +1 -0
  342. package/src/sap/cux/home/utils/placeholder/{NewsAndPagesPlaceholder.ts → PagesPlaceholder.ts} +1 -21
  343. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.d.ts +8 -0
  344. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.d.ts.map +1 -0
  345. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.js +95 -0
  346. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.js.map +1 -0
  347. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.ts +85 -0
  348. package/ui5.yaml +1 -0
  349. package/src/sap/cux/home/InsightsContainer.d.ts +0 -205
  350. package/src/sap/cux/home/InsightsContainer.d.ts.map +0 -1
  351. package/src/sap/cux/home/InsightsContainer.js +0 -459
  352. package/src/sap/cux/home/InsightsContainer.js.map +0 -1
  353. package/src/sap/cux/home/InsightsContainer.ts +0 -489
  354. package/src/sap/cux/home/NewsAndPagesContainer.d.ts.map +0 -1
  355. package/src/sap/cux/home/NewsAndPagesContainer.js.map +0 -1
  356. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.d.ts +0 -8
  357. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.d.ts.map +0 -1
  358. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.js.map +0 -1
  359. package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.d.ts +0 -8
  360. package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.d.ts.map +0 -1
  361. package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.js.map +0 -1
@@ -2,7 +2,7 @@
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
3
  * * (c) Copyright 2009-2025 SAP SE. All rights reserved
4
4
  */
5
- sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLayoutData", "sap/m/Button", "sap/m/CustomListItem", "sap/m/Dialog", "sap/m/GenericTile", "sap/m/HBox", "sap/m/HeaderContainer", "sap/m/IllustratedMessage", "sap/m/IllustratedMessageSize", "sap/m/IllustratedMessageType", "sap/m/Label", "sap/m/List", "sap/m/ObjectIdentifier", "sap/m/Title", "sap/m/VBox", "sap/m/library", "sap/ui/core/EventBus", "sap/ui/core/Icon", "sap/ui/core/Lib", "sap/ui/model/json/JSONModel", "sap/ushell/Config", "sap/ushell/Container", "sap/ushell/api/S4MyHome", "./BasePanel", "./MenuItem", "./utils/Accessibility", "./utils/AppManager", "./utils/Constants", "./utils/DataFormatUtils", "./utils/Device", "./utils/DragDropUtils", "./utils/FESRUtil", "./utils/InsightsUtils"], function (Log, GridContainer, GridContainerItemLayoutData, Button, CustomListItem, Dialog, GenericTile, HBox, HeaderContainer, IllustratedMessage, IllustratedMessageSize, IllustratedMessageType, Label, List, ObjectIdentifier, Title, VBox, sap_m_library, EventBus, Icon, Lib, JSONModel, Config, Container, S4MyHome, __BasePanel, __MenuItem, ___utils_Accessibility, __AppManager, ___utils_Constants, ___utils_DataFormatUtils, ___utils_Device, ___utils_DragDropUtils, ___utils_FESRUtil, ___utils_InsightsUtils) {
5
+ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLayoutData", "sap/m/Button", "sap/m/CustomListItem", "sap/m/Dialog", "sap/m/GenericTile", "sap/m/HBox", "sap/m/HeaderContainer", "sap/m/IllustratedMessage", "sap/m/IllustratedMessageSize", "sap/m/IllustratedMessageType", "sap/m/Label", "sap/m/List", "sap/m/ObjectIdentifier", "sap/m/Title", "sap/m/VBox", "sap/m/library", "sap/ui/core/EventBus", "sap/ui/core/Icon", "sap/ui/core/Lib", "sap/ui/model/json/JSONModel", "sap/ushell/Config", "sap/ushell/Container", "sap/ushell/api/S4MyHome", "./BasePanel", "./ErrorPanel", "./MenuItem", "./utils/Accessibility", "./utils/AppManager", "./utils/Constants", "./utils/DataFormatUtils", "./utils/Device", "./utils/DragDropUtils", "./utils/FESRUtil", "./utils/InsightsUtils"], function (Log, GridContainer, GridContainerItemLayoutData, Button, CustomListItem, Dialog, GenericTile, HBox, HeaderContainer, IllustratedMessage, IllustratedMessageSize, IllustratedMessageType, Label, List, ObjectIdentifier, Title, VBox, sap_m_library, EventBus, Icon, Lib, JSONModel, Config, Container, S4MyHome, __BasePanel, __ErrorPanel, __MenuItem, ___utils_Accessibility, __AppManager, ___utils_Constants, ___utils_DataFormatUtils, ___utils_Device, ___utils_DragDropUtils, ___utils_FESRUtil, ___utils_InsightsUtils) {
6
6
  "use strict";
7
7
 
8
8
  function _interopRequireDefault(obj) {
@@ -33,6 +33,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
33
33
  }
34
34
  const LoadState = sap_m_library["LoadState"];
35
35
  const BasePanel = _interopRequireDefault(__BasePanel);
36
+ const ErrorPanel = _interopRequireDefault(__ErrorPanel);
36
37
  const MenuItem = _interopRequireDefault(__MenuItem);
37
38
  const checkPanelExists = ___utils_Accessibility["checkPanelExists"];
38
39
  const AppManager = _interopRequireDefault(__AppManager);
@@ -46,10 +47,11 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
46
47
  const fetchElementProperties = ___utils_Device["fetchElementProperties"];
47
48
  const focusDraggedItem = ___utils_DragDropUtils["focusDraggedItem"];
48
49
  const addFESRId = ___utils_FESRUtil["addFESRId"];
50
+ const addFESRNavigationSource = ___utils_FESRUtil["addFESRNavigationSource"];
49
51
  const addFESRSemanticStepName = ___utils_FESRUtil["addFESRSemanticStepName"];
50
52
  const FESR_EVENTS = ___utils_FESRUtil["FESR_EVENTS"];
51
- const createShowMoreActionButton = ___utils_InsightsUtils["createShowMoreActionButton"];
52
- const createShowMoreMenuItem = ___utils_InsightsUtils["createShowMoreMenuItem"];
53
+ const FESRNavigationSource = ___utils_FESRUtil["FESRNavigationSource"];
54
+ const getAssociatedFullScreenButton = ___utils_InsightsUtils["getAssociatedFullScreenButton"];
53
55
  const getAssociatedFullScreenMenuItem = ___utils_InsightsUtils["getAssociatedFullScreenMenuItem"];
54
56
  const sortMenuItems = ___utils_InsightsUtils["sortMenuItems"];
55
57
  var tilesMenuItems = /*#__PURE__*/function (tilesMenuItems) {
@@ -58,22 +60,20 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
58
60
  tilesMenuItems["EDIT_TILES"] = "tiles-editTiles";
59
61
  return tilesMenuItems;
60
62
  }(tilesMenuItems || {});
61
- var tilesContainerMenuItems = /*#__PURE__*/function (tilesContainerMenuItems) {
62
- tilesContainerMenuItems["REFRESH"] = "container-tiles-refresh";
63
- tilesContainerMenuItems["ADD_APPS"] = "container-tiles-addSmartApps";
64
- tilesContainerMenuItems["EDIT_TILES"] = "container-tiles-editTiles";
65
- tilesContainerMenuItems["SHOW_MORE"] = "tilesContainerFullScreenMenuItem";
66
- return tilesContainerMenuItems;
67
- }(tilesContainerMenuItems || {});
68
63
  var tilesActionButtons = /*#__PURE__*/function (tilesActionButtons) {
69
64
  tilesActionButtons["ADD_TILES"] = "tiles-addTilesButton";
65
+ tilesActionButtons["SHOW_MORE"] = "fullScreen";
70
66
  return tilesActionButtons;
71
67
  }(tilesActionButtons || {});
72
- var tilesContainerActionButtons = /*#__PURE__*/function (tilesContainerActionButtons) {
73
- tilesContainerActionButtons["ADD_TILES"] = "container-tiles-addTilesButton";
74
- tilesContainerActionButtons["SHOW_MORE"] = "tilesContanerFullScreenActionButton";
75
- return tilesContainerActionButtons;
76
- }(tilesContainerActionButtons || {});
68
+ var errorPanelMenuItems = /*#__PURE__*/function (errorPanelMenuItems) {
69
+ errorPanelMenuItems["ADD_APPS"] = "tiles-errorPanel-addSmartApps";
70
+ errorPanelMenuItems["EDIT_TILES"] = "tiles-errorPanel-editTiles";
71
+ return errorPanelMenuItems;
72
+ }(errorPanelMenuItems || {});
73
+ var errorPanelActionButtons = /*#__PURE__*/function (errorPanelActionButtons) {
74
+ errorPanelActionButtons["ADD_TILES"] = "tiles-errorPanel-addTilesButton";
75
+ return errorPanelActionButtons;
76
+ }(errorPanelActionButtons || {});
77
77
  var DisplayFormat = /*#__PURE__*/function (DisplayFormat) {
78
78
  DisplayFormat["Standard"] = "standard";
79
79
  DisplayFormat["StandardWide"] = "standardWide";
@@ -173,10 +173,9 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
173
173
  */
174
174
  constructor: function _constructor(id, settings) {
175
175
  BasePanel.prototype.constructor.call(this, id, settings);
176
- this._insightsSectionTitle = this._i18nBundle.getText("insights");
176
+ this._insightsSectionTitle = this._i18nBundle.getText("insightsTiles");
177
177
  this._addFromFavDialogId = `${this.getId()}-addFromFavDialog`;
178
178
  this.aInsightsApps = [];
179
- this._headerVisible = false;
180
179
  },
181
180
  /**
182
181
  * Initializes the Tiles Panel.
@@ -198,6 +197,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
198
197
  this._controlModel = new JSONModel(this._oData);
199
198
  this.appManagerInstance = AppManager.getInstance();
200
199
  this.setProperty("key", "tiles");
200
+ this.setProperty("title", this._i18nBundle.getText("insightsTiles"));
201
201
  this.setProperty("enableFullScreen", true);
202
202
  const refreshMenuItem = this._createRefreshMenuItem(tilesMenuItems.REFRESH, "tilesRefresh");
203
203
  const editTilesMenuItem = this._createEditTilesMenuItem(tilesMenuItems.EDIT_TILES, "manageTiles");
@@ -232,6 +232,11 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
232
232
 
233
233
  // Toggles the activity of tiles
234
234
  this._toggleTileActivity();
235
+ //Add error panel to the parent container 'TilesContainer'
236
+ const parentContainer = this._getTilesContainer();
237
+ parentContainer?.addContent(this._errorPanel);
238
+ //set its visibility to false initially
239
+ this._errorPanel?.setVisible(false);
235
240
  },
236
241
  /**
237
242
  * Toggles the activity of tiles on route change.
@@ -351,6 +356,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
351
356
  _this3._showPlaceHolders();
352
357
  if (checkPanelExists(container, appsConatinerlName, favAppPanelName)) {
353
358
  const addFromFavAppMenuItem = _this3._createAddFromFavMenuItem(tilesMenuItems.ADD_APPS, "smartAppsDialog");
359
+ addFromFavAppMenuItem.setVisible(_showAddApps());
354
360
  _this3.addAggregation("menuItems", addFromFavAppMenuItem);
355
361
  _this3._sortMenuItems(sortedMenuItems);
356
362
  }
@@ -360,6 +366,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
360
366
  });
361
367
  }, function (error) {
362
368
  _this3.fireHandleHidePanel();
369
+ _this3._addErrorPanel();
363
370
  });
364
371
  }, function (_wasThrown, _result) {
365
372
  _this3.fireEvent("loaded");
@@ -393,26 +400,52 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
393
400
  refreshData: function _refreshData(refreshTiles = false) {
394
401
  try {
395
402
  const _this4 = this;
396
- const panelName = _this4.getMetadata().getName();
397
403
  return Promise.resolve(_this4.appManagerInstance.fetchInsightApps(true, _this4._insightsSectionTitle)).then(function (_this4$appManagerInst) {
398
404
  function _temp6() {
399
405
  _this4._clearPlaceHolders();
400
406
  _this4._controlModel.setProperty("/tiles", _this4.aInsightsApps);
401
407
  if (_this4.aInsightsApps?.length) {
408
+ _this4._errorPanel?.setVisible(false);
409
+ //loop through the contents of parent container of this panel i.e., TilesContainer
410
+ const parentContainer = _this4._getTilesContainer();
411
+ parentContainer?.getContent().forEach(content => {
412
+ if (content instanceof ErrorPanel) {
413
+ //remove the error panel from the TilesContainer
414
+ parentContainer.removeContent(content);
415
+ }
416
+ });
402
417
  _this4.fireHandleUnhidePanel();
403
418
  if (refreshTiles) {
404
419
  const isMobile = _this4.getDeviceType() === DeviceType.Mobile;
405
- const container = isMobile ? _this4.tilesMobileContainer : _this4.tilesContainer;
420
+ const container = isMobile ? _this4.tilesMobileContainer : _this4.tilesDesktopContainer;
406
421
  const sDefaultAggreName = container.getMetadata().getDefaultAggregationName();
407
422
  const dynamicTiles = container.getAggregation(sDefaultAggreName) || [];
408
423
  dynamicTiles.forEach(tiles => tiles.refresh?.());
409
424
  }
410
- _this4._getInsightsContainer()?.updatePanelsItemCount(_this4.aInsightsApps.length, panelName);
411
- if (_this4._headerVisible) {
412
- _this4.setProperty("title", `${_this4._i18nBundle?.getText("insightsTiles")} (${_this4.aInsightsApps.length})`);
413
- }
425
+ _this4.setProperty("title", `${_this4._i18nBundle?.getText("insightsTiles")} (${_this4.aInsightsApps.length})`);
426
+ //if the panel has been loaded and has tiles, update the visibility of header elements of the panel
427
+ _this4.getMenuItems().forEach(item => {
428
+ if (item.getId().includes(tilesMenuItems.REFRESH) || item.getId().includes(tilesMenuItems.EDIT_TILES) || item.getId().includes("showMore")) {
429
+ item.setVisible(true);
430
+ }
431
+ });
414
432
  } else {
433
+ //if there are no tiles, hide the panel and show the error panel
434
+ _this4.setProperty("title", `${_this4._i18nBundle?.getText("insightsTiles")}`);
435
+ _this4.getMenuItems().forEach(item => {
436
+ if (item.getId().includes(tilesMenuItems.REFRESH) || item.getId().includes(tilesMenuItems.EDIT_TILES) || item.getId().includes("showMore")) {
437
+ item.setVisible(false);
438
+ }
439
+ });
415
440
  _this4.fireHandleHidePanel();
441
+ _this4._addErrorPanel();
442
+ const layout = _this4._getTilesContainer()?._getLayout();
443
+ if (layout?.getProperty("expanded")) {
444
+ _this4.tilesContainer.addContent(_this4);
445
+ layout?.toggleFullScreen(_this4);
446
+ //remove the tiles panel from the tiles container
447
+ _this4.tilesContainer.removeContent(_this4);
448
+ }
416
449
  }
417
450
  }
418
451
  _this4.aInsightsApps = _this4$appManagerInst;
@@ -430,6 +463,69 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
430
463
  return Promise.reject(e);
431
464
  }
432
465
  },
466
+ /**
467
+ * Adds an error panel when there are no tiles available.
468
+ *
469
+ * @private
470
+ * @returns {void}
471
+ */
472
+ _addErrorPanel: function _addErrorPanel() {
473
+ const _this5 = this;
474
+ const parentContainer = this._getTilesContainer();
475
+ //set the visibility of tiles panel to false
476
+ this.setVisible(false);
477
+ if (!this._errorPanel) {
478
+ this._errorPanel = new ErrorPanel(`${this.getId()}-errorTilesPanel`, {
479
+ additionalData: [new Button(`${this.getId()}-addInsightsTilesBtn`, {
480
+ text: this._i18nBundle.getText("appFinderLink"),
481
+ type: "Emphasized",
482
+ press: function () {
483
+ try {
484
+ const container = _this5._getTilesContainer();
485
+ const _temp7 = function () {
486
+ if (checkPanelExists(container, appsConatinerlName, favAppPanelName)) {
487
+ // Favorite App Panel is visible, proceed as usual
488
+ void _this5._handleAddFromFavApps();
489
+ } else {
490
+ // Favorite App Panel is NOT visible, navigate to App Finder
491
+ return Promise.resolve(_this5.navigateToAppFinder()).then(function () {});
492
+ }
493
+ }();
494
+ return Promise.resolve(_temp7 && _temp7.then ? _temp7.then(function () {}) : void 0);
495
+ } catch (e) {
496
+ return Promise.reject(e);
497
+ }
498
+ }
499
+ })],
500
+ messageTitle: this._i18nBundle.getText("noAppsTitle"),
501
+ messageDescription: this._i18nBundle.getText("noInsightsTileMsg")
502
+ });
503
+ this._errorPanel.getData();
504
+ //Add the menu items and action buttons to the error panel
505
+ const editTilesMenuItem = this._createEditTilesMenuItem(errorPanelMenuItems.EDIT_TILES, "manageTiles");
506
+ const addFromFavAppMenuItem = this._createAddFromFavMenuItem(errorPanelMenuItems.ADD_APPS, "smartAppsDialog");
507
+ this._errorPanel.setProperty("enableSettings", true);
508
+ addFromFavAppMenuItem.setVisible(_showAddApps());
509
+ const menuItems = [editTilesMenuItem, addFromFavAppMenuItem];
510
+ menuItems.forEach(menuItem => this._errorPanel.addAggregation("menuItems", menuItem));
511
+ this._sortMenuItems(sortedMenuItems);
512
+ const addTilesButton = this._createAddTilesButton(errorPanelActionButtons.ADD_TILES, "addTiles");
513
+ const actionButtons = [addTilesButton];
514
+ actionButtons.forEach(actionButton => this._errorPanel.addAggregation("actionButtons", actionButton));
515
+ }
516
+ //Add the title to the error panel
517
+ this._errorPanel.setTitle(this._i18nBundle.getText("insightsTiles"));
518
+
519
+ //Add error panel to the parent container 'TilesContainer'
520
+ parentContainer.addAggregation("content", this._errorPanel);
521
+ this._errorPanel.setVisible(true);
522
+
523
+ //set the visibility of header elements of the error panel
524
+ this._errorPanel.getMenuItems().forEach(item => {
525
+ const itemVisibility = item.getId().includes(errorPanelMenuItems.ADD_APPS) || item.getId().includes(errorPanelMenuItems.EDIT_TILES) || item.getId().includes("settings");
526
+ item.setVisible(itemVisibility);
527
+ });
528
+ },
433
529
  /**
434
530
  * Generates the wrapper for the tiles container, if it doesn't already exist
435
531
  *
@@ -464,7 +560,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
464
560
  scrollTime: 1000,
465
561
  showDividers: false,
466
562
  visible: "{/isPhone}"
467
- }).addStyleClass("sectionMarginTopTilesInsight sapMHeaderContainerMarginBottom");
563
+ }).addStyleClass("sectionMarginTopTilesInsight sapMHeaderContainerMarginBottom sapCuxInsightsMobileCardsContainer");
468
564
 
469
565
  // Attach aggregation to the container
470
566
  this._attachAggregationToContainer(this.tilesMobileContainer);
@@ -478,17 +574,17 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
478
574
  * @returns {sap.m.GridContainer} The generated tiles wrapper.
479
575
  */
480
576
  _createWrapperFlexBox: function _createWrapperFlexBox() {
481
- // Check if the tilesContainer already exists
482
- if (!this.tilesContainer) {
577
+ // Check if the tilesDesktopContainer already exists
578
+ if (!this.tilesDesktopContainer) {
483
579
  // Create the GridContainer with required properties
484
- this.tilesContainer = new GridContainer(`${this.getId()}-insightsTilesContainer`, {
580
+ this.tilesDesktopContainer = new GridContainer(`${this.getId()}-insightsTilesContainer`, {
485
581
  visible: "{= !${/isPhone}}"
486
- }).addStyleClass("insightTiles sapUiSmallMarginTop sapUiSmallMarginBottom");
582
+ }).addStyleClass("insightTiles sapUiSmallMarginTop");
487
583
  // Attach aggregation to the container
488
- this._attachAggregationToContainer(this.tilesContainer);
584
+ this._attachAggregationToContainer(this.tilesDesktopContainer);
489
585
  }
490
586
  // Return the existing or newly created container
491
- return this.tilesContainer;
587
+ return this.tilesDesktopContainer;
492
588
  },
493
589
  /**
494
590
  * Updates the activation flags for Insights Tiles based on the device type and viewport.
@@ -509,15 +605,15 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
509
605
  * Attaches necessary aggregations and configurations to the provided container.
510
606
  *
511
607
  * @private
512
- * @param {GridContainer | HeaderContainer} tilesContainer - The container to which the aggregation and events are to be attached.
608
+ * @param {GridContainer | HeaderContainer} tilesDesktopContainer - The container to which the aggregation and events are to be attached.
513
609
  * @returns {void}
514
610
  *
515
611
  */
516
- _attachAggregationToContainer: function _attachAggregationToContainer(tilesContainer) {
517
- tilesContainer.setModel(this._controlModel);
518
- const sDefaultAggreName = tilesContainer.getMetadata().getDefaultAggregationName();
612
+ _attachAggregationToContainer: function _attachAggregationToContainer(tilesDesktopContainer) {
613
+ tilesDesktopContainer.setModel(this._controlModel);
614
+ const sDefaultAggreName = tilesDesktopContainer.getMetadata().getDefaultAggregationName();
519
615
  const isPhoneScreen = this.getDeviceType() === DeviceType.Mobile;
520
- tilesContainer.bindAggregation(sDefaultAggreName, {
616
+ tilesDesktopContainer.bindAggregation(sDefaultAggreName, {
521
617
  path: "/tiles",
522
618
  factory: (id, context) => {
523
619
  const oApp = context.getObject();
@@ -529,12 +625,15 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
529
625
  minRows: 2,
530
626
  columns: oVisualization.getDisplayFormat?.() === DisplayFormat.Standard ? 2 : 4
531
627
  }));
628
+ oVisualization?.attachPress?.(() => {
629
+ addFESRNavigationSource(FESRNavigationSource.Tiles);
630
+ });
532
631
  oVisualization?.bindProperty?.("active", isPhoneScreen ? "/activateInsightsTilesOnPhone" : "/activateInsightsTilesOnDesktop");
533
632
  this._setDropAreaRectFunction(oVisualization);
534
633
  return oVisualization;
535
634
  }
536
635
  });
537
- this.addDragDropConfigTo(tilesContainer, oEvent => this._handleTilesDnd(oEvent));
636
+ this.addDragDropConfigTo(tilesDesktopContainer, oEvent => this._handleTilesDnd(oEvent));
538
637
  },
539
638
  /**
540
639
  * Sets the drop area rectangle function for the given visualization.
@@ -595,15 +694,15 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
595
694
  */
596
695
  _DragnDropTiles: function _DragnDropTiles(iDragItemIndex, iDropItemIndex, sInsertPosition) {
597
696
  try {
598
- const _this5 = this;
697
+ const _this6 = this;
599
698
  if (sInsertPosition === "Before" && iDragItemIndex < iDropItemIndex) {
600
699
  iDropItemIndex--;
601
700
  } else if (sInsertPosition === "After" && iDragItemIndex > iDropItemIndex) {
602
701
  iDropItemIndex++;
603
702
  }
604
- const oDisplacedItem = _this5.aInsightsApps[iDropItemIndex],
605
- oItemMoved = _this5.aInsightsApps.splice(iDragItemIndex, 1)[0];
606
- _this5.aInsightsApps.splice(iDropItemIndex, 0, oItemMoved);
703
+ const oDisplacedItem = _this6.aInsightsApps[iDropItemIndex],
704
+ oItemMoved = _this6.aInsightsApps.splice(iDragItemIndex, 1)[0];
705
+ _this6.aInsightsApps.splice(iDropItemIndex, 0, oItemMoved);
607
706
  const moveConfigs = {
608
707
  pageId: MYHOME_PAGE_ID,
609
708
  sourceSectionIndex: oItemMoved.persConfig?.sectionIndex,
@@ -611,12 +710,12 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
611
710
  targetSectionIndex: oDisplacedItem.persConfig?.sectionIndex,
612
711
  targetVisualizationIndex: oDisplacedItem.persConfig?.visualizationIndex
613
712
  };
614
- _this5._controlModel.setProperty("/tiles", _this5.aInsightsApps);
615
- return Promise.resolve(_this5.appManagerInstance.moveVisualization(moveConfigs)).then(function () {
616
- return Promise.resolve(_this5.refreshData(true)).then(function () {
713
+ _this6._controlModel.setProperty("/tiles", _this6.aInsightsApps);
714
+ return Promise.resolve(_this6.appManagerInstance.moveVisualization(moveConfigs)).then(function () {
715
+ return Promise.resolve(_this6.refreshData(true)).then(function () {
617
716
  // Ensures focus on tile after Panel refresh during DnD.
618
717
  setTimeout(() => {
619
- focusDraggedItem(_this5.tilesContainer, iDropItemIndex);
718
+ focusDraggedItem(_this6.tilesDesktopContainer, iDropItemIndex);
620
719
  }, 0);
621
720
  });
622
721
  });
@@ -630,32 +729,14 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
630
729
  * @param {Event} event - The event object.
631
730
  */
632
731
  handleEditTiles: function _handleEditTiles(event) {
633
- /* If called from Panel Header event.source() will return TilesPanel, if called from Insights Container event.source() will return InsightsContainer.
732
+ /* If called from Panel Header event.source() will return TilesPanel, if called from Insights Container event.source() will return TilesContainer.
634
733
  _getLayout is available at Container Level*/
635
734
  let parent = event.getSource().getParent() || this;
636
- if (parent instanceof TilesPanel) {
735
+ if (parent instanceof TilesPanel || parent instanceof ErrorPanel) {
637
736
  parent = parent.getParent();
638
737
  }
639
738
  parent?._getLayout().openSettingsDialog(SETTINGS_PANELS_KEYS.INSIGHTS_TILES);
640
739
  },
641
- /**
642
- * Hides the header of the tiles panel.
643
- * @private
644
- */
645
- handleHideHeader: function _handleHideHeader() {
646
- this._headerVisible = false;
647
- this.setProperty("title", "");
648
- this._toggleHeaderActions(false);
649
- },
650
- /**
651
- * Adds the header to the tiles panel.
652
- * @private
653
- */
654
- handleAddHeader: function _handleAddHeader() {
655
- this._headerVisible = true;
656
- this.setProperty("title", `${this._i18nBundle?.getText("insightsTiles")} (${this.aInsightsApps.length})`);
657
- this._toggleHeaderActions(true);
658
- },
659
740
  /**
660
741
  * Closes the "Add from Favorites" dialog.
661
742
  *
@@ -682,7 +763,9 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
682
763
  target: {
683
764
  shellHash: `Shell-appfinder?&/catalog/${JSON.stringify(navigationObject)}`
684
765
  }
685
- })).then(function () {});
766
+ })).then(function () {
767
+ addFESRNavigationSource(FESRNavigationSource.AppFinder);
768
+ });
686
769
  });
687
770
  } catch (e) {
688
771
  return Promise.reject(e);
@@ -704,11 +787,11 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
704
787
  */
705
788
  _handleAddFromFavApps: function _handleAddFromFavApps() {
706
789
  try {
707
- const _this6 = this;
708
- return Promise.resolve(_this6._getFavToAdd()).then(function (appsToAdd) {
709
- const dialog = _this6._generateAddFromFavAppsDialog();
710
- _this6._controlMap.get(`${_this6._addFromFavDialogId}-errorMessage`)?.setVisible(appsToAdd.length === 0);
711
- _this6._generateAddFromFavAppsListItems(appsToAdd);
790
+ const _this7 = this;
791
+ return Promise.resolve(_this7._getFavToAdd()).then(function (appsToAdd) {
792
+ const dialog = _this7._generateAddFromFavAppsDialog();
793
+ _this7._controlMap.get(`${_this7._addFromFavDialogId}-errorMessage`)?.setVisible(appsToAdd.length === 0);
794
+ _this7._generateAddFromFavAppsListItems(appsToAdd);
712
795
  dialog.open();
713
796
  });
714
797
  } catch (e) {
@@ -724,13 +807,13 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
724
807
  */
725
808
  _getFavToAdd: function _getFavToAdd() {
726
809
  try {
727
- const _this7 = this;
728
- return Promise.resolve(_this7.appManagerInstance.fetchFavVizs(false, true)).then(function (aFavApps) {
810
+ const _this8 = this;
811
+ return Promise.resolve(_this8.appManagerInstance.fetchFavVizs(false, true)).then(function (aFavApps) {
729
812
  const aDynamicApps = aFavApps.filter(function (oDynApp) {
730
813
  return oDynApp.isCount || oDynApp.isSmartBusinessTile;
731
814
  });
732
815
  const aFilteredFavApps = aDynamicApps.filter(oDynApp => {
733
- const iAppIndex = _this7.aInsightsApps.findIndex(function (oInsightApps) {
816
+ const iAppIndex = _this8.aInsightsApps.findIndex(function (oInsightApps) {
734
817
  return !oDynApp.visualization?.isBookmark && oInsightApps.visualization?.vizId === oDynApp.visualization?.vizId || oDynApp.visualization?.isBookmark && oInsightApps.visualization?.targetURL === oDynApp.visualization?.targetURL;
735
818
  });
736
819
  return iAppIndex === -1;
@@ -881,11 +964,11 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
881
964
  */
882
965
  _addFromFavApps: function _addFromFavApps() {
883
966
  try {
884
- const _this8 = this;
885
- const dialog = _this8._controlMap.get(_this8._addFromFavDialogId);
967
+ const _this9 = this;
968
+ const dialog = _this9._controlMap.get(_this9._addFromFavDialogId);
886
969
  dialog.setBusy(true);
887
- const selectedItems = _this8._getSelectedInsights();
888
- return Promise.resolve(_this8.appManagerInstance._getSections()).then(function (sections) {
970
+ const selectedItems = _this9._getSelectedInsights();
971
+ return Promise.resolve(_this9.appManagerInstance._getSections()).then(function (sections) {
889
972
  return Promise.resolve(selectedItems.reduce(function (promise, oApp) {
890
973
  return Promise.resolve(promise).then(function () {
891
974
  const app = oApp.data("app");
@@ -893,7 +976,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
893
976
  pageId: MYHOME_PAGE_ID,
894
977
  sourceSectionIndex: app.persConfig?.sectionIndex,
895
978
  sourceVisualizationIndex: app.persConfig?.visualizationIndex,
896
- targetSectionIndex: _this8.appManagerInstance.insightsSectionIndex,
979
+ targetSectionIndex: _this9.appManagerInstance.insightsSectionIndex,
897
980
  targetVisualizationIndex: -1
898
981
  };
899
982
 
@@ -908,11 +991,11 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
908
991
  if (recentAppSectionIndex === -1) {
909
992
  oMovingConfig.sourceSectionIndex = 0;
910
993
  oMovingConfig.sourceVisualizationIndex = 0;
911
- oMovingConfig.targetSectionIndex = _this8.appManagerInstance.insightsSectionIndex + 1;
994
+ oMovingConfig.targetSectionIndex = _this9.appManagerInstance.insightsSectionIndex + 1;
912
995
  } else {
913
996
  oMovingConfig.sourceSectionIndex = recentAppSectionIndex;
914
997
  oMovingConfig.sourceVisualizationIndex = sections[recentAppSectionIndex]?.visualizations?.length || 0;
915
- oMovingConfig.targetSectionIndex = _this8.appManagerInstance.insightsSectionIndex;
998
+ oMovingConfig.targetSectionIndex = _this9.appManagerInstance.insightsSectionIndex;
916
999
  }
917
1000
  }
918
1001
  if (app.visualization?.displayFormatHint !== "standard" && app.visualization?.displayFormatHint !== "standardWide") {
@@ -925,17 +1008,17 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
925
1008
  if (!app.visualization?.vizId) {
926
1009
  app.visualization.vizId = app.visualization?.targetURL ?? "";
927
1010
  }
928
- const _temp7 = function () {
1011
+ const _temp8 = function () {
929
1012
  if (app.visualization?.isBookmark === true) {
930
- return Promise.resolve(_this8.appManagerInstance.addBookMark(app.visualization, oMovingConfig)).then(function () {});
1013
+ return Promise.resolve(_this9.appManagerInstance.addBookMark(app.visualization, oMovingConfig)).then(function () {});
931
1014
  } else {
932
- return Promise.resolve(_this8.appManagerInstance.addVisualization(app.visualization?.vizId, MYINSIGHT_SECTION_ID)).then(function () {});
1015
+ return Promise.resolve(_this9.appManagerInstance.addVisualization(app.visualization?.vizId, MYINSIGHT_SECTION_ID)).then(function () {});
933
1016
  }
934
1017
  }();
935
- if (_temp7 && _temp7.then) return _temp7.then(function () {});
1018
+ if (_temp8 && _temp8.then) return _temp8.then(function () {});
936
1019
  });
937
1020
  }, Promise.resolve())).then(function () {
938
- return Promise.resolve(_this8.refreshData()).then(function () {
1021
+ return Promise.resolve(_this9.refreshData()).then(function () {
939
1022
  dialog.setBusy(false);
940
1023
  dialog.close();
941
1024
  });
@@ -953,7 +1036,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
953
1036
  * @returns {number} - The number of visible tiles.
954
1037
  */
955
1038
  _calculateVisibleTileCount: function _calculateVisibleTileCount(insightsApps) {
956
- const layout = this._getInsightsContainer()?._getLayout();
1039
+ const layout = this._getTilesContainer()?._getLayout();
957
1040
  const layoutDomRef = layout?.getDomRef();
958
1041
  const apps = insightsApps || [];
959
1042
  let count = 0;
@@ -976,7 +1059,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
976
1059
  return count || 1;
977
1060
  },
978
1061
  _calculatePlaceholderTileCount: function _calculatePlaceholderTileCount() {
979
- const layoutDomRef = this._getInsightsContainer()?._getLayout()?.getDomRef();
1062
+ const layoutDomRef = this._getTilesContainer()?._getLayout()?.getDomRef();
980
1063
  let count = 0;
981
1064
  if (layoutDomRef) {
982
1065
  const sectionDomRef = layoutDomRef.childNodes[0];
@@ -994,7 +1077,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
994
1077
  * @override
995
1078
  */
996
1079
  _adjustLayout: function _adjustLayout() {
997
- const layout = this._getInsightsContainer()?._getLayout();
1080
+ const layout = this._getTilesContainer()?._getLayout();
998
1081
  const isMobileDevice = this.getDeviceType() === DeviceType.Mobile;
999
1082
  if (layout) {
1000
1083
  const visibleTileCount = isMobileDevice ? this.aInsightsApps?.length : this._calculateVisibleTileCount(this.aInsightsApps);
@@ -1004,73 +1087,28 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
1004
1087
  this._updateTilesActivity();
1005
1088
  //Show/Hide Full Screen Button if panel header is visible otherwise update visibility of container Full Screen Button
1006
1089
  const showFullScreenButton = isElementExpanded || this.aInsightsApps.length > visibleTileCount;
1007
- if (this._headerVisible) {
1008
- if (!isMobileDevice) {
1009
- this.getAggregation("actionButtons")?.forEach(actionButton => {
1010
- if (actionButton.getId().includes(tilesActionButtons.ADD_TILES)) {
1011
- this._getInsightsContainer().toggleActionButton(actionButton, true);
1012
- }
1013
- });
1014
- }
1015
- this._getInsightsContainer()?.toggleFullScreenElements(this, showFullScreenButton);
1016
- } else {
1017
- const fullScreenButton = getAssociatedFullScreenMenuItem(this);
1018
- const fullScreenText = fullScreenButton?.getTitle() ?? "";
1019
- this._getInsightsContainer()?.updateMenuItem(this._controlMap.get(`${this.getId()}-${tilesContainerMenuItems.SHOW_MORE}`), showFullScreenButton, fullScreenText);
1020
- this._getInsightsContainer()?.updateActionButton(this._controlMap.get(`${this.getId()}-${tilesContainerActionButtons.SHOW_MORE}`), showFullScreenButton, fullScreenText);
1021
- }
1022
- }
1023
- },
1024
- /**
1025
- * Retrieves the InsightsContainer instance associated with this TilesPanel.
1026
- *
1027
- * @private
1028
- * @returns {InsightsContainer} The InsightsContainer instance.
1029
- */
1030
- _getInsightsContainer: function _getInsightsContainer() {
1031
- if (!this.insightsContainer) {
1032
- this.insightsContainer = this.getParent();
1033
- }
1034
- return this.insightsContainer;
1035
- },
1036
- /**
1037
- * Retrieves the menu items for the container.
1038
- *
1039
- * @private
1040
- * @returns {MenuItem[]} An array of MenuItem instances.
1041
- */
1042
- getContainerMenuItems: function _getContainerMenuItems() {
1043
- if (!this._containerMenuItems) {
1044
- const containerRefresh = this._createRefreshMenuItem(tilesContainerMenuItems.REFRESH, "containerTilesRefresh");
1045
- const containerEditTiles = this._createEditTilesMenuItem(tilesContainerMenuItems.EDIT_TILES, "containerManageTiles");
1046
- const containerShowMore = createShowMoreMenuItem(this, tilesContainerMenuItems.SHOW_MORE, "containerTilesShowMore");
1047
- const container = this.getParent();
1048
- this._controlMap.set(`${this.getId()}-${tilesContainerMenuItems.SHOW_MORE}`, containerShowMore);
1049
- this._containerMenuItems = [containerRefresh, containerEditTiles, containerShowMore];
1050
- if (checkPanelExists(container, appsConatinerlName, favAppPanelName)) {
1051
- const containerAddFromFav = this._createAddFromFavMenuItem(tilesContainerMenuItems.ADD_APPS, "containerSmartAppsDialog");
1052
- this._containerMenuItems.splice(1, 0, containerAddFromFav);
1053
- }
1090
+ const fullScreenButton = getAssociatedFullScreenMenuItem(this);
1091
+ const fullScreenText = fullScreenButton?.getTitle() ?? "";
1092
+
1093
+ //update the panel menu-item show more button and show more action button in panel header
1094
+ fullScreenButton?.setVisible(showFullScreenButton);
1095
+ fullScreenButton?.setTitle(fullScreenText);
1096
+ const fullScreenActionButton = getAssociatedFullScreenButton(this);
1097
+ fullScreenActionButton?.setVisible(showFullScreenButton);
1098
+ fullScreenActionButton?.setText(fullScreenText);
1054
1099
  }
1055
- return this._containerMenuItems;
1056
1100
  },
1057
1101
  /**
1058
- * Retrieves the action buttons for the container.
1102
+ * Retrieves the TilesContainer instance associated with this TilesPanel.
1059
1103
  *
1060
1104
  * @private
1061
- * @returns {Button[]} An array of Button instances.
1105
+ * @returns {TilesContainer} The TilesContainer instance.
1062
1106
  */
1063
- getContainerActionButtons: function _getContainerActionButtons() {
1064
- if (!this._containerActionButtons) {
1065
- this._containerActionButtons = [];
1066
- this._containerActionButtons.push(this._createAddTilesButton(tilesContainerActionButtons.ADD_TILES, "containerSmartAppsDialog"));
1067
- const containerFullScreenActionButton = createShowMoreActionButton(this, tilesContainerActionButtons.SHOW_MORE, "containerTilesShowMore");
1068
- if (containerFullScreenActionButton) {
1069
- this._controlMap.set(`${this.getId()}-${tilesContainerActionButtons.SHOW_MORE}`, containerFullScreenActionButton);
1070
- this._containerActionButtons.push(containerFullScreenActionButton);
1071
- }
1107
+ _getTilesContainer: function _getTilesContainer() {
1108
+ if (!this.tilesContainer) {
1109
+ this.tilesContainer = this.getParent();
1072
1110
  }
1073
- return this._containerActionButtons;
1111
+ return this.tilesContainer;
1074
1112
  },
1075
1113
  /**
1076
1114
  * Creates a refresh menu item.
@@ -1146,23 +1184,23 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
1146
1184
  * @returns {Button} The created Button instance.
1147
1185
  */
1148
1186
  _createAddTilesButton: function _createAddTilesButton(id, fesrId) {
1149
- const _this9 = this;
1187
+ const _this0 = this;
1150
1188
  const actionButton = new Button(`${this.getId()}-${id}`, {
1151
1189
  text: this._i18nBundle.getText("appFinderLink"),
1152
1190
  tooltip: this._i18nBundle.getText("appFinderLink"),
1153
1191
  press: function () {
1154
1192
  try {
1155
- const container = _this9._getInsightsContainer();
1156
- const _temp8 = function () {
1193
+ const container = _this0._getTilesContainer();
1194
+ const _temp9 = function () {
1157
1195
  if (checkPanelExists(container, appsConatinerlName, favAppPanelName)) {
1158
1196
  // Favorite App Panel is visible, proceed as usual
1159
- void _this9._handleAddFromFavApps();
1197
+ void _this0._handleAddFromFavApps();
1160
1198
  } else {
1161
1199
  // Favorite App Panel is NOT visible, navigate to App Finder
1162
- return Promise.resolve(_this9.navigateToAppFinder()).then(function () {});
1200
+ return Promise.resolve(_this0.navigateToAppFinder()).then(function () {});
1163
1201
  }
1164
1202
  }();
1165
- return Promise.resolve(_temp8 && _temp8.then ? _temp8.then(function () {}) : void 0);
1203
+ return Promise.resolve(_temp9 && _temp9.then ? _temp9.then(function () {}) : void 0);
1166
1204
  } catch (e) {
1167
1205
  return Promise.reject(e);
1168
1206
  }
@@ -1173,24 +1211,12 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerItemLa
1173
1211
  addFESRId(actionButton, fesrId);
1174
1212
  }
1175
1213
  return actionButton;
1176
- },
1177
- /**
1178
- * Toggles the visibility of the header actions.
1179
- *
1180
- * @param {boolean} bShow - Whether to show or hide the header actions.
1181
- * @private
1182
- */
1183
- _toggleHeaderActions: function _toggleHeaderActions(bShow) {
1184
- this.getAggregation("menuItems")?.forEach(menuItem => {
1185
- this._getInsightsContainer()?.toggleMenuListItem(menuItem, bShow);
1186
- });
1187
- this.getAggregation("actionButtons")?.forEach(actionButton => this._getInsightsContainer()?.toggleActionButton(actionButton, bShow));
1188
1214
  }
1189
1215
  });
1190
1216
  TilesPanel.tilesMenuItems = tilesMenuItems;
1191
- TilesPanel.tilesContainerMenuItems = tilesContainerMenuItems;
1192
1217
  TilesPanel.tilesActionButtons = tilesActionButtons;
1193
- TilesPanel.tilesContainerActionButtons = tilesContainerActionButtons;
1218
+ TilesPanel.errorPanelMenuItems = errorPanelMenuItems;
1219
+ TilesPanel.errorPanelActionButtons = errorPanelActionButtons;
1194
1220
  TilesPanel.DisplayFormat = DisplayFormat;
1195
1221
  return TilesPanel;
1196
1222
  });