@sapui5/sap.suite.ui.commons 1.112.0 → 1.114.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 +9 -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 +4 -3
- 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/ChartContainer.js +2 -2
- package/src/sap/suite/ui/commons/CloudFilePicker.js +6 -7
- package/src/sap/suite/ui/commons/LaunchTile.js +3 -3
- 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/ProcessFlow.js +10 -4
- package/src/sap/suite/ui/commons/Timeline.js +17 -5
- package/src/sap/suite/ui/commons/TimelineItem.js +1 -1
- package/src/sap/suite/ui/commons/TimelineItemRenderer.js +0 -1
- package/src/sap/suite/ui/commons/TimelineRenderManager.js +9 -7
- package/src/sap/suite/ui/commons/TimelineRenderer.js +0 -1
- package/src/sap/suite/ui/commons/collaboration/BaseHelperService.js +14 -1
- package/src/sap/suite/ui/commons/collaboration/ContactHelper.js +279 -0
- package/src/sap/suite/ui/commons/collaboration/ContactPopover.fragment.xml +95 -0
- package/src/sap/suite/ui/commons/collaboration/GraphApiConfig.js +72 -0
- package/src/sap/suite/ui/commons/collaboration/ServiceContainer.js +13 -7
- package/src/sap/suite/ui/commons/collaboration/TeamsHelperService.js +113 -19
- package/src/sap/suite/ui/commons/collaboration/flpplugins/msplugin/Component.js +17 -2
- 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 +28 -1
- package/src/sap/suite/ui/commons/messagebundle_ar.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_bg.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_ca.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_cs.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_cy.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_da.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_de.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_el.properties +13 -9
- package/src/sap/suite/ui/commons/messagebundle_en.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_en_GB.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_en_US_sappsd.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_en_US_saprigi.properties +14 -0
- package/src/sap/suite/ui/commons/messagebundle_en_US_saptrc.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_es.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_es_MX.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_et.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_fi.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_fr.properties +6 -2
- package/src/sap/suite/ui/commons/messagebundle_fr_CA.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_hi.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_hr.properties +6 -2
- package/src/sap/suite/ui/commons/messagebundle_hu.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_id.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_it.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_iw.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_ja.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_kk.properties +6 -2
- package/src/sap/suite/ui/commons/messagebundle_ko.properties +6 -2
- package/src/sap/suite/ui/commons/messagebundle_lt.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_lv.properties +6 -2
- package/src/sap/suite/ui/commons/messagebundle_ms.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_nl.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_no.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_pl.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_pt.properties +6 -2
- package/src/sap/suite/ui/commons/messagebundle_pt_PT.properties +5 -1
- package/src/sap/suite/ui/commons/messagebundle_ro.properties +6 -2
- package/src/sap/suite/ui/commons/messagebundle_ru.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_sh.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_sk.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_sl.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_sv.properties +6 -2
- package/src/sap/suite/ui/commons/messagebundle_th.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_tr.properties +6 -2
- package/src/sap/suite/ui/commons/messagebundle_uk.properties +6 -2
- package/src/sap/suite/ui/commons/messagebundle_vi.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_zh_CN.properties +4 -0
- package/src/sap/suite/ui/commons/messagebundle_zh_TW.properties +5 -1
- package/src/sap/suite/ui/commons/networkgraph/ElementBase.js +68 -23
- package/src/sap/suite/ui/commons/networkgraph/Graph.js +109 -77
- package/src/sap/suite/ui/commons/networkgraph/GraphMap.js +78 -50
- package/src/sap/suite/ui/commons/networkgraph/Line.js +43 -28
- package/src/sap/suite/ui/commons/networkgraph/Node.js +505 -166
- package/src/sap/suite/ui/commons/networkgraph/SvgBase.js +145 -44
- 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 +40 -8
- 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 +4 -3
- package/src/sap/suite/ui/commons/themes/base/MicroProcessFlow.less +22 -13
- package/src/sap/suite/ui/commons/themes/base/NetworkNode.less +0 -1
- package/src/sap/suite/ui/commons/themes/base/ProcessFlowNode.less +4 -4
- package/src/sap/suite/ui/commons/themes/sap_fiori_3_hcb/library.source.less +0 -1
- package/src/sap/suite/ui/commons/themes/sap_fiori_3_hcw/library.source.less +0 -1
- package/src/sap/suite/ui/commons/themes/sap_horizon_hcb/MicroProcessFlow.less +0 -8
- package/src/sap/suite/ui/commons/themes/sap_horizon_hcw/MicroProcessFlow.less +0 -8
- package/src/sap/suite/ui/commons/thirdparty/msal-browser.js +13674 -0
- package/src/sap/suite/ui/commons/windowmessages/CollaborationMessageBroker.js +64 -0
- package/src/sap/suite/ui/commons/themes/sap_fiori_3_hcb/MicroProcessFlow.less +0 -7
- package/src/sap/suite/ui/commons/themes/sap_fiori_3_hcw/MicroProcessFlow.less +0 -7
package/package.json
CHANGED
|
@@ -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.
|
|
10
|
+
<version>1.114.0</version>
|
|
11
11
|
|
|
12
12
|
<documentation>SAP UI library: sap.suite.ui.commons</documentation>
|
|
13
13
|
|
|
@@ -54,6 +54,14 @@
|
|
|
54
54
|
<jscoverage xmlns="http://www.sap.com/ui5/buildext/jscoverage">
|
|
55
55
|
<exclude name="sap.suite.ui.commons.js." />
|
|
56
56
|
</jscoverage>
|
|
57
|
+
<!-- Thirdparty references -->
|
|
58
|
+
<thirdparty xmlns="http://www.sap.com/ui5/buildext/thirdparty" >
|
|
59
|
+
<lib name="@azure/msal-browser" displayName="Microsoft Authentication Library for JavaScript" npmName="@azure/msal-browser" version="2.22.0" homepage="https://github.com/AzureAD/microsoft-authentication-library-for-js" id="73554900106100194698">
|
|
60
|
+
<license url="https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/LICENSE" type="MIT" />
|
|
61
|
+
<copyright>Microsoft Corporation</copyright>
|
|
62
|
+
<pattern>sap/suite/ui/commons/thirdparty/msal-browser.js</pattern>
|
|
63
|
+
</lib>
|
|
64
|
+
</thirdparty>
|
|
57
65
|
<!-- demokit module app -->
|
|
58
66
|
<documentation xmlns="http://www.sap.com/ui5/buildext/documentation"
|
|
59
67
|
indexUrl="../../../../../test-resources/sap/suite/ui/commons/demokit/docuindex.json"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
sap.ui.define([
|
|
2
2
|
"sap/ui/thirdparty/jquery",
|
|
3
3
|
"./library",
|
|
4
|
+
"sap/ui/base/Object",
|
|
4
5
|
"sap/ui/core/Control",
|
|
5
6
|
"sap/m/MessageBox",
|
|
6
7
|
"sap/base/security/encodeXML",
|
|
@@ -9,7 +10,7 @@ sap.ui.define([
|
|
|
9
10
|
"sap/ui/thirdparty/jqueryui/jquery-ui-widget",
|
|
10
11
|
"sap/ui/thirdparty/jqueryui/jquery-ui-mouse",
|
|
11
12
|
"sap/ui/thirdparty/jqueryui/jquery-ui-draggable"
|
|
12
|
-
], function (jQuery, library, Control, MessageBox, encodeXML, Utils) {
|
|
13
|
+
], function (jQuery, library, BaseObject, Control, MessageBox, encodeXML, Utils) {
|
|
13
14
|
"use strict";
|
|
14
15
|
|
|
15
16
|
var ItemType = library.CalculationBuilderItemType,
|
|
@@ -30,7 +31,7 @@ sap.ui.define([
|
|
|
30
31
|
* @extends sap.ui.core.Control
|
|
31
32
|
*
|
|
32
33
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
34
|
+
* @version 1.114.0
|
|
34
35
|
* @since 1.56.0
|
|
35
36
|
*
|
|
36
37
|
* @constructor
|
|
@@ -727,7 +728,7 @@ sap.ui.define([
|
|
|
727
728
|
|
|
728
729
|
CalculationBuilderItem.prototype._hasCorrectParent = function (oParent) {
|
|
729
730
|
oParent = oParent || this.getParent();
|
|
730
|
-
return oParent
|
|
731
|
+
return BaseObject.isA(oParent, "sap.suite.ui.commons.CalculationBuilderExpression");
|
|
731
732
|
};
|
|
732
733
|
|
|
733
734
|
return CalculationBuilderItem;
|
|
@@ -659,7 +659,7 @@ sap.ui.define([
|
|
|
659
659
|
for (var i = 0; i < aContent.length; i++) {
|
|
660
660
|
oContent = aContent[i].getContent();
|
|
661
661
|
oContent.setWidth("100%");
|
|
662
|
-
if (typeof oContent.getHeight !== 'undefined') {
|
|
662
|
+
if (typeof oContent.getHeight !== 'undefined' && oContent.getHeight() !== "") {
|
|
663
663
|
oContent.setHeight(this._sChartOriginalHeight);
|
|
664
664
|
}
|
|
665
665
|
}
|
|
@@ -670,7 +670,7 @@ sap.ui.define([
|
|
|
670
670
|
for (var i = 0; i < aContent.length; i++) {
|
|
671
671
|
oContent = aContent[i].getContent();
|
|
672
672
|
oContent.setWidth("100%");
|
|
673
|
-
if (typeof oContent.getHeight !== 'undefined') {
|
|
673
|
+
if (typeof oContent.getHeight !== 'undefined' && oContent.getHeight() !== "") {
|
|
674
674
|
this._sChartOriginalHeight = oContent.getHeight();
|
|
675
675
|
}
|
|
676
676
|
}
|
|
@@ -43,7 +43,6 @@ sap.ui.define([
|
|
|
43
43
|
"sap/base/Log",
|
|
44
44
|
"sap/ui/model/odata/type/DateTimeOffset",
|
|
45
45
|
"sap/ui/core/Item",
|
|
46
|
-
"sap/ui/core/SortOrder",
|
|
47
46
|
"sap/m/IllustratedMessage",
|
|
48
47
|
"sap/m/IllustratedMessageType",
|
|
49
48
|
"sap/m/IllustratedMessageSize",
|
|
@@ -85,7 +84,6 @@ sap.ui.define([
|
|
|
85
84
|
Log,
|
|
86
85
|
DateTimeOffset,
|
|
87
86
|
Item,
|
|
88
|
-
SortOrder,
|
|
89
87
|
IllustratedMessage,
|
|
90
88
|
IllustratedMessageType,
|
|
91
89
|
IllustratedMessageSize,
|
|
@@ -95,6 +93,7 @@ sap.ui.define([
|
|
|
95
93
|
|
|
96
94
|
var DialogType = mLibrary.DialogType;
|
|
97
95
|
var ButtonType = mLibrary.ButtonType;
|
|
96
|
+
var SortOrder = coreLibrary.SortOrder;
|
|
98
97
|
var ValueState = coreLibrary.ValueState;
|
|
99
98
|
var FilePickerModes = library.FilePickerModes;
|
|
100
99
|
|
|
@@ -111,7 +110,7 @@ sap.ui.define([
|
|
|
111
110
|
* @class
|
|
112
111
|
* @public
|
|
113
112
|
* @internal
|
|
114
|
-
* @version 1.
|
|
113
|
+
* @version 1.114.0
|
|
115
114
|
*/
|
|
116
115
|
var CloudFilePicker = Dialog.extend("sap.suite.ui.commons.CloudFilePicker", {
|
|
117
116
|
metadata: {
|
|
@@ -457,7 +456,7 @@ sap.ui.define([
|
|
|
457
456
|
}),
|
|
458
457
|
new Column({
|
|
459
458
|
hAlign: "Left",
|
|
460
|
-
header: new Text({text: oResourceBundle.getText("CFP_TYPE")}),
|
|
459
|
+
header: new Text({text: oResourceBundle.getText("CFP_TYPE"),wrapping:false}),
|
|
461
460
|
customData: [new CustomData({
|
|
462
461
|
key: "bindingProperty",
|
|
463
462
|
value: 'FileShareItemContentType'
|
|
@@ -466,7 +465,7 @@ sap.ui.define([
|
|
|
466
465
|
importance: "High"
|
|
467
466
|
}),
|
|
468
467
|
new Column({
|
|
469
|
-
header: new Text({text: oResourceBundle.getText("CFP_OWNER")}),
|
|
468
|
+
header: new Text({text: oResourceBundle.getText("CFP_OWNER"),wrapping:false}),
|
|
470
469
|
customData: [new CustomData({
|
|
471
470
|
key: "bindingProperty",
|
|
472
471
|
value: 'CreatedByUser'
|
|
@@ -477,7 +476,7 @@ sap.ui.define([
|
|
|
477
476
|
}),
|
|
478
477
|
new Column({
|
|
479
478
|
hAlign: "End",
|
|
480
|
-
header: new Text({text: oResourceBundle.getText("CFP_TITLE_LAST_CHANGED_ON")}),
|
|
479
|
+
header: new Text({text: oResourceBundle.getText("CFP_TITLE_LAST_CHANGED_ON"),wrapping:false}),
|
|
481
480
|
customData: [new CustomData({
|
|
482
481
|
key: "bindingProperty",
|
|
483
482
|
value: 'LastChangeDateTime'
|
|
@@ -488,7 +487,7 @@ sap.ui.define([
|
|
|
488
487
|
}),
|
|
489
488
|
new Column({
|
|
490
489
|
hAlign: "End",
|
|
491
|
-
header: new Text({text: oResourceBundle.getText("CFP_FILESIZE")}),
|
|
490
|
+
header: new Text({text: oResourceBundle.getText("CFP_FILESIZE"),wrapping:false}),
|
|
492
491
|
customData: [new CustomData({
|
|
493
492
|
key: "bindingProperty",
|
|
494
493
|
value: 'FileShareItemContentSize'
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
sap.ui.define([ 'sap/ui/core/Control', 'sap/m/library', './LaunchTileRenderer' ], function(Control, MobileLibrary, LaunchTileRenderer) {
|
|
8
|
+
sap.ui.define([ 'sap/ui/core/Control', 'sap/m/library', 'sap/m/ImageHelper', './LaunchTileRenderer' ], function(Control, MobileLibrary, ImageHelper, LaunchTileRenderer) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -70,7 +70,7 @@ sap.ui.define([ 'sap/ui/core/Control', 'sap/m/library', './LaunchTileRenderer' ]
|
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
LaunchTile.prototype.setIcon = function(sURI) {
|
|
73
|
-
if(!sURI) {
|
|
73
|
+
if (!sURI) {
|
|
74
74
|
return this;
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -86,7 +86,7 @@ sap.ui.define([ 'sap/ui/core/Control', 'sap/m/library', './LaunchTileRenderer' ]
|
|
|
86
86
|
size: sSize
|
|
87
87
|
};
|
|
88
88
|
|
|
89
|
-
this._iconImage =
|
|
89
|
+
this._iconImage = ImageHelper.getImageControl(sImgId, this._iconImage, this, mProperties);
|
|
90
90
|
|
|
91
91
|
return this;
|
|
92
92
|
};
|
|
@@ -10,6 +10,7 @@ sap.ui.define([
|
|
|
10
10
|
"sap/ui/thirdparty/jquery",
|
|
11
11
|
"./library",
|
|
12
12
|
"sap/m/library",
|
|
13
|
+
"sap/m/ImageHelper",
|
|
13
14
|
"sap/ui/core/Control",
|
|
14
15
|
"sap/suite/ui/commons/ProcessFlowConnection",
|
|
15
16
|
"sap/suite/ui/commons/ProcessFlowLaneHeader",
|
|
@@ -18,7 +19,7 @@ sap.ui.define([
|
|
|
18
19
|
"sap/base/Log",
|
|
19
20
|
"sap/ui/events/KeyCodes",
|
|
20
21
|
"./ProcessFlowRenderer"
|
|
21
|
-
], function (jQuery, library, MobileLibrary, Control, ProcessFlowConnection, ProcessFlowLaneHeader, Device, ResizeHandler, Log, KeyCodes, ProcessFlowRenderer) {
|
|
22
|
+
], function (jQuery, library, MobileLibrary,ImageHelper, Control, ProcessFlowConnection, ProcessFlowLaneHeader, Device, ResizeHandler, Log, KeyCodes, ProcessFlowRenderer) {
|
|
22
23
|
"use strict";
|
|
23
24
|
|
|
24
25
|
/**
|
|
@@ -1262,6 +1263,9 @@ sap.ui.define([
|
|
|
1262
1263
|
*/
|
|
1263
1264
|
ProcessFlow.prototype.destroyLanes = function () {
|
|
1264
1265
|
this.removeAllAggregation("lanes");
|
|
1266
|
+
for (var i = 0; i < this._internalLanes.length; i++) {
|
|
1267
|
+
this._internalLanes[i].destroy();
|
|
1268
|
+
}
|
|
1265
1269
|
this._internalLanes = [];
|
|
1266
1270
|
return this;
|
|
1267
1271
|
};
|
|
@@ -1407,7 +1411,9 @@ sap.ui.define([
|
|
|
1407
1411
|
* @returns {Array} The created ProcessFlow control
|
|
1408
1412
|
*/
|
|
1409
1413
|
ProcessFlow.prototype._getOrCreateProcessFlow = function () {
|
|
1410
|
-
if (!this._internalLanes || this._internalLanes.length <= 0
|
|
1414
|
+
if (!this._internalLanes || this._internalLanes.length <= 0) {
|
|
1415
|
+
this._updateLanesFromNodes();
|
|
1416
|
+
} else if (this._isLanesUpdated()) {
|
|
1411
1417
|
this._resetLanesFromModel();
|
|
1412
1418
|
this._updateLanesFromNodes();
|
|
1413
1419
|
}
|
|
@@ -3506,13 +3512,13 @@ sap.ui.define([
|
|
|
3506
3512
|
|
|
3507
3513
|
if (direction === ProcessFlow._constants.left) {
|
|
3508
3514
|
if (!this._oArrowLeft) {
|
|
3509
|
-
this._oArrowLeft =
|
|
3515
|
+
this._oArrowLeft = ImageHelper.getImageControl(this.getId() + ProcessFlow._constants.arrowScrollLeftMinus, null, this, mProperties, aCssClassesToAddLeft);
|
|
3510
3516
|
}
|
|
3511
3517
|
return this._oArrowLeft;
|
|
3512
3518
|
}
|
|
3513
3519
|
if (direction === ProcessFlow._constants.right) {
|
|
3514
3520
|
if (!this._oArrowRight) {
|
|
3515
|
-
this._oArrowRight =
|
|
3521
|
+
this._oArrowRight = ImageHelper.getImageControl(this.getId() + ProcessFlow._constants.arrowScrollRightMinus, null, this, mProperties, aCssClassesToAddRight);
|
|
3516
3522
|
}
|
|
3517
3523
|
return this._oArrowRight;
|
|
3518
3524
|
}
|
|
@@ -1133,6 +1133,8 @@ sap.ui.define([
|
|
|
1133
1133
|
// don't update for oData service
|
|
1134
1134
|
// TL will be updated when data are loaded
|
|
1135
1135
|
if (aData && aData.dataRequested) {
|
|
1136
|
+
//Focus would be restored on the expected TimeLineItem when the controls rerenders
|
|
1137
|
+
this.oItemNavigation.refocusOnNextUpdate();
|
|
1136
1138
|
return;
|
|
1137
1139
|
}
|
|
1138
1140
|
|
|
@@ -1182,11 +1184,21 @@ sap.ui.define([
|
|
|
1182
1184
|
|
|
1183
1185
|
// if there is any new filter add it as new one, otherwise this method only delete old filter
|
|
1184
1186
|
if (aCurrentFilters.length > 0) {
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1187
|
+
this._filter = new Filter(aCurrentFilters, true);
|
|
1188
|
+
aFilters.push(this._filter);
|
|
1189
|
+
}
|
|
1190
|
+
if (aFilters.length) {
|
|
1191
|
+
this.aPrevFilters = aFilters.map(function(val){return val;});
|
|
1192
|
+
oBinding.filter(aFilters, FilterType.Control);
|
|
1193
|
+
} else {
|
|
1194
|
+
if (this.aPrevFilters.length == 0 && aCurrentFilters.length == 0) {
|
|
1195
|
+
this._setBusy(false);
|
|
1196
|
+
return;
|
|
1197
|
+
} else {
|
|
1198
|
+
this.aPrevFilters = aFilters.map(function(val){return val;});
|
|
1199
|
+
oBinding.filter(aFilters, FilterType.Control);
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1190
1202
|
} else {
|
|
1191
1203
|
// for usecase without binding we just invalidate, because all filtering is done right before render is called
|
|
1192
1204
|
this.invalidate();
|
|
@@ -1110,7 +1110,7 @@ sap.ui.define([
|
|
|
1110
1110
|
// "sap.ui.model.type.Date" with Style "long" the converted dates are in local language string format (ex : "12 de june de 2008" local lan-es).
|
|
1111
1111
|
// and these converted dates are not parsed back to date object with "DateUtils.parseDate" and so grouping fails.
|
|
1112
1112
|
//So for grouping to work we need to fetch actual dateTime value from binding context and it will be used for grouping.
|
|
1113
|
-
if (typeof (oDateTime) === "string" && this instanceof
|
|
1113
|
+
if (typeof (oDateTime) === "string" && this instanceof TimelineItem && this.getBinding("dateTime")) {
|
|
1114
1114
|
var oDateTimeActual = this.getBinding("dateTime").getValue();
|
|
1115
1115
|
if (oDateTimeActual instanceof Date) {
|
|
1116
1116
|
return oDateTimeActual;
|
|
@@ -552,7 +552,6 @@ sap.ui.define([
|
|
|
552
552
|
eTimelineItem.setAttribute("aria-posinset", oTimelineItem._index + 1);
|
|
553
553
|
eTimelineItem.setAttribute("aria-setsize", oTimelineItem._callParentFn("_getItemsCount"));
|
|
554
554
|
}
|
|
555
|
-
eTimelineItem.setAttribute("aria-live", "polite");
|
|
556
555
|
if (bIsGroupHeader) {
|
|
557
556
|
eTimelineItem.setAttribute("aria-expanded", !oTimelineItem._isGroupCollapsed());
|
|
558
557
|
if (!oTimelineItem._isGroupCollapsed()) {
|
|
@@ -1108,13 +1108,15 @@ sap.ui.define("sap/suite/ui/commons/TimelineRenderManager", [
|
|
|
1108
1108
|
that._filterData(bRange);
|
|
1109
1109
|
},
|
|
1110
1110
|
resetFilters: function (oEvent) {
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1111
|
+
var oSlider = that._objects.getTimeRangeSlider();
|
|
1112
|
+
oSlider.setValue(oSlider.getMin());
|
|
1113
|
+
oSlider.setValue2(oSlider.getMax());
|
|
1114
|
+
that._filterDialogRangePage.setFilterCount(0);
|
|
1115
|
+
that._objects.getTimestampFilterPicker().clearDates();
|
|
1116
|
+
if (that._rangeFilterType == "None") {
|
|
1117
|
+
that.toggleGroupTypeSelector();
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1118
1120
|
filterDetailPageOpened: function (oItem) {
|
|
1119
1121
|
var sKey = oItem.getParameter("parentFilterItem").getProperty("key");
|
|
1120
1122
|
|
|
@@ -661,7 +661,6 @@ sap.ui.define([
|
|
|
661
661
|
eControl.setAttribute("role", "presentation");
|
|
662
662
|
eControl.addChild(oTimeline._objects.getAccessibilityTitle());
|
|
663
663
|
eControl.setAttribute("aria-labelledby", aLabelledByIds.join(" "), true);
|
|
664
|
-
eControl.setAttribute("aria-live", "assertive");
|
|
665
664
|
};
|
|
666
665
|
|
|
667
666
|
return TimelineRenderer;
|
|
@@ -38,10 +38,11 @@ sap.ui.define([
|
|
|
38
38
|
* @param {object} oParams Optional argument in case the consumer wants to influence the options, otherwise pass as undefined
|
|
39
39
|
* @param {boolean} oParams.isShareAsLinkEnabled Allow the 'Share as Chat' option to be available in case Microsoft Teams is the collaboration provider
|
|
40
40
|
* @param {boolean} oParams.isShareAsTabEnabled Allow the 'Share as Tab' option to be available in case Microsoft Teams is the collaboration provider
|
|
41
|
+
* @param {boolean} oParams.isShareAsCardEnabled Allow the 'Share as Card' option to be available in case Microsoft Teams is the collaboration provider
|
|
41
42
|
* @returns {array} Array of available options
|
|
42
43
|
* @public
|
|
43
44
|
*/
|
|
44
|
-
BaseHelperService.prototype.getOptions = function() {
|
|
45
|
+
BaseHelperService.prototype.getOptions = function(oParams) {
|
|
45
46
|
return [];
|
|
46
47
|
};
|
|
47
48
|
|
|
@@ -59,5 +60,17 @@ sap.ui.define([
|
|
|
59
60
|
*/
|
|
60
61
|
BaseHelperService.prototype.share = function(oOption, oParams) {
|
|
61
62
|
};
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Checks if collaboration with contacts is supported in teams AD
|
|
66
|
+
*
|
|
67
|
+
* @returns {boolean} A boolean indicating collaboration is supported.
|
|
68
|
+
* @private
|
|
69
|
+
*/
|
|
70
|
+
|
|
71
|
+
BaseHelperService.prototype.isContactsCollaborationSupported = function () {
|
|
72
|
+
return false;
|
|
73
|
+
};
|
|
74
|
+
|
|
62
75
|
return BaseHelperService;
|
|
63
76
|
});
|