@openui5/sap.ui.core 1.132.0 → 1.133.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 (376) hide show
  1. package/.dtsgenrc +5 -0
  2. package/.eslintrc.json +4 -0
  3. package/.reuse/dep5 +2 -2
  4. package/LICENSES/LicenseRef-Unicode-3.0.txt +39 -0
  5. package/THIRDPARTY.txt +54 -66
  6. package/package.json +1 -1
  7. package/src/jquery.sap.global.js +1 -1
  8. package/src/jquery.sap.properties.js +1 -1
  9. package/src/jquery.sap.resources.js +1 -1
  10. package/src/jquery.sap.script.js +1 -1
  11. package/src/jquery.sap.storage.js +3 -3
  12. package/src/sap/base/Event.js +1 -1
  13. package/src/sap/base/Eventing.js +1 -1
  14. package/src/sap/base/config.js +1 -1
  15. package/src/sap/base/i18n/LanguageTag.js +1 -1
  16. package/src/sap/base/i18n/date/TimezoneUtils.js +159 -12
  17. package/src/sap/base/util/JSTokenizer.js +25 -18
  18. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  19. package/src/sap/base/util/restricted/_castArray.js +1 -1
  20. package/src/sap/base/util/restricted/_compact.js +1 -1
  21. package/src/sap/base/util/restricted/_curry.js +1 -1
  22. package/src/sap/base/util/restricted/_debounce.js +1 -1
  23. package/src/sap/base/util/restricted/_difference.js +1 -1
  24. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  25. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  26. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  27. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  28. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  29. package/src/sap/base/util/restricted/_flatten.js +1 -1
  30. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  31. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  32. package/src/sap/base/util/restricted/_intersection.js +1 -1
  33. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  34. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  35. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  36. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  37. package/src/sap/base/util/restricted/_isNil.js +1 -1
  38. package/src/sap/base/util/restricted/_max.js +1 -1
  39. package/src/sap/base/util/restricted/_merge.js +1 -1
  40. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  41. package/src/sap/base/util/restricted/_min.js +1 -1
  42. package/src/sap/base/util/restricted/_omit.js +1 -1
  43. package/src/sap/base/util/restricted/_pick.js +1 -1
  44. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  45. package/src/sap/base/util/restricted/_throttle.js +1 -1
  46. package/src/sap/base/util/restricted/_toArray.js +1 -1
  47. package/src/sap/base/util/restricted/_union.js +1 -1
  48. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  49. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  50. package/src/sap/base/util/restricted/_uniq.js +1 -1
  51. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  52. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  53. package/src/sap/base/util/restricted/_without.js +1 -1
  54. package/src/sap/base/util/restricted/_xor.js +1 -1
  55. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  56. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  57. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  58. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  59. package/src/sap/ui/Device.js +3 -3
  60. package/src/sap/ui/Global.js +3 -3
  61. package/src/sap/ui/base/Event.js +1 -1
  62. package/src/sap/ui/base/EventProvider.js +1 -1
  63. package/src/sap/ui/base/Interface.js +1 -1
  64. package/src/sap/ui/base/ManagedObject.js +1 -1
  65. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  66. package/src/sap/ui/base/Metadata.js +1 -1
  67. package/src/sap/ui/base/Object.js +1 -1
  68. package/src/sap/ui/base/ObjectPool.js +1 -1
  69. package/src/sap/ui/base/SyncPromise.js +120 -25
  70. package/src/sap/ui/core/.library +6 -6
  71. package/src/sap/ui/core/BusyIndicator.js +1 -1
  72. package/src/sap/ui/core/Component.js +1 -1
  73. package/src/sap/ui/core/ComponentContainer.js +1 -1
  74. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  75. package/src/sap/ui/core/ComponentSupport.js +1 -1
  76. package/src/sap/ui/core/Configuration.js +1 -1
  77. package/src/sap/ui/core/Control.js +1 -1
  78. package/src/sap/ui/core/Core.js +2 -2
  79. package/src/sap/ui/core/CustomData.js +1 -1
  80. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  81. package/src/sap/ui/core/Element.js +3 -1
  82. package/src/sap/ui/core/ElementMetadata.js +1 -1
  83. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  84. package/src/sap/ui/core/EventBus.js +1 -1
  85. package/src/sap/ui/core/Fragment.js +1 -1
  86. package/src/sap/ui/core/HTML.js +1 -1
  87. package/src/sap/ui/core/History.js +1 -1
  88. package/src/sap/ui/core/Icon.js +1 -1
  89. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  90. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  91. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  92. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  93. package/src/sap/ui/core/InvisibleText.js +1 -1
  94. package/src/sap/ui/core/Item.js +1 -1
  95. package/src/sap/ui/core/LabelEnablement.js +1 -1
  96. package/src/sap/ui/core/LayoutData.js +1 -1
  97. package/src/sap/ui/core/ListItem.js +1 -1
  98. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  99. package/src/sap/ui/core/Locale.js +1 -1
  100. package/src/sap/ui/core/LocaleData.js +96 -79
  101. package/src/sap/ui/core/Manifest.js +1 -1
  102. package/src/sap/ui/core/Message.js +1 -1
  103. package/src/sap/ui/core/RenderManager.js +1 -1
  104. package/src/sap/ui/core/Renderer.js +1 -1
  105. package/src/sap/ui/core/ResizeHandler.js +1 -1
  106. package/src/sap/ui/core/ScrollBar.js +1 -1
  107. package/src/sap/ui/core/SeparatorItem.js +1 -1
  108. package/src/sap/ui/core/Title.js +1 -1
  109. package/src/sap/ui/core/TooltipBase.js +1 -1
  110. package/src/sap/ui/core/UIArea.js +1 -1
  111. package/src/sap/ui/core/UIComponent.js +1 -1
  112. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  113. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  114. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  115. package/src/sap/ui/core/XMLComposite.js +1 -1
  116. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  117. package/src/sap/ui/core/XMLTemplateProcessor.js +22 -3
  118. package/src/sap/ui/core/_IconRegistry.js +2 -0
  119. package/src/sap/ui/core/boot/_bootConfig.js +134 -105
  120. package/src/sap/ui/core/cldr/Unicode-Data-Files-LICENSE.txt +36 -24
  121. package/src/sap/ui/core/cldr/ar.json +106 -98
  122. package/src/sap/ui/core/cldr/ar_EG.json +106 -98
  123. package/src/sap/ui/core/cldr/ar_SA.json +106 -98
  124. package/src/sap/ui/core/cldr/bg.json +44 -38
  125. package/src/sap/ui/core/cldr/ca.json +65 -65
  126. package/src/sap/ui/core/cldr/cnr.json +182 -170
  127. package/src/sap/ui/core/cldr/cs.json +39 -31
  128. package/src/sap/ui/core/cldr/cy.json +319 -233
  129. package/src/sap/ui/core/cldr/da.json +36 -32
  130. package/src/sap/ui/core/cldr/de.json +134 -135
  131. package/src/sap/ui/core/cldr/de_AT.json +134 -135
  132. package/src/sap/ui/core/cldr/de_CH.json +135 -136
  133. package/src/sap/ui/core/cldr/el.json +44 -37
  134. package/src/sap/ui/core/cldr/el_CY.json +44 -37
  135. package/src/sap/ui/core/cldr/en.json +91 -53
  136. package/src/sap/ui/core/cldr/en_AU.json +108 -70
  137. package/src/sap/ui/core/cldr/en_GB.json +123 -85
  138. package/src/sap/ui/core/cldr/en_HK.json +102 -64
  139. package/src/sap/ui/core/cldr/en_IE.json +102 -64
  140. package/src/sap/ui/core/cldr/en_IN.json +207 -67
  141. package/src/sap/ui/core/cldr/en_NZ.json +102 -64
  142. package/src/sap/ui/core/cldr/en_PG.json +102 -64
  143. package/src/sap/ui/core/cldr/en_SG.json +102 -64
  144. package/src/sap/ui/core/cldr/en_ZA.json +106 -66
  145. package/src/sap/ui/core/cldr/es.json +43 -39
  146. package/src/sap/ui/core/cldr/es_AR.json +92 -64
  147. package/src/sap/ui/core/cldr/es_BO.json +92 -64
  148. package/src/sap/ui/core/cldr/es_CL.json +92 -64
  149. package/src/sap/ui/core/cldr/es_CO.json +92 -64
  150. package/src/sap/ui/core/cldr/es_MX.json +131 -83
  151. package/src/sap/ui/core/cldr/es_PE.json +69 -41
  152. package/src/sap/ui/core/cldr/es_UY.json +93 -65
  153. package/src/sap/ui/core/cldr/es_VE.json +92 -64
  154. package/src/sap/ui/core/cldr/et.json +60 -59
  155. package/src/sap/ui/core/cldr/fa.json +122 -116
  156. package/src/sap/ui/core/cldr/fi.json +186 -82
  157. package/src/sap/ui/core/cldr/fr.json +57 -56
  158. package/src/sap/ui/core/cldr/fr_BE.json +56 -55
  159. package/src/sap/ui/core/cldr/fr_CA.json +139 -89
  160. package/src/sap/ui/core/cldr/fr_CH.json +47 -46
  161. package/src/sap/ui/core/cldr/fr_LU.json +57 -56
  162. package/src/sap/ui/core/cldr/he.json +458 -381
  163. package/src/sap/ui/core/cldr/hi.json +204 -170
  164. package/src/sap/ui/core/cldr/hr.json +64 -57
  165. package/src/sap/ui/core/cldr/hu.json +145 -148
  166. package/src/sap/ui/core/cldr/id.json +72 -62
  167. package/src/sap/ui/core/cldr/it.json +76 -75
  168. package/src/sap/ui/core/cldr/it_CH.json +76 -75
  169. package/src/sap/ui/core/cldr/ja.json +62 -44
  170. package/src/sap/ui/core/cldr/kk.json +171 -146
  171. package/src/sap/ui/core/cldr/ko.json +91 -73
  172. package/src/sap/ui/core/cldr/lt.json +134 -135
  173. package/src/sap/ui/core/cldr/lv.json +119 -111
  174. package/src/sap/ui/core/cldr/mk.json +316 -314
  175. package/src/sap/ui/core/cldr/ms.json +91 -75
  176. package/src/sap/ui/core/cldr/nb.json +37 -37
  177. package/src/sap/ui/core/cldr/nl.json +45 -48
  178. package/src/sap/ui/core/cldr/nl_BE.json +45 -48
  179. package/src/sap/ui/core/cldr/pl.json +47 -42
  180. package/src/sap/ui/core/cldr/pt.json +129 -124
  181. package/src/sap/ui/core/cldr/pt_PT.json +43 -38
  182. package/src/sap/ui/core/cldr/ro.json +42 -37
  183. package/src/sap/ui/core/cldr/ru.json +59 -51
  184. package/src/sap/ui/core/cldr/ru_UA.json +59 -51
  185. package/src/sap/ui/core/cldr/sk.json +55 -46
  186. package/src/sap/ui/core/cldr/sl.json +45 -31
  187. package/src/sap/ui/core/cldr/sr.json +189 -177
  188. package/src/sap/ui/core/cldr/sr_Latn.json +189 -177
  189. package/src/sap/ui/core/cldr/sv.json +42 -41
  190. package/src/sap/ui/core/cldr/th.json +104 -90
  191. package/src/sap/ui/core/cldr/tr.json +40 -39
  192. package/src/sap/ui/core/cldr/uk.json +143 -123
  193. package/src/sap/ui/core/cldr/vi.json +136 -133
  194. package/src/sap/ui/core/cldr/zh_CN.json +47 -41
  195. package/src/sap/ui/core/cldr/zh_HK.json +47 -41
  196. package/src/sap/ui/core/cldr/zh_SG.json +47 -41
  197. package/src/sap/ui/core/cldr/zh_TW.json +163 -160
  198. package/src/sap/ui/core/date/Buddhist.js +2 -2
  199. package/src/sap/ui/core/date/CalendarUtils.js +4 -4
  200. package/src/sap/ui/core/date/Gregorian.js +2 -2
  201. package/src/sap/ui/core/date/Islamic.js +2 -2
  202. package/src/sap/ui/core/date/Japanese.js +2 -2
  203. package/src/sap/ui/core/date/Persian.js +2 -2
  204. package/src/sap/ui/core/date/UI5Date.js +1 -1
  205. package/src/sap/ui/core/date/UniversalDate.js +12 -12
  206. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  207. package/src/sap/ui/core/delegate/ScrollEnablement.js +7 -5
  208. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  209. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  210. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  211. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  212. package/src/sap/ui/core/fieldhelp/FieldHelp.js +204 -4
  213. package/src/sap/ui/core/fieldhelp/FieldHelpUtil.js +8 -8
  214. package/src/sap/ui/core/format/DateFormat.js +18 -16
  215. package/src/sap/ui/core/format/FormatUtils.js +1 -1
  216. package/src/sap/ui/core/format/NumberFormat.js +336 -353
  217. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  218. package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
  219. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  220. package/src/sap/ui/core/library.js +7 -5
  221. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  222. package/src/sap/ui/core/message/Message.js +1 -1
  223. package/src/sap/ui/core/message/MessageManager.js +1 -1
  224. package/src/sap/ui/core/message/MessageMixin.js +12 -4
  225. package/src/sap/ui/core/message/MessageParser.js +1 -1
  226. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  227. package/src/sap/ui/core/messagebundle_sv.properties +1 -1
  228. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  229. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  230. package/src/sap/ui/core/mvc/JSView.js +1 -1
  231. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  232. package/src/sap/ui/core/mvc/View.js +1 -1
  233. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  234. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  235. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  236. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  237. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  238. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  239. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  240. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  241. package/src/sap/ui/core/service/Service.js +1 -1
  242. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  243. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  244. package/src/sap/ui/core/support/Plugin.js +1 -1
  245. package/src/sap/ui/core/support/Support.js +1 -1
  246. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  247. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  248. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  249. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  250. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  251. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  252. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  253. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  254. package/src/sap/ui/core/themes/base/fonts/SAP-icons.ttf +0 -0
  255. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  256. package/src/sap/ui/core/theming/ThemeManager.js +84 -33
  257. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  258. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  259. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  260. package/src/sap/ui/core/tmpl/Template.js +1 -1
  261. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  262. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  263. package/src/sap/ui/core/util/Export.js +1 -1
  264. package/src/sap/ui/core/util/ExportCell.js +1 -1
  265. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  266. package/src/sap/ui/core/util/ExportRow.js +1 -1
  267. package/src/sap/ui/core/util/ExportType.js +1 -1
  268. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  269. package/src/sap/ui/core/util/File.js +1 -1
  270. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  271. package/src/sap/ui/core/util/MockServer.js +5 -2
  272. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  273. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  274. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  275. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  276. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  277. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  278. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  279. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  280. package/src/sap/ui/core/webc/WebComponent.js +1 -1
  281. package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
  282. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  283. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  284. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  285. package/src/sap/ui/debug/ControlTree.js +1 -1
  286. package/src/sap/ui/debug/DebugEnv.js +1 -1
  287. package/src/sap/ui/debug/PropertyList.js +1 -1
  288. package/src/sap/ui/model/ClientModel.js +1 -1
  289. package/src/sap/ui/model/CompositeDataState.js +1 -1
  290. package/src/sap/ui/model/CompositeType.js +1 -1
  291. package/src/sap/ui/model/DataState.js +1 -1
  292. package/src/sap/ui/model/ManagedObjectBindingSupport.js +21 -12
  293. package/src/sap/ui/model/MetaModel.js +1 -1
  294. package/src/sap/ui/model/Model.js +1 -1
  295. package/src/sap/ui/model/SelectionModel.js +1 -1
  296. package/src/sap/ui/model/SimpleType.js +1 -1
  297. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  298. package/src/sap/ui/model/Type.js +1 -1
  299. package/src/sap/ui/model/base/ManagedObjectModel.js +5 -2
  300. package/src/sap/ui/model/json/JSONModel.js +1 -1
  301. package/src/sap/ui/model/message/MessageModel.js +1 -1
  302. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  303. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  304. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  305. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  306. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  307. package/src/sap/ui/model/odata/ODataUtils.js +2 -2
  308. package/src/sap/ui/model/odata/UpdateMethod.js +18 -1
  309. package/src/sap/ui/model/odata/_AnnotationHelperExpression.js +2 -2
  310. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  311. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  312. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  313. package/src/sap/ui/model/odata/type/Date.js +3 -3
  314. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  315. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  316. package/src/sap/ui/model/odata/type/DateTimeOffset.js +2 -2
  317. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  318. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  319. package/src/sap/ui/model/odata/type/Double.js +1 -1
  320. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  321. package/src/sap/ui/model/odata/type/Int.js +1 -1
  322. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  323. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  324. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  325. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  326. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  327. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  328. package/src/sap/ui/model/odata/type/Single.js +1 -1
  329. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  330. package/src/sap/ui/model/odata/type/String.js +1 -1
  331. package/src/sap/ui/model/odata/type/Time.js +1 -1
  332. package/src/sap/ui/model/odata/type/TimeOfDay.js +3 -3
  333. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  334. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  335. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  336. package/src/sap/ui/model/odata/v2/ODataModel.js +39 -22
  337. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  338. package/src/sap/ui/model/odata/v4/Context.js +48 -16
  339. package/src/sap/ui/model/odata/v4/ODataBinding.js +2 -0
  340. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +3 -1
  341. package/src/sap/ui/model/odata/v4/ODataListBinding.js +22 -13
  342. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +17 -6
  343. package/src/sap/ui/model/odata/v4/ODataModel.js +3 -3
  344. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +6 -0
  345. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  346. package/src/sap/ui/model/odata/v4/ODataUtils.js +1 -1
  347. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +9 -9
  348. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +4 -7
  349. package/src/sap/ui/model/odata/v4/lib/_Cache.js +251 -129
  350. package/src/sap/ui/model/odata/v4/lib/_Helper.js +20 -0
  351. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +8 -3
  352. package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +1 -1
  353. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  354. package/src/sap/ui/model/type/Boolean.js +1 -1
  355. package/src/sap/ui/model/type/Currency.js +1 -1
  356. package/src/sap/ui/model/type/Date.js +1 -1
  357. package/src/sap/ui/model/type/DateInterval.js +1 -1
  358. package/src/sap/ui/model/type/DateTime.js +1 -1
  359. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  360. package/src/sap/ui/model/type/FileSize.js +1 -1
  361. package/src/sap/ui/model/type/Float.js +1 -1
  362. package/src/sap/ui/model/type/Integer.js +1 -1
  363. package/src/sap/ui/model/type/String.js +1 -1
  364. package/src/sap/ui/model/type/Time.js +1 -1
  365. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  366. package/src/sap/ui/model/type/Unit.js +1 -1
  367. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  368. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  369. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  370. package/src/sap/ui/test/generic/TestBase.js +1 -1
  371. package/src/sap/ui/test/starter/_setupAndStart.js +1 -1
  372. package/src/sap/ui/thirdparty/jquery-compat.js +1 -1
  373. package/src/sap/ui/util/Storage.js +1 -1
  374. package/src/ui5loader.js +1 -1
  375. package/test/sap/ui/qunit/TestRunner.js +6 -10
  376. package/LICENSES/Unicode-DFS-2015.txt +0 -51
