@sapui5/sap.suite.ui.generic.template 1.131.1 → 1.133.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sap/suite/ui/generic/template/.library +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/Component.js +0 -4
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/SmartFilterBarExt.js +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/SmartKpiTag.js +37 -11
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItem.js +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroBar.js +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroChart.js +26 -6
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroDonut.js +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroLine.js +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/SmartVisualFilterBar.js +46 -15
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/DropDownController.js +42 -17
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/KpiTagController.js +15 -6
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/extensionAPI/ExtensionAPI.js +2 -2
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_US_saptrc.properties +105 -105
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sk.properties +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper.js +3 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil.js +17 -6
- package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/AnnotationHelperSmartList.js +2 -2
- package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +46 -22
- package/src/sap/suite/ui/generic/template/ListReport/controller/IappStateHandler.js +18 -2
- package/src/sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionAPI.js +2 -2
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n.properties +1 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ar.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_bg.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ca.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cnr.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cs.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cy.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_da.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_de.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_el.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_GB.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saprigi.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saptrc.properties +58 -58
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es_MX.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_et.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fi.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr_CA.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hi.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hr.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hu.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_id.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_it.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_iw.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ja.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_kk.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ko.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lt.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lv.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_mk.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ms.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_nl.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_no.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pl.properties +2 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt_PT.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ro.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ru.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sh.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sk.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sl.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sr.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sv.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_th.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_tr.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_uk.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_vi.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_CN.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_TW.properties +1 -3
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/BreakoutActionButtons.fragment.xml +3 -2
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/FullscreenPage.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartList.fragment.xml +3 -3
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +2 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/Component.js +13 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +117 -30
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/MessageSortingHandler.js +63 -10
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/SectionTitleHandler.js +34 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/inlineCreationRows/InlineCreationRowsHelper.js +46 -4
- package/src/sap/suite/ui/generic/template/ObjectPage/controllerFrameworkExtensions.js +22 -4
- package/src/sap/suite/ui/generic/template/ObjectPage/extensionAPI/ExtensionAPI.js +29 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n.properties +37 -6
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ar.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_bg.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ca.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cnr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cs.properties +26 -6
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cy.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_da.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_de.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_el.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_GB.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saprigi.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saptrc.properties +95 -95
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es_MX.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_et.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fi.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr_CA.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hi.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hu.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_id.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_it.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_iw.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ja.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_kk.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ko.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lt.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lv.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_mk.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ms.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_nl.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_no.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pl.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt_PT.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ro.properties +26 -6
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ru.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sh.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sk.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sl.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sv.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_th.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_tr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_uk.properties +27 -7
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_vi.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_CN.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_TW.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/Details.view.xml +2 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/CRUDActionButtons.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Footer.fragment.xml +3 -3
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderContainer.fragment.xml +4 -4
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderImage.fragment.xml +4 -4
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartChart.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +3 -2
- package/src/sap/suite/ui/generic/template/QuickCreate/i18n/i18n_en_US_saptrc.properties +14 -14
- package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickView/i18n/i18n_en_US_saptrc.properties +2 -2
- package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/designtime/controls/DynamicPage.designtime.js +198 -193
- package/src/sap/suite/ui/generic/template/designtime/controls/ObjectPageLayout.designtime.js +215 -0
- package/src/sap/suite/ui/generic/template/designtime/controls/SmartFilterBar.designtime.js +340 -0
- package/src/sap/suite/ui/generic/template/designtime/controls/SmartTable.designtime.js +43 -19
- package/src/sap/suite/ui/generic/template/designtime/floorplans/AnalyticalListPage.designtime.js +18 -18
- package/src/sap/suite/ui/generic/template/designtime/floorplans/ListReport.designtime.js +19 -16
- package/src/sap/suite/ui/generic/template/designtime/floorplans/ObjectPage.designtime.js +10 -7
- package/src/sap/suite/ui/generic/template/designtime/utils/designtimeHelper.js +52 -37
- package/src/sap/suite/ui/generic/template/designtime/utils/designtimeUtils.js +112 -23
- package/src/sap/suite/ui/generic/template/detailTemplates/i18n/i18n_en_US_saptrc.properties +6 -6
- package/src/sap/suite/ui/generic/template/fragments/BreakoutActions.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/DeterminingActions.fragment.xml +3 -2
- package/src/sap/suite/ui/generic/template/fragments/DeterminingButton.fragment.xml +18 -20
- package/src/sap/suite/ui/generic/template/fragments/EasyFilter.fragment.xml +0 -6
- package/src/sap/suite/ui/generic/template/fragments/GlobalActions.fragment.xml +3 -2
- package/src/sap/suite/ui/generic/template/fragments/GridTableCells.fragment.xml +7 -6
- package/src/sap/suite/ui/generic/template/fragments/HeaderAddress.fragment.xml +2 -1
- package/src/sap/suite/ui/generic/template/fragments/HeaderContactWithDetailsPopover.fragment.xml +2 -1
- package/src/sap/suite/ui/generic/template/fragments/HeaderDataPointContent.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/HeaderForm.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/fragments/HeaderFormDataField.fragment.xml +14 -7
- package/src/sap/suite/ui/generic/template/fragments/HeaderPlainText.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/fragments/HeaderRatingIndicator.fragment.xml +5 -7
- package/src/sap/suite/ui/generic/template/fragments/MessagePopover.fragment.xml +2 -1
- package/src/sap/suite/ui/generic/template/fragments/ProgressIndicator.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/QuickViewSmartForm.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/RatingIndicatorFacet.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/SmartFormDataField.fragment.xml +4 -3
- package/src/sap/suite/ui/generic/template/fragments/SmartMicroChart.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/fragments/SmartTableUiTableCommons.fragment.xml +2 -5
- package/src/sap/suite/ui/generic/template/fragments/TableCell.fragment.xml +9 -7
- package/src/sap/suite/ui/generic/template/fragments/TableColumnListItem.fragment.xml +2 -5
- package/src/sap/suite/ui/generic/template/fragments/ToolbarButton.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/TreeTableColumns.fragment.xml +4 -3
- package/src/sap/suite/ui/generic/template/genericUtilities/controlHelper.js +10 -9
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartVariantManagementWrapper.js +4 -2
- package/src/sap/suite/ui/generic/template/genericUtilities/filterHelper.js +70 -2
- package/src/sap/suite/ui/generic/template/genericUtilities/polyFill.js +14 -0
- package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +67 -30
- package/src/sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport.js +3 -0
- package/src/sap/suite/ui/generic/template/js/QuickTemplates/QuickTemplateComponentFactory.js +25 -14
- package/src/sap/suite/ui/generic/template/js/RuntimeFormatters.js +78 -22
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +16 -225
- package/src/sap/suite/ui/generic/template/lib/CRUDActionHandler.js +12 -3
- package/src/sap/suite/ui/generic/template/lib/CRUDHelper.js +5 -3
- package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +24 -5
- package/src/sap/suite/ui/generic/template/lib/CommonUtils.js +78 -48
- package/src/sap/suite/ui/generic/template/lib/ComponentUtils.js +3 -3
- package/src/sap/suite/ui/generic/template/lib/ContextBookkeeping.js +39 -23
- package/src/sap/suite/ui/generic/template/lib/FlexibleColumnLayoutHandler.js +13 -5
- package/src/sap/suite/ui/generic/template/lib/FlexibleColumnLayoutHelper.js +168 -0
- package/src/sap/suite/ui/generic/template/lib/MessageButtonHelper.js +6 -0
- package/src/sap/suite/ui/generic/template/lib/MessageStripHelper.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/RetryAfterHandler.js +2 -3
- package/src/sap/suite/ui/generic/template/lib/ShellPersonalizationService.js +137 -0
- package/src/sap/suite/ui/generic/template/lib/SideEffectUtil.js +56 -1
- package/src/sap/suite/ui/generic/template/lib/TemplateComponent.js +26 -7
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFilterBarHandler.js +91 -36
- package/src/sap/suite/ui/generic/template/lib/ai/FioriAIHandler.js +30 -35
- package/src/sap/suite/ui/generic/template/lib/deletionHelper.js +10 -2
- package/src/sap/suite/ui/generic/template/lib/filterHelper.js +7 -3
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +9 -15
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +7 -13
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +7 -11
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saptrc.properties +183 -149
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +6 -12
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +5 -11
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +5 -11
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +3 -9
- package/src/sap/suite/ui/generic/template/lib/insights/InsightsCardHelper.js +27 -11
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +59 -38
- package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +93 -1
- package/src/sap/suite/ui/generic/template/library.js +7 -3
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/ChartActions.fragment.xml +4 -3
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +4 -3
- package/src/sap/suite/ui/generic/template/listTemplates/i18n/i18n_en_US_saptrc.properties +1 -1
- package/src/sap/suite/ui/generic/template/manifestMerger/ChangePageConfiguration.js +4 -1
- package/src/sap/suite/ui/generic/template/manifestMerger/MergerUtil.js +27 -1
- package/src/sap/suite/ui/generic/template/support/DiagnosticsTool/DiagnosticsTool.js +15 -3
- package/src/sap/suite/ui/generic/template/support/DiagnosticsTool/view/DiagnosticsTool.view.xml +0 -24
- package/src/sap/suite/ui/generic/template/support/lib/CommonChecks.js +11 -19
- package/src/sap/suite/ui/generic/template/themes/base/ObjectPage.less +0 -4
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ObjectPage.less +0 -4
- package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/ObjectPage.less +0 -4
- package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcb/AnalyticalListPage.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcw/AnalyticalListPage.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_ObjectPage.less +0 -4
- package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcb/AnalyticalListPage.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcw/AnalyticalListPage.less +0 -1
- package/src/sap/suite/ui/generic/template/fragments/ContactDetailsQuickViewGroup.fragment.xml +0 -36
- package/src/sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator.js +0 -28
- package/src/sap/suite/ui/generic/template/js/formatters/formatImageUrl.js +0 -21
- package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorAggregateCount.js +0 -21
- package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorFooterText.js +0 -21
- package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorSubTitle.js +0 -21
- package/src/sap/suite/ui/generic/template/js/formatters/setInfoHighlight.js +0 -21
- package/src/sap/suite/ui/generic/template/js/formatters/setRowNavigated.js +0 -26
|
@@ -90,7 +90,7 @@ DRAFT_OBJECT_FILTER=W\u0142asna wersja robocza
|
|
|
90
90
|
|
|
91
91
|
LOCKED_OBJECT=Zablokowane
|
|
92
92
|
|
|
93
|
-
LOCKED_OBJECT_FILTER=Zablokowane przez innego u\
|
|
93
|
+
LOCKED_OBJECT_FILTER=Zablokowane przez innego u\u017Cyt.
|
|
94
94
|
|
|
95
95
|
UNSAVED_CHANGES=Niezapisane zmiany
|
|
96
96
|
|
|
@@ -102,11 +102,9 @@ ST_CREATE_WITH_FILTERS=Utw\u00F3rz z filtrami
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
ST_EASY_FILTER_TITLE=Tryb filtrowania\:
|
|
106
|
-
|
|
107
105
|
ST_MANUAL_FILTER=Klasyczny
|
|
108
106
|
|
|
109
|
-
ST_EASY_FILTER=
|
|
107
|
+
ST_EASY_FILTER=Prosty filtr
|
|
110
108
|
|
|
111
109
|
|
|
112
110
|
|
|
@@ -102,11 +102,9 @@ ST_CREATE_WITH_FILTERS=\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0441 \u0444\
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
ST_EASY_FILTER_TITLE=\u0420\u0435\u0436\u0438\u043C \u0444\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u0438\:
|
|
106
|
-
|
|
107
105
|
ST_MANUAL_FILTER=\u041A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439
|
|
108
106
|
|
|
109
|
-
ST_EASY_FILTER
|
|
107
|
+
ST_EASY_FILTER=\u041F\u0440\u043E\u0441\u0442\u043E\u0439 \u0444\u0438\u043B\u044C\u0442\u0440
|
|
110
108
|
|
|
111
109
|
|
|
112
110
|
|
|
@@ -102,11 +102,9 @@ ST_CREATE_WITH_FILTERS=Vytvori\u0165 pomocou filtrov
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
ST_EASY_FILTER_TITLE=Re\u017Eim filtrovania\:
|
|
106
|
-
|
|
107
105
|
ST_MANUAL_FILTER=Klasick\u00E9
|
|
108
106
|
|
|
109
|
-
ST_EASY_FILTER=
|
|
107
|
+
ST_EASY_FILTER=Jednoduch\u00FD filter
|
|
110
108
|
|
|
111
109
|
|
|
112
110
|
|
|
@@ -102,11 +102,9 @@ ST_CREATE_WITH_FILTERS=\u041A\u0440\u0435\u0438\u0440\u0430\u0458 \u0441 \u0444\
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
ST_EASY_FILTER_TITLE=\u041D\u0430\u0447\u0438\u043D \u0444\u0438\u043B\u0442\u0435\u0440\u0430\:
|
|
106
|
-
|
|
107
105
|
ST_MANUAL_FILTER=\u041A\u043B\u0430\u0441\u0438\u0447\u043D\u043E
|
|
108
106
|
|
|
109
|
-
ST_EASY_FILTER
|
|
107
|
+
ST_EASY_FILTER=\u0408\u0435\u0434\u043D\u043E\u0441\u0442\u0430\u0432\u043D\u0438 \u0444\u0438\u043B\u0442\u0435\u0440
|
|
110
108
|
|
|
111
109
|
|
|
112
110
|
|
|
@@ -102,11 +102,9 @@ ST_CREATE_WITH_FILTERS=\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E42\u0E14\u0E22\u0E21\u0
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
ST_EASY_FILTER_TITLE=\u0E42\u0E2B\u0E21\u0E14\u0E1F\u0E34\u0E25\u0E40\u0E15\u0E2D\u0E23\u0E4C\:
|
|
106
|
-
|
|
107
105
|
ST_MANUAL_FILTER=\u0E04\u0E25\u0E32\u0E2A\u0E2A\u0E34\u0E01
|
|
108
106
|
|
|
109
|
-
ST_EASY_FILTER
|
|
107
|
+
ST_EASY_FILTER=\u0E1F\u0E34\u0E25\u0E40\u0E15\u0E2D\u0E23\u0E4C\u0E41\u0E1A\u0E1A\u0E07\u0E48\u0E32\u0E22
|
|
110
108
|
|
|
111
109
|
|
|
112
110
|
|
|
@@ -102,11 +102,9 @@ ST_CREATE_WITH_FILTERS=\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0437 \
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
ST_EASY_FILTER_TITLE=\u0420\u0435\u0436\u0438\u043C \u0444\u0456\u043B\u044C\u0442\u0440\u0443\u0432\u0430\u043D\u043D\u044F\:
|
|
106
|
-
|
|
107
105
|
ST_MANUAL_FILTER=\u041A\u043B\u0430\u0441\u0438\u0447\u043D\u0438\u0439
|
|
108
106
|
|
|
109
|
-
ST_EASY_FILTER
|
|
107
|
+
ST_EASY_FILTER=\u041F\u0440\u043E\u0441\u0442\u0438\u0439 \u0444\u0456\u043B\u044C\u0442\u0440
|
|
110
108
|
|
|
111
109
|
|
|
112
110
|
|
|
@@ -102,11 +102,9 @@ ST_CREATE_WITH_FILTERS=Ta\u0323o co\u0301 b\u00F4\u0323 lo\u0323c
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
ST_EASY_FILTER_TITLE=Ch\u00EA\u0301 \u0111\u00F4\u0323 lo\u0323c\:
|
|
106
|
-
|
|
107
105
|
ST_MANUAL_FILTER=C\u00F4\u0309 \u0111i\u00EA\u0309n
|
|
108
106
|
|
|
109
|
-
ST_EASY_FILTER=
|
|
107
|
+
ST_EASY_FILTER=B\u1ED9 l\u1ECDc d\u1EC5 d\u00E0ng
|
|
110
108
|
|
|
111
109
|
|
|
112
110
|
|
|
@@ -102,11 +102,9 @@ ST_CREATE_WITH_FILTERS=\u4F7F\u7528\u8FC7\u6EE4\u5668\u521B\u5EFA
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
ST_EASY_FILTER_TITLE=\u8FC7\u6EE4\u6A21\u5F0F\uFF1A
|
|
106
|
-
|
|
107
105
|
ST_MANUAL_FILTER=\u7ECF\u5178
|
|
108
106
|
|
|
109
|
-
ST_EASY_FILTER
|
|
107
|
+
ST_EASY_FILTER=\u7B80\u6613\u8FC7\u6EE4\u5668
|
|
110
108
|
|
|
111
109
|
|
|
112
110
|
|
|
@@ -102,11 +102,9 @@ ST_CREATE_WITH_FILTERS=\u4F7F\u7528\u7BE9\u9078\u5EFA\u7ACB
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
ST_EASY_FILTER_TITLE=\u7BE9\u9078\u6A21\u5F0F\uFF1A
|
|
106
|
-
|
|
107
105
|
ST_MANUAL_FILTER=\u5178\u578B
|
|
108
106
|
|
|
109
|
-
ST_EASY_FILTER
|
|
107
|
+
ST_EASY_FILTER=\u7C21\u6613\u7BE9\u9078
|
|
110
108
|
|
|
111
109
|
|
|
112
110
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"
|
|
2
|
-
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
2
|
+
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
3
|
+
template:require="{AH:'sap/suite/ui/generic/template/js/AnnotationHelper'}">
|
|
3
4
|
|
|
4
5
|
<!--all break out actions which are neither determining nor global-->
|
|
5
6
|
<template:repeat list="{customActions>}" var="customAction">
|
|
@@ -12,7 +13,7 @@
|
|
|
12
13
|
press="{customAction>press}"
|
|
13
14
|
type="Transparent">
|
|
14
15
|
<layoutData>
|
|
15
|
-
<OverflowToolbarLayoutData priority="{customAction>importance}"/>
|
|
16
|
+
<OverflowToolbarLayoutData priority="{path: 'customAction>importance', formatter: 'AH.getToolbarButtonPriorityFromImportance'}"/>
|
|
16
17
|
</layoutData>
|
|
17
18
|
</Button>
|
|
18
19
|
</template:if>
|
package/src/sap/suite/ui/generic/template/ListReport/view/fragments/FullscreenPage.fragment.xml
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
enabled="{path: 'customaction>', formatter: 'AH.getBreakoutActionEnabledKey'}"
|
|
74
74
|
text="{customaction>text}" press="{customaction>press}" type="Default">
|
|
75
75
|
<layoutData>
|
|
76
|
-
<OverflowToolbarLayoutData priority
|
|
76
|
+
<OverflowToolbarLayoutData priority="{path: 'customaction>importance', formatter: 'AH.getToolbarButtonPriorityFromImportance'}"/>
|
|
77
77
|
</layoutData>
|
|
78
78
|
</Button>
|
|
79
79
|
</template:if>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
AHListReport: 'sap/suite/ui/generic/template/ListReport/AnnotationHelper',
|
|
6
6
|
AHSmartList: 'sap/suite/ui/generic/template/ListReport/AnnotationHelperSmartList'}">
|
|
7
7
|
|
|
8
|
-
<Page showHeader="false" core:require="{
|
|
8
|
+
<Page showHeader="false" core:require="{RuntimeFormatters: 'sap/suite/ui/generic/template/js/RuntimeFormatters'}">
|
|
9
9
|
<template:with path="parameter>/variables" helper="AH.getNewVariable" var="sortedDataPointsFields">
|
|
10
10
|
<template:if test="{:= ${sortedDataPointsFields>}.set(AHSmartList.getSortedDataPointsAndFields(${parameter>/workingContext/lineItem}, ${parameter>/workingContext/lineItemPath}, ${path: 'parameter>/metaModel'}, ${path: 'parameter>/entityType'})) }"/>
|
|
11
11
|
<smartList:SmartList
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
numberState="{= ${objectListProperty>numberState} }"
|
|
25
25
|
type="Navigation"
|
|
26
26
|
press="._templateEventHandlers.onListNavigate"
|
|
27
|
-
navigated="{path: '_templPriv>/generic/currentActiveChildContext', formatter: 'setRowNavigated'}">
|
|
27
|
+
navigated="{path: '_templPriv>/generic/currentActiveChildContext', formatter: 'RuntimeFormatters.setRowNavigated.bind($control)'}">
|
|
28
28
|
<attributes>
|
|
29
29
|
<!-- Middle left -->
|
|
30
30
|
<ObjectAttribute text="{= ${objectListProperty>firstAttribute} }" />
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
icon="{path:'sortedDataPointsFields>imageDataField', formatter: 'AHSmartList.formatDataPointOrField'}"
|
|
55
55
|
type="Navigation"
|
|
56
56
|
press="._templateEventHandlers.onListNavigate"
|
|
57
|
-
navigated="{path: '_templPriv>/generic/currentActiveChildContext', formatter: 'setRowNavigated'}">
|
|
57
|
+
navigated="{path: '_templPriv>/generic/currentActiveChildContext', formatter: 'RuntimeFormatters.setRowNavigated.bind($control)'}">
|
|
58
58
|
</StandardListItem>
|
|
59
59
|
</template:with>
|
|
60
60
|
</template:then>
|
|
@@ -188,12 +188,13 @@
|
|
|
188
188
|
showOverlay="{= ${_templPriv>/listReport/firstSelection} && !${_templPriv>/generic/bDataAreShownInTable}}"
|
|
189
189
|
fixedLayout="{= ${appSettings>/enableAutoColumnWidthForSmartTable} ? undefined : !!${parameter>/settings/isWorklist} }"
|
|
190
190
|
growing="true" growingScrollToLoad="true"
|
|
191
|
-
sticky="ColumnHeaders,HeaderToolbar,InfoToolbar"
|
|
191
|
+
sticky="ColumnHeaders,HeaderToolbar,InfoToolbar,GroupHeaders"
|
|
192
192
|
mode="{tableSettings>mode}"
|
|
193
193
|
selectionChange="._templateEventHandlers.onSelectionChange"
|
|
194
194
|
beforeOpenContextMenu="._templateEventHandlers.beforeOpenContextMenu($event, '{smartControlId>id}')"
|
|
195
195
|
delete="._templateEventHandlers.deleteEntry"
|
|
196
196
|
itemPress="._templateEventHandlers.onListNavigate"
|
|
197
|
+
rememberSelections="false"
|
|
197
198
|
multiSelectMode="{= (${tableSettings>multiSelect} && ${tableSettings>selectAll}) ? 'SelectAll' : 'ClearAll'}">
|
|
198
199
|
<template:with path="entitySet>" var="listEntitySet">
|
|
199
200
|
<template:with path="tableAnnotationPath>" var="collection">
|
|
@@ -102,7 +102,7 @@ sap.ui.define(["sap/suite/ui/generic/template/lib/TemplateAssembler",
|
|
|
102
102
|
return oViewProxy.prepareForControlNavigation(sControlId);
|
|
103
103
|
},
|
|
104
104
|
prepareForMessageHandling: function(aMessages, oItemBinding, oHelperModel){
|
|
105
|
-
return oViewProxy.prepareForMessageHandling(aMessages, oItemBinding, oHelperModel);
|
|
105
|
+
return oViewProxy.prepareForMessageHandling(aMessages, oItemBinding, oHelperModel);
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
return extend(oBase, oSpecific);
|
|
@@ -117,7 +117,7 @@ sap.ui.define(["sap/suite/ui/generic/template/lib/TemplateAssembler",
|
|
|
117
117
|
// shall button "Related Apps" be visible on the object page?
|
|
118
118
|
"showRelatedApps": {
|
|
119
119
|
"type": "boolean",
|
|
120
|
-
"defaultValue":
|
|
120
|
+
"defaultValue": false
|
|
121
121
|
},
|
|
122
122
|
// shall confirmation popup be shown in object page while saving?
|
|
123
123
|
"showConfirmationOnDraftActivate": {
|
|
@@ -135,7 +135,7 @@ sap.ui.define(["sap/suite/ui/generic/template/lib/TemplateAssembler",
|
|
|
135
135
|
// shall it be possible to edit the contents of the header?
|
|
136
136
|
"editableHeaderContent": {
|
|
137
137
|
"type": "boolean",
|
|
138
|
-
"defaultValue":
|
|
138
|
+
"defaultValue": false
|
|
139
139
|
},
|
|
140
140
|
// enable carousel header on desktop screen
|
|
141
141
|
showHeaderAsCarouselOnDesktop: {
|
|
@@ -193,12 +193,20 @@ sap.ui.define(["sap/suite/ui/generic/template/lib/TemplateAssembler",
|
|
|
193
193
|
//Allow deep linking to sub object pages?
|
|
194
194
|
"allowDeepLinking": "boolean",
|
|
195
195
|
//Navigate to list report page on draft activation?
|
|
196
|
-
//This property can have 3 values -> undefined, true, false.
|
|
196
|
+
//This property can have 3 values -> undefined, true, false.
|
|
197
197
|
// If EditFlow is display, the save and cancel stays in object page unless this property is set to true
|
|
198
198
|
// If EditFlow is direct, the save and cancel moves to LR after action, unless this property is set to false
|
|
199
199
|
// The default value of this property is undefined.
|
|
200
200
|
"navToListOnSave": "boolean",
|
|
201
|
-
"relatedAppsSettings": "object"
|
|
201
|
+
"relatedAppsSettings": "object",
|
|
202
|
+
createWithParameterDialog: {
|
|
203
|
+
type: "object",
|
|
204
|
+
properties: {
|
|
205
|
+
fields : {
|
|
206
|
+
type: "object"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
202
210
|
},
|
|
203
211
|
// app descriptor format
|
|
204
212
|
"manifest": "json"
|
|
@@ -34,18 +34,53 @@ sap.ui.define([
|
|
|
34
34
|
"sap/suite/ui/generic/template/ObjectPage/controller/RelatedAppsHandler",
|
|
35
35
|
"sap/suite/ui/generic/template/ObjectPage/controller/PasteHandler",
|
|
36
36
|
"sap/suite/ui/generic/template/lib/insights/InsightsHandler",
|
|
37
|
-
"sap/suite/ui/generic/template/lib/cards/DTCardHelper"
|
|
38
|
-
|
|
39
|
-
], function (
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
37
|
+
"sap/suite/ui/generic/template/lib/cards/DTCardHelper",
|
|
38
|
+
"sap/ui/core/Element"
|
|
39
|
+
], function (
|
|
40
|
+
ControllerExtension,
|
|
41
|
+
MessageBox,
|
|
42
|
+
Filter,
|
|
43
|
+
Sorter,
|
|
44
|
+
ManagedObjectModel,
|
|
45
|
+
SelectionVariant,
|
|
46
|
+
controlHelper,
|
|
47
|
+
testableHelper,
|
|
48
|
+
detailUtils,
|
|
49
|
+
MessageSortingHandler,
|
|
50
|
+
MessageStripHelper,
|
|
51
|
+
SectionTitleHandler,
|
|
52
|
+
SideContentHandler,
|
|
53
|
+
ExtensionAPI,
|
|
54
|
+
ResponsiveTable,
|
|
55
|
+
ShareUtils,
|
|
56
|
+
FeLogger,
|
|
57
|
+
MultipleViewsHandler,
|
|
58
|
+
MessageUtils,
|
|
59
|
+
KeyCodes,
|
|
60
|
+
merge,
|
|
61
|
+
FilterProcessor,
|
|
62
|
+
StableIdHelper,
|
|
63
|
+
extend,
|
|
64
|
+
isEmptyObject,
|
|
65
|
+
FeError,
|
|
66
|
+
CreateWithDialogHandler,
|
|
67
|
+
Device,
|
|
68
|
+
whitespaceReplacer,
|
|
69
|
+
deepExtend,
|
|
70
|
+
CtxMenuHandler,
|
|
71
|
+
InlineCreationRowsHelper,
|
|
72
|
+
RelatedAppsHandler,
|
|
73
|
+
PasteHandler,
|
|
74
|
+
InsightsHandler,
|
|
75
|
+
DTCardHelper,
|
|
76
|
+
Element
|
|
77
|
+
) {
|
|
46
78
|
"use strict";
|
|
47
79
|
var sClassName = "ObjectPage.controller.ControllerImplementation";
|
|
48
|
-
var
|
|
80
|
+
var oFeLogger = new FeLogger(sClassName);
|
|
81
|
+
var oLogger = oFeLogger.getLogger();
|
|
82
|
+
var oLevel = oFeLogger.Level;
|
|
83
|
+
oLogger.setLevel(oLevel.ALL);
|
|
49
84
|
var DEFAULT_GROWING_THRESHOLD = 20;
|
|
50
85
|
|
|
51
86
|
// Scroll the specified object page to top
|
|
@@ -133,7 +168,7 @@ sap.ui.define([
|
|
|
133
168
|
// and the onSubSectionEnteredExtension is called. When the OP context is changed in the beforeRebind method
|
|
134
169
|
// the Map will be reset the states
|
|
135
170
|
var mSubSectionsInitState = Object.create(null);
|
|
136
|
-
|
|
171
|
+
var mSubSectionTitle = Object.create(null);
|
|
137
172
|
function adjustAndProvideBindingParamsForSmartTableOrChart(oEvent) {
|
|
138
173
|
var oBindingParams = oEvent.getParameter("bindingParams");
|
|
139
174
|
oBindingParams.parameters = oBindingParams.parameters || {};
|
|
@@ -403,8 +438,8 @@ sap.ui.define([
|
|
|
403
438
|
* where x is the condition provided by the user
|
|
404
439
|
|
|
405
440
|
* Handling of the filter condition during create:
|
|
406
|
-
* checking the value of
|
|
407
|
-
* if it is a create the filter condition evaluates to the user filter x
|
|
441
|
+
* checking the value of display Mode , iDisplayMode = 4 for create
|
|
442
|
+
* if it is a create the filter condition evaluates to the user filter x
|
|
408
443
|
*/
|
|
409
444
|
var oUserFilter = FilterProcessor.groupFilters(oBindingParams.filters);
|
|
410
445
|
var oTemplatePrivateModel = oTemplateUtils.oComponentUtils.getTemplatePrivateModel();
|
|
@@ -575,7 +610,7 @@ sap.ui.define([
|
|
|
575
610
|
} else {
|
|
576
611
|
var getDtCardManifestPromise = new Promise(function (fnResolve) {
|
|
577
612
|
// DT Cards are not supported in sub object pages
|
|
578
|
-
if (oTemplateUtils.oComponentUtils.getViewLevel() !== 1) {
|
|
613
|
+
if (oTemplateUtils.oComponentUtils.getViewLevel() !== 1) {
|
|
579
614
|
fnResolve(null);
|
|
580
615
|
return;
|
|
581
616
|
}
|
|
@@ -1369,12 +1404,12 @@ sap.ui.define([
|
|
|
1369
1404
|
// Note that this call also moves the selected section and subsection to the identified control.
|
|
1370
1405
|
function getFocusForEditPromise(bFocusAtTop){
|
|
1371
1406
|
var sSelectedSection = !bFocusAtTop && oObjectPage.getSelectedSection();
|
|
1372
|
-
var oSelectedSection = sSelectedSection &&
|
|
1407
|
+
var oSelectedSection = sSelectedSection && Element.getElementById(sSelectedSection);
|
|
1373
1408
|
var oFallbackSection = oSelectedSection && oSelectedSection.getVisible() && oSelectedSection;
|
|
1374
1409
|
var sSelectedSubSection, oFallbackSubSection;
|
|
1375
1410
|
if (oFallbackSection){
|
|
1376
1411
|
sSelectedSubSection = oSelectedSection.getSelectedSubSection();
|
|
1377
|
-
oFallbackSubSection = sSelectedSubSection &&
|
|
1412
|
+
oFallbackSubSection = sSelectedSubSection && Element.getElementById(sSelectedSubSection);
|
|
1378
1413
|
oFallbackSubSection = oFallbackSubSection && oFallbackSubSection.getVisible() && oFallbackSubSection;
|
|
1379
1414
|
sSelectedSubSection = oFallbackSubSection && sSelectedSubSection;
|
|
1380
1415
|
} else {
|
|
@@ -1450,15 +1485,54 @@ sap.ui.define([
|
|
|
1450
1485
|
}); // Normalize the return value such that it always is a Promise
|
|
1451
1486
|
}
|
|
1452
1487
|
|
|
1453
|
-
function fnFocusForEdit(bFocusAtTop){
|
|
1454
|
-
setTimeout(function(){
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1488
|
+
function fnFocusForEdit(bFocusAtTop) {
|
|
1489
|
+
setTimeout(function () {
|
|
1490
|
+
// check if extension is found
|
|
1491
|
+
var bhasExtensionFound = oController.hasOwnProperty("focusOnEditExtension");
|
|
1492
|
+
var oFocusControl;
|
|
1493
|
+
if (bhasExtensionFound) {
|
|
1494
|
+
var sSelectedSection = oObjectPage.getSelectedSection();
|
|
1495
|
+
// call the extension method and get the control passed by application
|
|
1496
|
+
oFocusControl = oController.focusOnEditExtension(sSelectedSection);
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
// Check if the passed control is defined, focusable, and visible within the viewport.
|
|
1500
|
+
if (oFocusControl && oFocusControl.focus && oFocusControl.getDomRef()) {
|
|
1501
|
+
//set the focus on the control passed by application
|
|
1502
|
+
if (controlHelper.isSmartField(oFocusControl)) {
|
|
1503
|
+
// check whether the SmartField is the correct target for focussing
|
|
1504
|
+
controlHelper.getSmartFieldIsFocussableForInputPromise(oFocusControl).then(function (bIsFocusable) {
|
|
1505
|
+
if (bIsFocusable) {
|
|
1506
|
+
controlHelper.focusUI5Control(oFocusControl);
|
|
1507
|
+
} else {
|
|
1508
|
+
oLogger.info("Provided control is not focusable or visible in the viewport, hence fall back to the standard focus handling");
|
|
1509
|
+
fnStandardFocusHandlingOnEdit(bFocusAtTop);
|
|
1510
|
+
}
|
|
1511
|
+
});
|
|
1512
|
+
} else {
|
|
1513
|
+
//if the passed control is not a smart field, check and set the focus on
|
|
1514
|
+
controlHelper.focusUI5Control(oFocusControl);
|
|
1515
|
+
}
|
|
1516
|
+
} else {
|
|
1517
|
+
// If no extension is defined, proceed with the standard execution flow.
|
|
1518
|
+
// If the control passed via the extension does not meet the required conditions,
|
|
1519
|
+
// fall back to the standard focus handling mechanism.
|
|
1520
|
+
if (bhasExtensionFound) {
|
|
1521
|
+
oLogger.info("Provided control is not focusable or visible in the viewport, hence fall back to the standard focus handling");
|
|
1522
|
+
}
|
|
1523
|
+
fnStandardFocusHandlingOnEdit(bFocusAtTop);
|
|
1524
|
+
}
|
|
1459
1525
|
}, 0);
|
|
1460
1526
|
}
|
|
1461
1527
|
|
|
1528
|
+
function fnStandardFocusHandlingOnEdit(bFocusAtTop) {
|
|
1529
|
+
var oFocusControlPromise = getFocusForEditPromise(bFocusAtTop);
|
|
1530
|
+
oFocusControlPromise.then(function (oFocusControl) {
|
|
1531
|
+
controlHelper.focusUI5Control(oFocusControl);
|
|
1532
|
+
});
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
|
|
1462
1536
|
/* Begin: Functions dealing with the search field on tables */
|
|
1463
1537
|
|
|
1464
1538
|
// a search field in one of the tables is used to trigger a search.
|
|
@@ -1797,7 +1871,7 @@ sap.ui.define([
|
|
|
1797
1871
|
oSection.connectToModelsAsync().then(function () {
|
|
1798
1872
|
oTemplateUtils.oInfoObjectHandler.setInformationWithControl(oSubSection);
|
|
1799
1873
|
oStrategy.activeHandler(oSubSection, oSubSectionInfoObj);
|
|
1800
|
-
});
|
|
1874
|
+
});
|
|
1801
1875
|
}
|
|
1802
1876
|
}
|
|
1803
1877
|
});
|
|
@@ -1831,12 +1905,22 @@ sap.ui.define([
|
|
|
1831
1905
|
var oSubSectionInfoObj = oTemplateUtils.oInfoObjectHandler.setInformationWithControl(oSubSection); // Assigning the SubSection control to Info Object, in case it is assigned infoObject is returned without doing anything
|
|
1832
1906
|
// Check if initialization code is executed for the SubSection. If not initialize the same
|
|
1833
1907
|
var sSubSectionId = oSubSection.getId();
|
|
1908
|
+
var oSection = oSubSection.getParent();
|
|
1909
|
+
var sSectionId = oSection && oSection.getId();
|
|
1910
|
+
if (sSectionId && !mSubSectionTitle[sSectionId]) {
|
|
1911
|
+
mSubSectionTitle[sSectionId] = {
|
|
1912
|
+
firstSubSectionId: oSection.getSubSections()[0]?.getId()
|
|
1913
|
+
};
|
|
1914
|
+
}
|
|
1834
1915
|
if (!mSubSectionsInitState[sSubSectionId]) {
|
|
1835
1916
|
// Execute Application specific logic which needs to be executed
|
|
1836
1917
|
oController.onSubSectionEnteredExtension(oSubSection);
|
|
1837
1918
|
mSubSectionsInitState[sSubSectionId] = true;
|
|
1919
|
+
if (sSectionId && mSubSectionTitle[sSectionId].firstSubSectionId === sSubSectionId) {
|
|
1920
|
+
oState.oSectionTitleHandler.adjustSubSectionTitle(oSubSection);
|
|
1921
|
+
}
|
|
1838
1922
|
}
|
|
1839
|
-
|
|
1923
|
+
|
|
1840
1924
|
if (oSubSectionInfoObj) { // In case of EditableHeaderFacet Sections & SubSection is created at runtime and there is info object handling
|
|
1841
1925
|
oMultipleViewsHandler.subSectionEntered(oSubSectionInfoObj); // Assigning the SubSection control MultipleViewsHandler. In case not relevant method simply returns
|
|
1842
1926
|
// The loading strategy of a sub-section might depend on the content of oWaitForState (together with the strategy) and whether or not the sub-section is currently in view-port.
|
|
@@ -1866,7 +1950,7 @@ sap.ui.define([
|
|
|
1866
1950
|
}
|
|
1867
1951
|
});
|
|
1868
1952
|
}
|
|
1869
|
-
|
|
1953
|
+
|
|
1870
1954
|
oViewProxy.applyState = function (oState, bIsSameAsLast) {
|
|
1871
1955
|
// originally, applyState was only called when HeaderData was available, as HeaderData was always used to determine bIsSameAsLast
|
|
1872
1956
|
// now, in some cases bIsSameAsLast can be determined earlier, however, we don't know, whether any extensions implicitly rely on header data being available
|
|
@@ -2256,7 +2340,7 @@ sap.ui.define([
|
|
|
2256
2340
|
var oCardProviderInstance = oTemplateUtils.oServices.oInsightsFECardProvider && oTemplateUtils.oServices.oInsightsFECardProvider.getCardProviderInsightsInstance();
|
|
2257
2341
|
|
|
2258
2342
|
oState.oDTCardHelper = new DTCardHelper(oController);
|
|
2259
|
-
|
|
2343
|
+
|
|
2260
2344
|
if (oCardProviderInstance) {
|
|
2261
2345
|
oTemplateUtils.oServices.oInsightsFECardProvider.fnRegisterComponentForProvider(oState.oInsightsHandler, oController.getView().getId());
|
|
2262
2346
|
}
|
|
@@ -2272,7 +2356,7 @@ sap.ui.define([
|
|
|
2272
2356
|
var oStreamDataSelf = oTemplateUtils.oCommonUtils.getStreamData(null, oEvent.context);
|
|
2273
2357
|
oTemplateUtils.oCommonUtils.setStreamData(oStreamDataSelf);
|
|
2274
2358
|
oTemplateUtils.oComponentUtils.hidePlaceholder();
|
|
2275
|
-
|
|
2359
|
+
|
|
2276
2360
|
});
|
|
2277
2361
|
var oMenuButton = oController.byId(StableIdHelper.getStableId({
|
|
2278
2362
|
type: "ObjectPageAction",
|
|
@@ -2351,13 +2435,16 @@ sap.ui.define([
|
|
|
2351
2435
|
|
|
2352
2436
|
//Cancel event for draft and non draft case
|
|
2353
2437
|
onCancel: function () {
|
|
2438
|
+
if (document.activeElement) {
|
|
2439
|
+
document.activeElement.blur();
|
|
2440
|
+
}
|
|
2354
2441
|
var bIsDraftEnabled = oTemplateUtils.oComponentUtils.isDraftEnabled();
|
|
2355
2442
|
var sCancelButtonLocalId = StableIdHelper.getStableId({
|
|
2356
2443
|
type: "ObjectPageAction",
|
|
2357
2444
|
subType: "CommonAction",
|
|
2358
2445
|
sAction: bIsDraftEnabled ? "discard" : "cancel"
|
|
2359
2446
|
});
|
|
2360
|
-
var oCancelButton =
|
|
2447
|
+
var oCancelButton = Element.getElementById(oController.createId(sCancelButtonLocalId));
|
|
2361
2448
|
var bIsEditFlowDirect = oTemplateUtils.oServices.oApplication.getEditFlowOfRoot() === "direct";
|
|
2362
2449
|
var bStaysOnPage = !bIsEditFlowDirect && !(oObjectPage.getModel("ui").getProperty("/createMode"));
|
|
2363
2450
|
var oCancelPromise = oBase.state.onCancel(oCancelButton, bStaysOnPage && fnFocusOnFirstActionButton);
|
|
@@ -2380,7 +2467,7 @@ sap.ui.define([
|
|
|
2380
2467
|
},
|
|
2381
2468
|
onPressDraftInfo: function (oEvent) {
|
|
2382
2469
|
var oBindingContext = oController.getView().getBindingContext();
|
|
2383
|
-
var oLockButton =
|
|
2470
|
+
var oLockButton = Element.getElementById(
|
|
2384
2471
|
oEvent.getSource().getId() + (oEvent.getId() === "markChangesPress" ? "-changes" : "-lock"));
|
|
2385
2472
|
|
|
2386
2473
|
oTemplateUtils.oCommonUtils.showDraftPopover(oBindingContext, oLockButton);
|
|
@@ -2410,7 +2497,7 @@ sap.ui.define([
|
|
|
2410
2497
|
},
|
|
2411
2498
|
|
|
2412
2499
|
onSummarize: function () {
|
|
2413
|
-
oTemplateUtils.oServices.oFioriAIHandler.fioriaiLib.summarize({view: oController.getView()});
|
|
2500
|
+
oTemplateUtils.oServices.oFioriAIHandler.fioriaiLib.summarize.summarize({view: oController.getView()});
|
|
2414
2501
|
},
|
|
2415
2502
|
|
|
2416
2503
|
onEdit: function (oEvent) {
|