@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
|
@@ -19,7 +19,7 @@ SAVE=Sa\u010Duvaj
|
|
|
19
19
|
|
|
20
20
|
SAVE_AND_EDIT=Sa\u010Duvaj i uredi
|
|
21
21
|
|
|
22
|
-
SAVE_AND_NEXT=Sa\u010Duvaj i
|
|
22
|
+
SAVE_AND_NEXT=Sa\u010Duvaj i slede\u0107e
|
|
23
23
|
|
|
24
24
|
VALIDATE_DRAFT=Validiraj
|
|
25
25
|
|
|
@@ -35,11 +35,11 @@ SEG_BUTTON_TEXT={0} ({1})
|
|
|
35
35
|
|
|
36
36
|
CREATE_DRAFT_MESSAGE_TEXT=Kreirajte objekat.
|
|
37
37
|
|
|
38
|
-
SAVE_DRAFT_MESSAGE_TEXT=
|
|
38
|
+
SAVE_DRAFT_MESSAGE_TEXT=Primenite promene na sa\u010Duvanu verziju.
|
|
39
39
|
|
|
40
|
-
KEEP_DRAFT_MESSAGE_TEXT=
|
|
40
|
+
KEEP_DRAFT_MESSAGE_TEXT=Promene su vidljive samo vama i ne uti\u010Du na zavisne procese i funkcije.
|
|
41
41
|
|
|
42
|
-
DISCARD_DRAFT_MESSAGE_TEXT=Sve
|
|
42
|
+
DISCARD_DRAFT_MESSAGE_TEXT=Sve promene \u0107e biti izgubljene.
|
|
43
43
|
|
|
44
44
|
RESUME=Nastavi
|
|
45
45
|
|
|
@@ -57,9 +57,12 @@ MSG_SUBTITLE_ROW_HIDDEN_COLUMN_HIDDEN=Red (skriveno)\: {0}, kolona (skriveno)\:
|
|
|
57
57
|
|
|
58
58
|
CONTACT_INFO=Informacije o kontaktu
|
|
59
59
|
|
|
60
|
-
CONTACT_JOB_TITLE=Naziv radnog mjesta
|
|
61
60
|
|
|
62
|
-
|
|
61
|
+
CONTACT_OPTION=Microsoft Teams
|
|
62
|
+
|
|
63
|
+
CONTACT_JOB_TITLE=Naziv radnog mesta
|
|
64
|
+
|
|
65
|
+
CONTACT_DEPARTMENT=Odeljenje
|
|
63
66
|
|
|
64
67
|
CONTACT_ADDRESS=Adresa
|
|
65
68
|
|
|
@@ -73,9 +76,9 @@ CONTACT_FAX=Faks
|
|
|
73
76
|
|
|
74
77
|
RELATED_APPS=Povezane aplikacije
|
|
75
78
|
|
|
76
|
-
NO_RELATED_APPS=Povezane aplikacije
|
|
79
|
+
NO_RELATED_APPS=Povezane aplikacije nisu dostupne
|
|
77
80
|
|
|
78
|
-
NOITEMS=Unosi
|
|
81
|
+
NOITEMS=Unosi nisu na\u0111eni
|
|
79
82
|
|
|
80
83
|
NAVIGATE_TO_DETAIL=Poka\u017Ei detalje
|
|
81
84
|
|
|
@@ -88,7 +91,7 @@ EDIT_BUTTON_DESCRIPTION=Uredi\:
|
|
|
88
91
|
|
|
89
92
|
CANCEL_AND_DISCARD=Odbaciti ovaj nacrt?
|
|
90
93
|
|
|
91
|
-
DISCARD_EDIT=Odbaciti sve
|
|
94
|
+
DISCARD_EDIT=Odbaciti sve promene?
|
|
92
95
|
|
|
93
96
|
CANCEL_AND_DISCARD_ND=Odbaciti ovaj objekat?
|
|
94
97
|
|
|
@@ -98,25 +101,25 @@ DELETE=Izbri\u0161i
|
|
|
98
101
|
|
|
99
102
|
LOCKED_OBJECT_POPOVER_TITLE=Zaklju\u010Dano
|
|
100
103
|
|
|
101
|
-
LOCKED_OBJECT_POPOVER_NO_DATA_TEXT=Detaljne informacije
|
|
104
|
+
LOCKED_OBJECT_POPOVER_NO_DATA_TEXT=Detaljne informacije nisu dostupne.
|
|
102
105
|
|
|
103
|
-
LOCKED_OBJECT_POPOVER_CHANGED_AT=
|
|
106
|
+
LOCKED_OBJECT_POPOVER_CHANGED_AT=Poslednji put promenjeno {0}
|
|
104
107
|
|
|
105
108
|
DRAFT_OBJECT=Nacrt
|
|
106
109
|
|
|
107
110
|
LOCKED_OBJECT=Zaklju\u010Dano
|
|
108
111
|
|
|
109
|
-
UNSAVED_CHANGES=Nesa\u010Duvane
|
|
112
|
+
UNSAVED_CHANGES=Nesa\u010Duvane promene
|
|
110
113
|
|
|
111
|
-
SHARE=
|
|
114
|
+
SHARE=Podeli
|
|
112
115
|
|
|
113
116
|
SUMMARIZE=Sa\u017Emi
|
|
114
117
|
|
|
115
|
-
PASTE_COMPLETE=
|
|
118
|
+
PASTE_COMPLETE=Lepljenje zavr\u0161eno
|
|
116
119
|
|
|
117
|
-
PARTIAL_PASTE=
|
|
120
|
+
PARTIAL_PASTE=Delimi\u010Dno lepljenje zavr\u0161eno. {0} kolona je isklju\u010Dena.
|
|
118
121
|
|
|
119
|
-
PARTIAL_PASTE_PLURAL=
|
|
122
|
+
PARTIAL_PASTE_PLURAL=Delimi\u010Dno lepljenje zavr\u0161eno. {0} kolona je isklju\u010Deno.
|
|
120
123
|
|
|
121
124
|
|
|
122
125
|
|
|
@@ -129,15 +132,15 @@ PROGRESS_INDICATOR_DISPLAY_VALUE_UOM_IS_NOT_PERCENT={0} od {1} {2}
|
|
|
129
132
|
|
|
130
133
|
|
|
131
134
|
|
|
132
|
-
DRAFT_LOCK_EXPIRED=Dr.kor.je uredio ovaj obj.bez snim.
|
|
135
|
+
DRAFT_LOCK_EXPIRED=Dr.kor.je uredio ovaj obj.bez snim.promena\:\n\n {0} \n\n Ako vi preuzmete, sve prom.\u0107e biti izgubljene.
|
|
133
136
|
|
|
134
|
-
OBJECT_SAVED=Va\u0161e
|
|
137
|
+
OBJECT_SAVED=Va\u0161e promene su sa\u010Duvane.
|
|
135
138
|
|
|
136
139
|
ITEM_CREATED=Stavka kreirana
|
|
137
140
|
|
|
138
141
|
WAITING_SMARTTABLE=Sa\u010Dekajte da se pod.u\u010Ditaju...
|
|
139
142
|
|
|
140
|
-
OBJECT_NOT_MODIFIED=
|
|
143
|
+
OBJECT_NOT_MODIFIED=Niste izvr\u0161ili promene.
|
|
141
144
|
|
|
142
145
|
OBJECT_CREATED=Objekat je kreiran.
|
|
143
146
|
|
|
@@ -182,13 +185,13 @@ MESSAGE_GROUP_TABLE={0}, tabela\: {1}
|
|
|
182
185
|
|
|
183
186
|
GENERIC_MESSAGE_GROUP_NAME=Druge poruke
|
|
184
187
|
|
|
185
|
-
ENTER_MANDATORY=Unesite
|
|
188
|
+
ENTER_MANDATORY=Unesite vrednost za {0} polje.
|
|
186
189
|
|
|
187
|
-
REQUIRED_PROP_ERROR=Unesite
|
|
190
|
+
REQUIRED_PROP_ERROR=Unesite vrednost.
|
|
188
191
|
|
|
189
|
-
REQUIRED_PROP_COLUMN_HIDDEN_ERROR=Tabela sadr\u017Ei gre\u0161ke. {0} je obavezna
|
|
190
|
-
REQUIRED_PROP_COLUMN_HIDDEN_ERROR_PLURAL=Tabela sadr\u017Ei gre\u0161ke. {0} su obavezne
|
|
192
|
+
REQUIRED_PROP_COLUMN_HIDDEN_ERROR=Tabela sadr\u017Ei gre\u0161ke. {0} je obavezna vrednost, ali nije prikazana u tabeli. Dodajte je u pode\u0161avanjima pogleda.
|
|
193
|
+
REQUIRED_PROP_COLUMN_HIDDEN_ERROR_PLURAL=Tabela sadr\u017Ei gre\u0161ke. {0} su obavezne vrednosti, ali nisu prikazane u tabeli. Dodajte ih u pode\u0161avanjima pogleda.
|
|
191
194
|
|
|
192
195
|
T_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=Prethodna stavka
|
|
193
196
|
|
|
194
|
-
T_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_DOWN=
|
|
197
|
+
T_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_DOWN=Slede\u0107a stavka
|
|
@@ -57,6 +57,9 @@ MSG_SUBTITLE_ROW_HIDDEN_COLUMN_HIDDEN=\u0420\u0435\u0434 (\u0441\u043A\u0440\u04
|
|
|
57
57
|
|
|
58
58
|
CONTACT_INFO=\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0458\u0435 \u043E \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u0443
|
|
59
59
|
|
|
60
|
+
|
|
61
|
+
CONTACT_OPTION=Microsoft Teams
|
|
62
|
+
|
|
60
63
|
CONTACT_JOB_TITLE=\u041D\u0430\u0437\u0438\u0432 \u0440\u0430\u0434\u043D\u043E\u0433 \u043C\u0435\u0441\u0442\u0430
|
|
61
64
|
|
|
62
65
|
CONTACT_DEPARTMENT=\u041E\u0434\u0435\u0459\u0435\u045A\u0435
|
|
@@ -57,6 +57,9 @@ MSG_SUBTITLE_ROW_HIDDEN_COLUMN_HIDDEN=\u0E41\u0E16\u0E27 (\u0E0B\u0E48\u0E2D\u0E
|
|
|
57
57
|
|
|
58
58
|
CONTACT_INFO=\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1A\u0E38\u0E04\u0E04\u0E25\u0E17\u0E35\u0E48\u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D
|
|
59
59
|
|
|
60
|
+
|
|
61
|
+
CONTACT_OPTION=Microsoft Teams
|
|
62
|
+
|
|
60
63
|
CONTACT_JOB_TITLE=\u0E0A\u0E37\u0E48\u0E2D\u0E07\u0E32\u0E19
|
|
61
64
|
|
|
62
65
|
CONTACT_DEPARTMENT=\u0E41\u0E1C\u0E19\u0E01
|
|
@@ -57,6 +57,9 @@ MSG_SUBTITLE_ROW_HIDDEN_COLUMN_HIDDEN=Sat\u0131r (gizli)\: {0}, s\u00FCtun (gizl
|
|
|
57
57
|
|
|
58
58
|
CONTACT_INFO=\u0130lgili ki\u015Fi bilgileri
|
|
59
59
|
|
|
60
|
+
|
|
61
|
+
CONTACT_OPTION=Microsoft Teams
|
|
62
|
+
|
|
60
63
|
CONTACT_JOB_TITLE=\u0130\u015F tan\u0131m\u0131
|
|
61
64
|
|
|
62
65
|
CONTACT_DEPARTMENT=Departman
|
|
@@ -57,6 +57,9 @@ MSG_SUBTITLE_ROW_HIDDEN_COLUMN_HIDDEN=\u0420\u044F\u0434\u043E\u043A (\u043F\u04
|
|
|
57
57
|
|
|
58
58
|
CONTACT_INFO=\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u0430 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F
|
|
59
59
|
|
|
60
|
+
|
|
61
|
+
CONTACT_OPTION=Microsoft Teams
|
|
62
|
+
|
|
60
63
|
CONTACT_JOB_TITLE=\u041D\u0430\u0437\u0432\u0430 \u043F\u043E\u0441\u0430\u0434\u0438
|
|
61
64
|
|
|
62
65
|
CONTACT_DEPARTMENT=\u0412\u0456\u0434\u0434\u0456\u043B
|
|
@@ -57,6 +57,9 @@ MSG_SUBTITLE_ROW_HIDDEN_COLUMN_HIDDEN=Ha\u0300ng (\u00E2\u0309n)\: {0}, c\u00F4\
|
|
|
57
57
|
|
|
58
58
|
CONTACT_INFO=Th\u00F4ng tin li\u00EAn h\u00EA\u0323
|
|
59
59
|
|
|
60
|
+
|
|
61
|
+
CONTACT_OPTION=Microsoft Teams
|
|
62
|
+
|
|
60
63
|
CONTACT_JOB_TITLE=Ch\u01B0\u0301c vu\u0323
|
|
61
64
|
|
|
62
65
|
CONTACT_DEPARTMENT=Ph\u00F2ng ban
|
|
@@ -115,8 +115,10 @@
|
|
|
115
115
|
</uxap:ObjectPageDynamicHeaderTitle>
|
|
116
116
|
</template:then>
|
|
117
117
|
<template:else>
|
|
118
|
+
<!-- The formatter 'sap/suite/ui/generic/template/js/formatters/formatImageUrl' is used by 'AH.formatHeaderImage' -->
|
|
118
119
|
<uxap:ObjectPageHeader
|
|
119
120
|
id="objectPageHeader"
|
|
121
|
+
core:require="{formatImageUrl: 'sap/suite/ui/generic/template/js/formatters/formatImageUrl'}"
|
|
120
122
|
objectTitle="{_templPriv>/objectPage/headerInfo/objectTitle}"
|
|
121
123
|
objectSubtitle="{_templPriv>/objectPage/headerInfo/objectSubtitle}"
|
|
122
124
|
objectImageURI="{parts:[{path: 'entityType>com.sap.vocabularies.UI.v1.HeaderInfo'}, {path: 'parameter>/appComponentName'}], formatter: 'AH.formatHeaderImage'}"
|
package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/CRUDActionButtons.fragment.xml
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
press="{createAction>press}"
|
|
13
13
|
fesr:press="fe:createItem"
|
|
14
14
|
enabled="{createAction>enabled}"
|
|
15
|
-
visible="{parts: [{path: 'entitySet>'}, {path: 'listEntitySet>'}, {path: 'parameter>/settings/subPages/'}, {path: 'facet>'}, {path: 'parameter>/settings
|
|
15
|
+
visible="{parts: [{path: 'entitySet>'}, {path: 'listEntitySet>'}, {path: 'parameter>/settings/subPages/'}, {path: 'facet>'}, {path: 'parameter>/settings'}, {path: 'parameter>/isDraftEnabled'}, {path: 'createWithParameterDialog>'}, {path: 'objectPageTableSettings>value/type'}], formatter: 'AH.isRelatedEntityCreatable'}">
|
|
16
16
|
<template:if test="!${createAction>isStandardAction}">
|
|
17
17
|
<layoutData>
|
|
18
18
|
<OverflowToolbarLayoutData priority = "{createAction>importance}"/>
|
package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:layout="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
|
<!-- Prepare facetId for stableId creation
|
|
6
6
|
Note: currently only used for AddressFacet, but intentionally placed here to be used by all other stable ids in future
|
|
7
7
|
-->
|
|
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:'EditableHeaderFacet', sRecordType: ${facet>RecordType}, sAnnotationPath: ${facet>Target/AnnotationPath} , sAnnotationId: ${facet>ID/String} }) }"/>
|
|
10
10
|
|
|
11
11
|
<template:with path="parameter>/manifest/sap.ui5/extends/extensions/sap.ui.viewExtensions/sap.suite.ui.generic.template.ObjectPage.view.Details"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<core:FragmentDefinition xmlns:core="sap.ui.core" xmlns:layout="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
|
<!-- @classdesc @name: Name: sap.suite.ui.generic.template.ObjectPage.view.fragments.Facet.fragment.xml
|
|
6
6
|
@param {UI.Facet} [facet] @param {edm.EntitySet} [entitySet] @param {edm.EntityType}
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
sRecordType when trying to build the id.
|
|
49
49
|
AddressFacet is the only case, where facetId is used, so we create it only here. In this case, facet obviously is provided.
|
|
50
50
|
-->
|
|
51
|
-
<template:with path="parameter>/" helper="
|
|
51
|
+
<template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="facetId">
|
|
52
52
|
<template:if test="{= ${facetId>}.buildStableId({ type:'ObjectPage', subType:'StandardFacet', sRecordType: ${facet>RecordType}, sAnnotationPath: ${facet>Target/AnnotationPath} , sAnnotationId: ${facet>ID/String} }) }"/>
|
|
53
53
|
<template:with path="facet>Target" helper="AHModel.resolvePath" var="address">
|
|
54
54
|
<core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.AddressFacet" type="XML"/>
|
package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderContainer.fragment.xml
CHANGED
|
@@ -7,7 +7,9 @@
|
|
|
7
7
|
var="manifestViewExtensions">
|
|
8
8
|
<template:if test="{entityType>com.sap.vocabularies.UI.v1.HeaderInfo/ImageUrl}">
|
|
9
9
|
<template:then>
|
|
10
|
+
<!-- The formatter 'sap/suite/ui/generic/template/js/formatters/formatImageUrl' is used by 'AH.formatImageUrl' -->
|
|
10
11
|
<Avatar id="objectImage"
|
|
12
|
+
core:require="{formatImageUrl: 'sap/suite/ui/generic/template/js/formatters/formatImageUrl'}"
|
|
11
13
|
tooltip="{_templPriv>/objectPage/headerInfo/objectTitle}"
|
|
12
14
|
src="{parts:[{path: 'entityType>com.sap.vocabularies.UI.v1.HeaderInfo/ImageUrl'}, {path: 'parameter>/appComponentName'}, {value: true}], formatter: 'AH.formatImageUrl'}"
|
|
13
15
|
displaySize="L"
|
|
@@ -35,7 +37,9 @@
|
|
|
35
37
|
</template:if>
|
|
36
38
|
</template:then>
|
|
37
39
|
<template:elseif test="{entityType>com.sap.vocabularies.UI.v1.HeaderInfo/TypeImageUrl}">
|
|
40
|
+
<!-- The formatter 'sap/suite/ui/generic/template/js/formatters/formatImageUrl' is used by 'AH.formatImageUrl' -->
|
|
38
41
|
<Avatar id="objectTypeImage"
|
|
42
|
+
core:require="{formatImageUrl: 'sap/suite/ui/generic/template/js/formatters/formatImageUrl'}"
|
|
39
43
|
tooltip="{_templPriv>/objectPage/headerInfo/objectTitle}"
|
|
40
44
|
src="{parts:[{path: 'entityType>com.sap.vocabularies.UI.v1.HeaderInfo/TypeImageUrl'}, {path: 'parameter>/appComponentName'}, {value: true}], formatter: 'AH.formatImageUrl'}"
|
|
41
45
|
displaySize="L"
|
package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderImage.fragment.xml
CHANGED
|
@@ -7,7 +7,9 @@
|
|
|
7
7
|
<!-- If the ObjectPageDynamicHeaderTitle is not snapped (expanded) the Image in this fragment isn't visible but the Image in the HeaderContent fragment is shown instead -->
|
|
8
8
|
<template:if test="{entityType>com.sap.vocabularies.UI.v1.HeaderInfo/ImageUrl}">
|
|
9
9
|
<template:then>
|
|
10
|
+
<!-- The formatter 'sap/suite/ui/generic/template/js/formatters/formatImageUrl' is used by 'AH.formatImageUrl' -->
|
|
10
11
|
<Avatar id="template::ObjectPage::TitleImage"
|
|
12
|
+
core:require="{formatImageUrl: 'sap/suite/ui/generic/template/js/formatters/formatImageUrl'}"
|
|
11
13
|
tooltip="{_templPriv>/objectPage/headerInfo/objectTitle}"
|
|
12
14
|
src="{parts:[{path: 'entityType>com.sap.vocabularies.UI.v1.HeaderInfo/ImageUrl'}, {path: 'parameter>/appComponentName'}, {value: true}], formatter: 'AH.formatImageUrl'}"
|
|
13
15
|
displaySize="S"
|
|
@@ -34,7 +36,9 @@
|
|
|
34
36
|
</template:if>
|
|
35
37
|
</template:then>
|
|
36
38
|
<template:elseif test="{entityType>com.sap.vocabularies.UI.v1.HeaderInfo/TypeImageUrl}">
|
|
39
|
+
<!-- The formatter 'sap/suite/ui/generic/template/js/formatters/formatImageUrl' is used by 'AH.formatImageUrl' -->
|
|
37
40
|
<Avatar id="template::ObjectPage::TitleImage"
|
|
41
|
+
core:require="{formatImageUrl: 'sap/suite/ui/generic/template/js/formatters/formatImageUrl'}"
|
|
38
42
|
tooltip="{_templPriv>/objectPage/headerInfo/objectTitle}"
|
|
39
43
|
src="{parts:[{path: 'entityType>com.sap.vocabularies.UI.v1.HeaderInfo/TypeImageUrl'}, {path: 'parameter>/appComponentName'}, {value: true}], formatter: 'AH.formatImageUrl'}"
|
|
40
44
|
displaySize="S"
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
<!-- This fragment is used inside SmartTableToolbar.fragment. It handles the case of multiple views in a single table for Object Page sections. -->
|
|
2
2
|
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"
|
|
3
|
-
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
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', AHMultipleViews:'sap/suite/ui/generic/template/js/AnnotationHelperMultipleViews', StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
|
|
4
5
|
|
|
5
6
|
<template:if test="{parts: [{path: 'facet>'}, {path: 'parameter>/settings'}], formatter: 'AHMultipleViews.hasQuickVariantSelectionInObjectPageSection'}">
|
|
6
7
|
<template:with path="parameter>/settings/sections" var="sections">
|
|
7
|
-
<template:with path="parameter>/" helper="
|
|
8
|
+
<template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="facetId">
|
|
8
9
|
<template:if test="{= ${facetId>}.buildStableId({type: 'ObjectPage', subType: 'Facet', sRecordType: ${facet>RecordType}, sAnnotationPath: ${facet>Target/AnnotationPath}, sAnnotationId: ${facet>ID/String}, bIsHeaderFacet: ${isHeaderFacet>value}})}"/>
|
|
9
10
|
<template:if test="{parts: [{path: 'facet>'}, {path: 'parameter>/settings'}], formatter: 'AHMultipleViews.useSegmentedButtonInOP'}">
|
|
10
11
|
<template:then>
|
package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/PageLevelCommands.fragment.xml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<core:FragmentDefinition xmlns:core="sap.ui.core"
|
|
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'}">
|
|
3
|
+
template:require="{ AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
|
|
4
4
|
|
|
5
5
|
<template:if test="{= ${parameter>/treeNode/level} === 1 || !${parameter>/isDraftEnabled} }">
|
|
6
|
-
<template:with path="parameter>/" helper="
|
|
6
|
+
<template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="actionId">
|
|
7
7
|
<template:if test="{= ${actionId>}.buildStableId({type: 'ObjectPageAction', subType: 'CommonAction', sAction: ${parameter>/isDraftEnabled} ? 'discard' : 'cancel' })}" />
|
|
8
8
|
<core:CommandExecution execute="._templateEventHandlers.onCancel"
|
|
9
9
|
command="Cancel"
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
AHReuseComponents: 'sap/suite/ui/generic/template/js/AnnotationHelperReuseComponents',
|
|
5
5
|
AHSideContent: 'sap/suite/ui/generic/template/ObjectPage/annotationHelpers/AnnotationHelperSideContent',
|
|
6
6
|
AHActionButtons: 'sap/suite/ui/generic/template/ObjectPage/annotationHelpers/AnnotationHelperActionButtons',
|
|
7
|
-
AHModel: 'sap/ui/model/odata/AnnotationHelper'
|
|
7
|
+
AHModel: 'sap/ui/model/odata/AnnotationHelper',
|
|
8
|
+
StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
|
|
8
9
|
|
|
9
10
|
<template:if test="{parameter>/settings/editableHeaderContent}">
|
|
10
11
|
<uxap:ObjectPageSection title="{i18n>HEADER}" class="{section>CSSClass}" titleUppercase="false" visible="{ui>/editable}" titleLevel="H3" showTitle="{section>bShowTitle}">
|
|
@@ -144,7 +145,7 @@
|
|
|
144
145
|
<template:else>
|
|
145
146
|
<template:with path="section>facetIdAsObject" var="facetId">
|
|
146
147
|
<!-- The id of the object page section is also used by the call of AHReuseComponents.getFollowingComponentsForFacet below. Therefore, it is prepared in variable objectPageSectionId -->
|
|
147
|
-
<template:with path="parameter>/" helper="
|
|
148
|
+
<template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="objectPageSectionId">
|
|
148
149
|
<template:if test="{= ${objectPageSectionId>}.buildStableId({type: 'ObjectPage', subType: 'Section', sFacet: ${facetId>id}})}"/>
|
|
149
150
|
<uxap:ObjectPageSection
|
|
150
151
|
id="{objectPageSectionId>id}"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<!-- This fragment describes the side content action button, which can be used to toggle the visibility of the side content -->
|
|
2
2
|
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:uxap="sap.uxap"
|
|
3
3
|
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
4
|
-
template:require="{AHSideContent: 'sap/suite/ui/generic/template/ObjectPage/annotationHelpers/AnnotationHelperSideContent'}">
|
|
4
|
+
template:require="{AHSideContent: 'sap/suite/ui/generic/template/ObjectPage/annotationHelpers/AnnotationHelperSideContent', StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
|
|
5
5
|
|
|
6
6
|
<template:if test="{parts: [{path: 'entitySet>name'}, {path: 'subSection>additionalData/facetId'}, {path: 'manifestViewExtensions>'}], formatter: 'AHSideContent.getSideContentExtensionPoint'}">
|
|
7
7
|
<uxap:actions>
|
|
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: ${facet>RecordType}, sAnnotationPath: ${facet>Target/AnnotationPath}, sAnnotationId: ${facet>ID/String}, bIsHeaderFacet: ${isHeaderFacet>value}})}"/>
|
|
10
10
|
<Button id="{:= ${parameter>/stableId}.getStableId({ type:'ObjectPageSection', subType:'SideContentButton', sFacet: ${facetId>id}}) }"
|
|
11
11
|
text="{path: 'facetId>id', formatter: 'AHSideContent.formatTextForSideContentButton'}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:st="sap.ui.comp.smarttable" xmlns:table="sap.ui.table" xmlns:layout="sap.ui.layout" xmlns:plugins="sap.m.plugins"
|
|
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
|
<!-- @classdesc @name: Name: sap.suite.ui.generic.template.ObjectPage.view.fragments.SmartTable.fragment.xml
|
|
6
6
|
@param {UI.Facet} [facet] @param {edm.EntitySet} [entitySet] @param {edm.EntityType}
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
<template:with path="listEntitySet>entityType" helper="AHModel.gotoEntityType" var="listEntityType">
|
|
11
11
|
<template:with path="target>" helper="AHModel.resolvePath" var="collection">
|
|
12
12
|
<template:with path="listEntityType>com.sap.vocabularies.UI.v1.HeaderInfo" var="header">
|
|
13
|
-
<template:with path="parameter>/" helper="
|
|
14
|
-
<template:with path="parameter>/" helper="
|
|
13
|
+
<template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="smartControlId">
|
|
14
|
+
<template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="facetId">
|
|
15
15
|
<template:if test="{= ${facetId>}.buildStableId({type: 'ObjectPage', subType: 'Facet', sRecordType: ${facet>RecordType}, sAnnotationPath: ${facet>Target/AnnotationPath}, sAnnotationId: ${facet>ID/String}, bIsHeaderFacet: ${isHeaderFacet>value}})}"/>
|
|
16
16
|
<template:if test="{= ${smartControlId>}.buildStableId({type: 'ObjectPageTable', subType: 'SmartTable', sFacet: ${facetId>id}})}" />
|
|
17
17
|
<!-- Header Level for Smart Table is hardcoded here with "H5" for fallback scenarios, After Section Title hiding logic, if required the level is calculated on the class /ObjectPage/controller/SectionTitleHandler.js-->
|
|
@@ -124,8 +124,8 @@
|
|
|
124
124
|
<template:if test="{= ${parameter>/isDraftEnabled} }">
|
|
125
125
|
<template:then>
|
|
126
126
|
<st:customData>
|
|
127
|
-
<core:CustomData key="creationMode" value="{parts: [{path: 'facet>'}, {path: 'parameter>/settings
|
|
128
|
-
<core:CustomData key="disableInlineCreateSort" value="{parts: [{path: 'facet>'}, {path: 'parameter>/settings
|
|
127
|
+
<core:CustomData key="creationMode" value="{parts: [{path: 'facet>'}, {path: 'parameter>/settings'}], formatter: 'AH.getCreationMode'}" />
|
|
128
|
+
<core:CustomData key="disableInlineCreateSort" value="{parts: [{path: 'facet>'}, {path: 'parameter>/settings'}], formatter: 'AH.isInlineCreateSorting'}" />
|
|
129
129
|
<core:CustomData key="isCreationAllowedByBoolAndPathRestrictions" value="{= ${parts: [{path: 'listEntitySet>Org.OData.Capabilities.V1.InsertRestrictions'}, {path: 'listEntitySet>'}, {value: 'Insertable'}, {path: 'entitySet>'}], formatter: 'AH.isCreationAllowedByBoolAndPathRestrictions'}}"/>
|
|
130
130
|
<core:CustomData key="inlineCreationRowsConfig" value="{= ${parts: [{path: 'entitySet>'}, {path: 'listEntitySet>'}], formatter: 'AH.buildInlineCreationRowsConfig'} }"/>
|
|
131
131
|
</st:customData>
|
|
@@ -142,7 +142,6 @@
|
|
|
142
142
|
visibleRowCountMode="Auto" enableColumnReordering="true"
|
|
143
143
|
rowSelectionChange="._templateEventHandlers.onSelectionChange"
|
|
144
144
|
beforeOpenContextMenu="._templateEventHandlers.beforeOpenContextMenu($event, '{smartControlId>id}')"
|
|
145
|
-
showColumnVisibilityMenu="false"
|
|
146
145
|
enableColumnFreeze="true" enableCellFilter="true" rowActionCount="{= ${parts: [ {path: 'listEntitySet>'}, {path: 'parameter>/settings/subPages/'}, {path: 'parameter>/manifest'}, {path: 'facet>Target/AnnotationPath'},{path: 'parameter>/isDraftEnabled'}], formatter: 'AH.getRowActionCountForDetailPage'}}">
|
|
147
146
|
<core:Fragment fragmentName="sap.suite.ui.generic.template.ObjectPage.view.fragments.SmartTableUiTableCommons" type="XML"/>
|
|
148
147
|
<table:columns>
|
|
@@ -174,7 +173,7 @@
|
|
|
174
173
|
<!--Tree table implementation: Ends-->
|
|
175
174
|
<template:elseif test="{= ${objectPageTableSettings>value/type} === 'GridTable'}">
|
|
176
175
|
<table:Table id="{path: 'facet>', formatter: 'AH.getStableIdPartFromFacet'}::gridTable"
|
|
177
|
-
enableColumnReordering="true"
|
|
176
|
+
enableColumnReordering="true" visibleRowCountMode="Auto"
|
|
178
177
|
rowSelectionChange="._templateEventHandlers.onSelectionChange"
|
|
179
178
|
beforeOpenContextMenu="._templateEventHandlers.beforeOpenContextMenu($event, '{smartControlId>id}')"
|
|
180
179
|
enableColumnFreeze="true" enableCellFilter="true"
|
|
@@ -199,7 +198,7 @@
|
|
|
199
198
|
delete="._templateEventHandlers.deleteEntry"
|
|
200
199
|
itemPress="._templateEventHandlers.onListNavigate"
|
|
201
200
|
updateFinished="._templateEventHandlers.checkUpdateFinished"
|
|
202
|
-
sticky="ColumnHeaders,HeaderToolbar"
|
|
201
|
+
sticky="ColumnHeaders,HeaderToolbar,InfoToolbar"
|
|
203
202
|
multiSelectMode="{= (${objectPageTableSettings>value/multiSelect} && ${objectPageTableSettings>value/selectAll}) ? 'SelectAll' : 'ClearAll'}">
|
|
204
203
|
<template:with path="objectPageTableSettings>value" var="tableSettings">
|
|
205
204
|
<core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.SmartTableResponsiveTableCommons" type="XML" />
|
|
@@ -367,18 +367,19 @@ sap.ui.define(["../../js/QuickTemplates/QuickActionBaseController", "../../js/Qu
|
|
|
367
367
|
onRemoveLineItemPress: function (oEvent) {
|
|
368
368
|
var that = this;
|
|
369
369
|
this.setBusy(true);
|
|
370
|
-
var
|
|
370
|
+
var oContext = oEvent.getSource().getBindingContext();
|
|
371
371
|
|
|
372
372
|
if (this.bDraftEnabled) {
|
|
373
373
|
this.oTransactionController.triggerSubmitChanges().then(function (oResponse) {
|
|
374
|
-
that._deleteLineItem(
|
|
374
|
+
that._deleteLineItem(oContext);
|
|
375
375
|
}, function (oError) {
|
|
376
376
|
this.setBusy(false);
|
|
377
377
|
this.onError(oError);
|
|
378
378
|
|
|
379
379
|
}.bind(this));
|
|
380
380
|
} else {
|
|
381
|
-
|
|
381
|
+
var sContextPath = oContext.getPath();
|
|
382
|
+
this.getView().getModel().resetChanges([sContextPath], undefined, true);
|
|
382
383
|
this.setBusy(false);
|
|
383
384
|
if (this.oQuickCreateAPI) {
|
|
384
385
|
this.oQuickCreateAPI.calculateViewHeight(this.getView(), false);
|
|
@@ -7,7 +7,10 @@
|
|
|
7
7
|
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
8
8
|
xmlns:smart="sap.ui.comp.smartfield"
|
|
9
9
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
10
|
-
xmlns:semantic="sap.m.semantic"
|
|
10
|
+
xmlns:semantic="sap.m.semantic"
|
|
11
|
+
template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper',
|
|
12
|
+
AHModel: 'sap/ui/model/odata/AnnotationHelper',
|
|
13
|
+
AHQuickTemplates: 'sap/suite/ui/generic/template/js/QuickTemplates/AnnotationHelper'}">
|
|
11
14
|
|
|
12
15
|
<BusyIndicator visible="{ui>/busy}" class="sapQuickActionCenteredBusyIndicator"></BusyIndicator>
|
|
13
16
|
|
|
@@ -22,9 +25,9 @@
|
|
|
22
25
|
<headerToolbar>
|
|
23
26
|
<Toolbar>
|
|
24
27
|
<FlexBox class="sapQuickCreateTitle" width="100%" alignItems="Left" justifyContent="Left">
|
|
25
|
-
<template:with path="entitySet>entityType" helper="
|
|
26
|
-
<template:with path="entityType>com.sap.vocabularies.UI.v1.QuickCreateFacets" helper="
|
|
27
|
-
<Title text="{path: 'target>Label', formatter: '
|
|
28
|
+
<template:with path="entitySet>entityType" helper="AHModel.gotoEntityType" var="entityType">
|
|
29
|
+
<template:with path="entityType>com.sap.vocabularies.UI.v1.QuickCreateFacets" helper="AHQuickTemplates.resolveFieldGroupTarget" var="target">
|
|
30
|
+
<Title text="{path: 'target>Label', formatter: 'AH.formatWithExpandSimple'}"/>
|
|
28
31
|
</template:with>
|
|
29
32
|
</template:with>
|
|
30
33
|
</FlexBox>
|
|
@@ -32,8 +35,8 @@
|
|
|
32
35
|
</headerToolbar>
|
|
33
36
|
<content>
|
|
34
37
|
<VBox class="quickTemplateVBox">
|
|
35
|
-
<template:with path="entitySet>entityType" helper="
|
|
36
|
-
<template:with path="entityType>com.sap.vocabularies.UI.v1.QuickCreateFacets" helper="
|
|
38
|
+
<template:with path="entitySet>entityType" helper="AHModel.gotoEntityType" var="entityType">
|
|
39
|
+
<template:with path="entityType>com.sap.vocabularies.UI.v1.QuickCreateFacets" helper="AHQuickTemplates.resolveFieldGroupTarget" var="target">
|
|
37
40
|
<smartForm:SmartForm id="QuickCreateSmartForm"
|
|
38
41
|
editable="true"
|
|
39
42
|
visible="{quickCreate>/draftExists}"
|
|
@@ -56,12 +59,12 @@
|
|
|
56
59
|
<smartForm:Group>
|
|
57
60
|
<smartForm:GroupElement>
|
|
58
61
|
<smart:SmartField
|
|
59
|
-
id="field::{path: 'dataField>', formatter: '
|
|
62
|
+
id="field::{path: 'dataField>', formatter: 'AH.getStableIdPartFromDataField'}"
|
|
60
63
|
editable="true"
|
|
61
64
|
clientSideMandatoryCheck="false"
|
|
62
65
|
contextEditable="true"
|
|
63
66
|
change=".onChange"
|
|
64
|
-
value="{path: 'dataField>Value', formatter: '
|
|
67
|
+
value="{path: 'dataField>Value', formatter: 'AHModel.format'}"
|
|
65
68
|
innerControlsCreated="onSmartFieldsCreated"
|
|
66
69
|
width="100%"/>
|
|
67
70
|
</smartForm:GroupElement>
|
|
@@ -69,29 +72,29 @@
|
|
|
69
72
|
</template:repeat>
|
|
70
73
|
</smartForm:SmartForm>
|
|
71
74
|
</template:with>
|
|
72
|
-
<template:with path="entityType>com.sap.vocabularies.UI.v1.QuickCreateFacets" helper="
|
|
73
|
-
<template:if test="{path: 'facet>Target', formatter: '
|
|
75
|
+
<template:with path="entityType>com.sap.vocabularies.UI.v1.QuickCreateFacets" helper="AHQuickTemplates.resolveLineItemFacet" var="facet">
|
|
76
|
+
<template:if test="{path: 'facet>Target', formatter: 'AHModel.isMultiple'}">
|
|
74
77
|
<template:then>
|
|
75
|
-
<template:with path="facet>Target" helper="
|
|
78
|
+
<template:with path="facet>Target" helper="AHModel.resolvePath" var="target">
|
|
76
79
|
<HBox visible="{quickCreate>/draftExists}" width="100%" alignItems="Center" justifyContent="Center" class="sapUiSmallMarginEnd sapQuickCreateLineItemTable">
|
|
77
80
|
<Table
|
|
78
81
|
updateStarted="onTableUpdateStarted"
|
|
79
82
|
updateFinished="onTableUpdateFinished"
|
|
80
83
|
backgroundDesign="Translucent"
|
|
81
|
-
items="{parts:[{path:'entitySet>entityType'}, {path: 'parameter>/isDraftEnabled'}], formatter: '
|
|
84
|
+
items="{parts:[{path:'entitySet>entityType'}, {path: 'parameter>/isDraftEnabled'}], formatter: 'AHQuickTemplates.formatBindingPathForLineItems'}">
|
|
82
85
|
<headerToolbar>
|
|
83
86
|
<Toolbar>
|
|
84
|
-
<Title text="{path: 'facet>Label', formatter: '
|
|
87
|
+
<Title text="{path: 'facet>Label', formatter: 'AH.formatWithExpandSimple'}" level="h6"/>
|
|
85
88
|
<ToolbarSpacer/>
|
|
86
89
|
<Button icon="sap-icon://add" press="onAddLineItemPress" visible="{ui>/enabled}"/>
|
|
87
90
|
</Toolbar>
|
|
88
91
|
</headerToolbar>
|
|
89
92
|
<columns>
|
|
90
93
|
<template:repeat list="{target>}" var="dataField">
|
|
91
|
-
<template:with path="dataField>Value" helper="
|
|
94
|
+
<template:with path="dataField>Value" helper="AHModel.resolvePath" var="dataFieldValue">
|
|
92
95
|
<Column>
|
|
93
|
-
<Text tooltip="{path:'dataFieldValue>com.sap.vocabularies.Common.v1.QuickInfo', formatter: '
|
|
94
|
-
text="{= ${dataField>Label} ? ${path: 'dataField>Label', formatter: '
|
|
96
|
+
<Text tooltip="{path:'dataFieldValue>com.sap.vocabularies.Common.v1.QuickInfo', formatter: 'AHQuickTemplates.getTooltip'}"
|
|
97
|
+
text="{= ${dataField>Label} ? ${path: 'dataField>Label', formatter: 'AHModel.format'} : ${path: 'dataFieldValue>com.sap.vocabularies.Common.v1.Label', formatter: 'AHModel.format'}}"/>
|
|
95
98
|
</Column>
|
|
96
99
|
</template:with>
|
|
97
100
|
</template:repeat>
|
|
@@ -107,7 +110,7 @@
|
|
|
107
110
|
editable="true"
|
|
108
111
|
clientSideMandatoryCheck="false"
|
|
109
112
|
contextEditable="true"
|
|
110
|
-
value="{path: 'columnItemFieldValue>Value', formatter: '
|
|
113
|
+
value="{path: 'columnItemFieldValue>Value', formatter: 'AHModel.format'}"
|
|
111
114
|
change=".onChange"
|
|
112
115
|
innerControlsCreated="onSmartFieldsCreated"/>
|
|
113
116
|
</template:repeat>
|