package/.dtsgenrc CHANGED
@@ -344,5 +344,10 @@
344
344
  ]
345
345
  }
346
346
  ]
347
+ },
348
+ "deprecatedEnumAliases": {
349
+ "sap.ui.core.CalendarType": "module:sap/base/i18n/date/CalendarType",
350
+ "sap.ui.core.MessageType": "module:sap/ui/core/message/MessageType",
351
+ "sap.ui.core.date.CalendarWeekNumbering": "module:sap/base/i18n/date/CalendarWeekNumbering"
347
352
  }
348
353
  }
package/.eslintrc.json CHANGED
@@ -16,6 +16,7 @@
16
16
  },
17
17
  {
18
18
  "files": [
19
+ "src/sap/ui/base/SyncPromise.js",
19
20
  "src/sap/ui/core/util/XMLPreprocessor.js",
20
21
  "src/sap/ui/model/odata/v4/**/*.js",
21
22
  "src/sap/ui/test/TestUtils.js",
@@ -24,6 +25,7 @@
24
25
  "test/sap/ui/core/demokit/sample/ViewTemplate/types/**/*.js",
25
26
  "test/sap/ui/core/demokit/tutorial/odatav4/**/*.js",
26
27
  "test/sap/ui/core/qunit/odata/v4/**/*.js",
28
+ "test/sap/ui/core/qunit/util/SyncPromise.qunit.js",
27
29
  "test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js",
28
30
  "test/sap/ui/test/qunit/TestUtils.qunit.js"
29
31
  ],
@@ -111,6 +113,7 @@
111
113
  },
