@openui5/sap.ui.mdc 1.120.1 → 1.120.2

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.
Files changed (94) hide show
  1. package/.reuse/dep5 +1 -1
  2. package/THIRDPARTY.txt +1 -1
  3. package/package.json +4 -4
  4. package/src/sap/ui/mdc/.library +1 -1
  5. package/src/sap/ui/mdc/ActionToolbar.js +1 -1
  6. package/src/sap/ui/mdc/Chart.js +1 -1
  7. package/src/sap/ui/mdc/Control.js +1 -1
  8. package/src/sap/ui/mdc/DefaultTypeMap.js +1 -1
  9. package/src/sap/ui/mdc/Element.js +1 -1
  10. package/src/sap/ui/mdc/Field.js +21 -2
  11. package/src/sap/ui/mdc/FilterBar.js +1 -1
  12. package/src/sap/ui/mdc/FilterField.js +2 -2
  13. package/src/sap/ui/mdc/Link.js +1 -1
  14. package/src/sap/ui/mdc/MultiValueField.js +1 -1
  15. package/src/sap/ui/mdc/ValueHelp.js +1 -1
  16. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
  17. package/src/sap/ui/mdc/chart/ChartImplementationContainer.js +1 -1
  18. package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -1
  19. package/src/sap/ui/mdc/chart/ChartToolbar.js +1 -1
  20. package/src/sap/ui/mdc/chart/PropertyHelper.js +1 -1
  21. package/src/sap/ui/mdc/condition/Condition.js +1 -1
  22. package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
  23. package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
  24. package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
  25. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +1 -1
  26. package/src/sap/ui/mdc/condition/Operator.js +1 -1
  27. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
  28. package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
  29. package/src/sap/ui/mdc/field/ConditionType.js +1 -1
  30. package/src/sap/ui/mdc/field/ConditionsType.js +1 -1
  31. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  32. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +1 -1
  33. package/src/sap/ui/mdc/field/FieldBase.js +1 -1
  34. package/src/sap/ui/mdc/field/FieldInfoBase.js +1 -1
  35. package/src/sap/ui/mdc/field/FieldInput.js +1 -1
  36. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  37. package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
  38. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  39. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  40. package/src/sap/ui/mdc/field/TokenDisplay.js +1 -1
  41. package/src/sap/ui/mdc/field/TokenizerDisplay.js +1 -1
  42. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +1 -1
  43. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
  44. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +1 -1
  45. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
  46. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
  47. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
  48. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  49. package/src/sap/ui/mdc/library.js +2 -2
  50. package/src/sap/ui/mdc/link/Factory.js +1 -1
  51. package/src/sap/ui/mdc/link/LinkItem.js +1 -1
  52. package/src/sap/ui/mdc/link/Panel.js +1 -1
  53. package/src/sap/ui/mdc/link/PanelItem.js +1 -1
  54. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  55. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  56. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  57. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
  58. package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
  59. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -1
  60. package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
  61. package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +1 -1
  62. package/src/sap/ui/mdc/odata/TypeMap.js +1 -1
  63. package/src/sap/ui/mdc/odata/v4/TypeMap.js +1 -1
  64. package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
  65. package/src/sap/ui/mdc/p13n/panels/FilterPanel.js +1 -1
  66. package/src/sap/ui/mdc/table/ColumnSettings.js +1 -1
  67. package/src/sap/ui/mdc/table/CreationRow.js +1 -1
  68. package/src/sap/ui/mdc/table/DragDropConfig.js +1 -1
  69. package/src/sap/ui/mdc/table/PropertyHelper.js +1 -1
  70. package/src/sap/ui/mdc/table/ResponsiveColumnSettings.js +1 -1
  71. package/src/sap/ui/mdc/table/RowActionItem.js +1 -1
  72. package/src/sap/ui/mdc/table/RowSettings.js +1 -1
  73. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +1 -1
  74. package/src/sap/ui/mdc/table/utils/Personalization.js +1 -1
  75. package/src/sap/ui/mdc/ushell/SemanticObjectMapping.js +1 -1
  76. package/src/sap/ui/mdc/ushell/SemanticObjectMappingItem.js +1 -1
  77. package/src/sap/ui/mdc/ushell/SemanticObjectUnavailableAction.js +1 -1
  78. package/src/sap/ui/mdc/util/InfoBar.js +1 -1
  79. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  80. package/src/sap/ui/mdc/util/PropertyHelper.js +1 -1
  81. package/src/sap/ui/mdc/valuehelp/Dialog.js +1 -1
  82. package/src/sap/ui/mdc/valuehelp/Popover.js +1 -1
  83. package/src/sap/ui/mdc/valuehelp/base/Container.js +1 -1
  84. package/src/sap/ui/mdc/valuehelp/base/Content.js +1 -1
  85. package/src/sap/ui/mdc/valuehelp/base/DefineConditionPanel.js +1 -1
  86. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
  87. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +3 -1
  88. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
  89. package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
  90. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +1 -1
  91. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
  92. package/src/sap/ui/mdc/valuehelp/content/FixedListItem.js +1 -1
  93. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +1 -1
  94. package/src/sap/ui/mdc/valuehelp/content/MTable.js +14 -5
