@openui5/sap.ui.rta 1.114.0 → 1.114.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 (96) 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 +68 -42
  5. package/src/sap/ui/rta/Utils.js +35 -1
  6. package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
  7. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  8. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  9. package/src/sap/ui/rta/command/AddXML.js +1 -1
  10. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  11. package/src/sap/ui/rta/command/AppDescriptorCommand.js +1 -1
  12. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  13. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  14. package/src/sap/ui/rta/command/Combine.js +1 -1
  15. package/src/sap/ui/rta/command/CommandFactory.js +1 -1
  16. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  17. package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
  18. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  19. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +4 -2
  20. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  21. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
  22. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  23. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  24. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  25. package/src/sap/ui/rta/command/LREPSerializer.js +4 -2
  26. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  27. package/src/sap/ui/rta/command/Move.js +1 -1
  28. package/src/sap/ui/rta/command/Property.js +1 -1
  29. package/src/sap/ui/rta/command/Remove.js +1 -1
  30. package/src/sap/ui/rta/command/Rename.js +1 -1
  31. package/src/sap/ui/rta/command/Resize.js +1 -1
  32. package/src/sap/ui/rta/command/Reveal.js +1 -1
  33. package/src/sap/ui/rta/command/Settings.js +1 -1
  34. package/src/sap/ui/rta/command/Split.js +1 -1
  35. package/src/sap/ui/rta/command/Stack.js +1 -1
  36. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  37. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -1
  38. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  39. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  40. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  41. package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
  42. package/src/sap/ui/rta/library.js +2 -2
  43. package/src/sap/ui/rta/messagebundle.properties +19 -1
  44. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
  45. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  46. package/src/sap/ui/rta/plugin/Combine.js +1 -1
  47. package/src/sap/ui/rta/plugin/CompVariant.js +6 -2
  48. package/src/sap/ui/rta/plugin/ControlVariant.js +4 -2
  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 +10 -3
  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/service/SupportTools.js +1 -1
  78. package/src/sap/ui/rta/toolbar/Adaptation.js +78 -11
  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/contextBased/ManageAdaptations.js +61 -24
  86. package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptationsDialog.fragment.xml +2 -8
  87. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +4 -4
  88. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  89. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
  90. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  91. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  92. package/src/sap/ui/rta/util/ReloadManager.js +30 -22
  93. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  94. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
  95. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
  96. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +1 -1
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @class
60
60
  * @extends sap.ui.base.ManagedObject
61
61
  * @author SAP SE
62
- * @version 1.114.0
62
+ * @version 1.114.1
63
63
  * @constructor
64
64
  * @private
65
65
  * @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.114.0
20
+ * @version 1.114.1
21
21
  *
22
22
  * @constructor
23
23
  * @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.114.0
23
+ * @version 1.114.1
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.102
@@ -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.114.0
23
+ * @version 1.114.1
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.87
@@ -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.114.0
21
+ * @version 1.114.1
22
22
  * @constructor
23
23
  * @private
24
24
  * @since 1.87
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @class
23
23
  * @extends sap.ui.rta.command.BaseCommand
24
24
  * @author SAP SE
25
- * @version 1.114.0
25
+ * @version 1.114.1
26
26
  * @constructor
27
27
  * @private
28
28
  * @since 1.87
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * E.g. <code>elementActionTest.only("Remove");</code>
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.114.0
60
+ * @version 1.114.1
61
61
  *
62
62
  * @static
63
63
  * @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.114.0
26
+ * @version 1.114.1
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.114.0",
33
+ version: "1.114.1",
34
34
  dependencies: ["sap.ui.core", "sap.m", "sap.ui.fl", "sap.ui.dt"],
35
35
  types: [],
36
36
  interfaces: [],
@@ -119,6 +119,10 @@ TIT_VERSION_HISTORY_UNPUBLISHED=Unpublished
119
119
  MSG_DRAFT_ACTIVATION_SUCCESS=New version activated
120
120
  #XMSG: message toast text when activated failed
121
121
  MSG_DRAFT_ACTIVATION_FAILED=Sorry, the draft cannot be activated at this time. Please try again later.
122
+ #XMSG: message box text when version switch failed
123
+ MSG_SWITCH_VERSION_FAILED=Failed to switch version. Please reload.
124
+ #XMSG: message box text when adaptation switch failed
125
+ MSG_SWITCH_ADAPTATION_FAILED=Failed to switch adaptation. Please reload.
122
126
  #TIT: Title of a published version
