@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 +1 -1
- package/src/sap/suite/ui/generic/template/.library +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/Component.js +5 -0
- package/src/sap/suite/ui/generic/template/ListReport/controller/IappStateHandler.js +5 -2
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hr.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hr.properties +1 -1
- package/src/sap/suite/ui/generic/template/lib/AddCardsHelper.js +6 -3
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
- package/src/sap/suite/ui/generic/template/library.js +1 -1
package/package.json
CHANGED
|
@@ -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
|
-
//
|
|
741
|
-
if
|
|
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 {
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
41
|
+
version: "1.108.9",
|
|
42
42
|
extensions: {
|
|
43
43
|
//Configuration used for rule loading of Support Assistant
|
|
44
44
|
"sap.ui.support": {
|