@sapui5/sap.cux.home 1.142.1 → 1.142.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (452) hide show
  1. package/package.json +1 -1
  2. package/src/sap/cux/home/.library +1 -1
  3. package/src/sap/cux/home/AdvancedSettingsPanel.gen.d.ts +1 -1
  4. package/src/sap/cux/home/AdvancedSettingsPanel.js +1 -1
  5. package/src/sap/cux/home/AdvancedSettingsPanel.js.map +1 -1
  6. package/src/sap/cux/home/AdvancedSettingsPanel.ts +1 -1
  7. package/src/sap/cux/home/App.d.ts.map +1 -1
  8. package/src/sap/cux/home/App.gen.d.ts +1 -1
  9. package/src/sap/cux/home/App.js +6 -3
  10. package/src/sap/cux/home/App.js.map +1 -1
  11. package/src/sap/cux/home/App.ts +6 -3
  12. package/src/sap/cux/home/AppsAdditionPanel.js +1 -1
  13. package/src/sap/cux/home/AppsAdditionPanel.js.map +1 -1
  14. package/src/sap/cux/home/AppsAdditionPanel.ts +1 -1
  15. package/src/sap/cux/home/AppsContainer.gen.d.ts +1 -1
  16. package/src/sap/cux/home/AppsContainer.js +1 -1
  17. package/src/sap/cux/home/AppsContainer.js.map +1 -1
  18. package/src/sap/cux/home/AppsContainer.ts +1 -1
  19. package/src/sap/cux/home/BaseApp.gen.d.ts +1 -1
  20. package/src/sap/cux/home/BaseApp.js +1 -1
  21. package/src/sap/cux/home/BaseApp.js.map +1 -1
  22. package/src/sap/cux/home/BaseApp.ts +1 -1
  23. package/src/sap/cux/home/BaseAppPanel.d.ts +9 -0
  24. package/src/sap/cux/home/BaseAppPanel.d.ts.map +1 -1
  25. package/src/sap/cux/home/BaseAppPanel.gen.d.ts +1 -1
  26. package/src/sap/cux/home/BaseAppPanel.js +15 -1
  27. package/src/sap/cux/home/BaseAppPanel.js.map +1 -1
  28. package/src/sap/cux/home/BaseAppPanel.ts +17 -1
  29. package/src/sap/cux/home/BaseAppPersPanel.d.ts +1 -1
  30. package/src/sap/cux/home/BaseAppPersPanel.gen.d.ts +1 -1
  31. package/src/sap/cux/home/BaseAppPersPanel.js +1 -1
  32. package/src/sap/cux/home/BaseAppPersPanel.js.map +1 -1
  33. package/src/sap/cux/home/BaseAppPersPanel.ts +1 -1
  34. package/src/sap/cux/home/BaseContainer.d.ts +1 -1
  35. package/src/sap/cux/home/BaseContainer.gen.d.ts +1 -1
  36. package/src/sap/cux/home/BaseContainer.js +1 -1
  37. package/src/sap/cux/home/BaseContainer.js.map +1 -1
  38. package/src/sap/cux/home/BaseContainer.ts +1 -1
  39. package/src/sap/cux/home/BaseContainerRenderer.js +1 -1
  40. package/src/sap/cux/home/BaseContainerRenderer.js.map +1 -1
  41. package/src/sap/cux/home/BaseContainerRenderer.ts +1 -1
  42. package/src/sap/cux/home/BaseLayout.d.ts +1 -1
  43. package/src/sap/cux/home/BaseLayout.gen.d.ts +1 -1
  44. package/src/sap/cux/home/BaseLayout.js +1 -1
  45. package/src/sap/cux/home/BaseLayout.js.map +1 -1
  46. package/src/sap/cux/home/BaseLayout.ts +1 -1
  47. package/src/sap/cux/home/BaseLayoutRenderer.js +1 -1
  48. package/src/sap/cux/home/BaseLayoutRenderer.js.map +1 -1
  49. package/src/sap/cux/home/BaseLayoutRenderer.ts +1 -1
  50. package/src/sap/cux/home/BaseNewsItem.d.ts +1 -1
  51. package/src/sap/cux/home/BaseNewsItem.gen.d.ts +1 -1
  52. package/src/sap/cux/home/BaseNewsItem.js +1 -1
  53. package/src/sap/cux/home/BaseNewsItem.js.map +1 -1
  54. package/src/sap/cux/home/BaseNewsItem.ts +1 -1
  55. package/src/sap/cux/home/BaseNewsPanel.gen.d.ts +1 -1
  56. package/src/sap/cux/home/BaseNewsPanel.js +1 -1
  57. package/src/sap/cux/home/BaseNewsPanel.js.map +1 -1
  58. package/src/sap/cux/home/BaseNewsPanel.ts +1 -1
  59. package/src/sap/cux/home/BasePagePanel.d.ts +1 -1
  60. package/src/sap/cux/home/BasePagePanel.gen.d.ts +1 -1
  61. package/src/sap/cux/home/BasePagePanel.js +1 -1
  62. package/src/sap/cux/home/BasePagePanel.js.map +1 -1
  63. package/src/sap/cux/home/BasePagePanel.ts +1 -1
  64. package/src/sap/cux/home/BasePanel.d.ts +1 -1
  65. package/src/sap/cux/home/BasePanel.gen.d.ts +1 -1
  66. package/src/sap/cux/home/BasePanel.js +1 -1
  67. package/src/sap/cux/home/BasePanel.js.map +1 -1
  68. package/src/sap/cux/home/BasePanel.ts +1 -1
  69. package/src/sap/cux/home/BaseSettingsDialog.d.ts +1 -1
  70. package/src/sap/cux/home/BaseSettingsDialog.gen.d.ts +1 -1
  71. package/src/sap/cux/home/BaseSettingsDialog.js +1 -1
  72. package/src/sap/cux/home/BaseSettingsDialog.js.map +1 -1
  73. package/src/sap/cux/home/BaseSettingsDialog.ts +1 -1
  74. package/src/sap/cux/home/BaseSettingsPanel.d.ts +1 -1
  75. package/src/sap/cux/home/BaseSettingsPanel.gen.d.ts +1 -1
  76. package/src/sap/cux/home/BaseSettingsPanel.js +1 -1
  77. package/src/sap/cux/home/BaseSettingsPanel.js.map +1 -1
  78. package/src/sap/cux/home/BaseSettingsPanel.ts +1 -1
  79. package/src/sap/cux/home/CardsContainer.d.ts +1 -1
  80. package/src/sap/cux/home/CardsContainer.js +1 -1
  81. package/src/sap/cux/home/CardsContainer.js.map +1 -1
  82. package/src/sap/cux/home/CardsContainer.ts +1 -1
  83. package/src/sap/cux/home/CardsPanel.gen.d.ts +1 -1
  84. package/src/sap/cux/home/CardsPanel.js +1 -1
  85. package/src/sap/cux/home/CardsPanel.js.map +1 -1
  86. package/src/sap/cux/home/CardsPanel.ts +1 -1
  87. package/src/sap/cux/home/ContentAdditionDialog.d.ts +1 -1
  88. package/src/sap/cux/home/ContentAdditionDialog.js +1 -1
  89. package/src/sap/cux/home/ContentAdditionDialog.js.map +1 -1
  90. package/src/sap/cux/home/ContentAdditionDialog.ts +1 -1
  91. package/src/sap/cux/home/CustomFlexBox.gen.d.ts +1 -1
  92. package/src/sap/cux/home/ErrorPanel.gen.d.ts +1 -1
  93. package/src/sap/cux/home/ErrorPanel.js +1 -1
  94. package/src/sap/cux/home/ErrorPanel.js.map +1 -1
  95. package/src/sap/cux/home/ErrorPanel.ts +1 -1
  96. package/src/sap/cux/home/FavAppPanel.js +1 -1
  97. package/src/sap/cux/home/FavAppPanel.js.map +1 -1
  98. package/src/sap/cux/home/FavAppPanel.ts +1 -1
  99. package/src/sap/cux/home/FrequentAppPanel.js +1 -1
  100. package/src/sap/cux/home/FrequentAppPanel.js.map +1 -1
  101. package/src/sap/cux/home/FrequentAppPanel.ts +1 -1
  102. package/src/sap/cux/home/Group.d.ts +1 -1
  103. package/src/sap/cux/home/Group.gen.d.ts +1 -1
  104. package/src/sap/cux/home/Group.js +1 -1
  105. package/src/sap/cux/home/Group.js.map +1 -1
  106. package/src/sap/cux/home/Group.ts +1 -1
  107. package/src/sap/cux/home/IToDoPanel.d.ts +1 -1
  108. package/src/sap/cux/home/IToDoPanel.js +1 -1
  109. package/src/sap/cux/home/IToDoPanel.js.map +1 -1
  110. package/src/sap/cux/home/IToDoPanel.ts +1 -1
  111. package/src/sap/cux/home/InsightsAdditionPanel.d.ts +0 -7
  112. package/src/sap/cux/home/InsightsAdditionPanel.d.ts.map +1 -1
  113. package/src/sap/cux/home/InsightsAdditionPanel.js +1 -13
  114. package/src/sap/cux/home/InsightsAdditionPanel.js.map +1 -1
  115. package/src/sap/cux/home/InsightsAdditionPanel.ts +1 -14
  116. package/src/sap/cux/home/InsightsCardsSettingsPanel.js +1 -1
  117. package/src/sap/cux/home/InsightsCardsSettingsPanel.js.map +1 -1
  118. package/src/sap/cux/home/InsightsCardsSettingsPanel.ts +1 -1
  119. package/src/sap/cux/home/InsightsTilesSettingsPanel.js +1 -1
  120. package/src/sap/cux/home/InsightsTilesSettingsPanel.js.map +1 -1
  121. package/src/sap/cux/home/InsightsTilesSettingsPanel.ts +1 -1
  122. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js +1 -1
  123. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js.map +1 -1
  124. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.ts +1 -1
  125. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js +1 -1
  126. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js.map +1 -1
  127. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.ts +1 -1
  128. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js +1 -1
  129. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js.map +1 -1
  130. package/src/sap/cux/home/KeyUserNewsSettingsPanel.ts +1 -1
  131. package/src/sap/cux/home/KeyUserPagesSettingsPanel.js +1 -1
  132. package/src/sap/cux/home/KeyUserPagesSettingsPanel.js.map +1 -1
  133. package/src/sap/cux/home/KeyUserPagesSettingsPanel.ts +1 -1
  134. package/src/sap/cux/home/KeyUserSettingsDialog.d.ts +1 -1
  135. package/src/sap/cux/home/KeyUserSettingsDialog.js +1 -1
  136. package/src/sap/cux/home/KeyUserSettingsDialog.js.map +1 -1
  137. package/src/sap/cux/home/KeyUserSettingsDialog.ts +1 -1
  138. package/src/sap/cux/home/Layout.d.ts +1 -1
  139. package/src/sap/cux/home/Layout.js +1 -1
  140. package/src/sap/cux/home/Layout.js.map +1 -1
  141. package/src/sap/cux/home/Layout.ts +1 -1
  142. package/src/sap/cux/home/LayoutSettingsPanel.js +1 -1
  143. package/src/sap/cux/home/LayoutSettingsPanel.js.map +1 -1
  144. package/src/sap/cux/home/LayoutSettingsPanel.ts +1 -1
  145. package/src/sap/cux/home/MenuItem.d.ts +1 -1
  146. package/src/sap/cux/home/MenuItem.gen.d.ts +1 -1
  147. package/src/sap/cux/home/MenuItem.js +1 -1
  148. package/src/sap/cux/home/MenuItem.js.map +1 -1
  149. package/src/sap/cux/home/MenuItem.ts +1 -1
  150. package/src/sap/cux/home/NewsContainer.gen.d.ts +1 -1
  151. package/src/sap/cux/home/NewsContainer.js +1 -1
  152. package/src/sap/cux/home/NewsContainer.js.map +1 -1
  153. package/src/sap/cux/home/NewsContainer.ts +1 -1
  154. package/src/sap/cux/home/NewsGroup.gen.d.ts +1 -1
  155. package/src/sap/cux/home/NewsGroup.js +1 -1
  156. package/src/sap/cux/home/NewsGroup.js.map +1 -1
  157. package/src/sap/cux/home/NewsGroup.ts +1 -1
  158. package/src/sap/cux/home/NewsItem.gen.d.ts +1 -1
  159. package/src/sap/cux/home/NewsItem.js +1 -1
  160. package/src/sap/cux/home/NewsItem.js.map +1 -1
  161. package/src/sap/cux/home/NewsItem.ts +1 -1
  162. package/src/sap/cux/home/NewsPanel.gen.d.ts +1 -1
  163. package/src/sap/cux/home/NewsPanel.js +1 -1
  164. package/src/sap/cux/home/NewsPanel.js.map +1 -1
  165. package/src/sap/cux/home/NewsPanel.ts +1 -1
  166. package/src/sap/cux/home/NewsSettingsPanel.js +1 -1
  167. package/src/sap/cux/home/NewsSettingsPanel.js.map +1 -1
  168. package/src/sap/cux/home/NewsSettingsPanel.ts +1 -1
  169. package/src/sap/cux/home/NoDataContainer.js +1 -1
  170. package/src/sap/cux/home/NoDataContainer.js.map +1 -1
  171. package/src/sap/cux/home/NoDataContainer.ts +1 -1
  172. package/src/sap/cux/home/Page.d.ts +1 -1
  173. package/src/sap/cux/home/Page.gen.d.ts +1 -1
  174. package/src/sap/cux/home/Page.js +1 -1
  175. package/src/sap/cux/home/Page.js.map +1 -1
  176. package/src/sap/cux/home/Page.ts +1 -1
  177. package/src/sap/cux/home/PagePanel.js +1 -1
  178. package/src/sap/cux/home/PagePanel.js.map +1 -1
  179. package/src/sap/cux/home/PagePanel.ts +1 -1
  180. package/src/sap/cux/home/PageSettingsPanel.js +1 -1
  181. package/src/sap/cux/home/PageSettingsPanel.js.map +1 -1
  182. package/src/sap/cux/home/PageSettingsPanel.ts +1 -1
  183. package/src/sap/cux/home/PagesContainer.gen.d.ts +1 -1
  184. package/src/sap/cux/home/PagesContainer.js +1 -1
  185. package/src/sap/cux/home/PagesContainer.js.map +1 -1
  186. package/src/sap/cux/home/PagesContainer.ts +1 -1
  187. package/src/sap/cux/home/RecentAppPanel.d.ts +18 -0
  188. package/src/sap/cux/home/RecentAppPanel.d.ts.map +1 -1
  189. package/src/sap/cux/home/RecentAppPanel.js +30 -1
  190. package/src/sap/cux/home/RecentAppPanel.js.map +1 -1
  191. package/src/sap/cux/home/RecentAppPanel.ts +33 -2
  192. package/src/sap/cux/home/RecommendedAppPanel.d.ts.map +1 -1
  193. package/src/sap/cux/home/RecommendedAppPanel.js +6 -5
  194. package/src/sap/cux/home/RecommendedAppPanel.js.map +1 -1
  195. package/src/sap/cux/home/RecommendedAppPanel.ts +5 -4
  196. package/src/sap/cux/home/SettingsDialog.d.ts +8 -1
  197. package/src/sap/cux/home/SettingsDialog.d.ts.map +1 -1
  198. package/src/sap/cux/home/SettingsDialog.js +185 -15
  199. package/src/sap/cux/home/SettingsDialog.js.map +1 -1
  200. package/src/sap/cux/home/SettingsDialog.ts +15 -5
  201. package/src/sap/cux/home/SideBySideIconTabFilter.d.ts +1 -1
  202. package/src/sap/cux/home/SideBySideIconTabFilter.gen.d.ts +1 -1
  203. package/src/sap/cux/home/SideBySideIconTabFilter.js +1 -1
  204. package/src/sap/cux/home/SideBySideIconTabFilter.js.map +1 -1
  205. package/src/sap/cux/home/SideBySideIconTabFilter.ts +1 -1
  206. package/src/sap/cux/home/SituationPanel.js +1 -1
  207. package/src/sap/cux/home/SituationPanel.js.map +1 -1
  208. package/src/sap/cux/home/SituationPanel.ts +1 -1
  209. package/src/sap/cux/home/SpaceInsightsPanel.gen.d.ts +1 -1
  210. package/src/sap/cux/home/SpaceInsightsPanel.js +1 -1
  211. package/src/sap/cux/home/SpaceInsightsPanel.js.map +1 -1
  212. package/src/sap/cux/home/SpaceInsightsPanel.ts +1 -1
  213. package/src/sap/cux/home/SpacePanel.gen.d.ts +1 -1
  214. package/src/sap/cux/home/SpacePanel.js +1 -1
  215. package/src/sap/cux/home/SpacePanel.js.map +1 -1
  216. package/src/sap/cux/home/SpacePanel.ts +1 -1
  217. package/src/sap/cux/home/TaskPanel.gen.d.ts +1 -1
  218. package/src/sap/cux/home/TaskPanel.js +1 -1
  219. package/src/sap/cux/home/TaskPanel.js.map +1 -1
  220. package/src/sap/cux/home/TaskPanel.ts +1 -1
  221. package/src/sap/cux/home/TilesContainer.d.ts +1 -1
  222. package/src/sap/cux/home/TilesContainer.js +1 -1
  223. package/src/sap/cux/home/TilesContainer.js.map +1 -1
  224. package/src/sap/cux/home/TilesContainer.ts +1 -1
  225. package/src/sap/cux/home/TilesPanel.gen.d.ts +1 -1
  226. package/src/sap/cux/home/TilesPanel.js +1 -1
  227. package/src/sap/cux/home/TilesPanel.js.map +1 -1
  228. package/src/sap/cux/home/TilesPanel.ts +1 -1
  229. package/src/sap/cux/home/ToDoPanel.gen.d.ts +1 -1
  230. package/src/sap/cux/home/ToDoPanel.js +1 -1
  231. package/src/sap/cux/home/ToDoPanel.js.map +1 -1
  232. package/src/sap/cux/home/ToDoPanel.ts +1 -1
  233. package/src/sap/cux/home/ToDosContainer.js +1 -1
  234. package/src/sap/cux/home/ToDosContainer.js.map +1 -1
  235. package/src/sap/cux/home/ToDosContainer.ts +1 -1
  236. package/src/sap/cux/home/changeHandler/LayoutHandler.js +1 -1
  237. package/src/sap/cux/home/changeHandler/LayoutHandler.js.map +1 -1
  238. package/src/sap/cux/home/changeHandler/LayoutHandler.ts +1 -1
  239. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.d.ts +1 -1
  240. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.js +1 -1
  241. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.js.map +1 -1
  242. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.ts +1 -1
  243. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.d.ts +1 -1
  244. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js +1 -1
  245. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js.map +1 -1
  246. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.ts +1 -1
  247. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.d.ts +1 -1
  248. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.js +1 -1
  249. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.js.map +1 -1
  250. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.ts +1 -1
  251. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.d.ts +1 -1
  252. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.js +1 -1
  253. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.js.map +1 -1
  254. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.ts +1 -1
  255. package/src/sap/cux/home/designtime/Layout.designtime.js +1 -1
  256. package/src/sap/cux/home/designtime/Layout.designtime.js.map +1 -1
  257. package/src/sap/cux/home/designtime/Layout.designtime.ts +1 -1
  258. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.js +1 -1
  259. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.js.map +1 -1
  260. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.ts +1 -1
  261. package/src/sap/cux/home/flexibility/Layout.flexibility.d.ts +1 -1
  262. package/src/sap/cux/home/flexibility/Layout.flexibility.js +1 -1
  263. package/src/sap/cux/home/flexibility/Layout.flexibility.js.map +1 -1
  264. package/src/sap/cux/home/flexibility/Layout.flexibility.ts +1 -1
  265. package/src/sap/cux/home/i18n/messagebundle.properties +1 -1
  266. package/src/sap/cux/home/i18n/messagebundle_ar.properties +4 -4
  267. package/src/sap/cux/home/i18n/messagebundle_bg.properties +4 -8
  268. package/src/sap/cux/home/i18n/messagebundle_ca.properties +5 -9
  269. package/src/sap/cux/home/i18n/messagebundle_cnr.properties +10 -14
  270. package/src/sap/cux/home/i18n/messagebundle_cs.properties +4 -8
  271. package/src/sap/cux/home/i18n/messagebundle_cy.properties +4 -8
  272. package/src/sap/cux/home/i18n/messagebundle_da.properties +4 -8
  273. package/src/sap/cux/home/i18n/messagebundle_de.properties +7 -11
  274. package/src/sap/cux/home/i18n/messagebundle_el.properties +4 -8
  275. package/src/sap/cux/home/i18n/messagebundle_en.properties +5 -9
  276. package/src/sap/cux/home/i18n/messagebundle_en_GB.properties +4 -8
  277. package/src/sap/cux/home/i18n/messagebundle_en_US_sappsd.properties +1 -5
  278. package/src/sap/cux/home/i18n/messagebundle_en_US_saprigi.properties +1 -5
  279. package/src/sap/cux/home/i18n/messagebundle_en_US_saptrc.properties +4 -8
  280. package/src/sap/cux/home/i18n/messagebundle_es.properties +4 -8
  281. package/src/sap/cux/home/i18n/messagebundle_es_MX.properties +4 -8
  282. package/src/sap/cux/home/i18n/messagebundle_et.properties +4 -8
  283. package/src/sap/cux/home/i18n/messagebundle_fi.properties +4 -8
  284. package/src/sap/cux/home/i18n/messagebundle_fr.properties +4 -8
  285. package/src/sap/cux/home/i18n/messagebundle_fr_CA.properties +4 -8
  286. package/src/sap/cux/home/i18n/messagebundle_hi.properties +4 -8
  287. package/src/sap/cux/home/i18n/messagebundle_hr.properties +4 -8
  288. package/src/sap/cux/home/i18n/messagebundle_hu.properties +4 -8
  289. package/src/sap/cux/home/i18n/messagebundle_id.properties +18 -22
  290. package/src/sap/cux/home/i18n/messagebundle_it.properties +4 -8
  291. package/src/sap/cux/home/i18n/messagebundle_iw.properties +4 -8
  292. package/src/sap/cux/home/i18n/messagebundle_ja.properties +4 -8
  293. package/src/sap/cux/home/i18n/messagebundle_kk.properties +4 -8
  294. package/src/sap/cux/home/i18n/messagebundle_ko.properties +4 -8
  295. package/src/sap/cux/home/i18n/messagebundle_lt.properties +4 -8
  296. package/src/sap/cux/home/i18n/messagebundle_lv.properties +4 -8
  297. package/src/sap/cux/home/i18n/messagebundle_mk.properties +4 -8
  298. package/src/sap/cux/home/i18n/messagebundle_ms.properties +4 -8
  299. package/src/sap/cux/home/i18n/messagebundle_nl.properties +4 -8
  300. package/src/sap/cux/home/i18n/messagebundle_no.properties +4 -8
  301. package/src/sap/cux/home/i18n/messagebundle_pl.properties +4 -8
  302. package/src/sap/cux/home/i18n/messagebundle_pt.properties +4 -8
  303. package/src/sap/cux/home/i18n/messagebundle_pt_PT.properties +4 -8
  304. package/src/sap/cux/home/i18n/messagebundle_ro.properties +5 -9
  305. package/src/sap/cux/home/i18n/messagebundle_ru.properties +4 -8
  306. package/src/sap/cux/home/i18n/messagebundle_sh.properties +10 -14
  307. package/src/sap/cux/home/i18n/messagebundle_sk.properties +4 -8
  308. package/src/sap/cux/home/i18n/messagebundle_sl.properties +5 -9
  309. package/src/sap/cux/home/i18n/messagebundle_sr.properties +10 -14
  310. package/src/sap/cux/home/i18n/messagebundle_sv.properties +4 -8
  311. package/src/sap/cux/home/i18n/messagebundle_th.properties +4 -8
  312. package/src/sap/cux/home/i18n/messagebundle_tr.properties +4 -8
  313. package/src/sap/cux/home/i18n/messagebundle_uk.properties +6 -10
  314. package/src/sap/cux/home/i18n/messagebundle_vi.properties +4 -8
  315. package/src/sap/cux/home/i18n/messagebundle_zh_CN.properties +4 -8
  316. package/src/sap/cux/home/i18n/messagebundle_zh_TW.properties +4 -8
  317. package/src/sap/cux/home/interface/AppsInterface.d.ts +1 -1
  318. package/src/sap/cux/home/interface/AppsInterface.js.map +1 -1
  319. package/src/sap/cux/home/interface/AppsInterface.ts +1 -1
  320. package/src/sap/cux/home/interface/CardsInterface.d.ts +1 -7
  321. package/src/sap/cux/home/interface/CardsInterface.d.ts.map +1 -1
  322. package/src/sap/cux/home/interface/CardsInterface.js +1 -1
  323. package/src/sap/cux/home/interface/CardsInterface.js.map +1 -1
  324. package/src/sap/cux/home/interface/CardsInterface.ts +1 -7
  325. package/src/sap/cux/home/interface/KeyUserInterface.d.ts +1 -1
  326. package/src/sap/cux/home/interface/KeyUserInterface.js.map +1 -1
  327. package/src/sap/cux/home/interface/KeyUserInterface.ts +1 -1
  328. package/src/sap/cux/home/interface/LayoutInterface.d.ts +1 -1
  329. package/src/sap/cux/home/interface/LayoutInterface.js.map +1 -1
  330. package/src/sap/cux/home/interface/LayoutInterface.ts +1 -1
  331. package/src/sap/cux/home/interface/PageSpaceInterface.d.ts +1 -1
  332. package/src/sap/cux/home/interface/PageSpaceInterface.js.map +1 -1
  333. package/src/sap/cux/home/interface/PageSpaceInterface.ts +1 -1
  334. package/src/sap/cux/home/library.js +1 -1
  335. package/src/sap/cux/home/library.js.map +1 -1
  336. package/src/sap/cux/home/library.ts +1 -1
  337. package/src/sap/cux/home/utils/Accessibility.d.ts +1 -1
  338. package/src/sap/cux/home/utils/Accessibility.js +1 -1
  339. package/src/sap/cux/home/utils/Accessibility.js.map +1 -1
  340. package/src/sap/cux/home/utils/Accessibility.ts +1 -1
  341. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.d.ts +1 -1
  342. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.js +1 -1
  343. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.js.map +1 -1
  344. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.ts +1 -1
  345. package/src/sap/cux/home/utils/AppManager.js +1 -1
  346. package/src/sap/cux/home/utils/AppManager.js.map +1 -1
  347. package/src/sap/cux/home/utils/AppManager.ts +1 -1
  348. package/src/sap/cux/home/utils/BatchHelper.d.ts +1 -1
  349. package/src/sap/cux/home/utils/BatchHelper.js +1 -1
  350. package/src/sap/cux/home/utils/BatchHelper.js.map +1 -1
  351. package/src/sap/cux/home/utils/BatchHelper.ts +1 -1
  352. package/src/sap/cux/home/utils/ColorUtils.d.ts +1 -1
  353. package/src/sap/cux/home/utils/ColorUtils.js +1 -1
  354. package/src/sap/cux/home/utils/ColorUtils.js.map +1 -1
  355. package/src/sap/cux/home/utils/ColorUtils.ts +1 -1
  356. package/src/sap/cux/home/utils/CommonUtils.js +1 -1
  357. package/src/sap/cux/home/utils/CommonUtils.js.map +1 -1
  358. package/src/sap/cux/home/utils/CommonUtils.ts +1 -1
  359. package/src/sap/cux/home/utils/Constants.js +1 -1
  360. package/src/sap/cux/home/utils/Constants.js.map +1 -1
  361. package/src/sap/cux/home/utils/Constants.ts +1 -1
  362. package/src/sap/cux/home/utils/DataFormatUtils.d.ts +1 -1
  363. package/src/sap/cux/home/utils/DataFormatUtils.js +1 -1
  364. package/src/sap/cux/home/utils/DataFormatUtils.js.map +1 -1
  365. package/src/sap/cux/home/utils/DataFormatUtils.ts +1 -1
  366. package/src/sap/cux/home/utils/DecisionDialog.js +1 -1
  367. package/src/sap/cux/home/utils/DecisionDialog.js.map +1 -1
  368. package/src/sap/cux/home/utils/DecisionDialog.ts +1 -1
  369. package/src/sap/cux/home/utils/Device.js +1 -1
  370. package/src/sap/cux/home/utils/Device.js.map +1 -1
  371. package/src/sap/cux/home/utils/Device.ts +1 -1
  372. package/src/sap/cux/home/utils/DragDropUtils.d.ts +1 -1
  373. package/src/sap/cux/home/utils/DragDropUtils.js +1 -1
  374. package/src/sap/cux/home/utils/DragDropUtils.js.map +1 -1
  375. package/src/sap/cux/home/utils/DragDropUtils.ts +1 -1
  376. package/src/sap/cux/home/utils/FESRUtil.d.ts +1 -1
  377. package/src/sap/cux/home/utils/FESRUtil.js +1 -1
  378. package/src/sap/cux/home/utils/FESRUtil.js.map +1 -1
  379. package/src/sap/cux/home/utils/FESRUtil.ts +1 -1
  380. package/src/sap/cux/home/utils/FeatureUtils.js +1 -1
  381. package/src/sap/cux/home/utils/FeatureUtils.js.map +1 -1
  382. package/src/sap/cux/home/utils/FeatureUtils.ts +1 -1
  383. package/src/sap/cux/home/utils/HttpHelper.js +1 -1
  384. package/src/sap/cux/home/utils/HttpHelper.js.map +1 -1
  385. package/src/sap/cux/home/utils/HttpHelper.ts +1 -1
  386. package/src/sap/cux/home/utils/IconList.d.ts +1 -1
  387. package/src/sap/cux/home/utils/IconList.js +1 -1
  388. package/src/sap/cux/home/utils/IconList.js.map +1 -1
  389. package/src/sap/cux/home/utils/IconList.ts +1 -1
  390. package/src/sap/cux/home/utils/InsightsUtils.d.ts +1 -1
  391. package/src/sap/cux/home/utils/InsightsUtils.js +1 -1
  392. package/src/sap/cux/home/utils/InsightsUtils.js.map +1 -1
  393. package/src/sap/cux/home/utils/InsightsUtils.ts +1 -1
  394. package/src/sap/cux/home/utils/PXFeedback.js +1 -1
  395. package/src/sap/cux/home/utils/PXFeedback.js.map +1 -1
  396. package/src/sap/cux/home/utils/PXFeedback.ts +1 -1
  397. package/src/sap/cux/home/utils/PageManager.js +1 -1
  398. package/src/sap/cux/home/utils/PageManager.js.map +1 -1
  399. package/src/sap/cux/home/utils/PageManager.ts +1 -1
  400. package/src/sap/cux/home/utils/PagesIconsConstants.d.ts +1 -1
  401. package/src/sap/cux/home/utils/PagesIconsConstants.js +1 -1
  402. package/src/sap/cux/home/utils/PagesIconsConstants.js.map +1 -1
  403. package/src/sap/cux/home/utils/PagesIconsConstants.ts +1 -1
  404. package/src/sap/cux/home/utils/PerformanceUtils.js +1 -1
  405. package/src/sap/cux/home/utils/PerformanceUtils.js.map +1 -1
  406. package/src/sap/cux/home/utils/PerformanceUtils.ts +1 -1
  407. package/src/sap/cux/home/utils/PersonalisationUtils.d.ts +1 -1
  408. package/src/sap/cux/home/utils/PersonalisationUtils.js +1 -1
  409. package/src/sap/cux/home/utils/PersonalisationUtils.js.map +1 -1
  410. package/src/sap/cux/home/utils/PersonalisationUtils.ts +1 -1
  411. package/src/sap/cux/home/utils/RecommendedCardUtil.js +1 -1
  412. package/src/sap/cux/home/utils/RecommendedCardUtil.js.map +1 -1
  413. package/src/sap/cux/home/utils/RecommendedCardUtil.ts +1 -1
  414. package/src/sap/cux/home/utils/SituationUtils.js +1 -1
  415. package/src/sap/cux/home/utils/SituationUtils.js.map +1 -1
  416. package/src/sap/cux/home/utils/SituationUtils.ts +1 -1
  417. package/src/sap/cux/home/utils/TaskUtils.js +1 -1
  418. package/src/sap/cux/home/utils/TaskUtils.js.map +1 -1
  419. package/src/sap/cux/home/utils/TaskUtils.ts +1 -1
  420. package/src/sap/cux/home/utils/UshellPersonalizer.d.ts +1 -1
  421. package/src/sap/cux/home/utils/UshellPersonalizer.js +1 -1
  422. package/src/sap/cux/home/utils/UshellPersonalizer.js.map +1 -1
  423. package/src/sap/cux/home/utils/UshellPersonalizer.ts +1 -1
  424. package/src/sap/cux/home/utils/extension/CardExtension.js +1 -1
  425. package/src/sap/cux/home/utils/extension/CardExtension.js.map +1 -1
  426. package/src/sap/cux/home/utils/extension/CardExtension.ts +1 -1
  427. package/src/sap/cux/home/utils/fragment/appsAdditionContent.fragment.xml +1 -1
  428. package/src/sap/cux/home/utils/fragment/showDecisionDialog.fragment.xml +1 -1
  429. package/src/sap/cux/home/utils/placeholder/AppsPlaceholder.d.ts +1 -1
  430. package/src/sap/cux/home/utils/placeholder/AppsPlaceholder.js +1 -1
  431. package/src/sap/cux/home/utils/placeholder/AppsPlaceholder.js.map +1 -1
  432. package/src/sap/cux/home/utils/placeholder/AppsPlaceholder.ts +1 -1
  433. package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.d.ts +1 -1
  434. package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.js +1 -1
  435. package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.js.map +1 -1
  436. package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.ts +1 -1
  437. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.d.ts +1 -1
  438. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.js +1 -1
  439. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.js.map +1 -1
  440. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.ts +1 -1
  441. package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.d.ts +1 -1
  442. package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.js +1 -1
  443. package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.js.map +1 -1
  444. package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.ts +1 -1
  445. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.d.ts +1 -1
  446. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.js +1 -1
  447. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.js.map +1 -1
  448. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.ts +1 -1
  449. package/src/sap/cux/home/utils/placeholder/ToDosPlaceholder.d.ts +1 -1
  450. package/src/sap/cux/home/utils/placeholder/ToDosPlaceholder.js +1 -1
  451. package/src/sap/cux/home/utils/placeholder/ToDosPlaceholder.js.map +1 -1
  452. package/src/sap/cux/home/utils/placeholder/ToDosPlaceholder.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  declare module "sap/cux/home/BasePanel" {
2
2
  /*!
3
3
  * SAP UI development toolkit for HTML5 (SAPUI5)
4
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
4
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
5
5
  */
6
6
  import ResourceBundle from "sap/base/i18n/ResourceBundle";
7
7
  import GridContainer from "sap/f/GridContainer";
@@ -1,7 +1,7 @@
1
1
  declare module "sap/cux/home/BasePanel" {
2
2
  /*!
3
3
  * SAP UI development toolkit for HTML5 (SAPUI5)
4
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
4
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
5
5
  */
6
6
  import Event from "sap/ui/base/Event";
7
7
  import Control from "sap/ui/core/Control";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
3
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
4
4
  */
5
5
  sap.ui.define(["sap/ui/core/dnd/DragDropInfo", "sap/ui/core/Element", "sap/ui/core/Lib", "sap/ui/core/library", "./utils/Device", "./utils/DragDropUtils"], function (DragDropInfo, Element, Lib, sap_ui_core_library, ___utils_Device, ___utils_DragDropUtils) {
6
6
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"file":"BasePanel.js","names":["sap","ui","define","DragDropInfo","Element","Lib","sap_ui_core_library","___utils_Device","___utils_DragDropUtils","dnd","calculateDeviceType","attachKeyboardHandler","BasePanel","extend","metadata","library","properties","title","type","group","defaultValue","key","visible","showBadge","visibility","tooltip","enableSettings","enableKeyUserSettings","enableFullScreen","fullScreenName","defaultAggregation","aggregations","content","multiple","singularName","actionButtons","menuItems","events","onExpand","loaded","associations","fullScreenButton","constructor","_constructor","id","settings","Element.prototype.constructor.call","init","_init","_i18nBundle","getResourceBundleFor","getProperty","setProperty","getId","_setCount","count","getParent","_setPanelCount","_showBadge","show","_setPanelBadge","getDeviceType","_getDeviceType","container","addDragDropConfigTo","_addDragDropConfigTo","dropHandler","keyboardHandler","dropPositionType","DropPosition","Between","addDragDropConfig","sourceAggregation","targetAggregation","dropPosition","dropLayout","DropLayout","Horizontal","drop","attachBrowserEvent","event","disableNavigation","metaKey","ctrlKey","dragDropEvent"],"sources":["BasePanel.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 GridContainer from \"sap/f/GridContainer\";\nimport FlexBox from \"sap/m/FlexBox\";\nimport HeaderContainer from \"sap/m/HeaderContainer\";\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 BaseContainer from \"./BaseContainer\";\nimport { $BasePanelSettings } from \"./BasePanel\";\nimport { DeviceType, calculateDeviceType } from \"./utils/Device\";\nimport { attachKeyboardHandler } from \"./utils/DragDropUtils\";\n\n/**\n *\n * Abstract base class for all panels placed in {@link sap.cux.home.BaseContainer}.\n *\n * @extends sap.ui.core.Element\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.121\n *\n * @abstract\n * @private\n * @ui5-restricted ux.eng.s4producthomes1\n *\n * @alias sap.cux.home.BasePanel\n */\nexport default abstract class BasePanel extends Element {\n\tprotected _i18nBundle!: ResourceBundle;\n\n\tconstructor(id?: string | $BasePanelSettings);\n\tconstructor(id?: string, settings?: $BasePanelSettings);\n\t/**\n\t * Constructor for a new Base 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?: $BasePanelSettings) {\n\t\tsuper(id, settings);\n\t}\n\n\tstatic readonly metadata: MetadataOptions = {\n\t\tlibrary: \"sap.cux.home\",\n\t\tproperties: {\n\t\t\t/**\n\t\t\t * Title for the panel.\n\t\t\t */\n\t\t\ttitle: { type: \"string\", group: \"Misc\", defaultValue: \"\" },\n\t\t\t/**\n\t\t\t * Key for the panel.\n\t\t\t */\n\t\t\tkey: { type: \"string\", group: \"Misc\", defaultValue: \"\" },\n\t\t\t/**\n\t\t\t * Specifies whether the panel should be visible.\n\t\t\t */\n\t\t\tvisible: { type: \"boolean\", group: \"Misc\", defaultValue: true },\n\t\t\t/**\n\t\t\t * Specifies whether the badge should be shown on the panel.\n\t\t\t * Applicable only for Side-by-Side orientation.\n\t\t\t */\n\t\t\tshowBadge: { type: \"boolean\", group: \"Misc\", defaultValue: false, visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Tooltip for the panel.\n\t\t\t */\n\t\t\ttooltip: { type: \"string\", group: \"Misc\", defaultValue: \"\", visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Specifies whether settings should be enabled for the panel.\n\t\t\t */\n\t\t\tenableSettings: { type: \"boolean\", group: \"Misc\", visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Specifies whether key user settings should be enabled for the panel.\n\t\t\t */\n\t\t\tenableKeyUserSettings: { type: \"boolean\", group: \"Misc\", visibility: \"hidden\", defaultValue: true },\n\t\t\t/**\n\t\t\t * Indicates whether full screen is enabled for this control.\n\t\t\t */\n\t\t\tenableFullScreen: { type: \"boolean\", group: \"Misc\", visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * The name of the URL parameter used to expand the container into full-screen mode.\n\t\t\t * This property specifies the parameter key expected in the URL query string\n\t\t\t * to identify the container to be expanded.\n\t\t\t */\n\t\t\tfullScreenName: { type: \"string\", group: \"Misc\", visibility: \"hidden\" }\n\t\t},\n\t\tdefaultAggregation: \"content\",\n\t\taggregations: {\n\t\t\t/**\n\t\t\t * Specifies the content aggregation of the panel.\n\t\t\t */\n\t\t\tcontent: { multiple: true, singularName: \"content\" },\n\t\t\t/**\n\t\t\t * Specifies the actions to be shown within the panel.\n\t\t\t */\n\t\t\tactionButtons: { type: \"sap.m.Button\", multiple: true, singularName: \"actionButton\" },\n\t\t\t/**\n\t\t\t * Specifies the items that are shown within the dropdown menu of the panel.\n\t\t\t */\n\t\t\tmenuItems: { type: \"sap.cux.home.MenuItem\", multiple: true, singularName: \"menuItem\" }\n\t\t},\n\t\tevents: {\n\t\t\t/**\n\t\t\t * Event is fired before the container is expanded.\n\t\t\t */\n\t\t\tonExpand: {},\n\t\t\t/**\n\t\t\t * Event is fired after the panel is loaded.\n\t\t\t */\n\t\t\tloaded: {}\n\t\t},\n\t\tassociations: {\n\t\t\tfullScreenButton: { type: \"sap.m.Button\", multiple: false, singularName: \"fullScreenButton\", visibility: \"hidden\" }\n\t\t}\n\t};\n\n\t/**\n\t * Init lifecycle method\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic init(): void {\n\t\tthis._i18nBundle = Lib.getResourceBundleFor(\"sap.cux.home.i18n\") as ResourceBundle;\n\n\t\t// set default key if not provided\n\t\tif (!this.getProperty(\"key\")) {\n\t\t\tthis.setProperty(\"key\", this.getId());\n\t\t}\n\t}\n\n\t/**\n\t * Updates the count information of IconTabFilter of IconTabBar inner control\n\t * in case of SideBySide layout\n\t *\n\t * @private\n\t * @param {string} count - updated count information\n\t */\n\tpublic _setCount(count?: string): void {\n\t\t(this.getParent() as BaseContainer)?._setPanelCount(this, count);\n\t}\n\n\t/**\n\t * Shows or hides the badge on the IconTabFilter of IconTabBar inner control\n\t *\n\t * @private\n\t * @param show - whether to show the badge\n\t */\n\tpublic _showBadge(show?: boolean): void {\n\t\tthis.setProperty(\"showBadge\", show, true);\n\t\t(this.getParent() as BaseContainer)?._setPanelBadge(this, show);\n\t}\n\n\t/**\n\t * Retrieves the device type for the current panel.\n\t *\n\t * @private\n\t * @returns {DeviceType} - The device type of the parent container if it exists,\n\t * otherwise calculates and returns the device type based on the current device width.\n\t */\n\tprotected getDeviceType(): DeviceType {\n\t\tconst container = this.getParent() as BaseContainer;\n\t\treturn container ? container.getDeviceType() : calculateDeviceType();\n\t}\n\n\tprotected addDragDropConfigTo(\n\t\tcontainer: GridContainer | FlexBox | HeaderContainer,\n\t\tdropHandler: (event: DropInfo$DropEvent) => void,\n\t\tkeyboardHandler?: (event: KeyboardEvent) => void,\n\t\tdropPositionType: dnd.DropPosition = dnd.DropPosition.Between\n\t): void {\n\t\tcontainer\n\t\t\t.addDragDropConfig(\n\t\t\t\tnew DragDropInfo(`${container.getId()}--addDragDropConfig`, {\n\t\t\t\t\tsourceAggregation: \"items\",\n\t\t\t\t\ttargetAggregation: \"items\",\n\t\t\t\t\tdropPosition: dropPositionType,\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\tif (keyboardHandler) {\n\t\t\tcontainer.attachBrowserEvent(\"keydown\", keyboardHandler);\n\t\t}\n\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CAACC,UAAU;QACrCC,IAAI,EAAEZ;MACP,CAAC,CACF,CAAC,CACAa,kBAAkB,CAAC,SAAS,EAAGC,KAAoB,IAAK;QACxD,MAAMC,iBAAiB,GAAGD,KAAK,CAACE,OAAO,IAAIF,KAAK,CAACG,OAAO;QACxD,KAAKxE,qBAAqB,CAACqE,KAAK,EAAEC,iBAAiB,EAAGG,aAAiC,IAAK;UAC3FlB,WAAW,CAACkB,aAAa,CAAC;QAC3B,CAAC,CAAC;MACH,CAAC,CAAC;MACH,IAAIjB,eAAe,EAAE;QACpBJ,SAAS,CAACgB,kBAAkB,CAAC,SAAS,EAAEZ,eAAe,CAAC;MACzD;IACD;EAAC;EAAA,OAlK4BvD,SAAS;AAAA","ignoreList":[]}
1
+ {"version":3,"file":"BasePanel.js","names":["sap","ui","define","DragDropInfo","Element","Lib","sap_ui_core_library","___utils_Device","___utils_DragDropUtils","dnd","calculateDeviceType","attachKeyboardHandler","BasePanel","extend","metadata","library","properties","title","type","group","defaultValue","key","visible","showBadge","visibility","tooltip","enableSettings","enableKeyUserSettings","enableFullScreen","fullScreenName","defaultAggregation","aggregations","content","multiple","singularName","actionButtons","menuItems","events","onExpand","loaded","associations","fullScreenButton","constructor","_constructor","id","settings","Element.prototype.constructor.call","init","_init","_i18nBundle","getResourceBundleFor","getProperty","setProperty","getId","_setCount","count","getParent","_setPanelCount","_showBadge","show","_setPanelBadge","getDeviceType","_getDeviceType","container","addDragDropConfigTo","_addDragDropConfigTo","dropHandler","keyboardHandler","dropPositionType","DropPosition","Between","addDragDropConfig","sourceAggregation","targetAggregation","dropPosition","dropLayout","DropLayout","Horizontal","drop","attachBrowserEvent","event","disableNavigation","metaKey","ctrlKey","dragDropEvent"],"sources":["BasePanel.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2026 SAP SE. All rights reserved\n */\n\nimport ResourceBundle from \"sap/base/i18n/ResourceBundle\";\nimport GridContainer from \"sap/f/GridContainer\";\nimport FlexBox from \"sap/m/FlexBox\";\nimport HeaderContainer from \"sap/m/HeaderContainer\";\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 BaseContainer from \"./BaseContainer\";\nimport { $BasePanelSettings } from \"./BasePanel\";\nimport { DeviceType, calculateDeviceType } from \"./utils/Device\";\nimport { attachKeyboardHandler } from \"./utils/DragDropUtils\";\n\n/**\n *\n * Abstract base class for all panels placed in {@link sap.cux.home.BaseContainer}.\n *\n * @extends sap.ui.core.Element\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.121\n *\n * @abstract\n * @private\n * @ui5-restricted ux.eng.s4producthomes1\n *\n * @alias sap.cux.home.BasePanel\n */\nexport default abstract class BasePanel extends Element {\n\tprotected _i18nBundle!: ResourceBundle;\n\n\tconstructor(id?: string | $BasePanelSettings);\n\tconstructor(id?: string, settings?: $BasePanelSettings);\n\t/**\n\t * Constructor for a new Base 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?: $BasePanelSettings) {\n\t\tsuper(id, settings);\n\t}\n\n\tstatic readonly metadata: MetadataOptions = {\n\t\tlibrary: \"sap.cux.home\",\n\t\tproperties: {\n\t\t\t/**\n\t\t\t * Title for the panel.\n\t\t\t */\n\t\t\ttitle: { type: \"string\", group: \"Misc\", defaultValue: \"\" },\n\t\t\t/**\n\t\t\t * Key for the panel.\n\t\t\t */\n\t\t\tkey: { type: \"string\", group: \"Misc\", defaultValue: \"\" },\n\t\t\t/**\n\t\t\t * Specifies whether the panel should be visible.\n\t\t\t */\n\t\t\tvisible: { type: \"boolean\", group: \"Misc\", defaultValue: true },\n\t\t\t/**\n\t\t\t * Specifies whether the badge should be shown on the panel.\n\t\t\t * Applicable only for Side-by-Side orientation.\n\t\t\t */\n\t\t\tshowBadge: { type: \"boolean\", group: \"Misc\", defaultValue: false, visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Tooltip for the panel.\n\t\t\t */\n\t\t\ttooltip: { type: \"string\", group: \"Misc\", defaultValue: \"\", visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Specifies whether settings should be enabled for the panel.\n\t\t\t */\n\t\t\tenableSettings: { type: \"boolean\", group: \"Misc\", visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Specifies whether key user settings should be enabled for the panel.\n\t\t\t */\n\t\t\tenableKeyUserSettings: { type: \"boolean\", group: \"Misc\", visibility: \"hidden\", defaultValue: true },\n\t\t\t/**\n\t\t\t * Indicates whether full screen is enabled for this control.\n\t\t\t */\n\t\t\tenableFullScreen: { type: \"boolean\", group: \"Misc\", visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * The name of the URL parameter used to expand the container into full-screen mode.\n\t\t\t * This property specifies the parameter key expected in the URL query string\n\t\t\t * to identify the container to be expanded.\n\t\t\t */\n\t\t\tfullScreenName: { type: \"string\", group: \"Misc\", visibility: \"hidden\" }\n\t\t},\n\t\tdefaultAggregation: \"content\",\n\t\taggregations: {\n\t\t\t/**\n\t\t\t * Specifies the content aggregation of the panel.\n\t\t\t */\n\t\t\tcontent: { multiple: true, singularName: \"content\" },\n\t\t\t/**\n\t\t\t * Specifies the actions to be shown within the panel.\n\t\t\t */\n\t\t\tactionButtons: { type: \"sap.m.Button\", multiple: true, singularName: \"actionButton\" },\n\t\t\t/**\n\t\t\t * Specifies the items that are shown within the dropdown menu of the panel.\n\t\t\t */\n\t\t\tmenuItems: { type: \"sap.cux.home.MenuItem\", multiple: true, singularName: \"menuItem\" }\n\t\t},\n\t\tevents: {\n\t\t\t/**\n\t\t\t * Event is fired before the container is expanded.\n\t\t\t */\n\t\t\tonExpand: {},\n\t\t\t/**\n\t\t\t * Event is fired after the panel is loaded.\n\t\t\t */\n\t\t\tloaded: {}\n\t\t},\n\t\tassociations: {\n\t\t\tfullScreenButton: { type: \"sap.m.Button\", multiple: false, singularName: \"fullScreenButton\", visibility: \"hidden\" }\n\t\t}\n\t};\n\n\t/**\n\t * Init lifecycle method\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic init(): void {\n\t\tthis._i18nBundle = Lib.getResourceBundleFor(\"sap.cux.home.i18n\") as ResourceBundle;\n\n\t\t// set default key if not provided\n\t\tif (!this.getProperty(\"key\")) {\n\t\t\tthis.setProperty(\"key\", this.getId());\n\t\t}\n\t}\n\n\t/**\n\t * Updates the count information of IconTabFilter of IconTabBar inner control\n\t * in case of SideBySide layout\n\t *\n\t * @private\n\t * @param {string} count - updated count information\n\t */\n\tpublic _setCount(count?: string): void {\n\t\t(this.getParent() as BaseContainer)?._setPanelCount(this, count);\n\t}\n\n\t/**\n\t * Shows or hides the badge on the IconTabFilter of IconTabBar inner control\n\t *\n\t * @private\n\t * @param show - whether to show the badge\n\t */\n\tpublic _showBadge(show?: boolean): void {\n\t\tthis.setProperty(\"showBadge\", show, true);\n\t\t(this.getParent() as BaseContainer)?._setPanelBadge(this, show);\n\t}\n\n\t/**\n\t * Retrieves the device type for the current panel.\n\t *\n\t * @private\n\t * @returns {DeviceType} - The device type of the parent container if it exists,\n\t * otherwise calculates and returns the device type based on the current device width.\n\t */\n\tprotected getDeviceType(): DeviceType {\n\t\tconst container = this.getParent() as BaseContainer;\n\t\treturn container ? container.getDeviceType() : calculateDeviceType();\n\t}\n\n\tprotected addDragDropConfigTo(\n\t\tcontainer: GridContainer | FlexBox | HeaderContainer,\n\t\tdropHandler: (event: DropInfo$DropEvent) => void,\n\t\tkeyboardHandler?: (event: KeyboardEvent) => void,\n\t\tdropPositionType: dnd.DropPosition = dnd.DropPosition.Between\n\t): void {\n\t\tcontainer\n\t\t\t.addDragDropConfig(\n\t\t\t\tnew DragDropInfo(`${container.getId()}--addDragDropConfig`, {\n\t\t\t\t\tsourceAggregation: \"items\",\n\t\t\t\t\ttargetAggregation: \"items\",\n\t\t\t\t\tdropPosition: dropPositionType,\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\tif (keyboardHandler) {\n\t\t\tcontainer.attachBrowserEvent(\"keydown\", keyboardHandler);\n\t\t}\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,yJAAAC,YAAA,EAAAC,OAAA,EAAAC,GAAA,EAAAC,mBAAA,EAAAC,eAAA,EAAAC,sBAAA;EAAA;;EAAA,MAcSC,GAAG,GAAAH,mBAAA;EAAA,MAGSI,mBAAmB,GAAAH,eAAA;EAAA,MAC/BI,qBAAqB,GAAAH,sBAAA;EAE9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EAfA,MAgB8BI,SAAS,GAASR,OAAO,CAAAS,MAAA;IAetCC,QAAQ,EAAoB;MAC3CC,OAAO,EAAE,cAAc;MACvBC,UAAU,EAAE;QACX;AACH;AACA;QACGC,KAAK,EAAE;UAAEC,IAAI,EAAE,QAAQ;UAAEC,KAAK,EAAE,MAAM;UAAEC,YAAY,EAAE;QAAG,CAAC;QAC1D;AACH;AACA;QACGC,GAAG,EAAE;UAAEH,IAAI,EAAE,QAAQ;UAAEC,KAAK,EAAE,MAAM;UAAEC,YAAY,EAAE;QAAG,CAAC;QACxD;AACH;AACA;QACGE,OAAO,EAAE;UAAEJ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CAACP,SAAS,CAAC,CAAkB;MACnD,OAAOO,SAAS,GAAGA,SAAS,CAACF,aAAa,CAAC,CAAC,GAAGnD,mBAAmB,CAAC,CAAC;IACrE,CAAC;IAESsD,mBAAmB,WAAAC,qBAC5BF,SAAoD,EACpDG,WAAgD,EAChDC,eAAgD,EAChDC,gBAAkC,GAAG3D,GAAG,CAAC4D,YAAY,CAACC,OAAO,EACtD;MACPP,SAAS,CACPQ,iBAAiB,CACjB,IAAIpE,YAAY,CAAC,GAAG4D,SAAS,CAACV,KAAK,CAAC,CAAC,qBAAqB,EAAE;QAC3DmB,iBAAiB,EAAE,OAAO;QAC1BC,iBAAiB,EAAE,OAAO;QAC1BC,YAAY,EAAEN,gBAAgB;QAC9BO,UAAU,EAAElE,GAAG,CAACmE,UAAU,CAACC,UAAU;QACrCC,IAAI,EAAEZ;MACP,CAAC,CACF,CAAC,CACAa,kBAAkB,CAAC,SAAS,EAAGC,KAAoB,IAAK;QACxD,MAAMC,iBAAiB,GAAGD,KAAK,CAACE,OAAO,IAAIF,KAAK,CAACG,OAAO;QACxD,KAAKxE,qBAAqB,CAACqE,KAAK,EAAEC,iBAAiB,EAAGG,aAAiC,IAAK;UAC3FlB,WAAW,CAACkB,aAAa,CAAC;QAC3B,CAAC,CAAC;MACH,CAAC,CAAC;MACH,IAAIjB,eAAe,EAAE;QACpBJ,SAAS,CAACgB,kBAAkB,CAAC,SAAS,EAAEZ,eAAe,CAAC;MACzD;IACD;EAAC;EAAA,OAlK4BvD,SAAS;AAAA","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
3
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
4
4
  */
5
5
 
6
6
  import ResourceBundle from "sap/base/i18n/ResourceBundle";
@@ -1,7 +1,7 @@
1
1
  declare module "sap/cux/home/BaseSettingsDialog" {
2
2
  /*!
3
3
  * SAP UI development toolkit for HTML5 (SAPUI5)
4
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
4
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
5
5
  */
6
6
  import ResourceBundle from "sap/base/i18n/ResourceBundle";
7
7
  import Dialog from "sap/m/Dialog";
@@ -1,7 +1,7 @@
1
1
  declare module "sap/cux/home/BaseSettingsDialog" {
2
2
  /*!
3
3
  * SAP UI development toolkit for HTML5 (SAPUI5)
4
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
4
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
5
5
  */
6
6
  import BaseSettingsPanel from "sap/cux/home/BaseSettingsPanel";
7
7
  import { AggregationBindingInfo } from "sap/ui/base/ManagedObject";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
3
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
4
4
  */
5
5
  sap.ui.define(["sap/m/Dialog", "sap/ui/core/Lib"], function (Dialog, Lib) {
6
6
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"file":"BaseSettingsDialog.js","names":["sap","ui","define","Dialog","Lib","BaseSettingsDialog","extend","renderer","apiVersion","metadata","library","properties","selectedKey","type","group","defaultValue","visibility","context","defaultAggregation","aggregations","panels","singularName","multiple","constructor","_constructor","id","settings","Dialog.prototype.constructor.call","init","_init","Dialog.prototype.init.call","_i18nBundle","getResourceBundleFor","_panelCache","addStyleClass","getPanels","_getPanels","slice","addPanel","_addPanel","panel","push","addAggregation","insertPanel","_insertPanel","index","splice","insertAggregation","removePanel","_removePanel","indexOf","removeAggregation","removeAllPanels","_removeAllPanels","removeAllAggregation"],"sources":["BaseSettingsDialog.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 Dialog from \"sap/m/Dialog\";\nimport type { MetadataOptions } from \"sap/ui/core/Element\";\nimport Lib from \"sap/ui/core/Lib\";\nimport { $BaseSettingsDialogSettings } from \"./BaseSettingsDialog\";\nimport BaseSettingsPanel from \"./BaseSettingsPanel\";\n\n/**\n *\n * Abstract base class for custom settings dialog for {@link sap.cux.home.BaseLayout}.\n *\n * @extends Dialog\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.121\n *\n * @abstract\n * @private\n * @ui5-restricted ux.eng.s4producthomes1\n *\n * @alias sap.cux.home.BaseSettingsDialog\n */\nexport default abstract class BaseSettingsDialog extends Dialog {\n\tprotected _i18nBundle!: ResourceBundle;\n\tprivate _panelCache!: BaseSettingsPanel[];\n\n\tconstructor(id?: string | $BaseSettingsDialogSettings);\n\tconstructor(id?: string, settings?: $BaseSettingsDialogSettings);\n\t/**\n\t * Constructor for a new Base Settings Dialog.\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?: $BaseSettingsDialogSettings) {\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 * The selectedkey of the settings dialog\n\t\t\t */\n\t\t\tselectedKey: { type: \"string\", group: \"Misc\", defaultValue: \"\", visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Additional context of the settings dialog\n\t\t\t */\n\t\t\tcontext: { type: \"object\", group: \"Misc\", defaultValue: {}, visibility: \"hidden\" }\n\t\t},\n\t\tdefaultAggregation: \"panels\",\n\t\taggregations: {\n\t\t\t/**\n\t\t\t * Contains the panels aggregation and should be of type BaseSettingsPanel.\n\t\t\t */\n\t\t\tpanels: { type: \"sap.cux.home.BaseSettingsPanel\", singularName: \"panel\", multiple: true }\n\t\t}\n\t};\n\n\tstatic renderer = {\n\t\tapiVersion: 2\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\tsuper.init();\n\t\tthis._i18nBundle = Lib.getResourceBundleFor(\"sap.cux.home.i18n\") as ResourceBundle;\n\n\t\t//setup page\n\t\tthis._panelCache = [];\n\t\tthis.addStyleClass(\"sapContrastPlus\");\n\t}\n\n\t/**\n\t * Returns all the panels in the dialog.\n\t * Overridden to return cached panels.\n\t *\n\t * @public\n\t * @override\n\t * @returns {BaseSettingsPanel[]} panel array\n\t */\n\tpublic getPanels(): BaseSettingsPanel[] {\n\t\treturn this._panelCache.slice();\n\t}\n\n\t/**\n\t * Adds a new panel at the end of the available panels.\n\t * Overridden to update cached panels.\n\t *\n\t * @public\n\t * @override\n\t * @returns {BaseSettingsDialog} the dialog for chaining\n\t */\n\taddPanel(panel: BaseSettingsPanel): BaseSettingsDialog {\n\t\tthis._panelCache.push(panel);\n\t\tthis.addAggregation(\"panels\", panel);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Adds a new panel to the 'panels' aggregation at the index.\n\t * Overridden to update cached panels.\n\t *\n\t * @public\n\t * @override\n\t * @param {BaseSettingsPanel} panel The panel to insert.\n\t * @param {number} index The index at which to insert the panel.\n\t * @returns {BaseSettingsDialog} Returns 'this' to allow method chaining.\n\t */\n\tinsertPanel(panel: BaseSettingsPanel, index: number): BaseSettingsDialog {\n\t\tthis._panelCache.splice(index, 0, panel);\n\t\tthis.insertAggregation(\"panels\", panel, index);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Removes a panel from the dialog and updates the cache.\n\t *\n\t * @public\n\t * @param {BaseSettingsPanel} panel - The panel to remove.\n\t * @returns {BaseSettingsPanel} The removed panel.\n\t */\n\tremovePanel(panel: BaseSettingsPanel): BaseSettingsPanel {\n\t\tthis._panelCache.splice(this._panelCache.indexOf(panel), 1);\n\t\treturn this.removeAggregation(\"panels\", panel) as BaseSettingsPanel;\n\t}\n\n\t/**\n\t * Removes all panels from the dialog, clears the internal panel cache.\n\t * Overridden to update cached panels.\n\t *\n\t * @public\n\t * @override\n\t * @returns {BaseSettingsPanel[]} An empty array representing the removed panels.\n\t */\n\tremoveAllPanels(): BaseSettingsPanel[] {\n\t\tthis._panelCache = [];\n\t\tthis.removeAllAggregation(\"panels\");\n\t\treturn this.getPanels();\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,gDAAAC,MAAA,EAAAC,GAAA;EAAA;;EAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EAfA,MAgB8BC,kBAAkB,GAASF,MAAM,CAAAG,MAAA;IAqCvDC,QAAQ,EAAG;MACjBC,UAAU,EAAE;IACb,CAAC;IAvBeC,QAAQ,EAAoB;MAC3CC,OAAO,EAAE,cAAc;MACvBC,UAAU,EAAE;QACX;AACH;AACA;QACGC,WAAW,EAAE;UAAEC,IAAI,EAAE,QAAQ;UAAEC,KAAK,EAAE,MAAM;UAAEC,YAAY,EAAE,EAAE;UAAEC,UAAU,EAAE;QAAS,CAAC;QACtF;AACH;AACA;QACGC,OAAO,EAAE;UAAEJ,IAAI,EAAE,QAAQ;UAAEC,KAAK,EAAE,MAAM;UAAEC,YAAY,EAAE,CAAC,CAAC;UAAEC,UAAU,EAAE;QAAS;MAClF,CAAC;MACDE,kBAAkB,EAAE,QAAQ;MAC5BC,YAAY,EAAE;QACb;AACH;AACA;QACGC,MAAM,EAAE;UAAEP,IAAI,EAAE,gCAAgC;UAAEQ,YAAY,EAAE,OAAO;UAAEC,QAAQ,EAAE;QAAK;MACzF;IACD,CAAC;IA7BD;AACD;AACA;AACA;AACA;AACA;IACQC,WAAW,WAAAC,aAACC,EAAW,EAAEC,QAAsC,EAAE;MACvEC,iCAAA,OAAMF,EAAE,EAAEC,QAAQ;IACnB,CAAC;IA2BD;AACD;AACA;AACA;AACA;AACA;IACQE,IAAI,WAAAC,MAAA,EAA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AoB,CAAC,QAAQ,CAAC;MACnC,OAAO,IAAI,CAACnB,SAAS,CAAC,CAAC;IACxB;EAAC;EAAA,OA1H4B9B,kBAAkB;AAAA","ignoreList":[]}
1
+ {"version":3,"file":"BaseSettingsDialog.js","names":["sap","ui","define","Dialog","Lib","BaseSettingsDialog","extend","renderer","apiVersion","metadata","library","properties","selectedKey","type","group","defaultValue","visibility","context","defaultAggregation","aggregations","panels","singularName","multiple","constructor","_constructor","id","settings","Dialog.prototype.constructor.call","init","_init","Dialog.prototype.init.call","_i18nBundle","getResourceBundleFor","_panelCache","addStyleClass","getPanels","_getPanels","slice","addPanel","_addPanel","panel","push","addAggregation","insertPanel","_insertPanel","index","splice","insertAggregation","removePanel","_removePanel","indexOf","removeAggregation","removeAllPanels","_removeAllPanels","removeAllAggregation"],"sources":["BaseSettingsDialog.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2026 SAP SE. All rights reserved\n */\n\nimport ResourceBundle from \"sap/base/i18n/ResourceBundle\";\nimport Dialog from \"sap/m/Dialog\";\nimport type { MetadataOptions } from \"sap/ui/core/Element\";\nimport Lib from \"sap/ui/core/Lib\";\nimport { $BaseSettingsDialogSettings } from \"./BaseSettingsDialog\";\nimport BaseSettingsPanel from \"./BaseSettingsPanel\";\n\n/**\n *\n * Abstract base class for custom settings dialog for {@link sap.cux.home.BaseLayout}.\n *\n * @extends Dialog\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.121\n *\n * @abstract\n * @private\n * @ui5-restricted ux.eng.s4producthomes1\n *\n * @alias sap.cux.home.BaseSettingsDialog\n */\nexport default abstract class BaseSettingsDialog extends Dialog {\n\tprotected _i18nBundle!: ResourceBundle;\n\tprivate _panelCache!: BaseSettingsPanel[];\n\n\tconstructor(id?: string | $BaseSettingsDialogSettings);\n\tconstructor(id?: string, settings?: $BaseSettingsDialogSettings);\n\t/**\n\t * Constructor for a new Base Settings Dialog.\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?: $BaseSettingsDialogSettings) {\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 * The selectedkey of the settings dialog\n\t\t\t */\n\t\t\tselectedKey: { type: \"string\", group: \"Misc\", defaultValue: \"\", visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Additional context of the settings dialog\n\t\t\t */\n\t\t\tcontext: { type: \"object\", group: \"Misc\", defaultValue: {}, visibility: \"hidden\" }\n\t\t},\n\t\tdefaultAggregation: \"panels\",\n\t\taggregations: {\n\t\t\t/**\n\t\t\t * Contains the panels aggregation and should be of type BaseSettingsPanel.\n\t\t\t */\n\t\t\tpanels: { type: \"sap.cux.home.BaseSettingsPanel\", singularName: \"panel\", multiple: true }\n\t\t}\n\t};\n\n\tstatic renderer = {\n\t\tapiVersion: 2\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\tsuper.init();\n\t\tthis._i18nBundle = Lib.getResourceBundleFor(\"sap.cux.home.i18n\") as ResourceBundle;\n\n\t\t//setup page\n\t\tthis._panelCache = [];\n\t\tthis.addStyleClass(\"sapContrastPlus\");\n\t}\n\n\t/**\n\t * Returns all the panels in the dialog.\n\t * Overridden to return cached panels.\n\t *\n\t * @public\n\t * @override\n\t * @returns {BaseSettingsPanel[]} panel array\n\t */\n\tpublic getPanels(): BaseSettingsPanel[] {\n\t\treturn this._panelCache.slice();\n\t}\n\n\t/**\n\t * Adds a new panel at the end of the available panels.\n\t * Overridden to update cached panels.\n\t *\n\t * @public\n\t * @override\n\t * @returns {BaseSettingsDialog} the dialog for chaining\n\t */\n\taddPanel(panel: BaseSettingsPanel): BaseSettingsDialog {\n\t\tthis._panelCache.push(panel);\n\t\tthis.addAggregation(\"panels\", panel);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Adds a new panel to the 'panels' aggregation at the index.\n\t * Overridden to update cached panels.\n\t *\n\t * @public\n\t * @override\n\t * @param {BaseSettingsPanel} panel The panel to insert.\n\t * @param {number} index The index at which to insert the panel.\n\t * @returns {BaseSettingsDialog} Returns 'this' to allow method chaining.\n\t */\n\tinsertPanel(panel: BaseSettingsPanel, index: number): BaseSettingsDialog {\n\t\tthis._panelCache.splice(index, 0, panel);\n\t\tthis.insertAggregation(\"panels\", panel, index);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Removes a panel from the dialog and updates the cache.\n\t *\n\t * @public\n\t * @param {BaseSettingsPanel} panel - The panel to remove.\n\t * @returns {BaseSettingsPanel} The removed panel.\n\t */\n\tremovePanel(panel: BaseSettingsPanel): BaseSettingsPanel {\n\t\tthis._panelCache.splice(this._panelCache.indexOf(panel), 1);\n\t\treturn this.removeAggregation(\"panels\", panel) as BaseSettingsPanel;\n\t}\n\n\t/**\n\t * Removes all panels from the dialog, clears the internal panel cache.\n\t * Overridden to update cached panels.\n\t *\n\t * @public\n\t * @override\n\t * @returns {BaseSettingsPanel[]} An empty array representing the removed panels.\n\t */\n\tremoveAllPanels(): BaseSettingsPanel[] {\n\t\tthis._panelCache = [];\n\t\tthis.removeAllAggregation(\"panels\");\n\t\treturn this.getPanels();\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,gDAAAC,MAAA,EAAAC,GAAA;EAAA;;EAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EAfA,MAgB8BC,kBAAkB,GAASF,MAAM,CAAAG,MAAA;IAqCvDC,QAAQ,EAAG;MACjBC,UAAU,EAAE;IACb,CAAC;IAvBeC,QAAQ,EAAoB;MAC3CC,OAAO,EAAE,cAAc;MACvBC,UAAU,EAAE;QACX;AACH;AACA;QACG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;AACA;AACA;AACA;AACA;IACCG,WAAW,WAAAC,aAACJ,KAAwB,EAAEK,KAAa,EAAsB;MACxE,IAAI,CAACZ,WAAW,CAACa,MAAM,CAACD,KAAK,EAAE,CAAC,EAAEL,KAAK,CAAC;MACxC,IAAI,CAACO,iBAAiB,CAAC,QAAQ,EAAEP,KAAK,EAAEK,KAAK,CAAC;MAC9C,OAAO,IAAI;IACZ,CAAC;IAED;AACD;AACA;AACA;AACA;AACA;AACA;IACCG,WAAW,WAAAC,aAACT,KAAwB,EAAqB;MACxD,IAAI,CAACP,WAAW,CAACa,MAAM,CAAC,IAAI,CAACb,WAAW,CAACiB,OAAO,CAACV,KAAK,CAAC,EAAE,CAAC,CAAC;MAC3D,OAAO,IAAI,CAACW,iBAAiB,CAAC,QAAQ,EAAEX,KAAK,CAAC;IAC/C,CAAC;IAED;AACD;AACA;AACA;AACA;AACA;AACA;AACA;IACCY,eAAe,WAAAC,iBAAA,EAAwB;MACtC,IAAI,CAACpB,WAAW,GAAG,EAAE;MACrB,IAAI,CAACqB,oBAAoB,CAAC,QAAQ,CAAC;MACnC,OAAO,IAAI,CAACnB,SAAS,CAAC,CAAC;IACxB;EAAC;EAAA,OA1H4B9B,kBAAkB;AAAA","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
3
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
4
4
  */
5
5
 
6
6
  import ResourceBundle from "sap/base/i18n/ResourceBundle";
@@ -1,7 +1,7 @@
1
1
  declare module "sap/cux/home/BaseSettingsPanel" {
2
2
  /*!
3
3
  * SAP UI development toolkit for HTML5 (SAPUI5)
4
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
4
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
5
5
  */
6
6
  import ResourceBundle from "sap/base/i18n/ResourceBundle";
7
7
  import Button from "sap/m/Button";
@@ -1,7 +1,7 @@
1
1
  declare module "sap/cux/home/BaseSettingsPanel" {
2
2
  /*!
3
3
  * SAP UI development toolkit for HTML5 (SAPUI5)
4
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
4
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
5
5
  */
6
6
  import Event from "sap/ui/base/Event";
7
7
  import { $ElementSettings } from "sap/ui/core/Element";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
3
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
4
4
  */
5
5
  sap.ui.define(["sap/ui/core/dnd/DragDropInfo", "sap/ui/core/Element", "sap/ui/core/Lib", "sap/ui/core/library", "./utils/DragDropUtils"], function (DragDropInfo, Element, Lib, sap_ui_core_library, ___utils_DragDropUtils) {
6
6
  "use strict";
@@ -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","_isDialogPersisted","getProperty","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 * @abstract\n * @private\n * @ui5-restricted ux.eng.s4producthomes1\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\tif (!dialog) return;\n\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 * Checks if the dialog is persisted by examining the parent layout's persistence properties.\n\t *\n\t * @param {BaseSettingsDialog} dialog - The dialog to check for persistence status\n\t * @returns {boolean} True if the dialog is persisted (either settings dialog or content addition dialog), false otherwise\n\t *\n\t * @private\n\t */\n\tprotected _isDialogPersisted(dialog: BaseSettingsDialog): boolean {\n\t\tconst layout = dialog.getParent() as BaseLayout;\n\t\tif (!layout) return false;\n\n\t\treturn layout.getProperty(\"settingsDialogPersisted\") === true || layout.getProperty(\"contentAdditionDialogPersisted\") === true;\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;EAfA,MAgB8BG,iBAAiB,GAASN,OAAO,CAAAO,MAAA;IAiB9CC,QAAQ,EAAoB;MAC3CC,OAAO,EAAE,cAAc;M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B,CAACgD,KAAK,CAAC,CAAC;IACxC,CAAC;IAED;AACD;AACA;AACA;AACA;AACA;AACA;IACQC,eAAe,WAAAC,iBAACC,MAAc,EAAqB;MACzD,IAAI,CAACnD,mBAAmB,CAACsB,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,CAACvD,mBAAmB,CAACwD,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,CAAC5D,mBAAmB,CAACwD,MAAM,CAAC,IAAI,CAACxD,mBAAmB,CAAC6D,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,OA5O4BvG,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","_isDialogPersisted","getProperty","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-2026 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 * @abstract\n * @private\n * @ui5-restricted ux.eng.s4producthomes1\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\tif (!dialog) return;\n\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 * Checks if the dialog is persisted by examining the parent layout's persistence properties.\n\t *\n\t * @param {BaseSettingsDialog} dialog - The dialog to check for persistence status\n\t * @returns {boolean} True if the dialog is persisted (either settings dialog or content addition dialog), false otherwise\n\t *\n\t * @private\n\t */\n\tprotected _isDialogPersisted(dialog: BaseSettingsDialog): boolean {\n\t\tconst layout = dialog.getParent() as BaseLayout;\n\t\tif (!layout) return false;\n\n\t\treturn layout.getProperty(\"settingsDialogPersisted\") === true || layout.getProperty(\"contentAdditionDialogPersisted\") === true;\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;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,IAAI,EAAE,QAAQ;UAAEC,KAAK,EAAE,MAAM;UAAEC,YAAY,EAAE,EAAE;UAAEC,UAAU,EAAE;QAAS,CAAC;QAChF;AACH;AACA;QACGE,IAAI,EAAE;UAAEL,IAAI,EAAE,iBAAiB;UAAEC,KAAK,EAAE,MAAM;UAAEC,YAAY,EAAE,EAAE;UAAEC,UAAU,EAAE;QAAS,CAAC;QACxF;AACH;AACA;QACGG,UAAU,EAAE;UAAEN,IAAI,EAAE,SAAS;UAAEC,KAAK,EAAE,MAAM;UAAEC,YAAY,EAAE,IAAI;UAAEC,UAAU,EAAE;QAAS;MACxF,CAAC;MACDI,kBAAkB,EAAE,SAAS;MAC7BC,YAAY,EAAE;QACb;AACH;AACA;QACGC,OAAO,EAAE;UAAET,I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AAC,IAAI,CAACxD,mBAAmB,CAAC6D,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,OA5O4BvG,iBAAiB;AAAA","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
3
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
4
4
  */
5
5
 
6
6
  import ResourceBundle from "sap/base/i18n/ResourceBundle";
@@ -1,7 +1,7 @@
1
1
  declare module "sap/cux/home/CardsContainer" {
2
2
  /*!
3
3
  * SAP UI development toolkit for HTML5 (SAPUI5)
4
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
4
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
5
5
  */
6
6
  import BaseContainer, { $BaseContainerSettings } from "sap/cux/home/BaseContainer";
7
7
  import BasePanel from "sap/cux/home/BasePanel";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
3
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
4
4
  */
5
5
  sap.ui.define(["./BaseContainer", "./CardsPanel", "./utils/placeholder/CardsPlaceholder"], function (__BaseContainer, __CardsPanel, ___utils_placeholder_CardsPlaceholder) {
6
6
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"file":"CardsContainer.js","names":["sap","ui","define","__BaseContainer","__CardsPanel","___utils_placeholder_CardsPlaceholder","_interopRequireDefault","obj","__esModule","default","BaseContainer","CardsPanel","getCardsPlaceholder","cardsPanelName","CardsContainer","extend","renderer","apiVersion","constructor","_constructor","id","settings","BaseContainer.prototype.constructor.call","_isInitialRender","init","_init","BaseContainer.prototype.init.call","setProperty","panelLoaded","loaded","undefined","count","panelContext","addCustomSetting","_i18nBundle","getText","setTooltip","String","removeAllAggregation","load","_load","aContent","getContent","forEach","oContent","getMetadata","getName","content","panel","attachHandleHidePanel","handleHidePanel","attachHandleUnhidePanel","unhidePanelIfHidden","renderPanel","_handleHidePanel","removeContent","panelName","handlePanelLoad","_unhidePanelIfHidden","layout","_getLayout","panelExpandedName","_getCurrentExpandedElementName","processPanelVisibility","insertContentFn","getProperty","setVisible","listener","detachOnCollapse","attachOnCollapse","addContent","adjustLayout","_adjustLayout","_handlePanelLoad","oVal","getGenericPlaceholderContent","_getGenericPlaceholderContent","refreshData","_refreshData","key","_this","Object","values","find","getKey","Promise","resolve","then","e","reject"],"sources":["CardsContainer.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nimport BaseContainer, { $BaseContainerSettings } from \"./BaseContainer\";\nimport BasePanel from \"./BasePanel\";\nimport CardsPanel from \"./CardsPanel\";\nimport { getCardsPlaceholder } from \"./utils/placeholder/CardsPlaceholder\";\n\nconst cardsPanelName: string = \"sap.cux.home.CardsPanel\";\n\ninterface IpanelLoaded {\n\t[key: string]: { loaded: boolean | undefined; count: number };\n}\ninterface IpanelContext {\n\t[key: string]: CardsPanel;\n}\n/**\n *\n * Container class for managing and storing Insights Cards.\n *\n * @extends sap.cux.home.BaseContainer\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.142\n *\n * @private\n * @ui5-restricted ux.eng.s4producthomes1\n *\n * @alias sap.cux.home.CardsContainer\n */\n\nexport default class CardsContainer extends BaseContainer {\n\tprivate panelLoaded!: IpanelLoaded;\n\tprivate panelContext!: IpanelContext;\n\tprivate _isInitialRender: boolean = true;\n\tstatic readonly renderer = {\n\t\t...BaseContainer.renderer,\n\t\tapiVersion: 2\n\t};\n\tconstructor(id?: string | $BaseContainerSettings);\n\tconstructor(id?: string, settings?: $BaseContainerSettings);\n\t/**\n\t * Constructor for a new Cards container.\n\t *\n\t * @param {string} [id] ID for the new control, generated automatically if an ID is not provided\n\t * @param {object} [settings] Initial settings for the new control\n\t */\n\tpublic constructor(id?: string, settings?: $BaseContainerSettings) {\n\t\tsuper(id, settings);\n\t}\n\n\t/**\n\t * Init lifecycle method\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic init(): void {\n\t\tsuper.init();\n\t\t/* As Container Level default value for enableSettings is false,\n\t\t\tthis needs to be added from container level.\n\t\t\t(default value cannot be true as News & Page Container header should be hidden)\n\t\t*/\n\t\tthis.setProperty(\"enableSettings\", false);\n\t\tthis.setProperty(\"orientation\", \"Vertical\");\n\t\tthis.setProperty(\"compositeId\", \"Insights\");\n\t\tthis.panelLoaded = {\n\t\t\t[cardsPanelName]: { loaded: undefined, count: 0 }\n\t\t};\n\t\tthis.panelContext = {};\n\t\tthis.addCustomSetting(\"title\", this._i18nBundle.getText(\"insightsCards\") as string);\n\t\tthis.addCustomSetting(\"groupTitle\", this._i18nBundle.getText(\"insights\") as string);\n\t\tthis.setTooltip(String(this._i18nBundle.getText(\"insightsCards\")));\n\t\t//remove aggregation menuItems and actionButtons as they will be added from individual panels\n\t\tthis.removeAllAggregation(\"menuItems\");\n\t\tthis.removeAllAggregation(\"actionButtons\");\n\t}\n\t/**\n\t * Loads the Insights section.\n\t * Overrides the load method of the BaseContainer.\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic load() {\n\t\tif (this._isInitialRender) {\n\t\t\tconst aContent = this.getContent();\n\t\t\taContent.forEach((oContent) => {\n\t\t\t\tthis.panelContext[oContent.getMetadata().getName()] = oContent as CardsPanel;\n\t\t\t});\n\n\t\t\t// Render individual panels\n\t\t\taContent.forEach((content) => {\n\t\t\t\tconst panel = content as CardsPanel;\n\t\t\t\tpanel.attachHandleHidePanel(() => this.handleHidePanel(panel));\n\t\t\t\tpanel.attachHandleUnhidePanel(() => this.unhidePanelIfHidden(panel));\n\t\t\t\tvoid panel.renderPanel();\n\t\t\t});\n\t\t\tthis._isInitialRender = false;\n\t\t}\n\t}\n\n\t/**\n\t * Handles the hiding of a panel by removing its content, updating the panel load status,\n\t * and managing the display of the container header and error panel.\n\t *\n\t * @param {BasePanel} panel - The panel to be hidden.\n\t * @private\n\t */\n\tpublic handleHidePanel(panel: BasePanel) {\n\t\tthis.removeContent(panel);\n\t\tconst panelName = panel.getMetadata().getName();\n\t\tthis.handlePanelLoad(panelName, { loaded: false, count: 0 });\n\t}\n\n\t/**\n\t * Unhides the specified panel if it is hidden.\n\t *\n\t * @param {CardsPanel} panel - The panel to unhide.\n\t */\n\tpublic unhidePanelIfHidden(panel: CardsPanel) {\n\t\tconst layout = this._getLayout();\n\t\tconst panelExpandedName = layout._getCurrentExpandedElementName();\n\t\t// Function to handle panel content insertion\n\t\tconst processPanelVisibility = (panelName: string, insertContentFn: () => void) => {\n\t\t\tif (!panelExpandedName || panelExpandedName === panel.getProperty(\"fullScreenName\")) {\n\t\t\t\t/**\n loaded value can be false or undefined, false being hidden and undefined being loading\n if the panel is hidden then only unhide it\n */\n\t\t\t\tif (this.panelLoaded[panelName].loaded === false) {\n\t\t\t\t\tinsertContentFn();\n\t\t\t\t\t// Remove hidden class if applied\n\t\t\t\t\tpanel.setVisible(true);\n\t\t\t\t}\n\t\t\t\tthis.handlePanelLoad(panelName, { loaded: true, count: this.panelLoaded[panelName].count });\n\t\t\t} else {\n\t\t\t\tconst listener = () => {\n\t\t\t\t\tinsertContentFn();\n\t\t\t\t\t// Remove hidden class if applied\n\t\t\t\t\tpanel.setVisible(true);\n\t\t\t\t\tlayout.detachOnCollapse(listener); // Remove the listener after execution\n\t\t\t\t};\n\t\t\t\tthis.handlePanelLoad(panelName, { loaded: true, count: this.panelLoaded[panelName].count });\n\t\t\t\tlayout.attachOnCollapse(listener);\n\t\t\t}\n\t\t};\n\n\t\t// Handling CardsPanel\n\t\tif (panel instanceof CardsPanel && !this.panelLoaded[cardsPanelName].loaded) {\n\t\t\tprocessPanelVisibility(cardsPanelName, () => this.addContent(this.panelContext[cardsPanelName]));\n\t\t}\n\t}\n\n\t/**\n\t * Adjusts the layout of the container.\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic adjustLayout() {\n\t\t//adjust layout of all panels\n\t\t(this.getContent() as CardsPanel[]).forEach((panel) => panel._adjustLayout?.());\n\t}\n\n\t/**\n\t * Handles the loading of a panel.\n\t *\n\t * @param {string} panelName - The name of the panel.\n\t * @param {object} oVal - The load status and count of the panel.\n\t * @param {boolean} oVal.loaded - The load status of the panel.\n\t * @param {number} oVal.count - The count of items in the panel.\n\t */\n\tpublic handlePanelLoad(panelName: string, oVal: { loaded: boolean; count: number }) {\n\t\tif (this.panelLoaded[panelName].loaded !== oVal.loaded) {\n\t\t\tthis.panelLoaded[panelName] = oVal;\n\t\t}\n\t\tthis.adjustLayout();\n\t}\n\n\t/**\n\t * Retrieves the generic placeholder content for the Cards container.\n\t *\n\t * @returns {string} The HTML string representing the cards container's placeholder content.\n\t */\n\tprotected getGenericPlaceholderContent(): string {\n\t\treturn getCardsPlaceholder();\n\t}\n\n\t/**\n\t * Refreshes the data for a specific panel based on its key.\n\t *\n\t * @private\n\t * @param {string} key - The key of the panel to refresh.\n\t */\n\tpublic async refreshData(key: string) {\n\t\tconst panel = Object.values(this.panelContext).find((panel) => panel.getKey() === key);\n\t\tawait panel?.refreshData?.();\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,wFAAAC,eAAA,EAAAC,YAAA,EAAAC,qCAAA;EAAA;;EAAA,SAAAC,uBAAAC,GAAA;IAAA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A,OAvKmB1E,cAAc;AAAA","ignoreList":[]}
1
+ {"version":3,"file":"CardsContainer.js","names":["sap","ui","define","__BaseContainer","__CardsPanel","___utils_placeholder_CardsPlaceholder","_interopRequireDefault","obj","__esModule","default","BaseContainer","CardsPanel","getCardsPlaceholder","cardsPanelName","CardsContainer","extend","renderer","apiVersion","constructor","_constructor","id","settings","BaseContainer.prototype.constructor.call","_isInitialRender","init","_init","BaseContainer.prototype.init.call","setProperty","panelLoaded","loaded","undefined","count","panelContext","addCustomSetting","_i18nBundle","getText","setTooltip","String","removeAllAggregation","load","_load","aContent","getContent","forEach","oContent","getMetadata","getName","content","panel","attachHandleHidePanel","handleHidePanel","attachHandleUnhidePanel","unhidePanelIfHidden","renderPanel","_handleHidePanel","removeContent","panelName","handlePanelLoad","_unhidePanelIfHidden","layout","_getLayout","panelExpandedName","_getCurrentExpandedElementName","processPanelVisibility","insertContentFn","getProperty","setVisible","listener","detachOnCollapse","attachOnCollapse","addContent","adjustLayout","_adjustLayout","_handlePanelLoad","oVal","getGenericPlaceholderContent","_getGenericPlaceholderContent","refreshData","_refreshData","key","_this","Object","values","find","getKey","Promise","resolve","then","e","reject"],"sources":["CardsContainer.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2026 SAP SE. All rights reserved\n */\nimport BaseContainer, { $BaseContainerSettings } from \"./BaseContainer\";\nimport BasePanel from \"./BasePanel\";\nimport CardsPanel from \"./CardsPanel\";\nimport { getCardsPlaceholder } from \"./utils/placeholder/CardsPlaceholder\";\n\nconst cardsPanelName: string = \"sap.cux.home.CardsPanel\";\n\ninterface IpanelLoaded {\n\t[key: string]: { loaded: boolean | undefined; count: number };\n}\ninterface IpanelContext {\n\t[key: string]: CardsPanel;\n}\n/**\n *\n * Container class for managing and storing Insights Cards.\n *\n * @extends sap.cux.home.BaseContainer\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.142\n *\n * @private\n * @ui5-restricted ux.eng.s4producthomes1\n *\n * @alias sap.cux.home.CardsContainer\n */\n\nexport default class CardsContainer extends BaseContainer {\n\tprivate panelLoaded!: IpanelLoaded;\n\tprivate panelContext!: IpanelContext;\n\tprivate _isInitialRender: boolean = true;\n\tstatic readonly renderer = {\n\t\t...BaseContainer.renderer,\n\t\tapiVersion: 2\n\t};\n\tconstructor(id?: string | $BaseContainerSettings);\n\tconstructor(id?: string, settings?: $BaseContainerSettings);\n\t/**\n\t * Constructor for a new Cards container.\n\t *\n\t * @param {string} [id] ID for the new control, generated automatically if an ID is not provided\n\t * @param {object} [settings] Initial settings for the new control\n\t */\n\tpublic constructor(id?: string, settings?: $BaseContainerSettings) {\n\t\tsuper(id, settings);\n\t}\n\n\t/**\n\t * Init lifecycle method\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic init(): void {\n\t\tsuper.init();\n\t\t/* As Container Level default value for enableSettings is false,\n\t\t\tthis needs to be added from container level.\n\t\t\t(default value cannot be true as News & Page Container header should be hidden)\n\t\t*/\n\t\tthis.setProperty(\"enableSettings\", false);\n\t\tthis.setProperty(\"orientation\", \"Vertical\");\n\t\tthis.setProperty(\"compositeId\", \"Insights\");\n\t\tthis.panelLoaded = {\n\t\t\t[cardsPanelName]: { loaded: undefined, count: 0 }\n\t\t};\n\t\tthis.panelContext = {};\n\t\tthis.addCustomSetting(\"title\", this._i18nBundle.getText(\"insightsCards\") as string);\n\t\tthis.addCustomSetting(\"groupTitle\", this._i18nBundle.getText(\"insights\") as string);\n\t\tthis.setTooltip(String(this._i18nBundle.getText(\"insightsCards\")));\n\t\t//remove aggregation menuItems and actionButtons as they will be added from individual panels\n\t\tthis.removeAllAggregation(\"menuItems\");\n\t\tthis.removeAllAggregation(\"actionButtons\");\n\t}\n\t/**\n\t * Loads the Insights section.\n\t * Overrides the load method of the BaseContainer.\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic load() {\n\t\tif (this._isInitialRender) {\n\t\t\tconst aContent = this.getContent();\n\t\t\taContent.forEach((oContent) => {\n\t\t\t\tthis.panelContext[oContent.getMetadata().getName()] = oContent as CardsPanel;\n\t\t\t});\n\n\t\t\t// Render individual panels\n\t\t\taContent.forEach((content) => {\n\t\t\t\tconst panel = content as CardsPanel;\n\t\t\t\tpanel.attachHandleHidePanel(() => this.handleHidePanel(panel));\n\t\t\t\tpanel.attachHandleUnhidePanel(() => this.unhidePanelIfHidden(panel));\n\t\t\t\tvoid panel.renderPanel();\n\t\t\t});\n\t\t\tthis._isInitialRender = false;\n\t\t}\n\t}\n\n\t/**\n\t * Handles the hiding of a panel by removing its content, updating the panel load status,\n\t * and managing the display of the container header and error panel.\n\t *\n\t * @param {BasePanel} panel - The panel to be hidden.\n\t * @private\n\t */\n\tpublic handleHidePanel(panel: BasePanel) {\n\t\tthis.removeContent(panel);\n\t\tconst panelName = panel.getMetadata().getName();\n\t\tthis.handlePanelLoad(panelName, { loaded: false, count: 0 });\n\t}\n\n\t/**\n\t * Unhides the specified panel if it is hidden.\n\t *\n\t * @param {CardsPanel} panel - The panel to unhide.\n\t */\n\tpublic unhidePanelIfHidden(panel: CardsPanel) {\n\t\tconst layout = this._getLayout();\n\t\tconst panelExpandedName = layout._getCurrentExpandedElementName();\n\t\t// Function to handle panel content insertion\n\t\tconst processPanelVisibility = (panelName: string, insertContentFn: () => void) => {\n\t\t\tif (!panelExpandedName || panelExpandedName === panel.getProperty(\"fullScreenName\")) {\n\t\t\t\t/**\n loaded value can be false or undefined, false being hidden and undefined being loading\n if the panel is hidden then only unhide it\n */\n\t\t\t\tif (this.panelLoaded[panelName].loaded === false) {\n\t\t\t\t\tinsertContentFn();\n\t\t\t\t\t// Remove hidden class if applied\n\t\t\t\t\tpanel.setVisible(true);\n\t\t\t\t}\n\t\t\t\tthis.handlePanelLoad(panelName, { loaded: true, count: this.panelLoaded[panelName].count });\n\t\t\t} else {\n\t\t\t\tconst listener = () => {\n\t\t\t\t\tinsertContentFn();\n\t\t\t\t\t// Remove hidden class if applied\n\t\t\t\t\tpanel.setVisible(true);\n\t\t\t\t\tlayout.detachOnCollapse(listener); // Remove the listener after execution\n\t\t\t\t};\n\t\t\t\tthis.handlePanelLoad(panelName, { loaded: true, count: this.panelLoaded[panelName].count });\n\t\t\t\tlayout.attachOnCollapse(listener);\n\t\t\t}\n\t\t};\n\n\t\t// Handling CardsPanel\n\t\tif (panel instanceof CardsPanel && !this.panelLoaded[cardsPanelName].loaded) {\n\t\t\tprocessPanelVisibility(cardsPanelName, () => this.addContent(this.panelContext[cardsPanelName]));\n\t\t}\n\t}\n\n\t/**\n\t * Adjusts the layout of the container.\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic adjustLayout() {\n\t\t//adjust layout of all panels\n\t\t(this.getContent() as CardsPanel[]).forEach((panel) => panel._adjustLayout?.());\n\t}\n\n\t/**\n\t * Handles the loading of a panel.\n\t *\n\t * @param {string} panelName - The name of the panel.\n\t * @param {object} oVal - The load status and count of the panel.\n\t * @param {boolean} oVal.loaded - The load status of the panel.\n\t * @param {number} oVal.count - The count of items in the panel.\n\t */\n\tpublic handlePanelLoad(panelName: string, oVal: { loaded: boolean; count: number }) {\n\t\tif (this.panelLoaded[panelName].loaded !== oVal.loaded) {\n\t\t\tthis.panelLoaded[panelName] = oVal;\n\t\t}\n\t\tthis.adjustLayout();\n\t}\n\n\t/**\n\t * Retrieves the generic placeholder content for the Cards container.\n\t *\n\t * @returns {string} The HTML string representing the cards container's placeholder content.\n\t */\n\tprotected getGenericPlaceholderContent(): string {\n\t\treturn getCardsPlaceholder();\n\t}\n\n\t/**\n\t * Refreshes the data for a specific panel based on its key.\n\t *\n\t * @private\n\t * @param {string} key - The key of the panel to refresh.\n\t */\n\tpublic async refreshData(key: string) {\n\t\tconst panel = Object.values(this.panelContext).find((panel) => panel.getKey() === key);\n\t\tawait panel?.refreshData?.();\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,wFAAAC,eAAA,EAAAC,YAAA,E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AAA,CAAAI,MAAA,CAAAD,CAAA;MAAA;IAAA;EAAA;EAAA,OAvKmB1E,cAAc;AAAA","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
3
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
4
4
  */
5
5
  import BaseContainer, { $BaseContainerSettings } from "./BaseContainer";
6
6
  import BasePanel from "./BasePanel";
@@ -1,7 +1,7 @@
1
1
  declare module "sap/cux/home/CardsPanel" {
2
2
  /*!
3
3
  * SAP UI development toolkit for HTML5 (SAPUI5)
4
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
4
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
5
5
  */
6
6
  import Card from "sap/ui/integration/widgets/Card";
7
7
  import Event from "sap/ui/base/Event";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
- * * (c) Copyright 2009-2025 SAP SE. All rights reserved
3
+ * * (c) Copyright 2009-2026 SAP SE. All rights reserved
4
4
  */
5
5
  sap.ui.define(["sap/base/Log", "sap/f/GridContainer", "sap/f/GridContainerSettings", "sap/fe/navigation/SelectionVariant", "sap/insights/CardHelper", "sap/insights/base/InMemoryCachingHost", "sap/m/Button", "sap/m/HBox", "sap/m/HeaderContainer", "sap/m/VBox", "sap/ui/core/EventBus", "sap/ui/integration/widgets/Card", "sap/ui/model/json/JSONModel", "sap/ushell/Container", "sap/ushell/api/S4MyHome", "./BasePanel", "./ErrorPanel", "./MenuItem", "./utils/AppManager", "./utils/CommonUtils", "./utils/Constants", "./utils/DataFormatUtils", "./utils/Device", "./utils/DragDropUtils", "./utils/FESRUtil", "./utils/InsightsUtils", "./utils/PersonalisationUtils", "./utils/UshellPersonalizer"], function (Log, GridContainer, GridContainerSettings, SelectionVariant, CardHelper, InsightsInMemoryCachingHost, Button, HBox, HeaderContainer, VBox, EventBus, Card, JSONModel, Container, S4MyHome, __BasePanel, __ErrorPanel, __MenuItem, __AppManager, ___utils_CommonUtils, ___utils_Constants, ___utils_DataFormatUtils, ___utils_Device, ___utils_DragDropUtils, ___utils_FESRUtil, ___utils_InsightsUtils, __PersonalisationUtils, __UShellPersonalizer) {
6
6
  "use strict";