@sapui5/sap.suite.ui.commons 1.106.0 → 1.107.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 (99) 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 +3 -2
  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 +3 -5
  10. package/src/sap/suite/ui/commons/CalculationBuilderVariable.js +3 -2
  11. package/src/sap/suite/ui/commons/CloudFileInfo.js +1 -1
  12. package/src/sap/suite/ui/commons/CloudFilePicker.js +74 -50
  13. package/src/sap/suite/ui/commons/MicroProcessFlow.js +47 -26
  14. package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +43 -39
  15. package/src/sap/suite/ui/commons/TimelineFilterListItem.js +17 -13
  16. package/src/sap/suite/ui/commons/collaborationhelper/CollaborationHelper.js +26 -4
  17. package/src/sap/suite/ui/commons/collaborationhelper/URLMinify.js +135 -0
  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 +1 -1
  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 +2 -2
  32. package/src/sap/suite/ui/commons/messagebundle.properties +6 -0
  33. package/src/sap/suite/ui/commons/messagebundle_ar.properties +1 -1
  34. package/src/sap/suite/ui/commons/messagebundle_bg.properties +1 -1
  35. package/src/sap/suite/ui/commons/messagebundle_ca.properties +1 -1
  36. package/src/sap/suite/ui/commons/messagebundle_cs.properties +1 -1
  37. package/src/sap/suite/ui/commons/messagebundle_cy.properties +1 -1
  38. package/src/sap/suite/ui/commons/messagebundle_da.properties +1 -1
  39. package/src/sap/suite/ui/commons/messagebundle_de.properties +2 -2
  40. package/src/sap/suite/ui/commons/messagebundle_el.properties +1 -1
  41. package/src/sap/suite/ui/commons/messagebundle_en_GB.properties +1 -1
  42. package/src/sap/suite/ui/commons/messagebundle_en_US_sappsd.properties +3 -0
  43. package/src/sap/suite/ui/commons/messagebundle_en_US_saprigi.properties +3 -0
  44. package/src/sap/suite/ui/commons/messagebundle_en_US_saptrc.properties +1 -0
  45. package/src/sap/suite/ui/commons/messagebundle_es.properties +1 -1
  46. package/src/sap/suite/ui/commons/messagebundle_es_MX.properties +1 -1
  47. package/src/sap/suite/ui/commons/messagebundle_et.properties +1 -1
  48. package/src/sap/suite/ui/commons/messagebundle_fi.properties +1 -1
  49. package/src/sap/suite/ui/commons/messagebundle_fr.properties +1 -1
  50. package/src/sap/suite/ui/commons/messagebundle_fr_CA.properties +1 -1
  51. package/src/sap/suite/ui/commons/messagebundle_hi.properties +1 -1
  52. package/src/sap/suite/ui/commons/messagebundle_hr.properties +1 -1
  53. package/src/sap/suite/ui/commons/messagebundle_hu.properties +1 -1
  54. package/src/sap/suite/ui/commons/messagebundle_id.properties +3 -3
  55. package/src/sap/suite/ui/commons/messagebundle_it.properties +1 -1
  56. package/src/sap/suite/ui/commons/messagebundle_iw.properties +1 -1
  57. package/src/sap/suite/ui/commons/messagebundle_ja.properties +1 -1
  58. package/src/sap/suite/ui/commons/messagebundle_kk.properties +1 -1
  59. package/src/sap/suite/ui/commons/messagebundle_ko.properties +1 -1
  60. package/src/sap/suite/ui/commons/messagebundle_lt.properties +1 -1
  61. package/src/sap/suite/ui/commons/messagebundle_lv.properties +1 -1
  62. package/src/sap/suite/ui/commons/messagebundle_ms.properties +1 -1
  63. package/src/sap/suite/ui/commons/messagebundle_nl.properties +1 -1
  64. package/src/sap/suite/ui/commons/messagebundle_no.properties +1 -1
  65. package/src/sap/suite/ui/commons/messagebundle_pl.properties +1 -1
  66. package/src/sap/suite/ui/commons/messagebundle_pt.properties +1 -1
  67. package/src/sap/suite/ui/commons/messagebundle_pt_PT.properties +1 -1
  68. package/src/sap/suite/ui/commons/messagebundle_ro.properties +1 -1
  69. package/src/sap/suite/ui/commons/messagebundle_ru.properties +1 -1
  70. package/src/sap/suite/ui/commons/messagebundle_sh.properties +1 -1
  71. package/src/sap/suite/ui/commons/messagebundle_sl.properties +1 -1
  72. package/src/sap/suite/ui/commons/messagebundle_sv.properties +4 -4
  73. package/src/sap/suite/ui/commons/messagebundle_th.properties +1 -1
  74. package/src/sap/suite/ui/commons/messagebundle_tr.properties +1 -1
  75. package/src/sap/suite/ui/commons/messagebundle_uk.properties +1 -1
  76. package/src/sap/suite/ui/commons/messagebundle_vi.properties +1 -1
  77. package/src/sap/suite/ui/commons/messagebundle_zh_CN.properties +1 -1
  78. package/src/sap/suite/ui/commons/messagebundle_zh_TW.properties +1 -1
  79. package/src/sap/suite/ui/commons/networkgraph/Node.js +7 -1
  80. package/src/sap/suite/ui/commons/networkgraph/layout/TwoColumnsLayout.js +24 -20
  81. package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
  82. package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
  83. package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +3 -2
  84. package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
  85. package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
  86. package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
  87. package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +3 -2
  88. package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
  89. package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
  90. package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +3 -2
  91. package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
  92. package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +1 -1
  93. package/src/sap/suite/ui/commons/statusindicator/StatusIndicatorRenderer.js +0 -1
  94. package/src/sap/suite/ui/commons/taccount/TAccount.js +3 -3
  95. package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +5 -4
  96. package/src/sap/suite/ui/commons/taccount/TAccountItem.js +1 -1
  97. package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
  98. package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +1 -1
  99. package/src/sap/suite/ui/commons/util/StringSliderTooltip.js +9 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.commons",
