@openui5/sap.ui.rta 1.105.0 → 1.106.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.
Files changed (159) hide show
  1. package/.reuse/dep5 +20 -17
  2. package/THIRDPARTY.txt +31 -21
  3. package/package.json +6 -6
  4. package/src/sap/ui/rta/.library +1 -1
  5. package/src/sap/ui/rta/Client.js +1 -1
  6. package/src/sap/ui/rta/RuntimeAuthoring.js +25 -13
  7. package/src/sap/ui/rta/Utils.js +1 -1
  8. package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
  9. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  10. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  11. package/src/sap/ui/rta/command/AddXML.js +1 -1
  12. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  13. package/src/sap/ui/rta/command/AppDescriptorCommand.js +1 -1
  14. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  15. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  16. package/src/sap/ui/rta/command/Combine.js +1 -1
  17. package/src/sap/ui/rta/command/CommandFactory.js +1 -1
  18. package/src/sap/ui/rta/command/CompositeCommand.js +7 -5
  19. package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
  20. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  21. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
  22. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  23. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
  24. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  25. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  26. package/src/sap/ui/rta/command/FlexCommand.js +2 -2
  27. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  28. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  29. package/src/sap/ui/rta/command/Move.js +1 -1
  30. package/src/sap/ui/rta/command/Property.js +1 -1
  31. package/src/sap/ui/rta/command/Remove.js +1 -1
  32. package/src/sap/ui/rta/command/Rename.js +1 -1
  33. package/src/sap/ui/rta/command/Resize.js +1 -1
  34. package/src/sap/ui/rta/command/Reveal.js +1 -1
  35. package/src/sap/ui/rta/command/Settings.js +1 -1
  36. package/src/sap/ui/rta/command/Split.js +1 -1
  37. package/src/sap/ui/rta/command/Stack.js +15 -5
  38. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  39. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -1
  40. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  41. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  42. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  43. package/src/sap/ui/rta/enablement/elementActionTest.js +89 -15
  44. package/src/sap/ui/rta/library.js +2 -2
  45. package/src/sap/ui/rta/messagebundle.properties +31 -0
  46. package/src/sap/ui/rta/messagebundle_ar.properties +13 -11
  47. package/src/sap/ui/rta/messagebundle_bg.properties +13 -11
  48. package/src/sap/ui/rta/messagebundle_ca.properties +13 -11
  49. package/src/sap/ui/rta/messagebundle_cs.properties +13 -11
  50. package/src/sap/ui/rta/messagebundle_cy.properties +13 -11
  51. package/src/sap/ui/rta/messagebundle_da.properties +13 -11
  52. package/src/sap/ui/rta/messagebundle_de.properties +3 -1
  53. package/src/sap/ui/rta/messagebundle_el.properties +13 -11
  54. package/src/sap/ui/rta/messagebundle_en.properties +4 -2
  55. package/src/sap/ui/rta/messagebundle_en_GB.properties +4 -2
  56. package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +13 -1
  57. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +6 -1
  58. package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +3 -1
  59. package/src/sap/ui/rta/messagebundle_es.properties +13 -11
  60. package/src/sap/ui/rta/messagebundle_es_MX.properties +13 -11
  61. package/src/sap/ui/rta/messagebundle_et.properties +13 -11
  62. package/src/sap/ui/rta/messagebundle_fi.properties +13 -11
  63. package/src/sap/ui/rta/messagebundle_fr.properties +13 -11
  64. package/src/sap/ui/rta/messagebundle_fr_CA.properties +13 -11
  65. package/src/sap/ui/rta/messagebundle_hi.properties +13 -11
  66. package/src/sap/ui/rta/messagebundle_hr.properties +13 -11
  67. package/src/sap/ui/rta/messagebundle_hu.properties +13 -11
  68. package/src/sap/ui/rta/messagebundle_id.properties +13 -11
  69. package/src/sap/ui/rta/messagebundle_it.properties +13 -11
  70. package/src/sap/ui/rta/messagebundle_iw.properties +13 -11
  71. package/src/sap/ui/rta/messagebundle_ja.properties +13 -11
  72. package/src/sap/ui/rta/messagebundle_kk.properties +13 -11
  73. package/src/sap/ui/rta/messagebundle_ko.properties +13 -11
  74. package/src/sap/ui/rta/messagebundle_lt.properties +13 -11
  75. package/src/sap/ui/rta/messagebundle_lv.properties +13 -11
  76. package/src/sap/ui/rta/messagebundle_ms.properties +13 -11
  77. package/src/sap/ui/rta/messagebundle_nl.properties +13 -11
  78. package/src/sap/ui/rta/messagebundle_no.properties +13 -11
  79. package/src/sap/ui/rta/messagebundle_pl.properties +13 -11
  80. package/src/sap/ui/rta/messagebundle_pt.properties +13 -11
  81. package/src/sap/ui/rta/messagebundle_pt_PT.properties +13 -11
  82. package/src/sap/ui/rta/messagebundle_ro.properties +13 -11
  83. package/src/sap/ui/rta/messagebundle_ru.properties +13 -11
  84. package/src/sap/ui/rta/messagebundle_sh.properties +13 -11
  85. package/src/sap/ui/rta/messagebundle_sk.properties +13 -11
  86. package/src/sap/ui/rta/messagebundle_sl.properties +13 -11
  87. package/src/sap/ui/rta/messagebundle_sv.properties +13 -11
  88. package/src/sap/ui/rta/messagebundle_th.properties +13 -11
  89. package/src/sap/ui/rta/messagebundle_tr.properties +13 -11
  90. package/src/sap/ui/rta/messagebundle_uk.properties +13 -11
  91. package/src/sap/ui/rta/messagebundle_vi.properties +13 -11
  92. package/src/sap/ui/rta/messagebundle_zh_CN.properties +13 -11
  93. package/src/sap/ui/rta/messagebundle_zh_TW.properties +13 -11
  94. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +2 -2
  95. package/src/sap/ui/rta/plugin/BaseCreate.js +2 -2
  96. package/src/sap/ui/rta/plugin/Combine.js +1 -1
  97. package/src/sap/ui/rta/plugin/CompVariant.js +8 -6
  98. package/src/sap/ui/rta/plugin/ControlVariant.js +1 -1
  99. package/src/sap/ui/rta/plugin/CreateContainer.js +9 -4
  100. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  101. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  102. package/src/sap/ui/rta/plugin/EasyAdd.js +3 -1
  103. package/src/sap/ui/rta/plugin/EasyRemove.js +3 -1
  104. package/src/sap/ui/rta/plugin/LocalReset.js +2 -2
  105. package/src/sap/ui/rta/plugin/Plugin.js +1 -1
  106. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  107. package/src/sap/ui/rta/plugin/Remove.js +1 -1
  108. package/src/sap/ui/rta/plugin/Rename.js +3 -3
  109. package/src/sap/ui/rta/plugin/RenameHandler.js +2 -2
  110. package/src/sap/ui/rta/plugin/Resize.js +3 -3
  111. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  112. package/src/sap/ui/rta/plugin/Settings.js +2 -2
  113. package/src/sap/ui/rta/plugin/Split.js +2 -2
  114. package/src/sap/ui/rta/plugin/Stretch.js +3 -1
  115. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
  116. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  117. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +9 -6
  118. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +9 -9
  119. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  120. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +2 -2
  121. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +3 -3
  122. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
  123. package/src/sap/ui/rta/service/Action.js +1 -1
  124. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  125. package/src/sap/ui/rta/service/Outline.js +1 -1
  126. package/src/sap/ui/rta/service/Property.js +1 -1
  127. package/src/sap/ui/rta/service/Selection.js +1 -1
  128. package/src/sap/ui/rta/service/SupportTools.js +189 -0
  129. package/src/sap/ui/rta/service/index.js +7 -6
  130. package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +11 -1
  131. package/src/sap/ui/rta/toolbar/Adaptation.js +8 -1
  132. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  133. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  134. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  135. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  136. package/src/sap/ui/rta/toolbar/Personalization.js +1 -1
  137. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  138. package/src/sap/ui/rta/toolbar/contextBased/SaveAsContextBasedAdaptation.js +132 -0
  139. package/src/sap/ui/rta/toolbar/contextBased/SaveAsContextBasedAdaptationDialog.fragment.xml +79 -0
  140. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -5
  141. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
  142. package/src/sap/ui/rta/util/BindingsExtractor.js +89 -42
  143. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  144. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  145. package/src/sap/ui/rta/util/ReloadManager.js +1 -1
  146. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  147. package/src/sap/ui/rta/util/adaptationStarter.js +13 -4
  148. package/src/sap/ui/rta/util/changeVisualization/ChangeCategories.js +50 -0
  149. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +40 -37
  150. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorCategorySelection.fragment.xml +2 -2
  151. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorPopover.fragment.xml +2 -1
  152. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +60 -41
  153. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +52 -81
  154. package/src/sap/ui/rta/util/changeVisualization/{categories → commands}/CombineVisualization.js +0 -0
  155. package/src/sap/ui/rta/util/changeVisualization/{categories → commands}/MoveVisualization.js +2 -0
  156. package/src/sap/ui/rta/util/changeVisualization/{categories → commands}/RenameVisualization.js +0 -0
  157. package/src/sap/ui/rta/util/changeVisualization/{categories → commands}/SplitVisualization.js +0 -0
  158. package/src/sap/ui/rta/util/changeVisualization/commands/getCommandVisualization.js +37 -0
  159. package/src/sap/ui/rta/util/changeVisualization/categories/getVisualizationCategory.js +0 -35
