@sapui5/sap.cux.home 1.136.3 → 1.139.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 (446) hide show
  1. package/package.json +1 -1
  2. package/src/sap/cux/home/.library +1 -1
  3. package/src/sap/cux/home/AdvancedSettingsPanel.d.ts +0 -3
  4. package/src/sap/cux/home/AdvancedSettingsPanel.d.ts.map +1 -1
  5. package/src/sap/cux/home/AdvancedSettingsPanel.js +11 -7
  6. package/src/sap/cux/home/AdvancedSettingsPanel.js.map +1 -1
  7. package/src/sap/cux/home/AdvancedSettingsPanel.ts +13 -7
  8. package/src/sap/cux/home/App.d.ts +1 -2
  9. package/src/sap/cux/home/App.d.ts.map +1 -1
  10. package/src/sap/cux/home/App.js +7 -2
  11. package/src/sap/cux/home/App.js.map +1 -1
  12. package/src/sap/cux/home/App.ts +8 -3
  13. package/src/sap/cux/home/AppsAdditionPanel.d.ts +0 -2
  14. package/src/sap/cux/home/AppsAdditionPanel.d.ts.map +1 -1
  15. package/src/sap/cux/home/AppsAdditionPanel.js +31 -15
  16. package/src/sap/cux/home/AppsAdditionPanel.js.map +1 -1
  17. package/src/sap/cux/home/AppsAdditionPanel.ts +36 -16
  18. package/src/sap/cux/home/AppsContainer.d.ts +0 -2
  19. package/src/sap/cux/home/AppsContainer.d.ts.map +1 -1
  20. package/src/sap/cux/home/AppsContainer.js +5 -8
  21. package/src/sap/cux/home/AppsContainer.js.map +1 -1
  22. package/src/sap/cux/home/AppsContainer.ts +3 -8
  23. package/src/sap/cux/home/BaseApp.d.ts +2 -2
  24. package/src/sap/cux/home/BaseApp.d.ts.map +1 -1
  25. package/src/sap/cux/home/BaseApp.js +10 -3
  26. package/src/sap/cux/home/BaseApp.js.map +1 -1
  27. package/src/sap/cux/home/BaseApp.ts +11 -4
  28. package/src/sap/cux/home/BaseAppPanel.d.ts +0 -2
  29. package/src/sap/cux/home/BaseAppPanel.d.ts.map +1 -1
  30. package/src/sap/cux/home/BaseAppPanel.js +5 -6
  31. package/src/sap/cux/home/BaseAppPanel.js.map +1 -1
  32. package/src/sap/cux/home/BaseAppPanel.ts +3 -5
  33. package/src/sap/cux/home/BaseAppPersPanel.d.ts +0 -2
  34. package/src/sap/cux/home/BaseAppPersPanel.d.ts.map +1 -1
  35. package/src/sap/cux/home/BaseAppPersPanel.js +6 -6
  36. package/src/sap/cux/home/BaseAppPersPanel.js.map +1 -1
  37. package/src/sap/cux/home/BaseAppPersPanel.ts +9 -7
  38. package/src/sap/cux/home/BaseContainer.d.ts +0 -1
  39. package/src/sap/cux/home/BaseContainer.d.ts.map +1 -1
  40. package/src/sap/cux/home/BaseContainer.js +10 -5
  41. package/src/sap/cux/home/BaseContainer.js.map +1 -1
  42. package/src/sap/cux/home/BaseContainer.ts +10 -5
  43. package/src/sap/cux/home/BaseContainerRenderer.d.ts +4 -4
  44. package/src/sap/cux/home/BaseContainerRenderer.d.ts.map +1 -1
  45. package/src/sap/cux/home/BaseContainerRenderer.js +17 -19
  46. package/src/sap/cux/home/BaseContainerRenderer.js.map +1 -1
  47. package/src/sap/cux/home/BaseContainerRenderer.ts +21 -25
  48. package/src/sap/cux/home/BaseLayout.d.ts +0 -1
  49. package/src/sap/cux/home/BaseLayout.d.ts.map +1 -1
  50. package/src/sap/cux/home/BaseLayout.js +1 -2
  51. package/src/sap/cux/home/BaseLayout.js.map +1 -1
  52. package/src/sap/cux/home/BaseLayout.ts +1 -2
  53. package/src/sap/cux/home/BaseNewsItem.d.ts +1 -2
  54. package/src/sap/cux/home/BaseNewsItem.d.ts.map +1 -1
  55. package/src/sap/cux/home/BaseNewsItem.js +7 -2
  56. package/src/sap/cux/home/BaseNewsItem.js.map +1 -1
  57. package/src/sap/cux/home/BaseNewsItem.ts +8 -3
  58. package/src/sap/cux/home/BaseNewsPanel.d.ts +1 -2
  59. package/src/sap/cux/home/BaseNewsPanel.d.ts.map +1 -1
  60. package/src/sap/cux/home/BaseNewsPanel.js +7 -2
  61. package/src/sap/cux/home/BaseNewsPanel.js.map +1 -1
  62. package/src/sap/cux/home/BaseNewsPanel.ts +8 -3
  63. package/src/sap/cux/home/BasePagePanel.d.ts +1 -2
  64. package/src/sap/cux/home/BasePagePanel.d.ts.map +1 -1
  65. package/src/sap/cux/home/BasePagePanel.gen.d.ts +34 -0
  66. package/src/sap/cux/home/BasePagePanel.js +16 -2
  67. package/src/sap/cux/home/BasePagePanel.js.map +1 -1
  68. package/src/sap/cux/home/BasePagePanel.ts +17 -3
  69. package/src/sap/cux/home/BasePanel.d.ts +0 -1
  70. package/src/sap/cux/home/BasePanel.d.ts.map +1 -1
  71. package/src/sap/cux/home/BasePanel.js +0 -1
  72. package/src/sap/cux/home/BasePanel.js.map +1 -1
  73. package/src/sap/cux/home/BasePanel.ts +0 -1
  74. package/src/sap/cux/home/BaseSettingsDialog.d.ts +0 -1
  75. package/src/sap/cux/home/BaseSettingsDialog.d.ts.map +1 -1
  76. package/src/sap/cux/home/BaseSettingsDialog.js +0 -1
  77. package/src/sap/cux/home/BaseSettingsDialog.js.map +1 -1
  78. package/src/sap/cux/home/BaseSettingsDialog.ts +0 -1
  79. package/src/sap/cux/home/BaseSettingsPanel.d.ts +0 -1
  80. package/src/sap/cux/home/BaseSettingsPanel.d.ts.map +1 -1
  81. package/src/sap/cux/home/BaseSettingsPanel.js +2 -2
  82. package/src/sap/cux/home/BaseSettingsPanel.js.map +1 -1
  83. package/src/sap/cux/home/BaseSettingsPanel.ts +3 -2
  84. package/src/sap/cux/home/CardsPanel.d.ts +0 -1
  85. package/src/sap/cux/home/CardsPanel.d.ts.map +1 -1
  86. package/src/sap/cux/home/CardsPanel.js +3 -4
  87. package/src/sap/cux/home/CardsPanel.js.map +1 -1
  88. package/src/sap/cux/home/CardsPanel.ts +3 -7
  89. package/src/sap/cux/home/ContentAdditionDialog.d.ts +0 -3
  90. package/src/sap/cux/home/ContentAdditionDialog.d.ts.map +1 -1
  91. package/src/sap/cux/home/ContentAdditionDialog.js +4 -8
  92. package/src/sap/cux/home/ContentAdditionDialog.js.map +1 -1
  93. package/src/sap/cux/home/ContentAdditionDialog.ts +4 -8
  94. package/src/sap/cux/home/ErrorPanel.d.ts +1 -2
  95. package/src/sap/cux/home/ErrorPanel.d.ts.map +1 -1
  96. package/src/sap/cux/home/ErrorPanel.gen.d.ts +24 -0
  97. package/src/sap/cux/home/ErrorPanel.js +16 -2
  98. package/src/sap/cux/home/ErrorPanel.js.map +1 -1
  99. package/src/sap/cux/home/ErrorPanel.ts +17 -3
  100. package/src/sap/cux/home/FavAppPanel.d.ts +0 -1
  101. package/src/sap/cux/home/FavAppPanel.d.ts.map +1 -1
  102. package/src/sap/cux/home/FavAppPanel.js +15 -12
  103. package/src/sap/cux/home/FavAppPanel.js.map +1 -1
  104. package/src/sap/cux/home/FavAppPanel.ts +20 -15
  105. package/src/sap/cux/home/FrequentAppPanel.d.ts +0 -1
  106. package/src/sap/cux/home/FrequentAppPanel.d.ts.map +1 -1
  107. package/src/sap/cux/home/FrequentAppPanel.js +0 -1
  108. package/src/sap/cux/home/FrequentAppPanel.js.map +1 -1
  109. package/src/sap/cux/home/FrequentAppPanel.ts +0 -1
  110. package/src/sap/cux/home/Group.d.ts +2 -2
  111. package/src/sap/cux/home/Group.d.ts.map +1 -1
  112. package/src/sap/cux/home/Group.gen.d.ts +47 -1
  113. package/src/sap/cux/home/Group.js +30 -3
  114. package/src/sap/cux/home/Group.js.map +1 -1
  115. package/src/sap/cux/home/Group.ts +26 -6
  116. package/src/sap/cux/home/IToDoPanel.d.ts +1 -2
  117. package/src/sap/cux/home/IToDoPanel.d.ts.map +1 -1
  118. package/src/sap/cux/home/IToDoPanel.js.map +1 -1
  119. package/src/sap/cux/home/IToDoPanel.ts +1 -2
  120. package/src/sap/cux/home/InsightsAdditionPanel.d.ts +0 -4
  121. package/src/sap/cux/home/InsightsAdditionPanel.d.ts.map +1 -1
  122. package/src/sap/cux/home/InsightsAdditionPanel.js +5 -14
  123. package/src/sap/cux/home/InsightsAdditionPanel.js.map +1 -1
  124. package/src/sap/cux/home/InsightsAdditionPanel.ts +5 -16
  125. package/src/sap/cux/home/InsightsCardsSettingsPanel.d.ts +0 -3
  126. package/src/sap/cux/home/InsightsCardsSettingsPanel.d.ts.map +1 -1
  127. package/src/sap/cux/home/InsightsCardsSettingsPanel.js +0 -3
  128. package/src/sap/cux/home/InsightsCardsSettingsPanel.js.map +1 -1
  129. package/src/sap/cux/home/InsightsCardsSettingsPanel.ts +0 -3
  130. package/src/sap/cux/home/InsightsContainer.d.ts +1 -2
  131. package/src/sap/cux/home/InsightsContainer.d.ts.map +1 -1
  132. package/src/sap/cux/home/InsightsContainer.js +21 -5
  133. package/src/sap/cux/home/InsightsContainer.js.map +1 -1
  134. package/src/sap/cux/home/InsightsContainer.ts +24 -5
  135. package/src/sap/cux/home/InsightsTilesSettingsPanel.d.ts +0 -3
  136. package/src/sap/cux/home/InsightsTilesSettingsPanel.d.ts.map +1 -1
  137. package/src/sap/cux/home/InsightsTilesSettingsPanel.js +5 -5
  138. package/src/sap/cux/home/InsightsTilesSettingsPanel.js.map +1 -1
  139. package/src/sap/cux/home/InsightsTilesSettingsPanel.ts +5 -5
  140. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.d.ts +0 -3
  141. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.d.ts.map +1 -1
  142. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js +0 -3
  143. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js.map +1 -1
  144. package/src/sap/cux/home/KeyUserLayoutSettingsPanel.ts +0 -3
  145. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.d.ts +0 -3
  146. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.d.ts.map +1 -1
  147. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js +0 -3
  148. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js.map +1 -1
  149. package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.ts +0 -3
  150. package/src/sap/cux/home/KeyUserNewsSettingsPanel.d.ts +0 -3
  151. package/src/sap/cux/home/KeyUserNewsSettingsPanel.d.ts.map +1 -1
  152. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js +4 -6
  153. package/src/sap/cux/home/KeyUserNewsSettingsPanel.js.map +1 -1
  154. package/src/sap/cux/home/KeyUserNewsSettingsPanel.ts +13 -8
  155. package/src/sap/cux/home/KeyUserPagesSettingsPanel.d.ts +0 -3
  156. package/src/sap/cux/home/KeyUserPagesSettingsPanel.d.ts.map +1 -1
  157. package/src/sap/cux/home/KeyUserPagesSettingsPanel.js +0 -3
  158. package/src/sap/cux/home/KeyUserPagesSettingsPanel.js.map +1 -1
  159. package/src/sap/cux/home/KeyUserPagesSettingsPanel.ts +0 -3
  160. package/src/sap/cux/home/KeyUserSettingsDialog.d.ts +0 -3
  161. package/src/sap/cux/home/KeyUserSettingsDialog.d.ts.map +1 -1
  162. package/src/sap/cux/home/KeyUserSettingsDialog.js +0 -3
  163. package/src/sap/cux/home/KeyUserSettingsDialog.js.map +1 -1
  164. package/src/sap/cux/home/KeyUserSettingsDialog.ts +0 -3
  165. package/src/sap/cux/home/Layout.d.ts +0 -2
  166. package/src/sap/cux/home/Layout.d.ts.map +1 -1
  167. package/src/sap/cux/home/Layout.js +0 -2
  168. package/src/sap/cux/home/Layout.js.map +1 -1
  169. package/src/sap/cux/home/Layout.ts +0 -3
  170. package/src/sap/cux/home/LayoutSettingsPanel.d.ts +0 -3
  171. package/src/sap/cux/home/LayoutSettingsPanel.d.ts.map +1 -1
  172. package/src/sap/cux/home/LayoutSettingsPanel.js +0 -3
  173. package/src/sap/cux/home/LayoutSettingsPanel.js.map +1 -1
  174. package/src/sap/cux/home/LayoutSettingsPanel.ts +0 -3
  175. package/src/sap/cux/home/MenuItem.d.ts +0 -1
  176. package/src/sap/cux/home/MenuItem.d.ts.map +1 -1
  177. package/src/sap/cux/home/MenuItem.js +0 -1
  178. package/src/sap/cux/home/MenuItem.js.map +1 -1
  179. package/src/sap/cux/home/MenuItem.ts +0 -1
  180. package/src/sap/cux/home/NewsAndPagesContainer.d.ts +12 -14
  181. package/src/sap/cux/home/NewsAndPagesContainer.d.ts.map +1 -1
  182. package/src/sap/cux/home/NewsAndPagesContainer.js +10 -12
  183. package/src/sap/cux/home/NewsAndPagesContainer.js.map +1 -1
  184. package/src/sap/cux/home/NewsAndPagesContainer.ts +20 -18
  185. package/src/sap/cux/home/NewsGroup.d.ts +0 -3
  186. package/src/sap/cux/home/NewsGroup.d.ts.map +1 -1
  187. package/src/sap/cux/home/NewsGroup.js +0 -3
  188. package/src/sap/cux/home/NewsGroup.js.map +1 -1
  189. package/src/sap/cux/home/NewsGroup.ts +0 -3
  190. package/src/sap/cux/home/NewsItem.d.ts +0 -3
  191. package/src/sap/cux/home/NewsItem.d.ts.map +1 -1
  192. package/src/sap/cux/home/NewsItem.js +0 -3
  193. package/src/sap/cux/home/NewsItem.js.map +1 -1
  194. package/src/sap/cux/home/NewsItem.ts +0 -3
  195. package/src/sap/cux/home/NewsPanel.d.ts +7 -10
  196. package/src/sap/cux/home/NewsPanel.d.ts.map +1 -1
  197. package/src/sap/cux/home/NewsPanel.js +13 -14
  198. package/src/sap/cux/home/NewsPanel.js.map +1 -1
  199. package/src/sap/cux/home/NewsPanel.ts +15 -14
  200. package/src/sap/cux/home/NewsSettingsPanel.d.ts +0 -3
  201. package/src/sap/cux/home/NewsSettingsPanel.d.ts.map +1 -1
  202. package/src/sap/cux/home/NewsSettingsPanel.js +1 -4
  203. package/src/sap/cux/home/NewsSettingsPanel.js.map +1 -1
  204. package/src/sap/cux/home/NewsSettingsPanel.ts +1 -4
  205. package/src/sap/cux/home/NoDataContainer.d.ts +0 -2
  206. package/src/sap/cux/home/NoDataContainer.d.ts.map +1 -1
  207. package/src/sap/cux/home/NoDataContainer.js +0 -1
  208. package/src/sap/cux/home/NoDataContainer.js.map +1 -1
  209. package/src/sap/cux/home/NoDataContainer.ts +0 -1
  210. package/src/sap/cux/home/Page.d.ts +0 -3
  211. package/src/sap/cux/home/Page.d.ts.map +1 -1
  212. package/src/sap/cux/home/Page.gen.d.ts +0 -12
  213. package/src/sap/cux/home/Page.js +0 -7
  214. package/src/sap/cux/home/Page.js.map +1 -1
  215. package/src/sap/cux/home/Page.ts +0 -7
  216. package/src/sap/cux/home/PagePanel.d.ts +0 -4
  217. package/src/sap/cux/home/PagePanel.d.ts.map +1 -1
  218. package/src/sap/cux/home/PagePanel.js +0 -4
  219. package/src/sap/cux/home/PagePanel.js.map +1 -1
  220. package/src/sap/cux/home/PagePanel.ts +0 -4
  221. package/src/sap/cux/home/PageSettingsPanel.d.ts +0 -3
  222. package/src/sap/cux/home/PageSettingsPanel.d.ts.map +1 -1
  223. package/src/sap/cux/home/PageSettingsPanel.js +3 -5
  224. package/src/sap/cux/home/PageSettingsPanel.js.map +1 -1
  225. package/src/sap/cux/home/PageSettingsPanel.ts +3 -5
  226. package/src/sap/cux/home/RecentAppPanel.d.ts +0 -1
  227. package/src/sap/cux/home/RecentAppPanel.d.ts.map +1 -1
  228. package/src/sap/cux/home/RecentAppPanel.js +0 -1
  229. package/src/sap/cux/home/RecentAppPanel.js.map +1 -1
  230. package/src/sap/cux/home/RecentAppPanel.ts +0 -1
  231. package/src/sap/cux/home/RecommendedAppPanel.d.ts +0 -1
  232. package/src/sap/cux/home/RecommendedAppPanel.d.ts.map +1 -1
  233. package/src/sap/cux/home/RecommendedAppPanel.js +0 -1
  234. package/src/sap/cux/home/RecommendedAppPanel.js.map +1 -1
  235. package/src/sap/cux/home/RecommendedAppPanel.ts +0 -1
  236. package/src/sap/cux/home/SettingsDialog.d.ts +0 -3
  237. package/src/sap/cux/home/SettingsDialog.d.ts.map +1 -1
  238. package/src/sap/cux/home/SettingsDialog.js +2 -4
  239. package/src/sap/cux/home/SettingsDialog.js.map +1 -1
  240. package/src/sap/cux/home/SettingsDialog.ts +2 -4
  241. package/src/sap/cux/home/SituationPanel.d.ts +0 -1
  242. package/src/sap/cux/home/SituationPanel.d.ts.map +1 -1
  243. package/src/sap/cux/home/SituationPanel.js +0 -1
  244. package/src/sap/cux/home/SituationPanel.js.map +1 -1
  245. package/src/sap/cux/home/SituationPanel.ts +0 -1
  246. package/src/sap/cux/home/SpaceInsightsPanel.d.ts +207 -0
  247. package/src/sap/cux/home/SpaceInsightsPanel.d.ts.map +1 -0
  248. package/src/sap/cux/home/SpaceInsightsPanel.gen.d.ts +200 -0
  249. package/src/sap/cux/home/SpaceInsightsPanel.js +789 -0
  250. package/src/sap/cux/home/SpaceInsightsPanel.js.map +1 -0
  251. package/src/sap/cux/home/SpaceInsightsPanel.ts +631 -0
  252. package/src/sap/cux/home/SpacePanel.d.ts +117 -0
  253. package/src/sap/cux/home/SpacePanel.d.ts.map +1 -0
  254. package/src/sap/cux/home/SpacePanel.gen.d.ts +77 -0
  255. package/src/sap/cux/home/SpacePanel.js +599 -0
  256. package/src/sap/cux/home/SpacePanel.js.map +1 -0
  257. package/src/sap/cux/home/SpacePanel.ts +461 -0
  258. package/src/sap/cux/home/TaskPanel.d.ts +0 -1
  259. package/src/sap/cux/home/TaskPanel.d.ts.map +1 -1
  260. package/src/sap/cux/home/TaskPanel.js +8 -20
  261. package/src/sap/cux/home/TaskPanel.js.map +1 -1
  262. package/src/sap/cux/home/TaskPanel.ts +9 -20
  263. package/src/sap/cux/home/TilesPanel.d.ts +0 -1
  264. package/src/sap/cux/home/TilesPanel.d.ts.map +1 -1
  265. package/src/sap/cux/home/TilesPanel.js +5 -6
  266. package/src/sap/cux/home/TilesPanel.js.map +1 -1
  267. package/src/sap/cux/home/TilesPanel.ts +5 -12
  268. package/src/sap/cux/home/ToDoPanel.d.ts +11 -1
  269. package/src/sap/cux/home/ToDoPanel.d.ts.map +1 -1
  270. package/src/sap/cux/home/ToDoPanel.js +59 -22
  271. package/src/sap/cux/home/ToDoPanel.js.map +1 -1
  272. package/src/sap/cux/home/ToDoPanel.ts +63 -22
  273. package/src/sap/cux/home/ToDosContainer.d.ts +0 -2
  274. package/src/sap/cux/home/ToDosContainer.d.ts.map +1 -1
  275. package/src/sap/cux/home/ToDosContainer.js +2 -3
  276. package/src/sap/cux/home/ToDosContainer.js.map +1 -1
  277. package/src/sap/cux/home/ToDosContainer.ts +1 -2
  278. package/src/sap/cux/home/i18n/messagebundle.properties +22 -13
  279. package/src/sap/cux/home/i18n/messagebundle_ar.properties +6 -3
  280. package/src/sap/cux/home/i18n/messagebundle_bg.properties +6 -3
  281. package/src/sap/cux/home/i18n/messagebundle_ca.properties +6 -3
  282. package/src/sap/cux/home/i18n/messagebundle_cnr.properties +6 -3
  283. package/src/sap/cux/home/i18n/messagebundle_cs.properties +6 -3
  284. package/src/sap/cux/home/i18n/messagebundle_cy.properties +6 -3
  285. package/src/sap/cux/home/i18n/messagebundle_da.properties +6 -3
  286. package/src/sap/cux/home/i18n/messagebundle_de.properties +6 -3
  287. package/src/sap/cux/home/i18n/messagebundle_el.properties +6 -3
  288. package/src/sap/cux/home/i18n/messagebundle_en.properties +6 -3
  289. package/src/sap/cux/home/i18n/messagebundle_en_GB.properties +6 -3
  290. package/src/sap/cux/home/i18n/messagebundle_en_US_sappsd.properties +65 -13
  291. package/src/sap/cux/home/i18n/messagebundle_en_US_saprigi.properties +19 -9
  292. package/src/sap/cux/home/i18n/messagebundle_en_US_saptrc.properties +57 -11
  293. package/src/sap/cux/home/i18n/messagebundle_es.properties +6 -3
  294. package/src/sap/cux/home/i18n/messagebundle_es_MX.properties +6 -3
  295. package/src/sap/cux/home/i18n/messagebundle_et.properties +6 -3
  296. package/src/sap/cux/home/i18n/messagebundle_fi.properties +6 -3
  297. package/src/sap/cux/home/i18n/messagebundle_fr.properties +6 -3
  298. package/src/sap/cux/home/i18n/messagebundle_fr_CA.properties +6 -3
  299. package/src/sap/cux/home/i18n/messagebundle_hi.properties +6 -3
  300. package/src/sap/cux/home/i18n/messagebundle_hr.properties +6 -3
  301. package/src/sap/cux/home/i18n/messagebundle_hu.properties +6 -3
  302. package/src/sap/cux/home/i18n/messagebundle_id.properties +6 -3
  303. package/src/sap/cux/home/i18n/messagebundle_it.properties +6 -3
  304. package/src/sap/cux/home/i18n/messagebundle_iw.properties +6 -3
  305. package/src/sap/cux/home/i18n/messagebundle_ja.properties +6 -3
  306. package/src/sap/cux/home/i18n/messagebundle_kk.properties +6 -3
  307. package/src/sap/cux/home/i18n/messagebundle_ko.properties +6 -3
  308. package/src/sap/cux/home/i18n/messagebundle_lt.properties +6 -3
  309. package/src/sap/cux/home/i18n/messagebundle_lv.properties +6 -3
  310. package/src/sap/cux/home/i18n/messagebundle_mk.properties +6 -3
  311. package/src/sap/cux/home/i18n/messagebundle_ms.properties +6 -3
  312. package/src/sap/cux/home/i18n/messagebundle_nl.properties +6 -3
  313. package/src/sap/cux/home/i18n/messagebundle_no.properties +6 -3
  314. package/src/sap/cux/home/i18n/messagebundle_pl.properties +6 -3
  315. package/src/sap/cux/home/i18n/messagebundle_pt.properties +6 -3
  316. package/src/sap/cux/home/i18n/messagebundle_pt_PT.properties +6 -3
  317. package/src/sap/cux/home/i18n/messagebundle_ro.properties +6 -3
  318. package/src/sap/cux/home/i18n/messagebundle_ru.properties +6 -3
  319. package/src/sap/cux/home/i18n/messagebundle_sh.properties +6 -3
  320. package/src/sap/cux/home/i18n/messagebundle_sk.properties +6 -3
  321. package/src/sap/cux/home/i18n/messagebundle_sl.properties +6 -3
  322. package/src/sap/cux/home/i18n/messagebundle_sr.properties +6 -3
  323. package/src/sap/cux/home/i18n/messagebundle_sv.properties +6 -3
  324. package/src/sap/cux/home/i18n/messagebundle_th.properties +6 -3
  325. package/src/sap/cux/home/i18n/messagebundle_tr.properties +6 -3
  326. package/src/sap/cux/home/i18n/messagebundle_uk.properties +6 -3
  327. package/src/sap/cux/home/i18n/messagebundle_vi.properties +6 -3
  328. package/src/sap/cux/home/i18n/messagebundle_zh_CN.properties +6 -3
  329. package/src/sap/cux/home/i18n/messagebundle_zh_TW.properties +6 -3
  330. package/src/sap/cux/home/interface/AppsInterface.d.ts +1 -0
  331. package/src/sap/cux/home/interface/AppsInterface.d.ts.map +1 -1
  332. package/src/sap/cux/home/interface/AppsInterface.js.map +1 -1
  333. package/src/sap/cux/home/interface/AppsInterface.ts +1 -0
  334. package/src/sap/cux/home/interface/CardsInterface.d.ts +1 -5
  335. package/src/sap/cux/home/interface/CardsInterface.d.ts.map +1 -1
  336. package/src/sap/cux/home/interface/CardsInterface.js.map +1 -1
  337. package/src/sap/cux/home/interface/CardsInterface.ts +1 -1
  338. package/src/sap/cux/home/library.d.ts +3 -4
  339. package/src/sap/cux/home/library.d.ts.map +1 -1
  340. package/src/sap/cux/home/library.js +3 -4
  341. package/src/sap/cux/home/library.js.map +1 -1
  342. package/src/sap/cux/home/library.ts +3 -4
  343. package/src/sap/cux/home/themes/base/ContentAdditionDialog.less +1 -9
  344. package/src/sap/cux/home/themes/base/InsightsContainer.less +4 -0
  345. package/src/sap/cux/home/themes/base/KeyUserSettingsDialog.less +0 -5
  346. package/src/sap/cux/home/themes/base/ToDosContainer.less +2 -1
  347. package/src/sap/cux/home/utils/Accessibility.js +2 -2
  348. package/src/sap/cux/home/utils/Accessibility.js.map +1 -1
  349. package/src/sap/cux/home/utils/Accessibility.ts +2 -2
  350. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.d.ts +0 -1
  351. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.d.ts.map +1 -1
  352. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.js +0 -1
  353. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.js.map +1 -1
  354. package/src/sap/cux/home/utils/AnalyticalCardSkeleton.ts +0 -1
  355. package/src/sap/cux/home/utils/AppManager.d.ts +4 -7
  356. package/src/sap/cux/home/utils/AppManager.d.ts.map +1 -1
  357. package/src/sap/cux/home/utils/AppManager.js +12 -13
  358. package/src/sap/cux/home/utils/AppManager.js.map +1 -1
  359. package/src/sap/cux/home/utils/AppManager.ts +20 -13
  360. package/src/sap/cux/home/utils/BatchHelper.d.ts +0 -3
  361. package/src/sap/cux/home/utils/BatchHelper.d.ts.map +1 -1
  362. package/src/sap/cux/home/utils/BatchHelper.js +0 -3
  363. package/src/sap/cux/home/utils/BatchHelper.js.map +1 -1
  364. package/src/sap/cux/home/utils/BatchHelper.ts +0 -3
  365. package/src/sap/cux/home/utils/CommonUtils.d.ts +9 -0
  366. package/src/sap/cux/home/utils/CommonUtils.d.ts.map +1 -1
  367. package/src/sap/cux/home/utils/CommonUtils.js +23 -2
  368. package/src/sap/cux/home/utils/CommonUtils.js.map +1 -1
  369. package/src/sap/cux/home/utils/CommonUtils.ts +28 -1
  370. package/src/sap/cux/home/utils/Constants.d.ts +4 -5
  371. package/src/sap/cux/home/utils/Constants.d.ts.map +1 -1
  372. package/src/sap/cux/home/utils/Constants.js +5 -5
  373. package/src/sap/cux/home/utils/Constants.js.map +1 -1
  374. package/src/sap/cux/home/utils/Constants.ts +4 -5
  375. package/src/sap/cux/home/utils/DecisionDialog.d.ts +0 -3
  376. package/src/sap/cux/home/utils/DecisionDialog.d.ts.map +1 -1
  377. package/src/sap/cux/home/utils/DecisionDialog.js +0 -3
  378. package/src/sap/cux/home/utils/DecisionDialog.js.map +1 -1
  379. package/src/sap/cux/home/utils/DecisionDialog.ts +0 -3
  380. package/src/sap/cux/home/utils/FESRUtil.js +1 -1
  381. package/src/sap/cux/home/utils/FESRUtil.js.map +1 -1
  382. package/src/sap/cux/home/utils/FESRUtil.ts +1 -1
  383. package/src/sap/cux/home/utils/FeatureUtils.d.ts +20 -13
  384. package/src/sap/cux/home/utils/FeatureUtils.d.ts.map +1 -1
  385. package/src/sap/cux/home/utils/FeatureUtils.js +33 -29
  386. package/src/sap/cux/home/utils/FeatureUtils.js.map +1 -1
  387. package/src/sap/cux/home/utils/FeatureUtils.ts +38 -31
  388. package/src/sap/cux/home/utils/HttpHelper.d.ts +7 -3
  389. package/src/sap/cux/home/utils/HttpHelper.d.ts.map +1 -1
  390. package/src/sap/cux/home/utils/HttpHelper.js +43 -3
  391. package/src/sap/cux/home/utils/HttpHelper.js.map +1 -1
  392. package/src/sap/cux/home/utils/HttpHelper.ts +25 -3
  393. package/src/sap/cux/home/utils/KeyUserPersonalization.d.ts.map +1 -1
  394. package/src/sap/cux/home/utils/KeyUserPersonalization.js +32 -13
  395. package/src/sap/cux/home/utils/KeyUserPersonalization.js.map +1 -1
  396. package/src/sap/cux/home/utils/KeyUserPersonalization.ts +2 -3
  397. package/src/sap/cux/home/utils/PageManager.d.ts +0 -3
  398. package/src/sap/cux/home/utils/PageManager.d.ts.map +1 -1
  399. package/src/sap/cux/home/utils/PageManager.js +0 -3
  400. package/src/sap/cux/home/utils/PageManager.js.map +1 -1
  401. package/src/sap/cux/home/utils/PageManager.ts +0 -3
  402. package/src/sap/cux/home/utils/PersonalisationUtils.d.ts +0 -3
  403. package/src/sap/cux/home/utils/PersonalisationUtils.d.ts.map +1 -1
  404. package/src/sap/cux/home/utils/PersonalisationUtils.js +0 -3
  405. package/src/sap/cux/home/utils/PersonalisationUtils.js.map +1 -1
  406. package/src/sap/cux/home/utils/PersonalisationUtils.ts +0 -3
  407. package/src/sap/cux/home/utils/UshellPersonalizer.d.ts +0 -3
  408. package/src/sap/cux/home/utils/UshellPersonalizer.d.ts.map +1 -1
  409. package/src/sap/cux/home/utils/UshellPersonalizer.js +0 -3
  410. package/src/sap/cux/home/utils/UshellPersonalizer.js.map +1 -1
  411. package/src/sap/cux/home/utils/UshellPersonalizer.ts +0 -3
  412. package/src/sap/cux/home/utils/fragment/appsAdditionContent.fragment.xml +20 -16
  413. package/src/sap/cux/home/{AppsContainerGenericPlaceholder.d.ts → utils/placeholder/AppsPlaceholder.d.ts} +2 -2
  414. package/src/sap/cux/home/utils/placeholder/AppsPlaceholder.d.ts.map +1 -0
  415. package/src/sap/cux/home/{AppsContainerGenericPlaceholder.js → utils/placeholder/AppsPlaceholder.js} +1 -1
  416. package/src/sap/cux/home/utils/placeholder/AppsPlaceholder.js.map +1 -0
  417. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.d.ts +8 -0
  418. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.d.ts.map +1 -0
  419. package/src/sap/cux/home/{InsightsContainerGenericPlaceholder.js → utils/placeholder/InsightsPlaceholder.js} +1 -1
  420. package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.js.map +1 -0
  421. package/src/sap/cux/home/{InsightsContainerGenericPlaceholder.d.ts → utils/placeholder/NewsAndPagesPlaceholder.d.ts} +3 -3
  422. package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.d.ts.map +1 -0
  423. package/src/sap/cux/home/{NewsAndPagesContainerGenericPlaceholder.js → utils/placeholder/NewsAndPagesPlaceholder.js} +1 -1
  424. package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.js.map +1 -0
  425. package/src/sap/cux/home/{ToDosContainerGenericPlaceholder.d.ts → utils/placeholder/ToDosPlaceholder.d.ts} +2 -2
  426. package/src/sap/cux/home/utils/placeholder/ToDosPlaceholder.d.ts.map +1 -0
  427. package/src/sap/cux/home/{ToDosContainerGenericPlaceholder.js → utils/placeholder/ToDosPlaceholder.js} +1 -1
  428. package/src/sap/cux/home/utils/placeholder/ToDosPlaceholder.js.map +1 -0
  429. package/src/sap/cux/home/AppsContainerGenericPlaceholder.d.ts.map +0 -1
  430. package/src/sap/cux/home/AppsContainerGenericPlaceholder.js.map +0 -1
  431. package/src/sap/cux/home/InsightsContainerGenericPlaceholder.d.ts.map +0 -1
  432. package/src/sap/cux/home/InsightsContainerGenericPlaceholder.js.map +0 -1
  433. package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder.d.ts +0 -8
  434. package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder.d.ts.map +0 -1
  435. package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder.js.map +0 -1
  436. package/src/sap/cux/home/ToDosContainerGenericPlaceholder.d.ts.map +0 -1
  437. package/src/sap/cux/home/ToDosContainerGenericPlaceholder.js.map +0 -1
  438. package/src/sap/cux/home/utils/CardSkeleton.d.ts +0 -54
  439. package/src/sap/cux/home/utils/CardSkeleton.d.ts.map +0 -1
  440. package/src/sap/cux/home/utils/CardSkeleton.js +0 -61
  441. package/src/sap/cux/home/utils/CardSkeleton.js.map +0 -1
  442. package/src/sap/cux/home/utils/CardSkeleton.ts +0 -53
  443. /package/src/sap/cux/home/{AppsContainerGenericPlaceholder.ts → utils/placeholder/AppsPlaceholder.ts} +0 -0
  444. /package/src/sap/cux/home/{InsightsContainerGenericPlaceholder.ts → utils/placeholder/InsightsPlaceholder.ts} +0 -0
  445. /package/src/sap/cux/home/{NewsAndPagesContainerGenericPlaceholder.ts → utils/placeholder/NewsAndPagesPlaceholder.ts} +0 -0
  446. /package/src/sap/cux/home/{ToDosContainerGenericPlaceholder.ts → utils/placeholder/ToDosPlaceholder.ts} +0 -0
