@sapui5/sap.cux.home 1.142.0 → 1.142.2

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 (528) hide show
  1. package/package.json +1 -1
  2. package/src/sap/cux/home/.library +4 -1
  3. package/src/sap/cux/home/AdvancedSettingsPanel.d.ts +3 -2
  4. package/src/sap/cux/home/AdvancedSettingsPanel.d.ts.map +1 -1
  5. package/src/sap/cux/home/AdvancedSettingsPanel.gen.d.ts +1 -1
  6. package/src/sap/cux/home/AdvancedSettingsPanel.js +7 -6
  7. package/src/sap/cux/home/AdvancedSettingsPanel.js.map +1 -1
  8. package/src/sap/cux/home/AdvancedSettingsPanel.ts +7 -6
  9. package/src/sap/cux/home/App.d.ts.map +1 -1
  10. package/src/sap/cux/home/App.gen.d.ts +1 -1
  11. package/src/sap/cux/home/App.js +6 -3
  12. package/src/sap/cux/home/App.js.map +1 -1
  13. package/src/sap/cux/home/App.ts +6 -3
  14. package/src/sap/cux/home/AppsAdditionPanel.d.ts +47 -34
  15. package/src/sap/cux/home/AppsAdditionPanel.d.ts.map +1 -1
  16. package/src/sap/cux/home/AppsAdditionPanel.js +334 -238
  17. package/src/sap/cux/home/AppsAdditionPanel.js.map +1 -1
  18. package/src/sap/cux/home/AppsAdditionPanel.ts +345 -231
  19. package/src/sap/cux/home/AppsContainer.d.ts.map +1 -1
  20. package/src/sap/cux/home/AppsContainer.gen.d.ts +1 -1
  21. package/src/sap/cux/home/AppsContainer.js +4 -3
  22. package/src/sap/cux/home/AppsContainer.js.map +1 -1
  23. package/src/sap/cux/home/AppsContainer.ts +4 -3
  24. package/src/sap/cux/home/BaseApp.gen.d.ts +1 -1
  25. package/src/sap/cux/home/BaseApp.js +1 -1
  26. package/src/sap/cux/home/BaseApp.js.map +1 -1
  27. package/src/sap/cux/home/BaseApp.ts +1 -1
  28. package/src/sap/cux/home/BaseAppPanel.d.ts +9 -0
  29. package/src/sap/cux/home/BaseAppPanel.d.ts.map +1 -1
  30. package/src/sap/cux/home/BaseAppPanel.gen.d.ts +1 -1
  31. package/src/sap/cux/home/BaseAppPanel.js +21 -2
  32. package/src/sap/cux/home/BaseAppPanel.js.map +1 -1
  33. package/src/sap/cux/home/BaseAppPanel.ts +23 -2
  34. package/src/sap/cux/home/BaseAppPersPanel.d.ts +1 -1
  35. package/src/sap/cux/home/BaseAppPersPanel.gen.d.ts +1 -1
  36. package/src/sap/cux/home/BaseAppPersPanel.js +1 -1
  37. package/src/sap/cux/home/BaseAppPersPanel.js.map +1 -1
  38. package/src/sap/cux/home/BaseAppPersPanel.ts +1 -1
  39. package/src/sap/cux/home/BaseContainer.d.ts +2 -2
  40. package/src/sap/cux/home/BaseContainer.d.ts.map +1 -1
  41. package/src/sap/cux/home/BaseContainer.gen.d.ts +1 -1
  42. package/src/sap/cux/home/BaseContainer.js +11 -3
  43. package/src/sap/cux/home/BaseContainer.js.map +1 -1
  44. package/src/sap/cux/home/BaseContainer.ts +8 -4
  45. package/src/sap/cux/home/BaseContainerRenderer.d.ts.map +1 -1
  46. package/src/sap/cux/home/BaseContainerRenderer.js +7 -1
  47. package/src/sap/cux/home/BaseContainerRenderer.js.map +1 -1
  48. package/src/sap/cux/home/BaseContainerRenderer.ts +7 -1
  49. package/src/sap/cux/home/BaseLayout.d.ts +1 -1
  50. package/src/sap/cux/home/BaseLayout.gen.d.ts +1 -1
  51. package/src/sap/cux/home/BaseLayout.js +1 -1
  52. package/src/sap/cux/home/BaseLayout.js.map +1 -1
  53. package/src/sap/cux/home/BaseLayout.ts +1 -1
  54. package/src/sap/cux/home/BaseLayoutRenderer.js +1 -1
  55. package/src/sap/cux/home/BaseLayoutRenderer.js.map +1 -1
  56. package/src/sap/cux/home/BaseLayoutRenderer.ts +1 -1
  57. package/src/sap/cux/home/BaseNewsItem.d.ts +1 -1
  58. package/src/sap/cux/home/BaseNewsItem.gen.d.ts +1 -1
  59. package/src/sap/cux/home/BaseNewsItem.js +1 -1
  60. package/src/sap/cux/home/BaseNewsItem.js.map +1 -1
  61. package/src/sap/cux/home/BaseNewsItem.ts +1 -1
  62. package/src/sap/cux/home/BaseNewsPanel.gen.d.ts +1 -1
  63. package/src/sap/cux/home/BaseNewsPanel.js +1 -1
  64. package/src/sap/cux/home/BaseNewsPanel.js.map +1 -1
  65. package/src/sap/cux/home/BaseNewsPanel.ts +3 -3
  66. package/src/sap/cux/home/BasePagePanel.d.ts +1 -1
  67. package/src/sap/cux/home/BasePagePanel.gen.d.ts +1 -1
  68. package/src/sap/cux/home/BasePagePanel.js +1 -1
  69. package/src/sap/cux/home/BasePagePanel.js.map +1 -1
  70. package/src/sap/cux/home/BasePagePanel.ts +1 -1
  71. package/src/sap/cux/home/BasePanel.d.ts +1 -1
  72. package/src/sap/cux/home/BasePanel.gen.d.ts +1 -1
  73. package/src/sap/cux/home/BasePanel.js +1 -1
  74. package/src/sap/cux/home/BasePanel.js.map +1 -1
  75. package/src/sap/cux/home/BasePanel.ts +1 -1
  76. package/src/sap/cux/home/BaseSettingsDialog.d.ts +1 -1
  77. package/src/sap/cux/home/BaseSettingsDialog.gen.d.ts +1 -1
  78. package/src/sap/cux/home/BaseSettingsDialog.js +1 -1
  79. package/src/sap/cux/home/BaseSettingsDialog.js.map +1 -1
  80. package/src/sap/cux/home/BaseSettingsDialog.ts +1 -1
  81. package/src/sap/cux/home/BaseSettingsPanel.d.ts +1 -1
  82. package/src/sap/cux/home/BaseSettingsPanel.gen.d.ts +1 -1
  83. package/src/sap/cux/home/BaseSettingsPanel.js +1 -1
  84. package/src/sap/cux/home/BaseSettingsPanel.js.map +1 -1
  85. package/src/sap/cux/home/BaseSettingsPanel.ts +1 -1
  86. package/src/sap/cux/home/CardsContainer.d.ts +108 -0
  87. package/src/sap/cux/home/CardsContainer.d.ts.map +1 -0
  88. package/src/sap/cux/home/CardsContainer.js +207 -0
  89. package/src/sap/cux/home/CardsContainer.js.map +1 -0
  90. package/src/sap/cux/home/CardsContainer.ts +202 -0
  91. package/src/sap/cux/home/CardsPanel.d.ts +43 -62
  92. package/src/sap/cux/home/CardsPanel.d.ts.map +1 -1
  93. package/src/sap/cux/home/CardsPanel.gen.d.ts +1 -1
  94. package/src/sap/cux/home/CardsPanel.js +346 -286
  95. package/src/sap/cux/home/CardsPanel.js.map +1 -1
  96. package/src/sap/cux/home/CardsPanel.ts +212 -201
  97. package/src/sap/cux/home/ContentAdditionDialog.d.ts +3 -1
  98. package/src/sap/cux/home/ContentAdditionDialog.d.ts.map +1 -1
  99. package/src/sap/cux/home/ContentAdditionDialog.js +13 -7
  100. package/src/sap/cux/home/ContentAdditionDialog.js.map +1 -1
  101. package/src/sap/cux/home/ContentAdditionDialog.ts +14 -6
  102. package/src/sap/cux/home/CustomFlexBox.gen.d.ts +1 -1
  103. package/src/sap/cux/home/ErrorPanel.d.ts +0 -5
  104. package/src/sap/cux/home/ErrorPanel.d.ts.map +1 -1
  105. package/src/sap/cux/home/ErrorPanel.gen.d.ts +32 -1
  106. package/src/sap/cux/home/ErrorPanel.js +12 -17
  107. package/src/sap/cux/home/ErrorPanel.js.map +1 -1
  108. package/src/sap/cux/home/ErrorPanel.ts +8 -20
  109. package/src/sap/cux/home/FavAppPanel.d.ts +1 -2
  110. package/src/sap/cux/home/FavAppPanel.d.ts.map +1 -1
  111. package/src/sap/cux/home/FavAppPanel.js +297 -302
  112. package/src/sap/cux/home/FavAppPanel.js.map +1 -1
  113. package/src/sap/cux/home/FavAppPanel.ts +15 -11
  114. package/src/sap/cux/home/FrequentAppPanel.js +1 -1
  115. package/src/sap/cux/home/FrequentAppPanel.js.map +1 -1
  116. package/src/sap/cux/home/FrequentAppPanel.ts +1 -1
  117. package/src/sap/cux/home/Group.d.ts +1 -1
  118. package/src/sap/cux/home/Group.gen.d.ts +1 -1
  119. package/src/sap/cux/home/Group.js +1 -1
  120. package/src/sap/cux/home/Group.js.map +1 -1
  121. package/src/sap/cux/home/Group.ts +1 -1
  122. package/src/sap/cux/home/IToDoPanel.d.ts +1 -1
  123. package/src/sap/cux/home/IToDoPanel.js +1 -1
  124. package/src/sap/cux/home/IToDoPanel.js.map +1 -1
  125. package/src/sap/cux/home/IToDoPanel.ts +1 -1
  126. package/src/sap/cux/home/InsightsAdditionPanel.d.ts +4 -4
  127. package/src/sap/cux/home/InsightsAdditionPanel.d.ts.map +1 -1
  128. package/src/sap/cux/home/InsightsAdditionPanel.js +9 -9
  129. package/src/sap/cux/home/InsightsAdditionPanel.js.map +1 -1
  130. package/src/sap/cux/home/InsightsAdditionPanel.ts +8 -8
  131. package/src/sap/cux/home/InsightsCardsSettingsPanel.d.ts +8 -0
  132. package/src/sap/cux/home/InsightsCardsSettingsPanel.d.ts.map +1 -1
  133. package/src/sap/cux/home/InsightsCardsSettingsPanel.js +16 -1
  134. package/src/sap/cux/home/InsightsCardsSettingsPanel.js.map +1 -1
  135. package/src/sap/cux/home/InsightsCardsSettingsPanel.ts +12 -1
  136. package/src/sap/cux/home/InsightsTilesSettingsPanel.js +2 -2
  137. package/src/sap/cux/home/InsightsTilesSettingsPanel.js.map +1 -1
  138. package/src/sap/cux/home/InsightsTilesSettingsPanel.ts +2 -2
  139. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.d.ts +3 -0
  140. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.d.ts.map +1 -1
  141. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js +253 -40
  142. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js.map +1 -1
  143. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.ts +288 -58
  144. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.d.ts.map +1 -1
  145. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js +12 -11
  146. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js.map +1 -1
  147. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.ts +13 -11
  148. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js +3 -3
  149. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js.map +1 -1
  150. package/src/sap/cux/home/KeyUserNewsSettingsPanel.ts +8 -8
  151. package/src/sap/cux/home/KeyUserPagesSettingsPanel.js +1 -1
  152. package/src/sap/cux/home/KeyUserPagesSettingsPanel.js.map +1 -1
  153. package/src/sap/cux/home/KeyUserPagesSettingsPanel.ts +3 -3
  154. package/src/sap/cux/home/KeyUserSettingsDialog.d.ts +1 -1
  155. package/src/sap/cux/home/KeyUserSettingsDialog.js +1 -1
  156. package/src/sap/cux/home/KeyUserSettingsDialog.js.map +1 -1
  157. package/src/sap/cux/home/KeyUserSettingsDialog.ts +1 -1
  158. package/src/sap/cux/home/Layout.d.ts +4 -2
  159. package/src/sap/cux/home/Layout.d.ts.map +1 -1
  160. package/src/sap/cux/home/Layout.js +50 -9
  161. package/src/sap/cux/home/Layout.js.map +1 -1
  162. package/src/sap/cux/home/Layout.ts +60 -9
  163. package/src/sap/cux/home/LayoutSettingsPanel.d.ts +10 -0
  164. package/src/sap/cux/home/LayoutSettingsPanel.d.ts.map +1 -1
  165. package/src/sap/cux/home/LayoutSettingsPanel.js +342 -57
  166. package/src/sap/cux/home/LayoutSettingsPanel.js.map +1 -1
  167. package/src/sap/cux/home/LayoutSettingsPanel.ts +380 -64
  168. package/src/sap/cux/home/MenuItem.d.ts +1 -1
  169. package/src/sap/cux/home/MenuItem.gen.d.ts +1 -1
  170. package/src/sap/cux/home/MenuItem.js +1 -1
  171. package/src/sap/cux/home/MenuItem.js.map +1 -1
  172. package/src/sap/cux/home/MenuItem.ts +1 -1
  173. package/src/sap/cux/home/{NewsAndPagesContainer.d.ts → NewsContainer.d.ts} +13 -14
  174. package/src/sap/cux/home/NewsContainer.d.ts.map +1 -0
  175. package/src/sap/cux/home/{NewsAndPagesContainer.gen.d.ts → NewsContainer.gen.d.ts} +4 -4
  176. package/src/sap/cux/home/{NewsAndPagesContainer.js → NewsContainer.js} +27 -114
  177. package/src/sap/cux/home/NewsContainer.js.map +1 -0
  178. package/src/sap/cux/home/{NewsAndPagesContainer.ts → NewsContainer.ts} +30 -119
  179. package/src/sap/cux/home/NewsGroup.gen.d.ts +1 -1
  180. package/src/sap/cux/home/NewsGroup.js +1 -1
  181. package/src/sap/cux/home/NewsGroup.js.map +1 -1
  182. package/src/sap/cux/home/NewsGroup.ts +2 -2
  183. package/src/sap/cux/home/NewsItem.gen.d.ts +1 -1
  184. package/src/sap/cux/home/NewsItem.js +1 -1
  185. package/src/sap/cux/home/NewsItem.js.map +1 -1
  186. package/src/sap/cux/home/NewsItem.ts +1 -1
  187. package/src/sap/cux/home/NewsPanel.d.ts.map +1 -1
  188. package/src/sap/cux/home/NewsPanel.gen.d.ts +1 -1
  189. package/src/sap/cux/home/NewsPanel.js +13 -15
  190. package/src/sap/cux/home/NewsPanel.js.map +1 -1
  191. package/src/sap/cux/home/NewsPanel.ts +14 -17
  192. package/src/sap/cux/home/NewsSettingsPanel.js +5 -5
  193. package/src/sap/cux/home/NewsSettingsPanel.js.map +1 -1
  194. package/src/sap/cux/home/NewsSettingsPanel.ts +6 -6
  195. package/src/sap/cux/home/NoDataContainer.js +1 -1
  196. package/src/sap/cux/home/NoDataContainer.js.map +1 -1
  197. package/src/sap/cux/home/NoDataContainer.ts +1 -1
  198. package/src/sap/cux/home/Page.d.ts +1 -1
  199. package/src/sap/cux/home/Page.gen.d.ts +1 -1
  200. package/src/sap/cux/home/Page.js +1 -1
  201. package/src/sap/cux/home/Page.js.map +1 -1
  202. package/src/sap/cux/home/Page.ts +1 -1
  203. package/src/sap/cux/home/PagePanel.d.ts +1 -1
  204. package/src/sap/cux/home/PagePanel.d.ts.map +1 -1
  205. package/src/sap/cux/home/PagePanel.js +19 -11
  206. package/src/sap/cux/home/PagePanel.js.map +1 -1
  207. package/src/sap/cux/home/PagePanel.ts +26 -16
  208. package/src/sap/cux/home/PageSettingsPanel.js +1 -1
  209. package/src/sap/cux/home/PageSettingsPanel.js.map +1 -1
  210. package/src/sap/cux/home/PageSettingsPanel.ts +1 -1
  211. package/src/sap/cux/home/PagesContainer.d.ts +72 -0
  212. package/src/sap/cux/home/PagesContainer.d.ts.map +1 -0
  213. package/src/sap/cux/home/PagesContainer.gen.d.ts +78 -0
  214. package/src/sap/cux/home/PagesContainer.js +333 -0
  215. package/src/sap/cux/home/PagesContainer.js.map +1 -0
  216. package/src/sap/cux/home/PagesContainer.ts +179 -0
  217. package/src/sap/cux/home/RecentAppPanel.d.ts +18 -0
  218. package/src/sap/cux/home/RecentAppPanel.d.ts.map +1 -1
  219. package/src/sap/cux/home/RecentAppPanel.js +30 -1
  220. package/src/sap/cux/home/RecentAppPanel.js.map +1 -1
  221. package/src/sap/cux/home/RecentAppPanel.ts +33 -2
  222. package/src/sap/cux/home/RecommendedAppPanel.d.ts.map +1 -1
  223. package/src/sap/cux/home/RecommendedAppPanel.js +6 -5
  224. package/src/sap/cux/home/RecommendedAppPanel.js.map +1 -1
  225. package/src/sap/cux/home/RecommendedAppPanel.ts +5 -4
  226. package/src/sap/cux/home/SettingsDialog.d.ts +8 -1
  227. package/src/sap/cux/home/SettingsDialog.d.ts.map +1 -1
  228. package/src/sap/cux/home/SettingsDialog.js +185 -15
  229. package/src/sap/cux/home/SettingsDialog.js.map +1 -1
  230. package/src/sap/cux/home/SettingsDialog.ts +15 -5
  231. package/src/sap/cux/home/SideBySideIconTabFilter.d.ts +1 -1
  232. package/src/sap/cux/home/SideBySideIconTabFilter.gen.d.ts +1 -1
  233. package/src/sap/cux/home/SideBySideIconTabFilter.js +1 -1
  234. package/src/sap/cux/home/SideBySideIconTabFilter.js.map +1 -1
  235. package/src/sap/cux/home/SideBySideIconTabFilter.ts +1 -1
  236. package/src/sap/cux/home/SituationPanel.js +1 -1
  237. package/src/sap/cux/home/SituationPanel.js.map +1 -1
  238. package/src/sap/cux/home/SituationPanel.ts +1 -1
  239. package/src/sap/cux/home/SpaceInsightsPanel.d.ts +8 -60
  240. package/src/sap/cux/home/SpaceInsightsPanel.d.ts.map +1 -1
  241. package/src/sap/cux/home/SpaceInsightsPanel.gen.d.ts +1 -1
  242. package/src/sap/cux/home/SpaceInsightsPanel.js +67 -133
  243. package/src/sap/cux/home/SpaceInsightsPanel.js.map +1 -1
  244. package/src/sap/cux/home/SpaceInsightsPanel.ts +70 -152
  245. package/src/sap/cux/home/SpacePanel.gen.d.ts +1 -1
  246. package/src/sap/cux/home/SpacePanel.js +1 -1
  247. package/src/sap/cux/home/SpacePanel.js.map +1 -1
  248. package/src/sap/cux/home/SpacePanel.ts +1 -1
  249. package/src/sap/cux/home/TaskPanel.d.ts.map +1 -1
  250. package/src/sap/cux/home/TaskPanel.gen.d.ts +1 -1
  251. package/src/sap/cux/home/TaskPanel.js +17 -2
  252. package/src/sap/cux/home/TaskPanel.js.map +1 -1
  253. package/src/sap/cux/home/TaskPanel.ts +16 -2
  254. package/src/sap/cux/home/TilesContainer.d.ts +111 -0
  255. package/src/sap/cux/home/TilesContainer.d.ts.map +1 -0
  256. package/src/sap/cux/home/TilesContainer.js +218 -0
  257. package/src/sap/cux/home/TilesContainer.js.map +1 -0
  258. package/src/sap/cux/home/TilesContainer.ts +216 -0
  259. package/src/sap/cux/home/TilesPanel.d.ts +22 -52
  260. package/src/sap/cux/home/TilesPanel.d.ts.map +1 -1
  261. package/src/sap/cux/home/TilesPanel.gen.d.ts +1 -1
  262. package/src/sap/cux/home/TilesPanel.js +185 -166
  263. package/src/sap/cux/home/TilesPanel.js.map +1 -1
  264. package/src/sap/cux/home/TilesPanel.ts +161 -155
  265. package/src/sap/cux/home/ToDoPanel.d.ts +1 -0
  266. package/src/sap/cux/home/ToDoPanel.d.ts.map +1 -1
  267. package/src/sap/cux/home/ToDoPanel.gen.d.ts +1 -1
  268. package/src/sap/cux/home/ToDoPanel.js +39 -64
  269. package/src/sap/cux/home/ToDoPanel.js.map +1 -1
  270. package/src/sap/cux/home/ToDoPanel.ts +33 -32
  271. package/src/sap/cux/home/ToDosContainer.js +1 -1
  272. package/src/sap/cux/home/ToDosContainer.js.map +1 -1
  273. package/src/sap/cux/home/ToDosContainer.ts +1 -1
  274. package/src/sap/cux/home/changeHandler/LayoutHandler.js +1 -1
  275. package/src/sap/cux/home/changeHandler/LayoutHandler.js.map +1 -1
  276. package/src/sap/cux/home/changeHandler/LayoutHandler.ts +1 -1
  277. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.d.ts +3 -3
  278. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.d.ts.map +1 -1
  279. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.js +2 -2
  280. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.js.map +1 -1
  281. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.ts +5 -5
  282. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.d.ts +3 -3
  283. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.d.ts.map +1 -1
  284. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js +2 -2
  285. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js.map +1 -1
  286. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.ts +5 -5
  287. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.d.ts +3 -3
  288. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.d.ts.map +1 -1
  289. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.js +2 -2
  290. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.js.map +1 -1
  291. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.ts +4 -4
  292. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.d.ts +3 -3
  293. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.d.ts.map +1 -1
  294. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.js +5 -5
  295. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.js.map +1 -1
  296. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.ts +6 -6
  297. package/src/sap/cux/home/designtime/Layout.designtime.js +1 -1
  298. package/src/sap/cux/home/designtime/Layout.designtime.js.map +1 -1
  299. package/src/sap/cux/home/designtime/Layout.designtime.ts +1 -1
  300. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.d.ts.map +1 -1
  301. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.js +31 -4
  302. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.js.map +1 -1
  303. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.ts +24 -2
  304. package/src/sap/cux/home/flexibility/Layout.flexibility.d.ts +29 -19
  305. package/src/sap/cux/home/flexibility/Layout.flexibility.d.ts.map +1 -1
  306. package/src/sap/cux/home/flexibility/Layout.flexibility.js +79 -3
  307. package/src/sap/cux/home/flexibility/Layout.flexibility.js.map +1 -1
  308. package/src/sap/cux/home/flexibility/Layout.flexibility.ts +82 -2
  309. package/src/sap/cux/home/i18n/messagebundle.properties +27 -13
  310. package/src/sap/cux/home/i18n/messagebundle_ar.properties +20 -4
  311. package/src/sap/cux/home/i18n/messagebundle_bg.properties +20 -8
  312. package/src/sap/cux/home/i18n/messagebundle_ca.properties +21 -9
  313. package/src/sap/cux/home/i18n/messagebundle_cnr.properties +26 -14
  314. package/src/sap/cux/home/i18n/messagebundle_cs.properties +20 -8
  315. package/src/sap/cux/home/i18n/messagebundle_cy.properties +20 -8
  316. package/src/sap/cux/home/i18n/messagebundle_da.properties +20 -8
  317. package/src/sap/cux/home/i18n/messagebundle_de.properties +22 -10
  318. package/src/sap/cux/home/i18n/messagebundle_el.properties +20 -8
  319. package/src/sap/cux/home/i18n/messagebundle_en.properties +20 -8
  320. package/src/sap/cux/home/i18n/messagebundle_en_GB.properties +20 -8
  321. package/src/sap/cux/home/i18n/messagebundle_en_US_sappsd.properties +20 -8
  322. package/src/sap/cux/home/i18n/messagebundle_en_US_saprigi.properties +20 -8
  323. package/src/sap/cux/home/i18n/messagebundle_en_US_saptrc.properties +20 -8
  324. package/src/sap/cux/home/i18n/messagebundle_es.properties +21 -8
  325. package/src/sap/cux/home/i18n/messagebundle_es_MX.properties +20 -8
  326. package/src/sap/cux/home/i18n/messagebundle_et.properties +20 -8
  327. package/src/sap/cux/home/i18n/messagebundle_fi.properties +20 -8
  328. package/src/sap/cux/home/i18n/messagebundle_fr.properties +20 -8
  329. package/src/sap/cux/home/i18n/messagebundle_fr_CA.properties +20 -8
  330. package/src/sap/cux/home/i18n/messagebundle_hi.properties +20 -8
  331. package/src/sap/cux/home/i18n/messagebundle_hr.properties +20 -8
  332. package/src/sap/cux/home/i18n/messagebundle_hu.properties +20 -8
  333. package/src/sap/cux/home/i18n/messagebundle_id.properties +33 -21
  334. package/src/sap/cux/home/i18n/messagebundle_it.properties +25 -13
  335. package/src/sap/cux/home/i18n/messagebundle_iw.properties +20 -8
  336. package/src/sap/cux/home/i18n/messagebundle_ja.properties +20 -8
  337. package/src/sap/cux/home/i18n/messagebundle_kk.properties +20 -8
  338. package/src/sap/cux/home/i18n/messagebundle_ko.properties +20 -8
  339. package/src/sap/cux/home/i18n/messagebundle_lt.properties +20 -8
  340. package/src/sap/cux/home/i18n/messagebundle_lv.properties +20 -8
  341. package/src/sap/cux/home/i18n/messagebundle_mk.properties +20 -8
  342. package/src/sap/cux/home/i18n/messagebundle_ms.properties +20 -8
  343. package/src/sap/cux/home/i18n/messagebundle_nl.properties +20 -8
  344. package/src/sap/cux/home/i18n/messagebundle_no.properties +20 -8
  345. package/src/sap/cux/home/i18n/messagebundle_pl.properties +20 -8
  346. package/src/sap/cux/home/i18n/messagebundle_pt.properties +20 -8
  347. package/src/sap/cux/home/i18n/messagebundle_pt_PT.properties +20 -8
  348. package/src/sap/cux/home/i18n/messagebundle_ro.properties +20 -8
  349. package/src/sap/cux/home/i18n/messagebundle_ru.properties +20 -8
  350. package/src/sap/cux/home/i18n/messagebundle_sh.properties +26 -14
  351. package/src/sap/cux/home/i18n/messagebundle_sk.properties +20 -8
  352. package/src/sap/cux/home/i18n/messagebundle_sl.properties +21 -9
  353. package/src/sap/cux/home/i18n/messagebundle_sr.properties +26 -14
  354. package/src/sap/cux/home/i18n/messagebundle_sv.properties +20 -8
  355. package/src/sap/cux/home/i18n/messagebundle_th.properties +20 -8
  356. package/src/sap/cux/home/i18n/messagebundle_tr.properties +20 -8
  357. package/src/sap/cux/home/i18n/messagebundle_uk.properties +24 -12
  358. package/src/sap/cux/home/i18n/messagebundle_vi.properties +20 -8
  359. package/src/sap/cux/home/i18n/messagebundle_zh_CN.properties +20 -8
  360. package/src/sap/cux/home/i18n/messagebundle_zh_TW.properties +20 -8
  361. package/src/sap/cux/home/interface/AppsInterface.d.ts +1 -1
  362. package/src/sap/cux/home/interface/AppsInterface.js.map +1 -1
  363. package/src/sap/cux/home/interface/AppsInterface.ts +1 -1
  364. package/src/sap/cux/home/interface/CardsInterface.d.ts +1 -1
  365. package/src/sap/cux/home/interface/CardsInterface.d.ts.map +1 -1
  366. package/src/sap/cux/home/interface/CardsInterface.js +1 -1
  367. package/src/sap/cux/home/interface/CardsInterface.js.map +1 -1
  368. package/src/sap/cux/home/interface/CardsInterface.ts +1 -2
  369. package/src/sap/cux/home/interface/KeyUserInterface.d.ts +28 -5
  370. package/src/sap/cux/home/interface/KeyUserInterface.d.ts.map +1 -1
  371. package/src/sap/cux/home/interface/KeyUserInterface.js.map +1 -1
  372. package/src/sap/cux/home/interface/KeyUserInterface.ts +24 -5
  373. package/src/sap/cux/home/interface/LayoutInterface.d.ts +8 -1
  374. package/src/sap/cux/home/interface/LayoutInterface.d.ts.map +1 -1
  375. package/src/sap/cux/home/interface/LayoutInterface.js.map +1 -1
  376. package/src/sap/cux/home/interface/LayoutInterface.ts +8 -1
  377. package/src/sap/cux/home/interface/PageSpaceInterface.d.ts +1 -1
  378. package/src/sap/cux/home/interface/PageSpaceInterface.js.map +1 -1
  379. package/src/sap/cux/home/interface/PageSpaceInterface.ts +1 -1
  380. package/src/sap/cux/home/library.d.ts.map +1 -1
  381. package/src/sap/cux/home/library.js +8 -5
  382. package/src/sap/cux/home/library.js.map +1 -1
  383. package/src/sap/cux/home/library.ts +11 -6
  384. package/src/sap/cux/home/themes/base/BaseContainer.less +36 -0
  385. package/src/sap/cux/home/themes/base/BaseLayout.less +11 -0
  386. package/src/sap/cux/home/themes/base/{InsightsContainer.less → CardsContainer.less} +0 -45
  387. package/src/sap/cux/home/themes/base/ContentAdditionDialog.less +10 -18
  388. package/src/sap/cux/home/themes/base/PlaceHolder.less +1 -1
  389. package/src/sap/cux/home/themes/base/SettingsDialog.less +4 -0
  390. package/src/sap/cux/home/themes/base/TilesContainer.less +65 -0
  391. package/src/sap/cux/home/themes/base/library.source.less +2 -1
  392. package/src/sap/cux/home/utils/Accessibility.d.ts +1 -1
  393. package/src/sap/cux/home/utils/Accessibility.js +1 -1
  394. package/src/sap/cux/home/utils/Accessibility.js.map +1 -1
  395. package/src/sap/cux/home/utils/Accessibility.ts +1 -1
  396. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.d.ts +1 -1
  397. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.js +1 -1
  398. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.js.map +1 -1
  399. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.ts +1 -1
  400. package/src/sap/cux/home/utils/AppManager.js +1 -1
  401. package/src/sap/cux/home/utils/AppManager.js.map +1 -1
  402. package/src/sap/cux/home/utils/AppManager.ts +1 -1
  403. package/src/sap/cux/home/utils/BatchHelper.d.ts +2 -1
  404. package/src/sap/cux/home/utils/BatchHelper.d.ts.map +1 -1
  405. package/src/sap/cux/home/utils/BatchHelper.js +8 -3
  406. package/src/sap/cux/home/utils/BatchHelper.js.map +1 -1
  407. package/src/sap/cux/home/utils/BatchHelper.ts +9 -2
  408. package/src/sap/cux/home/utils/ColorUtils.d.ts +1 -1
  409. package/src/sap/cux/home/utils/ColorUtils.js +1 -1
  410. package/src/sap/cux/home/utils/ColorUtils.js.map +1 -1
  411. package/src/sap/cux/home/utils/ColorUtils.ts +1 -1
  412. package/src/sap/cux/home/utils/CommonUtils.js +1 -1
  413. package/src/sap/cux/home/utils/CommonUtils.js.map +1 -1
  414. package/src/sap/cux/home/utils/CommonUtils.ts +1 -1
  415. package/src/sap/cux/home/utils/Constants.js +1 -1
  416. package/src/sap/cux/home/utils/Constants.js.map +1 -1
  417. package/src/sap/cux/home/utils/Constants.ts +1 -1
  418. package/src/sap/cux/home/utils/DataFormatUtils.d.ts +1 -1
  419. package/src/sap/cux/home/utils/DataFormatUtils.js +1 -1
  420. package/src/sap/cux/home/utils/DataFormatUtils.js.map +1 -1
  421. package/src/sap/cux/home/utils/DataFormatUtils.ts +1 -1
  422. package/src/sap/cux/home/utils/DecisionDialog.js +1 -1
  423. package/src/sap/cux/home/utils/DecisionDialog.js.map +1 -1
  424. package/src/sap/cux/home/utils/DecisionDialog.ts +1 -1
  425. package/src/sap/cux/home/utils/Device.js +1 -1
  426. package/src/sap/cux/home/utils/Device.js.map +1 -1
  427. package/src/sap/cux/home/utils/Device.ts +1 -1
  428. package/src/sap/cux/home/utils/DragDropUtils.d.ts +1 -1
  429. package/src/sap/cux/home/utils/DragDropUtils.js +1 -1
  430. package/src/sap/cux/home/utils/DragDropUtils.js.map +1 -1
  431. package/src/sap/cux/home/utils/DragDropUtils.ts +1 -1
  432. package/src/sap/cux/home/utils/FESRUtil.d.ts +1 -1
  433. package/src/sap/cux/home/utils/FESRUtil.js +1 -1
  434. package/src/sap/cux/home/utils/FESRUtil.js.map +1 -1
  435. package/src/sap/cux/home/utils/FESRUtil.ts +1 -1
  436. package/src/sap/cux/home/utils/FeatureUtils.js +1 -1
  437. package/src/sap/cux/home/utils/FeatureUtils.js.map +1 -1
  438. package/src/sap/cux/home/utils/FeatureUtils.ts +1 -1
  439. package/src/sap/cux/home/utils/HttpHelper.js +1 -1
  440. package/src/sap/cux/home/utils/HttpHelper.js.map +1 -1
  441. package/src/sap/cux/home/utils/HttpHelper.ts +1 -1
  442. package/src/sap/cux/home/utils/IconList.d.ts +1 -1
  443. package/src/sap/cux/home/utils/IconList.js +1 -1
  444. package/src/sap/cux/home/utils/IconList.js.map +1 -1
  445. package/src/sap/cux/home/utils/IconList.ts +1 -1
  446. package/src/sap/cux/home/utils/InsightsUtils.d.ts +1 -1
  447. package/src/sap/cux/home/utils/InsightsUtils.js +1 -1
  448. package/src/sap/cux/home/utils/InsightsUtils.js.map +1 -1
  449. package/src/sap/cux/home/utils/InsightsUtils.ts +1 -1
  450. package/src/sap/cux/home/utils/PXFeedback.js +1 -1
  451. package/src/sap/cux/home/utils/PXFeedback.js.map +1 -1
  452. package/src/sap/cux/home/utils/PXFeedback.ts +1 -1
  453. package/src/sap/cux/home/utils/PageManager.js +1 -1
  454. package/src/sap/cux/home/utils/PageManager.js.map +1 -1
  455. package/src/sap/cux/home/utils/PageManager.ts +1 -1
  456. package/src/sap/cux/home/utils/PagesIconsConstants.d.ts +1 -1
  457. package/src/sap/cux/home/utils/PagesIconsConstants.js +1 -1
  458. package/src/sap/cux/home/utils/PagesIconsConstants.js.map +1 -1
  459. package/src/sap/cux/home/utils/PagesIconsConstants.ts +1 -1
  460. package/src/sap/cux/home/utils/PerformanceUtils.d.ts +4 -2
  461. package/src/sap/cux/home/utils/PerformanceUtils.d.ts.map +1 -1
  462. package/src/sap/cux/home/utils/PerformanceUtils.js +5 -3
  463. package/src/sap/cux/home/utils/PerformanceUtils.js.map +1 -1
  464. package/src/sap/cux/home/utils/PerformanceUtils.ts +5 -3
  465. package/src/sap/cux/home/utils/PersonalisationUtils.d.ts +1 -1
  466. package/src/sap/cux/home/utils/PersonalisationUtils.js +1 -1
  467. package/src/sap/cux/home/utils/PersonalisationUtils.js.map +1 -1
  468. package/src/sap/cux/home/utils/PersonalisationUtils.ts +1 -1
  469. package/src/sap/cux/home/utils/RecommendedCardUtil.js +1 -1
  470. package/src/sap/cux/home/utils/RecommendedCardUtil.js.map +1 -1
  471. package/src/sap/cux/home/utils/RecommendedCardUtil.ts +1 -1
  472. package/src/sap/cux/home/utils/SituationUtils.js +1 -1
  473. package/src/sap/cux/home/utils/SituationUtils.js.map +1 -1
  474. package/src/sap/cux/home/utils/SituationUtils.ts +1 -1
  475. package/src/sap/cux/home/utils/TaskUtils.js +1 -1
  476. package/src/sap/cux/home/utils/TaskUtils.js.map +1 -1
  477. package/src/sap/cux/home/utils/TaskUtils.ts +1 -1
  478. package/src/sap/cux/home/utils/UshellPersonalizer.d.ts +1 -1
  479. package/src/sap/cux/home/utils/UshellPersonalizer.js +1 -1
  480. package/src/sap/cux/home/utils/UshellPersonalizer.js.map +1 -1
  481. package/src/sap/cux/home/utils/UshellPersonalizer.ts +1 -1
  482. package/src/sap/cux/home/utils/extension/CardExtension.js +1 -1
  483. package/src/sap/cux/home/utils/extension/CardExtension.js.map +1 -1
  484. package/src/sap/cux/home/utils/extension/CardExtension.ts +1 -1
  485. package/src/sap/cux/home/utils/fragment/appsAdditionContent.fragment.xml +151 -152
  486. package/src/sap/cux/home/utils/fragment/showDecisionDialog.fragment.xml +1 -1
  487. package/src/sap/cux/home/utils/placeholder/AppsPlaceholder.d.ts +1 -1
  488. package/src/sap/cux/home/utils/placeholder/AppsPlaceholder.js +1 -1
  489. package/src/sap/cux/home/utils/placeholder/AppsPlaceholder.js.map +1 -1
  490. package/src/sap/cux/home/utils/placeholder/AppsPlaceholder.ts +1 -1
  491. package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.d.ts +8 -0
  492. package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.d.ts.map +1 -0
  493. package/src/sap/cux/home/utils/placeholder/{InsightsPlaceholder.js → CardsPlaceholder.js} +4 -78
  494. package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.js.map +1 -0
  495. package/src/sap/cux/home/utils/placeholder/{InsightsPlaceholder.ts → CardsPlaceholder.ts} +2 -76
  496. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.d.ts +8 -0
  497. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.d.ts.map +1 -0
  498. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.js +44 -0
  499. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.js.map +1 -0
  500. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.ts +34 -0
  501. package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.d.ts +8 -0
  502. package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.d.ts.map +1 -0
  503. package/src/sap/cux/home/utils/placeholder/{NewsAndPagesPlaceholder.js → PagesPlaceholder.js} +4 -24
  504. package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.js.map +1 -0
  505. package/src/sap/cux/home/utils/placeholder/{NewsAndPagesPlaceholder.ts → PagesPlaceholder.ts} +2 -22
  506. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.d.ts +8 -0
  507. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.d.ts.map +1 -0
  508. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.js +95 -0
  509. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.js.map +1 -0
  510. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.ts +85 -0
  511. package/src/sap/cux/home/utils/placeholder/ToDosPlaceholder.d.ts +1 -1
  512. package/src/sap/cux/home/utils/placeholder/ToDosPlaceholder.js +1 -1
  513. package/src/sap/cux/home/utils/placeholder/ToDosPlaceholder.js.map +1 -1
  514. package/src/sap/cux/home/utils/placeholder/ToDosPlaceholder.ts +1 -1
  515. package/ui5.yaml +1 -0
  516. package/src/sap/cux/home/InsightsContainer.d.ts +0 -205
  517. package/src/sap/cux/home/InsightsContainer.d.ts.map +0 -1
  518. package/src/sap/cux/home/InsightsContainer.js +0 -459
  519. package/src/sap/cux/home/InsightsContainer.js.map +0 -1
  520. package/src/sap/cux/home/InsightsContainer.ts +0 -489
  521. package/src/sap/cux/home/NewsAndPagesContainer.d.ts.map +0 -1
  522. package/src/sap/cux/home/NewsAndPagesContainer.js.map +0 -1
  523. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.d.ts +0 -8
  524. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.d.ts.map +0 -1
  525. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.js.map +0 -1
  526. package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.d.ts +0 -8
  527. package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.d.ts.map +0 -1
  528. package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
