@openui5/sap.ui.core 1.107.1 → 1.108.1

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 (287) hide show
  1. package/.dtsgenrc +63 -0
  2. package/THIRDPARTY.txt +1 -1
  3. package/package.json +1 -1
  4. package/src/jquery.sap.global.js +1 -1
  5. package/src/jquery.sap.properties.js +1 -1
  6. package/src/jquery.sap.resources.js +1 -1
  7. package/src/jquery.sap.script.js +1 -1
  8. package/src/jquery.sap.storage.js +3 -3
  9. package/src/sap/base/i18n/ResourceBundle.js +10 -0
  10. package/src/sap/base/security/URLListValidator.js +36 -3
  11. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  12. package/src/sap/base/util/restricted/_castArray.js +1 -1
  13. package/src/sap/base/util/restricted/_compact.js +1 -1
  14. package/src/sap/base/util/restricted/_curry.js +1 -1
  15. package/src/sap/base/util/restricted/_debounce.js +1 -1
  16. package/src/sap/base/util/restricted/_difference.js +1 -1
  17. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  18. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  19. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  20. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  21. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  22. package/src/sap/base/util/restricted/_flatten.js +1 -1
  23. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  24. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  25. package/src/sap/base/util/restricted/_intersection.js +1 -1
  26. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  27. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  28. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  29. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  30. package/src/sap/base/util/restricted/_isNil.js +1 -1
  31. package/src/sap/base/util/restricted/_max.js +1 -1
  32. package/src/sap/base/util/restricted/_merge.js +1 -1
  33. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  34. package/src/sap/base/util/restricted/_min.js +1 -1
  35. package/src/sap/base/util/restricted/_omit.js +1 -1
  36. package/src/sap/base/util/restricted/_pick.js +1 -1
  37. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  38. package/src/sap/base/util/restricted/_throttle.js +1 -1
  39. package/src/sap/base/util/restricted/_toArray.js +1 -1
  40. package/src/sap/base/util/restricted/_union.js +1 -1
  41. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  42. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  43. package/src/sap/base/util/restricted/_uniq.js +1 -1
  44. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  45. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  46. package/src/sap/base/util/restricted/_without.js +1 -1
  47. package/src/sap/base/util/restricted/_xor.js +1 -1
  48. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  49. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  50. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  51. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  52. package/src/sap/ui/Device.js +3 -3
  53. package/src/sap/ui/Global.js +4 -4
  54. package/src/sap/ui/base/Event.js +1 -1
  55. package/src/sap/ui/base/EventProvider.js +1 -1
  56. package/src/sap/ui/base/Interface.js +1 -1
  57. package/src/sap/ui/base/ManagedObject.js +2 -2
  58. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  59. package/src/sap/ui/base/Metadata.js +1 -1
  60. package/src/sap/ui/base/Object.js +1 -1
  61. package/src/sap/ui/base/ObjectPool.js +1 -1
  62. package/src/sap/ui/core/.library +50 -50
  63. package/src/sap/ui/core/BusyIndicator.js +1 -1
  64. package/src/sap/ui/core/BusyIndicatorUtils.js +22 -8
  65. package/src/sap/ui/core/Component.js +21 -4
  66. package/src/sap/ui/core/ComponentContainer.js +5 -1
  67. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  68. package/src/sap/ui/core/ComponentSupport.js +1 -1
  69. package/src/sap/ui/core/Configuration.js +2 -15
  70. package/src/sap/ui/core/Control.js +20 -2
  71. package/src/sap/ui/core/Core.js +311 -413
  72. package/src/sap/ui/core/CustomData.js +1 -1
  73. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  74. package/src/sap/ui/core/Element.js +1 -1
  75. package/src/sap/ui/core/ElementMetadata.js +1 -1
  76. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  77. package/src/sap/ui/core/EventBus.js +1 -1
  78. package/src/sap/ui/core/FocusHandler.js +12 -14
  79. package/src/sap/ui/core/Fragment.js +5 -2
  80. package/src/sap/ui/core/HTML.js +1 -1
  81. package/src/sap/ui/core/History.js +1 -1
  82. package/src/sap/ui/core/Icon.js +1 -1
  83. package/src/sap/ui/core/IconPool.js +7 -1
  84. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  85. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  86. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  87. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  88. package/src/sap/ui/core/InvisibleText.js +1 -1
  89. package/src/sap/ui/core/Item.js +1 -1
  90. package/src/sap/ui/core/LabelEnablement.js +1 -1
  91. package/src/sap/ui/core/LayoutData.js +1 -1
  92. package/src/sap/ui/core/ListItem.js +1 -1
  93. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  94. package/src/sap/ui/core/Locale.js +1 -1
  95. package/src/sap/ui/core/LocaleData.js +1 -1
  96. package/src/sap/ui/core/Manifest.js +16 -83
  97. package/src/sap/ui/core/Message.js +1 -1
  98. package/src/sap/ui/core/Popup.js +14 -4
  99. package/src/sap/ui/core/RenderManager.js +111 -109
  100. package/src/sap/ui/core/Renderer.js +1 -1
  101. package/src/sap/ui/core/ResizeHandler.js +1 -1
  102. package/src/sap/ui/core/ScrollBar.js +1 -1
  103. package/src/sap/ui/core/SeparatorItem.js +1 -1
  104. package/src/sap/ui/core/ShortcutHintsMixin.js +20 -0
  105. package/src/sap/ui/core/Title.js +1 -1
  106. package/src/sap/ui/core/TooltipBase.js +1 -1
  107. package/src/sap/ui/core/UIArea.js +4 -2
  108. package/src/sap/ui/core/UIComponent.js +1 -1
  109. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  110. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  111. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  112. package/src/sap/ui/core/XMLComposite.js +1 -1
  113. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  114. package/src/sap/ui/core/_IconRegistry.js +11 -7
  115. package/src/sap/ui/core/_UrlResolver.js +139 -0
  116. package/src/sap/ui/core/date/CalendarUtils.js +87 -0
  117. package/src/sap/ui/core/date/CalendarWeekNumbering.js +73 -0
  118. package/src/sap/ui/core/date/UniversalDate.js +198 -74
  119. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  120. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  121. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  122. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  123. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  124. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  125. package/src/sap/ui/core/format/DateFormat.js +187 -57
  126. package/src/sap/ui/core/format/NumberFormat.js +64 -23
  127. package/src/sap/ui/core/format/TimezoneUtil.js +3 -1
  128. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  129. package/src/sap/ui/core/library.js +19 -10
  130. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  131. package/src/sap/ui/core/message/Message.js +5 -3
  132. package/src/sap/ui/core/message/MessageManager.js +1 -1
  133. package/src/sap/ui/core/message/MessageParser.js +1 -1
  134. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  135. package/src/sap/ui/core/messagebundle_fr.properties +1 -1
  136. package/src/sap/ui/core/mvc/HTMLView.js +10 -2
  137. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  138. package/src/sap/ui/core/mvc/JSView.js +1 -1
  139. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  140. package/src/sap/ui/core/mvc/View.js +1 -1
  141. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  142. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  143. package/src/sap/ui/core/plugin/LessSupport.js +21 -20
  144. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  145. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  146. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  147. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  148. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  149. package/src/sap/ui/core/service/Service.js +1 -1
  150. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  151. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  152. package/src/sap/ui/core/support/Plugin.js +1 -1
  153. package/src/sap/ui/core/support/Support.js +1 -1
  154. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  155. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  156. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  157. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  158. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  159. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  160. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  161. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  162. package/src/sap/ui/core/themes/base/LocalBusyIndicator.less +3 -3
  163. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  164. package/src/sap/ui/core/theming/Parameters.js +31 -12
  165. package/src/sap/ui/core/theming/ThemeHelper.js +56 -1
  166. package/src/sap/ui/core/theming/ThemeManager.js +817 -0
  167. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  168. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  169. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  170. package/src/sap/ui/core/tmpl/Template.js +1 -1
  171. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  172. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  173. package/src/sap/ui/core/util/Export.js +1 -1
  174. package/src/sap/ui/core/util/ExportCell.js +1 -1
  175. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  176. package/src/sap/ui/core/util/ExportRow.js +1 -1
  177. package/src/sap/ui/core/util/ExportType.js +1 -1
  178. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  179. package/src/sap/ui/core/util/File.js +1 -1
  180. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  181. package/src/sap/ui/core/util/MockServer.js +1 -1
  182. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  183. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +2 -1
  184. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  185. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  186. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  187. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  188. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  189. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  190. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  191. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  192. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  193. package/src/sap/ui/debug/ControlTree.js +1 -1
  194. package/src/sap/ui/debug/DebugEnv.js +1 -1
  195. package/src/sap/ui/debug/PropertyList.js +1 -1
  196. package/src/sap/ui/dom/getFirstEditableInput.js +25 -6
  197. package/src/sap/ui/dom/includeStylesheet.js +2 -2
  198. package/src/sap/ui/model/ClientListBinding.js +11 -4
  199. package/src/sap/ui/model/ClientModel.js +1 -1
  200. package/src/sap/ui/model/ClientTreeBinding.js +60 -5
  201. package/src/sap/ui/model/CompositeDataState.js +1 -1
  202. package/src/sap/ui/model/CompositeType.js +1 -1
  203. package/src/sap/ui/model/DataState.js +1 -1
  204. package/src/sap/ui/model/Filter.js +6 -6
  205. package/src/sap/ui/model/MetaModel.js +1 -1
  206. package/src/sap/ui/model/Model.js +1 -1
  207. package/src/sap/ui/model/SelectionModel.js +1 -1
  208. package/src/sap/ui/model/SimpleType.js +1 -1
  209. package/src/sap/ui/model/Sorter.js +6 -4
  210. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  211. package/src/sap/ui/model/TreeBinding.js +18 -0
  212. package/src/sap/ui/model/TreeBindingCompatibilityAdapter.js +1 -1
  213. package/src/sap/ui/model/Type.js +1 -1
  214. package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +28 -34
  215. package/src/sap/ui/model/controlhelper/TreeBindingProxy.js +590 -0
  216. package/src/sap/ui/model/json/JSONModel.js +1 -1
  217. package/src/sap/ui/model/message/MessageModel.js +1 -1
  218. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  219. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  220. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  221. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  222. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  223. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  224. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  225. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  226. package/src/sap/ui/model/odata/type/Date.js +1 -1
  227. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  228. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  229. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  230. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  231. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  232. package/src/sap/ui/model/odata/type/Double.js +1 -1
  233. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  234. package/src/sap/ui/model/odata/type/Int.js +1 -1
  235. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  236. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  237. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  238. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  239. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  240. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  241. package/src/sap/ui/model/odata/type/Single.js +1 -1
  242. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  243. package/src/sap/ui/model/odata/type/String.js +1 -1
  244. package/src/sap/ui/model/odata/type/Time.js +1 -1
  245. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  246. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  247. package/src/sap/ui/model/odata/v2/BatchMode.js +2 -2
  248. package/src/sap/ui/model/odata/v2/Context.js +169 -4
  249. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  250. package/src/sap/ui/model/odata/v2/ODataListBinding.js +39 -17
  251. package/src/sap/ui/model/odata/v2/ODataModel.js +219 -82
  252. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  253. package/src/sap/ui/model/odata/v4/Context.js +35 -22
  254. package/src/sap/ui/model/odata/v4/ODataBinding.js +28 -22
  255. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +6 -6
  256. package/src/sap/ui/model/odata/v4/ODataListBinding.js +111 -89
  257. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +5 -4
  258. package/src/sap/ui/model/odata/v4/ODataModel.js +84 -46
  259. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +19 -20
  260. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +3 -3
  261. package/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js +1 -1
  262. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +12 -5
  263. package/src/sap/ui/model/odata/v4/lib/_Cache.js +130 -64
  264. package/src/sap/ui/model/odata/v4/lib/_Helper.js +1 -1
  265. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +56 -15
  266. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  267. package/src/sap/ui/model/type/Boolean.js +1 -1
  268. package/src/sap/ui/model/type/Currency.js +1 -1
  269. package/src/sap/ui/model/type/Date.js +1 -1
  270. package/src/sap/ui/model/type/DateInterval.js +1 -1
  271. package/src/sap/ui/model/type/DateTime.js +1 -1
  272. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  273. package/src/sap/ui/model/type/FileSize.js +1 -1
  274. package/src/sap/ui/model/type/Float.js +1 -1
  275. package/src/sap/ui/model/type/Integer.js +1 -1
  276. package/src/sap/ui/model/type/String.js +1 -1
  277. package/src/sap/ui/model/type/Time.js +1 -1
  278. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  279. package/src/sap/ui/model/type/Unit.js +1 -1
  280. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  281. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  282. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  283. package/src/sap/ui/test/TestUtils.js +20 -0
  284. package/src/sap/ui/test/generic/TestBase.js +1 -1
  285. package/src/sap/ui/thirdparty/mobify-carousel.js +0 -4
  286. package/src/sap/ui/util/Storage.js +1 -1
  287. package/src/sap/ui/core/ThemeCheck.js +0 -389
