@sapui5/sap.cux.home 1.135.0 → 1.136.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (436) hide show
  1. package/package.json +1 -1
  2. package/src/sap/cux/home/AdvancedSettingsPanel-dbg.js +23 -5
  3. package/src/sap/cux/home/AdvancedSettingsPanel-dbg.js.map +1 -1
  4. package/src/sap/cux/home/AdvancedSettingsPanel.d.ts +7 -0
  5. package/src/sap/cux/home/AdvancedSettingsPanel.d.ts.map +1 -1
  6. package/src/sap/cux/home/AdvancedSettingsPanel.js +1 -1
  7. package/src/sap/cux/home/AdvancedSettingsPanel.js.map +1 -1
  8. package/src/sap/cux/home/AdvancedSettingsPanel.ts +24 -5
  9. package/src/sap/cux/home/AppsAdditionPanel-dbg.js +919 -0
  10. package/src/sap/cux/home/AppsAdditionPanel-dbg.js.map +1 -0
  11. package/src/sap/cux/home/AppsAdditionPanel.d.ts +293 -0
  12. package/src/sap/cux/home/AppsAdditionPanel.d.ts.map +1 -0
  13. package/src/sap/cux/home/AppsAdditionPanel.js +6 -0
  14. package/src/sap/cux/home/AppsAdditionPanel.js.map +1 -0
  15. package/src/sap/cux/home/AppsAdditionPanel.ts +757 -0
  16. package/src/sap/cux/home/AppsContainer-dbg.js +42 -28
  17. package/src/sap/cux/home/AppsContainer-dbg.js.map +1 -1
  18. package/src/sap/cux/home/AppsContainer.d.ts +17 -1
  19. package/src/sap/cux/home/AppsContainer.d.ts.map +1 -1
  20. package/src/sap/cux/home/AppsContainer.js +1 -1
  21. package/src/sap/cux/home/AppsContainer.js.map +1 -1
  22. package/src/sap/cux/home/AppsContainer.ts +27 -6
  23. package/src/sap/cux/home/AppsContainerGenericPlaceholder-dbg.js +261 -0
  24. package/src/sap/cux/home/AppsContainerGenericPlaceholder-dbg.js.map +1 -0
  25. package/src/sap/cux/home/AppsContainerGenericPlaceholder.d.ts +8 -0
  26. package/src/sap/cux/home/AppsContainerGenericPlaceholder.d.ts.map +1 -0
  27. package/src/sap/cux/home/AppsContainerGenericPlaceholder.js +6 -0
  28. package/src/sap/cux/home/AppsContainerGenericPlaceholder.js.map +1 -0
  29. package/src/sap/cux/home/AppsContainerGenericPlaceholder.ts +251 -0
  30. package/src/sap/cux/home/BaseAppPanel-dbg.js +4 -5
  31. package/src/sap/cux/home/BaseAppPanel-dbg.js.map +1 -1
  32. package/src/sap/cux/home/BaseAppPanel.d.ts.map +1 -1
  33. package/src/sap/cux/home/BaseAppPanel.js +1 -1
  34. package/src/sap/cux/home/BaseAppPanel.js.map +1 -1
  35. package/src/sap/cux/home/BaseAppPanel.ts +3 -5
  36. package/src/sap/cux/home/BaseAppPersPanel-dbg.js +2 -1
  37. package/src/sap/cux/home/BaseAppPersPanel-dbg.js.map +1 -1
  38. package/src/sap/cux/home/BaseAppPersPanel.d.ts.map +1 -1
  39. package/src/sap/cux/home/BaseAppPersPanel.js +1 -1
  40. package/src/sap/cux/home/BaseAppPersPanel.js.map +1 -1
  41. package/src/sap/cux/home/BaseAppPersPanel.ts +2 -1
  42. package/src/sap/cux/home/BaseContainer-dbg.js +24 -3
  43. package/src/sap/cux/home/BaseContainer-dbg.js.map +1 -1
  44. package/src/sap/cux/home/BaseContainer.d.ts +10 -0
  45. package/src/sap/cux/home/BaseContainer.d.ts.map +1 -1
  46. package/src/sap/cux/home/BaseContainer.js +1 -1
  47. package/src/sap/cux/home/BaseContainer.js.map +1 -1
  48. package/src/sap/cux/home/BaseContainer.ts +24 -2
  49. package/src/sap/cux/home/BaseContainerRenderer-dbg.js +18 -1
  50. package/src/sap/cux/home/BaseContainerRenderer-dbg.js.map +1 -1
  51. package/src/sap/cux/home/BaseContainerRenderer.d.ts +4 -4
  52. package/src/sap/cux/home/BaseContainerRenderer.d.ts.map +1 -1
  53. package/src/sap/cux/home/BaseContainerRenderer.js +1 -1
  54. package/src/sap/cux/home/BaseContainerRenderer.js.map +1 -1
  55. package/src/sap/cux/home/BaseContainerRenderer.ts +25 -4
  56. package/src/sap/cux/home/BaseLayout-dbg.js +22 -2
  57. package/src/sap/cux/home/BaseLayout-dbg.js.map +1 -1
  58. package/src/sap/cux/home/BaseLayout.d.ts +6 -0
  59. package/src/sap/cux/home/BaseLayout.d.ts.map +1 -1
  60. package/src/sap/cux/home/BaseLayout.js +1 -1
  61. package/src/sap/cux/home/BaseLayout.js.map +1 -1
  62. package/src/sap/cux/home/BaseLayout.ts +23 -2
  63. package/src/sap/cux/home/BaseNewsItem-dbg.js +3 -3
  64. package/src/sap/cux/home/BaseNewsItem-dbg.js.map +1 -1
  65. package/src/sap/cux/home/BaseNewsItem.js +1 -1
  66. package/src/sap/cux/home/BaseNewsItem.js.map +1 -1
  67. package/src/sap/cux/home/BaseNewsItem.ts +3 -3
  68. package/src/sap/cux/home/BaseNewsPanel-dbg.js +4 -5
  69. package/src/sap/cux/home/BaseNewsPanel-dbg.js.map +1 -1
  70. package/src/sap/cux/home/BaseNewsPanel.d.ts.map +1 -1
  71. package/src/sap/cux/home/BaseNewsPanel.js +1 -1
  72. package/src/sap/cux/home/BaseNewsPanel.js.map +1 -1
  73. package/src/sap/cux/home/BaseNewsPanel.ts +5 -4
  74. package/src/sap/cux/home/BasePanel-dbg.js +1 -1
  75. package/src/sap/cux/home/BasePanel-dbg.js.map +1 -1
  76. package/src/sap/cux/home/BasePanel.js +1 -1
  77. package/src/sap/cux/home/BasePanel.js.map +1 -1
  78. package/src/sap/cux/home/BasePanel.ts +1 -1
  79. package/src/sap/cux/home/BaseSettingsDialog-dbg.js +11 -0
  80. package/src/sap/cux/home/BaseSettingsDialog-dbg.js.map +1 -1
  81. package/src/sap/cux/home/BaseSettingsDialog.d.ts.map +1 -1
  82. package/src/sap/cux/home/BaseSettingsDialog.js +1 -1
  83. package/src/sap/cux/home/BaseSettingsDialog.js.map +1 -1
  84. package/src/sap/cux/home/BaseSettingsDialog.ts +12 -0
  85. package/src/sap/cux/home/BaseSettingsPanel-dbg.js +67 -2
  86. package/src/sap/cux/home/BaseSettingsPanel-dbg.js.map +1 -1
  87. package/src/sap/cux/home/BaseSettingsPanel.d.ts +42 -0
  88. package/src/sap/cux/home/BaseSettingsPanel.d.ts.map +1 -1
  89. package/src/sap/cux/home/BaseSettingsPanel.gen.d.ts +75 -0
  90. package/src/sap/cux/home/BaseSettingsPanel.js +1 -1
  91. package/src/sap/cux/home/BaseSettingsPanel.js.map +1 -1
  92. package/src/sap/cux/home/BaseSettingsPanel.ts +70 -2
  93. package/src/sap/cux/home/CardsPanel-dbg.js +548 -168
  94. package/src/sap/cux/home/CardsPanel-dbg.js.map +1 -1
  95. package/src/sap/cux/home/CardsPanel.d.ts +121 -15
  96. package/src/sap/cux/home/CardsPanel.d.ts.map +1 -1
  97. package/src/sap/cux/home/CardsPanel.gen.d.ts +78 -0
  98. package/src/sap/cux/home/CardsPanel.js +1 -1
  99. package/src/sap/cux/home/CardsPanel.js.map +1 -1
  100. package/src/sap/cux/home/CardsPanel.ts +450 -97
  101. package/src/sap/cux/home/ContentAdditionDialog-dbg.js +353 -0
  102. package/src/sap/cux/home/ContentAdditionDialog-dbg.js.map +1 -0
  103. package/src/sap/cux/home/ContentAdditionDialog.d.ts +82 -0
  104. package/src/sap/cux/home/ContentAdditionDialog.d.ts.map +1 -0
  105. package/src/sap/cux/home/ContentAdditionDialog.js +6 -0
  106. package/src/sap/cux/home/ContentAdditionDialog.js.map +1 -0
  107. package/src/sap/cux/home/ContentAdditionDialog.ts +214 -0
  108. package/src/sap/cux/home/ErrorPanel-dbg.js +3 -3
  109. package/src/sap/cux/home/ErrorPanel-dbg.js.map +1 -1
  110. package/src/sap/cux/home/ErrorPanel.d.ts.map +1 -1
  111. package/src/sap/cux/home/ErrorPanel.js +1 -1
  112. package/src/sap/cux/home/ErrorPanel.js.map +1 -1
  113. package/src/sap/cux/home/ErrorPanel.ts +4 -2
  114. package/src/sap/cux/home/FavAppPanel-dbg.js +352 -333
  115. package/src/sap/cux/home/FavAppPanel-dbg.js.map +1 -1
  116. package/src/sap/cux/home/FavAppPanel.d.ts.map +1 -1
  117. package/src/sap/cux/home/FavAppPanel.js +1 -1
  118. package/src/sap/cux/home/FavAppPanel.js.map +1 -1
  119. package/src/sap/cux/home/FavAppPanel.ts +63 -54
  120. package/src/sap/cux/home/InsightsAdditionPanel-dbg.js +97 -0
  121. package/src/sap/cux/home/InsightsAdditionPanel-dbg.js.map +1 -0
  122. package/src/sap/cux/home/InsightsAdditionPanel.d.ts +57 -0
  123. package/src/sap/cux/home/InsightsAdditionPanel.d.ts.map +1 -0
  124. package/src/sap/cux/home/InsightsAdditionPanel.js +6 -0
  125. package/src/sap/cux/home/InsightsAdditionPanel.js.map +1 -0
  126. package/src/sap/cux/home/InsightsAdditionPanel.ts +94 -0
  127. package/src/sap/cux/home/InsightsContainer-dbg.js +22 -2
  128. package/src/sap/cux/home/InsightsContainer-dbg.js.map +1 -1
  129. package/src/sap/cux/home/InsightsContainer.d.ts +14 -0
  130. package/src/sap/cux/home/InsightsContainer.d.ts.map +1 -1
  131. package/src/sap/cux/home/InsightsContainer.js +1 -1
  132. package/src/sap/cux/home/InsightsContainer.js.map +1 -1
  133. package/src/sap/cux/home/InsightsContainer.ts +22 -1
  134. package/src/sap/cux/home/InsightsContainerGenericPlaceholder-dbg.js +401 -0
  135. package/src/sap/cux/home/InsightsContainerGenericPlaceholder-dbg.js.map +1 -0
  136. package/src/sap/cux/home/InsightsContainerGenericPlaceholder.d.ts +8 -0
  137. package/src/sap/cux/home/InsightsContainerGenericPlaceholder.d.ts.map +1 -0
  138. package/src/sap/cux/home/InsightsContainerGenericPlaceholder.js +6 -0
  139. package/src/sap/cux/home/InsightsContainerGenericPlaceholder.js.map +1 -0
  140. package/src/sap/cux/home/InsightsContainerGenericPlaceholder.ts +391 -0
  141. package/src/sap/cux/home/KeyUserLayoutSettingsPanel-dbg.js +10 -9
  142. package/src/sap/cux/home/KeyUserLayoutSettingsPanel-dbg.js.map +1 -1
  143. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.d.ts.map +1 -1
  144. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js +1 -1
  145. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js.map +1 -1
  146. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.ts +9 -8
  147. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel-dbg.js +2 -2
  148. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel-dbg.js.map +1 -1
  149. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js +1 -1
  150. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js.map +1 -1
  151. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.ts +2 -2
  152. package/src/sap/cux/home/KeyUserPagesSettingsPanel-dbg.js +6 -6
  153. package/src/sap/cux/home/KeyUserPagesSettingsPanel-dbg.js.map +1 -1
  154. package/src/sap/cux/home/KeyUserPagesSettingsPanel.js +1 -1
  155. package/src/sap/cux/home/KeyUserPagesSettingsPanel.js.map +1 -1
  156. package/src/sap/cux/home/KeyUserPagesSettingsPanel.ts +6 -6
  157. package/src/sap/cux/home/Layout-dbg.js +58 -33
  158. package/src/sap/cux/home/Layout-dbg.js.map +1 -1
  159. package/src/sap/cux/home/Layout.d.ts +13 -0
  160. package/src/sap/cux/home/Layout.d.ts.map +1 -1
  161. package/src/sap/cux/home/Layout.js +1 -1
  162. package/src/sap/cux/home/Layout.js.map +1 -1
  163. package/src/sap/cux/home/Layout.ts +48 -20
  164. package/src/sap/cux/home/LayoutSettingsPanel-dbg.js +1 -10
  165. package/src/sap/cux/home/LayoutSettingsPanel-dbg.js.map +1 -1
  166. package/src/sap/cux/home/LayoutSettingsPanel.d.ts.map +1 -1
  167. package/src/sap/cux/home/LayoutSettingsPanel.js +1 -1
  168. package/src/sap/cux/home/LayoutSettingsPanel.js.map +1 -1
  169. package/src/sap/cux/home/LayoutSettingsPanel.ts +2 -10
  170. package/src/sap/cux/home/NewsAndPagesContainer-dbg.js +35 -17
  171. package/src/sap/cux/home/NewsAndPagesContainer-dbg.js.map +1 -1
  172. package/src/sap/cux/home/NewsAndPagesContainer.d.ts +7 -0
  173. package/src/sap/cux/home/NewsAndPagesContainer.d.ts.map +1 -1
  174. package/src/sap/cux/home/NewsAndPagesContainer.js +1 -1
  175. package/src/sap/cux/home/NewsAndPagesContainer.js.map +1 -1
  176. package/src/sap/cux/home/NewsAndPagesContainer.ts +40 -16
  177. package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder-dbg.js +164 -0
  178. package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder-dbg.js.map +1 -0
  179. package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder.d.ts +8 -0
  180. package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder.d.ts.map +1 -0
  181. package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder.js +6 -0
  182. package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder.js.map +1 -0
  183. package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder.ts +154 -0
  184. package/src/sap/cux/home/NewsGroup-dbg.js +112 -79
  185. package/src/sap/cux/home/NewsGroup-dbg.js.map +1 -1
  186. package/src/sap/cux/home/NewsGroup.d.ts +1 -0
  187. package/src/sap/cux/home/NewsGroup.d.ts.map +1 -1
  188. package/src/sap/cux/home/NewsGroup.js +1 -1
  189. package/src/sap/cux/home/NewsGroup.js.map +1 -1
  190. package/src/sap/cux/home/NewsGroup.ts +136 -100
  191. package/src/sap/cux/home/NewsPanel-dbg.js +541 -173
  192. package/src/sap/cux/home/NewsPanel-dbg.js.map +1 -1
  193. package/src/sap/cux/home/NewsPanel.d.ts +156 -16
  194. package/src/sap/cux/home/NewsPanel.d.ts.map +1 -1
  195. package/src/sap/cux/home/NewsPanel.js +1 -1
  196. package/src/sap/cux/home/NewsPanel.js.map +1 -1
  197. package/src/sap/cux/home/NewsPanel.ts +452 -82
  198. package/src/sap/cux/home/NewsSettingsPanel-dbg.js +61 -20
  199. package/src/sap/cux/home/NewsSettingsPanel-dbg.js.map +1 -1
  200. package/src/sap/cux/home/NewsSettingsPanel.d.ts +14 -0
  201. package/src/sap/cux/home/NewsSettingsPanel.d.ts.map +1 -1
  202. package/src/sap/cux/home/NewsSettingsPanel.js +1 -1
  203. package/src/sap/cux/home/NewsSettingsPanel.js.map +1 -1
  204. package/src/sap/cux/home/NewsSettingsPanel.ts +75 -21
  205. package/src/sap/cux/home/NoDataContainer-dbg.js +3 -3
  206. package/src/sap/cux/home/NoDataContainer-dbg.js.map +1 -1
  207. package/src/sap/cux/home/NoDataContainer.d.ts +1 -0
  208. package/src/sap/cux/home/NoDataContainer.d.ts.map +1 -1
  209. package/src/sap/cux/home/NoDataContainer.js +1 -1
  210. package/src/sap/cux/home/NoDataContainer.js.map +1 -1
  211. package/src/sap/cux/home/NoDataContainer.ts +4 -2
  212. package/src/sap/cux/home/PagePanel-dbg.js +86 -75
  213. package/src/sap/cux/home/PagePanel-dbg.js.map +1 -1
  214. package/src/sap/cux/home/PagePanel.d.ts +25 -3
  215. package/src/sap/cux/home/PagePanel.d.ts.map +1 -1
  216. package/src/sap/cux/home/PagePanel.js +1 -1
  217. package/src/sap/cux/home/PagePanel.js.map +1 -1
  218. package/src/sap/cux/home/PagePanel.ts +91 -76
  219. package/src/sap/cux/home/PageSettingsPanel-dbg.js +16 -15
  220. package/src/sap/cux/home/PageSettingsPanel-dbg.js.map +1 -1
  221. package/src/sap/cux/home/PageSettingsPanel.d.ts.map +1 -1
  222. package/src/sap/cux/home/PageSettingsPanel.js +1 -1
  223. package/src/sap/cux/home/PageSettingsPanel.js.map +1 -1
  224. package/src/sap/cux/home/PageSettingsPanel.ts +15 -14
  225. package/src/sap/cux/home/RecentAppPanel-dbg.js +2 -2
  226. package/src/sap/cux/home/RecentAppPanel-dbg.js.map +1 -1
  227. package/src/sap/cux/home/RecentAppPanel.js +1 -1
  228. package/src/sap/cux/home/RecentAppPanel.js.map +1 -1
  229. package/src/sap/cux/home/RecentAppPanel.ts +2 -2
  230. package/src/sap/cux/home/RecommendedAppPanel-dbg.js +4 -3
  231. package/src/sap/cux/home/RecommendedAppPanel-dbg.js.map +1 -1
  232. package/src/sap/cux/home/RecommendedAppPanel.d.ts.map +1 -1
  233. package/src/sap/cux/home/RecommendedAppPanel.js +1 -1
  234. package/src/sap/cux/home/RecommendedAppPanel.js.map +1 -1
  235. package/src/sap/cux/home/RecommendedAppPanel.ts +4 -2
  236. package/src/sap/cux/home/SettingsDialog-dbg.js +4 -3
  237. package/src/sap/cux/home/SettingsDialog-dbg.js.map +1 -1
  238. package/src/sap/cux/home/SettingsDialog.d.ts.map +1 -1
  239. package/src/sap/cux/home/SettingsDialog.js +1 -1
  240. package/src/sap/cux/home/SettingsDialog.js.map +1 -1
  241. package/src/sap/cux/home/SettingsDialog.ts +4 -2
  242. package/src/sap/cux/home/TaskPanel-dbg.js +16 -12
  243. package/src/sap/cux/home/TaskPanel-dbg.js.map +1 -1
  244. package/src/sap/cux/home/TaskPanel.d.ts +1 -2
  245. package/src/sap/cux/home/TaskPanel.d.ts.map +1 -1
  246. package/src/sap/cux/home/TaskPanel.js +1 -1
  247. package/src/sap/cux/home/TaskPanel.js.map +1 -1
  248. package/src/sap/cux/home/TaskPanel.ts +19 -12
  249. package/src/sap/cux/home/TilesPanel-dbg.js +9 -8
  250. package/src/sap/cux/home/TilesPanel-dbg.js.map +1 -1
  251. package/src/sap/cux/home/TilesPanel.d.ts.map +1 -1
  252. package/src/sap/cux/home/TilesPanel.js +1 -1
  253. package/src/sap/cux/home/TilesPanel.js.map +1 -1
  254. package/src/sap/cux/home/TilesPanel.ts +15 -8
  255. package/src/sap/cux/home/ToDoPanel-dbg.js +34 -25
  256. package/src/sap/cux/home/ToDoPanel-dbg.js.map +1 -1
  257. package/src/sap/cux/home/ToDoPanel.d.ts +0 -7
  258. package/src/sap/cux/home/ToDoPanel.d.ts.map +1 -1
  259. package/src/sap/cux/home/ToDoPanel.js +1 -1
  260. package/src/sap/cux/home/ToDoPanel.js.map +1 -1
  261. package/src/sap/cux/home/ToDoPanel.ts +27 -29
  262. package/src/sap/cux/home/ToDosContainer-dbg.js +27 -18
  263. package/src/sap/cux/home/ToDosContainer-dbg.js.map +1 -1
  264. package/src/sap/cux/home/ToDosContainer.d.ts +7 -0
  265. package/src/sap/cux/home/ToDosContainer.d.ts.map +1 -1
  266. package/src/sap/cux/home/ToDosContainer.js +1 -1
  267. package/src/sap/cux/home/ToDosContainer.js.map +1 -1
  268. package/src/sap/cux/home/ToDosContainer.ts +10 -0
  269. package/src/sap/cux/home/ToDosContainerGenericPlaceholder-dbg.js +84 -0
  270. package/src/sap/cux/home/ToDosContainerGenericPlaceholder-dbg.js.map +1 -0
  271. package/src/sap/cux/home/ToDosContainerGenericPlaceholder.d.ts +8 -0
  272. package/src/sap/cux/home/ToDosContainerGenericPlaceholder.d.ts.map +1 -0
  273. package/src/sap/cux/home/ToDosContainerGenericPlaceholder.js +6 -0
  274. package/src/sap/cux/home/ToDosContainerGenericPlaceholder.js.map +1 -0
  275. package/src/sap/cux/home/ToDosContainerGenericPlaceholder.ts +74 -0
  276. package/src/sap/cux/home/i18n/messagebundle.properties +63 -1
  277. package/src/sap/cux/home/i18n/messagebundle_ar.properties +42 -1
  278. package/src/sap/cux/home/i18n/messagebundle_bg.properties +43 -1
  279. package/src/sap/cux/home/i18n/messagebundle_ca.properties +43 -1
  280. package/src/sap/cux/home/i18n/messagebundle_cnr.properties +43 -1
  281. package/src/sap/cux/home/i18n/messagebundle_cs.properties +43 -1
  282. package/src/sap/cux/home/i18n/messagebundle_cy.properties +43 -1
  283. package/src/sap/cux/home/i18n/messagebundle_da.properties +43 -1
  284. package/src/sap/cux/home/i18n/messagebundle_de.properties +43 -1
  285. package/src/sap/cux/home/i18n/messagebundle_el.properties +44 -2
  286. package/src/sap/cux/home/i18n/messagebundle_en.properties +43 -246
  287. package/src/sap/cux/home/i18n/messagebundle_en_GB.properties +43 -1
  288. package/src/sap/cux/home/i18n/messagebundle_en_US_sappsd.properties +43 -1
  289. package/src/sap/cux/home/i18n/messagebundle_en_US_saprigi.properties +31 -1
  290. package/src/sap/cux/home/i18n/messagebundle_en_US_saptrc.properties +43 -1
  291. package/src/sap/cux/home/i18n/messagebundle_es.properties +43 -1
  292. package/src/sap/cux/home/i18n/messagebundle_es_MX.properties +43 -1
  293. package/src/sap/cux/home/i18n/messagebundle_et.properties +43 -1
  294. package/src/sap/cux/home/i18n/messagebundle_fi.properties +43 -1
  295. package/src/sap/cux/home/i18n/messagebundle_fr.properties +43 -1
  296. package/src/sap/cux/home/i18n/messagebundle_fr_CA.properties +42 -1
  297. package/src/sap/cux/home/i18n/messagebundle_hi.properties +43 -1
  298. package/src/sap/cux/home/i18n/messagebundle_hr.properties +42 -1
  299. package/src/sap/cux/home/i18n/messagebundle_hu.properties +43 -1
  300. package/src/sap/cux/home/i18n/messagebundle_id.properties +47 -5
  301. package/src/sap/cux/home/i18n/messagebundle_it.properties +43 -1
  302. package/src/sap/cux/home/i18n/messagebundle_iw.properties +43 -1
  303. package/src/sap/cux/home/i18n/messagebundle_ja.properties +43 -1
  304. package/src/sap/cux/home/i18n/messagebundle_kk.properties +43 -1
  305. package/src/sap/cux/home/i18n/messagebundle_ko.properties +43 -1
  306. package/src/sap/cux/home/i18n/messagebundle_lt.properties +42 -1
  307. package/src/sap/cux/home/i18n/messagebundle_lv.properties +43 -1
  308. package/src/sap/cux/home/i18n/messagebundle_mk.properties +43 -1
  309. package/src/sap/cux/home/i18n/messagebundle_ms.properties +43 -1
  310. package/src/sap/cux/home/i18n/messagebundle_nl.properties +43 -1
  311. package/src/sap/cux/home/i18n/messagebundle_no.properties +44 -2
  312. package/src/sap/cux/home/i18n/messagebundle_pl.properties +44 -2
  313. package/src/sap/cux/home/i18n/messagebundle_pt.properties +43 -1
  314. package/src/sap/cux/home/i18n/messagebundle_pt_PT.properties +43 -1
  315. package/src/sap/cux/home/i18n/messagebundle_ro.properties +43 -1
  316. package/src/sap/cux/home/i18n/messagebundle_ru.properties +43 -1
  317. package/src/sap/cux/home/i18n/messagebundle_sh.properties +43 -1
  318. package/src/sap/cux/home/i18n/messagebundle_sk.properties +42 -1
  319. package/src/sap/cux/home/i18n/messagebundle_sl.properties +44 -2
  320. package/src/sap/cux/home/i18n/messagebundle_sr.properties +43 -1
  321. package/src/sap/cux/home/i18n/messagebundle_sv.properties +43 -1
  322. package/src/sap/cux/home/i18n/messagebundle_th.properties +43 -2
  323. package/src/sap/cux/home/i18n/messagebundle_tr.properties +42 -1
  324. package/src/sap/cux/home/i18n/messagebundle_uk.properties +43 -1
  325. package/src/sap/cux/home/i18n/messagebundle_vi.properties +42 -1
  326. package/src/sap/cux/home/i18n/messagebundle_zh_CN.properties +43 -1
  327. package/src/sap/cux/home/i18n/messagebundle_zh_TW.properties +42 -1
  328. package/src/sap/cux/home/interface/AppsInterface-dbg.js.map +1 -1
  329. package/src/sap/cux/home/interface/AppsInterface.d.ts +5 -3
  330. package/src/sap/cux/home/interface/AppsInterface.d.ts.map +1 -1
  331. package/src/sap/cux/home/interface/AppsInterface.ts +5 -3
  332. package/src/sap/cux/home/interface/CardsInterface-dbg.js +32 -0
  333. package/src/sap/cux/home/interface/CardsInterface-dbg.js.map +1 -1
  334. package/src/sap/cux/home/interface/CardsInterface.d.ts +320 -55
  335. package/src/sap/cux/home/interface/CardsInterface.d.ts.map +1 -1
  336. package/src/sap/cux/home/interface/CardsInterface.js +5 -1
  337. package/src/sap/cux/home/interface/CardsInterface.js.map +1 -1
  338. package/src/sap/cux/home/interface/CardsInterface.ts +359 -55
  339. package/src/sap/cux/home/library-preload.js +88 -45
  340. package/src/sap/cux/home/library-preload.js.map +1 -1
  341. package/src/sap/cux/home/manifest.json +4 -4
  342. package/src/sap/cux/home/themes/base/AppsContainer.less +12 -0
  343. package/src/sap/cux/home/themes/base/BaseLayout.less +1 -0
  344. package/src/sap/cux/home/themes/base/ContentAdditionDialog.less +69 -0
  345. package/src/sap/cux/home/themes/base/NewsAndPagesContainer.less +37 -12
  346. package/src/sap/cux/home/themes/base/PlaceHolder.less +1374 -0
  347. package/src/sap/cux/home/themes/base/ToDosContainer.less +1 -1
  348. package/src/sap/cux/home/themes/base/library-RTL.css +2 -2
  349. package/src/sap/cux/home/themes/base/library-parameters.json +1 -1
  350. package/src/sap/cux/home/themes/base/library.css +2 -2
  351. package/src/sap/cux/home/themes/base/library.source.less +2 -0
  352. package/src/sap/cux/home/themes/sap_fiori_3/library-RTL.css +2 -2
  353. package/src/sap/cux/home/themes/sap_fiori_3/library-parameters.json +1 -1
  354. package/src/sap/cux/home/themes/sap_fiori_3/library.css +2 -2
  355. package/src/sap/cux/home/themes/sap_fiori_3_dark/library-RTL.css +2 -2
  356. package/src/sap/cux/home/themes/sap_fiori_3_dark/library-parameters.json +1 -1
  357. package/src/sap/cux/home/themes/sap_fiori_3_dark/library.css +2 -2
  358. package/src/sap/cux/home/themes/sap_fiori_3_hcb/AppsContainer.less +1 -0
  359. package/src/sap/cux/home/themes/sap_fiori_3_hcb/library-RTL.css +2 -2
  360. package/src/sap/cux/home/themes/sap_fiori_3_hcb/library-parameters.json +1 -1
  361. package/src/sap/cux/home/themes/sap_fiori_3_hcb/library.css +2 -2
  362. package/src/sap/cux/home/themes/sap_fiori_3_hcb/library.source.less +2 -0
  363. package/src/sap/cux/home/themes/sap_fiori_3_hcw/AppsContainer.less +1 -0
  364. package/src/sap/cux/home/themes/sap_fiori_3_hcw/library-RTL.css +2 -2
  365. package/src/sap/cux/home/themes/sap_fiori_3_hcw/library-parameters.json +1 -1
  366. package/src/sap/cux/home/themes/sap_fiori_3_hcw/library.css +2 -2
  367. package/src/sap/cux/home/themes/sap_fiori_3_hcw/library.source.less +2 -0
  368. package/src/sap/cux/home/themes/sap_horizon/library-RTL.css +2 -2
  369. package/src/sap/cux/home/themes/sap_horizon/library-parameters.json +1 -1
  370. package/src/sap/cux/home/themes/sap_horizon/library.css +2 -2
  371. package/src/sap/cux/home/themes/sap_horizon_dark/library-RTL.css +2 -2
  372. package/src/sap/cux/home/themes/sap_horizon_dark/library-parameters.json +1 -1
  373. package/src/sap/cux/home/themes/sap_horizon_dark/library.css +2 -2
  374. package/src/sap/cux/home/themes/sap_horizon_hcb/AppsContainer.less +1 -0
  375. package/src/sap/cux/home/themes/sap_horizon_hcb/library-RTL.css +2 -2
  376. package/src/sap/cux/home/themes/sap_horizon_hcb/library-parameters.json +1 -1
  377. package/src/sap/cux/home/themes/sap_horizon_hcb/library.css +2 -2
  378. package/src/sap/cux/home/themes/sap_horizon_hcb/library.source.less +2 -0
  379. package/src/sap/cux/home/themes/sap_horizon_hcw/AppsContainer.less +1 -0
  380. package/src/sap/cux/home/themes/sap_horizon_hcw/library-RTL.css +2 -2
  381. package/src/sap/cux/home/themes/sap_horizon_hcw/library-parameters.json +1 -1
  382. package/src/sap/cux/home/themes/sap_horizon_hcw/library.css +2 -2
  383. package/src/sap/cux/home/themes/sap_horizon_hcw/library.source.less +2 -0
  384. package/src/sap/cux/home/utils/AppManager-dbg.js +405 -440
  385. package/src/sap/cux/home/utils/AppManager-dbg.js.map +1 -1
  386. package/src/sap/cux/home/utils/AppManager.d.ts +88 -124
  387. package/src/sap/cux/home/utils/AppManager.d.ts.map +1 -1
  388. package/src/sap/cux/home/utils/AppManager.js +1 -1
  389. package/src/sap/cux/home/utils/AppManager.js.map +1 -1
  390. package/src/sap/cux/home/utils/AppManager.ts +351 -542
  391. package/src/sap/cux/home/utils/Constants-dbg.js +25 -1
  392. package/src/sap/cux/home/utils/Constants-dbg.js.map +1 -1
  393. package/src/sap/cux/home/utils/Constants.d.ts +17 -0
  394. package/src/sap/cux/home/utils/Constants.d.ts.map +1 -1
  395. package/src/sap/cux/home/utils/Constants.js +1 -1
  396. package/src/sap/cux/home/utils/Constants.js.map +1 -1
  397. package/src/sap/cux/home/utils/Constants.ts +20 -1
  398. package/src/sap/cux/home/utils/Device-dbg.js +49 -1
  399. package/src/sap/cux/home/utils/Device-dbg.js.map +1 -1
  400. package/src/sap/cux/home/utils/Device.d.ts +13 -0
  401. package/src/sap/cux/home/utils/Device.d.ts.map +1 -1
  402. package/src/sap/cux/home/utils/Device.js +1 -1
  403. package/src/sap/cux/home/utils/Device.js.map +1 -1
  404. package/src/sap/cux/home/utils/Device.ts +58 -1
  405. package/src/sap/cux/home/utils/InsightsUtils-dbg.js +25 -0
  406. package/src/sap/cux/home/utils/InsightsUtils-dbg.js.map +1 -1
  407. package/src/sap/cux/home/utils/InsightsUtils.d.ts +14 -0
  408. package/src/sap/cux/home/utils/InsightsUtils.d.ts.map +1 -1
  409. package/src/sap/cux/home/utils/InsightsUtils.js +1 -1
  410. package/src/sap/cux/home/utils/InsightsUtils.js.map +1 -1
  411. package/src/sap/cux/home/utils/InsightsUtils.ts +25 -0
  412. package/src/sap/cux/home/utils/PerformanceUtils-dbg.js +5 -2
  413. package/src/sap/cux/home/utils/PerformanceUtils-dbg.js.map +1 -1
  414. package/src/sap/cux/home/utils/PerformanceUtils.d.ts +1 -0
  415. package/src/sap/cux/home/utils/PerformanceUtils.d.ts.map +1 -1
  416. package/src/sap/cux/home/utils/PerformanceUtils.js +1 -1
  417. package/src/sap/cux/home/utils/PerformanceUtils.js.map +1 -1
  418. package/src/sap/cux/home/utils/PerformanceUtils.ts +5 -1
  419. package/src/sap/cux/home/utils/RecommendedCardUtil-dbg.js +1599 -0
  420. package/src/sap/cux/home/utils/RecommendedCardUtil-dbg.js.map +1 -0
  421. package/src/sap/cux/home/utils/RecommendedCardUtil.d.ts +534 -0
  422. package/src/sap/cux/home/utils/RecommendedCardUtil.d.ts.map +1 -0
  423. package/src/sap/cux/home/utils/RecommendedCardUtil.js +6 -0
  424. package/src/sap/cux/home/utils/RecommendedCardUtil.js.map +1 -0
  425. package/src/sap/cux/home/utils/RecommendedCardUtil.ts +1945 -0
  426. package/src/sap/cux/home/utils/SituationUtils-dbg.js +1 -1
  427. package/src/sap/cux/home/utils/SituationUtils-dbg.js.map +1 -1
  428. package/src/sap/cux/home/utils/SituationUtils.js +1 -1
  429. package/src/sap/cux/home/utils/SituationUtils.js.map +1 -1
  430. package/src/sap/cux/home/utils/SituationUtils.ts +1 -1
  431. package/src/sap/cux/home/utils/UshellPersonalizer-dbg.js.map +1 -1
  432. package/src/sap/cux/home/utils/UshellPersonalizer.d.ts +4 -1
  433. package/src/sap/cux/home/utils/UshellPersonalizer.d.ts.map +1 -1
  434. package/src/sap/cux/home/utils/UshellPersonalizer.js.map +1 -1
  435. package/src/sap/cux/home/utils/UshellPersonalizer.ts +2 -1
  436. package/src/sap/cux/home/utils/fragment/appsAdditionContent.fragment.xml +126 -0