3
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
4
4
  */
5
- sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sap/m/CustomListItem", "sap/m/ExpandableText", "sap/m/FlexBox", "sap/m/GenericTile", "sap/m/HBox", "sap/m/Label", "sap/m/library", "sap/m/MessageToast", "sap/m/Text", "sap/m/VBox", "sap/ui/core/Fragment", "sap/ui/core/library", "sap/ui/model/ChangeReason", "sap/ui/model/json/JSONModel", "sap/ui/model/resource/ResourceModel", "sap/ui/model/Sorter", "sap/ushell/Container", "./AppsContainer", "./BaseSettingsPanel", "./FavAppPanel", "./InsightsContainer", "./utils/AppManager", "./utils/Constants", "./utils/DataFormatUtils", "./utils/FeatureUtils", "./utils/FESRUtil", "./utils/PXFeedback"], function (Localization, Log, Button, CustomListItem, ExpandableText, FlexBox, GenericTile, HBox, Label, sap_m_library, MessageToast, Text, VBox, Fragment, sap_ui_core_library, ChangeReason, JSONModel, ResourceModel, Sorter, Container, __AppsContainer, __BaseSettingsPanel, __FavAppPanel, __InsightsContainer, __AppManager, ___utils_Constants, ___utils_DataFormatUtils, ___utils_FeatureUtils, ___utils_FESRUtil, ___utils_PXFeedback) {
5
+ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sap/m/CustomListItem", "sap/m/ExpandableText", "sap/m/FlexBox", "sap/m/FlexItemData", "sap/m/GenericTile", "sap/m/HBox", "sap/m/Label", "sap/m/library", "sap/m/MessageToast", "sap/m/ObjectStatus", "sap/m/SegmentedButton", "sap/m/SegmentedButtonItem", "sap/m/Title", "sap/m/VBox", "sap/ui/core/Fragment", "sap/ui/core/library", "sap/ui/model/ChangeReason", "sap/ui/model/json/JSONModel", "sap/ui/model/resource/ResourceModel", "sap/ui/model/Sorter", "sap/ushell/Container", "./AppsContainer", "./BaseSettingsPanel", "./FavAppPanel", "./TilesContainer", "./utils/AppManager", "./utils/Constants", "./utils/DataFormatUtils", "./utils/FeatureUtils", "./utils/FESRUtil", "./utils/PXFeedback"], function (Localization, Log, Button, CustomListItem, ExpandableText, FlexBox, FlexItemData, GenericTile, HBox, Label, sap_m_library, MessageToast, ObjectStatus, SegmentedButton, SegmentedButtonItem, Title, VBox, Fragment, sap_ui_core_library, ChangeReason, JSONModel, ResourceModel, Sorter, Container, __AppsContainer, __BaseSettingsPanel, __FavAppPanel, __TilesContainer, __AppManager, ___utils_Constants, ___utils_DataFormatUtils, ___utils_FeatureUtils, ___utils_FESRUtil, ___utils_PXFeedback) {
6
6
  "use strict";
