@sapui5/sap.cux.home 1.142.0 → 1.142.1

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 (294) hide show
  1. package/package.json +1 -1
  2. package/src/sap/cux/home/.library +4 -1
  3. package/src/sap/cux/home/AdvancedSettingsPanel.d.ts +3 -2
  4. package/src/sap/cux/home/AdvancedSettingsPanel.d.ts.map +1 -1
  5. package/src/sap/cux/home/AdvancedSettingsPanel.js +6 -5
  6. package/src/sap/cux/home/AdvancedSettingsPanel.js.map +1 -1
  7. package/src/sap/cux/home/AdvancedSettingsPanel.ts +6 -5
  8. package/src/sap/cux/home/AppsAdditionPanel.d.ts +47 -34
  9. package/src/sap/cux/home/AppsAdditionPanel.d.ts.map +1 -1
  10. package/src/sap/cux/home/AppsAdditionPanel.js +333 -237
  11. package/src/sap/cux/home/AppsAdditionPanel.js.map +1 -1
  12. package/src/sap/cux/home/AppsAdditionPanel.ts +344 -230
  13. package/src/sap/cux/home/AppsContainer.d.ts.map +1 -1
  14. package/src/sap/cux/home/AppsContainer.js +3 -2
  15. package/src/sap/cux/home/AppsContainer.js.map +1 -1
  16. package/src/sap/cux/home/AppsContainer.ts +3 -2
  17. package/src/sap/cux/home/BaseAppPanel.d.ts.map +1 -1
  18. package/src/sap/cux/home/BaseAppPanel.js +6 -1
  19. package/src/sap/cux/home/BaseAppPanel.js.map +1 -1
  20. package/src/sap/cux/home/BaseAppPanel.ts +6 -1
  21. package/src/sap/cux/home/BaseContainer.d.ts +1 -1
  22. package/src/sap/cux/home/BaseContainer.d.ts.map +1 -1
  23. package/src/sap/cux/home/BaseContainer.js +10 -2
  24. package/src/sap/cux/home/BaseContainer.js.map +1 -1
  25. package/src/sap/cux/home/BaseContainer.ts +7 -3
  26. package/src/sap/cux/home/BaseContainerRenderer.d.ts.map +1 -1
  27. package/src/sap/cux/home/BaseContainerRenderer.js +6 -0
  28. package/src/sap/cux/home/BaseContainerRenderer.js.map +1 -1
  29. package/src/sap/cux/home/BaseContainerRenderer.ts +6 -0
  30. package/src/sap/cux/home/BaseNewsPanel.js.map +1 -1
  31. package/src/sap/cux/home/BaseNewsPanel.ts +2 -2
  32. package/src/sap/cux/home/CardsContainer.d.ts +108 -0
  33. package/src/sap/cux/home/CardsContainer.d.ts.map +1 -0
  34. package/src/sap/cux/home/CardsContainer.js +207 -0
  35. package/src/sap/cux/home/CardsContainer.js.map +1 -0
  36. package/src/sap/cux/home/CardsContainer.ts +202 -0
  37. package/src/sap/cux/home/CardsPanel.d.ts +43 -62
  38. package/src/sap/cux/home/CardsPanel.d.ts.map +1 -1
  39. package/src/sap/cux/home/CardsPanel.js +345 -285
  40. package/src/sap/cux/home/CardsPanel.js.map +1 -1
  41. package/src/sap/cux/home/CardsPanel.ts +211 -200
  42. package/src/sap/cux/home/ContentAdditionDialog.d.ts +2 -0
  43. package/src/sap/cux/home/ContentAdditionDialog.d.ts.map +1 -1
  44. package/src/sap/cux/home/ContentAdditionDialog.js +12 -6
  45. package/src/sap/cux/home/ContentAdditionDialog.js.map +1 -1
  46. package/src/sap/cux/home/ContentAdditionDialog.ts +13 -5
  47. package/src/sap/cux/home/ErrorPanel.d.ts +0 -5
  48. package/src/sap/cux/home/ErrorPanel.d.ts.map +1 -1
  49. package/src/sap/cux/home/ErrorPanel.gen.d.ts +31 -0
  50. package/src/sap/cux/home/ErrorPanel.js +11 -16
  51. package/src/sap/cux/home/ErrorPanel.js.map +1 -1
  52. package/src/sap/cux/home/ErrorPanel.ts +7 -19
  53. package/src/sap/cux/home/FavAppPanel.d.ts +1 -2
  54. package/src/sap/cux/home/FavAppPanel.d.ts.map +1 -1
  55. package/src/sap/cux/home/FavAppPanel.js +296 -301
  56. package/src/sap/cux/home/FavAppPanel.js.map +1 -1
  57. package/src/sap/cux/home/FavAppPanel.ts +14 -10
  58. package/src/sap/cux/home/InsightsAdditionPanel.d.ts +11 -4
  59. package/src/sap/cux/home/InsightsAdditionPanel.d.ts.map +1 -1
  60. package/src/sap/cux/home/InsightsAdditionPanel.js +20 -8
  61. package/src/sap/cux/home/InsightsAdditionPanel.js.map +1 -1
  62. package/src/sap/cux/home/InsightsAdditionPanel.ts +20 -7
  63. package/src/sap/cux/home/InsightsCardsSettingsPanel.d.ts +8 -0
  64. package/src/sap/cux/home/InsightsCardsSettingsPanel.d.ts.map +1 -1
  65. package/src/sap/cux/home/InsightsCardsSettingsPanel.js +15 -0
  66. package/src/sap/cux/home/InsightsCardsSettingsPanel.js.map +1 -1
  67. package/src/sap/cux/home/InsightsCardsSettingsPanel.ts +11 -0
  68. package/src/sap/cux/home/InsightsTilesSettingsPanel.js +1 -1
  69. package/src/sap/cux/home/InsightsTilesSettingsPanel.js.map +1 -1
  70. package/src/sap/cux/home/InsightsTilesSettingsPanel.ts +1 -1
  71. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.d.ts +3 -0
  72. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.d.ts.map +1 -1
  73. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js +252 -39
  74. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js.map +1 -1
  75. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.ts +287 -57
  76. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.d.ts.map +1 -1
  77. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js +11 -10
  78. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js.map +1 -1
  79. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.ts +12 -10
  80. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js +2 -2
  81. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js.map +1 -1
  82. package/src/sap/cux/home/KeyUserNewsSettingsPanel.ts +7 -7
  83. package/src/sap/cux/home/KeyUserPagesSettingsPanel.js.map +1 -1
  84. package/src/sap/cux/home/KeyUserPagesSettingsPanel.ts +2 -2
  85. package/src/sap/cux/home/Layout.d.ts +3 -1
  86. package/src/sap/cux/home/Layout.d.ts.map +1 -1
  87. package/src/sap/cux/home/Layout.js +49 -8
  88. package/src/sap/cux/home/Layout.js.map +1 -1
  89. package/src/sap/cux/home/Layout.ts +59 -8
  90. package/src/sap/cux/home/LayoutSettingsPanel.d.ts +10 -0
  91. package/src/sap/cux/home/LayoutSettingsPanel.d.ts.map +1 -1
  92. package/src/sap/cux/home/LayoutSettingsPanel.js +341 -56
  93. package/src/sap/cux/home/LayoutSettingsPanel.js.map +1 -1
  94. package/src/sap/cux/home/LayoutSettingsPanel.ts +379 -63
  95. package/src/sap/cux/home/{NewsAndPagesContainer.d.ts → NewsContainer.d.ts} +13 -14
  96. package/src/sap/cux/home/NewsContainer.d.ts.map +1 -0
  97. package/src/sap/cux/home/{NewsAndPagesContainer.gen.d.ts → NewsContainer.gen.d.ts} +3 -3
  98. package/src/sap/cux/home/{NewsAndPagesContainer.js → NewsContainer.js} +26 -113
  99. package/src/sap/cux/home/NewsContainer.js.map +1 -0
  100. package/src/sap/cux/home/{NewsAndPagesContainer.ts → NewsContainer.ts} +29 -118
  101. package/src/sap/cux/home/NewsGroup.js.map +1 -1
  102. package/src/sap/cux/home/NewsGroup.ts +1 -1
  103. package/src/sap/cux/home/NewsPanel.d.ts.map +1 -1
  104. package/src/sap/cux/home/NewsPanel.js +12 -14
  105. package/src/sap/cux/home/NewsPanel.js.map +1 -1
  106. package/src/sap/cux/home/NewsPanel.ts +13 -16
  107. package/src/sap/cux/home/NewsSettingsPanel.js +4 -4
  108. package/src/sap/cux/home/NewsSettingsPanel.js.map +1 -1
  109. package/src/sap/cux/home/NewsSettingsPanel.ts +5 -5
  110. package/src/sap/cux/home/PagePanel.d.ts +1 -1
  111. package/src/sap/cux/home/PagePanel.d.ts.map +1 -1
  112. package/src/sap/cux/home/PagePanel.js +18 -10
  113. package/src/sap/cux/home/PagePanel.js.map +1 -1
  114. package/src/sap/cux/home/PagePanel.ts +25 -15
  115. package/src/sap/cux/home/PagesContainer.d.ts +72 -0
  116. package/src/sap/cux/home/PagesContainer.d.ts.map +1 -0
  117. package/src/sap/cux/home/PagesContainer.gen.d.ts +78 -0
  118. package/src/sap/cux/home/PagesContainer.js +333 -0
  119. package/src/sap/cux/home/PagesContainer.js.map +1 -0
  120. package/src/sap/cux/home/PagesContainer.ts +179 -0
  121. package/src/sap/cux/home/SpaceInsightsPanel.d.ts +8 -60
  122. package/src/sap/cux/home/SpaceInsightsPanel.d.ts.map +1 -1
  123. package/src/sap/cux/home/SpaceInsightsPanel.js +66 -132
  124. package/src/sap/cux/home/SpaceInsightsPanel.js.map +1 -1
  125. package/src/sap/cux/home/SpaceInsightsPanel.ts +69 -151
  126. package/src/sap/cux/home/TaskPanel.d.ts.map +1 -1
  127. package/src/sap/cux/home/TaskPanel.js +16 -1
  128. package/src/sap/cux/home/TaskPanel.js.map +1 -1
  129. package/src/sap/cux/home/TaskPanel.ts +15 -1
  130. package/src/sap/cux/home/TilesContainer.d.ts +111 -0
  131. package/src/sap/cux/home/TilesContainer.d.ts.map +1 -0
  132. package/src/sap/cux/home/TilesContainer.js +218 -0
  133. package/src/sap/cux/home/TilesContainer.js.map +1 -0
  134. package/src/sap/cux/home/TilesContainer.ts +216 -0
  135. package/src/sap/cux/home/TilesPanel.d.ts +22 -52
  136. package/src/sap/cux/home/TilesPanel.d.ts.map +1 -1
  137. package/src/sap/cux/home/TilesPanel.js +184 -165
  138. package/src/sap/cux/home/TilesPanel.js.map +1 -1
  139. package/src/sap/cux/home/TilesPanel.ts +160 -154
  140. package/src/sap/cux/home/ToDoPanel.d.ts +1 -0
  141. package/src/sap/cux/home/ToDoPanel.d.ts.map +1 -1
  142. package/src/sap/cux/home/ToDoPanel.js +38 -63
  143. package/src/sap/cux/home/ToDoPanel.js.map +1 -1
  144. package/src/sap/cux/home/ToDoPanel.ts +32 -31
  145. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.d.ts +2 -2
  146. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.d.ts.map +1 -1
  147. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.js +1 -1
  148. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.js.map +1 -1
  149. package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.ts +4 -4
  150. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.d.ts +2 -2
  151. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.d.ts.map +1 -1
  152. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js +1 -1
  153. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js.map +1 -1
  154. package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.ts +4 -4
  155. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.d.ts +2 -2
  156. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.d.ts.map +1 -1
  157. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.js +1 -1
  158. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.js.map +1 -1
  159. package/src/sap/cux/home/changeHandler/SpacePageColorHandler.ts +3 -3
  160. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.d.ts +2 -2
  161. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.d.ts.map +1 -1
  162. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.js +4 -4
  163. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.js.map +1 -1
  164. package/src/sap/cux/home/changeHandler/SpacePageIconHandler.ts +5 -5
  165. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.d.ts.map +1 -1
  166. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.js +30 -3
  167. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.js.map +1 -1
  168. package/src/sap/cux/home/flexibility/BaseContainer.flexibility.ts +23 -1
  169. package/src/sap/cux/home/flexibility/Layout.flexibility.d.ts +29 -19
  170. package/src/sap/cux/home/flexibility/Layout.flexibility.d.ts.map +1 -1
  171. package/src/sap/cux/home/flexibility/Layout.flexibility.js +78 -2
  172. package/src/sap/cux/home/flexibility/Layout.flexibility.js.map +1 -1
  173. package/src/sap/cux/home/flexibility/Layout.flexibility.ts +81 -1
  174. package/src/sap/cux/home/i18n/messagebundle.properties +26 -12
  175. package/src/sap/cux/home/i18n/messagebundle_ar.properties +18 -2
  176. package/src/sap/cux/home/i18n/messagebundle_bg.properties +18 -2
  177. package/src/sap/cux/home/i18n/messagebundle_ca.properties +18 -2
  178. package/src/sap/cux/home/i18n/messagebundle_cnr.properties +18 -2
  179. package/src/sap/cux/home/i18n/messagebundle_cs.properties +18 -2
  180. package/src/sap/cux/home/i18n/messagebundle_cy.properties +18 -2
  181. package/src/sap/cux/home/i18n/messagebundle_da.properties +18 -2
  182. package/src/sap/cux/home/i18n/messagebundle_de.properties +18 -2
  183. package/src/sap/cux/home/i18n/messagebundle_el.properties +18 -2
  184. package/src/sap/cux/home/i18n/messagebundle_en.properties +19 -3
  185. package/src/sap/cux/home/i18n/messagebundle_en_GB.properties +18 -2
  186. package/src/sap/cux/home/i18n/messagebundle_en_US_sappsd.properties +21 -5
  187. package/src/sap/cux/home/i18n/messagebundle_en_US_saprigi.properties +21 -5
  188. package/src/sap/cux/home/i18n/messagebundle_en_US_saptrc.properties +18 -2
  189. package/src/sap/cux/home/i18n/messagebundle_es.properties +19 -2
  190. package/src/sap/cux/home/i18n/messagebundle_es_MX.properties +18 -2
  191. package/src/sap/cux/home/i18n/messagebundle_et.properties +18 -2
  192. package/src/sap/cux/home/i18n/messagebundle_fi.properties +18 -2
  193. package/src/sap/cux/home/i18n/messagebundle_fr.properties +18 -2
  194. package/src/sap/cux/home/i18n/messagebundle_fr_CA.properties +18 -2
  195. package/src/sap/cux/home/i18n/messagebundle_hi.properties +18 -2
  196. package/src/sap/cux/home/i18n/messagebundle_hr.properties +18 -2
  197. package/src/sap/cux/home/i18n/messagebundle_hu.properties +18 -2
  198. package/src/sap/cux/home/i18n/messagebundle_id.properties +18 -2
  199. package/src/sap/cux/home/i18n/messagebundle_it.properties +23 -7
  200. package/src/sap/cux/home/i18n/messagebundle_iw.properties +18 -2
  201. package/src/sap/cux/home/i18n/messagebundle_ja.properties +18 -2
  202. package/src/sap/cux/home/i18n/messagebundle_kk.properties +18 -2
  203. package/src/sap/cux/home/i18n/messagebundle_ko.properties +18 -2
  204. package/src/sap/cux/home/i18n/messagebundle_lt.properties +18 -2
  205. package/src/sap/cux/home/i18n/messagebundle_lv.properties +18 -2
  206. package/src/sap/cux/home/i18n/messagebundle_mk.properties +18 -2
  207. package/src/sap/cux/home/i18n/messagebundle_ms.properties +18 -2
  208. package/src/sap/cux/home/i18n/messagebundle_nl.properties +18 -2
  209. package/src/sap/cux/home/i18n/messagebundle_no.properties +18 -2
  210. package/src/sap/cux/home/i18n/messagebundle_pl.properties +18 -2
  211. package/src/sap/cux/home/i18n/messagebundle_pt.properties +18 -2
  212. package/src/sap/cux/home/i18n/messagebundle_pt_PT.properties +18 -2
  213. package/src/sap/cux/home/i18n/messagebundle_ro.properties +18 -2
  214. package/src/sap/cux/home/i18n/messagebundle_ru.properties +18 -2
  215. package/src/sap/cux/home/i18n/messagebundle_sh.properties +18 -2
  216. package/src/sap/cux/home/i18n/messagebundle_sk.properties +18 -2
  217. package/src/sap/cux/home/i18n/messagebundle_sl.properties +18 -2
  218. package/src/sap/cux/home/i18n/messagebundle_sr.properties +18 -2
  219. package/src/sap/cux/home/i18n/messagebundle_sv.properties +18 -2
  220. package/src/sap/cux/home/i18n/messagebundle_th.properties +18 -2
  221. package/src/sap/cux/home/i18n/messagebundle_tr.properties +18 -2
  222. package/src/sap/cux/home/i18n/messagebundle_uk.properties +20 -4
  223. package/src/sap/cux/home/i18n/messagebundle_vi.properties +18 -2
  224. package/src/sap/cux/home/i18n/messagebundle_zh_CN.properties +18 -2
  225. package/src/sap/cux/home/i18n/messagebundle_zh_TW.properties +18 -2
  226. package/src/sap/cux/home/interface/CardsInterface.d.ts +6 -0
  227. package/src/sap/cux/home/interface/CardsInterface.d.ts.map +1 -1
  228. package/src/sap/cux/home/interface/CardsInterface.js.map +1 -1
  229. package/src/sap/cux/home/interface/CardsInterface.ts +6 -1
  230. package/src/sap/cux/home/interface/KeyUserInterface.d.ts +27 -4
  231. package/src/sap/cux/home/interface/KeyUserInterface.d.ts.map +1 -1
  232. package/src/sap/cux/home/interface/KeyUserInterface.js.map +1 -1
  233. package/src/sap/cux/home/interface/KeyUserInterface.ts +23 -4
  234. package/src/sap/cux/home/interface/LayoutInterface.d.ts +7 -0
  235. package/src/sap/cux/home/interface/LayoutInterface.d.ts.map +1 -1
  236. package/src/sap/cux/home/interface/LayoutInterface.js.map +1 -1
  237. package/src/sap/cux/home/interface/LayoutInterface.ts +7 -0
  238. package/src/sap/cux/home/library.d.ts.map +1 -1
  239. package/src/sap/cux/home/library.js +7 -4
  240. package/src/sap/cux/home/library.js.map +1 -1
  241. package/src/sap/cux/home/library.ts +10 -5
  242. package/src/sap/cux/home/themes/base/BaseContainer.less +36 -0
  243. package/src/sap/cux/home/themes/base/BaseLayout.less +11 -0
  244. package/src/sap/cux/home/themes/base/{InsightsContainer.less → CardsContainer.less} +0 -45
  245. package/src/sap/cux/home/themes/base/ContentAdditionDialog.less +10 -18
  246. package/src/sap/cux/home/themes/base/PlaceHolder.less +1 -1
  247. package/src/sap/cux/home/themes/base/SettingsDialog.less +4 -0
  248. package/src/sap/cux/home/themes/base/TilesContainer.less +65 -0
  249. package/src/sap/cux/home/themes/base/library.source.less +2 -1
  250. package/src/sap/cux/home/utils/BatchHelper.d.ts +1 -0
  251. package/src/sap/cux/home/utils/BatchHelper.d.ts.map +1 -1
  252. package/src/sap/cux/home/utils/BatchHelper.js +7 -2
  253. package/src/sap/cux/home/utils/BatchHelper.js.map +1 -1
  254. package/src/sap/cux/home/utils/BatchHelper.ts +8 -1
  255. package/src/sap/cux/home/utils/PerformanceUtils.d.ts +4 -2
  256. package/src/sap/cux/home/utils/PerformanceUtils.d.ts.map +1 -1
  257. package/src/sap/cux/home/utils/PerformanceUtils.js +4 -2
  258. package/src/sap/cux/home/utils/PerformanceUtils.js.map +1 -1
  259. package/src/sap/cux/home/utils/PerformanceUtils.ts +4 -2
  260. package/src/sap/cux/home/utils/fragment/appsAdditionContent.fragment.xml +150 -151
  261. package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.d.ts +8 -0
  262. package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.d.ts.map +1 -0
  263. package/src/sap/cux/home/utils/placeholder/{InsightsPlaceholder.js → CardsPlaceholder.js} +3 -77
  264. package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.js.map +1 -0
  265. package/src/sap/cux/home/utils/placeholder/{InsightsPlaceholder.ts → CardsPlaceholder.ts} +1 -75
  266. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.d.ts +8 -0
  267. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.d.ts.map +1 -0
  268. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.js +44 -0
  269. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.js.map +1 -0
  270. package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.ts +34 -0
  271. package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.d.ts +8 -0
  272. package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.d.ts.map +1 -0
  273. package/src/sap/cux/home/utils/placeholder/{NewsAndPagesPlaceholder.js → PagesPlaceholder.js} +3 -23
  274. package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.js.map +1 -0
  275. package/src/sap/cux/home/utils/placeholder/{NewsAndPagesPlaceholder.ts → PagesPlaceholder.ts} +1 -21
  276. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.d.ts +8 -0
  277. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.d.ts.map +1 -0
  278. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.js +95 -0
  279. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.js.map +1 -0
  280. package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.ts +85 -0
  281. package/ui5.yaml +1 -0
  282. package/src/sap/cux/home/InsightsContainer.d.ts +0 -205
  283. package/src/sap/cux/home/InsightsContainer.d.ts.map +0 -1
  284. package/src/sap/cux/home/InsightsContainer.js +0 -459
  285. package/src/sap/cux/home/InsightsContainer.js.map +0 -1
  286. package/src/sap/cux/home/InsightsContainer.ts +0 -489
  287. package/src/sap/cux/home/NewsAndPagesContainer.d.ts.map +0 -1
  288. package/src/sap/cux/home/NewsAndPagesContainer.js.map +0 -1
  289. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.d.ts +0 -8
  290. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.d.ts.map +0 -1
  291. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.js.map +0 -1
  292. package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.d.ts +0 -8
  293. package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.d.ts.map +0 -1
  294. package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.js.map +0 -1