123
127
  TIT_VERSION_TITLE=Title
124
128
  #XTIT: Title for the dialog to state a title for a version the key user is about to activate
@@ -251,6 +255,10 @@ MSG_RELOAD_WITH_VIEWS_PERSONALIZATION_AND_WITHOUT_DRAFT=The app will now reload
251
255
  MSG_RELOAD_WITH_PERSONALIZATION_AND_RESTRICTED_CONTEXT=The app will now reload with your personalization changes. Your public or role-specific views will be applied again.
252
256
  #XMSG: Dialog message for reload without restricted contexts
253
257
  MSG_RELOAD_WITHOUT_ALL_CONTEXT=The app will now reload with your public or role-specific views.
258
+ #XMSG: Dialog message for reload without context-based adaptation and personalization changes
259
+ MSG_RELOAD_WITH_PERSONALIZATION_AND_CONTEXT_BASED_ADAPTATION=The app will now reload with your personal changes and with the adaptation that has the highest priority matching your user roles.
260
+ #XMSG: Dialog message for reload if key user adaptation is not the highest ranked context-based adaptation for end user
261
+ MSG_RELOAD_OTHER_CONTEXT_BASED_ADAPTATION=The app will now reload with the adaptation that has the highest priority matching your user roles.
254
262
  #XMSG: Dialog message before a reload when personalization changes will be applied again
255
263
  MSG_RELOAD_WITH_ALL_CHANGES=The app will reload with all changes.
256
264
  #XMSG: Dialog message before a reload when changes need server-side processing and new cache tokens to be fetched (rare case for use to see this message)
@@ -560,8 +568,18 @@ SAC_DIALOG_HEADER=Save as New Adaptation
560
568
  DAC_DIALOG_HEADER=Delete Adaptation
561
569
  #XTIT: Context-Based Adaptation Delete Dialog description
562
570
  DAC_DIALOG_DESCRIPTION=Do you really want to delete this adaptation?
563
- #XTIT: Context-Based Adaptation dialog to delete and unsaved changes description
571
+ #XMSG: Context-Based Adaptation dialog to delete but unsaved changes exist description
564
572
  DAC_DATA_LOSS_DIALOG_DESCRIPTION=You have unsaved UI changes. Deleting this adaptation will also delete the UI changes. Do you really want to delete this adaptation?
573
+ #XTIT: Context-Based Adaptation Migration Dialog title
574
+ DAC_DIALOG_MIGRATION_HEADER=Migrate Views
575
+ #XMSG: Context-Based Adaptation Migration Dialog description
576
+ DAC_DIALOG_MIGRATION_DESCRIPTION=We noticed that you've already assigned roles to views in this application. If you want to create an adaptation, you need to migrate these views to adaptations.\n After the migration, every view that was assigned to a role will be included in an adaptation.
577
+ #XMSG: Context-Based Adaptation Migration Dialog description
578
+ DAC_DIALOG_MIGRATION_DIRTY_DESCRIPTION=We noticed that you've already assigned roles to views in this application. If you want to create an adaptation, you need to migrate these views to adaptations.\n After the migration, every view that was assigned to a role will be included in an adaptation.\n\n You have unsaved UI changes. These will be discarded before the migration.
579
+ #XMSG: Context-Based Adaptation Migration Successful Dialog description
580
+ DAC_DIALOG_MIGRATION_SUCCESSFULL_DESCRIPTION=Views have been successfully migrated.\n You can now switch to the created adaptations and verify them.
581
+ #XMSG: Context-Based Adaptation Migration Error Dialog description
582
+ DAC_DIALOG_MIGRATION_ERROR_DESCRIPTION=An Error occurred during the migration. Please try again later or contact your administrator.
565
583
  #XTITT: Context-Based Adaptation Manage Dialog title
566
584
  MANAGE_ADAPTATIONS_DIALOG_HEADER=Manage Adaptations
567
585
  #XTIT: Text for Manage Adaptations Button in RTA toolbar
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @class
48
48
  * @extends sap.ui.rta.plugin.Plugin
49
49
  * @author SAP SE
50
- * @version 1.114.0
50
+ * @version 1.114.1
51
51
  * @constructor
52
52
  * @private