7
7
 
8
8
  function _interopRequireDefault(obj) {
@@ -31,7 +31,7 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
31
31
  }
32
32
  return finalizer(false, result);
33
33
  }
34
- const URLHelper = sap_m_library["URLHelper"];
34
+ const FlexAlignItems = sap_m_library["FlexAlignItems"];
35
35
  const _iteratorSymbol = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator")) : "@@iterator";
36
36
  function _settle(pact, state, value) {
37
37
  if (!pact.s) {
@@ -126,7 +126,7 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
126
126
  _cycle();
127
127
  return pact;
128
128
  }
129
- const ValueState = sap_ui_core_library["ValueState"];
129
+ const FlexDirection = sap_m_library["FlexDirection"];
130
130
  function _forOf(target, body, check) {
131
131
  if (typeof target[_iteratorSymbol] === "function") {
132
132
  var iterator = target[_iteratorSymbol](),
@@ -187,10 +187,15 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
187
187
  return body(values[i]);
188
188
  }, check);
189
189
  }
190
+ const FlexJustifyContent = sap_m_library["FlexJustifyContent"];
191
+ const FlexRendertype = sap_m_library["FlexRendertype"];
192
+ const URLHelper = sap_m_library["URLHelper"];
193
+ const TitleLevel = sap_ui_core_library["TitleLevel"];
194
+ const ValueState = sap_ui_core_library["ValueState"];
190
195
  const AppsContainer = _interopRequireDefault(__AppsContainer);
