@sapui5/sap.suite.ui.generic.template 1.124.1 → 1.125.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/controller/ControllerImplementation.js +4 -2
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/FilterBarController.js +1 -2
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/{KpiCardController.js → KpiCard.controller.js} +4 -8
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/KpiTagController.js +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ar.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_bg.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ca.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cnr.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cs.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cy.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_da.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_de.properties +4 -2
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_el.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_GB.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_US_saprigi.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_es.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_es_MX.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_et.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fi.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fr.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fr_CA.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hi.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hr.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hu.properties +5 -3
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_id.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_it.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_iw.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ja.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_kk.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ko.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_lt.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_lv.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_mk.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ms.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_nl.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_no.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pl.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pt.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pt_PT.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ro.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ru.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sh.properties +29 -27
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sk.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sl.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sr.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sv.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_th.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_tr.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_uk.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_vi.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_zh_CN.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_zh_TW.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil.js +14 -9
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/KpiCardSizeM.view.xml +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/FilterContainer.fragment.xml +7 -2
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/SmartFilterBar.fragment.xml +1 -2
- package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +27 -7
- package/src/sap/suite/ui/generic/template/ListReport/controller/IappStateHandler.js +9 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ar.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_bg.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ca.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cnr.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cs.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cy.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_da.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_de.properties +3 -1
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_el.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_GB.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saprigi.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es_MX.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_et.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fi.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr_CA.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hi.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hr.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hu.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_id.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_it.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_iw.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ja.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_kk.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ko.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lt.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lv.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_mk.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ms.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_nl.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_no.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pl.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt_PT.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ro.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ru.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sh.properties +16 -14
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sk.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sl.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sr.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sv.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_th.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_tr.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_uk.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_vi.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_CN.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_TW.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/MultiEditDialog.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartFilterBar.fragment.xml +2 -2
- 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 +15 -10
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +14 -11
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/PasteHandler.js +36 -11
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/SectionTitleHandler.js +4 -8
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ar.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_bg.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ca.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cnr.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cs.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cy.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_da.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_el.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_GB.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saprigi.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es_MX.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_et.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fi.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr_CA.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hi.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hr.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hu.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_id.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_it.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_iw.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ja.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_kk.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ko.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lt.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lv.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_mk.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ms.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_nl.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_no.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pl.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt_PT.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ro.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ru.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sh.properties +27 -24
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sk.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sl.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sr.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sv.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_th.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_tr.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_uk.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_vi.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_CN.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_TW.properties +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/CRUDActionButtons.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Facet.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderContainer.fragment.xml +4 -11
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderImage.fragment.xml +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/MultipleViewsSingleTableMode.fragment.xml +3 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/PageLevelCommands.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Sections.fragment.xml +3 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SideContentActionButton.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +19 -14
- package/src/sap/suite/ui/generic/template/QuickCreate/i18n/i18n_sh.properties +1 -1
- package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickCreate/view/QuickCreate.view.xml +20 -17
- package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickView/view/QuickView.view.xml +42 -40
- package/src/sap/suite/ui/generic/template/app/blankAnalyticalListPage/manifest.json +0 -4
- package/src/sap/suite/ui/generic/template/designtime/AnalyticalListPage.designtime.js +2 -2
- package/src/sap/suite/ui/generic/template/designtime/ListReport.designtime.js +3 -3
- package/src/sap/suite/ui/generic/template/designtime/ObjectPage.designtime.js +2 -2
- package/src/sap/suite/ui/generic/template/detailTemplates/i18n/i18n_sh.properties +1 -1
- package/src/sap/suite/ui/generic/template/extensionAPI/extensionAPI.js +1 -2
- package/src/sap/suite/ui/generic/template/fragments/AnalyticalTableColumns.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/ContactDetails.fragment.xml +7 -10
- package/src/sap/suite/ui/generic/template/fragments/FileUploader.fragment.xml +8 -4
- package/src/sap/suite/ui/generic/template/fragments/GridTableCells.fragment.xml +2 -11
- package/src/sap/suite/ui/generic/template/fragments/GridTableColumns.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/HeaderDataPointContent.fragment.xml +0 -11
- package/src/sap/suite/ui/generic/template/fragments/HeaderForm.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/HeaderFormDataField.fragment.xml +0 -12
- package/src/sap/suite/ui/generic/template/fragments/HeaderRatingIndicator.fragment.xml +6 -1
- package/src/sap/suite/ui/generic/template/fragments/MessagePage.view.xml +6 -2
- package/src/sap/suite/ui/generic/template/fragments/ProgressIndicator.fragment.xml +2 -0
- 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 -0
- package/src/sap/suite/ui/generic/template/fragments/SmartControlContextMenu.fragment.xml +3 -2
- package/src/sap/suite/ui/generic/template/fragments/SmartFormDataField.fragment.xml +2 -23
- package/src/sap/suite/ui/generic/template/fragments/SmartTableUiTableCommons.fragment.xml +5 -1
- package/src/sap/suite/ui/generic/template/fragments/TableCell.fragment.xml +7 -12
- package/src/sap/suite/ui/generic/template/fragments/TableColumnListItem.fragment.xml +9 -5
- package/src/sap/suite/ui/generic/template/fragments/TableColumns.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/TreeTableColumns.fragment.xml +4 -2
- package/src/sap/suite/ui/generic/template/genericUtilities/utils.js +25 -1
- package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +26 -15
- package/src/sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport.js +0 -4
- package/src/sap/suite/ui/generic/template/js/RuntimeFormatters.js +2 -6
- package/src/sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator.js +28 -0
- package/src/sap/suite/ui/generic/template/js/formatters/formatImageUrl.js +21 -0
- package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorAggregateCount.js +21 -0
- package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorFooterText.js +21 -0
- package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorSubTitle.js +21 -0
- package/src/sap/suite/ui/generic/template/js/formatters/setInfoHighlight.js +21 -0
- package/src/sap/suite/ui/generic/template/js/formatters/setRowNavigated.js +26 -0
- package/src/sap/suite/ui/generic/template/lib/AdaptiveCardHelper.js +115 -29
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +5 -3
- package/src/sap/suite/ui/generic/template/lib/Application.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/CRUDManager.js +7 -5
- package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +9 -1
- package/src/sap/suite/ui/generic/template/lib/ComponentUtils.js +16 -12
- package/src/sap/suite/ui/generic/template/lib/ContactCardDetailHelper.js +21 -3
- package/src/sap/suite/ui/generic/template/lib/FlexibleColumnLayoutHandler.js +11 -4
- package/src/sap/suite/ui/generic/template/lib/MessageUtils.js +4 -3
- package/src/sap/suite/ui/generic/template/lib/ShareUtils.js +7 -127
- package/src/sap/suite/ui/generic/template/lib/TemplateAssembler.js +5 -3
- package/src/sap/suite/ui/generic/template/lib/TemplateComponent.js +5 -3
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +3 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +7 -3
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +50 -46
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/insights/InsightsCardHelper.js +12 -2
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +38 -38
- package/src/sap/suite/ui/generic/template/lib/navigation/routingHelper.js +8 -9
- package/src/sap/suite/ui/generic/template/lib/navigation/startupParameterHelper.js +48 -44
- package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartChartHandler.js +7 -9
- package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +18 -6
- package/src/sap/suite/ui/generic/template/library.js +1 -1
- package/src/sap/suite/ui/generic/template/listTemplates/controller/DetailController.js +16 -1
- package/src/sap/suite/ui/generic/template/listTemplates/filterSettingsPreparationHelper.js +1 -1
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/ActionsFragment.fragment.xml +7 -2
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +19 -10
- package/src/sap/suite/ui/generic/template/listTemplates/i18n/i18n_sh.properties +1 -1
- package/src/sap/suite/ui/generic/template/themes/base/ObjectPage.less +1 -1
- package/src/sap/suite/ui/generic/template/themes/sap_belize/library.source.less +10 -1
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ALPConstants.less +47 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/AnalyticalListPage.less +475 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ListReport.less +33 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ObjectPage.less +391 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/QuickCreate.less +96 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/QuickView.less +108 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/alr_zen.css +136 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/base.less +7 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/crosstab_library.css +20 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/readme.txt +4 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/sort_asc.gif +0 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/sort_desc.gif +0 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/sort_none.gif +0 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/treenode_collapse.gif +0 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/img/treenode_expand.gif +0 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/library.source.less +9 -0
- package/src/sap/suite/ui/generic/template/themes/sap_belize_hcb/library.source.less +10 -1
- package/src/sap/suite/ui/generic/template/themes/sap_belize_hcw/library.source.less +10 -1
- package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/ObjectPage.less +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<
|
|
2
|
-
xmlns:
|
|
1
|
+
<mvc:View
|
|
2
|
+
xmlns:mvc="sap.ui.core.mvc"
|
|
3
3
|
xmlns="sap.m"
|
|
4
|
-
xmlns:
|
|
4
|
+
xmlns:core="sap.ui.core"
|
|
5
5
|
xmlns:f="sap.ui.layout.form"
|
|
6
6
|
controllerName="sap.suite.ui.generic.template.QuickView.view.QuickView"
|
|
7
7
|
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
@@ -9,25 +9,28 @@
|
|
|
9
9
|
xmlns:fiori="sap.f"
|
|
10
10
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
11
11
|
xmlns:semantic="sap.m.semantic"
|
|
12
|
-
xmlns:fe="sap.suite.ui.generic.template.genericUtilities"
|
|
12
|
+
xmlns:fe="sap.suite.ui.generic.template.genericUtilities"
|
|
13
|
+
template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper',
|
|
14
|
+
AHModel: 'sap/ui/model/odata/AnnotationHelper',
|
|
15
|
+
AHQuickTemplates: 'sap/suite/ui/generic/template/js/QuickTemplates/AnnotationHelper'}">
|
|
13
16
|
|
|
14
17
|
<!-- <FlexBox class="sapQuickViewTitle" width="100%" alignItems="Start" justifyContent="Start">
|
|
15
|
-
<template:with path="entitySet>entityType" helper="
|
|
16
|
-
<template:with path="entityType>com.sap.vocabularies.UI.v1.QuickViewFacets" helper="
|
|
17
|
-
<Text text="{path: 'target>Label', formatter: '
|
|
18
|
+
<template:with path="entitySet>entityType" helper="AHModel.gotoEntityType" var="entityType">
|
|
19
|
+
<template:with path="entityType>com.sap.vocabularies.UI.v1.QuickViewFacets" helper="AHQuickTemplates.resolveFieldGroupTarget" var="target">
|
|
20
|
+
<Text text="{path: 'target>Label', formatter: 'AH.formatWithExpandSimple'}" class="sapQuickViewTextTitle"/>
|
|
18
21
|
</template:with>
|
|
19
22
|
</template:with>
|
|
20
23
|
</FlexBox> -->
|
|
21
24
|
|
|
22
25
|
<FlexBox visible="{= ${badge>/fallbackBadgeVisible}}" width="100%" alignItems="Start" justifyContent="Start">
|
|
23
|
-
<template:with path="entitySet>entityType" helper="
|
|
24
|
-
<template:with path="entityType>" helper="
|
|
26
|
+
<template:with path="entitySet>entityType" helper="AHModel.gotoEntityType" var="entityType">
|
|
27
|
+
<template:with path="entityType>" helper="AHQuickTemplates.resolveBadgeTarget" var="badge">
|
|
25
28
|
<HBox alignItems="Left" justifyContent="Left" width="100%">
|
|
26
29
|
<template:if test="{badge>ImageUrl}">
|
|
27
30
|
<template:then>
|
|
28
31
|
<FlexBox alignItems="Start" justifyContent="Center">
|
|
29
32
|
<Avatar
|
|
30
|
-
src="{path: 'badge>ImageUrl', formatter: '
|
|
33
|
+
src="{path: 'badge>ImageUrl', formatter: 'AHModel.format'}"
|
|
31
34
|
class="sapUiSmallMarginEnd sapQuickViewBadgeImageBorder"
|
|
32
35
|
displaySize="L"
|
|
33
36
|
displayShape="Square">
|
|
@@ -38,14 +41,14 @@
|
|
|
38
41
|
<template:if test="{badge>TypeImageUrl}">
|
|
39
42
|
<template:then>
|
|
40
43
|
<FlexBox alignItems="Start" justifyContent="Center" class="sapQuickViewBadgeIconPadding">
|
|
41
|
-
<
|
|
44
|
+
<core:Icon src="{path: 'badge>TypeImageUrl', formatter: 'AHModel.format'}" class="sapUiSmallMarginEnd sapQuickViewBadgeIcon"/>
|
|
42
45
|
</FlexBox>
|
|
43
46
|
</template:then>
|
|
44
47
|
</template:if>
|
|
45
48
|
<VBox alignItems="Start" justifyContent="Center" class="sapUiTinyMarginEnd">
|
|
46
|
-
<Text text="{path: 'badge>Title', formatter: '
|
|
47
|
-
<Text text="{path: 'badge>TypeName', formatter: '
|
|
48
|
-
<Text text="{path: 'badge>SubTitle', formatter: '
|
|
49
|
+
<Text text="{path: 'badge>Title', formatter: 'AHModel.format'}" class="sapQuickViewBadgeTitle"/>
|
|
50
|
+
<Text text="{path: 'badge>TypeName', formatter: 'AHModel.format'}" class="sapQuickViewBadgeSubtitle sapQuickViewBadgeTinyMarginTop"/>
|
|
51
|
+
<Text text="{path: 'badge>SubTitle', formatter: 'AHModel.format'}" class="sapQuickViewBadgeSubtitle sapQuickViewBadgeTinyMarginTop"/>
|
|
49
52
|
</VBox>
|
|
50
53
|
</HBox>
|
|
51
54
|
</template:with>
|
|
@@ -63,7 +66,7 @@
|
|
|
63
66
|
</Avatar>
|
|
64
67
|
</FlexBox>
|
|
65
68
|
<FlexBox visible="{=${badge>/typeImgUrlDefined}}" alignItems="Start" justifyContent="Center" class="sapQuickViewBadgeIconPadding">
|
|
66
|
-
<
|
|
69
|
+
<core:Icon src="{badge>/typeImgUrl}" class="sapUiSmallMarginEnd sapQuickViewBadgeIcon"/>
|
|
67
70
|
</FlexBox>
|
|
68
71
|
<VBox alignItems="Start" justifyContent="Center" class="sapUiTinyMarginEnd">
|
|
69
72
|
<Text text="{badge>/title}" class="sapQuickViewBadgeTitle"/>
|
|
@@ -74,8 +77,8 @@
|
|
|
74
77
|
</FlexBox>
|
|
75
78
|
|
|
76
79
|
<VBox class="quickTemplateVBox quickViewParent">
|
|
77
|
-
<template:with path="entitySet>entityType" helper="
|
|
78
|
-
<template:with path="entityType>com.sap.vocabularies.UI.v1.QuickViewFacets" helper="
|
|
80
|
+
<template:with path="entitySet>entityType" helper="AHModel.gotoEntityType" var="entityType">
|
|
81
|
+
<template:with path="entityType>com.sap.vocabularies.UI.v1.QuickViewFacets" helper="AHQuickTemplates.resolveFieldGroupTarget" var="target">
|
|
79
82
|
<f:SimpleForm
|
|
80
83
|
layout="ResponsiveGridLayout"
|
|
81
84
|
labelSpanXL="4"
|
|
@@ -96,32 +99,32 @@
|
|
|
96
99
|
<template:if test="{dataField>Label}">
|
|
97
100
|
<template:then>
|
|
98
101
|
<Label
|
|
99
|
-
labelFor="field::{path: 'dataField>', formatter: '
|
|
102
|
+
labelFor="field::{path: 'dataField>', formatter: 'AH.getStableIdPartFromDataField'}"
|
|
100
103
|
|
|
101
|
-
text="{path: 'dataField>Label', formatter: '
|
|
104
|
+
text="{path: 'dataField>Label', formatter: 'AH.formatWithExpandSimple'}" class="sapQuickViewSmartFieldLabel"/>
|
|
102
105
|
</template:then>
|
|
103
106
|
<template:else>
|
|
104
|
-
<smart:SmartLabel labelFor="field::{path: 'dataField>', formatter: '
|
|
107
|
+
<smart:SmartLabel labelFor="field::{path: 'dataField>', formatter: 'AH.getStableIdPartFromDataField'}" class="sapQuickViewSmartFieldLabel"/>
|
|
105
108
|
</template:else>
|
|
106
109
|
</template:if>
|
|
107
110
|
|
|
108
111
|
<template:if test="{= ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldWithUrl'}">
|
|
109
112
|
<template:then>
|
|
110
|
-
<fe:Link id="field::{path: 'dataField>', formatter: '
|
|
113
|
+
<fe:Link id="field::{path: 'dataField>', formatter: 'AH.getStableIdPartFromDataField'}"
|
|
111
114
|
target="_blank"
|
|
112
|
-
text="{path: 'dataField>Value', formatter: '
|
|
113
|
-
href="{= ${dataField>Url} ? ${path: 'dataField>Url', formatter: '
|
|
115
|
+
text="{path: 'dataField>Value', formatter: 'AHModel.format'}"
|
|
116
|
+
href="{= ${dataField>Url} ? ${path: 'dataField>Url', formatter: 'AHModel.format'} : ''}"
|
|
114
117
|
class="sapQuickViewTextTitle"/>
|
|
115
118
|
</template:then>
|
|
116
119
|
<template:else>
|
|
117
120
|
<smart:SmartField
|
|
118
|
-
id="field::{path: 'dataField>', formatter: '
|
|
121
|
+
id="field::{path: 'dataField>', formatter: 'AH.getStableIdPartFromDataField'}"
|
|
119
122
|
editable="false"
|
|
120
123
|
enabled="true"
|
|
121
124
|
contextEditable="false"
|
|
122
125
|
clientSideMandatoryCheck="false"
|
|
123
|
-
value="{path: 'dataField>Value', formatter: '
|
|
124
|
-
url="{= ${dataField>Url} ? ${path: 'dataField>Url', formatter: '
|
|
126
|
+
value="{path: 'dataField>Value', formatter: 'AHModel.format'}"
|
|
127
|
+
url="{= ${dataField>Url} ? ${path: 'dataField>Url', formatter: 'AHModel.format'} : ''}"
|
|
125
128
|
innerControlsCreated="onSmartFieldsCreated"
|
|
126
129
|
class="sapQuickViewTextTitle"/>
|
|
127
130
|
</template:else>
|
|
@@ -131,19 +134,19 @@
|
|
|
131
134
|
</f:SimpleForm>
|
|
132
135
|
</template:with>
|
|
133
136
|
|
|
134
|
-
<template:with path="entityType>com.sap.vocabularies.UI.v1.QuickViewFacets" helper="
|
|
135
|
-
<template:if test="{path: 'facet>Target', formatter: '
|
|
137
|
+
<template:with path="entityType>com.sap.vocabularies.UI.v1.QuickViewFacets" helper="AHQuickTemplates.resolveLineItemFacet" var="facet">
|
|
138
|
+
<template:if test="{path: 'facet>Target', formatter: 'AHModel.isMultiple'}">
|
|
136
139
|
<template:then>
|
|
137
|
-
<template:with path="facet>Target" helper="
|
|
140
|
+
<template:with path="facet>Target" helper="AHModel.resolvePath" var="target">
|
|
138
141
|
<HBox width="100%" alignItems="Center" justifyContent="Center" class="sapQuickViewLineItemTable">
|
|
139
142
|
<Table
|
|
140
143
|
id="LineItemsSmartTable"
|
|
141
144
|
backgroundDesign="Translucent"
|
|
142
|
-
items="{parts:[{path:'entitySet>entityType'}, {path: 'parameter>/isDraftEnabled'}], formatter: '
|
|
145
|
+
items="{parts:[{path:'entitySet>entityType'}, {path: 'parameter>/isDraftEnabled'}], formatter: 'AHQuickTemplates.formatBindingPathForLineItems'}">
|
|
143
146
|
<headerToolbar>
|
|
144
147
|
<Toolbar>
|
|
145
|
-
<template:with path="facet>Target" helper="
|
|
146
|
-
<template:with path="listEntitySet>entityType" helper="
|
|
148
|
+
<template:with path="facet>Target" helper="AHModel.gotoEntitySet" var="listEntitySet">
|
|
149
|
+
<template:with path="listEntitySet>entityType" helper="AHModel.gotoEntityType" var="listEntityType">
|
|
147
150
|
<Title text="{listEntityType>com.sap.vocabularies.UI.v1.HeaderInfo/TypeNamePlural/String}" level="h6"/>
|
|
148
151
|
</template:with>
|
|
149
152
|
</template:with>
|
|
@@ -151,14 +154,14 @@
|
|
|
151
154
|
</headerToolbar>
|
|
152
155
|
<columns>
|
|
153
156
|
<template:repeat list="{target>}" var="dataField">
|
|
154
|
-
<template:with path="dataField>Value" helper="
|
|
157
|
+
<template:with path="dataField>Value" helper="AHModel.resolvePath" var="dataFieldValue">
|
|
155
158
|
<Column>
|
|
156
159
|
<template:if test="{dataField>Label}">
|
|
157
160
|
<template:then>
|
|
158
|
-
<Text text="{path: 'dataField>Label', formatter: '
|
|
161
|
+
<Text text="{path: 'dataField>Label', formatter: 'AHModel.format'}"/>
|
|
159
162
|
</template:then>
|
|
160
163
|
<template:else>
|
|
161
|
-
<Text text="{path: 'dataFieldValue>com.sap.vocabularies.Common.v1.Label', formatter: '
|
|
164
|
+
<Text text="{path: 'dataFieldValue>com.sap.vocabularies.Common.v1.Label', formatter: 'AHModel.format'}"/>
|
|
162
165
|
</template:else>
|
|
163
166
|
</template:if>
|
|
164
167
|
</Column>
|
|
@@ -166,7 +169,7 @@
|
|
|
166
169
|
</template:repeat>
|
|
167
170
|
<!-- <template:repeat list="{target>}" var="columnItemField">
|
|
168
171
|
<Column>
|
|
169
|
-
<Text text="{path: 'columnItemField>Label', formatter: '
|
|
172
|
+
<Text text="{path: 'columnItemField>Label', formatter: 'AHModel.format'}"/>
|
|
170
173
|
</Column>
|
|
171
174
|
</template:repeat> -->
|
|
172
175
|
</columns>
|
|
@@ -179,8 +182,8 @@
|
|
|
179
182
|
clientSideMandatoryCheck="false"
|
|
180
183
|
enabled="true"
|
|
181
184
|
contextEditable="false"
|
|
182
|
-
value="{path: 'columnItemFieldValue>Value', formatter: '
|
|
183
|
-
url="{= ${columnItemFieldValue>Url} ? ${path: 'columnItemFieldValue>Url', formatter: '
|
|
185
|
+
value="{path: 'columnItemFieldValue>Value', formatter: 'AHModel.format'}"
|
|
186
|
+
url="{= ${columnItemFieldValue>Url} ? ${path: 'columnItemFieldValue>Url', formatter: 'AHModel.format'} : ''}"
|
|
184
187
|
innerControlsCreated="onSmartFieldsCreated"/>
|
|
185
188
|
</template:repeat>
|
|
186
189
|
</cells>
|
|
@@ -195,5 +198,4 @@
|
|
|
195
198
|
</template:with>
|
|
196
199
|
</template:with>
|
|
197
200
|
</VBox>
|
|
198
|
-
|
|
199
|
-
</core:View>
|
|
201
|
+
</mvc:View>
|
|
@@ -22,7 +22,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
|
|
|
22
22
|
properties: ["ignoredChartTypes", "selectionMode", "noData", "showChartTooltip", "showChartTypeSelectionButton", "showDownloadButton", "showLegendButton"]
|
|
23
23
|
},
|
|
24
24
|
"sap.ui.comp.smarttable.SmartTable": {
|
|
25
|
-
properties: ["
|
|
25
|
+
properties: ["enableExport", "showRowCount", "exportType", "fitContainer", "showTablePersonalisation"],
|
|
26
26
|
actions: ["settings"]
|
|
27
27
|
},
|
|
28
28
|
"sap.ui.table.AnalyticalColumn": {
|
|
@@ -58,7 +58,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
|
|
|
58
58
|
properties: ["useDateRangeType"]
|
|
59
59
|
},
|
|
60
60
|
"sap.ui.table.AnalyticalTable": {
|
|
61
|
-
properties: ["selectionMode"
|
|
61
|
+
properties: ["selectionMode"]
|
|
62
62
|
},
|
|
63
63
|
"sap.ui.table.AnalyticalColumn": {
|
|
64
64
|
properties: ["width", "minWidth"]
|
|
@@ -19,11 +19,11 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
|
|
|
19
19
|
properties: ["liveMode"]
|
|
20
20
|
},
|
|
21
21
|
"sap.ui.comp.smarttable.SmartTable": {
|
|
22
|
-
properties: ["
|
|
22
|
+
properties: ["enableExport"],
|
|
23
23
|
actions: ["settings"]
|
|
24
24
|
},
|
|
25
25
|
"sap.m.Table": {
|
|
26
|
-
properties: ["
|
|
26
|
+
properties: ["popinLayout", "includeItemInSelection", "growingThreshold"]
|
|
27
27
|
},
|
|
28
28
|
"sap.m.Column": {
|
|
29
29
|
properties: ["width", "hAlign"]
|
|
@@ -90,7 +90,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
|
|
|
90
90
|
properties: ["selectionMode"]
|
|
91
91
|
},
|
|
92
92
|
"sap.ui.table.AnalyticalTable": {
|
|
93
|
-
properties: ["selectionMode"
|
|
93
|
+
properties: ["selectionMode"]
|
|
94
94
|
},
|
|
95
95
|
"sap.ui.table.AnalyticalColumn": {
|
|
96
96
|
properties: ["width", "minWidth", "showFilterMenuEntry", "summed"]
|
|
@@ -39,7 +39,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
|
|
|
39
39
|
properties: ["title"]
|
|
40
40
|
},
|
|
41
41
|
"sap.ui.comp.smarttable.SmartTable": {
|
|
42
|
-
properties: ["
|
|
42
|
+
properties: ["enableExport", "editable", "showPasteButton"],
|
|
43
43
|
actions: ["settings"]
|
|
44
44
|
},
|
|
45
45
|
"sap.m.Table": {
|
|
@@ -112,7 +112,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
|
|
|
112
112
|
properties: ["selectionMode"]
|
|
113
113
|
},
|
|
114
114
|
"sap.ui.table.AnalyticalTable": {
|
|
115
|
-
properties: ["selectionMode"
|
|
115
|
+
properties: ["selectionMode"]
|
|
116
116
|
},
|
|
117
117
|
"sap.ui.table.AnalyticalColumn": {
|
|
118
118
|
properties: ["width", "minWidth"]
|
|
@@ -43,8 +43,6 @@ sap.ui.define(["sap/suite/ui/generic/template/lib/TemplateAssembler",
|
|
|
43
43
|
},
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
* @deprecated As of version 1.124, please refer the {@link topic:4120052d90374ce8b1cea24a0d8bd317 documentation} for the migration steps.
|
|
47
|
-
*
|
|
48
46
|
* This method can be used to define specific controller extension(s) for a template which is used more than once within a SAP Fiori elements application.
|
|
49
47
|
* More precisely: In the manifest of a SAP Fiori elements application, you can register a controller extension.
|
|
50
48
|
* This controller extension is defined at <code>sap.ui5/extends/extensions/sap.ui.controllerExtensions/{template}</code>.
|
|
@@ -64,6 +62,7 @@ sap.ui.define(["sap/suite/ui/generic/template/lib/TemplateAssembler",
|
|
|
64
62
|
* @param mEntitySetToImplementation a map. As a key, use the name of the entity set for which the (controller of the) page should be extended. As a value, use an
|
|
65
63
|
* instance of the corresponding class as described above.
|
|
66
64
|
* @public
|
|
65
|
+
* @deprecated As of version 1.120, please refer the {@link topic:4120052d90374ce8b1cea24a0d8bd317 documentation} for the migration steps.
|
|
67
66
|
*/
|
|
68
67
|
registerControllerExtensions: function(sControllerExtensionName, mEntitySetToImplementation){
|
|
69
68
|
var oControllerDefinition = {
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
xmlns:customData="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
|
|
3
3
|
xmlns:smartField="sap.ui.comp.smartfield" xmlns="sap.m" xmlns:table="sap.ui.table" xmlns:core="sap.ui.core"
|
|
4
4
|
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
5
|
-
template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper'}">
|
|
5
|
+
template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper', StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
|
|
6
6
|
|
|
7
7
|
<template:repeat list="{collection>}" var="dataField">
|
|
8
8
|
<template:if
|
|
9
9
|
test="{= (${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForAction' || ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation') && ${dataField>Inline/Bool} === 'true'}">
|
|
10
|
-
<template:with path="parameter>/" helper="
|
|
10
|
+
<template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="columnId">
|
|
11
11
|
<template:if test="{= ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForAction' }">
|
|
12
12
|
<template:then>
|
|
13
13
|
<template:if test="{= ${columnId>}.buildStableId({type: 'TableColumn', subType: 'DataFieldForAction', sSmartTableId: ${smartControlId>id}, sAction: ${dataField>Action/String}})}" />
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
<core:FragmentDefinition
|
|
2
2
|
xmlns="sap.m"
|
|
3
3
|
xmlns:core="sap.ui.core"
|
|
4
|
-
xmlns:fesr="http://schemas.sap.com/sapui5/extension/sap.ui.core.FESR/1"
|
|
5
4
|
xmlns:macrodata="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1">
|
|
6
5
|
<Popover
|
|
7
6
|
id="quickView-popover"
|
|
@@ -10,7 +9,8 @@
|
|
|
10
9
|
initialFocus="action"
|
|
11
10
|
showHeader="false"
|
|
12
11
|
contentWidth="20rem"
|
|
13
|
-
afterClose="afterClose"
|
|
12
|
+
afterClose="afterClose"
|
|
13
|
+
afterOpen="afterOpen">
|
|
14
14
|
<VBox>
|
|
15
15
|
<HBox class="sapUiSmallMarginBottom">
|
|
16
16
|
<Avatar
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
<VBox visible="{= ${contact>/teamsCollabOptions} !== undefined && ${contact>/teamsCollabOptions}.length > 0 }" class="sapUiSmallMarginBottom">
|
|
34
34
|
<Toolbar width="100%" height="1px"/>
|
|
35
35
|
<Toolbar >
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
<Title text="{i18n>CONTACT_OPTION}" level="H5" class="sapUiTinyMarginBegin"/>
|
|
37
|
+
<ToolbarSpacer/>
|
|
38
38
|
<Button
|
|
39
39
|
icon="{contact>/teamsCollabOptions/0/icon}"
|
|
40
40
|
tooltip="{contact>/teamsCollabOptions/0/tooltip}"
|
|
@@ -42,8 +42,7 @@
|
|
|
42
42
|
macrodata:email="{contact>/email}"
|
|
43
43
|
press=".onTeamsCollabOptionPress"
|
|
44
44
|
class="sapUiTinyMarginEnd sapUiTinyMarginBegin"
|
|
45
|
-
type="Ghost"
|
|
46
|
-
fesr:press="{contact>/teamsCollabOptions/0/fesrStepName}">
|
|
45
|
+
type="Ghost">
|
|
47
46
|
</Button>
|
|
48
47
|
<Button
|
|
49
48
|
icon="{contact>/teamsCollabOptions/1/icon}"
|
|
@@ -51,16 +50,14 @@
|
|
|
51
50
|
macrodata:email="{contact>/email}"
|
|
52
51
|
press=".onTeamsCollabOptionPress"
|
|
53
52
|
class="sapUiTinyMarginEnd"
|
|
54
|
-
type="Ghost"
|
|
55
|
-
fesr:press="{contact>/teamsCollabOptions/1/fesrStepName}">
|
|
53
|
+
type="Ghost">
|
|
56
54
|
</Button>
|
|
57
55
|
<Button
|
|
58
56
|
icon="{contact>/teamsCollabOptions/2/icon}"
|
|
59
57
|
macrodata:type="{contact>/teamsCollabOptions/2/key}"
|
|
60
58
|
macrodata:email="{contact>/email}"
|
|
61
59
|
press=".onTeamsCollabOptionPress"
|
|
62
|
-
type="Ghost"
|
|
63
|
-
fesr:press="{contact>/teamsCollabOptions/2/fesrStepName}">
|
|
60
|
+
type="Ghost">
|
|
64
61
|
</Button>
|
|
65
62
|
</Toolbar>
|
|
66
63
|
</VBox>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:u="sap.ui.unified" xmlns:sfo="sap.ui.comp.smartform" xmlns:fe="sap.suite.ui.generic.template.genericUtilities"
|
|
2
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', AHModel: 'sap/ui/model/odata/AnnotationHelper', AHStream:'sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport'}">
|
|
3
|
+
template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper', AHStream:'sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport', StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
|
|
4
4
|
|
|
5
5
|
<!-- We are consuming the private property of model the "__metadata" (edit_media and content_type) to access the value of the stream content, As per the mail
|
|
6
6
|
communication with model colleagues, they promised that these will not be changed and we request these to be made public later once Model team has
|
|
7
7
|
capacity. Till then we use this in our XML templating.
|
|
8
8
|
-->
|
|
9
|
-
<template:with path="parameter>/" helper="
|
|
9
|
+
<template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="facetId">
|
|
10
10
|
|
|
11
11
|
<template:if test="{= ${entityType>Org.OData.Core.V1.MediaType/Path}}">
|
|
12
12
|
<template:if test="{= !!${listEntitySet>}}">
|
|
@@ -21,8 +21,12 @@
|
|
|
21
21
|
<template:if test="{:= ${displayType>}.set('icon')}"/>
|
|
22
22
|
<HBox alignItems="Center" visible="{parts: [{path: 'entityType>Org.OData.Core.V1.MediaType/Path'}, {path: 'displayType>'}, {path: 'entitySet>'}], formatter:'AHStream.isMimeTypeImage'}">
|
|
23
23
|
<template:if test="{:= ${streamContent>}.set('available')}"/>
|
|
24
|
-
<core:Icon
|
|
25
|
-
|
|
24
|
+
<core:Icon
|
|
25
|
+
core:require="{IconPool: 'sap/ui/core/IconPool'}"
|
|
26
|
+
src="{parts: [{path: '__metadata/content_type'}], formatter: 'IconPool.getIconForMimeType'}"
|
|
27
|
+
class="sapUiSmallMarginEnd"
|
|
28
|
+
visible="{parts: [{path: 'entityType>Org.OData.Core.V1.MediaType/Path'}, {path: 'streamContent>'}, {path: 'entitySet>'}], formatter: 'AHStream.isStreamPresent'}"/>
|
|
29
|
+
<fe:Link
|
|
26
30
|
text="{path: 'entitySet>', formatter: 'AHStream.getFileName'}"
|
|
27
31
|
href="{__metadata/edit_media}"
|
|
28
32
|
target="_blank"
|
|
@@ -28,17 +28,6 @@
|
|
|
28
28
|
<smartField:configuration>
|
|
29
29
|
<smartField:Configuration displayBehaviour="{parts: [{path: 'dataField>'}, {path: 'entitySet>'}, {path: 'dataFieldTarget>Data'}], formatter: 'AH.getTextArrangementForSCFields'}"/>
|
|
30
30
|
</smartField:configuration>
|
|
31
|
-
<template:if test="{= ${dataField>Criticality}}">
|
|
32
|
-
<smartField:controlProposal>
|
|
33
|
-
<smartField:ControlProposal>
|
|
34
|
-
<smartField:objectStatus>
|
|
35
|
-
<smartField:ObjectStatus criticality="{path: 'dataField>Criticality', formatter: 'AHModel.simplePath'}"
|
|
36
|
-
criticalityRepresentationType="{= (${dataField>CriticalityRepresentation/EnumMember} === 'com.sap.vocabularies.UI.v1.CriticalityRepresentationType/WithoutIcon') ? 'WithoutIcon' : 'WithIcon'}"
|
|
37
|
-
ariaLabelledBy="{columnId>id}"/>
|
|
38
|
-
</smartField:objectStatus>
|
|
39
|
-
</smartField:ControlProposal>
|
|
40
|
-
</smartField:controlProposal>
|
|
41
|
-
</template:if>
|
|
42
31
|
</smartField:SmartField>
|
|
43
32
|
</template:elseif>
|
|
44
33
|
<!-- template for DataFieldForAction and DataFieldForIntentBasedNavigation -->
|
|
@@ -89,7 +78,9 @@
|
|
|
89
78
|
<template:elseif test="{= ${dataFieldTarget>Visualization/EnumMember} === 'com.sap.vocabularies.UI.v1.VisualizationType/Progress'}">
|
|
90
79
|
<template:with path="dataFieldTarget>Value" helper="AHModel.resolvePath" var="value">
|
|
91
80
|
<!-- Progress Bar Control -->
|
|
81
|
+
<!-- The formatter 'formatDisplayValueForProgressIndicator' is used by 'AH.buildExpressionForProgressIndicatorDisplayValue' -->
|
|
92
82
|
<ProgressIndicator
|
|
83
|
+
core:require="{formatDisplayValueForProgressIndicator: 'sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator'}"
|
|
93
84
|
binding="{= ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/') > -1 ? '{' + ${path: 'dataField>Target/AnnotationPath'}.slice(0, ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/')) + '}' : null}"
|
|
94
85
|
percentValue="{ parts: [{path:'dataFieldTarget>'}, {path:'value>'}], formatter: 'AH.buildExpressionForProgressIndicatorPercentValue' }"
|
|
95
86
|
displayValue="{ parts: [{path:'dataFieldTarget>'}, {path:'value>Org.OData.Measures.V1.Unit'}], formatter: 'AH.buildExpressionForProgressIndicatorDisplayValue'}"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:table="sap.ui.table" xmlns:smartField="sap.ui.comp.smartfield"
|
|
2
2
|
xmlns:customData="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
|
|
3
3
|
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
4
|
-
template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper', AHStream:'sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport'}">
|
|
4
|
+
template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper', AHStream:'sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport', StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
|
|
5
5
|
<template:repeat list="{collection>}" var="dataField">
|
|
6
6
|
<!-- handle data field with Stream Support -->
|
|
7
7
|
<template:if test="{= ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataField'}">
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</template:if>
|
|
21
21
|
<template:if
|
|
22
22
|
test="{= (${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForAction' || ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation') && ${dataField>Inline/Bool} === 'true'}">
|
|
23
|
-
<template:with path="parameter>/" helper="
|
|
23
|
+
<template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="columnId">
|
|
24
24
|
<template:if test="{= ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForAction' }">
|
|
25
25
|
<template:then>
|
|
26
26
|
<template:if test="{= ${columnId>}.buildStableId({type: 'TableColumn', subType: 'DataFieldForAction', sSmartTableId: ${smartControlId>id}, sAction: ${dataField>Action/String}})}" />
|
|
@@ -20,17 +20,6 @@
|
|
|
20
20
|
<sfi:Configuration
|
|
21
21
|
displayBehaviour="{parts: [{path: 'dataPoint>'}, {path: 'annotation>'}, {path: 'entitySet>'}], formatter: 'AH.getTextArrangementForSmartControl'}"/>
|
|
22
22
|
</sfi:configuration>
|
|
23
|
-
<template:if test="{= ${dataPoint>Criticality} }">
|
|
24
|
-
<sfi:controlProposal>
|
|
25
|
-
<sfi:ControlProposal>
|
|
26
|
-
<sfi:objectStatus>
|
|
27
|
-
<sfi:ObjectStatus
|
|
28
|
-
criticality="{path: 'dataPoint>Criticality', formatter: 'AHModel.simplePath'}"
|
|
29
|
-
criticalityRepresentationType="WithoutIcon"/>
|
|
30
|
-
</sfi:objectStatus>
|
|
31
|
-
</sfi:ControlProposal>
|
|
32
|
-
</sfi:controlProposal>
|
|
33
|
-
</template:if>
|
|
34
23
|
</sfi:SmartField>
|
|
35
24
|
</template:with>
|
|
36
25
|
</core:FragmentDefinition>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:sfo="sap.ui.comp.smartform" xmlns:sfi="sap.ui.comp.smartfield" xmlns:l="sap.ui.layout"
|
|
2
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', AHModel: 'sap/ui/model/odata/AnnotationHelper'}">
|
|
3
|
+
template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper', StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
|
|
4
4
|
|
|
5
5
|
<VBox id="header::{path: 'headerFacet>', formatter: 'AH.getStableIdPartFromFacet'}::Form"
|
|
6
6
|
displayInline="true" class="sapSmartTemplatesObjectPageHeaderForm sapSmartTemplatesObjectPageHeaderFormBox sapMShowEmpty-CTX"
|
|
7
7
|
visible="{path: 'headerFacet>', formatter: 'AH.getBindingForHiddenPath'}">
|
|
8
|
-
<template:with path="parameter>/" helper="
|
|
8
|
+
<template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="facetId">
|
|
9
9
|
<template:if test="{= ${facetId>}.buildStableId({type: 'ObjectPage', subType: 'Facet', sRecordType: ${headerFacet>RecordType}, sAnnotationPath: ${headerFacet>Target/AnnotationPath}, sAnnotationId: ${headerFacet>ID/String}, bIsHeaderFacet: ${isHeaderFacet>value}})}"/>
|
|
10
10
|
<template:if test="{headerFacet>Label}">
|
|
11
11
|
<Title id="{:= ${parameter>/stableId}.getStableId({type: 'ObjectPageHeader', subType: 'HeaderTitle', sFacet: ${facetId>id}})}" text="{path: 'headerFacet>Label', formatter: 'AHModel.format'}" class="sapSmartTemplatesObjectPageHeaderFormTitle"/>
|
|
@@ -108,18 +108,6 @@
|
|
|
108
108
|
<sfi:Configuration
|
|
109
109
|
displayBehaviour="{parts: [{path: 'dataField>'}, {path: 'annotation>'}, {path: 'entitySet>'}], formatter: 'AH.getTextArrangementForSmartControl'}"/>
|
|
110
110
|
</sfi:configuration>
|
|
111
|
-
<template:if test="{= ${dataField>Criticality} }">
|
|
112
|
-
<sfi:controlProposal>
|
|
113
|
-
<sfi:ControlProposal>
|
|
114
|
-
<sfi:objectStatus>
|
|
115
|
-
<sfi:ObjectStatus
|
|
116
|
-
criticality="{path: 'dataField>Criticality', formatter: 'AHModel.simplePath'}"
|
|
117
|
-
criticalityRepresentationType="{= (${dataField>CriticalityRepresentation/EnumMember} === 'com.sap.vocabularies.UI.v1.CriticalityRepresentationType/WithoutIcon') ? 'WithoutIcon' : 'WithIcon'}"
|
|
118
|
-
class="sapSmartTemplatesObjectPageHeaderFormObjectStatus"/>
|
|
119
|
-
</sfi:objectStatus>
|
|
120
|
-
</sfi:ControlProposal>
|
|
121
|
-
</sfi:controlProposal>
|
|
122
|
-
</template:if>
|
|
123
111
|
<sfi:customData>
|
|
124
112
|
<core:CustomData key="defaultTextInEditModeSource" value="{path: 'dataFieldValue>', formatter: 'AH.setValidationForValueList'}" />
|
|
125
113
|
<core:CustomData
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"
|
|
2
2
|
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
3
3
|
template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper'}">
|
|
4
|
-
|
|
4
|
+
<!-- The formatter 'formatRatingIndicatorFooterText' is used by 'AH.buildRatingIndicatorFooterExpression' -->
|
|
5
|
+
<!-- The formatter 'formatRatingIndicatorSubTitle' is used by 'AH.buildRatingIndicatorSubtitleExpression' -->
|
|
5
6
|
<VBox id="header::{path: 'headerFacet>', formatter: 'AH.getStableIdPartFromFacet'}::RatingIndicatorVBox"
|
|
7
|
+
core:require="{
|
|
8
|
+
formatRatingIndicatorFooterText: 'sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorFooterText',
|
|
9
|
+
formatRatingIndicatorSubTitle: 'sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorSubTitle'
|
|
10
|
+
}"
|
|
6
11
|
binding="{parts: [{path: 'headerFacet>Target'}, {path: 'entitySet>'}], formatter: 'AH.getNavigationPathWithExpand'}"
|
|
7
12
|
visible="{path: 'headerFacet>', formatter: 'AH.getBindingForHiddenPath'}">
|
|
8
13
|
<items>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
<mvc:View xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m" height="100%" controllerName="sap.suite.ui.generic.template.fragments.MessagePage">
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
<IllustratedMessage
|
|
3
|
+
id="messagePage"
|
|
4
|
+
title="{_templPrivGlobal>/generic/messagePage/text}"
|
|
5
|
+
description="{_templPrivGlobal>/generic/messagePage/description}"
|
|
6
|
+
illustrationSize="Scene"
|
|
7
|
+
illustrationType="{_templPrivGlobal>/generic/messagePage/messageType}"/>
|
|
4
8
|
</mvc:View>
|
|
@@ -15,8 +15,10 @@
|
|
|
15
15
|
text="{path:'dataPoint>Description', formatter: 'AHModel.format'}"
|
|
16
16
|
visible="{= !!${dataPoint>Description}}"/>
|
|
17
17
|
<template:with path="dataPoint>Value" helper="AHModel.resolvePath" var="valueProperty">
|
|
18
|
+
<!-- The formatter 'formatDisplayValueForProgressIndicator' is used by 'AH.buildExpressionForProgressIndicatorDisplayValue' -->
|
|
18
19
|
<ProgressIndicator
|
|
19
20
|
id="header::{path: 'headerFacet>', formatter: 'AH.getStableIdPartFromFacet'}::ProgressIndicator"
|
|
21
|
+
core:require="{formatDisplayValueForProgressIndicator: 'sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator'}"
|
|
20
22
|
class="sapSmartTemplatesObjectPageHeaderProgressIndicatorControl"
|
|
21
23
|
percentValue="{ parts: [{path:'dataPoint>'}, {path:'valueProperty>'}], formatter: 'AH.buildExpressionForProgressIndicatorPercentValue' }"
|
|
22
24
|
displayValue="{ parts: [{path:'dataPoint>'}, {path:'valueProperty>Org.OData.Measures.V1.Unit'}], formatter: 'AH.buildExpressionForProgressIndicatorDisplayValue'}"
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
<template:if test="{= ${dataField>RecordType} !== 'com.sap.vocabularies.UI.v1.DataFieldForAction' && ${dataField>RecordType} !== 'com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation'}">
|
|
83
83
|
<template:with path="dataField>Value" helper="AHModel.resolvePath" var="dataFieldValue">
|
|
84
84
|
<template:if test="{= ${path: 'isFirstEmail>', formatter: 'AH.fnCheckFirstEmail'} && ${dataFieldValue>com.sap.vocabularies.Communication.v1.IsEmailAddress}.Bool === 'true' && ${parameter>/templateSpecific/teamsCollabOptions} !== undefined && ${parameter>/templateSpecific/teamsCollabOptions}.length > 0}">
|
|
85
|
-
<VBox visible="{path: 'dataField>Value', formatter: 'AHModel.format'}" class="
|
|
85
|
+
<VBox visible="{path: 'dataField>Value', formatter: 'AHModel.format'}" class="sapUiTinyMarginTop">
|
|
86
86
|
<Toolbar width="100%" height="1px"/>
|
|
87
87
|
<Toolbar>
|
|
88
88
|
<Title text="{i18n>CONTACT_OPTION}" level="H5" class="sapUiTinyMarginBegin"/>
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
<sfo:Layout columnsM="2" columnsL="3" columnsXL="4" labelSpanS="12" labelSpanM="12" labelSpanL="12" labelSpanXL="12" singleGroupFullSize="false" />
|
|
116
116
|
</sfo:layout>
|
|
117
117
|
<sfo:groups>
|
|
118
|
-
<sfo:Group
|
|
118
|
+
<sfo:Group title="{path: 'facet>Label' , formatter: 'AHModel.format'}">
|
|
119
119
|
<template:if test="{target>Data}">
|
|
120
120
|
<template:then>
|
|
121
121
|
<template:repeat list="{target>Data}" var="dataField">
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
maxValue="{path: 'dataPoint>TargetValue', formatter: 'AHModel.format'}"
|
|
19
19
|
value="{path: 'dataPoint>Value', formatter: 'AHModel.format'}"
|
|
20
20
|
iconSize="1rem" />
|
|
21
|
+
<!-- The formatter 'formatRatingIndicatorAggregateCount' is used by 'AH.buildRatingIndicatorAggregateCountExpression' -->
|
|
21
22
|
<Text id="{path: 'facet>', formatter: 'AH.getStableIdPartFromFacet'}::RatingIndicatorTotalRatings"
|
|
23
|
+
core:require="{formatRatingIndicatorAggregateCount: 'sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorAggregateCount'}"
|
|
22
24
|
text="{path: 'dataPoint>SampleSize', formatter: 'AH.buildRatingIndicatorAggregateCountExpression'}"
|
|
23
25
|
visible="{= !!${dataPoint>SampleSize} }">
|
|
24
26
|
<customData>
|
|
@@ -1,7 +1,8 @@
|
|
|
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="{StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
|
|
3
4
|
|
|
4
|
-
<template:with path="parameter>/" helper="
|
|
5
|
+
<template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="contextMenuId">
|
|
5
6
|
<template:if test="{= ${contextMenuId>}.buildStableId({type: 'SmartControl', subType: 'ContextMenu', sSmartTableId: ${smartControlId>id}})}" />
|
|
6
7
|
<Menu id="{contextMenuId>id}" items="{= '{_templPriv>/generic/controlProperties/' + ${smartControlId>id} + '/contextMenu/items}' }">
|
|
7
8
|
<MenuItem text="{_templPriv>text}" enabled="{_templPriv>enabled}" icon="{_templPriv>icon}" key="{_templPriv>key}"
|