@sapui5/sap.suite.ui.generic.template 1.108.41 → 1.108.42

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.108.41",
3
+ "version": "1.108.42",
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.108.41</version>
10
+ <version>1.108.42</version>
11
11
 
12
12
  <documentation>Library with generic Suite UI templates.</documentation>
13
13
 
@@ -856,7 +856,7 @@ sap.ui.define([
856
856
  * @extends sap.ui.core.UIComponent
857
857
  * @abstract
858
858
  * @author SAP SE
859
- * @version 1.108.41
859
+ * @version 1.108.42
860
860
  * @name sap.suite.ui.generic.template.lib.AppComponent
861
861
  */
862
862
  return UIComponent.extend("sap.suite.ui.generic.template.lib.AppComponent", {
@@ -334,7 +334,13 @@ sap.ui.define(["sap/ui/base/Object",
334
334
 
335
335
  fnInitializeHistory();
336
336
  var fnInitializeRouter = bIsFirst ? oNavigationControllerProxy.initialize : Function.prototype;
337
- var oData = !bIsRestoring && !oNavigationControllerProxy.oHashChanger.getHash() && oComponentData;
337
+ // Parameter is used to override Hash logic, only applicable to case then FEv2 app is launched as embedded application from MyInbox;
338
+ var bIsAppEmbeddedOne = !!oComponentData
339
+ && !!oComponentData.oStartupParameters
340
+ && !!oComponentData.oStartupParameters['openMode']
341
+ && oComponentData.oStartupParameters['openMode'].length > 0
342
+ && oComponentData.oStartupParameters['openMode'].some(function (sValue) {return sValue === 'embedIntoDetailsNestedRouter';});
343
+ var oData = !bIsRestoring && (!oNavigationControllerProxy.oHashChanger.getHash() || bIsAppEmbeddedOne) && oComponentData;
338
344
  var oStartupParameters = oData && oData.startupParameters;
339
345
  if (oStartupParameters){
340
346
  startupParameterHelper.parametersToNavigation(oTemplateContract, oStartupParameters).then(function(oMessageParameters){
@@ -2975,7 +2981,7 @@ sap.ui.define(["sap/ui/base/Object",
2975
2981
  * @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
2976
2982
  * @public
2977
2983
  * @extends sap.ui.base.Object
2978
- * @version 1.108.41
2984
+ * @version 1.108.42
2979
2985
  * @since 1.30.0
2980
2986
  * @alias sap.suite.ui.generic.template.lib.NavigationController
2981
2987
  */
@@ -38,7 +38,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/core/library','sap/fe/placeholder/lib
38
38
  interfaces: [],
39
39
  controls: [],
40
40
  elements: [],
41
- version: "1.108.41",
41
+ version: "1.108.42",
42
42
  extensions: {
43
43
  //Configuration used for rule loading of Support Assistant
44
44
  "sap.ui.support": {