191
196
  const BaseSettingsPanel = _interopRequireDefault(__BaseSettingsPanel);
192
197
  const FavAppPanel = _interopRequireDefault(__FavAppPanel);
193
- const InsightsContainer = _interopRequireDefault(__InsightsContainer);
198
+ const TilesContainer = _interopRequireDefault(__TilesContainer);
194
199
  const AppManager = _interopRequireDefault(__AppManager);
195
200
  const AI_APP_FINDER_API = ___utils_Constants["AI_APP_FINDER_API"];
196
201
  const AI_APP_FINDER_BASE_URL = ___utils_Constants["AI_APP_FINDER_BASE_URL"];
@@ -207,7 +212,8 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
207
212
  const Constants = {
208
213
  DeprecatedInfoText: "deprecated",
209
214
  MinQueryLength: 2,
210
- MaxDescriptionLength: 2000
215
+ MaxQueryLength: 2000,
216
+ MaxDescriptionLength: 300
211
217
  };
212
218
  var SearchStatus = /*#__PURE__*/function (SearchStatus) {
213
219
  SearchStatus["Idle"] = "idle";
@@ -222,6 +228,7 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
222
228
  }(ErrorType || {});
223
229
  var TileType = /*#__PURE__*/function (TileType) {
224
230
  TileType["Static"] = "STATIC";
231
+ TileType["Dynamic"] = "DYNAMIC";
225
232
  return TileType;
226
233
  }(TileType || {});
