@sapui5/sap.fe.navigation 1.84.6 → 1.84.10
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 +2 -2
- package/src/sap/fe/navigation/.library +1 -4
- package/src/sap/fe/navigation/NavError.js +1 -1
- package/src/sap/fe/navigation/NavigationHandler.js +5 -19
- package/src/sap/fe/navigation/PresentationVariant.js +1 -1
- package/src/sap/fe/navigation/SelectionVariant.js +1 -1
- package/src/sap/fe/navigation/library.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapui5/sap.fe.navigation",
|
|
3
|
-
"version": "1.84.
|
|
3
|
+
"version": "1.84.10",
|
|
4
4
|
"description": "SAPUI5 Library sap.fe.navigation",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "SAP SE (https://www.sap.com)",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@babel/cli": "7.8.4",
|
|
17
|
-
"@ui5/cli": "
|
|
17
|
+
"@ui5/cli": "2.4.3",
|
|
18
18
|
"yarn": "1.22.4"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>SAP UI development toolkit for HTML5 (SAPUI5)
|
|
7
7
|
(c) Copyright 2009-2017 SAP SE. All rights reserved
|
|
8
8
|
</copyright>
|
|
9
|
-
<version>1.84.
|
|
9
|
+
<version>1.84.10</version>
|
|
10
10
|
|
|
11
11
|
<documentation>UI5 library: sap.fe.navigation</documentation>
|
|
12
12
|
|
|
@@ -24,9 +24,6 @@
|
|
|
24
24
|
<!-- excludes for the JSCoverage -->
|
|
25
25
|
<jscoverage xmlns="http://www.sap.com/ui5/buildext/jscoverage">
|
|
26
26
|
<exclude name="sap.fe.navigation.js."/>
|
|
27
|
-
<exclude name="sap.ui." />
|
|
28
|
-
<exclude name="sap.ushell." />
|
|
29
|
-
<exclude name="*" /> <!-- exclude files within current folder -->
|
|
30
27
|
</jscoverage>
|
|
31
28
|
</appData>
|
|
32
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* ! SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
sap.ui.define(
|
|
6
6
|
[
|
|
@@ -892,8 +892,8 @@ sap.ui.define(
|
|
|
892
892
|
oHashChanger.replaceHash(sAppHashNew);
|
|
893
893
|
};
|
|
894
894
|
|
|
895
|
-
// in case mInnerAppState is
|
|
896
|
-
if (mInnerAppData
|
|
895
|
+
// in case mInnerAppState is empty, do not overwrite the last saved state
|
|
896
|
+
if (isEmptyObject(mInnerAppData)) {
|
|
897
897
|
oMyDeferred.resolve("");
|
|
898
898
|
return oMyDeferred.promise();
|
|
899
899
|
}
|
|
@@ -901,12 +901,6 @@ sap.ui.define(
|
|
|
901
901
|
// check if we already saved the same data
|
|
902
902
|
var sAppStateKeyCached = this._oLastSavedInnerAppData.sAppStateKey;
|
|
903
903
|
|
|
904
|
-
// check if empty and first save
|
|
905
|
-
if (isEmptyObject(mInnerAppData) && !sAppStateKeyCached) {
|
|
906
|
-
oMyDeferred.resolve("");
|
|
907
|
-
return oMyDeferred.promise();
|
|
908
|
-
}
|
|
909
|
-
|
|
910
904
|
var bInnerAppDataEqual = JSON.stringify(mInnerAppData) === JSON.stringify(this._oLastSavedInnerAppData.oAppData);
|
|
911
905
|
if (bInnerAppDataEqual && sAppStateKeyCached) {
|
|
912
906
|
// passed inner app state found in cache
|
|
@@ -1007,8 +1001,8 @@ sap.ui.define(
|
|
|
1007
1001
|
var that = this;
|
|
1008
1002
|
var oAppStatePromise = jQuery.Deferred();
|
|
1009
1003
|
|
|
1010
|
-
// in case mInnerAppState is
|
|
1011
|
-
if (mInnerAppData
|
|
1004
|
+
// in case mInnerAppState is empty, do not overwrite the last saved state
|
|
1005
|
+
if (isEmptyObject(mInnerAppData)) {
|
|
1012
1006
|
return {
|
|
1013
1007
|
appStateKey: "",
|
|
1014
1008
|
promise: oAppStatePromise.resolve("")
|
|
@@ -1018,14 +1012,6 @@ sap.ui.define(
|
|
|
1018
1012
|
// check if we already saved the same data
|
|
1019
1013
|
var sAppStateKeyCached = this._oLastSavedInnerAppData.sAppStateKey;
|
|
1020
1014
|
|
|
1021
|
-
// check if empty and first save
|
|
1022
|
-
if (isEmptyObject(mInnerAppData) && !sAppStateKeyCached) {
|
|
1023
|
-
return {
|
|
1024
|
-
appStateKey: "",
|
|
1025
|
-
promise: oAppStatePromise.resolve("")
|
|
1026
|
-
};
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
1015
|
var bInnerAppDataEqual = JSON.stringify(mInnerAppData) === JSON.stringify(this._oLastSavedInnerAppData.oAppData);
|
|
1030
1016
|
if (bInnerAppDataEqual && sAppStateKeyCached) {
|
|
1031
1017
|
// passed inner app state found in cache
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
sap.ui.define(["./NavError", "sap/ui/base/Object", "sap/base/util/extend", "sap/base/util/each", "sap/base/Log"], function(
|
|
6
6
|
NavError,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* ! SAPUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -30,7 +30,7 @@ sap.ui.define(
|
|
|
30
30
|
// library dependencies
|
|
31
31
|
sap.ui.getCore().initLibrary({
|
|
32
32
|
name: "sap.fe.navigation",
|
|
33
|
-
version: "1.84.
|
|
33
|
+
version: "1.84.10",
|
|
34
34
|
dependencies: ["sap.ui.core"],
|
|
35
35
|
types: ["sap.fe.navigation.NavType", "sap.fe.navigation.ParamHandlingMode", "sap.fe.navigation.SuppressionBehavior"],
|
|
36
36
|
interfaces: [],
|