@sapui5/sap.suite.ui.commons 1.120.13 → 1.120.14

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 (96) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/commons/.library +1 -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 +1 -1
  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/CloudFilePicker.js +1 -1
  12. package/src/sap/suite/ui/commons/MicroProcessFlow.js +1 -1
  13. package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
  14. package/src/sap/suite/ui/commons/ProcessFlowNode.js +1 -2
  15. package/src/sap/suite/ui/commons/ProcessFlowRenderer.js +8 -3
  16. package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +1 -1
  17. package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
  18. package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
  19. package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
  20. package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
  21. package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
  22. package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
  23. package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
  24. package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +1 -1
  25. package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +43 -2
  26. package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
  27. package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
  28. package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
  29. package/src/sap/suite/ui/commons/library.js +1 -1
  30. package/src/sap/suite/ui/commons/messagebundle.properties +2 -2
  31. package/src/sap/suite/ui/commons/messagebundle_ar.properties +45 -44
  32. package/src/sap/suite/ui/commons/messagebundle_bg.properties +152 -151
  33. package/src/sap/suite/ui/commons/messagebundle_ca.properties +54 -53
  34. package/src/sap/suite/ui/commons/messagebundle_cnr.properties +8 -7
  35. package/src/sap/suite/ui/commons/messagebundle_cs.properties +100 -99
  36. package/src/sap/suite/ui/commons/messagebundle_cy.properties +20 -19
  37. package/src/sap/suite/ui/commons/messagebundle_da.properties +100 -99
  38. package/src/sap/suite/ui/commons/messagebundle_de.properties +30 -29
  39. package/src/sap/suite/ui/commons/messagebundle_el.properties +49 -48
  40. package/src/sap/suite/ui/commons/messagebundle_en.properties +1 -0
  41. package/src/sap/suite/ui/commons/messagebundle_en_GB.properties +2 -1
  42. package/src/sap/suite/ui/commons/messagebundle_en_US_saprigi.properties +1 -0
  43. package/src/sap/suite/ui/commons/messagebundle_es.properties +74 -73
  44. package/src/sap/suite/ui/commons/messagebundle_es_MX.properties +47 -46
  45. package/src/sap/suite/ui/commons/messagebundle_et.properties +58 -57
  46. package/src/sap/suite/ui/commons/messagebundle_fi.properties +93 -92
  47. package/src/sap/suite/ui/commons/messagebundle_fr.properties +162 -161
  48. package/src/sap/suite/ui/commons/messagebundle_fr_CA.properties +68 -67
  49. package/src/sap/suite/ui/commons/messagebundle_hi.properties +37 -36
  50. package/src/sap/suite/ui/commons/messagebundle_hr.properties +101 -100
  51. package/src/sap/suite/ui/commons/messagebundle_hu.properties +128 -127
  52. package/src/sap/suite/ui/commons/messagebundle_id.properties +21 -20
  53. package/src/sap/suite/ui/commons/messagebundle_it.properties +93 -92
  54. package/src/sap/suite/ui/commons/messagebundle_iw.properties +43 -42
  55. package/src/sap/suite/ui/commons/messagebundle_ja.properties +68 -67
  56. package/src/sap/suite/ui/commons/messagebundle_kk.properties +110 -109
  57. package/src/sap/suite/ui/commons/messagebundle_ko.properties +61 -60
  58. package/src/sap/suite/ui/commons/messagebundle_lt.properties +49 -48
  59. package/src/sap/suite/ui/commons/messagebundle_lv.properties +134 -133
  60. package/src/sap/suite/ui/commons/messagebundle_mk.properties +13 -12
  61. package/src/sap/suite/ui/commons/messagebundle_ms.properties +25 -24
  62. package/src/sap/suite/ui/commons/messagebundle_nl.properties +48 -47
  63. package/src/sap/suite/ui/commons/messagebundle_no.properties +83 -82
  64. package/src/sap/suite/ui/commons/messagebundle_pl.properties +49 -48
  65. package/src/sap/suite/ui/commons/messagebundle_pt.properties +109 -108
  66. package/src/sap/suite/ui/commons/messagebundle_pt_PT.properties +36 -35
  67. package/src/sap/suite/ui/commons/messagebundle_ro.properties +94 -93
  68. package/src/sap/suite/ui/commons/messagebundle_ru.properties +128 -127
  69. package/src/sap/suite/ui/commons/messagebundle_sh.properties +8 -7
  70. package/src/sap/suite/ui/commons/messagebundle_sk.properties +41 -40
  71. package/src/sap/suite/ui/commons/messagebundle_sl.properties +86 -85
  72. package/src/sap/suite/ui/commons/messagebundle_sr.properties +8 -7
  73. package/src/sap/suite/ui/commons/messagebundle_sv.properties +16 -15
  74. package/src/sap/suite/ui/commons/messagebundle_th.properties +57 -56
  75. package/src/sap/suite/ui/commons/messagebundle_tr.properties +91 -90
  76. package/src/sap/suite/ui/commons/messagebundle_uk.properties +60 -59
  77. package/src/sap/suite/ui/commons/messagebundle_vi.properties +67 -66
  78. package/src/sap/suite/ui/commons/messagebundle_zh_CN.properties +14 -13
  79. package/src/sap/suite/ui/commons/messagebundle_zh_TW.properties +36 -35
  80. package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
  81. package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
  82. package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +1 -1
  83. package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
  84. package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
  85. package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
  86. package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +1 -1
  87. package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
  88. package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
  89. package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +1 -1
  90. package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
  91. package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +1 -1
  92. package/src/sap/suite/ui/commons/taccount/TAccount.js +1 -1
  93. package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +1 -1
  94. package/src/sap/suite/ui/commons/taccount/TAccountItem.js +1 -1
  95. package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
  96. package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.commons",