package/.reuse/dep5 CHANGED
@@ -223,7 +223,7 @@ License: Apache-2.0
223
223
  Comment: these files belong to: Google-Caja JS HTML Sanitizer
224
224
 
225
225
  Files: src/sap.ui.core/src/sap/ui/core/cldr/*
226
- Copyright: 1991-2014 Unicode, Inc.
226
+ Copyright: 1991-2023 Unicode, Inc.
227
227
  License: Unicode-DFS-2015
228
228
  Comment: these files belong to: Unicode Common Locale Data Repository
229
229
 
package/THIRDPARTY.txt CHANGED
@@ -180,7 +180,7 @@ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
180
180
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
181
181
 
182
182
  Component: Unicode Common Locale Data Repository, version: 43
183
- Copyright: 1991-2014 Unicode, Inc.
183
+ Copyright: 1991-2023 Unicode, Inc.
184
184
  License: Unicode-DFS-2015
185
185
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
186
186
  Contained in: src/sap.ui.core/src/sap/ui/core/cldr/*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.mdc",
3
- "version": "1.120.1",
3
+ "version": "1.120.2",
4
4
  "description": "OpenUI5 UI Library sap.ui.mdc",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,8 +14,8 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.120.1",
18
- "@openui5/sap.ui.core": "1.120.1",
19
- "@openui5/sap.ui.layout": "1.120.1"
17
+ "@openui5/sap.m": "1.120.2",
18
+ "@openui5/sap.ui.core": "1.120.2",
19
+ "@openui5/sap.ui.layout": "1.120.2"
20
20
  }
21
21
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.120.1</version>
9
+ <version>1.120.2</version>
10
10
 
11
11
  <documentation>UI5 library: sap.ui.mdc</documentation>
12
12
 
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * The content aggregation of the control must not be used.
33
33
  * @extends sap.m.OverflowToolbar
34
34
  * @author SAP SE
35
- * @version 1.120.1
35
+ * @version 1.120.2
36
36
  * @constructor
37
37
  * @since 1.58
38
38
  * @public
@@ -65,7 +65,7 @@ sap.ui.define([
65
65
  * <b>Note:</b> The inner chart needs to be assigned <code>ChartDelegate</code>.
66
66
  * @extends sap.ui.mdc.Control
67
67
  * @author SAP SE
68
- * @version 1.120.1
68
+ * @version 1.120.2
69
69
  * @constructor
70
70
  *
71
71
  * @public
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Control
21
21
  * @abstract
22
22
  * @author SAP SE
23
- * @version 1.120.1
23
+ * @version 1.120.2
24
24
  * @alias sap.ui.mdc.Control
25
25
  *
26
26
  * @borrows sap.ui.mdc.mixin.DelegateMixin.awaitControlDelegate as #awaitControlDelegate
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * </ul>
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.120.1
32
+ * @version 1.120.2
33
33
  * @public
34
34
  * @since 1.114.0
35
35
  * @namespace
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  * @abstract
22
22
  * @author SAP SE
23
- * @version 1.120.1
23
+ * @version 1.120.2
24
24
  * @alias sap.ui.mdc.Element
25
25
  *
26
26
  * @borrows sap.ui.mdc.mixin.DelegateMixin.awaitControlDelegate as #awaitControlDelegate
@@ -54,11 +54,11 @@ sap.ui.define([
54
54
  * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.m.IOverflowToolbarContent
55
55
  *
56
56
  * @author SAP SE
57
- * @version 1.120.1
57
+ * @version 1.120.2
58
58
  *
59
59
  * @constructor
60
60
  * @alias sap.ui.mdc.Field
61
- * @version 1.120.1
61
+ * @version 1.120.2
62
62
  * @since 1.54.0
63
63
  *
64
64
  * @public
@@ -564,6 +564,7 @@ sap.ui.define([
564
564
  }
565
565
 
566
566
  vValue = this.getResultForChangePromise(aConditions);
567
+ vValue = _updateEmptyValue.call(this, vValue, vOldValue);
567
568
  if (aConditions.length === 0 || aConditions[0].values.length === 1) {
568
569
  if (vOldAdditionalValue) {
569
570
  const oDataType = this.getContentFactory().getAdditionalDataType();
@@ -593,6 +594,24 @@ sap.ui.define([
593
594
 
594
595
  }
595
596
 
597
+ function _updateEmptyValue(vValue, vOldValue) {
598
+
599
+ // if value of composite binding was "initial" before and not lead to a condition in the new value, only the changed parts
600
+ // of the composite value must be updated. (Parsing in Operator and ConditionType sets it to null if no old value is known.)
601
+ const sDataType = this.getContentFactory().getDataType() ? this.getContentFactory().getDataType().getMetadata().getName() : this.getDataType(); // as type must not exist now
602
+
603
+ if (this.getTypeMap().getBaseType(sDataType) === BaseType.Unit && Array.isArray(vValue) && Array.isArray(vOldValue) && !this.checkValueInitial(vValue) && this.checkValueInitial(vOldValue)) {
604
+ for (let i = 0; i < vValue.length; i++) {
605
+ if (vValue[i] === null && vOldValue[i] !== undefined) {
606
+ vValue[i] = vOldValue[i]; // take initial value from old value (might be "")
607
+ }
608
+ }
609
+ }
610
+
611
+ return vValue;
612
+
613
+ }
614
+
596
615
  Field.prototype.getSupportedOperators = function() {
597
616
 
598
617
  return this.getProperty("_operators", []);
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * The metadata information is provided via the {@link sap.ui.mdc.FilterBarDelegate FilterBarDelegate} implementation. This implementation has to be provided by the application.
58
58
  * @extends sap.ui.mdc.filterbar.FilterBarBase
59
59
  * @author SAP SE
60
- * @version 1.120.1
60
+ * @version 1.120.2
61
61
  * @constructor
62
62
  * @public
63
63
  * @since 1.61.0
@@ -51,11 +51,11 @@ sap.ui.define([
51
51
  * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.m.IOverflowToolbarContent
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.120.1
54
+ * @version 1.120.2
55
55
  *
56
56
  * @constructor
57
57
  * @alias sap.ui.mdc.FilterField
58
- * @version 1.120.1
58
+ * @version 1.120.2
59
59
  * @since 1.48.0
60
60
  *
61
61
  * @public
@@ -80,7 +80,7 @@ sap.ui.define([
80
80
  * @extends sap.ui.mdc.field.FieldInfoBase
81
81
  *
82
82
  * @author SAP SE
83
- * @version 1.120.1
83
+ * @version 1.120.2
84
84
  *
85
85
  * @constructor
86
86
  * @alias sap.ui.mdc.Link
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @constructor
45
45
  * @alias sap.ui.mdc.MultiValueField
46
46
  * @author SAP SE
47
- * @version 1.120.1
47
+ * @version 1.120.2
48
48
  * @since 1.93.0
49
49
  *
50
50
  * @public
@@ -63,7 +63,7 @@ sap.ui.define([
63
63
  * and {@link sap.ui.mdc.FilterField FilterField} controls using the <code>valueHelp</code> association. One <code>ValueHelp</code> element instance can be
64
64
  * assigned to multiple fields (like in different table rows). It should be placed in the control tree on the container holding the fields.
65
65
  * @extends sap.ui.mdc.Element
66
- * @version 1.120.1
66
+ * @version 1.120.2
67
67
  * @constructor
68
68
  * @abstract
69
69
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * chart/table).
23
23
  * @extends sap.ui.core.Control
24
24
  * @author SAP SE
25
- * @version 1.120.1
25
+ * @version 1.120.2
26
26
  * @constructor
27
27
  * @since 1.58
28
28
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @class The <code>ChartImplementationContainer</code> creates a container for the <code>content</code> (chart) and <code>noDataContent</code>. Based on the <code>showNoDataStruct</code> the <code>content</code> or <code>noDataContent</code> will be shown.
23
23
  * @extends sap.ui.core.Control
24
24
  * @author SAP SE
25
- * @version 1.120.1
25
+ * @version 1.120.2
26
26
  * @constructor
27
27
  *
28
28
  * @public
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @class The <code>ChartSelectionDetails</code> control creates a <code>sap.m.SelectionDetails</code> popover based on metadata and the configuration specified.
27
27
  * @extends sap.m.SelectionDetails
28
28
  * @author SAP SE
29
- * @version 1.120.1
29
+ * @version 1.120.2
30
30
  * @constructor
31
31
  * @public
32
32
  * @since 1.88
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @class The ChartToolbar control is a sap.m.OverflowToolbar based on metadata and the configuration specified.
50
50
  * @extends sap.ui.mdc.ActionToolbar
51
51
  * @author SAP SE
52
- * @version 1.120.1
52
+ * @version 1.120.2
53
53
  * @constructor
54
54
  * @experimental As of version 1.88
55
55
  * @private
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.mdc.util.PropertyHelper
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.120.1
29
+ * @version 1.120.2
30
30
  *
31
31
  * @private
32
32
  * @experimental
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  *
35
35
  * @namespace
36
36
  * @author SAP SE
37
- * @version 1.120.1
37
+ * @version 1.120.2
38
38
  * @since 1.61.0
39
39
  * @alias sap.ui.mdc.condition.Condition
40
40
  *
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  * @namespace
26
26
  * @author SAP SE
27
- * @version 1.120.1
27
+ * @version 1.120.2
28
28
  * @private
29
29
  * @ui5-restricted sap.ui.mdc
30
30
  * @experimental As of version 1.74
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.model.json.JSONModel
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.120.1
36
+ * @version 1.120.2
37
37
  * @since 1.48.0
38
38
  * @alias sap.ui.mdc.condition.ConditionModel
39
39
  *
@@ -24,7 +24,7 @@ function(
24
24
  *
25
25
  * @namespace
26
26
  * @author SAP SE
27
- * @version 1.120.1
27
+ * @version 1.120.2
28
28
  * @since 1.78.0
29
29
  * @alias sap.ui.mdc.condition.FilterConverter
30
30
  *
@@ -57,7 +57,7 @@ function(
57
57
  *
58
58
  * @namespace
59
59
  * @author SAP SE
60
- * @version 1.120.1
60
+ * @version 1.120.2
61
61
  * @since 1.73.0
62
62
  * @alias sap.ui.mdc.condition.FilterOperatorUtil
63
63
  *
@@ -100,7 +100,7 @@ sap.ui.define([
100
100
  * @param {string} [oConfiguration.additionalInfo] additionalInfo text for the operator. Will be shown in the operator suggest as second column. If not used (undefined) the Include or Exclude information of the operator is used.
101
101
  * @constructor
102
102
  * @author SAP SE
103
- * @version 1.120.1
103
+ * @version 1.120.2
104
104
  * @public
105
105
  * @alias sap.ui.mdc.condition.Operator
106
106
  * @since 1.73.0
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @extends sap.m.DynamicDateOption
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.120.1
54
+ * @version 1.120.2
55
55
  *
56
56
  * @private
57
57
  * @ui5-restricted sap.ui.mdc
@@ -35,7 +35,7 @@ function(
35
35
  * @param {int[]|function} [oConfiguration.defaultValues] Array of values for the defaults of <code>RangeOperators</code> parameter. This can be a function, which returns the array of values. If not used the default for the values is 1.
36
36
  * @constructor
37
37
  * @author SAP SE
38
- * @version 1.120.1
38
+ * @version 1.120.2
39
39
  * @public
40
40
  * @alias sap.ui.mdc.condition.RangeOperator
41
41
  * @since 1.74.0
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * @extends sap.ui.model.SimpleType
56
56
  *
57
57
  * @author SAP SE
58
- * @version 1.120.1
58
+ * @version 1.120.2
59
59
  *
60
60
  * @since 1.62.0
61
61
  * @public
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends sap.ui.model.SimpleType
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.120.1
47
+ * @version 1.120.2
48
48
  *
49
49
  * @since 1.62.0
50
50
  * @public
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] Initial settings for the new control
17
17
  * @class A field help used in the <code>FieldInfo</code> aggregation in <code>FieldBase</code> controls that allows you to add custom content.
18
18
  * @extends sap.ui.mdc.field.FieldInfoBase
19
- * @version 1.120.1
19
+ * @version 1.120.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @ui5-restricted sap.fe
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * @extends sap.ui.mdc.field.ConditionsType
49
49
  *
50
50
  * @author SAP SE
51
- * @version 1.120.1
51
+ * @version 1.120.2
52
52
  *
53
53
  * @since 1.96.0
54
54
  * @public
@@ -93,7 +93,7 @@ sap.ui.define([
93
93
  * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.m.IOverflowToolbarContent
94
94
  *
95
95
  * @author SAP SE
96
- * @version 1.120.1
96
+ * @version 1.120.2
97
97
  *
98
98
  * @constructor
99
99
  * @alias sap.ui.mdc.field.FieldBase
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * A <code>FieldInfoBase</code> element is a base class that shows any kind of information related to the <code>Field</code> control, for example, navigation targets or contact details.
30
30
  * This is the basis for link-features. If the link is pressed a popover might be opened.
31
31
  * @extends sap.ui.mdc.Element
32
- * @version 1.120.1
32
+ * @version 1.120.2
33
33
  * @constructor
34
34
  * @since 1.54.0
35
35
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * The <code>FieldInput</code> control is used to render an input field inside a control based on {@link sap.ui.mdc.field.FieldBase FieldBase}.
23
23
  * It enhances the {@link sap.m.Input Input} control to add ARIA attributes and other {@link sap.ui.mdc.field.FieldBase FieldBase}-specific logic.
24
24
  * @extends sap.m.Input
25
- * @version 1.120.1
25
+ * @version 1.120.2
26
26
  * @constructor
27
27
  * @abstract
28
28
  * @private
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class Functions uses in <code>FieldInputRenderer</code> and <code>FieldMultiInputRenderer</code> to adjust aria attributes.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.120.1
19
+ * @version 1.120.2
20
20
  * @since 1.86.0
21
21
  * @alias sap.ui.mdc.field.FieldInputRenderUtil
22
22
  *
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * The <code>FieldMultiInput</code> control is used to render a multi-input field inside a control based on {@link sap.ui.mdc.field.FieldBase FieldBase}.
23
23
  * It enhances the {@link sap.m.MultiInput MultiInput} control to add ARIA attributes and other {@link sap.ui.mdc.field.FieldBase FieldBase}-specific logic.
24
24
  * @extends sap.m.MultiInput
25
- * @version 1.120.1
25
+ * @version 1.120.2
26
26
  * @constructor
27
27
  * @abstract
28
28
  * @private
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.mdc.valuehelp.content.FixedListItem
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.120.1
26
+ * @version 1.120.2
27
27
  *
28
28
  * @private
29
29
  * @ui5-restricted sap.fe
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * Base type for <code>MultiValueFieldItem</code> control.
21
21
  * The {@link sap.ui.mdc.MultiValueField MultiValueField} holds its values as items. The <code>MultiValueFieldItem</code> element defines these items.
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.120.1
23
+ * @version 1.120.2
24
24
  * @constructor
25
25
  * @since 1.93.0
26
26
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * The <code>TokenDisplay</code> control is used to render a field inside a control based on {@link sap.ui.mdc.field.FieldBase FieldBase}.
23
23
  * It enhances the {@link sap.m.Token Token} control to add ARIA attributes and other {@link sap.ui.mdc.field.FieldBase FieldBase}-specific logic.
24
24
  * @extends sap.m.Token
25
- * @version 1.120.1
25
+ * @version 1.120.2
26
26
  * @constructor
27
27
  * @abstract
28
28
  * @private
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * The <code>TokenizerDisplay</code> control is used to render a Tokenizer inside a control based on {@link sap.ui.mdc.field.FieldBase FieldBase}.
29
29
  * It enhances the {@link sap.m.Tokenizer Tokenizer} control to support display only tokens.
30
30
  * @extends sap.m.Tokenizer
31
- * @version 1.120.1
31
+ * @version 1.120.2
32
32
  * @constructor
33
33
  * @abstract
34
34
  * @private
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @class The <code>FilterBarBase</code> control is the base for filter displaying controls in MDC.
63
63
  * @extends sap.ui.mdc.Control
64
64
  * @author SAP SE
65
- * @version 1.120.1
65
+ * @version 1.120.2
66
66
  * @constructor
67
67
  * @public
68
68
  * @since 1.80.0
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.mdc.util.PropertyHelper
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.120.1
30
+ * @version 1.120.2
31
31
  *
32
32
  * @private
33
33
  * @since 1.95
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  *
40
40
  * @extends sap.ui.mdc.filterbar.FilterBarBase
41
41
  * @author SAP SE
42
- * @version 1.120.1
42
+ * @version 1.120.2
43
43
  * @constructor
44
44
  * @private
45
45
  * @ui5-restricted sap.ui.mdc
@@ -43,7 +43,7 @@ sap.ui.define(
43
43
  * <b>Note:</b> The <code>FilterBar</code> can only be used for a {@link sap.ui.mdc.valuehelp.Dialog Dialog} and not on its own.
44
44
  * @extends sap.ui.mdc.filterbar.FilterBarBase
45
45
  * @author SAP SE
46
- * @version 1.120.1
46
+ * @version 1.120.2
47
47
  * @constructor
48
48
  * @public
49
49
  * @since 1.84.0
@@ -12,7 +12,7 @@ sap.ui.define([
12
12
  *
13
13
  * @alias sap.ui.mdc.flexibility.Chart
14
14
  * @author SAP SE
15
- * @version 1.120.1
15
+ * @version 1.120.2
16
16
  */
