@sapui5/sap.suite.ui.commons 1.117.0 → 1.118.1

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 (55) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/commons/.library +1 -1
  3. package/src/sap/suite/ui/commons/AriaProperties.js +1 -1
  4. package/src/sap/suite/ui/commons/CalculationBuilder.js +1 -1
  5. package/src/sap/suite/ui/commons/CalculationBuilderExpression.js +1 -1
  6. package/src/sap/suite/ui/commons/CalculationBuilderFunction.js +1 -1
  7. package/src/sap/suite/ui/commons/CalculationBuilderGroup.js +1 -1
  8. package/src/sap/suite/ui/commons/CalculationBuilderItem.js +1 -1
  9. package/src/sap/suite/ui/commons/CalculationBuilderValidationResult.js +1 -1
  10. package/src/sap/suite/ui/commons/CalculationBuilderVariable.js +1 -1
  11. package/src/sap/suite/ui/commons/CloudFilePicker.js +26 -2
  12. package/src/sap/suite/ui/commons/MicroProcessFlow.js +4 -4
  13. package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
  14. package/src/sap/suite/ui/commons/ProcessFlowLaneHeader.js +1 -0
  15. package/src/sap/suite/ui/commons/ProcessFlowNode.js +3 -3
  16. package/src/sap/suite/ui/commons/ProcessFlowNodeRenderer.js +0 -3
  17. package/src/sap/suite/ui/commons/Timeline.js +25 -8
  18. package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +1 -1
  19. package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
  20. package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
  21. package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
  22. package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
  23. package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
  24. package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
  25. package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
  26. package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +50 -27
  27. package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +1 -1
  28. package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
  29. package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
  30. package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
  31. package/src/sap/suite/ui/commons/library.js +1 -1
  32. package/src/sap/suite/ui/commons/networkgraph/Graph.js +5 -18
  33. package/src/sap/suite/ui/commons/networkgraph/Group.js +1 -1
  34. package/src/sap/suite/ui/commons/networkgraph/Node.js +22 -6
  35. package/src/sap/suite/ui/commons/networkgraph/layout/LayoutTask.js +3 -2
  36. package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
  37. package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
  38. package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +1 -1
  39. package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
  40. package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
  41. package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
  42. package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +1 -1
  43. package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
  44. package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
  45. package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +1 -1
  46. package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
  47. package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +3 -3
  48. package/src/sap/suite/ui/commons/taccount/TAccount.js +1 -2
  49. package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +1 -1
  50. package/src/sap/suite/ui/commons/taccount/TAccountItem.js +1 -1
  51. package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
  52. package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +5 -1
  53. package/src/sap/suite/ui/commons/themes/base/NetworkNode.less +12 -12
  54. package/src/sap/suite/ui/commons/util/ManagedObjectRegister.js +4 -3
  55. package/src/sap/suite/ui/commons/util/RenderUtils.js +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.commons",
3
- "version": "1.117.0",
3
+ "version": "1.118.1",
4
4
  "description": "SAPUI5 Library sap.suite.ui.commons",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -7,7 +7,7 @@
7
7
  SAP UI development toolkit for HTML5 (SAPUI5)
8
8
  (c) Copyright 2009-2015 SAP SE. All rights reserved
9
9
  </copyright>
10
- <version>1.117.0</version>
10
+ <version>1.118.1</version>
11
11
 
12
12
  <documentation>SAP UI library: sap.suite.ui.commons</documentation>
13
13
 
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.117.0
22
+ * @version 1.118.1
23
23
  * @since 1.65.0
24
24
  *
25
25
  * @constructor