package/.reuse/dep5 CHANGED
@@ -43,6 +43,14 @@ License: Apache-2.0
43
43
  #
44
44
 
45
45
 
46
+ # Library: sap.m:
47
+
48
+ Files: src/sap.m/src/sap/m/_thirdparty/purify.js
49
+ Copyright: Mario Heiderich
50
+ License: Apache-2.0
51
+ Comment: these files belong to: purify.js
52
+
53
+
46
54
  # Library: sap.ui.codeeditor:
47
55
 
48
56
  Files: src/sap.ui.codeeditor/src/sap/ui/codeeditor/js/ace/*
@@ -127,17 +135,17 @@ Copyright:
127
135
  License: Apache-2.0 and MIT
128
136
  Comment: these files contain content from SAP and jQuery UI 1.11: zIndex.js is overall written by SAP, but contains an implementation of the function 'fnzIndex' which is taken from jQuery UI Datepicker 1.11.1
129
137
 
130
- Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit.*
138
+ Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit.css src/sap.ui.core/src/sap/ui/thirdparty/qunit.js
131
139
  Copyright: jQuery Foundation and other contributors
132
140
  License: MIT
133
141
  Comment: these files belong to: QUnit
134
142
 
135
- Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.*
143
+ Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.css src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.js
136
144
  Copyright: jQuery Foundation and other contributors
137
145
  License: MIT
138
146
  Comment: these files belong to: QUnit 2
139
147
 
140
- Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
148
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.css src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.js
141
149
  Copyright: jQuery Foundation and other contributors
142
150
  License: MIT
143
151
  Comment: these files belong to: QUnit 2.18
@@ -159,7 +167,7 @@ Copyright:
159
167
  License: Apache-2.0 and MIT
160
168
  Comment: these files contain content from SAP and jQuery.rtl-scroll-type: _FeatureDetection.js is overall written by SAP, but contains code which is inspired by jQuery.rtl-scroll-type
161
169
 
162
- Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.*
170
+ Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.css src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.js
163
171
  Copyright: jQuery Foundation and other contributors
164
172
  License: MIT
165
173
  Comment: these files belong to: QUnit Composite
@@ -239,7 +247,7 @@ Copyright: 2010-2017, Christian Johansen, christian@cjohansen.no
239
247
  License: BSD-3-Clause
240
248
  Comment: these files belong to: SinonJS
241
249
 
242
- Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
250
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.js
243
251
  Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
244
252
  License: BSD-3-Clause
245
253
  Comment: these files belong to: SinonJS 14
@@ -313,7 +321,7 @@ Copyright: 2018 Michael Mclaughlin
313
321
  License: MIT
314
322
  Comment: these files belong to: bignumber.js
315
323
 
316
- Files: src/sap.ui.core/src/sap/ui/base/util/restricted/_/lodash.custom.js
324
+ Files: src/sap.ui.core/src/sap/base/util/restricted/_/lodash.custom.js
317
325
  Copyright: OpenJS Foundation and other contributors
318
326
  License: MIT
319
327
  Comment: these files belong to: lodash
@@ -323,7 +331,7 @@ Copyright: 2021 Mathias Nater
323
331
  License: MIT
324
332
  Comment: these files belong to: Hyphenopoly
325
333
 
326
- Files: src/sap.ui.core/src/sap/ui/base/util/restricted/_CancelablePromise.js
334
+ Files: src/sap.ui.core/src/sap/base/util/restricted/_CancelablePromise.js
327
335
  Copyright:
328
336
  Sindre Sorhus <sindresorhus@gmail.com>
329
337
  2014-present Sebastian McKenzie and other contributors
@@ -418,16 +426,6 @@ License: MIT
418
426
  Comment: these files belong to: @cfworker/json-schema
419
427
 
420
428
 
421
- # Library: sap.ui.mdc:
422
-
423
- Files: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperators/BoolExprTool.js
424
- Copyright:
425
- 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
426
- 2015 unnikked
427
- License: Apache-2.0 and MIT
428
- Comment: these files contain content from SAP and BooleanExpressionEvaluator: BoolExprTool.js is authored by SAP, but partly inspired by BooleanExpressionEvaluator
429
-
430
-
431
429
  # Library: sap.ui.webc.common:
432
430
 
433
431
  Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
@@ -448,6 +446,11 @@ Copyright: SAP
448
446
  License: Apache-2.0
449
447
  Comment: these files belong to: UI5 Web Components
450
448
 
449
+ Files: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/lib/zxing.js
450
+ Copyright: 2005 Sun Microsystems, Inc.; 2010-2014 University of Manchester; 2010-2015 Stian Soiland-Reyes; 2015 Peter Hull
451
+ License: Apache-2.0
452
+ Comment: these files belong to: ZXing
453
+
451
454
 
452
455
  # Library: sap.ui.webc.main:
453
456
 
package/THIRDPARTY.txt CHANGED
@@ -4,6 +4,15 @@ each subcomponent.
4
4
  The full text of all referenced licenses is appended at the end of this file.
5
5
 
6
6
 
7
+ Library: sap.m:
8
+
9
+ Component: purify.js, version: 2.3.8
10
+ Copyright: Mario Heiderich
11
+ License: Apache-2.0
12
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
13
+ Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
14
+
15
+
7
16
  Library: sap.ui.codeeditor:
8
17
 
9
18
  Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.13
@@ -68,19 +77,22 @@ Component: QUnit, version: 1.18.0
68
77
  Copyright: jQuery Foundation and other contributors
69
78
  License: MIT
70
79
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
71
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit.*
80
+ Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit.css
81
+ src/sap.ui.core/src/sap/ui/thirdparty/qunit.js
72
82
 
73
83
  Component: QUnit 2, version: 2.3.2
74
84
  Copyright: jQuery Foundation and other contributors
75
85
  License: MIT
76
86
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
77
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.*
87
+ Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.css
88
+ src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.js
78
89
 
79
90
  Component: QUnit 2.18, version: 2.18.0
80
91
  Copyright: jQuery Foundation and other contributors
81
92
  License: MIT
82
93
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
83
- Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
94
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.css
95
+ src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.js
84
96
 
85
97
  Component: jQuery-Migrate, version: 3.3.1
86
98
  Copyright: OpenJS Foundation and other contributors
@@ -104,7 +116,8 @@ Component: QUnit Composite, version: 1.0.2-pre
104
116
  Copyright: jQuery Foundation and other contributors
105
117
  License: MIT
106
118
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
107
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.*
119
+ Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.css
120
+ src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.js
108
121
 
109
122
  Component: JUnit Reporter for QUnit, version: 1.1.1
110
123
  Copyright: jQuery Foundation and other contributors
@@ -201,7 +214,7 @@ Component: SinonJS 14, version: 14.0.0
201
214
  Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
202
215
  License: BSD-3-Clause
203
216
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
204
- Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
217
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.js
205
218
 
206
219
  Component: Sinon-qunit, version: 2.0.0
207
220
  Copyright: 2010-2011, Christian Johansen
@@ -289,7 +302,7 @@ Component: lodash, version: 4.17.21
289
302
  Copyright: OpenJS Foundation and other contributors
290
303
  License: MIT
291
304
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
292
- Contained in: src/sap.ui.core/src/sap/ui/base/util/restricted/_/lodash.custom.js
305
+ Contained in: src/sap.ui.core/src/sap/base/util/restricted/_/lodash.custom.js
293
306
 
294
307
  Component: Hyphenopoly, version: 3.4.0
295
308
  Copyright: 2021 Mathias Nater
@@ -301,13 +314,13 @@ Component: p-cancelable, version: 2.0.0
301
314
  Copyright: Sindre Sorhus <sindresorhus@gmail.com>
302
315
  License: MIT
303
316
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
304
- Contained in: src/sap.ui.core/src/sap/ui/base/util/restricted/_CancelablePromise.js
317
+ Contained in: src/sap.ui.core/src/sap/base/util/restricted/_CancelablePromise.js
305
318
 
306
319
  Component: @babel/helpers, version: 7.10.4
307
320
  Copyright: 2014-present Sebastian McKenzie and other contributors
308
321
  License: MIT
309
322
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
310
- Contained in: src/sap.ui.core/src/sap/ui/base/util/restricted/_CancelablePromise.js
323
+ Contained in: src/sap.ui.core/src/sap/base/util/restricted/_CancelablePromise.js
311
324
 
312
325
  Component: Jalaali JS
313
326
  Copyright: Behrang Norouzinia
@@ -407,18 +420,9 @@ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
407
420
  Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/CfWorkerJsonSchemaValidator.js
408
421
 
409
422
 
410
- Library: sap.ui.mdc:
411
-
412
- Component: BooleanExpressionEvaluator, version: master-18530acbf3
413
- Copyright: 2015 unnikked
414
- License: MIT
415
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
416
- Contained in: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperators/BoolExprTool.js
417
-
418
-
419
423
  Library: sap.ui.webc.common:
420
424
 
421
- Component: UI5 Web Components, version: 1.1.2
425
+ Component: UI5 Web Components, version: 1.5.0
422
426
  Copyright: SAP
423
427
  License: Apache-2.0
424
428
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -429,7 +433,7 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
429
433
  src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
430
434
  src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
431
435
 
432
- Component: lit-html, version: 2.0.1
436
+ Component: lit-html, version: 2.2.2
433
437
  Copyright: Google LLC
434
438
  License: BSD-3-Clause
435
439
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -438,16 +442,22 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/
438
442
 
439
443
  Library: sap.ui.webc.fiori:
440
444
 
441
- Component: UI5 Web Components, version: 1.1.2
445
+ Component: UI5 Web Components, version: 1.5.0
442
446
  Copyright: SAP
443
447
  License: Apache-2.0
444
448
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
445
449
  Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/*.*
446
450
 
451
+ Component: ZXing, version: 0.19.1
452
+ Copyright: 2005 Sun Microsystems, Inc.; 2010-2014 University of Manchester; 2010-2015 Stian Soiland-Reyes; 2015 Peter Hull
453
+ License: Apache-2.0
454
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
455
+ Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/lib/zxing.js
456
+
447
457
 
448
458
  Library: sap.ui.webc.main:
449
459
 
450
- Component: UI5 Web Components, version: 1.1.2
460
+ Component: UI5 Web Components, version: 1.5.0
451
461
  Copyright: SAP
452
462
  License: Apache-2.0
453
463
  License Text: https://github.com/SAP/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.105.0",
3
+ "version": "1.106.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/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.105.0",
18
- "@openui5/sap.ui.core": "1.105.0",
19
- "@openui5/sap.ui.dt": "1.105.0",
20
- "@openui5/sap.ui.fl": "1.105.0",
21
- "@openui5/sap.ui.layout": "1.105.0"
17
+ "@openui5/sap.m": "1.106.0",
18
+ "@openui5/sap.ui.core": "1.106.0",
19
+ "@openui5/sap.ui.dt": "1.106.0",
20
+ "@openui5/sap.ui.fl": "1.106.0",
21
+ "@openui5/sap.ui.layout": "1.106.0"
22
22
  }
23
23
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.105.0</version>
9
+ <version>1.106.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library with RTA controls.</documentation>
12
12
 
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @alias sap.ui.rta.Client
58
58
  * @author SAP SE
59
59
  * @since 1.56.0
60
- * @version 1.105.0
60
+ * @version 1.106.0
61
61
  * @private
62
62
  * @ui5-restricted
63
63
  */
