@openui5/sap.ui.rta 1.142.0 → 1.143.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 (170) hide show
  1. package/.eslintrc.json +3 -2
  2. package/REUSE.toml +1 -1
  3. package/THIRDPARTY.txt +2 -2
  4. package/package.json +6 -6
  5. package/src/sap/ui/rta/.library +1 -1
  6. package/src/sap/ui/rta/Client.js +1 -2
  7. package/src/sap/ui/rta/RuntimeAuthoring.js +20 -16
  8. package/src/sap/ui/rta/Utils.js +1 -1
  9. package/src/sap/ui/rta/appVariant/AppVariantDialog.js +2 -2
  10. package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
  11. package/src/sap/ui/rta/appVariant/AppVariantOverviewDialog.js +0 -1
  12. package/src/sap/ui/rta/appVariant/AppVariantUtils.js +4 -4
  13. package/src/sap/ui/rta/appVariant/Feature.js +1 -1
  14. package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +2 -3
  15. package/src/sap/ui/rta/appVariant/manageApps/webapp/Component.js +0 -1
  16. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  17. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  18. package/src/sap/ui/rta/command/AddXML.js +1 -1
  19. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  20. package/src/sap/ui/rta/command/AnnotationCommand.js +1 -1
  21. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  22. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  23. package/src/sap/ui/rta/command/Combine.js +1 -1
  24. package/src/sap/ui/rta/command/CommandFactory.js +1 -1
  25. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  26. package/src/sap/ui/rta/command/ControlVariantConfigure.js +2 -2
  27. package/src/sap/ui/rta/command/ControlVariantSave.js +2 -2
  28. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +4 -3
  29. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +2 -2
  30. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -2
  31. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  32. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  33. package/src/sap/ui/rta/command/ExtendControllerCommand.js +9 -2
  34. package/src/sap/ui/rta/command/FlexCommand.js +3 -3
  35. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  36. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  37. package/src/sap/ui/rta/command/ManifestCommand.js +2 -2
  38. package/src/sap/ui/rta/command/Move.js +1 -1
  39. package/src/sap/ui/rta/command/Property.js +1 -1
  40. package/src/sap/ui/rta/command/Remove.js +1 -1
  41. package/src/sap/ui/rta/command/Rename.js +1 -1
  42. package/src/sap/ui/rta/command/Resize.js +1 -1
  43. package/src/sap/ui/rta/command/Reveal.js +1 -1
  44. package/src/sap/ui/rta/command/Settings.js +1 -1
  45. package/src/sap/ui/rta/command/Split.js +1 -1
  46. package/src/sap/ui/rta/command/Stack.js +2 -2
  47. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +2 -2
  48. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  49. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -2
  50. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +3 -3
  51. package/src/sap/ui/rta/command/manifest/AddLibrary.js +2 -2
  52. package/src/sap/ui/rta/enablement/elementActionTest.js +5 -5
  53. package/src/sap/ui/rta/library.js +2 -2
  54. package/src/sap/ui/rta/messagebundle.properties +2 -0
  55. package/src/sap/ui/rta/messagebundle_ar.properties +3 -0
  56. package/src/sap/ui/rta/messagebundle_bg.properties +3 -0
  57. package/src/sap/ui/rta/messagebundle_ca.properties +3 -0
  58. package/src/sap/ui/rta/messagebundle_cnr.properties +3 -0
  59. package/src/sap/ui/rta/messagebundle_cs.properties +3 -0
  60. package/src/sap/ui/rta/messagebundle_cy.properties +3 -0
  61. package/src/sap/ui/rta/messagebundle_da.properties +3 -0
  62. package/src/sap/ui/rta/messagebundle_de.properties +3 -0
  63. package/src/sap/ui/rta/messagebundle_el.properties +3 -0
  64. package/src/sap/ui/rta/messagebundle_en.properties +3 -0
  65. package/src/sap/ui/rta/messagebundle_en_GB.properties +3 -0
  66. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +3 -0
  67. package/src/sap/ui/rta/messagebundle_es.properties +3 -0
  68. package/src/sap/ui/rta/messagebundle_es_MX.properties +3 -0
  69. package/src/sap/ui/rta/messagebundle_et.properties +3 -0
  70. package/src/sap/ui/rta/messagebundle_fi.properties +3 -0
  71. package/src/sap/ui/rta/messagebundle_fr.properties +3 -0
  72. package/src/sap/ui/rta/messagebundle_fr_CA.properties +3 -0
  73. package/src/sap/ui/rta/messagebundle_hi.properties +3 -0
  74. package/src/sap/ui/rta/messagebundle_hr.properties +3 -0
  75. package/src/sap/ui/rta/messagebundle_hu.properties +3 -0
  76. package/src/sap/ui/rta/messagebundle_id.properties +3 -0
  77. package/src/sap/ui/rta/messagebundle_it.properties +3 -0
  78. package/src/sap/ui/rta/messagebundle_iw.properties +3 -0
  79. package/src/sap/ui/rta/messagebundle_ja.properties +3 -0
  80. package/src/sap/ui/rta/messagebundle_kk.properties +3 -0
  81. package/src/sap/ui/rta/messagebundle_ko.properties +3 -0
  82. package/src/sap/ui/rta/messagebundle_lt.properties +3 -0
  83. package/src/sap/ui/rta/messagebundle_lv.properties +3 -0
  84. package/src/sap/ui/rta/messagebundle_mk.properties +3 -0
  85. package/src/sap/ui/rta/messagebundle_ms.properties +3 -0
  86. package/src/sap/ui/rta/messagebundle_nl.properties +3 -0
  87. package/src/sap/ui/rta/messagebundle_no.properties +3 -0
  88. package/src/sap/ui/rta/messagebundle_pl.properties +3 -0
  89. package/src/sap/ui/rta/messagebundle_pt.properties +3 -0
  90. package/src/sap/ui/rta/messagebundle_pt_PT.properties +3 -0
  91. package/src/sap/ui/rta/messagebundle_ro.properties +3 -0
  92. package/src/sap/ui/rta/messagebundle_ru.properties +3 -0
  93. package/src/sap/ui/rta/messagebundle_sh.properties +3 -0
  94. package/src/sap/ui/rta/messagebundle_sk.properties +3 -0
  95. package/src/sap/ui/rta/messagebundle_sl.properties +3 -0
  96. package/src/sap/ui/rta/messagebundle_sr.properties +3 -0
  97. package/src/sap/ui/rta/messagebundle_sv.properties +3 -0
  98. package/src/sap/ui/rta/messagebundle_th.properties +3 -0
  99. package/src/sap/ui/rta/messagebundle_tr.properties +3 -0
  100. package/src/sap/ui/rta/messagebundle_uk.properties +3 -0
  101. package/src/sap/ui/rta/messagebundle_vi.properties +3 -0
  102. package/src/sap/ui/rta/messagebundle_zh_CN.properties +3 -0
  103. package/src/sap/ui/rta/messagebundle_zh_TW.properties +3 -0
  104. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +3 -3
  105. package/src/sap/ui/rta/plugin/AddXMLPlugin.js +1 -1
  106. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  107. package/src/sap/ui/rta/plugin/Combine.js +1 -1
  108. package/src/sap/ui/rta/plugin/CompVariant.js +1 -1
  109. package/src/sap/ui/rta/plugin/ControlVariant.js +3 -3
  110. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  111. package/src/sap/ui/rta/plugin/CutPaste.js +2 -2
  112. package/src/sap/ui/rta/plugin/DragDrop.js +3 -3
  113. package/src/sap/ui/rta/plugin/ExtendControllerPlugin.js +3 -1
  114. package/src/sap/ui/rta/plugin/LocalReset.js +3 -3
  115. package/src/sap/ui/rta/plugin/Plugin.js +9 -9
  116. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  117. package/src/sap/ui/rta/plugin/Remove.js +2 -2
  118. package/src/sap/ui/rta/plugin/Resize.js +1 -1
  119. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  120. package/src/sap/ui/rta/plugin/Settings.js +2 -2
  121. package/src/sap/ui/rta/plugin/Split.js +2 -2
  122. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  123. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +3 -3
  124. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +61 -48
  125. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +2 -3
  126. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  127. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  128. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.js +1 -1
  129. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +1 -1
  130. package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +2 -2
  131. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
  132. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +4 -1
  133. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +2 -2
  134. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +3 -4
  135. package/src/sap/ui/rta/plugin/rename/Rename.js +1 -1
  136. package/src/sap/ui/rta/plugin/rename/RenameDialog.js +1 -1
  137. package/src/sap/ui/rta/service/Action.js +1 -1
  138. package/src/sap/ui/rta/service/ControllerExtension.js +10 -5
  139. package/src/sap/ui/rta/service/Outline.js +3 -3
  140. package/src/sap/ui/rta/service/Property.js +10 -10
  141. package/src/sap/ui/rta/service/Selection.js +1 -1
  142. package/src/sap/ui/rta/service/SupportTools.js +1 -1
  143. package/src/sap/ui/rta/themes/base/ChangeVisualization.less +1 -1
  144. package/src/sap/ui/rta/themes/base/Toolbar.adaptation.less +5 -0
  145. package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +1 -0
  146. package/src/sap/ui/rta/toolbar/Adaptation.js +5 -5
  147. package/src/sap/ui/rta/toolbar/Base.js +2 -3
  148. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  149. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  150. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +2 -2
  151. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  152. package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +3 -4
  153. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +4 -5
  154. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -2
  155. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +3 -4
  156. package/src/sap/ui/rta/util/Animation.js +1 -1
  157. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  158. package/src/sap/ui/rta/util/PopupManager.js +3 -3
  159. package/src/sap/ui/rta/util/ReloadManager.js +2 -2
  160. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  161. package/src/sap/ui/rta/util/ServiceManager.js +1 -2
  162. package/src/sap/ui/rta/util/adaptationStarter.js +2 -2
  163. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -2
  164. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -2
  165. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +1 -2
  166. package/src/sap/ui/rta/util/changeVisualization/commands/SplitVisualization.js +1 -1
  167. package/src/sap/ui/rta/util/changeVisualization/resolveBinding.js +1 -1
  168. package/src/sap/ui/rta/util/guidedTour/GuidedTour.js +1 -1
  169. package/src/sap/ui/rta/util/hasStableId.js +1 -1
  170. package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +1 -1
