@openui5/sap.ui.core 1.97.1 → 1.100.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 (441) hide show
  1. package/.eslintrc.json +92 -2
  2. package/.reuse/dep5 +25 -30
  3. package/THIRDPARTY.txt +15 -22
  4. package/package.json +1 -1
  5. package/src/jquery.sap.global.js +6 -3
  6. package/src/jquery.sap.mobile.js +29 -19
  7. package/src/jquery.sap.properties.js +1 -1
  8. package/src/jquery.sap.resources.js +1 -1
  9. package/src/jquery.sap.script.js +1 -1
  10. package/src/jquery.sap.storage.js +3 -3
  11. package/src/sap/base/Log.js +1 -1
  12. package/src/sap/base/strings/whitespaceReplacer.js +1 -1
  13. package/src/sap/base/util/LoaderExtensions.js +1 -10
  14. package/src/sap/base/util/UriParameters.js +2 -2
  15. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  16. package/src/sap/base/util/restricted/_castArray.js +1 -1
  17. package/src/sap/base/util/restricted/_compact.js +1 -1
  18. package/src/sap/base/util/restricted/_curry.js +1 -1
  19. package/src/sap/base/util/restricted/_debounce.js +1 -1
  20. package/src/sap/base/util/restricted/_difference.js +1 -1
  21. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  22. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  23. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  24. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  25. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  26. package/src/sap/base/util/restricted/_flatten.js +1 -1
  27. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  28. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  29. package/src/sap/base/util/restricted/_intersection.js +1 -1
  30. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  31. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  32. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  33. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  34. package/src/sap/base/util/restricted/_isNil.js +1 -1
  35. package/src/sap/base/util/restricted/_max.js +1 -1
  36. package/src/sap/base/util/restricted/_merge.js +1 -1
  37. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  38. package/src/sap/base/util/restricted/_min.js +1 -1
  39. package/src/sap/base/util/restricted/_omit.js +1 -1
  40. package/src/sap/base/util/restricted/_pick.js +1 -1
  41. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  42. package/src/sap/base/util/restricted/_throttle.js +1 -1
  43. package/src/sap/base/util/restricted/_toArray.js +1 -1
  44. package/src/sap/base/util/restricted/_union.js +1 -1
  45. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  46. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  47. package/src/sap/base/util/restricted/_uniq.js +1 -1
  48. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  49. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  50. package/src/sap/base/util/restricted/_without.js +1 -1
  51. package/src/sap/base/util/restricted/_xor.js +1 -1
  52. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  53. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  54. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  55. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  56. package/src/sap/ui/Device.js +80 -168
  57. package/src/sap/ui/Global.js +4 -4
  58. package/src/sap/ui/VersionInfo.js +13 -10
  59. package/src/sap/ui/base/BindingParser.js +34 -7
  60. package/src/sap/ui/base/Event.js +1 -1
  61. package/src/sap/ui/base/EventProvider.js +1 -1
  62. package/src/sap/ui/base/ExpressionParser.js +1 -1
  63. package/src/sap/ui/base/Interface.js +1 -1
  64. package/src/sap/ui/base/ManagedObject.js +48 -27
  65. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  66. package/src/sap/ui/base/ManagedObjectObserver.js +2 -0
  67. package/src/sap/ui/base/Metadata.js +1 -1
  68. package/src/sap/ui/base/Object.js +1 -1
  69. package/src/sap/ui/base/ObjectPool.js +1 -1
  70. package/src/sap/ui/core/.library +2 -2
  71. package/src/sap/ui/core/BusyIndicator.js +1 -1
  72. package/src/sap/ui/core/BusyIndicatorUtils.js +1 -1
  73. package/src/sap/ui/core/Component.js +3 -3
  74. package/src/sap/ui/core/ComponentContainer.js +1 -1
  75. package/src/sap/ui/core/ComponentMetadata.js +2 -2
  76. package/src/sap/ui/core/ComponentSupport.js +1 -1
  77. package/src/sap/ui/core/Configuration.js +82 -15
  78. package/src/sap/ui/core/Control.js +3 -2
  79. package/src/sap/ui/core/Core.js +5 -6
  80. package/src/sap/ui/core/CustomData.js +1 -1
  81. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  82. package/src/sap/ui/core/Element.js +5 -7
  83. package/src/sap/ui/core/ElementMetadata.js +1 -1
  84. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  85. package/src/sap/ui/core/EventBus.js +1 -1
  86. package/src/sap/ui/core/ExtensionPoint.js +1 -1
  87. package/src/sap/ui/core/FocusHandler.js +1 -1
  88. package/src/sap/ui/core/Fragment.js +1 -1
  89. package/src/sap/ui/core/HTML.js +1 -1
  90. package/src/sap/ui/core/HTMLRenderer.js +1 -1
  91. package/src/sap/ui/core/History.js +1 -1
  92. package/src/sap/ui/core/Icon.js +18 -5
  93. package/src/sap/ui/core/IconRenderer.js +1 -1
  94. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  95. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  96. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  97. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  98. package/src/sap/ui/core/InvisibleText.js +1 -1
  99. package/src/sap/ui/core/Item.js +1 -1
  100. package/src/sap/ui/core/LabelEnablement.js +9 -2
  101. package/src/sap/ui/core/LayoutData.js +1 -1
  102. package/src/sap/ui/core/ListItem.js +1 -1
  103. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  104. package/src/sap/ui/core/LocalBusyIndicatorRenderer.js +2 -2
  105. package/src/sap/ui/core/LocalBusyIndicatorSupport.js +1 -1
  106. package/src/sap/ui/core/Locale.js +1 -1
  107. package/src/sap/ui/core/LocaleData.js +60 -6
  108. package/src/sap/ui/core/Manifest.js +1 -1
  109. package/src/sap/ui/core/Message.js +1 -1
  110. package/src/sap/ui/core/Patcher.js +3 -3
  111. package/src/sap/ui/core/Placeholder.js +28 -28
  112. package/src/sap/ui/core/Popup.js +12 -9
  113. package/src/sap/ui/core/RenderManager.js +1 -1
  114. package/src/sap/ui/core/Renderer.js +1 -1
  115. package/src/sap/ui/core/ResizeHandler.js +1 -1
  116. package/src/sap/ui/core/ScrollBar.js +1 -1
  117. package/src/sap/ui/core/ScrollBarRenderer.js +1 -1
  118. package/src/sap/ui/core/SeparatorItem.js +1 -1
  119. package/src/sap/ui/core/Title.js +1 -1
  120. package/src/sap/ui/core/TooltipBase.js +2 -2
  121. package/src/sap/ui/core/UIArea.js +1 -1
  122. package/src/sap/ui/core/UIComponent.js +1 -1
  123. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  124. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  125. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  126. package/src/sap/ui/core/XMLComposite.js +1 -1
  127. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  128. package/src/sap/ui/core/XMLTemplateProcessor.js +7 -6
  129. package/src/sap/ui/core/_IconRegistry.js +13 -3
  130. package/src/sap/ui/core/cache/CacheManager.js +1 -1
  131. package/src/sap/ui/core/cache/LRUPersistentCache.js +2 -1
  132. package/src/sap/ui/core/cldr/en_AU.json +1 -1
  133. package/src/sap/ui/core/date/Buddhist.js +3 -3
  134. package/src/sap/ui/core/date/Japanese.js +4 -4
  135. package/src/sap/ui/core/date/UniversalDate.js +10 -0
  136. package/src/sap/ui/core/date/UniversalDateUtils.js +175 -5
  137. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  138. package/src/sap/ui/core/delegate/ScrollEnablement.js +9 -6
  139. package/src/sap/ui/core/dnd/DragAndDrop.js +21 -18
  140. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  141. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  142. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  143. package/src/sap/ui/core/dnd/DropInfo.js +3 -3
  144. package/src/sap/ui/core/format/DateFormat.js +654 -202
  145. package/src/sap/ui/core/format/DateFormatTimezoneDisplay.js +44 -0
  146. package/src/sap/ui/core/format/ListFormat.js +2 -2
  147. package/src/sap/ui/core/format/NumberFormat.js +502 -216
  148. package/src/sap/ui/core/format/TimezoneUtil.js +248 -0
  149. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  150. package/src/sap/ui/core/library.js +126 -53
  151. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  152. package/src/sap/ui/core/message/Message.js +1 -1
  153. package/src/sap/ui/core/message/MessageManager.js +1 -1
  154. package/src/sap/ui/core/message/MessageMixin.js +2 -1
  155. package/src/sap/ui/core/message/MessageParser.js +1 -1
  156. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  157. package/src/sap/ui/core/messagebundle.properties +2 -0
  158. package/src/sap/ui/core/messagebundle_ar.properties +1 -0
  159. package/src/sap/ui/core/messagebundle_bg.properties +6 -5
  160. package/src/sap/ui/core/messagebundle_ca.properties +1 -0
  161. package/src/sap/ui/core/messagebundle_cs.properties +1 -0
  162. package/src/sap/ui/core/messagebundle_cy.properties +1 -0
  163. package/src/sap/ui/core/messagebundle_da.properties +1 -0
  164. package/src/sap/ui/core/messagebundle_de.properties +2 -1
  165. package/src/sap/ui/core/messagebundle_el.properties +1 -0
  166. package/src/sap/ui/core/messagebundle_en.properties +1 -0
  167. package/src/sap/ui/core/messagebundle_en_GB.properties +1 -0
  168. package/src/sap/ui/core/messagebundle_en_US_sappsd.properties +1 -0
  169. package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +1 -0
  170. package/src/sap/ui/core/messagebundle_en_US_saptrc.properties +1 -0
  171. package/src/sap/ui/core/messagebundle_es.properties +1 -0
  172. package/src/sap/ui/core/messagebundle_es_MX.properties +1 -0
  173. package/src/sap/ui/core/messagebundle_et.properties +1 -0
  174. package/src/sap/ui/core/messagebundle_fi.properties +1 -0
  175. package/src/sap/ui/core/messagebundle_fr.properties +1 -0
  176. package/src/sap/ui/core/messagebundle_fr_CA.properties +1 -0
  177. package/src/sap/ui/core/messagebundle_hi.properties +1 -0
  178. package/src/sap/ui/core/messagebundle_hr.properties +1 -0
  179. package/src/sap/ui/core/messagebundle_hu.properties +1 -0
  180. package/src/sap/ui/core/messagebundle_id.properties +3 -2
  181. package/src/sap/ui/core/messagebundle_it.properties +2 -1
  182. package/src/sap/ui/core/messagebundle_iw.properties +1 -0
  183. package/src/sap/ui/core/messagebundle_ja.properties +1 -0
  184. package/src/sap/ui/core/messagebundle_kk.properties +1 -0
  185. package/src/sap/ui/core/messagebundle_ko.properties +2 -1
  186. package/src/sap/ui/core/messagebundle_lt.properties +1 -0
  187. package/src/sap/ui/core/messagebundle_lv.properties +2 -1
  188. package/src/sap/ui/core/messagebundle_ms.properties +1 -0
  189. package/src/sap/ui/core/messagebundle_nl.properties +1 -0
  190. package/src/sap/ui/core/messagebundle_no.properties +5 -4
  191. package/src/sap/ui/core/messagebundle_pl.properties +1 -0
  192. package/src/sap/ui/core/messagebundle_pt.properties +1 -0
  193. package/src/sap/ui/core/messagebundle_pt_PT.properties +1 -0
  194. package/src/sap/ui/core/messagebundle_ro.properties +1 -0
  195. package/src/sap/ui/core/messagebundle_ru.properties +1 -0
  196. package/src/sap/ui/core/messagebundle_sh.properties +1 -0
  197. package/src/sap/ui/core/messagebundle_sk.properties +1 -0
  198. package/src/sap/ui/core/messagebundle_sl.properties +1 -0
  199. package/src/sap/ui/core/messagebundle_sv.properties +1 -0
  200. package/src/sap/ui/core/messagebundle_th.properties +1 -0
  201. package/src/sap/ui/core/messagebundle_tr.properties +1 -0
  202. package/src/sap/ui/core/messagebundle_uk.properties +1 -0
  203. package/src/sap/ui/core/messagebundle_vi.properties +1 -0
  204. package/src/sap/ui/core/messagebundle_zh_CN.properties +1 -0
  205. package/src/sap/ui/core/messagebundle_zh_TW.properties +1 -0
  206. package/src/sap/ui/core/mvc/Controller.js +1 -1
  207. package/src/sap/ui/core/mvc/ControllerExtensionProvider.js +1 -1
  208. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  209. package/src/sap/ui/core/mvc/HTMLViewRenderer.js +1 -1
  210. package/src/sap/ui/core/mvc/JSONView.js +2 -1
  211. package/src/sap/ui/core/mvc/JSONViewRenderer.js +1 -1
  212. package/src/sap/ui/core/mvc/JSView.js +1 -1
  213. package/src/sap/ui/core/mvc/JSViewRenderer.js +1 -1
  214. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  215. package/src/sap/ui/core/mvc/TemplateViewRenderer.js +1 -1
  216. package/src/sap/ui/core/mvc/View.js +2 -1
  217. package/src/sap/ui/core/mvc/ViewRenderer.js +1 -1
  218. package/src/sap/ui/core/mvc/XMLView.js +24 -3
  219. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  220. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  221. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  222. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  223. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  224. package/src/sap/ui/core/routing/Route.js +6 -6
  225. package/src/sap/ui/core/routing/Router.js +4 -3
  226. package/src/sap/ui/core/routing/Targets.js +17 -13
  227. package/src/sap/ui/core/rules/Misc.support.js +8 -3
  228. package/src/sap/ui/core/rules/Model.support.js +95 -8
  229. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  230. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  231. package/src/sap/ui/core/service/Service.js +1 -1
  232. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  233. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  234. package/src/sap/ui/core/support/Plugin.js +1 -1
  235. package/src/sap/ui/core/support/Support.js +3 -3
  236. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  237. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  238. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  239. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  240. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  241. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  242. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  243. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  244. package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +1 -5
  245. package/src/sap/ui/core/themes/base/CommandShortcutHints.less +1 -1
  246. package/src/sap/ui/core/themes/base/base.less +1108 -35
  247. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  248. package/src/sap/ui/core/themes/base/global.less +158 -4
  249. package/src/sap/ui/core/themes/base/parameterClasses.less +21 -21
  250. package/src/sap/ui/core/themes/sap_hcb/global.less +157 -2
  251. package/src/sap/ui/core/theming/Parameters.js +22 -142
  252. package/src/sap/ui/core/theming/ThemeHelper.js +26 -37
  253. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  254. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  255. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  256. package/src/sap/ui/core/tmpl/Template.js +1 -1
  257. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  258. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  259. package/src/sap/ui/core/util/DraftEnabledMockServer.js +21 -16
  260. package/src/sap/ui/core/util/Export.js +1 -1
  261. package/src/sap/ui/core/util/ExportCell.js +1 -1
  262. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  263. package/src/sap/ui/core/util/ExportRow.js +1 -1
  264. package/src/sap/ui/core/util/ExportType.js +1 -1
  265. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  266. package/src/sap/ui/core/util/File.js +1 -1
  267. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  268. package/src/sap/ui/core/util/MockServer.js +157 -57
  269. package/src/sap/ui/core/util/PasteHelper.js +5 -5
  270. package/src/sap/ui/core/util/XMLPreprocessor.js +17 -4
  271. package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +4 -0
  272. package/src/sap/ui/core/util/reflection/JsControlTreeModifier.js +26 -16
  273. package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +1 -1
  274. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  275. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  276. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  277. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  278. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  279. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  280. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  281. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  282. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  283. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  284. package/src/sap/ui/debug/ControlTree.js +1 -1
  285. package/src/sap/ui/debug/DebugEnv.js +1 -1
  286. package/src/sap/ui/debug/LogViewer.js +2 -2
  287. package/src/sap/ui/debug/PropertyList.js +1 -1
  288. package/src/sap/ui/dom/includeStylesheet.js +8 -3
  289. package/src/sap/ui/events/jquery/EventExtension.js +1 -1
  290. package/src/sap/ui/events/jquery/EventSimulation.js +3 -13
  291. package/src/sap/ui/model/Binding.js +4 -3
  292. package/src/sap/ui/model/ClientModel.js +1 -1
  293. package/src/sap/ui/model/ClientTreeBinding.js +1 -1
  294. package/src/sap/ui/model/CompositeBinding.js +4 -1
  295. package/src/sap/ui/model/CompositeDataState.js +26 -4
  296. package/src/sap/ui/model/CompositeType.js +13 -1
  297. package/src/sap/ui/model/ContextBinding.js +1 -1
  298. package/src/sap/ui/model/DataState.js +27 -6
  299. package/src/sap/ui/model/ListBinding.js +2 -2
  300. package/src/sap/ui/model/MetaModel.js +2 -3
  301. package/src/sap/ui/model/Model.js +2 -2
  302. package/src/sap/ui/model/SelectionModel.js +1 -1
  303. package/src/sap/ui/model/SimpleType.js +1 -1
  304. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  305. package/src/sap/ui/model/Type.js +1 -1
  306. package/src/sap/ui/model/_Helper.js +22 -0
  307. package/src/sap/ui/model/analytics/AnalyticalBinding.js +68 -42
  308. package/src/sap/ui/model/analytics/ODataModelAdapter.js +2 -15
  309. package/src/sap/ui/model/base/ManagedObjectModel.js +9 -7
  310. package/src/sap/ui/model/json/JSONListBinding.js +1 -1
  311. package/src/sap/ui/model/json/JSONModel.js +15 -8
  312. package/src/sap/ui/model/json/JSONPropertyBinding.js +1 -1
  313. package/src/sap/ui/model/message/MessageListBinding.js +1 -1
  314. package/src/sap/ui/model/message/MessageModel.js +1 -1
  315. package/src/sap/ui/model/message/MessagePropertyBinding.js +1 -1
  316. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  317. package/src/sap/ui/model/odata/ODataListBinding.js +1 -1
  318. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  319. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  320. package/src/sap/ui/model/odata/ODataMetadata.js +3 -3
  321. package/src/sap/ui/model/odata/ODataModel.js +2 -2
  322. package/src/sap/ui/model/odata/ODataPropertyBinding.js +3 -1
  323. package/src/sap/ui/model/odata/ODataTreeBinding.js +1 -1
  324. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +1 -1
  325. package/src/sap/ui/model/odata/_AnnotationHelperBasics.js +1 -1
  326. package/src/sap/ui/model/odata/_AnnotationHelperExpression.js +1 -1
  327. package/src/sap/ui/model/odata/_ODataMetaModelUtils.js +1 -1
  328. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  329. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  330. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  331. package/src/sap/ui/model/odata/type/Date.js +1 -1
  332. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  333. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  334. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  335. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +346 -0
  336. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  337. package/src/sap/ui/model/odata/type/Double.js +1 -1
  338. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  339. package/src/sap/ui/model/odata/type/Int.js +1 -1
  340. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  341. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  342. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  343. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  344. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  345. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  346. package/src/sap/ui/model/odata/type/Single.js +1 -1
  347. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  348. package/src/sap/ui/model/odata/type/String.js +1 -1
  349. package/src/sap/ui/model/odata/type/Time.js +1 -1
  350. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  351. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  352. package/src/sap/ui/model/odata/type/UnitMixin.js +1 -1
  353. package/src/sap/ui/model/odata/v2/Context.js +62 -5
  354. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  355. package/src/sap/ui/model/odata/v2/ODataContextBinding.js +8 -4
  356. package/src/sap/ui/model/odata/v2/ODataListBinding.js +324 -112
  357. package/src/sap/ui/model/odata/v2/ODataModel.js +324 -94
  358. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +3 -4
  359. package/src/sap/ui/model/odata/v2/_CreatedContextsCache.js +65 -5
  360. package/src/sap/ui/model/odata/v4/AnnotationHelper.js +21 -22
  361. package/src/sap/ui/model/odata/v4/Context.js +224 -101
  362. package/src/sap/ui/model/odata/v4/ODataBinding.js +99 -55
  363. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +272 -210
  364. package/src/sap/ui/model/odata/v4/ODataListBinding.js +557 -258
  365. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +131 -100
  366. package/src/sap/ui/model/odata/v4/ODataModel.js +503 -260
  367. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +106 -138
  368. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +87 -80
  369. package/src/sap/ui/model/odata/v4/ODataUtils.js +5 -5
  370. package/src/sap/ui/model/odata/v4/SubmitMode.js +0 -1
  371. package/src/sap/ui/model/odata/v4/ValueListType.js +0 -1
  372. package/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js +20 -20
  373. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +3 -5
  374. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +5 -4
  375. package/src/sap/ui/model/odata/v4/lib/_Batch.js +21 -20
  376. package/src/sap/ui/model/odata/v4/lib/_Cache.js +322 -127
  377. package/src/sap/ui/model/odata/v4/lib/_GroupLock.js +5 -1
  378. package/src/sap/ui/model/odata/v4/lib/_Helper.js +28 -21
  379. package/src/sap/ui/model/odata/v4/lib/_MetadataConverter.js +62 -61
  380. package/src/sap/ui/model/odata/v4/lib/_MetadataRequestor.js +1 -1
  381. package/src/sap/ui/model/odata/v4/lib/_Parser.js +52 -43
  382. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +216 -51
  383. package/src/sap/ui/model/odata/v4/lib/_V2MetadataConverter.js +147 -147
  384. package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +14 -13
  385. package/src/sap/ui/model/odata/v4/lib/_V4MetadataConverter.js +66 -67
  386. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  387. package/src/sap/ui/model/resource/ResourcePropertyBinding.js +1 -1
  388. package/src/sap/ui/model/type/Boolean.js +1 -1
  389. package/src/sap/ui/model/type/Currency.js +1 -1
  390. package/src/sap/ui/model/type/Date.js +1 -1
  391. package/src/sap/ui/model/type/DateInterval.js +1 -1
  392. package/src/sap/ui/model/type/DateTime.js +1 -1
  393. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  394. package/src/sap/ui/model/type/FileSize.js +1 -1
  395. package/src/sap/ui/model/type/Float.js +1 -1
  396. package/src/sap/ui/model/type/Integer.js +1 -1
  397. package/src/sap/ui/model/type/String.js +1 -1
  398. package/src/sap/ui/model/type/Time.js +1 -1
  399. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  400. package/src/sap/ui/model/type/Unit.js +1 -1
  401. package/src/sap/ui/model/xml/XMLListBinding.js +1 -1
  402. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  403. package/src/sap/ui/model/xml/XMLPropertyBinding.js +1 -1
  404. package/src/sap/ui/performance/trace/FESR.js +1 -1
  405. package/src/sap/ui/performance/trace/FESRHelper.js +72 -0
  406. package/src/sap/ui/performance/trace/Interaction.js +6 -2
  407. package/src/sap/ui/performance/trace/Passport.js +3 -3
  408. package/src/sap/ui/qunit/qunit-2-css.js +4 -4
  409. package/src/sap/ui/qunit/qunit-css.js +4 -4
  410. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  411. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  412. package/src/sap/ui/test/BlanketReporter.js +1 -1
  413. package/src/sap/ui/test/BranchTracking.js +1 -0
  414. package/src/sap/ui/test/Opa5.js +1 -1
  415. package/src/sap/ui/test/OpaBuilder.js +7 -7
  416. package/src/sap/ui/test/TestUtils.js +12 -2
  417. package/src/sap/ui/test/_LogCollector.js +1 -1
  418. package/src/sap/ui/test/_UsageReport.js +1 -1
  419. package/src/sap/ui/test/actions/Action.js +4 -2
  420. package/src/sap/ui/test/actions/Press.js +51 -2
  421. package/src/sap/ui/test/autowaiter/_XHRWaiter.js +1 -1
  422. package/src/sap/ui/test/generic/GenericTestCollection.js +176 -0
  423. package/src/sap/ui/test/generic/TestBase.js +151 -0
  424. package/src/sap/ui/test/generic/Utils.js +284 -0
  425. package/src/sap/ui/test/selectors/_ControlSelectorGenerator.js +9 -8
  426. package/src/sap/ui/test/selectors/_ControlSelectorValidator.js +1 -1
  427. package/src/sap/ui/test/starter/_setupAndStart.js +4 -0
  428. package/src/sap/ui/test/starter/createSuite.js +3 -3
  429. package/src/sap/ui/thirdparty/IPv6.js +1 -1
  430. package/src/sap/ui/thirdparty/SecondLevelDomains.js +1 -1
  431. package/src/sap/ui/thirdparty/URI.js +7 -3
  432. package/src/sap/ui/thirdparty/URITemplate.js +1 -1
  433. package/src/sap/ui/thirdparty/jquery-mobile-custom.js +3 -6
  434. package/src/sap/ui/thirdparty/jqueryui/jquery-ui-datepicker.js +143 -3
  435. package/src/sap/ui/thirdparty/jqueryui/jquery-ui-position.js +8 -1
  436. package/src/sap/ui/thirdparty/jszip.js +17 -7
  437. package/src/sap/ui/thirdparty/mobify-carousel.js +1 -1
  438. package/src/sap/ui/util/Mobile.js +17 -0
  439. package/src/sap/ui/util/Storage.js +1 -1
  440. package/src/sap/ui/util/XMLHelper.js +53 -30
  441. package/src/ui5loader.js +4 -4