3
- "version": "1.120.13",
3
+ "version": "1.120.14",
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.120.13</version>
10
+ <version>1.120.14</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.120.13
22
+ * @version 1.120.14
23
23
  * @since 1.65.0
24
24
  *
25
25
  * @constructor
@@ -125,7 +125,7 @@ sap.ui.define([
125
125
  * @extends sap.ui.core.Control
126
126
  *
127
127
  * @author SAP SE
128
- * @version 1.120.13
128
+ * @version 1.120.14
129
129
  * @since 1.56.0
130
130
  *
131
131
  * @constructor
@@ -113,7 +113,7 @@ sap.ui.define([
113
113
  * @extends sap.ui.core.Control
114
114
  *
115
115
  * @author SAP SE
116
- * @version 1.120.13
116
+ * @version 1.120.14
117
117
  * @since 1.56.0
118
118
  *
119
119
  * @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.120.13
21
+ * @version 1.120.14
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.120.13
18
+ * @version 1.120.14
19
19
  * @since 1.60.0
20
20
  *
21
21
  * @constructor
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.120.13
35
+ * @version 1.120.14
36
36
  * @since 1.56.0
37
37
  *
38
38
  * @constructor
@@ -14,7 +14,7 @@ sap.ui.define([
14
14
  * @extends sap.ui.base.ManagedObject
15
15
  *
16
16
  * @author SAP SE
17
- * @version 1.120.13
17
+ * @version 1.120.14
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.120.13
18
+ * @version 1.120.14
19
19
  * @since 1.56.0
20
20
  *
21
21
  * @constructor
@@ -118,7 +118,7 @@ sap.ui.define([
118
118
  * @class
119
119
  * @public
120
120
  * @internal
121
- * @version 1.120.13
121
+ * @version 1.120.14
122
122
  */
123
123
  var CloudFilePicker = Dialog.extend("sap.suite.ui.commons.CloudFilePicker", {
124
124
  metadata: {
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.core.Control
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.120.13
33
+ * @version 1.120.14
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.120.13
34
+ * @version 1.120.14
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -974,8 +974,7 @@ sap.ui.define([
974
974
  if (this.getType() === library.ProcessFlowNodeType.Aggregated) {
975
975
  sAggregatedText = this._oResBundle.getText('PF_ARIA_TYPE');
976
976
  }
977
- var sDefaultActivateNode = this._oResBundle.getText("PF_DEFAULT_NODE_ACTIVATE");
978
- return this._oResBundle.getText('PF_ARIA_NODE', [sTitleText, sStateValueText, sStateText, sLaneText, sContentText, iParentsCount, iChildrenCount, sDefaultActivateNode, sAggregatedText]);
977
+ return this._oResBundle.getText('PF_ARIA_NODE', [sTitleText, sStateValueText, sStateText, sLaneText, sContentText, iParentsCount, iChildrenCount, sAggregatedText]);
979
978
  };
980
979
 
981
980
  /**
@@ -11,8 +11,9 @@ sap.ui.define([
11
11
  './AriaProperties',
12
12
  'sap/ui/Device',
13
13
  "sap/base/security/encodeXML",
14
- "sap/ui/core/Core"
15
- ], function (jQuery, library, ProcessFlowLaneHeader, AriaProperties, Device, encodeXML, Core) {
14
+ "sap/ui/core/Core",
15
+ "sap/ui/core/Lib"
16
+ ], function (jQuery, library, ProcessFlowLaneHeader, AriaProperties, Device, encodeXML, Core, CoreLib) {
16
17
  "use strict";
17
18
 
18
19
  // shortcut for sap.suite.ui.commons.ProcessFlowZoomLevel
@@ -49,7 +50,9 @@ sap.ui.define([
49
50
  oProcessFlowRenderer = ProcessFlowRenderer,
50
51
  aConnectionsBetweenNodes,
51
52
  oClosedElement;
52
-
53
+ if (!this._oResBundle) {
54
+ this._oResBundle = CoreLib.getResourceBundleFor("sap.suite.ui.commons");
55
+ }
53
56
  oClosedElement = oProcessFlowRenderer._renderBasicStructure(oRm, oControl);
54
57
  if (oClosedElement) {
55
58
  return;
@@ -153,6 +156,8 @@ sap.ui.define([
153
156
  var oCustomContent = node._getCurrentZoomLevelContent();
154
157
  oRm.attr("id", sNodeId);
155
158
  oRm.attr("tabindex", 0);
159
+ oRm.attr("role", "button");
160
+ oRm.attr("aria-description", this._oResBundle.getText("PF_ARIA_PROCESS_FLOW_NODE_DESC"));
156
161
  var oAriaDefaultProperties = {};
157
162
  oAriaDefaultProperties.label = node._getAriaText();
158
163
  if (oCustomContent) {
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  *
23
23
  * @constructor
24
24
  * @alias sap.suite.ui.commons.flexibility.changeHandler.PropertyChangeMapper
25
- * @version 1.120.13
25
+ * @version 1.120.14
26
26
  * @since 1.50
27
27
  * @private
28
28
  */
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.120.13
24
+ * @version 1.120.14
25
25
  * @since 1.67.0
26
26
  *
27
27
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.120.13
26
+ * @version 1.120.14
27
27
  * @since 1.66.0
28
28
  *
29
29
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.120.13
24
+ * @version 1.120.14
25
25
  * @since 1.66.0
26
26
  *
27
27
  * @constructor
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  * @extends sap.ui.core.Element
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.120.13
18
+ * @version 1.120.14
19
19
  * @since 1.66.0
20
20
  *
21
21
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.120.13
24
+ * @version 1.120.14
25
25
  * @since 1.66.0
26
26
  *
27
27
  * @constructor
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.120.13
21
+ * @version 1.120.14
22
22
  * @since 1.66.0
23
23
  *
24
24
  * @constructor
@@ -10,7 +10,7 @@ sap.ui.define([
10
10
  * @extends sap.ui.base.Object
11
11
  *
12
12
  * @author SAP SE
13
- * @version 1.120.13
13
+ * @version 1.120.14
14
14
  * @since 1.66.0
15
15
  *
16
16
  * @abstract
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @extends sap.ui.core.Control
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.120.13
46
+ * @version 1.120.14
47
47
  * @since 1.66.0
48
48
  *
49
49
  * @constructor
@@ -126,7 +126,7 @@ sap.ui.define([
126
126
  * @extends sap.ui.core.Control
127
127
  *
128
128
  * @author SAP SE
129
- * @version 1.120.13
129
+ * @version 1.120.14
130
130
  * @since 1.66.0
131
131
  *
132
132
  * @constructor
@@ -839,7 +839,47 @@ sap.ui.define([
839
839
  return this._oHeaderToolbar;
840
840
  };
841
841
 
842
- ImageEditorContainer.prototype._updateToolbarsContent = function() {
842
+ ImageEditorContainer.prototype._destroyDisabledToolbarButtons = function () {
843
+ const aEnabledButtons = this.getEnabledButtons();
844
+
845
+ [ImageEditorContainerButton.Filter,ImageEditorContainerButton.Transform,ImageEditorContainerButton.Crop]
846
+ .forEach(function (sButton) {
847
+ if(aEnabledButtons.indexOf(sButton) === -1) {
848
+ if(sButton === ImageEditorContainerButton.Filter){
849
+ if(this._oFilterButton){
850
+ this._oFilterButton.destroy();
851
+ this._oFilterButton = null;
852
+ }
853
+ if(this._oMobileFilterButton){
854
+ this._oMobileFilterButton.destroy();
855
+ this._oMobileFilterButton = null;
856
+ }
857
+ }
858
+ if(sButton === ImageEditorContainerButton.Crop){
859
+ if(this._oCropButton){
860
+ this._oCropButton.destroy();
861
+ this._oCropButton = null;
862
+ }
863
+ if(this._oMobileCropButton){
864
+ this._oMobileCropButton.destroy();
865
+ this._oMobileCropButton = null;
866
+ }
867
+ }
868
+ if(sButton === ImageEditorContainerButton.Transform){
869
+ if(this._oTransformButton){
870
+ this._oTransformButton.destroy();
871
+ this._oTransformButton = null;
872
+ }
873
+ if(this._oMobileTransformButton){
874
+ this._oMobileTransformButton.destroy();
875
+ this._oMobileTransformButton = null;
876
+ }
877
+ }
878
+ }
879
+ }.bind(this))
880
+ }
881
+
882
+ ImageEditorContainer.prototype._updateToolbarsContent = function () {
843
883
  var oHeaderToolbar = this._getHeaderToolbar(),
844
884
  oMobileHeaderToolbar = this._getMobileHeaderToolbar(),
845
885
  oMobileFooterToolbar = this._getMobileFooterToolbar(),
@@ -849,6 +889,7 @@ sap.ui.define([
849
889
  oHeaderToolbar.removeAllContent();
850
890
  oMobileHeaderToolbar.removeAllContent();
851
891
  oMobileFooterToolbar.removeAllContent();
892
+ this._destroyDisabledToolbarButtons();
852
893
 
853
894
  this._getHistoryItems().forEach(function(oItem) {
854
895
  oHeaderToolbar.addContent(oItem);
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.suite.ui.commons.imageeditor.ImageEditorContainer
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.120.13
30
+ * @version 1.120.14
31
31
  * @since 1.68.0
32
32
  *
33
33
  * @constructor
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.120.13
25
+ * @version 1.120.14
26
26
  * @since 1.66.0
27
27
  *
28
28
  * @constructor
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.120.13
19
+ * @version 1.120.14
20
20
  * @since 1.66.0
21
21
  *
22
22
  * @constructor
@@ -202,7 +202,7 @@
202
202
  "sap.suite.ui.commons.PagePanel",
203
203
  "sap.suite.ui.commons.Page"
204
204
  ],
205
- version: "1.120.13",
205
+ version: "1.120.14",
206
206
  extensions: {
207
207
  flChangeHandlers: {
208
208
  "sap.suite.ui.commons.Timeline": "sap/suite/ui/commons/flexibility/Timeline"
@@ -347,8 +347,8 @@ PF_CONNECTION_VERTICAL_LINE=vertical line
347
347
  PF_CONNECTION_BRANCH=branch
348
348
  #XACT: Text for 'undefined' values in Aria
349
349
  PF_VALUE_UNDEFINED=Undefined
350
- #XACT: Text for default node activate
351
- PF_DEFAULT_NODE_ACTIVATE=To Activate Press Enter
350
+ #XACT: Text for node description in processflow
351
+ PF_ARIA_PROCESS_FLOW_NODE_DESC=Use arrow keys to navigate between the Process Flow Nodes
352
352
  #XACT: Text for status for header lane
353
353
  PF_ARIA_STATUS=the status is
354
354
  #XACT: Text for positive status value for header lane