@sapui5/sap.suite.ui.commons 1.118.1 → 1.119.1

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 (52) 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/ChartContainer.js +0 -8
  12. package/src/sap/suite/ui/commons/CloudFilePicker.js +124 -28
  13. package/src/sap/suite/ui/commons/MicroProcessFlow.js +1 -1
  14. package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
  15. package/src/sap/suite/ui/commons/ProcessFlowNode.js +1 -9
  16. package/src/sap/suite/ui/commons/Timeline.js +1 -1
  17. package/src/sap/suite/ui/commons/TimelineRenderer.js +0 -10
  18. package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +1 -1
  19. package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
  20. package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
  21. package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
  22. package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
  23. package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
  24. package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
  25. package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
  26. package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +1 -1
  27. package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +2 -2
  28. package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
  29. package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
  30. package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
  31. package/src/sap/suite/ui/commons/library.js +20 -1
  32. package/src/sap/suite/ui/commons/messagebundle_en.properties +4 -0
  33. package/src/sap/suite/ui/commons/networkgraph/Line.js +9 -4
  34. package/src/sap/suite/ui/commons/networkgraph/Tooltip.js +15 -2
  35. package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
  36. package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
  37. package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +1 -1
  38. package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
  39. package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
  40. package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
  41. package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +1 -1
  42. package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
  43. package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
  44. package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +2 -2
  45. package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
  46. package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +1 -1
  47. package/src/sap/suite/ui/commons/taccount/TAccount.js +1 -1
  48. package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +1 -1
  49. package/src/sap/suite/ui/commons/taccount/TAccountItem.js +1 -1
  50. package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
  51. package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +1 -1
  52. package/src/sap/suite/ui/commons/themes/base/TimelineItem.less +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.commons",
3
- "version": "1.118.1",
3
+ "version": "1.119.1",
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.118.1</version>
10
+ <version>1.119.1</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.118.1
22
+ * @version 1.119.1
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.118.1
127
+ * @version 1.119.1
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.118.1
114
+ * @version 1.119.1
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.118.1
21
+ * @version 1.119.1
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.118.1
18
+ * @version 1.119.1
19
19
  * @since 1.60.0
20
20
  *
21
21
  * @constructor
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.118.1
34
+ * @version 1.119.1
35
35
  * @since 1.56.0
36
36
  *
37
37
  * @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.118.1
17
+ * @version 1.119.1
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.118.1
18
+ * @version 1.119.1
19
19
  * @since 1.56.0
20
20
  *
21
21
  * @constructor
