@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
|
@@ -6,8 +6,11 @@
|
|
|
6
6
|
*/
|
|
7
7
|
// Provides the design time metadata for the sap.suite.ui.generic.template.ObjectPage component
|
|
8
8
|
|
|
9
|
-
sap.ui.define([
|
|
10
|
-
|
|
9
|
+
sap.ui.define([
|
|
10
|
+
"sap/suite/ui/generic/template/designtime/utils/designtimeHelper",
|
|
11
|
+
"sap/suite/ui/generic/template/designtime/utils/designtimeUtils"
|
|
12
|
+
],
|
|
13
|
+
function (designtimeHelper, designtimeUtils) {
|
|
11
14
|
"use strict";
|
|
12
15
|
|
|
13
16
|
// allow list for designtime adaptation / level-0.
|
|
@@ -40,7 +43,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
|
|
|
40
43
|
actions: ["settings"]
|
|
41
44
|
},
|
|
42
45
|
"sap.m.Table": {
|
|
43
|
-
properties: ["growingThreshold", "popinLayout", "includeItemInSelection"] // growingThreshold should not be possible in single section with single subsection
|
|
46
|
+
properties: ["growingThreshold", "popinLayout", "includeItemInSelection", "rememberSelections"] // growingThreshold should not be possible in single section with single subsection
|
|
44
47
|
},
|
|
45
48
|
"sap.m.Column": {
|
|
46
49
|
properties: ["width", "hAlign"]
|
|
@@ -274,8 +277,8 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
|
|
|
274
277
|
// there's no reliable way to differentiate designtime adaptation and key user adaptation. However
|
|
275
278
|
// - property changes are possible only in designtime adaptation
|
|
276
279
|
// - for any other changes (using change handlers), we anyway need to be prepared for the change if it is allowed in one mode, so it shouldn't matter if it's also possible in the other mode
|
|
277
|
-
const sRtaModeValue =
|
|
278
|
-
const mAllow = sRtaModeValue ===
|
|
279
|
-
|
|
280
|
+
const sRtaModeValue = designtimeUtils.getRtaModeValue();
|
|
281
|
+
const mAllow = sRtaModeValue === designtimeUtils.FioriToolsRtaMode.True ? mAllowVariantManagement : designtimeHelper.getMergedAllowList([mAllowLevel0, mGreyLevel0, mAllowKeyUser]);
|
|
282
|
+
return designtimeHelper.getViewDesignTime(mAllow);
|
|
280
283
|
|
|
281
|
-
|
|
284
|
+
});
|
|
@@ -1,6 +1,20 @@
|
|
|
1
|
-
sap.ui.define([
|
|
2
|
-
"sap/
|
|
3
|
-
|
|
1
|
+
sap.ui.define([
|
|
2
|
+
"sap/base/util/deepExtend",
|
|
3
|
+
"sap/base/util/merge",
|
|
4
|
+
"sap/suite/ui/generic/template/designtime/controls/SmartTable.designtime",
|
|
5
|
+
"sap/suite/ui/generic/template/designtime/controls/DynamicPage.designtime",
|
|
6
|
+
"sap/suite/ui/generic/template/designtime/controls/SmartFilterBar.designtime",
|
|
7
|
+
"sap/suite/ui/generic/template/designtime/controls/ObjectPageLayout.designtime",
|
|
8
|
+
"sap/ui/core/Element"
|
|
9
|
+
], function (
|
|
10
|
+
deepExtend,
|
|
11
|
+
merge,
|
|
12
|
+
SmartTableDesigntimeHelper,
|
|
13
|
+
DynamicPageDesigntimeHelper,
|
|
14
|
+
SmartFilterBarDesigntimeHelper,
|
|
15
|
+
ObjectPageLayoutDesigntimeHelper,
|
|
16
|
+
Element
|
|
17
|
+
) {
|
|
4
18
|
"use strict";
|
|
5
19
|
|
|
6
20
|
/*
|
|
@@ -42,7 +56,6 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
|
|
|
42
56
|
var mControlInfo = {};
|
|
43
57
|
var aViews = [];
|
|
44
58
|
// var oLogger = new FeLogger("designtime.utils.designTimeHelper").getLogger();
|
|
45
|
-
var RTA_MODE_URL_PARAM_KEY = "fiori-tools-rta-mode";
|
|
46
59
|
var oMutationObserver;
|
|
47
60
|
/**
|
|
48
61
|
* get effective designtime for all controls on current active view
|
|
@@ -72,8 +85,8 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
|
|
|
72
85
|
|
|
73
86
|
// Assumption: Enough to start with template views and find all aggregated objects
|
|
74
87
|
// for later added controls: enough to add listener on those views, react if related Node is a known control, and recheck all aggregated objects of that control
|
|
75
|
-
document.querySelectorAll(".sapUiXMLView").forEach(function
|
|
76
|
-
var oView =
|
|
88
|
+
document.querySelectorAll(".sapUiXMLView").forEach(function(oTopNode){
|
|
89
|
+
var oView = Element.getElementById(oTopNode.id);
|
|
77
90
|
// defensive programming, as any error here would be caught by UI adaptation and lead to just ignoring designtime provided here - which would open up for any UI adaptation provided from
|
|
78
91
|
// deeper layers
|
|
79
92
|
// first two conditions should actually not occur, but if so, evaluating the third would break
|
|
@@ -91,7 +104,7 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
|
|
|
91
104
|
mutation.addedNodes.forEach(function (node) {
|
|
92
105
|
// Find the preceding known node and the corresponding control
|
|
93
106
|
var oNode = findPreceedingKnownNode(node);
|
|
94
|
-
var oControl = oNode &&
|
|
107
|
+
var oControl = oNode && Element.getElementById(oNode.id);
|
|
95
108
|
if (oControl) {
|
|
96
109
|
// For each control, find aggregated objects and add them to control info
|
|
97
110
|
oControl.findAggregatedObjects(true).forEach(addToControlInfo);
|
|
@@ -113,15 +126,6 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
|
|
|
113
126
|
function fnStopMutationObserver() {
|
|
114
127
|
oMutationObserver && oMutationObserver.disconnect();
|
|
115
128
|
}
|
|
116
|
-
/**
|
|
117
|
-
* Parses the URL parameters and returns the value of RTA mode URL parameter (fiori-tools-rta-mode)
|
|
118
|
-
* @returns {string | null} A promise which returns a value of RTA mode
|
|
119
|
-
*/
|
|
120
|
-
function getRtaModeValue() {
|
|
121
|
-
const oUrlParams = new URLSearchParams(window.location.search);
|
|
122
|
-
const sRtaModeValue = oUrlParams.get(RTA_MODE_URL_PARAM_KEY);
|
|
123
|
-
return sRtaModeValue;
|
|
124
|
-
}
|
|
125
129
|
|
|
126
130
|
/*
|
|
127
131
|
* Returns the branch of the control tree as an array ordered from bottom to top, if the control is relevant (i.e. direct part of a template view). I.e. the first entry of the array is the
|
|
@@ -320,7 +324,7 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
|
|
|
320
324
|
return oResult;
|
|
321
325
|
}
|
|
322
326
|
|
|
323
|
-
function getViewDesignTime(mAllow
|
|
327
|
+
function getViewDesignTime(mAllow) {
|
|
324
328
|
return loadBaseDesigntime().then(function () {
|
|
325
329
|
|
|
326
330
|
// provide propagation function for all controls contained allowing only what we want to allow
|
|
@@ -333,19 +337,35 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
|
|
|
333
337
|
var oReducedDesigntime = oElement.getMetadata().getElementName && getReducedDesignTime(oElement, mAllow[oElement.getMetadata().getElementName()]);
|
|
334
338
|
|
|
335
339
|
var oCustomDesigntime = {};
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
340
|
+
switch (oElement.getMetadata().getElementName()) {
|
|
341
|
+
case "sap.uxap.ObjectPageLayout":
|
|
342
|
+
oCustomDesigntime = ObjectPageLayoutDesigntimeHelper.getDesigntime(
|
|
343
|
+
oElement
|
|
344
|
+
);
|
|
345
|
+
break;
|
|
346
|
+
case "sap.ui.comp.smartfilterbar.SmartFilterBar":
|
|
347
|
+
case "sap.suite.ui.generic.template.AnalyticalListPage.control.SmartFilterBarExt":
|
|
348
|
+
case "sap.suite.ui.generic.template.AnalyticalListPage.control.visualfilterbar.SmartVisualFilterBar":
|
|
349
|
+
oCustomDesigntime = SmartFilterBarDesigntimeHelper.getDesigntime(
|
|
350
|
+
oElement
|
|
351
|
+
);
|
|
352
|
+
break;
|
|
353
|
+
case "sap.ui.comp.smarttable.SmartTable":
|
|
354
|
+
case "sap.ui.table.Table":
|
|
355
|
+
case "sap.m.Table":
|
|
356
|
+
case "sap.ui.table.AnalyticalTable":
|
|
357
|
+
oCustomDesigntime = SmartTableDesigntimeHelper.getDesigntime(
|
|
358
|
+
oElement
|
|
359
|
+
);
|
|
360
|
+
break;
|
|
361
|
+
case "sap.f.DynamicPage":
|
|
362
|
+
oCustomDesigntime = DynamicPageDesigntimeHelper.getDesigntime(
|
|
363
|
+
oElement
|
|
364
|
+
);
|
|
365
|
+
break;
|
|
366
|
+
default:
|
|
367
|
+
break;
|
|
368
|
+
|
|
349
369
|
}
|
|
350
370
|
return merge(oReducedDesigntime, oCustomDesigntime);
|
|
351
371
|
}
|
|
@@ -391,16 +411,11 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
|
|
|
391
411
|
}
|
|
392
412
|
});
|
|
393
413
|
}
|
|
394
|
-
|
|
395
|
-
True: "true",
|
|
396
|
-
ForAdaptation: "forAdaptation"
|
|
397
|
-
};
|
|
414
|
+
|
|
398
415
|
|
|
399
416
|
return {
|
|
400
417
|
getMergedAllowList: deepMergeWithArray,
|
|
401
418
|
getViewDesignTime: getViewDesignTime,
|
|
402
|
-
|
|
403
|
-
stopMutationObserver: fnStopMutationObserver,
|
|
404
|
-
FioriToolsRtaMode
|
|
419
|
+
stopMutationObserver: fnStopMutationObserver
|
|
405
420
|
};
|
|
406
421
|
});
|
|
@@ -44,8 +44,9 @@ sap.ui.define([
|
|
|
44
44
|
"sap/m/CheckBox",
|
|
45
45
|
"sap/ui/core/Item",
|
|
46
46
|
"sap/m/Select",
|
|
47
|
-
"sap/m/Token"
|
|
48
|
-
|
|
47
|
+
"sap/m/Token",
|
|
48
|
+
"sap/m/MultiComboBox"
|
|
49
|
+
], function (JSONModel, InputListItem, List, MultiInput, Input, CheckBox, Item, Select, Token, MultiComboBox) {
|
|
49
50
|
const settingsModel = new JSONModel();
|
|
50
51
|
settingsModel.setData(aDialogContent);
|
|
51
52
|
|
|
@@ -89,27 +90,51 @@ sap.ui.define([
|
|
|
89
90
|
}).data("id", id);
|
|
90
91
|
}
|
|
91
92
|
case "string[]":
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
if (index !== -1) { array.splice(index, 1); }
|
|
93
|
+
if (oContext.getProperty("enum")) {
|
|
94
|
+
const multiSelectItem = new Item({ text: "{name}", key: "{id}" });
|
|
95
|
+
const oMultiComboBox = new MultiComboBox({
|
|
96
|
+
width: "60%",
|
|
97
|
+
selectedKeys: propertyValues[id] || [],
|
|
98
|
+
selectionChange: function (event) {
|
|
99
|
+
propertyValues[this.data("id")] = event.getSource().getSelectedKeys();
|
|
100
|
+
},
|
|
101
|
+
enabled: {
|
|
102
|
+
path: "disabled",
|
|
103
|
+
formatter: function (disabled) {
|
|
104
|
+
return !disabled;
|
|
105
|
+
}
|
|
106
106
|
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
107
|
+
}).data("id", id);
|
|
108
|
+
|
|
109
|
+
oMultiComboBox.bindItems({ path: "enum", template: multiSelectItem });
|
|
110
|
+
oMultiComboBox.setSelectedKeys(unchangedData[id] || []);
|
|
111
|
+
return oMultiComboBox;
|
|
112
|
+
} else {
|
|
113
|
+
const oMultiInput = new MultiInput({
|
|
114
|
+
width: "70%",
|
|
115
|
+
showValueHelp: false,
|
|
116
|
+
showClearIcon: true,
|
|
117
|
+
tokens: (propertyValues[id] || []).map(function (navigationProperty) {
|
|
118
|
+
return new Token({ text: navigationProperty, key: navigationProperty });
|
|
119
|
+
}),
|
|
120
|
+
tokenUpdate: function (event) {
|
|
121
|
+
const array = propertyValues[this.data("id")];
|
|
122
|
+
if (event.getParameter("addedTokens").length > 0) {
|
|
123
|
+
array.push(event.getParameter("addedTokens")[0].getKey());
|
|
124
|
+
} else if (event.getParameter("removedTokens").length > 0) {
|
|
125
|
+
const index = array.indexOf(event.getParameter("removedTokens")[0].getKey());
|
|
126
|
+
if (index !== -1) {
|
|
127
|
+
array.splice(index, 1);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}).data("id", id);
|
|
132
|
+
|
|
133
|
+
oMultiInput.addValidator(function (args) {
|
|
134
|
+
return new Token({ key: args.text, text: args.text });
|
|
135
|
+
});
|
|
136
|
+
return oMultiInput;
|
|
137
|
+
}
|
|
113
138
|
case "number":
|
|
114
139
|
return new Input({
|
|
115
140
|
value: "{value}",
|
|
@@ -141,6 +166,19 @@ sap.ui.define([
|
|
|
141
166
|
booleanOrStringSelect.bindItems({ path: "enum", template: booleanOrStringItem });
|
|
142
167
|
booleanOrStringSelect.setSelectedKey(unchangedData[id]);
|
|
143
168
|
return booleanOrStringSelect;
|
|
169
|
+
|
|
170
|
+
case "booleanOrStringCheckbox":
|
|
171
|
+
const enums = oContext.getProperty("enum");
|
|
172
|
+
const booleanOrStringCheckbox = new CheckBox({
|
|
173
|
+
selected: unchangedData[id] === enums.find(e => e.name === "true").id,
|
|
174
|
+
select: function (event) {
|
|
175
|
+
const isSelected = event.getParameter("selected");
|
|
176
|
+
const value = isSelected ? enums.find(e => e.name === "true").id : enums.find(e => e.name === "false").id;
|
|
177
|
+
propertyValues[this.data("id")] = value;
|
|
178
|
+
}
|
|
179
|
+
}).data("id", id);
|
|
180
|
+
return booleanOrStringCheckbox;
|
|
181
|
+
|
|
144
182
|
case "json":
|
|
145
183
|
return new Input({
|
|
146
184
|
value: "{value}",
|
|
@@ -315,6 +353,7 @@ sap.ui.define([
|
|
|
315
353
|
* @property {DesigntimeSetting[]} [writeObject] - An array of DesigntimeSetting objects.
|
|
316
354
|
* @property {string} [writeObjectFor] - The value of the setting for which the Object should be constructed.
|
|
317
355
|
* @property {boolean} [skipChange] - Indicates if the change should be skipped.
|
|
356
|
+
* @property {boolean} [keyUser] - Indicates if the setting is allowed for key user.
|
|
318
357
|
|
|
319
358
|
* @typedef {string | boolean | string[] } PropertyValue
|
|
320
359
|
|
|
@@ -417,12 +456,58 @@ sap.ui.define([
|
|
|
417
456
|
return oSupportedGlobalManifestSettings;
|
|
418
457
|
}
|
|
419
458
|
|
|
459
|
+
/**
|
|
460
|
+
* Retrieves the allowed designtime settings for the given control based on the floorplan component name.
|
|
461
|
+
* If the control is not restricted to a specific component, all settings are returned.
|
|
462
|
+
* If the control is restricted to a specific component, only the settings for that component are returned.
|
|
463
|
+
* @param {sap.ui.core.Control} oControl - The control.
|
|
464
|
+
* @param {DesigntimeSetting[]} aDesigntimeSettings - The array of designtime settings.
|
|
465
|
+
* @returns {DesigntimeSetting[]} - The allowed designtime settings.
|
|
466
|
+
*/
|
|
467
|
+
|
|
468
|
+
function filterDesigntimeSettingsByFloorPlan(oControl, aDesigntimeSettings) {
|
|
469
|
+
const sComponentName = getOwnerComponentFor(oControl).getMetadata().getComponentName();
|
|
470
|
+
return aDesigntimeSettings.filter(oSetting => !oSetting.restrictedTo || oSetting.restrictedTo.includes(sComponentName));
|
|
471
|
+
}
|
|
472
|
+
|
|
420
473
|
|
|
421
474
|
// Add the functions to the testableHelper for testing which are not exported
|
|
422
475
|
getChangedPropertyValues = testableHelper.testableStatic(getChangedPropertyValues, "getChangedPropertyValues");
|
|
423
476
|
getChanges = testableHelper.testableStatic(getChanges, "getChanges");
|
|
424
477
|
getChangeStructure = testableHelper.testableStatic(getChangeStructure, "getChangeStructure");
|
|
425
478
|
|
|
479
|
+
/**
|
|
480
|
+
* Parses the URL parameters and returns the value of RTA mode URL parameter (fiori-tools-rta-mode)
|
|
481
|
+
* @returns {string | null} A promise which returns a value of RTA mode
|
|
482
|
+
*/
|
|
483
|
+
function getRtaModeValue() {
|
|
484
|
+
var RTA_MODE_URL_PARAM_KEY = "fiori-tools-rta-mode";
|
|
485
|
+
|
|
486
|
+
const oUrlParams = new URLSearchParams(window.location.search);
|
|
487
|
+
const sRtaModeValue = oUrlParams.get(RTA_MODE_URL_PARAM_KEY);
|
|
488
|
+
return sRtaModeValue;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
const FioriToolsRtaMode = {
|
|
492
|
+
True: "true",
|
|
493
|
+
ForAdaptation: "forAdaptation"
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Returns the allowed designtime settings based on the adaptation mode.
|
|
498
|
+
* If the adaptation mode is not set, only key user settings are returned.
|
|
499
|
+
* If the adaptation mode is set, all settings are returned.
|
|
500
|
+
*
|
|
501
|
+
* @param {DesigntimeSetting[]} aDesigntimeSettings
|
|
502
|
+
* @returns {DesigntimeSetting[]}
|
|
503
|
+
*/
|
|
504
|
+
function getAllowedDesigntimeSettingsBasedOnAdaptationMode(aDesigntimeSettings) {
|
|
505
|
+
if (!getRtaModeValue()) {
|
|
506
|
+
return aDesigntimeSettings.filter(oSetting => oSetting.keyUser);
|
|
507
|
+
}
|
|
508
|
+
return aDesigntimeSettings;
|
|
509
|
+
}
|
|
510
|
+
|
|
426
511
|
return {
|
|
427
512
|
openAdaptionDialog: fnOpenAdaptionDialog,
|
|
428
513
|
getSettings,
|
|
@@ -432,6 +517,10 @@ sap.ui.define([
|
|
|
432
517
|
getLocalId,
|
|
433
518
|
SettingScope,
|
|
434
519
|
ChangeType,
|
|
435
|
-
getSupportedGlobalManifestSettings
|
|
520
|
+
getSupportedGlobalManifestSettings,
|
|
521
|
+
filterDesigntimeSettingsByFloorPlan,
|
|
522
|
+
getRtaModeValue,
|
|
523
|
+
FioriToolsRtaMode,
|
|
524
|
+
getAllowedDesigntimeSettingsBasedOnAdaptationMode
|
|
436
525
|
};
|
|
437
526
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
APPLY=
|
|
2
|
+
APPLY=nH1BrR0hyKgb04d73Mxd+A_Apply
|
|
3
3
|
|
|
4
|
-
MESSAGE_BUTTON_TOOLTIP_S=
|
|
4
|
+
MESSAGE_BUTTON_TOOLTIP_S=NwlSqAFib9vfeqqNE781IQ_1 Message
|
|
5
5
|
|
|
6
|
-
MESSAGE_BUTTON_TOOLTIP_P=
|
|
6
|
+
MESSAGE_BUTTON_TOOLTIP_P=NgyLDP6lSQDYc2CsPadzZg_{0} Messages
|
|
7
7
|
|
|
8
|
-
MESSAGE_BUTTON_TYPE=
|
|
8
|
+
MESSAGE_BUTTON_TYPE=x5WGCQhSx49hUiJHwlOkmw_Messages
|
|
9
9
|
|
|
10
|
-
ST_DETAIL_TITLE_VALIDATION=
|
|
10
|
+
ST_DETAIL_TITLE_VALIDATION=AfreC6WzZTp/+R8OrCdWgA_Validation Messages
|
|
11
11
|
|
|
12
|
-
ST_DETAIL_TITLE_DELETE=
|
|
12
|
+
ST_DETAIL_TITLE_DELETE=IkZr5MmugIY4SHT8ExcbvQ_Delete
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
press="{customAction>press}"
|
|
14
14
|
type="Transparent">
|
|
15
15
|
<layoutData>
|
|
16
|
-
<OverflowToolbarLayoutData priority
|
|
16
|
+
<OverflowToolbarLayoutData priority="{path: 'customAction>importance', formatter: 'AH.getToolbarButtonPriorityFromImportance'}"/>
|
|
17
17
|
</layoutData>
|
|
18
18
|
</Button>
|
|
19
19
|
</template:if>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
press="{customAction>press}"
|
|
30
30
|
type="Transparent">
|
|
31
31
|
<layoutData>
|
|
32
|
-
<OverflowToolbarLayoutData priority
|
|
32
|
+
<OverflowToolbarLayoutData priority="{path: 'customAction>importance', formatter: 'AH.getToolbarButtonPriorityFromImportance'}"/>
|
|
33
33
|
</layoutData>
|
|
34
34
|
</Button>
|
|
35
35
|
</template:if>
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"
|
|
2
|
-
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
2
|
+
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
3
|
+
template:require="{AH:'sap/suite/ui/generic/template/js/AnnotationHelper'}">
|
|
3
4
|
|
|
4
5
|
<template:if test="{= ${tmpEntitySet>EntitySet} === ${parameter>/entitySet} }">
|
|
5
6
|
<Button id="{customaction>id}"
|
|
6
7
|
text="{customaction>text}"
|
|
7
8
|
press="{customaction>press}" type="Default">
|
|
8
9
|
<layoutData>
|
|
9
|
-
<OverflowToolbarLayoutData priority
|
|
10
|
+
<OverflowToolbarLayoutData priority="{path: 'customaction>importance', formatter: 'AH.getToolbarButtonPriorityFromImportance'}"/>
|
|
10
11
|
</layoutData>
|
|
11
12
|
</Button>
|
|
12
13
|
</template:if>
|
|
@@ -2,26 +2,24 @@
|
|
|
2
2
|
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
3
3
|
template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper'}">
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
type="{path:'dataField>', formatter: 'AH.buildExpressionForButtonCriticality'}"
|
|
10
|
-
text="{= ${path: 'dataField>Label', formatter: 'AHModel.format'}}"
|
|
11
|
-
visible="{parts: [{path: 'parameter>/treeNode'}, {path: 'action>sap:applicable-path'}, {path: 'dataField>'}], formatter: 'AH.actionControlDetermining'}"
|
|
5
|
+
<template:with path="dataField>Action" helper="AHModel.gotoFunctionImport" var="action">
|
|
6
|
+
<Button id="{parts: [{path: 'dataField>'}, {path: 'facet>'}], formatter: 'AH.getStableIdPartForDatafieldActionButton'}::Determining"
|
|
7
|
+
type="{path:'dataField>', formatter: 'AH.buildExpressionForButtonCriticality'}" text="{= ${path: 'dataField>Label', formatter: 'AHModel.format'}}"
|
|
8
|
+
visible="{parts: [{path: 'parameter>/treeNode'}, {path: 'action>sap:applicable-path'}, {path: 'dataField>'}], formatter: 'AH.actionControlDetermining'}"
|
|
12
9
|
press="{parts: [{path: 'parameter>/settings'}, {path: 'dataField>'}, {path: 'parameter>/manifest'}, {value: 'true'}], formatter: 'AH.getAnnotatedActionPress'}">
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
10
|
+
<customData>
|
|
11
|
+
<core:CustomData key="Action" value="{path: 'dataField>Action', formatter: 'AHModel.format'}" />
|
|
12
|
+
<core:CustomData key="Label" value="{path: 'dataField>Label', formatter: 'AHModel.format'}" />
|
|
13
|
+
<core:CustomData key="ActionType" value="determining" />
|
|
14
|
+
<template:if test="{= ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation'}">
|
|
15
|
+
<core:CustomData key="SemanticObject" value="{path: 'dataField>SemanticObject', formatter: 'AHModel.format'}" />
|
|
16
|
+
<core:CustomData key="RequiresContext" value="{path: 'dataField>RequiresContext', formatter: 'AHModel.format'}" />
|
|
17
|
+
</template:if>
|
|
18
|
+
<template:with path="dataField>Action" helper="AHModel.gotoFunctionImport" var="action">
|
|
19
|
+
<core:CustomData key="ActionFor" value="{action>sap:action-for}" />
|
|
20
|
+
</template:with>
|
|
21
|
+
</customData>
|
|
22
|
+
</Button>
|
|
23
|
+
</template:with>
|
|
26
24
|
|
|
27
25
|
</core:FragmentDefinition>
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:feControls="sap.fe.controls.easyFilter">
|
|
2
2
|
<!-- to check how to use a common model property instead of listReport/filterMode which is specific to LR-->
|
|
3
3
|
<VBox visible="{= ${_templPriv>/listReport/filterMode} === 'easyFilter'}">
|
|
4
|
-
<MessageStrip
|
|
5
|
-
text="{i18n>ST_EASY_FILTER_PROMPT_INFO}"
|
|
6
|
-
showIcon="true"
|
|
7
|
-
showCloseButton="true"
|
|
8
|
-
class="sapUiSmallMarginBottom"/>
|
|
9
4
|
<feControls:EasyFilterBarContainer id="template::easyFilterContainer"
|
|
10
5
|
showValueHelp="._templateEventHandlers.onEasyFilterShowValueHelp"
|
|
11
6
|
queryChanged="._templateEventHandlers.onEasyFilterQueryChanged"
|
|
@@ -13,7 +8,6 @@
|
|
|
13
8
|
beforeQueryProcessing="._templateEventHandlers.onEasyFilterBeforeQueryProcessing"
|
|
14
9
|
afterQueryProcessing="._templateEventHandlers.onEasyFilterAfterQueryProcessing"
|
|
15
10
|
clearFilters="._templateEventHandlers.onEasyFilterClearFilters"
|
|
16
|
-
executeSearch="._templateEventHandlers.onEasyFilterExecuteSearch"
|
|
17
11
|
/>
|
|
18
12
|
</VBox>
|
|
19
13
|
</core:FragmentDefinition>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"
|
|
2
|
-
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
2
|
+
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
3
|
+
template:require="{AH:'sap/suite/ui/generic/template/js/AnnotationHelper'}">
|
|
3
4
|
|
|
4
5
|
<template:if test="{= ${tmpEntitySet>EntitySet} === ${parameter>/entitySet} }">
|
|
5
6
|
<template:repeat list="{tmpEntitySet>Actions}" var="customAction">
|
|
@@ -9,7 +10,7 @@
|
|
|
9
10
|
press="{= ${customAction>command} ? 'cmd:' + ${customAction>command} : ${customAction>press} }"
|
|
10
11
|
type="Default">
|
|
11
12
|
<layoutData>
|
|
12
|
-
<OverflowToolbarLayoutData priority="{customAction>importance}"/>
|
|
13
|
+
<OverflowToolbarLayoutData priority="{path: 'customAction>importance', formatter: 'AH.getToolbarButtonPriorityFromImportance'}"/>
|
|
13
14
|
</layoutData>
|
|
14
15
|
</Button>
|
|
15
16
|
</template:if>
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
<fe:Link
|
|
11
11
|
text="{parts: [{path: 'dataField>'}, {path: 'listEntitySet>'}], formatter: 'AH.getLinkTextForDFwithIBN'}"
|
|
12
12
|
press="._templateEventHandlers.onDataFieldWithIntentBasedNavigation"
|
|
13
|
+
accessibleRole="Button"
|
|
13
14
|
wrapping="false">
|
|
14
15
|
<fe:customData>
|
|
15
16
|
<core:CustomData key="SemanticObject" value="{path: 'dataField>SemanticObject', formatter: 'AHModel.format'}" />
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
<smartField:SmartField value="{path: 'dataField>Value', formatter: 'AHModel.simplePath'}" editable="false" contextEditable="false" fetchValueListReadOnly="false"
|
|
27
28
|
ariaLabelledBy="{columnId>id}">
|
|
28
29
|
<smartField:configuration>
|
|
29
|
-
<smartField:Configuration displayBehaviour="{parts: [{path: 'dataField>'}, {path: '
|
|
30
|
+
<smartField:Configuration displayBehaviour="{parts: [{path: 'dataField>'}, {path: 'listEntitySet>'}, {path: 'dataFieldTarget>Data'}], formatter: 'AH.getTextArrangementForSCFields'}"/>
|
|
30
31
|
</smartField:configuration>
|
|
31
32
|
<template:if test="{= ${dataField>Criticality}}">
|
|
32
33
|
<smartField:controlProposal>
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
<core:CustomData key="Target" value="{dataField>Target/NavigationPropertyPath}" />
|
|
55
56
|
</smartField:customData>
|
|
56
57
|
<smartField:configuration>
|
|
57
|
-
<smartField:Configuration displayBehaviour="{parts: [{path: 'dataField>'}, {
|
|
58
|
+
<smartField:Configuration displayBehaviour="{parts: [{path: 'dataField>'}, {path: 'listEntitySet>'}], formatter: 'AH.getTextArrangementForSmartControl'}" />
|
|
58
59
|
</smartField:configuration>
|
|
59
60
|
</smartField:SmartField>
|
|
60
61
|
</template:elseif>
|
|
@@ -83,22 +84,22 @@
|
|
|
83
84
|
<RatingIndicator
|
|
84
85
|
enabled="true" editable="false" maxValue="{path: 'dataFieldTarget>TargetValue', formatter: 'AHModel.format'}"
|
|
85
86
|
binding="{= ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/') > -1 ? '{' + ${path: 'dataField>Target/AnnotationPath'}.slice(0, ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/')) + '}' : null}"
|
|
86
|
-
value="{path: 'dataFieldTarget>Value', formatter: 'AHModel.format'}"
|
|
87
|
+
value="{path: 'dataFieldTarget>Value', formatter: 'AHModel.format'}" iconSize="16px" />
|
|
87
88
|
</template:with>
|
|
88
89
|
</template:elseif>
|
|
89
90
|
<template:elseif test="{= ${dataFieldTarget>Visualization/EnumMember} === 'com.sap.vocabularies.UI.v1.VisualizationType/Progress'}">
|
|
90
91
|
<template:with path="dataFieldTarget>Value" helper="AHModel.resolvePath" var="value">
|
|
91
92
|
<!-- Progress Bar Control -->
|
|
92
|
-
<!-- The formatter 'formatDisplayValueForProgressIndicator' is used by 'AH.buildExpressionForProgressIndicatorDisplayValue' -->
|
|
93
|
+
<!-- The formatter 'RuntimeFormatters.formatDisplayValueForProgressIndicator' is used by 'AH.buildExpressionForProgressIndicatorDisplayValue' -->
|
|
93
94
|
<ProgressIndicator
|
|
94
|
-
core:require="{
|
|
95
|
+
core:require="{RuntimeFormatters: 'sap/suite/ui/generic/template/js/RuntimeFormatters'}"
|
|
95
96
|
binding="{= ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/') > -1 ? '{' + ${path: 'dataField>Target/AnnotationPath'}.slice(0, ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/')) + '}' : null}"
|
|
96
97
|
percentValue="{ parts: [{path:'dataFieldTarget>'}, {path:'value>'}], formatter: 'AH.buildExpressionForProgressIndicatorPercentValue' }"
|
|
97
98
|
displayValue="{ parts: [{path:'dataFieldTarget>'}, {path:'value>Org.OData.Measures.V1.Unit'}], formatter: 'AH.buildExpressionForProgressIndicatorDisplayValue'}"
|
|
98
99
|
state="{path:'dataFieldTarget>', formatter: 'AH.buildExpressionForProgressIndicatorCriticality'}">
|
|
99
100
|
<customData>
|
|
100
101
|
<core:CustomData key="Target" value="{= ${path: 'dataFieldTarget>TargetValue', formatter: 'AHModel.format'} }" />
|
|
101
|
-
<core:CustomData key="UoM" value="{= ${path: '
|
|
102
|
+
<core:CustomData key="UoM" value="{= ${path: 'value>Org.OData.Measures.V1.Unit', formatter: 'AHModel.format'} }" />
|
|
102
103
|
</customData>
|
|
103
104
|
</ProgressIndicator>
|
|
104
105
|
</template:with>
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
<template:if test="{headerFacet>Label}">
|
|
10
10
|
<Title id="header::{path: 'headerFacet>', formatter: 'AH.getStableIdPartFromFacet'}::Label"
|
|
11
11
|
text="{path: 'headerFacet>Label', formatter: 'AHModel.format'}:"
|
|
12
|
-
class="sapSmartTemplatesObjectPageHeaderAddressLabel"
|
|
12
|
+
class="sapSmartTemplatesObjectPageHeaderAddressLabel"
|
|
13
|
+
level="H3"/>
|
|
13
14
|
</template:if>
|
|
14
15
|
<Text id="header::{path: 'headerFacet>', formatter: 'AH.getStableIdPartFromFacet'}::Address"
|
|
15
16
|
class="sapSmartTemplatesObjectPageHeaderAddressValue"
|
package/src/sap/suite/ui/generic/template/fragments/HeaderContactWithDetailsPopover.fragment.xml
CHANGED
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
<template:if test="{headerFacet>Label}">
|
|
10
10
|
<Title id="header::{path: 'headerFacet>', formatter: 'AH.getStableIdPartFromFacet'}::Label"
|
|
11
11
|
text="{path: 'headerFacet>Label', formatter: 'AHModel.format'}"
|
|
12
|
-
class="sapSmartTemplatesObjectPageHeaderContactLabel"
|
|
12
|
+
class="sapSmartTemplatesObjectPageHeaderContactLabel"
|
|
13
|
+
level="H3"/>
|
|
13
14
|
</template:if>
|
|
14
15
|
<HBox>
|
|
15
16
|
<core:Icon id="header::{path: 'headerFacet>', formatter: 'AH.getStableIdPartFromFacet'}::Link::Icon"
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<Title id="header::{path: 'headerFacet>', formatter: 'AH.getStableIdPartFromFacet'}::{path: 'dataPoint>', formatter: 'AH.getStableIdPartFromDataPoint'}::Label"
|
|
6
6
|
text="{path: 'dataPoint>Title', formatter: 'AH.formatWithExpandSimple'}"
|
|
7
|
-
class="sapSmartTemplatesObjectPageDataPointLabel sapUiTinyMarginEnd"/>
|
|
7
|
+
class="sapSmartTemplatesObjectPageDataPointLabel sapUiTinyMarginEnd" level="H3"/>
|
|
8
8
|
<template:with path="headerFacet>Target" helper="AHModel.gotoEntitySet"
|
|
9
9
|
var="annotation">
|
|
10
10
|
<sfi:SmartField
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</sfi:semanticObjectController>
|
|
19
19
|
<sfi:configuration>
|
|
20
20
|
<sfi:Configuration
|
|
21
|
-
displayBehaviour="{parts: [{path: 'dataPoint>'}, {path: '
|
|
21
|
+
displayBehaviour="{parts: [{path: 'dataPoint>'}, {path: 'entitySet>'}], formatter: 'AH.getTextArrangementForSmartControl'}"/>
|
|
22
22
|
</sfi:configuration>
|
|
23
23
|
<template:if test="{= ${dataPoint>Criticality} }">
|
|
24
24
|
<sfi:controlProposal>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="facetId">
|
|
9
9
|
<template:if test="{= ${facetId>}.buildStableId({type: 'ObjectPage', subType: 'Facet', sRecordType: ${headerFacet>RecordType}, sAnnotationPath: ${headerFacet>Target/AnnotationPath}, sAnnotationId: ${headerFacet>ID/String}, bIsHeaderFacet: ${isHeaderFacet>value}})}"/>
|
|
10
10
|
<template:if test="{headerFacet>Label}">
|
|
11
|
-
<Title id="{:= ${parameter>/stableId}.getStableId({type: 'ObjectPageHeader', subType: 'HeaderTitle', sFacet: ${facetId>id}})}" text="{path: 'headerFacet>Label', formatter: 'AHModel.format'}" class="sapSmartTemplatesObjectPageHeaderFormTitle"/>
|
|
11
|
+
<Title id="{:= ${parameter>/stableId}.getStableId({type: 'ObjectPageHeader', subType: 'HeaderTitle', sFacet: ${facetId>id}})}" text="{path: 'headerFacet>Label', formatter: 'AHModel.format'}" class="sapSmartTemplatesObjectPageHeaderFormTitle" level="H3"/>
|
|
12
12
|
</template:if>
|
|
13
13
|
<template:if test="{form>Data}">
|
|
14
14
|
<template:then>
|