@@ -237,6 +237,7 @@ IFRAME_ADDIFRAME_ADD_ADDITIONAL_SANDBOX_PARAMETERS_LABEL=\u0410\u043A\u0442\u043
237
237
  IFRAME_ADDIFRAME_ADD_ADDITIONAL_SANDBOX_PARAMETERS_PLACEHOLDER=\u0412\u0432\u0435\u0441\u0442\u0438 \u0434\u043E\u0434\u0430\u0442\u043A\u043E\u0432\u0456 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438 \u0456\u0437\u043E\u043B\u044C\u043E\u0432\u0430\u043D\u043E\u0433\u043E \u0441\u0435\u0440\u0435\u0434\u043E\u0432\u0438\u0449\u0430
238
238
  IFRAME_ADDIFRAME_DIALOG_SHOW_PARAMETERS_BUTTON_TEXT=\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438 URL
239
239
  IFRAME_ADDIFRAME_DIALOG_HIDE_PARAMETERS_TOOLTIP=\u041F\u0440\u0438\u0445\u043E\u0432\u0430\u0442\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438 URL
240
+ IFRAME_ADDIFRAME_DIALOG_UNIT_TOOLTIP=\u041E\u0434\u0438\u043D\u0438\u0446\u044F \u0432\u0438\u043C\u0456\u0440\u0443
240
241
 
241
242
  IFRAME_RTA_CONTEXT_MENU_INFO=\u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0432\u0431\u0443\u0434\u043E\u0432\u0443\u0432\u0430\u0442\u0438 \u0432\u043C\u0456\u0441\u0442 \u0456\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0445 \u0434\u043E\u0434\u0430\u0442\u043A\u0456\u0432 \u0430\u0431\u043E \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0456\u0432 \u0443 \u0441\u0432\u0456\u0439 \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u043D\u043E\u043A.
242
243
  LOCALRESET_RTA_CONTEXT_MENU_INFO=\u0412\u0438\u0434\u0430\u043B\u0456\u0442\u044C \u0431\u0443\u0434\u044C-\u044F\u043A\u0456 \u0437\u043C\u0456\u043D\u0438, \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u0456 \u0432 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0456 \u0446\u044C\u043E\u0433\u043E \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u043A\u0435\u0440\u0443\u0432\u0430\u043D\u043D\u044F. \u041D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434, \u043F\u0435\u0440\u0435\u0439\u043C\u0435\u043D\u0443\u0432\u0430\u043D\u043D\u044F \u0430\u0431\u043E \u043F\u0435\u0440\u0435\u043C\u0456\u0449\u0435\u043D\u043D\u044F \u0437\u043C\u0456\u043D.