227
234
  /**
@@ -318,84 +325,87 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
318
325
  const _this = this;
319
326
  return Promise.resolve(Container.getServiceAsync("VisualizationInstantiation")).then(function (_Container$getService) {
320
327
  _this.vizInstantiationService = _Container$getService;
321
- //load ui fragment
322
- return Promise.resolve(Fragment.load({
323
- id: `${_this.getId()}-content`,
324
- name: "sap.cux.home.utils.fragment.appsAdditionContent",
325
- controller: _this
326
- })).then(function (_Fragment$load) {
327
- const panelContent = _Fragment$load;
328
- _this.addAggregation("content", panelContent);
329
-
330
- //initialize ui model
331
- //bind suggested apps list
332
- //focus on the first item when the list is updated
333
- //bind search field
334
- _this.model = new JSONModel({
335
- query: "",
336
- hasError: false,
337
- errorType: ErrorType.NoResultsFound,
338
- errorDescription: "",
339
- searchStatus: SearchStatus.Idle,
340
- loadingAnimations: _this._generateSearchingAnimations(),
341
- suggestedAppsCount: 0,
342
- userSelectedApps: [],
343
- suggestedApps: [],
344
- aiPolicyText: _this._generateAIPolicyText(),
345
- invalidQuery: true,
346
- feedback: {
347
- thumbsUp: false,
348
- thumbsDown: false
349
- },
350
- sampleQueries: [{
351
- index: 1,
352
- query: _this._i18nBundle.getText("sampleQuery_1")
353
- }, {
354
- index: 2,
355
- query: _this._i18nBundle.getText("sampleQuery_2")
356
- }, {
357
- index: 3,
358
- query: _this._i18nBundle.getText("sampleQuery_3")
359
- }]
360
- });
361
- panelContent.setModel(_this.model);
362
- panelContent.setModel(new ResourceModel({
363
- bundleName: "sap.cux.home.i18n.messagebundle"
364
- }), "i18n");
365
- _this.addAppsButton.setModel(_this.model);
366
- _this.appSuggestionList = Fragment.byId(`${_this.getId()}-content`, "appsList");
367
- _this.appSuggestionList.bindAggregation("items", {
368
- path: "/suggestedApps",
369
- factory: _this._generateListItem.bind(_this),
370
- sorter: new Sorter({
371
- path: "status",
372
- comparator: (firstApp, secondApp) => {
373
- const getPriority = statusArray => {
374
- if (statusArray.length === 0) return 0; // Empty array has highest priority
328
+ const _temp = _catch(function () {
329
+ return Promise.resolve(Fragment.load({
330
+ id: recycleId(`${_this.getId()}-content`),
331
+ name: "sap.cux.home.utils.fragment.appsAdditionContent",
332
+ controller: _this
333
+ })).then(function (_Fragment$load) {
334
+ const panelContent = _Fragment$load;
335
+ _this.addAggregation("content", panelContent);
375
336
 
376
- const hasAlreadyAdded = statusArray.includes(_this._i18nBundle.getText("alreadyAddedApp"));
377
- const hasDeprecated = statusArray.includes(_this._i18nBundle.getText("deprecatedApp"));
378
- if (hasAlreadyAdded && hasDeprecated) return 3; // Both statuses - lowest priority
379
- if (hasAlreadyAdded) return 1; // Only "Already Added"
380
- if (hasDeprecated) return 2; // Only "Deprecated"
337
+ //initialize ui model
338
+ //bind suggested apps list
339
+ //focus on the first item when the list is updated
340
+ //bind search field
341
+ _this.model = new JSONModel({
342
+ query: "",
343
+ hasError: false,
344
+ errorType: ErrorType.NoResultsFound,
345
+ errorDescription: "",
346
+ searchStatus: SearchStatus.Idle,
347
+ loadingAnimations: _this._generateSearchingAnimations(),
348
+ suggestedAppsCount: 0,
349
+ userSelectedApps: [],
350
+ suggestedApps: [],
351
+ aiPolicyText: _this._generateAIPolicyText(),
352
+ invalidQuery: true,
353
+ feedback: {
354
+ thumbsUp: false,
355
+ thumbsDown: false
356
+ },
357
+ sampleQueries: [{
358
+ index: 1,
359
+ query: _this._i18nBundle.getText("sampleQuery_1")
360
+ }, {
361
+ index: 2,
362
+ query: _this._i18nBundle.getText("sampleQuery_2")
363
+ }, {
364
+ index: 3,
365
+ query: _this._i18nBundle.getText("sampleQuery_3")
366
+ }]
367
+ });
368
+ panelContent.setModel(_this.model);
369
+ panelContent.setModel(new ResourceModel({
370
+ bundleName: "sap.cux.home.i18n.messagebundle"
371
+ }), "i18n");
372
+ _this.addAppsButton.setModel(_this.model);
373
+ _this.appSuggestionList = Fragment.byId(`${_this.getId()}-content`, "appsList");
374
+ _this.appSuggestionList.bindAggregation("items", {
375
+ path: "/suggestedApps",
376
+ factory: _this._generateListItem.bind(_this),
377
+ sorter: new Sorter({
378
+ path: "",
379
+ comparator: (firstApp, secondApp) => {
380
+ const getPriority = app => {
381
+ const hasAlreadyAdded = app.isStaticApp ? app.addedToApps : app.addedToInsights;
382
+ const hasDeprecated = app.isDeprecated;
383
+ if (!hasAlreadyAdded && !hasDeprecated) return 0; // Neither status - highest priority
384
+ if (hasAlreadyAdded && hasDeprecated) return 3; // Both statuses - lowest priority
385
+ if (hasAlreadyAdded) return 1; // Only "Already Added"
386
+ if (hasDeprecated) return 2; // Only "Deprecated"
381
387
 
382
- return 4; // Any other combination (fallback)
383
- };
384
- const firstPriority = getPriority(firstApp);
385
- const secondPriority = getPriority(secondApp);
386
- return firstPriority - secondPriority;
388
+ return 4; // Any other combination (fallback)
389
+ };
390
+ const firstPriority = getPriority(firstApp);
391
+ const secondPriority = getPriority(secondApp);
392
+ return firstPriority - secondPriority;
393
+ }
394
+ })
395
+ });
396
+ _this.appSuggestionList.attachUpdateFinished(() => {
397
+ if (_this.model.getProperty("/suggestedAppsCount") > 0 && _this.model.getProperty("/searchStatus") === SearchStatus.Complete) {
398
+ _this.appSuggestionList.getItems()?.[0]?.focus();
387
399
  }
388
- })
389
- });
390
- _this.appSuggestionList.attachUpdateFinished(() => {
391
- if (_this.model.getProperty("/suggestedAppsCount") > 0 && _this.model.getProperty("/searchStatus") === SearchStatus.Complete) {
392
- _this.appSuggestionList.getItems()?.[0]?.focus();
393
- }
400
+ });
401
+ const searchTextArea = Fragment.byId(`${_this.getId()}-content`, "searchTextArea");
402
+ searchTextArea.onsapenter = _this.onPressGo.bind(_this);
394
403
  });
395
- const searchTextArea = Fragment.byId(`${_this.getId()}-content`, "searchTextArea");
396
- searchTextArea.onsapenter = _this.onPressGo.bind(_this);
404
+ }, function (error) {
405
+ Log.error("Failed to load panel content for AppsAdditionPanel:", error);
397
406
  });
398
- });
407
+ if (_temp && _temp.then) return _temp.then(function () {});
408
+ }); //load ui fragment
399
409
  } catch (e) {
400
410
  return Promise.reject(e);
401
411
  }
@@ -409,26 +419,47 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
409
419
  * @returns {CustomListItem} The generated list item control.
410
420
  */