3
- "version": "1.106.0",
3
+ "version": "1.107.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.106.0</version>
10
+ <version>1.107.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.106.0
22
+ * @version 1.107.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.106.0
127
+ * @version 1.107.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.106.0
114
+ * @version 1.107.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.106.0
21
+ * @version 1.107.0
22
22
  * @since 1.56.0
23
23
  *
24
24
  * @constructor
@@ -85,7 +85,8 @@ sap.ui.define([
85
85
  singularName: "item"
86
86
  }
87
87
  }
88
- }
88
+ },
89
+ renderer: null // this control has no own renderer, it is rendered by the CalculationBuilder
89
90
  });
90
91
 
91
92
  CalculationBuilderFunction.prototype._getLabel = function () {
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  * @extends sap.ui.core.Control
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.106.0
18
+ * @version 1.107.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.106.0
33
+ * @version 1.107.0
34
34
  * @since 1.56.0
35
35
  *
36
36
  * @constructor
@@ -1,22 +1,20 @@
1
1
  sap.ui.define([
2
2
  "sap/ui/thirdparty/jquery",
3
- "./library",
4
- "sap/ui/core/Control",
5
3
  "sap/ui/base/ManagedObject"
6
- ], function (jQuery, library, Control, ManagedObject) {
4
+ ], function (jQuery, ManagedObject) {
7
5
  "use strict";
8
6
 
9
7
  /**
10
8
  * Constructor for a new validation result.
11
9
  *
12
10
  * @class
13
- * This control can be used for creating your own validation algorithm for custom functions.<br>
11
+ * This can be used for creating your own validation algorithm for custom functions.<br>
14
12
  * Custom functions can be defined using {@link sap.suite.ui.commons.CalculationBuilderFunction}.
15
13
  *
16
14
  * @extends sap.ui.base.ManagedObject
17
15
  *
18
16
  * @author SAP SE
19
- * @version 1.106.0
17
+ * @version 1.107.0
20
18
  * @since 1.56.0
21
19
  *
22
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.106.0
18
+ * @version 1.107.0
19
19
  * @since 1.56.0
20
20
  *
21
21
  * @constructor
@@ -60,7 +60,8 @@ sap.ui.define([
60
60
  singularName: "Item"
61
61
  }
62
62
  }
63
- }
63
+ },
64
+ renderer: null // this control has no own renderer, it is rendered by the CalculationBuilder
64
65
  });
65
66
 
66
67
  CalculationBuilderVariable.prototype._getLabel = function () {
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  /**
63
63
  * Indicate if an action is a allowed or not
64
64
  */
65
- isDocumentCreationAllowed : {type : "boolean", group : "Data"}
65
+ isDocumentCreationAllowed : {type : "boolean", group : "Data"}
66
66
  }
67
67
  }
68
68
  });
