@sapui5/sap.suite.ui.commons 1.136.4 → 1.136.5

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 (46) 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 +1 -1
  12. package/src/sap/suite/ui/commons/MicroProcessFlow.js +1 -1
  13. package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
  14. package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +1 -1
  15. package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
  16. package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
  17. package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
  18. package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
  19. package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
  20. package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
  21. package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
  22. package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +1 -1
  23. package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +1 -1
  24. package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
  25. package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
  26. package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
  27. package/src/sap/suite/ui/commons/library.js +1 -1
  28. package/src/sap/suite/ui/commons/messagebundle.properties +2 -0
  29. package/src/sap/suite/ui/commons/networkgraph/Node.js +36 -9
  30. package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
  31. package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
  32. package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +1 -1
  33. package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
  34. package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
  35. package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
  36. package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +1 -1
  37. package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
  38. package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
  39. package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +1 -1
  40. package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
  41. package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +1 -1
  42. package/src/sap/suite/ui/commons/taccount/TAccount.js +1 -1
  43. package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +1 -1
  44. package/src/sap/suite/ui/commons/taccount/TAccountItem.js +1 -1
  45. package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
  46. package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.commons",
3
- "version": "1.136.4",
3
+ "version": "1.136.5",
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.136.4</version>
10
+ <version>1.136.5</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.136.4
22
+ * @version 1.136.5
23
23
  * @since 1.65.0
24
24
  *
25
25
  * @constructor