411
421
  _generateListItem: function _generateListItem(id, context) {
412
- const isStaticApp = context.getProperty("isStaticApp");
413
422
  const langTag = Localization.getLanguageTag();
414
423
  const currentLanguage = langTag.language.toLowerCase();
415
424
  const isEnglishLanguage = currentLanguage.startsWith("en");
416
425
  const listItem = new CustomListItem(id, {
417
- selected: context.getProperty("addedToHomePage"),
426
+ //when toggled b/w app and tile view, the selection should update according to whether the app is already added to selected section
427
+ selected: {
428
+ path: "selectedView",
429
+ formatter: () => {
430
+ const isAppAlreadyAdded = this.isAppAlreadyAdded(context);
431
+ //bind associated checkbox to disable it when the app is already added
432
+ listItem.getMultiSelectControl(true).setEnabled(!isAppAlreadyAdded);
433
+ // if app is already added or if user has selected the app, mark it as selected
434
+ return isAppAlreadyAdded || this.userSelectedApps.has(listItem);
435
+ }
436
+ },
418
437
  content: [new FlexBox(recycleId(`${id}-result-container`), {
419
- renderType: "Bare",
420
- direction: isEnglishLanguage && isStaticApp ? "Column" : "Row",
421
- alignItems: isEnglishLanguage && isStaticApp ? "Start" : "Center",
422
- items: [this._getAppPreviewContainer(id, context), this._getAppDetailsContainer(id, context, isEnglishLanguage)]
423
- }).addStyleClass("sapUiSmallMargin")]
438
+ renderType: FlexRendertype.Bare,
439
+ direction: FlexDirection.Row,
440
+ gap: "1.5rem",
441
+ items: [this._getAppDetailsContainer(id, context, isEnglishLanguage), this._getAppPreviewContainer(id, context)]
442
+ }).addStyleClass("sapUiSmallMargin sapUiTinyMarginBegin")]
424
443
  });
425
-
426
- //bind associated checkbox to disable it when the app is already added to home page
427
- listItem.getMultiSelectControl(true).setEnabled(!context.getProperty("addedToHomePage"));
428
444
  return listItem;
429
445
  },
430
446
  /**
431
- * Creates a preview container for the suggested app.
447
+ * Cleans up resources when exiting the panel.
448
+ *
449
+ * @public
450
+ * @override
451
+ */
452
+ exit: function _exit() {
453
+ // Destroy fragments if they exist
454
+ const dialogId = `${this.getId()}-content`;
455
+ ["number", "query", "searchingAnimation"].forEach(elementId => {
456
+ const element = Fragment.byId(dialogId, elementId);
457
+ element?.destroy();
458
+ });
459
+ BaseSettingsPanel.prototype.exit.call(this);
460
+ },
461
+ /**
462
+ * Creates a preview container for the suggested app.
432
463
  *
433
464
  * @private
434
465
  * @param {string} id - The unique ID for the container.
@@ -437,33 +468,41 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
437
468
  */
438
469
  _getAppPreviewContainer: function _getAppPreviewContainer(id, context) {
439
470
  const container = new HBox(recycleId(`${id}-suggestedAppContainer`), {
440
- renderType: "Bare"
471
+ renderType: FlexRendertype.Bare,
472
+ width: "19rem",
473
+ layoutData: new FlexItemData({
474
+ growFactor: 0,
475
+ shrinkFactor: 0,
476
+ alignSelf: FlexAlignItems.Center
477
+ }),
478
+ justifyContent: FlexJustifyContent.Center
441
479
  });
442
- if (context.getProperty("isStaticApp")) {
443
- // create generic tile for static app
444
- container.addItem(new GenericTile(recycleId(`${id}-staticApp`), {
445
- mode: "IconMode",
446
- frameType: "TwoByHalf",
447
- width: "19rem",
448
- header: context.getProperty("title"),
449
- subheader: context.getProperty("subTitle"),
450
- tileIcon: context.getProperty("icon") || DEFAULT_APP_ICON,
451
- visible: context.getProperty("isStaticApp"),
452
- url: context.getProperty("url"),
453
- press: event => {
454
- this._persistDialog(this.getParent());
455
- URLHelper.redirect(event.getSource()?.getUrl(), false);
456
- }
457
- }).addStyleClass("suggestedTile"));
458
- } else {
459
- // create custom visualization for other apps
460
- const vizData = context.getProperty("vizData");
461
- const instance = this.vizInstantiationService.instantiateVisualization(vizData);
462
- instance?.setActive(true);
463
- instance?.attachPress(() => this._persistDialog(this.getParent()));
464
- container.addItem(instance);
465
- }
466
- return container;
480
+ container.addItem(new GenericTile(recycleId(`${id}-staticApp`), {
481
+ mode: "IconMode",
482
+ frameType: "TwoByHalf",
483
+ width: "19rem",
484
+ header: context.getProperty("title"),
485
+ subheader: context.getProperty("subTitle"),
486
+ tileIcon: context.getProperty("icon") || DEFAULT_APP_ICON,
487
+ visible: "{= ${selectedView} === 'STATIC'}",
488
+ url: context.getProperty("url"),
489
+ press: event => {
490
+ this._persistDialog(this.getParent());
491
+ URLHelper.redirect(event.getSource()?.getUrl(), false);
492
+ }
493
+ }).addStyleClass("suggestedTile"));
494
+ const vizData = context.getProperty("vizData");
495
+ // instantiate visualization for dynamic app
496
+ const vizInstance = this.vizInstantiationService.instantiateVisualization(vizData);
497
+ vizInstance?.setActive(true);
498
+ vizInstance?.setProperty("sizeBehavior", "Small", true);
499
+ vizInstance?.attachPress(() => this._persistDialog(this.getParent()));
500
+ vizInstance.bindProperty("visible", {
501
+ parts: ["selectedView"],
502
+ formatter: selectedView => selectedView !== TileType.Static
503
+ });
504
+ container.addItem(vizInstance);
505
+ return container.addStyleClass("suggestedAppPreviewContainer");
467
506
  },
