@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.generic.template",
3
- "version": "1.148.10",
3
+ "version": "1.148.11",
4
4
  "description": "SAPUI5 Library sap.suite.ui.generic.template",
5
5
  "keywords": [
6
6
  "sapui5",
@@ -7,7 +7,7 @@
7
7
 
8
8
  (c) Copyright 2009-2015 SAP SE. All rights reserved
9
9
  </copyright>
10
- <version>1.148.10</version>
10
+ <version>1.148.11</version>
11
11
 
12
12
  <documentation>Library with generic Suite UI templates.</documentation>
13
13
 
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.148.10"
11
+ "version": "1.148.11"
12
12
  },
13
13
  "title": "{{TITLE}}",
14
14
  "description": "{{DESCRIPTION}}",
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.148.10"
11
+ "version": "1.148.11"
12
12
  },
13
13
  "title": "Canvas",
14
14
  "description": "Canvas Page",
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.148.10"
11
+ "version": "1.148.11"
12
12
  },
13
13
  "title": "{{TITLE}}",
14
14
  "description": "{{DESCRIPTION}}",
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.148.10"
9
+ "version": "1.148.11"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.148.10"
9
+ "version": "1.148.11"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.148.10"
9
+ "version": "1.148.11"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -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.10
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.10
3234
+ * @version 1.148.11
3226
3235
  * @since 1.30.0
3227
3236
  * @alias sap.suite.ui.generic.template.lib.NavigationController
3228
3237
  */
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  interfaces: [],
69
69
  controls: [],
70
70
  elements: [],
71
- version: "1.148.10",
71
+ version: "1.148.11",
72
72
  extensions: {
73
73
  //Configuration used for rule loading of Support Assistant
74
74
  "sap.ui.support": {