@@ -308,6 +309,8 @@ BTN_CHANGEVISUALIZATION_SHOW_DEPENDENT_CONTAINER_SPLIT=\u041F\u043E\u043A\u0430\
308
309
  BUT_CHANGEVISUALIZATION_LEARNMORE=[\u0414\u0456\u0437\u043D\u0430\u0442\u0438\u0441\u044F \u0431\u0456\u043B\u044C\u0448\u0435]
309
310
  TXT_CHANGEVISUALIZATION_INDICATOR_TOOLTIP_SING=1 \u0437\u043C\u0456\u043D\u0430
310
311
  TXT_CHANGEVISUALIZATION_INDICATOR_TOOLTIP_PLUR={0} \u0437\u043C\u0456\u043D(\u0438)
312
+ TXT_CHANGEVISUALIZATION_GROUP_IN_TITLE=\u0413\u0440\u0443\u043F\u0430
313
+ TIT_CHANGEVISUALIZATION_DETAILS=\u041F\u043E\u0434\u0440\u043E\u0431\u0438\u0446\u0456
311
314
 
312
315
  MSG_ADAPTATION_STARTER_MIXED_CHANGES_WARNING=\u0417\u043C\u0456\u043D\u0438 \u0456\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0443 \u0446\u044C\u043E\u043C\u0443 \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u043D\u043A\u0443 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u0456 \u0443 \u0456\u043D\u0448\u0456\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u0456. \u0429\u043E\u0431 \u0443\u043D\u0438\u043A\u043D\u0443\u0442\u0438 \u043A\u043E\u043D\u0444\u043B\u0456\u043A\u0442\u0456\u0432, \u043C\u0438 \u043D\u0430\u0441\u0442\u0456\u0439\u043D\u043E \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0454\u043C\u043E \u0432\u0438\u043A\u043E\u043D\u0443\u0432\u0430\u0442\u0438 \u0437\u043C\u0456\u043D\u0438 \u0456\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0442\u0456\u043B\u044C\u043A\u0438 \u0432 \u043E\u0434\u043D\u0456\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u0456 \u0442\u0430 \u043F\u043E\u0442\u0456\u043C \u043F\u0435\u0440\u0435\u043D\u0435\u0441\u0442\u0438 \u0457\u0445 \u0434\u043E \u0456\u043D\u0448\u043E\u0457 \u0441\u0438\u0441\u0442\u0435\u043C\u0438. \u0414\u0438\u0432. [\u0410\u0434\u0430\u043F\u0442\u0430\u0446\u0456\u044F \u0456\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430] (https\://help.sap.com/docs/search?q\=Adapting%20the%20UI).
313
316
  TIT_ADAPTATION_STARTER_MIXED_CHANGES_TITLE=\u0417\u0430\u0441\u0442\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F - \u0440\u0438\u0437\u0438\u043A \u0441\u0435\u0440\u0439\u043E\u0437\u043D\u0438\u0445 \u043A\u043E\u043D\u0444\u043B\u0456\u043A\u0442\u0456\u0432
@@ -237,6 +237,7 @@ IFRAME_ADDIFRAME_ADD_ADDITIONAL_SANDBOX_PARAMETERS_LABEL=K\u00EDch ho\u1EA1t tha
237
237
  IFRAME_ADDIFRAME_ADD_ADDITIONAL_SANDBOX_PARAMETERS_PLACEHOLDER=Nh\u1EADp tham s\u1ED1 th\u1EED nghi\u1EC7m b\u1ED5 sung
238
238
  IFRAME_ADDIFRAME_DIALOG_SHOW_PARAMETERS_BUTTON_TEXT=Hi\u1EC7u ch\u1EC9nh tham s\u1ED1 URL
239
239
  IFRAME_ADDIFRAME_DIALOG_HIDE_PARAMETERS_TOOLTIP=\u1EA8n tham s\u1ED1 URL
240
+ IFRAME_ADDIFRAME_DIALOG_UNIT_TOOLTIP=\u0110\u01A1n vi\u0323 \u0111o l\u01B0\u01A1\u0300ng
240
241
 
241
242
  IFRAME_RTA_CONTEXT_MENU_INFO=B\u1EA1n c\u00F3 th\u1EC3 nh\u00FAng n\u1ED9i dung t\u1EEB c\u00E1c \u1EE9ng d\u1EE5ng ho\u1EB7c trang web b\u00EAn ngo\u00E0i v\u00E0o \u1EE9ng d\u1EE5ng c\u1EE7a m\u00ECnh.
242
243
  LOCALRESET_RTA_CONTEXT_MENU_INFO=X\u00F3a b\u1EA5t k\u1EF3 thay \u0111\u1ED5i n\u00E0o \u0111\u01B0\u1EE3c t\u1EA1o trong ng\u1EEF c\u1EA3nh c\u1EE7a ki\u1EC3m so\u00E1t n\u00E0y. V\u00ED d\u1EE5\: \u0111\u1ED5i t\u00EAn ho\u1EB7c di chuy\u1EC3n c\u00E1c thay \u0111\u1ED5i.
@@ -308,6 +309,8 @@ BTN_CHANGEVISUALIZATION_SHOW_DEPENDENT_CONTAINER_SPLIT=Hi\u00EA\u0309n thi\u0323
308
309
  BUT_CHANGEVISUALIZATION_LEARNMORE=[Ti\u0300m hi\u00EA\u0309u th\u00EAm]
309
310
  TXT_CHANGEVISUALIZATION_INDICATOR_TOOLTIP_SING=1 thay \u0111\u00F4\u0309i
310
311
  TXT_CHANGEVISUALIZATION_INDICATOR_TOOLTIP_PLUR={0} thay \u0111\u00F4\u0309i
312
+ TXT_CHANGEVISUALIZATION_GROUP_IN_TITLE=Nho\u0301m
313
+ TIT_CHANGEVISUALIZATION_DETAILS=Chi ti\u1EBFt
311
314
 
312
315
  MSG_ADAPTATION_STARTER_MIXED_CHANGES_WARNING=C\u00E1c thay \u0111\u1ED5i v\u1EC1 giao di\u1EC7n ng\u01B0\u1EDDi d\u00F9ng \u0111\u1ED1i v\u1EDBi \u1EE9ng d\u1EE5ng n\u00E0y \u0111\u00E3 \u0111\u01B0\u1EE3c th\u1EF1c hi\u1EC7n trong m\u1ED9t h\u1EC7 th\u1ED1ng kh\u00E1c. \u0110\u1EC3 tr\u00E1nh xung \u0111\u1ED9t, ch\u00FAng t\u00F4i khuy\u00EAn ch\u1EC9 n\u00EAn th\u1EF1c hi\u1EC7n c\u00E1c thay \u0111\u1ED5i v\u1EC1 giao di\u1EC7n ng\u01B0\u1EDDi d\u00F9ng trong m\u1ED9t h\u1EC7 th\u1ED1ng, va\u0300 chuy\u1EC3n chu\u0301ng sang c\u00E1c h\u1EC7 th\u1ED1ng kh\u00E1c. Xem [\u0110i\u1EC1u ch\u1EC9nh giao di\u1EC7n ng\u01B0\u1EDDi d\u00F9ng](https\://help.sap.com/docs/search?q\=Adapting%20the%20UI).
313
316
  TIT_ADAPTATION_STARTER_MIXED_CHANGES_TITLE=C\u1EA3nh b\u00E1o - Nguy c\u01A1 xung \u0111\u1ED9t nghi\u00EAm tr\u1ECDng
@@ -237,6 +237,7 @@ IFRAME_ADDIFRAME_ADD_ADDITIONAL_SANDBOX_PARAMETERS_LABEL=\u6FC0\u6D3B\u9644\u52A
237
237
  IFRAME_ADDIFRAME_ADD_ADDITIONAL_SANDBOX_PARAMETERS_PLACEHOLDER=\u8F93\u5165\u9644\u52A0\u6C99\u76D2\u53C2\u6570
238
238
  IFRAME_ADDIFRAME_DIALOG_SHOW_PARAMETERS_BUTTON_TEXT=\u7F16\u8F91 URL \u53C2\u6570
239
239
  IFRAME_ADDIFRAME_DIALOG_HIDE_PARAMETERS_TOOLTIP=\u9690\u85CF URL \u53C2\u6570
240
+ IFRAME_ADDIFRAME_DIALOG_UNIT_TOOLTIP=\u8BA1\u91CF\u5355\u4F4D
240
241
 
241
242
  IFRAME_RTA_CONTEXT_MENU_INFO=\u53EF\u4EE5\u4ECE\u5916\u90E8\u5E94\u7528\u7A0B\u5E8F\u6216\u7F51\u7AD9\u5C06\u5185\u5BB9\u5D4C\u5165\u5230\u5E94\u7528\u7A0B\u5E8F\u3002
242
243
  LOCALRESET_RTA_CONTEXT_MENU_INFO=\u5220\u9664\u5728\u6B64\u63A7\u4EF6\u4E0A\u4E0B\u6587\u4E2D\u521B\u5EFA\u7684\u4EFB\u4F55\u66F4\u6539\u3002\u4F8B\u5982\uFF1A\u91CD\u547D\u540D\u6216\u79FB\u52A8\u66F4\u6539\u3002
@@ -308,6 +309,8 @@ BTN_CHANGEVISUALIZATION_SHOW_DEPENDENT_CONTAINER_SPLIT=\u663E\u793A\u5176\u4ED6\
308
309
  BUT_CHANGEVISUALIZATION_LEARNMORE=[\u4E86\u89E3\u66F4\u591A]
309
310
  TXT_CHANGEVISUALIZATION_INDICATOR_TOOLTIP_SING=1 \u5904\u66F4\u6539
310
311
  TXT_CHANGEVISUALIZATION_INDICATOR_TOOLTIP_PLUR={0} \u5904\u66F4\u6539
312
+ TXT_CHANGEVISUALIZATION_GROUP_IN_TITLE=\u5206\u7EC4
313
+ TIT_CHANGEVISUALIZATION_DETAILS=\u8BE6\u7EC6\u4FE1\u606F
311
314
 
312
315
  MSG_ADAPTATION_STARTER_MIXED_CHANGES_WARNING=\u5DF2\u5728\u53E6\u4E00\u7CFB\u7EDF\u4E2D\u5BF9\u6B64\u5E94\u7528\u7A0B\u5E8F\u8FDB\u884C\u4E86 UI \u66F4\u6539\u3002\u4E3A\u907F\u514D\u51B2\u7A81\uFF0C\u5F3A\u70C8\u5EFA\u8BAE\u4EC5\u5728\u4E00\u4E2A\u7CFB\u7EDF\u4E2D\u8FDB\u884C UI \u66F4\u6539\uFF0C\u800C\u540E\u5C06\u5176\u4F20\u8F93\u5230\u5176\u4ED6\u7CFB\u7EDF\u3002\u8BF7\u53C2\u9605 [\u8C03\u6574 UI](https\://help.sap.com/docs/search?q\=Adapting%20the%20UI)\u3002
313
316
  TIT_ADAPTATION_STARTER_MIXED_CHANGES_TITLE=\u8B66\u544A - \u4E25\u91CD\u51B2\u7A81\u98CE\u9669
@@ -237,6 +237,7 @@ IFRAME_ADDIFRAME_ADD_ADDITIONAL_SANDBOX_PARAMETERS_LABEL=\u555F\u7528\u5176\u4ED
237
237
  IFRAME_ADDIFRAME_ADD_ADDITIONAL_SANDBOX_PARAMETERS_PLACEHOLDER=\u8F38\u5165\u5176\u4ED6\u6C99\u7BB1\u53C3\u6578
238
238
  IFRAME_ADDIFRAME_DIALOG_SHOW_PARAMETERS_BUTTON_TEXT=\u7DE8\u8F2F URL \u53C3\u6578
239
239
  IFRAME_ADDIFRAME_DIALOG_HIDE_PARAMETERS_TOOLTIP=\u96B1\u85CF URL \u53C3\u6578
240
+ IFRAME_ADDIFRAME_DIALOG_UNIT_TOOLTIP=\u8A08\u91CF\u55AE\u4F4D
240
241
 
241
242
  IFRAME_RTA_CONTEXT_MENU_INFO=\u60A8\u53EF\u5C07\u5916\u90E8\u61C9\u7528\u7A0B\u5F0F\u6216\u7DB2\u7AD9\u7684\u5167\u5BB9\u5D4C\u5165\u81F3\u60A8\u7684\u61C9\u7528\u7A0B\u5F0F\u3002
242
243
  LOCALRESET_RTA_CONTEXT_MENU_INFO=\u522A\u9664\u5728\u6B64\u63A7\u5236\u9805\u5167\u5BB9\u4E2D\u5EFA\u7ACB\u7684\u66F4\u6539\u5167\u5BB9\uFF0C\u4F8B\u5982\u91CD\u65B0\u547D\u540D\u6216\u79FB\u52D5\u66F4\u6539\u5167\u5BB9\u3002
@@ -308,6 +309,8 @@ BTN_CHANGEVISUALIZATION_SHOW_DEPENDENT_CONTAINER_SPLIT=\u986F\u793A\u5176\u4ED6\
308
309
  BUT_CHANGEVISUALIZATION_LEARNMORE=[\u6DF1\u5165\u77AD\u89E3]
309
310
  TXT_CHANGEVISUALIZATION_INDICATOR_TOOLTIP_SING=1 \u500B\u66F4\u6539
310
311
  TXT_CHANGEVISUALIZATION_INDICATOR_TOOLTIP_PLUR={0} \u500B\u66F4\u6539
312
+ TXT_CHANGEVISUALIZATION_GROUP_IN_TITLE=\u7FA4\u7D44
313
+ TIT_CHANGEVISUALIZATION_DETAILS=\u660E\u7D30
311
314
 
312
315
  MSG_ADAPTATION_STARTER_MIXED_CHANGES_WARNING=\u6B64\u61C9\u7528\u7A0B\u5F0F\u7684\u4F7F\u7528\u8005\u4ECB\u9762\u66F4\u6539\u5167\u5BB9\u5DF2\u65BC\u5176\u4ED6\u7CFB\u7D71\u4E2D\u57F7\u884C\u3002\u82E5\u8981\u907F\u514D\u885D\u7A81\uFF0C\u5F37\u70C8\u5EFA\u8B70\u53EA\u5728\u4E00\u500B\u7CFB\u7D71\u4E2D\u9032\u884C\u4F7F\u7528\u8005\u4ECB\u9762\u66F4\u6539\uFF0C\u7136\u5F8C\u518D\u5C07\u9019\u4E9B\u66F4\u6539\u5167\u5BB9\u50B3\u8F38\u81F3\u5176\u4ED6\u7CFB\u7D71\u3002\u8ACB\u67E5\u770B [Adapting the UI] (https\://help.sap.com/docs/search?q\=Adapting%20the%20UI)\u3002
313
316
  TIT_ADAPTATION_STARTER_MIXED_CHANGES_TITLE=\u8B66\u544A - \u56B4\u91CD\u885D\u7A81\u7684\u98A8\u96AA
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @class
50
50
  * @extends sap.ui.rta.plugin.Plugin
51
51
  * @author SAP SE
52
- * @version 1.142.0
52
+ * @version 1.143.0
53
53
  * @constructor
54
54
  * @private
55
55
  * @since 1.78
@@ -76,10 +76,10 @@ sap.ui.define([
76
76
  const oElementId = oElement.getId();
77
77
  // determine a list of extension points for the given element. In case the element is a view
78
78
  // all extension points available for the view are returned
79
- const aExtensionPointInfo = ExtensionPointRegistryAPI.getExtensionPointInfoByParentId({parentId: oElementId});
79
+ const aExtensionPointInfo = ExtensionPointRegistryAPI.getExtensionPointInfoByParentId({ parentId: oElementId });
80
80
  return aExtensionPointInfo.length
81
81
  ? aExtensionPointInfo
82
- : values(ExtensionPointRegistryAPI.getExtensionPointInfoByViewId({viewId: oElementId}));
82
+ : values(ExtensionPointRegistryAPI.getExtensionPointInfoByViewId({ viewId: oElementId }));
83
83
  }
84
84
 
85
85
  function hasExtensionPoints(oElement) {
@@ -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.142.0
40
+ * @version 1.143.0
41
41
  * @constructor
42
42
  * @private
43
43
  * @since 1.134
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @class The BaseCreate allows trigger BaseCreate operations on the overlay.
26
26
  * @extends sap.ui.rta.plugin.Plugin
27
27
  * @author SAP SE
28
- * @version 1.142.0
28
+ * @version 1.143.0
29
29
  * @constructor
30
30
  * @private
31
31
  * @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.142.0
28
+ * @version 1.143.0
29
29
  * @constructor
30
30
  * @private
31
31
  * @since 1.46
@@ -313,7 +313,7 @@ sap.ui.define([
313
313
  // the modified flag might be changed before the dialog is closed, so it has to be saved here already
314
314
  var bIsModified = oVariantManagementControl.getModified();
315
315
 
316
- return oAction.handler(oControl, {styleClass: Utils.getRtaStyleClassName()}).then(function(aChangeContentData) {
316
+ return oAction.handler(oControl, { styleClass: Utils.getRtaStyleClassName() }).then(function(aChangeContentData) {
317
317
  if (aChangeContentData && aChangeContentData.length) {
318
318
  var sPersistencyKey = aChangeContentData[0].changeSpecificData.content.persistencyKey;
319
319
  var aVariants = oVariantManagementControl.getAllVariants();
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @class The ControlVariant allows propagation of variantManagement key
52
52
  * @extends sap.ui.rta.plugin.Plugin
53
53
  * @author SAP SE
54
- * @version 1.142.0
54
+ * @version 1.143.0
55
55
  * @constructor
56
56
  * @private
57
57
  * @since 1.50
@@ -486,7 +486,7 @@ sap.ui.define([
486
486
  const sVariantManagementReference = oOverlay.getVariantManagement();
487
487
 
488
488
  return this.getCommandFactory().getCommandFor(oVMControl, "saveAs", {
489
- sourceVariantReference: oVMControl.getCurrentVariantKey()
489
+ sourceVariantReference: oVMControl.getCurrentVariantReference()
490
490
  }, oDesignTimeMetadata, sVariantManagementReference)
491
491
  .then(function(oSaveAsCommand) {
492
492
  this.fireElementModified({
@@ -619,7 +619,7 @@ sap.ui.define([
619
619
  }
620
620
 
621
621
  if (this.isVariantSwitchAvailable(oElementOverlay)) {
622
- const oCurrentVariant = oVMControl.getVariantByKey(oVMControl.getCurrentVariantKey());
622
+ const oCurrentVariant = oVMControl.getVariantByKey(oVMControl.getCurrentVariantReference());
623
623
  const aSubmenuItems = oVMControl.getVariants().reduce(function(aReducedVariants, oVariant) {
624
624
  if (oVariant.getVisible()) {
625
625
  const bCurrentItem = oCurrentVariant.getKey() === oVariant.getKey();
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @class The CreateContainer allows trigger CreateContainer operations on the overlay
30
30
  * @extends sap.ui.rta.plugin.BaseCreate
31
31
  * @author SAP SE
32
- * @version 1.142.0
32
+ * @version 1.143.0
33
33
  * @constructor
34
34
  * @private
35
35
  * @since 1.34
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.dt.plugin.CutPaste
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.142.0
35
+ * @version 1.143.0
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -74,7 +74,7 @@ sap.ui.define([
74
74
  */
75
75
  CutPaste.prototype.init = function(...aArgs) {
76
76
  ControlCutPaste.prototype.init.apply(this, aArgs);
77
- this.setElementMover(new RTAElementMover({commandFactory: this.getCommandFactory()}));
77
+ this.setElementMover(new RTAElementMover({ commandFactory: this.getCommandFactory() }));
78
78
  };
79
79
 
80
80
  /**
@@ -33,7 +33,7 @@ function(
33
33
  * @extends sap.ui.dt.plugin.ControlDragDrop
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.142.0
36
+ * @version 1.143.0
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -75,7 +75,7 @@ function(
75
75
  */
76
76
  DragDrop.prototype.init = function(...aArgs) {
77
77
  ControlDragDrop.prototype.init.apply(this, aArgs);
78
- this.setElementMover(new RTAElementMover({commandFactory: this.getCommandFactory()}));
78
+ this.setElementMover(new RTAElementMover({ commandFactory: this.getCommandFactory() }));
79
79
  };
80
80
 
81
81
  DragDrop.prototype.setCommandFactory = function(oCommandFactory) {
@@ -211,7 +211,7 @@ function(
211
211
  aRelevantOverlays = aRelevantOverlays.filter(function(oRelevantOverlay, iIndex, aSource) {
212
212
  return iIndex === aSource.indexOf(oRelevantOverlay);
213
213
  });
214
- this.evaluateEditable(aRelevantOverlays, {onRegistration: false});
214
+ this.evaluateEditable(aRelevantOverlays, { onRegistration: false });
215
215
  }
216
216
  };
217
217
 
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @class
33
33
  * @extends sap.ui.rta.plugin.Plugin
34
34
  * @author SAP SE
35
- * @version 1.142.0
35
+ * @version 1.143.0
36
36
  * @constructor
37
37
  * @private
38
38
  * @since 1.134
@@ -130,6 +130,8 @@ sap.ui.define([
130
130
 
131
131
  const oElementOverlay = aElementOverlays[0];
132
132
 
133
+ // If the data returned from the handler has the property instanceSpecific = true,
134
+ // it refers to an instance-specific controller extension. In this case, the view ID will be added to the change content.
133
135
  const mExtendControllerData = await fnControllerHandler(oElementOverlay);
134
136
 
135
137
  const oExtendControllerCommand = await this.getCommandFactory().getCommandFor(
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @class
36
36
  * @extends sap.ui.rta.plugin.Plugin
37
37
  * @author SAP SE
38
- * @version 1.142.0
38
+ * @version 1.143.0
39
39
  * @constructor
40
40
  * @private
41
41
  * @since 1.90
@@ -95,7 +95,7 @@ sap.ui.define([
95
95
  oRelevantElement,
96
96
  {
97
97
  layer: this.getCommandFactory().getFlexSettings().layer,
98
- currentVariant: oVMControl?.getCurrentVariantKey()
98
+ currentVariant: oVMControl?.getCurrentVariantReference()
99
99
  }
100
100
  )
101
101
  );
@@ -129,7 +129,7 @@ sap.ui.define([
129
129
  const sVariantManagementReference = this.getVariantManagementReference(oOverlay);
130
130
  const oAppComponent = FlUtils.getAppComponentForControl(oElement);
131
131
  const oVMControl = ControlVariantApplyAPI.getVariantManagementControlByVMReference(sVariantManagementReference, oAppComponent);
132
- const sCurrentVariantKey = oVMControl?.getCurrentVariantKey();
132
+ const sCurrentVariantKey = oVMControl?.getCurrentVariantReference();
133
133
  const bHasVariant = !!sCurrentVariantKey;
134
134
  const oVariantManagementControl = bHasVariant
135
135
  ? oAppComponent.byId(sVariantManagementReference) || Element.getElementById(sVariantManagementReference)
@@ -114,7 +114,7 @@ sap.ui.define([
114
114
  * @extends sap.ui.dt.Plugin
115
115
  *
116
116
  * @author SAP SE
117
- * @version 1.142.0
117
+ * @version 1.143.0
118
118
  *
119
119
  * @constructor
120
120
  * @private
@@ -214,17 +214,17 @@ sap.ui.define([
214
214
  aRelevantOverlays = this._getRelevantOverlays(oOverlay);
215
215
  if (oParams.value === true) {
216
216
  this.executeWhenVisible(oOverlay, function() {
217
- this.evaluateEditable(aRelevantOverlays, {onRegistration: false});
217
+ this.evaluateEditable(aRelevantOverlays, { onRegistration: false });
218
218
  }.bind(this));
219
219
  } else {
220
- this.evaluateEditable(aRelevantOverlays, {onRegistration: false});
220
+ this.evaluateEditable(aRelevantOverlays, { onRegistration: false });
221
221
  }
222
222
  } else if (oParams.type === "afterRendering") {
223
223
  if (this.getDesignTime().getStatus() === "synced") {
224
- this.evaluateEditable([oOverlay], {onRegistration: false});
224
+ this.evaluateEditable([oOverlay], { onRegistration: false });
225
225
  } else {
226
226
  this.getDesignTime().attachEventOnce("synced", function() {
227
- this.evaluateEditable([oOverlay], {onRegistration: false});
227
+ this.evaluateEditable([oOverlay], { onRegistration: false });
228
228
  }, this);
229
229
  }
230
230
  } else if (
@@ -233,7 +233,7 @@ sap.ui.define([
233
233
  ) {
234
234
  debounceFunction(this._mDebounceFunctions.insertOrRemove, oOverlay, oParams.name, function() {
235
235
  aRelevantOverlays = this._getRelevantOverlays(oOverlay, oParams.name);
236
- this.evaluateEditable(aRelevantOverlays, {onRegistration: false});
236
+ this.evaluateEditable(aRelevantOverlays, { onRegistration: false });
237
237
  }.bind(this));
238
238
  } else if (oParams.type === "addOrSetAggregation") {
239
239
  debounceFunction(this._mDebounceFunctions.addOrSet, oOverlay, oParams.name, function() {
@@ -246,11 +246,11 @@ sap.ui.define([
246
246
 
247
247
  if (oDesignTime.getStatus() === "synced") {
248
248
  aRelevantOverlays = this._getRelevantOverlays(oOverlay, oParams.name);
249
- this.evaluateEditable(aRelevantOverlays, {onRegistration: false});
249
+ this.evaluateEditable(aRelevantOverlays, { onRegistration: false });
250
250
  } else {
251
251
  oDesignTime.attachEventOnce("synced", function() {
252
252
  aRelevantOverlays = this._getRelevantOverlays(oOverlay, oParams.name);
253
- this.evaluateEditable(aRelevantOverlays, {onRegistration: false});
253
+ this.evaluateEditable(aRelevantOverlays, { onRegistration: false });
254
254
  }, this);
255
255
  }
256
256
  }.bind(this));
@@ -348,7 +348,7 @@ sap.ui.define([
348
348
 
349
349
  BasePlugin.prototype.registerElementOverlay = function(oOverlay) {
350
350
  this.executeWhenVisible(oOverlay, function() {
351
- this.evaluateEditable([oOverlay], {onRegistration: true});
351
+ this.evaluateEditable([oOverlay], { onRegistration: true });
352
352
  oOverlay.attachElementModified(_onElementModified, this);
353
353
  }.bind(this));
354
354
  };
@@ -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.142.0
38
+ * @version 1.143.0
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.142.0
32
+ * @version 1.143.0
33
33
  * @constructor
34
34
  * @private
35
35
  * @since 1.34
@@ -309,7 +309,7 @@ sap.ui.define([
309
309
  * @return {object[]} - array of the items with required data
310
310
  */
311
311
  Remove.prototype.getMenuItems = function(aElementOverlays) {
312
- return this._getMenuItems(aElementOverlays, {pluginId: "CTX_REMOVE", icon: "sap-icon://less"});
312
+ return this._getMenuItems(aElementOverlays, { pluginId: "CTX_REMOVE", icon: "sap-icon://less" });
313
313
  };
314
314
 
315
315
  /**
@@ -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.142.0
30
+ * @version 1.143.0
31
31
  * @constructor
32
32
  * @private
33
33
  * @since 1.101
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @class The Selection plugin allows you to select or focus overlays with mouse or keyboard and navigate to others.
32
32
  * @extends sap.ui.rta.plugin.Plugin
33
33
  * @author SAP SE
34
- * @version 1.142.0
34
+ * @version 1.143.0
35
35
  * @constructor
36
36
  * @private
37
37
  * @since 1.34
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @class The Settings allows trigger change of settings operations on the overlay
31
31
  * @extends sap.ui.rta.plugin.Plugin
32
32
  * @author SAP SE
33
- * @version 1.142.0
33
+ * @version 1.143.0
34
34
  * @constructor
35
35
  * @private
36
36
  * @since 1.44
@@ -232,7 +232,7 @@ sap.ui.define([
232
232
  Settings.prototype.handler = function(aElementOverlays, mPropertyBag, oSettingsAction) {
233
233
  mPropertyBag ||= {};
234
234
  const oElement = aElementOverlays[0].getElement();
235
- let {fnHandler} = mPropertyBag;
235
+ let { fnHandler } = mPropertyBag;
236
236
 
237
237
  fnHandler ||= aElementOverlays[0].getDesignTimeMetadata().getAction("settings").handler;
238
238
  if (!fnHandler) {
@@ -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.142.0
26
+ * @version 1.143.0
27
27
  * @constructor
28
28
  * @private
29
29
  * @since 1.46
@@ -154,7 +154,7 @@ sap.ui.define([
154
154
  * @return {object[]} - array of the items with required data
155
155
  */
156
156
  Split.prototype.getMenuItems = function(vElementOverlays) {
157
- return this._getMenuItems(vElementOverlays, {pluginId: "CTX_UNGROUP_FIELDS", icon: "sap-icon://split"});
157
+ return this._getMenuItems(vElementOverlays, { pluginId: "CTX_UNGROUP_FIELDS", icon: "sap-icon://split" });
158
158
  };
159
159
 
160
160
  /**
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.rta.plugin.Plugin
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.142.0
32
+ * @version 1.143.0
33
33
  *
34
34
  * @constructor
35
35
  * @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.142.0
35
+ * @version 1.143.0
36
36
  * @private
37
37
  * @since 1.94
38
38
  */
@@ -157,7 +157,7 @@ sap.ui.define([
157
157
  const aRequiredLibraries = Object.keys(mRequiredLibraries || {});
158
158
  try {
159
159
  for (const sLibrary of aRequiredLibraries) {
160
- await Lib.load({name: sLibrary});
160
+ await Lib.load({ name: sLibrary });
161
161
  }
162
162
  return true;
163
163
  } catch (vError) {
@@ -284,7 +284,7 @@ sap.ui.define([
284
284
  ]);
285
285
  // join and condense all action data
286
286
  const mAllActions = merge(oRevealAction, oAddViaDelegateAction);
287
- oSourceElementOverlay._mAddActions ||= {asSibling: {}, asChild: {}};
287
+ oSourceElementOverlay._mAddActions ||= { asSibling: {}, asChild: {} };
288
288
  oSourceElementOverlay._mAddActions[sSiblingOrChild] = mAllActions;
289
289
  return mAllActions;
290
290
  };
@@ -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.142.0
35
+ * @version 1.143.0
36
36
  * @constructor
37
37
  * @private
38
38
  * @since 1.44
@@ -57,57 +57,81 @@ sap.ui.define([
57
57
  }
58
58
  });
59
59
 
60
- let oRTAResourceModel;
61
-
62
60
  /**
63
61
  * Initialize the Dialog
64
62
  *
65
63
  * @private
66
64
  */
67
65
  AddElementsDialog.prototype.init = function() {
68
- this._oDialogPromise = Fragment.load({
69
- id: this.getId(),
70
- name: "sap.ui.rta.plugin.additionalElements.AddElementsDialog",
71
- controller: this
72
- });
73
-
74
66
  this._oDialogModel = new JSONModel({
75
67
  elements: [],
76
68
  customFieldButtonText: "",
77
69
  customFieldButtonVisible: false,
78
70
  businessContextVisible: false,
79
71
  customFieldButtonTooltip: "",
80
- businessContextTexts: [{text: ""}], // empty element in first place to be replaced by the headerText (see: addExtensibilityInfo)
72
+ businessContextTexts: [{ text: "" }], // empty element in first place to be replaced by the headerText (see: addExtensibilityInfo)
81
73
  extensibilityMenuButtonActive: false,
82
74
  extensibilityMenuButtonText: "",
83
75
  extensibilityMenuButtonTooltip: "",
84
76
  extensibilityOptions: []
85
77
  });
86
78
 
87
- this._oDialogPromise.then(function(oDialog) {
88
- oDialog.setModel(this._oDialogModel);
89
- oRTAResourceModel ||= new ResourceModel({bundleName: "sap.ui.rta.messagebundle"});
90
- oDialog.setModel(oRTAResourceModel, "i18n");
79
+ this._bDescendingSortOrder = false;
80
+ this.oRTAResourceModel = new ResourceModel({ bundleName: "sap.ui.rta.messagebundle" });
81
+ };
82
+
83
+ AddElementsDialog.prototype.exit = function(...aArgs) {
84
+ if (this._oDialog) {
85
+ this._oDialog.destroy();
86
+ }
91
87
 
92
- oDialog.addStyleClass(Utils.getRtaStyleClassName());
88
+ if (ManagedObject.prototype.exit) {
89
+ ManagedObject.prototype.exit.apply(this, aArgs);
90
+ }
91
+ };
92
+
93
+ /**
94
+ * Create the Add Elements Dialog
95
+ *
96
+ * @private
97
+ */
98
+ AddElementsDialog.prototype._createDialog = function() {
99
+ Fragment.load({
100
+ id: this.getId(),
101
+ name: "sap.ui.rta.plugin.additionalElements.AddElementsDialog",
102
+ controller: this
103
+ }).then(function(oDialog) {
104
+ this._oDialog = oDialog;
105
+ this._oDialog.addStyleClass(Utils.getRtaStyleClassName());
106
+ this._oDialog.setModel(this._oDialogModel);
107
+ this._oDialog.setModel(this.oRTAResourceModel, "i18n");
93
108
 
94
- this._oDialogModel.setProperty("/listNoDataText", oRTAResourceModel.getProperty("MSG_NO_FIELDS").toLowerCase());
109
+ this._oDialogModel.setProperty("/listNoDataText", this.oRTAResourceModel.getProperty("MSG_NO_FIELDS").toLowerCase());
95
110
 
96
111
  // retrieve List to set the sorting for the 'items' aggregation, since sap.ui.model.Sorter
97
112
  // does not support binding to a model property...
98
113
  this._oList = Element.getElementById(`${this.getId()}--rta_addElementsDialogList`);
99
- this._bDescendingSortOrder = false;
114
+ this._openDialog();
100
115
  }.bind(this));
101
116
  };
102
117
 
103
- AddElementsDialog.prototype.exit = function(...aArgs) {
104
- this._oDialogPromise.then(function(oDialog) {
105
- oDialog.destroy();
106
- });
118
+ /**
119
+ * Open and set up Add Elements Dialog
120
+ *
121
+ * @private
122
+ */
123
+ AddElementsDialog.prototype._openDialog = function() {
124
+ this._oDialog.attachAfterOpen(function() {
125
+ this.fireOpened();
126
+ }.bind(this));
107
127
 
108
- if (ManagedObject.prototype.exit) {
109
- ManagedObject.prototype.exit.apply(this, aArgs);
110
- }
128
+ this._oDialog.attachAfterClose(function() {
129
+ this._oDialog.destroy();
130
+ this._oDialog = null;
131
+ // The resolve/reject is handled by the specific dialog close methods (_submitDialog/_cancelDialog)
132
+ }.bind(this));
133
+
134
+ this._oDialog.open();
111
135
  };
112
136
 
113
137
  AddElementsDialog.prototype.setCustomFieldButtonVisible = function(bVisible) {
@@ -120,26 +144,22 @@ sap.ui.define([
120
144
 
121
145
  /**
122
146
  * Close the dialog.
123
- * @returns {Promise} a Promise that resolves (to nothing) once the dialog is loaded and closed
124
147
  */
125
- AddElementsDialog.prototype._submitDialog = async function() {
126
- const oDialog = await this._oDialogPromise;
127
- oDialog.close();
148
+ AddElementsDialog.prototype._submitDialog = function() {
149
+ this._oDialog.close();
128
150
  this._fnResolveOnDialogConfirm();
129
151
  // indicate that the dialog has been closed and the selected fields (if any) are to be added to the UI
130
152
  };
131
153
 
132
154
  /**
133
- * Close dialog. All sections will be reverted
155
+ * Close dialog. Dialog is destroyed.
134
156
  */
135
157
  AddElementsDialog.prototype._cancelDialog = function() {
136
158
  // clear all selections
137
159
  this._oDialogModel.getObject("/elements").forEach(function(oElem) {
138
160
  oElem.selected = false;
139
161
  });
140
- this._oDialogPromise.then(function(oDialog) {
141
- oDialog.close();
142
- });
162
+ this._oDialog.close();
143
163
  // indicate that the dialog has been closed without choosing to add any fields (canceled)
144
164
  this._fnRejectOnDialogCancel();
145
165
  };
@@ -161,20 +181,14 @@ sap.ui.define([
161
181
  /**
162
182
  * Open the Field Repository Dialog
163
183
  *
164
- * @returns {Promise} promise that resolves once the Fragment is loaded and the dialog is opened
184
+ * @returns {Promise} Promise that resolves once the dialog is opened
165
185
  * @public
166
186
  */
167
187
  AddElementsDialog.prototype.open = function() {
168
188
  return new Promise(function(resolve, reject) {
169
189
  this._fnResolveOnDialogConfirm = resolve;
170
190
  this._fnRejectOnDialogCancel = reject;
171
-
172
- this._oDialogPromise.then(function(oDialog) {
173
- oDialog.attachAfterOpen(function() {
174
- this.fireOpened();
175
- }.bind(this));
176
- oDialog.open();
177
- }.bind(this));
191
+ this._createDialog();
178
192
  }.bind(this));
179
193
  };
180
194
 
@@ -219,16 +233,15 @@ sap.ui.define([
219
233
  * @private
220
234
  */
221
235
  AddElementsDialog.prototype._redirectToExtensibilityAction = function(sActionKey) {
222
- this.fireTriggerExtensibilityAction({actionKey: sActionKey});
223
- this._oDialogPromise.then(function(oDialog) {
224
- oDialog.close();
225
- });
236
+ this.fireTriggerExtensibilityAction({ actionKey: sActionKey });
237
+ this._oDialog.close();
226
238
  };
227
239
 
228
- AddElementsDialog.prototype.setTitle = async function(sTitle) {
240
+ AddElementsDialog.prototype.setTitle = function(sTitle) {
229
241
  ManagedObject.prototype.setProperty.call(this, "title", sTitle, true);
230
- const oDialog = await this._oDialogPromise;
231
- oDialog.setTitle(sTitle);
242
+ if (this._oDialog) {
243
+ this._oDialog.setTitle(sTitle);
244
+ }
232
245
  };
233
246
 
234
247
  /**
@@ -293,7 +306,7 @@ sap.ui.define([
293
306
  } else {
294
307
  // Message "none" when no extension data is available
295
308
  aBusinessContextTexts.push({
296
- text: oRTAResourceModel.getProperty("MSG_NO_BUSINESS_CONTEXTS")
309
+ text: this.oRTAResourceModel.getProperty("MSG_NO_BUSINESS_CONTEXTS")
297
310
  });
298
311
  }
299
312
  // set the container visible