@openui5/sap.ui.rta 1.95.0 → 1.96.3
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 +10 -5
- package/THIRDPARTY.txt +17 -8
- 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 +106 -69
- package/src/sap/ui/rta/Utils.js +1 -1
- package/src/sap/ui/rta/appVariant/AppVariantDialog.js +4 -3
- package/src/sap/ui/rta/appVariant/AppVariantManager.js +24 -17
- package/src/sap/ui/rta/appVariant/AppVariantUtils.js +107 -78
- package/src/sap/ui/rta/appVariant/Feature.js +5 -12
- package/src/sap/ui/rta/appVariant/Utils.js +10 -2
- package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +35 -20
- 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 +1 -1
- 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 +1 -1
- package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantConfigure.js +4 -4
- package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
- package/src/sap/ui/rta/command/ControlVariantSaveAs.js +7 -4
- package/src/sap/ui/rta/command/ControlVariantSetTitle.js +7 -7
- 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 +1 -1
- 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/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 +1 -1
- package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
- package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
- package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
- package/src/sap/ui/rta/library.js +2 -2
- package/src/sap/ui/rta/messagebundle.properties +6 -6
- package/src/sap/ui/rta/messagebundle_ar.properties +6 -6
- package/src/sap/ui/rta/messagebundle_bg.properties +6 -6
- package/src/sap/ui/rta/messagebundle_ca.properties +6 -6
- package/src/sap/ui/rta/messagebundle_cs.properties +6 -6
- package/src/sap/ui/rta/messagebundle_cy.properties +6 -6
- package/src/sap/ui/rta/messagebundle_da.properties +6 -6
- package/src/sap/ui/rta/messagebundle_de.properties +6 -6
- package/src/sap/ui/rta/messagebundle_el.properties +6 -6
- package/src/sap/ui/rta/messagebundle_en.properties +6 -6
- package/src/sap/ui/rta/messagebundle_en_GB.properties +6 -6
- package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +6 -6
- package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +14 -7
- package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +6 -6
- package/src/sap/ui/rta/messagebundle_es.properties +6 -6
- package/src/sap/ui/rta/messagebundle_es_MX.properties +6 -6
- package/src/sap/ui/rta/messagebundle_et.properties +6 -6
- package/src/sap/ui/rta/messagebundle_fi.properties +6 -6
- package/src/sap/ui/rta/messagebundle_fr.properties +6 -6
- package/src/sap/ui/rta/messagebundle_fr_CA.properties +6 -6
- package/src/sap/ui/rta/messagebundle_hi.properties +6 -6
- package/src/sap/ui/rta/messagebundle_hr.properties +6 -6
- package/src/sap/ui/rta/messagebundle_hu.properties +6 -6
- package/src/sap/ui/rta/messagebundle_id.properties +6 -6
- package/src/sap/ui/rta/messagebundle_it.properties +6 -6
- package/src/sap/ui/rta/messagebundle_iw.properties +6 -6
- package/src/sap/ui/rta/messagebundle_ja.properties +6 -6
- package/src/sap/ui/rta/messagebundle_kk.properties +6 -6
- package/src/sap/ui/rta/messagebundle_ko.properties +6 -6
- package/src/sap/ui/rta/messagebundle_lt.properties +6 -6
- package/src/sap/ui/rta/messagebundle_lv.properties +6 -6
- package/src/sap/ui/rta/messagebundle_ms.properties +6 -6
- package/src/sap/ui/rta/messagebundle_nl.properties +6 -6
- package/src/sap/ui/rta/messagebundle_no.properties +6 -6
- package/src/sap/ui/rta/messagebundle_pl.properties +6 -6
- package/src/sap/ui/rta/messagebundle_pt.properties +6 -6
- package/src/sap/ui/rta/messagebundle_pt_PT.properties +6 -6
- package/src/sap/ui/rta/messagebundle_ro.properties +6 -6
- package/src/sap/ui/rta/messagebundle_ru.properties +6 -6
- package/src/sap/ui/rta/messagebundle_sh.properties +6 -6
- package/src/sap/ui/rta/messagebundle_sk.properties +6 -6
- package/src/sap/ui/rta/messagebundle_sl.properties +6 -6
- package/src/sap/ui/rta/messagebundle_sv.properties +6 -6
- package/src/sap/ui/rta/messagebundle_th.properties +6 -6
- package/src/sap/ui/rta/messagebundle_tr.properties +6 -6
- package/src/sap/ui/rta/messagebundle_uk.properties +6 -6
- package/src/sap/ui/rta/messagebundle_vi.properties +6 -6
- package/src/sap/ui/rta/messagebundle_zh_CN.properties +6 -6
- package/src/sap/ui/rta/messagebundle_zh_TW.properties +6 -6
- 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/CompVariant.js +1 -2
- package/src/sap/ui/rta/plugin/ControlVariant.js +10 -5
- 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/EasyAdd.js +1 -1
- package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
- package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
- package/src/sap/ui/rta/plugin/Plugin.js +1 -1
- 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 +1 -1
- package/src/sap/ui/rta/plugin/Selection.js +1 -1
- package/src/sap/ui/rta/plugin/Settings.js +1 -1
- 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 +74 -0
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +97 -260
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +29 -16
- 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 +8 -5
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +31 -29
- package/src/sap/ui/rta/service/Action.js +1 -1
- package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
- package/src/sap/ui/rta/service/Outline.js +1 -1
- package/src/sap/ui/rta/service/Property.js +1 -1
- package/src/sap/ui/rta/service/Selection.js +1 -1
- package/src/sap/ui/rta/{assets/InPageStyles.css → themes/base/OverlayWithScrollbar.less} +14 -12
- package/src/sap/ui/rta/themes/base/Toolbar.base.less +12 -1
- package/src/sap/ui/rta/themes/base/library.source.less +3 -1
- package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +26 -14
- package/src/sap/ui/rta/toolbar/Adaptation.js +3 -3
- 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/Personalization.js +1 -1
- package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
- package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
- package/src/sap/ui/rta/util/PluginManager.js +2 -4
- package/src/sap/ui/rta/util/PopupManager.js +1 -1
- package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
- package/src/sap/ui/rta/util/adaptationStarter.js +3 -3
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +52 -79
- package/ui5.yaml +4 -1
- package/src/sap/ui/rta/util/changeVisualization/ChangesListPopover.fragment.xml +0 -23
|
@@ -113,7 +113,7 @@ sap.ui.define([
|
|
|
113
113
|
* @class Context - Dialog for IFrame settings in Runtime Authoring
|
|
114
114
|
* @extends sap.ui.base.ManagedObject
|
|
115
115
|
* @author SAP SE
|
|
116
|
-
* @version 1.
|
|
116
|
+
* @version 1.96.3
|
|
117
117
|
* @constructor
|
|
118
118
|
* @private
|
|
119
119
|
* @since 1.78
|
|
@@ -206,37 +206,39 @@ sap.ui.define([
|
|
|
206
206
|
* Helper to extract current context URL parameters for the URL builder
|
|
207
207
|
*
|
|
208
208
|
* @param {sap.ui.base.ManagedObject} oObject - Managed object to extract the context from
|
|
209
|
-
* @return {object[]}
|
|
209
|
+
* @return {Promise<object[]>} Resolving to parameters array for URL builder exposed by the Add IFrame dialog
|
|
210
210
|
*/
|
|
211
211
|
AddIFrameDialog.buildUrlBuilderParametersFor = function(oObject) {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
212
|
+
return getContainerUserInfo()
|
|
213
|
+
.then(function(oUserInfo) {
|
|
214
|
+
var oUserParameters = Object.keys(oUserInfo)
|
|
215
|
+
.map(function(sUserSetting) {
|
|
216
|
+
return {
|
|
217
|
+
label: sUserSetting,
|
|
218
|
+
key: "{$user>/" + sUserSetting + "}",
|
|
219
|
+
value: oUserInfo[sUserSetting]
|
|
220
|
+
};
|
|
221
|
+
});
|
|
222
|
+
var oBindingContext = oObject.getBindingContext();
|
|
223
|
+
var oDefaultBoundObjectParameters;
|
|
224
|
+
if (oBindingContext) {
|
|
225
|
+
var oDefaultBoundObject = oBindingContext.getObject();
|
|
226
|
+
oDefaultBoundObjectParameters = Object.keys(oDefaultBoundObject)
|
|
227
|
+
.filter(function(sProperty) {
|
|
228
|
+
return typeof oDefaultBoundObject[sProperty] !== "object";
|
|
229
|
+
})
|
|
230
|
+
.map(function(sProperty) {
|
|
231
|
+
return {
|
|
232
|
+
label: sProperty,
|
|
233
|
+
key: "{" + sProperty + "}",
|
|
234
|
+
value: oDefaultBoundObject[sProperty]
|
|
235
|
+
};
|
|
236
|
+
});
|
|
237
|
+
} else {
|
|
238
|
+
oDefaultBoundObjectParameters = [];
|
|
239
|
+
}
|
|
240
|
+
return oUserParameters.concat(oDefaultBoundObjectParameters);
|
|
220
241
|
});
|
|
221
|
-
var oBindingContext = oObject.getBindingContext();
|
|
222
|
-
var oDefaultBoundObjectParameters;
|
|
223
|
-
if (oBindingContext) {
|
|
224
|
-
var oDefaultBoundObject = oBindingContext.getObject();
|
|
225
|
-
oDefaultBoundObjectParameters = Object.keys(oDefaultBoundObject)
|
|
226
|
-
.filter(function(sProperty) {
|
|
227
|
-
return typeof oDefaultBoundObject[sProperty] !== "object";
|
|
228
|
-
})
|
|
229
|
-
.map(function(sProperty) {
|
|
230
|
-
return {
|
|
231
|
-
label: sProperty,
|
|
232
|
-
key: "{" + sProperty + "}",
|
|
233
|
-
value: oDefaultBoundObject[sProperty]
|
|
234
|
-
};
|
|
235
|
-
});
|
|
236
|
-
} else {
|
|
237
|
-
oDefaultBoundObjectParameters = [];
|
|
238
|
-
}
|
|
239
|
-
return oUserParameters.concat(oDefaultBoundObjectParameters);
|
|
240
242
|
};
|
|
241
243
|
|
|
242
244
|
return AddIFrameDialog;
|
|
@@ -1,34 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
1
|
+
@_sap_ui_rta_OverlayWithScrollbar_scrollWidth: var(--sap-ui-rta-scrollbar-scrollWidth);
|
|
2
|
+
@_sap_ui_rta_OverlayWithScrollbar_scrollWidthPlusTwo: var(--sap-ui-rta-scrollbar-scrollWidthPlusTwo);
|
|
4
3
|
|
|
5
4
|
.sapUiRta .sapUiDtOverlaySelected.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarVertical:after {
|
|
6
|
-
|
|
5
|
+
inset-inline-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidth !important;
|
|
7
6
|
}
|
|
8
7
|
|
|
9
8
|
.sapUiRta .sapUiDtOverlaySelected.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarHorizontal:after {
|
|
10
|
-
|
|
9
|
+
inset-block-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidth !important;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
.sapUiRta .sapUiDtOverlaySelected.sapUiDtOverlayFocusable.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarVertical:focus:before {
|
|
14
|
-
|
|
13
|
+
inset-inline-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidthPlusTwo !important;
|
|
15
14
|
}
|
|
15
|
+
|
|
16
16
|
.sapUiRta .sapUiDtOverlaySelected.sapUiDtOverlayFocusable.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarHorizontal:focus:before {
|
|
17
|
-
|
|
17
|
+
inset-block-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidthPlusTwo !important;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.sapUiRta .sapUiDtOverlaySelected.sapUiDtOverlayFocusable.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarVertical:focus:before {
|
|
21
|
-
|
|
21
|
+
inset-inline-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidthPlusTwo !important;
|
|
22
22
|
}
|
|
23
|
+
|
|
23
24
|
.sapUiRta .sapUiDtOverlaySelected.sapUiDtOverlayFocusable.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarHorizontal:focus:before {
|
|
24
|
-
|
|
25
|
+
inset-block-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidthPlusTwo !important;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
.sapUiRta .sapUiDtOverlayFocusable.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarHorizontal:focus:before,
|
|
28
29
|
.sapUiRta .sapUiRtaOverlayHover.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarHorizontal:after {
|
|
29
|
-
|
|
30
|
+
inset-block-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidth !important;
|
|
30
31
|
}
|
|
32
|
+
|
|
31
33
|
.sapUiRta .sapUiDtOverlayFocusable.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarVertical:focus:before,
|
|
32
34
|
.sapUiRta .sapUiRtaOverlayHover.sapUiDtOverlayWithScrollBar.sapUiDtOverlayWithScrollBarVertical:after {
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
+
inset-inline-end: @_sap_ui_rta_OverlayWithScrollbar_scrollWidth !important;
|
|
36
|
+
}
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
@_sap_ui_rta_Toolbar_Base_SegBBtnHoverBG: lighten(@sapSelectedColor,32%); //#c2e2f9
|
|
5
5
|
@_sap_ui_rta_Toolbar_Base_TextColor: @sapUiWhite; //#fff
|
|
6
6
|
@_sap_ui_rta_Toolbar_Base_BaseColor: darken(desaturate(@sapChart_OrderedColor_1, 48%), 14%); //#435060
|
|
7
|
+
@_sap_ui_rta_Toolbar_Base_BorderColor: @sapUiMediumBG;
|
|
8
|
+
@_sap_ui_rta_Toolbar_Base_BtnHoverColor: @sapUiButtonHoverTextColor;
|
|
7
9
|
|
|
8
10
|
.sapUiRtaMode {
|
|
9
11
|
|
|
@@ -28,10 +30,16 @@
|
|
|
28
30
|
|
|
29
31
|
.sapMBtnTransparent,
|
|
30
32
|
:not(.sapMBtnDisabled) .sapMBtnTransparent > .sapMBtnIcon,
|
|
31
|
-
:not(.sapMBtnDisabled) .sapMBtnGhost > .sapMBtnIcon
|
|
33
|
+
:not(.sapMBtnDisabled) .sapMBtnGhost > .sapMBtnIcon,
|
|
34
|
+
:not(.sapMBtnDisabled) .sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner::after {
|
|
32
35
|
color: @_sap_ui_rta_Toolbar_Base_TextColor;
|
|
33
36
|
}
|
|
34
37
|
|
|
38
|
+
:not(.sapMBtnDisabled) .sapMMenuBtn:hover.sapMMenuBtnRegular .sapMBtnInner::after {
|
|
39
|
+
color: @_sap_ui_rta_Toolbar_Base_BtnHoverColor;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
35
43
|
.sapMSegB > .sapMSegBBtn .sapMSegBBtnInner {
|
|
36
44
|
background-color: @_sap_ui_rta_Toolbar_Base_BaseColor;
|
|
37
45
|
color: @_sap_ui_rta_Toolbar_Base_TextColor;
|
|
@@ -110,6 +118,9 @@
|
|
|
110
118
|
}
|
|
111
119
|
}
|
|
112
120
|
}
|
|
121
|
+
.sapUiRtaToolbarVisualizationSelection li:first-child {
|
|
122
|
+
border-bottom: 1px solid @_sap_ui_rta_Toolbar_Base_BorderColor;
|
|
123
|
+
}
|
|
113
124
|
}
|
|
114
125
|
.sapUiSizeCozy {
|
|
115
126
|
.sapUiRtaToolbar {
|
|
@@ -99,12 +99,36 @@
|
|
|
99
99
|
<OverflowToolbarLayoutData priority="Low" />
|
|
100
100
|
</toolbar:layoutData>
|
|
101
101
|
</toolbar:OverflowToolbarButton>
|
|
102
|
+
<MenuButton
|
|
103
|
+
id="sapUiRta_toggleChangeVisualizationMenuButton"
|
|
104
|
+
visible="{= ${controls>/modeSwitcher} === 'visualization'}"
|
|
105
|
+
text="{visualizationModel>/commandCategoryText}"
|
|
106
|
+
type="Transparent"
|
|
107
|
+
tooltip="{i18n>BUT_CHANGEVISUALIZATION_SELECTCHANGES}">
|
|
108
|
+
<menu>
|
|
109
|
+
<Menu
|
|
110
|
+
id="sapUiRta_changesList"
|
|
111
|
+
items="{visualizationModel>/commandCategories/}"
|
|
112
|
+
itemSelected=".onCommandCategorySelection"
|
|
113
|
+
class="sapUiRtaToolbarVisualizationSelection">
|
|
114
|
+
<MenuItem
|
|
115
|
+
id="sapUiRta_changesListItem"
|
|
116
|
+
text="{visualizationModel>title}"
|
|
117
|
+
key="{visualizationModel>key}"
|
|
118
|
+
icon="{visualizationModel>icon}"
|
|
119
|
+
enabled="{= ${visualizationModel>count} > 0}"/>
|
|
120
|
+
</Menu>
|
|
121
|
+
</menu>
|
|
122
|
+
<layoutData>
|
|
123
|
+
<OverflowToolbarLayoutData priority="NeverOverflow" />
|
|
124
|
+
</layoutData>
|
|
125
|
+
</MenuButton>
|
|
102
126
|
<Button
|
|
103
127
|
id="sapUiRta_undo"
|
|
104
128
|
icon="sap-icon://undo"
|
|
105
129
|
press=".undo"
|
|
106
130
|
enabled="{controls>/undoEnabled}"
|
|
107
|
-
visible="{=
|
|
131
|
+
visible="{= ${controls>/modeSwitcher} === 'adaptation'}"
|
|
108
132
|
type="Transparent"
|
|
109
133
|
tooltip="{i18n>BTN_UNDO}" >
|
|
110
134
|
<layoutData>
|
|
@@ -116,25 +140,13 @@
|
|
|
116
140
|
icon="sap-icon://redo"
|
|
117
141
|
press=".redo"
|
|
118
142
|
enabled="{controls>/redoEnabled}"
|
|
119
|
-
visible="{=
|
|
143
|
+
visible="{= ${controls>/modeSwitcher} === 'adaptation'}"
|
|
120
144
|
type="Transparent"
|
|
121
145
|
tooltip="{i18n>BTN_REDO}" >
|
|
122
146
|
<layoutData>
|
|
123
147
|
<OverflowToolbarLayoutData priority="NeverOverflow" />
|
|
124
148
|
</layoutData>
|
|
125
149
|
</Button>
|
|
126
|
-
<toolbar:OverflowToolbarButton
|
|
127
|
-
id="sapUiRta_toggleChangeVisualizationPopoverButton"
|
|
128
|
-
icon="sap-icon://show"
|
|
129
|
-
press=".toggleChangeVisualizationPopover"
|
|
130
|
-
visible="{= ${controls>/modeSwitcher} === 'visualization'}"
|
|
131
|
-
type="Transparent"
|
|
132
|
-
text="{i18n>BTN_CHANGEVISUALIZATION_OVERVIEW_ALL}"
|
|
133
|
-
tooltip="{i18n>BUT_CHANGEVISUALIZATION_SELECTCHANGES}">
|
|
134
|
-
<toolbar:layoutData>
|
|
135
|
-
<OverflowToolbarLayoutData priority="Low" />
|
|
136
|
-
</toolbar:layoutData>
|
|
137
|
-
</toolbar:OverflowToolbarButton>
|
|
138
150
|
<toolbar:OverflowToolbarButton
|
|
139
151
|
id="sapUiRta_publish"
|
|
140
152
|
enabled="{controls>/publishEnabled}"
|
|
@@ -39,7 +39,7 @@ function(
|
|
|
39
39
|
* @extends sap.ui.rta.toolbar.Base
|
|
40
40
|
*
|
|
41
41
|
* @author SAP SE
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.96.3
|
|
43
43
|
*
|
|
44
44
|
* @constructor
|
|
45
45
|
* @private
|
|
@@ -65,7 +65,7 @@ function(
|
|
|
65
65
|
activate: {},
|
|
66
66
|
discardDraft: {},
|
|
67
67
|
switchVersion: {},
|
|
68
|
-
|
|
68
|
+
onCommandCategorySelection: {}
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
});
|
|
@@ -335,7 +335,7 @@ function(
|
|
|
335
335
|
showTranslationPopover: this.showTranslationPopover.bind(this),
|
|
336
336
|
undo: this.eventHandler.bind(this, "Undo"),
|
|
337
337
|
redo: this.eventHandler.bind(this, "Redo"),
|
|
338
|
-
|
|
338
|
+
onCommandCategorySelection: this.eventHandler.bind(this, "OnCommandCategorySelection"),
|
|
339
339
|
manageApps: onManageAppsPressed.bind(this),
|
|
340
340
|
appVariantOverview: onOverviewPressed.bind(this),
|
|
341
341
|
saveAs: onSaveAsPressed.bind(this),
|
|
@@ -66,7 +66,7 @@ sap.ui.define([
|
|
|
66
66
|
* Constructor for a new sap.ui.rta.util.PluginManager
|
|
67
67
|
* @extends sap.ui.base.ManagedObject
|
|
68
68
|
* @author SAP SE
|
|
69
|
-
* @version 1.
|
|
69
|
+
* @version 1.96.3
|
|
70
70
|
* @constructor
|
|
71
71
|
* @private
|
|
72
72
|
* @since 1.86
|
|
@@ -153,9 +153,7 @@ sap.ui.define([
|
|
|
153
153
|
});
|
|
154
154
|
|
|
155
155
|
this._mDefaultPlugins["additionalElements"] = new AdditionalElementsPlugin({
|
|
156
|
-
commandFactory: this._oCommandFactory
|
|
157
|
-
analyzer: AdditionalElementsAnalyzer,
|
|
158
|
-
dialog: new AdditionalElementsDialog()
|
|
156
|
+
commandFactory: this._oCommandFactory
|
|
159
157
|
});
|
|
160
158
|
|
|
161
159
|
this._mDefaultPlugins["createContainer"] = new CreateContainerPlugin({
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/ui/rta/RuntimeAuthoring",
|
|
8
|
-
"sap/ui/core/
|
|
8
|
+
"sap/ui/core/Control",
|
|
9
9
|
"sap/ui/fl/Utils",
|
|
10
10
|
"sap/ui/fl/Layer",
|
|
11
11
|
"sap/ui/fl/write/api/FeaturesAPI",
|
|
@@ -13,7 +13,7 @@ sap.ui.define([
|
|
|
13
13
|
"sap/base/Log"
|
|
14
14
|
], function(
|
|
15
15
|
RuntimeAuthoring,
|
|
16
|
-
|
|
16
|
+
Control,
|
|
17
17
|
FlexUtils,
|
|
18
18
|
Layer,
|
|
19
19
|
FeaturesAPI,
|
|
@@ -47,7 +47,7 @@ sap.ui.define([
|
|
|
47
47
|
* @private
|
|
48
48
|
*/
|
|
49
49
|
function adaptationStarter(mOptions, loadPlugins, onStart, onFailed, onStop) {
|
|
50
|
-
if (!(mOptions.rootControl instanceof
|
|
50
|
+
if (!(mOptions.rootControl instanceof Control) && !(mOptions.rootControl instanceof UIComponent)) {
|
|
51
51
|
return Promise.reject(new Error("An invalid root control was passed"));
|
|
52
52
|
}
|
|
53
53
|
|