@openui5/sap.ui.rta 1.127.0 → 1.128.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/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 +1 -1
- 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/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 +1 -1
- 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 +5 -1
- 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 +1 -1
- 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 +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/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 +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 +4 -2
- package/src/sap/ui/rta/messagebundle_ar.properties +3 -2
- package/src/sap/ui/rta/messagebundle_bg.properties +3 -2
- package/src/sap/ui/rta/messagebundle_ca.properties +3 -2
- package/src/sap/ui/rta/messagebundle_cnr.properties +3 -2
- package/src/sap/ui/rta/messagebundle_cs.properties +3 -2
- package/src/sap/ui/rta/messagebundle_cy.properties +4 -3
- package/src/sap/ui/rta/messagebundle_da.properties +3 -2
- package/src/sap/ui/rta/messagebundle_de.properties +3 -2
- package/src/sap/ui/rta/messagebundle_el.properties +3 -2
- package/src/sap/ui/rta/messagebundle_en.properties +3 -2
- package/src/sap/ui/rta/messagebundle_en_GB.properties +3 -2
- package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +12 -2
- package/src/sap/ui/rta/messagebundle_es.properties +3 -2
- package/src/sap/ui/rta/messagebundle_es_MX.properties +3 -2
- package/src/sap/ui/rta/messagebundle_et.properties +3 -2
- package/src/sap/ui/rta/messagebundle_fi.properties +3 -2
- package/src/sap/ui/rta/messagebundle_fr.properties +3 -2
- package/src/sap/ui/rta/messagebundle_fr_CA.properties +3 -2
- package/src/sap/ui/rta/messagebundle_hi.properties +3 -2
- package/src/sap/ui/rta/messagebundle_hr.properties +3 -2
- package/src/sap/ui/rta/messagebundle_hu.properties +4 -3
- package/src/sap/ui/rta/messagebundle_id.properties +3 -2
- package/src/sap/ui/rta/messagebundle_it.properties +3 -2
- package/src/sap/ui/rta/messagebundle_iw.properties +3 -2
- package/src/sap/ui/rta/messagebundle_ja.properties +3 -2
- package/src/sap/ui/rta/messagebundle_kk.properties +3 -2
- package/src/sap/ui/rta/messagebundle_ko.properties +4 -3
- package/src/sap/ui/rta/messagebundle_lt.properties +3 -2
- package/src/sap/ui/rta/messagebundle_lv.properties +3 -2
- package/src/sap/ui/rta/messagebundle_mk.properties +3 -2
- package/src/sap/ui/rta/messagebundle_ms.properties +3 -2
- package/src/sap/ui/rta/messagebundle_nl.properties +3 -2
- package/src/sap/ui/rta/messagebundle_no.properties +3 -2
- package/src/sap/ui/rta/messagebundle_pl.properties +3 -2
- package/src/sap/ui/rta/messagebundle_pt.properties +3 -2
- package/src/sap/ui/rta/messagebundle_pt_PT.properties +3 -2
- package/src/sap/ui/rta/messagebundle_ro.properties +3 -2
- package/src/sap/ui/rta/messagebundle_ru.properties +3 -2
- package/src/sap/ui/rta/messagebundle_sh.properties +3 -2
- package/src/sap/ui/rta/messagebundle_sk.properties +3 -2
- package/src/sap/ui/rta/messagebundle_sl.properties +3 -2
- package/src/sap/ui/rta/messagebundle_sr.properties +3 -2
- package/src/sap/ui/rta/messagebundle_sv.properties +3 -2
- package/src/sap/ui/rta/messagebundle_th.properties +3 -2
- package/src/sap/ui/rta/messagebundle_tr.properties +3 -2
- package/src/sap/ui/rta/messagebundle_uk.properties +4 -3
- package/src/sap/ui/rta/messagebundle_vi.properties +3 -2
- package/src/sap/ui/rta/messagebundle_zh_CN.properties +3 -2
- package/src/sap/ui/rta/messagebundle_zh_TW.properties +3 -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 +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 +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.js +1 -1
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +1 -1
- 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 +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +21 -6
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +2 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +3 -1
- 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/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/library.source.less +9 -11
- package/src/sap/ui/rta/toolbar/Adaptation.js +1 -1
- 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/SaveAsAdaptation.js +1 -1
- package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
- package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
- package/src/sap/ui/rta/util/PluginManager.js +1 -1
- 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 +1 -1
- 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 +2 -1
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
* Provides Rename handling functionality
|
|
44
44
|
*
|
|
45
45
|
* @author SAP SE
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.128.0
|
|
47
47
|
*
|
|
48
48
|
* @constructor
|
|
49
49
|
* @private
|
|
@@ -234,7 +234,6 @@ sap.ui.define([
|
|
|
234
234
|
jQuery(_oWrapperDomRef).offset({left: DOMUtil.getOffset(this._oEditableControlDomRef).left});
|
|
235
235
|
RenameHandler._setEditableFieldPosition.apply(this);
|
|
236
236
|
this._oEditableField.style.visibility = "";
|
|
237
|
-
this._oEditableField.focus();
|
|
238
237
|
|
|
239
238
|
// If scrolling happens during startEdit, the position of the editable field can be wrong
|
|
240
239
|
// To avoid this, the position is recalculated after the scrollbar synchronization is ready
|
|
@@ -243,6 +242,10 @@ sap.ui.define([
|
|
|
243
242
|
oOverlayWithScrollbar.attachScrollSynced(RenameHandler._setEditableFieldPosition, this);
|
|
244
243
|
}.bind(this));
|
|
245
244
|
|
|
245
|
+
// The focus can trigger an immediate blur event (e.g. when the "discard draft" pop-up is opened),
|
|
246
|
+
// therefore the entire editable field preparation has to be finalized before the focus is set.
|
|
247
|
+
this._oEditableField.focus();
|
|
248
|
+
|
|
246
249
|
// keep Overlay selected while renaming
|
|
247
250
|
mPropertyBag.overlay.setSelected(true);
|
|
248
251
|
EventBus.getInstance().publish("sap.ui.rta", mPropertyBag.pluginMethodName, {
|
|
@@ -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.
|
|
34
|
+
* @version 1.128.0
|
|
35
35
|
* @constructor
|
|
36
36
|
* @private
|
|
37
37
|
* @since 1.34
|
|
@@ -5,15 +5,18 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"sap/
|
|
9
|
-
"sap/ui/rta/Utils",
|
|
8
|
+
"sap/base/Log",
|
|
10
9
|
"sap/ui/dt/Util",
|
|
11
|
-
"sap/
|
|
10
|
+
"sap/ui/fl/Utils",
|
|
11
|
+
"sap/ui/rta/plugin/Plugin",
|
|
12
|
+
"sap/ui/rta/Utils"
|
|
13
|
+
|
|
12
14
|
], function(
|
|
13
|
-
|
|
14
|
-
Utils,
|
|
15
|
+
BaseLog,
|
|
15
16
|
DtUtil,
|
|
16
|
-
|
|
17
|
+
FlUtils,
|
|
18
|
+
Plugin,
|
|
19
|
+
Utils
|
|
17
20
|
) {
|
|
18
21
|
"use strict";
|
|
19
22
|
|
|
@@ -25,7 +28,7 @@ sap.ui.define([
|
|
|
25
28
|
* @class The Settings allows trigger change of settings operations on the overlay
|
|
26
29
|
* @extends sap.ui.rta.plugin.Plugin
|
|
27
30
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
31
|
+
* @version 1.128.0
|
|
29
32
|
* @constructor
|
|
30
33
|
* @private
|
|
31
34
|
* @since 1.44
|
|
@@ -166,6 +169,22 @@ sap.ui.define([
|
|
|
166
169
|
});
|
|
167
170
|
};
|
|
168
171
|
|
|
172
|
+
Settings.prototype._handleAnnotationChangeCommand = function(mChange, oElement, oCompositeCommand) {
|
|
173
|
+
var mChangeSpecificData = mChange.changeSpecificData;
|
|
174
|
+
|
|
175
|
+
return this.getCommandFactory().getCommandFor(
|
|
176
|
+
oElement,
|
|
177
|
+
"annotation",
|
|
178
|
+
{
|
|
179
|
+
content: mChangeSpecificData.content,
|
|
180
|
+
changeType: mChangeSpecificData.annotationChangeType
|
|
181
|
+
}
|
|
182
|
+
)
|
|
183
|
+
.then(function(oAnnotationCommand) {
|
|
184
|
+
return oCompositeCommand.addCommand(oAnnotationCommand);
|
|
185
|
+
});
|
|
186
|
+
};
|
|
187
|
+
|
|
169
188
|
Settings.prototype._handleCompositeCommand = function(aElementOverlays, oElement, aChanges, oSettingsAction) {
|
|
170
189
|
var oCompositeCommand;
|
|
171
190
|
|
|
@@ -180,17 +199,22 @@ sap.ui.define([
|
|
|
180
199
|
var mChangeSpecificData = mChange.changeSpecificData;
|
|
181
200
|
// Flex Change
|
|
182
201
|
if (mChangeSpecificData.changeType) {
|
|
183
|
-
return this._handleFlexChangeCommand(mChange, aElementOverlays, oCompositeCommand, oSettingsAction);
|
|
202
|
+
return () => this._handleFlexChangeCommand(mChange, aElementOverlays, oCompositeCommand, oSettingsAction);
|
|
184
203
|
// App Descriptor Change
|
|
185
204
|
} else if (mChangeSpecificData.appDescriptorChangeType) {
|
|
186
|
-
return this._handleAppDescriptorChangeCommand(mChange, oElement, oCompositeCommand);
|
|
205
|
+
return () => this._handleAppDescriptorChangeCommand(mChange, oElement, oCompositeCommand);
|
|
206
|
+
// Annotation Change
|
|
207
|
+
} else if (mChangeSpecificData.annotationChangeType) {
|
|
208
|
+
return () => this._handleAnnotationChangeCommand(mChange, oElement, oCompositeCommand);
|
|
187
209
|
}
|
|
188
210
|
return undefined;
|
|
189
211
|
}, this);
|
|
190
212
|
}.bind(this))
|
|
191
213
|
|
|
192
214
|
.then(function(aPromises) {
|
|
193
|
-
|
|
215
|
+
// Since oCompositeCommand gets modified by each handler, the promise execution must be sequential
|
|
216
|
+
// to ensure the correct order of the commands
|
|
217
|
+
return FlUtils.execPromiseQueueSequentially(aPromises);
|
|
194
218
|
})
|
|
195
219
|
|
|
196
220
|
.then(function() {
|
|
@@ -119,7 +119,7 @@ sap.ui.define([
|
|
|
119
119
|
* @class The plugin allows to add additional elements that exist either hidden in the UI or in the OData service
|
|
120
120
|
* @extends sap.ui.rta.plugin.Plugin
|
|
121
121
|
* @author SAP SE
|
|
122
|
-
* @version 1.
|
|
122
|
+
* @version 1.128.0
|
|
123
123
|
* @constructor
|
|
124
124
|
* @private
|
|
125
125
|
* @since 1.44
|
|
@@ -119,7 +119,7 @@ sap.ui.define([
|
|
|
119
119
|
* @class The AddIFrame allows trigger AddIFrame operations on the overlay.
|
|
120
120
|
* @extends sap.ui.rta.plugin.BaseCreate
|
|
121
121
|
* @author SAP SE
|
|
122
|
-
* @version 1.
|
|
122
|
+
* @version 1.128.0
|
|
123
123
|
* @constructor
|
|
124
124
|
* @private
|
|
125
125
|
* @since 1.75
|
|
@@ -63,9 +63,13 @@
|
|
|
63
63
|
<Label id="sapUiRtaAddIFrameDialog_WidthLabel" class="sapUiRtaAddIFrameDialogWidthLabel" labelFor="sapUiRtaAddIFrameDialog_WidthInput"
|
|
64
64
|
text="{dialogInfo>/text/widthLabel}">
|
|
65
65
|
</Label>
|
|
66
|
-
<Input
|
|
66
|
+
<Input
|
|
67
|
+
id="sapUiRtaAddIFrameDialog_WidthInput"
|
|
68
|
+
class="sapUiRtaAddIFrameDialogWidthInput"
|
|
67
69
|
value="{path: 'dialogInfo>/frameWidth/value', type: 'FloatType', constraints: {minimum: 1}}"
|
|
68
|
-
valueState="{dialogInfo>/frameWidth/valueState}"
|
|
70
|
+
valueState="{dialogInfo>/frameWidth/valueState}"
|
|
71
|
+
valueStateText="{dialogInfo>/text/dimensionsErrorText}"
|
|
72
|
+
/>
|
|
69
73
|
<Select
|
|
70
74
|
id="sapUiRtaAddIFrameDialog_WidthUnit"
|
|
71
75
|
class="sapUiRtaAddIFrameDialogWidthUnit"
|
|
@@ -89,9 +93,13 @@
|
|
|
89
93
|
<form:content>
|
|
90
94
|
<Label id="sapUiRtaAddIFrameDialog_HeightLabel" class="sapUiRtaAddIFrameDialogHeightLabel" labelFor="sapUiRtaAddIFrameDialog_HeightInput"
|
|
91
95
|
text="{dialogInfo>/text/heightLabel}"/>
|
|
92
|
-
<Input
|
|
96
|
+
<Input
|
|
97
|
+
id="sapUiRtaAddIFrameDialog_HeightInput"
|
|
98
|
+
class="sapUiRtaAddIFrameDialogHeightInput"
|
|
93
99
|
value="{path: 'dialogInfo>/frameHeight/value', type: 'FloatType', constraints: {minimum: 1}}"
|
|
94
|
-
valueState="{dialogInfo>/frameHeight/valueState}"
|
|
100
|
+
valueState="{dialogInfo>/frameHeight/valueState}"
|
|
101
|
+
valueStateText="{dialogInfo>/text/dimensionsErrorText}"
|
|
102
|
+
/>
|
|
95
103
|
<Select
|
|
96
104
|
id="sapUiRtaAddIFrameDialog_HeightUnit"
|
|
97
105
|
class="sapUiRtaAddIFrameDialogHeightUnit"
|
|
@@ -152,8 +160,15 @@
|
|
|
152
160
|
<items>
|
|
153
161
|
<ColumnListItem type="Active" press="onParameterPress">
|
|
154
162
|
<cells>
|
|
155
|
-
<Text
|
|
156
|
-
|
|
163
|
+
<Text
|
|
164
|
+
text="{dialogInfo>label}"
|
|
165
|
+
tooltip="{dialogInfo>label}"
|
|
166
|
+
/>
|
|
167
|
+
<Text
|
|
168
|
+
text="{dialogInfo>value}"
|
|
169
|
+
tooltip="{=${dialogInfo>value}.toString()}"
|
|
170
|
+
wrapping="false"
|
|
171
|
+
/>
|
|
157
172
|
</cells>
|
|
158
173
|
</ColumnListItem>
|
|
159
174
|
</items>
|
|
@@ -42,6 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
widthUnitLabel: _oTextResources.getText("IFRAME_ADDIFRAME_DIALOG_WIDTH_UNITLABEL"),
|
|
43
43
|
heightLabel: _oTextResources.getText("IFRAME_ADDIFRAME_DIALOG_HEIGHT_LABEL"),
|
|
44
44
|
heightUnitLabel: _oTextResources.getText("IFRAME_ADDIFRAME_DIALOG_HEIGHT_UNITLABEL"),
|
|
45
|
+
dimensionsErrorText: _oTextResources.getText("IFRAME_ADDIFRAME_DIALOG_DIMENSIONS_ERROR"),
|
|
45
46
|
saveText: _oTextResources.getText("IFRAME_ADDIFRAME_DIALOG_BUTTON_SAVE"),
|
|
46
47
|
cancelText: _oTextResources.getText("IFRAME_ADDIFRAME_DIALOG_BUTTON_CANCEL"),
|
|
47
48
|
previewUrlLabel: _oTextResources.getText("IFRAME_ADDIFRAME_DIALOG_PREVIEW_URL_LABEL"),
|
|
@@ -158,7 +159,7 @@ sap.ui.define([
|
|
|
158
159
|
* @class Context - Dialog for IFrame settings in Runtime Authoring
|
|
159
160
|
* @extends sap.ui.base.ManagedObject
|
|
160
161
|
* @author SAP SE
|
|
161
|
-
* @version 1.
|
|
162
|
+
* @version 1.128.0
|
|
162
163
|
* @constructor
|
|
163
164
|
* @private
|
|
164
165
|
* @since 1.78
|
|
@@ -136,6 +136,7 @@ sap.ui.define([
|
|
|
136
136
|
onShowPreview() {
|
|
137
137
|
const sReturnedURL = this._buildReturnedURL();
|
|
138
138
|
const sURL = this._buildPreviewURL();
|
|
139
|
+
|
|
139
140
|
if (!isValidUrl(sURL).result) {
|
|
140
141
|
return;
|
|
141
142
|
}
|
|
@@ -150,11 +151,12 @@ sap.ui.define([
|
|
|
150
151
|
oPanelButton.setEnabled(false);
|
|
151
152
|
}
|
|
152
153
|
try {
|
|
153
|
-
this._oJSONModel.setProperty("/previewUrl/value", sURL);
|
|
154
154
|
this._oJSONModel.setProperty("/previousFrameUrl/value", sReturnedURL);
|
|
155
155
|
this._oJSONModel.setProperty("/settingsUpdate/value", false);
|
|
156
156
|
|
|
157
157
|
oIFrame.applySettings({ url: sURL, advancedSettings: {...this._oJSONModel.getProperty("/advancedSettings/value")} });
|
|
158
|
+
// Use the URL from the IFrame to ensure that the complete path is shown
|
|
159
|
+
this._oJSONModel.setProperty("/previewUrl/value", oIFrame.getUrl());
|
|
158
160
|
} catch (oError) {
|
|
159
161
|
Log.error("Error previewing the URL: ", oError);
|
|
160
162
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/******************************************************************
|
|
2
2
|
Style of the RTA Add IFrame Dialog - base Theme
|
|
3
3
|
*******************************************************************/
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@_sap_ui_rta_AddIFrame_PreviewBG: @sapUiListTableGroupHeaderBackground; //#f2f2f2
|
|
4
|
+
@_sap_ui_rta_AddIFrame_BorderColor: @sapUiGroupContentBorderColor; //#000;
|
|
5
|
+
@_sap_ui_rta_AddIFrame_PreviewBackgroundColor: @sapUiContentImagePlaceholderBackground; //#fff
|
|
6
|
+
@_sap_ui_rta_AddIFrame_PreviewTextColor: @sapUiContentForegroundTextColor; //#000
|
|
8
7
|
|
|
9
8
|
.sapUiRtaMode {
|
|
10
9
|
.sapUiRtaAddIFrameDialog {
|
|
@@ -16,10 +15,6 @@
|
|
|
16
15
|
&:focus::after {
|
|
17
16
|
content: none;
|
|
18
17
|
}
|
|
19
|
-
|
|
20
|
-
.sapMTitle {
|
|
21
|
-
color: @_sap_ui_rta_AddIFrame_Title;
|
|
22
|
-
}
|
|
23
18
|
}
|
|
24
19
|
|
|
25
20
|
.sapUiRtaAddIFrameDialogVlWrapper {
|
|
@@ -48,7 +43,7 @@
|
|
|
48
43
|
.sapUiRtaAddIFrameDialogPercentGrid {
|
|
49
44
|
padding: 0.25rem 0 0 0;
|
|
50
45
|
margin: 0 1rem;
|
|
51
|
-
border-bottom: 0.0625rem solid @
|
|
46
|
+
border-bottom: 0.0625rem solid @_sap_ui_rta_AddIFrame_BorderColor; //1px
|
|
52
47
|
|
|
53
48
|
> div {
|
|
54
49
|
margin-bottom: 0.25rem;
|
|
@@ -119,7 +114,7 @@
|
|
|
119
114
|
.sapUiRtaAddIFrameDialogPreviewGrid {
|
|
120
115
|
padding: 0;
|
|
121
116
|
margin: 0 1rem 1rem;
|
|
122
|
-
background: @
|
|
117
|
+
background: @_sap_ui_rta_AddIFrame_PreviewBackgroundColor;
|
|
123
118
|
border: 0.0625rem solid @_sap_ui_rta_AddIFrame_BorderColor; //1px
|
|
124
119
|
|
|
125
120
|
> div {
|
|
@@ -130,6 +125,9 @@
|
|
|
130
125
|
.sapUiRtaAddIFrameDialogNoPreviewLabel {
|
|
131
126
|
margin-top: 4rem;
|
|
132
127
|
}
|
|
128
|
+
.sapMLabelTextWrapper {
|
|
129
|
+
color: @_sap_ui_rta_AddIFrame_PreviewTextColor;
|
|
130
|
+
}
|
|
133
131
|
}
|
|
134
132
|
}
|
|
135
133
|
}
|
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
@_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorLight: @sapUiChartPaletteSequentialHue1Light1; //#4880cb
|
|
5
5
|
@_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorMedium: @sapUiChartPaletteSequentialHue1Dark1; //#1b57a7
|
|
6
6
|
@_sap_ui_rta_ChangeVisualization_ChangeIndicatorColorDark: @sapUiChartPaletteSequentialHue11Dark2; //#0e4186
|
|
7
|
-
@_sap_ui_rta_ChangeVisualization_DependentIndicatorColorTransparent: @sapUiGroupTitleBackground; //#fff
|
|
8
7
|
@_sap_ui_rta_ChangeVisualization_OverlayBoxShadow: @sapUiUx3ToolPopupShadow; //0px 6px 12px 0px fade(black, 30);
|
|
9
|
-
@
|
|
8
|
+
@_sap_ui_rta_ChangeVisualization_OverlayOutlineColor: @sapUiSelected; //#8fb5ff
|
|
10
9
|
|
|
11
10
|
.sapUiRtaChangeIndicator {
|
|
12
11
|
height: 0.8rem;
|
|
@@ -55,7 +54,7 @@
|
|
|
55
54
|
content: " ";
|
|
56
55
|
transition: box-shadow .25s;
|
|
57
56
|
box-shadow: @_sap_ui_rta_ChangeVisualization_OverlayBoxShadow;
|
|
58
|
-
outline: 0.0625rem solid @
|
|
57
|
+
outline: 0.0625rem solid @_sap_ui_rta_ChangeVisualization_OverlayOutlineColor !important; //1px
|
|
59
58
|
outline-offset: -0.0625rem; //1px
|
|
60
59
|
}
|
|
61
60
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/******************************************************************
|
|
2
2
|
Style of the RTA Contextmenu - base Theme
|
|
3
3
|
*******************************************************************/
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
4
|
+
@_sap_ui_rta_ContextMenu_BorderLightColor: @sapUiButtonLiteBorderColor; //#fff
|
|
5
|
+
@_sap_ui_rta_ContextMenu_BorderDarkColor: @sapUiButtonAcceptBorderColor; //#006362
|
|
6
|
+
@_sap_ui_rta_ContextMenu_BoxShadowDarkColor: @sapUiDarkShadowTint; // #000
|
|
7
|
+
@_sap_ui_rta_ContextMenu_BoxShadowLightColor: @sapUiLightShadowTint; // #fff
|
|
8
8
|
|
|
9
|
-
@_sap_ui_rta_ContextMenu_BoxShadow: 0.375rem 0.625rem 2rem fade(@
|
|
10
|
-
0.125rem 0.375rem 1rem fade(@
|
|
11
|
-
0 0 0 0.0625rem fade(@
|
|
12
|
-
0 0.0625rem 0 0 fade(@
|
|
9
|
+
@_sap_ui_rta_ContextMenu_BoxShadow: 0.375rem 0.625rem 2rem fade(@_sap_ui_rta_ContextMenu_BoxShadowDarkColor, 30),
|
|
10
|
+
0.125rem 0.375rem 1rem fade(@_sap_ui_rta_ContextMenu_BoxShadowDarkColor, 60),
|
|
11
|
+
0 0 0 0.0625rem fade(@_sap_ui_rta_ContextMenu_BoxShadowLightColor, 20),
|
|
12
|
+
0 0.0625rem 0 0 fade(@_sap_ui_rta_ContextMenu_BoxShadowLightColor, 20); //10px 20px 6px 6px 1px 1px
|
|
13
13
|
|
|
14
14
|
.sapUiRtaMode {
|
|
15
15
|
.sapUiDtContextMenu {
|
|
16
16
|
&.sapMMenu {
|
|
17
|
-
border: 0.125rem solid @
|
|
18
|
-
border-image: repeating-linear-gradient(-45deg, @
|
|
19
|
-
@
|
|
20
|
-
@
|
|
21
|
-
@
|
|
17
|
+
border: 0.125rem solid @_sap_ui_rta_ContextMenu_BorderLightColor; //2px
|
|
18
|
+
border-image: repeating-linear-gradient(-45deg, @_sap_ui_rta_ContextMenu_BorderDarkColor,
|
|
19
|
+
@_sap_ui_rta_ContextMenu_BorderDarkColor 0.25rem,
|
|
20
|
+
@_sap_ui_rta_ContextMenu_BorderLightColor 0.25rem,
|
|
21
|
+
@_sap_ui_rta_ContextMenu_BorderLightColor 0.375rem) 4;
|
|
22
22
|
box-shadow: @_sap_ui_rta_ContextMenu_BoxShadow;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************
|
|
2
2
|
Style of the RTA Dialogs - base Theme
|
|
3
3
|
*******************************************************************/
|
|
4
|
-
@_sap_ui_rta_Dialogs_BorderLightColor: @
|
|
5
|
-
@_sap_ui_rta_Dialogs_BorderDarkColor:
|
|
4
|
+
@_sap_ui_rta_Dialogs_BorderLightColor: @sapUiButtonLiteBorderColor; //#fff
|
|
5
|
+
@_sap_ui_rta_Dialogs_BorderDarkColor: @sapUiButtonAcceptBorderColor; //#006362
|
|
6
6
|
@_sap_ui_rta_Dialogs_BoxShadowDarkColor: @sapUiDarkShadowTint; // #000
|
|
7
7
|
@_sap_ui_rta_Dialogs_BoxShadowLightColor: @sapUiLightShadowTint; // #fff
|
|
8
8
|
|
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
/******************************************************************
|
|
2
2
|
Style of the RTA Add Fields Dialog - base Theme
|
|
3
3
|
*******************************************************************/
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@_sap_ui_rta_FieldRepository_BC_Container_Border: @sapUiGroupContentBorderColor; //#000
|
|
4
|
+
@_sap_ui_rta_FieldRepository_BtnFocusOutlineColor: @sapUiContentFocusColor; //#000
|
|
5
|
+
@_sap_ui_rta_FieldRepository_BC_Container_BorderColor: @sapUiGroupContentBorderColor; //#000
|
|
7
6
|
|
|
8
7
|
.sapUIRtaFieldRepositoryDialog {
|
|
9
8
|
|
|
10
|
-
&.sapMDialog > header .sapMDialogTitleGroup .sapMTitle {
|
|
11
|
-
color: @_sap_ui_rta_FieldRepository_Title;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
9
|
.sapMBtn {
|
|
15
10
|
&:focus {
|
|
16
11
|
> .sapMBtnInner {
|
|
17
|
-
outline: 0.0625rem dotted @
|
|
12
|
+
outline: 0.0625rem dotted @_sap_ui_rta_FieldRepository_BtnFocusOutlineColor; //1px
|
|
18
13
|
border: 0.0625rem solid transparent;
|
|
19
14
|
}
|
|
20
15
|
}
|
|
@@ -28,10 +23,10 @@
|
|
|
28
23
|
width: 100%;
|
|
29
24
|
margin-top: 0.25rem; //4px
|
|
30
25
|
padding-bottom: 0.5rem; //8px
|
|
31
|
-
border-bottom: 0.0625rem solid @
|
|
26
|
+
border-bottom: 0.0625rem solid @_sap_ui_rta_FieldRepository_BC_Container_BorderColor; //1px
|
|
32
27
|
|
|
33
28
|
> div:not(:first-child) {
|
|
34
|
-
padding-left: 2.125rem;
|
|
29
|
+
padding-left: 2.125rem; //34px
|
|
35
30
|
padding-right: 0.625rem; //10px
|
|
36
31
|
}
|
|
37
32
|
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
/******************************************************************
|
|
2
2
|
Style used by flex support chrome extension - base Theme
|
|
3
3
|
*******************************************************************/
|
|
4
|
+
@_sap_ui_rta_FlexSupportExtension_BoxShadow: @sapUiUx3ToolPopupShadow; //0px 6px 12px 0px fade(black, 30);
|
|
5
|
+
@_sap_ui_rta_FlexSupportExtension_BackgroundColor: fade(@sapUiSelected, 5%); //rgba(143, 181, 255, 0.05);
|
|
6
|
+
@_sap_ui_rta_FlexSupportExtension_BorderRadius: @sapUiButtonBorderCornerRadius; //0.375rem
|
|
7
|
+
@_sap_ui_rta_FlexSupportExtension_OutlineColor: @sapUiSelected; //#8fb5ff
|
|
8
|
+
|
|
4
9
|
.sapUiFlexibilitySupportExtension_Selected {
|
|
5
|
-
box-shadow: @
|
|
10
|
+
box-shadow: @_sap_ui_rta_FlexSupportExtension_BoxShadow;
|
|
6
11
|
&:after {
|
|
7
12
|
content: " ";
|
|
8
|
-
background: @
|
|
13
|
+
background: @_sap_ui_rta_FlexSupportExtension_BackgroundColor;
|
|
9
14
|
opacity: 0.40;
|
|
10
|
-
border-radius: @
|
|
11
|
-
outline: 0.125rem solid @
|
|
15
|
+
border-radius: @_sap_ui_rta_FlexSupportExtension_BorderRadius;
|
|
16
|
+
outline: 0.125rem solid @_sap_ui_rta_FlexSupportExtension_OutlineColor; //1px
|
|
12
17
|
outline-offset: -0.125rem; //1px
|
|
13
18
|
}
|
|
14
19
|
}
|