@sapui5/sap.suite.ui.commons 1.148.0 → 1.148.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.
- 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/TimelineRenderManager.js +8 -4
- 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/Tooltip.js +3 -0
- 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
|
@@ -217,7 +217,7 @@ sap.ui.define([
|
|
|
217
217
|
return sName + "-" + (this._bRtlMode ? "right" : "left");
|
|
218
218
|
}.bind(this),
|
|
219
219
|
// icon in middle line for corresponding timeline item
|
|
220
|
-
$icon = jQuery(
|
|
220
|
+
$icon = jQuery(document.getElementById(oItem.id + "-line")),
|
|
221
221
|
// left (right for RTL) for timeline icon
|
|
222
222
|
iDistance = this._bRtlMode ? fnRight($icon) : $icon.position().left,
|
|
223
223
|
// distance between left icon pos and start of timeline item
|
|
@@ -230,9 +230,13 @@ sap.ui.define([
|
|
|
230
230
|
iMargin = iDistance - OFFSET - iLineMargin;
|
|
231
231
|
} else {
|
|
232
232
|
$prev = $item.prevAll(".sapSuiteUiCommonsTimelineItemLiWrapperV:visible:first");
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
233
|
+
if ($prev.length > 0) {
|
|
234
|
+
// otherwise count margin as previsous item left + width minus from group header left position + OFFSET
|
|
235
|
+
iPrevPos = this._bRtlMode ? fnRight($prev) : ($prev.position().left + _getConvertedAttribute($prev, fnCreateAttribute("margin")));
|
|
236
|
+
iMargin = (iDistance - OFFSET) - (iPrevPos + $prev.outerWidth());
|
|
237
|
+
} else {
|
|
238
|
+
iMargin = iDistance - OFFSET - iLineMargin;
|
|
239
|
+
}
|
|
236
240
|
}
|
|
237
241
|
$item.css(fnCreateAttribute("margin"), iMargin + "px");
|
|
238
242
|
}.bind(this));
|
|
@@ -198,7 +198,7 @@ sap.ui.define([
|
|
|
198
198
|
"sap.suite.ui.commons.TargetFilterMeasureColumn",
|
|
199
199
|
"sap.suite.ui.commons.AriaProperties"
|
|
200
200
|
],
|
|
201
|
-
version: "1.148.
|
|
201
|
+
version: "1.148.1",
|
|
202
202
|
extensions: {
|
|
203
203
|
flChangeHandlers: {
|
|
204
204
|
"sap.suite.ui.commons.Timeline": "sap/suite/ui/commons/flexibility/Timeline"
|
|
@@ -42,6 +42,8 @@ sap.ui.define([
|
|
|
42
42
|
// shortcut for sap.m.PlacementType
|
|
43
43
|
var PlacementType = MobileLibrary.PlacementType;
|
|
44
44
|
|
|
45
|
+
var ButtonType = MobileLibrary.ButtonType;
|
|
46
|
+
|
|
45
47
|
var ArrowOrientation = Library.networkgraph.LineArrowOrientation;
|
|
46
48
|
|
|
47
49
|
var oResourceBundle = CoreLib.getResourceBundleFor("sap.suite.ui.commons");
|
|
@@ -330,6 +332,7 @@ sap.ui.define([
|
|
|
330
332
|
var that = this;
|
|
331
333
|
this.oCloseButton = new Button({
|
|
332
334
|
text: oResourceBundle.getText("NETWORK_GRAPH_CLOSE"),
|
|
335
|
+
type: ButtonType.Emphasized,
|
|
333
336
|
press: function () {
|
|
334
337
|
that._oPopover.close();
|
|
335
338
|
}
|