@openui5/sap.ui.rta 1.136.4 → 1.136.5
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/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/AnnotationCommand.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 +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/ExtendControllerCommand.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/ManifestCommand.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 +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/command/manifest/AddLibrary.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/plugin/AddXMLAtExtensionPoint.js +1 -1
- package/src/sap/ui/rta/plugin/AddXMLPlugin.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/ExtendControllerPlugin.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/Resize.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.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/annotations/AnnotationChangeDialog.js +1 -1
- package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +1 -1
- package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +2 -2
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +23 -6
- package/src/sap/ui/rta/plugin/rename/Rename.js +1 -1
- package/src/sap/ui/rta/plugin/rename/RenameDialog.js +1 -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/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 +1 -1
- package/src/sap/ui/rta/util/guidedTour/GuidedTour.js +1 -1
- package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.rta",
|
|
3
|
-
"version": "1.136.
|
|
3
|
+
"version": "1.136.5",
|
|
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.136.
|
|
18
|
-
"@openui5/sap.ui.core": "1.136.
|
|
19
|
-
"@openui5/sap.ui.dt": "1.136.
|
|
20
|
-
"@openui5/sap.ui.fl": "1.136.
|
|
21
|
-
"@openui5/sap.ui.layout": "1.136.
|
|
17
|
+
"@openui5/sap.m": "1.136.5",
|
|
18
|
+
"@openui5/sap.ui.core": "1.136.5",
|
|
19
|
+
"@openui5/sap.ui.dt": "1.136.5",
|
|
20
|
+
"@openui5/sap.ui.fl": "1.136.5",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.136.5"
|
|
22
22
|
}
|
|
23
23
|
}
|
package/src/sap/ui/rta/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.136.
|
|
9
|
+
<version>1.136.5</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with RTA controls.</documentation>
|
|
12
12
|
|
package/src/sap/ui/rta/Client.js
CHANGED
|
@@ -117,7 +117,7 @@ sap.ui.define([
|
|
|
117
117
|
* @class The runtime authoring allows to adapt the fields of a running application.
|
|
118
118
|
* @extends sap.ui.base.ManagedObject
|
|
119
119
|
* @author SAP SE
|
|
120
|
-
* @version 1.136.
|
|
120
|
+
* @version 1.136.5
|
|
121
121
|
* @constructor
|
|
122
122
|
* @private
|
|
123
123
|
* @since 1.30
|
package/src/sap/ui/rta/Utils.js
CHANGED
|
@@ -22,14 +22,14 @@ sap.ui.define([
|
|
|
22
22
|
* @namespace
|
|
23
23
|
* @alias sap.ui.rta
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.136.
|
|
25
|
+
* @version 1.136.5
|
|
26
26
|
* @since 1.50
|
|
27
27
|
* @private
|
|
28
28
|
*/
|
|
29
29
|
var thisLib = Lib.init({
|
|
30
30
|
name: "sap.ui.rta",
|
|
31
31
|
apiVersion: 2,
|
|
32
|
-
version: "1.136.
|
|
32
|
+
version: "1.136.5",
|
|
33
33
|
dependencies: ["sap.ui.core", "sap.m", "sap.ui.fl", "sap.ui.dt"],
|
|
34
34
|
types: [],
|
|
35
35
|
interfaces: [],
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @class The CreateContainer allows trigger CreateContainer operations on the overlay
|
|
26
26
|
* @extends sap.ui.rta.plugin.BaseCreate
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.136.
|
|
28
|
+
* @version 1.136.5
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.34
|
|
@@ -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.136.
|
|
34
|
+
* @version 1.136.5
|
|
35
35
|
* @constructor
|
|
36
36
|
* @private
|
|
37
37
|
* @since 1.34
|
|
@@ -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.136.
|
|
122
|
+
* @version 1.136.5
|
|
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.136.
|
|
122
|
+
* @version 1.136.5
|
|
123
123
|
* @constructor
|
|
124
124
|
* @private
|
|
125
125
|
* @since 1.75
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
contentWidth="50rem"
|
|
18
18
|
contentHeight="44rem"
|
|
19
19
|
core:require="{ FloatType: 'sap/ui/model/type/Float' }"
|
|
20
|
-
|
|
20
|
+
beforeOpen="onBeforeOpen"
|
|
21
21
|
>
|
|
22
22
|
<content>
|
|
23
23
|
<layout:VerticalLayout
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
type="Emphasized"
|
|
421
421
|
text="{dialogInfo>/text/saveText}"
|
|
422
422
|
press="onSavePress"
|
|
423
|
-
enabled="{
|
|
423
|
+
enabled="{= !!${dialogInfo>/areAllFieldsValid}}"
|
|
424
424
|
/>
|
|
425
425
|
</beginButton>
|
|
426
426
|
<endButton>
|
|
@@ -64,7 +64,15 @@ sap.ui.define([
|
|
|
64
64
|
this._importSettings(mSettings);
|
|
65
65
|
},
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
onBeforeOpen() {
|
|
68
|
+
if (this._buildPreviewURL()) {
|
|
69
|
+
// If a URL is set initially (updateIframe), validate it
|
|
70
|
+
this.onValidateUrl();
|
|
71
|
+
} else {
|
|
72
|
+
// Disable the save button but don't show an error message
|
|
73
|
+
this._checkIfAllFieldsValid(false);
|
|
74
|
+
}
|
|
75
|
+
// Configure the MultiInput field
|
|
68
76
|
// This syntax is the suggested way by the UI5 documentation to trigger a submit on the input field on focus loss
|
|
69
77
|
const oMultiInput = Element.getElementById("sapUiRtaAddIFrameDialog_AddAdditionalParametersInput");
|
|
70
78
|
oMultiInput.addValidator(multiInputValidator);
|
|
@@ -103,8 +111,7 @@ sap.ui.define([
|
|
|
103
111
|
*/
|
|
104
112
|
onValidationSuccess(oEvent) {
|
|
105
113
|
oEvent.getSource().setValueState(ValueState.None);
|
|
106
|
-
this.
|
|
107
|
-
this._areAllTextFieldsValid() && this._areAllValueStateNones());
|
|
114
|
+
this._checkIfAllFieldsValid(true);
|
|
108
115
|
},
|
|
109
116
|
|
|
110
117
|
/**
|
|
@@ -113,7 +120,7 @@ sap.ui.define([
|
|
|
113
120
|
*/
|
|
114
121
|
onValidationError(oEvent) {
|
|
115
122
|
oEvent.getSource().setValueState(ValueState.Error);
|
|
116
|
-
this.
|
|
123
|
+
this._checkIfAllFieldsValid(false);
|
|
117
124
|
this._setFocusOnInvalidInput();
|
|
118
125
|
},
|
|
119
126
|
|
|
@@ -237,6 +244,16 @@ sap.ui.define([
|
|
|
237
244
|
return urlCleaner(this._oJSONModel.getProperty("/frameUrl/value"));
|
|
238
245
|
},
|
|
239
246
|
|
|
247
|
+
_checkIfAllFieldsValid(bExternalValidationSuccess) {
|
|
248
|
+
const bAllFieldsValid = (
|
|
249
|
+
bExternalValidationSuccess
|
|
250
|
+
&& !this._oJSONModel.getProperty("/frameUrlError/value")
|
|
251
|
+
&& this._areAllTextFieldsValid()
|
|
252
|
+
&& this._areAllValueStateNones()
|
|
253
|
+
);
|
|
254
|
+
this._oJSONModel.setProperty("/areAllFieldsValid", bAllFieldsValid);
|
|
255
|
+
},
|
|
256
|
+
|
|
240
257
|
onValidateUrl() {
|
|
241
258
|
const sUrl = this._buildPreviewURL();
|
|
242
259
|
const { result: bResult, error: sError } = isValidUrl(sUrl);
|
|
@@ -252,6 +269,7 @@ sap.ui.define([
|
|
|
252
269
|
const sErrorText = _oTextResources.getText(sErrorKey);
|
|
253
270
|
this._oJSONModel.setProperty("/frameUrlError/value", sErrorText);
|
|
254
271
|
}
|
|
272
|
+
this._checkIfAllFieldsValid(bResult);
|
|
255
273
|
},
|
|
256
274
|
|
|
257
275
|
/**
|
|
@@ -281,8 +299,7 @@ sap.ui.define([
|
|
|
281
299
|
bValidationError = true;
|
|
282
300
|
}
|
|
283
301
|
|
|
284
|
-
|
|
285
|
-
this._oJSONModel.setProperty("/areAllFieldsValid", bAllFieldsValid);
|
|
302
|
+
this._checkIfAllFieldsValid(!bValidationError);
|
|
286
303
|
oInput.setValueState(sValueState);
|
|
287
304
|
return bValidationError;
|
|
288
305
|
},
|
|
@@ -46,7 +46,7 @@ sap.ui.define([
|
|
|
46
46
|
* @alias sap.ui.rta.util.changeVisualization.ChangeIndicator
|
|
47
47
|
* @author SAP SE
|
|
48
48
|
* @since 1.84.0
|
|
49
|
-
* @version 1.136.
|
|
49
|
+
* @version 1.136.5
|
|
50
50
|
* @private
|
|
51
51
|
*/
|
|
52
52
|
const ChangeIndicator = Control.extend("sap.ui.rta.util.changeVisualization.ChangeIndicator", {
|
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
* @alias sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry
|
|
38
38
|
* @author SAP SE
|
|
39
39
|
* @since 1.86.0
|
|
40
|
-
* @version 1.136.
|
|
40
|
+
* @version 1.136.5
|
|
41
41
|
* @private
|
|
42
42
|
*/
|
|
43
43
|
const ChangeIndicatorRegistry = ManagedObject.extend("sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry", {
|
|
@@ -84,7 +84,7 @@ sap.ui.define([
|
|
|
84
84
|
* @alias sap.ui.rta.util.changeVisualization.ChangeVisualization
|
|
85
85
|
* @author SAP SE
|
|
86
86
|
* @since 1.84.0
|
|
87
|
-
* @version 1.136.
|
|
87
|
+
* @version 1.136.5
|
|
88
88
|
* @private
|
|
89
89
|
*/
|
|
90
90
|
const ChangeVisualization = Control.extend("sap.ui.rta.util.changeVisualization.ChangeVisualization", {
|