17
17
  return {
18
18
  addItem: ChartItemFlex.addItem,
@@ -12,7 +12,7 @@ sap.ui.define(['./FilterItemFlex', './ConditionFlex', './PropertyInfoFlex'], fun
12
12
  *
13
13
  * @alias sap.ui.mdc.flexibility.FilterBar
14
14
  * @author SAP SE
15
- * @version 1.120.1
15
+ * @version 1.120.2
16
16
  */
17
17
 
18
18
  return {
@@ -12,7 +12,7 @@ sap.ui.define(['./ItemBaseFlex'], function(ItemBaseFlex) {
12
12
  *
13
13
  * @alias sap.ui.mdc.flexibility.FilterBar
14
14
  * @author SAP SE
15
- * @version 1.120.1
15
+ * @version 1.120.2
16
16
  */
17
17
 
18
18
  const oFilterItemFlex = Object.assign({}, ItemBaseFlex);
@@ -22,13 +22,13 @@
22
22
  * @namespace
23
23
  * @alias sap.ui.mdc
24
24
  * @author SAP SE
25
- * @version 1.120.1
25
+ * @version 1.120.2
26
26
  * @since 1.80
27
27
  * @public
28
28
  * @experimental As of version 1.54
29
29
  */
30
30
  const thisLib = sap.ui.getCore().initLibrary({
31
- version: "1.120.1",
31
+ version: "1.120.2",
32
32
  name: "sap.ui.mdc",
33
33
  dependencies: ["sap.ui.core", "sap.m"],
34
34
  designtime: "sap/ui/mdc/designtime/library.designtime",
@@ -11,7 +11,7 @@ sap.ui.define([], function() {
11
11
  * @namespace Factory to access services outside of sap.ui.mdc library like for example <code>ushell</code> services.
12
12
  * @name sap.ui.mdc.link.Factory
13
13
  * @author SAP SE
14
- * @version 1.120.1
14
+ * @version 1.120.2
15
15
  * @private
16
16
  * @since 1.54.0
17
17
  */
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] Initial settings for the new control
17
17
  * @class A <code>LinkItem</code> control is used in the {@link sap.ui.mdc.Link} control to provide a navigation target.
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.120.1
19
+ * @version 1.120.2
20
20
  * @constructor
21
21
  * @public
22
22
  * @since 1.58.0
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * supposed that the properties of the item structure is not changed.
40
40
  * @extends sap.ui.core.Control
41
41
  * @author SAP SE
42
- * @version 1.120.1
42
+ * @version 1.120.2
43
43
  * @constructor
44
44
  * @private
45
45
  * @since 1.54.0
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for <code>items</code> aggregation in <code>Panel</code> control.
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.120.1
19
+ * @version 1.120.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.54.0
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.120.1
19
+ * @version 1.120.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.58.0
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.120.1
19
+ * @version 1.120.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.58.0
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.120.1
19
+ * @version 1.120.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.60.0
@@ -32,7 +32,7 @@ sap.ui.define(
32
32
  *
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.120.1
35
+ * @version 1.120.2
36
36
  * @alias sap.ui.mdc.mixin.AdaptationMixin
37
37
  * @namespace
38
38
  * @since 1.82.0
@@ -62,7 +62,7 @@ sap.ui.define(["sap/ui/mdc/util/loadModules", "sap/base/Log", "sap/ui/mdc/BaseDe
62
62
  * </ul>
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.120.1
65
+ * @version 1.120.2
66
66
  * @alias sap.ui.mdc.mixin.DelegateMixin
67
67
  * @namespace
68
68
  * @since 1.76.0
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * </ul>
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.120.1
48
+ * @version 1.120.2
49
49
  * @alias sap.ui.mdc.mixin.FilterIntegrationMixin
50
50
  * @namespace
51
51
  * @since 1.82.0
@@ -13,7 +13,7 @@ sap.ui.define(
13
13
  * Calling any of the enhanced methods after control exit will result in a no-op.
14
14
  *
15
15
  * @author SAP SE
16
- * @version 1.120.1
16
+ * @version 1.120.2
17
17
  * @alias sap.ui.mdc.mixin.PromiseMixin
18
18
  * @namespace
19
19
  * @since 1.85.0
@@ -29,7 +29,7 @@ sap.ui.define(["sap/base/util/Deferred", "sap/ui/mdc/util/loadModules", "sap/bas
29
29
  * </ul>
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.120.1
32
+ * @version 1.120.2
33
33
  * @alias sap.ui.mdc.mixin.PropertyHelperMixin
34
34
  * @namespace
35
35
  * @since 1.100.0
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * </ul>
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.120.1
50
+ * @version 1.120.2
51
51
  * @public
52
52
  * @since 1.114.0
53
53
  * @namespace
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * </ul>
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.120.1
50
+ * @version 1.120.2
51
51
  * @public
52
52
  * @since 1.114.0
53
53
  * @namespace
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.mdc.util.PropertyHelper
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.120.1
26
+ * @version 1.120.2
27
27
  *
28
28
  * @private
29
29
  * @experimental
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @extends sap.m.p13n.QueryPanel
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.120.1
45
+ * @version 1.120.2
46
46
  *
47
47
  * @private
48
48
  * @experimental Since 1.107.
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  *
20
20
  * @class The table type info class for the metadata-driven table.
21
21
  * @extends sap.ui.core.Element
22
- * @version 1.120.1
22
+ * @version 1.120.2
23
23
  * @author SAP SE
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * {@link sap.ui.mdc.table.Column#getCreationTemplate creationTemplate} aggregation of the {@link sap.ui.mdc.table.Column}.
20
20
  * @extends sap.ui.core.Element
21
21
  * @author SAP SE
22
- * @version 1.120.1
22
+ * @version 1.120.2
23
23
  * @constructor
24
24
  * @experimental
25
25
  * @private
@@ -19,7 +19,7 @@ sap.ui.define(["sap/ui/core/dnd/DragDropBase", "sap/ui/core/dnd/DragInfo", "sap/
19
19
  *
20
20
  * @extends sap.ui.core.dnd.DragDropBase
21
21
  * @author SAP SE
22
- * @version 1.120.1
22
+ * @version 1.120.2
23
23
  *
24
24
  * @public
25
25
  * @since 1.119
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.mdc.util.PropertyHelper
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.120.1
37
+ * @version 1.120.2
38
38
  *
39
39
  * @private
40
40
  * @experimental
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  * @class The table type info class for the metadata-driven table.
26
26
  * @extends sap.ui.mdc.table.ColumnSettings
27
- * @version 1.120.1
27
+ * @version 1.120.2
28
28
  * @author SAP SE
29
29
  * @constructor
30
30
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * The <code>RowActionItem</code> control represents a action for a row.
23
23
  * This control can only be used in the context of <code>sap.ui.mdc.Table</code> control to define row actions.
24
24
  * @extends sap.ui.core.Element
25
- * @version 1.120.1
25
+ * @version 1.120.2
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * The <code>RowSettings</code> control is used to configure a row.
22
22
  * This control can only be used in the context of the <code>sap.ui.mdc.Table</code> control to define row settings.
23
23
  * @extends sap.ui.core.Element
24
- * @version 1.120.1
24
+ * @version 1.120.2
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.mdc.table.PropertyHelper
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.120.1
26
+ * @version 1.120.2
27
27
  *
28
28
  * @private
29
29
  * @experimental
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  * P13n utilities.
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.120.1
18
+ * @version 1.120.2
19
19
  * @namespace
20
20
  * @alias sap.ui.mdc.table.utils.Personalization
21
21
  * @private
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.120.1
19
+ * @version 1.120.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.120
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.120.1
19
+ * @version 1.120.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.120
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.120.1
19
+ * @version 1.120.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.120
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @class The <code>InfoBar</code> control provides an easy way of displaying filter information inside an <code>sap.ui.mdc.Chart</code> and an <code>sap.ui.mdc.Table</code>.
24
24
  * @extends sap.ui.core.Control
25
25
  * @author SAP SE
26
- * @version 1.120.1
26
+ * @version 1.120.2
27
27
  * @constructor
28
28
  * @experimental As of version 1.111
29
29
  * @private
@@ -45,7 +45,7 @@ sap.ui.define(
45
45
  * Destroying the cache will cancel all registered promises and delete references. Convenience methods for promise creation, wrapping and replacement are offered.
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.120.1
48
+ * @version 1.120.2
49
49
  * @alias sap.ui.mdc.util.PromiseCache
50
50
  * @since 1.85.0
51
51
  * @private
@@ -550,7 +550,7 @@ sap.ui.define([
550
550
  * @extends sap.ui.base.Object
551
551
  *
552
552
  * @author SAP SE
553
- * @version 1.120.1
553
+ * @version 1.120.2
554
554
  *
555
555
  * @private
556
556
  * @experimental
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  * @param {object} [mSettings] Initial settings for the new control
62
62
  * @class Container for the {@link sap.ui.mdc.ValueHelp ValueHelp} element showing a dialog.
63
63
  * @extends sap.ui.mdc.valuehelp.base.Container
64
- * @version 1.120.1
64
+ * @version 1.120.2
65
65
  * @constructor
66
66
  * @public
67
67
  * @since 1.95.0
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @param {object} [mSettings] Initial settings for the new control
30
30
  * @class Container for the {@link sap.ui.mdc.ValueHelp ValueHelp} element showing a popover.
31
31
  * @extends sap.ui.mdc.valuehelp.base.Container
32
- * @version 1.120.1
32
+ * @version 1.120.2
33
33
  * @constructor
34
34
  * @public
35
35
  * @since 1.95.0
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @param {object} [mSettings] Initial settings for the new element
27
27
  * @class Container for the {@link sap.ui.mdc.ValueHelp ValueHelp} element.
28
28
  * @extends sap.ui.core.Element
29
- * @version 1.120.1
29
+ * @version 1.120.2
30
30
  * @constructor
31
31
  * @abstract
32
32
  * @public
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @param {object} [mSettings] Initial settings for the new element
35
35
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
36
36
  * @extends sap.ui.core.Element
37
- * @version 1.120.1
37
+ * @version 1.120.2
38
38
  * @constructor
39
39
  * @abstract
40
40
  * @public
@@ -113,7 +113,7 @@ sap.ui.define([
113
113
  * @extends sap.ui.core.Control
114
114
  *
115
115
  * @author SAP SE
116
- * @version 1.120.1
116
+ * @version 1.120.2
117
117
  *
118
118
  * @constructor
119
119
  * @alias sap.ui.mdc.valuehelp.base.DefineConditionPanel
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @param {object} [mSettings] Initial settings for the new control
21
21
  * @class Content for the <code>sap.ui.mdc.valuehelp.content.Dialog</code> element.
22
22
  * @extends sap.ui.core.Control
23
- * @version 1.120.1
23
+ * @version 1.120.2
24
24
  * @constructor
25
25
  * @private
26
26
  * @ui5-restricted sap.ui.mdc
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @param {object} [mSettings] Initial settings for the new element
43
43
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
44
44
  * @extends sap.ui.mdc.valuehelp.base.ListContent
45
- * @version 1.120.1
45
+ * @version 1.120.2
46
46
  * @constructor
47
47
  * @abstract
48
48
  * @public
@@ -64,6 +64,8 @@ sap.ui.define([
64
64
  * The properties need to be separated by commas and enclosed by "*" characters. (<code>"*Property1,Property2*"</code>)
65
65
  *
66
66
  * If it is empty, no suggestion is available.
67
+ *
68
+ * @deprecated since 1.120.2 - replaced in future version by {@link sap.ui.mdc.ValueHelpDelegate.isSearchSupported isSearchSupported}
67
69
  */
68
70
  filterFields: {
69
71
  type: "string",
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @param {object} [mSettings] Initial settings for the new element
23
23
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
24
24
  * @extends sap.ui.mdc.valuehelp.base.Content
25
- * @version 1.120.1
25
+ * @version 1.120.2
26
26
  * @constructor
27
27
  * @abstract
28
28
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @param {object} [mSettings] Initial settings for the new element
23
23
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element to provide a value help for boolean fields.
24
24
  * @extends sap.ui.mdc.valuehelp.content.FixedList
25
- * @version 1.120.1
25
+ * @version 1.120.2
26
26
  * @constructor
27
27
  * @private
28
28
  * @ui5-restricted sap.ui.mdc
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @param {object} [mSettings] Initial settings for the new element
26
26
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element showing a condition panel.
27
27
  * @extends sap.ui.mdc.valuehelp.base.Content
28
- * @version 1.120.1
28
+ * @version 1.120.2
29
29
  * @constructor
30
30
  * @public
31
31
  * @since 1.95.0
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @param {object} [mSettings] Initial settings for the new element
31
31
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element showing a list with fixed values.
32
32
  * @extends sap.ui.mdc.valuehelp.base.ListContent
33
- * @version 1.120.1
33
+ * @version 1.120.2
34
34
  * @constructor
35
35
  * @public
36
36
  * @since 1.95.0
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.ListItem
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.120.1
26
+ * @version 1.120.2
27
27
  *
28
28
  * @public
29
29
  * @since 1.114.0
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @param {object} [mSettings] Initial settings for the new element
37
37
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element using a {@link sap.ui.mdc.Table}.
38
38
  * @extends sap.ui.mdc.valuehelp.base.FilterableListContent
39
- * @version 1.120.1
39
+ * @version 1.120.2
40
40
  * @constructor
41
41
  * @public
42
42
  * @since 1.95.0
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @param {object} [mSettings] Initial settings for the new element
46
46
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element using a {@link sap.m.Table}.
47
47
  * @extends sap.ui.mdc.valuehelp.base.FilterableListContent
48
- * @version 1.120.1
48
+ * @version 1.120.2
49
49
  * @constructor
50
50
  * @public
51
51
  * @since 1.95.0
@@ -116,7 +116,7 @@ sap.ui.define([
116
116
  const aItems = this._oTable.getItems();
117
117
  const aConditions = this.getConditions();
118
118
  const bHideSelection = this.isSingleSelect() && !FilterableListContent.prototype.isSingleSelect.apply(this); // if table is in single selection but Field allows multiple values, don't select items
119
- const bUseFirstMatch = this.isTypeahead() && this._iNavigateIndex === -1 && !!this._oFirstItemResult.result;
119
+ const bUseFirstMatch = this.isTypeahead() && !!this.getFilterValue() && this._iNavigateIndex === -1 && !!this._oFirstItemResult.result && ((this.isSingleSelect() && aConditions.length === 0) || !this.isSingleSelect());
120
120
  const oFirstItem = this._oFirstItemResult.result;
121
121
 
122
122
  aItems.forEach(function(oItem) {
@@ -131,6 +131,7 @@ sap.ui.define([
131
131
  oItem.addStyleClass("sapMLIBFocused")
132
132
  .addStyleClass("sapMListFocus")
133
133
  .addStyleClass("sapMLIBSelected");
134
+ this._oFirstItemResult.index = this._oTable.indexOfItem(oItem);
134
135
  } else {
135
136
  oItem.removeStyleClass("sapMLIBFocused")
136
137
  .removeStyleClass("sapMListFocus")
@@ -223,7 +224,8 @@ sap.ui.define([
223
224
  const oBindingContext = this.getValueHelpDelegate().getFirstMatch(this.getValueHelpInstance(), this);
224
225
  this._oFirstItemResult = {
225
226
  result: this.getItemFromContext(oBindingContext),
226
- filterValue: this.getFilterValue()
227
+ filterValue: this.getFilterValue(),
228
+ index: -1
227
229
  };
228
230
  _fireTypeahedSuggested.call(this, oBindingContext);
229
231
  });
@@ -306,7 +308,14 @@ sap.ui.define([
306
308
  FilterableListContent.prototype.onShow.apply(this, arguments);
307
309
 
308
310
  if (oTable && this.isTypeahead() && this.isSingleSelect()) { // if Typeahed and SingleSelect (ComboBox case) scroll to selected item
309
- const oSelectedItem = this._iNavigateIndex >= 0 ? oTable.getItems()[this._iNavigateIndex] : oTable.getSelectedItem();
311
+ let oSelectedItem;
312
+ if (this._iNavigateIndex >= 0) {
313
+ oSelectedItem = oTable.getItems()[this._iNavigateIndex];
314
+ } else if (this._oFirstItemResult && this._oFirstItemResult.index >= 0) {
315
+ oSelectedItem = oTable.getItems()[this._oFirstItemResult.index];
316
+ } else {
317
+ oSelectedItem = oTable.getSelectedItem();
318
+ }
310
319
  if (oSelectedItem) {
311
320
  this._handleScrolling(oSelectedItem);
312
321
  return oSelectedItem.getId();
@@ -477,7 +486,7 @@ sap.ui.define([
477
486
  const oFilter = _createItemFilters.call(this, oConfig, oConditions);
478
487
 
479
488
  const aFilteredItems = FilterProcessor.apply(aItems, oFilter, _getFilterValue);
480
- if (aFilteredItems.length === 1) {
489
+ if (aFilteredItems.length === 1 || ( aFilteredItems.length > 1 && this.getUseFirstMatch())) {
481
490
  const oBindingContext = this._getListItemBindingContext(aFilteredItems[0]);
482
491
  const oValue = this.getItemFromContext(oBindingContext, {inParameters: aInParameters, outParameters: aOutParameters});
483
492
  return {key: oValue.key, description: oValue.description, payload: oValue.payload};