@openui5/sap.ui.rta 1.127.1 → 1.129.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.
- package/THIRDPARTY.txt +1 -1
- package/package.json +6 -6
- package/src/sap/ui/rta/.library +1 -1
- package/src/sap/ui/rta/Client.js +1 -1
- package/src/sap/ui/rta/RuntimeAuthoring.js +21 -3
- package/src/sap/ui/rta/Utils.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantUtils.js +1 -1
- package/src/sap/ui/rta/appVariant/Feature.js +2 -2
- package/src/sap/ui/rta/appVariant/Utils.js +3 -3
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_US_sappsd.properties +2 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_US_saptrc.properties +27 -27
- package/src/sap/ui/rta/command/AddIFrame.js +1 -1
- package/src/sap/ui/rta/command/AddProperty.js +1 -1
- package/src/sap/ui/rta/command/AddXML.js +1 -1
- package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +2 -2
- package/src/sap/ui/rta/command/Annotation.js +46 -0
- package/src/sap/ui/rta/command/AppDescriptorCommand.js +1 -1
- package/src/sap/ui/rta/command/BaseCommand.js +1 -1
- package/src/sap/ui/rta/command/BindProperty.js +1 -1
- package/src/sap/ui/rta/command/Combine.js +1 -1
- package/src/sap/ui/rta/command/CommandFactory.js +14 -8
- package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSaveAs.js +14 -15
- package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
- package/src/sap/ui/rta/command/CreateContainer.js +1 -1
- package/src/sap/ui/rta/command/CustomAdd.js +1 -1
- package/src/sap/ui/rta/command/FlexCommand.js +8 -5
- package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
- package/src/sap/ui/rta/command/LocalReset.js +1 -1
- package/src/sap/ui/rta/command/Move.js +1 -1
- package/src/sap/ui/rta/command/Property.js +1 -1
- package/src/sap/ui/rta/command/Remove.js +1 -1
- package/src/sap/ui/rta/command/Rename.js +1 -1
- package/src/sap/ui/rta/command/Resize.js +1 -1
- package/src/sap/ui/rta/command/Reveal.js +1 -1
- package/src/sap/ui/rta/command/Settings.js +1 -1
- package/src/sap/ui/rta/command/Split.js +1 -1
- package/src/sap/ui/rta/command/Stack.js +5 -2
- package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +6 -4
- package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +7 -5
- package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +5 -3
- package/src/sap/ui/rta/enablement/TestDelegate.js +4 -3
- package/src/sap/ui/rta/enablement/elementActionTest.js +9 -6
- package/src/sap/ui/rta/library.js +2 -2
- package/src/sap/ui/rta/messagebundle.properties +47 -3
- package/src/sap/ui/rta/messagebundle_ar.properties +24 -2
- package/src/sap/ui/rta/messagebundle_bg.properties +24 -2
- package/src/sap/ui/rta/messagebundle_ca.properties +24 -2
- package/src/sap/ui/rta/messagebundle_cnr.properties +25 -3
- package/src/sap/ui/rta/messagebundle_cs.properties +24 -2
- package/src/sap/ui/rta/messagebundle_cy.properties +25 -3
- package/src/sap/ui/rta/messagebundle_da.properties +25 -3
- package/src/sap/ui/rta/messagebundle_de.properties +24 -2
- package/src/sap/ui/rta/messagebundle_el.properties +24 -2
- package/src/sap/ui/rta/messagebundle_en.properties +24 -2
- package/src/sap/ui/rta/messagebundle_en_GB.properties +24 -2
- package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +24 -2
- package/src/sap/ui/rta/messagebundle_es.properties +24 -2
- package/src/sap/ui/rta/messagebundle_es_MX.properties +24 -2
- package/src/sap/ui/rta/messagebundle_et.properties +24 -2
- package/src/sap/ui/rta/messagebundle_fi.properties +24 -2
- package/src/sap/ui/rta/messagebundle_fr.properties +24 -2
- package/src/sap/ui/rta/messagebundle_fr_CA.properties +25 -3
- package/src/sap/ui/rta/messagebundle_hi.properties +24 -2
- package/src/sap/ui/rta/messagebundle_hr.properties +24 -2
- package/src/sap/ui/rta/messagebundle_hu.properties +25 -3
- package/src/sap/ui/rta/messagebundle_id.properties +25 -3
- package/src/sap/ui/rta/messagebundle_it.properties +24 -2
- package/src/sap/ui/rta/messagebundle_iw.properties +24 -2
- package/src/sap/ui/rta/messagebundle_ja.properties +24 -2
- package/src/sap/ui/rta/messagebundle_kk.properties +24 -2
- package/src/sap/ui/rta/messagebundle_ko.properties +25 -3
- package/src/sap/ui/rta/messagebundle_lt.properties +24 -2
- package/src/sap/ui/rta/messagebundle_lv.properties +24 -2
- package/src/sap/ui/rta/messagebundle_mk.properties +24 -2
- package/src/sap/ui/rta/messagebundle_ms.properties +24 -2
- package/src/sap/ui/rta/messagebundle_nl.properties +24 -2
- package/src/sap/ui/rta/messagebundle_no.properties +24 -2
- package/src/sap/ui/rta/messagebundle_pl.properties +24 -2
- package/src/sap/ui/rta/messagebundle_pt.properties +24 -2
- package/src/sap/ui/rta/messagebundle_pt_PT.properties +24 -2
- package/src/sap/ui/rta/messagebundle_ro.properties +25 -3
- package/src/sap/ui/rta/messagebundle_ru.properties +24 -2
- package/src/sap/ui/rta/messagebundle_sh.properties +25 -3
- package/src/sap/ui/rta/messagebundle_sk.properties +24 -2
- package/src/sap/ui/rta/messagebundle_sl.properties +24 -2
- package/src/sap/ui/rta/messagebundle_sr.properties +25 -3
- package/src/sap/ui/rta/messagebundle_sv.properties +24 -2
- package/src/sap/ui/rta/messagebundle_th.properties +24 -2
- package/src/sap/ui/rta/messagebundle_tr.properties +24 -2
- package/src/sap/ui/rta/messagebundle_uk.properties +26 -4
- package/src/sap/ui/rta/messagebundle_vi.properties +25 -3
- package/src/sap/ui/rta/messagebundle_zh_CN.properties +24 -2
- package/src/sap/ui/rta/messagebundle_zh_TW.properties +24 -2
- package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
- package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
- package/src/sap/ui/rta/plugin/Combine.js +1 -1
- package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
- package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
- package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
- package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
- package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
- package/src/sap/ui/rta/plugin/Plugin.js +2 -3
- package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
- package/src/sap/ui/rta/plugin/Remove.js +1 -1
- package/src/sap/ui/rta/plugin/Rename.js +1 -1
- package/src/sap/ui/rta/plugin/RenameHandler.js +5 -2
- package/src/sap/ui/rta/plugin/Resize.js +1 -1
- package/src/sap/ui/rta/plugin/Selection.js +1 -1
- package/src/sap/ui/rta/plugin/Settings.js +34 -10
- package/src/sap/ui/rta/plugin/Split.js +1 -1
- package/src/sap/ui/rta/plugin/Stretch.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.fragment.xml +0 -1
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +70 -69
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +9 -7
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +22 -7
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +2 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +7 -4
- package/src/sap/ui/rta/service/Action.js +4 -3
- package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
- package/src/sap/ui/rta/service/Outline.js +5 -9
- package/src/sap/ui/rta/service/Property.js +10 -11
- package/src/sap/ui/rta/service/Selection.js +1 -1
- package/src/sap/ui/rta/service/SupportTools.js +1 -1
- package/src/sap/ui/rta/themes/base/AddIFrame.less +8 -10
- package/src/sap/ui/rta/themes/base/ChangeVisualization.less +2 -3
- package/src/sap/ui/rta/themes/base/ContextMenu.less +13 -13
- package/src/sap/ui/rta/themes/base/Dialogs.less +2 -2
- package/src/sap/ui/rta/themes/base/FieldRepository.less +5 -10
- package/src/sap/ui/rta/themes/base/FlexSupportExtension.less +9 -4
- package/src/sap/ui/rta/themes/base/Overlay.less +27 -180
- package/src/sap/ui/rta/themes/base/OverlayWithScrollbar.less +1 -1
- package/src/sap/ui/rta/themes/base/Toolbar.adaptation.less +18 -76
- package/src/sap/ui/rta/themes/base/Toolbar.base.less +18 -18
- package/src/sap/ui/rta/themes/base/WhatsNew.less +7 -0
- package/src/sap/ui/rta/themes/base/library.source.less +10 -11
- package/src/sap/ui/rta/toolbar/ActionsMenu.fragment.xml +8 -0
- package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +8 -1
- package/src/sap/ui/rta/toolbar/Adaptation.js +9 -2
- package/src/sap/ui/rta/toolbar/Base.js +1 -1
- package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
- package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
- package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
- package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
- package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +20 -18
- package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptationsDialog.fragment.xml +1 -1
- package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +1 -1
- package/src/sap/ui/rta/toolbar/translation/Translation.js +3 -3
- package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
- package/src/sap/ui/rta/util/PluginManager.js +2 -2
- package/src/sap/ui/rta/util/PopupManager.js +1 -1
- package/src/sap/ui/rta/util/ReloadManager.js +1 -1
- package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
- package/src/sap/ui/rta/util/ServiceManager.js +2 -2
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorCategorySelection.fragment.xml +10 -10
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +11 -13
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +60 -25
- package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +110 -0
- package/src/sap/ui/rta/util/whatsNew/WhatsNewDialog.fragment.xml +81 -0
- package/src/sap/ui/rta/util/whatsNew/WhatsNewOverview.js +82 -0
- package/src/sap/ui/rta/util/whatsNew/WhatsNewOverviewDialog.fragment.xml +75 -0
- package/src/sap/ui/rta/util/whatsNew/WhatsNewUtils.js +73 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/WhatsNewFeatures.js +138 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/AdvancedSettingsImage.png +0 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/FullIframe.png +0 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/MiniMenu.png +0 -0
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/WhatsNewOverview.png +0 -0
package/THIRDPARTY.txt
CHANGED
|
@@ -468,7 +468,7 @@ License: Apache-2.0
|
|
|
468
468
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
469
469
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
470
470
|
|
|
471
|
-
Component: SAP Theming Base Content, version: 11.
|
|
471
|
+
Component: SAP Theming Base Content, version: 11.18.0
|
|
472
472
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
473
473
|
License: Apache-2.0
|
|
474
474
|
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.
|
|
3
|
+
"version": "1.129.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.
|
|
18
|
-
"@openui5/sap.ui.core": "1.
|
|
19
|
-
"@openui5/sap.ui.dt": "1.
|
|
20
|
-
"@openui5/sap.ui.fl": "1.
|
|
21
|
-
"@openui5/sap.ui.layout": "1.
|
|
17
|
+
"@openui5/sap.m": "1.129.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.129.0",
|
|
19
|
+
"@openui5/sap.ui.dt": "1.129.0",
|
|
20
|
+
"@openui5/sap.ui.fl": "1.129.0",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.129.0"
|
|
22
22
|
}
|
|
23
23
|
}
|
package/src/sap/ui/rta/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.129.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with RTA controls.</documentation>
|
|
12
12
|
|
package/src/sap/ui/rta/Client.js
CHANGED
|
@@ -44,6 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
"sap/ui/rta/toolbar/FioriLike",
|
|
45
45
|
"sap/ui/rta/toolbar/Standalone",
|
|
46
46
|
"sap/ui/rta/util/changeVisualization/ChangeVisualization",
|
|
47
|
+
"sap/ui/rta/util/whatsNew/WhatsNew",
|
|
47
48
|
"sap/ui/rta/util/PluginManager",
|
|
48
49
|
"sap/ui/rta/util/PopupManager",
|
|
49
50
|
"sap/ui/rta/util/ReloadManager",
|
|
@@ -90,6 +91,7 @@ sap.ui.define([
|
|
|
90
91
|
FioriLikeToolbar,
|
|
91
92
|
StandaloneToolbar,
|
|
92
93
|
ChangeVisualization,
|
|
94
|
+
WhatsNew,
|
|
93
95
|
PluginManager,
|
|
94
96
|
PopupManager,
|
|
95
97
|
ReloadManager,
|
|
@@ -111,7 +113,7 @@ sap.ui.define([
|
|
|
111
113
|
* @class The runtime authoring allows to adapt the fields of a running application.
|
|
112
114
|
* @extends sap.ui.base.ManagedObject
|
|
113
115
|
* @author SAP SE
|
|
114
|
-
* @version 1.
|
|
116
|
+
* @version 1.129.0
|
|
115
117
|
* @constructor
|
|
116
118
|
* @private
|
|
117
119
|
* @since 1.30
|
|
@@ -252,6 +254,13 @@ sap.ui.define([
|
|
|
252
254
|
.then(function(mUShellServices) {
|
|
253
255
|
this._mUShellServices = mUShellServices;
|
|
254
256
|
ReloadManager.setUShellServices(mUShellServices);
|
|
257
|
+
return FeaturesAPI.isSeenFeaturesAvailable();
|
|
258
|
+
}.bind(this))
|
|
259
|
+
.then(function(isAvailable) {
|
|
260
|
+
if (isAvailable) {
|
|
261
|
+
this.addDependent(new WhatsNew({ layer: this.getLayer() }), "whatsNew");
|
|
262
|
+
}
|
|
263
|
+
return Promise.resolve();
|
|
255
264
|
}.bind(this));
|
|
256
265
|
}
|
|
257
266
|
});
|
|
@@ -339,7 +348,7 @@ sap.ui.define([
|
|
|
339
348
|
const oUriParams = new URLSearchParams(window.location.search);
|
|
340
349
|
const sUriLayer = oUriParams.get("sap-ui-layer");
|
|
341
350
|
|
|
342
|
-
mFlexSettings =
|
|
351
|
+
mFlexSettings = { ...this.getFlexSettings(), ...mFlexSettings };
|
|
343
352
|
if (sUriLayer) {
|
|
344
353
|
mFlexSettings.layer = sUriLayer.toUpperCase();
|
|
345
354
|
}
|
|
@@ -459,6 +468,10 @@ sap.ui.define([
|
|
|
459
468
|
}
|
|
460
469
|
setBlockedOnRootElements.call(this, true);
|
|
461
470
|
|
|
471
|
+
if (this.getWhatsNew) {
|
|
472
|
+
this.getWhatsNew().initializeWhatsNewDialog();
|
|
473
|
+
}
|
|
474
|
+
|
|
462
475
|
// PopupManager sets the toolbar to already open popups' autoCloseAreas
|
|
463
476
|
// Since at this point the toolbar is not available, it waits for RTA to start,
|
|
464
477
|
// before adding it to the autoCloseAreas of the open popups
|
|
@@ -468,6 +481,7 @@ sap.ui.define([
|
|
|
468
481
|
// the show() method of the toolbar relies on this RTA instance being set on the PopupManager
|
|
469
482
|
await this.getToolbar().show();
|
|
470
483
|
}
|
|
484
|
+
|
|
471
485
|
if (Device.browser.name === "ff") {
|
|
472
486
|
// in FF shift+f10 also opens a browser context menu.
|
|
473
487
|
// It seems that the only way to get rid of it is to completely turn off context menu in ff..
|
|
@@ -1458,7 +1472,7 @@ sap.ui.define([
|
|
|
1458
1472
|
|
|
1459
1473
|
await oToolbar.onFragmentLoaded();
|
|
1460
1474
|
const bTranslationAvailable = await FeaturesAPI.isKeyUserTranslationEnabled(this.getLayer());
|
|
1461
|
-
|
|
1475
|
+
const bWhatsNewFeaturesAvailable = await FeaturesAPI.isSeenFeaturesAvailable();
|
|
1462
1476
|
const bAppVariantsAvailable = mButtonsAvailability.saveAsAvailable;
|
|
1463
1477
|
const bExtendedOverview = bAppVariantsAvailable && RtaAppVariantFeature.isOverviewExtended();
|
|
1464
1478
|
const oUriParameters = new URLSearchParams(window.location.search);
|
|
@@ -1485,6 +1499,10 @@ sap.ui.define([
|
|
|
1485
1499
|
visible: bTranslationAvailable,
|
|
1486
1500
|
enabled: this.bPersistedDataTranslatable
|
|
1487
1501
|
},
|
|
1502
|
+
newFeaturesOverview: {
|
|
1503
|
+
visible: bWhatsNewFeaturesAvailable,
|
|
1504
|
+
enabled: bWhatsNewFeaturesAvailable
|
|
1505
|
+
},
|
|
1488
1506
|
appVariantMenu: {
|
|
1489
1507
|
visible: bAppVariantsAvailable,
|
|
1490
1508
|
enabled: bAppVariantsAvailable,
|
package/src/sap/ui/rta/Utils.js
CHANGED
|
@@ -113,7 +113,7 @@ sap.ui.define([
|
|
|
113
113
|
|
|
114
114
|
AppVariantUtils.createAppVariant = function(vSelector, mPropertyBag) {
|
|
115
115
|
mPropertyBag.version = "1.0.0"; // Application variant version should be 1.0.0 which is expected by backend
|
|
116
|
-
return AppVariantWriteAPI.saveAs(
|
|
116
|
+
return AppVariantWriteAPI.saveAs({ selector: vSelector, ...mPropertyBag });
|
|
117
117
|
};
|
|
118
118
|
|
|
119
119
|
AppVariantUtils.getInlineChangeInput = function(sValue, sComment) {
|
|
@@ -305,7 +305,7 @@ sap.ui.define([
|
|
|
305
305
|
return fnTriggerCatalogAssignment(oAppVariantSaveClosure.id, oAppVariantSaveClosure.reference);
|
|
306
306
|
})
|
|
307
307
|
.then(function(oResult) {
|
|
308
|
-
oIAMResponse =
|
|
308
|
+
oIAMResponse = { ...oResult };
|
|
309
309
|
BusyIndicator.hide();
|
|
310
310
|
return fnTriggerActionFlow.call(this, bSaveAsFromRta, null, sCurrentLayer);
|
|
311
311
|
}.bind(this))
|
|
@@ -394,7 +394,7 @@ sap.ui.define([
|
|
|
394
394
|
return fnTriggerCatalogUnAssignment(sAppVariantId);
|
|
395
395
|
})
|
|
396
396
|
.then(function(oResult) {
|
|
397
|
-
oIAMResponse =
|
|
397
|
+
oIAMResponse = { ...oResult };
|
|
398
398
|
return fnReloadOverviewDialog.call(this, !bCurrentlyAdapting, sCurrentLayer);
|
|
399
399
|
}.bind(this))
|
|
400
400
|
.then(function() {
|
|
@@ -154,7 +154,7 @@ function(
|
|
|
154
154
|
oNavigationObject.params = oParams;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
oNavigationObject =
|
|
157
|
+
oNavigationObject = { ...oNavigationObject, ...oDeleteButtonProperties };
|
|
158
158
|
return oNavigationObject;
|
|
159
159
|
}.bind(this));
|
|
160
160
|
};
|
|
@@ -210,14 +210,14 @@ function(
|
|
|
210
210
|
if (oAppVariantInfo.hasStartableIntent) {
|
|
211
211
|
oPreparedObject.startWith = oAppVariantInfo.startWith;
|
|
212
212
|
return this._getNavigationInfo(oPreparedObject).then(function(oNavigationObject) {
|
|
213
|
-
oAppVariantAttributes =
|
|
213
|
+
oAppVariantAttributes = { ...oAppVariantAttributes, ...oNavigationObject };
|
|
214
214
|
return oAppVariantAttributes;
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
oAppVariantAttributes.adaptUIButtonEnabled = false;
|
|
219
219
|
var oDeleteButtonProperties = this._checkMenuItemOptions(oPreparedObject, false);
|
|
220
|
-
oAppVariantAttributes =
|
|
220
|
+
oAppVariantAttributes = { ...oAppVariantAttributes, ...oDeleteButtonProperties };
|
|
221
221
|
return Promise.resolve(oAppVariantAttributes);
|
|
222
222
|
}.bind(this));
|
|
223
223
|
};
|
|
@@ -9,7 +9,7 @@ MAA_DIALOG_DELETE_APPVAR=[[[\u010E\u0113\u013A\u0113\u0163\u0113 \u0100\u03C1\u0
|
|
|
9
9
|
MAA_DIALOG_ADAPT_UI=[[[\u0100\u018C\u0105\u03C1\u0163 \u016E\u012C\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
10
10
|
MAA_CURRENTLY_ADAPTING=[[[\u0108\u0171\u0157\u0157\u0113\u014B\u0163\u013A\u0177 \u0100\u018C\u0105\u03C1\u0163\u012F\u014B\u011F\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
11
11
|
MAA_OPERATION_IN_PROGRESS=[[[\u014E\u03C1\u0113\u0157\u0105\u0163\u012F\u014F\u014B \u012F\u014B \u01A4\u0157\u014F\u011F\u0157\u0113\u015F\u015F\u2219\u2219\u2219\u2219\u2219]]]
|
|
12
|
-
MAA_NEW_APP_VARIANT=[[[\u0134\u0171\u015F\u0163 \
|
|
12
|
+
MAA_NEW_APP_VARIANT=[[[\u0134\u0171\u015F\u0163 \u0108\u0157\u0113\u0105\u0163\u0113\u018C\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
13
13
|
MAA_ORIGINAL_TYPE=[[[\u014E\u0157\u012F\u011F\u012F\u014B\u0105\u013A \u0100\u03C1\u03C1\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
14
14
|
MAA_APP_VARIANT_TYPE=[[[\u0100\u03C1\u03C1 \u01B2\u0105\u0157\u012F\u0105\u014B\u0163\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
15
15
|
MAA_CURRENT_APP_STATUS=[[[\u0108\u0171\u0157\u0157\u0113\u014B\u0163 \u015C\u0163\u0105\u0163\u0171\u015F\u2219\u2219\u2219\u2219\u2219]]]
|
|
@@ -23,6 +23,6 @@ MSG_APP_VARIANT_DELETE_CONFIRMATION=[[[\u010E\u014F \u0177\u014F\u0171 \u0157\u0
|
|
|
23
23
|
TOOLTIP_ADAPTUI_STATUS_RUNNING=[[[\u014E\u03C1\u0113\u0157\u0105\u0163\u012F\u014F\u014B \u012F\u015F \u0157\u0171\u014B\u014B\u012F\u014B\u011F \u012F\u014B \u0163\u0125\u0113 \u0183\u0105\u010B\u0137\u011F\u0157\u014F\u0171\u014B\u018C.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
24
24
|
TOOLTIP_ADAPTUI_STATUS_PUBLISHED=[[[\u0158\u0113\u0192\u0157\u0113\u015F\u0125 \u0177\u014F\u0171\u0157 \u0183\u0157\u014F\u0175\u015F\u0113\u0157 \u0163\u014F \u0105\u010B\u0163\u012F\u028B\u0105\u0163\u0113 \u0163\u0125\u012F\u015F \u014F\u03C1\u0163\u012F\u014F\u014B.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
25
25
|
TOOLTIP_ADAPTUI_STATUS_UNPBLSHD_ERROR=[[[\u01A4\u013A\u0113\u0105\u015F\u0113 \u010B\u0125\u0113\u010B\u0137 \u0175\u0125\u0177 \u0163\u0125\u0113 \u010B\u0105\u0163\u0105\u013A\u014F\u011F \u0105\u015F\u015F\u012F\u011F\u014B\u0271\u0113\u014B\u0163 \u0192\u0105\u012F\u013A\u0113\u018C.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
26
|
-
TOOLTIP_ADAPTUI_ON_PREMISE=[[[\u01A4\u013A\u0113\u0105\u015F\u0113 \u0105\u015F\u0137 \u0177\u014F\u0171\u0157 \u010B\u014F\u014B\u0163\u0113\u014B\u0163 \u0105\u018C\u0271\u012F\u014B\u012F\u015F\u0163\u0157\u0105\u0163\u014F\u0157 \u0163\u014F \u010B\u0157\u0113\u0105\u0163\u0113 \u0163\u0125\u0113 \u0163\u0105\u0157\u011F\u0113\u0163 \u0271\u0105\u03C1\u03C1\u012F\u014B\u011F\u015F \u0192\u014F\u0157 \u0163\u0125\u0113 \u0105\u03C1\u03C1 \u028B\u0105\u0157\u012F\u0105\u014B\u0163.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
26
|
+
TOOLTIP_ADAPTUI_ON_PREMISE=[[[\u01A4\u013A\u0113\u0105\u015F\u0113 \u0105\u015F\u0137 \u0177\u014F\u0171\u0157 \u010B\u014F\u014B\u0163\u0113\u014B\u0163 \u0105\u018C\u0271\u012F\u014B\u012F\u015F\u0163\u0157\u0105\u0163\u014F\u0157 \u0163\u014F \u010B\u0157\u0113\u0105\u0163\u0113 \u0163\u0125\u0113 \u0163\u0105\u0157\u011F\u0113\u0163 \u0271\u0105\u03C1\u03C1\u012F\u014B\u011F\u015F \u0192\u014F\u0157 \u0163\u0125\u0113 \u0105\u03C1\u03C1 \u028B\u0105\u0157\u012F\u0105\u014B\u0163.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
27
27
|
MAA_COPY_ID_SUCCESS=[[[\u012C\u010E \u0175\u0105\u015F \u010B\u014F\u03C1\u012F\u0113\u018C \u015F\u0171\u010B\u010B\u0113\u015F\u015F\u0192\u0171\u013A\u013A\u0177.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
28
28
|
MAA_DIALOG_ACTIONS_HEADER=[[[\u0100\u028B\u0105\u012F\u013A\u0105\u0183\u013A\u0113 \u0100\u010B\u0163\u012F\u014F\u014B\u015F\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
|
|
2
|
-
MAA_DIALOG_ICON=
|
|
3
|
-
MAA_DIALOG_DESCRIPTION=
|
|
4
|
-
MAA_DIALOG_COPY_ID_ACTION=
|
|
5
|
-
MAA_DIALOG_ADAPT_UI_ACTION=
|
|
6
|
-
MAA_DIALOG_SAVE_AS_ACTION=
|
|
7
|
-
MAA_DIALOG_ACTIONS=
|
|
8
|
-
MAA_DIALOG_DELETE_APPVAR=
|
|
9
|
-
MAA_DIALOG_ADAPT_UI=
|
|
10
|
-
MAA_CURRENTLY_ADAPTING=
|
|
11
|
-
MAA_OPERATION_IN_PROGRESS=
|
|
12
|
-
MAA_NEW_APP_VARIANT=
|
|
13
|
-
MAA_ORIGINAL_TYPE=
|
|
14
|
-
MAA_APP_VARIANT_TYPE=
|
|
15
|
-
MAA_CURRENT_APP_STATUS=
|
|
16
|
-
TOOLTIP_MAA_DIALOG_COPY_ID=
|
|
17
|
-
MAA_DIALOG_COPY_ID=
|
|
18
|
-
MAA_DIALOG_APP_TYPE=
|
|
19
|
-
MAA_DIALOG_TITLE=
|
|
20
|
-
MAA_DIALOG_SUBTITLE=
|
|
21
|
-
TOOLTIP_DELETE_APP_VAR=
|
|
22
|
-
MSG_APP_VARIANT_DELETE_CONFIRMATION=
|
|
23
|
-
TOOLTIP_ADAPTUI_STATUS_RUNNING=
|
|
24
|
-
TOOLTIP_ADAPTUI_STATUS_PUBLISHED=
|
|
25
|
-
TOOLTIP_ADAPTUI_STATUS_UNPBLSHD_ERROR=
|
|
26
|
-
TOOLTIP_ADAPTUI_ON_PREMISE=
|
|
27
|
-
MAA_COPY_ID_SUCCESS=
|
|
28
|
-
MAA_DIALOG_ACTIONS_HEADER=
|
|
2
|
+
MAA_DIALOG_ICON=yY3ldI7THNUASTcX2CUK0g_Icon
|
|
3
|
+
MAA_DIALOG_DESCRIPTION=TtgjLSoHC2lSGBQBt/dFOQ_Description
|
|
4
|
+
MAA_DIALOG_COPY_ID_ACTION=W8du05RNPJwvTqJRWMI0lw_Copy ID Action
|
|
5
|
+
MAA_DIALOG_ADAPT_UI_ACTION=3xaDWftvftK0du5Pb7o+tA_Adapt UI Action
|
|
6
|
+
MAA_DIALOG_SAVE_AS_ACTION=RWEVH5KXkANL2aQhbyT51w_Save As Action
|
|
7
|
+
MAA_DIALOG_ACTIONS=DQmKppHrj2G9b1YuWg/ZWw_Actions
|
|
8
|
+
MAA_DIALOG_DELETE_APPVAR=UGpjHWlhpuuS6jM82tLp0A_Delete App Variant
|
|
9
|
+
MAA_DIALOG_ADAPT_UI=zlA/AugJ43yZQ+huVSe/5w_Adapt UI
|
|
10
|
+
MAA_CURRENTLY_ADAPTING=1F6vfzjkTTvmUP90jBE9mg_Currently Adapting
|
|
11
|
+
MAA_OPERATION_IN_PROGRESS=qy3649NEeF3uJaZpAHrPdw_Operation in Progress
|
|
12
|
+
MAA_NEW_APP_VARIANT=dd1Z1LK4DofhgZZA3sIbZQ_Just Created
|
|
13
|
+
MAA_ORIGINAL_TYPE=yIrCQP/s90cajlZYbgus+A_Original App
|
|
14
|
+
MAA_APP_VARIANT_TYPE=6WkVnZ0dJZYYMZMjOTU/CQ_App Variant
|
|
15
|
+
MAA_CURRENT_APP_STATUS=XaPKJTXBWyW8P/6LRNvBNg_Current Status
|
|
16
|
+
TOOLTIP_MAA_DIALOG_COPY_ID=PqNZMvFuj5P8CZNbv8O3kQ_Copy the ID of the app variant to the clipboard
|
|
17
|
+
MAA_DIALOG_COPY_ID=C2g0gGJZGvpzQtvTSzHFKQ_Copy ID
|
|
18
|
+
MAA_DIALOG_APP_TYPE=jQWGJJxn6MtVo5ob+7cjuQ_App Type
|
|
19
|
+
MAA_DIALOG_TITLE=de/MRTAn3kzskRT9FX/YOg_Title
|
|
20
|
+
MAA_DIALOG_SUBTITLE=aRaKCpDlO+Ea8uhAX1/qOA_Subtitle
|
|
21
|
+
TOOLTIP_DELETE_APP_VAR=J9gd8aRpsosGyWjd/i4yJA_Please ask your content administrator to delete the target mappings for this app variant. Then you can delete the app variant.
|
|
22
|
+
MSG_APP_VARIANT_DELETE_CONFIRMATION=ydoXh3jHvpKMBbiVJdn/QQ_Do you really want to delete this app variant?\nPlease keep in mind that this will delete the app variant for all users.
|
|
23
|
+
TOOLTIP_ADAPTUI_STATUS_RUNNING=zzzv6rPzu8lBJY4tJacVKg_Operation is running in the background.
|
|
24
|
+
TOOLTIP_ADAPTUI_STATUS_PUBLISHED=qBqvecASGOQwQ9NDX87Fsw_Refresh your browser to activate this option.
|
|
25
|
+
TOOLTIP_ADAPTUI_STATUS_UNPBLSHD_ERROR=1P93DLTdQEiLcoiFPVVn0w_Please check why the catalog assignment failed.
|
|
26
|
+
TOOLTIP_ADAPTUI_ON_PREMISE=TW/kjF+IZPRBquxmbD5Vkg_Please ask your content administrator to create the target mappings for the app variant.
|
|
27
|
+
MAA_COPY_ID_SUCCESS=hd2HuEnXOL88hl1qoVK+eg_ID was copied successfully.
|
|
28
|
+
MAA_DIALOG_ACTIONS_HEADER=jXGQ1mXTF8IIe2uZ1Vnhzw_Available Actions
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @class
|
|
25
25
|
* @extends sap.ui.rta.command.FlexCommand
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.129.0
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
30
30
|
* @since 1.76
|
|
@@ -96,7 +96,7 @@ sap.ui.define([
|
|
|
96
96
|
appComponent: oAppComponent,
|
|
97
97
|
view: oView
|
|
98
98
|
};
|
|
99
|
-
return ChangesWriteAPI.apply(
|
|
99
|
+
return ChangesWriteAPI.apply({ change: oChange, element: oSelectorElement, ...mPropertyBag })
|
|
100
100
|
.then(function(oResult) {
|
|
101
101
|
if (!oResult.success) {
|
|
102
102
|
return Promise.reject(oResult.error);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"sap/ui/rta/command/FlexCommand"
|
|
8
|
+
], function(
|
|
9
|
+
FlexCommand
|
|
10
|
+
) {
|
|
11
|
+
"use strict";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Annotation Command
|
|
15
|
+
*
|
|
16
|
+
* @class
|
|
17
|
+
* @extends sap.ui.rta.command.FlexCommand
|
|
18
|
+
*
|
|
19
|
+
* @author SAP SE
|
|
20
|
+
* @version 1.129.0
|
|
21
|
+
*
|
|
22
|
+
* @constructor
|
|
23
|
+
* @private
|
|
24
|
+
* @since 1.128
|
|
25
|
+
* @alias sap.ui.rta.command.Annotation
|
|
26
|
+
*/
|
|
27
|
+
var AnnotationCommand = FlexCommand.extend("sap.ui.rta.command.Annotation", {
|
|
28
|
+
metadata: {
|
|
29
|
+
library: "sap.ui.rta",
|
|
30
|
+
properties: {
|
|
31
|
+
content: {
|
|
32
|
+
type: "any",
|
|
33
|
+
group: "content"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
events: {}
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* For annotation commands to take effect the app needs to be restarted as the models need to be reloaded.
|
|
42
|
+
*/
|
|
43
|
+
AnnotationCommand.prototype.needsReload = true;
|
|
44
|
+
|
|
45
|
+
return AnnotationCommand;
|
|
46
|
+
});
|
|
@@ -259,10 +259,11 @@ sap.ui.define([
|
|
|
259
259
|
function configureCustomAddCommand(oElement, mSettings, oDesignTimeMetadata) {
|
|
260
260
|
var oAddAction = oDesignTimeMetadata.getAction("add", mSettings.element);
|
|
261
261
|
if (oAddAction && oAddAction.custom && typeof oAddAction.custom.getItems === "function") {
|
|
262
|
-
var oAction =
|
|
262
|
+
var oAction = {
|
|
263
|
+
...oAddAction.custom,
|
|
263
264
|
changeOnRelevantContainer: mSettings.changeOnRelevantContainer,
|
|
264
265
|
changeType: mSettings.changeType
|
|
265
|
-
}
|
|
266
|
+
};
|
|
266
267
|
delete mSettings.changeOnRelevantContainer; // this property is not required for a sap.ui.rta.command.CustomAdd
|
|
267
268
|
return oAction;
|
|
268
269
|
}
|
|
@@ -382,6 +383,10 @@ sap.ui.define([
|
|
|
382
383
|
clazz: "sap/ui/rta/command/AppDescriptorCommand",
|
|
383
384
|
noSelector: true
|
|
384
385
|
},
|
|
386
|
+
annotation: {
|
|
387
|
+
clazz: "sap/ui/rta/command/Annotation",
|
|
388
|
+
noSelector: true
|
|
389
|
+
},
|
|
385
390
|
addIFrame: {
|
|
386
391
|
clazz: "sap/ui/rta/command/AddIFrame",
|
|
387
392
|
configure: configureAddIFrame
|
|
@@ -421,14 +426,15 @@ sap.ui.define([
|
|
|
421
426
|
var bIsUiElement = vElement instanceof ManagedObject;
|
|
422
427
|
|
|
423
428
|
// only sap.ui.rta.command.FlexCommand requires a selector property
|
|
424
|
-
if (!mCommand.noSelector) {
|
|
425
|
-
mSettings =
|
|
429
|
+
if (!mCommand.noSelector && !bIsUiElement) {
|
|
430
|
+
mSettings = { ...mSettings, selector: vElement };
|
|
426
431
|
}
|
|
427
432
|
|
|
428
|
-
mSettings =
|
|
433
|
+
mSettings = {
|
|
434
|
+
...mSettings,
|
|
429
435
|
element: bIsUiElement ? vElement : undefined,
|
|
430
436
|
name: sCommand
|
|
431
|
-
}
|
|
437
|
+
};
|
|
432
438
|
|
|
433
439
|
var oAction;
|
|
434
440
|
if (mCommand.configure) {
|
|
@@ -487,7 +493,7 @@ sap.ui.define([
|
|
|
487
493
|
* @extends sap.ui.base.ManagedObject
|
|
488
494
|
*
|
|
489
495
|
* @author SAP SE
|
|
490
|
-
* @version 1.
|
|
496
|
+
* @version 1.129.0
|
|
491
497
|
*
|
|
492
498
|
* @constructor
|
|
493
499
|
* @private
|
|
@@ -518,7 +524,7 @@ sap.ui.define([
|
|
|
518
524
|
* @param {Object} [mFlexSettings] - Property bag. See {@link sap.ui.rta.RuntimeAuthoring#setFlexSettings} method for more information
|
|
519
525
|
*/
|
|
520
526
|
CommandFactory.prototype.setFlexSettings = function(mFlexSettings) {
|
|
521
|
-
this.setProperty("flexSettings",
|
|
527
|
+
this.setProperty("flexSettings", { ...this.getFlexSettings(), ...mFlexSettings });
|
|
522
528
|
};
|
|
523
529
|
|
|
524
530
|
/**
|
|
@@ -5,15 +5,17 @@
|
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/ui/core/util/reflection/JsControlTreeModifier",
|
|
8
|
-
"sap/ui/fl/Utils",
|
|
9
8
|
"sap/ui/fl/write/api/ContextSharingAPI",
|
|
9
|
+
"sap/ui/fl/write/api/PersistenceWriteAPI",
|
|
10
|
+
"sap/ui/fl/Utils",
|
|
10
11
|
"sap/ui/rta/command/BaseCommand",
|
|
11
12
|
"sap/ui/rta/library",
|
|
12
13
|
"sap/ui/rta/Utils"
|
|
13
14
|
], function(
|
|
14
15
|
JsControlTreeModifier,
|
|
15
|
-
flUtils,
|
|
16
16
|
ContextSharingAPI,
|
|
17
|
+
PersistenceWriteAPI,
|
|
18
|
+
flUtils,
|
|
17
19
|
BaseCommand,
|
|
18
20
|
rtaLibrary,
|
|
19
21
|
rtaUtils
|
|
@@ -26,7 +28,7 @@ sap.ui.define([
|
|
|
26
28
|
* @class
|
|
27
29
|
* @extends sap.ui.rta.command.BaseCommand
|
|
28
30
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
31
|
+
* @version 1.129.0
|
|
30
32
|
* @constructor
|
|
31
33
|
* @private
|
|
32
34
|
* @since 1.86
|
|
@@ -132,7 +134,7 @@ sap.ui.define([
|
|
|
132
134
|
* @public
|
|
133
135
|
* @returns {Promise} Resolves after undo
|
|
134
136
|
*/
|
|
135
|
-
ControlVariantSaveAs.prototype.undo = function() {
|
|
137
|
+
ControlVariantSaveAs.prototype.undo = async function() {
|
|
136
138
|
if (this._oVariantChange) {
|
|
137
139
|
var aChangesToBeDeleted = [];
|
|
138
140
|
this._aPreparedChanges.forEach(function(oChange) {
|
|
@@ -140,7 +142,10 @@ sap.ui.define([
|
|
|
140
142
|
aChangesToBeDeleted.push(oChange);
|
|
141
143
|
}
|
|
142
144
|
});
|
|
143
|
-
|
|
145
|
+
await PersistenceWriteAPI.remove({
|
|
146
|
+
flexObjects: aChangesToBeDeleted,
|
|
147
|
+
selector: this.oAppComponent
|
|
148
|
+
});
|
|
144
149
|
|
|
145
150
|
var mPropertyBag = {
|
|
146
151
|
variant: this._oVariantChange,
|
|
@@ -149,17 +154,11 @@ sap.ui.define([
|
|
|
149
154
|
component: this.oAppComponent
|
|
150
155
|
};
|
|
151
156
|
|
|
152
|
-
|
|
153
|
-
.
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}.bind(this))
|
|
157
|
-
.then(function() {
|
|
158
|
-
this._aPreparedChanges = null;
|
|
159
|
-
this._oVariantChange = null;
|
|
160
|
-
}.bind(this));
|
|
157
|
+
await this.oModel.removeVariant(mPropertyBag, true);
|
|
158
|
+
await this.oModel.addAndApplyChangesOnVariant(this._aControlChangesWithoutVariant);
|
|
159
|
+
this._aPreparedChanges = null;
|
|
160
|
+
this._oVariantChange = null;
|
|
161
161
|
}
|
|
162
|
-
return Promise.resolve();
|
|
163
162
|
};
|
|
164
163
|
|
|
165
164
|
return ControlVariantSaveAs;
|