@sapui5/sap.suite.ui.generic.template 1.131.1 → 1.133.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sap/suite/ui/generic/template/.library +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/Component.js +0 -4
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/SmartFilterBarExt.js +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/SmartKpiTag.js +37 -11
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItem.js +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroBar.js +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroChart.js +26 -6
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroDonut.js +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroLine.js +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/SmartVisualFilterBar.js +46 -15
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/DropDownController.js +42 -17
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/KpiTagController.js +15 -6
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/extensionAPI/ExtensionAPI.js +2 -2
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_US_saptrc.properties +105 -105
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sk.properties +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper.js +3 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil.js +17 -6
- package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/AnnotationHelperSmartList.js +2 -2
- package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +46 -22
- package/src/sap/suite/ui/generic/template/ListReport/controller/IappStateHandler.js +18 -2
- package/src/sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionAPI.js +2 -2
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n.properties +1 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ar.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_bg.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ca.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cnr.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cs.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cy.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_da.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_de.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_el.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_GB.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saprigi.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saptrc.properties +58 -58
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es_MX.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_et.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fi.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr_CA.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hi.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hr.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hu.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_id.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_it.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_iw.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ja.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_kk.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ko.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lt.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lv.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_mk.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ms.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_nl.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_no.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pl.properties +2 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt_PT.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ro.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ru.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sh.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sk.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sl.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sr.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sv.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_th.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_tr.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_uk.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_vi.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_CN.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_TW.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/BreakoutActionButtons.fragment.xml +3 -2
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/FullscreenPage.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartList.fragment.xml +3 -3
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +2 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/Component.js +13 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +117 -30
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/MessageSortingHandler.js +63 -10
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/SectionTitleHandler.js +34 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/inlineCreationRows/InlineCreationRowsHelper.js +46 -4
- package/src/sap/suite/ui/generic/template/ObjectPage/controllerFrameworkExtensions.js +22 -4
- package/src/sap/suite/ui/generic/template/ObjectPage/extensionAPI/ExtensionAPI.js +29 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n.properties +37 -6
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ar.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_bg.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ca.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cnr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cs.properties +26 -6
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cy.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_da.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_de.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_el.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_GB.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saprigi.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saptrc.properties +95 -95
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es_MX.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_et.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fi.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr_CA.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hi.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hu.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_id.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_it.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_iw.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ja.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_kk.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ko.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lt.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lv.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_mk.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ms.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_nl.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_no.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pl.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt_PT.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ro.properties +26 -6
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ru.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sh.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sk.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sl.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sv.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_th.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_tr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_uk.properties +27 -7
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_vi.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_CN.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_TW.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/Details.view.xml +2 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/CRUDActionButtons.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Footer.fragment.xml +3 -3
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderContainer.fragment.xml +4 -4
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderImage.fragment.xml +4 -4
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartChart.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +3 -2
- package/src/sap/suite/ui/generic/template/QuickCreate/i18n/i18n_en_US_saptrc.properties +14 -14
- package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickView/i18n/i18n_en_US_saptrc.properties +2 -2
- package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/designtime/controls/DynamicPage.designtime.js +198 -193
- package/src/sap/suite/ui/generic/template/designtime/controls/ObjectPageLayout.designtime.js +215 -0
- package/src/sap/suite/ui/generic/template/designtime/controls/SmartFilterBar.designtime.js +340 -0
- package/src/sap/suite/ui/generic/template/designtime/controls/SmartTable.designtime.js +43 -19
- package/src/sap/suite/ui/generic/template/designtime/floorplans/AnalyticalListPage.designtime.js +18 -18
- package/src/sap/suite/ui/generic/template/designtime/floorplans/ListReport.designtime.js +19 -16
- package/src/sap/suite/ui/generic/template/designtime/floorplans/ObjectPage.designtime.js +10 -7
- package/src/sap/suite/ui/generic/template/designtime/utils/designtimeHelper.js +52 -37
- package/src/sap/suite/ui/generic/template/designtime/utils/designtimeUtils.js +112 -23
- package/src/sap/suite/ui/generic/template/detailTemplates/i18n/i18n_en_US_saptrc.properties +6 -6
- package/src/sap/suite/ui/generic/template/fragments/BreakoutActions.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/DeterminingActions.fragment.xml +3 -2
- package/src/sap/suite/ui/generic/template/fragments/DeterminingButton.fragment.xml +18 -20
- package/src/sap/suite/ui/generic/template/fragments/EasyFilter.fragment.xml +0 -6
- package/src/sap/suite/ui/generic/template/fragments/GlobalActions.fragment.xml +3 -2
- package/src/sap/suite/ui/generic/template/fragments/GridTableCells.fragment.xml +7 -6
- package/src/sap/suite/ui/generic/template/fragments/HeaderAddress.fragment.xml +2 -1
- package/src/sap/suite/ui/generic/template/fragments/HeaderContactWithDetailsPopover.fragment.xml +2 -1
- package/src/sap/suite/ui/generic/template/fragments/HeaderDataPointContent.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/HeaderForm.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/fragments/HeaderFormDataField.fragment.xml +14 -7
- package/src/sap/suite/ui/generic/template/fragments/HeaderPlainText.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/fragments/HeaderRatingIndicator.fragment.xml +5 -7
- package/src/sap/suite/ui/generic/template/fragments/MessagePopover.fragment.xml +2 -1
- package/src/sap/suite/ui/generic/template/fragments/ProgressIndicator.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/QuickViewSmartForm.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/RatingIndicatorFacet.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/SmartFormDataField.fragment.xml +4 -3
- package/src/sap/suite/ui/generic/template/fragments/SmartMicroChart.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/fragments/SmartTableUiTableCommons.fragment.xml +2 -5
- package/src/sap/suite/ui/generic/template/fragments/TableCell.fragment.xml +9 -7
- package/src/sap/suite/ui/generic/template/fragments/TableColumnListItem.fragment.xml +2 -5
- package/src/sap/suite/ui/generic/template/fragments/ToolbarButton.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/TreeTableColumns.fragment.xml +4 -3
- package/src/sap/suite/ui/generic/template/genericUtilities/controlHelper.js +10 -9
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartVariantManagementWrapper.js +4 -2
- package/src/sap/suite/ui/generic/template/genericUtilities/filterHelper.js +70 -2
- package/src/sap/suite/ui/generic/template/genericUtilities/polyFill.js +14 -0
- package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +67 -30
- package/src/sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport.js +3 -0
- package/src/sap/suite/ui/generic/template/js/QuickTemplates/QuickTemplateComponentFactory.js +25 -14
- package/src/sap/suite/ui/generic/template/js/RuntimeFormatters.js +78 -22
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +16 -225
- package/src/sap/suite/ui/generic/template/lib/CRUDActionHandler.js +12 -3
- package/src/sap/suite/ui/generic/template/lib/CRUDHelper.js +5 -3
- package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +24 -5
- package/src/sap/suite/ui/generic/template/lib/CommonUtils.js +78 -48
- package/src/sap/suite/ui/generic/template/lib/ComponentUtils.js +3 -3
- package/src/sap/suite/ui/generic/template/lib/ContextBookkeeping.js +39 -23
- package/src/sap/suite/ui/generic/template/lib/FlexibleColumnLayoutHandler.js +13 -5
- package/src/sap/suite/ui/generic/template/lib/FlexibleColumnLayoutHelper.js +168 -0
- package/src/sap/suite/ui/generic/template/lib/MessageButtonHelper.js +6 -0
- package/src/sap/suite/ui/generic/template/lib/MessageStripHelper.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/RetryAfterHandler.js +2 -3
- package/src/sap/suite/ui/generic/template/lib/ShellPersonalizationService.js +137 -0
- package/src/sap/suite/ui/generic/template/lib/SideEffectUtil.js +56 -1
- package/src/sap/suite/ui/generic/template/lib/TemplateComponent.js +26 -7
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFilterBarHandler.js +91 -36
- package/src/sap/suite/ui/generic/template/lib/ai/FioriAIHandler.js +30 -35
- package/src/sap/suite/ui/generic/template/lib/deletionHelper.js +10 -2
- package/src/sap/suite/ui/generic/template/lib/filterHelper.js +7 -3
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +9 -15
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +7 -13
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +7 -11
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saptrc.properties +183 -149
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +6 -12
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +5 -11
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +5 -11
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/insights/InsightsCardHelper.js +27 -11
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +59 -38
- package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +93 -1
- package/src/sap/suite/ui/generic/template/library.js +7 -3
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/ChartActions.fragment.xml +4 -3
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +4 -3
- package/src/sap/suite/ui/generic/template/listTemplates/i18n/i18n_en_US_saptrc.properties +1 -1
- package/src/sap/suite/ui/generic/template/manifestMerger/ChangePageConfiguration.js +4 -1
- package/src/sap/suite/ui/generic/template/manifestMerger/MergerUtil.js +27 -1
- package/src/sap/suite/ui/generic/template/support/DiagnosticsTool/DiagnosticsTool.js +15 -3
- package/src/sap/suite/ui/generic/template/support/DiagnosticsTool/view/DiagnosticsTool.view.xml +0 -24
- package/src/sap/suite/ui/generic/template/support/lib/CommonChecks.js +11 -19
- package/src/sap/suite/ui/generic/template/themes/base/ObjectPage.less +0 -4
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ObjectPage.less +0 -4
- package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/ObjectPage.less +0 -4
- package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcb/AnalyticalListPage.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcw/AnalyticalListPage.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_ObjectPage.less +0 -4
- package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcb/AnalyticalListPage.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcw/AnalyticalListPage.less +0 -1
- package/src/sap/suite/ui/generic/template/fragments/ContactDetailsQuickViewGroup.fragment.xml +0 -36
- package/src/sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator.js +0 -28
- package/src/sap/suite/ui/generic/template/js/formatters/formatImageUrl.js +0 -21
- package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorAggregateCount.js +0 -21
- package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorFooterText.js +0 -21
- package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorSubTitle.js +0 -21
- package/src/sap/suite/ui/generic/template/js/formatters/setInfoHighlight.js +0 -21
- package/src/sap/suite/ui/generic/template/js/formatters/setRowNavigated.js +0 -26
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
* Initialization Code and shared classes of library sap.suite.ui.generic.template.
|
|
16
16
|
*/
|
|
17
17
|
sap.ui.define([
|
|
18
|
-
|
|
18
|
+
"sap/ui/base/DataType",
|
|
19
|
+
"sap/ui/core/Lib",
|
|
19
20
|
// library dependencies
|
|
20
21
|
"sap/f/library",
|
|
21
22
|
"sap/fe/placeholder/library",
|
|
@@ -30,7 +31,7 @@ sap.ui.define([
|
|
|
30
31
|
"sap/ui/rta/library",
|
|
31
32
|
"sap/ushell/library",
|
|
32
33
|
"sap/cards/ap/common/library"
|
|
33
|
-
], function(Library) {
|
|
34
|
+
], function(DataType, Library) {
|
|
34
35
|
"use strict";
|
|
35
36
|
|
|
36
37
|
/**
|
|
@@ -44,6 +45,7 @@ sap.ui.define([
|
|
|
44
45
|
// library dependencies
|
|
45
46
|
// delegate further initialization of this library to the core framework
|
|
46
47
|
var thisLib = Library.init({
|
|
48
|
+
apiVersion: 2,
|
|
47
49
|
name: "sap.suite.ui.generic.template",
|
|
48
50
|
dependencies: [
|
|
49
51
|
"sap.f",
|
|
@@ -64,7 +66,7 @@ sap.ui.define([
|
|
|
64
66
|
interfaces: [],
|
|
65
67
|
controls: [],
|
|
66
68
|
elements: [],
|
|
67
|
-
version: "1.
|
|
69
|
+
version: "1.133.0",
|
|
68
70
|
extensions: {
|
|
69
71
|
//Configuration used for rule loading of Support Assistant
|
|
70
72
|
"sap.ui.support": {
|
|
@@ -110,6 +112,8 @@ sap.ui.define([
|
|
|
110
112
|
create : "create"
|
|
111
113
|
};
|
|
112
114
|
|
|
115
|
+
DataType.registerEnum("sap.suite.ui.generic.template.displayMode", thisLib.displayMode);
|
|
116
|
+
|
|
113
117
|
return thisLib;
|
|
114
118
|
|
|
115
119
|
}, /* bExport= */false);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"
|
|
2
|
-
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
2
|
+
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
3
|
+
template:require="{AH:'sap/suite/ui/generic/template/js/AnnotationHelper'}">
|
|
3
4
|
|
|
4
5
|
<template:if test="{= ${parameter>/settings/quickVariantSelectionX}}">
|
|
5
6
|
<template:then>
|
|
@@ -12,7 +13,7 @@
|
|
|
12
13
|
press="{customAction>press}"
|
|
13
14
|
type="Transparent">
|
|
14
15
|
<layoutData>
|
|
15
|
-
<OverflowToolbarLayoutData priority
|
|
16
|
+
<OverflowToolbarLayoutData priority="{path: 'customAction>importance', formatter: 'AH.getToolbarButtonPriorityFromImportance'}"/>
|
|
16
17
|
</layoutData>
|
|
17
18
|
</Button>
|
|
18
19
|
</template:if>
|
|
@@ -28,7 +29,7 @@
|
|
|
28
29
|
press="{customAction>press}"
|
|
29
30
|
type="Transparent">
|
|
30
31
|
<layoutData>
|
|
31
|
-
<OverflowToolbarLayoutData priority
|
|
32
|
+
<OverflowToolbarLayoutData priority="{path: 'customAction>importance', formatter: 'AH.getToolbarButtonPriorityFromImportance'}"/>
|
|
32
33
|
</layoutData>
|
|
33
34
|
</Button>
|
|
34
35
|
</template:if>
|
package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<template:with path="kpiContext>filterableKPIs" var="kpis">
|
|
17
17
|
<template:if test="{= ${smartControlId>}.buildStableId({type: 'ALPTable', subType: 'SmartTable', sQuickVariantKey: ${tabItem>key}})}" />
|
|
18
18
|
<smarttable:SmartTable
|
|
19
|
-
core:require="{
|
|
19
|
+
core:require="{RuntimeFormatters: 'sap/suite/ui/generic/template/js/RuntimeFormatters'}"
|
|
20
20
|
id="{smartControlId>id}"
|
|
21
21
|
smartFilterId="template::SmartFilterBar"
|
|
22
22
|
visible="{path: 'tabItem>', formatter: 'AHMultipleViews.getVisibleForALPTableTabs'}"
|
|
@@ -187,13 +187,14 @@
|
|
|
187
187
|
mode="{tableSettings>mode}"
|
|
188
188
|
selectionChange="._templateEventHandlers.onRowSelectionChange"
|
|
189
189
|
beforeOpenContextMenu="._templateEventHandlers.beforeOpenContextMenu($event, '{smartControlId>id}')"
|
|
190
|
-
sticky="ColumnHeaders,HeaderToolbar,InfoToolbar"
|
|
190
|
+
sticky="ColumnHeaders,HeaderToolbar,InfoToolbar,GroupHeaders"
|
|
191
|
+
rememberSelections="false"
|
|
191
192
|
multiSelectMode="{= (${tableSettings>multiSelect} && ${tableSettings>selectAll}) ? 'SelectAll' : 'ClearAll'}">
|
|
192
193
|
<template:with path="entitySet>" var="listEntitySet">
|
|
193
194
|
<core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.TableColumns" type="XML" />
|
|
194
195
|
<!-- The cloumnListItem added below for the semantic coloring of the table columns overrides the type and press properties of the columnListItem present in the common table column fragment used by responsive table. Hence we are reintroducing them here -->
|
|
195
196
|
<items>
|
|
196
|
-
<ColumnListItem highlight="None" id="{:= ${parameter>/stableId}.getStableId({type: 'ALPTable', subType: 'ColumnListItem', sQuickVariantKey: ${tabItem>key}})}" type="{parts: [{path: 'entitySet>'}, {path: 'parameter>/settings/subPages/'}, {path: 'parameter>/manifest/'}, {path: 'parameter>/treeNode/'}, {path:'parameter>/isDraftEnabled'}, {path: 'facet>Target/AnnotationPath'}], formatter: 'AH.getColumnListItemType'}" press="._templateEventHandlers.onListNavigate" navigated="{parts: [{path: '_templPriv>/generic/currentActiveChildContext'}, {path: ''}], formatter: 'setRowNavigated'}" >
|
|
197
|
+
<ColumnListItem highlight="None" id="{:= ${parameter>/stableId}.getStableId({type: 'ALPTable', subType: 'ColumnListItem', sQuickVariantKey: ${tabItem>key}})}" type="{parts: [{path: 'entitySet>'}, {path: 'parameter>/settings/subPages/'}, {path: 'parameter>/manifest/'}, {path: 'parameter>/treeNode/'}, {path:'parameter>/isDraftEnabled'}, {path: 'facet>Target/AnnotationPath'}], formatter: 'AH.getColumnListItemType'}" press="._templateEventHandlers.onListNavigate" navigated="{parts: [{path: '_templPriv>/generic/currentActiveChildContext'}, {path: ''}], formatter: 'RuntimeFormatters.setRowNavigated.bind($control)'}" >
|
|
197
198
|
<customData>
|
|
198
199
|
<core:CustomData key="CrossNavigation" value="{parts: [{path: 'listEntitySet>name'}, {path: 'parameter>/settings/subPages/'}, {path: 'facet>Target/AnnotationPath'}], formatter: 'AH.getDisplayNavigationIntent'}" />
|
|
199
200
|
</customData>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
ST_LIST_DISPLAY_TEXT_FOR_EXECUTE_ON_SELECTION=
|
|
2
|
+
ST_LIST_DISPLAY_TEXT_FOR_EXECUTE_ON_SELECTION=4m6Lp7m6XusGH1ogolPKSQ_If predefined filter values are available, the content loads automatically.
|
|
@@ -85,6 +85,9 @@ sap.ui.define([
|
|
|
85
85
|
MergerUtil.consistencyCheck(oChangeContent, "MODIFY");
|
|
86
86
|
var sParentEntitySet = oChangeContent.parentPage.entitySet;
|
|
87
87
|
var sParentComponent = oChangeContent.parentPage.component;
|
|
88
|
+
var pages = oManifest["sap.ui.generic.app"]["pages"];
|
|
89
|
+
oManifest["sap.ui.generic.app"]["pages"] = MergerUtil.transformPagesToMapStructure(pages);
|
|
90
|
+
|
|
88
91
|
var oPageStructure;
|
|
89
92
|
if (sParentComponent === GLOBAL_MANIFEST_CHANGE_COMPONENT) {
|
|
90
93
|
oPageStructure = oManifest["sap.ui.generic.app"];
|
|
@@ -92,7 +95,7 @@ sap.ui.define([
|
|
|
92
95
|
oPageStructure = MergerUtil.iterateAndFind(oManifest["sap.ui.generic.app"], sParentEntitySet, sParentComponent);
|
|
93
96
|
}
|
|
94
97
|
var oPropertyChange = oChangeContent.entityPropertyChange;
|
|
95
|
-
if (typeof oPropertyChange.propertyValue !== "object" || oPropertyChange.propertyValue === null) {
|
|
98
|
+
if (typeof oPropertyChange.propertyValue !== "object" || oPropertyChange.propertyValue === null || Array.isArray(oPropertyChange.propertyValue)) {
|
|
96
99
|
var aPropertyPath = oPropertyChange.propertyPath.split("/");
|
|
97
100
|
ObjectPath.set(aPropertyPath, oPropertyChange.propertyValue, oPageStructure);
|
|
98
101
|
} else {
|
|
@@ -4,14 +4,40 @@ sap.ui.define([
|
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
var oLogger = new FeLogger("manifestMerger.MergerUil").getLogger();
|
|
7
|
+
var GLOBAL_MANIFEST_CHANGE_COMPONENT = "sap.suite.ui.generic.template";
|
|
8
|
+
|
|
9
|
+
function fnArrayToMap(aPages) {
|
|
10
|
+
var oOutput = {};
|
|
11
|
+
aPages.forEach(function (oPage) {
|
|
12
|
+
var sComponentName = oPage.component.name.split('.').pop();
|
|
13
|
+
var sKey = sComponentName + '|' + oPage.entitySet;
|
|
14
|
+
oOutput[sKey] = oPage;
|
|
15
|
+
if (oPage.pages) {
|
|
16
|
+
oPage.pages = fnArrayToMap(oPage.pages);
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
return oOutput;
|
|
20
|
+
}
|
|
21
|
+
|
|
7
22
|
/**
|
|
8
23
|
*
|
|
9
24
|
* This class holds the helper functions that are invoked from the manifestMergers
|
|
10
25
|
* @private
|
|
11
26
|
*/
|
|
12
|
-
var GLOBAL_MANIFEST_CHANGE_COMPONENT = "sap.suite.ui.generic.template";
|
|
13
27
|
var mergerUtil = {
|
|
14
28
|
|
|
29
|
+
transformPagesToMapStructure: function (oPages) {
|
|
30
|
+
var oRet = oPages;
|
|
31
|
+
if (Array.isArray(oPages)) {
|
|
32
|
+
try {
|
|
33
|
+
oRet = fnArrayToMap(oPages);
|
|
34
|
+
} catch (e) {
|
|
35
|
+
throw new Error("Manifest should have sap.ui.generic.app.pages as Object structure and not array ");
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return oRet;
|
|
39
|
+
},
|
|
40
|
+
|
|
15
41
|
/**
|
|
16
42
|
* Iterate through the pages object to find the page map that matches sEntityKey and sPageComponent value
|
|
17
43
|
* @param {object} oPages - The pages object which is provided in the Manifest which will be iterated through
|
|
@@ -7,8 +7,20 @@ sap.ui.define([
|
|
|
7
7
|
"sap/suite/ui/generic/template/genericUtilities/testableHelper",
|
|
8
8
|
"sap/base/util/extend",
|
|
9
9
|
"sap/ui/core/mvc/XMLView",
|
|
10
|
-
"sap/ui/VersionInfo"
|
|
11
|
-
|
|
10
|
+
"sap/ui/VersionInfo",
|
|
11
|
+
"sap/ui/core/Element"
|
|
12
|
+
], function (
|
|
13
|
+
Plugin,
|
|
14
|
+
DateFormat,
|
|
15
|
+
JSONModel,
|
|
16
|
+
CommonChecks,
|
|
17
|
+
CommonMethods,
|
|
18
|
+
testableHelper,
|
|
19
|
+
extend,
|
|
20
|
+
XMLView,
|
|
21
|
+
VersionInfo,
|
|
22
|
+
Element
|
|
23
|
+
) {
|
|
12
24
|
"use strict";
|
|
13
25
|
|
|
14
26
|
// ------------------------------------ Variables ------------------------------------
|
|
@@ -522,7 +534,7 @@ sap.ui.define([
|
|
|
522
534
|
* @returns {object} XML view
|
|
523
535
|
*/
|
|
524
536
|
function fnGetView(sId) {
|
|
525
|
-
var oView =
|
|
537
|
+
var oView = Element.getElementById(sId);
|
|
526
538
|
if (oView) {
|
|
527
539
|
return Promise.resolve(oView);
|
|
528
540
|
}
|
package/src/sap/suite/ui/generic/template/support/DiagnosticsTool/view/DiagnosticsTool.view.xml
CHANGED
|
@@ -5,30 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
<Panel expandable="false" class="sapUiNoContentPadding">
|
|
7
7
|
<content>
|
|
8
|
-
<!-- Custom layout for grouping headers -->
|
|
9
|
-
<html:style>
|
|
10
|
-
.diagnosticPropertiesGroupHeader {
|
|
11
|
-
background-color: #EFF4F9;
|
|
12
|
-
height: 70%;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.diagnosticPropertiesGroupHeaderContent {
|
|
16
|
-
color: #2C4E6C !important;
|
|
17
|
-
}
|
|
18
|
-
#CopyDataTextArea {
|
|
19
|
-
display: none;
|
|
20
|
-
height: 0;
|
|
21
|
-
width: 0;
|
|
22
|
-
padding: 0;
|
|
23
|
-
color: transparent;
|
|
24
|
-
background: transparent;
|
|
25
|
-
border-color: transparent;
|
|
26
|
-
position: absolute;
|
|
27
|
-
bottom: 0;
|
|
28
|
-
left: 0;
|
|
29
|
-
}
|
|
30
|
-
</html:style>
|
|
31
|
-
|
|
32
8
|
<!-- Display hint when status of application is unknown -->
|
|
33
9
|
<MessageStrip
|
|
34
10
|
text="The diagnostics tool for SAP Fiori elements is now deprecated."
|
|
@@ -3,9 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
sap.ui.define([
|
|
5
5
|
"sap/suite/ui/generic/template/support/lib/CommonMethods",
|
|
6
|
+
"sap/ui/core/Element",
|
|
6
7
|
"sap/ui/Global",
|
|
7
8
|
"sap/suite/ui/generic/template/genericUtilities/polyFill"
|
|
8
|
-
], function (
|
|
9
|
+
], function (
|
|
10
|
+
CommonMethods,
|
|
11
|
+
Element
|
|
12
|
+
) {
|
|
9
13
|
"use strict";
|
|
10
14
|
|
|
11
15
|
// ------------------------------------ Variables & Constants ------------------------------------
|
|
@@ -102,17 +106,10 @@ sap.ui.define([
|
|
|
102
106
|
}
|
|
103
107
|
}
|
|
104
108
|
);// TODO: replace 'closest' for IE11 compatibility, use e.g. jQuery.parents or jQuery.parent instead
|
|
105
|
-
if (xmlView
|
|
106
|
-
&& xmlView.
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
&& xmlView[0].id
|
|
110
|
-
&& sap.ui.getCore().byId(xmlView[0].id)
|
|
111
|
-
&& sap.ui.getCore().byId(xmlView[0].id).getController()
|
|
112
|
-
&& sap.ui.getCore().byId(xmlView[0].id).getController().getOwnerComponent()
|
|
113
|
-
&& sap.ui.getCore().byId(xmlView[0].id).getController().getOwnerComponent().getManifest()) {
|
|
114
|
-
|
|
115
|
-
oManifest = sap.ui.getCore().byId(xmlView[0].id).getController().getOwnerComponent().getManifest();
|
|
109
|
+
if (xmlView?.[0]?.id
|
|
110
|
+
&& Element.getElementById(xmlView[0].id)?.getController()?.getOwnerComponent()?.getManifest()) {
|
|
111
|
+
|
|
112
|
+
oManifest = Element.getElementById(xmlView[0].id).getController().getOwnerComponent().getManifest();
|
|
116
113
|
} else {
|
|
117
114
|
// Detected OVP structure in DOM but could not load manifest from core!
|
|
118
115
|
return undefined;
|
|
@@ -121,13 +118,8 @@ sap.ui.define([
|
|
|
121
118
|
// ALP or LR
|
|
122
119
|
for (var i = 0; i < xmlView.length; i++) {
|
|
123
120
|
if (xmlView[i].id.indexOf(sPattern) !== -1) {
|
|
124
|
-
if (
|
|
125
|
-
|
|
126
|
-
&& sap.ui.getCore().byId(xmlView[i].id).getController().getOwnerComponent()
|
|
127
|
-
&& sap.ui.getCore().byId(xmlView[i].id).getController().getOwnerComponent().getAppComponent()
|
|
128
|
-
&& sap.ui.getCore().byId(xmlView[i].id).getController().getOwnerComponent().getAppComponent().getManifest()) {
|
|
129
|
-
|
|
130
|
-
oManifest = sap.ui.getCore().byId(xmlView[i].id).getController().getOwnerComponent().getAppComponent().getManifest();
|
|
121
|
+
if (Element.getElementById(xmlView[i].id)?.getController()?.getOwnerComponent()?.getAppComponent()?.getManifest()) {
|
|
122
|
+
oManifest = Element.getElementById(xmlView[i].id).getController().getOwnerComponent().getAppComponent().getManifest();
|
|
131
123
|
break;
|
|
132
124
|
}
|
|
133
125
|
}
|
|
@@ -217,10 +217,6 @@ html[dir="rtl"] .sapSmartTemplatesObjectPage .sapUxAPObjectPageHeaderContent .sa
|
|
|
217
217
|
float: right;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm.sapMLabel:after, .sapSmartTemplatesObjectPageHeaderFormLabelNCriticcal.sapMLabel:after, .sapSmartTemplatesObjectPageHeaderFormLabel.sapMLabel:after, .sapSmartTemplatesObjectPageDataPointLabel.sapMLabel:after {
|
|
221
|
-
content: ":";
|
|
222
|
-
}
|
|
223
|
-
|
|
224
220
|
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm .sapSmartTemplatesObjectPageHeaderFormField .sapMText,
|
|
225
221
|
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm .sapSmartTemplatesObjectPageHeaderFormField .sapMLnk,
|
|
226
222
|
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm .sapSmartTemplatesObjectPageHeaderFormField.sapMLnk,
|
|
@@ -217,10 +217,6 @@ html[dir="rtl"] .sapSmartTemplatesObjectPage .sapUxAPObjectPageHeaderContent .sa
|
|
|
217
217
|
float: right;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm.sapMLabel:after, .sapSmartTemplatesObjectPageHeaderFormLabelNCriticcal.sapMLabel:after, .sapSmartTemplatesObjectPageHeaderFormLabel.sapMLabel:after, .sapSmartTemplatesObjectPageDataPointLabel.sapMLabel:after {
|
|
221
|
-
content: ":";
|
|
222
|
-
}
|
|
223
|
-
|
|
224
220
|
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm .sapSmartTemplatesObjectPageHeaderFormField .sapMText,
|
|
225
221
|
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm .sapSmartTemplatesObjectPageHeaderFormField .sapMLnk,
|
|
226
222
|
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm .sapSmartTemplatesObjectPageHeaderFormField.sapMLnk,
|
|
@@ -217,10 +217,6 @@ html[dir="rtl"] .sapSmartTemplatesObjectPage .sapUxAPObjectPageHeaderContent .sa
|
|
|
217
217
|
float: right;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm.sapMLabel:after, .sapSmartTemplatesObjectPageHeaderFormLabelNCriticcal.sapMLabel:after, .sapSmartTemplatesObjectPageHeaderFormLabel.sapMLabel:after, .sapSmartTemplatesObjectPageDataPointLabel.sapMLabel:after {
|
|
221
|
-
content: ":";
|
|
222
|
-
}
|
|
223
|
-
|
|
224
220
|
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm .sapSmartTemplatesObjectPageHeaderFormField .sapMText,
|
|
225
221
|
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm .sapSmartTemplatesObjectPageHeaderFormField .sapMLnk,
|
|
226
222
|
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm .sapSmartTemplatesObjectPageHeaderFormField.sapMLnk,
|
|
@@ -217,10 +217,6 @@ html[dir="rtl"] .sapSmartTemplatesObjectPage .sapUxAPObjectPageHeaderContent .sa
|
|
|
217
217
|
float: right;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm.sapMLabel:after, .sapSmartTemplatesObjectPageHeaderFormLabelNCriticcal.sapMLabel:after, .sapSmartTemplatesObjectPageHeaderFormLabel.sapMLabel:after, .sapSmartTemplatesObjectPageDataPointLabel.sapMLabel:after {
|
|
221
|
-
content: ":";
|
|
222
|
-
}
|
|
223
|
-
|
|
224
220
|
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm .sapSmartTemplatesObjectPageHeaderFormField .sapMText,
|
|
225
221
|
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm .sapSmartTemplatesObjectPageHeaderFormField .sapMLnk,
|
|
226
222
|
.sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageHeaderForm .sapSmartTemplatesObjectPageHeaderFormField.sapMLnk,
|
package/src/sap/suite/ui/generic/template/fragments/ContactDetailsQuickViewGroup.fragment.xml
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<core:FragmentDefinition xmlns:core="sap.ui.core" xmlns="sap.m"
|
|
2
|
-
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
3
|
-
template:require="{AHModel: 'sap/ui/model/odata/AnnotationHelper'}">
|
|
4
|
-
|
|
5
|
-
<QuickViewPage icon="{= ${contact>photo} ? ${path: 'contact>photo', formatter: 'AHModel.format'} : 'sap-icon://person-placeholder'}"
|
|
6
|
-
title="{path: 'contact>fn', formatter: 'AHModel.format'}"
|
|
7
|
-
description="{path: 'contact>role', formatter: 'AHModel.format'}">
|
|
8
|
-
<QuickViewGroup>
|
|
9
|
-
|
|
10
|
-
<QuickViewGroupElement label="{i18n>CONTACT_JOB_TITLE}" type="text"
|
|
11
|
-
value="{path: 'contact>title', formatter: 'AHModel.format'}"
|
|
12
|
-
visible="{= !!${contact>title}}"/>
|
|
13
|
-
|
|
14
|
-
<QuickViewGroupElement label="{i18n>CONTACT_DEPARTMENT}" type="text"
|
|
15
|
-
value="{path: 'contact>org', formatter: 'AHModel.format'}"
|
|
16
|
-
visible="{= !!${contact>org}}"/>
|
|
17
|
-
|
|
18
|
-
<QuickViewGroupElement label="{i18n>CONTACT_EMAIL}" type="email"
|
|
19
|
-
value="{path: 'contact>email/[${type/EnumMember}.indexOf(\'ContactInformationType/work\')>=0]/address', formatter: 'AHModel.format'}"
|
|
20
|
-
visible="{= !!${path: 'contact>email/[${type/EnumMember}.indexOf(\'ContactInformationType/work\')>=0]/address', formatter: 'AHModel.format'} }"/>
|
|
21
|
-
|
|
22
|
-
<QuickViewGroupElement label="{i18n>CONTACT_PHONE}" type="phone"
|
|
23
|
-
value="{= ${path: 'contact>tel/[${type/EnumMember}.indexOf(\'PhoneType/work\')>=0]/uri', formatter: 'AHModel.format'}.replace('tel:','') }"
|
|
24
|
-
visible="{= !!${path: 'contact>tel/[${type/EnumMember}.indexOf(\'PhoneType/work\')>=0]/uri'} }"/>
|
|
25
|
-
|
|
26
|
-
<QuickViewGroupElement label="{i18n>CONTACT_MOBILE}" type="{= (${device>/system/phone} || ${device>/system/tablet}) ? 'mobile' : 'phone' }"
|
|
27
|
-
value="{= ${path: 'contact>tel/[${type/EnumMember}.indexOf(\'PhoneType/cell\')>=0]/uri', formatter: 'AHModel.format'}.replace('tel:','') }"
|
|
28
|
-
visible="{= !!${path: 'contact>tel/[${type/EnumMember}.indexOf(\'PhoneType/cell\')>=0]/uri'} }"/>
|
|
29
|
-
|
|
30
|
-
<QuickViewGroupElement label="{i18n>CONTACT_FAX}" type="text"
|
|
31
|
-
value="{= ${path: 'contact>tel/[${type/EnumMember}.indexOf(\'PhoneType/fax\')>=0]/uri', formatter: 'AHModel.format'}.replace('tel:','') }"
|
|
32
|
-
visible="{= !!${path: 'contact>tel/[${type/EnumMember}.indexOf(\'PhoneType/fax\')>=0]/uri'} }"/>
|
|
33
|
-
|
|
34
|
-
</QuickViewGroup>
|
|
35
|
-
</QuickViewPage>
|
|
36
|
-
</core:FragmentDefinition>
|
package/src/sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
sap.ui.define("sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator",
|
|
2
|
-
["sap/suite/ui/generic/template/js/RuntimeFormatters"], function (RuntimeFormatters) {
|
|
3
|
-
"use strict";
|
|
4
|
-
/**
|
|
5
|
-
* Note: This module is just a wrapper for "RuntimeFormatters.formatDisplayValueForProgressIndicator" function.
|
|
6
|
-
*
|
|
7
|
-
* Currently, there's a limitation from UI5 core on the formatter functions.
|
|
8
|
-
* Earlier, the "this" keyword on the formatter function referred to the UI5 control.
|
|
9
|
-
* But, currently (UI5 2.0) the "this" keyword refers to the formatter module.
|
|
10
|
-
*
|
|
11
|
-
* As a temporary work-around, core team has suggested us to keep each formatter function in a separate module
|
|
12
|
-
* and export the formatter function from the module. In this way, the "this" keyword refers to the UI5 control.
|
|
13
|
-
*
|
|
14
|
-
* Once the limitation is resolved by core team, this module can be removed
|
|
15
|
-
* and "RuntimeFormatter" functions can be directly invoked from XML templates
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @param {string} sValue A string containing the value
|
|
20
|
-
* @param {string} sTarget A string containing the target value
|
|
21
|
-
* @param {string} sUoM A string containing the unit of measure
|
|
22
|
-
* @returns {string} A string containing the text that will be used in the display value of the Progress Indicator
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
return function (sValue, sTarget, sUoM) {
|
|
26
|
-
return RuntimeFormatters.formatDisplayValueForProgressIndicator.call(this, sValue, sTarget, sUoM);
|
|
27
|
-
};
|
|
28
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
sap.ui.define("sap/suite/ui/generic/template/js/formatters/formatImageUrl",
|
|
2
|
-
["sap/suite/ui/generic/template/js/RuntimeFormatters"], function (RuntimeFormatters) {
|
|
3
|
-
"use strict";
|
|
4
|
-
/**
|
|
5
|
-
* Note: This module is just a wrapper for "RuntimeFormatters.formatImageUrl" function.
|
|
6
|
-
*
|
|
7
|
-
* Currently, there's a limitation from UI5 core on the formatter functions.
|
|
8
|
-
* Earlier, the "this" keyword on the formatter function referred to the UI5 control.
|
|
9
|
-
* But, currently (UI5 2.0) the "this" keyword refers to the formatter module.
|
|
10
|
-
*
|
|
11
|
-
* As a temporary work-around, core team has suggested us to keep each formatter function in a separate module
|
|
12
|
-
* and export the formatter function from the module. In this way, the "this" keyword refers to the UI5 control.
|
|
13
|
-
*
|
|
14
|
-
* Once the limitation is resolved by core team, this module can be removed
|
|
15
|
-
* and "RuntimeFormatter" functions can be directly invoked from XML templates
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
return function (sImageUrl, sAppComponentName, bSuppressIcons) {
|
|
19
|
-
return RuntimeFormatters.formatImageUrl.call(this, sImageUrl, sAppComponentName, bSuppressIcons);
|
|
20
|
-
};
|
|
21
|
-
});
|
package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorAggregateCount.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
sap.ui.define("sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorAggregateCount",
|
|
2
|
-
["sap/suite/ui/generic/template/js/RuntimeFormatters"], function (RuntimeFormatters) {
|
|
3
|
-
"use strict";
|
|
4
|
-
/**
|
|
5
|
-
* Note: This module is just a wrapper for "RuntimeFormatters.formatRatingIndicatorAggregateCount" function.
|
|
6
|
-
*
|
|
7
|
-
* Currently, there's a limitation from UI5 core on the formatter functions.
|
|
8
|
-
* Earlier, the "this" keyword on the formatter function referred to the UI5 control.
|
|
9
|
-
* But, currently (UI5 2.0) the "this" keyword refers to the formatter module.
|
|
10
|
-
*
|
|
11
|
-
* As a temporary work-around, core team has suggested us to keep each formatter function in a separate module
|
|
12
|
-
* and export the formatter function from the module. In this way, the "this" keyword refers to the UI5 control.
|
|
13
|
-
*
|
|
14
|
-
* Once the limitation is resolved by core team, this module can be removed
|
|
15
|
-
* and "RuntimeFormatter" functions can be directly invoked from XML templates
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
return function (vValue) {
|
|
19
|
-
return RuntimeFormatters.formatRatingIndicatorAggregateCount.call(this, vValue);
|
|
20
|
-
};
|
|
21
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
sap.ui.define("sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorFooterText",
|
|
2
|
-
["sap/suite/ui/generic/template/js/RuntimeFormatters"], function (RuntimeFormatters) {
|
|
3
|
-
"use strict";
|
|
4
|
-
/**
|
|
5
|
-
* Note: This module is just a wrapper for "RuntimeFormatters.formatRatingIndicatorFooterText" function.
|
|
6
|
-
*
|
|
7
|
-
* Currently, there's a limitation from UI5 core on the formatter functions.
|
|
8
|
-
* Earlier, the "this" keyword on the formatter function referred to the UI5 control.
|
|
9
|
-
* But, currently (UI5 2.0) the "this" keyword refers to the formatter module.
|
|
10
|
-
*
|
|
11
|
-
* As a temporary work-around, core team has suggested us to keep each formatter function in a separate module
|
|
12
|
-
* and export the formatter function from the module. In this way, the "this" keyword refers to the UI5 control.
|
|
13
|
-
*
|
|
14
|
-
* Once the limitation is resolved by core team, this module can be removed
|
|
15
|
-
* and "RuntimeFormatter" functions can be directly invoked from XML templates
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
return function (vValue, vTargetValue) {
|
|
19
|
-
return RuntimeFormatters.formatRatingIndicatorFooterText.call(this, vValue, vTargetValue);
|
|
20
|
-
};
|
|
21
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
sap.ui.define("sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorSubTitle",
|
|
2
|
-
["sap/suite/ui/generic/template/js/RuntimeFormatters"], function (RuntimeFormatters) {
|
|
3
|
-
"use strict";
|
|
4
|
-
/**
|
|
5
|
-
* Note: This module is just a wrapper for "RuntimeFormatters.formatRatingIndicatorSubTitle" function.
|
|
6
|
-
*
|
|
7
|
-
* Currently, there's a limitation from UI5 core on the formatter functions.
|
|
8
|
-
* Earlier, the "this" keyword on the formatter function referred to the UI5 control.
|
|
9
|
-
* But, currently (UI5 2.0) the "this" keyword refers to the formatter module.
|
|
10
|
-
*
|
|
11
|
-
* As a temporary work-around, core team has suggested us to keep each formatter function in a separate module
|
|
12
|
-
* and export the formatter function from the module. In this way, the "this" keyword refers to the UI5 control.
|
|
13
|
-
*
|
|
14
|
-
* Once the limitation is resolved by core team, this module can be removed
|
|
15
|
-
* and "RuntimeFormatter" functions can be directly invoked from XML templates
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
return function (iSampleSizeValue) {
|
|
19
|
-
return RuntimeFormatters.formatRatingIndicatorSubTitle.call(this, iSampleSizeValue);
|
|
20
|
-
};
|
|
21
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
sap.ui.define("sap/suite/ui/generic/template/js/formatters/setInfoHighlight",
|
|
2
|
-
["sap/suite/ui/generic/template/js/RuntimeFormatters"], function (RuntimeFormatters) {
|
|
3
|
-
"use strict";
|
|
4
|
-
/**
|
|
5
|
-
* Note: This module is just a wrapper for "RuntimeFormatters.setInfoHighlight" function.
|
|
6
|
-
*
|
|
7
|
-
* Currently, there's a limitation from UI5 core on the formatter functions.
|
|
8
|
-
* Earlier, the "this" keyword on the formatter function referred to the UI5 control.
|
|
9
|
-
* But, currently (UI5 2.0) the "this" keyword refers to the formatter module.
|
|
10
|
-
*
|
|
11
|
-
* As a temporary work-around, core team has suggested us to keep each formatter function in a separate module
|
|
12
|
-
* and export the formatter function from the module. In this way, the "this" keyword refers to the UI5 control.
|
|
13
|
-
*
|
|
14
|
-
* Once the limitation is resolved by core team, this module can be removed
|
|
15
|
-
* and "RuntimeFormatter" functions can be directly invoked from XML templates
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
return function (bIsActiveEntity, bHasActiveEntity, bEditable) {
|
|
19
|
-
return RuntimeFormatters.setInfoHighlight.call(this, bIsActiveEntity, bHasActiveEntity, bEditable);
|
|
20
|
-
};
|
|
21
|
-
});
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
sap.ui.define("sap/suite/ui/generic/template/js/formatters/setRowNavigated",
|
|
2
|
-
["sap/suite/ui/generic/template/js/RuntimeFormatters"], function (RuntimeFormatters) {
|
|
3
|
-
"use strict";
|
|
4
|
-
/**
|
|
5
|
-
* Note: This module is just a wrapper for "RuntimeFormatters.setRowNavigated" function.
|
|
6
|
-
*
|
|
7
|
-
* Currently, there's a limitation from UI5 core on the formatter functions.
|
|
8
|
-
* Earlier, the "this" keyword on the formatter function referred to the UI5 control.
|
|
9
|
-
* But, currently (UI5 2.0) the "this" keyword refers to the formatter module.
|
|
10
|
-
*
|
|
11
|
-
* As a temporary work-around, core team has suggested us to keep each formatter function in a separate module
|
|
12
|
-
* and export the formatter function from the module. In this way, the "this" keyword refers to the UI5 control.
|
|
13
|
-
*
|
|
14
|
-
* Once the limitation is resolved by core team, this module can be removed
|
|
15
|
-
* and "RuntimeFormatter" functions can be directly invoked from XML templates
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Return the value for the navigated property of the row. Works for both FCL and non-FCL apps.
|
|
20
|
-
* @param {string} sBindingPath of the row that is used to navigate to OP or Sub-OP
|
|
21
|
-
* @return {boolean} true/false to set/unset the property
|
|
22
|
-
*/
|
|
23
|
-
return function (sBindingPath) {
|
|
24
|
-
return RuntimeFormatters.setRowNavigated.call(this, sBindingPath);
|
|
25
|
-
};
|
|
26
|
-
});
|