@sapui5/sap.suite.ui.commons 1.150.0 → 1.152.0
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/TimelineItem.js +2 -3
- package/src/sap/suite/ui/commons/TimelineNavigator.js +12 -9
- package/src/sap/suite/ui/commons/collaboration/UniversalCollaborationBar.js +475 -360
- 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_de.properties +2 -2
- package/src/sap/suite/ui/commons/messagebundle_en_US_saptrc.properties +616 -537
- package/src/sap/suite/ui/commons/messagebundle_mk.properties +1 -1
- package/src/sap/suite/ui/commons/messagebundle_pl.properties +1 -1
- package/src/sap/suite/ui/commons/networkgraph/ElementBase.js +7 -2
- package/src/sap/suite/ui/commons/networkgraph/Graph.js +19 -7
- package/src/sap/suite/ui/commons/networkgraph/GraphRenderer.js +1 -1
- package/src/sap/suite/ui/commons/networkgraph/Group.js +1 -1
- package/src/sap/suite/ui/commons/networkgraph/KeyboardNavigator.js +2 -0
- package/src/sap/suite/ui/commons/networkgraph/Line.js +24 -0
- package/src/sap/suite/ui/commons/networkgraph/Node.js +1 -1
- package/src/sap/suite/ui/commons/networkgraph/Tooltip.js +3 -1
- package/src/sap/suite/ui/commons/networkgraph/util/ConnectionPathUtils.js +323 -129
- package/src/sap/suite/ui/commons/networkgraph/util/DependencyLayoutHelper.js +21 -6
- 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/src/sap/suite/ui/commons/themes/base/MicroProcessFlow.less +2 -1
- package/src/sap/suite/ui/commons/themes/base/NetworkGraph.less +23 -6
- package/src/sap/suite/ui/commons/themes/base/Timeline.less +2 -2
- package/src/sap/suite/ui/commons/themes/sap_belize_base/NetworkGraph.less +23 -6
- package/src/sap/suite/ui/commons/themes/sap_belize_base/Timeline.less +2 -2
- package/src/sap/suite/ui/commons/themes/sap_belize_hcb/NetworkGraph.less +23 -2
- package/src/sap/suite/ui/commons/themes/sap_belize_hcw/NetworkGraph.less +23 -2
- package/src/sap/suite/ui/commons/themes/sap_hcb/base_NetworkGraph.less +23 -6
|
@@ -95,7 +95,8 @@ sap.ui.define(["sap/suite/ui/commons/library", "sap/base/Log"], function (librar
|
|
|
95
95
|
horizontalSpacing: DEFAULT_HORIZONTAL_SPACING,
|
|
96
96
|
verticalSpacing: DEFAULT_VERTICAL_SPACING,
|
|
97
97
|
componentArrangement: oComponentArrangement.Horizontal,
|
|
98
|
-
clearCache: false
|
|
98
|
+
clearCache: false,
|
|
99
|
+
bEnhancedLineRouting: oGraph.getEnableEnhancedLineRouting ? oGraph.getEnableEnhancedLineRouting() : false
|
|
99
100
|
},
|
|
100
101
|
mConfig || {}
|
|
101
102
|
);
|
|
@@ -113,9 +114,11 @@ sap.ui.define(["sap/suite/ui/commons/library", "sap/base/Log"], function (librar
|
|
|
113
114
|
this._calculateCoordinates(oGraph, config);
|
|
114
115
|
this._adjustHorizontalSpacingForNodeWidths(oGraph, config);
|
|
115
116
|
this._adjustVerticalSpacingForNodeHeights(oGraph, config);
|
|
117
|
+
|
|
116
118
|
if (oGraph._bIsRtl) {
|
|
117
119
|
this._horizontalMirror(oGraph, config.horizontalSpacing);
|
|
118
120
|
}
|
|
121
|
+
|
|
119
122
|
this._storeFinalPositions(oGraph, config.horizontalSpacing);
|
|
120
123
|
} catch (e) {
|
|
121
124
|
Log.error("DependencyLayoutHelper error: " + e.message, e);
|
|
@@ -309,7 +312,7 @@ sap.ui.define(["sap/suite/ui/commons/library", "sap/base/Log"], function (librar
|
|
|
309
312
|
* @param {object} config - Configuration object
|
|
310
313
|
* @private
|
|
311
314
|
*/
|
|
312
|
-
_processComponents: function (aComponents, { componentArrangement }) {
|
|
315
|
+
_processComponents: function (aComponents, { componentArrangement, bEnhancedLineRouting }) {
|
|
313
316
|
const aIsolatedNodes = [];
|
|
314
317
|
const aConnectedComponents = [];
|
|
315
318
|
|
|
@@ -330,7 +333,7 @@ sap.ui.define(["sap/suite/ui/commons/library", "sap/base/Log"], function (librar
|
|
|
330
333
|
let iMaxLayerAcrossAll = 0;
|
|
331
334
|
|
|
332
335
|
aConnectedComponents.forEach((aComponentNodes, iCompIndex) => {
|
|
333
|
-
this._assignLayersForComponent(aComponentNodes, iCompIndex);
|
|
336
|
+
this._assignLayersForComponent(aComponentNodes, iCompIndex, bEnhancedLineRouting);
|
|
334
337
|
this._adjustParallelLayersForComponent(aComponentNodes);
|
|
335
338
|
this._assignVerticalPositionsForComponent(aComponentNodes);
|
|
336
339
|
|
|
@@ -394,7 +397,7 @@ sap.ui.define(["sap/suite/ui/commons/library", "sap/base/Log"], function (librar
|
|
|
394
397
|
* @param {number} iComponentId - Component identifier
|
|
395
398
|
* @private
|
|
396
399
|
*/
|
|
397
|
-
_assignLayersForComponent: function (aComponentNodes, iComponentId) {
|
|
400
|
+
_assignLayersForComponent: function (aComponentNodes, iComponentId, bEnhancedLineRouting) {
|
|
398
401
|
const aQueue = [];
|
|
399
402
|
const mInDegree = {};
|
|
400
403
|
|
|
@@ -464,18 +467,30 @@ sap.ui.define(["sap/suite/ui/commons/library", "sap/base/Log"], function (librar
|
|
|
464
467
|
) {
|
|
465
468
|
const iCurrentLayer = oNode._layoutData.layer;
|
|
466
469
|
let iMaxTargetLayer = -1;
|
|
470
|
+
let iMinTargetLayer = Infinity;
|
|
467
471
|
oNode._layoutData.outgoing.forEach((t) => {
|
|
468
472
|
if (t._layoutData.layer > iMaxTargetLayer) {
|
|
469
473
|
iMaxTargetLayer = t._layoutData.layer;
|
|
470
474
|
}
|
|
475
|
+
if (t._layoutData.layer < iMinTargetLayer) {
|
|
476
|
+
iMinTargetLayer = t._layoutData.layer;
|
|
477
|
+
}
|
|
471
478
|
});
|
|
472
479
|
|
|
473
480
|
const bTargetHasOtherIncoming = oNode._layoutData.outgoing.some(
|
|
474
481
|
(t) => t._layoutData.incoming.filter((n) => n !== oNode).length > 0
|
|
475
482
|
);
|
|
476
483
|
|
|
477
|
-
if
|
|
478
|
-
|
|
484
|
+
// Guard: skip if any target is at or below the proposed layer that would create same-layer edges.
|
|
485
|
+
const iProposedLayer = Math.max(0, iMaxTargetLayer - 1);
|
|
486
|
+
if (bEnhancedLineRouting) {
|
|
487
|
+
if (iMaxTargetLayer > iCurrentLayer && bTargetHasOtherIncoming && iMinTargetLayer > iProposedLayer) {
|
|
488
|
+
oNode._layoutData.layer = iProposedLayer;
|
|
489
|
+
}
|
|
490
|
+
} else {
|
|
491
|
+
if (iMaxTargetLayer > iCurrentLayer && bTargetHasOtherIncoming) {
|
|
492
|
+
oNode._layoutData.layer = iProposedLayer;
|
|
493
|
+
}
|
|
479
494
|
}
|
|
480
495
|
}
|
|
481
496
|
});
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
min-width: 150px;
|
|
14
14
|
min-height: 150px;
|
|
15
15
|
flex-direction: column;
|
|
16
|
+
position: relative;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
.sapSuiteUiCommonsNetworkGraphFullScreen {
|
|
@@ -20,8 +21,16 @@
|
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
.sapSuiteUiCommonsNetworkGraph:focus {
|
|
23
|
-
outline:
|
|
24
|
-
|
|
24
|
+
outline: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.sapSuiteUiCommonsNetworkGraph:focus::after {
|
|
28
|
+
content: "";
|
|
29
|
+
position: absolute;
|
|
30
|
+
inset: 0;
|
|
31
|
+
border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
z-index: 9999;
|
|
25
34
|
}
|
|
26
35
|
|
|
27
36
|
.sapSuiteUiCommonsNetworkGraphPanning {
|
|
@@ -136,12 +145,20 @@ html[dir=rtl] .sapSuiteUiCommonsNetworkGraphIcon {
|
|
|
136
145
|
}
|
|
137
146
|
|
|
138
147
|
.sapSuiteUiCommonsNetworkGraphContentWrapper:focus {
|
|
139
|
-
outline:
|
|
140
|
-
outline-offset: 1px;
|
|
148
|
+
outline: none;
|
|
141
149
|
}
|
|
142
150
|
|
|
143
|
-
.
|
|
144
|
-
|
|
151
|
+
.sapSuiteUiCommonsNetworkGraphContentWrapper:focus::after {
|
|
152
|
+
content: "";
|
|
153
|
+
position: absolute;
|
|
154
|
+
inset: 0;
|
|
155
|
+
border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
|
|
156
|
+
pointer-events: none;
|
|
157
|
+
z-index: 9999;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.sapSuiteUiCommonsNetworkGraphContentFocusHidden:focus::after {
|
|
161
|
+
display: none;
|
|
145
162
|
}
|
|
146
163
|
|
|
147
164
|
/** Legend **/
|
|
@@ -325,13 +325,13 @@
|
|
|
325
325
|
.sapSuiteUiCommonsTimelineRangeDatePicker {
|
|
326
326
|
margin-left: 15px;
|
|
327
327
|
margin-right: 25px;
|
|
328
|
-
min-width:
|
|
328
|
+
min-width: 15rem;
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
.sapUiSizeCompact .sapMInputBaseHeightMargin.sapSuiteUiCommonsTimelineRangeDatePicker {
|
|
332
332
|
margin-left: 15px;
|
|
333
333
|
margin-right: 25px;
|
|
334
|
-
min-width:
|
|
334
|
+
min-width: 15rem;
|
|
335
335
|
}
|
|
336
336
|
|
|
337
337
|
.sapSuiteUiCommonsTimelineRangeLabelNow {
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
min-width: 150px;
|
|
12
12
|
min-height: 150px;
|
|
13
13
|
flex-direction: column;
|
|
14
|
+
position: relative;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
.sapSuiteUiCommonsNetworkGraphFullScreen {
|
|
@@ -18,8 +19,16 @@
|
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
.sapSuiteUiCommonsNetworkGraph:focus {
|
|
21
|
-
outline:
|
|
22
|
-
|
|
22
|
+
outline: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.sapSuiteUiCommonsNetworkGraph:focus::after {
|
|
26
|
+
content: "";
|
|
27
|
+
position: absolute;
|
|
28
|
+
inset: 0;
|
|
29
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
30
|
+
pointer-events: none;
|
|
31
|
+
z-index: 9999;
|
|
23
32
|
}
|
|
24
33
|
|
|
25
34
|
.sapSuiteUiCommonsNetworkGraphPanning {
|
|
@@ -126,12 +135,20 @@
|
|
|
126
135
|
}
|
|
127
136
|
|
|
128
137
|
.sapSuiteUiCommonsNetworkGraphContentWrapper:focus {
|
|
129
|
-
outline:
|
|
130
|
-
outline-offset: 1px;
|
|
138
|
+
outline: none;
|
|
131
139
|
}
|
|
132
140
|
|
|
133
|
-
.
|
|
134
|
-
|
|
141
|
+
.sapSuiteUiCommonsNetworkGraphContentWrapper:focus::after {
|
|
142
|
+
content: "";
|
|
143
|
+
position: absolute;
|
|
144
|
+
inset: 0;
|
|
145
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
146
|
+
pointer-events: none;
|
|
147
|
+
z-index: 9999;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.sapSuiteUiCommonsNetworkGraphContentFocusHidden:focus::after {
|
|
151
|
+
display: none;
|
|
135
152
|
}
|
|
136
153
|
|
|
137
154
|
//** Legend **//
|
|
@@ -328,13 +328,13 @@
|
|
|
328
328
|
.sapSuiteUiCommonsTimelineRangeDatePicker {
|
|
329
329
|
margin-left: 15px;
|
|
330
330
|
margin-right: 25px;
|
|
331
|
-
min-width:
|
|
331
|
+
min-width: 15rem;
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
.sapUiSizeCompact .sapMInputBaseHeightMargin.sapSuiteUiCommonsTimelineRangeDatePicker {
|
|
335
335
|
margin-left: 15px;
|
|
336
336
|
margin-right: 25px;
|
|
337
|
-
min-width:
|
|
337
|
+
min-width: 15rem;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
.sapSuiteUiCommonsTimelineRangeLabelNow {
|
|
@@ -3,7 +3,28 @@
|
|
|
3
3
|
/* Belize HCB Theme */
|
|
4
4
|
/* ===========================================================================*/
|
|
5
5
|
|
|
6
|
-
.sapSuiteUiCommonsNetworkGraph:focus
|
|
6
|
+
.sapSuiteUiCommonsNetworkGraph:focus {
|
|
7
|
+
outline: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.sapSuiteUiCommonsNetworkGraph:focus::after {
|
|
11
|
+
content: "";
|
|
12
|
+
position: absolute;
|
|
13
|
+
inset: 0;
|
|
14
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentContrastFocusColor;
|
|
15
|
+
pointer-events: none;
|
|
16
|
+
z-index: 9999;
|
|
17
|
+
}
|
|
18
|
+
|
|
7
19
|
.sapSuiteUiCommonsNetworkGraphContentWrapper:focus {
|
|
8
|
-
outline:
|
|
20
|
+
outline: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.sapSuiteUiCommonsNetworkGraphContentWrapper:focus::after {
|
|
24
|
+
content: "";
|
|
25
|
+
position: absolute;
|
|
26
|
+
inset: 0;
|
|
27
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentContrastFocusColor;
|
|
28
|
+
pointer-events: none;
|
|
29
|
+
z-index: 9999;
|
|
9
30
|
}
|
|
@@ -3,7 +3,28 @@
|
|
|
3
3
|
/* Belize HCW Theme */
|
|
4
4
|
/* ===========================================================================*/
|
|
5
5
|
|
|
6
|
-
.sapSuiteUiCommonsNetworkGraph:focus
|
|
6
|
+
.sapSuiteUiCommonsNetworkGraph:focus {
|
|
7
|
+
outline: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.sapSuiteUiCommonsNetworkGraph:focus::after {
|
|
11
|
+
content: "";
|
|
12
|
+
position: absolute;
|
|
13
|
+
inset: 0;
|
|
14
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentContrastFocusColor;
|
|
15
|
+
pointer-events: none;
|
|
16
|
+
z-index: 9999;
|
|
17
|
+
}
|
|
18
|
+
|
|
7
19
|
.sapSuiteUiCommonsNetworkGraphContentWrapper:focus {
|
|
8
|
-
outline:
|
|
20
|
+
outline: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.sapSuiteUiCommonsNetworkGraphContentWrapper:focus::after {
|
|
24
|
+
content: "";
|
|
25
|
+
position: absolute;
|
|
26
|
+
inset: 0;
|
|
27
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentContrastFocusColor;
|
|
28
|
+
pointer-events: none;
|
|
29
|
+
z-index: 9999;
|
|
9
30
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
min-width: 150px;
|
|
12
12
|
min-height: 150px;
|
|
13
13
|
flex-direction: column;
|
|
14
|
+
position: relative;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
.sapSuiteUiCommonsNetworkGraphFullScreen {
|
|
@@ -18,8 +19,16 @@
|
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
.sapSuiteUiCommonsNetworkGraph:focus {
|
|
21
|
-
outline:
|
|
22
|
-
|
|
22
|
+
outline: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.sapSuiteUiCommonsNetworkGraph:focus::after {
|
|
26
|
+
content: "";
|
|
27
|
+
position: absolute;
|
|
28
|
+
inset: 0;
|
|
29
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
30
|
+
pointer-events: none;
|
|
31
|
+
z-index: 9999;
|
|
23
32
|
}
|
|
24
33
|
|
|
25
34
|
.sapSuiteUiCommonsNetworkGraphPanning {
|
|
@@ -126,12 +135,20 @@
|
|
|
126
135
|
}
|
|
127
136
|
|
|
128
137
|
.sapSuiteUiCommonsNetworkGraphContentWrapper:focus {
|
|
129
|
-
outline:
|
|
130
|
-
outline-offset: 1px;
|
|
138
|
+
outline: none;
|
|
131
139
|
}
|
|
132
140
|
|
|
133
|
-
.
|
|
134
|
-
|
|
141
|
+
.sapSuiteUiCommonsNetworkGraphContentWrapper:focus::after {
|
|
142
|
+
content: "";
|
|
143
|
+
position: absolute;
|
|
144
|
+
inset: 0;
|
|
145
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
146
|
+
pointer-events: none;
|
|
147
|
+
z-index: 9999;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.sapSuiteUiCommonsNetworkGraphContentFocusHidden:focus::after {
|
|
151
|
+
display: none;
|
|
135
152
|
}
|
|
136
153
|
|
|
137
154
|
//** Legend **//
|