@openui5/sap.ui.core 1.115.0 → 1.116.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 +18 -0
- package/.eslintrc.json +11 -0
- package/.reuse/dep5 +0 -5
- package/THIRDPARTY.txt +1 -7
- package/package.json +1 -1
- package/src/jquery.sap.global.js +1 -1
- package/src/jquery.sap.properties.js +1 -1
- package/src/jquery.sap.resources.js +1 -1
- package/src/jquery.sap.script.js +1 -1
- package/src/jquery.sap.sjax.js +2 -2
- package/src/jquery.sap.storage.js +3 -3
- package/src/sap/base/Event.js +106 -0
- package/src/sap/base/Eventing.js +320 -0
- package/src/sap/base/config.js +1 -1
- package/src/sap/base/i18n/Formatting.js +991 -0
- package/src/sap/base/i18n/LanguageTag.js +189 -0
- package/src/sap/base/i18n/Localization.js +711 -0
- package/src/sap/base/i18n/ResourceBundle.js +5 -20
- package/src/sap/base/i18n/date/CalendarType.js +54 -0
- package/src/sap/base/i18n/date/CalendarWeekNumbering.js +105 -0
- package/src/sap/base/i18n/date/TimezoneUtils.js +287 -0
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +4 -12
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +8 -12
- package/src/sap/ui/base/ManagedObjectMetadata.js +30 -7
- package/src/sap/ui/base/Metadata.js +1 -1
- package/src/sap/ui/base/Object.js +1 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/base/SyncPromise.js +10 -5
- package/src/sap/ui/core/.library +2 -2
- package/src/sap/ui/core/AccessKeysEnablement.js +10 -5
- package/src/sap/ui/core/AnimationMode.js +49 -0
- package/src/sap/ui/core/BusyIndicator.js +33 -42
- package/src/sap/ui/core/CalendarType.js +11 -37
- package/src/sap/ui/core/Component.js +4 -5
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +2 -2
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +409 -1270
- package/src/sap/ui/core/Control.js +4 -12
- package/src/sap/ui/core/ControlBehavior.js +157 -0
- package/src/sap/ui/core/Core.js +124 -132
- package/src/sap/ui/core/CustomData.js +1 -1
- package/src/sap/ui/core/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/Element.js +14 -3
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +1 -1
- package/src/sap/ui/core/EventBus.js +1 -1
- package/src/sap/ui/core/Fragment.js +1 -1
- package/src/sap/ui/core/HTML.js +1 -1
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +1 -1
- package/src/sap/ui/core/IndicationColorSupport.js +1 -1
- package/src/sap/ui/core/IntervalTrigger.js +1 -1
- package/src/sap/ui/core/InvisibleMessage.js +5 -7
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +12 -12
- package/src/sap/ui/core/Item.js +1 -1
- package/src/sap/ui/core/LabelEnablement.js +1 -1
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/Lib.js +109 -22
- package/src/sap/ui/core/ListItem.js +1 -1
- package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
- package/src/sap/ui/core/Locale.js +151 -430
- package/src/sap/ui/core/LocaleData.js +39 -11
- package/src/sap/ui/core/Manifest.js +1 -1
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/ResizeHandler.js +1 -1
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/StaticArea.js +31 -17
- package/src/sap/ui/core/Theming.js +451 -0
- package/src/sap/ui/core/Title.js +1 -1
- package/src/sap/ui/core/TooltipBase.js +1 -1
- package/src/sap/ui/core/UIArea.js +1 -1
- package/src/sap/ui/core/UIComponent.js +1 -1
- package/src/sap/ui/core/UIComponentMetadata.js +1 -1
- package/src/sap/ui/core/ValueStateSupport.js +1 -1
- package/src/sap/ui/core/VariantLayoutData.js +1 -1
- package/src/sap/ui/core/XMLComposite.js +1 -1
- package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
- package/src/sap/ui/core/XMLTemplateProcessor.js +1 -0
- package/src/sap/ui/core/_IconRegistry.js +7 -1
- package/src/sap/ui/core/date/CalendarWeekNumbering.js +12 -83
- package/src/sap/ui/core/date/UI5Date.js +2 -2
- package/src/sap/ui/core/delegate/ItemNavigation.js +8 -10
- package/src/sap/ui/core/delegate/ScrollEnablement.js +5 -5
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/format/DateFormat.js +20 -15
- package/src/sap/ui/core/format/TimezoneUtil.js +15 -273
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +3 -3
- package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
- package/src/sap/ui/core/message/Message.js +1 -1
- package/src/sap/ui/core/message/MessageManager.js +1 -1
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/messagebundle_cs.properties +1 -1
- package/src/sap/ui/core/messagebundle_cy.properties +1 -1
- package/src/sap/ui/core/messagebundle_da.properties +1 -1
- package/src/sap/ui/core/messagebundle_de.properties +1 -1
- package/src/sap/ui/core/messagebundle_el.properties +1 -1
- package/src/sap/ui/core/messagebundle_en.properties +1 -1
- package/src/sap/ui/core/messagebundle_en_GB.properties +1 -1
- package/src/sap/ui/core/messagebundle_es.properties +1 -1
- package/src/sap/ui/core/messagebundle_es_MX.properties +1 -1
- package/src/sap/ui/core/messagebundle_et.properties +1 -1
- package/src/sap/ui/core/messagebundle_id.properties +1 -1
- package/src/sap/ui/core/messagebundle_it.properties +49 -49
- package/src/sap/ui/core/messagebundle_iw.properties +1 -1
- package/src/sap/ui/core/messagebundle_kk.properties +1 -1
- package/src/sap/ui/core/messagebundle_ko.properties +1 -1
- package/src/sap/ui/core/messagebundle_lt.properties +1 -1
- package/src/sap/ui/core/messagebundle_lv.properties +1 -1
- package/src/sap/ui/core/messagebundle_ms.properties +8 -8
- package/src/sap/ui/core/messagebundle_nl.properties +1 -1
- package/src/sap/ui/core/messagebundle_no.properties +1 -1
- package/src/sap/ui/core/messagebundle_pl.properties +1 -1
- package/src/sap/ui/core/messagebundle_pt.properties +1 -1
- package/src/sap/ui/core/messagebundle_pt_PT.properties +1 -1
- package/src/sap/ui/core/messagebundle_ro.properties +1 -1
- package/src/sap/ui/core/messagebundle_sh.properties +1 -1
- package/src/sap/ui/core/messagebundle_sv.properties +1 -1
- package/src/sap/ui/core/messagebundle_th.properties +1 -1
- package/src/sap/ui/core/messagebundle_uk.properties +21 -21
- package/src/sap/ui/core/messagebundle_vi.properties +1 -1
- package/src/sap/ui/core/mvc/HTMLView.js +1 -1
- package/src/sap/ui/core/mvc/JSONView.js +1 -1
- package/src/sap/ui/core/mvc/JSView.js +1 -1
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +1 -1
- package/src/sap/ui/core/mvc/XMLView.js +1 -1
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/plugin/LessSupport.js +14 -16
- package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
- package/src/sap/ui/core/postmessage/Bus.js +1 -1
- package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
- package/src/sap/ui/core/routing/HashChanger.js +1 -0
- package/src/sap/ui/core/routing/Route.js +1 -0
- package/src/sap/ui/core/routing/Router.js +3 -1
- package/src/sap/ui/core/rules/Config.support.js +2 -2
- package/src/sap/ui/core/rules/Model.support.js +3 -1
- package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
- package/src/sap/ui/core/search/SearchProvider.js +1 -1
- package/src/sap/ui/core/service/Service.js +1 -1
- package/src/sap/ui/core/service/ServiceFactory.js +1 -1
- package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/Support.js +1 -1
- package/src/sap/ui/core/support/controls/TimelineOverview.js +1 -1
- package/src/sap/ui/core/support/plugins/ControlTree.js +2 -2
- package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
- package/src/sap/ui/core/support/plugins/Performance.js +1 -1
- package/src/sap/ui/core/support/plugins/Selector.js +1 -1
- package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
- package/src/sap/ui/core/themes/base/LocalBusyIndicator.less +4 -4
- package/src/sap/ui/core/themes/base/base.less +41 -20
- package/src/sap/ui/core/themes/base/fonts/SAP-icons.ttf +0 -0
- package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
- package/src/sap/ui/core/theming/Parameters.js +6 -5
- package/src/sap/ui/core/theming/ThemeManager.js +310 -447
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +5 -10
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
- package/src/sap/ui/core/tmpl/Template.js +1 -1
- package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
- package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
- package/src/sap/ui/core/util/Export.js +1 -1
- package/src/sap/ui/core/util/ExportCell.js +1 -1
- package/src/sap/ui/core/util/ExportColumn.js +1 -1
- package/src/sap/ui/core/util/ExportRow.js +1 -1
- package/src/sap/ui/core/util/ExportType.js +1 -1
- package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
- package/src/sap/ui/core/util/File.js +1 -1
- package/src/sap/ui/core/util/LibraryInfo.js +1 -1
- package/src/sap/ui/core/util/MockServer.js +1 -1
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +3 -1
- package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
- package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
- package/src/sap/ui/core/ws/ReadyState.js +1 -1
- package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
- package/src/sap/ui/core/ws/WebSocket.js +1 -1
- package/src/sap/ui/debug/ControlTree.js +1 -1
- package/src/sap/ui/debug/DebugEnv.js +1 -1
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/events/PseudoEvents.js +17 -9
- package/src/sap/ui/model/Binding.js +19 -15
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/CompositeBinding.js +57 -19
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/ListBinding.js +42 -1
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +5 -4
- package/src/sap/ui/model/PropertyBinding.js +10 -0
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +4 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/base/ManagedObjectModel.js +1 -1
- package/src/sap/ui/model/json/JSONModel.js +1 -1
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
- package/src/sap/ui/model/odata/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +1 -1
- package/src/sap/ui/model/odata/type/DateTime.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeBase.js +8 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
- package/src/sap/ui/model/odata/type/Decimal.js +1 -1
- package/src/sap/ui/model/odata/type/Double.js +1 -1
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +1 -1
- package/src/sap/ui/model/odata/type/Int16.js +1 -1
- package/src/sap/ui/model/odata/type/Int32.js +1 -1
- package/src/sap/ui/model/odata/type/Int64.js +1 -1
- package/src/sap/ui/model/odata/type/ODataType.js +3 -3
- package/src/sap/ui/model/odata/type/Raw.js +1 -1
- package/src/sap/ui/model/odata/type/SByte.js +1 -1
- package/src/sap/ui/model/odata/type/Single.js +1 -1
- package/src/sap/ui/model/odata/type/Stream.js +1 -1
- package/src/sap/ui/model/odata/type/String.js +1 -1
- package/src/sap/ui/model/odata/type/Time.js +1 -1
- package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
- package/src/sap/ui/model/odata/type/Unit.js +1 -1
- package/src/sap/ui/model/odata/v2/Context.js +3 -2
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataListBinding.js +14 -3
- package/src/sap/ui/model/odata/v2/ODataModel.js +45 -31
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/Context.js +7 -3
- package/src/sap/ui/model/odata/v4/ODataBinding.js +68 -39
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +12 -8
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +30 -8
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +11 -9
- package/src/sap/ui/model/odata/v4/ODataModel.js +10 -14
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +64 -31
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +21 -16
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +2 -0
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +37 -14
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +11 -1
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +7 -4
- package/src/sap/ui/model/odata/v4/lib/_V2MetadataConverter.js +4 -4
- package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +1 -1
- package/src/sap/ui/model/resource/ResourceModel.js +1 -1
- package/src/sap/ui/model/type/Boolean.js +1 -1
- package/src/sap/ui/model/type/Currency.js +1 -1
- package/src/sap/ui/model/type/Date.js +1 -1
- package/src/sap/ui/model/type/DateInterval.js +1 -1
- package/src/sap/ui/model/type/DateTime.js +1 -1
- package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
- package/src/sap/ui/model/type/FileSize.js +1 -1
- package/src/sap/ui/model/type/Float.js +1 -1
- package/src/sap/ui/model/type/Integer.js +1 -1
- package/src/sap/ui/model/type/String.js +1 -1
- package/src/sap/ui/model/type/Time.js +1 -1
- package/src/sap/ui/model/type/TimeInterval.js +1 -1
- package/src/sap/ui/model/type/Unit.js +1 -1
- package/src/sap/ui/model/xml/XMLModel.js +1 -1
- package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
- package/src/sap/ui/test/Opa5.js +1 -1
- package/src/sap/ui/test/autowaiter/_autoWaiter.js +1 -1
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/gherkin/simpleGherkinParser.js +10 -5
- package/src/sap/ui/test/matchers/LabelFor.js +1 -0
- package/src/sap/ui/thirdparty/caja-html-sanitizer.js +111 -96
- package/src/sap/ui/util/ActivityDetection.js +7 -1
- package/src/sap/ui/util/Mobile.js +11 -8
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader-autoconfig.js +5 -2
- package/src/ui5loader.js +169 -185
- package/test/sap/ui/core/FormatHelper.js +3 -2
- package/test/sap/ui/core/demokit/docuindex.json +6 -0
- package/test/sap/ui/core/demokit/sample/OpaBusyIndicator/OpaBusyIndicator.js +1 -1
- package/test/sap/ui/core/demokit/sample/OpaMatchers/OpaMatchers.js +2 -2
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/MIT.ODataTypes.html +9 -14
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/Opa.qunit.js +7 -0
- package/test/sap/ui/core/demokit/sample/common/pages/Any.js +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/DataAggregation/tests/filter.js +2 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/Component.js +27 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/ListReport.controller.js +43 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/ListReport.view.xml +47 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/Main.controller.js +27 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/Main.view.xml +7 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/NotFound.view.xml +8 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/ObjectPage.controller.js +123 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/ObjectPage.view.xml +92 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/Opa.qunit.html +27 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/Opa.qunit.js +69 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/README.html +55 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/SandboxModel.js +56 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/POST-SalesOrderList.json +66 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/SalesOrderList('0500000000')-SO_2_SOITEM.json +57 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/SalesOrderList('0500000000').json +20 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/SalesOrderList('0500000001').json +9 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/SalesOrderList('0500000007')-SO_2_BP.json +12 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/SalesOrderList.json +62 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/VH_CurrencyCode.json +85 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/VH_CurrencyCode.xml +185 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/VH_ProductID.json +93 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/VH_ProductID.xml +262 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/metadata.xml +1779 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/manifest.json +134 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/pages/Main.js +119 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/pages/Main.js +0 -41
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V2/manifest.json +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V4/manifest.json +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Main.controller.js +5 -17
- package/test/sap/ui/core/demokit/sample/odata/v4/ServerDrivenPaging/Main.view.xml +3 -3
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/test/integration/arrangements/Startup.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/test/integration/arrangements/Startup.js +1 -1
- package/test/sap/ui/core/qunit/CompositeBinding.qunit.js +25 -7
- package/test/sap/ui/core/qunit/ControlRenderer.qunit.js +86 -2
- package/test/sap/ui/core/qunit/DataState.qunit.js +2 -7
- package/test/sap/ui/core/qunit/HTML.qunit.js +31 -31
- package/test/sap/ui/core/qunit/Lib.qunit.js +55 -2
- package/test/sap/ui/core/qunit/LocalBusyIndicator.qunit.js +22 -15
- package/test/sap/ui/core/qunit/ManagedObject.qunit.js +5 -3
- package/test/sap/ui/core/qunit/Object.qunit.js +4 -1
- package/test/sap/ui/core/qunit/ThemeManager.qunit.js +2 -2
- package/test/sap/ui/core/qunit/ThemeParameters.qunit.js +9 -3
- package/test/sap/ui/core/qunit/Theming.beforeBootstrap.qunit.js +13 -0
- package/test/sap/ui/core/qunit/Theming.qunit.js +229 -0
- package/test/sap/ui/core/qunit/analytics/AnalyticalTreeBindingAdapter.qunit.js +2 -7
- package/test/sap/ui/core/qunit/analytics/ODataModelAdapter.qunit.js +2 -7
- package/test/sap/ui/core/qunit/app/MessageListBinding.qunit.js +2 -7
- package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.html +24 -0
- package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.js +275 -0
- package/test/sap/ui/core/qunit/base/i18n/Localization.qunit.js +259 -0
- package/test/sap/ui/core/qunit/base/i18n/ResourceBundle.qunit.js +5 -6
- package/test/sap/ui/core/qunit/base/security/sanitizeHTML.qunit.js +17 -0
- package/test/sap/ui/core/qunit/bootstrap/BootstrapPreload.qunit.js +1 -2
- package/test/sap/ui/core/qunit/bootstrap/BootstrapWithCustomBootTask.beforeBootstrap.qunit.js +13 -12
- package/test/sap/ui/core/qunit/bootstrap/Configuration.qunit.js +388 -254
- package/test/sap/ui/core/qunit/bootstrap/ThemeVersion.qunit.js +19 -30
- package/test/sap/ui/core/qunit/component/Models.qunit.js +7 -28
- package/test/sap/ui/core/qunit/component/Models_unavoidablySync.qunit.js +8 -26
- package/test/sap/ui/core/qunit/component/testdata/async/lib2/library-preload.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/async/lib2/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/async/lib2/library.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/async/lib3/library-preload.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/async/lib3/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/async/lib3/library.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/async/lib4/library-preload.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/async/lib4/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/async/lib4/library.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/async/manifestcomp/Component-preload.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/async/manifestcomp/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/async/mycomp/Component-preload.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/async/mycomp/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/async/mysubcomp/Component-preload.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/async/mysubcomp/Component.js +2 -3
- package/test/sap/ui/core/qunit/component/testdata/customizing/customer/ext/Component.js +0 -4
- package/test/sap/ui/core/qunit/component/testdata/customizing/customer/ext/sync/Component.js +2 -6
- package/test/sap/ui/core/qunit/component/testdata/customizing/customersub/Component.js +0 -4
- package/test/sap/ui/core/qunit/component/testdata/inherit/Component.js +2 -7
- package/test/sap/ui/core/qunit/component/testdata/inherit/parent/Component.js +2 -7
- package/test/sap/ui/core/qunit/component/testdata/inheritAsync/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsync/parentA/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsync/parentB/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsyncError/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsyncError/parentA/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsyncError/parentB/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/other/Component.js +2 -7
- package/test/sap/ui/core/qunit/component/testdata/terminologies/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component1/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component2/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component3/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component5/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/terminologies/reuse/Component.js +2 -3
- package/test/sap/ui/core/qunit/component/testdata/v1/Component.js +2 -7
- package/test/sap/ui/core/qunit/component/testdata/v1empty/Component.js +2 -7
- package/test/sap/ui/core/qunit/component/testdata/v1inline/Component.js +2 -5
- package/test/sap/ui/core/qunit/component/testdata/v1missing/Component.js +2 -7
- package/test/sap/ui/core/qunit/component/testdata/v2/Component.js +2 -5
- package/test/sap/ui/core/qunit/component/testdata/v2asyncRootView/Component.js +2 -5
- package/test/sap/ui/core/qunit/component/testdata/v2empty/Component.js +2 -9
- package/test/sap/ui/core/qunit/component/testdata/v2inline/Component.js +2 -5
- package/test/sap/ui/core/qunit/component/testdata/v2missing/Component.js +2 -9
- package/test/sap/ui/core/qunit/component/testdata/v2version/Component.js +2 -2
- package/test/sap/ui/core/qunit/dnd/DragDropInfo.qunit.js +1 -2
- package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaks.qunit.js +2 -0
- package/test/sap/ui/core/qunit/generic/legacy/DuplicateIdCheck.qunit.js +2 -0
- package/test/sap/ui/core/qunit/gherkin/dataTableUtils.qunit.js +2 -2
- package/test/sap/ui/core/qunit/i18n/Locale.qunit.js +0 -52
- package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +1 -1
- package/test/sap/ui/core/qunit/i18n/UniversalDate.qunit.js +14 -24
- package/test/sap/ui/core/qunit/i18n/testsuite.i18n.qunit.js +18 -0
- package/test/sap/ui/core/qunit/internal/1RingModels.qunit.js +1 -0
- package/test/sap/ui/core/qunit/json/JSONListBinding.qunit.js +2 -7
- package/test/sap/ui/core/qunit/json/JSONPropertyBinding.qunit.js +7 -12
- package/test/sap/ui/core/qunit/json/JSONTwoWay.qunit.js +3 -8
- package/test/sap/ui/core/qunit/loader/fixture/amd-with-export-true/module1.js +2 -2
- package/test/sap/ui/core/qunit/messages/MessageMixin.qunit.js +2 -7
- package/test/sap/ui/core/qunit/messages/messagesUsage.qunit.js +1 -1
- package/test/sap/ui/core/qunit/model/Binding.qunit.js +36 -11
- package/test/sap/ui/core/qunit/model/ClientListBinding.qunit.js +2 -7
- package/test/sap/ui/core/qunit/model/ClientTreeBinding.qunit.js +2 -7
- package/test/sap/ui/core/qunit/model/CompositeDataState.qunit.js +2 -7
- package/test/sap/ui/core/qunit/model/Context.qunit.js +2 -7
- package/test/sap/ui/core/qunit/model/ContextBinding.qunit.js +2 -7
- package/test/sap/ui/core/qunit/model/ListBinding.qunit.js +63 -6
- package/test/sap/ui/core/qunit/model/Model.qunit.js +2 -7
- package/test/sap/ui/core/qunit/model/PropertyBinding.qunit.js +40 -0
- package/test/sap/ui/core/qunit/model/TreeBinding.qunit.js +2 -7
- package/test/sap/ui/core/qunit/model/TreeBindingAdapter.qunit.js +2 -7
- package/test/sap/ui/core/qunit/mvc/XMLView.qunit.js +9 -8
- package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions.qunit.js +4 -4
- package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions_legacy.qunit.js +4 -4
- package/test/sap/ui/core/qunit/odata/AnnotationParserNoFakeService.qunit.js +2 -7
- package/test/sap/ui/core/qunit/odata/ODataMessageParser.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/ODataMessageParserNoFakeService.qunit.js +2 -8
- package/test/sap/ui/core/qunit/odata/ODataMetadataNoFakeService.qunit.js +1 -6
- package/test/sap/ui/core/qunit/odata/type/DateTimeBase.qunit.js +24 -0
- package/test/sap/ui/core/qunit/odata/v2/Context.qunit.js +2 -7
- package/test/sap/ui/core/qunit/odata/v2/ODataContextBindingNoFakeService.qunit.js +2 -7
- package/test/sap/ui/core/qunit/odata/v2/ODataListBindingNoFakeService.qunit.js +31 -17
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +28 -19
- package/test/sap/ui/core/qunit/odata/v2/ODataModelNoFakeService.qunit.js +70 -15
- package/test/sap/ui/core/qunit/odata/v2/ODataPropertyBindingNoFakeService.qunit.js +2 -7
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingFlatNoFakeService.qunit.js +4 -9
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingNoFakeService.qunit.js +2 -7
- package/test/sap/ui/core/qunit/odata/v2/_CreatedContextsCache.qunit.js +2 -7
- package/test/sap/ui/core/qunit/odata/v4/AnnotationHelper.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +45 -17
- package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +152 -151
- package/test/sap/ui/core/qunit/odata/v4/ODataContextBinding.qunit.js +55 -27
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +119 -4
- package/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js +3 -3
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +754 -195
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +42 -53
- package/test/sap/ui/core/qunit/odata/v4/ODataParentBinding.qunit.js +283 -170
- package/test/sap/ui/core/qunit/odata/v4/ODataPropertyBinding.qunit.js +103 -78
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +3 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +87 -58
- package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +3 -1
- package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +124 -22
- package/test/sap/ui/core/qunit/odata/v4/testsuite.odatav4.qunit.js +4 -0
- package/test/sap/ui/core/qunit/opa/_LogCollector.qunit.js +1 -1
- package/test/sap/ui/core/qunit/performance/trace/FESR.qunit.js +5 -0
- package/test/sap/ui/core/qunit/resource/ResourceModel.qunit.js +17 -37
- package/test/sap/ui/core/qunit/routing/HashChanger.qunit.js +1 -6
- package/test/sap/ui/core/qunit/routing/RouterHashChanger.qunit.js +1 -10
- package/test/sap/ui/core/qunit/routing/async/Router.qunit.js +1 -22
- package/test/sap/ui/core/qunit/routing/async/Target.qunit.js +1 -4
- package/test/sap/ui/core/qunit/rule/model/modelSupport.qunit.js +34 -1
- package/test/sap/ui/core/qunit/testdata/fastnavigation/view/FastNavigation.view.xml +2 -2
- package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib1/i18n.properties +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib1/library.js +10 -0
- package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib1/manifest.json +10 -0
- package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib2/library.js +10 -0
- package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib2/messagebundle.properties +1 -0
- package/test/sap/ui/core/qunit/testsuites/testsuite.databinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/testsuites/testsuite.theming.qunit.js +29 -0
- package/test/sap/ui/core/qunit/types/DateFormatTimezones.qunit.js +397 -607
- package/test/sap/ui/core/qunit/types/SimpleType.qunit.js +16 -2
- package/test/sap/ui/core/qunit/types/Types.qunit.js +2 -37
- package/test/sap/ui/core/qunit/types/testsuite.types.qunit.js +1 -1
- package/test/sap/ui/core/qunit/util/SyncPromise.qunit.js +4 -1
- package/test/sap/ui/core/qunit/util/jQuery.sap.measure.qunit.js +16 -11
- package/test/sap/ui/core/qunit/xml/XMLListBinding.qunit.js +1 -3
- package/test/sap/ui/core/qunit/xml/XMLModel.qunit.js +4 -14
- package/test/sap/ui/core/qunit/xml/XMLPropertyBinding.qunit.js +7 -11
- package/test/sap/ui/core/qunit/xml/XMLTreeBinding.qunit.js +1 -1
- package/test/sap/ui/core/qunit/xml/XMLTwoWay.qunit.js +3 -7
- package/test/sap/ui/core/relnotes/changes-1.115.json +1 -37
- package/test/sap/ui/core/relnotes/changes-1.116.json +82 -0
- package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/firstItem-contextMenu.ref.lnk +1 -1
- package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/initial.ref.lnk +1 -1
- package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/lastItem-contextMenu.ref.lnk +1 -1
- package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/leftDownBtn-contextMenu.ref.lnk +1 -1
- package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/myButtonSample-contextMenu.ref.lnk +1 -1
- package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/rightDownBtn-contextMenu.ref.lnk +1 -1
- package/test/testsuite/js/samples.js +2 -0
- package/ui5.yaml +1 -1
package/.dtsgenrc
CHANGED
|
@@ -225,6 +225,24 @@
|
|
|
225
225
|
]
|
|
226
226
|
}
|
|
227
227
|
]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "sap.ui.test.Opa",
|
|
231
|
+
"properties": [
|
|
232
|
+
{
|
|
233
|
+
"name": "and",
|
|
234
|
+
"type": "Omit<this, \"and\">"
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "sap.ui.test.Opa5",
|
|
240
|
+
"properties": [
|
|
241
|
+
{
|
|
242
|
+
"name": "and",
|
|
243
|
+
"type": "Omit<this, \"and\">"
|
|
244
|
+
}
|
|
245
|
+
]
|
|
228
246
|
}
|
|
229
247
|
]
|
|
230
248
|
}
|
package/.eslintrc.json
CHANGED
package/.reuse/dep5
CHANGED
|
@@ -457,11 +457,6 @@ Comment: these files belong to: UI5 Web Components
|
|
|
457
457
|
|
|
458
458
|
# Outside of Libraries:
|
|
459
459
|
|
|
460
|
-
Files: src/testsuite-utils/src/main/resources/META-INF/less/less.js
|
|
461
|
-
Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
|
|
462
|
-
License: Apache-2.0
|
|
463
|
-
Comment: these files belong to: LESS
|
|
464
|
-
|
|
465
460
|
Files: lib/jsdoc/ui5/plugin.js
|
|
466
461
|
Copyright:
|
|
467
462
|
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
package/THIRDPARTY.txt
CHANGED
|
@@ -460,19 +460,13 @@ Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/*.*
|
|
|
460
460
|
|
|
461
461
|
Outside of Libraries:
|
|
462
462
|
|
|
463
|
-
Component: LESS, version: 1.6.3
|
|
464
|
-
Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
|
|
465
|
-
License: Apache-2.0
|
|
466
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
467
|
-
Contained in: src/testsuite-utils/src/main/resources/META-INF/less/less.js
|
|
468
|
-
|
|
469
463
|
Component: JSDoc 3, version: 3.6.7
|
|
470
464
|
Copyright: 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
|
|
471
465
|
License: Apache-2.0
|
|
472
466
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
473
467
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
474
468
|
|
|
475
|
-
Component: SAP Theming Base Content, version: 11.
|
|
469
|
+
Component: SAP Theming Base Content, version: 11.4.2
|
|
476
470
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
477
471
|
License: Apache-2.0
|
|
478
472
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
package/src/jquery.sap.global.js
CHANGED
|
@@ -67,7 +67,7 @@ sap.ui.define(['jquery.sap.global', 'sap/base/util/Properties'],
|
|
|
67
67
|
* {@link #setProperty} to store or change a value for a key and {@link #getKeys}
|
|
68
68
|
* can be used to retrieve an array of all keys that are currently stored in the collection.
|
|
69
69
|
*
|
|
70
|
-
* @version 1.
|
|
70
|
+
* @version 1.116.0
|
|
71
71
|
* @since 0.9.0
|
|
72
72
|
* @name jQuery.sap.util.Properties
|
|
73
73
|
* @public
|
package/src/jquery.sap.script.js
CHANGED
|
@@ -267,7 +267,7 @@ sap.ui.define([
|
|
|
267
267
|
* Use {@link jQuery.sap.getUriParameters} to create an instance of jQuery.sap.util.UriParameters.
|
|
268
268
|
*
|
|
269
269
|
* @author SAP SE
|
|
270
|
-
* @version 1.
|
|
270
|
+
* @version 1.116.0
|
|
271
271
|
* @since 0.9.0
|
|
272
272
|
* @name jQuery.sap.util.UriParameters
|
|
273
273
|
* @public
|
package/src/jquery.sap.sjax.js
CHANGED
|
@@ -54,6 +54,8 @@ sap.ui.define(['jquery.sap.global'],
|
|
|
54
54
|
*/
|
|
55
55
|
jQuery.sap.sjax = function sjax(oOrigSettings) {
|
|
56
56
|
|
|
57
|
+
var oResult;
|
|
58
|
+
|
|
57
59
|
var s = jQuery.extend(true, {}, jQuery.sap.sjaxSettings, oOrigSettings,
|
|
58
60
|
|
|
59
61
|
// the following settings are enforced as this is the rightmost object in the extend call
|
|
@@ -68,8 +70,6 @@ sap.ui.define(['jquery.sap.global'],
|
|
|
68
70
|
}
|
|
69
71
|
});
|
|
70
72
|
|
|
71
|
-
var oResult;
|
|
72
|
-
|
|
73
73
|
jQuery.ajax(s);
|
|
74
74
|
|
|
75
75
|
if (!s.complexResult) {
|
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
* @param {string} [sIdPrefix] Prefix used for the Ids. If not set a default prefix is used.
|
|
38
38
|
* @returns {jQuery.sap.storage.Storage}
|
|
39
39
|
*
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.116.0
|
|
41
41
|
* @since 0.11.0
|
|
42
42
|
* @namespace
|
|
43
43
|
* @public
|
|
@@ -97,7 +97,7 @@ sap.ui.define([
|
|
|
97
97
|
* should be deleted the method {@link #removeAll} should be used.
|
|
98
98
|
*
|
|
99
99
|
* @author SAP SE
|
|
100
|
-
* @version 1.
|
|
100
|
+
* @version 1.116.0
|
|
101
101
|
* @since 0.11.0
|
|
102
102
|
* @public
|
|
103
103
|
* @name jQuery.sap.storage.Storage
|
|
@@ -201,7 +201,7 @@ sap.ui.define([
|
|
|
201
201
|
* Enumeration of the storage types supported by {@link jQuery.sap.storage.Storage}
|
|
202
202
|
* @enum {string}
|
|
203
203
|
* @public
|
|
204
|
-
* @version 1.
|
|
204
|
+
* @version 1.116.0
|
|
205
205
|
* @since 0.11.0
|
|
206
206
|
*/
|
|
207
207
|
jQuery.sap.storage.Type = Storage.Type;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
// Provides class sap.base.Event
|
|
7
|
+
sap.ui.define(["sap/base/assert"],
|
|
8
|
+
function(assert) {
|
|
9
|
+
"use strict";
|
|
10
|
+
|
|
11
|
+
var EVENT_PARAMETERS_SYMBOL = Symbol("parameters");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @class Creates an event with the given <code>sType</code>, linked to the provided <code>oTarget</code> and enriched with the <code>oParameters</code>.
|
|
16
|
+
*
|
|
17
|
+
* @param {string} sType The type of the event
|
|
18
|
+
* @param {sap.base.Eventing} oTarget Target of the event
|
|
19
|
+
* @param {object} oParameters Parameters for this event. The parameters will be accessible as properties of the Event instance.
|
|
20
|
+
*
|
|
21
|
+
* @author SAP SE
|
|
22
|
+
* @version 1.116.0
|
|
23
|
+
* @alias module:sap/base/Event
|
|
24
|
+
* @private
|
|
25
|
+
* @ui5-restricted sap.ui.core
|
|
26
|
+
*/
|
|
27
|
+
var Event = function(sType, oTarget, oParameters) {
|
|
28
|
+
if (arguments.length > 0) {
|
|
29
|
+
/**
|
|
30
|
+
*The type of the event
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @private
|
|
33
|
+
* @ui5-restricted sap.ui.core
|
|
34
|
+
*/
|
|
35
|
+
this.type = sType;
|
|
36
|
+
/**
|
|
37
|
+
* The target of the event
|
|
38
|
+
* @type {object}
|
|
39
|
+
* @private
|
|
40
|
+
* @ui5-restricted sap.ui.core
|
|
41
|
+
*/
|
|
42
|
+
this.target = oTarget;
|
|
43
|
+
/**
|
|
44
|
+
* Stop propagation of the event.
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @private
|
|
47
|
+
* @ui5-restricted sap.ui.core
|
|
48
|
+
*/
|
|
49
|
+
this.bStopPropagation = false;
|
|
50
|
+
/**
|
|
51
|
+
* Prevent the default action of this event.
|
|
52
|
+
* @type {object}
|
|
53
|
+
* @private
|
|
54
|
+
* @ui5-restricted sap.ui.core
|
|
55
|
+
*/
|
|
56
|
+
this.bPreventDefault = false;
|
|
57
|
+
|
|
58
|
+
//copy & freeze parameters
|
|
59
|
+
for (var param in oParameters) {
|
|
60
|
+
this[param] = oParameters[param];
|
|
61
|
+
Object.defineProperty(this, param, { configurable: false, writable: false });
|
|
62
|
+
}
|
|
63
|
+
this[EVENT_PARAMETERS_SYMBOL] = oParameters;
|
|
64
|
+
|
|
65
|
+
Object.defineProperty(this, "type", { configurable: false, writable: false });
|
|
66
|
+
Object.defineProperty(this, "target", { configurable: false, writable: false });
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Prevent the default action of this event.
|
|
72
|
+
*
|
|
73
|
+
* <b>Note:</b> This function only has an effect if preventing the default action of the event is supported by the event source.
|
|
74
|
+
*
|
|
75
|
+
* @private
|
|
76
|
+
* @ui5-restricted sap.ui.core
|
|
77
|
+
*/
|
|
78
|
+
Event.prototype.preventDefault = function() {
|
|
79
|
+
this.bPreventDefault = true;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Stop propagation of the event.
|
|
84
|
+
*
|
|
85
|
+
* <b>Note:</b> This function only has an effect if the propagation of the event is supported by the event source.
|
|
86
|
+
*
|
|
87
|
+
* @private
|
|
88
|
+
* @ui5-restricted sap.ui.core
|
|
89
|
+
*/
|
|
90
|
+
Event.prototype.stopPropagation = function() {
|
|
91
|
+
this.bStopPropagation = true;
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Returns the event parameters as map
|
|
96
|
+
* @param {sap.base.Event} oEvent The event object to retrieve the parameters
|
|
97
|
+
* @returns {object} Map of event parameters
|
|
98
|
+
* @private
|
|
99
|
+
* @ui5-restricted sap/base/i18n sap.ui.core
|
|
100
|
+
*/
|
|
101
|
+
Event.getParameters = function(oEvent) {
|
|
102
|
+
return oEvent[EVENT_PARAMETERS_SYMBOL];
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
return Event;
|
|
106
|
+
});
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Provides mixin sap/base/Eventing
|
|
8
|
+
sap.ui.define([
|
|
9
|
+
"sap/base/assert",
|
|
10
|
+
"sap/base/Event"
|
|
11
|
+
], function(
|
|
12
|
+
assert,
|
|
13
|
+
Event
|
|
14
|
+
) {
|
|
15
|
+
"use strict";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Eventing mixin
|
|
19
|
+
*
|
|
20
|
+
* @author SAP SE
|
|
21
|
+
* @version 1.116.0
|
|
22
|
+
* @param {sap.base.Event} fnEventClass The Event class
|
|
23
|
+
* @mixin module:sap/base/Eventing
|
|
24
|
+
* @private
|
|
25
|
+
* @ui5-restricted sap.ui.core sap/base/i18n sap/ui/base/EventProvider
|
|
26
|
+
*/
|
|
27
|
+
var Eventing = function(fnEventClass) {
|
|
28
|
+
this.fnEventClass = fnEventClass || Event;
|
|
29
|
+
this.attachEvent = attachEvent;
|
|
30
|
+
this.attachEventOnce = attachEventOnce;
|
|
31
|
+
this.detachEvent = detachEvent;
|
|
32
|
+
this.fireEvent = fireEvent;
|
|
33
|
+
this.hasListeners = hasListeners;
|
|
34
|
+
this.getEventingParent = getEventingParent;
|
|
35
|
+
if (this.destroy) {
|
|
36
|
+
var fnOrigDestroy = this.destroy;
|
|
37
|
+
this.destroy = function() {
|
|
38
|
+
fnOrigDestroy.apply(this, arguments);
|
|
39
|
+
destroy();
|
|
40
|
+
};
|
|
41
|
+
} else {
|
|
42
|
+
this.destroy = destroy;
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Attaches an event handler to the event with the given identifier.
|
|
48
|
+
*
|
|
49
|
+
* @param {string}
|
|
50
|
+
* sType The type of the event to listen for
|
|
51
|
+
* @param {function}
|
|
52
|
+
* fnFunction The handler function to call when the event occurs. The event
|
|
53
|
+
* object ({@link module:sap/base/Event}) is provided as first argument of the handler. Handlers must not change
|
|
54
|
+
* the content of the event.
|
|
55
|
+
* @param {object}
|
|
56
|
+
* [oData] An object that will be passed to the handler along with the event object when the event is fired
|
|
57
|
+
* @returns {this} Returns <code>this</code> to allow method chaining
|
|
58
|
+
* @name module:sap/base/Eventing#attachEvent
|
|
59
|
+
* @function
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
function attachEvent(sType, fnFunction, oData) {
|
|
63
|
+
this.mEventRegistry = this.mEventRegistry || {};
|
|
64
|
+
assert(typeof (sType) === "string" && sType, "Eventing.attachEvent: sType must be a non-empty string");
|
|
65
|
+
assert(typeof (fnFunction) === "function", "Eventing.attachEvent: fnFunction must be a function");
|
|
66
|
+
|
|
67
|
+
var aEventListeners = this.mEventRegistry[sType];
|
|
68
|
+
if ( !Array.isArray(aEventListeners) ) {
|
|
69
|
+
aEventListeners = this.mEventRegistry[sType] = [];
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
aEventListeners.push({fnFunction: fnFunction, oData: oData});
|
|
73
|
+
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Attaches an event handler, called one time only, to the event with the given identifier.
|
|
79
|
+
*
|
|
80
|
+
* When the event occurs, the handler function is called and the handler registration is automatically removed afterwards.
|
|
81
|
+
*
|
|
82
|
+
* @param {string}
|
|
83
|
+
* sType The type of the event to listen for
|
|
84
|
+
* @param {function}
|
|
85
|
+
* fnFunction The handler function to call when the event occurs. The event
|
|
86
|
+
* object ({@link module:sap/base/Event}) is provided as first argument of the handler. Handlers must not change
|
|
87
|
+
* the content of the event.
|
|
88
|
+
* @param {object}
|
|
89
|
+
* [oData] An object that will be passed to the handler along with the event object when the event is fired
|
|
90
|
+
* @returns {this} Returns <code>this</code> to allow method chaining
|
|
91
|
+
* @name module:sap/base/Eventing#attachEventOnce
|
|
92
|
+
* @function
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
function attachEventOnce(sType, fnFunction, oData) {
|
|
96
|
+
var fnOnce = function() {
|
|
97
|
+
this.detachEvent(sType, fnOnce);
|
|
98
|
+
fnFunction.apply(this, arguments); // needs to do the same resolution as in fireEvent
|
|
99
|
+
};
|
|
100
|
+
fnOnce.oOriginal = {
|
|
101
|
+
fnFunction: fnFunction,
|
|
102
|
+
oData: oData
|
|
103
|
+
};
|
|
104
|
+
this.attachEvent(sType, fnOnce, oData);
|
|
105
|
+
return this;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Removes a previously attached event handler from the event with the given identifier.
|
|
110
|
+
*
|
|
111
|
+
* The passed parameters must match those used for registration with {@link #attachEvent} beforehand.
|
|
112
|
+
*
|
|
113
|
+
* @param {string}
|
|
114
|
+
* sType The type of the event to detach from
|
|
115
|
+
* @param {function}
|
|
116
|
+
* fnFunction The handler function to detach from the event
|
|
117
|
+
* @returns {this} Returns <code>this</code> to allow method chaining
|
|
118
|
+
* @name module:sap/base/Eventing#detachEvent
|
|
119
|
+
* @function
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
function detachEvent(sType, fnFunction) {
|
|
123
|
+
this.mEventRegistry = this.mEventRegistry || {};
|
|
124
|
+
assert(typeof (sType) === "string" && sType, "Eventing.detachEvent: sType must be a non-empty string" );
|
|
125
|
+
assert(typeof (fnFunction) === "function", "Eventing.detachEvent: fnFunction must be a function");
|
|
126
|
+
|
|
127
|
+
var aEventListeners = this.mEventRegistry[sType];
|
|
128
|
+
if ( !Array.isArray(aEventListeners) ) {
|
|
129
|
+
return this;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
var oFound, oOriginal;
|
|
133
|
+
|
|
134
|
+
for (var i = 0, iL = aEventListeners.length; i < iL; i++) {
|
|
135
|
+
if (aEventListeners[i].fnFunction === fnFunction) {
|
|
136
|
+
oFound = aEventListeners[i];
|
|
137
|
+
aEventListeners.splice(i,1);
|
|
138
|
+
break;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
// If no listener was found, look for original listeners of attachEventOnce
|
|
142
|
+
if (!oFound) {
|
|
143
|
+
for (var i = 0, iL = aEventListeners.length; i < iL; i++) {
|
|
144
|
+
oOriginal = aEventListeners[i].fnFunction.oOriginal;
|
|
145
|
+
if (oOriginal && oOriginal.fnFunction === fnFunction) {
|
|
146
|
+
oFound = oOriginal;
|
|
147
|
+
aEventListeners.splice(i,1);
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
// If we just deleted the last registered EventHandler, remove the whole entry from our map.
|
|
153
|
+
if (aEventListeners.length == 0) {
|
|
154
|
+
delete this.mEventRegistry[sType];
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
return this;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Fires an {@link module:sap/base/Event event} with the given settings and notifies all attached event handlers.
|
|
162
|
+
*
|
|
163
|
+
* @param {string}
|
|
164
|
+
* sType The type of the event to fire
|
|
165
|
+
* @param {object}
|
|
166
|
+
* [oParameters] Parameters which should be carried by the event
|
|
167
|
+
* @param {boolean}
|
|
168
|
+
* [bAllowPreventDefault] Defines whether function <code>preventDefault</code> is supported on the fired event
|
|
169
|
+
* @param {boolean}
|
|
170
|
+
* [bEnableEventBubbling] Defines whether event bubbling is enabled on the fired event. Set to <code>true</code> the event is also forwarded to the parent(s)
|
|
171
|
+
* of the event provider ({@link #getEventingParent}) until the bubbling of the event is stopped or no parent is available anymore.
|
|
172
|
+
* @return {this|boolean} Returns <code>this</code> to allow method chaining. When <code>preventDefault</code> is supported on the fired event
|
|
173
|
+
* the function returns <code>true</code> if the default action should be executed, <code>false</code> otherwise.
|
|
174
|
+
* @name module:sap/base/Eventing#fireEvent
|
|
175
|
+
* @function
|
|
176
|
+
* @protected
|
|
177
|
+
*/
|
|
178
|
+
function fireEvent(sType, oParameters, bAllowPreventDefault, bEnableEventBubbling) {
|
|
179
|
+
|
|
180
|
+
// get optional parameters right
|
|
181
|
+
if (typeof oParameters === "boolean") {
|
|
182
|
+
bEnableEventBubbling = bAllowPreventDefault;
|
|
183
|
+
bAllowPreventDefault = oParameters;
|
|
184
|
+
}
|
|
185
|
+
/* eslint-disable consistent-this */
|
|
186
|
+
var oProvider = this,
|
|
187
|
+
/* eslint-enable consistent-this */
|
|
188
|
+
bPreventDefault = false,
|
|
189
|
+
aEventListeners, oEvent, i, iL, oInfo;
|
|
190
|
+
|
|
191
|
+
do {
|
|
192
|
+
oProvider.mEventRegistry = oProvider.mEventRegistry || {};
|
|
193
|
+
aEventListeners = oProvider.mEventRegistry[sType];
|
|
194
|
+
|
|
195
|
+
if ( Array.isArray(aEventListeners) ) {
|
|
196
|
+
|
|
197
|
+
// avoid issues with 'concurrent modification' (e.g. if an event listener unregisters itself).
|
|
198
|
+
aEventListeners = aEventListeners.slice();
|
|
199
|
+
oEvent = new oProvider.fnEventClass(sType, this, oParameters);
|
|
200
|
+
|
|
201
|
+
for (i = 0, iL = aEventListeners.length; i < iL; i++) {
|
|
202
|
+
oInfo = aEventListeners[i];
|
|
203
|
+
oInfo.fnFunction.call(oProvider, oEvent, oInfo.oData);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
bEnableEventBubbling = bEnableEventBubbling && !oEvent.bCancelBubble;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
oProvider = oProvider.getEventingParent();
|
|
210
|
+
|
|
211
|
+
} while (bEnableEventBubbling && oProvider);
|
|
212
|
+
|
|
213
|
+
if ( oEvent ) {
|
|
214
|
+
// remember 'prevent default' state before returning event to the pool
|
|
215
|
+
bPreventDefault = oEvent.bPreventDefault;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
// return 'execute default' flag only when 'prevent default' has been enabled, otherwise return 'this' (for compatibility)
|
|
219
|
+
return bAllowPreventDefault ? !bPreventDefault : this;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Returns whether there are any registered event handlers for the event with the given identifier.
|
|
224
|
+
*
|
|
225
|
+
* @param {string} sType The type of the event
|
|
226
|
+
* @return {boolean} Whether there are any registered event handlers
|
|
227
|
+
* @name module:sap/base/Eventing#hasListeners
|
|
228
|
+
* @function
|
|
229
|
+
* @protected
|
|
230
|
+
*/
|
|
231
|
+
function hasListeners(sType) {
|
|
232
|
+
return !!(this.mEventRegistry && this.mEventRegistry[sType]);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Returns the list of events currently having listeners attached.
|
|
237
|
+
*
|
|
238
|
+
* Introduced for lightspeed support to ensure that only relevant events are attached to the LS-world.
|
|
239
|
+
*
|
|
240
|
+
* This is a static method to avoid the pollution of the Element/Control namespace.
|
|
241
|
+
* As the callers are limited and known and for performance reasons the internal event registry
|
|
242
|
+
* is returned. It contains more information than necessary, but needs no expensive conversion.
|
|
243
|
+
*
|
|
244
|
+
* @param {sap.base.Eventing} oEventing The event provider to get the registered events for
|
|
245
|
+
* @return {object} the list of events currently having listeners attached
|
|
246
|
+
* @name module:sap/base/Eventing.getEventList
|
|
247
|
+
* @function
|
|
248
|
+
* @private
|
|
249
|
+
* @static
|
|
250
|
+
*/
|
|
251
|
+
Eventing.getEventList = function(oEventing) {
|
|
252
|
+
return oEventing.mEventRegistry || {};
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Checks whether the given event provider has the given listener registered for the given event.
|
|
257
|
+
*
|
|
258
|
+
* Returns true if function and listener object both match the corresponding parameters of
|
|
259
|
+
* at least one listener registered for the named event.
|
|
260
|
+
*
|
|
261
|
+
* @param {sap.base.Eventing}
|
|
262
|
+
* oEventing The event provider to get the registered events for
|
|
263
|
+
* @param {string}
|
|
264
|
+
* sType The type of the event to check listeners for
|
|
265
|
+
* @param {function}
|
|
266
|
+
* fnFunction The handler function to check for
|
|
267
|
+
* @return {boolean} Returns whether a listener with the same parameters exists
|
|
268
|
+
* @name module:sap/base/Eventing.hasListener
|
|
269
|
+
* @function
|
|
270
|
+
* @private
|
|
271
|
+
* @ui5-restricted sap/base, sap.ui.core
|
|
272
|
+
*/
|
|
273
|
+
Eventing.hasListener = function(oEventing, sType, fnFunction) {
|
|
274
|
+
assert(typeof (sType) === "string" && sType, "Eventing.hasListener: sType must be a non-empty string" );
|
|
275
|
+
assert(typeof (fnFunction) === "function", "Eventing.hasListener: fnFunction must be a function");
|
|
276
|
+
|
|
277
|
+
var aEventListeners = oEventing && oEventing.mEventRegistry[sType];
|
|
278
|
+
if ( aEventListeners ) {
|
|
279
|
+
for (var i = 0, iL = aEventListeners.length; i < iL; i++) {
|
|
280
|
+
if (aEventListeners[i].fnFunction === fnFunction) {
|
|
281
|
+
return true;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
return false;
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Returns the parent in the Eventing hierarchy of this object.
|
|
291
|
+
*
|
|
292
|
+
* Per default this returns null, but if Eventing is used in objects, which are hierarchically
|
|
293
|
+
* structured, this can be overwritten to make the object hierarchy visible to the Eventing and
|
|
294
|
+
* enables the use of event bubbling within this object hierarchy.
|
|
295
|
+
*
|
|
296
|
+
* @return {sap.base.Eventing|null} The parent event provider
|
|
297
|
+
* @name module:sap/base/Eventing#getEventingParent
|
|
298
|
+
* @function
|
|
299
|
+
* @protected
|
|
300
|
+
*/
|
|
301
|
+
function getEventingParent() {
|
|
302
|
+
return null;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Cleans up the internal structures and removes all event handlers.
|
|
307
|
+
*
|
|
308
|
+
* The object must not be used anymore after destroy was called.
|
|
309
|
+
*
|
|
310
|
+
* @see sap.base.Object#destroy
|
|
311
|
+
* @name module:sap/base/Eventing#destroy
|
|
312
|
+
* @function
|
|
313
|
+
* @public
|
|
314
|
+
*/
|
|
315
|
+
function destroy() {
|
|
316
|
+
this.mEventRegistry = {};
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
return Eventing;
|
|
320
|
+
});
|