@openui5/sap.ui.core 1.107.1 → 1.108.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/.dtsgenrc +63 -0
  2. package/THIRDPARTY.txt +1 -1
  3. package/package.json +1 -1
  4. package/src/jquery.sap.global.js +1 -1
  5. package/src/jquery.sap.properties.js +1 -1
  6. package/src/jquery.sap.resources.js +1 -1
  7. package/src/jquery.sap.script.js +1 -1
  8. package/src/jquery.sap.storage.js +3 -3
  9. package/src/sap/base/i18n/ResourceBundle.js +10 -0
  10. package/src/sap/base/security/URLListValidator.js +36 -3
  11. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  12. package/src/sap/base/util/restricted/_castArray.js +1 -1
  13. package/src/sap/base/util/restricted/_compact.js +1 -1
  14. package/src/sap/base/util/restricted/_curry.js +1 -1
  15. package/src/sap/base/util/restricted/_debounce.js +1 -1
  16. package/src/sap/base/util/restricted/_difference.js +1 -1
  17. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  18. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  19. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  20. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  21. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  22. package/src/sap/base/util/restricted/_flatten.js +1 -1
  23. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  24. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  25. package/src/sap/base/util/restricted/_intersection.js +1 -1
  26. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  27. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  28. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  29. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  30. package/src/sap/base/util/restricted/_isNil.js +1 -1
  31. package/src/sap/base/util/restricted/_max.js +1 -1
  32. package/src/sap/base/util/restricted/_merge.js +1 -1
  33. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  34. package/src/sap/base/util/restricted/_min.js +1 -1
  35. package/src/sap/base/util/restricted/_omit.js +1 -1
  36. package/src/sap/base/util/restricted/_pick.js +1 -1
  37. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  38. package/src/sap/base/util/restricted/_throttle.js +1 -1
  39. package/src/sap/base/util/restricted/_toArray.js +1 -1
  40. package/src/sap/base/util/restricted/_union.js +1 -1
  41. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  42. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  43. package/src/sap/base/util/restricted/_uniq.js +1 -1
  44. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  45. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  46. package/src/sap/base/util/restricted/_without.js +1 -1
  47. package/src/sap/base/util/restricted/_xor.js +1 -1
  48. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  49. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  50. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  51. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  52. package/src/sap/ui/Device.js +3 -3
  53. package/src/sap/ui/Global.js +4 -4
  54. package/src/sap/ui/base/Event.js +1 -1
  55. package/src/sap/ui/base/EventProvider.js +1 -1
  56. package/src/sap/ui/base/Interface.js +1 -1
  57. package/src/sap/ui/base/ManagedObject.js +2 -2
  58. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  59. package/src/sap/ui/base/Metadata.js +1 -1
  60. package/src/sap/ui/base/Object.js +1 -1
  61. package/src/sap/ui/base/ObjectPool.js +1 -1
  62. package/src/sap/ui/core/.library +50 -50
  63. package/src/sap/ui/core/BusyIndicator.js +1 -1
  64. package/src/sap/ui/core/BusyIndicatorUtils.js +22 -8
  65. package/src/sap/ui/core/Component.js +21 -4
  66. package/src/sap/ui/core/ComponentContainer.js +5 -1
  67. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  68. package/src/sap/ui/core/ComponentSupport.js +1 -1
  69. package/src/sap/ui/core/Configuration.js +2 -15
  70. package/src/sap/ui/core/Control.js +20 -2
  71. package/src/sap/ui/core/Core.js +311 -413
  72. package/src/sap/ui/core/CustomData.js +1 -1
  73. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  74. package/src/sap/ui/core/Element.js +1 -1
  75. package/src/sap/ui/core/ElementMetadata.js +1 -1
  76. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  77. package/src/sap/ui/core/EventBus.js +1 -1
  78. package/src/sap/ui/core/FocusHandler.js +12 -14
  79. package/src/sap/ui/core/Fragment.js +5 -2
  80. package/src/sap/ui/core/HTML.js +1 -1
  81. package/src/sap/ui/core/History.js +1 -1
  82. package/src/sap/ui/core/Icon.js +1 -1
  83. package/src/sap/ui/core/IconPool.js +7 -1
  84. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  85. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  86. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  87. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  88. package/src/sap/ui/core/InvisibleText.js +1 -1
  89. package/src/sap/ui/core/Item.js +1 -1
  90. package/src/sap/ui/core/LabelEnablement.js +1 -1
  91. package/src/sap/ui/core/LayoutData.js +1 -1
  92. package/src/sap/ui/core/ListItem.js +1 -1
  93. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  94. package/src/sap/ui/core/Locale.js +1 -1
  95. package/src/sap/ui/core/LocaleData.js +1 -1
  96. package/src/sap/ui/core/Manifest.js +16 -83
  97. package/src/sap/ui/core/Message.js +1 -1
  98. package/src/sap/ui/core/Popup.js +14 -4
  99. package/src/sap/ui/core/RenderManager.js +111 -109
  100. package/src/sap/ui/core/Renderer.js +1 -1
  101. package/src/sap/ui/core/ResizeHandler.js +1 -1
  102. package/src/sap/ui/core/ScrollBar.js +1 -1
  103. package/src/sap/ui/core/SeparatorItem.js +1 -1
  104. package/src/sap/ui/core/ShortcutHintsMixin.js +20 -0
  105. package/src/sap/ui/core/Title.js +1 -1
  106. package/src/sap/ui/core/TooltipBase.js +1 -1
  107. package/src/sap/ui/core/UIArea.js +4 -2
  108. package/src/sap/ui/core/UIComponent.js +1 -1
  109. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  110. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  111. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  112. package/src/sap/ui/core/XMLComposite.js +1 -1
  113. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  114. package/src/sap/ui/core/_IconRegistry.js +11 -7
  115. package/src/sap/ui/core/_UrlResolver.js +139 -0
  116. package/src/sap/ui/core/date/CalendarUtils.js +87 -0
  117. package/src/sap/ui/core/date/CalendarWeekNumbering.js +73 -0
  118. package/src/sap/ui/core/date/UniversalDate.js +198 -74
  119. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  120. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  121. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  122. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  123. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  124. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  125. package/src/sap/ui/core/format/DateFormat.js +187 -57
  126. package/src/sap/ui/core/format/NumberFormat.js +64 -23
  127. package/src/sap/ui/core/format/TimezoneUtil.js +3 -1
  128. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  129. package/src/sap/ui/core/library.js +19 -10
  130. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  131. package/src/sap/ui/core/message/Message.js +5 -3
  132. package/src/sap/ui/core/message/MessageManager.js +1 -1
  133. package/src/sap/ui/core/message/MessageParser.js +1 -1
  134. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  135. package/src/sap/ui/core/messagebundle_fr.properties +1 -1
  136. package/src/sap/ui/core/mvc/HTMLView.js +10 -2
  137. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  138. package/src/sap/ui/core/mvc/JSView.js +1 -1
  139. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  140. package/src/sap/ui/core/mvc/View.js +1 -1
  141. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  142. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  143. package/src/sap/ui/core/plugin/LessSupport.js +21 -20
  144. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  145. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  146. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  147. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  148. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  149. package/src/sap/ui/core/service/Service.js +1 -1
  150. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  151. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  152. package/src/sap/ui/core/support/Plugin.js +1 -1
  153. package/src/sap/ui/core/support/Support.js +1 -1
  154. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  155. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  156. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  157. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  158. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  159. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  160. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  161. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  162. package/src/sap/ui/core/themes/base/LocalBusyIndicator.less +3 -3
  163. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  164. package/src/sap/ui/core/theming/Parameters.js +31 -12
  165. package/src/sap/ui/core/theming/ThemeHelper.js +56 -1
  166. package/src/sap/ui/core/theming/ThemeManager.js +817 -0
  167. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  168. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  169. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  170. package/src/sap/ui/core/tmpl/Template.js +1 -1
  171. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  172. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  173. package/src/sap/ui/core/util/Export.js +1 -1
  174. package/src/sap/ui/core/util/ExportCell.js +1 -1
  175. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  176. package/src/sap/ui/core/util/ExportRow.js +1 -1
  177. package/src/sap/ui/core/util/ExportType.js +1 -1
  178. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  179. package/src/sap/ui/core/util/File.js +1 -1
  180. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  181. package/src/sap/ui/core/util/MockServer.js +1 -1
  182. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  183. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +2 -1
  184. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  185. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  186. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  187. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  188. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  189. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  190. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  191. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  192. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  193. package/src/sap/ui/debug/ControlTree.js +1 -1
  194. package/src/sap/ui/debug/DebugEnv.js +1 -1
  195. package/src/sap/ui/debug/PropertyList.js +1 -1
  196. package/src/sap/ui/dom/getFirstEditableInput.js +25 -6
  197. package/src/sap/ui/dom/includeStylesheet.js +2 -2
  198. package/src/sap/ui/model/ClientListBinding.js +11 -4
  199. package/src/sap/ui/model/ClientModel.js +1 -1
  200. package/src/sap/ui/model/ClientTreeBinding.js +60 -5
  201. package/src/sap/ui/model/CompositeDataState.js +1 -1
  202. package/src/sap/ui/model/CompositeType.js +1 -1
  203. package/src/sap/ui/model/DataState.js +1 -1
  204. package/src/sap/ui/model/Filter.js +6 -6
  205. package/src/sap/ui/model/MetaModel.js +1 -1
  206. package/src/sap/ui/model/Model.js +1 -1
  207. package/src/sap/ui/model/SelectionModel.js +1 -1
  208. package/src/sap/ui/model/SimpleType.js +1 -1
  209. package/src/sap/ui/model/Sorter.js +6 -4
  210. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  211. package/src/sap/ui/model/TreeBinding.js +18 -0
  212. package/src/sap/ui/model/TreeBindingCompatibilityAdapter.js +1 -1
  213. package/src/sap/ui/model/Type.js +1 -1
  214. package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +28 -34
  215. package/src/sap/ui/model/controlhelper/TreeBindingProxy.js +590 -0
  216. package/src/sap/ui/model/json/JSONModel.js +1 -1
  217. package/src/sap/ui/model/message/MessageModel.js +1 -1
  218. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  219. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  220. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  221. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  222. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  223. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  224. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  225. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  226. package/src/sap/ui/model/odata/type/Date.js +1 -1
  227. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  228. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  229. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  230. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  231. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  232. package/src/sap/ui/model/odata/type/Double.js +1 -1
  233. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  234. package/src/sap/ui/model/odata/type/Int.js +1 -1
  235. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  236. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  237. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  238. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  239. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  240. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  241. package/src/sap/ui/model/odata/type/Single.js +1 -1
  242. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  243. package/src/sap/ui/model/odata/type/String.js +1 -1
  244. package/src/sap/ui/model/odata/type/Time.js +1 -1
  245. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  246. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  247. package/src/sap/ui/model/odata/v2/BatchMode.js +2 -2
  248. package/src/sap/ui/model/odata/v2/Context.js +169 -4
  249. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  250. package/src/sap/ui/model/odata/v2/ODataListBinding.js +39 -17
  251. package/src/sap/ui/model/odata/v2/ODataModel.js +219 -82
  252. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  253. package/src/sap/ui/model/odata/v4/Context.js +35 -22
  254. package/src/sap/ui/model/odata/v4/ODataBinding.js +28 -22
  255. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +6 -6
  256. package/src/sap/ui/model/odata/v4/ODataListBinding.js +111 -89
  257. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +5 -4
  258. package/src/sap/ui/model/odata/v4/ODataModel.js +84 -46
  259. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +19 -20
  260. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +3 -3
  261. package/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js +1 -1
  262. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +12 -5
  263. package/src/sap/ui/model/odata/v4/lib/_Cache.js +130 -64
  264. package/src/sap/ui/model/odata/v4/lib/_Helper.js +1 -1
  265. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +56 -15
  266. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  267. package/src/sap/ui/model/type/Boolean.js +1 -1
  268. package/src/sap/ui/model/type/Currency.js +1 -1
  269. package/src/sap/ui/model/type/Date.js +1 -1
  270. package/src/sap/ui/model/type/DateInterval.js +1 -1
  271. package/src/sap/ui/model/type/DateTime.js +1 -1
  272. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  273. package/src/sap/ui/model/type/FileSize.js +1 -1
  274. package/src/sap/ui/model/type/Float.js +1 -1
  275. package/src/sap/ui/model/type/Integer.js +1 -1
  276. package/src/sap/ui/model/type/String.js +1 -1
  277. package/src/sap/ui/model/type/Time.js +1 -1
  278. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  279. package/src/sap/ui/model/type/Unit.js +1 -1
  280. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  281. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  282. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  283. package/src/sap/ui/test/TestUtils.js +20 -0
  284. package/src/sap/ui/test/generic/TestBase.js +1 -1
  285. package/src/sap/ui/thirdparty/mobify-carousel.js +0 -4
  286. package/src/sap/ui/util/Storage.js +1 -1
  287. package/src/sap/ui/core/ThemeCheck.js +0 -389
