@sapui5/sap.suite.ui.generic.template 1.108.8 → 1.108.9

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.8",
3
+ "version": "1.108.9",
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.8</version>
10
+ <version>1.108.9</version>
11
11
 
12
12
  <documentation>Library with generic Suite UI templates.</documentation>
13
13
 
@@ -429,6 +429,11 @@ sap.ui.define(["sap/ui/core/mvc/OverrideExecution",
429
429
  var oDateProperties = filterSettingsPreparationHelper.getDatePropertiesSettings(oLrSettings, oEntityType, oLeadingEntitySet, oModel);
430
430
  if (oComponent && oComponent.oModels) {
431
431
  oComponent.getModel("_templPriv").setProperty("/listReport/datePropertiesSettings", oDateProperties);
432
+ if (!oLrSettings.subPages || oLrSettings.subPages.length === 0) { //LR only app
433
+ oComponent.getModel("_templPriv").setProperty("/listReport/bSupressCardRowNavigation", true);
434
+ } else if (oLrSettings.subPages[0].navigation) { //OP with external navigation via manifest
435
+ oComponent.getModel("_templPriv").setProperty("/listReport/bSupressCardRowNavigation", true);
436
+ }
432
437
  }
433
438
  if (oEntityType && oEntityType.property && oSettings && oLrSettings && oLrSettings.tableSettings && oLrSettings.tableSettings.createWithParameterDialog) {
434
439
  staticChecksHelper.checkErrorforCreateWithDialog(oEntityType, oLrSettings.tableSettings);
@@ -737,8 +737,11 @@ sap.ui.define([
737
737
  if (areDataShownInTable()){
738
738
  // trigger search if needed
739
739
  oState.oSmartFilterbar.search();
740
- // collapse header if search is triggered except on desktop devices
741
- if (!Device.system.desktop) {
740
+ // For desktop devices, expand the header for Standard and Custom variants and for tablet and mobile devices,
741
+ // collapse the header only if search is triggered.
742
+ if (Device.system.desktop) {
743
+ oTemplateUtils.oCommonUtils.getControlStateWrapper(oController.byId(StableIdHelper.getStableId({type: "ListReportPage", subType: "DynamicPage"}))).setHeaderState(oController, true);
744
+ } else {
742
745
  collapseHeader();
743
746
  }
744
747
  } else {
@@ -128,7 +128,7 @@ UNSAVED_CHANGES=Nesnimljene promjene
128
128
 
129
129
  UNSAVED_CHANGES_FILTER=Nesn.promjene drugog korisnika
130
130
 
131
- SHARE=Podijeli
131
+ SHARE=Dijeljenje
132
132
 
133
133
  ST_CREATE_WITH_FILTERS=Kreiraj s filterima
134
134
 
@@ -130,7 +130,7 @@ YES=Da
130
130
 
131
131
  NO=Ne
132
132
 
133
- SHARE=Dijeli
133
+ SHARE=Dijeljenje
134
134
 
135
135
 
136
136
 
@@ -67,7 +67,7 @@ sap.ui.define(["sap/m/p13n/Popup",
67
67
  } else {
68
68
  oCardConfig["content"] = fnCreateManifestSapTableCardContent(oCardDefinition, oCardConfig, aSelectedColumns);
69
69
  }
70
- getCardActions(oCardDefinition, oCardConfig);
70
+ AddCardsHelper.getCardActions(oCardDefinition, oCardConfig);
71
71
  return oCardConfig;
72
72
  };
73
73
 
@@ -585,7 +585,7 @@ sap.ui.define(["sap/m/p13n/Popup",
585
585
  return aDimensions;
586
586
  };
587
587
 
588
- var getCardActions = function (oCardDefinition, oSapCard) {
588
+ AddCardsHelper.getCardActions = function (oCardDefinition, oSapCard) {
589
589
  var sHash = window.hasher.getHash(), aSemanticObjAction = sHash.split('&/')[0];
590
590
 
591
591
  if (aSemanticObjAction.includes('?')) {
@@ -628,7 +628,10 @@ sap.ui.define(["sap/m/p13n/Popup",
628
628
  if (oSapCard.type === "Analytical") {
629
629
  oSapCard.content.actions = oContentParameterValue;
630
630
  } else {
631
- oSapCard.content.row.actions = oContentParameterValue;
631
+ var oTemplatePrivateModel = oCardDefinition['component'].getModel("_templPriv");
632
+ if (!oTemplatePrivateModel.getProperty("/listReport/bSupressCardRowNavigation")) {
633
+ oSapCard.content.row.actions = oContentParameterValue;
634
+ }
632
635
  }
633
636
  };
634
637
 
@@ -854,7 +854,7 @@ sap.ui.define([
854
854
  * @extends sap.ui.core.UIComponent
855
855
  * @abstract
856
856
  * @author SAP SE
857
- * @version 1.108.8
857
+ * @version 1.108.9
858
858
  * @name sap.suite.ui.generic.template.lib.AppComponent
859
859
  */
860
860
  return UIComponent.extend("sap.suite.ui.generic.template.lib.AppComponent", {
@@ -2942,7 +2942,7 @@ sap.ui.define(["sap/ui/base/Object",
2942
2942
  * @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
2943
2943
  * @public
2944
2944
  * @extends sap.ui.base.Object
2945
- * @version 1.108.8
2945
+ * @version 1.108.9
2946
2946
  * @since 1.30.0
2947
2947
  * @alias sap.suite.ui.generic.template.lib.NavigationController
2948
2948
  */
@@ -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.8",
41
+ version: "1.108.9",
42
42
  extensions: {
43
43
  //Configuration used for rule loading of Support Assistant
44
44
  "sap.ui.support": {