@sapui5/sap.fe.core 1.102.0 → 1.103.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 +5 -5
- package/src/sap/fe/core/.library +1 -1
- package/src/sap/fe/core/AppComponent.js +62 -26
- package/src/sap/fe/core/AppComponent.ts +56 -40
- package/src/sap/fe/core/AppStateHandler.js +10 -10
- package/src/sap/fe/core/AppStateHandler.ts +9 -9
- package/src/sap/fe/core/BaseController.js +11 -9
- package/src/sap/fe/core/BaseController.ts +15 -13
- package/src/sap/fe/core/CommonUtils.js +236 -109
- package/src/sap/fe/core/CommonUtils.ts +252 -136
- package/src/sap/fe/core/ExtensionAPI.js +24 -27
- package/src/sap/fe/core/ExtensionAPI.ts +36 -38
- package/src/sap/fe/core/PageController.js +4 -4
- package/src/sap/fe/core/PageController.ts +4 -5
- package/src/sap/fe/core/TemplateComponent.js +1 -1
- package/src/sap/fe/core/TemplateComponent.ts +6 -6
- package/src/sap/fe/core/TemplateModel.js +1 -1
- package/src/sap/fe/core/TemplateModel.ts +1 -1
- package/src/sap/fe/core/buildingBlocks/AttributeModel.js +1 -1
- package/src/sap/fe/core/buildingBlocks/AttributeModel.ts +1 -1
- package/src/sap/fe/core/buildingBlocks/BuildingBlockRuntime.js +8 -8
- package/src/sap/fe/core/buildingBlocks/BuildingBlockRuntime.ts +11 -10
- package/src/sap/fe/core/buildingBlocks/TraceInfo.js +27 -27
- package/src/sap/fe/core/buildingBlocks/TraceInfo.ts +28 -26
- package/src/sap/fe/core/controllerextensions/EditFlow.js +129 -118
- package/src/sap/fe/core/controllerextensions/EditFlow.ts +154 -141
- package/src/sap/fe/core/controllerextensions/IntentBasedNavigation.js +9 -9
- package/src/sap/fe/core/controllerextensions/IntentBasedNavigation.ts +10 -10
- package/src/sap/fe/core/controllerextensions/InternalEditFlow.js +31 -26
- package/src/sap/fe/core/controllerextensions/InternalEditFlow.ts +34 -35
- package/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation.js +70 -70
- package/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation.ts +77 -77
- package/src/sap/fe/core/controllerextensions/InternalRouting.js +84 -78
- package/src/sap/fe/core/controllerextensions/InternalRouting.ts +105 -101
- package/src/sap/fe/core/controllerextensions/KPIManagement.js +66 -68
- package/src/sap/fe/core/controllerextensions/KPIManagement.ts +106 -123
- package/src/sap/fe/core/controllerextensions/MassEdit.js +8 -8
- package/src/sap/fe/core/controllerextensions/MassEdit.ts +19 -26
- package/src/sap/fe/core/controllerextensions/MessageHandler.js +20 -12
- package/src/sap/fe/core/controllerextensions/MessageHandler.ts +29 -14
- package/src/sap/fe/core/controllerextensions/PageReady.js +97 -25
- package/src/sap/fe/core/controllerextensions/PageReady.ts +94 -34
- package/src/sap/fe/core/controllerextensions/Paginator.js +21 -22
- package/src/sap/fe/core/controllerextensions/Paginator.ts +24 -25
- package/src/sap/fe/core/controllerextensions/Placeholder.js +4 -6
- package/src/sap/fe/core/controllerextensions/Placeholder.ts +12 -14
- package/src/sap/fe/core/controllerextensions/Routing.js +10 -11
- package/src/sap/fe/core/controllerextensions/Routing.ts +12 -13
- package/src/sap/fe/core/controllerextensions/Share.js +22 -22
- package/src/sap/fe/core/controllerextensions/Share.ts +30 -29
- package/src/sap/fe/core/controllerextensions/SideEffects.js +46 -50
- package/src/sap/fe/core/controllerextensions/SideEffects.ts +56 -60
- package/src/sap/fe/core/controllerextensions/ViewState.js +65 -62
- package/src/sap/fe/core/controllerextensions/ViewState.ts +68 -63
- package/src/sap/fe/core/controllerextensions/collaboration/ActivityBase.js +5 -5
- package/src/sap/fe/core/controllerextensions/collaboration/ActivityBase.ts +8 -7
- package/src/sap/fe/core/controllerextensions/collaboration/ActivitySync.js +6 -6
- package/src/sap/fe/core/controllerextensions/collaboration/ActivitySync.ts +12 -17
- package/src/sap/fe/core/controllerextensions/collaboration/CollaborationCommon.js +2 -2
- package/src/sap/fe/core/controllerextensions/collaboration/CollaborationCommon.ts +4 -4
- package/src/sap/fe/core/controllerextensions/collaboration/Manage.js +7 -9
- package/src/sap/fe/core/controllerextensions/collaboration/Manage.ts +18 -19
- package/src/sap/fe/core/controllerextensions/editFlow/TransactionHelper.js +184 -137
- package/src/sap/fe/core/controllerextensions/editFlow/TransactionHelper.ts +253 -206
- package/src/sap/fe/core/controllerextensions/editFlow/draft.js +113 -121
- package/src/sap/fe/core/controllerextensions/editFlow/draft.ts +148 -158
- package/src/sap/fe/core/controllerextensions/editFlow/operations.js +198 -148
- package/src/sap/fe/core/controllerextensions/editFlow/operations.ts +223 -159
- package/src/sap/fe/core/controllerextensions/editFlow/sticky.js +24 -26
- package/src/sap/fe/core/controllerextensions/editFlow/sticky.ts +35 -33
- package/src/sap/fe/core/controllerextensions/messageHandler/messageHandling.js +78 -44
- package/src/sap/fe/core/controllerextensions/messageHandler/messageHandling.ts +90 -60
- package/src/sap/fe/core/controllerextensions/routing/RouterProxy.js +52 -55
- package/src/sap/fe/core/controllerextensions/routing/RouterProxy.ts +55 -58
- package/src/sap/fe/core/controls/Any.js +9 -5
- package/src/sap/fe/core/controls/Any.ts +10 -4
- package/src/sap/fe/core/controls/CommandExecution.js +11 -25
- package/src/sap/fe/core/controls/CommandExecution.ts +11 -25
- package/src/sap/fe/core/controls/ConditionalWrapper.js +2 -2
- package/src/sap/fe/core/controls/ConditionalWrapper.ts +3 -3
- package/src/sap/fe/core/controls/CustomFilterFieldContentWrapper.js +22 -22
- package/src/sap/fe/core/controls/CustomFilterFieldContentWrapper.ts +25 -24
- package/src/sap/fe/core/controls/CustomQuickViewPage.js +2 -2
- package/src/sap/fe/core/controls/CustomQuickViewPage.ts +2 -2
- package/src/sap/fe/core/controls/DataLossOrDraftDiscard/DataLossOrDraftDiscardHandler.js +3 -3
- package/src/sap/fe/core/controls/DataLossOrDraftDiscard/DataLossOrDraftDiscardHandler.ts +5 -5
- package/src/sap/fe/core/controls/FieldWrapper.js +2 -2
- package/src/sap/fe/core/controls/FieldWrapper.ts +3 -3
- package/src/sap/fe/core/controls/FileWrapper.js +2 -2
- package/src/sap/fe/core/controls/FileWrapper.ts +11 -11
- package/src/sap/fe/core/controls/FilterBar.js +6 -2
- package/src/sap/fe/core/controls/FilterBar.ts +13 -9
- package/src/sap/fe/core/controls/FormElementWrapper.js +1 -1
- package/src/sap/fe/core/controls/FormElementWrapper.ts +2 -2
- package/src/sap/fe/core/controls/MassEditSelect.js +1 -1
- package/src/sap/fe/core/controls/MassEditSelect.ts +0 -4
- package/src/sap/fe/core/controls/NonComputedVisibleKeyFieldsDialog.fragment.xml +3 -3
- package/src/sap/fe/core/controls/filterbar/VisualFilter.js +16 -12
- package/src/sap/fe/core/controls/filterbar/VisualFilter.ts +20 -22
- package/src/sap/fe/core/controls/filterbar/VisualFilterContainer.js +3 -3
- package/src/sap/fe/core/controls/filterbar/VisualFilterContainer.ts +8 -8
- package/src/sap/fe/core/controls/filterbar/utils/VisualFilterUtils.js +47 -47
- package/src/sap/fe/core/controls/filterbar/utils/VisualFilterUtils.ts +52 -52
- package/src/sap/fe/core/controls/massEdit/MassEditDialog.fragment.xml +8 -2
- package/src/sap/fe/core/controls/massEdit/MassEditHandlers.js +89 -88
- package/src/sap/fe/core/controls/massEdit/MassEditHandlers.ts +107 -106
- package/src/sap/fe/core/converters/ConverterContext.js +26 -33
- package/src/sap/fe/core/converters/ConverterContext.ts +51 -60
- package/src/sap/fe/core/converters/ManifestSettings.js +1 -1
- package/src/sap/fe/core/converters/ManifestSettings.ts +14 -14
- package/src/sap/fe/core/converters/ManifestWrapper.js +59 -45
- package/src/sap/fe/core/converters/ManifestWrapper.ts +55 -45
- package/src/sap/fe/core/converters/MetaModelConverter.js +50 -32
- package/src/sap/fe/core/converters/MetaModelConverter.ts +145 -127
- package/src/sap/fe/core/converters/TemplateConverter.js +21 -20
- package/src/sap/fe/core/converters/TemplateConverter.ts +27 -24
- package/src/sap/fe/core/converters/annotations/DataField.js +54 -34
- package/src/sap/fe/core/converters/annotations/DataField.ts +97 -75
- package/src/sap/fe/core/converters/common/AnnotationConverter.js +1911 -1495
- package/src/sap/fe/core/converters/controls/Common/Action.js +50 -41
- package/src/sap/fe/core/converters/controls/Common/Action.ts +56 -46
- package/src/sap/fe/core/converters/controls/Common/Chart.js +14 -14
- package/src/sap/fe/core/converters/controls/Common/Chart.ts +23 -26
- package/src/sap/fe/core/converters/controls/Common/Criticality.js +3 -3
- package/src/sap/fe/core/converters/controls/Common/Criticality.ts +4 -4
- package/src/sap/fe/core/converters/controls/Common/DataVisualization.js +28 -28
- package/src/sap/fe/core/converters/controls/Common/DataVisualization.ts +40 -36
- package/src/sap/fe/core/converters/controls/Common/Form.js +25 -27
- package/src/sap/fe/core/converters/controls/Common/Form.ts +37 -45
- package/src/sap/fe/core/converters/controls/Common/KPI.js +11 -11
- package/src/sap/fe/core/converters/controls/Common/KPI.ts +35 -39
- package/src/sap/fe/core/converters/controls/Common/Table.js +174 -183
- package/src/sap/fe/core/converters/controls/Common/Table.ts +237 -250
- package/src/sap/fe/core/converters/controls/Common/table/StandardActions.js +119 -119
- package/src/sap/fe/core/converters/controls/Common/table/StandardActions.ts +144 -141
- package/src/sap/fe/core/converters/controls/ListReport/FilterBar.js +45 -41
- package/src/sap/fe/core/converters/controls/ListReport/FilterBar.ts +64 -57
- package/src/sap/fe/core/converters/controls/ListReport/VisualFilters.js +28 -26
- package/src/sap/fe/core/converters/controls/ListReport/VisualFilters.ts +46 -43
- package/src/sap/fe/core/converters/controls/ObjectPage/Avatar.js +9 -9
- package/src/sap/fe/core/converters/controls/ObjectPage/Avatar.ts +14 -13
- package/src/sap/fe/core/converters/controls/ObjectPage/HeaderFacet.js +67 -64
- package/src/sap/fe/core/converters/controls/ObjectPage/HeaderFacet.ts +69 -66
- package/src/sap/fe/core/converters/controls/ObjectPage/SubSection.js +73 -72
- package/src/sap/fe/core/converters/controls/ObjectPage/SubSection.ts +98 -96
- package/src/sap/fe/core/converters/helpers/Aggregation.js +2 -4
- package/src/sap/fe/core/converters/helpers/Aggregation.ts +10 -13
- package/src/sap/fe/core/converters/helpers/BindingHelper.js +31 -31
- package/src/sap/fe/core/converters/helpers/BindingHelper.ts +30 -29
- package/src/sap/fe/core/converters/helpers/ConfigurableObject.js +4 -4
- package/src/sap/fe/core/converters/helpers/ConfigurableObject.ts +9 -9
- package/src/sap/fe/core/converters/helpers/ID.js +46 -46
- package/src/sap/fe/core/converters/helpers/ID.ts +25 -25
- package/src/sap/fe/core/converters/helpers/Key.js +7 -7
- package/src/sap/fe/core/converters/helpers/Key.ts +7 -7
- package/src/sap/fe/core/converters/helpers/SelectionVariantHelper.js +1 -1
- package/src/sap/fe/core/converters/helpers/SelectionVariantHelper.ts +4 -4
- package/src/sap/fe/core/converters/objectPage/FormMenuActions.js +6 -6
- package/src/sap/fe/core/converters/objectPage/FormMenuActions.ts +10 -10
- package/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction.js +46 -62
- package/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction.ts +54 -82
- package/src/sap/fe/core/converters/templates/ListReportConverter.js +30 -29
- package/src/sap/fe/core/converters/templates/ListReportConverter.ts +40 -40
- package/src/sap/fe/core/converters/templates/ObjectPageConverter.js +39 -38
- package/src/sap/fe/core/converters/templates/ObjectPageConverter.ts +52 -61
- package/src/sap/fe/core/designtime/AppComponent.designtime.js +4 -4
- package/src/sap/fe/core/designtime/AppComponent.designtime.ts +4 -4
- package/src/sap/fe/core/formatters/CollaborationFormatter.js +2 -2
- package/src/sap/fe/core/formatters/CollaborationFormatter.ts +3 -3
- package/src/sap/fe/core/formatters/FPMFormatter.js +5 -5
- package/src/sap/fe/core/formatters/FPMFormatter.ts +10 -10
- package/src/sap/fe/core/formatters/KPIFormatter.js +7 -7
- package/src/sap/fe/core/formatters/KPIFormatter.ts +10 -10
- package/src/sap/fe/core/formatters/StandardFormatter.js +89 -0
- package/src/sap/fe/core/formatters/StandardFormatter.ts +64 -0
- package/src/sap/fe/core/formatters/TableFormatter.js +11 -11
- package/src/sap/fe/core/formatters/TableFormatter.ts +12 -12
- package/src/sap/fe/core/formatters/ValueFormatter.js +8 -8
- package/src/sap/fe/core/formatters/ValueFormatter.ts +9 -9
- package/src/sap/fe/core/helpers/AppStartupHelper.js +15 -15
- package/src/sap/fe/core/helpers/AppStartupHelper.ts +37 -40
- package/src/sap/fe/core/helpers/BindingToolkit.js +1809 -0
- package/src/sap/fe/core/helpers/{BindingExpression.ts → BindingToolkit.ts} +365 -264
- package/src/sap/fe/core/helpers/ClassSupport.js +20 -11
- package/src/sap/fe/core/helpers/ClassSupport.ts +14 -10
- package/src/sap/fe/core/helpers/DynamicAnnotationPathHelper.js +2 -2
- package/src/sap/fe/core/helpers/DynamicAnnotationPathHelper.ts +1 -1
- package/src/sap/fe/core/helpers/EditState.js +1 -6
- package/src/sap/fe/core/helpers/EditState.ts +5 -10
- package/src/sap/fe/core/helpers/ExcelFormatHelper.js +2 -2
- package/src/sap/fe/core/helpers/ExcelFormatHelper.ts +4 -4
- package/src/sap/fe/core/helpers/FPMHelper.js +1 -1
- package/src/sap/fe/core/helpers/FPMHelper.ts +2 -2
- package/src/sap/fe/core/helpers/KeepAliveHelper.js +31 -31
- package/src/sap/fe/core/helpers/KeepAliveHelper.ts +52 -56
- package/src/sap/fe/core/helpers/MassEditHelper.js +281 -254
- package/src/sap/fe/core/helpers/MassEditHelper.ts +337 -289
- package/src/sap/fe/core/helpers/ModelHelper.js +25 -25
- package/src/sap/fe/core/helpers/ModelHelper.ts +34 -32
- package/src/sap/fe/core/helpers/PasteHelper.js +3 -10
- package/src/sap/fe/core/helpers/PasteHelper.ts +20 -25
- package/src/sap/fe/core/helpers/SemanticDateOperators.js +1 -1
- package/src/sap/fe/core/helpers/SemanticDateOperators.ts +11 -11
- package/src/sap/fe/core/helpers/SemanticKeyHelper.js +3 -3
- package/src/sap/fe/core/helpers/SemanticKeyHelper.ts +8 -8
- package/src/sap/fe/core/helpers/StableIdHelper.js +12 -12
- package/src/sap/fe/core/helpers/StableIdHelper.ts +12 -12
- package/src/sap/fe/core/jsx-runtime/jsx.js +1 -1
- package/src/sap/fe/core/jsx-runtime/jsx.ts +8 -8
- package/src/sap/fe/core/library.js +42 -3
- package/src/sap/fe/core/library.ts +38 -0
- package/src/sap/fe/core/manifestMerger/ChangePageConfiguration.js +3 -3
- package/src/sap/fe/core/manifestMerger/ChangePageConfiguration.ts +2 -2
- package/src/sap/fe/core/messagebundle.properties +49 -35
- package/src/sap/fe/core/messagebundle_ar.properties +13 -5
- package/src/sap/fe/core/messagebundle_bg.properties +13 -5
- package/src/sap/fe/core/messagebundle_ca.properties +13 -5
- package/src/sap/fe/core/messagebundle_cs.properties +13 -5
- package/src/sap/fe/core/messagebundle_cy.properties +14 -6
- package/src/sap/fe/core/messagebundle_da.properties +13 -5
- package/src/sap/fe/core/messagebundle_de.properties +15 -7
- package/src/sap/fe/core/messagebundle_el.properties +14 -6
- package/src/sap/fe/core/messagebundle_en.properties +9 -1
- package/src/sap/fe/core/messagebundle_en_GB.properties +11 -3
- package/src/sap/fe/core/messagebundle_en_US_sappsd.properties +7 -1
- package/src/sap/fe/core/messagebundle_en_US_saprigi.properties +9 -1
- package/src/sap/fe/core/messagebundle_en_US_saptrc.properties +44 -85
- package/src/sap/fe/core/messagebundle_es.properties +13 -5
- package/src/sap/fe/core/messagebundle_es_MX.properties +13 -5
- package/src/sap/fe/core/messagebundle_et.properties +13 -5
- package/src/sap/fe/core/messagebundle_fi.properties +14 -6
- package/src/sap/fe/core/messagebundle_fr.properties +14 -6
- package/src/sap/fe/core/messagebundle_fr_CA.properties +14 -6
- package/src/sap/fe/core/messagebundle_hi.properties +14 -6
- package/src/sap/fe/core/messagebundle_hr.properties +14 -6
- package/src/sap/fe/core/messagebundle_hu.properties +13 -5
- package/src/sap/fe/core/messagebundle_id.properties +13 -5
- package/src/sap/fe/core/messagebundle_it.properties +33 -25
- package/src/sap/fe/core/messagebundle_iw.properties +13 -5
- package/src/sap/fe/core/messagebundle_ja.properties +14 -6
- package/src/sap/fe/core/messagebundle_kk.properties +13 -5
- package/src/sap/fe/core/messagebundle_ko.properties +13 -5
- package/src/sap/fe/core/messagebundle_lt.properties +13 -5
- package/src/sap/fe/core/messagebundle_lv.properties +14 -6
- package/src/sap/fe/core/messagebundle_ms.properties +13 -5
- package/src/sap/fe/core/messagebundle_nl.properties +13 -5
- package/src/sap/fe/core/messagebundle_no.properties +13 -5
- package/src/sap/fe/core/messagebundle_pl.properties +13 -5
- package/src/sap/fe/core/messagebundle_pt.properties +13 -5
- package/src/sap/fe/core/messagebundle_pt_PT.properties +14 -6
- package/src/sap/fe/core/messagebundle_ro.properties +13 -5
- package/src/sap/fe/core/messagebundle_ru.properties +13 -5
- package/src/sap/fe/core/messagebundle_sh.properties +13 -5
- package/src/sap/fe/core/messagebundle_sk.properties +13 -5
- package/src/sap/fe/core/messagebundle_sl.properties +17 -9
- package/src/sap/fe/core/messagebundle_sv.properties +14 -6
- package/src/sap/fe/core/messagebundle_th.properties +13 -5
- package/src/sap/fe/core/messagebundle_tr.properties +13 -5
- package/src/sap/fe/core/messagebundle_uk.properties +13 -5
- package/src/sap/fe/core/messagebundle_vi.properties +13 -5
- package/src/sap/fe/core/messagebundle_zh_CN.properties +14 -6
- package/src/sap/fe/core/messagebundle_zh_TW.properties +13 -5
- package/src/sap/fe/core/services/AsyncComponentServiceFactory.js +2 -2
- package/src/sap/fe/core/services/AsyncComponentServiceFactory.ts +5 -5
- package/src/sap/fe/core/services/CacheHandlerServiceFactory.js +2 -2
- package/src/sap/fe/core/services/CacheHandlerServiceFactory.ts +14 -14
- package/src/sap/fe/core/services/EnvironmentServiceFactory.js +1 -1
- package/src/sap/fe/core/services/EnvironmentServiceFactory.ts +3 -2
- package/src/sap/fe/core/services/NavigationServiceFactory.js +53 -44
- package/src/sap/fe/core/services/NavigationServiceFactory.ts +54 -46
- package/src/sap/fe/core/services/ResourceModelServiceFactory.js +2 -2
- package/src/sap/fe/core/services/ResourceModelServiceFactory.ts +4 -4
- package/src/sap/fe/core/services/RoutingServiceFactory.js +55 -55
- package/src/sap/fe/core/services/RoutingServiceFactory.ts +67 -65
- package/src/sap/fe/core/services/ShellServicesFactory.js +72 -76
- package/src/sap/fe/core/services/ShellServicesFactory.ts +76 -82
- package/src/sap/fe/core/services/SideEffectsServiceFactory.js +61 -61
- package/src/sap/fe/core/services/SideEffectsServiceFactory.ts +102 -92
- package/src/sap/fe/core/services/TemplatedViewServiceFactory.js +20 -15
- package/src/sap/fe/core/services/TemplatedViewServiceFactory.ts +26 -21
- package/src/sap/fe/core/support/CommonHelper.js +3 -2
- package/src/sap/fe/core/support/CommonHelper.ts +9 -13
- package/src/sap/fe/core/support/Diagnostics.js +1 -1
- package/src/sap/fe/core/support/Diagnostics.ts +5 -5
- package/src/sap/fe/core/templating/CommonFormatters.js +84 -0
- package/src/sap/fe/core/templating/CommonFormatters.ts +86 -0
- package/src/sap/fe/core/templating/CriticalityFormatters.js +31 -31
- package/src/sap/fe/core/templating/CriticalityFormatters.ts +42 -40
- package/src/sap/fe/core/templating/DataFieldFormatters.js +8 -8
- package/src/sap/fe/core/templating/DataFieldFormatters.ts +13 -10
- package/src/sap/fe/core/templating/DataModelPathHelper.js +16 -15
- package/src/sap/fe/core/templating/DataModelPathHelper.ts +42 -32
- package/src/sap/fe/core/templating/DisplayModeFormatter.js +1 -1
- package/src/sap/fe/core/templating/DisplayModeFormatter.ts +2 -3
- package/src/sap/fe/core/templating/EntitySetHelper.js +7 -7
- package/src/sap/fe/core/templating/EntitySetHelper.ts +6 -8
- package/src/sap/fe/core/templating/FieldControlHelper.js +35 -34
- package/src/sap/fe/core/templating/FieldControlHelper.ts +29 -46
- package/src/sap/fe/core/templating/FilterHelper.js +10 -9
- package/src/sap/fe/core/templating/FilterHelper.ts +13 -13
- package/src/sap/fe/core/templating/FilterTemplating.js +1 -1
- package/src/sap/fe/core/templating/FilterTemplating.ts +3 -3
- package/src/sap/fe/core/templating/PropertyFormatters.js +7 -7
- package/src/sap/fe/core/templating/PropertyFormatters.ts +21 -19
- package/src/sap/fe/core/templating/PropertyHelper.js +25 -25
- package/src/sap/fe/core/templating/PropertyHelper.ts +25 -26
- package/src/sap/fe/core/templating/UIFormatters.js +148 -93
- package/src/sap/fe/core/templating/UIFormatters.ts +196 -124
- package/src/sap/fe/core/type/Email.js +2 -2
- package/src/sap/fe/core/type/Email.ts +2 -2
- package/src/sap/fe/core/helpers/BindingExpression.js +0 -1732
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Log from "sap/base/Log";
|
|
2
2
|
import mergeObjects from "sap/base/util/merge";
|
|
3
|
-
import AppComponent from "sap/fe/core/AppComponent";
|
|
3
|
+
import type AppComponent from "sap/fe/core/AppComponent";
|
|
4
4
|
import draft from "sap/fe/core/controllerextensions/editFlow/draft";
|
|
5
5
|
import {
|
|
6
6
|
defineUI5Class,
|
|
@@ -12,28 +12,27 @@ import {
|
|
|
12
12
|
} from "sap/fe/core/helpers/ClassSupport";
|
|
13
13
|
import KeepAliveHelper from "sap/fe/core/helpers/KeepAliveHelper";
|
|
14
14
|
import ModelHelper from "sap/fe/core/helpers/ModelHelper";
|
|
15
|
-
import PageController from "sap/fe/core/PageController";
|
|
16
|
-
import { NavigationService } from "sap/fe/core/services/NavigationServiceFactory";
|
|
15
|
+
import type PageController from "sap/fe/core/PageController";
|
|
16
|
+
import type { NavigationService } from "sap/fe/core/services/NavigationServiceFactory";
|
|
17
17
|
import SelectionVariant from "sap/fe/navigation/SelectionVariant";
|
|
18
|
-
import Dialog from "sap/m/Dialog";
|
|
18
|
+
import type Dialog from "sap/m/Dialog";
|
|
19
19
|
import Core from "sap/ui/core/Core";
|
|
20
20
|
import Fragment from "sap/ui/core/Fragment";
|
|
21
21
|
import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
|
|
22
22
|
import OverrideExecution from "sap/ui/core/mvc/OverrideExecution";
|
|
23
|
-
import View from "sap/ui/core/mvc/View";
|
|
23
|
+
import type View from "sap/ui/core/mvc/View";
|
|
24
24
|
import XMLPreprocessor from "sap/ui/core/util/XMLPreprocessor";
|
|
25
25
|
import XMLTemplateProcessor from "sap/ui/core/XMLTemplateProcessor";
|
|
26
|
-
import Context from "sap/ui/model/Context";
|
|
26
|
+
import type Context from "sap/ui/model/Context";
|
|
27
27
|
import JSONModel from "sap/ui/model/json/JSONModel";
|
|
28
|
-
import ODataMetaModel from "sap/ui/model/odata/v4/ODataMetaModel";
|
|
29
|
-
import { CoreEx } from "types/extension_types";
|
|
28
|
+
import type ODataMetaModel from "sap/ui/model/odata/v4/ODataMetaModel";
|
|
29
|
+
import type { CoreEx } from "types/extension_types";
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* {@link sap.ui.core.mvc.ControllerExtension Controller extension}
|
|
33
33
|
*
|
|
34
34
|
* @namespace
|
|
35
35
|
* @alias sap.fe.core.controllerextensions.InternalInternalBasedNavigation
|
|
36
|
-
*
|
|
37
36
|
* @private
|
|
38
37
|
* @since 1.84.0
|
|
39
38
|
*/
|
|
@@ -57,10 +56,10 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
57
56
|
* If semantic object mapping is provided, this is also applied to the selection variant after the adaptation by a consumer.
|
|
58
57
|
* This takes care of removing any technical parameters and determines if an explace or inplace navigation should take place.
|
|
59
58
|
*
|
|
60
|
-
* @param
|
|
61
|
-
* @param
|
|
62
|
-
* @param
|
|
63
|
-
* @param
|
|
59
|
+
* @param sSemanticObject Semantic object for the target app
|
|
60
|
+
* @param sAction Action for the target app
|
|
61
|
+
* @param [mNavigationParameters] Optional parameters to be passed to the external navigation
|
|
62
|
+
* @param [mNavigationParameters.navigationContexts] Uses one of the following to be passed to the intent:
|
|
64
63
|
* a single instance of {@link sap.ui.model.odata.v4.Context}
|
|
65
64
|
* multiple instances of {@link sap.ui.model.odata.v4.Context}
|
|
66
65
|
* an object or an array of objects
|
|
@@ -73,11 +72,11 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
73
72
|
* },
|
|
74
73
|
* metaPath: "/SalesOrderManage"
|
|
75
74
|
* }
|
|
76
|
-
* @param
|
|
77
|
-
* @param
|
|
78
|
-
* @param
|
|
79
|
-
* @param
|
|
80
|
-
|
|
75
|
+
* @param [mNavigationParameters.semanticObjectMapping] String representation of the SemanticObjectMapping or SemanticObjectMapping that applies to this navigation
|
|
76
|
+
* @param [mNavigationParameters.defaultRefreshStrategy] Default refresh strategy to be used in case no refresh strategy is specified for the intent in the view.
|
|
77
|
+
* @param [mNavigationParameters.refreshStrategies]
|
|
78
|
+
* @param [mNavigationParameters.additionalNavigationParameters] Additional navigation parameters configured in the crossAppNavigation outbound parameters.
|
|
79
|
+
*/
|
|
81
80
|
@publicExtension()
|
|
82
81
|
@finalExtension()
|
|
83
82
|
navigate(
|
|
@@ -233,9 +232,10 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
233
232
|
|
|
234
233
|
/**
|
|
235
234
|
* Prepare attributes to be passed to external navigation.
|
|
236
|
-
*
|
|
237
|
-
* @param
|
|
238
|
-
* @
|
|
235
|
+
*
|
|
236
|
+
* @param oSemanticAttributes Context data after removing all sensitive information.
|
|
237
|
+
* @param oContext Actual context from which the semanticAttributes were derived.
|
|
238
|
+
* @returns Object of prepared attributes for external navigation and no conflict properties.
|
|
239
239
|
*/
|
|
240
240
|
@publicExtension()
|
|
241
241
|
@finalExtension()
|
|
@@ -261,7 +261,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
261
261
|
} else {
|
|
262
262
|
// if a nested object is found
|
|
263
263
|
const oNewLookUpObject = LookUpObject[sKey];
|
|
264
|
-
_findDistinctKeysInObject(oNewLookUpObject, sLookUpObjectMetaPath
|
|
264
|
+
_findDistinctKeysInObject(oNewLookUpObject, `${sLookUpObjectMetaPath}/${sKey}`);
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
}
|
|
@@ -270,7 +270,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
270
270
|
|
|
271
271
|
// 2. Determine distinct key value and add conflicted paths to semantic attributes
|
|
272
272
|
const sMainEntitySetName = aMetaPathParts[0],
|
|
273
|
-
sMainEntityTypeName = oMetaModel.getObject(
|
|
273
|
+
sMainEntityTypeName = oMetaModel.getObject(`/${sMainEntitySetName}/@sapui.name`),
|
|
274
274
|
oPropertiesWithoutConflict: any = {};
|
|
275
275
|
let sMainEntityValuePath, sCurrentValuePath, sLastValuePath;
|
|
276
276
|
for (const sDistinctKey in oDistinctKeys) {
|
|
@@ -285,9 +285,9 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
285
285
|
// conflict
|
|
286
286
|
for (let i = 0; i <= aConflictingPaths.length - 1; i++) {
|
|
287
287
|
const sPath = aConflictingPaths[i];
|
|
288
|
-
let sPathInContext = sPath.replace(sPath === sMetaPath ? sMetaPath : sMetaPath
|
|
289
|
-
sPathInContext = (sPathInContext === "" ? sPathInContext : sPathInContext
|
|
290
|
-
const sEntityTypeName = oMetaModel.getObject(sPath
|
|
288
|
+
let sPathInContext = sPath.replace(sPath === sMetaPath ? sMetaPath : `${sMetaPath}/`, "");
|
|
289
|
+
sPathInContext = (sPathInContext === "" ? sPathInContext : `${sPathInContext}/`) + sDistinctKey;
|
|
290
|
+
const sEntityTypeName = oMetaModel.getObject(`${sPath}/@sapui.name`);
|
|
291
291
|
// rule A
|
|
292
292
|
|
|
293
293
|
// rule A
|
|
@@ -306,7 +306,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
306
306
|
// add conflicted path to semantic attributes
|
|
307
307
|
// check if the current path points to main entity and prefix attribute names accordingly
|
|
308
308
|
oSemanticAttributes[
|
|
309
|
-
|
|
309
|
+
`${sMetaPath}/${sPathInContext}`
|
|
310
310
|
.split("/")
|
|
311
311
|
.filter(function (sValue: string) {
|
|
312
312
|
return sValue != "";
|
|
@@ -323,10 +323,10 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
323
323
|
} else {
|
|
324
324
|
// no conflict, add distinct key without adding paths
|
|
325
325
|
const sPath = aConflictingPaths[0]; // because there is only one and hence no conflict
|
|
326
|
-
let sPathInContext = sPath.replace(sPath === sMetaPath ? sMetaPath : sMetaPath
|
|
327
|
-
sPathInContext = (sPathInContext === "" ? sPathInContext : sPathInContext
|
|
326
|
+
let sPathInContext = sPath.replace(sPath === sMetaPath ? sMetaPath : `${sMetaPath}/`, "");
|
|
327
|
+
sPathInContext = (sPathInContext === "" ? sPathInContext : `${sPathInContext}/`) + sDistinctKey;
|
|
328
328
|
oSemanticAttributes[sDistinctKey] = oContext.getProperty(sPathInContext);
|
|
329
|
-
oPropertiesWithoutConflict[sDistinctKey] =
|
|
329
|
+
oPropertiesWithoutConflict[sDistinctKey] = `${sMetaPath}/${sPathInContext}`
|
|
330
330
|
.split("/")
|
|
331
331
|
.filter(function (sValue: string) {
|
|
332
332
|
return sValue != "";
|
|
@@ -347,10 +347,11 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
347
347
|
}
|
|
348
348
|
/**
|
|
349
349
|
* Prepare filter conditions to be passed to external navigation.
|
|
350
|
-
*
|
|
351
|
-
* @param
|
|
352
|
-
* @param
|
|
353
|
-
* @
|
|
350
|
+
*
|
|
351
|
+
* @param oFilterBarConditions Filter conditions.
|
|
352
|
+
* @param sRootPath Root path of the application.
|
|
353
|
+
* @param aParameters Names of parameters to be considered.
|
|
354
|
+
* @returns Object of prepared filter conditions for external navigation and no conflict filters.
|
|
354
355
|
*/
|
|
355
356
|
@publicExtension()
|
|
356
357
|
@finalExtension()
|
|
@@ -391,15 +392,15 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
391
392
|
for (let i = 0; i <= aConflictingPaths.length - 1; i++) {
|
|
392
393
|
sPath = aConflictingPaths[i];
|
|
393
394
|
if (sPath === sRootPath) {
|
|
394
|
-
sFullContextPath = sRootPath
|
|
395
|
+
sFullContextPath = `${sRootPath}/${sDistinctKey}`;
|
|
395
396
|
sPathInContext = sDistinctKey;
|
|
396
397
|
sMainEntityValuePath = sDistinctKey;
|
|
397
398
|
if (aParameters && aParameters.includes(sDistinctKey)) {
|
|
398
|
-
oFilterBarConditions[
|
|
399
|
+
oFilterBarConditions[`$Parameter.${sDistinctKey}`] = oFilterBarConditions[sDistinctKey];
|
|
399
400
|
}
|
|
400
401
|
} else {
|
|
401
402
|
sPathInContext = sPath;
|
|
402
|
-
sFullContextPath = (
|
|
403
|
+
sFullContextPath = (`${sRootPath}/${sPath}` as any).replaceAll(/\*/g, "");
|
|
403
404
|
sCurrentValuePath = sPath;
|
|
404
405
|
}
|
|
405
406
|
oFilterBarConditions[
|
|
@@ -419,7 +420,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
419
420
|
// no conflict, add distinct key without adding paths
|
|
420
421
|
sPath = aConflictingPaths[0];
|
|
421
422
|
sFullContextPath =
|
|
422
|
-
sPath === sRootPath ? sRootPath
|
|
423
|
+
sPath === sRootPath ? `${sRootPath}/${sDistinctKey}` : (`${sRootPath}/${sPath}` as any).replaceAll("*", "");
|
|
423
424
|
oFilterConditionsWithoutConflict[sDistinctKey] = sFullContextPath
|
|
424
425
|
.split("/")
|
|
425
426
|
.filter(function (sValue: any) {
|
|
@@ -427,7 +428,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
427
428
|
})
|
|
428
429
|
.join(".");
|
|
429
430
|
if (aParameters && aParameters.includes(sDistinctKey)) {
|
|
430
|
-
oFilterBarConditions[
|
|
431
|
+
oFilterBarConditions[`$Parameter.${sDistinctKey}`] = oFilterBarConditions[sDistinctKey];
|
|
431
432
|
}
|
|
432
433
|
}
|
|
433
434
|
}
|
|
@@ -441,7 +442,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
441
442
|
/**
|
|
442
443
|
* Get Navigation mode.
|
|
443
444
|
*
|
|
444
|
-
* @returns
|
|
445
|
+
* @returns The navigation mode
|
|
445
446
|
*/
|
|
446
447
|
@publicExtension()
|
|
447
448
|
@extensible(OverrideExecution.Instead)
|
|
@@ -453,13 +454,13 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
453
454
|
* If semantic object mapping is provided, this setting is also applied to the selection variant after adaptation by a consumer.
|
|
454
455
|
* This setting also removes any technical parameters and determines if an inplace or explace navigation should take place.
|
|
455
456
|
*
|
|
456
|
-
* @param
|
|
457
|
-
* @param
|
|
458
|
-
* @param
|
|
459
|
-
* @param
|
|
460
|
-
* @param
|
|
461
|
-
* @param
|
|
462
|
-
* @param
|
|
457
|
+
* @param sSemanticObject Semantic object for the target app
|
|
458
|
+
* @param sAction Action for the target app
|
|
459
|
+
* @param [mNavigationParameters] Optional parameters to be passed to the external navigation
|
|
460
|
+
* @param [mNavigationParameters.label]
|
|
461
|
+
* @param [mNavigationParameters.navigationContexts] Single instance or multiple instances of {@link sap.ui.model.odata.v4.Context}, or alternatively an object or array of objects, to be passed to the intent.
|
|
462
|
+
* @param [mNavigationParameters.applicableContexts] Single instance or multiple instances of {@link sap.ui.model.odata.v4.Context}, or alternatively an object or array of objects, to be passed to the intent and for which the IBN button is enabled
|
|
463
|
+
* @param [mNavigationParameters.notApplicableContexts] Single instance or multiple instances of {@link sap.ui.model.odata.v4.Context}, or alternatively an object or array of objects, which cannot be passed to the intent.
|
|
463
464
|
* if an array of contexts is passed the context is used to determine the meta path and accordingly remove the sensitive data
|
|
464
465
|
* If an array of objects is passed, the following format is expected:
|
|
465
466
|
* {
|
|
@@ -470,8 +471,8 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
470
471
|
* metaPath: "/SalesOrderManage"
|
|
471
472
|
* }
|
|
472
473
|
* The metaPath is used to remove any sensitive data.
|
|
473
|
-
* @param
|
|
474
|
-
|
|
474
|
+
* @param [mNavigationParameters.semanticObjectMapping] String representation of SemanticObjectMapping or SemanticObjectMapping that applies to this navigation
|
|
475
|
+
*/
|
|
475
476
|
@publicExtension()
|
|
476
477
|
@finalExtension()
|
|
477
478
|
navigateWithConfirmationDialog(
|
|
@@ -519,7 +520,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
519
520
|
const oModel = this._oView.getModel();
|
|
520
521
|
const oMetaModel = oModel.getMetaModel();
|
|
521
522
|
const sCanonicalPath = mNavigationParameters.notApplicableContexts[0].getCanonicalPath();
|
|
522
|
-
const sEntitySet = sCanonicalPath.substr(0, sCanonicalPath.indexOf("("))
|
|
523
|
+
const sEntitySet = `${sCanonicalPath.substr(0, sCanonicalPath.indexOf("("))}/`;
|
|
523
524
|
Promise.resolve(
|
|
524
525
|
XMLPreprocessor.process(
|
|
525
526
|
oDialogFragment,
|
|
@@ -558,9 +559,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
558
559
|
/**
|
|
559
560
|
* Get targeted Entity set.
|
|
560
561
|
*
|
|
561
|
-
* @returns
|
|
562
|
-
*
|
|
563
|
-
*
|
|
562
|
+
* @returns Entity set name
|
|
564
563
|
*/
|
|
565
564
|
@privateExtension()
|
|
566
565
|
getEntitySet() {
|
|
@@ -569,11 +568,11 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
569
568
|
/**
|
|
570
569
|
* Removes sensitive data from the semantic attribute with respect to entitySet.
|
|
571
570
|
*
|
|
572
|
-
* @param
|
|
573
|
-
* @param
|
|
574
|
-
* @returns
|
|
571
|
+
* @param oAttributes Context data
|
|
572
|
+
* @param sMetaPath Meta path to reach the entityset in the MetaModel
|
|
573
|
+
* @returns Array of semantic Attributes
|
|
575
574
|
* @private
|
|
576
|
-
|
|
575
|
+
*/
|
|
577
576
|
// TO-DO add unit tests for this function in the controller extension qunit.
|
|
578
577
|
@publicExtension()
|
|
579
578
|
@finalExtension()
|
|
@@ -585,10 +584,10 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
585
584
|
delete oAttributes["SAP__Messages"];
|
|
586
585
|
for (let j = 0; j < aProperties.length; j++) {
|
|
587
586
|
if (oAttributes[aProperties[j]] && typeof oAttributes[aProperties[j]] === "object") {
|
|
588
|
-
this.removeSensitiveData(oAttributes[aProperties[j]], sMetaPath
|
|
587
|
+
this.removeSensitiveData(oAttributes[aProperties[j]], `${sMetaPath}/${aProperties[j]}`);
|
|
589
588
|
}
|
|
590
589
|
const sProp = aProperties[j],
|
|
591
|
-
aPropertyAnnotations = this._oMetaModel.getObject(sMetaPath
|
|
590
|
+
aPropertyAnnotations = this._oMetaModel.getObject(`${sMetaPath}/${sProp}@`);
|
|
592
591
|
if (aPropertyAnnotations) {
|
|
593
592
|
if (
|
|
594
593
|
aPropertyAnnotations["@com.sap.vocabularies.PersonalData.v1.IsPotentiallySensitive"] ||
|
|
@@ -613,10 +612,9 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
613
612
|
/**
|
|
614
613
|
* Check if Path based FieldControl Evaluates to inapplicable.
|
|
615
614
|
*
|
|
616
|
-
* @param
|
|
617
|
-
* @param
|
|
618
|
-
* @returns
|
|
619
|
-
*
|
|
615
|
+
* @param sFieldControlPath Field control path
|
|
616
|
+
* @param oAttribute SemanticAttributes
|
|
617
|
+
* @returns `true` if inapplicable
|
|
620
618
|
*/
|
|
621
619
|
_isFieldControlPathInapplicable(sFieldControlPath: string, oAttribute: any) {
|
|
622
620
|
let bInapplicable = false;
|
|
@@ -633,9 +631,9 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
633
631
|
/**
|
|
634
632
|
* Method to replace Local Properties with Semantic Object mappings.
|
|
635
633
|
*
|
|
636
|
-
* @param
|
|
637
|
-
* @param
|
|
638
|
-
* @returns
|
|
634
|
+
* @param oSelectionVariant SelectionVariant consisting of filterbar, Table and Page Context
|
|
635
|
+
* @param vMappings A string representation of semantic object mapping
|
|
636
|
+
* @returns - Modified SelectionVariant with LocalProperty replaced with SemanticObjectProperties.
|
|
639
637
|
*/
|
|
640
638
|
_applySemanticObjectMappings(oSelectionVariant: SelectionVariant, vMappings: object | string) {
|
|
641
639
|
const oMappings = typeof vMappings === "string" ? JSON.parse(vMappings) : vMappings;
|
|
@@ -658,12 +656,13 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
658
656
|
}
|
|
659
657
|
/**
|
|
660
658
|
* Navigates to an Outbound provided in the manifest.
|
|
659
|
+
*
|
|
661
660
|
* @function
|
|
662
|
-
* @param
|
|
663
|
-
* @param
|
|
661
|
+
* @param sOutbound Identifier to location the outbound in the manifest
|
|
662
|
+
* @param mNavigationParameters Optional map containing key/value pairs to be passed to the intent
|
|
664
663
|
* @alias sap.fe.core.controllerextensions.IntentBasedNavigation#navigateOutbound
|
|
665
664
|
* @since 1.86.0
|
|
666
|
-
|
|
665
|
+
*/
|
|
667
666
|
@publicExtension()
|
|
668
667
|
@finalExtension()
|
|
669
668
|
navigateOutbound(sOutbound: string, mNavigationParameters: any) {
|
|
@@ -708,9 +707,10 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
708
707
|
|
|
709
708
|
/**
|
|
710
709
|
* Method to apply outbound parameters defined in the manifest.
|
|
711
|
-
*
|
|
712
|
-
* @param
|
|
713
|
-
* @
|
|
710
|
+
*
|
|
711
|
+
* @param oSelectionVariant SelectionVariant consisting of a filter bar, a table, and a page context
|
|
712
|
+
* @param vOutboundParams Outbound Properties defined in the manifest
|
|
713
|
+
* @returns - The modified SelectionVariant with outbound parameters.
|
|
714
714
|
*/
|
|
715
715
|
_applyOutboundParams(oSelectionVariant: SelectionVariant, vOutboundParams: any) {
|
|
716
716
|
const aParameters = Object.keys(vOutboundParams);
|
|
@@ -726,9 +726,9 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
726
726
|
* Method to get the outbound parameters defined in the manifest.
|
|
727
727
|
*
|
|
728
728
|
* @function
|
|
729
|
-
* @param
|
|
730
|
-
* @returns
|
|
731
|
-
|
|
729
|
+
* @param oOutboundParams Parameters defined in the outbounds. Only "plain" is supported
|
|
730
|
+
* @returns Parameters with the key-Value pair
|
|
731
|
+
*/
|
|
732
732
|
@publicExtension()
|
|
733
733
|
@finalExtension()
|
|
734
734
|
getOutboundParams(oOutboundParams: any) {
|
|
@@ -784,7 +784,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
784
784
|
}
|
|
785
785
|
|
|
786
786
|
if (sCreatePath) {
|
|
787
|
-
const sKey = oDisplayOutbound.semanticObject
|
|
787
|
+
const sKey = `${oDisplayOutbound.semanticObject}-${oDisplayOutbound.action}`;
|
|
788
788
|
oRefreshStrategies.intents[sKey] = {};
|
|
789
789
|
oRefreshStrategies.intents[sKey][sCreatePath] = "self";
|
|
790
790
|
}
|
|
@@ -804,7 +804,7 @@ class InternalIntentBasedNavigation extends ControllerExtension {
|
|
|
804
804
|
//TODO: check why returning a promise is required
|
|
805
805
|
return Promise.resolve();
|
|
806
806
|
} else {
|
|
807
|
-
throw new Error(
|
|
807
|
+
throw new Error(`outbound target ${sOutboundTarget} not found in cross navigation definition of manifest`);
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
810
|
}
|