@openui5/sap.ui.core 1.108.19 → 1.108.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +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.storage.js +3 -3
- 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 +1 -1
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +1 -1
- package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
- 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/core/.library +1 -7
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +60 -42
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +1 -1
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +1 -1
- package/src/sap/ui/core/Control.js +1 -1
- package/src/sap/ui/core/Core.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +1 -1
- 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/ListItem.js +1 -1
- package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
- package/src/sap/ui/core/Locale.js +1 -1
- package/src/sap/ui/core/LocaleData.js +1 -1
- 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 +15 -19
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- 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/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
- 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/TimezoneUtil.js +1 -1
- 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_ar.properties +6 -6
- package/src/sap/ui/core/messagebundle_bg.properties +13 -13
- package/src/sap/ui/core/messagebundle_ca.properties +6 -6
- package/src/sap/ui/core/messagebundle_cs.properties +2 -2
- package/src/sap/ui/core/messagebundle_cy.properties +2 -2
- package/src/sap/ui/core/messagebundle_da.properties +4 -4
- package/src/sap/ui/core/messagebundle_de.properties +2 -2
- package/src/sap/ui/core/messagebundle_el.properties +9 -9
- package/src/sap/ui/core/messagebundle_es.properties +8 -8
- package/src/sap/ui/core/messagebundle_et.properties +9 -9
- package/src/sap/ui/core/messagebundle_fi.properties +2 -2
- package/src/sap/ui/core/messagebundle_fr.properties +43 -43
- package/src/sap/ui/core/messagebundle_hi.properties +1 -1
- package/src/sap/ui/core/messagebundle_hr.properties +11 -11
- package/src/sap/ui/core/messagebundle_hu.properties +7 -7
- package/src/sap/ui/core/messagebundle_id.properties +4 -4
- package/src/sap/ui/core/messagebundle_it.properties +30 -30
- package/src/sap/ui/core/messagebundle_ja.properties +31 -31
- package/src/sap/ui/core/messagebundle_kk.properties +15 -15
- package/src/sap/ui/core/messagebundle_ko.properties +25 -25
- package/src/sap/ui/core/messagebundle_lt.properties +3 -3
- package/src/sap/ui/core/messagebundle_lv.properties +13 -13
- package/src/sap/ui/core/messagebundle_ms.properties +23 -23
- package/src/sap/ui/core/messagebundle_nl.properties +22 -22
- package/src/sap/ui/core/messagebundle_no.properties +9 -9
- package/src/sap/ui/core/messagebundle_pl.properties +6 -6
- package/src/sap/ui/core/messagebundle_pt.properties +8 -8
- package/src/sap/ui/core/messagebundle_ro.properties +11 -11
- package/src/sap/ui/core/messagebundle_ru.properties +24 -24
- package/src/sap/ui/core/messagebundle_sk.properties +1 -1
- package/src/sap/ui/core/messagebundle_sl.properties +12 -12
- package/src/sap/ui/core/messagebundle_sv.properties +4 -4
- package/src/sap/ui/core/messagebundle_th.properties +8 -8
- package/src/sap/ui/core/messagebundle_tr.properties +4 -4
- package/src/sap/ui/core/messagebundle_uk.properties +6 -6
- package/src/sap/ui/core/messagebundle_vi.properties +3 -3
- package/src/sap/ui/core/messagebundle_zh_TW.properties +49 -49
- 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 +1 -1
- 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/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/plugins/ControlTree.js +1 -1
- 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/base.less +275 -269
- package/src/sap/ui/core/themes/base/global.less +16 -16
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
- 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/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 +15 -6
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/model/ClientModel.js +1 -1
- 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/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +1 -1
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +1 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/Type.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 +1 -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 +1 -1
- 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 +1 -1
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataListBinding.js +78 -44
- package/src/sap/ui/model/odata/v2/ODataModel.js +2 -3
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/Context.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataBinding.js +17 -2
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +9 -5
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +4 -7
- 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/performance/BeaconRequest.js +8 -10
- 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/generic/TestBase.js +1 -1
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader-autoconfig.js +0 -4
- package/src/sap/ui/thirdparty/mobify-carousel.js +0 -733
|
@@ -132,7 +132,7 @@ sap.ui.define([
|
|
|
132
132
|
* @extends sap.ui.model.odata.type.ODataType
|
|
133
133
|
* @public
|
|
134
134
|
* @since 1.27.0
|
|
135
|
-
* @version 1.108.
|
|
135
|
+
* @version 1.108.21
|
|
136
136
|
*/
|
|
137
137
|
var DateTimeBase = ODataType.extend("sap.ui.model.odata.type.DateTimeBase", {
|
|
138
138
|
constructor : function (oFormatOptions, oConstraints) {
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* @public
|
|
61
61
|
* @see {sap.ui.model.odata.v2.ODataModel#bindProperty}
|
|
62
62
|
* @since 1.99.0
|
|
63
|
-
* @version 1.108.
|
|
63
|
+
* @version 1.108.21
|
|
64
64
|
*/
|
|
65
65
|
var DateTimeWithTimezone = CompositeType.extend("sap.ui.model.odata.type.DateTimeWithTimezone",
|
|
66
66
|
{
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @extends sap.ui.model.odata.type.ODataType
|
|
31
31
|
* @public
|
|
32
32
|
* @since 1.37.0
|
|
33
|
-
* @version 1.108.
|
|
33
|
+
* @version 1.108.21
|
|
34
34
|
*/
|
|
35
35
|
var Raw = ODataType.extend("sap.ui.model.odata.type.Raw", {
|
|
36
36
|
constructor : function (oFormatOptions, oConstraints) {
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* @extends sap.ui.model.odata.type.ODataType
|
|
61
61
|
* @public
|
|
62
62
|
* @since 1.51.0
|
|
63
|
-
* @version 1.108.
|
|
63
|
+
* @version 1.108.21
|
|
64
64
|
*/
|
|
65
65
|
var Stream = ODataType.extend("sap.ui.model.odata.type.Stream", {
|
|
66
66
|
constructor : function (oFormatOptions, oConstraints) {
|
|
@@ -110,7 +110,7 @@ sap.ui.define([
|
|
|
110
110
|
* @extends sap.ui.model.odata.type.ODataType
|
|
111
111
|
* @public
|
|
112
112
|
* @since 1.37.0
|
|
113
|
-
* @version 1.108.
|
|
113
|
+
* @version 1.108.21
|
|
114
114
|
*/
|
|
115
115
|
var TimeOfDay = ODataType.extend("sap.ui.model.odata.type.TimeOfDay", {
|
|
116
116
|
constructor : function (oFormatOptions, oConstraints) {
|
|
@@ -63,7 +63,7 @@ sap.ui.define([
|
|
|
63
63
|
* @extends sap.ui.model.type.Unit
|
|
64
64
|
* @public
|
|
65
65
|
* @since 1.63.0
|
|
66
|
-
* @version 1.108.
|
|
66
|
+
* @version 1.108.21
|
|
67
67
|
*/
|
|
68
68
|
var Unit = BaseUnit.extend("sap.ui.model.odata.type.Unit", {
|
|
69
69
|
constructor : function (oFormatOptions, oConstraints, aDynamicFormatOptionNames) {
|
|
@@ -64,7 +64,7 @@ sap.ui.define([
|
|
|
64
64
|
* @hideconstructor
|
|
65
65
|
* @public
|
|
66
66
|
* @since 1.93.0
|
|
67
|
-
* @version 1.108.
|
|
67
|
+
* @version 1.108.21
|
|
68
68
|
*/
|
|
69
69
|
var Context = BaseContext.extend("sap.ui.model.odata.v2.Context", {
|
|
70
70
|
constructor : function (oModel, sPath, sDeepPath, oCreatePromise, bInactive,
|
|
@@ -101,10 +101,8 @@ sap.ui.define([
|
|
|
101
101
|
|
|
102
102
|
this.sFilterParams = null;
|
|
103
103
|
this.sSortParams = null;
|
|
104
|
-
this.sRangeParams = null;
|
|
105
104
|
this.sCustomParams = this.oModel.createCustomParams(this.mParameters);
|
|
106
105
|
this.mCustomParams = mParameters && mParameters.custom;
|
|
107
|
-
this.iStartIndex = 0;
|
|
108
106
|
this.iLength = 0;
|
|
109
107
|
this.bPendingChange = false;
|
|
110
108
|
this.aAllKeys = null;
|
|
@@ -271,6 +269,21 @@ sap.ui.define([
|
|
|
271
269
|
return aContexts;
|
|
272
270
|
};
|
|
273
271
|
|
|
272
|
+
/**
|
|
273
|
+
* Returns the context at the given index.
|
|
274
|
+
*
|
|
275
|
+
* @param {number} iIndex The index of the context
|
|
276
|
+
*
|
|
277
|
+
* @returns {sap.ui.model.odata.v2.Context|undefined}
|
|
278
|
+
* The context at the given index or <code>undefined</code> if no context exists at the given index
|
|
279
|
+
*
|
|
280
|
+
* @private
|
|
281
|
+
* @ui5-restricted sap.ui.table
|
|
282
|
+
*/
|
|
283
|
+
ODataListBinding.prototype.getContextByIndex = function (iIndex) {
|
|
284
|
+
return this._getContexts(iIndex, 1)[0];
|
|
285
|
+
};
|
|
286
|
+
|
|
274
287
|
/**
|
|
275
288
|
* Return contexts for the list.
|
|
276
289
|
*
|
|
@@ -771,48 +784,51 @@ sap.ui.define([
|
|
|
771
784
|
/**
|
|
772
785
|
* Load data for the given range from server.
|
|
773
786
|
*
|
|
774
|
-
* @param {int} iStartIndex The start index
|
|
775
|
-
* @param {int} iLength The amount of data to be requested
|
|
787
|
+
* @param {int} [iStartIndex] The start index
|
|
788
|
+
* @param {int} [iLength] The amount of data to be requested
|
|
776
789
|
* @private
|
|
777
790
|
*/
|
|
778
791
|
ODataListBinding.prototype.loadData = function(iStartIndex, iLength) {
|
|
779
|
-
var sGroupId,
|
|
792
|
+
var sGroupId, oReadParameters,
|
|
780
793
|
sGuid = uid(),
|
|
781
794
|
bInlineCountRequested = false,
|
|
782
|
-
|
|
795
|
+
iLimit = this.oModel.iSizeLimit,
|
|
783
796
|
sPath = this.sPath,
|
|
797
|
+
aResultPages = [],
|
|
798
|
+
bUseClientMode = this.useClientMode(),
|
|
784
799
|
that = this;
|
|
785
800
|
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
801
|
+
function getUrlParameters() {
|
|
802
|
+
var aParameters = [];
|
|
803
|
+
// create range parameters and store start index for sort/filter requests
|
|
804
|
+
if (iLength) {
|
|
805
|
+
aParameters.push("$skip=" + iStartIndex + "&$top=" + iLength);
|
|
806
|
+
} else {
|
|
807
|
+
// For OperationMode.Client and OperationMode.Auto (if the threshold was sufficient)
|
|
808
|
+
// loadData is called without iStartIndex and iLength, try reading all data without
|
|
809
|
+
// $skip and $top
|
|
810
|
+
iStartIndex = 0;
|
|
811
|
+
}
|
|
812
|
+
if (that.sSortParams) {
|
|
813
|
+
aParameters.push(that.sSortParams);
|
|
814
|
+
}
|
|
815
|
+
that._addFilterQueryOption(aParameters, !bUseClientMode);
|
|
816
|
+
if (that.sCustomParams) {
|
|
817
|
+
aParameters.push(that.sCustomParams);
|
|
818
|
+
}
|
|
819
|
+
if (that.sCountMode == CountMode.InlineRepeat
|
|
820
|
+
|| !that.bLengthFinal
|
|
821
|
+
&& (that.sCountMode === CountMode.Inline || that.sCountMode === CountMode.Both)) {
|
|
822
|
+
aParameters.push("$inlinecount=allpages");
|
|
823
|
+
bInlineCountRequested = true;
|
|
824
|
+
} else {
|
|
825
|
+
bInlineCountRequested = false;
|
|
826
|
+
}
|
|
793
827
|
|
|
794
|
-
|
|
795
|
-
// $skip/$top and are excluded for OperationMode.Client and Auto if the threshold was sufficient
|
|
796
|
-
if (this.sRangeParams && !this.useClientMode()) {
|
|
797
|
-
aParams.push(this.sRangeParams);
|
|
798
|
-
}
|
|
799
|
-
if (this.sSortParams) {
|
|
800
|
-
aParams.push(this.sSortParams);
|
|
801
|
-
}
|
|
802
|
-
this._addFilterQueryOption(aParams, !this.useClientMode());
|
|
803
|
-
if (this.sCustomParams) {
|
|
804
|
-
aParams.push(this.sCustomParams);
|
|
805
|
-
}
|
|
806
|
-
if (this.sCountMode == CountMode.InlineRepeat ||
|
|
807
|
-
!this.bLengthFinal &&
|
|
808
|
-
(this.sCountMode === CountMode.Inline ||
|
|
809
|
-
this.sCountMode === CountMode.Both)) {
|
|
810
|
-
aParams.push("$inlinecount=allpages");
|
|
811
|
-
bInlineCountRequested = true;
|
|
828
|
+
return aParameters;
|
|
812
829
|
}
|
|
813
830
|
|
|
814
831
|
function fnSuccess(oData) {
|
|
815
|
-
|
|
816
832
|
// update iLength (only when the inline count was requested and is available)
|
|
817
833
|
if (bInlineCountRequested && oData.__count !== undefined) {
|
|
818
834
|
that.iLength = parseInt(oData.__count);
|
|
@@ -840,12 +856,24 @@ sap.ui.define([
|
|
|
840
856
|
}
|
|
841
857
|
}
|
|
842
858
|
|
|
843
|
-
if (
|
|
859
|
+
if (bUseClientMode) {
|
|
844
860
|
// For clients mode, store all keys separately and set length to final
|
|
845
|
-
|
|
861
|
+
if (!iStartIndex) {
|
|
862
|
+
that.aKeys = [];
|
|
863
|
+
}
|
|
846
864
|
each(oData.results, function(i, entry) {
|
|
847
|
-
that.aKeys[i] = that.oModel._getKey(entry);
|
|
865
|
+
that.aKeys[iStartIndex + i] = that.oModel._getKey(entry);
|
|
848
866
|
});
|
|
867
|
+
aResultPages.push(oData.results);
|
|
868
|
+
if (oData.__next && that.aKeys.length < iLimit /*first request may return enough*/) {
|
|
869
|
+
// continue reading
|
|
870
|
+
iStartIndex = that.aKeys.length;
|
|
871
|
+
iLength = iLimit - iStartIndex; // read up to model size limit
|
|
872
|
+
oReadParameters.urlParameters = getUrlParameters();
|
|
873
|
+
that.mRequestHandles[sGuid] = that.oModel.read(that.sPath, oReadParameters);
|
|
874
|
+
|
|
875
|
+
return;
|
|
876
|
+
}
|
|
849
877
|
that.updateExpandedList(that.aKeys);
|
|
850
878
|
that.aAllKeys = that.aKeys.slice();
|
|
851
879
|
that.iLength = that.aKeys.length;
|
|
@@ -902,9 +930,17 @@ sap.ui.define([
|
|
|
902
930
|
that.bNeedsUpdate = true;
|
|
903
931
|
that.bIgnoreSuspend = true;
|
|
904
932
|
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
933
|
+
that.oModel.callAfterUpdate(function () {
|
|
934
|
+
if (aResultPages.length > 1) {
|
|
935
|
+
that.fireDataReceived({
|
|
936
|
+
data: {
|
|
937
|
+
__count: String(that.iLength),
|
|
938
|
+
results: Array.prototype.concat.apply([], aResultPages)
|
|
939
|
+
}
|
|
940
|
+
});
|
|
941
|
+
} else {
|
|
942
|
+
that.fireDataReceived({data: oData});
|
|
943
|
+
}
|
|
908
944
|
});
|
|
909
945
|
}
|
|
910
946
|
|
|
@@ -931,13 +967,11 @@ sap.ui.define([
|
|
|
931
967
|
if (!that.bSkipDataEvents) {
|
|
932
968
|
that.fireDataReceived();
|
|
933
969
|
}
|
|
934
|
-
|
|
935
970
|
}
|
|
936
971
|
|
|
937
972
|
if (this.isRelative()){
|
|
938
973
|
sPath = this.getResolvedPath();
|
|
939
974
|
}
|
|
940
|
-
|
|
941
975
|
if (sPath) {
|
|
942
976
|
// Execute the request and use the metadata if available
|
|
943
977
|
this.bPendingRequest = true;
|
|
@@ -947,20 +981,20 @@ sap.ui.define([
|
|
|
947
981
|
this.bSkipDataEvents = false;
|
|
948
982
|
//if load is triggered by a refresh we have to check the refreshGroup
|
|
949
983
|
sGroupId = this.sRefreshGroupId ? this.sRefreshGroupId : this.sGroupId;
|
|
950
|
-
|
|
984
|
+
oReadParameters = {
|
|
951
985
|
headers: this.bTransitionMessagesOnly
|
|
952
986
|
? {"sap-messages" : "transientOnly"}
|
|
953
987
|
: undefined,
|
|
954
988
|
context: this.oContext,
|
|
955
989
|
groupId: sGroupId,
|
|
956
|
-
urlParameters:
|
|
990
|
+
urlParameters: getUrlParameters(),
|
|
957
991
|
success: fnSuccess,
|
|
958
992
|
error: fnError,
|
|
959
993
|
canonicalRequest: this.bCanonicalRequest,
|
|
960
994
|
updateAggregatedMessages: this.bRefresh
|
|
961
|
-
}
|
|
995
|
+
};
|
|
996
|
+
this.mRequestHandles[sGuid] = this.oModel.read(this.sPath, oReadParameters);
|
|
962
997
|
}
|
|
963
|
-
|
|
964
998
|
};
|
|
965
999
|
|
|
966
1000
|
ODataListBinding.prototype.isLengthFinal = function() {
|
|
@@ -205,7 +205,7 @@ sap.ui.define([
|
|
|
205
205
|
* This model is not prepared to be inherited from.
|
|
206
206
|
*
|
|
207
207
|
* @author SAP SE
|
|
208
|
-
* @version 1.108.
|
|
208
|
+
* @version 1.108.21
|
|
209
209
|
*
|
|
210
210
|
* @public
|
|
211
211
|
* @alias sap.ui.model.odata.v2.ODataModel
|
|
@@ -6334,8 +6334,7 @@ sap.ui.define([
|
|
|
6334
6334
|
} else {
|
|
6335
6335
|
delete this.mChangedEntities[sKey];
|
|
6336
6336
|
}
|
|
6337
|
-
sap.ui.getCore().getMessageManager().removeMessages(this.getMessagesByEntity(sKey,
|
|
6338
|
-
/*bExcludePersistent*/!bDeleteEntity));
|
|
6337
|
+
sap.ui.getCore().getMessageManager().removeMessages(this.getMessagesByEntity(sKey, /*bExcludePersistent*/true));
|
|
6339
6338
|
|
|
6340
6339
|
return pMetaDataLoaded;
|
|
6341
6340
|
};
|
|
@@ -94,7 +94,7 @@ sap.ui.define([
|
|
|
94
94
|
* @extends sap.ui.model.TreeBinding
|
|
95
95
|
* @hideconstructor
|
|
96
96
|
* @public
|
|
97
|
-
* @version 1.108.
|
|
97
|
+
* @version 1.108.21
|
|
98
98
|
*/
|
|
99
99
|
var ODataTreeBinding = TreeBinding.extend("sap.ui.model.odata.v2.ODataTreeBinding", /** @lends sap.ui.model.odata.v2.ODataTreeBinding.prototype */ {
|
|
100
100
|
|
|
@@ -378,14 +378,29 @@ sap.ui.define([
|
|
|
378
378
|
* Deregisters the given change listener from the given path.
|
|
379
379
|
*
|
|
380
380
|
* @param {string} sPath
|
|
381
|
-
* The path
|
|
381
|
+
* The absolute path
|
|
382
382
|
* @param {object} oListener
|
|
383
383
|
* The change listener
|
|
384
384
|
*
|
|
385
385
|
* @private
|
|
386
386
|
*/
|
|
387
387
|
ODataBinding.prototype.doDeregisterChangeListener = function (sPath, oListener) {
|
|
388
|
-
this
|
|
388
|
+
var that = this;
|
|
389
|
+
|
|
390
|
+
this.oCachePromise.then(function (oCache) {
|
|
391
|
+
var sRelativePath;
|
|
392
|
+
|
|
393
|
+
if (oCache) {
|
|
394
|
+
sRelativePath = _Helper.getRelativePath(sPath, that.getResolvedPath());
|
|
395
|
+
if (sRelativePath !== undefined) {
|
|
396
|
+
oCache.deregisterChangeListener(sRelativePath, oListener);
|
|
397
|
+
return;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
if (that.bRelative && that.oContext && that.oContext.getBinding) {
|
|
401
|
+
that.oContext.getBinding().doDeregisterChangeListener(sPath, oListener);
|
|
402
|
+
}
|
|
403
|
+
});
|
|
389
404
|
};
|
|
390
405
|
|
|
391
406
|
/**
|
|
@@ -74,7 +74,7 @@ sap.ui.define([
|
|
|
74
74
|
* @mixes sap.ui.model.odata.v4.ODataParentBinding
|
|
75
75
|
* @public
|
|
76
76
|
* @since 1.37.0
|
|
77
|
-
* @version 1.108.
|
|
77
|
+
* @version 1.108.21
|
|
78
78
|
*
|
|
79
79
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getGroupId as #getGroupId
|
|
80
80
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getRootBinding as #getRootBinding
|
|
@@ -801,10 +801,14 @@ sap.ui.define([
|
|
|
801
801
|
* @see sap.ui.model.odata.v4.ODataBinding#doDeregisterChangeListener
|
|
802
802
|
*/
|
|
803
803
|
ODataContextBinding.prototype.doDeregisterChangeListener = function (sPath, oListener) {
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
804
|
+
var sRelativePath;
|
|
805
|
+
|
|
806
|
+
if (this.oOperation) {
|
|
807
|
+
sRelativePath = _Helper.getRelativePath(sPath, this.oParameterContext.getPath());
|
|
808
|
+
if (sRelativePath !== undefined) {
|
|
809
|
+
_Helper.removeByPath(this.oOperation.mChangeListeners, sRelativePath, oListener);
|
|
810
|
+
return;
|
|
811
|
+
}
|
|
808
812
|
}
|
|
809
813
|
asODataParentBinding.prototype.doDeregisterChangeListener.apply(this, arguments);
|
|
810
814
|
};
|
|
@@ -57,7 +57,7 @@ sap.ui.define([
|
|
|
57
57
|
* @mixes sap.ui.model.odata.v4.ODataParentBinding
|
|
58
58
|
* @public
|
|
59
59
|
* @since 1.37.0
|
|
60
|
-
* @version 1.108.
|
|
60
|
+
* @version 1.108.21
|
|
61
61
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getGroupId as #getGroupId
|
|
62
62
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getRootBinding as #getRootBinding
|
|
63
63
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getUpdateGroupId as #getUpdateGroupId
|
|
@@ -218,7 +218,7 @@ sap.ui.define([
|
|
|
218
218
|
* @extends sap.ui.model.Model
|
|
219
219
|
* @public
|
|
220
220
|
* @since 1.37.0
|
|
221
|
-
* @version 1.108.
|
|
221
|
+
* @version 1.108.21
|
|
222
222
|
*/
|
|
223
223
|
ODataModel = Model.extend("sap.ui.model.odata.v4.ODataModel",
|
|
224
224
|
/** @lends sap.ui.model.odata.v4.ODataModel.prototype */{
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @mixes sap.ui.model.odata.v4.ODataBinding
|
|
43
43
|
* @public
|
|
44
44
|
* @since 1.37.0
|
|
45
|
-
* @version 1.108.
|
|
45
|
+
* @version 1.108.21
|
|
46
46
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getGroupId as #getGroupId
|
|
47
47
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getRootBinding as #getRootBinding
|
|
48
48
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getUpdateGroupId as #getUpdateGroupId
|
|
@@ -364,12 +364,9 @@ sap.ui.define([
|
|
|
364
364
|
* @private
|
|
365
365
|
*/
|
|
366
366
|
ODataPropertyBinding.prototype.deregisterChangeListener = function () {
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
oBinding.doDeregisterChangeListener(sPath, that);
|
|
371
|
-
}, /*sPath*/"", /*bSync*/false, /*bWithOrWithoutCache*/true)
|
|
372
|
-
.catch(this.oModel.getReporter());
|
|
367
|
+
if (this.sReducedPath) {
|
|
368
|
+
this.doDeregisterChangeListener(this.sReducedPath, this);
|
|
369
|
+
}
|
|
373
370
|
};
|
|
374
371
|
|
|
375
372
|
/**
|
|
@@ -229,7 +229,7 @@ sap.ui.define([
|
|
|
229
229
|
*
|
|
230
230
|
* @extends sap.ui.model.Model
|
|
231
231
|
* @public
|
|
232
|
-
* @version 1.108.
|
|
232
|
+
* @version 1.108.21
|
|
233
233
|
*/
|
|
234
234
|
var ResourceModel = Model.extend("sap.ui.model.resource.ResourceModel", /** @lends sap.ui.model.resource.ResourceModel.prototype */ {
|
|
235
235
|
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @extends sap.ui.model.SimpleType
|
|
27
27
|
*
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.108.
|
|
29
|
+
* @version 1.108.21
|
|
30
30
|
*
|
|
31
31
|
* @public
|
|
32
32
|
* @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getDateInstance DateFormat}.
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @extends sap.ui.model.CompositeType
|
|
34
34
|
*
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.108.
|
|
36
|
+
* @version 1.108.21
|
|
37
37
|
*
|
|
38
38
|
* @public
|
|
39
39
|
* @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getDateInstance DateFormat}.
|
|
@@ -19,7 +19,7 @@ sap.ui.define(['./Date', 'sap/ui/core/format/DateFormat'],
|
|
|
19
19
|
* @extends sap.ui.model.type.Date
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.108.
|
|
22
|
+
* @version 1.108.21
|
|
23
23
|
*
|
|
24
24
|
* @public
|
|
25
25
|
* @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getDateTimeInstance DateFormat}.
|
|
@@ -19,7 +19,7 @@ sap.ui.define(['./DateInterval', 'sap/ui/core/format/DateFormat'],
|
|
|
19
19
|
* @extends sap.ui.model.type.DateInterval
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.108.
|
|
22
|
+
* @version 1.108.21
|
|
23
23
|
*
|
|
24
24
|
* @public
|
|
25
25
|
* @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getDateTimeInstance DateFormat}.
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @extends sap.ui.model.SimpleType
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.108.
|
|
27
|
+
* @version 1.108.21
|
|
28
28
|
*
|
|
29
29
|
* @public
|
|
30
30
|
* @param {object} [oFormatOptions] formatting options. Supports the same options as {@link sap.ui.core.format.FileSizeFormat.getInstance FileSizeFormat.getInstance}
|