@openui5/sap.ui.rta 1.101.0 → 1.103.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 (225) hide show
  1. package/THIRDPARTY.txt +1 -1
  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 +144 -93
  6. package/src/sap/ui/rta/Utils.js +1 -1
  7. package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
  8. package/src/sap/ui/rta/appVariant/AppVariantUtils.js +2 -2
  9. package/src/sap/ui/rta/appVariant/Feature.js +1 -1
  10. package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +0 -17
  11. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n.properties +0 -4
  12. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ar.properties +0 -2
  13. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_bg.properties +0 -2
  14. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ca.properties +0 -2
  15. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_cs.properties +0 -2
  16. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_cy.properties +0 -2
  17. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_da.properties +0 -2
  18. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_de.properties +0 -2
  19. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_el.properties +0 -2
  20. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en.properties +0 -2
  21. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_GB.properties +0 -2
  22. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_US_sappsd.properties +0 -2
  23. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_US_saprigi.properties +0 -2
  24. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_US_saptrc.properties +0 -2
  25. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_es.properties +0 -2
  26. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_es_MX.properties +0 -2
  27. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_et.properties +0 -2
  28. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_fi.properties +0 -2
  29. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_fr.properties +0 -2
  30. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_fr_CA.properties +0 -2
  31. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_hi.properties +0 -2
  32. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_hr.properties +0 -2
  33. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_hu.properties +0 -2
  34. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_id.properties +0 -2
  35. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_it.properties +0 -2
  36. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_iw.properties +0 -2
  37. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ja.properties +0 -2
  38. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_kk.properties +0 -2
  39. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ko.properties +0 -2
  40. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_lt.properties +0 -2
  41. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_lv.properties +0 -2
  42. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ms.properties +0 -2
  43. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_nl.properties +0 -2
  44. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_no.properties +0 -2
  45. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_pl.properties +0 -2
  46. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_pt.properties +0 -2
  47. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_pt_PT.properties +0 -2
  48. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ro.properties +0 -2
  49. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ru.properties +0 -2
  50. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_sh.properties +0 -2
  51. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_sk.properties +0 -2
  52. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_sl.properties +0 -2
  53. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_sv.properties +0 -2
  54. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_th.properties +0 -2
  55. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_tr.properties +0 -2
  56. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_uk.properties +0 -2
  57. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_vi.properties +0 -2
  58. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_zh_CN.properties +0 -2
  59. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_zh_TW.properties +0 -2
  60. package/src/sap/ui/rta/appVariant/manageApps/webapp/view/ManageApps.view.xml +0 -1
  61. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  62. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  63. package/src/sap/ui/rta/command/AddXML.js +1 -1
  64. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  65. package/src/sap/ui/rta/command/AppDescriptorCommand.js +2 -2
  66. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  67. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  68. package/src/sap/ui/rta/command/Combine.js +1 -1
  69. package/src/sap/ui/rta/command/CommandFactory.js +5 -2
  70. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  71. package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
  72. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  73. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
  74. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  75. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
  76. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  77. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  78. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  79. package/src/sap/ui/rta/command/LREPSerializer.js +3 -3
  80. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  81. package/src/sap/ui/rta/command/Move.js +1 -1
  82. package/src/sap/ui/rta/command/Property.js +2 -2
  83. package/src/sap/ui/rta/command/Remove.js +1 -1
  84. package/src/sap/ui/rta/command/Rename.js +1 -1
  85. package/src/sap/ui/rta/command/Resize.js +1 -1
  86. package/src/sap/ui/rta/command/Reveal.js +1 -1
  87. package/src/sap/ui/rta/command/Settings.js +2 -2
  88. package/src/sap/ui/rta/command/Split.js +1 -1
  89. package/src/sap/ui/rta/command/Stack.js +1 -1
  90. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  91. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +82 -0
  92. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +7 -7
  93. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +2 -2
  94. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +2 -2
  95. package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
  96. package/src/sap/ui/rta/library.js +2 -2
  97. package/src/sap/ui/rta/messagebundle.properties +11 -1
  98. package/src/sap/ui/rta/messagebundle_ar.properties +5 -0
  99. package/src/sap/ui/rta/messagebundle_bg.properties +7 -2
  100. package/src/sap/ui/rta/messagebundle_ca.properties +5 -0
  101. package/src/sap/ui/rta/messagebundle_cs.properties +5 -0
  102. package/src/sap/ui/rta/messagebundle_cy.properties +5 -0
  103. package/src/sap/ui/rta/messagebundle_da.properties +5 -0
  104. package/src/sap/ui/rta/messagebundle_de.properties +5 -0
  105. package/src/sap/ui/rta/messagebundle_el.properties +5 -0
  106. package/src/sap/ui/rta/messagebundle_en.properties +5 -0
  107. package/src/sap/ui/rta/messagebundle_en_GB.properties +5 -0
  108. package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +5 -0
  109. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +18 -11
  110. package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +5 -0
  111. package/src/sap/ui/rta/messagebundle_es.properties +5 -0
  112. package/src/sap/ui/rta/messagebundle_es_MX.properties +5 -0
  113. package/src/sap/ui/rta/messagebundle_et.properties +5 -0
  114. package/src/sap/ui/rta/messagebundle_fi.properties +5 -0
  115. package/src/sap/ui/rta/messagebundle_fr.properties +5 -0
  116. package/src/sap/ui/rta/messagebundle_fr_CA.properties +5 -0
  117. package/src/sap/ui/rta/messagebundle_hi.properties +5 -0
  118. package/src/sap/ui/rta/messagebundle_hr.properties +5 -0
  119. package/src/sap/ui/rta/messagebundle_hu.properties +5 -0
  120. package/src/sap/ui/rta/messagebundle_id.properties +5 -0
  121. package/src/sap/ui/rta/messagebundle_it.properties +5 -0
  122. package/src/sap/ui/rta/messagebundle_iw.properties +5 -0
  123. package/src/sap/ui/rta/messagebundle_ja.properties +5 -0
  124. package/src/sap/ui/rta/messagebundle_kk.properties +5 -0
  125. package/src/sap/ui/rta/messagebundle_ko.properties +5 -0
  126. package/src/sap/ui/rta/messagebundle_lt.properties +5 -0
  127. package/src/sap/ui/rta/messagebundle_lv.properties +5 -0
  128. package/src/sap/ui/rta/messagebundle_ms.properties +5 -0
  129. package/src/sap/ui/rta/messagebundle_nl.properties +5 -0
  130. package/src/sap/ui/rta/messagebundle_no.properties +5 -0
  131. package/src/sap/ui/rta/messagebundle_pl.properties +5 -0
  132. package/src/sap/ui/rta/messagebundle_pt.properties +5 -0
  133. package/src/sap/ui/rta/messagebundle_pt_PT.properties +5 -0
  134. package/src/sap/ui/rta/messagebundle_ro.properties +5 -0
  135. package/src/sap/ui/rta/messagebundle_ru.properties +5 -0
  136. package/src/sap/ui/rta/messagebundle_sh.properties +5 -0
  137. package/src/sap/ui/rta/messagebundle_sk.properties +5 -0
  138. package/src/sap/ui/rta/messagebundle_sl.properties +5 -0
  139. package/src/sap/ui/rta/messagebundle_sv.properties +5 -0
  140. package/src/sap/ui/rta/messagebundle_th.properties +5 -0
  141. package/src/sap/ui/rta/messagebundle_tr.properties +5 -0
  142. package/src/sap/ui/rta/messagebundle_uk.properties +5 -0
  143. package/src/sap/ui/rta/messagebundle_vi.properties +5 -0
  144. package/src/sap/ui/rta/messagebundle_zh_CN.properties +5 -0
  145. package/src/sap/ui/rta/messagebundle_zh_TW.properties +5 -0
  146. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
  147. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  148. package/src/sap/ui/rta/plugin/Combine.js +1 -1
  149. package/src/sap/ui/rta/plugin/CompVariant.js +85 -66
  150. package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
  151. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  152. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  153. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  154. package/src/sap/ui/rta/plugin/EasyAdd.js +1 -1
  155. package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
  156. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  157. package/src/sap/ui/rta/plugin/Plugin.js +1 -1
  158. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  159. package/src/sap/ui/rta/plugin/Remove.js +1 -1
  160. package/src/sap/ui/rta/plugin/Rename.js +1 -1
  161. package/src/sap/ui/rta/plugin/RenameHandler.js +3 -1
  162. package/src/sap/ui/rta/plugin/Resize.js +1 -1
  163. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  164. package/src/sap/ui/rta/plugin/Settings.js +1 -1
  165. package/src/sap/ui/rta/plugin/Split.js +1 -1
  166. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  167. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
  168. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  169. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +20 -10
  170. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
  171. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  172. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  173. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
  174. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
  175. package/src/sap/ui/rta/service/Action.js +1 -1
  176. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  177. package/src/sap/ui/rta/service/Outline.js +1 -1
  178. package/src/sap/ui/rta/service/Property.js +1 -1
  179. package/src/sap/ui/rta/service/Selection.js +1 -1
  180. package/src/sap/ui/rta/themes/base/AddIFrame.less +37 -29
  181. package/src/sap/ui/rta/themes/base/ChangeVisualization.less +65 -62
  182. package/src/sap/ui/rta/themes/base/ContextMenu.less +25 -0
  183. package/src/sap/ui/rta/themes/base/Dialogs.less +79 -0
  184. package/src/sap/ui/rta/themes/base/FieldRepository.less +14 -61
  185. package/src/sap/ui/rta/themes/base/Overlay.less +52 -104
  186. package/src/sap/ui/rta/themes/base/OverlayWithScrollbar.less +7 -1
  187. package/src/sap/ui/rta/themes/base/Toolbar.adaptation.less +178 -36
  188. package/src/sap/ui/rta/themes/base/Toolbar.base.less +23 -154
  189. package/src/sap/ui/rta/themes/base/Toolbar.fiori.less +2 -21
  190. package/src/sap/ui/rta/themes/base/Toolbar.personalization.less +3 -14
  191. package/src/sap/ui/rta/themes/base/Toolbar.standalone.less +0 -9
  192. package/src/sap/ui/rta/themes/base/library.source.less +2 -0
  193. package/src/sap/ui/rta/themes/sap_hcb/ChangeVisualization.less +7 -0
  194. package/src/sap/ui/rta/themes/sap_hcb/ContextMenu.less +5 -0
  195. package/src/sap/ui/rta/themes/sap_hcb/Dialogs.less +28 -0
  196. package/src/sap/ui/rta/themes/sap_hcb/FieldRepository.less +18 -0
  197. package/src/sap/ui/rta/themes/sap_hcb/Overlay.less +52 -12
  198. package/src/sap/ui/rta/themes/sap_hcb/Toolbar.adaptation.less +38 -0
  199. package/src/sap/ui/rta/themes/sap_hcb/Toolbar.base.less +14 -2
  200. package/src/sap/ui/rta/themes/sap_hcb/Toolbar.personalization.less +8 -2
  201. package/src/sap/ui/rta/themes/sap_hcb/library.source.less +5 -2
  202. package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +29 -14
  203. package/src/sap/ui/rta/toolbar/Adaptation.js +57 -242
  204. package/src/sap/ui/rta/toolbar/Base.js +5 -15
  205. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  206. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  207. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  208. package/src/sap/ui/rta/toolbar/Personalization.js +1 -1
  209. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  210. package/src/sap/ui/rta/toolbar/translation/DownloadTranslationDialog.fragment.xml +20 -17
  211. package/src/sap/ui/rta/toolbar/translation/Translation.js +105 -99
  212. package/src/sap/ui/rta/toolbar/translation/UploadTranslationDialog.fragment.xml +4 -2
  213. package/src/sap/ui/rta/toolbar/{VersionHistory.fragment.xml → versioning/VersionHistory.fragment.xml} +6 -4
  214. package/src/sap/ui/rta/toolbar/{VersionTitleDialog.fragment.xml → versioning/VersionTitleDialog.fragment.xml} +3 -2
  215. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +271 -0
  216. package/src/sap/ui/rta/util/PluginManager.js +2 -2
  217. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  218. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  219. package/src/sap/ui/rta/util/adaptationStarter.js +102 -80
  220. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +9 -3
  221. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorCategorySelection.fragment.xml +1 -1
  222. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorPopover.fragment.xml +1 -1
  223. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -6
  224. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +24 -11
  225. package/src/sap/ui/rta/themes/sap_hcb/Toolbar.standalone.less +0 -9
