@sapui5/sap.suite.ui.generic.template 1.148.10 → 1.148.11
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/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
- 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/lib/AppComponent.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +12 -3
- package/src/sap/suite/ui/generic/template/library.js +1 -1
package/package.json
CHANGED
|
@@ -961,7 +961,7 @@ sap.ui.define([
|
|
|
961
961
|
* @public
|
|
962
962
|
* @extends sap.ui.core.UIComponent
|
|
963
963
|
* @author SAP SE
|
|
964
|
-
* @version 1.148.
|
|
964
|
+
* @version 1.148.11
|
|
965
965
|
* @name sap.suite.ui.generic.template.lib.AppComponent
|
|
966
966
|
*/
|
|
967
967
|
var oAppComponent = UIComponent.extend("sap.suite.ui.generic.template.lib.AppComponent", {
|
|
@@ -2445,7 +2445,7 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
2445
2445
|
};
|
|
2446
2446
|
for (var oHistoricHash = oCurrentHash; oHistoricHash.iHashChangeCount > 0; oHistoricHash = aPreviousHashes[oHistoricHash.backTarget]){
|
|
2447
2447
|
var oIdentity = (oHistoricHash === oCurrentHash) ? oCurrentIdentity : oHistoricHash.identity;
|
|
2448
|
-
var oReducedIdentity = oIdentity.treeNode && {
|
|
2448
|
+
var oReducedIdentity = oIdentity && oIdentity.treeNode && {
|
|
2449
2449
|
sRouteName: oIdentity.treeNode.sRouteName,
|
|
2450
2450
|
keys: oIdentity.keys,
|
|
2451
2451
|
appStates: oIdentity.appStates
|
|
@@ -3125,6 +3125,7 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
3125
3125
|
var fnPrepareHostView = testableHelper.testable(fnPrepareHostView, "prepareHostView");
|
|
3126
3126
|
var fnPreloadComponent = testableHelper.testable(fnPreloadComponent, "preloadComponent");
|
|
3127
3127
|
var fnGetRouteInfoByHash = testableHelper.testable(fnGetRouteInfoByHash, "getRouteInfoByHash");
|
|
3128
|
+
var fnUpdateHistoryState = testableHelper.testable(fnUpdateHistoryState, "updateHistoryState");
|
|
3128
3129
|
|
|
3129
3130
|
// Note: Function createHostView will be added by routingHelper.
|
|
3130
3131
|
// Allow to mock this by unit tests
|
|
@@ -3135,8 +3136,16 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
3135
3136
|
testableHelper.testable(function(fnPrepareHostViewStub){
|
|
3136
3137
|
fnPrepareHostView = fnPrepareHostViewStub;
|
|
3137
3138
|
}, "setPrepareHostView");
|
|
3138
|
-
/* eslint-enable */
|
|
3139
3139
|
|
|
3140
|
+
testableHelper.testable(function(oCurrentHashParam, aPreviousHashesParam, oCurrentIdentityParam, oHistoryStateParam){
|
|
3141
|
+
oCurrentHash = oCurrentHashParam;
|
|
3142
|
+
aPreviousHashes = aPreviousHashesParam;
|
|
3143
|
+
oCurrentIdentity = oCurrentIdentityParam;
|
|
3144
|
+
if (oHistoryStateParam !== undefined){
|
|
3145
|
+
oHistoryState = oHistoryStateParam;
|
|
3146
|
+
}
|
|
3147
|
+
}, "setInternalNavigationState");
|
|
3148
|
+
/* eslint-enable */
|
|
3140
3149
|
|
|
3141
3150
|
oTemplateContract.oBusyHelper.setBusy((getParsedShellHashFromFLP() || Promise.resolve()).then(function(oResults){
|
|
3142
3151
|
var oParsedUrl = oResults && oResults.parseParameters(document.location.search);
|
|
@@ -3222,7 +3231,7 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
3222
3231
|
* @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
|
|
3223
3232
|
* @public
|
|
3224
3233
|
* @extends sap.ui.base.Object
|
|
3225
|
-
* @version 1.148.
|
|
3234
|
+
* @version 1.148.11
|
|
3226
3235
|
* @since 1.30.0
|
|
3227
3236
|
* @alias sap.suite.ui.generic.template.lib.NavigationController
|
|
3228
3237
|
*/
|