@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.
Files changed (125) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/commons/.library +9 -1
  3. package/src/sap/suite/ui/commons/AriaProperties.js +1 -1
  4. package/src/sap/suite/ui/commons/CalculationBuilder.js +1 -1
  5. package/src/sap/suite/ui/commons/CalculationBuilderExpression.js +1 -1
  6. package/src/sap/suite/ui/commons/CalculationBuilderFunction.js +1 -1
  7. package/src/sap/suite/ui/commons/CalculationBuilderGroup.js +1 -1
  8. package/src/sap/suite/ui/commons/CalculationBuilderItem.js +4 -3
  9. package/src/sap/suite/ui/commons/CalculationBuilderValidationResult.js +1 -1
  10. package/src/sap/suite/ui/commons/CalculationBuilderVariable.js +1 -1
  11. package/src/sap/suite/ui/commons/ChartContainer.js +2 -2
  12. package/src/sap/suite/ui/commons/CloudFilePicker.js +6 -7
  13. package/src/sap/suite/ui/commons/LaunchTile.js +3 -3
  14. package/src/sap/suite/ui/commons/MicroProcessFlow.js +1 -1
  15. package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
  16. package/src/sap/suite/ui/commons/ProcessFlow.js +10 -4
  17. package/src/sap/suite/ui/commons/Timeline.js +17 -5
  18. package/src/sap/suite/ui/commons/TimelineItem.js +1 -1
  19. package/src/sap/suite/ui/commons/TimelineItemRenderer.js +0 -1
  20. package/src/sap/suite/ui/commons/TimelineRenderManager.js +9 -7
  21. package/src/sap/suite/ui/commons/TimelineRenderer.js +0 -1
  22. package/src/sap/suite/ui/commons/collaboration/BaseHelperService.js +14 -1
  23. package/src/sap/suite/ui/commons/collaboration/ContactHelper.js +279 -0
  24. package/src/sap/suite/ui/commons/collaboration/ContactPopover.fragment.xml +95 -0
  25. package/src/sap/suite/ui/commons/collaboration/GraphApiConfig.js +72 -0
  26. package/src/sap/suite/ui/commons/collaboration/ServiceContainer.js +13 -7
  27. package/src/sap/suite/ui/commons/collaboration/TeamsHelperService.js +113 -19
  28. package/src/sap/suite/ui/commons/collaboration/flpplugins/msplugin/Component.js +17 -2
  29. package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +1 -1
  30. package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
  31. package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
  32. package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
  33. package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
  34. package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
  35. package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
  36. package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
  37. package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +1 -1
  38. package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +1 -1
  39. package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
  40. package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
  41. package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
  42. package/src/sap/suite/ui/commons/library.js +1 -1
  43. package/src/sap/suite/ui/commons/messagebundle.properties +28 -1
  44. package/src/sap/suite/ui/commons/messagebundle_ar.properties +4 -0
  45. package/src/sap/suite/ui/commons/messagebundle_bg.properties +4 -0
  46. package/src/sap/suite/ui/commons/messagebundle_ca.properties +4 -0
  47. package/src/sap/suite/ui/commons/messagebundle_cs.properties +4 -0
  48. package/src/sap/suite/ui/commons/messagebundle_cy.properties +4 -0
  49. package/src/sap/suite/ui/commons/messagebundle_da.properties +4 -0
  50. package/src/sap/suite/ui/commons/messagebundle_de.properties +4 -0
  51. package/src/sap/suite/ui/commons/messagebundle_el.properties +13 -9
  52. package/src/sap/suite/ui/commons/messagebundle_en.properties +4 -0
  53. package/src/sap/suite/ui/commons/messagebundle_en_GB.properties +4 -0
  54. package/src/sap/suite/ui/commons/messagebundle_en_US_sappsd.properties +4 -0
  55. package/src/sap/suite/ui/commons/messagebundle_en_US_saprigi.properties +14 -0
  56. package/src/sap/suite/ui/commons/messagebundle_en_US_saptrc.properties +4 -0
  57. package/src/sap/suite/ui/commons/messagebundle_es.properties +4 -0
  58. package/src/sap/suite/ui/commons/messagebundle_es_MX.properties +4 -0
  59. package/src/sap/suite/ui/commons/messagebundle_et.properties +4 -0
  60. package/src/sap/suite/ui/commons/messagebundle_fi.properties +4 -0
  61. package/src/sap/suite/ui/commons/messagebundle_fr.properties +6 -2
  62. package/src/sap/suite/ui/commons/messagebundle_fr_CA.properties +4 -0
  63. package/src/sap/suite/ui/commons/messagebundle_hi.properties +4 -0
  64. package/src/sap/suite/ui/commons/messagebundle_hr.properties +6 -2
  65. package/src/sap/suite/ui/commons/messagebundle_hu.properties +4 -0
  66. package/src/sap/suite/ui/commons/messagebundle_id.properties +4 -0
  67. package/src/sap/suite/ui/commons/messagebundle_it.properties +4 -0
  68. package/src/sap/suite/ui/commons/messagebundle_iw.properties +4 -0
  69. package/src/sap/suite/ui/commons/messagebundle_ja.properties +4 -0
  70. package/src/sap/suite/ui/commons/messagebundle_kk.properties +6 -2
  71. package/src/sap/suite/ui/commons/messagebundle_ko.properties +6 -2
  72. package/src/sap/suite/ui/commons/messagebundle_lt.properties +4 -0
  73. package/src/sap/suite/ui/commons/messagebundle_lv.properties +6 -2
  74. package/src/sap/suite/ui/commons/messagebundle_ms.properties +4 -0
  75. package/src/sap/suite/ui/commons/messagebundle_nl.properties +4 -0
  76. package/src/sap/suite/ui/commons/messagebundle_no.properties +4 -0
  77. package/src/sap/suite/ui/commons/messagebundle_pl.properties +4 -0
  78. package/src/sap/suite/ui/commons/messagebundle_pt.properties +6 -2
  79. package/src/sap/suite/ui/commons/messagebundle_pt_PT.properties +5 -1
  80. package/src/sap/suite/ui/commons/messagebundle_ro.properties +6 -2
  81. package/src/sap/suite/ui/commons/messagebundle_ru.properties +4 -0
  82. package/src/sap/suite/ui/commons/messagebundle_sh.properties +4 -0
  83. package/src/sap/suite/ui/commons/messagebundle_sk.properties +4 -0
  84. package/src/sap/suite/ui/commons/messagebundle_sl.properties +4 -0
  85. package/src/sap/suite/ui/commons/messagebundle_sv.properties +6 -2
  86. package/src/sap/suite/ui/commons/messagebundle_th.properties +4 -0
  87. package/src/sap/suite/ui/commons/messagebundle_tr.properties +6 -2
  88. package/src/sap/suite/ui/commons/messagebundle_uk.properties +6 -2
  89. package/src/sap/suite/ui/commons/messagebundle_vi.properties +4 -0
  90. package/src/sap/suite/ui/commons/messagebundle_zh_CN.properties +4 -0
  91. package/src/sap/suite/ui/commons/messagebundle_zh_TW.properties +5 -1
  92. package/src/sap/suite/ui/commons/networkgraph/ElementBase.js +68 -23
  93. package/src/sap/suite/ui/commons/networkgraph/Graph.js +109 -77
  94. package/src/sap/suite/ui/commons/networkgraph/GraphMap.js +78 -50
  95. package/src/sap/suite/ui/commons/networkgraph/Line.js +43 -28
  96. package/src/sap/suite/ui/commons/networkgraph/Node.js +505 -166
  97. package/src/sap/suite/ui/commons/networkgraph/SvgBase.js +145 -44
  98. package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
  99. package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
  100. package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +1 -1
  101. package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
  102. package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
  103. package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
  104. package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +1 -1
  105. package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
  106. package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
  107. package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +1 -1
  108. package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
  109. package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +1 -1
  110. package/src/sap/suite/ui/commons/taccount/TAccount.js +1 -1
  111. package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +40 -8
  112. package/src/sap/suite/ui/commons/taccount/TAccountItem.js +1 -1
  113. package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
  114. package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +4 -3
  115. package/src/sap/suite/ui/commons/themes/base/MicroProcessFlow.less +22 -13
  116. package/src/sap/suite/ui/commons/themes/base/NetworkNode.less +0 -1
  117. package/src/sap/suite/ui/commons/themes/base/ProcessFlowNode.less +4 -4
  118. package/src/sap/suite/ui/commons/themes/sap_fiori_3_hcb/library.source.less +0 -1
  119. package/src/sap/suite/ui/commons/themes/sap_fiori_3_hcw/library.source.less +0 -1
  120. package/src/sap/suite/ui/commons/themes/sap_horizon_hcb/MicroProcessFlow.less +0 -8
  121. package/src/sap/suite/ui/commons/themes/sap_horizon_hcw/MicroProcessFlow.less +0 -8
  122. package/src/sap/suite/ui/commons/thirdparty/msal-browser.js +13674 -0
  123. package/src/sap/suite/ui/commons/windowmessages/CollaborationMessageBroker.js +64 -0
  124. package/src/sap/suite/ui/commons/themes/sap_fiori_3_hcb/MicroProcessFlow.less +0 -7
  125. package/src/sap/suite/ui/commons/themes/sap_fiori_3_hcw/MicroProcessFlow.less +0 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.commons",
