@openui5/sap.ui.rta 1.102.0 → 1.102.3

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 (92) hide show
  1. package/package.json +6 -6
  2. package/src/sap/ui/rta/.library +1 -1
  3. package/src/sap/ui/rta/Client.js +1 -1
  4. package/src/sap/ui/rta/RuntimeAuthoring.js +4 -2
  5. package/src/sap/ui/rta/Utils.js +1 -1
  6. package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
  7. package/src/sap/ui/rta/appVariant/AppVariantUtils.js +4 -5
  8. package/src/sap/ui/rta/appVariant/Feature.js +3 -11
  9. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  10. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  11. package/src/sap/ui/rta/command/AddXML.js +1 -1
  12. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  13. package/src/sap/ui/rta/command/AppDescriptorCommand.js +1 -1
  14. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  15. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  16. package/src/sap/ui/rta/command/Combine.js +1 -1
  17. package/src/sap/ui/rta/command/CommandFactory.js +1 -1
  18. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  19. package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
  20. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  21. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
  22. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  23. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
  24. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  25. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  26. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  27. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  28. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  29. package/src/sap/ui/rta/command/Move.js +1 -1
  30. package/src/sap/ui/rta/command/Property.js +1 -1
  31. package/src/sap/ui/rta/command/Remove.js +1 -1
  32. package/src/sap/ui/rta/command/Rename.js +1 -1
  33. package/src/sap/ui/rta/command/Resize.js +1 -1
  34. package/src/sap/ui/rta/command/Reveal.js +1 -1
  35. package/src/sap/ui/rta/command/Settings.js +1 -1
  36. package/src/sap/ui/rta/command/Split.js +1 -1
  37. package/src/sap/ui/rta/command/Stack.js +1 -1
  38. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  39. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -1
  40. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  41. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  42. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  43. package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
  44. package/src/sap/ui/rta/library.js +2 -2
  45. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
  46. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  47. package/src/sap/ui/rta/plugin/Combine.js +1 -1
  48. package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
  49. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  50. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  51. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  52. package/src/sap/ui/rta/plugin/EasyAdd.js +1 -1
  53. package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
  54. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  55. package/src/sap/ui/rta/plugin/Plugin.js +1 -1
  56. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  57. package/src/sap/ui/rta/plugin/Remove.js +1 -1
  58. package/src/sap/ui/rta/plugin/Rename.js +1 -1
  59. package/src/sap/ui/rta/plugin/RenameHandler.js +1 -1
  60. package/src/sap/ui/rta/plugin/Resize.js +1 -1
  61. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  62. package/src/sap/ui/rta/plugin/Settings.js +1 -1
  63. package/src/sap/ui/rta/plugin/Split.js +1 -1
  64. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  65. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
  66. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  67. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
  68. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  69. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  70. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
  71. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
  72. package/src/sap/ui/rta/service/Action.js +1 -1
  73. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  74. package/src/sap/ui/rta/service/Outline.js +1 -1
  75. package/src/sap/ui/rta/service/Property.js +1 -1
  76. package/src/sap/ui/rta/service/Selection.js +1 -1
  77. package/src/sap/ui/rta/themes/base/Toolbar.adaptation.less +19 -4
  78. package/src/sap/ui/rta/toolbar/Adaptation.js +1 -1
  79. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  80. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  81. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  82. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  83. package/src/sap/ui/rta/toolbar/Personalization.js +1 -1
  84. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  85. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  86. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  87. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  88. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  89. package/src/sap/ui/rta/util/adaptationStarter.js +12 -6
  90. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
  91. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
  92. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.rta",
3
- "version": "1.102.0",
3
+ "version": "1.102.3",
4
4
  "description": "OpenUI5 UI Library sap.ui.rta",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,10 +14,10 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.102.0",
18
- "@openui5/sap.ui.core": "1.102.0",
19
- "@openui5/sap.ui.dt": "1.102.0",
20
- "@openui5/sap.ui.fl": "1.102.0",
21
- "@openui5/sap.ui.layout": "1.102.0"
17
+ "@openui5/sap.m": "1.102.3",
18
+ "@openui5/sap.ui.core": "1.102.3",
19
+ "@openui5/sap.ui.dt": "1.102.3",
20
+ "@openui5/sap.ui.fl": "1.102.3",
21
+ "@openui5/sap.ui.layout": "1.102.3"
22
22
  }
