@sapui5/sap.suite.ui.generic.template 1.113.0 → 1.115.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 +18 -8
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/SmartVisualFilterBar.js +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/ControllerImplementation.js +30 -16
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/DynamicDateRangeController.js +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/FilterBarController.js +6 -2
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controllerFrameworkExtensions.js +26 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_es.properties +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/AnalyticalListPage.view.xml +68 -74
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/KpiCardSizeM.view.xml +2 -5
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/AnalyticGrid.fragment.xml +8 -8
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/ContentAreaViewExtension.fragment.xml +8 -9
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/ContentAreaViewExtension2.fragment.xml +9 -10
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/ContentContainer.fragment.xml +14 -11
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/ContentViewButtons.fragment.xml +42 -41
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/FilterContainer.fragment.xml +24 -31
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/FilterableKPIContainer.fragment.xml +14 -19
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/HeaderCommands.fragment.xml +4 -4
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/IconTabBarWithSmartTable.fragment.xml +10 -11
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/KPITagList.fragment.xml +14 -16
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/KpiCard.fragment.xml +2 -13
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/MasterExtension.fragment.xml +17 -18
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/SmartFilterBar.fragment.xml +7 -9
- package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/Canvas/view/Canvas.view.xml +23 -24
- package/src/sap/suite/ui/generic/template/ListReport/Component.js +64 -63
- package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +21 -45
- package/src/sap/suite/ui/generic/template/ListReport/controller/IappStateHandler.js +14 -6
- package/src/sap/suite/ui/generic/template/ListReport/controllerFrameworkExtensions.js +24 -2
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n.properties +0 -6
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ar.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_bg.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ca.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cs.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cy.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_da.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_de.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_el.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_GB.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_sappsd.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saprigi.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saptrc.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es_MX.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_et.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fi.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr_CA.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hi.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hr.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hu.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_id.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_it.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_iw.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ja.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_kk.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ko.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lt.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lv.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ms.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_nl.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_no.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pl.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt_PT.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ro.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ru.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sh.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sk.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sl.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sv.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_th.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_tr.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_uk.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_vi.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_CN.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_TW.properties +0 -4
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/ListReport.view.xml +4 -4
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/BreakoutActionButtons.fragment.xml +20 -0
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/BreakoutActions.fragment.xml +9 -31
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/CRUDActionButtons.fragment.xml +12 -12
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/DefaultVariant.fragment.xml +30 -42
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/DeleteConfirmation.fragment.xml +2 -3
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/DraftInfoBox.fragment.xml +4 -3
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/FullscreenPage.fragment.xml +85 -85
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/HeaderCommands.fragment.xml +2 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/IconTabBarWithSmartTable.fragment.xml +14 -12
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/MultiEditDialog.fragment.xml +5 -3
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/MultipleViewsItemCustomData.fragment.xml +11 -8
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/MultipleViewsSingleTableMode.fragment.xml +13 -11
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SearchField.fragment.xml +4 -6
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartChart.fragment.xml +18 -20
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartChartToolbar.fragment.xml +9 -9
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartFilterBar.fragment.xml +5 -8
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartList.fragment.xml +5 -10
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +40 -77
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTableOrList.fragment.xml +9 -8
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTableToolbar.fragment.xml +10 -8
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/TitleVariant.fragment.xml +33 -36
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +40 -28
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/InlineCreationRowsHelper.js +130 -30
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/MessageSortingHandler.js +46 -19
- package/src/sap/suite/ui/generic/template/ObjectPage/controllerFrameworkExtensions.js +21 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/templateSpecificPreparationHelper.js +2 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/Details.view.xml +1 -3
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Actions.fragment.xml +3 -3
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/BreadcrumbLinks.fragment.xml +9 -10
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Breadcrumbs.fragment.xml +2 -3
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/CRUDActionButtons.fragment.xml +3 -3
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/ComponentSections.fragment.xml +3 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/DataFieldForActionNonDetermining.fragment.xml +5 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/DraftConfirmationPopup.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml +50 -49
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/EmbeddedSubSections.fragment.xml +3 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/ExtensionFacetLayout.fragment.xml +7 -8
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Facet.fragment.xml +7 -10
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Footer.fragment.xml +6 -7
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/FooterCommands.fragment.xml +6 -3
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/FormGroupContent.fragment.xml +2 -6
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderContainer.fragment.xml +288 -294
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderContent.fragment.xml +4 -6
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderContentWithExtension.fragment.xml +10 -9
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderImage.fragment.xml +16 -14
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/MultipleViewsSingleTableMode.fragment.xml +15 -16
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/NavigationBar.fragment.xml +6 -9
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/PageLevelCommands.fragment.xml +2 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SectionCommands.fragment.xml +5 -3
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Sections.fragment.xml +33 -36
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SideContentActionButton.fragment.xml +4 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartChart.fragment.xml +11 -17
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartForm.fragment.xml +4 -12
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +50 -88
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTablePluginsRowSettingsRowActions.fragment.xml +32 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/StreamSupport.fragment.xml +1 -3
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SwitchDraftAndActiveObjectPopOver.fragment.xml +1 -3
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/TableCommands.fragment.xml +4 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/TableDeleteConfirmation.fragment.xml +3 -4
- package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/designtime/AnalyticalListPage.designtime.js +3 -0
- package/src/sap/suite/ui/generic/template/designtime/ListReport.designtime.js +3 -0
- package/src/sap/suite/ui/generic/template/designtime/ObjectPage.designtime.js +3 -0
- package/src/sap/suite/ui/generic/template/detailTemplates/PaginatorButtonsHelper.js +2 -1
- package/src/sap/suite/ui/generic/template/detailTemplates/fragments/PaginatorButtons.fragment.xml +4 -5
- package/src/sap/suite/ui/generic/template/fragments/ActionConfirmation.fragment.xml +1 -3
- package/src/sap/suite/ui/generic/template/fragments/AddressFacet.fragment.xml +7 -8
- package/src/sap/suite/ui/generic/template/fragments/AnalyticalTableColumns.fragment.xml +43 -47
- package/src/sap/suite/ui/generic/template/fragments/AnnotatedActionButtons.fragment.xml +3 -3
- package/src/sap/suite/ui/generic/template/fragments/BreakoutActions.fragment.xml +4 -3
- package/src/sap/suite/ui/generic/template/fragments/ContactDetails.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/fragments/ContactDetailsQuickViewGroup.fragment.xml +13 -11
- package/src/sap/suite/ui/generic/template/fragments/ContactDetailsQuickViewGroupReplica.fragment.xml +37 -37
- package/src/sap/suite/ui/generic/template/fragments/Contacts.fragment.xml +14 -12
- package/src/sap/suite/ui/generic/template/fragments/CreateWithDialog.fragment.xml +4 -4
- package/src/sap/suite/ui/generic/template/fragments/DataLoss.fragment.xml +1 -2
- package/src/sap/suite/ui/generic/template/fragments/DataLossTechnicalError.fragment.xml +1 -2
- package/src/sap/suite/ui/generic/template/fragments/DeterminingActions.fragment.xml +3 -3
- package/src/sap/suite/ui/generic/template/fragments/DeterminingButton.fragment.xml +13 -13
- package/src/sap/suite/ui/generic/template/fragments/FCLActions.fragment.xml +3 -5
- package/src/sap/suite/ui/generic/template/fragments/FileUploader.fragment.xml +3 -4
- package/src/sap/suite/ui/generic/template/fragments/GlobalActions.fragment.xml +2 -3
- package/src/sap/suite/ui/generic/template/fragments/GridTableCells.fragment.xml +30 -34
- package/src/sap/suite/ui/generic/template/fragments/GridTableColumns.fragment.xml +47 -49
- package/src/sap/suite/ui/generic/template/fragments/HeaderAddress.fragment.xml +10 -11
- package/src/sap/suite/ui/generic/template/fragments/HeaderContactWithDetailsPopover.fragment.xml +46 -47
- package/src/sap/suite/ui/generic/template/fragments/HeaderDataPoint.fragment.xml +7 -10
- package/src/sap/suite/ui/generic/template/fragments/HeaderDataPointContent.fragment.xml +14 -22
- package/src/sap/suite/ui/generic/template/fragments/HeaderFacet.fragment.xml +11 -9
- package/src/sap/suite/ui/generic/template/fragments/HeaderForm.fragment.xml +8 -11
- package/src/sap/suite/ui/generic/template/fragments/HeaderFormDataField.fragment.xml +47 -54
- package/src/sap/suite/ui/generic/template/fragments/HeaderPlainText.fragment.xml +10 -10
- package/src/sap/suite/ui/generic/template/fragments/HeaderRatingIndicator.fragment.xml +33 -33
- package/src/sap/suite/ui/generic/template/fragments/InlineButton.fragment.xml +18 -18
- package/src/sap/suite/ui/generic/template/fragments/MessageDialog.fragment.xml +3 -3
- package/src/sap/suite/ui/generic/template/fragments/MessageInfluencingCRUDAction.fragment.xml +3 -3
- package/src/sap/suite/ui/generic/template/fragments/ProgressIndicator.fragment.xml +21 -21
- package/src/sap/suite/ui/generic/template/fragments/QuickViewSmartForm.fragment.xml +21 -25
- package/src/sap/suite/ui/generic/template/fragments/QuickViewSmartForm.view.xml +2 -8
- package/src/sap/suite/ui/generic/template/fragments/RatingIndicatorFacet.fragment.xml +19 -19
- package/src/sap/suite/ui/generic/template/fragments/SearchField.fragment.xml +3 -3
- package/src/sap/suite/ui/generic/template/fragments/SemanticObjectControllerForDataField.fragment.xml +10 -0
- package/src/sap/suite/ui/generic/template/fragments/SmartFormDataField.fragment.xml +70 -72
- package/src/sap/suite/ui/generic/template/fragments/SmartMicroChart.fragment.xml +28 -32
- package/src/sap/suite/ui/generic/template/fragments/SmartTablePluginsRowSettings.fragment.xml +16 -0
- package/src/sap/suite/ui/generic/template/fragments/TableCell.fragment.xml +16 -20
- package/src/sap/suite/ui/generic/template/fragments/TableColumnListItem.fragment.xml +14 -15
- package/src/sap/suite/ui/generic/template/fragments/TableColumns.fragment.xml +71 -73
- package/src/sap/suite/ui/generic/template/fragments/ToolbarButton.fragment.xml +11 -12
- package/src/sap/suite/ui/generic/template/fragments/TreeTableColumns.fragment.xml +53 -57
- package/src/sap/suite/ui/generic/template/genericUtilities/AjaxHelper.js +1 -1
- package/src/sap/suite/ui/generic/template/genericUtilities/CacheHelper.js +10 -1
- package/src/sap/suite/ui/generic/template/genericUtilities/controlHelper.js +1 -1
- package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +108 -125
- package/src/sap/suite/ui/generic/template/js/RuntimeFormatters.js +2 -3
- package/src/sap/suite/ui/generic/template/lib/AddCardsHelper.js +87 -146
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +6 -5
- package/src/sap/suite/ui/generic/template/lib/Application.js +13 -1
- package/src/sap/suite/ui/generic/template/lib/CRUDActionHandler.js +4 -2
- package/src/sap/suite/ui/generic/template/lib/CRUDHelper.js +117 -99
- package/src/sap/suite/ui/generic/template/lib/CRUDManager.js +19 -13
- package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +369 -292
- package/src/sap/suite/ui/generic/template/lib/CommonUtils.js +70 -69
- package/src/sap/suite/ui/generic/template/lib/ComponentUtils.js +3 -2
- package/src/sap/suite/ui/generic/template/lib/ContextBookkeeping.js +1 -0
- package/src/sap/suite/ui/generic/template/lib/FlexibleColumnLayoutHandler.js +30 -27
- package/src/sap/suite/ui/generic/template/lib/MessageButtonHelper.js +10 -2
- package/src/sap/suite/ui/generic/template/lib/MessageUtils.js +43 -5
- package/src/sap/suite/ui/generic/template/lib/PageLeaveHandler.js +2 -2
- package/src/sap/suite/ui/generic/template/lib/ShareUtils.js +6 -21
- package/src/sap/suite/ui/generic/template/lib/ViewDependencyHelper.js +5 -3
- package/src/sap/suite/ui/generic/template/lib/filterHelper.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +13 -20
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_sappsd.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saptrc.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +8 -6
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +22 -4
- package/src/sap/suite/ui/generic/template/lib/navigation/startupParameterHelper.js +4 -4
- package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartChartHandler.js +5 -0
- package/src/sap/suite/ui/generic/template/library.js +1 -1
- package/src/sap/suite/ui/generic/template/listTemplates/controller/DetailController.js +1 -1
- package/src/sap/suite/ui/generic/template/listTemplates/controller/IappStateHandler.js +5 -0
- package/src/sap/suite/ui/generic/template/listTemplates/controller/SmartChartController.js +0 -1
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/ActionsFragment.fragment.xml +10 -12
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/ChartActions.fragment.xml +18 -18
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/ChartCommands.fragment.xml +3 -1
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +41 -80
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/MessagesOnRetrieval.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/MultipleViewsSingleTableMode.fragment.xml +12 -10
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/SmartChart.fragment.xml +26 -28
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/SmartChartToolbar.fragment.xml +10 -13
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/SmartTablePluginsRowSettingsRowActions.fragment.xml +24 -0
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/SmartTableToolbar.fragment.xml +6 -7
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/TableCommands.fragment.xml +2 -1
- package/src/sap/suite/ui/generic/template/listTemplates/semanticDateRangeTypeHelper.js +3 -2
- package/src/sap/suite/ui/generic/template/themes/base/ObjectPage.less +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/CardMessages.fragment.xml +0 -19
- package/src/sap/suite/ui/generic/template/fragments/RowActions.fragment.xml +0 -50
- package/src/sap/suite/ui/generic/template/listTemplates/AnnotationHelper.js +0 -24
package/package.json
CHANGED
|
@@ -10,7 +10,8 @@ sap.ui.define(["sap/ui/core/mvc/OverrideExecution",
|
|
|
10
10
|
"sap/suite/ui/generic/template/js/AnnotationHelper",
|
|
11
11
|
"sap/base/util/isEmptyObject",
|
|
12
12
|
"sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper",
|
|
13
|
-
"sap/insights/CardHelper"
|
|
13
|
+
"sap/insights/CardHelper",
|
|
14
|
+
"sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil" // // just to make sure that this class containing runtime formatters is loaded
|
|
14
15
|
], function(OverrideExecution, TemplateAssembler, ControllerImplementation, JSONModel, controllerFrameworkExtensions, preparationHelper, deepExtend,
|
|
15
16
|
filterSettingsPreparationHelper, StableIdHelper, AnnotationHelper, isEmptyObject, ALPAnnotationHelper, CardHelper) {
|
|
16
17
|
"use strict";
|
|
@@ -195,6 +196,7 @@ sap.ui.define(["sap/ui/core/mvc/OverrideExecution",
|
|
|
195
196
|
oAlpSettings.isSelflinkRequired = false;
|
|
196
197
|
oAlpSettings.isIndicatorRequired = false;
|
|
197
198
|
oAlpSettings.isSemanticallyConnected = true;
|
|
199
|
+
oAlpSettings.rowHighligths = "None";
|
|
198
200
|
oAlpSettings.controlConfigurationSettings = filterSettingsPreparationHelper.getControlConfigurationSettings(oAlpSettings, oEntityType, oEntitySet, oModel);
|
|
199
201
|
|
|
200
202
|
function checkIfSmartChart(sEntitySet, oTabItem) {
|
|
@@ -337,13 +339,17 @@ sap.ui.define(["sap/ui/core/mvc/OverrideExecution",
|
|
|
337
339
|
}
|
|
338
340
|
|
|
339
341
|
oAlpSettings.bInsightsEnabled = false;
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
342
|
+
// If app is running in Microsoft Teams environment then Insight should not execute
|
|
343
|
+
var oTemplatePrivateGlobal = oComponent.getModel("_templPrivGlobal");
|
|
344
|
+
if (!oTemplatePrivateGlobal.getProperty("/generic/isTeamsModeActive")) {
|
|
345
|
+
CardHelper.getServiceAsync("UIService").then(function(oInstance){
|
|
346
|
+
oAlpSettings.bInsightsEnabled = true;
|
|
347
|
+
var oTemplatePrivate = oComponent.getModel("_templPriv");
|
|
348
|
+
oTemplatePrivate.setProperty("/oInsightsInstance", oInstance);
|
|
349
|
+
}).catch(function(response) {
|
|
350
|
+
oAlpSettings.bInsightsEnabled = false;
|
|
351
|
+
});
|
|
352
|
+
}
|
|
347
353
|
|
|
348
354
|
return oAlpSettings;
|
|
349
355
|
},
|
|
@@ -480,6 +486,10 @@ sap.ui.define(["sap/ui/core/mvc/OverrideExecution",
|
|
|
480
486
|
showDataLabel: {
|
|
481
487
|
type: "boolean",
|
|
482
488
|
defaultValue: false
|
|
489
|
+
},
|
|
490
|
+
addCardtoInsightsHidden: {
|
|
491
|
+
type: "boolean",
|
|
492
|
+
defaultValue: false
|
|
483
493
|
}
|
|
484
494
|
}
|
|
485
495
|
},
|
|
@@ -1443,7 +1443,7 @@ sap.ui.define([
|
|
|
1443
1443
|
var oCtrlConf = this._smartFilterContext.getAggregation("filterGroupItems").filter(function (ctrlConf) {
|
|
1444
1444
|
return ctrlConf.getName() === sFilterKey;
|
|
1445
1445
|
})[0];
|
|
1446
|
-
return oCtrlConf.getControl().
|
|
1446
|
+
return oCtrlConf.getControl().getStandardOptions();
|
|
1447
1447
|
};
|
|
1448
1448
|
|
|
1449
1449
|
return SmartVisualFilterBar;
|
package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/ControllerImplementation.js
CHANGED
|
@@ -32,12 +32,13 @@ sap.ui.define(["sap/ui/generic/app/navigation/service/SelectionVariant",
|
|
|
32
32
|
"sap/ui/model/json/JSONModel",
|
|
33
33
|
"sap/suite/ui/generic/template/listTemplates/controller/DetailController",
|
|
34
34
|
"sap/ui/comp/personalization/Util",
|
|
35
|
-
"sap/suite/ui/generic/template/lib/AddCardsHelper"
|
|
35
|
+
"sap/suite/ui/generic/template/lib/AddCardsHelper",
|
|
36
|
+
"sap/m/MessageBox"
|
|
36
37
|
], function(SelectionVariant, ExtensionAPI,
|
|
37
38
|
FilterBarController, ToolbarController, VisualFilterBarController, VisualFilterDialogController, AnalyticGridController, AnalyticalTable,
|
|
38
39
|
ODataAnnotationHelper, Analytics, ContentAreaController, IappStateHandler, Device, SegmentedButtonItem, SegmentedButton,
|
|
39
40
|
OverflowToolbar, ToolbarSpacer, SapMLibrary, Context, ALPHelper, controlHelper, FeLogger, FilterUtil, ObjectPath, ShareUtils, merge, deepExtend,
|
|
40
|
-
ListUtils, MultipleViewsHandler, StableIdHelper, MessageStripHelper, JSONModel, DetailController, PersonalizationControllerUtil, AddCardsHelper) {
|
|
41
|
+
ListUtils, MultipleViewsHandler, StableIdHelper, MessageStripHelper, JSONModel, DetailController, PersonalizationControllerUtil, AddCardsHelper, MessageBox) {
|
|
41
42
|
|
|
42
43
|
"use strict";
|
|
43
44
|
|
|
@@ -265,9 +266,6 @@ sap.ui.define(["sap/ui/generic/app/navigation/service/SelectionVariant",
|
|
|
265
266
|
var sSubject = oTemplateUtils.oServices.oApplication.getAppTitle();
|
|
266
267
|
var oTriggerPromise = ShareUtils.getCurrentUrl().then(function(sCurrentUrl){
|
|
267
268
|
switch (target) {
|
|
268
|
-
case "MicrosoftTeams":
|
|
269
|
-
ShareUtils.openMSTeamsShareDialog(sSubject, sCurrentUrl);
|
|
270
|
-
break;
|
|
271
269
|
case "Email":
|
|
272
270
|
sSubject = oTemplateUtils.oCommonUtils.getText("EMAIL_HEADER", [ sSubject ]);
|
|
273
271
|
sap.m.URLHelper.triggerEmail(null, sSubject, sCurrentUrl);
|
|
@@ -336,6 +334,7 @@ sap.ui.define(["sap/ui/generic/app/navigation/service/SelectionVariant",
|
|
|
336
334
|
// oButton.focus();
|
|
337
335
|
// });
|
|
338
336
|
}
|
|
337
|
+
|
|
339
338
|
// Generation of Event Handlers
|
|
340
339
|
return {
|
|
341
340
|
onInit: function() {
|
|
@@ -1197,7 +1196,7 @@ sap.ui.define(["sap/ui/generic/app/navigation/service/SelectionVariant",
|
|
|
1197
1196
|
dataStateClose: function(){
|
|
1198
1197
|
oState.oMessageStripHelper.onClose();
|
|
1199
1198
|
},
|
|
1200
|
-
onAddCardsToRepository: function(oEvent){
|
|
1199
|
+
onAddCardsToRepository: function(oEvent) {
|
|
1201
1200
|
var oPresentationControlHandler = oTemplateUtils.oServices.oPresentationControlHandlerFactory.getPresentationControlHandler(oState.oSmartChart);
|
|
1202
1201
|
var oComponent = oState.oController.getOwnerComponent();
|
|
1203
1202
|
var oModel = oPresentationControlHandler.getModel();
|
|
@@ -1205,17 +1204,32 @@ sap.ui.define(["sap/ui/generic/app/navigation/service/SelectionVariant",
|
|
|
1205
1204
|
var oView = oState.oController.getView();
|
|
1206
1205
|
var oEntitySet = oModel.getMetaModel().getODataEntitySet(sEntitySet);
|
|
1207
1206
|
var oEntityType = oModel.getMetaModel().getODataEntityType(oEntitySet.entityType);
|
|
1207
|
+
var oRb = oComponent.getModel("i18n").getResourceBundle();
|
|
1208
1208
|
var oCardDefinition = {};
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1209
|
+
if (oState.oSmartFilterbar.getUiState().getSemanticDates()) {
|
|
1210
|
+
MessageBox.error(oRb.getText("ST_CARD_CREATION_FAILURE"), {
|
|
1211
|
+
onClose: function () {
|
|
1212
|
+
throw new Error("Insights is not supported");
|
|
1213
|
+
},
|
|
1214
|
+
details: "<strong>" + oRb.getText("ST_CARD_POSSIBLE_CAUSES") + "</strong>" +
|
|
1215
|
+
"<ul>" +
|
|
1216
|
+
"<li>" + oRb.getText("ST_CARD_FAILURE_REASON_DATE_RANGE_FILTERS") + "</li>" +
|
|
1217
|
+
"<li>" + oRb.getText("ST_CARD_FAILURE_CHART_REASON_CHART_LEVEL_FILTERS") + "</li>" +
|
|
1218
|
+
"</ul>" + oRb.getText("ST_CARD_FOOTER_INFO")
|
|
1219
|
+
});
|
|
1220
|
+
} else {
|
|
1221
|
+
oCardDefinition['currentControlHandler'] = oPresentationControlHandler;
|
|
1222
|
+
oCardDefinition['component'] = oComponent;
|
|
1223
|
+
oCardDefinition['view'] = oView;
|
|
1224
|
+
oCardDefinition['entitySet'] = oEntitySet;
|
|
1225
|
+
oCardDefinition['entityType'] = oEntityType;
|
|
1226
|
+
oCardDefinition['oSmartFilterbar'] = oState.oSmartFilterbar;
|
|
1227
|
+
oCardDefinition['oTemplateUtils'] = oTemplateUtils;
|
|
1228
|
+
var oAnalyticalCardManifest = AddCardsHelper.createCardForPreview(oCardDefinition);
|
|
1229
|
+
var oTemplatePrivateModel = oTemplateUtils.oComponentUtils.getTemplatePrivateModel();
|
|
1230
|
+
var oInsightsInstance = oTemplatePrivateModel.getProperty("/oInsightsInstance");
|
|
1231
|
+
oInsightsInstance.showCardPreview(oAnalyticalCardManifest, true);
|
|
1232
|
+
}
|
|
1219
1233
|
},
|
|
1220
1234
|
onBeforeExport: function (oExportEvent) {
|
|
1221
1235
|
oTemplateUtils.oCommonEventHandlers.onBeforeExport(oExportEvent);
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
|
|
24
24
|
sap.suite.ui.generic.template.AnalyticalListPage.controller.DynamicDateRangeController.createDynamicDateRange = function (aControlOptions) {
|
|
25
25
|
this._oDynamicDateRange = new DynamicDateRange({
|
|
26
|
-
|
|
26
|
+
standardOptions: aControlOptions,
|
|
27
27
|
hideInput: true
|
|
28
28
|
});
|
|
29
29
|
return this._oDynamicDateRange;
|
package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/FilterBarController.js
CHANGED
|
@@ -12,6 +12,7 @@ sap.ui.define(["sap/m/SegmentedButtonItem", "sap/m/Button", "sap/m/Text", "sap/m
|
|
|
12
12
|
"use strict";
|
|
13
13
|
|
|
14
14
|
var FILTER_MODE_VISUAL = "visual",
|
|
15
|
+
FILTER_MODE_COMPACT = "compact",
|
|
15
16
|
FILTER_DIALOG_MODE_COMPACT = "group",
|
|
16
17
|
customDataPropertyName = "sap.suite.ui.generic.template.customData",
|
|
17
18
|
genericDataPropertyName = "sap.suite.ui.generic.template.genericData",
|
|
@@ -185,9 +186,12 @@ sap.ui.define(["sap/m/SegmentedButtonItem", "sap/m/Button", "sap/m/Text", "sap/m
|
|
|
185
186
|
handleFilterSwitch:function(mode, bApplyingVariant) {
|
|
186
187
|
var oComponent = this.oState.oController.getOwnerComponent();
|
|
187
188
|
var oTemplatePrivate = oComponent.getModel("_templPriv");
|
|
189
|
+
var oModel = this.oState.alr_visualFilterBar && this.oState.alr_visualFilterBar.getModel();
|
|
188
190
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
+
if ((oModel && oModel.mMetadataUrlParams && oModel.mMetadataUrlParams["sap-value-list"] === "none") && (this.oState.alr_visualFilterBar && !this.oState.alr_visualFilterBar.getAssociateValueListsCalled())) {
|
|
192
|
+
this.oState.alr_visualFilterBar.setAssociateValueListsCalled(true);
|
|
193
|
+
this.oState.oSmartFilterbar.associateValueLists();
|
|
194
|
+
} else if (oTemplatePrivate.getProperty('/alp/filterMode') === FILTER_MODE_COMPACT && (this.oState.alr_visualFilterBar && !this.oState.alr_visualFilterBar.getAssociateValueListsCalled())) { //in case app loading in compact filter mode
|
|
191
195
|
this.oState.alr_visualFilterBar.setAssociateValueListsCalled(true);
|
|
192
196
|
this.oState.oSmartFilterbar.associateValueLists();
|
|
193
197
|
}
|
package/src/sap/suite/ui/generic/template/AnalyticalListPage/controllerFrameworkExtensions.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
sap.ui.define([
|
|
1
|
+
sap.ui.define([
|
|
2
|
+
"sap/ui/core/mvc/OverrideExecution"
|
|
3
|
+
], function(OverrideExecution) {
|
|
2
4
|
"use strict";
|
|
3
5
|
/**
|
|
4
6
|
* This class contains all extension functions that can be implemented by Application
|
|
@@ -8,6 +10,29 @@ sap.ui.define([ ], function() {
|
|
|
8
10
|
* @public
|
|
9
11
|
*/
|
|
10
12
|
return /** @lends sap.suite.ui.generic.template.AnalyticalListPage.controllerFrameworkExtensions */ {
|
|
13
|
+
metadata: {
|
|
14
|
+
methods: {
|
|
15
|
+
getVisibleSelectionsWithDefaults: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
16
|
+
onInitSmartFilterBarExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
17
|
+
getCustomAppStateDataExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
18
|
+
restoreCustomAppStateDataExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
19
|
+
onBeforeRebindTableExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
20
|
+
onBeforeRebindChartExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
21
|
+
onClearFilterExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
22
|
+
adaptNavigationParameterExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
23
|
+
onAfterCustomModelCreation: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
24
|
+
onBeforeRebindFilterableKPIExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
25
|
+
adaptTransientMessageExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
26
|
+
onListNavigationExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
27
|
+
onSaveAsTileExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
28
|
+
modifyStartupExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
29
|
+
onLeaveAppExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
30
|
+
onBeforeRebindVisualFilterExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
31
|
+
onChildOpenedExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
32
|
+
beforeSmartLinkPopoverOpensExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
|
|
33
|
+
onBeforeExportTableExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
11
36
|
|
|
12
37
|
/**
|
|
13
38
|
* This method is called by Fiori elements on the initialization of View. Application developers
|
package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/AnalyticalListPage.view.xml
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
<mvc:View xmlns:mvc="sap.ui.core.mvc" xmlns:
|
|
2
|
-
xmlns:
|
|
3
|
-
xmlns:st="sap.suite.ui.generic.template"
|
|
1
|
+
<mvc:View xmlns="sap.m" xmlns:mvc="sap.ui.core.mvc" xmlns:core="sap.ui.core" xmlns:f="sap.f" xmlns:l="sap.ui.layout" xmlns:smartVariantManagement="sap.ui.comp.smartvariants"
|
|
2
|
+
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
4
3
|
template:require="{ AH: 'sap/suite/ui/generic/template/js/AnnotationHelper',
|
|
4
|
+
AHModel: 'sap/ui/model/odata/AnnotationHelper',
|
|
5
|
+
ALPHelper: 'sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper',
|
|
5
6
|
AHALP: 'sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper',
|
|
6
7
|
AHFilterUtil: 'sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil',
|
|
7
|
-
AHStableId: 'sap/suite/ui/generic/template/js/StableIdHelper'}"
|
|
8
|
-
|
|
8
|
+
AHStableId: 'sap/suite/ui/generic/template/js/StableIdHelper'}" >
|
|
9
|
+
|
|
9
10
|
<!--
|
|
10
11
|
@classdesc
|
|
11
12
|
@name: Name: sap.ui.generic.template.fragments.AnalyticalListPage.view.xml
|
|
@@ -20,80 +21,75 @@
|
|
|
20
21
|
"entityType",
|
|
21
22
|
"sap-ui-debug"
|
|
22
23
|
}-->
|
|
23
|
-
<template:
|
|
24
|
-
<template:with path="
|
|
25
|
-
<template:with path="
|
|
26
|
-
<template:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
<
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
<
|
|
53
|
-
<
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
</f:content>
|
|
63
|
-
<f:actions class="sapSmartTemplatesAnalyticalListPageVisualFilterToolbar">
|
|
24
|
+
<template:with path="parameter>/" helper="ALPHelper.createWorkingContext" var="workingContext">
|
|
25
|
+
<template:with path="entitySet>dummy" var="tabItem">
|
|
26
|
+
<template:with path="parameter>/variables" helper="AH.getNewVariable" var="tableSettings">
|
|
27
|
+
<template:if test="{:= ${tableSettings>}.set(${parameter>/templateSpecific/tableSettings})}"/>
|
|
28
|
+
<!-- TODO simplify the showFooter determination by just passing "parameter>" and evaluate everything inside -->
|
|
29
|
+
<f:DynamicPage
|
|
30
|
+
class="sapSmartTemplatesAnalyticalListPageDynamicPage" id="template::Page" headerExpanded="{= ${device>/system/phone} ? 'false' : '{_templPriv>/listReport/isHeaderExpanded}' }" showFooter="{= ${parts: [{path: 'workingContext>lineItem'}, {path: 'workingContext>chart/Actions'},{path: 'parameter>/entitySet'}, {path: 'parameter>/manifest/sap.ui5/extends/extensions/sap.ui.controllerExtensions'}], formatter: 'ALPHelper.hasDeterminingActionsForALP'} }">
|
|
31
|
+
<f:dependents>
|
|
32
|
+
<core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.HeaderCommands" type="XML"/>
|
|
33
|
+
</f:dependents>
|
|
34
|
+
<f:title>
|
|
35
|
+
<f:DynamicPageTitle areaShrinkRatio="{= ${parts: [{path: 'workingContext>lineItem'}, {path: 'workingContext>chart/Actions'}, {path: 'parameter>/entitySet'}, {path: 'parameter>/manifest/sap.ui5/extends/extensions/sap.ui.controllerExtensions'}], formatter: 'ALPHelper.getAreaShrinkRatio'} }" class="sapSmartTemplatesAnalyticalListPageDynamicPageTitle sapSmartTemplatesAnalyticalListPageDynamicPageTitleMargin">
|
|
36
|
+
<f:heading>
|
|
37
|
+
<l:VerticalLayout class="sapSmartTemplatesAnalyticalListPageFilterContainer">
|
|
38
|
+
<l:HorizontalLayout class="sapSmartTemplatesAnalyticalListPageAlignVariantTitle sapUIContentPadding">
|
|
39
|
+
<smartVariantManagement:SmartVariantManagement id="template::PageVariant"
|
|
40
|
+
persistencyKey="{= (${parameter>/settings/smartVariantManagement} || ${parameter>/settings/smartVariantManagement} === undefined) ? 'searchAnalyticalListPageVariant' : '_ST_SmartVariantManagement'}"
|
|
41
|
+
showShare="true" showExecuteOnSelection="{= ${parameter>/settings/showGoButtonOnFilterBar} }"
|
|
42
|
+
displayTextForExecuteOnSelectionForStandardVariant="{= (${parameter>/settings/dataLoadSettings/loadDataOnAppLaunch} === 'ifAnyFilterExist' || ${parameter>/settings/dataLoadSettings/loadDataOnAppLaunch} === undefined) ? '{i18n>ST_LIST_DISPLAY_TEXT_FOR_EXECUTE_ON_SELECTION}' : undefined}" />
|
|
43
|
+
</l:HorizontalLayout>
|
|
44
|
+
</l:VerticalLayout>
|
|
45
|
+
</f:heading>
|
|
46
|
+
<f:content>
|
|
47
|
+
<template:if
|
|
48
|
+
test="{= ${parameter>/settings/keyPerformanceIndicators} !== undefined && Object.keys(${parameter>/settings/keyPerformanceIndicators}).length > 0 && !${device>/system/phone} }">
|
|
49
|
+
<template:then>
|
|
50
|
+
<template:with path="parameter>/settings/keyPerformanceIndicators" helper="ALPHelper.getFilterableKPIs" var="kpiContext">
|
|
51
|
+
<template:with path="kpiContext>globalKPIs" var="kpis">
|
|
52
|
+
<template:if test="{= Object.keys(${kpis>}).length > 0}">
|
|
53
|
+
<OverflowToolbar class= "sapSmartTemplatesAnalyticalListPageKpiTagContainer sapSmartTemplatesAnalyticalListPageKpiTagOverflow" id="template::KPITagContainer::globalKPIs">
|
|
54
|
+
<core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.KPITagList" type="XML"/>
|
|
55
|
+
</OverflowToolbar>
|
|
56
|
+
</template:if>
|
|
57
|
+
</template:with>
|
|
58
|
+
</template:with>
|
|
59
|
+
</template:then>
|
|
60
|
+
</template:if>
|
|
61
|
+
</f:content>
|
|
62
|
+
<f:actions class="sapSmartTemplatesAnalyticalListPageVisualFilterToolbar">
|
|
64
63
|
<ToolbarSpacer/>
|
|
65
64
|
<core:Fragment fragmentName="sap.suite.ui.generic.template.listTemplates.fragments.ActionsFragment" type="XML"/>
|
|
66
|
-
<template:if test="{= !${parameter>/settings/hideVisualFilter}
|
|
65
|
+
<template:if test="{= !${parameter>/settings/hideVisualFilter} }">
|
|
67
66
|
<template:then>
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
icon="sap-icon://filter-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
</SegmentedButton>
|
|
81
|
-
</template:then>
|
|
67
|
+
<SegmentedButton
|
|
68
|
+
id = "template::FilterSwitchButton"
|
|
69
|
+
selectedKey="{_templPriv>/alp/filterMode}" width="inherit" visible="{_templPriv>/listReport/isHeaderExpanded}" select="._templateEventHandlers.onFilterModeSegmentedButtonChange">
|
|
70
|
+
<layoutData>
|
|
71
|
+
<OverflowToolbarLayoutData priority="NeverOverflow"/>
|
|
72
|
+
</layoutData>
|
|
73
|
+
<items>
|
|
74
|
+
<SegmentedButtonItem icon="sap-icon://filter-fields" tooltip="{i18n>FILTER_COMPACT}" key="compact"/>
|
|
75
|
+
<SegmentedButtonItem icon="sap-icon://filter-analytics" tooltip="{i18n>FILTER_VISUAL}" key="visual"/>
|
|
76
|
+
</items>
|
|
77
|
+
</SegmentedButton>
|
|
78
|
+
</template:then>
|
|
82
79
|
</template:if>
|
|
83
80
|
<MenuButton id="{:= ${parameter>/stableId}.getStableId({type: 'ALPAction', subType: 'Share'}) }"
|
|
84
81
|
icon="sap-icon://action"
|
|
85
82
|
tooltip="{i18n>SHARE} (Shift+Ctrl+S)"
|
|
86
83
|
text=""
|
|
87
|
-
visible="{
|
|
84
|
+
visible="{path: 'appSettings>/flexibleColumnLayout', formatter: 'AH.getShareOptionVisibility'}"
|
|
88
85
|
type="Transparent">
|
|
89
86
|
<layoutData>
|
|
90
|
-
<OverflowToolbarLayoutData closeOverflowOnInteraction="false"
|
|
91
|
-
priority = "{= ${device>/system/phone} ? 'AlwaysOverflow' : 'High'}"/>
|
|
87
|
+
<OverflowToolbarLayoutData closeOverflowOnInteraction="false" priority="{= ${device>/system/phone} ? 'AlwaysOverflow' : 'High'}"/>
|
|
92
88
|
</layoutData>
|
|
93
89
|
</MenuButton>
|
|
94
90
|
</f:actions>
|
|
95
91
|
<f:snappedContent>
|
|
96
|
-
<Text id="template::FilterText" class="sapSmartTemplatesAnalyticalListPageSnappedContentText"
|
|
92
|
+
<Text id="template::FilterText" class="sapSmartTemplatesAnalyticalListPageSnappedContentText"/>
|
|
97
93
|
</f:snappedContent>
|
|
98
94
|
</f:DynamicPageTitle>
|
|
99
95
|
</f:title>
|
|
@@ -111,8 +107,7 @@
|
|
|
111
107
|
<core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.ContentContainer" type="XML"/>
|
|
112
108
|
<!-- Helper -->
|
|
113
109
|
<customData>
|
|
114
|
-
<core:CustomData key="entityTypeName" writeToDom="false"
|
|
115
|
-
value="{path: 'entityType>com.sap.vocabularies.UI.v1.HeaderInfo/TypeName', formatter: 'sap.ui.model.odata.AnnotationHelper.format'}"/>
|
|
110
|
+
<core:CustomData key="entityTypeName" writeToDom="false" value="{path: 'entityType>com.sap.vocabularies.UI.v1.HeaderInfo/TypeName', formatter: 'AHModel.format'}"/>
|
|
116
111
|
</customData>
|
|
117
112
|
</VBox>
|
|
118
113
|
</f:content>
|
|
@@ -123,8 +118,8 @@
|
|
|
123
118
|
list="{parameter>/manifest/sap.ui5/extends/extensions/sap.ui.controllerExtensions/sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage/sap.ui.generic.app}"
|
|
124
119
|
var="tmpEntitySet">
|
|
125
120
|
<template:repeat list="{tmpEntitySet>Actions}" var="customaction">
|
|
126
|
-
<template:if test="{=
|
|
127
|
-
|
|
121
|
+
<template:if test="{= !!${customaction>determining} && !${customaction>global} && ${customaction>filter} === 'chart'}">
|
|
122
|
+
<core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.DeterminingActions" type="XML"/>
|
|
128
123
|
</template:if>
|
|
129
124
|
</template:repeat>
|
|
130
125
|
</template:repeat>
|
|
@@ -132,13 +127,13 @@
|
|
|
132
127
|
list="{parameter>/manifest/sap.ui5/extends/extensions/sap.ui.controllerExtensions/sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage/sap.ui.generic.app}"
|
|
133
128
|
var="tmpEntitySet">
|
|
134
129
|
<template:repeat list="{tmpEntitySet>Actions}" var="customaction">
|
|
135
|
-
<template:if test="{=
|
|
136
|
-
|
|
130
|
+
<template:if test="{= !!${customaction>determining} && !${customaction>global} && (!${customaction>filter} || ${customaction>filter} === 'table')}">
|
|
131
|
+
<core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.DeterminingActions" type="XML"/>
|
|
137
132
|
</template:if>
|
|
138
133
|
</template:repeat>
|
|
139
134
|
</template:repeat>
|
|
140
135
|
<template:with path="entitySet>dummy" var="facet">
|
|
141
|
-
<template:with path="workingContext>chartPath" helper="
|
|
136
|
+
<template:with path="workingContext>chartPath" helper="ALPHelper.resolveMetaModelPath" var="chart">
|
|
142
137
|
<template:repeat list="{chart>Actions}" var="dataField">
|
|
143
138
|
<template:if
|
|
144
139
|
test="{= (${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForAction' || ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation') && ${dataField>Determining/Bool} === 'true'}">
|
|
@@ -146,7 +141,7 @@
|
|
|
146
141
|
</template:if>
|
|
147
142
|
</template:repeat>
|
|
148
143
|
</template:with>
|
|
149
|
-
<template:with path="workingContext>lineItemPath" helper="
|
|
144
|
+
<template:with path="workingContext>lineItemPath" helper="ALPHelper.resolveMetaModelPath" var="lineItem">
|
|
150
145
|
<template:repeat list="{lineItem>}" var="dataField">
|
|
151
146
|
<template:if
|
|
152
147
|
test="{= (${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForAction' || ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation') && ${dataField>Determining/Bool} === 'true'}">
|
|
@@ -161,5 +156,4 @@
|
|
|
161
156
|
</template:with>
|
|
162
157
|
</template:with>
|
|
163
158
|
</template:with>
|
|
164
|
-
</template:alias>
|
|
165
159
|
</mvc:View>
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
<mvc:View xmlns:mvc="sap.ui.core.mvc" controllerName="sap.suite.ui.generic.template.AnalyticalListPage.controller.KpiCardController"
|
|
2
|
-
|
|
3
|
-
xmlns:build="sap.build" xmlns:st="sap.suite.ui.generic.template"
|
|
4
|
-
>
|
|
5
|
-
<core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.KpiCard" type="XML"/>
|
|
1
|
+
<mvc:View xmlns:mvc="sap.ui.core.mvc" xmlns:core="sap.ui.core" controllerName="sap.suite.ui.generic.template.AnalyticalListPage.controller.KpiCardController" >
|
|
2
|
+
<core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.KpiCard" type="XML"/>
|
|
6
3
|
</mvc:View>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<core:FragmentDefinition xmlns
|
|
2
|
-
xmlns="sap.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<template:with path="parameter>/settings/keyPerformanceIndicators" helper="
|
|
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"
|
|
3
|
+
template:require="{ALPHelper: 'sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper'}" >
|
|
4
|
+
|
|
5
|
+
<template:with path="parameter>/settings/keyPerformanceIndicators" helper="ALPHelper.getFilterableKPIs" var="kpiContext">
|
|
6
6
|
<template:with path="kpiContext>filterableKPIs" var="kpis">
|
|
7
|
-
<template:if test="{=
|
|
8
|
-
<OverflowToolbar id="template::analyticGridToolbar"
|
|
7
|
+
<template:if test="{= Object.keys(${kpis>}).length === 0 && !${parameter>/settings/contentTitle} }">
|
|
8
|
+
<OverflowToolbar id="template::analyticGridToolbar" design="Transparent">
|
|
9
9
|
<ToolbarSpacer/>
|
|
10
10
|
<template:if test="{= !${parameter>/settings/quickVariantSelectionX}}">
|
|
11
11
|
<template:then>
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
</template:if>
|
|
17
17
|
</template:with>
|
|
18
18
|
</template:with>
|
|
19
|
-
<VBox id="template::AnalyticGridContainer" visible="{=
|
|
19
|
+
<VBox id="template::AnalyticGridContainer" visible="{= ${_templPriv>/alp/contentView} === 'crosstable'}">
|
|
20
20
|
</VBox>
|
|
21
21
|
</core:FragmentDefinition>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<core:FragmentDefinition xmlns
|
|
2
|
-
xmlns="sap.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<template:with path="parameter>/settings/keyPerformanceIndicators" helper="
|
|
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"
|
|
3
|
+
template:require="{ALPHelper: 'sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper'}" >
|
|
4
|
+
|
|
5
|
+
<template:with path="parameter>/settings/keyPerformanceIndicators" helper="ALPHelper.getFilterableKPIs" var="kpiContext">
|
|
6
6
|
<template:with path="kpiContext>filterableKPIs" var="kpis">
|
|
7
|
-
<template:if test="{=
|
|
8
|
-
<OverflowToolbar id="template::contentViewExtensionToolbar"
|
|
7
|
+
<template:if test="{= Object.keys(${kpis>}).length === 0 && !${parameter>/settings/contentTitle} }">
|
|
8
|
+
<OverflowToolbar id="template::contentViewExtensionToolbar" design="Transparent">
|
|
9
9
|
<ToolbarSpacer/>
|
|
10
10
|
<template:if test="{= !${parameter>/settings/quickVariantSelectionX}}">
|
|
11
11
|
<template:then>
|
|
@@ -16,6 +16,5 @@
|
|
|
16
16
|
</template:if>
|
|
17
17
|
</template:with>
|
|
18
18
|
</template:with>
|
|
19
|
-
<ExtensionPoint name="AnalyticalListPageContentViewExtension"
|
|
20
|
-
</ExtensionPoint>
|
|
19
|
+
<core:ExtensionPoint name="AnalyticalListPageContentViewExtension" />
|
|
21
20
|
</core:FragmentDefinition>
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
<core:FragmentDefinition xmlns
|
|
2
|
-
xmlns="sap.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<template:with path="parameter>/settings/keyPerformanceIndicators" helper="
|
|
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"
|
|
3
|
+
template:require="{ALPHelper: 'sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper'}">
|
|
4
|
+
|
|
5
|
+
<template:with path="parameter>/settings/keyPerformanceIndicators" helper="ALPHelper.getFilterableKPIs" var="kpiContext">
|
|
6
6
|
<template:with path="kpiContext>filterableKPIs" var="kpis">
|
|
7
|
-
<template:if test="{=
|
|
8
|
-
<OverflowToolbar id="template::contentViewExtension2Toolbar"
|
|
7
|
+
<template:if test="{= Object.keys(${kpis>}).length === 0 && !${parameter>/settings/contentTitle} }">
|
|
8
|
+
<OverflowToolbar id="template::contentViewExtension2Toolbar" design="Transparent">
|
|
9
9
|
<ToolbarSpacer/>
|
|
10
10
|
<template:if test="{= !${parameter>/settings/quickVariantSelectionX}}">
|
|
11
11
|
<template:then>
|
|
12
|
-
|
|
12
|
+
<core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.ContentViewButtons" type="XML"/>
|
|
13
13
|
</template:then>
|
|
14
14
|
</template:if>
|
|
15
15
|
</OverflowToolbar>
|
|
16
16
|
</template:if>
|
|
17
17
|
</template:with>
|
|
18
18
|
</template:with>
|
|
19
|
-
<ExtensionPoint name="AnalyticalListPageContentViewExtension2"
|
|
20
|
-
</ExtensionPoint>
|
|
19
|
+
<core:ExtensionPoint name="AnalyticalListPageContentViewExtension2" />
|
|
21
20
|
</core:FragmentDefinition>
|