@@ -37,9 +37,6 @@ sap.ui.define(["sap/m/Button", "sap/m/Input", "sap/m/Label", "sap/m/MessageBox",
37
37
  * @author SAP SE
38
38
  * @version 0.0.1
39
39
  * @since 1.121
40
- *
41
- * @internal
42
- * @experimental Since 1.121
43
40
  * @private
44
41
  *
45
42
  * @alias sap.cux.home.KeyUserNewsSettingsPanel
@@ -279,7 +276,7 @@ sap.ui.define(["sap/m/Button", "sap/m/Input", "sap/m/Label", "sap/m/MessageBox",
279
276
  const newsPanelLabelId = `${this.getId()}-newsPanelLabel`;
280
277
  if (!this.controlMap.get(newsPanelLabelId)) {
281
278
  const newsPanelLabel = new Label(newsPanelLabelId, {
282
- text: this._i18nBundle.getText("mngNews")
279
+ text: this._i18nBundle.getText("newsFeedOptionLabel")
283
280
  }).addStyleClass("sapUiTinyMargin");
284
281
  this.controlMap.set(newsPanelLabelId, newsPanelLabel);
285
282
  }
@@ -381,6 +378,7 @@ sap.ui.define(["sap/m/Button", "sap/m/Input", "sap/m/Label", "sap/m/MessageBox",
381
378
  });
382
379
  } else if (keyUserChangeContent.showDefaultNewsFeed !== this.defaultNewsVisibility) {
383
380
  keyUserChangeContent.showDefaultNewsFeed = this.defaultNewsVisibility;
381
+ keyUserChangeContent.showCustomNewsFeed = false;
384
382
  }
385
383
  this.removeUrlMesageStrip();
386
384
  this._eventBus.publish("KeyUserChanges", "disabledSaveBtn", {
@@ -477,7 +475,7 @@ sap.ui.define(["sap/m/Button", "sap/m/Input", "sap/m/Label", "sap/m/MessageBox",
477
475
  const showRss = this.checkNewsType(NewsType.NewsUrl);
478
476
  const newsInputUrl = String(this._getPanel().getProperty("url"));
479
477
  if (!this.controlMap.get(newsFeedURLSimpleFormId)) {
480
- const newsFeedURLSimpleForm = new SimpleForm(`${this.getId()}-newsFeedURLSimpleForm`).addStyleClass("sapContrastPlus formCustomPadding");
478
+ const newsFeedURLSimpleForm = new SimpleForm(`${this.getId()}-newsFeedURLSimpleForm`).addStyleClass("sapContrastPlus");
481
479
  const newsFeedURLInputId = `${this.getId()}-newsFeedURLInput`;
482
480
  const newsFeedURLInput = new Input(newsFeedURLInputId, {
483
481
  value: newsInputUrl !== DEFAULT_NEWS_URL ? newsInputUrl : "",
@@ -674,7 +672,7 @@ sap.ui.define(["sap/m/Button", "sap/m/Input", "sap/m/Label", "sap/m/MessageBox",
674
672
  addCustomNewsUploadSimpleForm: function _addCustomNewsUploadSimpleForm(wrapperVBox) {
675
673
  const customNewsUploadSimpleFormId = `${this.getId()}-customNewsUploadSimpleForm`;
676
674
  if (!this.controlMap.get(customNewsUploadSimpleFormId)) {
677
- const customNewsUploadSimpleForm = new SimpleForm(`${this.getId()}-customNewsUploadSimpleForm`).addStyleClass("sapContrastPlus formCustomPadding");
675
+ const customNewsUploadSimpleForm = new SimpleForm(`${this.getId()}-customNewsUploadSimpleForm`).addStyleClass("sapContrastPlus");
678
676
  const customNewsUploadVBox = new VBox(`${this.getId()}-customNewsUploadVBox`);
679
677
  const customNewsUploadFileUploader = `${this.getId()}-customNewsUploadFileUploader`;
680
678
  const newsPanel = this._getPanel();
@@ -1 +1 @@
1
- {"version":3,"file":"KeyUserNewsSettingsPanel.js","names":["sap","ui","define","Button","Input","Label","MessageBox","MessageStrip","MessageToast","RadioButton","Toolbar","VBox","Library","EventBus","MessageType","SimpleForm","FileUploader","Container","__BaseSettingsPanel","___flexibility_Layoutflexibility","___library","___utils_Constants","__HttpHelper","_interopRequireDefault","obj","__esModule","default","_catch","body","recover","result","e","then","BaseSettingsPanel","CHANGE_TYPES","NewsType","DEFAULT_NEWS_URL","KEYUSER_SETTINGS_PANELS_KEYS","HttpHelper","Constants","NEWS_FEED_POST_API","KeyUserNewsSettingsPanel","extend","metadata","library","init","_init","BaseSettingsPanel.prototype.init.call","controlMap","Map","setProperty","NEWS","_i18nBundle","getText","addAggregation","getContent","attachPanelNavigated","loadSettings","_eventBus","getInstance","subscribe","channelId","eventId","data","showError","showMessageStrip","Warning","validChanges","getMessageStrip","setVisible","getCurrentKeyUserChange","_getCurrentKeyUserChange","keyUserChanges","getKeyUserChanges","existingChange","find","change","changeSpecificData","changeType","NEWS_FEED_URL","content","_getContent","wrapperVBoxId","getId","wrapperVBox","set","checkNewsType","_checkNewsType","type","_getPanel","getProperty","isValidChanges","_isValidChanges","newsVisible","_this","_temp5","fileUploader","getFileUploader","keyUserChangeContent","showCustom","customNewsVisibility","Custom","showDefault","defaultNewsVisibility","Default","_temp4","getNewsFeedUploadBtn","getEnabled","error","String","setValue","customNewsFeedFileName","_temp3","getValue","Error","_temp2","getVisible","newsUrl","newsFeedURL","_temp","trim","Promise","resolve","setURL","reject","clearNewsPanelChanges","_clearNewsPanelChanges","newsPanel","newsUrlInput","get","url","rssNewsVisibility","NewsUrl","setEnabled","setSelected","clearKeyUserChanges","addMessageStrip","_addMessageStrip","keyUserNewsPanelToolbarId","keyUserNewsPanelToolbar","height","messageStripWrapper","width","messageStripId","messsageStrip","showIcon","visible","addItem","addContent","handleSelectCustomNewsFeed","_handleSelectCustomNewsFeed","oEvent","getParameter","newsPageContainer","getParent","layout","addKeyUserChanges","selectorControl","oldNewsFeedUrl","oldShowCustomNewsFeed","oldCustomNewsFeedKey","oldshowDefaultNewsFeed","oldShowRssNewsFeed","showCustomNewsFeed","customNewsFeedKey","showDefaultNewsFeed","showRssNewsFeed","publish","changes","removeUrlMesageStrip","disable","date","Date","addCustomNewsFeedRadioBtn","_addCustomNewsFeedRadioBtn","customNewsFeedRadioBtnId","customNewsFeedRadioBtn","text","selected","select","bind","addStyleClass","customRadioBtn","addDefaultNewsFeedRadioBtn","_addDefaultNewsFeedRadioBtn","defaultNewsFeedRadioBtnId","defaultNewsFeedRadioBtn","handleselectDefaultNewsFeed","defaultRadioBtn","addNewsPaneLabel","_addNewsPaneLabel","newsPanelLabelId","newsPanelLabel","handleSelectRssNewsFeed","_handleSelectRssNewsFeed","addNewsUrlRadioBtn","_addNewsUrlRadioBtn","newsUrlRadioBtnId","showRss","newsUrlRadioBtn","rssRadioBtn","_handleselectDefaultNewsFeed","onNewsUrlChange","_onNewsUrlChange","keyUserContent","validUrl","getValidURL","_showMessageStrip","bShow","textKey","setType","setText","_getValidURL","urlString","URL","href","_removeUrlMesageStrip","onUrlLiveChange","_onUrlLiveChange","sNewValue","_getMessageStrip","addNewsURLSimpleForm","_addNewsURLSimpleForm","newsFeedURLSimpleFormId","newsInputUrl","newsFeedURLSimpleForm","newsFeedURLInputId","newsFeedURLInput","value","InputType","Url","liveChange","enabled","inputUrlField","handleFileChange","_handleFileChange","getSource","setNewsFeedEnabled","_setNewsFeedEnabled","bEnabled","newsFeedUploadBtn","_getNewsFeedUploadBtn","customNewsUploadFileUploaderButtonId","handleFileUploadError","_handleFileUploadError","iMaxFileSize","getMaximumFileSize","handleFileDialogClose","_handleFileDialogClose","event","fileName","handleNewsFeedFileUpload","_handleNewsFeedFileUpload","_this2","errorMsg","all","getUploadedFile","getServiceAsync","response","fileData","userInfo","userId","payload","changeId","now","toString","attachment","documentType","Post","oResponse","message","includes","customKey","show","oErr","_getUploadedFile","file","oFileUpload","files","reader","FileReader","onload","fileContent","base64String","window","btoa","encodeURIComponent","replace","match","p1","fromCharCode","parseInt","readAsText","readAsDataURL","_getFileUploader","customNewsUploadFileUploader","addCustomNewsUploadSimpleForm","_addCustomNewsUploadSimpleForm","customNewsUploadSimpleFormId","customNewsUploadSimpleForm","customNewsUploadVBox","customNewsUploadFileUploaderControl","name","tooltip","fileType","maximumFileSize","fileSizeExceed","sameFilenameAllowed","afterDialogClose","customNewsUploadFileUploaderButton","press","_loadSettings","removeAllItems"],"sources":["KeyUserNewsSettingsPanel.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\nimport Button from \"sap/m/Button\";\nimport Input, { Input$LiveChangeEvent } from \"sap/m/Input\";\nimport { InputBase$ChangeEvent } from \"sap/m/InputBase\";\nimport Label from \"sap/m/Label\";\nimport MessageBox from \"sap/m/MessageBox\";\nimport MessageStrip from \"sap/m/MessageStrip\";\nimport MessageToast from \"sap/m/MessageToast\";\nimport RadioButton, { RadioButton$SelectEvent } from \"sap/m/RadioButton\";\nimport Toolbar from \"sap/m/Toolbar\";\nimport VBox from \"sap/m/VBox\";\nimport Library from \"sap/m/library\";\nimport Event from \"sap/ui/base/Event\";\nimport Control from \"sap/ui/core/Control\";\nimport type { MetadataOptions } from \"sap/ui/core/Element\";\nimport EventBus from \"sap/ui/core/EventBus\";\nimport MessageType from \"sap/ui/core/message/MessageType\";\nimport SimpleForm from \"sap/ui/layout/form/SimpleForm\";\nimport FileUploader, { FileUploader$ChangeEvent, FileUploader$FileSizeExceedEvent } from \"sap/ui/unified/FileUploader\";\nimport Container from \"sap/ushell/Container\";\nimport UserInfo from \"sap/ushell/services/UserInfo\";\nimport BaseLayout from \"./BaseLayout\";\nimport BaseSettingsPanel from \"./BaseSettingsPanel\";\nimport NewsAndPagesContainer from \"./NewsAndPagesContainer\";\nimport NewsPanel, { FileFormat } from \"./NewsPanel\";\nimport { CHANGE_TYPES } from \"./flexibility/Layout.flexibility\";\nimport { INewsPersData } from \"./interface/KeyUserInterface\";\nimport { NewsType } from \"./library\";\nimport { DEFAULT_NEWS_URL, KEYUSER_SETTINGS_PANELS_KEYS } from \"./utils/Constants\";\nimport HttpHelper from \"./utils/HttpHelper\";\n\nconst Constants = {\n\tNEWS_FEED_POST_API: \"/sap/opu/odata4/ui2/insights_srv/srvd/ui2/\" + \"insights_repo_srv/0001/\" + \"NEWS_FEED\"\n};\n\ninterface ShowError {\n\tshowError: boolean;\n\tdate: Date;\n}\n\ninterface UploadedFilePayload {\n\tchangeId: string;\n\tattachment: string | PromiseLike<string>;\n\tdocumentType?: string; // Optional\n}\n\ninterface FileMetaData {\n\ttype: string;\n\tcontent: string | PromiseLike<string>;\n}\n\n/**\n *\n * Class for News Settings Panel for KeyUser Settings Dialog.\n *\n * @extends BaseSettingsPanel\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.121\n *\n * @internal\n * @experimental Since 1.121\n * @private\n *\n * @alias sap.cux.home.KeyUserNewsSettingsPanel\n */\nexport default class KeyUserNewsSettingsPanel extends BaseSettingsPanel {\n\tstatic readonly metadata: MetadataOptions = {\n\t\tlibrary: \"sap.cux.home\"\n\t};\n\n\tprivate controlMap!: Map<string, Control | Element>;\n\tprivate _eventBus!: EventBus;\n\tprivate customNewsVisibility!: boolean;\n\tprivate defaultNewsVisibility!: boolean;\n\tprivate validChanges!: boolean;\n\tprivate rssNewsVisibility!: boolean;\n\n\t/**\n\t * Init lifecycle method\n\t *\n\t * @public\n\t * @override\n\t */\n\tpublic init(): void {\n\t\tsuper.init();\n\t\tthis.controlMap = new Map();\n\n\t\t//setup panel\n\t\tthis.setProperty(\"key\", KEYUSER_SETTINGS_PANELS_KEYS.NEWS);\n\t\tthis.setProperty(\"title\", this._i18nBundle.getText(\"editNewsFeed\"));\n\n\t\t// //setup layout content\n\t\tthis.addAggregation(\"content\", this.getContent());\n\n\t\t// fired every time on panel navigation\n\t\tthis.attachPanelNavigated(() => this.loadSettings());\n\n\t\tthis._eventBus = EventBus.getInstance();\n\t\tthis._eventBus.subscribe(\n\t\t\t\"KeyUserChanges\",\n\t\t\t\"newsFeedLoadFailed\",\n\t\t\t(channelId?: string, eventId?: string, data?: object) => {\n\t\t\t\t//errorstate is false when import is successful\n\t\t\t\tif ((data as unknown as ShowError)?.showError) {\n\t\t\t\t\tthis.showMessageStrip(true, MessageType.Warning, \"invalidNewsUrl\");\n\t\t\t\t\tthis.validChanges = false;\n\t\t\t\t} else {\n\t\t\t\t\tthis.getMessageStrip().setVisible(false);\n\t\t\t\t\tthis.validChanges = true;\n\t\t\t\t}\n\t\t\t},\n\t\t\tthis\n\t\t);\n\t}\n\n\tprivate getCurrentKeyUserChange(): INewsPersData {\n\t\tconst keyUserChanges = this.getKeyUserChanges();\n\t\tconst existingChange = keyUserChanges.find((change) => {\n\t\t\treturn change.changeSpecificData.changeType === CHANGE_TYPES.NEWS_FEED_URL;\n\t\t});\n\t\treturn existingChange?.changeSpecificData.content as INewsPersData;\n\t}\n\n\t/**\n\t * Returns the content for the KeyUser news Settings Panel.\n\t *\n\t * @private\n\t * @returns {VBox} The control containing the KeyUser news Settings Panel content.\n\t */\n\tprivate getContent(): VBox {\n\t\tconst wrapperVBoxId = `${this.getId()}-wrapperVBox`;\n\t\tconst wrapperVBox = new VBox(wrapperVBoxId);\n\t\tthis.controlMap.set(wrapperVBoxId, wrapperVBox);\n\n\t\treturn wrapperVBox;\n\t}\n\n\tpublic checkNewsType(type: NewsType): boolean {\n\t\tif (this._getPanel().getProperty(\"type\") === type) return true;\n\t\treturn false;\n\t}\n\n\tpublic async isValidChanges(newsVisible: boolean) {\n\t\tthis.validChanges = true;\n\t\tconst fileUploader = this.getFileUploader();\n\t\tconst keyUserChangeContent = this.getCurrentKeyUserChange();\n\t\tconst showCustom = this.customNewsVisibility ?? !!this.checkNewsType(NewsType.Custom);\n\t\tconst showDefault = this.defaultNewsVisibility ?? !!this.checkNewsType(NewsType.Default);\n\t\tif (this.getNewsFeedUploadBtn().getEnabled()) {\n\t\t\tif (showCustom) {\n\t\t\t\tMessageBox.error(String(this._i18nBundle.getText(\"newsFeedSaveUploadChanges\")));\n\t\t\t\tthis.validChanges = false;\n\t\t\t} else {\n\t\t\t\tif (fileUploader) {\n\t\t\t\t\tfileUploader.setValue(\n\t\t\t\t\t\tkeyUserChangeContent.customNewsFeedFileName || String(this._getPanel().getProperty(\"customFileName\"))\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (showCustom && fileUploader.getValue() === \"\" && newsVisible) {\n\t\t\tthis.showMessageStrip(true, MessageType.Error, \"noNewsFileError\");\n\t\t\tthis.validChanges = false;\n\t\t} else if (!showCustom && !showDefault && newsVisible && !this.getMessageStrip().getVisible()) {\n\t\t\tconst newsUrl = keyUserChangeContent.newsFeedURL;\n\t\t\tif (!newsUrl?.trim()) {\n\t\t\t\tthis.showMessageStrip(true, MessageType.Error, \"invalidNewsUrl\");\n\t\t\t\tthis.validChanges = false;\n\t\t\t} else {\n\t\t\t\tawait (this._getPanel() as NewsPanel).setURL(String(newsUrl));\n\t\t\t}\n\t\t}\n\t\treturn this.validChanges;\n\t}\n\n\tpublic clearNewsPanelChanges() {\n\t\tconst newsPanel = this._getPanel();\n\t\tthis.getMessageStrip().setVisible(false);\n\t\tconst newsUrlInput = this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input;\n\t\tconst url = String(newsPanel.getProperty(\"url\"));\n\t\tnewsUrlInput.setValue(url !== DEFAULT_NEWS_URL ? url : \"\");\n\t\tthis.customNewsVisibility = this.checkNewsType(NewsType.Custom);\n\t\tthis.defaultNewsVisibility = this.checkNewsType(NewsType.Default);\n\t\tthis.rssNewsVisibility = this.checkNewsType(NewsType.NewsUrl);\n\t\t(this.controlMap.get(`${this.getId()}-customNewsUploadFileUploader`) as FileUploader).setEnabled(this.customNewsVisibility);\n\t\t(this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input).setEnabled(this.rssNewsVisibility);\n\t\t(this.controlMap.get(`${this.getId()}-customNewsFeedRadioBtn`) as RadioButton).setSelected(this.customNewsVisibility);\n\t\t(this.controlMap.get(`${this.getId()}-defaultNewsFeedRadioBtn`) as RadioButton).setSelected(this.defaultNewsVisibility);\n\t\t(this.controlMap.get(`${this.getId()}-newsUrlRadioBtn`) as RadioButton).setSelected(this.rssNewsVisibility);\n\t\tthis.getFileUploader().setValue(String(newsPanel.getProperty(\"customFileName\")));\n\t\tthis.clearKeyUserChanges();\n\t}\n\n\tprivate addMessageStrip(wrapperVBox: VBox): void {\n\t\tconst keyUserNewsPanelToolbarId = `${this.getId()}-keyUserNewsPanelToolbar`;\n\t\tif (!this.controlMap.get(keyUserNewsPanelToolbarId)) {\n\t\t\tconst keyUserNewsPanelToolbar = new Toolbar(keyUserNewsPanelToolbarId, { height: \"auto\" });\n\t\t\tconst messageStripWrapper = new VBox(`${this.getId()}-messageStripWrapper`, { width: \"100%\" });\n\t\t\tconst messageStripId = `${this.getId()}-messageStrip`;\n\t\t\tconst messsageStrip = new MessageStrip(messageStripId, {\n\t\t\t\tshowIcon: true,\n\t\t\t\tvisible: false\n\t\t\t});\n\t\t\tthis.controlMap.set(messageStripId, messsageStrip);\n\t\t\tmessageStripWrapper.addItem(messsageStrip);\n\t\t\tkeyUserNewsPanelToolbar.addContent(messageStripWrapper);\n\t\t\tthis.controlMap.set(keyUserNewsPanelToolbarId, keyUserNewsPanelToolbar);\n\t\t}\n\t\twrapperVBox.addItem(this.controlMap.get(keyUserNewsPanelToolbarId) as Toolbar);\n\t}\n\n\tprivate handleSelectCustomNewsFeed(oEvent: RadioButton$SelectEvent): void {\n\t\tthis.customNewsVisibility = oEvent.getParameter(\"selected\") as boolean;\n\n\t\t(this.controlMap.get(`${this.getId()}-customNewsUploadFileUploader`) as FileUploader).setEnabled(this.customNewsVisibility);\n\t\t(this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input).setEnabled(!this.customNewsVisibility);\n\n\t\tconst newsPanel = this._getPanel() as NewsPanel;\n\t\tconst newsPageContainer = newsPanel.getParent() as NewsAndPagesContainer;\n\t\tconst layout = newsPageContainer.getParent() as BaseLayout;\n\t\tconst keyUserChangeContent = this.getCurrentKeyUserChange();\n\t\tif (!keyUserChangeContent) {\n\t\t\tthis.addKeyUserChanges({\n\t\t\t\tselectorControl: layout,\n\t\t\t\tchangeSpecificData: {\n\t\t\t\t\tchangeType: CHANGE_TYPES.NEWS_FEED_URL,\n\t\t\t\t\tcontent: {\n\t\t\t\t\t\toldNewsFeedUrl: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\toldShowCustomNewsFeed: this.checkNewsType(NewsType.Custom),\n\t\t\t\t\t\toldCustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\toldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),\n\t\t\t\t\t\toldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),\n\t\t\t\t\t\tnewsFeedURL: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\tshowCustomNewsFeed: this.customNewsVisibility,\n\t\t\t\t\t\tcustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\tcustomNewsFeedFileName: String(this._getPanel().getProperty(\"customFileName\")),\n\t\t\t\t\t\tshowDefaultNewsFeed: false,\n\t\t\t\t\t\tshowRssNewsFeed: false\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis._eventBus.publish(\"KeyUserChanges\", \"addNewsPagesChanges\", { changes: this.getKeyUserChanges() });\n\t\t} else if (keyUserChangeContent.showCustomNewsFeed !== this.customNewsVisibility) {\n\t\t\tkeyUserChangeContent.showCustomNewsFeed = this.customNewsVisibility;\n\t\t}\n\t\tthis.removeUrlMesageStrip();\n\t\tthis._eventBus.publish(\"KeyUserChanges\", \"disabledSaveBtn\", { disable: false, date: new Date() });\n\t}\n\n\t/**\n\t * Add Radio Button for Custom News Feed.\n\t *\n\t * @private\n\t */\n\tprivate addCustomNewsFeedRadioBtn(wrapperVBox: VBox): void {\n\t\tconst customNewsFeedRadioBtnId = `${this.getId()}-customNewsFeedRadioBtn`;\n\t\tconst showCustom = this.checkNewsType(NewsType.Custom);\n\t\tif (!this.controlMap.get(customNewsFeedRadioBtnId)) {\n\t\t\tconst customNewsFeedRadioBtn = new RadioButton(`${this.getId()}-customNewsFeedRadioBtn`, {\n\t\t\t\ttext: this._i18nBundle.getText(\"selectCustomNewsFeed\"),\n\t\t\t\tselected: showCustom,\n\t\t\t\tselect: this.handleSelectCustomNewsFeed.bind(this)\n\t\t\t}).addStyleClass(\"sapUiTinyMargin\");\n\t\t\tthis.controlMap.set(customNewsFeedRadioBtnId, customNewsFeedRadioBtn);\n\t\t} else if (!this.getCurrentKeyUserChange()) {\n\t\t\tlet customRadioBtn = this.controlMap.get(`${this.getId()}-customNewsFeedRadioBtn`) as RadioButton;\n\t\t\tcustomRadioBtn.setSelected(showCustom);\n\t\t\t(this.controlMap.get(`${this.getId()}-customNewsUploadFileUploader`) as FileUploader).setEnabled(showCustom);\n\t\t}\n\t\twrapperVBox.addItem(this.controlMap.get(customNewsFeedRadioBtnId) as RadioButton);\n\t}\n\n\t/**\n\t * Add Radio Button for Manage News Feed.\n\t *\n\t * @private\n\t */\n\tprivate addDefaultNewsFeedRadioBtn(wrapperVBox: VBox): void {\n\t\tconst defaultNewsFeedRadioBtnId = `${this.getId()}-defaultNewsFeedRadioBtn`;\n\t\tconst showDefault = this.checkNewsType(NewsType.Default);\n\t\tif (!this.controlMap.get(defaultNewsFeedRadioBtnId)) {\n\t\t\tconst defaultNewsFeedRadioBtn = new RadioButton(`${this.getId()}-defaultNewsFeedRadioBtn`, {\n\t\t\t\ttext: this._i18nBundle.getText(\"selectDefaultNewsFeed\"),\n\t\t\t\tselected: showDefault,\n\t\t\t\tselect: this.handleselectDefaultNewsFeed.bind(this)\n\t\t\t}).addStyleClass(\"sapUiTinyMargin\");\n\t\t\tthis.controlMap.set(defaultNewsFeedRadioBtnId, defaultNewsFeedRadioBtn);\n\t\t} else if (!this.getCurrentKeyUserChange()) {\n\t\t\tlet defaultRadioBtn = this.controlMap.get(`${this.getId()}-defaultNewsFeedRadioBtn`) as RadioButton;\n\t\t\tdefaultRadioBtn.setSelected(showDefault);\n\t\t}\n\t\twrapperVBox.addItem(this.controlMap.get(defaultNewsFeedRadioBtnId) as RadioButton);\n\t}\n\n\tprivate addNewsPaneLabel(wrapperVBox: VBox): void {\n\t\tconst newsPanelLabelId = `${this.getId()}-newsPanelLabel`;\n\t\tif (!this.controlMap.get(newsPanelLabelId)) {\n\t\t\tconst newsPanelLabel = new Label(newsPanelLabelId, {\n\t\t\t\ttext: this._i18nBundle.getText(\"mngNews\")\n\t\t\t}).addStyleClass(\"sapUiTinyMargin\");\n\t\t\tthis.controlMap.set(newsPanelLabelId, newsPanelLabel);\n\t\t}\n\t\twrapperVBox.addItem(this.controlMap.get(newsPanelLabelId) as Label);\n\t}\n\n\tprivate handleSelectRssNewsFeed(oEvent: RadioButton$SelectEvent): void {\n\t\tthis.rssNewsVisibility = oEvent.getParameter(\"selected\") as boolean;\n\t\t(this.controlMap.get(`${this.getId()}-customNewsUploadFileUploader`) as FileUploader).setEnabled(!this.rssNewsVisibility);\n\t\t(this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input).setEnabled(this.rssNewsVisibility);\n\n\t\tconst newsPanel = this._getPanel() as NewsPanel;\n\t\tconst newsPageContainer = newsPanel.getParent() as NewsAndPagesContainer;\n\t\tconst layout = newsPageContainer.getParent() as BaseLayout;\n\t\tconst keyUserChangeContent = this.getCurrentKeyUserChange();\n\t\tif (!keyUserChangeContent) {\n\t\t\tthis.addKeyUserChanges({\n\t\t\t\tselectorControl: layout,\n\t\t\t\tchangeSpecificData: {\n\t\t\t\t\tchangeType: CHANGE_TYPES.NEWS_FEED_URL,\n\t\t\t\t\tcontent: {\n\t\t\t\t\t\toldNewsFeedUrl: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\toldShowCustomNewsFeed: this.checkNewsType(NewsType.Custom),\n\t\t\t\t\t\toldCustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\toldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),\n\t\t\t\t\t\toldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),\n\t\t\t\t\t\tnewsFeedURL: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\tshowCustomNewsFeed: false,\n\t\t\t\t\t\tcustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\tcustomNewsFeedFileName: String(this._getPanel().getProperty(\"customFileName\")),\n\t\t\t\t\t\tshowDefaultNewsFeed: false,\n\t\t\t\t\t\tshowRssNewsFeed: this.rssNewsVisibility\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis._eventBus.publish(\"KeyUserChanges\", \"addNewsPagesChanges\", { changes: this.getKeyUserChanges() });\n\t\t} else if (keyUserChangeContent.showRssNewsFeed !== this.rssNewsVisibility) {\n\t\t\tkeyUserChangeContent.showRssNewsFeed = this.rssNewsVisibility;\n\t\t}\n\t\tthis.removeUrlMesageStrip();\n\t\tthis._eventBus.publish(\"KeyUserChanges\", \"disabledSaveBtn\", { disable: false, date: new Date() });\n\t}\n\n\tprivate addNewsUrlRadioBtn(wrapperVBox: VBox): void {\n\t\tconst newsUrlRadioBtnId = `${this.getId()}-newsUrlRadioBtn`;\n\t\tconst showRss = this.checkNewsType(NewsType.NewsUrl);\n\t\tif (!this.controlMap.get(newsUrlRadioBtnId)) {\n\t\t\tconst newsUrlRadioBtn = new RadioButton(`${this.getId()}-newsUrlRadioBtn`, {\n\t\t\t\ttext: this._i18nBundle.getText(\"selectNewsFeedUrl\"),\n\t\t\t\tselected: showRss,\n\t\t\t\tselect: this.handleSelectRssNewsFeed.bind(this)\n\t\t\t}).addStyleClass(\"sapUiTinyMargin\");\n\t\t\tthis.controlMap.set(newsUrlRadioBtnId, newsUrlRadioBtn);\n\t\t} else if (!this.getCurrentKeyUserChange()) {\n\t\t\tlet rssRadioBtn = this.controlMap.get(`${this.getId()}-newsUrlRadioBtn`) as RadioButton;\n\t\t\trssRadioBtn.setSelected(showRss);\n\t\t\t(this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input).setEnabled(showRss);\n\t\t}\n\t\twrapperVBox.addItem(this.controlMap.get(newsUrlRadioBtnId) as RadioButton);\n\t}\n\n\t/**\n\t * Handle the selection of the Manage News Feed Radio Button.\n\t *\n\t * @private\n\t */\n\tprivate handleselectDefaultNewsFeed(oEvent: RadioButton$SelectEvent): void {\n\t\tthis.defaultNewsVisibility = oEvent.getParameter(\"selected\") as boolean;\n\n\t\t(this.controlMap.get(`${this.getId()}-customNewsUploadFileUploader`) as FileUploader).setEnabled(!this.defaultNewsVisibility);\n\t\t(this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input).setEnabled(!this.defaultNewsVisibility);\n\n\t\tconst newsPanel = this._getPanel() as NewsPanel;\n\t\tconst newsPageContainer = newsPanel.getParent() as NewsAndPagesContainer;\n\t\tconst layout = newsPageContainer.getParent() as BaseLayout;\n\t\tconst keyUserChangeContent = this.getCurrentKeyUserChange();\n\t\tconst newsUrlInput = this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input;\n\n\t\tif (!keyUserChangeContent) {\n\t\t\tthis.addKeyUserChanges({\n\t\t\t\tselectorControl: layout,\n\t\t\t\tchangeSpecificData: {\n\t\t\t\t\tchangeType: CHANGE_TYPES.NEWS_FEED_URL,\n\t\t\t\t\tcontent: {\n\t\t\t\t\t\toldNewsFeedUrl: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\toldShowCustomNewsFeed: this.checkNewsType(NewsType.Custom),\n\t\t\t\t\t\toldCustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\toldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),\n\t\t\t\t\t\toldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),\n\t\t\t\t\t\tnewsFeedURL: String(newsUrlInput.getValue()),\n\t\t\t\t\t\tshowCustomNewsFeed: false,\n\t\t\t\t\t\tcustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\tcustomNewsFeedFileName: String(this._getPanel().getProperty(\"customFileName\")),\n\t\t\t\t\t\tshowDefaultNewsFeed: this.defaultNewsVisibility,\n\t\t\t\t\t\tshowRssNewsFeed: false\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis._eventBus.publish(\"KeyUserChanges\", \"addNewsPagesChanges\", { changes: this.getKeyUserChanges() });\n\t\t} else if (keyUserChangeContent.showDefaultNewsFeed !== this.defaultNewsVisibility) {\n\t\t\tkeyUserChangeContent.showDefaultNewsFeed = this.defaultNewsVisibility;\n\t\t}\n\t\tthis.removeUrlMesageStrip();\n\t\tthis._eventBus.publish(\"KeyUserChanges\", \"disabledSaveBtn\", { disable: false, date: new Date() });\n\t}\n\tprivate onNewsUrlChange(oEvent: InputBase$ChangeEvent): void {\n\t\tconst newsPanel = this._getPanel() as NewsPanel;\n\t\tconst newsPageContainer = newsPanel.getParent() as NewsAndPagesContainer;\n\t\tconst layout = newsPageContainer.getParent() as BaseLayout;\n\t\tlet newsUrl = oEvent.getParameter(\"value\");\n\t\tconst keyUserContent = this.getCurrentKeyUserChange();\n\t\tconst validUrl = this.getValidURL(String(newsUrl));\n\t\tif (!validUrl) {\n\t\t\treturn;\n\t\t} else {\n\t\t\tnewsUrl = validUrl;\n\t\t}\n\t\tif (!keyUserContent) {\n\t\t\tthis.addKeyUserChanges({\n\t\t\t\tselectorControl: layout,\n\t\t\t\tchangeSpecificData: {\n\t\t\t\t\tchangeType: CHANGE_TYPES.NEWS_FEED_URL,\n\t\t\t\t\tcontent: {\n\t\t\t\t\t\toldNewsFeedUrl: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\toldShowCustomNewsFeed: this.checkNewsType(NewsType.Custom),\n\t\t\t\t\t\toldCustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\toldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),\n\t\t\t\t\t\toldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),\n\t\t\t\t\t\tnewsFeedURL: newsUrl,\n\t\t\t\t\t\tshowCustomNewsFeed: false,\n\t\t\t\t\t\tcustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\tcustomNewsFeedFileName: String(this._getPanel().getProperty(\"customFileName\")),\n\t\t\t\t\t\tshowDefaultNewsFeed: false,\n\t\t\t\t\t\tshowRssNewsFeed: this.rssNewsVisibility\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis._eventBus.publish(\"KeyUserChanges\", \"addNewsPagesChanges\", { changes: this.getKeyUserChanges() });\n\t\t} else if (keyUserContent.newsFeedURL !== newsUrl) {\n\t\t\tkeyUserContent.newsFeedURL = newsUrl;\n\t\t\tkeyUserContent.showCustomNewsFeed = false;\n\t\t\tkeyUserContent.showDefaultNewsFeed = false;\n\t\t}\n\t}\n\n\tprivate showMessageStrip(bShow: boolean, type: MessageType, textKey: string): void {\n\t\tthis.getMessageStrip().setType(type);\n\t\tthis.getMessageStrip().setVisible(bShow);\n\t\tthis.getMessageStrip().setText(String(this._i18nBundle.getText(textKey)));\n\t\tif (type === MessageType.Error) {\n\t\t\tthis._eventBus.publish(\"KeyUserChanges\", \"disabledSaveBtn\", { disable: bShow, date: new Date() });\n\t\t}\n\t}\n\n\tprivate getValidURL(urlString: string): string {\n\t\ttry {\n\t\t\tconst url = new URL(urlString);\n\t\t\treturn url.href;\n\t\t} catch {\n\t\t\treturn \"\";\n\t\t}\n\t}\n\n\tpublic removeUrlMesageStrip() {\n\t\tthis._eventBus.publish(\"KeyUserChanges\", \"disabledSaveBtn\", { disable: false, date: new Date() });\n\t\tthis.getMessageStrip().setVisible(false);\n\t\tconst newsUrlInput = this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input;\n\t\tif (!this.getValidURL(newsUrlInput.getValue())) {\n\t\t\tnewsUrlInput.setValue(\"\");\n\t\t}\n\t}\n\n\tprivate onUrlLiveChange(oEvent: Input$LiveChangeEvent) {\n\t\tconst sNewValue = oEvent.getParameter(\"value\") || \"\";\n\t\tthis.showMessageStrip(!this.getValidURL(sNewValue), MessageType.Error, \"invalidNewsUrl\");\n\t}\n\n\tprivate getMessageStrip(): MessageStrip {\n\t\tconst messageStripId = `${this.getId()}-messageStrip`;\n\t\treturn this.controlMap.get(messageStripId) as MessageStrip;\n\t}\n\n\t/**\n\t * Add SimpleForm for News URL.\n\t *\n\t * @private\n\t */\n\tprivate addNewsURLSimpleForm(wrapperVBox: VBox): void {\n\t\tconst newsFeedURLSimpleFormId = `${this.getId()}-newsFeedURLSimpleForm`;\n\t\tconst showRss = this.checkNewsType(NewsType.NewsUrl);\n\t\tconst newsInputUrl = String(this._getPanel().getProperty(\"url\"));\n\t\tif (!this.controlMap.get(newsFeedURLSimpleFormId)) {\n\t\t\tconst newsFeedURLSimpleForm = new SimpleForm(`${this.getId()}-newsFeedURLSimpleForm`).addStyleClass(\n\t\t\t\t\"sapContrastPlus formCustomPadding\"\n\t\t\t);\n\t\t\tconst newsFeedURLInputId = `${this.getId()}-newsFeedURLInput`;\n\t\t\tconst newsFeedURLInput = new Input(newsFeedURLInputId, {\n\t\t\t\tvalue: newsInputUrl !== DEFAULT_NEWS_URL ? newsInputUrl : \"\",\n\t\t\t\ttype: Library.InputType.Url,\n\t\t\t\tchange: this.onNewsUrlChange.bind(this),\n\t\t\t\tliveChange: this.onUrlLiveChange.bind(this),\n\t\t\t\tenabled: showRss\n\t\t\t});\n\t\t\tthis.controlMap.set(newsFeedURLInputId, newsFeedURLInput);\n\t\t\tnewsFeedURLSimpleForm.addContent(newsFeedURLInput);\n\t\t\tthis.controlMap.set(newsFeedURLSimpleFormId, newsFeedURLSimpleForm);\n\t\t} else if (this.getCurrentKeyUserChange()) {\n\t\t\tlet inputUrlField = this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input;\n\t\t\tinputUrlField.setValue(newsInputUrl);\n\t\t}\n\t\twrapperVBox.addItem(this.controlMap.get(newsFeedURLSimpleFormId) as SimpleForm);\n\t}\n\n\tprivate handleFileChange(oEvent: FileUploader$ChangeEvent): void {\n\t\tconst fileUploader = oEvent.getSource();\n\t\tthis.getMessageStrip().setVisible(false);\n\t\tthis._eventBus.publish(\"KeyUserChanges\", \"disabledSaveBtn\", { disable: false, date: new Date() });\n\t\tthis.setNewsFeedEnabled(fileUploader.getValue() !== \"\");\n\t}\n\n\tprivate setNewsFeedEnabled(bEnabled: boolean): void {\n\t\tconst newsFeedUploadBtn = this.getNewsFeedUploadBtn();\n\t\tif (newsFeedUploadBtn) {\n\t\t\tnewsFeedUploadBtn.setEnabled(bEnabled);\n\t\t}\n\t}\n\n\tprivate getNewsFeedUploadBtn(): Button {\n\t\tconst customNewsUploadFileUploaderButtonId = `${this.getId()}-customNewsUploadFileUploaderButton`;\n\t\treturn this.controlMap.get(customNewsUploadFileUploaderButtonId) as Button;\n\t}\n\n\tprivate handleFileUploadError(oEvent: FileUploader$FileSizeExceedEvent): void {\n\t\tconst fileUploader = oEvent.getSource();\n\t\tconst iMaxFileSize = fileUploader.getMaximumFileSize();\n\t\tthis.setNewsFeedEnabled(false);\n\t\tMessageBox.error(String(this._i18nBundle.getText(\"newsFeedMaxFileSizeError\", [iMaxFileSize])));\n\t}\n\n\thandleFileDialogClose(event: Event): void {\n\t\tconst fileUploader = event.getSource<FileUploader>();\n\t\tlet fileName = fileUploader.getValue();\n\t\t// if file selection dialog is closed and no file is selected, set value as last uploaded file\n\n\t\tif (fileName === \"\") {\n\t\t\tfileName = this.getCurrentKeyUserChange()?.customNewsFeedFileName || String(this._getPanel().getProperty(\"customFileName\"));\n\t\t\tthis.setNewsFeedEnabled(false);\n\t\t}\n\t\tfileUploader.setValue(fileName);\n\t}\n\n\tprivate async handleNewsFeedFileUpload(): Promise<void> {\n\t\tlet errorMsg = this._i18nBundle.getText(\"newsFeedFileUploadError\");\n\t\ttry {\n\t\t\tconst response = await Promise.all([this.getUploadedFile(), Container.getServiceAsync<UserInfo>(\"UserInfo\")]);\n\t\t\tconst fileData = response[0];\n\t\t\tconst userInfo = response[1];\n\t\t\tconst userId = userInfo && userInfo.getId();\n\t\t\tconst payload: UploadedFilePayload = { changeId: userId + \"_\" + Date.now().toString(), attachment: fileData.content };\n\n\t\t\t//pass documentType if file is in csv format\n\t\t\t//if documentType is not passed by default document type is considered as excel.\n\t\t\tif (fileData.type) {\n\t\t\t\tpayload.documentType = fileData.type;\n\t\t\t}\n\t\t\tconst oResponse = await HttpHelper.Post(Constants.NEWS_FEED_POST_API, payload);\n\t\t\tconst keyUserChangeContent = this.getCurrentKeyUserChange();\n\t\t\tconst newsPanel = this._getPanel() as NewsPanel;\n\t\t\tconst newsPageContainer = newsPanel.getParent() as NewsAndPagesContainer;\n\t\t\tconst layout = newsPageContainer.getParent() as BaseLayout;\n\t\t\tif (oResponse && (oResponse as { error: { message: string } }).error) {\n\t\t\t\tthis.getFileUploader().setValue(\"\");\n\t\t\t\tif (keyUserChangeContent) {\n\t\t\t\t\tkeyUserChangeContent.customNewsFeedFileName = \"\";\n\t\t\t\t} else {\n\t\t\t\t\tthis.addKeyUserChanges({\n\t\t\t\t\t\tselectorControl: layout,\n\t\t\t\t\t\tchangeSpecificData: {\n\t\t\t\t\t\t\tchangeType: CHANGE_TYPES.NEWS_FEED_URL,\n\t\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\t\toldNewsFeedUrl: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\t\t\toldShowCustomNewsFeed: this.checkNewsType(NewsType.Custom),\n\t\t\t\t\t\t\t\toldCustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\t\t\toldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),\n\t\t\t\t\t\t\t\toldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),\n\t\t\t\t\t\t\t\tnewsFeedURL: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\t\t\tshowCustomNewsFeed: true,\n\t\t\t\t\t\t\t\tcustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\t\t\tcustomNewsFeedFileName: String(this._getPanel().getProperty(\"customFileName\")),\n\t\t\t\t\t\t\t\tshowDefaultNewsFeed: false,\n\t\t\t\t\t\t\t\tshowRssNewsFeed: false\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\terrorMsg = (oResponse as { error: { message: string } }).error.message.includes(\"NODATA\")\n\t\t\t\t\t? this._i18nBundle.getText(\"newsFeedEmptyFileError\")\n\t\t\t\t\t: errorMsg;\n\t\t\t\tthrow new Error(errorMsg);\n\t\t\t}\n\t\t\tconst customKey = (oResponse as { changeId: string }).changeId;\n\t\t\tif (keyUserChangeContent) {\n\t\t\t\tkeyUserChangeContent.customNewsFeedKey = customKey;\n\t\t\t\tkeyUserChangeContent.customNewsFeedFileName = this.getFileUploader().getValue();\n\t\t\t} else {\n\t\t\t\tthis.addKeyUserChanges({\n\t\t\t\t\tselectorControl: layout,\n\t\t\t\t\tchangeSpecificData: {\n\t\t\t\t\t\tchangeType: CHANGE_TYPES.NEWS_FEED_URL,\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\toldNewsFeedUrl: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\t\toldShowCustomNewsFeed: this.checkNewsType(NewsType.Custom),\n\t\t\t\t\t\t\toldCustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\t\toldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),\n\t\t\t\t\t\t\toldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),\n\t\t\t\t\t\t\tnewsFeedURL: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\t\tshowCustomNewsFeed: true,\n\t\t\t\t\t\t\tcustomNewsFeedKey: customKey,\n\t\t\t\t\t\t\tcustomNewsFeedFileName: this.getFileUploader().getValue(),\n\t\t\t\t\t\t\tshowDefaultNewsFeed: false,\n\t\t\t\t\t\t\tshowRssNewsFeed: false\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tthis._eventBus.publish(\"KeyUserChanges\", \"addNewsPagesChanges\", { changes: this.getKeyUserChanges() });\n\t\t\t}\n\t\t\tMessageToast.show(String(this._i18nBundle.getText(\"customNewsFeedUploaded\")));\n\t\t\tthis.setNewsFeedEnabled(false);\n\t\t} catch (oErr) {\n\t\t\tMessageBox.error((oErr as { message: string }).message);\n\t\t\tthis.setNewsFeedEnabled(false);\n\t\t}\n\t}\n\n\tprivate getUploadedFile(): Promise<FileMetaData> {\n\t\treturn new Promise<FileMetaData>((resolve, reject) => {\n\t\t\tconst fileUploader = this.getFileUploader();\n\t\t\tlet errorMsg = this._i18nBundle.getText(\"newsFeedFileUploadError\");\n\t\t\tif (fileUploader && !fileUploader.getValue()) {\n\t\t\t\terrorMsg = this._i18nBundle.getText(\"noNewsFileError\");\n\t\t\t\treject(new Error(errorMsg));\n\t\t\t}\n\n\t\t\tconst file = fileUploader.oFileUpload.files[0];\n\t\t\tconst reader = new FileReader();\n\n\t\t\treader.onload = function () {\n\t\t\t\ttry {\n\t\t\t\t\tconst fileContent = reader.result as string;\n\t\t\t\t\tlet base64String;\n\t\t\t\t\tconst fileData: FileMetaData = { type: \"\", content: \"\" };\n\t\t\t\t\tif (file.type === \"text/csv\") {\n\t\t\t\t\t\tbase64String = window.btoa(\n\t\t\t\t\t\t\tencodeURIComponent(String(fileContent)).replace(/%([0-9A-F]{2})/g, function (match, p1: string) {\n\t\t\t\t\t\t\t\treturn String.fromCharCode(parseInt(p1, 16));\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\t\t\t\t\t\tfileData.type = \"CSV\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbase64String = fileContent.replace(\"data:\", \"\").replace(/^.+,/, \"\");\n\t\t\t\t\t}\n\t\t\t\t\tfileData.content = base64String;\n\t\t\t\t\tresolve(fileData);\n\t\t\t\t} catch {\n\t\t\t\t\treject(new Error(errorMsg));\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tif (file.type === \"text/csv\") {\n\t\t\t\treader.readAsText(file);\n\t\t\t} else {\n\t\t\t\treader.readAsDataURL(file);\n\t\t\t}\n\t\t});\n\t}\n\n\tprivate getFileUploader(): FileUploader {\n\t\tconst customNewsUploadFileUploader = `${this.getId()}-customNewsUploadFileUploader`;\n\t\treturn this.controlMap.get(customNewsUploadFileUploader) as FileUploader;\n\t}\n\n\t/**\n\t * Add SimpleForm for Custom News Upload Form.\n\t *\n\t * @private\n\t */\n\tprivate addCustomNewsUploadSimpleForm(wrapperVBox: VBox): void {\n\t\tconst customNewsUploadSimpleFormId = `${this.getId()}-customNewsUploadSimpleForm`;\n\t\tif (!this.controlMap.get(customNewsUploadSimpleFormId)) {\n\t\t\tconst customNewsUploadSimpleForm = new SimpleForm(`${this.getId()}-customNewsUploadSimpleForm`).addStyleClass(\n\t\t\t\t\"sapContrastPlus formCustomPadding\"\n\t\t\t);\n\t\t\tconst customNewsUploadVBox = new VBox(`${this.getId()}-customNewsUploadVBox`);\n\t\t\tconst customNewsUploadFileUploader = `${this.getId()}-customNewsUploadFileUploader`;\n\t\t\tconst newsPanel = this._getPanel() as NewsPanel;\n\t\t\tconst customNewsUploadFileUploaderControl = new FileUploader(customNewsUploadFileUploader, {\n\t\t\t\tname: \"newsFeedFileUploader\",\n\t\t\t\ttooltip: this._i18nBundle.getText(\"uploadNewsFeedFile\"),\n\t\t\t\tfileType: newsPanel?.getProperty(\"supportedFileFormats\") as FileFormat[],\n\t\t\t\twidth: \"100%\",\n\t\t\t\tchange: this.handleFileChange.bind(this),\n\t\t\t\tmaximumFileSize: 25,\n\t\t\t\tfileSizeExceed: this.handleFileUploadError.bind(this),\n\t\t\t\tsameFilenameAllowed: true,\n\t\t\t\tafterDialogClose: this.handleFileDialogClose.bind(this),\n\t\t\t\tvalue: String(this._getPanel().getProperty(\"customFileName\")),\n\t\t\t\tenabled: this.checkNewsType(NewsType.Custom)\n\t\t\t});\n\t\t\tthis.controlMap.set(customNewsUploadFileUploader, customNewsUploadFileUploaderControl);\n\t\t\tconst customNewsUploadFileUploaderButtonId = `${this.getId()}-customNewsUploadFileUploaderButton`;\n\t\t\tconst customNewsUploadFileUploaderButton = new Button(customNewsUploadFileUploaderButtonId, {\n\t\t\t\ttext: this._i18nBundle.getText(\"uploadNewsFeedBtn\"),\n\t\t\t\tpress: this.handleNewsFeedFileUpload.bind(this),\n\t\t\t\ttype: \"Emphasized\",\n\t\t\t\tenabled: false\n\t\t\t});\n\t\t\tthis.controlMap.set(customNewsUploadFileUploaderButtonId, customNewsUploadFileUploaderButton);\n\t\t\tcustomNewsUploadVBox.addItem(customNewsUploadFileUploaderControl);\n\t\t\tcustomNewsUploadVBox.addItem(customNewsUploadFileUploaderButton);\n\t\t\tcustomNewsUploadSimpleForm.addContent(customNewsUploadVBox);\n\t\t\tthis.controlMap.set(customNewsUploadSimpleFormId, customNewsUploadSimpleForm);\n\t\t}\n\t\twrapperVBox.addItem(this.controlMap.get(customNewsUploadSimpleFormId) as SimpleForm);\n\t}\n\n\t/**\n\t * Load settings for the panel.\n\t *\n\t * @private\n\t */\n\tprivate loadSettings(): void {\n\t\tconst wrapperVBoxId = `${this.getId()}-wrapperVBox`;\n\t\tconst wrapperVBox = this.controlMap.get(wrapperVBoxId) as VBox;\n\t\twrapperVBox.removeAllItems();\n\t\tthis.addMessageStrip(wrapperVBox);\n\t\tthis.addNewsPaneLabel(wrapperVBox);\n\t\tthis.addDefaultNew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,GAAG,IAAI,CAACC,KAAK,CAAC,CAAC,cAAc;MACnD,MAAMC,WAAW,GAAG,IAAI,CAACpC,UAAU,CAACiF,GAAG,CAAC/C,aAAa,CAAS;MAC9DE,WAAW,CAACoO,cAAc,CAAC,CAAC;MAC5B,IAAI,CAAChL,eAAe,CAACpD,WAAW,CAAC;MACjC,IAAI,CAACyG,gBAAgB,CAACzG,WAAW,CAAC;MAClC,IAAI,CAACmG,0BAA0B,CAACnG,WAAW,CAAC;MAC5C,IAAI,CAAC+G,kBAAkB,CAAC/G,WAAW,CAAC;MACpC,IAAI,CAACyI,oBAAoB,CAACzI,WAAW,CAAC;MACtC,IAAI,CAACyF,yBAAyB,CAACzF,WAAW,CAAC;MAC3C,IAAI,CAACoN,6BAA6B,CAACpN,WAAW,CAAC;IAChD;EAAC;EAAA,OAlqBmB3C,wBAAwB;AAAA","ignoreList":[]}
1
+ {"version":3,"file":"KeyUserNewsSettingsPanel.js","names":["sap","ui","define","Button","Input","Label","MessageBox","MessageStrip","MessageToast","RadioButton","Toolbar","VBox","Library","EventBus","MessageType","SimpleForm","FileUploader","Container","__BaseSettingsPanel","___flexibility_Layoutflexibility","___library","___utils_Constants","__HttpHelper","_interopRequireDefault","obj","__esModule","default","_catch","body","recover","result","e","then","BaseSettingsPanel","CHANGE_TYPES","NewsType","DEFAULT_NEWS_URL","KEYUSER_SETTINGS_PANELS_KEYS","HttpHelper","Constants","NEWS_FEED_POST_API","KeyUserNewsSettingsPanel","extend","metadata","library","init","_init","BaseSettingsPanel.prototype.init.call","controlMap","Map","setProperty","NEWS","_i18nBundle","getText","addAggregation","getContent","attachPanelNavigated","loadSettings","_eventBus","getInstance","subscribe","channelId","eventId","data","showError","showMessageStrip","Warning","validChanges","getMessageStrip","setVisible","getCurrentKeyUserChange","_getCurrentKeyUserChange","keyUserChanges","getKeyUserChanges","existingChange","find","change","changeSpecificData","changeType","NEWS_FEED_URL","content","_getContent","wrapperVBoxId","getId","wrapperVBox","set","checkNewsType","_checkNewsType","type","_getPanel","getProperty","isValidChanges","_isValidChanges","newsVisible","_this","_temp5","fileUploader","getFileUploader","keyUserChangeContent","showCustom","customNewsVisibility","Custom","showDefault","defaultNewsVisibility","Default","_temp4","getNewsFeedUploadBtn","getEnabled","error","String","setValue","customNewsFeedFileName","_temp3","getValue","Error","_temp2","getVisible","newsUrl","newsFeedURL","_temp","trim","Promise","resolve","setURL","reject","clearNewsPanelChanges","_clearNewsPanelChanges","newsPanel","newsUrlInput","get","url","rssNewsVisibility","NewsUrl","setEnabled","setSelected","clearKeyUserChanges","addMessageStrip","_addMessageStrip","keyUserNewsPanelToolbarId","keyUserNewsPanelToolbar","height","messageStripWrapper","width","messageStripId","messsageStrip","showIcon","visible","addItem","addContent","handleSelectCustomNewsFeed","_handleSelectCustomNewsFeed","oEvent","getParameter","newsPageContainer","getParent","layout","addKeyUserChanges","selectorControl","oldNewsFeedUrl","oldShowCustomNewsFeed","oldCustomNewsFeedKey","oldshowDefaultNewsFeed","oldShowRssNewsFeed","showCustomNewsFeed","customNewsFeedKey","showDefaultNewsFeed","showRssNewsFeed","publish","changes","removeUrlMesageStrip","disable","date","Date","addCustomNewsFeedRadioBtn","_addCustomNewsFeedRadioBtn","customNewsFeedRadioBtnId","customNewsFeedRadioBtn","text","selected","select","bind","addStyleClass","customRadioBtn","addDefaultNewsFeedRadioBtn","_addDefaultNewsFeedRadioBtn","defaultNewsFeedRadioBtnId","defaultNewsFeedRadioBtn","handleselectDefaultNewsFeed","defaultRadioBtn","addNewsPaneLabel","_addNewsPaneLabel","newsPanelLabelId","newsPanelLabel","handleSelectRssNewsFeed","_handleSelectRssNewsFeed","addNewsUrlRadioBtn","_addNewsUrlRadioBtn","newsUrlRadioBtnId","showRss","newsUrlRadioBtn","rssRadioBtn","_handleselectDefaultNewsFeed","onNewsUrlChange","_onNewsUrlChange","keyUserContent","validUrl","getValidURL","_showMessageStrip","bShow","textKey","setType","setText","_getValidURL","urlString","URL","href","_removeUrlMesageStrip","onUrlLiveChange","_onUrlLiveChange","sNewValue","_getMessageStrip","addNewsURLSimpleForm","_addNewsURLSimpleForm","newsFeedURLSimpleFormId","newsInputUrl","newsFeedURLSimpleForm","newsFeedURLInputId","newsFeedURLInput","value","InputType","Url","liveChange","enabled","inputUrlField","handleFileChange","_handleFileChange","getSource","setNewsFeedEnabled","_setNewsFeedEnabled","bEnabled","newsFeedUploadBtn","_getNewsFeedUploadBtn","customNewsUploadFileUploaderButtonId","handleFileUploadError","_handleFileUploadError","iMaxFileSize","getMaximumFileSize","handleFileDialogClose","_handleFileDialogClose","event","fileName","handleNewsFeedFileUpload","_handleNewsFeedFileUpload","_this2","errorMsg","all","getUploadedFile","getServiceAsync","response","fileData","userInfo","userId","payload","changeId","now","toString","attachment","documentType","Post","oResponse","message","includes","customKey","show","oErr","_getUploadedFile","file","oFileUpload","files","reader","FileReader","onload","fileContent","base64String","window","btoa","encodeURIComponent","replace","match","p1","fromCharCode","parseInt","readAsText","readAsDataURL","_getFileUploader","customNewsUploadFileUploader","addCustomNewsUploadSimpleForm","_addCustomNewsUploadSimpleForm","customNewsUploadSimpleFormId","customNewsUploadSimpleForm","customNewsUploadVBox","customNewsUploadFileUploaderControl","name","tooltip","fileType","maximumFileSize","fileSizeExceed","sameFilenameAllowed","afterDialogClose","customNewsUploadFileUploaderButton","press","_loadSettings","removeAllItems"],"sources":["KeyUserNewsSettingsPanel.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\nimport Button from \"sap/m/Button\";\nimport Input, { Input$LiveChangeEvent } from \"sap/m/Input\";\nimport { InputBase$ChangeEvent } from \"sap/m/InputBase\";\nimport Label from \"sap/m/Label\";\nimport MessageBox from \"sap/m/MessageBox\";\nimport MessageStrip from \"sap/m/MessageStrip\";\nimport MessageToast from \"sap/m/MessageToast\";\nimport RadioButton, { RadioButton$SelectEvent } from \"sap/m/RadioButton\";\nimport Toolbar from \"sap/m/Toolbar\";\nimport VBox from \"sap/m/VBox\";\nimport Library from \"sap/m/library\";\nimport Event from \"sap/ui/base/Event\";\nimport Control from \"sap/ui/core/Control\";\nimport type { MetadataOptions } from \"sap/ui/core/Element\";\nimport EventBus from \"sap/ui/core/EventBus\";\nimport MessageType from \"sap/ui/core/message/MessageType\";\nimport SimpleForm from \"sap/ui/layout/form/SimpleForm\";\nimport FileUploader, { FileUploader$ChangeEvent, FileUploader$FileSizeExceedEvent } from \"sap/ui/unified/FileUploader\";\nimport Container from \"sap/ushell/Container\";\nimport UserInfo from \"sap/ushell/services/UserInfo\";\nimport BaseLayout from \"./BaseLayout\";\nimport BaseSettingsPanel from \"./BaseSettingsPanel\";\nimport NewsAndPagesContainer from \"./NewsAndPagesContainer\";\nimport NewsPanel, { FileFormat } from \"./NewsPanel\";\nimport { CHANGE_TYPES } from \"./flexibility/Layout.flexibility\";\nimport { INewsPersData } from \"./interface/KeyUserInterface\";\nimport { NewsType } from \"./library\";\nimport { DEFAULT_NEWS_URL, KEYUSER_SETTINGS_PANELS_KEYS } from \"./utils/Constants\";\nimport HttpHelper from \"./utils/HttpHelper\";\n\nconst Constants = {\n\tNEWS_FEED_POST_API: \"/sap/opu/odata4/ui2/insights_srv/srvd/ui2/\" + \"insights_repo_srv/0001/\" + \"NEWS_FEED\"\n};\n\ninterface ShowError {\n\tshowError: boolean;\n\tdate: Date;\n}\n\ninterface UploadedFilePayload {\n\tchangeId: string;\n\tattachment: string | PromiseLike<string>;\n\tdocumentType?: string; // Optional\n}\n\ninterface FileMetaData {\n\ttype: string;\n\tcontent: string | PromiseLike<string>;\n}\n\n/**\n *\n * Class for News Settings Panel for KeyUser Settings Dialog.\n *\n * @extends BaseSettingsPanel\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.121\n * @private\n *\n * @alias sap.cux.home.KeyUserNewsSettingsPanel\n */\nexport default class KeyUserNewsSettingsPanel extends BaseSettingsPanel {\n\tstatic readonly metadata: MetadataOptions = {\n\t\tlibrary: \"sap.cux.home\"\n\t};\n\n\tprivate controlMap!: Map<string, Control | Element>;\n\tprivate _eventBus!: EventBus;\n\tprivate customNewsVisibility!: boolean;\n\tprivate defaultNewsVisibility!: boolean;\n\tprivate validChanges!: boolean;\n\tprivate rssNewsVisibility!: boolean;\n\n\t/**\n\t * Init lifecycle method\n\t *\n\t * @public\n\t * @override\n\t */\n\tpublic init(): void {\n\t\tsuper.init();\n\t\tthis.controlMap = new Map();\n\n\t\t//setup panel\n\t\tthis.setProperty(\"key\", KEYUSER_SETTINGS_PANELS_KEYS.NEWS);\n\t\tthis.setProperty(\"title\", this._i18nBundle.getText(\"editNewsFeed\"));\n\n\t\t// //setup layout content\n\t\tthis.addAggregation(\"content\", this.getContent());\n\n\t\t// fired every time on panel navigation\n\t\tthis.attachPanelNavigated(() => this.loadSettings());\n\n\t\tthis._eventBus = EventBus.getInstance();\n\t\tthis._eventBus.subscribe(\n\t\t\t\"KeyUserChanges\",\n\t\t\t\"newsFeedLoadFailed\",\n\t\t\t(channelId?: string, eventId?: string, data?: object) => {\n\t\t\t\t//errorstate is false when import is successful\n\t\t\t\tif ((data as unknown as ShowError)?.showError) {\n\t\t\t\t\tthis.showMessageStrip(true, MessageType.Warning, \"invalidNewsUrl\");\n\t\t\t\t\tthis.validChanges = false;\n\t\t\t\t} else {\n\t\t\t\t\tthis.getMessageStrip().setVisible(false);\n\t\t\t\t\tthis.validChanges = true;\n\t\t\t\t}\n\t\t\t},\n\t\t\tthis\n\t\t);\n\t}\n\n\tprivate getCurrentKeyUserChange(): INewsPersData {\n\t\tconst keyUserChanges = this.getKeyUserChanges();\n\t\tconst existingChange = keyUserChanges.find((change) => {\n\t\t\treturn change.changeSpecificData.changeType === CHANGE_TYPES.NEWS_FEED_URL;\n\t\t});\n\t\treturn existingChange?.changeSpecificData.content as INewsPersData;\n\t}\n\n\t/**\n\t * Returns the content for the KeyUser news Settings Panel.\n\t *\n\t * @private\n\t * @returns {VBox} The control containing the KeyUser news Settings Panel content.\n\t */\n\tprivate getContent(): VBox {\n\t\tconst wrapperVBoxId = `${this.getId()}-wrapperVBox`;\n\t\tconst wrapperVBox = new VBox(wrapperVBoxId);\n\t\tthis.controlMap.set(wrapperVBoxId, wrapperVBox);\n\n\t\treturn wrapperVBox;\n\t}\n\n\tpublic checkNewsType(type: NewsType): boolean {\n\t\tif (this._getPanel().getProperty(\"type\") === type) return true;\n\t\treturn false;\n\t}\n\n\tpublic async isValidChanges(newsVisible: boolean) {\n\t\tthis.validChanges = true;\n\t\tconst fileUploader = this.getFileUploader();\n\t\tconst keyUserChangeContent = this.getCurrentKeyUserChange();\n\t\tconst showCustom = this.customNewsVisibility ?? !!this.checkNewsType(NewsType.Custom);\n\t\tconst showDefault = this.defaultNewsVisibility ?? !!this.checkNewsType(NewsType.Default);\n\t\tif (this.getNewsFeedUploadBtn().getEnabled()) {\n\t\t\tif (showCustom) {\n\t\t\t\tMessageBox.error(String(this._i18nBundle.getText(\"newsFeedSaveUploadChanges\")));\n\t\t\t\tthis.validChanges = false;\n\t\t\t} else {\n\t\t\t\tif (fileUploader) {\n\t\t\t\t\tfileUploader.setValue(\n\t\t\t\t\t\tkeyUserChangeContent.customNewsFeedFileName || String(this._getPanel().getProperty(\"customFileName\"))\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (showCustom && fileUploader.getValue() === \"\" && newsVisible) {\n\t\t\tthis.showMessageStrip(true, MessageType.Error, \"noNewsFileError\");\n\t\t\tthis.validChanges = false;\n\t\t} else if (!showCustom && !showDefault && newsVisible && !this.getMessageStrip().getVisible()) {\n\t\t\tconst newsUrl = keyUserChangeContent.newsFeedURL;\n\t\t\tif (!newsUrl?.trim()) {\n\t\t\t\tthis.showMessageStrip(true, MessageType.Error, \"invalidNewsUrl\");\n\t\t\t\tthis.validChanges = false;\n\t\t\t} else {\n\t\t\t\tawait (this._getPanel() as NewsPanel).setURL(String(newsUrl));\n\t\t\t}\n\t\t}\n\t\treturn this.validChanges;\n\t}\n\n\tpublic clearNewsPanelChanges() {\n\t\tconst newsPanel = this._getPanel();\n\t\tthis.getMessageStrip().setVisible(false);\n\t\tconst newsUrlInput = this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input;\n\t\tconst url = String(newsPanel.getProperty(\"url\"));\n\t\tnewsUrlInput.setValue(url !== DEFAULT_NEWS_URL ? url : \"\");\n\t\tthis.customNewsVisibility = this.checkNewsType(NewsType.Custom);\n\t\tthis.defaultNewsVisibility = this.checkNewsType(NewsType.Default);\n\t\tthis.rssNewsVisibility = this.checkNewsType(NewsType.NewsUrl);\n\n\t\t(this.controlMap.get(`${this.getId()}-customNewsUploadFileUploader`) as FileUploader).setEnabled(this.customNewsVisibility);\n\t\t(this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input).setEnabled(this.rssNewsVisibility);\n\t\t(this.controlMap.get(`${this.getId()}-customNewsFeedRadioBtn`) as RadioButton).setSelected(this.customNewsVisibility);\n\t\t(this.controlMap.get(`${this.getId()}-defaultNewsFeedRadioBtn`) as RadioButton).setSelected(this.defaultNewsVisibility);\n\t\t(this.controlMap.get(`${this.getId()}-newsUrlRadioBtn`) as RadioButton).setSelected(this.rssNewsVisibility);\n\t\tthis.getFileUploader().setValue(String(newsPanel.getProperty(\"customFileName\")));\n\t\tthis.clearKeyUserChanges();\n\t}\n\n\tprivate addMessageStrip(wrapperVBox: VBox): void {\n\t\tconst keyUserNewsPanelToolbarId = `${this.getId()}-keyUserNewsPanelToolbar`;\n\t\tif (!this.controlMap.get(keyUserNewsPanelToolbarId)) {\n\t\t\tconst keyUserNewsPanelToolbar = new Toolbar(keyUserNewsPanelToolbarId, { height: \"auto\" });\n\t\t\tconst messageStripWrapper = new VBox(`${this.getId()}-messageStripWrapper`, { width: \"100%\" });\n\t\t\tconst messageStripId = `${this.getId()}-messageStrip`;\n\t\t\tconst messsageStrip = new MessageStrip(messageStripId, {\n\t\t\t\tshowIcon: true,\n\t\t\t\tvisible: false\n\t\t\t});\n\t\t\tthis.controlMap.set(messageStripId, messsageStrip);\n\t\t\tmessageStripWrapper.addItem(messsageStrip);\n\t\t\tkeyUserNewsPanelToolbar.addContent(messageStripWrapper);\n\t\t\tthis.controlMap.set(keyUserNewsPanelToolbarId, keyUserNewsPanelToolbar);\n\t\t}\n\t\twrapperVBox.addItem(this.controlMap.get(keyUserNewsPanelToolbarId) as Toolbar);\n\t}\n\n\tprivate handleSelectCustomNewsFeed(oEvent: RadioButton$SelectEvent): void {\n\t\tthis.customNewsVisibility = oEvent.getParameter(\"selected\") as boolean;\n\n\t\t(this.controlMap.get(`${this.getId()}-customNewsUploadFileUploader`) as FileUploader).setEnabled(this.customNewsVisibility);\n\t\t(this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input).setEnabled(!this.customNewsVisibility);\n\n\t\tconst newsPanel = this._getPanel() as NewsPanel;\n\t\tconst newsPageContainer = newsPanel.getParent() as NewsAndPagesContainer;\n\t\tconst layout = newsPageContainer.getParent() as BaseLayout;\n\t\tconst keyUserChangeContent = this.getCurrentKeyUserChange();\n\t\tif (!keyUserChangeContent) {\n\t\t\tthis.addKeyUserChanges({\n\t\t\t\tselectorControl: layout,\n\t\t\t\tchangeSpecificData: {\n\t\t\t\t\tchangeType: CHANGE_TYPES.NEWS_FEED_URL,\n\t\t\t\t\tcontent: {\n\t\t\t\t\t\toldNewsFeedUrl: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\toldShowCustomNewsFeed: this.checkNewsType(NewsType.Custom),\n\t\t\t\t\t\toldCustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\toldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),\n\t\t\t\t\t\toldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),\n\n\t\t\t\t\t\tnewsFeedURL: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\tshowCustomNewsFeed: this.customNewsVisibility,\n\t\t\t\t\t\tcustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\tcustomNewsFeedFileName: String(this._getPanel().getProperty(\"customFileName\")),\n\t\t\t\t\t\tshowDefaultNewsFeed: false,\n\t\t\t\t\t\tshowRssNewsFeed: false\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis._eventBus.publish(\"KeyUserChanges\", \"addNewsPagesChanges\", { changes: this.getKeyUserChanges() });\n\t\t} else if (keyUserChangeContent.showCustomNewsFeed !== this.customNewsVisibility) {\n\t\t\tkeyUserChangeContent.showCustomNewsFeed = this.customNewsVisibility;\n\t\t}\n\t\tthis.removeUrlMesageStrip();\n\t\tthis._eventBus.publish(\"KeyUserChanges\", \"disabledSaveBtn\", { disable: false, date: new Date() });\n\t}\n\n\t/**\n\t * Add Radio Button for Custom News Feed.\n\t *\n\t * @private\n\t */\n\tprivate addCustomNewsFeedRadioBtn(wrapperVBox: VBox): void {\n\t\tconst customNewsFeedRadioBtnId = `${this.getId()}-customNewsFeedRadioBtn`;\n\t\tconst showCustom = this.checkNewsType(NewsType.Custom);\n\n\t\tif (!this.controlMap.get(customNewsFeedRadioBtnId)) {\n\t\t\tconst customNewsFeedRadioBtn = new RadioButton(`${this.getId()}-customNewsFeedRadioBtn`, {\n\t\t\t\ttext: this._i18nBundle.getText(\"selectCustomNewsFeed\"),\n\t\t\t\tselected: showCustom,\n\t\t\t\tselect: this.handleSelectCustomNewsFeed.bind(this)\n\t\t\t}).addStyleClass(\"sapUiTinyMargin\");\n\t\t\tthis.controlMap.set(customNewsFeedRadioBtnId, customNewsFeedRadioBtn);\n\t\t} else if (!this.getCurrentKeyUserChange()) {\n\t\t\tlet customRadioBtn = this.controlMap.get(`${this.getId()}-customNewsFeedRadioBtn`) as RadioButton;\n\t\t\tcustomRadioBtn.setSelected(showCustom);\n\t\t\t(this.controlMap.get(`${this.getId()}-customNewsUploadFileUploader`) as FileUploader).setEnabled(showCustom);\n\t\t}\n\t\twrapperVBox.addItem(this.controlMap.get(customNewsFeedRadioBtnId) as RadioButton);\n\t}\n\n\t/**\n\t * Add Radio Button for Manage News Feed.\n\t *\n\t * @private\n\t */\n\tprivate addDefaultNewsFeedRadioBtn(wrapperVBox: VBox): void {\n\t\tconst defaultNewsFeedRadioBtnId = `${this.getId()}-defaultNewsFeedRadioBtn`;\n\t\tconst showDefault = this.checkNewsType(NewsType.Default);\n\n\t\tif (!this.controlMap.get(defaultNewsFeedRadioBtnId)) {\n\t\t\tconst defaultNewsFeedRadioBtn = new RadioButton(`${this.getId()}-defaultNewsFeedRadioBtn`, {\n\t\t\t\ttext: this._i18nBundle.getText(\"selectDefaultNewsFeed\"),\n\t\t\t\tselected: showDefault,\n\t\t\t\tselect: this.handleselectDefaultNewsFeed.bind(this)\n\t\t\t}).addStyleClass(\"sapUiTinyMargin\");\n\t\t\tthis.controlMap.set(defaultNewsFeedRadioBtnId, defaultNewsFeedRadioBtn);\n\t\t} else if (!this.getCurrentKeyUserChange()) {\n\t\t\tlet defaultRadioBtn = this.controlMap.get(`${this.getId()}-defaultNewsFeedRadioBtn`) as RadioButton;\n\t\t\tdefaultRadioBtn.setSelected(showDefault);\n\t\t}\n\t\twrapperVBox.addItem(this.controlMap.get(defaultNewsFeedRadioBtnId) as RadioButton);\n\t}\n\n\tprivate addNewsPaneLabel(wrapperVBox: VBox): void {\n\t\tconst newsPanelLabelId = `${this.getId()}-newsPanelLabel`;\n\t\tif (!this.controlMap.get(newsPanelLabelId)) {\n\t\t\tconst newsPanelLabel = new Label(newsPanelLabelId, {\n\t\t\t\ttext: this._i18nBundle.getText(\"newsFeedOptionLabel\")\n\t\t\t}).addStyleClass(\"sapUiTinyMargin\");\n\t\t\tthis.controlMap.set(newsPanelLabelId, newsPanelLabel);\n\t\t}\n\t\twrapperVBox.addItem(this.controlMap.get(newsPanelLabelId) as Label);\n\t}\n\n\tprivate handleSelectRssNewsFeed(oEvent: RadioButton$SelectEvent): void {\n\t\tthis.rssNewsVisibility = oEvent.getParameter(\"selected\") as boolean;\n\t\t(this.controlMap.get(`${this.getId()}-customNewsUploadFileUploader`) as FileUploader).setEnabled(!this.rssNewsVisibility);\n\t\t(this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input).setEnabled(this.rssNewsVisibility);\n\n\t\tconst newsPanel = this._getPanel() as NewsPanel;\n\t\tconst newsPageContainer = newsPanel.getParent() as NewsAndPagesContainer;\n\t\tconst layout = newsPageContainer.getParent() as BaseLayout;\n\t\tconst keyUserChangeContent = this.getCurrentKeyUserChange();\n\t\tif (!keyUserChangeContent) {\n\t\t\tthis.addKeyUserChanges({\n\t\t\t\tselectorControl: layout,\n\t\t\t\tchangeSpecificData: {\n\t\t\t\t\tchangeType: CHANGE_TYPES.NEWS_FEED_URL,\n\t\t\t\t\tcontent: {\n\t\t\t\t\t\toldNewsFeedUrl: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\toldShowCustomNewsFeed: this.checkNewsType(NewsType.Custom),\n\t\t\t\t\t\toldCustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\toldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),\n\t\t\t\t\t\toldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),\n\t\t\t\t\t\tnewsFeedURL: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\tshowCustomNewsFeed: false,\n\t\t\t\t\t\tcustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\tcustomNewsFeedFileName: String(this._getPanel().getProperty(\"customFileName\")),\n\t\t\t\t\t\tshowDefaultNewsFeed: false,\n\t\t\t\t\t\tshowRssNewsFeed: this.rssNewsVisibility\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis._eventBus.publish(\"KeyUserChanges\", \"addNewsPagesChanges\", { changes: this.getKeyUserChanges() });\n\t\t} else if (keyUserChangeContent.showRssNewsFeed !== this.rssNewsVisibility) {\n\t\t\tkeyUserChangeContent.showRssNewsFeed = this.rssNewsVisibility;\n\t\t}\n\t\tthis.removeUrlMesageStrip();\n\t\tthis._eventBus.publish(\"KeyUserChanges\", \"disabledSaveBtn\", { disable: false, date: new Date() });\n\t}\n\n\tprivate addNewsUrlRadioBtn(wrapperVBox: VBox): void {\n\t\tconst newsUrlRadioBtnId = `${this.getId()}-newsUrlRadioBtn`;\n\t\tconst showRss = this.checkNewsType(NewsType.NewsUrl);\n\t\tif (!this.controlMap.get(newsUrlRadioBtnId)) {\n\t\t\tconst newsUrlRadioBtn = new RadioButton(`${this.getId()}-newsUrlRadioBtn`, {\n\t\t\t\ttext: this._i18nBundle.getText(\"selectNewsFeedUrl\"),\n\t\t\t\tselected: showRss,\n\t\t\t\tselect: this.handleSelectRssNewsFeed.bind(this)\n\t\t\t}).addStyleClass(\"sapUiTinyMargin\");\n\t\t\tthis.controlMap.set(newsUrlRadioBtnId, newsUrlRadioBtn);\n\t\t} else if (!this.getCurrentKeyUserChange()) {\n\t\t\tlet rssRadioBtn = this.controlMap.get(`${this.getId()}-newsUrlRadioBtn`) as RadioButton;\n\t\t\trssRadioBtn.setSelected(showRss);\n\t\t\t(this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input).setEnabled(showRss);\n\t\t}\n\n\t\twrapperVBox.addItem(this.controlMap.get(newsUrlRadioBtnId) as RadioButton);\n\t}\n\n\t/**\n\t * Handle the selection of the Manage News Feed Radio Button.\n\t *\n\t * @private\n\t */\n\tprivate handleselectDefaultNewsFeed(oEvent: RadioButton$SelectEvent): void {\n\t\tthis.defaultNewsVisibility = oEvent.getParameter(\"selected\") as boolean;\n\n\t\t(this.controlMap.get(`${this.getId()}-customNewsUploadFileUploader`) as FileUploader).setEnabled(!this.defaultNewsVisibility);\n\t\t(this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input).setEnabled(!this.defaultNewsVisibility);\n\n\t\tconst newsPanel = this._getPanel() as NewsPanel;\n\t\tconst newsPageContainer = newsPanel.getParent() as NewsAndPagesContainer;\n\t\tconst layout = newsPageContainer.getParent() as BaseLayout;\n\t\tconst keyUserChangeContent = this.getCurrentKeyUserChange();\n\t\tconst newsUrlInput = this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input;\n\n\t\tif (!keyUserChangeContent) {\n\t\t\tthis.addKeyUserChanges({\n\t\t\t\tselectorControl: layout,\n\t\t\t\tchangeSpecificData: {\n\t\t\t\t\tchangeType: CHANGE_TYPES.NEWS_FEED_URL,\n\t\t\t\t\tcontent: {\n\t\t\t\t\t\toldNewsFeedUrl: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\toldShowCustomNewsFeed: this.checkNewsType(NewsType.Custom),\n\t\t\t\t\t\toldCustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\toldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),\n\t\t\t\t\t\toldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),\n\n\t\t\t\t\t\tnewsFeedURL: String(newsUrlInput.getValue()),\n\t\t\t\t\t\tshowCustomNewsFeed: false,\n\t\t\t\t\t\tcustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\tcustomNewsFeedFileName: String(this._getPanel().getProperty(\"customFileName\")),\n\t\t\t\t\t\tshowDefaultNewsFeed: this.defaultNewsVisibility,\n\t\t\t\t\t\tshowRssNewsFeed: false\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis._eventBus.publish(\"KeyUserChanges\", \"addNewsPagesChanges\", { changes: this.getKeyUserChanges() });\n\t\t} else if (keyUserChangeContent.showDefaultNewsFeed !== this.defaultNewsVisibility) {\n\t\t\tkeyUserChangeContent.showDefaultNewsFeed = this.defaultNewsVisibility;\n\t\t\tkeyUserChangeContent.showCustomNewsFeed = false;\n\t\t}\n\t\tthis.removeUrlMesageStrip();\n\t\tthis._eventBus.publish(\"KeyUserChanges\", \"disabledSaveBtn\", { disable: false, date: new Date() });\n\t}\n\tprivate onNewsUrlChange(oEvent: InputBase$ChangeEvent): void {\n\t\tconst newsPanel = this._getPanel() as NewsPanel;\n\t\tconst newsPageContainer = newsPanel.getParent() as NewsAndPagesContainer;\n\t\tconst layout = newsPageContainer.getParent() as BaseLayout;\n\t\tlet newsUrl = oEvent.getParameter(\"value\");\n\t\tconst keyUserContent = this.getCurrentKeyUserChange();\n\t\tconst validUrl = this.getValidURL(String(newsUrl));\n\t\tif (!validUrl) {\n\t\t\treturn;\n\t\t} else {\n\t\t\tnewsUrl = validUrl;\n\t\t}\n\t\tif (!keyUserContent) {\n\t\t\tthis.addKeyUserChanges({\n\t\t\t\tselectorControl: layout,\n\t\t\t\tchangeSpecificData: {\n\t\t\t\t\tchangeType: CHANGE_TYPES.NEWS_FEED_URL,\n\t\t\t\t\tcontent: {\n\t\t\t\t\t\toldNewsFeedUrl: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\toldShowCustomNewsFeed: this.checkNewsType(NewsType.Custom),\n\t\t\t\t\t\toldCustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\toldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),\n\t\t\t\t\t\toldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),\n\n\t\t\t\t\t\tnewsFeedURL: newsUrl,\n\t\t\t\t\t\tshowCustomNewsFeed: false,\n\t\t\t\t\t\tcustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\tcustomNewsFeedFileName: String(this._getPanel().getProperty(\"customFileName\")),\n\t\t\t\t\t\tshowDefaultNewsFeed: false,\n\t\t\t\t\t\tshowRssNewsFeed: this.rssNewsVisibility\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis._eventBus.publish(\"KeyUserChanges\", \"addNewsPagesChanges\", { changes: this.getKeyUserChanges() });\n\t\t} else if (keyUserContent.newsFeedURL !== newsUrl) {\n\t\t\tkeyUserContent.newsFeedURL = newsUrl;\n\t\t\tkeyUserContent.showCustomNewsFeed = false;\n\t\t\tkeyUserContent.showDefaultNewsFeed = false;\n\t\t}\n\t}\n\n\tprivate showMessageStrip(bShow: boolean, type: MessageType, textKey: string): void {\n\t\tthis.getMessageStrip().setType(type);\n\t\tthis.getMessageStrip().setVisible(bShow);\n\t\tthis.getMessageStrip().setText(String(this._i18nBundle.getText(textKey)));\n\t\tif (type === MessageType.Error) {\n\t\t\tthis._eventBus.publish(\"KeyUserChanges\", \"disabledSaveBtn\", { disable: bShow, date: new Date() });\n\t\t}\n\t}\n\n\tprivate getValidURL(urlString: string): string {\n\t\ttry {\n\t\t\tconst url = new URL(urlString);\n\t\t\treturn url.href;\n\t\t} catch {\n\t\t\treturn \"\";\n\t\t}\n\t}\n\n\tpublic removeUrlMesageStrip() {\n\t\tthis._eventBus.publish(\"KeyUserChanges\", \"disabledSaveBtn\", { disable: false, date: new Date() });\n\t\tthis.getMessageStrip().setVisible(false);\n\t\tconst newsUrlInput = this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input;\n\t\tif (!this.getValidURL(newsUrlInput.getValue())) {\n\t\t\tnewsUrlInput.setValue(\"\");\n\t\t}\n\t}\n\n\tprivate onUrlLiveChange(oEvent: Input$LiveChangeEvent) {\n\t\tconst sNewValue = oEvent.getParameter(\"value\") || \"\";\n\t\tthis.showMessageStrip(!this.getValidURL(sNewValue), MessageType.Error, \"invalidNewsUrl\");\n\t}\n\n\tprivate getMessageStrip(): MessageStrip {\n\t\tconst messageStripId = `${this.getId()}-messageStrip`;\n\t\treturn this.controlMap.get(messageStripId) as MessageStrip;\n\t}\n\n\t/**\n\t * Add SimpleForm for News URL.\n\t *\n\t * @private\n\t */\n\tprivate addNewsURLSimpleForm(wrapperVBox: VBox): void {\n\t\tconst newsFeedURLSimpleFormId = `${this.getId()}-newsFeedURLSimpleForm`;\n\t\tconst showRss = this.checkNewsType(NewsType.NewsUrl);\n\n\t\tconst newsInputUrl = String(this._getPanel().getProperty(\"url\"));\n\t\tif (!this.controlMap.get(newsFeedURLSimpleFormId)) {\n\t\t\tconst newsFeedURLSimpleForm = new SimpleForm(`${this.getId()}-newsFeedURLSimpleForm`).addStyleClass(\"sapContrastPlus\");\n\t\t\tconst newsFeedURLInputId = `${this.getId()}-newsFeedURLInput`;\n\t\t\tconst newsFeedURLInput = new Input(newsFeedURLInputId, {\n\t\t\t\tvalue: newsInputUrl !== DEFAULT_NEWS_URL ? newsInputUrl : \"\",\n\t\t\t\ttype: Library.InputType.Url,\n\t\t\t\tchange: this.onNewsUrlChange.bind(this),\n\t\t\t\tliveChange: this.onUrlLiveChange.bind(this),\n\t\t\t\tenabled: showRss\n\t\t\t});\n\t\t\tthis.controlMap.set(newsFeedURLInputId, newsFeedURLInput);\n\t\t\tnewsFeedURLSimpleForm.addContent(newsFeedURLInput);\n\t\t\tthis.controlMap.set(newsFeedURLSimpleFormId, newsFeedURLSimpleForm);\n\t\t} else if (this.getCurrentKeyUserChange()) {\n\t\t\tlet inputUrlField = this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input;\n\t\t\tinputUrlField.setValue(newsInputUrl);\n\t\t}\n\t\twrapperVBox.addItem(this.controlMap.get(newsFeedURLSimpleFormId) as SimpleForm);\n\t}\n\n\tprivate handleFileChange(oEvent: FileUploader$ChangeEvent): void {\n\t\tconst fileUploader = oEvent.getSource();\n\t\tthis.getMessageStrip().setVisible(false);\n\t\tthis._eventBus.publish(\"KeyUserChanges\", \"disabledSaveBtn\", { disable: false, date: new Date() });\n\t\tthis.setNewsFeedEnabled(fileUploader.getValue() !== \"\");\n\t}\n\n\tprivate setNewsFeedEnabled(bEnabled: boolean): void {\n\t\tconst newsFeedUploadBtn = this.getNewsFeedUploadBtn();\n\t\tif (newsFeedUploadBtn) {\n\t\t\tnewsFeedUploadBtn.setEnabled(bEnabled);\n\t\t}\n\t}\n\n\tprivate getNewsFeedUploadBtn(): Button {\n\t\tconst customNewsUploadFileUploaderButtonId = `${this.getId()}-customNewsUploadFileUploaderButton`;\n\t\treturn this.controlMap.get(customNewsUploadFileUploaderButtonId) as Button;\n\t}\n\n\tprivate handleFileUploadError(oEvent: FileUploader$FileSizeExceedEvent): void {\n\t\tconst fileUploader = oEvent.getSource();\n\t\tconst iMaxFileSize = fileUploader.getMaximumFileSize();\n\t\tthis.setNewsFeedEnabled(false);\n\t\tMessageBox.error(String(this._i18nBundle.getText(\"newsFeedMaxFileSizeError\", [iMaxFileSize])));\n\t}\n\n\thandleFileDialogClose(event: Event): void {\n\t\tconst fileUploader = event.getSource<FileUploader>();\n\t\tlet fileName = fileUploader.getValue();\n\t\t// if file selection dialog is closed and no file is selected, set value as last uploaded file\n\n\t\tif (fileName === \"\") {\n\t\t\tfileName = this.getCurrentKeyUserChange()?.customNewsFeedFileName || String(this._getPanel().getProperty(\"customFileName\"));\n\t\t\tthis.setNewsFeedEnabled(false);\n\t\t}\n\t\tfileUploader.setValue(fileName);\n\t}\n\n\tprivate async handleNewsFeedFileUpload(): Promise<void> {\n\t\tlet errorMsg = this._i18nBundle.getText(\"newsFeedFileUploadError\");\n\t\ttry {\n\t\t\tconst response = await Promise.all([this.getUploadedFile(), Container.getServiceAsync<UserInfo>(\"UserInfo\")]);\n\t\t\tconst fileData = response[0];\n\t\t\tconst userInfo = response[1];\n\t\t\tconst userId = userInfo && userInfo.getId();\n\t\t\tconst payload: UploadedFilePayload = { changeId: userId + \"_\" + Date.now().toString(), attachment: fileData.content };\n\n\t\t\t//pass documentType if file is in csv format\n\t\t\t//if documentType is not passed by default document type is considered as excel.\n\t\t\tif (fileData.type) {\n\t\t\t\tpayload.documentType = fileData.type;\n\t\t\t}\n\t\t\tconst oResponse = await HttpHelper.Post(Constants.NEWS_FEED_POST_API, payload);\n\t\t\tconst keyUserChangeContent = this.getCurrentKeyUserChange();\n\t\t\tconst newsPanel = this._getPanel() as NewsPanel;\n\t\t\tconst newsPageContainer = newsPanel.getParent() as NewsAndPagesContainer;\n\t\t\tconst layout = newsPageContainer.getParent() as BaseLayout;\n\t\t\tif (oResponse && (oResponse as { error: { message: string } }).error) {\n\t\t\t\tthis.getFileUploader().setValue(\"\");\n\t\t\t\tif (keyUserChangeContent) {\n\t\t\t\t\tkeyUserChangeContent.customNewsFeedFileName = \"\";\n\t\t\t\t} else {\n\t\t\t\t\tthis.addKeyUserChanges({\n\t\t\t\t\t\tselectorControl: layout,\n\t\t\t\t\t\tchangeSpecificData: {\n\t\t\t\t\t\t\tchangeType: CHANGE_TYPES.NEWS_FEED_URL,\n\t\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\t\toldNewsFeedUrl: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\t\t\toldShowCustomNewsFeed: this.checkNewsType(NewsType.Custom),\n\t\t\t\t\t\t\t\toldCustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\t\t\toldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),\n\t\t\t\t\t\t\t\toldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),\n\n\t\t\t\t\t\t\t\tnewsFeedURL: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\t\t\tshowCustomNewsFeed: true,\n\t\t\t\t\t\t\t\tcustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\t\t\tcustomNewsFeedFileName: String(this._getPanel().getProperty(\"customFileName\")),\n\t\t\t\t\t\t\t\tshowDefaultNewsFeed: false,\n\t\t\t\t\t\t\t\tshowRssNewsFeed: false\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\terrorMsg = (oResponse as { error: { message: string } }).error.message.includes(\"NODATA\")\n\t\t\t\t\t? this._i18nBundle.getText(\"newsFeedEmptyFileError\")\n\t\t\t\t\t: errorMsg;\n\t\t\t\tthrow new Error(errorMsg);\n\t\t\t}\n\t\t\tconst customKey = (oResponse as { changeId: string }).changeId;\n\t\t\tif (keyUserChangeContent) {\n\t\t\t\tkeyUserChangeContent.customNewsFeedKey = customKey;\n\t\t\t\tkeyUserChangeContent.customNewsFeedFileName = this.getFileUploader().getValue();\n\t\t\t} else {\n\t\t\t\tthis.addKeyUserChanges({\n\t\t\t\t\tselectorControl: layout,\n\t\t\t\t\tchangeSpecificData: {\n\t\t\t\t\t\tchangeType: CHANGE_TYPES.NEWS_FEED_URL,\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\toldNewsFeedUrl: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\t\toldShowCustomNewsFeed: this.checkNewsType(NewsType.Custom),\n\t\t\t\t\t\t\toldCustomNewsFeedKey: String(this._getPanel().getProperty(\"customFeedKey\")),\n\t\t\t\t\t\t\toldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),\n\t\t\t\t\t\t\toldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),\n\t\t\t\t\t\t\tnewsFeedURL: String(this._getPanel().getProperty(\"url\")),\n\t\t\t\t\t\t\tshowCustomNewsFeed: true,\n\t\t\t\t\t\t\tcustomNewsFeedKey: customKey,\n\t\t\t\t\t\t\tcustomNewsFeedFileName: this.getFileUploader().getValue(),\n\t\t\t\t\t\t\tshowDefaultNewsFeed: false,\n\t\t\t\t\t\t\tshowRssNewsFeed: false\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tthis._eventBus.publish(\"KeyUserChanges\", \"addNewsPagesChanges\", { changes: this.getKeyUserChanges() });\n\t\t\t}\n\t\t\tMessageToast.show(String(this._i18nBundle.getText(\"customNewsFeedUploaded\")));\n\t\t\tthis.setNewsFeedEnabled(false);\n\t\t} catch (oErr) {\n\t\t\tMessageBox.error((oErr as { message: string }).message);\n\t\t\tthis.setNewsFeedEnabled(false);\n\t\t}\n\t}\n\n\tprivate getUploadedFile(): Promise<FileMetaData> {\n\t\treturn new Promise<FileMetaData>((resolve, reject) => {\n\t\t\tconst fileUploader = this.getFileUploader();\n\t\t\tlet errorMsg = this._i18nBundle.getText(\"newsFeedFileUploadError\");\n\t\t\tif (fileUploader && !fileUploader.getValue()) {\n\t\t\t\terrorMsg = this._i18nBundle.getText(\"noNewsFileError\");\n\t\t\t\treject(new Error(errorMsg));\n\t\t\t}\n\n\t\t\tconst file = fileUploader.oFileUpload.files[0];\n\t\t\tconst reader = new FileReader();\n\n\t\t\treader.onload = function () {\n\t\t\t\ttry {\n\t\t\t\t\tconst fileContent = reader.result as string;\n\t\t\t\t\tlet base64String;\n\t\t\t\t\tconst fileData: FileMetaData = { type: \"\", content: \"\" };\n\t\t\t\t\tif (file.type === \"text/csv\") {\n\t\t\t\t\t\tbase64String = window.btoa(\n\t\t\t\t\t\t\tencodeURIComponent(String(fileContent)).replace(/%([0-9A-F]{2})/g, function (match, p1: string) {\n\t\t\t\t\t\t\t\treturn String.fromCharCode(parseInt(p1, 16));\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t);\n\t\t\t\t\t\tfileData.type = \"CSV\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbase64String = fileContent.replace(\"data:\", \"\").replace(/^.+,/, \"\");\n\t\t\t\t\t}\n\t\t\t\t\tfileData.content = base64String;\n\t\t\t\t\tresolve(fileData);\n\t\t\t\t} catch {\n\t\t\t\t\treject(new Error(errorMsg));\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tif (file.type === \"text/csv\") {\n\t\t\t\treader.readAsText(file);\n\t\t\t} else {\n\t\t\t\treader.readAsDataURL(file);\n\t\t\t}\n\t\t});\n\t}\n\n\tprivate getFileUploader(): FileUploader {\n\t\tconst customNewsUploadFileUploader = `${this.getId()}-customNewsUploadFileUploader`;\n\t\treturn this.controlMap.get(customNewsUploadFileUploader) as FileUploader;\n\t}\n\n\t/**\n\t * Add SimpleForm for Custom News Upload Form.\n\t *\n\t * @private\n\t */\n\tprivate addCustomNewsUploadSimpleForm(wrapperVBox: VBox): void {\n\t\tconst customNewsUploadSimpleFormId = `${this.getId()}-customNewsUploadSimpleForm`;\n\t\tif (!this.controlMap.get(customNewsUploadSimpleFormId)) {\n\t\t\tconst customNewsUploadSimpleForm = new SimpleForm(`${this.getId()}-customNewsUploadSimpleForm`).addStyleClass(\n\t\t\t\t\"sapContrastPlus\"\n\t\t\t);\n\t\t\tconst customNewsUploadVBox = new VBox(`${this.getId()}-customNewsUploadVBox`);\n\t\t\tconst customNewsUploadFileUploader = `${this.getId()}-customNewsUploadFileUploader`;\n\t\t\tconst newsPanel = this._getPanel() as NewsPanel;\n\t\t\tconst customNewsUploadFileUploaderControl = new FileUploader(customNewsUploadFileUploader, {\n\t\t\t\tname: \"newsFeedFileUploader\",\n\t\t\t\ttooltip: this._i18nBundle.getText(\"uploadNewsFeedFile\"),\n\t\t\t\tfileType: newsPanel?.getProperty(\"supportedFileFormats\") as FileFormat[],\n\t\t\t\twidth: \"100%\",\n\t\t\t\tchange: this.handleFileChange.bind(this),\n\t\t\t\tmaximumFileSize: 25,\n\t\t\t\tfileSizeExceed: this.handleFileUploadError.bind(this),\n\t\t\t\tsameFilenameAllowed: true,\n\t\t\t\tafterDialogClose: this.handleFileDialogClose.bind(this),\n\t\t\t\tvalue: String(this._getPanel().getProperty(\"customFileName\")),\n\t\t\t\tenabled: this.checkNewsType(NewsType.Custom)\n\t\t\t});\n\t\t\tthis.controlMap.set(customNewsUploadFileUploader, customNewsUploadFileUploaderControl);\n\t\t\tconst customNewsUploadFileUploaderButtonId = `${this.getId()}-customNewsUploadFileUploaderButton`;\n\t\t\tconst customNewsUploadFileUploaderButton = new Button(customNewsUploadFileUploaderButtonId, {\n\t\t\t\ttext: this._i18nBundle.getText(\"uploadNewsFeedBtn\"),\n\t\t\t\tpress: this.handleNewsFeedFileUpload.bind(this),\n\t\t\t\ttype: \"Emphasized\",\n\t\t\t\tenabled: false\n\t\t\t});\n\t\t\tthis.controlMap.set(customNewsUploadFileUploaderButtonId, customNewsUploadFileUploaderButton);\n\t\t\tcustomNewsUploadVBox.addItem(customNewsUploadFileUploaderControl);\n\t\t\tcustomNewsUploadVBox.addItem(customNewsUploadFileUploaderButton);\n\t\t\tcustomNewsUploadSimpleForm.addContent(customNewsUploadVBox);\n\t\t\tthis.controlMap.set(customNewsUploadSimpleFormId, customNewsUploadSimpleForm);\n\t\t}\n\t\twrapperVBox.addItem(this.controlMap.get(customNewsUploadSimpleFormId) as SimpleForm);\n\t}\n\n\t/**\n\t * Load settings for the panel.\n\t *\n\t * @private\n\t */\n\tprivate loadSettings(): void {\n\t\tconst wrapperVBoxId = `${this.getId()}-wrapperVBox`;\n\t\tconst wrapperVBox = this.controlMap.get(wrapperVBoxId) as VBox;\n\t\twrapperVBox.removeAllItems();\n\t\tthis.addMessageStrip(wrapperVBox);\n\t\tthis.addNewsPaneLabel(wrapperVBox);\n\t\tthis.addDefaultNewsFeedRadioBtn(wrapperVBox);\n\t\tthis.addNewsUrlRadioBtn(wrapperVBox);\n\t\tthis.addNewsURLSimpleForm(wrapperVBox);\n\t\tthis.addCustomNewsFeedRadioBtn(wrapperVBox);\n\t\tthis.addCustomNewsUploadSimpleForm(wrapperVBox);\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,scAAAC,MAAA,EAAAC,KAAA,EAAAC,KAAA,EAAAC,UAAA,EAAAC,YAAA,EAAAC,YAAA,EAAAC,WAAA,EAAAC,OAAA,EAAAC,IAAA,EAAAC,OAAA,EAAAC,QAAA,EAAAC,WAAA,EAAAC,UAAA,EAAAC,YAAA,EAAAC,SAAA,EAAAC,mBAAA,EAAAC,gCAAA,EAAAC,UAAA,EAAAC,kBAAA,EAAAC,YAAA;EAAA;;EAAA,SAAAC,uBAAAC,GAAA;IAAA,OAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,CAAAE,OAAA,mBAAAF,GAAA,CAAAE,OAAA,GAAAF,GAAA;EAAA;EAkjBO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C;UAC/C5F,IAAI,EAAE,YAAY;UAClBgJ,OAAO,EAAE;QACV,CAAC,CAAC;QACF,IAAI,CAACxL,UAAU,CAACqC,GAAG,CAAC6J,oCAAoC,EAAEmE,kCAAkC,CAAC;QAC7FT,oBAAoB,CAACzJ,OAAO,CAAC0J,mCAAmC,CAAC;QACjED,oBAAoB,CAACzJ,OAAO,CAACkK,kCAAkC,CAAC;QAChEV,0BAA0B,CAACvJ,UAAU,CAACwJ,oBAAoB,CAAC;QAC3D,IAAI,CAAC5P,UAAU,CAACqC,GAAG,CAACqN,4BAA4B,EAAEC,0BAA0B,CAAC;MAC9E;MACAvN,WAAW,CAAC+D,OAAO,CAAC,IAAI,CAACnG,UAAU,CAACiF,GAAG,CAACyK,4BAA4B,CAAe,CAAC;IACrF,CAAC;IAED;AACD;AACA;AACA;AACA;IACSjP,YAAY,WAAA8P,cAAA,EAAS;MAC5B,MAAMrO,aAAa,GAAG,GAAG,IAAI,CAACC,KAAK,CAAC,CAAC,cAAc;MACnD,MAAMC,WAAW,GAAG,IAAI,CAACpC,UAAU,CAACiF,GAAG,CAAC/C,aAAa,CAAS;MAC9DE,WAAW,CAACoO,cAAc,CAAC,CAAC;MAC5B,IAAI,CAAChL,eAAe,CAACpD,WAAW,CAAC;MACjC,IAAI,CAACyG,gBAAgB,CAACzG,WAAW,CAAC;MAClC,IAAI,CAACmG,0BAA0B,CAACnG,WAAW,CAAC;MAC5C,IAAI,CAAC+G,kBAAkB,CAAC/G,WAAW,CAAC;MACpC,IAAI,CAACyI,oBAAoB,CAACzI,WAAW,CAAC;MACtC,IAAI,CAACyF,yBAAyB,CAACzF,WAAW,CAAC;MAC3C,IAAI,CAACoN,6BAA6B,CAACpN,WAAW,CAAC;IAChD;EAAC;EAAA,OA1qBmB3C,wBAAwB;AAAA","ignoreList":[]}
@@ -62,9 +62,6 @@ interface FileMetaData {
62
62
  * @author SAP SE
63
63
  * @version 0.0.1
64
64
  * @since 1.121
65
- *
66
- * @internal
67
- * @experimental Since 1.121
68
65
  * @private
69
66
  *
70
67
  * @alias sap.cux.home.KeyUserNewsSettingsPanel
@@ -187,6 +184,7 @@ export default class KeyUserNewsSettingsPanel extends BaseSettingsPanel {
187
184
  this.customNewsVisibility = this.checkNewsType(NewsType.Custom);
188
185
  this.defaultNewsVisibility = this.checkNewsType(NewsType.Default);
189
186
  this.rssNewsVisibility = this.checkNewsType(NewsType.NewsUrl);
187
+
190
188
  (this.controlMap.get(`${this.getId()}-customNewsUploadFileUploader`) as FileUploader).setEnabled(this.customNewsVisibility);
191
189
  (this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input).setEnabled(this.rssNewsVisibility);
192
190
  (this.controlMap.get(`${this.getId()}-customNewsFeedRadioBtn`) as RadioButton).setSelected(this.customNewsVisibility);
@@ -235,6 +233,7 @@ export default class KeyUserNewsSettingsPanel extends BaseSettingsPanel {
235
233
  oldCustomNewsFeedKey: String(this._getPanel().getProperty("customFeedKey")),
236
234
  oldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),
237
235
  oldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),
236
+
238
237
  newsFeedURL: String(this._getPanel().getProperty("url")),
239
238
  showCustomNewsFeed: this.customNewsVisibility,
240
239
  customNewsFeedKey: String(this._getPanel().getProperty("customFeedKey")),
@@ -260,6 +259,7 @@ export default class KeyUserNewsSettingsPanel extends BaseSettingsPanel {
260
259
  private addCustomNewsFeedRadioBtn(wrapperVBox: VBox): void {
261
260
  const customNewsFeedRadioBtnId = `${this.getId()}-customNewsFeedRadioBtn`;
262
261
  const showCustom = this.checkNewsType(NewsType.Custom);
262
+
263
263
  if (!this.controlMap.get(customNewsFeedRadioBtnId)) {
264
264
  const customNewsFeedRadioBtn = new RadioButton(`${this.getId()}-customNewsFeedRadioBtn`, {
265
265
  text: this._i18nBundle.getText("selectCustomNewsFeed"),
@@ -283,6 +283,7 @@ export default class KeyUserNewsSettingsPanel extends BaseSettingsPanel {
283
283
  private addDefaultNewsFeedRadioBtn(wrapperVBox: VBox): void {
284
284
  const defaultNewsFeedRadioBtnId = `${this.getId()}-defaultNewsFeedRadioBtn`;
285
285
  const showDefault = this.checkNewsType(NewsType.Default);
286
+
286
287
  if (!this.controlMap.get(defaultNewsFeedRadioBtnId)) {
287
288
  const defaultNewsFeedRadioBtn = new RadioButton(`${this.getId()}-defaultNewsFeedRadioBtn`, {
288
289
  text: this._i18nBundle.getText("selectDefaultNewsFeed"),
@@ -301,7 +302,7 @@ export default class KeyUserNewsSettingsPanel extends BaseSettingsPanel {
301
302
  const newsPanelLabelId = `${this.getId()}-newsPanelLabel`;
302
303
  if (!this.controlMap.get(newsPanelLabelId)) {
303
304
  const newsPanelLabel = new Label(newsPanelLabelId, {
304
- text: this._i18nBundle.getText("mngNews")
305
+ text: this._i18nBundle.getText("newsFeedOptionLabel")
305
306
  }).addStyleClass("sapUiTinyMargin");
306
307
  this.controlMap.set(newsPanelLabelId, newsPanelLabel);
307
308
  }
@@ -360,6 +361,7 @@ export default class KeyUserNewsSettingsPanel extends BaseSettingsPanel {
360
361
  rssRadioBtn.setSelected(showRss);
361
362
  (this.controlMap.get(`${this.getId()}-newsFeedURLInput`) as Input).setEnabled(showRss);
362
363
  }
364
+
363
365
  wrapperVBox.addItem(this.controlMap.get(newsUrlRadioBtnId) as RadioButton);
364
366
  }
365
367
 
@@ -391,6 +393,7 @@ export default class KeyUserNewsSettingsPanel extends BaseSettingsPanel {
391
393
  oldCustomNewsFeedKey: String(this._getPanel().getProperty("customFeedKey")),
392
394
  oldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),
393
395
  oldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),
396
+
394
397
  newsFeedURL: String(newsUrlInput.getValue()),
395
398
  showCustomNewsFeed: false,
396
399
  customNewsFeedKey: String(this._getPanel().getProperty("customFeedKey")),
@@ -403,6 +406,7 @@ export default class KeyUserNewsSettingsPanel extends BaseSettingsPanel {
403
406
  this._eventBus.publish("KeyUserChanges", "addNewsPagesChanges", { changes: this.getKeyUserChanges() });
404
407
  } else if (keyUserChangeContent.showDefaultNewsFeed !== this.defaultNewsVisibility) {
405
408
  keyUserChangeContent.showDefaultNewsFeed = this.defaultNewsVisibility;
409
+ keyUserChangeContent.showCustomNewsFeed = false;
406
410
  }
407
411
  this.removeUrlMesageStrip();
408
412
  this._eventBus.publish("KeyUserChanges", "disabledSaveBtn", { disable: false, date: new Date() });
@@ -430,6 +434,7 @@ export default class KeyUserNewsSettingsPanel extends BaseSettingsPanel {
430
434
  oldCustomNewsFeedKey: String(this._getPanel().getProperty("customFeedKey")),
431
435
  oldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),
432
436
  oldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),
437
+
433
438
  newsFeedURL: newsUrl,
434
439
  showCustomNewsFeed: false,
435
440
  customNewsFeedKey: String(this._getPanel().getProperty("customFeedKey")),
@@ -492,11 +497,10 @@ export default class KeyUserNewsSettingsPanel extends BaseSettingsPanel {
492
497
  private addNewsURLSimpleForm(wrapperVBox: VBox): void {
493
498
  const newsFeedURLSimpleFormId = `${this.getId()}-newsFeedURLSimpleForm`;
494
499
  const showRss = this.checkNewsType(NewsType.NewsUrl);
500
+
495
501
  const newsInputUrl = String(this._getPanel().getProperty("url"));
496
502
  if (!this.controlMap.get(newsFeedURLSimpleFormId)) {
497
- const newsFeedURLSimpleForm = new SimpleForm(`${this.getId()}-newsFeedURLSimpleForm`).addStyleClass(
498
- "sapContrastPlus formCustomPadding"
499
- );
503
+ const newsFeedURLSimpleForm = new SimpleForm(`${this.getId()}-newsFeedURLSimpleForm`).addStyleClass("sapContrastPlus");
500
504
  const newsFeedURLInputId = `${this.getId()}-newsFeedURLInput`;
501
505
  const newsFeedURLInput = new Input(newsFeedURLInputId, {
502
506
  value: newsInputUrl !== DEFAULT_NEWS_URL ? newsInputUrl : "",
@@ -587,6 +591,7 @@ export default class KeyUserNewsSettingsPanel extends BaseSettingsPanel {
587
591
  oldCustomNewsFeedKey: String(this._getPanel().getProperty("customFeedKey")),
588
592
  oldshowDefaultNewsFeed: this.checkNewsType(NewsType.Default),
589
593
  oldShowRssNewsFeed: this.checkNewsType(NewsType.NewsUrl),
594
+
590
595
  newsFeedURL: String(this._getPanel().getProperty("url")),
591
596
  showCustomNewsFeed: true,
592
597
  customNewsFeedKey: String(this._getPanel().getProperty("customFeedKey")),
@@ -692,7 +697,7 @@ export default class KeyUserNewsSettingsPanel extends BaseSettingsPanel {
692
697
  const customNewsUploadSimpleFormId = `${this.getId()}-customNewsUploadSimpleForm`;
693
698
  if (!this.controlMap.get(customNewsUploadSimpleFormId)) {
694
699
  const customNewsUploadSimpleForm = new SimpleForm(`${this.getId()}-customNewsUploadSimpleForm`).addStyleClass(
695
- "sapContrastPlus formCustomPadding"
700
+ "sapContrastPlus"
696
701
  );
697
702
  const customNewsUploadVBox = new VBox(`${this.getId()}-customNewsUploadVBox`);
698
703
  const customNewsUploadFileUploader = `${this.getId()}-customNewsUploadFileUploader`;
@@ -10,9 +10,6 @@ declare module "sap/cux/home/KeyUserPagesSettingsPanel" {
10
10
  * @author SAP SE
11
11
  * @version 0.0.1
12
12
  * @since 1.121
13
- *
14
- * @internal
15
- * @experimental Since 1.121
16
13
  * @private
17
14
  *
18
15
  * @alias sap.cux.home.KeyUserPagesSettingsPanel
@@ -1 +1 @@
1
- {"version":3,"file":"KeyUserPagesSettingsPanel.d.ts","sourceRoot":"../../../../..","sources":["src/sap/cux/home/KeyUserPagesSettingsPanel.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,wCAAwC,CAAC;IAuBxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;IAa3D,OAAO,iBAAiB,MAAM,gCAAgC,CAAC;IAW/D;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,OAAO,OAAO,yBAA0B,SAAQ,iBAAiB;QACvE,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAEvC;QA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;;WAKG;QACH,OAAO,CAAC,iBAAiB;QA+DzB;;;;;;WAMG;QACH,OAAO,CAAC,qBAAqB;QAO7B;;;;;WAKG;QACH,OAAO,CAAC,mBAAmB;QAsB3B;;;;;;;;WAQG;QACH,OAAO,CAAC,uBAAuB;QAuB/B;;;;;WAKG;QAEH,OAAO,CAAC,cAAc;QAStB;;;;WAIG;QACH,OAAO,CAAC,oBAAoB;QAsD5B;;;;WAIG;QACH,OAAO,CAAC,kBAAkB;KAQ1B;CAEA"}
@@ -26,9 +26,6 @@ sap.ui.define(["sap/m/Button", "sap/m/ColorPalette", "sap/m/Dialog", "sap/m/Flex
26
26
  * @author SAP SE
27
27
  * @version 0.0.1
28
28
  * @since 1.121
29
- *
30
- * @internal
31
- * @experimental Since 1.121
32
29
  * @private
33
30
  *
34
31
  * @alias sap.cux.home.KeyUserPagesSettingsPanel