@openui5/sap.ui.rta 1.98.0 → 1.101.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 (206) hide show
  1. package/THIRDPARTY.txt +6 -6
  2. package/package.json +6 -6
  3. package/src/sap/ui/rta/.library +1 -1
  4. package/src/sap/ui/rta/Client.js +1 -1
  5. package/src/sap/ui/rta/RuntimeAuthoring.js +64 -50
  6. package/src/sap/ui/rta/Utils.js +4 -6
  7. package/src/sap/ui/rta/appContexts/AppContextsOverviewDialog.js +76 -0
  8. package/src/sap/ui/rta/appContexts/Component.js +31 -0
  9. package/src/sap/ui/rta/appContexts/controller/ManageContexts.controller.js +323 -0
  10. package/src/sap/ui/rta/appContexts/controller/RestAPIConnector.js +22 -0
  11. package/src/sap/ui/rta/appContexts/i18n/i18n.properties +47 -0
  12. package/src/sap/ui/rta/appContexts/i18n/i18n_ar.properties +23 -0
  13. package/src/sap/ui/rta/appContexts/i18n/i18n_bg.properties +23 -0
  14. package/src/sap/ui/rta/appContexts/i18n/i18n_ca.properties +23 -0
  15. package/src/sap/ui/rta/appContexts/i18n/i18n_cs.properties +23 -0
  16. package/src/sap/ui/rta/appContexts/i18n/i18n_cy.properties +23 -0
  17. package/src/sap/ui/rta/appContexts/i18n/i18n_da.properties +23 -0
  18. package/src/sap/ui/rta/appContexts/i18n/i18n_de.properties +23 -0
  19. package/src/sap/ui/rta/appContexts/i18n/i18n_el.properties +23 -0
  20. package/src/sap/ui/rta/appContexts/i18n/i18n_en.properties +23 -0
  21. package/src/sap/ui/rta/appContexts/i18n/i18n_en_GB.properties +23 -0
  22. package/src/sap/ui/rta/appContexts/i18n/i18n_en_US_sappsd.properties +23 -0
  23. package/src/sap/ui/rta/appContexts/i18n/i18n_en_US_saprigi.properties +23 -0
  24. package/src/sap/ui/rta/appContexts/i18n/i18n_en_US_saptrc.properties +23 -0
  25. package/src/sap/ui/rta/appContexts/i18n/i18n_es.properties +23 -0
  26. package/src/sap/ui/rta/appContexts/i18n/i18n_es_MX.properties +23 -0
  27. package/src/sap/ui/rta/appContexts/i18n/i18n_et.properties +23 -0
  28. package/src/sap/ui/rta/appContexts/i18n/i18n_fi.properties +23 -0
  29. package/src/sap/ui/rta/appContexts/i18n/i18n_fr.properties +23 -0
  30. package/src/sap/ui/rta/appContexts/i18n/i18n_fr_CA.properties +23 -0
  31. package/src/sap/ui/rta/appContexts/i18n/i18n_hi.properties +23 -0
  32. package/src/sap/ui/rta/appContexts/i18n/i18n_hr.properties +23 -0
  33. package/src/sap/ui/rta/appContexts/i18n/i18n_hu.properties +23 -0
  34. package/src/sap/ui/rta/appContexts/i18n/i18n_id.properties +23 -0
  35. package/src/sap/ui/rta/appContexts/i18n/i18n_it.properties +23 -0
  36. package/src/sap/ui/rta/appContexts/i18n/i18n_iw.properties +23 -0
  37. package/src/sap/ui/rta/appContexts/i18n/i18n_ja.properties +23 -0
  38. package/src/sap/ui/rta/appContexts/i18n/i18n_kk.properties +23 -0
  39. package/src/sap/ui/rta/appContexts/i18n/i18n_ko.properties +23 -0
  40. package/src/sap/ui/rta/appContexts/i18n/i18n_lt.properties +23 -0
  41. package/src/sap/ui/rta/appContexts/i18n/i18n_lv.properties +23 -0
  42. package/src/sap/ui/rta/appContexts/i18n/i18n_ms.properties +23 -0
  43. package/src/sap/ui/rta/appContexts/i18n/i18n_nl.properties +23 -0
  44. package/src/sap/ui/rta/appContexts/i18n/i18n_no.properties +23 -0
  45. package/src/sap/ui/rta/appContexts/i18n/i18n_pl.properties +23 -0
  46. package/src/sap/ui/rta/appContexts/i18n/i18n_pt.properties +23 -0
  47. package/src/sap/ui/rta/appContexts/i18n/i18n_pt_PT.properties +23 -0
  48. package/src/sap/ui/rta/appContexts/i18n/i18n_ro.properties +23 -0
  49. package/src/sap/ui/rta/appContexts/i18n/i18n_ru.properties +23 -0
  50. package/src/sap/ui/rta/appContexts/i18n/i18n_sh.properties +23 -0
  51. package/src/sap/ui/rta/appContexts/i18n/i18n_sk.properties +23 -0
  52. package/src/sap/ui/rta/appContexts/i18n/i18n_sl.properties +23 -0
  53. package/src/sap/ui/rta/appContexts/i18n/i18n_sv.properties +23 -0
  54. package/src/sap/ui/rta/appContexts/i18n/i18n_th.properties +23 -0
  55. package/src/sap/ui/rta/appContexts/i18n/i18n_tr.properties +23 -0
  56. package/src/sap/ui/rta/appContexts/i18n/i18n_uk.properties +23 -0
  57. package/src/sap/ui/rta/appContexts/i18n/i18n_vi.properties +23 -0
  58. package/src/sap/ui/rta/appContexts/i18n/i18n_zh_CN.properties +23 -0
  59. package/src/sap/ui/rta/appContexts/i18n/i18n_zh_TW.properties +23 -0
  60. package/src/sap/ui/rta/appContexts/index.html +25 -0
  61. package/src/sap/ui/rta/appContexts/manifest.json +52 -0
  62. package/src/sap/ui/rta/appContexts/view/EditContextsDialog.fragment.xml +76 -0
  63. package/src/sap/ui/rta/appContexts/view/ManageContexts.view.xml +103 -0
  64. package/src/sap/ui/rta/appContexts/view/SaveAsContextsDialog.fragment.xml +76 -0
  65. package/src/sap/ui/rta/appVariant/AppVariantDialog.js +6 -3
  66. package/src/sap/ui/rta/appVariant/AppVariantManager.js +11 -11
  67. package/src/sap/ui/rta/appVariant/Feature.js +16 -6
  68. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  69. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  70. package/src/sap/ui/rta/command/AddXML.js +3 -2
  71. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +3 -2
  72. package/src/sap/ui/rta/command/AppDescriptorCommand.js +1 -1
  73. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  74. package/src/sap/ui/rta/command/BindProperty.js +3 -2
  75. package/src/sap/ui/rta/command/Combine.js +5 -1
  76. package/src/sap/ui/rta/command/CommandFactory.js +20 -13
  77. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  78. package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
  79. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  80. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
  81. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  82. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
  83. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  84. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  85. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  86. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  87. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  88. package/src/sap/ui/rta/command/Move.js +1 -1
  89. package/src/sap/ui/rta/command/Property.js +1 -1
  90. package/src/sap/ui/rta/command/Remove.js +1 -1
  91. package/src/sap/ui/rta/command/Rename.js +1 -1
  92. package/src/sap/ui/rta/command/Resize.js +45 -0
  93. package/src/sap/ui/rta/command/Reveal.js +1 -1
  94. package/src/sap/ui/rta/command/Settings.js +1 -1
  95. package/src/sap/ui/rta/command/Split.js +1 -1
  96. package/src/sap/ui/rta/command/Stack.js +15 -12
  97. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  98. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  99. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  100. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  101. package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
  102. package/src/sap/ui/rta/library.js +6 -9
  103. package/src/sap/ui/rta/messagebundle.properties +20 -11
  104. package/src/sap/ui/rta/messagebundle_ar.properties +14 -9
  105. package/src/sap/ui/rta/messagebundle_bg.properties +16 -11
  106. package/src/sap/ui/rta/messagebundle_ca.properties +15 -10
  107. package/src/sap/ui/rta/messagebundle_cs.properties +14 -9
  108. package/src/sap/ui/rta/messagebundle_cy.properties +14 -9
  109. package/src/sap/ui/rta/messagebundle_da.properties +14 -9
  110. package/src/sap/ui/rta/messagebundle_de.properties +14 -9
  111. package/src/sap/ui/rta/messagebundle_el.properties +14 -9
  112. package/src/sap/ui/rta/messagebundle_en.properties +14 -9
  113. package/src/sap/ui/rta/messagebundle_en_GB.properties +14 -9
  114. package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +14 -9
  115. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +42 -20
  116. package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +14 -9
  117. package/src/sap/ui/rta/messagebundle_es.properties +14 -9
  118. package/src/sap/ui/rta/messagebundle_es_MX.properties +15 -10
  119. package/src/sap/ui/rta/messagebundle_et.properties +14 -9
  120. package/src/sap/ui/rta/messagebundle_fi.properties +14 -9
  121. package/src/sap/ui/rta/messagebundle_fr.properties +14 -9
  122. package/src/sap/ui/rta/messagebundle_fr_CA.properties +14 -9
  123. package/src/sap/ui/rta/messagebundle_hi.properties +13 -8
  124. package/src/sap/ui/rta/messagebundle_hr.properties +14 -9
  125. package/src/sap/ui/rta/messagebundle_hu.properties +14 -9
  126. package/src/sap/ui/rta/messagebundle_id.properties +14 -9
  127. package/src/sap/ui/rta/messagebundle_it.properties +14 -9
  128. package/src/sap/ui/rta/messagebundle_iw.properties +14 -9
  129. package/src/sap/ui/rta/messagebundle_ja.properties +14 -9
  130. package/src/sap/ui/rta/messagebundle_kk.properties +14 -9
  131. package/src/sap/ui/rta/messagebundle_ko.properties +14 -9
  132. package/src/sap/ui/rta/messagebundle_lt.properties +14 -9
  133. package/src/sap/ui/rta/messagebundle_lv.properties +16 -11
  134. package/src/sap/ui/rta/messagebundle_ms.properties +14 -9
  135. package/src/sap/ui/rta/messagebundle_nl.properties +14 -9
  136. package/src/sap/ui/rta/messagebundle_no.properties +14 -9
  137. package/src/sap/ui/rta/messagebundle_pl.properties +14 -9
  138. package/src/sap/ui/rta/messagebundle_pt.properties +14 -9
  139. package/src/sap/ui/rta/messagebundle_pt_PT.properties +14 -9
  140. package/src/sap/ui/rta/messagebundle_ro.properties +14 -9
  141. package/src/sap/ui/rta/messagebundle_ru.properties +14 -9
  142. package/src/sap/ui/rta/messagebundle_sh.properties +14 -9
  143. package/src/sap/ui/rta/messagebundle_sk.properties +15 -10
  144. package/src/sap/ui/rta/messagebundle_sl.properties +14 -9
  145. package/src/sap/ui/rta/messagebundle_sv.properties +14 -9
  146. package/src/sap/ui/rta/messagebundle_th.properties +14 -9
  147. package/src/sap/ui/rta/messagebundle_tr.properties +14 -9
  148. package/src/sap/ui/rta/messagebundle_uk.properties +13 -8
  149. package/src/sap/ui/rta/messagebundle_vi.properties +14 -9
  150. package/src/sap/ui/rta/messagebundle_zh_CN.properties +14 -9
  151. package/src/sap/ui/rta/messagebundle_zh_TW.properties +15 -10
  152. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
  153. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  154. package/src/sap/ui/rta/plugin/Combine.js +15 -14
  155. package/src/sap/ui/rta/plugin/ControlVariant.js +3 -3
  156. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -3
  157. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  158. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  159. package/src/sap/ui/rta/plugin/EasyAdd.js +1 -1
  160. package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
  161. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  162. package/src/sap/ui/rta/plugin/Plugin.js +32 -11
  163. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  164. package/src/sap/ui/rta/plugin/Remove.js +26 -27
  165. package/src/sap/ui/rta/plugin/Rename.js +6 -19
  166. package/src/sap/ui/rta/plugin/RenameHandler.js +21 -6
  167. package/src/sap/ui/rta/plugin/Resize.js +432 -0
  168. package/src/sap/ui/rta/plugin/Selection.js +21 -8
  169. package/src/sap/ui/rta/plugin/Settings.js +1 -1
  170. package/src/sap/ui/rta/plugin/Split.js +5 -11
  171. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  172. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +39 -38
  173. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  174. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
  175. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  176. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  177. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
  178. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
  179. package/src/sap/ui/rta/service/Action.js +1 -1
  180. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  181. package/src/sap/ui/rta/service/Outline.js +1 -1
  182. package/src/sap/ui/rta/service/Property.js +1 -1
  183. package/src/sap/ui/rta/service/Selection.js +1 -1
  184. package/src/sap/ui/rta/themes/base/ChangeVisualization.less +55 -75
  185. package/src/sap/ui/rta/themes/base/Overlay.less +50 -0
  186. package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +5 -19
  187. package/src/sap/ui/rta/toolbar/Adaptation.js +4 -3
  188. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  189. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  190. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  191. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  192. package/src/sap/ui/rta/toolbar/Personalization.js +1 -1
  193. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  194. package/src/sap/ui/rta/toolbar/translation/Translation.js +52 -31
  195. package/src/sap/ui/rta/util/PluginManager.js +9 -3
  196. package/src/sap/ui/rta/util/PopupManager.js +33 -12
  197. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  198. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +109 -60
  199. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorCategorySelection.fragment.xml +30 -0
  200. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorPopover.fragment.xml +6 -5
  201. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
  202. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +146 -79
  203. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualizationUtils.js +37 -0
  204. package/src/sap/ui/rta/util/changeVisualization/categories/MoveVisualization.js +25 -4
  205. package/src/sap/ui/rta/util/changeVisualization/categories/RenameVisualization.js +14 -2
  206. package/src/sap/ui/rta/util/changeVisualization/categories/SplitVisualization.js +5 -2