468
507
  /**
469
508
  * Creates a details container for the suggested app.
@@ -477,23 +516,49 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
477
516
  _getAppDetailsContainer: function _getAppDetailsContainer(id, context, isEnglishLanguage) {
478
517
  let description = isEnglishLanguage ? context.getProperty("description") : this._i18nBundle.getText("NoDescriptionAvailable");
479
518
  return new VBox(recycleId(`${id}-app-details-container`), {
480
- renderType: "Bare",
481
- gap: "0.5rem",
482
- items: [new ExpandableText(recycleId(`${id}-description`), {
519
+ renderType: FlexRendertype.Bare,
520
+ gap: "1rem",
521
+ layoutData: new FlexItemData({
522
+ growFactor: 1
523
+ }),
524
+ items: [new HBox(recycleId(`${id}-title-container`), {
525
+ gap: "0.5rem",
526
+ alignItems: FlexAlignItems.Center,
527
+ renderType: FlexRendertype.Bare,
528
+ items: [new Title(recycleId(`${id}-app-title`), {
529
+ text: context.getProperty("title"),
530
+ titleStyle: TitleLevel.H6
531
+ }), new ObjectStatus(recycleId(`${id}-deprecatedApp`), {
532
+ text: this._i18nBundle.getText("deprecatedApp"),
533
+ icon: "sap-icon://alert",
534
+ state: ValueState.Warning,
535
+ visible: context.getProperty("isDeprecated")
536
+ })]
537
+ }), new ExpandableText(recycleId(`${id}-description`), {
483
538
  text: description,
484
- maxCharacters: Constants.MaxDescriptionLength
485
- }), new HBox(recycleId(`${id}-app-status-container`), {
486
- renderType: "Bare",
487
- visible: context.getProperty("status").length > 0,
488
- items: [new Label(recycleId(`${id}-appStatusLabel`), {
489
- text: this._i18nBundle.getText("appStatus"),
490
- showColon: true
491
- }), new HBox(recycleId(`${id}-app-status-texts`), {
492
- renderType: "Bare",
493
- items: this._generateStatusTexts(id, context.getProperty("status"))
494
- }).addStyleClass("sapUiTinyMarginBegin statusTextsContainer")]
539
+ maxCharacters: Constants.MaxDescriptionLength,
540
+ layoutData: new FlexItemData({
541
+ growFactor: 1
542
+ })
543
+ }),
544
+ // app actions container
545
+ new HBox(recycleId(`${id}-app-actions-container`), {
546
+ renderType: FlexRendertype.Bare,
547
+ gap: "1.5rem",
548
+ alignItems: FlexAlignItems.Center,
549
+ items: [this.getAppViewTypeAction(id), new ObjectStatus(recycleId(`${id}-alreadyAddedStatus`), {
550
+ text: "{i18n>alreadyAddedApp}",
551
+ icon: "sap-icon://sys-enter-2",
552
+ state: "Success",
553
+ visible: {
554
+ parts: ["selectedView"],
555
+ formatter: () => {
556
+ return this.isAppAlreadyAdded(context);
557
+ }
558
+ }
559
+ })]
495
560
  })]
496
- }).addStyleClass(isEnglishLanguage && context.getProperty("isStaticApp") ? "sapUiSmallMarginTop" : "sapUiSmallMarginBegin");
561
+ });
497
562
  },
498
563
  /**
499
564
  * Checks if the Apps Addition Panel is supported. Internally, it checks if the
@@ -508,7 +573,7 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
508
573
  isSupported: function _isSupported() {
509
574
  try {
510
575
  const _this2 = this;
511
- function _temp3() {
576
+ function _temp4() {
512
577
  //remove panel if it's not supported
513
578
  if (!_this2.isPanelSupported) {
514
579
  _this2.removeActionButton(_this2.addAppsButton);
@@ -524,20 +589,20 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
524
589
  action: "propose"
525
590
  }
526
591
  };
527
- const _temp2 = function () {
592
+ const _temp3 = function () {
528
593
  if (_this2.isPanelSupported === undefined) {
529
594
  _this2.isPanelSupported = false;
530
- const _temp = function () {
595
+ const _temp2 = function () {
531
596
  if (_this2.getFavAppPanel()) {
532
597
  return Promise.resolve(isNavigationSupportedForFeature(FEATURE_TOGGLES.AI_SMART_APPFINDER, appsIntent)).then(function (_isNavigationSupporte) {
533
598
  _this2.isPanelSupported = _isNavigationSupporte;
534
599
  });
535
600
  }
536
601
  }();
537
- if (_temp && _temp.then) return _temp.then(function () {});
602
+ if (_temp2 && _temp2.then) return _temp2.then(function () {});
538
603
  }
539
604
  }();
540
- return Promise.resolve(_temp2 && _temp2.then ? _temp2.then(_temp3) : _temp3(_temp2));
605
+ return Promise.resolve(_temp3 && _temp3.then ? _temp3.then(_temp4) : _temp4(_temp3));
541
606
  } catch (e) {
542
607
  return Promise.reject(e);
543
608
  }
@@ -572,14 +637,18 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
572
637
  return [`<svg height="167" fill="none">
573
638
  ${loadingShimmer}
574
639
  <rect x="16" y="75" width="16" height="16" rx="4" fill="var(--sapContent_Placeholderloading_Background)"/>
575
- <rect x="48" y="16" width="37%" height="70" rx="16" fill="url(#loadingShimmer)"/>
576
- <rect x="48" y="102" width="93%" height="48" rx="4" fill="url(#loadingShimmer)"/>
640
+ <rect x="48" y="16" width="30%" height="16" rx="4" fill="url(#loadingShimmer)"/>
641
+ <rect x="48" y="54" width="57%" height="64" rx="4" fill="url(#loadingShimmer)"/>
642
+ <rect x="48" y="130" width="16%" height="24" rx="4" fill="url(#loadingShimmer)"/>
643
+ <rect x="600" y="50" width="303" height="70" rx="16" fill="url(#loadingShimmer)"/>
577
644
  </svg>`, `<svg height="180" fill="none">
578
645
  ${loadingShimmer}
579
646
  <rect x="16" y="82" width="16" height="16" rx="4" fill="var(--sapContent_Placeholderloading_Background)"/>
580
- <rect x="48" y="16" width="148" height="148" rx="16" fill="url(#loadingShimmer)"/>
581
- <rect x="212" y="54" width="75%" height="48" rx="4" fill="url(#loadingShimmer)"/>
582
- <rect x="212" y="110" width="13%" height="16" rx="4" fill="url(#loadingShimmer)"/>
647
+ <rect x="48" y="16" width="30%" height="16" rx="4" fill="url(#loadingShimmer)"/>
648
+ <rect x="48" y="54" width="57%" height="64" rx="4" fill="url(#loadingShimmer)"/>
649
+ <rect x="48" y="140" width="16%" height="24" rx="4" fill="url(#loadingShimmer)"/>
650
+ <rect x="210" y="140" width="10%" height="24" rx="4" fill="url(#loadingShimmer)"/>
651
+ <rect x="675" y="16" width="148" height="148" rx="16" fill="url(#loadingShimmer)"/>
583
652
  </svg>`];
584
653
  },
585
654
  /**
@@ -607,6 +676,20 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
607
676
  });
608
677
  this.userSelectedApps?.clear();
609
678
  },
679
+ setIllustrationSize: function _setIllustrationSize() {
680
+ const containerDom = Fragment.byId(`${this.getId()}-content`, "container")?.getDomRef();
681
+ if (containerDom) {
682
+ const clientHeight = containerDom.clientHeight;
683
+ const illustratedMessage = Fragment.byId(`${this.getId()}-content`, "beforeSearch");
684
+ if (clientHeight <= 500) {
685
+ illustratedMessage.setIllustrationSize("ExtraSmall");
686
+ } else if (500 < clientHeight && clientHeight < 650) {
687
+ illustratedMessage.setIllustrationSize("Small");
688
+ } else {
689
+ illustratedMessage.setIllustrationSize("Medium");
690
+ }
691
+ }
692
+ },
610
693
  /**
611
694
  * Handles the "Go" button press event for searching suggested apps.
612
695
  *
@@ -619,18 +702,18 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
619
702
  // validate query
620
703
  const query = _this3.model.getProperty("/query");
621
704
  if (!_this3.isValidQuery(query)) return Promise.resolve();
622
- const _temp5 = _finallyRethrows(function () {
705
+ const _temp6 = _finallyRethrows(function () {
623
706
  return _catch(function () {
624
707
  // initiate search
625
708
  _this3.resetSearch();
626
709
  return Promise.resolve(_this3.fetchAppsFromSearch(query)).then(function (rawApps) {
627
- const _temp4 = function () {
710
+ const _temp5 = function () {
628
711
  if (_this3.model.getProperty("/searchStatus") === SearchStatus.Searching) {
629
712
  return Promise.resolve(_this3.fetchAllAvailableVisualizations()).then(function (allVisualizations) {
630
713
  return Promise.resolve(_this3.appManagerInstance.fetchFavVizs(true, true)).then(function (favoriteApps) {
631
714
  return Promise.resolve(_this3.appManagerInstance.fetchInsightApps(true, _this3._i18nBundle.getText("insights"))).then(function (insightsApps) {
632
715
  // generate suggested apps
633
- const apps = _this3._generateApps(rawApps, allVisualizations, [...favoriteApps, ...insightsApps]);
716
+ const apps = _this3._generateApps(rawApps, allVisualizations, favoriteApps, insightsApps);
634
717
  return Promise.resolve(_this3._filterUnsupportedApps(apps)).then(function (suggestedApps) {
635
718
  if (suggestedApps.length === 0 && !_this3.model.getProperty("/hasError")) {
636
719
  _this3._handleError("", suggestedApps.length);
@@ -648,7 +731,7 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
648
731
  });
649
732
  }
650
733
  }();
651
- if (_temp4 && _temp4.then) return _temp4.then(function () {});
734
+ if (_temp5 && _temp5.then) return _temp5.then(function () {});
652
735
  }); // suggest apps if there are results and search is not cancelled
653
736
  }, function (err) {
654
737
  const message = err.message || "";
@@ -663,7 +746,7 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
663
746
  if (_wasThrown) throw _result;
664
747
  return _result;
665
748
  });
666
- return Promise.resolve(_temp5 && _temp5.then ? _temp5.then(function () {}) : void 0);
749
+ return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
667
750
  } catch (e) {
668
751
  return Promise.reject(e);
669
752
  }
@@ -694,13 +777,16 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
694
777
  * @private
695
778
  * @param {RawAppData[]} rawApps - The raw app data to process.
696
779
  * @param {IVisualization[]} allVisualizations - All available visualizations.
697
- * @param {ICustomVisualization[]} homePageVisualizations - Visualizations available in homepage.
780
+ * @param {ICustomVisualization[]} favoriteApps - Favorite apps available in homepage.
781
+ * @param {ICustomVisualization[]} insightsApps - Insights apps available in homepage.
698
782
  * @returns {SuggestedApp[]} The list of suggested apps.
699
783
  */
