@sapui5/sap.suite.ui.commons 1.103.0 → 1.106.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 (112) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/src/sap/suite/ui/commons/.library +1 -1
  4. package/src/sap/suite/ui/commons/AriaProperties.js +1 -1
  5. package/src/sap/suite/ui/commons/CalculationBuilder.js +15 -5
  6. package/src/sap/suite/ui/commons/CalculationBuilderExpression.js +4 -4
  7. package/src/sap/suite/ui/commons/CalculationBuilderFunction.js +1 -1
  8. package/src/sap/suite/ui/commons/CalculationBuilderGroup.js +1 -1
  9. package/src/sap/suite/ui/commons/CalculationBuilderItem.js +7 -5
  10. package/src/sap/suite/ui/commons/CalculationBuilderValidationResult.js +1 -1
  11. package/src/sap/suite/ui/commons/CalculationBuilderVariable.js +1 -1
  12. package/src/sap/suite/ui/commons/CloudFilePicker.js +512 -105
  13. package/src/sap/suite/ui/commons/MicroProcessFlow.js +11 -12
  14. package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
  15. package/src/sap/suite/ui/commons/Timeline.js +11 -3
  16. package/src/sap/suite/ui/commons/TimelineRenderManager.js +7 -1
  17. package/src/sap/suite/ui/commons/TimelineRenderManagerTimestamp.js +46 -4
  18. package/src/sap/suite/ui/commons/collaborationhelper/CollaborationHelper.js +111 -0
  19. package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +1 -1
  20. package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
  21. package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
  22. package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
  23. package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
  24. package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
  25. package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
  26. package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
  27. package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +1 -1
  28. package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +1 -1
  29. package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
  30. package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
  31. package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
  32. package/src/sap/suite/ui/commons/library.js +2 -2
  33. package/src/sap/suite/ui/commons/messagebundle.properties +26 -2
  34. package/src/sap/suite/ui/commons/messagebundle_ar.properties +15 -3
  35. package/src/sap/suite/ui/commons/messagebundle_bg.properties +14 -2
  36. package/src/sap/suite/ui/commons/messagebundle_ca.properties +14 -2
  37. package/src/sap/suite/ui/commons/messagebundle_cs.properties +14 -2
  38. package/src/sap/suite/ui/commons/messagebundle_cy.properties +14 -2
  39. package/src/sap/suite/ui/commons/messagebundle_da.properties +14 -2
  40. package/src/sap/suite/ui/commons/messagebundle_de.properties +14 -2
  41. package/src/sap/suite/ui/commons/messagebundle_el.properties +13 -1
  42. package/src/sap/suite/ui/commons/messagebundle_en.properties +14 -2
  43. package/src/sap/suite/ui/commons/messagebundle_en_GB.properties +14 -2
  44. package/src/sap/suite/ui/commons/messagebundle_en_US_sappsd.properties +14 -2
  45. package/src/sap/suite/ui/commons/messagebundle_en_US_saprigi.properties +14 -2
  46. package/src/sap/suite/ui/commons/messagebundle_en_US_saptrc.properties +13 -2
  47. package/src/sap/suite/ui/commons/messagebundle_es.properties +14 -2
  48. package/src/sap/suite/ui/commons/messagebundle_es_MX.properties +14 -2
  49. package/src/sap/suite/ui/commons/messagebundle_et.properties +14 -2
  50. package/src/sap/suite/ui/commons/messagebundle_fi.properties +14 -2
  51. package/src/sap/suite/ui/commons/messagebundle_fr.properties +26 -14
  52. package/src/sap/suite/ui/commons/messagebundle_fr_CA.properties +14 -2
  53. package/src/sap/suite/ui/commons/messagebundle_hi.properties +14 -2
  54. package/src/sap/suite/ui/commons/messagebundle_hr.properties +19 -7
  55. package/src/sap/suite/ui/commons/messagebundle_hu.properties +14 -2
  56. package/src/sap/suite/ui/commons/messagebundle_id.properties +15 -3
  57. package/src/sap/suite/ui/commons/messagebundle_it.properties +15 -3
  58. package/src/sap/suite/ui/commons/messagebundle_iw.properties +14 -2
  59. package/src/sap/suite/ui/commons/messagebundle_ja.properties +14 -2
  60. package/src/sap/suite/ui/commons/messagebundle_kk.properties +14 -2
  61. package/src/sap/suite/ui/commons/messagebundle_ko.properties +14 -2
  62. package/src/sap/suite/ui/commons/messagebundle_lt.properties +14 -2
  63. package/src/sap/suite/ui/commons/messagebundle_lv.properties +14 -2
  64. package/src/sap/suite/ui/commons/messagebundle_ms.properties +14 -2
  65. package/src/sap/suite/ui/commons/messagebundle_nl.properties +14 -2
  66. package/src/sap/suite/ui/commons/messagebundle_no.properties +20 -8
  67. package/src/sap/suite/ui/commons/messagebundle_pl.properties +14 -2
  68. package/src/sap/suite/ui/commons/messagebundle_pt.properties +14 -2
  69. package/src/sap/suite/ui/commons/messagebundle_pt_PT.properties +14 -2
  70. package/src/sap/suite/ui/commons/messagebundle_ro.properties +14 -2
  71. package/src/sap/suite/ui/commons/messagebundle_ru.properties +14 -2
  72. package/src/sap/suite/ui/commons/messagebundle_sh.properties +16 -4
  73. package/src/sap/suite/ui/commons/messagebundle_sk.properties +14 -2
  74. package/src/sap/suite/ui/commons/messagebundle_sl.properties +14 -2
  75. package/src/sap/suite/ui/commons/messagebundle_sv.properties +14 -2
  76. package/src/sap/suite/ui/commons/messagebundle_th.properties +26 -14
  77. package/src/sap/suite/ui/commons/messagebundle_tr.properties +14 -2
  78. package/src/sap/suite/ui/commons/messagebundle_uk.properties +14 -2
  79. package/src/sap/suite/ui/commons/messagebundle_vi.properties +14 -2
  80. package/src/sap/suite/ui/commons/messagebundle_zh_CN.properties +14 -2
  81. package/src/sap/suite/ui/commons/messagebundle_zh_TW.properties +14 -2
  82. package/src/sap/suite/ui/commons/networkgraph/Graph.js +1 -0
  83. package/src/sap/suite/ui/commons/networkgraph/GraphMap.js +6 -4
  84. package/src/sap/suite/ui/commons/networkgraph/KeyboardNavigator.js +1 -1
  85. package/src/sap/suite/ui/commons/networkgraph/Node.js +28 -9
  86. package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
  87. package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
  88. package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +1 -1
  89. package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
  90. package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
  91. package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
  92. package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +1 -1
  93. package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
  94. package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
  95. package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +1 -1
  96. package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
  97. package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +1 -1
  98. package/src/sap/suite/ui/commons/taccount/TAccount.js +1 -1
  99. package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +1 -1
  100. package/src/sap/suite/ui/commons/taccount/TAccountItem.js +1 -1
  101. package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
  102. package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +1 -1
  103. package/src/sap/suite/ui/commons/themes/base/CalculationBuilderExpression.less +1 -1
  104. package/src/sap/suite/ui/commons/themes/base/NetworkGraph.less +2 -1
  105. package/src/sap/suite/ui/commons/themes/sap_horizon/MicroProcessFlow.less +2 -2
  106. package/src/sap/suite/ui/commons/themes/sap_horizon/TimelineItem.less +107 -0
  107. package/src/sap/suite/ui/commons/themes/sap_horizon_dark/MicroProcessFlow.less +2 -2
  108. package/src/sap/suite/ui/commons/themes/sap_horizon_dark/TimelineItem.less +107 -0
  109. package/src/sap/suite/ui/commons/themes/sap_horizon_hcb/MicroProcessFlow.less +5 -0
  110. package/src/sap/suite/ui/commons/themes/sap_horizon_hcb/TimelineItem.less +108 -0
  111. package/src/sap/suite/ui/commons/themes/sap_horizon_hcw/MicroProcessFlow.less +5 -0
  112. package/src/sap/suite/ui/commons/themes/sap_horizon_hcw/TimelineItem.less +107 -0
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ![SAPUI5](https://ui5.sap.com/resources/sap/ui/documentation/sdk/images/Logo_B_SAPUI5_H.png)
2
2
 
3
3
  # @sapui5/sap.suite.ui.commons
4
- Runtime resources of the [SAPUI5](https://sapui5.hana.ondemand.com) Library **sap.suite.ui.commons**.
4
+ Runtime resources of the [SAPUI5](https://ui5.sap.com) Library **sap.suite.ui.commons**.
5
5
 
6
6
  ## Usage
7
7
  Refrain from installing this package using npm, Yarn or similar package managers.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.commons",
3
- "version": "1.103.0",
3
+ "version": "1.106.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.103.0</version>
10
+ <version>1.106.0</version>
11
11
 
12
12
  <documentation>SAP UI library: sap.suite.ui.commons</documentation>
13
13
 
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.103.0
22
+ * @version 1.106.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.103.0
127
+ * @version 1.106.0
128
128
  * @since 1.56.0
129
129
  *
130
130
  * @constructor
@@ -897,10 +897,20 @@ sap.ui.define([
897
897
  press: function (oEvent) {
898
898
  var oToggleButton = oEvent.getSource();
899
899
 
900
- this._toggleFullScreen(oToggleButton);
901
- oToggleButton.setTooltip(this._bIsFullScreen ? oResourceBundle.getText("CALCULATION_BUILDER_EXIT_FULL_SCREEN_BUTTON") : oResourceBundle.getText("CALCULATION_BUILDER_ENTER_FULL_SCREEN_BUTTON"));
902
- oToggleButton.setIcon(this._bIsFullScreen ? Icons.EXIT_FULL_SCREEN : Icons.FULL_SCREEN);
903
- }.bind(this)
900
+ this._toggleFullScreen();
901
+ oToggleButton.setAggregation("tooltip",
902
+ this._bIsFullScreen
903
+ ? oResourceBundle.getText(
904
+ "CALCULATION_BUILDER_EXIT_FULL_SCREEN_BUTTON"
905
+ )
906
+ : oResourceBundle.getText(
907
+ "CALCULATION_BUILDER_ENTER_FULL_SCREEN_BUTTON"
908
+ ),
909
+ true
910
+ );
911
+ oToggleButton.setProperty("icon", this._bIsFullScreen ? Icons.EXIT_FULL_SCREEN : Icons.FULL_SCREEN, true);
912
+ oToggleButton.focus();
913
+ }.bind(this)
904
914
  }));
905
915
 
906
916
  this.addDependent(this._oToolbar);
@@ -111,7 +111,7 @@ sap.ui.define([
111
111
  * @extends sap.ui.core.Control
112
112
  *
113
113
  * @author SAP SE
114
- * @version 1.103.0
114
+ * @version 1.106.0
115
115
  * @since 1.56.0
116
116
  *
117
117
  * @constructor
@@ -1980,7 +1980,7 @@ sap.ui.define([
1980
1980
 
1981
1981
 
1982
1982
  CalculationBuilderExpression.prototype._smartRender = function (aNewItems) {
1983
- var sHtml = "",i,
1983
+ var i,
1984
1984
  $this = this.$(),
1985
1985
  aAddedItems = [],
1986
1986
  aItems = this.getItems(),
@@ -2027,7 +2027,7 @@ sap.ui.define([
2027
2027
  var $item = oItem.$();
2028
2028
 
2029
2029
  oItem._innerRender(oRm, $item[0]);
2030
- $item.attr("class", oItem._getClass(null, oRm));
2030
+ $item.attr("class", oItem._getClass(null, oRm, true));
2031
2031
  $item.attr("title", oItem._getTooltip());
2032
2032
 
2033
2033
  oItem._setEvents();
@@ -2045,7 +2045,7 @@ sap.ui.define([
2045
2045
  }
2046
2046
 
2047
2047
  if ($this[0] && aAddedItems.length > 0) {
2048
- $this.find(".sapCalculationBuilderDelimiter").last().after(sHtml);
2048
+ oRm.flush($this[0], false, $this.children().index( $this.find(".sapCalculationBuilderDelimiter").last()[0] ) + 1);
2049
2049
 
2050
2050
  aAddedItems.forEach(function (oItem) {
2051
2051
  oItem._afterRendering();
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @extends sap.ui.core.Control
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.103.0
21
+ * @version 1.106.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.103.0
18
+ * @version 1.106.0
19
19
  * @since 1.60.0
20
20
  *
21
21
  * @constructor
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.core.Control
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.103.0
33
+ * @version 1.106.0
34
34
  * @since 1.56.0
35
35
  *
36
36
  * @constructor
@@ -182,8 +182,8 @@ sap.ui.define([
182
182
  }
183
183
  };
184
184
 
185
- CalculationBuilderItem.prototype._getClass = function (bHasError, oRm) {
186
- var sClass = "",
185
+ CalculationBuilderItem.prototype._getClass = function (bHasError, oRm, bCreateExpression) {
186
+ var sClass = '',
187
187
  bIsEmpty = this._isEmpty();
188
188
 
189
189
  sClass += this._bIsNew ? "sapCalculationBuilderNewItem sapCalculationBuilderCancelSelectable" : "sapCalculationBuilderItem";
@@ -217,7 +217,9 @@ sap.ui.define([
217
217
  if (bHasError) {
218
218
  sClass += " sapCalculationBuilderItemErrorSyntax ";
219
219
  }
220
-
220
+ if (bCreateExpression) {
221
+ return sClass;
222
+ }
221
223
  var classes = sClass.split(' '),i;
222
224
  for (i = 0; i < classes.length; i++){
223
225
  oRm.class(classes[i]);
@@ -236,7 +238,7 @@ sap.ui.define([
236
238
  sRoleAttr = this._bIsNew ? "button" : "",
237
239
  sTabIndexAttr = bIsItemInBuilder ? "-1" : "0";
238
240
  oRm.openStart("div");
239
- oRm.class(this._getClass(!!oError, oRm));
241
+ this._getClass(!!oError, oRm);
240
242
  oRm.attr("id",this.getId());
241
243
  oRm.attr("tabindex",sTabIndexAttr);
242
244
  oRm.attr("title",sTooltipAttr);
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @extends sap.ui.base.ManagedObject
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.103.0
19
+ * @version 1.106.0
20
20
  * @since 1.56.0
21
21
  *
22
22
  * @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.103.0
18
+ * @version 1.106.0
19
19
  * @since 1.56.0
20
20
  *
21
21
  * @constructor