@@ -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.98.0
35
+ * @version 1.101.0
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.
@@ -232,26 +232,27 @@ sap.ui.define([
232
232
  }
233
233
 
234
234
  function checkAndEnrichReveal(mReveal, mInvisibleElement, oPlugin, sTargetAggregation) {
235
- return Promise.resolve().then(function() {
236
- var oInvisibleElement = mInvisibleElement.element;
237
- var oDesignTimeMetadata;
238
- var mRevealAction;
239
- var bRevealEnabled = false;
240
- var oHasChangeHandlerPromise = Promise.resolve();
241
- var sSourceAggregation = mInvisibleElement.sourceAggregation;
242
-
243
- var oOverlay = OverlayRegistry.getOverlay(oInvisibleElement);
244
- if (oOverlay) {
245
- oDesignTimeMetadata = oOverlay.getDesignTimeMetadata();
246
-
247
- mRevealAction = oDesignTimeMetadata && oDesignTimeMetadata.getAction("reveal", oInvisibleElement);
248
- if (mRevealAction && mRevealAction.changeType) {
249
- var oRevealSelector = oInvisibleElement;
250
- if (mRevealAction.changeOnRelevantContainer) {
251
- oRevealSelector = oOverlay.getRelevantContainer();
252
- }
235
+ var oInvisibleElement = mInvisibleElement.element;
236
+ var oDesignTimeMetadata;
237
+ var mRevealAction;
238
+ var bRevealEnabled = false;
239
+ var oHasChangeHandlerPromise = Promise.resolve(false);
240
+ var sSourceAggregation = mInvisibleElement.sourceAggregation;
241
+
242
+ var oOverlay = OverlayRegistry.getOverlay(oInvisibleElement);
243
+ if (oOverlay) {
244
+ oDesignTimeMetadata = oOverlay.getDesignTimeMetadata();
245
+
246
+ mRevealAction = oDesignTimeMetadata && oDesignTimeMetadata.getAction("reveal", oInvisibleElement);
247
+ if (mRevealAction && mRevealAction.changeType) {
248
+ var oRevealSelector = oInvisibleElement;
249
+ if (mRevealAction.changeOnRelevantContainer) {
250
+ oRevealSelector = oOverlay.getRelevantContainer();
251
+ }
253
252
 
254
- oHasChangeHandlerPromise = oPlugin.hasChangeHandler(mRevealAction.changeType, oRevealSelector).then(function(bHasChangeHandler) {
253
+ oHasChangeHandlerPromise = oPlugin.hasChangeHandler(mRevealAction.changeType, oRevealSelector).then(function(bHasChangeHandler) {
254
+ // Element can be made invalid while the check is running (e.g. destroyed during undo of split)
255
+ if (ElementUtil.isElementValid(oInvisibleElement)) {
255
256
  var mParents = AdditionalElementsUtils.getParents(true, oOverlay, oPlugin);
256
257
  if (bHasChangeHandler) {
257
258
  if (mRevealAction.changeOnRelevantContainer) {
@@ -271,27 +272,27 @@ sap.ui.define([
271
272
  return Utils.checkTargetZone(oAggregationOverlay, oOverlay, oPlugin);
272
273
  }
273
274
  }
274
- return bRevealEnabled;
275
- });
276
- }
275
+ }
276
+ return bRevealEnabled;
277
+ });
277
278
  }
279
+ }
278
280
 
279
- return oHasChangeHandlerPromise.then(function(bIncludeReveal) {
280
- if (bIncludeReveal) {
281
- mReveal.elements.push({
282
- element: oInvisibleElement,
283
- designTimeMetadata: oDesignTimeMetadata,
284
- action: mRevealAction,
285
- sourceAggregation: sSourceAggregation,
286
- targetAggregation: sTargetAggregation
287
- });
288
- var mName = oDesignTimeMetadata.getName(oInvisibleElement);
289
- if (mName) {
290
- mReveal.controlTypeNames.push(mName);
291
- }
281
+ return oHasChangeHandlerPromise.then(function(bIncludeReveal) {
282
+ if (bIncludeReveal) {
283
+ mReveal.elements.push({
284
+ element: oInvisibleElement,
285
+ designTimeMetadata: oDesignTimeMetadata,
286
+ action: mRevealAction,
287
+ sourceAggregation: sSourceAggregation,
288
+ targetAggregation: sTargetAggregation
289
+ });
290
+ var mName = oDesignTimeMetadata.getName(oInvisibleElement);
291
+ if (mName) {
292
+ mReveal.controlTypeNames.push(mName);
292
293
  }
293
- return mReveal;
294
- });
294
+ }
295
+ return mReveal;
295
296
  });
296
297
  }
297
298
 
@@ -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.98.0
35
+ * @version 1.101.0
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.98.0
78
+ * @version 1.101.0
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.98.0
18
+ * @version 1.101.0
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.98.0
28
+ * @version 1.101.0
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.98.0
113
+ * @version 1.101.0
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.98.0
116
+ * @version 1.101.0
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.98.0
28
+ * @version 1.101.0
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.98.0
34
+ * @version 1.101.0
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.98.0
45
+ * @version 1.101.0
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.98.0
31
+ * @version 1.101.0
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.98.0
18
+ * @version 1.101.0
19
19
  * @private
20
20
  * @ui5-restricted
21
21
  */
@@ -1,115 +1,95 @@
1
1
  /******************************************************************
2
2
  Style of the RTA Change Visualization - base theme
3
3
  *******************************************************************/
4
- @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColor: rgba(131, 201, 233, 0.75);
5
- @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorFocus: #1c678a;
6
- @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorHover: rgba(14, 138, 195, 0.75);
7
- @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorSolid: rgb(131, 201, 233);
8
- @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorSolidBG: white;
9
- @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorSolidHover: #0f648b;
10
- @_sap_ui_rta_ChangeVisualization_DependentIndicatorColor: rgba(219,149,51,0.75);
11
- @_sap_ui_rta_ChangeVisualization_DependentIndicatorColorTransparent: rgba(219,149,51,0);
12
- @_sap_ui_rta_ChangeVisualization_DependentIndicatorColorFocus: #a67026;
13
- @_sap_ui_rta_ChangeVisualization_DependentIndicatorColorSolid: rgb(219, 149, 51);
14
- @_sap_ui_rta_ChangeVisualization_DependentIndicatorColorSolidHover: #b67a26;
15
- @_sap_ui_rta_ChangeVisualization_ChangeIndicatorTextColor: #1c678a;
4
+ @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorLight: @sapUiChartPaletteSequentialHue1Light1;
5
+ @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorMedium: @sapUiChartPaletteSequentialHue1Dark1;
6
+ @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorDark: @sapUiChartPaletteSequentialHue11Dark2;
7
+ @_sap_ui_rta_ChangeVisualization_DependentIndicatorColorTransparent: @sapUiGroupTitleBackground;
16
8
 
17
- .sapUiRtaChangeIndicator{
18
- border-radius: 25px;
19
- z-index: 1000;
9
+ .sapUiRtaChangeIndicator {
10
+ height: 0.8rem;
11
+ width: 0.8rem;
20
12
  position: relative;
13
+ border-radius: 50%;
14
+ margin-top: 0.25rem;
15
+ margin-left: 0.25rem;
16
+ transition: width 0.3s, height 0.3s, box-shadow 0.3s;
21
17
  cursor: pointer;
22
18
  }
23
19
 
24
- .sapUiRtaChangeIndicatorChange{
25
- border: 1px solid @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColor;
26
- background: white;
27
- background: radial-gradient(circle, transparent 41%, @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColor 72%, @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorSolid 100%);
20
+ .sapUiRtaChangeIndicator:focus {
21
+ outline: 0;
22
+ }
28
23
 
29
- &:focus{
30
- border: 1px solid @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorFocus;
31
- outline: none;
32
- }
24
+ .sapUiRtaChangeIndicatorColorLight {
25
+ background-color: @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorLight;
26
+ opacity: 0.6;
27
+ }
28
+
29
+ .sapUiRtaChangeIndicatorColorMedium {
30
+ background-color: @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorMedium;
31
+ opacity: 0.75;
32
+ }
33
33
 
34
- &:hover{
35
- background: radial-gradient(circle, transparent 41%, @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorHover 62%, @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorSolidHover 100%);
34
+ .sapUiRtaChangeIndicatorColorDark {
35
+ background-color: @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorDark;
36
+ opacity: 0.75;
37
+ }
36
38
 
37
- .sapUiRtaChangeIndicatorText{
38
- color:white;
39
- }
40
- }
39
+ .sapUiRtaChangeIndicatorVerticallyCentered {
40
+ top: 50%;
41
+ transform: translateY(-50%);
42
+ margin-top: 0;
41
43
  }
42
44
 
43
- .sapUiRtaChangeIndicatorDependent{
45
+ .sapUiRtaHover {
46
+ height: 0.9rem;
47
+ width: 0.9rem;
48
+ box-shadow: 0 0 0.25rem @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorDark;
49
+ }
50
+
51
+ .sapUiRtaChangeIndicatorDependent {
44
52
  height: 100%;
45
- width: 100%;
53
+ width: auto;
54
+ display: block;
46
55
  position: absolute;
47
- outline: 3px solid @_sap_ui_rta_ChangeVisualization_DependentIndicatorColor;
48
- outline-offset: -3px;
49
- box-shadow: @_sap_ui_rta_Overlay_BoxShadow;
56
+ box-shadow: inset 0 0 0 3px @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorDark, @_sap_ui_rta_Overlay_BoxShadow;
57
+ background-color: fade(@_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorDark, 25%);
50
58
  animation: fadeOut linear 1.5s;
51
59
  animation-fill-mode: forwards;
52
60
 
53
61
  @keyframes fadeOut {
54
- 0% {
55
- outline: 3px solid @_sap_ui_rta_ChangeVisualization_DependentIndicatorColor;
56
- outline-offset: -3px;
57
- }
58
- 66%{
59
- outline: 3px solid @_sap_ui_rta_ChangeVisualization_DependentIndicatorColor;
60
- outline-offset: -3px;
62
+ 66% {
63
+ box-shadow: inset 0 0 0 3px @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorDark, @_sap_ui_rta_Overlay_BoxShadow;
64
+ background-color: fade(@_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorDark, 25%);
61
65
  }
66
+
62
67
  100% {
63
- outline: 3px solid @_sap_ui_rta_ChangeVisualization_DependentIndicatorColorTransparent;
64
- outline-offset: -3px;
65
68
  box-shadow: none;
69
+ background-color: fade(@_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorDark, 0%);
66
70
  }
67
71
  }
68
72
  }
69
73
 
70
- .sapUiRtaChangeIndicatorText{
71
- top: 0;
72
- left: 0;
73
- position: absolute;
74
- width: 50%;
75
- height: 50%;
76
- border-radius: 50%;
77
- background: @_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorSolid;
78
- color: black;
79
- display: flex;
80
- justify-content: center;
81
- align-items: center;
82
- opacity: 0.8;
83
- cursor: pointer;
84
- }
85
-
86
74
  .sapUiRtaChangeIndicatorHovered {
87
- -webkit-transition: background 0.1s cubic-bezier(1,.01,1,0);
88
- -moz-transition: background 0.1s cubic-bezier(1,.01,1,0);
89
- -o-transition: background 0.1s cubic-bezier(1,.01,1,0);
90
- transition: background 0.1s cubic-bezier(1,.01,1,0);
75
+ cursor: pointer !important;
91
76
 
92
77
  &:after {
93
78
  content: " ";
94
- border: 0.0625rem solid @_sap_ui_rta_Overlay_HoverBorder!important; //1px
79
+ border: 0.0625rem solid @_sap_ui_rta_Overlay_HoverBorder !important; //1px
95
80
  transition: box-shadow .25s;
96
81
  box-shadow: @_sap_ui_rta_Overlay_BoxShadow;
97
- outline: 0.0625rem solid @_sap_ui_rta_Overlay_Border!important; //1px
82
+ outline: 0.0625rem solid @_sap_ui_rta_Overlay_Border !important; //1px
98
83
  outline-offset: -0.0625rem; //1px
99
84
  }
100
85
  }
101
86
 
102
87
  .sapUiRtaMode {
103
- .sapUiRtaPopover {
104
- .sapUiRtaChangesList {
105
- // Visualize Changes: Total Count bold
106
- ul > li:first-child .sapMLIBCounter {
107
- font-weight: bold;
108
- }
109
- // Visualize Changes: gray out items with no changes
110
- li.sapMLIBTypeInactive{
111
- opacity: 0.5;
112
- }
88
+ .sapUiRtaChangesList {
89
+
90
+ // Visualize Changes: gray out items with no changes
91
+ li.sapMLIBTypeInactive {
92
+ opacity: 0.5;
113
93
  }
114
94
  }
115
95
  }
@@ -212,6 +212,56 @@
212
212
  outline-offset: -0.0625rem; //1px
213
213
  }
214
214
  }
215
+
216
+ .sapUiRtaResizeHandle {
217
+ cursor: col-resize;
218
+ position: absolute;
219
+ top: 0;
220
+ bottom: 0;
221
+ width: 0.625rem; // 10px
222
+ background-clip: content-box;
223
+ background-color: @_sap_ui_rta_Overlay_Border;
224
+ -webkit-user-select: none;
225
+ user-select: none;
226
+
227
+ &:before {
228
+ content:"";
229
+ position: absolute;
230
+ top: 10%;
231
+ bottom: 10%;
232
+ left: 37.5%;
233
+ border-left: 1px solid @sapUiHighlightTextColor;
234
+ }
235
+ &:after {
236
+ content:"";
237
+ position: absolute;
238
+ top: 25%;
239
+ bottom: 25%;
240
+ left: 62.5%;
241
+ border-left: 1px solid @sapUiHighlightTextColor;
242
+ }
243
+ }
244
+
245
+ .sapUiRtaResizeHandleExtension {
246
+ position: relative;
247
+ top: 0;
248
+ bottom: 0;
249
+ width: 0.5rem; // 8px
250
+ border-right: 0.125rem dotted @_sap_ui_rta_Overlay_Border; // 2px
251
+ background-clip: content-box;
252
+ -webkit-user-select: none;
253
+ user-select: none;
254
+ }
255
+
256
+ .sapUiRtaFullScreenDiv {
257
+ width: 100%;
258
+ height: 100%;
259
+ top: 0;
260
+ left: 0;
261
+ display: block;
262
+ position: fixed;
263
+ }
264
+
215
265
  .sapUiDtOverlaySelected {
216
266
  transition: box-shadow .25s;
217
267
  box-shadow: @_sap_ui_rta_Overlay_BoxShadow;
@@ -100,30 +100,16 @@
100
100
  <OverflowToolbarLayoutData priority="Low" />
101
101
  </toolbar:layoutData>
102
102
  </toolbar:OverflowToolbarButton>
103
- <MenuButton
103
+ <Button
104
104
  id="sapUiRta_toggleChangeVisualizationMenuButton"
105
105
  visible="{= ${controls>/modeSwitcher} === 'visualization'}"
106
106
  text="{visualizationModel>/commandCategoryText}"
107
107
  type="Transparent"
108
+ icon="sap-icon://slim-arrow-down"
109
+ iconFirst="false"
110
+ press=".openChangeCategorySelectionPopover"
108
111
  tooltip="{i18n>BUT_CHANGEVISUALIZATION_SELECTCHANGES}">
109
- <menu>
110
- <Menu
111
- id="sapUiRta_changesList"
112
- items="{visualizationModel>/commandCategories/}"
113
- itemSelected=".onCommandCategorySelection"
114
- class="sapUiRtaToolbarVisualizationSelection">
115
- <MenuItem
116
- id="sapUiRta_changesListItem"
117
- text="{visualizationModel>title}"
118
- key="{visualizationModel>key}"
119
- icon="{visualizationModel>icon}"
120
- enabled="{= ${visualizationModel>count} > 0}"/>
121
- </Menu>
122
- </menu>
123
- <layoutData>
124
- <OverflowToolbarLayoutData priority="NeverOverflow" />
125
- </layoutData>
126
- </MenuButton>
112
+ </Button>
127
113
  <Button
128
114
  id="sapUiRta_undo"
129
115
  icon="sap-icon://undo"
@@ -39,7 +39,7 @@ function(
39
39
  * @extends sap.ui.rta.toolbar.Base
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.98.0
42
+ * @version 1.101.0
43
43
  *
44
44
  * @constructor
45
45
  * @private
@@ -59,13 +59,14 @@ function(
59
59
  undo: {},
60
60
  redo: {},
61
61
  exit: {},
62
+ save: {},
62
63
  restore: {},
63
64
  transport: {},
64
65
  modeChange: {},
65
66
  activate: {},
66
67
  discardDraft: {},
67
68
  switchVersion: {},
68
- onCommandCategorySelection: {}
69
+ openChangeCategorySelectionPopover: {}
69
70
  }
70
71
  }
71
72
  });
@@ -335,7 +336,7 @@ function(
335
336
  showTranslationPopover: this.showTranslationPopover.bind(this),
336
337
  undo: this.eventHandler.bind(this, "Undo"),
337
338
  redo: this.eventHandler.bind(this, "Redo"),
338
- onCommandCategorySelection: this.eventHandler.bind(this, "OnCommandCategorySelection"),
339
+ openChangeCategorySelectionPopover: this.eventHandler.bind(this, "OpenChangeCategorySelectionPopover"),
339
340
  manageApps: onManageAppsPressed.bind(this),
340
341
  appVariantOverview: onOverviewPressed.bind(this),
341
342
  saveAs: onSaveAsPressed.bind(this),
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.m.HBox
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.98.0
28
+ * @version 1.101.0
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.98.0
35
+ * @version 1.101.0
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.98.0
23
+ * @version 1.101.0
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.98.0
26
+ * @version 1.101.0
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.98.0
25
+ * @version 1.101.0
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.98.0
23
+ * @version 1.101.0
24
24
  *
25
25
  * @constructor
26
26
  * @private