@@ -134,7 +134,7 @@ sap.ui.define([
134
134
  * @extends sap.ui.core.Control
135
135
  *
136
136
  * @author SAP SE
137
- * @version 1.136.4
137
+ * @version 1.136.5
138
138
  * @since 1.56.0
139
139
  *
140
140
  * @constructor
@@ -169,7 +169,7 @@ sap.ui.define([
169
169
  * @extends sap.ui.core.Control
170
170
  *
171
171
  * @author SAP SE
172
- * @version 1.136.4
172
+ * @version 1.136.5
173
173
  * @since 1.56.0
174
174
  *
175
175
  * @constructor
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.Control
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.136.4
29
+ * @version 1.136.5
30
30
  * @since 1.56.0
31
31
  *
32
32
  * @constructor
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.136.4
25
+ * @version 1.136.5
26
26
  * @since 1.60.0
27
27
  *
28
28
  * @constructor
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @extends sap.ui.core.Control
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.136.4
42
+ * @version 1.136.5
43
43
  * @since 1.56.0
44
44
  *
45
45
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.base.ManagedObject
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.136.4
24
+ * @version 1.136.5
25
25
  * @since 1.56.0
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.136.4
26
+ * @version 1.136.5
27
27
  * @since 1.56.0
28
28
  *
29
29
  * @constructor
@@ -118,7 +118,7 @@ sap.ui.define([
118
118
  * @class
119
119
  * @public
120
120
  * @internal
121
- * @version 1.136.4
121
+ * @version 1.136.5
122
122
  */
123
123
  var CloudFilePicker = Dialog.extend("sap.suite.ui.commons.CloudFilePicker", {
124
124
  metadata: {
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @extends sap.ui.core.Control
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.136.4
50
+ * @version 1.136.5
51
51
  *
52
52
  * @constructor
53
53
  * @public
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.core.Control
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.136.4
41
+ * @version 1.136.5
42
42
  *
43
43
  * @constructor
44
44
  * @public
@@ -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.136.4
25
+ * @version 1.136.5
26
26
  * @since 1.50
27
27
  * @private
28
28
  */
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.136.4
31
+ * @version 1.136.5
32
32
  * @since 1.67.0
33
33
  *
34
34
  * @constructor
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.136.4
33
+ * @version 1.136.5
34
34
  * @since 1.66.0
35
35
  *
36
36
  * @constructor
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.136.4
31
+ * @version 1.136.5
32
32
  * @since 1.66.0
33
33
  *
34
34
  * @constructor
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.136.4
25
+ * @version 1.136.5
26
26
  * @since 1.66.0
27
27
  *
28
28
  * @constructor
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.136.4
31
+ * @version 1.136.5
32
32
  * @since 1.66.0
33
33
  *
34
34
  * @constructor
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.136.4
28
+ * @version 1.136.5
29
29
  * @since 1.66.0
30
30
  *
31
31
  * @constructor
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @extends sap.ui.base.Object
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.136.4
20
+ * @version 1.136.5
21
21
  * @since 1.66.0
22
22
  *
23
23
  * @abstract
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  * @extends sap.ui.core.Control
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.136.4
53
+ * @version 1.136.5
54
54
  * @since 1.66.0
55
55
  *
56
56
  * @constructor
@@ -162,7 +162,7 @@ sap.ui.define([
162
162
  * @extends sap.ui.core.Control
163
163
  *
164
164
  * @author SAP SE
165
- * @version 1.136.4
165
+ * @version 1.136.5
166
166
  * @since 1.66.0
167
167
  *
168
168
  * @constructor
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.suite.ui.commons.imageeditor.ImageEditorContainer
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.136.4
37
+ * @version 1.136.5
38
38
  * @since 1.68.0
39
39
  *
40
40
  * @constructor
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.136.4
32
+ * @version 1.136.5
33
33
  * @since 1.66.0
34
34
  *
35
35
  * @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.136.4
26
+ * @version 1.136.5
27
27
  * @since 1.66.0
28
28
  *
29
29
  * @constructor
@@ -195,7 +195,7 @@ sap.ui.define([
195
195
  "sap.suite.ui.commons.TargetFilterMeasureColumn",
196
196
  "sap.suite.ui.commons.AriaProperties"
197
197
  ],
198
- version: "1.136.4",
198
+ version: "1.136.5",
199
199
  extensions: {
200
200
  flChangeHandlers: {
201
201
  "sap.suite.ui.commons.Timeline": "sap/suite/ui/commons/flexibility/Timeline"
@@ -493,6 +493,8 @@ NETWORK_GRAPH_WRONGDATA=Network graph data is not consistent. Check the console
493
493
  NETWORK_GRAPH_COLLAPSED=Collapsed
494
494
  #XACT: Title for expanded icon.
495
495
  NETWORK_GRAPH_EXPANDED=Expanded
496
+ #XACT: Title for collapsed icon.
497
+ NETWORK_GRAPH_PARTIAL=Partially Expanded
496
498
  #XACT: No Data title
497
499
  NETWORK_GRAPH_NO_DATA=No data found.
498
500
  #XACT: Title for group details
@@ -615,9 +615,7 @@ sap.ui.define([
615
615
  "class": "sapSuiteUiCommonsNetworkNodeActionCollapseIcon",
616
616
  icon: this._getExpandIcon(true),
617
617
  enable: this._hasVisibleChildren(),
618
- title: this._oExpandState === ExpandState.EXPANDED ?
619
- oResourceBundle.getText("NETWORK_GRAPH_EXPANDED") :
620
- oResourceBundle.getText("NETWORK_GRAPH_COLLAPSED"),
618
+ title: this._getExpandStateTitle(),
621
619
  id: this._getDomId("actionCollapse"),
622
620
  click: this._expandClick.bind(this)
623
621
  }, $right);
@@ -1769,6 +1767,8 @@ sap.ui.define([
1769
1767
  if (bExecuteDefault) {
1770
1768
  this.setCollapsed(this._oExpandState !== ExpandState.COLLAPSED);
1771
1769
  }
1770
+ // Notify all parents of each affected child to refresh their buttons
1771
+ this._invalidateSharedParents(this);
1772
1772
  };
1773
1773
 
1774
1774
  /* =========================================================== */
@@ -1782,6 +1782,24 @@ sap.ui.define([
1782
1782
  }
1783
1783
  };
1784
1784
 
1785
+ //Recursive Traversal ensures all shared parents of collapsed descendants have their action buttons re-rendered correctly.
1786
+ Node.prototype._invalidateSharedParents = function(oNode, oOrigin = oNode, oVisited = new Set()) {
1787
+ if (oVisited.has(oNode)) {
1788
+ return;
1789
+ }
1790
+ oVisited.add(oNode);
1791
+
1792
+ oNode.getParentNodes().forEach(parent => {
1793
+ if (parent !== oOrigin) {
1794
+ parent._bActionButtonsRendered = false;
1795
+ }
1796
+ });
1797
+
1798
+ oNode.getChildNodes().forEach(oChild => {
1799
+ this._invalidateSharedParents(oChild, oOrigin, oVisited);
1800
+ });
1801
+ }
1802
+
1785
1803
  Node.prototype._setTextHeight = function($el, iMaxLines) {
1786
1804
  if ($el[0] && iMaxLines > 0) {
1787
1805
  var $icon = this.$().find(".sapSuiteUiCommonsNetworkGraphDivNodeIcon.sapSuiteUiCommonsNetworkGraphDivNodeIconTitle");
@@ -2015,6 +2033,19 @@ sap.ui.define([
2015
2033
  }
2016
2034
  };
2017
2035
 
2036
+ Node.prototype._getExpandStateTitle = function () {
2037
+ switch (this._oExpandState) {
2038
+ case ExpandState.PARTIAL:
2039
+ return oResourceBundle.getText("NETWORK_GRAPH_PARTIAL");
2040
+ case ExpandState.EXPANDED:
2041
+ return oResourceBundle.getText("NETWORK_GRAPH_EXPANDED");
2042
+ case ExpandState.COLLAPSED:
2043
+ return oResourceBundle.getText("NETWORK_GRAPH_COLLAPSED");
2044
+ default:
2045
+ return oResourceBundle.getText("NETWORK_GRAPH_EXPANDED");
2046
+ }
2047
+ };
2048
+
2018
2049
  Node.prototype._createLineText = function(sText, iWidth, oText, iMaxLines) {
2019
2050
  var aLines = [[]],
2020
2051
  iLine = 0, sRest,
@@ -3129,9 +3160,7 @@ sap.ui.define([
3129
3160
  icon: this._getExpandIcon(true),
3130
3161
  "class": "sapSuiteUiCommonsNetworkNodeActionCollapseIcon",
3131
3162
  enable: this._hasVisibleChildren(),
3132
- title: this._oExpandState === ExpandState.EXPANDED ?
3133
- oResourceBundle.getText("NETWORK_GRAPH_EXPANDED") :
3134
- oResourceBundle.getText("NETWORK_GRAPH_COLLAPSED"),
3163
+ title: this._getExpandStateTitle(),
3135
3164
  id: this._getDomId("actionCollapse"),
3136
3165
  click: this._expandClick.bind(this)
3137
3166
  });
@@ -3384,9 +3413,7 @@ sap.ui.define([
3384
3413
  if ($icon[0]) {
3385
3414
  $icon[0].textContent = this._getExpandIcon();
3386
3415
  if ($iconParent && $iconParent.title) {
3387
- $iconParent.title = this._oExpandState === ExpandState.EXPANDED ?
3388
- oResourceBundle.getText("NETWORK_GRAPH_EXPANDED") :
3389
- oResourceBundle.getText("NETWORK_GRAPH_COLLAPSED")
3416
+ $iconParent.title = this._getExpandStateTitle();
3390
3417
  }
3391
3418
  }
3392
3419
 
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.136.4
33
+ * @version 1.136.5
34
34
  * @since 1.50
35
35
  *
36
36
  * @constructor
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.suite.ui.commons.statusindicator.Shape
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.136.4
39
+ * @version 1.136.5
40
40
  * @since 1.50
41
41
  *
42
42
  * @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.136.4
24
+ * @version 1.136.5
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.136.4
26
+ * @version 1.136.5
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.136.4
26
+ * @version 1.136.5
27
27
  * @since 1.60.0
28
28
  *
29
29
  * @constructor
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.136.4
32
+ * @version 1.136.5
33
33
  * @since 1.50
34
34
  *
35
35
  * @constructor
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.136.4
31
+ * @version 1.136.5
32
32
  * @since 1.50
33
33
  *
34
34
  * @constructor
@@ -29,7 +29,7 @@ sap.ui.define(
29
29
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.136.4
32
+ * @version 1.136.5
33
33
  * @since 1.50
34
34
  *
35
35
  * @constructor
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @extends sap.ui.core.Control
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.136.4
45
+ * @version 1.136.5
46
46
  * @since 1.50
47
47
  *
48
48
  * @constructor
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.core.Control
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.136.4
33
+ * @version 1.136.5
34
34
  * @since 1.50
35
35
  *
36
36
  * @constructor
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.suite.ui.commons.statusindicator.Shape
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.136.4
33
+ * @version 1.136.5
34
34
  * @since 1.50
35
35
  *
36
36
  * @constructor
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @extends sap.ui.core.Control
50
50
  *
51
51
  * @author SAP SE
52
- * @version 1.136.4
52
+ * @version 1.136.5
53
53
  * @since 1.50
54
54
  *
55
55
  * @constructor
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * @extends sap.ui.core.Control
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.136.4
59
+ * @version 1.136.5
60
60
  * @since 1.58.0
61
61
  *
62
62
  * @constructor
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.136.4
44
+ * @version 1.136.5
45
45
  * @since 1.58.0
46
46
  *
47
47
  * @constructor
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.136.4
44
+ * @version 1.136.5
45
45
  * @since 1.58.0
46
46
  *
47
47
  * @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.136.4
27
+ * @version 1.136.5
28
28
  * @since 1.58.0
29
29
  *
30
30
  * @constructor
@@ -65,7 +65,7 @@ sap.ui.define([
65
65
  * @extends sap.m.Panel
66
66
  *
67
67
  * @author SAP SE
68
- * @version 1.136.4
68
+ * @version 1.136.5
69
69
  * @since 1.58.0
70
70
  *
71
71
  * @constructor