@sapui5/sap.suite.ui.generic.template 1.124.2 → 1.126.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/control/visualfilterbar/FilterItem.js +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroChart.js +1 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/ControllerImplementation.js +17 -16
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/DropDownController.js +4 -4
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/FilterBarController.js +3 -7
- 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/controller/VisualFilterDialogController.js +0 -9
- 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/AnalyticalListPage.view.xml +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/KpiCardSizeM.view.xml +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/ContentViewButtons.fragment.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 +0 -3
- package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +79 -6
- package/src/sap/suite/ui/generic/template/ListReport/controller/IappStateHandler.js +19 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n.properties +3 -0
- 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 +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 +6 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/Component.js +2 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +14 -10
- 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/Details.view.xml +2 -0
- 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 -0
- 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 +7 -8
- 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.controller.js +4 -3
- 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 +1 -1
- package/src/sap/suite/ui/generic/template/designtime/ListReport.designtime.js +1 -1
- package/src/sap/suite/ui/generic/template/designtime/ObjectPage.designtime.js +0 -3
- package/src/sap/suite/ui/generic/template/detailTemplates/i18n/i18n_sh.properties +1 -1
- package/src/sap/suite/ui/generic/template/fragments/AnalyticalTableColumns.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/ContactDetails.fragment.xml +14 -14
- 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 -0
- package/src/sap/suite/ui/generic/template/fragments/GridTableColumns.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/HeaderForm.fragment.xml +2 -2
- 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 +4 -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 -2
- 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 -1
- 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/controlStateWrapperFactory/SmartFilterBarWrapper.js +52 -1
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartVariantManagementWrapper.js +3 -3
- package/src/sap/suite/ui/generic/template/genericUtilities/utils.js +25 -1
- package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +29 -17
- 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 +25 -5
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +5 -3
- package/src/sap/suite/ui/generic/template/lib/Application.js +3 -5
- package/src/sap/suite/ui/generic/template/lib/CRUDManager.js +7 -5
- package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +2 -1
- package/src/sap/suite/ui/generic/template/lib/ComponentUtils.js +16 -12
- package/src/sap/suite/ui/generic/template/lib/CreateWithDialogHandler.js +23 -10
- package/src/sap/suite/ui/generic/template/lib/FlexibleColumnLayoutHandler.js +11 -4
- package/src/sap/suite/ui/generic/template/lib/MessageButtonHelper.js +7 -5
- package/src/sap/suite/ui/generic/template/lib/MessageStripHelper.js +6 -6
- package/src/sap/suite/ui/generic/template/lib/MessageUtils.js +4 -3
- package/src/sap/suite/ui/generic/template/lib/ShareUtils.js +6 -14
- 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 +1 -1
- 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 +22 -10
- package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartListHandler.js +6 -1
- package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +23 -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/controller/IappStateHandler.js +30 -27
- package/src/sap/suite/ui/generic/template/listTemplates/filterSettingsPreparationHelper.js +2 -0
- 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 +7 -8
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/SmartTableToolbar.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/listTemplates/i18n/i18n_sh.properties +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
|
@@ -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: ["useExportToExcel", "showRowCount", "exportType", "
|
|
25
|
+
properties: ["useExportToExcel", "showRowCount", "exportType", "showTablePersonalisation"],
|
|
26
26
|
actions: ["settings"]
|
|
27
27
|
},
|
|
28
28
|
"sap.ui.table.AnalyticalColumn": {
|
|
@@ -23,7 +23,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
|
|
|
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"]
|
|
@@ -29,9 +29,6 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
|
|
|
29
29
|
"sap.m.HBox": { // meant in the VBox mentioned above, and for paginator buttons (todo: check exact place)
|
|
30
30
|
properties: ["visible"]
|
|
31
31
|
},
|
|
32
|
-
"sap.ui.layout.Grid": { // meant for Grid in subSection. Actually there are two grids - clarify whether both are needed and which is meant
|
|
33
|
-
properties: ["defaultSpan"] // Todo: check, how this works at all
|
|
34
|
-
},
|
|
35
32
|
"sap.uxap.ObjectPageSection": {
|
|
36
33
|
properties: ["showTitle", "titleUppercase", "title"]
|
|
37
34
|
},
|
|
@@ -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}})}" />
|
|
@@ -64,38 +64,38 @@
|
|
|
64
64
|
</VBox>
|
|
65
65
|
|
|
66
66
|
<VBox visible="{= !!${contact>/title}}" class="sapUiTinyMarginBottom">
|
|
67
|
-
<Label text="{i18n>CONTACT_JOB_TITLE}:"/>
|
|
68
|
-
<Text text="{contact>/title}" class="sapUiTinyMarginBottom" />
|
|
67
|
+
<Label text="{i18n>CONTACT_JOB_TITLE}:" labelFor="template:::contact:::contactDetails::jobTitle"/>
|
|
68
|
+
<Text id="template:::contact:::contactDetails::jobTitle" text="{contact>/title}" class="sapUiTinyMarginBottom" />
|
|
69
69
|
</VBox>
|
|
70
70
|
|
|
71
71
|
<VBox visible="{= !!${contact>/org}}" class="sapUiTinyMarginBottom">
|
|
72
|
-
<Label text="{i18n>CONTACT_DEPARTMENT}:"/>
|
|
73
|
-
<Text text="{contact>/org}" class="sapUiTinyMarginBottom" />
|
|
72
|
+
<Label text="{i18n>CONTACT_DEPARTMENT}:" labelFor="template:::contact:::contactDetails::department"/>
|
|
73
|
+
<Text id="template:::contact:::contactDetails::department" text="{contact>/org}" class="sapUiTinyMarginBottom" />
|
|
74
74
|
</VBox>
|
|
75
75
|
|
|
76
76
|
<VBox visible="{= !!${contact>/email}}" class="sapUiTinyMarginBottom">
|
|
77
|
-
<Label text="{i18n>CONTACT_EMAIL}:" />
|
|
78
|
-
<Link text="{contact>/email}" href="{path: 'contact>/email', formatter: '.formatUri'}" class="sapUiTinyMarginBottom" wrapping="true"/>
|
|
77
|
+
<Label text="{i18n>CONTACT_EMAIL}:" labelFor="template:::contact:::contactDetails::email"/>
|
|
78
|
+
<Link id="template:::contact:::contactDetails::email" text="{contact>/email}" href="{path: 'contact>/email', formatter: '.formatUri'}" class="sapUiTinyMarginBottom" wrapping="true"/>
|
|
79
79
|
</VBox>
|
|
80
80
|
|
|
81
81
|
<VBox visible="{= !!${contact>/work}}" class="sapUiTinyMarginBottom">
|
|
82
|
-
<Label text="{i18n>CONTACT_PHONE}:"/>
|
|
83
|
-
<Link text="{contact>/work}" href="{path: 'contact>/work', formatter: '.formatUri'}" class="sapUiTinyMarginBottom" wrapping="true"/>
|
|
82
|
+
<Label text="{i18n>CONTACT_PHONE}:" labelFor="template:::contact:::contactDetails::phone"/>
|
|
83
|
+
<Link id="template:::contact:::contactDetails::phone" text="{contact>/work}" href="{path: 'contact>/work', formatter: '.formatUri'}" class="sapUiTinyMarginBottom" wrapping="true"/>
|
|
84
84
|
</VBox>
|
|
85
85
|
|
|
86
86
|
<VBox visible="{= !!${contact>/cell}}" class="sapUiTinyMarginBottom">
|
|
87
|
-
<Label text="{i18n>CONTACT_MOBILE}:"/>
|
|
88
|
-
<Link text="{contact>/cell}" href="{path: 'contact>/cell', formatter: '.formatUri'}" class="sapUiTinyMarginBottom" wrapping="true"/>
|
|
87
|
+
<Label text="{i18n>CONTACT_MOBILE}:" labelFor="template:::contact:::contactDetails::mobile"/>
|
|
88
|
+
<Link id="template:::contact:::contactDetails::mobile" text="{contact>/cell}" href="{path: 'contact>/cell', formatter: '.formatUri'}" class="sapUiTinyMarginBottom" wrapping="true"/>
|
|
89
89
|
</VBox>
|
|
90
90
|
|
|
91
91
|
<VBox visible="{= !!${contact>/fax}}" class="sapUiTinyMarginBottom">
|
|
92
|
-
<Label text="{i18n>CONTACT_FAX}:"/>
|
|
93
|
-
<Text text="{contact>/fax}" class="sapUiTinyMarginBottom" />
|
|
92
|
+
<Label text="{i18n>CONTACT_FAX}:" labelFor="template:::contact:::contactDetails::fax"/>
|
|
93
|
+
<Text id="template:::contact:::contactDetails::fax" text="{contact>/fax}" class="sapUiTinyMarginBottom" />
|
|
94
94
|
</VBox>
|
|
95
95
|
|
|
96
96
|
<VBox visible="{= !!${contact>/adr}}" class="sapUiTinyMarginBottom">
|
|
97
|
-
<Label text="{i18n>CONTACT_ADDRESS}:"/>
|
|
98
|
-
<Text text="{contact>/adr}" class="sapUiTinyMarginBottom" />
|
|
97
|
+
<Label text="{i18n>CONTACT_ADDRESS}:" labelFor="template:::contact:::contactDetails::address"/>
|
|
98
|
+
<Text id="template:::contact:::contactDetails::address" text="{contact>/adr}" class="sapUiTinyMarginBottom" />
|
|
99
99
|
</VBox>
|
|
100
100
|
|
|
101
101
|
</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"
|
|
@@ -89,7 +89,9 @@
|
|
|
89
89
|
<template:elseif test="{= ${dataFieldTarget>Visualization/EnumMember} === 'com.sap.vocabularies.UI.v1.VisualizationType/Progress'}">
|
|
90
90
|
<template:with path="dataFieldTarget>Value" helper="AHModel.resolvePath" var="value">
|
|
91
91
|
<!-- Progress Bar Control -->
|
|
92
|
+
<!-- The formatter 'formatDisplayValueForProgressIndicator' is used by 'AH.buildExpressionForProgressIndicatorDisplayValue' -->
|
|
92
93
|
<ProgressIndicator
|
|
94
|
+
core:require="{formatDisplayValueForProgressIndicator: 'sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator'}"
|
|
93
95
|
binding="{= ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/') > -1 ? '{' + ${path: 'dataField>Target/AnnotationPath'}.slice(0, ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/')) + '}' : null}"
|
|
94
96
|
percentValue="{ parts: [{path:'dataFieldTarget>'}, {path:'value>'}], formatter: 'AH.buildExpressionForProgressIndicatorPercentValue' }"
|
|
95
97
|
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}})}" />
|
|
@@ -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"/>
|
|
@@ -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'}"
|
|
@@ -13,8 +13,10 @@
|
|
|
13
13
|
class="navigationPopover navigationPopoverHeader sapMQuickViewPage sapSmartTemplatesSmartLinkNavPopoverContentTitleAreaTrunc">
|
|
14
14
|
<!--the icon comes from the target entity type header,
|
|
15
15
|
the binding context is set relatively to the the target, and an expand is added if the picture is behind a nav property-->
|
|
16
|
+
<!-- The formatter 'sap/suite/ui/generic/template/js/formatters/formatImageUrl' is used by 'AH.formatImageOrTypeUrl' -->
|
|
16
17
|
<Avatar
|
|
17
18
|
id="{:= ${parameter>/stableId}.getStableId({type: 'QuickView', subType: 'Avatar'})}"
|
|
19
|
+
core:require="{formatImageUrl: 'sap/suite/ui/generic/template/js/formatters/formatImageUrl'}"
|
|
18
20
|
tooltip="{path: 'header>Title/Value', formatter: 'AHModel.format'}"
|
|
19
21
|
visible="{= !!(${path: 'header>ImageUrl'} || ${path: 'header>TypeImageUrl'}) }"
|
|
20
22
|
binding="{parts:[{path: 'entitySet>'}, {path: 'quickView>/navigationPath'}, {path: 'header>ImageUrl'}, {path: 'header>TypeImageUrl'}], formatter: 'AH.getPathWithExpandFromHeader'}"
|
|
@@ -82,7 +84,7 @@
|
|
|
82
84
|
<template:if test="{= ${dataField>RecordType} !== 'com.sap.vocabularies.UI.v1.DataFieldForAction' && ${dataField>RecordType} !== 'com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation'}">
|
|
83
85
|
<template:with path="dataField>Value" helper="AHModel.resolvePath" var="dataFieldValue">
|
|
84
86
|
<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="
|
|
87
|
+
<VBox visible="{path: 'dataField>Value', formatter: 'AHModel.format'}" class="sapUiTinyMarginTop">
|
|
86
88
|
<Toolbar width="100%" height="1px"/>
|
|
87
89
|
<Toolbar>
|
|
88
90
|
<Title text="{i18n>CONTACT_OPTION}" level="H5" class="sapUiTinyMarginBegin"/>
|
|
@@ -115,7 +117,7 @@
|
|
|
115
117
|
<sfo:Layout columnsM="2" columnsL="3" columnsXL="4" labelSpanS="12" labelSpanM="12" labelSpanL="12" labelSpanXL="12" singleGroupFullSize="false" />
|
|
116
118
|
</sfo:layout>
|
|
117
119
|
<sfo:groups>
|
|
118
|
-
<sfo:Group
|
|
120
|
+
<sfo:Group title="{path: 'facet>Label' , formatter: 'AHModel.format'}">
|
|
119
121
|
<template:if test="{target>Data}">
|
|
120
122
|
<template:then>
|
|
121
123
|
<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}"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
xmlns:sfo="sap.ui.comp.smartform" xmlns:smartMultiInput="sap.ui.comp.smartmultiinput" xmlns:layoutData="sap.ui.layout" xmlns:fe="sap.suite.ui.generic.template.genericUtilities"
|
|
3
3
|
xmlns:custom="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
|
|
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
|
<!-- @classdesc @name: Name: sap.suite.ui.generic.template.fragments.SmartFormDataField.fragment.xml
|
|
8
8
|
@description: This fragment contains label value pairs for the smart form
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<!-- Prepare facetId for stableId creation
|
|
12
12
|
Note: currently only used for AddressFacet, but intentionally placed here to be used by all other stable ids in future
|
|
13
13
|
-->
|
|
14
|
-
<template:with path="parameter>/" helper="
|
|
14
|
+
<template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="facetId">
|
|
15
15
|
<template:if test="{= ${facetId>}.buildStableId({ type:'ObjectPage', subType:'StandardFacet', sRecordType: ${facet>RecordType}, sAnnotationPath: ${facet>Target/AnnotationPath} , sAnnotationId: ${facet>ID/String} }) }"/>
|
|
16
16
|
|
|
17
17
|
<template:with path="groupFacet>Target" helper="AHModel.gotoEntitySet" var="targetEntitySet">
|
|
@@ -11,8 +11,12 @@
|
|
|
11
11
|
</table:dependents>
|
|
12
12
|
<table:rowSettingsTemplate>
|
|
13
13
|
<table:RowSettings
|
|
14
|
+
core:require="{
|
|
15
|
+
setRowNavigated: 'sap/suite/ui/generic/template/js/formatters/setRowNavigated',
|
|
16
|
+
setInfoHighlight: 'sap/suite/ui/generic/template/js/formatters/setInfoHighlight'
|
|
17
|
+
}"
|
|
14
18
|
highlight="{= ${parameter>/templateSpecific/rowHighligths} || ${parts: [{path: 'entityType>'}, {path: 'parameter>/treeNode'}, {path: 'entitySet>name'}, {path: 'parameter>/checkIsDraftEnabled'}], formatter: 'AH.setRowHighlight'} }"
|
|
15
|
-
navigated="{parts: [{path: '_templPriv>/generic/currentActiveChildContext'}, {path: ''}], formatter: '
|
|
19
|
+
navigated="{parts: [{path: '_templPriv>/generic/currentActiveChildContext'}, {path: ''}], formatter: 'setRowNavigated'}" />
|
|
16
20
|
</table:rowSettingsTemplate>
|
|
17
21
|
<table:contextMenu>
|
|
18
22
|
<core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.SmartControlContextMenu" type="XML"/>
|
|
@@ -60,7 +60,9 @@
|
|
|
60
60
|
ariaLabelledBy="{columnId>id}"/>
|
|
61
61
|
</template:else>
|
|
62
62
|
</template:if>
|
|
63
|
-
<FormattedText
|
|
63
|
+
<FormattedText
|
|
64
|
+
core:require="{encodeXML: 'sap/base/security/encodeXML'}"
|
|
65
|
+
htmlText="<em>{path:'i18n>NEW_OBJECT', formatter:'encodeXML'}</em>"
|
|
64
66
|
visible="{parts: [{path: 'dataFieldValue>'}, {path: 'dataField>'}, {path: 'entityType>'}], formatter: 'AH.getHeaderVisibility'}"/>
|
|
65
67
|
<Text class="sapUiTinyMarginTop"
|
|
66
68
|
renderWhitespace="true"
|
|
@@ -90,7 +92,9 @@
|
|
|
90
92
|
<template:if test="{path: 'dataFieldValue>', formatter: 'AH.isImageUrl'}">
|
|
91
93
|
<!-- handle data field with images -->
|
|
92
94
|
<template:then>
|
|
95
|
+
<!-- The formatter 'sap/suite/ui/generic/template/js/formatters/formatImageUrl' is used by 'AH.formatImageUrl' -->
|
|
93
96
|
<Avatar
|
|
97
|
+
core:require="{formatImageUrl: 'sap/suite/ui/generic/template/js/formatters/formatImageUrl'}"
|
|
94
98
|
src="{parts:[{path: 'dataField>Value'}, {path: 'parameter>/appComponentName'}], formatter: 'AH.formatImageUrl'}"
|
|
95
99
|
tooltip="{path: 'dataFieldValue>com.sap.vocabularies.Common.v1.Text', formatter: 'AHModel.format'}"
|
|
96
100
|
displaySize="S"
|
|
@@ -195,7 +199,9 @@
|
|
|
195
199
|
<template:elseif test="{= ${dataFieldTarget>Visualization/EnumMember} === 'com.sap.vocabularies.UI.v1.VisualizationType/Progress'}">
|
|
196
200
|
<template:with path="dataFieldTarget>Value" helper="AHModel.resolvePath" var="value">
|
|
197
201
|
<VBox renderType="Bare">
|
|
202
|
+
<!-- The formatter 'formatDisplayValueForProgressIndicator' is used by 'AH.buildExpressionForProgressIndicatorDisplayValue' -->
|
|
198
203
|
<ProgressIndicator
|
|
204
|
+
core:require="{formatDisplayValueForProgressIndicator: 'sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator'}"
|
|
199
205
|
binding="{= ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/') > -1 ? '{' + ${path: 'dataField>Target/AnnotationPath'}.slice(0, ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/')) + '}' : null}"
|
|
200
206
|
percentValue="{ parts: [{path:'dataFieldTarget>'}, {path:'value>'}], formatter: 'AH.buildExpressionForProgressIndicatorPercentValue' }"
|
|
201
207
|
displayValue="{ parts: [{path:'dataFieldTarget>'}, {path:'value>Org.OData.Measures.V1.Unit'}], formatter: 'AH.buildExpressionForProgressIndicatorDisplayValue'}"
|