@@ -0,0 +1,218 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+ * * (c) Copyright 2009-2025 SAP SE. All rights reserved
4
+ */
5
+ sap.ui.define(["./BaseContainer", "./SpaceInsightsPanel", "./TilesPanel", "./utils/placeholder/TilesPlaceholder"], function (__BaseContainer, __SpaceInsightsPanel, __TilesPanel, ___utils_placeholder_TilesPlaceholder) {
6
+ "use strict";
7
+
8
+ function _interopRequireDefault(obj) {
9
+ return obj && obj.__esModule && typeof obj.default !== "undefined" ? obj.default : obj;
10
+ }
11
+ const BaseContainer = _interopRequireDefault(__BaseContainer);
12
+ const SpaceInsightsPanel = _interopRequireDefault(__SpaceInsightsPanel);
13
+ const TilesPanel = _interopRequireDefault(__TilesPanel);
14
+ const getTilesPlaceholder = ___utils_placeholder_TilesPlaceholder["getTilesPlaceholder"];
15
+ const tilesPanelName = "sap.cux.home.TilesPanel";
16
+ const cardsPanelName = "sap.cux.home.CardsPanel";
17
+ const spaceInsightsPanelName = "sap.cux.home.SpaceInsightsPanel";
18
+ /**
19
+ *
20
+ * Container class for managing and storing Insights Tiles.
21
+ *
22
+ * @extends sap.cux.home.BaseContainer
23
+ *
24
+ * @author SAP SE
25
+ * @version 0.0.1
26
+ * @since 1.142
27
+ *
28
+ * @private
29
+ * @ui5-restricted ux.eng.s4producthomes1
30
+ *
31
+ * @alias sap.cux.home.TilesContainer
32
+ */
33
+ const TilesContainer = BaseContainer.extend("sap.cux.home.TilesContainer", {
34
+ renderer: {
35
+ ...BaseContainer.renderer,
36
+ apiVersion: 2
37
+ },
38
+ /**
39
+ * Constructor for a new Insights container.
40
+ *
41
+ * @param {string} [id] ID for the new control, generated automatically if an ID is not provided
42
+ * @param {object} [settings] Initial settings for the new control
43
+ */
44
+ constructor: function _constructor(id, settings) {
45
+ BaseContainer.prototype.constructor.call(this, id, settings);
46
+ this._isInitialRender = true;
47
+ },
48
+ /**
49
+ * Init lifecycle method
50
+ *
51
+ * @private
52
+ * @override
53
+ */
54
+ init: function _init() {
55
+ BaseContainer.prototype.init.call(this);
56
+ /* As Container Level default value for enableSettings is false,
57
+ this needs to be added from container level.
58
+ (default value cannot be true as News & Page Container header should be hidden)
59
+ */
60
+ this.setProperty("enableSettings", false);
61
+ this.setProperty("orientation", "Vertical");
62
+ this.setProperty("compositeId", "Insights");
63
+ this.panelLoaded = {
64
+ [tilesPanelName]: {
65
+ loaded: undefined,
66
+ count: 0
67
+ },
68
+ [spaceInsightsPanelName]: {
69
+ loaded: undefined,
70
+ count: 0
71
+ }
72
+ };
73
+ this.panelContext = {};
74
+ this.setTooltip(String(this._i18nBundle.getText("insightsTiles")));
75
+ this.addCustomSetting("title", this._i18nBundle.getText("insightsTiles"));
76
+ this.addCustomSetting("groupTitle", this._i18nBundle.getText("insights"));
77
+ //remove aggregation menuItems and actionButtons as they will be added from individual panels
78
+ this.removeAllAggregation("menuItems");
79
+ this.removeAllAggregation("actionButtons");
80
+ },
81
+ /**
82
+ * Loads the Insights section.
83
+ * Overrides the load method of the BaseContainer.
84
+ *
85
+ * @private
86
+ * @override
87
+ */
88
+ load: function _load() {
89
+ if (this._isInitialRender) {
90
+ const aContent = this.getContent();
91
+ aContent.forEach(oContent => {
92
+ this.panelContext[oContent.getMetadata().getName()] = oContent;
93
+ });
94
+ // Render individual panels
95
+ aContent.forEach(content => {
96
+ const panel = content;
97
+ panel.attachHandleHidePanel(() => this.handleHidePanel(panel));
98
+ panel.attachHandleUnhidePanel(() => this.unhidePanelIfHidden(panel));
99
+ void panel.renderPanel();
100
+ });
101
+ this._isInitialRender = false;
102
+ }
103
+ },
104
+ /**
105
+ * Handles the hiding of a panel by removing its content, updating the panel load status,
106
+ * and managing the display of the container header and error panel.
107
+ *
108
+ * @param {BasePanel} panel - The panel to be hidden.
109
+ * @private
110
+ */
111
+ handleHidePanel: function _handleHidePanel(panel) {
112
+ this.removeContent(panel);
113
+ const panelName = panel.getMetadata().getName();
114
+ this.handlePanelLoad(panelName, {
115
+ loaded: false,
116
+ count: 0
117
+ });
118
+ },
119
+ /**
120
+ * Unhides the specified panel if it is hidden.
121
+ *
122
+ * @param {TilesPanel} panel - The panel to unhide.
123
+ */
124
+ unhidePanelIfHidden: function _unhidePanelIfHidden(panel) {
125
+ const layout = this._getLayout();
126
+ const panelExpandedName = layout._getCurrentExpandedElementName();
127
+ // Function to handle panel content insertion
128
+ const processPanelVisibility = (panelName, insertContentFn) => {
129
+ if (!panelExpandedName || panelExpandedName === panel.getProperty("fullScreenName")) {
130
+ /**
131
+ loaded value can be false or undefined, false being hidden and undefined being loading
132
+ if the panel is hidden then only unhide it
133
+ */
134
+ if (this.panelLoaded[panelName].loaded === false) {
135
+ insertContentFn();
136
+ // Remove hidden class if applied
137
+ panel.setVisible(true);
138
+ }
139
+ this.handlePanelLoad(panelName, {
140
+ loaded: true,
141
+ count: this.panelLoaded[panelName].count
142
+ });
143
+ } else {
144
+ const listener = () => {
145
+ insertContentFn();
146
+ // Remove hidden class if applied
147
+ panel.setVisible(true);
148
+ layout.detachOnCollapse(listener); // Remove the listener after execution
149
+ };
150
+ this.handlePanelLoad(panelName, {
151
+ loaded: true,
152
+ count: this.panelLoaded[panelName].count
153
+ });
154
+ layout.attachOnCollapse(listener);
155
+ }
156
+ };
157
+
158
+ // Handling TilesPanel
159
+ if (panel instanceof TilesPanel && !this.panelLoaded[tilesPanelName].loaded) {
160
+ processPanelVisibility(tilesPanelName, () => this.insertContent(this.panelContext[tilesPanelName], 0));
161
+ }
162
+
163
+ // Handling SpaceInsightsPanel
164
+ if (panel instanceof SpaceInsightsPanel && !this.panelLoaded[spaceInsightsPanelName].loaded) {
165
+ processPanelVisibility(spaceInsightsPanelName, () => this.addContent(this.panelContext[cardsPanelName]));
166
+ }
167
+ },
168
+ /**
169
+ * Adjusts the layout of the container.
170
+ *
171
+ * @private
172
+ * @override
173
+ */
174
+ adjustLayout: function _adjustLayout() {
175
+ //adjust layout of all panels
176
+ this.getContent().forEach(panel => panel._adjustLayout?.());
177
+ },
178
+ /**
179
+ * Handles the loading of a panel.
180
+ *
181
+ * @param {string} panelName - The name of the panel.
182
+ * @param {object} oVal - The load status and count of the panel.
183
+ * @param {boolean} oVal.loaded - The load status of the panel.
184
+ * @param {number} oVal.count - The count of items in the panel.
185
+ */
186
+ handlePanelLoad: function _handlePanelLoad(panelName, oVal) {
187
+ if (this.panelLoaded[panelName].loaded !== oVal.loaded) {
188
+ this.panelLoaded[panelName] = oVal;
189
+ }
190
+ this.adjustLayout();
191
+ },
192
+ /**
193
+ * Retrieves the generic placeholder content for the Insights container.
194
+ *
195
+ * @returns {string} The HTML string representing the Insights container's placeholder content.
196
+ */
197
+ getGenericPlaceholderContent: function _getGenericPlaceholderContent() {
198
+ return getTilesPlaceholder();
199
+ },
200
+ /**
201
+ * Refreshes the data for a specific panel based on its key.
202
+ *
203
+ * @private
204
+ * @param {string} key - The key of the panel to refresh.
205
+ */
206
+ refreshData: function _refreshData(key) {
207
+ try {
208
+ const _this = this;
209
+ const panel = Object.values(_this.panelContext).find(panel => panel.getKey() === key);
210
+ return Promise.resolve(panel?.refreshData?.(true)).then(function () {});
211
+ } catch (e) {
212
+ return Promise.reject(e);
213
+ }
214
+ }
215
+ });
216
+ return TilesContainer;
217
+ });
218
+ //# sourceMappingURL=TilesContainer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TilesContainer.js","names":["sap","ui","define","__BaseContainer","__SpaceInsightsPanel","__TilesPanel","___utils_placeholder_TilesPlaceholder","_interopRequireDefault","obj","__esModule","default","BaseContainer","SpaceInsightsPanel","TilesPanel","getTilesPlaceholder","tilesPanelName","cardsPanelName","spaceInsightsPanelName","TilesContainer","extend","renderer","apiVersion","constructor","_constructor","id","settings","BaseContainer.prototype.constructor.call","_isInitialRender","init","_init","BaseContainer.prototype.init.call","setProperty","panelLoaded","loaded","undefined","count","panelContext","setTooltip","String","_i18nBundle","getText","addCustomSetting","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","insertContent","addContent","adjustLayout","_adjustLayout","_handlePanelLoad","oVal","getGenericPlaceholderContent","_getGenericPlaceholderContent","refreshData","_refreshData","key","_this","Object","values","find","getKey","Promise","resolve","then","e","reject"],"sources":["TilesContainer.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\nimport type { $BaseContainerSettings } from \"./BaseContainer\";\nimport BaseContainer from \"./BaseContainer\";\nimport BasePanel from \"./BasePanel\";\nimport SpaceInsightsPanel from \"./SpaceInsightsPanel\";\nimport TilesPanel from \"./TilesPanel\";\nimport { getTilesPlaceholder } from \"./utils/placeholder/TilesPlaceholder\";\n\nconst tilesPanelName: string = \"sap.cux.home.TilesPanel\";\nconst cardsPanelName: string = \"sap.cux.home.CardsPanel\";\nconst spaceInsightsPanelName: string = \"sap.cux.home.SpaceInsightsPanel\";\n\ninterface IpanelLoaded {\n\t[key: string]: { loaded: boolean | undefined; count: number };\n}\n\ninterface IpanelContext {\n\t[key: string]: TilesPanel;\n}\n\n/**\n *\n * Container class for managing and storing Insights Tiles.\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.TilesContainer\n */\n\nexport default class TilesContainer extends BaseContainer {\n\tstatic readonly renderer = {\n\t\t...BaseContainer.renderer,\n\t\tapiVersion: 2\n\t};\n\tprivate _isInitialRender: boolean = true;\n\tprivate panelLoaded!: IpanelLoaded;\n\tprivate panelContext!: IpanelContext;\n\n\tconstructor(id?: string | $BaseContainerSettings);\n\tconstructor(id?: string, settings?: $BaseContainerSettings);\n\t/**\n\t * Constructor for a new Insights 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[tilesPanelName]: { loaded: undefined, count: 0 },\n\t\t\t[spaceInsightsPanelName]: { loaded: undefined, count: 0 }\n\t\t};\n\t\tthis.panelContext = {};\n\t\tthis.setTooltip(String(this._i18nBundle.getText(\"insightsTiles\")));\n\t\tthis.addCustomSetting(\"title\", this._i18nBundle.getText(\"insightsTiles\") as string);\n\t\tthis.addCustomSetting(\"groupTitle\", this._i18nBundle.getText(\"insights\") as string);\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\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 TilesPanel;\n\t\t\t});\n\t\t\t// Render individual panels\n\t\t\taContent.forEach((content) => {\n\t\t\t\tconst panel = content as TilesPanel;\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 {TilesPanel} panel - The panel to unhide.\n\t */\n\tpublic unhidePanelIfHidden(panel: TilesPanel) {\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 TilesPanel\n\t\tif (panel instanceof TilesPanel && !this.panelLoaded[tilesPanelName].loaded) {\n\t\t\tprocessPanelVisibility(tilesPanelName, () => this.insertContent(this.panelContext[tilesPanelName], 0));\n\t\t}\n\n\t\t// Handling SpaceInsightsPanel\n\t\tif (panel instanceof SpaceInsightsPanel && !this.panelLoaded[spaceInsightsPanelName].loaded) {\n\t\t\tprocessPanelVisibility(spaceInsightsPanelName, () => 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 TilesPanel[]).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 Insights container.\n\t *\n\t * @returns {string} The HTML string representing the Insights container's placeholder content.\n\t */\n\tprotected getGenericPlaceholderContent(): string {\n\t\treturn getTilesPlaceholder();\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?.(true);\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,gHAAAC,eAAA,EAAAC,oBAAA,EAAAC,YAAA,EAAAC,qCAAA;EAAA;;EAAA,SAAAC,uBAAAC,GAAA;IAAA,OAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,CAAAE,OAAA,mBAAAF,GAAA,CAAAE,OAAA,GAAAF,GAAA;EAAA;EAAA,MAMOG,aAAa,GAAAJ,sBAAA,CAAAJ,eAAA;EAAA,MAEbS,kBAAkB,GAAAL,sBAAA,CAAAH,oBAAA;EAAA,MAClBS,UAAU,GAAAN,sBAAA,CAAAF,YAAA;EAAA,MACRS,mBAAmB,GAAAR,qCAAA;EAE5B,MAAMS,cAAsB,GAAG,yBAAyB;EACxD,MAAMC,cAAsB,GAAG,yBAAyB;EACxD,MAAMC,sBAA8B,GAAG,iCAAiC;EAUxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EAdA,MAgBqBC,cAAc,GAASP,aAAa,CAAAQ,MAA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@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+ * * (c) Copyright 2009-2025 SAP SE. All rights reserved
4
+ */
5
+
6
+ import type { $BaseContainerSettings } from "./BaseContainer";
7
+ import BaseContainer from "./BaseContainer";
8
+ import BasePanel from "./BasePanel";
9
+ import SpaceInsightsPanel from "./SpaceInsightsPanel";
10
+ import TilesPanel from "./TilesPanel";
11
+ import { getTilesPlaceholder } from "./utils/placeholder/TilesPlaceholder";
12
+
13
+ const tilesPanelName: string = "sap.cux.home.TilesPanel";
14
+ const cardsPanelName: string = "sap.cux.home.CardsPanel";
15
+ const spaceInsightsPanelName: string = "sap.cux.home.SpaceInsightsPanel";
16
+
17
+ interface IpanelLoaded {
18
+ [key: string]: { loaded: boolean | undefined; count: number };
19
+ }
20
+
21
+ interface IpanelContext {
22
+ [key: string]: TilesPanel;
23
+ }
24
+
25
+ /**
26
+ *
27
+ * Container class for managing and storing Insights Tiles.
28
+ *
29
+ * @extends sap.cux.home.BaseContainer
30
+ *
31
+ * @author SAP SE
32
+ * @version 0.0.1
33
+ * @since 1.142
34
+ *
35
+ * @private
36
+ * @ui5-restricted ux.eng.s4producthomes1
37
+ *
38
+ * @alias sap.cux.home.TilesContainer
39
+ */
40
+
41
+ export default class TilesContainer extends BaseContainer {
42
+ static readonly renderer = {
43
+ ...BaseContainer.renderer,
44
+ apiVersion: 2
45
+ };
46
+ private _isInitialRender: boolean = true;
47
+ private panelLoaded!: IpanelLoaded;
48
+ private panelContext!: IpanelContext;
49
+
50
+ constructor(id?: string | $BaseContainerSettings);
51
+ constructor(id?: string, settings?: $BaseContainerSettings);
52
+ /**
53
+ * Constructor for a new Insights container.
54
+ *
55
+ * @param {string} [id] ID for the new control, generated automatically if an ID is not provided
56
+ * @param {object} [settings] Initial settings for the new control
57
+ */
58
+ public constructor(id?: string, settings?: $BaseContainerSettings) {
59
+ super(id, settings);
60
+ }
61
+
62
+ /**
63
+ * Init lifecycle method
64
+ *
65
+ * @private
66
+ * @override
67
+ */
68
+ public init(): void {
69
+ super.init();
70
+ /* As Container Level default value for enableSettings is false,
71
+ this needs to be added from container level.
72
+ (default value cannot be true as News & Page Container header should be hidden)
73
+ */
74
+ this.setProperty("enableSettings", false);
75
+ this.setProperty("orientation", "Vertical");
76
+ this.setProperty("compositeId", "Insights");
77
+ this.panelLoaded = {
78
+ [tilesPanelName]: { loaded: undefined, count: 0 },
79
+ [spaceInsightsPanelName]: { loaded: undefined, count: 0 }
80
+ };
81
+ this.panelContext = {};
82
+ this.setTooltip(String(this._i18nBundle.getText("insightsTiles")));
83
+ this.addCustomSetting("title", this._i18nBundle.getText("insightsTiles") as string);
84
+ this.addCustomSetting("groupTitle", this._i18nBundle.getText("insights") as string);
85
+ //remove aggregation menuItems and actionButtons as they will be added from individual panels
86
+ this.removeAllAggregation("menuItems");
87
+ this.removeAllAggregation("actionButtons");
88
+ }
89
+
90
+ /**
91
+ * Loads the Insights section.
92
+ * Overrides the load method of the BaseContainer.
93
+ *
94
+ * @private
95
+ * @override
96
+ */
97
+ public load() {
98
+ if (this._isInitialRender) {
99
+ const aContent = this.getContent();
100
+ aContent.forEach((oContent) => {
101
+ this.panelContext[oContent.getMetadata().getName()] = oContent as TilesPanel;
102
+ });
103
+ // Render individual panels
104
+ aContent.forEach((content) => {
105
+ const panel = content as TilesPanel;
106
+ panel.attachHandleHidePanel(() => this.handleHidePanel(panel));
107
+ panel.attachHandleUnhidePanel(() => this.unhidePanelIfHidden(panel));
108
+ void panel.renderPanel();
109
+ });
110
+ this._isInitialRender = false;
111
+ }
112
+ }
113
+
114
+ /**
115
+ * Handles the hiding of a panel by removing its content, updating the panel load status,
116
+ * and managing the display of the container header and error panel.
117
+ *
118
+ * @param {BasePanel} panel - The panel to be hidden.
119
+ * @private
120
+ */
121
+ public handleHidePanel(panel: BasePanel) {
122
+ this.removeContent(panel);
123
+ const panelName = panel.getMetadata().getName();
124
+ this.handlePanelLoad(panelName, { loaded: false, count: 0 });
125
+ }
126
+
127
+ /**
128
+ * Unhides the specified panel if it is hidden.
129
+ *
130
+ * @param {TilesPanel} panel - The panel to unhide.
131
+ */
132
+ public unhidePanelIfHidden(panel: TilesPanel) {
133
+ const layout = this._getLayout();
134
+ const panelExpandedName = layout._getCurrentExpandedElementName();
135
+ // Function to handle panel content insertion
136
+ const processPanelVisibility = (panelName: string, insertContentFn: () => void) => {
137
+ if (!panelExpandedName || panelExpandedName === panel.getProperty("fullScreenName")) {
138
+ /**
139
+ loaded value can be false or undefined, false being hidden and undefined being loading
140
+ if the panel is hidden then only unhide it
141
+ */
142
+ if (this.panelLoaded[panelName].loaded === false) {
143
+ insertContentFn();
144
+ // Remove hidden class if applied
145
+ panel.setVisible(true);
146
+ }
147
+ this.handlePanelLoad(panelName, { loaded: true, count: this.panelLoaded[panelName].count });
148
+ } else {
149
+ const listener = () => {
150
+ insertContentFn();
151
+ // Remove hidden class if applied
152
+ panel.setVisible(true);
153
+ layout.detachOnCollapse(listener); // Remove the listener after execution
154
+ };
155
+ this.handlePanelLoad(panelName, { loaded: true, count: this.panelLoaded[panelName].count });
156
+ layout.attachOnCollapse(listener);
157
+ }
158
+ };
159
+
160
+ // Handling TilesPanel
161
+ if (panel instanceof TilesPanel && !this.panelLoaded[tilesPanelName].loaded) {
162
+ processPanelVisibility(tilesPanelName, () => this.insertContent(this.panelContext[tilesPanelName], 0));
163
+ }
164
+
165
+ // Handling SpaceInsightsPanel
166
+ if (panel instanceof SpaceInsightsPanel && !this.panelLoaded[spaceInsightsPanelName].loaded) {
167
+ processPanelVisibility(spaceInsightsPanelName, () => this.addContent(this.panelContext[cardsPanelName]));
168
+ }
169
+ }
170
+
171
+ /**
172
+ * Adjusts the layout of the container.
173
+ *
174
+ * @private
175
+ * @override
176
+ */
177
+ public adjustLayout() {
178
+ //adjust layout of all panels
179
+ (this.getContent() as TilesPanel[]).forEach((panel) => panel._adjustLayout?.());
180
+ }
181
+
182
+ /**
183
+ * Handles the loading of a panel.
184
+ *
185
+ * @param {string} panelName - The name of the panel.
186
+ * @param {object} oVal - The load status and count of the panel.
187
+ * @param {boolean} oVal.loaded - The load status of the panel.
188
+ * @param {number} oVal.count - The count of items in the panel.
189
+ */
190
+ public handlePanelLoad(panelName: string, oVal: { loaded: boolean; count: number }) {
191
+ if (this.panelLoaded[panelName].loaded !== oVal.loaded) {
192
+ this.panelLoaded[panelName] = oVal;
193
+ }
194
+ this.adjustLayout();
195
+ }
196
+
197
+ /**
198
+ * Retrieves the generic placeholder content for the Insights container.
199
+ *
200
+ * @returns {string} The HTML string representing the Insights container's placeholder content.
201
+ */
202
+ protected getGenericPlaceholderContent(): string {
203
+ return getTilesPlaceholder();
204
+ }
205
+
206
+ /**
207
+ * Refreshes the data for a specific panel based on its key.
208
+ *
209
+ * @private
210
+ * @param {string} key - The key of the panel to refresh.
211
+ */
212
+ public async refreshData(key: string) {
213
+ const panel = Object.values(this.panelContext).find((panel) => panel.getKey() === key);
214
+ await panel?.refreshData?.(true);
215
+ }
216
+ }
@@ -1,28 +1,24 @@
1
1
  declare module "sap/cux/home/TilesPanel" {
2
- import Button from "sap/m/Button";
3
2
  import Control from "sap/ui/core/Control";
4
3
  import type { MetadataOptions } from "sap/ui/core/Element";
5
4
  import UI5Element from "sap/ui/core/Element";
6
5
  import BasePanel from "sap/cux/home/BasePanel";
7
- import MenuItem from "sap/cux/home/MenuItem";
8
6
  import { $TilesPanelSettings } from "sap/cux/home/TilesPanel";
9
7
  enum tilesMenuItems {
10
8
  REFRESH = "tiles-refresh",
11
9
  ADD_APPS = "tiles-addSmartApps",
12
10
  EDIT_TILES = "tiles-editTiles"
13
11
  }
14
- enum tilesContainerMenuItems {
15
- REFRESH = "container-tiles-refresh",
16
- ADD_APPS = "container-tiles-addSmartApps",
17
- EDIT_TILES = "container-tiles-editTiles",
18
- SHOW_MORE = "tilesContainerFullScreenMenuItem"
19
- }
20
12
  enum tilesActionButtons {
21
- ADD_TILES = "tiles-addTilesButton"
13
+ ADD_TILES = "tiles-addTilesButton",
14
+ SHOW_MORE = "fullScreen"
15
+ }
16
+ enum errorPanelMenuItems {
17
+ ADD_APPS = "tiles-errorPanel-addSmartApps",
18
+ EDIT_TILES = "tiles-errorPanel-editTiles"
22
19
  }
23
- enum tilesContainerActionButtons {
24
- ADD_TILES = "container-tiles-addTilesButton",
25
- SHOW_MORE = "tilesContanerFullScreenActionButton"
20
+ enum errorPanelActionButtons {
21
+ ADD_TILES = "tiles-errorPanel-addTilesButton"
26
22
  }
27
23
  enum DisplayFormat {
28
24
  Standard = "standard",
@@ -58,18 +54,16 @@ declare module "sap/cux/home/TilesPanel" {
58
54
  private readonly _addFromFavDialogId;
59
55
  private appManagerInstance;
60
56
  private VizInstantiationService;
61
- private tilesContainer;
57
+ private tilesDesktopContainer;
62
58
  private tilesMobileContainer;
63
59
  private _tilesWrapper;
64
60
  private aInsightsApps;
65
61
  private _controlModel;
66
62
  _controlMap: Map<string, Control | Element | UI5Element>;
67
- private _containerMenuItems;
68
- private _containerActionButtons;
69
63
  private oEventBus;
70
- private insightsContainer;
64
+ private tilesContainer;
71
65
  private _appSwitched;
72
- private _headerVisible;
66
+ private _errorPanel;
73
67
  static readonly metadata: MetadataOptions;
74
68
  /**
75
69
  * Initializes the Tiles Panel.
@@ -135,6 +129,13 @@ declare module "sap/cux/home/TilesPanel" {
135
129
  * @returns {Promise<void>} A promise that resolves when the data is refreshed.
136
130
  */
137
131
  refreshData(refreshTiles?: boolean): Promise<void>;
132
+ /**
133
+ * Adds an error panel when there are no tiles available.
134
+ *
135
+ * @private
136
+ * @returns {void}
137
+ */
138
+ private _addErrorPanel;
138
139
  /**
139
140
  * Generates the wrapper for the tiles container, if it doesn't already exist
140
141
  *
@@ -167,7 +168,7 @@ declare module "sap/cux/home/TilesPanel" {
167
168
  * Attaches necessary aggregations and configurations to the provided container.
168
169
  *
169
170
  * @private
170
- * @param {GridContainer | HeaderContainer} tilesContainer - The container to which the aggregation and events are to be attached.
171
+ * @param {GridContainer | HeaderContainer} tilesDesktopContainer - The container to which the aggregation and events are to be attached.
171
172
  * @returns {void}
172
173
  *
173
174
  */
@@ -202,16 +203,6 @@ declare module "sap/cux/home/TilesPanel" {
202
203
  * @param {Event} event - The event object.
203
204
  */
204
205
  private handleEditTiles;
205
- /**
206
- * Hides the header of the tiles panel.
207
- * @private
208
- */
209
- handleHideHeader(): void;
210
- /**
211
- * Adds the header to the tiles panel.
212
- * @private
213
- */
214
- handleAddHeader(): void;
215
206
  /**
216
207
  * Closes the "Add from Favorites" dialog.
217
208
  *
@@ -290,26 +281,12 @@ declare module "sap/cux/home/TilesPanel" {
290
281
  */
291
282
  _adjustLayout(): void;
292
283
  /**
293
- * Retrieves the InsightsContainer instance associated with this TilesPanel.
284
+ * Retrieves the TilesContainer instance associated with this TilesPanel.
294
285
  *
295
286
  * @private
296
- * @returns {InsightsContainer} The InsightsContainer instance.
287
+ * @returns {TilesContainer} The TilesContainer instance.
297
288
  */
298
- private _getInsightsContainer;
299
- /**
300
- * Retrieves the menu items for the container.
301
- *
302
- * @private
303
- * @returns {MenuItem[]} An array of MenuItem instances.
304
- */
305
- getContainerMenuItems(): MenuItem[];
306
- /**
307
- * Retrieves the action buttons for the container.
308
- *
309
- * @private
310
- * @returns {Button[]} An array of Button instances.
311
- */
312
- getContainerActionButtons(): Button[];
289
+ private _getTilesContainer;
313
290
  /**
314
291
  * Creates a refresh menu item.
315
292
  *
@@ -346,13 +323,6 @@ declare module "sap/cux/home/TilesPanel" {
346
323
  * @returns {Button} The created Button instance.
347
324
  */
348
325
  private _createAddTilesButton;
349
- /**
350
- * Toggles the visibility of the header actions.
351
- *
352
- * @param {boolean} bShow - Whether to show or hide the header actions.
353
- * @private
354
- */
355
- private _toggleHeaderActions;
356
326
  }
357
327
  }
358
328
  //# sourceMappingURL=TilesPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TilesPanel.d.ts","sourceRoot":"../../../../..","sources":["src/sap/cux/home/TilesPanel.ts"],"names":[],"mappings":"AAAA,OAA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