package/THIRDPARTY.txt CHANGED
@@ -450,7 +450,7 @@ License: Apache-2.0
450
450
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
451
451
  Contained in: lib/jsdoc/ui5/plugin.js
452
452
 
453
- Component: SAP Theming Base Content, version: 11.1.38
453
+ Component: SAP Theming Base Content, version: 11.1.39
454
454
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
455
455
  License: Apache-2.0
456
456
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.rta",
3
- "version": "1.101.0",
3
+ "version": "1.103.0",
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.101.0",
18
- "@openui5/sap.ui.core": "1.101.0",
19
- "@openui5/sap.ui.dt": "1.101.0",
20
- "@openui5/sap.ui.fl": "1.101.0",
21
- "@openui5/sap.ui.layout": "1.101.0"
17
+ "@openui5/sap.m": "1.103.0",
18
+ "@openui5/sap.ui.core": "1.103.0",
19
+ "@openui5/sap.ui.dt": "1.103.0",
20
+ "@openui5/sap.ui.fl": "1.103.0",
21
+ "@openui5/sap.ui.layout": "1.103.0"
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.101.0</version>
9
+ <version>1.103.0</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.101.0
60
+ * @version 1.103.0
61
61
  * @private
62
62
  * @ui5-restricted
63
63
  */
