@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
package/package.json
CHANGED
|
@@ -302,10 +302,6 @@ sap.ui.define(["sap/ui/core/mvc/OverrideExecution",
|
|
|
302
302
|
if (oAlpSettings.isResponsiveTable === undefined){
|
|
303
303
|
oAlpSettings.isResponsiveTable = oVariants[sKey].tableSettings.type === "ResponsiveTable";
|
|
304
304
|
}
|
|
305
|
-
var oVariantEntityType = oMetaModel.getODataEntityType(oEntitySet.entityType);
|
|
306
|
-
if (oVariantEntityType && oVariantEntityType.property && oVariants[sKey].tableSettings && oVariants[sKey].tableSettings.createWithParameterDialog) {
|
|
307
|
-
oAlpSettings.quickVariantSelectionX.variants[sKey].tableSettings.createWithParameterDialog.id = StableIdHelper.getStableId({type: 'ALPAction', subType: 'CreateWithDialog', sQuickVariantKey: oVariants[sKey].key});
|
|
308
|
-
}
|
|
309
305
|
setTargetEntity(oEntitySet);
|
|
310
306
|
// tableSettings in case of Multitable, it may contain chart or table settings.
|
|
311
307
|
oVariants[sKey].tableSettings = deepExtend(oVariants[sKey].tableSettings, fnCustomActions(oVariants[sKey].key, sKey).tableSettings, fnGetAnnotatedActionsCommandDetails(sKey).tableSettings);
|
|
@@ -17,14 +17,38 @@ sap.ui.define([
|
|
|
17
17
|
"sap/m/MessageStrip",
|
|
18
18
|
"sap/ui/core/format/NumberFormat",
|
|
19
19
|
"sap/m/library",
|
|
20
|
-
"sap/ui/core/library",
|
|
21
20
|
"sap/suite/ui/generic/template/genericUtilities/FeLogger",
|
|
22
21
|
"sap/m/GenericTag",
|
|
23
22
|
"sap/m/ObjectNumber",
|
|
24
|
-
"sap/ui/events/KeyCodes"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
"sap/ui/events/KeyCodes",
|
|
24
|
+
"sap/ui/core/Element",
|
|
25
|
+
"sap/ui/core/message/MessageType"
|
|
26
|
+
], function (
|
|
27
|
+
Control,
|
|
28
|
+
KpiTagController,
|
|
29
|
+
KpiUtil,
|
|
30
|
+
KpiAnnotationHelper,
|
|
31
|
+
FilterUtil,
|
|
32
|
+
V4Terms,
|
|
33
|
+
ODataModelUtil,
|
|
34
|
+
KpiProvider,
|
|
35
|
+
ListUtils,
|
|
36
|
+
Device,
|
|
37
|
+
SelectionVariant,
|
|
38
|
+
Filter,
|
|
39
|
+
JSONModel,
|
|
40
|
+
Locale,
|
|
41
|
+
ResponsivePopover,
|
|
42
|
+
MessageStrip,
|
|
43
|
+
NumberFormat,
|
|
44
|
+
SapMLibrary,
|
|
45
|
+
FeLogger,
|
|
46
|
+
GenericTag,
|
|
47
|
+
ObjectNumber,
|
|
48
|
+
KeyCodes,
|
|
49
|
+
Element,
|
|
50
|
+
MessageType
|
|
51
|
+
) {
|
|
28
52
|
"use strict";
|
|
29
53
|
var oFeLogger = new FeLogger("AnalyticalListPage.control.SmartKpiTag");
|
|
30
54
|
var oLogger = oFeLogger.getLogger();
|
|
@@ -78,8 +102,8 @@ sap.ui.define([
|
|
|
78
102
|
bindable: false
|
|
79
103
|
},
|
|
80
104
|
errorType: {
|
|
81
|
-
type : "sap.ui.core.MessageType",
|
|
82
|
-
defaultValue :
|
|
105
|
+
type : "sap.ui.core.message.MessageType",
|
|
106
|
+
defaultValue : MessageType.Error
|
|
83
107
|
},
|
|
84
108
|
errorMessage: {
|
|
85
109
|
type: "string",
|
|
@@ -105,7 +129,9 @@ sap.ui.define([
|
|
|
105
129
|
beforeRebindFilterableKPI: {}
|
|
106
130
|
}
|
|
107
131
|
},
|
|
108
|
-
renderer: {
|
|
132
|
+
renderer: {
|
|
133
|
+
apiVersion: 2
|
|
134
|
+
},
|
|
109
135
|
_isPercent: false,
|
|
110
136
|
_unScaledValue: "",
|
|
111
137
|
_sUnitofMeasure: "",
|
|
@@ -654,7 +680,7 @@ sap.ui.define([
|
|
|
654
680
|
}
|
|
655
681
|
} catch (oError) {
|
|
656
682
|
//Check no data / incorrect format scenario, display warning for such cases
|
|
657
|
-
this.setProperty("errorType",
|
|
683
|
+
this.setProperty("errorType", MessageType.Warning);
|
|
658
684
|
var oRb = this.getModel("i18n").getResourceBundle();
|
|
659
685
|
this.setProperty('errorMessage', oRb.getText("KPI_NO_DATA"));
|
|
660
686
|
oLogger.warning("KPI error details: " + oRb.getText("KPI_NO_DATA"));
|
|
@@ -744,7 +770,7 @@ sap.ui.define([
|
|
|
744
770
|
oLogger.error("KPI error details: " + oRb.getText("REQUIRED_VH_FIELDS_OVERLAY_MESSAGE"));
|
|
745
771
|
this.setStatus("Error");
|
|
746
772
|
} else if (bIsReqFilterbarData) {
|
|
747
|
-
this.setProperty("errorType",
|
|
773
|
+
this.setProperty("errorType", MessageType.Information);
|
|
748
774
|
/*var oRb = this.getModel("i18n").getResourceBundle();*/
|
|
749
775
|
this.setProperty('errorMessage', oRb.getText("KPI_INFO_FOR_MISSING_MANDATE_FILTPAR"));
|
|
750
776
|
oLogger.info("KPI error details: " + oRb.getText("KPI_INFO_FOR_MISSING_MANDATE_FILTPAR"), " ", this);
|
|
@@ -972,7 +998,7 @@ sap.ui.define([
|
|
|
972
998
|
var oResultControl, oView;
|
|
973
999
|
if (sId) {
|
|
974
1000
|
// Try to get SmartFilter from Id
|
|
975
|
-
oResultControl =
|
|
1001
|
+
oResultControl = Element.getElementById(sId);
|
|
976
1002
|
|
|
977
1003
|
// Try to get SmartFilter from parent View!
|
|
978
1004
|
if (!oResultControl) {
|
|
@@ -19,7 +19,9 @@ sap.ui.define(["sap/suite/ui/microchart/InteractiveBarChart",
|
|
|
19
19
|
control: {type: "sap.suite.ui.microchart.InteractiveBarChart", multiple: false}
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
renderer:{
|
|
22
|
+
renderer: {
|
|
23
|
+
apiVersion: 2
|
|
24
|
+
}
|
|
23
25
|
});
|
|
24
26
|
|
|
25
27
|
FilterItemMicroBar.prototype.init = function() {
|
|
@@ -10,8 +10,23 @@ sap.ui.define([
|
|
|
10
10
|
"sap/suite/ui/generic/template/AnalyticalListPage/util/CriticalityUtil",
|
|
11
11
|
"sap/suite/ui/generic/template/listTemplates/listUtils",
|
|
12
12
|
"sap/base/util/extend",
|
|
13
|
-
"sap/base/util/deepExtend"
|
|
14
|
-
|
|
13
|
+
"sap/base/util/deepExtend",
|
|
14
|
+
"sap/ui/core/Element"
|
|
15
|
+
], function(
|
|
16
|
+
Control,
|
|
17
|
+
Sorter,
|
|
18
|
+
oData4Analytics,
|
|
19
|
+
FilterUtil,
|
|
20
|
+
NumberFormat,
|
|
21
|
+
v4Terms,
|
|
22
|
+
DateFormat,
|
|
23
|
+
FeLogger,
|
|
24
|
+
CriticalityUtil,
|
|
25
|
+
ListUtils,
|
|
26
|
+
extend,
|
|
27
|
+
deepExtend,
|
|
28
|
+
Element
|
|
29
|
+
) {
|
|
15
30
|
"use strict";
|
|
16
31
|
|
|
17
32
|
var oLogger = new FeLogger("AnalyticalListPage.control.visualfilterbar.FilterItemMicroChart").getLogger();
|
|
@@ -32,7 +47,7 @@ sap.ui.define([
|
|
|
32
47
|
dimensionFieldIsDateTimeOffset: { type: "boolean", group: "Misc", defaultValue: false },
|
|
33
48
|
dimensionFieldDisplay: { type: "string", group: "Misc", defaultValue: null },
|
|
34
49
|
dimensionFilter: { type: "any", group: "Misc", defaultValue: null },
|
|
35
|
-
dimensionFilterExternal: { type: "
|
|
50
|
+
dimensionFilterExternal: { type: "any", group: "Misc", defaultValue: null },
|
|
36
51
|
measureField: { type: "string", group: "Misc", defaultValue: null },
|
|
37
52
|
unitField: { type: "string", group: "Misc", defaultValue: null },
|
|
38
53
|
isCurrency: { type: "boolean", group: "Misc", defaultValue: false },
|
|
@@ -158,7 +173,7 @@ sap.ui.define([
|
|
|
158
173
|
FilterItemChart.prototype._getEntityParameters = function(oModel, entitySet) {
|
|
159
174
|
var allParams = {};
|
|
160
175
|
if (this.getSmartFilterId()) { //if it has referance to smart filter bar
|
|
161
|
-
var oSmartFilterBar =
|
|
176
|
+
var oSmartFilterBar = Element.getElementById(this.getSmartFilterId());
|
|
162
177
|
var aSVParameters = ListUtils.getSelectionVariantParameterNamesWithoutNavigation(this.getSelectFilters() && this.getSelectFilters().Parameters);
|
|
163
178
|
var oSFBParams = oSmartFilterBar.getEntitySet() === entitySet ? oSmartFilterBar.getAnalyticalParameters() : [];
|
|
164
179
|
var aSVSelectOptions = this.getSelectFilters() && this.getSelectFilters().SelectOptions;
|
|
@@ -826,7 +841,8 @@ sap.ui.define([
|
|
|
826
841
|
};
|
|
827
842
|
|
|
828
843
|
FilterItemChart.prototype._onDataReceived = function(data) {
|
|
829
|
-
|
|
844
|
+
// Setting custom data when the element is being destroyed will throw error and the custom data changes won't be applied.
|
|
845
|
+
if (!data || this.isDestroyStarted()) {
|
|
830
846
|
return;
|
|
831
847
|
}
|
|
832
848
|
this.data("sOverlay", "none"); //for visual filter bar aria handled by onTitleChange() only
|
|
@@ -1323,7 +1339,7 @@ sap.ui.define([
|
|
|
1323
1339
|
};
|
|
1324
1340
|
|
|
1325
1341
|
FilterItemChart.prototype._getChartAggregationSettings = function(bIsChartType) {
|
|
1326
|
-
var sfb =
|
|
1342
|
+
var sfb = Element.getElementById(this.getSmartFilterId());
|
|
1327
1343
|
var sDimField = ( bIsChartType === CHART_TYPE_DONUT ) ? 'dimensionValue' : this.getDimensionField(),
|
|
1328
1344
|
sDimFieldDisplay = this.getDimensionFieldDisplay(),
|
|
1329
1345
|
sMeasureField = this.getMeasureField(),
|
|
@@ -1397,6 +1413,10 @@ sap.ui.define([
|
|
|
1397
1413
|
* @return {void}
|
|
1398
1414
|
**/
|
|
1399
1415
|
FilterItemChart.prototype.applyOverlay = function(sI18n, sLabel) {
|
|
1416
|
+
// Setting custom data when the element is being destroyed will throw error and the custom data changes won't be applied.
|
|
1417
|
+
if (this.isDestroyStarted()) {
|
|
1418
|
+
return;
|
|
1419
|
+
}
|
|
1400
1420
|
if (sI18n) {
|
|
1401
1421
|
this._chart.setShowError(true);
|
|
1402
1422
|
this._chart.setErrorMessageTitle(this._getI18nText("M_VISUAL_FILTERS_ERROR_MESSAGE_TITLE"));
|
|
@@ -21,7 +21,9 @@ sap.ui.define(["sap/suite/ui/microchart/InteractiveDonutChart",
|
|
|
21
21
|
control: {type: "sap.suite.ui.microchart.InteractiveDonutChart", multiple: false}
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
-
renderer:{
|
|
24
|
+
renderer: {
|
|
25
|
+
apiVersion: 2
|
|
26
|
+
}
|
|
25
27
|
});
|
|
26
28
|
|
|
27
29
|
FilterItemMicroDonut.prototype.init = function() {
|
|
@@ -19,7 +19,9 @@ sap.ui.define(["sap/suite/ui/microchart/InteractiveLineChart",
|
|
|
19
19
|
control: {type: "sap.suite.ui.microchart.InteractiveLineChart", multiple : false}
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
renderer:{
|
|
22
|
+
renderer: {
|
|
23
|
+
apiVersion: 2
|
|
24
|
+
}
|
|
23
25
|
});
|
|
24
26
|
|
|
25
27
|
FilterItemMicroLine.prototype.init = function() {
|
|
@@ -8,7 +8,6 @@ sap.ui.define([
|
|
|
8
8
|
"sap/ui/model/Filter",
|
|
9
9
|
"sap/m/OverflowToolbar",
|
|
10
10
|
"sap/m/ToolbarSpacer",
|
|
11
|
-
"sap/ui/comp/odata/MetadataAnalyser",
|
|
12
11
|
"sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil",
|
|
13
12
|
"sap/suite/ui/generic/template/AnalyticalListPage/util/V4Terms",
|
|
14
13
|
"sap/m/VBox",
|
|
@@ -21,7 +20,6 @@ sap.ui.define([
|
|
|
21
20
|
"sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroDonut",
|
|
22
21
|
"sap/ui/model/json/JSONModel",
|
|
23
22
|
"sap/ui/core/CustomData",
|
|
24
|
-
"sap/m/Text",
|
|
25
23
|
"sap/m/OverflowToolbarLayoutData",
|
|
26
24
|
"sap/ui/model/FilterOperator",
|
|
27
25
|
"sap/ui/Device",
|
|
@@ -33,15 +31,46 @@ sap.ui.define([
|
|
|
33
31
|
"sap/ui/core/InvisibleText",
|
|
34
32
|
"sap/suite/ui/generic/template/js/StableIdHelper",
|
|
35
33
|
"sap/base/util/deepExtend",
|
|
36
|
-
"sap/m/DynamicDateRange"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
34
|
+
"sap/m/DynamicDateRange",
|
|
35
|
+
"sap/ui/core/Control",
|
|
36
|
+
"sap/ui/core/Element"
|
|
37
|
+
], function(
|
|
38
|
+
HeaderContainer,
|
|
39
|
+
VisualFilterDialogController,
|
|
40
|
+
ODataModelUtil,
|
|
41
|
+
VisualFilterProvider,
|
|
42
|
+
PersonalizableInfo,
|
|
43
|
+
SmartVariantManagement,
|
|
44
|
+
Filter,
|
|
45
|
+
OverflowToolbar,
|
|
46
|
+
ToolbarSpacer,
|
|
47
|
+
FilterUtil,
|
|
48
|
+
V4Terms,
|
|
49
|
+
VBox,
|
|
50
|
+
Button,
|
|
51
|
+
Title,
|
|
52
|
+
DropDownController,
|
|
53
|
+
DynamicDateRangeController,
|
|
54
|
+
FilterItemMicroBar,
|
|
55
|
+
FilterItemMicroLine,
|
|
56
|
+
FilterItemMicroDonut,
|
|
57
|
+
JSONModel,
|
|
58
|
+
CustomData,
|
|
59
|
+
OverflowToolbarLayoutData,
|
|
60
|
+
FilterOperator,
|
|
61
|
+
Device,
|
|
62
|
+
SimpleType,
|
|
63
|
+
SapCoreLibrary,
|
|
64
|
+
SapMLibrary,
|
|
65
|
+
DatePicker,
|
|
66
|
+
FeLogger,
|
|
67
|
+
InvisibleText,
|
|
68
|
+
StableIdHelper,
|
|
69
|
+
deepExtend,
|
|
70
|
+
DynamicDateRange,
|
|
71
|
+
Control,
|
|
72
|
+
Element
|
|
73
|
+
) {
|
|
45
74
|
"use strict";
|
|
46
75
|
var oLogger = new FeLogger("AnalyticalListPage.visualfilterbar.SmartVisualFilterBar").getLogger();
|
|
47
76
|
|
|
@@ -87,7 +116,9 @@ sap.ui.define([
|
|
|
87
116
|
onFilterItemAdded: {}
|
|
88
117
|
}
|
|
89
118
|
},
|
|
90
|
-
renderer: {
|
|
119
|
+
renderer: {
|
|
120
|
+
apiVersion: 2
|
|
121
|
+
}
|
|
91
122
|
});
|
|
92
123
|
|
|
93
124
|
SmartVisualFilterBar.prototype.init = function() {
|
|
@@ -1196,7 +1227,7 @@ sap.ui.define([
|
|
|
1196
1227
|
|
|
1197
1228
|
var itemIndex = 0;
|
|
1198
1229
|
//var itemList = this.getContent();
|
|
1199
|
-
var itemList =
|
|
1230
|
+
var itemList = Control.getControlsByFieldGroupId("headerBar");
|
|
1200
1231
|
for (var i = 0; i < config.filterCompList.length; i++) {
|
|
1201
1232
|
var compConfig = config.filterCompList[i];
|
|
1202
1233
|
if (bIsVariantConfig) {
|
|
@@ -1270,7 +1301,7 @@ sap.ui.define([
|
|
|
1270
1301
|
SmartVisualFilterBar.prototype._getVariantManagementControl = function(oSmartVariantId) {
|
|
1271
1302
|
var oSmartVariantControl = null;
|
|
1272
1303
|
if (oSmartVariantId) {
|
|
1273
|
-
oSmartVariantControl = typeof oSmartVariantId == "string" ?
|
|
1304
|
+
oSmartVariantControl = typeof oSmartVariantId == "string" ? Element.getElementById(oSmartVariantId) : oSmartVariantId;
|
|
1274
1305
|
|
|
1275
1306
|
if (oSmartVariantControl && !(oSmartVariantControl instanceof SmartVariantManagement)) {
|
|
1276
1307
|
oLogger.error("Control with the id=" + oSmartVariantId.getId ? oSmartVariantId.getId() : oSmartVariantId + " not of expected type");
|
|
@@ -1366,7 +1397,7 @@ sap.ui.define([
|
|
|
1366
1397
|
}
|
|
1367
1398
|
}
|
|
1368
1399
|
} else {//update chart bindings in the filterbar
|
|
1369
|
-
var itemList =
|
|
1400
|
+
var itemList = Control.getControlsByFieldGroupId("headerBar");
|
|
1370
1401
|
for (var i = 0; i < itemList.length; i++) {
|
|
1371
1402
|
if (itemList[i]._chart) {
|
|
1372
1403
|
itemList[i]._updateBinding();
|
package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/DropDownController.js
CHANGED
|
@@ -1,19 +1,44 @@
|
|
|
1
1
|
sap.ui.define([
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"sap/ui/core/mvc/Controller",
|
|
3
|
+
"sap/ui/model/Filter",
|
|
4
|
+
"sap/m/Button",
|
|
5
|
+
"sap/m/StandardListItem",
|
|
6
|
+
"sap/m/List",
|
|
7
|
+
"sap/m/ToolbarSpacer",
|
|
8
|
+
"sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil",
|
|
9
|
+
"sap/m/ResponsivePopover",
|
|
10
|
+
"sap/m/Label",
|
|
11
|
+
"sap/m/ToggleButton",
|
|
12
|
+
"sap/m/SearchField",
|
|
13
|
+
"sap/m/Toolbar",
|
|
14
|
+
"sap/ui/core/Icon",
|
|
15
|
+
"sap/ui/model/Sorter",
|
|
16
|
+
"sap/ui/model/FilterOperator",
|
|
17
|
+
"sap/m/library",
|
|
18
|
+
"sap/base/util/extend",
|
|
19
|
+
"sap/base/util/deepExtend",
|
|
20
|
+
"sap/ui/core/Element"
|
|
21
|
+
], function (
|
|
22
|
+
Controller,
|
|
23
|
+
Filter,
|
|
24
|
+
Button,
|
|
25
|
+
StandardListItem,
|
|
26
|
+
List,
|
|
27
|
+
ToolbarSpacer,
|
|
28
|
+
FilterUtil,
|
|
29
|
+
ResponsivePopover,
|
|
30
|
+
Label,
|
|
31
|
+
ToggleButton,
|
|
32
|
+
SearchField,
|
|
33
|
+
Toolbar,
|
|
34
|
+
Icon,
|
|
35
|
+
Sorter,
|
|
36
|
+
FilterOperator,
|
|
37
|
+
SapMLibrary,
|
|
38
|
+
extend,
|
|
39
|
+
deepExtend,
|
|
40
|
+
Element
|
|
41
|
+
) {
|
|
17
42
|
"use strict";
|
|
18
43
|
|
|
19
44
|
var bShowOnlySelected = false, oToolbar = {}, oInfoLabel = {}, oUpdatedDimensionFilter = "",
|
|
@@ -34,7 +59,7 @@ sap.ui.define([
|
|
|
34
59
|
sap.suite.ui.generic.template.AnalyticalListPage.controller.DropDownController.createDropdown = function(oControl, oChart, oModel, title, property, bIsEntitySearchable) {
|
|
35
60
|
oUpdatedDimensionFilter = (property.filterRestriction == 'multiple') ? deepExtend({items: [], ranges: [], value: null}, oChart.getDimensionFilter()) : oChart.getDimensionFilter();
|
|
36
61
|
var i18n = oControl.getModel('i18n'),
|
|
37
|
-
oSmartFilterBar =
|
|
62
|
+
oSmartFilterBar = Element.getElementById(oChart.getSmartFilterId()),
|
|
38
63
|
filterBy = {"descriptionAndId":property.dimensionFieldDisplay, "descriptionOnly":property.dimensionFieldDisplay, "idAndDescription":property.dimensionField, "idOnly":property.dimensionField},
|
|
39
64
|
filterBy = (Object.keys(filterBy).indexOf(property.textArrangement) !== -1) ? filterBy[property.textArrangement] : property.dimensionFieldDisplay,
|
|
40
65
|
oToolbarMenuButton = new ToggleButton({
|
|
@@ -199,7 +224,7 @@ sap.ui.define([
|
|
|
199
224
|
});
|
|
200
225
|
|
|
201
226
|
if (oChart.getSmartFilterId()) {
|
|
202
|
-
var oSmartFilterBar =
|
|
227
|
+
var oSmartFilterBar = Element.getElementById(oChart.getSmartFilterId());
|
|
203
228
|
if (oSmartFilterBar && oSmartFilterBar.getEntitySet() === property.entitySet) {
|
|
204
229
|
sBindingPath = oChart.considerAnalyticBinding(sBindingPath,oSmartFilterBar);
|
|
205
230
|
}
|
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
sap.ui.define([
|
|
2
2
|
"sap/suite/ui/generic/template/AnalyticalListPage/controller/KpiCard.controller",
|
|
3
3
|
"sap/ui/model/json/JSONModel",
|
|
4
|
-
"sap/ui/core/
|
|
4
|
+
"sap/ui/core/mvc/ViewType",
|
|
5
5
|
"sap/ui/Device",
|
|
6
6
|
"sap/m/ResponsivePopover",
|
|
7
7
|
"sap/suite/ui/generic/template/genericUtilities/FeLogger",
|
|
8
|
-
"sap/ui/core/mvc/View"
|
|
9
|
-
|
|
8
|
+
"sap/ui/core/mvc/View",
|
|
9
|
+
"sap/ui/core/Element"
|
|
10
|
+
], function (
|
|
11
|
+
KpiCardController,
|
|
12
|
+
JSONModel,
|
|
13
|
+
ViewType,
|
|
14
|
+
Device,
|
|
15
|
+
ResponsivePopover,
|
|
16
|
+
FeLogger,
|
|
17
|
+
View,
|
|
18
|
+
Element
|
|
19
|
+
) {
|
|
10
20
|
"use strict";
|
|
11
21
|
var oLogger = new FeLogger("AnalyticalListPage.controller.KpiTagController").getLogger();
|
|
12
|
-
var OVPLoaded
|
|
13
|
-
ViewType = coreLibrary.mvc.ViewType;
|
|
22
|
+
var OVPLoaded;
|
|
14
23
|
|
|
15
24
|
var KpiTagController = {
|
|
16
25
|
_kpiCards: [],
|
|
@@ -40,7 +49,7 @@ sap.ui.define([
|
|
|
40
49
|
var me = this;
|
|
41
50
|
var oSource;
|
|
42
51
|
if (typeof oEvent.currentTarget != "undefined") {
|
|
43
|
-
oSource =
|
|
52
|
+
oSource = Element.getElementById(oEvent.currentTarget.id);
|
|
44
53
|
} else {
|
|
45
54
|
oSource = oEvent.getSource();
|
|
46
55
|
}
|
|
@@ -208,8 +208,8 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
208
208
|
* Provide an option for showing an own message in the message bar above the ALP table
|
|
209
209
|
* @param {object} [oMessage] custom message along with type to set on table. If this parameter is faulty an existing message will be removed.
|
|
210
210
|
* @param {string} oMessage.message message string to display
|
|
211
|
-
* @param {string} oMessage.type indicates type of message (sap
|
|
212
|
-
* whether it's
|
|
211
|
+
* @param {string} oMessage.type indicates type of message (sap/ui/core/message/MessageType)
|
|
212
|
+
* whether it's MessageType.Success, MessageType.Warning, MessageType.Error or MessageType.Information.
|
|
213
213
|
* @param {array |string} [vTabKey] If switching between different table views is enabled, this parameter can be used to identify the views which
|
|
214
214
|
* are affected by this call. Faulty values indicate that all views should be affected. Otherwise the value should either be one string or an array of strings
|
|
215
215
|
* identifying the affected variant items.
|