@openui5/sap.ui.core 1.120.1 → 1.120.3
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.
- package/.reuse/dep5 +1 -1
- package/THIRDPARTY.txt +1 -1
- package/package.json +1 -1
- package/src/jquery.sap.act.js +1 -1
- package/src/jquery.sap.dom.js +1 -1
- package/src/jquery.sap.encoder.js +1 -1
- package/src/jquery.sap.events.js +1 -1
- package/src/jquery.sap.global.js +2 -2
- package/src/jquery.sap.history.js +1 -1
- package/src/jquery.sap.keycodes.js +1 -1
- package/src/jquery.sap.mobile.js +1 -1
- package/src/jquery.sap.promise.js +1 -1
- package/src/jquery.sap.properties.js +2 -2
- package/src/jquery.sap.resources.js +2 -2
- package/src/jquery.sap.script.js +2 -2
- package/src/jquery.sap.sjax.js +1 -1
- package/src/jquery.sap.storage.js +4 -4
- package/src/jquery.sap.strings.js +1 -1
- package/src/jquery.sap.stubs.js +1 -1
- package/src/jquery.sap.trace.js +1 -1
- package/src/jquery.sap.ui.js +1 -1
- package/src/jquery.sap.xml.js +1 -1
- package/src/sap/base/Event.js +2 -2
- package/src/sap/base/Eventing.js +2 -2
- package/src/sap/base/Log.js +1 -1
- package/src/sap/base/assert.js +1 -1
- package/src/sap/base/config/MemoryConfigurationProvider.js +1 -1
- package/src/sap/base/config.js +2 -2
- package/src/sap/base/i18n/Formatting.js +1 -1
- package/src/sap/base/i18n/LanguageTag.js +2 -2
- package/src/sap/base/i18n/Localization.js +1 -1
- package/src/sap/base/i18n/ResourceBundle.js +1 -1
- package/src/sap/base/i18n/date/CalendarType.js +1 -1
- package/src/sap/base/i18n/date/CalendarWeekNumbering.js +1 -1
- package/src/sap/base/i18n/date/TimezoneUtils.js +23 -10
- package/src/sap/base/security/URLListValidator.js +1 -1
- package/src/sap/base/security/URLWhitelist.js +1 -1
- package/src/sap/base/security/encodeCSS.js +1 -1
- package/src/sap/base/security/encodeJS.js +1 -1
- package/src/sap/base/security/encodeURL.js +1 -1
- package/src/sap/base/security/encodeURLParameters.js +1 -1
- package/src/sap/base/security/encodeXML.js +1 -1
- package/src/sap/base/security/sanitizeHTML.js +1 -1
- package/src/sap/base/strings/camelize.js +1 -1
- package/src/sap/base/strings/capitalize.js +1 -1
- package/src/sap/base/strings/escapeRegExp.js +1 -1
- package/src/sap/base/strings/formatMessage.js +1 -1
- package/src/sap/base/strings/hash.js +1 -1
- package/src/sap/base/strings/hyphenate.js +1 -1
- package/src/sap/base/strings/toHex.js +1 -1
- package/src/sap/base/strings/whitespaceReplacer.js +1 -1
- package/src/sap/base/util/Deferred.js +1 -1
- package/src/sap/base/util/JSTokenizer.js +1 -1
- package/src/sap/base/util/LoaderExtensions.js +1 -1
- package/src/sap/base/util/ObjectPath.js +1 -1
- package/src/sap/base/util/Properties.js +1 -1
- package/src/sap/base/util/UriParameters.js +1 -1
- package/src/sap/base/util/Version.js +1 -1
- package/src/sap/base/util/_merge.js +1 -1
- package/src/sap/base/util/array/diff.js +1 -1
- package/src/sap/base/util/array/uniqueSort.js +1 -1
- package/src/sap/base/util/deepClone.js +1 -1
- package/src/sap/base/util/deepEqual.js +1 -1
- package/src/sap/base/util/deepExtend.js +1 -1
- package/src/sap/base/util/defineCoupledProperty.js +1 -1
- package/src/sap/base/util/defineLazyProperty.js +1 -1
- package/src/sap/base/util/each.js +1 -1
- package/src/sap/base/util/extend.js +1 -1
- package/src/sap/base/util/fetch.js +1 -1
- package/src/sap/base/util/includes.js +1 -1
- package/src/sap/base/util/isEmptyObject.js +1 -1
- package/src/sap/base/util/isPlainObject.js +1 -1
- package/src/sap/base/util/merge.js +1 -1
- package/src/sap/base/util/mixedFetch.js +1 -1
- package/src/sap/base/util/now.js +1 -1
- package/src/sap/base/util/resolveReference.js +1 -1
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +2 -2
- package/src/sap/base/util/restricted/_compact.js +2 -2
- package/src/sap/base/util/restricted/_curry.js +2 -2
- package/src/sap/base/util/restricted/_debounce.js +2 -2
- package/src/sap/base/util/restricted/_difference.js +2 -2
- package/src/sap/base/util/restricted/_differenceBy.js +2 -2
- package/src/sap/base/util/restricted/_differenceWith.js +2 -2
- package/src/sap/base/util/restricted/_flatMap.js +2 -2
- package/src/sap/base/util/restricted/_flatMapDeep.js +2 -2
- package/src/sap/base/util/restricted/_flatMapDepth.js +2 -2
- package/src/sap/base/util/restricted/_flatten.js +2 -2
- package/src/sap/base/util/restricted/_flattenDeep.js +2 -2
- package/src/sap/base/util/restricted/_flattenDepth.js +2 -2
- package/src/sap/base/util/restricted/_intersection.js +2 -2
- package/src/sap/base/util/restricted/_intersectionBy.js +2 -2
- package/src/sap/base/util/restricted/_intersectionWith.js +2 -2
- package/src/sap/base/util/restricted/_isEqual.js +2 -2
- package/src/sap/base/util/restricted/_isEqualWith.js +2 -2
- package/src/sap/base/util/restricted/_isNil.js +2 -2
- package/src/sap/base/util/restricted/_max.js +2 -2
- package/src/sap/base/util/restricted/_merge.js +2 -2
- package/src/sap/base/util/restricted/_mergeWith.js +2 -2
- package/src/sap/base/util/restricted/_min.js +2 -2
- package/src/sap/base/util/restricted/_omit.js +2 -2
- package/src/sap/base/util/restricted/_pick.js +2 -2
- package/src/sap/base/util/restricted/_pickBy.js +2 -2
- package/src/sap/base/util/restricted/_throttle.js +2 -2
- package/src/sap/base/util/restricted/_toArray.js +2 -2
- package/src/sap/base/util/restricted/_union.js +2 -2
- package/src/sap/base/util/restricted/_unionBy.js +2 -2
- package/src/sap/base/util/restricted/_unionWith.js +2 -2
- package/src/sap/base/util/restricted/_uniq.js +2 -2
- package/src/sap/base/util/restricted/_uniqBy.js +2 -2
- package/src/sap/base/util/restricted/_uniqWith.js +2 -2
- package/src/sap/base/util/restricted/_without.js +2 -2
- package/src/sap/base/util/restricted/_xor.js +2 -2
- package/src/sap/base/util/restricted/_xorBy.js +2 -2
- package/src/sap/base/util/restricted/_xorWith.js +2 -2
- package/src/sap/base/util/restricted/_zipObject.js +2 -2
- package/src/sap/base/util/restricted/_zipObjectDeep.js +2 -2
- package/src/sap/base/util/syncFetch.js +1 -1
- package/src/sap/base/util/uid.js +1 -1
- package/src/sap/base/util/values.js +1 -1
- package/src/sap/ui/Device.js +4 -4
- package/src/sap/ui/Global.js +5 -5
- package/src/sap/ui/VersionInfo.js +1 -1
- package/src/sap/ui/base/BindingInfo.js +1 -1
- package/src/sap/ui/base/BindingParser.js +5 -5
- package/src/sap/ui/base/DataType.js +6 -6
- package/src/sap/ui/base/DesignTime.js +1 -1
- package/src/sap/ui/base/Event.js +2 -2
- package/src/sap/ui/base/EventProvider.js +2 -2
- package/src/sap/ui/base/Exception.js +1 -1
- package/src/sap/ui/base/ExpressionParser.js +1 -1
- package/src/sap/ui/base/Interface.js +2 -2
- package/src/sap/ui/base/ManagedObject.js +10 -10
- package/src/sap/ui/base/ManagedObjectMetadata.js +2 -2
- package/src/sap/ui/base/ManagedObjectObserver.js +1 -1
- package/src/sap/ui/base/ManagedObjectRegistry.js +187 -170
- package/src/sap/ui/base/Metadata.js +2 -2
- package/src/sap/ui/base/Object.js +2 -2
- package/src/sap/ui/base/ObjectPool.js +2 -2
- package/src/sap/ui/base/SyncPromise.js +1 -1
- package/src/sap/ui/base/syncXHRFix.js +1 -1
- package/src/sap/ui/core/.library +4 -4
- package/src/sap/ui/core/AccessKeysEnablement.js +1 -1
- package/src/sap/ui/core/AnimationMode.js +1 -1
- package/src/sap/ui/core/AppCacheBuster.js +1 -1
- package/src/sap/ui/core/BlockLayerUtils.js +1 -1
- package/src/sap/ui/core/BusyIndicator.js +2 -2
- package/src/sap/ui/core/BusyIndicatorUtils.js +1 -1
- package/src/sap/ui/core/CalendarType.js +1 -1
- package/src/sap/ui/core/CommandExecution.js +1 -1
- package/src/sap/ui/core/Component.js +31 -145
- package/src/sap/ui/core/ComponentContainer.js +4 -4
- package/src/sap/ui/core/ComponentContainerRenderer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +2 -2
- package/src/sap/ui/core/ComponentRegistry.js +153 -0
- package/src/sap/ui/core/ComponentSupport.js +4 -4
- package/src/sap/ui/core/Configuration.js +2 -2
- package/src/sap/ui/core/ContextMenuSupport.js +1 -1
- package/src/sap/ui/core/Control.js +7 -5
- package/src/sap/ui/core/ControlBehavior.js +1 -1
- package/src/sap/ui/core/Core.js +7 -5
- package/src/sap/ui/core/CustomData.js +2 -2
- package/src/sap/ui/core/CustomStyleClassSupport.js +1 -1
- package/src/sap/ui/core/DeclarativeSupport.js +2 -2
- package/src/sap/ui/core/Element.js +26 -142
- package/src/sap/ui/core/ElementMetadata.js +2 -2
- package/src/sap/ui/core/ElementRegistry.js +159 -0
- package/src/sap/ui/core/EnabledPropagator.js +2 -2
- package/src/sap/ui/core/EventBus.js +2 -2
- package/src/sap/ui/core/ExtensionPoint.js +6 -6
- package/src/sap/ui/core/FocusHandler.js +4 -3
- package/src/sap/ui/core/Fragment.js +6 -6
- package/src/sap/ui/core/HTML.js +2 -2
- package/src/sap/ui/core/HTMLRenderer.js +1 -1
- package/src/sap/ui/core/History.js +2 -2
- package/src/sap/ui/core/Icon.js +2 -2
- package/src/sap/ui/core/IconPool.js +1 -1
- package/src/sap/ui/core/IconRenderer.js +1 -1
- package/src/sap/ui/core/IndicationColorSupport.js +2 -2
- package/src/sap/ui/core/IntervalTrigger.js +2 -2
- package/src/sap/ui/core/InvisibleMessage.js +2 -2
- package/src/sap/ui/core/InvisibleRenderer.js +2 -2
- package/src/sap/ui/core/InvisibleText.js +2 -2
- package/src/sap/ui/core/Item.js +2 -2
- package/src/sap/ui/core/LabelEnablement.js +2 -2
- package/src/sap/ui/core/LayoutData.js +2 -2
- package/src/sap/ui/core/Lib.js +15 -8
- package/src/sap/ui/core/ListItem.js +2 -2
- package/src/sap/ui/core/LocalBusyIndicator.js +2 -2
- package/src/sap/ui/core/LocalBusyIndicatorRenderer.js +1 -1
- package/src/sap/ui/core/LocalBusyIndicatorSupport.js +1 -1
- package/src/sap/ui/core/Locale.js +2 -2
- package/src/sap/ui/core/LocaleData.js +56 -12
- package/src/sap/ui/core/Manifest.js +5 -6
- package/src/sap/ui/core/Message.js +3 -2
- package/src/sap/ui/core/Messaging.js +3 -3
- package/src/sap/ui/core/Patcher.js +1 -1
- package/src/sap/ui/core/Placeholder.js +1 -1
- package/src/sap/ui/core/Popup.js +1 -1
- package/src/sap/ui/core/RenderManager.js +2 -2
- package/src/sap/ui/core/Renderer.js +2 -2
- package/src/sap/ui/core/Rendering.js +1 -1
- package/src/sap/ui/core/ResizeHandler.js +2 -2
- package/src/sap/ui/core/ScrollBar.js +2 -2
- package/src/sap/ui/core/ScrollBarRenderer.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +2 -2
- package/src/sap/ui/core/Shortcut.js +16 -10
- package/src/sap/ui/core/ShortcutHint.js +1 -1
- package/src/sap/ui/core/ShortcutHintsMixin.js +1 -1
- package/src/sap/ui/core/StashedControlSupport.js +1 -1
- package/src/sap/ui/core/StaticArea.js +5 -2
- package/src/sap/ui/core/Supportability.js +1 -1
- package/src/sap/ui/core/Theming.js +3 -3
- package/src/sap/ui/core/Title.js +2 -2
- package/src/sap/ui/core/TooltipBase.js +2 -2
- package/src/sap/ui/core/UIArea.js +52 -14
- package/src/sap/ui/core/UIAreaRegistry.js +150 -0
- package/src/sap/ui/core/UIComponent.js +4 -4
- package/src/sap/ui/core/UIComponentMetadata.js +2 -2
- package/src/sap/ui/core/ValueStateSupport.js +2 -2
- package/src/sap/ui/core/VariantLayoutData.js +2 -2
- package/src/sap/ui/core/XMLComposite.js +2 -2
- package/src/sap/ui/core/XMLCompositeMetadata.js +2 -2
- package/src/sap/ui/core/XMLTemplateProcessor.js +96 -77
- package/src/sap/ui/core/_IconRegistry.js +1 -1
- package/src/sap/ui/core/_UrlResolver.js +1 -1
- package/src/sap/ui/core/boot/_bootConfig.js +1 -1
- package/src/sap/ui/core/boot/_runBoot.js +1 -1
- package/src/sap/ui/core/boot/initDOM.js +1 -1
- package/src/sap/ui/core/boot/loadCalendar.js +1 -1
- package/src/sap/ui/core/boot/loadManifest.js +1 -1
- package/src/sap/ui/core/boot/loadModules.js +1 -1
- package/src/sap/ui/core/boot/onInit.js +1 -1
- package/src/sap/ui/core/boot.js +1 -1
- package/src/sap/ui/core/cache/CacheManager.js +1 -1
- package/src/sap/ui/core/cache/CacheManagerNOP.js +1 -1
- package/src/sap/ui/core/cache/LRUPersistentCache.js +1 -1
- package/src/sap/ui/core/cldr/Unicode-Data-Files-LICENSE.txt +1 -1
- package/src/sap/ui/core/cldr/cy.json +12 -3
- package/src/sap/ui/core/cldr/en_AU.json +48 -12
- package/src/sap/ui/core/cldr/en_GB.json +24 -6
- package/src/sap/ui/core/cldr/en_HK.json +24 -6
- package/src/sap/ui/core/cldr/en_IE.json +24 -6
- package/src/sap/ui/core/cldr/en_IN.json +24 -6
- package/src/sap/ui/core/cldr/en_NZ.json +24 -6
- package/src/sap/ui/core/cldr/en_PG.json +24 -6
- package/src/sap/ui/core/cldr/en_SG.json +24 -6
- package/src/sap/ui/core/cldr/en_ZA.json +24 -6
- package/src/sap/ui/core/cldr/es.json +288 -72
- package/src/sap/ui/core/cldr/es_AR.json +288 -72
- package/src/sap/ui/core/cldr/es_BO.json +288 -72
- package/src/sap/ui/core/cldr/es_CL.json +144 -36
- package/src/sap/ui/core/cldr/es_CO.json +144 -36
- package/src/sap/ui/core/cldr/es_MX.json +288 -72
- package/src/sap/ui/core/cldr/fa.json +48 -12
- package/src/sap/ui/core/cldr/id.json +56 -14
- package/src/sap/ui/core/cldr/kk.json +184 -46
- package/src/sap/ui/core/cldr/ms.json +56 -14
- package/src/sap/ui/core/cldr/nb.json +36 -9
- package/src/sap/ui/core/cldr/nl.json +264 -66
- package/src/sap/ui/core/cldr/nl_BE.json +264 -66
- package/src/sap/ui/core/cldr/pt.json +288 -72
- package/src/sap/ui/core/cldr/pt_PT.json +288 -72
- package/src/sap/ui/core/cldr/sr.json +96 -24
- package/src/sap/ui/core/cldr/sr_Latn.json +72 -18
- package/src/sap/ui/core/date/Buddhist.js +1 -1
- package/src/sap/ui/core/date/CalendarUtils.js +1 -1
- package/src/sap/ui/core/date/CalendarWeekNumbering.js +1 -1
- package/src/sap/ui/core/date/Gregorian.js +1 -1
- package/src/sap/ui/core/date/Islamic.js +1 -1
- package/src/sap/ui/core/date/Japanese.js +1 -1
- package/src/sap/ui/core/date/Persian.js +1 -1
- package/src/sap/ui/core/date/UI5Date.js +2 -2
- package/src/sap/ui/core/date/UniversalDate.js +1 -1
- package/src/sap/ui/core/date/UniversalDateUtils.js +1 -1
- package/src/sap/ui/core/date/_Calendars.js +1 -1
- package/src/sap/ui/core/delegate/ItemNavigation.js +2 -2
- package/src/sap/ui/core/delegate/ScrollEnablement.js +2 -2
- package/src/sap/ui/core/designtime/ComponentContainer.designtime.js +1 -1
- package/src/sap/ui/core/designtime/CustomData.designtime.js +1 -1
- package/src/sap/ui/core/designtime/Icon.designtime.js +1 -1
- package/src/sap/ui/core/designtime/UIComponent.designtime.js +1 -1
- package/src/sap/ui/core/designtime/library.designtime.js +1 -1
- package/src/sap/ui/core/designtime/mvc/ControllerExtensionTemplate.js +1 -1
- package/src/sap/ui/core/designtime/mvc/View.designtime.js +1 -1
- package/src/sap/ui/core/designtime/mvc/XMLView.designtime.js +1 -1
- package/src/sap/ui/core/dnd/DragAndDrop.js +1 -1
- package/src/sap/ui/core/dnd/DragDropBase.js +2 -2
- package/src/sap/ui/core/dnd/DragDropInfo.js +2 -2
- package/src/sap/ui/core/dnd/DragInfo.js +2 -2
- package/src/sap/ui/core/dnd/DropInfo.js +2 -2
- package/src/sap/ui/core/format/DateFormat.js +26 -14
- package/src/sap/ui/core/format/DateFormatTimezoneDisplay.js +1 -1
- package/src/sap/ui/core/format/FileSizeFormat.js +1 -1
- package/src/sap/ui/core/format/ListFormat.js +1 -1
- package/src/sap/ui/core/format/NumberFormat.js +1 -1
- package/src/sap/ui/core/format/TimezoneUtil.js +2 -2
- package/src/sap/ui/core/getCompatibilityVersion.js +2 -2
- package/src/sap/ui/core/hyphenation/Hyphenation.js +2 -2
- package/src/sap/ui/core/hyphenation/HyphenationTestingWords.js +1 -1
- package/src/sap/ui/core/library.js +10 -4
- package/src/sap/ui/core/library.support.js +1 -1
- package/src/sap/ui/core/message/ControlMessageProcessor.js +2 -2
- package/src/sap/ui/core/message/Message.js +8 -8
- package/src/sap/ui/core/message/MessageManager.js +2 -2
- package/src/sap/ui/core/message/MessageMixin.js +1 -1
- package/src/sap/ui/core/message/MessageParser.js +2 -2
- package/src/sap/ui/core/message/MessageProcessor.js +2 -2
- package/src/sap/ui/core/message/MessageType.js +2 -2
- package/src/sap/ui/core/messagebundle_cnr.properties +352 -0
- package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +297 -285
- package/src/sap/ui/core/mvc/Controller.js +16 -14
- package/src/sap/ui/core/mvc/ControllerExtension.js +8 -6
- package/src/sap/ui/core/mvc/ControllerExtensionProvider.js +2 -2
- package/src/sap/ui/core/mvc/ControllerMetadata.js +2 -2
- package/src/sap/ui/core/mvc/EventHandlerResolver.js +5 -5
- package/src/sap/ui/core/mvc/HTMLView.js +2 -2
- package/src/sap/ui/core/mvc/HTMLViewRenderer.js +1 -1
- package/src/sap/ui/core/mvc/JSONView.js +2 -2
- package/src/sap/ui/core/mvc/JSONViewRenderer.js +1 -1
- package/src/sap/ui/core/mvc/JSView.js +2 -2
- package/src/sap/ui/core/mvc/JSViewRenderer.js +1 -1
- package/src/sap/ui/core/mvc/OverrideExecution.js +1 -1
- package/src/sap/ui/core/mvc/TemplateView.js +2 -2
- package/src/sap/ui/core/mvc/TemplateViewRenderer.js +1 -1
- package/src/sap/ui/core/mvc/View.js +21 -10
- package/src/sap/ui/core/mvc/ViewRenderer.js +1 -1
- package/src/sap/ui/core/mvc/ViewType.js +1 -1
- package/src/sap/ui/core/mvc/XMLProcessingMode.js +1 -1
- package/src/sap/ui/core/mvc/XMLView.js +9 -3
- package/src/sap/ui/core/mvc/XMLViewRenderer.js +1 -1
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +2 -2
- package/src/sap/ui/core/plugin/LessSupport.js +2 -2
- package/src/sap/ui/core/plugin/TemplatingSupport.js +2 -2
- package/src/sap/ui/core/postmessage/Bus.js +2 -2
- package/src/sap/ui/core/postmessage/confirmationDialog.js +2 -2
- package/src/sap/ui/core/routing/HashChanger.js +1 -1
- package/src/sap/ui/core/routing/HashChangerBase.js +1 -1
- package/src/sap/ui/core/routing/History.js +2 -2
- package/src/sap/ui/core/routing/Route.js +7 -7
- package/src/sap/ui/core/routing/Router.js +7 -7
- package/src/sap/ui/core/routing/RouterHashChanger.js +1 -1
- package/src/sap/ui/core/routing/Target.js +1 -1
- package/src/sap/ui/core/routing/TargetCache.js +1 -1
- package/src/sap/ui/core/routing/Targets.js +4 -4
- package/src/sap/ui/core/routing/Views.js +1 -1
- package/src/sap/ui/core/routing/async/Route.js +1 -1
- package/src/sap/ui/core/routing/async/Target.js +3 -3
- package/src/sap/ui/core/routing/async/TargetCache.js +1 -1
- package/src/sap/ui/core/routing/async/Targets.js +2 -2
- package/src/sap/ui/core/routing/sync/Route.js +1 -1
- package/src/sap/ui/core/routing/sync/Target.js +1 -1
- package/src/sap/ui/core/routing/sync/TargetCache.js +1 -1
- package/src/sap/ui/core/routing/sync/Targets.js +1 -1
- package/src/sap/ui/core/rules/App.support.js +1 -1
- package/src/sap/ui/core/rules/Config.support.js +1 -1
- package/src/sap/ui/core/rules/CoreHelper.support.js +1 -1
- package/src/sap/ui/core/rules/Misc.support.js +4 -4
- package/src/sap/ui/core/rules/Model.support.js +1 -1
- package/src/sap/ui/core/rules/Rendering.support.js +1 -1
- package/src/sap/ui/core/rules/Theming.support.js +1 -1
- package/src/sap/ui/core/rules/View.support.js +1 -1
- package/src/sap/ui/core/search/OpenSearchProvider.js +2 -2
- package/src/sap/ui/core/search/SearchProvider.js +2 -2
- package/src/sap/ui/core/service/Service.js +2 -2
- package/src/sap/ui/core/service/ServiceFactory.js +2 -2
- package/src/sap/ui/core/service/ServiceFactoryRegistry.js +2 -2
- package/src/sap/ui/core/support/BootSupportTool.js +1 -1
- package/src/sap/ui/core/support/Hotkeys.js +1 -1
- package/src/sap/ui/core/support/Plugin.js +2 -2
- package/src/sap/ui/core/support/RuleEngineOpaExtension.js +1 -1
- package/src/sap/ui/core/support/Support.js +2 -2
- package/src/sap/ui/core/support/ToolsAPI.js +1 -1
- package/src/sap/ui/core/support/bootstrapFallback.js +1 -1
- package/src/sap/ui/core/support/controls/InteractionSlider.js +1 -1
- package/src/sap/ui/core/support/controls/InteractionTree.js +1 -1
- package/src/sap/ui/core/support/controls/ObjectViewer.js +1 -1
- package/src/sap/ui/core/support/controls/TimelineOverview.js +1 -1
- package/src/sap/ui/core/support/controls/TreeViewer.js +1 -1
- package/src/sap/ui/core/support/debugReboot.js +1 -1
- package/src/sap/ui/core/support/plugins/Breakpoint.js +1 -1
- package/src/sap/ui/core/support/plugins/ControlTree.js +7 -5
- package/src/sap/ui/core/support/plugins/Debugging.js +1 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +2 -2
- package/src/sap/ui/core/support/plugins/LocalStorage.js +2 -2
- package/src/sap/ui/core/support/plugins/Performance.js +2 -2
- package/src/sap/ui/core/support/plugins/Selector.js +2 -2
- package/src/sap/ui/core/support/plugins/TechInfo.js +2 -2
- package/src/sap/ui/core/support/plugins/Trace.js +2 -2
- package/src/sap/ui/core/support/plugins/ViewInfo.js +2 -2
- package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +1 -1
- package/src/sap/ui/core/support/techinfo/moduleTreeHelper.js +1 -1
- package/src/sap/ui/core/support/trace/E2eTraceLib.js +1 -1
- package/src/sap/ui/core/support/trace/EppLib.js +1 -1
- package/src/sap/ui/core/support/usage/EventBroadcaster.js +1 -1
- package/src/sap/ui/core/syncStyleClass.js +1 -1
- package/src/sap/ui/core/themes/base/library.source.less +1 -1
- package/src/sap/ui/core/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/core/theming/Parameters.js +8 -8
- package/src/sap/ui/core/theming/ThemeHelper.js +3 -3
- package/src/sap/ui/core/theming/ThemeManager.js +3 -3
- package/src/sap/ui/core/tmpl/DOMAttribute.js +2 -2
- package/src/sap/ui/core/tmpl/DOMElement.js +2 -2
- package/src/sap/ui/core/tmpl/DOMElementRenderer.js +1 -1
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +2 -2
- package/src/sap/ui/core/tmpl/Template.js +2 -2
- package/src/sap/ui/core/tmpl/TemplateControl.js +2 -2
- package/src/sap/ui/core/tmpl/TemplateControlRenderer.js +1 -1
- package/src/sap/ui/core/tmpl/_parsePath.js +1 -1
- package/src/sap/ui/core/util/AsyncHintsHelper.js +2 -2
- package/src/sap/ui/core/util/DraftEnabledMockServer.js +1 -1
- package/src/sap/ui/core/util/Export.js +2 -2
- package/src/sap/ui/core/util/ExportCell.js +2 -2
- package/src/sap/ui/core/util/ExportColumn.js +2 -2
- package/src/sap/ui/core/util/ExportRow.js +2 -2
- package/src/sap/ui/core/util/ExportType.js +2 -2
- package/src/sap/ui/core/util/ExportTypeCSV.js +2 -2
- package/src/sap/ui/core/util/File.js +2 -2
- package/src/sap/ui/core/util/LibraryInfo.js +2 -2
- package/src/sap/ui/core/util/MockServer.js +35 -4
- package/src/sap/ui/core/util/PasteHelper.js +2 -2
- package/src/sap/ui/core/util/ResponsivePaddingsEnablement.js +1 -1
- package/src/sap/ui/core/util/ShortcutHelper.js +1 -1
- package/src/sap/ui/core/util/XMLPreprocessor.js +1 -1
- package/src/sap/ui/core/util/_LocalizationHelper.js +1 -1
- package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +16 -1
- package/src/sap/ui/core/util/reflection/JsControlTreeModifier.js +12 -1
- package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +15 -1
- package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +2 -2
- package/src/sap/ui/core/util/serializer/Serializer.js +2 -2
- package/src/sap/ui/core/util/serializer/ViewSerializer.js +2 -2
- package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +2 -2
- package/src/sap/ui/core/util/serializer/delegate/Delegate.js +2 -2
- package/src/sap/ui/core/util/serializer/delegate/HTML.js +2 -2
- package/src/sap/ui/core/util/serializer/delegate/XML.js +2 -2
- package/src/sap/ui/core/webc/WebComponent.js +2 -2
- package/src/sap/ui/core/webc/WebComponentMetadata.js +2 -2
- package/src/sap/ui/core/webc/WebComponentRenderer.js +1 -1
- package/src/sap/ui/core/ws/ReadyState.js +2 -2
- package/src/sap/ui/core/ws/SapPcpWebSocket.js +2 -2
- package/src/sap/ui/core/ws/WebSocket.js +2 -2
- package/src/sap/ui/debug/ControlTree.js +2 -2
- package/src/sap/ui/debug/DebugEnv.js +2 -2
- package/src/sap/ui/debug/Highlighter.js +1 -1
- package/src/sap/ui/debug/LogViewer.js +1 -1
- package/src/sap/ui/debug/PropertyList.js +2 -2
- package/src/sap/ui/dom/_ready.js +1 -1
- package/src/sap/ui/dom/containsOrEquals.js +1 -1
- package/src/sap/ui/dom/denormalizeScrollBeginRTL.js +1 -1
- package/src/sap/ui/dom/denormalizeScrollLeftRTL.js +1 -1
- package/src/sap/ui/dom/getComputedStyleFix.js +1 -1
- package/src/sap/ui/dom/getFirstEditableInput.js +1 -1
- package/src/sap/ui/dom/getOwnerWindow.js +1 -1
- package/src/sap/ui/dom/getScrollbarSize.js +1 -1
- package/src/sap/ui/dom/includeScript.js +1 -1
- package/src/sap/ui/dom/includeStylesheet.js +1 -1
- package/src/sap/ui/dom/isBehindOtherElement.js +1 -1
- package/src/sap/ui/dom/isHidden.js +1 -1
- package/src/sap/ui/dom/jquery/Aria.js +1 -1
- package/src/sap/ui/dom/jquery/Focusable.js +1 -1
- package/src/sap/ui/dom/jquery/Selection.js +1 -1
- package/src/sap/ui/dom/jquery/Selectors.js +1 -1
- package/src/sap/ui/dom/jquery/control.js +1 -1
- package/src/sap/ui/dom/jquery/cursorPos.js +1 -1
- package/src/sap/ui/dom/jquery/getSelectedText.js +1 -1
- package/src/sap/ui/dom/jquery/hasTabIndex.js +1 -1
- package/src/sap/ui/dom/jquery/parentByAttribute.js +1 -1
- package/src/sap/ui/dom/jquery/rect.js +1 -1
- package/src/sap/ui/dom/jquery/rectContains.js +1 -1
- package/src/sap/ui/dom/jquery/scrollLeftRTL.js +1 -1
- package/src/sap/ui/dom/jquery/scrollRightRTL.js +1 -1
- package/src/sap/ui/dom/jquery/selectText.js +1 -1
- package/src/sap/ui/dom/jquery/zIndex.js +1 -1
- package/src/sap/ui/dom/units/Rem.js +1 -1
- package/src/sap/ui/events/ControlEvents.js +1 -1
- package/src/sap/ui/events/F6Navigation.js +1 -1
- package/src/sap/ui/events/KeyCodes.js +1 -1
- package/src/sap/ui/events/PasteEventFix.js +1 -1
- package/src/sap/ui/events/PseudoEvents.js +1 -1
- package/src/sap/ui/events/TouchToMouseMapping.js +1 -1
- package/src/sap/ui/events/checkMouseEnterOrLeave.js +1 -1
- package/src/sap/ui/events/isMouseEventDelayed.js +1 -1
- package/src/sap/ui/events/isSpecialKey.js +1 -1
- package/src/sap/ui/events/jquery/EventExtension.js +1 -1
- package/src/sap/ui/events/jquery/EventSimulation.js +1 -1
- package/src/sap/ui/events/jquery/EventTriggerHook.js +1 -1
- package/src/sap/ui/model/Binding.js +3 -3
- package/src/sap/ui/model/BindingMode.js +1 -1
- package/src/sap/ui/model/ChangeReason.js +1 -1
- package/src/sap/ui/model/ClientContextBinding.js +1 -1
- package/src/sap/ui/model/ClientListBinding.js +1 -1
- package/src/sap/ui/model/ClientModel.js +2 -2
- package/src/sap/ui/model/ClientPropertyBinding.js +1 -1
- package/src/sap/ui/model/ClientTreeBinding.js +1 -1
- package/src/sap/ui/model/ClientTreeBindingAdapter.js +1 -1
- package/src/sap/ui/model/CompositeBinding.js +1 -1
- package/src/sap/ui/model/CompositeDataState.js +6 -6
- package/src/sap/ui/model/CompositeType.js +2 -2
- package/src/sap/ui/model/Context.js +1 -1
- package/src/sap/ui/model/ContextBinding.js +1 -1
- package/src/sap/ui/model/DataState.js +11 -11
- package/src/sap/ui/model/Filter.js +1 -1
- package/src/sap/ui/model/FilterOperator.js +1 -1
- package/src/sap/ui/model/FilterProcessor.js +9 -6
- package/src/sap/ui/model/FilterType.js +1 -1
- package/src/sap/ui/model/FormatException.js +1 -1
- package/src/sap/ui/model/ListBinding.js +1 -1
- package/src/sap/ui/model/ManagedObjectBindingSupport.js +3 -3
- package/src/sap/ui/model/MetaModel.js +2 -2
- package/src/sap/ui/model/Model.js +2 -2
- package/src/sap/ui/model/ParseException.js +1 -1
- package/src/sap/ui/model/PropertyBinding.js +1 -1
- package/src/sap/ui/model/SelectionModel.js +2 -2
- package/src/sap/ui/model/SimpleType.js +2 -2
- package/src/sap/ui/model/Sorter.js +1 -1
- package/src/sap/ui/model/SorterProcessor.js +1 -1
- package/src/sap/ui/model/StaticBinding.js +1 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +2 -2
- package/src/sap/ui/model/TreeBinding.js +1 -1
- package/src/sap/ui/model/TreeBindingAdapter.js +1 -1
- package/src/sap/ui/model/TreeBindingCompatibilityAdapter.js +1 -1
- package/src/sap/ui/model/TreeBindingUtils.js +1 -1
- package/src/sap/ui/model/Type.js +2 -2
- package/src/sap/ui/model/ValidateException.js +1 -1
- package/src/sap/ui/model/_Helper.js +1 -1
- package/src/sap/ui/model/analytics/AnalyticalBinding.js +1 -1
- package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +1 -1
- package/src/sap/ui/model/analytics/AnalyticalVersionInfo.js +1 -1
- package/src/sap/ui/model/analytics/BatchResponseCollector.js +1 -1
- package/src/sap/ui/model/analytics/ODataModelAdapter.js +1 -1
- package/src/sap/ui/model/analytics/odata4analytics.js +7 -7
- package/src/sap/ui/model/base/ManagedObjectModel.js +1 -1
- package/src/sap/ui/model/controlhelper/TreeBindingProxy.js +1 -1
- package/src/sap/ui/model/json/JSONListBinding.js +1 -1
- package/src/sap/ui/model/json/JSONModel.js +2 -2
- package/src/sap/ui/model/json/JSONPropertyBinding.js +1 -1
- package/src/sap/ui/model/json/JSONTreeBinding.js +1 -1
- package/src/sap/ui/model/message/MessageListBinding.js +1 -1
- package/src/sap/ui/model/message/MessageModel.js +2 -2
- package/src/sap/ui/model/message/MessagePropertyBinding.js +1 -1
- package/src/sap/ui/model/odata/AnnotationHelper.js +1 -1
- package/src/sap/ui/model/odata/AnnotationParser.js +1 -1
- package/src/sap/ui/model/odata/CountMode.js +1 -1
- package/src/sap/ui/model/odata/Filter.js +1 -1
- package/src/sap/ui/model/odata/MessageScope.js +1 -1
- package/src/sap/ui/model/odata/ODataAnnotations.js +2 -2
- package/src/sap/ui/model/odata/ODataContextBinding.js +1 -1
- package/src/sap/ui/model/odata/ODataListBinding.js +1 -1
- package/src/sap/ui/model/odata/ODataMessageParser.js +4 -4
- package/src/sap/ui/model/odata/ODataMetaModel.js +2 -2
- package/src/sap/ui/model/odata/ODataMetadata.js +2 -2
- package/src/sap/ui/model/odata/ODataModel.js +2 -2
- package/src/sap/ui/model/odata/ODataPropertyBinding.js +1 -1
- package/src/sap/ui/model/odata/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/ODataTreeBindingAdapter.js +1 -1
- package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +1 -1
- package/src/sap/ui/model/odata/ODataUtils.js +11 -6
- package/src/sap/ui/model/odata/OperationMode.js +1 -1
- package/src/sap/ui/model/odata/UpdateMethod.js +1 -1
- package/src/sap/ui/model/odata/_AnnotationHelperBasics.js +1 -1
- package/src/sap/ui/model/odata/_AnnotationHelperExpression.js +1 -1
- package/src/sap/ui/model/odata/_ODataMetaModelUtils.js +1 -1
- package/src/sap/ui/model/odata/type/Boolean.js +2 -2
- package/src/sap/ui/model/odata/type/Byte.js +2 -2
- package/src/sap/ui/model/odata/type/Currency.js +2 -2
- package/src/sap/ui/model/odata/type/Date.js +2 -2
- package/src/sap/ui/model/odata/type/DateTime.js +2 -2
- package/src/sap/ui/model/odata/type/DateTimeBase.js +2 -2
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +2 -2
- package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +2 -2
- package/src/sap/ui/model/odata/type/Decimal.js +2 -2
- package/src/sap/ui/model/odata/type/Double.js +2 -2
- package/src/sap/ui/model/odata/type/Guid.js +2 -2
- package/src/sap/ui/model/odata/type/Int.js +2 -2
- package/src/sap/ui/model/odata/type/Int16.js +2 -2
- package/src/sap/ui/model/odata/type/Int32.js +2 -2
- package/src/sap/ui/model/odata/type/Int64.js +2 -2
- package/src/sap/ui/model/odata/type/ODataType.js +2 -2
- package/src/sap/ui/model/odata/type/Raw.js +2 -2
- package/src/sap/ui/model/odata/type/SByte.js +2 -2
- package/src/sap/ui/model/odata/type/Single.js +2 -2
- package/src/sap/ui/model/odata/type/Stream.js +2 -2
- package/src/sap/ui/model/odata/type/String.js +2 -2
- package/src/sap/ui/model/odata/type/Time.js +2 -2
- package/src/sap/ui/model/odata/type/TimeOfDay.js +2 -2
- package/src/sap/ui/model/odata/type/Unit.js +2 -2
- package/src/sap/ui/model/odata/type/UnitMixin.js +1 -1
- package/src/sap/ui/model/odata/v2/BatchMode.js +1 -1
- package/src/sap/ui/model/odata/v2/Context.js +2 -2
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +2 -2
- package/src/sap/ui/model/odata/v2/ODataContextBinding.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataListBinding.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataModel.js +5 -5
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +18 -10
- package/src/sap/ui/model/odata/v2/_CreatedContextsCache.js +1 -1
- package/src/sap/ui/model/odata/v4/AnnotationHelper.js +1 -1
- package/src/sap/ui/model/odata/v4/Context.js +33 -28
- package/src/sap/ui/model/odata/v4/ODataBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +19 -13
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +199 -156
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +11 -9
- package/src/sap/ui/model/odata/v4/ODataModel.js +10 -5
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +10 -7
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +2 -2
- package/src/sap/ui/model/odata/v4/ODataUtils.js +1 -1
- package/src/sap/ui/model/odata/v4/SubmitMode.js +1 -1
- package/src/sap/ui/model/odata/v4/ValueListType.js +1 -1
- package/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +231 -90
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +34 -21
- package/src/sap/ui/model/odata/v4/lib/_Batch.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +72 -20
- package/src/sap/ui/model/odata/v4/lib/_ConcatHelper.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_GroupLock.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_MetadataConverter.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_MetadataRequestor.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_MinMaxHelper.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_Parser.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +10 -6
- package/src/sap/ui/model/odata/v4/lib/_V2MetadataConverter.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_V4MetadataConverter.js +1 -1
- package/src/sap/ui/model/odata/v4/ts.js +1 -1
- package/src/sap/ui/model/resource/ResourceModel.js +2 -2
- package/src/sap/ui/model/resource/ResourcePropertyBinding.js +1 -1
- package/src/sap/ui/model/type/Boolean.js +2 -2
- package/src/sap/ui/model/type/Currency.js +2 -2
- package/src/sap/ui/model/type/Date.js +2 -2
- package/src/sap/ui/model/type/DateInterval.js +2 -2
- package/src/sap/ui/model/type/DateTime.js +2 -2
- package/src/sap/ui/model/type/DateTimeInterval.js +2 -2
- package/src/sap/ui/model/type/FileSize.js +2 -2
- package/src/sap/ui/model/type/Float.js +2 -2
- package/src/sap/ui/model/type/Integer.js +2 -2
- package/src/sap/ui/model/type/String.js +2 -2
- package/src/sap/ui/model/type/Time.js +2 -2
- package/src/sap/ui/model/type/TimeInterval.js +2 -2
- package/src/sap/ui/model/type/Unit.js +2 -2
- package/src/sap/ui/model/xml/XMLListBinding.js +1 -1
- package/src/sap/ui/model/xml/XMLModel.js +2 -2
- package/src/sap/ui/model/xml/XMLPropertyBinding.js +1 -1
- package/src/sap/ui/model/xml/XMLTreeBinding.js +1 -1
- package/src/sap/ui/performance/BeaconRequest.js +1 -1
- package/src/sap/ui/performance/Measurement.js +1 -1
- package/src/sap/ui/performance/XHRInterceptor.js +1 -1
- package/src/sap/ui/performance/trace/FESR.js +1 -1
- package/src/sap/ui/performance/trace/FESRHelper.js +1 -1
- package/src/sap/ui/performance/trace/Interaction.js +1 -1
- package/src/sap/ui/performance/trace/Passport.js +1 -1
- package/src/sap/ui/performance/trace/initTraces.js +1 -1
- package/src/sap/ui/qunit/QUnitUtils.js +1 -1
- package/src/sap/ui/qunit/qunit-2-css.js +1 -1
- package/src/sap/ui/qunit/qunit-coverage-istanbul.js +1 -1
- package/src/sap/ui/qunit/qunit-coverage.js +1 -1
- package/src/sap/ui/qunit/qunit-css.js +1 -1
- package/src/sap/ui/qunit/qunit-junit.js +1 -1
- package/src/sap/ui/qunit/qunit-redirect.js +1 -1
- package/src/sap/ui/qunit/sinon-qunit-bridge.js +1 -1
- package/src/sap/ui/qunit/utils/ControlIterator.js +2 -2
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +6 -6
- package/src/sap/ui/qunit/utils/createAndAppendDiv.js +1 -1
- package/src/sap/ui/qunit/utils/nextUIUpdate.js +1 -1
- package/src/sap/ui/qunit/utils/waitForThemeApplied.js +1 -1
- package/src/sap/ui/security/FrameOptions.js +1 -1
- package/src/sap/ui/test/BlanketReporter.js +1 -1
- package/src/sap/ui/test/BranchTracking.js +5 -1
- package/src/sap/ui/test/ModuleTracking.js +1 -1
- package/src/sap/ui/test/Opa.js +1 -1
- package/src/sap/ui/test/Opa5.js +1 -1
- package/src/sap/ui/test/OpaBuilder.js +1 -1
- package/src/sap/ui/test/OpaExtension.js +1 -1
- package/src/sap/ui/test/OpaPlugin.js +1 -1
- package/src/sap/ui/test/PageObjectFactory.js +1 -1
- package/src/sap/ui/test/RecordReplay.js +1 -1
- package/src/sap/ui/test/RecorderHotkeyListener.js +1 -1
- package/src/sap/ui/test/TestUtils.js +1 -1
- package/src/sap/ui/test/_BrowserLogCollector.js +1 -1
- package/src/sap/ui/test/_ControlFinder.js +1 -1
- package/src/sap/ui/test/_FocusListener.js +1 -1
- package/src/sap/ui/test/_LogCollector.js +1 -1
- package/src/sap/ui/test/_OpaLogger.js +1 -1
- package/src/sap/ui/test/_OpaUriParameterParser.js +1 -1
- package/src/sap/ui/test/_ParameterValidator.js +1 -1
- package/src/sap/ui/test/_UsageReport.js +1 -1
- package/src/sap/ui/test/_ValidationParameters.js +1 -1
- package/src/sap/ui/test/actions/Action.js +1 -1
- package/src/sap/ui/test/actions/Drag.js +1 -1
- package/src/sap/ui/test/actions/Drop.js +1 -1
- package/src/sap/ui/test/actions/EnterText.js +2 -6
- package/src/sap/ui/test/actions/Press.js +1 -1
- package/src/sap/ui/test/actions/Scroll.js +1 -1
- package/src/sap/ui/test/autowaiter/WaiterBase.js +1 -1
- package/src/sap/ui/test/autowaiter/_UIUpdatesWaiter.js +1 -1
- package/src/sap/ui/test/autowaiter/_XHRWaiter.js +1 -1
- package/src/sap/ui/test/autowaiter/_autoWaiter.js +1 -1
- package/src/sap/ui/test/autowaiter/_autoWaiterAsync.js +1 -1
- package/src/sap/ui/test/autowaiter/_cssAnimationWaiter.js +1 -1
- package/src/sap/ui/test/autowaiter/_cssTransitionWaiter.js +1 -1
- package/src/sap/ui/test/autowaiter/_fetchWaiter.js +1 -1
- package/src/sap/ui/test/autowaiter/_jsAnimationWaiter.js +1 -1
- package/src/sap/ui/test/autowaiter/_moduleWaiter.js +1 -1
- package/src/sap/ui/test/autowaiter/_navigationContainerWaiter.js +1 -1
- package/src/sap/ui/test/autowaiter/_promiseWaiter.js +1 -1
- package/src/sap/ui/test/autowaiter/_resourceWaiter.js +1 -1
- package/src/sap/ui/test/autowaiter/_timeoutWaiter.js +1 -1
- package/src/sap/ui/test/autowaiter/_utils.js +1 -1
- package/src/sap/ui/test/generic/GenericTestCollection.js +2 -1
- package/src/sap/ui/test/generic/TestBase.js +5 -5
- package/src/sap/ui/test/generic/Utils.js +4 -3
- package/src/sap/ui/test/generic/_EnforceSemanticRendering.js +1 -1
- package/src/sap/ui/test/gherkin/GherkinTestGenerator.js +1 -1
- package/src/sap/ui/test/gherkin/StepDefinitions.js +1 -1
- package/src/sap/ui/test/gherkin/dataTableUtils.js +1 -1
- package/src/sap/ui/test/gherkin/opa5TestHarness.js +1 -1
- package/src/sap/ui/test/gherkin/qUnitTestHarness.js +1 -1
- package/src/sap/ui/test/gherkin/simpleGherkinParser.js +1 -1
- package/src/sap/ui/test/launchers/componentLauncher.js +1 -1
- package/src/sap/ui/test/launchers/iFrameLauncher.js +1 -1
- package/src/sap/ui/test/matchers/AggregationContainsPropertyEqual.js +1 -1
- package/src/sap/ui/test/matchers/AggregationEmpty.js +1 -1
- package/src/sap/ui/test/matchers/AggregationFilled.js +1 -1
- package/src/sap/ui/test/matchers/AggregationLengthEquals.js +1 -1
- package/src/sap/ui/test/matchers/Ancestor.js +1 -1
- package/src/sap/ui/test/matchers/BindingPath.js +1 -1
- package/src/sap/ui/test/matchers/Descendant.js +1 -1
- package/src/sap/ui/test/matchers/I18NText.js +1 -1
- package/src/sap/ui/test/matchers/Interactable.js +1 -1
- package/src/sap/ui/test/matchers/LabelFor.js +1 -1
- package/src/sap/ui/test/matchers/Matcher.js +1 -1
- package/src/sap/ui/test/matchers/MatcherFactory.js +1 -1
- package/src/sap/ui/test/matchers/Properties.js +1 -1
- package/src/sap/ui/test/matchers/PropertyStrictEquals.js +1 -1
- package/src/sap/ui/test/matchers/Sibling.js +1 -1
- package/src/sap/ui/test/matchers/Visible.js +1 -1
- package/src/sap/ui/test/matchers/_Busy.js +1 -1
- package/src/sap/ui/test/matchers/_Editable.js +1 -1
- package/src/sap/ui/test/matchers/_Enabled.js +1 -1
- package/src/sap/ui/test/matchers/_Visitor.js +1 -1
- package/src/sap/ui/test/matchers/matchers.js +1 -1
- package/src/sap/ui/test/opaQunit.js +1 -1
- package/src/sap/ui/test/pipelines/ActionPipeline.js +1 -1
- package/src/sap/ui/test/pipelines/MatcherPipeline.js +1 -1
- package/src/sap/ui/test/pipelines/PipelineFactory.js +1 -1
- package/src/sap/ui/test/qunitPause.js +1 -1
- package/src/sap/ui/test/selectors/_BindingPath.js +1 -1
- package/src/sap/ui/test/selectors/_ControlSelectorGenerator.js +1 -1
- package/src/sap/ui/test/selectors/_ControlSelectorValidator.js +1 -1
- package/src/sap/ui/test/selectors/_ControlType.js +1 -1
- package/src/sap/ui/test/selectors/_DropdownItem.js +1 -1
- package/src/sap/ui/test/selectors/_GlobalID.js +1 -1
- package/src/sap/ui/test/selectors/_LabelFor.js +1 -1
- package/src/sap/ui/test/selectors/_Properties.js +1 -1
- package/src/sap/ui/test/selectors/_Selector.js +1 -1
- package/src/sap/ui/test/selectors/_TableRowItem.js +1 -1
- package/src/sap/ui/test/selectors/_ViewID.js +1 -1
- package/src/sap/ui/test/selectors/_selectors.js +1 -1
- package/src/sap/ui/test/starter/_configureLoader.js +1 -1
- package/src/sap/ui/test/starter/_setupAndStart.js +1 -1
- package/src/sap/ui/test/starter/_utils.js +1 -1
- package/src/sap/ui/test/starter/createSuite.js +1 -1
- package/src/sap/ui/test/starter/runTest.js +1 -1
- package/src/sap/ui/thirdparty/RequestRecorder.js +1 -1
- package/src/sap/ui/thirdparty/caja-html-sanitizer.js +1 -1
- package/src/sap/ui/util/ActivityDetection.js +1 -1
- package/src/sap/ui/util/Mobile.js +1 -1
- package/src/sap/ui/util/Storage.js +2 -2
- package/src/sap/ui/util/XMLHelper.js +1 -1
- package/src/sap/ui/util/_FeatureDetection.js +1 -1
- package/src/sap/ui/util/defaultLinkTypes.js +1 -1
- package/src/sap/ui/util/isCrossOriginURL.js +1 -1
- package/src/sap/ui/util/openWindow.js +1 -1
- package/src/sap-ui-boot.js +1 -1
- package/src/sap-ui-core-nojQuery.js +1 -1
- package/src/sap-ui-core.js +1 -1
- package/src/sap-ui-debug.js +1 -1
- package/src/ui5loader-autoconfig.js +24 -16
- package/src/ui5loader.js +10 -5
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/Template.controller.js +3 -3
- package/test/sap/ui/core/demokit/sample/common/Controller.js +0 -1
- package/test/sap/ui/core/demokit/sample/matcher/BindingPath/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/Descendant/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/I18NText/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/LabelFor/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/Ancestry/Main.controller.js +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.controller.js +14 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.view.xml +6 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/MIT.MultipleInlineCreationRowsGrid.html +5 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.view.xml +9 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Opa.qunit.js +23 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/pages/Main.js +58 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.controller.js +75 -30
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.view.xml +21 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/SandboxModel.js +84 -28
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/data/metadata.xml +3 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +1 -1
- package/test/sap/ui/core/qunit/BindingParser.qunit.js +4 -4
- package/test/sap/ui/core/qunit/CommandExecution.qunit.js +3 -1
- package/test/sap/ui/core/qunit/Core.qunit.js +1 -1
- package/test/sap/ui/core/qunit/DataBinding.qunit.js +6 -6
- package/test/sap/ui/core/qunit/Declarative.qunit.js +6 -6
- package/test/sap/ui/core/qunit/Element_base.qunit.js +8 -7
- package/test/sap/ui/core/qunit/Element_base_legacyAPIs.qunit.js +48 -0
- package/test/sap/ui/core/qunit/Element_closestTo.qunit.js +1 -1
- package/test/sap/ui/core/qunit/Fragment.qunit.js +63 -13
- package/test/sap/ui/core/qunit/HTML.qunit.js +5 -5
- package/test/sap/ui/core/qunit/Lib.qunit.js +19 -2
- package/test/sap/ui/core/qunit/PlaceAt.qunit.js +6 -6
- package/test/sap/ui/core/qunit/Shortcut.qunit.js +9 -1
- package/test/sap/ui/core/qunit/UIArea.qunit.js +7 -6
- package/test/sap/ui/core/qunit/analytics/odata4analytics.qunit.js +41 -0
- package/test/sap/ui/core/qunit/base/Config_cascade.qunit.html +7 -5
- package/test/sap/ui/core/qunit/base/Config_cascade.qunit.js +46 -7
- package/test/sap/ui/core/qunit/base/config/GlobalConfigForCascade.js +24 -21
- package/test/sap/ui/core/qunit/component/Component.qunit.js +9 -8
- package/test/sap/ui/core/qunit/component/ComponentContainer.qunit.js +1 -1
- package/test/sap/ui/core/qunit/component/Models.qunit.js +29 -30
- package/test/sap/ui/core/qunit/component/UIComponent.qunit.js +3 -3
- package/test/sap/ui/core/qunit/generic/ControlMemoryLeaks.qunit.js +4 -3
- package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaks.qunit.js +6 -7
- package/test/sap/ui/core/qunit/generic/legacy/DuplicateIdCheck.qunit.js +3 -2
- package/test/sap/ui/core/qunit/generic/legacy/testsuite.generic.qunit.js +3 -0
- package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +65 -0
- package/test/sap/ui/core/qunit/i18n/UI5Date.qunit.js +107 -0
- package/test/sap/ui/core/qunit/jquery.sap.ui.qunit.js +12 -12
- package/test/sap/ui/core/qunit/loader/syncMode_unavoidablySync.qunit.js +54 -1
- package/test/sap/ui/core/qunit/messages/messagesGeneral.qunit.js +3 -1
- package/test/sap/ui/core/qunit/mockserver/testdata/shopping/Products.json +1 -1
- package/test/sap/ui/core/qunit/model/FilterProcessor.qunit.js +22 -8
- package/test/sap/ui/core/qunit/mvc/AnyView.qunit.js +3 -0
- package/test/sap/ui/core/qunit/mvc/Controller.qunit.js +3 -2
- package/test/sap/ui/core/qunit/mvc/EventHandlerResolver.qunit.js +2 -2
- package/test/sap/ui/core/qunit/mvc/View.qunit.js +38 -35
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessor.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorAsync.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +5 -5
- package/test/sap/ui/core/qunit/mvc/XMLView.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc/extensions/ControllerMetadata.qunit.js +6 -2
- package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions.qunit.js +12 -0
- package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions_legacy.qunit.js +12 -0
- package/test/sap/ui/core/qunit/mvc/extensions/testdata/AnotherMain.controller.js +3 -1
- package/test/sap/ui/core/qunit/mvc/testdata/XMLViewEmbeddingTypedViews.view.xml +1 -1
- package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing.qunit.js +26 -7
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/XMLTemplateProcessorRequireXML_legacyAPIs.qunit.js +5 -5
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/XMLView_legacyAPIs.qunit.js +2 -2
- package/test/sap/ui/core/qunit/odata/ODataMessageParserNoFakeService.qunit.js +36 -34
- package/test/sap/ui/core/qunit/odata/ODataUtils.qunit.js +21 -0
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +175 -0
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingNoFakeService.qunit.js +11 -5
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +43 -22
- package/test/sap/ui/core/qunit/odata/v4/ODataContextBinding.qunit.js +75 -27
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +318 -217
- package/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js +34 -16
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +2360 -177
- package/test/sap/ui/core/qunit/odata/v4/ODataParentBinding.qunit.js +43 -35
- package/test/sap/ui/core/qunit/odata/v4/data/metadata_special_cases.xml +20 -2
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +487 -139
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +70 -33
- package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +258 -10
- package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +10 -2
- package/test/sap/ui/core/qunit/opa/actions/EnterText.qunit.js +38 -14
- package/test/sap/ui/core/qunit/routing/async/Router.qunit.js +102 -52
- package/test/sap/ui/core/qunit/routing/async/Target.qunit.js +1 -1
- package/test/sap/ui/core/qunit/routing/async/Targets.qunit.js +4 -5
- package/test/sap/ui/core/qunit/routing/async/TitleHistory.qunit.js +1 -1
- package/test/sap/ui/core/qunit/routing/fixture/router/component/parentRoute/Child/Component.js +1 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/parentRoute/Child/manifest.json +1 -5
- package/test/sap/ui/core/qunit/routing/fixture/router/component/parentRoute/Parent/Component.js +1 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/parentRoute/Parent/manifest.json +1 -5
- package/test/sap/ui/core/qunit/routing/fixture/router/component/parentRoute/ParentExtended/Component.js +15 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/parentRoute/ParentExtended/manifest.json +8 -0
- package/test/sap/ui/core/qunit/routing/sync/Router.qunit.js +2 -2
- package/test/sap/ui/core/qunit/routing/sync/Targets.qunit.js +2 -3
- package/test/sap/ui/core/qunit/testdata/fragments/XMLTestFragmentWithXMLView.fragment.xml +5 -0
- package/test/sap/ui/core/qunit/testsuites/testsuite.base.configuration.qunit.js +1 -1
- package/test/sap/ui/core/qunit/testsuites/testsuite.control.framework.qunit.js +4 -0
- package/test/sap/ui/core/qunit/types/DateFormat.qunit.js +190 -0
- package/test/sap/ui/core/qunit/types/DateInterval.qunit.js +2 -2
- package/test/sap/ui/core/qunit/types/TimezoneUtil.qunit.js +114 -2
- package/test/sap/ui/core/qunit/ui5classes/ManagedObjectRegistry.qunit.js +161 -0
- package/test/sap/ui/core/qunit/ui5classes/ManagedObjectRegistry_legacyAPIs.qunit.js +150 -0
- package/test/sap/ui/core/qunit/ui5classes/testsuite.ui5classes.qunit.js +84 -0
- package/test/sap/ui/core/qunit/util/ViewSerializer.qunit.js +4 -3
- package/test/sap/ui/core/qunit/util/reflection/JsControlTreeModifier.qunit.js +20 -0
- package/test/sap/ui/core/qunit/util/reflection/XmlTreeModifier.qunit.js +20 -2
- package/test/sap/ui/core/relnotes/changes-1.120.json +246 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -8,14 +8,13 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./Manifest',
|
|
10
10
|
'./ComponentMetadata',
|
|
11
|
-
'./
|
|
11
|
+
'./ElementRegistry',
|
|
12
12
|
'sap/base/config',
|
|
13
13
|
'sap/base/i18n/Localization',
|
|
14
14
|
'sap/base/util/extend',
|
|
15
15
|
'sap/base/util/deepExtend',
|
|
16
16
|
'sap/base/util/merge',
|
|
17
17
|
'sap/ui/base/ManagedObject',
|
|
18
|
-
'sap/ui/base/ManagedObjectRegistry',
|
|
19
18
|
'sap/ui/core/Lib',
|
|
20
19
|
'sap/ui/core/ResizeHandler',
|
|
21
20
|
'sap/ui/thirdparty/URI',
|
|
@@ -31,18 +30,18 @@ sap.ui.define([
|
|
|
31
30
|
'sap/ui/VersionInfo',
|
|
32
31
|
'sap/ui/core/mvc/ViewType',
|
|
33
32
|
'sap/ui/core/Configuration',
|
|
33
|
+
'sap/ui/core/ComponentRegistry',
|
|
34
34
|
'sap/ui/core/util/_LocalizationHelper'
|
|
35
35
|
], function(
|
|
36
36
|
Manifest,
|
|
37
37
|
ComponentMetadata,
|
|
38
|
-
|
|
38
|
+
ElementRegistry,
|
|
39
39
|
BaseConfig,
|
|
40
40
|
Localization,
|
|
41
41
|
extend,
|
|
42
42
|
deepExtend,
|
|
43
43
|
merge,
|
|
44
44
|
ManagedObject,
|
|
45
|
-
ManagedObjectRegistry,
|
|
46
45
|
Library,
|
|
47
46
|
ResizeHandler,
|
|
48
47
|
URI,
|
|
@@ -58,6 +57,7 @@ sap.ui.define([
|
|
|
58
57
|
VersionInfo,
|
|
59
58
|
ViewType,
|
|
60
59
|
Configuration,
|
|
60
|
+
ComponentRegistry,
|
|
61
61
|
_LocalizationHelper
|
|
62
62
|
) {
|
|
63
63
|
"use strict";
|
|
@@ -236,7 +236,7 @@ sap.ui.define([
|
|
|
236
236
|
* @extends sap.ui.base.ManagedObject
|
|
237
237
|
* @abstract
|
|
238
238
|
* @author SAP SE
|
|
239
|
-
* @version 1.120.
|
|
239
|
+
* @version 1.120.3
|
|
240
240
|
* @alias sap.ui.core.Component
|
|
241
241
|
* @since 1.9.2
|
|
242
242
|
*/
|
|
@@ -379,17 +379,7 @@ sap.ui.define([
|
|
|
379
379
|
|
|
380
380
|
}, /* Metadata constructor */ ComponentMetadata);
|
|
381
381
|
|
|
382
|
-
|
|
383
|
-
ManagedObjectRegistry.apply(Component, {
|
|
384
|
-
onDeregister: function(sComponentId) {
|
|
385
|
-
forEachChildElement(function(oElement) {
|
|
386
|
-
if ( oElement._sapui_candidateForDestroy) {
|
|
387
|
-
Log.debug("destroying dangling template " + oElement + " when destroying the owner component");
|
|
388
|
-
oElement.destroy();
|
|
389
|
-
}
|
|
390
|
-
}, sComponentId);
|
|
391
|
-
}
|
|
392
|
-
});
|
|
382
|
+
ComponentRegistry.init(Component);
|
|
393
383
|
|
|
394
384
|
/**
|
|
395
385
|
* Creates a new subclass of class <code>sap.ui.core.Component</code> with name
|
|
@@ -442,7 +432,7 @@ sap.ui.define([
|
|
|
442
432
|
* @param {sap.ui.core.ID} sComponentId the component ID used for the owner check
|
|
443
433
|
*/
|
|
444
434
|
function forEachChildElement(fn, sComponentId) {
|
|
445
|
-
|
|
435
|
+
ElementRegistry.forEach(function(oElement, sId) {
|
|
446
436
|
var sElementOwnerId = Component.getOwnerIdFor(oElement);
|
|
447
437
|
if (sElementOwnerId === sComponentId && !oElement.getParent()) {
|
|
448
438
|
fn(oElement, sId);
|
|
@@ -859,7 +849,7 @@ sap.ui.define([
|
|
|
859
849
|
*/
|
|
860
850
|
Component.prototype._getDestroyables = function() {
|
|
861
851
|
if (!this._aDestroyables) {
|
|
862
|
-
Log.error("Mandatory super constructor not called for Component: '" + this.getManifestObject().getComponentName() + "'.",
|
|
852
|
+
Log.error("[FUTURE FATAL] Mandatory super constructor not called for Component: '" + this.getManifestObject().getComponentName() + "'.",
|
|
863
853
|
null,
|
|
864
854
|
"sap.ui.support",
|
|
865
855
|
function() {
|
|
@@ -1630,7 +1620,7 @@ sap.ui.define([
|
|
|
1630
1620
|
// 2.0 is the default in case no version is provided
|
|
1631
1621
|
oModelConfig.type = 'sap.ui.model.odata.v2.ODataModel';
|
|
1632
1622
|
} else {
|
|
1633
|
-
Log.error('Component Manifest: Provided OData version "' + sODataVersion + '" in ' +
|
|
1623
|
+
Log.error('[FUTURE FATAL] Component Manifest: Provided OData version "' + sODataVersion + '" in ' +
|
|
1634
1624
|
'dataSource "' + oModelConfig.dataSource + '" for model "' + sModelName + '" is unknown. ' +
|
|
1635
1625
|
'Falling back to default model type "sap.ui.model.odata.v2.ODataModel".',
|
|
1636
1626
|
'["sap.app"]["dataSources"]["' + oModelConfig.dataSource + '"]', sLogComponentName);
|
|
@@ -1652,7 +1642,7 @@ sap.ui.define([
|
|
|
1652
1642
|
|
|
1653
1643
|
// model type is required!
|
|
1654
1644
|
if (!oModelConfig.type) {
|
|
1655
|
-
Log.error("Component Manifest: Missing \"type\" for model \"" + sModelName + "\"", "[\"sap.ui5\"][\"models\"][\"" + sModelName + "\"]", sLogComponentName);
|
|
1645
|
+
Log.error("[FUTURE FATAL] Component Manifest: Missing \"type\" for model \"" + sModelName + "\"", "[\"sap.ui5\"][\"models\"][\"" + sModelName + "\"]", sLogComponentName);
|
|
1656
1646
|
continue;
|
|
1657
1647
|
}
|
|
1658
1648
|
|
|
@@ -1735,7 +1725,7 @@ sap.ui.define([
|
|
|
1735
1725
|
}
|
|
1736
1726
|
// class could not be loaded by _loadManifestModelClasses
|
|
1737
1727
|
if (!fnClass) {
|
|
1738
|
-
Log.error("Component Manifest: Class \"" + oModelConfig.type + "\" for model \"" + sModelName + "\" could not be found", "[\"sap.ui5\"][\"models\"][\"" + sModelName + "\"]", sLogComponentName);
|
|
1728
|
+
Log.error("[FUTURE FATAL] Component Manifest: Class \"" + oModelConfig.type + "\" for model \"" + sModelName + "\" could not be found", "[\"sap.ui5\"][\"models\"][\"" + sModelName + "\"]", sLogComponentName);
|
|
1739
1729
|
continue;
|
|
1740
1730
|
}
|
|
1741
1731
|
var oClassMetadata = fnClass.getMetadata();
|
|
@@ -1803,19 +1793,19 @@ sap.ui.define([
|
|
|
1803
1793
|
|
|
1804
1794
|
// dataSource entry should be defined!
|
|
1805
1795
|
if (!oAnnotation) {
|
|
1806
|
-
Log.error("Component Manifest: ODataAnnotation \"" + sAnnotation + "\" for dataSource \"" + oModelConfig.dataSource + "\" could not be found in manifest", "[\"sap.app\"][\"dataSources\"][\"" + sAnnotation + "\"]", sLogComponentName);
|
|
1796
|
+
Log.error("[FUTURE FATAL] Component Manifest: ODataAnnotation \"" + sAnnotation + "\" for dataSource \"" + oModelConfig.dataSource + "\" could not be found in manifest", "[\"sap.app\"][\"dataSources\"][\"" + sAnnotation + "\"]", sLogComponentName);
|
|
1807
1797
|
continue;
|
|
1808
1798
|
}
|
|
1809
1799
|
|
|
1810
1800
|
// type should be ODataAnnotation!
|
|
1811
1801
|
if (oAnnotation.type !== 'ODataAnnotation') {
|
|
1812
|
-
Log.error("Component Manifest: dataSource \"" + sAnnotation + "\" was expected to have type \"ODataAnnotation\" but was \"" + oAnnotation.type + "\"", "[\"sap.app\"][\"dataSources\"][\"" + sAnnotation + "\"]", sLogComponentName);
|
|
1802
|
+
Log.error("[FUTURE FATAL] Component Manifest: dataSource \"" + sAnnotation + "\" was expected to have type \"ODataAnnotation\" but was \"" + oAnnotation.type + "\"", "[\"sap.app\"][\"dataSources\"][\"" + sAnnotation + "\"]", sLogComponentName);
|
|
1813
1803
|
continue;
|
|
1814
1804
|
}
|
|
1815
1805
|
|
|
1816
1806
|
// uri is required!
|
|
1817
1807
|
if (!oAnnotation.uri) {
|
|
1818
|
-
Log.error("Component Manifest: Missing \"uri\" for ODataAnnotation \"" + sAnnotation + "\"", "[\"sap.app\"][\"dataSources\"][\"" + sAnnotation + "\"]", sLogComponentName);
|
|
1808
|
+
Log.error("[FUTURE FATAL] Component Manifest: Missing \"uri\" for ODataAnnotation \"" + sAnnotation + "\"", "[\"sap.app\"][\"dataSources\"][\"" + sAnnotation + "\"]", sLogComponentName);
|
|
1819
1809
|
continue;
|
|
1820
1810
|
}
|
|
1821
1811
|
|
|
@@ -1854,7 +1844,7 @@ sap.ui.define([
|
|
|
1854
1844
|
}
|
|
1855
1845
|
|
|
1856
1846
|
} else {
|
|
1857
|
-
Log.error("Component Manifest: dataSource \"" + oModelConfig.dataSource + "\" for model \"" + sModelName + "\" not found or invalid", "[\"sap.app\"][\"dataSources\"][\"" + oModelConfig.dataSource + "\"]", sLogComponentName);
|
|
1847
|
+
Log.error("[FUTURE FATAL] Component Manifest: dataSource \"" + oModelConfig.dataSource + "\" for model \"" + sModelName + "\" not found or invalid", "[\"sap.app\"][\"dataSources\"][\"" + oModelConfig.dataSource + "\"]", sLogComponentName);
|
|
1858
1848
|
continue;
|
|
1859
1849
|
}
|
|
1860
1850
|
}
|
|
@@ -2056,13 +2046,12 @@ sap.ui.define([
|
|
|
2056
2046
|
Component._loadManifestModelClasses = function(mModelConfigurations, sLogComponentName) {
|
|
2057
2047
|
for (var sModelName in mModelConfigurations) {
|
|
2058
2048
|
var oModelConfig = mModelConfigurations[sModelName];
|
|
2059
|
-
|
|
2060
2049
|
// load model class and log error message if it couldn't be loaded.
|
|
2061
2050
|
// error gets caught to continue creating the other models and not breaking the execution here
|
|
2062
2051
|
try {
|
|
2063
2052
|
sap.ui.requireSync(oModelConfig.type.replace(/\./g, "/"));
|
|
2064
2053
|
} catch (oError) {
|
|
2065
|
-
Log.error("Component Manifest: Class \"" + oModelConfig.type + "\" for model \"" + sModelName + "\" could not be loaded. " + oError, "[\"sap.ui5\"][\"models\"][\"" + sModelName + "\"]", sLogComponentName);
|
|
2054
|
+
Log.error("[FUTURE FATAL] Component Manifest: Class \"" + oModelConfig.type + "\" for model \"" + sModelName + "\" could not be loaded. " + oError, "[\"sap.ui5\"][\"models\"][\"" + sModelName + "\"]", sLogComponentName);
|
|
2066
2055
|
continue;
|
|
2067
2056
|
}
|
|
2068
2057
|
}
|
|
@@ -2611,7 +2600,7 @@ sap.ui.define([
|
|
|
2611
2600
|
const def = new Deferred();
|
|
2612
2601
|
|
|
2613
2602
|
sap.ui.require([sModuleName], def.resolve, (err) => {
|
|
2614
|
-
Log.warning(`Cannot load module '${sModuleName}'. ` +
|
|
2603
|
+
Log.warning(`[FUTURE FATAL] Cannot load module '${sModuleName}'. ` +
|
|
2615
2604
|
"This will most probably cause an error once the module is used later on.",
|
|
2616
2605
|
sComponentName, "sap.ui.core.Component");
|
|
2617
2606
|
Log.warning(err);
|
|
@@ -2889,7 +2878,7 @@ sap.ui.define([
|
|
|
2889
2878
|
* @public
|
|
2890
2879
|
*/
|
|
2891
2880
|
Component.getComponentById = function(sId) {
|
|
2892
|
-
return
|
|
2881
|
+
return ComponentRegistry.get(sId);
|
|
2893
2882
|
};
|
|
2894
2883
|
|
|
2895
2884
|
/**
|
|
@@ -3120,7 +3109,7 @@ sap.ui.define([
|
|
|
3120
3109
|
if (mOptions.failOnError) {
|
|
3121
3110
|
throw new Error(sMsg);
|
|
3122
3111
|
} else {
|
|
3123
|
-
Log.warning(sMsg);
|
|
3112
|
+
Log.warning("[FUTURE FATAL] " + sMsg);
|
|
3124
3113
|
}
|
|
3125
3114
|
}
|
|
3126
3115
|
|
|
@@ -3556,7 +3545,7 @@ sap.ui.define([
|
|
|
3556
3545
|
try {
|
|
3557
3546
|
return Component._fnLoadComponentCallback(oConfigCopy, oLoadedManifest);
|
|
3558
3547
|
} catch (oError) {
|
|
3559
|
-
Log.error("Callback for loading the component \"" + oLoadedManifest.getComponentName() +
|
|
3548
|
+
Log.error("[FUTURE FATAL] Callback for loading the component \"" + oLoadedManifest.getComponentName() +
|
|
3560
3549
|
"\" run into an error. The callback was skipped and the component loading resumed.",
|
|
3561
3550
|
oError, "sap.ui.core.Component");
|
|
3562
3551
|
}
|
|
@@ -3775,117 +3764,14 @@ sap.ui.define([
|
|
|
3775
3764
|
* @namespace sap.ui.core.Component.registry
|
|
3776
3765
|
* @public
|
|
3777
3766
|
* @since 1.67
|
|
3767
|
+
* @deprecated As of version 1.120. Use {@link module:sap/ui/core/ComponentRegistry} instead.
|
|
3768
|
+
* @borrows module:sap/ui/core/ComponentRegistry.size as size
|
|
3769
|
+
* @borrows module:sap/ui/core/ComponentRegistry.all as all
|
|
3770
|
+
* @borrows module:sap/ui/core/ComponentRegistry.get as get
|
|
3771
|
+
* @borrows module:sap/ui/core/ComponentRegistry.forEach as forEach
|
|
3772
|
+
* @borrows module:sap/ui/core/ComponentRegistry.filter as filter
|
|
3778
3773
|
*/
|
|
3779
|
-
|
|
3780
|
-
/**
|
|
3781
|
-
* Number of existing components.
|
|
3782
|
-
*
|
|
3783
|
-
* @type {int}
|
|
3784
|
-
* @readonly
|
|
3785
|
-
* @name sap.ui.core.Component.registry.size
|
|
3786
|
-
* @public
|
|
3787
|
-
*/
|
|
3788
|
-
|
|
3789
|
-
/**
|
|
3790
|
-
* Return an object with all instances of <code>sap.ui.core.Component</code>,
|
|
3791
|
-
* keyed by their ID.
|
|
3792
|
-
*
|
|
3793
|
-
* Each call creates a new snapshot object. Depending on the size of the UI,
|
|
3794
|
-
* this operation therefore might be expensive. Consider to use the <code>forEach</code>
|
|
3795
|
-
* or <code>filter</code> method instead of executing similar operations on the returned
|
|
3796
|
-
* object.
|
|
3797
|
-
*
|
|
3798
|
-
* <b>Note</b>: The returned object is created by a call to <code>Object.create(null)</code>,
|
|
3799
|
-
* and therefore lacks all methods of <code>Object.prototype</code>, e.g. <code>toString</code> etc.
|
|
3800
|
-
*
|
|
3801
|
-
* @returns {Object<sap.ui.core.ID,sap.ui.core.Component>} Object with all components, keyed by their ID
|
|
3802
|
-
* @name sap.ui.core.Component.registry.all
|
|
3803
|
-
* @function
|
|
3804
|
-
* @public
|
|
3805
|
-
*/
|
|
3806
|
-
|
|
3807
|
-
/**
|
|
3808
|
-
* Retrieves a Component by its ID.
|
|
3809
|
-
*
|
|
3810
|
-
* When the ID is <code>null</code> or <code>undefined</code> or when there's no Component with
|
|
3811
|
-
* the given ID, then <code>undefined</code> is returned.
|
|
3812
|
-
*
|
|
3813
|
-
* @param {sap.ui.core.ID} id ID of the Component to retrieve
|
|
3814
|
-
* @returns {sap.ui.core.Component|undefined} Component with the given ID or <code>undefined</code>
|
|
3815
|
-
* @name sap.ui.core.Component.registry.get
|
|
3816
|
-
* @function
|
|
3817
|
-
* @public
|
|
3818
|
-
*/
|
|
3819
|
-
|
|
3820
|
-
/**
|
|
3821
|
-
* Calls the given <code>callback</code> for each existing component.
|
|
3822
|
-
*
|
|
3823
|
-
* The expected signature of the callback is
|
|
3824
|
-
* <pre>
|
|
3825
|
-
* function callback(oComponent, sID)
|
|
3826
|
-
* </pre>
|
|
3827
|
-
* where <code>oComponent</code> is the currently visited component instance and <code>sID</code>
|
|
3828
|
-
* is the ID of that instance.
|
|
3829
|
-
*
|
|
3830
|
-
* The order in which the callback is called for components is not specified and might change between
|
|
3831
|
-
* calls (over time and across different versions of UI5).
|
|
3832
|
-
*
|
|
3833
|
-
* If components are created or destroyed within the <code>callback</code>, then the behavior is
|
|
3834
|
-
* not specified. Newly added objects might or might not be visited. When a component is destroyed during
|
|
3835
|
-
* the filtering and was not visited yet, it might or might not be visited. As the behavior for such
|
|
3836
|
-
* concurrent modifications is not specified, it may change in newer releases.
|
|
3837
|
-
*
|
|
3838
|
-
* If a <code>thisArg</code> is given, it will be provided as <code>this</code> context when calling
|
|
3839
|
-
* <code>callback</code>. The <code>this</code> value that the implementation of <code>callback</code>
|
|
3840
|
-
* sees, depends on the usual resolution mechanism. E.g. when <code>callback</code> was bound to some
|
|
3841
|
-
* context object, that object wins over the given <code>thisArg</code>.
|
|
3842
|
-
*
|
|
3843
|
-
* @param {function(sap.ui.core.Component,sap.ui.core.ID)} callback
|
|
3844
|
-
* Function to call for each Component
|
|
3845
|
-
* @param {Object} [thisArg=undefined]
|
|
3846
|
-
* Context object to provide as <code>this</code> in each call of <code>callback</code>
|
|
3847
|
-
* @throws {TypeError} If <code>callback</code> is not a function
|
|
3848
|
-
* @name sap.ui.core.Component.registry.forEach
|
|
3849
|
-
* @function
|
|
3850
|
-
* @public
|
|
3851
|
-
*/
|
|
3852
|
-
|
|
3853
|
-
/**
|
|
3854
|
-
* Returns an array with components for which the given <code>callback</code> returns a value that coerces
|
|
3855
|
-
* to <code>true</code>.
|
|
3856
|
-
*
|
|
3857
|
-
* The expected signature of the callback is
|
|
3858
|
-
* <pre>
|
|
3859
|
-
* function callback(oComponent, sID)
|
|
3860
|
-
* </pre>
|
|
3861
|
-
* where <code>oComponent</code> is the currently visited component instance and <code>sID</code>
|
|
3862
|
-
* is the ID of that instance.
|
|
3863
|
-
*
|
|
3864
|
-
* If components are created or destroyed within the <code>callback</code>, then the behavior is
|
|
3865
|
-
* not specified. Newly added objects might or might not be visited. When a component is destroyed during
|
|
3866
|
-
* the filtering and was not visited yet, it might or might not be visited. As the behavior for such
|
|
3867
|
-
* concurrent modifications is not specified, it may change in newer releases.
|
|
3868
|
-
*
|
|
3869
|
-
* If a <code>thisArg</code> is given, it will be provided as <code>this</code> context when calling
|
|
3870
|
-
* <code>callback</code>. The <code>this</code> value that the implementation of <code>callback</code>
|
|
3871
|
-
* sees, depends on the usual resolution mechanism. E.g. when <code>callback</code> was bound to some
|
|
3872
|
-
* context object, that object wins over the given <code>thisArg</code>.
|
|
3873
|
-
*
|
|
3874
|
-
* This function returns an array with all components matching the given predicate. The order of the
|
|
3875
|
-
* components in the array is not specified and might change between calls (over time and across different
|
|
3876
|
-
* versions of UI5).
|
|
3877
|
-
*
|
|
3878
|
-
* @param {function(sap.ui.core.Component,sap.ui.core.ID):boolean} callback
|
|
3879
|
-
* predicate against which each Component is tested
|
|
3880
|
-
* @param {Object} [thisArg=undefined]
|
|
3881
|
-
* context object to provide as <code>this</code> in each call of <code>callback</code>
|
|
3882
|
-
* @returns {sap.ui.core.Component[]}
|
|
3883
|
-
* Array of components matching the predicate; order is undefined and might change in newer versions of UI5
|
|
3884
|
-
* @throws {TypeError} If <code>callback</code> is not a function
|
|
3885
|
-
* @name sap.ui.core.Component.registry.filter
|
|
3886
|
-
* @function
|
|
3887
|
-
* @public
|
|
3888
|
-
*/
|
|
3774
|
+
Component.registry = ComponentRegistry;
|
|
3889
3775
|
|
|
3890
3776
|
/**
|
|
3891
3777
|
* Returns the information defined in the manifests command section. If a command name
|
|
@@ -3961,7 +3847,7 @@ sap.ui.define([
|
|
|
3961
3847
|
}, this.getId());
|
|
3962
3848
|
|
|
3963
3849
|
// deactivate all child components
|
|
3964
|
-
|
|
3850
|
+
ComponentRegistry.forEach(function(oComponent) {
|
|
3965
3851
|
var sOwnerId = Component.getOwnerIdFor(oComponent);
|
|
3966
3852
|
if (sOwnerId === this.getId()) {
|
|
3967
3853
|
oComponent.deactivate();
|
|
@@ -4024,7 +3910,7 @@ sap.ui.define([
|
|
|
4024
3910
|
}, this.getId());
|
|
4025
3911
|
|
|
4026
3912
|
// activate all child components
|
|
4027
|
-
|
|
3913
|
+
ComponentRegistry.forEach(function(oComponent) {
|
|
4028
3914
|
var sOwnerId = Component.getOwnerIdFor(oComponent);
|
|
4029
3915
|
if (sOwnerId === this.getId()) {
|
|
4030
3916
|
oComponent.activate();
|
|
@@ -4108,7 +3994,7 @@ sap.ui.define([
|
|
|
4108
3994
|
* @protected
|
|
4109
3995
|
*/
|
|
4110
3996
|
|
|
4111
|
-
_LocalizationHelper.registerForUpdate("Components",
|
|
3997
|
+
_LocalizationHelper.registerForUpdate("Components", ComponentRegistry.all);
|
|
4112
3998
|
|
|
4113
3999
|
return Component;
|
|
4114
4000
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -61,7 +61,7 @@ sap.ui.define([
|
|
|
61
61
|
* See also {@link module:sap/ui/core/ComponentSupport}.
|
|
62
62
|
*
|
|
63
63
|
* @extends sap.ui.core.Control
|
|
64
|
-
* @version 1.120.
|
|
64
|
+
* @version 1.120.3
|
|
65
65
|
*
|
|
66
66
|
* @public
|
|
67
67
|
* @alias sap.ui.core.ComponentContainer
|
|
@@ -406,7 +406,7 @@ sap.ui.define([
|
|
|
406
406
|
if (oOwnerComponent) {
|
|
407
407
|
mConfig = oOwnerComponent._enhanceWithUsageConfig(sUsageId, mConfig);
|
|
408
408
|
} else {
|
|
409
|
-
Log.error("ComponentContainer \"" + this.getId() + "\" does have a \"usage\", but no owner component!");
|
|
409
|
+
Log.error("[FUTURE FATAL] ComponentContainer \"" + this.getId() + "\" does have a \"usage\", but no owner component!");
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
412
|
|
|
@@ -457,7 +457,7 @@ sap.ui.define([
|
|
|
457
457
|
delete this._oComponentPromise;
|
|
458
458
|
// listeners can prevent the default log entry
|
|
459
459
|
if ( this.fireComponentFailed({ reason: oReason }) ) {
|
|
460
|
-
Log.error("Failed to load component for container " + this.getId(), oReason);
|
|
460
|
+
Log.error("[FUTURE FATAL] Failed to load component for container " + this.getId(), oReason);
|
|
461
461
|
}
|
|
462
462
|
}.bind(this));
|
|
463
463
|
} else if (oComponent) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @public
|
|
31
31
|
* @class
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.120.
|
|
33
|
+
* @version 1.120.3
|
|
34
34
|
* @since 1.9.2
|
|
35
35
|
* @alias sap.ui.core.ComponentMetadata
|
|
36
36
|
* @extends sap.ui.base.ManagedObjectMetadata
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"sap/base/Log",
|
|
8
|
+
"sap/ui/base/ManagedObjectRegistry",
|
|
9
|
+
"sap/ui/core/ElementRegistry"
|
|
10
|
+
], (
|
|
11
|
+
Log,
|
|
12
|
+
ManagedObjectRegistry,
|
|
13
|
+
ElementRegistry
|
|
14
|
+
) => {
|
|
15
|
+
"use strict";
|
|
16
|
+
|
|
17
|
+
const fnOnDeregister = function(sComponentId) {
|
|
18
|
+
var Component = sap.ui.require("sap/ui/core/Component");
|
|
19
|
+
ElementRegistry.forEach(function(oElement, sId) {
|
|
20
|
+
var sElementOwnerId = Component.getOwnerIdFor(oElement);
|
|
21
|
+
if (sElementOwnerId === sComponentId && !oElement.getParent()) {
|
|
22
|
+
if ( oElement._sapui_candidateForDestroy) {
|
|
23
|
+
Log.debug("destroying dangling template " + oElement + " when destroying the owner component");
|
|
24
|
+
oElement.destroy();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Registry of all <code>Component</code>s that currently exist.
|
|
32
|
+
*
|
|
33
|
+
* @alias module:sap/ui/core/ComponentRegistry
|
|
34
|
+
* @namespace
|
|
35
|
+
* @public
|
|
36
|
+
* @since 1.120
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
const ComponentRegistry = ManagedObjectRegistry.create({
|
|
40
|
+
"onDeregister": fnOnDeregister
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Number of existing components.
|
|
45
|
+
*
|
|
46
|
+
* @type {int}
|
|
47
|
+
* @readonly
|
|
48
|
+
* @name module:sap/ui/core/ComponentRegistry.size
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Return an object with all instances of <code>sap.ui.core.Component</code>,
|
|
54
|
+
* keyed by their ID.
|
|
55
|
+
*
|
|
56
|
+
* Each call creates a new snapshot object. Depending on the size of the UI,
|
|
57
|
+
* this operation therefore might be expensive. Consider to use the <code>forEach</code>
|
|
58
|
+
* or <code>filter</code> method instead of executing similar operations on the returned
|
|
59
|
+
* object.
|
|
60
|
+
*
|
|
61
|
+
* <b>Note</b>: The returned object is created by a call to <code>Object.create(null)</code>,
|
|
62
|
+
* and therefore lacks all methods of <code>Object.prototype</code>, e.g. <code>toString</code> etc.
|
|
63
|
+
*
|
|
64
|
+
* @returns {Object<sap.ui.core.ID,sap.ui.core.Component>} Object with all components, keyed by their ID
|
|
65
|
+
* @name module:sap/ui/core/ComponentRegistry.all
|
|
66
|
+
* @function
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Retrieves a Component by its ID.
|
|
72
|
+
*
|
|
73
|
+
* When the ID is <code>null</code> or <code>undefined</code> or when there's no Component with
|
|
74
|
+
* the given ID, then <code>undefined</code> is returned.
|
|
75
|
+
*
|
|
76
|
+
* @param {sap.ui.core.ID} id ID of the Component to retrieve
|
|
77
|
+
* @returns {sap.ui.core.Component|undefined} Component with the given ID or <code>undefined</code>
|
|
78
|
+
* @name module:sap/ui/core/ComponentRegistry.get
|
|
79
|
+
* @function
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Calls the given <code>callback</code> for each existing component.
|
|
85
|
+
*
|
|
86
|
+
* The expected signature of the callback is
|
|
87
|
+
* <pre>
|
|
88
|
+
* function callback(oComponent, sID)
|
|
89
|
+
* </pre>
|
|
90
|
+
* where <code>oComponent</code> is the currently visited component instance and <code>sID</code>
|
|
91
|
+
* is the ID of that instance.
|
|
92
|
+
*
|
|
93
|
+
* The order in which the callback is called for components is not specified and might change between
|
|
94
|
+
* calls (over time and across different versions of UI5).
|
|
95
|
+
*
|
|
96
|
+
* If components are created or destroyed within the <code>callback</code>, then the behavior is
|
|
97
|
+
* not specified. Newly added objects might or might not be visited. When a component is destroyed during
|
|
98
|
+
* the filtering and was not visited yet, it might or might not be visited. As the behavior for such
|
|
99
|
+
* concurrent modifications is not specified, it may change in newer releases.
|
|
100
|
+
*
|
|
101
|
+
* If a <code>thisArg</code> is given, it will be provided as <code>this</code> context when calling
|
|
102
|
+
* <code>callback</code>. The <code>this</code> value that the implementation of <code>callback</code>
|
|
103
|
+
* sees, depends on the usual resolution mechanism. E.g. when <code>callback</code> was bound to some
|
|
104
|
+
* context object, that object wins over the given <code>thisArg</code>.
|
|
105
|
+
*
|
|
106
|
+
* @param {function(sap.ui.core.Component,sap.ui.core.ID)} callback
|
|
107
|
+
* Function to call for each Component
|
|
108
|
+
* @param {Object} [thisArg=undefined]
|
|
109
|
+
* Context object to provide as <code>this</code> in each call of <code>callback</code>
|
|
110
|
+
* @throws {TypeError} If <code>callback</code> is not a function
|
|
111
|
+
* @name module:sap/ui/core/ComponentRegistry.forEach
|
|
112
|
+
* @function
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Returns an array with components for which the given <code>callback</code> returns a value that coerces
|
|
118
|
+
* to <code>true</code>.
|
|
119
|
+
*
|
|
120
|
+
* The expected signature of the callback is
|
|
121
|
+
* <pre>
|
|
122
|
+
* function callback(oComponent, sID)
|
|
123
|
+
* </pre>
|
|
124
|
+
* where <code>oComponent</code> is the currently visited component instance and <code>sID</code>
|
|
125
|
+
* is the ID of that instance.
|
|
126
|
+
*
|
|
127
|
+
* If components are created or destroyed within the <code>callback</code>, then the behavior is
|
|
128
|
+
* not specified. Newly added objects might or might not be visited. When a component is destroyed during
|
|
129
|
+
* the filtering and was not visited yet, it might or might not be visited. As the behavior for such
|
|
130
|
+
* concurrent modifications is not specified, it may change in newer releases.
|
|
131
|
+
*
|
|
132
|
+
* If a <code>thisArg</code> is given, it will be provided as <code>this</code> context when calling
|
|
133
|
+
* <code>callback</code>. The <code>this</code> value that the implementation of <code>callback</code>
|
|
134
|
+
* sees, depends on the usual resolution mechanism. E.g. when <code>callback</code> was bound to some
|
|
135
|
+
* context object, that object wins over the given <code>thisArg</code>.
|
|
136
|
+
*
|
|
137
|
+
* This function returns an array with all components matching the given predicate. The order of the
|
|
138
|
+
* components in the array is not specified and might change between calls (over time and across different
|
|
139
|
+
* versions of UI5).
|
|
140
|
+
*
|
|
141
|
+
* @param {function(sap.ui.core.Component,sap.ui.core.ID):boolean} callback
|
|
142
|
+
* predicate against which each Component is tested
|
|
143
|
+
* @param {Object} [thisArg=undefined]
|
|
144
|
+
* context object to provide as <code>this</code> in each call of <code>callback</code>
|
|
145
|
+
* @returns {sap.ui.core.Component[]}
|
|
146
|
+
* Array of components matching the predicate; order is undefined and might change in newer versions of UI5
|
|
147
|
+
* @throws {TypeError} If <code>callback</code> is not a function
|
|
148
|
+
* @name module:sap/ui/core/ComponentRegistry.filter
|
|
149
|
+
* @function
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
return ComponentRegistry;
|
|
153
|
+
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -97,7 +97,7 @@ sap.ui.define([
|
|
|
97
97
|
* @author SAP SE
|
|
98
98
|
* @public
|
|
99
99
|
* @since 1.58.0
|
|
100
|
-
* @version 1.120.
|
|
100
|
+
* @version 1.120.3
|
|
101
101
|
* @namespace
|
|
102
102
|
* @alias module:sap/ui/core/ComponentSupport
|
|
103
103
|
*/
|
|
@@ -166,7 +166,7 @@ sap.ui.define([
|
|
|
166
166
|
var oProperty = ComponentContainerMetadata.getProperty(sKey);
|
|
167
167
|
var oEvent = !oProperty && ComponentContainerMetadata.getEvent(sKey);
|
|
168
168
|
if (!oProperty && !oEvent) {
|
|
169
|
-
Log.warning("Property or event \"" + sKey + "\" will be ignored as it does not exist in sap.ui.core.ComponentContainer");
|
|
169
|
+
Log.warning("[FUTURE FATAL] Property or event \"" + sKey + "\" will be ignored as it does not exist in sap.ui.core.ComponentContainer");
|
|
170
170
|
continue;
|
|
171
171
|
}
|
|
172
172
|
if (oProperty) {
|
|
@@ -210,7 +210,7 @@ sap.ui.define([
|
|
|
210
210
|
if (mSettings.manifest === undefined || mSettings.manifest === "true") {
|
|
211
211
|
mSettings.manifest = true;
|
|
212
212
|
} else if (mSettings.manifest === "false") {
|
|
213
|
-
Log.error("Ignoring \"manifest=false\" for ComponentContainer of component \"" + mSettings.name + "\" as it is not supported by ComponentSupport. " +
|
|
213
|
+
Log.error("[FUTURE FATAL] Ignoring \"manifest=false\" for ComponentContainer of component \"" + mSettings.name + "\" as it is not supported by ComponentSupport. " +
|
|
214
214
|
"Forcing \"manifest=true\"", "", "sap/ui/core/ComponentSupport");
|
|
215
215
|
mSettings.manifest = true;
|
|
216
216
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
) {
|
|
42
42
|
"use strict";
|
|
43
43
|
|
|
44
|
-
var oVersion = new Version("1.120.
|
|
44
|
+
var oVersion = new Version("1.120.3");
|
|
45
45
|
var oFormatSettings;
|
|
46
46
|
|
|
47
47
|
// Lazy dependency to core
|