@sapui5/sap.cux.home 1.138.0 → 1.139.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sap/cux/home/.library +1 -1
- package/src/sap/cux/home/App.d.ts +2 -2
- package/src/sap/cux/home/App.js +2 -2
- package/src/sap/cux/home/App.js.map +1 -1
- package/src/sap/cux/home/App.ts +2 -2
- package/src/sap/cux/home/AppsAdditionPanel.d.ts.map +1 -1
- package/src/sap/cux/home/AppsAdditionPanel.js +17 -10
- package/src/sap/cux/home/AppsAdditionPanel.js.map +1 -1
- package/src/sap/cux/home/AppsAdditionPanel.ts +19 -12
- package/src/sap/cux/home/AppsContainer.d.ts +2 -3
- package/src/sap/cux/home/AppsContainer.d.ts.map +1 -1
- package/src/sap/cux/home/AppsContainer.js +5 -8
- package/src/sap/cux/home/AppsContainer.js.map +1 -1
- package/src/sap/cux/home/AppsContainer.ts +4 -8
- package/src/sap/cux/home/BaseApp.d.ts +2 -2
- package/src/sap/cux/home/BaseApp.js +2 -2
- package/src/sap/cux/home/BaseApp.js.map +1 -1
- package/src/sap/cux/home/BaseApp.ts +2 -2
- package/src/sap/cux/home/BaseAppPanel.js +1 -1
- package/src/sap/cux/home/BaseAppPanel.js.map +1 -1
- package/src/sap/cux/home/BaseAppPanel.ts +1 -1
- package/src/sap/cux/home/BaseContainer.d.ts +2 -2
- package/src/sap/cux/home/BaseContainer.js +3 -3
- package/src/sap/cux/home/BaseContainer.js.map +1 -1
- package/src/sap/cux/home/BaseContainer.ts +3 -3
- package/src/sap/cux/home/BaseContainerRenderer.d.ts +4 -4
- package/src/sap/cux/home/BaseContainerRenderer.d.ts.map +1 -1
- package/src/sap/cux/home/BaseContainerRenderer.js +17 -19
- package/src/sap/cux/home/BaseContainerRenderer.js.map +1 -1
- package/src/sap/cux/home/BaseContainerRenderer.ts +21 -25
- package/src/sap/cux/home/BaseLayout.d.ts +2 -2
- package/src/sap/cux/home/BaseLayout.js +2 -2
- package/src/sap/cux/home/BaseLayout.js.map +1 -1
- package/src/sap/cux/home/BaseLayout.ts +2 -2
- package/src/sap/cux/home/BaseNewsItem.d.ts +2 -2
- package/src/sap/cux/home/BaseNewsItem.js +2 -2
- package/src/sap/cux/home/BaseNewsItem.js.map +1 -1
- package/src/sap/cux/home/BaseNewsItem.ts +2 -2
- package/src/sap/cux/home/BaseNewsPanel.d.ts +2 -2
- package/src/sap/cux/home/BaseNewsPanel.js +2 -2
- package/src/sap/cux/home/BaseNewsPanel.js.map +1 -1
- package/src/sap/cux/home/BaseNewsPanel.ts +2 -2
- package/src/sap/cux/home/BasePagePanel.d.ts +2 -2
- package/src/sap/cux/home/BasePagePanel.js +2 -2
- package/src/sap/cux/home/BasePagePanel.js.map +1 -1
- package/src/sap/cux/home/BasePagePanel.ts +2 -2
- package/src/sap/cux/home/BasePanel.d.ts +2 -2
- package/src/sap/cux/home/BasePanel.js +2 -2
- package/src/sap/cux/home/BasePanel.js.map +1 -1
- package/src/sap/cux/home/BasePanel.ts +2 -2
- package/src/sap/cux/home/BaseSettingsDialog.d.ts +2 -2
- package/src/sap/cux/home/BaseSettingsDialog.js +2 -2
- package/src/sap/cux/home/BaseSettingsDialog.js.map +1 -1
- package/src/sap/cux/home/BaseSettingsDialog.ts +2 -2
- package/src/sap/cux/home/BaseSettingsPanel.d.ts +3 -3
- package/src/sap/cux/home/BaseSettingsPanel.d.ts.map +1 -1
- package/src/sap/cux/home/BaseSettingsPanel.js +4 -3
- package/src/sap/cux/home/BaseSettingsPanel.js.map +1 -1
- package/src/sap/cux/home/BaseSettingsPanel.ts +6 -4
- package/src/sap/cux/home/CardsPanel.d.ts +2 -2
- package/src/sap/cux/home/CardsPanel.d.ts.map +1 -1
- package/src/sap/cux/home/CardsPanel.js +4 -4
- package/src/sap/cux/home/CardsPanel.js.map +1 -1
- package/src/sap/cux/home/CardsPanel.ts +4 -7
- package/src/sap/cux/home/ContentAdditionDialog.js +1 -1
- package/src/sap/cux/home/ContentAdditionDialog.js.map +1 -1
- package/src/sap/cux/home/ContentAdditionDialog.ts +1 -1
- package/src/sap/cux/home/ErrorPanel.d.ts +2 -2
- package/src/sap/cux/home/ErrorPanel.js +2 -2
- package/src/sap/cux/home/ErrorPanel.js.map +1 -1
- package/src/sap/cux/home/ErrorPanel.ts +2 -2
- package/src/sap/cux/home/FavAppPanel.d.ts +2 -2
- package/src/sap/cux/home/FavAppPanel.js +2 -2
- package/src/sap/cux/home/FavAppPanel.js.map +1 -1
- package/src/sap/cux/home/FavAppPanel.ts +2 -2
- package/src/sap/cux/home/FrequentAppPanel.d.ts +2 -2
- package/src/sap/cux/home/FrequentAppPanel.js +2 -2
- package/src/sap/cux/home/FrequentAppPanel.js.map +1 -1
- package/src/sap/cux/home/FrequentAppPanel.ts +2 -2
- package/src/sap/cux/home/Group.d.ts +2 -2
- package/src/sap/cux/home/Group.js +2 -2
- package/src/sap/cux/home/Group.js.map +1 -1
- package/src/sap/cux/home/Group.ts +2 -2
- package/src/sap/cux/home/IToDoPanel.d.ts +2 -2
- package/src/sap/cux/home/IToDoPanel.js.map +1 -1
- package/src/sap/cux/home/IToDoPanel.ts +2 -2
- package/src/sap/cux/home/InsightsAdditionPanel.d.ts.map +1 -1
- package/src/sap/cux/home/InsightsAdditionPanel.js +4 -7
- package/src/sap/cux/home/InsightsAdditionPanel.js.map +1 -1
- package/src/sap/cux/home/InsightsAdditionPanel.ts +4 -8
- package/src/sap/cux/home/InsightsContainer.d.ts +2 -3
- package/src/sap/cux/home/InsightsContainer.d.ts.map +1 -1
- package/src/sap/cux/home/InsightsContainer.js +6 -6
- package/src/sap/cux/home/InsightsContainer.js.map +1 -1
- package/src/sap/cux/home/InsightsContainer.ts +13 -7
- package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.d.ts.map +1 -1
- package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js +5 -3
- package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.js.map +1 -1
- package/src/sap/cux/home/KeyUserNewsPagesSettingsPanel.ts +4 -2
- package/src/sap/cux/home/KeyUserNewsSettingsPanel.d.ts +11 -5
- package/src/sap/cux/home/KeyUserNewsSettingsPanel.d.ts.map +1 -1
- package/src/sap/cux/home/KeyUserNewsSettingsPanel.js +160 -82
- package/src/sap/cux/home/KeyUserNewsSettingsPanel.js.map +1 -1
- package/src/sap/cux/home/KeyUserNewsSettingsPanel.ts +164 -82
- package/src/sap/cux/home/Layout.d.ts +2 -3
- package/src/sap/cux/home/Layout.d.ts.map +1 -1
- package/src/sap/cux/home/Layout.js +2 -3
- package/src/sap/cux/home/Layout.js.map +1 -1
- package/src/sap/cux/home/Layout.ts +2 -4
- package/src/sap/cux/home/MenuItem.d.ts +2 -2
- package/src/sap/cux/home/MenuItem.js +2 -2
- package/src/sap/cux/home/MenuItem.js.map +1 -1
- package/src/sap/cux/home/MenuItem.ts +2 -2
- package/src/sap/cux/home/NewsAndPagesContainer.d.ts +24 -3
- package/src/sap/cux/home/NewsAndPagesContainer.d.ts.map +1 -1
- package/src/sap/cux/home/NewsAndPagesContainer.js +49 -21
- package/src/sap/cux/home/NewsAndPagesContainer.js.map +1 -1
- package/src/sap/cux/home/NewsAndPagesContainer.ts +53 -21
- package/src/sap/cux/home/NewsGroup.d.ts.map +1 -1
- package/src/sap/cux/home/NewsGroup.js +11 -6
- package/src/sap/cux/home/NewsGroup.js.map +1 -1
- package/src/sap/cux/home/NewsGroup.ts +11 -8
- package/src/sap/cux/home/NewsPanel.d.ts +36 -7
- package/src/sap/cux/home/NewsPanel.d.ts.map +1 -1
- package/src/sap/cux/home/NewsPanel.gen.d.ts +0 -91
- package/src/sap/cux/home/NewsPanel.js +281 -200
- package/src/sap/cux/home/NewsPanel.js.map +1 -1
- package/src/sap/cux/home/NewsPanel.ts +168 -102
- package/src/sap/cux/home/NewsSettingsPanel.d.ts.map +1 -1
- package/src/sap/cux/home/NewsSettingsPanel.js +10 -6
- package/src/sap/cux/home/NewsSettingsPanel.js.map +1 -1
- package/src/sap/cux/home/NewsSettingsPanel.ts +12 -6
- package/src/sap/cux/home/NoDataContainer.d.ts +2 -3
- package/src/sap/cux/home/NoDataContainer.d.ts.map +1 -1
- package/src/sap/cux/home/NoDataContainer.js +2 -2
- package/src/sap/cux/home/NoDataContainer.js.map +1 -1
- package/src/sap/cux/home/NoDataContainer.ts +2 -2
- package/src/sap/cux/home/PagePanel.d.ts +2 -2
- package/src/sap/cux/home/PagePanel.js +2 -2
- package/src/sap/cux/home/PagePanel.js.map +1 -1
- package/src/sap/cux/home/PagePanel.ts +2 -2
- package/src/sap/cux/home/RecentAppPanel.d.ts +2 -2
- package/src/sap/cux/home/RecentAppPanel.js +2 -2
- package/src/sap/cux/home/RecentAppPanel.js.map +1 -1
- package/src/sap/cux/home/RecentAppPanel.ts +2 -2
- package/src/sap/cux/home/RecommendedAppPanel.d.ts +2 -2
- package/src/sap/cux/home/RecommendedAppPanel.js +2 -2
- package/src/sap/cux/home/RecommendedAppPanel.js.map +1 -1
- package/src/sap/cux/home/RecommendedAppPanel.ts +2 -2
- package/src/sap/cux/home/SituationPanel.d.ts +2 -2
- package/src/sap/cux/home/SituationPanel.js +2 -2
- package/src/sap/cux/home/SituationPanel.js.map +1 -1
- package/src/sap/cux/home/SituationPanel.ts +2 -2
- package/src/sap/cux/home/SpaceInsightsPanel.d.ts +2 -2
- package/src/sap/cux/home/SpaceInsightsPanel.d.ts.map +1 -1
- package/src/sap/cux/home/SpaceInsightsPanel.js +6 -3
- package/src/sap/cux/home/SpaceInsightsPanel.js.map +1 -1
- package/src/sap/cux/home/SpaceInsightsPanel.ts +6 -3
- package/src/sap/cux/home/SpacePanel.d.ts +2 -2
- package/src/sap/cux/home/SpacePanel.js +2 -2
- package/src/sap/cux/home/SpacePanel.js.map +1 -1
- package/src/sap/cux/home/SpacePanel.ts +2 -2
- package/src/sap/cux/home/TaskPanel.d.ts +2 -2
- package/src/sap/cux/home/TaskPanel.d.ts.map +1 -1
- package/src/sap/cux/home/TaskPanel.js +4 -11
- package/src/sap/cux/home/TaskPanel.js.map +1 -1
- package/src/sap/cux/home/TaskPanel.ts +5 -11
- package/src/sap/cux/home/TilesPanel.d.ts +2 -2
- package/src/sap/cux/home/TilesPanel.d.ts.map +1 -1
- package/src/sap/cux/home/TilesPanel.js +6 -6
- package/src/sap/cux/home/TilesPanel.js.map +1 -1
- package/src/sap/cux/home/TilesPanel.ts +6 -12
- package/src/sap/cux/home/ToDoPanel.d.ts +2 -2
- package/src/sap/cux/home/ToDoPanel.d.ts.map +1 -1
- package/src/sap/cux/home/ToDoPanel.js +4 -19
- package/src/sap/cux/home/ToDoPanel.js.map +1 -1
- package/src/sap/cux/home/ToDoPanel.ts +4 -20
- package/src/sap/cux/home/ToDosContainer.d.ts +2 -3
- package/src/sap/cux/home/ToDosContainer.d.ts.map +1 -1
- package/src/sap/cux/home/ToDosContainer.js +5 -5
- package/src/sap/cux/home/ToDosContainer.js.map +1 -1
- package/src/sap/cux/home/ToDosContainer.ts +3 -3
- package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.d.ts.map +1 -1
- package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js +1 -0
- package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.js.map +1 -1
- package/src/sap/cux/home/changeHandler/SetNewsFeedUrl.ts +1 -0
- package/src/sap/cux/home/i18n/messagebundle.properties +17 -5
- package/src/sap/cux/home/i18n/messagebundle_ar.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_bg.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_ca.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_cnr.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_cs.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_cy.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_da.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_de.properties +15 -15
- package/src/sap/cux/home/i18n/messagebundle_el.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_en.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_en_GB.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_en_US_sappsd.properties +12 -6
- package/src/sap/cux/home/i18n/messagebundle_en_US_saprigi.properties +12 -6
- package/src/sap/cux/home/i18n/messagebundle_en_US_saptrc.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_es.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_es_MX.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_et.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_fi.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_fr.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_fr_CA.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_hi.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_hr.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_hu.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_id.properties +6 -6
- package/src/sap/cux/home/i18n/messagebundle_it.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_iw.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_ja.properties +9 -9
- package/src/sap/cux/home/i18n/messagebundle_kk.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_ko.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_lt.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_lv.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_mk.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_ms.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_nl.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_no.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_pl.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_pt.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_pt_PT.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_ro.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_ru.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_sh.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_sk.properties +6 -6
- package/src/sap/cux/home/i18n/messagebundle_sl.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_sr.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_sv.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_th.properties +7 -7
- package/src/sap/cux/home/i18n/messagebundle_tr.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_uk.properties +6 -6
- package/src/sap/cux/home/i18n/messagebundle_vi.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_zh_CN.properties +5 -5
- package/src/sap/cux/home/i18n/messagebundle_zh_TW.properties +5 -5
- package/src/sap/cux/home/interface/CardsInterface.d.ts +1 -5
- package/src/sap/cux/home/interface/CardsInterface.d.ts.map +1 -1
- package/src/sap/cux/home/interface/CardsInterface.js.map +1 -1
- package/src/sap/cux/home/interface/CardsInterface.ts +1 -1
- package/src/sap/cux/home/interface/KeyUserInterface.d.ts +2 -0
- 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 +2 -0
- package/src/sap/cux/home/library.d.ts +26 -15
- package/src/sap/cux/home/library.d.ts.map +1 -1
- package/src/sap/cux/home/library.js +26 -15
- package/src/sap/cux/home/library.js.map +1 -1
- package/src/sap/cux/home/library.ts +27 -15
- package/src/sap/cux/home/themes/base/ContentAdditionDialog.less +0 -8
- package/src/sap/cux/home/themes/base/NewsAndPagesContainer.less +4 -0
- package/src/sap/cux/home/themes/base/ToDosContainer.less +2 -1
- package/src/sap/cux/home/utils/CommonUtils.d.ts +1 -1
- package/src/sap/cux/home/utils/CommonUtils.d.ts.map +1 -1
- package/src/sap/cux/home/utils/CommonUtils.js.map +1 -1
- package/src/sap/cux/home/utils/CommonUtils.ts +5 -2
- package/src/sap/cux/home/utils/FeatureUtils.js +0 -2
- package/src/sap/cux/home/utils/FeatureUtils.js.map +1 -1
- package/src/sap/cux/home/utils/FeatureUtils.ts +3 -3
- package/src/sap/cux/home/utils/HttpHelper.js.map +1 -1
- package/src/sap/cux/home/utils/HttpHelper.ts +1 -1
- package/src/sap/cux/home/utils/KeyUserPersonalization.d.ts.map +1 -1
- package/src/sap/cux/home/utils/KeyUserPersonalization.js +0 -1
- package/src/sap/cux/home/utils/KeyUserPersonalization.js.map +1 -1
- package/src/sap/cux/home/utils/KeyUserPersonalization.ts +0 -1
- package/src/sap/cux/home/utils/fragment/appsAdditionContent.fragment.xml +9 -4
- package/src/sap/cux/home/{AppsContainerGenericPlaceholder.d.ts → utils/placeholder/AppsPlaceholder.d.ts} +2 -2
- package/src/sap/cux/home/utils/placeholder/AppsPlaceholder.d.ts.map +1 -0
- package/src/sap/cux/home/{AppsContainerGenericPlaceholder.js → utils/placeholder/AppsPlaceholder.js} +1 -1
- package/src/sap/cux/home/utils/placeholder/AppsPlaceholder.js.map +1 -0
- package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.d.ts +8 -0
- package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.d.ts.map +1 -0
- package/src/sap/cux/home/{InsightsContainerGenericPlaceholder.js → utils/placeholder/InsightsPlaceholder.js} +1 -1
- package/src/sap/cux/home/utils/placeholder/InsightsPlaceholder.js.map +1 -0
- package/src/sap/cux/home/{InsightsContainerGenericPlaceholder.d.ts → utils/placeholder/NewsAndPagesPlaceholder.d.ts} +3 -3
- package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.d.ts.map +1 -0
- package/src/sap/cux/home/{NewsAndPagesContainerGenericPlaceholder.js → utils/placeholder/NewsAndPagesPlaceholder.js} +1 -1
- package/src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.js.map +1 -0
- package/src/sap/cux/home/{ToDosContainerGenericPlaceholder.d.ts → utils/placeholder/ToDosPlaceholder.d.ts} +2 -2
- package/src/sap/cux/home/utils/placeholder/ToDosPlaceholder.d.ts.map +1 -0
- package/src/sap/cux/home/{ToDosContainerGenericPlaceholder.js → utils/placeholder/ToDosPlaceholder.js} +1 -1
- package/src/sap/cux/home/utils/placeholder/ToDosPlaceholder.js.map +1 -0
- package/src/sap/cux/home/AppsContainerGenericPlaceholder.d.ts.map +0 -1
- package/src/sap/cux/home/AppsContainerGenericPlaceholder.js.map +0 -1
- package/src/sap/cux/home/InsightsContainerGenericPlaceholder.d.ts.map +0 -1
- package/src/sap/cux/home/InsightsContainerGenericPlaceholder.js.map +0 -1
- package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder.d.ts +0 -8
- package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder.d.ts.map +0 -1
- package/src/sap/cux/home/NewsAndPagesContainerGenericPlaceholder.js.map +0 -1
- package/src/sap/cux/home/ToDosContainerGenericPlaceholder.d.ts.map +0 -1
- package/src/sap/cux/home/ToDosContainerGenericPlaceholder.js.map +0 -1
- /package/src/sap/cux/home/{AppsContainerGenericPlaceholder.ts → utils/placeholder/AppsPlaceholder.ts} +0 -0
- /package/src/sap/cux/home/{InsightsContainerGenericPlaceholder.ts → utils/placeholder/InsightsPlaceholder.ts} +0 -0
- /package/src/sap/cux/home/{NewsAndPagesContainerGenericPlaceholder.ts → utils/placeholder/NewsAndPagesPlaceholder.ts} +0 -0
- /package/src/sap/cux/home/{ToDosContainerGenericPlaceholder.ts → utils/placeholder/ToDosPlaceholder.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare module "sap/cux/home/utils/CommonUtils" {
|
|
2
2
|
import BasePanel from "sap/cux/home/BasePanel";
|
|
3
|
-
import PageManager from "sap/cux/home/utils/PageManager";
|
|
4
3
|
import { ICustomVisualization, ISectionAndVisualization } from "sap/cux/home/interface/AppsInterface";
|
|
4
|
+
import PageManager from "sap/cux/home/utils/PageManager";
|
|
5
5
|
function isURLParamEnabled(paramName: string): boolean;
|
|
6
6
|
function getPageManagerInstance(control: BasePanel): PageManager;
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommonUtils.d.ts","sourceRoot":"../../../../../..","sources":["src/sap/cux/home/utils/CommonUtils.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,gCAAgC,CAAC;IAehD,OAAO,SAAS,MAAM,wBAAwB,CAAC;IAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"CommonUtils.d.ts","sourceRoot":"../../../../../..","sources":["src/sap/cux/home/utils/CommonUtils.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,gCAAgC,CAAC;IAehD,OAAO,SAAS,MAAM,wBAAwB,CAAC;IAC/C,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;IACtG,OAAO,WAAW,MAAM,gCAAgC,CAAC;IAGzD,SAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAG5D;IAED,SAAgB,sBAAsB,CAAC,OAAO,EAAE,SAAS,eAOxD;IAED;;;;;;OAMG;IACH,SAAgB,oBAAoB,CACnC,cAAc,EAAE,wBAAwB,EAAE,EAC1C,kBAAkB,GAAE,OAAe,GACjC,CAAC,wBAAwB,GAAG,oBAAoB,CAAC,EAAE,CAcrD;CAEA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommonUtils.js","names":["sap","ui","define","__BaseLayout","__PageManager","__PersonalisationUtils","_interopRequireDefault","obj","__esModule","default","BaseLayout","PageManager","PersonalisationUtils","isURLParamEnabled","paramName","urlParams","URLSearchParams","window","location","search","get","toUpperCase","getPageManagerInstance","control","container","getParent","layout","layoutPersContainerId","getProperty","persContainerId","getPersContainerId","pageManagerInstance","getInstance","getOwnerComponent","filterVisualizations","visualizations","filterDynamicTiles","filter","visualization","isSection","isCount","isSmartBusinessTile","apps","badge","length","toString","__exports"],"sources":["CommonUtils.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\n/**\n *\n * @param paramName name of parameter\n * This method checks if the URL parameter is enabled.\n * @returns {boolean} True if the parameter is enabled, false otherwise.\n * @private\n */\nimport Component from \"sap/ui/core/Component\";\nimport BaseLayout from \"../BaseLayout\";\nimport BasePanel from \"../BasePanel\";\nimport
|
|
1
|
+
{"version":3,"file":"CommonUtils.js","names":["sap","ui","define","__BaseLayout","__PageManager","__PersonalisationUtils","_interopRequireDefault","obj","__esModule","default","BaseLayout","PageManager","PersonalisationUtils","isURLParamEnabled","paramName","urlParams","URLSearchParams","window","location","search","get","toUpperCase","getPageManagerInstance","control","container","getParent","layout","layoutPersContainerId","getProperty","persContainerId","getPersContainerId","pageManagerInstance","getInstance","getOwnerComponent","filterVisualizations","visualizations","filterDynamicTiles","filter","visualization","isSection","isCount","isSmartBusinessTile","apps","badge","length","toString","__exports"],"sources":["CommonUtils.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\n/**\n *\n * @param paramName name of parameter\n * This method checks if the URL parameter is enabled.\n * @returns {boolean} True if the parameter is enabled, false otherwise.\n * @private\n */\nimport Component from \"sap/ui/core/Component\";\nimport BaseLayout from \"../BaseLayout\";\nimport BasePanel from \"../BasePanel\";\nimport { ICustomVisualization, ISectionAndVisualization } from \"../interface/AppsInterface\";\nimport PageManager from \"./PageManager\";\nimport PersonalisationUtils from \"./PersonalisationUtils\";\n\nexport function isURLParamEnabled(paramName: string): boolean {\n\tconst urlParams = new URLSearchParams(window.location.search);\n\treturn urlParams.get(paramName)?.toUpperCase() === \"TRUE\" || false;\n}\n\nexport function getPageManagerInstance(control: BasePanel) {\n\tconst container = control.getParent();\n\tconst layout = container?.getParent();\n\tconst layoutPersContainerId = layout instanceof BaseLayout ? (layout?.getProperty(\"persContainerId\") as string) : \"\";\n\tconst persContainerId = layoutPersContainerId || PersonalisationUtils.getPersContainerId(control);\n\tconst pageManagerInstance = PageManager.getInstance(persContainerId, PersonalisationUtils.getOwnerComponent(control) as Component);\n\treturn pageManagerInstance;\n}\n\n/**\n * Filters visualizations by removing static tiles (count or Smart Business tiles) unless dynamic tiles are requested.\n *\n * @param {ISectionAndVisualization[]} visualizations - The array of visualizations to filter.\n * @param {boolean} [filterDynamicTiles=false] - If true, only dynamic tiles are included; otherwise, static tiles are included.\n * @returns {ISectionAndVisualization[]} The filtered array of visualizations.\n */\nexport function filterVisualizations(\n\tvisualizations: ISectionAndVisualization[],\n\tfilterDynamicTiles: boolean = false\n): (ISectionAndVisualization | ICustomVisualization)[] {\n\treturn visualizations\n\t\t.filter((visualization) => {\n\t\t\t// Filter out static tiles\n\t\t\tif (!visualization.isSection && (visualization.isCount || visualization.isSmartBusinessTile)) {\n\t\t\t\treturn filterDynamicTiles;\n\t\t\t} else if (visualization.isSection) {\n\t\t\t\tvisualization.apps = filterVisualizations(visualization.apps || [], filterDynamicTiles);\n\t\t\t\tvisualization.badge = visualization.apps.length.toString();\n\t\t\t}\n\n\t\t\treturn !filterDynamicTiles;\n\t\t})\n\t\t.filter((visualization) => (visualization.isSection ? visualization.apps!.length > 0 : true));\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,yEAAAC,YAAA,EAAAC,aAAA,EAAAC,sBAAA;EAAA;;EAAA,SAAAC,uBAAAC,GAAA;IAAA,OAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,CAAAE,OAAA,mBAAAF,GAAA,CAAAE,OAAA,GAAAF,GAAA;EAAA;EAKA;AACA;AACA;AACA;AACA;AACA;AACA;EANA,MAQOG,UAAU,GAAAJ,sBAAA,CAAAH,YAAA;EAAA,MAGVQ,WAAW,GAAAL,sBAAA,CAAAF,aAAA;EAAA,MACXQ,oB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GL,aAAa,CAACI,IAAI,CAACE,MAAM,CAACC,QAAQ,CAAC,CAAC;MAC3D;MAEA,OAAO,CAACT,kBAAkB;IAC3B,CAAC,CAAC,CACDC,MAAM,CAAEC,aAAa,IAAMA,aAAa,CAACC,SAAS,GAAGD,aAAa,CAACI,IAAI,CAAEE,MAAM,GAAG,CAAC,GAAG,IAAK,CAAC;EAC/F;EAAC,IAAAE,SAAA;IAAAtC,UAAA;EAAA;EAAAsC,SAAA,CAAAjC,iBAAA,GAAAA,iBAAA;EAAAiC,SAAA,CAAAxB,sBAAA,GAAAA,sBAAA;EAAAwB,SAAA,CAAAZ,oBAAA,GAAAA,oBAAA;EAAA,OAAAY,SAAA;AAAA","ignoreList":[]}
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
import Component from "sap/ui/core/Component";
|
|
14
14
|
import BaseLayout from "../BaseLayout";
|
|
15
15
|
import BasePanel from "../BasePanel";
|
|
16
|
+
import { ICustomVisualization, ISectionAndVisualization } from "../interface/AppsInterface";
|
|
16
17
|
import PageManager from "./PageManager";
|
|
17
18
|
import PersonalisationUtils from "./PersonalisationUtils";
|
|
18
|
-
import { ICustomVisualization, ISectionAndVisualization } from "../interface/AppsInterface";
|
|
19
19
|
|
|
20
20
|
export function isURLParamEnabled(paramName: string): boolean {
|
|
21
21
|
const urlParams = new URLSearchParams(window.location.search);
|
|
@@ -38,7 +38,10 @@ export function getPageManagerInstance(control: BasePanel) {
|
|
|
38
38
|
* @param {boolean} [filterDynamicTiles=false] - If true, only dynamic tiles are included; otherwise, static tiles are included.
|
|
39
39
|
* @returns {ISectionAndVisualization[]} The filtered array of visualizations.
|
|
40
40
|
*/
|
|
41
|
-
export function filterVisualizations(
|
|
41
|
+
export function filterVisualizations(
|
|
42
|
+
visualizations: ISectionAndVisualization[],
|
|
43
|
+
filterDynamicTiles: boolean = false
|
|
44
|
+
): (ISectionAndVisualization | ICustomVisualization)[] {
|
|
42
45
|
return visualizations
|
|
43
46
|
.filter((visualization) => {
|
|
44
47
|
// Filter out static tiles
|
|
@@ -22,8 +22,6 @@ sap.ui.define(["sap/base/Log", "sap/ushell/Container", "./Constants", "./HttpHel
|
|
|
22
22
|
const FEATURE_TOGGLE_SRVC_URL = ___Constants["FEATURE_TOGGLE_SRVC_URL"];
|
|
23
23
|
const FEATURE_TOGGLES = ___Constants["FEATURE_TOGGLES"];
|
|
24
24
|
const HttpHelper = _interopRequireDefault(__HttpHelper);
|
|
25
|
-
;
|
|
26
|
-
;
|
|
27
25
|
const featureToggles = new Map();
|
|
28
26
|
|
|
29
27
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureUtils.js","names":["sap","ui","define","Log","Container","___Constants","__HttpHelper","_interopRequireDefault","obj","__esModule","default","_catch","body","recover","result","e","then","FEATURE_TOGGLE_SRVC_URL","FEATURE_TOGGLES","HttpHelper","featureToggles","Map","isFeatureEnabled","key","_temp2","get","has","Promise","resolve","_temp","unavailableToggles","Object","values","filter","toggle","getFeatureToggles","_getFeatureToggles","forEach","set","enabled","error","message","reject","keys","filterExpression","join","GetJSON","_HttpHelper$GetJSON","value","map","some","ToggleId","State","toUpperCase","isNavigationSupportedForFeature","featureToggle","intent","isFeatureToggleEnabled","getServiceAsync","navigationService","isNavigationSupported","supported","warning","Error","String","__exports"],"sources":["FeatureUtils.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nimport Log from \"sap/base/Log\";\nimport Container from \"sap/ushell/Container\";\nimport Navigation, { Target } from \"sap/ushell/services/Navigation\";\nimport { FEATURE_TOGGLE_SRVC_URL, FEATURE_TOGGLES } from \"./Constants\";\nimport HttpHelper from \"./HttpHelper\";\n\ninterface FeatureToggle {\n\tkey: FEATURE_TOGGLES;\n\tenabled: boolean;\n}
|
|
1
|
+
{"version":3,"file":"FeatureUtils.js","names":["sap","ui","define","Log","Container","___Constants","__HttpHelper","_interopRequireDefault","obj","__esModule","default","_catch","body","recover","result","e","then","FEATURE_TOGGLE_SRVC_URL","FEATURE_TOGGLES","HttpHelper","featureToggles","Map","isFeatureEnabled","key","_temp2","get","has","Promise","resolve","_temp","unavailableToggles","Object","values","filter","toggle","getFeatureToggles","_getFeatureToggles","forEach","set","enabled","error","message","reject","keys","filterExpression","join","GetJSON","_HttpHelper$GetJSON","value","map","some","ToggleId","State","toUpperCase","isNavigationSupportedForFeature","featureToggle","intent","isFeatureToggleEnabled","getServiceAsync","navigationService","isNavigationSupported","supported","warning","Error","String","__exports"],"sources":["FeatureUtils.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nimport Log from \"sap/base/Log\";\nimport Container from \"sap/ushell/Container\";\nimport Navigation, { Target } from \"sap/ushell/services/Navigation\";\nimport { FEATURE_TOGGLE_SRVC_URL, FEATURE_TOGGLES } from \"./Constants\";\nimport HttpHelper from \"./HttpHelper\";\n\ninterface FeatureToggle {\n\tkey: FEATURE_TOGGLES;\n\tenabled: boolean;\n}\n\ninterface FeatureToggleResponse {\n\tvalue: {\n\t\tToggleId: FEATURE_TOGGLES;\n\t\tState: string;\n\t}[];\n}\n\nconst featureToggles = new Map<FEATURE_TOGGLES, boolean>();\n\n/**\n * Utility to check if a feature toggle is enabled.\n *\n * @param key The key of the feature toggle to check.\n * @returns Promise resolving to `true` if the feature toggle is enabled, `false` otherwise.\n */\nexport const isFeatureEnabled = async (key: FEATURE_TOGGLES): Promise<boolean> => {\n\tif (featureToggles.has(key)) {\n\t\treturn featureToggles.get(key)!;\n\t}\n\n\ttry {\n\t\tconst unavailableToggles = Object.values(FEATURE_TOGGLES).filter((toggle) => !featureToggles.has(toggle));\n\t\t(await getFeatureToggles(unavailableToggles)).forEach((toggle) => featureToggles.set(toggle.key, toggle.enabled));\n\t} catch (error) {\n\t\tLog.error(\"Error fetching feature toggles\", (error as Error).message);\n\t\tfeatureToggles.set(key, false);\n\t}\n\n\treturn featureToggles.get(key) || false;\n};\n\n/**\n * Utility to fetch feature toggles from the server.\n *\n * @param keys An array of feature toggle keys to fetch.\n * @returns Promise resolving to an array of feature toggles.\n */\nconst getFeatureToggles = async (keys: FEATURE_TOGGLES[]): Promise<FeatureToggle[]> => {\n\tconst filterExpression = `?$filter=(ToggleId eq '${keys.join(\"' or ToggleId eq '\")}')`;\n\tconst { value = [] } = (await HttpHelper.GetJSON(FEATURE_TOGGLE_SRVC_URL + filterExpression)) as FeatureToggleResponse;\n\n\treturn keys.map((key) => ({\n\t\tkey,\n\t\tenabled: value.some((toggle) => toggle.ToggleId === key && toggle.State.toUpperCase() === \"X\")\n\t}));\n};\n\n/**\n * Utility to check if a navigation target is supported when a feature toggle is enabled.\n *\n * @param featureToggleCheck A promise that resolves to true if the feature is enabled.\n * @param semanticObject Semantic object to be checked for navigation support.\n * @param action Action name for the semantic object.\n * @returns Promise resolving to `true` if navigation is supported and feature is enabled.\n */\nexport const isNavigationSupportedForFeature = async (featureToggle: FEATURE_TOGGLES, intent: Target): Promise<boolean> => {\n\ttry {\n\t\tconst isFeatureToggleEnabled = await isFeatureEnabled(featureToggle);\n\t\tif (!isFeatureToggleEnabled) {\n\t\t\treturn false;\n\t\t}\n\t\tconst navigationService = await Container.getServiceAsync<Navigation>(\"Navigation\");\n\t\tconst [{ supported }] = await navigationService.isNavigationSupported([intent]);\n\n\t\treturn supported || false;\n\t} catch (error) {\n\t\tLog.warning(error instanceof Error ? error.message : String(error));\n\t\treturn false;\n\t}\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,oFAAAC,GAAA,EAAAC,SAAA,EAAAC,YAAA,EAAAC,YAAA;EAAA;;EAAA,SAAAC,uBAAAC,GAAA;IAAA,OAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,CAAAE,OAAA,mBAAAF,GAAA,CAAAE,OAAA,GAAAF,GAA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OAAA7B,OAAA,CAAAC,OAAA,CAAAjB,MAAA,aACtH;QAAA,OAAAgB,OAAA,CAAAC,OAAA,CACkCN,gBAAgB,CAACiC,aAAa,CAAC,EAAAvC,IAAA,WAA9DyC,sBAAsB;UAAA,OACvBA,sBAAsB,GAAA9B,OAAA,CAAAC,OAAA,CAGKxB,SAAS,CAACsD,eAAe,CAAa,YAAY,CAAC,EAAA1C,IAAA,WAA7E2C,iBAAiB;YAAA,OAAAhC,OAAA,CAAAC,OAAA,CACO+B,iBAAiB,CAACC,qBAAqB,CAAC,CAACJ,MAAM,CAAC,CAAC,EAAAxC,IAAA,WAAzE,CAAC;cAAE6C;YAAU,CAAC,CAAC;cAErB,OAAOA,SAAS,IAAI,KAAK;YAAC;UAAA,KALlB,KAAK;QAAA;MAMd,CAAC,YAAQrB,KAAK,EAAE;QACfrC,GAAG,CAAC2D,OAAO,CAACtB,KAAK,YAAYuB,KAAK,GAAGvB,KAAK,CAACC,OAAO,GAAGuB,MAAM,CAACxB,KAAK,CAAC,CAAC;QACnE,OAAO,KAAK;MACb,CAAC;IACF,CAAC,QAAAzB,CAAA;MAAA,OAAAY,OAAA,CAAAe,MAAA,CAAA3B,CAAA;IAAA;EAAA;EAAC,IAAAkD,SAAA;IAAAxD,UAAA;EAAA;EAAAwD,SAAA,CAAA3C,gBAAA,GAAAA,gBAAA;EAAA2C,SAAA,CAAAX,+BAAA,GAAAA,+BAAA;EAAA,OAAAW,SAAA;AAAA","ignoreList":[]}
|
|
@@ -11,14 +11,14 @@ import HttpHelper from "./HttpHelper";
|
|
|
11
11
|
interface FeatureToggle {
|
|
12
12
|
key: FEATURE_TOGGLES;
|
|
13
13
|
enabled: boolean;
|
|
14
|
-
}
|
|
14
|
+
}
|
|
15
15
|
|
|
16
16
|
interface FeatureToggleResponse {
|
|
17
17
|
value: {
|
|
18
18
|
ToggleId: FEATURE_TOGGLES;
|
|
19
19
|
State: string;
|
|
20
20
|
}[];
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
22
|
|
|
23
23
|
const featureToggles = new Map<FEATURE_TOGGLES, boolean>();
|
|
24
24
|
|
|
@@ -52,7 +52,7 @@ export const isFeatureEnabled = async (key: FEATURE_TOGGLES): Promise<boolean> =
|
|
|
52
52
|
*/
|
|
53
53
|
const getFeatureToggles = async (keys: FEATURE_TOGGLES[]): Promise<FeatureToggle[]> => {
|
|
54
54
|
const filterExpression = `?$filter=(ToggleId eq '${keys.join("' or ToggleId eq '")}')`;
|
|
55
|
-
const { value = [] } = await HttpHelper.GetJSON(FEATURE_TOGGLE_SRVC_URL + filterExpression) as FeatureToggleResponse;
|
|
55
|
+
const { value = [] } = (await HttpHelper.GetJSON(FEATURE_TOGGLE_SRVC_URL + filterExpression)) as FeatureToggleResponse;
|
|
56
56
|
|
|
57
57
|
return keys.map((key) => ({
|
|
58
58
|
key,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpHelper.js","names":["sap","ui","define","Log","BaseObject","___Constants","_catch","body","recover","result","e","then","REPO_BASE_URL","HttpHelper","constructor","fetchCSRFToken","fetch","method","headers","response","token","get","ok","Error","catch","error","message","Post","url","payload","csrfToken","JSON","stringify","json","GetJSON","GetMultipleRequests","urls","Promise","resolve","all","map","includes","_response$json","text","reject"],"sources":["HttpHelper.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nimport Log from \"sap/base/Log\";\nimport BaseObject from \"sap/ui/base/Object\";\nimport { REPO_BASE_URL } from \"./Constants\";\n\n/**\n *\n * @class Provides the HttpHelper Class used for Get and Post Calls.\n *\n * @extends sap.ui.BaseObject\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.121.0\n * @private\n *\n * @alias sap.cux.home.utils.HttpHelper\n */\n\nexport default class HttpHelper extends BaseObject {\n\tprivate constructor() {\n\t\tsuper();\n\t}\n\n\t/**\n\t * Fetches the CSRF Token\n\t * @returns {Promise<string | void>} Promise that resolves with the CSRF Token\n\t */\n\tprivate static fetchCSRFToken(): Promise<string | void> {\n\t\treturn fetch(REPO_BASE_URL, {\n\t\t\tmethod: \"HEAD\",\n\t\t\theaders: {\n\t\t\t\t\"X-CSRF-Token\": \"Fetch\"\n\t\t\t}\n\t\t})\n\t\t\t.then((response) => {\n\t\t\t\tconst token = response.headers.get(\"X-CSRF-Token\");\n\t\t\t\tif (response.ok && token) {\n\t\t\t\t\treturn token;\n\t\t\t\t}\n\t\t\t\tthrow new Error(\"Cannot fetch X-CSRF-Token.\");\n\t\t\t})\n\t\t\t.catch((error: Error) => {\n\t\t\t\tLog.error(error.message);\n\t\t\t});\n\t}\n\n\t/**\n\t * Post Method\n\t * @param {string} url - The URL to post to\n\t * @param {object} payload - The payload to post\n\t * @returns {Promise<unknown>} Promise that resolves with the response\n\t */\n\tpublic static Post(url: string, payload: object): Promise<unknown> {\n\t\treturn HttpHelper.fetchCSRFToken()\n\t\t\t.then((csrfToken) => {\n\t\t\t\treturn fetch(url, {\n\t\t\t\t\tmethod: \"POST\",\n\t\t\t\t\theaders: {\n\t\t\t\t\t\t\"X-CSRF-Token\": csrfToken as string,\n\t\t\t\t\t\t\"content-type\": \"application/json\"\n\t\t\t\t\t},\n\t\t\t\t\tbody: JSON.stringify(payload)\n\t\t\t\t});\n\t\t\t})\n\t\t\t.then((response) => {\n\t\t\t\treturn response.json();\n\t\t\t})\n\t\t\t.catch((error: Error) => {\n\t\t\t\tLog.error(error.message);\n\t\t\t});\n\t}\n\n\t/**\n\t * Get Method for JSON Data\n\t * @param {string} url - The URL to get from\n\t * @returns {Promise<unknown>} Promise that resolves with the JSON data response\n\t */\n\tpublic static GetJSON(url: string): Promise<unknown> {\n\t\treturn fetch(url)\n\t\t\t.then((response) => {\n\t\t\t\treturn response.json();\n\t\t\t})\n\t\t\t.catch((error: Error) => {\n\t\t\t\tLog.error(error.message);\n\t\t\t});\n\t}\n\t/**\n\t * Get Method for Multiple Requests\n\t *\n\t * @param {string[]} urls - An array of URLs to get from\n\t * @returns {Promise<(string | object)[]>} Promise that resolves with the responses from the URLs\n\t */\n\tpublic static async GetMultipleRequests(urls: string[] = []): Promise<(string | object)[]> {\n\t\ttry {\n\t\t\tconst results = await Promise.all(\n\t\t\t\turls.map(async (url) => {\n\t\t\t\t\tconst response = await fetch(url);\n\t\t\t\t\tif (response.headers.get(\"Content-Type\")?.includes(\"application/json\")) {\n\t\t\t\t\t\treturn await response.json() as object;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn await response.text();\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t);\n\n\t\t\treturn results;\n\t\t} catch (error: unknown) {\n\t\t\tLog.error((error as Error)?.message);\n\t\t\treturn [];\n\t\t}\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,kEAAAC,GAAA,EAAAC,UAAA,EAAAC,YAAA;EAAA;;EAkjBO,SAAAC,OAAgBC,IAAI,EAAEC,OAAO,EAAE;IACrC,IAAI;MACH,IAAIC,MAAM,GAAGF,IAAI,CAAC,CAAC;IACpB,CAAC,CAAC,OAAMG,CAAC,EAAE;MACV,OAAOF,OAAO,CAACE,CAAC,CAAC;IAClB;IACA,IAAID,MAAM,IAAIA,MAAM,CAACE,IAAI,EAAE;MAC1B,OAAOF,MAAM,CAACE,IAAI,CAAC,KAAK,CAAC,EAAEH,OAAO,CAAC;IACpC;IACA,OAAOC,MAAM;EACd;EAAC,MAtjBQG,aAAa,GAAAP,YAAA;EAEtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EAEe,MAAMQ,UAAU,SAAST,UAAU,CAAC;IAC1CU,WAAWA,CAAA,EAAG;MACrB,KAAK,CAAC,CAAC;IACR;;IAEA;AACD;AACA;AACA;IACC,OAAeC,cAAcA,CAAA,EAA2B;MACvD,OAAOC,KAAK,CAACJ,aAAa,EAAE;QAC3BK,MAAM,EAAE,MAAM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CAAEC,KAAY,IAAK;QACxBtB,GAAG,CAACsB,KAAK,CAACA,KAAK,CAACC,OAAO,CAAC;MACzB,CAAC,CAAC;IACJ;IACA;AACD;AACA;AACA;AACA;AACA;IALC,OAMoBS,mBAAmBA,CAACC,IAAc,GAAG,EAAE;MAAA,IAAgC;QAAA,OAAAC,OAAA,CAAAC,OAAA,CAAAhC,MAAA,aACtF;UAAA,OAAA+B,OAAA,CAAAC,OAAA,CACmBD,OAAO,CAACE,GAAG,CAChCH,IAAI,CAACI,GAAG,WAAQZ,GAAG;YAAA,IAAK;cAAA,OAAAS,OAAA,CAAAC,OAAA,CACAtB,KAAK,CAACY,GAAG,CAAC,EAAAjB,IAAA,WAA3BQ,QAAQ;gBAAA,IACVA,QAAQ,CAACD,OAAO,CAACG,GAAG,CAAC,cAAc,CAAC,EAAEoB,QAAQ,CAAC,kBAAkB,CAAC;kBAAA,OAAAJ,OAAA,CAAAC,OAAA,
|
|
1
|
+
{"version":3,"file":"HttpHelper.js","names":["sap","ui","define","Log","BaseObject","___Constants","_catch","body","recover","result","e","then","REPO_BASE_URL","HttpHelper","constructor","fetchCSRFToken","fetch","method","headers","response","token","get","ok","Error","catch","error","message","Post","url","payload","csrfToken","JSON","stringify","json","GetJSON","GetMultipleRequests","urls","Promise","resolve","all","map","includes","_response$json","text","reject"],"sources":["HttpHelper.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nimport Log from \"sap/base/Log\";\nimport BaseObject from \"sap/ui/base/Object\";\nimport { REPO_BASE_URL } from \"./Constants\";\n\n/**\n *\n * @class Provides the HttpHelper Class used for Get and Post Calls.\n *\n * @extends sap.ui.BaseObject\n *\n * @author SAP SE\n * @version 0.0.1\n * @since 1.121.0\n * @private\n *\n * @alias sap.cux.home.utils.HttpHelper\n */\n\nexport default class HttpHelper extends BaseObject {\n\tprivate constructor() {\n\t\tsuper();\n\t}\n\n\t/**\n\t * Fetches the CSRF Token\n\t * @returns {Promise<string | void>} Promise that resolves with the CSRF Token\n\t */\n\tprivate static fetchCSRFToken(): Promise<string | void> {\n\t\treturn fetch(REPO_BASE_URL, {\n\t\t\tmethod: \"HEAD\",\n\t\t\theaders: {\n\t\t\t\t\"X-CSRF-Token\": \"Fetch\"\n\t\t\t}\n\t\t})\n\t\t\t.then((response) => {\n\t\t\t\tconst token = response.headers.get(\"X-CSRF-Token\");\n\t\t\t\tif (response.ok && token) {\n\t\t\t\t\treturn token;\n\t\t\t\t}\n\t\t\t\tthrow new Error(\"Cannot fetch X-CSRF-Token.\");\n\t\t\t})\n\t\t\t.catch((error: Error) => {\n\t\t\t\tLog.error(error.message);\n\t\t\t});\n\t}\n\n\t/**\n\t * Post Method\n\t * @param {string} url - The URL to post to\n\t * @param {object} payload - The payload to post\n\t * @returns {Promise<unknown>} Promise that resolves with the response\n\t */\n\tpublic static Post(url: string, payload: object): Promise<unknown> {\n\t\treturn HttpHelper.fetchCSRFToken()\n\t\t\t.then((csrfToken) => {\n\t\t\t\treturn fetch(url, {\n\t\t\t\t\tmethod: \"POST\",\n\t\t\t\t\theaders: {\n\t\t\t\t\t\t\"X-CSRF-Token\": csrfToken as string,\n\t\t\t\t\t\t\"content-type\": \"application/json\"\n\t\t\t\t\t},\n\t\t\t\t\tbody: JSON.stringify(payload)\n\t\t\t\t});\n\t\t\t})\n\t\t\t.then((response) => {\n\t\t\t\treturn response.json();\n\t\t\t})\n\t\t\t.catch((error: Error) => {\n\t\t\t\tLog.error(error.message);\n\t\t\t});\n\t}\n\n\t/**\n\t * Get Method for JSON Data\n\t * @param {string} url - The URL to get from\n\t * @returns {Promise<unknown>} Promise that resolves with the JSON data response\n\t */\n\tpublic static GetJSON(url: string): Promise<unknown> {\n\t\treturn fetch(url)\n\t\t\t.then((response) => {\n\t\t\t\treturn response.json();\n\t\t\t})\n\t\t\t.catch((error: Error) => {\n\t\t\t\tLog.error(error.message);\n\t\t\t});\n\t}\n\t/**\n\t * Get Method for Multiple Requests\n\t *\n\t * @param {string[]} urls - An array of URLs to get from\n\t * @returns {Promise<(string | object)[]>} Promise that resolves with the responses from the URLs\n\t */\n\tpublic static async GetMultipleRequests(urls: string[] = []): Promise<(string | object)[]> {\n\t\ttry {\n\t\t\tconst results = await Promise.all(\n\t\t\t\turls.map(async (url) => {\n\t\t\t\t\tconst response = await fetch(url);\n\t\t\t\t\tif (response.headers.get(\"Content-Type\")?.includes(\"application/json\")) {\n\t\t\t\t\t\treturn (await response.json()) as object;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn await response.text();\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t);\n\n\t\t\treturn results;\n\t\t} catch (error: unknown) {\n\t\t\tLog.error((error as Error)?.message);\n\t\t\treturn [];\n\t\t}\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,kEAAAC,GAAA,EAAAC,UAAA,EAAAC,YAAA;EAAA;;EAkjBO,SAAAC,OAAgBC,IAAI,EAAEC,OAAO,EAAE;IACrC,IAAI;MACH,IAAIC,MAAM,GAAGF,IAAI,CAAC,CAAC;IACpB,CAAC,CAAC,OAAMG,CAAC,EAAE;MACV,OAAOF,OAAO,CAACE,CAAC,CAAC;IAClB;IACA,IAAID,MAAM,IAAIA,MAAM,CAACE,IAAI,EAAE;MAC1B,OAAOF,MAAM,CAACE,IAAI,CAAC,KAAK,CAAC,EAAEH,OAAO,CAAC;IACpC;IACA,OAAOC,MAAM;EACd;EAAC,MAtjBQG,aAAa,GAAAP,YAAA;EAEtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EAEe,MAAMQ,UAAU,SAAST,UAAU,CAAC;IAC1CU,WAAWA,CAAA,EAAG;MACrB,KAAK,CAAC,CAAC;IACR;;IAEA;AACD;AACA;AACA;IACC,OAAeC,cAAcA,CAAA,EAA2B;MACvD,OAAOC,KAAK,CAACJ,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=> {
|
|
101
101
|
const response = await fetch(url);
|
|
102
102
|
if (response.headers.get("Content-Type")?.includes("application/json")) {
|
|
103
|
-
return await response.json() as object;
|
|
103
|
+
return (await response.json()) as object;
|
|
104
104
|
} else {
|
|
105
105
|
return await response.text();
|
|
106
106
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyUserPersonalization.d.ts","sourceRoot":"../../../../../..","sources":["src/sap/cux/home/utils/KeyUserPersonalization.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,2CAA2C,CAAC;IAC3D;;;OAGG;IAEH,OAAO,cAAc,MAAM,8BAA8B,CAAC;IAE1D,OAAO,UAAU,MAAM,oBAAoB,CAAC;IAI5C,OAAO,WAAW,MAAM,yBAAyB,CAAC;IAKlD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;IAE3D,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,UAAU;QAC7D,OAAO,CAAC,SAAS,CAA2B;QAC5C,OAAO,CAAC,UAAU,CAAkB;QACpC,OAAO,CAAC,cAAc,CAAmB;oBAE7B,SAAS,EAAE,WAAW,GAAG,SAAS,EAAE,UAAU,EAAE,cAAc;QAoB7D,gBAAgB,IAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"KeyUserPersonalization.d.ts","sourceRoot":"../../../../../..","sources":["src/sap/cux/home/utils/KeyUserPersonalization.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,2CAA2C,CAAC;IAC3D;;;OAGG;IAEH,OAAO,cAAc,MAAM,8BAA8B,CAAC;IAE1D,OAAO,UAAU,MAAM,oBAAoB,CAAC;IAI5C,OAAO,WAAW,MAAM,yBAAyB,CAAC;IAKlD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;IAE3D,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,UAAU;QAC7D,OAAO,CAAC,SAAS,CAA2B;QAC5C,OAAO,CAAC,UAAU,CAAkB;QACpC,OAAO,CAAC,cAAc,CAAmB;oBAE7B,SAAS,EAAE,WAAW,GAAG,SAAS,EAAE,UAAU,EAAE,cAAc;QAoB7D,gBAAgB,IAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC;gBAuB5D,UAAU;KA0BxB;CAEA"}
|
|
@@ -64,7 +64,6 @@ sap.ui.define(["sap/base/Log", "sap/ui/base/Object", "sap/ui/core/Lib", "sap/ui/
|
|
|
64
64
|
let rtaUserActionProperties;
|
|
65
65
|
if (isKeyUser) {
|
|
66
66
|
rtaUserActionProperties = {
|
|
67
|
-
id: `${_this.component?.getId()}-s4MyHomeAdaptUIBtn`,
|
|
68
67
|
icon: "sap-icon://wrench",
|
|
69
68
|
text: _this.i18nBundle.getText("adaptUIBtn"),
|
|
70
69
|
tooltip: _this.i18nBundle.getText("adaptUIBtn"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyUserPersonalization.js","names":["sap","ui","define","Log","BaseObject","Lib","HashChanger","startKeyUserAdaptation","Container","EventHub","__ui5_require_async","path","Promise","resolve","reject","require","module","__esModule","endsWith","default","Object","defineProperty","value","err","_catch","body","recover","result","e","then","KeyUserPersonalization","constructor","component","i18nBundle","on","do","adaptationCustomData","byId","getAggregation","adaptationData","getValue","JSON","parse","setValue","getRTAUserAction","_this","load","name","_import","InitialFlexAPI","isKeyUser","rtaUserActionProperties","
|
|
1
|
+
{"version":3,"file":"KeyUserPersonalization.js","names":["sap","ui","define","Log","BaseObject","Lib","HashChanger","startKeyUserAdaptation","Container","EventHub","__ui5_require_async","path","Promise","resolve","reject","require","module","__esModule","endsWith","default","Object","defineProperty","value","err","_catch","body","recover","result","e","then","KeyUserPersonalization","constructor","component","i18nBundle","on","do","adaptationCustomData","byId","getAggregation","adaptationData","getValue","JSON","parse","setValue","getRTAUserAction","_this","load","name","_import","InitialFlexAPI","isKeyUser","rtaUserActionProperties","icon","text","getText","tooltip","press","triggerRTA","error","Error","message","_this2","_temp","rootControl","catch","getServiceAsync","URLParsingService","hashChangerInstance","getInstance","shellHash","parseShellHash","getHash","hashParams","params","rtaKey","prototype","hasOwnProperty","call","replaceHash","constructShellHash","window","location","reload"],"sources":["KeyUserPersonalization.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\n\nimport ResourceBundle from \"sap/base/i18n/ResourceBundle\";\nimport Log from \"sap/base/Log\";\nimport BaseObject from \"sap/ui/base/Object\";\nimport CustomData from \"sap/ui/core/CustomData\";\nimport Lib from \"sap/ui/core/Lib\";\nimport HashChanger from \"sap/ui/core/routing/HashChanger\";\nimport UIComponent from \"sap/ui/core/UIComponent\";\nimport startKeyUserAdaptation from \"sap/ui/rta/api/startKeyUserAdaptation\";\nimport Container from \"sap/ushell/Container\";\nimport EventHub from \"sap/ushell/EventHub\";\nimport URLParsing from \"sap/ushell/services/URLParsing\";\nimport { UserActionProperties } from \"../Layout\";\n\nexport default class KeyUserPersonalization extends BaseObject {\n\tprivate component!: UIComponent | undefined;\n\tprivate i18nBundle!: ResourceBundle;\n\tprivate adaptationData!: object | string;\n\n\tconstructor(component: UIComponent | undefined, i18nBundle: ResourceBundle) {\n\t\tsuper();\n\n\t\tthis.component = component;\n\t\tthis.i18nBundle = i18nBundle;\n\n\t\tEventHub.on(\"keyUserAdaptationDataChange\").do(() => {\n\t\t\tconst adaptationCustomData = this.component?.byId(\"sectionWrapper\")?.getAggregation(\"adaptationData\") as CustomData;\n\t\t\tif (adaptationCustomData) {\n\t\t\t\tthis.adaptationData = adaptationCustomData.getValue() as object | string;\n\n\t\t\t\t// parse adaptation data if string\n\t\t\t\tif (typeof this.adaptationData === \"string\") {\n\t\t\t\t\tthis.adaptationData = JSON.parse(this.adaptationData) as object;\n\t\t\t\t\tadaptationCustomData.setValue(this.adaptationData);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\n\tpublic async getRTAUserAction(): Promise<UserActionProperties | undefined> {\n\t\ttry {\n\t\t\tawait Lib.load({ name: \"sap.ui.fl\" });\n\t\t\tconst InitialFlexAPI = (await import(\"sap/ui/fl/initial/api/InitialFlexAPI\")).default;\n\t\t\tconst isKeyUser = await InitialFlexAPI.isKeyUser();\n\t\t\tlet rtaUserActionProperties: UserActionProperties | undefined;\n\n\t\t\tif (isKeyUser) {\n\t\t\t\trtaUserActionProperties = {\n\t\t\t\t\ticon: \"sap-icon://wrench\",\n\t\t\t\t\ttext: this.i18nBundle.getText(\"adaptUIBtn\") as string,\n\t\t\t\t\ttooltip: this.i18nBundle.getText(\"adaptUIBtn\") as string,\n\t\t\t\t\tpress: () => this.triggerRTA()\n\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn Promise.resolve(rtaUserActionProperties);\n\t\t} catch (error: unknown) {\n\t\t\tLog.error(error instanceof Error ? error.message : (error as string));\n\t\t\treturn;\n\t\t}\n\t}\n\n\tprivate async triggerRTA() {\n\t\ttry {\n\t\t\tawait Lib.load({ name: \"sap.ui.fl\" });\n\t\t\tif (this.component) {\n\t\t\t\tstartKeyUserAdaptation({ rootControl: this.component }).catch(async () => {\n\t\t\t\t\tconst URLParsingService = await Container.getServiceAsync<URLParsing>(\"URLParsing\");\n\t\t\t\t\tconst hashChangerInstance = HashChanger.getInstance();\n\t\t\t\t\t//Trigger Manual Reload of Application in case of failure\n\t\t\t\t\tconst shellHash = URLParsingService.parseShellHash(hashChangerInstance.getHash());\n\t\t\t\t\tconst hashParams = (shellHash?.params || {}) as Record<string, unknown>;\n\t\t\t\t\tconst rtaKey = \"sap-ui-fl-max-layer\";\n\t\t\t\t\tconst value = \"CUSTOMER\";\n\n\t\t\t\t\tif (!Object.prototype.hasOwnProperty.call(hashParams, rtaKey)) {\n\t\t\t\t\t\thashParams[rtaKey] = value;\n\t\t\t\t\t\thashChangerInstance.replaceHash(URLParsingService.constructShellHash(shellHash), \"Unknown\");\n\t\t\t\t\t}\n\n\t\t\t\t\twindow.location.reload();\n\t\t\t\t});\n\t\t\t}\n\t\t} catch (error: unknown) {\n\t\t\tLog.error(error instanceof Error ? error.message : (error as string));\n\t\t\treturn;\n\t\t}\n\t}\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA,iMAAAC,GAAA,EAAAC,UAAA,EAAAC,GAAA,EAAAC,WAAA,EAAAC,sBAAA,EAAAC,SAAA,EAAAC,QAAA;EAAA;;EAAA,SAAAC,oBAAAC,IAAA;IAAA,WAAAC,OAAA,WAAAC,OAAA,EAAAC,MAAA;MAAAd,GAAA,CAAAC,EAAA,CAAAc,OAAA,EAAAJ,IAAA,aAAAK,MAAA;QAAA,MAAAA,MAAA,IAAAA,MAAA,CAAAC,UAAA;UAAAD,MAAA,GAAAA,MAAA,sBAAAA,MAAA,iBAAAL,IAAA,CAAAO,QAAA;YAAAC,OAAA,EAAAH;UAAA,IAAAA,MAAA;UAAAI,MAAA,CAAAC,cAAA,CAAAL,MAAA;YAAAM,KAAA;UAAA;QAAA;QAAAT,OAAA,CAAAG,MAAA;MAAA,aAAAO,GAAA;QAAAT,MAAA,CAAAS,GAAA;MAAA;IAAA;EAAA;EAkjBO,SAAAC,OAAgBC,IAAI,EAAEC,OAAO,EAAE;IACrC,IAAI;MACH,IAAIC,MAAM,GAAGF,IAAI,CAAC,CAAC;IACpB,CAAC,CAAC,OAAMG,CAAC,EAAE;MACV,OAAOF,OAAO,CAACE,CAAC,CAAC;IAClB;IACA,IAAID,MAAM,IAAIA,MAAM,CAACE,IAAI,EAAE;MAC1B,OAAOF,MAAM,CAACE,IAAI,CAAC,KAAK,CAAC,EAAEH,OAAO,CAAC;IACpC;IACA,OAAOC,MAAM;EACd;EA1iBe,MAAMG,sBAAsB,SAAS1B,UAAU,CAAC;IAK9D2B,WAAWA,CAACC,SAAkC,EAAEC,UAA0B,EAAE;MAC3E,KAAK,CAAC,CAAC;MAEP,IAAI,CAACD,SAAS,G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F,MAAM,CAACuD,SAAS,CAACC,cAAc,CAACC,IAAI,CAACL,UAAU,EAAEE,MAAM,CAAC,EAAE;sBAC9DF,UAAU,CAACE,MAAM,CAAC,GAAGpD,KAAK;sBAC1B6C,mBAAmB,CAACW,WAAW,CAACZ,iBAAiB,CAACa,kBAAkB,CAACV,SAAS,CAAC,EAAE,SAAS,CAAC;oBAC5F;oBAEAW,MAAM,CAACC,QAAQ,CAACC,MAAM,CAAC,CAAC;kBAAC;gBAC1B,CAAC,QAAAtD,CAAA;kBAAA,OAAAhB,OAAA,CAAAE,MAAA,CAAAc,CAAA;gBAAA;cAAA,EAAC;YAAC;UAAA;QAEL,CAAC,YAAQ8B,KAAc,EAAE;UACxBvD,GAAG,CAACuD,KAAK,CAACA,KAAK,YAAYC,KAAK,GAAGD,KAAK,CAACE,OAAO,GAAIF,KAAgB,CAAC;QAEtE,CAAC;QAAA,OAAA9C,OAAA,CAAAC,OAAA,CAAAiD,KAAA,IAAAA,KAAA,CAAAjC,IAAA,GAAAiC,KAAA,CAAAjC,IAAA;MACF,CAAC,QAAAD,CAAA;QAAA,OAAAhB,OAAA,CAAAE,MAAA,CAAAc,CAAA;MAAA;IAAA;EACF;EAAC,OAAAE,sBAAA;AAAA","ignoreList":[]}
|
|
@@ -50,7 +50,6 @@ export default class KeyUserPersonalization extends BaseObject {
|
|
|
50
50
|
|
|
51
51
|
if (isKeyUser) {
|
|
52
52
|
rtaUserActionProperties = {
|
|
53
|
-
id: `${this.component?.getId()}-s4MyHomeAdaptUIBtn`,
|
|
54
53
|
icon: "sap-icon://wrench",
|
|
55
54
|
text: this.i18nBundle.getText("adaptUIBtn") as string,
|
|
56
55
|
tooltip: this.i18nBundle.getText("adaptUIBtn") as string,
|
|
@@ -41,7 +41,13 @@
|
|
|
41
41
|
<core:Icon src="sap-icon://sys-help" color="Neutral" size="0.875rem" class="sapUiTinyMarginEnd" />
|
|
42
42
|
<Label id="sampleQueries" text="{i18n>sampleQueries}" />
|
|
43
43
|
</HBox>
|
|
44
|
-
<VBox
|
|
44
|
+
<VBox
|
|
45
|
+
id="sampleQueriesList"
|
|
46
|
+
renderType="Bare"
|
|
47
|
+
items="{/sampleQueries}"
|
|
48
|
+
justifyContent="SpaceBetween"
|
|
49
|
+
class="sapUiTinyMarginTop"
|
|
50
|
+
>
|
|
45
51
|
<HBox id="sampleQuery" renderType="Bare">
|
|
46
52
|
<FormattedText
|
|
47
53
|
id="number"
|
|
@@ -61,8 +67,8 @@
|
|
|
61
67
|
<!-- CONTENT AREA -->
|
|
62
68
|
<VBox id="resultContent" renderType="Bare">
|
|
63
69
|
<!-- RESULT AREA HEADER -->
|
|
64
|
-
<VBox id="resultHeader" renderType="Bare" class="
|
|
65
|
-
<HBox renderType="Bare" alignItems="
|
|
70
|
+
<VBox id="resultHeader" renderType="Bare" class="sapUiSmallMarginBeginEnd sapUiSmallMarginBottom">
|
|
71
|
+
<HBox renderType="Bare" alignItems="Center" justifyContent="SpaceBetween" width="100%">
|
|
66
72
|
<Title
|
|
67
73
|
id="resultTitle"
|
|
68
74
|
text="{= ${/suggestedAppsCount} > 0 ? ${i18n>resultTitle} + ' (' + ${/suggestedAppsCount} + ')' : ${i18n>resultTitle} }"
|
|
@@ -100,7 +106,6 @@
|
|
|
100
106
|
<Text
|
|
101
107
|
id="resultDescription"
|
|
102
108
|
text="{i18n>resultDescription}"
|
|
103
|
-
class="sapUiTinyMarginTop"
|
|
104
109
|
visible="{= !${/hasError} && ${/searchStatus} === 'complete' }"
|
|
105
110
|
/>
|
|
106
111
|
<MessageStrip
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare module "sap/cux/home/
|
|
1
|
+
declare module "sap/cux/home/utils/placeholder/AppsPlaceholder" {
|
|
2
2
|
/*!
|
|
3
3
|
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
4
|
* * (c) Copyright 2009-2025 SAP SE. All rights reserved
|
|
5
5
|
*/
|
|
6
6
|
function getAppsPlaceholder(): string;
|
|
7
7
|
}
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=AppsPlaceholder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppsPlaceholder.d.ts","sourceRoot":"../../../../../../..","sources":["src/sap/cux/home/utils/placeholder/AppsPlaceholder.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,gDAAgD,CAAC;IAChE;;;OAGG;IACH,SAAgB,kBAAkB,IAAI,MAAM,CAsP3C;CAEA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppsPlaceholder.js","names":["sap","ui","define","getAppsPlaceholder","__exports","__esModule"],"sources":["AppsPlaceholder.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nexport function getAppsPlaceholder(): string {\n\treturn `\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plContent plResponsivePadding\" style=\"background-color:transparent\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM\" style=\"width: 225px;\"></div>\n <div class=\"plPHPCardContainer\" style=\"background-color:white\">\n <div class=\"plPHPCard plPHPCardVersion4 PHPContentCard8\">\n <div class=\"plPHPCardHeader\"></div>\n <div class=\"plPHPCardContent\">\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n </div>\n <div\n class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plSmallestVisibleSizeM\">\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n </div>\n <div\n class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plSmallestVisibleSizeL\">\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n </div>\n <div\n class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plSmallestVisibleSizeXL\">\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare\">\n </div>\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextLine\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n `;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA;EAAA;;EAIO,SAASC,kBAAkBA,CAAA,EAAW;IAC5C,OAAO;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;EACL;EAAC,IAAAC,SAAA;IAAAC,UAAA;EAAA;EAAAD,SAAA,CAAAD,kBAAA,GAAAA,kBAAA;EAAA,OAAAC,SAAA;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare module "sap/cux/home/utils/placeholder/InsightsPlaceholder" {
|
|
2
|
+
/*!
|
|
3
|
+
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
|
+
* * (c) Copyright 2009-2025 SAP SE. All rights reserved
|
|
5
|
+
*/
|
|
6
|
+
function getInsightsPlaceholder(): string;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=InsightsPlaceholder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InsightsPlaceholder.d.ts","sourceRoot":"../../../../../../..","sources":["src/sap/cux/home/utils/placeholder/InsightsPlaceholder.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,oDAAoD,CAAC;IACpE;;;OAGG;IACH,SAAgB,sBAAsB,IAAI,MAAM,CAkY/C;CAEA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InsightsPlaceholder.js","names":["sap","ui","define","getInsightsPlaceholder","__exports","__esModule"],"sources":["InsightsPlaceholder.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nexport function getInsightsPlaceholder(): string {\n\treturn `\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM\" style=\"width: 225px;\"></div>\n <div class='plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plContent plResponsivePadding' style=\"background-color:transparent\">\n <div class=\"pInsightsTilesContainer\">\n <div class=\"plOVPCard pInsightsTiles\" style=\"background-color:white\">\n <div class=\"plOVPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 100px;\"></div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plAvatar sapMGTLoadingShimmer plAvatarSizeM plAvatarShapeSquare plOVPCardHeaderAvatar\" style=\"width: 120px; height: 40px; background-size: 900px 900px;\"></div>\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plOVPCard pInsightsTiles\" style=\"background-color:white\">\n <div class=\"plOVPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 100px;\"></div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plAvatar sapMGTLoadingShimmer plAvatarSizeM plAvatarShapeSquare plOVPCardHeaderAvatar\" style=\"width: 120px; height: 40px; background-size: 900px 900px;\"></div>\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plOVPCard pInsightsTiles\" style=\"background-color:white\">\n <div class=\"plOVPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 100px;\"></div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plAvatar sapMGTLoadingShimmer plAvatarSizeM plAvatarShapeSquare plOVPCardHeaderAvatar\" style=\"width: 120px; height: 40px; background-size: 900px 900px;\"></div>\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plOVPCard pInsightsTiles\" style=\"background-color:white\">\n <div class=\"plOVPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 100px;\"></div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plAvatar sapMGTLoadingShimmer plAvatarSizeM plAvatarShapeSquare plOVPCardHeaderAvatar\" style=\"width: 120px; height: 40px; background-size: 900px 900px;\"></div>\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plOVPCard pInsightsTiles\" style=\"background-color:white\">\n <div class=\"plOVPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 100px;\"></div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plAvatar sapMGTLoadingShimmer plAvatarSizeM plAvatarShapeSquare plOVPCardHeaderAvatar\" style=\"width: 120px; height: 40px; background-size: 900px 900px;\"></div>\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plOVPCard pInsightsTiles\" style=\"background-color:white\">\n <div class=\"plOVPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 100px;\"></div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plAvatar sapMGTLoadingShimmer plAvatarSizeM plAvatarShapeSquare plOVPCardHeaderAvatar\" style=\"width: 120px; height: 40px; background-size: 900px 900px;\"></div>\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"plOVPCardContainer\">\n <div class=\"plOVPCard plOVPCardVersion4 OVPContentCard5 plSmallestVisibleSizeS\" style=\"background-color:white\">\n <div class=\"plOVPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 100px;\"></div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plAvatar sapMGTLoadingShimmer plAvatarSizeM plAvatarShapeSquare plOVPCardHeaderAvatar\" style=\"width: 120px; height: 40px; background-size: 900px 900px;\"></div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n </div>\n </div>\n <div class=\"plOVPCardContent\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plBarChart\">\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plOVPCardContentChart plChartHorMeasure plChartVertMeasure plHorizontalBarChart\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 160px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 120px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"plOVPCard plOVPCardVersion4 OVPContentCard5 plSmallestVisibleSizeM\" style=\"background-color:white\">\n <div class=\"plOVPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 100px;\"></div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plAvatar sapMGTLoadingShimmer plAvatarSizeM plAvatarShapeSquare plOVPCardHeaderAvatar\" style=\"width: 120px; height: 40px; background-size: 900px 900px;\"></div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n </div>\n </div>\n <div class=\"plOVPCardContent\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plBarChart\">\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plOVPCardContentChart plChartHorMeasure plChartVertMeasure plHorizontalBarChart\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 160px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 120px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"plOVPCard plOVPCardVersion3 OVPContentCard6 plSmallestVisibleSizeM\" style=\"background-color:white\">\n <div class=\"plOVPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 100px;\"></div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plAvatar sapMGTLoadingShimmer plAvatarSizeM plAvatarShapeSquare plOVPCardHeaderAvatar\" style=\"width: 120px; height: 40px; background-size: 900px 900px;\"></div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n </div>\n </div>\n <div class=\"plOVPCardContent\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plBarChart\">\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plOVPCardContentChart plChartHorMeasure plChartVertMeasure plHorizontalBarChart\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 160px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 120px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"plOVPCard plOVPCardVersion4 OVPContentCard5 plSmallestVisibleSizeM\" style=\"background-color:white\">\n <div class=\"plOVPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 100px;\"></div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plAvatar sapMGTLoadingShimmer plAvatarSizeM plAvatarShapeSquare plOVPCardHeaderAvatar\" style=\"width: 120px; height: 40px; background-size: 900px 900px;\"></div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n </div>\n </div>\n <div class=\"plOVPCardContent\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plBarChart\">\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plOVPCardContentChart plChartHorMeasure plChartVertMeasure plHorizontalBarChart\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 160px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 120px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"plOVPCard plOVPCardVersion4 OVPContentCard5 plSmallestVisibleSizeL\" style=\"background-color:white\">\n <div class=\"plOVPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 100px;\"></div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plAvatar sapMGTLoadingShimmer plAvatarSizeM plAvatarShapeSquare plOVPCardHeaderAvatar\" style=\"width: 120px; height: 40px; background-size: 900px 900px;\"></div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n </div>\n </div>\n <div class=\"plOVPCardContent\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plBarChart\">\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plOVPCardContentChart plChartHorMeasure plChartVertMeasure plHorizontalBarChart\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 160px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 120px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"plOVPCard plOVPCardVersion4 OVPContentCard5 plSmallestVisibleSizeL\" style=\"background-color:white\">\n <div class=\"plOVPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 100px;\"></div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plAvatar sapMGTLoadingShimmer plAvatarSizeM plAvatarShapeSquare plOVPCardHeaderAvatar\" style=\"width: 120px; height: 40px; background-size: 900px 900px;\"></div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n </div>\n </div>\n <div class=\"plOVPCardContent\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plBarChart\">\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plOVPCardContentChart plChartHorMeasure plChartVertMeasure plHorizontalBarChart\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 160px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 120px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"plOVPCard plOVPCardVersion4 OVPContentCard5 plSmallestVisibleSizeXL\" style=\"background-color:white\">\n <div class=\"plOVPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 100px;\"></div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plAvatar sapMGTLoadingShimmer plAvatarSizeM plAvatarShapeSquare plOVPCardHeaderAvatar\" style=\"width: 120px; height: 40px; background-size: 900px 900px;\"></div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n </div>\n </div>\n <div class=\"plOVPCardContent\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plBarChart\">\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plOVPCardContentChart plChartHorMeasure plChartVertMeasure plHorizontalBarChart\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 160px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 120px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"plOVPCard plOVPCardVersion4 OVPContentCard5 plSmallestVisibleSizeXL\" style=\"background-color:white\">\n <div class=\"plOVPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 100px;\"></div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plAvatar sapMGTLoadingShimmer plAvatarSizeM plAvatarShapeSquare plOVPCardHeaderAvatar\" style=\"width: 120px; height: 40px; background-size: 900px 900px;\"></div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignEnd plVerticalAlignTop plVerticalRepeater plOVPCardHeaderText\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 50px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plVerticalRepeaterItem\" style=\"width: 30px;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plOVPCardHeaderText\" style=\"width: 80px;\"></div>\n </div>\n </div>\n <div class=\"plOVPCardContent\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\">\n <div class=\"plBarChart\">\n <div style=\"vertical-align: inherit;\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plOVPCardContentChart plChartHorMeasure plChartVertMeasure plHorizontalBarChart\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 160px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 120px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM plVerticalRepeaterItem\" style=\"width: 90px;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n `;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA;EAAA;;EAIO,SAASC,sBAAsBA,CAAA,EAAW;IAChD,OAAO;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;EACL;EAAC,IAAAC,SAAA;IAAAC,UAAA;EAAA;EAAAD,SAAA,CAAAD,sBAAA,GAAAA,sBAAA;EAAA,OAAAC,SAAA;AAAA","ignoreList":[]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare module "sap/cux/home/
|
|
1
|
+
declare module "sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder" {
|
|
2
2
|
/*!
|
|
3
3
|
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
4
|
* * (c) Copyright 2009-2025 SAP SE. All rights reserved
|
|
5
5
|
*/
|
|
6
|
-
function
|
|
6
|
+
function getNewsPagesPlaceholder(): string;
|
|
7
7
|
}
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=NewsAndPagesPlaceholder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NewsAndPagesPlaceholder.d.ts","sourceRoot":"../../../../../../..","sources":["src/sap/cux/home/utils/placeholder/NewsAndPagesPlaceholder.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,wDAAwD,CAAC;IACxE;;;OAGG;IACH,SAAgB,uBAAuB,IAAI,MAAM,CAqJhD;CAEA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NewsAndPagesPlaceholder.js","names":["sap","ui","define","getNewsPagesPlaceholder","__exports","__esModule"],"sources":["NewsAndPagesPlaceholder.ts"],"sourcesContent":["/*!\n * SAP UI development toolkit for HTML5 (SAPUI5)\n * * (c) Copyright 2009-2025 SAP SE. All rights reserved\n */\nexport function getNewsPagesPlaceholder(): string {\n\treturn `\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plContent plResponsivePadding\" style=\"background-color:transparent\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightL plTextWidthM\" style=\"width: 225px;\">\n </div>\n <div class=\"plPHPCardContainer plSectionMarginBottom\">\n <div class=\"plPHPCard plPHPCardVersion2 PHPContentCard5 sapUiNoMarginTop\" style=\"background-color:white\">\n <div class=\"plPHPCardHeader\">\n <div class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop\"></div>\n </div>\n <div class=\"plPHPCardContent\">\n <div style=\"vertical-align: inherit;\">\n <div\n class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plPHPCardContentContainer\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightS plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 80%;\"></div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignEnd plVerticalAlignBottom\">\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardFooterText\"\n style=\"width: 80px;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plPHPCardVersion3 PHPContentCard6 sapUiNoMarginTop plSmallestVisibleSizeL\">\n <div class=\"plPHPCardHeader\"></div>\n <div class=\"plPHPCardContent\">\n <div\n class=\"plVerticalLayout plVerticalContent plTextAlignplPHPCardContentContainer plVerticalAlignTop\">\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignCenter plVerticalAlignTop\">\n <div style=\"vertical-align: inherit; background-color:white;\" class=\"plPHPCard\">\n <div\n class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plPHPCardContentItemContainer\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare plVerticalRepeaterItem\">\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div style=\"vertical-align: inherit; background-color:white;\" class=\"plPHPCard\">\n <div\n class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plPHPCardContentItemContainer\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare plVerticalRepeaterItem\">\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignCenter plVerticalAlignTop\">\n <div style=\"vertical-align: inherit; background-color:white;\" class=\"plPHPCard\">\n <div\n class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plPHPCardContentItemContainer\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare plVerticalRepeaterItem\">\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div style=\"vertical-align: inherit; background-color:white;\" class=\"plPHPCard\">\n <div\n class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plPHPCardContentItemContainer\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare plVerticalRepeaterItem\">\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"plPHPCard plPHPCardVersion3 PHPContentCard7 sapUiNoMarginTop plSmallestVisibleSizeL\">\n <div class=\"plPHPCardHeader\"></div>\n <div class=\"plPHPCardContent\">\n <div\n class=\"plVerticalLayout plVerticalContent plTextAlignplPHPCardContentContainer plVerticalAlignTop\">\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignCenter plVerticalAlignTop\">\n <div style=\"vertical-align: inherit; background-color:white;\">\n <div\n class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plPHPCardContentItemContainer\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare plVerticalRepeaterItem\">\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div style=\"vertical-align: inherit; background-color:white;\">\n <div\n class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plPHPCardContentItemContainer\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare plVerticalRepeaterItem\">\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n </div>\n <div class=\"plHorizontalLayout plHorizontalContent plTextAlignCenter plVerticalAlignTop\">\n <div style=\"vertical-align: inherit; background-color:white;\">\n <div\n class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plPHPCardContentItemContainer\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare plVerticalRepeaterItem\">\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n <div style=\"vertical-align: inherit; background-color:white;\">\n <div\n class=\"plVerticalLayout plVerticalContent plTextAlignStart plVerticalAlignTop plVerticalRepeater plPHPCardContentItemContainer\">\n <div\n class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plPHPCardContentTextSquare plVerticalRepeaterItem\">\n </div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n <div class=\"plText sapMGTLoadingShimmer plTextWeightM plTextWidthM plPHPCardContentText plVerticalRepeaterItem\"\n style=\"width: 100%;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n `;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AAHAA,GAAA,CAAAC,EAAA,CAAAC,MAAA;EAAA;;EAIO,SAASC,uBAAuBA,CAAA,EAAW;IACjD,OAAO;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;EACL;EAAC,IAAAC,SAAA;IAAAC,UAAA;EAAA;EAAAD,SAAA,CAAAD,uBAAA,GAAAA,uBAAA;EAAA,OAAAC,SAAA;AAAA","ignoreList":[]}
|