@sapui5/sap.cux.home 1.138.0 → 1.139.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 (298) hide show
  1. package/package.json +1 -1
  2. package/src/sap/cux/home/.library +1 -1
  3. package/src/sap/cux/home/App.d.ts +2 -2
  4. package/src/sap/cux/home/App.js +2 -2
  5. package/src/sap/cux/home/App.js.map +1 -1
  6. package/src/sap/cux/home/App.ts +2 -2
  7. package/src/sap/cux/home/AppsAdditionPanel.d.ts.map +1 -1
  8. package/src/sap/cux/home/AppsAdditionPanel.js +17 -10
  9. package/src/sap/cux/home/AppsAdditionPanel.js.map +1 -1
  10. package/src/sap/cux/home/AppsAdditionPanel.ts +19 -12
  11. package/src/sap/cux/home/AppsContainer.d.ts +2 -3
  12. package/src/sap/cux/home/AppsContainer.d.ts.map +1 -1
  13. package/src/sap/cux/home/AppsContainer.js +5 -8
  14. package/src/sap/cux/home/AppsContainer.js.map +1 -1
  15. package/src/sap/cux/home/AppsContainer.ts +4 -8
  16. package/src/sap/cux/home/BaseApp.d.ts +2 -2
  17. package/src/sap/cux/home/BaseApp.js +2 -2
  18. package/src/sap/cux/home/BaseApp.js.map +1 -1
  19. package/src/sap/cux/home/BaseApp.ts +2 -2
  20. package/src/sap/cux/home/BaseAppPanel.js +1 -1
  21. package/src/sap/cux/home/BaseAppPanel.js.map +1 -1
  22. package/src/sap/cux/home/BaseAppPanel.ts +1 -1
  23. package/src/sap/cux/home/BaseContainer.d.ts +2 -2
  24. package/src/sap/cux/home/BaseContainer.js +3 -3
  25. package/src/sap/cux/home/BaseContainer.js.map +1 -1
  26. package/src/sap/cux/home/BaseContainer.ts +3 -3
  27. package/src/sap/cux/home/BaseContainerRenderer.d.ts +4 -4
  28. package/src/sap/cux/home/BaseContainerRenderer.d.ts.map +1 -1
  29. package/src/sap/cux/home/BaseContainerRenderer.js +17 -19
  30. package/src/sap/cux/home/BaseContainerRenderer.js.map +1 -1
  31. package/src/sap/cux/home/BaseContainerRenderer.ts +21 -25
  32. package/src/sap/cux/home/BaseLayout.d.ts +2 -2
  33. package/src/sap/cux/home/BaseLayout.js +2 -2
  34. package/src/sap/cux/home/BaseLayout.js.map +1 -1
  35. package/src/sap/cux/home/BaseLayout.ts +2 -2
  36. package/src/sap/cux/home/BaseNewsItem.d.ts +2 -2
  37. package/src/sap/cux/home/BaseNewsItem.js +2 -2
  38. package/src/sap/cux/home/BaseNewsItem.js.map +1 -1
  39. package/src/sap/cux/home/BaseNewsItem.ts +2 -2
  40. package/src/sap/cux/home/BaseNewsPanel.d.ts +2 -2
  41. package/src/sap/cux/home/BaseNewsPanel.js +2 -2
  42. package/src/sap/cux/home/BaseNewsPanel.js.map +1 -1
  43. package/src/sap/cux/home/BaseNewsPanel.ts +2 -2
  44. package/src/sap/cux/home/BasePagePanel.d.ts +2 -2
  45. package/src/sap/cux/home/BasePagePanel.js +2 -2
  46. package/src/sap/cux/home/BasePagePanel.js.map +1 -1
  47. package/src/sap/cux/home/BasePagePanel.ts +2 -2
  48. package/src/sap/cux/home/BasePanel.d.ts +2 -2
  49. package/src/sap/cux/home/BasePanel.js +2 -2
  50. package/src/sap/cux/home/BasePanel.js.map +1 -1
  51. package/src/sap/cux/home/BasePanel.ts +2 -2
  52. package/src/sap/cux/home/BaseSettingsDialog.d.ts +2 -2
  53. package/src/sap/cux/home/BaseSettingsDialog.js +2 -2
  54. package/src/sap/cux/home/BaseSettingsDialog.js.map +1 -1
  55. package/src/sap/cux/home/BaseSettingsDialog.ts +2 -2
  56. package/src/sap/cux/home/BaseSettingsPanel.d.ts +3 -3
  57. package/src/sap/cux/home/BaseSettingsPanel.d.ts.map +1 -1
  58. package/src/sap/cux/home/BaseSettingsPanel.js +4 -3
  59. package/src/sap/cux/home/BaseSettingsPanel.js.map +1 -1
  60. package/src/sap/cux/home/BaseSettingsPanel.ts +6 -4
  61. package/src/sap/cux/home/CardsPanel.d.ts +2 -2
  62. package/src/sap/cux/home/CardsPanel.d.ts.map +1 -1
  63. package/src/sap/cux/home/CardsPanel.js +4 -4
  64. package/src/sap/cux/home/CardsPanel.js.map +1 -1
  65. package/src/sap/cux/home/CardsPanel.ts +4 -7
  66. package/src/sap/cux/home/ContentAdditionDialog.js +1 -1
  67. package/src/sap/cux/home/ContentAdditionDialog.js.map +1 -1
  68. package/src/sap/cux/home/ContentAdditionDialog.ts +1 -1
  69. package/src/sap/cux/home/ErrorPanel.d.ts +2 -2
  70. package/src/sap/cux/home/ErrorPanel.js +2 -2
  71. package/src/sap/cux/home/ErrorPanel.js.map +1 -1
  72. package/src/sap/cux/home/ErrorPanel.ts +2 -2
  73. package/src/sap/cux/home/FavAppPanel.d.ts +2 -2
  74. package/src/sap/cux/home/FavAppPanel.js +2 -2
  75. package/src/sap/cux/home/FavAppPanel.js.map +1 -1
  76. package/src/sap/cux/home/FavAppPanel.ts +2 -2
  77. package/src/sap/cux/home/FrequentAppPanel.d.ts +2 -2
  78. package/src/sap/cux/home/FrequentAppPanel.js +2 -2
  79. package/src/sap/cux/home/FrequentAppPanel.js.map +1 -1
  80. package/src/sap/cux/home/FrequentAppPanel.ts +2 -2
  81. package/src/sap/cux/home/Group.d.ts +2 -2
  82. package/src/sap/cux/home/Group.js +2 -2
  83. package/src/sap/cux/home/Group.js.map +1 -1
  84. package/src/sap/cux/home/Group.ts +2 -2
  85. package/src/sap/cux/home/IToDoPanel.d.ts +2 -2
  86. package/src/sap/cux/home/IToDoPanel.js.map +1 -1
  87. package/src/sap/cux/home/IToDoPanel.ts +2 -2
  88. package/src/sap/cux/home/InsightsAdditionPanel.d.ts.map +1 -1
  89. package/src/sap/cux/home/InsightsAdditionPanel.js +4 -7
  90. package/src/sap/cux/home/InsightsAdditionPanel.js.map +1 -1
  91. package/src/sap/cux/home/InsightsAdditionPanel.ts +4 -8
  92. package/src/sap/cux/home/InsightsContainer.d.ts +2 -3
  93. package/src/sap/cux/home/InsightsContainer.d.ts.map +1 -1
  94. package/src/sap/cux/home/InsightsContainer.js +6 -6
  95. package/src/sap/cux/home/InsightsContainer.js.map +1 -1
  96. package/src/sap/cux/home/InsightsContainer.ts +13 -7
  97. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.d.ts.map +1 -1
  98. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js +5 -3
  99. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js.map +1 -1
  100. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.ts +4 -2
  101. package/src/sap/cux/home/KeyUserNewsSettingsPanel.d.ts +11 -5
  102. package/src/sap/cux/home/KeyUserNewsSettingsPanel.d.ts.map +1 -1
  103. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js +160 -82
  104. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js.map +1 -1
  105. package/src/sap/cux/home/KeyUserNewsSettingsPanel.ts +164 -82
  106. package/src/sap/cux/home/Layout.d.ts +2 -3
  107. package/src/sap/cux/home/Layout.d.ts.map +1 -1
  108. package/src/sap/cux/home/Layout.js +2 -3
  109. package/src/sap/cux/home/Layout.js.map +1 -1
  110. package/src/sap/cux/home/Layout.ts +2 -4
  111. package/src/sap/cux/home/MenuItem.d.ts +2 -2
  112. package/src/sap/cux/home/MenuItem.js +2 -2
  113. package/src/sap/cux/home/MenuItem.js.map +1 -1
  114. package/src/sap/cux/home/MenuItem.ts +2 -2
  115. package/src/sap/cux/home/NewsAndPagesContainer.d.ts +24 -3
  116. package/src/sap/cux/home/NewsAndPagesContainer.d.ts.map +1 -1
  117. package/src/sap/cux/home/NewsAndPagesContainer.js +49 -21
  118. package/src/sap/cux/home/NewsAndPagesContainer.js.map +1 -1
  119. package/src/sap/cux/home/NewsAndPagesContainer.ts +53 -21
  120. package/src/sap/cux/home/NewsGroup.d.ts.map +1 -1
  121. package/src/sap/cux/home/NewsGroup.js +11 -6
  122. package/src/sap/cux/home/NewsGroup.js.map +1 -1
  123. package/src/sap/cux/home/NewsGroup.ts +11 -8
  124. package/src/sap/cux/home/NewsPanel.d.ts +36 -7
  125. package/src/sap/cux/home/NewsPanel.d.ts.map +1 -1
  126. package/src/sap/cux/home/NewsPanel.gen.d.ts +0 -91
  127. package/src/sap/cux/home/NewsPanel.js +281 -200
  128. package/src/sap/cux/home/NewsPanel.js.map +1 -1
  129. package/src/sap/cux/home/NewsPanel.ts +168 -102
  130. package/src/sap/cux/home/NewsSettingsPanel.d.ts.map +1 -1
  131. package/src/sap/cux/home/NewsSettingsPanel.js +10 -6
  132. package/src/sap/cux/home/NewsSettingsPanel.js.map +1 -1
  133. package/src/sap/cux/home/NewsSettingsPanel.ts +12 -6
  134. package/src/sap/cux/home/NoDataContainer.d.ts +2 -3
  135. package/src/sap/cux/home/NoDataContainer.d.ts.map +1 -1
  136. package/src/sap/cux/home/NoDataContainer.js +2 -2
  137. package/src/sap/cux/home/NoDataContainer.js.map +1 -1
  138. package/src/sap/cux/home/NoDataContainer.ts +2 -2
  139. package/src/sap/cux/home/PagePanel.d.ts +2 -2
  140. package/src/sap/cux/home/PagePanel.js +2 -2
  141. package/src/sap/cux/home/PagePanel.js.map +1 -1
  142. package/src/sap/cux/home/PagePanel.ts +2 -2
  143. package/src/sap/cux/home/RecentAppPanel.d.ts +2 -2
  144. package/src/sap/cux/home/RecentAppPanel.js +2 -2
  145. package/src/sap/cux/home/RecentAppPanel.js.map +1 -1
  146. package/src/sap/cux/home/RecentAppPanel.ts +2 -2
  147. package/src/sap/cux/home/RecommendedAppPanel.d.ts +2 -2
  148. package/src/sap/cux/home/RecommendedAppPanel.js +2 -2
  149. package/src/sap/cux/home/RecommendedAppPanel.js.map +1 -1
  150. package/src/sap/cux/home/RecommendedAppPanel.ts +2 -2
  151. package/src/sap/cux/home/SituationPanel.d.ts +2 -2
  152. package/src/sap/cux/home/SituationPanel.js +2 -2
  153. package/src/sap/cux/home/SituationPanel.js.map +1 -1
  154. package/src/sap/cux/home/SituationPanel.ts +2 -2
  155. package/src/sap/cux/home/SpaceInsightsPanel.d.ts +2 -2
  156. package/src/sap/cux/home/SpaceInsightsPanel.d.ts.map +1 -1
  157. package/src/sap/cux/home/SpaceInsightsPanel.js +6 -3
  158. package/src/sap/cux/home/SpaceInsightsPanel.js.map +1 -1
  159. package/src/sap/cux/home/SpaceInsightsPanel.ts +6 -3
  160. package/src/sap/cux/home/SpacePanel.d.ts +2 -2
  161. package/src/sap/cux/home/SpacePanel.js +2 -2
  162. package/src/sap/cux/home/SpacePanel.js.map +1 -1
  163. package/src/sap/cux/home/SpacePanel.ts +2 -2
  164. package/src/sap/cux/home/TaskPanel.d.ts +2 -2
  165. package/src/sap/cux/home/TaskPanel.d.ts.map +1 -1
  166. package/src/sap/cux/home/TaskPanel.js +4 -11
  167. package/src/sap/cux/home/TaskPanel.js.map +1 -1
  168. package/src/sap/cux/home/TaskPanel.ts +5 -11
  169. package/src/sap/cux/home/TilesPanel.d.ts +2 -2
  170. package/src/sap/cux/home/TilesPanel.d.ts.map +1 -1
  171. package/src/sap/cux/home/TilesPanel.js +6 -6
  172. package/src/sap/cux/home/TilesPanel.js.map +1 -1
  173. package/src/sap/cux/home/TilesPanel.ts +6 -12
  174. package/src/sap/cux/home/ToDoPanel.d.ts +2 -2
  175. package/src/sap/cux/home/ToDoPanel.d.ts.map +1 -1
  176. package/src/sap/cux/home/ToDoPanel.js +4 -19
  177. package/src/sap/cux/home/ToDoPanel.js.map +1 -1
  178. package/src/sap/cux/home/ToDoPanel.ts +4 -20
  179. package/src/sap/cux/home/ToDosContainer.d.ts +2 -3
  180. package/src/sap/cux/home/ToDosContainer.d.ts.map +1 -1
  181. package/src/sap/cux/home/ToDosContainer.js +5 -5
  182. package/src/sap/cux/home/ToDosContainer.js.map +1 -1
  183. package/src/sap/cux/home/ToDosContainer.ts +3 -3
  184. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.d.ts.map +1 -1
  185. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js +1 -0
  186. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js.map +1 -1
  187. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.ts +1 -0
  188. package/src/sap/cux/home/i18n/messagebundle.properties +17 -5
  189. package/src/sap/cux/home/i18n/messagebundle_ar.properties +5 -5
  190. package/src/sap/cux/home/i18n/messagebundle_bg.properties +5 -5
  191. package/src/sap/cux/home/i18n/messagebundle_ca.properties +5 -5
  192. package/src/sap/cux/home/i18n/messagebundle_cnr.properties +5 -5
  193. package/src/sap/cux/home/i18n/messagebundle_cs.properties +5 -5
  194. package/src/sap/cux/home/i18n/messagebundle_cy.properties +5 -5
  195. package/src/sap/cux/home/i18n/messagebundle_da.properties +5 -5
  196. package/src/sap/cux/home/i18n/messagebundle_de.properties +15 -15
  197. package/src/sap/cux/home/i18n/messagebundle_el.properties +5 -5
  198. package/src/sap/cux/home/i18n/messagebundle_en.properties +5 -5
  199. package/src/sap/cux/home/i18n/messagebundle_en_GB.properties +5 -5
  200. package/src/sap/cux/home/i18n/messagebundle_en_US_sappsd.properties +12 -6
  201. package/src/sap/cux/home/i18n/messagebundle_en_US_saprigi.properties +12 -6
  202. package/src/sap/cux/home/i18n/messagebundle_en_US_saptrc.properties +5 -5
  203. package/src/sap/cux/home/i18n/messagebundle_es.properties +5 -5
  204. package/src/sap/cux/home/i18n/messagebundle_es_MX.properties +5 -5
  205. package/src/sap/cux/home/i18n/messagebundle_et.properties +5 -5
  206. package/src/sap/cux/home/i18n/messagebundle_fi.properties +5 -5
  207. package/src/sap/cux/home/i18n/messagebundle_fr.properties +5 -5
  208. package/src/sap/cux/home/i18n/messagebundle_fr_CA.properties +5 -5
  209. package/src/sap/cux/home/i18n/messagebundle_hi.properties +5 -5
  210. package/src/sap/cux/home/i18n/messagebundle_hr.properties +5 -5
  211. package/src/sap/cux/home/i18n/messagebundle_hu.properties +5 -5
  212. package/src/sap/cux/home/i18n/messagebundle_id.properties +6 -6
  213. package/src/sap/cux/home/i18n/messagebundle_it.properties +5 -5
  214. package/src/sap/cux/home/i18n/messagebundle_iw.properties +5 -5
  215. package/src/sap/cux/home/i18n/messagebundle_ja.properties +9 -9
  216. package/src/sap/cux/home/i18n/messagebundle_kk.properties +5 -5
  217. package/src/sap/cux/home/i18n/messagebundle_ko.properties +5 -5
  218. package/src/sap/cux/home/i18n/messagebundle_lt.properties +5 -5
  219. package/src/sap/cux/home/i18n/messagebundle_lv.properties +5 -5
  220. package/src/sap/cux/home/i18n/messagebundle_mk.properties +5 -5
  221. package/src/sap/cux/home/i18n/messagebundle_ms.properties +5 -5
  222. package/src/sap/cux/home/i18n/messagebundle_nl.properties +5 -5
  223. package/src/sap/cux/home/i18n/messagebundle_no.properties +5 -5
  224. package/src/sap/cux/home/i18n/messagebundle_pl.properties +5 -5
  225. package/src/sap/cux/home/i18n/messagebundle_pt.properties +5 -5
  226. package/src/sap/cux/home/i18n/messagebundle_pt_PT.properties +5 -5
  227. package/src/sap/cux/home/i18n/messagebundle_ro.properties +5 -5
  228. package/src/sap/cux/home/i18n/messagebundle_ru.properties +5 -5
  229. package/src/sap/cux/home/i18n/messagebundle_sh.properties +5 -5
  230. package/src/sap/cux/home/i18n/messagebundle_sk.properties +6 -6
  231. package/src/sap/cux/home/i18n/messagebundle_sl.properties +5 -5
  232. package/src/sap/cux/home/i18n/messagebundle_sr.properties +5 -5
  233. package/src/sap/cux/home/i18n/messagebundle_sv.properties +5 -5
  234. package/src/sap/cux/home/i18n/messagebundle_th.properties +7 -7
  235. package/src/sap/cux/home/i18n/messagebundle_tr.properties +5 -5
  236. package/src/sap/cux/home/i18n/messagebundle_uk.properties +6 -6
  237. package/src/sap/cux/home/i18n/messagebundle_vi.properties +5 -5
  238. package/src/sap/cux/home/i18n/messagebundle_zh_CN.properties +5 -5
  239. package/src/sap/cux/home/i18n/messagebundle_zh_TW.properties +5 -5
  240. package/src/sap/cux/home/interface/CardsInterface.d.ts +1 -5
  241. package/src/sap/cux/home/interface/CardsInterface.d.ts.map +1 -1
  242. package/src/sap/cux/home/interface/CardsInterface.js.map +1 -1
  243. package/src/sap/cux/home/interface/CardsInterface.ts +1 -1
  244. package/src/sap/cux/home/interface/KeyUserInterface.d.ts +2 -0
  245. package/src/sap/cux/home/interface/KeyUserInterface.d.ts.map +1 -1
  246. package/src/sap/cux/home/interface/KeyUserInterface.js.map +1 -1
  247. package/src/sap/cux/home/interface/KeyUserInterface.ts +2 -0
  248. package/src/sap/cux/home/library.d.ts +26 -15
  249. package/src/sap/cux/home/library.d.ts.map +1 -1
  250. package/src/sap/cux/home/library.js +26 -15
  251. package/src/sap/cux/home/library.js.map +1 -1
  252. package/src/sap/cux/home/library.ts +27 -15
  253. package/src/sap/cux/home/themes/base/ContentAdditionDialog.less +0 -8
  254. package/src/sap/cux/home/themes/base/NewsAndPagesContainer.less +4 -0
  255. package/src/sap/cux/home/themes/base/ToDosContainer.less +2 -1
  256. package/src/sap/cux/home/utils/CommonUtils.d.ts +1 -1
  257. package/src/sap/cux/home/utils/CommonUtils.d.ts.map +1 -1
  258. package/src/sap/cux/home/utils/CommonUtils.js.map +1 -1
  259. package/src/sap/cux/home/utils/CommonUtils.ts +5 -2
  260. package/src/sap/cux/home/utils/FeatureUtils.js +0 -2
  261. package/src/sap/cux/home/utils/FeatureUtils.js.map +1 -1
  262. package/src/sap/cux/home/utils/FeatureUtils.ts +3 -3
  263. package/src/sap/cux/home/utils/HttpHelper.js.map +1 -1
  264. package/src/sap/cux/home/utils/HttpHelper.ts +1 -1
  265. package/src/sap/cux/home/utils/KeyUserPersonalization.d.ts.map +1 -1
  266. package/src/sap/cux/home/utils/KeyUserPersonalization.js +0 -1
  267. package/src/sap/cux/home/utils/KeyUserPersonalization.js.map +1 -1
  268. package/src/sap/cux/home/utils/KeyUserPersonalization.ts +0 -1
  269. package/src/sap/cux/home/utils/fragment/appsAdditionContent.fragment.xml +9 -4
  270. package/src/sap/cux/home/{AppsContainerGenericPlaceholder.d.ts → utils/placeholder/AppsPlaceholder.d.ts} +2 -2
  271. package/src/sap/cux/home/utils/placeholder/AppsPlaceholder.d.ts.map +1 -0
  272. package/src/sap/cux/home/{AppsContainerGenericPlaceholder.js → utils/placeholder/AppsPlaceholder.js} +1 -1
  273. package/src/sap/cux/home/utils/placeholder/AppsPlaceholder.js.map +1 -0
  274. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.d.ts +8 -0
  275. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.d.ts.map +1 -0
  276. package/src/sap/cux/home/{InsightsContainerGenericPlaceholder.js → utils/placeholder/InsightsPlaceholder.js} +1 -1
  277. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.js.map +1 -0
  278. package/src/sap/cux/home/{InsightsContainerGenericPlaceholder.d.ts → utils/placeholder/NewsAndPagesPlaceholder.d.ts} +3 -3
  279. package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.d.ts.map +1 -0
  280. package/src/sap/cux/home/{NewsAndPagesContainerGenericPlaceholder.js → utils/placeholder/NewsAndPagesPlaceholder.js} +1 -1
  281. package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.js.map +1 -0
  282. package/src/sap/cux/home/{ToDosContainerGenericPlaceholder.d.ts → utils/placeholder/ToDosPlaceholder.d.ts} +2 -2
  283. package/src/sap/cux/home/utils/placeholder/ToDosPlaceholder.d.ts.map +1 -0
  284. package/src/sap/cux/home/{ToDosContainerGenericPlaceholder.js → utils/placeholder/ToDosPlaceholder.js} +1 -1
  285. package/src/sap/cux/home/utils/placeholder/ToDosPlaceholder.js.map +1 -0
  286. package/src/sap/cux/home/AppsContainerGenericPlaceholder.d.ts.map +0 -1
  287. package/src/sap/cux/home/AppsContainerGenericPlaceholder.js.map +0 -1
  288. package/src/sap/cux/home/InsightsContainerGenericPlaceholder.d.ts.map +0 -1
  289. package/src/sap/cux/home/InsightsContainerGenericPlaceholder.js.map +0 -1
  290. package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder.d.ts +0 -8
  291. package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder.d.ts.map +0 -1
  292. package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder.js.map +0 -1
  293. package/src/sap/cux/home/ToDosContainerGenericPlaceholder.d.ts.map +0 -1
  294. package/src/sap/cux/home/ToDosContainerGenericPlaceholder.js.map +0 -1
  295. /package/src/sap/cux/home/{AppsContainerGenericPlaceholder.ts → utils/placeholder/AppsPlaceholder.ts} +0 -0
  296. /package/src/sap/cux/home/{InsightsContainerGenericPlaceholder.ts → utils/placeholder/InsightsPlaceholder.ts} +0 -0
  297. /package/src/sap/cux/home/{NewsAndPagesContainerGenericPlaceholder.ts → utils/placeholder/NewsAndPagesPlaceholder.ts} +0 -0
  298. /package/src/sap/cux/home/{ToDosContainerGenericPlaceholder.ts → utils/placeholder/ToDosPlaceholder.ts} +0 -0
