@sapui5/sap.suite.ui.generic.template 1.114.7 → 1.114.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.
Files changed (21) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/generic/template/.library +1 -1
  3. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controllerFrameworkExtensions.js +26 -1
  4. package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
  5. package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
  6. package/src/sap/suite/ui/generic/template/ListReport/controllerFrameworkExtensions.js +24 -2
  7. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n.properties +1 -1
  8. package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
  9. package/src/sap/suite/ui/generic/template/ObjectPage/controllerFrameworkExtensions.js +21 -2
  10. package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
  11. package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
  12. package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
  13. package/src/sap/suite/ui/generic/template/designtime/AnalyticalListPage.designtime.js +27 -20
  14. package/src/sap/suite/ui/generic/template/genericUtilities/jsonHelper.js +5 -2
  15. package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +7 -1
  16. package/src/sap/suite/ui/generic/template/lib/AddCardsHelper.js +16 -20
  17. package/src/sap/suite/ui/generic/template/lib/AppComponent.js +1 -1
  18. package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +2 -2
  19. package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +2 -2
  20. package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
  21. package/src/sap/suite/ui/generic/template/library.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.generic.template",
3
- "version": "1.114.7",
3
+ "version": "1.114.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.114.7</version>
10
+ <version>1.114.9</version>
11
11
 
12
12
  <documentation>Library with generic Suite UI templates.</documentation>
13
13
 
