@sapui5/sap.cux.home 1.136.1 → 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 (412) 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 +22 -25
  21. package/src/sap/cux/home/AppsContainer.js.map +1 -1
  22. package/src/sap/cux/home/AppsContainer.ts +4 -4
  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 +3 -3
  34. package/src/sap/cux/home/BaseAppPersPanel.d.ts.map +1 -1
  35. package/src/sap/cux/home/BaseAppPersPanel.js +17 -13
  36. package/src/sap/cux/home/BaseAppPersPanel.js.map +1 -1
  37. package/src/sap/cux/home/BaseAppPersPanel.ts +18 -11
  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 +16 -13
  41. package/src/sap/cux/home/BaseContainer.js.map +1 -1
  42. package/src/sap/cux/home/BaseContainer.ts +10 -5
  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 +103 -104
  82. package/src/sap/cux/home/CardsPanel.js.map +1 -1
  83. package/src/sap/cux/home/CardsPanel.ts +4 -3
  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 +286 -291
  98. package/src/sap/cux/home/FavAppPanel.js.map +1 -1
  99. package/src/sap/cux/home/FavAppPanel.ts +23 -18
  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 +0 -3
  146. package/src/sap/cux/home/KeyUserNewsSettingsPanel.d.ts.map +1 -1
  147. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js +22 -13
  148. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js.map +1 -1
  149. package/src/sap/cux/home/KeyUserNewsSettingsPanel.ts +22 -17
  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 +1 -4
  158. package/src/sap/cux/home/KeyUserSettingsDialog.js.map +1 -1
  159. package/src/sap/cux/home/KeyUserSettingsDialog.ts +1 -4
  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 +7 -10
  163. package/src/sap/cux/home/Layout.js.map +1 -1
  164. package/src/sap/cux/home/Layout.ts +3 -4
  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 +0 -1
  178. package/src/sap/cux/home/NewsAndPagesContainer.js.map +1 -1
  179. package/src/sap/cux/home/NewsAndPagesContainer.ts +0 -1
  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 +1 -4
  183. package/src/sap/cux/home/NewsGroup.js.map +1 -1
  184. package/src/sap/cux/home/NewsGroup.ts +1 -4
  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 +0 -1
  191. package/src/sap/cux/home/NewsPanel.d.ts.map +1 -1
  192. package/src/sap/cux/home/NewsPanel.js +84 -96
  193. package/src/sap/cux/home/NewsPanel.js.map +1 -1
  194. package/src/sap/cux/home/NewsPanel.ts +32 -35
  195. package/src/sap/cux/home/NewsSettingsPanel.d.ts +6 -3
  196. package/src/sap/cux/home/NewsSettingsPanel.d.ts.map +1 -1
  197. package/src/sap/cux/home/NewsSettingsPanel.js +18 -4
  198. package/src/sap/cux/home/NewsSettingsPanel.js.map +1 -1
  199. package/src/sap/cux/home/NewsSettingsPanel.ts +16 -4
  200. package/src/sap/cux/home/NoDataContainer.d.ts +0 -1
  201. package/src/sap/cux/home/NoDataContainer.d.ts.map +1 -1
  202. package/src/sap/cux/home/NoDataContainer.js +0 -1
  203. package/src/sap/cux/home/NoDataContainer.js.map +1 -1
  204. package/src/sap/cux/home/NoDataContainer.ts +0 -1
  205. package/src/sap/cux/home/Page.d.ts +0 -3
  206. package/src/sap/cux/home/Page.d.ts.map +1 -1
  207. package/src/sap/cux/home/Page.gen.d.ts +0 -12
  208. package/src/sap/cux/home/Page.js +0 -7
  209. package/src/sap/cux/home/Page.js.map +1 -1
  210. package/src/sap/cux/home/Page.ts +0 -7
  211. package/src/sap/cux/home/PagePanel.d.ts +0 -4
  212. package/src/sap/cux/home/PagePanel.d.ts.map +1 -1
  213. package/src/sap/cux/home/PagePanel.js +5 -11
  214. package/src/sap/cux/home/PagePanel.js.map +1 -1
  215. package/src/sap/cux/home/PagePanel.ts +4 -9
  216. package/src/sap/cux/home/PageSettingsPanel.d.ts +0 -3
  217. package/src/sap/cux/home/PageSettingsPanel.d.ts.map +1 -1
  218. package/src/sap/cux/home/PageSettingsPanel.js +3 -5
  219. package/src/sap/cux/home/PageSettingsPanel.js.map +1 -1
  220. package/src/sap/cux/home/PageSettingsPanel.ts +3 -5
  221. package/src/sap/cux/home/RecentAppPanel.d.ts +0 -1
  222. package/src/sap/cux/home/RecentAppPanel.d.ts.map +1 -1
  223. package/src/sap/cux/home/RecentAppPanel.js +2 -6
  224. package/src/sap/cux/home/RecentAppPanel.js.map +1 -1
  225. package/src/sap/cux/home/RecentAppPanel.ts +0 -1
  226. package/src/sap/cux/home/RecommendedAppPanel.d.ts +0 -1
  227. package/src/sap/cux/home/RecommendedAppPanel.d.ts.map +1 -1
  228. package/src/sap/cux/home/RecommendedAppPanel.js +0 -1
  229. package/src/sap/cux/home/RecommendedAppPanel.js.map +1 -1
  230. package/src/sap/cux/home/RecommendedAppPanel.ts +0 -1
  231. package/src/sap/cux/home/SettingsDialog.d.ts +0 -3
  232. package/src/sap/cux/home/SettingsDialog.d.ts.map +1 -1
  233. package/src/sap/cux/home/SettingsDialog.js +25 -23
  234. package/src/sap/cux/home/SettingsDialog.js.map +1 -1
  235. package/src/sap/cux/home/SettingsDialog.ts +9 -16
  236. package/src/sap/cux/home/SituationPanel.d.ts +0 -1
  237. package/src/sap/cux/home/SituationPanel.d.ts.map +1 -1
  238. package/src/sap/cux/home/SituationPanel.js +0 -1
  239. package/src/sap/cux/home/SituationPanel.js.map +1 -1
  240. package/src/sap/cux/home/SituationPanel.ts +0 -1
  241. package/src/sap/cux/home/SpaceInsightsPanel.d.ts +207 -0
  242. package/src/sap/cux/home/SpaceInsightsPanel.d.ts.map +1 -0
  243. package/src/sap/cux/home/SpaceInsightsPanel.gen.d.ts +200 -0
  244. package/src/sap/cux/home/SpaceInsightsPanel.js +786 -0
  245. package/src/sap/cux/home/SpaceInsightsPanel.js.map +1 -0
  246. package/src/sap/cux/home/SpaceInsightsPanel.ts +628 -0
  247. package/src/sap/cux/home/SpacePanel.d.ts +117 -0
  248. package/src/sap/cux/home/SpacePanel.d.ts.map +1 -0
  249. package/src/sap/cux/home/SpacePanel.gen.d.ts +77 -0
  250. package/src/sap/cux/home/SpacePanel.js +599 -0
  251. package/src/sap/cux/home/SpacePanel.js.map +1 -0
  252. package/src/sap/cux/home/SpacePanel.ts +461 -0
  253. package/src/sap/cux/home/TaskPanel.d.ts +0 -1
  254. package/src/sap/cux/home/TaskPanel.d.ts.map +1 -1
  255. package/src/sap/cux/home/TaskPanel.js +14 -24
  256. package/src/sap/cux/home/TaskPanel.js.map +1 -1
  257. package/src/sap/cux/home/TaskPanel.ts +6 -11
  258. package/src/sap/cux/home/TilesPanel.d.ts +0 -1
  259. package/src/sap/cux/home/TilesPanel.d.ts.map +1 -1
  260. package/src/sap/cux/home/TilesPanel.js +4 -5
  261. package/src/sap/cux/home/TilesPanel.js.map +1 -1
  262. package/src/sap/cux/home/TilesPanel.ts +3 -3
  263. package/src/sap/cux/home/ToDoPanel.d.ts +11 -1
  264. package/src/sap/cux/home/ToDoPanel.d.ts.map +1 -1
  265. package/src/sap/cux/home/ToDoPanel.js +67 -17
  266. package/src/sap/cux/home/ToDoPanel.js.map +1 -1
  267. package/src/sap/cux/home/ToDoPanel.ts +70 -13
  268. package/src/sap/cux/home/ToDosContainer.d.ts +0 -1
  269. package/src/sap/cux/home/ToDosContainer.d.ts.map +1 -1
  270. package/src/sap/cux/home/ToDosContainer.js +0 -1
  271. package/src/sap/cux/home/ToDosContainer.js.map +1 -1
  272. package/src/sap/cux/home/ToDosContainer.ts +0 -1
  273. package/src/sap/cux/home/i18n/messagebundle.properties +8 -6
  274. package/src/sap/cux/home/i18n/messagebundle_ar.properties +55 -9
  275. package/src/sap/cux/home/i18n/messagebundle_bg.properties +55 -9
  276. package/src/sap/cux/home/i18n/messagebundle_ca.properties +55 -9
  277. package/src/sap/cux/home/i18n/messagebundle_cnr.properties +55 -9
  278. package/src/sap/cux/home/i18n/messagebundle_cs.properties +59 -13
  279. package/src/sap/cux/home/i18n/messagebundle_cy.properties +55 -9
  280. package/src/sap/cux/home/i18n/messagebundle_da.properties +55 -9
  281. package/src/sap/cux/home/i18n/messagebundle_de.properties +55 -9
  282. package/src/sap/cux/home/i18n/messagebundle_el.properties +55 -9
  283. package/src/sap/cux/home/i18n/messagebundle_en.properties +55 -9
  284. package/src/sap/cux/home/i18n/messagebundle_en_GB.properties +55 -9
  285. package/src/sap/cux/home/i18n/messagebundle_en_US_sappsd.properties +55 -9
  286. package/src/sap/cux/home/i18n/messagebundle_en_US_saprigi.properties +46 -6
  287. package/src/sap/cux/home/i18n/messagebundle_en_US_saptrc.properties +55 -9
  288. package/src/sap/cux/home/i18n/messagebundle_es.properties +62 -16
  289. package/src/sap/cux/home/i18n/messagebundle_es_MX.properties +55 -9
  290. package/src/sap/cux/home/i18n/messagebundle_et.properties +55 -9
  291. package/src/sap/cux/home/i18n/messagebundle_fi.properties +54 -8
  292. package/src/sap/cux/home/i18n/messagebundle_fr.properties +55 -9
  293. package/src/sap/cux/home/i18n/messagebundle_fr_CA.properties +55 -9
  294. package/src/sap/cux/home/i18n/messagebundle_hi.properties +55 -9
  295. package/src/sap/cux/home/i18n/messagebundle_hr.properties +55 -9
  296. package/src/sap/cux/home/i18n/messagebundle_hu.properties +56 -10
  297. package/src/sap/cux/home/i18n/messagebundle_id.properties +55 -9
  298. package/src/sap/cux/home/i18n/messagebundle_it.properties +55 -9
  299. package/src/sap/cux/home/i18n/messagebundle_iw.properties +55 -9
  300. package/src/sap/cux/home/i18n/messagebundle_ja.properties +55 -9
  301. package/src/sap/cux/home/i18n/messagebundle_kk.properties +56 -10
  302. package/src/sap/cux/home/i18n/messagebundle_ko.properties +58 -12
  303. package/src/sap/cux/home/i18n/messagebundle_lt.properties +55 -9
  304. package/src/sap/cux/home/i18n/messagebundle_lv.properties +55 -9
  305. package/src/sap/cux/home/i18n/messagebundle_mk.properties +55 -9
  306. package/src/sap/cux/home/i18n/messagebundle_ms.properties +55 -9
  307. package/src/sap/cux/home/i18n/messagebundle_nl.properties +55 -9
  308. package/src/sap/cux/home/i18n/messagebundle_no.properties +55 -9
  309. package/src/sap/cux/home/i18n/messagebundle_pl.properties +56 -10
  310. package/src/sap/cux/home/i18n/messagebundle_pt.properties +55 -9
  311. package/src/sap/cux/home/i18n/messagebundle_pt_PT.properties +55 -9
  312. package/src/sap/cux/home/i18n/messagebundle_ro.properties +55 -9
  313. package/src/sap/cux/home/i18n/messagebundle_ru.properties +55 -9
  314. package/src/sap/cux/home/i18n/messagebundle_sh.properties +55 -9
  315. package/src/sap/cux/home/i18n/messagebundle_sk.properties +55 -9
  316. package/src/sap/cux/home/i18n/messagebundle_sl.properties +55 -9
  317. package/src/sap/cux/home/i18n/messagebundle_sr.properties +55 -9
  318. package/src/sap/cux/home/i18n/messagebundle_sv.properties +55 -9
  319. package/src/sap/cux/home/i18n/messagebundle_th.properties +55 -9
  320. package/src/sap/cux/home/i18n/messagebundle_tr.properties +55 -9
  321. package/src/sap/cux/home/i18n/messagebundle_uk.properties +57 -11
  322. package/src/sap/cux/home/i18n/messagebundle_vi.properties +55 -9
  323. package/src/sap/cux/home/i18n/messagebundle_zh_CN.properties +55 -9
  324. package/src/sap/cux/home/i18n/messagebundle_zh_TW.properties +56 -10
  325. package/src/sap/cux/home/interface/AppsInterface.d.ts +1 -0
  326. package/src/sap/cux/home/interface/AppsInterface.d.ts.map +1 -1
  327. package/src/sap/cux/home/interface/AppsInterface.js.map +1 -1
  328. package/src/sap/cux/home/interface/AppsInterface.ts +1 -0
  329. package/src/sap/cux/home/library.d.ts +3 -4
  330. package/src/sap/cux/home/library.d.ts.map +1 -1
  331. package/src/sap/cux/home/library.js +3 -4
  332. package/src/sap/cux/home/library.js.map +1 -1
  333. package/src/sap/cux/home/library.ts +3 -4
  334. package/src/sap/cux/home/themes/base/ContentAdditionDialog.less +1 -1
  335. package/src/sap/cux/home/themes/base/InsightsContainer.less +4 -0
  336. package/src/sap/cux/home/utils/Accessibility.js +3 -4
  337. package/src/sap/cux/home/utils/Accessibility.js.map +1 -1
  338. package/src/sap/cux/home/utils/Accessibility.ts +2 -2
  339. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.d.ts +0 -1
  340. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.d.ts.map +1 -1
  341. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.js +0 -1
  342. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.js.map +1 -1
  343. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.ts +0 -1
  344. package/src/sap/cux/home/utils/AppManager.d.ts +12 -7
  345. package/src/sap/cux/home/utils/AppManager.d.ts.map +1 -1
  346. package/src/sap/cux/home/utils/AppManager.js +172 -172
  347. package/src/sap/cux/home/utils/AppManager.js.map +1 -1
  348. package/src/sap/cux/home/utils/AppManager.ts +42 -23
  349. package/src/sap/cux/home/utils/BatchHelper.d.ts +0 -3
  350. package/src/sap/cux/home/utils/BatchHelper.d.ts.map +1 -1
  351. package/src/sap/cux/home/utils/BatchHelper.js +5 -10
  352. package/src/sap/cux/home/utils/BatchHelper.js.map +1 -1
  353. package/src/sap/cux/home/utils/BatchHelper.ts +0 -3
  354. package/src/sap/cux/home/utils/CommonUtils.d.ts +9 -0
  355. package/src/sap/cux/home/utils/CommonUtils.d.ts.map +1 -1
  356. package/src/sap/cux/home/utils/CommonUtils.js +23 -2
  357. package/src/sap/cux/home/utils/CommonUtils.js.map +1 -1
  358. package/src/sap/cux/home/utils/CommonUtils.ts +25 -1
  359. package/src/sap/cux/home/utils/Constants.d.ts +4 -5
  360. package/src/sap/cux/home/utils/Constants.d.ts.map +1 -1
  361. package/src/sap/cux/home/utils/Constants.js +5 -5
  362. package/src/sap/cux/home/utils/Constants.js.map +1 -1
  363. package/src/sap/cux/home/utils/Constants.ts +4 -5
  364. package/src/sap/cux/home/utils/DecisionDialog.d.ts +0 -3
  365. package/src/sap/cux/home/utils/DecisionDialog.d.ts.map +1 -1
  366. package/src/sap/cux/home/utils/DecisionDialog.js +0 -3
  367. package/src/sap/cux/home/utils/DecisionDialog.js.map +1 -1
  368. package/src/sap/cux/home/utils/DecisionDialog.ts +0 -3
  369. package/src/sap/cux/home/utils/Device.js +1 -2
  370. package/src/sap/cux/home/utils/Device.js.map +1 -1
  371. package/src/sap/cux/home/utils/FESRUtil.js +1 -1
  372. package/src/sap/cux/home/utils/FESRUtil.js.map +1 -1
  373. package/src/sap/cux/home/utils/FESRUtil.ts +1 -1
  374. package/src/sap/cux/home/utils/FeatureUtils.d.ts +20 -13
  375. package/src/sap/cux/home/utils/FeatureUtils.d.ts.map +1 -1
  376. package/src/sap/cux/home/utils/FeatureUtils.js +38 -33
  377. package/src/sap/cux/home/utils/FeatureUtils.js.map +1 -1
  378. package/src/sap/cux/home/utils/FeatureUtils.ts +39 -32
  379. package/src/sap/cux/home/utils/HttpHelper.d.ts +7 -3
  380. package/src/sap/cux/home/utils/HttpHelper.d.ts.map +1 -1
  381. package/src/sap/cux/home/utils/HttpHelper.js +43 -3
  382. package/src/sap/cux/home/utils/HttpHelper.js.map +1 -1
  383. package/src/sap/cux/home/utils/HttpHelper.ts +25 -3
  384. package/src/sap/cux/home/utils/KeyUserPersonalization.d.ts.map +1 -1
  385. package/src/sap/cux/home/utils/KeyUserPersonalization.js +33 -13
  386. package/src/sap/cux/home/utils/KeyUserPersonalization.js.map +1 -1
  387. package/src/sap/cux/home/utils/KeyUserPersonalization.ts +2 -2
  388. package/src/sap/cux/home/utils/PageManager.d.ts +0 -3
  389. package/src/sap/cux/home/utils/PageManager.d.ts.map +1 -1
  390. package/src/sap/cux/home/utils/PageManager.js +8 -14
  391. package/src/sap/cux/home/utils/PageManager.js.map +1 -1
  392. package/src/sap/cux/home/utils/PageManager.ts +0 -3
  393. package/src/sap/cux/home/utils/PersonalisationUtils.d.ts +0 -3
  394. package/src/sap/cux/home/utils/PersonalisationUtils.d.ts.map +1 -1
  395. package/src/sap/cux/home/utils/PersonalisationUtils.js +1 -5
  396. package/src/sap/cux/home/utils/PersonalisationUtils.js.map +1 -1
  397. package/src/sap/cux/home/utils/PersonalisationUtils.ts +0 -3
  398. package/src/sap/cux/home/utils/SituationUtils.js +1 -2
  399. package/src/sap/cux/home/utils/SituationUtils.js.map +1 -1
  400. package/src/sap/cux/home/utils/TaskUtils.js +1 -2
  401. package/src/sap/cux/home/utils/TaskUtils.js.map +1 -1
  402. package/src/sap/cux/home/utils/UshellPersonalizer.d.ts +0 -3
  403. package/src/sap/cux/home/utils/UshellPersonalizer.d.ts.map +1 -1
  404. package/src/sap/cux/home/utils/UshellPersonalizer.js +0 -3
  405. package/src/sap/cux/home/utils/UshellPersonalizer.js.map +1 -1
  406. package/src/sap/cux/home/utils/UshellPersonalizer.ts +0 -3
  407. package/src/sap/cux/home/utils/fragment/appsAdditionContent.fragment.xml +16 -17
  408. package/src/sap/cux/home/utils/CardSkeleton.d.ts +0 -54
  409. package/src/sap/cux/home/utils/CardSkeleton.d.ts.map +0 -1
  410. package/src/sap/cux/home/utils/CardSkeleton.js +0 -61
  411. package/src/sap/cux/home/utils/CardSkeleton.js.map +0 -1
  412. 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.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,mBAAA;EAAA,MAMHG,qBAAqB,GAAAF,sBAAA;EAE9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EAhBA,MAiB8BG,iBAAiB,GAASN,OAAO,CAAAO,MAAA;IAiB9CC,QAAQ,EAAoB;MAC3CC,OAAO,EAAE,cAAc;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B;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":[]}
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 { $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,mBAAA;EAAA,MAKHG,qBAAqB,GAAAF,sBAAA;EAG9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EAfA,MAgB8BG,iBAAiB,GAASN,OAAO,CAAAO,MAAA;IAiB9CC,QAAQ,EAAoB;MAC3CC,OAAO,EAAE,cAAc;MACvBC,UAAU,EAAE;QACX;AACH;AACA;QACGC,GAAG,EAAE;UAAEC,IAAI,EAAE,QAAQ;UAAEC,KAAK,EAAE,MAAM;UAAEC,YAAY,EAAE,EAAE;UAAEC,UAAU,EAAE;QAAS,CAAC;QAC9E;AACH;AACA;QACGC,KAAK,EAAE;UAAEJ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A;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
- {"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ACI,gBAAgB;QAMvB;;;;WAIG;QACI,eAAe;QAStB;;;;WAIG;QACH,OAAO,CAAC,YAAY;QAKpB;;;;;WAKG;gBACW,eAAe;QA6B7B;;;;;;;;WAQG;gBACW,cAAc;QAqC5B;;;;;WAKG;QACH,OAAO,CAAC,gBAAgB;QAcxB;;;;;WAKG;QACI,mBAAmB;QAM1B;;;WAGG;gBACW,2BAA2B;QAMzC;;;;;WAKG;QACH,OAAO,CAAC,0BAA0B;QA4BlC;;;;;WAKG;QACI,aAAa;QAgFpB;;;;;WAKG;QACI,qBAAqB,IAAI,QAAQ,EAAE;QAW1C;;;;;WAKG;QACI,yBAAyB,IAAI,MAAM,EAAE;QAa5C;;;;;WAKG;QACH,OAAO,CAAC,qBAAqB;QAO7B;;;;;;;WAOG;QACH,OAAO,CAAC,sBAAsB;QAe9B;;;;;;;WAOG;QACH,OAAO,CAAC,wBAAwB;QAchC;;;;;WAKG;QACH,OAAO,CAAC,oBAAoB;QAS5B;;;;;;WAMG;QACH,OAAO,CAAC,iBAAiB;QAOzB;;;;;WAKG;QACH,OAAO,CAAC,cAAc;QAOtB;;;;WAIG;QACH,OAAO,CAAC,oBAAoB;QAS5B;;;;;WAKG;QACI,IAAI;KAIX;CAEA"}
@@ -85,7 +85,6 @@ sap.ui.define(["sap/base/Log", "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,32 +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) {
619
- _this11._showCards(visibleCards);
615
+ if (visibleCards.length !== _this1.aVisibleCardInstances.length && visibleCards.length > 0) {
616
+ _this1._showCards(visibleCards);
617
+ } else if (!visibleCards.length) {
618
+ _this1.fireHandleHidePanel();
620
619
  }
621
620
  });
622
621
  } catch (e) {
@@ -624,55 +623,55 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
624
623
  }