@@ -36,10 +36,12 @@ sap.ui.define(["sap/ui/core/theming/Parameters"], function (Parameters) {
36
36
  const RECOMMENDATION_SRVC_URL = INSIGHTS_READ_SRVC_URL + "RecommendedApps";
37
37
  const FEATURE_TOGGLES = {
38
38
  TASK_ACTIONS: "/UI2/S4HOME_FEATURE_TOGGLE",
39
- AI_GENERATED_CARD: "AIU_SMART_PERSONALIZATION"
39
+ AI_GENERATED_CARD: "AIU_SMART_PERSONALIZATION",
40
+ AI_SMART_APPFINDER: "AIU_SMART_APPFINDER"
40
41
  };
41
42
  const FEATURE_TOGGLE_SRVC_URL = INSIGHTS_READ_SRVC_URL + "FeatureToggle";
42
43
  const REPO_BASE_URL = BASE_URL + "insights_cards_repo_srv/0001/";
44
+ const DEFAULT_NEWS_URL = "/sap/opu/odata4/sap/sui_flp_aps_ui_usernews/srvd_a2x/sap/sui_flp_aps_ui_usernews/0001/NewsGroup?$expand=_group_to_image,_group_to_article&$format=json";
43
45
  var SETTINGS_PANELS_KEYS = /*#__PURE__*/function (SETTINGS_PANELS_KEYS) {
44
46
  SETTINGS_PANELS_KEYS["LAYOUT"] = "LAYOUT";
45
47
  SETTINGS_PANELS_KEYS["NEWS"] = "NEWS";
@@ -56,6 +58,22 @@ sap.ui.define(["sap/ui/core/theming/Parameters"], function (Parameters) {
56
58
  KEYUSER_SETTINGS_PANELS_KEYS["PAGES"] = "KEYUSER_PAGES";
57
59
  return KEYUSER_SETTINGS_PANELS_KEYS;
58
60
  }(KEYUSER_SETTINGS_PANELS_KEYS || {});
61
+ var CONTENT_ADDITION_PANEL_TYPES = /*#__PURE__*/function (CONTENT_ADDITION_PANEL_TYPES) {
62
+ CONTENT_ADDITION_PANEL_TYPES["AI_APP_FINDER"] = "AI_APP_FINDER";
63
+ CONTENT_ADDITION_PANEL_TYPES["AI_INSIGHTS_CARDS"] = "AI_INSIGHTS_CARDS";
64
+ return CONTENT_ADDITION_PANEL_TYPES;
65
+ }(CONTENT_ADDITION_PANEL_TYPES || {});
66
+ const TABLE_TYPES = {
67
+ GRID: "GridTable",
68
+ TREE: "TreeTable",
69
+ ANALYTICAL: "AnalyticalTable",
70
+ RESPONSIVE: "ResponsiveTable",
71
+ STANDARD_LIST: "StandardList",
72
+ OBJECT_LIST: "ObjectList"
73
+ };
74
+ const COLUMN_LENGTH = 3;
75
+ const AI_APP_FINDER_BASE_URL = "/sap/opu/odata4/sap/aiu_ui_prompt/srvd/sap/aiu_ui_prompt/0001/";
76
+ const AI_APP_FINDER_API = AI_APP_FINDER_BASE_URL + "SmartAppFinder/SAP__self.ExecuteAppFinderFromUserInput";
59
77
  var __exports = {
60
78
  __esModule: true
61
79
  };
@@ -77,8 +95,14 @@ sap.ui.define(["sap/ui/core/theming/Parameters"], function (Parameters) {
77
95
  __exports.FEATURE_TOGGLES = FEATURE_TOGGLES;
78
96
  __exports.FEATURE_TOGGLE_SRVC_URL = FEATURE_TOGGLE_SRVC_URL;
79
97
  __exports.REPO_BASE_URL = REPO_BASE_URL;
98
+ __exports.DEFAULT_NEWS_URL = DEFAULT_NEWS_URL;
80
99
  __exports.SETTINGS_PANELS_KEYS = SETTINGS_PANELS_KEYS;
81
100
  __exports.KEYUSER_SETTINGS_PANELS_KEYS = KEYUSER_SETTINGS_PANELS_KEYS;
101
+ __exports.CONTENT_ADDITION_PANEL_TYPES = CONTENT_ADDITION_PANEL_TYPES;
102
+ __exports.TABLE_TYPES = TABLE_TYPES;
103
+ __exports.COLUMN_LENGTH = COLUMN_LENGTH;
104
+ __exports.AI_APP_FINDER_BASE_URL = AI_APP_FINDER_BASE_URL;
105
+ __exports.AI_APP_FINDER_API = AI_APP_FINDER_API;
82
106
  return __exports;
83
107
  });
84
108
  //# sourceMappingURL=Constants-dbg.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Constants-dbg.js","names":["sap","ui","define","Parameters","fnFetchLegendColor","sLegendName","key","value","get","name","assigned","BASE_URL","INSIGHTS_READ_SRVC_URL","MYHOME_PAGE_ID","MYAPPS_SECTION_ID","FALLBACK_ICON","DEFAULT_APP_ICON","MYINSIGHT_SECTION_ID","MYHOME_SPACE_ID","DEFAULT_BG_COLOR","PAGE_SELECTION_LIMIT","LEGEND_COLORS","map","END_USER_COLORS","AppTypes","FAVORITE","RECENT","FREQUENT","PLACEHOLDER_ITEMS_COUNT","RECOMMENDED_CARD_LIMIT","RECOMMENDATION_SRVC_URL","FEATURE_TOGGLES","TASK_ACTIONS","AI_GENERATED_CARD","FEATURE_TOGGLE_SRVC_URL","REPO_BASE_URL","SETTINGS_PANELS_KEYS","KEYUSER_SETTINGS_PANELS_KEYS","__exports","__esModule"],"sources":["Constants.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nimport Parameters from \"sap/ui/core/theming/Parameters\";\n\nexport const fnFetchLegendColor = (sLegendName: string) => {\n\treturn {\n\t\tkey: sLegendName,\n\t\tvalue: Parameters.get({\n\t\t\tname: sLegendName\n\t\t}),\n\t\tassigned: false\n\t};\n};\n\nconst BASE_URL = \"/sap/opu/odata4/ui2/insights_srv/srvd/ui2/\";\nconst INSIGHTS_READ_SRVC_URL = BASE_URL + \"insights_read_srv/0001/\";\n\nexport const MYHOME_PAGE_ID: string = \"SAP_BASIS_PG_UI_MYHOME\";\nexport const MYAPPS_SECTION_ID: string = \"3WO90XZ1DX1AS32M7ZM9NBXEF\";\nexport const FALLBACK_ICON: string = \"sap-icon://document\";\nexport const DEFAULT_APP_ICON: string = \"sap-icon://product\";\nexport const MYINSIGHT_SECTION_ID: string = \"AZHJGRIT78TG7Y65RF6EPFJ9U\";\nexport const MYHOME_SPACE_ID: string = \"SAP_BASIS_SP_UI_MYHOME\";\nexport const DEFAULT_BG_COLOR = () => fnFetchLegendColor(\"sapLegendColor9\");\n\nexport const PAGE_SELECTION_LIMIT = 8;\nexport const LEGEND_COLORS = () =>\n\t[\n\t\t\"sapLegendColor6\",\n\t\t\"sapLegendColor3\",\n\t\t\"sapLegendColor1\",\n\t\t\"sapLegendColor10\",\n\t\t\"sapLegendColor12\",\n\t\t\"sapLegendColor7\",\n\t\t\"sapLegendColor5\",\n\t\t\"sapLegendColor8\",\n\t\t\"sapLegendColor18\",\n\t\t\"sapLegendColor9\"\n\t].map(fnFetchLegendColor);\nexport const END_USER_COLORS = () =>\n\t[\n\t\t\"sapLegendColor19\",\n\t\t\"sapLegendColor13\",\n\t\t\"sapLegendColor11\",\n\t\t\"sapLegendColor20\",\n\t\t\"sapLegendColor2\",\n\t\t\"sapLegendColor17\",\n\t\t\"sapLegendColor15\",\n\t\t\"sapLegendColor14\",\n\t\t\"sapLegendColor16\",\n\t\t\"sapLegendColor4\"\n\t].map(fnFetchLegendColor);\nexport const AppTypes = {\n\tFAVORITE: \"FAVORITE\",\n\tRECENT: \"RECENT\",\n\tFREQUENT: \"FREQUENT\"\n};\nexport const PLACEHOLDER_ITEMS_COUNT = 5;\nexport const RECOMMENDED_CARD_LIMIT = 4;\nexport const RECOMMENDATION_SRVC_URL = INSIGHTS_READ_SRVC_URL + \"RecommendedApps\";\nexport const FEATURE_TOGGLES = {\n\tTASK_ACTIONS: \"/UI2/S4HOME_FEATURE_TOGGLE\",\n\tAI_GENERATED_CARD: \"AIU_SMART_PERSONALIZATION\"\n};\nexport const FEATURE_TOGGLE_SRVC_URL = INSIGHTS_READ_SRVC_URL + \"FeatureToggle\";\nexport const REPO_BASE_URL = BASE_URL + \"insights_cards_repo_srv/0001/\";\nexport enum SETTINGS_PANELS_KEYS {\n\tLAYOUT = \"LAYOUT\",\n\tNEWS = \"NEWS\",\n\tPAGES = \"PAGES\",\n\tINSIGHTS_TILES = \"INSIGHTS_TILES\",\n\tINSIGHTS_CARDS = \"INSIGHTS_CARDS\",\n\tADVANCED = \"ADVANCED\"\n}\nexport enum KEYUSER_SETTINGS_PANELS_KEYS {\n\tLAYOUT = \"KEYUSER_LAYOUT\",\n\tNEWS_PAGES = \"KEYUSER_NEWS_PAGES\",\n\tNEWS = \"KEYUSER_NEWS\",\n\tPAGES = \"KEYUSER_PAGES\"\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,+CAAAC,UAAA;EAAA;;EAMO,MAAMC,kBAAkB,GAAIC,WAAmB,IAAK;IAC1D,OAAO;MACNC,GAAG,EAAED,WAAW;MAChBE,KAAK,EAAEJ,UAAU,CAACK,GAAG,CAAC;QACrBC,IAAI,EAAEJ;MACP,CAAC,CAAC;MACFK,QAAQ,EAAE;IACX,CAAC;EACF,CAAC;EAED,MAAMC,QAAQ,GAAG,4CAA4C;EAC7D,MAAMC,sBAAsB,GAAGD,QAAQ,GAAG,yBAAyB;EAE5D,MAAME,cAAsB,GAAG,wBAAwB;EACvD,MAAMC,iBAAyB,GAAG,2BAA2B;EAC7D,MAAMC,aAAqB,GAAG,qBAAqB;EACnD,MAAMC,gBAAwB,GAAG,oBAAoB;EACrD,MAAMC,oBAA4B,GAAG,2BAA2B;EAChE,MAAMC,eAAuB,GAAG,wBAAwB;EACxD,MAAMC,gBAAgB,GAAGA,CAAA,KAAMf,kBAAkB,CAAC,iBAAiB,CAAC;EAEpE,MAAMgB,oBAAoB,GAAG,CAAC;EAC9B,MAAMC,aAAa,GAAGA,CAAA,KAC5B,CACC,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAk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AAAyB,SAAA,CAAAxB,iBAAA,GAAAA,iBAAA;EAAAwB,SAAA,CAAAvB,aAAA,GAAAA,aAAA;EAAAuB,SAAA,CAAAtB,gBAAA,GAAAA,gBAAA;EAAAsB,SAAA,CAAArB,oBAAA,GAAAA,oBAAA;EAAAqB,SAAA,CAAApB,eAAA,GAAAA,eAAA;EAAAoB,SAAA,CAAAnB,gBAAA,GAAAA,gBAAA;EAAAmB,SAAA,CAAAlB,oBAAA,GAAAA,oBAAA;EAAAkB,SAAA,CAAAjB,aAAA,GAAAA,aAAA;EAAAiB,SAAA,CAAAf,eAAA,GAAAA,eAAA;EAAAe,SAAA,CAAAd,QAAA,GAAAA,QAAA;EAAAc,SAAA,CAAAV,uBAAA,GAAAA,uBAAA;EAAAU,SAAA,CAAAT,sBAAA,GAAAA,sBAAA;EAAAS,SAAA,CAAAR,uBAAA,GAAAA,uBAAA;EAAAQ,SAAA,CAAAP,eAAA,GAAAA,eAAA;EAAAO,SAAA,CAAAJ,uBAAA,GAAAA,uBAAA;EAAAI,SAAA,CAAAH,aAAA,GAAAA,aAAA;EAAAG,SAAA,CAAAF,oBAAA,GAAAA,oBAAA;EAAAE,SAAA,CAAAD,4BAAA,GAAAA,4BAAA;EAAA,OAAAC,SAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"file":"Constants-dbg.js","names":["sap","ui","define","Parameters","fnFetchLegendColor","sLegendName","key","value","get","name","assigned","BASE_URL","INSIGHTS_READ_SRVC_URL","MYHOME_PAGE_ID","MYAPPS_SECTION_ID","FALLBACK_ICON","DEFAULT_APP_ICON","MYINSIGHT_SECTION_ID","MYHOME_SPACE_ID","DEFAULT_BG_COLOR","PAGE_SELECTION_LIMIT","LEGEND_COLORS","map","END_USER_COLORS","AppTypes","FAVORITE","RECENT","FREQUENT","PLACEHOLDER_ITEMS_COUNT","RECOMMENDED_CARD_LIMIT","RECOMMENDATION_SRVC_URL","FEATURE_TOGGLES","TASK_ACTIONS","AI_GENERATED_CARD","AI_SMART_APPFINDER","FEATURE_TOGGLE_SRVC_URL","REPO_BASE_URL","DEFAULT_NEWS_URL","SETTINGS_PANELS_KEYS","KEYUSER_SETTINGS_PANELS_KEYS","CONTENT_ADDITION_PANEL_TYPES","TABLE_TYPES","GRID","TREE","ANALYTICAL","RESPONSIVE","STANDARD_LIST","OBJECT_LIST","COLUMN_LENGTH","AI_APP_FINDER_BASE_URL","AI_APP_FINDER_API","__exports","__esModule"],"sources":["Constants.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nimport Parameters from \"sap/ui/core/theming/Parameters\";\n\nexport const fnFetchLegendColor = (sLegendName: string) => {\n\treturn {\n\t\tkey: sLegendName,\n\t\tvalue: Parameters.get({\n\t\t\tname: sLegendName\n\t\t}),\n\t\tassigned: false\n\t};\n};\n\nconst BASE_URL = \"/sap/opu/odata4/ui2/insights_srv/srvd/ui2/\";\nconst INSIGHTS_READ_SRVC_URL = BASE_URL + \"insights_read_srv/0001/\";\n\nexport const MYHOME_PAGE_ID: string = \"SAP_BASIS_PG_UI_MYHOME\";\nexport const MYAPPS_SECTION_ID: string = \"3WO90XZ1DX1AS32M7ZM9NBXEF\";\nexport const FALLBACK_ICON: string = \"sap-icon://document\";\nexport const DEFAULT_APP_ICON: string = \"sap-icon://product\";\nexport const MYINSIGHT_SECTION_ID: string = \"AZHJGRIT78TG7Y65RF6EPFJ9U\";\nexport const MYHOME_SPACE_ID: string = \"SAP_BASIS_SP_UI_MYHOME\";\nexport const DEFAULT_BG_COLOR = () => fnFetchLegendColor(\"sapLegendColor9\");\n\nexport const PAGE_SELECTION_LIMIT = 8;\nexport const LEGEND_COLORS = () =>\n\t[\n\t\t\"sapLegendColor6\",\n\t\t\"sapLegendColor3\",\n\t\t\"sapLegendColor1\",\n\t\t\"sapLegendColor10\",\n\t\t\"sapLegendColor12\",\n\t\t\"sapLegendColor7\",\n\t\t\"sapLegendColor5\",\n\t\t\"sapLegendColor8\",\n\t\t\"sapLegendColor18\",\n\t\t\"sapLegendColor9\"\n\t].map(fnFetchLegendColor);\nexport const END_USER_COLORS = () =>\n\t[\n\t\t\"sapLegendColor19\",\n\t\t\"sapLegendColor13\",\n\t\t\"sapLegendColor11\",\n\t\t\"sapLegendColor20\",\n\t\t\"sapLegendColor2\",\n\t\t\"sapLegendColor17\",\n\t\t\"sapLegendColor15\",\n\t\t\"sapLegendColor14\",\n\t\t\"sapLegendColor16\",\n\t\t\"sapLegendColor4\"\n\t].map(fnFetchLegendColor);\nexport const AppTypes = {\n\tFAVORITE: \"FAVORITE\",\n\tRECENT: \"RECENT\",\n\tFREQUENT: \"FREQUENT\"\n};\nexport const PLACEHOLDER_ITEMS_COUNT = 5;\nexport const RECOMMENDED_CARD_LIMIT = 4;\nexport const RECOMMENDATION_SRVC_URL = INSIGHTS_READ_SRVC_URL + \"RecommendedApps\";\nexport const FEATURE_TOGGLES = {\n\tTASK_ACTIONS: \"/UI2/S4HOME_FEATURE_TOGGLE\",\n\tAI_GENERATED_CARD: \"AIU_SMART_PERSONALIZATION\",\n\tAI_SMART_APPFINDER: \"AIU_SMART_APPFINDER\"\n};\nexport const FEATURE_TOGGLE_SRVC_URL = INSIGHTS_READ_SRVC_URL + \"FeatureToggle\";\nexport const REPO_BASE_URL = BASE_URL + \"insights_cards_repo_srv/0001/\";\nexport const DEFAULT_NEWS_URL =\n\t\"/sap/opu/odata4/sap/sui_flp_aps_ui_usernews/srvd_a2x/sap/sui_flp_aps_ui_usernews/0001/NewsGroup?$expand=_group_to_image,_group_to_article&$format=json\";\nexport enum SETTINGS_PANELS_KEYS {\n\tLAYOUT = \"LAYOUT\",\n\tNEWS = \"NEWS\",\n\tPAGES = \"PAGES\",\n\tINSIGHTS_TILES = \"INSIGHTS_TILES\",\n\tINSIGHTS_CARDS = \"INSIGHTS_CARDS\",\n\tADVANCED = \"ADVANCED\"\n}\nexport enum KEYUSER_SETTINGS_PANELS_KEYS {\n\tLAYOUT = \"KEYUSER_LAYOUT\",\n\tNEWS_PAGES = \"KEYUSER_NEWS_PAGES\",\n\tNEWS = \"KEYUSER_NEWS\",\n\tPAGES = \"KEYUSER_PAGES\"\n}\nexport enum CONTENT_ADDITION_PANEL_TYPES {\n\tAI_APP_FINDER = \"AI_APP_FINDER\",\n\tAI_INSIGHTS_CARDS = \"AI_INSIGHTS_CARDS\"\n}\nexport const TABLE_TYPES = {\n\tGRID: \"GridTable\",\n\tTREE: \"TreeTable\",\n\tANALYTICAL: \"AnalyticalTable\",\n\tRESPONSIVE: \"ResponsiveTable\",\n\tSTANDARD_LIST: \"StandardList\",\n\tOBJECT_LIST: \"ObjectList\"\n};\nexport const COLUMN_LENGTH = 3;\n\nexport const AI_APP_FINDER_BASE_URL = \"/sap/opu/odata4/sap/aiu_ui_prompt/srvd/sap/aiu_ui_prompt/0001/\";\nexport const AI_APP_FINDER_API = AI_APP_FINDER_BASE_URL + \"SmartAppFinder/SAP__self.ExecuteAppFinderFromUserInput\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,+CAAAC,UAAA;EAAA;;EAMO,MAAMC,kBAAkB,GAAIC,WAAmB,IAAK;IAC1D,OAAO;MACNC,GAAG,EAAED,WAAW;MAChBE,KAAK,EAAEJ,UAAU,CAACK,GAAG,CAAC;QACrBC,IAAI,EAAEJ;MACP,CAAC,CAAC;MACFK,QAAQ,EAAE;IACX,CAAC;EACF,CAAC;EAED,MAAMC,QAAQ,GAAG,4CAA4C;EAC7D,MAAMC,sBAAsB,GAAGD,QAAQ,GAAG,yBAAyB;EAE5D,MAAME,cAAsB,GAAG,wBAAwB;EACvD,MAAMC,iBAAyB,GAAG,2BAA2B;EAC7D,MAAMC,aAAqB,GAAG,qBAAqB;EACnD,MAAMC,gBAAwB,GAAG,oBAAoB;EACrD,MAAMC,oBAA4B,GAAG,2BAA2B;EAChE,MAAMC,eAAuB,GAAG,wBAAwB;EACxD,M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AAArB,uBAAA,GAAAA,uBAAA;EAAAqB,SAAA,CAAApB,eAAA,GAAAA,eAAA;EAAAoB,SAAA,CAAAhB,uBAAA,GAAAA,uBAAA;EAAAgB,SAAA,CAAAf,aAAA,GAAAA,aAAA;EAAAe,SAAA,CAAAd,gBAAA,GAAAA,gBAAA;EAAAc,SAAA,CAAAb,oBAAA,GAAAA,oBAAA;EAAAa,SAAA,CAAAZ,4BAAA,GAAAA,4BAAA;EAAAY,SAAA,CAAAX,4BAAA,GAAAA,4BAAA;EAAAW,SAAA,CAAAV,WAAA,GAAAA,WAAA;EAAAU,SAAA,CAAAH,aAAA,GAAAA,aAAA;EAAAG,SAAA,CAAAF,sBAAA,GAAAA,sBAAA;EAAAE,SAAA,CAAAD,iBAAA,GAAAA,iBAAA;EAAA,OAAAC,SAAA;AAAA","ignoreList":[]}
@@ -39,9 +39,11 @@ declare module "sap/cux/home/utils/Constants" {
39
39
  const FEATURE_TOGGLES: {
40
40
  TASK_ACTIONS: string;
41
41
  AI_GENERATED_CARD: string;
42
+ AI_SMART_APPFINDER: string;
42
43
  };
43
44
  const FEATURE_TOGGLE_SRVC_URL: string;
44
45
  const REPO_BASE_URL: string;
46
+ const DEFAULT_NEWS_URL = "/sap/opu/odata4/sap/sui_flp_aps_ui_usernews/srvd_a2x/sap/sui_flp_aps_ui_usernews/0001/NewsGroup?$expand=_group_to_image,_group_to_article&$format=json";
45
47
  enum SETTINGS_PANELS_KEYS {
46
48
  LAYOUT = "LAYOUT",
47
49
  NEWS = "NEWS",
@@ -56,5 +58,20 @@ declare module "sap/cux/home/utils/Constants" {
56
58
  NEWS = "KEYUSER_NEWS",
57
59
  PAGES = "KEYUSER_PAGES"
58
60
  }
61
+ enum CONTENT_ADDITION_PANEL_TYPES {
62
+ AI_APP_FINDER = "AI_APP_FINDER",
63
+ AI_INSIGHTS_CARDS = "AI_INSIGHTS_CARDS"
64
+ }
65
+ const TABLE_TYPES: {
66
+ GRID: string;
67
+ TREE: string;
68
+ ANALYTICAL: string;
69
+ RESPONSIVE: string;
70
+ STANDARD_LIST: string;
71
+ OBJECT_LIST: string;
72
+ };
73
+ const COLUMN_LENGTH = 3;
74
+ const AI_APP_FINDER_BASE_URL = "/sap/opu/odata4/sap/aiu_ui_prompt/srvd/sap/aiu_ui_prompt/0001/";
75
+ const AI_APP_FINDER_API: string;
59
76
  }
60
77
  //# sourceMappingURL=Constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Constants.d.ts","sourceRoot":"../../../../../..","sources":["src/sap/cux/home/utils/Constants.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,8BAA8B,CAAC;IAOvC,MAAM,kBAAkB,GAAI,aAAa,MAAM;;;;KAQrD,CAAC;IAEF,MAAM,QAAQ,+CAA+C,CAAC;IAC9D,MAAM,sBAAsB,QAAuC,CAAC;IAE7D,MAAM,cAAc,EAAE,MAAiC,CAAC;IACxD,MAAM,iBAAiB,EAAE,MAAoC,CAAC;IAC9D,MAAM,aAAa,EAAE,MAA8B,CAAC;IACpD,MAAM,gBAAgB,EAAE,MAA6B,CAAC;IACtD,MAAM,oBAAoB,EAAE,MAAoC,CAAC;IACjE,MAAM,eAAe,EAAE,MAAiC,CAAC;IACzD,MAAM,gBAAgB;;;;KAA8C,CAAC;IAErE,MAAM,oBAAoB,IAAI,CAAC;IAC/B,MAAM,aAAa;;;;OAYA,CAAC;IACpB,MAAM,eAAe;;;;OAYF,CAAC;IACpB,MAAM,QAAQ;;;;KAIpB,CAAC;IACK,MAAM,uBAAuB,IAAI,CAAC;IAClC,MAAM,sBAAsB,IAAI,CAAC;IACjC,MAAM,uBAAuB,QAA6C,CAAC;IAC3E,MAAM,eAAe;;;KAG3B,CAAC;IACK,MAAM,uBAAuB,QAA2C,CAAC;IACzE,MAAM,aAAa,QAA6C,CAAC;IACxE,KAAY,oBAAoB;QAC/B,MAAM,WAAW;QACjB,IAAI,SAAS;QACb,KAAK,UAAU;QACf,cAAc,mBAAmB;QACjC,cAAc,mB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uB;QACjC,IAAI,iBAAiB;QACrB,KAAK,kBAAkB;KACvB;IACD,KAAY,4BAA4B;QACvC,aAAa,kBAAkB;QAC/B,iBAAiB,sBAAsB;KACvC;IACM,MAAM,WAAW;;;;;;;KAOvB,CAAC;IACK,MAAM,aAAa,IAAI,CAAC;IAExB,MAAM,sBAAsB,mEAAmE,CAAC;IAChG,MAAM,iBAAiB,QAAoF,CAAC;CAElH"}
@@ -2,5 +2,5 @@
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
3
  * * (c) Copyright 2009-2025 SAP SE. All rights reserved
4
4
  */
5
- sap.ui.define(["sap/ui/core/theming/Parameters"],function(E){"use strict";const o=o=>({key:o,value:E.get({name:o}),assigned:false});const e="/sap/opu/odata4/ui2/insights_srv/srvd/ui2/";const _=e+"insights_read_srv/0001/";const s="SAP_BASIS_PG_UI_MYHOME";const S="3WO90XZ1DX1AS32M7ZM9NBXEF";const n="sap-icon://document";const A="sap-icon://product";const L="AZHJGRIT78TG7Y65RF6EPFJ9U";const C="SAP_BASIS_SP_UI_MYHOME";const T=()=>o("sapLegendColor9");const r=8;const a=()=>["sapLegendColor6","sapLegendColor3","sapLegendColor1","sapLegendColor10","sapLegendColor12","sapLegendColor7","sapLegendColor5","sapLegendColor8","sapLegendColor18","sapLegendColor9"].map(o);const I=()=>["sapLegendColor19","sapLegendColor13","sapLegendColor11","sapLegendColor20","sapLegendColor2","sapLegendColor17","sapLegendColor15","sapLegendColor14","sapLegendColor16","sapLegendColor4"].map(o);const t={FAVORITE:"FAVORITE",RECENT:"RECENT",FREQUENT:"FREQUENT"};const N=5;const R=4;const p=_+"RecommendedApps";const O={TASK_ACTIONS:"/UI2/S4HOME_FEATURE_TOGGLE",AI_GENERATED_CARD:"AIU_SMART_PERSONALIZATION"};const d=_+"FeatureToggle";const c=e+"insights_cards_repo_srv/0001/";var g=function(E){E["LAYOUT"]="LAYOUT";E["NEWS"]="NEWS";E["PAGES"]="PAGES";E["INSIGHTS_TILES"]="INSIGHTS_TILES";E["INSIGHTS_CARDS"]="INSIGHTS_CARDS";E["ADVANCED"]="ADVANCED";return E}(g||{});var G=function(E){E["LAYOUT"]="KEYUSER_LAYOUT";E["NEWS_PAGES"]="KEYUSER_NEWS_PAGES";E["NEWS"]="KEYUSER_NEWS";E["PAGES"]="KEYUSER_PAGES";return E}(G||{});var l={__esModule:true};l.fnFetchLegendColor=o;l.MYHOME_PAGE_ID=s;l.MYAPPS_SECTION_ID=S;l.FALLBACK_ICON=n;l.DEFAULT_APP_ICON=A;l.MYINSIGHT_SECTION_ID=L;l.MYHOME_SPACE_ID=C;l.DEFAULT_BG_COLOR=T;l.PAGE_SELECTION_LIMIT=r;l.LEGEND_COLORS=a;l.END_USER_COLORS=I;l.AppTypes=t;l.PLACEHOLDER_ITEMS_COUNT=N;l.RECOMMENDED_CARD_LIMIT=R;l.RECOMMENDATION_SRVC_URL=p;l.FEATURE_TOGGLES=O;l.FEATURE_TOGGLE_SRVC_URL=d;l.REPO_BASE_URL=c;l.SETTINGS_PANELS_KEYS=g;l.KEYUSER_SETTINGS_PANELS_KEYS=G;return l});
5
+ sap.ui.define(["sap/ui/core/theming/Parameters"],function(_){"use strict";const E=E=>({key:E,value:_.get({name:E}),assigned:false});const o="/sap/opu/odata4/ui2/insights_srv/srvd/ui2/";const e=o+"insights_read_srv/0001/";const s="SAP_BASIS_PG_UI_MYHOME";const A="3WO90XZ1DX1AS32M7ZM9NBXEF";const S="sap-icon://document";const n="sap-icon://product";const a="AZHJGRIT78TG7Y65RF6EPFJ9U";const I="SAP_BASIS_SP_UI_MYHOME";const T=()=>E("sapLegendColor9");const r=8;const t=()=>["sapLegendColor6","sapLegendColor3","sapLegendColor1","sapLegendColor10","sapLegendColor12","sapLegendColor7","sapLegendColor5","sapLegendColor8","sapLegendColor18","sapLegendColor9"].map(E);const L=()=>["sapLegendColor19","sapLegendColor13","sapLegendColor11","sapLegendColor20","sapLegendColor2","sapLegendColor17","sapLegendColor15","sapLegendColor14","sapLegendColor16","sapLegendColor4"].map(E);const p={FAVORITE:"FAVORITE",RECENT:"RECENT",FREQUENT:"FREQUENT"};const N=5;const R=4;const C=e+"RecommendedApps";const d={TASK_ACTIONS:"/UI2/S4HOME_FEATURE_TOGGLE",AI_GENERATED_CARD:"AIU_SMART_PERSONALIZATION",AI_SMART_APPFINDER:"AIU_SMART_APPFINDER"};const c=e+"FeatureToggle";const P=o+"insights_cards_repo_srv/0001/";const O="/sap/opu/odata4/sap/sui_flp_aps_ui_usernews/srvd_a2x/sap/sui_flp_aps_ui_usernews/0001/NewsGroup?$expand=_group_to_image,_group_to_article&$format=json";var i=function(_){_["LAYOUT"]="LAYOUT";_["NEWS"]="NEWS";_["PAGES"]="PAGES";_["INSIGHTS_TILES"]="INSIGHTS_TILES";_["INSIGHTS_CARDS"]="INSIGHTS_CARDS";_["ADVANCED"]="ADVANCED";return _}(i||{});var u=function(_){_["LAYOUT"]="KEYUSER_LAYOUT";_["NEWS_PAGES"]="KEYUSER_NEWS_PAGES";_["NEWS"]="KEYUSER_NEWS";_["PAGES"]="KEYUSER_PAGES";return _}(u||{});var l=function(_){_["AI_APP_FINDER"]="AI_APP_FINDER";_["AI_INSIGHTS_CARDS"]="AI_INSIGHTS_CARDS";return _}(l||{});const D={GRID:"GridTable",TREE:"TreeTable",ANALYTICAL:"AnalyticalTable",RESPONSIVE:"ResponsiveTable",STANDARD_LIST:"StandardList",OBJECT_LIST:"ObjectList"};const g=3;const G="/sap/opu/odata4/sap/aiu_ui_prompt/srvd/sap/aiu_ui_prompt/0001/";const U=G+"SmartAppFinder/SAP__self.ExecuteAppFinderFromUserInput";var F={__esModule:true};F.fnFetchLegendColor=E;F.MYHOME_PAGE_ID=s;F.MYAPPS_SECTION_ID=A;F.FALLBACK_ICON=S;F.DEFAULT_APP_ICON=n;F.MYINSIGHT_SECTION_ID=a;F.MYHOME_SPACE_ID=I;F.DEFAULT_BG_COLOR=T;F.PAGE_SELECTION_LIMIT=r;F.LEGEND_COLORS=t;F.END_USER_COLORS=L;F.AppTypes=p;F.PLACEHOLDER_ITEMS_COUNT=N;F.RECOMMENDED_CARD_LIMIT=R;F.RECOMMENDATION_SRVC_URL=C;F.FEATURE_TOGGLES=d;F.FEATURE_TOGGLE_SRVC_URL=c;F.REPO_BASE_URL=P;F.DEFAULT_NEWS_URL=O;F.SETTINGS_PANELS_KEYS=i;F.KEYUSER_SETTINGS_PANELS_KEYS=u;F.CONTENT_ADDITION_PANEL_TYPES=l;F.TABLE_TYPES=D;F.COLUMN_LENGTH=g;F.AI_APP_FINDER_BASE_URL=G;F.AI_APP_FINDER_API=U;return F});
6
6
  //# sourceMappingURL=Constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Constants.js","names":["sap","ui","define","Parameters","fnFetchLegendColor","sLegendName","key","value","get","name","assigned","BASE_URL","INSIGHTS_READ_SRVC_URL","MYHOME_PAGE_ID","MYAPPS_SECTION_ID","FALLBACK_ICON","DEFAULT_APP_ICON","MYINSIGHT_SECTION_ID","MYHOME_SPACE_ID","DEFAULT_BG_COLOR","PAGE_SELECTION_LIMIT","LEGEND_COLORS","map","END_USER_COLORS","AppTypes","FAVORITE","RECENT","FREQUENT","PLACEHOLDER_ITEMS_COUNT","RECOMMENDED_CARD_LIMIT","RECOMMENDATION_SRVC_URL","FEATURE_TOGGLES","TASK_ACTIONS","AI_GENERATED_CARD","FEATURE_TOGGLE_SRVC_URL","REPO_BASE_URL","SETTINGS_PANELS_KEYS","KEYUSER_SETTINGS_PANELS_KEYS","__exports","__esModule"],"sources":["Constants.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nimport Parameters from \"sap/ui/core/theming/Parameters\";\n\nexport const fnFetchLegendColor = (sLegendName: string) => {\n\treturn {\n\t\tkey: sLegendName,\n\t\tvalue: Parameters.get({\n\t\t\tname: sLegendName\n\t\t}),\n\t\tassigned: false\n\t};\n};\n\nconst BASE_URL = \"/sap/opu/odata4/ui2/insights_srv/srvd/ui2/\";\nconst INSIGHTS_READ_SRVC_URL = BASE_URL + \"insights_read_srv/0001/\";\n\nexport const MYHOME_PAGE_ID: string = \"SAP_BASIS_PG_UI_MYHOME\";\nexport const MYAPPS_SECTION_ID: string = \"3WO90XZ1DX1AS32M7ZM9NBXEF\";\nexport const FALLBACK_ICON: string = \"sap-icon://document\";\nexport const DEFAULT_APP_ICON: string = \"sap-icon://product\";\nexport const MYINSIGHT_SECTION_ID: string = \"AZHJGRIT78TG7Y65RF6EPFJ9U\";\nexport const MYHOME_SPACE_ID: string = \"SAP_BASIS_SP_UI_MYHOME\";\nexport const DEFAULT_BG_COLOR = () => fnFetchLegendColor(\"sapLegendColor9\");\n\nexport const PAGE_SELECTION_LIMIT = 8;\nexport const LEGEND_COLORS = () =>\n\t[\n\t\t\"sapLegendColor6\",\n\t\t\"sapLegendColor3\",\n\t\t\"sapLegendColor1\",\n\t\t\"sapLegendColor10\",\n\t\t\"sapLegendColor12\",\n\t\t\"sapLegendColor7\",\n\t\t\"sapLegendColor5\",\n\t\t\"sapLegendColor8\",\n\t\t\"sapLegendColor18\",\n\t\t\"sapLegendColor9\"\n\t].map(fnFetchLegendColor);\nexport const END_USER_COLORS = () =>\n\t[\n\t\t\"sapLegendColor19\",\n\t\t\"sapLegendColor13\",\n\t\t\"sapLegendColor11\",\n\t\t\"sapLegendColor20\",\n\t\t\"sapLegendColor2\",\n\t\t\"sapLegendColor17\",\n\t\t\"sapLegendColor15\",\n\t\t\"sapLegendColor14\",\n\t\t\"sapLegendColor16\",\n\t\t\"sapLegendColor4\"\n\t].map(fnFetchLegendColor);\nexport const AppTypes = {\n\tFAVORITE: \"FAVORITE\",\n\tRECENT: \"RECENT\",\n\tFREQUENT: \"FREQUENT\"\n};\nexport const PLACEHOLDER_ITEMS_COUNT = 5;\nexport const RECOMMENDED_CARD_LIMIT = 4;\nexport const RECOMMENDATION_SRVC_URL = INSIGHTS_READ_SRVC_URL + \"RecommendedApps\";\nexport const FEATURE_TOGGLES = {\n\tTASK_ACTIONS: \"/UI2/S4HOME_FEATURE_TOGGLE\",\n\tAI_GENERATED_CARD: \"AIU_SMART_PERSONALIZATION\"\n};\nexport const FEATURE_TOGGLE_SRVC_URL = INSIGHTS_READ_SRVC_URL + \"FeatureToggle\";\nexport const REPO_BASE_URL = BASE_URL + \"insights_cards_repo_srv/0001/\";\nexport enum SETTINGS_PANELS_KEYS {\n\tLAYOUT = \"LAYOUT\",\n\tNEWS = \"NEWS\",\n\tPAGES = \"PAGES\",\n\tINSIGHTS_TILES = \"INSIGHTS_TILES\",\n\tINSIGHTS_CARDS = \"INSIGHTS_CARDS\",\n\tADVANCED = \"ADVANCED\"\n}\nexport enum KEYUSER_SETTINGS_PANELS_KEYS {\n\tLAYOUT = \"KEYUSER_LAYOUT\",\n\tNEWS_PAGES = \"KEYUSER_NEWS_PAGES\",\n\tNEWS = \"KEYUSER_NEWS\",\n\tPAGES = \"KEYUSER_PAGES\"\n}\n"],"mappings":";;;;AAAAA,IAAAC,GAAAC,OAAA,4CAAAC,GAAA,aAMO,MAAMC,EAAsBC,IAC3B,CACNC,IAAKD,EACLE,MAAOJ,EAAWK,IAAI,CACrBC,KAAMJ,IAEPK,SAAU,QAIZ,MAAMC,EAAW,6CACjB,MAAMC,EAAyBD,EAAW,0BAEnC,MAAME,EAAyB,yBAC/B,MAAMC,EAA4B,4BAClC,MAAMC,EAAwB,sBAC9B,MAAMC,EAA2B,qBACjC,MAAMC,EAA+B,4BACrC,MAAMC,EAA0B,yBAChC,MAAMC,EAAmBA,IAAMf,EAAmB,mBAElD,MAAMgB,EAAuB,EAC7B,MAAMC,EAAgBA,IAC5B,CACC,kBACA,kBACA,kBACA,mBACA,mBACA,kBACA,kBACA,kBACA,mBACA,mBACCC,IAAIlB,GACA,MAAMmB,EAAkBA,IAC9B,CACC,mBACA,mBACA,mBACA,mBACA,kBACA,mBACA,mBACA,mBACA,mBACA,mBACCD,IAAIlB,GACA,MAAMoB,EAAW,CACvBC,SAAU,WACVC,OAAQ,SACRC,SAAU,YAEJ,MAAMC,EAA0B,EAChC,MAAMC,EAAyB,EAC/B,MAAMC,EAA0BlB,EAAyB,kBACzD,MAAMmB,EAAkB,CAC9BC,aAAc,6BACdC,kBAAmB,6BAEb,MAAMC,EAA0BtB,EAAyB,gBACzD,MAAMuB,EAAgBxB,EAAW,gCAAgC,IAC5DyB,EAAoB,SAApBA,KAAoB,mBAApBA,EAAoB,eAApBA,EAAoB,iBAApBA,EAAoB,mCAApBA,EAAoB,mCAApBA,EAAoB,8BAApBA,CAAoB,EAApBA,GAAoB,QAQpBC,EAA4B,SAA5BA,KAA4B,2BAA5BA,EAA4B,mCAA5BA,EAA4B,uBAA5BA,EAA4B,gCAA5BA,CAA4B,EAA5BA,GAA4B,QAAAC,EAAA,CAAAC,WAAA,MAAAD,EAAAlC,qBAAAkC,EAAAzB,iBAAAyB,EAAAxB,oBAAAwB,EAAAvB,gBAAAuB,EAAAtB,mBAAAsB,EAAArB,uBAAAqB,EAAApB,kBAAAoB,EAAAnB,mBAAAmB,EAAAlB,uBAAAkB,EAAAjB,gBAAAiB,EAAAf,kBAAAe,EAAAd,WAAAc,EAAAV,0BAAAU,EAAAT,yBAAAS,EAAAR,0BAAAQ,EAAAP,kBAAAO,EAAAJ,0BAAAI,EAAAH,gBAAAG,EAAAF,uBAAAE,EAAAD,+BAAA,OAAAC,CAAA","ignoreList":[]}
1
+ {"version":3,"file":"Constants.js","names":["sap","ui","define","Parameters","fnFetchLegendColor","sLegendName","key","value","get","name","assigned","BASE_URL","INSIGHTS_READ_SRVC_URL","MYHOME_PAGE_ID","MYAPPS_SECTION_ID","FALLBACK_ICON","DEFAULT_APP_ICON","MYINSIGHT_SECTION_ID","MYHOME_SPACE_ID","DEFAULT_BG_COLOR","PAGE_SELECTION_LIMIT","LEGEND_COLORS","map","END_USER_COLORS","AppTypes","FAVORITE","RECENT","FREQUENT","PLACEHOLDER_ITEMS_COUNT","RECOMMENDED_CARD_LIMIT","RECOMMENDATION_SRVC_URL","FEATURE_TOGGLES","TASK_ACTIONS","AI_GENERATED_CARD","AI_SMART_APPFINDER","FEATURE_TOGGLE_SRVC_URL","REPO_BASE_URL","DEFAULT_NEWS_URL","SETTINGS_PANELS_KEYS","KEYUSER_SETTINGS_PANELS_KEYS","CONTENT_ADDITION_PANEL_TYPES","TABLE_TYPES","GRID","TREE","ANALYTICAL","RESPONSIVE","STANDARD_LIST","OBJECT_LIST","COLUMN_LENGTH","AI_APP_FINDER_BASE_URL","AI_APP_FINDER_API","__exports","__esModule"],"sources":["Constants.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nimport Parameters from \"sap/ui/core/theming/Parameters\";\n\nexport const fnFetchLegendColor = (sLegendName: string) => {\n\treturn {\n\t\tkey: sLegendName,\n\t\tvalue: Parameters.get({\n\t\t\tname: sLegendName\n\t\t}),\n\t\tassigned: false\n\t};\n};\n\nconst BASE_URL = \"/sap/opu/odata4/ui2/insights_srv/srvd/ui2/\";\nconst INSIGHTS_READ_SRVC_URL = BASE_URL + \"insights_read_srv/0001/\";\n\nexport const MYHOME_PAGE_ID: string = \"SAP_BASIS_PG_UI_MYHOME\";\nexport const MYAPPS_SECTION_ID: string = \"3WO90XZ1DX1AS32M7ZM9NBXEF\";\nexport const FALLBACK_ICON: string = \"sap-icon://document\";\nexport const DEFAULT_APP_ICON: string = \"sap-icon://product\";\nexport const MYINSIGHT_SECTION_ID: string = \"AZHJGRIT78TG7Y65RF6EPFJ9U\";\nexport const MYHOME_SPACE_ID: string = \"SAP_BASIS_SP_UI_MYHOME\";\nexport const DEFAULT_BG_COLOR = () => fnFetchLegendColor(\"sapLegendColor9\");\n\nexport const PAGE_SELECTION_LIMIT = 8;\nexport const LEGEND_COLORS = () =>\n\t[\n\t\t\"sapLegendColor6\",\n\t\t\"sapLegendColor3\",\n\t\t\"sapLegendColor1\",\n\t\t\"sapLegendColor10\",\n\t\t\"sapLegendColor12\",\n\t\t\"sapLegendColor7\",\n\t\t\"sapLegendColor5\",\n\t\t\"sapLegendColor8\",\n\t\t\"sapLegendColor18\",\n\t\t\"sapLegendColor9\"\n\t].map(fnFetchLegendColor);\nexport const END_USER_COLORS = () =>\n\t[\n\t\t\"sapLegendColor19\",\n\t\t\"sapLegendColor13\",\n\t\t\"sapLegendColor11\",\n\t\t\"sapLegendColor20\",\n\t\t\"sapLegendColor2\",\n\t\t\"sapLegendColor17\",\n\t\t\"sapLegendColor15\",\n\t\t\"sapLegendColor14\",\n\t\t\"sapLegendColor16\",\n\t\t\"sapLegendColor4\"\n\t].map(fnFetchLegendColor);\nexport const AppTypes = {\n\tFAVORITE: \"FAVORITE\",\n\tRECENT: \"RECENT\",\n\tFREQUENT: \"FREQUENT\"\n};\nexport const PLACEHOLDER_ITEMS_COUNT = 5;\nexport const RECOMMENDED_CARD_LIMIT = 4;\nexport const RECOMMENDATION_SRVC_URL = INSIGHTS_READ_SRVC_URL + \"RecommendedApps\";\nexport const FEATURE_TOGGLES = {\n\tTASK_ACTIONS: \"/UI2/S4HOME_FEATURE_TOGGLE\",\n\tAI_GENERATED_CARD: \"AIU_SMART_PERSONALIZATION\",\n\tAI_SMART_APPFINDER: \"AIU_SMART_APPFINDER\"\n};\nexport const FEATURE_TOGGLE_SRVC_URL = INSIGHTS_READ_SRVC_URL + \"FeatureToggle\";\nexport const REPO_BASE_URL = BASE_URL + \"insights_cards_repo_srv/0001/\";\nexport const DEFAULT_NEWS_URL =\n\t\"/sap/opu/odata4/sap/sui_flp_aps_ui_usernews/srvd_a2x/sap/sui_flp_aps_ui_usernews/0001/NewsGroup?$expand=_group_to_image,_group_to_article&$format=json\";\nexport enum SETTINGS_PANELS_KEYS {\n\tLAYOUT = \"LAYOUT\",\n\tNEWS = \"NEWS\",\n\tPAGES = \"PAGES\",\n\tINSIGHTS_TILES = \"INSIGHTS_TILES\",\n\tINSIGHTS_CARDS = \"INSIGHTS_CARDS\",\n\tADVANCED = \"ADVANCED\"\n}\nexport enum KEYUSER_SETTINGS_PANELS_KEYS {\n\tLAYOUT = \"KEYUSER_LAYOUT\",\n\tNEWS_PAGES = \"KEYUSER_NEWS_PAGES\",\n\tNEWS = \"KEYUSER_NEWS\",\n\tPAGES = \"KEYUSER_PAGES\"\n}\nexport enum CONTENT_ADDITION_PANEL_TYPES {\n\tAI_APP_FINDER = \"AI_APP_FINDER\",\n\tAI_INSIGHTS_CARDS = \"AI_INSIGHTS_CARDS\"\n}\nexport const TABLE_TYPES = {\n\tGRID: \"GridTable\",\n\tTREE: \"TreeTable\",\n\tANALYTICAL: \"AnalyticalTable\",\n\tRESPONSIVE: \"ResponsiveTable\",\n\tSTANDARD_LIST: \"StandardList\",\n\tOBJECT_LIST: \"ObjectList\"\n};\nexport const COLUMN_LENGTH = 3;\n\nexport const AI_APP_FINDER_BASE_URL = \"/sap/opu/odata4/sap/aiu_ui_prompt/srvd/sap/aiu_ui_prompt/0001/\";\nexport const AI_APP_FINDER_API = AI_APP_FINDER_BASE_URL + \"SmartAppFinder/SAP__self.ExecuteAppFinderFromUserInput\";\n"],"mappings":";;;;AAAAA,IAAAC,GAAAC,OAAA,4CAAAC,GAAA,aAMO,MAAMC,EAAsBC,IAC3B,CACNC,IAAKD,EACLE,MAAOJ,EAAWK,IAAI,CACrBC,KAAMJ,IAEPK,SAAU,QAIZ,MAAMC,EAAW,6CACjB,MAAMC,EAAyBD,EAAW,0BAEnC,MAAME,EAAyB,yBAC/B,MAAMC,EAA4B,4BAClC,MAAMC,EAAwB,sBAC9B,MAAMC,EAA2B,qBACjC,MAAMC,EAA+B,4BACrC,MAAMC,EAA0B,yBAChC,MAAMC,EAAmBA,IAAMf,EAAmB,mBAElD,MAAMgB,EAAuB,EAC7B,MAAMC,EAAgBA,IAC5B,CACC,kBACA,kBACA,kBACA,mBACA,mBACA,kBACA,kBACA,kBACA,mBACA,mBACCC,IAAIlB,GACA,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AAAgB,EAAAf,gBAAAe,EAAAd,mBAAAc,EAAAb,uBAAAa,EAAAZ,+BAAAY,EAAAX,+BAAAW,EAAAV,cAAAU,EAAAH,gBAAAG,EAAAF,yBAAAE,EAAAD,oBAAA,OAAAC,CAAA","ignoreList":[]}
@@ -62,10 +62,13 @@ export const RECOMMENDED_CARD_LIMIT = 4;
62
62
  export const RECOMMENDATION_SRVC_URL = INSIGHTS_READ_SRVC_URL + "RecommendedApps";
63
63
  export const FEATURE_TOGGLES = {
64
64
  TASK_ACTIONS: "/UI2/S4HOME_FEATURE_TOGGLE",
65
- AI_GENERATED_CARD: "AIU_SMART_PERSONALIZATION"
65
+ AI_GENERATED_CARD: "AIU_SMART_PERSONALIZATION",
66
+ AI_SMART_APPFINDER: "AIU_SMART_APPFINDER"
66
67
  };
67
68
  export const FEATURE_TOGGLE_SRVC_URL = INSIGHTS_READ_SRVC_URL + "FeatureToggle";
68
69
  export const REPO_BASE_URL = BASE_URL + "insights_cards_repo_srv/0001/";
70
+ export const DEFAULT_NEWS_URL =
71
+ "/sap/opu/odata4/sap/sui_flp_aps_ui_usernews/srvd_a2x/sap/sui_flp_aps_ui_usernews/0001/NewsGroup?$expand=_group_to_image,_group_to_article&$format=json";
69
72
  export enum SETTINGS_PANELS_KEYS {
70
73
  LAYOUT = "LAYOUT",
71
74
  NEWS = "NEWS",
@@ -80,3 +83,19 @@ export enum KEYUSER_SETTINGS_PANELS_KEYS {
80
83
  NEWS = "KEYUSER_NEWS",
81
84
  PAGES = "KEYUSER_PAGES"
82
85
  }
86
+ export enum CONTENT_ADDITION_PANEL_TYPES {
87
+ AI_APP_FINDER = "AI_APP_FINDER",
88
+ AI_INSIGHTS_CARDS = "AI_INSIGHTS_CARDS"
89
+ }
90
+ export const TABLE_TYPES = {
91
+ GRID: "GridTable",
92
+ TREE: "TreeTable",
93
+ ANALYTICAL: "AnalyticalTable",
94
+ RESPONSIVE: "ResponsiveTable",
95
+ STANDARD_LIST: "StandardList",
96
+ OBJECT_LIST: "ObjectList"
97
+ };
98
+ export const COLUMN_LENGTH = 3;
99
+
100
+ export const AI_APP_FINDER_BASE_URL = "/sap/opu/odata4/sap/aiu_ui_prompt/srvd/sap/aiu_ui_prompt/0001/";
101
+ export const AI_APP_FINDER_API = AI_APP_FINDER_BASE_URL + "SmartAppFinder/SAP__self.ExecuteAppFinderFromUserInput";
@@ -7,7 +7,7 @@ sap.ui.define(["sap/ui/Device"], function (Device) {
7
7
 
8
8
  /** Device widths in px */
9
9
  const DeviceWidth = {
10
- Mobile: 600,
10
+ Mobile: 624,
11
11
  Tablet: 1024,
12
12
  Desktop: 1135
13
13
  };
@@ -51,12 +51,60 @@ sap.ui.define(["sap/ui/Device"], function (Device) {
51
51
  });
52
52
  return oProperties;
53
53
  }
54
+
55
+ /**
56
+ * Calculates the card width based on the available width and certain constraints.
57
+ *
58
+ * @param {CardLayoutConfig} cardLayoutConfig - Card layout configuration containing container width, no. of cards, min and max width.
59
+ * @returns {number} The calculated card width within specified constraints.
60
+ */
61
+ function calculateCardWidth(cardLayoutConfig) {
62
+ const gap = 16;
63
+ if (calculateDeviceType() === DeviceType.Mobile) {
64
+ const peekWidth = 76;
65
+ if (cardLayoutConfig.totalCards === 1) {
66
+ // Single card: full width, constrained
67
+ return Math.max(cardLayoutConfig.minWidth, Math.min(cardLayoutConfig.containerWidth, cardLayoutConfig.maxWidth));
68
+ } else {
69
+ // Calculate width of the first card, reserving space for the peek of the second
70
+ const mainCardWidth = cardLayoutConfig.containerWidth - peekWidth;
71
+ // Clamp to min/max width
72
+ return Math.max(cardLayoutConfig.minWidth, Math.min(mainCardWidth, cardLayoutConfig.maxWidth));
73
+ }
74
+ }
75
+ let cardCountToUse;
76
+
77
+ // Tablet mode: width between 600 and 1023
78
+ if (calculateDeviceType() === DeviceType.Tablet && cardLayoutConfig.totalCards > 1) {
79
+ const totalGap = gap; // gap between 2 cards
80
+ const twoCardWidth = (cardLayoutConfig.containerWidth - totalGap) / 2;
81
+ if (twoCardWidth >= cardLayoutConfig.minWidth && twoCardWidth <= cardLayoutConfig.maxWidth) {
82
+ cardCountToUse = 2;
83
+ } else {
84
+ cardCountToUse = 1;
85
+ }
86
+ } else {
87
+ // Step 1: How many cards *can* fit based on minWidth
88
+ let possibleCardCount = 1;
89
+ while (cardLayoutConfig.containerWidth / possibleCardCount >= cardLayoutConfig.minWidth + gap) {
90
+ possibleCardCount++;
91
+ }
92
+ possibleCardCount--; // Last valid value
93
+ // Step 2: If we have fewer cards than we *can* fit, stretch them
94
+ cardCountToUse = Math.max(Math.min(possibleCardCount, cardLayoutConfig.totalCards), Math.min(cardLayoutConfig.totalCards, 3));
95
+ }
96
+ if (cardCountToUse <= 0) return cardLayoutConfig.minWidth;
97
+ const totalGap = (cardCountToUse - 1) * gap;
98
+ const cardWidth = (cardLayoutConfig.containerWidth - totalGap) / cardCountToUse;
99
+ return Math.min(Math.max(cardWidth, cardLayoutConfig.minWidth), cardLayoutConfig.maxWidth);
100
+ }
54
101
  var __exports = {
55
102
  __esModule: true
56
103
  };
57
104
  __exports.DeviceType = DeviceType;
58
105
  __exports.calculateDeviceType = calculateDeviceType;
59
106
  __exports.fetchElementProperties = fetchElementProperties;
107
+ __exports.calculateCardWidth = calculateCardWidth;
60
108
  return __exports;
61
109
  });
62
110
  //# sourceMappingURL=Device-dbg.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Device-dbg.js","names":["sap","ui","define","Device","DeviceWidth","Mobile","Tablet","Desktop","DeviceType","calculateDeviceType","width","arguments","length","undefined","resize","system","phone","LargeDesktop","fetchElementProperties","domRef","properties","oProperties","forEach","property","parseFloat","window","getComputedStyle","getPropertyValue","__exports","__esModule"],"sources":["Device.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\nimport Device from \"sap/ui/Device\";\n\n/** Device widths in px */\nconst DeviceWidth = {\n\tMobile: 600,\n\tTablet: 1024,\n\tDesktop: 1135\n};\n\nexport enum DeviceType {\n\tMobile = \"Mobile\",\n\tTablet = \"Tablet\",\n\tDesktop = \"Desktop\",\n\tLargeDesktop = \"LargeDesktop\"\n}\n\n/**\n * Calculates the device type based on the given width.\n *\n * @param {number} [width=Device.resize.width] - The width of the device. Defaults to the current device width.\n * @returns {DeviceType} - The calculated device type.\n */\nexport function calculateDeviceType(width: number = Device.resize.width): DeviceType {\n\tif (width < DeviceWidth.Mobile || Device.system.phone) {\n\t\treturn DeviceType.Mobile;\n\t} else if (width < DeviceWidth.Tablet) {\n\t\treturn DeviceType.Tablet;\n\t} else if (width < DeviceWidth.Desktop) {\n\t\treturn DeviceType.Desktop;\n\t} else {\n\t\treturn DeviceType.LargeDesktop;\n\t}\n}\n\n/**\n * Fetches the specified CSS properties of a given DOM element and returns them as a record.\n *\n * @param {Element} domRef - The DOM element from which to fetch the properties.\n * @param {string[]} properties - An array of property names to fetch.\n * @returns {Record<string, number>} - A record where the keys are property names and the values are the corresponding property values as numbers.\n */\nexport function fetchElementProperties(domRef: Element, properties: string[]): Record<string, number> {\n\tconst oProperties: Record<string, number> = {};\n\tproperties.forEach((property) => {\n\t\toProperties[property] = parseFloat(window.getComputedStyle(domRef).getPropertyValue(property));\n\t});\n\n\treturn oProperties;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,8BAAAC,MAAA;EAAA;;EAOA;EACA,MAAMC,WAAW,GAAG;IACnBC,MAAM,EAAE,GAAG;IACXC,MAAM,EAAE,IAAI;IACZC,OAAO,EAAE;EACV,CAAC;EAAC,IAEUC,UAAU,0BAAVA,UAAU;IAAVA,UAAU;IAAVA,UAAU;IAAVA,UAAU;IAAVA,UAAU;IAAA,OAAVA,UAAU;EAAA,EAAVA,UAAU;EAOtB;AACA;AACA;AACA;AACA;AACA;EACO,SAASC,mBAAmBA,CAAA,EAAkD;IAAA,IAAjDC,KAAa,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAGR,MAAM,CAACW,MAAM,CAACJ,KAAK;IACtE,IAAIA,KAAK,GAAGN,WAAW,CAACC,MAAM,IAAIF,MAAM,CAACY,MAAM,CAACC,KAAK,EAAE;MACtD,OAAOR,UAAU,CAACH,MAAM;IACzB,CAAC,MAAM,IAAIK,KAAK,GAAGN,WAAW,CAACE,MAAM,EAAE;MACtC,OAAOE,UAAU,CAACF,MAAM;IACzB,CAAC,MAAM,IAAII,KAAK,GAAGN,WAAW,CAACG,OAAO,EAAE;MACvC,OAAOC,UAAU,CAACD,OAAO;IAC1B,CAAC,MAAM;MACN,OAAOC,UAAU,CAACS,YAAY;IAC/B;EACD;;EAEA;AACA;AACA;AACA;AACA;AACA;AACA;EACO,SAASC,sBAAsBA,CAACC,MAAe,EAAEC,UAAoB,EAA0B;IACrG,MAAMC,WAAmC,GAAG,CAAC,CAAC;IAC9CD,UAAU,CAACE,OAAO,CAAEC,QAAQ,IAAK;MAChCF,WAAW,CAACE,QAAQ,CAAC,GAAGC,UAAU,CAACC,MAAM,CAACC,gBAAgB,CAACP,MAAM,CAAC,CAACQ,gBAAgB,CAACJ,QAAQ,CAAC,CAAC;IAC/F,CAAC,CAAC;IAEF,OAAOF,WAAW;EACnB;EAAC,IAAAO,SAAA;IAAAC,UAAA;EAAA;EAAAD,SAAA,CAAApB,UAAA,GAAAA,UAAA;EAAAoB,SAAA,CAAAnB,mBAAA,GAAAA,mBAAA;EAAAmB,SAAA,CAAAV,sBAAA,GAAAA,sBAAA;EAAA,OAAAU,SAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"file":"Device-dbg.js","names":["sap","ui","define","Device","DeviceWidth","Mobile","Tablet","Desktop","DeviceType","calculateDeviceType","width","arguments","length","undefined","resize","system","phone","LargeDesktop","fetchElementProperties","domRef","properties","oProperties","forEach","property","parseFloat","window","getComputedStyle","getPropertyValue","calculateCardWidth","cardLayoutConfig","gap","peekWidth","totalCards","Math","max","minWidth","min","containerWidth","maxWidth","mainCardWidth","cardCountToUse","totalGap","twoCardWidth","possibleCardCount","cardWidth","__exports","__esModule"],"sources":["Device.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\nimport Device from \"sap/ui/Device\";\n\ninterface CardLayoutConfig {\n\tcontainerWidth: number;\n\ttotalCards: number;\n\tminWidth: number;\n\tmaxWidth: number;\n}\n\n/** Device widths in px */\nconst DeviceWidth = {\n\tMobile: 624,\n\tTablet: 1024,\n\tDesktop: 1135\n};\n\nexport enum DeviceType {\n\tMobile = \"Mobile\",\n\tTablet = \"Tablet\",\n\tDesktop = \"Desktop\",\n\tLargeDesktop = \"LargeDesktop\"\n}\n\n/**\n * Calculates the device type based on the given width.\n *\n * @param {number} [width=Device.resize.width] - The width of the device. Defaults to the current device width.\n * @returns {DeviceType} - The calculated device type.\n */\nexport function calculateDeviceType(width: number = Device.resize.width): DeviceType {\n\tif (width < DeviceWidth.Mobile || Device.system.phone) {\n\t\treturn DeviceType.Mobile;\n\t} else if (width < DeviceWidth.Tablet) {\n\t\treturn DeviceType.Tablet;\n\t} else if (width < DeviceWidth.Desktop) {\n\t\treturn DeviceType.Desktop;\n\t} else {\n\t\treturn DeviceType.LargeDesktop;\n\t}\n}\n\n/**\n * Fetches the specified CSS properties of a given DOM element and returns them as a record.\n *\n * @param {Element} domRef - The DOM element from which to fetch the properties.\n * @param {string[]} properties - An array of property names to fetch.\n * @returns {Record<string, number>} - A record where the keys are property names and the values are the corresponding property values as numbers.\n */\nexport function fetchElementProperties(domRef: Element, properties: string[]): Record<string, number> {\n\tconst oProperties: Record<string, number> = {};\n\tproperties.forEach((property) => {\n\t\toProperties[property] = parseFloat(window.getComputedStyle(domRef).getPropertyValue(property));\n\t});\n\n\treturn oProperties;\n}\n\n/**\n * Calculates the card width based on the available width and certain constraints.\n *\n * @param {CardLayoutConfig} cardLayoutConfig - Card layout configuration containing container width, no. of cards, min and max width.\n * @returns {number} The calculated card width within specified constraints.\n */\nexport function calculateCardWidth(cardLayoutConfig: CardLayoutConfig): number {\n\tconst gap = 16;\n\n\tif (calculateDeviceType() === DeviceType.Mobile) {\n\t\tconst peekWidth = 76;\n\t\tif (cardLayoutConfig.totalCards === 1) {\n\t\t\t// Single card: full width, constrained\n\t\t\treturn Math.max(cardLayoutConfig.minWidth, Math.min(cardLayoutConfig.containerWidth, cardLayoutConfig.maxWidth));\n\t\t} else {\n\t\t\t// Calculate width of the first card, reserving space for the peek of the second\n\t\t\tconst mainCardWidth = cardLayoutConfig.containerWidth - peekWidth;\n\t\t\t// Clamp to min/max width\n\t\t\treturn Math.max(cardLayoutConfig.minWidth, Math.min(mainCardWidth, cardLayoutConfig.maxWidth));\n\t\t}\n\t}\n\n\tlet cardCountToUse: number;\n\n\t// Tablet mode: width between 600 and 1023\n\tif (calculateDeviceType() === DeviceType.Tablet && cardLayoutConfig.totalCards > 1) {\n\t\tconst totalGap = gap; // gap between 2 cards\n\t\tconst twoCardWidth = (cardLayoutConfig.containerWidth - totalGap) / 2;\n\n\t\tif (twoCardWidth >= cardLayoutConfig.minWidth && twoCardWidth <= cardLayoutConfig.maxWidth) {\n\t\t\tcardCountToUse = 2;\n\t\t} else {\n\t\t\tcardCountToUse = 1;\n\t\t}\n\t} else {\n\t\t// Step 1: How many cards *can* fit based on minWidth\n\t\tlet possibleCardCount = 1;\n\t\twhile (cardLayoutConfig.containerWidth / possibleCardCount >= cardLayoutConfig.minWidth + gap) {\n\t\t\tpossibleCardCount++;\n\t\t}\n\t\tpossibleCardCount--; // Last valid value\n\t\t// Step 2: If we have fewer cards than we *can* fit, stretch them\n\t\tcardCountToUse = Math.max(Math.min(possibleCardCount, cardLayoutConfig.totalCards), Math.min(cardLayoutConfig.totalCards, 3));\n\t}\n\tif (cardCountToUse <= 0) return cardLayoutConfig.minWidth;\n\tconst totalGap = (cardCountToUse - 1) * gap;\n\tconst cardWidth = (cardLayoutConfig.containerWidth - totalGap) / cardCountToUse;\n\treturn Math.min(Math.max(cardWidth, cardLayoutConfig.minWidth), cardLayoutConfig.maxWidth);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,8BAAAC,MAAA;EAAA;;EAcA;EACA,MAAMC,WAAW,GAAG;IACnBC,MAAM,EAAE,GAAG;IACXC,MAAM,EAAE,IAAI;IACZC,OAAO,EAAE;EACV,CAAC;EAAC,IAEUC,UAAU,0BAAVA,UAAU;IAAVA,UAAU;IAAVA,UAAU;IAAVA,UAAU;IAAVA,UAAU;IAAA,OAAVA,UAAU;EAAA,EAAVA,UAAU;EAOtB;AACA;AACA;AACA;AACA;AACA;EACO,SAASC,mBAAmBA,CAAA,EAAkD;IAAA,IAAjDC,KAAa,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAGR,MAAM,CAACW,MAAM,CAACJ,KAAK;IACtE,IAAIA,KAAK,GAAGN,WAAW,CAACC,MAAM,IAAIF,MAAM,CAACY,MAAM,CAACC,KAAK,EAAE;MACtD,OAAOR,UAAU,CAACH,MAAM;IACzB,CAAC,MAAM,IAAIK,KAAK,GAAGN,WAAW,CAACE,MAAM,EAAE;MACtC,OAAOE,UAAU,CAACF,MAAM;IACzB,CAAC,MAAM,IAAII,KAAK,GAAGN,WAAW,CAACG,OAAO,EAAE;MACvC,OAAOC,UAAU,CAACD,OAAO;IAC1B,CAAC,MAAM;MACN,OAAOC,UAAU,CAACS,YAAY;IAC/B;EACD;;EAEA;AACA;AACA;AACA;AACA;AACA;AACA;EACO,SAASC,sBAAsBA,CAACC,MAAe,EAAEC,UAAoB,EAA0B;IACrG,MAAMC,WAAmC,GAAG,CAAC,CAAC;IAC9CD,UAAU,CAACE,OAAO,CAAEC,QAAQ,IAAK;MAChCF,WAAW,CAACE,QAAQ,CAAC,GAAGC,UAAU,CAACC,MAAM,CAACC,gBAAgB,CAACP,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MACzB,OAAOd,gBAAgB,CAACQ,cAAc,GAAGM,iBAAiB,IAAId,gBAAgB,CAACM,QAAQ,GAAGL,GAAG,EAAE;QAC9Fa,iBAAiB,EAAE;MACpB;MACAA,iBAAiB,EAAE,CAAC,CAAC;MACrB;MACAH,cAAc,GAAGP,IAAI,CAACC,GAAG,CAACD,IAAI,CAACG,GAAG,CAACO,iBAAiB,EAAEd,gBAAgB,CAACG,UAAU,CAAC,EAAEC,IAAI,CAACG,GAAG,CAACP,gBAAgB,CAACG,UAAU,EAAE,CAAC,CAAC,CAAC;IAC9H;IACA,IAAIQ,cAAc,IAAI,CAAC,EAAE,OAAOX,gBAAgB,CAACM,QAAQ;IACzD,MAAMM,QAAQ,GAAG,CAACD,cAAc,GAAG,CAAC,IAAIV,GAAG;IAC3C,MAAMc,SAAS,GAAG,CAACf,gBAAgB,CAACQ,cAAc,GAAGI,QAAQ,IAAID,cAAc;IAC/E,OAAOP,IAAI,CAACG,GAAG,CAACH,IAAI,CAACC,GAAG,CAACU,SAAS,EAAEf,gBAAgB,CAACM,QAAQ,CAAC,EAAEN,gBAAgB,CAACS,QAAQ,CAAC;EAC3F;EAAC,IAAAO,SAAA;IAAAC,UAAA;EAAA;EAAAD,SAAA,CAAArC,UAAA,GAAAA,UAAA;EAAAqC,SAAA,CAAApC,mBAAA,GAAAA,mBAAA;EAAAoC,SAAA,CAAA3B,sBAAA,GAAAA,sBAAA;EAAA2B,SAAA,CAAAjB,kBAAA,GAAAA,kBAAA;EAAA,OAAAiB,SAAA;AAAA","ignoreList":[]}
@@ -1,4 +1,10 @@
1
1
  declare module "sap/cux/home/utils/Device" {
2
+ interface CardLayoutConfig {
3
+ containerWidth: number;
4
+ totalCards: number;
5
+ minWidth: number;
6
+ maxWidth: number;
7
+ }
2
8
  /** Device widths in px */
3
9
  const DeviceWidth: {
4
10
  Mobile: number;
@@ -26,5 +32,12 @@ declare module "sap/cux/home/utils/Device" {
26
32
  * @returns {Record<string, number>} - A record where the keys are property names and the values are the corresponding property values as numbers.
27
33
  */
28
34
  function fetchElementProperties(domRef: Element, properties: string[]): Record<string, number>;
35
+ /**
36
+ * Calculates the card width based on the available width and certain constraints.
37
+ *
38
+ * @param {CardLayoutConfig} cardLayoutConfig - Card layout configuration containing container width, no. of cards, min and max width.
39
+ * @returns {number} The calculated card width within specified constraints.
40
+ */
41
+ function calculateCardWidth(cardLayoutConfig: CardLayoutConfig): number;
29
42
  }
30
43
  //# sourceMappingURL=Device.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Device.d.ts","sourceRoot":"../../../../../..","sources":["src/sap/cux/home/utils/Device.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,2BAA2B,CAAC;IAQ3C,0BAA0B;IAC1B,MAAM,WAAW;;;;KAIhB,CAAC;IAEF,KAAY,UAAU;QACrB,MAAM,WAAW;QACjB,MAAM,WAAW;QACjB,OAAO,YAAY;QACnB,YAAY,iBAAiB;KAC7B;IAED;;;;;OAKG;IACH,SAAgB,mBAAmB,CAAC,KAAK,GAAE,MAA4B,GAAG,UAAU,CAUnF;IAED;;;;;;OAMG;IACH,SAAgB,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAOpG;CAEA"}
1
+ {"version":3,"file":"Device.d.ts","sourceRoot":"../../../../../..","sources":["src/sap/cux/home/utils/Device.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,2BAA2B,CAAC;IAQ3C,UAAU,gBAAgB;QACzB,cAAc,EAAE,MAAM,CAAC;QACvB,UAAU,EAAE,MAAM,CAAC;QACnB,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;KACjB;IAED,0BAA0B;IAC1B,MAAM,WAAW;;;;KAIhB,CAAC;IAEF,KAAY,UAAU;QACrB,MAAM,WAAW;QACjB,MAAM,WAAW;QACjB,OAAO,YAAY;QACnB,YAAY,iBAAiB;KAC7B;IAED;;;;;OAKG;IACH,SAAgB,mBAAmB,CAAC,KAAK,GAAE,MAA4B,GAAG,UAAU,CAUnF;IAED;;;;;;OAMG;IACH,SAAgB,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAOpG;IAED;;;;;OAKG;IACH,SAAgB,kBAAkB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,MAAM,CA0C7E;CAEA"}
@@ -2,5 +2,5 @@
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
3
  * * (c) Copyright 2009-2025 SAP SE. All rights reserved
4
4
  */
5
- sap.ui.define(["sap/ui/Device"],function(e){"use strict";const t={Mobile:600,Tablet:1024,Desktop:1135};var r=function(e){e["Mobile"]="Mobile";e["Tablet"]="Tablet";e["Desktop"]="Desktop";e["LargeDesktop"]="LargeDesktop";return e}(r||{});function o(){let o=arguments.length>0&&arguments[0]!==undefined?arguments[0]:e.resize.width;if(o<t.Mobile||e.system.phone){return r.Mobile}else if(o<t.Tablet){return r.Tablet}else if(o<t.Desktop){return r.Desktop}else{return r.LargeDesktop}}function i(e,t){const r={};t.forEach(t=>{r[t]=parseFloat(window.getComputedStyle(e).getPropertyValue(t))});return r}var n={__esModule:true};n.DeviceType=r;n.calculateDeviceType=o;n.fetchElementProperties=i;return n});
5
+ sap.ui.define(["sap/ui/Device"],function(t){"use strict";const e={Mobile:624,Tablet:1024,Desktop:1135};var i=function(t){t["Mobile"]="Mobile";t["Tablet"]="Tablet";t["Desktop"]="Desktop";t["LargeDesktop"]="LargeDesktop";return t}(i||{});function n(){let n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:t.resize.width;if(n<e.Mobile||t.system.phone){return i.Mobile}else if(n<e.Tablet){return i.Tablet}else if(n<e.Desktop){return i.Desktop}else{return i.LargeDesktop}}function a(t,e){const i={};e.forEach(e=>{i[e]=parseFloat(window.getComputedStyle(t).getPropertyValue(e))});return i}function r(t){const e=16;if(n()===i.Mobile){const e=76;if(t.totalCards===1){return Math.max(t.minWidth,Math.min(t.containerWidth,t.maxWidth))}else{const i=t.containerWidth-e;return Math.max(t.minWidth,Math.min(i,t.maxWidth))}}let a;if(n()===i.Tablet&&t.totalCards>1){const i=e;const n=(t.containerWidth-i)/2;if(n>=t.minWidth&&n<=t.maxWidth){a=2}else{a=1}}else{let i=1;while(t.containerWidth/i>=t.minWidth+e){i++}i--;a=Math.max(Math.min(i,t.totalCards),Math.min(t.totalCards,3))}if(a<=0)return t.minWidth;const r=(a-1)*e;const o=(t.containerWidth-r)/a;return Math.min(Math.max(o,t.minWidth),t.maxWidth)}var o={__esModule:true};o.DeviceType=i;o.calculateDeviceType=n;o.fetchElementProperties=a;o.calculateCardWidth=r;return o});
6
6
  //# sourceMappingURL=Device.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Device.js","names":["sap","ui","define","Device","DeviceWidth","Mobile","Tablet","Desktop","DeviceType","calculateDeviceType","width","arguments","length","undefined","resize","system","phone","LargeDesktop","fetchElementProperties","domRef","properties","oProperties","forEach","property","parseFloat","window","getComputedStyle","getPropertyValue","__exports","__esModule"],"sources":["Device.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\nimport Device from \"sap/ui/Device\";\n\n/** Device widths in px */\nconst DeviceWidth = {\n\tMobile: 600,\n\tTablet: 1024,\n\tDesktop: 1135\n};\n\nexport enum DeviceType {\n\tMobile = \"Mobile\",\n\tTablet = \"Tablet\",\n\tDesktop = \"Desktop\",\n\tLargeDesktop = \"LargeDesktop\"\n}\n\n/**\n * Calculates the device type based on the given width.\n *\n * @param {number} [width=Device.resize.width] - The width of the device. Defaults to the current device width.\n * @returns {DeviceType} - The calculated device type.\n */\nexport function calculateDeviceType(width: number = Device.resize.width): DeviceType {\n\tif (width < DeviceWidth.Mobile || Device.system.phone) {\n\t\treturn DeviceType.Mobile;\n\t} else if (width < DeviceWidth.Tablet) {\n\t\treturn DeviceType.Tablet;\n\t} else if (width < DeviceWidth.Desktop) {\n\t\treturn DeviceType.Desktop;\n\t} else {\n\t\treturn DeviceType.LargeDesktop;\n\t}\n}\n\n/**\n * Fetches the specified CSS properties of a given DOM element and returns them as a record.\n *\n * @param {Element} domRef - The DOM element from which to fetch the properties.\n * @param {string[]} properties - An array of property names to fetch.\n * @returns {Record<string, number>} - A record where the keys are property names and the values are the corresponding property values as numbers.\n */\nexport function fetchElementProperties(domRef: Element, properties: string[]): Record<string, number> {\n\tconst oProperties: Record<string, number> = {};\n\tproperties.forEach((property) => {\n\t\toProperties[property] = parseFloat(window.getComputedStyle(domRef).getPropertyValue(property));\n\t});\n\n\treturn oProperties;\n}\n"],"mappings":";;;;AAAAA,IAAAC,GAAAC,OAAA,2BAAAC,GAAA,aAQA,MAAMC,EAAc,CACnBC,OAAQ,IACRC,OAAQ,KACRC,QAAS,MACR,IAEUC,EAAU,SAAVA,KAAU,mBAAVA,EAAU,mBAAVA,EAAU,qBAAVA,EAAU,sCAAVA,CAAU,EAAVA,GAAU,IAaf,SAASC,IAAqE,IAAjDC,EAAaC,UAAAC,OAAA,GAAAD,UAAA,KAAAE,UAAAF,UAAA,GAAGR,EAAOW,OAAOJ,MACjE,GAAIA,EAAQN,EAAYC,QAAUF,EAAOY,OAAOC,MAAO,CACtD,OAAOR,EAAWH,MACnB,MAAO,GAAIK,EAAQN,EAAYE,OAAQ,CACtC,OAAOE,EAAWF,MACnB,MAAO,GAAII,EAAQN,EAAYG,QAAS,CACvC,OAAOC,EAAWD,OACnB,KAAO,CACN,OAAOC,EAAWS,YACnB,CACD,CASO,SAASC,EAAuBC,EAAiBC,GACvD,MAAMC,EAAsC,CAAC,EAC7CD,EAAWE,QAASC,IACnBF,EAAYE,GAAYC,WAAWC,OAAOC,iBAAiBP,GAAQQ,iBAAiBJ,GAAU,GAG/F,OAAOF,CACR,CAAC,IAAAO,EAAA,CAAAC,WAAA,MAAAD,EAAApB,aAAAoB,EAAAnB,sBAAAmB,EAAAV,yBAAA,OAAAU,CAAA","ignoreList":[]}
1
+ {"version":3,"file":"Device.js","names":["sap","ui","define","Device","DeviceWidth","Mobile","Tablet","Desktop","DeviceType","calculateDeviceType","width","arguments","length","undefined","resize","system","phone","LargeDesktop","fetchElementProperties","domRef","properties","oProperties","forEach","property","parseFloat","window","getComputedStyle","getPropertyValue","calculateCardWidth","cardLayoutConfig","gap","peekWidth","totalCards","Math","max","minWidth","min","containerWidth","maxWidth","mainCardWidth","cardCountToUse","totalGap","twoCardWidth","possibleCardCount","cardWidth","__exports","__esModule"],"sources":["Device.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\nimport Device from \"sap/ui/Device\";\n\ninterface CardLayoutConfig {\n\tcontainerWidth: number;\n\ttotalCards: number;\n\tminWidth: number;\n\tmaxWidth: number;\n}\n\n/** Device widths in px */\nconst DeviceWidth = {\n\tMobile: 624,\n\tTablet: 1024,\n\tDesktop: 1135\n};\n\nexport enum DeviceType {\n\tMobile = \"Mobile\",\n\tTablet = \"Tablet\",\n\tDesktop = \"Desktop\",\n\tLargeDesktop = \"LargeDesktop\"\n}\n\n/**\n * Calculates the device type based on the given width.\n *\n * @param {number} [width=Device.resize.width] - The width of the device. Defaults to the current device width.\n * @returns {DeviceType} - The calculated device type.\n */\nexport function calculateDeviceType(width: number = Device.resize.width): DeviceType {\n\tif (width < DeviceWidth.Mobile || Device.system.phone) {\n\t\treturn DeviceType.Mobile;\n\t} else if (width < DeviceWidth.Tablet) {\n\t\treturn DeviceType.Tablet;\n\t} else if (width < DeviceWidth.Desktop) {\n\t\treturn DeviceType.Desktop;\n\t} else {\n\t\treturn DeviceType.LargeDesktop;\n\t}\n}\n\n/**\n * Fetches the specified CSS properties of a given DOM element and returns them as a record.\n *\n * @param {Element} domRef - The DOM element from which to fetch the properties.\n * @param {string[]} properties - An array of property names to fetch.\n * @returns {Record<string, number>} - A record where the keys are property names and the values are the corresponding property values as numbers.\n */\nexport function fetchElementProperties(domRef: Element, properties: string[]): Record<string, number> {\n\tconst oProperties: Record<string, number> = {};\n\tproperties.forEach((property) => {\n\t\toProperties[property] = parseFloat(window.getComputedStyle(domRef).getPropertyValue(property));\n\t});\n\n\treturn oProperties;\n}\n\n/**\n * Calculates the card width based on the available width and certain constraints.\n *\n * @param {CardLayoutConfig} cardLayoutConfig - Card layout configuration containing container width, no. of cards, min and max width.\n * @returns {number} The calculated card width within specified constraints.\n */\nexport function calculateCardWidth(cardLayoutConfig: CardLayoutConfig): number {\n\tconst gap = 16;\n\n\tif (calculateDeviceType() === DeviceType.Mobile) {\n\t\tconst peekWidth = 76;\n\t\tif (cardLayoutConfig.totalCards === 1) {\n\t\t\t// Single card: full width, constrained\n\t\t\treturn Math.max(cardLayoutConfig.minWidth, Math.min(cardLayoutConfig.containerWidth, cardLayoutConfig.maxWidth));\n\t\t} else {\n\t\t\t// Calculate width of the first card, reserving space for the peek of the second\n\t\t\tconst mainCardWidth = cardLayoutConfig.containerWidth - peekWidth;\n\t\t\t// Clamp to min/max width\n\t\t\treturn Math.max(cardLayoutConfig.minWidth, Math.min(mainCardWidth, cardLayoutConfig.maxWidth));\n\t\t}\n\t}\n\n\tlet cardCountToUse: number;\n\n\t// Tablet mode: width between 600 and 1023\n\tif (calculateDeviceType() === DeviceType.Tablet && cardLayoutConfig.totalCards > 1) {\n\t\tconst totalGap = gap; // gap between 2 cards\n\t\tconst twoCardWidth = (cardLayoutConfig.containerWidth - totalGap) / 2;\n\n\t\tif (twoCardWidth >= cardLayoutConfig.minWidth && twoCardWidth <= cardLayoutConfig.maxWidth) {\n\t\t\tcardCountToUse = 2;\n\t\t} else {\n\t\t\tcardCountToUse = 1;\n\t\t}\n\t} else {\n\t\t// Step 1: How many cards *can* fit based on minWidth\n\t\tlet possibleCardCount = 1;\n\t\twhile (cardLayoutConfig.containerWidth / possibleCardCount >= cardLayoutConfig.minWidth + gap) {\n\t\t\tpossibleCardCount++;\n\t\t}\n\t\tpossibleCardCount--; // Last valid value\n\t\t// Step 2: If we have fewer cards than we *can* fit, stretch them\n\t\tcardCountToUse = Math.max(Math.min(possibleCardCount, cardLayoutConfig.totalCards), Math.min(cardLayoutConfig.totalCards, 3));\n\t}\n\tif (cardCountToUse <= 0) return cardLayoutConfig.minWidth;\n\tconst totalGap = (cardCountToUse - 1) * gap;\n\tconst cardWidth = (cardLayoutConfig.containerWidth - totalGap) / cardCountToUse;\n\treturn Math.min(Math.max(cardWidth, cardLayoutConfig.minWidth), cardLayoutConfig.maxWidth);\n}\n"],"mappings":";;;;AAAAA,IAAAC,GAAAC,OAAA,2BAAAC,GAAA,aAeA,MAAMC,EAAc,CACnBC,OAAQ,IACRC,OAAQ,KACRC,QAAS,MACR,IAEUC,EAAU,SAAVA,KAAU,mBAAVA,EAAU,mBAAVA,EAAU,qBAAVA,EAAU,sCAAVA,CAAU,EAAVA,GAAU,IAaf,SAASC,IAAqE,IAAjDC,EAAaC,UAAAC,OAAA,GAAAD,UAAA,KAAAE,UAAAF,UAAA,GAAGR,EAAOW,OAAOJ,MACjE,GAAIA,EAAQN,EAAYC,QAAUF,EAAOY,OAAOC,MAAO,CACtD,OAAOR,EAAWH,MACnB,MAAO,GAAIK,EAAQN,EAAYE,OAAQ,CACtC,OAAOE,EAAWF,MACnB,MAAO,GAAII,EAAQN,EAAYG,QAAS,CACvC,OAAOC,EAAWD,OACnB,KAAO,CACN,OAAOC,EAAWS,YACnB,CACD,CASO,SAASC,EAAuBC,EAAiBC,GACvD,MAAMC,EAAsC,CAAC,EAC7CD,EAAWE,QAASC,IACnBF,EAAYE,GAAYC,WAAWC,OAAOC,iBAAiBP,GAAQQ,iBAAiBJ,GAAU,GAG/F,OAAOF,CACR,CAQO,SAASO,EAAmBC,GAClC,MAAMC,EAAM,GAEZ,GAAIrB,MAA0BD,EAAWH,OAAQ,CAChD,MAAM0B,EAAY,GAClB,GAAIF,EAAiBG,aAAe,EAAG,CAEtC,OAAOC,KAAKC,IAAIL,EAAiBM,SAAUF,KAAKG,IAAIP,EAAiBQ,eAAgBR,EAAiBS,UACvG,KAAO,CAEN,MAAMC,EAAgBV,EAAiBQ,eAAiBN,EAExD,OAAOE,KAAKC,IAAIL,EAAiBM,SAAUF,KAAKG,IAAIG,EAAeV,EAAiBS,UACrF,CACD,CAEA,IAAIE,EAGJ,GAAI/B,MAA0BD,EAAWF,QAAUuB,EAAiBG,WAAa,EAAG,CACnF,MAAMS,EAAWX,EACjB,MAAMY,GAAgBb,EAAiBQ,eAAiBI,GAAY,EAEpE,GAAIC,GAAgBb,EAAiBM,UAAYO,GAAgBb,EAAiBS,SAAU,CAC3FE,EAAiB,CAClB,KAAO,CACNA,EAAiB,CAClB,CACD,KAAO,CAEN,IAAIG,EAAoB,EACxB,MAAOd,EAAiBQ,eAAiBM,GAAqBd,EAAiBM,SAAWL,EAAK,CAC9Fa,GACD,CACAA,IAEAH,EAAiBP,KAAKC,IAAID,KAAKG,IAAIO,EAAmBd,EAAiBG,YAAaC,KAAKG,IAAIP,EAAiBG,WAAY,GAC3H,CACA,GAAIQ,GAAkB,EAAG,OAAOX,EAAiBM,SACjD,MAAMM,GAAYD,EAAiB,GAAKV,EACxC,MAAMc,GAAaf,EAAiBQ,eAAiBI,GAAYD,EACjE,OAAOP,KAAKG,IAAIH,KAAKC,IAAIU,EAAWf,EAAiBM,UAAWN,EAAiBS,SAClF,CAAC,IAAAO,EAAA,CAAAC,WAAA,MAAAD,EAAArC,aAAAqC,EAAApC,sBAAAoC,EAAA3B,yBAAA2B,EAAAjB,qBAAA,OAAAiB,CAAA","ignoreList":[]}
@@ -5,9 +5,16 @@
5
5
 
6
6
  import Device from "sap/ui/Device";
7
7
 
8
+ interface CardLayoutConfig {
9
+ containerWidth: number;
10
+ totalCards: number;
11
+ minWidth: number;
12
+ maxWidth: number;
13
+ }
14
+
8
15
  /** Device widths in px */
9
16
  const DeviceWidth = {
10
- Mobile: 600,
17
+ Mobile: 624,
11
18
  Tablet: 1024,
12
19
  Desktop: 1135
13
20
  };
@@ -52,3 +59,53 @@ export function fetchElementProperties(domRef: Element, properties: string[]): R
52
59
 
53
60
  return oProperties;
54
61
  }
62
+
63
+ /**
64
+ * Calculates the card width based on the available width and certain constraints.
65
+ *
66
+ * @param {CardLayoutConfig} cardLayoutConfig - Card layout configuration containing container width, no. of cards, min and max width.
67
+ * @returns {number} The calculated card width within specified constraints.
68
+ */
69
+ export function calculateCardWidth(cardLayoutConfig: CardLayoutConfig): number {
70
+ const gap = 16;
71
+
72
+ if (calculateDeviceType() === DeviceType.Mobile) {
73
+ const peekWidth = 76;
74
+ if (cardLayoutConfig.totalCards === 1) {
75
+ // Single card: full width, constrained
76
+ return Math.max(cardLayoutConfig.minWidth, Math.min(cardLayoutConfig.containerWidth, cardLayoutConfig.maxWidth));
77
+ } else {
78
+ // Calculate width of the first card, reserving space for the peek of the second
79
+ const mainCardWidth = cardLayoutConfig.containerWidth - peekWidth;
80
+ // Clamp to min/max width
81
+ return Math.max(cardLayoutConfig.minWidth, Math.min(mainCardWidth, cardLayoutConfig.maxWidth));
82
+ }
83
+ }
84
+
85
+ let cardCountToUse: number;
86
+
87
+ // Tablet mode: width between 600 and 1023
88
+ if (calculateDeviceType() === DeviceType.Tablet && cardLayoutConfig.totalCards > 1) {
89
+ const totalGap = gap; // gap between 2 cards
90
+ const twoCardWidth = (cardLayoutConfig.containerWidth - totalGap) / 2;
91
+
92
+ if (twoCardWidth >= cardLayoutConfig.minWidth && twoCardWidth <= cardLayoutConfig.maxWidth) {
93
+ cardCountToUse = 2;
94
+ } else {
95
+ cardCountToUse = 1;
96
+ }
97
+ } else {
98
+ // Step 1: How many cards *can* fit based on minWidth
99
+ let possibleCardCount = 1;
100
+ while (cardLayoutConfig.containerWidth / possibleCardCount >= cardLayoutConfig.minWidth + gap) {
101
+ possibleCardCount++;
102
+ }
103
+ possibleCardCount--; // Last valid value
104
+ // Step 2: If we have fewer cards than we *can* fit, stretch them
105
+ cardCountToUse = Math.max(Math.min(possibleCardCount, cardLayoutConfig.totalCards), Math.min(cardLayoutConfig.totalCards, 3));
106
+ }
107
+ if (cardCountToUse <= 0) return cardLayoutConfig.minWidth;
108
+ const totalGap = (cardCountToUse - 1) * gap;
109
+ const cardWidth = (cardLayoutConfig.containerWidth - totalGap) / cardCountToUse;
110
+ return Math.min(Math.max(cardWidth, cardLayoutConfig.minWidth), cardLayoutConfig.maxWidth);
111
+ }
@@ -78,6 +78,30 @@ sap.ui.define(["sap/ui/core/Element", "./FESRUtil"], function (UI5Element, ___FE
78
78
  return aIndex - bIndex;
79
79
  });
80
80
  };
81
+
82
+ /**
83
+ * Compares two intent objects to determine if they are equal.
84
+ *
85
+ * The function checks the following conditions:
86
+ * 1. If both objects are empty (i.e., have no keys), they are considered equal.
87
+ * 2. If both objects have keys, their `semanticObject` and `action` properties are compared for equality.
88
+ * 3. If either object is `undefined` or the conditions above are not met, they are considered not equal.
89
+ *
90
+ * @param targetA - The first intent object to compare.
91
+ * @param targetB - The second intent object to compare.
92
+ * @returns `true` if the objects are considered equal, otherwise `false`.
93
+ */
94
+ const targetsAreEqual = (targetA, targetB) => {
95
+ // Check if both are empty objects
96
+ if (targetA && targetB) {
97
+ if (Object.keys(targetA).length === 0 && Object.keys(targetB).length === 0) {
98
+ return true;
99
+ } else if (Object.keys(targetA).length && Object.keys(targetB).length) {
100
+ return targetA.semanticObject === targetB.semanticObject && targetA.action === targetB.action;
101
+ }
102
+ }
103
+ return false;
104
+ };
81
105
  var __exports = {
82
106
  __esModule: true
83
107
  };
@@ -86,6 +110,7 @@ sap.ui.define(["sap/ui/core/Element", "./FESRUtil"], function (UI5Element, ___FE
86
110
  __exports.createShowMoreMenuItem = createShowMoreMenuItem;
87
111
  __exports.createShowMoreActionButton = createShowMoreActionButton;
88
112
  __exports.sortMenuItems = sortMenuItems;
113
+ __exports.targetsAreEqual = targetsAreEqual;
89
114
  return __exports;
90
115
  });
91
116
  //# sourceMappingURL=InsightsUtils-dbg.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InsightsUtils-dbg.js","names":["sap","ui","define","UI5Element","___FESRUtil","addFESRId","getAssociatedFullScreenMenuItem","control","getElementById","getAssociation","getAssociatedFullScreenButton","createShowMoreMenuItem","id","fesrId","associatedFullScreenMenuItem","menuItem","clone","createShowMoreActionButton","associatedFullScreenButton","actionButton","sortMenuItems","menuItemOrder","menuItems","sort","a","b","aId","getId","bId","aIndex","findIndex","includes","bIndex","__exports","__esModule"],"sources":["InsightsUtils.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nimport Button from \"sap/m/Button\";\nimport UI5Element from \"sap/ui/core/Element\";\nimport MenuItem from \"../MenuItem\";\nimport { addFESRId } from \"./FESRUtil\";\n\n/**\n * Retrieves the associated full screen menu item.\n *\n * @returns {MenuItem} The associated full screen menu item.\n * @private\n */\nexport const getAssociatedFullScreenMenuItem = (control: UI5Element) => {\n\treturn UI5Element.getElementById(control.getAssociation(\"fullScreenMenuItem\", null) as string) as MenuItem;\n};\n\n/**\n * Retrieves the associated full screen button.\n *\n * @returns {Button} The associated full screen button.\n * @private\n *\n */\nexport const getAssociatedFullScreenButton = (control: UI5Element) => {\n\treturn UI5Element.getElementById(control.getAssociation(\"fullScreenButton\", null) as string) as Button;\n};\n\n/**\n * Creates a \"Show More\" menu item.\n *\n * @private\n * @param {string} id - The ID of the menu item.\n * @param {string} [fesrId] - The FESR ID for the menu item.\n * @returns {MenuItem} The created MenuItem instance.\n */\nexport const createShowMoreMenuItem = (control: UI5Element, id: string, fesrId?: string) => {\n\tconst associatedFullScreenMenuItem = getAssociatedFullScreenMenuItem(control);\n\tconst menuItem = associatedFullScreenMenuItem?.clone(id);\n\tif (fesrId) {\n\t\taddFESRId(menuItem, fesrId);\n\t}\n\n\treturn menuItem;\n};\n\n/**\n * Creates a \"Show More\" action button.\n *\n * @private\n * @param {string} id - The ID of the button.\n * @param {string} [fesrId] - The FESR ID for the button.\n * @returns {Button} The created Button instance.\n */\nexport const createShowMoreActionButton = (control: UI5Element, id: string, fesrId?: string) => {\n\tconst associatedFullScreenButton = getAssociatedFullScreenButton(control);\n\tconst actionButton = associatedFullScreenButton ? associatedFullScreenButton.clone(id) : null;\n\tif (fesrId && actionButton) {\n\t\taddFESRId(actionButton, fesrId);\n\t}\n\n\treturn actionButton;\n};\n\n/**\n * Sort Menuitems based on the order provided\n *\n * @private\n * @param {string[]} menuItemOrder - The Ids of the menu item in the order in which to be sorted.\n * @param {MenuItem[]} menuItems- The menuitems list to be sorted.\n * @returns {MenuItem[]} The sorted MenuItems.\n */\nexport const sortMenuItems = (menuItemOrder: string[], menuItems: MenuItem[]) => {\n\treturn menuItems?.sort((a, b) => {\n\t\tconst aId = a.getId();\n\t\tconst bId = b.getId();\n\t\tconst aIndex = menuItemOrder.findIndex((id) => aId.includes(id));\n\t\tconst bIndex = menuItemOrder.findIndex((id) => bId.includes(id));\n\t\treturn aIndex - bIndex;\n\t});\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,kDAAAC,UAAA,EAAAC,WAAA;EAAA;;EAAA,MAOSC,SAAS,GAAAD,WAAA;EAElB;AACA;AACA;AACA;AACA;AACA;EACO,MAAME,+BAA+B,GAAIC,OAAmB,IAAK;IACvE,OAAOJ,UAAU,CAACK,cAAc,CAACD,OAAO,CAACE,cAAc,CAAC,oBAAoB,EAAE,IAAI,CAAW,CAAC;EAC/F,CAAC;;EAED;AACA;AACA;AACA;AACA;AACA;AACA;EACO,MAAMC,6BAA6B,GAAIH,OAAmB,IAAK;IACrE,OAAOJ,UAAU,CAACK,cAAc,CAACD,OAAO,CAACE,cAAc,CAAC,kBAAkB,EAAE,IAAI,CAAW,CAAC;EAC7F,CAAC;;EAED;AACA;AACA;AACA;AACA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M,GAAGG,MAAM;IACvB,CAAC,CAAC;EACH,CAAC;EAAC,IAAAC,SAAA;IAAAC,UAAA;EAAA;EAAAD,SAAA,CAAA3B,+BAAA,GAAAA,+BAAA;EAAA2B,SAAA,CAAAvB,6BAAA,GAAAA,6BAAA;EAAAuB,SAAA,CAAAtB,sBAAA,GAAAA,sBAAA;EAAAsB,SAAA,CAAAhB,0BAAA,GAAAA,0BAAA;EAAAgB,SAAA,CAAAb,aAAA,GAAAA,aAAA;EAAA,OAAAa,SAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"file":"InsightsUtils-dbg.js","names":["sap","ui","define","UI5Element","___FESRUtil","addFESRId","getAssociatedFullScreenMenuItem","control","getElementById","getAssociation","getAssociatedFullScreenButton","createShowMoreMenuItem","id","fesrId","associatedFullScreenMenuItem","menuItem","clone","createShowMoreActionButton","associatedFullScreenButton","actionButton","sortMenuItems","menuItemOrder","menuItems","sort","a","b","aId","getId","bId","aIndex","findIndex","includes","bIndex","targetsAreEqual","targetA","targetB","Object","keys","length","semanticObject","action","__exports","__esModule"],"sources":["InsightsUtils.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nimport Button from \"sap/m/Button\";\nimport UI5Element from \"sap/ui/core/Element\";\nimport { Intent } from \"sap/ushell/services/AppLifeCycle\";\nimport MenuItem from \"../MenuItem\";\nimport { addFESRId } from \"./FESRUtil\";\n\n/**\n * Retrieves the associated full screen menu item.\n *\n * @returns {MenuItem} The associated full screen menu item.\n * @private\n */\nexport const getAssociatedFullScreenMenuItem = (control: UI5Element) => {\n\treturn UI5Element.getElementById(control.getAssociation(\"fullScreenMenuItem\", null) as string) as MenuItem;\n};\n\n/**\n * Retrieves the associated full screen button.\n *\n * @returns {Button} The associated full screen button.\n * @private\n *\n */\nexport const getAssociatedFullScreenButton = (control: UI5Element) => {\n\treturn UI5Element.getElementById(control.getAssociation(\"fullScreenButton\", null) as string) as Button;\n};\n\n/**\n * Creates a \"Show More\" menu item.\n *\n * @private\n * @param {string} id - The ID of the menu item.\n * @param {string} [fesrId] - The FESR ID for the menu item.\n * @returns {MenuItem} The created MenuItem instance.\n */\nexport const createShowMoreMenuItem = (control: UI5Element, id: string, fesrId?: string) => {\n\tconst associatedFullScreenMenuItem = getAssociatedFullScreenMenuItem(control);\n\tconst menuItem = associatedFullScreenMenuItem?.clone(id);\n\tif (fesrId) {\n\t\taddFESRId(menuItem, fesrId);\n\t}\n\n\treturn menuItem;\n};\n\n/**\n * Creates a \"Show More\" action button.\n *\n * @private\n * @param {string} id - The ID of the button.\n * @param {string} [fesrId] - The FESR ID for the button.\n * @returns {Button} The created Button instance.\n */\nexport const createShowMoreActionButton = (control: UI5Element, id: string, fesrId?: string) => {\n\tconst associatedFullScreenButton = getAssociatedFullScreenButton(control);\n\tconst actionButton = associatedFullScreenButton ? associatedFullScreenButton.clone(id) : null;\n\tif (fesrId && actionButton) {\n\t\taddFESRId(actionButton, fesrId);\n\t}\n\n\treturn actionButton;\n};\n\n/**\n * Sort Menuitems based on the order provided\n *\n * @private\n * @param {string[]} menuItemOrder - The Ids of the menu item in the order in which to be sorted.\n * @param {MenuItem[]} menuItems- The menuitems list to be sorted.\n * @returns {MenuItem[]} The sorted MenuItems.\n */\nexport const sortMenuItems = (menuItemOrder: string[], menuItems: MenuItem[]) => {\n\treturn menuItems?.sort((a, b) => {\n\t\tconst aId = a.getId();\n\t\tconst bId = b.getId();\n\t\tconst aIndex = menuItemOrder.findIndex((id) => aId.includes(id));\n\t\tconst bIndex = menuItemOrder.findIndex((id) => bId.includes(id));\n\t\treturn aIndex - bIndex;\n\t});\n};\n\n/**\n * Compares two intent objects to determine if they are equal.\n *\n * The function checks the following conditions:\n * 1. If both objects are empty (i.e., have no keys), they are considered equal.\n * 2. If both objects have keys, their `semanticObject` and `action` properties are compared for equality.\n * 3. If either object is `undefined` or the conditions above are not met, they are considered not equal.\n *\n * @param targetA - The first intent object to compare.\n * @param targetB - The second intent object to compare.\n * @returns `true` if the objects are considered equal, otherwise `false`.\n */\nexport const targetsAreEqual = (targetA?: Partial<Intent>, targetB?: Partial<Intent>): boolean => {\n\t// Check if both are empty objects\n\tif (targetA && targetB) {\n\t\tif (Object.keys(targetA).length === 0 && Object.keys(targetB).length === 0) {\n\t\t\treturn true;\n\t\t} else if (Object.keys(targetA).length && Object.keys(targetB).length) {\n\t\t\treturn targetA.semanticObject === targetB.semanticObject && targetA.action === targetB.action;\n\t\t}\n\t}\n\treturn false;\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,kDAAAC,UAAA,EAAAC,WAAA;EAAA;;EAAA,MAQSC,SAAS,GAAAD,WAAA;EAElB;AACA;AACA;AACA;AACA;AACA;EACO,MAAME,+BAA+B,GAAIC,OAAmB,IAAK;IACvE,OAAOJ,UAAU,CAACK,cAAc,CAACD,OAAO,CAACE,cAAc,CAAC,oBAAoB,EAAE,IAAI,CAAW,CAAC;EAC/F,CAAC;;EAED;AACA;AACA;AACA;AACA;AACA;AACA;EACO,MAAMC,6BAA6B,GAAIH,OAAmB,IAAK;IACrE,OAAOJ,UAAU,CAACK,cAAc,CAACD,OAAO,CAACE,cAAc,CAAC,kBAAkB,EAAE,IAAI,CAAW,CAAC;EAC7F,CAAC;;EAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACO,MAAME,sBAAsB,GAAGA,CAACJ,OAAmB,EAAEK,EAAU,EAAEC,MAAe,KAAK;IAC3F,MAAMC,4BAA4B,GAAGR,+BAA+B,CAACC,OAAO,CAAC;IAC7E,MAAMQ,QAAQ,GAAGD,4BAA4B,EAAEE,KAAK,CAACJ,EAAE,CAAC;IACxD,IAAIC,MAAM,EAAE;MACXR,SAAS,CAACU,QAAQ,EAAEF,MAAM,CAAC;IAC5B;IAEA,OAAOE,QAAQ;EAChB,CAAC;;EAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACO,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MACZ,CAAC,MAAM,IAAIF,MAAM,CAACC,IAAI,CAACH,OAAO,CAAC,CAACI,MAAM,IAAIF,MAAM,CAACC,IAAI,CAACF,OAAO,CAAC,CAACG,MAAM,EAAE;QACtE,OAAOJ,OAAO,CAACK,cAAc,KAAKJ,OAAO,CAACI,cAAc,IAAIL,OAAO,CAACM,MAAM,KAAKL,OAAO,CAACK,MAAM;MAC9F;IACD;IACA,OAAO,KAAK;EACb,CAAC;EAAC,IAAAC,SAAA;IAAAC,UAAA;EAAA;EAAAD,SAAA,CAAAnC,+BAAA,GAAAA,+BAAA;EAAAmC,SAAA,CAAA/B,6BAAA,GAAAA,6BAAA;EAAA+B,SAAA,CAAA9B,sBAAA,GAAAA,sBAAA;EAAA8B,SAAA,CAAAxB,0BAAA,GAAAA,0BAAA;EAAAwB,SAAA,CAAArB,aAAA,GAAAA,aAAA;EAAAqB,SAAA,CAAAR,eAAA,GAAAA,eAAA;EAAA,OAAAQ,SAAA;AAAA","ignoreList":[]}
@@ -5,6 +5,7 @@ declare module "sap/cux/home/utils/InsightsUtils" {
5
5
  */
6
6
  import Button from "sap/m/Button";
7
7
  import UI5Element from "sap/ui/core/Element";
8
+ import { Intent } from "sap/ushell/services/AppLifeCycle";
8
9
  import MenuItem from "sap/cux/home/MenuItem";
9
10
  /**
10
11
  * Retrieves the associated full screen menu item.
@@ -48,5 +49,18 @@ declare module "sap/cux/home/utils/InsightsUtils" {
48
49
  * @returns {MenuItem[]} The sorted MenuItems.
49
50
  */
50
51
  const sortMenuItems: (menuItemOrder: string[], menuItems: MenuItem[]) => MenuItem[];
52
+ /**
53
+ * Compares two intent objects to determine if they are equal.
54
+ *
55
+ * The function checks the following conditions:
56
+ * 1. If both objects are empty (i.e., have no keys), they are considered equal.
57
+ * 2. If both objects have keys, their `semanticObject` and `action` properties are compared for equality.
58
+ * 3. If either object is `undefined` or the conditions above are not met, they are considered not equal.
59
+ *
60
+ * @param targetA - The first intent object to compare.
61
+ * @param targetB - The second intent object to compare.
62
+ * @returns `true` if the objects are considered equal, otherwise `false`.
63
+ */
64
+ const targetsAreEqual: (targetA?: Partial<Intent>, targetB?: Partial<Intent>) => boolean;
51
65
  }
52
66
  //# sourceMappingURL=InsightsUtils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InsightsUtils.d.ts","sourceRoot":"../../../../../..","sources":["src/sap/cux/home/utils/InsightsUtils.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,kCAAkC,CAAC;IAClD;;;OAGG;IACH,OAAO,MAAM,MAAM,cAAc,CAAC;IAClC,OAAO,UAAU,MAAM,qBAAqB,CAAC;IAC7C,OAAO,QAAQ,MAAM,uBAAuB,CAAC;IAG7C;;;;;OAKG;IACI,MAAM,+BAA+B,GAAI,SAAS,UAAU,KACgC,QAClG,CAAC;IAEF;;;;;;OAMG;IACI,MAAM,6BAA6B,GAAI,SAAS,UAAU,KACgC,MAChG,CAAC;IAEF;;;;;;;OAOG;IACI,MAAM,sBAAsB,GAAI,SAAS,UAAU,EAAE,IAAI,MAAM,EAAE,SAAS,MAAM,aAQtF,CAAC;IAEF;;;;;;;OAOG;IACI,MAAM,0BAA0B,GAAI,SAAS,UAAU,EAAE,IAAI,MAAM,EAAE,SAAS,MAAM,WAQ1F,CAAC;IAEF;;;;;;;OAOG;IACI,MAAM,aAAa,GAAI,eAAe,MAAM,EAAE,EAAE,WAAW,QAAQ,EAAE,eAQ3E,CAAC;CAED"}
1
+ {"version":3,"file":"InsightsUtils.d.ts","sourceRoot":"../../../../../..","sources":["src/sap/cux/home/utils/InsightsUtils.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,kCAAkC,CAAC;IAClD;;;OAGG;IACH,OAAO,MAAM,MAAM,cAAc,CAAC;IAClC,OAAO,UAAU,MAAM,qBAAqB,CAAC;IAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;IAC1D,OAAO,QAAQ,MAAM,uBAAuB,CAAC;IAG7C;;;;;OAKG;IACI,MAAM,+BAA+B,GAAI,SAAS,UAAU,KACgC,QAClG,CAAC;IAEF;;;;;;OAMG;IACI,MAAM,6BAA6B,GAAI,SAAS,UAAU,KACgC,MAChG,CAAC;IAEF;;;;;;;OAOG;IACI,MAAM,sBAAsB,GAAI,SAAS,UAAU,EAAE,IAAI,MAAM,EAAE,SAAS,MAAM,aAQtF,CAAC;IAEF;;;;;;;OAOG;IACI,MAAM,0BAA0B,GAAI,SAAS,UAAU,EAAE,IAAI,MAAM,EAAE,SAAS,MAAM,WAQ1F,CAAC;IAEF;;;;;;;OAOG;IACI,MAAM,aAAa,GAAI,eAAe,MAAM,EAAE,EAAE,WAAW,QAAQ,EAAE,eAQ3E,CAAC;IAEF;;;;;;;;;;;OAWG;IACI,MAAM,eAAe,GAAI,UAAU,OAAO,CAAC,MAAM,CAAC,EAAE,UAAU,OAAO,CAAC,MAAM,CAAC,KAAG,OAUtF,CAAC;CAED"}
@@ -2,5 +2,5 @@
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
3
  * * (c) Copyright 2009-2025 SAP SE. All rights reserved
4
4
  */
5
- sap.ui.define(["sap/ui/core/Element","./FESRUtil"],function(e,t){"use strict";const n=t["addFESRId"];const o=t=>e.getElementById(t.getAssociation("fullScreenMenuItem",null));const c=t=>e.getElementById(t.getAssociation("fullScreenButton",null));const s=(e,t,c)=>{const s=o(e);const u=s?.clone(t);if(c){n(u,c)}return u};const u=(e,t,o)=>{const s=c(e);const u=s?s.clone(t):null;if(o&&u){n(u,o)}return u};const l=(e,t)=>t?.sort((t,n)=>{const o=t.getId();const c=n.getId();const s=e.findIndex(e=>o.includes(e));const u=e.findIndex(e=>c.includes(e));return s-u});var r={__esModule:true};r.getAssociatedFullScreenMenuItem=o;r.getAssociatedFullScreenButton=c;r.createShowMoreMenuItem=s;r.createShowMoreActionButton=u;r.sortMenuItems=l;return r});
5
+ sap.ui.define(["sap/ui/core/Element","./FESRUtil"],function(e,t){"use strict";const n=t["addFESRId"];const c=t=>e.getElementById(t.getAssociation("fullScreenMenuItem",null));const s=t=>e.getElementById(t.getAssociation("fullScreenButton",null));const o=(e,t,s)=>{const o=c(e);const r=o?.clone(t);if(s){n(r,s)}return r};const r=(e,t,c)=>{const o=s(e);const r=o?o.clone(t):null;if(c&&r){n(r,c)}return r};const u=(e,t)=>t?.sort((t,n)=>{const c=t.getId();const s=n.getId();const o=e.findIndex(e=>c.includes(e));const r=e.findIndex(e=>s.includes(e));return o-r});const l=(e,t)=>{if(e&&t){if(Object.keys(e).length===0&&Object.keys(t).length===0){return true}else if(Object.keys(e).length&&Object.keys(t).length){return e.semanticObject===t.semanticObject&&e.action===t.action}}return false};var i={__esModule:true};i.getAssociatedFullScreenMenuItem=c;i.getAssociatedFullScreenButton=s;i.createShowMoreMenuItem=o;i.createShowMoreActionButton=r;i.sortMenuItems=u;i.targetsAreEqual=l;return i});
6
6
  //# sourceMappingURL=InsightsUtils.js.map