@@ -1289,14 +1289,6 @@ sap.ui.define([
1289
1289
  return this;
1290
1290
  };
1291
1291
 
1292
- /**
1293
- * @deprecated Not supported anymore
1294
- */
1295
- ChartContainer.prototype.updateContent = function () {
1296
- this.updateAggregation("content");
1297
- this._bChartContentHasChanged = true;
1298
- };
1299
-
1300
1292
  ChartContainer.prototype.addAggregation = function (aggregationName, object, suppressInvalidate) {
1301
1293
  if (aggregationName === "dimensionSelectors") {
1302
1294
  return this.addDimensionSelector(object);
@@ -46,7 +46,9 @@ sap.ui.define([
46
46
  "sap/m/IllustratedMessage",
47
47
  "sap/m/IllustratedMessageType",
48
48
  "sap/m/IllustratedMessageSize",
49
- "sap/ui/core/format/FileSizeFormat"
49
+ "sap/ui/core/format/FileSizeFormat",
50
+ "sap/m/MessageToast",
51
+ "sap/m/CheckBox"
50
52
  ], function (
51
53
  Button,
52
54
  Dialog,
@@ -87,7 +89,9 @@ sap.ui.define([
87
89
  IllustratedMessage,
88
90
  IllustratedMessageType,
89
91
  IllustratedMessageSize,
90
- FileSizeFormat
92
+ FileSizeFormat,
93
+ MessageToast,
94
+ CheckBox
91
95
  ) {
92
96
  "use strict";
93
97
 
@@ -97,6 +101,7 @@ sap.ui.define([
97
101
  var ValueState = coreLibrary.ValueState;
98
102
  var FilePickerModes = library.FilePickerModes;
99
103
  var FilePickerType = library.FilePickerType;
104
+ var SelectionMode = library.SelectionModes;
100
105
 
101
106
  var oResourceBundle = sap.ui.getCore().getLibraryResourceBundle("sap.suite.ui.commons");
102
107
 
@@ -111,7 +116,7 @@ sap.ui.define([
111
116
  * @class
112
117
  * @public
113
118
  * @internal
114
- * @version 1.118.1
119
+ * @version 1.119.1
115
120
  */
116
121
  var CloudFilePicker = Dialog.extend("sap.suite.ui.commons.CloudFilePicker", {
117
122
  metadata: {
@@ -156,8 +161,7 @@ sap.ui.define([
156
161
  */
157
162
  title: {
158
163
  type: "string",
159
- group: "Data",
160
- defaultValue: oResourceBundle.getText("CFP_TITLE")
164
+ group: "Data"
161
165
  },
162
166
  /**
163
167
  * Specifies whether duplicate file check logic is needed.
@@ -206,6 +210,14 @@ sap.ui.define([
206
210
  MIMEType: {
207
211
  type: "string",
208
212
  group: "Data"
213
+ },
214
+ /**
215
+ * Specifies the Selection mode of the table
216
+ */
217
+ selectionMode: {
218
+ type: "sap.suite.ui.commons.SelectionModes",
219
+ group: "Data",
220
+ defaultValue: "SingleSelectMaster"
209
221
  }
210
222
  },
211
223
  events: {
@@ -253,11 +265,16 @@ sap.ui.define([
253
265
  this.oNewFolderButton = null;
254
266
  this.oNewFolderColumnListItem = null;
255
267
  this.oCurrentParentData = null;
268
+ this.oSelectedFiles = [];
256
269
  this.setResizable(true);
257
270
  this.setDraggable(true);
258
271
  this._createDialogContent();
259
272
  this._createButton();
260
273
 
274
+ if (!this.getTitle()){
275
+ this.setTitle(this.getFilePickerType() === "Export" ? oResourceBundle.getText("CFP_EXPORT") : oResourceBundle.getText("CFP_UPLOAD"));
276
+ }
277
+
261
278
  if (Device.system.phone) {
262
279
  this.setStretch(true);
263
280
  } else {
@@ -434,6 +451,7 @@ sap.ui.define([
434
451
 
435
452
  CloudFilePicker.prototype._createTableContent = function () {
436
453
  var sFilePickerType = this.getFilePickerType();
454
+ var sFileSelectionMode = this.getSelectionMode();
437
455
  this.oNewFolderButton = new Button({
438
456
  text: oResourceBundle.getText("CFP_TITLE_NEWFOLDER"),
439
457
  type: ButtonType.Transparent,
@@ -518,7 +536,7 @@ sap.ui.define([
518
536
  sticky:["HeaderToolbar","ColumnHeaders"],
519
537
  headerDesign:"Plain",
520
538
  noDataText: " ", // UX reccomends to show no text and table shows "No Data" by default
521
- mode: "SingleSelectMaster",
539
+ mode: sFilePickerType === FilePickerType.Upload && sFileSelectionMode === SelectionMode.MultiSelect ? "None" : "SingleSelectMaster",
522
540
  growing:true,
523
541
  growingScrollToLoad:true,
524
542
  itemPress: function(oControlEvent){
@@ -528,6 +546,7 @@ sap.ui.define([
528
546
  var oContext = oSelectedItem.getBindingContext();
529
547
  var bIsFolder = oContext.getObject("FileShareItemKind") === "folder";
530
548
  if (bIsFolder) {
549
+ this._clearCheckboxFileSelections();
531
550
  var oSelectedFolderInfo = this._createSelectionParameter(oSelectedItem);
532
551
  var sFileShareItemId = oSelectedFolderInfo.getFileShareItemId();
533
552
  oSelectedFolderInfo.path = oContext.getCanonicalPath();
@@ -538,10 +557,12 @@ sap.ui.define([
538
557
  .createBindingContext(oSelectedFolderInfo.path);
539
558
  this.aVisibleLinks.push({
540
559
  fileShareItemId: sFileShareItemId,
541
- title: oSelectedItem.getCells()[0].getItems()[1].getText()
560
+ title: this.getFilePickerType() === FilePickerType.Upload && this.getSelectionMode() === SelectionMode.MultiSelect ? oSelectedItem.getCells()[1].getItems()[1].getText() : oSelectedItem.getCells()[0].getItems()[1].getText()
542
561
  });
543
562
  this._updateBreadcrumbLinks();
544
563
  this.oTableControl.setBindingContext(oNewContext);
564
+ } else if (!bIsFolder && sFilePickerType === FilePickerType.Upload && sFileSelectionMode === SelectionMode.MultiSelect) {
565
+ return;
545
566
  } else {
546
567
  var sFieldValue = oContext.getProperty("FileShareItemName");
547
568
  this.oFileNameControl.setValue(sFieldValue);
@@ -666,12 +687,11 @@ sap.ui.define([
666
687
  })
667
688
  },
668
689
  updateFinished: function (oEvent) {
690
+ this._checkListForFiles();
669
691
  if (!this.oTableControl.getBusy()) {
670
692
  if (this.oCurrentParentData && Object.keys(this.oCurrentParentData).length !== 0) {
671
693
  if (sFilePickerType === FilePickerType.Export){
672
694
  this._setConfirmationButtonEnabled(this.oCurrentParentData.getProperty("isDocumentCreationAllowed"));
673
- } else {
674
- this._setConfirmationButtonEnabled(false);
675
695
  }
676
696
  this._enableDisableNewFolderBtn();
677
697
  }
@@ -705,6 +725,39 @@ sap.ui.define([
705
725
  oHeaderPopOver.openBy(oColumn);
706
726
  }.bind(this));
707
727
 
728
+ if (this.getFilePickerType() === FilePickerType.Upload && this.getSelectionMode() === SelectionMode.MultiSelect) {
729
+ var oColumn = new Column({
730
+ width: "10%",
731
+ importance: "High"
732
+ })
733
+ this.oTableControl.insertColumn(oColumn, 0);
734
+ var oTemplate = this.oTableControl.getBindingInfo("items").template;
735
+ oTemplate.insertCell(
736
+ new CheckBox({
737
+ visible: {
738
+ path: "FileShareItemKind" ,
739
+ targetType: "any",
740
+ formatter: function (
741
+ sFileShareItemKind
742
+ ) {
743
+ return sFileShareItemKind !== "folder";
744
+ }
745
+ },
746
+ select: function(oEvent) {
747
+ var oCurrentRow = oEvent.getSource().getParent();
748
+ if (oEvent.getSource().getSelected()) {
749
+ this.oSelectedFiles.push(oCurrentRow);
750
+ this._setConfirmationButtonEnabled(true);
751
+ } else {
752
+ this.oSelectedFiles.splice(this.oSelectedFiles.indexOf(oCurrentRow),1);
753
+ if (!this.oSelectedFiles.length) {
754
+ this._setConfirmationButtonEnabled(false);
755
+ }
756
+ }
757
+ }.bind(this)
758
+ }), 0);
759
+ }
760
+
708
761
  var oPage = new Page({
709
762
  showHeader:false,
710
763
  content: [this.oTableControl],
@@ -721,30 +774,43 @@ sap.ui.define([
721
774
  value: oResourceBundle.getText("CFP_TITLE_NEWFOLDER")
722
775
  });
723
776
  oNewFolderInput.attachBrowserEvent("click", function() {
724
- oNewFolderInput.setValue("");
777
+ oNewFolderInput.selectText(0,oResourceBundle.getText("CFP_TITLE_NEWFOLDER").length);
725
778
  });
726
- oNewFolderInput.attachBrowserEvent("focusout", function(oEvent) {
779
+ var _createFolder = function(oEvent) {
727
780
  if (oNewFolderInput && oNewFolderInput.getValue() !== "") {
728
781
  // Check for duplicate folder by making a backend call - Create if returns true else show error
729
- this.setBusy(true);
730
- var sFileShareKey = this.oSelectControl.getSelectedKey();
731
782
  var sSearchText = oEvent.target.value;
732
- var sDocumentType = "folder";
733
- this._checkForDuplicateFileAndFolder(sSearchText, sFileShareKey, sDocumentType, "")
734
- .then(function (oSuccess) {
735
- this.setBusy(false);
736
- if (oSuccess.value.length) {
737
- oNewFolderInput.setValueState(ValueState.Error);
738
- oNewFolderInput.setValueStateText(oResourceBundle.getText("CFP_FOLDER_EXIST"));
739
- } else {
740
- oNewFolderInput.setValueState(ValueState.None);
741
- oNewFolderInput.setValueStateText("");
742
- this._makeNewFolderEntry(oEvent.target.value);
743
- }
744
- }.bind(this));
783
+ var sSpecialCharacters = /[!@#$%^&*()+\-=\[\]{};':"\\|,.<>\/?]/;
784
+ if (sSpecialCharacters.test(sSearchText)) {
785
+ oNewFolderInput.setValueState(ValueState.Error);
786
+ oNewFolderInput.setValueStateText(oResourceBundle.getText("CFP_FOLDERNAME_VALUESTATEMSG"));
787
+ } else {
788
+ this.setBusy(true);
789
+ var sFileShareKey = this.oSelectControl.getSelectedKey();
790
+ var sDocumentType = "folder";
791
+ this._checkForDuplicateFileAndFolder(sSearchText, sFileShareKey, sDocumentType,"")
792
+ .then(function (oSuccess) {
793
+ this.setBusy(false);
794
+ if (oSuccess.value.length) {
795
+ oNewFolderInput.setValueState(ValueState.Error);
796
+ oNewFolderInput.setValueStateText(oResourceBundle.getText("CFP_FOLDER_EXIST"));
797
+ } else {
798
+ oNewFolderInput.setValueState(ValueState.None);
799
+ oNewFolderInput.setValueStateText("");
800
+ this._makeNewFolderEntry(oEvent.target.value);
801
+ }
802
+ }.bind(this));
803
+ }
745
804
  }
746
- }.bind(this));
747
-
805
+ }.bind(this);
806
+ oNewFolderInput.attachBrowserEvent("focusout", function(oEvent) {
807
+ _createFolder(oEvent);
808
+ });
809
+ oNewFolderInput.attachBrowserEvent("keypress", function(oEvent) {
810
+ if (oEvent.keyCode === 13){
811
+ _createFolder(oEvent);
812
+ }
813
+ });
748
814
  this.oNewFolderColumnListItem = new ColumnListItem({
749
815
  cells: [
750
816
  new HBox({
@@ -839,6 +905,7 @@ sap.ui.define([
839
905
  oNewFolderContext.created();
840
906
  this.oTableControl.setSelectedItem(this.oTableControl.getItems().length > 0 ? this.oTableControl.getItems()[0] : null);
841
907
  this.setBusy(false);
908
+ new MessageToast.show(oResourceBundle.getText("CFP_FOLDERCREATION_MSG"));
842
909
  }
843
910
  }.bind(this));
844
911
  };
@@ -861,6 +928,7 @@ sap.ui.define([
861
928
  };
862
929
 
863
930
  CloudFilePicker.prototype._fHandleSorting = function(oColumn, bIsAsc) {
931
+ this._clearCheckboxFileSelections();
864
932
  var sNewSort = bIsAsc ? SortOrder.Ascending : SortOrder.Descending;
865
933
  if (sNewSort === oColumn.getSortIndicator()) {
866
934
  sNewSort = SortOrder.None;
@@ -901,6 +969,7 @@ sap.ui.define([
901
969
  var oCrumb = new Link({
902
970
  text: oVisibleLink.title,
903
971
  press: function (oEvent) {
972
+ this._clearCheckboxFileSelections();
904
973
  if (this.oNewFolderColumnListItem && this.oTableControl.indexOfItem(this.oNewFolderColumnListItem) > -1) {
905
974
  this.oTableControl.removeItem(this.oNewFolderColumnListItem);
906
975
  this.oNewFolderColumnListItem.destroy();
@@ -1095,6 +1164,10 @@ sap.ui.define([
1095
1164
  mParameters.selectedFiles.push(this._createSelectionParameter(oSelectedItem));
1096
1165
  } else if (bReplaceExistingFile) {
1097
1166
  mParameters.selectedFiles.push(this._createFileParameters(this.oReturnedDupFileInfo));
1167
+ } else {
1168
+ this.oSelectedFiles.forEach(function(oItem) {
1169
+ mParameters.selectedFiles.push(this._createSelectionParameter(oItem));
1170
+ }.bind(this));
1098
1171
  }
1099
1172
 
1100
1173
  this.fireEvent("select", mParameters);
@@ -1105,6 +1178,29 @@ sap.ui.define([
1105
1178
  }.bind(this));
1106
1179
  };
1107
1180
 
1181
+ CloudFilePicker.prototype._checkListForFiles = function () {
1182
+ var bIsFileAvailable = this.oTableControl.getItems().some(function (oTableItem) {
1183
+ return oTableItem.getBindingContext().getProperty("FileShareItemKind") !== "folder";
1184
+ });
1185
+ var oColumns = this.oTableControl.getColumns();
1186
+ if (this.getFilePickerType() === FilePickerType.Upload && this.getSelectionMode() === SelectionMode.MultiSelect) {
1187
+ oColumns[0].setVisible(bIsFileAvailable);
1188
+ }
1189
+ for (var i = oColumns.length - 4; i < oColumns.length; i++) {
1190
+ oColumns[i].setVisible(bIsFileAvailable);
1191
+ }
1192
+ };
1193
+
1194
+ CloudFilePicker.prototype._clearCheckboxFileSelections = function() {
1195
+ if (this.getFilePickerType() === FilePickerType.Upload && this.getSelectionMode() === SelectionMode.MultiSelect) {
1196
+ this.oSelectedFiles.length = 0;
1197
+ this.oTableControl.getItems().forEach(function(oItem) {
1198
+ oItem.getCells()[0].setSelected(false);
1199
+ });
1200
+ this._setConfirmationButtonEnabled(false);
1201
+ }
1202
+ };
1203
+
1108
1204
  CloudFilePicker.prototype._createFileParameters = function(oValue) {
1109
1205
  var oCloudFileInfo = new CloudFileInfo();
1110
1206
  oCloudFileInfo.setFileShareId(oValue.FileShare);
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.118.1
31
+ * @version 1.119.1
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.118.1
33
+ * @version 1.119.1
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -320,12 +320,7 @@ sap.ui.define([
320
320
  } else if (this._parent) {
321
321
  // Changes the focus from previous node to the current one.
322
322
  this.getParent()._changeNavigationFocus(this.getParent()._getLastNavigationFocusElement(), this);
323
- // If the ID includes 'title', it is a title click event.
324
- if (oEvent.target.id.indexOf("title") >= 0 && this.getIsTitleClickable()) {
325
- this._parent.fireNodeTitlePress(this);
326
- } else {
327
- this._parent.fireNodePress(this);
328
- }
323
+ this._parent.fireNodePress(this);
329
324
 
330
325
  }
331
326
  if (oEvent && !oEvent.isPropagationStopped()) {
@@ -590,9 +585,6 @@ sap.ui.define([
590
585
  width: sWidth,
591
586
  maxLines: iLinesCount
592
587
  });
593
- if (this.getIsTitleClickable()) {
594
- this._headerControl.addStyleClass("sapSuiteUiCommonsProcessFlowNode3TitleClickable");
595
- }
596
588
  switch (this._getZoomLevel()) {
597
589
  case library.ProcessFlowZoomLevel.One:
598
590
  this._headerControl.addStyleClass("sapSuiteUiCommonsProcessFlowNode3TitleZoomLevel1");
@@ -3073,7 +3073,7 @@ sap.ui.define([
3073
3073
  };
3074
3074
 
3075
3075
  Timeline.prototype._scrollingFadeout = function (useBinding) {
3076
- return this.getScrollingFadeout() !== ScrollingFadeout.None && this.getEnableScroll();
3076
+ return false;
3077
3077
  };
3078
3078
 
3079
3079
  Timeline.prototype._setBusy = function (bBusy) {
@@ -202,11 +202,6 @@ sap.ui.define([
202
202
 
203
203
  eLeftScroller.addClass("sapSuiteUiCommonsTimelineHorizontalLeftScroller sapSuiteUiCommonsTimelineHorizontalScroller");
204
204
  eRightScroller.addClass("sapSuiteUiCommonsTimelineHorizontalRightScroller sapSuiteUiCommonsTimelineHorizontalScroller");
205
-
206
- if (oTimeline.getScrollingFadeout() === ScrollingFadeout.AreaWithButtons) {
207
- eLeftScroller.addChild(this._getScrollerIcon(oTimeline, "_scollerIconLeft", "Left"));
208
- eRightScroller.addChild(this._getScrollerIcon(oTimeline, "_scollerIconRight", "Right"));
209
- }
210
205
  }
211
206
 
212
207
  eScrollContainer.addClass("sapSuiteUiCommonsTimelineHorizontalScrollContainer");
@@ -478,11 +473,6 @@ sap.ui.define([
478
473
 
479
474
  eTopScroller.addClass("sapSuiteUiCommonsTimelineTopScroller sapSuiteUiCommonsTimelineVerticalScroller");
480
475
  eBottomScroller.addClass("sapSuiteUiCommonsTimelineBottomScroller sapSuiteUiCommonsTimelineVerticalScroller");
481
-
482
- if (oTimeline.getScrollingFadeout() === ScrollingFadeout.AreaWithButtons) {
483
- eTopScroller.addChild(this._getScrollerIcon(oTimeline, "_scollerIconTop", "Top"));
484
- eBottomScroller.addChild(this._getScrollerIcon(oTimeline, "_scrollerIconBottom", "Bottom"));
485
- }
486
476
  }
487
477
 
488
478
  this._setWidthAndHeight(oTimeline, eControl);
@@ -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.118.1
25
+ * @version 1.119.1
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.118.1
24
+ * @version 1.119.1
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.118.1
26
+ * @version 1.119.1
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.118.1
24
+ * @version 1.119.1
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.118.1
18
+ * @version 1.119.1
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.118.1
24
+ * @version 1.119.1
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.118.1
21
+ * @version 1.119.1
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.118.1
13
+ * @version 1.119.1
14
14
  * @since 1.66.0
15
15
  *
16
16
  * @abstract
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @extends sap.ui.core.Control
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.118.1
45
+ * @version 1.119.1
46
46
  * @since 1.66.0
47
47
  *
48
48
  * @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.118.1
127
+ * @version 1.119.1
128
128
  * @since 1.66.0
129
129
  *
130
130
  * @constructor
@@ -493,7 +493,7 @@ sap.ui.define([
493
493
  };
494
494
 
495
495
  ImageEditorContainer.prototype._isSmallSize = function() {
496
- var iSmallSize = (sap.m.ScreenSizes && sap.m.ScreenSizes.table) || 600;
496
+ var iSmallSize = 600;
497
497
 
498
498
  return this.$()[0] && this.$().width() < iSmallSize;
499
499
  };
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.suite.ui.commons.imageeditor.ImageEditorContainer
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.118.1
29
+ * @version 1.119.1
30
30
  * @since 1.68.0
31
31
  *
32
32
  * @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.118.1
25
+ * @version 1.119.1
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.118.1
19
+ * @version 1.119.1
20
20
  * @since 1.66.0
21
21
  *
22
22
  * @constructor
@@ -185,7 +185,7 @@
185
185
  "sap.suite.ui.commons.TargetFilterMeasureColumn",
186
186
  "sap.suite.ui.commons.AriaProperties"
187
187
  ],
188
- version: "1.118.1",
188
+ version: "1.119.1",
189
189
  extensions: {
190
190
  flChangeHandlers: {
191
191
  "sap.suite.ui.commons.Timeline": "sap/suite/ui/commons/flexibility/Timeline"
@@ -2293,5 +2293,24 @@
2293
2293
  Upload: "Upload"
2294
2294
  };
2295
2295
 
2296
+ /**
2297
+ * File selection mode(Upload) for the {@link sap.suite.ui.commons.CloudFilePicker}.
2298
+ *
2299
+ * @enum {string}
2300
+ * @public
2301
+ */
2302
+ oSuiteCommonsLib.SelectionModes = {
2303
+ /**
2304
+ * Allow selection of single file
2305
+ * @public
2306
+ */
2307
+ SingleSelect: "SingleSelectMaster",
2308
+ /**
2309
+ * Allow selection of multiple files
2310
+ * @public
2311
+ */
2312
+ MultiSelect: "MultiSelect"
2313
+ };
2314
+
2296
2315
  return oSuiteCommonsLib;
2297
2316
  });
@@ -464,6 +464,10 @@ CFP_NO_DATA_FILESHARE=No files or folders found
464
464
  CFP_NO_FILESHARE_FOUND=No file share found
465
465
  CFP_NO_FILESHARE_FOUND_RELOAD=Try reloading the file browser. If it doesn't help, contact your administrator.
466
466
  CFP_LOCKED_FOLDER_INFO=Files cannot be exported to this folder
467
+ CFP_FOLDERNAME_VALUESTATEMSG = Only alphanumerical characters are allowed
468
+ CFP_FOLDERCREATION_MSG = The new folder was created
469
+ CFP_EXPORT = Export
470
+ CFP_UPLOAD = Upload
467
471
 
468
472
  CFP_TITLE_LAST_CHANGED_ON=Last Changed On
469
473
  CFP_TYPE=Type
@@ -887,15 +887,20 @@ sap.ui.define([
887
887
  var sTitle = "<span class=\"sapSuiteUiCommonsNetworkGraphLineTooltipText\">" + sFromNodeText + "</span>";
888
888
 
889
889
  if (this._isBothArrow()) {
890
- sTitle += "<span class=\"sapSuiteUiCommonsNetworkGraphLineTooltipArrow sapSuiteUiCommonsNetworkGraphLineTooltipDualArrow\"></span>";
890
+ sTitle += "<span class=\"sapSuiteUiCommonsNetworkGraphLineTooltipArrow sapSuiteUiCommonsNetworkGraphLineTooltipDualArrow\"></span>"
891
+ + "<span class=\"sapSuiteUiCommonsNetworkGraphLineTooltipArrow\"></span>" + "</br>";
892
+ } else if (this.getArrowOrientation() === ArrowOrientation.ChildOf) {
893
+ sTitle += "<span class=\"sapSuiteUiCommonsNetworkGraphLineTooltipArrow\"></span>" + "</br>";
894
+ } else if (this.getArrowOrientation() === ArrowOrientation.ParentOf) {
895
+ sTitle += "<span class=\"sapSuiteUiCommonsNetworkGraphLineTooltipArrow\"></span>" + "</br>";
896
+ } else {
897
+ sTitle += "<span class=\"sapSuiteUiCommonsNetworkGraphLineTooltipArrow\"></span>" + "</br>";
891
898
  }
892
899
 
893
900
  var sToNodeTitle = oTo.getTitle();
894
901
  var sToNodeText = sToNodeTitle ? sToNodeTitle : oTo.getAltText();
895
902
 
896
- sTitle += "<span class=\"sapSuiteUiCommonsNetworkGraphLineTooltipArrow\"></span>" +
897
- "</br>" +
898
- "<span class=\"sapSuiteUiCommonsNetworkGraphLineTooltipText\">" + sToNodeText + "</span>";
903
+ sTitle += "<span class=\"sapSuiteUiCommonsNetworkGraphLineTooltipText\">" + sToNodeText + "</span>";
899
904
 
900
905
  $tooltip.html(sTitle);
901
906
  $buttons.html("");
@@ -1,3 +1,4 @@
1
+ /* eslint-disable no-unused-expressions */
1
2
  /*!
2
3
  *
3
4
  SAP UI development toolkit for HTML5 (SAPUI5)
@@ -29,15 +30,18 @@ sap.ui.define([
29
30
  "sap/m/FlexItemData",
30
31
  "sap/ui/core/library",
31
32
  "sap/m/library",
33
+ "sap/suite/ui/commons/library",
32
34
  'sap/ui/Device'
33
35
  ], function (jQuery, SvgBase, Line, Node, Group, ResponsivePopover, Popover, List, OverflowToolbar, Button,
34
36
  CustomListItem, FlexBox, HBox, IconTabBar, IconTabFilter, Panel, StandardListItem, Text, ToolbarSpacer,
35
- Icon, FlexItemData, CoreLibrary, MobileLibrary, Device) {
37
+ Icon, FlexItemData, CoreLibrary, MobileLibrary, Library, Device) {
36
38
  "use strict";
37
39
 
38
40
  // shortcut for sap.m.PlacementType
39
41
  var PlacementType = MobileLibrary.PlacementType;
40
42
 
43
+ var ArrowOrientation = Library.networkgraph.LineArrowOrientation;
44
+
41
45
  var oResourceBundle = sap.ui.getCore().getLibraryResourceBundle("sap.suite.ui.commons");
42
46
 
43
47
  /**
@@ -393,6 +397,9 @@ sap.ui.define([
393
397
  oIconLeft = new Icon({
394
398
  src: "sap-icon://arrow-left"
395
399
  }).addStyleClass("sapUiTinyMarginBegin sapSuiteUiCommonsNetworkGraphNoPointerEvents sapSuiteUiCommonsNetworkLineTooltipFromToIcon"),
400
+ oIconNone = new Icon({
401
+ src: "sap-icon://less"
402
+ }).addStyleClass("sapUiTinyMarginBegin sapSuiteUiCommonsNetworkGraphNoPointerEvents sapSuiteUiCommonsNetworkLineTooltipFromToIcon"),
396
403
  oItemTo = new Text({
397
404
  textAlign: CoreLibrary.TextAlign.End,
398
405
  width: "50%",
@@ -406,9 +413,15 @@ sap.ui.define([
406
413
  }).addStyleClass("sapSuiteUiCommonsNetworkLineTooltipFromTo");
407
414
 
408
415
  oLine._isBothArrow() ? oFromToContainer.addItem(oIconLeft) : oIcon.addStyleClass("sapUiTinyMarginBegin");
416
+ if (oLine.getArrowOrientation() === ArrowOrientation.ChildOf) {
417
+ oFromToContainer.addItem(oIconLeft);
418
+ } else if (oLine.getArrowOrientation() === ArrowOrientation.None) {
419
+ oFromToContainer.addItem(oIconNone);
420
+ } else {
409
421
  oFromToContainer.addItem(oIcon);
410
- oFromToContainer.addItem(oItemTo);
422
+ }
411
423
 
424
+ oFromToContainer.addItem(oItemTo);
412
425
  return oFromToContainer;
413
426
  },
414
427
  fnCreateDetail = function () {
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.118.1
29
+ * @version 1.119.1
30
30
  * @since 1.50
31
31
  *
32
32
  * @constructor
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.suite.ui.commons.statusindicator.Shape
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.118.1
36
+ * @version 1.119.1
37
37
  * @since 1.50
38
38
  *
39
39
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.core.Control
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.118.1
24
+ * @version 1.119.1
25
25
  * @since 1.50
26
26
  *
27
27
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.Control
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.118.1
26
+ * @version 1.119.1
27
27
  * @since 1.50
28
28
  *
29
29
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.suite.ui.commons.statusindicator.CustomShape
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.118.1
26
+ * @version 1.119.1
27
27
  * @since 1.60.0
28
28
  *
29
29
  * @constructor
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.118.1
28
+ * @version 1.119.1
29
29
  * @since 1.50
30
30
  *
31
31
  * @constructor
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Control
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.118.1
27
+ * @version 1.119.1
28
28
  * @since 1.50
29
29
  *
30
30
  * @constructor
@@ -18,7 +18,7 @@ sap.ui.define(
18
18
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.118.1
21
+ * @version 1.119.1
22
22
  * @since 1.50
23
23
  *
24
24
  * @constructor
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.118.1
40
+ * @version 1.119.1
41
41
  * @since 1.50
42
42
  *
43
43
  * @constructor
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.core.Control
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.118.1
32
+ * @version 1.119.1
33
33
  * @since 1.50
34
34
  *
35
35
  * @constructor
@@ -173,7 +173,7 @@ sap.ui.define([
173
173
  return;
174
174
  }
175
175
 
176
- var iTargetTime = iLastUpdateTime + oShape.getFullAnimationDuration() * Math.abs(iTargetValue - iDisplayedValue) / 100;
176
+ var iTargetTime = iLastUpdateTime + 250 * Math.abs(iTargetValue - iDisplayedValue) / 100;
177
177
  var iValueToUpdate = iTargetValue;
178
178
 
179
179
  if (iCurrentTime < iTargetTime) {
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.suite.ui.commons.statusindicator.Shape
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.118.1
30
+ * @version 1.119.1
31
31
  * @since 1.50
32
32
  *
33
33
  * @constructor
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @extends sap.ui.core.Control
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.118.1
50
+ * @version 1.119.1
51
51
  * @since 1.50
52
52
  *
53
53
  * @constructor
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * @extends sap.ui.core.Control
49
49
  *
50
50
  * @author SAP SE
51
- * @version 1.118.1
51
+ * @version 1.119.1
52
52
  * @since 1.58.0
53
53
  *
54
54
  * @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.118.1
35
+ * @version 1.119.1
36
36
  * @since 1.58.0
37
37
  *
38
38
  * @constructor
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Control
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.118.1
30
+ * @version 1.119.1
31
31
  * @since 1.58.0
32
32
  *
33
33
  * @constructor
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @extends sap.ui.core.Control
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.118.1
20
+ * @version 1.119.1
21
21
  * @since 1.58.0
22
22
  *
23
23
  * @constructor
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * @extends sap.ui.core.Control
56
56
  *
57
57
  * @author SAP SE
58
- * @version 1.118.1
58
+ * @version 1.119.1
59
59
  * @since 1.58.0
60
60
  *
61
61
  * @constructor
@@ -444,7 +444,6 @@
444
444
  position: relative;
445
445
  word-wrap: break-word;
446
446
  width: 100%;
447
- min-height: 4rem;
448
447
  height: auto;
449
448
  border: 0.0625rem solid;
450
449
  padding: 0 0 0 0;