@@ -116,7 +116,7 @@ sap.ui.define([
116
116
  * @class The runtime authoring allows to adapt the fields of a running application.
117
117
  * @extends sap.ui.base.ManagedObject
118
118
  * @author SAP SE
119
- * @version 1.105.0
119
+ * @version 1.106.0
120
120
  * @constructor
121
121
  * @private
122
122
  * @since 1.30
@@ -257,6 +257,7 @@ sap.ui.define([
257
257
  if (window.parent !== window) {
258
258
  this.startService("receiver");
259
259
  }
260
+ this.startService("supportTools");
260
261
 
261
262
  this._loadUShellServicesPromise = FlexUtils.getUShellServices(["URLParsing", "AppLifeCycle", "CrossApplicationNavigation"])
262
263
  .then(function (mUShellServices) {
@@ -608,14 +609,20 @@ sap.ui.define([
608
609
  * isProductiveSystem should only return true if it is a test or development system with the provision of custom catalog extensions
609
610
  */
610
611
  RuntimeAuthoring.prototype._getToolbarButtonsVisibility = function() {
611
- return FeaturesAPI.isPublishAvailable().then(function(bIsPublishAvailable) {
612
- return RtaAppVariantFeature.isSaveAsAvailable(this.getRootControlInstance(), this.getLayer(), this._oSerializer).then(function(bIsSaveAsAvailable) {
613
- return {
614
- publishAvailable: bIsPublishAvailable,
615
- saveAsAvailable: bIsPublishAvailable && bIsSaveAsAvailable
616
- };
617
- });
618
- }.bind(this));
612
+ return Promise.all([
613
+ FeaturesAPI.isPublishAvailable(),
614
+ RtaAppVariantFeature.isSaveAsAvailable(this.getRootControlInstance(), this.getLayer(), this._oSerializer),
615
+ FeaturesAPI.isContextBasedAdaptationAvailable(this.getLayer())
616
+ ]).then(function(aRtaFeaturesAvailability) {
617
+ var bIsPublishAvailable = aRtaFeaturesAvailability[0];
618
+ var bIsSaveAsAvailable = aRtaFeaturesAvailability[1];
619
+ var bIsContextBasedAdaptationAvailable = aRtaFeaturesAvailability[2];
620
+ return {
621
+ publishAvailable: bIsPublishAvailable,
622
+ saveAsAvailable: bIsPublishAvailable && bIsSaveAsAvailable,
623
+ contextBasedAdaptationAvailable: bIsContextBasedAdaptationAvailable
624
+ };
625
+ });
619
626
  };
620
627
 
621
628
  RuntimeAuthoring.prototype._isOldVersionDisplayed = function() {
@@ -1125,6 +1132,7 @@ sap.ui.define([
1125
1132
  appVariantsOverviewVisible: bSaveAsAvailable && bExtendedOverview,
1126
1133
  appVariantsOverviewEnabled: bSaveAsAvailable && bExtendedOverview,
1127
1134
  saveAsVisible: bSaveAsAvailable,
1135
+ contextBasedAdaptationVisible: aButtonsVisibility.contextBasedAdaptationAvailable,
1128
1136
  saveAsEnabled: false,
1129
1137
  manageAppsVisible: bSaveAsAvailable && !bExtendedOverview,
1130
1138
  manageAppsEnabled: bSaveAsAvailable && !bExtendedOverview,
@@ -1520,10 +1528,6 @@ sap.ui.define([
1520
1528
  RuntimeAuthoring.prototype.setMode = function (sNewMode) {
1521
1529
  var sCurrentMode = this.getMode();
1522
1530
  if (sCurrentMode !== sNewMode) {
1523
- var oChangeVisualization = this.getChangeVisualization && this.getChangeVisualization();
1524
- if (sNewMode === "visualization" || sCurrentMode === "visualization") {
1525
- oChangeVisualization.triggerModeChange(this.getRootControl(), this.getToolbar());
1526
- }
1527
1531
  var oTabHandlingPlugin = this.getPluginManager().getPlugin("tabHandling");
1528
1532
  var oSelectionPlugin = this.getPluginManager().getPlugin("selection");
1529
1533
 
@@ -1533,6 +1537,14 @@ sap.ui.define([
1533
1537
  oTabHandlingPlugin[(sNewMode === "navigation") ? "restoreTabIndex" : "removeTabIndex"]();
1534
1538
  }
1535
1539
 
1540
+ var oChangeVisualization = this.getChangeVisualization && this.getChangeVisualization();
1541
+ if (sNewMode === "visualization" || sCurrentMode === "visualization") {
1542
+ DtUtil.waitForSynced(this._oDesignTime)()
1543
+ .then(function () {
1544
+ return oChangeVisualization.triggerModeChange(this.getRootControl(), this.getToolbar());
1545
+ }.bind(this));
1546
+ }
1547
+
1536
1548
  if (sCurrentMode === "adaptation") {
1537
1549
  this.getPluginManager().handleStopCutPaste();
1538
1550
  }
@@ -45,7 +45,7 @@ function(
45
45
  *
46
46
  * @namespace
47
47
  * @author SAP SE
48
- * @version 1.105.0
48
+ * @version 1.106.0
49
49
  *
50
50
  * @private
51
51
  * @since 1.30
@@ -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.105.0
27
+ * @version 1.106.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.53
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  * @author SAP SE
19
- * @version 1.105.0
19
+ * @version 1.106.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.75
@@ -14,7 +14,7 @@ sap.ui.define([
14
14
  * @class
15
15
  * @extends sap.ui.rta.command.FlexCommand
16
16
  * @author SAP SE
17
- * @version 1.105.0
17
+ * @version 1.106.0
18
18
  * @constructor
19
19
  * @private
20
20
  * @since 1.78
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  * @author SAP SE
19
- * @version 1.105.0
19
+ * @version 1.106.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.54
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @class
25
25
  * @extends sap.ui.rta.command.FlexCommand
26
26
  * @author SAP SE
27
- * @version 1.105.0
27
+ * @version 1.106.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.76
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.rta.command.BaseCommand
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.105.0
24
+ * @version 1.106.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/base/ManagedObject"], function(ManagedObject) {
13
13
  * @extends sap.ui.base.ManagedObject
14
14
  *
15
15
  * @author SAP SE
16
- * @version 1.105.0
16
+ * @version 1.106.0
17
17
  *
18
18
  * @constructor
19
19
  * @private
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @class
27
27
  * @extends sap.ui.rta.command.FlexCommand
28
28
  * @author SAP SE
29
- * @version 1.105.0
29
+ * @version 1.106.0
30
30
  * @constructor
31
31
  * @private
32
32
  * @since 1.38
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  * @author SAP SE
19
- * @version 1.105.0
19
+ * @version 1.106.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.46
@@ -485,7 +485,7 @@ sap.ui.define([
485
485
  * @extends sap.ui.base.ManagedObject
486
486
  *
487
487
  * @author SAP SE
488
- * @version 1.105.0
488
+ * @version 1.106.0
489
489
  *
490
490
  * @constructor
491
491
  * @private
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.rta.command.BaseCommand
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.105.0
24
+ * @version 1.106.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -96,10 +96,12 @@ sap.ui.define([
96
96
  if (!this._sCompositeId) {
97
97
  this._sCompositeId = FlUtils.createDefaultFileName("composite");
98
98
  }
99
- if (oCommand.getPreparedChange && oCommand.getPreparedChange()) {
100
- var oChangeDefinition = oCommand.getPreparedChange().getDefinition();
101
- if (!oChangeDefinition.support.compositeCommand) {
102
- oChangeDefinition.support.compositeCommand = this._sCompositeId;
99
+ var oPreparedChange = oCommand.getPreparedChange && oCommand.getPreparedChange();
100
+ if (oPreparedChange) {
101
+ var oChangeSupportInformation = oPreparedChange.getSupportInformation();
102
+ if (!oChangeSupportInformation.compositeCommand) {
103
+ oChangeSupportInformation.compositeCommand = this._sCompositeId;
104
+ oPreparedChange.setSupportInformation(oChangeSupportInformation);
103
105
  }
104
106
  } else if (oCommand.setCompositeId) {
105
107
  // relevant for app descriptor commands
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @class
23
23
  * @extends sap.ui.rta.command.BaseCommand
24
24
  * @author SAP SE
25
- * @version 1.105.0
25
+ * @version 1.106.0
26
26
  * @constructor
27
27
  * @private
28
28
  * @since 1.52
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @class
21
21
  * @extends sap.ui.rta.command.BaseCommand
22
22
  * @author SAP SE
23
- * @version 1.105.0
23
+ * @version 1.106.0
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.86
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @class
27
27
  * @extends sap.ui.rta.command.BaseCommand
28
28
  * @author SAP SE
29
- * @version 1.105.0
29
+ * @version 1.106.0
30
30
  * @constructor
31
31
  * @private
32
32
  * @since 1.86
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @class
18
18
  * @extends sap.ui.rta.command.BaseCommand
19
19
  * @author SAP SE
20
- * @version 1.105.0
20
+ * @version 1.106.0
21
21
  * @constructor
22
22
  * @private
23
23
  * @since 1.50
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @class
21
21
  * @extends sap.ui.rta.command.BaseCommand
22
22
  * @author SAP SE
23
- * @version 1.105.0
23
+ * @version 1.106.0
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.50
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.105.0
15
+ * @version 1.106.0
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.34
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.105.0
15
+ * @version 1.106.0
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.62
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.rta.command.BaseCommand
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.105.0
34
+ * @version 1.106.0
35
35
  *
36
36
  * @constructor
37
37
  * @private
@@ -217,7 +217,7 @@ sap.ui.define([
217
217
  // ATTENTION! the change gets applied as soon as the parent is available, so there might be possible side effects with lazy loading
218
218
  if (mFlexSettings && mFlexSettings.originalSelector) {
219
219
  oChange.addDependentControl(mFlexSettings.originalSelector, "originalSelector", {modifier: JsControlTreeModifier, appComponent: this.getAppComponent()});
220
- oChange.getDefinition().selector = Object.assign(oChange.getDefinition().selector, JsControlTreeModifier.getSelector(this.getSelector().id, this.getAppComponent()));
220
+ oChange.setSelector(Object.assign(oChange.getSelector(), JsControlTreeModifier.getSelector(this.getSelector().id, this.getAppComponent())));
221
221
  oChange.setContent(Object.assign({}, oChange.getContent(), mFlexSettings.content));
222
222
  }
223
223
  return oChange;
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @class
30
30
  * @extends sap.ui.base.ManagedObject
31
31
  * @author SAP SE
32
- * @version 1.105.0
32
+ * @version 1.106.0
33
33
  * @constructor
34
34
  * @private
35
35
  * @since 1.42
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @class
21
21
  * @extends sap.ui.rta.command.BaseCommand
22
22
  * @author SAP SE
23
- * @version 1.105.0
23
+ * @version 1.106.0
24
24
  * @constructor
25
25
  * @private
26
26
  * @since 1.90
@@ -17,7 +17,7 @@ function(
17
17
  * @class
18
18
  * @extends sap.ui.rta.command.FlexCommand
19
19
  * @author SAP SE
20
- * @version 1.105.0
20
+ * @version 1.106.0
21
21
  * @constructor
22
22
  * @private
23
23
  * @since 1.34
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class
17
17
  * @extends sap.ui.rta.command.FlexCommand
18
18
  * @author SAP SE
19
- * @version 1.105.0
19
+ * @version 1.106.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.34
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.105.0
15
+ * @version 1.106.0
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.42
@@ -12,7 +12,7 @@ sap.ui.define(["sap/ui/rta/command/FlexCommand"], function(FlexCommand) {
12
12
  * @class
13
13
  * @extends sap.ui.rta.command.FlexCommand
14
14
  * @author SAP SE
15
- * @version 1.105.0
15
+ * @version 1.106.0
16
16
  * @constructor
17
17
  * @private
18
18
  * @since 1.34