@@ -21,6 +21,7 @@ sap.ui.define([
21
21
  "sap/ui/dt/OverlayRegistry",
22
22
  "sap/ui/dt/Util",
23
23
  "sap/ui/events/KeyCodes",
24
+ "sap/ui/fl/write/api/Version",
24
25
  "sap/ui/fl/apply/api/FlexRuntimeInfoAPI",
25
26
  "sap/ui/fl/apply/api/SmartVariantManagementApplyAPI",
26
27
  "sap/ui/fl/write/api/ControlPersonalizationWriteAPI",
@@ -28,9 +29,9 @@ sap.ui.define([
28
29
  "sap/ui/fl/write/api/PersistenceWriteAPI",
29
30
  "sap/ui/fl/write/api/ReloadInfoAPI",
30
31
  "sap/ui/fl/write/api/VersionsAPI",
32
+ "sap/ui/fl/write/api/TranslationAPI",
31
33
  "sap/ui/fl/Layer",
32
34
  "sap/ui/fl/LayerUtils",
33
- "sap/ui/fl/library",
34
35
  "sap/ui/fl/registry/Settings",
35
36
  "sap/ui/fl/Utils",
36
37
  "sap/ui/model/json/JSONModel",
@@ -67,6 +68,7 @@ sap.ui.define([
67
68
  OverlayRegistry,
68
69
  DtUtil,
69
70
  KeyCodes,
71
+ Version,
70
72
  FlexRuntimeInfoAPI,
71
73
  SmartVariantManagementApplyAPI,
72
74
  ControlPersonalizationWriteAPI,
@@ -74,9 +76,9 @@ sap.ui.define([
74
76
  PersistenceWriteAPI,
75
77
  ReloadInfoAPI,
76
78
  VersionsAPI,
79
+ TranslationAPI,
77
80
  Layer,
78
81
  LayerUtils,
79
- flexLibrary,
80
82
  Settings,
81
83
  FlexUtils,
82
84
  JSONModel,
@@ -114,7 +116,7 @@ sap.ui.define([
114
116
  * @class The runtime authoring allows to adapt the fields of a running application.
115
117
  * @extends sap.ui.base.ManagedObject
116
118
  * @author SAP SE
117
- * @version 1.101.0
119
+ * @version 1.103.0
118
120
  * @constructor
119
121
  * @private
120
122
  * @since 1.30
@@ -201,7 +203,13 @@ sap.ui.define([
201
203
  stop: {},
202
204
 
203
205
  /** Fired when the runtime authoring failed to start */
204
- failed: {},
206
+ failed: {
207
+ parameters: {
208
+ error: {
209
+ type: "any"
210
+ }
211
+ }
212
+ },
205
213
 
206
214
  /**
207
215
  * Event fired when a DesignTime selection is changed
@@ -413,7 +421,7 @@ sap.ui.define([
413
421
 
414
422
  RuntimeAuthoring.prototype._initVersioning = function() {
415
423
  return VersionsAPI.initialize({
416
- selector: this.getRootControlInstance(),
424
+ control: this.getRootControlInstance(),
417
425
  layer: this.getLayer()
418
426
  }).then(this._setVersionsModel.bind(this));
419
427
  };
@@ -569,19 +577,17 @@ sap.ui.define([
569
577
  });
570
578
  }.bind(this))
571
579
  .catch(function (vError) {
572
- if (vError !== "Reload triggered") {
573
- this._sStatus = FAILED;
574
- this.fireFailed(vError);
575
- }
576
- if (vError) {
577
- // destroy rta when reload is triggered
580
+ if (vError === "Reload triggered") {
581
+ // destroy rta when reload is triggered - otherwise the consumer needs to take care of this
578
582
  this.destroy();
579
- return Promise.reject(vError);
583
+ } else {
584
+ this._sStatus = FAILED;
585
+ this.fireFailed({error: vError});
580
586
  }
581
- return undefined;
587
+ return Promise.reject(vError);
582
588
  }.bind(this));
583
589
  }
584
- return undefined;
590
+ return Promise.reject("RuntimeAuthoring is already started");
585
591
  };
586
592
 
587
593
  function _ffContextMenuHandler() {
@@ -609,14 +615,14 @@ sap.ui.define([
609
615
 
610
616
  RuntimeAuthoring.prototype._isOldVersionDisplayed = function() {
611
617
  return VersionsAPI.isOldVersionDisplayed({
612
- selector: this.getRootControlInstance(),
618
+ control: this.getRootControlInstance(),
613
619
  layer: this.getLayer()
614
620
  });
615
621
  };
616
622
 
617
623
  RuntimeAuthoring.prototype._isDraftAvailable = function() {
618
624
  return VersionsAPI.isDraftAvailable({
619
- selector: this.getRootControlInstance(),
625
+ control: this.getRootControlInstance(),
620
626
  layer: this.getLayer()
621
627
  });
622
628
  };
@@ -682,7 +688,7 @@ sap.ui.define([
682
688
  */
683
689
  RuntimeAuthoring.prototype._onStackModified = function() {
684
690
  var bBackEndDraftExists = this._oVersionsModel.getProperty("/backendDraft");
685
- var bDraftDisplayed = this._oVersionsModel.getProperty("/displayedVersion") === sap.ui.fl.Versions.Draft;
691
+ var bDraftDisplayed = this._oVersionsModel.getProperty("/displayedVersion") === Version.Number.Draft;
686
692
  var oCommandStack = this.getCommandStack();
687
693
  var bCanUndo = oCommandStack.canUndo();
688
694
 
@@ -721,6 +727,8 @@ sap.ui.define([
721
727
  var oCommandStack = this.getCommandStack();
722
728
  var bCanUndo = oCommandStack.canUndo();
723
729
  var bCanRedo = oCommandStack.canRedo();
730
+ var bTranslationRelevantDirtyChange = this._oToolbarControlsModel.getProperty("/translationVisible") &&
731
+ TranslationAPI.hasTranslationRelevantDirtyChanges({layer: Layer.CUSTOMER, selector: this.getRootControlInstance()});
724
732
 
725
733
  // TODO: move to the setter to the ChangesState
726
734
  this._oVersionsModel.setDirtyChanges(bCanUndo);
@@ -728,6 +736,7 @@ sap.ui.define([
728
736
  this._oToolbarControlsModel.setProperty("/redoEnabled", bCanRedo);
729
737
  this._oToolbarControlsModel.setProperty("/publishEnabled", this.bInitialPublishEnabled || bCanUndo);
730
738
  this._oToolbarControlsModel.setProperty("/restoreEnabled", this.bInitialResetEnabled || bCanUndo);
739
+ this._oToolbarControlsModel.setProperty("/translationEnabled", this.bPersistedDataTranslatable || bTranslationRelevantDirtyChange);
731
740
  }
732
741
  this.fireUndoRedoStackModified();
733
742
  return Promise.resolve();
@@ -886,8 +895,12 @@ sap.ui.define([
886
895
  };
887
896
 
888
897
  RuntimeAuthoring.prototype._serializeAndSave = function() {
898
+ if (this.getShowToolbars()) {
899
+ this.bPersistedDataTranslatable = this._oToolbarControlsModel.getProperty("/translationEnabled");
900
+ }
889
901
  // Save changes on the current layer and discard dirty changes on other layers
890
- return this._oSerializer.saveCommands(this._oVersionsModel.getProperty("/versioningEnabled"), this.getLayer(), true);
902
+ var bSaveAsDraft = this._oVersionsModel.getProperty("/versioningEnabled") && this.getLayer() === Layer.CUSTOMER;
903
+ return this._oSerializer.saveCommands(bSaveAsDraft, this.getLayer(), true);
891
904
  };
892
905
 
893
906
  RuntimeAuthoring.prototype._serializeToLrep = function() {
@@ -920,7 +933,7 @@ sap.ui.define([
920
933
  })
921
934
  .then(function(sAction) {
922
935
  if (sAction === MessageBox.Action.OK) {
923
- this._activate(sVersionTitle);
936
+ return this._activate(sVersionTitle);
924
937
  }
925
938
  }.bind(this));
926
939
  }
@@ -930,10 +943,13 @@ sap.ui.define([
930
943
  RuntimeAuthoring.prototype._activate = function(sVersionTitle) {
931
944
  var sLayer = this.getLayer();
932
945
  var oSelector = this.getRootControlInstance();
933
- return VersionsAPI.activate({
934
- layer: sLayer,
935
- selector: oSelector,
936
- title: sVersionTitle
946
+ return this._serializeAndSave()
947
+ .then(function () {
948
+ return VersionsAPI.activate({
949
+ layer: sLayer,
950
+ control: oSelector,
951
+ title: sVersionTitle
952
+ });
937
953
  }).then(function () {
938
954
  this._showMessageToast("MSG_DRAFT_ACTIVATION_SUCCESS");
939
955
  this.bInitialResetEnabled = true;
@@ -972,7 +988,7 @@ sap.ui.define([
972
988
  if (sAction === MessageBox.Action.OK) {
973
989
  return VersionsAPI.discardDraft({
974
990
  layer: this.getLayer(),
975
- selector: this.getRootControlInstance(),
991
+ control: this.getRootControlInstance(),
976
992
  updateState: true
977
993
  })
978
994
  .then(this._handleDiscard.bind(this));
@@ -1027,11 +1043,11 @@ sap.ui.define([
1027
1043
  }
1028
1044
  var mParsedHash = FlexUtils.getParsedURLHash(this._getUShellService("URLParsing"));
1029
1045
  VersionsAPI.loadVersionForApplication({
1030
- selector: this.getRootControlInstance(),
1046
+ control: this.getRootControlInstance(),
1031
1047
  layer: this.getLayer(),
1032
1048
  version: sVersion
1033
1049
  });
1034
- var aVersionsParameter = mParsedHash.params[sap.ui.fl.Versions.UrlParameter];
1050
+ var aVersionsParameter = mParsedHash.params[Version.UrlParameter];
1035
1051
  if (
1036
1052
  aVersionsParameter &&
1037
1053
  aVersionsParameter[0] === sVersion &&
@@ -1040,7 +1056,7 @@ sap.ui.define([
1040
1056
  // RTA was started with a version parameter, the displayed version has changed and the key user switches back
1041
1057
  this._getUShellService("AppLifeCycle").reloadCurrentApp();
1042
1058
  } else {
1043
- mParsedHash.params[sap.ui.fl.Versions.UrlParameter] = sVersion;
1059
+ mParsedHash.params[Version.UrlParameter] = sVersion;
1044
1060
  this._triggerCrossAppNavigation(mParsedHash);
1045
1061
  }
1046
1062
  return undefined;
@@ -1067,6 +1083,7 @@ sap.ui.define([
1067
1083
 
1068
1084
  if (!bUserLayer) {
1069
1085
  oProperties.transport = this._onTransport.bind(this);
1086
+ oProperties.publishVersion = this._onPublishVersion.bind(this);
1070
1087
  oProperties.undo = this._onUndo.bind(this);
1071
1088
  oProperties.redo = this._onRedo.bind(this);
1072
1089
  oProperties.modeChange = this._onModeChange.bind(this);
@@ -1090,47 +1107,66 @@ sap.ui.define([
1090
1107
  }
1091
1108
  this.addDependent(oToolbar, "toolbar");
1092
1109
 
1093
- return oToolbar.onFragmentLoaded().then(function() {
1094
- var bSaveAsAvailable = aButtonsVisibility.saveAsAvailable;
1095
- var bExtendedOverview = bSaveAsAvailable && RtaAppVariantFeature.isOverviewExtended();
1096
- var oUriParameters = UriParameters.fromURL(window.location.href);
1097
- // the "Visualization" tab should not be visible if the "fiori-tools-rta-mode" URL-parameter is set to any value but "false"
1098
- var bVisualizationButtonVisible;
1099
- if (oUriParameters.has("fiori-tools-rta-mode") && oUriParameters.get("fiori-tools-rta-mode") !== "false") {
1100
- bVisualizationButtonVisible = false;
1101
- } else {
1102
- bVisualizationButtonVisible = true;
1103
- }
1110
+ return Promise.all([oToolbar.onFragmentLoaded(), FeaturesAPI.isKeyUserTranslationEnabled(this.getLayer())])
1111
+ .then(function(aArguments) {
1112
+ var bTranslationAvailable = aArguments[1];
1113
+ var bSaveAsAvailable = aButtonsVisibility.saveAsAvailable;
1114
+ var bExtendedOverview = bSaveAsAvailable && RtaAppVariantFeature.isOverviewExtended();
1115
+ var oUriParameters = UriParameters.fromURL(window.location.href);
1116
+ // the "Visualization" tab should not be visible if the "fiori-tools-rta-mode" URL-parameter is set to any value but "false"
1117
+ var bVisualizationButtonVisible;
1118
+ bVisualizationButtonVisible = !oUriParameters.has("fiori-tools-rta-mode") || oUriParameters.get("fiori-tools-rta-mode") === "false";
1119
+ this.bPersistedDataTranslatable = false;
1120
+
1121
+ this._oToolbarControlsModel = new JSONModel({
1122
+ undoEnabled: false,
1123
+ redoEnabled: false,
1124
+ translationVisible: bTranslationAvailable,
1125
+ translationEnabled: this.bPersistedDataTranslatable,
1126
+ publishVisible: aButtonsVisibility.publishAvailable,
1127
+ publishEnabled: this.bInitialPublishEnabled,
1128
+ restoreEnabled: this.bInitialResetEnabled,
1129
+ appVariantsOverviewVisible: bSaveAsAvailable && bExtendedOverview,
1130
+ appVariantsOverviewEnabled: bSaveAsAvailable && bExtendedOverview,
1131
+ saveAsVisible: bSaveAsAvailable,
1132
+ saveAsEnabled: false,
1133
+ manageAppsVisible: bSaveAsAvailable && !bExtendedOverview,
1134
+ manageAppsEnabled: bSaveAsAvailable && !bExtendedOverview,
1135
+ modeSwitcher: this.getMode(),
1136
+ visualizationButtonVisible: bVisualizationButtonVisible
1137
+ });
1104
1138
 
1105
- this._oToolbarControlsModel = new JSONModel({
1106
- undoEnabled: false,
1107
- redoEnabled: false,
1108
- translationVisible: false,
1109
- translationEnabled: false,
1110
- publishVisible: aButtonsVisibility.publishAvailable,
1111
- publishEnabled: this.bInitialPublishEnabled,
1112
- restoreEnabled: this.bInitialResetEnabled,
1113
- appVariantsOverviewVisible: bSaveAsAvailable && bExtendedOverview,
1114
- appVariantsOverviewEnabled: bSaveAsAvailable && bExtendedOverview,
1115
- saveAsVisible: bSaveAsAvailable,
1116
- saveAsEnabled: false,
1117
- manageAppsVisible: bSaveAsAvailable && !bExtendedOverview,
1118
- manageAppsEnabled: bSaveAsAvailable && !bExtendedOverview,
1119
- modeSwitcher: this.getMode(),
1120
- visualizationButtonVisible: bVisualizationButtonVisible
1121
- });
1139
+ var oTranslationPromise = new Promise(function (resolve) {
1140
+ if (!bTranslationAvailable) {
1141
+ resolve();
1142
+ return;
1143
+ }
1122
1144
 
1123
- if (bSaveAsAvailable) {
1124
- RtaAppVariantFeature.isManifestSupported().then(function (bResult) {
1125
- this._oToolbarControlsModel.setProperty("/saveAsEnabled", bResult);
1126
- this._oToolbarControlsModel.setProperty("/appVariantsOverviewEnabled", bResult);
1127
- this._oToolbarControlsModel.setProperty("/manageAppsEnabled", bResult);
1145
+ TranslationAPI.getSourceLanguages({selector: this.getRootControlInstance(), layer: this.getLayer()})
1146
+ .then(function (aSourceLanguages) {
1147
+ this.bPersistedDataTranslatable = aSourceLanguages.length > 0;
1148
+ this._oToolbarControlsModel.setProperty("/translationEnabled", this.bPersistedDataTranslatable);
1149
+ }.bind(this)).finally(resolve);
1128
1150
  }.bind(this));
1129
- }
1130
1151
 
1131
- this.getToolbar().setModel(this._oVersionsModel, "versions");
1132
- this.getToolbar().setModel(this._oToolbarControlsModel, "controls");
1133
- }.bind(this));
1152
+ var oSaveAsPromise = new Promise(function (resolve) {
1153
+ if (!bSaveAsAvailable) {
1154
+ resolve();
1155
+ return;
1156
+ }
1157
+
1158
+ RtaAppVariantFeature.isManifestSupported().then(function (bResult) {
1159
+ this._oToolbarControlsModel.setProperty("/saveAsEnabled", bResult);
1160
+ this._oToolbarControlsModel.setProperty("/appVariantsOverviewEnabled", bResult);
1161
+ this._oToolbarControlsModel.setProperty("/manageAppsEnabled", bResult);
1162
+ }.bind(this)).finally(resolve);
1163
+ }.bind(this));
1164
+
1165
+ this.getToolbar().setModel(this._oVersionsModel, "versions");
1166
+ this.getToolbar().setModel(this._oToolbarControlsModel, "controls");
1167
+
1168
+ return Promise.all([oTranslationPromise, oSaveAsPromise]);
1169
+ }.bind(this));
1134
1170
  }
1135
1171
  return Promise.resolve();
1136
1172
  };
@@ -1185,6 +1221,22 @@ sap.ui.define([
1185
1221
  ManagedObject.prototype.destroy.apply(this, arguments);
1186
1222
  };
1187
1223
 
1224
+ RuntimeAuthoring.prototype._onPublishVersion = function() {
1225
+ this.getPluginManager().handleStopCutPaste();
1226
+
1227
+ return VersionsAPI.publish({
1228
+ selector: this.getRootControlInstance(),
1229
+ styleClass: Utils.getRtaStyleClassName(),
1230
+ layer: this.getLayer(),
1231
+ version: this._oVersionsModel.getProperty("/displayedVersion")
1232
+ })
1233
+ .then(function(sMessage) {
1234
+ if (sMessage !== "Error" && sMessage !== "Cancel") {
1235
+ MessageToast.show(sMessage);
1236
+ }
1237
+ });
1238
+ };
1239
+
1188
1240
  /**
1189
1241
  * Function to handle ABAP transport of the changes
1190
1242
  * @return {Promise} Returns a Promise processing the transport of changes
@@ -1211,21 +1263,21 @@ sap.ui.define([
1211
1263
  layer: this.getLayer(),
1212
1264
  appVariantDescriptors: aAppVariantDescriptor
1213
1265
  })
1214
- .then(function(sMessage) {
1215
- if (sMessage !== "Error" && sMessage !== "Cancel") {
1216
- MessageToast.show(sMessage);
1217
- if (this.getShowToolbars()) {
1218
- PersistenceWriteAPI.getResetAndPublishInfo({
1219
- selector: this.getRootControlInstance(),
1220
- layer: this.getLayer()
1221
- })
1222
- .then(function(oPublishAndResetInfo) {
1223
- this._oToolbarControlsModel.setProperty("/publishEnabled", oPublishAndResetInfo.isPublishEnabled);
1224
- this._oToolbarControlsModel.setProperty("/restoreEnabled", oPublishAndResetInfo.isResetEnabled);
1225
- }.bind(this));
1226
- }
1266
+ .then(function(sMessage) {
1267
+ if (sMessage !== "Error" && sMessage !== "Cancel") {
1268
+ MessageToast.show(sMessage);
1269
+ if (this.getShowToolbars()) {
1270
+ PersistenceWriteAPI.getResetAndPublishInfo({
1271
+ selector: this.getRootControlInstance(),
1272
+ layer: this.getLayer()
1273
+ })
1274
+ .then(function(oPublishAndResetInfo) {
1275
+ this._oToolbarControlsModel.setProperty("/publishEnabled", oPublishAndResetInfo.isPublishEnabled);
1276
+ this._oToolbarControlsModel.setProperty("/restoreEnabled", oPublishAndResetInfo.isResetEnabled);
1277
+ }.bind(this));
1227
1278
  }
1228
- }.bind(this));
1279
+ }
1280
+ }.bind(this));
1229
1281
  }.bind(this));
1230
1282
  }.bind(this))["catch"](showTechnicalError);
1231
1283
  };
@@ -1510,9 +1562,9 @@ sap.ui.define([
1510
1562
  return mParsedHash;
1511
1563
  }
1512
1564
 
1513
- var sVersionParameter = FlexUtils.getParameter(flexLibrary.Versions.UrlParameter, this._getUShellService("URLParsing"));
1565
+ var sVersionParameter = FlexUtils.getParameter(Version.UrlParameter, this._getUShellService("URLParsing"));
1514
1566
  if (sVersionParameter) {
1515
- delete mParsedHash.params[flexLibrary.Versions.UrlParameter];
1567
+ delete mParsedHash.params[Version.UrlParameter];
1516
1568
  } else if (
1517
1569
  (this._isDraftAvailable() || bTriggerReload /* for discarding of dirty changes */) &&
1518
1570
  !oReloadInfo.hasHigherLayerChanges &&
@@ -1552,19 +1604,13 @@ sap.ui.define([
1552
1604
  return undefined;
1553
1605
  }
1554
1606
 
1555
- // allContexts do not change the url parameter to trigger a reload
1556
- if (
1557
- oReloadInfo.allContexts &&
1558
- !oReloadInfo.hasHigherLayerChanges &&
1559
- this._getUShellService("AppLifeCycle")
1560
- ) {
1607
+ if (oReloadInfo.hasHigherLayerChanges || oReloadInfo.hasVersionUrlParameter) {
1608
+ mParsedHash = this._removeMaxLayerParameterForFLP(oReloadInfo, mParsedHash);
1609
+ mParsedHash = this._removeVersionParameterForFLP(oReloadInfo, mParsedHash, false);
1610
+ this._triggerCrossAppNavigation(mParsedHash);
1611
+ } else {
1561
1612
  this._getUShellService("AppLifeCycle").reloadCurrentApp();
1562
1613
  }
1563
-
1564
- mParsedHash = this._removeMaxLayerParameterForFLP(oReloadInfo, mParsedHash);
1565
- mParsedHash = this._removeVersionParameterForFLP(oReloadInfo, mParsedHash, false);
1566
- this._triggerCrossAppNavigation(mParsedHash);
1567
-
1568
1614
  // In FLP scenario we need to remove all parameters and also trigger an hard reload on reset
1569
1615
  if (oReloadInfo.triggerHardReload) {
1570
1616
  this._reloadPage();
@@ -1671,12 +1717,12 @@ sap.ui.define([
1671
1717
  if (oReloadInfo.isDraftAvailable) {
1672
1718
  // clears FlexState and triggers reloading of the flex data without blocking
1673
1719
  VersionsAPI.loadDraftForApplication({
1674
- selector: oReloadInfo.selector,
1720
+ control: oReloadInfo.selector,
1675
1721
  layer: oReloadInfo.layer
1676
1722
  });
1677
1723
  } else {
1678
1724
  VersionsAPI.loadVersionForApplication({
1679
- selector: oReloadInfo.selector,
1725
+ control: oReloadInfo.selector,
1680
1726
  layer: oReloadInfo.layer,
1681
1727
  allContexts: oReloadInfo.allContexts
1682
1728
  });
@@ -1694,6 +1740,7 @@ sap.ui.define([
1694
1740
  if (
1695
1741
  oReloadInfo.allContexts &&
1696
1742
  !oReloadInfo.hasHigherLayerChanges &&
1743
+ !oReloadInfo.isDraftAvailable &&
1697
1744
  this._getUShellService("AppLifeCycle")
1698
1745
  ) {
1699
1746
  this._getUShellService("AppLifeCycle").reloadCurrentApp();
@@ -1809,6 +1856,10 @@ sap.ui.define([
1809
1856
  oTabHandlingPlugin[(sNewMode === "navigation") ? "restoreTabIndex" : "removeTabIndex"]();
1810
1857
  }
1811
1858
 
1859
+ if (sCurrentMode === "adaptation") {
1860
+ this.getPluginManager().handleStopCutPaste();
1861
+ }
1862
+
1812
1863
  oTabHandlingPlugin[(sNewMode === "adaptation") ? "restoreOverlayTabIndex" : "removeOverlayTabIndex"]();
1813
1864
  oSelectionPlugin.setIsActive(!(sNewMode === "visualization"));
1814
1865
 
@@ -45,7 +45,7 @@ function(
45
45
  *
46
46
  * @namespace
47
47
  * @author SAP SE
48
- * @version 1.101.0
48
+ * @version 1.103.0
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.101.0
27
+ * @version 1.103.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.53
@@ -563,10 +563,10 @@ sap.ui.define([
563
563
  var oUshellContainer = FlexUtils.getUshellContainer();
564
564
  var oComponentInstance;
565
565
  if (oUshellContainer) {
566
- return oUshellContainer.getServiceAsync("AppConfiguration")
566
+ return oUshellContainer.getServiceAsync("AppLifeCycle")
567
567
  .then(function(oAppConfiguration) {
568
568
  var oApplication = oAppConfiguration.getCurrentApplication();
569
- oComponentInstance = oApplication.componentHandle.getInstance();
569
+ oComponentInstance = oApplication.componentInstance;
570
570
  if (oComponentInstance) {
571
571
  return oUshellContainer.getServiceAsync("CrossApplicationNavigation");
572
572
  }
@@ -110,7 +110,7 @@ sap.ui.define([
110
110
  };
111
111
 
112
112
  var oUriParameters = new UriParameters(window.location.href);
113
- var sAppContextsEnabled = oUriParameters.get("sap-ui-rta-appContexts");
113
+ var sAppContextsEnabled = oUriParameters.get("sap-ui-xx-rta-adaptations");
114
114
 
115
115
  var sOverviewPath = "sap/ui/rta/appVariant/AppVariantOverviewDialog";
116
116
  var oProperties = {
@@ -229,8 +229,6 @@ sap.ui.define([
229
229
  return this.copyId(oEvent);
230
230
  } else if (sItemPath === oI18n.getText("MAA_DIALOG_DELETE_APPVAR")) {
231
231
  return this.deleteAppVariant(oEvent);
232
- } else if (sItemPath === oI18n.getText("MAA_DIALOG_SAVE_AS_APP")) {
233
- return this.saveAsAppVariant(oEvent);
234
232
  }
235
233
 
236
234
  return undefined;
@@ -265,21 +263,6 @@ sap.ui.define([
265
263
  return false;
266
264
  },
267
265
 
268
- saveAsAppVariant: function(oEvent) {
269
- AppVariantUtils.closeOverviewDialog();
270
-
271
- var sDescriptorUrl = this.getModelProperty("descriptorUrl", oEvent.getSource().getBindingContext());
272
-
273
- BusyIndicator.show();
274
- return AppVariantOverviewUtils.getDescriptor({
275
- appVarUrl: sDescriptorUrl,
276
- layer: _sLayer
277
- }).then(function(oAppVariantDescriptor) {
278
- BusyIndicator.hide();
279
- return RtaAppVariantFeature.onSaveAs(false, false, _sLayer, oAppVariantDescriptor);
280
- });
281
- },
282
-
283
266
  copyId: function(oEvent) {
284
267
  var sCopiedId = this.getModelProperty("appId", oEvent.getSource().getBindingContext());
285
268
  AppVariantUtils.copyId(sCopiedId);
@@ -29,10 +29,6 @@ MAA_ORIGINAL_TYPE=Original App
29
29
  MAA_APP_VARIANT_TYPE=App Variant
30
30
  #XFLD
31
31
  MAA_CURRENT_APP_STATUS=Current Status
32
- #XFLD
33
- MAA_DIALOG_SAVE_AS_APP=Save As
34
- #XTOL: Tooltip for Button 'Save As' of the App variant overview list
35
- TOOLTIP_MAA_DIALOG_SAVE_AS_APP=Create New App Variant
36
32
  #XTOL: Tooltip for Button 'Copy ID'
37
33
  TOOLTIP_MAA_DIALOG_COPY_ID=Copy the ID of the app variant to the clipboard
38
34
  #XFLD
@@ -13,8 +13,6 @@ MAA_NEW_APP_VARIANT=\u0645\u0646\u0634\u0623 \u0644\u0644\u062A\u0648
13
13
  MAA_ORIGINAL_TYPE=\u0627\u0644\u062A\u0637\u0628\u064A\u0642 \u0627\u0644\u0623\u0635\u0644\u064A
14
14
  MAA_APP_VARIANT_TYPE=\u0645\u062A\u063A\u064A\u0631 \u0627\u0644\u062A\u0637\u0628\u064A\u0642
15
15
  MAA_CURRENT_APP_STATUS=\u0627\u0644\u062D\u0627\u0644\u0629 \u0627\u0644\u062D\u0627\u0644\u064A\u0629
16
- MAA_DIALOG_SAVE_AS_APP=\u062D\u0641\u0638 \u0628\u0627\u0633\u0645
17
- TOOLTIP_MAA_DIALOG_SAVE_AS_APP=\u0625\u0646\u0634\u0627\u0621 \u0645\u062A\u063A\u064A\u0631 \u062A\u0637\u0628\u064A\u0642 \u062C\u062F\u064A\u062F
18
16
  TOOLTIP_MAA_DIALOG_COPY_ID=\u0646\u0633\u062E \u0645\u0639\u0631\u0641 \u0645\u062A\u063A\u064A\u0631 \u0627\u0644\u062A\u0637\u0628\u064A\u0642 \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629
19
17
  MAA_DIALOG_COPY_ID=\u0645\u0639\u0631\u0641 \u0627\u0644\u0646\u0633\u062E
20
18
  MAA_DIALOG_APP_TYPE=\u0646\u0648\u0639 \u0627\u0644\u062A\u0637\u0628\u064A\u0642
@@ -13,8 +13,6 @@ MAA_NEW_APP_VARIANT=\u0422\u043E\u043A\u0443-\u0449\u043E \u0441\u044A\u0437\u04
13
13
  MAA_ORIGINAL_TYPE=\u041E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u043D\u043E \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435
14
14
  MAA_APP_VARIANT_TYPE=\u0412\u0430\u0440\u0438\u0430\u043D\u0442 \u043D\u0430 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435
15
15
  MAA_CURRENT_APP_STATUS=\u0422\u0435\u043A\u0443\u0449 \u0441\u0442\u0430\u0442\u0443\u0441
16
- MAA_DIALOG_SAVE_AS_APP=\u0417\u0430\u043F\u0430\u0437\u0432\u0430\u043D\u0435 \u043A\u0430\u0442\u043E
17
- TOOLTIP_MAA_DIALOG_SAVE_AS_APP=\u0421\u044A\u0437\u0434\u0430\u0432\u0430\u043D\u0435 \u043D\u0430 \u043D\u043E\u0432 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u043D\u0430 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435
18
16
  TOOLTIP_MAA_DIALOG_COPY_ID=\u041A\u043E\u043F\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0418\u0414 \u0437\u0430 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u043D\u0430 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0442\u043E \u043D\u0430 \u043A\u043B\u0438\u043F\u0431\u043E\u0440\u0434
19
17
  MAA_DIALOG_COPY_ID=\u041A\u043E\u043F\u0438\u0440\u0430\u043D\u0435 \u0418\u0414
20
18
  MAA_DIALOG_APP_TYPE=\u0412\u0438\u0434 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435
@@ -13,8 +13,6 @@ MAA_NEW_APP_VARIANT=Acabat de crear
13
13
  MAA_ORIGINAL_TYPE=Aplicaci\u00F3 original
14
14
  MAA_APP_VARIANT_TYPE=Variant d'aplicaci\u00F3
15
15
  MAA_CURRENT_APP_STATUS=Estat actual
16
- MAA_DIALOG_SAVE_AS_APP=Desar com a
17
- TOOLTIP_MAA_DIALOG_SAVE_AS_APP=Crear nova variant d\u2019aplicaci\u00F3
18
16
  TOOLTIP_MAA_DIALOG_COPY_ID=Copiar l'ID de la variant d'aplicaci\u00F3 al porta-retalls
19
17
  MAA_DIALOG_COPY_ID=Copiar ID
20
18
  MAA_DIALOG_APP_TYPE=Afegir tipus
@@ -13,8 +13,6 @@ MAA_NEW_APP_VARIANT=Pr\u00E1v\u011B vytvo\u0159eno
13
13
  MAA_ORIGINAL_TYPE=P\u016Fvodn\u00ED aplikace
14
14
  MAA_APP_VARIANT_TYPE=Varianta aplikace
15
15
  MAA_CURRENT_APP_STATUS=Aktu\u00E1ln\u00ED status
16
- MAA_DIALOG_SAVE_AS_APP=Ulo\u017Eit jako
17
- TOOLTIP_MAA_DIALOG_SAVE_AS_APP=Vytvo\u0159it novou variantu aplikace
18
16
  TOOLTIP_MAA_DIALOG_COPY_ID=Kop\u00EDrovat ID varianty aplikace do mezipam\u011Bti
19
17
  MAA_DIALOG_COPY_ID=ID kopie
20
18
  MAA_DIALOG_APP_TYPE=Typ aplikace
@@ -13,8 +13,6 @@ MAA_NEW_APP_VARIANT=Newydd ei Greu
13
13
  MAA_ORIGINAL_TYPE=Ap Gwreiddiol
14
14
  MAA_APP_VARIANT_TYPE=Amrywiad Ap
15
15
  MAA_CURRENT_APP_STATUS=Statws Cyfredol
16
- MAA_DIALOG_SAVE_AS_APP=Cadw Fel
17
- TOOLTIP_MAA_DIALOG_SAVE_AS_APP=Creu Amrywiad Ap Newydd
18
16
  TOOLTIP_MAA_DIALOG_COPY_ID=Cop\u00EFo ID yr amrywiad ap i'r clipfwrdd
19
17
  MAA_DIALOG_COPY_ID=Cop\u00EFo ID
20
18
  MAA_DIALOG_APP_TYPE=Math o Ap
@@ -13,8 +13,6 @@ MAA_NEW_APP_VARIANT=Netop oprettet
13
13
  MAA_ORIGINAL_TYPE=Original app
14
14
  MAA_APP_VARIANT_TYPE=App-variant
15
15
  MAA_CURRENT_APP_STATUS=Aktuel status
16
- MAA_DIALOG_SAVE_AS_APP=Gem som
17
- TOOLTIP_MAA_DIALOG_SAVE_AS_APP=Opret ny app-variant
18
16
  TOOLTIP_MAA_DIALOG_COPY_ID=Kopier ID'en for app-varianten til udklipsholderen
19
17
  MAA_DIALOG_COPY_ID=Kopier ID
20
18
  MAA_DIALOG_APP_TYPE=App-type
@@ -13,8 +13,6 @@ MAA_NEW_APP_VARIANT=Gerade angelegt
13
13
  MAA_ORIGINAL_TYPE=Original-App
14
14
  MAA_APP_VARIANT_TYPE=App-Variante
15
15
  MAA_CURRENT_APP_STATUS=Aktueller Status
16
- MAA_DIALOG_SAVE_AS_APP=Sichern als
17
- TOOLTIP_MAA_DIALOG_SAVE_AS_APP=Neue App-Variante anlegen
18
16
  TOOLTIP_MAA_DIALOG_COPY_ID=ID der App-Variante in Zwischenablage kopieren
19
17
  MAA_DIALOG_COPY_ID=ID kopieren
20
18
  MAA_DIALOG_APP_TYPE=App-Typ