625
624
  });
626
625
  }
627
- _this11._controlModel.setProperty("/userVisibleCards", aCards);
628
- return Promise.resolve(_this11.getPersonalisationProperty(RECOMMENDATION_PATH)).then(function (showRecommendation) {
629
- function _temp11() {
630
- _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;
631
630
  resolve();
632
631
  }
633
- const _temp10 = function () {
632
+ const _temp0 = function () {
634
633
  if (aCards.length === 0 && showRecommendation === undefined && !skipRecommendation) {
635
- return Promise.resolve(_this11._getRecommendationCards()).then(function () {});
634
+ return Promise.resolve(_this1._getRecommendationCards()).then(function () {});
636
635
  } else {
637
636
  const _temp9 = function () {
638
637
  if (aCards.length) {
639
638
  function _temp8() {
640
639
  // from available cards, check for old recommended cards and update it if present,
641
640
  // else show available visible cards
642
- return Promise.resolve(_this11.checkForRecommendedCards(aCards)).then(function () {});
641
+ return Promise.resolve(_this1.checkForRecommendedCards(aCards)).then(function () {});
643
642
  }
644
643
  const _temp7 = function () {
645
644
  if (showRecommendation === undefined) {
646
- return Promise.resolve(_this11._updateRecommendationStatus()).then(function () {});
645
+ return Promise.resolve(_this1._updateRecommendationStatus()).then(function () {});
647
646
  }
648
647
  }();
649
648
  return _temp7 && _temp7.then ? _temp7.then(_temp8) : _temp8(_temp7);
650
649
  } else {
651
- _this11.fireHandleHidePanel();
650
+ _this1.fireHandleHidePanel();
652
651
  }
653
652
  }();
654
653
  if (_temp9 && _temp9.then) return _temp9.then(function () {});
655
654
  }
656
655
  }();
657
- return _temp10 && _temp10.then ? _temp10.then(_temp11) : _temp11(_temp10);
656
+ return _temp0 && _temp0.then ? _temp0.then(_temp1) : _temp1(_temp0);
658
657
  });
659
658
  });
