@openui5/sap.ui.core 1.131.0 → 1.132.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dtsgenrc +17 -0
- 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/future.js +1 -1
- 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 +2 -4
- package/src/sap/base/i18n/ResourceBundle.js +4 -3
- 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 +2 -2
- package/src/sap/base/i18n/date/_EnumHelper.js +1 -1
- 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/clamp.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 +65 -6
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/VersionInfo.js +1 -1
- package/src/sap/ui/base/BindingInfo.js +1 -1
- package/src/sap/ui/base/BindingParser.js +1 -1
- package/src/sap/ui/base/DataType.js +1 -1
- 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 +2 -2
- package/src/sap/ui/base/ManagedObjectMetadata.js +6 -6
- package/src/sap/ui/base/ManagedObjectObserver.js +1 -1
- package/src/sap/ui/base/ManagedObjectRegistry.js +1 -1
- package/src/sap/ui/base/Metadata.js +3 -4
- 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 +2 -2
- 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 +3 -3
- package/src/sap/ui/core/CommandExecution.js +46 -42
- package/src/sap/ui/core/Component.js +20 -7
- package/src/sap/ui/core/ComponentContainer.js +2 -2
- package/src/sap/ui/core/ComponentContainerRenderer.js +1 -1
- package/src/sap/ui/core/ComponentHooks.js +51 -4
- package/src/sap/ui/core/ComponentMetadata.js +2 -2
- package/src/sap/ui/core/ComponentRegistry.js +1 -1
- package/src/sap/ui/core/ComponentSupport.js +2 -2
- 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 +13 -9
- package/src/sap/ui/core/ControlBehavior.js +1 -1
- package/src/sap/ui/core/Core.js +3 -3
- 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 +10 -9
- package/src/sap/ui/core/ElementMetadata.js +2 -2
- package/src/sap/ui/core/ElementRegistry.js +1 -1
- 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 +1 -1
- package/src/sap/ui/core/FocusHandler.js +1 -1
- package/src/sap/ui/core/FocusMode.js +1 -1
- package/src/sap/ui/core/Fragment.js +188 -189
- 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 +5 -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 +3 -3
- package/src/sap/ui/core/LayoutData.js +2 -2
- package/src/sap/ui/core/Lib.js +13 -7
- 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 +2 -2
- package/src/sap/ui/core/Manifest.js +2 -2
- package/src/sap/ui/core/Message.js +2 -2
- package/src/sap/ui/core/Messaging.js +1 -1
- 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 +37 -78
- package/src/sap/ui/core/RenderManager.js +12 -2
- package/src/sap/ui/core/Renderer.js +2 -2
- package/src/sap/ui/core/Rendering.js +9 -7
- 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 +3 -3
- package/src/sap/ui/core/SeparatorItem.js +2 -2
- package/src/sap/ui/core/Shortcut.js +1 -1
- 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 +1 -9
- package/src/sap/ui/core/Supportability.js +4 -4
- 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 +3 -3
- package/src/sap/ui/core/UIAreaRegistry.js +1 -1
- package/src/sap/ui/core/UIComponent.js +6 -2
- package/src/sap/ui/core/UIComponentMetadata.js +2 -3
- 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 +4 -3
- package/src/sap/ui/core/_IconRegistry.js +1 -1
- package/src/sap/ui/core/_UrlResolver.js +1 -1
- package/src/sap/ui/core/boot/FieldHelpEndpoint.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/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/fieldhelp/FieldHelp.js +1 -1
- package/src/sap/ui/core/fieldhelp/FieldHelpCustomData.js +1 -1
- package/src/sap/ui/core/fieldhelp/FieldHelpUtil.js +1 -1
- package/src/sap/ui/core/format/DateFormat.js +8 -7
- 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/FormatUtils.js +2 -2
- package/src/sap/ui/core/format/ListFormat.js +1 -1
- package/src/sap/ui/core/format/NumberFormat.js +128 -15
- 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 +4 -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 +2 -2
- 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 +1 -1
- package/src/sap/ui/core/messagebundle_en_US_saptrc.properties +291 -294
- package/src/sap/ui/core/mvc/Controller.js +1 -1
- package/src/sap/ui/core/mvc/ControllerExtension.js +1 -1
- package/src/sap/ui/core/mvc/ControllerExtensionProvider.js +1 -1
- package/src/sap/ui/core/mvc/ControllerMetadata.js +1 -1
- package/src/sap/ui/core/mvc/EventHandlerResolver.js +1 -1
- 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 +2 -2
- 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 +2 -2
- 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 +1 -1
- package/src/sap/ui/core/routing/Route.js +1 -1
- package/src/sap/ui/core/routing/Router.js +1 -1
- 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 +1 -1
- 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 +1 -2
- package/src/sap/ui/core/routing/async/TargetCache.js +1 -2
- package/src/sap/ui/core/routing/async/Targets.js +1 -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 +1 -1
- 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 +2 -2
- package/src/sap/ui/core/support/plugins/Debugging.js +1 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +17 -6
- 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 +5 -5
- 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/base.less +858 -404
- package/src/sap/ui/core/themes/base/global.less +117 -5
- package/src/sap/ui/core/themes/base/library.source.less +1 -1
- package/src/sap/ui/core/themes/base/shared.less +6 -2
- package/src/sap/ui/core/themes/base/skeleton.less +53 -3
- package/src/sap/ui/core/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/core/theming/Parameters.js +2 -2
- package/src/sap/ui/core/theming/ThemeHelper.js +1 -1
- package/src/sap/ui/core/theming/ThemeManager.js +1 -1
- 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 +2 -2
- 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 +1 -1
- package/src/sap/ui/core/util/reflection/JsControlTreeModifier.js +1 -1
- package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +1 -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 +47 -5
- package/src/sap/ui/core/webc/WebComponentMetadata.js +6 -3
- package/src/sap/ui/core/webc/WebComponentRenderer.js +5 -3
- 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/findTabbable.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/isElementCovered.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 +31 -12
- 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 +13 -1
- package/src/sap/ui/model/CompositeDataState.js +2 -2
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +3 -3
- 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 +1 -1
- 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/ODataExpressionAddons.js +1 -1
- package/src/sap/ui/model/odata/ODataListBinding.js +1 -1
- package/src/sap/ui/model/odata/ODataMessageParser.js +2 -2
- package/src/sap/ui/model/odata/ODataMetaModel.js +4 -4
- 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 +20 -1
- 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 +3 -2
- package/src/sap/ui/model/odata/type/Currency.js +10 -4
- 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 +3 -2
- package/src/sap/ui/model/odata/type/Double.js +3 -2
- package/src/sap/ui/model/odata/type/Guid.js +2 -2
- package/src/sap/ui/model/odata/type/Int.js +3 -2
- package/src/sap/ui/model/odata/type/Int16.js +3 -2
- package/src/sap/ui/model/odata/type/Int32.js +3 -2
- package/src/sap/ui/model/odata/type/Int64.js +3 -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 +3 -2
- package/src/sap/ui/model/odata/type/Single.js +3 -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 +10 -4
- package/src/sap/ui/model/odata/type/UnitMixin.js +9 -3
- 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 +5 -3
- package/src/sap/ui/model/odata/v2/ODataModel.js +20 -5
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +2 -2
- 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 +59 -28
- package/src/sap/ui/model/odata/v4/ODataBinding.js +16 -2
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +24 -7
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +42 -17
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +57 -28
- package/src/sap/ui/model/odata/v4/ODataModel.js +10 -5
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +23 -13
- 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 +9 -20
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +75 -51
- package/src/sap/ui/model/odata/v4/lib/_Batch.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +80 -24
- 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 +28 -13
- 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 +29 -12
- package/src/sap/ui/model/odata/v4/lib/_TreeState.js +1 -1
- 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 +3 -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 +3 -2
- package/src/sap/ui/model/type/Integer.js +3 -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 +15 -7
- 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 +8 -11
- package/src/sap/ui/performance/XHRInterceptor.js +1 -1
- package/src/sap/ui/performance/trace/FESR.js +4 -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/_InteractionImpl.js +4 -4
- 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 +2 -2
- 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 +1 -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 +1 -1
- 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 +1 -1
- package/src/sap/ui/test/generic/TestBase.js +2 -2
- package/src/sap/ui/test/generic/Utils.js +1 -1
- 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 +31 -14
- package/src/sap/ui/test/starter/createSuite.js +1 -1
- package/src/sap/ui/test/starter/runTest.js +1 -1
- package/src/sap/ui/test/utils/nextUIUpdate.js +1 -1
- package/src/sap/ui/test/utils/waitForThemeApplied.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/_enforceNoReturnValue.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 +26 -6
- package/src/ui5loader.js +2 -3
- package/ui5.yaml +1 -0
- package/ui5lint.config.js +9 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -99,7 +99,7 @@ function(
|
|
|
99
99
|
* @class
|
|
100
100
|
* @extends sap.ui.base.ManagedObject
|
|
101
101
|
* @author SAP SE
|
|
102
|
-
* @version 1.
|
|
102
|
+
* @version 1.132.0
|
|
103
103
|
* @public
|
|
104
104
|
* @alias sap.ui.core.Fragment
|
|
105
105
|
*/
|
|
@@ -333,65 +333,84 @@ function(
|
|
|
333
333
|
// ### Factory functions ###
|
|
334
334
|
|
|
335
335
|
/**
|
|
336
|
-
*
|
|
337
|
-
* The
|
|
336
|
+
* Loads and instantiates a fragment.
|
|
337
|
+
* The fragment object itself is not an entity that has any further significance beyond this factory function.
|
|
338
338
|
*
|
|
339
|
-
* To instantiate
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
*
|
|
343
|
-
* If oController is given, the (event handler) methods referenced in the Fragment will be called on this controller.
|
|
344
|
-
* Note that Fragments may require a Controller to be given and certain methods to be available.
|
|
339
|
+
* To instantiate a fragment that is already defined separately, call:
|
|
340
|
+
* <pre>
|
|
341
|
+
* sap.ui.fragment(sName, sType, oController?);
|
|
342
|
+
* </pre>
|
|
345
343
|
*
|
|
346
|
-
*
|
|
347
|
-
*
|
|
344
|
+
* Advanced usage to give further configuration options:
|
|
345
|
+
* <pre>
|
|
346
|
+
* sap.ui.fragment(oFragmentConfig, oController?);
|
|
347
|
+
* </pre>
|
|
348
|
+
* In addition to <code>id</code> and <code>type</code>, the <code>oFragmentConfig</code> object
|
|
349
|
+
* can have either a <code>fragmentName</code> or a <code>fragmentContent</code> property, but not both.
|
|
348
350
|
*
|
|
351
|
+
* To define a fragment ID, which can be used as a prefix for the created control IDs,
|
|
352
|
+
* you must use either the above advanced version with an <code>id</code> or one of the typed factory functions
|
|
353
|
+
* like {@link sap.ui.xmlfragment} or {@link sap.ui.jsfragment}.
|
|
349
354
|
*
|
|
350
|
-
*
|
|
351
|
-
*
|
|
352
|
-
* sap.ui.fragment(oFragmentConfig, [oController]);
|
|
353
|
-
* The oFragmentConfig object can have the following properties:
|
|
354
|
-
* - "fragmentName": the name of the Fragment, as above
|
|
355
|
-
* - "fragmentContent": the definition of the Fragment content itself. When this property is given, any given name is ignored.
|
|
356
|
-
* The type of this property depends on the Fragment type, e.g. it could be a string for XML Fragments.
|
|
357
|
-
* - "type": the type of the Fragment, as above (mandatory)
|
|
358
|
-
* - "id": the ID of the Fragment (optional)
|
|
359
|
-
* Further properties may be supported by future or custom Fragment types. Any given properties
|
|
360
|
-
* will be forwarded to the Fragment implementation.
|
|
355
|
+
* A fragment type must be given in all cases. The fragment types <code>"XML"</code>, <code>"JS"</code>, and <code>"HTML"</code> (type <code>"HTML"</code> is deprecated)
|
|
356
|
+
* are available by default. Additional fragment types can be implemented and added using the {@link sap.ui.core.Fragment.registerType} function.
|
|
361
357
|
*
|
|
362
|
-
*
|
|
363
|
-
*
|
|
364
|
-
*
|
|
365
|
-
*
|
|
358
|
+
* Custom fragment types can support further properties. Any given properties will be forwarded to the fragment implementation.
|
|
359
|
+
*
|
|
360
|
+
* The optional <code>oController</code> can be either the controller of an enclosing view,
|
|
361
|
+
* a new controller instance, or a simple object with the necessary methods attached.
|
|
362
|
+
* Note that a fragment has no runtime representation besides its contained controls. Therefore, there is no API to retrieve the controller from the return value.
|
|
363
|
+
* Note also that fragments may require a controller to be given and certain methods to be available.
|
|
364
|
+
*
|
|
365
|
+
* <b>Note:</b>
|
|
366
|
+
* In case you are embedding a Fragment into an existing View, please also have a look at the
|
|
367
|
+
* {@link sap.ui.core.mvc.Controller.loadFragment loadFragment} factory for a closer coupling to the corresponding Controller instance.
|
|
366
368
|
*
|
|
367
|
-
* @param {string|
|
|
368
|
-
*
|
|
369
|
-
*
|
|
370
|
-
*
|
|
369
|
+
* @param {string|object} vName
|
|
370
|
+
* resource name of the fragment module in dot notation without the <code>.fragment.<i><typeExtension></i></code> suffix from the file name.
|
|
371
|
+
* Alternatively, a configuration object as specified below
|
|
372
|
+
* @param {string} [vName.id]
|
|
373
|
+
* optional ID of the created fragment
|
|
374
|
+
* @param {string|object} [vName.fragmentContent]
|
|
375
|
+
* definition of the fragment content that will be used instead of loading the content from a separate file.
|
|
376
|
+
* The type of this property depends on the fragment type. For example, it could be a string for XML fragments or an object for JS fragments
|
|
377
|
+
* @param {string} [vName.fragmentName]
|
|
378
|
+
* recource name of the fragment module as specified above
|
|
379
|
+
* @param {string} vName.type
|
|
380
|
+
* type of the fragment, for example, <code>"XML"</code>, <code>"JS"</code>, <code>"HTML"</code>, or any other type that has been implemented additionally
|
|
381
|
+
* @param {string|sap.ui.core.mvc.Controller|object} vType
|
|
382
|
+
* type of the fragment as specified by <code>vName.type</code> or, in the advanced usage case, an optional <code>oController</code>
|
|
383
|
+
* @param {sap.ui.core.mvc.Controller|object} [oController]
|
|
384
|
+
* controller object to be used for methods or event handlers referenced in the fragment
|
|
371
385
|
* @public
|
|
372
386
|
* @static
|
|
373
|
-
* @deprecated
|
|
374
|
-
* @
|
|
387
|
+
* @deprecated As of version 1.58. Refer to {@link topic:04129b2798c447368f4c8922c3c33cd7 Instantiation of Fragments}.
|
|
388
|
+
* @returns {sap.ui.core.Control|sap.ui.core.Control[]} the instantiated root control(s) from the fragment content
|
|
375
389
|
* @ui5-global-only
|
|
376
390
|
*/
|
|
377
|
-
sap.ui.fragment = function (
|
|
391
|
+
sap.ui.fragment = function (vName, vType, oController) {
|
|
378
392
|
|
|
379
393
|
var sFragmentType;
|
|
380
|
-
if (typeof
|
|
381
|
-
sFragmentType =
|
|
382
|
-
} else if (typeof
|
|
383
|
-
sFragmentType =
|
|
394
|
+
if (typeof vType === "string") {
|
|
395
|
+
sFragmentType = vType.toLowerCase();
|
|
396
|
+
} else if (typeof vName === "object" && typeof vName.type === "string") {
|
|
397
|
+
sFragmentType = vName.type.toLowerCase();
|
|
384
398
|
} else {
|
|
385
399
|
sFragmentType = "";
|
|
386
400
|
}
|
|
387
|
-
Log.info("Do not use deprecated factory function 'sap.ui." + sFragmentType + "fragment'.
|
|
388
|
-
|
|
401
|
+
Log.info("Do not use deprecated factory function 'sap.ui." + sFragmentType + "fragment'.", "sap.ui." + sFragmentType + "fragment", null, function () {
|
|
402
|
+
var oSupportInfo = {
|
|
389
403
|
type: "sap.ui." + sFragmentType + "fragment",
|
|
390
|
-
name:
|
|
404
|
+
name: ( vName.fragmentName || vName ) + ".fragment." + sFragmentType
|
|
391
405
|
};
|
|
406
|
+
if (vName.fragmentContent) {
|
|
407
|
+
oSupportInfo.content = vName.fragmentContent;
|
|
408
|
+
oSupportInfo.name = "";
|
|
409
|
+
}
|
|
410
|
+
return oSupportInfo;
|
|
392
411
|
});
|
|
393
412
|
|
|
394
|
-
return fragmentFactory(
|
|
413
|
+
return fragmentFactory(vName, vType, oController);
|
|
395
414
|
};
|
|
396
415
|
|
|
397
416
|
/**
|
|
@@ -400,7 +419,7 @@ function(
|
|
|
400
419
|
* @private
|
|
401
420
|
* @param {string|object} vName The fragment name or the fragment config
|
|
402
421
|
* @param {string|sap.ui.core.mvc.Controller} vType The type of the fragment or the controller
|
|
403
|
-
* @param {sap.ui.core.mvc.Controller|
|
|
422
|
+
* @param {sap.ui.core.mvc.Controller|object} oController the Controller or object which should be used by the controls in the Fragment.
|
|
404
423
|
* @returns {Promise<sap.ui.core.Control|sap.ui.core.Control[]>|sap.ui.core.Fragment} If fragment is created asynchronoulsy
|
|
405
424
|
* a Promise is returned which resolves with the resulting {sap.ui.core.Control|sap.ui.core.Control[]}
|
|
406
425
|
* after fragment parsing and instantiation.
|
|
@@ -465,29 +484,35 @@ function(
|
|
|
465
484
|
}
|
|
466
485
|
|
|
467
486
|
/**
|
|
468
|
-
* Loads and instantiates a
|
|
469
|
-
*
|
|
487
|
+
* Loads and instantiates a fragment.
|
|
488
|
+
* Also refer to {@link topic:04129b2798c447368f4c8922c3c33cd7 Instantiation of Fragments}.
|
|
470
489
|
*
|
|
471
|
-
* The
|
|
490
|
+
* The fragment object itself is not an entity that has any further significance beyond this factory function.
|
|
472
491
|
*
|
|
473
|
-
*
|
|
474
|
-
*
|
|
492
|
+
* A Promise is returned, which resolves with the fragment's content.
|
|
493
|
+
*
|
|
494
|
+
* The Fragment types <code>"XML"</code>, <code>"JS"</code>, and <code>"HTML"</code> (type <code>"HTML"</code> is deprecated) are available by default.
|
|
495
|
+
* Additional Fragment types can be implemented and added using the {@link sap.ui.core.Fragment.registerType} function.
|
|
475
496
|
*
|
|
476
497
|
* Further properties may be supported by future or custom Fragment types. Any given properties
|
|
477
498
|
* will be forwarded to the Fragment implementation.
|
|
478
499
|
*
|
|
479
|
-
* If no fixed ID is given, the
|
|
500
|
+
* If no fixed ID is given, the fragment ID is generated. In any case, the fragment ID will be used as prefix for the IDs of
|
|
480
501
|
* all contained controls.
|
|
481
502
|
*
|
|
503
|
+
* <b>Note:</b>
|
|
504
|
+
* In case you are embedding a Fragment into an existing View, please also have a look at the
|
|
505
|
+
* {@link sap.ui.core.mvc.Controller.loadFragment loadFragment} factory for a closer coupling to the corresponding Controller instance.
|
|
506
|
+
*
|
|
482
507
|
* @example <caption>Loading an XML fragment (default type)</caption>
|
|
483
|
-
* sap.ui.require(["sap/ui/core/Fragment"], async
|
|
508
|
+
* sap.ui.require(["sap/ui/core/Fragment"], async (Fragment) => {
|
|
484
509
|
* const myFrag = await Fragment.load({
|
|
485
510
|
* name: "my.useful.VerySimpleUiPart"
|
|
486
511
|
* });
|
|
487
512
|
* });
|
|
488
513
|
*
|
|
489
514
|
* @example <caption>Creating an XML fragments</caption>
|
|
490
|
-
* sap.ui.require(["sap/ui/core/Fragment"], async
|
|
515
|
+
* sap.ui.require(["sap/ui/core/Fragment"], async (Fragment) => {
|
|
491
516
|
* const myFrag = await Fragment.load({
|
|
492
517
|
* type: "XML",
|
|
493
518
|
* definition: '<Button xmlns="sap.m" id="xmlfragbtn" text="This is an XML Fragment" press="doSomething"></Button>'
|
|
@@ -495,7 +520,7 @@ function(
|
|
|
495
520
|
* });
|
|
496
521
|
*
|
|
497
522
|
* @example <caption>Creating an JS fragments</caption>
|
|
498
|
-
* sap.ui.require(["sap/ui/core/Fragment"], async
|
|
523
|
+
* sap.ui.require(["sap/ui/core/Fragment"], async (Fragment) => {
|
|
499
524
|
* const myFrag = await Fragment.load({
|
|
500
525
|
* name: "my.sample.AsyncButton",
|
|
501
526
|
* type: "JS",
|
|
@@ -503,29 +528,29 @@ function(
|
|
|
503
528
|
* });
|
|
504
529
|
*
|
|
505
530
|
* @example <caption>Creating an HTML fragments (deprecated)</caption>
|
|
506
|
-
* sap.ui.require(["sap/ui/core/Fragment"], async
|
|
531
|
+
* sap.ui.require(["sap/ui/core/Fragment"], async (Fragment) => {
|
|
507
532
|
* const myFrag = await Fragment.load({
|
|
508
533
|
* type: "HTML",
|
|
509
534
|
* definition: '<div id="htmlfragbtn" data-sap-ui-type="sap.m.Button" data-text="This is an HTML Fragment"></div>'
|
|
510
535
|
* });
|
|
511
536
|
* });
|
|
512
537
|
*
|
|
513
|
-
* <b>Note:</b> If the
|
|
538
|
+
* <b>Note:</b> If the fragment contains <code>ExtensionPoint</code>s, you have to pass the parameter <code>containingView</code>.
|
|
514
539
|
* The containing view should be the View instance into which the fragment content will be inserted manually.
|
|
515
540
|
*
|
|
516
541
|
* @param {object} mOptions options map
|
|
517
|
-
* @param {string} [mOptions.name] must be supplied if no
|
|
542
|
+
* @param {string} [mOptions.name] must be supplied if no <code>definition</code> parameter is given. The fragment name must correspond to an XML fragment which
|
|
518
543
|
* can be loaded via the module system
|
|
519
|
-
* (fragmentName + suffix
|
|
520
|
-
* If
|
|
521
|
-
* Note that
|
|
522
|
-
* @param {string} [mOptions.type=XML] the
|
|
523
|
-
* @param {string} [mOptions.definition] definition of the
|
|
524
|
-
* Please see the above example on how to use the
|
|
525
|
-
* @param {string} [mOptions.id] the ID of the
|
|
526
|
-
* @param {sap.ui.core.mvc.Controller|
|
|
527
|
-
* Note that some
|
|
528
|
-
* @param {sap.ui.core.mvc.View} [mOptions.containingView] The view containing the
|
|
544
|
+
* (fragmentName + suffix <code>.fragment.<i><typeExtension></i></code>) and which contains the fragment definition.
|
|
545
|
+
* If <code>mOptions.controller</code> is supplied, the (event handler) methods referenced in the fragment will be called on that controller.
|
|
546
|
+
* Note that fragments may require a controller to be given and certain methods to be implemented by it.
|
|
547
|
+
* @param {string} [mOptions.type=XML] the fragment type, e.g. <code>"XML"</code>, <code>"JS"</code>, or <code>"HTML"</code> (type <code>"HTML"</code> is deprecated). Default is <code>"XML"</code>
|
|
548
|
+
* @param {string} [mOptions.definition] definition of the fragment content. When this property is supplied, the <code>name</code> parameter must not be used. If both are supplied, the definition has priority.
|
|
549
|
+
* Please see the above example on how to use the <code>definition</code> parameter.
|
|
550
|
+
* @param {string} [mOptions.id] the ID of the fragment
|
|
551
|
+
* @param {sap.ui.core.mvc.Controller|object} [mOptions.controller] the controller or object which should be used by the controls in the fragment.
|
|
552
|
+
* Note that some fragments may not need a controller while others may need one and certain methods to be implemented by it.
|
|
553
|
+
* @param {sap.ui.core.mvc.View} [mOptions.containingView] The view containing the fragment content. If the fragment content contains <code>ExtensionPoint</code>s, this parameter must be given.
|
|
529
554
|
* @public
|
|
530
555
|
* @static
|
|
531
556
|
* @since 1.58
|
|
@@ -578,128 +603,108 @@ function(
|
|
|
578
603
|
};
|
|
579
604
|
|
|
580
605
|
/**
|
|
581
|
-
*
|
|
606
|
+
* Loads and instantiates an XML-based fragment.
|
|
582
607
|
*
|
|
583
|
-
* To instantiate a fragment, call:
|
|
608
|
+
* To instantiate a fragment that is already defined separately, call:
|
|
584
609
|
* <pre>
|
|
585
|
-
*
|
|
610
|
+
* sap.ui.xmlfragment(sId?, sFragmentName, oController?);
|
|
586
611
|
* </pre>
|
|
587
|
-
* The fragment instance ID is optional and will be used as prefix for the ID of all contained controls.
|
|
588
|
-
* If no ID is passed, controls will not be prefixed. The <code>sFragmentName</code> must correspond to an
|
|
589
|
-
* XML fragment which can be loaded via the module system (fragmentName + ".fragment.xml") and which defines
|
|
590
|
-
* the fragment. If <code>oController</code> is given, the methods referenced in the fragment will be called
|
|
591
|
-
* on this controller.
|
|
592
612
|
*
|
|
593
|
-
*
|
|
594
|
-
*
|
|
595
|
-
*
|
|
596
|
-
* <h3>Advanced usage:</h3>
|
|
597
|
-
* To instantiate a fragment and optionally directly give the XML definition instead of loading it from a file,
|
|
598
|
-
* call:
|
|
613
|
+
* Advanced usage:
|
|
599
614
|
* <pre>
|
|
600
|
-
*
|
|
615
|
+
* sap.ui.xmlfragment(oFragmentConfig, oController?);
|
|
601
616
|
* </pre>
|
|
602
|
-
*
|
|
603
|
-
*
|
|
604
|
-
* <code>fragmentName</code> must be given and the fragment content definition is loaded via the module system.
|
|
605
|
-
* Again, if <code>oController</code> is given, the methods referenced in the fragment will be called on this controller.
|
|
617
|
+
* In addition to an <code>id</code>, the <code>oFragmentConfig</code> object can have either a <code>fragmentName</code>
|
|
618
|
+
* or a <code>fragmentContent</code> property, but not both.
|
|
606
619
|
*
|
|
607
|
-
* @param {string} [
|
|
608
|
-
* ID of the
|
|
609
|
-
*
|
|
610
|
-
*
|
|
611
|
-
*
|
|
612
|
-
*
|
|
613
|
-
*
|
|
614
|
-
*
|
|
615
|
-
*
|
|
616
|
-
*
|
|
617
|
-
*
|
|
618
|
-
*
|
|
619
|
-
*
|
|
620
|
+
* @param {string|object} [vId]
|
|
621
|
+
* ID of the created fragment which will be used as prefix to all contained control IDs.
|
|
622
|
+
* If the first argument is not an ID, it must be either the fragment name (<code>sFragmentName</code>)
|
|
623
|
+
* or a configuration object (<code>oFragmentConfig</code>) as specified below
|
|
624
|
+
* @param {string} [vId.id]
|
|
625
|
+
* ID of the created fragment which will be used as prefix to all contained control IDs
|
|
626
|
+
* @param {string} [vId.fragmentContent]
|
|
627
|
+
* definition of the fragment content as an XML string that will be used
|
|
628
|
+
* instead of loading the content from a separate <code>.fragment.xml</code> file.
|
|
629
|
+
* When this property is given, any given fragment name is ignored
|
|
630
|
+
* @param {string} [vId.fragmentName]
|
|
631
|
+
* resource name of the fragment module in dot notation without the <code>.fragment.xml</code> suffix from the file name
|
|
632
|
+
* @param {string|sap.ui.core.mvc.Controller|object} vFragment
|
|
633
|
+
* resource name of the fragment module as specified by <code>vId.fragmentName</code> or,
|
|
634
|
+
* in the advanced usage case, an optional <code>oController</code>
|
|
620
635
|
* @param {sap.ui.core.mvc.Controller|object} [oController]
|
|
621
|
-
*
|
|
636
|
+
* controller object to be used for methods or event handlers. Can be either the controller of an
|
|
622
637
|
* enclosing view, a new controller instance, or a simple object with the necessary methods attached.
|
|
623
|
-
* Note that a fragment has no runtime representation besides its contained controls.
|
|
624
|
-
*
|
|
638
|
+
* Note that a fragment has no runtime representation besides its contained controls. Therefore, there is
|
|
639
|
+
* no API to retrieve the controller from the return value.
|
|
640
|
+
* Note also that fragments may require a controller to be given and certain methods to be available
|
|
625
641
|
* @public
|
|
626
642
|
* @static
|
|
627
|
-
* @deprecated
|
|
628
|
-
* @return {sap.ui.core.Control|sap.ui.core.Control[]} the root
|
|
643
|
+
* @deprecated As of version 1.58. Refer to {@link topic:04129b2798c447368f4c8922c3c33cd7 Instantiation of Fragments}.
|
|
644
|
+
* @return {sap.ui.core.Control|sap.ui.core.Control[]} the instantiated root control(s) from the fragment content
|
|
629
645
|
* @ui5-global-only
|
|
630
646
|
*/
|
|
631
|
-
sap.ui.xmlfragment = function(
|
|
647
|
+
sap.ui.xmlfragment = function(vId, vFragment, oController) {
|
|
632
648
|
|
|
633
|
-
if (typeof (
|
|
649
|
+
if (typeof (vId) === "string") { // basic call
|
|
634
650
|
if (typeof (vFragment) === "string") { // with ID
|
|
635
|
-
return sap.ui.fragment({fragmentName: vFragment, sId:
|
|
651
|
+
return sap.ui.fragment({fragmentName: vFragment, sId: vId, type: "XML"}, oController); // legacy-relevant
|
|
636
652
|
|
|
637
653
|
} else { // no ID, sId is actually the name and vFragment the optional Controller
|
|
638
|
-
return sap.ui.fragment(
|
|
654
|
+
return sap.ui.fragment(vId, "XML", vFragment); // legacy-relevant
|
|
639
655
|
}
|
|
640
656
|
} else { // advanced call
|
|
641
|
-
|
|
657
|
+
vId.type = "XML";
|
|
642
658
|
// second parameter "vFragment" is the optional Controller
|
|
643
|
-
return sap.ui.fragment(
|
|
659
|
+
return sap.ui.fragment(vId, vFragment); // legacy-relevant
|
|
644
660
|
}
|
|
645
661
|
};
|
|
646
662
|
|
|
647
663
|
|
|
648
664
|
/**
|
|
649
|
-
* Defines
|
|
665
|
+
* Defines <strong>or</strong> instantiates a JS-based fragment.
|
|
650
666
|
*
|
|
651
667
|
* To define a JS fragment, call:
|
|
652
668
|
* <pre>
|
|
653
|
-
*
|
|
669
|
+
* sap.ui.jsfragment(sName, oFragmentDefinition);
|
|
654
670
|
* </pre>
|
|
655
|
-
* where:
|
|
656
|
-
* <ul>
|
|
657
|
-
* <li><code>sName</code> is the name by which this fragment later can be found and instantiated. If defined in
|
|
658
|
-
* its own file, in order to be found by the module loading system, the file location and name must correspond
|
|
659
|
-
* to <code>sName</code> (path + file name must be: fragmentName + ".fragment.js"). </li>
|
|
660
|
-
* <li><code>oFragmentDefinition</code> is an object at least holding the <code>createContent(oController)</code>
|
|
661
|
-
* method which defines the fragment content. If given during instantiation, the <code>createContent</code>
|
|
662
|
-
* method receives a controller instance (otherwise, parameter <code>oController</code> will be undefined)
|
|
663
|
-
* and the return value must be one <code>sap.ui.core.Control</code> (which could have any number of children).</li>
|
|
664
|
-
* </ul>
|
|
665
671
|
*
|
|
666
|
-
* To instantiate a JS fragment, call:
|
|
672
|
+
* To instantiate a JS fragment that is already defined, call:
|
|
667
673
|
* <pre>
|
|
668
|
-
*
|
|
674
|
+
* sap.ui.jsfragment(sId?, sFragmentName, oController?);
|
|
675
|
+
* </pre>
|
|
676
|
+
* Advanced usage:
|
|
677
|
+
* <pre>
|
|
678
|
+
* sap.ui.jsfragment(oFragmentConfig, oController?);
|
|
669
679
|
* </pre>
|
|
670
|
-
* The fragment ID is optional (generated if not given) and the fragment implementation <i>can</i> use it
|
|
671
|
-
* to make contained controls unique (this depends on the implementation: some JS fragments may choose
|
|
672
|
-
* not to support multiple instances within one application and not use the ID prefixing).
|
|
673
|
-
* The <code>sFragmentName</code> must correspond to a JS fragment which can be loaded via the module system
|
|
674
|
-
* (<code>sFragmentName</code> converted to a path + ".fragment.js" suffix) and which defines the fragment.
|
|
675
|
-
* Or it can be a name that has been used earlier to define a fragment of that name.
|
|
676
|
-
* If <code>oController</code> is given, the methods referenced in the fragment will be called on this controller.
|
|
677
|
-
* Note that fragments may require a controller to be given and certain methods to be available.
|
|
678
680
|
*
|
|
679
681
|
*
|
|
680
682
|
* @param {string|object} vName
|
|
681
|
-
*
|
|
682
|
-
* a fragment
|
|
683
|
+
* when defining a fragment: name of the fragment.<br>
|
|
684
|
+
* When loading a fragment: fragment ID (optional), fragment name, or configuration object as specified below
|
|
683
685
|
* @param {string} [vName.id]
|
|
684
|
-
* ID of the newly created fragment
|
|
685
|
-
*
|
|
686
|
-
*
|
|
687
|
-
*
|
|
688
|
-
*
|
|
689
|
-
*
|
|
690
|
-
* When
|
|
691
|
-
*
|
|
692
|
-
*
|
|
693
|
-
*
|
|
686
|
+
* ID of the newly created fragment which <i>can</i> be used as a prefix
|
|
687
|
+
* when creating the IDs in the JS fragment content. Even if an <code>id</code> is given, some JS fragments may choose
|
|
688
|
+
* not to use the ID prefixing, for example, in order to prevent the fragment from being instantiated multiple times
|
|
689
|
+
* within the lifecycle of the existing fragment
|
|
690
|
+
* @param {string} vName.fragmentName
|
|
691
|
+
* resource name of the fragment module in dot notation without the <code>.fragment.js</code> suffix from the file name.
|
|
692
|
+
* When no fragment has been defined with that name, the name will be converted
|
|
693
|
+
* to a path by replacing dots with slashes and appending <code>.fragment.js</code>. The corresponding resource to load
|
|
694
|
+
* is expected to have a fragment defined with the same <code>fragmentName</code>
|
|
695
|
+
* @param {object|string} vFragmentDefinition
|
|
696
|
+
* when defining a fragment: object holding at least the <code>createContent(oController?)</code>
|
|
697
|
+
* method that returns an instance of <code>sap.ui.core.Control</code> or an array thereof.<br>
|
|
698
|
+
* When loading a fragment and the first argument is an ID: the <code>fragmentName</code>
|
|
694
699
|
* @param {sap.ui.core.mvc.Controller|object} [oController]
|
|
695
|
-
*
|
|
700
|
+
* controller object to be used for methods or event handlers. Can be either the controller of an
|
|
696
701
|
* enclosing view, a new controller instance, or a simple object with the necessary methods attached.
|
|
697
|
-
* Note that a fragment has no runtime representation besides its contained controls.
|
|
698
|
-
* no API to retrieve the controller
|
|
702
|
+
* Note that a fragment has no runtime representation besides its contained controls. Therefore, there is
|
|
703
|
+
* no API to retrieve the controller from the return value
|
|
699
704
|
* @public
|
|
700
705
|
* @static
|
|
701
|
-
* @deprecated
|
|
702
|
-
* @return {sap.ui.core.Control|sap.ui.core.Control[]}
|
|
706
|
+
* @deprecated As of version 1.58. Refer to {@link topic:04129b2798c447368f4c8922c3c33cd7 Instantiation of Fragments}.
|
|
707
|
+
* @return {sap.ui.core.Control|sap.ui.core.Control[]} the instantiated root control(s) from the fragment content
|
|
703
708
|
* @ui5-global-only
|
|
704
709
|
*/
|
|
705
710
|
sap.ui.jsfragment = function(vName, vFragmentDefinition, oController) { // definition of a JS Fragment
|
|
@@ -737,67 +742,61 @@ function(
|
|
|
737
742
|
|
|
738
743
|
|
|
739
744
|
/**
|
|
740
|
-
*
|
|
745
|
+
* Loads and instantiates an HTML-based fragment.
|
|
741
746
|
*
|
|
742
|
-
* To instantiate a fragment, call:
|
|
747
|
+
* To instantiate a fragment that is already defined separately, call:
|
|
743
748
|
* <pre>
|
|
744
|
-
*
|
|
749
|
+
* sap.ui.htmlfragment(sId?, sFragmentName, oController?);
|
|
745
750
|
* </pre>
|
|
746
|
-
* The fragment instance ID is optional and will be used as prefix for the ID of all
|
|
747
|
-
* contained controls. If no ID is passed, controls will not be prefixed.
|
|
748
|
-
* The <code>sFragmentName</code> must correspond to an HTML fragment which can be loaded
|
|
749
|
-
* via the module system (fragmentName + ".fragment.html") and which defines the fragment.
|
|
750
|
-
* If <code>oController</code> is given, the methods referenced in the fragment will be called on this controller.
|
|
751
|
-
* Note that fragments may require a controller to be given and certain methods to be available.
|
|
752
751
|
*
|
|
753
|
-
*
|
|
754
|
-
* To instantiate a fragment and optionally directly give the HTML definition instead of loading it from a file,
|
|
755
|
-
* call:
|
|
752
|
+
* Advanced usage:
|
|
756
753
|
* <pre>
|
|
757
|
-
*
|
|
754
|
+
* sap.ui.htmlfragment(oFragmentConfig, oController?);
|
|
758
755
|
* </pre>
|
|
759
|
-
*
|
|
760
|
-
*
|
|
761
|
-
* given, <code>fragmentName</code> must be given and the fragment content definition is loaded by the module system.
|
|
762
|
-
* Again, if <code>oController</code> is given, any methods referenced in the fragment will be called on this controller.
|
|
756
|
+
* In addition to an <code>id</code>, the <code>oFragmentConfig</code> object can have either a <code>fragmentName</code>
|
|
757
|
+
* or a <code>fragmentContent</code> property, but not both.
|
|
763
758
|
*
|
|
764
|
-
* @param {string} [
|
|
765
|
-
* ID of the
|
|
766
|
-
*
|
|
767
|
-
*
|
|
768
|
-
*
|
|
769
|
-
*
|
|
770
|
-
*
|
|
771
|
-
*
|
|
772
|
-
*
|
|
773
|
-
*
|
|
774
|
-
*
|
|
775
|
-
*
|
|
776
|
-
*
|
|
759
|
+
* @param {string|object} [vId]
|
|
760
|
+
* ID of the created fragment which will be used as prefix to all contained control IDs.
|
|
761
|
+
* If the first argument is not an ID, it must be either the fragment name (<code>sFragmentName</code>)
|
|
762
|
+
* or a configuration object (<code>oFragmentConfig</code>) as specified below
|
|
763
|
+
* @param {string} [vId.id]
|
|
764
|
+
* ID of the created fragment which will be used as prefix to all contained control IDs
|
|
765
|
+
* @param {string} [vId.fragmentContent]
|
|
766
|
+
* definition of the fragment content as an HTML string that will be used
|
|
767
|
+
* instead of loading the content from a separate <code>.fragment.html</code> file.
|
|
768
|
+
* When this property is given, any given fragment name is ignored
|
|
769
|
+
* @param {string} [vId.fragmentName]
|
|
770
|
+
* resource name of the fragment module in dot notation without the <code>.fragment.html</code> suffix from the file name
|
|
771
|
+
* @param {string|sap.ui.core.mvc.Controller|object} vFragment
|
|
772
|
+
* resource name of the fragment module as specified by <code>vId.fragmentName</code> or,
|
|
773
|
+
* in the advanced usage case, an optional <code>oController</code>
|
|
777
774
|
* @param {sap.ui.core.mvc.Controller|object} [oController]
|
|
778
|
-
*
|
|
775
|
+
* controller object to be used for methods or event handlers. Can be either the controller of an
|
|
779
776
|
* enclosing view, a new controller instance, or a simple object with the necessary methods attached.
|
|
780
|
-
* Note that a fragment has no runtime representation besides its contained controls.
|
|
781
|
-
* no API to retrieve the controller
|
|
777
|
+
* Note that a fragment has no runtime representation besides its contained controls. Therefore, there is
|
|
778
|
+
* no API to retrieve the controller from the return value.
|
|
779
|
+
* Note also that fragments may require a controller to be given and certain methods to be available
|
|
782
780
|
* @public
|
|
783
781
|
* @static
|
|
784
|
-
* @deprecated
|
|
785
|
-
*
|
|
782
|
+
* @deprecated As of version 1.58. Additionally, use of fragments based on type <code>"HTML"</code> is deprecated since 1.108.
|
|
783
|
+
* If you need declarative fragments, use XML fragments instead. Refer to {@link topic:04129b2798c447368f4c8922c3c33cd7 Instantiation of Fragments}.
|
|
784
|
+
* @return {sap.ui.core.Control|sap.ui.core.Control[]} the instantiated root control(s) from the fragment content
|
|
786
785
|
* @ui5-global-only
|
|
787
786
|
*/
|
|
788
|
-
sap.ui.htmlfragment = function(
|
|
787
|
+
sap.ui.htmlfragment = function(vId, vFragment, oController) {
|
|
789
788
|
|
|
790
|
-
if (typeof (
|
|
789
|
+
if (typeof (vId) === "string") { // basic call
|
|
791
790
|
if (typeof (vFragment) === "string") { // with ID
|
|
792
|
-
return sap.ui.fragment({fragmentName: vFragment, sId:
|
|
791
|
+
return sap.ui.fragment({fragmentName: vFragment, sId: vId, type: "HTML"}, oController); // legacy-relevant
|
|
793
792
|
|
|
794
|
-
} else { // no ID,
|
|
795
|
-
return sap.ui.fragment(
|
|
793
|
+
} else { // no ID, vId is actually the name and vFragment the optional Controller
|
|
794
|
+
return sap.ui.fragment(vId, "HTML", vFragment); // legacy-relevant
|
|
796
795
|
}
|
|
797
796
|
} else { // advanced call
|
|
798
|
-
|
|
797
|
+
vId.type = "HTML";
|
|
799
798
|
// second parameter "vFragment" is the optional Controller
|
|
800
|
-
return sap.ui.fragment(
|
|
799
|
+
return sap.ui.fragment(vId, vFragment); // legacy-relevant
|
|
801
800
|
}
|
|
802
801
|
};
|
|
803
802
|
|
package/src/sap/ui/core/HTML.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* @extends sap.ui.core.Control
|
|
45
45
|
*
|
|
46
46
|
* @author SAP SE
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.132.0
|
|
48
48
|
*
|
|
49
49
|
* @public
|
|
50
50
|
* @alias sap.ui.core.HTML
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/ui/util/Storage"],
|
|
|
22
22
|
*
|
|
23
23
|
* @extends sap.ui.base.Object
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.132.0
|
|
26
26
|
* @alias sap.ui.core.History
|
|
27
27
|
* @protected
|
|
28
28
|
*/
|