23
23
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.102.0</version>
9
+ <version>1.102.3</version>
10
10
 
11
11
  <documentation>SAPUI5 library with RTA controls.</documentation>
12
12
 
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @alias sap.ui.rta.Client
58
58
  * @author SAP SE
59
59
  * @since 1.56.0
60
- * @version 1.102.0
60
+ * @version 1.102.3
61
61
  * @private
62
62
  * @ui5-restricted
63
63
  */
@@ -116,7 +116,7 @@ sap.ui.define([
116
116
  * @class The runtime authoring allows to adapt the fields of a running application.
117
117
  * @extends sap.ui.base.ManagedObject
118
118
  * @author SAP SE
119
- * @version 1.102.0
119
+ * @version 1.102.3
120
120
  * @constructor
121
121
  * @private
122
122
  * @since 1.30
@@ -939,12 +939,14 @@ sap.ui.define([
939
939
  RuntimeAuthoring.prototype._activate = function(sVersionTitle) {
940
940
  var sLayer = this.getLayer();
941
941
  var oSelector = this.getRootControlInstance();
942
+ var sDisplayedVersion = this._oVersionsModel.getProperty("/displayedVersion");
942
943
  return this._serializeAndSave()
943
944
  .then(function () {
944
945
  return VersionsAPI.activate({
945
946
  layer: sLayer,
946
947
  control: oSelector,
947
- title: sVersionTitle
948
+ title: sVersionTitle,
949
+ displayedVersion: sDisplayedVersion
948
950
  });
949
951
  }).then(function () {
950
952
  this._showMessageToast("MSG_DRAFT_ACTIVATION_SUCCESS");
@@ -45,7 +45,7 @@ function(
45
45
  *
46
46
  * @namespace
47
47
  * @author SAP SE
48
- * @version 1.102.0
48
+ * @version 1.102.3
49
49
  *
50
50
  * @private
51
51
  * @since 1.30
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @class
25
25
  * @extends sap.ui.base.ManagedObject
26
26
  * @author SAP SE
27
- * @version 1.102.0
27
+ * @version 1.102.3
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.53
@@ -43,11 +43,12 @@ sap.ui.define([
43
43
 
44
44
  xhr.onload = function() {
45
45
  if (xhr.status >= 200 && xhr.status < 400) {
46
- resolve(xhr.response);
46
+ resolve(xhr.response === "true");
47
47
  } else {
48
48
  var oError = new Error(xhr.statusText);
49
49
  oError.status = xhr.status;
50
- reject(oError);
50
+ Log.error("Response status code is: " + oError.status, "Stacktrace: " + oError.stack);
51
+ reject(false);
51
52
  }
52
53
  };
53
54
  });
@@ -593,9 +594,7 @@ sap.ui.define([
593
594
  };
594
595
 
595
596
  AppVariantUtils.handleBeforeUnloadEvent = function () {
596
- // oEvent.preventDefault();
597
- var sMessage = AppVariantUtils.getText("MSG_DO_NOT_CLOSE_BROWSER");
598
- return sMessage;
597
+ return AppVariantUtils.getText("MSG_DO_NOT_CLOSE_BROWSER");
599
598
  };
600
599
 
601
600
  AppVariantUtils.showMessage = function(sMessageKey) {
@@ -12,8 +12,7 @@ sap.ui.define([
12
12
  "sap/ui/fl/registry/Settings",
13
13
  "sap/ui/fl/write/_internal/appVariant/AppVariantFactory",
14
14
  "sap/ui/fl/write/api/FeaturesAPI",
15
- "sap/base/util/merge",
16
- "sap/base/Log"
15
+ "sap/base/util/merge"
17
16
  ], function(
18
17
  FlexUtils,
19
18
  AppVariantUtils,
@@ -22,8 +21,7 @@ sap.ui.define([
22
21
  Settings,
23
22
  AppVariantFactory,
24
23
  FeaturesAPI,
25
- merge,
26
- Log
24
+ merge
27
25
  ) {
28
26
  "use strict";
29
27
 
@@ -156,13 +154,7 @@ sap.ui.define([
156
154
  },
157
155
  isManifestSupported: function() {
158
156
  var oDescriptor = fnGetDescriptor();
159
-
160
- return AppVariantUtils.getManifirstSupport(oDescriptor["sap.app"].id).then(function(oResult) {
161
- return oResult.response;
162
- }).catch(function(oError) {
163
- Log.error("Response status code is: " + oError.status, "Stacktrace: " + oError.stack);
164
- return false;
165
- });
157
+ return AppVariantUtils.getManifirstSupport(oDescriptor["sap.app"].id);
166
158
  },
167
159
  /**
168
160
  * @param {object} oRootControl - Root control of an app (variant)
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  * @author SAP SE
19
- * @version 1.102.0
19
+ * @version 1.102.3
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.75
@@ -14,7 +14,7 @@ sap.ui.define([
14
14
  * @class
15
15
  * @extends sap.ui.rta.command.FlexCommand
16
16
  * @author SAP SE
17
- * @version 1.102.0
17
+ * @version 1.102.3
18
18
  * @constructor
19
19
  * @private
20
20
  * @since 1.78
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  * @author SAP SE
19
- * @version 1.102.0
19
+ * @version 1.102.3
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.54
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @class
25
25
  * @extends sap.ui.rta.command.FlexCommand
26
26
  * @author SAP SE
27
- * @version 1.102.0
27
+ * @version 1.102.3
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.76
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.rta.command.BaseCommand
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.102.0
24
+ * @version 1.102.3
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/base/ManagedObject"], function(ManagedObject) {
13
13
  * @extends sap.ui.base.ManagedObject
14
14
  *
15
15
  * @author SAP SE
16
- * @version 1.102.0
16
+ * @version 1.102.3
17
17
  *
18
18
  * @constructor
19
19
  * @private
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @class
27
27
  * @extends sap.ui.rta.command.FlexCommand
28
28
  * @author SAP SE
29
- * @version 1.102.0
29
+ * @version 1.102.3
30
30
  * @constructor
31
31
  * @private
32
32
  * @since 1.38
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  * @author SAP SE
19
- * @version 1.102.0
19
+ * @version 1.102.3
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.46
@@ -485,7 +485,7 @@ sap.ui.define([
485
485
  * @extends sap.ui.base.ManagedObject
486
486
  *
487
487
  * @author SAP SE
488
- * @version 1.102.0
488
+ * @version 1.102.3
489
489
  *
490
490
  * @constructor
491
491
  * @private
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.rta.command.BaseCommand
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.102.0
24
+ * @version 1.102.3
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @class
21
21
  * @extends sap.ui.rta.command.BaseCommand
22
22
  * @author SAP SE
23
- * @version 1.102.0
23
+ * @version 1.102.3
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.52
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @class
21
21
  * @extends sap.ui.rta.command.BaseCommand
22
22
  * @author SAP SE
23
- * @version 1.102.0
23
+ * @version 1.102.3
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.86
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @class
25
25
  * @extends sap.ui.rta.command.BaseCommand
26
26
  * @author SAP SE
27
- * @version 1.102.0
27
+ * @version 1.102.3
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.86
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.BaseCommand
18
18
  * @author SAP SE
19
- * @version 1.102.0
19
+ * @version 1.102.3
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.50
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @class
21
21
  * @extends sap.ui.rta.command.BaseCommand
22
22
  * @author SAP SE
23
- * @version 1.102.0
23
+ * @version 1.102.3
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.50
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.102.0
15
+ * @version 1.102.3
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.34
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.102.0
15
+ * @version 1.102.3
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.62
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.rta.command.BaseCommand
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.102.0
32
+ * @version 1.102.3
33
33
  *
34
34
  * @constructor
35
35
  * @private
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @class
30
30
  * @extends sap.ui.base.ManagedObject
31
31
  * @author SAP SE
32
- * @version 1.102.0
32
+ * @version 1.102.3
33
33
  * @constructor
34
34
  * @private
35
35
  * @since 1.42
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @class
21
21
  * @extends sap.ui.rta.command.BaseCommand
22
22
  * @author SAP SE
23
- * @version 1.102.0
23
+ * @version 1.102.3
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.90
@@ -17,7 +17,7 @@ function(
17
17
  * @class
18
18
  * @extends sap.ui.rta.command.FlexCommand
19
19
  * @author SAP SE
20
- * @version 1.102.0
20
+ * @version 1.102.3
21
21
  * @constructor
22
22
  * @private
23
23
  * @since 1.34
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  * @author SAP SE
19
- * @version 1.102.0
19
+ * @version 1.102.3
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.34
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.102.0
15
+ * @version 1.102.3
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.42
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.102.0
15
+ * @version 1.102.3
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.34
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  * @author SAP SE
19
- * @version 1.102.0
19
+ * @version 1.102.3
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.101
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.102.0
15
+ * @version 1.102.3
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.44
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.102.0
15
+ * @version 1.102.3
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.44
@@ -14,7 +14,7 @@ sap.ui.define([
14
14
  * @class
15
15
  * @extends sap.ui.rta.command.FlexCommand
16
16
  * @author SAP SE
17
- * @version 1.102.0
17
+ * @version 1.102.3
18
18
  * @constructor
19
19
  * @private
20
20
  * @since 1.46
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * @class
56
56
  * @extends sap.ui.base.ManagedObject
57
57
  * @author SAP SE
58
- * @version 1.102.0
58
+ * @version 1.102.3
59
59
  * @constructor
60
60
  * @private
61
61
  * @since 1.34
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @extends sap.ui.rta.command.AppDescriptorCommand
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.102.0
20
+ * @version 1.102.3
21
21
  *
22
22
  * @constructor
23
23
  * @private
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.BaseCommand
18
18
  * @author SAP SE
19
- * @version 1.102.0
19
+ * @version 1.102.3
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.102
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @class
19
19
  * @extends sap.ui.rta.command.BaseCommand
20
20
  * @author SAP SE
21
- * @version 1.102.0
21
+ * @version 1.102.3
22
22
  * @constructor
23
23
  * @private
24
24
  * @since 1.87
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.BaseCommand
18
18
  * @author SAP SE
19
- * @version 1.102.0
19
+ * @version 1.102.3
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.87
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @class
21
21
  * @extends sap.ui.rta.command.BaseCommand
22
22
  * @author SAP SE
23
- * @version 1.102.0
23
+ * @version 1.102.3
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.87
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * E.g. <code>controlEnablingCheck.only("Remove");</code>
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.102.0
54
+ * @version 1.102.3
55
55
  *
56
56
  * @static
57
57
  * @since 1.42
@@ -23,14 +23,14 @@ function() {
23
23
  * @namespace
24
24
  * @alias sap.ui.rta
25
25
  * @author SAP SE
26
- * @version 1.102.0
26
+ * @version 1.102.3
27
27
  * @since 1.50
28
28
  * @private
29
29
  * @experimental This class is experimental and provides only limited functionality. Also the API might be changed in future.
30
30
  */
31
31
  var thisLib = sap.ui.getCore().initLibrary({
32
32
  name: "sap.ui.rta",
33
- version: "1.102.0",
33
+ version: "1.102.3",
34
34
  dependencies: ["sap.ui.core", "sap.m", "sap.ui.fl", "sap.ui.dt"],
35
35
  types: [],
36
36
  interfaces: [],
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @class
46
46
  * @extends sap.ui.rta.plugin.Plugin
47
47
  * @author SAP SE
48
- * @version 1.102.0
48
+ * @version 1.102.3
49
49
  * @constructor
50
50
  * @private
51
51
  * @since 1.78
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @class The BaseCreate allows trigger BaseCreate operations on the overlay.
24
24
  * @extends sap.ui.rta.plugin.Plugin
25
25
  * @author SAP SE
26
- * @version 1.102.0
26
+ * @version 1.102.3
27
27
  * @constructor
28
28
  * @private
29
29
  * @since 1.75
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @class
26
26
  * @extends sap.ui.rta.plugin.Plugin
27
27
  * @author SAP SE
28
- * @version 1.102.0
28
+ * @version 1.102.3
29
29
  * @constructor
30
30
  * @private
31
31
  * @since 1.46
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @class The ControlVariant allows propagation of variantManagement key
44
44
  * @extends sap.ui.rta.plugin.Plugin
45
45
  * @author SAP SE
46
- * @version 1.102.0
46
+ * @version 1.102.3
47
47
  * @constructor
48
48
  * @private
49
49
  * @since 1.50
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @class The CreateContainer allows trigger CreateContainer operations on the overlay
26
26
  * @extends sap.ui.rta.plugin.BaseCreate
27
27
  * @author SAP SE
28
- * @version 1.102.0
28
+ * @version 1.102.3
29
29
  * @constructor
30
30
  * @private
31
31
  * @since 1.34
@@ -31,7 +31,7 @@ function(
31
31
  * @extends sap.ui.dt.plugin.CutPaste
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.102.0
34
+ * @version 1.102.3
35
35
  *
36
36
  * @constructor
37
37
  * @private
@@ -33,7 +33,7 @@ function(
33
33
  * @extends sap.ui.dt.plugin.ControlDragDrop
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.102.0
36
+ * @version 1.102.3
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @class The EasyAdd Plugin adds an Icon to an Overlay, which allows to trigger add operations directly
26
26
  * @extends sap.ui.rta.plugin.additionalElements.AdditionalElementsPlugin
27
27
  * @author SAP SE
28
- * @version 1.102.0
28
+ * @version 1.102.3
29
29
  * @constructor
30
30
  * @private
31
31
  * @since 1.48
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @class The EasyRemove Plugin adds an Icon to an Overlay, which allows to trigger remove operations directly
24
24
  * @extends sap.ui.rta.plugin.Remove
25
25
  * @author SAP SE
26
- * @version 1.102.0
26
+ * @version 1.102.3
27
27
  * @constructor
28
28
  * @private
29
29
  * @since 1.48
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @class
36
36
  * @extends sap.ui.rta.plugin.Plugin
37
37
  * @author SAP SE
38
- * @version 1.102.0
38
+ * @version 1.102.3
39
39
  * @constructor
40
40
  * @private
41
41
  * @since 1.90
@@ -69,7 +69,7 @@ function(
69
69
  * @extends sap.ui.dt.Plugin
70
70
  *
71
71
  * @author SAP SE
72
- * @version 1.102.0
72
+ * @version 1.102.3
73
73
  *
74
74
  * @constructor
75
75
  * @private
@@ -35,7 +35,7 @@ function(
35
35
  * The RTAElementMover is responsible for the RTA specific adaptation of element movements.
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.102.0
38
+ * @version 1.102.3
39
39
  *
40
40
  * @constructor
41
41
  * @private
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @class The Remove allows trigger remove operations on the overlay
30
30
  * @extends sap.ui.rta.plugin.Plugin
31
31
  * @author SAP SE
32
- * @version 1.102.0
32
+ * @version 1.102.3
33
33
  * @constructor
34
34
  * @private
35
35
  * @since 1.34
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.rta.plugin.Plugin
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.102.0
31
+ * @version 1.102.3
32
32
  *
33
33
  * @constructor
34
34
  * @private
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * Provides Rename handling functionality
56
56
  *
57
57
  * @author SAP SE
58
- * @version 1.102.0
58
+ * @version 1.102.3
59
59
  *
60
60
  * @constructor
61
61
  * @private
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @class
28
28
  * @extends sap.ui.rta.plugin.Plugin
29
29
  * @author SAP SE
30
- * @version 1.102.0
30
+ * @version 1.102.3
31
31
  * @constructor
32
32
  * @private
33
33
  * @since 1.101
@@ -30,7 +30,7 @@ function (
30
30
  * @class The Selection plugin allows you to select or focus overlays with mouse or keyboard and navigate to others.
31
31
  * @extends sap.ui.rta.plugin.Plugin
32
32
  * @author SAP SE
33
- * @version 1.102.0
33
+ * @version 1.102.3
34
34
  * @constructor
35
35
  * @private
36
36
  * @since 1.34
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @class The Settings allows trigger change of settings operations on the overlay
26
26
  * @extends sap.ui.rta.plugin.Plugin
27
27
  * @author SAP SE
28
- * @version 1.102.0
28
+ * @version 1.102.3
29
29
  * @constructor
30
30
  * @private
31
31
  * @since 1.44
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @class
24
24
  * @extends sap.ui.rta.plugin.Plugin
25
25
  * @author SAP SE
26
- * @version 1.102.0
26
+ * @version 1.102.3
27
27
  * @constructor
28
28
  * @private
29
29
  * @since 1.46
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.rta.plugin.Plugin
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.102.0
34
+ * @version 1.102.3
35
35
  *
36
36
  * @constructor
37
37
  * @private
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * handled by the AdditionalElements Plugin (Reveal, Add Via Delegate, Add Custom)
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.102.0
35
+ * @version 1.102.3
36
36
  * @private
37
37
  * @since 1.94
38
38
  * @experimental Since 1.94. This class is experimental and provides only limited functionality. Also the API might be changed in future.
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @class Context - Dialog for available Fields in Runtime Authoring
33
33
  * @extends sap.ui.base.ManagedObject
34
34
  * @author SAP SE
35
- * @version 1.102.0
35
+ * @version 1.102.3
36
36
  * @constructor
37
37
  * @private
38
38
  * @since 1.44
@@ -75,7 +75,7 @@ sap.ui.define([
75
75
  * @class The plugin allows to add additional elements that exist either hidden in the UI or in the OData service
76
76
  * @extends sap.ui.rta.plugin.Plugin
77
77
  * @author SAP SE
78
- * @version 1.102.0
78
+ * @version 1.102.3
79
79
  * @constructor
80
80
  * @private
81
81
  * @since 1.44
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  * Helper object containing methods for the AdditionalElements plugin
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.102.0
18
+ * @version 1.102.3
19
19
  * @private
20
20
  * @since 1.94
21
21
  * @experimental Since 1.94. This class is experimental and provides only limited functionality. Also the API might be changed in future.
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * Helper object to build the RTA commands resulting from the AdditionalElements Plugin
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.102.0
28
+ * @version 1.102.3
29
29
  * @private
30
30
  * @since 1.94
31
31
  * @experimental Since 1.94. This class is experimental and provides only limited functionality. Also the API might be changed in future.
@@ -110,7 +110,7 @@ sap.ui.define([
110
110
  * @class The AddIFrame allows trigger AddIFrame operations on the overlay.
111
111
  * @extends sap.ui.rta.plugin.BaseCreate
112
112
  * @author SAP SE
113
- * @version 1.102.0
113
+ * @version 1.102.3
114
114
  * @constructor
115
115
  * @private
116
116
  * @since 1.75
@@ -113,7 +113,7 @@ sap.ui.define([
113
113
  * @class Context - Dialog for IFrame settings in Runtime Authoring
114
114
  * @extends sap.ui.base.ManagedObject
115
115
  * @author SAP SE
116
- * @version 1.102.0
116
+ * @version 1.102.3
117
117
  * @constructor
118
118
  * @private
119
119
  * @since 1.78
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @author SAP SE
26
26
  * @experimental Since 1.58
27
27
  * @since 1.58
28
- * @version 1.102.0
28
+ * @version 1.102.3
29
29
  * @private
30
30
  * @ui5-restricted
31
31
  *
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @author SAP SE
32
32
  * @experimental Since 1.58
33
33
  * @since 1.58
34
- * @version 1.102.0
34
+ * @version 1.102.3
35
35
  * @private
36
36
  * @ui5-restricted
37
37
  */
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @author SAP SE
43
43
  * @experimental Since 1.56
44
44
  * @since 1.56
45
- * @version 1.102.0
45
+ * @version 1.102.3
46
46
  * @private
47
47
  * @ui5-restricted
48
48
  */
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @author SAP SE
29
29
  * @experimental Since 1.58
30
30
  * @since 1.58
31
- * @version 1.102.0
31
+ * @version 1.102.3
32
32
  * @private
33
33
  * @ui5-restricted
34
34
  */
@@ -15,7 +15,7 @@ sap.ui.define(function () {
15
15
  * @author SAP SE
16
16
  * @experimental Since 1.58
17
17
  * @since 1.58
18
- * @version 1.102.0
18
+ * @version 1.102.3
19
19
  * @private
20
20
  * @ui5-restricted
21
21
  */
@@ -6,13 +6,14 @@
6
6
  @_sap_ui_rta_Toolbar_Adaptation_BtnFocusBorder: @sapUiTextInverted; //#fff
7
7
  @_sap_ui_rta_Toolbar_Adaptation_BtnHoverBG: @sapUiSegmentedButtonHoverBackground; //#ec8b46
8
8
  @_sap_ui_rta_Toolbar_Adaptation_BorderColor: @sapUiLightBorder; //#808080
9
- @_sap_ui_rta_Toolbar_Adaptation_DraftVersionColor: @sapUiHighlight; // #ec8b46
10
- @_sap_ui_rta_Toolbar_Adaptation_ActiveVersionColor: @sapUiPositiveText; // #b5e7a8
9
+ @_sap_ui_rta_Toolbar_Adaptation_DraftVersionColor: lighten(@sapUiActive, 20%); //#f5c5a3
10
+ @_sap_ui_rta_Toolbar_Adaptation_ActiveVersionColor: lighten(@sapUiContentHelpColor, 66%); //#b7ffb7
11
11
  @_sap_ui_rta_Toolbar_Adaptation_BoxShadow_DarkColor: @sapUiDarkShadowTint; // #000
12
12
  @_sap_ui_rta_Toolbar_Adaptation_BoxShadow_LightColor: @sapUiLightShadowTint; // #fff
13
13
  @_sap_ui_rta_Toolbar_Adaptation_BtnHoverText: @sapUiTextInverted; //#fff
14
14
  @_sap_ui_rta_Toolbar_Adaptation_SegBBtnHoverTextColor: @sapUiTextInverted; //#fff
15
15
  @_sap_ui_rta_Toolbar_Adaptation_FocusOutlineCol: @sapUiTextInverted; //#fff
16
+ @_sap_ui_rta_Toolbar_Adaptation_VersionHistoryHover: darken(@_sap_ui_rta_Toolbar_Adaptation_BaseColor, 5%);
16
17
 
17
18
  .sapUiRtaMode {
18
19
 
@@ -192,6 +193,9 @@
192
193
 
193
194
  .sapUiRtaVersionsList {
194
195
  border-bottom: 0.05rem solid @_sap_ui_rta_Toolbar_Adaptation_TextColor;
196
+ ul > li:first-child.sapMLIBFocusable:focus {
197
+ outline: none;
198
+ }
195
199
  }
196
200
 
197
201
  .sapMLIBHighlightSuccess ~ .sapMLIBContent .sapMFeedListItemTextString {
@@ -200,17 +204,19 @@
200
204
 
201
205
  .sapMLIBHighlightSuccess ~ .sapMLIBContent .sapMFeedListItemInfoText,
202
206
  .sapMLIBHighlightSuccess ~ .sapMLIBContent .sapMFeedListItemTimestampText {
203
- color: darken(@_sap_ui_rta_Toolbar_Adaptation_ActiveVersionColor, 10%);
207
+ color: @_sap_ui_rta_Toolbar_Adaptation_ActiveVersionColor;
204
208
  }
205
209
 
206
210
  .sapMFeedListItemTextString {
207
211
  color: @_sap_ui_rta_Toolbar_Adaptation_TextColor;
212
+ cursor: pointer;
208
213
  }
209
214
 
210
215
  .sapMFeedListItemFooter,
211
216
  .sapMFeedListItemTimestampText,
212
217
  .sapMFeedListItemInfoText {
213
- color: darken(@_sap_ui_rta_Toolbar_Adaptation_TextColor, 20%);
218
+ color: @_sap_ui_rta_Toolbar_Adaptation_TextColor;
219
+ cursor: pointer;
214
220
  }
215
221
 
216
222
  .sapMPopoverArr:after,
@@ -220,6 +226,15 @@
220
226
  background-color: @_sap_ui_rta_Toolbar_Adaptation_BaseColor;
221
227
  border: 0;
222
228
  }
229
+
230
+ .sapMLIBFocusable:focus {
231
+ outline: 0.0625rem dotted @_sap_ui_rta_Toolbar_Adaptation_TextColor;
232
+ outline-offset: calc(-0.0625rem - 0.0625rem);
233
+ }
234
+
235
+ .sapMLIBHoverable:hover {
236
+ background: @_sap_ui_rta_Toolbar_Adaptation_VersionHistoryHover;
237
+ }
223
238
  }
224
239
  }
225
240
 
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @extends sap.ui.rta.toolbar.Base
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.102.0
46
+ * @version 1.102.3
47
47
  *
48
48
  * @constructor
49
49
  * @private
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.m.HBox
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.102.0
28
+ * @version 1.102.3
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -32,7 +32,7 @@ function(
32
32
  * @extends sap.ui.rta.toolbar.Adaptation
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.102.0
35
+ * @version 1.102.3
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -20,7 +20,7 @@ function(
20
20
  * @extends sap.ui.rta.toolbar.Adaptation
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.102.0
23
+ * @version 1.102.3
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.m.OverflowToolbarButton
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.102.0
26
+ * @version 1.102.3
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -22,7 +22,7 @@ function(
22
22
  * @extends sap.ui.rta.toolbar.Base
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.102.0
25
+ * @version 1.102.3
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -20,7 +20,7 @@ function(
20
20
  * @extends sap.ui.rta.toolbar.Adaptation
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.102.0
23
+ * @version 1.102.3
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @class
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.102.0
56
+ * @version 1.102.3
57
57
  *
58
58
  * @constructor
59
59
  * @private
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  * Constructor for a new sap.ui.rta.util.PluginManager
69
69
  * @extends sap.ui.base.ManagedObject
70
70
  * @author SAP SE
71
- * @version 1.102.0
71
+ * @version 1.102.3
72
72
  * @constructor
73
73
  * @private
74
74
  * @since 1.86
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * Constructor for a new sap.ui.rta.util.PopupManager
43
43
  * @extends sap.ui.base.ManagedObject
44
44
  * @author SAP SE
45
- * @version 1.102.0
45
+ * @version 1.102.3
46
46
  * @constructor
47
47
  * @private
48
48
  * @since 1.48
@@ -19,7 +19,7 @@ function(
19
19
  *
20
20
  * @extends sap.ui.core.EventBus
21
21
  * @author SAP SE
22
- * @version 1.102.0
22
+ * @version 1.102.3
23
23
  * @private
24
24
  * @since 1.56.0
25
25
  * @alias sap.ui.rta.util.ServiceEventBus
@@ -4,6 +4,7 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
7
+ "sap/base/util/UriParameters",
7
8
  "sap/base/Log",
8
9
  "sap/ui/core/Control",
9
10
  "sap/ui/core/UIComponent",
@@ -14,6 +15,7 @@ sap.ui.define([
14
15
  "sap/ui/rta/util/showMessageBox",
15
16
  "sap/ui/rta/RuntimeAuthoring"
16
17
  ], function(
18
+ UriParameters,
17
19
  Log,
18
20
  Control,
19
21
  UIComponent,
@@ -41,13 +43,17 @@ sap.ui.define([
41
43
  }
42
44
 
43
45
  function checkFlexEnabled(oAppComponent) {
44
- var oManifest = oAppComponent.getManifest() || {};
45
- var vFlexEnabled = oManifest["sap.ui5"] && oManifest["sap.ui5"].flexEnabled;
46
+ // fiori tools is always a developer scenario where the flexEnabled flag should not be evaluated
47
+ var sFioriToolsMode = UriParameters.fromQuery(window.location.search).get("fiori-tools-rta-mode");
48
+ if (!sFioriToolsMode || sFioriToolsMode === "false") {
49
+ var oManifest = oAppComponent.getManifest() || {};
50
+ var vFlexEnabled = oManifest["sap.ui5"] && oManifest["sap.ui5"].flexEnabled;
46
51
 
47
- if (vFlexEnabled === false) {
48
- var oError = Error("This app is not enabled for key user adaptation");
49
- oError.reason = "flexEnabled";
50
- throw oError;
52
+ if (vFlexEnabled === false) {
53
+ var oError = Error("This app is not enabled for key user adaptation");
54
+ oError.reason = "flexEnabled";
55
+ throw oError;
56
+ }
51
57
  }
52
58
  }
53
59
 
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * @alias sap.ui.rta.util.changeVisualization.ChangeIndicator
49
49
  * @author SAP SE
50
50
  * @since 1.84.0
51
- * @version 1.102.0
51
+ * @version 1.102.3
52
52
  * @private
53
53
  */
54
54
  var ChangeIndicator = Control.extend("sap.ui.rta.util.changeVisualization.ChangeIndicator", {
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @alias sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry
26
26
  * @author SAP SE
27
27
  * @since 1.86.0
28
- * @version 1.102.0
28
+ * @version 1.102.3
29
29
  * @private
30
30
  */
31
31
  var ChangeIndicatorRegistry = ManagedObject.extend("sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry", {
@@ -93,7 +93,7 @@ sap.ui.define([
93
93
  * @alias sap.ui.rta.util.changeVisualization.ChangeVisualization
94
94
  * @author SAP SE
95
95
  * @since 1.84.0
96
- * @version 1.102.0
96
+ * @version 1.102.3
97
97
  * @private
98
98
  */
99
99
  var ChangeVisualization = Control.extend("sap.ui.rta.util.changeVisualization.ChangeVisualization", {