@openui5/sap.ui.core 1.130.0 → 1.131.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/THIRDPARTY.txt +1 -1
- 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/Event.js +1 -1
- package/src/sap/base/Eventing.js +3 -2
- package/src/sap/base/config.js +1 -1
- package/src/sap/base/i18n/LanguageTag.js +1 -1
- package/src/sap/base/i18n/date/CalendarType.js +3 -1
- package/src/sap/base/i18n/date/CalendarWeekNumbering.js +3 -1
- package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
- package/src/sap/base/i18n/date/_EnumHelper.js +43 -0
- package/src/sap/base/util/clamp.js +26 -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 +11 -8
- package/src/sap/ui/Global.js +3 -3
- package/src/sap/ui/base/BindingInfo.js +4 -2
- package/src/sap/ui/base/DataType.js +7 -2
- 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 +3 -3
- package/src/sap/ui/core/BlockLayerUtils.js +17 -29
- package/src/sap/ui/core/BusyIndicator.js +2 -15
- package/src/sap/ui/core/BusyIndicatorUtils.js +34 -3
- package/src/sap/ui/core/Component.js +1 -1
- 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/ContextMenuSupport.js +2 -1
- package/src/sap/ui/core/Control.js +46 -10
- package/src/sap/ui/core/ControlBehavior.js +14 -18
- package/src/sap/ui/core/Core.js +2 -2
- 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 +230 -32
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +4 -4
- package/src/sap/ui/core/EventBus.js +1 -1
- package/src/sap/ui/core/FocusMode.js +28 -0
- 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 +3 -3
- package/src/sap/ui/core/Manifest.js +2 -2
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/Popup.js +12 -0
- package/src/sap/ui/core/RenderManager.js +4 -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/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/_IconRegistry.js +1 -0
- package/src/sap/ui/core/cldr/ca.json +1 -1
- package/src/sap/ui/core/cldr/cs.json +1 -1
- package/src/sap/ui/core/cldr/es.json +2 -2
- package/src/sap/ui/core/cldr/es_AR.json +2 -2
- package/src/sap/ui/core/cldr/es_BO.json +2 -2
- package/src/sap/ui/core/cldr/es_CL.json +2 -2
- package/src/sap/ui/core/cldr/es_CO.json +2 -2
- package/src/sap/ui/core/cldr/es_PE.json +2 -2
- package/src/sap/ui/core/cldr/es_UY.json +2 -2
- package/src/sap/ui/core/cldr/es_VE.json +2 -2
- package/src/sap/ui/core/cldr/fi.json +1 -1
- package/src/sap/ui/core/cldr/hu.json +1 -1
- package/src/sap/ui/core/cldr/id.json +2 -2
- package/src/sap/ui/core/cldr/mk.json +2 -2
- package/src/sap/ui/core/cldr/tr.json +1 -1
- package/src/sap/ui/core/cldr/vi.json +2 -2
- package/src/sap/ui/core/date/CalendarWeekNumbering.js +1 -1
- package/src/sap/ui/core/date/UI5Date.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/fieldhelp/FieldHelpCustomData.js +5 -1
- package/src/sap/ui/core/format/FormatUtils.js +1 -1
- package/src/sap/ui/core/format/NumberFormat.js +38 -17
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +23 -19
- 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/MessageMixin.js +5 -2
- 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_no.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 +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/routing/Target.js +5 -5
- 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/bootstrapFallback.js +1 -0
- 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/LocalBusyIndicator.less +1 -0
- package/src/sap/ui/core/themes/base/base.less +1353 -247
- 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/themes/base/global.less +32 -0
- package/src/sap/ui/core/themes/base/skeleton.less +93 -3
- package/src/sap/ui/core/theming/ThemeManager.js +2 -2
- 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/webc/WebComponent.js +1 -1
- package/src/sap/ui/core/webc/WebComponentMetadata.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/model/ClientModel.js +1 -1
- package/src/sap/ui/model/ClientTreeBinding.js +32 -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/Filter.js +2 -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/Sorter.js +61 -31
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/TreeBinding.js +21 -17
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/analytics/AnalyticalBinding.js +13 -7
- 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 +16 -6
- 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 +7 -4
- package/src/sap/ui/model/odata/v2/ODataModel.js +14 -10
- 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 +1 -0
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +6 -1
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +74 -11
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +93 -19
- package/src/sap/ui/model/odata/v4/ODataModel.js +49 -8
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +3 -1
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +2 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +12 -1
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +51 -30
- package/src/sap/ui/model/odata/v4/lib/_MetadataRequestor.js +49 -31
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +8 -26
- 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/OpaBuilder.js +1 -1
- package/src/sap/ui/test/autowaiter/_promiseWaiter.js +21 -0
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/starter/_utils.js +8 -1
- package/src/sap/ui/test/starter/createSuite.js +1 -1
- package/src/sap/ui/thirdparty/less.js +23 -72
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader.js +9 -4
- package/test/sap/ui/qunit/TestRunner.js +2 -0
|
@@ -37,7 +37,7 @@ sap.ui.define('sap/ui/debug/DebugEnv', [
|
|
|
37
37
|
* @class Central Class for the Debug Environment
|
|
38
38
|
*
|
|
39
39
|
* @author Martin Schaus, Frank Weigel
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.131.0
|
|
41
41
|
* @private
|
|
42
42
|
* @alias sap.ui.debug.DebugEnv
|
|
43
43
|
* @deprecated As of Version 1.120
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
/*eslint-disable max-len */
|
|
7
|
-
// Provides the
|
|
7
|
+
// Provides the client model implementation of a tree binding
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"./ChangeReason",
|
|
10
10
|
"./TreeBinding",
|
|
@@ -75,12 +75,14 @@ sap.ui.define([
|
|
|
75
75
|
});
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
* Return root contexts for the tree
|
|
78
|
+
* Return root contexts for the tree.
|
|
79
|
+
*
|
|
80
|
+
* @param {int} [iStartIndex=0] the index from which to start the retrieval of contexts
|
|
81
|
+
* @param {int} [iLength] determines how many contexts to retrieve, beginning from the start index. Defaults to the
|
|
82
|
+
* model's size limit; see {@link sap.ui.model.Model#setSizeLimit}.
|
|
83
|
+
* @returns {sap.ui.model.Context[]} the context's array
|
|
79
84
|
*
|
|
80
|
-
* @return {object[]} the contexts array
|
|
81
85
|
* @protected
|
|
82
|
-
* @param {int} iStartIndex the startIndex where to start the retrieval of contexts
|
|
83
|
-
* @param {int} iLength determines how many contexts to retrieve beginning from the start index.
|
|
84
86
|
*/
|
|
85
87
|
ClientTreeBinding.prototype.getRootContexts = function(iStartIndex, iLength) {
|
|
86
88
|
if (!iStartIndex) {
|
|
@@ -125,11 +127,14 @@ sap.ui.define([
|
|
|
125
127
|
};
|
|
126
128
|
|
|
127
129
|
/**
|
|
128
|
-
* Return node contexts for the tree
|
|
130
|
+
* Return node contexts for the tree.
|
|
131
|
+
*
|
|
129
132
|
* @param {sap.ui.model.Context} oContext to use for retrieving the node contexts
|
|
130
|
-
* @param {int} iStartIndex the
|
|
131
|
-
* @param {int} iLength determines how many contexts to retrieve beginning from the start index.
|
|
132
|
-
* @
|
|
133
|
+
* @param {int} [iStartIndex=0] the index from which to start the retrieval of contexts
|
|
134
|
+
* @param {int} [iLength] determines how many contexts to retrieve, beginning from the start index. Defaults to the
|
|
135
|
+
* model's size limit; see {@link sap.ui.model.Model#setSizeLimit}.
|
|
136
|
+
* @returns {sap.ui.model.Context[]} the context's array
|
|
137
|
+
*
|
|
133
138
|
* @protected
|
|
134
139
|
*/
|
|
135
140
|
ClientTreeBinding.prototype.getNodeContexts = function(oContext, iStartIndex, iLength) {
|
|
@@ -182,8 +187,8 @@ sap.ui.define([
|
|
|
182
187
|
/**
|
|
183
188
|
* Returns if the node has child nodes.
|
|
184
189
|
*
|
|
185
|
-
* @param {
|
|
186
|
-
* @
|
|
190
|
+
* @param {sap.ui.model.Context} oContext the context element of the node
|
|
191
|
+
* @returns {boolean} <code>true</code> if the node has children
|
|
187
192
|
*
|
|
188
193
|
* @public
|
|
189
194
|
*/
|
|
@@ -200,7 +205,8 @@ sap.ui.define([
|
|
|
200
205
|
* Calling it with no arguments or 'null' returns the number of root level nodes.
|
|
201
206
|
*
|
|
202
207
|
* @param {sap.ui.model.Context} oContext the context for which the child count should be retrieved
|
|
203
|
-
* @
|
|
208
|
+
* @returns {int} the number of children for the given context
|
|
209
|
+
*
|
|
204
210
|
* @public
|
|
205
211
|
* @override
|
|
206
212
|
*/
|
|
@@ -266,7 +272,6 @@ sap.ui.define([
|
|
|
266
272
|
* All filters belonging to a group (=have the same path) are ORed and after that the
|
|
267
273
|
* results of all groups are ANDed.
|
|
268
274
|
*
|
|
269
|
-
* @see sap.ui.model.TreeBinding.prototype.filter
|
|
270
275
|
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
|
|
271
276
|
* The filters to use; in case of type {@link sap.ui.model.FilterType.Application} this replaces the filters given
|
|
272
277
|
* in {@link sap.ui.model.ClientModel#bindTree}; a falsy value is treated as an empty array and thus removes all
|
|
@@ -275,12 +280,13 @@ sap.ui.define([
|
|
|
275
280
|
* The type of the filter to replace; if no type is given, all filters previously configured with type
|
|
276
281
|
* {@link sap.ui.model.FilterType.Application} are cleared, and the given filters are used as filters of type
|
|
277
282
|
* {@link sap.ui.model.FilterType.Control}
|
|
278
|
-
* @
|
|
283
|
+
* @returns {this} <code>this</code> to facilitate method chaining
|
|
279
284
|
* @throws {Error} If one of the filters uses an operator that is not supported by the underlying model
|
|
280
285
|
* implementation or if the {@link sap.ui.model.Filter.NONE} filter instance is contained in
|
|
281
286
|
* <code>aFilters</code> together with other filters
|
|
282
287
|
*
|
|
283
288
|
* @public
|
|
289
|
+
* @see sap.ui.model.TreeBinding.prototype.filter
|
|
284
290
|
*/
|
|
285
291
|
ClientTreeBinding.prototype.filter = function(aFilters, sFilterType){
|
|
286
292
|
// The filtering is applied recursively through the tree and stores all filtered contexts and its parent contexts in an array.
|
|
@@ -318,6 +324,7 @@ sap.ui.define([
|
|
|
318
324
|
|
|
319
325
|
/**
|
|
320
326
|
* Apply the current defined filters on the existing dataset.
|
|
327
|
+
*
|
|
321
328
|
* @private
|
|
322
329
|
*/
|
|
323
330
|
ClientTreeBinding.prototype.applyFilter = function () {
|
|
@@ -331,7 +338,10 @@ sap.ui.define([
|
|
|
331
338
|
/**
|
|
332
339
|
* Filters the tree recursively.
|
|
333
340
|
* Performs the real filtering and stores all filtered contexts and its parent context into an array.
|
|
334
|
-
*
|
|
341
|
+
*
|
|
342
|
+
* @param {sap.ui.model.Context} [oParentContext] the context where to start. The children of this node context are
|
|
343
|
+
* then filtered recursively.
|
|
344
|
+
*
|
|
335
345
|
* @private
|
|
336
346
|
*/
|
|
337
347
|
ClientTreeBinding.prototype._applyFilterRecursive = function(oParentContext){
|
|
@@ -390,8 +400,8 @@ sap.ui.define([
|
|
|
390
400
|
* @param {sap.ui.model.Sorter[]|sap.ui.model.Sorter} [aSorters=[]]
|
|
391
401
|
* The sorters to use; they replace the sorters given in {@link sap.ui.model.ClientModel#bindTree}; a falsy value
|
|
392
402
|
* is treated as an empty array and thus removes all sorters
|
|
403
|
+
* @returns {this} Returns <code>this</code> to facilitate method chaining
|
|
393
404
|
*
|
|
394
|
-
* @return {this} Returns <code>this</code> to facilitate method chaining
|
|
395
405
|
* @public
|
|
396
406
|
*/
|
|
397
407
|
ClientTreeBinding.prototype.sort = function (aSorters) {
|
|
@@ -404,8 +414,9 @@ sap.ui.define([
|
|
|
404
414
|
};
|
|
405
415
|
|
|
406
416
|
/**
|
|
407
|
-
*
|
|
408
|
-
*
|
|
417
|
+
* Internal function to apply this.aSorters to the given array of contexts.
|
|
418
|
+
*
|
|
419
|
+
* @param {sap.ui.model.Context[]} aContexts the context array which should be sorted (inplace)
|
|
409
420
|
*/
|
|
410
421
|
ClientTreeBinding.prototype._applySorter = function (aContexts) {
|
|
411
422
|
var that = this;
|
|
@@ -423,7 +434,7 @@ sap.ui.define([
|
|
|
423
434
|
* Called by get*Contexts() to keep track of the child count (after filtering).
|
|
424
435
|
*
|
|
425
436
|
* @param {string} sKey The cache entry to set the length for
|
|
426
|
-
* @param {
|
|
437
|
+
* @param {int} iLength The new length
|
|
427
438
|
*/
|
|
428
439
|
ClientTreeBinding.prototype._setLengthCache = function (sKey, iLength) {
|
|
429
440
|
// keep track of the child count for each context (after filtering)
|
|
@@ -451,6 +462,7 @@ sap.ui.define([
|
|
|
451
462
|
*
|
|
452
463
|
* @returns {number|undefined} The count of entries in the tree, or <code>undefined</code> if
|
|
453
464
|
* the binding is not resolved
|
|
465
|
+
*
|
|
454
466
|
* @public
|
|
455
467
|
* @since 1.108.0
|
|
456
468
|
*/
|
|
@@ -479,6 +491,7 @@ sap.ui.define([
|
|
|
479
491
|
* Whether the given data is the root of the tree
|
|
480
492
|
* @returns {number}
|
|
481
493
|
* The total count of objects in the given data
|
|
494
|
+
*
|
|
482
495
|
* @private
|
|
483
496
|
*/
|
|
484
497
|
ClientTreeBinding._getTotalNodeCount = function (vData, aArrayNames, bRoot) {
|
|
@@ -39,7 +39,7 @@ sap.ui.define(['./SimpleType'],
|
|
|
39
39
|
* <code>true</code>.
|
|
40
40
|
* @extends sap.ui.model.SimpleType
|
|
41
41
|
* @public
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.131.0
|
|
43
43
|
*/
|
|
44
44
|
var CompositeType = SimpleType.extend("sap.ui.model.CompositeType", /** @lends sap.ui.model.CompositeType.prototype */ {
|
|
45
45
|
|
|
@@ -120,7 +120,8 @@ sap.ui.define([
|
|
|
120
120
|
* Filter for the list binding.
|
|
121
121
|
*
|
|
122
122
|
* @param {object|string|sap.ui.model.Filter[]} vFilterInfo
|
|
123
|
-
* Filter info object or a path or an array of filters
|
|
123
|
+
* Filter info object or a path or an array of filters; if a filter info object is given, the
|
|
124
|
+
* other constructor parameters are ignored
|
|
124
125
|
* @param {string} [vFilterInfo.path]
|
|
125
126
|
* Binding path for this filter
|
|
126
127
|
* @param {function(any):boolean} [vFilterInfo.test]
|
|
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/base/EventProvider', "sap/base/assert"],
|
|
|
20
20
|
* @extends sap.ui.base.EventProvider
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.131.0
|
|
24
24
|
*
|
|
25
25
|
* @param {int} iSelectionMode <code>sap.ui.model.SelectionModel.SINGLE_SELECTION</code> or <code>sap.ui.model.SelectionModel.MULTI_SELECTION</code>
|
|
26
26
|
*
|
|
@@ -21,44 +21,52 @@ sap.ui.define([
|
|
|
21
21
|
*
|
|
22
22
|
* Instances of this class define the sort order for a list binding.
|
|
23
23
|
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* @param {
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
24
|
+
* @param {string|object} vSorterInfo
|
|
25
|
+
* The binding path used for sorting or the sorter info object; if a sorter info object is given, the other
|
|
26
|
+
* constructor parameters are ignored
|
|
27
|
+
* @param {function} [vSorterInfo.comparator]
|
|
28
|
+
* See <code>fnComparator</code> parameter
|
|
29
|
+
* @param {boolean} [vSorterInfo.descending=false]
|
|
30
|
+
* See <code>bDescending</code> parameter
|
|
31
|
+
* @param {boolean|function} [vSorterInfo.group]
|
|
32
|
+
* See <code>vGroup</code> parameter
|
|
33
|
+
* @param {string} [vSorterInfo.path]
|
|
34
|
+
* The binding path for this sorter
|
|
35
|
+
* @param {boolean} [bDescending=false]
|
|
36
|
+
* Whether the sort order is descending
|
|
37
|
+
* @param {boolean|function} [vGroup]
|
|
38
|
+
* Configure grouping of the content, can either be <code>true</code> to enable grouping based on the raw model
|
|
39
|
+
* property value, or a function which calculates the group value out of the context (e.g.
|
|
40
|
+
* <code>oContext.getProperty("date").getYear()</code> for year grouping). The control needs to implement the
|
|
41
|
+
* grouping behaviour. In case a function is provided it must either return a primitive type value as the group
|
|
42
|
+
* key or an object containing a "key" property and additional properties needed for group visualization. This
|
|
43
|
+
* object or the object with the primitive type return value as "key" property is passed to the
|
|
44
|
+
* <code>groupHeaderFactory</code> function that has been specified to create the group header for the control
|
|
45
|
+
* aggregation; see {@link sap.ui.base.ManagedObject#bindAggregation}.
|
|
46
|
+
* <b>Note:</b> Grouping via <code>vGroup=true</code> is only possible (and only makes sense) for the primary
|
|
47
|
+
* sort property. A more complicated grouping is possible by providing a grouping function. The sort order needs
|
|
48
|
+
* to fit to the grouping also in this case. See also
|
|
49
|
+
* {@link topic:ec79a5d5918f4f7f9cbc2150e66778cc Sorting, Grouping, and Filtering for List Binding}.
|
|
50
|
+
* @param {function} [fnComparator]
|
|
51
|
+
* A custom comparator function, which is used for client-side sorting instead of the default comparator method;
|
|
52
|
+
* information about parameters and expected return values of such a method can be found in the
|
|
45
53
|
* {@link #.defaultComparator default comparator} documentation.
|
|
46
|
-
* <b>Note:</b> Custom comparator functions are meant to be used on the client. Models that
|
|
47
|
-
*
|
|
48
|
-
*
|
|
54
|
+
* <b>Note:</b> Custom comparator functions are meant to be used on the client. Models that implement sorting in
|
|
55
|
+
* the backend usually don't support custom comparator functions. Consult the documentation of the specific model
|
|
56
|
+
* implementation.
|
|
49
57
|
* @public
|
|
50
58
|
* @alias sap.ui.model.Sorter
|
|
51
59
|
* @extends sap.ui.base.Object
|
|
52
60
|
*/
|
|
53
61
|
var Sorter = BaseObject.extend("sap.ui.model.Sorter", /** @lends sap.ui.model.Sorter.prototype */ {
|
|
54
62
|
|
|
55
|
-
constructor : function(
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
sPath =
|
|
59
|
-
bDescending =
|
|
60
|
-
vGroup =
|
|
61
|
-
fnComparator =
|
|
63
|
+
constructor : function(vSorterInfo, bDescending, vGroup, fnComparator) {
|
|
64
|
+
let sPath = vSorterInfo;
|
|
65
|
+
if (typeof vSorterInfo === "object") {
|
|
66
|
+
sPath = vSorterInfo.path;
|
|
67
|
+
bDescending = vSorterInfo.descending;
|
|
68
|
+
vGroup = vSorterInfo.group;
|
|
69
|
+
fnComparator = vSorterInfo.comparator;
|
|
62
70
|
}
|
|
63
71
|
this.sPath = sPath;
|
|
64
72
|
|
|
@@ -113,6 +121,28 @@ sap.ui.define([
|
|
|
113
121
|
*/
|
|
114
122
|
getGroupFunction : function() {
|
|
115
123
|
return this.fnGroup && this.fnGroup.bind(this);
|
|
124
|
+
},
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Returns the binding path for this sorter; see the path parameter of {@link sap.ui.model.Sorter#constructor}.
|
|
128
|
+
*
|
|
129
|
+
* @returns {string} The binding path
|
|
130
|
+
* @public
|
|
131
|
+
* @since 1.131.0
|
|
132
|
+
*/
|
|
133
|
+
getPath() {
|
|
134
|
+
return this.sPath;
|
|
135
|
+
},
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Whether to sort in descending order; see the descending parameter of {@link sap.ui.model.Sorter#constructor}.
|
|
139
|
+
*
|
|
140
|
+
* @returns {boolean} Whether to sort in descending order
|
|
141
|
+
* @public
|
|
142
|
+
* @since 1.131.0
|
|
143
|
+
*/
|
|
144
|
+
isDescending() {
|
|
145
|
+
return this.bDescending;
|
|
116
146
|
}
|
|
117
147
|
|
|
118
148
|
});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
/*eslint-disable max-len */
|
|
7
|
-
// Provides an abstraction for
|
|
7
|
+
// Provides an abstraction for tree bindings
|
|
8
8
|
sap.ui.define(['./Binding', './Filter', './Sorter'],
|
|
9
9
|
function(Binding, Filter, Sorter) {
|
|
10
10
|
"use strict";
|
|
@@ -25,17 +25,18 @@ sap.ui.define(['./Binding', './Filter', './Sorter'],
|
|
|
25
25
|
* oModel Model instance that this binding is created for and that it belongs to
|
|
26
26
|
* @param {string}
|
|
27
27
|
* sPath Path pointing to the tree / array that should be bound
|
|
28
|
-
* @param {
|
|
28
|
+
* @param {sap.ui.model.Context}
|
|
29
29
|
* [oContext=null] Context object for this binding (optional)
|
|
30
30
|
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
|
|
31
31
|
* The filters to be used initially with type {@link sap.ui.model.FilterType.Application}; call {@link #filter} to
|
|
32
32
|
* replace them
|
|
33
|
-
* @param {
|
|
33
|
+
* @param {object}
|
|
34
34
|
* [mParameters=null] Additional model specific parameters (optional)
|
|
35
35
|
* @param {sap.ui.model.Sorter[]|sap.ui.model.Sorter} [aSorters=[]]
|
|
36
36
|
* The sorters used initially; call {@link #sort} to replace them
|
|
37
37
|
* @throws {Error} If the {@link sap.ui.model.Filter.NONE} filter instance is contained in
|
|
38
38
|
* <code>aFilters</code> together with other filters
|
|
39
|
+
*
|
|
39
40
|
* @public
|
|
40
41
|
* @alias sap.ui.model.TreeBinding
|
|
41
42
|
* @extends sap.ui.model.Binding
|
|
@@ -72,46 +73,48 @@ sap.ui.define(['./Binding', './Filter', './Sorter'],
|
|
|
72
73
|
|
|
73
74
|
// the 'abstract methods' to be implemented by child classes
|
|
74
75
|
/**
|
|
75
|
-
* Returns the current value of the bound target
|
|
76
|
+
* Returns the current value of the bound target.
|
|
76
77
|
*
|
|
77
78
|
* @function
|
|
78
79
|
* @name sap.ui.model.TreeBinding.prototype.getRootContexts
|
|
79
|
-
* @param {int} iStartIndex the
|
|
80
|
-
* @param {int} iLength determines how many contexts to retrieve beginning from the start index.
|
|
81
|
-
*
|
|
80
|
+
* @param {int} [iStartIndex=0] the index from which to start the retrieval of contexts
|
|
81
|
+
* @param {int} [iLength] determines how many contexts to retrieve, beginning from the start index. Defaults to the
|
|
82
|
+
* model's size limit; see {@link sap.ui.model.Model#setSizeLimit}.
|
|
83
|
+
* @returns {sap.ui.model.Context[]} the array of child contexts for the root node
|
|
82
84
|
*
|
|
83
85
|
* @public
|
|
84
86
|
*/
|
|
85
87
|
|
|
86
88
|
/**
|
|
87
|
-
* Returns the current value of the bound target
|
|
89
|
+
* Returns the current value of the bound target.
|
|
88
90
|
*
|
|
89
91
|
* @function
|
|
90
92
|
* @name sap.ui.model.TreeBinding.prototype.getNodeContexts
|
|
91
93
|
* @param {sap.ui.model.Context} oContext the context element of the node
|
|
92
|
-
* @param {int} iStartIndex the
|
|
93
|
-
* @param {int} iLength determines how many contexts to retrieve beginning from the start index.
|
|
94
|
-
* @
|
|
94
|
+
* @param {int} [iStartIndex=0] the index from which to start the retrieval of contexts
|
|
95
|
+
* @param {int} [iLength] determines how many contexts to retrieve, beginning from the start index. Defaults to the
|
|
96
|
+
* model's size limit; see {@link sap.ui.model.Model#setSizeLimit}.
|
|
97
|
+
* @returns {sap.ui.model.Context[]} the array of child contexts for the given node
|
|
95
98
|
*
|
|
96
99
|
* @public
|
|
97
100
|
*/
|
|
98
101
|
|
|
99
102
|
/**
|
|
100
|
-
* Returns if the node has child nodes
|
|
103
|
+
* Returns <code>true</code> if the node has child nodes.
|
|
101
104
|
*
|
|
102
105
|
* @function
|
|
103
106
|
* @name sap.ui.model.TreeBinding.prototype.hasChildren
|
|
104
|
-
* @param {
|
|
105
|
-
* @
|
|
107
|
+
* @param {sap.ui.model.Context} oContext the context element of the node
|
|
108
|
+
* @returns {boolean} <code>true</code> if the node has children
|
|
106
109
|
*
|
|
107
110
|
* @public
|
|
108
111
|
*/
|
|
109
112
|
|
|
110
113
|
/**
|
|
111
|
-
* Returns the number of child nodes of a specific context
|
|
114
|
+
* Returns the number of child nodes of a specific context.
|
|
112
115
|
*
|
|
113
|
-
* @param {
|
|
114
|
-
* @
|
|
116
|
+
* @param {sap.ui.model.Context} oContext the context element of the node
|
|
117
|
+
* @returns {int} the number of children
|
|
115
118
|
*
|
|
116
119
|
* @public
|
|
117
120
|
*/
|
|
@@ -133,6 +136,7 @@ sap.ui.define(['./Binding', './Filter', './Sorter'],
|
|
|
133
136
|
* @returns {number|undefined} The count of entries in the tree, or <code>undefined</code> if it
|
|
134
137
|
* is unknown, for example because the binding is not resolved or because this feature is not
|
|
135
138
|
* supported.
|
|
139
|
+
*
|
|
136
140
|
* @public
|
|
137
141
|
* @since 1.108.0
|
|
138
142
|
*/
|
package/src/sap/ui/model/Type.js
CHANGED
|
@@ -127,9 +127,9 @@ sap.ui.define([
|
|
|
127
127
|
if (oDimensionDetails === undefined) {
|
|
128
128
|
logUnsupportedPropertyInSelect(oBinding.sPath, sPropertyName, oDimension);
|
|
129
129
|
bError = true;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
// eslint-disable-next-line no-use-before-define
|
|
131
|
+
} else if (AnalyticalBinding._updateDimensionDetailsTextProperty(oDimension, sPropertyName,
|
|
132
|
+
oDimensionDetails)) {
|
|
133
133
|
continue;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
@@ -491,7 +491,7 @@ sap.ui.define([
|
|
|
491
491
|
*
|
|
492
492
|
* @function
|
|
493
493
|
* @name sap.ui.model.analytics.AnalyticalBinding.prototype.getRootContexts
|
|
494
|
-
* @param {object|int} mParameters
|
|
494
|
+
* @param {object|int} [mParameters=0]
|
|
495
495
|
* Parameter map specifying how the topmost aggregation level shall be fetched. If this
|
|
496
496
|
* parameter map is set, the optional function parameters are ignored. Optionally, instead
|
|
497
497
|
* of a parameter map an integer value can be set to define the parameter
|
|
@@ -598,9 +598,9 @@ sap.ui.define([
|
|
|
598
598
|
* @name sap.ui.model.analytics.AnalyticalBinding.prototype.getNodeContexts
|
|
599
599
|
* @param {sap.ui.model.Context} oContext
|
|
600
600
|
* Parent context identifying the requested group of child contexts
|
|
601
|
-
* @param {object|int} mParameters
|
|
601
|
+
* @param {object|int} [mParameters=0]
|
|
602
602
|
* Parameters, specifying the aggregation level for which contexts shall be fetched
|
|
603
|
-
* or
|
|
603
|
+
* or the index of the first child entry to return from the parent contexts
|
|
604
604
|
* @param {int} mParameters.level
|
|
605
605
|
* Level number for oContext, because it might occur at multiple levels; context with group ID <code>"/"</code> has level 0
|
|
606
606
|
* @param {int} [mParameters.numberOfExpandedLevels=0]
|
|
@@ -642,7 +642,7 @@ sap.ui.define([
|
|
|
642
642
|
iLevel = mParameters.level;
|
|
643
643
|
iNumberOfExpandedLevels = mParameters.numberOfExpandedLevels;
|
|
644
644
|
bSupressRequest = mParameters.supressRequest;
|
|
645
|
-
} else {
|
|
645
|
+
} else {
|
|
646
646
|
iStartIndex = arguments[1];
|
|
647
647
|
iLength = arguments[2];
|
|
648
648
|
iThreshold = arguments[3];
|
|
@@ -5013,6 +5013,8 @@ sap.ui.define([
|
|
|
5013
5013
|
* @param {object} oDimension The dimension
|
|
5014
5014
|
* @param {string} sPropertyName The property name
|
|
5015
5015
|
* @param {object} oDimensionDetails The dimension details
|
|
5016
|
+
* @returns {boolean} Whether the given property name is the given dimension's text property and therefore has been
|
|
5017
|
+
* added to the given dimension details.
|
|
5016
5018
|
*
|
|
5017
5019
|
* @private
|
|
5018
5020
|
*/
|
|
@@ -5020,7 +5022,11 @@ sap.ui.define([
|
|
|
5020
5022
|
const oTextProperty = oDimension.getTextProperty();
|
|
5021
5023
|
if (oTextProperty && oTextProperty.name === sPropertyName) {
|
|
5022
5024
|
oDimensionDetails.textPropertyName = sPropertyName;
|
|
5025
|
+
|
|
5026
|
+
return true;
|
|
5023
5027
|
}
|
|
5028
|
+
|
|
5029
|
+
return false;
|
|
5024
5030
|
};
|
|
5025
5031
|
|
|
5026
5032
|
/**
|
|
@@ -1035,7 +1035,7 @@ sap.ui.define([
|
|
|
1035
1035
|
fnFilter = this.fnFilter === fnFilter ? fnFilter : undefined; // if different filter or no filter set -> use no filter
|
|
1036
1036
|
this.fnFilter = undefined;
|
|
1037
1037
|
}
|
|
1038
|
-
var aBindings = this.
|
|
1038
|
+
var aBindings = this.getBindings();
|
|
1039
1039
|
aBindings.forEach(function (oBinding) {
|
|
1040
1040
|
if (!fnFilter || fnFilter(oBinding)) {
|
|
1041
1041
|
oBinding.checkUpdate(bForceUpdate);
|