112
114
  {
113
115
  "files": [
116
+ "src/sap/ui/base/SyncPromise.js",
114
117
  "src/sap/ui/core/util/XMLPreprocessor.js",
115
118
  "src/sap/ui/model/odata/v4/**/*.js"
116
119
  ],
@@ -125,6 +128,7 @@
125
128
  "test/sap/ui/core/demokit/sample/ViewTemplate/types/**/*.js",
126
129
  "test/sap/ui/core/demokit/tutorial/odatav4/??/webapp/test/**/*.js",
127
130
  "test/sap/ui/core/qunit/odata/v4/**/*.js",
131
+ "test/sap/ui/core/qunit/util/SyncPromise.qunit.js",
128
132
  "test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js"
129
133
  ],
130
134
  "globals": {
package/.reuse/dep5 CHANGED
@@ -235,8 +235,8 @@ License: Apache-2.0
235
235
  Comment: these files belong to: Google-Caja JS HTML Sanitizer
236
236
 
237
237
  Files: src/sap.ui.core/src/sap/ui/core/cldr/*
238
- Copyright: 1991-2023 Unicode, Inc.
239
- License: Unicode-DFS-2015
238
+ Copyright: 1991-2024 Unicode, Inc.
239
+ License: LicenseRef-Unicode-3.0
240
240
  Comment: these files belong to: Unicode Common Locale Data Repository
241
241
 
242
242
  Files: src/sap.ui.core/src/sap/ui/thirdparty/mobiscroll/*
@@ -0,0 +1,39 @@
1
+ UNICODE LICENSE V3
2
+
3
+ COPYRIGHT AND PERMISSION NOTICE
4
+
5
+ Copyright © 1991-2024 Unicode, Inc.
6
+
7
+ NOTICE TO USER: Carefully read the following legal agreement. BY
8
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
9
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
10
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
11
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
12
+
13
+ Permission is hereby granted, free of charge, to any person obtaining a
14
+ copy of data files and any associated documentation (the "Data Files") or
15
+ software and any associated documentation (the "Software") to deal in the
16
+ Data Files or Software without restriction, including without limitation
17
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
18
+ copies of the Data Files or Software, and to permit persons to whom the
19
+ Data Files or Software are furnished to do so, provided that either (a)
20
+ this copyright and permission notice appear with all copies of the Data
21
+ Files or Software, or (b) this copyright and permission notice appear in
22
+ associated Documentation.
23
+
24
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
25
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
27
+ THIRD PARTY RIGHTS.
28
+
29
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
30
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
31
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
32
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
33
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
34
+ FILES OR SOFTWARE.
35
+
36
+ Except as contained in this notice, the name of a copyright holder shall
37
+ not be used in advertising or otherwise to promote the sale, use or other
38
+ dealings in these Data Files or Software without prior written
39
+ authorization of the copyright holder.
package/THIRDPARTY.txt CHANGED
@@ -187,10 +187,10 @@ License: Apache-2.0
187
187
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
188
188
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
189
189
 
190
- Component: Unicode Common Locale Data Repository, version: 44
191
- Copyright: 1991-2023 Unicode, Inc.
192
- License: Unicode-DFS-2015
193
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
190
+ Component: Unicode Common Locale Data Repository, version: 46.1.0
191
+ Copyright: 1991-2024 Unicode, Inc.
192
+ License: LicenseRef-Unicode-3.0
193
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-Unicode-3.0.txt
194
194
  Contained in: src/sap.ui.core/src/sap/ui/core/cldr/*
195
195
 
196
196
  Component: MobiScroll, version: 2.9.0
@@ -342,7 +342,7 @@ License: ISC
342
342
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
343
343
  Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
344
344
 
345
- Component: Time Zone Database, version: 2023d
345
+ Component: Time Zone Database, version: 2024b
346
346
  Copyright: Arthur David Olson, Paul Eggert and other contributors
347
347
  License: LicenseRef-tzdata-PublicDomain
348
348
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
@@ -966,6 +966,55 @@ END of license: LicenseRef-JSONinJSPublicDomain
966
966
  =================================
967
967
 
968
968
 
969
+ =================================
970
+ BEGIN of license: LicenseRef-Unicode-3.0
971
+ =================================
972
+
973
+ UNICODE LICENSE V3
974
+
975
+ COPYRIGHT AND PERMISSION NOTICE
976
+
977
+ Copyright © 1991-2024 Unicode, Inc.
978
+
979
+ NOTICE TO USER: Carefully read the following legal agreement. BY
980
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
981
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
982
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
983
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
984
+
985
+ Permission is hereby granted, free of charge, to any person obtaining a
986
+ copy of data files and any associated documentation (the "Data Files") or
987
+ software and any associated documentation (the "Software") to deal in the
988
+ Data Files or Software without restriction, including without limitation
989
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
990
+ copies of the Data Files or Software, and to permit persons to whom the
991
+ Data Files or Software are furnished to do so, provided that either (a)
992
+ this copyright and permission notice appear with all copies of the Data
993
+ Files or Software, or (b) this copyright and permission notice appear in
994
+ associated Documentation.
995
+
996
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
997
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
998
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
999
+ THIRD PARTY RIGHTS.
1000
+
1001
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
1002
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
1003
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
1004
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
1005
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
1006
+ FILES OR SOFTWARE.
1007
+
1008
+ Except as contained in this notice, the name of a copyright holder shall
1009
+ not be used in advertising or otherwise to promote the sale, use or other
1010
+ dealings in these Data Files or Software without prior written
1011
+ authorization of the copyright holder.
1012
+
1013
+ =================================
1014
+ END of license: LicenseRef-Unicode-3.0
1015
+ =================================
1016
+
1017
+
969
1018
  =================================
970
1019
  BEGIN of license: LicenseRef-tzdata-PublicDomain
971
1020
  =================================
@@ -1009,64 +1058,3 @@ OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1009
1058
  END of license: MIT
1010
1059
  =================================
1011
1060
 
1012
-
1013
- =================================
1014
- BEGIN of license: Unicode-DFS-2015
1015
- =================================
1016
-
1017
- UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
1018
-
1019
- Unicode Data Files include all data files under the directories http://www.unicode.org/Public/,
1020
- http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/. Unicode
1021
- Data Files do not include PDF online code charts under the directory http://www.unicode.org/Public/.
1022
- Software includes any source code published in the Unicode Standard or under
1023
- the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/,
1024
- and http://www.unicode.org/cldr/data/.
1025
-
1026
- NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING,
1027
- INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"),
1028
- AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND
1029
- BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE,
1030
- DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
1031
-
1032
- COPYRIGHT AND PERMISSION NOTICE
1033
-
1034
- Copyright © 1991-2015 Unicode, Inc. All rights reserved. Distributed under
1035
- the Terms of Use in http://www.unicode.org/copyright.html.
1036
-
1037
- Permission is hereby granted, free of charge, to any person obtaining a copy
1038
- of the Unicode data files and any associated documentation (the "Data Files")
1039
- or Unicode software and any associated documentation (the "Software") to deal
1040
- in the Data Files or Software without restriction, including without limitation
1041
- the rights to use, copy, modify, merge, publish, distribute, and/or sell copies
1042
- of the Data Files or Software, and to permit persons to whom the Data Files
1043
- or Software are furnished to do so, provided that
1044
-
1045
- (a) this copyright and permission notice appear with all copies of the Data
1046
- Files or Software,
1047
-
1048
- (b) this copyright and permission notice appear in associated documentation,
1049
- and
1050
-
1051
- (c) there is clear notice in each modified Data File or in the Software as
1052
- well as in the documentation associated with the Data File(s) or Software
1053
- that the data or software has been modified.
1054
-
1055
- THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
1056
- KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1057
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
1058
- IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
1059
- BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
1060
- OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
1061
- IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
1062
- OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE.
1063
-
1064
- Except as contained in this notice, the name of a copyright holder shall not
1065
- be used in advertising or otherwise to promote the sale, use or other dealings
1066
- in these Data Files or Software without prior written authorization of the
1067
- copyright holder.
1068
-
1069
- =================================
1070
- END of license: Unicode-DFS-2015
1071
- =================================
1072
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.core",
3
- "version": "1.132.0",
3
+ "version": "1.133.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",
@@ -151,7 +151,7 @@ sap.ui.define([
151
151
  /**
152
152
  * Root Namespace for the jQuery plug-in provided by SAP SE.
153
153
  *
154
- * @version 1.132.0
154
+ * @version 1.133.0
155
155
  * @namespace
156
156
  * @public
157
157
  * @static
@@ -73,7 +73,7 @@ sap.ui.define(['jquery.sap.global', 'sap/base/util/Properties'],
73
73
  * {@link #setProperty} to store or change a value for a key and {@link #getKeys}
74
74
  * can be used to retrieve an array of all keys that are currently stored in the collection.
75
75
  *
76
- * @version 1.132.0
76
+ * @version 1.133.0
77
77
  * @since 0.9.0
78
78
  * @name jQuery.sap.util.Properties
79
79
  * @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.132.0
102
+ * @version 1.133.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.132.0
270
+ * @version 1.133.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.132.0
40
+ * @version 1.133.0
41
41
  * @since 0.11.0
42
42
  * @namespace
43
43
  * @public
@@ -98,7 +98,7 @@ sap.ui.define([
98
98
  * should be deleted the method {@link #removeAll} should be used.
99
99
  *
100
100
  * @author SAP SE
101
- * @version 1.132.0
101
+ * @version 1.133.0
102
102
  * @since 0.11.0
103
103
  * @public
104
104
  * @name jQuery.sap.storage.Storage
@@ -203,7 +203,7 @@ sap.ui.define([
203
203
  * Enumeration of the storage types supported by {@link jQuery.sap.storage.Storage}
204
204
  * @enum {string}
205
205
  * @public
206
- * @version 1.132.0
206
+ * @version 1.133.0
207
207
  * @since 0.11.0
208
208
  * @deprecated as of version 1.120. Use {@link module:sap/ui/util/Storage.Type sap/ui/util/Storage.Type} instead.
209
209
  */
@@ -11,7 +11,7 @@ sap.ui.define(() => {
11
11
 
12
12
  /**
13
13
  * @author SAP SE
14
- * @version 1.132.0
14
+ * @version 1.133.0
15
15
  *
16
16
  * Creates an event with the given <code>sType</code>,
17
17
  * linked to the provided <code>oTarget</code> and enriched with the <code>oParameters</code>.
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @class A simple eventing implementation that manages listeners and can fire events.
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.132.0
21
+ * @version 1.133.0
22
22
  *
23
23
  * @since 1.120.0
24
24
  * @private
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * The base Configuration.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.132.0
19
+ * @version 1.133.0
20
20
  * @private
21
21
  * @ui5-restricted sap.ui.core, sap.fl, sap.ui.intergration, sap.ui.export
22
22
  * @alias module:sap/base/config
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @param {string} sLanguageTag the language tag identifier, in format en-US or en_US.
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.132.0
39
+ * @version 1.133.0
40
40
  * @public
41
41
  * @alias module:sap/base/i18n/LanguageTag
42
42
  */
@@ -10,7 +10,7 @@ sap.ui.define([], function() {
10
10
  * Static collection of utility functions to handle time zone related conversions
11
11
  *
12
12
  * @author SAP SE
13
- * @version 1.132.0
13
+ * @version 1.133.0
14
14
  * @namespace
15
15
  * @alias module:sap/base/i18n/date/TimezoneUtils
16
16
  * @private
@@ -285,28 +285,163 @@ sap.ui.define([], function() {
285
285
  };
286
286
 
287
287
  /**
288
- * Map outdated IANA timezone IDs used in CLDR to correct and up-to-date IANA IDs as maintained in ABAP systems.
288
+ * Map outdated IANA timezone IDs used in CLDR to correct and IANA IDs as maintained in ABAP systems.
289
289
  *
290
290
  * @private
291
291
  */
292
- TimezoneUtils.mCLDR2ABAPTimezones = {
292
+ TimezoneUtils.mTimezoneAliases2ABAPTimezones = {
293
+ "Africa/Asmera": "Africa/Asmara",
294
+ "Africa/Timbuktu": "Africa/Bamako",
295
+ "America/Argentina/ComodRivadavia": "America/Argentina/Catamarca",
296
+ "America/Atka": "America/Adak",
293
297
  "America/Buenos_Aires": "America/Argentina/Buenos_Aires",
294
298
  "America/Catamarca": "America/Argentina/Catamarca",
299
+ "America/Coral_Harbour": "America/Atikokan",
295
300
  "America/Cordoba": "America/Argentina/Cordoba",
296
- "America/Jujuy": "America/Argentina/Jujuy",
297
- "America/Mendoza": "America/Argentina/Mendoza",
301
+ "America/Ensenada": "America/Tijuana",
302
+ "America/Fort_Wayne": "America/Indiana/Indianapolis",
303
+ "America/Godthab": "America/Nuuk",
298
304
  "America/Indianapolis": "America/Indiana/Indianapolis",
305
+ "America/Jujuy": "America/Argentina/Jujuy",
306
+ "America/Knox_IN": "America/Indiana/Knox",
299
307
  "America/Louisville": "America/Kentucky/Louisville",
300
- "Africa/Asmera": "Africa/Asmara",
301
- "Asia/Katmandu": "Asia/Kathmandu",
308
+ "America/Mendoza": "America/Argentina/Mendoza",
309
+ "America/Montreal": "America/Toronto",
310
+ "America/Nipigon": "America/Toronto",
311
+ "America/Pangnirtung": "America/Iqaluit",
312
+ "America/Porto_Acre": "America/Rio_Branco",
313
+ "America/Rainy_River": "America/Winnipeg",
314
+ "America/Rosario": "America/Argentina/Cordoba",
315
+ "America/Santa_Isabel": "America/Tijuana",
316
+ "America/Shiprock": "America/Denver",
317
+ "America/Thunder_Bay": "America/Toronto",
318
+ "America/Virgin": "America/St_Thomas",
319
+ "America/Yellowknife": "America/Edmonton",
320
+ "Antarctica/South_Pole": "Pacific/Auckland",
321
+ "Asia/Ashkhabad": "Asia/Ashgabat",
302
322
  "Asia/Calcutta": "Asia/Kolkata",
323
+ "Asia/Choibalsan": "Asia/Ulaanbaatar",
324
+ "Asia/Chongqing": "Asia/Shanghai",
325
+ "Asia/Chungking": "Asia/Shanghai",
326
+ "Asia/Dacca": "Asia/Dhaka",
327
+ "Asia/Harbin": "Asia/Shanghai",
328
+ "Asia/Istanbul": "Europe/Istanbul",
329
+ "Asia/Kashgar": "Asia/Urumqi",
330
+ "Asia/Katmandu": "Asia/Kathmandu",
331
+ "Asia/Macao": "Asia/Macau",
332
+ "Asia/Rangoon": "Asia/Yangon",
333
+ "Asia/Saigon": "Asia/Ho_Chi_Minh",
334
+ "Asia/Tel_Aviv": "Asia/Jerusalem",
335
+ "Asia/Thimbu": "Asia/Thimphu",
336
+ "Asia/Ujung_Pandang": "Asia/Makassar",
337
+ "Asia/Ulan_Bator": "Asia/Ulaanbaatar",
303
338
  "Atlantic/Faeroe": "Atlantic/Faroe",
339
+ "Atlantic/Jan_Mayen": "Arctic/Longyearbyen",
340
+ "Australia/ACT": "Australia/Sydney",
341
+ "Australia/Canberra": "Australia/Sydney",
342
+ "Australia/Currie": "Australia/Hobart",
343
+ "Australia/LHI": "Australia/Lord_Howe",
344
+ "Australia/NSW": "Australia/Sydney",
345
+ "Australia/North": "Australia/Darwin",
346
+ "Australia/Queensland": "Australia/Brisbane",
347
+ "Australia/South": "Australia/Adelaide",
348
+ "Australia/Tasmania": "Australia/Hobart",
349
+ "Australia/Victoria": "Australia/Melbourne",
350
+ "Australia/West": "Australia/Perth",
351
+ "Australia/Yancowinna": "Australia/Broken_Hill",
352
+ "Brazil/Acre": "America/Rio_Branco",
353
+ "Brazil/DeNoronha": "America/Noronha",
354
+ "Brazil/East": "America/Sao_Paulo",
355
+ "Brazil/West": "America/Manaus",
356
+ "CET": "Europe/Brussels",
357
+ "CST6CDT": "America/Chicago",
358
+ "Canada/Atlantic": "America/Halifax",
359
+ "Canada/Central": "America/Winnipeg",
360
+ "Canada/East-Saskatchewan": "America/Regina",
361
+ "Canada/Eastern": "America/Toronto",
362
+ "Canada/Mountain": "America/Edmonton",
363
+ "Canada/Newfoundland": "America/St_Johns",
364
+ "Canada/Pacific": "America/Vancouver",
365
+ "Canada/Saskatchewan": "America/Regina",
366
+ "Canada/Yukon": "America/Whitehorse",
367
+ "Chile/Continental": "America/Santiago",
368
+ "Chile/EasterIsland": "Pacific/Easter",
369
+ "Cuba": "America/Havana",
370
+ "EET": "Europe/Athens",
371
+ "EST": "America/Panama",
372
+ "EST5EDT": "America/New_York",
373
+ "Egypt": "Africa/Cairo",
374
+ "Eire": "Europe/Dublin",
375
+ "Etc/GMT+0": "Etc/GMT",
376
+ "Etc/GMT-0": "Etc/GMT",
377
+ "Etc/GMT0": "Etc/GMT",
378
+ "Etc/Greenwich": "Etc/GMT",
379
+ "Etc/UCT": "Etc/UTC",
380
+ "Etc/Zulu": "Etc/UTC",
381
+ "Europe/Belfast": "Europe/London",
382
+ "Europe/Kyiv": "Europe/Kiev",
383
+ "Europe/Nicosia": "Asia/Nicosia",
384
+ "Europe/Tiraspol": "Europe/Chisinau",
385
+ "Europe/Uzhgorod": "Europe/Kiev",
386
+ "Europe/Zaporozhye": "Europe/Kiev",
387
+ "GB": "Europe/London",
388
+ "GB-Eire": "Europe/London",
389
+ "GMT": "Etc/GMT",
390
+ "GMT+0": "Etc/GMT",
391
+ "GMT-0": "Etc/GMT",
392
+ "GMT0": "Etc/GMT",
393
+ "Greenwich": "Etc/GMT",
394
+ "HST": "Pacific/Honolulu",
395
+ "Hongkong": "Asia/Hong_Kong",
396
+ "Iceland": "Atlantic/Reykjavik",
397
+ "Iran": "Asia/Tehran",
398
+ "Israel": "Asia/Jerusalem",
399
+ "Jamaica": "America/Jamaica",
400
+ "Japan": "Asia/Tokyo",
401
+ "Kwajalein": "Pacific/Kwajalein",
402
+ "Libya": "Africa/Tripoli",
403
+ "MET": "Europe/Brussels",
404
+ "MST": "America/Phoenix",
405
+ "MST7MDT": "America/Denver",
406
+ "Mexico/BajaNorte": "America/Tijuana",
407
+ "Mexico/BajaSur": "America/Mazatlan",
408
+ "Mexico/General": "America/Mexico_City",
409
+ "NZ": "Pacific/Auckland",
410
+ "NZ-CHAT": "Pacific/Chatham",
411
+ "Navajo": "America/Denver",
412
+ "PRC": "Asia/Shanghai",
413
+ "PST8PDT": "America/Los_Angeles",
414
+ "Pacific/Enderbury": "Pacific/Kanton",
415
+ "Pacific/Johnston": "Pacific/Honolulu",
304
416
  "Pacific/Ponape": "Pacific/Pohnpei",
305
- "Asia/Rangoon": "Asia/Yangon",
417
+ "Pacific/Samoa": "Pacific/Pago_Pago",
306
418
  "Pacific/Truk": "Pacific/Chuuk",
307
- "America/Godthab": "America/Nuuk",
308
- "Asia/Saigon": "Asia/Ho_Chi_Minh",
309
- "America/Coral_Harbour": "America/Atikokan"
419
+ "Pacific/Yap": "Pacific/Chuuk",
420
+ "Poland": "Europe/Warsaw",
421
+ "Portugal": "Europe/Lisbon",
422
+ "ROC": "Asia/Taipei",
423
+ "ROK": "Asia/Seoul",
424
+ "Singapore": "Asia/Singapore",
425
+ "Turkey": "Europe/Istanbul",
426
+ "UCT": "Etc/UTC",
427
+ "US/Alaska": "America/Anchorage",
428
+ "US/Aleutian": "America/Adak",
429
+ "US/Arizona": "America/Phoenix",
430
+ "US/Central": "America/Chicago",
431
+ "US/East-Indiana": "America/Indiana/Indianapolis",
432
+ "US/Eastern": "America/New_York",
433
+ "US/Hawaii": "Pacific/Honolulu",
434
+ "US/Indiana-Starke": "America/Indiana/Knox",
435
+ "US/Michigan": "America/Detroit",
436
+ "US/Mountain": "America/Denver",
437
+ "US/Pacific": "America/Los_Angeles",
438
+ "US/Pacific-New": "America/Los_Angeles",
439
+ "US/Samoa": "Pacific/Pago_Pago",
440
+ "UTC": "Etc/UTC",
441
+ "Universal": "Etc/UTC",
442
+ "W-SU": "Europe/Moscow",
443
+ "WET": "Europe/Lisbon",
444
+ "Zulu": "Etc/UTC"
310
445
  };
311
446
 
312
447
  /**
@@ -323,12 +458,24 @@ sap.ui.define([], function() {
323
458
  TimezoneUtils.getLocalTimezone = function() {
324
459
  if (sLocalTimezone === "") { // timezone may be undefined, only value "" means empty cache
325
460
  sLocalTimezone = new Intl.DateTimeFormat().resolvedOptions().timeZone;
326
- sLocalTimezone = TimezoneUtils.mCLDR2ABAPTimezones[sLocalTimezone] || sLocalTimezone;
461
+ sLocalTimezone = TimezoneUtils.getABAPTimezone(sLocalTimezone);
327
462
  }
328
463
 
329
464
  return sLocalTimezone;
330
465
  };
331
466
 
467
+ /**
468
+ * Returns the ABAP time zone ID for the given IANA time zone ID.
469
+ *
470
+ * @param {string} sTimezone The IANA time zone ID
471
+ *
472
+ * @returns {string} The ABAP time zone ID
473
+ * @private
474
+ */
475
+ TimezoneUtils.getABAPTimezone = function (sTimezone) {
476
+ return TimezoneUtils.mTimezoneAliases2ABAPTimezones[sTimezone] || sTimezone;
477
+ };
478
+
332
479
  /**
333
480
  * Clears the cache for the browser's local IANA timezone ID.
334
481
  *
@@ -57,12 +57,10 @@ sap.ui.define([], function() {
57
57
  JSTokenizer.prototype.error = function(m) {
58
58
 
59
59
  // Call error when something is wrong.
60
- throw {
61
- name: 'SyntaxError',
62
- message: m,
63
- at: this.at,
64
- text: this.text
65
- };
60
+ const err = new SyntaxError(m);
61
+ err.at = this.at;
62
+ err.text = this.text;
63
+ throw err;
66
64
  };
67
65
 
68
66
  JSTokenizer.prototype.next = function(c) {
@@ -157,32 +155,33 @@ sap.ui.define([], function() {
157
155
  this.error("Bad string");
158
156
  };
159
157
 
158
+ function isNameCharacter(ch) {
159
+ return ch === "_" || ch === "$" ||
160
+ (ch >= "0" && ch <= "9") ||
161
+ (ch >= "a" && ch <= "z") ||
162
+ (ch >= "A" && ch <= "Z");
163
+ }
164
+
160
165
  JSTokenizer.prototype.name = function() {
161
166
 
162
167
  // Parse a name value.
163
- var name = '',
164
- allowed = function(ch) {
165
- return ch === "_" || ch === "$" ||
166
- (ch >= "0" && ch <= "9") ||
167
- (ch >= "a" && ch <= "z") ||
168
- (ch >= "A" && ch <= "Z");
169
- };
170
-
171
- if (allowed(this.ch)) {
168
+ var name = '';
169
+
170
+ if (isNameCharacter(this.ch)) {
172
171
  name += this.ch;
173
172
  } else {
174
173
  this.error("Bad name");
175
174
  }
176
175
 
177
176
  while (this.next()) {
178
- if (this.ch === ' ') {
177
+ if (this.ch <= ' ') {
179
178
  this.next();
180
179
  return name;
181
180
  }
182
181
  if (this.ch === ':') {
183
182
  return name;
184
183
  }
185
- if (allowed(this.ch)) {
184
+ if (isNameCharacter(this.ch)) {
186
185
  name += this.ch;
187
186
  } else {
188
187
  this.error("Bad name");
@@ -270,8 +269,16 @@ sap.ui.define([], function() {
270
269
  key = this.number();
271
270
  } else if (this.ch === '"' || this.ch === '\'') {
272
271
  key = this.string();
273
- } else {
272
+ } else if (isNameCharacter(this.ch)) {
274
273
  key = this.name();
274
+ } else {
275
+ const contextStart = Math.max(0, this.at - 10);
276
+ const context = this.text.substring(contextStart, this.at + 10);
277
+ const positionInContext = this.at - contextStart;
278
+ this.error(`Syntax error: Unexpected character '${this.ch}'.
279
+
280
+ ${context}
281
+ ${' '.repeat(positionInContext - 1)}^`);
275
282
  }
276
283
  this.white();
277
284
  this.next(':');
@@ -26,7 +26,7 @@
26
26
  * @alias module:sap/base/util/restricted/_CancelablePromise
27
27
  * @author SAP SE
28
28
  * @since 1.79
29
- * @version 1.132.0
29
+ * @version 1.133.0
30
30
  * @private
31
31
  * @ui5-restricted
32
32
  */