@@ -186,7 +186,7 @@ sap.ui.define([
186
186
  *
187
187
  * @extends Object
188
188
  * @author SAP SE
189
- * @version 1.107.1
189
+ * @version 1.108.1
190
190
  * @alias sap.ui.core.RenderManager
191
191
  * @public
192
192
  */
@@ -693,107 +693,6 @@ sap.ui.define([
693
693
  return this;
694
694
  };
695
695
 
696
- /**
697
- * Collects accessibility related attributes for an <code>Element</code> and renders them as part of
698
- * the currently rendered DOM element.
699
- *
700
- * See the WAI-ARIA specification for a general description of the accessibility related attributes.
701
- * Attributes are only rendered when the accessibility feature is activated in the UI5 runtime configuration.
702
- *
703
- * The values for the attributes are collected from the following sources (last one wins):
704
- * <ol>
705
- * <li>from the properties and associations of the given <code>oElement</code>, using a heuristic mapping
706
- * (described below)</li>
707
- * <li>from the <code>mProps</code> parameter, as provided by the caller</li>
708
- * <li>from the parent of the given <code>oElement</code>, if it has a parent and if the parent implements
709
- * the method {@link sap.ui.core.Element#enhanceAccessibilityState enhanceAccessibilityState}</li>
710
- * </ol>
711
- * If no <code>oElement</code> is given, only <code>mProps</code> will be taken into account.
712
- *
713
- *
714
- * <h3>Heuristic Mapping</h3>
715
- * The following mapping from properties/values to ARIA attributes is used (if the element does have such properties):
716
- * <ul>
717
- * <li><code>editable===false</code> => <code>aria-readonly="true"</code></li>
718
- * <li><code>enabled===false</code> => <code>aria-disabled="true"</code></li>
719
- * <li><code>visible===false</code> => <code>aria-hidden="true"</code></li>
720
- * <li><code>required===true</code> => <code>aria-required="true"</code></li>
721
- * <li><code>selected===true</code> => <code>aria-selected="true"</code></li>
722
- * <li><code>checked===true</code> => <code>aria-checked="true"</code></li>
723
- * </ul>
724
- *
725
- * In case of the <code>required</code> property, all label controls which reference the given element
726
- * in their <code>labelFor</code> relation are additionally taken into account when determining the
727
- * value for the <code>aria-required</code> attribute.
728
- *
729
- * Additionally, the associations <code>ariaDescribedBy</code> and <code>ariaLabelledBy</code> are used to
730
- * determine the lists of IDs for the ARIA attributes <code>aria-describedby</code> and
731
- * <code>aria-labelledby</code>.
732
- *
733
- * Label controls that reference the given element in their <code>labelFor</code> relation are automatically
734
- * added to the <code>aria-labelledby</code> attribute.
735
- *
736
- * Note: This function is only a heuristic of a control property to ARIA attribute mapping. Control developers
737
- * have to check whether it fulfills their requirements. In case of problems (for example the <code>RadioButton</code> has a
738
- * <code>selected</code> property but must provide an <code>aria-checked</code> attribute) the auto-generated
739
- * result of this function can be influenced via the parameter <code>mProps</code> as described below.
740
- *
741
- * The parameter <code>mProps</code> can be used to either provide additional attributes which should be rendered
742
- * and/or to avoid the automatic generation of single ARIA attributes. The 'aria-' prefix will be prepended
743
- * automatically to the keys (Exception: Attribute <code>role</code> does not get the prefix 'aria-').
744
- *
745
- *
746
- * Examples:<br>
747
- * <code>{hidden : true}</code> results in <code>aria-hidden="true"</code> independent of the presence or
748
- * absence of the visibility property.<br>
749
- * <code>{hidden : null}</code> ensures that no <code>aria-hidden</code> attribute is written independent
750
- * of the presence or absence of the visibility property.<br>
751
- *
752
- * The function behaves in the same way for the associations <code>ariaDescribedBy</code> and <code>ariaLabelledBy</code>.
753
- * To append additional values to the auto-generated <code>aria-describedby</code> and <code>aria-labelledby</code>
754
- * attributes, the following format can be used:
755
- * <pre>
756
- * {describedby : {value: "id1 id2", append: true}} => aria-describedby = "ida idb id1 id2"
757
- * </pre>
758
- * (assuming that "ida idb" is the auto-generated part based on the association <code>ariaDescribedBy</code>).
759
- *
760
- * @param {sap.ui.core.Element}
761
- * [oElement] The <code>Element</code> whose accessibility state should be rendered
762
- * @param {object}
763
- * [mProps] A map of additional properties that should be added or changed.
764
- * @returns {this} Reference to <code>this</code> in order to allow method chaining
765
- * @public
766
- * @function
767
- */
768
- this.accessibilityState = this.writeAccessibilityState;
769
-
770
- /**
771
- * Writes either an &lt;img&gt; tag for normal URI or a &lt;span&gt; tag with needed properties for an icon URI.
772
- *
773
- * Additional classes and attributes can be added to the tag with the second and third parameter.
774
- * All of the given attributes are escaped when necessary for security consideration.
775
- *
776
- * When an &lt;img&gt; tag is rendered, the following two attributes are added by default
777
- * and can be overwritten with corresponding values in the <code>mAttributes</code> parameter:
778
- * <ul>
779
- * <li><code>role: "presentation"</code></Li>
780
- * <li><code>alt: ""</code></li>
781
- * </ul>
782
- *
783
- * <b>Note:</b> This function requires the {@link sap.ui.core.IconPool} module. Ensure that the module is
784
- * loaded before this function is called to avoid syncXHRs.
785
- *
786
- * @param {sap.ui.core.URI} sURI URI of an image or of an icon registered in {@link sap.ui.core.IconPool}
787
- * @param {array|string} [aClasses] Additional classes that are added to the rendered tag
788
- * @param {object} [mAttributes] Additional attributes that will be added to the rendered tag.
789
- * Currently the attributes <code>class</code> and <code>style</code> are not allowed
790
- * @returns {this} Reference to <code>this</code> in order to allow method chaining
791
- * @public
792
- * @function
793
- */
794
- this.icon = this.writeIcon;
795
-
796
-
797
696
  //#################################################################################################
798
697
  // Semantic Rendering Interface for DOM Based Rendering
799
698
  //#################################################################################################
@@ -931,8 +830,10 @@ sap.ui.define([
931
830
  var oEvent = new jQuery.Event("BeforeRendering");
932
831
  // store the element on the event (aligned with jQuery syntax)
933
832
  oEvent.srcControl = oControl;
833
+ oControl._bOnBeforeRenderingPhase = true;
934
834
  oControl._handleEvent(oEvent);
935
835
  } finally {
836
+ oControl._bOnBeforeRenderingPhase = false;
936
837
  bLocked = false;
937
838
  }
938
839
  }
@@ -1723,7 +1624,7 @@ sap.ui.define([
1723
1624
  * <code>aria-labelledby</code>.
1724
1625
  *
1725
1626
  * Label controls that reference the given element in their <code>labelFor</code> relation are automatically
1726
- * added to the <code>aria-labelledby</code> attributes.
1627
+ * added to the <code>aria-labelledby</code> attribute.
1727
1628
  *
1728
1629
  * Note: This function is only a heuristic of a control property to ARIA attribute mapping. Control developers
1729
1630
  * have to check whether it fulfills their requirements. In case of problems (for example the <code>RadioButton</code> has a
@@ -1755,9 +1656,8 @@ sap.ui.define([
1755
1656
  * [mProps] A map of additional properties that should be added or changed.
1756
1657
  * @returns {this} Reference to <code>this</code> in order to allow method chaining
1757
1658
  * @public
1758
- * @deprecated Since 1.92. Instead use {@link sap.ui.core.RenderManager#accessibilityState} of the {@link sap.ui.core.RenderManager Semantic Rendering API}.
1759
1659
  */
1760
- RenderManager.prototype.writeAccessibilityState = function(oElement, mProps) {
1660
+ RenderManager.prototype.accessibilityState = function(oElement, mProps) {
1761
1661
  if (!Configuration.getAccessibility()) {
1762
1662
  return this;
1763
1663
  }
@@ -1855,12 +1755,87 @@ sap.ui.define([
1855
1755
  return this;
1856
1756
  };
1857
1757
 
1758
+ /**
1759
+ * Collects accessibility related attributes for an <code>Element</code> and renders them as part of
1760
+ * the currently rendered DOM element.
1761
+ *
1762
+ * See the WAI-ARIA specification for a general description of the accessibility related attributes.
1763
+ * Attributes are only rendered when the accessibility feature is activated in the UI5 runtime configuration.
1764
+ *
1765
+ * The values for the attributes are collected from the following sources (last one wins):
1766
+ * <ol>
1767
+ * <li>from the properties and associations of the given <code>oElement</code>, using a heuristic mapping
1768
+ * (described below)</li>
1769
+ * <li>from the <code>mProps</code> parameter, as provided by the caller</li>
1770
+ * <li>from the parent of the given <code>oElement</code>, if it has a parent and if the parent implements
1771
+ * the method {@link sap.ui.core.Element#enhanceAccessibilityState enhanceAccessibilityState}</li>
1772
+ * </ol>
1773
+ * If no <code>oElement</code> is given, only <code>mProps</code> will be taken into account.
1774
+ *
1775
+ *
1776
+ * <h3>Heuristic Mapping</h3>
1777
+ * The following mapping from properties/values to ARIA attributes is used (if the element does have such properties):
1778
+ * <ul>
1779
+ * <li><code>editable===false</code> => <code>aria-readonly="true"</code></li>
1780
+ * <li><code>enabled===false</code> => <code>aria-disabled="true"</code></li>
1781
+ * <li><code>visible===false</code> => <code>aria-hidden="true"</code></li>
1782
+ * <li><code>required===true</code> => <code>aria-required="true"</code></li>
1783
+ * <li><code>selected===true</code> => <code>aria-selected="true"</code></li>
1784
+ * <li><code>checked===true</code> => <code>aria-checked="true"</code></li>
1785
+ * </ul>
1786
+ *
1787
+ * In case of the <code>required</code> property, all label controls which reference the given element
1788
+ * in their <code>labelFor</code> relation are additionally taken into account when determining the
1789
+ * value for the <code>aria-required</code> attribute.
1790
+ *
1791
+ * Additionally, the associations <code>ariaDescribedBy</code> and <code>ariaLabelledBy</code> are used to
1792
+ * determine the lists of IDs for the ARIA attributes <code>aria-describedby</code> and
1793
+ * <code>aria-labelledby</code>.
1794
+ *
1795
+ * Label controls that reference the given element in their <code>labelFor</code> relation are automatically
1796
+ * added to the <code>aria-labelledby</code> attribute.
1797
+ *
1798
+ * Note: This function is only a heuristic of a control property to ARIA attribute mapping. Control developers
1799
+ * have to check whether it fulfills their requirements. In case of problems (for example the <code>RadioButton</code> has a
1800
+ * <code>selected</code> property but must provide an <code>aria-checked</code> attribute) the auto-generated
1801
+ * result of this function can be influenced via the parameter <code>mProps</code> as described below.
1802
+ *
1803
+ * The parameter <code>mProps</code> can be used to either provide additional attributes which should be rendered
1804
+ * and/or to avoid the automatic generation of single ARIA attributes. The 'aria-' prefix will be prepended
1805
+ * automatically to the keys (Exception: Attribute <code>role</code> does not get the prefix 'aria-').
1806
+ *
1807
+ *
1808
+ * Examples:<br>
1809
+ * <code>{hidden : true}</code> results in <code>aria-hidden="true"</code> independent of the presence or
1810
+ * absence of the visibility property.<br>
1811
+ * <code>{hidden : null}</code> ensures that no <code>aria-hidden</code> attribute is written independent
1812
+ * of the presence or absence of the visibility property.<br>
1813
+ *
1814
+ * The function behaves in the same way for the associations <code>ariaDescribedBy</code> and <code>ariaLabelledBy</code>.
1815
+ * To append additional values to the auto-generated <code>aria-describedby</code> and <code>aria-labelledby</code>
1816
+ * attributes, the following format can be used:
1817
+ * <pre>
1818
+ * {describedby : {value: "id1 id2", append: true}} => aria-describedby = "ida idb id1 id2"
1819
+ * </pre>
1820
+ * (assuming that "ida idb" is the auto-generated part based on the association <code>ariaDescribedBy</code>).
1821
+ *
1822
+ * @param {sap.ui.core.Element}
1823
+ * [oElement] The <code>Element</code> whose accessibility state should be rendered
1824
+ * @param {object}
1825
+ * [mProps] A map of additional properties that should be added or changed.
1826
+ * @returns {this} Reference to <code>this</code> in order to allow method chaining
1827
+ * @public
1828
+ * @deprecated Since 1.92. Instead use {@link sap.ui.core.RenderManager#accessibilityState} of the {@link sap.ui.core.RenderManager Semantic Rendering API}.
1829
+ * @function
1830
+ */
1831
+ RenderManager.prototype.writeAccessibilityState = RenderManager.prototype.accessibilityState;
1832
+
1858
1833
 
1859
1834
  /**
1860
1835
  * Writes either an &lt;img&gt; tag for normal URI or a &lt;span&gt; tag with needed properties for an icon URI.
1861
1836
  *
1862
1837
  * Additional classes and attributes can be added to the tag with the second and third parameter.
1863
- * All of the given attributes are escaped for security consideration.
1838
+ * All of the given attributes are escaped when necessary for security consideration.
1864
1839
  *
1865
1840
  * When an &lt;img&gt; tag is rendered, the following two attributes are added by default
1866
1841
  * and can be overwritten with corresponding values in the <code>mAttributes</code> parameter:
@@ -1869,14 +1844,17 @@ sap.ui.define([
1869
1844
  * <li><code>alt: ""</code></li>
1870
1845
  * </ul>
1871
1846
  *
1847
+ * <b>Note:</b> This function requires the {@link sap.ui.core.IconPool} module. Ensure that the module is
1848
+ * loaded before this function is called to avoid syncXHRs.
1849
+ *
1872
1850
  * @param {sap.ui.core.URI} sURI URI of an image or of an icon registered in {@link sap.ui.core.IconPool}
1873
1851
  * @param {array|string} [aClasses] Additional classes that are added to the rendered tag
1874
- * @param {object} [mAttributes] Additional attributes that will be added to the rendered tag
1852
+ * @param {object} [mAttributes] Additional attributes that will be added to the rendered tag.
1853
+ * Currently the attributes <code>class</code> and <code>style</code> are not allowed
1875
1854
  * @returns {this} Reference to <code>this</code> in order to allow method chaining
1876
1855
  * @public
1877
- * @deprecated Since 1.92. Instead use {@link sap.ui.core.RenderManager#icon} of the {@link sap.ui.core.RenderManager Semantic Rendering API}.
1878
1856
  */
1879
- RenderManager.prototype.writeIcon = function(sURI, aClasses, mAttributes){
1857
+ RenderManager.prototype.icon = function(sURI, aClasses, mAttributes){
1880
1858
  var IconPool = sap.ui.require("sap/ui/core/IconPool");
1881
1859
  if (!IconPool) {
1882
1860
  Log.warning("Synchronous loading of IconPool due to sap.ui.core.RenderManager#icon call. " +
@@ -1992,6 +1970,30 @@ sap.ui.define([
1992
1970
  return this;
1993
1971
  };
1994
1972
 
1973
+ /**
1974
+ * Writes either an &lt;img&gt; tag for normal URI or a &lt;span&gt; tag with needed properties for an icon URI.
1975
+ *
1976
+ * Additional classes and attributes can be added to the tag with the second and third parameter.
1977
+ * All of the given attributes are escaped for security consideration.
1978
+ *
1979
+ * When an &lt;img&gt; tag is rendered, the following two attributes are added by default
1980
+ * and can be overwritten with corresponding values in the <code>mAttributes</code> parameter:
1981
+ * <ul>
1982
+ * <li><code>role: "presentation"</code></Li>
1983
+ * <li><code>alt: ""</code></li>
1984
+ * </ul>
1985
+ *
1986
+ * @param {sap.ui.core.URI} sURI URI of an image or of an icon registered in {@link sap.ui.core.IconPool}
1987
+ * @param {array|string} [aClasses] Additional classes that are added to the rendered tag
1988
+ * @param {object} [mAttributes] Additional attributes that will be added to the rendered tag
1989
+ * @returns {this} Reference to <code>this</code> in order to allow method chaining
1990
+ * @public
1991
+ * @deprecated Since 1.92. Instead use {@link sap.ui.core.RenderManager#icon} of the {@link sap.ui.core.RenderManager Semantic Rendering API}.
1992
+ * @function
1993
+ */
1994
+ RenderManager.prototype.writeIcon = RenderManager.prototype.icon;
1995
+
1996
+
1995
1997
  /**
1996
1998
  * Returns the renderer class for a given control instance
1997
1999
  *
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @classdesc Base Class for a Renderer.
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.107.1
22
+ * @version 1.108.1
23
23
  * @namespace
24
24
  * @public
25
25
  * @alias sap.ui.core.Renderer
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @alias sap.ui.core.ResizeHandler
34
34
  * @extends sap.ui.base.Object
35
35
  * @author SAP SE
36
- * @version 1.107.1
36
+ * @version 1.108.1
37
37
  * @public
38
38
  */
39
39
 
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * The ScrollBar control can be used for virtual scrolling of a certain area.
45
45
  * This means: to simulate a very large scrollable area when technically the area is small and the control takes care of displaying the respective part only. E.g. a Table control can take care of only rendering the currently visible rows and use this ScrollBar control to make the user think he actually scrolls through a long list.
46
46
  * @extends sap.ui.core.Control
47
- * @version 1.107.1
47
+ * @version 1.108.1
48
48
  *
49
49
  * @public
50
50
  * @deprecated as of version 1.56
@@ -23,7 +23,7 @@ sap.ui.define(['./Item', './library'],
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.107.1
26
+ * @version 1.108.1
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.SeparatorItem
@@ -412,6 +412,10 @@ sap.ui.define([
412
412
  oHintRegistry.mDOMNodes = {};
413
413
 
414
414
  var oHintsEventDelegate = {
415
+ /**
416
+ * @type {sap.ui.core.Control}
417
+ * @private
418
+ */
415
419
  "onfocusin": function(oEvent) {
416
420
  var oShortcutHintRefs = this._findShortcutOptionsForRef(oEvent.target);
417
421
 
@@ -424,6 +428,10 @@ sap.ui.define([
424
428
  this._updateShortcutHintAccLabel(oShortcutHintRefs[0]);
425
429
  this.showShortcutHint(oShortcutHintRefs);
426
430
  },
431
+ /**
432
+ * @type {sap.ui.core.Control}
433
+ * @private
434
+ */
427
435
  "onfocusout": function(oEvent) {
428
436
  var oShortcutHintRefs = this._findShortcutOptionsForRef(oEvent.target);
429
437
 
@@ -433,6 +441,10 @@ sap.ui.define([
433
441
 
434
442
  this.hideShortcutHint();
435
443
  },
444
+ /**
445
+ * @type {sap.ui.core.Control}
446
+ * @private
447
+ */
436
448
  "onmouseover": function(oEvent) {
437
449
  var oShortcutHintRefs = this._findShortcutOptionsForRef(oEvent.target),
438
450
  oDOMRef;
@@ -453,6 +465,10 @@ sap.ui.define([
453
465
  this.showShortcutHint(oShortcutHintRefs);
454
466
  }
455
467
  },
468
+ /**
469
+ * @type {sap.ui.core.Control}
470
+ * @private
471
+ */
456
472
  "onmouseout": function(oEvent) {
457
473
  var oShortcutHintRefs = this._findShortcutOptionsForRef(oEvent.target);
458
474
 
@@ -469,6 +485,10 @@ sap.ui.define([
469
485
  this.hideShortcutHint();
470
486
  }
471
487
  },
488
+ /**
489
+ * @type {sap.ui.core.Control}
490
+ * @private
491
+ */
472
492
  "onAfterRendering": function() {
473
493
  var aInfos = this.getRegisteredShortcutInfos(),
474
494
  oElement,
@@ -25,7 +25,7 @@ sap.ui.define(['./Element', './library'],
25
25
  * @extends sap.ui.core.Element
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.107.1
28
+ * @version 1.108.1
29
29
  *
30
30
  * @public
31
31
  * @since 1.16.0
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @class
31
31
  * Abstract class that can be extended in order to implement any extended tooltip. For example, RichTooltip Control is based on it. It provides the opening/closing behavior and the main "text" property.
32
32
  * @extends sap.ui.core.Control
33
- * @version 1.107.1
33
+ * @version 1.108.1
34
34
  *
35
35
  * @public
36
36
  * @alias sap.ui.core.TooltipBase
@@ -183,7 +183,7 @@ sap.ui.define([
183
183
  *
184
184
  * @extends sap.ui.base.ManagedObject
185
185
  * @author SAP SE
186
- * @version 1.107.1
186
+ * @version 1.108.1
187
187
  * @param {object} [oRootNode] reference to the DOM element that should be 'hosting' the UI Area.
188
188
  * @public
189
189
  * @alias sap.ui.core.UIArea
@@ -221,7 +221,7 @@ sap.ui.define([
221
221
  },
222
222
  metadata: {
223
223
  // ---- object ----
224
- publicMethods : ["setRootNode", "getRootNode", "setRootControl", "getRootControl", "lock","unlock", "isLocked", "_handleEvent"],
224
+ publicMethods : ["setRootNode", "getRootNode", "setRootControl", "getRootControl", "lock","unlock", "isLocked"],
225
225
  aggregations : {
226
226
  /**
227
227
  * Content that is displayed in the UIArea.
@@ -857,6 +857,7 @@ sap.ui.define([
857
857
  * registered event handlers.
858
858
  * @param {jQuery.Event} oEvent the jQuery event object
859
859
  * @private
860
+ * @ui5-restricted sap.ui.core.dnd.DragAndDrop, sap.ui.core.FocusHandler
860
861
  */
861
862
  UIArea.prototype._handleEvent = function(/**event*/oEvent) {
862
863
  // execute the registered event handlers
@@ -1330,6 +1331,7 @@ sap.ui.define([
1330
1331
  * @returns {Element} the static, hidden area DOM element belonging to this core instance.
1331
1332
  * @throws {Error} an Error if the document is not yet ready
1332
1333
  * @private
1334
+ * @ui5-restricted sap.ui.core
1333
1335
  */
1334
1336
  UIArea.getStaticAreaRef = function() {
1335
1337
  if (!bDomReady) {
@@ -54,7 +54,7 @@ sap.ui.define([
54
54
  * @extends sap.ui.core.Component
55
55
  * @abstract
56
56
  * @author SAP SE
57
- * @version 1.107.1
57
+ * @version 1.108.1
58
58
  * @alias sap.ui.core.UIComponent
59
59
  * @since 1.9.2
60
60
  */
@@ -18,7 +18,7 @@ sap.ui.define(['./ComponentMetadata', 'sap/ui/core/mvc/ViewType'],
18
18
  * @experimental Since 1.15.1. The Component concept is still under construction, so some implementation details can be changed in future.
19
19
  * @class
20
20
  * @author SAP SE
21
- * @version 1.107.1
21
+ * @version 1.108.1
22
22
  * @since 1.15.1
23
23
  * @alias sap.ui.core.UIComponentMetadata
24
24
  * @extends sap.ui.core.ComponentMetadata
@@ -16,7 +16,7 @@ sap.ui.define(['./Element', './library', "sap/base/assert"],
16
16
  * Helper functionality for value state support.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.107.1
19
+ * @version 1.108.1
20
20
  * @public
21
21
  * @namespace sap.ui.core.ValueStateSupport
22
22
  */
@@ -20,7 +20,7 @@ sap.ui.define(['./LayoutData', './library'],
20
20
  * @class
21
21
  * Allows to add multiple LayoutData to one control in case that an easy switch of layouts (e.g. in a Form) is needed.
22
22
  * @extends sap.ui.core.LayoutData
23
- * @version 1.107.1
23
+ * @version 1.108.1
24
24
  *
25
25
  * @public
26
26
  * @since 1.9.2
@@ -146,7 +146,7 @@ sap.ui.define([
146
146
  * @extends sap.ui.core.Control
147
147
  *
148
148
  * @author SAP SE
149
- * @version 1.107.1
149
+ * @version 1.108.1
150
150
  * @since 1.56.0
151
151
  * @alias sap.ui.core.XMLComposite
152
152
  * @see {@link topic:b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @param {object} oClassInfo static info to construct the metadata from
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.107.1
33
+ * @version 1.108.1
34
34
  * @since 1.50.0
35
35
  * @alias sap.ui.core.XMLCompositeMetadata
36
36
  * @extends sap.ui.core.ElementMetadata
@@ -561,13 +561,13 @@ sap.ui.define([
561
561
  'sys-minus': 0xe1f7,
562
562
  'dropdown': 0xe1f8,
563
563
  'expand-group': 0xe1f9,
564
- 'collapse-group': 0xe200,
565
564
  'vertical-grip': 0xe1fa,
566
565
  'horizontal-grip': 0xe1fb,
567
566
  'sort-descending': 0xe1fc,
568
567
  'sort-ascending': 0xe1fd,
569
568
  'arrow-down': 0xe1fe,
570
569
  'legend': 0xe1ff,
570
+ 'collapse-group': 0xe200,
571
571
  'message-warning': 0xe201,
572
572
  'message-information': 0x1e202,
573
573
  'message-success': 0x1e203,
@@ -714,21 +714,25 @@ sap.ui.define([
714
714
  'space-navigation': 0xe290,
715
715
  'in-progress': 0x1e291,
716
716
  'not-editable': 0xe292,
717
+ 'heart': 0xe293,
718
+ 'heart-2': 0xe294,
719
+ 'tri-state': 0xe295,
717
720
  'bookmark-2': 0xe296,
718
721
  'detail-less': 0xe297,
719
722
  'detail-more': 0xe298,
720
723
  'flag-2': 0x1e299,
721
724
  'folder-2': 0xe29a,
722
- 'heart': 0xe293,
723
- 'heart-2': 0xe294,
724
725
  'paint-bucket': 0xe29b,
725
- 'tri-state': 0xe295,
726
- 'non-binary': 0xe29d,
727
726
  'direction-arrows': 0xe29c,
727
+ 'non-binary': 0xe29d,
728
728
  'female': 0xe29e,
729
- 'gender-male-and-female': 0x1e300,
730
729
  'male': 0x1e29f,
731
- 'rotate': 0xe301
730
+ 'gender-male-and-female': 0x1e300,
731
+ 'rotate': 0xe301,
732
+ 'locate-me-2': 0xe302,
733
+ 'map-fill': 0xe303,
734
+ 'cloud-check': 0x1e304,
735
+ 'enablement': 0x1e305
732
736
  }
733
737
  };
734
738