660
659
  }, function (error) {
661
- _this11.fireHandleHidePanel();
662
- _this11._cardsRendered = undefined;
660
+ _this1.fireHandleHidePanel();
661
+ _this1._cardsRendered = undefined;
663
662
  if (error instanceof Error) {
664
663
  Log.error(error.message);
665
664
  reject(error);
666
665
  }
667
666
  });
668
- return Promise.resolve(_temp12 && _temp12.then ? _temp12.then(function () {}) : void 0);
667
+ return Promise.resolve(_temp10 && _temp10.then ? _temp10.then(function () {}) : void 0);
669
668
  } catch (e) {
670
669
  return Promise.reject(e);
671
670
  }
672
671
  }();
673
672
  });
674
673
  }
675
- return Promise.resolve(_this11._cardsRendered);
674
+ return Promise.resolve(_this1._cardsRendered);
676
675
  } catch (e) {
677
676
  return Promise.reject(e);
678
677
  }
@@ -683,12 +682,12 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
683
682
  */
684
683
  setNewVisibleCards: function _setNewVisibleCards() {
685
684
  try {
686
- const _this12 = this;
687
- var preferedCardIDs = _this12.hasCustomSpace ? PREFERED_CARDS : [];
688
- 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) {
689
688
  const aNewCards = visibleCardModel.getProperty("/cards");
690
- _this12._controlModel.setProperty("/userVisibleCards", aNewCards);
691
- _this12._showCards(aNewCards);
689
+ _this10._controlModel.setProperty("/userVisibleCards", aNewCards);
690
+ _this10._showCards(aNewCards);
692
691
  });