53
53
  * @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.114.0
26
+ * @version 1.114.1
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.114.0
28
+ * @version 1.114.1
29
29
  * @constructor
30
30
  * @private
31
31
  * @since 1.46
@@ -116,9 +116,11 @@ sap.ui.define([
116
116
  // ------ configure ------
117
117
  function configureVariants(aOverlays) {
118
118
  var oVariantManagementControl = aOverlays[0].getElement();
119
+ var mComponentPropertyBag = this.getCommandFactory().getFlexSettings();
120
+ mComponentPropertyBag.variantManagementControl = oVariantManagementControl;
119
121
  var mPropertyBag = {
120
122
  layer: this.getCommandFactory().getFlexSettings().layer,
121
- contextSharingComponentContainer: ContextSharingAPI.createComponent(this.getCommandFactory().getFlexSettings()),
123
+ contextSharingComponentContainer: ContextSharingAPI.createComponent(mComponentPropertyBag),
122
124
  rtaStyleClass: Utils.getRtaStyleClassName()
123
125
  };
124
126
  oVariantManagementControl.openManageViewsDialogForKeyUser(mPropertyBag, function(oData) {
@@ -224,7 +226,9 @@ sap.ui.define([
224
226
  // ------ save as ------
225
227
  function saveAsNewVariant(aOverlays, bImplicitSaveAs) {
226
228
  var oVariantManagementControl = aOverlays[0].getElement();
227
- var oContextSharingComponentContainer = ContextSharingAPI.createComponent(this.getCommandFactory().getFlexSettings());
229
+ var mComponentPropertyBag = this.getCommandFactory().getFlexSettings();
230
+ mComponentPropertyBag.variantManagementControl = oVariantManagementControl;
231
+ var oContextSharingComponentContainer = ContextSharingAPI.createComponent(mComponentPropertyBag);
228
232
  return new Promise(function(resolve) {
229
233
  oVariantManagementControl.openSaveAsDialogForKeyUser(Utils.getRtaStyleClassName(), function(oReturn) {
230
234
  if (oReturn) {
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @class The ControlVariant allows propagation of variantManagement key
48
48
  * @extends sap.ui.rta.plugin.Plugin
49
49
  * @author SAP SE
50
- * @version 1.114.0
50
+ * @version 1.114.1
51
51
  * @constructor
52
52
  * @private
53
53
  * @since 1.50
@@ -562,13 +562,15 @@ sap.ui.define([
562
562
  var oModel = this._getVariantModel(oVariantManagementControl);
563
563
  var oDesignTimeMetadata = oElementOverlay.getDesignTimeMetadata();
564
564
  var mFlexSettings = this.getCommandFactory().getFlexSettings();
565
+ var mComponentPropertyBag = mFlexSettings;
566
+ mComponentPropertyBag.variantManagementControl = oVariantManagementControl;
565
567
 
566
568
  return oModel.manageVariants(
567
569
  oVariantManagementControl,
568
570
  sVariantManagementReference,
569
571
  mFlexSettings.layer,
570
572
  Utils.getRtaStyleClassName(),
571
- ContextSharingAPI.createComponent(mFlexSettings)
573
+ ContextSharingAPI.createComponent(mComponentPropertyBag)
572
574
  )
573
575
  .then(function(aConfiguredChanges) {
574
576
  if (aConfiguredChanges.length > 0) {
@@ -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.114.0
28
+ * @version 1.114.1
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.114.0
34
+ * @version 1.114.1
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.114.0
36
+ * @version 1.114.1
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @class The EasyAdd Plugin adds an Icon to an Overlay, which allows to trigger add operations directly
24
24
  * @extends sap.ui.rta.plugin.additionalElements.AdditionalElementsPlugin
25
25
  * @author SAP SE
26
- * @version 1.114.0
26
+ * @version 1.114.1
27
27
  * @constructor
28
28
  * @private
29
29
  * @since 1.48
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @class The EasyRemove Plugin adds an Icon to an Overlay, which allows to trigger remove operations directly
22
22
  * @extends sap.ui.rta.plugin.Remove
23
23
  * @author SAP SE
24
- * @version 1.114.0
24
+ * @version 1.114.1
25
25
  * @constructor
26
26
  * @private
27
27
  * @since 1.48
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @class
38
38
  * @extends sap.ui.rta.plugin.Plugin
39
39
  * @author SAP SE
40
- * @version 1.114.0
40
+ * @version 1.114.1
41
41
  * @constructor
42
42
  * @private
43
43
  * @since 1.90
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * @extends sap.ui.dt.Plugin
71
71
  *
72
72
  * @author SAP SE
73
- * @version 1.114.0
73
+ * @version 1.114.1
74
74
  *
75
75
  * @constructor
76
76
  * @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.114.0
38
+ * @version 1.114.1
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.114.0
32
+ * @version 1.114.1
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.114.0
31
+ * @version 1.114.1
32
32
  *
33
33
  * @constructor
34
34
  * @private
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * Provides Rename handling functionality
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.114.0
42
+ * @version 1.114.1
43
43
  *
44
44
  * @constructor
45
45
  * @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.114.0
30
+ * @version 1.114.1
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.114.0
33
+ * @version 1.114.1
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.114.0
28
+ * @version 1.114.1
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.114.0
26
+ * @version 1.114.1
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.114.0
34
+ * @version 1.114.1
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.114.0
35
+ * @version 1.114.1
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.
@@ -70,7 +70,8 @@ sap.ui.define([
70
70
  payload: mAction.delegateInfo.payload || {},
71
71
  delegate: mAction.delegateInfo.instance,
72
72
  modelType: mAction.delegateInfo.modelType,
73
- requiredLibraries: mAction.delegateInfo.requiredLibraries
73
+ requiredLibraries: mAction.delegateInfo.requiredLibraries,
74
+ delegateType: mAction.delegateInfo.delegateType
74
75
  }
75
76
  }
76
77
  };
@@ -151,7 +152,13 @@ sap.ui.define([
151
152
  supportsDefault: mAction.supportsDefaultDelegate
152
153
  })
153
154
  .then(function(mDelegateInfo) {
154
- if (mDelegateInfo && mDelegateInfo.names && mDelegateInfo.names.length) {
155
+ // Only complete delegators can be used for additional elements
156
+ if (
157
+ mDelegateInfo &&
158
+ mDelegateInfo.names &&
159
+ mDelegateInfo.names.length &&
160
+ mDelegateInfo.delegateType === DelegateMediatorAPI.types.COMPLETE
161
+ ) {
155
162
  var aRequiredLibraries = DelegateMediatorAPI.getRequiredLibrariesForDefaultDelegate({
156
163
  delegateName: mDelegateInfo.names,
157
164
  control: mParents.relevantContainer
@@ -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.114.0
35
+ * @version 1.114.1
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.114.0
78
+ * @version 1.114.1
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.114.0
18
+ * @version 1.114.1
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.114.0
28
+ * @version 1.114.1
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.
@@ -117,7 +117,7 @@ sap.ui.define([
117
117
  * @class The AddIFrame allows trigger AddIFrame operations on the overlay.
118
118
  * @extends sap.ui.rta.plugin.BaseCreate
119
119
  * @author SAP SE
120
- * @version 1.114.0
120
+ * @version 1.114.1
121
121
  * @constructor
122
122
  * @private
123
123
  * @since 1.75
@@ -133,7 +133,7 @@ sap.ui.define([
133
133
  * @class Context - Dialog for IFrame settings in Runtime Authoring
134
134
  * @extends sap.ui.base.ManagedObject
135
135
  * @author SAP SE
136
- * @version 1.114.0
136
+ * @version 1.114.1
137
137
  * @constructor
138
138
  * @private
139
139
  * @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.114.0
28
+ * @version 1.114.1
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.114.0
34
+ * @version 1.114.1
35
35
  * @private
36
36
  * @ui5-restricted
37
37
  */
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @author SAP SE
45
45
  * @experimental Since 1.56
46
46
  * @since 1.56
47
- * @version 1.114.0
47
+ * @version 1.114.1
48
48
  * @private
49
49
  * @ui5-restricted
50
50
  */
@@ -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.114.0
31
+ * @version 1.114.1
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.114.0
18
+ * @version 1.114.1
19
19
  * @private
20
20
  * @ui5-restricted
21
21
  */
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @author SAP SE
28
28
  * @experimental Since 1.106
29
29
  * @since 1.106
30
- * @version 1.114.0
30
+ * @version 1.114.1
31
31
  * @private
32
32
  * @ui5-restricted
33
33
  */