@sapui5/sap.suite.ui.commons 1.84.12 → 1.84.14
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/MicroProcessFlow.js +1 -1
- package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
- package/src/sap/suite/ui/commons/TimelineItem.js +3 -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/networkgraph/KeyboardNavigator.js +1 -1
- package/src/sap/suite/ui/commons/networkgraph/Node.js +9 -7
- package/src/sap/suite/ui/commons/networkgraph/layout/TwoColumnsLayout.js +24 -20
- 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
|
@@ -182,7 +182,7 @@ sap.ui.define([
|
|
|
182
182
|
"sap.suite.ui.commons.TargetFilterMeasureColumn",
|
|
183
183
|
"sap.suite.ui.commons.AriaProperties"
|
|
184
184
|
],
|
|
185
|
-
version: "1.84.
|
|
185
|
+
version: "1.84.14",
|
|
186
186
|
extensions: {
|
|
187
187
|
flChangeHandlers: {
|
|
188
188
|
"sap.suite.ui.commons.Timeline": "sap/suite/ui/commons/flexibility/Timeline"
|
|
@@ -278,7 +278,7 @@ sap.ui.define([
|
|
|
278
278
|
if (oBtn) {
|
|
279
279
|
this._oGraph._isUseNodeHtml() ? jQuery(oBtn).trigger("click") : jQuery(oBtn).children().first().trigger("click");
|
|
280
280
|
} else {
|
|
281
|
-
oItem.
|
|
281
|
+
oItem._onClick(false);
|
|
282
282
|
|
|
283
283
|
if (!oItem.getSelected()) {
|
|
284
284
|
oItem.$().removeClass(oItem.HIGHLIGHT_CLASS);
|
|
@@ -1486,14 +1486,9 @@ sap.ui.define([
|
|
|
1486
1486
|
Node.prototype._setupEvents = function() {
|
|
1487
1487
|
var $wrapper = this.$("wrapper");
|
|
1488
1488
|
|
|
1489
|
-
$wrapper.unbind("mousedown");
|
|
1490
1489
|
$wrapper.unbind("mouseover");
|
|
1491
1490
|
$wrapper.unbind("mouseout");
|
|
1492
|
-
|
|
1493
|
-
$wrapper.mousedown(function(oEvent) {
|
|
1494
|
-
this._mouseDown(oEvent.ctrlKey);
|
|
1495
|
-
oEvent.preventDefault();
|
|
1496
|
-
}.bind(this));
|
|
1491
|
+
$wrapper.unbind("click");
|
|
1497
1492
|
|
|
1498
1493
|
$wrapper.mouseover(function(oEvent) {
|
|
1499
1494
|
this._mouseOver();
|
|
@@ -1502,6 +1497,13 @@ sap.ui.define([
|
|
|
1502
1497
|
$wrapper.mouseout(function(oEvent) {
|
|
1503
1498
|
this._mouseOut();
|
|
1504
1499
|
}.bind(this));
|
|
1500
|
+
|
|
1501
|
+
$wrapper.click(function(oEvent) {
|
|
1502
|
+
if (oEvent.which === 1) {
|
|
1503
|
+
this._onClick(oEvent.ctrlKey);
|
|
1504
|
+
}
|
|
1505
|
+
oEvent.preventDefault();
|
|
1506
|
+
}.bind(this));
|
|
1505
1507
|
};
|
|
1506
1508
|
|
|
1507
1509
|
Node.prototype._mouseOut = function() {
|
|
@@ -1524,7 +1526,7 @@ sap.ui.define([
|
|
|
1524
1526
|
}
|
|
1525
1527
|
};
|
|
1526
1528
|
|
|
1527
|
-
Node.prototype.
|
|
1529
|
+
Node.prototype._onClick = function(bIsCtrlKey) {
|
|
1528
1530
|
var bExecuteDefault = this.fireEvent("press", {}, true);
|
|
1529
1531
|
|
|
1530
1532
|
this.getParent()._selectNode({
|
|
@@ -522,26 +522,30 @@ sap.ui.define([
|
|
|
522
522
|
});
|
|
523
523
|
},
|
|
524
524
|
fnProcessBenderBacklog = function () {
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
525
|
+
var fSpaceForLines = CENTRAL_SPACE_PORTION_FOR_LINES * (this.oRightColumn.getX() - (this.oLeftColumn.getX() + this.oLeftColumn._iWidth)),
|
|
526
|
+
iGapCount = this.oGraph.getLines().length - 1,
|
|
527
|
+
fComputedGap = fSpaceForLines / iGapCount,
|
|
528
|
+
fRealGap = fComputedGap < IDEAL_VERTICAL_LINE_GAP ? fComputedGap : IDEAL_VERTICAL_LINE_GAP,
|
|
529
|
+
fCenterVertical = (aLeftNodes[0].getCenterPosition().x + aRightNodes[0].getCenterPosition().x) / 2,
|
|
530
|
+
fLeftmostVertical = fCenterVertical - iGapCount * fRealGap / 2,
|
|
531
|
+
fCurrentVertical = fLeftmostVertical,
|
|
532
|
+
iInitialFCurrentVertical = fLeftmostVertical;
|
|
533
|
+
aBenderBacklog.forEach(function (oLine) {
|
|
534
|
+
if (fCurrentVertical >= aRightNodes[0]._oGroup.getX() - fRealGap) {
|
|
535
|
+
fCurrentVertical = iInitialFCurrentVertical;
|
|
536
|
+
} else {
|
|
537
|
+
fCurrentVertical += fRealGap;
|
|
538
|
+
}
|
|
539
|
+
oLine.addBend({
|
|
540
|
+
x: fCurrentVertical,
|
|
541
|
+
y: oLine.getSource().getY()
|
|
542
|
+
});
|
|
543
|
+
oLine.addBend({
|
|
544
|
+
x: fCurrentVertical,
|
|
545
|
+
y: oLine.getTarget().getY()
|
|
546
|
+
});
|
|
547
|
+
});
|
|
548
|
+
}.bind(this);
|
|
545
549
|
|
|
546
550
|
this.oGraph.getNodes().forEach(function (oNode) {
|
|
547
551
|
// Separate left and right nodes
|