693
692
  } catch (e) {
694
693
  return Promise.reject(e);
@@ -708,7 +707,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
708
707
  */
709
708
  checkForRecommendedCards: function _checkForRecommendedCards(aCards) {
710
709
  try {
711
- const _this13 = this;
710
+ const _this11 = this;
712
711
  let manifestIds = [];
713
712
  aCards.forEach((oVisCard, idx) => {
714
713
  let oCard = oVisCard.descriptorContent;
@@ -724,24 +723,24 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
724
723
  });
725
724
  return Promise.resolve(function () {
726
725
  if (manifestIds.length) {
727
- const uniqueManifestDetails = _this13.getUniqueManifestDetails(manifestIds);
728
- 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) {
729
728
  let _exit2 = false;
730
- function _temp14(_result2) {
731
- return _exit2 ? _result2 : Promise.resolve(_this13.setNewVisibleCards()).then(function () {});
729
+ function _temp12(_result2) {
730
+ return _exit2 ? _result2 : Promise.resolve(_this11.setNewVisibleCards()).then(function () {});
732
731
  }
733
- const _temp13 = function () {
732
+ const _temp11 = function () {
734
733
  if (aUpdatedCards?.length) {
735
734
  // Update the model with updated cards
736
- 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 () {});
737
736
  } else {
738
737
  _exit2 = true;
739
738
  }
740
739
  }();
741
- return _temp13 && _temp13.then ? _temp13.then(_temp14) : _temp14(_temp13);
740
+ return _temp11 && _temp11.then ? _temp11.then(_temp12) : _temp12(_temp11);
742
741
  });
743
742
  } else {
744
- _this13._showCards(aCards);
743
+ _this11._showCards(aCards);
745
744
  }
746
745
  }());
747
746
  } catch (e) {
@@ -782,9 +781,9 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
782
781
  */
783
782
  _getManifests: function _getManifests(manifestIds) {
784
783
  try {
785
- const _this14 = this;
784
+ const _this12 = this;
786
785
  // from the provided manifestIds which are unique generate new recommended card manifests
787
- return Promise.resolve(_this14.appManagerInstance._getCardManifest(undefined, manifestIds)).then(function (aManifests) {
786
+ return Promise.resolve(_this12.appManagerInstance._getCardManifest(undefined, manifestIds)).then(function (aManifests) {
788
787
  if (aManifests?.length) {
789
788
  let aRegeneratedCards = aManifests.map(function (oCard) {
790
789
  if (oCard?.["sap.card"]) {
@@ -796,7 +795,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
796
795
  };
797
796
  });
798
797
  // sometimes same card is recommended more than once, hence remove such duplicates
799
- let mappedResults = _this14._removeDuplicateRegeneratedCards(aRegeneratedCards, manifestIds);
798
+ let mappedResults = _this12._removeDuplicateRegeneratedCards(aRegeneratedCards, manifestIds);
800
799
  return mappedResults;
801
800
  } else {
802
801
  return [];
@@ -823,9 +822,9 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
823
822
  */
824
823
  regenerateCards: function _regenerateCards(manifestIds, allManifestIds) {
825
824
  try {
826
- const _this15 = this;
825
+ const _this13 = this;
827
826
  return Promise.resolve(_catch(function () {
828
- return Promise.resolve(_this15._getManifests(manifestIds)).then(function (aMappedManifest) {
827
+ return Promise.resolve(_this13._getManifests(manifestIds)).then(function (aMappedManifest) {
829
828
  // create unique identifier for each card based on its id and target properties.
830
829
  const createUniqueKey = item => {
831
830
  if (item?.target?.semanticObject && item?.target?.action) {
@@ -932,20 +931,20 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
932
931
  */
933
932
  _getPersonalizationData: function _getPersonalizationData() {
934
933
  try {
935
- const _this16 = this;
936
- function _temp16() {
937
- 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) {
938
937
  return oPersData || {};
939
938
  });
940
939
  }
941
- const _temp15 = function () {
942
- if (!_this16.oPersonalizer) {
943
- return Promise.resolve(_this16._getPersonalization()).then(function (_this16$_getPersonali) {
944
- _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;
945
944
  });
946
945
  }
947
946
  }();
948
- return Promise.resolve(_temp15 && _temp15.then ? _temp15.then(_temp16) : _temp16(_temp15));
947
+ return Promise.resolve(_temp13 && _temp13.then ? _temp13.then(_temp14) : _temp14(_temp13));
949
948
  } catch (e) {
950
949
  return Promise.reject(e);
951
950
  }
@@ -953,8 +952,8 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
953
952
  // Fetch personalization data property value
954
953
  getPersonalisationProperty: function _getPersonalisationProperty(propertyKey) {
955
954
  try {
956
- const _this17 = this;
957
- return Promise.resolve(_this17._getPersonalizationData()).then(function (oPersData) {
955
+ const _this15 = this;
956
+ return Promise.resolve(_this15._getPersonalizationData()).then(function (oPersData) {
958
957
  return oPersData?.[propertyKey];
959
958
  });
960
959
  } catch (e) {
@@ -969,12 +968,12 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
969
968
  */
970
969
  _getRecommendationCards: function _getRecommendationCards() {
971
970
  try {
972
- const _this18 = this;
973
- return Promise.resolve(_this18.appManagerInstance.getRecommenedCards()).then(function (aRecommendedCards) {
971
+ const _this16 = this;
972
+ return Promise.resolve(_this16.appManagerInstance.getRecommenedCards()).then(function (aRecommendedCards) {
974
973
  if (aRecommendedCards?.length) {
975
- return _this18._handleRecommendationCards(aRecommendedCards);
974
+ return _this16._handleRecommendationCards(aRecommendedCards);
976
975
  }
977
- _this18.fireHandleHidePanel();
976
+ _this16.fireHandleHidePanel();
978
977
  });
979
978
  } catch (e) {
980
979
  return Promise.reject(e);
@@ -987,11 +986,11 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
987
986
  */
988
987
  _handleRecommendationCards: function _handleRecommendationCards(aRecommendedCards) {
989
988
  try {
990
- const _this19 = this;
989
+ const _this17 = this;
991
990
  const cardManifests = aRecommendedCards.map(oCard => oCard.descriptorContent);
992
- return Promise.resolve(_this19.cardHelperInstance?._createCards(cardManifests)).then(function () {
993
- return Promise.resolve(_this19._updateRecommendationStatus()).then(function () {
994
- 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();
995
994
  });
996
995
  });
997
996
  } catch (e) {
@@ -1183,7 +1182,7 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1183
1182
  /* If called from Panel Header event.source() will return TilesPanel, if called from Insights Container event.source() will return InsightsContainer.
1184
1183
  _getLayout is available at Container Level*/
1185
1184
  let parent = event.getSource().getParent() || this;
1186
- if (parent?.isA("sap.cux.home.CardsPanel")) {
1185
+ if (parent instanceof CardsPanel) {
1187
1186
  parent = parent.getParent();
1188
1187
  }
1189
1188
  parent?._getLayout().openSettingsDialog(SETTINGS_PANELS_KEYS.INSIGHTS_CARDS);
@@ -1225,43 +1224,43 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1225
1224
  */
1226
1225
  _handleCardsDnd: function _handleCardsDnd(oEvent) {
1227
1226
  try {
1228
- const _this20 = this;
1227
+ const _this18 = this;
1229
1228
  const sInsertPosition = oEvent.getParameter("dropPosition"),
1230
1229
  oDragItem = oEvent.getParameter("draggedControl"),
1231
1230
  iDragItemIndex = oDragItem.getParent()?.indexOfItem(oDragItem),
1232
1231
  oDropItem = oEvent.getParameter("droppedControl"),
1233
1232
  iDropItemIndex = oDragItem.getParent().indexOfItem(oDropItem);
1234
- _this20._cardsFlexWrapper?.setBusy(true);
1233
+ _this18._cardsFlexWrapper?.setBusy(true);
1235
1234
  // take the moved item from dragIndex and add to dropindex
1236
- const _temp19 = _finallyRethrows(function () {
1235
+ const _temp17 = _finallyRethrows(function () {
1237
1236
  return _catch(function () {
1238
- function _temp18() {
1237
+ function _temp16() {
1239
1238
  setTimeout(() => {
1240
- focusDraggedItem(_this20._getCardContainer(), iDropItemIndex);
1239
+ focusDraggedItem(_this18._getCardContainer(), iDropItemIndex);
1241
1240
  }, 0);
1242
1241
  }
1243
- const _temp17 = function () {
1244
- if (!_this20._controlModel.getProperty("/userAllCards").length) {
1245
- return Promise.resolve(_this20.cardHelperInstance._getUserAllCardModel()).then(function (userAllCardsModel) {
1246
- _this20._controlModel.setProperty("/userAllCards", userAllCardsModel.getProperty("/cards"));
1247
- 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 () {});
1248
1247
  });
1249
1248
  } else {
1250
- return Promise.resolve(_this20.updateCardList(sInsertPosition, iDropItemIndex, iDragItemIndex)).then(function () {});
1249
+ return Promise.resolve(_this18.updateCardList(sInsertPosition, iDropItemIndex, iDragItemIndex)).then(function () {});
1251
1250
  }
1252
1251
  }();
1253
- return _temp17 && _temp17.then ? _temp17.then(_temp18) : _temp18(_temp17);
1252
+ return _temp15 && _temp15.then ? _temp15.then(_temp16) : _temp16(_temp15);
1254
1253
  }, function (error) {
1255
1254
  if (error instanceof Error) {
1256
1255
  Log.error(error.message);
1257
1256
  }
1258
1257
  });
1259
1258
  }, function (_wasThrown, _result3) {
1260
- _this20._cardsFlexWrapper?.setBusy(false);
1259
+ _this18._cardsFlexWrapper?.setBusy(false);
1261
1260
  if (_wasThrown) throw _result3;
1262
1261
  return _result3;
1263
1262
  });
1264
- return Promise.resolve(_temp19 && _temp19.then ? _temp19.then(function () {}) : void 0);
1263
+ return Promise.resolve(_temp17 && _temp17.then ? _temp17.then(function () {}) : void 0);
1265
1264
  } catch (e) {
1266
1265
  return Promise.reject(e);
1267
1266
  }
@@ -1277,9 +1276,9 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1277
1276
  */
1278
1277
  updateCardList: function _updateCardList(sInsertPosition, iDropItemIndex, iDragItemIndex) {
1279
1278
  try {
1280
- const _this21 = this;
1281
- const aUserVisibleCards = _this21._controlModel.getProperty("/userVisibleCards"),
1282
- aUserAllCards = _this21._controlModel.getProperty("/userAllCards"),
1279
+ const _this19 = this;
1280
+ const aUserVisibleCards = _this19._controlModel.getProperty("/userVisibleCards"),
1281
+ aUserAllCards = _this19._controlModel.getProperty("/userAllCards"),
1283
1282
  sDragedPositionRank = aUserVisibleCards[iDragItemIndex]?.rank,
1284
1283
  sDropedPositionRank = aUserVisibleCards[iDropItemIndex]?.rank;
1285
1284
  let iUpdatedDragItemIndex = aUserAllCards.findIndex(oCard => oCard.rank === sDragedPositionRank),
@@ -1292,18 +1291,18 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1292
1291
  } else if (sInsertPosition === "After" && iUpdatedDragItemIndex > iUpdatedDropItemIndex) {
1293
1292
  iUpdatedDropItemIndex++;
1294
1293
  }
1295
- const _temp20 = function () {
1294
+ const _temp18 = function () {
1296
1295
  if (iUpdatedDragItemIndex !== iUpdatedDropItemIndex) {
1297
- const aUpdatedCards = _this21.cardHelperInstance.handleDndCardsRanking(iUpdatedDragItemIndex, iUpdatedDropItemIndex, aUserAllCards);
1298
- return Promise.resolve(_this21.cardHelperInstance._updateMultipleCards(aUpdatedCards, "PUT")).then(function () {
1299
- _this21._sortCardsOnRank(aUserAllCards);
1300
- _this21._controlModel.setProperty("/userAllCards", aUserAllCards);
1301
- _this21._controlModel.setProperty("/userVisibleCards", aUserAllCards.filter(oCard => oCard.visibility));
1302
- 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 () {});
1303
1302
  });
1304
1303
  }
1305
1304
  }();
1306
- return Promise.resolve(_temp20 && _temp20.then ? _temp20.then(function () {}) : void 0);
1305
+ return Promise.resolve(_temp18 && _temp18.then ? _temp18.then(function () {}) : void 0);
1307
1306
  } catch (e) {
1308
1307
  return Promise.reject(e);
1309
1308
  }
@@ -1344,10 +1343,10 @@ sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettin
1344
1343
  */
1345
1344
  _updateRecommendationStatus: function _updateRecommendationStatus() {
1346
1345
  try {
1347
- const _this22 = this;
1348
- return Promise.resolve(_this22._getPersonalizationData()).then(function (oPersData) {
1346
+ const _this20 = this;
1347
+ return Promise.resolve(_this20._getPersonalizationData()).then(function (oPersData) {
1349
1348
  oPersData[RECOMMENDATION_PATH] = true;
1350
- return _this22.oPersonalizer.write(oPersData);
1349
+ return _this20.oPersonalizer.write(oPersData);
1351
1350
  });
1352
1351
  } catch (e) {
1353
1352
  return Promise.reject(e);