@sapui5/sap.fe.core 1.96.14 → 1.96.16
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/fe/core/.library +1 -1
- package/src/sap/fe/core/AnnotationHelper.js +1 -1
- package/src/sap/fe/core/AppComponent.js +1 -1
- package/src/sap/fe/core/AppStateHandler.js +1 -1
- package/src/sap/fe/core/BaseController.js +1 -1
- package/src/sap/fe/core/BusyLocker.js +1 -1
- package/src/sap/fe/core/CommonUtils.js +10 -5
- package/src/sap/fe/core/ExtensionAPI.js +1 -1
- package/src/sap/fe/core/PageController.js +1 -1
- package/src/sap/fe/core/RouterProxy.js +1 -1
- package/src/sap/fe/core/Synchronization.js +1 -1
- package/src/sap/fe/core/TemplateComponent.js +1 -1
- package/src/sap/fe/core/TemplateModel.js +1 -1
- package/src/sap/fe/core/TransactionHelper.js +1 -1
- package/src/sap/fe/core/actions/draft.js +1 -1
- package/src/sap/fe/core/actions/messageHandling.js +1 -1
- package/src/sap/fe/core/actions/nonDraft.js +1 -1
- package/src/sap/fe/core/actions/operations.js +21 -5
- package/src/sap/fe/core/actions/sticky.js +1 -1
- package/src/sap/fe/core/controllerextensions/ControllerExtensionMetadata.js +1 -1
- package/src/sap/fe/core/controllerextensions/EditFlow.js +1 -1
- package/src/sap/fe/core/controllerextensions/IntentBasedNavigation.js +1 -1
- package/src/sap/fe/core/controllerextensions/InternalEditFlow.js +1 -1
- package/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation.js +1 -1
- package/src/sap/fe/core/controllerextensions/InternalRouting.js +1 -1
- package/src/sap/fe/core/controllerextensions/MessageHandler.js +1 -1
- package/src/sap/fe/core/controllerextensions/Paginator.js +1 -1
- package/src/sap/fe/core/controllerextensions/Placeholder.js +1 -1
- package/src/sap/fe/core/controllerextensions/Routing.js +1 -1
- package/src/sap/fe/core/controllerextensions/RoutingListener.js +1 -1
- package/src/sap/fe/core/controllerextensions/Share.js +1 -1
- package/src/sap/fe/core/controllerextensions/ViewState.js +1 -1
- package/src/sap/fe/core/controls/CommandExecution.js +1 -1
- package/src/sap/fe/core/controls/ConditionalWrapper.js +1 -1
- package/src/sap/fe/core/controls/CustomQuickViewPage.js +1 -1
- package/src/sap/fe/core/controls/DataLossOrDraftDiscard/DataLossOrDraftDiscardHandler.js +1 -1
- package/src/sap/fe/core/controls/FieldWrapper.js +1 -1
- package/src/sap/fe/core/controls/FilterBar.js +1 -1
- package/src/sap/fe/core/controls/FormElementWrapper.js +1 -1
- package/src/sap/fe/core/controls/MultiValueParameterDelegate.js +1 -1
- package/src/sap/fe/core/controls/filterbar/FilterContainer.js +1 -1
- package/src/sap/fe/core/controls/filterbar/VisualFilter.js +1 -1
- package/src/sap/fe/core/controls/filterbar/VisualFilterContainer.js +1 -1
- package/src/sap/fe/core/controls/filterbar/utils/VisualFilterUtils.js +1 -1
- package/src/sap/fe/core/designtime/AppComponent.designtime.js +1 -1
- package/src/sap/fe/core/fpm/Component.js +1 -1
- package/src/sap/fe/core/helpers/DynamicAnnotationPathHelper.js +1 -1
- package/src/sap/fe/core/helpers/EditState.js +1 -1
- package/src/sap/fe/core/helpers/ExcelFormatHelper.js +1 -1
- package/src/sap/fe/core/helpers/FPMHelper.js +1 -1
- package/src/sap/fe/core/helpers/ModelHelper.js +1 -1
- package/src/sap/fe/core/helpers/PasteHelper.js +1 -1
- package/src/sap/fe/core/helpers/SemanticDateOperators.js +1 -1
- package/src/sap/fe/core/helpers/SemanticKeyHelper.js +1 -1
- package/src/sap/fe/core/helpers/StableIdHelper.js +1 -1
- package/src/sap/fe/core/library.js +2 -2
- package/src/sap/fe/core/library.support.js +1 -1
- package/src/sap/fe/core/messagebundle_it.properties +2 -2
- package/src/sap/fe/core/messagebundle_sv.properties +1 -1
- package/src/sap/fe/core/services/CacheHandlerServiceFactory.js +1 -1
- package/src/sap/fe/core/services/NavigationServiceFactory.js +1 -1
- package/src/sap/fe/core/services/ResourceModelServiceFactory.js +1 -1
- package/src/sap/fe/core/services/RoutingServiceFactory.js +1 -1
- package/src/sap/fe/core/services/TemplatedViewServiceFactory.js +1 -1
- package/src/sap/fe/core/services/view/TemplatingErrorPage.controller.js +1 -1
package/package.json
CHANGED
package/src/sap/fe/core/.library
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
sap.ui.define(
|
|
@@ -1558,10 +1558,15 @@ sap.ui.define(
|
|
|
1558
1558
|
sLow = (oFilter.values[0] && oFilter.values[0].toString()) || "";
|
|
1559
1559
|
sHigh = (oFilter.values[1] && oFilter.values[1].toString()) || null;
|
|
1560
1560
|
if (oFilter.operator === "TODAY" || oFilter.operator === "DATE") {
|
|
1561
|
-
var aFilter =
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1561
|
+
var aFilter = [];
|
|
1562
|
+
if (oFilterInfo[0].aFilters && Array.isArray(oFilterInfo[0].aFilters)){
|
|
1563
|
+
aFilter = oFilterInfo[0].aFilters.filter(function(oFilter) {
|
|
1564
|
+
return oFilter.sPath === sFilter;
|
|
1565
|
+
});
|
|
1566
|
+
} else {
|
|
1567
|
+
aFilter = oFilterInfo[0].sPath;
|
|
1568
|
+
}
|
|
1569
|
+
sLow = (aFilter[0] && aFilter[0].oValue1) || "";
|
|
1565
1570
|
sHigh = null;
|
|
1566
1571
|
}
|
|
1567
1572
|
var oSelectOptionValues = fnGetSignAndOption(oFilter.operator, sLow, sHigh);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
sap.ui.define(
|
|
6
6
|
["sap/ui/base/Object", "sap/fe/core/CommonUtils", "sap/base/Log", "sap/ui/core/Component", "sap/ui/model/json/JSONModel"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
sap.ui.define(["sap/base/Log", "sap/ui/base/Object", "sap/ui/model/json/JSONModel"], function(Log, BaseObject, JSONModel) {
|
|
6
6
|
"use strict";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
// Provides static functions to call OData actions (bound/import) and functions (bound/import)
|
|
@@ -196,7 +196,9 @@ sap.ui.define(
|
|
|
196
196
|
oMetaModel,
|
|
197
197
|
sMetaPath,
|
|
198
198
|
sMessagesPath,
|
|
199
|
-
iMessageSideEffect
|
|
199
|
+
iMessageSideEffect,
|
|
200
|
+
bIsSameEntity,
|
|
201
|
+
oReturnType;
|
|
200
202
|
if (!oAction || !oAction.getObject()) {
|
|
201
203
|
return reject(new Error("Action" + sActionName + " not found"));
|
|
202
204
|
}
|
|
@@ -228,10 +230,18 @@ sap.ui.define(
|
|
|
228
230
|
|
|
229
231
|
if (sMessagesPath) {
|
|
230
232
|
iMessageSideEffect = mParameters.additionalSideEffect.pathExpressions.findIndex(function(exp) {
|
|
231
|
-
return exp
|
|
233
|
+
return typeof exp === "string" && exp === sMessagesPath;
|
|
232
234
|
});
|
|
233
235
|
|
|
234
|
-
if
|
|
236
|
+
// Add SAP_Messages by default if not annotated by side effects, action does not return a collection and
|
|
237
|
+
// the return type is the same as the bound type
|
|
238
|
+
oReturnType = oAction.getObject("$ReturnType");
|
|
239
|
+
bIsSameEntity =
|
|
240
|
+
oReturnType &&
|
|
241
|
+
!oReturnType.$isCollection &&
|
|
242
|
+
oAction.getModel().getObject(sMetaPath).$Type === oReturnType.$Type;
|
|
243
|
+
|
|
244
|
+
if (iMessageSideEffect > -1 || bIsSameEntity) {
|
|
235
245
|
// the message path is annotated as side effect. As there's no binding for it and the model does currently not allow
|
|
236
246
|
// to add it at a later point of time we have to take care it's part of the $select of the POST, therefore moving it
|
|
237
247
|
mParameters.mBindingParameters = mParameters.mBindingParameters || {};
|
|
@@ -245,7 +255,13 @@ sap.ui.define(
|
|
|
245
255
|
? mParameters.mBindingParameters.$select + "," + sMessagesPath
|
|
246
256
|
: sMessagesPath;
|
|
247
257
|
|
|
248
|
-
|
|
258
|
+
// Add side effects at entity level because $select stops these being returned by the action
|
|
259
|
+
// Only if no other side effects were added for Messages
|
|
260
|
+
if (iMessageSideEffect === -1) {
|
|
261
|
+
mParameters.additionalSideEffect.pathExpressions.push("*");
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
if (mParameters.additionalSideEffect.triggerActions.length === 0 && iMessageSideEffect > -1) {
|
|
249
265
|
// no trigger action therefore no need to request messages again
|
|
250
266
|
mParameters.additionalSideEffect.pathExpressions.splice(iMessageSideEffect, 1);
|
|
251
267
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
sap.ui.define(["sap/ui/core/mvc/ControllerExtension", "sap/ui/core/mvc/OverrideExecution", "sap/fe/core/actions/messageHandling"], function(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
sap.ui.define(["sap/ui/core/mvc/ControllerExtension", "sap/ui/core/mvc/OverrideExecution", "sap/ui/model/json/JSONModel"], function(
|
|
6
6
|
ControllerExtension,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
sap.ui.define(["sap/ui/core/CommandExecution", "sap/base/Log", "sap/ui/core/Element", "sap/ui/core/Shortcut"], function(
|
|
6
6
|
CommandExecution,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
sap.ui.define(["sap/m/QuickViewPage", "sap/m/Button", "sap/fe/core/CommonUtils", "sap/fe/macros/DelegateUtil"], function(
|
|
6
6
|
QuickViewPage,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
sap.ui.define(["sap/ui/core/Control", "sap/ui/base/ManagedObjectObserver"], function(Control, ManagedObjectObserver) {
|
|
6
6
|
"use strict";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
// ---------------------------------------------------------------------------------------
|
|
6
6
|
// Helper class used to help create content in the multi value field
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -106,7 +106,7 @@ sap.ui.define(
|
|
|
106
106
|
interfaces: [],
|
|
107
107
|
controls: [],
|
|
108
108
|
elements: [],
|
|
109
|
-
version: "1.96.
|
|
109
|
+
version: "1.96.16",
|
|
110
110
|
noLibraryCSS: true,
|
|
111
111
|
extensions: {
|
|
112
112
|
//Configuration used for rule loading of Support Assistant
|
|
@@ -51,7 +51,7 @@ ST_DRAFT_DATALOSS_DISCARD_DRAFT_BTN=Scarta bozza
|
|
|
51
51
|
|
|
52
52
|
CANCEL=Annulla
|
|
53
53
|
|
|
54
|
-
C_DRAFT_OBJECT_PAGE_DRAFT_LOCKED_BY_USER=Impossibile
|
|
54
|
+
C_DRAFT_OBJECT_PAGE_DRAFT_LOCKED_BY_USER=Impossibile modificare questo oggetto al momento \n\u00C8 bloccato da {0}
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
C_COMMON_SAPFE_ACTION_SUCCESS=Azione "{0}" eseguita correttamente
|
|
@@ -213,7 +213,7 @@ C_DRAFT_OBJECT_PAGE_WARNING=Avvertimento
|
|
|
213
213
|
|
|
214
214
|
C_DRAFT_OBJECT_PAGE_DRAFT_UNSAVED_CHANGES=Un altro utente ha elaborato questo oggetto senza salvare\:\n{0} \n\nSe inizi l\u2019elaborazione, le modifiche utente andranno perse.
|
|
215
215
|
|
|
216
|
-
C_COMMON_OBJECT_PAGE_EDIT=
|
|
216
|
+
C_COMMON_OBJECT_PAGE_EDIT=Modifica
|
|
217
217
|
|
|
218
218
|
C_DRAFT_EDIT_STATE_DRAFT_ALL_FILTER=Tutto
|
|
219
219
|
|
|
@@ -225,7 +225,7 @@ C_DRAFT_EDIT_STATE_DRAFT_LOCKED_FILTER=Sp\u00E4rras av en annan anv\u00E4ndare
|
|
|
225
225
|
|
|
226
226
|
C_DRAFT_EDIT_STATE_DRAFT_UNSAVED_CHANGES_FILTER=Ej sparade \u00E4ndringar av en annan anv\u00E4ndare
|
|
227
227
|
|
|
228
|
-
C_DRAFT_EDIT_STATE_DRAFT_ALL_HIDING_DRAFTS_FILTER=Alla (
|
|
228
|
+
C_DRAFT_EDIT_STATE_DRAFT_ALL_HIDING_DRAFTS_FILTER=Alla (utkast dolda)
|
|
229
229
|
|
|
230
230
|
T_COMMON_SAPFE_ACTION_SHARE=Dela
|
|
231
231
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
sap.ui.define(
|
|
6
6
|
["sap/ui/core/service/Service", "sap/ui/core/service/ServiceFactory", "sap/base/Log", "sap/fe/navigation/NavigationHandler"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
sap.ui.define(["sap/ui/core/mvc/Controller", "sap/fe/core/controllerextensions/InternalRouting"], function(Controller, InternalRouting) {
|
|
6
6
|
"use strict";
|