package/.eslintrc.json CHANGED
@@ -18,8 +18,73 @@
18
18
  "test/sap/ui/core/qunit/odata/v4/**/*.js"
19
19
  ],
20
20
  "rules": {
21
- "consistent-return": "off",
22
- "no-unused-vars": ["error", {"argsIgnorePattern": "^_", "args": "all"}]
21
+ "consistent-return": "off", // override "warn"
22
+ "max-len": ["error", {
23
+ "code": 100,
24
+ "ignorePattern": "@param|@returns|<",
25
+ "ignoreUrls": true
26
+ }],
27
+ "no-mixed-spaces-and-tabs": "error", // override "smart-tabs"
28
+ "no-unused-vars": ["error", {"argsIgnorePattern": "^_", "args": "all"}],
29
+
30
+ // stylistic (JIRA: CPOUI5ODATAV4-1325)
31
+ // {"multiline": true} doesn't match our style
32
+ "array-bracket-newline": ["error", "consistent"],
33
+ "array-bracket-spacing": "error",
34
+ "block-spacing": "error",
35
+ "comma-spacing": "error",
36
+ "comma-style": ["error", "last"],
37
+ "computed-property-spacing": "error",
38
+ "eol-last": "error",
39
+ "implicit-arrow-linebreak": "error", // let's see...
40
+ "jsx-quotes": "error", // let's see...
41
+ "key-spacing": ["error", {"beforeColon": true}],
42
+ "lines-between-class-members": "error",
43
+ "no-lonely-if": "error", // override "warn"
44
+ "no-multiple-empty-lines": ["error", {"max": 1}],
45
+ "no-multi-spaces": "error",
46
+ "no-tabs": ["error", {"allowIndentationTabs": true}],
47
+ "no-unneeded-ternary": ["error", {"defaultAssignment": false}],
48
+ "no-whitespace-before-property": "error",
49
+ "nonblock-statement-body-position": "error", // @see "curly": ["error", "all"]
50
+ // "multiline" doesn't match our style
51
+ "object-curly-newline": ["error", {"consistent": true}],
52
+ "object-curly-spacing": "error",
53
+ "one-var": "error", // let's see how this fits let, const, require
54
+ "one-var-declaration-per-line": ["error", "initializations"],
55
+ "operator-assignment": "error",
56
+ "operator-linebreak": ["error", "before"],
57
+ "padded-blocks": ["error", "never"],
58
+ "padding-line-between-statements": ["error",
59
+ {"blankLine": "always", "prev": "var", "next": "*"}
60
+ // {"blankLine": "always", "prev": "*", "next": "return"} // still in discussion
61
+ ],
62
+ "quote-props": ["error", "as-needed", {"numbers": true}],
63
+ "quotes": ["error", "double", {"avoidEscape": true}],
64
+ "space-before-blocks": "error",
65
+ "space-before-function-paren": ["error", {"named": "never"}],
66
+ "space-in-parens": "error",
67
+ "switch-colon-spacing": "error"
68
+
69
+ // "array-element-newline": "off", // "consistent" doesn't match our style
70
+ // "capitalized-comments": "off", // cannot treat line & block comments differently
71
+ // "function-call-argument-newline": "off", // "consistent" doesn't match our style
72
+ // "function-paren-newline": "off", // "consistent" doesn't match our style
73
+ // "multiline-comment-style": "off", // we use both, line & block comments...
74
+ // "multiline-ternary": "off", // "always-multiline" doesn't match our style
75
+ // "newline-per-chained-call": "off", // doesn't match our style
76
+ // "prefer-exponentiation-operator": "off", // requires ES2016
77
+ // "prefer-object-spread": "off", // requires ES2018
78
+ // "sort-vars": "off", // cannot deal with Hungarian prefix :-(
79
+ // "wrap-regex": "off", // not useful
80
+ }
81
+ },
82
+ {
83
+ "files": [
84
+ "src/sap/ui/model/odata/v4/**/*.js"
85
+ ],
86
+ "rules": {
87
+ "max-statements-per-line": "error"
23
88
  }
24
89
  },