3
- "version": "1.112.0",
3
+ "version": "1.114.0",
4
4
  "description": "SAPUI5 Library sap.suite.ui.commons",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -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.112.0</version>
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"
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.112.0
22
+ * @version 1.114.0
23
23
  * @since 1.65.0
24
24
  *
25
25
  * @constructor
@@ -124,7 +124,7 @@ sap.ui.define([
124
124
  * @extends sap.ui.core.Control
125
125
  *
126
126
  * @author SAP SE
127
- * @version 1.112.0
127
+ * @version 1.114.0
128
128
  * @since 1.56.0
129
129
  *
130
130
  * @constructor
@@ -111,7 +111,7 @@ sap.ui.define([
111
111
  * @extends sap.ui.core.Control
112
112
  *
113
113
  * @author SAP SE
114
- * @version 1.112.0
114
+ * @version 1.114.0
115
115
  * @since 1.56.0
116
116
  *
117
117
  * @constructor
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @extends sap.ui.core.Control
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.112.0
21
+ * @version 1.114.0
22
22
  * @since 1.56.0
23
23
  *
24
24
  * @constructor
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  * @extends sap.ui.core.Control
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.112.0
18
+ * @version 1.114.0
19
19
  * @since 1.60.0
20
20
  *
21
21
  * @constructor
@@ -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.112.0
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 instanceof sap.suite.ui.commons.CalculationBuilderExpression;
731
+ return BaseObject.isA(oParent, "sap.suite.ui.commons.CalculationBuilderExpression");
731
732
  };
732
733
 
733
734
  return CalculationBuilderItem;
@@ -14,7 +14,7 @@ sap.ui.define([
14
14
  * @extends sap.ui.base.ManagedObject
15
15
  *
16
16
  * @author SAP SE
17
- * @version 1.112.0
17
+ * @version 1.114.0
18
18
  * @since 1.56.0
19
19
  *
20
20
  * @constructor
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  * @extends sap.ui.core.Control
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.112.0
18
+ * @version 1.114.0
19
19
  * @since 1.56.0
20
20
  *
21
21
  * @constructor
@@ -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.112.0
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 = MobileLibrary.ImageHelper.getImageControl(sImgId, this._iconImage, this, mProperties);
89
+ this._iconImage = ImageHelper.getImageControl(sImgId, this._iconImage, this, mProperties);
90
90
 
91
91
  return this;
92
92
  };
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.112.0
31
+ * @version 1.114.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.core.Control
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.112.0
33
+ * @version 1.114.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -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 || this._isLanesUpdated()) {
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 = MobileLibrary.ImageHelper.getImageControl(this.getId() + ProcessFlow._constants.arrowScrollLeftMinus, null, this, mProperties, aCssClassesToAddLeft);
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 = MobileLibrary.ImageHelper.getImageControl(this.getId() + ProcessFlow._constants.arrowScrollRightMinus, null, this, mProperties, aCssClassesToAddRight);
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
- this._filter = new Filter(aCurrentFilters, true);
1186
- aFilters.push(this._filter);
1187
- }
1188
- this.aPrevFilters = aFilters;
1189
- oBinding.filter(aFilters, FilterType.Control);
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 sap.suite.ui.commons.TimelineItem && this.getBinding("dateTime")) {
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
- var oSlider = that._objects.getTimeRangeSlider();
1112
- oSlider.setValue(oSlider.getMin());
1113
- oSlider.setValue2(oSlider.getMax());
1114
- that._filterDialogRangePage.setFilterCount(0);
1115
-
1116
- that._objects.getTimestampFilterPicker().clearDates();
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
  });