@@ -272,7 +272,7 @@ export default class AppsAdditionPanel extends BaseSettingsPanel {
272
272
  //focus on the first item when the list is updated
273
273
  this.appSuggestionList.attachUpdateFinished(() => {
274
274
  if (this.model.getProperty("/suggestedAppsCount") > 0 && this.model.getProperty("/searchStatus") === SearchStatus.Complete) {
275
- this.appSuggestionList.getItems()?.[0].focus();
275
+ this.appSuggestionList.getItems()?.[0]?.focus();
276
276
  }
277
277
  });
278
278
 
@@ -330,7 +330,7 @@ export default class AppsAdditionPanel extends BaseSettingsPanel {
330
330
  width: "19rem",
331
331
  header: context.getProperty("title") as string,
332
332
  subheader: context.getProperty("subTitle") as string,
333
- tileIcon: context.getProperty("icon") as string || DEFAULT_APP_ICON,
333
+ tileIcon: (context.getProperty("icon") as string) || DEFAULT_APP_ICON,
334
334
  visible: context.getProperty("isStaticApp") as boolean,
335
335
  url: context.getProperty("url") as string,
336
336
  press: (event: GenericTile$PressEvent) => {
@@ -344,7 +344,7 @@ export default class AppsAdditionPanel extends BaseSettingsPanel {
344
344
  const vizData = context.getProperty("vizData") as ICustomVisualization;
345
345
  const instance = this.vizInstantiationService.instantiateVisualization(vizData) as ICustomVizInstance;
346
346
  instance?.setActive(true);
347
- instance.attachPress(() => this._persistDialog(this.getParent() as ContentAdditionDialog));
347
+ instance?.attachPress(() => this._persistDialog(this.getParent() as ContentAdditionDialog));
348
348
  container.addItem(instance);
349
349
  }
350
350
 
@@ -503,8 +503,8 @@ export default class AppsAdditionPanel extends BaseSettingsPanel {
503
503
  invalidQuery: true
504
504
  };
505
505
 
506
- this.model.setData({ ...this.model.getData(), ...defaultModelProperties } as object);
507
- this.userSelectedApps.clear();
506
+ this.model?.setData({ ...this.model.getData(), ...defaultModelProperties } as object);
507
+ this.userSelectedApps?.clear();
508
508
  }
509
509
 
510
510
  /**
@@ -533,7 +533,7 @@ export default class AppsAdditionPanel extends BaseSettingsPanel {
533
533
  const apps = this._generateApps(rawApps, allVisualizations, [...favoriteApps, ...insightsApps]);
534
534
  const suggestedApps = await this._filterUnsupportedApps(apps);
535
535
 
536
- if (suggestedApps.length === 0) {
536
+ if (suggestedApps.length === 0 && !this.model.getProperty("/hasError")) {
537
537
  this._handleError("", suggestedApps.length);
538
538
  } else {
539
539
  // update model with filtered apps
@@ -779,8 +779,15 @@ export default class AppsAdditionPanel extends BaseSettingsPanel {
779
779
  await this.refreshInsightsApps();
780
780
  }
781
781
 
782
- (this.getParent() as ContentAdditionDialog).close();
783
- MessageToast.show(this._i18nBundle.getText("appAddedToFavorites") as string);
782
+ (this.getParent() as ContentAdditionDialog)?.close();
783
+ if (userSelectedApps.length > 1) {
784
+ MessageToast.show(this._i18nBundle.getText("contentAddedToMyhome") as string);
785
+ } else {
786
+ const selectedItem = userSelectedApps?.[0];
787
+ const selectedAppTitle = (selectedItem?.getBindingContext?.()?.getProperty?.("title") as string) ?? "";
788
+ const messageKey = staticAppsPresent ? "appAddedToFavorites" : "tileAddedToInsights";
789
+ MessageToast.show(this._i18nBundle.getText(messageKey, [selectedAppTitle]) as string);
790
+ }
784
791
  this.resetPanel();
785
792
  }
786
793
 
@@ -802,8 +809,8 @@ export default class AppsAdditionPanel extends BaseSettingsPanel {
802
809
  */
803
810
  private getAppsContainer(): AppsContainer | undefined {
804
811
  return this.getLayout()
805
- .getContent()
806
- .find((container) => container instanceof AppsContainer) as AppsContainer | undefined;
812
+ ?.getItems()
813
+ .find((container) => container instanceof AppsContainer);
807
814
  }
808
815
 
809
816
  /**
@@ -836,7 +843,7 @@ export default class AppsAdditionPanel extends BaseSettingsPanel {
836
843
  */
837
844
  private getInsightsContainer(): InsightsContainer | undefined {
838
845
  return this.getLayout()
839
- .getContent()
846
+ ?.getItems()
840
847
  .find((container) => container instanceof InsightsContainer);
841
848
  }
842
849
 
@@ -878,7 +885,7 @@ export default class AppsAdditionPanel extends BaseSettingsPanel {
878
885
  */
879
886
  private _handleError(message: string = "", suggestedResponseCount?: number): void {
880
887
  const [, errorCode] = message.match(/\((\d{2})\d*\)\s*(.*)/) || [];
881
- if (suggestedResponseCount === 0) {
888
+ if (suggestedResponseCount === 0 || message.length === 0) {
882
889
  message = this._i18nBundle.getText("NoResultErrorDescription") || "";
883
890
  }
884
891
  this.model.setProperty("/hasError", true);
@@ -26,8 +26,8 @@ declare module "sap/cux/home/AppsContainer" {
26
26
  * @version 0.0.1
27
27
  * @since 1.121
28
28
  *
29
- * @internal
30
- * @public
29
+ * @private
30
+ * @ui5-restricted ux.eng.s4producthomes1
31
31
  *
32
32
  * @alias sap.cux.home.AppsContainer
33
33
  */
@@ -38,7 +38,6 @@ declare module "sap/cux/home/AppsContainer" {
38
38
  apiVersion: number;
39
39
  render: (rm: import("sap/ui/core/RenderManager").default, control: BaseContainer) => void;
40
40
  renderContent: (rm: import("sap/ui/core/RenderManager").default, control: BaseContainer) => void;
41
- renderCustomPlaceholder: (rm: import("sap/ui/core/RenderManager").default, control: BaseContainer) => void;
42
41
  };
43
42
  static readonly metadata: MetadataOptions;
44
43
  constructor(idOrSettings?: string | $AppsContainerSettings);
@@ -1 +1 @@
1
- {"version":3,"file":"AppsContainer.d.ts","sourceRoot":"../../../../..","sources":["src/sap/cux/home/AppsContainer.ts"],"names":[],"mappings":"AAAA,OAAO,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AE,sBAAsB;QAM5D;;;;WAIG;QACU,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;QAO/C;;;;;WAKG;QACU,YAAY,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;QAM7D;;;WAGG;QACH,OAAO,CAAC,cAAc;QAStB;;;;;;WAMG;QACH,OAAO,CAAC,iBAAiB;QAOzB;;;;;WAKG;QACH,OAAO,CAAC,sBAAsB;QAY9B;;;WAGG;QACH,OAAO,CAAC,wBAAwB;QAShC;;;WAGG;QACH,OAAO,CAAC,0BAA0B;QASlC;;;;WAIG;gBACW,+BAA+B;QAStC,YAAY,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI;QAoC9C;;;;;;;;;WASG;QACI,YAAY,IAAI,IAAI;QAgC3B;;;;;;;WAOG;QACH,OAAO,CAAC,oBAAoB;QAe5B;;;;;;WAMG;QACH,OAAO,CAAC,cAAc;QAItB;;;;;;WAMG;QACH,OAAO,CAAC,kBAAkB;QAO1B;;;;WAIG;QACH,OAAO,CAAC,aAAa;QASrB;;;;WAIG;QACH,SAAS,CAAC,4BAA4B,IAAI,MAAM;KAGhD;CAEA"}
@@ -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/m/GenericTile", "sap/m/Panel", "sap/m/library", "sap/ui/core/EventBus", "sap/ui/core/theming/Parameters", "sap/ushell/api/S4MyHome", "./AppsContainerGenericPlaceholder", "./BaseAppPersPanel", "./BaseContainer", "./Group", "./RecommendedAppPanel", "./library", "./utils/DataFormatUtils", "./utils/Device"], function (Log, GenericTile, Panel, sap_m_library, EventBus, Parameters, S4MyHome, ___AppsContainerGenericPlaceholder, __BaseAppPersPanel, __BaseContainer, __Group, __RecommendedAppPanel, ___library, ___utils_DataFormatUtils, ___utils_Device) {
5
+ sap.ui.define(["sap/base/Log", "sap/m/GenericTile", "sap/m/Panel", "sap/m/library", "sap/ui/core/EventBus", "sap/ui/core/theming/Parameters", "sap/ushell/api/S4MyHome", "./BaseAppPersPanel", "./BaseContainer", "./Group", "./RecommendedAppPanel", "./library", "./utils/DataFormatUtils", "./utils/Device", "./utils/placeholder/AppsPlaceholder"], function (Log, GenericTile, Panel, sap_m_library, EventBus, Parameters, S4MyHome, __BaseAppPersPanel, __BaseContainer, __Group, __RecommendedAppPanel, ___library, ___utils_DataFormatUtils, ___utils_Device, ___utils_placeholder_AppsPlaceholder) {
6
6
  "use strict";
7
7
 
8
8
  function _interopRequireDefault(obj) {
@@ -24,7 +24,6 @@ sap.ui.define(["sap/base/Log", "sap/m/GenericTile", "sap/m/Panel", "sap/m/librar
24
24
  const GenericTileMode = sap_m_library["GenericTileMode"];
25
25
  const GenericTileScope = sap_m_library["GenericTileScope"];
26
26
  const TileSizeBehavior = sap_m_library["TileSizeBehavior"];
27
- const getAppsPlaceholder = ___AppsContainerGenericPlaceholder["getAppsPlaceholder"];
28
27
  const BaseAppPersPanel = _interopRequireDefault(__BaseAppPersPanel);
29
28
  const BaseContainer = _interopRequireDefault(__BaseContainer);
30
29
  const Group = _interopRequireDefault(__Group);
@@ -34,6 +33,7 @@ sap.ui.define(["sap/base/Log", "sap/m/GenericTile", "sap/m/Panel", "sap/m/librar
34
33
  const calculateCardWidth = ___utils_Device["calculateCardWidth"];
35
34
  const DeviceType = ___utils_Device["DeviceType"];
36
35
  const fetchElementProperties = ___utils_Device["fetchElementProperties"];
36
+ const getAppsPlaceholder = ___utils_placeholder_AppsPlaceholder["getAppsPlaceholder"];
37
37
  const getDefaultAppColor = () => {
38
38
  const sLegendName = "sapLegendColor9";
39
39
  return {
@@ -60,8 +60,8 @@ sap.ui.define(["sap/base/Log", "sap/m/GenericTile", "sap/m/Panel", "sap/m/librar
60
60
  * @version 0.0.1
61
61
  * @since 1.121
62
62
  *
63
- * @internal
64
- * @public
63
+ * @private
64
+ * @ui5-restricted ux.eng.s4producthomes1
65
65
  *
66
66
  * @alias sap.cux.home.AppsContainer
67
67
  */
@@ -106,9 +106,6 @@ sap.ui.define(["sap/base/Log", "sap/m/GenericTile", "sap/m/Panel", "sap/m/librar
106
106
  init: function _init() {
107
107
  BaseContainer.prototype.init.call(this);
108
108
  this.setProperty("title", this._i18nBundle?.getText("appsTitle"));
109
- if (this.getDeviceType() === DeviceType.Mobile) {
110
- this.setProperty("orientation", OrientationType.Vertical);
111
- }
112
109
  // Subscribe to recommendation setting change event
113
110
  const eventBus = EventBus.getInstance();
114
111
  eventBus.subscribe("importChannel", "recommendationSettingChanged", (channelId, eventId, data) => {
@@ -574,7 +571,7 @@ sap.ui.define(["sap/base/Log", "sap/m/GenericTile", "sap/m/Panel", "sap/m/librar
574
571
  adjustLayout: function _adjustLayout() {
575
572
  const isPhone = this.getDeviceType() === DeviceType.Mobile;
576
573
  const currentLayout = this.getProperty("orientation");
577
- const newLayout = isPhone ? OrientationType.Vertical : OrientationType.SideBySide;
574
+ const newLayout = OrientationType.SideBySide;
578
575
  const shouldAdjustLayout = currentLayout !== newLayout;
579
576
  const selectedPanel = this._getSelectedPanel();
580
577
  this.setTileWidth(selectedPanel);
@@ -1 +1 @@
1
- {"version":3,"file":"AppsContainer.js","names":["sap","ui","define","Log","GenericTile","Panel","sap_m_library","EventBus","Parameters","S4MyHome","___AppsContainerGenericPlaceholder","__BaseAppPersPanel","__BaseContainer","__Group","__RecommendedAppPanel","___library","___utils_DataFormatUtils","___utils_Device","_interopRequireDefault","obj","__esModule","default","_catch","body","recover","result","e","then","BackgroundDesign","FrameType","GenericTileMode","GenericTileScope","TileSizeBehavior","getAppsPlaceholder","BaseAppPersPanel","BaseContainer","Group","RecommendedAppPanel","OrientationType","getLeanURL","calculateCardWidth","DeviceType","fetchElementProperties","getDefaultAppColor","sLegendName","key","value","get","name","assigned","CONSTANTS","PLACEHOLDER_ITEMS_COUNT","MIN_TILE_WIDTH","MAX_TILE_WIDTH","AppsContainer","extend","metadata","events","appsLoaded","parameters","apps","type","tiles","renderer","apiVersion","constructor","_constructor","id","settings","BaseContainer.prototype.constructor.call","_isInitialRender","init","_init","BaseContainer.prototype.init.call","setProperty","_i18nBundle","getText","getDeviceType","Mobile","Vertical","eventBus","getInstance","subscribe","channelId","eventId","data","showRecommendation","firstAppsPanel","getContent","getProperty","addStyleClass","addCustomSetting","_attachRouteChangeEvent","_this","handleRouteChange","event","show","getParameter","_temp2","_temp","_appSwitched","showPersistedDialog","Promise","resolve","load","_setPanelsDirty","reject","attachRouteMatched","error","warning","Error","message","String","onBeforeRendering","_onBeforeRendering","_attachPanelSupportedEvent","_removeUnsupportedPanels","adjustLayout","BaseContainer.prototype.onBeforeRendering.call","onAfterRendering","_onAfterRendering","_this2","BaseContainer.prototype.onAfterRendering.call","_activateRecommendationTabPanel","_load","_this3","selectedPanels","getPanels","all","map","selectedPanel","_setApps","_getPanels","isPhone","_getSelectedPanel","_showPersistedDialog","firePersistDialog","panels","panel","setDesktopViewDirty","setMobileViewDirty","_generatePlaceholder","isLoaded","destroyAggregation","placeholderApps","generateApps","Array","fill","status","setApps","_updatePanelContent","_this4","_temp5","_temp4","fireEvent","_temp3","isDirty","isMobileDirty","loadApps","setLoaded","applyPersonalization","getApps","fetchTileVisualization","showErrorCard","getTitle","groups","getAggregation","wrapper","_generateMobileAppsWrapper","_generateAppsWrapper","aggregationName","items","_generateMobileCards","getId","_generateTiles","_addWrapperContent","_updatePanelContentVisibility","appsWrapper","_generateDesktopAppsWrapper","mobileAppsWrapper","errorCard","_generateErrorMessage","hasApps","length","setVisible","getParent","setWidth","_getAppTile","app","actions","tileId","scope","ActionMore","Display","state","getStatus","mode","IconMode","sizeBehavior","Small","header","backgroundColor","getBgColor","tileIcon","getIcon","url","getUrl","frameType","TwoByHalf","renderOnThemeChange","dropAreaOffset","subheader","getSubTitle","press","_onPress","width","_getGroupTile","group","tileBadge","getNumber","getGroupId","_onPanelSelect","_this5","BaseContainer.prototype._onPanelSelect.call","_refreshAllPanels","_this6","refreshPanel","_refreshPanel","_this7","_toggleTabView","supportedPanels","filter","isSupported","iconTabBarControl","_getInnerControl","toggleStyleClass","_onPanelSupported","currentPanel","setSupported","_togglePanelVisibility","isVisible","panelWrapper","_getPanelContentWrapper","iconTabBar","tabs","getItems","selectedTab","find","tab","getKey","unSupportedPanels","hasListeners","attachSupported","bind","_this8","recommendedPanel","_temp6","_enableRecommendationTab","setTileWidth","_setTileWidth","minWidth","maxWidth","getDomRef","domProperties","availableWidth","Object","values","slice","reduce","propertyValue","tileCount","cardLayoutConfig","containerWidth","totalCards","gap","skipDeviceCheck","clampedWidth","getLayout","_adjustLayout","currentLayout","newLayout","SideBySide","shouldAdjustLayout","toggleActionButtons","forEach","currentPanelId","i","panelItems","backgroundDesign","Solid","height","content","push","item","addAggregation","_showErrorCard","getGenericPlaceholderContent","_getGenericPlaceholderContent"],"sources":["AppsContainer.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\nimport Log from \"sap/base/Log\";\nimport GridContainer from \"sap/f/GridContainer\";\nimport GenericTile from \"sap/m/GenericTile\";\nimport HeaderContainer from \"sap/m/HeaderContainer\";\nimport IconTabBar, { IconTabBar$SelectEvent } from \"sap/m/IconTabBar\";\nimport IconTabFilter from \"sap/m/IconTabFilter\";\nimport Panel from \"sap/m/Panel\";\nimport VBox from \"sap/m/VBox\";\nimport { BackgroundDesign, FrameType, GenericTileMode, GenericTileScope, LoadState, TileSizeBehavior } from \"sap/m/library\";\nimport Event from \"sap/ui/base/Event\";\nimport type { MetadataOptions } from \"sap/ui/core/Element\";\nimport EventBus from \"sap/ui/core/EventBus\";\nimport Parameters from \"sap/ui/core/theming/Parameters\";\nimport S4MyHome from \"sap/ushell/api/S4MyHome\";\nimport App from \"./App\";\nimport { $AppsContainerSettings } from \"./AppsContainer\";\nimport { getAppsPlaceholder } from \"./AppsContainerGenericPlaceholder\";\nimport BaseApp from \"./BaseApp\";\nimport BaseAppPanel, { BaseAppPanel$SupportedEvent } from \"./BaseAppPanel\";\nimport BaseAppPersPanel from \"./BaseAppPersPanel\";\nimport BaseContainer from \"./BaseContainer\";\nimport Group from \"./Group\";\nimport MenuItem from \"./MenuItem\";\nimport RecommendedAppPanel from \"./RecommendedAppPanel\";\nimport { ICustomVisualization } from \"./interface/AppsInterface\";\nimport { OrientationType } from \"./library\";\nimport { getLeanURL } from \"./utils/DataFormatUtils\";\nimport { calculateCardWidth, DeviceType, fetchElementProperties } from \"./utils/Device\";\n\nconst getDefaultAppColor = () => {\n\tconst sLegendName = \"sapLegendColor9\";\n\treturn {\n\t\tkey: sLegendName,\n\t\tvalue: Parameters.get({\n\t\t\tname: sLegendName\n\t\t}),\n\t\tassigned: false\n\t};\n};\n\nconst CONSTANTS = {\n\tPLACEHOLDER_ITEMS_COUNT: 5,\n\tMIN_TILE_WIDTH: 304,\n\tMAX_TILE_WIDTH: 456\n};\n\n/**\n *\n * Container class for managing and storing apps.\n *\n * @extends BaseContainer\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.121\n *\n * @internal\n * @public\n *\n * @alias sap.cux.home.AppsContainer\n */\nexport default class AppsContainer extends BaseContainer {\n\tprivate _isInitialRender = true;\n\tprivate _appSwitched!: boolean;\n\tstatic readonly renderer = {\n\t\t...BaseContainer.renderer,\n\t\tapiVersion: 2\n\t};\n\tstatic readonly metadata: MetadataOptions = {\n\t\tevents: {\n\t\t\t/**\n\t\t\t * Event is fired when apps are loaded.\n\t\t\t */\n\t\t\tappsLoaded: {\n\t\t\t\tparameters: {\n\t\t\t\t\tapps: { type: \"sap.cux.home.App[]\" },\n\t\t\t\t\ttiles: { type: \"sap.m.GenericTile[]\" }\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\tconstructor(idOrSettings?: string | $AppsContainerSettings);\n\tconstructor(id?: string, settings?: $AppsContainerSettings);\n\t/**\n\t * Constructor for a new app container.\n\t *\n\t * @param {string} [id] ID for the new control, generated automatically if an ID is not provided\n\t * @param {object} [settings] Initial settings for the new control\n\t */\n\tpublic constructor(id?: string, settings?: $AppsContainerSettings) {\n\t\tsuper(id, settings);\n\t}\n\n\t/**\n\t * Init lifecycle method\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic init(): void {\n\t\tsuper.init();\n\t\tthis.setProperty(\"title\", this._i18nBundle?.getText(\"appsTitle\"));\n\t\tif (this.getDeviceType() === DeviceType.Mobile) {\n\t\t\tthis.setProperty(\"orientation\", OrientationType.Vertical);\n\t\t}\n\t\t// Subscribe to recommendation setting change event\n\t\tconst eventBus = EventBus.getInstance();\n\t\teventBus.subscribe(\"importChannel\", \"recommendationSettingChanged\", (channelId?: string, eventId?: string, data?: object) => {\n\t\t\tconst showRecommendation = (data as { showRecommendation: boolean }).showRecommendation;\n\t\t\tif (!showRecommendation) {\n\t\t\t\tconst firstAppsPanel = this.getContent()?.[0];\n\t\t\t\tthis.setProperty(\"selectedKey\", firstAppsPanel?.getProperty(\"key\"));\n\t\t\t}\n\t\t});\n\n\t\t// disable lazy load for apps container as it's the hero element\n\t\tthis.setProperty(\"enableLazyLoad\", false);\n\t\tthis.addStyleClass(\"sapCuxAppsContainer\");\n\t\tthis.addCustomSetting(\"text\", this._i18nBundle.getText(\"myAppMsg\") as string);\n\t\tthis._attachRouteChangeEvent();\n\t}\n\n\t/**\n\t * Attaches an event handler to monitor route changes and manage application state accordingly.\n\t * @private\n\t *\n\t * @returns {void}\n\t */\n\n\tprivate _attachRouteChangeEvent(): void {\n\t\tconst handleRouteChange = async (event: Event<{ isMyHomeRoute: boolean }>) => {\n\t\t\tconst show = event.getParameter(\"isMyHomeRoute\");\n\t\t\tif (show) {\n\t\t\t\tif (this._appSwitched) {\n\t\t\t\t\tthis._appSwitched = false;\n\t\t\t\t\tthis.showPersistedDialog();\n\t\t\t\t\tawait this.load();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthis._setPanelsDirty();\n\t\t\t\tthis._appSwitched = true;\n\t\t\t}\n\t\t};\n\n\t\ttry {\n\t\t\tS4MyHome.attachRouteMatched({}, handleRouteChange, this);\n\t\t} catch (error) {\n\t\t\tLog.warning(\"Unable to attach route change handler\", error instanceof Error ? error.message : String(error));\n\t\t}\n\t}\n\n\t/**\n\t * onBeforeRendering lifecycle method\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic onBeforeRendering() {\n\t\tif (this._isInitialRender) {\n\t\t\tthis._isInitialRender = false;\n\t\t\tthis._attachPanelSupportedEvent();\n\t\t\tthis._removeUnsupportedPanels();\n\t\t}\n\n\t\tthis.adjustLayout();\n\t\tsuper.onBeforeRendering();\n\t}\n\n\t/**\n\t * onAfterRendering lifecycle method\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic async onAfterRendering() {\n\t\tsuper.onAfterRendering();\n\t\t// activating the recommendation tab from appsContainer as personalization data in not available on init of panel.\n\t\tawait this._activateRecommendationTabPanel();\n\t}\n\n\t/**\n\t * Loads the AppsContainer section.\n\t * Overrides the load method of the BaseContainer.\n\t *\n\t * @private\n\t * @async\n\t * @override\n\t */\n\tpublic async load(): Promise<void> {\n\t\tconst selectedPanels = this.getPanels();\n\t\tawait Promise.all(selectedPanels.map((selectedPanel) => this._setApps(selectedPanel)));\n\t}\n\n\t/**\n\t * Retrieves the relevant panels based on the device type.\n\t *\n\t * @private\n\t * @returns {BaseAppPanel[]} An array of panels based on the device type.\n\t */\n\n\tprivate getPanels(): BaseAppPanel[] {\n\t\tconst isPhone = this.getDeviceType() === DeviceType.Mobile;\n\t\treturn (isPhone ? this.getContent() : [this._getSelectedPanel()]) as BaseAppPanel[];\n\t}\n\n\t/**\n\t * Triggers navigation actions for the currently relevant panels.\n\t *\n\t * @private\n\t * @returns {void}\n\t */\n\n\tprivate showPersistedDialog(): void {\n\t\tconst selectedPanels = this.getPanels();\n\t\tfor (const selectedPanel of selectedPanels) {\n\t\t\tselectedPanel.firePersistDialog();\n\t\t}\n\t}\n\n\t/**\n\t * Set all panels dirty state to true, to refresh all panels\n\t * @private\n\t */\n\tprivate _setPanelsDirty(): void {\n\t\tconst panels = this.getContent() as BaseAppPanel[];\n\t\tfor (const panel of panels) {\n\t\t\tpanel.setDesktopViewDirty(true);\n\t\t\tpanel.setMobileViewDirty(true);\n\t\t}\n\t}\n\n\t/**\n\t * Generate placeholer for the panel.\n\t * @private\n\t * @param {BaseAppPanel} panel - Panel for which placeholders has to be generated.\n\t */\n\tprivate _generatePlaceholder(panel: BaseAppPanel): void {\n\t\tif (!panel.isLoaded()) {\n\t\t\tpanel.destroyAggregation(\"apps\", true);\n\t\t\tconst placeholderApps = panel.generateApps(\n\t\t\t\tnew Array(CONSTANTS.PLACEHOLDER_ITEMS_COUNT).fill({ status: \"Loading\" }) as ICustomVisualization[]\n\t\t\t);\n\t\t\tpanel.setApps(placeholderApps);\n\t\t\tthis._updatePanelContent(panel);\n\t\t}\n\t}\n\n\t/**\n\t * Loads and sets the apps.\n\t * @private\n\t * @param {BaseAppPanel} panel - Panel for which apps has to be loaded.\n\t * @returns {Promise<void>} resolves when apps are loaded.\n\t */\n\tprivate async _setApps(panel: BaseAppPanel): Promise<void> {\n\t\ttry {\n\t\t\t// only load the apps if panel is in dirty state\n\t\t\tif (panel.isDirty() && panel.isMobileDirty()) {\n\t\t\t\tthis._generatePlaceholder(panel);\n\t\t\t\tawait panel.loadApps?.();\n\t\t\t\tif (this.getDeviceType() === DeviceType.Mobile) {\n\t\t\t\t\tpanel.setMobileViewDirty(false);\n\t\t\t\t} else {\n\t\t\t\t\tpanel.setDesktopViewDirty(false);\n\t\t\t\t}\n\t\t\t\tpanel.setLoaded(true);\n\t\t\t\tthis._updatePanelContent(panel);\n\n\t\t\t\tif (panel instanceof BaseAppPersPanel) {\n\t\t\t\t\t// don't wait for personalization to complete\n\t\t\t\t\tvoid panel.applyPersonalization(true);\n\t\t\t\t}\n\t\t\t\tlet tiles: GenericTile[] = [];\n\t\t\t\tlet apps = panel.getApps();\n\t\t\t\ttiles = panel.fetchTileVisualization(tiles);\n\t\t\t\tthis.fireEvent(\"appsLoaded\", { apps, tiles });\n\t\t\t}\n\n\t\t\t// fire panel loaded event\n\t\t\tpanel.fireEvent(\"loaded\");\n\t\t} catch (error: unknown) {\n\t\t\tthis.showErrorCard(panel);\n\t\t\tLog.error(`Error setting apps for panel: ${panel.getTitle()}`, error instanceof Error ? error.message : String(error));\n\t\t}\n\t}\n\n\t/**\n\t * Updates the content of the panel by replacing existing items with new apps and groups.\n\t * This method selects the appropriate wrapper based on the device type, and add apps/group or mobile cards to the wrapper.\n\t *\n\t * @param {BaseAppPanel} panel - The panel whose content needs to be updated.\n\t * @returns {void}\n\t * @private\n\t */\n\tprivate _updatePanelContent(panel: BaseAppPanel): void {\n\t\tconst apps = panel.getApps() || [];\n\t\tconst groups = (panel.getAggregation(\"groups\") || []) as Group[];\n\t\tconst isPhone = this.getDeviceType() === DeviceType.Mobile;\n\t\tconst wrapper = isPhone ? panel._generateMobileAppsWrapper() : panel._generateAppsWrapper();\n\t\tconst aggregationName = isPhone ? \"content\" : \"items\";\n\t\twrapper.destroyAggregation(aggregationName);\n\t\tlet items = isPhone ? this._generateMobileCards([...groups, ...apps], panel.getId()) : this._generateTiles([...groups, ...apps]);\n\t\tthis._addWrapperContent(wrapper, items, aggregationName);\n\t\tthis._updatePanelContentVisibility(panel);\n\t}\n\n\t/**\n\t * Updates the visibility of the panel's content based on the current state and device type.\n\t * This method determines whether to display the apps or an error message based on the presence of apps and groups.\n\t * It also adjusts the visibility of different containers depending on whether the device is a phone or not.\n\t *\n\t * @param {BaseAppPanel} panel - The panel whose content visibility needs to be updated.\n\t * @returns {void}\n\t * @private\n\t */\n\tprivate _updatePanelContentVisibility(panel: BaseAppPanel): void {\n\t\tconst apps = panel.getApps() || [];\n\t\tconst groups = (panel.getAggregation(\"groups\") || []) as Group[];\n\t\tconst isPhone = this.getDeviceType() === DeviceType.Mobile;\n\t\tconst appsWrapper = panel._generateDesktopAppsWrapper();\n\t\tconst mobileAppsWrapper = panel._generateMobileAppsWrapper();\n\t\tconst errorCard = panel._generateErrorMessage();\n\t\tconst hasApps = [...apps, ...groups].length !== 0;\n\t\tappsWrapper.setVisible(hasApps && !isPhone);\n\t\tmobileAppsWrapper.setVisible(hasApps && isPhone);\n\t\t(mobileAppsWrapper.getParent() as VBox).setWidth(isPhone && hasApps ? \"100%\" : \"auto\");\n\t\terrorCard.setVisible(!hasApps);\n\t}\n\n\t/**\n\t * Generates generic tile based on app.\n\t * @private\n\t * @param {sap.cux.home.App} app - App.\n\t * @returns {sap.m.GenericTile}.\n\t */\n\tpublic _getAppTile(app: App): GenericTile {\n\t\tconst isPhone = this.getDeviceType() === DeviceType.Mobile;\n\t\tconst actions = (app.getAggregation(\"menuItems\") || []) as MenuItem[];\n\t\tconst tileId = isPhone ? `${app.getId()}-mobile-tile` : `${app.getId()}-tile`;\n\t\treturn new GenericTile(tileId, {\n\t\t\tscope: actions.length && !isPhone ? GenericTileScope.ActionMore : GenericTileScope.Display,\n\t\t\tstate: app.getStatus() as LoadState,\n\t\t\tmode: GenericTileMode.IconMode,\n\t\t\tsizeBehavior: TileSizeBehavior.Small,\n\t\t\theader: app.getTitle(),\n\t\t\tbackgroundColor: app.getBgColor() || getDefaultAppColor()?.key,\n\t\t\ttileIcon: app.getIcon(),\n\t\t\turl: getLeanURL(app.getUrl()),\n\t\t\tframeType: FrameType.TwoByHalf,\n\t\t\trenderOnThemeChange: true,\n\t\t\tdropAreaOffset: 4,\n\t\t\tsubheader: app.getSubTitle(),\n\t\t\tpress: (e) => app._onPress(e),\n\t\t\twidth: isPhone ? \"15rem\" : \"100%\"\n\t\t}).addStyleClass(\"tileLayout sapMGTTwoByHalf\");\n\t}\n\n\t/**\n\t * Generates generic tile based on group.\n\t * @private\n\t * @param {sap.cux.home.Group} group - Group.\n\t * @returns {sap.m.GenericTile}.\n\t */\n\tprivate _getGroupTile(group: Group): GenericTile {\n\t\tconst isPhone = this.getDeviceType() === DeviceType.Mobile;\n\t\tconst actions = (group.getAggregation(\"menuItems\") || []) as MenuItem[];\n\t\tconst tileId = isPhone ? `${group.getId()}-mobile-tile` : `${group.getId()}-tile`;\n\t\treturn new GenericTile(tileId, {\n\t\t\tscope: actions.length && !isPhone ? GenericTileScope.ActionMore : GenericTileScope.Display,\n\t\t\tstate: group.getStatus() as LoadState,\n\t\t\tmode: GenericTileMode.IconMode,\n\t\t\tsizeBehavior: TileSizeBehavior.Small,\n\t\t\theader: group.getTitle(),\n\t\t\tbackgroundColor: group.getBgColor() || getDefaultAppColor()?.key,\n\t\t\ttileIcon: group.getIcon(),\n\t\t\tframeType: FrameType.TwoByHalf,\n\t\t\trenderOnThemeChange: true,\n\t\t\tdropAreaOffset: 4,\n\t\t\ttileBadge: group.getNumber(),\n\t\t\tpress: (e) => group._onPress(e),\n\t\t\twidth: isPhone ? \"15rem\" : \"100%\"\n\t\t})\n\t\t\t.addStyleClass(\"tileLayout sapMGTTwoByHalf\")\n\t\t\t.data(\"groupId\", group.getGroupId()) as GenericTile;\n\t}\n\n\t/**\n\t * Overridden method for selection of panel in the IconTabBar.\n\t * Loads the apps in selected panel\n\t * @private\n\t * @returns {Promise<void>} resolves when apps are loaded on panel selection.\n\t */\n\tprotected async _onPanelSelect(event: IconTabBar$SelectEvent) {\n\t\tsuper._onPanelSelect(event);\n\t\tconst selectedPanel = this._getSelectedPanel() as BaseAppPanel;\n\t\tawait this._setApps(selectedPanel);\n\t}\n\n\t/**\n\t * Refresh apps for all the panels.\n\t * @private\n\t * @returns {Promise<void>} resolves when all panels are set to dirty and apps for current panel are refreshed.\n\t */\n\tpublic async _refreshAllPanels(): Promise<void> {\n\t\t//set all panels to dirty\n\t\tthis._setPanelsDirty();\n\t\t//set apps for current section\n\t\tawait this._setApps(this._getSelectedPanel() as BaseAppPanel);\n\t}\n\n\t/**\n\t * Refresh apps for selected panel.\n\t * @private\n\t * @param {BaseAppPanel} panel - Panel that has be refreshed.\n\t * @returns {Promise<void>} resolves when apps are refreshed.\n\t */\n\tpublic async refreshPanel(panel: BaseAppPanel): Promise<void> {\n\t\tpanel.setMobileViewDirty(true);\n\t\tpanel.setDesktopViewDirty(true);\n\t\tawait this._setApps(panel);\n\t}\n\n\t/**\n\t * Toggles the visibility of the tab view based on the supported panels.\n\t * @private\n\t */\n\tprivate _toggleTabView() {\n\t\tif (this.getDeviceType() !== DeviceType.Mobile) {\n\t\t\tconst panels = this.getContent() as BaseAppPanel[];\n\t\t\tconst supportedPanels = panels.filter((panel) => panel.isSupported());\n\t\t\tconst iconTabBarControl = this._getInnerControl() as IconTabBar;\n\t\t\ticonTabBarControl?.toggleStyleClass(\"sapUiITBHide\", supportedPanels.length === 1);\n\t\t}\n\t}\n\n\t/**\n\t * Handles the supported state of the current panel.\n\t * If the panel is supported, it adds the panel to the content.\n\t * If the panel is not supported, it removes the panel from the content.\n\t * @param {BaseAppPanel} currentPanel - The panel to handle the supported state for.\n\t * @private\n\t */\n\tprivate _onPanelSupported(currentPanel: BaseAppPanel, event: BaseAppPanel$SupportedEvent) {\n\t\tconst isSupported = event.getParameter(\"isSupported\") as boolean;\n\t\tcurrentPanel.setSupported(isSupported);\n\t\tthis._togglePanelVisibility(currentPanel, isSupported);\n\t\tthis._toggleTabView();\n\t}\n\n\t/**\n\t * Toggles the visibility of the panel.\n\t * @param {BaseAppPanel} panel - The panel to toggle the visibility for.\n\t * @param {boolean} isVisible - The visibility state of the panel.\n\t * @private\n\t */\n\tprivate _togglePanelVisibility(panel: BaseAppPanel, isVisible: boolean) {\n\t\tif (this.getDeviceType() === DeviceType.Mobile) {\n\t\t\tconst panelWrapper = this._getPanelContentWrapper(panel);\n\t\t\tpanelWrapper.setVisible(isVisible);\n\t\t} else {\n\t\t\tconst iconTabBar = this._getInnerControl() as IconTabBar;\n\t\t\tconst tabs = (iconTabBar?.getItems() as IconTabFilter[]) || [];\n\t\t\tconst selectedTab = tabs.find((tab) => tab.getKey() === panel.getKey());\n\t\t\tselectedTab?.setVisible(isVisible);\n\t\t}\n\t}\n\n\t/**\n\t * Removes unsupported panels from the container.\n\t * @private\n\t */\n\tprivate _removeUnsupportedPanels() {\n\t\tconst panels = this.getContent() as BaseAppPanel[];\n\t\tconst unSupportedPanels = panels.filter((panel) => !panel.isSupported());\n\t\tfor (const panel of unSupportedPanels) {\n\t\t\tthis._togglePanelVisibility(panel, false);\n\t\t}\n\t\tthis._toggleTabView();\n\t}\n\n\t/**\n\t * Attaches an event handler to the \"supported\" event for each panel in the container.\n\t * @private\n\t */\n\tprivate _attachPanelSupportedEvent() {\n\t\tconst panels = this.getContent() as BaseAppPanel[];\n\t\tfor (const panel of panels) {\n\t\t\tif (!panel.hasListeners(\"supported\")) {\n\t\t\t\tpanel.attachSupported(this._onPanelSupported.bind(this, panel));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Calls the enable function to activate the recommendation tab for `RecommendedAppPanel`, unless the device is a mobile phone.\n\t *\n\t * @private\n\t */\n\tprivate async _activateRecommendationTabPanel(): Promise<void> {\n\t\tconst panels = this.getContent() as BaseAppPanel[];\n\t\tconst isPhone = this.getDeviceType() === DeviceType.Mobile;\n\t\tconst recommendedPanel = panels ? panels.find((panel) => panel instanceof RecommendedAppPanel) : null;\n\t\tif (recommendedPanel instanceof RecommendedAppPanel && !isPhone) {\n\t\t\tawait recommendedPanel._enableRecommendationTab();\n\t\t}\n\t}\n\n\tpublic setTileWidth(panel: BaseAppPanel): void {\n\t\tconst minWidth = CONSTANTS.MIN_TILE_WIDTH; // in px\n\t\tconst maxWidth = CONSTANTS.MAX_TILE_WIDTH; // in px\n\n\t\tconst wrapper = panel._generateAppsWrapper()?.getDomRef() as Element;\n\t\tif (!wrapper) return;\n\n\t\tconst domProperties = fetchElementProperties(wrapper, [\"width\", \"padding-left\", \"padding-right\", \"margin-left\", \"margin-right\"]);\n\t\tconst availableWidth = Object.values(domProperties)\n\t\t\t.slice(1)\n\t\t\t.reduce((width, propertyValue) => width - propertyValue, domProperties[\"width\"]);\n\n\t\tconst apps = panel.getApps() || [];\n\t\tconst groups = (panel.getAggregation(\"groups\") || []) as Group[];\n\t\tconst tileCount = apps.length + groups.length;\n\n\t\tif (tileCount === 0 || availableWidth <= 0) return;\n\n\t\tconst cardLayoutConfig = {\n\t\t\tcontainerWidth: availableWidth,\n\t\t\ttotalCards: tileCount,\n\t\t\tminWidth: minWidth,\n\t\t\tmaxWidth: maxWidth,\n\t\t\tgap: 8,\n\t\t\tskipDeviceCheck: true\n\t\t};\n\n\t\tconst clampedWidth = calculateCardWidth(cardLayoutConfig);\n\n\t\tpanel.setProperty(\"tileWidth\", clampedWidth);\n\t\tpanel\n\t\t\t._generateAppsWrapper()\n\t\t\t.getLayout()\n\t\t\t.setProperty(\"columnSize\", `${clampedWidth / 16}rem`);\n\t}\n\n\t/**\n\t * Adjusts the layout and visibility based on the device type.\n\t *\n\t * This method adjusts the layout type and visibility of containers based on whether the device is a phone\n\t * or not. It sets the container's layout property, toggles visibility of panels and their containers, and\n\t * adjusts background design accordingly.\n\t *\n\t * @private\n\t * @returns {void}\n\t */\n\tpublic adjustLayout(): void {\n\t\tconst isPhone = this.getDeviceType() === DeviceType.Mobile;\n\t\tconst currentLayout = this.getProperty(\"orientation\") as OrientationType;\n\t\tconst newLayout = isPhone ? OrientationType.Vertical : OrientationType.SideBySide;\n\t\tconst shouldAdjustLayout = currentLayout !== newLayout;\n\t\tconst selectedPanel = this._getSelectedPanel() as BaseAppPanel;\n\t\tthis.setTileWidth(selectedPanel);\n\n\t\t//hide actions if the device is a phone\n\t\tthis.toggleActionButtons(!isPhone);\n\t\tif (!shouldAdjustLayout) {\n\t\t\treturn;\n\t\t}\n\t\tthis.setProperty(\"orientation\", newLayout);\n\t\tconst panels = this.getContent() as BaseAppPanel[];\n\t\tpanels.forEach((panel) => {\n\t\t\t//if both the panels are dirty, then updated data will be loaded from onBeforeRendering, as layout change will trigger re-rendering\n\t\t\t//if both the panels are not dirty, i.e. doen't have any changes, then just toggle the visibility\n\t\t\tif (!panel.isDirty() && !panel.isMobileDirty()) {\n\t\t\t\tthis._updatePanelContentVisibility(panel);\n\t\t\t} else if (panel.isDirty() !== panel.isMobileDirty()) {\n\t\t\t\t//if one of the panels is dirty i.e. have updated data and other is not, then re-create the inner controls\n\t\t\t\tpanel.setDesktopViewDirty(false);\n\t\t\t\tpanel.setMobileViewDirty(false);\n\t\t\t\tthis._updatePanelContent(panel);\n\t\t\t}\n\t\t});\n\n\t\t//this is to handle scenario when unsupported propert is changed and then layout is changed.\n\t\tthis._removeUnsupportedPanels();\n\t}\n\n\t/**\n\t * Generates mobile card panel and add given apps/groups in the panel.\n\t *\n\t * @private\n\t * @param {BaseApp[]} items - Apps/Groups for which card panels has to be generated.\n\t * @param {string} currentPanelId - ID of the current panel.\n\t * @returns {sap.m.Panel} The newly created mobile card panel.\n\t */\n\tprivate _generateMobileCards(items: BaseApp[], currentPanelId?: string): Panel[] {\n\t\tconst panels: Panel[] = [];\n\t\tfor (let i = 0; i < items.length; i += 7) {\n\t\t\tconst panelItems = items.slice(i, i + 7);\n\t\t\tconst panel = new Panel(`${currentPanelId}--${i}`, {\n\t\t\t\tbackgroundDesign: BackgroundDesign.Solid,\n\t\t\t\theight: \"23.5rem\",\n\t\t\t\twidth: \"17rem\",\n\t\t\t\tcontent: this._generateTiles(panelItems)\n\t\t\t}).addStyleClass(\"sapUiMobileAppsCard appPanelBorder myAppMFBContent\");\n\t\t\tpanels.push(panel);\n\t\t}\n\t\treturn panels;\n\t}\n\n\t/**\n\t * Generates group/app generic tiles for given apps/groups.\n\t *\n\t * @private\n\t * @param {BaseApp[]} items - Apps/Groups for which tiles has to be generated.\n\t * @returns {sap.m.GenericTile[]} The generated tiles.\n\t */\n\tprivate _generateTiles(items: BaseApp[]): GenericTile[] {\n\t\treturn items.map((item) => (item instanceof Group ? this._getGroupTile(item) : this._getAppTile(item as App)));\n\t}\n\n\t/**\n\t * Adds given items into the wrapper.\n\t * @param {HeaderContainer | GridContainer} wrapper - wrapper for which items has to be added.\n\t * @param {Panel[] | GenericTile[]} items - items to be added.\n\t * @param {string} aggregationName - aggregation name to which items has to be added.\n\t * @private\n\t */\n\tprivate _addWrapperContent(wrapper: HeaderContainer | GridContainer, items: Panel[] | GenericTile[], aggregationName: string) {\n\t\twrapper.destroyAggregation(aggregationName);\n\t\titems.forEach((item) => {\n\t\t\twrapper.addAggregation(aggregationName, item);\n\t\t});\n\t}\n\n\t/**\n\t * Displays an error card in the provided panel.\n\t *\n\t * @param panel - The panel in which the error card should be displayed.\n\t */\n\tprivate showErrorCard(panel: BaseAppPanel): void {\n\t\tconst errorCard = panel._generateErrorMessage();\n\t\tconst appsWrapper = panel._generateDesktopAppsWrapper();\n\t\tconst mobileAppsWrapper = panel._generateMobileAppsWrapper();\n\t\tappsWrapper?.setVisible(false);\n\t\tmobileAppsWrapper?.setVisible(false);\n\t\terrorCard?.setVisible(true);\n\t}\n\n\t/**\n\t * Retrieves the generic placeholder content for the Apps container.\n\t *\n\t * @returns {string} The HTML string representing the Apps container's placeholder content.\n\t */\n\tprotected getGenericPlaceholderContent(): string {\n\t\treturn getAppsPlaceholder();\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,mVAAAC,GAAA,EAAAC,WAAA,EAAAC,KAAA,EAAAC,aAAA,EAAAC,QAAA,EAAAC,UAAA,EAAAC,QAAA,EAAAC,kCAAA,EAAAC,kBAAA,EAAAC,eAAA,EAAAC,OAAA,EAAAC,qBAAA,EAAAC,UAAA,EAAAC,wBAAA,EAAAC,eAAA;EAAA;;EAAA,SAAAC,uBAAAC,GAAA;IAAA,OAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,CAAAE,OAAA,mBAAAF,GAAA,CAAAE,OAAA,GAAAF,GAAA;EAAA;EAkjBO,SAAAG,OAAgBC,IAAI,EAAEC,OAAO,EAAE;IACrC,IAAI;MACH,IAAIC,MAAM,GAAGF,IAAI,CAAC,CAAC;I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d,CAAC;IAED;AACD;AACA;AACA;AACA;AACA;AACA;IACSqC,cAAc,WAAAA,eAACH,KAAgB,EAAiB;MACvD,OAAOA,KAAK,CAAC1C,GAAG,CAAEoK,IAAI,IAAMA,IAAI,YAAYjQ,KAAK,GAAG,IAAI,CAACoL,aAAa,CAAC6E,IAAI,CAAC,GAAG,IAAI,CAAC1G,WAAW,CAAC0G,IAAW,CAAE,CAAC;IAC/G,CAAC;IAED;AACD;AACA;AACA;AACA;AACA;AACA;IACStH,kBAAkB,WAAAA,mBAACR,OAAwC,EAAEI,KAA8B,EAAED,eAAuB,EAAE;MAC7HH,OAAO,CAACxB,kBAAkB,CAAC2B,eAAe,CAAC;MAC3CC,KAAK,CAACiH,OAAO,CAAES,IAAI,IAAK;QACvB9H,OAAO,CAAC+H,cAAc,CAAC5H,eAAe,EAAE2H,IAAI,CAAC;MAC9C,CAAC,CAAC;IACH,CAAC;IAED;AACD;AACA;AACA;AACA;IACSlI,aAAa,WAAAoI,eAAC7J,KAAmB,EAAQ;MAChD,MAAM0C,SAAS,GAAG1C,KAAK,CAAC2C,qBAAqB,CAAC,CAAC;MAC/C,MAAMJ,WAAW,GAAGvC,KAAK,CAACwC,2BAA2B,CAAC,CAAC;MACvD,MAAMC,iBAAiB,GAAGzC,KAAK,CAAC8B,0BAA0B,CAAC,CAAC;MAC5DS,WAAW,EAAEO,UAAU,CAAC,KAAK,CAAC;MAC9BL,iBAAiB,EAAEK,UAAU,CAAC,KAAK,CAAC;MACpCJ,SAAS,EAAEI,UAAU,CAAC,IAAI,CAAC;IAC5B,CAAC;IAED;AACD;AACA;AACA;AACA;IACWgH,4BAA4B,WAAAC,8BAAA,EAAW;MAChD,OAAOxQ,kBAAkB,CAAC,CAAC;IAC5B;EAAC;EAAA,OAjlBmBqB,aAAa;AAAA","ignoreList":[]}
1
+ {"version":3,"file":"AppsContainer.js","names":["sap","ui","define","Log","GenericTile","Panel","sap_m_library","EventBus","Parameters","S4MyHome","__BaseAppPersPanel","__BaseContainer","__Group","__RecommendedAppPanel","___library","___utils_DataFormatUtils","___utils_Device","___utils_placeholder_AppsPlaceholder","_interopRequireDefault","obj","__esModule","default","_catch","body","recover","result","e","then","BackgroundDesign","FrameType","GenericTileMode","GenericTileScope","TileSizeBehavior","BaseAppPersPanel","BaseContainer","Group","RecommendedAppPanel","OrientationType","getLeanURL","calculateCardWidth","DeviceType","fetchElementProperties","getAppsPlaceholder","getDefaultAppColor","sLegendName","key","value","get","name","assigned","CONSTANTS","PLACEHOLDER_ITEMS_COUNT","MIN_TILE_WIDTH","MAX_TILE_WIDTH","AppsContainer","extend","metadata","events","appsLoaded","parameters","apps","type","tiles","renderer","apiVersion","constructor","_constructor","id","settings","BaseContainer.prototype.constructor.call","_isInitialRender","init","_init","BaseContainer.prototype.init.call","setProperty","_i18nBundle","getText","eventBus","getInstance","subscribe","channelId","eventId","data","showRecommendation","firstAppsPanel","getContent","getProperty","addStyleClass","addCustomSetting","_attachRouteChangeEvent","_this","handleRouteChange","event","show","getParameter","_temp2","_temp","_appSwitched","showPersistedDialog","Promise","resolve","load","_setPanelsDirty","reject","attachRouteMatched","error","warning","Error","message","String","onBeforeRendering","_onBeforeRendering","_attachPanelSupportedEvent","_removeUnsupportedPanels","adjustLayout","BaseContainer.prototype.onBeforeRendering.call","onAfterRendering","_onAfterRendering","_this2","BaseContainer.prototype.onAfterRendering.call","_activateRecommendationTabPanel","_load","_this3","selectedPanels","getPanels","all","map","selectedPanel","_setApps","_getPanels","isPhone","getDeviceType","Mobile","_getSelectedPanel","_showPersistedDialog","firePersistDialog","panels","panel","setDesktopViewDirty","setMobileViewDirty","_generatePlaceholder","isLoaded","destroyAggregation","placeholderApps","generateApps","Array","fill","status","setApps","_updatePanelContent","_this4","_temp5","_temp4","fireEvent","_temp3","isDirty","isMobileDirty","loadApps","setLoaded","applyPersonalization","getApps","fetchTileVisualization","showErrorCard","getTitle","groups","getAggregation","wrapper","_generateMobileAppsWrapper","_generateAppsWrapper","aggregationName","items","_generateMobileCards","getId","_generateTiles","_addWrapperContent","_updatePanelContentVisibility","appsWrapper","_generateDesktopAppsWrapper","mobileAppsWrapper","errorCard","_generateErrorMessage","hasApps","length","setVisible","getParent","setWidth","_getAppTile","app","actions","tileId","scope","ActionMore","Display","state","getStatus","mode","IconMode","sizeBehavior","Small","header","backgroundColor","getBgColor","tileIcon","getIcon","url","getUrl","frameType","TwoByHalf","renderOnThemeChange","dropAreaOffset","subheader","getSubTitle","press","_onPress","width","_getGroupTile","group","tileBadge","getNumber","getGroupId","_onPanelSelect","_this5","BaseContainer.prototype._onPanelSelect.call","_refreshAllPanels","_this6","refreshPanel","_refreshPanel","_this7","_toggleTabView","supportedPanels","filter","isSupported","iconTabBarControl","_getInnerControl","toggleStyleClass","_onPanelSupported","currentPanel","setSupported","_togglePanelVisibility","isVisible","panelWrapper","_getPanelContentWrapper","iconTabBar","tabs","getItems","selectedTab","find","tab","getKey","unSupportedPanels","hasListeners","attachSupported","bind","_this8","recommendedPanel","_temp6","_enableRecommendationTab","setTileWidth","_setTileWidth","minWidth","maxWidth","getDomRef","domProperties","availableWidth","Object","values","slice","reduce","propertyValue","tileCount","cardLayoutConfig","containerWidth","totalCards","gap","skipDeviceCheck","clampedWidth","getLayout","_adjustLayout","currentLayout","newLayout","SideBySide","shouldAdjustLayout","toggleActionButtons","forEach","currentPanelId","i","panelItems","backgroundDesign","Solid","height","content","push","item","addAggregation","_showErrorCard","getGenericPlaceholderContent","_getGenericPlaceholderContent"],"sources":["AppsContainer.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\nimport Log from \"sap/base/Log\";\nimport GridContainer from \"sap/f/GridContainer\";\nimport GenericTile from \"sap/m/GenericTile\";\nimport HeaderContainer from \"sap/m/HeaderContainer\";\nimport IconTabBar, { IconTabBar$SelectEvent } from \"sap/m/IconTabBar\";\nimport IconTabFilter from \"sap/m/IconTabFilter\";\nimport Panel from \"sap/m/Panel\";\nimport VBox from \"sap/m/VBox\";\nimport { BackgroundDesign, FrameType, GenericTileMode, GenericTileScope, LoadState, TileSizeBehavior } from \"sap/m/library\";\nimport Event from \"sap/ui/base/Event\";\nimport type { MetadataOptions } from \"sap/ui/core/Element\";\nimport EventBus from \"sap/ui/core/EventBus\";\nimport Parameters from \"sap/ui/core/theming/Parameters\";\nimport S4MyHome from \"sap/ushell/api/S4MyHome\";\nimport App from \"./App\";\nimport { $AppsContainerSettings } from \"./AppsContainer\";\nimport BaseApp from \"./BaseApp\";\nimport BaseAppPanel, { BaseAppPanel$SupportedEvent } from \"./BaseAppPanel\";\nimport BaseAppPersPanel from \"./BaseAppPersPanel\";\nimport BaseContainer from \"./BaseContainer\";\nimport Group from \"./Group\";\nimport MenuItem from \"./MenuItem\";\nimport RecommendedAppPanel from \"./RecommendedAppPanel\";\nimport { ICustomVisualization } from \"./interface/AppsInterface\";\nimport { OrientationType } from \"./library\";\nimport { getLeanURL } from \"./utils/DataFormatUtils\";\nimport { calculateCardWidth, DeviceType, fetchElementProperties } from \"./utils/Device\";\nimport { getAppsPlaceholder } from \"./utils/placeholder/AppsPlaceholder\";\n\nconst getDefaultAppColor = () => {\n\tconst sLegendName = \"sapLegendColor9\";\n\treturn {\n\t\tkey: sLegendName,\n\t\tvalue: Parameters.get({\n\t\t\tname: sLegendName\n\t\t}),\n\t\tassigned: false\n\t};\n};\n\nconst CONSTANTS = {\n\tPLACEHOLDER_ITEMS_COUNT: 5,\n\tMIN_TILE_WIDTH: 304,\n\tMAX_TILE_WIDTH: 456\n};\n\n/**\n *\n * Container class for managing and storing apps.\n *\n * @extends BaseContainer\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.121\n *\n * @private\n * @ui5-restricted ux.eng.s4producthomes1\n *\n * @alias sap.cux.home.AppsContainer\n */\nexport default class AppsContainer extends BaseContainer {\n\tprivate _isInitialRender = true;\n\tprivate _appSwitched!: boolean;\n\tstatic readonly renderer = {\n\t\t...BaseContainer.renderer,\n\t\tapiVersion: 2\n\t};\n\tstatic readonly metadata: MetadataOptions = {\n\t\tevents: {\n\t\t\t/**\n\t\t\t * Event is fired when apps are loaded.\n\t\t\t */\n\t\t\tappsLoaded: {\n\t\t\t\tparameters: {\n\t\t\t\t\tapps: { type: \"sap.cux.home.App[]\" },\n\t\t\t\t\ttiles: { type: \"sap.m.GenericTile[]\" }\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\tconstructor(idOrSettings?: string | $AppsContainerSettings);\n\tconstructor(id?: string, settings?: $AppsContainerSettings);\n\t/**\n\t * Constructor for a new app container.\n\t *\n\t * @param {string} [id] ID for the new control, generated automatically if an ID is not provided\n\t * @param {object} [settings] Initial settings for the new control\n\t */\n\tpublic constructor(id?: string, settings?: $AppsContainerSettings) {\n\t\tsuper(id, settings);\n\t}\n\n\t/**\n\t * Init lifecycle method\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic init(): void {\n\t\tsuper.init();\n\t\tthis.setProperty(\"title\", this._i18nBundle?.getText(\"appsTitle\"));\n\t\t// Subscribe to recommendation setting change event\n\t\tconst eventBus = EventBus.getInstance();\n\t\teventBus.subscribe(\"importChannel\", \"recommendationSettingChanged\", (channelId?: string, eventId?: string, data?: object) => {\n\t\t\tconst showRecommendation = (data as { showRecommendation: boolean }).showRecommendation;\n\t\t\tif (!showRecommendation) {\n\t\t\t\tconst firstAppsPanel = this.getContent()?.[0];\n\t\t\t\tthis.setProperty(\"selectedKey\", firstAppsPanel?.getProperty(\"key\"));\n\t\t\t}\n\t\t});\n\n\t\t// disable lazy load for apps container as it's the hero element\n\t\tthis.setProperty(\"enableLazyLoad\", false);\n\t\tthis.addStyleClass(\"sapCuxAppsContainer\");\n\t\tthis.addCustomSetting(\"text\", this._i18nBundle.getText(\"myAppMsg\") as string);\n\t\tthis._attachRouteChangeEvent();\n\t}\n\n\t/**\n\t * Attaches an event handler to monitor route changes and manage application state accordingly.\n\t * @private\n\t *\n\t * @returns {void}\n\t */\n\n\tprivate _attachRouteChangeEvent(): void {\n\t\tconst handleRouteChange = async (event: Event<{ isMyHomeRoute: boolean }>) => {\n\t\t\tconst show = event.getParameter(\"isMyHomeRoute\");\n\t\t\tif (show) {\n\t\t\t\tif (this._appSwitched) {\n\t\t\t\t\tthis._appSwitched = false;\n\t\t\t\t\tthis.showPersistedDialog();\n\t\t\t\t\tawait this.load();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthis._setPanelsDirty();\n\t\t\t\tthis._appSwitched = true;\n\t\t\t}\n\t\t};\n\n\t\ttry {\n\t\t\tS4MyHome.attachRouteMatched({}, handleRouteChange, this);\n\t\t} catch (error) {\n\t\t\tLog.warning(\"Unable to attach route change handler\", error instanceof Error ? error.message : String(error));\n\t\t}\n\t}\n\n\t/**\n\t * onBeforeRendering lifecycle method\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic onBeforeRendering() {\n\t\tif (this._isInitialRender) {\n\t\t\tthis._isInitialRender = false;\n\t\t\tthis._attachPanelSupportedEvent();\n\t\t\tthis._removeUnsupportedPanels();\n\t\t}\n\n\t\tthis.adjustLayout();\n\t\tsuper.onBeforeRendering();\n\t}\n\n\t/**\n\t * onAfterRendering lifecycle method\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic async onAfterRendering() {\n\t\tsuper.onAfterRendering();\n\t\t// activating the recommendation tab from appsContainer as personalization data in not available on init of panel.\n\t\tawait this._activateRecommendationTabPanel();\n\t}\n\n\t/**\n\t * Loads the AppsContainer section.\n\t * Overrides the load method of the BaseContainer.\n\t *\n\t * @private\n\t * @async\n\t * @override\n\t */\n\tpublic async load(): Promise<void> {\n\t\tconst selectedPanels = this.getPanels();\n\t\tawait Promise.all(selectedPanels.map((selectedPanel) => this._setApps(selectedPanel)));\n\t}\n\n\t/**\n\t * Retrieves the relevant panels based on the device type.\n\t *\n\t * @private\n\t * @returns {BaseAppPanel[]} An array of panels based on the device type.\n\t */\n\tprivate getPanels(): BaseAppPanel[] {\n\t\tconst isPhone = this.getDeviceType() === DeviceType.Mobile;\n\t\treturn (isPhone ? this.getContent() : [this._getSelectedPanel()]) as BaseAppPanel[];\n\t}\n\n\t/**\n\t * Triggers navigation actions for the currently relevant panels.\n\t *\n\t * @private\n\t * @returns {void}\n\t */\n\n\tprivate showPersistedDialog(): void {\n\t\tconst selectedPanels = this.getPanels();\n\t\tfor (const selectedPanel of selectedPanels) {\n\t\t\tselectedPanel.firePersistDialog();\n\t\t}\n\t}\n\n\t/**\n\t * Set all panels dirty state to true, to refresh all panels\n\t * @private\n\t */\n\tprivate _setPanelsDirty(): void {\n\t\tconst panels = this.getContent() as BaseAppPanel[];\n\t\tfor (const panel of panels) {\n\t\t\tpanel.setDesktopViewDirty(true);\n\t\t\tpanel.setMobileViewDirty(true);\n\t\t}\n\t}\n\n\t/**\n\t * Generate placeholer for the panel.\n\t * @private\n\t * @param {BaseAppPanel} panel - Panel for which placeholders has to be generated.\n\t */\n\tprivate _generatePlaceholder(panel: BaseAppPanel): void {\n\t\tif (!panel.isLoaded()) {\n\t\t\tpanel.destroyAggregation(\"apps\", true);\n\t\t\tconst placeholderApps = panel.generateApps(\n\t\t\t\tnew Array(CONSTANTS.PLACEHOLDER_ITEMS_COUNT).fill({ status: \"Loading\" }) as ICustomVisualization[]\n\t\t\t);\n\t\t\tpanel.setApps(placeholderApps);\n\t\t\tthis._updatePanelContent(panel);\n\t\t}\n\t}\n\n\t/**\n\t * Loads and sets the apps.\n\t * @private\n\t * @param {BaseAppPanel} panel - Panel for which apps has to be loaded.\n\t * @returns {Promise<void>} resolves when apps are loaded.\n\t */\n\tprivate async _setApps(panel: BaseAppPanel): Promise<void> {\n\t\ttry {\n\t\t\t// only load the apps if panel is in dirty state\n\t\t\tif (panel.isDirty() && panel.isMobileDirty()) {\n\t\t\t\tthis._generatePlaceholder(panel);\n\t\t\t\tawait panel.loadApps?.();\n\t\t\t\tif (this.getDeviceType() === DeviceType.Mobile) {\n\t\t\t\t\tpanel.setMobileViewDirty(false);\n\t\t\t\t} else {\n\t\t\t\t\tpanel.setDesktopViewDirty(false);\n\t\t\t\t}\n\t\t\t\tpanel.setLoaded(true);\n\t\t\t\tthis._updatePanelContent(panel);\n\n\t\t\t\tif (panel instanceof BaseAppPersPanel) {\n\t\t\t\t\t// don't wait for personalization to complete\n\t\t\t\t\tvoid panel.applyPersonalization(true);\n\t\t\t\t}\n\t\t\t\tlet tiles: GenericTile[] = [];\n\t\t\t\tlet apps = panel.getApps();\n\t\t\t\ttiles = panel.fetchTileVisualization(tiles);\n\t\t\t\tthis.fireEvent(\"appsLoaded\", { apps, tiles });\n\t\t\t}\n\n\t\t\t// fire panel loaded event\n\t\t\tpanel.fireEvent(\"loaded\");\n\t\t} catch (error: unknown) {\n\t\t\tthis.showErrorCard(panel);\n\t\t\tLog.error(`Error setting apps for panel: ${panel.getTitle()}`, error instanceof Error ? error.message : String(error));\n\t\t}\n\t}\n\n\t/**\n\t * Updates the content of the panel by replacing existing items with new apps and groups.\n\t * This method selects the appropriate wrapper based on the device type, and add apps/group or mobile cards to the wrapper.\n\t *\n\t * @param {BaseAppPanel} panel - The panel whose content needs to be updated.\n\t * @returns {void}\n\t * @private\n\t */\n\tprivate _updatePanelContent(panel: BaseAppPanel): void {\n\t\tconst apps = panel.getApps() || [];\n\t\tconst groups = (panel.getAggregation(\"groups\") || []) as Group[];\n\t\tconst isPhone = this.getDeviceType() === DeviceType.Mobile;\n\t\tconst wrapper = isPhone ? panel._generateMobileAppsWrapper() : panel._generateAppsWrapper();\n\t\tconst aggregationName = isPhone ? \"content\" : \"items\";\n\t\twrapper.destroyAggregation(aggregationName);\n\t\tlet items = isPhone ? this._generateMobileCards([...groups, ...apps], panel.getId()) : this._generateTiles([...groups, ...apps]);\n\t\tthis._addWrapperContent(wrapper, items, aggregationName);\n\t\tthis._updatePanelContentVisibility(panel);\n\t}\n\n\t/**\n\t * Updates the visibility of the panel's content based on the current state and device type.\n\t * This method determines whether to display the apps or an error message based on the presence of apps and groups.\n\t * It also adjusts the visibility of different containers depending on whether the device is a phone or not.\n\t *\n\t * @param {BaseAppPanel} panel - The panel whose content visibility needs to be updated.\n\t * @returns {void}\n\t * @private\n\t */\n\tprivate _updatePanelContentVisibility(panel: BaseAppPanel): void {\n\t\tconst apps = panel.getApps() || [];\n\t\tconst groups = (panel.getAggregation(\"groups\") || []) as Group[];\n\t\tconst isPhone = this.getDeviceType() === DeviceType.Mobile;\n\t\tconst appsWrapper = panel._generateDesktopAppsWrapper();\n\t\tconst mobileAppsWrapper = panel._generateMobileAppsWrapper();\n\t\tconst errorCard = panel._generateErrorMessage();\n\t\tconst hasApps = [...apps, ...groups].length !== 0;\n\t\tappsWrapper.setVisible(hasApps && !isPhone);\n\t\tmobileAppsWrapper.setVisible(hasApps && isPhone);\n\t\t(mobileAppsWrapper.getParent() as VBox).setWidth(isPhone && hasApps ? \"100%\" : \"auto\");\n\t\terrorCard.setVisible(!hasApps);\n\t}\n\n\t/**\n\t * Generates generic tile based on app.\n\t * @private\n\t * @param {sap.cux.home.App} app - App.\n\t * @returns {sap.m.GenericTile}.\n\t */\n\tpublic _getAppTile(app: App): GenericTile {\n\t\tconst isPhone = this.getDeviceType() === DeviceType.Mobile;\n\t\tconst actions = (app.getAggregation(\"menuItems\") || []) as MenuItem[];\n\t\tconst tileId = isPhone ? `${app.getId()}-mobile-tile` : `${app.getId()}-tile`;\n\t\treturn new GenericTile(tileId, {\n\t\t\tscope: actions.length && !isPhone ? GenericTileScope.ActionMore : GenericTileScope.Display,\n\t\t\tstate: app.getStatus() as LoadState,\n\t\t\tmode: GenericTileMode.IconMode,\n\t\t\tsizeBehavior: TileSizeBehavior.Small,\n\t\t\theader: app.getTitle(),\n\t\t\tbackgroundColor: app.getBgColor() || getDefaultAppColor()?.key,\n\t\t\ttileIcon: app.getIcon(),\n\t\t\turl: getLeanURL(app.getUrl()),\n\t\t\tframeType: FrameType.TwoByHalf,\n\t\t\trenderOnThemeChange: true,\n\t\t\tdropAreaOffset: 4,\n\t\t\tsubheader: app.getSubTitle(),\n\t\t\tpress: (e) => app._onPress(e),\n\t\t\twidth: isPhone ? \"15rem\" : \"100%\"\n\t\t}).addStyleClass(\"tileLayout sapMGTTwoByHalf\");\n\t}\n\n\t/**\n\t * Generates generic tile based on group.\n\t * @private\n\t * @param {sap.cux.home.Group} group - Group.\n\t * @returns {sap.m.GenericTile}.\n\t */\n\tprivate _getGroupTile(group: Group): GenericTile {\n\t\tconst isPhone = this.getDeviceType() === DeviceType.Mobile;\n\t\tconst actions = (group.getAggregation(\"menuItems\") || []) as MenuItem[];\n\t\tconst tileId = isPhone ? `${group.getId()}-mobile-tile` : `${group.getId()}-tile`;\n\t\treturn new GenericTile(tileId, {\n\t\t\tscope: actions.length && !isPhone ? GenericTileScope.ActionMore : GenericTileScope.Display,\n\t\t\tstate: group.getStatus() as LoadState,\n\t\t\tmode: GenericTileMode.IconMode,\n\t\t\tsizeBehavior: TileSizeBehavior.Small,\n\t\t\theader: group.getTitle(),\n\t\t\tbackgroundColor: group.getBgColor() || getDefaultAppColor()?.key,\n\t\t\ttileIcon: group.getIcon(),\n\t\t\tframeType: FrameType.TwoByHalf,\n\t\t\trenderOnThemeChange: true,\n\t\t\tdropAreaOffset: 4,\n\t\t\ttileBadge: group.getNumber(),\n\t\t\tpress: (e) => group._onPress(e),\n\t\t\twidth: isPhone ? \"15rem\" : \"100%\"\n\t\t})\n\t\t\t.addStyleClass(\"tileLayout sapMGTTwoByHalf\")\n\t\t\t.data(\"groupId\", group.getGroupId()) as GenericTile;\n\t}\n\n\t/**\n\t * Overridden method for selection of panel in the IconTabBar.\n\t * Loads the apps in selected panel\n\t * @private\n\t * @returns {Promise<void>} resolves when apps are loaded on panel selection.\n\t */\n\tprotected async _onPanelSelect(event: IconTabBar$SelectEvent) {\n\t\tsuper._onPanelSelect(event);\n\t\tconst selectedPanel = this._getSelectedPanel() as BaseAppPanel;\n\t\tawait this._setApps(selectedPanel);\n\t}\n\n\t/**\n\t * Refresh apps for all the panels.\n\t * @private\n\t * @returns {Promise<void>} resolves when all panels are set to dirty and apps for current panel are refreshed.\n\t */\n\tpublic async _refreshAllPanels(): Promise<void> {\n\t\t//set all panels to dirty\n\t\tthis._setPanelsDirty();\n\t\t//set apps for current section\n\t\tawait this._setApps(this._getSelectedPanel() as BaseAppPanel);\n\t}\n\n\t/**\n\t * Refresh apps for selected panel.\n\t * @private\n\t * @param {BaseAppPanel} panel - Panel that has be refreshed.\n\t * @returns {Promise<void>} resolves when apps are refreshed.\n\t */\n\tpublic async refreshPanel(panel: BaseAppPanel): Promise<void> {\n\t\tpanel.setMobileViewDirty(true);\n\t\tpanel.setDesktopViewDirty(true);\n\t\tawait this._setApps(panel);\n\t}\n\n\t/**\n\t * Toggles the visibility of the tab view based on the supported panels.\n\t * @private\n\t */\n\tprivate _toggleTabView() {\n\t\tif (this.getDeviceType() !== DeviceType.Mobile) {\n\t\t\tconst panels = this.getContent() as BaseAppPanel[];\n\t\t\tconst supportedPanels = panels.filter((panel) => panel.isSupported());\n\t\t\tconst iconTabBarControl = this._getInnerControl() as IconTabBar;\n\t\t\ticonTabBarControl?.toggleStyleClass(\"sapUiITBHide\", supportedPanels.length === 1);\n\t\t}\n\t}\n\n\t/**\n\t * Handles the supported state of the current panel.\n\t * If the panel is supported, it adds the panel to the content.\n\t * If the panel is not supported, it removes the panel from the content.\n\t * @param {BaseAppPanel} currentPanel - The panel to handle the supported state for.\n\t * @private\n\t */\n\tprivate _onPanelSupported(currentPanel: BaseAppPanel, event: BaseAppPanel$SupportedEvent) {\n\t\tconst isSupported = event.getParameter(\"isSupported\") as boolean;\n\t\tcurrentPanel.setSupported(isSupported);\n\t\tthis._togglePanelVisibility(currentPanel, isSupported);\n\t\tthis._toggleTabView();\n\t}\n\n\t/**\n\t * Toggles the visibility of the panel.\n\t * @param {BaseAppPanel} panel - The panel to toggle the visibility for.\n\t * @param {boolean} isVisible - The visibility state of the panel.\n\t * @private\n\t */\n\tprivate _togglePanelVisibility(panel: BaseAppPanel, isVisible: boolean) {\n\t\tif (this.getDeviceType() === DeviceType.Mobile) {\n\t\t\tconst panelWrapper = this._getPanelContentWrapper(panel);\n\t\t\tpanelWrapper.setVisible(isVisible);\n\t\t} else {\n\t\t\tconst iconTabBar = this._getInnerControl() as IconTabBar;\n\t\t\tconst tabs = (iconTabBar?.getItems() as IconTabFilter[]) || [];\n\t\t\tconst selectedTab = tabs.find((tab) => tab.getKey() === panel.getKey());\n\t\t\tselectedTab?.setVisible(isVisible);\n\t\t}\n\t}\n\n\t/**\n\t * Removes unsupported panels from the container.\n\t * @private\n\t */\n\tprivate _removeUnsupportedPanels() {\n\t\tconst panels = this.getContent() as BaseAppPanel[];\n\t\tconst unSupportedPanels = panels.filter((panel) => !panel.isSupported());\n\t\tfor (const panel of unSupportedPanels) {\n\t\t\tthis._togglePanelVisibility(panel, false);\n\t\t}\n\t\tthis._toggleTabView();\n\t}\n\n\t/**\n\t * Attaches an event handler to the \"supported\" event for each panel in the container.\n\t * @private\n\t */\n\tprivate _attachPanelSupportedEvent() {\n\t\tconst panels = this.getContent() as BaseAppPanel[];\n\t\tfor (const panel of panels) {\n\t\t\tif (!panel.hasListeners(\"supported\")) {\n\t\t\t\tpanel.attachSupported(this._onPanelSupported.bind(this, panel));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Calls the enable function to activate the recommendation tab for `RecommendedAppPanel`, unless the device is a mobile phone.\n\t *\n\t * @private\n\t */\n\tprivate async _activateRecommendationTabPanel(): Promise<void> {\n\t\tconst panels = this.getContent() as BaseAppPanel[];\n\t\tconst isPhone = this.getDeviceType() === DeviceType.Mobile;\n\t\tconst recommendedPanel = panels ? panels.find((panel) => panel instanceof RecommendedAppPanel) : null;\n\t\tif (recommendedPanel instanceof RecommendedAppPanel && !isPhone) {\n\t\t\tawait recommendedPanel._enableRecommendationTab();\n\t\t}\n\t}\n\n\tpublic setTileWidth(panel: BaseAppPanel): void {\n\t\tconst minWidth = CONSTANTS.MIN_TILE_WIDTH; // in px\n\t\tconst maxWidth = CONSTANTS.MAX_TILE_WIDTH; // in px\n\n\t\tconst wrapper = panel._generateAppsWrapper()?.getDomRef() as Element;\n\t\tif (!wrapper) return;\n\n\t\tconst domProperties = fetchElementProperties(wrapper, [\"width\", \"padding-left\", \"padding-right\", \"margin-left\", \"margin-right\"]);\n\t\tconst availableWidth = Object.values(domProperties)\n\t\t\t.slice(1)\n\t\t\t.reduce((width, propertyValue) => width - propertyValue, domProperties[\"width\"]);\n\n\t\tconst apps = panel.getApps() || [];\n\t\tconst groups = (panel.getAggregation(\"groups\") || []) as Group[];\n\t\tconst tileCount = apps.length + groups.length;\n\n\t\tif (tileCount === 0 || availableWidth <= 0) return;\n\n\t\tconst cardLayoutConfig = {\n\t\t\tcontainerWidth: availableWidth,\n\t\t\ttotalCards: tileCount,\n\t\t\tminWidth: minWidth,\n\t\t\tmaxWidth: maxWidth,\n\t\t\tgap: 8,\n\t\t\tskipDeviceCheck: true\n\t\t};\n\n\t\tconst clampedWidth = calculateCardWidth(cardLayoutConfig);\n\n\t\tpanel.setProperty(\"tileWidth\", clampedWidth);\n\t\tpanel\n\t\t\t._generateAppsWrapper()\n\t\t\t.getLayout()\n\t\t\t.setProperty(\"columnSize\", `${clampedWidth / 16}rem`);\n\t}\n\n\t/**\n\t * Adjusts the layout and visibility based on the device type.\n\t *\n\t * This method adjusts the layout type and visibility of containers based on whether the device is a phone\n\t * or not. It sets the container's layout property, toggles visibility of panels and their containers, and\n\t * adjusts background design accordingly.\n\t *\n\t * @private\n\t * @returns {void}\n\t */\n\tpublic adjustLayout(): void {\n\t\tconst isPhone = this.getDeviceType() === DeviceType.Mobile;\n\t\tconst currentLayout = this.getProperty(\"orientation\") as OrientationType;\n\t\tconst newLayout = OrientationType.SideBySide;\n\t\tconst shouldAdjustLayout = currentLayout !== newLayout;\n\t\tconst selectedPanel = this._getSelectedPanel() as BaseAppPanel;\n\t\tthis.setTileWidth(selectedPanel);\n\n\t\t//hide actions if the device is a phone\n\t\tthis.toggleActionButtons(!isPhone);\n\t\tif (!shouldAdjustLayout) {\n\t\t\treturn;\n\t\t}\n\t\tthis.setProperty(\"orientation\", newLayout);\n\t\tconst panels = this.getContent() as BaseAppPanel[];\n\t\tpanels.forEach((panel) => {\n\t\t\t//if both the panels are dirty, then updated data will be loaded from onBeforeRendering, as layout change will trigger re-rendering\n\t\t\t//if both the panels are not dirty, i.e. doen't have any changes, then just toggle the visibility\n\t\t\tif (!panel.isDirty() && !panel.isMobileDirty()) {\n\t\t\t\tthis._updatePanelContentVisibility(panel);\n\t\t\t} else if (panel.isDirty() !== panel.isMobileDirty()) {\n\t\t\t\t//if one of the panels is dirty i.e. have updated data and other is not, then re-create the inner controls\n\t\t\t\tpanel.setDesktopViewDirty(false);\n\t\t\t\tpanel.setMobileViewDirty(false);\n\t\t\t\tthis._updatePanelContent(panel);\n\t\t\t}\n\t\t});\n\n\t\t//this is to handle scenario when unsupported propert is changed and then layout is changed.\n\t\tthis._removeUnsupportedPanels();\n\t}\n\n\t/**\n\t * Generates mobile card panel and add given apps/groups in the panel.\n\t *\n\t * @private\n\t * @param {BaseApp[]} items - Apps/Groups for which card panels has to be generated.\n\t * @param {string} currentPanelId - ID of the current panel.\n\t * @returns {sap.m.Panel} The newly created mobile card panel.\n\t */\n\tprivate _generateMobileCards(items: BaseApp[], currentPanelId?: string): Panel[] {\n\t\tconst panels: Panel[] = [];\n\t\tfor (let i = 0; i < items.length; i += 7) {\n\t\t\tconst panelItems = items.slice(i, i + 7);\n\t\t\tconst panel = new Panel(`${currentPanelId}--${i}`, {\n\t\t\t\tbackgroundDesign: BackgroundDesign.Solid,\n\t\t\t\theight: \"23.5rem\",\n\t\t\t\twidth: \"17rem\",\n\t\t\t\tcontent: this._generateTiles(panelItems)\n\t\t\t}).addStyleClass(\"sapUiMobileAppsCard appPanelBorder myAppMFBContent\");\n\t\t\tpanels.push(panel);\n\t\t}\n\t\treturn panels;\n\t}\n\n\t/**\n\t * Generates group/app generic tiles for given apps/groups.\n\t *\n\t * @private\n\t * @param {BaseApp[]} items - Apps/Groups for which tiles has to be generated.\n\t * @returns {sap.m.GenericTile[]} The generated tiles.\n\t */\n\tprivate _generateTiles(items: BaseApp[]): GenericTile[] {\n\t\treturn items.map((item) => (item instanceof Group ? this._getGroupTile(item) : this._getAppTile(item as App)));\n\t}\n\n\t/**\n\t * Adds given items into the wrapper.\n\t * @param {HeaderContainer | GridContainer} wrapper - wrapper for which items has to be added.\n\t * @param {Panel[] | GenericTile[]} items - items to be added.\n\t * @param {string} aggregationName - aggregation name to which items has to be added.\n\t * @private\n\t */\n\tprivate _addWrapperContent(wrapper: HeaderContainer | GridContainer, items: Panel[] | GenericTile[], aggregationName: string) {\n\t\twrapper.destroyAggregation(aggregationName);\n\t\titems.forEach((item) => {\n\t\t\twrapper.addAggregation(aggregationName, item);\n\t\t});\n\t}\n\n\t/**\n\t * Displays an error card in the provided panel.\n\t *\n\t * @param panel - The panel in which the error card should be displayed.\n\t */\n\tprivate showErrorCard(panel: BaseAppPanel): void {\n\t\tconst errorCard = panel._generateErrorMessage();\n\t\tconst appsWrapper = panel._generateDesktopAppsWrapper();\n\t\tconst mobileAppsWrapper = panel._generateMobileAppsWrapper();\n\t\tappsWrapper?.setVisible(false);\n\t\tmobileAppsWrapper?.setVisible(false);\n\t\terrorCard?.setVisible(true);\n\t}\n\n\t/**\n\t * Retrieves the generic placeholder content for the Apps container.\n\t *\n\t * @returns {string} The HTML string representing the Apps container's placeholder content.\n\t */\n\tprotected getGenericPlaceholderContent(): string {\n\t\treturn getAppsPlaceholder();\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,qVAAAC,GAAA,EAAAC,WAAA,EAAAC,KAAA,EAAAC,aAAA,EAAAC,QAAA,EAAAC,UAAA,EAAAC,QAAA,EAAAC,kBAAA,EAAAC,eAAA,EAAAC,OAAA,EAAAC,qBAAA,EAAAC,UAAA,EAAAC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ameters from "sap/ui/core/theming/Parameters";
19
19
  import S4MyHome from "sap/ushell/api/S4MyHome";
20
20
  import App from "./App";
21
21
  import { $AppsContainerSettings } from "./AppsContainer";
22
- import { getAppsPlaceholder } from "./AppsContainerGenericPlaceholder";
23
22
  import BaseApp from "./BaseApp";
24
23
  import BaseAppPanel, { BaseAppPanel$SupportedEvent } from "./BaseAppPanel";
25
24
  import BaseAppPersPanel from "./BaseAppPersPanel";
@@ -31,6 +30,7 @@ import { ICustomVisualization } from "./interface/AppsInterface";
31
30
  import { OrientationType } from "./library";
32
31
  import { getLeanURL } from "./utils/DataFormatUtils";
33
32
  import { calculateCardWidth, DeviceType, fetchElementProperties } from "./utils/Device";
33
+ import { getAppsPlaceholder } from "./utils/placeholder/AppsPlaceholder";
34
34
 
35
35
  const getDefaultAppColor = () => {
36
36
  const sLegendName = "sapLegendColor9";
@@ -59,8 +59,8 @@ const CONSTANTS = {
59
59
  * @version 0.0.1
60
60
  * @since 1.121
61
61
  *
62
- * @internal
63
- * @public
62
+ * @private
63
+ * @ui5-restricted ux.eng.s4producthomes1
64
64
  *
65
65
  * @alias sap.cux.home.AppsContainer
66
66
  */
@@ -106,9 +106,6 @@ export default class AppsContainer extends BaseContainer {
106
106
  public init(): void {
107
107
  super.init();
108
108
  this.setProperty("title", this._i18nBundle?.getText("appsTitle"));
109
- if (this.getDeviceType() === DeviceType.Mobile) {
110
- this.setProperty("orientation", OrientationType.Vertical);
111
- }
112
109
  // Subscribe to recommendation setting change event
113
110
  const eventBus = EventBus.getInstance();
114
111
  eventBus.subscribe("importChannel", "recommendationSettingChanged", (channelId?: string, eventId?: string, data?: object) => {
@@ -203,7 +200,6 @@ export default class AppsContainer extends BaseContainer {
203
200
  * @private
204
201
  * @returns {BaseAppPanel[]} An array of panels based on the device type.
205
202
  */
206
-
207
203
  private getPanels(): BaseAppPanel[] {
208
204
  const isPhone = this.getDeviceType() === DeviceType.Mobile;
209
205
  return (isPhone ? this.getContent() : [this._getSelectedPanel()]) as BaseAppPanel[];
@@ -559,7 +555,7 @@ export default class AppsContainer extends BaseContainer {
559
555
  public adjustLayout(): void {
560
556
  const isPhone = this.getDeviceType() === DeviceType.Mobile;
561
557
  const currentLayout = this.getProperty("orientation") as OrientationType;
562
- const newLayout = isPhone ? OrientationType.Vertical : OrientationType.SideBySide;
558
+ const newLayout = OrientationType.SideBySide;
563
559
  const shouldAdjustLayout = currentLayout !== newLayout;
564
560
  const selectedPanel = this._getSelectedPanel() as BaseAppPanel;
565
561
  this.setTileWidth(selectedPanel);
@@ -16,8 +16,8 @@ declare module "sap/cux/home/BaseApp" {
16
16
  * @since 1.121.0
17
17
  *
18
18
  * @abstract
19
- * @internal
20
- * @public
19
+ * @private
20
+ * @ui5-restricted ux.eng.s4producthomes1
21
21
  *
22
22
  * @alias sap.cux.home.BaseApp
23
23
  */
@@ -20,8 +20,8 @@ sap.ui.define(["sap/m/List", "sap/m/Popover", "sap/m/StandardListItem", "sap/m/l
20
20
  * @since 1.121.0
21
21
  *
22
22
  * @abstract
23
- * @internal
24
- * @public
23
+ * @private
24
+ * @ui5-restricted ux.eng.s4producthomes1
25
25
  *
26
26
  * @alias sap.cux.home.BaseApp
27
27
  */
@@ -1 +1 @@
1
- {"version":3,"file":"BaseApp.js","names":["sap","ui","define","List","Popover","StandardListItem","sap_m_library","Element","___utils_FESRUtil","ListType","addFESRSemanticStepName","FESR_EVENTS","getFESRId","BaseApp","extend","metadata","library","properties","title","type","group","defaultValue","subTitle","bgColor","icon","status","aggregations","menuItems","multiple","singularName","visibility","constructor","_constructor","id","settings","Element.prototype.constructor.call","_onPress","event","sAction","getParameter","_handlePress","_loadActionsPopover","tile","getSource","actions","getAggregation","oPopover","ActionsPopover","get","onPopoverOpen","addStyleClass","onPopoverClose","removeStyleClass","detachBeforeOpen","detachAfterClose","attachBeforeOpen","attachAfterClose","openBy","_oMoreIcon","_closeActionsPopover","_popover","close","_actionsList","showHeader","placement","ariaLabelledBy","addContent","destroyItems","forEach","action","actionType","getType","oListItem","getId","getIcon","getTitle","tooltip","visible","press","oEvent","Navigation","firePress","listItem","PRESS","addItem"],"sources":["BaseApp.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\nimport Button from \"sap/m/Button\";\nimport GenericTile, { GenericTile$PressEvent } from \"sap/m/GenericTile\";\nimport List from \"sap/m/List\";\nimport Popover from \"sap/m/Popover\";\nimport StandardListItem from \"sap/m/StandardListItem\";\nimport { ListType } from \"sap/m/library\";\nimport type { MetadataOptions } from \"sap/ui/core/Element\";\nimport Element from \"sap/ui/core/Element\";\nimport { $BaseAppSettings } from \"./BaseApp\";\nimport MenuItem from \"./MenuItem\";\nimport { addFESRSemanticStepName, FESR_EVENTS, getFESRId } from \"./utils/FESRUtil\";\n\n/**\n *\n * Base App class for managing and storing Apps.\n *\n * @extends sap.ui.core.Element\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.121.0\n *\n * @abstract\n * @internal\n * @public\n *\n * @alias sap.cux.home.BaseApp\n */\nexport default abstract class BaseApp extends Element {\n\tconstructor(idOrSettings?: string | $BaseAppSettings);\n\tconstructor(id?: string, settings?: $BaseAppSettings);\n\t/**\n\t * Constructor for a new Base App.\n\t *\n\t * @param {string} [id] ID for the new app, generated automatically if an ID is not provided\n\t * @param {object} [settings] Initial settings for the new app\n\t */\n\tpublic constructor(id?: string, settings?: $BaseAppSettings) {\n\t\tsuper(id, settings);\n\t}\n\n\tstatic readonly metadata: MetadataOptions = {\n\t\tlibrary: \"sap.cux.home\",\n\t\tproperties: {\n\t\t\t/**\n\t\t\t * Title of the app\n\t\t\t */\n\t\t\ttitle: { type: \"string\", group: \"Misc\", defaultValue: \"\" },\n\t\t\t/**\n\t\t\t * Sub header of the app\n\t\t\t */\n\t\t\tsubTitle: { type: \"string\", group: \"Misc\", defaultValue: \"\" },\n\t\t\t/**\n\t\t\t * Background color of the app\n\t\t\t */\n\t\t\tbgColor: { type: \"string\", group: \"Misc\", defaultValue: \"\" },\n\t\t\t/**\n\t\t\t * Icon of the app\n\t\t\t */\n\t\t\ticon: { type: \"string\", group: \"Misc\", defaultValue: \"\" },\n\t\t\t/**\n\t\t\t * Whether the app is in loaded or loading status\n\t\t\t */\n\t\t\tstatus: { type: \"string\", group: \"Misc\", defaultValue: \"Loaded\" }\n\t\t},\n\t\taggregations: {\n\t\t\t/**\n\t\t\t * MenuItems aggregation of the app. These items will be shown in a popover on click of showMore\n\t\t\t */\n\t\t\tmenuItems: { type: \"sap.cux.home.MenuItem\", multiple: true, singularName: \"menuItem\", visibility: \"hidden\" }\n\t\t}\n\t};\n\n\tabstract _handlePress(event: GenericTile$PressEvent): void;\n\n\t/**\n\t * Base App Press Handler\n\t * @private\n\t * @param {GenericTile$PressEvent} event - The event object.\n\t */\n\tpublic _onPress(event: GenericTile$PressEvent): void {\n\t\tconst sAction = event.getParameter(\"action\") || \"Press\";\n\t\tif (sAction === \"Press\") {\n\t\t\tthis._handlePress(event);\n\t\t} else if (sAction === \"More\") {\n\t\t\tthis._loadActionsPopover(event);\n\t\t}\n\t}\n\n\t/**\n\t * Loads Actions available for selected app tile in popover\n\t * @private\n\t * @param {GenericTile$PressEvent} event - The event object.\n\t */\n\tpublic _loadActionsPopover(event: GenericTile$PressEvent) {\n\t\tconst tile: GenericTile & { _oMoreIcon: Button } = event.getSource?.();\n\t\tconst actions = this.getAggregation(\"menuItems\") as MenuItem[];\n\t\tconst oPopover = ActionsPopover.get(actions);\n\t\t//Add Border around current tile\n\t\tconst onPopoverOpen = () => {\n\t\t\ttile.addStyleClass(\"sapThemeBrand-asOutlineColor\");\n\t\t};\n\t\tconst onPopoverClose = () => {\n\t\t\ttile.removeStyleClass(\"sapThemeBrand-asOutlineColor\");\n\t\t\toPopover.detachBeforeOpen(onPopoverOpen);\n\t\t\toPopover.detachAfterClose(onPopoverClose);\n\t\t};\n\t\toPopover.attachBeforeOpen(onPopoverOpen);\n\t\toPopover.attachAfterClose(onPopoverClose);\n\t\toPopover.openBy(tile._oMoreIcon);\n\t}\n}\n\nexport class ActionsPopover {\n\tprivate static _popover: Popover;\n\tprivate static _actionsList: List;\n\n\tprivate constructor() {}\n\n\tstatic _closeActionsPopover() {\n\t\tActionsPopover._popover.close();\n\t}\n\n\t// Method to get the singleton instance\n\tstatic get(actions?: MenuItem[]): Popover {\n\t\tif (!ActionsPopover._popover) {\n\t\t\tActionsPopover._actionsList = new List({\n\t\t\t\tid: `appActionsList`\n\t\t\t});\n\t\t\tActionsPopover._popover = new Popover(`appActionsPopover`, {\n\t\t\t\tshowHeader: false,\n\t\t\t\tplacement: \"HorizontalPreferredRight\",\n\t\t\t\tariaLabelledBy: [`appActionsPopover`]\n\t\t\t})\n\t\t\t\t.addStyleClass(\"sapContrastPlus\")\n\t\t\t\t.addContent(ActionsPopover._actionsList);\n\t\t}\n\t\tActionsPopover._actionsList.destroyItems();\n\t\tactions?.forEach((action) => {\n\t\t\tconst actionType = action.getType() as ListType;\n\t\t\tconst oListItem = new StandardListItem(`${action.getId()}-index`, {\n\t\t\t\ticon: action.getIcon(),\n\t\t\t\ttitle: action.getTitle(),\n\t\t\t\ttooltip: action.getTitle(),\n\t\t\t\ttype: actionType,\n\t\t\t\tvisible: true,\n\t\t\t\tpress: (oEvent) => {\n\t\t\t\t\tif (actionType !== ListType.Navigation) {\n\t\t\t\t\t\tActionsPopover._closeActionsPopover();\n\t\t\t\t\t}\n\t\t\t\t\taction.firePress({ listItem: oEvent.getSource() });\n\t\t\t\t}\n\t\t\t});\n\t\t\taddFESRSemanticStepName(oListItem, FESR_EVENTS.PRESS, getFESRId(action));\n\t\t\tActionsPopover._actionsList.addItem(oListItem);\n\t\t});\n\t\treturn ActionsPopover._popover;\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,kIAAAC,IAAA,EAAAC,OAAA,EAAAC,gBAAA,EAAAC,aAAA,EAAAC,OA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,CAACyD,MAAM,CAAC,CAAC;QACxEtB,cAAc,CAACe,YAAY,CAACsB,OAAO,CAACZ,SAAS,CAAC;MAC/C,CAAC,CAAC;MACF,OAAOzB,cAAc,CAACa,QAAQ;IAC/B;EACD;EAAC/C,OAAA,CAAAkC,cAAA,GAAAA,cAAA;EAAA,OAlI6BlC,OAAO;AAAA","ignoreList":[]}
1
+ {"version":3,"file":"BaseApp.js","names":["sap","ui","define","List","Popover","StandardListItem","sap_m_library","Element","___utils_FESRUtil","ListType","addFESRSemanticStepName","FESR_EVENTS","getFESRId","BaseApp","extend","metadata","library","properties","title","type","group","defaultValue","subTitle","bgColor","icon","status","aggregations","menuItems","multiple","singularName","visibility","constructor","_constructor","id","settings","Element.prototype.constructor.call","_onPress","event","sAction","getParameter","_handlePress","_loadActionsPopover","tile","getSource","actions","getAggregation","oPopover","ActionsPopover","get","onPopoverOpen","addStyleClass","onPopoverClose","removeStyleClass","detachBeforeOpen","detachAfterClose","attachBeforeOpen","attachAfterClose","openBy","_oMoreIcon","_closeActionsPopover","_popover","close","_actionsList","showHeader","placement","ariaLabelledBy","addContent","destroyItems","forEach","action","actionType","getType","oListItem","getId","getIcon","getTitle","tooltip","visible","press","oEvent","Navigation","firePress","listItem","PRESS","addItem"],"sources":["BaseApp.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\nimport Button from \"sap/m/Button\";\nimport GenericTile, { GenericTile$PressEvent } from \"sap/m/GenericTile\";\nimport List from \"sap/m/List\";\nimport Popover from \"sap/m/Popover\";\nimport StandardListItem from \"sap/m/StandardListItem\";\nimport { ListType } from \"sap/m/library\";\nimport type { MetadataOptions } from \"sap/ui/core/Element\";\nimport Element from \"sap/ui/core/Element\";\nimport { $BaseAppSettings } from \"./BaseApp\";\nimport MenuItem from \"./MenuItem\";\nimport { addFESRSemanticStepName, FESR_EVENTS, getFESRId } from \"./utils/FESRUtil\";\n\n/**\n *\n * Base App class for managing and storing Apps.\n *\n * @extends sap.ui.core.Element\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.121.0\n *\n * @abstract\n * @private\n * @ui5-restricted ux.eng.s4producthomes1\n *\n * @alias sap.cux.home.BaseApp\n */\nexport default abstract class BaseApp extends Element {\n\tconstructor(idOrSettings?: string | $BaseAppSettings);\n\tconstructor(id?: string, settings?: $BaseAppSettings);\n\t/**\n\t * Constructor for a new Base App.\n\t *\n\t * @param {string} [id] ID for the new app, generated automatically if an ID is not provided\n\t * @param {object} [settings] Initial settings for the new app\n\t */\n\tpublic constructor(id?: string, settings?: $BaseAppSettings) {\n\t\tsuper(id, settings);\n\t}\n\n\tstatic readonly metadata: MetadataOptions = {\n\t\tlibrary: \"sap.cux.home\",\n\t\tproperties: {\n\t\t\t/**\n\t\t\t * Title of the app\n\t\t\t */\n\t\t\ttitle: { type: \"string\", group: \"Misc\", defaultValue: \"\" },\n\t\t\t/**\n\t\t\t * Sub header of the app\n\t\t\t */\n\t\t\tsubTitle: { type: \"string\", group: \"Misc\", defaultValue: \"\" },\n\t\t\t/**\n\t\t\t * Background color of the app\n\t\t\t */\n\t\t\tbgColor: { type: \"string\", group: \"Misc\", defaultValue: \"\" },\n\t\t\t/**\n\t\t\t * Icon of the app\n\t\t\t */\n\t\t\ticon: { type: \"string\", group: \"Misc\", defaultValue: \"\" },\n\t\t\t/**\n\t\t\t * Whether the app is in loaded or loading status\n\t\t\t */\n\t\t\tstatus: { type: \"string\", group: \"Misc\", defaultValue: \"Loaded\" }\n\t\t},\n\t\taggregations: {\n\t\t\t/**\n\t\t\t * MenuItems aggregation of the app. These items will be shown in a popover on click of showMore\n\t\t\t */\n\t\t\tmenuItems: { type: \"sap.cux.home.MenuItem\", multiple: true, singularName: \"menuItem\", visibility: \"hidden\" }\n\t\t}\n\t};\n\n\tabstract _handlePress(event: GenericTile$PressEvent): void;\n\n\t/**\n\t * Base App Press Handler\n\t * @private\n\t * @param {GenericTile$PressEvent} event - The event object.\n\t */\n\tpublic _onPress(event: GenericTile$PressEvent): void {\n\t\tconst sAction = event.getParameter(\"action\") || \"Press\";\n\t\tif (sAction === \"Press\") {\n\t\t\tthis._handlePress(event);\n\t\t} else if (sAction === \"More\") {\n\t\t\tthis._loadActionsPopover(event);\n\t\t}\n\t}\n\n\t/**\n\t * Loads Actions available for selected app tile in popover\n\t * @private\n\t * @param {GenericTile$PressEvent} event - The event object.\n\t */\n\tpublic _loadActionsPopover(event: GenericTile$PressEvent) {\n\t\tconst tile: GenericTile & { _oMoreIcon: Button } = event.getSource?.();\n\t\tconst actions = this.getAggregation(\"menuItems\") as MenuItem[];\n\t\tconst oPopover = ActionsPopover.get(actions);\n\t\t//Add Border around current tile\n\t\tconst onPopoverOpen = () => {\n\t\t\ttile.addStyleClass(\"sapThemeBrand-asOutlineColor\");\n\t\t};\n\t\tconst onPopoverClose = () => {\n\t\t\ttile.removeStyleClass(\"sapThemeBrand-asOutlineColor\");\n\t\t\toPopover.detachBeforeOpen(onPopoverOpen);\n\t\t\toPopover.detachAfterClose(onPopoverClose);\n\t\t};\n\t\toPopover.attachBeforeOpen(onPopoverOpen);\n\t\toPopover.attachAfterClose(onPopoverClose);\n\t\toPopover.openBy(tile._oMoreIcon);\n\t}\n}\n\nexport class ActionsPopover {\n\tprivate static _popover: Popover;\n\tprivate static _actionsList: List;\n\n\tprivate constructor() {}\n\n\tstatic _closeActionsPopover() {\n\t\tActionsPopover._popover.close();\n\t}\n\n\t// Method to get the singleton instance\n\tstatic get(actions?: MenuItem[]): Popover {\n\t\tif (!ActionsPopover._popover) {\n\t\t\tActionsPopover._actionsList = new List({\n\t\t\t\tid: `appActionsList`\n\t\t\t});\n\t\t\tActionsPopover._popover = new Popover(`appActionsPopover`, {\n\t\t\t\tshowHeader: false,\n\t\t\t\tplacement: \"HorizontalPreferredRight\",\n\t\t\t\tariaLabelledBy: [`appActionsPopover`]\n\t\t\t})\n\t\t\t\t.addStyleClass(\"sapContrastPlus\")\n\t\t\t\t.addContent(ActionsPopover._actionsList);\n\t\t}\n\t\tActionsPopover._actionsList.destroyItems();\n\t\tactions?.forEach((action) => {\n\t\t\tconst actionType = action.getType() as ListType;\n\t\t\tconst oListItem = new StandardListItem(`${action.getId()}-index`, {\n\t\t\t\ticon: action.getIcon(),\n\t\t\t\ttitle: action.getTitle(),\n\t\t\t\ttooltip: action.getTitle(),\n\t\t\t\ttype: actionType,\n\t\t\t\tvisible: true,\n\t\t\t\tpress: (oEvent) => {\n\t\t\t\t\tif (actionType !== ListType.Navigation) {\n\t\t\t\t\t\tActionsPopover._closeActionsPopover();\n\t\t\t\t\t}\n\t\t\t\t\taction.firePress({ listItem: oEvent.getSource() });\n\t\t\t\t}\n\t\t\t});\n\t\t\taddFESRSemanticStepName(oListItem, FESR_EVENTS.PRESS, getFESRId(action));\n\t\t\tActionsPopover._actionsList.addItem(oListItem);\n\t\t});\n\t\treturn ActionsPopover._popover;\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,kIAAAC,IAAA,EAAAC,OAAA,EAAAC,gBAAA,EAAAC,aAAA,EAAAC,OAAA,EAAAC,iBAAA;EAAA;;EAAA,MAUSC,QAAQ,GAAAH,aAAA;EAAA,MAKRI,uBAAuB,GAAAF,iBAAA;EAAA,MAAEG,WAAW,GAAAH,iBAAA;EAAA,MAAEI,SAAS,GAAAJ,iBAAA;EAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EAfA,MAgB8BK,OAAO,GAASN,OAAO,CAAAO,MAAA;IAapCC,QAAQ,EAAoB;MAC3CC,OAAO,EAAE,cAAc;MACvBC,UAAU,EAAE;QACX;AACH;AACA;QACGC,KAAK,EAAE;UAAEC,IAAI,EAAE,QAAQ;UAAEC,KAAK,EAAE,MAAM;UAAEC,YAAY,EAAE;QAAG,CAAC;QAC1D;AACH;AACA;QACGC,QAAQ,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AO,EAAEwB,OAAO,CAAEC,MAAM,IAAK;QAC5B,MAAMC,UAAU,GAAGD,MAAM,CAACE,OAAO,CAAC,CAAa;QAC/C,MAAMC,SAAS,GAAG,IAAInE,gBAAgB,CAAC,GAAGgE,MAAM,CAACI,KAAK,CAAC,CAAC,QAAQ,EAAE;UACjEjD,IAAI,EAAE6C,MAAM,CAACK,OAAO,CAAC,CAAC;UACtBxD,KAAK,EAAEmD,MAAM,CAACM,QAAQ,CAAC,CAAC;UACxBC,OAAO,EAAEP,MAAM,CAACM,QAAQ,CAAC,CAAC;UAC1BxD,IAAI,EAAEmD,UAAU;UAChBO,OAAO,EAAE,IAAI;UACbC,KAAK,EAAGC,MAAM,IAAK;YAClB,IAAIT,UAAU,KAAK7D,QAAQ,CAACuE,UAAU,EAAE;cACvCjC,cAAc,CAACY,oBAAoB,CAAC,CAAC;YACtC;YACAU,MAAM,CAACY,SAAS,CAAC;cAAEC,QAAQ,EAAEH,MAAM,CAACpC,SAAS,CAAC;YAAE,CAAC,CAAC;UACnD;QACD,CAAC,CAAC;QACFjC,uBAAuB,CAAC8D,SAAS,EAAE7D,WAAW,CAACwE,KAAK,EAAEvE,SAAS,CAACyD,MAAM,CAAC,CAAC;QACxEtB,cAAc,CAACe,YAAY,CAACsB,OAAO,CAACZ,SAAS,CAAC;MAC/C,CAAC,CAAC;MACF,OAAOzB,cAAc,CAACa,QAAQ;IAC/B;EACD;EAAC/C,OAAA,CAAAkC,cAAA,GAAAA,cAAA;EAAA,OAlI6BlC,OAAO;AAAA","ignoreList":[]}
@@ -26,8 +26,8 @@ import { addFESRSemanticStepName, FESR_EVENTS, getFESRId } from "./utils/FESRUti
26
26
  * @since 1.121.0
27
27
  *
28
28
  * @abstract
29
- * @internal
30
- * @public
29
+ * @private
30
+ * @ui5-restricted ux.eng.s4producthomes1
31
31
  *
32
32
  * @alias sap.cux.home.BaseApp
33
33
  */
@@ -190,7 +190,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
190
190
  height: "23.5rem",
191
191
  content: [],
192
192
  visible: this.getDeviceType() === DeviceType.Mobile
193
- }).addStyleClass("sapUiMargin-26Bottom sapMHeaderContainerAlign");
193
+ }).addStyleClass("sapUiMargin-26Bottom");
194
194
  }
195
195
  return this._mobileAppsWrapper;
196
196
  },