25
90
  {
@@ -32,10 +97,35 @@
32
97
  "sinon": "readonly"
33
98
  },
34
99
  "rules": {
100
+ "camelcase" : "off",
35
101
  "max-nested-callbacks": "off",
36
102
  "no-warning-comments": "off"
37
103
  }
38
104
  },
105
+ {
106
+ "files": [
107
+ "test/sap/ui/core/demokit/sample/common/**/*.js",
108
+ "test/sap/ui/core/demokit/sample/odata/v4/**/*.js",
109
+ "test/sap/ui/core/demokit/sample/ViewTemplate/types/**/*.js",
110
+ "test/sap/ui/core/demokit/tutorial/odatav4/**/*.js"
111
+ ],
112
+ "rules": {
113
+ "array-bracket-spacing": "error",
114
+ "block-spacing": "error",
115
+ "comma-spacing": "error",
116
+ "computed-property-spacing": "error",
117
+ "key-spacing": ["error", {"beforeColon": true}],
118
+ "lines-between-class-members": "error",
119
+ "no-multiple-empty-lines": "error",
120
+ "no-multi-spaces": "error",
121
+ "no-whitespace-before-property": "error",
122
+ "object-curly-spacing": "error",
123
+ "space-before-blocks": "error",
124
+ "space-before-function-paren": ["error", {"named": "never"}],
125
+ "space-in-parens": "error",
126
+ "switch-colon-spacing": "error"
127
+ }
128
+ },
39
129
  {
40
130
  "files": [
41
131
  "test/sap/ui/core/qunit/test/starter/find/*.js"
package/.reuse/dep5 CHANGED
@@ -28,7 +28,7 @@ Disclaimer: The code in this project may include calls to APIs (“API Calls”)
28
28
  # OpenUI5 code
29
29
 
30
30
  Files: *
31
- Copyright: 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
31
+ Copyright: 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
32
32
  License: Apache-2.0
33
33
 
34
34
 
@@ -60,7 +60,7 @@ Comment: these files belong to: jQuery UI
60
60
 
61
61
  Files: src/sap.ui.commons/src/sap/ui/commons/Carousel.js
62
62
  Copyright:
63
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
63
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
64
64
  Spencer Tipping
65
65
  License: Apache-2.0 and MIT
66
66
  Comment: these files contain content from SAP and jquery.fix.clone: Carousel.js is authored by SAP, but contains an improved implementation of the clone function which is taken from jquery-fix-clone
@@ -75,35 +75,35 @@ Comment: these files belong to: jQuery 3
75
75
 
76
76
  Files: src/sap.ui.core/src/sap/base/util/isPlainObject.js
77
77
  Copyright:
78
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
78
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
79
79
  OpenJS Foundation and other contributors
80
80
  License: Apache-2.0 and MIT
81
81
  Comment: these files contain content from SAP and jQuery 3: isPlainObject.js is overall written by SAP, but contains a modified implementation of jQuery.isPlainObject taken from jQuery
82
82
 
83
83
  Files: src/sap.ui.core/src/sap/base/util/_merge.js
84
84
  Copyright:
85
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
85
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
86
86
  OpenJS Foundation and other contributors
87
87
  License: Apache-2.0 and MIT
88
88
  Comment: these files contain content from SAP and jQuery 3: _merge.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
89
89
 
90
90
  Files: src/sap.ui.core/src/jquery.sap.script.js
91
91
  Copyright:
92
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
92
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
93
93
  OpenJS Foundation and other contributors
94
94
  License: Apache-2.0 and MIT
95
95
  Comment: these files contain content from SAP and jQuery 3: jquery.sap.script.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
96
96
 
97
97
  Files: src/sap.ui.core/src/sap/ui/Device.js
98
98
  Copyright:
99
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
99
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
100
100
  2011, John Resig
101
101
  License: Apache-2.0 and MIT
102
102
  Comment: these files contain content from SAP and jQuery 1: Device.js is overall written by SAP, but contains code taken from jQuery 1.7.1 (see the respective comment)
103
103
 
104
104
  Files: src/sap.ui.core/src/sap/ui/dom/jquery/Selectors.js
105
105
  Copyright:
106
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
106
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
107
107
  2014 jQuery Foundation and other contributors
108
108
  License: Apache-2.0 and MIT
109
109
  Comment: these files contain content from SAP and jQuery UI 1.8: Selectors.js is overall written by SAP, but contains code taken from jQuery UI (see the respective comments)
@@ -115,14 +115,14 @@ Comment: these files belong to: jQuery UI 1.10
115
115
 
116
116
  Files: src/sap.ui.core/src/jquery.sap.dom.js
117
117
  Copyright:
118
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
118
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
119
119
  2014 jQuery Foundation and other contributors
120
120
  License: Apache-2.0 and MIT
121
121
  Comment: these files contain content from SAP and jQuery UI 1.10: jquery.sap.dom.js is overall written by SAP, but contains code taken from jQuery UI Core (see the respective comment)
122
122
 
123
123
  Files: src/sap.ui.core/src/sap/ui/dom/jquery/zIndex.js
124
124
  Copyright:
125
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
125
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
126
126
  2014 jQuery Foundation and other contributors
127
127
  License: Apache-2.0 and MIT
128
128
  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
@@ -149,7 +149,7 @@ Comment: these files belong to: jQuery Mobile
149
149
 
150
150
  Files: src/sap.ui.core/src/sap/ui/util/_FeatureDetection.js
151
151
  Copyright:
152
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
152
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
153
153
  2012 Wei-Ko Kao
154
154
  License: Apache-2.0 and MIT
155
155
  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
@@ -281,14 +281,14 @@ Comment: these files belong to: blanket.js
281
281
 
282
282
  Files: src/sap.ui.core/src/sap/base/util/JSTokenizer.js
283
283
  Copyright:
284
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
284
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
285
285
  Douglas Crockford
286
286
  License: Apache-2.0 and LicenseRef-JSONinJSPublicDomain
287
287
  Comment: these files contain content from SAP and JSON in JS: JSTokenizer.js is overall written by SAP, but contains code has been taken from the component JSON in JavaScript (https://github.com/douglascrockford/JSON-js/blob/master/json2.js) from Douglas Crockford which is licensed under Public Domain
288
288
 
289
289
  Files: src/sap.ui.core/src/sap/ui/base/ExpressionParser.js
290
290
  Copyright:
291
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
291
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
292
292
  2010 Douglas Crockford
293
293
  License: Apache-2.0
294
294
  Comment: these files contain content from SAP and Top Down Operator Precedence: ExpressionParser.js is overall written by SAP, but contains code taken from or inspired by TDOP by Douglas Crockford (see the respective comment)
@@ -322,7 +322,7 @@ Comment: these files contain content from p-cancelable and @babel/helpers: _Canc
322
322
 
323
323
  Files: src/sap.ui.core/src/sap/ui/core/date/Persian.js
324
324
  Copyright:
325
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
325
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
326
326
  Behrang Norouzinia
327
327
  License: Apache-2.0 and MIT
328
328
  Comment: these files contain content from SAP and Jalaali JS: Persian.js is overall written by SAP, but the calculation is taken from jalaali-js
@@ -334,7 +334,7 @@ Comment: these files belong to: vkBeautify
334
334
 
335
335
  Files: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
336
336
  Copyright:
337
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
337
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
338
338
  Isaac Z. Schlueter and Contributors
339
339
  License: Apache-2.0 and ISC
340
340
  Comment: these files contain content from SAP and node-lru-cache: LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.
@@ -370,21 +370,11 @@ Comment: these files belong to: Buttons extension for DataTables
370
370
 
371
371
  # Library: sap.ui.integration:
372
372
 
373
- Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/*.*.json src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/bundle*
373
+ Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/*
374
374
  Copyright: SAP
375
375
  License: Apache-2.0
376
376
  Comment: these files belong to: UI5 Web Components
377
377
 
378
- Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/*
379
- Copyright: 2015 The Polymer Authors
380
- License: BSD-3-Clause
381
- Comment: these files belong to: Webcomponentsjs
382
-
383
- Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/Unicode-Data-Files-LICENSE.txt
384
- Copyright: 1991-2014 Unicode, Inc.
385
- License: Unicode-DFS-2015
386
- Comment: these files belong to: Unicode Common Locale Data Repository
387
-
388
378
  Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptivecards.js src/sap.ui.integration/src/sap/ui/integration/schemas/adaptive-card.json
389
379
  Copyright: 2017 Microsoft
390
380
  License: MIT
@@ -395,22 +385,27 @@ Copyright: 2017 Microsoft
395
385
  License: MIT
396
386
  Comment: these files belong to: Adaptive Cards Templating
397
387
 
388
+ Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptive-expressions.js
389
+ Copyright: Microsoft
390
+ License: MIT
391
+ Comment: these files belong to: Adaptive Expressions
392
+
398
393
  Files: src/sap.ui.integration/src/sap/ui/integration/thirdparty/markdown-it.js
399
394
  Copyright: 2014 Vitaly Puzrin, Alex Kocharin
400
395
  License: MIT
401
396
  Comment: these files belong to: Markdown-it
402
397
 
403
- Files: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
404
- Copyright: 2015-2017 Evgeny Poberezkin
398
+ Files: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/CfWorkerJsonSchemaValidator.js
399
+ Copyright: 2020 Jeremy Danyow
405
400
  License: MIT
406
- Comment: these files belong to: ajv
401
+ Comment: these files belong to: @cfworker/json-schema
407
402
 
408
403
 
409
404
  # Library: sap.ui.mdc:
410
405
 
411
406
  Files: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperators/BoolExprTool.js
412
407
  Copyright:
413
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
408
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
414
409
  2015 unnikked
415
410
  License: Apache-2.0 and MIT
416
411
  Comment: these files contain content from SAP and BooleanExpressionEvaluator: BoolExprTool.js is authored by SAP, but partly inspired by BooleanExpressionEvaluator
@@ -454,7 +449,7 @@ Comment: these files belong to: LESS
454
449
 
455
450
  Files: lib/jsdoc/ui5/plugin.js
456
451
  Copyright:
457
- 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
452
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
458
453
  2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
459
454
  License: Apache-2.0
460
455
  Comment: these files contain content from SAP and JSDoc 3: plugin.js is overall written by SAP, but contains code taken from JSDoc 3.6.7 (see the respective comments)
package/THIRDPARTY.txt CHANGED
@@ -197,7 +197,7 @@ License: BSD-3-Clause
197
197
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
198
198
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
199
199
 
200
- Component: URI.js, version: 1.19.7
200
+ Component: URI.js, version: 1.19.10
201
201
  Copyright: Rodney Rehm
202
202
  License: MIT
203
203
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -351,24 +351,11 @@ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/D
351
351
 
352
352
  Library: sap.ui.integration:
353
353
 
354
- Component: UI5 Web Components, version: 1.0.0-rc.8
354
+ Component: UI5 Web Components, version: 1.0.1
355
355
  Copyright: SAP
356
356
  License: Apache-2.0
357
357
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
358
- Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/*.*.json
359
- src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/bundle*
360
-
361
- Component: Webcomponentsjs, version: 1.0.2
362
- Copyright: 2015 The Polymer Authors
363
- License: BSD-3-Clause
364
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
365
- Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/*
366
-
367
- Component: Unicode Common Locale Data Repository
368
- Copyright: 1991-2014 Unicode, Inc.
369
- License: Unicode-DFS-2015
370
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
371
- Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/Unicode-Data-Files-LICENSE.txt
358
+ Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/*
372
359
 
373
360
  Component: Adaptive Cards, version: 2.9.0
374
361
  Copyright: 2017 Microsoft
@@ -377,23 +364,29 @@ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
377
364
  Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptivecards.js
378
365
  src/sap.ui.integration/src/sap/ui/integration/schemas/adaptive-card.json
379
366
 
380
- Component: Adaptive Cards Templating, version: 0.1.1-alpha.0
367
+ Component: Adaptive Cards Templating, version: 2.2.0
381
368
  Copyright: 2017 Microsoft
382
369
  License: MIT
383
370
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
384
371
  Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptivecards-templating.js
385
372
 
386
- Component: Markdown-it, version: 10.0.0
373
+ Component: Adaptive Expressions, version: 4.15.0
374
+ Copyright: Microsoft
375
+ License: MIT
376
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
377
+ Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptive-expressions.js
378
+
379
+ Component: Markdown-it, version: 12.2.0
387
380
  Copyright: 2014 Vitaly Puzrin, Alex Kocharin
388
381
  License: MIT
389
382
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
390
383
  Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/markdown-it.js
391
384
 
392
- Component: ajv, version: 6.12.3
393
- Copyright: 2015-2017 Evgeny Poberezkin
385
+ Component: @cfworker/json-schema, version: 1.6.8
386
+ Copyright: 2020 Jeremy Danyow
394
387
  License: MIT
395
388
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
396
- Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
389
+ Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/CfWorkerJsonSchemaValidator.js
397
390
 
398
391
 
399
392
  Library: sap.ui.mdc:
@@ -457,7 +450,7 @@ License: Apache-2.0
457
450
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
458
451
  Contained in: lib/jsdoc/ui5/plugin.js
459
452
 
460
- Component: SAP Theming Base Content, version: 11.1.34
453
+ Component: SAP Theming Base Content, version: 11.1.36-SNAPSHOT
461
454
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
462
455
  License: Apache-2.0
463
456
  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.core",
3
- "version": "1.97.1",
3
+ "version": "1.100.0",
4
4
  "description": "OpenUI5 Core Library sap.ui.core",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -368,7 +368,7 @@ sap.ui.define([
368
368
  /**
369
369
  * Root Namespace for the jQuery plug-in provided by SAP SE.
370
370
  *
371
- * @version 1.97.1
371
+ * @version 1.100.0
372
372
  * @namespace
373
373
  * @public
374
374
  * @static
@@ -1885,7 +1885,10 @@ sap.ui.define([
1885
1885
 
1886
1886
  };
1887
1887
 
1888
- // propagate legacy require hook to ui5loader translate hook
1888
+ /**
1889
+ * Propagate legacy require hook to ui5loader translate hook.
1890
+ * @deprecated since 1.54
1891
+ */
1889
1892
  Object.defineProperty(jQuery.sap.require, "_hook", {
1890
1893
  get: function() {
1891
1894
  return _ui5loader.translate;
@@ -1898,7 +1901,7 @@ sap.ui.define([
1898
1901
 
1899
1902
  /**
1900
1903
  * @private
1901
- * @deprecated
1904
+ * @deprecated since 1.40
1902
1905
  */
1903
1906
  jQuery.sap.preloadModules = function(sPreloadModule, bAsync, oSyncPoint) {
1904
1907
  Log.error("jQuery.sap.preloadModules was never a public API and has been removed. Migrate to Core.loadLibrary()!");
@@ -65,14 +65,6 @@ sap.ui.define([
65
65
  * @name jQuery.os.android
66
66
  */
67
67
 
68
- /**
69
- * Whether the current operating system is BlackBerry
70
- * @type {boolean}
71
- * @public
72
- * @deprecated since 1.20 use {@link sap.ui.Device.os.blackberry} instead
73
- * @name jQuery.os.blackberry
74
- */
75
-
76
68
  /**
77
69
  * Whether the current operating system is Apple iOS
78
70
  * @type {boolean}
@@ -168,10 +160,19 @@ sap.ui.define([
168
160
  android_tablet: Device.system.tablet && Device.os.android,
169
161
 
170
162
  /**
171
- * Whether the running device is a tablet.
172
- * If a desktop browser runs in mobile device simulation mode (with URL parameter
173
- * sap-ui-xx-test-mobile), this property will also be set according to the simulated platform. This
174
- * property will be false when runs in desktop browser.
163
+ * If this flag is set to <code>true</code>, the device is recognized as a tablet.
164
+ *
165
+ * Furthermore, a CSS class <code>sap-tablet</code> is added to the document root element.
166
+ *
167
+ * <b>Note:</b> This flag is also <code>true</code> for some browsers running on desktop devices. See the documentation for {@link sap.ui.Device.system.combi} devices.
168
+ * You can use the following logic to ensure that the current device is a tablet device:
169
+ *
170
+ * <pre>
171
+ * if(sap.ui.Device.system.tablet && !sap.ui.Device.system.desktop){
172
+ * ...tablet related commands...
173
+ * }
174
+ * </pre>
175
+ *
175
176
  * @type {boolean}
176
177
  * @deprecated since 1.17.0 use {@link sap.ui.Device.system.tablet} instead
177
178
  * @public
@@ -179,10 +180,14 @@ sap.ui.define([
179
180
  tablet: Device.system.tablet,
180
181
 
181
182
  /**
182
- * Whether the running device is a phone.
183
- * If a desktop browser runs in mobile device simulation mode (with URL parameter
184
- * sap-ui-xx-test-mobile), this property will also be set according to the simulated platform. This
185
- * property will be false when runs in desktop browser.
183
+ * If this flag is set to <code>true</code>, the device is recognized as a phone.
184
+ *
185
+ * Furthermore, a CSS class <code>sap-phone</code> is added to the document root element.
186
+ *
187
+ * <b>Note:</b> In case a phone requests a web page as a "Desktop Page", it is possible
188
+ * that all properties except <code>Device.system.phone</code> are set to <code>true</code>.
189
+ * In this case it is not possible to differentiate between tablet and phone relying on the user agent.
190
+ *
186
191
  * @type {boolean}
187
192
  * @deprecated since 1.17.0 use {@link sap.ui.Device.system.phone} instead
188
193
  * @public
@@ -190,9 +195,14 @@ sap.ui.define([
190
195
  phone: Device.system.phone,
191
196
 
192
197
  /**
193
- * Whether the running device is a desktop browser.
194
- * If a desktop browser runs in mobile device simulation mode (with URL parameter
195
- * sap-ui-xx-test-mobile), this property will be false.
198
+ * If this flag is set to <code>true</code>, the device is recognized as a desktop system.
199
+ *
200
+ * Furthermore, a CSS class <code>sap-desktop</code> is added to the document root element.
201
+ *
202
+ * <b>Note:</b> This flag is by default also true for Safari on iPads running on iOS 13 or higher.
203
+ * The end user can change this behavior by disabling "Request Desktop Website -> All websites" within the iOS settings.
204
+ * See also the documentation for {@link sap.ui.Device.system.combi} devices.
205
+ *
196
206
  * @type {boolean}
197
207
  * @deprecated since 1.17.0 use {@link sap.ui.Device.system.desktop} instead
198
208
  * @public
@@ -67,7 +67,7 @@ sap.ui.define(['jquery.sap.global', 'sap/base/util/Properties'],
67
67
  * {@link #setProperty} to store or change a value for a key and {@link #getKeys}
68
68
  * can be used to retrieve an array of all keys that are currently stored in the collection.
69
69
  *
70
- * @version 1.97.1
70
+ * @version 1.100.0
71
71
  * @since 0.9.0
72
72
  * @name jQuery.sap.util.Properties
73
73
  * @public
@@ -99,7 +99,7 @@ sap.ui.define([
99
99
  * Exception: Fallback for "zh_HK" is "zh_TW" before zh.
100
100
  *
101
101
  * @author SAP SE
102
- * @version 1.97.1
102
+ * @version 1.100.0
103
103
  * @since 0.9.0
104
104
  * @name jQuery.sap.util.ResourceBundle
105
105
  * @public
@@ -267,7 +267,7 @@ sap.ui.define([
267
267
  * Use {@link jQuery.sap.getUriParameters} to create an instance of jQuery.sap.util.UriParameters.
268
268
  *
269
269
  * @author SAP SE
270
- * @version 1.97.1
270
+ * @version 1.100.0
271
271
  * @since 0.9.0
272
272
  * @name jQuery.sap.util.UriParameters
273
273
  * @public
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @param {string} [sIdPrefix] Prefix used for the Ids. If not set a default prefix is used.
38
38
  * @returns {jQuery.sap.storage.Storage}
39
39
  *
40
- * @version 1.97.1
40
+ * @version 1.100.0
41
41
  * @since 0.11.0
42
42
  * @namespace
43
43
  * @public
@@ -97,7 +97,7 @@ sap.ui.define([
97
97
  * should be deleted the method {@link #removeAll} should be used.
98
98
  *
99
99
  * @author SAP SE
100
- * @version 1.97.1
100
+ * @version 1.100.0
101
101
  * @since 0.11.0
102
102
  * @public
103
103
  * @name jQuery.sap.storage.Storage
@@ -201,7 +201,7 @@ sap.ui.define([
201
201
  * Enumeration of the storage types supported by {@link jQuery.sap.storage.Storage}
202
202
  * @enum {string}
203
203
  * @public
204
- * @version 1.97.1
204
+ * @version 1.100.0
205
205
  * @since 0.11.0
206
206
  */
207
207
  jQuery.sap.storage.Type = Storage.Type;
@@ -578,7 +578,7 @@ sap.ui.define(["sap/base/util/now"], function(now) {
578
578
  * </ul>
579
579
  *
580
580
  * @param {string} sComponent Name of the component which should be logged
581
- * @param {module:sap/base/Log.Level} [iLogLevel] The default log level
581
+ * @param {module:sap/base/Log.Level} [iDefaultLogLevel] The default log level
582
582
  * @return {object} A logger with a specified component
583
583
  * @public
584
584
  * @static
@@ -33,7 +33,7 @@ sap.ui.define([], function () {
33
33
  * @param {string} sInput The input string
34
34
  * @returns {string | *} The transformed string or the original input in case the input is not a string
35
35
  * @private
36
- * @ui5-restricted UI5 Controls, Smart Controls
36
+ * @ui5-restricted UI5 Controls, Smart Controls, Fiori Elements
37
37
  */
38
38
  var fnWhitespacesReplacer = function (sInput) {
39
39
  var sWhitespace = " ",
@@ -306,16 +306,7 @@ sap.ui.define([
306
306
  oData = sap.ui.loader._.getModuleContent(sResourceName, mOptions.url);
307
307
 
308
308
  if (oData != undefined) {
309
-
310
- if (mOptions.async) {
311
- //Use timeout to simulate async behavior for this sync case for easier usage
312
- setTimeout(function() {
313
- convertData(oData);
314
- }, 0);
315
- } else {
316
- oData = convertData(oData);
317
- }
318
-
309
+ oData = convertData(oData);
319
310
  } else {
320
311
 
321
312
  iSyncCallBehavior = sap.ui.loader._.getSyncCallBehavior();
@@ -230,8 +230,8 @@ sap.ui.define([
230
230
  * @returns {module:sap/base/util/UriParameters} Object providing read access to the query parameters
231
231
  * @public
232
232
  */
233
- UriParameters.fromURL = function(sUrl) {
234
- return new UriParameters(sUrl);
233
+ UriParameters.fromURL = function(sURL) {
234
+ return new UriParameters(sURL);
235
235
  };
236
236
 
237
237
  /**
@@ -26,7 +26,7 @@
26
26
  * @alias sap/base/util/restricted/_CancelablePromise
27
27
  * @author SAP SE
28
28
  * @since 1.79
29
- * @version 1.97.1
29
+ * @version 1.100.0
30
30
  * @private
31
31
  * @ui5-restricted
32
32
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_castArray
11
11
  * @author SAP SE
12
12
  * @since 1.71
13
- * @version 1.97.1
13
+ * @version 1.100.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_compact
11
11
  * @author SAP SE
12
12
  * @since 1.80
13
- * @version 1.97.1
13
+ * @version 1.100.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_curry
11
11
  * @author SAP SE
12
12
  * @since 1.71
13
- * @version 1.97.1
13
+ * @version 1.100.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_debounce
11
11
  * @author SAP SE
12
12
  * @since 1.71
13
- * @version 1.97.1
13
+ * @version 1.100.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */