@sapui5/sap.cux.home 1.142.0 → 1.143.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.
- package/package.json +1 -1
- package/src/sap/cux/home/.library +4 -1
- package/src/sap/cux/home/AdvancedSettingsPanel.d.ts +3 -2
- package/src/sap/cux/home/AdvancedSettingsPanel.d.ts.map +1 -1
- package/src/sap/cux/home/AdvancedSettingsPanel.js +6 -5
- package/src/sap/cux/home/AdvancedSettingsPanel.js.map +1 -1
- package/src/sap/cux/home/AdvancedSettingsPanel.ts +6 -5
- package/src/sap/cux/home/App.d.ts.map +1 -1
- package/src/sap/cux/home/App.js +3 -0
- package/src/sap/cux/home/App.js.map +1 -1
- package/src/sap/cux/home/App.ts +3 -0
- package/src/sap/cux/home/AppsAdditionPanel.d.ts +74 -34
- package/src/sap/cux/home/AppsAdditionPanel.d.ts.map +1 -1
- package/src/sap/cux/home/AppsAdditionPanel.js +344 -146
- package/src/sap/cux/home/AppsAdditionPanel.js.map +1 -1
- package/src/sap/cux/home/AppsAdditionPanel.ts +367 -149
- package/src/sap/cux/home/AppsContainer.js +2 -1
- package/src/sap/cux/home/AppsContainer.js.map +1 -1
- package/src/sap/cux/home/AppsContainer.ts +2 -2
- package/src/sap/cux/home/BaseContainer.d.ts.map +1 -1
- package/src/sap/cux/home/BaseContainer.js +9 -1
- package/src/sap/cux/home/BaseContainer.js.map +1 -1
- package/src/sap/cux/home/BaseContainer.ts +6 -2
- package/src/sap/cux/home/BaseContainerRenderer.d.ts.map +1 -1
- package/src/sap/cux/home/BaseContainerRenderer.js +6 -0
- package/src/sap/cux/home/BaseContainerRenderer.js.map +1 -1
- package/src/sap/cux/home/BaseContainerRenderer.ts +6 -0
- package/src/sap/cux/home/BaseNewsPanel.js.map +1 -1
- package/src/sap/cux/home/BaseNewsPanel.ts +2 -2
- package/src/sap/cux/home/BasePanel.d.ts.map +1 -1
- package/src/sap/cux/home/BasePanel.js +3 -2
- package/src/sap/cux/home/BasePanel.js.map +1 -1
- package/src/sap/cux/home/BasePanel.ts +2 -1
- package/src/sap/cux/home/CardsContainer.d.ts +108 -0
- package/src/sap/cux/home/CardsContainer.d.ts.map +1 -0
- package/src/sap/cux/home/CardsContainer.js +207 -0
- package/src/sap/cux/home/CardsContainer.js.map +1 -0
- package/src/sap/cux/home/CardsContainer.ts +202 -0
- package/src/sap/cux/home/CardsPanel.d.ts +25 -59
- package/src/sap/cux/home/CardsPanel.d.ts.map +1 -1
- package/src/sap/cux/home/CardsPanel.js +157 -155
- package/src/sap/cux/home/CardsPanel.js.map +1 -1
- package/src/sap/cux/home/CardsPanel.ts +152 -175
- package/src/sap/cux/home/ContentAdditionDialog.d.ts +2 -0
- package/src/sap/cux/home/ContentAdditionDialog.d.ts.map +1 -1
- package/src/sap/cux/home/ContentAdditionDialog.js +12 -6
- package/src/sap/cux/home/ContentAdditionDialog.js.map +1 -1
- package/src/sap/cux/home/ContentAdditionDialog.ts +13 -5
- package/src/sap/cux/home/ErrorPanel.d.ts +0 -5
- package/src/sap/cux/home/ErrorPanel.d.ts.map +1 -1
- package/src/sap/cux/home/ErrorPanel.gen.d.ts +31 -0
- package/src/sap/cux/home/ErrorPanel.js +11 -16
- package/src/sap/cux/home/ErrorPanel.js.map +1 -1
- package/src/sap/cux/home/ErrorPanel.ts +7 -19
- package/src/sap/cux/home/FavAppPanel.d.ts +1 -2
- package/src/sap/cux/home/FavAppPanel.d.ts.map +1 -1
- package/src/sap/cux/home/FavAppPanel.js +296 -301
- package/src/sap/cux/home/FavAppPanel.js.map +1 -1
- package/src/sap/cux/home/FavAppPanel.ts +18 -14
- package/src/sap/cux/home/InsightsAdditionPanel.d.ts +4 -4
- package/src/sap/cux/home/InsightsAdditionPanel.d.ts.map +1 -1
- package/src/sap/cux/home/InsightsAdditionPanel.js +10 -9
- package/src/sap/cux/home/InsightsAdditionPanel.js.map +1 -1
- package/src/sap/cux/home/InsightsAdditionPanel.ts +9 -8
- package/src/sap/cux/home/InsightsTilesSettingsPanel.js +1 -1
- package/src/sap/cux/home/InsightsTilesSettingsPanel.js.map +1 -1
- package/src/sap/cux/home/InsightsTilesSettingsPanel.ts +3 -3
- package/src/sap/cux/home/KeyUserLayoutSettingsPanel.d.ts +3 -0
- package/src/sap/cux/home/KeyUserLayoutSettingsPanel.d.ts.map +1 -1
- package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js +252 -39
- package/src/sap/cux/home/KeyUserLayoutSettingsPanel.js.map +1 -1
- package/src/sap/cux/home/KeyUserLayoutSettingsPanel.ts +288 -58
- package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.d.ts.map +1 -1
- package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js +11 -10
- package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js.map +1 -1
- package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.ts +12 -10
- package/src/sap/cux/home/KeyUserNewsSettingsPanel.js +2 -2
- package/src/sap/cux/home/KeyUserNewsSettingsPanel.js.map +1 -1
- package/src/sap/cux/home/KeyUserNewsSettingsPanel.ts +7 -7
- package/src/sap/cux/home/KeyUserPagesSettingsPanel.js.map +1 -1
- package/src/sap/cux/home/KeyUserPagesSettingsPanel.ts +2 -2
- package/src/sap/cux/home/Layout.d.ts +3 -1
- package/src/sap/cux/home/Layout.d.ts.map +1 -1
- package/src/sap/cux/home/Layout.js +45 -8
- package/src/sap/cux/home/Layout.js.map +1 -1
- package/src/sap/cux/home/Layout.ts +55 -8
- package/src/sap/cux/home/LayoutSettingsPanel.d.ts +10 -0
- package/src/sap/cux/home/LayoutSettingsPanel.d.ts.map +1 -1
- package/src/sap/cux/home/LayoutSettingsPanel.js +341 -56
- package/src/sap/cux/home/LayoutSettingsPanel.js.map +1 -1
- package/src/sap/cux/home/LayoutSettingsPanel.ts +380 -64
- package/src/sap/cux/home/{NewsAndPagesContainer.d.ts → NewsContainer.d.ts} +13 -14
- package/src/sap/cux/home/NewsContainer.d.ts.map +1 -0
- package/src/sap/cux/home/{NewsAndPagesContainer.gen.d.ts → NewsContainer.gen.d.ts} +3 -3
- package/src/sap/cux/home/{NewsAndPagesContainer.js → NewsContainer.js} +26 -113
- package/src/sap/cux/home/NewsContainer.js.map +1 -0
- package/src/sap/cux/home/{NewsAndPagesContainer.ts → NewsContainer.ts} +29 -118
- package/src/sap/cux/home/NewsGroup.js.map +1 -1
- package/src/sap/cux/home/NewsGroup.ts +1 -1
- package/src/sap/cux/home/NewsPanel.js +2 -2
- package/src/sap/cux/home/NewsPanel.js.map +1 -1
- package/src/sap/cux/home/NewsPanel.ts +3 -3
- package/src/sap/cux/home/NewsSettingsPanel.js +3 -3
- package/src/sap/cux/home/NewsSettingsPanel.js.map +1 -1
- package/src/sap/cux/home/NewsSettingsPanel.ts +4 -4
- package/src/sap/cux/home/PagePanel.d.ts +1 -1
- package/src/sap/cux/home/PagePanel.d.ts.map +1 -1
- package/src/sap/cux/home/PagePanel.js +18 -10
- package/src/sap/cux/home/PagePanel.js.map +1 -1
- package/src/sap/cux/home/PagePanel.ts +25 -15
- package/src/sap/cux/home/PagesContainer.d.ts +72 -0
- package/src/sap/cux/home/PagesContainer.d.ts.map +1 -0
- package/src/sap/cux/home/PagesContainer.gen.d.ts +78 -0
- package/src/sap/cux/home/PagesContainer.js +333 -0
- package/src/sap/cux/home/PagesContainer.js.map +1 -0
- package/src/sap/cux/home/PagesContainer.ts +179 -0
- package/src/sap/cux/home/SettingsDialog.d.ts +7 -0
- package/src/sap/cux/home/SettingsDialog.d.ts.map +1 -1
- package/src/sap/cux/home/SettingsDialog.js +18 -10
- package/src/sap/cux/home/SettingsDialog.js.map +1 -1
- package/src/sap/cux/home/SettingsDialog.ts +20 -13
- package/src/sap/cux/home/SpaceInsightsPanel.d.ts +8 -60
- package/src/sap/cux/home/SpaceInsightsPanel.d.ts.map +1 -1
- package/src/sap/cux/home/SpaceInsightsPanel.js +66 -132
- package/src/sap/cux/home/SpaceInsightsPanel.js.map +1 -1
- package/src/sap/cux/home/SpaceInsightsPanel.ts +69 -151
- package/src/sap/cux/home/TaskPanel.d.ts.map +1 -1
- package/src/sap/cux/home/TaskPanel.js +14 -12
- package/src/sap/cux/home/TaskPanel.js.map +1 -1
- package/src/sap/cux/home/TaskPanel.ts +17 -15
- package/src/sap/cux/home/TilesContainer.d.ts +111 -0
- package/src/sap/cux/home/TilesContainer.d.ts.map +1 -0
- package/src/sap/cux/home/TilesContainer.js +218 -0
- package/src/sap/cux/home/TilesContainer.js.map +1 -0
- package/src/sap/cux/home/TilesContainer.ts +216 -0
- package/src/sap/cux/home/TilesPanel.d.ts +22 -52
- package/src/sap/cux/home/TilesPanel.d.ts.map +1 -1
- package/src/sap/cux/home/TilesPanel.js +184 -165
- package/src/sap/cux/home/TilesPanel.js.map +1 -1
- package/src/sap/cux/home/TilesPanel.ts +160 -154
- package/src/sap/cux/home/ToDoPanel.d.ts.map +1 -1
- package/src/sap/cux/home/ToDoPanel.js +30 -58
- package/src/sap/cux/home/ToDoPanel.js.map +1 -1
- package/src/sap/cux/home/ToDoPanel.ts +29 -28
- package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.d.ts +2 -2
- package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.d.ts.map +1 -1
- package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.js +1 -1
- package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.js.map +1 -1
- package/src/sap/cux/home/changeHandler/NewsFeedVisibilityChange.ts +4 -4
- package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.d.ts +2 -2
- package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.d.ts.map +1 -1
- package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js +1 -1
- package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js.map +1 -1
- package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.ts +4 -4
- package/src/sap/cux/home/changeHandler/SpacePageColorHandler.d.ts +2 -2
- package/src/sap/cux/home/changeHandler/SpacePageColorHandler.d.ts.map +1 -1
- package/src/sap/cux/home/changeHandler/SpacePageColorHandler.js +1 -1
- package/src/sap/cux/home/changeHandler/SpacePageColorHandler.js.map +1 -1
- package/src/sap/cux/home/changeHandler/SpacePageColorHandler.ts +3 -3
- package/src/sap/cux/home/changeHandler/SpacePageIconHandler.d.ts +2 -2
- package/src/sap/cux/home/changeHandler/SpacePageIconHandler.d.ts.map +1 -1
- package/src/sap/cux/home/changeHandler/SpacePageIconHandler.js +4 -4
- package/src/sap/cux/home/changeHandler/SpacePageIconHandler.js.map +1 -1
- package/src/sap/cux/home/changeHandler/SpacePageIconHandler.ts +5 -5
- package/src/sap/cux/home/flexibility/BaseContainer.flexibility.d.ts.map +1 -1
- package/src/sap/cux/home/flexibility/BaseContainer.flexibility.js +30 -3
- package/src/sap/cux/home/flexibility/BaseContainer.flexibility.js.map +1 -1
- package/src/sap/cux/home/flexibility/BaseContainer.flexibility.ts +23 -1
- package/src/sap/cux/home/flexibility/Layout.flexibility.d.ts +29 -19
- package/src/sap/cux/home/flexibility/Layout.flexibility.d.ts.map +1 -1
- package/src/sap/cux/home/flexibility/Layout.flexibility.js +78 -2
- package/src/sap/cux/home/flexibility/Layout.flexibility.js.map +1 -1
- package/src/sap/cux/home/flexibility/Layout.flexibility.ts +81 -1
- package/src/sap/cux/home/i18n/messagebundle.properties +33 -13
- package/src/sap/cux/home/i18n/messagebundle_ar.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_bg.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_ca.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_cnr.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_cs.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_cy.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_da.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_de.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_el.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_en.properties +9 -5
- package/src/sap/cux/home/i18n/messagebundle_en_GB.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_en_US_sappsd.properties +14 -6
- package/src/sap/cux/home/i18n/messagebundle_en_US_saprigi.properties +14 -6
- package/src/sap/cux/home/i18n/messagebundle_en_US_saptrc.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_es.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_es_MX.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_et.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_fi.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_fr.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_fr_CA.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_hi.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_hr.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_hu.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_id.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_it.properties +10 -6
- package/src/sap/cux/home/i18n/messagebundle_iw.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_ja.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_kk.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_ko.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_lt.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_lv.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_mk.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_ms.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_nl.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_no.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_pl.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_pt.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_pt_PT.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_ro.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_ru.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_sh.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_sk.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_sl.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_sr.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_sv.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_th.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_tr.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_uk.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_vi.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_zh_CN.properties +8 -4
- package/src/sap/cux/home/i18n/messagebundle_zh_TW.properties +8 -4
- package/src/sap/cux/home/interface/AppsInterface.d.ts +1 -0
- package/src/sap/cux/home/interface/AppsInterface.d.ts.map +1 -1
- package/src/sap/cux/home/interface/AppsInterface.js.map +1 -1
- package/src/sap/cux/home/interface/AppsInterface.ts +1 -0
- package/src/sap/cux/home/interface/KeyUserInterface.d.ts +27 -4
- package/src/sap/cux/home/interface/KeyUserInterface.d.ts.map +1 -1
- package/src/sap/cux/home/interface/KeyUserInterface.js.map +1 -1
- package/src/sap/cux/home/interface/KeyUserInterface.ts +23 -4
- package/src/sap/cux/home/interface/LayoutInterface.d.ts +7 -0
- package/src/sap/cux/home/interface/LayoutInterface.d.ts.map +1 -1
- package/src/sap/cux/home/interface/LayoutInterface.js.map +1 -1
- package/src/sap/cux/home/interface/LayoutInterface.ts +7 -0
- package/src/sap/cux/home/library.d.ts.map +1 -1
- package/src/sap/cux/home/library.js +7 -4
- package/src/sap/cux/home/library.js.map +1 -1
- package/src/sap/cux/home/library.ts +10 -5
- package/src/sap/cux/home/themes/base/BaseContainer.less +36 -0
- package/src/sap/cux/home/themes/base/BaseLayout.less +11 -0
- package/src/sap/cux/home/themes/base/{InsightsContainer.less → CardsContainer.less} +0 -45
- package/src/sap/cux/home/themes/base/ContentAdditionDialog.less +10 -18
- package/src/sap/cux/home/themes/base/PlaceHolder.less +1 -1
- package/src/sap/cux/home/themes/base/SettingsDialog.less +4 -0
- package/src/sap/cux/home/themes/base/TilesContainer.less +65 -0
- package/src/sap/cux/home/themes/base/library.source.less +2 -1
- package/src/sap/cux/home/utils/AppManager.d.ts.map +1 -1
- package/src/sap/cux/home/utils/AppManager.js +2 -1
- package/src/sap/cux/home/utils/AppManager.js.map +1 -1
- package/src/sap/cux/home/utils/AppManager.ts +2 -2
- package/src/sap/cux/home/utils/PerformanceUtils.d.ts +4 -2
- package/src/sap/cux/home/utils/PerformanceUtils.d.ts.map +1 -1
- package/src/sap/cux/home/utils/PerformanceUtils.js +4 -2
- package/src/sap/cux/home/utils/PerformanceUtils.js.map +1 -1
- package/src/sap/cux/home/utils/PerformanceUtils.ts +4 -2
- package/src/sap/cux/home/utils/fragment/appsAdditionContent.fragment.xml +155 -151
- package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.d.ts +8 -0
- package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.d.ts.map +1 -0
- package/src/sap/cux/home/utils/placeholder/{InsightsPlaceholder.js → CardsPlaceholder.js} +3 -77
- package/src/sap/cux/home/utils/placeholder/CardsPlaceholder.js.map +1 -0
- package/src/sap/cux/home/utils/placeholder/{InsightsPlaceholder.ts → CardsPlaceholder.ts} +1 -75
- package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.d.ts +8 -0
- package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.d.ts.map +1 -0
- package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.js +44 -0
- package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.js.map +1 -0
- package/src/sap/cux/home/utils/placeholder/NewsPlaceholder.ts +34 -0
- package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.d.ts +8 -0
- package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.d.ts.map +1 -0
- package/src/sap/cux/home/utils/placeholder/{NewsAndPagesPlaceholder.js → PagesPlaceholder.js} +3 -23
- package/src/sap/cux/home/utils/placeholder/PagesPlaceholder.js.map +1 -0
- package/src/sap/cux/home/utils/placeholder/{NewsAndPagesPlaceholder.ts → PagesPlaceholder.ts} +1 -21
- package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.d.ts +8 -0
- package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.d.ts.map +1 -0
- package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.js +95 -0
- package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.js.map +1 -0
- package/src/sap/cux/home/utils/placeholder/TilesPlaceholder.ts +85 -0
- package/ui5.yaml +1 -0
- package/src/sap/cux/home/InsightsContainer.d.ts +0 -205
- package/src/sap/cux/home/InsightsContainer.d.ts.map +0 -1
- package/src/sap/cux/home/InsightsContainer.js +0 -459
- package/src/sap/cux/home/InsightsContainer.js.map +0 -1
- package/src/sap/cux/home/InsightsContainer.ts +0 -489
- package/src/sap/cux/home/NewsAndPagesContainer.d.ts.map +0 -1
- package/src/sap/cux/home/NewsAndPagesContainer.js.map +0 -1
- package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.d.ts +0 -8
- package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.d.ts.map +0 -1
- package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.js.map +0 -1
- package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.d.ts +0 -8
- package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.d.ts.map +0 -1
- package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.js.map +0 -1
|
@@ -20,8 +20,9 @@ import { DropInfo$DropEventParameters } from "sap/ui/core/dnd/DropInfo";
|
|
|
20
20
|
import type { $BasePagePanelSettings } from "./BasePagePanel";
|
|
21
21
|
import BasePagePanel from "./BasePagePanel";
|
|
22
22
|
import MenuItem from "./MenuItem";
|
|
23
|
-
import NewsAndPagesContainer from "./
|
|
23
|
+
import NewsAndPagesContainer from "./NewsContainer";
|
|
24
24
|
import Page from "./Page";
|
|
25
|
+
import PagesContainer from "./PagesContainer";
|
|
25
26
|
import { ISpacePagePersonalization } from "./interface/KeyUserInterface";
|
|
26
27
|
import { IPage } from "./interface/PageSpaceInterface";
|
|
27
28
|
import { getPageManagerInstance } from "./utils/CommonUtils";
|
|
@@ -253,32 +254,24 @@ export default class PagePanel extends BasePagePanel {
|
|
|
253
254
|
return placeholderTiles;
|
|
254
255
|
}
|
|
255
256
|
|
|
256
|
-
public attachResizeHandler(
|
|
257
|
+
public attachResizeHandler(containerWidth: number, pagesContentWrapper: FlexBox): void {
|
|
257
258
|
try {
|
|
258
259
|
const favPagesCount = this.aFavPages?.length,
|
|
259
260
|
deviceType = this.getDeviceType();
|
|
260
261
|
|
|
261
|
-
|
|
262
|
-
if (
|
|
263
|
-
(deviceType === DeviceType.Desktop || deviceType === DeviceType.LargeDesktop || deviceType === DeviceType.XLargeDesktop) &&
|
|
264
|
-
isNewsTileVisible
|
|
265
|
-
) {
|
|
266
|
-
domRefClientWidth = containerWidth / 2;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
if (!domRefClientWidth) {
|
|
262
|
+
if (!containerWidth) {
|
|
270
263
|
return;
|
|
271
264
|
}
|
|
272
265
|
|
|
273
266
|
let tileWidth,
|
|
274
267
|
hBoxWidth: string,
|
|
275
268
|
finalTilesWidth: string,
|
|
276
|
-
wrapperWidth =
|
|
269
|
+
wrapperWidth = containerWidth / 16; // Divide by 16 to convert to rem,
|
|
277
270
|
const gap = deviceType === DeviceType.Mobile ? 0.5 : 1;
|
|
278
271
|
pagesContentWrapper.setWidth("100%");
|
|
279
272
|
|
|
280
273
|
if (favPagesCount > 0) {
|
|
281
|
-
const pagesPerRow = this.calculatePagesPerRow(favPagesCount
|
|
274
|
+
const pagesPerRow = this.calculatePagesPerRow(favPagesCount);
|
|
282
275
|
if (pagesPerRow) {
|
|
283
276
|
const maxTileWidth = tileSizes[deviceType].maxWidth;
|
|
284
277
|
let minTileWidth = tileSizes[deviceType].minWidth;
|
|
@@ -310,11 +303,28 @@ export default class PagePanel extends BasePagePanel {
|
|
|
310
303
|
return await this._getPageManagerInstance().fetchAllAvailablePages();
|
|
311
304
|
}
|
|
312
305
|
|
|
313
|
-
private calculatePagesPerRow(favPagesCount: number
|
|
306
|
+
private calculatePagesPerRow(favPagesCount: number): number {
|
|
307
|
+
const parentContainer = this.getParent() as PagesContainer;
|
|
308
|
+
const layout = parentContainer._getLayout();
|
|
309
|
+
const layoutItems = layout.getItems();
|
|
310
|
+
|
|
311
|
+
//loop through layout items and check if any two items have same composite id and same custom style class and are visible
|
|
312
|
+
const isSideBySideLayoutActive = layoutItems.some((item: Control) => {
|
|
313
|
+
const compositeId = item.getProperty("compositeId") as string;
|
|
314
|
+
if (
|
|
315
|
+
item.getVisible() &&
|
|
316
|
+
item.getId() !== parentContainer.getId() &&
|
|
317
|
+
item.hasStyleClass(`${compositeId}`) &&
|
|
318
|
+
compositeId === parentContainer.getProperty("compositeId")
|
|
319
|
+
) {
|
|
320
|
+
return true;
|
|
321
|
+
}
|
|
322
|
+
return false;
|
|
323
|
+
});
|
|
314
324
|
let pagesPerRow = 0;
|
|
315
325
|
const deviceType = this.getDeviceType();
|
|
316
326
|
if (deviceType === DeviceType.Desktop || deviceType === DeviceType.LargeDesktop || deviceType === DeviceType.XLargeDesktop) {
|
|
317
|
-
if (
|
|
327
|
+
if (isSideBySideLayoutActive) {
|
|
318
328
|
// halves the tiles in 2 rows
|
|
319
329
|
pagesPerRow = Math.ceil(favPagesCount >= maxTileCOunt ? maxRowCount : favPagesCount / 2);
|
|
320
330
|
} else {
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
declare module "sap/cux/home/PagesContainer" {
|
|
2
|
+
import type { MetadataOptions } from "sap/ui/core/Element";
|
|
3
|
+
import BaseContainer from "sap/cux/home/BaseContainer";
|
|
4
|
+
import { $PagesContainerSettings } from "sap/cux/home/PagesContainer";
|
|
5
|
+
interface IpanelLoaded {
|
|
6
|
+
[key: string]: {
|
|
7
|
+
loaded: boolean;
|
|
8
|
+
count: number;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* Container class for managing and storing Pages.
|
|
14
|
+
*
|
|
15
|
+
* @extends BaseContainer
|
|
16
|
+
*
|
|
17
|
+
* @author SAP SE
|
|
18
|
+
* @version 0.0.1
|
|
19
|
+
* @since 1.142
|
|
20
|
+
*
|
|
21
|
+
* @private
|
|
22
|
+
* @ui5-restricted ux.eng.s4producthomes1
|
|
23
|
+
*
|
|
24
|
+
* @alias sap.cux.home.PagesContainer
|
|
25
|
+
*/
|
|
26
|
+
export default class PagesContainer extends BaseContainer {
|
|
27
|
+
static renderer: {
|
|
28
|
+
apiVersion: number;
|
|
29
|
+
render: (rm: import("sap/ui/core/RenderManager").default, control: BaseContainer) => void;
|
|
30
|
+
renderContent: (rm: import("sap/ui/core/RenderManager").default, control: BaseContainer) => void;
|
|
31
|
+
};
|
|
32
|
+
static readonly metadata: MetadataOptions;
|
|
33
|
+
private panelLoaded;
|
|
34
|
+
private pagePanel;
|
|
35
|
+
constructor(id?: string | $PagesContainerSettings);
|
|
36
|
+
constructor(id?: string, settings?: $PagesContainerSettings);
|
|
37
|
+
/**
|
|
38
|
+
* Init lifecycle method
|
|
39
|
+
*
|
|
40
|
+
* @private
|
|
41
|
+
* @override
|
|
42
|
+
*/
|
|
43
|
+
init(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Loads Pages section.
|
|
46
|
+
* Overrides the load method of the BaseContainer.
|
|
47
|
+
*
|
|
48
|
+
* @private
|
|
49
|
+
* @override
|
|
50
|
+
*/
|
|
51
|
+
load(): Promise<void>;
|
|
52
|
+
panelLoadedFn(sPanelType: string, oVal: {
|
|
53
|
+
loaded: boolean;
|
|
54
|
+
count: number;
|
|
55
|
+
}): void;
|
|
56
|
+
/**
|
|
57
|
+
* Adjusts the layout of the all panels in the container.
|
|
58
|
+
*
|
|
59
|
+
* @private
|
|
60
|
+
* @override
|
|
61
|
+
*/
|
|
62
|
+
adjustLayout(): void;
|
|
63
|
+
adjustStyleLayout(): void;
|
|
64
|
+
/**
|
|
65
|
+
* Retrieves the generic placeholder content for the Pages container.
|
|
66
|
+
*
|
|
67
|
+
* @returns {string} The HTML string representing the Pages container's placeholder content.
|
|
68
|
+
*/
|
|
69
|
+
protected getGenericPlaceholderContent(): string;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=PagesContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PagesContainer.d.ts","sourceRoot":"../../../../..","sources":["src/sap/cux/home/PagesContainer.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,6BAA6B,CAAC;IAM7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;IAC3D,OAAO,aAAa,MAAM,4BAA4B,CAAC;IAIvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;IAGtE,UAAU,YAAY;QACrB,CAAC,GAAG,EAAE,MAAM,GAAG;YAAE,MAAM,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC;KAClD;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,aAAa;QACxD,MAAM,CAAC,QAAQ;;;;UAGb;QACF,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAWvC;QAEF,OAAO,CAAC,WAAW,CAAoB;QACvC,OAAO,CAAC,SAAS,CAAa;oBAElB,EAAE,CAAC,EAAE,MAAM,GAAG,uBAAuB;oBACrC,EAAE,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,uBAAuB;QAW3D;;;;;WAKG;QACI,IAAI,IAAI,IAAI;QAYnB;;;;;;WAMG;QACU,IAAI;QA+CV,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE;YAAE,MAAM,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE;QASjF;;;;;WAKG;QACI,YAAY;QASZ,iBAAiB;QASxB;;;;WAIG;QACH,SAAS,CAAC,4BAA4B,IAAI,MAAM;KAGhD;CAEA"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
declare module "sap/cux/home/PagesContainer" {
|
|
2
|
+
/*!
|
|
3
|
+
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
|
+
* * (c) Copyright 2009-2025 SAP SE. All rights reserved
|
|
5
|
+
*/
|
|
6
|
+
import array from "array";
|
|
7
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
8
|
+
import { $BaseContainerSettings } from "sap/cux/home/BaseContainer";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Interface defining the settings object used in constructor calls
|
|
12
|
+
*/
|
|
13
|
+
interface $PagesContainerSettings extends $BaseContainerSettings {
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Color Personalizations for Spaces & Pages
|
|
17
|
+
*/
|
|
18
|
+
colorPersonalizations?: array | PropertyBindingInfo | `{${string}}`;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Icon Personalizations for Spaces & Pages
|
|
22
|
+
*/
|
|
23
|
+
iconPersonalizations?: array | PropertyBindingInfo | `{${string}}`;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export default interface PagesContainer {
|
|
27
|
+
|
|
28
|
+
// property: colorPersonalizations
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Gets current value of property "colorPersonalizations".
|
|
32
|
+
*
|
|
33
|
+
* Color Personalizations for Spaces & Pages
|
|
34
|
+
*
|
|
35
|
+
* Default value is: []
|
|
36
|
+
* @returns Value of property "colorPersonalizations"
|
|
37
|
+
*/
|
|
38
|
+
getColorPersonalizations(): array;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Sets a new value for property "colorPersonalizations".
|
|
42
|
+
*
|
|
43
|
+
* Color Personalizations for Spaces & Pages
|
|
44
|
+
*
|
|
45
|
+
* When called with a value of "null" or "undefined", the default value of the property will be restored.
|
|
46
|
+
*
|
|
47
|
+
* Default value is: []
|
|
48
|
+
* @param [colorPersonalizations=[]] New value for property "colorPersonalizations"
|
|
49
|
+
* @returns Reference to "this" in order to allow method chaining
|
|
50
|
+
*/
|
|
51
|
+
setColorPersonalizations(colorPersonalizations: array): this;
|
|
52
|
+
|
|
53
|
+
// property: iconPersonalizations
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Gets current value of property "iconPersonalizations".
|
|
57
|
+
*
|
|
58
|
+
* Icon Personalizations for Spaces & Pages
|
|
59
|
+
*
|
|
60
|
+
* Default value is: []
|
|
61
|
+
* @returns Value of property "iconPersonalizations"
|
|
62
|
+
*/
|
|
63
|
+
getIconPersonalizations(): array;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Sets a new value for property "iconPersonalizations".
|
|
67
|
+
*
|
|
68
|
+
* Icon Personalizations for Spaces & Pages
|
|
69
|
+
*
|
|
70
|
+
* When called with a value of "null" or "undefined", the default value of the property will be restored.
|
|
71
|
+
*
|
|
72
|
+
* Default value is: []
|
|
73
|
+
* @param [iconPersonalizations=[]] New value for property "iconPersonalizations"
|
|
74
|
+
* @returns Reference to "this" in order to allow method chaining
|
|
75
|
+
*/
|
|
76
|
+
setIconPersonalizations(iconPersonalizations: array): this;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
3
|
+
* * (c) Copyright 2009-2025 SAP SE. All rights reserved
|
|
4
|
+
*/
|
|
5
|
+
sap.ui.define(["./BaseContainer", "./utils/placeholder/PagesPlaceholder"], function (__BaseContainer, ___utils_placeholder_PagesPlaceholder) {
|
|
6
|
+
"use strict";
|
|
7
|
+
|
|
8
|
+
function _interopRequireDefault(obj) {
|
|
9
|
+
return obj && obj.__esModule && typeof obj.default !== "undefined" ? obj.default : obj;
|
|
10
|
+
}
|
|
11
|
+
const _iteratorSymbol = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator")) : "@@iterator";
|
|
12
|
+
function _settle(pact, state, value) {
|
|
13
|
+
if (!pact.s) {
|
|
14
|
+
if (value instanceof _Pact) {
|
|
15
|
+
if (value.s) {
|
|
16
|
+
if (state & 1) {
|
|
17
|
+
state = value.s;
|
|
18
|
+
}
|
|
19
|
+
value = value.v;
|
|
20
|
+
} else {
|
|
21
|
+
value.o = _settle.bind(null, pact, state);
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
if (value && value.then) {
|
|
26
|
+
value.then(_settle.bind(null, pact, state), _settle.bind(null, pact, 2));
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
pact.s = state;
|
|
30
|
+
pact.v = value;
|
|
31
|
+
const observer = pact.o;
|
|
32
|
+
if (observer) {
|
|
33
|
+
observer(pact);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
const _Pact = /*#__PURE__*/function () {
|
|
38
|
+
function _Pact() {}
|
|
39
|
+
_Pact.prototype.then = function (onFulfilled, onRejected) {
|
|
40
|
+
const result = new _Pact();
|
|
41
|
+
const state = this.s;
|
|
42
|
+
if (state) {
|
|
43
|
+
const callback = state & 1 ? onFulfilled : onRejected;
|
|
44
|
+
if (callback) {
|
|
45
|
+
try {
|
|
46
|
+
_settle(result, 1, callback(this.v));
|
|
47
|
+
} catch (e) {
|
|
48
|
+
_settle(result, 2, e);
|
|
49
|
+
}
|
|
50
|
+
return result;
|
|
51
|
+
} else {
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
this.o = function (_this) {
|
|
56
|
+
try {
|
|
57
|
+
const value = _this.v;
|
|
58
|
+
if (_this.s & 1) {
|
|
59
|
+
_settle(result, 1, onFulfilled ? onFulfilled(value) : value);
|
|
60
|
+
} else if (onRejected) {
|
|
61
|
+
_settle(result, 1, onRejected(value));
|
|
62
|
+
} else {
|
|
63
|
+
_settle(result, 2, value);
|
|
64
|
+
}
|
|
65
|
+
} catch (e) {
|
|
66
|
+
_settle(result, 2, e);
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
return result;
|
|
70
|
+
};
|
|
71
|
+
return _Pact;
|
|
72
|
+
}();
|
|
73
|
+
function _isSettledPact(thenable) {
|
|
74
|
+
return thenable instanceof _Pact && thenable.s & 1;
|
|
75
|
+
}
|
|
76
|
+
function _forTo(array, body, check) {
|
|
77
|
+
var i = -1,
|
|
78
|
+
pact,
|
|
79
|
+
reject;
|
|
80
|
+
function _cycle(result) {
|
|
81
|
+
try {
|
|
82
|
+
while (++i < array.length && (!check || !check())) {
|
|
83
|
+
result = body(i);
|
|
84
|
+
if (result && result.then) {
|
|
85
|
+
if (_isSettledPact(result)) {
|
|
86
|
+
result = result.v;
|
|
87
|
+
} else {
|
|
88
|
+
result.then(_cycle, reject || (reject = _settle.bind(null, pact = new _Pact(), 2)));
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
if (pact) {
|
|
94
|
+
_settle(pact, 1, result);
|
|
95
|
+
} else {
|
|
96
|
+
pact = result;
|
|
97
|
+
}
|
|
98
|
+
} catch (e) {
|
|
99
|
+
_settle(pact || (pact = new _Pact()), 2, e);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
_cycle();
|
|
103
|
+
return pact;
|
|
104
|
+
}
|
|
105
|
+
const BaseContainer = _interopRequireDefault(__BaseContainer);
|
|
106
|
+
function _forOf(target, body, check) {
|
|
107
|
+
if (typeof target[_iteratorSymbol] === "function") {
|
|
108
|
+
var iterator = target[_iteratorSymbol](),
|
|
109
|
+
step,
|
|
110
|
+
pact,
|
|
111
|
+
reject;
|
|
112
|
+
function _cycle(result) {
|
|
113
|
+
try {
|
|
114
|
+
while (!(step = iterator.next()).done && (!check || !check())) {
|
|
115
|
+
result = body(step.value);
|
|
116
|
+
if (result && result.then) {
|
|
117
|
+
if (_isSettledPact(result)) {
|
|
118
|
+
result = result.v;
|
|
119
|
+
} else {
|
|
120
|
+
result.then(_cycle, reject || (reject = _settle.bind(null, pact = new _Pact(), 2)));
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
if (pact) {
|
|
126
|
+
_settle(pact, 1, result);
|
|
127
|
+
} else {
|
|
128
|
+
pact = result;
|
|
129
|
+
}
|
|
130
|
+
} catch (e) {
|
|
131
|
+
_settle(pact || (pact = new _Pact()), 2, e);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
_cycle();
|
|
135
|
+
if (iterator.return) {
|
|
136
|
+
var _fixup = function (value) {
|
|
137
|
+
try {
|
|
138
|
+
if (!step.done) {
|
|
139
|
+
iterator.return();
|
|
140
|
+
}
|
|
141
|
+
} catch (e) {}
|
|
142
|
+
return value;
|
|
143
|
+
};
|
|
144
|
+
if (pact && pact.then) {
|
|
145
|
+
return pact.then(_fixup, function (e) {
|
|
146
|
+
throw _fixup(e);
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
_fixup();
|
|
150
|
+
}
|
|
151
|
+
return pact;
|
|
152
|
+
}
|
|
153
|
+
// No support for Symbol.iterator
|
|
154
|
+
if (!("length" in target)) {
|
|
155
|
+
throw new TypeError("Object is not iterable");
|
|
156
|
+
}
|
|
157
|
+
// Handle live collections properly
|
|
158
|
+
var values = [];
|
|
159
|
+
for (var i = 0; i < target.length; i++) {
|
|
160
|
+
values.push(target[i]);
|
|
161
|
+
}
|
|
162
|
+
return _forTo(values, function (i) {
|
|
163
|
+
return body(values[i]);
|
|
164
|
+
}, check);
|
|
165
|
+
}
|
|
166
|
+
const getPagesPlaceholder = ___utils_placeholder_PagesPlaceholder["getPagesPlaceholder"];
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* Container class for managing and storing Pages.
|
|
170
|
+
*
|
|
171
|
+
* @extends BaseContainer
|
|
172
|
+
*
|
|
173
|
+
* @author SAP SE
|
|
174
|
+
* @version 0.0.1
|
|
175
|
+
* @since 1.142
|
|
176
|
+
*
|
|
177
|
+
* @private
|
|
178
|
+
* @ui5-restricted ux.eng.s4producthomes1
|
|
179
|
+
*
|
|
180
|
+
* @alias sap.cux.home.PagesContainer
|
|
181
|
+
*/
|
|
182
|
+
const PagesContainer = BaseContainer.extend("sap.cux.home.PagesContainer", {
|
|
183
|
+
metadata: {
|
|
184
|
+
properties: {
|
|
185
|
+
/**
|
|
186
|
+
* Color Personalizations for Spaces & Pages
|
|
187
|
+
*/
|
|
188
|
+
colorPersonalizations: {
|
|
189
|
+
type: "array",
|
|
190
|
+
group: "Misc",
|
|
191
|
+
defaultValue: [],
|
|
192
|
+
visibility: "hidden"
|
|
193
|
+
},
|
|
194
|
+
/**
|
|
195
|
+
* Icon Personalizations for Spaces & Pages
|
|
196
|
+
*/
|
|
197
|
+
iconPersonalizations: {
|
|
198
|
+
type: "array",
|
|
199
|
+
group: "Misc",
|
|
200
|
+
defaultValue: [],
|
|
201
|
+
visibility: "hidden"
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
renderer: {
|
|
206
|
+
...BaseContainer.renderer,
|
|
207
|
+
apiVersion: 2
|
|
208
|
+
},
|
|
209
|
+
/**
|
|
210
|
+
* Constructor for the new Pages container.
|
|
211
|
+
*
|
|
212
|
+
* @param {string} [id] ID for the new control, generated automatically if an ID is not provided
|
|
213
|
+
* @param {object} [settings] Initial settings for the new control
|
|
214
|
+
*/
|
|
215
|
+
constructor: function _constructor(id, settings) {
|
|
216
|
+
BaseContainer.prototype.constructor.call(this, id, settings);
|
|
217
|
+
this.panelLoaded = {};
|
|
218
|
+
},
|
|
219
|
+
/**
|
|
220
|
+
* Init lifecycle method
|
|
221
|
+
*
|
|
222
|
+
* @private
|
|
223
|
+
* @override
|
|
224
|
+
*/
|
|
225
|
+
init: function _init() {
|
|
226
|
+
BaseContainer.prototype.init.call(this);
|
|
227
|
+
this.panelLoaded = {};
|
|
228
|
+
this.setProperty("compositeId", "NewsAndPages");
|
|
229
|
+
this.addStyleClass("NewsAndPages");
|
|
230
|
+
this.setProperty("title", this._i18nBundle?.getText("pageTitle"));
|
|
231
|
+
this.addCustomSetting("title", this._i18nBundle.getText("pageTitle"));
|
|
232
|
+
this.addCustomSetting("groupTitle", this._i18nBundle.getText("myInterestMsg"));
|
|
233
|
+
this.addStyleClass("sapCuxNewsAndPagesContainer");
|
|
234
|
+
this.addStyleClass("sapCuxHorizontalContainers");
|
|
235
|
+
},
|
|
236
|
+
/**
|
|
237
|
+
* Loads Pages section.
|
|
238
|
+
* Overrides the load method of the BaseContainer.
|
|
239
|
+
*
|
|
240
|
+
* @private
|
|
241
|
+
* @override
|
|
242
|
+
*/
|
|
243
|
+
load: function _load() {
|
|
244
|
+
try {
|
|
245
|
+
const _this = this;
|
|
246
|
+
const aContent = _this.getContent();
|
|
247
|
+
const _temp = _forOf(aContent, function (oContent) {
|
|
248
|
+
return Promise.resolve(oContent.getData()).then(function () {});
|
|
249
|
+
});
|
|
250
|
+
return Promise.resolve(_temp && _temp.then ? _temp.then(function () {}) : void 0);
|
|
251
|
+
} catch (e) {
|
|
252
|
+
return Promise.reject(e);
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
/**
|
|
256
|
+
* Sets property value for iconPersonalization.
|
|
257
|
+
* Overridden to update cached personalizations.
|
|
258
|
+
*
|
|
259
|
+
* @private
|
|
260
|
+
* @override
|
|
261
|
+
* @returns {NewsAndPagesContainer} the container for chaining
|
|
262
|
+
*/
|
|
263
|
+
setIconPersonalizations: function _setIconPersonalizations(personalizations) {
|
|
264
|
+
const existingPers = this.getProperty("iconPersonalizations") || [];
|
|
265
|
+
const updatedPers = existingPers.concat(personalizations);
|
|
266
|
+
this.setProperty("iconPersonalizations", updatedPers);
|
|
267
|
+
this.getContent().forEach(oContent => {
|
|
268
|
+
if (oContent.getMetadata().getName() === "sap.cux.home.PagePanel") {
|
|
269
|
+
oContent.applyIconPersonalizations(updatedPers);
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
return this;
|
|
273
|
+
},
|
|
274
|
+
/**
|
|
275
|
+
* Sets property value for colorPersonalization.
|
|
276
|
+
* Overridden to update cached personalizations.
|
|
277
|
+
*
|
|
278
|
+
* @private
|
|
279
|
+
* @override
|
|
280
|
+
* @returns {NewsAndPagesContainer} the container for chaining
|
|
281
|
+
*/
|
|
282
|
+
setColorPersonalizations: function _setColorPersonalizations(personalizations) {
|
|
283
|
+
const existingPers = this.getProperty("colorPersonalizations") || [];
|
|
284
|
+
const updatedPers = existingPers.concat(personalizations);
|
|
285
|
+
this.setProperty("colorPersonalizations", updatedPers);
|
|
286
|
+
this.getContent().forEach(oContent => {
|
|
287
|
+
if (oContent.getMetadata().getName() === "sap.cux.home.PagePanel") {
|
|
288
|
+
oContent.applyColorPersonalizations(updatedPers);
|
|
289
|
+
}
|
|
290
|
+
});
|
|
291
|
+
return this;
|
|
292
|
+
},
|
|
293
|
+
panelLoadedFn: function _panelLoadedFn(sPanelType, oVal) {
|
|
294
|
+
const aContent = this.getContent();
|
|
295
|
+
aContent.forEach(oContent => {
|
|
296
|
+
this.pagePanel = oContent;
|
|
297
|
+
});
|
|
298
|
+
this.panelLoaded[sPanelType] = oVal;
|
|
299
|
+
this.adjustLayout();
|
|
300
|
+
},
|
|
301
|
+
/**
|
|
302
|
+
* Adjusts the layout of the all panels in the container.
|
|
303
|
+
*
|
|
304
|
+
* @private
|
|
305
|
+
* @override
|
|
306
|
+
*/
|
|
307
|
+
adjustLayout: function _adjustLayout() {
|
|
308
|
+
if (this.pagePanel) {
|
|
309
|
+
if (this.panelLoaded["Page"]?.loaded) {
|
|
310
|
+
this.adjustStyleLayout();
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
//check Both
|
|
315
|
+
adjustStyleLayout: function _adjustStyleLayout() {
|
|
316
|
+
const pagesContentWrapper = this.pagePanel ? this.pagePanel.getContent()?.[0] : undefined;
|
|
317
|
+
pagesContentWrapper?.setWidth("100%");
|
|
318
|
+
if (pagesContentWrapper) {
|
|
319
|
+
setTimeout(this.pagePanel.attachResizeHandler.bind(this.pagePanel, this.getDomRef()?.clientWidth || 0, pagesContentWrapper));
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
/**
|
|
323
|
+
* Retrieves the generic placeholder content for the Pages container.
|
|
324
|
+
*
|
|
325
|
+
* @returns {string} The HTML string representing the Pages container's placeholder content.
|
|
326
|
+
*/
|
|
327
|
+
getGenericPlaceholderContent: function _getGenericPlaceholderContent() {
|
|
328
|
+
return getPagesPlaceholder();
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
return PagesContainer;
|
|
332
|
+
});
|
|
333
|
+
//# sourceMappingURL=PagesContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PagesContainer.js","names":["sap","ui","define","__BaseContainer","___utils_placeholder_PagesPlaceholder","_interopRequireDefault","obj","__esModule","default","_iteratorSymbol","Symbol","iterator","_settle","pact","state","value","s","_Pact","v","o","bind","then","observer","prototype","onFulfilled","onRejected","result","callback","e","_this","_isSettledPact","thenable","_forTo","array","body","check","i","reject","_cycle","length","BaseContainer","_forOf","target","step","next","done","return","_fixup","TypeError","values","push","getPagesPlaceholder","PagesContainer","extend","metadata","properties","colorPersonalizations","type","group","defaultValue","visibility","iconPersonalizations","renderer","apiVersion","constructor","_constructor","id","settings","BaseContainer.prototype.constructor.call","panelLoaded","init","_init","BaseContainer.prototype.init.call","setProperty","addStyleClass","_i18nBundle","getText","addCustomSetting","load","_load","aContent","getContent","_temp","oContent","Promise","resolve","getData","setIconPersonalizations","_setIconPersonalizations","personalizations","existingPers","getProperty","updatedPers","concat","forEach","getMetadata","getName","applyIconPersonalizations","setColorPersonalizations","_setColorPersonalizations","applyColorPersonalizations","panelLoadedFn","_panelLoadedFn","sPanelType","oVal","pagePanel","adjustLayout","_adjustLayout","loaded","adjustStyleLayout","_adjustStyleLayout","pagesContentWrapper","undefined","setWidth","setTimeout","attachResizeHandler","getDomRef","clientWidth","getGenericPlaceholderContent","_getGenericPlaceholderContent"],"sources":["PagesContainer.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nimport VBox from \"sap/m/VBox\";\nimport type { MetadataOptions } from \"sap/ui/core/Element\";\nimport BaseContainer from \"./BaseContainer\";\nimport BasePanel from \"./BasePanel\";\nimport { ISpacePagePersonalization } from \"./interface/KeyUserInterface\";\nimport PagePanel from \"./PagePanel\";\nimport { $PagesContainerSettings } from \"./PagesContainer\";\nimport { getPagesPlaceholder } from \"./utils/placeholder/PagesPlaceholder\";\n\ninterface IpanelLoaded {\n\t[key: string]: { loaded: boolean; count: number };\n}\n\n/**\n *\n * Container class for managing and storing Pages.\n *\n * @extends BaseContainer\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.142\n *\n * @private\n * @ui5-restricted ux.eng.s4producthomes1\n *\n * @alias sap.cux.home.PagesContainer\n */\nexport default class PagesContainer extends BaseContainer {\n\tstatic renderer = {\n\t\t...BaseContainer.renderer,\n\t\tapiVersion: 2\n\t};\n\tstatic readonly metadata: MetadataOptions = {\n\t\tproperties: {\n\t\t\t/**\n\t\t\t * Color Personalizations for Spaces & Pages\n\t\t\t */\n\t\t\tcolorPersonalizations: { type: \"array\", group: \"Misc\", defaultValue: [], visibility: \"hidden\" },\n\t\t\t/**\n\t\t\t * Icon Personalizations for Spaces & Pages\n\t\t\t */\n\t\t\ticonPersonalizations: { type: \"array\", group: \"Misc\", defaultValue: [], visibility: \"hidden\" }\n\t\t}\n\t};\n\n\tprivate panelLoaded: IpanelLoaded = {};\n\tprivate pagePanel!: PagePanel;\n\n\tconstructor(id?: string | $PagesContainerSettings);\n\tconstructor(id?: string, settings?: $PagesContainerSettings);\n\t/**\n\t * Constructor for the new Pages container.\n\t *\n\t * @param {string} [id] ID for the new control, generated automatically if an ID is not provided\n\t * @param {object} [settings] Initial settings for the new control\n\t */\n\tpublic constructor(id?: string, settings?: $PagesContainerSettings) {\n\t\tsuper(id, settings);\n\t}\n\n\t/**\n\t * Init lifecycle method\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic init(): void {\n\t\tsuper.init();\n\t\tthis.panelLoaded = {};\n\t\tthis.setProperty(\"compositeId\", \"NewsAndPages\");\n\t\tthis.addStyleClass(\"NewsAndPages\");\n\t\tthis.setProperty(\"title\", this._i18nBundle?.getText(\"pageTitle\"));\n\t\tthis.addCustomSetting(\"title\", this._i18nBundle.getText(\"pageTitle\") as string);\n\t\tthis.addCustomSetting(\"groupTitle\", this._i18nBundle.getText(\"myInterestMsg\") as string);\n\t\tthis.addStyleClass(\"sapCuxNewsAndPagesContainer\");\n\t\tthis.addStyleClass(\"sapCuxHorizontalContainers\");\n\t}\n\n\t/**\n\t * Loads Pages section.\n\t * Overrides the load method of the BaseContainer.\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic async load() {\n\t\tconst aContent = this.getContent() as PagePanel[];\n\t\tfor (const oContent of aContent) {\n\t\t\tawait oContent.getData();\n\t\t}\n\t}\n\n\t/**\n\t * Sets property value for iconPersonalization.\n\t * Overridden to update cached personalizations.\n\t *\n\t * @private\n\t * @override\n\t * @returns {NewsAndPagesContainer} the container for chaining\n\t */\n\tsetIconPersonalizations(personalizations: Array<ISpacePagePersonalization>): PagesContainer {\n\t\tconst existingPers = (this.getProperty(\"iconPersonalizations\") as ISpacePagePersonalization[]) || [];\n\t\tconst updatedPers = existingPers.concat(personalizations);\n\t\tthis.setProperty(\"iconPersonalizations\", updatedPers);\n\t\tthis.getContent().forEach((oContent) => {\n\t\t\tif (oContent.getMetadata().getName() === \"sap.cux.home.PagePanel\") {\n\t\t\t\t(oContent as PagePanel).applyIconPersonalizations(updatedPers);\n\t\t\t}\n\t\t});\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets property value for colorPersonalization.\n\t * Overridden to update cached personalizations.\n\t *\n\t * @private\n\t * @override\n\t * @returns {NewsAndPagesContainer} the container for chaining\n\t */\n\tsetColorPersonalizations(personalizations: Array<ISpacePagePersonalization>): PagesContainer {\n\t\tconst existingPers = (this.getProperty(\"colorPersonalizations\") as ISpacePagePersonalization[]) || [];\n\t\tconst updatedPers = existingPers.concat(personalizations);\n\t\tthis.setProperty(\"colorPersonalizations\", updatedPers);\n\t\tthis.getContent().forEach((oContent) => {\n\t\t\tif (oContent.getMetadata().getName() === \"sap.cux.home.PagePanel\") {\n\t\t\t\t(oContent as PagePanel).applyColorPersonalizations(updatedPers);\n\t\t\t}\n\t\t});\n\t\treturn this;\n\t}\n\n\tpublic panelLoadedFn(sPanelType: string, oVal: { loaded: boolean; count: number }) {\n\t\tconst aContent = this.getContent();\n\t\taContent.forEach((oContent: BasePanel) => {\n\t\t\tthis.pagePanel = oContent as PagePanel;\n\t\t});\n\t\tthis.panelLoaded[sPanelType] = oVal;\n\t\tthis.adjustLayout();\n\t}\n\n\t/**\n\t * Adjusts the layout of the all panels in the container.\n\t *\n\t * @private\n\t * @override\n\t */\n\tpublic adjustLayout() {\n\t\tif (this.pagePanel) {\n\t\t\tif (this.panelLoaded[\"Page\"]?.loaded) {\n\t\t\t\tthis.adjustStyleLayout();\n\t\t\t}\n\t\t}\n\t}\n\n\t//check Both\n\tpublic adjustStyleLayout() {\n\t\tconst pagesContentWrapper = this.pagePanel ? (this.pagePanel.getContent()?.[0] as VBox) : undefined;\n\t\tpagesContentWrapper?.setWidth(\"100%\");\n\n\t\tif (pagesContentWrapper) {\n\t\t\tsetTimeout(this.pagePanel.attachResizeHandler.bind(this.pagePanel, this.getDomRef()?.clientWidth || 0, pagesContentWrapper));\n\t\t}\n\t}\n\n\t/**\n\t * Retrieves the generic placeholder content for the Pages container.\n\t *\n\t * @returns {string} The HTML string representing the Pages container's placeholder content.\n\t */\n\tprotected getGenericPlaceholderContent(): string {\n\t\treturn getPagesPlaceholder();\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,wEAAAC,eAAA,EAAAC,qCAAA;EAAA;;EAAA,SAAAC,uBAAAC,GAAA;IAAA,OAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,CAAAE,OAAA,mBAAAF,GAAA,CAAAE,OAAA,GAAAF,GAAA;EAAA;EAAA,MAoKaG,eAAA,GAAkB,aAAc,OAAOC,MAAM,KAAK,WAAW,GAAIA,MAAM,CAACC,QAAQ,KAAKD,MAAM,CAACC,QAAQ,GAAGD,MAAM,CAAC,iBAAiB,CAAC,CAAC,GAAI,YAAY;EA7HvJ,SAASE,OAAOA,CAACC,IAAI,EAAEC,KAAK,EAAEC,KAAK,EAAE;IAC3C,IAAI,CAACF,IAAI,CAACG,CAAC,EAAE;MACZ,IAAID,KAAK,YAAYE,KAAK,EAAE;QAC3B,IAAIF,KAAK,CAACC,CAAC,EAAE;UACZ,IAAIF,KAAK,GAAG,CAAC,EAAE;YACdA,KAAK,GAAGC,KAAK,CAACC,CAAC;UAChB;UACAD,KAAK,GAAGA,KAAK,CAACG,CAAC;QAChB,CAAC,MAAM;UACNH,KAAK,CAACI,CAAC,GAAGP,OAAO,CAACQ,IAAI,CAAC,IAAI,EAAEP,IAAI,EAAEC,KAAK,CAAC;UACzC;QACD;MACD;MACA,IAAIC,KAAK,IAAIA,KAAK,CAACM,IAAI,EAAE;QACxBN,KAAK,CAACM,IAAI,CAACT,OAAO,CAACQ,IAAI,CAAC,IAAI,EAAEP,IAAI,EAAEC,KAAK,CAAC,EAAEF,OAAO,CAACQ,IAAI,CAAC,IAAI,EAA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