@@ -124,7 +124,7 @@ sap.ui.define([
124
124
  * @extends sap.ui.core.Control
125
125
  *
126
126
  * @author SAP SE
127
- * @version 1.117.0
127
+ * @version 1.118.1
128
128
  * @since 1.56.0
129
129
  *
130
130
  * @constructor
@@ -111,7 +111,7 @@ sap.ui.define([
111
111
  * @extends sap.ui.core.Control
112
112
  *
113
113
  * @author SAP SE
114
- * @version 1.117.0
114
+ * @version 1.118.1
115
115
  * @since 1.56.0
116
116
  *
117
117
  * @constructor
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @extends sap.ui.core.Control
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.117.0
21
+ * @version 1.118.1
22
22
  * @since 1.56.0
23
23
  *
24
24
  * @constructor
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  * @extends sap.ui.core.Control
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.117.0
18
+ * @version 1.118.1
19
19
  * @since 1.60.0
20
20
  *
21
21
  * @constructor
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.117.0
34
+ * @version 1.118.1
35
35
  * @since 1.56.0
36
36
  *
37
37
  * @constructor
@@ -14,7 +14,7 @@ sap.ui.define([
14
14
  * @extends sap.ui.base.ManagedObject
15
15
  *
16
16
  * @author SAP SE
17
- * @version 1.117.0
17
+ * @version 1.118.1
18
18
  * @since 1.56.0
19
19
  *
20
20
  * @constructor
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  * @extends sap.ui.core.Control
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.117.0
18
+ * @version 1.118.1
19
19
  * @since 1.56.0
20
20
  *
21
21
  * @constructor
@@ -111,7 +111,7 @@ sap.ui.define([
111
111
  * @class
112
112
  * @public
113
113
  * @internal
114
- * @version 1.117.0
114
+ * @version 1.118.1
115
115
  */
116
116
  var CloudFilePicker = Dialog.extend("sap.suite.ui.commons.CloudFilePicker", {
117
117
  metadata: {
@@ -569,6 +569,7 @@ sap.ui.define([
569
569
  dataReceived: function () {
570
570
  this.oTableControl.setNoData(null);
571
571
  this.oTableControl.setNoDataText(oResourceBundle.getText("CFP_NO_DATA_FILESHARE"));
572
+ this.oTableControl.setBusy(false);
572
573
  this.setBusy(false);
573
574
  }.bind(this)
574
575
  },
@@ -984,7 +985,11 @@ sap.ui.define([
984
985
  this._checkForDuplicateFileAndFolder(sCurrentItemInputName, this.oSelectControl.getSelectedKey(), sDocumentType, sCurrentFileMIMEType ? sCurrentFileMIMEType : '')
985
986
  .then(function (oSuccess) {
986
987
  this.setBusy(false);
987
- if (oSuccess.value.length) {
988
+ var sExportingMIMEType = this.getMIMEType() ? oFileMIMETypes[this.getMIMEType()] : oFileMIMETypes[".gsheet"];
989
+ this.oReturnedDupFileInfo = oSuccess.value.find(function(oValue) {
990
+ return oValue.FileShareItemContentType === sExportingMIMEType;
991
+ });
992
+ if (this.oReturnedDupFileInfo) {
988
993
  this._showOverwriteMessage(sCurrentItemInputName);
989
994
  } else {
990
995
  this.oFileNameControl.setValue(sCurrentItemInputName);
@@ -1088,6 +1093,8 @@ sap.ui.define([
1088
1093
  var oSelectedItem = this.oTableControl.getSelectedItem();
1089
1094
  if (oSelectedItem) {
1090
1095
  mParameters.selectedFiles.push(this._createSelectionParameter(oSelectedItem));
1096
+ } else if (bReplaceExistingFile) {
1097
+ mParameters.selectedFiles.push(this._createFileParameters(this.oReturnedDupFileInfo));
1091
1098
  }
1092
1099
 
1093
1100
  this.fireEvent("select", mParameters);
@@ -1098,6 +1105,23 @@ sap.ui.define([
1098
1105
  }.bind(this));
1099
1106
  };
1100
1107
 
1108
+ CloudFilePicker.prototype._createFileParameters = function(oValue) {
1109
+ var oCloudFileInfo = new CloudFileInfo();
1110
+ oCloudFileInfo.setFileShareId(oValue.FileShare);
1111
+ oCloudFileInfo.setFileShareItemId(oValue.FileShareItem);
1112
+ oCloudFileInfo.setParentFileShareItemId(oValue.ParentFileShareItem);
1113
+ oCloudFileInfo.setIsFolder(oValue.FileShareItemKind === "folder");
1114
+ oCloudFileInfo.setFileShareItemName(oValue.FileShareItemName);
1115
+ oCloudFileInfo.setCreatedByUser(oValue.CreatedByUser);
1116
+ oCloudFileInfo.setCreationDateTime(oValue.CreationDateTime);
1117
+ oCloudFileInfo.setLastChangedByUser(oValue.LastChangedByUser);
1118
+ oCloudFileInfo.setLastChangeDateTime(oValue.LastChangeDateTime);
1119
+ oCloudFileInfo.setFileShareItemContentType(oValue.FileShareItemContentType);
1120
+ oCloudFileInfo.setFileShareItemContentSize(oValue.FileShareItemContentSize);
1121
+ oCloudFileInfo.setFileShareItemContentLink(oValue.FileShareItemContentLink);
1122
+ return oCloudFileInfo;
1123
+ };
1124
+
1101
1125
  CloudFilePicker.prototype._createSelectionParameter = function (oSelectedItem, oContextBinding) {
1102
1126
  var oCloudFileInfo = new CloudFileInfo();
1103
1127
  var oContext;
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.117.0
31
+ * @version 1.118.1
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -101,7 +101,7 @@ sap.ui.define([
101
101
 
102
102
  if (oMicroProcessFlow._hasScrolling()) {
103
103
  oRM.openStart("div");
104
- oRM.attr("tabindex", "0");
104
+ oRM.attr("tabindex", "-1");
105
105
  oRM.attr("id", oMicroProcessFlow.getId() + "-leftscroller");
106
106
  oRM.class("sapSuiteUiCommonsMicroProcessFlowScroller").class("sapSuiteUiCommonsMicroProcessFlowLeftScroller");
107
107
  oRM.openEnd();
@@ -140,7 +140,7 @@ sap.ui.define([
140
140
  if (oMicroProcessFlow._hasScrolling()) {
141
141
  oRM.openStart("div");
142
142
  oRM.attr("id", oMicroProcessFlow.getId() + "-rightscroller");
143
- oRM.attr("tabindex", "0");
143
+ oRM.attr("tabindex", "-1");
144
144
  oRM.class("sapSuiteUiCommonsMicroProcessFlowScroller").class("sapSuiteUiCommonsMicroProcessFlowRightScroller");
145
145
  oRM.openEnd();
146
146
  oRM.openStart("span");
@@ -446,7 +446,7 @@ sap.ui.define([
446
446
  MicroProcessFlow.prototype._getLeftScroller = function () {
447
447
  if (!this._oLeftScroller) {
448
448
  this._oLeftScroller = new Icon(this.getId() + "leftscroller", {
449
- src: "sap-icon://nav-back"
449
+ src: "sap-icon://navigation-left-arrow"
450
450
  });
451
451
  this._oLeftScroller.addStyleClass("sapSuiteUiCommonsMicroProcessFlowArrow");
452
452
  }
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.core.Control
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.117.0
33
+ * @version 1.118.1
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -503,6 +503,7 @@ sap.ui.define([
503
503
  *
504
504
  * @private
505
505
  * @param {sap.ui.core.RenderManager} oRm the render manager into which the control will be rendered
506
+ * @returns {Array<{state: sap.suites.ui.commons.ProcessFlowNodeState,value: number}>}The array of attribubtes each containing the state and value of the state as an integer
506
507
  * @since 1.22
507
508
  */
508
509
  ProcessFlowLaneHeader.prototype._renderDonutPercentages = function(oRm) { // EXC_SAP_006_1
@@ -849,17 +849,17 @@ sap.ui.define([
849
849
  * Sets tag.
850
850
  *
851
851
  * @private
852
- * @param {object} newTag The new tag
852
+ * @param {object<ProcessFlowNodeTag>} newTag The new tag is set for the ProcessFlowMode
853
853
  */
854
854
  ProcessFlowNode.prototype._setTag = function (newTag) {
855
855
  this._tag = newTag;
856
856
  };
857
857
 
858
858
  /**
859
- * Gets tag.
859
+ * Gets tag of the ProcccesFlowNode.
860
860
  *
861
861
  * @private
862
- * @returns {object} The current tag
862
+ * @returns {ProcessFlowNodeTag} The current tag of the ProcessFlowNode
863
863
  */
864
864
  ProcessFlowNode.prototype._getTag = function () {
865
865
  return this._tag;
@@ -201,9 +201,6 @@ sap.ui.define([
201
201
  */
202
202
  ProcessFlowNodeRenderer._assignNodeClasses = function (oRm, oControl, nodeLevel) { // EXC_SAP_006_1, EXC_JSHINT_047
203
203
  switch (nodeLevel) {
204
- case ProcessFlowNodeRenderer._nodeLevels.iLevel0:
205
- //oRm.writeAttribute("id", oControl.getId() + "-base-container");
206
- break;
207
204
  case ProcessFlowNodeRenderer._nodeLevels.iLevel1:
208
205
  oRm.attr("id", oControl.getId() + "-corner-container");
209
206
  break;
@@ -539,7 +539,19 @@ sap.ui.define([
539
539
  }),
540
540
  MonthDay: DateFormat.getDateInstance({
541
541
  style: "medium"
542
- })
542
+ }),
543
+ YearQuarter: DateFormat.getDateInstance({
544
+ pattern: "yyyy/QQ"
545
+ }),
546
+ YearMonth: DateFormat.getDateInstance({
547
+ pattern: "yyyy/MM"
548
+ }),
549
+ YearMonthWeek: DateFormat.getDateInstance({
550
+ pattern: "yyyy/MM/w"
551
+ }),
552
+ YearMonthDay: DateFormat.getDateInstance({
553
+ pattern: "yyyy/MM/dd"
554
+ })
543
555
  };
544
556
 
545
557
  /**
@@ -645,6 +657,10 @@ sap.ui.define([
645
657
  *
646
658
  * @param {function} fnGroupBy Grouping function.
647
659
  * @public
660
+ * @returns {key: date|title :date|date :date} An object with three properties:
661
+ * key: The key of the related group
662
+ * title: The title of the related group
663
+ * date: the date from the input
648
664
  */
649
665
  Timeline.prototype.setCustomGrouping = function (fnGroupBy) {
650
666
  var oBindingInfo = this.getBindingInfo("content");
@@ -864,17 +880,17 @@ sap.ui.define([
864
880
  if (oDate instanceof Date) {
865
881
  switch (sType) {
866
882
  case TimelineGroupType.Year:
867
- sKey = oDate.getFullYear();
883
+ sKey = DateFormats.Year.format(oDate);
868
884
  sTitle = DateFormats.Year.format(oDate);
869
885
  break;
870
886
 
871
887
  case TimelineGroupType.Quarter:
872
- sKey = oDate.getFullYear() + "/" + Math.floor(oDate.getMonth() / 4);
888
+ sKey = DateFormats.YearQuarter.format(oDate);
873
889
  sTitle = DateFormats.Quarter.format(oDate);
874
890
  break;
875
891
 
876
892
  case TimelineGroupType.Month:
877
- sKey = oDate.getFullYear() + "/" + oDate.getMonth();
893
+ sKey = DateFormats.YearMonth.format(oDate);
878
894
  sTitle = DateFormats.Month.format(oDate);
879
895
  break;
880
896
 
@@ -882,6 +898,7 @@ sap.ui.define([
882
898
  var dateFrom = UI5Date.getInstance(oDate),
883
899
  dateTo = UI5Date.getInstance(oDate),
884
900
  year = oDate.getFullYear(),
901
+ month = oDate.getMonth(),
885
902
  week = DateFormats.Week.format(oDate),
886
903
  // find first and last day of the week
887
904
  first = oDate.getDate() - oDate.getDay(),
@@ -889,13 +906,13 @@ sap.ui.define([
889
906
  firstDay = UI5Date.getInstance(dateFrom.setDate(first)),
890
907
  lastDay = UI5Date.getInstance(dateTo.setDate(last));
891
908
 
892
- sKey = year + "/" + week;
909
+ sKey = DateFormats.YearMonthWeek.format(oDate);
893
910
 
894
911
  sTitle = DateFormats.MonthDay.format(firstDay) + " \u2013 " + DateFormats.MonthDay.format(lastDay);
895
912
  break;
896
913
 
897
914
  case TimelineGroupType.Day:
898
- sKey = oDate.getFullYear() + "/" + oDate.getMonth() + "/" + oDate.getDate();
915
+ sKey = DateFormats.YearMonthDay.format(oDate);
899
916
  sTitle = DateFormats.Day.format(oDate);
900
917
  break;
901
918
 
@@ -1199,8 +1216,8 @@ sap.ui.define([
1199
1216
  } else {
1200
1217
  this.aPrevFilters = aFilters.map(function (val) { return val; });
1201
1218
  oBinding.filter(aFilters, FilterType.Control);
1202
- }
1203
- }
1219
+ }
1220
+ }
1204
1221
  } else {
1205
1222
  // for usecase without binding we just invalidate, because all filtering is done right before render is called
1206
1223
  this.invalidate();
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  *
23
23
  * @constructor
24
24
  * @alias sap.suite.ui.commons.flexibility.changeHandler.PropertyChangeMapper
25
- * @version 1.117.0
25
+ * @version 1.118.1
26
26
  * @since 1.50
27
27
  * @private
28
28
  */
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.117.0
24
+ * @version 1.118.1
25
25
  * @since 1.67.0
26
26
  *
27
27
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.117.0
26
+ * @version 1.118.1
27
27
  * @since 1.66.0
28
28
  *
29
29
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.117.0
24
+ * @version 1.118.1
25
25
  * @since 1.66.0
26
26
  *
27
27
  * @constructor
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  * @extends sap.ui.core.Element
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.117.0
18
+ * @version 1.118.1
19
19
  * @since 1.66.0
20
20
  *
21
21
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.117.0
24
+ * @version 1.118.1
25
25
  * @since 1.66.0
26
26
  *
27
27
  * @constructor
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.117.0
21
+ * @version 1.118.1
22
22
  * @since 1.66.0
23
23
  *
24
24
  * @constructor
@@ -10,7 +10,7 @@ sap.ui.define([
10
10
  * @extends sap.ui.base.Object
11
11
  *
12
12
  * @author SAP SE
13
- * @version 1.117.0
13
+ * @version 1.118.1
14
14
  * @since 1.66.0
15
15
  *
16
16
  * @abstract
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @extends sap.ui.core.Control
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.117.0
45
+ * @version 1.118.1
46
46
  * @since 1.66.0
47
47
  *
48
48
  * @constructor
@@ -87,7 +87,12 @@ sap.ui.define([
87
87
  <br>If set to <code>true</code>, the crop area is scaled up or down when the zoom level is changed.
88
88
  <br>If set to <code>false</code>, the crop area remains unchanged and keeps its size.
89
89
  */
90
- scaleCropArea: {type: "boolean", defaultValue: false}
90
+ scaleCropArea: {type: "boolean", defaultValue: false},
91
+ /**
92
+ * Defines the behaviour where if the property is set to true, the images are displayed as per the exif orientation
93
+ * @since 1.118.0
94
+ */
95
+ useExifOrientation: {type: "boolean", defaultValue: false}
91
96
  },
92
97
  events: {
93
98
  /**
@@ -251,14 +256,16 @@ sap.ui.define([
251
256
 
252
257
  ImageEditor.prototype._getExifOrientation = function(oFile) {
253
258
  var oFileReader = new FileReader(),
254
- iOffset, oResult, oView, iLength, iMarker, iLittle, iTags, i, iError,
259
+ iOffset, oResult, oView, iLength, iMarker, iLittle, iTags, i, iValue, iError,
255
260
  CONSTANTS = {
256
261
  FIRST_CHECK: 65496,
257
- SECOND_CHECK: 65505,
262
+ SECOND_CHECK: 9,
263
+ THIRD_CHECK: 65505,
258
264
  CORRECT_FORMAT_CHECK: 1165519206,
259
265
  LITTLE_CHECK: 18761,
260
266
  FOURTH_CHECK: 65280,
261
267
  EXIF_CHECK: 274,
268
+ ERR_GENERAL: -1,
262
269
  ERR_FILE_FORMAT: -2,
263
270
  OFFSET_STEP: 2, OFFSET_STEP_MED: 4, OFFSET_STEP_BIG: 6
264
271
  };
@@ -273,45 +280,58 @@ sap.ui.define([
273
280
  iError = 0;
274
281
 
275
282
  try {
276
- if (oView.getUint16(0, false) != CONSTANTS.FIRST_CHECK) {
277
- return;
283
+ iValue = oView.getUint16(0, false);
284
+
285
+ if (iValue !== CONSTANTS.FIRST_CHECK) {
286
+ iError = CONSTANTS.ERR_FILE_FORMAT;
278
287
  }
279
288
 
280
- while (iOffset < iLength) {
289
+ while (!iError && iOffset <= iLength - 1) {
290
+ iValue = oView.getUint16(iOffset + CONSTANTS.OFFSET_STEP, false);
291
+
292
+ if (iValue < CONSTANTS.SECOND_CHECK) {
293
+ iError = CONSTANTS.ERR_GENERAL;
294
+ break;
295
+ }
296
+
281
297
  iMarker = oView.getUint16(iOffset, false);
282
- iOffset += CONSTANTS.OFFSET_STEP;
298
+ iOffset = iOffset + 2;
283
299
 
284
- if (iMarker == CONSTANTS.SECOND_CHECK) {
285
- iOffset += CONSTANTS.OFFSET_STEP;
300
+ if (iMarker === CONSTANTS.THIRD_CHECK) {
301
+ iValue = oView.getUint32(iOffset += CONSTANTS.OFFSET_STEP, false);
286
302
 
287
- if (oView.getUint32(iOffset, false) != CONSTANTS.CORRECT_FORMAT_CHECK) {
288
- return;
303
+ if (iValue !== CONSTANTS.CORRECT_FORMAT_CHECK) {
304
+ iError = CONSTANTS.ERR_GENERAL;
305
+ break;
289
306
  }
290
307
 
291
- iOffset += CONSTANTS.OFFSET_STEP_BIG;
292
- iLittle = oView.getUint16(iOffset, false) == CONSTANTS.LITTLE_CHECK;
308
+ iLittle = oView.getUint16(iOffset += CONSTANTS.OFFSET_STEP_BIG, false) === CONSTANTS.LITTLE_CHECK;
293
309
  iOffset += oView.getUint32(iOffset + CONSTANTS.OFFSET_STEP_MED, iLittle);
294
310
  iTags = oView.getUint16(iOffset, iLittle);
295
- iOffset += CONSTANTS.OFFSET_STEP;
311
+ iOffset += 2;
312
+
313
+ for (i = 0; i <= iTags - 1; i++) {
314
+ iValue = oView.getUint16(iOffset + (i * 12), iLittle);
296
315
 
297
- for (i = 0; i < iTags; i++) {
298
- if (oView.getUint16(iOffset + (i * 12), iLittle) == CONSTANTS.EXIF_CHECK) {
299
- return oView.getUint16(iOffset + (i * 12) + 8, iLittle);
316
+ if (iValue === CONSTANTS.EXIF_CHECK) {
317
+ return resolve(oView.getUint16(iOffset + (i * 12) + 8, iLittle));
300
318
  }
301
319
  }
302
- } else if ((iMarker & CONSTANTS.FOURTH_CHECK) != FOURTH_CHECK) {
320
+ } else if ((iMarker & CONSTANTS.FOURTH_CHECK) !== CONSTANTS.FOURTH_CHECK) {
321
+ iError = CONSTANTS.ERR_GENERAL;
303
322
  break;
304
323
  } else {
305
324
  iOffset += oView.getUint16(iOffset, false);
306
325
  }
307
326
  }
327
+ return resolve(iError);
308
328
  } catch (oErr) {
309
329
  // probably wrong file format
310
330
  return resolve(CONSTANTS.ERR_FILE_FORMAT);
311
331
  }
312
332
  };
313
333
 
314
- oFileReader.readAsArrayBuffer(oFile.slice(0, 64 * 1024));
334
+ oFileReader.readAsArrayBuffer(oFile);
315
335
  });
316
336
  };
317
337
 
@@ -450,7 +470,9 @@ sap.ui.define([
450
470
  if (typeof vSrc === "string") {
451
471
  sSrc = vSrc;
452
472
  this._oOriginalBlob = this._fetchUrlAsBlob(sSrc).then(function(oBlob) {
453
- that._handleExifOrientation(oBlob);
473
+ if (that.getUseExifOrientation()) {
474
+ that._handleExifOrientation(oBlob);
475
+ }
454
476
  that._oOriginalBlob = oBlob;
455
477
  that._sOriginalFileType = oBlob.type;
456
478
  });
@@ -463,8 +485,9 @@ sap.ui.define([
463
485
  oUrl = window.URL;
464
486
  sSrc = oUrl.createObjectURL(vSrc);
465
487
  oUrl.revokeObjectURL(vSrc);
466
- that._handleExifOrientation(vSrc);
467
-
488
+ if (this.getUseExifOrientation()) {
489
+ that._handleExifOrientation(vSrc);
490
+ }
468
491
  this._oOriginalBlob = vSrc;
469
492
  this._sOriginalFileType = vSrc.type;
470
493
 
@@ -1363,10 +1386,10 @@ sap.ui.define([
1363
1386
  };
1364
1387
 
1365
1388
  /**
1366
- * Returns Blob object containing the image in the specified format. If the format is not specified, either the original format of the image is used or PNG, if the original format is not supported by the browser's <code>canvas.toDataURL</code> method.
1367
- * @param {sap.suite.ui.commons.ImageFormat} [sFormat] File format of the returned image Blob. If the selected format is not suppoirted by the browser's <code>canvas.toDataURL</code> method, PNG is returned instead.
1368
- * @param {float} [fQuality] Only applied when JPEG format is used. Quality of the returned image, ranging from 0 to 1. 0 means highly compressed image, 1 means uncompressed image. When no value is provided, canvas default compression level is used.
1369
- * @return {Promise} Promise that resolves into the Blob object
1389
+ * Returns the blob object containing the image in a specified format. If the original format is not supported by the browser's <code>canvas.toDataURL</code> method, either the original format of the image is used or a PNG is used.
1390
+ * @param {sap.suite.ui.commons.ImageFormat} [sFormat] File format of the returned image blob. If the selected format is not supported by the browser's <code>canvas.toDataURL</code> method, PNG is returned instead.
1391
+ * @param {float} [fQuality] Only applied when JPEG format is used. Quality of the returned image, ranging from 0 to 1. 0 implies highly compressed image and 1 implies uncompressed image. When no value is provided, canvas default compression level is used.
1392
+ * @return {Promise<Blob>} Promise that resolves into the blob object
1370
1393
  * @public
1371
1394
  */
1372
1395
  ImageEditor.prototype.getImageAsBlob = function(sFormat, fQuality) {
@@ -124,7 +124,7 @@ sap.ui.define([
124
124
  * @extends sap.ui.core.Control
125
125
  *
126
126
  * @author SAP SE
127
- * @version 1.117.0
127
+ * @version 1.118.1
128
128
  * @since 1.66.0
129
129
  *
130
130
  * @constructor
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.suite.ui.commons.imageeditor.ImageEditorContainer
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.117.0
29
+ * @version 1.118.1
30
30
  * @since 1.68.0
31
31
  *
32
32
  * @constructor
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.117.0
25
+ * @version 1.118.1
26
26
  * @since 1.66.0
27
27
  *
28
28
  * @constructor
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.117.0
19
+ * @version 1.118.1
20
20
  * @since 1.66.0
21
21
  *
22
22
  * @constructor
@@ -185,7 +185,7 @@
185
185
  "sap.suite.ui.commons.TargetFilterMeasureColumn",
186
186
  "sap.suite.ui.commons.AriaProperties"
187
187
  ],
188
- version: "1.117.0",
188
+ version: "1.118.1",
189
189
  extensions: {
190
190
  flChangeHandlers: {
191
191
  "sap.suite.ui.commons.Timeline": "sap/suite/ui/commons/flexibility/Timeline"
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  var ZOOM_MILESTONES = [0.05, 0.1, 0.25, 0.33, 0.50, 0.67, 0.75, 0.80, 0.90, 1, 1.1, 1.25, 1.5, 1.75, 2, 2.5, 3, 4, 5],
57
57
  DEFAULT_ZOOM_MILESTONE = 1,
58
58
  ZOOM_OUT_RATING = 0.4,
59
- SUGGESTION_ITEMS_LIMIT = 100000;
59
+ SUGGESTION_ITEMS_LIMIT = 100;
60
60
 
61
61
  var SUGGESTIONS = {
62
62
  Group: "group",
@@ -73,19 +73,6 @@ sap.ui.define([
73
73
  });
74
74
 
75
75
  var oResourceBundle = sap.ui.getCore().getLibraryResourceBundle("sap.suite.ui.commons");
76
-
77
- // indicates current count of suggestion items when they are rendered
78
- var iSuggestItemCount = 0,
79
- MAX_DISPLAY_ITEM = 100;
80
-
81
- var LimitedSuggestionItem = SuggestionItem.extend("sap.suite.ui.commons.networkgraph.LimitedSuggestionItem", {
82
- render: function (oRenderManager, oItem, sSearch, bSelected) {
83
- if (iSuggestItemCount++ < MAX_DISPLAY_ITEM) {
84
- SuggestionItem.prototype.render.call(this, oRenderManager, oItem, sSearch, bSelected);
85
- }
86
- }
87
- });
88
-
89
76
  /**
90
77
  * Constructor for a new Graph.
91
78
  *
@@ -557,7 +544,7 @@ sap.ui.define([
557
544
 
558
545
  /**
559
546
  * If you call this method with <code>true</code> parameter, no invalidation will be triggered until you call it with <code>false</code>.
560
- * This may be useful when changing properties before rendering which may trigger unwanted invalidation and force an infinite loop.
547
+ * This can be useful when changing properties before rendering that can trigger unwanted invalidation and force an infinite loop.
561
548
  * @param {boolean} bPreventInvalidation True for preventing graph invalidation
562
549
  */
563
550
  Graph.prototype.preventInvalidation = function (bPreventInvalidation) {
@@ -567,6 +554,7 @@ sap.ui.define([
567
554
  /**
568
555
  * Scrolls to the element set in the parameter.
569
556
  * @param {Object} oElement Element to scroll to
557
+ * @returns {void}
570
558
  * @public
571
559
  */
572
560
  Graph.prototype.scrollToElement = function (oElement) {
@@ -1592,8 +1580,6 @@ sap.ui.define([
1592
1580
  term: sTerm
1593
1581
  }, true);
1594
1582
 
1595
- iSuggestItemCount = 0;
1596
-
1597
1583
  if (bExecuteDefault) {
1598
1584
  if (sTerm) {
1599
1585
  aFilters = [
@@ -2302,6 +2288,7 @@ sap.ui.define([
2302
2288
  });
2303
2289
 
2304
2290
  this._oSuggestionItemsModel = new JSONModel();
2291
+ // indicates current count of suggestion items when they are rendered
2305
2292
  this._oSuggestionItemsModel.setSizeLimit(SUGGESTION_ITEMS_LIMIT);
2306
2293
 
2307
2294
  aNodes.forEach(function (oNode) {
@@ -2345,7 +2332,7 @@ sap.ui.define([
2345
2332
  this._searchField.setModel(this._oSuggestionItemsModel);
2346
2333
  this._searchField.bindAggregation("suggestionItems", {
2347
2334
  path: "/items",
2348
- template: new LimitedSuggestionItem({
2335
+ template: new SuggestionItem({
2349
2336
  text: "{text}",
2350
2337
  icon: "{icon}",
2351
2338
  key: "{key}",
@@ -303,7 +303,7 @@ sap.ui.define([
303
303
  }
304
304
 
305
305
  if (sIcon) {
306
- this._renderHtmlIcon(sIcon, "sapSuiteUiCommonsNetworkGroupHeaderIcon", null, sContentStyle, null, mOptions.renderManager);
306
+ this._renderHtmlIcon(sIcon, "sapSuiteUiCommonsNetworkGroupHeaderIcon", null, mOptions.renderManager ? sContentStyleVal : sContentStyle, null, mOptions.renderManager);
307
307
  }
308
308
 
309
309
  if (sTitle) {
@@ -481,6 +481,11 @@ sap.ui.define([
481
481
 
482
482
  /* =========================================================== */
483
483
  /* HTML Rendering */
484
+ /** Renders the HTML for the info icon of the node
485
+ * @param {Object} [mArguments] Optional arguments for rendering the info icon.
486
+ * @param {Object} [mOptions] Options for rendering the info icon.
487
+ * /
488
+
484
489
  /* =========================================================== */
485
490
  Node.prototype._renderHtmlInfoIcon = function(mArguments, mOptions) {
486
491
  mArguments = mArguments || {};
@@ -585,7 +590,7 @@ sap.ui.define([
585
590
  if (this.getShowDetailButton()) {
586
591
  var sNodeTitle = this.getTitle();
587
592
  this._appendActionButton({
588
- icon: "sap-icon://menu",
593
+ icon: "sap-icon://menu2",
589
594
  enable: this._hasDetailData() || (sNodeTitle ? sNodeTitle : this.getAltText()),
590
595
  id: this._getDomId("actionDetail"),
591
596
  title: oResourceBundle.getText("NETWORK_GRAPH_NODE_DETAILS"),
@@ -1382,7 +1387,16 @@ sap.ui.define([
1382
1387
  return sHtmlContent;
1383
1388
  }
1384
1389
  };
1385
-
1390
+ /**
1391
+ * Render the info icon
1392
+ * @param {number} iX The x coordinate of the status icon.
1393
+ * @param {number} iY The y coordinate of the status icon.
1394
+ * @param {number} iSize The size of the info box.
1395
+ * @param {number} iFontSize The fontsize of the icon.
1396
+ * @param {RenderManager} oRm The renderManager (optional).
1397
+ * @returns {string|void} The rendered HTML is string or nothing if 'oRm' is provided.
1398
+ * @private
1399
+ */
1386
1400
  Node.prototype._renderInfoIcon = function(iX, iY, iSize, iFontSize, oRm) {
1387
1401
  var sStatusIcon = this.getStatusIcon(),
1388
1402
  sStatusIconClass = sStatusIcon ? "sapSuiteUiCommonsNetworkNodeInfoWrapperCustomIcon" : "";
@@ -2580,7 +2594,7 @@ sap.ui.define([
2580
2594
 
2581
2595
  /**
2582
2596
  * Creates HTML representation of an icon.
2583
- * @param sIcon icon to render
2597
+ * @param {string} sIcon icon to render
2584
2598
  * @returns {string} HTML icon
2585
2599
  * @param {Object} [mOptions] Options passed to the method (optional).
2586
2600
  * @public
@@ -2708,7 +2722,7 @@ sap.ui.define([
2708
2722
  * @param {number} [mOptions.y] Offset value added to the y coordinate of the top left corner of the node to get the y coordinate of the status icon.
2709
2723
  * @param {number} [mOptions.size] Size of the icon box
2710
2724
  * @param {number} [mOptions.iconSize] Icon size
2711
- *
2725
+ * @returns {void}
2712
2726
  * @public
2713
2727
  */
2714
2728
  Node.prototype.renderStatusIcon = function(mParameters) {
@@ -2724,7 +2738,9 @@ sap.ui.define([
2724
2738
  * method to change the internal width and height.
2725
2739
  *
2726
2740
  * @param {Object} mArguments Arguments passed to the method
2727
- *
2741
+ * @param {number} [mArguments.width]- The width of the node.
2742
+ * @param {number} [mArguments.height]- The height of the node.
2743
+ * @param {number} [mArguments.titleHeight]- The height of the title.
2728
2744
  * @public
2729
2745
  */
2730
2746
  Node.prototype.setSize = function(mArguments) {
@@ -2943,7 +2959,7 @@ sap.ui.define([
2943
2959
  oMenuElements = fnCreateIcon({
2944
2960
  x: aActionButtonPositions[iButtonIndex][0],
2945
2961
  y: iStartY + aActionButtonPositions[iButtonIndex][1],
2946
- icon: "sap-icon://menu",
2962
+ icon: "sap-icon://menu2",
2947
2963
  enable: this._hasDetailData() || (sNodeTitle ? sNodeTitle : this.getAltText()),
2948
2964
  id: this._getDomId("actionDetail"),
2949
2965
  title: oResourceBundle.getText("NETWORK_GRAPH_NODE_DETAILS"),
@@ -14,16 +14,17 @@ sap.ui.define([
14
14
  * Constructor for a new LayoutTask.
15
15
  *
16
16
  * @class
17
- * A layout task is a wrapper around Promise which allows the caller to terminate the task. A terminated layout task
17
+ * A layout task is a wrapper around Promise that allows the caller to terminate the task. A terminated layout task
18
18
  * should not modify the graph associated with it.
19
19
  *
20
20
  * @extends sap.ui.base.Object
21
21
  *
22
22
  * @constructor
23
- * @param {function} fnPromiseCallback A function to be called from Promise main body. It gets
23
+ * @param {function(function,function,LayoutTask)} fnPromiseCallback A function to be called from Promise main body.
24
24
  * @public
25
25
  * @since 1.50
26
26
  * @alias sap.suite.ui.commons.networkgraph.layout.LayoutTask
27
+ * @returns {Promise} A promise reprsenting the LayoutTask
27
28
  */
28
29
  var LayoutTask = BaseObject.extend("sap.suite.ui.commons.networkgraph.layout.LayoutTask", {
29
30
  constructor: function (fnPromiseCallback) {
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.117.0
29
+ * @version 1.118.1
30
30
  * @since 1.50
31
31
  *
32
32
  * @constructor
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.suite.ui.commons.statusindicator.Shape
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.117.0
36
+ * @version 1.118.1
37
37
  * @since 1.50
38
38
  *
39
39
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.core.Control
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.117.0
24
+ * @version 1.118.1
25
25
  * @since 1.50
26
26
  *
27
27
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.Control
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.117.0
26
+ * @version 1.118.1
27
27
  * @since 1.50
28
28
  *
29
29
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.suite.ui.commons.statusindicator.CustomShape
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.117.0
26
+ * @version 1.118.1
27
27
  * @since 1.60.0
28
28
  *
29
29
  * @constructor
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.117.0
28
+ * @version 1.118.1
29
29
  * @since 1.50
30
30
  *
31
31
  * @constructor
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Control
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.117.0
27
+ * @version 1.118.1
28
28
  * @since 1.50
29
29
  *
30
30
  * @constructor
@@ -18,7 +18,7 @@ sap.ui.define(
18
18
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.117.0
21
+ * @version 1.118.1
22
22
  * @since 1.50
23
23
  *
24
24
  * @constructor
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.117.0
40
+ * @version 1.118.1
41
41
  * @since 1.50
42
42
  *
43
43
  * @constructor
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.core.Control
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.117.0
32
+ * @version 1.118.1
33
33
  * @since 1.50
34
34
  *
35
35
  * @constructor
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.suite.ui.commons.statusindicator.Shape
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.117.0
30
+ * @version 1.118.1
31
31
  * @since 1.50
32
32
  *
33
33
  * @constructor
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @extends sap.ui.core.Control
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.117.0
50
+ * @version 1.118.1
51
51
  * @since 1.50
52
52
  *
53
53
  * @constructor
@@ -388,10 +388,10 @@ sap.ui.define([
388
388
  };
389
389
 
390
390
  /**
391
- * @param {int} iValue Value that should be displayed
391
+ * @param {number} iValue Value that should be displayed.Must be a number between 0 and 100.
392
392
  *
393
393
  * @public
394
- * @returns {Object} self
394
+ * @returns {sap.suite.ui.commons.statusindicator.StatusIndicator} The StatusIndicator Instance.
395
395
  * Sets the status indicator percentage value.
396
396
  */
397
397
  StatusIndicator.prototype.setValue = function (iValue) {
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * @extends sap.ui.core.Control
49
49
  *
50
50
  * @author SAP SE
51
- * @version 1.117.0
51
+ * @version 1.118.1
52
52
  * @since 1.58.0
53
53
  *
54
54
  * @constructor
@@ -176,7 +176,6 @@ sap.ui.define([
176
176
  }
177
177
 
178
178
  oRm.attr("role", "region");
179
- // oRm.writeAttribute("aria-labelledby", oAccount.getId() + "-title" + " " + oAccount.getId() + "-sum");
180
179
  oRm.attr("aria-describedby", oAccount.getId());
181
180
  oRm.attr("aria-label", oAccount._getAriaLabelText());
182
181
  oRm.attr("tabindex", "0");
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.117.0
35
+ * @version 1.118.1
36
36
  * @since 1.58.0
37
37
  *
38
38
  * @constructor
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Control
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.117.0
30
+ * @version 1.118.1
31
31
  * @since 1.58.0
32
32
  *
33
33
  * @constructor
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @extends sap.ui.core.Control
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.117.0
20
+ * @version 1.118.1
21
21
  * @since 1.58.0
22
22
  *
23
23
  * @constructor
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * @extends sap.ui.core.Control
56
56
  *
57
57
  * @author SAP SE
58
- * @version 1.117.0
58
+ * @version 1.118.1
59
59
  * @since 1.58.0
60
60
  *
61
61
  * @constructor
@@ -183,6 +183,10 @@ sap.ui.define([
183
183
  *
184
184
  * @public
185
185
  * @returns {Object} Object that includes the sum of entries in all included T-account groups.
186
+ * @property {string} measure- The measure of the sum
187
+ * @property {BigNumber} sum - The sum of Big Number entries as a object
188
+ * @property {boolean} correct - Indicaates whether the sum is correct.
189
+ *
186
190
  */
187
191
  TAccountPanel.prototype.getSum = function () {
188
192
  var iSum = new BigNumber("0"),
@@ -576,32 +576,32 @@
576
576
  }
577
577
 
578
578
  .sapSuiteUiCommonsNetworkGraphDivHeader.sapSuiteUiCommonsNetworkGraphDivHeaderColor {
579
- border-bottom: 1px solid @sapNeutralBorderColor;
580
- background-color: @sapUiNeutralElement;
579
+ background-color: @sapNeutralBackground;
580
+ border-bottom: 1px solid @sapNeutralBorderColor;
581
581
  }
582
582
  .sapSuiteUiCommonsNetworkElementWarning .sapSuiteUiCommonsNetworkGraphDivHeaderColor {
583
- background-color: @sapWarningBorderColor;
584
- border-bottom: 1px solid @sapWarningBorderColor;
583
+ background-color: @sapWarningBackground;
584
+ border-bottom: 1px solid @sapWarningBorderColor;
585
585
  }
586
586
 
587
587
  .sapSuiteUiCommonsNetworkElementError .sapSuiteUiCommonsNetworkGraphDivHeaderColor {
588
- background-color: @sapErrorBackground;
589
- border-bottom: 1px solid @sapErrorBorderColor;
588
+ border-bottom: 1px solid @sapErrorBorderColor;
589
+ background-color: @sapErrorBackground;
590
590
  }
591
591
 
592
592
  .sapSuiteUiCommonsNetworkElementSuccess .sapSuiteUiCommonsNetworkGraphDivHeaderColor {
593
- border-bottom: 1px solid @sapSuccessBorderColor;
594
- background-color: @sapSuccessBackground;
593
+ border-bottom: 1px solid @sapSuccessBorderColor;
594
+ background-color: @sapSuccessBackground;
595
595
  }
596
596
 
597
597
  .sapSuiteUiCommonsNetworkElementInformation .sapSuiteUiCommonsNetworkGraphDivHeaderColor {
598
- border-bottom: 1px solid @sapInformationBorderColor;
599
- background-color: @sapInformationBackground;
598
+ border-bottom: 1px solid @sapInformationBorderColor;
599
+ background-color: @sapInformationBackground;
600
600
  }
601
601
 
602
602
  .sapSuiteUiCommonsNetworkElementSelected .sapSuiteUiCommonsNetworkGraphDivHeaderColor {
603
- background-color: @sapList_SelectionBackgroundColor;
604
- border-bottom: 2px solid @sapInformationBorderColor;
603
+ border-bottom: 2px solid @sapInformationBorderColor;
604
+ background-color: @sapList_SelectionBackgroundColor;
605
605
  }
606
606
 
607
607
  .sapSuiteUiCommonsNetworkDivCircleWrapper {
@@ -44,11 +44,12 @@ sap.ui.define([
44
44
  });
45
45
 
46
46
  /**
47
- * Registers an object. Registry will automatically create a getter for the object.
47
+ * Registers an object. Registry automatically create a getter for the object.
48
48
  * @param {string} sKey Key of the object. Should start with capital letter.
49
- * @param {function|sap.ui.base.ManagedObject} oFactoryFunction A managed object to register or a factory function which can build the object.
50
- * Factory function can be used for lazy loading of the object. Register will pass sKey to the function, so it can be shared for more objects.
49
+ * @param {function|sap.ui.base.ManagedObject} oFactoryFunction A managed object to register or a factory function that can build the object.
50
+ * Factory function can be used for lazy loading of the object. Register passes the sKey to the function, so it can be shared for more objects.
51
51
  * @protected
52
+ * @returns {sap.ui.base.ManagedObject|null}
52
53
  */
53
54
  ManagedObjectRegister.prototype.register = function (sKey, oFactoryFunction) {
54
55
  assert(typeof sKey === "string", "Key must be a string.");
@@ -11,6 +11,11 @@ sap.ui.define([
11
11
  ], function(BaseObject, encodeXML) {
12
12
  "use strict";
13
13
 
14
+ /**
15
+ * @deprecated Since version 1.32.
16
+ * Deprecated. Standard Fiori technology should be used.
17
+ */
18
+
14
19
  var RenderingHelper = function(oRenderManager) {
15
20
  this._rm = oRenderManager;
16
21
  };