@@ -29,7 +29,7 @@ sap.ui.define(['sap/ui/core/message/MessageProcessor'],
29
29
  * @extends sap.ui.core.message.MessageProcessor
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.107.1
32
+ * @version 1.108.1
33
33
  *
34
34
  * @public
35
35
  * @alias sap.ui.core.message.ControlMessageProcessor
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.base.Object
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.107.1
38
+ * @version 1.108.1
39
39
  *
40
40
  * @param {object} [mParameters] a map which contains the following parameter properties:
41
41
  * @param {string} [mParameters.id] The message id: will be generated if no id is set
@@ -293,7 +293,8 @@ sap.ui.define([
293
293
  *
294
294
  * @param {string} sTarget The message target
295
295
  *
296
- * @deprecated As a message may have multiple targets, use {@link #setTargets} instead
296
+ * @deprecated since 1.79.0; As a message may have multiple targets, use {@link #setTargets}
297
+ * instead
297
298
  * @public
298
299
  */
299
300
  Message.prototype.setTarget = function(sTarget) {
@@ -305,7 +306,8 @@ sap.ui.define([
305
306
  *
306
307
  * @returns {string} The message target
307
308
  *
308
- * @deprecated As a message may have multiple targets, use {@link #getTargets} instead
309
+ * @deprecated since 1.79.0; As a message may have multiple targets, use {@link #getTargets}
310
+ * instead
309
311
  * @public
310
312
  */
311
313
  Message.prototype.getTarget = function() {
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.ui.base.EventProvider
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.107.1
39
+ * @version 1.108.1
40
40
  *
41
41
  * @public
42
42
  * @alias sap.ui.core.message.MessageManager
@@ -24,7 +24,7 @@ sap.ui.define(["sap/ui/base/Object", "sap/base/Log"],
24
24
  * @extends sap.ui.base.Object
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.107.1
27
+ * @version 1.108.1
28
28
  * @public
29
29
  * @abstract
30
30
  * @alias sap.ui.core.message.MessageParser
@@ -27,7 +27,7 @@ sap.ui.define(['sap/ui/base/EventProvider', "sap/base/util/uid"],
27
27
  * @extends sap.ui.base.EventProvider
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.107.1
30
+ * @version 1.108.1
31
31
  *
32
32
  * @public
33
33
  * @alias sap.ui.core.message.MessageProcessor
@@ -146,7 +146,7 @@ Icon.back-to-top=Au d\u00E9part
146
146
  Icon.collapse=R\u00E9duire
147
147
  Icon.collapse-group=R\u00E9duire groupe
148
148
  Icon.crop=Rogner
149
- Icon.decline=Refuser
149
+ Icon.decline=Fermer
150
150
  Icon.delete=Supprimer
151
151
  Icon.display=Afficher
152
152
  Icon.down=Vers le bas
@@ -43,15 +43,23 @@ sap.ui.define([
43
43
  * @extends sap.ui.core.mvc.View
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.107.1
46
+ * @version 1.108.1
47
47
  *
48
48
  * @public
49
49
  * @since 1.9.2
50
50
  * @alias sap.ui.core.mvc.HTMLView
51
+ * @deprecated Since version 1.108, as there are no more known usages of <code>HTMLViews</code>,
52
+ * and as the use of HTML as syntax does not bring any advantages over XML. The HTML necessary for
53
+ * the <code>HTMLView</code> is not re-used for the HTML of the controls, but is fully replaced.
54
+ *
55
+ * Consider using {@link sap.ui.core.mvx.XMLView XMLViews} or "typed views" (view classes
56
+ * written in JavaScript) instead. For more information, see the documentation on
57
+ * {@link topic:91f27e3e6f4d1014b6dd926db0e91070 View types}.
51
58
  */
52
59
  var HTMLView = View.extend("sap.ui.core.mvc.HTMLView", /** @lends sap.ui.core.mvc.HTMLView.prototype */ {
53
60
  metadata : {
54
- library : "sap.ui.core"
61
+ library : "sap.ui.core",
62
+ deprecated: true
55
63
  },
56
64
  renderer: HTMLViewRenderer
57
65
  });
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @class
44
44
  * A View defined using JSON.
45
45
  * @extends sap.ui.core.mvc.View
46
- * @version 1.107.1
46
+ * @version 1.108.1
47
47
  *
48
48
  * @public
49
49
  * @alias sap.ui.core.mvc.JSONView
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @param {object} [mSettings] initial settings for the new control
28
28
  *
29
29
  * @extends sap.ui.core.mvc.View
30
- * @version 1.107.1
30
+ * @version 1.108.1
31
31
  * @deprecated Since 1.90. Instead use {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed Views}
32
32
  * by defining the view class with {@link sap.ui.core.mvc.View.extend View.extend} and
33
33
  * creating the view instances with {@link sap.ui.core.mvc.View.create View.create}.
@@ -29,7 +29,7 @@ function(View, TemplateViewRenderer, ViewType, Log) {
29
29
  * @extends sap.ui.core.mvc.View
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.107.1
32
+ * @version 1.108.1
33
33
  *
34
34
  * @public
35
35
  * @deprecated Since version 1.56.0, use {@link sap.ui.core.mvc.XMLView} in combination with
@@ -147,7 +147,7 @@ sap.ui.define([
147
147
  * The default implementation of this method returns <code>false</code>.
148
148
  *
149
149
  * @extends sap.ui.core.Control
150
- * @version 1.107.1
150
+ * @version 1.108.1
151
151
  *
152
152
  * @public
153
153
  * @alias sap.ui.core.mvc.View
@@ -108,7 +108,7 @@ sap.ui.define([
108
108
  * bound content aggregation. An error will be thrown when the above combination is detected.
109
109
  *
110
110
  * @extends sap.ui.core.mvc.View
111
- * @version 1.107.1
111
+ * @version 1.108.1
112
112
  *
113
113
  * @public
114
114
  * @alias sap.ui.core.mvc.XMLView
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @see sap.ui.core.DeclarativeSupport
22
22
  * @public
23
23
  * @since 1.7.0
24
- * @version 1.107.1
24
+ * @version 1.108.1
25
25
  * @alias sap.ui.core.plugin.DeclarativeSupport
26
26
  */
27
27
  var DeclarativeSupportPlugin = function() {
@@ -19,15 +19,19 @@
19
19
  // Provides class sap.ui.core.plugin.LessSupport
20
20
  sap.ui.define('sap/ui/core/plugin/LessSupport', [
21
21
  'sap/ui/thirdparty/jquery',
22
- 'sap/ui/core/ThemeCheck',
22
+ 'sap/ui/core/theming/ThemeManager',
23
+ 'sap/ui/core/theming/ThemeHelper',
24
+ 'sap/ui/core/Configuration',
23
25
  'sap/base/Log',
24
26
  'sap/base/util/syncFetch',
25
27
  'sap/base/util/UriParameters',
26
28
  'sap/ui/core/Core' // provides sap.ui.getCore()
27
- ], function(jQuery, ThemeCheck, Log, syncFetch, UriParameters) {
29
+ ], function(jQuery, ThemeManager, ThemeHelper, Configuration, Log, syncFetch, UriParameters) {
28
30
 
29
31
  var LESS_FILENAME = "library.source";
30
32
  var CSS_FILENAME = "library";
33
+ var fnOrigIncludeLibraryTheme;
34
+ var fnOrigApplyTheme;
31
35
 
32
36
  /**
33
37
  * Creates an instance of the class <code>sap.ui.core.plugin.LessSupport</code>
@@ -38,7 +42,7 @@
38
42
  * feature - DO NOT USE IN PRODUCTIVE SCENARIOS!!
39
43
  *
40
44
  * @author Peter Muessig
41
- * @version 1.107.1
45
+ * @version 1.108.1
42
46
  * @private
43
47
  * @alias sap.ui.core.plugin.LessSupport
44
48
  */
@@ -99,12 +103,13 @@
99
103
  // include LESS
100
104
  sap.ui.requireSync("sap/ui/thirdparty/less");
101
105
 
102
- this.oCore = oCore;
103
106
  this.bActive = true;
104
107
 
105
108
  // overwrite the includeLibraryTheme/applyTheme function to inject LESS
106
- this.oCore.includeLibraryTheme = this.includeLibraryTheme.bind(this);
107
- this.oCore.applyTheme = this.applyTheme.bind(this);
109
+ fnOrigIncludeLibraryTheme = ThemeManager.includeLibraryTheme;
110
+ fnOrigApplyTheme = ThemeManager.applyTheme;
111
+ ThemeManager.includeLibraryTheme = this.includeLibraryTheme.bind(this);
112
+ ThemeManager.applyTheme = this.applyTheme.bind(this);
108
113
 
109
114
  // update the themes (only when LESS files are newer than the CSS files)
110
115
  var that = this, bUseLess = false;
@@ -128,7 +133,7 @@
128
133
  var ok = true;
129
134
  var check;
130
135
  for (var i = 0; i < aLibs.length; i++) {
131
- check = ThemeCheck.checkStyle("less:" + aLibs[i], true);
136
+ check = ThemeHelper.checkStyle("less:" + aLibs[i], true);
132
137
  if (check) {
133
138
  jQuery(document.getElementById("sap-ui-theme-" + aLibs[i])).attr("data-sap-ui-ready", "true");
134
139
  }
@@ -142,9 +147,9 @@
142
147
  }
143
148
 
144
149
  if (ok) {
145
- ThemeCheck.themeLoaded = true;
150
+ ThemeManager.themeLoaded = true;
146
151
  setTimeout(function () {
147
- oCore.fireThemeChanged({theme: oCore.sTheme});
152
+ ThemeManager.fireThemeChanged({theme: Configuration.getTheme()});
148
153
  }, 0);
149
154
  } else {
150
155
  that.iCheckThemeAppliedTimeout = setTimeout(checkThemeApplied, 100);
@@ -173,10 +178,8 @@
173
178
  jQuery(document.getElementById("less:" + sLibName)).remove();
174
179
  });
175
180
  // remove the hooks from the Core
176
- delete this.oCore.includeLibraryTheme;
177
- delete this.oCore.applyTheme;
178
- // release the Core
179
- this.oCore = null;
181
+ ThemeManager.includeLibraryTheme = fnOrigIncludeLibraryTheme;
182
+ ThemeManager.applyTheme = fnOrigApplyTheme;
180
183
  }
181
184
  };
182
185
 
@@ -220,7 +223,7 @@
220
223
  if ((pos = sLibName.indexOf("-[")) > 0) { // assumes that "-[" does not occur as part of a library name
221
224
  sLibName = sLibName.substr(0, pos);
222
225
  }
223
- var sBaseUrl = this.oCore._getThemePath(sLibName, this.oCore.sTheme);
226
+ var sBaseUrl = ThemeManager._getThemePath(sLibName, Configuration.getTheme());
224
227
 
225
228
  // check if the less file of the current theme is more up-to-date than the css file
226
229
  // or if the last modified of the less file is 0 (no last modified) we assume that it is newer
@@ -229,7 +232,7 @@
229
232
  var bUseLess = (iLessLastModified == 0 && iCssLastModified > 0) || iLessLastModified > iCssLastModified;
230
233
 
231
234
  if (!bUseLess) {
232
- var sBaseThemeUrl = this.oCore._getThemePath(sLibName, "base");
235
+ var sBaseThemeUrl = ThemeManager._getThemePath(sLibName, "base");
233
236
 
234
237
  // also check if the less file of the base theme is more up-to-date than the css file
235
238
  // or if the last modified of the less file is 0 (no last modified) we assume that it is newer
@@ -313,7 +316,7 @@
313
316
  */
314
317
  LessSupport.prototype.applyTheme = function(sThemeName, sThemeBaseUrl) {
315
318
  // execute the default behavior (referenced via global name as the local 'Core' only exposes the public API)
316
- sap.ui.core.Core.prototype.applyTheme.apply(this.oCore, arguments);
319
+ fnOrigApplyTheme.call(ThemeManager, sThemeName, sThemeBaseUrl);
317
320
  // update the created links for less support
318
321
  var that = this, bUseLess = false;
319
322
  jQuery("link[id^=sap-ui-theme-]").each(function() {
@@ -331,7 +334,7 @@
331
334
  */
332
335
  LessSupport.prototype.includeLibraryTheme = function(sLibName) {
333
336
  // execute the default behavior (referenced via global name as the local 'Core' only exposes the public API)
334
- sap.ui.core.Core.prototype.includeLibraryTheme.apply(this.oCore, arguments);
337
+ fnOrigIncludeLibraryTheme.apply(ThemeManager, arguments);
335
338
  // initialize the created link for less support
336
339
  var that = this, bUseLess = false;
337
340
  jQuery("link[id='sap-ui-theme-" + sLibName + "']").each(function() {
@@ -514,9 +517,7 @@
514
517
  */
515
518
  LessSupport.refresh = function() {
516
519
  oThis.refreshLess(true);
517
- if (oThis.oCore.oThemeCheck) {
518
- oThis.oCore.oThemeCheck.fireThemeChangedEvent(false);
519
- }
520
+ ThemeManager.checkThemeChanged();
520
521
  };
521
522
 
522
523
  return LessSupport;
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @public
22
22
  * @since 1.15.0
23
23
  * @deprecated since 1.56, use an {@link sap.ui.core.mvc.XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View} instead
24
- * @version 1.107.1
24
+ * @version 1.108.1
25
25
  * @alias sap.ui.core.plugin.TemplatingSupport
26
26
  */
27
27
  var TemplatingSupport = function() {
@@ -38,7 +38,7 @@ function (
38
38
  * @alias sap.ui.core.postmessage.Bus
39
39
  * @author SAP SE
40
40
  * @since 1.56.0
41
- * @version 1.107.1
41
+ * @version 1.108.1
42
42
  * @private
43
43
  * @ui5-restricted sap.ui.core.support, sap.ui.support, sap.ui.rta
44
44
  */
@@ -13,7 +13,7 @@ sap.ui.define(function () {
13
13
  *
14
14
  * @author SAP SE
15
15
  * @since 1.56.0
16
- * @version 1.107.1
16
+ * @version 1.108.1
17
17
  *
18
18
  * @function
19
19
  * @param {string} sMessage - Dialog message
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @class
28
28
  * A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
29
29
  * @extends sap.ui.core.search.SearchProvider
30
- * @version 1.107.1
30
+ * @version 1.108.1
31
31
  *
32
32
  * @public
33
33
  * @alias sap.ui.core.search.OpenSearchProvider
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log", 'sap/ui/core/library'],
23
23
  *
24
24
  * Do not create instances of this class, but use a concrete subclass instead.
25
25
  * @extends sap.ui.core.Element
26
- * @version 1.107.1
26
+ * @version 1.108.1
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.search.SearchProvider
@@ -71,7 +71,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/base/assert", "sap/base/Log"],
71
71
  *
72
72
  * @extends sap.ui.base.Object
73
73
  * @author SAP SE
74
- * @version 1.107.1
74
+ * @version 1.108.1
75
75
  * @alias sap.ui.core.service.Service
76
76
  * @abstract
77
77
  * @private
@@ -83,7 +83,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/service/Service', "sap/base/as
83
83
  *
84
84
  * @extends sap.ui.base.Object
85
85
  * @author SAP SE
86
- * @version 1.107.1
86
+ * @version 1.108.1
87
87
  * @alias sap.ui.core.service.ServiceFactory
88
88
  * @private
89
89
  * @ui5-restricted sap.ushell
@@ -18,7 +18,7 @@ sap.ui.define(['./ServiceFactory', "sap/base/assert"],
18
18
  * The service factory registry.
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.107.1
21
+ * @version 1.108.1
22
22
  * @alias sap.ui.core.service.ServiceFactoryRegistry
23
23
  * @private
24
24
  * @ui5-restricted sap.ushell
@@ -17,7 +17,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/ui/thirdparty/jquery", "sap/base/util/
17
17
  *
18
18
  * @abstract
19
19
  * @extends sap.ui.base.Object
20
- * @version 1.107.1
20
+ * @version 1.108.1
21
21
  * @private
22
22
  * @ui5-restricted
23
23
  * @alias sap.ui.core.support.Plugin
@@ -25,7 +25,7 @@ sap.ui.define(['sap/ui/base/EventProvider', './Plugin', "sap/base/util/UriParame
25
25
  * @class This class provides the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
26
26
  *
27
27
  * @extends sap.ui.base.EventProvider
28
- * @version 1.107.1
28
+ * @version 1.108.1
29
29
  * @private
30
30
  * @alias sap.ui.core.support.Support
31
31
  */
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * @class This class represents the ControlTree plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
59
59
  *
60
60
  * @extends sap.ui.core.support.Plugin
61
- * @version 1.107.1
61
+ * @version 1.108.1
62
62
  * @private
63
63
  * @alias sap.ui.core.support.plugins.ControlTree
64
64
  */
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * With this plugIn the performance measurements are displayed
39
39
  *
40
40
  * @extends sap.ui.core.support.Plugin
41
- * @version 1.107.1
41
+ * @version 1.108.1
42
42
  * @private
43
43
  * @alias sap.ui.core.support.plugins.Interaction
44
44
  */
@@ -15,7 +15,7 @@ sap.ui.define(['sap/ui/core/support/Plugin', "sap/base/Log"],
15
15
  * @class This class represents the LocalStorage plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
16
16
  *
17
17
  * @extends sap.ui.core.support.Plugin
18
- * @version 1.107.1
18
+ * @version 1.108.1
19
19
  * @private
20
20
  * @alias sap.ui.core.support.plugins.LocalStorage
21
21
  */
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * With this plugIn the performance measurements are displayed
57
57
  *
58
58
  * @extends sap.ui.core.support.Plugin
59
- * @version 1.107.1
59
+ * @version 1.108.1
60
60
  * @private
61
61
  * @alias sap.ui.core.support.plugins.Performance
62
62
  */
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @class This class represents the selector plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
21
21
  *
22
22
  * @extends sap.ui.core.support.Plugin
23
- * @version 1.107.1
23
+ * @version 1.108.1
24
24
  * @private
25
25
  * @alias sap.ui.core.support.plugins.Selector
26
26
  */
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @class This class represents the technical info plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
27
27
  *
28
28
  * @extends sap.ui.core.support.Plugin
29
- * @version 1.107.1
29
+ * @version 1.108.1
30
30
  * @private
31
31
  * @alias sap.ui.core.support.plugins.TechInfo
32
32
  */
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @class This class represents the trace plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
20
20
  *
21
21
  * @extends sap.ui.core.support.Plugin
22
- * @version 1.107.1
22
+ * @version 1.108.1
23
23
  * @private
24
24
  * @alias sap.ui.core.support.plugins.Trace
25
25
  */
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * Creates an instance of sap.ui.core.support.plugins.ViewInfo.
20
20
  * @class This class represents the ViewInfo plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
21
21
  * @extends sap.ui.core.support.Plugin
22
- * @version 1.107.1
22
+ * @version 1.108.1
23
23
  * @private
24
24
  * @alias sap.ui.core.support.plugins.ViewInfo
25
25
  */
@@ -63,7 +63,8 @@
63
63
  }
64
64
 
65
65
  /* Class for medium sized indicator in control overlay */
66
- .sapUiLocalBusyIndicatorSizeMedium {
66
+ .sapUiLocalBusyIndicatorSizeMedium,
67
+ .sapUiLocalBusyIndicatorSizeSection {
67
68
  font-size: @_sap_ui_core_LocalBusyIndicator_SizeMedium;
68
69
  }
69
70
 
@@ -80,6 +81,7 @@
80
81
  width: 3em;
81
82
  top: 50%;
82
83
  left: 50%;
84
+ transform: translate(-50%, -50%);
83
85
  }
84
86
 
85
87
  /* indicator bubble */
@@ -91,8 +93,6 @@
91
93
  float: left;
92
94
  margin: 0px;
93
95
  position: relative;
94
- top: -0.5em;
95
- left: -1.5em;
96
96
  text-indent: 1px;
97
97
  }
98
98
 
@@ -11,17 +11,18 @@
11
11
  */
12
12
 
13
13
  sap.ui.define([
14
+ 'sap/ui/core/Core',
15
+ 'sap/ui/core/Configuration',
14
16
  'sap/ui/thirdparty/URI',
15
17
  '../Element',
16
18
  'sap/base/util/UriParameters',
17
19
  'sap/base/Log',
18
20
  'sap/base/util/extend',
19
21
  'sap/base/util/syncFetch',
20
- 'sap/ui/core/ThemeCheck',
21
- './ThemeHelper',
22
- 'sap/ui/core/Configuration'
22
+ 'sap/ui/core/theming/ThemeManager',
23
+ './ThemeHelper'
23
24
  ],
24
- function(URI, Element, UriParameters, Log, extend, syncFetch, ThemeCheck, ThemeHelper, Configuration) {
25
+ function(Core, Configuration, URI, Element, UriParameters, Log, extend, syncFetch, ThemeManager, ThemeHelper) {
25
26
  "use strict";
26
27
 
27
28
  var syncCallBehavior = Configuration.getSyncCallBehavior();
@@ -119,7 +120,7 @@ sap.ui.define([
119
120
  function parseParameters(sId) {
120
121
  var oUrl = getThemeBaseUrlForId(sId);
121
122
 
122
- var bThemeApplied = ThemeCheck.checkStyle(sId);
123
+ var bThemeApplied = ThemeHelper.checkStyle(sId);
123
124
 
124
125
  if (!bThemeApplied) {
125
126
  Log.warning("Parameters have been requested but theme is not applied, yet.", "sap.ui.core.theming.Parameters");
@@ -302,7 +303,7 @@ sap.ui.define([
302
303
 
303
304
  forEachStyleSheet(function (sId) {
304
305
  if (bAsync) {
305
- if (ThemeCheck.checkStyle(sId)) {
306
+ if (ThemeHelper.checkStyle(sId)) {
306
307
  parseParameters(sId);
307
308
  } else {
308
309
  aParametersToLoad.push(sId);
@@ -321,7 +322,7 @@ sap.ui.define([
321
322
 
322
323
  aParametersToLoad.forEach(function (sId) {
323
324
  // Only parse parameters in case theme is already applied. Else keep parameter ID for later
324
- if (ThemeCheck.checkStyle(sId)) {
325
+ if (ThemeHelper.checkStyle(sId)) {
325
326
  parseParameters(sId);
326
327
  } else {
327
328
  aPendingThemes.push(sId);
@@ -392,6 +393,13 @@ sap.ui.define([
392
393
 
393
394
  // Sync: Fallback path for when parameter could not be found so far, library.css MIGHT be not loaded
394
395
  if (mOptions.loadPendingParameters && typeof sParamValue === "undefined" && !bAsync) {
396
+ // Include library theme in case it's not already done, since link tag for library
397
+ // is added asynchronous after initLibrary has been executed
398
+ var aAllLibrariesRequireCss = Core.getAllLibrariesRequiringCss();
399
+ aAllLibrariesRequireCss.forEach(function (oLibThemingInfo) {
400
+ ThemeManager._includeLibraryThemeAndEnsureThemeRoot(oLibThemingInfo);
401
+ });
402
+
395
403
  loadPendingLibraryParameters();
396
404
  sParamValue = getParam({
397
405
  parameterName: mOptions.parameterName,
@@ -602,7 +610,7 @@ sap.ui.define([
602
610
  var sParamName, fnAsyncCallback, bAsync, aNames, iIndex;
603
611
  var findRegisteredCallback = function (oCallbackInfo) { return oCallbackInfo.callback === fnAsyncCallback; };
604
612
 
605
- if (!sap.ui.getCore().isInitialized()) {
613
+ if (!Core.isInitialized()) {
606
614
  Log.warning("Called sap.ui.core.theming.Parameters.get() before core has been initialized. " +
607
615
  "Consider using the API only when required, e.g. onBeforeRendering.");
608
616
  }
@@ -689,9 +697,9 @@ sap.ui.define([
689
697
  }
690
698
 
691
699
  if (bAsync && fnAsyncCallback && Object.keys(vResult).length !== aNames.length) {
692
- if (!sap.ui.getCore().isThemeApplied()) {
700
+ if (!ThemeManager.themeLoaded) {
693
701
  resolveWithParameter = function () {
694
- sap.ui.getCore().detachThemeChanged(resolveWithParameter);
702
+ ThemeManager.detachEvent("ThemeChanged", resolveWithParameter);
695
703
  var vParams = this.get({ // Don't pass callback again
696
704
  name: vName.name,
697
705
  scopeElement: vName.scopeElement
@@ -708,12 +716,12 @@ sap.ui.define([
708
716
  // Check if identical callback is already registered and reregister with current parameters
709
717
  iIndex = aCallbackRegistry.findIndex(findRegisteredCallback);
710
718
  if (iIndex >= 0) {
711
- sap.ui.getCore().detachThemeChanged(aCallbackRegistry[iIndex].eventHandler);
719
+ ThemeManager.detachEvent("ThemeChanged", aCallbackRegistry[iIndex].eventHandler);
712
720
  aCallbackRegistry[iIndex].eventHandler = resolveWithParameter;
713
721
  } else {
714
722
  aCallbackRegistry.push({ callback: fnAsyncCallback, eventHandler: resolveWithParameter });
715
723
  }
716
- sap.ui.getCore().attachThemeChanged(resolveWithParameter);
724
+ ThemeManager.attachEvent("ThemeChanged", resolveWithParameter);
717
725
  return undefined; // Don't return partial result in case we expect themeChanged event.
718
726
  } else {
719
727
  Log.error("One or more parameters could not be found.", "sap.ui.core.theming.Parameters");
@@ -759,6 +767,17 @@ sap.ui.define([
759
767
  * @deprecated since 1.92
760
768
  */
761
769
  Parameters.reset = function() {
770
+ this._reset.apply(this, arguments);
771
+ };
772
+
773
+ /**
774
+ * Resets the CSS parameters which finally will reload the parameters
775
+ * the next time they are queried via the method <code>get</code>.
776
+ *
777
+ * @private
778
+ * @ui5-restricted sap.ui.core.theming
779
+ */
780
+ Parameters._reset = function() {
762
781
  // hidden parameter {boolean} bOnlyWhenNecessary
763
782
  var bOnlyWhenNecessary = arguments[0] === true;
764
783
  if ( !bOnlyWhenNecessary || Configuration.getTheme() !== sTheme ) {