@sapui5/sap.cux.home 1.136.2 → 1.138.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (421) hide show
  1. package/package.json +1 -1
  2. package/src/sap/cux/home/.library +1 -1
  3. package/src/sap/cux/home/AdvancedSettingsPanel.d.ts +0 -3
  4. package/src/sap/cux/home/AdvancedSettingsPanel.d.ts.map +1 -1
  5. package/src/sap/cux/home/AdvancedSettingsPanel.js +33 -30
  6. package/src/sap/cux/home/AdvancedSettingsPanel.js.map +1 -1
  7. package/src/sap/cux/home/AdvancedSettingsPanel.ts +13 -7
  8. package/src/sap/cux/home/App.d.ts +1 -2
  9. package/src/sap/cux/home/App.d.ts.map +1 -1
  10. package/src/sap/cux/home/App.js +7 -2
  11. package/src/sap/cux/home/App.js.map +1 -1
  12. package/src/sap/cux/home/App.ts +8 -3
  13. package/src/sap/cux/home/AppsAdditionPanel.d.ts +0 -2
  14. package/src/sap/cux/home/AppsAdditionPanel.d.ts.map +1 -1
  15. package/src/sap/cux/home/AppsAdditionPanel.js +28 -23
  16. package/src/sap/cux/home/AppsAdditionPanel.js.map +1 -1
  17. package/src/sap/cux/home/AppsAdditionPanel.ts +18 -5
  18. package/src/sap/cux/home/AppsContainer.d.ts +0 -1
  19. package/src/sap/cux/home/AppsContainer.d.ts.map +1 -1
  20. package/src/sap/cux/home/AppsContainer.js +3 -3
  21. package/src/sap/cux/home/AppsContainer.js.map +1 -1
  22. package/src/sap/cux/home/AppsContainer.ts +1 -2
  23. package/src/sap/cux/home/BaseApp.d.ts +2 -2
  24. package/src/sap/cux/home/BaseApp.d.ts.map +1 -1
  25. package/src/sap/cux/home/BaseApp.js +10 -3
  26. package/src/sap/cux/home/BaseApp.js.map +1 -1
  27. package/src/sap/cux/home/BaseApp.ts +11 -4
  28. package/src/sap/cux/home/BaseAppPanel.d.ts +0 -2
  29. package/src/sap/cux/home/BaseAppPanel.d.ts.map +1 -1
  30. package/src/sap/cux/home/BaseAppPanel.js +7 -12
  31. package/src/sap/cux/home/BaseAppPanel.js.map +1 -1
  32. package/src/sap/cux/home/BaseAppPanel.ts +2 -4
  33. package/src/sap/cux/home/BaseAppPersPanel.d.ts +0 -2
  34. package/src/sap/cux/home/BaseAppPersPanel.d.ts.map +1 -1
  35. package/src/sap/cux/home/BaseAppPersPanel.js +9 -12
  36. package/src/sap/cux/home/BaseAppPersPanel.js.map +1 -1
  37. package/src/sap/cux/home/BaseAppPersPanel.ts +9 -7
  38. package/src/sap/cux/home/BaseContainer.d.ts +0 -1
  39. package/src/sap/cux/home/BaseContainer.d.ts.map +1 -1
  40. package/src/sap/cux/home/BaseContainer.js +15 -12
  41. package/src/sap/cux/home/BaseContainer.js.map +1 -1
  42. package/src/sap/cux/home/BaseContainer.ts +9 -4
  43. package/src/sap/cux/home/BaseLayout.d.ts +0 -1
  44. package/src/sap/cux/home/BaseLayout.d.ts.map +1 -1
  45. package/src/sap/cux/home/BaseLayout.js +6 -13
  46. package/src/sap/cux/home/BaseLayout.js.map +1 -1
  47. package/src/sap/cux/home/BaseLayout.ts +1 -2
  48. package/src/sap/cux/home/BaseNewsItem.d.ts +1 -2
  49. package/src/sap/cux/home/BaseNewsItem.d.ts.map +1 -1
  50. package/src/sap/cux/home/BaseNewsItem.js +7 -2
  51. package/src/sap/cux/home/BaseNewsItem.js.map +1 -1
  52. package/src/sap/cux/home/BaseNewsItem.ts +8 -3
  53. package/src/sap/cux/home/BaseNewsPanel.d.ts +1 -2
  54. package/src/sap/cux/home/BaseNewsPanel.d.ts.map +1 -1
  55. package/src/sap/cux/home/BaseNewsPanel.js +7 -2
  56. package/src/sap/cux/home/BaseNewsPanel.js.map +1 -1
  57. package/src/sap/cux/home/BaseNewsPanel.ts +8 -3
  58. package/src/sap/cux/home/BasePagePanel.d.ts +1 -2
  59. package/src/sap/cux/home/BasePagePanel.d.ts.map +1 -1
  60. package/src/sap/cux/home/BasePagePanel.gen.d.ts +34 -0
  61. package/src/sap/cux/home/BasePagePanel.js +16 -2
  62. package/src/sap/cux/home/BasePagePanel.js.map +1 -1
  63. package/src/sap/cux/home/BasePagePanel.ts +17 -3
  64. package/src/sap/cux/home/BasePanel.d.ts +0 -1
  65. package/src/sap/cux/home/BasePanel.d.ts.map +1 -1
  66. package/src/sap/cux/home/BasePanel.js +1 -3
  67. package/src/sap/cux/home/BasePanel.js.map +1 -1
  68. package/src/sap/cux/home/BasePanel.ts +0 -1
  69. package/src/sap/cux/home/BaseSettingsDialog.d.ts +0 -1
  70. package/src/sap/cux/home/BaseSettingsDialog.d.ts.map +1 -1
  71. package/src/sap/cux/home/BaseSettingsDialog.js +0 -1
  72. package/src/sap/cux/home/BaseSettingsDialog.js.map +1 -1
  73. package/src/sap/cux/home/BaseSettingsDialog.ts +0 -1
  74. package/src/sap/cux/home/BaseSettingsPanel.d.ts +1 -2
  75. package/src/sap/cux/home/BaseSettingsPanel.d.ts.map +1 -1
  76. package/src/sap/cux/home/BaseSettingsPanel.js +0 -1
  77. package/src/sap/cux/home/BaseSettingsPanel.js.map +1 -1
  78. package/src/sap/cux/home/BaseSettingsPanel.ts +1 -2
  79. package/src/sap/cux/home/CardsPanel.d.ts +0 -1
  80. package/src/sap/cux/home/CardsPanel.d.ts.map +1 -1
  81. package/src/sap/cux/home/CardsPanel.js +102 -105
  82. package/src/sap/cux/home/CardsPanel.js.map +1 -1
  83. package/src/sap/cux/home/CardsPanel.ts +1 -2
  84. package/src/sap/cux/home/ContentAdditionDialog.d.ts +0 -3
  85. package/src/sap/cux/home/ContentAdditionDialog.d.ts.map +1 -1
  86. package/src/sap/cux/home/ContentAdditionDialog.js +3 -7
  87. package/src/sap/cux/home/ContentAdditionDialog.js.map +1 -1
  88. package/src/sap/cux/home/ContentAdditionDialog.ts +3 -7
  89. package/src/sap/cux/home/ErrorPanel.d.ts +1 -2
  90. package/src/sap/cux/home/ErrorPanel.d.ts.map +1 -1
  91. package/src/sap/cux/home/ErrorPanel.gen.d.ts +24 -0
  92. package/src/sap/cux/home/ErrorPanel.js +16 -2
  93. package/src/sap/cux/home/ErrorPanel.js.map +1 -1
  94. package/src/sap/cux/home/ErrorPanel.ts +17 -3
  95. package/src/sap/cux/home/FavAppPanel.d.ts +0 -1
  96. package/src/sap/cux/home/FavAppPanel.d.ts.map +1 -1
  97. package/src/sap/cux/home/FavAppPanel.js +283 -288
  98. package/src/sap/cux/home/FavAppPanel.js.map +1 -1
  99. package/src/sap/cux/home/FavAppPanel.ts +20 -15
  100. package/src/sap/cux/home/FrequentAppPanel.d.ts +0 -1
  101. package/src/sap/cux/home/FrequentAppPanel.d.ts.map +1 -1
  102. package/src/sap/cux/home/FrequentAppPanel.js +1 -4
  103. package/src/sap/cux/home/FrequentAppPanel.js.map +1 -1
  104. package/src/sap/cux/home/FrequentAppPanel.ts +0 -1
  105. package/src/sap/cux/home/Group.d.ts +2 -2
  106. package/src/sap/cux/home/Group.d.ts.map +1 -1
  107. package/src/sap/cux/home/Group.gen.d.ts +47 -1
  108. package/src/sap/cux/home/Group.js +30 -3
  109. package/src/sap/cux/home/Group.js.map +1 -1
  110. package/src/sap/cux/home/Group.ts +26 -6
  111. package/src/sap/cux/home/IToDoPanel.d.ts +1 -2
  112. package/src/sap/cux/home/IToDoPanel.d.ts.map +1 -1
  113. package/src/sap/cux/home/IToDoPanel.js.map +1 -1
  114. package/src/sap/cux/home/IToDoPanel.ts +1 -2
  115. package/src/sap/cux/home/InsightsAdditionPanel.d.ts +0 -4
  116. package/src/sap/cux/home/InsightsAdditionPanel.d.ts.map +1 -1
  117. package/src/sap/cux/home/InsightsAdditionPanel.js +1 -7
  118. package/src/sap/cux/home/InsightsAdditionPanel.js.map +1 -1
  119. package/src/sap/cux/home/InsightsAdditionPanel.ts +1 -8
  120. package/src/sap/cux/home/InsightsCardsSettingsPanel.d.ts +0 -3
  121. package/src/sap/cux/home/InsightsCardsSettingsPanel.d.ts.map +1 -1
  122. package/src/sap/cux/home/InsightsCardsSettingsPanel.js +0 -3
  123. package/src/sap/cux/home/InsightsCardsSettingsPanel.js.map +1 -1
  124. package/src/sap/cux/home/InsightsCardsSettingsPanel.ts +0 -3
  125. package/src/sap/cux/home/InsightsContainer.d.ts +1 -1
  126. package/src/sap/cux/home/InsightsContainer.d.ts.map +1 -1
  127. package/src/sap/cux/home/InsightsContainer.js +19 -3
  128. package/src/sap/cux/home/InsightsContainer.js.map +1 -1
  129. package/src/sap/cux/home/InsightsContainer.ts +17 -4
  130. package/src/sap/cux/home/InsightsTilesSettingsPanel.d.ts +0 -3
  131. package/src/sap/cux/home/InsightsTilesSettingsPanel.d.ts.map +1 -1
  132. package/src/sap/cux/home/InsightsTilesSettingsPanel.js +5 -5
  133. package/src/sap/cux/home/InsightsTilesSettingsPanel.js.map +1 -1
  134. package/src/sap/cux/home/InsightsTilesSettingsPanel.ts +5 -5
  135. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.d.ts +0 -3
  136. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.d.ts.map +1 -1
  137. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js +0 -3
  138. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js.map +1 -1
  139. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.ts +0 -3
  140. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.d.ts +0 -3
  141. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.d.ts.map +1 -1
  142. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js +0 -3
  143. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js.map +1 -1
  144. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.ts +0 -3
  145. package/src/sap/cux/home/KeyUserNewsSettingsPanel.d.ts +5 -11
  146. package/src/sap/cux/home/KeyUserNewsSettingsPanel.d.ts.map +1 -1
  147. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js +58 -129
  148. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js.map +1 -1
  149. package/src/sap/cux/home/KeyUserNewsSettingsPanel.ts +53 -120
  150. package/src/sap/cux/home/KeyUserPagesSettingsPanel.d.ts +0 -3
  151. package/src/sap/cux/home/KeyUserPagesSettingsPanel.d.ts.map +1 -1
  152. package/src/sap/cux/home/KeyUserPagesSettingsPanel.js +0 -3
  153. package/src/sap/cux/home/KeyUserPagesSettingsPanel.js.map +1 -1
  154. package/src/sap/cux/home/KeyUserPagesSettingsPanel.ts +0 -3
  155. package/src/sap/cux/home/KeyUserSettingsDialog.d.ts +0 -3
  156. package/src/sap/cux/home/KeyUserSettingsDialog.d.ts.map +1 -1
  157. package/src/sap/cux/home/KeyUserSettingsDialog.js +0 -3
  158. package/src/sap/cux/home/KeyUserSettingsDialog.js.map +1 -1
  159. package/src/sap/cux/home/KeyUserSettingsDialog.ts +0 -3
  160. package/src/sap/cux/home/Layout.d.ts +0 -1
  161. package/src/sap/cux/home/Layout.d.ts.map +1 -1
  162. package/src/sap/cux/home/Layout.js +3 -6
  163. package/src/sap/cux/home/Layout.js.map +1 -1
  164. package/src/sap/cux/home/Layout.ts +0 -1
  165. package/src/sap/cux/home/LayoutSettingsPanel.d.ts +0 -3
  166. package/src/sap/cux/home/LayoutSettingsPanel.d.ts.map +1 -1
  167. package/src/sap/cux/home/LayoutSettingsPanel.js +0 -3
  168. package/src/sap/cux/home/LayoutSettingsPanel.js.map +1 -1
  169. package/src/sap/cux/home/LayoutSettingsPanel.ts +0 -3
  170. package/src/sap/cux/home/MenuItem.d.ts +0 -1
  171. package/src/sap/cux/home/MenuItem.d.ts.map +1 -1
  172. package/src/sap/cux/home/MenuItem.js +0 -1
  173. package/src/sap/cux/home/MenuItem.js.map +1 -1
  174. package/src/sap/cux/home/MenuItem.ts +0 -1
  175. package/src/sap/cux/home/NewsAndPagesContainer.d.ts +0 -1
  176. package/src/sap/cux/home/NewsAndPagesContainer.d.ts.map +1 -1
  177. package/src/sap/cux/home/NewsAndPagesContainer.js +4 -7
  178. package/src/sap/cux/home/NewsAndPagesContainer.js.map +1 -1
  179. package/src/sap/cux/home/NewsAndPagesContainer.ts +5 -9
  180. package/src/sap/cux/home/NewsGroup.d.ts +0 -3
  181. package/src/sap/cux/home/NewsGroup.d.ts.map +1 -1
  182. package/src/sap/cux/home/NewsGroup.js +0 -3
  183. package/src/sap/cux/home/NewsGroup.js.map +1 -1
  184. package/src/sap/cux/home/NewsGroup.ts +0 -3
  185. package/src/sap/cux/home/NewsItem.d.ts +0 -3
  186. package/src/sap/cux/home/NewsItem.d.ts.map +1 -1
  187. package/src/sap/cux/home/NewsItem.js +0 -3
  188. package/src/sap/cux/home/NewsItem.js.map +1 -1
  189. package/src/sap/cux/home/NewsItem.ts +0 -3
  190. package/src/sap/cux/home/NewsPanel.d.ts +1 -2
  191. package/src/sap/cux/home/NewsPanel.d.ts.map +1 -1
  192. package/src/sap/cux/home/NewsPanel.gen.d.ts +0 -30
  193. package/src/sap/cux/home/NewsPanel.js +81 -104
  194. package/src/sap/cux/home/NewsPanel.js.map +1 -1
  195. package/src/sap/cux/home/NewsPanel.ts +18 -32
  196. package/src/sap/cux/home/NewsSettingsPanel.d.ts +6 -3
  197. package/src/sap/cux/home/NewsSettingsPanel.d.ts.map +1 -1
  198. package/src/sap/cux/home/NewsSettingsPanel.js +18 -4
  199. package/src/sap/cux/home/NewsSettingsPanel.js.map +1 -1
  200. package/src/sap/cux/home/NewsSettingsPanel.ts +16 -4
  201. package/src/sap/cux/home/NoDataContainer.d.ts +0 -1
  202. package/src/sap/cux/home/NoDataContainer.d.ts.map +1 -1
  203. package/src/sap/cux/home/NoDataContainer.js +0 -1
  204. package/src/sap/cux/home/NoDataContainer.js.map +1 -1
  205. package/src/sap/cux/home/NoDataContainer.ts +0 -1
  206. package/src/sap/cux/home/Page.d.ts +0 -3
  207. package/src/sap/cux/home/Page.d.ts.map +1 -1
  208. package/src/sap/cux/home/Page.gen.d.ts +0 -12
  209. package/src/sap/cux/home/Page.js +0 -7
  210. package/src/sap/cux/home/Page.js.map +1 -1
  211. package/src/sap/cux/home/Page.ts +0 -7
  212. package/src/sap/cux/home/PagePanel.d.ts +0 -4
  213. package/src/sap/cux/home/PagePanel.d.ts.map +1 -1
  214. package/src/sap/cux/home/PagePanel.js +1 -6
  215. package/src/sap/cux/home/PagePanel.js.map +1 -1
  216. package/src/sap/cux/home/PagePanel.ts +0 -4
  217. package/src/sap/cux/home/PageSettingsPanel.d.ts +0 -3
  218. package/src/sap/cux/home/PageSettingsPanel.d.ts.map +1 -1
  219. package/src/sap/cux/home/PageSettingsPanel.js +3 -5
  220. package/src/sap/cux/home/PageSettingsPanel.js.map +1 -1
  221. package/src/sap/cux/home/PageSettingsPanel.ts +3 -5
  222. package/src/sap/cux/home/RecentAppPanel.d.ts +0 -1
  223. package/src/sap/cux/home/RecentAppPanel.d.ts.map +1 -1
  224. package/src/sap/cux/home/RecentAppPanel.js +2 -6
  225. package/src/sap/cux/home/RecentAppPanel.js.map +1 -1
  226. package/src/sap/cux/home/RecentAppPanel.ts +0 -1
  227. package/src/sap/cux/home/RecommendedAppPanel.d.ts +0 -1
  228. package/src/sap/cux/home/RecommendedAppPanel.d.ts.map +1 -1
  229. package/src/sap/cux/home/RecommendedAppPanel.js +0 -1
  230. package/src/sap/cux/home/RecommendedAppPanel.js.map +1 -1
  231. package/src/sap/cux/home/RecommendedAppPanel.ts +0 -1
  232. package/src/sap/cux/home/SettingsDialog.d.ts +0 -3
  233. package/src/sap/cux/home/SettingsDialog.d.ts.map +1 -1
  234. package/src/sap/cux/home/SettingsDialog.js +24 -22
  235. package/src/sap/cux/home/SettingsDialog.js.map +1 -1
  236. package/src/sap/cux/home/SettingsDialog.ts +8 -15
  237. package/src/sap/cux/home/SituationPanel.d.ts +0 -1
  238. package/src/sap/cux/home/SituationPanel.d.ts.map +1 -1
  239. package/src/sap/cux/home/SituationPanel.js +0 -1
  240. package/src/sap/cux/home/SituationPanel.js.map +1 -1
  241. package/src/sap/cux/home/SituationPanel.ts +0 -1
  242. package/src/sap/cux/home/SpaceInsightsPanel.d.ts +207 -0
  243. package/src/sap/cux/home/SpaceInsightsPanel.d.ts.map +1 -0
  244. package/src/sap/cux/home/SpaceInsightsPanel.gen.d.ts +200 -0
  245. package/src/sap/cux/home/SpaceInsightsPanel.js +786 -0
  246. package/src/sap/cux/home/SpaceInsightsPanel.js.map +1 -0
  247. package/src/sap/cux/home/SpaceInsightsPanel.ts +628 -0
  248. package/src/sap/cux/home/SpacePanel.d.ts +117 -0
  249. package/src/sap/cux/home/SpacePanel.d.ts.map +1 -0
  250. package/src/sap/cux/home/SpacePanel.gen.d.ts +77 -0
  251. package/src/sap/cux/home/SpacePanel.js +599 -0
  252. package/src/sap/cux/home/SpacePanel.js.map +1 -0
  253. package/src/sap/cux/home/SpacePanel.ts +461 -0
  254. package/src/sap/cux/home/TaskPanel.d.ts +0 -1
  255. package/src/sap/cux/home/TaskPanel.d.ts.map +1 -1
  256. package/src/sap/cux/home/TaskPanel.js +14 -24
  257. package/src/sap/cux/home/TaskPanel.js.map +1 -1
  258. package/src/sap/cux/home/TaskPanel.ts +6 -11
  259. package/src/sap/cux/home/TilesPanel.d.ts +0 -1
  260. package/src/sap/cux/home/TilesPanel.d.ts.map +1 -1
  261. package/src/sap/cux/home/TilesPanel.js +2 -4
  262. package/src/sap/cux/home/TilesPanel.js.map +1 -1
  263. package/src/sap/cux/home/TilesPanel.ts +1 -2
  264. package/src/sap/cux/home/ToDoPanel.d.ts +11 -1
  265. package/src/sap/cux/home/ToDoPanel.d.ts.map +1 -1
  266. package/src/sap/cux/home/ToDoPanel.js +67 -17
  267. package/src/sap/cux/home/ToDoPanel.js.map +1 -1
  268. package/src/sap/cux/home/ToDoPanel.ts +70 -13
  269. package/src/sap/cux/home/ToDosContainer.d.ts +0 -1
  270. package/src/sap/cux/home/ToDosContainer.d.ts.map +1 -1
  271. package/src/sap/cux/home/ToDosContainer.js +0 -1
  272. package/src/sap/cux/home/ToDosContainer.js.map +1 -1
  273. package/src/sap/cux/home/ToDosContainer.ts +0 -1
  274. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.d.ts.map +1 -1
  275. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js +0 -1
  276. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js.map +1 -1
  277. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.ts +0 -1
  278. package/src/sap/cux/home/i18n/messagebundle.properties +8 -6
  279. package/src/sap/cux/home/i18n/messagebundle_ar.properties +6 -3
  280. package/src/sap/cux/home/i18n/messagebundle_bg.properties +6 -3
  281. package/src/sap/cux/home/i18n/messagebundle_ca.properties +6 -3
  282. package/src/sap/cux/home/i18n/messagebundle_cnr.properties +6 -3
  283. package/src/sap/cux/home/i18n/messagebundle_cs.properties +6 -3
  284. package/src/sap/cux/home/i18n/messagebundle_cy.properties +6 -3
  285. package/src/sap/cux/home/i18n/messagebundle_da.properties +6 -3
  286. package/src/sap/cux/home/i18n/messagebundle_de.properties +16 -13
  287. package/src/sap/cux/home/i18n/messagebundle_el.properties +6 -3
  288. package/src/sap/cux/home/i18n/messagebundle_en.properties +6 -3
  289. package/src/sap/cux/home/i18n/messagebundle_en_GB.properties +6 -3
  290. package/src/sap/cux/home/i18n/messagebundle_en_US_sappsd.properties +55 -9
  291. package/src/sap/cux/home/i18n/messagebundle_en_US_saprigi.properties +8 -3
  292. package/src/sap/cux/home/i18n/messagebundle_en_US_saptrc.properties +55 -9
  293. package/src/sap/cux/home/i18n/messagebundle_es.properties +6 -3
  294. package/src/sap/cux/home/i18n/messagebundle_es_MX.properties +6 -3
  295. package/src/sap/cux/home/i18n/messagebundle_et.properties +6 -3
  296. package/src/sap/cux/home/i18n/messagebundle_fi.properties +6 -3
  297. package/src/sap/cux/home/i18n/messagebundle_fr.properties +6 -3
  298. package/src/sap/cux/home/i18n/messagebundle_fr_CA.properties +6 -3
  299. package/src/sap/cux/home/i18n/messagebundle_hi.properties +6 -3
  300. package/src/sap/cux/home/i18n/messagebundle_hr.properties +6 -3
  301. package/src/sap/cux/home/i18n/messagebundle_hu.properties +6 -3
  302. package/src/sap/cux/home/i18n/messagebundle_id.properties +6 -3
  303. package/src/sap/cux/home/i18n/messagebundle_it.properties +6 -3
  304. package/src/sap/cux/home/i18n/messagebundle_iw.properties +6 -3
  305. package/src/sap/cux/home/i18n/messagebundle_ja.properties +10 -7
  306. package/src/sap/cux/home/i18n/messagebundle_kk.properties +6 -3
  307. package/src/sap/cux/home/i18n/messagebundle_ko.properties +6 -3
  308. package/src/sap/cux/home/i18n/messagebundle_lt.properties +6 -3
  309. package/src/sap/cux/home/i18n/messagebundle_lv.properties +6 -3
  310. package/src/sap/cux/home/i18n/messagebundle_mk.properties +6 -3
  311. package/src/sap/cux/home/i18n/messagebundle_ms.properties +6 -3
  312. package/src/sap/cux/home/i18n/messagebundle_nl.properties +6 -3
  313. package/src/sap/cux/home/i18n/messagebundle_no.properties +6 -3
  314. package/src/sap/cux/home/i18n/messagebundle_pl.properties +6 -3
  315. package/src/sap/cux/home/i18n/messagebundle_pt.properties +6 -3
  316. package/src/sap/cux/home/i18n/messagebundle_pt_PT.properties +6 -3
  317. package/src/sap/cux/home/i18n/messagebundle_ro.properties +6 -3
  318. package/src/sap/cux/home/i18n/messagebundle_ru.properties +6 -3
  319. package/src/sap/cux/home/i18n/messagebundle_sh.properties +6 -3
  320. package/src/sap/cux/home/i18n/messagebundle_sk.properties +6 -3
  321. package/src/sap/cux/home/i18n/messagebundle_sl.properties +6 -3
  322. package/src/sap/cux/home/i18n/messagebundle_sr.properties +6 -3
  323. package/src/sap/cux/home/i18n/messagebundle_sv.properties +6 -3
  324. package/src/sap/cux/home/i18n/messagebundle_th.properties +6 -3
  325. package/src/sap/cux/home/i18n/messagebundle_tr.properties +6 -3
  326. package/src/sap/cux/home/i18n/messagebundle_uk.properties +7 -4
  327. package/src/sap/cux/home/i18n/messagebundle_vi.properties +6 -3
  328. package/src/sap/cux/home/i18n/messagebundle_zh_CN.properties +6 -3
  329. package/src/sap/cux/home/i18n/messagebundle_zh_TW.properties +6 -3
  330. package/src/sap/cux/home/interface/AppsInterface.d.ts +1 -0
  331. package/src/sap/cux/home/interface/AppsInterface.d.ts.map +1 -1
  332. package/src/sap/cux/home/interface/AppsInterface.js.map +1 -1
  333. package/src/sap/cux/home/interface/AppsInterface.ts +1 -0
  334. package/src/sap/cux/home/interface/KeyUserInterface.d.ts +0 -2
  335. package/src/sap/cux/home/interface/KeyUserInterface.d.ts.map +1 -1
  336. package/src/sap/cux/home/interface/KeyUserInterface.js.map +1 -1
  337. package/src/sap/cux/home/interface/KeyUserInterface.ts +0 -2
  338. package/src/sap/cux/home/library.d.ts +3 -4
  339. package/src/sap/cux/home/library.d.ts.map +1 -1
  340. package/src/sap/cux/home/library.js +3 -4
  341. package/src/sap/cux/home/library.js.map +1 -1
  342. package/src/sap/cux/home/library.ts +3 -4
  343. package/src/sap/cux/home/themes/base/ContentAdditionDialog.less +1 -1
  344. package/src/sap/cux/home/themes/base/InsightsContainer.less +4 -0
  345. package/src/sap/cux/home/utils/Accessibility.js +3 -4
  346. package/src/sap/cux/home/utils/Accessibility.js.map +1 -1
  347. package/src/sap/cux/home/utils/Accessibility.ts +2 -2
  348. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.d.ts +0 -1
  349. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.d.ts.map +1 -1
  350. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.js +0 -1
  351. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.js.map +1 -1
  352. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.ts +0 -1
  353. package/src/sap/cux/home/utils/AppManager.d.ts +4 -7
  354. package/src/sap/cux/home/utils/AppManager.d.ts.map +1 -1
  355. package/src/sap/cux/home/utils/AppManager.js +141 -157
  356. package/src/sap/cux/home/utils/AppManager.js.map +1 -1
  357. package/src/sap/cux/home/utils/AppManager.ts +20 -13
  358. package/src/sap/cux/home/utils/BatchHelper.d.ts +0 -3
  359. package/src/sap/cux/home/utils/BatchHelper.d.ts.map +1 -1
  360. package/src/sap/cux/home/utils/BatchHelper.js +5 -10
  361. package/src/sap/cux/home/utils/BatchHelper.js.map +1 -1
  362. package/src/sap/cux/home/utils/BatchHelper.ts +0 -3
  363. package/src/sap/cux/home/utils/CommonUtils.d.ts +9 -0
  364. package/src/sap/cux/home/utils/CommonUtils.d.ts.map +1 -1
  365. package/src/sap/cux/home/utils/CommonUtils.js +23 -2
  366. package/src/sap/cux/home/utils/CommonUtils.js.map +1 -1
  367. package/src/sap/cux/home/utils/CommonUtils.ts +25 -1
  368. package/src/sap/cux/home/utils/Constants.d.ts +4 -5
  369. package/src/sap/cux/home/utils/Constants.d.ts.map +1 -1
  370. package/src/sap/cux/home/utils/Constants.js +5 -5
  371. package/src/sap/cux/home/utils/Constants.js.map +1 -1
  372. package/src/sap/cux/home/utils/Constants.ts +4 -5
  373. package/src/sap/cux/home/utils/DecisionDialog.d.ts +0 -3
  374. package/src/sap/cux/home/utils/DecisionDialog.d.ts.map +1 -1
  375. package/src/sap/cux/home/utils/DecisionDialog.js +0 -3
  376. package/src/sap/cux/home/utils/DecisionDialog.js.map +1 -1
  377. package/src/sap/cux/home/utils/DecisionDialog.ts +0 -3
  378. package/src/sap/cux/home/utils/Device.js +1 -2
  379. package/src/sap/cux/home/utils/Device.js.map +1 -1
  380. package/src/sap/cux/home/utils/FESRUtil.js +1 -1
  381. package/src/sap/cux/home/utils/FESRUtil.js.map +1 -1
  382. package/src/sap/cux/home/utils/FESRUtil.ts +1 -1
  383. package/src/sap/cux/home/utils/FeatureUtils.d.ts +20 -13
  384. package/src/sap/cux/home/utils/FeatureUtils.d.ts.map +1 -1
  385. package/src/sap/cux/home/utils/FeatureUtils.js +38 -33
  386. package/src/sap/cux/home/utils/FeatureUtils.js.map +1 -1
  387. package/src/sap/cux/home/utils/FeatureUtils.ts +39 -32
  388. package/src/sap/cux/home/utils/HttpHelper.d.ts +7 -3
  389. package/src/sap/cux/home/utils/HttpHelper.d.ts.map +1 -1
  390. package/src/sap/cux/home/utils/HttpHelper.js +43 -3
  391. package/src/sap/cux/home/utils/HttpHelper.js.map +1 -1
  392. package/src/sap/cux/home/utils/HttpHelper.ts +25 -3
  393. package/src/sap/cux/home/utils/KeyUserPersonalization.d.ts.map +1 -1
  394. package/src/sap/cux/home/utils/KeyUserPersonalization.js +33 -13
  395. package/src/sap/cux/home/utils/KeyUserPersonalization.js.map +1 -1
  396. package/src/sap/cux/home/utils/KeyUserPersonalization.ts +2 -2
  397. package/src/sap/cux/home/utils/PageManager.d.ts +0 -3
  398. package/src/sap/cux/home/utils/PageManager.d.ts.map +1 -1
  399. package/src/sap/cux/home/utils/PageManager.js +8 -14
  400. package/src/sap/cux/home/utils/PageManager.js.map +1 -1
  401. package/src/sap/cux/home/utils/PageManager.ts +0 -3
  402. package/src/sap/cux/home/utils/PersonalisationUtils.d.ts +0 -3
  403. package/src/sap/cux/home/utils/PersonalisationUtils.d.ts.map +1 -1
  404. package/src/sap/cux/home/utils/PersonalisationUtils.js +1 -5
  405. package/src/sap/cux/home/utils/PersonalisationUtils.js.map +1 -1
  406. package/src/sap/cux/home/utils/PersonalisationUtils.ts +0 -3
  407. package/src/sap/cux/home/utils/SituationUtils.js +1 -2
  408. package/src/sap/cux/home/utils/SituationUtils.js.map +1 -1
  409. package/src/sap/cux/home/utils/TaskUtils.js +1 -2
  410. package/src/sap/cux/home/utils/TaskUtils.js.map +1 -1
  411. package/src/sap/cux/home/utils/UshellPersonalizer.d.ts +0 -3
  412. package/src/sap/cux/home/utils/UshellPersonalizer.d.ts.map +1 -1
  413. package/src/sap/cux/home/utils/UshellPersonalizer.js +0 -3
  414. package/src/sap/cux/home/utils/UshellPersonalizer.js.map +1 -1
  415. package/src/sap/cux/home/utils/UshellPersonalizer.ts +0 -3
  416. package/src/sap/cux/home/utils/fragment/appsAdditionContent.fragment.xml +16 -17
  417. package/src/sap/cux/home/utils/CardSkeleton.d.ts +0 -54
  418. package/src/sap/cux/home/utils/CardSkeleton.d.ts.map +0 -1
  419. package/src/sap/cux/home/utils/CardSkeleton.js +0 -61
  420. package/src/sap/cux/home/utils/CardSkeleton.js.map +0 -1
  421. package/src/sap/cux/home/utils/CardSkeleton.ts +0 -53