@@ -1,4 +1,6 @@
1
- sap.ui.define([ ], function() {
1
+ sap.ui.define([
2
+ "sap/ui/core/mvc/OverrideExecution"
3
+ ], function(OverrideExecution) {
2
4
  "use strict";
3
5
  /**
4
6
  * This class contains all extension functions that can be implemented by Application
@@ -8,6 +10,29 @@ sap.ui.define([ ], function() {
8
10
  * @public
9
11
  */
10
12
  return /** @lends sap.suite.ui.generic.template.AnalyticalListPage.controllerFrameworkExtensions */ {
13
+ metadata: {
14
+ methods: {
15
+ getVisibleSelectionsWithDefaults: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
16
+ onInitSmartFilterBarExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
17
+ getCustomAppStateDataExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
18
+ restoreCustomAppStateDataExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
19
+ onBeforeRebindTableExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
20
+ onBeforeRebindChartExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
21
+ onClearFilterExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
22
+ adaptNavigationParameterExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
23
+ onAfterCustomModelCreation: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
24
+ onBeforeRebindFilterableKPIExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
25
+ adaptTransientMessageExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
26
+ onListNavigationExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
27
+ onSaveAsTileExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
28
+ modifyStartupExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
29
+ onLeaveAppExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
30
+ onBeforeRebindVisualFilterExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
31
+ onChildOpenedExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
32
+ beforeSmartLinkPopoverOpensExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
33
+ onBeforeExportTableExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After}
34
+ }
35
+ },
11
36
 
12
37
  /**
13
38
  * This method is called by Fiori elements on the initialization of View. Application developers
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.114.7"
11
+ "version": "1.114.9"
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.114.7"
11
+ "version": "1.114.9"
12
12
  },
13
13
  "title": "Canvas",
14
14
  "description": "Canvas Page",
@@ -1,6 +1,6 @@
1
1
  sap.ui.define([
2
-
3
- ], function() {
2
+ "sap/ui/core/mvc/OverrideExecution"
3
+ ], function(OverrideExecution) {
4
4
  "use strict";
5
5
 
6
6
  /**
@@ -12,6 +12,28 @@ sap.ui.define([
12
12
  */
13
13
 
14
14
  return /** @lends sap.suite.ui.generic.template.ListReport.controllerFrameworkExtensions */ {
15
+ metadata: {
16
+ methods: {
17
+ getVisibleSelectionsWithDefaults: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
18
+ onInitSmartFilterBarExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
19
+ getCustomAppStateDataExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
20
+ restoreCustomAppStateDataExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
21
+ onBeforeRebindTableExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
22
+ onBeforeRebindChartExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
23
+ adaptNavigationParameterExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
24
+ onListNavigationExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
25
+ getPredefinedValuesForCreateExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
26
+ adaptTransientMessageExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
27
+ onSaveAsTileExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
28
+ beforeDeleteExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
29
+ modifyStartupExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
30
+ onLeaveAppExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
31
+ onChildOpenedExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
32
+ beforeMultiEditSaveExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
33
+ beforeSmartLinkPopoverOpensExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
34
+ onBeforeExportTableExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After}
35
+ }
36
+ },
15
37
 
16
38
  /**
17
39
  * This method is called by SAP Fiori elements on the initialization of View. Application
@@ -91,7 +91,7 @@ MESSAGE_MULTIPLE_VALUES_S_FORM=You can''t use the following filters on the \"{1}
91
91
  # YMSG, 100: used to show error message while editing a non editable object
92
92
  OBJECT_NOT_EDITABLE=This object cannot be edited.
93
93
 
94
- # XMSG,60: No data text for on load of smart table
94
+ # XMSG, 80: No data text for on load of smart table
95
95
  NODATA_SMARTTABLE_LR=To start, set the relevant filters and choose "Go".
96
96
 
97
97
  #------------template controller reuse texts---------------------
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.114.7"
11
+ "version": "1.114.9"
12
12
  },
13
13
  "title": "{{TITLE}}",
14
14
  "description": "{{DESCRIPTION}}",
@@ -1,6 +1,6 @@
1
1
  sap.ui.define([
2
-
3
- ], function() {
2
+ "sap/ui/core/mvc/OverrideExecution"
3
+ ], function(OverrideExecution) {
4
4
  "use strict";
5
5
 
6
6
  /**
@@ -12,6 +12,25 @@ sap.ui.define([
12
12
  */
13
13
 
14
14
  return /** @lends sap.suite.ui.generic.template.ObjectPage.controllerFrameworkExtensions */ {
15
+ metadata: {
16
+ methods: {
17
+ adaptNavigationParameterExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
18
+ onBeforeRebindTableExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
19
+ onListNavigationExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
20
+ provideCustomStateExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
21
+ applyCustomStateExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
22
+ adaptTransientMessageExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
23
+ onSaveAsTileExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
24
+ beforeDeleteExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
25
+ beforeSaveExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
26
+ beforeLineItemDeleteExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
27
+ onLeaveAppExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
28
+ onChildOpenedExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
29
+ onSubSectionEnteredExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
30
+ beforeSmartLinkPopoverOpensExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
31
+ onBeforeExportTableExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After}
32
+ }
33
+ },
15
34
 
16
35
  /**
17
36
  * This method is called by SAP Fiori elements on the initialization of View. Application developers
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.114.7"
9
+ "version": "1.114.9"
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.114.7"
9
+ "version": "1.114.9"
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.114.7"
9
+ "version": "1.114.9"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -10,25 +10,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
10
10
  function (designtimeHelper, deepExtend) {
11
11
  "use strict";
12
12
 
13
- // definiton of changes we want to allow. Structure/granularity to be clarified
14
- // example for testing
15
- // var mAllowTest = {
16
- // "sap.ui.comp.smarttable.SmartTable": {
17
- // properties: ["useExportToExcel"]
18
- // },
19
- // "sap.m.Button": {
20
- // actions: ["rename", "remove", "combine", "reveal"]
21
- // },
22
- // "sap.m.OverflowToolbar": {
23
- // aggregations: {
24
- // content: {
25
- // actions: ["move"]
26
- // }
27
- // }
28
- // },
29
- // "sap.m.Toolbar": {}
30
- // };
31
-
13
+ // definiton of changes we want to allow. Structure/granularity to be clarified
32
14
  var mAllow = {};
33
15
  // allow list for designtime adaptation / level-0.
34
16
  var mAllowLevel0 = {
@@ -51,6 +33,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
51
33
  properties: ["visible"]
52
34
  },
53
35
  "sap.m.Button": { // all properties meant for any button on the adapt filters dialog, "visible" also for drill down button in chart toolbar
36
+ actions: ["combine"],
54
37
  properties: ["visible", "width", "icon", "activeIcon", "type", "text", "busy", "enabled", "blocked"]
55
38
  },
56
39
  "sap.m.OverflowToolbarButton": { // visible meant for share button, clear button of SFB (to be checked), clear button (to be checked), icon meant for chart personalization
@@ -76,7 +59,31 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
76
59
 
77
60
  // allow list for key user adaptation.
78
61
  var mAllowKeyUser = {
79
- };
62
+ "sap.m.MenuButton": { // used for create and create with filters and possibly created by combining of buttons
63
+ actions: ["split", "rename", "remove"]
64
+ },
65
+ "sap.m.Button": {
66
+ actions: ["remove", "reveal", "rename"]
67
+ },
68
+ "sap.m.Toolbar": {
69
+ actions: ["moveControls"]
70
+ },
71
+ "sap.ui.comp.smartvariants.SmartVariantManagement": {
72
+ actions: ["compVariant"] // allows to adapt filters (same as adapt filters for end user)
73
+ },
74
+ "sap.ui.comp.smartfilterbar.SmartFilterBar": {
75
+ actions: ["compVariant"] // allows to adapt filters (same as adapt filters for end user)
76
+ },
77
+ "sap.ui.comp.smarttable.SmartTable": {
78
+ actions: ["compVariant"] // allows table personalization (same as for end user)
79
+ },
80
+ "sap.ui.comp.smartchart.SmartChart": {
81
+ actions: ["compVariant"] // allows table personalization (same as for end user)
82
+ },
83
+ "sap.m.IconTabFilter": {
84
+ actions: ["rename"]
85
+ }
86
+ };
80
87
 
81
88
  // allow list for variant management: All changes done here are stored with a variant, and only applied when that variant is selected.
82
89
  // this mode is indicated by url parameter fiori-tools-rta-mode=true
@@ -33,8 +33,11 @@ sap.ui.define(["sap/ui/core/date/UI5Date"], function(UI5Date) {
33
33
  // Thus a map: <property name> -> getStringifiable(<property value>) is created and added to oReplacement (in case it is not empty) as property 'childProps'.
34
34
  var oChildProps = Object.create(null);
35
35
  for (var sProperty in vObject){
36
- oChildProps[sProperty] = getStringifiable(vObject[sProperty]);
37
- oReplacement.childProps = oChildProps; // Note that this is only effective when being called the first time
36
+ var vValue = vObject[sProperty];
37
+ if (typeof vValue !== "function"){ // Ignore functions because they can anyway not be serialized. Note that this is necessary as vObject is an instance of UI5Date which has functions as enumerable properties.
38
+ oChildProps[sProperty] = getStringifiable(vValue);
39
+ oReplacement.childProps = oChildProps; // Note that this is only effective when being called the first time
40
+ }
38
41
  }
39
42
  aReplaces.push(oReplacement);
40
43
  return;
@@ -1220,7 +1220,13 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
1220
1220
  //sBindingTitle = sBindingTitle.replace("{", "{" + oTreeNode.specificModelName + ">");
1221
1221
  if (oTitle && oTitle.Path && oTypeName && oTypeName.String) {
1222
1222
  var sTypeNameEscaped = oTypeName.String.replace(/'/g, "\\'");
1223
- var sBinding = "{= $" + sBindingTitle + " || '" + sTypeNameEscaped + "' }";
1223
+ var sBinding = "";
1224
+ //if the oTypeName is an i18n string
1225
+ if (sTypeNameEscaped.indexOf(">") > 0) {
1226
+ sBinding = "{= $" + sBindingTitle + " || $" + sTypeNameEscaped + " }";
1227
+ } else {
1228
+ sBinding = "{= $" + sBindingTitle + " || '" + sTypeNameEscaped + "' }";
1229
+ }
1224
1230
  return sBinding;
1225
1231
  }
1226
1232
  // fallback
@@ -683,17 +683,17 @@ sap.ui.define(["sap/m/p13n/Popup",
683
683
  sColumnKeyDescription = "{" + sColumnKeyDescription + "}";
684
684
  var sColumnValue = "{" + oProperty.name + "}";
685
685
  var sNavigation = ""; //need to improve
686
- // if (oProperty["com.sap.vocabularies.Common.v1.Text"] && oProperty["com.sap.vocabularies.Common.v1.Text"].Path) {
687
- // sColumnValue = sColumnValue.concat(" " + "{" + sNavigation + oProperty["com.sap.vocabularies.Common.v1.Text"].Path + "}");
688
- // }
686
+ var aSemKeyAnnotation = oEntityType["com.sap.vocabularies.Common.v1.SemanticKey"];
687
+ var bIsPropertySemanticKey = !!aSemKeyAnnotation && aSemKeyAnnotation.some(function(oAnnotation){
688
+ return oAnnotation.PropertyPath === oProperty.name;
689
+ });
689
690
  if (oProperty["Org.OData.Measures.V1.ISOCurrency"] && oProperty["Org.OData.Measures.V1.ISOCurrency"].Path) {
690
691
  sColumnValue = sColumnValue.concat(" " + "{" + sNavigation + oProperty["Org.OData.Measures.V1.ISOCurrency"].Path + "}");
691
692
  }
692
693
  if (oProperty["Org.OData.Measures.V1.Unit"] && oProperty["Org.OData.Measures.V1.Unit"].Path) {
693
694
  sColumnValue = sColumnValue.concat(" " + "{" + sNavigation + oProperty["Org.OData.Measures.V1.Unit"].Path + "}");
694
695
  }
695
-
696
- if (oProperty['com.sap.vocabularies.Common.v1.Text'] && oProperty['com.sap.vocabularies.Common.v1.Text'].Path) {
696
+ if (oProperty['com.sap.vocabularies.Common.v1.Text'] && oProperty['com.sap.vocabularies.Common.v1.Text'].Path && !bIsPropertySemanticKey) {
697
697
  var sTextArragement = oProperty['com.sap.vocabularies.Common.v1.Text']['com.sap.vocabularies.UI.v1.TextArrangement'];
698
698
  var sTextArrangementType = sTextArragement && sTextArragement.EnumMember.split("/")[1];
699
699
  if (sTextArrangementType === "TextOnly") {
@@ -706,21 +706,17 @@ sap.ui.define(["sap/m/p13n/Popup",
706
706
  sColumnValue = "{= $" + sColumnKeyDescription + " === '' ? '' : $" + sColumnKeyDescription + "}" + "{= $" + sColumnValue + " === '' ? '' : ' (' + ($" + sColumnValue + ") + ')'}";
707
707
  }
708
708
  }
709
-
710
- /*if (oProperty['com.sap.vocabularies.UI.v1.IsImageURL'] && oProperty['com.sap.vocabularies.UI.v1.IsImageURL'].Bool === "true") {
711
- oColumnObject['title'] = oProperty['com.sap.vocabularies.Common.v1.Label'].String || oProperty['sap:label'];
712
- oColumnObject['icon'] = {
713
- src: "{" + oProperty.name + "}"
714
- };
715
- } else {*/
716
- oColumnObject['title'] = oProperty['com.sap.vocabularies.Common.v1.Label'].String || oProperty['sap:label'];
717
- if (oProperty.type === 'Edm.DateTime' || oProperty.type === 'Edm.DateTimeOffset') {
718
- var oFormatOption = JSON.stringify(oColumnData.typeInstance.oFormat.oFormatOptions).replace(/"/g, "'");
719
- oColumnObject['value'] = "{=$" + sColumnValue + " ? format.dateTime($" + sColumnValue + ", " + oFormatOption + ") : ''}";
720
- } else {
721
- oColumnObject['value'] = sColumnValue;
722
- }
723
- //}
709
+ oColumnObject['title'] = oProperty['com.sap.vocabularies.Common.v1.Label'].String || oProperty['sap:label'];
710
+ if (bIsPropertySemanticKey && oCardDefinition.oTemplateUtils.oComponentUtils.isDraftEnabled()) {
711
+ var sUnnamedObject = oCardDefinition['component'].getModel('i18n').getResourceBundle().getText('NEW_OBJECT');
712
+ sColumnValue = "{= $" + sColumnKeyDescription + " === '' ? '" + sUnnamedObject + "' : $" + sColumnKeyDescription + "}" + '\n' + "{= $" + sColumnValue + " === '' ? '' : ($" + sColumnValue + ") }";
713
+ oColumnObject['value'] = sColumnValue;
714
+ } else if (oProperty.type === 'Edm.DateTime' || oProperty.type === 'Edm.DateTimeOffset') {
715
+ var oFormatOption = JSON.stringify(oColumnData.typeInstance.oFormat.oFormatOptions).replace(/"/g, "'");
716
+ oColumnObject['value'] = "{=$" + sColumnValue + " ? format.dateTime($" + sColumnValue + ", " + oFormatOption + ") : ''}";
717
+ } else {
718
+ oColumnObject['value'] = sColumnValue;
719
+ }
724
720
  aColumns.push(oColumnObject);
725
721
  }
726
722
  }
@@ -852,7 +852,7 @@ sap.ui.define([
852
852
  * @extends sap.ui.core.UIComponent
853
853
  * @abstract
854
854
  * @author SAP SE
855
- * @version 1.114.7
855
+ * @version 1.114.9
856
856
  * @name sap.suite.ui.generic.template.lib.AppComponent
857
857
  */
858
858
  return UIComponent.extend("sap.suite.ui.generic.template.lib.AppComponent", {
@@ -1839,9 +1839,9 @@ sap.ui.define(["sap/ui/base/Object",
1839
1839
  headerParameterContentDispositionToken.setValue(fileName);
1840
1840
  oFileUploader.addHeaderParameter(headerParameterContentDispositionToken);
1841
1841
  }
1842
- if (oFileUploader.FUEl.files[0].type){
1842
+ if (oFileUploader.FUEl.files[0]){
1843
1843
  var headerParameterContentTypeToken = new FileUploaderParameter();
1844
- var fileType = oFileUploader.FUEl.files[0].type;
1844
+ var fileType = oFileUploader.FUEl.files[0].type || "application/octet-stream";
1845
1845
  headerParameterContentTypeToken.setName("Content-Type");
1846
1846
  headerParameterContentTypeToken.setValue(fileType);
1847
1847
  oFileUploader.addHeaderParameter(headerParameterContentTypeToken);
@@ -374,7 +374,7 @@ ST_NAV_ERROR_NOT_AUTHORIZED_DESC=Navigation to this application is not supported
374
374
  #YMSG: Default title for unnamed objects
375
375
  NEW_OBJECT=Unnamed Object
376
376
 
377
- # XFLD,30: used in object page table when no items available in and no filter applied.
377
+ # XFLD,40: used in object page table when no items available in and no filter applied.
378
378
  NOITEMS_SMARTTABLE=No items available.
379
379
 
380
380
  # XFLD,100: used in object page table when no items available in and filters applied.
@@ -392,7 +392,7 @@ NOITEMS_LR_SMARTCHART=There is no data for the selected filter criteria and char
392
392
  # XFLD,80: used in object page chart when no data found in and filters applied.
393
393
  NOITEMS_SMARTCHART_WITH_FILTER=No data found. Try adjusting the filter parameters.
394
394
 
395
- # XFLD,60: used in list report page chart when chart is not initialized.
395
+ # XFLD,80: used in list report page chart when chart is not initialized.
396
396
  SMARTCHART_INITIAL_NODATA=To start, set the relevant filters and choose "Go".
397
397
 
398
398
  # XFLD,30: used in list report page table when no data found in and no filter applied.
@@ -2996,7 +2996,7 @@ sap.ui.define(["sap/ui/base/Object",
2996
2996
  * @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
2997
2997
  * @public
2998
2998
  * @extends sap.ui.base.Object
2999
- * @version 1.114.7
2999
+ * @version 1.114.9
3000
3000
  * @since 1.30.0
3001
3001
  * @alias sap.suite.ui.generic.template.lib.NavigationController
3002
3002
  */
@@ -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.114.7",
41
+ version: "1.114.9",
42
42
  extensions: {
43
43
  //Configuration used for rule loading of Support Assistant
44
44
  "sap.ui.support": {