@openui5/sap.ui.rta 1.96.1 → 1.97.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +1 -1
- package/THIRDPARTY.txt +2 -1
- package/package.json +6 -6
- package/src/sap/ui/rta/.library +2 -2
- package/src/sap/ui/rta/Client.js +2 -2
- package/src/sap/ui/rta/RuntimeAuthoring.js +4 -6
- package/src/sap/ui/rta/Utils.js +2 -2
- package/src/sap/ui/rta/api/startAdaptation.js +2 -3
- package/src/sap/ui/rta/api/startKeyUserAdaptation.js +3 -3
- package/src/sap/ui/rta/appVariant/AppVariantDialog.js +6 -4
- package/src/sap/ui/rta/appVariant/AppVariantManager.js +5 -7
- package/src/sap/ui/rta/appVariant/AppVariantOverviewDialog.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantUtils.js +2 -8
- package/src/sap/ui/rta/appVariant/Feature.js +1 -1
- package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +3 -2
- package/src/sap/ui/rta/appVariant/Utils.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/Component.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/index.js +1 -1
- package/src/sap/ui/rta/appVariant/manageApps/webapp/model/models.js +1 -1
- package/src/sap/ui/rta/command/AddIFrame.js +2 -2
- package/src/sap/ui/rta/command/AddProperty.js +2 -2
- package/src/sap/ui/rta/command/AddXML.js +2 -2
- package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +2 -2
- package/src/sap/ui/rta/command/AppDescriptorCommand.js +5 -4
- package/src/sap/ui/rta/command/BaseCommand.js +2 -2
- package/src/sap/ui/rta/command/BindProperty.js +2 -2
- package/src/sap/ui/rta/command/Combine.js +2 -2
- package/src/sap/ui/rta/command/CommandFactory.js +2 -2
- package/src/sap/ui/rta/command/CompositeCommand.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantConfigure.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantSave.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantSaveAs.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantSetTitle.js +2 -2
- package/src/sap/ui/rta/command/ControlVariantSwitch.js +2 -7
- package/src/sap/ui/rta/command/CreateContainer.js +2 -2
- package/src/sap/ui/rta/command/CustomAdd.js +2 -2
- package/src/sap/ui/rta/command/FlexCommand.js +2 -2
- package/src/sap/ui/rta/command/LREPSerializer.js +2 -2
- package/src/sap/ui/rta/command/LocalReset.js +2 -2
- package/src/sap/ui/rta/command/Move.js +2 -2
- package/src/sap/ui/rta/command/Property.js +2 -2
- package/src/sap/ui/rta/command/Remove.js +2 -2
- package/src/sap/ui/rta/command/Rename.js +2 -2
- package/src/sap/ui/rta/command/Reveal.js +2 -2
- package/src/sap/ui/rta/command/Settings.js +2 -2
- package/src/sap/ui/rta/command/Split.js +2 -2
- package/src/sap/ui/rta/command/Stack.js +2 -2
- package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +2 -2
- package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +2 -2
- package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +2 -2
- package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +2 -2
- package/src/sap/ui/rta/enablement/TestDelegate.js +1 -1
- package/src/sap/ui/rta/enablement/elementActionTest.js +2 -2
- package/src/sap/ui/rta/library.js +3 -3
- package/src/sap/ui/rta/messagebundle.properties +8 -6
- package/src/sap/ui/rta/messagebundle_ar.properties +11 -10
- package/src/sap/ui/rta/messagebundle_bg.properties +11 -10
- package/src/sap/ui/rta/messagebundle_ca.properties +10 -9
- package/src/sap/ui/rta/messagebundle_cs.properties +11 -10
- package/src/sap/ui/rta/messagebundle_cy.properties +11 -10
- package/src/sap/ui/rta/messagebundle_da.properties +11 -10
- package/src/sap/ui/rta/messagebundle_de.properties +10 -9
- package/src/sap/ui/rta/messagebundle_el.properties +11 -10
- package/src/sap/ui/rta/messagebundle_en.properties +11 -10
- package/src/sap/ui/rta/messagebundle_en_GB.properties +11 -10
- package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +5 -4
- package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +7 -14
- package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +5 -4
- package/src/sap/ui/rta/messagebundle_es.properties +11 -10
- package/src/sap/ui/rta/messagebundle_es_MX.properties +11 -10
- package/src/sap/ui/rta/messagebundle_et.properties +11 -10
- package/src/sap/ui/rta/messagebundle_fi.properties +10 -9
- package/src/sap/ui/rta/messagebundle_fr.properties +11 -10
- package/src/sap/ui/rta/messagebundle_fr_CA.properties +11 -10
- package/src/sap/ui/rta/messagebundle_hi.properties +11 -10
- package/src/sap/ui/rta/messagebundle_hr.properties +11 -10
- package/src/sap/ui/rta/messagebundle_hu.properties +10 -9
- package/src/sap/ui/rta/messagebundle_id.properties +11 -10
- package/src/sap/ui/rta/messagebundle_it.properties +11 -10
- package/src/sap/ui/rta/messagebundle_iw.properties +11 -10
- package/src/sap/ui/rta/messagebundle_ja.properties +11 -10
- package/src/sap/ui/rta/messagebundle_kk.properties +11 -10
- package/src/sap/ui/rta/messagebundle_ko.properties +11 -10
- package/src/sap/ui/rta/messagebundle_lt.properties +11 -10
- package/src/sap/ui/rta/messagebundle_lv.properties +11 -10
- package/src/sap/ui/rta/messagebundle_ms.properties +11 -10
- package/src/sap/ui/rta/messagebundle_nl.properties +11 -10
- package/src/sap/ui/rta/messagebundle_no.properties +11 -10
- package/src/sap/ui/rta/messagebundle_pl.properties +11 -10
- package/src/sap/ui/rta/messagebundle_pt.properties +10 -9
- package/src/sap/ui/rta/messagebundle_pt_PT.properties +10 -9
- package/src/sap/ui/rta/messagebundle_ro.properties +11 -10
- package/src/sap/ui/rta/messagebundle_ru.properties +10 -9
- package/src/sap/ui/rta/messagebundle_sh.properties +11 -10
- package/src/sap/ui/rta/messagebundle_sk.properties +11 -10
- package/src/sap/ui/rta/messagebundle_sl.properties +11 -10
- package/src/sap/ui/rta/messagebundle_sv.properties +11 -10
- package/src/sap/ui/rta/messagebundle_th.properties +16 -15
- package/src/sap/ui/rta/messagebundle_tr.properties +11 -10
- package/src/sap/ui/rta/messagebundle_uk.properties +12 -11
- package/src/sap/ui/rta/messagebundle_vi.properties +11 -10
- package/src/sap/ui/rta/messagebundle_zh_CN.properties +11 -10
- package/src/sap/ui/rta/messagebundle_zh_TW.properties +11 -10
- package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +2 -2
- package/src/sap/ui/rta/plugin/BaseCreate.js +3 -3
- package/src/sap/ui/rta/plugin/Combine.js +2 -2
- package/src/sap/ui/rta/plugin/CompVariant.js +1 -1
- package/src/sap/ui/rta/plugin/ControlVariant.js +2 -2
- package/src/sap/ui/rta/plugin/CreateContainer.js +2 -2
- package/src/sap/ui/rta/plugin/CutPaste.js +2 -2
- package/src/sap/ui/rta/plugin/DragDrop.js +2 -2
- package/src/sap/ui/rta/plugin/EasyAdd.js +2 -2
- package/src/sap/ui/rta/plugin/EasyRemove.js +2 -2
- package/src/sap/ui/rta/plugin/LocalReset.js +2 -2
- package/src/sap/ui/rta/plugin/Plugin.js +2 -2
- package/src/sap/ui/rta/plugin/RTAElementMover.js +2 -2
- package/src/sap/ui/rta/plugin/Remove.js +2 -2
- package/src/sap/ui/rta/plugin/Rename.js +2 -2
- package/src/sap/ui/rta/plugin/RenameHandler.js +2 -15
- package/src/sap/ui/rta/plugin/Selection.js +2 -2
- package/src/sap/ui/rta/plugin/Settings.js +2 -2
- package/src/sap/ui/rta/plugin/Split.js +3 -2
- package/src/sap/ui/rta/plugin/Stretch.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +2 -2
- package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +2 -2
- package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +2 -2
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +2 -2
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +2 -17
- package/src/sap/ui/rta/plugin/iframe/urlCleaner.js +2 -2
- package/src/sap/ui/rta/service/Action.js +2 -2
- package/src/sap/ui/rta/service/ControllerExtension.js +2 -2
- package/src/sap/ui/rta/service/Outline.js +80 -30
- package/src/sap/ui/rta/service/Property.js +2 -4
- package/src/sap/ui/rta/service/Receiver.js +1 -1
- package/src/sap/ui/rta/service/Selection.js +3 -2
- package/src/sap/ui/rta/service/index.js +1 -1
- package/src/sap/ui/rta/themes/base/ChangeVisualization.less +23 -30
- package/src/sap/ui/rta/themes/base/OverlayWithScrollbar.less +54 -35
- package/src/sap/ui/rta/themes/base/library.source.less +1 -1
- package/src/sap/ui/rta/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/rta/toolbar/Adaptation.js +2 -2
- package/src/sap/ui/rta/toolbar/AdaptationRenderer.js +1 -1
- package/src/sap/ui/rta/toolbar/Base.js +2 -2
- package/src/sap/ui/rta/toolbar/BaseRenderer.js +1 -1
- package/src/sap/ui/rta/toolbar/Fiori.js +2 -2
- package/src/sap/ui/rta/toolbar/FioriLike.js +2 -2
- package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +4 -4
- package/src/sap/ui/rta/toolbar/Personalization.js +2 -2
- package/src/sap/ui/rta/toolbar/Standalone.js +2 -2
- package/src/sap/ui/rta/toolbar/translation/Translation.js +2 -2
- package/src/sap/ui/rta/util/Animation.js +1 -1
- package/src/sap/ui/rta/util/BindingsExtractor.js +1 -1
- package/src/sap/ui/rta/util/PluginManager.js +2 -2
- package/src/sap/ui/rta/util/PopupManager.js +4 -12
- package/src/sap/ui/rta/util/ServiceEventBus.js +2 -2
- package/src/sap/ui/rta/util/StylesLoader.js +1 -1
- package/src/sap/ui/rta/util/UrlParser.js +1 -1
- package/src/sap/ui/rta/util/adaptationStarter.js +2 -2
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +17 -79
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorPopover.fragment.xml +15 -37
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +2 -3
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +36 -31
- package/src/sap/ui/rta/util/changeVisualization/categories/MoveVisualization.js +30 -0
- package/src/sap/ui/rta/util/changeVisualization/categories/RenameVisualization.js +4 -3
- package/src/sap/ui/rta/util/changeVisualization/categories/SplitVisualization.js +30 -0
- package/src/sap/ui/rta/util/changeVisualization/categories/getVisualizationCategory.js +10 -4
- package/src/sap/ui/rta/util/hasStableId.js +1 -1
- package/src/sap/ui/rta/util/showMessageBox.js +1 -1
- package/src/sap/ui/rta/util/validateFlexEnabled.js +5 -5
- package/src/sap/ui/rta/util/validateStableIds.js +1 -1
package/.reuse/dep5
CHANGED
|
@@ -418,7 +418,7 @@ Comment: these files contain content from SAP and BooleanExpressionEvaluator: Bo
|
|
|
418
418
|
|
|
419
419
|
# Library: sap.ui.webc.common:
|
|
420
420
|
|
|
421
|
-
Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/
|
|
421
|
+
Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
|
|
422
422
|
Copyright: SAP
|
|
423
423
|
License: Apache-2.0
|
|
424
424
|
Comment: these files belong to: UI5 Web Components
|
package/THIRDPARTY.txt
CHANGED
|
@@ -412,10 +412,11 @@ Copyright: SAP
|
|
|
412
412
|
License: Apache-2.0
|
|
413
413
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
414
414
|
Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
|
|
415
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/
|
|
415
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.*
|
|
416
416
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.*
|
|
417
417
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.*
|
|
418
418
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
|
|
419
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
|
|
419
420
|
|
|
420
421
|
Component: lit-html, version: 1.4.1
|
|
421
422
|
Copyright: Google LLC
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.rta",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.97.1",
|
|
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.97.1",
|
|
18
|
+
"@openui5/sap.ui.core": "1.97.1",
|
|
19
|
+
"@openui5/sap.ui.dt": "1.97.1",
|
|
20
|
+
"@openui5/sap.ui.fl": "1.97.1",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.97.1"
|
|
22
22
|
}
|
|
23
23
|
}
|
package/src/sap/ui/rta/.library
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<name>sap.ui.rta</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
6
|
<copyright>OpenUI5
|
|
7
|
-
* (c) Copyright 2009-
|
|
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.
|
|
9
|
+
<version>1.97.1</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with RTA controls.</documentation>
|
|
12
12
|
|
package/src/sap/ui/rta/Client.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
60
|
+
* @version 1.97.1
|
|
61
61
|
* @private
|
|
62
62
|
* @ui5-restricted
|
|
63
63
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -33,7 +33,6 @@ sap.ui.define([
|
|
|
33
33
|
"sap/ui/rta/util/PopupManager",
|
|
34
34
|
"sap/ui/core/BusyIndicator",
|
|
35
35
|
"sap/ui/dt/DOMUtil",
|
|
36
|
-
"sap/ui/rta/util/StylesLoader",
|
|
37
36
|
"sap/ui/rta/appVariant/Feature",
|
|
38
37
|
"sap/ui/Device",
|
|
39
38
|
"sap/ui/rta/service/index",
|
|
@@ -47,8 +46,7 @@ sap.ui.define([
|
|
|
47
46
|
"sap/ui/model/json/JSONModel",
|
|
48
47
|
"sap/ui/rta/util/validateFlexEnabled",
|
|
49
48
|
"sap/ui/rta/util/changeVisualization/ChangeVisualization"
|
|
50
|
-
],
|
|
51
|
-
function(
|
|
49
|
+
], function(
|
|
52
50
|
jQuery,
|
|
53
51
|
ManagedObject,
|
|
54
52
|
FioriToolbar,
|
|
@@ -76,7 +74,6 @@ function(
|
|
|
76
74
|
PopupManager,
|
|
77
75
|
BusyIndicator,
|
|
78
76
|
DOMUtil,
|
|
79
|
-
StylesLoader,
|
|
80
77
|
RtaAppVariantFeature,
|
|
81
78
|
Device,
|
|
82
79
|
ServicesIndex,
|
|
@@ -107,7 +104,7 @@ function(
|
|
|
107
104
|
* @class The runtime authoring allows to adapt the fields of a running application.
|
|
108
105
|
* @extends sap.ui.base.ManagedObject
|
|
109
106
|
* @author SAP SE
|
|
110
|
-
* @version 1.
|
|
107
|
+
* @version 1.97.1
|
|
111
108
|
* @constructor
|
|
112
109
|
* @private
|
|
113
110
|
* @since 1.30
|
|
@@ -652,6 +649,7 @@ function(
|
|
|
652
649
|
|
|
653
650
|
/**
|
|
654
651
|
* adapt the enablement of undo/redo/reset/transport button
|
|
652
|
+
* @returns {Promise} Resolves as soon as the MessageBox is closed
|
|
655
653
|
* @private
|
|
656
654
|
*/
|
|
657
655
|
RuntimeAuthoring.prototype._onStackModified = function() {
|
package/src/sap/ui/rta/Utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -46,7 +46,7 @@ function(
|
|
|
46
46
|
* @class Utility functionality to work with controls, e.g. iterate through aggregations, find parents, etc.
|
|
47
47
|
*
|
|
48
48
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.97.1
|
|
50
50
|
*
|
|
51
51
|
* @private
|
|
52
52
|
* @static
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* ! OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @alias module:sap/ui/rta/api/startAdaptation
|
|
33
33
|
*
|
|
34
34
|
* @param {object} mOptions - Object with properties
|
|
35
|
-
* @param {sap.ui.core.
|
|
35
|
+
* @param {sap.ui.core.Control|sap.ui.core.UIComponent} mOptions.rootControl - Control instance to get the AppComponent. This then is used to start UI adaptation.
|
|
36
36
|
* @param {object} [mOptions.flexSettings] - Map with flex-related settings
|
|
37
37
|
* @param {string} [mOptions.flexSettings.layer] - The Layer in which RTA should be started. Default: "CUSTOMER"
|
|
38
38
|
* @param {boolean} [mOptions.flexSettings.developerMode] - Whether RTA is started in developerMode mode. Default: <code>false</code>
|
|
@@ -41,7 +41,6 @@ sap.ui.define([
|
|
|
41
41
|
* @param {function} [onFailed] - Event handler function called on failed event
|
|
42
42
|
* @param {function} [onStop] - Event handler function called on stop event
|
|
43
43
|
* @returns {Promise} Resolves when UI adaptation was successfully started
|
|
44
|
-
* @ui5-restricted
|
|
45
44
|
* @public
|
|
46
45
|
*/
|
|
47
46
|
function startAdaptation(mOptions, loadPlugins, onStart, onFailed, onStop) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* ! OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -22,9 +22,9 @@ sap.ui.define([
|
|
|
22
22
|
* @alias module:sap/ui/rta/api/startKeyUserAdaptation
|
|
23
23
|
*
|
|
24
24
|
* @param {object} mPropertyBag - Object with properties
|
|
25
|
-
* @param {sap.ui.core.
|
|
25
|
+
* @param {sap.ui.core.Control|sap.ui.core.UIComponent} mPropertyBag.rootControl - Control instance to get the AppComponent. This then is used to start UI adaptation.
|
|
26
26
|
*
|
|
27
|
-
* @returns {Promise} Resolves when adaptation was successfully started
|
|
27
|
+
* @returns {Promise} Resolves when UI adaptation was successfully started
|
|
28
28
|
* @public
|
|
29
29
|
*/
|
|
30
30
|
function startKeyUserAdaptation(mPropertyBag) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -26,6 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
"sap/ui/model/FilterOperator",
|
|
27
27
|
"sap/ui/model/json/JSONModel",
|
|
28
28
|
"sap/ui/rta/Utils",
|
|
29
|
+
"sap/ui/layout/form/SimpleFormLayout",
|
|
29
30
|
// needs to be preloaded for the test to work
|
|
30
31
|
"sap/ui/layout/form/ResponsiveGridLayout"
|
|
31
32
|
],
|
|
@@ -49,7 +50,8 @@ function(
|
|
|
49
50
|
Filter,
|
|
50
51
|
FilterOperator,
|
|
51
52
|
JSONModel,
|
|
52
|
-
RtaUtils
|
|
53
|
+
RtaUtils,
|
|
54
|
+
SimpleFormLayout
|
|
53
55
|
) {
|
|
54
56
|
"use strict";
|
|
55
57
|
|
|
@@ -221,7 +223,7 @@ function(
|
|
|
221
223
|
function _createSimpleForm() {
|
|
222
224
|
oSimpleForm = new SimpleForm({
|
|
223
225
|
editable: true,
|
|
224
|
-
layout:
|
|
226
|
+
layout: SimpleFormLayout.ResponsiveGridLayout,
|
|
225
227
|
labelSpanXL: 4,
|
|
226
228
|
labelSpanL: 4,
|
|
227
229
|
labelSpanM: 4,
|
|
@@ -284,7 +286,7 @@ function(
|
|
|
284
286
|
|
|
285
287
|
// initialize dialog and create member variables.
|
|
286
288
|
this.setTitle(oResources.getText("CREATE_APP_VARIANT_DIALOG_TITLE"));
|
|
287
|
-
this.setContentWidth("
|
|
289
|
+
this.setContentWidth("860px");
|
|
288
290
|
this.setContentHeight("250px");
|
|
289
291
|
|
|
290
292
|
oCustomTileModel = new JSONModel({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -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.
|
|
27
|
+
* @version 1.97.1
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
30
30
|
* @since 1.53
|
|
@@ -46,10 +46,6 @@ sap.ui.define([
|
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
/**
|
|
50
|
-
* Opens the 'Save As' dialog.
|
|
51
|
-
* @private
|
|
52
|
-
*/
|
|
53
49
|
AppVariantManager.prototype._openDialog = function(fnCreate, fnCancel) {
|
|
54
50
|
var oDialog = new AppVariantDialog("appVariantDialog");
|
|
55
51
|
|
|
@@ -138,6 +134,7 @@ sap.ui.define([
|
|
|
138
134
|
|
|
139
135
|
/**
|
|
140
136
|
* @param {String} sAppVariantId - Application variant ID
|
|
137
|
+
* @param {sap.ui.fl.Selector} vSelector - Selector
|
|
141
138
|
* @returns {Promise} Resolved promise
|
|
142
139
|
* @description Creates the app variant with all inline changes in backend.
|
|
143
140
|
*/
|
|
@@ -189,6 +186,7 @@ sap.ui.define([
|
|
|
189
186
|
|
|
190
187
|
/**
|
|
191
188
|
* Dirty changes get taken over by the app variant.
|
|
189
|
+
* @returns {Promise} Resolves as soon as the command stack is cleared
|
|
192
190
|
* @private
|
|
193
191
|
*/
|
|
194
192
|
AppVariantManager.prototype._clearRTACommandStack = function() {
|
|
@@ -231,7 +229,7 @@ sap.ui.define([
|
|
|
231
229
|
/**
|
|
232
230
|
*
|
|
233
231
|
* @param {String} sIamId - Identity Access Management ID of SAP Fiori app
|
|
234
|
-
* @param {String}
|
|
232
|
+
* @param {String} sAppVarId - Application variant ID
|
|
235
233
|
* @param {Boolean} bCreation - Indicates that app is being created
|
|
236
234
|
* @returns {Promise} Resolved promise
|
|
237
235
|
* @description When the app variant creation/deletion and catalog assignment/unassignment are executed successfully, this asynchronous process gets triggered. It talks to the server every 2.5 secs.
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
/* global XMLHttpRequest */
|
|
8
|
-
|
|
9
7
|
sap.ui.define([
|
|
10
8
|
"sap/ui/fl/Utils",
|
|
11
9
|
"sap/m/MessageBox",
|
|
@@ -16,8 +14,7 @@ sap.ui.define([
|
|
|
16
14
|
"sap/ui/fl/write/api/PersistenceWriteAPI",
|
|
17
15
|
"sap/ui/fl/write/api/AppVariantWriteAPI",
|
|
18
16
|
"sap/ui/fl/write/api/ChangesWriteAPI"
|
|
19
|
-
],
|
|
20
|
-
function(
|
|
17
|
+
], function(
|
|
21
18
|
FlexUtils,
|
|
22
19
|
MessageBox,
|
|
23
20
|
RtaUtils,
|
|
@@ -480,9 +477,6 @@ function(
|
|
|
480
477
|
};
|
|
481
478
|
};
|
|
482
479
|
|
|
483
|
-
/**
|
|
484
|
-
* Builds the final success message on S/4HANA Cloud.
|
|
485
|
-
*/
|
|
486
480
|
AppVariantUtils.buildFinalSuccessInfoS4HANACloud = function() {
|
|
487
481
|
var sMessage = AppVariantUtils.getText("MSG_SAVE_APP_VARIANT_NEW_TILE_AVAILABLE");
|
|
488
482
|
return { text: sMessage };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -143,7 +143,8 @@ sap.ui.define([
|
|
|
143
143
|
/**
|
|
144
144
|
* Polls the OData model to check catalog publishing status of the given IAM app ID.
|
|
145
145
|
*
|
|
146
|
-
* @param
|
|
146
|
+
* @param {string} sIamAppId - Identity Access Management ID of SAP Fiori app
|
|
147
|
+
* @param {boolean} bAppVarCreation - Indicates if it's a creation scenario
|
|
147
148
|
* @return {Promise<boolean>} Promise delivering a boolean value
|
|
148
149
|
* @async
|
|
149
150
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* @class
|
|
17
17
|
* @extends sap.ui.rta.command.FlexCommand
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.97.1
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.75
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -14,7 +14,7 @@ sap.ui.define([
|
|
|
14
14
|
* @class
|
|
15
15
|
* @extends sap.ui.rta.command.FlexCommand
|
|
16
16
|
* @author SAP SE
|
|
17
|
-
* @version 1.
|
|
17
|
+
* @version 1.97.1
|
|
18
18
|
* @constructor
|
|
19
19
|
* @private
|
|
20
20
|
* @since 1.78
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* @class
|
|
17
17
|
* @extends sap.ui.rta.command.FlexCommand
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.97.1
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.54
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -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.97.1
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
30
30
|
* @since 1.76
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @extends sap.ui.rta.command.BaseCommand
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.97.1
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
@@ -64,8 +64,9 @@ sap.ui.define([
|
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* Prepare the app descriptor change, setting the layer.
|
|
67
|
-
* @param {object} mFlexSettings Map of flex
|
|
68
|
-
* @param {string} mFlexSettings.layer Layer where the change is applied
|
|
67
|
+
* @param {object} mFlexSettings - Map of flex settings
|
|
68
|
+
* @param {string} mFlexSettings.layer - Layer where the change is applied
|
|
69
|
+
* @returns {boolean} <code>true</true>
|
|
69
70
|
*/
|
|
70
71
|
AppDescriptorCommand.prototype.prepare = function (mFlexSettings) {
|
|
71
72
|
this.setLayer(mFlexSettings.layer);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define(["sap/ui/base/ManagedObject"], function(ManagedObject) {
|
|
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/base/ManagedObject"], function(ManagedObject) {
|
|
|
13
13
|
* @extends sap.ui.base.ManagedObject
|
|
14
14
|
*
|
|
15
15
|
* @author SAP SE
|
|
16
|
-
* @version 1.
|
|
16
|
+
* @version 1.97.1
|
|
17
17
|
*
|
|
18
18
|
* @constructor
|
|
19
19
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @class
|
|
27
27
|
* @extends sap.ui.rta.command.FlexCommand
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.97.1
|
|
30
30
|
* @constructor
|
|
31
31
|
* @private
|
|
32
32
|
* @since 1.38
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* @class
|
|
17
17
|
* @extends sap.ui.rta.command.FlexCommand
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.97.1
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.46
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -475,7 +475,7 @@ sap.ui.define([
|
|
|
475
475
|
* @extends sap.ui.base.ManagedObject
|
|
476
476
|
*
|
|
477
477
|
* @author SAP SE
|
|
478
|
-
* @version 1.
|
|
478
|
+
* @version 1.97.1
|
|
479
479
|
*
|
|
480
480
|
* @constructor
|
|
481
481
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @extends sap.ui.rta.command.BaseCommand
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.97.1
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @class
|
|
21
21
|
* @extends sap.ui.rta.command.BaseCommand
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.97.1
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
26
26
|
* @since 1.52
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @class
|
|
21
21
|
* @extends sap.ui.rta.command.BaseCommand
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.97.1
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
26
26
|
* @since 1.86
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @class
|
|
25
25
|
* @extends sap.ui.rta.command.BaseCommand
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.97.1
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
30
30
|
* @since 1.86
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* @class
|
|
17
17
|
* @extends sap.ui.rta.command.BaseCommand
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.97.1
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.50
|