700
- _generateApps: function _generateApps(rawApps, allVisualizations, homePageVisualizations) {
784
+ _generateApps: function _generateApps(rawApps, allVisualizations, favoriteApps, insightsApps) {
701
785
  return rawApps.map(app => {
702
786
  const vizData = allVisualizations.find(viz => viz.vizId === app.chipID);
703
- const addedToHomePage = homePageVisualizations.some(viz => viz.visualization?.vizId === app.chipID);
787
+ const addedToApps = favoriteApps.some(viz => viz.visualization?.vizId === app.chipID);
788
+ const addedToInsights = insightsApps.some(viz => viz.visualization?.vizId === app.chipID);
789
+ const tileConfig = this.parseTileConfiguration(app.configuration);
704
790
  return {
705
791
  title: app.title,
706
792
  chipID: app.chipID,
@@ -708,10 +794,12 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
708
794
  description: app.appDescription,
709
795
  icon: app.iconUrl,
710
796
  vizData,
711
- addedToHomePage,
797
+ addedToApps,
798
+ addedToInsights,
712
799
  isStaticApp: app.tileType === TileType.Static,
713
- status: this.getAppStatusTexts(app.configuration, addedToHomePage),
714
- url: vizData?.targetURL || ""
800
+ url: vizData?.targetURL || "",
801
+ isDeprecated: (tileConfig?.display_info_text || "").toLowerCase() === Constants.DeprecatedInfoText,
802
+ selectedView: app.tileType === TileType.Static ? TileType.Static : TileType.Dynamic
715
803
  };
716
804
  });
717
805
  },
@@ -724,7 +812,7 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
724
812
  */
725
813
  isValidQuery: function _isValidQuery(query = "") {
726
814
  query = query?.trim();
727
- return query.length >= Constants.MinQueryLength && query.length <= Constants.MaxDescriptionLength;
815
+ return query.length >= Constants.MinQueryLength && query.length <= Constants.MaxQueryLength;
728
816
  },
729
817
  /**
730
818
  * Fetches all available visualizations for the user.
@@ -736,10 +824,10 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
736
824
  fetchAllAvailableVisualizations: function _fetchAllAvailableVisualizations() {
737
825
  try {
738
826
  const _this4 = this;
739
- function _temp7() {
827
+ function _temp8() {
740
828
  return _this4.allAvailableVisualizations;
741
829
  }
742
- const _temp6 = function () {
830
+ const _temp7 = function () {
743
831
  if (!_this4.allAvailableVisualizations) {
744
832
  return Promise.resolve(Container.getServiceAsync("SearchableContent")).then(function (searchableContentService) {
745
833
  return Promise.resolve(searchableContentService.getApps({
@@ -752,7 +840,7 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
752
840
  });
753
841
  }
754
842
  }();
755
- return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(_temp7) : _temp7(_temp6));
843
+ return Promise.resolve(_temp7 && _temp7.then ? _temp7.then(_temp8) : _temp8(_temp7));
756
844
  } catch (e) {
757
845
  return Promise.reject(e);
758
846
  }
@@ -808,14 +896,14 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
808
896
  UserInput: query
809
897
  })
810
898
  })).then(function (response) {
811
- let _exit = false;
812
- function _temp9(_result2) {
813
- return _exit ? _result2 : Promise.resolve(response.json()).then(function (_response$json2) {
899
+ let _exit2 = false;
900
+ function _temp0(_result2) {
901
+ return _exit2 ? _result2 : Promise.resolve(response.json()).then(function (_response$json2) {
814
902
  const queryResult = _response$json2;
815
903
  return queryResult.value || [];
816
904
  });
817
905
  }
818
- const _temp8 = function () {
906
+ const _temp9 = function () {
819
907
  if (!response.ok) {
820
908
  return Promise.resolve(response.json()).then(function (_response$json) {
821
909
  const errorResponse = _response$json;
@@ -824,71 +912,13 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
824
912
  }
825
913
  }();
826
914
  // handle error responses
827
- return _temp8 && _temp8.then ? _temp8.then(_temp9) : _temp9(_temp8);
915
+ return _temp9 && _temp9.then ? _temp9.then(_temp0) : _temp0(_temp9);
828
916
  });
829
917
  });
830
918
  } catch (e) {
831
919
  return Promise.reject(e);
832
920
  }
833
921
  },
834
- /**
835
- * Retrieves status texts for an app based on its configuration and homepage status.
836
- *
837
- * @private
838
- * @param {string} configuration - The app's configuration string.
839
- * @param {boolean} addedToHomePage - Indicates if the app is already added to the homepage.
840
- * @returns {string[]} An array of status texts for the app.
841
- */
842
- getAppStatusTexts: function _getAppStatusTexts(configuration, addedToHomePage) {
843
- let statusTexts = [];
844
- if (configuration) {
845
- try {
846
- const parsedConfig = JSON.parse(configuration);
847
- const tileConfig = JSON.parse(parsedConfig?.tileConfiguration);
848
- const infoText = (tileConfig?.display_info_text || "").toLowerCase();
849
- if (infoText === Constants.DeprecatedInfoText) {
850
- statusTexts.push(this._i18nBundle.getText("deprecatedApp"));
851
- }
852
- } catch (error) {
853
- Log.warning(error.message);
854
- }
855
- }
856
- if (addedToHomePage) {
857
- statusTexts.push(this._i18nBundle.getText("alreadyAddedApp"));
858
- }
859
- return statusTexts;
860
- },
861
- /**
862
- * Generates status text controls for the provided status texts.
863
- *
864
- * @private
865
- * @param {string} id - The id of the list item.
866
- * @param {string[]} stausTexts - The list of status texts.
867
- * @returns {Text[]} An array of Text controls with applied styles.
868
- */
869
- _generateStatusTexts: function _generateStatusTexts(id, stausTexts) {
870
- return stausTexts.map((status, index) => {
871
- return new Text(recycleId(`${id}-statusText-${index}`), {
872
- text: status
873
- }).addStyleClass(this.applyStatusClass(status));
874
- });
875
- },
876
- /**
877
- * Applies a CSS class to the status text based on its type.
878
- *
879
- * @private
880
- * @param {string} status - The status text to classify.
881
- * @returns {string} The CSS class for the status text.
882
- */
883
- applyStatusClass: function _applyStatusClass(status) {
884
- if (status === this._i18nBundle.getText("alreadyAddedApp")) {
885
- return "addedAppStatusText";
886
- } else if (status === this._i18nBundle.getText("deprecatedApp")) {
887
- return "deprecatedAppStatusText";
888
- } else {
889
- return "";
890
- }
891
- },
892
922
  /**
893
923
  * Handles the "Add Apps" button press event to add selected apps to favorites.
894
924
  *
@@ -898,9 +928,9 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
898
928
  onPressAddApps: function _onPressAddApps() {
899
929
  try {
900
930
  const _this6 = this;
901
- function _temp13() {
902
- function _temp11() {
903
- function _temp1() {
931
+ function _temp14() {
932
+ function _temp12() {
933
+ function _temp10() {
904
934
  _this6.getParent()?.close();
905
935
  if (userSelectedApps.length > 1) {
906
936
  MessageToast.show(_this6._i18nBundle.getText("contentAddedToMyhome"));
@@ -912,31 +942,31 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
912
942
  }
913
943
  _this6.resetPanel();
914
944
  }
915
- const _temp0 = function () {
945
+ const _temp1 = function () {
916
946
  if (dynamicAppsPresent) {
917
947
  return Promise.resolve(_this6.refreshInsightsApps()).then(function () {});
918
948
  }
919
949
  }();
920
- return _temp0 && _temp0.then ? _temp0.then(_temp1) : _temp1(_temp0);
950
+ return _temp1 && _temp1.then ? _temp1.then(_temp10) : _temp10(_temp1);
921
951
  }
922
- const _temp10 = function () {
952
+ const _temp11 = function () {
923
953
  if (staticAppsPresent) {
924
954
  return Promise.resolve(_this6.refreshFavoriteApps()).then(function () {});
925
955
  }
926
956
  }();
927
- return _temp10 && _temp10.then ? _temp10.then(_temp11) : _temp11(_temp10);
957
+ return _temp11 && _temp11.then ? _temp11.then(_temp12) : _temp12(_temp11);
928
958
  }
929
959
  triggerPXIntegration("addAppsButton");
930
960
  const userSelectedApps = _this6.model.getProperty("/userSelectedApps");
931
961
  let staticAppsPresent = false;
932
962
  let dynamicAppsPresent = false;
933
- const _temp12 = _forOf(userSelectedApps, function (app) {
934
- const isStaticApp = app.getBindingContext()?.getProperty("isStaticApp");
963
+ const _temp13 = _forOf(userSelectedApps, function (app) {
964
+ const isStaticApp = app.getBindingContext()?.getProperty("selectedView") === TileType.Static;
935
965
  if (isStaticApp) staticAppsPresent = true;else dynamicAppsPresent = true;
936
966
  const vizId = app.getBindingContext()?.getProperty("chipID");
937
967
  return Promise.resolve(_this6.appManagerInstance.addVisualization(vizId, isStaticApp ? undefined : MYINSIGHT_SECTION_ID)).then(function () {});
938
968
  });
939
- return Promise.resolve(_temp12 && _temp12.then ? _temp12.then(_temp13) : _temp13(_temp12));
969
+ return Promise.resolve(_temp13 && _temp13.then ? _temp13.then(_temp14) : _temp14(_temp13));
940
970
  } catch (e) {
941
971
  return Promise.reject(e);
942
972
  }
@@ -983,16 +1013,16 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
983
1013
  }
984
1014
  },
985
1015
  /**
986
- * Retrieves the InsightsContainer instance from the parent layout.
1016
+ * Retrieves the TilesContainer instance from the parent layout.
987
1017
  *
988
1018
  * @private
989
- * @returns {InsightsContainer | undefined} The AppsContainer instance or undefined if not found.
1019
+ * @returns {TilesContainer | undefined} The AppsContainer instance or undefined if not found.
990
1020
  */
991
- getInsightsContainer: function _getInsightsContainer() {
992
- return this.getLayout()?.getItems().find(container => container instanceof InsightsContainer);
1021
+ getTilesContainer: function _getTilesContainer() {
1022
+ return this.getLayout()?.getItems().find(container => container instanceof TilesContainer);
993
1023
  },
994
1024
  /**
995
- * Refreshes the Insights tiles panel in the InsightsContainer.
1025
+ * Refreshes the Insights tiles panel in the TilesContainer.
996
1026
  *
997
1027
  * @private
998
1028
  * @async
@@ -1000,7 +1030,7 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
1000
1030
  refreshInsightsApps: function _refreshInsightsApps() {
1001
1031
  try {
1002
1032
  const _this8 = this;
1003
- return Promise.resolve(_this8.getInsightsContainer()?.refreshData("tiles")).then(function () {});
1033
+ return Promise.resolve(_this8.getTilesContainer()?.refreshData("tiles")).then(function () {});
1004
1034
  } catch (e) {
1005
1035
  return Promise.reject(e);
1006
1036
  }
@@ -1016,8 +1046,7 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
1016
1046
  const selected = event.getParameter("selected");
1017
1047
  if (!selected) this.userSelectedApps.delete(listItem);else {
1018
1048
  const context = listItem.getBindingContext();
1019
- const addedToHomePage = context?.getProperty("addedToHomePage");
1020
- if (!addedToHomePage) this.userSelectedApps.add(listItem);
1049
+ if (context && !this.isAppAlreadyAdded(context)) this.userSelectedApps.add(listItem);
1021
1050
  }
1022
1051
  this.model.setProperty("/userSelectedApps", Array.from(this.userSelectedApps));
1023
1052
  },
@@ -1062,7 +1091,7 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
1062
1091
  if (query.length !== 0 && query.length < Constants.MinQueryLength) {
1063
1092
  textArea.setValueState(ValueState.Information);
1064
1093
  textArea.setValueStateText(this._i18nBundle.getText("minLengthRequired"));
1065
- } else if (query.length > Constants.MaxDescriptionLength) {
1094
+ } else if (query.length > Constants.MaxQueryLength) {
1066
1095
  textArea.setValueState(ValueState.Warning);
1067
1096
  textArea.setValueStateText(this._i18nBundle.getText("maxLengthExceeded"));
1068
1097
  } else {
@@ -1104,6 +1133,73 @@ sap.ui.define(["sap/base/i18n/Localization", "sap/base/Log", "sap/m/Button", "sa
1104
1133
  MessageToast.show(this._i18nBundle.getText("feedBackSent"), {
1105
1134
  width: "20em"
1106
1135
  });
1136
+ },
1137
+ /**
1138
+ * Creates the action to change view type (App / Tile) for suggested app.
1139
+ *
1140
+ * @private
1141
+ * @param {string} id - The unique ID for the container.
1142
+ * @returns {HBox} The app view action container.
1143
+ */
1144
+ getAppViewTypeAction: function _getAppViewTypeAction(id) {
1145
+ const appViewToggleButton = new SegmentedButton(recycleId(`${id}-app-addAs-segmentedBtn`), {
1146
+ selectedKey: "{selectedView}",
1147
+ items: [new SegmentedButtonItem(recycleId(`${id}-addAs-app`), {
1148
+ key: TileType.Static,
1149
+ text: this._i18nBundle.getText("addAsApp")
1150
+ }), new SegmentedButtonItem(recycleId(`${id}-addAs-tile`), {
1151
+ key: TileType.Dynamic,
1152
+ text: this._i18nBundle.getText("addAsTile")
1153
+ })]
1154
+ });
1155
+ const appViewLabel = new Label(recycleId(`${id}-addAsLabel`), {
1156
+ text: this._i18nBundle.getText("addAs"),
1157
+ showColon: true
1158
+ });
1159
+ try {
1160
+ appViewToggleButton.setProperty("contentMode", "ContentFit");
1161
+ appViewLabel.setWidth("100%");
1162
+ } catch (error) {
1163
+ Log.error(error instanceof Error ? error.message : error);
1164
+ }
1165
+ return new HBox(recycleId(`${id}-app-addAs-container`), {
1166
+ renderType: FlexRendertype.Bare,
1167
+ alignItems: FlexAlignItems.Center,
1168
+ gap: "0.25rem",
1169
+ items: [appViewLabel, appViewToggleButton]
1170
+ });
1171
+ },
1172
+ /**
1173
+ * Determines if an app is already added to the appropriate section based on its type and selected view.
1174
+ * For static apps or apps with Static view selected, checks if added to favorites apps section.
1175
+ * For dynamic apps with Dynamic view selected, checks if added to insights section.
1176
+ *
1177
+ * @private
1178
+ * @param {Context} context - The binding context for the app to check.
1179
+ * @returns {boolean} True if the app is already added to the corresponding section, false otherwise.
1180
+ */
1181
+ isAppAlreadyAdded: function _isAppAlreadyAdded(context) {
1182
+ const selectedAppView = context.getProperty("selectedView");
1183
+ return selectedAppView === TileType.Static ? context.getProperty("addedToApps") : context.getProperty("addedToInsights");
1184
+ },
1185
+ /**
1186
+ * Parses the tile configuration string from raw app configuration.
1187
+ *
1188
+ * @private
1189
+ * @param {string} configuration - The raw app configuration string containing tile settings.
1190
+ * @returns {TileConfig | null} The parsed tile configuration object or null if parsing fails.
1191
+ */
1192
+ parseTileConfiguration: function _parseTileConfiguration(configuration) {
1193
+ if (configuration) {
1194
+ try {
1195
+ const parsedConfig = JSON.parse(configuration);
1196
+ const tileConfig = JSON.parse(parsedConfig?.tileConfiguration);
1197
+ return tileConfig;
1198
+ } catch (error) {
1199
+ Log.warning(error.message);
1200
+ }
1201
+ }
1202
+ return null;
1107
1203
  }
1108
1204
  });
1109
1205
  return AppsAdditionPanel;