@sapui5/sap.suite.ui.commons 1.136.4 → 1.136.6
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/commons/.library +1 -1
- package/src/sap/suite/ui/commons/AriaProperties.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilder.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderExpression.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderFunction.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderGroup.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderItem.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderValidationResult.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderVariable.js +1 -1
- package/src/sap/suite/ui/commons/CloudFilePicker.js +1 -1
- package/src/sap/suite/ui/commons/MicroProcessFlow.js +1 -1
- package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
- package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/library.js +1 -1
- package/src/sap/suite/ui/commons/messagebundle.properties +2 -0
- package/src/sap/suite/ui/commons/networkgraph/Node.js +36 -9
- package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccount.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccountItem.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +1 -1
package/package.json
CHANGED
|
@@ -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.
|
|
198
|
+
version: "1.136.6",
|
|
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.
|
|
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.
|
|
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.
|
|
3388
|
-
oResourceBundle.getText("NETWORK_GRAPH_EXPANDED") :
|
|
3389
|
-
oResourceBundle.getText("NETWORK_GRAPH_COLLAPSED")
|
|
3416
|
+
$iconParent.title = this._getExpandStateTitle();
|
|
3390
3417
|
}
|
|
3391
3418
|
}
|
|
3392
3419
|
|