@@ -43,7 +43,10 @@ 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"
46
+ "sap/ui/core/SortOrder",
47
+ "sap/m/IllustratedMessage",
48
+ "sap/m/IllustratedMessageType",
49
+ "sap/m/IllustratedMessageSize"
47
50
  ], function (
48
51
  Button,
49
52
  Dialog,
@@ -81,7 +84,10 @@ sap.ui.define([
81
84
  Log,
82
85
  DateTimeOffset,
83
86
  Item,
84
- SortOrder
87
+ SortOrder,
88
+ IllustratedMessage,
89
+ IllustratedMessageType,
90
+ IllustratedMessageSize
85
91
  ) {
86
92
  "use strict";
87
93
 
@@ -90,7 +96,7 @@ sap.ui.define([
90
96
  var ValueState = coreLibrary.ValueState;
91
97
  var FilePickerModes = library.FilePickerModes;
92
98
  var oTableControl, oSelectControl, oBreadcrumbLinkControl, oFileNameControl,
93
- aVisibleLinks, oNavigationMap, oConfirmationButton, oNewFolderButton, oNewFolderColumnListItem;
99
+ aVisibleLinks, oNavigationMap, oConfirmationButton, oNewFolderButton, oNewFolderColumnListItem, oCurrentParentData;
94
100
 
95
101
  var oResourceBundle = sap.ui.getCore().getLibraryResourceBundle("sap.suite.ui.commons");
96
102
 
@@ -105,7 +111,7 @@ sap.ui.define([
105
111
  * @class
106
112
  * @public
107
113
  * @internal
108
- * @version 1.106.0
114
+ * @version 1.107.0
109
115
  */
110
116
  var CloudFilePicker = Dialog.extend("sap.suite.ui.commons.CloudFilePicker", {
111
117
  metadata: {
@@ -177,14 +183,6 @@ sap.ui.define([
177
183
  type: "boolean",
178
184
  group: "Data",
179
185
  defaultValue: false
180
- },
181
- /**
182
- * Specifies whether new folder can be created
183
- */
184
- enableNewFolderCreation: {
185
- type: "boolean",
186
- group: "Data",
187
- defaultValue: false
188
186
  }
189
187
  },
190
188
  events: {
@@ -297,7 +295,22 @@ sap.ui.define([
297
295
  var mParameters = oEvent.getParameters();
298
296
  if (mParameters.error) {
299
297
  this.setBusy(false);
300
- oTableControl.setNoDataText(null);
298
+ var oMessage = new IllustratedMessage({
299
+ illustrationType: IllustratedMessageType.ErrorScreen,
300
+ illustrationSize: IllustratedMessageSize.Spot,
301
+ enableVerticalResponsiveness: true,
302
+ title: oResourceBundle.getText("CFP_NO_FILESHARE_FOUND"),
303
+ description: oResourceBundle.getText("CFP_NO_FILESHARE_FOUND_RELOAD"),
304
+ additionalContent: [
305
+ new Button({
306
+ text: oResourceBundle.getText("CFP_BUTTON_RELOAD"),
307
+ press: function () {
308
+ oSelectControl.getBinding("items").refresh();
309
+ }
310
+ })
311
+ ]
312
+ });
313
+ oTableControl.setNoData(oMessage);
301
314
  } else {
302
315
  if (oEvent.getSource() && oEvent.getSource().getContexts() && oEvent.getSource().getContexts().length) {
303
316
  var sPath = oEvent.getSource().getContexts()[0].sPath;
@@ -380,19 +393,18 @@ sap.ui.define([
380
393
  };
381
394
 
382
395
  CloudFilePicker.prototype._createTableContent = function () {
383
- if (this.getEnableNewFolderCreation()) {
384
- oNewFolderButton = new Button({
385
- text: oResourceBundle.getText("CFP_TITLE_NEWFOLDER"),
386
- type: ButtonType.Transparent,
387
- enabled: false,
388
- press: function () {
389
- this._createNewFolderInline();
390
- }.bind(this)
391
- });
392
- }
396
+ oNewFolderButton = new Button({
397
+ text: oResourceBundle.getText("CFP_TITLE_NEWFOLDER"),
398
+ type: ButtonType.Transparent,
399
+ enabled: false,
400
+ press: function () {
401
+ this._createNewFolderInline();
402
+ }.bind(this)
403
+ });
393
404
  oTableControl = new Table({
394
405
  headerToolbar: new OverflowToolbar({
395
- content: [new Title({text: oResourceBundle.getText("CFP_LIST_HEADER")}),
406
+ content:[
407
+ new Title({text: oResourceBundle.getText("CFP_LIST_HEADER")}),
396
408
  new ToolbarSpacer(),
397
409
  new SearchField({
398
410
  layoutData: new OverflowToolbarLayoutData({
@@ -403,8 +415,8 @@ sap.ui.define([
403
415
  }),
404
416
  visible:false
405
417
  }),
406
- oNewFolderButton ? oNewFolderButton : null
407
- ],
418
+ oNewFolderButton
419
+ ],
408
420
  design: 'Transparent'
409
421
  }),
410
422
  columns: [
@@ -414,7 +426,8 @@ sap.ui.define([
414
426
  key: "bindingProperty",
415
427
  value: 'FileShareItemName'
416
428
  })],
417
- width: "auto"
429
+ width: "auto",
430
+ importance: "High"
418
431
  }),
419
432
  new Column({
420
433
  hAlign: "Left",
@@ -423,7 +436,8 @@ sap.ui.define([
423
436
  key: "bindingProperty",
424
437
  value: 'FileShareItemContentType'
425
438
  })],
426
- width: "17%"
439
+ width: "17%",
440
+ importance: "High"
427
441
  }),
428
442
  new Column({
429
443
  header: new Text({text: oResourceBundle.getText("CFP_OWNER")}),
@@ -431,7 +445,9 @@ sap.ui.define([
431
445
  key: "bindingProperty",
432
446
  value: 'CreatedByUser'
433
447
  })],
434
- width: "17%"
448
+ width: "17%",
449
+ importance: "Low",
450
+ visible: Device.system.phone ? false : true
435
451
  }),
436
452
  new Column({
437
453
  hAlign: "End",
@@ -440,7 +456,9 @@ sap.ui.define([
440
456
  key: "bindingProperty",
441
457
  value: 'LastChangeDateTime'
442
458
  })],
443
- width: "17%"
459
+ width: "17%",
460
+ importance: "Low",
461
+ visible: Device.system.phone ? false : true
444
462
  }),
445
463
  new Column({
446
464
  hAlign: "End",
@@ -449,7 +467,9 @@ sap.ui.define([
449
467
  key: "bindingProperty",
450
468
  value: 'FileShareItemContentSize'
451
469
  })],
452
- width: "10%"
470
+ width: "10%",
471
+ importance: "Low",
472
+ visible: Device.system.phone ? false : true
453
473
  })
454
474
  ],
455
475
  autoPopinMode: true,
@@ -465,9 +485,9 @@ sap.ui.define([
465
485
  var bIsFolder = oContext.getObject("FileShareItemKind") === "folder";
466
486
  if (bIsFolder) {
467
487
  var oSelectedFolderInfo = this._createSelectionParameter(oSelectedItem);
468
- this._resetAndApplyDefaultSorting();
469
488
  var sFileShareItemId = oSelectedFolderInfo.getFileShareItemId();
470
489
  oSelectedFolderInfo.path = oContext.getCanonicalPath();
490
+ oCurrentParentData = oSelectedFolderInfo;
471
491
  oNavigationMap.set(sFileShareItemId, oSelectedFolderInfo);
472
492
  var oNewContext = oContext
473
493
  .getModel()
@@ -511,13 +531,18 @@ sap.ui.define([
511
531
  new HBox({
512
532
  items: [
513
533
  new Icon({src:{
514
- parts: ["FileShareItemKind", "FileShareItemContentType"],
534
+ parts: ["FileShareItemKind", "FileShareItemContentType", "isDocumentCreationAllowed"],
515
535
  formatter: function (
516
536
  sFileShareItemKind,
517
- sFileShareItemContentType
537
+ sFileShareItemContentType,
538
+ sIsDocumentCreationAllowed
518
539
  ) {
519
540
  if (sFileShareItemKind === "folder") {
520
- return "sap-icon://folder-full";
541
+ if (sIsDocumentCreationAllowed === "No") {
542
+ return "sap-icon://locked";
543
+ } else {
544
+ return "sap-icon://folder-full";
545
+ }
521
546
  } else {
522
547
  return IconPool.getIconForMimeType(sFileShareItemContentType);
523
548
  }
@@ -547,21 +572,9 @@ sap.ui.define([
547
572
  },
548
573
  updateFinished: function (oEvent) {
549
574
  if (!oTableControl.getBusy()) {
550
- var sResolvedPath = oEvent.getSource().getBinding("items").getResolvedPath(), aCurrentPaths = sResolvedPath.split(/[(,=)]/), sCurrentParentFileShareItem;
551
- if (aCurrentPaths && aCurrentPaths.length && aCurrentPaths.indexOf("FileShareItem") > -1) {
552
- sCurrentParentFileShareItem = aCurrentPaths[aCurrentPaths.indexOf("FileShareItem") + 1].replace(/[']+/g, '');
553
- }
554
- var oCurrentParentData = oNavigationMap.get(sCurrentParentFileShareItem);
555
575
  if (oCurrentParentData && Object.keys(oCurrentParentData).length !== 0) {
556
576
  this._setConfirmationButtonEnabled(oCurrentParentData.getProperty("isDocumentCreationAllowed"));
557
- // New folder creation to be allowed only at child level of a particular drive
558
- if (oNewFolderButton) {
559
- if (oNavigationMap.size && oCurrentParentData.getProperty("isDocumentCreationAllowed")) {
560
- oNewFolderButton.setEnabled(true);
561
- } else {
562
- oNewFolderButton.setEnabled(false);
563
- }
564
- }
577
+ this._enableDisableNewFolderBtn();
565
578
  }
566
579
  }
567
580
  }.bind(this)
@@ -569,7 +582,10 @@ sap.ui.define([
569
582
 
570
583
  oTableControl.bActiveHeaders = true;
571
584
  oTableControl.attachEvent("columnPress", function(oEvent) {
572
- var oColumn = oEvent.getParameter("column");
585
+ var oColumn = oEvent.getParameter("column"), sColumnType = oColumn.getCustomData()[0].getValue();
586
+ if (sColumnType === "CreatedByUser" || sColumnType === "FileShareItemContentSize") {
587
+ return;
588
+ }
573
589
  var _aSortButton = [
574
590
  new ColumnPopoverSelectListItem({
575
591
  icon: "sap-icon://sort-ascending",
@@ -655,6 +671,15 @@ sap.ui.define([
655
671
  return !!oDuplicateItem;
656
672
  };
657
673
 
674
+ CloudFilePicker.prototype._enableDisableNewFolderBtn = function () {
675
+ // New folder creation to be allowed only at child level of a particular drive
676
+ if (oNavigationMap.size && oCurrentParentData.getProperty("isDocumentCreationAllowed")) {
677
+ oNewFolderButton.setEnabled(true);
678
+ } else {
679
+ oNewFolderButton.setEnabled(false);
680
+ }
681
+ };
682
+
658
683
  CloudFilePicker.prototype._makeNewFolderEntry = function (sFolderName) {
659
684
  this.setBusy(true);
660
685
  var oBinding = oTableControl.getBinding("items"), fnResolve, oPromise = new Promise(function (resolve) {
@@ -771,7 +796,6 @@ sap.ui.define([
771
796
  var iLinkIndex = oBreadcrumbLinkControl.indexOfLink(
772
797
  oEvent.getSource()
773
798
  );
774
- this._resetAndApplyDefaultSorting();
775
799
  var aRemovedLinks = aVisibleLinks.splice(iLinkIndex + 1);
776
800
  var oSelectedFolderInfo, oNewContext;
777
801
  this._updateBreadcrumbLinks();
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.106.0
31
+ * @version 1.107.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -73,7 +73,9 @@ sap.ui.define([
73
73
  }
74
74
  }
75
75
  },
76
- renderer: function (oRM, oMicroProcessFlow) {
76
+ renderer: {
77
+ apiVersion: 2,
78
+ render: function (oRM, oMicroProcessFlow) {
77
79
  var aContent = oMicroProcessFlow.getContent(),
78
80
  sWidth = oMicroProcessFlow.getWidth(),
79
81
  iLength = aContent.length,
@@ -84,55 +86,74 @@ sap.ui.define([
84
86
  return;
85
87
  }
86
88
 
87
- oRM.write("<div ");
89
+ oRM.openStart("div", oMicroProcessFlow);
88
90
 
89
- oRM.writeAttributeEscaped("role", "listbox");
90
- oRM.writeAttributeEscaped("aria-roledescription", oResourceBundle.getText("ACC_CTR_TYPE_MICRO_PROCESS_FLOW"));
91
- oRM.writeControlData(oMicroProcessFlow);
92
- oRM.writeAttribute("aria-label",sLabel);
91
+ oRM.attr("role", "listbox");
92
+ oRM.attr("aria-roledescription", oResourceBundle.getText("ACC_CTR_TYPE_MICRO_PROCESS_FLOW"));
93
+ oRM.attr("aria-label",sLabel);
93
94
 
94
95
  if (sWidth) {
95
- oRM.addStyle("width", sWidth);
96
+ oRM.style("width", sWidth);
96
97
  }
97
- oRM.writeStyles();
98
98
 
99
- oRM.addClass("sapSuiteUiCommonsMicroProcessFlow");
100
- oRM.writeClasses(oMicroProcessFlow);
101
- oRM.write(">");
99
+ oRM.class("sapSuiteUiCommonsMicroProcessFlow");
100
+ oRM.openEnd();
102
101
 
103
102
  if (oMicroProcessFlow._hasScrolling()) {
104
- oRM.write("<div tabindex=\"0\" id=\"" + oMicroProcessFlow.getId() + "-leftscroller\" class=\"sapSuiteUiCommonsMicroProcessFlowScroller sapSuiteUiCommonsMicroProcessFlowLeftScroller\">");
103
+ oRM.openStart("div");
104
+ oRM.attr("tabindex", "0");
105
+ oRM.attr("id", oMicroProcessFlow.getId() + "-leftscroller");
106
+ oRM.class("sapSuiteUiCommonsMicroProcessFlowScroller").class("sapSuiteUiCommonsMicroProcessFlowLeftScroller");
107
+ oRM.openEnd();
105
108
  oRM.renderControl(oMicroProcessFlow._getLeftScroller());
106
- oRM.write("<span id=\"" + oMicroProcessFlow.getId() + "-leftlabel\" class=\"sapSuiteUiCommonsMicroProcessFlowLeftLabel\"></span>");
107
- oRM.write("</div>");
109
+ oRM.openStart("span");
110
+ oRM.attr("id", oMicroProcessFlow.getId() + "-leftlabel");
111
+ oRM.class("sapSuiteUiCommonsMicroProcessFlowLeftLabel");
112
+ oRM.openEnd();
113
+ oRM.close("span");
114
+ oRM.close("div");
115
+
108
116
  }
109
117
 
110
- oRM.write("<div id=\"" + oMicroProcessFlow.getId() + "-content\" class=\"sapSuiteUiCommonsMicroProcessFlowContent\">");
111
- oRM.write("<div id=\"" + oMicroProcessFlow.getId() + "-scrolling\" class=\"sapSuiteUiCommonsMicroProcessFlowScrolling sapSuiteUiCommonsMicroProcessFlowScrollingTransition\"");
118
+ oRM.openStart("div");
119
+ oRM.attr("id", oMicroProcessFlow.getId() + "-content");
120
+ oRM.class("sapSuiteUiCommonsMicroProcessFlowContent");
121
+ oRM.openEnd();
122
+ oRM.openStart("div");
123
+ oRM.attr("id", oMicroProcessFlow.getId() + "-scrolling");
124
+ oRM.class("sapSuiteUiCommonsMicroProcessFlowScrolling").class("sapSuiteUiCommonsMicroProcessFlowScrollingTransition");
112
125
 
113
126
  if (oMicroProcessFlow.getRenderType() === RenderType.Wrap) {
114
- oRM.addStyle("flex-wrap", "wrap");
115
- oRM.writeStyles();
127
+ oRM.style("flex-wrap", "wrap");
116
128
  }
117
129
 
118
- oRM.write(">");
130
+ oRM.openEnd();
119
131
 
120
132
  aContent.forEach(function (oItem, i) {
121
133
  oItem._setAccessibilityData(i + 1, iLength);
122
134
  oRM.renderControl(oItem);
123
135
  });
124
136
 
125
- oRM.write("</div>");
126
- oRM.write("</div>");
137
+ oRM.close("div");
138
+ oRM.close("div");
127
139
 
128
140
  if (oMicroProcessFlow._hasScrolling()) {
129
- oRM.write("<div tabindex=\"0\" id=\"" + oMicroProcessFlow.getId() + "-rightscroller\" class=\"sapSuiteUiCommonsMicroProcessFlowScroller sapSuiteUiCommonsMicroProcessFlowRightScroller\">");
130
- oRM.write("<span id=\"" + oMicroProcessFlow.getId() + "-rightlabel\" class=\"sapSuiteUiCommonsMicroProcessFlowRightLabel\"></span>");
141
+ oRM.openStart("div");
142
+ oRM.attr("id", oMicroProcessFlow.getId() + "-rightscroller");
143
+ oRM.attr("tabindex", "0");
144
+ oRM.class("sapSuiteUiCommonsMicroProcessFlowScroller").class("sapSuiteUiCommonsMicroProcessFlowRightScroller");
145
+ oRM.openEnd();
146
+ oRM.openStart("span");
147
+ oRM.attr("id", oMicroProcessFlow.getId() + "-rightlabel");
148
+ oRM.class("sapSuiteUiCommonsMicroProcessFlowRightLabel");
149
+ oRM.openEnd();
150
+ oRM.close("span");
131
151
  oRM.renderControl(oMicroProcessFlow._getRightScroller());
132
- oRM.write("</div>");
152
+ oRM.close("div");
133
153
  }
134
154
 
135
- oRM.write("</div>");
155
+ oRM.close("div");
156
+ }
136
157
  }
137
158
  });
138
159
 
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.core.Control
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.106.0
33
+ * @version 1.107.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -123,46 +123,49 @@ sap.ui.define([
123
123
  this._setupEvents();
124
124
  this._setAccessibility();
125
125
  },
126
- renderer: function (oRM, oMicroProcessFlowItem) {
126
+ renderer: {
127
+ apiVersion: 2,
128
+ render: function (oRM, oMicroProcessFlowItem) {
127
129
  var fnRenderSeparator = function () {
128
130
  // wrapper
129
- oRM.write("<div");
130
- oRM.writeAttributeEscaped("id", oMicroProcessFlowItem.getId() + "-separator");
131
- oRM.addClass("sapSuiteUiCommonsMicroProcessFlowItemSeparatorWrapper");
132
- oRM.writeClasses();
133
- oRM.addStyle("width", oMicroProcessFlowItem._getStepWidth());
134
- oRM.writeStyles();
135
- oRM.write(">");
131
+ oRM.openStart("div");
132
+ oRM.attr("id", oMicroProcessFlowItem.getId() + "-separator");
133
+ oRM.class("sapSuiteUiCommonsMicroProcessFlowItemSeparatorWrapper");
134
+ oRM.style("width", oMicroProcessFlowItem._getStepWidth());
135
+ oRM.openEnd();
136
136
 
137
137
  // separator
138
- oRM.write("<div ");
139
- oRM.addClass("sapSuiteUiCommonsMicroProcessFlowItemSeparator");
138
+ oRM.openStart("div");
139
+ oRM.class("sapSuiteUiCommonsMicroProcessFlowItemSeparator");
140
140
  // last item doesn't have visible separator, but can have intermediary
141
141
  if (!oMicroProcessFlowItem.getShowSeparator() || bIsLast) {
142
- oRM.addClass("sapSuiteUiCommonsMicroProcessFlowItemHiddenSeparator");
142
+ oRM.class("sapSuiteUiCommonsMicroProcessFlowItemHiddenSeparator");
143
143
  }
144
- oRM.writeClasses();
145
- oRM.write(">");
146
- oRM.write("</div>");
144
+ oRM.openEnd();
145
+ oRM.close("div");
147
146
 
148
147
  if (bShowIntermediary) {
149
148
  fnRenderIntermediary();
150
149
  }
151
150
 
152
- oRM.write("</div>");
151
+ oRM.close("div");
153
152
  };
154
153
 
155
154
  var fnRenderIntermediary = function () {
156
155
  var oIntermediary = oMicroProcessFlowItem.getIntermediary();
157
156
 
158
- oRM.write("<div class=\"sapSuiteUiCommonsMicroProcessFlowItemIntermediary\" >");
157
+ oRM.openStart("div");
158
+ oRM.class("sapSuiteUiCommonsMicroProcessFlowItemIntermediary");
159
+ oRM.openEnd();
159
160
  if (oIntermediary) {
160
161
  oRM.renderControl(oIntermediary);
161
162
  } else {
162
- oRM.write("<div class=\"sapSuiteUiCommonsMicroProcessFlowItemOnHoldElement\" >");
163
- oRM.write("</div>");
163
+ oRM.openStart("div");
164
+ oRM.class("sapSuiteUiCommonsMicroProcessFlowItemOnHoldElement");
165
+ oRM.openEnd();
166
+ oRM.close("div");
164
167
  }
165
- oRM.write("</div>");
168
+ oRM.close("div");
166
169
  };
167
170
 
168
171
  var sIcon = oMicroProcessFlowItem.getIcon() || oMicroProcessFlowItem._getIconByState(),
@@ -172,29 +175,29 @@ sap.ui.define([
172
175
  oCustomControl = oMicroProcessFlowItem.getCustomControl(),
173
176
  sTitle = oMicroProcessFlowItem.getTitle();
174
177
 
175
- oRM.write("<div ");
176
- oRM.addClass("sapSuiteUiCommonsMicroProcessFlowItemWrapper");
177
- oRM.writeClasses(oMicroProcessFlowItem);
178
- oRM.writeControlData(oMicroProcessFlowItem);
179
- oRM.write(">");
178
+ oRM.openStart("div", oMicroProcessFlowItem);
179
+ oRM.class("sapSuiteUiCommonsMicroProcessFlowItemWrapper");
180
+ oRM.openEnd();
180
181
 
181
- oRM.write("<div");
182
+ oRM.openStart("div");
183
+ oRM.attr("id", sId + "-item");
182
184
  if (sTitle) {
183
- oRM.writeAttributeEscaped("title", sTitle);
185
+ oRM.attr("title", sTitle);
184
186
  }
185
- oRM.writeAttributeEscaped("id", sId + "-item");
186
- oRM.writeAttribute("class", "sapSuiteUiCommonsMicroProcessFlowItemContent");
187
- oRM.write(">");
187
+ oRM.class("sapSuiteUiCommonsMicroProcessFlowItemContent");
188
+ oRM.openEnd("div");
188
189
 
189
190
  if (oCustomControl) {
190
191
  oRM.renderControl(oCustomControl);
191
192
  } else {
192
- oRM.write("<div tabindex=\"0\" id=\"" + sId + "-itemContent\" class=\"sapSuiteUiCommonsMicroProcessFlowItem sapSuiteUiCommonsMicroProcessFlowItem" +
193
- oMicroProcessFlowItem.getState() + "\"");
194
- oRM.writeAttributeEscaped("aria-label", oMicroProcessFlowItem._getAriaText());
195
- oRM.writeAttributeEscaped("role", "option");
196
- oRM.writeAttributeEscaped("aria-selected", "false");
197
- oRM.write(">");
193
+ oRM.openStart("div");
194
+ oRM.attr("id", sId + "-itemContent");
195
+ oRM.attr("tabindex", "0");
196
+ oRM.class("sapSuiteUiCommonsMicroProcessFlowItem").class("sapSuiteUiCommonsMicroProcessFlowItem" + oMicroProcessFlowItem.getState());
197
+ oRM.attr("aria-label", oMicroProcessFlowItem._getAriaText());
198
+ oRM.attr("role", "option");
199
+ oRM.attr("aria-selected", "false");
200
+ oRM.openEnd();
198
201
 
199
202
  if (sIcon) {
200
203
  oRM.renderControl(new sap.ui.core.Icon({
@@ -202,15 +205,16 @@ sap.ui.define([
202
205
  src: sIcon
203
206
  }).addStyleClass("sapSuiteUiCommonsMicroProcessFlowItemIcon"));
204
207
  }
205
- oRM.write("</div>");
208
+ oRM.close("div");
206
209
  }
207
- oRM.write("</div>");
210
+ oRM.close("div");
208
211
 
209
212
  if (!bIsLast || bShowIntermediary) {
210
213
  fnRenderSeparator();
211
214
  }
212
215
 
213
- oRM.write("</div>");
216
+ oRM.close("div");
217
+ }
214
218
  }
215
219
  });
216
220