@@ -195,6 +195,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
195
195
  const MenuItem = _interopRequireDefault(__MenuItem);
196
196
  const RecommendedAppPanel = _interopRequireDefault(__RecommendedAppPanel);
197
197
  const checkPanelExists = ___utils_Accessibility["checkPanelExists"];
198
+ const getInvisibleText = ___utils_Accessibility["getInvisibleText"];
198
199
  const DEFAULT_BG_COLOR = ___utils_Constants["DEFAULT_BG_COLOR"];
199
200
  const END_USER_COLORS = ___utils_Constants["END_USER_COLORS"];
200
201
  const MYAPPS_SECTION_ID = ___utils_Constants["MYAPPS_SECTION_ID"];
@@ -228,7 +229,6 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
228
229
  * @since 1.121.0
229
230
  *
230
231
  * @internal
231
- * @experimental Since 1.121
232
232
  * @public
233
233
  *
234
234
  * @alias sap.cux.home.FavAppPanel
@@ -845,15 +845,15 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
845
845
  */
846
846
  _getDragDropInfo: function _getDragDropInfo(event, appGroupId) {
847
847
  try {
848
- const _this10 = this;
848
+ const _this0 = this;
849
849
  const dragTile = event.getParameter?.("draggedControl"),
850
850
  dropTile = event.getParameter?.("droppedControl"),
851
851
  dropPosition = event.getParameter?.("dropPosition"),
852
852
  dropControl = dragTile.getParent(),
853
853
  dragItemIndex = dropControl.indexOfItem(dragTile),
854
854
  dropItemIndex = dropControl.indexOfItem(dropTile),
855
- dragItem = _this10._getTileItem(dragTile, appGroupId),
856
- dropItem = _this10._getTileItem(dropTile, appGroupId);
855
+ dragItem = _this0._getTileItem(dragTile, appGroupId),
856
+ dropItem = _this0._getTileItem(dropTile, appGroupId);
857
857
  const dragDropInfo = {
858
858
  dragItem: dragItem,
859
859
  dropItem: dropItem,
@@ -866,12 +866,12 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
866
866
  const _temp9 = function () {
867
867
  if (dragItemIndex !== dropItemIndex) {
868
868
  const _temp8 = function () {
869
- if (!dragItem?.isA("sap.cux.home.Group") && !dropItem?.isA("sap.cux.home.Group")) {
870
- return Promise.resolve(_this10._adjustAppDragDropInfo(dragDropInfo, appGroupId)).then(function () {});
869
+ if (!(dragItem instanceof Group) && !(dropItem instanceof Group)) {
870
+ return Promise.resolve(_this0._adjustAppDragDropInfo(dragDropInfo, appGroupId)).then(function () {});
871
871
  } else {
872
872
  const _temp7 = function () {
873
- if (dragItem?.isA("sap.cux.home.Group")) {
874
- return Promise.resolve(_this10._adjustGroupDragDropInfo(dragDropInfo)).then(function () {});
873
+ if (dragItem instanceof Group) {
874
+ return Promise.resolve(_this0._adjustGroupDragDropInfo(dragDropInfo)).then(function () {});
875
875
  }
876
876
  }();
877
877
  if (_temp7 && _temp7.then) return _temp7.then(function () {});
@@ -895,12 +895,11 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
895
895
  */
896
896
  _adjustAppDragDropInfo: function _adjustAppDragDropInfo(dragDropInfo, appGroupId) {
897
897
  try {
898
- const _this11 = this;
898
+ const _this1 = this;
899
899
  let isUpdated = false;
900
900
  const dragApp = dragDropInfo.dragItem;
901
901
  const dropApp = dragDropInfo.dropItem;
902
- return Promise.resolve(Promise.all([_this11.appManagerInstance.getVisualization(dragApp.getUrl(), appGroupId), _this11.appManagerInstance.getVisualization(dropApp.getUrl(), appGroupId)])).then(function (_ref) {
903
- let [dragVisualization, dropVisualization] = _ref;
902
+ return Promise.resolve(Promise.all([_this1.appManagerInstance.getVisualization(dragApp.getUrl(), appGroupId), _this1.appManagerInstance.getVisualization(dropApp.getUrl(), appGroupId)])).then(function ([dragVisualization, dropVisualization]) {
904
903
  if (dragDropInfo.dropPosition === dnd.RelativeDropPosition.Before) {
905
904
  //let's say there are two apps a1, a2, if a1 is moved before a2, that essentailly means the drop item index is same as current item index, adjust the dropItemIndex accordingly
906
905
  if (dragDropInfo.dragItemIndex === dragDropInfo.dropItemIndex - 1) {
@@ -921,7 +920,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
921
920
  }
922
921
  if (isUpdated) {
923
922
  const tile = dragDropInfo.dropControl.getItems()[dragDropInfo.dropItemIndex];
924
- const app = _this11._getTileItem(tile, appGroupId);
923
+ const app = _this1._getTileItem(tile, appGroupId);
925
924
  if (app) {
926
925
  dragDropInfo.dropItem = app;
927
926
  }
@@ -950,14 +949,14 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
950
949
  */
951
950
  _adjustGroupDragDropInfo: function _adjustGroupDragDropInfo(dragDropInfo) {
952
951
  try {
953
- const _this12 = this;
954
- return Promise.resolve(_this12.appManagerInstance._getSections()).then(function (sections) {
952
+ const _this10 = this;
953
+ return Promise.resolve(_this10.appManagerInstance._getSections()).then(function (sections) {
955
954
  let dropGroupIndex;
956
955
  dragDropInfo.dragItemIndex = sections.findIndex(section => section.id === dragDropInfo.dragItem.getGroupId());
957
956
 
958
957
  //If dropped app is the first ungrouped app, put the group at the end
959
- if (!dragDropInfo.dropItem.isA("sap.cux.home.Group")) {
960
- const lastGroupIndex = _this12.getAggregation("groups").length;
958
+ if (!(dragDropInfo.dropItem instanceof Group)) {
959
+ const lastGroupIndex = _this10.getAggregation("groups").length;
961
960
  dragDropInfo.dropItemIndex = dragDropInfo.dropPosition === dnd.RelativeDropPosition.Before && dragDropInfo.dropItemIndex === lastGroupIndex && dragDropInfo.dragItemIndex !== lastGroupIndex ? lastGroupIndex + 1 : dragDropInfo.dragItemIndex;
962
961
  } else {
963
962
  dropGroupIndex = sections.findIndex(section => section.id === dragDropInfo.dropItem.getGroupId());
@@ -984,10 +983,10 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
984
983
  */
985
984
  _onFavItemDrop: function _onFavItemDrop(event, appGroupId) {
986
985
  try {
987
- const _this13 = this;
986
+ const _this11 = this;
988
987
  const dragTile = event.getParameter?.("draggedControl");
989
- return Promise.resolve(_this13._getDragDropInfo(event, appGroupId)).then(function (dragDropInfo) {
990
- function _temp12() {
988
+ return Promise.resolve(_this11._getDragDropInfo(event, appGroupId)).then(function (dragDropInfo) {
989
+ function _temp10() {
991
990
  dragTile.removeStyleClass("sapMGTPressActive");
992
991
  }
993
992
  const {
@@ -998,29 +997,29 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
998
997
  dropItem
999
998
  } = dragDropInfo;
1000
999
  if (dragItemIndex === dropItemIndex) return;
1001
- const _temp11 = function () {
1000
+ const _temp1 = function () {
1002
1001
  if (dropPosition === dnd.RelativeDropPosition.On) {
1003
- return Promise.resolve(_this13._handleOnItemDrop(dragItem, dropItem)).then(function () {
1004
- void _this13.refresh();
1002
+ return Promise.resolve(_this11._handleOnItemDrop(dragItem, dropItem)).then(function () {
1003
+ void _this11.refresh();
1005
1004
  });
1006
1005
  } else {
1007
- const _temp10 = function () {
1006
+ const _temp0 = function () {
1008
1007
  if (dropPosition === dnd.RelativeDropPosition.After || dropPosition === dnd.RelativeDropPosition.Before) {
1009
- _this13._setBusy(true);
1010
- return Promise.resolve(_this13._handleItemsReorder(dragDropInfo, appGroupId)).then(function () {
1011
- return Promise.resolve(_this13.refresh()).then(function () {
1008
+ _this11._setBusy(true);
1009
+ return Promise.resolve(_this11._handleItemsReorder(dragDropInfo, appGroupId)).then(function () {
1010
+ return Promise.resolve(_this11.refresh()).then(function () {
1012
1011
  if (appGroupId) {
1013
- void _this13._setGroupDetailDialogApps(appGroupId);
1012
+ void _this11._setGroupDetailDialogApps(appGroupId);
1014
1013
  }
1015
- _this13._setBusy(false);
1014
+ _this11._setBusy(false);
1016
1015
  });
1017
1016
  });
1018
1017
  }
1019
1018
  }();
1020
- if (_temp10 && _temp10.then) return _temp10.then(function () {});
1019
+ if (_temp0 && _temp0.then) return _temp0.then(function () {});
1021
1020
  }
1022
1021
  }();
1023
- return _temp11 && _temp11.then ? _temp11.then(_temp12) : _temp12(_temp11);
1022
+ return _temp1 && _temp1.then ? _temp1.then(_temp10) : _temp10(_temp1);
1024
1023
  });
1025
1024
  } catch (e) {
1026
1025
  return Promise.reject(e);
@@ -1037,25 +1036,25 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1037
1036
  */
1038
1037
  _handleOnItemDrop: function _handleOnItemDrop(dragItem, dropItem) {
1039
1038
  try {
1040
- const _this14 = this;
1041
- if (dragItem.isA("sap.cux.home.Group")) return Promise.resolve();
1042
- const _temp13 = function () {
1043
- if (!dropItem.isA("sap.cux.home.Group")) {
1039
+ const _this12 = this;
1040
+ if (dragItem instanceof Group) return Promise.resolve();
1041
+ const _temp11 = function () {
1042
+ if (!(dropItem instanceof Group)) {
1044
1043
  //if both dragged and dropped items are apps, create group dialog is opened.
1045
1044
  const dragApp = dragItem;
1046
1045
  const dropApp = dropItem;
1047
- _this14._selectedApps = [dragApp, dropApp];
1048
- _this14._openCreateGroupDialog(true);
1046
+ _this12._selectedApps = [dragApp, dropApp];
1047
+ _this12._openCreateGroupDialog(true);
1049
1048
  } else {
1050
1049
  //if dragged item is an app and dropped item is a group, app should be moved into that group.
1051
1050
  const targetGroupId = dropItem.getGroupId();
1052
- _this14._setBusy(true);
1053
- return Promise.resolve(_this14._handleMoveToGroup(dragItem, undefined, targetGroupId)).then(function () {
1054
- _this14._setBusy(false);
1051
+ _this12._setBusy(true);
1052
+ return Promise.resolve(_this12._handleMoveToGroup(dragItem, undefined, targetGroupId)).then(function () {
1053
+ _this12._setBusy(false);
1055
1054
  });
1056
1055
  }
1057
1056
  }();
1058
- return Promise.resolve(_temp13 && _temp13.then ? _temp13.then(function () {}) : void 0);
1057
+ return Promise.resolve(_temp11 && _temp11.then ? _temp11.then(function () {}) : void 0);
1059
1058
  } catch (e) {
1060
1059
  return Promise.reject(e);
1061
1060
  }
@@ -1068,22 +1067,21 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1068
1067
  */
1069
1068
  _handleItemsReorder: function _handleItemsReorder(dragDropInfo, appGroupId) {
1070
1069
  try {
1071
- const _this15 = this;
1070
+ const _this13 = this;
1072
1071
  const {
1073
1072
  dragItem,
1074
1073
  dropItem,
1075
1074
  dragItemIndex,
1076
1075
  dropItemIndex
1077
1076
  } = dragDropInfo;
1078
- const isDragItemGroup = dragItem.isA("sap.cux.home.Group");
1079
- const isDropItemGroup = dropItem.isA("sap.cux.home.Group");
1080
- const _temp15 = function () {
1077
+ const isDragItemGroup = dragItem.getMetadata()?.getName() === "sap.cux.home.Group";
1078
+ const isDropItemGroup = dropItem.getMetadata()?.getName() === "sap.cux.home.Group";
1079
+ const _temp13 = function () {
1081
1080
  if (!isDragItemGroup && !isDropItemGroup) {
1082
1081
  const drapApp = dragItem;
1083
1082
  const dropApp = dropItem;
1084
- return Promise.resolve(Promise.all([_this15.appManagerInstance.getVisualization(drapApp.getUrl(), appGroupId), _this15.appManagerInstance.getVisualization(dropApp.getUrl(), appGroupId)])).then(function (_ref2) {
1085
- let [dragVisualization, dropVisualization] = _ref2;
1086
- return Promise.resolve(_this15.appManagerInstance.moveVisualization({
1083
+ return Promise.resolve(Promise.all([_this13.appManagerInstance.getVisualization(drapApp.getUrl(), appGroupId), _this13.appManagerInstance.getVisualization(dropApp.getUrl(), appGroupId)])).then(function ([dragVisualization, dropVisualization]) {
1084
+ return Promise.resolve(_this13.appManagerInstance.moveVisualization({
1087
1085
  sourceSectionIndex: dragVisualization?.persConfig?.sectionIndex,
1088
1086
  sourceVisualizationIndex: dragVisualization?.persConfig?.visualizationIndex,
1089
1087
  targetSectionIndex: dropVisualization?.persConfig?.sectionIndex,
@@ -1091,15 +1089,15 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1091
1089
  })).then(function () {});
1092
1090
  });
1093
1091
  } else {
1094
- const _temp14 = function () {
1092
+ const _temp12 = function () {
1095
1093
  if (isDragItemGroup && isDropItemGroup) {
1096
- return Promise.resolve(_this15.appManagerInstance.moveSection(dragItemIndex, dropItemIndex)).then(function () {});
1094
+ return Promise.resolve(_this13.appManagerInstance.moveSection(dragItemIndex, dropItemIndex)).then(function () {});
1097
1095
  }
1098
1096
  }();
1099
- if (_temp14 && _temp14.then) return _temp14.then(function () {});
1097
+ if (_temp12 && _temp12.then) return _temp12.then(function () {});
1100
1098
  }
1101
1099
  }();
1102
- return Promise.resolve(_temp15 && _temp15.then ? _temp15.then(function () {}) : void 0);
1100
+ return Promise.resolve(_temp13 && _temp13.then ? _temp13.then(function () {}) : void 0);
1103
1101
  } catch (e) {
1104
1102
  return Promise.reject(e);
1105
1103
  }
@@ -1155,8 +1153,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1155
1153
  * @private
1156
1154
  * @param {boolean} [skipAppsSelection=false] - Whether to skip the apps selection page.
1157
1155
  */
1158
- _openCreateGroupDialog: function _openCreateGroupDialog() {
1159
- let skipAppsSelection = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
1156
+ _openCreateGroupDialog: function _openCreateGroupDialog(skipAppsSelection = false) {
1160
1157
  const createGroupDialog = this._generateCreateGroupDialog(skipAppsSelection);
1161
1158
  const appsWrapper = this._controlMap.get(`${this.getId()}-createGroupDialog-appsPage-scrollContainer-apps`);
1162
1159
  appsWrapper.destroyItems();
@@ -1205,8 +1202,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1205
1202
  * @param {boolean} bSkipAppsSelection - Whether to skip the apps selection page.
1206
1203
  * @returns {sap.m.Dialog} The generated dialog for creating a group.
1207
1204
  */
1208
- _generateCreateGroupDialog: function _generateCreateGroupDialog() {
1209
- let skipAppsSelection = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
1205
+ _generateCreateGroupDialog: function _generateCreateGroupDialog(skipAppsSelection = true) {
1210
1206
  const id = `${this.getId()}-createGroupDialog`;
1211
1207
  const navContainer = this._generateCreateGroupNavContainer();
1212
1208
  const _toggleNavButton = skipAppsSelection => {
@@ -1525,49 +1521,49 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1525
1521
  */
1526
1522
  _onPressGroupCreate: function _onPressGroupCreate() {
1527
1523
  try {
1528
- const _this16 = this;
1529
- const groupNameInput = _this16._controlMap.get(`${_this16.getId()}-createGroupDialog-mainPage-form-groupName-input`);
1530
- const _temp18 = function () {
1531
- if (_this16._validateGroupName()) {
1532
- const _temp17 = function () {
1533
- if (_this16._selectedApps?.length) {
1534
- _this16._setBusy(true);
1535
- const _temp16 = _finallyRethrows(function () {
1524
+ const _this14 = this;
1525
+ const groupNameInput = _this14._controlMap.get(`${_this14.getId()}-createGroupDialog-mainPage-form-groupName-input`);
1526
+ const _temp16 = function () {
1527
+ if (_this14._validateGroupName()) {
1528
+ const _temp15 = function () {
1529
+ if (_this14._selectedApps?.length) {
1530
+ _this14._setBusy(true);
1531
+ const _temp14 = _finallyRethrows(function () {
1536
1532
  return _catch(function () {
1537
- return Promise.resolve(_this16._createGroup({
1538
- selectedApps: _this16._selectedApps,
1533
+ return Promise.resolve(_this14._createGroup({
1534
+ selectedApps: _this14._selectedApps,
1539
1535
  groupName: groupNameInput.getValue(),
1540
- groupColor: _this16._getGroupColor()
1536
+ groupColor: _this14._getGroupColor()
1541
1537
  })).then(function () {
1542
- return Promise.resolve(_this16.refresh()).then(function () {
1538
+ return Promise.resolve(_this14.refresh()).then(function () {
1543
1539
  // Show toast message after successful group creation
1544
- MessageToast.show(_this16._i18nBundle.getText("newGroupCreated"), {
1545
- of: _this16._controlMap.get(`${_this16.getId()}-createGroupDialog`),
1540
+ MessageToast.show(_this14._i18nBundle.getText("newGroupCreated"), {
1541
+ of: _this14._controlMap.get(`${_this14.getId()}-createGroupDialog`),
1546
1542
  offset: "0 80"
1547
1543
  });
1548
- const groups = _this16.getAggregation("groups") || [];
1549
- void _this16._showGroupDetailDialog(groups[0]?.getGroupId());
1544
+ const groups = _this14.getAggregation("groups") || [];
1545
+ void _this14._showGroupDetailDialog(groups[0]?.getGroupId());
1550
1546
  });
1551
1547
  });
1552
1548
  }, function (err) {
1553
1549
  Log.error(err);
1554
- MessageToast.show(_this16._i18nBundle.getText("unableToCreateGroup"));
1550
+ MessageToast.show(_this14._i18nBundle.getText("unableToCreateGroup"));
1555
1551
  });
1556
1552
  }, function (_wasThrown, _result) {
1557
- _this16._setBusy(false);
1558
- _this16._closeCreateGroupDialog();
1553
+ _this14._setBusy(false);
1554
+ _this14._closeCreateGroupDialog();
1559
1555
  if (_wasThrown) throw _result;
1560
1556
  return _result;
1561
1557
  });
1562
- if (_temp16 && _temp16.then) return _temp16.then(function () {});
1558
+ if (_temp14 && _temp14.then) return _temp14.then(function () {});
1563
1559
  } else {
1564
- _this16._setNoAppsSelectedError(true);
1560
+ _this14._setNoAppsSelectedError(true);
1565
1561
  }
1566
1562
  }();
1567
- if (_temp17 && _temp17.then) return _temp17.then(function () {});
1563
+ if (_temp15 && _temp15.then) return _temp15.then(function () {});
1568
1564
  }
1569
1565
  }();
1570
- return Promise.resolve(_temp18 && _temp18.then ? _temp18.then(function () {}) : void 0);
1566
+ return Promise.resolve(_temp16 && _temp16.then ? _temp16.then(function () {}) : void 0);
1571
1567
  } catch (e) {
1572
1568
  return Promise.reject(e);
1573
1569
  }
@@ -1582,13 +1578,13 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1582
1578
  */
1583
1579
  _createGroup: function _createGroup(params) {
1584
1580
  try {
1585
- const _this17 = this;
1581
+ const _this15 = this;
1586
1582
  const {
1587
1583
  selectedApps,
1588
1584
  groupName,
1589
1585
  groupColor
1590
1586
  } = params;
1591
- return Promise.resolve(_this17.appManagerInstance.getSectionVisualizations()).then(function (sectionVisualizations) {
1587
+ return Promise.resolve(_this15.appManagerInstance.getSectionVisualizations()).then(function (sectionVisualizations) {
1592
1588
  const visualizations = selectedApps.reduce((selectedVisualizations, oApp) => {
1593
1589
  const sectionVisualization = sectionVisualizations.find(oSectionViz => oSectionViz.url === oApp.getUrl());
1594
1590
  if (sectionVisualization) {
@@ -1597,10 +1593,10 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1597
1593
  return selectedVisualizations;
1598
1594
  }, []);
1599
1595
  const sectionId = visualizations[0].persConfig.sectionId;
1600
- return Promise.resolve(_this17.appManagerInstance.addSection({
1596
+ return Promise.resolve(_this15.appManagerInstance.addSection({
1601
1597
  sectionIndex: 1,
1602
1598
  sectionProperties: {
1603
- title: groupName || _this17._i18nBundle.getText("newGroup"),
1599
+ title: groupName || _this15._i18nBundle.getText("newGroup"),
1604
1600
  visible: true,
1605
1601
  visualizations: visualizations.map(viz => viz.visualization)
1606
1602
  }
@@ -1612,21 +1608,21 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1612
1608
  }
1613
1609
  return visualizationsToBeDeleted;
1614
1610
  }, []);
1615
- return Promise.resolve(_this17.appManagerInstance.removeVisualizations({
1611
+ return Promise.resolve(_this15.appManagerInstance.removeVisualizations({
1616
1612
  sectionId,
1617
1613
  vizIds: visualizationsToBeDeleted
1618
1614
  })).then(function () {
1619
- return Promise.resolve(_this17.appManagerInstance._getSections(true)).then(function (sections) {
1615
+ return Promise.resolve(_this15.appManagerInstance._getSections(true)).then(function (sections) {
1620
1616
  const defaultSection = sections.find(oSection => oSection.default);
1621
1617
  const targetGroupId = sections[defaultSection ? 1 : 0]?.id;
1622
1618
  //update personalization
1623
- return Promise.resolve(_this17._updateAppPersonalization(visualizations.map(oViz => {
1619
+ return Promise.resolve(_this15._updateAppPersonalization(visualizations.map(oViz => {
1624
1620
  return {
1625
1621
  visualization: oViz,
1626
1622
  targetGroupId
1627
1623
  };
1628
1624
  }))).then(function () {
1629
- return Promise.resolve(_this17._updateGroupPersonalization(targetGroupId, groupColor)).then(function () {});
1625
+ return Promise.resolve(_this15._updateGroupPersonalization(targetGroupId, groupColor)).then(function () {});
1630
1626
  });
1631
1627
  });
1632
1628
  });
@@ -1686,44 +1682,44 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1686
1682
  */
1687
1683
  _handleColorSelect: function _handleColorSelect(item, color) {
1688
1684
  try {
1689
- const _this18 = this;
1690
- function _temp20() {
1691
- _this18.oEventBus.publish("appsChannel", "favAppColorChanged", {
1685
+ const _this16 = this;
1686
+ function _temp18() {
1687
+ _this16.oEventBus.publish("appsChannel", "favAppColorChanged", {
1692
1688
  item,
1693
1689
  color
1694
1690
  });
1695
1691
  }
1696
- const selectedColor = _this18._getLegendColor(color).key;
1692
+ const selectedColor = _this16._getLegendColor(color).key;
1697
1693
  item.setProperty("bgColor", selectedColor, true);
1698
- const groupId = item.isA("sap.cux.home.Group") ? item.getGroupId() : null;
1699
- const isGroupedApp = !groupId && item.getParent()?.isA("sap.cux.home.Group");
1694
+ const groupId = item instanceof Group ? item.getGroupId() : null;
1695
+ const isGroupedApp = !groupId && item.getParent() instanceof Group;
1700
1696
 
1701
1697
  //update tile color
1702
1698
  if (isGroupedApp) {
1703
- _this18._refreshGroupDetailDialog(item, false);
1699
+ _this16._refreshGroupDetailDialog(item, false);
1704
1700
  } else {
1705
1701
  //if ungroup app or group
1706
- _this18._applyUngroupedTileColor(item, color);
1707
- _this18.oEventBus.publish("appsChannel", "favAppColorChanged", {
1702
+ _this16._applyUngroupedTileColor(item, color);
1703
+ _this16.oEventBus.publish("appsChannel", "favAppColorChanged", {
1708
1704
  item,
1709
1705
  color
1710
1706
  });
1711
1707
  }
1712
1708
 
1713
1709
  //update personalization
1714
- const _temp19 = function () {
1710
+ const _temp17 = function () {
1715
1711
  if (groupId) {
1716
1712
  //if group
1717
- void _this18._updateGroupPersonalization(groupId, selectedColor);
1718
- const groupIconControl = _this18._controlMap.get(`${_this18.getId()}-detailDialog-toolbar-color`);
1713
+ void _this16._updateGroupPersonalization(groupId, selectedColor);
1714
+ const groupIconControl = _this16._controlMap.get(`${_this16.getId()}-detailDialog-toolbar-color`);
1719
1715
  groupIconControl?.setColor(color);
1720
1716
  } else {
1721
1717
  //if app
1722
1718
  const app = item;
1723
1719
  const groupId = isGroupedApp ? app.getParent().getGroupId() : undefined;
1724
- return Promise.resolve(_this18.appManagerInstance.getVisualization(app.getUrl(), groupId)).then(function (visualization) {
1720
+ return Promise.resolve(_this16.appManagerInstance.getVisualization(app.getUrl(), groupId)).then(function (visualization) {
1725
1721
  if (visualization) {
1726
- void _this18._updateAppPersonalization([{
1722
+ void _this16._updateAppPersonalization([{
1727
1723
  visualization,
1728
1724
  color: selectedColor
1729
1725
  }]);
@@ -1731,7 +1727,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1731
1727
  });
1732
1728
  }
1733
1729
  }();
1734
- return Promise.resolve(_temp19 && _temp19.then ? _temp19.then(_temp20) : _temp20(_temp19));
1730
+ return Promise.resolve(_temp17 && _temp17.then ? _temp17.then(_temp18) : _temp18(_temp17));
1735
1731
  } catch (e) {
1736
1732
  return Promise.reject(e);
1737
1733
  }
@@ -1805,7 +1801,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1805
1801
  * @private
1806
1802
  */
1807
1803
  _handleRemove: function _handleRemove(app, group) {
1808
- const _this19 = this;
1804
+ const _this17 = this;
1809
1805
  const lastAppInGroup = group?.getApps()?.length === 1;
1810
1806
  let message = this._i18nBundle.getText("removeAppMessage", [app.getTitle()]),
1811
1807
  title = this._i18nBundle.getText("remove"),
@@ -1824,34 +1820,34 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1824
1820
  emphasizedAction: actionText,
1825
1821
  onClose: function (action) {
1826
1822
  try {
1827
- const _temp22 = function () {
1823
+ const _temp20 = function () {
1828
1824
  if (action === actionText) {
1829
- _this19._setBusy(true);
1830
- const _temp21 = _finallyRethrows(function () {
1825
+ _this17._setBusy(true);
1826
+ const _temp19 = _finallyRethrows(function () {
1831
1827
  return _catch(function () {
1832
- return Promise.resolve(_this19._removeApp(app, group)).then(function () {
1828
+ return Promise.resolve(_this17._removeApp(app, group)).then(function () {
1833
1829
  if (lastAppInGroup) {
1834
- _this19._closeGroupDetailDialog();
1830
+ _this17._closeGroupDetailDialog();
1835
1831
  } else if (group) {
1836
- _this19._refreshGroupDetailDialog(app);
1832
+ _this17._refreshGroupDetailDialog(app);
1837
1833
  }
1838
- return Promise.resolve(_this19.getParent()._refreshAllPanels()).then(function () {
1839
- MessageToast.show(_this19._i18nBundle.getText("appRemoved"));
1834
+ return Promise.resolve(_this17.getParent()._refreshAllPanels()).then(function () {
1835
+ MessageToast.show(_this17._i18nBundle.getText("appRemoved"));
1840
1836
  });
1841
1837
  });
1842
1838
  }, function (err) {
1843
1839
  Log.error(err);
1844
- MessageToast.show(_this19._i18nBundle.getText("unableToRemoveApp"));
1840
+ MessageToast.show(_this17._i18nBundle.getText("unableToRemoveApp"));
1845
1841
  });
1846
1842
  }, function (_wasThrown2, _result2) {
1847
- _this19._setBusy(false);
1843
+ _this17._setBusy(false);
1848
1844
  if (_wasThrown2) throw _result2;
1849
1845
  return _result2;
1850
1846
  });
1851
- if (_temp21 && _temp21.then) return _temp21.then(function () {});
1847
+ if (_temp19 && _temp19.then) return _temp19.then(function () {});
1852
1848
  }
1853
1849
  }();
1854
- return Promise.resolve(_temp22 && _temp22.then ? _temp22.then(function () {}) : void 0);
1850
+ return Promise.resolve(_temp20 && _temp20.then ? _temp20.then(function () {}) : void 0);
1855
1851
  } catch (e) {
1856
1852
  return Promise.reject(e);
1857
1853
  }
@@ -1869,28 +1865,28 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1869
1865
  */
1870
1866
  _removeApp: function _removeApp(app, group) {
1871
1867
  try {
1872
- const _this20 = this;
1868
+ const _this18 = this;
1873
1869
  const lastAppInGroup = group?.getApps()?.length === 1,
1874
1870
  groupId = group?.getGroupId(),
1875
1871
  appId = app.getUrl();
1876
- return Promise.resolve(_this20.appManagerInstance.getVisualization(appId, groupId)).then(function (viz) {
1877
- const _temp24 = function () {
1872
+ return Promise.resolve(_this18.appManagerInstance.getVisualization(appId, groupId)).then(function (viz) {
1873
+ const _temp22 = function () {
1878
1874
  if (lastAppInGroup) {
1879
1875
  //if last app in group, then delete the group as well
1880
- return Promise.resolve(_this20._deleteGroup(groupId)).then(function () {});
1876
+ return Promise.resolve(_this18._deleteGroup(groupId)).then(function () {});
1881
1877
  } else {
1882
1878
  let visualizationsToBeDeleted = [viz?.visualization?.id];
1883
1879
  if (!groupId) {
1884
1880
  //for apps outside group i.e. for favorite apps delete duplicate apps as well
1885
1881
  visualizationsToBeDeleted = visualizationsToBeDeleted.concat(viz?.persConfig?.duplicateApps?.map(viz => viz.visualization?.id));
1886
1882
  }
1887
- const _temp23 = function () {
1883
+ const _temp21 = function () {
1888
1884
  if (viz?.persConfig?.sectionId && visualizationsToBeDeleted.length > 0) {
1889
- return Promise.resolve(_this20.appManagerInstance.removeVisualizations({
1885
+ return Promise.resolve(_this18.appManagerInstance.removeVisualizations({
1890
1886
  sectionId: viz.persConfig.sectionId,
1891
1887
  vizIds: visualizationsToBeDeleted
1892
1888
  })).then(function () {
1893
- void _this20._deletePersonalization({
1889
+ void _this18._deletePersonalization({
1894
1890
  appId: appId,
1895
1891
  oldAppId: viz?.oldAppId,
1896
1892
  sectionId: viz?.persConfig?.sectionId,
@@ -1899,10 +1895,10 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1899
1895
  });
1900
1896
  }
1901
1897
  }();
1902
- if (_temp23 && _temp23.then) return _temp23.then(function () {});
1898
+ if (_temp21 && _temp21.then) return _temp21.then(function () {});
1903
1899
  }
1904
1900
  }();
1905
- if (_temp24 && _temp24.then) return _temp24.then(function () {});
1901
+ if (_temp22 && _temp22.then) return _temp22.then(function () {});
1906
1902
  });
1907
1903
  } catch (e) {
1908
1904
  return Promise.reject(e);
@@ -1917,13 +1913,13 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1917
1913
  */
1918
1914
  _handleMoveToGroup: function _handleMoveToGroup(app, sourceGroupId, targetGroupId) {
1919
1915
  try {
1920
- const _this21 = this;
1921
- const sourceGroup = sourceGroupId ? _this21._getGroup(sourceGroupId) : undefined,
1916
+ const _this19 = this;
1917
+ const sourceGroup = sourceGroupId ? _this19._getGroup(sourceGroupId) : undefined,
1922
1918
  isLastAppInGroup = sourceGroup?.getApps()?.length === 1;
1923
- const _temp25 = function () {
1919
+ const _temp23 = function () {
1924
1920
  if (isLastAppInGroup) {
1925
- const confirmationMessage = _this21._i18nBundle.getText("moveAppMessage", [app.getTitle()]);
1926
- const confirmationTitle = _this21._i18nBundle.getText("delete");
1921
+ const confirmationMessage = _this19._i18nBundle.getText("moveAppMessage", [app.getTitle()]);
1922
+ const confirmationTitle = _this19._i18nBundle.getText("delete");
1927
1923
  MessageBox.show(confirmationMessage, {
1928
1924
  icon: MessageBox.Icon.WARNING,
1929
1925
  title: confirmationTitle,
@@ -1931,15 +1927,15 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1931
1927
  emphasizedAction: confirmationTitle,
1932
1928
  onClose: action => {
1933
1929
  if (action === confirmationTitle) {
1934
- void _this21._moveAppAndHandleGroupChanges(app, sourceGroupId, targetGroupId);
1930
+ void _this19._moveAppAndHandleGroupChanges(app, sourceGroupId, targetGroupId);
1935
1931
  }
1936
1932
  }
1937
1933
  });
1938
1934
  } else {
1939
- return Promise.resolve(_this21._moveAppAndHandleGroupChanges(app, sourceGroupId, targetGroupId)).then(function () {});
1935
+ return Promise.resolve(_this19._moveAppAndHandleGroupChanges(app, sourceGroupId, targetGroupId)).then(function () {});
1940
1936
  }
1941
1937
  }();
1942
- return Promise.resolve(_temp25 && _temp25.then ? _temp25.then(function () {}) : void 0);
1938
+ return Promise.resolve(_temp23 && _temp23.then ? _temp23.then(function () {}) : void 0);
1943
1939
  } catch (e) {
1944
1940
  return Promise.reject(e);
1945
1941
  }
@@ -1954,41 +1950,41 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1954
1950
  */
1955
1951
  _moveAppAndHandleGroupChanges: function _moveAppAndHandleGroupChanges(app, sourceGroupId, targetGroupId) {
1956
1952
  try {
1957
- const _this22 = this;
1958
- const sourceGroup = sourceGroupId ? _this22._getGroup(sourceGroupId) : null,
1959
- targetGroup = targetGroupId ? _this22._getGroup(targetGroupId) : null,
1953
+ const _this20 = this;
1954
+ const sourceGroup = sourceGroupId ? _this20._getGroup(sourceGroupId) : null,
1955
+ targetGroup = targetGroupId ? _this20._getGroup(targetGroupId) : null,
1960
1956
  sTargetGroupTile = targetGroup?.getTitle(),
1961
1957
  isLastAppInGroup = sourceGroup?.getApps()?.length === 1;
1962
- const _temp28 = _finallyRethrows(function () {
1958
+ const _temp26 = _finallyRethrows(function () {
1963
1959
  return _catch(function () {
1964
- _this22._setBusy(true);
1965
- return Promise.resolve(_this22._moveAppToGroup(app, sourceGroupId, targetGroupId)).then(function () {
1966
- function _temp27() {
1967
- const sMsg = sTargetGroupTile ? _this22._i18nBundle.getText("appMoved", [sTargetGroupTile]) : _this22._i18nBundle.getText("appUngrouped");
1960
+ _this20._setBusy(true);
1961
+ return Promise.resolve(_this20._moveAppToGroup(app, sourceGroupId, targetGroupId)).then(function () {
1962
+ function _temp25() {
1963
+ const sMsg = sTargetGroupTile ? _this20._i18nBundle.getText("appMoved", [sTargetGroupTile]) : _this20._i18nBundle.getText("appUngrouped");
1968
1964
  MessageToast.show(sMsg);
1969
- return Promise.resolve(_this22.refresh()).then(function () {});
1965
+ return Promise.resolve(_this20.refresh()).then(function () {});
1970
1966
  }
1971
- const _temp26 = function () {
1967
+ const _temp24 = function () {
1972
1968
  if (isLastAppInGroup) {
1973
- return Promise.resolve(_this22._deleteGroup(sourceGroupId)).then(function () {
1974
- _this22._closeGroupDetailDialog();
1969
+ return Promise.resolve(_this20._deleteGroup(sourceGroupId)).then(function () {
1970
+ _this20._closeGroupDetailDialog();
1975
1971
  });
1976
1972
  } else if (sourceGroupId) {
1977
- _this22._refreshGroupDetailDialog(app);
1973
+ _this20._refreshGroupDetailDialog(app);
1978
1974
  }
1979
1975
  }();
1980
1976
  //delete group, if it is the last app in the group
1981
- return _temp26 && _temp26.then ? _temp26.then(_temp27) : _temp27(_temp26);
1977
+ return _temp24 && _temp24.then ? _temp24.then(_temp25) : _temp25(_temp24);
1982
1978
  });
1983
1979
  }, function (error) {
1984
1980
  Log.error(error);
1985
1981
  });
1986
1982
  }, function (_wasThrown3, _result3) {
1987
- _this22._setBusy(false);
1983
+ _this20._setBusy(false);
1988
1984
  if (_wasThrown3) throw _result3;
1989
1985
  return _result3;
1990
1986
  });
1991
- return Promise.resolve(_temp28 && _temp28.then ? _temp28.then(function () {}) : void 0);
1987
+ return Promise.resolve(_temp26 && _temp26.then ? _temp26.then(function () {}) : void 0);
1992
1988
  } catch (e) {
1993
1989
  return Promise.reject(e);
1994
1990
  }
@@ -1999,8 +1995,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1999
1995
  * @param {boolean} [isRemove=true] - A flag indicating whether to remove the app. Defaults to true.
2000
1996
  * @private
2001
1997
  */
2002
- _refreshGroupDetailDialog: function _refreshGroupDetailDialog(updatedApp) {
2003
- let isRemove = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
1998
+ _refreshGroupDetailDialog: function _refreshGroupDetailDialog(updatedApp, isRemove = true) {
2004
1999
  const appsWrapper = this._controlMap.get(`${this.getId()}-detailDialog-apps`);
2005
2000
  const tiles = appsWrapper.getItems();
2006
2001
  const group = updatedApp.getParent();
@@ -2033,53 +2028,52 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2033
2028
  */
2034
2029
  _moveAppToGroup: function _moveAppToGroup(app, sourceGroupId, targetGroupId) {
2035
2030
  try {
2036
- const _this23 = this;
2031
+ const _this21 = this;
2037
2032
  const appId = app.getUrl();
2038
- return Promise.resolve(Promise.all([_this23.appManagerInstance.getSectionVisualizations(sourceGroupId), _this23.appManagerInstance._getSections()])).then(function (_ref3) {
2039
- let [visualizations, sections] = _ref3;
2033
+ return Promise.resolve(Promise.all([_this21.appManagerInstance.getSectionVisualizations(sourceGroupId), _this21.appManagerInstance._getSections()])).then(function ([visualizations, sections]) {
2040
2034
  const sourceVisualization = visualizations.find(oViz => oViz.url === appId),
2041
2035
  sourceVisualizationIndex = sourceVisualization?.persConfig?.visualizationIndex ?? -1,
2042
2036
  sourceSectionIndex = sourceVisualization?.persConfig?.sectionIndex;
2043
2037
  const isTargetGroupDefault = !targetGroupId; //if group id is not passed, then we consider it as default section
2044
2038
  const isSourceGroupDefault = !sourceGroupId;
2045
2039
  const targetSectionIndex = sections.findIndex(section => !targetGroupId ? section.default : section.id === targetGroupId);
2046
- const _temp33 = function () {
2040
+ const _temp31 = function () {
2047
2041
  if (sourceVisualization) {
2048
- function _temp32() {
2049
- return Promise.resolve(_this23.appManagerInstance._getSections(true)).then(function (sections) {
2042
+ function _temp30() {
2043
+ return Promise.resolve(_this21.appManagerInstance._getSections(true)).then(function (sections) {
2050
2044
  const defaultSection = sections.find(oSection => oSection.default);
2051
- return Promise.resolve(_this23._updateAppPersonalization([{
2045
+ return Promise.resolve(_this21._updateAppPersonalization([{
2052
2046
  visualization: sourceVisualization,
2053
2047
  targetGroupId: targetGroupId ?? defaultSection?.id,
2054
2048
  isTargetGroupDefault
2055
2049
  }])).then(function () {});
2056
2050
  });
2057
2051
  }
2058
- const _temp31 = function () {
2052
+ const _temp29 = function () {
2059
2053
  if (isTargetGroupDefault) {
2060
- return Promise.resolve(_this23._moveAppToDefaultGroup(sourceVisualization)).then(function () {});
2054
+ return Promise.resolve(_this21._moveAppToDefaultGroup(sourceVisualization)).then(function () {});
2061
2055
  } else {
2062
- function _temp30() {
2063
- return Promise.resolve(_this23.appManagerInstance.moveVisualization({
2056
+ function _temp28() {
2057
+ return Promise.resolve(_this21.appManagerInstance.moveVisualization({
2064
2058
  sourceSectionIndex: sourceSectionIndex,
2065
2059
  sourceVisualizationIndex: sourceVisualizationIndex,
2066
2060
  targetSectionIndex: targetSectionIndex,
2067
2061
  targetVisualizationIndex: -1
2068
2062
  })).then(function () {});
2069
2063
  }
2070
- const _temp29 = function () {
2064
+ const _temp27 = function () {
2071
2065
  if (isSourceGroupDefault) {
2072
2066
  //remove duplicate apps
2073
- return Promise.resolve(_this23._removeDuplicateVisualizations(sourceVisualization)).then(function () {});
2067
+ return Promise.resolve(_this21._removeDuplicateVisualizations(sourceVisualization)).then(function () {});
2074
2068
  }
2075
2069
  }();
2076
- return _temp29 && _temp29.then ? _temp29.then(_temp30) : _temp30(_temp29);
2070
+ return _temp27 && _temp27.then ? _temp27.then(_temp28) : _temp28(_temp27);
2077
2071
  }
2078
2072
  }();
2079
- return _temp31 && _temp31.then ? _temp31.then(_temp32) : _temp32(_temp31);
2073
+ return _temp29 && _temp29.then ? _temp29.then(_temp30) : _temp30(_temp29);
2080
2074
  }
2081
2075
  }();
2082
- if (_temp33 && _temp33.then) return _temp33.then(function () {});
2076
+ if (_temp31 && _temp31.then) return _temp31.then(function () {});
2083
2077
  });
2084
2078
  } catch (e) {
2085
2079
  return Promise.reject(e);
@@ -2093,17 +2087,17 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2093
2087
  */
2094
2088
  _moveAppToDefaultGroup: function _moveAppToDefaultGroup(visualization) {
2095
2089
  try {
2096
- const _this24 = this;
2097
- return Promise.resolve(_this24._addVisualization(visualization)).then(function () {
2098
- const _temp34 = function () {
2090
+ const _this22 = this;
2091
+ return Promise.resolve(_this22._addVisualization(visualization)).then(function () {
2092
+ const _temp32 = function () {
2099
2093
  if (visualization.persConfig?.sectionId && visualization.visualization?.id) {
2100
- return Promise.resolve(_this24.appManagerInstance.removeVisualizations({
2094
+ return Promise.resolve(_this22.appManagerInstance.removeVisualizations({
2101
2095
  sectionId: visualization.persConfig?.sectionId,
2102
2096
  vizIds: [visualization.visualization?.id]
2103
2097
  })).then(function () {});
2104
2098
  }
2105
2099
  }();
2106
- if (_temp34 && _temp34.then) return _temp34.then(function () {});
2100
+ if (_temp32 && _temp32.then) return _temp32.then(function () {});
2107
2101
  });
2108
2102
  } catch (e) {
2109
2103
  return Promise.reject(e);
@@ -2117,17 +2111,17 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2117
2111
  */
2118
2112
  _removeDuplicateVisualizations: function _removeDuplicateVisualizations(visualization) {
2119
2113
  try {
2120
- const _this25 = this;
2114
+ const _this23 = this;
2121
2115
  const vizIdsToBeDeleted = visualization?.persConfig?.duplicateApps?.map(oViz => oViz.visualization?.id) || [];
2122
- const _temp35 = function () {
2116
+ const _temp33 = function () {
2123
2117
  if (visualization.persConfig?.sectionId && vizIdsToBeDeleted.length > 0) {
2124
- return Promise.resolve(_this25.appManagerInstance.removeVisualizations({
2118
+ return Promise.resolve(_this23.appManagerInstance.removeVisualizations({
2125
2119
  sectionId: visualization.persConfig?.sectionId,
2126
2120
  vizIds: vizIdsToBeDeleted
2127
2121
  })).then(function () {});
2128
2122
  }
2129
2123
  }();
2130
- return Promise.resolve(_temp35 && _temp35.then ? _temp35.then(function () {}) : void 0);
2124
+ return Promise.resolve(_temp33 && _temp33.then ? _temp33.then(function () {}) : void 0);
2131
2125
  } catch (e) {
2132
2126
  return Promise.reject(e);
2133
2127
  }
@@ -2170,7 +2164,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2170
2164
  * @param {sap.ui.base.Event} event - The event object.
2171
2165
  */
2172
2166
  _onDeleteGroup: function _onDeleteGroup(event) {
2173
- const _this26 = this;
2167
+ const _this24 = this;
2174
2168
  const group = event.getSource()?.getParent(),
2175
2169
  message = this._i18nBundle.getText("deleteGroupMessage", [group.getTitle()]),
2176
2170
  title = this._i18nBundle.getText("delete"),
@@ -2183,20 +2177,20 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2183
2177
  emphasizedAction: deleteAction,
2184
2178
  onClose: function (action) {
2185
2179
  try {
2186
- const _temp36 = function () {
2180
+ const _temp34 = function () {
2187
2181
  if (action === deleteAction) {
2188
- _this26._setBusy(true);
2189
- return Promise.resolve(_this26._deleteGroup(group.getGroupId())).then(function () {
2190
- MessageToast.show(_this26._i18nBundle.getText("groupDeleted"));
2191
- void _this26.refresh();
2192
- _this26._closeGroupDetailDialog();
2193
- _this26._setBusy(false);
2182
+ _this24._setBusy(true);
2183
+ return Promise.resolve(_this24._deleteGroup(group.getGroupId())).then(function () {
2184
+ MessageToast.show(_this24._i18nBundle.getText("groupDeleted"));
2185
+ void _this24.refresh();
2186
+ _this24._closeGroupDetailDialog();
2187
+ _this24._setBusy(false);
2194
2188
  });
2195
2189
  } else if (action === moveAppAction) {
2196
- void _this26._ungroupApps(group.getGroupId());
2190
+ void _this24._ungroupApps(group.getGroupId());
2197
2191
  }
2198
2192
  }();
2199
- return Promise.resolve(_temp36 && _temp36.then ? _temp36.then(function () {}) : void 0);
2193
+ return Promise.resolve(_temp34 && _temp34.then ? _temp34.then(function () {}) : void 0);
2200
2194
  } catch (e) {
2201
2195
  return Promise.reject(e);
2202
2196
  }
@@ -2212,40 +2206,40 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2212
2206
  */
2213
2207
  _ungroupApps: function _ungroupApps(groupId) {
2214
2208
  try {
2215
- const _this27 = this;
2216
- _this27._setBusy(true);
2217
- const _temp39 = _finallyRethrows(function () {
2209
+ const _this25 = this;
2210
+ _this25._setBusy(true);
2211
+ const _temp37 = _finallyRethrows(function () {
2218
2212
  return _catch(function () {
2219
- return Promise.resolve(_this27.appManagerInstance.getSectionVisualizations(groupId)).then(function (visualizations) {
2220
- return Promise.resolve(_this27.appManagerInstance._getSections()).then(function (sections) {
2213
+ return Promise.resolve(_this25.appManagerInstance.getSectionVisualizations(groupId)).then(function (visualizations) {
2214
+ return Promise.resolve(_this25.appManagerInstance._getSections()).then(function (sections) {
2221
2215
  const section = sections.find(oSection => oSection.id === groupId);
2222
- return Promise.resolve(Promise.all(visualizations.map(oViz => _this27._addVisualization(oViz)))).then(function () {
2223
- return Promise.resolve(_this27.appManagerInstance._getSections(true)).then(function (updatedSections) {
2216
+ return Promise.resolve(Promise.all(visualizations.map(oViz => _this25._addVisualization(oViz)))).then(function () {
2217
+ return Promise.resolve(_this25.appManagerInstance._getSections(true)).then(function (updatedSections) {
2224
2218
  const defaultSection = updatedSections.find(oSection => oSection.default);
2225
2219
  //update personalization
2226
2220
  //if preset section, then section shouldn't be deleted, instead remove visualizations inside section
2227
- return Promise.resolve(_this27._updateAppPersonalization(visualizations.map(oViz => {
2221
+ return Promise.resolve(_this25._updateAppPersonalization(visualizations.map(oViz => {
2228
2222
  return {
2229
2223
  visualization: oViz,
2230
2224
  targetGroupId: defaultSection?.id,
2231
2225
  isTargetGroupDefault: true
2232
2226
  };
2233
2227
  }))).then(function () {
2234
- function _temp38() {
2235
- MessageToast.show(_this27._i18nBundle.getText("appsUngrouped") ?? "");
2236
- return Promise.resolve(_this27.refresh()).then(function () {});
2228
+ function _temp36() {
2229
+ MessageToast.show(_this25._i18nBundle.getText("appsUngrouped") ?? "");
2230
+ return Promise.resolve(_this25.refresh()).then(function () {});
2237
2231
  }
2238
- const _temp37 = function () {
2232
+ const _temp35 = function () {
2239
2233
  if (section?.preset) {
2240
- return Promise.resolve(_this27.appManagerInstance.removeVisualizations({
2234
+ return Promise.resolve(_this25.appManagerInstance.removeVisualizations({
2241
2235
  sectionId: groupId,
2242
2236
  vizIds: visualizations.map(oViz => oViz.visualization?.id)
2243
2237
  })).then(function () {});
2244
2238
  } else {
2245
- return Promise.resolve(_this27._deleteGroup(groupId)).then(function () {});
2239
+ return Promise.resolve(_this25._deleteGroup(groupId)).then(function () {});
2246
2240
  }
2247
2241
  }();
2248
- return _temp37 && _temp37.then ? _temp37.then(_temp38) : _temp38(_temp37);
2242
+ return _temp35 && _temp35.then ? _temp35.then(_temp36) : _temp36(_temp35);
2249
2243
  });
2250
2244
  });
2251
2245
  });
@@ -2253,15 +2247,15 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2253
2247
  });
2254
2248
  }, function (error) {
2255
2249
  Log.error(error);
2256
- MessageToast.show(_this27._i18nBundle.getText("unableToUngroupApps") ?? "");
2250
+ MessageToast.show(_this25._i18nBundle.getText("unableToUngroupApps") ?? "");
2257
2251
  });
2258
2252
  }, function (_wasThrown4, _result4) {
2259
- _this27._setBusy(false);
2260
- _this27._closeGroupDetailDialog();
2253
+ _this25._setBusy(false);
2254
+ _this25._closeGroupDetailDialog();
2261
2255
  if (_wasThrown4) throw _result4;
2262
2256
  return _result4;
2263
2257
  });
2264
- return Promise.resolve(_temp39 && _temp39.then ? _temp39.then(function () {}) : void 0);
2258
+ return Promise.resolve(_temp37 && _temp37.then ? _temp37.then(function () {}) : void 0);
2265
2259
  } catch (e) {
2266
2260
  return Promise.reject(e);
2267
2261
  }
@@ -2273,26 +2267,25 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2273
2267
  * @param {boolean} [editMode=false] - Whether to open the dialog in edit mode.
2274
2268
  * @private
2275
2269
  */
2276
- _showGroupDetailDialog: function _showGroupDetailDialog(groupId) {
2277
- let editMode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
2270
+ _showGroupDetailDialog: function _showGroupDetailDialog(groupId, editMode = false) {
2278
2271
  try {
2279
- const _this28 = this;
2280
- const group = _this28._getGroup(groupId);
2272
+ const _this26 = this;
2273
+ const group = _this26._getGroup(groupId);
2281
2274
  if (!group) {
2282
2275
  return Promise.resolve();
2283
2276
  }
2284
- _this28._selectedGroupId = groupId;
2285
- const dialog = _this28._generateGroupDetailDialog();
2277
+ _this26._selectedGroupId = groupId;
2278
+ const dialog = _this26._generateGroupDetailDialog();
2286
2279
  //set group icon
2287
- const groupIconControl = _this28._controlMap.get(`${_this28.getId()}-detailDialog-toolbar-color`);
2280
+ const groupIconControl = _this26._controlMap.get(`${_this26.getId()}-detailDialog-toolbar-color`);
2288
2281
  groupIconControl.setColor(Parameters.get({
2289
2282
  name: group.getBgColor()
2290
2283
  }));
2291
2284
  //set group apps
2292
- return Promise.resolve(_this28._setGroupDetailDialogApps(groupId)).then(function () {
2285
+ return Promise.resolve(_this26._setGroupDetailDialogApps(groupId)).then(function () {
2293
2286
  dialog.open();
2294
2287
  //set group title
2295
- _this28._setGroupNameControl(group.getTitle(), editMode);
2288
+ _this26._setGroupNameControl(group.getTitle(), editMode);
2296
2289
  });
2297
2290
  } catch (e) {
2298
2291
  return Promise.reject(e);
@@ -2307,29 +2300,29 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2307
2300
  */
2308
2301
  _setGroupDetailDialogApps: function _setGroupDetailDialogApps(groupId) {
2309
2302
  try {
2310
- const _this29 = this;
2311
- const group = _this29._getGroup(groupId);
2312
- const _temp40 = function () {
2303
+ const _this27 = this;
2304
+ const group = _this27._getGroup(groupId);
2305
+ const _temp38 = function () {
2313
2306
  if (group) {
2314
- return Promise.resolve(_this29.appManagerInstance.getSectionVisualizations(groupId, false)).then(function (appVisualizations) {
2307
+ return Promise.resolve(_this27.appManagerInstance.getSectionVisualizations(groupId, false)).then(function (appVisualizations) {
2315
2308
  group.destroyAggregation("apps", true);
2316
2309
  appVisualizations = appVisualizations.map((appVisualization, index) => {
2317
2310
  return {
2318
2311
  ...appVisualization,
2319
- menuItems: _this29._getAppActions(group, index, appVisualization) //add actions to show in group
2312
+ menuItems: _this27._getAppActions(group, index, appVisualization) //add actions to show in group
2320
2313
  };
2321
2314
  });
2322
- const apps = _this29.generateApps(appVisualizations);
2323
- const appsWrapper = _this29._controlMap.get(`${_this29.getId()}-detailDialog-apps`);
2324
- _this29._setAggregation(group, apps, "apps");
2315
+ const apps = _this27.generateApps(appVisualizations);
2316
+ const appsWrapper = _this27._controlMap.get(`${_this27.getId()}-detailDialog-apps`);
2317
+ _this27._setAggregation(group, apps, "apps");
2325
2318
  appsWrapper.destroyItems();
2326
- _this29._setAggregation(appsWrapper, group.getApps().map(app => _this29.getParent()._getAppTile(app)));
2327
- _this29._applyGroupedAppsPersonalization(groupId);
2328
- _this29._dispatchAppsLoadedEvent(apps);
2319
+ _this27._setAggregation(appsWrapper, group.getApps().map(app => _this27.getParent()._getAppTile(app)));
2320
+ _this27._applyGroupedAppsPersonalization(groupId);
2321
+ _this27._dispatchAppsLoadedEvent(apps);
2329
2322
  });
2330
2323
  }
2331
2324
  }();
2332
- return Promise.resolve(_temp40 && _temp40.then ? _temp40.then(function () {}) : void 0);
2325
+ return Promise.resolve(_temp38 && _temp38.then ? _temp38.then(function () {}) : void 0);
2333
2326
  } catch (e) {
2334
2327
  return Promise.reject(e);
2335
2328
  }
@@ -2375,10 +2368,13 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2375
2368
  id: `${id}-toolbar-title`,
2376
2369
  visible: true
2377
2370
  }));
2371
+ const oInvisibleText = getInvisibleText(`${id}-toolbar-renameTitle`, this._i18nBundle.getText("renameGroup"));
2372
+ this._controlMap.set(`${id}-toolbar-renameTitle`, oInvisibleText);
2378
2373
  const oGroupNameInput = new Input({
2379
2374
  id: `${id}-toolbar-title-edit`,
2380
2375
  width: "13.75rem",
2381
- visible: false
2376
+ visible: false,
2377
+ ariaLabelledBy: [`${id}-toolbar-renameTitle`]
2382
2378
  });
2383
2379
  this._controlMap.set(`${id}-toolbar-title-edit`, oGroupNameInput);
2384
2380
  oGroupNameInput.onsapfocusleave = () => {
@@ -2418,7 +2414,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2418
2414
  }),
2419
2415
  escapeHandler: this._closeGroupDetailDialog.bind(this),
2420
2416
  customHeader: new Toolbar(`${this.getId()}-toolbar`, {
2421
- content: [this._controlMap.get(`${id}-toolbar-color`), this._controlMap.get(`${id}-toolbar-title`), this._controlMap.get(`${id}-toolbar-title-edit`), new ToolbarSpacer({
2417
+ content: [this._controlMap.get(`${id}-toolbar-color`), this._controlMap.get(`${id}-toolbar-title`), this._controlMap.get(`${id}-toolbar-title-edit`), this._controlMap.get(`${id}-toolbar-renameTitle`), new ToolbarSpacer({
2422
2418
  id: `${this.getId()}-toolbarSpacer`
2423
2419
  }), this._controlMap.get(`${id}-addAppsBtn`), new Button({
2424
2420
  id: "overflowBtn",
@@ -2457,25 +2453,25 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2457
2453
  */
2458
2454
  _onGroupEditName: function _onGroupEditName(updatedTitle) {
2459
2455
  try {
2460
- const _this30 = this;
2461
- function _temp42() {
2462
- _this30._setGroupNameControl(updatedTitle, false);
2463
- _this30._setBusy(false);
2456
+ const _this28 = this;
2457
+ function _temp40() {
2458
+ _this28._setGroupNameControl(updatedTitle, false);
2459
+ _this28._setBusy(false);
2464
2460
  }
2465
- _this30._setBusy(true);
2466
- const groupId = _this30._selectedGroupId,
2467
- group = _this30._getGroup(groupId),
2461
+ _this28._setBusy(true);
2462
+ const groupId = _this28._selectedGroupId,
2463
+ group = _this28._getGroup(groupId),
2468
2464
  oldTitle = group?.getTitle();
2469
- const _temp41 = function () {
2465
+ const _temp39 = function () {
2470
2466
  if (updatedTitle && updatedTitle !== oldTitle) {
2471
- return Promise.resolve(_this30._renameGroup(groupId, updatedTitle)).then(function () {
2467
+ return Promise.resolve(_this28._renameGroup(groupId, updatedTitle)).then(function () {
2472
2468
  group?.setProperty("title", updatedTitle, true);
2473
- void _this30.refresh();
2474
- MessageToast.show(_this30._i18nBundle.getText("groupNameChanged") || "");
2469
+ void _this28.refresh();
2470
+ MessageToast.show(_this28._i18nBundle.getText("groupNameChanged") || "");
2475
2471
  });
2476
2472
  }
2477
2473
  }();
2478
- return Promise.resolve(_temp41 && _temp41.then ? _temp41.then(_temp42) : _temp42(_temp41));
2474
+ return Promise.resolve(_temp39 && _temp39.then ? _temp39.then(_temp40) : _temp40(_temp39));
2479
2475
  } catch (e) {
2480
2476
  return Promise.reject(e);
2481
2477
  }
@@ -2493,12 +2489,12 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2493
2489
  const pageIndex = pagesService.getPageIndex(MYHOME_PAGE_ID),
2494
2490
  groups = pagesService.getModel().getProperty(`/pages/${pageIndex}/sections/`),
2495
2491
  groupIndex = groups.findIndex(group => group.id === groupId);
2496
- const _temp43 = function () {
2492
+ const _temp41 = function () {
2497
2493
  if (groupIndex > -1) {
2498
2494
  return Promise.resolve(pagesService.renameSection(pageIndex, groupIndex, updatedTitle)).then(function () {});
2499
2495
  }
2500
2496
  }();
2501
- if (_temp43 && _temp43.then) return _temp43.then(function () {});
2497
+ if (_temp41 && _temp41.then) return _temp41.then(function () {});
2502
2498
  });
2503
2499
  } catch (e) {
2504
2500
  return Promise.reject(e);
@@ -2613,11 +2609,11 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2613
2609
  */
2614
2610
  _handleAddFromInsights: function _handleAddFromInsights() {
2615
2611
  try {
2616
- const _this31 = this;
2617
- return Promise.resolve(_this31._getInsightTilesToAdd()).then(function (appsToAdd) {
2618
- const dialog = _this31._generateAddFromInsightsDialog();
2619
- _this31._controlMap.get(`${_this31.getId()}-addFromInsightsDialog-errorMessage`)?.setVisible(appsToAdd.length === 0);
2620
- _this31._generateInsightListItems(appsToAdd);
2612
+ const _this29 = this;
2613
+ return Promise.resolve(_this29._getInsightTilesToAdd()).then(function (appsToAdd) {
2614
+ const dialog = _this29._generateAddFromInsightsDialog();
2615
+ _this29._controlMap.get(`${_this29.getId()}-addFromInsightsDialog-errorMessage`)?.setVisible(appsToAdd.length === 0);
2616
+ _this29._generateInsightListItems(appsToAdd);
2621
2617
  dialog.open();
2622
2618
  });
2623
2619
  } catch (e) {
@@ -2668,9 +2664,8 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2668
2664
  */
2669
2665
  _getInsightTilesToAdd: function _getInsightTilesToAdd() {
2670
2666
  try {
2671
- const _this32 = this;
2672
- return Promise.resolve(Promise.all([_this32.appManagerInstance.fetchInsightApps(true, _this32._i18nBundle.getText("insights")), _this32.appManagerInstance.fetchFavVizs(false, true)])).then(function (_ref4) {
2673
- let [insightsApps, favoriteApps] = _ref4;
2667
+ const _this30 = this;
2668
+ return Promise.resolve(Promise.all([_this30.appManagerInstance.fetchInsightApps(true, _this30._i18nBundle.getText("insights")), _this30.appManagerInstance.fetchFavVizs(false, true)])).then(function ([insightsApps, favoriteApps]) {
2674
2669
  //check force refresh true?
2675
2670
  //find the visualizations that are present in insight tile but not in favorite apps
2676
2671
  const appsToAdd = insightsApps.reduce((appsToAdd, insightsApp) => {
@@ -2683,7 +2678,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2683
2678
  }
2684
2679
  return appsToAdd;
2685
2680
  }, []);
2686
- return _this32.appManagerInstance._filterDuplicateVizs(appsToAdd, false);
2681
+ return _this30.appManagerInstance._filterDuplicateVizs(appsToAdd, false);
2687
2682
  });
2688
2683
  } catch (e) {
2689
2684
  return Promise.reject(e);
@@ -2715,20 +2710,20 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2715
2710
  */
2716
2711
  _addFromInsights: function _addFromInsights() {
2717
2712
  try {
2718
- const _this33 = this;
2719
- function _temp45() {
2720
- _this33._closeAddFromInsightsDialog();
2721
- MessageToast.show(_this33._i18nBundle.getText(selectedItems.length === 1 ? "addFromInsightTileSuccess" : "addFromInsightTilesSuccess", [selectedItems.length]));
2722
- return Promise.resolve(_this33.getParent()._refreshAllPanels()).then(function () {
2723
- _this33._setBusy(false);
2713
+ const _this31 = this;
2714
+ function _temp43() {
2715
+ _this31._closeAddFromInsightsDialog();
2716
+ MessageToast.show(_this31._i18nBundle.getText(selectedItems.length === 1 ? "addFromInsightTileSuccess" : "addFromInsightTilesSuccess", [selectedItems.length]));
2717
+ return Promise.resolve(_this31.getParent()._refreshAllPanels()).then(function () {
2718
+ _this31._setBusy(false);
2724
2719
  });
2725
2720
  }
2726
- _this33._setBusy(true);
2727
- const selectedItems = _this33._getSelectedInsights();
2728
- const _temp44 = _forOf(selectedItems, function (selectedItem) {
2729
- return Promise.resolve(_this33.appManagerInstance.addVisualization(selectedItem.data("vizId"))).then(function () {});
2721
+ _this31._setBusy(true);
2722
+ const selectedItems = _this31._getSelectedInsights();
2723
+ const _temp42 = _forOf(selectedItems, function (selectedItem) {
2724
+ return Promise.resolve(_this31.appManagerInstance.addVisualization(selectedItem.data("vizId"))).then(function () {});
2730
2725
  });
2731
- return Promise.resolve(_temp44 && _temp44.then ? _temp44.then(_temp45) : _temp45(_temp44));
2726
+ return Promise.resolve(_temp42 && _temp42.then ? _temp42.then(_temp43) : _temp43(_temp42));
2732
2727
  } catch (e) {
2733
2728
  return Promise.reject(e);
2734
2729
  }
@@ -2746,8 +2741,8 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2746
2741
  */
2747
2742
  _updateAppPersonalization: function _updateAppPersonalization(updateConfigs) {
2748
2743
  try {
2749
- const _this34 = this;
2750
- return Promise.resolve(_this34._getAppPersonalization()).then(function (personalizations) {
2744
+ const _this32 = this;
2745
+ return Promise.resolve(_this32._getAppPersonalization()).then(function (personalizations) {
2751
2746
  for (const updateConfig of updateConfigs) {
2752
2747
  const {
2753
2748
  visualization
@@ -2759,13 +2754,13 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2759
2754
  const targetGroupId = updateConfig.targetGroupId ?? sourceGroupId;
2760
2755
  if (sourceGroupId !== targetGroupId) {
2761
2756
  //move app scenario
2762
- _this34._updateMoveAppPersonalization(personalizations, updateConfig);
2757
+ _this32._updateMoveAppPersonalization(personalizations, updateConfig);
2763
2758
  } else {
2764
2759
  //only color is updated
2765
- _this34._updateAppColorPersonalization(personalizations, updateConfig);
2760
+ _this32._updateAppColorPersonalization(personalizations, updateConfig);
2766
2761
  }
2767
2762
  }
2768
- return Promise.resolve(_this34.setFavAppsPersonalization(personalizations)).then(function () {});
2763
+ return Promise.resolve(_this32.setFavAppsPersonalization(personalizations)).then(function () {});
2769
2764
  });
2770
2765
  } catch (e) {
2771
2766
  return Promise.reject(e);
@@ -2834,9 +2829,9 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2834
2829
  */
2835
2830
  _updateGroupPersonalization: function _updateGroupPersonalization(groupId, selectedColor) {
2836
2831
  try {
2837
- const _this35 = this;
2838
- return Promise.resolve(_this35._getAppPersonalization()).then(function (personalizations) {
2839
- const personalizationIndex = _this35._getPersonalizationIndex(personalizations, {
2832
+ const _this33 = this;
2833
+ return Promise.resolve(_this33._getAppPersonalization()).then(function (personalizations) {
2834
+ const personalizationIndex = _this33._getPersonalizationIndex(personalizations, {
2840
2835
  isSection: true,
2841
2836
  sectionId: groupId
2842
2837
  });
@@ -2852,7 +2847,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2852
2847
  } else {
2853
2848
  personalizations.push(updatedPersonalization);
2854
2849
  }
2855
- return Promise.resolve(_this35.setFavAppsPersonalization(personalizations)).then(function () {});
2850
+ return Promise.resolve(_this33.setFavAppsPersonalization(personalizations)).then(function () {});
2856
2851
  });
2857
2852
  } catch (e) {
2858
2853
  return Promise.reject(e);
@@ -2909,22 +2904,22 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2909
2904
  */
2910
2905
  _deleteGroup: function _deleteGroup(groupId) {
2911
2906
  try {
2912
- const _this36 = this;
2907
+ const _this34 = this;
2913
2908
  return Promise.resolve(Container.getServiceAsync("Pages")).then(function (pagesService) {
2914
2909
  const pageIndex = pagesService.getPageIndex(MYHOME_PAGE_ID),
2915
2910
  groups = pagesService.getModel().getProperty(`/pages/${pageIndex}/sections/`),
2916
2911
  groupIndex = groups.findIndex(group => group.id === groupId);
2917
- const _temp46 = function () {
2912
+ const _temp44 = function () {
2918
2913
  if (groupIndex > -1) {
2919
2914
  return Promise.resolve(pagesService.deleteSection(pageIndex, groupIndex)).then(function () {
2920
- void _this36._deletePersonalization({
2915
+ void _this34._deletePersonalization({
2921
2916
  sectionId: groupId,
2922
2917
  isSection: true
2923
2918
  });
2924
2919
  });
2925
2920
  }
2926
2921
  }();
2927
- if (_temp46 && _temp46.then) return _temp46.then(function () {});
2922
+ if (_temp44 && _temp44.then) return _temp44.then(function () {});
2928
2923
  });
2929
2924
  } catch (e) {
2930
2925
  return Promise.reject(e);
@@ -2943,14 +2938,14 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2943
2938
  */
2944
2939
  _deletePersonalization: function _deletePersonalization(personalizationConfig) {
2945
2940
  try {
2946
- const _this37 = this;
2941
+ const _this35 = this;
2947
2942
  const {
2948
2943
  isSection,
2949
2944
  sectionId
2950
2945
  } = personalizationConfig;
2951
- return Promise.resolve(_this37._getAppPersonalization()).then(function (personalizations) {
2946
+ return Promise.resolve(_this35._getAppPersonalization()).then(function (personalizations) {
2952
2947
  if (!isSection) {
2953
- const personalizationIndex = _this37._getPersonalizationIndex(personalizations, personalizationConfig);
2948
+ const personalizationIndex = _this35._getPersonalizationIndex(personalizations, personalizationConfig);
2954
2949
  if (personalizationIndex > -1) {
2955
2950
  personalizations.splice(personalizationIndex, 1);
2956
2951
  }
@@ -2958,7 +2953,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2958
2953
  // Delete personalizations for all associated apps if a group is deleted
2959
2954
  personalizations = personalizations.filter(personalization => personalization.sectionId !== sectionId);
2960
2955
  }
2961
- void _this37.setFavAppsPersonalization(personalizations);
2956
+ void _this35.setFavAppsPersonalization(personalizations);
2962
2957
  });
2963
2958
  } catch (e) {
2964
2959
  return Promise.reject(e);
@@ -2988,33 +2983,33 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
2988
2983
  */
2989
2984
  _handleKeyboardMoveApp: function _handleKeyboardMoveApp(event, appGroupId) {
2990
2985
  try {
2991
- const _this38 = this;
2986
+ const _this36 = this;
2992
2987
  const currentItem = Element.closestTo(event.target.firstElementChild);
2993
2988
  const container = currentItem.getParent();
2994
- const _temp48 = function () {
2989
+ const _temp46 = function () {
2995
2990
  if (event.metaKey || event.ctrlKey) {
2996
2991
  // ctrl(windows)/cmd (mac) + x, sets app to be moved to a group, or to create a group
2997
- if (event.key === "x" && !currentItem.data("groupId") && !_this38._cutApp && !appGroupId) {
2992
+ if (event.key === "x" && !currentItem.data("groupId") && !_this36._cutApp && !appGroupId) {
2998
2993
  currentItem.$().css("opacity", 0.6);
2999
2994
  currentItem._oMoreIcon.setEnabled(false);
3000
- _this38._cutApp = currentItem;
2995
+ _this36._cutApp = currentItem;
3001
2996
  }
3002
- const _temp47 = function () {
3003
- if (event.key === "v" && _this38._cutApp && !appGroupId) {
2997
+ const _temp45 = function () {
2998
+ if (event.key === "v" && _this36._cutApp && !appGroupId) {
3004
2999
  const dragDropEvent = new Event("keyboardDragDropEvent", container, {
3005
- draggedControl: _this38._cutApp,
3000
+ draggedControl: _this36._cutApp,
3006
3001
  droppedControl: currentItem,
3007
3002
  dropPosition: dnd.RelativeDropPosition.On
3008
3003
  });
3009
- return Promise.resolve(_this38._onFavItemDrop(dragDropEvent)).then(function () {
3010
- _this38._cutApp = undefined;
3004
+ return Promise.resolve(_this36._onFavItemDrop(dragDropEvent)).then(function () {
3005
+ _this36._cutApp = undefined;
3011
3006
  });
3012
3007
  }
3013
3008
  }();
3014
- if (_temp47 && _temp47.then) return _temp47.then(function () {});
3009
+ if (_temp45 && _temp45.then) return _temp45.then(function () {});
3015
3010
  }
3016
3011
  }();
3017
- return Promise.resolve(_temp48 && _temp48.then ? _temp48.then(function () {}) : void 0);
3012
+ return Promise.resolve(_temp46 && _temp46.then ? _temp46.then(function () {}) : void 0);
3018
3013
  } catch (e) {
3019
3014
  return Promise.reject(e);
3020
3015
  }