@openui5/sap.ui.rta 1.144.0 → 1.146.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/.eslintrc.json +7 -1
- package/REUSE.toml +40 -16
- package/THIRDPARTY.txt +28 -7
- 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 +25 -6
- package/src/sap/ui/rta/Utils.js +4 -2
- package/src/sap/ui/rta/appVariant/AppVariantManager.js +2 -2
- package/src/sap/ui/rta/appVariant/Feature.js +6 -4
- package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +6 -3
- package/src/sap/ui/rta/appVariant/Utils.js +2 -2
- 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 +2 -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 +90 -94
- package/src/sap/ui/rta/library.js +2 -2
- package/src/sap/ui/rta/messagebundle.properties +6 -4
- package/src/sap/ui/rta/messagebundle_ar.properties +4 -4
- package/src/sap/ui/rta/messagebundle_bg.properties +4 -4
- package/src/sap/ui/rta/messagebundle_ca.properties +4 -4
- package/src/sap/ui/rta/messagebundle_cnr.properties +4 -4
- package/src/sap/ui/rta/messagebundle_cs.properties +3 -3
- package/src/sap/ui/rta/messagebundle_cy.properties +4 -4
- package/src/sap/ui/rta/messagebundle_da.properties +4 -4
- package/src/sap/ui/rta/messagebundle_de.properties +4 -4
- package/src/sap/ui/rta/messagebundle_el.properties +4 -4
- package/src/sap/ui/rta/messagebundle_en.properties +4 -4
- package/src/sap/ui/rta/messagebundle_en_GB.properties +4 -4
- package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +5 -4
- package/src/sap/ui/rta/messagebundle_es.properties +3 -3
- package/src/sap/ui/rta/messagebundle_es_MX.properties +4 -4
- package/src/sap/ui/rta/messagebundle_et.properties +4 -4
- package/src/sap/ui/rta/messagebundle_fi.properties +4 -4
- package/src/sap/ui/rta/messagebundle_fr.properties +4 -4
- package/src/sap/ui/rta/messagebundle_fr_CA.properties +5 -5
- package/src/sap/ui/rta/messagebundle_hi.properties +4 -4
- package/src/sap/ui/rta/messagebundle_hr.properties +4 -4
- package/src/sap/ui/rta/messagebundle_hu.properties +3 -3
- package/src/sap/ui/rta/messagebundle_id.properties +5 -5
- package/src/sap/ui/rta/messagebundle_it.properties +5 -5
- package/src/sap/ui/rta/messagebundle_iw.properties +4 -4
- package/src/sap/ui/rta/messagebundle_ja.properties +4 -4
- package/src/sap/ui/rta/messagebundle_kk.properties +4 -4
- package/src/sap/ui/rta/messagebundle_ko.properties +4 -4
- package/src/sap/ui/rta/messagebundle_lt.properties +4 -4
- package/src/sap/ui/rta/messagebundle_lv.properties +4 -4
- package/src/sap/ui/rta/messagebundle_mk.properties +4 -4
- package/src/sap/ui/rta/messagebundle_ms.properties +4 -4
- package/src/sap/ui/rta/messagebundle_nl.properties +4 -4
- package/src/sap/ui/rta/messagebundle_no.properties +5 -5
- package/src/sap/ui/rta/messagebundle_pl.properties +4 -4
- package/src/sap/ui/rta/messagebundle_pt.properties +4 -4
- package/src/sap/ui/rta/messagebundle_pt_PT.properties +4 -4
- package/src/sap/ui/rta/messagebundle_ro.properties +4 -4
- package/src/sap/ui/rta/messagebundle_ru.properties +6 -6
- package/src/sap/ui/rta/messagebundle_sh.properties +4 -4
- package/src/sap/ui/rta/messagebundle_sk.properties +4 -4
- package/src/sap/ui/rta/messagebundle_sl.properties +4 -4
- package/src/sap/ui/rta/messagebundle_sr.properties +4 -4
- package/src/sap/ui/rta/messagebundle_sv.properties +4 -4
- package/src/sap/ui/rta/messagebundle_th.properties +4 -4
- package/src/sap/ui/rta/messagebundle_tr.properties +4 -4
- package/src/sap/ui/rta/messagebundle_uk.properties +4 -4
- package/src/sap/ui/rta/messagebundle_vi.properties +4 -4
- package/src/sap/ui/rta/messagebundle_zh_CN.properties +4 -4
- package/src/sap/ui/rta/messagebundle_zh_TW.properties +4 -4
- package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +4 -4
- 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 +13 -11
- 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.fragment.xml +5 -20
- package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +278 -26
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +40 -11
- package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +4 -3
- 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.fragment.xml +1 -1
- package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.js +29 -4
- package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +11 -17
- package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +8 -6
- package/src/sap/ui/rta/plugin/annotations/DocumentedAnnotationChanges.js +14 -0
- package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +14 -12
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +15 -94
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +22 -3
- package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +282 -102
- package/src/sap/ui/rta/plugin/rename/Rename.js +1 -1
- package/src/sap/ui/rta/plugin/rename/RenameDialog.fragment.xml +1 -0
- 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 +14 -6
- 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/ContextMenu.less +1 -1
- package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +9 -4
- package/src/sap/ui/rta/toolbar/Adaptation.js +59 -4
- package/src/sap/ui/rta/toolbar/AdaptationRenderer.js +7 -9
- package/src/sap/ui/rta/toolbar/Base.js +1 -1
- package/src/sap/ui/rta/toolbar/BaseRenderer.js +12 -17
- package/src/sap/ui/rta/toolbar/Fiori.js +5 -1
- package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
- package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
- package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
- package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +13 -11
- 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 +15 -12
- 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/changeVisualization/resolveBinding.js +1 -1
- package/src/sap/ui/rta/util/guidedTour/GuidedTour.js +3 -1
- package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +1 -1
- package/src/sap/ui/rta/util/whatsNew/whatsNewContent/whatsNewImages/ExtendedActions.png +0 -0
package/.eslintrc.json
CHANGED
|
@@ -74,6 +74,12 @@
|
|
|
74
74
|
"prefer-spread": "error",
|
|
75
75
|
"logical-assignment-operators":["error", "always", { "enforceForIfStatements": true } ],
|
|
76
76
|
"require-await": "error",
|
|
77
|
-
"object-curly-spacing": ["error", "always"]
|
|
77
|
+
"object-curly-spacing": ["error", "always"],
|
|
78
|
+
"no-useless-catch": "error",
|
|
79
|
+
"no-empty": "error",
|
|
80
|
+
"no-ex-assign": "error",
|
|
81
|
+
"no-unsafe-finally": "error",
|
|
82
|
+
"no-throw-literal": "error",
|
|
83
|
+
"prefer-promise-reject-errors": "error"
|
|
78
84
|
}
|
|
79
85
|
}
|
package/REUSE.toml
CHANGED
|
@@ -7,7 +7,7 @@ SPDX-PackageComment = "The code in this project may include calls to APIs (“AP
|
|
|
7
7
|
[[annotations]]
|
|
8
8
|
path = "**"
|
|
9
9
|
precedence = "aggregate"
|
|
10
|
-
SPDX-FileCopyrightText = "
|
|
10
|
+
SPDX-FileCopyrightText = "2026 SAP SE or an SAP affiliate company and OpenUI5 contributors"
|
|
11
11
|
SPDX-License-Identifier = "Apache-2.0"
|
|
12
12
|
|
|
13
13
|
#
|
|
@@ -102,7 +102,7 @@ SPDX-FileComment = "these files belong to: jQuery UI"
|
|
|
102
102
|
path = "src/sap.ui.commons/src/sap/ui/commons/Carousel.js"
|
|
103
103
|
precedence = "aggregate"
|
|
104
104
|
SPDX-FileCopyrightText = [
|
|
105
|
-
"
|
|
105
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
106
106
|
"Spencer Tipping"
|
|
107
107
|
]
|
|
108
108
|
SPDX-License-Identifier = "Apache-2.0 and MIT"
|
|
@@ -122,7 +122,7 @@ SPDX-FileComment = "these files belong to: jQuery 3"
|
|
|
122
122
|
path = "src/sap.ui.core/src/sap/base/util/isPlainObject.js"
|
|
123
123
|
precedence = "aggregate"
|
|
124
124
|
SPDX-FileCopyrightText = [
|
|
125
|
-
"
|
|
125
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
126
126
|
"OpenJS Foundation and other contributors"
|
|
127
127
|
]
|
|
128
128
|
SPDX-License-Identifier = "Apache-2.0 and MIT"
|
|
@@ -132,7 +132,7 @@ SPDX-FileComment = "these files contain content from SAP and jQuery 3: isPlainOb
|
|
|
132
132
|
path = "src/sap.ui.core/src/sap/base/util/_merge.js"
|
|
133
133
|
precedence = "aggregate"
|
|
134
134
|
SPDX-FileCopyrightText = [
|
|
135
|
-
"
|
|
135
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
136
136
|
"OpenJS Foundation and other contributors"
|
|
137
137
|
]
|
|
138
138
|
SPDX-License-Identifier = "Apache-2.0 and MIT"
|
|
@@ -142,7 +142,7 @@ SPDX-FileComment = "these files contain content from SAP and jQuery 3: _merge.js
|
|
|
142
142
|
path = "src/sap.ui.core/src/jquery.sap.script.js"
|
|
143
143
|
precedence = "aggregate"
|
|
144
144
|
SPDX-FileCopyrightText = [
|
|
145
|
-
"
|
|
145
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
146
146
|
"OpenJS Foundation and other contributors"
|
|
147
147
|
]
|
|
148
148
|
SPDX-License-Identifier = "Apache-2.0 and MIT"
|
|
@@ -152,7 +152,7 @@ SPDX-FileComment = "these files contain content from SAP and jQuery 3: jquery.sa
|
|
|
152
152
|
path = "src/sap.ui.core/src/sap/ui/Device.js"
|
|
153
153
|
precedence = "aggregate"
|
|
154
154
|
SPDX-FileCopyrightText = [
|
|
155
|
-
"
|
|
155
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
156
156
|
"2011, John Resig"
|
|
157
157
|
]
|
|
158
158
|
SPDX-License-Identifier = "Apache-2.0 and MIT"
|
|
@@ -162,7 +162,7 @@ SPDX-FileComment = "these files contain content from SAP and jQuery 1: Device.js
|
|
|
162
162
|
path = "src/sap.ui.core/src/sap/ui/dom/jquery/Selectors.js"
|
|
163
163
|
precedence = "aggregate"
|
|
164
164
|
SPDX-FileCopyrightText = [
|
|
165
|
-
"
|
|
165
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
166
166
|
"2014 jQuery Foundation and other contributors"
|
|
167
167
|
]
|
|
168
168
|
SPDX-License-Identifier = "Apache-2.0 and MIT"
|
|
@@ -179,7 +179,7 @@ SPDX-FileComment = "these files belong to: jQuery UI 1.10"
|
|
|
179
179
|
path = "src/sap.ui.core/src/jquery.sap.dom.js"
|
|
180
180
|
precedence = "aggregate"
|
|
181
181
|
SPDX-FileCopyrightText = [
|
|
182
|
-
"
|
|
182
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
183
183
|
"2014 jQuery Foundation and other contributors"
|
|
184
184
|
]
|
|
185
185
|
SPDX-License-Identifier = "Apache-2.0 and MIT"
|
|
@@ -189,7 +189,7 @@ SPDX-FileComment = "these files contain content from SAP and jQuery UI 1.10: jqu
|
|
|
189
189
|
path = "src/sap.ui.core/src/sap/ui/dom/jquery/zIndex.js"
|
|
190
190
|
precedence = "aggregate"
|
|
191
191
|
SPDX-FileCopyrightText = [
|
|
192
|
-
"
|
|
192
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
193
193
|
"2014 jQuery Foundation and other contributors"
|
|
194
194
|
]
|
|
195
195
|
SPDX-License-Identifier = "Apache-2.0 and MIT"
|
|
@@ -243,7 +243,7 @@ SPDX-FileComment = "these files belong to: jQuery Mobile"
|
|
|
243
243
|
path = "src/sap.ui.core/src/sap/ui/util/_FeatureDetection.js"
|
|
244
244
|
precedence = "aggregate"
|
|
245
245
|
SPDX-FileCopyrightText = [
|
|
246
|
-
"
|
|
246
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
247
247
|
"2012 Wei-Ko Kao"
|
|
248
248
|
]
|
|
249
249
|
SPDX-License-Identifier = "Apache-2.0 and MIT"
|
|
@@ -270,7 +270,7 @@ SPDX-FileComment = "these files belong to: JUnit Reporter for QUnit"
|
|
|
270
270
|
path = "src/sap.ui.core/src/sap/ui/qunit/qunit-junit.js"
|
|
271
271
|
precedence = "aggregate"
|
|
272
272
|
SPDX-FileCopyrightText = [
|
|
273
|
-
"
|
|
273
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
274
274
|
"jQuery Foundation and other contributors"
|
|
275
275
|
]
|
|
276
276
|
SPDX-License-Identifier = "Apache-2.0 and MIT"
|
|
@@ -421,7 +421,7 @@ SPDX-FileComment = "these files belong to: blanket.js"
|
|
|
421
421
|
path = "src/sap.ui.core/src/sap/base/util/JSTokenizer.js"
|
|
422
422
|
precedence = "aggregate"
|
|
423
423
|
SPDX-FileCopyrightText = [
|
|
424
|
-
"
|
|
424
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
425
425
|
"Douglas Crockford"
|
|
426
426
|
]
|
|
427
427
|
SPDX-License-Identifier = "Apache-2.0 and LicenseRef-JSONinJSPublicDomain"
|
|
@@ -431,7 +431,7 @@ SPDX-FileComment = "these files contain content from SAP and JSON in JS: JSToken
|
|
|
431
431
|
path = "src/sap.ui.core/src/sap/ui/base/ExpressionParser.js"
|
|
432
432
|
precedence = "aggregate"
|
|
433
433
|
SPDX-FileCopyrightText = [
|
|
434
|
-
"
|
|
434
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
435
435
|
"2010 Douglas Crockford"
|
|
436
436
|
]
|
|
437
437
|
SPDX-License-Identifier = "Apache-2.0"
|
|
@@ -479,7 +479,7 @@ SPDX-FileComment = "these files contain content from p-cancelable and @babel/hel
|
|
|
479
479
|
path = "src/sap.ui.core/src/sap/ui/core/date/Persian.js"
|
|
480
480
|
precedence = "aggregate"
|
|
481
481
|
SPDX-FileCopyrightText = [
|
|
482
|
-
"
|
|
482
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
483
483
|
"Behrang Norouzinia"
|
|
484
484
|
]
|
|
485
485
|
SPDX-License-Identifier = "Apache-2.0 and MIT"
|
|
@@ -496,7 +496,7 @@ SPDX-FileComment = "these files belong to: vkBeautify"
|
|
|
496
496
|
path = "src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js"
|
|
497
497
|
precedence = "aggregate"
|
|
498
498
|
SPDX-FileCopyrightText = [
|
|
499
|
-
"
|
|
499
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
500
500
|
"Isaac Z. Schlueter and Contributors"
|
|
501
501
|
]
|
|
502
502
|
SPDX-License-Identifier = "Apache-2.0 and ISC"
|
|
@@ -589,6 +589,30 @@ SPDX-License-Identifier = "MIT"
|
|
|
589
589
|
SPDX-FileComment = "these files belong to: @cfworker/json-schema"
|
|
590
590
|
|
|
591
591
|
|
|
592
|
+
# Library: sap.ui.mdc:
|
|
593
|
+
|
|
594
|
+
[[annotations]]
|
|
595
|
+
path = "src/sap.ui.mdc/test/sap/ui/mdc/demokit/sample/Chart/ChartJS/control/ChartJS.js"
|
|
596
|
+
precedence = "aggregate"
|
|
597
|
+
SPDX-FileCopyrightText = "2025 Chart.js Contributors"
|
|
598
|
+
SPDX-License-Identifier = "MIT"
|
|
599
|
+
SPDX-FileComment = "these files belong to: Chart.js"
|
|
600
|
+
|
|
601
|
+
[[annotations]]
|
|
602
|
+
path = "src/sap.ui.mdc/test/sap/ui/mdc/demokit/sample/Chart/ChartJS/control/chartjs-plugin-zoom.js"
|
|
603
|
+
precedence = "aggregate"
|
|
604
|
+
SPDX-FileCopyrightText = "2016-2021 chartjs-plugin-zoom Contributors"
|
|
605
|
+
SPDX-License-Identifier = "MIT"
|
|
606
|
+
SPDX-FileComment = "these files belong to: chartjs-plugin-zoom"
|
|
607
|
+
|
|
608
|
+
[[annotations]]
|
|
609
|
+
path = "src/sap.ui.mdc/test/sap/ui/mdc/demokit/sample/Chart/ChartJS/control/hammerjs.js"
|
|
610
|
+
precedence = "aggregate"
|
|
611
|
+
SPDX-FileCopyrightText = "2011-2017 by Jorik Tangelder (Eight Media)"
|
|
612
|
+
SPDX-License-Identifier = "MIT"
|
|
613
|
+
SPDX-FileComment = "these files belong to: hammer.js"
|
|
614
|
+
|
|
615
|
+
|
|
592
616
|
# Library: sap.ui.webc.common:
|
|
593
617
|
|
|
594
618
|
[[annotations]]
|
|
@@ -646,7 +670,7 @@ SPDX-FileComment = "these files belong to: UI5 Web Components"
|
|
|
646
670
|
path = "lib/jsdoc/ui5/plugin.js"
|
|
647
671
|
precedence = "aggregate"
|
|
648
672
|
SPDX-FileCopyrightText = [
|
|
649
|
-
"
|
|
673
|
+
"2026 SAP SE or an SAP affiliate company and OpenUI5 contributors",
|
|
650
674
|
"2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc"
|
|
651
675
|
]
|
|
652
676
|
SPDX-License-Identifier = "Apache-2.0"
|
package/THIRDPARTY.txt
CHANGED
|
@@ -6,31 +6,31 @@ The full text of all referenced licenses is appended at the end of this file.
|
|
|
6
6
|
|
|
7
7
|
Library: sap.f:
|
|
8
8
|
|
|
9
|
-
Component: UI5 Web Components, version: 2.
|
|
9
|
+
Component: UI5 Web Components, version: 2.19.2
|
|
10
10
|
Copyright: SAP
|
|
11
11
|
License: Apache-2.0
|
|
12
12
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
13
13
|
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
14
14
|
|
|
15
|
-
Component: UI5 Web Components Fiori, version: 2.
|
|
15
|
+
Component: UI5 Web Components Fiori, version: 2.19.2
|
|
16
16
|
Copyright: SAP
|
|
17
17
|
License: Apache-2.0
|
|
18
18
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
19
19
|
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
20
20
|
|
|
21
|
-
Component: UI5 Web Components Icons, version: 2.
|
|
21
|
+
Component: UI5 Web Components Icons, version: 2.19.2
|
|
22
22
|
Copyright: SAP
|
|
23
23
|
License: Apache-2.0
|
|
24
24
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
25
25
|
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
26
26
|
|
|
27
|
-
Component: UI5 Web Components Icons Business Suite, version: 2.
|
|
27
|
+
Component: UI5 Web Components Icons Business Suite, version: 2.19.2
|
|
28
28
|
Copyright: SAP
|
|
29
29
|
License: Apache-2.0
|
|
30
30
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
31
31
|
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
32
32
|
|
|
33
|
-
Component: UI5 Web Components Icons TNT, version: 2.
|
|
33
|
+
Component: UI5 Web Components Icons TNT, version: 2.19.2
|
|
34
34
|
Copyright: SAP
|
|
35
35
|
License: Apache-2.0
|
|
36
36
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
@@ -309,7 +309,7 @@ License: MIT
|
|
|
309
309
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
310
310
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/bignumber.js
|
|
311
311
|
|
|
312
|
-
Component: lodash, version: 4.17.
|
|
312
|
+
Component: lodash, version: 4.17.23
|
|
313
313
|
Copyright: OpenJS Foundation and other contributors
|
|
314
314
|
License: MIT
|
|
315
315
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
@@ -425,6 +425,27 @@ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
|
425
425
|
Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/CfWorkerJsonSchemaValidator.js
|
|
426
426
|
|
|
427
427
|
|
|
428
|
+
Library: sap.ui.mdc:
|
|
429
|
+
|
|
430
|
+
Component: Chart.js, version: 4.5.0
|
|
431
|
+
Copyright: 2025 Chart.js Contributors
|
|
432
|
+
License: MIT
|
|
433
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
434
|
+
Contained in: src/sap.ui.mdc/test/sap/ui/mdc/demokit/sample/Chart/ChartJS/control/ChartJS.js
|
|
435
|
+
|
|
436
|
+
Component: chartjs-plugin-zoom, version: 1.0.1
|
|
437
|
+
Copyright: 2016-2021 chartjs-plugin-zoom Contributors
|
|
438
|
+
License: MIT
|
|
439
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
440
|
+
Contained in: src/sap.ui.mdc/test/sap/ui/mdc/demokit/sample/Chart/ChartJS/control/chartjs-plugin-zoom.js
|
|
441
|
+
|
|
442
|
+
Component: hammer.js, version: 2.0.7
|
|
443
|
+
Copyright: 2011-2017 by Jorik Tangelder (Eight Media)
|
|
444
|
+
License: MIT
|
|
445
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
446
|
+
Contained in: src/sap.ui.mdc/test/sap/ui/mdc/demokit/sample/Chart/ChartJS/control/hammerjs.js
|
|
447
|
+
|
|
448
|
+
|
|
428
449
|
Library: sap.ui.webc.common:
|
|
429
450
|
|
|
430
451
|
Component: UI5 Web Components, version: 1.18.0
|
|
@@ -477,7 +498,7 @@ License: Apache-2.0
|
|
|
477
498
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
478
499
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
479
500
|
|
|
480
|
-
Component: SAP Theming Base Content, version: 11.
|
|
501
|
+
Component: SAP Theming Base Content, version: 11.34.0
|
|
481
502
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
482
503
|
License: Apache-2.0
|
|
483
504
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.rta",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.146.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.rta",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"url": "https://github.com/UI5/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.146.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.146.0",
|
|
19
|
+
"@openui5/sap.ui.dt": "1.146.0",
|
|
20
|
+
"@openui5/sap.ui.fl": "1.146.0",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.146.0"
|
|
22
22
|
}
|
|
23
23
|
}
|
package/src/sap/ui/rta/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2026 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.146.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with RTA controls.</documentation>
|
|
12
12
|
|
package/src/sap/ui/rta/Client.js
CHANGED
|
@@ -22,6 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
"sap/ui/fl/apply/api/FlexRuntimeInfoAPI",
|
|
23
23
|
"sap/ui/fl/initial/_internal/ManifestUtils",
|
|
24
24
|
"sap/ui/fl/initial/api/Version",
|
|
25
|
+
"sap/ui/fl/util/CancelError",
|
|
25
26
|
"sap/ui/fl/write/api/ContextBasedAdaptationsAPI",
|
|
26
27
|
"sap/ui/fl/write/api/ControlPersonalizationWriteAPI",
|
|
27
28
|
"sap/ui/fl/write/api/FeaturesAPI",
|
|
@@ -70,6 +71,7 @@ sap.ui.define([
|
|
|
70
71
|
FlexRuntimeInfoAPI,
|
|
71
72
|
ManifestUtils,
|
|
72
73
|
Version,
|
|
74
|
+
CancelError,
|
|
73
75
|
ContextBasedAdaptationsAPI,
|
|
74
76
|
ControlPersonalizationWriteAPI,
|
|
75
77
|
FeaturesAPI,
|
|
@@ -116,7 +118,7 @@ sap.ui.define([
|
|
|
116
118
|
* @class The runtime authoring allows to adapt the fields of a running application.
|
|
117
119
|
* @extends sap.ui.base.ManagedObject
|
|
118
120
|
* @author SAP SE
|
|
119
|
-
* @version 1.
|
|
121
|
+
* @version 1.146.0
|
|
120
122
|
* @constructor
|
|
121
123
|
* @private
|
|
122
124
|
* @since 1.30
|
|
@@ -432,9 +434,13 @@ sap.ui.define([
|
|
|
432
434
|
}
|
|
433
435
|
|
|
434
436
|
try {
|
|
437
|
+
this._mStartStatus = {};
|
|
435
438
|
await this._loadUShellServicesPromise;
|
|
439
|
+
this._mStartStatus.uShellServicesLoaded = true;
|
|
436
440
|
await initVersioning.call(this);
|
|
441
|
+
this._mStartStatus.versioningInitialized = true;
|
|
437
442
|
await initContextBasedAdaptations.call(this, RuntimeAuthoring.needsRestart(this.getLayer()));
|
|
443
|
+
this._mStartStatus.contextBasedAdaptationsInitialized = true;
|
|
438
444
|
|
|
439
445
|
// Check if the application has personalized changes and reload without them;
|
|
440
446
|
// Also Check if the application has an available draft and if yes, reload with those changes.
|
|
@@ -483,6 +489,7 @@ sap.ui.define([
|
|
|
483
489
|
);
|
|
484
490
|
await createToolsMenu.call(this, mButtonsAvailability);
|
|
485
491
|
}
|
|
492
|
+
this._mStartStatus.toolBarCreated = true;
|
|
486
493
|
// this is needed to initially check if undo is available, e.g. when the stack gets initialized with changes
|
|
487
494
|
await onStackModified.call(this);
|
|
488
495
|
|
|
@@ -504,8 +511,10 @@ sap.ui.define([
|
|
|
504
511
|
setBlockedOnRootElements.call(this, true);
|
|
505
512
|
|
|
506
513
|
const aSeenFeatureIds = await FeaturesAPI.getSeenFeatureIds({ layer: this.getLayer() });
|
|
514
|
+
this._mStartStatus.seenFeatureIdsLoaded = true;
|
|
507
515
|
|
|
508
516
|
const bGuidedTourAutostart = await shouldAutoStartGuidedTour(this.getRootControlInstance(), this.getLayer(), aSeenFeatureIds);
|
|
517
|
+
this._mStartStatus.guidedTourAutostartDetermined = true;
|
|
509
518
|
|
|
510
519
|
// The What's new should only be shown once per session
|
|
511
520
|
const sWhatsNewReloadFlag = "sap.ui.rta.dontShowWhatsNewAfterReload";
|
|
@@ -536,6 +545,7 @@ sap.ui.define([
|
|
|
536
545
|
// the show() method of the toolbar relies on this RTA instance being set on the PopupManager
|
|
537
546
|
await this.getToolbar().show();
|
|
538
547
|
}
|
|
548
|
+
this._mStartStatus.toolbarShown = true;
|
|
539
549
|
|
|
540
550
|
this.fnKeyDown = onKeyDown.bind(this);
|
|
541
551
|
document.addEventListener("keydown", this.fnKeyDown);
|
|
@@ -548,6 +558,9 @@ sap.ui.define([
|
|
|
548
558
|
|
|
549
559
|
this._sStatus = STARTED;
|
|
550
560
|
RuntimeAuthoring.disableRestart(this.getLayer());
|
|
561
|
+
ReloadInfoAPI.addParametersToInfoSessionStorage(this.getRootControlInstance(), [
|
|
562
|
+
{ key: "adaptationMode", value: true }
|
|
563
|
+
]);
|
|
551
564
|
this.fireStart({
|
|
552
565
|
editablePluginsCount: this.getPluginManager().getEditableOverlaysCount()
|
|
553
566
|
});
|
|
@@ -556,6 +569,7 @@ sap.ui.define([
|
|
|
556
569
|
if (vError.message === "Reload triggered") {
|
|
557
570
|
// destroy rta when reload is triggered - otherwise the consumer needs to take care of this
|
|
558
571
|
this.destroy();
|
|
572
|
+
document.removeEventListener("keydown", this.fnKeyDown);
|
|
559
573
|
} else {
|
|
560
574
|
this._sStatus = FAILED;
|
|
561
575
|
this.fireFailed({ vError: vError.message });
|
|
@@ -662,6 +676,7 @@ sap.ui.define([
|
|
|
662
676
|
ReloadManager.handleReloadOnExit(oReloadInfo);
|
|
663
677
|
}
|
|
664
678
|
VersionsAPI.clearInstances();
|
|
679
|
+
document.removeEventListener("keydown", this.fnKeyDown);
|
|
665
680
|
} catch (vError) {
|
|
666
681
|
bExitFailed = true;
|
|
667
682
|
if (!bUserCancelled) {
|
|
@@ -1132,9 +1147,9 @@ sap.ui.define([
|
|
|
1132
1147
|
|
|
1133
1148
|
function showTechnicalError(vError) {
|
|
1134
1149
|
BusyIndicator.hide();
|
|
1135
|
-
const sErrorMessage = vError
|
|
1150
|
+
const sErrorMessage = vError?.userMessage || vError?.stack || vError?.message || vError?.status || vError;
|
|
1136
1151
|
const oTextResources = Lib.getResourceBundleFor("sap.ui.rta");
|
|
1137
|
-
Log.error(
|
|
1152
|
+
Log.error(`Failed to transfer changes: ${sErrorMessage}`, vError);
|
|
1138
1153
|
const sMsg = `${oTextResources.getText("MSG_LREP_TRANSFER_ERROR")}
|
|
1139
1154
|
${oTextResources.getText("MSG_ERROR_REASON", [sErrorMessage])}`;
|
|
1140
1155
|
MessageBox.error(sMsg, {
|
|
@@ -1624,9 +1639,9 @@ sap.ui.define([
|
|
|
1624
1639
|
let oToolbar;
|
|
1625
1640
|
const bUshellAvailable = !!FlexUtils.getUshellContainer();
|
|
1626
1641
|
if (bUshellAvailable) {
|
|
1627
|
-
const oUshellRtaApi = await requireAsync("sap/ushell/api/RTA");
|
|
1628
|
-
oProperties.ushellApi = oUshellRtaApi;
|
|
1629
1642
|
if (Utils.isOriginalFioriToolbarAccessible()) {
|
|
1643
|
+
const oUshellRtaApi = await requireAsync("sap/ushell/api/RTA");
|
|
1644
|
+
oProperties.ushellApi = oUshellRtaApi;
|
|
1630
1645
|
oToolbar = new FioriToolbar(oProperties);
|
|
1631
1646
|
} else {
|
|
1632
1647
|
oToolbar = new FioriLikeToolbar(oProperties);
|
|
@@ -1699,6 +1714,10 @@ sap.ui.define([
|
|
|
1699
1714
|
},
|
|
1700
1715
|
feedbackButton: {
|
|
1701
1716
|
visible: bFeedbackButtonVisible
|
|
1717
|
+
},
|
|
1718
|
+
backButton: {
|
|
1719
|
+
visible: !!window.navigation,
|
|
1720
|
+
enabled: false
|
|
1702
1721
|
}
|
|
1703
1722
|
});
|
|
1704
1723
|
|
|
@@ -1748,7 +1767,7 @@ sap.ui.define([
|
|
|
1748
1767
|
return ReloadManager.triggerReload(oReloadInfo);
|
|
1749
1768
|
}.bind(this))
|
|
1750
1769
|
.catch(function(oError) {
|
|
1751
|
-
if (oError
|
|
1770
|
+
if (!(oError instanceof CancelError)) {
|
|
1752
1771
|
Utils.showMessageBox("error", "MSG_RESTORE_FAILED", { error: oError });
|
|
1753
1772
|
}
|
|
1754
1773
|
});
|
package/src/sap/ui/rta/Utils.js
CHANGED
|
@@ -15,6 +15,7 @@ sap.ui.define([
|
|
|
15
15
|
"sap/ui/dt/OverlayUtil",
|
|
16
16
|
"sap/ui/fl/apply/api/FlexRuntimeInfoAPI",
|
|
17
17
|
"sap/ui/fl/initial/api/Version",
|
|
18
|
+
"sap/ui/fl/util/CancelError",
|
|
18
19
|
"sap/ui/fl/Layer",
|
|
19
20
|
"sap/ui/fl/LayerUtils",
|
|
20
21
|
"sap/ui/fl/Utils",
|
|
@@ -32,6 +33,7 @@ sap.ui.define([
|
|
|
32
33
|
OverlayUtil,
|
|
33
34
|
FlexRuntimeInfoAPI,
|
|
34
35
|
Version,
|
|
36
|
+
CancelError,
|
|
35
37
|
Layer,
|
|
36
38
|
FlexLayerUtils,
|
|
37
39
|
FlexUtils,
|
|
@@ -46,7 +48,7 @@ sap.ui.define([
|
|
|
46
48
|
*
|
|
47
49
|
* @namespace
|
|
48
50
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
51
|
+
* @version 1.146.0
|
|
50
52
|
*
|
|
51
53
|
* @private
|
|
52
54
|
* @since 1.30
|
|
@@ -555,7 +557,7 @@ sap.ui.define([
|
|
|
555
557
|
})
|
|
556
558
|
.then(function(sAction) {
|
|
557
559
|
if (sAction !== MessageBox.Action.OK) {
|
|
558
|
-
throw
|
|
560
|
+
throw new CancelError();
|
|
559
561
|
}
|
|
560
562
|
return true;
|
|
561
563
|
});
|
|
@@ -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.146.0
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
30
30
|
* @since 1.53
|
|
@@ -216,7 +216,7 @@ sap.ui.define([
|
|
|
216
216
|
const oS4HanaCloudBackend = new S4HanaCloudBackend();
|
|
217
217
|
return oS4HanaCloudBackend.notifyFlpCustomizingIsReady(sIamId, bCreation).catch(function(oError) {
|
|
218
218
|
let sMessageKey = bCreation ? "MSG_TILE_CREATION_FAILED" : "MSG_DELETE_APP_VARIANT_FAILED";
|
|
219
|
-
if (!bCreation && oError.
|
|
219
|
+
if (!bCreation && oError.message === "locked") {
|
|
220
220
|
sMessageKey = "MSG_CATALOGS_LOCKED";
|
|
221
221
|
}
|
|
222
222
|
return AppVariantUtils.catchErrorDialog(oError, sMessageKey, sAppVarId);
|
|
@@ -9,6 +9,7 @@ sap.ui.define([
|
|
|
9
9
|
"sap/ui/core/BusyIndicator",
|
|
10
10
|
"sap/ui/core/EventBus",
|
|
11
11
|
"sap/ui/fl/apply/api/FlexRuntimeInfoAPI",
|
|
12
|
+
"sap/ui/fl/util/CancelError",
|
|
12
13
|
"sap/ui/fl/write/_internal/appVariant/AppVariantFactory",
|
|
13
14
|
"sap/ui/fl/write/api/FeaturesAPI",
|
|
14
15
|
"sap/ui/fl/Utils",
|
|
@@ -19,6 +20,7 @@ sap.ui.define([
|
|
|
19
20
|
BusyIndicator,
|
|
20
21
|
EventBus,
|
|
21
22
|
FlexRuntimeInfoAPI,
|
|
23
|
+
CancelError,
|
|
22
24
|
AppVariantFactory,
|
|
23
25
|
FeaturesAPI,
|
|
24
26
|
FlexUtils,
|
|
@@ -79,7 +81,7 @@ sap.ui.define([
|
|
|
79
81
|
const sMessage = AppVariantUtils.getText("MSG_BASE_APP_CATALOGS_NOT_FOUND", sAppVariantId);
|
|
80
82
|
const sTitle = AppVariantUtils.getText("HEADER_SAVE_APP_VARIANT_FAILED");
|
|
81
83
|
showMessageBox(sMessage, { title: sTitle }, "error");
|
|
82
|
-
return Promise.reject();
|
|
84
|
+
return Promise.reject(new Error(sMessage));
|
|
83
85
|
}
|
|
84
86
|
return oAppVariantManager.notifyKeyUserWhenPublishingIsReady(oResult.response.IAMId, sAppVariantId, true);
|
|
85
87
|
}
|
|
@@ -366,8 +368,8 @@ sap.ui.define([
|
|
|
366
368
|
const fnDeleteAppVariant = function() {
|
|
367
369
|
return oAppVariantManager.deleteAppVariant(sAppVariantId)
|
|
368
370
|
.catch(function(oError) {
|
|
369
|
-
if (oError
|
|
370
|
-
return Promise.reject(
|
|
371
|
+
if (oError instanceof CancelError) {
|
|
372
|
+
return Promise.reject(oError);
|
|
371
373
|
}
|
|
372
374
|
let sMessageKey = oError.messageKey;
|
|
373
375
|
sMessageKey ||= "MSG_DELETE_APP_VARIANT_FAILED";
|
|
@@ -419,7 +421,7 @@ sap.ui.define([
|
|
|
419
421
|
.then(fnDeleteSuccessMessage)
|
|
420
422
|
.then(fnTriggerS4HanaRefresh.bind(this))
|
|
421
423
|
.catch(function(oError) {
|
|
422
|
-
if (oError
|
|
424
|
+
if (oError instanceof CancelError) {
|
|
423
425
|
return false;
|
|
424
426
|
}
|
|
425
427
|
if (bIsS4HanaCloud) {
|
|
@@ -70,9 +70,12 @@ sap.ui.define([
|
|
|
70
70
|
}
|
|
71
71
|
// ... Reject if publishing return an error or is locked
|
|
72
72
|
}).catch(function(oError) {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
const sText = bAppVarCreation ? "creation" : "deletion";
|
|
74
|
+
const oNewError = new Error(`Catalog publishing failed for app variant ${sText}. AppVarStatus is ${oError.message}`);
|
|
75
|
+
oNewError.iamAppId = sIamAppId;
|
|
76
|
+
oNewError.cause = oError;
|
|
77
|
+
Log.error(oNewError.message, oNewError);
|
|
78
|
+
reject(oNewError);
|
|
76
79
|
});
|
|
77
80
|
}
|
|
78
81
|
|
|
@@ -26,8 +26,8 @@ sap.ui.define([
|
|
|
26
26
|
.then(function(oNavigationService) {
|
|
27
27
|
return oNavigationService.getLinks([oNavigationParams]);
|
|
28
28
|
})
|
|
29
|
-
.catch(function(
|
|
30
|
-
throw new Error(`Error retrieving ushell service Navigation: ${
|
|
29
|
+
.catch(function(oError) {
|
|
30
|
+
throw new Error(`Error retrieving ushell service Navigation: ${oError.message}`, { cause: oError });
|
|
31
31
|
});
|
|
32
32
|
};
|
|
33
33
|
|