@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
@@ -1 +1 @@
1
- {"version":3,"file":"BaseSettingsPanel.js","names":["sap","ui","define","DragDropInfo","Element","Lib","sap_ui_core_library","___utils_DragDropUtils","dnd","attachKeyboardHandler","BaseSettingsPanel","extend","metadata","library","properties","key","type","group","defaultValue","visibility","title","icon","showHeader","defaultAggregation","aggregations","content","singularName","multiple","actionButtons","associations","panel","events","panelNavigated","parameters","context","onDialogClose","constructor","_constructor","id","settings","Element.prototype.constructor.call","_keyuserChanges","init","_init","_i18nBundle","getResourceBundleFor","_actionButtonsCache","_getPanel","getElementById","getAssociation","_persistDialog","dialog","layout","getParent","keyMap","dialogName","getMetadata","getName","persistPropertyName","undefined","setProperty","getKeyUserChanges","_getKeyUserChanges","addKeyUserChanges","_addKeyUserChanges","change","push","clearKeyUserChanges","_clearKeyUserChanges","addDragDropConfigTo","_addDragDropConfigTo","container","dropHandler","addDragDropConfig","getId","sourceAggregation","targetAggregation","dropPosition","DropPosition","On","dropLayout","DropLayout","Horizontal","drop","attachBrowserEvent","event","disableNavigation","metaKey","ctrlKey","dragDropEvent","getActionButtons","_getActionButtons","slice","addActionButton","_addActionButton","button","addAggregation","insertActionButton","_insertActionButton","index","splice","insertAggregation","removeActionButton","_removeActionButton","removedButton","indexOf","removeAggregation","isSupported","_isSupported","Promise","resolve","e","reject"],"sources":["BaseSettingsPanel.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\nimport ResourceBundle from \"sap/base/i18n/ResourceBundle\";\nimport Button from \"sap/m/Button\";\nimport Table from \"sap/m/Table\";\nimport DragDropInfo from \"sap/ui/core/dnd/DragDropInfo\";\nimport { DropInfo$DropEvent } from \"sap/ui/core/dnd/DropInfo\";\nimport type { MetadataOptions } from \"sap/ui/core/Element\";\nimport Element from \"sap/ui/core/Element\";\nimport Lib from \"sap/ui/core/Lib\";\nimport { dnd } from \"sap/ui/core/library\";\nimport BaseLayout from \"./BaseLayout\";\nimport BasePanel from \"./BasePanel\";\nimport BaseSettingsDialog from \"./BaseSettingsDialog\";\nimport { $BaseSettingsPanelSettings } from \"./BaseSettingsPanel\";\nimport { IKeyUserChange } from \"./interface/KeyUserInterface\";\nimport { attachKeyboardHandler } from \"./utils/DragDropUtils\";\n\n/**\n *\n * Abstract base class for panels inside My Home Settings Dialog.\n *\n * @extends sap.ui.core.Element\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.121\n *\n * @internal\n * @experimental Since 1.121\n * @abstract\n * @public\n *\n * @alias sap.cux.home.BaseSettingsPanel\n */\nexport default abstract class BaseSettingsPanel extends Element {\n\tprotected _i18nBundle!: ResourceBundle;\n\tprivate _keyuserChanges: Array<IKeyUserChange> = [];\n\tprivate _actionButtonsCache!: Button[];\n\n\tconstructor(id?: string | $BaseSettingsPanelSettings);\n\tconstructor(id?: string, settings?: $BaseSettingsPanelSettings);\n\t/**\n\t * Constructor for a new Base Settings Panel.\n\t *\n\t * @param {string} [id] ID for the new control, generated automatically if an ID is not provided\n\t * @param {object} [settings] Initial settings for the new control\n\t */\n\tpublic constructor(id?: string, settings?: $BaseSettingsPanelSettings) {\n\t\tsuper(id, settings);\n\t}\n\n\tstatic readonly metadata: MetadataOptions = {\n\t\tlibrary: \"sap.cux.home\",\n\t\tproperties: {\n\t\t\t/**\n\t\t\t * Key of the settings panel.\n\t\t\t */\n\t\t\tkey: { type: \"string\", group: \"Misc\", defaultValue: \"\", visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Title of the settings panel.\n\t\t\t */\n\t\t\ttitle: { type: \"string\", group: \"Misc\", defaultValue: \"\", visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Icon of the settings panel.\n\t\t\t */\n\t\t\ticon: { type: \"sap.ui.core.URI\", group: \"Misc\", defaultValue: \"\", visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Specifies if header should be shown for the settings panel page.\n\t\t\t */\n\t\t\tshowHeader: { type: \"boolean\", group: \"Misc\", defaultValue: true, visibility: \"hidden\" }\n\t\t},\n\t\tdefaultAggregation: \"content\",\n\t\taggregations: {\n\t\t\t/**\n\t\t\t * Content aggregation of the settings panel.\n\t\t\t */\n\t\t\tcontent: { type: \"sap.ui.core.Control\", singularName: \"content\", multiple: true, visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Holds the actions to be shown within the settings panel.\n\t\t\t */\n\t\t\tactionButtons: { type: \"sap.m.Button\", multiple: true, singularName: \"actionButton\", visibility: \"hidden\" }\n\t\t},\n\t\tassociations: {\n\t\t\t/**\n\t\t\t * Associations of the settings panel.\n\t\t\t * Id of the panel associated with the settings panel to be provided.\n\t\t\t * In case of multiple panels with same Id, the first panel will be associated.\n\t\t\t * If no panel is found with the provided id, the settings panel will not be associated with any panel.\n\t\t\t */\n\t\t\tpanel: { type: \"string\" }\n\t\t},\n\t\tevents: {\n\t\t\t/**\n\t\t\t * Fired whenever the panel has been navigated to.\n\t\t\t */\n\t\t\tpanelNavigated: {\n\t\t\t\tparameters: {\n\t\t\t\t\tcontext: { type: \"object\" }\n\t\t\t\t}\n\t\t\t},\n\t\t\t/**\n\t\t\t * Fired whenever the associated settings dialog is closed.\n\t\t\t */\n\t\t\tonDialogClose: {}\n\t\t}\n\t};\n\n\t/**\n\t * Init lifecycle method\n\t *\n\t * @public\n\t * @override\n\t */\n\tpublic init(): void {\n\t\tthis._i18nBundle = Lib.getResourceBundleFor(\"sap.cux.home.i18n\") as ResourceBundle;\n\t\tthis._actionButtonsCache = [];\n\t}\n\n\t/**\n\t * Retrieves the BasePanel or BaseLayout associated with the BaseSettingsPanel.\n\t *\n\t * @returns {BasePanel | BaseLayout} The panel or layout associated with the BaseSettingsPanel\n\t * @private\n\t */\n\tprotected _getPanel(): BasePanel | BaseLayout {\n\t\treturn Element.getElementById(this.getAssociation(\"panel\", null) as string) as BasePanel | BaseLayout;\n\t}\n\n\t/**\n\t * Persists the dialog state by setting a property on the parent layout\n\t * indicating that the settings dialog should be persisted.\n\t *\n\t * @private\n\t */\n\tprotected _persistDialog(dialog: BaseSettingsDialog): void {\n\t\tconst layout = dialog?.getParent() as BaseLayout;\n\t\tconst keyMap = {\n\t\t\t\"sap.cux.home.SettingsDialog\": \"settingsDialogPersisted\",\n\t\t\t\"sap.cux.home.ContentAdditionDialog\": \"contentAdditionDialogPersisted\"\n\t\t};\n\n\t\tconst dialogName = dialog.getMetadata().getName();\n\t\tconst persistPropertyName = dialogName in keyMap ? keyMap[dialogName as keyof typeof keyMap] : undefined;\n\n\t\tif (persistPropertyName) {\n\t\t\tlayout?.setProperty(persistPropertyName, true, true);\n\t\t}\n\t}\n\n\t/**\n\t * Returns the KeyUser Changes made by user.\n\t *\n\t * @public\n\t */\n\tpublic getKeyUserChanges(): Array<IKeyUserChange> {\n\t\treturn this._keyuserChanges;\n\t}\n\n\t/**\n\t * Add Changes made by user in case of KeyUser Settings Panel.\n\t *\n\t * @public\n\t */\n\tpublic addKeyUserChanges(change: IKeyUserChange): void {\n\t\tthis._keyuserChanges.push(change);\n\t}\n\n\t/**\n\t * Clear all KeyUser Changes made by user.\n\t *\n\t * @public\n\t */\n\tpublic clearKeyUserChanges(): void {\n\t\tthis._keyuserChanges = [];\n\t}\n\tprotected addDragDropConfigTo(container: Table, dropHandler: (event: DropInfo$DropEvent) => void): void {\n\t\tcontainer\n\t\t\t.addDragDropConfig(\n\t\t\t\tnew DragDropInfo(`${container.getId()}--settingsDragDropConfig`, {\n\t\t\t\t\tsourceAggregation: \"items\",\n\t\t\t\t\ttargetAggregation: \"items\",\n\t\t\t\t\tdropPosition: dnd.DropPosition.On,\n\t\t\t\t\tdropLayout: dnd.DropLayout.Horizontal,\n\t\t\t\t\tdrop: dropHandler\n\t\t\t\t})\n\t\t\t)\n\t\t\t.attachBrowserEvent(\"keydown\", (event: KeyboardEvent) => {\n\t\t\t\tconst disableNavigation = event.metaKey || event.ctrlKey;\n\t\t\t\tvoid attachKeyboardHandler(event, disableNavigation, (dragDropEvent: DropInfo$DropEvent) => {\n\t\t\t\t\tdropHandler(dragDropEvent);\n\t\t\t\t});\n\t\t\t});\n\t}\n\n\t/**\n\t * Retrieves the action buttons from the panel.\n\t *\n\t * @public\n\t * @returns {Button[]} array of action buttons.\n\t */\n\tpublic getActionButtons(): Button[] {\n\t\treturn this._actionButtonsCache.slice();\n\t}\n\n\t/**\n\t * Adds an action button to the panel.\n\t *\n\t * @public\n\t * @param {Button} button - The button to add.\n\t * @returns {BaseSettingsPanel} The instance of the panel for chaining.\n\t */\n\tpublic addActionButton(button: Button): BaseSettingsPanel {\n\t\tthis._actionButtonsCache.push(button);\n\t\tthis.addAggregation(\"actionButtons\", button);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Inserts an action button at a specific index in the panel.\n\t *\n\t * @public\n\t * @param {Button} button - The button to insert.\n\t * @param {number} index - The index at which to insert the button.\n\t * @returns {BaseSettingsPanel} The instance of the panel for chaining.\n\t */\n\tpublic insertActionButton(button: Button, index: number): BaseSettingsPanel {\n\t\tthis._actionButtonsCache.splice(index, 0, button);\n\t\tthis.insertAggregation(\"actionButtons\", button, index);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Removes an action button from the panel.\n\t *\n\t * @public\n\t * @param {Button} button - The button to remove.\n\t * @returns {Button | null} The removed button or null if not found.\n\t */\n\tpublic removeActionButton(button: Button): Button | null {\n\t\tconst removedButton = this._actionButtonsCache.splice(this._actionButtonsCache.indexOf(button), 1);\n\t\tthis.removeAggregation(\"actionButtons\", button);\n\t\treturn removedButton[0] || null;\n\t}\n\n\t/**\n\t * Checks if the panel is supported. To be overridden by subclasses.\n\t *\n\t * @public\n\t * @async\n\t * @returns {Promise<boolean>} A promise that resolves to true if the panel is supported.\n\t */\n\tpublic async isSupported(): Promise<boolean> {\n\t\treturn Promise.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.js","names":["sap","ui","define","DragDropInfo","Element","Lib","sap_ui_core_library","___utils_DragDropUtils","dnd","attachKeyboardHandler","BaseSettingsPanel","extend","metadata","library","properties","key","type","group","defaultValue","visibility","title","icon","showHeader","defaultAggregation","aggregations","content","singularName","multiple","actionButtons","associations","panel","events","panelNavigated","parameters","context","onDialogClose","constructor","_constructor","id","settings","Element.prototype.constructor.call","_keyuserChanges","init","_init","_i18nBundle","getResourceBundleFor","_actionButtonsCache","_getPanel","getElementById","getAssociation","_persistDialog","dialog","layout","getParent","keyMap","dialogName","getMetadata","getName","persistPropertyName","undefined","setProperty","getKeyUserChanges","_getKeyUserChanges","addKeyUserChanges","_addKeyUserChanges","change","push","clearKeyUserChanges","_clearKeyUserChanges","addDragDropConfigTo","_addDragDropConfigTo","container","dropHandler","addDragDropConfig","getId","sourceAggregation","targetAggregation","dropPosition","DropPosition","On","dropLayout","DropLayout","Horizontal","drop","attachBrowserEvent","event","disableNavigation","metaKey","ctrlKey","dragDropEvent","getActionButtons","_getActionButtons","slice","addActionButton","_addActionButton","button","addAggregation","insertActionButton","_insertActionButton","index","splice","insertAggregation","removeActionButton","_removeActionButton","removedButton","indexOf","removeAggregation","isSupported","_isSupported","Promise","resolve","e","reject"],"sources":["BaseSettingsPanel.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\nimport ResourceBundle from \"sap/base/i18n/ResourceBundle\";\nimport Button from \"sap/m/Button\";\nimport Table from \"sap/m/Table\";\nimport DragDropInfo from \"sap/ui/core/dnd/DragDropInfo\";\nimport { DropInfo$DropEvent } from \"sap/ui/core/dnd/DropInfo\";\nimport type { MetadataOptions } from \"sap/ui/core/Element\";\nimport Element from \"sap/ui/core/Element\";\nimport Lib from \"sap/ui/core/Lib\";\nimport { dnd } from \"sap/ui/core/library\";\nimport BaseLayout from \"./BaseLayout\";\nimport BasePanel from \"./BasePanel\";\nimport { $BaseSettingsPanelSettings } from \"./BaseSettingsPanel\";\nimport { IKeyUserChange } from \"./interface/KeyUserInterface\";\nimport { attachKeyboardHandler } from \"./utils/DragDropUtils\";\nimport BaseSettingsDialog from \"./BaseSettingsDialog\";\n\n/**\n *\n * Abstract base class for panels inside My Home Settings Dialog.\n *\n * @extends sap.ui.core.Element\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.121\n *\n * @internal\n * @abstract\n * @public\n *\n * @alias sap.cux.home.BaseSettingsPanel\n */\nexport default abstract class BaseSettingsPanel extends Element {\n\tprotected _i18nBundle!: ResourceBundle;\n\tprivate _keyuserChanges: Array<IKeyUserChange> = [];\n\tprivate _actionButtonsCache!: Button[];\n\n\tconstructor(id?: string | $BaseSettingsPanelSettings);\n\tconstructor(id?: string, settings?: $BaseSettingsPanelSettings);\n\t/**\n\t * Constructor for a new Base Settings Panel.\n\t *\n\t * @param {string} [id] ID for the new control, generated automatically if an ID is not provided\n\t * @param {object} [settings] Initial settings for the new control\n\t */\n\tpublic constructor(id?: string, settings?: $BaseSettingsPanelSettings) {\n\t\tsuper(id, settings);\n\t}\n\n\tstatic readonly metadata: MetadataOptions = {\n\t\tlibrary: \"sap.cux.home\",\n\t\tproperties: {\n\t\t\t/**\n\t\t\t * Key of the settings panel.\n\t\t\t */\n\t\t\tkey: { type: \"string\", group: \"Misc\", defaultValue: \"\", visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Title of the settings panel.\n\t\t\t */\n\t\t\ttitle: { type: \"string\", group: \"Misc\", defaultValue: \"\", visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Icon of the settings panel.\n\t\t\t */\n\t\t\ticon: { type: \"sap.ui.core.URI\", group: \"Misc\", defaultValue: \"\", visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Specifies if header should be shown for the settings panel page.\n\t\t\t */\n\t\t\tshowHeader: { type: \"boolean\", group: \"Misc\", defaultValue: true, visibility: \"hidden\" }\n\t\t},\n\t\tdefaultAggregation: \"content\",\n\t\taggregations: {\n\t\t\t/**\n\t\t\t * Content aggregation of the settings panel.\n\t\t\t */\n\t\t\tcontent: { type: \"sap.ui.core.Control\", singularName: \"content\", multiple: true, visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Holds the actions to be shown within the settings panel.\n\t\t\t */\n\t\t\tactionButtons: { type: \"sap.m.Button\", multiple: true, singularName: \"actionButton\", visibility: \"hidden\" }\n\t\t},\n\t\tassociations: {\n\t\t\t/**\n\t\t\t * Associations of the settings panel.\n\t\t\t * Id of the panel associated with the settings panel to be provided.\n\t\t\t * In case of multiple panels with same Id, the first panel will be associated.\n\t\t\t * If no panel is found with the provided id, the settings panel will not be associated with any panel.\n\t\t\t */\n\t\t\tpanel: { type: \"string\" }\n\t\t},\n\t\tevents: {\n\t\t\t/**\n\t\t\t * Fired whenever the panel has been navigated to.\n\t\t\t */\n\t\t\tpanelNavigated: {\n\t\t\t\tparameters: {\n\t\t\t\t\tcontext: { type: \"object\" }\n\t\t\t\t}\n\t\t\t},\n\t\t\t/**\n\t\t\t * Fired whenever the associated settings dialog is closed.\n\t\t\t */\n\t\t\tonDialogClose: {}\n\t\t}\n\t};\n\n\t/**\n\t * Init lifecycle method\n\t *\n\t * @public\n\t * @override\n\t */\n\tpublic init(): void {\n\t\tthis._i18nBundle = Lib.getResourceBundleFor(\"sap.cux.home.i18n\") as ResourceBundle;\n\t\tthis._actionButtonsCache = [];\n\t}\n\n\t/**\n\t * Retrieves the BasePanel or BaseLayout associated with the BaseSettingsPanel.\n\t *\n\t * @returns {BasePanel | BaseLayout} The panel or layout associated with the BaseSettingsPanel\n\t * @private\n\t */\n\tprotected _getPanel(): BasePanel | BaseLayout {\n\t\treturn Element.getElementById(this.getAssociation(\"panel\", null) as string) as BasePanel | BaseLayout;\n\t}\n\n\t/**\n\t * Persists the dialog state by setting a property on the parent layout\n\t * indicating that the settings dialog should be persisted.\n\t *\n\t * @private\n\t */\n\tprotected _persistDialog(dialog: BaseSettingsDialog): void {\n\t\tconst layout = dialog?.getParent() as BaseLayout;\n\t\tconst keyMap = {\n\t\t\t\"sap.cux.home.SettingsDialog\": \"settingsDialogPersisted\",\n\t\t\t\"sap.cux.home.ContentAdditionDialog\": \"contentAdditionDialogPersisted\"\n\t\t};\n\n\t\tconst dialogName = dialog.getMetadata().getName();\n\t\tconst persistPropertyName = dialogName in keyMap ? keyMap[dialogName as keyof typeof keyMap] : undefined;\n\n\t\tif (persistPropertyName) {\n\t\t\tlayout?.setProperty(persistPropertyName, true, true);\n\t\t}\n\t}\n\n\t/**\n\t * Returns the KeyUser Changes made by user.\n\t *\n\t * @public\n\t */\n\tpublic getKeyUserChanges(): Array<IKeyUserChange> {\n\t\treturn this._keyuserChanges;\n\t}\n\n\t/**\n\t * Add Changes made by user in case of KeyUser Settings Panel.\n\t *\n\t * @public\n\t */\n\tpublic addKeyUserChanges(change: IKeyUserChange): void {\n\t\tthis._keyuserChanges.push(change);\n\t}\n\n\t/**\n\t * Clear all KeyUser Changes made by user.\n\t *\n\t * @public\n\t */\n\tpublic clearKeyUserChanges(): void {\n\t\tthis._keyuserChanges = [];\n\t}\n\tprotected addDragDropConfigTo(container: Table, dropHandler: (event: DropInfo$DropEvent) => void): void {\n\t\tcontainer\n\t\t\t.addDragDropConfig(\n\t\t\t\tnew DragDropInfo(`${container.getId()}--settingsDragDropConfig`, {\n\t\t\t\t\tsourceAggregation: \"items\",\n\t\t\t\t\ttargetAggregation: \"items\",\n\t\t\t\t\tdropPosition: dnd.DropPosition.On,\n\t\t\t\t\tdropLayout: dnd.DropLayout.Horizontal,\n\t\t\t\t\tdrop: dropHandler\n\t\t\t\t})\n\t\t\t)\n\t\t\t.attachBrowserEvent(\"keydown\", (event: KeyboardEvent) => {\n\t\t\t\tconst disableNavigation = event.metaKey || event.ctrlKey;\n\t\t\t\tvoid attachKeyboardHandler(event, disableNavigation, (dragDropEvent: DropInfo$DropEvent) => {\n\t\t\t\t\tdropHandler(dragDropEvent);\n\t\t\t\t});\n\t\t\t});\n\t}\n\n\t/**\n\t * Retrieves the action buttons from the panel.\n\t *\n\t * @public\n\t * @returns {Button[]} array of action buttons.\n\t */\n\tpublic getActionButtons(): Button[] {\n\t\treturn this._actionButtonsCache.slice();\n\t}\n\n\t/**\n\t * Adds an action button to the panel.\n\t *\n\t * @public\n\t * @param {Button} button - The button to add.\n\t * @returns {BaseSettingsPanel} The instance of the panel for chaining.\n\t */\n\tpublic addActionButton(button: Button): BaseSettingsPanel {\n\t\tthis._actionButtonsCache.push(button);\n\t\tthis.addAggregation(\"actionButtons\", button);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Inserts an action button at a specific index in the panel.\n\t *\n\t * @public\n\t * @param {Button} button - The button to insert.\n\t * @param {number} index - The index at which to insert the button.\n\t * @returns {BaseSettingsPanel} The instance of the panel for chaining.\n\t */\n\tpublic insertActionButton(button: Button, index: number): BaseSettingsPanel {\n\t\tthis._actionButtonsCache.splice(index, 0, button);\n\t\tthis.insertAggregation(\"actionButtons\", button, index);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Removes an action button from the panel.\n\t *\n\t * @public\n\t * @param {Button} button - The button to remove.\n\t * @returns {Button | null} The removed button or null if not found.\n\t */\n\tpublic removeActionButton(button: Button): Button | null {\n\t\tconst removedButton = this._actionButtonsCache.splice(this._actionButtonsCache.indexOf(button), 1);\n\t\tthis.removeAggregation(\"actionButtons\", button);\n\t\treturn removedButton[0] || null;\n\t}\n\n\t/**\n\t * Checks if the panel is supported. To be overridden by subclasses.\n\t *\n\t * @public\n\t * @async\n\t * @returns {Promise<boolean>} A promise that resolves to true if the panel is supported.\n\t */\n\tpublic async isSupported(): Promise<boolean> {\n\t\treturn Promise.resolve(true);\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,uIAAAC,YAAA,EAAAC,OAAA,EAAAC,GAAA,EAAAC,mBAAA,EAAAC,sBAAA;EAAA;;EAAA,MAaSC,GAAG,GAAAF,mBA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mBAAmB,CAACoB,IAAI,CAAC6B,MAAM,CAAC;MACrC,IAAI,CAACC,cAAc,CAAC,eAAe,EAAED,MAAM,CAAC;MAC5C,OAAO,IAAI;IACZ,CAAC;IAED;AACD;AACA;AACA;AACA;AACA;AACA;AACA;IACQE,kBAAkB,WAAAC,oBAACH,MAAc,EAAEI,KAAa,EAAqB;MAC3E,IAAI,CAACrD,mBAAmB,CAACsD,MAAM,CAACD,KAAK,EAAE,CAAC,EAAEJ,MAAM,CAAC;MACjD,IAAI,CAACM,iBAAiB,CAAC,eAAe,EAAEN,MAAM,EAAEI,KAAK,CAAC;MACtD,OAAO,IAAI;IACZ,CAAC;IAED;AACD;AACA;AACA;AACA;AACA;AACA;IACQG,kBAAkB,WAAAC,oBAACR,MAAc,EAAiB;MACxD,MAAMS,aAAa,GAAG,IAAI,CAAC1D,mBAAmB,CAACsD,MAAM,CAAC,IAAI,CAACtD,mBAAmB,CAAC2D,OAAO,CAACV,MAAM,CAAC,EAAE,CAAC,CAAC;MAClG,IAAI,CAACW,iBAAiB,CAAC,eAAe,EAAEX,MAAM,CAAC;MAC/C,OAAOS,aAAa,CAAC,CAAC,CAAC,IAAI,IAAI;IAChC,CAAC;IAED;AACD;AACA;AACA;AACA;AACA;AACA;IACcG,WAAW,WAAAC,aAAA;MAAA,IAAqB;QAC5C,OAAOC,OAAO,CAACC,OAAO,CAAC,IAAI,CAAC;MAC7B,CAAC,QAAAC,CAAA;QAAA,OAAAF,OAAA,CAAAG,MAAA,CAAAD,CAAA;MAAA;IAAA;EAAA;EAAA,OA3N4BrG,iBAAiB;AAAA","ignoreList":[]}
@@ -14,10 +14,10 @@ import Lib from "sap/ui/core/Lib";
14
14
  import { dnd } from "sap/ui/core/library";
15
15
  import BaseLayout from "./BaseLayout";
16
16
  import BasePanel from "./BasePanel";
17
- import BaseSettingsDialog from "./BaseSettingsDialog";
18
17
  import { $BaseSettingsPanelSettings } from "./BaseSettingsPanel";
19
18
  import { IKeyUserChange } from "./interface/KeyUserInterface";
20
19
  import { attachKeyboardHandler } from "./utils/DragDropUtils";
20
+ import BaseSettingsDialog from "./BaseSettingsDialog";
21
21
 
22
22
  /**
23
23
  *
@@ -30,7 +30,6 @@ import { attachKeyboardHandler } from "./utils/DragDropUtils";
30
30
  * @since 1.121
31
31
  *
32
32
  * @internal
33
- * @experimental Since 1.121
34
33
  * @abstract
35
34
  * @public
36
35
  *
@@ -48,7 +48,6 @@ declare module "sap/cux/home/CardsPanel" {
48
48
  * @since 1.122.0
49
49
  *
50
50
  * @internal
51
- * @experimental Since 1.122
52
51
  * @public
53
52
  *
54
53
  * @alias sap.cux.home.CardsPanel
@@ -1 +1 @@
1
- {"version":3,"file":"CardsPanel.d.ts","sourceRoot":"../../../../..","sources":["src/sap/cux/home/CardsPanel.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,yBAAyB,CAAC;IAYzC,OAAO,MAAM,MAAM,cAAc,CAAC;IAKlC,OAAsB,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;IAW3E,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;IAE1D,OAAO,SAAS,MAAM,wBAAwB,CAAC;IAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;IAE9D,OAAO,QAAQ,MAAM,uBAAuB,CAAC;IA8B7C,OAAO,kBAA4C,MAAM,uCAAuC,CAAC;IAEjG,KAAY,cAAc;QACzB,OAAO,kBAAkB;QACzB,UAAU,oBAAoB;QAC9B,eAAe,2BAA2B;KAC1C;IAED,KAAY,uBAAuB;QAClC,OAAO,4BAA4B;QACnC,UAAU,8BAA8B;QACxC,SAAS,qCAAqC;QAC9C,eAAe,qCAAqC;KACpD;IAED,KAAY,2BAA2B;QACtC,SAAS,wCAAwC;KACjD;IACD,MAAM,eAAe,EAAE,CAAC,cAAc,GAAG,MAAM,CAAC,EAM/C,CAAC;IAEF,UAAU,gBAAgB;QACzB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,O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"sap/f/GridContainer", "sap/f/GridContainerSettin
85
85
  * @since 1.122.0
86
86
  *
87
87
  * @internal
88
- * @experimental Since 1.122
89
88
  * @public
90
89
  *
91
90
  * @alias sap.cux.home.CardsPanel
@@ -564,19 +563,18 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
564
563
  */
565
564
  renderPanel: function _renderPanel() {
566
565
  try {
567
- const _this10 = this;
566
+ const _this0 = this;
568
567
  function _temp6() {
569
- return Promise.resolve(_this10.rerenderCards()).then(function () {
570
- _this10.fireEvent("loaded");
568
+ return Promise.resolve(_this0.rerenderCards()).then(function () {
569
+ _this0.fireEvent("loaded");
571
570
  });
572
571
  }
573
572
  const _temp5 = function () {
574
- if (!_this10.cardHelperInstance) {
575
- _this10.pageManagerInstance = _this10.pageManagerInstance || getPageManagerInstance(_this10);
576
- return Promise.resolve(Promise.all([CardHelper.getServiceAsync(), _this10.pageManagerInstance.hasCustomSpace()])).then(function (_ref) {
577
- let [cardHelperInstance, hasCustomSpace] = _ref;
578
- _this10.cardHelperInstance = cardHelperInstance;
579
- _this10.hasCustomSpace = hasCustomSpace;
573
+ if (!_this0.cardHelperInstance) {
574
+ _this0.pageManagerInstance = _this0.pageManagerInstance || getPageManagerInstance(_this0);
575
+ return Promise.resolve(Promise.all([CardHelper.getServiceAsync(), _this0.pageManagerInstance.hasCustomSpace()])).then(function ([cardHelperInstance, hasCustomSpace]) {
576
+ _this0.cardHelperInstance = cardHelperInstance;
577
+ _this0.hasCustomSpace = hasCustomSpace;
580
578
  });
581
579
  }
582
580
  }();
@@ -591,34 +589,33 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
591
589
  * @private
592
590
  * @returns {Promise<void>} A promise that resolves when the cards are rerendered.
593
591
  */
594
- rerenderCards: function _rerenderCards() {
595
- let skipRecommendation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
592
+ rerenderCards: function _rerenderCards(skipRecommendation = false) {
596
593
  try {
597
- const _this11 = this;
598
- if (!_this11._cardsRendered) {
599
- _this11._cardsRendered = new Promise((resolve, reject) => {
594
+ const _this1 = this;
595
+ if (!_this1._cardsRendered) {
596
+ _this1._cardsRendered = new Promise((resolve, reject) => {
600
597
  void function () {
601
598
  try {
602
- const _temp12 = _catch(function () {
599
+ const _temp10 = _catch(function () {
603
600
  // Enable placeholders after updating/rerendering cards
604
- const sDefaultAggreName = _this11._getCardContainer().getMetadata().getDefaultAggregationName();
605
- _this11._getCardContainer().removeAllAggregation(sDefaultAggreName);
606
- _this11._showPlaceHolders();
601
+ const sDefaultAggreName = _this1._getCardContainer().getMetadata().getDefaultAggregationName();
602
+ _this1._getCardContainer().removeAllAggregation(sDefaultAggreName);
603
+ _this1._showPlaceHolders();
607
604
  // Fetch Cards from insights service
608
- var preferedCardIDs = _this11.hasCustomSpace ? PREFERED_CARDS : [];
609
- return Promise.resolve(_this11.cardHelperInstance?._getUserVisibleCardModel(preferedCardIDs)).then(function (userVisibleCardModel) {
605
+ var preferedCardIDs = _this1.hasCustomSpace ? PREFERED_CARDS : [];
606
+ return Promise.resolve(_this1.cardHelperInstance?._getUserVisibleCardModel(preferedCardIDs)).then(function (userVisibleCardModel) {
610
607
  const aCards = userVisibleCardModel.getProperty("/cards");
611
608
  const listBinding = userVisibleCardModel?.bindList("/cards");
612
609
  if (!listBinding.hasListeners("change")) {
613
610
  listBinding?.enableExtendedChangeDetection(true, "/cards", {});
614
611
  listBinding?.attachChange(function () {
615
612
  try {
616
- return Promise.resolve(_this11._cardsRendered ?? Promise.resolve()).then(function () {
613
+ return Promise.resolve(_this1._cardsRendered ?? Promise.resolve()).then(function () {
617
614
  const visibleCards = userVisibleCardModel.getProperty("/cards");
618
- if (visibleCards.length !== _this11.aVisibleCardInstances.length && visibleCards.length > 0) {
619
- _this11._showCards(visibleCards);
615
+ if (visibleCards.length !== _this1.aVisibleCardInstances.length && visibleCards.length > 0) {
616
+ _this1._showCards(visibleCards);
620
617
  } else if (!visibleCards.length) {
621
- _this11.fireHandleHidePanel();
618
+ _this1.fireHandleHidePanel();
622
619
  }
623
620
  });
624
621
  } catch (e) {
@@ -626,55 +623,55 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
626
623
  }
627
624
  });
628
625
  }
629
- _this11._controlModel.setProperty("/userVisibleCards", aCards);
630
- return Promise.resolve(_this11.getPersonalisationProperty(RECOMMENDATION_PATH)).then(function (showRecommendation) {
631
- function _temp11() {
632
- _this11._cardsRendered = undefined;
626
+ _this1._controlModel.setProperty("/userVisibleCards", aCards);
627
+ return Promise.resolve(_this1.getPersonalisationProperty(RECOMMENDATION_PATH)).then(function (showRecommendation) {
628
+ function _temp1() {
629
+ _this1._cardsRendered = undefined;
633
630
  resolve();
634
631
  }
635
- const _temp10 = function () {
632
+ const _temp0 = function () {
636
633
  if (aCards.length === 0 && showRecommendation === undefined && !skipRecommendation) {
637
- return Promise.resolve(_this11._getRecommendationCards()).then(function () {});
634
+ return Promise.resolve(_this1._getRecommendationCards()).then(function () {});
638
635
  } else {
639
636
  const _temp9 = function () {
640
637
  if (aCards.length) {
641
638
  function _temp8() {
642
639
  // from available cards, check for old recommended cards and update it if present,
643
640
  // else show available visible cards
644
- return Promise.resolve(_this11.checkForRecommendedCards(aCards)).then(function () {});
641
+ return Promise.resolve(_this1.checkForRecommendedCards(aCards)).then(function () {});
645
642
  }
646
643
  const _temp7 = function () {
647
644
  if (showRecommendation === undefined) {
648
- return Promise.resolve(_this11._updateRecommendationStatus()).then(function () {});
645
+ return Promise.resolve(_this1._updateRecommendationStatus()).then(function () {});
649
646
  }
650
647
  }();
651
648
  return _temp7 && _temp7.then ? _temp7.then(_temp8) : _temp8(_temp7);
652
649
  } else {
653
- _this11.fireHandleHidePanel();
650
+ _this1.fireHandleHidePanel();
654
651
  }
655
652
  }();
656
653
  if (_temp9 && _temp9.then) return _temp9.then(function () {});
657
654
  }
658
655
  }();
659
- return _temp10 && _temp10.then ? _temp10.then(_temp11) : _temp11(_temp10);
656
+ return _temp0 && _temp0.then ? _temp0.then(_temp1) : _temp1(_temp0);
660
657
  });
661
658
  });
662
659
  }, function (error) {
663
- _this11.fireHandleHidePanel();
664
- _this11._cardsRendered = undefined;
660
+ _this1.fireHandleHidePanel();
661
+ _this1._cardsRendered = undefined;
665
662
  if (error instanceof Error) {
666
663
  Log.error(error.message);
667
664
  reject(error);
668
665
  }
669
666
  });
670
- return Promise.resolve(_temp12 && _temp12.then ? _temp12.then(function () {}) : void 0);
667
+ return Promise.resolve(_temp10 && _temp10.then ? _temp10.then(function () {}) : void 0);
671
668
  } catch (e) {
672
669
  return Promise.reject(e);
673
670
  }
674
671
  }();
675
672
  });
676
673
  }
677
- return Promise.resolve(_this11._cardsRendered);
674
+ return Promise.resolve(_this1._cardsRendered);
678
675
  } catch (e) {
679
676
  return Promise.reject(e);
680
677
  }
@@ -685,12 +682,12 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
685
682
  */
686
683
  setNewVisibleCards: function _setNewVisibleCards() {
687
684
  try {
688
- const _this12 = this;
689
- var preferedCardIDs = _this12.hasCustomSpace ? PREFERED_CARDS : [];
690
- return Promise.resolve(_this12.cardHelperInstance._getUserVisibleCardModel(preferedCardIDs)).then(function (visibleCardModel) {
685
+ const _this10 = this;
686
+ var preferedCardIDs = _this10.hasCustomSpace ? PREFERED_CARDS : [];
687
+ return Promise.resolve(_this10.cardHelperInstance._getUserVisibleCardModel(preferedCardIDs)).then(function (visibleCardModel) {
691
688
  const aNewCards = visibleCardModel.getProperty("/cards");
692
- _this12._controlModel.setProperty("/userVisibleCards", aNewCards);
693
- _this12._showCards(aNewCards);
689
+ _this10._controlModel.setProperty("/userVisibleCards", aNewCards);
690
+ _this10._showCards(aNewCards);
694
691
  });
695
692
  } catch (e) {
696
693
  return Promise.reject(e);
@@ -710,7 +707,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
710
707
  */
711
708
  checkForRecommendedCards: function _checkForRecommendedCards(aCards) {
712
709
  try {
713
- const _this13 = this;
710
+ const _this11 = this;
714
711
  let manifestIds = [];
715
712
  aCards.forEach((oVisCard, idx) => {
716
713
  let oCard = oVisCard.descriptorContent;
@@ -726,24 +723,24 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
726
723
  });
727
724
  return Promise.resolve(function () {
728
725
  if (manifestIds.length) {
729
- const uniqueManifestDetails = _this13.getUniqueManifestDetails(manifestIds);
730
- return Promise.resolve(_this13.regenerateCards(uniqueManifestDetails, manifestIds)).then(function (aUpdatedCards) {
726
+ const uniqueManifestDetails = _this11.getUniqueManifestDetails(manifestIds);
727
+ return Promise.resolve(_this11.regenerateCards(uniqueManifestDetails, manifestIds)).then(function (aUpdatedCards) {
731
728
  let _exit2 = false;
732
- function _temp14(_result2) {
733
- return _exit2 ? _result2 : Promise.resolve(_this13.setNewVisibleCards()).then(function () {});
729
+ function _temp12(_result2) {
730
+ return _exit2 ? _result2 : Promise.resolve(_this11.setNewVisibleCards()).then(function () {});
734
731
  }
735
- const _temp13 = function () {
732
+ const _temp11 = function () {
736
733
  if (aUpdatedCards?.length) {
737
734
  // Update the model with updated cards
738
- return Promise.resolve(_this13.cardHelperInstance._updateCards(aUpdatedCards.map(oCard => oCard?.newManifest?.descriptorContent))).then(function () {});
735
+ return Promise.resolve(_this11.cardHelperInstance._updateCards(aUpdatedCards.map(oCard => oCard?.newManifest?.descriptorContent))).then(function () {});
739
736
  } else {
740
737
  _exit2 = true;
741
738
  }
742
739
  }();
743
- return _temp13 && _temp13.then ? _temp13.then(_temp14) : _temp14(_temp13);
740
+ return _temp11 && _temp11.then ? _temp11.then(_temp12) : _temp12(_temp11);
744
741
  });
745
742
  } else {
746
- _this13._showCards(aCards);
743
+ _this11._showCards(aCards);
747
744
  }
748
745
  }());
749
746
  } catch (e) {
@@ -784,9 +781,9 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
784
781
  */
785
782
  _getManifests: function _getManifests(manifestIds) {
786
783
  try {
787
- const _this14 = this;
784
+ const _this12 = this;
788
785
  // from the provided manifestIds which are unique generate new recommended card manifests
789
- return Promise.resolve(_this14.appManagerInstance._getCardManifest(undefined, manifestIds)).then(function (aManifests) {
786
+ return Promise.resolve(_this12.appManagerInstance._getCardManifest(undefined, manifestIds)).then(function (aManifests) {
790
787
  if (aManifests?.length) {
791
788
  let aRegeneratedCards = aManifests.map(function (oCard) {
792
789
  if (oCard?.["sap.card"]) {
@@ -798,7 +795,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
798
795
  };
799
796
  });
800
797
  // sometimes same card is recommended more than once, hence remove such duplicates
801
- let mappedResults = _this14._removeDuplicateRegeneratedCards(aRegeneratedCards, manifestIds);
798
+ let mappedResults = _this12._removeDuplicateRegeneratedCards(aRegeneratedCards, manifestIds);
802
799
  return mappedResults;
803
800
  } else {
804
801
  return [];
@@ -825,9 +822,9 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
825
822
  */
826
823
  regenerateCards: function _regenerateCards(manifestIds, allManifestIds) {
827
824
  try {
828
- const _this15 = this;
825
+ const _this13 = this;
829
826
  return Promise.resolve(_catch(function () {
830
- return Promise.resolve(_this15._getManifests(manifestIds)).then(function (aMappedManifest) {
827
+ return Promise.resolve(_this13._getManifests(manifestIds)).then(function (aMappedManifest) {
831
828
  // create unique identifier for each card based on its id and target properties.
832
829
  const createUniqueKey = item => {
833
830
  if (item?.target?.semanticObject && item?.target?.action) {
@@ -934,20 +931,20 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
934
931
  */
935
932
  _getPersonalizationData: function _getPersonalizationData() {
936
933
  try {
937
- const _this16 = this;
938
- function _temp16() {
939
- return Promise.resolve(_this16.oPersonalizer.read()).then(function (oPersData) {
934
+ const _this14 = this;
935
+ function _temp14() {
936
+ return Promise.resolve(_this14.oPersonalizer.read()).then(function (oPersData) {
940
937
  return oPersData || {};
941
938
  });
942
939
  }
943
- const _temp15 = function () {
944
- if (!_this16.oPersonalizer) {
945
- return Promise.resolve(_this16._getPersonalization()).then(function (_this16$_getPersonali) {
946
- _this16.oPersonalizer = _this16$_getPersonali;
940
+ const _temp13 = function () {
941
+ if (!_this14.oPersonalizer) {
942
+ return Promise.resolve(_this14._getPersonalization()).then(function (_this14$_getPersonali) {
943
+ _this14.oPersonalizer = _this14$_getPersonali;
947
944
  });
948
945
  }
949
946
  }();
950
- return Promise.resolve(_temp15 && _temp15.then ? _temp15.then(_temp16) : _temp16(_temp15));
947
+ return Promise.resolve(_temp13 && _temp13.then ? _temp13.then(_temp14) : _temp14(_temp13));
951
948
  } catch (e) {
952
949
  return Promise.reject(e);
953
950
  }
@@ -955,8 +952,8 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
955
952
  // Fetch personalization data property value
956
953
  getPersonalisationProperty: function _getPersonalisationProperty(propertyKey) {
957
954
  try {
958
- const _this17 = this;
959
- return Promise.resolve(_this17._getPersonalizationData()).then(function (oPersData) {
955
+ const _this15 = this;
956
+ return Promise.resolve(_this15._getPersonalizationData()).then(function (oPersData) {
960
957
  return oPersData?.[propertyKey];
961
958
  });
962
959
  } catch (e) {
@@ -971,12 +968,12 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
971
968
  */
972
969
  _getRecommendationCards: function _getRecommendationCards() {
973
970
  try {
974
- const _this18 = this;
975
- return Promise.resolve(_this18.appManagerInstance.getRecommenedCards()).then(function (aRecommendedCards) {
971
+ const _this16 = this;
972
+ return Promise.resolve(_this16.appManagerInstance.getRecommenedCards()).then(function (aRecommendedCards) {
976
973
  if (aRecommendedCards?.length) {
977
- return _this18._handleRecommendationCards(aRecommendedCards);
974
+ return _this16._handleRecommendationCards(aRecommendedCards);
978
975
  }
979
- _this18.fireHandleHidePanel();
976
+ _this16.fireHandleHidePanel();
980
977
  });
981
978
  } catch (e) {
982
979
  return Promise.reject(e);
@@ -989,11 +986,11 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
989
986
  */
990
987
  _handleRecommendationCards: function _handleRecommendationCards(aRecommendedCards) {
991
988
  try {
992
- const _this19 = this;
989
+ const _this17 = this;
993
990
  const cardManifests = aRecommendedCards.map(oCard => oCard.descriptorContent);
994
- return Promise.resolve(_this19.cardHelperInstance?._createCards(cardManifests)).then(function () {
995
- return Promise.resolve(_this19._updateRecommendationStatus()).then(function () {
996
- return _this19.setNewVisibleCards();
991
+ return Promise.resolve(_this17.cardHelperInstance?._createCards(cardManifests)).then(function () {
992
+ return Promise.resolve(_this17._updateRecommendationStatus()).then(function () {
993
+ return _this17.setNewVisibleCards();
997
994
  });
998
995
  });
999
996
  } catch (e) {
@@ -1185,7 +1182,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1185
1182
  /* If called from Panel Header event.source() will return TilesPanel, if called from Insights Container event.source() will return InsightsContainer.
1186
1183
  _getLayout is available at Container Level*/
1187
1184
  let parent = event.getSource().getParent() || this;
1188
- if (parent?.isA("sap.cux.home.CardsPanel")) {
1185
+ if (parent instanceof CardsPanel) {
1189
1186
  parent = parent.getParent();
1190
1187
  }
1191
1188
  parent?._getLayout().openSettingsDialog(SETTINGS_PANELS_KEYS.INSIGHTS_CARDS);
@@ -1227,43 +1224,43 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1227
1224
  */
1228
1225
  _handleCardsDnd: function _handleCardsDnd(oEvent) {
1229
1226
  try {
1230
- const _this20 = this;
1227
+ const _this18 = this;
1231
1228
  const sInsertPosition = oEvent.getParameter("dropPosition"),
1232
1229
  oDragItem = oEvent.getParameter("draggedControl"),
1233
1230
  iDragItemIndex = oDragItem.getParent()?.indexOfItem(oDragItem),
1234
1231
  oDropItem = oEvent.getParameter("droppedControl"),
1235
1232
  iDropItemIndex = oDragItem.getParent().indexOfItem(oDropItem);
1236
- _this20._cardsFlexWrapper?.setBusy(true);
1233
+ _this18._cardsFlexWrapper?.setBusy(true);
1237
1234
  // take the moved item from dragIndex and add to dropindex
1238
- const _temp19 = _finallyRethrows(function () {
1235
+ const _temp17 = _finallyRethrows(function () {
1239
1236
  return _catch(function () {
1240
- function _temp18() {
1237
+ function _temp16() {
1241
1238
  setTimeout(() => {
1242
- focusDraggedItem(_this20._getCardContainer(), iDropItemIndex);
1239
+ focusDraggedItem(_this18._getCardContainer(), iDropItemIndex);
1243
1240
  }, 0);
1244
1241
  }
1245
- const _temp17 = function () {
1246
- if (!_this20._controlModel.getProperty("/userAllCards").length) {
1247
- return Promise.resolve(_this20.cardHelperInstance._getUserAllCardModel()).then(function (userAllCardsModel) {
1248
- _this20._controlModel.setProperty("/userAllCards", userAllCardsModel.getProperty("/cards"));
1249
- return Promise.resolve(_this20.updateCardList(sInsertPosition, iDropItemIndex, iDragItemIndex)).then(function () {});
1242
+ const _temp15 = function () {
1243
+ if (!_this18._controlModel.getProperty("/userAllCards").length) {
1244
+ return Promise.resolve(_this18.cardHelperInstance._getUserAllCardModel()).then(function (userAllCardsModel) {
1245
+ _this18._controlModel.setProperty("/userAllCards", userAllCardsModel.getProperty("/cards"));
1246
+ return Promise.resolve(_this18.updateCardList(sInsertPosition, iDropItemIndex, iDragItemIndex)).then(function () {});
1250
1247
  });
1251
1248
  } else {
1252
- return Promise.resolve(_this20.updateCardList(sInsertPosition, iDropItemIndex, iDragItemIndex)).then(function () {});
1249
+ return Promise.resolve(_this18.updateCardList(sInsertPosition, iDropItemIndex, iDragItemIndex)).then(function () {});
1253
1250
  }
1254
1251
  }();
1255
- return _temp17 && _temp17.then ? _temp17.then(_temp18) : _temp18(_temp17);
1252
+ return _temp15 && _temp15.then ? _temp15.then(_temp16) : _temp16(_temp15);
1256
1253
  }, function (error) {
1257
1254
  if (error instanceof Error) {
1258
1255
  Log.error(error.message);
1259
1256
  }
1260
1257
  });
1261
1258
  }, function (_wasThrown, _result3) {
1262
- _this20._cardsFlexWrapper?.setBusy(false);
1259
+ _this18._cardsFlexWrapper?.setBusy(false);
1263
1260
  if (_wasThrown) throw _result3;
1264
1261
  return _result3;
1265
1262
  });
1266
- return Promise.resolve(_temp19 && _temp19.then ? _temp19.then(function () {}) : void 0);
1263
+ return Promise.resolve(_temp17 && _temp17.then ? _temp17.then(function () {}) : void 0);
1267
1264
  } catch (e) {
1268
1265
  return Promise.reject(e);
1269
1266
  }
@@ -1279,9 +1276,9 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1279
1276
  */
1280
1277
  updateCardList: function _updateCardList(sInsertPosition, iDropItemIndex, iDragItemIndex) {
1281
1278
  try {
1282
- const _this21 = this;
1283
- const aUserVisibleCards = _this21._controlModel.getProperty("/userVisibleCards"),
1284
- aUserAllCards = _this21._controlModel.getProperty("/userAllCards"),
1279
+ const _this19 = this;
1280
+ const aUserVisibleCards = _this19._controlModel.getProperty("/userVisibleCards"),
1281
+ aUserAllCards = _this19._controlModel.getProperty("/userAllCards"),
1285
1282
  sDragedPositionRank = aUserVisibleCards[iDragItemIndex]?.rank,
1286
1283
  sDropedPositionRank = aUserVisibleCards[iDropItemIndex]?.rank;
1287
1284
  let iUpdatedDragItemIndex = aUserAllCards.findIndex(oCard => oCard.rank === sDragedPositionRank),
@@ -1294,18 +1291,18 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1294
1291
  } else if (sInsertPosition === "After" && iUpdatedDragItemIndex > iUpdatedDropItemIndex) {
1295
1292
  iUpdatedDropItemIndex++;
1296
1293
  }
1297
- const _temp20 = function () {
1294
+ const _temp18 = function () {
1298
1295
  if (iUpdatedDragItemIndex !== iUpdatedDropItemIndex) {
1299
- const aUpdatedCards = _this21.cardHelperInstance.handleDndCardsRanking(iUpdatedDragItemIndex, iUpdatedDropItemIndex, aUserAllCards);
1300
- return Promise.resolve(_this21.cardHelperInstance._updateMultipleCards(aUpdatedCards, "PUT")).then(function () {
1301
- _this21._sortCardsOnRank(aUserAllCards);
1302
- _this21._controlModel.setProperty("/userAllCards", aUserAllCards);
1303
- _this21._controlModel.setProperty("/userVisibleCards", aUserAllCards.filter(oCard => oCard.visibility));
1304
- return Promise.resolve(_this21.rerenderCards()).then(function () {});
1296
+ const aUpdatedCards = _this19.cardHelperInstance.handleDndCardsRanking(iUpdatedDragItemIndex, iUpdatedDropItemIndex, aUserAllCards);
1297
+ return Promise.resolve(_this19.cardHelperInstance._updateMultipleCards(aUpdatedCards, "PUT")).then(function () {
1298
+ _this19._sortCardsOnRank(aUserAllCards);
1299
+ _this19._controlModel.setProperty("/userAllCards", aUserAllCards);
1300
+ _this19._controlModel.setProperty("/userVisibleCards", aUserAllCards.filter(oCard => oCard.visibility));
1301
+ return Promise.resolve(_this19.rerenderCards()).then(function () {});
1305
1302
  });
1306
1303
  }
1307
1304
  }();
1308
- return Promise.resolve(_temp20 && _temp20.then ? _temp20.then(function () {}) : void 0);
1305
+ return Promise.resolve(_temp18 && _temp18.then ? _temp18.then(function () {}) : void 0);
1309
1306
  } catch (e) {
1310
1307
  return Promise.reject(e);
1311
1308
  }
@@ -1346,10 +1343,10 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1346
1343
  */
1347
1344
  _updateRecommendationStatus: function _updateRecommendationStatus() {
1348
1345
  try {
1349
- const _this22 = this;
1350
- return Promise.resolve(_this22._getPersonalizationData()).then(function (oPersData) {
1346
+ const _this20 = this;
1347
+ return Promise.resolve(_this20._getPersonalizationData()).then(function (oPersData) {
1351
1348
  oPersData[RECOMMENDATION_PATH] = true;
1352
- return _this22.oPersonalizer.write(oPersData);
1349
+ return _this20.oPersonalizer.write(oPersData);
1353
1350
  });
1354
1351
  } catch (e) {
1355
1352
  return Promise.reject(e);